684 lines
2.8 MiB
684 lines
2.8 MiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+812":function(Z,_,e){var d=e("oEo5"),L=e("Ju7t"),v=e("YsOP"),m=e("QV7q"),y=L.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(f,a,t){this._data,this._names,this.mergeDefaultAndTheme(f,t),this._initData()},mergeOption:function(f){y.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(f){f==null&&(f=this.option.currentIndex);var a=this._data.count();this.option.loop?f=(f%a+a)%a:(f>=a&&(f=a-1),f<0&&(f=0)),this.option.currentIndex=f},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(f){this.option.autoPlay=!!f},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var f=this.option,a=f.data||[],t=f.axisType,o=this._names=[];if(t==="category"){var s=[];d.each(a,function(c,r){var u=m.getDataItemValue(c),i;d.isObject(c)?(i=d.clone(c),i.value=r):i=r,s.push(i),!d.isString(u)&&(u==null||isNaN(u))&&(u=""),o.push(u+"")}),a=s}var l={category:"ordinal",time:"time"}[t]||"number",n=this._data=new v([{name:"value",type:l}],this);n.initData(a,o)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),w=y;Z.exports=w},"+9z/":function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("ofoi"),w=e.n(y),f=e("ZZRV"),a=e.n(f),t=e("iczh"),o=e.n(t),s=e("GqFE"),l=e("LpVx"),n=function(u,i){var h={};for(var p in u)Object.prototype.hasOwnProperty.call(u,p)&&i.indexOf(p)<0&&(h[p]=u[p]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,p=Object.getOwnPropertySymbols(u);A<p.length;A++)i.indexOf(p[A])<0&&Object.prototype.propertyIsEnumerable.call(u,p[A])&&(h[p[A]]=u[p[A]]);return h};function c(u){return typeof u=="number"?"".concat(u," ").concat(u," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(u)?"0 0 ".concat(u):u}var r=f.forwardRef(function(u,i){var h=function(A){var C,S=A.getPrefixCls,E=A.direction,O=u.prefixCls,T=u.span,b=u.order,x=u.offset,N=u.push,D=u.pull,M=u.className,R=u.children,F=u.flex,B=u.style,z=n(u,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),U=S("col",O),K={};["xs","sm","md","lg","xl","xxl"].forEach(function(H){var Y,Q={},P=u[H];typeof P=="number"?Q.span=P:w()(P)==="object"&&(Q=P||{}),delete z[H],K=m()(m()({},K),(Y={},L()(Y,"".concat(U,"-").concat(H,"-").concat(Q.span),Q.span!==void 0),L()(Y,"".concat(U,"-").concat(H,"-order-").concat(Q.order),Q.order||Q.order===0),L()(Y,"".concat(U,"-").concat(H,"-offset-").concat(Q.offset),Q.offset||Q.offset===0),L()(Y,"".concat(U,"-").concat(H,"-push-").concat(Q.push),Q.push||Q.push===0),L()(Y,"".concat(U,"-").concat(H,"-pull-").concat(Q.pull),Q.pull||Q.pull===0),L()(Y,"".concat(U,"-rtl"),E==="rtl"),Y))});var W=o()(U,(C={},L()(C,"".concat(U,"-").concat(T),T!==void 0),L()(C,"".concat(U,"-order-").concat(b),b),L()(C,"".concat(U,"-offset-").concat(x),x),L()(C,"".concat(U,"-push-").concat(N),N),L()(C,"".concat(U,"-pull-").concat(D),D),C),M,K);return f.createElement(s.a.Consumer,null,function(H){var Y=H.gutter,Q=m()({},B);return Y&&(Q=m()(m()(m()({},Y[0]>0?{paddingLeft:Y[0]/2,paddingRight:Y[0]/2}:{}),Y[1]>0?{paddingTop:Y[1]/2,paddingBottom:Y[1]/2}:{}),Q)),F&&(Q.flex=c(F)),f.createElement("div",m()({},z,{style:Q,className:W,ref:i}),R)})};return f.createElement(l.a,null,h)});r.displayName="Col",_.a=r},"+AHJ":function(Z,_){function e(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}e.prototype={constructor:e,_dragStart:function(m){for(var y=m.target;y&&!y.draggable;)y=y.parent;y&&(this._draggingTarget=y,y.dragging=!0,this._x=m.offsetX,this._y=m.offsetY,this.dispatchToElement(d(y,m),"dragstart",m.event))},_drag:function(m){var y=this._draggingTarget;if(y){var w=m.offsetX,f=m.offsetY,a=w-this._x,t=f-this._y;this._x=w,this._y=f,y.drift(a,t,m),this.dispatchToElement(d(y,m),"drag",m.event);var o=this.findHover(w,f,y).target,s=this._dropTarget;this._dropTarget=o,y!==o&&(s&&o!==s&&this.dispatchToElement(d(s,m),"dragleave",m.event),o&&o!==s&&this.dispatchToElement(d(o,m),"dragenter",m.event))}},_dragEnd:function(m){var y=this._draggingTarget;y&&(y.dragging=!1),this.dispatchToElement(d(y,m),"dragend",m.event),this._dropTarget&&this.dispatchToElement(d(this._dropTarget,m),"drop",m.event),this._draggingTarget=null,this._dropTarget=null}};function d(v,m){return{target:v,topTarget:m&&m.topTarget}}var L=e;Z.exports=L},"+AkH":function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("zYjg"),m=e("JkS2"),y=e("ycch"),w=e("83ay"),f=e("MLk5"),a=e("ie0D"),t=e("4uqo"),o=e("kGW4"),s=e("G8fk"),l=e("CQhY"),n=l.windowOpen,c=L.bind,r=v.Group,u=v.Rect,i=L.each,h=3,p=["label"],A=["emphasis","label"],C=["upperLabel"],S=["emphasis","upperLabel"],E=10,O=1,T=2,b=s([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),x=function(F){var B=b(F);return B.stroke=B.fill=B.lineWidth=null,B},N=d.extendChartView({type:"treemap",init:function(F,B){this._containerGroup,this._storage=D(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(F,B,z,U){var K=B.findComponents({mainType:"series",subType:"treemap",query:U});if(L.indexOf(K,F)<0)return;this.seriesModel=F,this.api=z,this.ecModel=B;var W=["treemapZoomToNode","treemapRootToNode"],H=y.retrieveTargetInfo(U,W,F),Y=U&&U.type,Q=F.layoutInfo,P=!this._oldTree,G=this._storage,J=Y==="treemapRootToNode"&&H&&G?{rootNodeGroup:G.nodeGroup[H.node.getRawIndex()],direction:U.direction}:null,he=this._giveContainerGroup(Q),te=this._doRender(he,F,J);!P&&(!Y||Y==="treemapZoomToNode"||Y==="treemapRootToNode")?this._doAnimation(he,te,F,J):te.renderFinally(),this._resetController(z),this._renderBreadcrumb(F,z,H)},_giveContainerGroup:function(F){var B=this._containerGroup;return B||(B=this._containerGroup=new r,this._initEvents(B),this.group.add(B)),B.attr("position",[F.x,F.y]),B},_doRender:function(F,B,z){var U=B.getData().tree,K=this._oldTree,W=D(),H=D(),Y=this._storage,Q=[],P=L.curry(M,B,H,Y,z,W,Q);J(U.root?[U.root]:[],K&&K.root?[K.root]:[],F,U===K||!K,0);var G=he(Y);return this._oldTree=U,this._storage=H,{lastsForAnimation:W,willDeleteEls:G,renderFinally:te};function J(pe,we,be,Qe,$e){Qe?(we=pe,i(pe,function(Pe,gt){!Pe.isRemoved()&&Fe(gt,gt)})):new m(we,pe,yt,yt).add(Fe).update(Fe).remove(L.curry(Fe,null)).execute();function yt(Pe){return Pe.getId()}function Fe(Pe,gt){var it=Pe!=null?pe[Pe]:null,qe=gt!=null?we[gt]:null,At=P(it,qe,be,$e);At&&J(it&&it.viewChildren||[],qe&&qe.viewChildren||[],At,Qe,$e+1)}}function he(pe){var we=D();return pe&&i(pe,function(be,Qe){var $e=we[Qe];i(be,function(yt){yt&&($e.push(yt),yt.__tmWillDelete=1)})}),we}function te(){i(G,function(pe){i(pe,function(we){we.parent&&we.parent.remove(we)})}),i(Q,function(pe){pe.invisible=!0,pe.dirty()})}},_doAnimation:function(F,B,z,U){if(!z.get("animation"))return;var K=z.get("animationDurationUpdate"),W=z.get("animationEasing"),H=o.createWrap();i(B.willDeleteEls,function(Y,Q){i(Y,function(P,G){if(P.invisible)return;var J=P.parent,he;if(U&&U.direction==="drillDown")he=J===U.rootNodeGroup?{shape:{x:0,y:0,width:J.__tmNodeWidth,height:J.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var te=0,pe=0;J.__tmWillDelete||(te=J.__tmNodeWidth/2,pe=J.__tmNodeHeight/2),he=Q==="nodeGroup"?{position:[te,pe],style:{opacity:0}}:{shape:{x:te,y:pe,width:0,height:0},style:{opacity:0}}}he&&H.add(P,he,K,W)})}),i(this._storage,function(Y,Q){i(Y,function(P,G){var J=B.lastsForAnimation[Q][G],he={};if(!J)return;Q==="nodeGroup"?J.old&&(he.position=P.position.slice(),P.attr("position",J.old)):(J.old&&(he.shape=L.extend({},P.shape),P.setShape(J.old)),J.fadein?(P.setStyle("opacity",0),he.style={opacity:1}):P.style.opacity!==1&&(he.style={opacity:1})),H.add(P,he,K,W)})},this),this._state="animating",H.done(c(function(){this._state="ready",B.renderFinally()},this)).start()},_resetController:function(F){var B=this._controller;B||(B=this._controller=new f(F.getZr()),B.enable(this.seriesModel.get("roam")),B.on("pan",c(this._onPan,this)),B.on("zoom",c(this._onZoom,this)));var z=new a(0,0,F.getWidth(),F.getHeight());B.setPointerChecker(function(U,K,W){return z.contain(K,W)})},_clearController:function(){var F=this._controller;F&&(F.dispose(),F=null)},_onPan:function(F){if(this._state!=="animating"&&(Math.abs(F.dx)>h||Math.abs(F.dy)>h)){var B=this.seriesModel.getData().tree.root;if(!B)return;var z=B.getLayout();if(!z)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:z.x+F.dx,y:z.y+F.dy,width:z.width,height:z.height}})}},_onZoom:function(F){var B=F.originX,z=F.originY;if(this._state!=="animating"){var U=this.seriesModel.getData().tree.root;if(!U)return;var K=U.getLayout();if(!K)return;var W=new a(K.x,K.y,K.width,K.height),H=this.seriesModel.layoutInfo;B-=H.x,z-=H.y;var Y=t.create();t.translate(Y,Y,[-B,-z]),t.scale(Y,Y,[F.scale,F.scale]),t.translate(Y,Y,[B,z]),W.applyTransform(Y),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:W.x,y:W.y,width:W.width,height:W.height}})}},_initEvents:function(F){F.on("click",function(B){if(this._state!=="ready")return;var z=this.seriesModel.get("nodeClick",!0);if(!z)return;var U=this.findTarget(B.offsetX,B.offsetY);if(!U)return;var K=U.node;if(K.getLayout().isLeafRoot)this._rootToNode(U);else if(z==="zoomToNode")this._zoomToNode(U);else if(z==="link"){var W=K.hostTree.data.getItemModel(K.dataIndex),H=W.get("link",!0),Y=W.get("target",!0)||"blank";H&&n(H,Y)}},this)},_renderBreadcrumb:function(F,B,z){z||(z=F.get("leafDepth",!0)!=null?{node:F.getViewRoot()}:this.findTarget(B.getWidth()/2,B.getHeight()/2),z||(z={node:F.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new w(this.group))).render(F,B,z.node,c(U,this));function U(K){this._state!=="animating"&&(y.aboveViewRoot(F.getViewRoot(),K)?this._rootToNode({node:K}):this._zoomToNode({node:K}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=D(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(F){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:F.node})},_rootToNode:function(F){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:F.node})},findTarget:function(F,B){var z,U=this.seriesModel.getViewRoot();return U.eachNode({attr:"viewChildren",order:"preorder"},function(K){var W=this._storage.background[K.getRawIndex()];if(W){var H=W.transformCoordToLocal(F,B),Y=W.shape;if(Y.x<=H[0]&&H[0]<=Y.x+Y.width&&Y.y<=H[1]&&H[1]<=Y.y+Y.height)z={node:K,offsetX:H[0],offsetY:H[1]};else return!1}},this),z}});function D(){return{nodeGroup:[],background:[],content:[]}}function M(F,B,z,U,K,W,H,Y,Q,P){if(!H)return;var G=H.getLayout(),J=F.getData();if(J.setItemGraphicEl(H.dataIndex,null),!G||!G.isInView)return;var he=G.width,te=G.height,pe=G.borderWidth,we=G.invisible,be=H.getRawIndex(),Qe=Y&&Y.getRawIndex(),$e=H.viewChildren,yt=G.upperHeight,Fe=$e&&$e.length,Pe=H.getModel("itemStyle"),gt=H.getModel("emphasis.itemStyle"),it=Le("nodeGroup",r);if(!it)return;if(Q.add(it),it.attr("position",[G.x||0,G.y||0]),it.__tmNodeWidth=he,it.__tmNodeHeight=te,G.isAboveViewRoot)return it;var qe=H.getModel(),At=Le("background",u,P,O);if(At&&wt(it,At,Fe&&G.upperLabelHeight),Fe)v.isHighDownDispatcher(it)&&v.setAsHighDownDispatcher(it,!1),At&&(v.setAsHighDownDispatcher(At,!0),J.setItemGraphicEl(H.dataIndex,At));else{var dt=Le("content",u,P,T);dt&&Ye(it,dt),At&&v.isHighDownDispatcher(At)&&v.setAsHighDownDispatcher(At,!1),v.setAsHighDownDispatcher(it,!0),J.setItemGraphicEl(H.dataIndex,it)}return it;function wt(Tt,Ft,ke){if(Ft.dataIndex=H.dataIndex,Ft.seriesIndex=F.seriesIndex,Ft.setShape({x:0,y:0,width:he,height:te}),we)mt(Ft);else{Ft.invisible=!1;var Vt=H.getVisual("borderColor",!0),bt=gt.get("borderColor"),Rt=x(Pe);Rt.fill=Vt;var Nt=b(gt);if(Nt.fill=bt,ke){var xt=he-2*pe;Ue(Rt,Nt,Vt,xt,yt,{x:pe,y:0,width:xt,height:yt})}else Rt.text=Nt.text=null;Ft.setStyle(Rt),v.setElementHoverStyle(Ft,Nt)}Tt.add(Ft)}function Ye(Tt,Ft){Ft.dataIndex=H.dataIndex,Ft.seriesIndex=F.seriesIndex;var ke=Math.max(he-2*pe,0),Vt=Math.max(te-2*pe,0);if(Ft.culling=!0,Ft.setShape({x:pe,y:pe,width:ke,height:Vt}),we)mt(Ft);else{Ft.invisible=!1;var bt=H.getVisual("color",!0),Rt=x(Pe);Rt.fill=bt;var Nt=b(gt);Ue(Rt,Nt,bt,ke,Vt),Ft.setStyle(Rt),v.setElementHoverStyle(Ft,Nt)}Tt.add(Ft)}function mt(Tt){!Tt.invisible&&W.push(Tt)}function Ue(Tt,Ft,ke,Vt,bt,Rt){var Nt=qe.get("name"),xt=qe.getModel(Rt?C:p),Ut=qe.getModel(Rt?S:A),Ze=xt.getShallow("show");v.setLabelStyle(Tt,Ft,xt,Ut,{defaultText:Ze?Nt:null,autoColor:ke,isRectText:!0,labelFetcher:F,labelDataIndex:H.dataIndex,labelProp:Rt?"upperLabel":"label"}),Re(Tt,Rt,G),Re(Ft,Rt,G),Rt&&(Tt.textRect=L.clone(Rt)),Tt.truncate=Ze&&xt.get("ellipsis")?{outerWidth:Vt,outerHeight:bt,minChar:2}:null}function Re(Tt,Ft,ke){var Vt=Tt.text;if(!Ft&&ke.isLeafRoot&&Vt!=null){var bt=F.get("drillDownIcon",!0);Tt.text=bt?bt+" "+Vt:Vt}}function Le(Tt,Ft,ke,Vt){var bt=Qe!=null&&z[Tt][Qe],Rt=K[Tt];return bt?(z[Tt][Qe]=null,at(Rt,bt,Tt)):we||(bt=new Ft({z:R(ke,Vt)}),bt.__tmDepth=ke,bt.__tmStorageName=Tt,Ot(Rt,bt,Tt)),B[Tt][be]=bt}function at(Tt,Ft,ke){var Vt=Tt[be]={};Vt.old=ke==="nodeGroup"?Ft.position.slice():L.extend({},Ft.shape)}function Ot(Tt,Ft,ke){var Vt=Tt[be]={},bt=H.parentNode;if(bt&&(!U||U.direction==="drillDown")){var Rt=0,Nt=0,xt=K.background[bt.getRawIndex()];!U&&xt&&xt.old&&(Rt=xt.old.width,Nt=xt.old.height),Vt.old=ke==="nodeGroup"?[0,Nt]:{x:Rt,y:Nt,width:0,height:0}}Vt.fadein=ke!=="nodeGroup"}}function R(F,B){var z=F*E+B;return(z-1)/z}Z.exports=N},"+CJ/":function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("gyjJ"),m=e("Z5QY"),y=e("AaHE"),w=e("CQhY"),f=e("Jjzi"),a=e("zYjg"),t=e("LqC6"),o=e("SSBM"),s=e("P0S0"),l=e("xCJu"),n=e("sYRh"),c=e("FiFR"),r=e("QV7q"),u=r.getTooltipRenderMode,i=L.bind,h=L.each,p=f.parsePercent,A=new a.Rect({shape:{x:-1,y:-1,width:2,height:2}}),C=d.extendComponentView({type:"tooltip",init:function(N,D){if(v.node)return;var M=N.getComponent("tooltip"),R=M.get("renderMode");this._renderMode=u(R);var F;this._renderMode==="html"?(F=new m(D.getDom(),D,{appendToBody:M.get("appendToBody",!0)}),this._newLine="<br/>"):(F=new y(D),this._newLine=`
|
||
`),this._tooltipContent=F},render:function(N,D,M){if(v.node)return;this.group.removeAll(),this._tooltipModel=N,this._ecModel=D,this._api=M,this._lastDataByCoordSys=null,this._alwaysShowContent=N.get("alwaysShowContent");var R=this._tooltipContent;R.update(N),R.setEnterable(N.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var N=this._tooltipModel,D=N.get("triggerOn");l.register("itemTooltip",this._api,i(function(M,R,F){D!=="none"&&(D.indexOf(M)>=0?this._tryShow(R,F):M==="leave"&&this._hide(F))},this))},_keepShow:function(){var N=this._tooltipModel,D=this._ecModel,M=this._api;if(this._lastX!=null&&this._lastY!=null&&N.get("triggerOn")!=="none"){var R=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!M.isDisposed()&&R.manuallyShowTip(N,D,M,{x:R._lastX,y:R._lastY})})}},manuallyShowTip:function(N,D,M,R){if(R.from===this.uid||v.node)return;var F=E(R,M);this._ticket="";var B=R.dataByCoordSys;if(R.tooltip&&R.x!=null&&R.y!=null){var z=A;z.position=[R.x,R.y],z.update(),z.tooltip=R.tooltip,this._tryShow({offsetX:R.x,offsetY:R.y,target:z},F)}else if(B)this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,dataByCoordSys:R.dataByCoordSys,tooltipOption:R.tooltipOption},F);else if(R.seriesIndex!=null){if(this._manuallyAxisShowTip(N,D,M,R))return;var U=t(R,D),K=U.point[0],W=U.point[1];K!=null&&W!=null&&this._tryShow({offsetX:K,offsetY:W,position:R.position,target:U.el},F)}else R.x!=null&&R.y!=null&&(M.dispatchAction({type:"updateAxisPointer",x:R.x,y:R.y}),this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,target:M.getZr().findHover(R.x,R.y).target},F))},manuallyHideTip:function(N,D,M,R){var F=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&F.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,R.from!==this.uid&&this._hide(E(R,M))},_manuallyAxisShowTip:function(N,D,M,R){var F=R.seriesIndex,B=R.dataIndex,z=D.getComponent("axisPointer").coordSysAxesInfo;if(F==null||B==null||z==null)return;var U=D.getSeriesByIndex(F);if(!U)return;var K=U.getData(),N=S([K.getItemModel(B),U,(U.coordinateSystem||{}).model,N]);return N.get("trigger")!=="axis"?void 0:(M.dispatchAction({type:"updateAxisPointer",seriesIndex:F,dataIndex:B,position:R.position}),!0)},_tryShow:function(N,D){var M=N.target,R=this._tooltipModel;if(!R)return;this._lastX=N.offsetX,this._lastY=N.offsetY;var F=N.dataByCoordSys;F&&F.length?this._showAxisTooltip(F,N):M&&M.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(N,M,D)):M&&M.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(N,M,D)):(this._lastDataByCoordSys=null,this._hide(D))},_showOrMove:function(N,D){var M=N.get("showDelay");D=L.bind(D,this),clearTimeout(this._showTimout),M>0?this._showTimout=setTimeout(D,M):D()},_showAxisTooltip:function(N,D){var M=this._ecModel,R=this._tooltipModel,F=[D.offsetX,D.offsetY],B=[],z=[],U=S([D.tooltipOption,R]),K=this._renderMode,W=this._newLine,H={};h(N,function(Q){h(Q.dataByAxis,function(P){var G=M.getComponent(P.axisDim+"Axis",P.axisIndex),J=P.value,he=[];if(!G||J==null)return;var te=c.getValueLabel(J,G.axis,M,P.seriesDataIndices,P.valueLabelOpt);L.each(P.seriesDataIndices,function(we){var be=M.getSeriesByIndex(we.seriesIndex),Qe=we.dataIndexInside,$e=be&&be.getDataParams(Qe);if($e.axisDim=P.axisDim,$e.axisIndex=P.axisIndex,$e.axisType=P.axisType,$e.axisId=P.axisId,$e.axisValue=n.getAxisRawValue(G.axis,J),$e.axisValueLabel=te,$e){z.push($e);var yt=be.formatTooltip(Qe,!0,null,K),Fe;if(L.isObject(yt)){Fe=yt.html;var Pe=yt.markers;L.merge(H,Pe)}else Fe=yt;he.push(Fe)}});var pe=te;K!=="html"?B.push(he.join(W)):B.push((pe?w.encodeHTML(pe)+W:"")+he.join(W))})},this),B.reverse(),B=B.join(this._newLine+this._newLine);var Y=D.position;this._showOrMove(U,function(){this._updateContentNotChangedOnAxis(N)?this._updatePosition(U,Y,F[0],F[1],this._tooltipContent,z):this._showTooltipContent(U,B,z,Math.random(),F[0],F[1],Y,void 0,H)})},_showSeriesItemTooltip:function(N,D,M){var R=this._ecModel,F=D.seriesIndex,B=R.getSeriesByIndex(F),z=D.dataModel||B,U=D.dataIndex,K=D.dataType,W=z.getData(K),H=S([W.getItemModel(U),z,B&&(B.coordinateSystem||{}).model,this._tooltipModel]),Y=H.get("trigger");if(Y!=null&&Y!=="item")return;var Q=z.getDataParams(U,K),P=z.formatTooltip(U,!1,K,this._renderMode),G,J;L.isObject(P)?(G=P.html,J=P.markers):(G=P,J=null);var he="item_"+z.name+"_"+U;this._showOrMove(H,function(){this._showTooltipContent(H,G,Q,he,N.offsetX,N.offsetY,N.position,N.target,J)}),M({type:"showTip",dataIndexInside:U,dataIndex:W.getRawIndex(U),seriesIndex:F,from:this.uid})},_showComponentItemTooltip:function(N,D,M){var R=D.tooltip;if(typeof R=="string"){var F=R;R={content:F,formatter:F}}var B=new s(R,this._tooltipModel,this._ecModel),z=B.get("content"),U=Math.random();this._showOrMove(B,function(){this._showTooltipContent(B,z,B.get("formatterParams")||{},U,N.offsetX,N.offsetY,N.position,D)}),M({type:"showTip",from:this.uid})},_showTooltipContent:function(N,D,M,R,F,B,z,U,K){if(this._ticket="",!N.get("showContent")||!N.get("show"))return;var W=this._tooltipContent,H=N.get("formatter");z=z||N.get("position");var Y=D;if(H&&typeof H=="string")Y=w.formatTpl(H,M,!0);else if(typeof H=="function"){var Q=i(function(P,G){P===this._ticket&&(W.setContent(G,K,N),this._updatePosition(N,z,F,B,W,M,U))},this);this._ticket=R,Y=H(M,R,Q)}W.setContent(Y,K,N),W.show(N),this._updatePosition(N,z,F,B,W,M,U)},_updatePosition:function(N,D,M,R,F,B,z){var U=this._api.getWidth(),K=this._api.getHeight();D=D||N.get("position");var W=F.getSize(),H=N.get("align"),Y=N.get("verticalAlign"),Q=z&&z.getBoundingRect().clone();if(z&&Q.applyTransform(z.transform),typeof D=="function"&&(D=D([M,R],B,F.el,Q,{viewSize:[U,K],contentSize:W.slice()})),L.isArray(D))M=p(D[0],U),R=p(D[1],K);else if(L.isObject(D)){D.width=W[0],D.height=W[1];var P=o.getLayoutRect(D,{width:U,height:K});M=P.x,R=P.y,H=null,Y=null}else if(typeof D=="string"&&z){var G=b(D,Q,W);M=G[0],R=G[1]}else{var G=O(M,R,F,U,K,H?null:20,Y?null:20);M=G[0],R=G[1]}if(H&&(M-=x(H)?W[0]/2:H==="right"?W[0]:0),Y&&(R-=x(Y)?W[1]/2:Y==="bottom"?W[1]:0),N.get("confine")){var G=T(M,R,F,U,K);M=G[0],R=G[1]}F.moveTo(M,R)},_updateContentNotChangedOnAxis:function(N){var D=this._lastDataByCoordSys,M=!!D&&D.length===N.length;return M&&h(D,function(R,F){var B=R.dataByAxis||{},z=N[F]||{},U=z.dataByAxis||[];M&=B.length===U.length,M&&h(B,function(K,W){var H=U[W]||{},Y=K.seriesDataIndices||[],Q=H.seriesDataIndices||[];M&=K.value===H.value&&K.axisType===H.axisType&&K.axisId===H.axisId&&Y.length===Q.length,M&&h(Y,function(P,G){var J=Q[G];M&=P.seriesIndex===J.seriesIndex&&P.dataIndex===J.dataIndex})})}),this._lastDataByCoordSys=N,!!M},_hide:function(N){this._lastDataByCoordSys=null,N({type:"hideTip",from:this.uid})},dispose:function(N,D){if(v.node)return;this._tooltipContent.dispose(),l.unregister("itemTooltip",D)}});function S(N){for(var D=N.pop();N.length;){var M=N.pop();M&&(s.isInstance(M)&&(M=M.get("tooltip",!0)),typeof M=="string"&&(M={formatter:M}),D=new s(M,D,D.ecModel))}return D}function E(N,D){return N.dispatchAction||L.bind(D.dispatchAction,D)}function O(N,D,M,R,F,B,z){var U=M.getOuterSize(),K=U.width,W=U.height;return B!=null&&(N+K+B>R?N-=K+B:N+=B),z!=null&&(D+W+z>F?D-=W+z:D+=z),[N,D]}function T(N,D,M,R,F){var B=M.getOuterSize(),z=B.width,U=B.height;return N=Math.min(N+z,R)-z,D=Math.min(D+U,F)-U,N=Math.max(N,0),D=Math.max(D,0),[N,D]}function b(N,D,M){var R=M[0],F=M[1],B=5,z=0,U=0,K=D.width,W=D.height;switch(N){case"inside":z=D.x+K/2-R/2,U=D.y+W/2-F/2;break;case"top":z=D.x+K/2-R/2,U=D.y-F-B;break;case"bottom":z=D.x+K/2-R/2,U=D.y+W+B;break;case"left":z=D.x-R-B,U=D.y+W/2-F/2;break;case"right":z=D.x+K+B,U=D.y+W/2-F/2}return[z,U]}function x(N){return N==="center"||N==="middle"}Z.exports=C},"+CNX":function(Z,_,e){var d=e("oEo5"),L=e("Wa83"),v=e("LLn1"),m=e("Rz4u"),y=e("zYjg"),w=e("Jjzi"),f=w.round,a=["fromSymbol","toSymbol"];function t(i){return"_"+i+"Type"}function o(i,h,p){var A=h.getItemVisual(p,i);if(!A||A==="none")return;var C=h.getItemVisual(p,"color"),S=h.getItemVisual(p,i+"Size"),E=h.getItemVisual(p,i+"Rotate");d.isArray(S)||(S=[S,S]);var O=v.createSymbol(A,-S[0]/2,-S[1]/2,S[0],S[1],C);return O.__specifiedRotation=E==null||isNaN(E)?void 0:+E*Math.PI/180||0,O.name=i,O}function s(i){var h=new m({name:"line",subPixelOptimize:!0});return l(h.shape,i),h}function l(i,h){i.x1=h[0][0],i.y1=h[0][1],i.x2=h[1][0],i.y2=h[1][1],i.percent=1;var p=h[2];p?(i.cpx1=p[0],i.cpy1=p[1]):(i.cpx1=NaN,i.cpy1=NaN)}function n(){var i=this,h=i.childOfName("fromSymbol"),p=i.childOfName("toSymbol"),A=i.childOfName("label");if(!h&&!p&&A.ignore)return;for(var C=1,S=this.parent;S;)S.scale&&(C/=S.scale[0]),S=S.parent;var E=i.childOfName("line");if(!this.__dirty&&!E.__dirty)return;var O=E.shape.percent,T=E.pointAt(0),b=E.pointAt(O),x=L.sub([],b,T);if(L.normalize(x,x),h){h.attr("position",T);var N=h.__specifiedRotation;if(N==null){var D=E.tangentAt(0);h.attr("rotation",Math.PI/2-Math.atan2(D[1],D[0]))}else h.attr("rotation",N);h.attr("scale",[C*O,C*O])}if(p){p.attr("position",b);var N=p.__specifiedRotation;if(N==null){var D=E.tangentAt(1);p.attr("rotation",-Math.PI/2-Math.atan2(D[1],D[0]))}else p.attr("rotation",N);p.attr("scale",[C*O,C*O])}if(!A.ignore){A.attr("position",b);var M,R,F,B,z=A.__labelDistance,U=z[0]*C,K=z[1]*C,W=O/2,D=E.tangentAt(W),H=[D[1],-D[0]],Y=E.pointAt(W);H[1]>0&&(H[0]=-H[0],H[1]=-H[1]);var Q=D[0]<0?-1:1;if(A.__position!=="start"&&A.__position!=="end"){var P=-Math.atan2(D[1],D[0]);b[0]<T[0]&&(P=Math.PI+P),A.attr("rotation",P)}var G;switch(A.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":G=-K,F="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":G=K,F="top";break;default:G=0,F="middle"}switch(A.__position){case"end":M=[x[0]*U+b[0],x[1]*K+b[1]],R=x[0]>.8?"left":x[0]<-.8?"right":"center",F=x[1]>.8?"top":x[1]<-.8?"bottom":"middle";break;case"start":M=[-x[0]*U+T[0],-x[1]*K+T[1]],R=x[0]>.8?"right":x[0]<-.8?"left":"center",F=x[1]>.8?"bottom":x[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":M=[U*Q+T[0],T[1]+G],R=D[0]<0?"right":"left",B=[-U*Q,-G];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":M=[Y[0],Y[1]+G],R="center",B=[0,-G];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":M=[-U*Q+b[0],b[1]+G],R=D[0]>=0?"right":"left",B=[U*Q,-G];break}A.attr({style:{textVerticalAlign:A.__verticalAlign||F,textAlign:A.__textAlign||R},position:M,scale:[C,C],origin:B})}}function c(i,h,p){y.Group.call(this),this._createLine(i,h,p)}var r=c.prototype;r.beforeUpdate=n,r._createLine=function(i,h,p){var A=i.hostModel,C=i.getItemLayout(h),S=s(C);S.shape.percent=0,y.initProps(S,{shape:{percent:1}},A,h),this.add(S);var E=new y.Text({name:"label",lineLabelOriginalOpacity:1});this.add(E),d.each(a,function(O){var T=o(O,i,h);this.add(T),this[t(O)]=i.getItemVisual(h,O)},this),this._updateCommonStl(i,h,p)},r.updateData=function(i,h,p){var A=i.hostModel,C=this.childOfName("line"),S=i.getItemLayout(h),E={shape:{}};l(E.shape,S),y.updateProps(C,E,A,h),d.each(a,function(O){var T=i.getItemVisual(h,O),b=t(O);if(this[b]!==T){this.remove(this.childOfName(O));var x=o(O,i,h);this.add(x)}this[b]=T},this),this._updateCommonStl(i,h,p)},r._updateCommonStl=function(i,h,p){var A=i.hostModel,C=this.childOfName("line"),S=p&&p.lineStyle,E=p&&p.hoverLineStyle,O=p&&p.labelModel,T=p&&p.hoverLabelModel;if(!p||i.hasItemOption){var b=i.getItemModel(h);S=b.getModel("lineStyle").getLineStyle(),E=b.getModel("emphasis.lineStyle").getLineStyle(),O=b.getModel("label"),T=b.getModel("emphasis.label")}var x=i.getItemVisual(h,"color"),N=d.retrieve3(i.getItemVisual(h,"opacity"),S.opacity,1);C.useStyle(d.defaults({strokeNoScale:!0,fill:"none",stroke:x,opacity:N},S)),C.hoverStyle=E,d.each(a,function(Y){var Q=this.childOfName(Y);Q&&(Q.setColor(x),Q.setStyle({opacity:N}))},this);var D=O.getShallow("show"),M=T.getShallow("show"),R=this.childOfName("label"),F,B;if((D||M)&&(F=x||"#000",B=A.getFormattedLabel(h,"normal",i.dataType),B==null)){var z=A.getRawValue(h);B=z==null?i.getName(h):isFinite(z)?f(z):z}var U=D?B:null,K=M?d.retrieve2(A.getFormattedLabel(h,"emphasis",i.dataType),B):null,W=R.style;if(U!=null||K!=null){y.setTextStyle(R.style,O,{text:U},{autoColor:F}),R.__textAlign=W.textAlign,R.__verticalAlign=W.textVerticalAlign,R.__position=O.get("position")||"middle";var H=O.get("distance");d.isArray(H)||(H=[H,H]),R.__labelDistance=H}K!=null?R.hoverStyle={text:K,textFill:T.getTextColor(!0),fontStyle:T.getShallow("fontStyle"),fontWeight:T.getShallow("fontWeight"),fontSize:T.getShallow("fontSize"),fontFamily:T.getShallow("fontFamily")}:R.hoverStyle={text:null},R.ignore=!D&&!M,y.setHoverStyle(this)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateLayout=function(i,h){this.setLinePoints(i.getItemLayout(h))},r.setLinePoints=function(i){var h=this.childOfName("line");l(h.shape,i),h.dirty()},d.inherits(c,y.Group);var u=c;Z.exports=u},"+Sa5":function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("MAvE")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="FolderOutlined";var f=v.forwardRef(w);_.default=f},"+Vnd":function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=e("gyjJ"),y=e("CQhY"),w=y.formatTime,f=y.encodeHTML,a=y.addCommas,t=y.getTooltipMarker,o=e("QV7q"),s=e("Ju7t"),l=e("VT0C"),n=e("m0+L"),c=e("SSBM"),r=c.getLayoutParams,u=c.mergeLayoutParam,i=e("YBdE"),h=i.createTask,p=e("kAFf"),A=p.prepareSource,C=p.getSource,S=e("Vw6a"),E=S.retrieveRawValue,O=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(U,K,W,H){this.seriesIndex=this.componentIndex,this.dataTask=h({count:N,reset:D}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(U,W),A(this);var Y=this.getInitialData(U,W);R(Y,this),this.dataTask.context.data=Y,O(this).dataBeforeProcessed=Y,b(this)},mergeDefaultAndTheme:function(U,K){var W=this.layoutMode,H=W?r(U):{},Y=this.subType;s.hasClass(Y)&&(Y+="Series"),v.merge(U,K.getTheme().get(this.subType)),v.merge(U,this.getDefaultOption()),o.defaultEmphasis(U,"label",["show"]),this.fillDataTextStyle(U.data),W&&u(U,H,W)},mergeOption:function(U,K){U=v.merge(this.option,U,!0),this.fillDataTextStyle(U.data);var W=this.layoutMode;W&&u(this.option,U,W),A(this);var H=this.getInitialData(U,K);R(H,this),this.dataTask.dirty(),this.dataTask.context.data=H,O(this).dataBeforeProcessed=H,b(this)},fillDataTextStyle:function(U){if(U&&!v.isTypedArray(U))for(var K=["show"],W=0;W<U.length;W++)U[W]&&U[W].label&&o.defaultEmphasis(U[W],"label",K)},getInitialData:function(){},appendData:function(U){var K=this.getRawData();K.appendData(U.data)},getData:function(U){var K=B(this);if(K){var W=K.context.data;return U==null?W:W.getLinkedData(U)}else return O(this).data},setData:function(U){var K=B(this);if(K){var W=K.context;W.data!==U&&K.modifyOutputEnd&&K.setOutputEnd(U.count()),W.outputData=U,K!==this.dataTask&&(W.data=U)}O(this).data=U},getSource:function(){return C(this)},getRawData:function(){return O(this).dataBeforeProcessed},getBaseAxis:function(){var U=this.coordinateSystem;return U&&U.getBaseAxis&&U.getBaseAxis()},formatTooltip:function(U,K,W,H){var Y=this;H=H||"html";var Q=H==="html"?"<br/>":`
|
||
`,P=H==="richText",G={},J=0;function he(Ye){var mt=v.reduce(Ye,function(Ot,Tt,Ft){var ke=pe.getDimensionInfo(Ft);return Ot|=ke&&ke.tooltip!==!1&&ke.displayName!=null},0),Ue=[];we.length?v.each(we,function(Ot){Re(E(pe,U,Ot),Ot)}):v.each(Ye,Re);function Re(Ot,Tt){var Ft=pe.getDimensionInfo(Tt);if(!Ft||Ft.otherDims.tooltip===!1)return;var ke=Ft.type,Vt="sub"+Y.seriesIndex+"at"+J,bt=t({color:yt,type:"subItem",renderMode:H,markerId:Vt}),Rt=typeof bt=="string"?bt:bt.content,Nt=(mt?Rt+f(Ft.displayName||"-")+": ":"")+f(ke==="ordinal"?Ot+"":ke==="time"?K?"":w("yyyy/MM/dd hh:mm:ss",Ot):a(Ot));Nt&&Ue.push(Nt),P&&(G[Vt]=yt,++J)}var Le=mt?P?`
|
||
`:"<br/>":"",at=Le+Ue.join(Le||", ");return{renderMode:H,content:at,style:G}}function te(Ye){return{renderMode:H,content:f(a(Ye)),style:G}}var pe=this.getData(),we=pe.mapDimension("defaultedTooltip",!0),be=we.length,Qe=this.getRawValue(U),$e=v.isArray(Qe),yt=pe.getItemVisual(U,"color");v.isObject(yt)&&yt.colorStops&&(yt=(yt.colorStops[0]||{}).color),yt=yt||"transparent";var Fe=be>1||$e&&!be?he(Qe):te(be?E(pe,U,we[0]):$e?Qe[0]:Qe),Pe=Fe.content,gt=Y.seriesIndex+"at"+J,it=t({color:yt,type:"item",renderMode:H,markerId:gt});G[gt]=yt,++J;var qe=pe.getName(U),At=this.name;o.isNameSpecified(this)||(At=""),At=At?f(At)+(K?": ":Q):"";var dt=typeof it=="string"?it:it.content,wt=K?dt+At+Pe:At+dt+(qe?f(qe)+": "+Pe:Pe);return{html:wt,markers:G}},isAnimationEnabled:function(){if(m.node)return!1;var U=this.getShallow("animation");return U&&(this.getData().count()>this.getShallow("animationThreshold")&&(U=!1)),U},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(U,K,W){var H=this.ecModel,Y=l.getColorFromPalette.call(this,U,K,W);return Y||(Y=H.getColorFromPalette(U,K,W)),Y},coordDimToDataDim:function(U){return this.getRawData().mapDimension(U,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});v.mixin(T,n),v.mixin(T,l);function b(U){var K=U.name;o.isNameSpecified(U)||(U.name=x(U)||K)}function x(U){var K=U.getRawData(),W=K.mapDimension("seriesName",!0),H=[];return v.each(W,function(Y){var Q=K.getDimensionInfo(Y);Q.displayName&&H.push(Q.displayName)}),H.join(" ")}function N(U){return U.model.getRawData().count()}function D(U){var K=U.model;return K.setData(K.getRawData().cloneShallow()),M}function M(U,K){K.outputData&&U.end>K.outputData.count()&&K.model.getRawData().cloneShallow(K.outputData)}function R(U,K){v.each(U.CHANGABLE_METHODS,function(W){U.wrapMethod(W,v.curry(F,K))})}function F(U){var K=B(U);K&&K.setOutputEnd(this.count())}function B(U){var K=(U.ecModel||{}).scheduler,W=K&&K.getPipeline(U.uid);if(W){var H=W.currentTask;if(H){var Y=H.agentStubMap;Y&&(H=Y.get(U.uid))}return H}}var z=T;Z.exports=z},"+YFC":function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("LlUK"),w=e.n(y),f=e("ZZRV"),a=e("iczh"),t=e.n(a),o=e("3CTf"),s=e("MdoL"),l=e.n(s),n=e("LpVx"),c=function(T,b){var x={};for(var N in T)Object.prototype.hasOwnProperty.call(T,N)&&b.indexOf(N)<0&&(x[N]=T[N]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,N=Object.getOwnPropertySymbols(T);D<N.length;D++)b.indexOf(N[D])<0&&Object.prototype.propertyIsEnumerable.call(T,N[D])&&(x[N[D]]=T[N[D]]);return x},r=function(b){var x,N=f.useContext(n.b),D=N.getPrefixCls,M=function(H){var Y=b.checked,Q=b.onChange,P=b.onClick;Q&&Q(!Y),P&&P(H)},R=b.prefixCls,F=b.className,B=b.checked,z=c(b,["prefixCls","className","checked"]),U=D("tag",R),K=t()(U,(x={},L()(x,"".concat(U,"-checkable"),!0),L()(x,"".concat(U,"-checkable-checked"),B),x),F);return delete z.onChange,f.createElement("span",m()({},z,{className:K,onClick:M}))},u=r,i=e("4Gpq"),h=e("31Ly"),p=function(T,b){var x={};for(var N in T)Object.prototype.hasOwnProperty.call(T,N)&&b.indexOf(N)<0&&(x[N]=T[N]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,N=Object.getOwnPropertySymbols(T);D<N.length;D++)b.indexOf(N[D])<0&&Object.prototype.propertyIsEnumerable.call(T,N[D])&&(x[N[D]]=T[N[D]]);return x},A=new RegExp("^(".concat(i.a.join("|"),")(-inverse)?$")),C=new RegExp("^(".concat(i.b.join("|"),")$")),S=function(b,x){var N,D=b.prefixCls,M=b.className,R=b.style,F=b.children,B=b.icon,z=b.color,U=b.onClose,K=b.closeIcon,W=b.closable,H=W===void 0?!1:W,Y=p(b,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),Q=f.useContext(n.b),P=Q.getPrefixCls,G=Q.direction,J=f.useState(!0),he=w()(J,2),te=he[0],pe=he[1];f.useEffect(function(){"visible"in Y&&pe(Y.visible)},[Y.visible]);var we=function(){return z?A.test(z)||C.test(z):!1},be=m()({backgroundColor:z&&!we()?z:void 0},R),Qe=we(),$e=P("tag",D),yt=t()($e,(N={},L()(N,"".concat($e,"-").concat(z),Qe),L()(N,"".concat($e,"-has-color"),z&&!Qe),L()(N,"".concat($e,"-hidden"),!te),L()(N,"".concat($e,"-rtl"),G==="rtl"),N),M),Fe=function(Ye){if(Ye.stopPropagation(),U&&U(Ye),Ye.defaultPrevented)return;"visible"in Y||pe(!1)},Pe=function(){return H?K?f.createElement("div",{className:"".concat($e,"-close-icon"),onClick:Fe},K):f.createElement(l.a,{className:"".concat($e,"-close-icon"),onClick:Fe}):null},gt="onClick"in Y||F&&F.type==="a",it=Object(o.default)(Y,["visible"]),qe=B||null,At=qe?f.createElement(f.Fragment,null,qe,f.createElement("span",null,F)):F,dt=f.createElement("span",m()({},it,{ref:x,className:yt,style:be}),At,Pe());return gt?f.createElement(h.a,null,dt):dt},E=f.forwardRef(S);E.displayName="Tag",E.CheckableTag=u;var O=_.a=E},"+Z45":function(Z,_,e){var d=e("TjoS"),L=e("ie0D"),v=e("zYjg"),m=v.linePolygonIntersect,y={lineX:w(0),lineY:w(1),rect:{point:function(t,o,s){return t&&s.boundingRect.contain(t[0],t[1])},rect:function(t,o,s){return t&&s.boundingRect.intersect(t)}},polygon:{point:function(t,o,s){return t&&s.boundingRect.contain(t[0],t[1])&&d.contain(s.range,t[0],t[1])},rect:function(t,o,s){var l=s.range;if(!t||l.length<=1)return!1;var n=t.x,c=t.y,r=t.width,u=t.height,i=l[0];if(d.contain(l,n,c)||d.contain(l,n+r,c)||d.contain(l,n,c+u)||d.contain(l,n+r,c+u)||L.create(t).contain(i[0],i[1])||m(n,c,n+r,c,l)||m(n,c,n,c+u,l)||m(n+r,c,n+r,c+u,l)||m(n,c+u,n+r,c+u,l))return!0}}};function w(t){var o=["x","y"],s=["width","height"];return{point:function(l,n,c){if(l){var r=c.range,u=l[t];return f(u,r)}},rect:function(l,n,c){if(l){var r=c.range,u=[l[o[t]],l[o[t]]+l[s[t]]];return u[1]<u[0]&&u.reverse(),f(u[0],r)||f(u[1],r)||f(r[0],u)||f(r[1],u)}}}}function f(t,o){return o[0]<=t&&t<=o[1]}var a=y;Z.exports=a},"+j2m":function(Z,_,e){var d=e("Q6Bq");e("uCVf"),e("Bsof");var L=e("Dj6p"),v=e("BEOQ"),m=e("Cd9S");d.registerVisual(L("funnel")),d.registerLayout(v),d.registerProcessor(m("funnel"))},"+jib":function(Z,_,e){"use strict";var d=e("LlUK"),L=e.n(d),v=e("ZZRV"),m=e.n(v),y=e("tFaI");function w(){var f=Object(v.useState)({}),a=L()(f,2),t=a[0],o=a[1];return Object(v.useEffect)(function(){var s=y.a.subscribe(function(l){o(l)});return function(){return y.a.unsubscribe(s)}},[]),t}_.a=w},"+mwU":function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("U4G4")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="RedoOutlined";var f=v.forwardRef(w);_.default=f},"+x/p":function(Z,_,e){var d=e("vmuv"),L=e("zYjg"),v=e("F62y"),m=e("Jjzi"),y=m.parsePercent,w=m.round,f=m.linearMap;function a(n,c){var r=n.get("center"),u=c.getWidth(),i=c.getHeight(),h=Math.min(u,i),p=y(r[0],c.getWidth()),A=y(r[1],c.getHeight()),C=y(n.get("radius"),h/2);return{cx:p,cy:A,r:C}}function t(n,c){return c&&(typeof c=="string"?n=c.replace("{value}",n!=null?n:""):typeof c=="function"&&(n=c(n))),n}var o=Math.PI*2,s=v.extend({type:"gauge",render:function(n,c,r){this.group.removeAll();var u=n.get("axisLine.lineStyle.color"),i=a(n,r);this._renderMain(n,c,r,u,i)},dispose:function(){},_renderMain:function(n,c,r,u,i){for(var h=this.group,p=n.getModel("axisLine"),A=p.getModel("lineStyle"),C=n.get("clockwise"),S=-n.get("startAngle")/180*Math.PI,E=-n.get("endAngle")/180*Math.PI,O=(E-S)%o,T=S,b=A.get("width"),x=p.get("show"),N=0;x&&N<u.length;N++){var D=Math.min(Math.max(u[N][0],0),1),E=S+O*D,M=new L.Sector({shape:{startAngle:T,endAngle:E,cx:i.cx,cy:i.cy,clockwise:C,r0:i.r-b,r:i.r},silent:!0});M.setStyle({fill:u[N][1]}),M.setStyle(A.getLineStyle(["color","borderWidth","borderColor"])),h.add(M),T=E}var R=function(B){if(B<=0)return u[0][1];for(var z=0;z<u.length;z++)if(u[z][0]>=B&&(z===0?0:u[z-1][0])<B)return u[z][1];return u[z-1][1]};if(!C){var F=S;S=E,E=F}this._renderTicks(n,c,r,R,i,S,E,C),this._renderPointer(n,c,r,R,i,S,E,C),this._renderTitle(n,c,r,R,i),this._renderDetail(n,c,r,R,i)},_renderTicks:function(n,c,r,u,i,h,p,A){for(var C=this.group,S=i.cx,E=i.cy,O=i.r,T=+n.get("min"),b=+n.get("max"),x=n.getModel("splitLine"),N=n.getModel("axisTick"),D=n.getModel("axisLabel"),M=n.get("splitNumber"),R=N.get("splitNumber"),F=y(x.get("length"),O),B=y(N.get("length"),O),z=h,U=(p-h)/M,K=U/R,W=x.getModel("lineStyle").getLineStyle(),H=N.getModel("lineStyle").getLineStyle(),Y=0;Y<=M;Y++){var Q=Math.cos(z),P=Math.sin(z);if(x.get("show")){var G=new L.Line({shape:{x1:Q*O+S,y1:P*O+E,x2:Q*(O-F)+S,y2:P*(O-F)+E},style:W,silent:!0});W.stroke==="auto"&&G.setStyle({stroke:u(Y/M)}),C.add(G)}if(D.get("show")){var J=t(w(Y/M*(b-T)+T),D.get("formatter")),he=D.get("distance"),te=u(Y/M);C.add(new L.Text({style:L.setTextStyle({},D,{text:J,x:Q*(O-F-he)+S,y:P*(O-F-he)+E,textVerticalAlign:P<-.4?"top":P>.4?"bottom":"middle",textAlign:Q<-.4?"left":Q>.4?"right":"center"},{autoColor:te}),silent:!0}))}if(N.get("show")&&Y!==M){for(var pe=0;pe<=R;pe++){var Q=Math.cos(z),P=Math.sin(z),we=new L.Line({shape:{x1:Q*O+S,y1:P*O+E,x2:Q*(O-B)+S,y2:P*(O-B)+E},silent:!0,style:H});H.stroke==="auto"&&we.setStyle({stroke:u((Y+pe/R)/M)}),C.add(we),z+=K}z-=K}else z+=U}},_renderPointer:function(n,c,r,u,i,h,p,A){var C=this.group,S=this._data;if(!n.get("pointer.show")){S&&S.eachItemGraphicEl(function(x){C.remove(x)});return}var E=[+n.get("min"),+n.get("max")],O=[h,p],T=n.getData(),b=T.mapDimension("value");T.diff(S).add(function(x){var N=new d({shape:{angle:h}});L.initProps(N,{shape:{angle:f(T.get(b,x),E,O,!0)}},n),C.add(N),T.setItemGraphicEl(x,N)}).update(function(x,N){var D=S.getItemGraphicEl(N);L.updateProps(D,{shape:{angle:f(T.get(b,x),E,O,!0)}},n),C.add(D),T.setItemGraphicEl(x,D)}).remove(function(x){var N=S.getItemGraphicEl(x);C.remove(N)}).execute(),T.eachItemGraphicEl(function(x,N){var D=T.getItemModel(N),M=D.getModel("pointer");x.setShape({x:i.cx,y:i.cy,width:y(M.get("width"),i.r),r:y(M.get("length"),i.r)}),x.useStyle(D.getModel("itemStyle").getItemStyle()),x.style.fill==="auto"&&x.setStyle("fill",u(f(T.get(b,N),E,[0,1],!0))),L.setHoverStyle(x,D.getModel("emphasis.itemStyle").getItemStyle())}),this._data=T},_renderTitle:function(n,c,r,u,i){var h=n.getData(),p=h.mapDimension("value"),A=n.getModel("title");if(A.get("show")){var C=A.get("offsetCenter"),S=i.cx+y(C[0],i.r),E=i.cy+y(C[1],i.r),O=+n.get("min"),T=+n.get("max"),b=n.getData().get(p,0),x=u(f(b,[O,T],[0,1],!0));this.group.add(new L.Text({silent:!0,style:L.setTextStyle({},A,{x:S,y:E,text:h.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}},_renderDetail:function(n,c,r,u,i){var h=n.getModel("detail"),p=+n.get("min"),A=+n.get("max");if(h.get("show")){var C=h.get("offsetCenter"),S=i.cx+y(C[0],i.r),E=i.cy+y(C[1],i.r),O=y(h.get("width"),i.r),T=y(h.get("height"),i.r),b=n.getData(),x=b.get(b.mapDimension("value"),0),N=u(f(x,[p,A],[0,1],!0));this.group.add(new L.Text({silent:!0,style:L.setTextStyle({},h,{x:S,y:E,text:t(x,h.get("formatter")),textWidth:isNaN(O)?null:O,textHeight:isNaN(T)?null:T,textAlign:"center",textVerticalAlign:"middle"},{autoColor:N,forceRich:!0})}))}}}),l=s;Z.exports=l},"//FV":function(Z,_,e){var d=e("Q6Bq");e("7mDt"),e("iZz5"),e("4lWZ");var L=e("DU+R"),v=e("Vkpt"),m=e("Cd9S");d.registerLayout(L),d.registerVisual(v),d.registerProcessor(m("themeRiver"))},"/21a":function(Z,_,e){},"/3v0":function(Z,_,e){var d=e("Ju7t");d.registerSubTypeDefaulter("timeline",function(){return"slider"})},"/8eN":function(Z,_,e){var d=e("mCIU"),L=e("SSN4"),v="[object Arguments]";function m(y){return L(y)&&d(y)==v}Z.exports=m},"/H/D":function(Z,_,e){var d=e("oEo5"),L=e("RQkO");function v(w){if(!w.UTF8Encoding)return w;var f=w.UTF8Scale;f==null&&(f=1024);for(var a=w.features,t=0;t<a.length;t++)for(var o=a[t],s=o.geometry,l=s.coordinates,n=s.encodeOffsets,c=0;c<l.length;c++){var r=l[c];if(s.type==="Polygon")l[c]=m(r,n[c],f);else if(s.type==="MultiPolygon")for(var u=0;u<r.length;u++){var i=r[u];r[u]=m(i,n[c][u],f)}}return w.UTF8Encoding=!1,w}function m(w,f,a){for(var t=[],o=f[0],s=f[1],l=0;l<w.length;l+=2){var n=w.charCodeAt(l)-64,c=w.charCodeAt(l+1)-64;n=n>>1^-(n&1),c=c>>1^-(c&1),n+=o,c+=s,o=n,s=c,t.push([n/a,c/a])}return t}function y(w,f){return v(w),d.map(d.filter(w.features,function(a){return a.geometry&&a.properties&&a.geometry.coordinates.length>0}),function(a){var t=a.properties,o=a.geometry,s=o.coordinates,l=[];o.type==="Polygon"&&l.push({type:"polygon",exterior:s[0],interiors:s.slice(1)}),o.type==="MultiPolygon"&&d.each(s,function(c){c[0]&&l.push({type:"polygon",exterior:c[0],interiors:c.slice(1)})});var n=new L(t[f||"name"],l,t.cp);return n.properties=t,n})}Z.exports=y},"/Pi5":function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("ZZRV"),w=e("zjzt"),f=e("GZha"),a=e("buSX"),t=e("iczh"),o=e.n(t),s=e("O9LN"),l=e("ggzp"),n=y.forwardRef(function(O,T){var b,x=O.prefixCls,N=x===void 0?"rc-switch":x,D=O.className,M=O.checked,R=O.defaultChecked,F=O.disabled,B=O.loadingIcon,z=O.checkedChildren,U=O.unCheckedChildren,K=O.onClick,W=O.onChange,H=O.onKeyDown,Y=Object(a.a)(O,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),Q=Object(s.a)(!1,{value:M,defaultValue:R}),P=Object(f.a)(Q,2),G=P[0],J=P[1];function he(be,Qe){var $e=G;return F||($e=be,J($e),W==null||W($e,Qe)),$e}function te(be){be.which===l.a.LEFT?he(!1,be):be.which===l.a.RIGHT&&he(!0,be),H==null||H(be)}function pe(be){var Qe=he(!G,be);K==null||K(Qe,be)}var we=o()(N,D,(b={},Object(w.a)(b,"".concat(N,"-checked"),G),Object(w.a)(b,"".concat(N,"-disabled"),F),b));return y.createElement("button",Object.assign({},Y,{type:"button",role:"switch","aria-checked":G,disabled:F,className:we,ref:T,onKeyDown:te,onClick:pe}),B,y.createElement("span",{className:"".concat(N,"-inner")},G?z:U))});n.displayName="Switch";var c=n,r=e("NXEf"),u=e.n(r),i=e("31Ly"),h=e("LpVx"),p=e("WHP3"),A=e("b5WB"),C=function(O,T){var b={};for(var x in O)Object.prototype.hasOwnProperty.call(O,x)&&T.indexOf(x)<0&&(b[x]=O[x]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,x=Object.getOwnPropertySymbols(O);N<x.length;N++)T.indexOf(x[N])<0&&Object.prototype.propertyIsEnumerable.call(O,x[N])&&(b[x[N]]=O[x[N]]);return b},S=y.forwardRef(function(O,T){var b,x=O.prefixCls,N=O.size,D=O.loading,M=O.className,R=M===void 0?"":M,F=O.disabled,B=C(O,["prefixCls","size","loading","className","disabled"]);Object(A.a)("checked"in B||!("value"in B),"Switch","`value` is not a valid prop, do you mean `checked`?");var z=y.useContext(h.b),U=z.getPrefixCls,K=z.direction,W=y.useContext(p.b),H=U("switch",x),Y=y.createElement("div",{className:"".concat(H,"-handle")},D&&y.createElement(u.a,{className:"".concat(H,"-loading-icon")})),Q=o()(R,(b={},m()(b,"".concat(H,"-small"),(N||W)==="small"),m()(b,"".concat(H,"-loading"),D),m()(b,"".concat(H,"-rtl"),K==="rtl"),b));return y.createElement(i.a,{insertExtraNode:!0},y.createElement(c,L()({},B,{prefixCls:H,className:Q,disabled:F||D,ref:T,loadingIcon:Y})))});S.__ANT_SWITCH=!0,S.displayName="Switch";var E=_.a=S},"/btb":function(Z,_,e){var d=e("IT7P"),L=d.createElement,v=e("oEo5"),m=e("86p4"),y=e("342z"),w=e("vOhS"),f=e("ode/"),a=e("qCjM"),t=e("xYud"),o=e("oX3T"),s=e("9iHE"),l=e("wpu7"),n=l.path,c=l.image,r=l.text;function u(x){return parseInt(x,10)}function i(x){return x instanceof y?n:x instanceof w?c:x instanceof f?r:n}function h(x,N){return N&&x&&N.parentNode!==x}function p(x,N,D){if(h(x,N)&&D){var M=D.nextSibling;M?x.insertBefore(N,M):x.appendChild(N)}}function A(x,N){if(h(x,N)){var D=x.firstChild;D?x.insertBefore(N,D):x.appendChild(N)}}function C(x,N){N&&x&&N.parentNode===x&&x.removeChild(N)}function S(x){return x.__textSvgEl}function E(x){return x.__svgEl}var O=function(N,D,M,R){this.root=N,this.storage=D,this._opts=M=v.extend({},M||{});var F=L("svg");F.setAttribute("xmlns","http://www.w3.org/2000/svg"),F.setAttribute("version","1.1"),F.setAttribute("baseProfile","full"),F.style.cssText="user-select:none;position:absolute;left:0;top:0;";var B=L("g");F.appendChild(B);var z=L("g");F.appendChild(z),this.gradientManager=new t(R,z),this.clipPathManager=new o(R,z),this.shadowManager=new s(R,z);var U=document.createElement("div");U.style.cssText="overflow:hidden;position:relative",this._svgDom=F,this._svgRoot=z,this._backgroundRoot=B,this._viewport=U,N.appendChild(U),U.appendChild(F),this.resize(M.width,M.height),this._visibleList=[]};O.prototype={constructor:O,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=L("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,M=this._visibleList,R=N.length,F=[],B;for(B=0;B<R;B++){var z=N[B],U=i(z),K=E(z)||S(z);z.invisible||(z.__dirty&&(U&&U.brush(z),this.clipPathManager.update(z),z.style&&(this.gradientManager.update(z.style.fill),this.gradientManager.update(z.style.stroke),this.shadowManager.update(K,z)),z.__dirty=!1),F.push(z))}var W=a(M,F),H;for(B=0;B<W.length;B++){var Y=W[B];if(Y.removed)for(var Q=0;Q<Y.count;Q++){var z=M[Y.indices[Q]],K=E(z),P=S(z);C(D,K),C(D,P)}}for(B=0;B<W.length;B++){var Y=W[B];if(Y.added)for(var Q=0;Q<Y.count;Q++){var z=F[Y.indices[Q]],K=E(z),P=S(z);H?p(D,K,H):A(D,K),K?p(D,P,K):H?p(D,P,H):A(D,P),p(D,P,K),H=P||K||H,this.gradientManager.addWithoutUpdate(K||P,z),this.shadowManager.addWithoutUpdate(K||P,z),this.clipPathManager.markUsed(z)}else if(!Y.removed)for(var Q=0;Q<Y.count;Q++){var z=F[Y.indices[Q]],K=E(z),P=S(z),K=E(z),P=S(z);this.gradientManager.markUsed(z),this.gradientManager.addWithoutUpdate(K||P,z),this.shadowManager.markUsed(z),this.shadowManager.addWithoutUpdate(K||P,z),this.clipPathManager.markUsed(z),P&&p(D,P,K),H=K||P||H}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=F},_getDefs:function(N){var D=this._svgDom,M=D.getElementsByTagName("defs");if(M.length===0)if(N){var M=D.insertBefore(L("defs"),D.firstChild);return M.contains||(M.contains=function(F){var B=M.children;if(!B)return!1;for(var z=B.length-1;z>=0;--z)if(B[z]===F)return!0;return!1}),M}else return null;else return M[0]},resize:function(N,D){var M=this._viewport;M.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),M.style.display="",this._width!==N||this._height!==D){this._width=N,this._height=D;var F=M.style;F.width=N+"px",F.height=D+"px";var B=this._svgDom;B.setAttribute("width",N),B.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,M=["width","height"][N],R=["clientWidth","clientHeight"][N],F=["paddingLeft","paddingTop"][N],B=["paddingRight","paddingBottom"][N];if(D[M]!=null&&D[M]!=="auto")return parseFloat(D[M]);var z=this.root,U=document.defaultView.getComputedStyle(z);return(z[R]||u(U[M])||u(z.style[M]))-(u(U[F])||0)-(u(U[B])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var N=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
||
\r<`));return"data:image/svg+xml;charset=UTF-8,"+N}};function T(x){return function(){m('In SVG mode painter not support method "'+x+'"')}}v.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(x){O.prototype[x]=T(x)});var b=O;Z.exports=b},"/dgT":function(Z,_,e){var d=e("oEo5"),L=e("YsOP"),v=e("Jjzi"),m=e("aiPM"),y=e("J+4g"),w=e("4M5R"),f=e("7/O9"),a=f.getStackedDimension,t=function(u,i,h,p){var A=u.getData(),C=p.type;if(!d.isArray(p)&&(C==="min"||C==="max"||C==="average"||C==="median"||p.xAxis!=null||p.yAxis!=null)){var S,E;if(p.yAxis!=null||p.xAxis!=null)S=i.getAxis(p.yAxis!=null?"y":"x"),E=d.retrieve(p.yAxis,p.xAxis);else{var O=m.getAxisInfo(p,A,i,u);S=O.valueAxis;var T=a(A,O.valueDataDim);E=m.numCalculate(A,T,C)}var b=S.dim==="x"?0:1,x=1-b,N=d.clone(p),D={};N.type=null,N.coord=[],D.coord=[],N.coord[x]=-Infinity,D.coord[x]=Infinity;var M=h.get("precision");M>=0&&typeof E=="number"&&(E=+E.toFixed(Math.min(M,20))),N.coord[b]=D.coord[b]=E,p=[N,D,{type:C,valueIndex:p.valueIndex,value:E}]}return p=[m.dataTransform(u,p[0]),m.dataTransform(u,p[1]),d.extend({},p[2])],p[2].type=p[2].type||"",d.merge(p[2],p[0]),d.merge(p[2],p[1]),p};function o(u){return!isNaN(u)&&!isFinite(u)}function s(u,i,h,p){var A=1-u,C=p.dimensions[u];return o(i[A])&&o(h[A])&&i[u]===h[u]&&p.getAxis(C).containData(i[u])}function l(u,i){if(u.type==="cartesian2d"){var h=i[0].coord,p=i[1].coord;if(h&&p&&(s(1,h,p,u)||s(0,h,p,u)))return!0}return m.dataFilter(u,i[0])&&m.dataFilter(u,i[1])}function n(u,i,h,p,A){var C=p.coordinateSystem,S=u.getItemModel(i),E,O=v.parsePercent(S.get("x"),A.getWidth()),T=v.parsePercent(S.get("y"),A.getHeight());if(!isNaN(O)&&!isNaN(T))E=[O,T];else{if(p.getMarkerPosition)E=p.getMarkerPosition(u.getValues(u.dimensions,i));else{var b=C.dimensions,x=u.get(b[0],i),N=u.get(b[1],i);E=C.dataToPoint([x,N])}if(C.type==="cartesian2d"){var D=C.getAxis("x"),M=C.getAxis("y"),b=C.dimensions;o(u.get(b[0],i))?E[0]=D.toGlobalCoord(D.getExtent()[h?0:1]):o(u.get(b[1],i))&&(E[1]=M.toGlobalCoord(M.getExtent()[h?0:1]))}isNaN(O)||(E[0]=O),isNaN(T)||(E[1]=T)}u.setItemLayout(i,E)}var c=w.extend({type:"markLine",updateTransform:function(u,i,h){i.eachSeries(function(p){var A=p.markLineModel;if(A){var C=A.getData(),S=A.__from,E=A.__to;S.each(function(O){n(S,O,!0,p,h),n(E,O,!1,p,h)}),C.each(function(O){C.setItemLayout(O,[S.getItemLayout(O),E.getItemLayout(O)])}),this.markerGroupMap.get(p.id).updateLayout()}},this)},renderSeries:function(u,i,h,p){var A=u.coordinateSystem,C=u.id,S=u.getData(),E=this.markerGroupMap,O=E.get(C)||E.set(C,new y);this.group.add(O.group);var T=r(A,u,i),b=T.from,x=T.to,N=T.line;i.__from=b,i.__to=x,i.setData(N);var D=i.get("symbol"),M=i.get("symbolSize");d.isArray(D)||(D=[D,D]),typeof M=="number"&&(M=[M,M]),T.from.each(function(F){R(b,F,!0),R(x,F,!1)}),N.each(function(F){var B=N.getItemModel(F).get("lineStyle.color");N.setItemVisual(F,{color:B||b.getItemVisual(F,"color")}),N.setItemLayout(F,[b.getItemLayout(F),x.getItemLayout(F)]),N.setItemVisual(F,{fromSymbolRotate:b.getItemVisual(F,"symbolRotate"),fromSymbolSize:b.getItemVisual(F,"symbolSize"),fromSymbol:b.getItemVisual(F,"symbol"),toSymbolRotate:x.getItemVisual(F,"symbolRotate"),toSymbolSize:x.getItemVisual(F,"symbolSize"),toSymbol:x.getItemVisual(F,"symbol")})}),O.updateData(N),T.line.eachItemGraphicEl(function(F,B){F.traverse(function(z){z.dataModel=i})});function R(F,B,z){var U=F.getItemModel(B);n(F,B,z,u,p),F.setItemVisual(B,{symbolRotate:U.get("symbolRotate"),symbolSize:U.get("symbolSize")||M[z?0:1],symbol:U.get("symbol",!0)||D[z?0:1],color:U.get("itemStyle.color")||S.getVisual("color")})}O.__keep=!0,O.group.silent=i.get("silent")||u.get("silent")}});function r(u,i,h){var p;u?p=d.map(u&&u.dimensions,function(T){var b=i.getData().getDimensionInfo(i.getData().mapDimension(T))||{};return d.defaults({name:T},b)}):p=[{name:"value",type:"float"}];var A=new L(p,h),C=new L(p,h),S=new L([],h),E=d.map(h.get("data"),d.curry(t,i,u,h));u&&(E=d.filter(E,d.curry(l,u)));var O=u?m.dimValueGetter:function(T){return T.value};return A.initData(d.map(E,function(T){return T[0]}),null,O),C.initData(d.map(E,function(T){return T[1]}),null,O),S.initData(d.map(E,function(T){return T[2]})),S.hasItemOption=!0,{from:A,to:C,line:S}}Z.exports=c},"/j53":function(Z,_,e){var d=e("oEo5"),L=e("CQhY"),v=["x","y","z","radius","angle","single"],m=["cartesian2d","polar","singleAxis"];function y(t){return d.indexOf(m,t)>=0}function w(t,o){t=t.slice();var s=d.map(t,L.capitalFirst);o=(o||[]).slice();var l=d.map(o,L.capitalFirst);return function(n,c){d.each(t,function(r,u){for(var i={name:r,capital:s[u]},h=0;h<o.length;h++)i[o[h]]=r+l[h];n.call(c,i)})}}var f=w(v,["axisIndex","axis","index","id"]);function a(t,o,s){return function(r){var u={nodes:[],records:{}};if(o(function(p){u.records[p.name]={}}),!r)return u;c(r,u);var i;do i=!1,t(h);while(i);function h(p){!l(p,u)&&n(p,u)&&(c(p,u),i=!0)}return u};function l(r,u){return d.indexOf(u.nodes,r)>=0}function n(r,u){var i=!1;return o(function(h){d.each(s(r,h)||[],function(p){u.records[h.name][p]&&(i=!0)})}),i}function c(r,u){u.nodes.push(r),o(function(i){d.each(s(r,i)||[],function(h){u.records[i.name][h]=!0})})}}_.isCoordSupported=y,_.createNameEach=w,_.eachAxisDim=f,_.createLinkedNodesFinder=a},"/vd4":function(Z,_,e){"use strict";var d=e("ofoi"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("LlUK"),w=e.n(y),f=e("Eqs+"),a=e.n(f),t=e("ZZRV"),o=e("iczh"),s=e.n(o),l=e("3CTf"),n=e("zjzt"),c=e("55MS"),r=e("V0hb"),u=e("9/lZ"),i=e("GZha"),h=e("8CG2"),p=e.n(h),A=e("nWwB"),C=e("JS14"),S=e("MQ4j");function E($t){return null}var O=E;function T($t){return null}var b=T,x=e("buSX"),N=e("A1W9"),D="RC_TABLE_KEY";function M($t){return $t==null?[]:Array.isArray($t)?$t:[$t]}function R($t,Tr){if(!Tr&&typeof Tr!="number")return $t;for(var Kr=M(Tr),Ne=$t,Lt=0;Lt<Kr.length;Lt+=1){if(!Ne)return null;var Xt=Kr[Lt];Ne=Ne[Xt]}return Ne}function F($t){var Tr=[],Kr={};return $t.forEach(function(Ne){for(var Lt=Ne||{},Xt=Lt.key,ir=Lt.dataIndex,Sr=Xt||M(ir).join("-")||D;Kr[Sr];)Sr="".concat(Sr,"_next");Kr[Sr]=!0,Tr.push(Sr)}),Tr}function B(){var $t={};function Tr(Xt,ir){ir&&Object.keys(ir).forEach(function(Sr){var gr=ir[Sr];gr&&Object(u.a)(gr)==="object"?(Xt[Sr]=Xt[Sr]||{},Tr(Xt[Sr],gr)):Xt[Sr]=gr})}for(var Kr=arguments.length,Ne=new Array(Kr),Lt=0;Lt<Kr;Lt++)Ne[Lt]=arguments[Lt];return Ne.forEach(function(Xt){Tr($t,Xt)}),$t}function z($t){return $t!=null}function U($t){return $t&&Object(u.a)($t)==="object"&&!Array.isArray($t)&&!t.isValidElement($t)}function K($t){return typeof $t=="string"?!0:Object(N.c)($t)}function W($t,Tr){var Kr,Ne=$t.prefixCls,Lt=$t.className,Xt=$t.record,ir=$t.index,Sr=$t.dataIndex,gr=$t.render,Mr=$t.children,Hr=$t.component,kr=Hr===void 0?"td":Hr,Yr=$t.colSpan,en=$t.rowSpan,lt=$t.fixLeft,Qt=$t.fixRight,lr=$t.firstFixLeft,mr=$t.lastFixLeft,Er=$t.firstFixRight,Br=$t.lastFixRight,rn=$t.appendNode,dn=$t.additionalProps,yn=dn===void 0?{}:dn,Dn=$t.ellipsis,gn=$t.align,Sn=$t.rowType,_n=$t.isSticky,Cn="".concat(Ne,"-cell"),In,fn;if(Mr)fn=Mr;else{var Tn=R(Xt,Sr);if(fn=Tn,gr){var Yn=gr(Tn,Xt,ir);U(Yn)?(fn=Yn.children,In=Yn.props):fn=Yn}}Object(u.a)(fn)==="object"&&!Array.isArray(fn)&&!t.isValidElement(fn)&&(fn=null),Dn&&(mr||Er)&&(fn=t.createElement("span",{className:"".concat(Cn,"-content")},fn));var Gn=In||{},Hn=Gn.colSpan,zi=Gn.rowSpan,Oi=Gn.style,Di=Gn.className,wi=Object(x.a)(Gn,["colSpan","rowSpan","style","className"]),Pn=Hn!==void 0?Hn:Yr,Ei=zi!==void 0?zi:en;if(Pn===0||Ei===0)return null;var va={},Sa=typeof lt=="number",gi=typeof Qt=="number";Sa&&(va.position="sticky",va.left=lt),gi&&(va.position="sticky",va.right=Qt);var pi={};gn&&(pi.textAlign=gn);var Ii,Ci=Dn===!0?{showTitle:!0}:Dn;Ci&&(Ci.showTitle||Sn==="header")&&(typeof fn=="string"||typeof fn=="number"?Ii=fn.toString():t.isValidElement(fn)&&typeof fn.props.children=="string"&&(Ii=fn.props.children));var Si=Object(c.a)(Object(c.a)(Object(c.a)({title:Ii},wi),yn),{},{colSpan:Pn&&Pn!==1?Pn:null,rowSpan:Ei&&Ei!==1?Ei:null,className:s()(Cn,Lt,(Kr={},Object(n.a)(Kr,"".concat(Cn,"-fix-left"),Sa),Object(n.a)(Kr,"".concat(Cn,"-fix-left-first"),lr),Object(n.a)(Kr,"".concat(Cn,"-fix-left-last"),mr),Object(n.a)(Kr,"".concat(Cn,"-fix-right"),gi),Object(n.a)(Kr,"".concat(Cn,"-fix-right-first"),Er),Object(n.a)(Kr,"".concat(Cn,"-fix-right-last"),Br),Object(n.a)(Kr,"".concat(Cn,"-ellipsis"),Dn),Object(n.a)(Kr,"".concat(Cn,"-with-append"),rn),Object(n.a)(Kr,"".concat(Cn,"-fix-sticky"),(Sa||gi)&&_n),Kr),yn.className,Di),style:Object(c.a)(Object(c.a)(Object(c.a)(Object(c.a)({},yn.style),pi),va),Oi),ref:K(kr)?Tr:null});return t.createElement(kr,Object.assign({},Si),rn,fn)}var H=t.forwardRef(W);H.displayName="Cell";var Y=t.memo(H,function($t,Tr){return Tr.shouldCellUpdate?!Tr.shouldCellUpdate(Tr.record,$t.record):!1}),Q=Y,P=t.createContext(null),G=P;function J($t,Tr,Kr,Ne,Lt){var Xt=Kr[$t]||{},ir=Kr[Tr]||{},Sr,gr;Xt.fixed==="left"?Sr=Ne.left[$t]:ir.fixed==="right"&&(gr=Ne.right[Tr]);var Mr=!1,Hr=!1,kr=!1,Yr=!1,en=Kr[Tr+1],lt=Kr[$t-1];if(Lt==="rtl"){if(Sr!==void 0){var Qt=lt&<.fixed==="left";Yr=!Qt}else if(gr!==void 0){var lr=en&&en.fixed==="right";kr=!lr}}else if(Sr!==void 0){var mr=en&&en.fixed==="left";Mr=!mr}else if(gr!==void 0){var Er=lt&<.fixed==="right";Hr=!Er}return{fixLeft:Sr,fixRight:gr,lastFixLeft:Mr,firstFixRight:Hr,lastFixRight:kr,firstFixLeft:Yr,isSticky:Ne.isSticky}}function he($t){var Tr=$t.cells,Kr=$t.stickyOffsets,Ne=$t.flattenColumns,Lt=$t.rowComponent,Xt=$t.cellComponent,ir=$t.onHeaderRow,Sr=$t.index,gr=t.useContext(G),Mr=gr.prefixCls,Hr=gr.direction,kr;ir&&(kr=ir(Tr.map(function(en){return en.column}),Sr));var Yr=F(Tr.map(function(en){return en.column}));return t.createElement(Lt,Object.assign({},kr),Tr.map(function(en,lt){var Qt=en.column,lr=J(en.colStart,en.colEnd,Ne,Kr,Hr),mr;return Qt&&Qt.onHeaderCell&&(mr=en.column.onHeaderCell(Qt)),t.createElement(Q,Object.assign({},en,{ellipsis:Qt.ellipsis,align:Qt.align,component:Xt,prefixCls:Mr,key:Yr[lt]},lr,{additionalProps:mr,rowType:"header"}))}))}he.displayName="HeaderRow";var te=he;function pe($t){var Tr=[];function Kr(ir,Sr){var gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Tr[gr]=Tr[gr]||[];var Mr=Sr,Hr=ir.filter(Boolean).map(function(kr){var Yr={key:kr.key,className:kr.className||"",children:kr.title,column:kr,colStart:Mr},en=1,lt=kr.children;return lt&<.length>0&&(en=Kr(lt,Mr,gr+1).reduce(function(Qt,lr){return Qt+lr},0),Yr.hasSubColumns=!0),"colSpan"in kr&&(en=kr.colSpan),"rowSpan"in kr&&(Yr.rowSpan=kr.rowSpan),Yr.colSpan=en,Yr.colEnd=Yr.colStart+en-1,Tr[gr].push(Yr),Mr+=en,en});return Hr}Kr($t,0);for(var Ne=Tr.length,Lt=function(Sr){Tr[Sr].forEach(function(gr){!("rowSpan"in gr)&&!gr.hasSubColumns&&(gr.rowSpan=Ne-Sr)})},Xt=0;Xt<Ne;Xt+=1)Lt(Xt);return Tr}function we($t){var Tr=$t.stickyOffsets,Kr=$t.columns,Ne=$t.flattenColumns,Lt=$t.onHeaderRow,Xt=t.useContext(G),ir=Xt.prefixCls,Sr=Xt.getComponent,gr=t.useMemo(function(){return pe(Kr)},[Kr]),Mr=Sr(["header","wrapper"],"thead"),Hr=Sr(["header","row"],"tr"),kr=Sr(["header","cell"],"th");return t.createElement(Mr,{className:"".concat(ir,"-thead")},gr.map(function(Yr,en){var lt=t.createElement(te,{key:en,flattenColumns:Ne,cells:Yr,stickyOffsets:Tr,rowComponent:Hr,cellComponent:kr,onHeaderRow:Lt,index:en});return lt}))}var be=we,Qe="RC_TABLE_INTERNAL_COL_DEFINE";function $e($t){var Tr=$t.expandable,Kr=Object(x.a)($t,["expandable"]);return"expandable"in $t?Object(c.a)(Object(c.a)({},Kr),Tr):Kr}function yt($t){return Object.keys($t).reduce(function(Tr,Kr){return(Kr.substr(0,5)==="data-"||Kr.substr(0,5)==="aria-")&&(Tr[Kr]=$t[Kr]),Tr},{})}function Fe($t){for(var Tr=$t.colWidths,Kr=$t.columns,Ne=$t.columCount,Lt=[],Xt=Ne||Kr.length,ir=!1,Sr=Xt-1;Sr>=0;Sr-=1){var gr=Tr[Sr],Mr=Kr&&Kr[Sr],Hr=Mr&&Mr[Qe];(gr||Hr||ir)&&(Lt.unshift(t.createElement("col",Object.assign({key:Sr,style:{width:gr,minWidth:gr}},Hr))),ir=!0)}return t.createElement("colgroup",null,Lt)}var Pe=Fe;function gt($t,Tr){return Object(t.useMemo)(function(){for(var Kr=[],Ne=0;Ne<Tr;Ne+=1){var Lt=$t[Ne];if(Lt!==void 0)Kr[Ne]=Lt;else return null}return Kr},[$t.join("_"),Tr])}function it($t){var Tr=$t.noData,Kr=$t.columns,Ne=$t.flattenColumns,Lt=$t.colWidths,Xt=$t.columCount,ir=$t.stickyOffsets,Sr=$t.direction,gr=$t.fixHeader,Mr=Object(x.a)($t,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader"]),Hr=t.useContext(G),kr=Hr.prefixCls,Yr=Hr.scrollbarSize,en=Hr.isSticky,lt=en&&!gr?0:Yr,Qt=Ne[Ne.length-1],lr={fixed:Qt?Qt.fixed:null,onHeaderCell:function(){return{className:"".concat(kr,"-cell-scrollbar")}}},mr=Object(t.useMemo)(function(){return lt?[].concat(Object(r.a)(Kr),[lr]):Kr},[lt,Kr]),Er=Object(t.useMemo)(function(){return lt?[].concat(Object(r.a)(Ne),[lr]):Ne},[lt,Ne]),Br=Object(t.useMemo)(function(){var dn=ir.right,yn=ir.left;return Object(c.a)(Object(c.a)({},ir),{},{left:Sr==="rtl"?[].concat(Object(r.a)(yn.map(function(Dn){return Dn+lt})),[0]):yn,right:Sr==="rtl"?dn:[].concat(Object(r.a)(dn.map(function(Dn){return Dn+lt})),[0]),isSticky:en})},[lt,ir,en]),rn=gt(Lt,Xt);return t.createElement("table",{style:{tableLayout:"fixed",visibility:Tr||rn?null:"hidden"}},t.createElement(Pe,{colWidths:rn?[].concat(Object(r.a)(rn),[lt]):[],columCount:Xt+1,columns:Er}),t.createElement(be,Object.assign({},Mr,{stickyOffsets:Br,columns:mr,flattenColumns:Er})))}var qe=it,At=t.createContext(null),dt=At;function wt($t){var Tr=$t.prefixCls,Kr=$t.children,Ne=$t.component,Lt=$t.cellComponent,Xt=$t.fixHeader,ir=$t.fixColumn,Sr=$t.horizonScroll,gr=$t.className,Mr=$t.expanded,Hr=$t.componentWidth,kr=$t.colSpan,Yr=t.useContext(G),en=Yr.scrollbarSize;return t.useMemo(function(){var lt=Kr;return ir&&(lt=t.createElement("div",{style:{width:Hr-(Xt?en:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Tr,"-expanded-row-fixed")},lt)),t.createElement(Ne,{className:gr,style:{display:Mr?null:"none"}},t.createElement(Q,{component:Lt,prefixCls:Tr,colSpan:kr},lt))},[Kr,Ne,Xt,Sr,gr,Mr,Hr,kr,en])}var Ye=wt;function mt($t){var Tr=$t.className,Kr=$t.style,Ne=$t.record,Lt=$t.index,Xt=$t.rowKey,ir=$t.getRowKey,Sr=$t.rowExpandable,gr=$t.expandedKeys,Mr=$t.onRow,Hr=$t.indent,kr=Hr===void 0?0:Hr,Yr=$t.rowComponent,en=$t.cellComponent,lt=$t.childrenColumnName,Qt=t.useContext(G),lr=Qt.prefixCls,mr=Qt.fixedInfoList,Er=t.useContext(dt),Br=Er.fixHeader,rn=Er.fixColumn,dn=Er.horizonScroll,yn=Er.componentWidth,Dn=Er.flattenColumns,gn=Er.expandableType,Sn=Er.expandRowByClick,_n=Er.onTriggerExpand,Cn=Er.rowClassName,In=Er.expandedRowClassName,fn=Er.indentSize,Tn=Er.expandIcon,Yn=Er.expandedRowRender,Gn=Er.expandIconColumnIndex,Hn=t.useState(!1),zi=Object(i.a)(Hn,2),Oi=zi[0],Di=zi[1],wi=gr&&gr.has($t.recordKey);t.useEffect(function(){wi&&Di(!0)},[wi]);var Pn=gn==="row"&&(!Sr||Sr(Ne)),Ei=gn==="nest",va=lt&&Ne&&Ne[lt],Sa=Pn||Ei,gi;Mr&&(gi=Mr(Ne,Lt));var pi=function(aa){if(Sn&&Sa&&_n(Ne,aa),gi&&gi.onClick){for(var mi,$n=arguments.length,Li=new Array($n>1?$n-1:0),_i=1;_i<$n;_i++)Li[_i-1]=arguments[_i];(mi=gi).onClick.apply(mi,[aa].concat(Li))}},Ii;typeof Cn=="string"?Ii=Cn:typeof Cn=="function"&&(Ii=Cn(Ne,Lt,kr));var Ci=F(Dn),Si=t.createElement(Yr,Object.assign({},gi,{"data-row-key":Xt,className:s()(Tr,"".concat(lr,"-row"),"".concat(lr,"-row-level-").concat(kr),Ii,gi&&gi.className),style:Object(c.a)(Object(c.a)({},Kr),gi?gi.style:null),onClick:pi}),Dn.map(function(ya,aa){var mi=ya.render,$n=ya.dataIndex,Li=ya.className,_i=Ci[aa],oi=mr[aa],Fi;aa===(Gn||0)&&Ei&&(Fi=t.createElement(t.Fragment,null,t.createElement("span",{style:{paddingLeft:"".concat(fn*kr,"px")},className:"".concat(lr,"-row-indent indent-level-").concat(kr)}),Tn({prefixCls:lr,expanded:wi,expandable:va,record:Ne,onExpand:_n})));var Yi;return ya.onCell&&(Yi=ya.onCell(Ne,Lt)),t.createElement(Q,Object.assign({className:Li,ellipsis:ya.ellipsis,align:ya.align,component:en,prefixCls:lr,key:_i,record:Ne,index:Lt,dataIndex:$n,render:mi,shouldCellUpdate:ya.shouldCellUpdate},oi,{appendNode:Fi,additionalProps:Yi}))})),la;if(Pn&&(Oi||wi)){var Da=Yn(Ne,Lt,kr+1,wi),Oa=In&&In(Ne,Lt,kr);la=t.createElement(Ye,{expanded:wi,className:s()("".concat(lr,"-expanded-row"),"".concat(lr,"-expanded-row-level-").concat(kr+1),Oa),prefixCls:lr,fixHeader:Br,fixColumn:rn,horizonScroll:dn,component:Yr,componentWidth:yn,cellComponent:en,colSpan:Dn.length},Da)}var Aa;return va&&wi&&(Aa=(Ne[lt]||[]).map(function(ya,aa){var mi=ir(ya,aa);return t.createElement(mt,Object.assign({},$t,{key:mi,rowKey:mi,record:ya,recordKey:mi,index:aa,indent:kr+1}))})),t.createElement(t.Fragment,null,Si,la,Aa)}mt.displayName="BodyRow";var Ue=mt,Re=t.createContext(null),Le=Re;function at($t){var Tr=$t.columnKey,Kr=$t.onColumnResize,Ne=t.useRef();return t.useEffect(function(){Ne.current&&Kr(Tr,Ne.current.offsetWidth)},[]),t.createElement(C.a,{onResize:function(Xt){var ir=Xt.offsetWidth;Kr(Tr,ir)}},t.createElement("td",{ref:Ne,style:{padding:0,border:0,height:0}}))}function Ot($t){var Tr=$t.data,Kr=$t.getRowKey,Ne=$t.measureColumnWidth,Lt=$t.expandedKeys,Xt=$t.onRow,ir=$t.rowExpandable,Sr=$t.emptyNode,gr=$t.childrenColumnName,Mr=t.useContext(Le),Hr=Mr.onColumnResize,kr=t.useContext(G),Yr=kr.prefixCls,en=kr.getComponent,lt=t.useContext(dt),Qt=lt.fixHeader,lr=lt.horizonScroll,mr=lt.flattenColumns,Er=lt.componentWidth;return t.useMemo(function(){var Br=en(["body","wrapper"],"tbody"),rn=en(["body","row"],"tr"),dn=en(["body","cell"],"td"),yn;Tr.length?yn=Tr.map(function(gn,Sn){var _n=Kr(gn,Sn);return t.createElement(Ue,{key:_n,rowKey:_n,record:gn,recordKey:_n,index:Sn,rowComponent:rn,cellComponent:dn,expandedKeys:Lt,onRow:Xt,getRowKey:Kr,rowExpandable:ir,childrenColumnName:gr})}):yn=t.createElement(Ye,{expanded:!0,className:"".concat(Yr,"-placeholder"),prefixCls:Yr,fixHeader:Qt,fixColumn:lr,horizonScroll:lr,component:rn,componentWidth:Er,cellComponent:dn,colSpan:mr.length},Sr);var Dn=F(mr);return t.createElement(Br,{className:"".concat(Yr,"-tbody")},Ne&&t.createElement("tr",{"aria-hidden":"true",className:"".concat(Yr,"-measure-row"),style:{height:0}},Dn.map(function(gn){return t.createElement(at,{key:gn,columnKey:gn,onColumnResize:Hr})})),yn)},[Tr,Yr,Xt,Ne,Lt,Kr,en,Er,Sr,mr])}var Tt=t.memo(Ot);Tt.displayName="Body";var Ft=Tt,ke=e("7AgF");function Vt($t){return Object(ke.a)($t).filter(function(Tr){return t.isValidElement(Tr)}).map(function(Tr){var Kr=Tr.key,Ne=Tr.props,Lt=Ne.children,Xt=Object(x.a)(Ne,["children"]),ir=Object(c.a)({key:Kr},Xt);return Lt&&(ir.children=Vt(Lt)),ir})}function bt($t){return $t.reduce(function(Tr,Kr){var Ne=Kr.fixed,Lt=Ne===!0?"left":Ne,Xt=Kr.children;return Xt&&Xt.length>0?[].concat(Object(r.a)(Tr),Object(r.a)(bt(Xt).map(function(ir){return Object(c.a)({fixed:Lt},ir)}))):[].concat(Object(r.a)(Tr),[Object(c.a)(Object(c.a)({},Kr),{},{fixed:Lt})])},[])}function Rt($t){for(var Tr=!0,Kr=0;Kr<$t.length;Kr+=1){var Ne=$t[Kr];if(Tr&&Ne.fixed!=="left")Tr=!1;else if(!Tr&&Ne.fixed==="left"){Object(A.a)(!1,"Index ".concat(Kr-1," of `columns` missing `fixed='left'` prop."));break}}for(var Lt=!0,Xt=$t.length-1;Xt>=0;Xt-=1){var ir=$t[Xt];if(Lt&&ir.fixed!=="right")Lt=!1;else if(!Lt&&ir.fixed==="right"){Object(A.a)(!1,"Index ".concat(Xt+1," of `columns` missing `fixed='right'` prop."));break}}}function Nt($t){return $t.map(function(Tr){var Kr=Tr.fixed,Ne=Object(x.a)(Tr,["fixed"]),Lt=Kr;return Kr==="left"?Lt="right":Kr==="right"&&(Lt="left"),Object(c.a)({fixed:Lt},Ne)})}function xt($t,Tr){var Kr=$t.prefixCls,Ne=$t.columns,Lt=$t.children,Xt=$t.expandable,ir=$t.expandedKeys,Sr=$t.getRowKey,gr=$t.onTriggerExpand,Mr=$t.expandIcon,Hr=$t.rowExpandable,kr=$t.expandIconColumnIndex,Yr=$t.direction,en=$t.expandRowByClick,lt=t.useMemo(function(){return Ne||Vt(Lt)},[Ne,Lt]),Qt=t.useMemo(function(){if(Xt){var Er,Br=kr||0,rn=lt[Br],dn=(Er={},Object(n.a)(Er,Qe,{className:"".concat(Kr,"-expand-icon-col")}),Object(n.a)(Er,"title",""),Object(n.a)(Er,"fixed",rn?rn.fixed:null),Object(n.a)(Er,"className","".concat(Kr,"-row-expand-icon-cell")),Object(n.a)(Er,"render",function(gn,Sn,_n){var Cn=Sr(Sn,_n),In=ir.has(Cn),fn=Hr?Hr(Sn):!0,Tn=Mr({prefixCls:Kr,expanded:In,expandable:fn,record:Sn,onExpand:gr});return en?t.createElement("span",{onClick:function(Gn){return Gn.stopPropagation()}},Tn):Tn}),Er),yn=lt.slice();return Br>=0&&yn.splice(Br,0,dn),yn}return lt},[Xt,lt,Sr,ir,Mr,Yr]),lr=t.useMemo(function(){var Er=Qt;return Tr&&(Er=Tr(Er)),Er.length||(Er=[{render:function(){return null}}]),Er},[Tr,Qt,Yr]),mr=t.useMemo(function(){return Yr==="rtl"?Nt(bt(lr)):bt(lr)},[lr,Yr]);return[lr,mr]}var Ut=xt,Ze=e("RfwO"),ze=e.n(Ze);function re($t){var Tr=Object(t.useRef)($t),Kr=Object(t.useState)({}),Ne=Object(i.a)(Kr,2),Lt=Ne[1],Xt=Object(t.useRef)(null),ir=Object(t.useRef)([]);function Sr(gr){Xt.current===null&&(ir.current=[],Xt.current=ze()(function(){ir.current.forEach(function(Mr){Tr.current=Mr(Tr.current)}),Xt.current=null,Lt({})})),ir.current.push(gr)}return Object(t.useEffect)(function(){return function(){ze.a.cancel(Xt.current)}},[]),[Tr.current,Sr]}function le($t){var Tr=Object(t.useRef)($t),Kr=Object(t.useRef)(null);function Ne(){window.clearTimeout(Kr.current)}function Lt(ir){Tr.current=ir,Ne(),Kr.current=window.setTimeout(function(){Tr.current=null,Kr.current=null},100)}function Xt(){return Tr.current}return Object(t.useEffect)(function(){return Ne},[]),[Lt,Xt]}function Xe($t,Tr,Kr){var Ne=Object(t.useMemo)(function(){for(var Lt=[],Xt=[],ir=0,Sr=0,gr=0;gr<Tr;gr+=1)if(Kr==="rtl"){Xt[gr]=Sr,Sr+=$t[gr]||0;var Mr=Tr-gr-1;Lt[Mr]=ir,ir+=$t[Mr]||0}else{Lt[gr]=ir,ir+=$t[gr]||0;var Hr=Tr-gr-1;Xt[Hr]=Sr,Sr+=$t[Hr]||0}return{left:Lt,right:Xt}},[$t,Tr,Kr]);return Ne}var _e=Xe;function je($t){var Tr=$t.className,Kr=$t.children;return t.createElement("div",{className:Tr},Kr)}var ar=je;function zt($t){var Tr=$t.className,Kr=$t.index,Ne=$t.children,Lt=$t.colSpan,Xt=$t.rowSpan,ir=t.useContext(G),Sr=ir.prefixCls,gr=ir.fixedInfoList,Mr=gr[Kr];return t.createElement(Q,Object.assign({className:Tr,index:Kr,component:"td",prefixCls:Sr,record:null,dataIndex:null,render:function(){return{children:Ne,props:{colSpan:Lt,rowSpan:Xt}}}},Mr))}function Pt($t){return t.createElement("tr",Object.assign({},$t))}function qt($t){var Tr=$t.children,Kr=t.useContext(G),Ne=Kr.prefixCls;return t.createElement("tfoot",{className:"".concat(Ne,"-summary")},Tr)}var or=qt,Kt={Cell:zt,Row:Pt};function Mt($t){var Tr,Kr=$t.prefixCls,Ne=$t.record,Lt=$t.onExpand,Xt=$t.expanded,ir=$t.expandable,Sr="".concat(Kr,"-row-expand-icon");if(!ir)return t.createElement("span",{className:s()(Sr,"".concat(Kr,"-row-spaced"))});var gr=function(Hr){Lt(Ne,Hr),Hr.stopPropagation()};return t.createElement("span",{className:s()(Sr,(Tr={},Object(n.a)(Tr,"".concat(Kr,"-row-expanded"),Xt),Object(n.a)(Tr,"".concat(Kr,"-row-collapsed"),!Xt),Tr)),onClick:gr})}function me($t,Tr,Kr){var Ne=[];function Lt(Xt){(Xt||[]).forEach(function(ir,Sr){Ne.push(Tr(ir,Sr)),Lt(ir[Kr])})}return Lt($t),Ne}var ce=e("nH6b"),ae=e("ljQ0"),de=function(Tr,Kr){var Ne,Lt,Xt=Tr.scrollBodyRef,ir=Tr.onScroll,Sr=Tr.offsetScroll,gr=t.useContext(G),Mr=gr.prefixCls,Hr=((Ne=Xt.current)===null||Ne===void 0?void 0:Ne.scrollWidth)||0,kr=((Lt=Xt.current)===null||Lt===void 0?void 0:Lt.clientWidth)||0,Yr=Hr&&kr*(kr/Hr),en=t.useRef(),lt=re({scrollLeft:0,isHiddenScrollBar:!1}),Qt=Object(i.a)(lt,2),lr=Qt[0],mr=Qt[1],Er=t.useRef({delta:0,x:0}),Br=t.useState(!1),rn=Object(i.a)(Br,2),dn=rn[0],yn=rn[1],Dn=function(){yn(!1)},gn=function(fn){fn.persist(),Er.current.delta=fn.pageX-lr.scrollLeft,Er.current.x=0,yn(!0),fn.preventDefault()},Sn=function(fn){var Tn,Yn=fn||((Tn=window)===null||Tn===void 0?void 0:Tn.event),Gn=Yn.buttons;if(!dn||Gn===0){dn&&yn(!1);return}var Hn=Er.current.x+fn.pageX-Er.current.x-Er.current.delta;Hn<=0&&(Hn=0),Hn+Yr>=kr&&(Hn=kr-Yr),ir({scrollLeft:Hn/kr*(Hr+2)}),Er.current.x=fn.pageX},_n=function(){var fn=Object(ae.b)(Xt.current).top,Tn=fn+Xt.current.offsetHeight,Yn=document.documentElement.scrollTop+window.innerHeight;Tn-Object(S.a)()<=Yn||fn>=Yn-Sr?mr(function(Gn){return Object(c.a)(Object(c.a)({},Gn),{},{isHiddenScrollBar:!0})}):mr(function(Gn){return Object(c.a)(Object(c.a)({},Gn),{},{isHiddenScrollBar:!1})})},Cn=function(fn){mr(function(Tn){return Object(c.a)(Object(c.a)({},Tn),{},{scrollLeft:fn/Hr*kr||0})})};return t.useImperativeHandle(Kr,function(){return{setScrollLeft:Cn}}),t.useEffect(function(){var In=Object(ce.a)(document.body,"mouseup",Dn,!1),fn=Object(ce.a)(document.body,"mousemove",Sn,!1);return _n(),function(){In.remove(),fn.remove()}},[Yr,dn]),t.useEffect(function(){var In=Object(ce.a)(window,"scroll",_n,!1),fn=Object(ce.a)(window,"resize",_n,!1);return function(){In.remove(),fn.remove()}},[]),t.useEffect(function(){lr.isHiddenScrollBar||mr(function(In){var fn,Tn;return Object(c.a)(Object(c.a)({},In),{},{scrollLeft:Xt.current.scrollLeft/((fn=Xt.current)===null||fn===void 0?void 0:fn.scrollWidth)*((Tn=Xt.current)===null||Tn===void 0?void 0:Tn.clientWidth)})})},[lr.isHiddenScrollBar]),Hr<=kr||!Yr||lr.isHiddenScrollBar?null:t.createElement("div",{style:{height:Object(S.a)(),width:kr,bottom:Sr},className:"".concat(Mr,"-sticky-scroll")},t.createElement("div",{onMouseDown:gn,ref:en,className:s()("".concat(Mr,"-sticky-scroll-bar"),Object(n.a)({},"".concat(Mr,"-sticky-scroll-bar-active"),dn)),style:{width:"".concat(Yr,"px"),transform:"translate3d(".concat(lr.scrollLeft,"px, 0, 0)")}}))},Se=t.forwardRef(de);function Ce($t,Tr){return t.useMemo(function(){var Kr=!!$t;return{isSticky:Kr,stickyClassName:Kr?"".concat(Tr,"-sticky-header"):"",offsetHeader:Object(u.a)($t)==="object"&&$t.offsetHeader||0,offsetScroll:Object(u.a)($t)==="object"&&$t.offsetScroll||0}},[$t,Tr])}var Ie=[],Te={},Ee="rc-table-internal-hook",He=t.memo(function($t){var Tr=$t.children;return Tr},function($t,Tr){return p()($t.props,Tr.props)?$t.pingLeft!==Tr.pingLeft||$t.pingRight!==Tr.pingRight:!1});function st($t){var Tr,Kr=$t.prefixCls,Ne=$t.className,Lt=$t.rowClassName,Xt=$t.style,ir=$t.data,Sr=$t.rowKey,gr=$t.scroll,Mr=$t.tableLayout,Hr=$t.direction,kr=$t.title,Yr=$t.footer,en=$t.summary,lt=$t.id,Qt=$t.showHeader,lr=$t.components,mr=$t.emptyText,Er=$t.onRow,Br=$t.onHeaderRow,rn=$t.internalHooks,dn=$t.transformColumns,yn=$t.internalRefs,Dn=$t.sticky,gn=ir||Ie,Sn=!!gn.length,_n=t.useState(0),Cn=Object(i.a)(_n,2),In=Cn[0],fn=Cn[1];t.useEffect(function(){fn(Object(S.a)())});var Tn=t.useMemo(function(){return B(lr,{})},[lr]),Yn=t.useCallback(function(Ma,La){return R(Tn,Ma)||La},[Tn]),Gn=t.useMemo(function(){return typeof Sr=="function"?Sr:function(Ma){var La=Ma&&Ma[Sr];return La}},[Sr]),Hn=$e($t),zi=Hn.expandIcon,Oi=Hn.expandedRowKeys,Di=Hn.defaultExpandedRowKeys,wi=Hn.defaultExpandAllRows,Pn=Hn.expandedRowRender,Ei=Hn.onExpand,va=Hn.onExpandedRowsChange,Sa=Hn.expandRowByClick,gi=Hn.rowExpandable,pi=Hn.expandIconColumnIndex,Ii=Hn.expandedRowClassName,Ci=Hn.childrenColumnName,Si=Hn.indentSize,la=zi||Mt,Da=Ci||"children",Oa=t.useMemo(function(){return Pn?"row":$t.expandable&&rn===Ee&&$t.expandable.__PARENT_RENDER_ICON__||gn.some(function(Ma){return Ma&&Object(u.a)(Ma)==="object"&&Ma[Da]})?"nest":!1},[!!Pn,gn]),Aa=t.useState(function(){return Di||(wi?me(gn,Gn,Da):[])}),ya=Object(i.a)(Aa,2),aa=ya[0],mi=ya[1],$n=t.useMemo(function(){return new Set(Oi||aa||[])},[Oi,aa]),Li=t.useCallback(function(Ma){var La=Gn(Ma,gn.indexOf(Ma)),Co,fo=$n.has(La);fo?($n.delete(La),Co=Object(r.a)($n)):Co=[].concat(Object(r.a)($n),[La]),mi(Co),Ei&&Ei(!fo,Ma),va&&va(Co)},[Gn,$n,gn,Ei,va]),_i=t.useState(0),oi=Object(i.a)(_i,2),Fi=oi[0],Yi=oi[1],Xi=Ut(Object(c.a)(Object(c.a)(Object(c.a)({},$t),Hn),{},{expandable:!!Pn,expandedKeys:$n,getRowKey:Gn,onTriggerExpand:Li,expandIcon:la,expandIconColumnIndex:pi,direction:Hr}),rn===Ee?dn:null),Zi=Object(i.a)(Xi,2),Fa=Zi[0],Mi=Zi[1],ca=t.useMemo(function(){return{columns:Fa,flattenColumns:Mi}},[Fa,Mi]),ha=t.useRef(),Ua=t.useRef(),Ti=t.useRef(),to=t.useState(!1),ka=Object(i.a)(to,2),ua=ka[0],Ya=ka[1],vi=t.useState(!1),_a=Object(i.a)(vi,2),Ra=_a[0],Pi=_a[1],qi=re(new Map),ro=Object(i.a)(qi,2),Ni=ro[0],za=ro[1],lo=F(Mi),mo=lo.map(function(Ma){return Ni.get(Ma)}),Ka=t.useMemo(function(){return mo},[mo.join("_")]),Io=_e(Ka,Mi.length,Hr),Ja=gr&&z(gr.y),ra=gr&&z(gr.x),Wi=ra&&Mi.some(function(Ma){var La=Ma.fixed;return La}),go=t.useRef(),xa=Ce(Dn,Kr),si=xa.isSticky,Ki=xa.offsetHeader,xo=xa.offsetScroll,yo=xa.stickyClassName,no,bo,Mo;Ja&&(bo={overflowY:"scroll",maxHeight:gr.y}),ra&&(no={overflowX:"auto"},Ja||(bo={overflowY:"hidden"}),Mo={width:gr.x===!0?"auto":gr.x,minWidth:"100%"});var fa=t.useCallback(function(Ma,La){za(function(Co){var fo=new Map(Co);return fo.set(Ma,La),fo})},[]),Vi=le(null),io=Object(i.a)(Vi,2),$a=io[0],Ea=io[1];function Ji(Ma,La){La&&(typeof La=="function"?La(Ma):La.scrollLeft!==Ma&&(La.scrollLeft=Ma))}var ao=function(La){var Co=La.currentTarget,fo=La.scrollLeft,Yo=typeof fo=="number"?fo:Co.scrollLeft,cs=Co||Te;if(!Ea()||Ea()===cs){var rs;$a(cs),Ji(Yo,Ua.current),Ji(Yo,Ti.current),Ji(Yo,(rs=go.current)===null||rs===void 0?void 0:rs.setScrollLeft)}if(Co){var ys=Co.scrollWidth,bs=Co.clientWidth;Ya(Yo>0),Pi(Yo<ys-bs)}},es=function(){Ti.current&&ao({currentTarget:Ti.current})},ss=function(La){var Co=La.width;es(),Yi(ha.current?ha.current.offsetWidth:Co)};t.useEffect(function(){return es},[]),t.useEffect(function(){ra&&es()},[ra]),t.useEffect(function(){rn===Ee&&yn&&(yn.body.current=Ti.current)});var js=Yn(["table"],"table"),As=t.useMemo(function(){return Mr||(Wi?gr.x==="max-content"?"auto":"fixed":Ja||Mi.some(function(Ma){var La=Ma.ellipsis;return La})?"fixed":"auto")},[Ja,Wi,Mi,Mr]),ms,Ko={colWidths:Ka,columCount:Mi.length,stickyOffsets:Io,onHeaderRow:Br,fixHeader:Ja},Eo=t.useMemo(function(){return Sn?null:typeof mr=="function"?mr():mr},[Sn,mr]),Xa=t.createElement(Ft,{data:gn,measureColumnWidth:Ja||ra||si,expandedKeys:$n,rowExpandable:gi,getRowKey:Gn,onRow:Er,emptyNode:Eo,childrenColumnName:Da}),Qa=t.createElement(Pe,{colWidths:Mi.map(function(Ma){var La=Ma.width;return La}),columns:Mi}),ho=en&&t.createElement(or,null,en(gn)),ls=Yn(["body"]);if(Ja||si){var Cr;typeof ls=="function"?(Cr=ls(gn,{scrollbarSize:In,ref:Ti,onScroll:ao}),Ko.colWidths=Mi.map(function(Ma,La){var Co=Ma.width,fo=La===Fa.length-1?Co-In:Co;return typeof fo=="number"&&!Number.isNaN(fo)?fo:(Object(A.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):Cr=t.createElement("div",{style:Object(c.a)(Object(c.a)({},no),bo),onScroll:ao,ref:Ti,className:s()("".concat(Kr,"-body"))},t.createElement(js,{style:Object(c.a)(Object(c.a)({},Mo),{},{tableLayout:As})},Qa,Xa,ho),si&&t.createElement(Se,{ref:go,offsetScroll:xo,scrollBodyRef:Ti,onScroll:ao})),ms=t.createElement(t.Fragment,null,Qt!==!1&&t.createElement("div",{style:Object(c.a)({overflow:"hidden"},si?{top:Ki}:{}),onScroll:ao,ref:Ua,className:s()("".concat(Kr,"-header"),Object(n.a)({},yo,!!yo))},t.createElement(qe,Object.assign({noData:!gn.length},Ko,ca,{direction:Hr}))),Cr)}else ms=t.createElement("div",{style:Object(c.a)(Object(c.a)({},no),bo),className:s()("".concat(Kr,"-content")),onScroll:ao,ref:Ti},t.createElement(js,{style:Object(c.a)(Object(c.a)({},Mo),{},{tableLayout:As})},Qa,Qt!==!1&&t.createElement(be,Object.assign({},Ko,ca)),Xa,ho));var Qo=yt($t),ts=t.createElement("div",Object.assign({className:s()(Kr,Ne,(Tr={},Object(n.a)(Tr,"".concat(Kr,"-rtl"),Hr==="rtl"),Object(n.a)(Tr,"".concat(Kr,"-ping-left"),ua),Object(n.a)(Tr,"".concat(Kr,"-ping-right"),Ra),Object(n.a)(Tr,"".concat(Kr,"-layout-fixed"),Mr==="fixed"),Object(n.a)(Tr,"".concat(Kr,"-fixed-header"),Ja),Object(n.a)(Tr,"".concat(Kr,"-fixed-column"),Wi),Object(n.a)(Tr,"".concat(Kr,"-scroll-horizontal"),ra),Object(n.a)(Tr,"".concat(Kr,"-has-fix-left"),Mi[0]&&Mi[0].fixed),Object(n.a)(Tr,"".concat(Kr,"-has-fix-right"),Mi[Mi.length-1]&&Mi[Mi.length-1].fixed==="right"),Tr)),style:Xt,id:lt,ref:ha},Qo),t.createElement(He,{pingLeft:ua,pingRight:Ra,props:Object(c.a)(Object(c.a)({},$t),{},{stickyOffsets:Io,mergedExpandedKeys:$n})},kr&&t.createElement(ar,{className:"".concat(Kr,"-title")},kr(gn)),t.createElement("div",{className:"".concat(Kr,"-container")},ms),Yr&&t.createElement(ar,{className:"".concat(Kr,"-footer")},Yr(gn))));ra&&(ts=t.createElement(C.a,{onResize:ss},ts));var Is=t.useMemo(function(){return{prefixCls:Kr,getComponent:Yn,scrollbarSize:In,direction:Hr,fixedInfoList:Mi.map(function(Ma,La){return J(La,La,Mi,Io,Hr)}),isSticky:si}},[Kr,Yn,In,Hr,Mi,Io,Hr,si]),Ds=t.useMemo(function(){return Object(c.a)(Object(c.a)({},ca),{},{tableLayout:As,rowClassName:Lt,expandedRowClassName:Ii,componentWidth:Fi,fixHeader:Ja,fixColumn:Wi,horizonScroll:ra,expandIcon:la,expandableType:Oa,expandRowByClick:Sa,expandedRowRender:Pn,onTriggerExpand:Li,expandIconColumnIndex:pi,indentSize:Si})},[ca,As,Lt,Ii,Fi,Ja,Wi,ra,la,Oa,Sa,Pn,Li,pi,Si]),is=t.useMemo(function(){return{onColumnResize:fa}},[fa]);return t.createElement(G.Provider,{value:Is},t.createElement(dt.Provider,{value:Ds},t.createElement(Le.Provider,{value:is},ts)))}st.Column=b,st.ColumnGroup=O,st.Summary=Kt,st.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var vt=st,ee=vt,oe=e("/zo+"),k=e("hTF7"),$=e("LpVx"),se=function($t,Tr){var Kr={};for(var Ne in $t)Object.prototype.hasOwnProperty.call($t,Ne)&&Tr.indexOf(Ne)<0&&(Kr[Ne]=$t[Ne]);if($t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Ne=Object.getOwnPropertySymbols($t);Lt<Ne.length;Lt++)Tr.indexOf(Ne[Lt])<0&&Object.prototype.propertyIsEnumerable.call($t,Ne[Lt])&&(Kr[Ne[Lt]]=$t[Ne[Lt]]);return Kr},ge=10;function Ae($t,Tr){var Kr={current:Tr.current,pageSize:Tr.pageSize},Ne=$t&&L()($t)==="object"?$t:{};return Object.keys(Ne).forEach(function(Lt){var Xt=Tr[Lt];typeof Xt!="function"&&(Kr[Lt]=Xt)}),Kr}function Me(){for(var $t={},Tr=arguments.length,Kr=new Array(Tr),Ne=0;Ne<Tr;Ne++)Kr[Ne]=arguments[Ne];return Kr.forEach(function(Lt){Lt&&Object.keys(Lt).forEach(function(Xt){var ir=Lt[Xt];ir!==void 0&&($t[Xt]=ir)})}),$t}function et($t,Tr,Kr){var Ne=Tr&&L()(Tr)==="object"?Tr:{},Lt=Ne.total,Xt=Lt===void 0?0:Lt,ir=se(Ne,["total"]),Sr=Object(t.useState)(function(){return{current:"defaultCurrent"in ir?ir.defaultCurrent:1,pageSize:"defaultPageSize"in ir?ir.defaultPageSize:ge}}),gr=w()(Sr,2),Mr=gr[0],Hr=gr[1],kr=Me(Mr,ir,{total:Xt>0?Xt:$t});if(!Xt){var Yr=Math.ceil($t/kr.pageSize);Yr<kr.current&&(kr.current=1)}var en=function(){var lr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,mr=arguments.length>1?arguments[1]:void 0;Hr(a()(a()({},kr),{current:lr,pageSize:mr||kr.pageSize}))},lt=function(lr,mr){var Er=kr==null?void 0:kr.pageSize;mr&&mr!==Er&&(lr=1,Tr&&Tr.onShowSizeChange&&Tr.onShowSizeChange(lr,mr)),Tr&&Tr.onChange&&Tr.onChange(lr,mr),en(lr,mr),Kr(lr,mr||Er)};return Tr===!1?[{},function(){}]:[a()(a()({},kr),{onChange:lt}),en]}function Wt($t,Tr,Kr){var Ne=t.useRef({});function Lt(Xt){if(!Ne.current||Ne.current.data!==$t||Ne.current.childrenColumnName!==Tr||Ne.current.getRowKey!==Kr){var ir=function gr(Mr){Mr.forEach(function(Hr,kr){var Yr=Kr(Hr,kr);Sr.set(Yr,Hr),Hr&&L()(Hr)==="object"&&Tr in Hr&&gr(Hr[Tr]||[])})},Sr=new Map;ir($t),Ne.current={data:$t,childrenColumnName:Tr,kvMap:Sr,getRowKey:Kr}}return Ne.current.kvMap.get(Xt)}return[Lt]}var er=e("n/W2"),Ct=e.n(er),Ht=e("bOtj"),kt=e.n(Ht),Zt=e("QJYX"),Et=e.n(Zt),ur=e("1c8c"),rr=e("7ZCg"),Ke=e("AoPA"),nt=e("O9LN"),Ge=e("Xc/e"),ct=e("4PKU"),ht=e("9rdS"),ut=e("twZV"),We=e("b5WB"),tt="SELECT_ALL",ft="SELECT_INVERT";function Yt($t){return $t&&$t.fixed}function Dt($t,Tr){var Kr=[];return($t||[]).forEach(function(Ne){Kr.push(Ne),Ne&&L()(Ne)==="object"&&Tr in Ne&&(Kr=[].concat(kt()(Kr),kt()(Dt(Ne[Tr],Tr))))}),Kr}function vr($t,Tr){var Kr=$t||{},Ne=Kr.preserveSelectedRowKeys,Lt=Kr.selectedRowKeys,Xt=Kr.getCheckboxProps,ir=Kr.onChange,Sr=Kr.onSelect,gr=Kr.onSelectAll,Mr=Kr.onSelectInvert,Hr=Kr.onSelectMultiple,kr=Kr.columnWidth,Yr=Kr.type,en=Kr.selections,lt=Kr.fixed,Qt=Kr.renderCell,lr=Kr.hideSelectAll,mr=Kr.checkStrictly,Er=mr===void 0?!0:mr,Br=Tr.prefixCls,rn=Tr.data,dn=Tr.pageData,yn=Tr.getRecordByKey,Dn=Tr.getRowKey,gn=Tr.expandType,Sn=Tr.childrenColumnName,_n=Tr.locale,Cn=Tr.expandIconColumnIndex,In=Tr.getPopupContainer,fn=t.useRef(new Map),Tn=Object(nt.a)(Lt||[],{value:Lt}),Yn=w()(Tn,2),Gn=Yn[0],Hn=Yn[1],zi=Object(t.useMemo)(function(){return Er?{keyEntities:null}:Object(ur.a)(rn,void 0,Dn)},[rn,Dn,Er]),Oi=zi.keyEntities,Di=Object(t.useMemo)(function(){return Dt(dn,Sn)},[dn,Sn]),wi=Object(t.useMemo)(function(){var mi=new Map;return Di.forEach(function($n,Li){var _i=Dn($n,Li),oi=(Xt?Xt($n):null)||{};mi.set(_i,oi)}),mi},[Di,Dn,Xt]),Pn=Object(t.useCallback)(function(mi){var $n;return!!(($n=wi.get(Dn(mi)))===null||$n===void 0?void 0:$n.disabled)},[wi,Dn]),Ei=Object(t.useMemo)(function(){if(Er)return[Gn,[]];var mi=Object(rr.a)(Gn,!0,Oi,Pn),$n=mi.checkedKeys,Li=mi.halfCheckedKeys;return[$n,Li]},[Gn,Er,Oi,Pn]),va=w()(Ei,2),Sa=va[0],gi=va[1],pi=Object(t.useMemo)(function(){var mi=Yr==="radio"?Sa.slice(0,1):Sa;return new Set(mi)},[Sa,Yr]),Ii=Object(t.useMemo)(function(){return Yr==="radio"?new Set:new Set(gi)},[gi,Yr]),Ci=Object(t.useState)(null),Si=w()(Ci,2),la=Si[0],Da=Si[1];t.useEffect(function(){$t||Hn([])},[!!$t]);var Oa=Object(t.useCallback)(function(mi){var $n,Li;if(Ne){var _i=new Map;$n=mi,Li=mi.map(function(oi){var Fi=yn(oi);return!Fi&&fn.current.has(oi)&&(Fi=fn.current.get(oi)),_i.set(oi,Fi),Fi}),fn.current=_i}else $n=[],Li=[],mi.forEach(function(oi){var Fi=yn(oi);Fi!==void 0&&($n.push(oi),Li.push(Fi))});Hn($n),ir&&ir($n,Li)},[Hn,yn,ir,Ne]),Aa=Object(t.useCallback)(function(mi,$n,Li,_i){if(Sr){var oi=Li.map(function(Fi){return yn(Fi)});Sr(yn(mi),$n,oi,_i)}Oa(Li)},[Sr,yn,Oa]),ya=Object(t.useMemo)(function(){if(!en||lr)return null;var mi=en===!0?[tt,ft]:en;return mi.map(function($n){return $n===tt?{key:"all",text:_n.selectionAll,onSelect:function(){Oa(rn.map(function(_i,oi){return Dn(_i,oi)}))}}:$n===ft?{key:"invert",text:_n.selectInvert,onSelect:function(){var _i=new Set(pi);dn.forEach(function(Fi,Yi){var Xi=Dn(Fi,Yi);_i.has(Xi)?_i.delete(Xi):_i.add(Xi)});var oi=Array.from(_i);Oa(oi),Mr&&(Object(We.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Mr(oi))}}:$n})},[en,pi,dn,Dn,Mr,Oa]),aa=Object(t.useCallback)(function(mi){if(!$t)return mi;var $n=new Set(pi),Li=Di.map(Dn).filter(function(ua){return!wi.get(ua).disabled}),_i=Li.every(function(ua){return $n.has(ua)}),oi=Li.some(function(ua){return $n.has(ua)}),Fi=function(){var Ya=[];_i?Li.forEach(function(_a){$n.delete(_a),Ya.push(_a)}):Li.forEach(function(_a){$n.has(_a)||($n.add(_a),Ya.push(_a))});var vi=Array.from($n);Oa(vi),gr&&gr(!_i,vi.map(function(_a){return yn(_a)}),Ya.map(function(_a){return yn(_a)}))},Yi;if(Yr!=="radio"){var Xi;if(ya){var Zi=t.createElement(ht.a,{getPopupContainer:In},ya.map(function(ua,Ya){var vi=ua.key,_a=ua.text,Ra=ua.onSelect;return t.createElement(ht.a.Item,{key:vi||Ya,onClick:function(){Ra&&Ra(Li)}},_a)}));Xi=t.createElement("div",{className:"".concat(Br,"-selection-extra")},t.createElement(ct.a,{overlay:Zi,getPopupContainer:In},t.createElement("span",null,t.createElement(Et.a,null))))}var Fa=Di.every(function(ua,Ya){var vi=Dn(ua,Ya),_a=wi.get(vi)||{};return _a.disabled});Yi=!lr&&t.createElement("div",{className:"".concat(Br,"-selection")},t.createElement(Ge.a,{checked:!Fa&&!!Di.length&&_i,indeterminate:!_i&&oi,onChange:Fi,disabled:Di.length===0||Fa}),Xi)}var Mi;Yr==="radio"?Mi=function(Ya,vi,_a){var Ra=Dn(vi,_a),Pi=$n.has(Ra);return{node:t.createElement(ut.a,a()({},wi.get(Ra),{checked:Pi,onClick:function(ro){return ro.stopPropagation()},onChange:function(ro){$n.has(Ra)||Aa(Ra,!0,[Ra],ro.nativeEvent)}})),checked:Pi}}:Mi=function(Ya,vi,_a){var Ra,Pi=Dn(vi,_a),qi=$n.has(Pi),ro=Ii.has(Pi),Ni=wi.get(Pi),za;return gn==="nest"?(za=ro,Object(We.a)(!(typeof(Ni==null?void 0:Ni.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):za=(Ra=Ni==null?void 0:Ni.indeterminate)!==null&&Ra!==void 0?Ra:ro,{node:t.createElement(Ge.a,a()({},Ni,{indeterminate:za,checked:qi,onClick:function(mo){return mo.stopPropagation()},onChange:function(mo){var Ka=mo.nativeEvent,Io=Ka.shiftKey,Ja=-1,ra=-1;if(Io&&Er){var Wi=new Set([la,Pi]);Li.some(function(Vi,io){if(Wi.has(Vi))if(Ja===-1)Ja=io;else return ra=io,!0;return!1})}if(ra!==-1&&Ja!==ra&&Er){var go=Li.slice(Ja,ra+1),xa=[];qi?go.forEach(function(Vi){$n.has(Vi)&&(xa.push(Vi),$n.delete(Vi))}):go.forEach(function(Vi){$n.has(Vi)||(xa.push(Vi),$n.add(Vi))});var si=Array.from($n);Oa(si),Hr&&Hr(!qi,si.map(function(Vi){return yn(Vi)}),xa.map(function(Vi){return yn(Vi)}))}else{var Ki=Sa;if(Er){var xo=qi?Object(Ke.b)(Ki,Pi):Object(Ke.a)(Ki,Pi);Aa(Pi,!qi,xo,Ka)}else{var yo=Object(rr.a)([].concat(kt()(Ki),[Pi]),!0,Oi,Pn),no=yo.checkedKeys,bo=yo.halfCheckedKeys,Mo=no;if(qi){var fa=new Set(no);fa.delete(Pi),Mo=Object(rr.a)(Array.from(fa),{checked:!1,halfCheckedKeys:bo},Oi,Pn).checkedKeys}Aa(Pi,!qi,Mo,Ka)}}Da(Pi)}})),checked:qi}};var ca=function(Ya,vi,_a){var Ra=Mi(Ya,vi,_a),Pi=Ra.node,qi=Ra.checked;return Qt?Qt(qi,vi,_a,Pi):Pi},ha=m()({width:kr,className:"".concat(Br,"-selection-column"),title:$t.columnTitle||Yi,render:ca},Qe,{className:"".concat(Br,"-selection-col")});if(gn==="row"&&mi.length&&!Cn){var Ua=Ct()(mi),Ti=Ua[0],to=Ua.slice(1),ka=lt||Yt(to[0]);return ka&&(Ti.fixed=ka),[Ti,a()(a()({},ha),{fixed:ka})].concat(kt()(to))}return[a()(a()({},ha),{fixed:lt||Yt(mi[0])})].concat(kt()(mi))},[Dn,Di,$t,Sa,pi,Ii,kr,ya,gn,la,wi,Hr,Aa,Pn]);return[aa,pi]}var yr=e("dhFd"),Dr=e.n(yr),Rr=e("Cb1p"),Jr=e.n(Rr),$r=e("NiCL");function xr($t,Tr){return"key"in $t&&$t.key!==void 0&&$t.key!==null?$t.key:$t.dataIndex?Array.isArray($t.dataIndex)?$t.dataIndex.join("."):$t.dataIndex:Tr}function Vr($t,Tr){return Tr?"".concat(Tr,"-").concat($t):"".concat($t)}function Or($t,Tr){return typeof $t=="function"?$t(Tr):$t}var nr="ascend",pr="descend";function dr($t){return L()($t.sorter)==="object"&&typeof $t.sorter.multiple=="number"?$t.sorter.multiple:!1}function fr($t){return typeof $t=="function"?$t:$t&&L()($t)==="object"&&$t.compare?$t.compare:!1}function _r($t,Tr){return Tr?$t[$t.indexOf(Tr)+1]:$t[0]}function Zr($t,Tr,Kr){var Ne=[];function Lt(Xt,ir){Ne.push({column:Xt,key:xr(Xt,ir),multiplePriority:dr(Xt),sortOrder:Xt.sortOrder})}return($t||[]).forEach(function(Xt,ir){var Sr=Vr(ir,Kr);Xt.children?("sortOrder"in Xt&&Lt(Xt,Sr),Ne=[].concat(kt()(Ne),kt()(Zr(Xt.children,Tr,Sr)))):Xt.sorter&&("sortOrder"in Xt?Lt(Xt,Sr):Tr&&Xt.defaultSortOrder&&Ne.push({column:Xt,key:xr(Xt,Sr),multiplePriority:dr(Xt),sortOrder:Xt.defaultSortOrder}))}),Ne}function on($t,Tr,Kr,Ne,Lt,Xt,ir,Sr){return(Tr||[]).map(function(gr,Mr){var Hr=Vr(Mr,Sr),kr=gr;if(kr.sorter){var Yr=kr.sortDirections||Lt,en=kr.showSorterTooltip===void 0?ir:kr.showSorterTooltip,lt=xr(kr,Hr),Qt=Kr.find(function(Sn){var _n=Sn.key;return _n===lt}),lr=Qt?Qt.sortOrder:null,mr=_r(Yr,lr),Er=Yr.includes(nr)&&t.createElement(Jr.a,{className:s()("".concat($t,"-column-sorter-up"),{active:lr===nr})}),Br=Yr.includes(pr)&&t.createElement(Dr.a,{className:s()("".concat($t,"-column-sorter-down"),{active:lr===pr})}),rn=Xt||{},dn=rn.cancelSort,yn=rn.triggerAsc,Dn=rn.triggerDesc,gn=dn;mr===pr?gn=Dn:mr===nr&&(gn=yn),kr=a()(a()({},kr),{className:s()(kr.className,m()({},"".concat($t,"-column-sort"),lr)),title:function(_n){var Cn=t.createElement("div",{className:"".concat($t,"-column-sorters")},t.createElement("span",null,Or(gr.title,_n)),t.createElement("span",{className:s()("".concat($t,"-column-sorter"),m()({},"".concat($t,"-column-sorter-full"),Er&&Br))},t.createElement("span",{className:"".concat($t,"-column-sorter-inner")},Er,Br)));return en?t.createElement($r.a,{title:gn},t.createElement("div",{className:"".concat($t,"-column-sorters-with-tooltip")},Cn)):Cn},onHeaderCell:function(_n){var Cn=gr.onHeaderCell&&gr.onHeaderCell(_n)||{},In=Cn.onClick;return Cn.onClick=function(fn){Ne({column:gr,key:lt,sortOrder:mr,multiplePriority:dr(gr)}),In&&In(fn)},Cn.className=s()(Cn.className,"".concat($t,"-column-has-sorters")),Cn}})}return"children"in kr&&(kr=a()(a()({},kr),{children:on($t,kr.children,Kr,Ne,Lt,Xt,ir,Hr)})),kr})}function jn($t){var Tr=$t.column,Kr=$t.sortOrder;return{column:Tr,order:Kr,field:Tr.dataIndex,columnKey:Tr.key}}function Ur($t){var Tr=$t.filter(function(Kr){var Ne=Kr.sortOrder;return Ne}).map(jn);return Tr.length===0&&$t.length?a()(a()({},jn($t[$t.length-1])),{column:void 0}):Tr.length<=1?Tr[0]||{}:Tr}function En($t,Tr,Kr){var Ne=Tr.slice().sort(function(ir,Sr){return Sr.multiplePriority-ir.multiplePriority}),Lt=$t.slice(),Xt=Ne.filter(function(ir){var Sr=ir.column.sorter,gr=ir.sortOrder;return fr(Sr)&&gr});return Xt.length?Lt.sort(function(ir,Sr){for(var gr=0;gr<Xt.length;gr+=1){var Mr=Xt[gr],Hr=Mr.column.sorter,kr=Mr.sortOrder,Yr=fr(Hr);if(Yr&&kr){var en=Yr(ir,Sr,kr);if(en!==0)return kr===nr?en:-en}}return 0}).map(function(ir){var Sr=ir[Kr];return Sr?a()(a()({},ir),m()({},Kr,En(Sr,Tr,Kr))):ir}):Lt}function pn($t){var Tr=$t.prefixCls,Kr=$t.mergedColumns,Ne=$t.onSorterChange,Lt=$t.sortDirections,Xt=$t.tableLocale,ir=$t.showSorterTooltip,Sr=t.useState(Zr(Kr,!0)),gr=w()(Sr,2),Mr=gr[0],Hr=gr[1],kr=t.useMemo(function(){var lr=!0,mr=Zr(Kr,!1);if(!mr.length)return Mr;var Er=[];function Br(dn){lr?Er.push(dn):Er.push(a()(a()({},dn),{sortOrder:null}))}var rn=null;return mr.forEach(function(dn){rn===null?(Br(dn),dn.sortOrder&&(dn.multiplePriority===!1?lr=!1:rn=!0)):(rn&&dn.multiplePriority!==!1||(lr=!1),Br(dn))}),Er},[Kr,Mr]),Yr=t.useMemo(function(){var lr=kr.map(function(mr){var Er=mr.column,Br=mr.sortOrder;return{column:Er,order:Br}});return{sortColumns:lr,sortColumn:lr[0]&&lr[0].column,sortOrder:lr[0]&&lr[0].order}},[kr]);function en(lr){var mr;lr.multiplePriority===!1||!kr.length||kr[0].multiplePriority===!1?mr=[lr]:mr=[].concat(kt()(kr.filter(function(Er){var Br=Er.key;return Br!==lr.key})),[lr]),Hr(mr),Ne(Ur(mr),mr)}var lt=function(mr){return on(Tr,mr,kr,en,Lt,Xt,ir)},Qt=function(){return Ur(kr)};return[lt,kr,Yr,Qt]}var On=e("ShHz"),Vn=e.n(On),Nn=e("KmN3"),ui=e.n(Nn),Xn=e("bnk9"),mn=e("9OD+"),cn=function(Tr){return t.createElement("div",{className:Tr.className,onClick:function(Ne){return Ne.stopPropagation()}},Tr.children)},da=cn,Ta=e("Z1Ah");function ia($t){var Tr=t.useRef($t),Kr=Object(Ta.a)();return[function(){return Tr.current},function(Ne){Tr.current=Ne,Kr()}]}var fi=ht.a.SubMenu,ki=ht.a.Item;function Qn($t){return $t.some(function(Tr){var Kr=Tr.children;return Kr})}function ea($t){var Tr=$t.filters,Kr=$t.prefixCls,Ne=$t.filteredKeys,Lt=$t.filterMultiple,Xt=$t.locale;return Tr.length===0?t.createElement(t.Fragment,null,t.createElement(mn.a,{image:mn.a.PRESENTED_IMAGE_SIMPLE,description:Xt.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Tr.map(function(ir,Sr){var gr=String(ir.value);if(ir.children)return t.createElement(fi,{key:gr||Sr,title:ir.text,popupClassName:"".concat(Kr,"-dropdown-submenu")},ea({filters:ir.children,prefixCls:Kr,filteredKeys:Ne,filterMultiple:Lt,locale:Xt}));var Mr=Lt?Ge.a:ut.a;return t.createElement(ki,{key:ir.value!==void 0?gr:Sr},t.createElement(Mr,{checked:Ne.includes(gr)}),t.createElement("span",null,ir.text))})}function An($t){var Tr,Kr=$t.prefixCls,Ne=$t.column,Lt=$t.dropdownPrefixCls,Xt=$t.columnKey,ir=$t.filterMultiple,Sr=$t.filterState,gr=$t.triggerFilter,Mr=$t.locale,Hr=$t.children,kr=$t.getPopupContainer,Yr=Ne.filterDropdownVisible,en=Ne.onFilterDropdownVisibleChange,lt=t.useState(!1),Qt=w()(lt,2),lr=Qt[0],mr=Qt[1],Er=!!(Sr&&(((Tr=Sr.filteredKeys)===null||Tr===void 0?void 0:Tr.length)||Sr.forceFiltered)),Br=function(Si){mr(Si),en&&en(Si)},rn=typeof Yr=="boolean"?Yr:lr,dn=Sr&&Sr.filteredKeys,yn=ia(dn||[]),Dn=w()(yn,2),gn=Dn[0],Sn=Dn[1],_n=function(Si){var la=Si.selectedKeys;Sn(la)};t.useEffect(function(){_n({selectedKeys:dn||[]})},[dn]);var Cn=t.useState([]),In=w()(Cn,2),fn=In[0],Tn=In[1],Yn=t.useRef(),Gn=function(Si){Yn.current=window.setTimeout(function(){Tn(Si)})},Hn=function(){window.clearTimeout(Yn.current)};t.useEffect(function(){return function(){window.clearTimeout(Yn.current)}},[]);var zi=function(Si){Br(!1);var la=Si&&Si.length?Si:null;if(la===null&&(!Sr||!Sr.filteredKeys))return null;if(Vn()(la,Sr==null?void 0:Sr.filteredKeys))return null;gr({column:Ne,key:Xt,filteredKeys:la})},Oi=function(){zi(gn())},Di=function(){Sn([]),zi([])},wi=function(Si){Si&&dn!==void 0&&Sn(dn||[]),Br(Si),!Si&&!Ne.filterDropdown&&Oi()},Pn=s()(m()({},"".concat(Lt,"-menu-without-submenu"),!Qn(Ne.filters||[]))),Ei;if(typeof Ne.filterDropdown=="function")Ei=Ne.filterDropdown({prefixCls:"".concat(Lt,"-custom"),setSelectedKeys:function(Si){return _n({selectedKeys:Si})},selectedKeys:gn(),confirm:Oi,clearFilters:Di,filters:Ne.filters,visible:rn});else if(Ne.filterDropdown)Ei=Ne.filterDropdown;else{var va=gn()||[];Ei=t.createElement(t.Fragment,null,t.createElement(ht.a,{multiple:ir,prefixCls:"".concat(Lt,"-menu"),className:Pn,onClick:Hn,onSelect:_n,onDeselect:_n,selectedKeys:va,getPopupContainer:kr,openKeys:fn,onOpenChange:Gn},ea({filters:Ne.filters||[],prefixCls:Kr,filteredKeys:gn(),filterMultiple:ir,locale:Mr})),t.createElement("div",{className:"".concat(Kr,"-dropdown-btns")},t.createElement(Xn.a,{type:"link",size:"small",disabled:va.length===0,onClick:Di},Mr.filterReset),t.createElement(Xn.a,{type:"primary",size:"small",onClick:Oi},Mr.filterConfirm)))}var Sa=t.createElement(da,{className:"".concat(Kr,"-dropdown")},Ei),gi;typeof Ne.filterIcon=="function"?gi=Ne.filterIcon(Er):Ne.filterIcon?gi=Ne.filterIcon:gi=t.createElement(ui.a,null);var pi=t.useContext($.b),Ii=pi.direction;return t.createElement("div",{className:s()("".concat(Kr,"-column"))},t.createElement("span",{className:"".concat(Kr,"-column-title")},Hr),t.createElement("span",{className:s()("".concat(Kr,"-trigger-container"),m()({},"".concat(Kr,"-trigger-container-open"),rn)),onClick:function(Si){Si.stopPropagation()}},t.createElement(ct.a,{overlay:Sa,trigger:["click"],visible:rn,onVisibleChange:wi,getPopupContainer:kr,placement:Ii==="rtl"?"bottomLeft":"bottomRight"},t.createElement("span",{role:"button",tabIndex:-1,className:s()("".concat(Kr,"-trigger"),{active:Er})},gi))))}var wn=An;function Ln($t,Tr,Kr){var Ne=[];return($t||[]).forEach(function(Lt,Xt){var ir=Vr(Xt,Kr);"children"in Lt?Ne=[].concat(kt()(Ne),kt()(Ln(Lt.children,Tr,ir))):(Lt.filters||"filterDropdown"in Lt||"onFilter"in Lt)&&("filteredValue"in Lt?Ne.push({column:Lt,key:xr(Lt,ir),filteredKeys:Lt.filteredValue,forceFiltered:Lt.filtered}):Ne.push({column:Lt,key:xr(Lt,ir),filteredKeys:Tr&&Lt.defaultFilteredValue?Lt.defaultFilteredValue:void 0,forceFiltered:Lt.filtered}))}),Ne}function Un($t,Tr,Kr,Ne,Lt,Xt,ir,Sr){return Kr.map(function(gr,Mr){var Hr=Vr(Mr,Sr),kr=gr.filterMultiple,Yr=kr===void 0?!0:kr;if(gr.filters||"filterDropdown"in gr){var en=xr(gr,Hr),lt=Ne.find(function(Qt){var lr=Qt.key;return en===lr});return a()(a()({},gr),{title:function(lr){return t.createElement(wn,{prefixCls:"".concat($t,"-filter"),dropdownPrefixCls:Tr,column:gr,columnKey:en,filterState:lt,filterMultiple:Yr,triggerFilter:Lt,locale:ir,getPopupContainer:Xt},Or(gr.title,lr))}})}return"children"in gr?a()(a()({},gr),{children:Un($t,Tr,gr.children,Ne,Lt,Xt,ir,Hr)}):gr})}function kn($t){var Tr={};return $t.forEach(function(Kr){var Ne=Kr.key,Lt=Kr.filteredKeys;Tr[Ne]=Lt||null}),Tr}function ti($t){var Tr=[];return($t||[]).forEach(function(Kr){var Ne=Kr.value,Lt=Kr.children;Tr.push(Ne),Lt&&(Tr=[].concat(kt()(Tr),kt()(ti(Lt))))}),Tr}function di($t,Tr){return Tr.reduce(function(Kr,Ne){var Lt=Ne.column,Xt=Lt.onFilter,ir=Lt.filters,Sr=Ne.filteredKeys;return Xt&&Sr&&Sr.length?Kr.filter(function(gr){return Sr.some(function(Mr){var Hr=ti(ir),kr=Hr.findIndex(function(en){return String(en)===String(Mr)}),Yr=kr!==-1?Hr[kr]:Mr;return Xt(Yr,gr)})}):Kr},$t)}function Na($t){var Tr=$t.prefixCls,Kr=$t.dropdownPrefixCls,Ne=$t.mergedColumns,Lt=$t.onFilterChange,Xt=$t.getPopupContainer,ir=$t.locale,Sr=t.useState(Ln(Ne,!0)),gr=w()(Sr,2),Mr=gr[0],Hr=gr[1],kr=t.useMemo(function(){var Qt=Ln(Ne,!1);return Qt.every(function(lr){var mr=lr.filteredKeys;return mr===void 0})?Mr:Qt},[Ne,Mr]),Yr=t.useCallback(function(){return kn(kr)},[kr]),en=function(lr){var mr=kr.filter(function(Er){var Br=Er.key;return Br!==lr.key});mr.push(lr),Hr(mr),Lt(kn(mr),mr)},lt=function(lr){return Un(Tr,Kr,lr,kr,en,Xt,ir)};return[lt,kr,Yr]}var Gi=Na;function ba($t,Tr){return $t.map(function(Kr){var Ne=a()({},Kr);return Ne.title=Or(Kr.title,Tr),"children"in Ne&&(Ne.children=ba(Ne.children,Tr)),Ne})}function Pa($t){var Tr=t.useCallback(function(Kr){return ba(Kr,$t)},[$t]);return[Tr]}function Ga($t){return function(Kr){var Ne,Lt=Kr.prefixCls,Xt=Kr.onExpand,ir=Kr.record,Sr=Kr.expanded,gr=Kr.expandable,Mr="".concat(Lt,"-row-expand-icon");return t.createElement("button",{type:"button",onClick:function(kr){Xt(ir,kr),kr.stopPropagation()},className:s()(Mr,(Ne={},m()(Ne,"".concat(Mr,"-spaced"),!gr),m()(Ne,"".concat(Mr,"-expanded"),gr&&Sr),m()(Ne,"".concat(Mr,"-collapsed"),gr&&!Sr),Ne)),"aria-label":Sr?$t.collapse:$t.expand})}}var Qi=Ga,Lo=e("apr7"),sa=e("DxYC"),ji=sa.a,wa=e("WHP3");function ga($t){return null}var po=ga;function Bn($t){return null}var ta=Bn,So=e("+jib"),To=[];function Ha($t){var Tr,Kr=$t.prefixCls,Ne=$t.className,Lt=$t.style,Xt=$t.size,ir=$t.bordered,Sr=$t.dropdownPrefixCls,gr=$t.dataSource,Mr=$t.pagination,Hr=$t.rowSelection,kr=$t.rowKey,Yr=$t.rowClassName,en=$t.columns,lt=$t.children,Qt=$t.childrenColumnName,lr=$t.onChange,mr=$t.getPopupContainer,Er=$t.loading,Br=$t.expandIcon,rn=$t.expandable,dn=$t.expandedRowRender,yn=$t.expandIconColumnIndex,Dn=$t.indentSize,gn=$t.scroll,Sn=$t.sortDirections,_n=$t.locale,Cn=$t.showSorterTooltip,In=Cn===void 0?!0:Cn;Object(We.a)(!(typeof kr=="function"&&kr.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var fn=Object(So.a)(),Tn=t.useMemo(function(){var fa=new Set(Object.keys(fn).filter(function(Vi){return fn[Vi]}));return(en||Vt(lt)).filter(function(Vi){return!Vi.responsive||Vi.responsive.some(function(io){return fa.has(io)})})},[lt,en,fn]),Yn=Object(l.default)($t,["className","style","columns"]),Gn=t.useContext(wa.b),Hn=t.useContext($.b),zi=Hn.locale,Oi=zi===void 0?ji:zi,Di=Hn.renderEmpty,wi=Hn.direction,Pn=Xt||Gn,Ei=a()(a()({},Oi.Table),_n),va=gr||To,Sa=t.useContext($.b),gi=Sa.getPrefixCls,pi=gi("table",Kr),Ii=gi("dropdown",Sr),Ci=a()({childrenColumnName:Qt,expandIconColumnIndex:yn},rn),Si=Ci.childrenColumnName,la=Si===void 0?"children":Si,Da=t.useMemo(function(){return va.some(function(fa){var Vi;return(Vi=fa)===null||Vi===void 0?void 0:Vi[la]})?"nest":dn||rn&&rn.expandedRowRender?"row":null},[va]),Oa={body:t.useRef()},Aa=t.useMemo(function(){return typeof kr=="function"?kr:function(fa){var Vi;return(Vi=fa)===null||Vi===void 0?void 0:Vi[kr]}},[kr]),ya=Wt(va,la,Aa),aa=w()(ya,1),mi=aa[0],$n={},Li=function(Vi,io){var $a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ea=a()(a()({},$n),Vi);$a&&($n.resetPagination(),Ea.pagination.current&&(Ea.pagination.current=1),Mr&&Mr.onChange&&Mr.onChange(1,Ea.pagination.pageSize)),gn&&gn.scrollToFirstRowOnChange!==!1&&Oa.body.current&&Object(Lo.a)(0,{getContainer:function(){return Oa.body.current}}),lr&&lr(Ea.pagination,Ea.filters,Ea.sorter,{currentDataSource:di(En(va,Ea.sorterStates,la),Ea.filterStates),action:io})},_i=function(Vi,io){Li({sorter:Vi,sorterStates:io},"sort",!1)},oi=pn({prefixCls:pi,mergedColumns:Tn,onSorterChange:_i,sortDirections:Sn||["ascend","descend"],tableLocale:Ei,showSorterTooltip:In}),Fi=w()(oi,4),Yi=Fi[0],Xi=Fi[1],Zi=Fi[2],Fa=Fi[3],Mi=t.useMemo(function(){return En(va,Xi,la)},[va,Xi]);$n.sorter=Fa(),$n.sorterStates=Xi;var ca=function(Vi,io){Li({filters:Vi,filterStates:io},"filter",!0)},ha=Gi({prefixCls:pi,locale:Ei,dropdownPrefixCls:Ii,mergedColumns:Tn,onFilterChange:ca,getPopupContainer:mr}),Ua=w()(ha,3),Ti=Ua[0],to=Ua[1],ka=Ua[2],ua=di(Mi,to);$n.filters=ka(),$n.filterStates=to;var Ya=t.useMemo(function(){return a()({},Zi)},[Zi]),vi=Pa(Ya),_a=w()(vi,1),Ra=_a[0],Pi=function(Vi,io){Li({pagination:a()(a()({},$n.pagination),{current:Vi,pageSize:io})},"paginate")},qi=et(ua.length,Mr,Pi),ro=w()(qi,2),Ni=ro[0],za=ro[1];$n.pagination=Mr===!1?{}:Ae(Mr,Ni),$n.resetPagination=za;var lo=t.useMemo(function(){if(Mr===!1||!Ni.pageSize)return ua;var fa=Ni.current,Vi=fa===void 0?1:fa,io=Ni.total,$a=Ni.pageSize,Ea=$a===void 0?ge:$a;return ua.length<io?ua.length>Ea?(Object(We.a)(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode."),ua.slice((Vi-1)*Ea,Vi*Ea)):ua:ua.slice((Vi-1)*Ea,Vi*Ea)},[!!Mr,ua,Ni&&Ni.current,Ni&&Ni.pageSize,Ni&&Ni.total]),mo=vr(Hr,{prefixCls:pi,data:ua,pageData:lo,getRowKey:Aa,getRecordByKey:mi,expandType:Da,childrenColumnName:la,locale:Ei,expandIconColumnIndex:Ci.expandIconColumnIndex,getPopupContainer:mr}),Ka=w()(mo,2),Io=Ka[0],Ja=Ka[1],ra=function(Vi,io,$a){var Ea;return typeof Yr=="function"?Ea=s()(Yr(Vi,io,$a)):Ea=s()(Yr),s()(m()({},"".concat(pi,"-row-selected"),Ja.has(Aa(Vi,io))),Ea)};Ci.__PARENT_RENDER_ICON__=Ci.expandIcon,Ci.expandIcon=Ci.expandIcon||Br||Qi(Ei),Da==="nest"&&Ci.expandIconColumnIndex===void 0?Ci.expandIconColumnIndex=Hr?1:0:Ci.expandIconColumnIndex>0&&Hr&&(Ci.expandIconColumnIndex-=1),typeof Ci.indentSize!="number"&&(Ci.indentSize=typeof Dn=="number"?Dn:15);var Wi=t.useCallback(function(fa){return Ra(Io(Ti(Yi(fa))))},[Yi,Ti,Io]),go,xa;if(Mr!==!1&&(Ni==null?void 0:Ni.total)){var si;Ni.size?si=Ni.size:si=Pn==="small"||Pn==="middle"?"small":void 0;var Ki=function(Vi){return t.createElement(k.a,a()({className:"".concat(pi,"-pagination ").concat(pi,"-pagination-").concat(Vi)},Ni,{size:si}))},xo=wi==="rtl"?"left":"right";if(Ni.position!==null&&Array.isArray(Ni.position)){var yo=Ni.position.find(function(fa){return fa.indexOf("top")!==-1}),no=Ni.position.find(function(fa){return fa.indexOf("bottom")!==-1});!yo&&!no?xa=Ki(xo):(yo&&(go=Ki(yo.toLowerCase().replace("top",""))),no&&(xa=Ki(no.toLowerCase().replace("bottom",""))))}else xa=Ki(xo)}var bo;typeof Er=="boolean"?bo={spinning:Er}:L()(Er)==="object"&&(bo=a()({spinning:!0},Er));var Mo=s()("".concat(pi,"-wrapper"),Ne,m()({},"".concat(pi,"-wrapper-rtl"),wi==="rtl"));return t.createElement("div",{className:Mo,style:Lt},t.createElement(oe.a,a()({spinning:!1},bo),go,t.createElement(ee,a()({},Yn,{columns:Tn,direction:wi,expandable:Ci,prefixCls:pi,className:s()((Tr={},m()(Tr,"".concat(pi,"-middle"),Pn==="middle"),m()(Tr,"".concat(pi,"-small"),Pn==="small"),m()(Tr,"".concat(pi,"-bordered"),ir),m()(Tr,"".concat(pi,"-empty"),va.length===0),Tr)),data:lo,rowKey:Aa,rowClassName:ra,emptyText:_n&&_n.emptyText||Di("Table"),internalHooks:Ee,internalRefs:Oa,transformColumns:Wi})),xa))}Ha.defaultProps={rowKey:"key"},Ha.SELECTION_ALL=tt,Ha.SELECTION_INVERT=ft,Ha.Column=po,Ha.ColumnGroup=ta,Ha.Summary=Kt;var eo=Ha,Hi=_.a=eo},"/vp6":function(Z,_){function e(L,v,m){var y=L.target,w=y.position;w[0]+=v,w[1]+=m,y.dirty()}function d(L,v,m,y){var w=L.target,f=L.zoomLimit,a=w.position,t=w.scale,o=L.zoom=L.zoom||1;if(o*=v,f){var s=f.min||0,l=f.max||Infinity;o=Math.max(Math.min(l,o),s)}var n=o/L.zoom;L.zoom=o,a[0]-=(m-a[0])*(n-1),a[1]-=(y-a[1])*(n-1),t[0]*=n,t[1]*=n,w.dirty()}_.updateViewOnPan=e,_.updateViewOnZoom=d},"/wlt":function(Z,_,e){var d=e("BiNE");function L(v){var m=this.__data__,y=d(m,v);return y<0?void 0:m[y][1]}Z.exports=L},"/xIj":function(Z,_){var e={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function d(L,v){if(L==="china"){var m=e[v.name];if(m){var y=v.center;y[0]+=m[0]/10.5,y[1]+=-m[1]/(10.5/.75)}}}Z.exports=d},"0+Dw":function(Z,_,e){var d=e("SSBM"),L=e("oEo5"),v=e("QV7q"),m=v.groupData;function y(N,D,M){N.eachSeriesByType("sankey",function(R){var F=R.get("nodeWidth"),B=R.get("nodeGap"),z=w(R,D);R.layoutInfo=z;var U=z.width,K=z.height,W=R.getGraph(),H=W.nodes,Y=W.edges;a(H);var Q=L.filter(H,function(he){return he.getLayout().value===0}),P=Q.length!==0?0:R.get("layoutIterations"),G=R.get("orient"),J=R.get("nodeAlign");f(H,Y,F,B,U,K,P,G,J)})}function w(N,D){return d.getLayoutRect(N.getBoxLayoutParams(),{width:D.getWidth(),height:D.getHeight()})}function f(N,D,M,R,F,B,z,U,K){t(N,D,M,F,B,U,K),c(N,D,B,F,R,z,U),x(N,U)}function a(N){L.each(N,function(D){var M=T(D.outEdges,O),R=T(D.inEdges,O),F=D.getValue()||0,B=Math.max(M,R,F);D.setLayout({value:B},!0)})}function t(N,D,M,R,F,B,z){for(var U=[],K=[],W=[],H=[],Y=0,Q=0,P=0;P<D.length;P++)U[P]=1;for(P=0;P<N.length;P++)K[P]=N[P].inEdges.length,K[P]===0&&W.push(N[P]);for(var G=-1;W.length;){for(var J=0;J<W.length;J++){var he=W[J],te=he.hostGraph.data.getRawDataItem(he.dataIndex),pe=te.depth!=null&&te.depth>=0;pe&&te.depth>G&&(G=te.depth),he.setLayout({depth:pe?te.depth:Y},!0),B==="vertical"?he.setLayout({dy:M},!0):he.setLayout({dx:M},!0);for(var we=0;we<he.outEdges.length;we++){var be=he.outEdges[we],Qe=D.indexOf(be);U[Qe]=0;var $e=be.node2,yt=N.indexOf($e);--K[yt]===0&&H.indexOf($e)<0&&H.push($e)}}++Y,W=H,H=[]}for(P=0;P<U.length;P++)if(U[P]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var Fe=G>Y-1?G:Y-1;z&&z!=="left"&&s(N,z,B,Fe);var Q=B==="vertical"?(F-M)/Fe:(R-M)/Fe;n(N,Q,B)}function o(N){var D=N.hostGraph.data.getRawDataItem(N.dataIndex);return D.depth!=null&&D.depth>=0}function s(N,D,M,R){if(D==="right"){for(var F=[],B=N,z=0;B.length;){for(var U=0;U<B.length;U++){var K=B[U];K.setLayout({skNodeHeight:z},!0);for(var W=0;W<K.inEdges.length;W++){var H=K.inEdges[W];F.indexOf(H.node1)<0&&F.push(H.node1)}}B=F,F=[],++z}L.each(N,function(Y){o(Y)||Y.setLayout({depth:Math.max(0,R-Y.getLayout().skNodeHeight)},!0)})}else D==="justify"&&l(N,R)}function l(N,D){L.each(N,function(M){!o(M)&&!M.outEdges.length&&M.setLayout({depth:D},!0)})}function n(N,D,M){L.each(N,function(R){var F=R.getLayout().depth*D;M==="vertical"?R.setLayout({y:F},!0):R.setLayout({x:F},!0)})}function c(N,D,M,R,F,B,z){var U=r(N,z);u(U,D,M,R,F,z),i(U,F,M,R,z);for(var K=1;B>0;B--)K*=.99,h(U,K,z),i(U,F,M,R,z),b(U,K,z),i(U,F,M,R,z)}function r(N,D){var M=[],R=D==="vertical"?"y":"x",F=m(N,function(B){return B.getLayout()[R]});return F.keys.sort(function(B,z){return B-z}),L.each(F.keys,function(B){M.push(F.buckets.get(B))}),M}function u(N,D,M,R,F,B){var z=Infinity;L.each(N,function(U){var K=U.length,W=0;L.each(U,function(Y){W+=Y.getLayout().value});var H=B==="vertical"?(R-(K-1)*F)/W:(M-(K-1)*F)/W;H<z&&(z=H)}),L.each(N,function(U){L.each(U,function(K,W){var H=K.getLayout().value*z;B==="vertical"?(K.setLayout({x:W},!0),K.setLayout({dx:H},!0)):(K.setLayout({y:W},!0),K.setLayout({dy:H},!0))})}),L.each(D,function(U){var K=+U.getValue()*z;U.setLayout({dy:K},!0)})}function i(N,D,M,R,F){var B=F==="vertical"?"x":"y";L.each(N,function(z){z.sort(function(J,he){return J.getLayout()[B]-he.getLayout()[B]});for(var U,K,W,H=0,Y=z.length,Q=F==="vertical"?"dx":"dy",P=0;P<Y;P++)K=z[P],W=H-K.getLayout()[B],W>0&&(U=K.getLayout()[B]+W,F==="vertical"?K.setLayout({x:U},!0):K.setLayout({y:U},!0)),H=K.getLayout()[B]+K.getLayout()[Q]+D;var G=F==="vertical"?R:M;if(W=H-D-G,W>0)for(U=K.getLayout()[B]-W,F==="vertical"?K.setLayout({x:U},!0):K.setLayout({y:U},!0),H=U,P=Y-2;P>=0;--P)K=z[P],W=K.getLayout()[B]+K.getLayout()[Q]+D-H,W>0&&(U=K.getLayout()[B]-W,F==="vertical"?K.setLayout({x:U},!0):K.setLayout({y:U},!0)),H=K.getLayout()[B]})}function h(N,D,M){L.each(N.slice().reverse(),function(R){L.each(R,function(F){if(F.outEdges.length){var B=T(F.outEdges,p,M)/T(F.outEdges,O,M);if(isNaN(B)){var z=F.outEdges.length;B=z?T(F.outEdges,A,M)/z:0}if(M==="vertical"){var U=F.getLayout().x+(B-E(F,M))*D;F.setLayout({x:U},!0)}else{var K=F.getLayout().y+(B-E(F,M))*D;F.setLayout({y:K},!0)}}})})}function p(N,D){return E(N.node2,D)*N.getValue()}function A(N,D){return E(N.node2,D)}function C(N,D){return E(N.node1,D)*N.getValue()}function S(N,D){return E(N.node1,D)}function E(N,D){return D==="vertical"?N.getLayout().x+N.getLayout().dx/2:N.getLayout().y+N.getLayout().dy/2}function O(N){return N.getValue()}function T(N,D,M){for(var R=0,F=N.length,B=-1;++B<F;){var z=+D.call(N,N[B],M);isNaN(z)||(R+=z)}return R}function b(N,D,M){L.each(N,function(R){L.each(R,function(F){if(F.inEdges.length){var B=T(F.inEdges,C,M)/T(F.inEdges,O,M);if(isNaN(B)){var z=F.inEdges.length;B=z?T(F.inEdges,S,M)/z:0}if(M==="vertical"){var U=F.getLayout().x+(B-E(F,M))*D;F.setLayout({x:U},!0)}else{var K=F.getLayout().y+(B-E(F,M))*D;F.setLayout({y:K},!0)}}})})}function x(N,D){var M=D==="vertical"?"x":"y";L.each(N,function(R){R.outEdges.sort(function(F,B){return F.node2.getLayout()[M]-B.node2.getLayout()[M]}),R.inEdges.sort(function(F,B){return F.node1.getLayout()[M]-B.node1.getLayout()[M]})}),L.each(N,function(R){var F=0,B=0;L.each(R.outEdges,function(z){z.setLayout({sy:F},!0),F+=z.getLayout().dy}),L.each(R.inEdges,function(z){z.setLayout({ty:B},!0),B+=z.getLayout().dy})})}Z.exports=y},"0326":function(Z,_,e){var d=e("Udc0"),L=e("OUY8"),v=e("lvid");function m(y){return L(y)?v(y):d(y)}Z.exports=m},"06Pr":function(Z,_,e){var d=e("Q6Bq"),L=e("zYjg"),v=e("oEo5"),m=e("LLn1");function y(f){return v.isArray(f)||(f=[+f,+f]),f}var w=d.extendChartView({type:"radar",render:function(f,a,t){var o=f.coordinateSystem,s=this.group,l=f.getData(),n=this._data;function c(i,h){var p=i.getItemVisual(h,"symbol")||"circle",A=i.getItemVisual(h,"color");if(p==="none")return;var C=y(i.getItemVisual(h,"symbolSize")),S=m.createSymbol(p,-1,-1,2,2,A),E=i.getItemVisual(h,"symbolRotate")||0;return S.attr({style:{strokeNoScale:!0},z2:100,scale:[C[0]/2,C[1]/2],rotation:E*Math.PI/180||0}),S}function r(i,h,p,A,C,S){p.removeAll();for(var E=0;E<h.length-1;E++){var O=c(A,C);O&&(O.__dimIdx=E,i[E]?(O.attr("position",i[E]),L[S?"initProps":"updateProps"](O,{position:h[E]},f,C)):O.attr("position",h[E]),p.add(O))}}function u(i){return v.map(i,function(h){return[o.cx,o.cy]})}l.diff(n).add(function(i){var h=l.getItemLayout(i);if(!h)return;var p=new L.Polygon,A=new L.Polyline,C={shape:{points:h}};p.shape.points=u(h),A.shape.points=u(h),L.initProps(p,C,f,i),L.initProps(A,C,f,i);var S=new L.Group,E=new L.Group;S.add(A),S.add(p),S.add(E),r(A.shape.points,h,E,l,i,!0),l.setItemGraphicEl(i,S)}).update(function(i,h){var p=n.getItemGraphicEl(h),A=p.childAt(0),C=p.childAt(1),S=p.childAt(2),E={shape:{points:l.getItemLayout(i)}};if(!E.shape.points)return;r(A.shape.points,E.shape.points,S,l,i,!1),L.updateProps(A,E,f),L.updateProps(C,E,f),l.setItemGraphicEl(i,p)}).remove(function(i){s.remove(n.getItemGraphicEl(i))}).execute(),l.eachItemGraphicEl(function(i,h){var p=l.getItemModel(h),A=i.childAt(0),C=i.childAt(1),S=i.childAt(2),E=l.getItemVisual(h,"color");s.add(i),A.useStyle(v.defaults(p.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:E})),A.hoverStyle=p.getModel("emphasis.lineStyle").getLineStyle();var O=p.getModel("areaStyle"),T=p.getModel("emphasis.areaStyle"),b=O.isEmpty()&&O.parentModel.isEmpty(),x=T.isEmpty()&&T.parentModel.isEmpty();x=x&&b,C.ignore=b,C.useStyle(v.defaults(O.getAreaStyle(),{fill:E,opacity:.7})),C.hoverStyle=T.getAreaStyle();var N=p.getModel("itemStyle").getItemStyle(["color"]),D=p.getModel("emphasis.itemStyle").getItemStyle(),M=p.getModel("label"),R=p.getModel("emphasis.label");S.eachChild(function(F){F.setStyle(N),F.hoverStyle=v.clone(D);var B=l.get(l.dimensions[F.__dimIdx],h);(B==null||isNaN(B))&&(B=""),L.setLabelStyle(F.style,F.hoverStyle,M,R,{labelFetcher:l.hostModel,labelDataIndex:h,labelDimIndex:F.__dimIdx,defaultText:B,autoColor:E,isRectText:!0})}),i.highDownOnUpdate=function(F,B){C.attr("ignore",B==="emphasis"?x:b)},L.setHoverStyle(i)}),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});Z.exports=w},"0STn":function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5");e("aXVC"),e("VOhW"),e("oYFH");var v=e("9OCn"),m=v.layout,y=e("pMHC");e("Kuav"),d.registerLayout(L.curry(m,"pictorialBar")),d.registerVisual(y("pictorialBar","roundRect"))},"0Xow":function(Z,_,e){var d=e("Q6Bq"),L=d.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});Z.exports=L},"0YPX":function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="ArrowLeftOutlined";var w=_.a=d.forwardRef(y)},"0Zcz":function(Z,_,e){var d=e("oEo5"),L=e("sAd1"),v=e("B2QF"),m=v.toolbox.brush;function y(a,t,o){this.model=a,this.ecModel=t,this.api=o,this._brushType,this._brushMode}y.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:d.clone(m.title)};var w=y.prototype;w.render=w.updateView=function(a,t,o){var s,l,n;t.eachComponent({mainType:"brush"},function(c){s=c.brushType,l=c.brushOption.brushMode||"single",n|=c.areas.length}),this._brushType=s,this._brushMode=l,d.each(a.get("type",!0),function(c){a.setIconStatus(c,(c==="keep"?l==="multiple":c==="clear"?n:c===s)?"emphasis":"normal")})},w.getIcons=function(){var a=this.model,t=a.get("icon",!0),o={};return d.each(a.get("type",!0),function(s){t[s]&&(o[s]=t[s])}),o},w.onclick=function(a,t,o){var s=this._brushType,l=this._brushMode;o==="clear"?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:o==="keep"?s:s===o?!1:o,brushMode:o==="keep"?l==="multiple"?"single":"multiple":l}})},L.register("brush",y);var f=y;Z.exports=f},"0gFT":function(Z,_,e){var d=e("TfK1"),L=e("YsOP"),v=e("oEo5"),m=v.extend,y=v.isArray;function w(f,a,t){a=y(a)&&{coordDimensions:a}||m({},a);var o=f.getSource(),s=d(o,a),l=new L(s,f);return l.initData(o,t),l}Z.exports=w},"0maQ":function(Z,_,e){var d=e("JSme"),L=d.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),v=L;Z.exports=v},"15py":function(Z,_,e){var d=e("2L5a");function L(m){this._target=m.target,this._life=m.life||1e3,this._delay=m.delay||0,this._initialized=!1,this.loop=m.loop==null?!1:m.loop,this.gap=m.gap||0,this.easing=m.easing||"Linear",this.onframe=m.onframe,this.ondestroy=m.ondestroy,this.onrestart=m.onrestart,this._pausedTime=0,this._paused=!1}L.prototype={constructor:L,step:function(y,w){if(this._initialized||(this._startTime=y+this._delay,this._initialized=!0),this._paused){this._pausedTime+=w;return}var f=(y-this._startTime-this._pausedTime)/this._life;if(f<0)return;f=Math.min(f,1);var a=this.easing,t=typeof a=="string"?d[a]:a,o=typeof t=="function"?t(f):f;return this.fire("frame",o),f===1?this.loop?(this.restart(y),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(y){var w=(y-this._startTime-this._pausedTime)%this._life;this._startTime=y-w+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(y,w){y="on"+y,this[y]&&this[y](this._target,w)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var v=L;Z.exports=v},"19h/":function(Z,_,e){var d=e("oEo5"),L=e("4uqo"),v=e("SSBM"),m=e("sYRh"),y=e("zw+m"),w=e("zYjg"),f=e("Jjzi"),a=e("BuVp"),t=d.each,o=Math.min,s=Math.max,l=Math.floor,n=Math.ceil,c=f.round,r=Math.PI;function u(C,S,E){this._axesMap=d.createHashMap(),this._axesLayout={},this.dimensions=C.dimensions,this._rect,this._model=C,this._init(C,S,E)}u.prototype={type:"parallel",constructor:u,_init:function(C,S,E){var O=C.dimensions,T=C.parallelAxisIndex;t(O,function(b,x){var N=T[x],D=S.getComponent("parallelAxis",N),M=this._axesMap.set(b,new y(b,m.createScaleByModel(D),[0,0],D.get("type"),N)),R=M.type==="category";M.onBand=R&&D.get("boundaryGap"),M.inverse=D.get("inverse"),D.axis=M,M.model=D,M.coordinateSystem=D.coordinateSystem=this},this)},update:function(C,S){this._updateAxesFromSeries(this._model,C)},containPoint:function(C){var S=this._makeLayoutInfo(),E=S.axisBase,O=S.layoutBase,T=S.pixelDimIndex,b=C[1-T],x=C[T];return b>=E&&b<=E+S.axisLength&&x>=O&&x<=O+S.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(C,S){S.eachSeries(function(E){if(!C.contains(E,S))return;var O=E.getData();t(this.dimensions,function(T){var b=this._axesMap.get(T);b.scale.unionExtentFromData(O,O.mapDimension(T)),m.niceScaleExtent(b.scale,b.model)},this)},this)},resize:function(C,S){this._rect=v.getLayoutRect(C.getBoxLayoutParams(),{width:S.getWidth(),height:S.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var C=this._model,S=this._rect,E=["x","y"],O=["width","height"],T=C.get("layout"),b=T==="horizontal"?0:1,x=S[O[b]],N=[0,x],D=this.dimensions.length,M=i(C.get("axisExpandWidth"),N),R=i(C.get("axisExpandCount")||0,[0,D]),F=C.get("axisExpandable")&&D>3&&D>R&&R>1&&M>0&&x>0,B=C.get("axisExpandWindow"),z;if(B)z=i(B[1]-B[0],N),B[1]=B[0]+z;else{z=i(M*(R-1),N);var U=C.get("axisExpandCenter")||l(D/2);B=[M*U-z/2],B[1]=B[0]+z}var K=(x-z)/(D-R);K<3&&(K=0);var W=[l(c(B[0]/M,1))+1,n(c(B[1]/M,1))-1],H=K/M*B[0];return{layout:T,pixelDimIndex:b,layoutBase:S[E[b]],layoutLength:x,axisBase:S[E[1-b]],axisLength:S[O[1-b]],axisExpandable:F,axisExpandWidth:M,axisCollapseWidth:K,axisExpandWindow:B,axisCount:D,winInnerIndices:W,axisExpandWindow0Pos:H}},_layoutAxes:function(){var C=this._rect,S=this._axesMap,E=this.dimensions,O=this._makeLayoutInfo(),T=O.layout;S.each(function(b){var x=[0,O.axisLength],N=b.inverse?1:0;b.setExtent(x[N],x[1-N])}),t(E,function(b,x){var N=(O.axisExpandable?p:h)(x,O),D={horizontal:{x:N.position,y:O.axisLength},vertical:{x:0,y:N.position}},M={horizontal:r/2,vertical:0},R=[D[T].x+C.x,D[T].y+C.y],F=M[T],B=L.create();L.rotate(B,B,F),L.translate(B,B,R),this._axesLayout[b]={position:R,rotation:F,transform:B,axisNameAvailableWidth:N.axisNameAvailableWidth,axisLabelShow:N.axisLabelShow,nameTruncateMaxWidth:N.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(C){return this._axesMap.get(C)},dataToPoint:function(C,S){return this.axisCoordToPoint(this._axesMap.get(S).dataToCoord(C),S)},eachActiveState:function(C,S,E,O){E==null&&(E=0),O==null&&(O=C.count());var T=this._axesMap,b=this.dimensions,x=[],N=[];d.each(b,function(K){x.push(C.mapDimension(K)),N.push(T.get(K).model)});for(var D=this.hasAxisBrushed(),M=E;M<O;M++){var R;if(!D)R="normal";else{R="active";for(var F=C.getValues(x,M),B=0,z=b.length;B<z;B++){var U=N[B].getActiveState(F[B]);if(U==="inactive"){R="inactive";break}}}S(R,M)}},hasAxisBrushed:function(){for(var C=this.dimensions,S=this._axesMap,E=!1,O=0,T=C.length;O<T;O++)S.get(C[O]).model.getActiveState()!=="normal"&&(E=!0);return E},axisCoordToPoint:function(C,S){var E=this._axesLayout[S];return w.applyTransform([C,0],E.transform)},getAxisLayout:function(C){return d.clone(this._axesLayout[C])},getSlidedAxisExpandWindow:function(C){var S=this._makeLayoutInfo(),E=S.pixelDimIndex,O=S.axisExpandWindow.slice(),T=O[1]-O[0],b=[0,S.axisExpandWidth*(S.axisCount-1)];if(!this.containPoint(C))return{behavior:"none",axisExpandWindow:O};var x=C[E]-S.layoutBase-S.axisExpandWindow0Pos,N,D="slide",M=S.axisCollapseWidth,R=this._model.get("axisExpandSlideTriggerArea"),F=R[0]!=null;if(M)F&&M&&x<T*R[0]?(D="jump",N=x-T*R[2]):F&&M&&x>T*(1-R[0])?(D="jump",N=x-T*(1-R[2])):(N=x-T*R[1])>=0&&(N=x-T*(1-R[1]))<=0&&(N=0),N*=S.axisExpandWidth/M,N?a(N,O,b,"all"):D="none";else{var T=O[1]-O[0],B=b[1]*x/T;O=[s(0,B-T/2)],O[1]=o(b[1],O[0]+T),O[0]=O[1]-T}return{axisExpandWindow:O,behavior:D}}};function i(C,S){return o(s(C,S[0]),S[1])}function h(C,S){var E=S.layoutLength/(S.axisCount-1);return{position:E*C,axisNameAvailableWidth:E,axisLabelShow:!0}}function p(C,S){var E=S.layoutLength,O=S.axisExpandWidth,T=S.axisCount,b=S.axisCollapseWidth,x=S.winInnerIndices,N,D=b,M=!1,R;return C<x[0]?(N=C*b,R=b):C<=x[1]?(N=S.axisExpandWindow0Pos+C*O-S.axisExpandWindow[0],D=O,M=!0):(N=E-(T-1-C)*b,R=b),{position:N,axisNameAvailableWidth:D,axisLabelShow:M,nameTruncateMaxWidth:R}}var A=u;Z.exports=A},"1BCf":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};_.default=d},"1JkX":function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=".",y="___EC__COMPONENT__CONTAINER___";function w(r){var u={main:"",sub:""};return r&&(r=r.split(m),u.main=r[0]||"",u.sub=r[1]||""),u}function f(r){v.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function a(r,u){r.$constructor=r,r.extend=function(i){var h=this,p=function(){i.$constructor?i.$constructor.apply(this,arguments):h.apply(this,arguments)};return v.extend(p.prototype,i),p.extend=this.extend,p.superCall=s,p.superApply=l,v.inherits(p,this),p.superClass=h,p}}var t=0;function o(r){var u=["__\0is_clz",t++,Math.random().toFixed(3)].join("_");r.prototype[u]=!0,r.isInstance=function(i){return!!(i&&i[u])}}function s(r,u){var i=v.slice(arguments,2);return this.superClass.prototype[u].apply(r,i)}function l(r,u,i){return this.superClass.prototype[u].apply(r,i)}function n(r,u){u=u||{};var i={};r.registerClass=function(A,C){if(C){if(f(C),C=w(C),!C.sub)i[C.main]=A;else if(C.sub!==y){var S=h(C);S[C.sub]=A}}return A},r.getClass=function(A,C,S){var E=i[A];if(E&&E[y]&&(E=C?E[C]:null),S&&!E)throw new Error(C?"Component "+A+"."+(C||"")+" not exists. Load it first.":A+".type should be specified.");return E},r.getClassesByMainType=function(A){A=w(A);var C=[],S=i[A.main];return S&&S[y]?v.each(S,function(E,O){O!==y&&C.push(E)}):C.push(S),C},r.hasClass=function(A){return A=w(A),!!i[A.main]},r.getAllClassMainTypes=function(){var A=[];return v.each(i,function(C,S){A.push(S)}),A},r.hasSubTypes=function(A){A=w(A);var C=i[A.main];return C&&C[y]},r.parseClassType=w;function h(A){var C=i[A.main];return(!C||!C[y])&&(C=i[A.main]={},C[y]=!0),C}if(u.registerWhenExtend){var p=r.extend;p&&(r.extend=function(A){var C=p.call(this,A);return r.registerClass(C,A.type)})}return r}function c(r,u){}_.parseClassType=w,_.enableClassExtend=a,_.enableClassCheck=o,_.enableClassManagement=n,_.setReadOnly=c},"1SxH":function(Z,_,e){"use strict";e.d(_,"a",function(){return r});var d=e("ZZRV"),L=e.n(d),v=e("QJYX"),m=e.n(v),y=e("NXEf"),w=e.n(y),f=e("DVO+"),a=e.n(f),t=e("MdoL"),o=e.n(t),s=e("4ZCI"),l=e.n(s),n=e("Rax+"),c=e.n(n);function r(u){var i=u.suffixIcon,h=u.clearIcon,p=u.menuItemSelectedIcon,A=u.removeIcon,C=u.loading,S=u.multiple,E=u.prefixCls,O=h;h||(O=d.createElement(l.a,null));var T=null;if(i!==void 0)T=i;else if(C)T=d.createElement(w.a,{spin:!0});else{var b="".concat(E,"-suffix");T=function(M){var R=M.open,F=M.showSearch;return R&&F?d.createElement(c.a,{className:b}):d.createElement(m.a,{className:b})}}var x=null;p!==void 0?x=p:S?x=d.createElement(a.a,null):x=null;var N=null;return A!==void 0?N=A:N=d.createElement(o.a,null),{clearIcon:O,suffixIcon:T,itemIcon:x,removeIcon:N}}},"1Wwd":function(Z,_,e){var d=e("0gFT"),L=e("+Vnd"),v=L.extend({type:"series.gauge",getInitialData:function(y,w){return d(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=v;Z.exports=m},"1c8c":function(Z,_,e){"use strict";e.d(_,"e",function(){return f}),e.d(_,"c",function(){return t}),e.d(_,"d",function(){return o}),e.d(_,"a",function(){return l}),e.d(_,"f",function(){return n}),e.d(_,"b",function(){return c});var d=e("V0hb"),L=e("55MS"),v=e("buSX"),m=e("7AgF"),y=e("nWwB"),w=e("AoPA");function f(r,u){return r!=null?r:u}function a(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=new Map;function i(h){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(h||[]).forEach(function(A){var C=A.key,S=A.children;Object(y.a)(C!=null,"Tree node must have a certain key: [".concat(p).concat(C,"]"));var E=String(C);Object(y.a)(!u.has(E)||C===null||C===void 0,"Same 'key' exist in the Tree: ".concat(E)),u.set(E,!0),i(S,"".concat(p).concat(E," > "))})}i(r)}function t(r){function u(i){var h=Object(m.a)(i);return h.map(function(p){if(!Object(w.i)(p))return Object(y.a)(!p,"Tree/TreeNode can only accept TreeNode as children."),null;var A=p.key,C=p.props,S=C.children,E=Object(v.a)(C,["children"]),O=Object(L.a)({key:A},E),T=u(S);return T.length&&(O.children=T),O}).filter(function(p){return p})}return u(r)}function o(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=new Set(u===!0?[]:u),h=[];function p(A){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return A.map(function(S,E){var O=Object(w.h)(C?C.pos:"0",E),T=f(S.key,O),b=Object(L.a)(Object(L.a)({},S),{},{parent:C,pos:O,children:null,data:S,isStart:[].concat(Object(d.a)(C?C.isStart:[]),[E===0]),isEnd:[].concat(Object(d.a)(C?C.isEnd:[]),[E===A.length-1])});return h.push(b),u===!0||i.has(T)?b.children=p(S.children||[],b):b.children=[],b})}return p(r),h}function s(r,u,i){var h;i?typeof i=="string"?h=function(C){return C[i]}:typeof i=="function"&&(h=function(C){return i(C)}):h=function(C,S){return f(C.key,S)};function p(A,C,S){var E=A?A.children:r,O=A?Object(w.h)(S.pos,C):"0";if(A){var T=h(A,O),b={node:A,index:C,pos:O,key:T,parentPos:S.node?S.pos:null,level:S.level+1};u(b)}E&&E.forEach(function(x,N){p(x,N,{node:A,pos:O,level:S?S.level+1:-1})})}p(null)}function l(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=u.initWrapper,h=u.processEntity,p=u.onProcessFinished,A=arguments.length>2?arguments[2]:void 0,C={},S={},E={posEntities:C,keyEntities:S};return i&&(E=i(E)||E),s(r,function(O){var T=O.node,b=O.index,x=O.pos,N=O.key,D=O.parentPos,M=O.level,R={node:T,index:b,key:N,pos:x,level:M},F=f(N,x);C[x]=R,S[F]=R,R.parent=C[D],R.parent&&(R.parent.children=R.parent.children||[],R.parent.children.push(R)),h&&h(R,E)},A),p&&p(E),E}function n(r,u){var i=u.expandedKeys,h=u.selectedKeys,p=u.loadedKeys,A=u.loadingKeys,C=u.checkedKeys,S=u.halfCheckedKeys,E=u.dragOverNodeKey,O=u.dropPosition,T=u.keyEntities,b=T[r],x={eventKey:r,expanded:i.indexOf(r)!==-1,selected:h.indexOf(r)!==-1,loaded:p.indexOf(r)!==-1,loading:A.indexOf(r)!==-1,checked:C.indexOf(r)!==-1,halfChecked:S.indexOf(r)!==-1,pos:String(b?b.pos:""),dragOver:E===r&&O===0,dragOverGapTop:E===r&&O===-1,dragOverGapBottom:E===r&&O===1};return x}function c(r){var u=r.data,i=r.expanded,h=r.selected,p=r.checked,A=r.loaded,C=r.loading,S=r.halfChecked,E=r.dragOver,O=r.dragOverGapTop,T=r.dragOverGapBottom,b=r.pos,x=r.active,N=Object(L.a)(Object(L.a)({},u),{},{expanded:i,selected:h,checked:p,loaded:A,loading:C,halfChecked:S,dragOver:E,dragOverGapTop:O,dragOverGapBottom:T,pos:b,active:x});return"props"in N||Object.defineProperty(N,"props",{get:function(){return Object(y.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),r}}),N}},"1kpo":function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("XDlA"),w=e.n(y),f=e("T5E4"),a=e.n(f),t=e("8ULG"),o=e.n(t),s=e("XneU"),l=e.n(s),n=e("Hdxz"),c=e.n(n),r=e("ZZRV"),u=e("buSX"),i=e("FGJx"),h=e("o0AO"),p=e("uwZC"),A=e("MRRG"),C=e("GY0J"),S=e("O5C7"),E=e("zjzt"),O=e("udBW"),T=e("iczh"),b=e.n(T),x=e("MQ4j"),N=e("ggzp");function D(Ye){return Array.isArray(Ye)?Ye:[Ye]}var M={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},R=Object.keys(M).filter(function(Ye){if(typeof document=="undefined")return!1;var mt=document.getElementsByTagName("html")[0];return Ye in(mt?mt.style:{})})[0],F=M[R];function B(Ye,mt,Ue,Re){Ye.addEventListener?Ye.addEventListener(mt,Ue,Re):Ye.attachEvent&&Ye.attachEvent("on".concat(mt),Ue)}function z(Ye,mt,Ue,Re){Ye.removeEventListener?Ye.removeEventListener(mt,Ue,Re):Ye.attachEvent&&Ye.detachEvent("on".concat(mt),Ue)}function U(Ye,mt){var Ue=typeof Ye=="function"?Ye(mt):Ye;return Array.isArray(Ue)?Ue.length===2?Ue:[Ue[0],Ue[1]]:[Ue]}var K=function(mt){return!isNaN(parseFloat(mt))&&isFinite(mt)},W=!(typeof window!="undefined"&&window.document&&window.document.createElement),H=function Ye(mt,Ue,Re,Le){if(!Ue||Ue===document||Ue instanceof Document)return!1;if(Ue===mt.parentNode)return!0;var at=Math.max(Math.abs(Re),Math.abs(Le))===Math.abs(Le),Ot=Math.max(Math.abs(Re),Math.abs(Le))===Math.abs(Re),Tt=Ue.scrollHeight-Ue.clientHeight,Ft=Ue.scrollWidth-Ue.clientWidth,ke=document.defaultView.getComputedStyle(Ue),Vt=ke.overflowY==="auto"||ke.overflowY==="scroll",bt=ke.overflowX==="auto"||ke.overflowX==="scroll",Rt=Tt&&Vt,Nt=Ft&&bt;return at&&(!Rt||Rt&&(Ue.scrollTop>=Tt&&Le<0||Ue.scrollTop<=0&&Le>0))||Ot&&(!Nt||Nt&&(Ue.scrollLeft>=Ft&&Re<0||Ue.scrollLeft<=0&&Re>0))?Ye(mt,Ue.parentNode,Re,Le):!1};function Y(Ye){var mt=Q();return function(){var Re=Object(C.a)(Ye),Le;if(mt){var at=Object(C.a)(this).constructor;Le=Reflect.construct(Re,arguments,at)}else Le=Re.apply(this,arguments);return Object(A.a)(this,Le)}}function Q(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ye){return!1}}var P={},G=function(Ye){Object(p.a)(Ue,Ye);var mt=Y(Ue);function Ue(Re){var Le;return Object(i.a)(this,Ue),Le=mt.call(this,Re),Le.domFocus=function(){Le.dom&&Le.dom.focus()},Le.removeStartHandler=function(at){if(at.touches.length>1)return;Le.startPos={x:at.touches[0].clientX,y:at.touches[0].clientY}},Le.removeMoveHandler=function(at){if(at.changedTouches.length>1)return;var Ot=at.currentTarget,Tt=at.changedTouches[0].clientX-Le.startPos.x,Ft=at.changedTouches[0].clientY-Le.startPos.y;(Ot===Le.maskDom||Ot===Le.handlerDom||Ot===Le.contentDom&&H(Ot,at.target,Tt,Ft))&&at.cancelable&&at.preventDefault()},Le.transitionEnd=function(at){var Ot=at.target;z(Ot,F,Le.transitionEnd),Ot.style.transition=""},Le.onKeyDown=function(at){if(at.keyCode===N.a.ESC){var Ot=Le.props.onClose;at.stopPropagation(),Ot&&Ot(at)}},Le.onWrapperTransitionEnd=function(at){var Ot=Le.props,Tt=Ot.open,Ft=Ot.afterVisibleChange;at.target===Le.contentWrapper&&at.propertyName.match(/transform$/)&&(Le.dom.style.transition="",!Tt&&Le.getCurrentDrawerSome()&&(document.body.style.overflowX="",Le.maskDom&&(Le.maskDom.style.left="",Le.maskDom.style.width="")),Ft&&Ft(!!Tt))},Le.openLevelTransition=function(){var at=Le.props,Ot=at.open,Tt=at.width,Ft=at.height,ke=Le.getHorizontalBoolAndPlacementName(),Vt=ke.isHorizontal,bt=ke.placementName,Rt=Le.contentDom?Le.contentDom.getBoundingClientRect()[Vt?"width":"height"]:0,Nt=(Vt?Tt:Ft)||Rt;Le.setLevelAndScrolling(Ot,bt,Nt)},Le.setLevelTransform=function(at,Ot,Tt,Ft){var ke=Le.props,Vt=ke.placement,bt=ke.levelMove,Rt=ke.duration,Nt=ke.ease,xt=ke.showMask;Le.levelDom.forEach(function(Ut){Ut.style.transition="transform ".concat(Rt," ").concat(Nt),B(Ut,F,Le.transitionEnd);var Ze=at?Tt:0;if(bt){var ze=U(bt,{target:Ut,open:at});Ze=at?ze[0]:ze[1]||0}var re=typeof Ze=="number"?"".concat(Ze,"px"):Ze,le=Vt==="left"||Vt==="top"?re:"-".concat(re);le=xt&&Vt==="right"&&Ft?"calc(".concat(le," + ").concat(Ft,"px)"):le,Ut.style.transform=Ze?"".concat(Ot,"(").concat(le,")"):""})},Le.setLevelAndScrolling=function(at,Ot,Tt){var Ft=Le.props.onChange;if(!W){var ke=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(x.a)(!0):0;Le.setLevelTransform(at,Ot,Tt,ke),Le.toggleScrollingToDrawerAndBody(ke)}Ft&&Ft(at)},Le.toggleScrollingToDrawerAndBody=function(at){var Ot=Le.props,Tt=Ot.getOpenCount,Ft=Ot.getContainer,ke=Ot.showMask,Vt=Ot.open,bt=Ft&&Ft(),Rt=Tt&&Tt();if(bt&&bt.parentNode===document.body&&ke){var Nt=["touchstart"],xt=[document.body,Le.maskDom,Le.handlerDom,Le.contentDom];Vt&&document.body.style.overflow!=="hidden"?(at&&Le.addScrollingEffect(at),Rt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",xt.forEach(function(Ut,Ze){if(!Ut)return;B(Ut,Nt[Ze]||"touchmove",Ze?Le.removeMoveHandler:Le.removeStartHandler,Le.passive)})):Le.getCurrentDrawerSome()&&(Rt||(document.body.style.overflow=""),document.body.style.touchAction="",at&&Le.remScrollingEffect(at),xt.forEach(function(Ut,Ze){if(!Ut)return;z(Ut,Nt[Ze]||"touchmove",Ze?Le.removeMoveHandler:Le.removeStartHandler,Le.passive)}))}},Le.addScrollingEffect=function(at){var Ot=Le.props,Tt=Ot.placement,Ft=Ot.duration,ke=Ot.ease,Vt=Ot.getOpenCount,bt=Ot.switchScrollingEffect,Rt=Vt&&Vt();Rt===1&&bt();var Nt="width ".concat(Ft," ").concat(ke),xt="transform ".concat(Ft," ").concat(ke);Le.dom.style.transition="none";switch(Tt){case"right":Le.dom.style.transform="translateX(-".concat(at,"px)");break;case"top":case"bottom":Le.dom.style.width="calc(100% - ".concat(at,"px)"),Le.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(Le.timeout),Le.timeout=setTimeout(function(){Le.dom&&(Le.dom.style.transition="".concat(xt,",").concat(Nt),Le.dom.style.width="",Le.dom.style.transform="")})},Le.remScrollingEffect=function(at){var Ot=Le.props,Tt=Ot.placement,Ft=Ot.duration,ke=Ot.ease,Vt=Ot.getOpenCount,bt=Ot.switchScrollingEffect,Rt=Vt&&Vt();Rt||bt(!0),R&&(document.body.style.overflowX="hidden"),Le.dom.style.transition="none";var Nt,xt="width ".concat(Ft," ").concat(ke),Ut="transform ".concat(Ft," ").concat(ke);switch(Tt){case"left":{Le.dom.style.width="100%",xt="width 0s ".concat(ke," ").concat(Ft);break}case"right":{Le.dom.style.transform="translateX(".concat(at,"px)"),Le.dom.style.width="100%",xt="width 0s ".concat(ke," ").concat(Ft),Le.maskDom&&(Le.maskDom.style.left="-".concat(at,"px"),Le.maskDom.style.width="calc(100% + ".concat(at,"px)"));break}case"top":case"bottom":{Le.dom.style.width="calc(100% + ".concat(at,"px)"),Le.dom.style.height="100%",Le.dom.style.transform="translateZ(0)",Nt="height 0s ".concat(ke," ").concat(Ft);break}default:break}clearTimeout(Le.timeout),Le.timeout=setTimeout(function(){Le.dom&&(Le.dom.style.transition="".concat(Ut,",").concat(Nt?"".concat(Nt,","):"").concat(xt),Le.dom.style.transform="",Le.dom.style.width="",Le.dom.style.height="")})},Le.getCurrentDrawerSome=function(){return!Object.keys(P).some(function(at){return P[at]})},Le.getLevelDom=function(at){var Ot=at.level,Tt=at.getContainer;if(W)return;var Ft=Tt&&Tt(),ke=Ft?Ft.parentNode:null;if(Le.levelDom=[],Ot==="all"){var Vt=ke?Array.prototype.slice.call(ke.children):[];Vt.forEach(function(bt){bt.nodeName!=="SCRIPT"&&bt.nodeName!=="STYLE"&&bt.nodeName!=="LINK"&&bt!==Ft&&Le.levelDom.push(bt)})}else Ot&&D(Ot).forEach(function(bt){document.querySelectorAll(bt).forEach(function(Rt){Le.levelDom.push(Rt)})})},Le.getHorizontalBoolAndPlacementName=function(){var at=Le.props.placement,Ot=at==="left"||at==="right",Tt="translate".concat(Ot?"X":"Y");return{isHorizontal:Ot,placementName:Tt}},Le.state={_self:Object(O.a)(Le)},Le}return Object(h.a)(Ue,[{key:"componentDidMount",value:function(){var Le=this;if(!W){var at=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return at=!0,null}}))}catch(Vt){}this.passive=at?{passive:!1}:!1}var Ot=this.props,Tt=Ot.open,Ft=Ot.getContainer,ke=Ft&&Ft();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),Tt&&(ke&&ke.parentNode===document.body&&(P[this.drawerId]=Tt),this.openLevelTransition(),this.forceUpdate(function(){Le.domFocus()}))}},{key:"componentDidUpdate",value:function(Le){var at=this.props,Ot=at.open,Tt=at.getContainer,Ft=Tt&&Tt();Ot!==Le.open&&(Ot&&this.domFocus(),Ft&&Ft.parentNode===document.body&&(P[this.drawerId]=!!Ot),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var Le=this.props,at=Le.getOpenCount,Ot=Le.open,Tt=Le.switchScrollingEffect,Ft=typeof at=="function"&&at();delete P[this.drawerId],Ot&&(this.setLevelTransform(!1),document.body.style.touchAction=""),Ft||(document.body.style.overflow="",Tt(!0))}},{key:"render",value:function(){var Le,at=this,Ot=this.props,Tt=Ot.className,Ft=Ot.children,ke=Ot.style,Vt=Ot.width,bt=Ot.height,Rt=Ot.defaultOpen,Nt=Ot.open,xt=Ot.prefixCls,Ut=Ot.placement,Ze=Ot.level,ze=Ot.levelMove,re=Ot.ease,le=Ot.duration,Xe=Ot.getContainer,_e=Ot.handler,je=Ot.onChange,ar=Ot.afterVisibleChange,zt=Ot.showMask,Pt=Ot.maskClosable,qt=Ot.maskStyle,or=Ot.onClose,Kt=Ot.onHandleClick,Mt=Ot.keyboard,me=Ot.getOpenCount,ce=Ot.switchScrollingEffect,ae=Object(u.a)(Ot,["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"]),de=this.dom?Nt:!1,Se=b()(xt,(Le={},Object(E.a)(Le,"".concat(xt,"-").concat(Ut),!0),Object(E.a)(Le,"".concat(xt,"-open"),de),Object(E.a)(Le,Tt||"",!!Tt),Object(E.a)(Le,"no-mask",!zt),Le)),Ce=this.getHorizontalBoolAndPlacementName(),Ie=Ce.placementName,Te=Ut==="left"||Ut==="top"?"-100%":"100%",Ee=de?"":"".concat(Ie,"(").concat(Te,")"),He=_e&&r.cloneElement(_e,{onClick:function(vt){_e.props.onClick&&_e.props.onClick(),Kt&&Kt(vt)},ref:function(vt){at.handlerDom=vt}});return r.createElement("div",Object.assign({},ae,{tabIndex:-1,className:Se,style:ke,ref:function(vt){at.dom=vt},onKeyDown:de&&Mt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),zt&&r.createElement("div",{className:"".concat(xt,"-mask"),onClick:Pt?or:void 0,style:qt,ref:function(vt){at.maskDom=vt}}),r.createElement("div",{className:"".concat(xt,"-content-wrapper"),style:{transform:Ee,msTransform:Ee,width:K(Vt)?"".concat(Vt,"px"):Vt,height:K(bt)?"".concat(bt,"px"):bt},ref:function(vt){at.contentWrapper=vt}},r.createElement("div",{className:"".concat(xt,"-content"),ref:function(vt){at.contentDom=vt},onTouchStart:de&&zt?this.removeStartHandler:void 0,onTouchMove:de&&zt?this.removeMoveHandler:void 0},Ft),He))}}],[{key:"getDerivedStateFromProps",value:function(Le,at){var Ot=at.prevProps,Tt=at._self,Ft={prevProps:Le};if(Ot!==void 0){var ke=Le.placement,Vt=Le.level;ke!==Ot.placement&&(Tt.contentDom=null),Vt!==Ot.level&&Tt.getLevelDom(Le)}return Ft}}]),Ue}(r.Component);G.defaultProps={switchScrollingEffect:function(){}};var J=G;function he(Ye){var mt=te();return function(){var Re=Object(C.a)(Ye),Le;if(mt){var at=Object(C.a)(this).constructor;Le=Reflect.construct(Re,arguments,at)}else Le=Re.apply(this,arguments);return Object(A.a)(this,Le)}}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(Ye){return!1}}var pe=function(Ye){Object(p.a)(Ue,Ye);var mt=he(Ue);function Ue(Re){var Le;Object(i.a)(this,Ue),Le=mt.call(this,Re),Le.onHandleClick=function(Ot){var Tt=Le.props,Ft=Tt.onHandleClick,ke=Tt.open;if(Ft&&Ft(Ot),typeof ke=="undefined"){var Vt=Le.state.open;Le.setState({open:!Vt})}},Le.onClose=function(Ot){var Tt=Le.props,Ft=Tt.onClose,ke=Tt.open;Ft&&Ft(Ot),typeof ke=="undefined"&&Le.setState({open:!1})};var at=typeof Re.open!="undefined"?Re.open:!!Re.defaultOpen;return Le.state={open:at},"onMaskClick"in Re&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),Le}return Object(h.a)(Ue,[{key:"render",value:function(){var Le=this,at=this.props,Ot=at.defaultOpen,Tt=at.getContainer,Ft=at.wrapperClassName,ke=at.forceRender,Vt=at.handler,bt=Object(u.a)(at,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),Rt=this.state.open;if(!Tt)return r.createElement("div",{className:Ft,ref:function(Ut){Le.dom=Ut}},r.createElement(J,Object.assign({},bt,{open:Rt,handler:Vt,getContainer:function(){return Le.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Nt=!!Vt||ke;return r.createElement(S.a,{visible:Rt,forceRender:Nt,getContainer:Tt,wrapperClassName:Ft},function(xt){var Ut=xt.visible,Ze=xt.afterClose,ze=Object(u.a)(xt,["visible","afterClose"]);return r.createElement(J,Object.assign({},bt,ze,{open:Ut!==void 0?Ut:Rt,afterVisibleChange:Ze!==void 0?Ze:bt.afterVisibleChange,handler:Vt,onClose:Le.onClose,onHandleClick:Le.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(Le,at){var Ot=at.prevProps,Tt={prevProps:Le};return typeof Ot!="undefined"&&Le.open!==Ot.open&&(Tt.open=Le.open),Tt}}]),Ue}(r.Component);pe.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:r.createElement("div",{className:"drawer-handle"},r.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var we=pe,be=we,Qe=e("MdoL"),$e=e.n(Qe),yt=e("3CTf"),Fe=e("LpVx"),Pe=e("vWUX"),gt=function(Ye,mt){var Ue={};for(var Re in Ye)Object.prototype.hasOwnProperty.call(Ye,Re)&&mt.indexOf(Re)<0&&(Ue[Re]=Ye[Re]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Re=Object.getOwnPropertySymbols(Ye);Le<Re.length;Le++)mt.indexOf(Re[Le])<0&&Object.prototype.propertyIsEnumerable.call(Ye,Re[Le])&&(Ue[Re[Le]]=Ye[Re[Le]]);return Ue},it=r.createContext(null),qe=Object(Pe.a)("top","right","bottom","left"),At={distance:180},dt=function(Ye){l()(Ue,Ye);var mt=c()(Ue);function Ue(){var Re;return w()(this,Ue),Re=mt.apply(this,arguments),Re.state={push:!1},Re.push=function(){Re.props.push&&Re.setState({push:!0})},Re.pull=function(){Re.props.push&&Re.setState({push:!1})},Re.onDestroyTransitionEnd=function(){var Le=Re.getDestroyOnClose();if(!Le)return;Re.props.visible||(Re.destroyClose=!0,Re.forceUpdate())},Re.getDestroyOnClose=function(){return Re.props.destroyOnClose&&!Re.props.visible},Re.getPushDistance=function(){var Le=Re.props.push,at;return typeof Le=="boolean"?at=Le?At.distance:0:at=Le.distance,parseFloat(String(at||0))},Re.getPushTransform=function(Le){var at=Re.getPushDistance();if(Le==="left"||Le==="right")return"translateX(".concat(Le==="left"?at:-at,"px)");if(Le==="top"||Le==="bottom")return"translateY(".concat(Le==="top"?at:-at,"px)")},Re.getRcDrawerStyle=function(){var Le=Re.props,at=Le.zIndex,Ot=Le.placement,Tt=Le.mask,Ft=Le.style,ke=Re.state.push,Vt=Tt?{}:Re.getOffsetStyle();return m()(m()({zIndex:at,transform:ke?Re.getPushTransform(Ot):void 0},Vt),Ft)},Re.renderBody=function(){var Le=Re.props,at=Le.bodyStyle,Ot=Le.drawerStyle,Tt=Le.prefixCls,Ft=Le.visible;if(Re.destroyClose&&!Ft)return null;Re.destroyClose=!1;var ke={},Vt=Re.getDestroyOnClose();return Vt&&(ke.opacity=0,ke.transition="opacity .3s"),r.createElement("div",{className:"".concat(Tt,"-wrapper-body"),style:m()(m()({},ke),Ot),onTransitionEnd:Re.onDestroyTransitionEnd},Re.renderHeader(),r.createElement("div",{className:"".concat(Tt,"-body"),style:at},Re.props.children),Re.renderFooter())},Re.renderProvider=function(Le){return Re.parentDrawer=Le,r.createElement(Fe.a,null,function(at){var Ot=at.getPopupContainer,Tt=at.getPrefixCls,Ft=Re.props,ke=Ft.prefixCls,Vt=Ft.placement,bt=Ft.className,Rt=Ft.mask,Nt=Ft.direction,xt=Ft.visible,Ut=gt(Ft,["prefixCls","placement","className","mask","direction","visible"]),Ze=Tt("select",ke),ze=b()(bt,L()({"no-mask":!Rt},"".concat(Ze,"-rtl"),Nt==="rtl")),re=Rt?Re.getOffsetStyle():{};return r.createElement(it.Provider,{value:o()(Re)},r.createElement(be,m()({handler:!1},Object(yt.default)(Ut,["zIndex","style","closable","closeIcon","destroyOnClose","drawerStyle","headerStyle","bodyStyle","footerStyle","footer","locale","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton","width","height","dropdownMatchSelectWidth","getTargetContainer"]),{getContainer:Ut.getContainer===void 0&&Ot?function(){return Ot(document.body)}:Ut.getContainer},re,{prefixCls:Ze,open:xt,showMask:Rt,placement:Vt,style:Re.getRcDrawerStyle(),className:ze}),Re.renderBody()))})},Re}return a()(Ue,[{key:"componentDidMount",value:function(){var Le=this.props.visible;Le&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(Le){var at=this.props.visible;Le.visible!==at&&this.parentDrawer&&(at?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var Le=this.props,at=Le.placement,Ot=Le.width,Tt=Le.height,Ft=Le.visible,ke=Le.mask;if(!Ft&&!ke)return{};var Vt={};return at==="left"||at==="right"?Vt.width=Ot:Vt.height=Tt,Vt}},{key:"renderHeader",value:function(){var Le=this.props,at=Le.title,Ot=Le.prefixCls,Tt=Le.closable,Ft=Le.headerStyle;if(!at&&!Tt)return null;var ke=at?"".concat(Ot,"-header"):"".concat(Ot,"-header-no-title");return r.createElement("div",{className:ke,style:Ft},at&&r.createElement("div",{className:"".concat(Ot,"-title")},at),Tt&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var Le=this.props,at=Le.footer,Ot=Le.footerStyle,Tt=Le.prefixCls;if(!at)return null;var Ft="".concat(Tt,"-footer");return r.createElement("div",{className:Ft,style:Ot},at)}},{key:"renderCloseIcon",value:function(){var Le=this.props,at=Le.closable,Ot=Le.closeIcon,Tt=Ot===void 0?r.createElement($e.a,null):Ot,Ft=Le.prefixCls,ke=Le.onClose;return at&&r.createElement("button",{onClick:ke,"aria-label":"Close",className:"".concat(Ft,"-close"),style:{"--scroll-bar":"".concat(Object(x.a)(),"px")}},Tt)}},{key:"render",value:function(){return r.createElement(it.Consumer,null,this.renderProvider)}}]),Ue}(r.Component);dt.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:At};var wt=_.a=Object(Fe.c)({prefixCls:"drawer"})(dt)},"1vZL":function(Z,_){function e(d){var L=d.findComponents({mainType:"legend"});if(!L||!L.length)return;d.eachSeriesByType("graph",function(v){var m=v.getCategoriesData(),y=v.getGraph(),w=y.data,f=m.mapArray(m.getName);w.filterSelf(function(a){var t=w.getItemModel(a),o=t.getShallow("category");if(o!=null){typeof o=="number"&&(o=f[o]);for(var s=0;s<L.length;s++)if(!L[s].isSelected(o))return!1}return!0})},this)}Z.exports=e},"29a/":function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=v.createHashMap,y=v.retrieve,w=v.each;function f(s){this.coordSysName=s,this.coordSysDims=[],this.axisMap=m(),this.categoryAxisMap=m(),this.firstCategoryDimIndex=null}function a(s){var l=s.get("coordinateSystem"),n=new f(l),c=t[l];if(c)return c(s,n,n.axisMap,n.categoryAxisMap),n}var t={cartesian2d:function(s,l,n,c){var r=s.getReferringComponents("xAxis")[0],u=s.getReferringComponents("yAxis")[0];l.coordSysDims=["x","y"],n.set("x",r),n.set("y",u),o(r)&&(c.set("x",r),l.firstCategoryDimIndex=0),o(u)&&(c.set("y",u),l.firstCategoryDimIndex==null&(l.firstCategoryDimIndex=1))},singleAxis:function(s,l,n,c){var r=s.getReferringComponents("singleAxis")[0];l.coordSysDims=["single"],n.set("single",r),o(r)&&(c.set("single",r),l.firstCategoryDimIndex=0)},polar:function(s,l,n,c){var r=s.getReferringComponents("polar")[0],u=r.findAxisModel("radiusAxis"),i=r.findAxisModel("angleAxis");l.coordSysDims=["radius","angle"],n.set("radius",u),n.set("angle",i),o(u)&&(c.set("radius",u),l.firstCategoryDimIndex=0),o(i)&&(c.set("angle",i),l.firstCategoryDimIndex==null&&(l.firstCategoryDimIndex=1))},geo:function(s,l,n,c){l.coordSysDims=["lng","lat"]},parallel:function(s,l,n,c){var r=s.ecModel,u=r.getComponent("parallel",s.get("parallelIndex")),i=l.coordSysDims=u.dimensions.slice();w(u.parallelAxisIndex,function(h,p){var A=r.getComponent("parallelAxis",h),C=i[p];n.set(C,A),o(A)&&l.firstCategoryDimIndex==null&&(c.set(C,A),l.firstCategoryDimIndex=p)})}};function o(s){return s.get("type")==="category"}_.getCoordSysInfoBySeries=a},"2Cb2":function(Z,_,e){var d=e("oEo5"),L=d.retrieve2,v=d.retrieve3,m=d.each,y=d.normalizeCssArray,w=d.isString,f=d.isObject,a=e("F2Ao"),t=e("nPr6"),o=e("2DdH"),s=e("ZSS0"),l=e("jU4C"),n=l.ContextCachedBy,c=l.WILL_BE_RESTORED,r=a.DEFAULT_FONT,u={left:1,right:1,center:1},i={top:1,bottom:1,middle:1},h=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],p={},A={};function C(Y){return S(Y),m(Y.rich,S),Y}function S(Y){if(Y){Y.font=a.makeFont(Y);var Q=Y.textAlign;Q==="middle"&&(Q="center"),Y.textAlign=Q==null||u[Q]?Q:"left";var P=Y.textVerticalAlign||Y.textBaseline;P==="center"&&(P="middle"),Y.textVerticalAlign=P==null||i[P]?P:"top";var G=Y.textPadding;G&&(Y.textPadding=y(Y.textPadding))}}function E(Y,Q,P,G,J,he){G.rich?T(Y,Q,P,G,J,he):O(Y,Q,P,G,J,he)}function O(Y,Q,P,G,J,he){"use strict";var te=D(G),pe,we=!1,be=Q.__attrCachedBy===n.PLAIN_TEXT;he!==c?(he&&(pe=he.style,we=!te&&be&&pe),Q.__attrCachedBy=te?n.NONE:n.PLAIN_TEXT):be&&(Q.__attrCachedBy=n.NONE);var Qe=G.font||r;(!we||Qe!==(pe.font||r))&&(Q.font=Qe);var $e=Y.__computedFont;Y.__styleFont!==Qe&&(Y.__styleFont=Qe,$e=Y.__computedFont=Q.font);var yt=G.textPadding,Fe=G.textLineHeight,Pe=Y.__textCotentBlock;(!Pe||Y.__dirtyText)&&(Pe=Y.__textCotentBlock=a.parsePlainText(P,$e,yt,Fe,G.truncate));var gt=Pe.outerHeight,it=Pe.lines,qe=Pe.lineHeight,At=F(A,Y,G,J),dt=At.baseX,wt=At.baseY,Ye=At.textAlign||"left",mt=At.textVerticalAlign;x(Q,G,J,dt,wt);var Ue=a.adjustTextY(wt,gt,mt),Re=dt,Le=Ue;if(te||yt){var at=a.getWidth(P,$e),Ot=at;yt&&(Ot+=yt[1]+yt[3]);var Tt=a.adjustTextX(dt,Ot,Ye);te&&M(Y,Q,G,Tt,Ue,Ot,gt),yt&&(Re=W(dt,Ye,yt),Le+=yt[0])}Q.textAlign=Ye,Q.textBaseline="middle",Q.globalAlpha=G.opacity||1;for(var Ft=0;Ft<h.length;Ft++){var ke=h[Ft],Vt=ke[0],bt=ke[1],Rt=G[Vt];(!we||Rt!==pe[Vt])&&(Q[bt]=s(Q,bt,Rt||ke[2]))}Le+=qe/2;var Nt=G.textStrokeWidth,xt=we?pe.textStrokeWidth:null,Ut=!we||Nt!==xt,Ze=!we||Ut||G.textStroke!==pe.textStroke,ze=z(G.textStroke,Nt),re=U(G.textFill);if(ze&&(Ut&&(Q.lineWidth=Nt),Ze&&(Q.strokeStyle=ze)),re&&((!we||G.textFill!==pe.textFill)&&(Q.fillStyle=re)),it.length===1)ze&&Q.strokeText(it[0],Re,Le),re&&Q.fillText(it[0],Re,Le);else for(var Ft=0;Ft<it.length;Ft++)ze&&Q.strokeText(it[Ft],Re,Le),re&&Q.fillText(it[Ft],Re,Le),Le+=qe}function T(Y,Q,P,G,J,he){he!==c&&(Q.__attrCachedBy=n.NONE);var te=Y.__textCotentBlock;(!te||Y.__dirtyText)&&(te=Y.__textCotentBlock=a.parseRichText(P,G)),b(Y,Q,te,G,J)}function b(Y,Q,P,G,J){var he=P.width,te=P.outerWidth,pe=P.outerHeight,we=G.textPadding,be=F(A,Y,G,J),Qe=be.baseX,$e=be.baseY,yt=be.textAlign,Fe=be.textVerticalAlign;x(Q,G,J,Qe,$e);var Pe=a.adjustTextX(Qe,te,yt),gt=a.adjustTextY($e,pe,Fe),it=Pe,qe=gt;we&&(it+=we[3],qe+=we[0]);var At=it+he;D(G)&&M(Y,Q,G,Pe,gt,te,pe);for(var dt=0;dt<P.lines.length;dt++){for(var wt=P.lines[dt],Ye=wt.tokens,mt=Ye.length,Ue=wt.lineHeight,Re=wt.width,Le=0,at=it,Ot=At,Tt=mt-1,Ft;Le<mt&&(Ft=Ye[Le],!Ft.textAlign||Ft.textAlign==="left");)N(Y,Q,Ft,G,Ue,qe,at,"left"),Re-=Ft.width,at+=Ft.width,Le++;for(;Tt>=0&&(Ft=Ye[Tt],Ft.textAlign==="right");)N(Y,Q,Ft,G,Ue,qe,Ot,"right"),Re-=Ft.width,Ot-=Ft.width,Tt--;for(at+=(he-(at-it)-(At-Ot)-Re)/2;Le<=Tt;)Ft=Ye[Le],N(Y,Q,Ft,G,Ue,qe,at+Ft.width/2,"center"),at+=Ft.width,Le++;qe+=Ue}}function x(Y,Q,P,G,J){if(P&&Q.textRotation){var he=Q.textOrigin;he==="center"?(G=P.width/2+P.x,J=P.height/2+P.y):he&&(G=he[0]+P.x,J=he[1]+P.y),Y.translate(G,J),Y.rotate(-Q.textRotation),Y.translate(-G,-J)}}function N(Y,Q,P,G,J,he,te,pe){var we=G.rich[P.styleName]||{};we.text=P.text;var be=P.textVerticalAlign,Qe=he+J/2;be==="top"?Qe=he+P.height/2:be==="bottom"&&(Qe=he+J-P.height/2),!P.isLineHolder&&D(we)&&M(Y,Q,we,pe==="right"?te-P.width:pe==="center"?te-P.width/2:te,Qe-P.height/2,P.width,P.height);var $e=P.textPadding;$e&&(te=W(te,pe,$e),Qe-=P.height/2-$e[2]-P.textHeight/2),B(Q,"shadowBlur",v(we.textShadowBlur,G.textShadowBlur,0)),B(Q,"shadowColor",we.textShadowColor||G.textShadowColor||"transparent"),B(Q,"shadowOffsetX",v(we.textShadowOffsetX,G.textShadowOffsetX,0)),B(Q,"shadowOffsetY",v(we.textShadowOffsetY,G.textShadowOffsetY,0)),B(Q,"textAlign",pe),B(Q,"textBaseline","middle"),B(Q,"font",P.font||r);var yt=z(we.textStroke||G.textStroke,Pe),Fe=U(we.textFill||G.textFill),Pe=L(we.textStrokeWidth,G.textStrokeWidth);yt&&(B(Q,"lineWidth",Pe),B(Q,"strokeStyle",yt),Q.strokeText(P.text,te,Qe)),Fe&&(B(Q,"fillStyle",Fe),Q.fillText(P.text,te,Qe))}function D(Y){return!!(Y.textBackgroundColor||Y.textBorderWidth&&Y.textBorderColor)}function M(Y,Q,P,G,J,he,te){var pe=P.textBackgroundColor,we=P.textBorderWidth,be=P.textBorderColor,Qe=w(pe);if(B(Q,"shadowBlur",P.textBoxShadowBlur||0),B(Q,"shadowColor",P.textBoxShadowColor||"transparent"),B(Q,"shadowOffsetX",P.textBoxShadowOffsetX||0),B(Q,"shadowOffsetY",P.textBoxShadowOffsetY||0),Qe||we&&be){Q.beginPath();var $e=P.textBorderRadius;$e?t.buildPath(Q,{x:G,y:J,width:he,height:te,r:$e}):Q.rect(G,J,he,te),Q.closePath()}if(Qe)if(B(Q,"fillStyle",pe),P.fillOpacity!=null){var yt=Q.globalAlpha;Q.globalAlpha=P.fillOpacity*P.opacity,Q.fill(),Q.globalAlpha=yt}else Q.fill();else if(f(pe)){var Fe=pe.image;Fe=o.createOrUpdateImage(Fe,null,Y,R,pe),Fe&&o.isImageReady(Fe)&&Q.drawImage(Fe,G,J,he,te)}if(we&&be)if(B(Q,"lineWidth",we),B(Q,"strokeStyle",be),P.strokeOpacity!=null){var yt=Q.globalAlpha;Q.globalAlpha=P.strokeOpacity*P.opacity,Q.stroke(),Q.globalAlpha=yt}else Q.stroke()}function R(Y,Q){Q.image=Y}function F(Y,Q,P,G){var J=P.x||0,he=P.y||0,te=P.textAlign,pe=P.textVerticalAlign;if(G){var we=P.textPosition;if(we instanceof Array)J=G.x+K(we[0],G.width),he=G.y+K(we[1],G.height);else{var be=Q&&Q.calculateTextPosition?Q.calculateTextPosition(p,P,G):a.calculateTextPosition(p,P,G);J=be.x,he=be.y,te=te||be.textAlign,pe=pe||be.textVerticalAlign}var Qe=P.textOffset;Qe&&(J+=Qe[0],he+=Qe[1])}return Y=Y||{},Y.baseX=J,Y.baseY=he,Y.textAlign=te,Y.textVerticalAlign=pe,Y}function B(Y,Q,P){return Y[Q]=s(Y,Q,P),Y[Q]}function z(Y,Q){return Y==null||Q<=0||Y==="transparent"||Y==="none"?null:Y.image||Y.colorStops?"#000":Y}function U(Y){return Y==null||Y==="none"?null:Y.image||Y.colorStops?"#000":Y}function K(Y,Q){return typeof Y=="string"?Y.lastIndexOf("%")>=0?parseFloat(Y)/100*Q:parseFloat(Y):Y}function W(Y,Q,P){return Q==="right"?Y-P[1]:Q==="center"?Y+P[3]/2-P[1]/2:Y+P[3]}function H(Y,Q){return Y!=null&&(Y||Q.textBackgroundColor||Q.textBorderWidth&&Q.textBorderColor||Q.textPadding)}_.normalizeTextStyle=C,_.renderText=E,_.getBoxPosition=F,_.getStroke=z,_.getFill=U,_.parsePercent=K,_.needDrawText=H},"2DdH":function(Z,_,e){var d=e("SobH"),L=new d(50);function v(f){if(typeof f=="string"){var a=L.get(f);return a&&a.image}else return f}function m(f,a,t,o,s){if(f)if(typeof f=="string"){if(a&&a.__zrImageSrc===f||!t)return a;var l=L.get(f),n={hostEl:t,cb:o,cbPayload:s};return l?(a=l.image,!w(a)&&l.pending.push(n)):(a=new Image,a.onload=a.onerror=y,L.put(f,a.__cachedImgObj={image:a,pending:[n]}),a.src=a.__zrImageSrc=f),a}else return f;else return a}function y(){var f=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var a=0;a<f.pending.length;a++){var t=f.pending[a],o=t.cb;o&&o(this,t.cbPayload),t.hostEl.dirty()}f.pending.length=0}function w(f){return f&&f.width&&f.height}_.findExistImage=v,_.createOrUpdateImage=m,_.isImageReady=w},"2E9u":function(Z,_,e){var d=e("oEo5"),L=d.each,v="\0__link_datas",m="\0__link_mainData";function y(c){var r=c.mainData,u=c.datas;u||(u={main:r},c.datasAttr={main:"data"}),c.datas=c.mainData=null,s(r,u,c),L(u,function(i){L(r.TRANSFERABLE_METHODS,function(h){i.wrapMethod(h,d.curry(w,c))})}),r.wrapMethod("cloneShallow",d.curry(a,c)),L(r.CHANGABLE_METHODS,function(i){r.wrapMethod(i,d.curry(f,c))}),d.assert(u[r.dataType]===r)}function w(c,r){if(o(this)){var u=d.extend({},this[v]);u[this.dataType]=r,s(r,u,c)}else l(r,this.dataType,this[m],c);return r}function f(c,r){return c.struct&&c.struct.update(this),r}function a(c,r){return L(r[v],function(u,i){u!==r&&l(u.cloneShallow(),i,r,c)}),r}function t(c){var r=this[m];return c==null||r==null?r:r[v][c]}function o(c){return c[m]===c}function s(c,r,u){c[v]={},L(r,function(i,h){l(i,h,c,u)})}function l(c,r,u,i){u[v][r]=c,c[m]=u,c.dataType=r,i.struct&&(c[i.structAttr]=i.struct,i.struct[i.datasAttr[r]]=c),c.getLinkedData=t}var n=y;Z.exports=n},"2L5a":function(Z,_){var e={linear:function(v){return v},quadraticIn:function(v){return v*v},quadraticOut:function(v){return v*(2-v)},quadraticInOut:function(v){return(v*=2)<1?.5*v*v:-.5*(--v*(v-2)-1)},cubicIn:function(v){return v*v*v},cubicOut:function(v){return--v*v*v+1},cubicInOut:function(v){return(v*=2)<1?.5*v*v*v:.5*((v-=2)*v*v+2)},quarticIn:function(v){return v*v*v*v},quarticOut:function(v){return 1- --v*v*v*v},quarticInOut:function(v){return(v*=2)<1?.5*v*v*v*v:-.5*((v-=2)*v*v*v-2)},quinticIn:function(v){return v*v*v*v*v},quinticOut:function(v){return--v*v*v*v*v+1},quinticInOut:function(v){return(v*=2)<1?.5*v*v*v*v*v:.5*((v-=2)*v*v*v*v+2)},sinusoidalIn:function(v){return 1-Math.cos(v*Math.PI/2)},sinusoidalOut:function(v){return Math.sin(v*Math.PI/2)},sinusoidalInOut:function(v){return .5*(1-Math.cos(Math.PI*v))},exponentialIn:function(v){return v===0?0:Math.pow(1024,v-1)},exponentialOut:function(v){return v===1?1:1-Math.pow(2,-10*v)},exponentialInOut:function(v){return v===0?0:v===1?1:(v*=2)<1?.5*Math.pow(1024,v-1):.5*(-Math.pow(2,-10*(v-1))+2)},circularIn:function(v){return 1-Math.sqrt(1-v*v)},circularOut:function(v){return Math.sqrt(1- --v*v)},circularInOut:function(v){return(v*=2)<1?-.5*(Math.sqrt(1-v*v)-1):.5*(Math.sqrt(1-(v-=2)*v)+1)},elasticIn:function(v){var m,y=.1,w=.4;return v===0?0:v===1?1:(!y||y<1?(y=1,m=w/4):m=w*Math.asin(1/y)/(2*Math.PI),-(y*Math.pow(2,10*(v-=1))*Math.sin((v-m)*(2*Math.PI)/w)))},elasticOut:function(v){var m,y=.1,w=.4;return v===0?0:v===1?1:(!y||y<1?(y=1,m=w/4):m=w*Math.asin(1/y)/(2*Math.PI),y*Math.pow(2,-10*v)*Math.sin((v-m)*(2*Math.PI)/w)+1)},elasticInOut:function(v){var m,y=.1,w=.4;return v===0?0:v===1?1:(!y||y<1?(y=1,m=w/4):m=w*Math.asin(1/y)/(2*Math.PI),(v*=2)<1?-.5*(y*Math.pow(2,10*(v-=1))*Math.sin((v-m)*(2*Math.PI)/w)):y*Math.pow(2,-10*(v-=1))*Math.sin((v-m)*(2*Math.PI)/w)*.5+1)},backIn:function(v){var m=1.70158;return v*v*((m+1)*v-m)},backOut:function(v){var m=1.70158;return--v*v*((m+1)*v+m)+1},backInOut:function(v){var m=1.70158*1.525;return(v*=2)<1?.5*(v*v*((m+1)*v-m)):.5*((v-=2)*v*((m+1)*v+m)+2)},bounceIn:function(v){return 1-e.bounceOut(1-v)},bounceOut:function(v){return v<1/2.75?7.5625*v*v:v<2/2.75?7.5625*(v-=1.5/2.75)*v+.75:v<2.5/2.75?7.5625*(v-=2.25/2.75)*v+.9375:7.5625*(v-=2.625/2.75)*v+.984375},bounceInOut:function(v){return v<.5?e.bounceIn(v*2)*.5:e.bounceOut(v*2-1)*.5+.5}},d=e;Z.exports=d},"2Myu":function(Z,_,e){var d=e("oEo5"),L=e("QV7q");function v(w){m(w),y(w)}function m(w){if(w.parallel)return;var f=!1;d.each(w.series,function(a){a&&a.type==="parallel"&&(f=!0)}),f&&(w.parallel=[{}])}function y(w){var f=L.normalizeToArray(w.parallelAxis);d.each(f,function(a){if(!d.isObject(a))return;var t=a.parallelIndex||0,o=L.normalizeToArray(w.parallel)[t];o&&o.parallelAxisDefault&&d.merge(a,o.parallelAxisDefault,!1)})}Z.exports=v},"2OMI":function(Z,_,e){var d=e("Wr3P"),L=e("Wa83"),v=e("spGK"),m=e("ie0D"),y=e("JqtM"),w=y.devicePixelRatio,f={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},a=[],t=[],o=[],s=[],l=Math.min,n=Math.max,c=Math.cos,r=Math.sin,u=Math.sqrt,i=Math.abs,h=typeof Float32Array!="undefined",p=function(S){this._saveData=!(S||!1),this._saveData&&(this.data=[]),this._ctx=null};p.prototype={constructor:p,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(S,E,O){O=O||0,this._ux=i(O/w/S)||0,this._uy=i(O/w/E)||0},getContext:function(){return this._ctx},beginPath:function(S){return this._ctx=S,S&&S.beginPath(),S&&(this.dpr=S.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(S,E){return this.addData(f.M,S,E),this._ctx&&this._ctx.moveTo(S,E),this._x0=S,this._y0=E,this._xi=S,this._yi=E,this},lineTo:function(S,E){var O=i(S-this._xi)>this._ux||i(E-this._yi)>this._uy||this._len<5;return this.addData(f.L,S,E),this._ctx&&O&&(this._needsDash()?this._dashedLineTo(S,E):this._ctx.lineTo(S,E)),O&&(this._xi=S,this._yi=E),this},bezierCurveTo:function(S,E,O,T,b,x){return this.addData(f.C,S,E,O,T,b,x),this._ctx&&(this._needsDash()?this._dashedBezierTo(S,E,O,T,b,x):this._ctx.bezierCurveTo(S,E,O,T,b,x)),this._xi=b,this._yi=x,this},quadraticCurveTo:function(S,E,O,T){return this.addData(f.Q,S,E,O,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(S,E,O,T):this._ctx.quadraticCurveTo(S,E,O,T)),this._xi=O,this._yi=T,this},arc:function(S,E,O,T,b,x){return this.addData(f.A,S,E,O,O,T,b-T,0,x?0:1),this._ctx&&this._ctx.arc(S,E,O,T,b,x),this._xi=c(b)*O+S,this._yi=r(b)*O+E,this},arcTo:function(S,E,O,T,b){return this._ctx&&this._ctx.arcTo(S,E,O,T,b),this},rect:function(S,E,O,T){return this._ctx&&this._ctx.rect(S,E,O,T),this.addData(f.R,S,E,O,T),this},closePath:function(){this.addData(f.Z);var S=this._ctx,E=this._x0,O=this._y0;return S&&(this._needsDash()&&this._dashedLineTo(E,O),S.closePath()),this._xi=E,this._yi=O,this},fill:function(S){S&&S.fill(),this.toStatic()},stroke:function(S){S&&S.stroke(),this.toStatic()},setLineDash:function(S){if(S instanceof Array){this._lineDash=S,this._dashIdx=0;for(var E=0,O=0;O<S.length;O++)E+=S[O];this._dashSum=E}return this},setLineDashOffset:function(S){return this._dashOffset=S,this},len:function(){return this._len},setData:function(S){var E=S.length;!(this.data&&this.data.length===E)&&h&&(this.data=new Float32Array(E));for(var O=0;O<E;O++)this.data[O]=S[O];this._len=E},appendPath:function(S){S instanceof Array||(S=[S]);for(var E=S.length,O=0,T=this._len,b=0;b<E;b++)O+=S[b].len();h&&this.data instanceof Float32Array&&(this.data=new Float32Array(T+O));for(var b=0;b<E;b++)for(var x=S[b].data,N=0;N<x.length;N++)this.data[T++]=x[N];this._len=T},addData:function(S){if(!this._saveData)return;var E=this.data;this._len+arguments.length>E.length&&(this._expandData(),E=this.data);for(var O=0;O<arguments.length;O++)E[this._len++]=arguments[O];this._prevCmd=S},_expandData:function(){if(!(this.data instanceof Array)){for(var S=[],E=0;E<this._len;E++)S[E]=this.data[E];this.data=S}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(S,E){var O=this._dashSum,T=this._dashOffset,b=this._lineDash,x=this._ctx,N=this._xi,D=this._yi,M=S-N,R=E-D,F=u(M*M+R*R),B=N,z=D,U,K=b.length,W;for(M/=F,R/=F,T<0&&(T=O+T),T%=O,B-=T*M,z-=T*R;M>0&&B<=S||M<0&&B>=S||M===0&&(R>0&&z<=E||R<0&&z>=E);){if(W=this._dashIdx,U=b[W],B+=M*U,z+=R*U,this._dashIdx=(W+1)%K,M>0&&B<N||M<0&&B>N||R>0&&z<D||R<0&&z>D)continue;x[W%2?"moveTo":"lineTo"](M>=0?l(B,S):n(B,S),R>=0?l(z,E):n(z,E))}M=B-S,R=z-E,this._dashOffset=-u(M*M+R*R)},_dashedBezierTo:function(S,E,O,T,b,x){var N=this._dashSum,D=this._dashOffset,M=this._lineDash,R=this._ctx,F=this._xi,B=this._yi,z,U,K,W=d.cubicAt,H=0,Y=this._dashIdx,Q=M.length,P,G,J=0;for(D<0&&(D=N+D),D%=N,z=0;z<1;z+=.1)U=W(F,S,O,b,z+.1)-W(F,S,O,b,z),K=W(B,E,T,x,z+.1)-W(B,E,T,x,z),H+=u(U*U+K*K);for(;Y<Q&&!(J+=M[Y],J>D);Y++);for(z=(J-D)/H;z<=1;)P=W(F,S,O,b,z),G=W(B,E,T,x,z),Y%2?R.moveTo(P,G):R.lineTo(P,G),z+=M[Y]/H,Y=(Y+1)%Q;Y%2!==0&&R.lineTo(b,x),U=b-P,K=x-G,this._dashOffset=-u(U*U+K*K)},_dashedQuadraticTo:function(S,E,O,T){var b=O,x=T;O=(O+2*S)/3,T=(T+2*E)/3,S=(this._xi+2*S)/3,E=(this._yi+2*E)/3,this._dashedBezierTo(S,E,O,T,b,x)},toStatic:function(){var S=this.data;S instanceof Array&&(S.length=this._len,h&&(this.data=new Float32Array(S)))},getBoundingRect:function(){a[0]=a[1]=o[0]=o[1]=Number.MAX_VALUE,t[0]=t[1]=s[0]=s[1]=-Number.MAX_VALUE;for(var S=this.data,E=0,O=0,T=0,b=0,x=0;x<S.length;){var N=S[x++];x===1&&(E=S[x],O=S[x+1],T=E,b=O);switch(N){case f.M:T=S[x++],b=S[x++],E=T,O=b,o[0]=T,o[1]=b,s[0]=T,s[1]=b;break;case f.L:v.fromLine(E,O,S[x],S[x+1],o,s),E=S[x++],O=S[x++];break;case f.C:v.fromCubic(E,O,S[x++],S[x++],S[x++],S[x++],S[x],S[x+1],o,s),E=S[x++],O=S[x++];break;case f.Q:v.fromQuadratic(E,O,S[x++],S[x++],S[x],S[x+1],o,s),E=S[x++],O=S[x++];break;case f.A:var D=S[x++],M=S[x++],R=S[x++],F=S[x++],B=S[x++],z=S[x++]+B;x+=1;var U=1-S[x++];x===1&&(T=c(B)*R+D,b=r(B)*F+M),v.fromArc(D,M,R,F,B,z,U,o,s),E=c(z)*R+D,O=r(z)*F+M;break;case f.R:T=E=S[x++],b=O=S[x++];var K=S[x++],W=S[x++];v.fromLine(T,b,T+K,b+W,o,s);break;case f.Z:E=T,O=b;break}L.min(a,a,o),L.max(t,t,s)}return x===0&&(a[0]=a[1]=t[0]=t[1]=0),new m(a[0],a[1],t[0]-a[0],t[1]-a[1])},rebuildPath:function(S){for(var E=this.data,O,T,b,x,N,D,M=this._ux,R=this._uy,F=this._len,B=0;B<F;){var z=E[B++];B===1&&(b=E[B],x=E[B+1],O=b,T=x);switch(z){case f.M:O=b=E[B++],T=x=E[B++],S.moveTo(b,x);break;case f.L:N=E[B++],D=E[B++],(i(N-b)>M||i(D-x)>R||B===F-1)&&(S.lineTo(N,D),b=N,x=D);break;case f.C:S.bezierCurveTo(E[B++],E[B++],E[B++],E[B++],E[B++],E[B++]),b=E[B-2],x=E[B-1];break;case f.Q:S.quadraticCurveTo(E[B++],E[B++],E[B++],E[B++]),b=E[B-2],x=E[B-1];break;case f.A:var U=E[B++],K=E[B++],W=E[B++],H=E[B++],Y=E[B++],Q=E[B++],P=E[B++],G=E[B++],J=W>H?W:H,he=W>H?1:W/H,te=W>H?H/W:1,pe=Math.abs(W-H)>.001,we=Y+Q;pe?(S.translate(U,K),S.rotate(P),S.scale(he,te),S.arc(0,0,J,Y,we,1-G),S.scale(1/he,1/te),S.rotate(-P),S.translate(-U,-K)):S.arc(U,K,J,Y,we,1-G),B===1&&(O=c(Y)*W+U,T=r(Y)*H+K),b=c(we)*W+U,x=r(we)*H+K;break;case f.R:O=b=E[B],T=x=E[B+1],S.rect(E[B++],E[B++],E[B++],E[B++]);break;case f.Z:S.closePath(),b=O,x=T}}}},p.CMD=f;var A=p;Z.exports=A},"2Ofm":function(Z,_){function e(d,L){return d==null?void 0:d[L]}Z.exports=e},"2TcX":function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=e("zYjg"),y=e("QV7q"),w=e("UeGE"),f=v.each,a=v.indexOf,t=v.curry,o=["dataToPoint","pointToData"],s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function l(b,x,N){var D=this._targetInfoList=[],M={},R=r(x,b);f(u,function(F,B){(!N||!N.include||a(N.include,B)>=0)&&F(R,D,M)})}var n=l.prototype;n.setOutputRanges=function(b,x){this.matchOutputRanges(b,x,function(N,D,M){if((N.coordRanges||(N.coordRanges=[])).push(D),!N.coordRange){N.coordRange=D;var R=p[N.brushType](0,M,D);N.__rangeOffset={offset:C[N.brushType](R.values,N.range,[1,1]),xyMinMax:R.xyMinMax}}})},n.matchOutputRanges=function(b,x,N){f(b,function(D){var M=this.findTargetInfo(D,x);M&&M!==!0&&v.each(M.coordSyses,function(R){var F=p[D.brushType](1,R,D.range);N(D,F.values,R,x)})},this)},n.setInputRanges=function(b,x){f(b,function(N){var D=this.findTargetInfo(N,x);if(N.range=N.range||[],D&&D!==!0){N.panelId=D.panelId;var M=p[N.brushType](0,D.coordSys,N.coordRange),R=N.__rangeOffset;N.range=R?C[N.brushType](M.values,R.offset,E(M.xyMinMax,R.xyMinMax)):M.values}},this)},n.makePanelOpts=function(b,x){return v.map(this._targetInfoList,function(N){var D=N.getPanelRect();return{panelId:N.panelId,defaultBrushType:x&&x(N),clipPath:w.makeRectPanelClipPath(D),isTargetByCursor:w.makeRectIsTargetByCursor(D,b,N.coordSysModel),getLinearBrushOtherExtent:w.makeLinearBrushOtherExtent(D)}})},n.controlSeries=function(b,x,N){var D=this.findTargetInfo(b,N);return D===!0||D&&a(D.coordSyses,x.coordinateSystem)>=0},n.findTargetInfo=function(b,x){for(var N=this._targetInfoList,D=r(x,b),M=0;M<N.length;M++){var R=N[M],F=b.panelId;if(F){if(R.panelId===F)return R}else for(var M=0;M<i.length;M++)if(i[M](D,R))return R}return!0};function c(b){return b[0]>b[1]&&b.reverse(),b}function r(b,x){return y.parseFinder(b,x,{includeMainTypes:s})}var u={grid:function(b,x){var N=b.xAxisModels,D=b.yAxisModels,M=b.gridModels,R=v.createHashMap(),F={},B={};if(!N&&!D&&!M)return;f(N,function(z){var U=z.axis.grid.model;R.set(U.id,U),F[U.id]=!0}),f(D,function(z){var U=z.axis.grid.model;R.set(U.id,U),B[U.id]=!0}),f(M,function(z){R.set(z.id,z),F[z.id]=!0,B[z.id]=!0}),R.each(function(z){var U=z.coordinateSystem,K=[];f(U.getCartesians(),function(W,H){(a(N,W.getAxis("x").model)>=0||a(D,W.getAxis("y").model)>=0)&&K.push(W)}),x.push({panelId:"grid--"+z.id,gridModel:z,coordSysModel:z,coordSys:K[0],coordSyses:K,getPanelRect:h.grid,xAxisDeclared:F[z.id],yAxisDeclared:B[z.id]})})},geo:function(b,x){f(b.geoModels,function(N){var D=N.coordinateSystem;x.push({panelId:"geo--"+N.id,geoModel:N,coordSysModel:N,coordSys:D,coordSyses:[D],getPanelRect:h.geo})})}},i=[function(b,x){var N=b.xAxisModel,D=b.yAxisModel,M=b.gridModel;return!M&&N&&(M=N.axis.grid.model),!M&&D&&(M=D.axis.grid.model),M&&M===x.gridModel},function(b,x){var N=b.geoModel;return N&&N===x.geoModel}],h={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var b=this.coordSys,x=b.getBoundingRect().clone();return x.applyTransform(m.getTransform(b)),x}},p={lineX:t(A,0),lineY:t(A,1),rect:function(b,x,N){var D=x[o[b]]([N[0][0],N[1][0]]),M=x[o[b]]([N[0][1],N[1][1]]),R=[c([D[0],M[0]]),c([D[1],M[1]])];return{values:R,xyMinMax:R}},polygon:function(b,x,N){var D=[[Infinity,-Infinity],[Infinity,-Infinity]],M=v.map(N,function(R){var F=x[o[b]](R);return D[0][0]=Math.min(D[0][0],F[0]),D[1][0]=Math.min(D[1][0],F[1]),D[0][1]=Math.max(D[0][1],F[0]),D[1][1]=Math.max(D[1][1],F[1]),F});return{values:M,xyMinMax:D}}};function A(b,x,N,D){var M=N.getAxis(["x","y"][b]),R=c(v.map([0,1],function(B){return x?M.coordToData(M.toLocalCoord(D[B])):M.toGlobalCoord(M.dataToCoord(D[B]))})),F=[];return F[b]=R,F[1-b]=[NaN,NaN],{values:R,xyMinMax:F}}var C={lineX:t(S,0),lineY:t(S,1),rect:function(b,x,N){return[[b[0][0]-N[0]*x[0][0],b[0][1]-N[0]*x[0][1]],[b[1][0]-N[1]*x[1][0],b[1][1]-N[1]*x[1][1]]]},polygon:function(b,x,N){return v.map(b,function(D,M){return[D[0]-N[0]*x[M][0],D[1]-N[1]*x[M][1]]})}};function S(b,x,N,D){return[x[0]-D[b]*N[0],x[1]-D[b]*N[1]]}function E(b,x){var N=O(b),D=O(x),M=[N[0]/D[0],N[1]/D[1]];return isNaN(M[0])&&(M[0]=1),isNaN(M[1])&&(M[1]=1),M}function O(b){return b?[b[0][1]-b[0][0],b[1][1]-b[1][0]]:[NaN,NaN]}var T=l;Z.exports=T},"2UAF":function(Z,_,e){"use strict";e.d(_,"a",function(){return Hl}),e.d(_,"b",function(){return ql}),e.d(_,"c",function(){return ol});var d=e("ZZRV"),L=e.n(d),v=e("5/QZ"),m=e("1gHQ"),y=e("b+xT"),w=e("aaDO");function f(Ve,ie){if(Ve.length!==ie.length)return!1;for(var xe=0;xe<Ve.length;xe++)if(Ve[xe]!==ie[xe])return!1;return!0}function a(Ve,ie){var xe=Object(d.useState)(function(){return{inputs:ie,result:Ve()}})[0],rt=Object(d.useRef)(xe),It=Boolean(ie&&rt.current.inputs&&f(ie,rt.current.inputs)),Jt=It?rt.current:{inputs:ie,result:Ve()};return Object(d.useEffect)(function(){rt.current=Jt},[Jt]),Jt.result}function t(Ve,ie){return a(function(){return Ve},ie)}var o=a,s=t,l=e("AKk7"),n=function(ie){var xe=ie.top,rt=ie.right,It=ie.bottom,Jt=ie.left,sr=rt-Jt,cr=It-xe,wr={top:xe,right:rt,bottom:It,left:Jt,width:sr,height:cr,x:Jt,y:xe,center:{x:(rt+Jt)/2,y:(It+xe)/2}};return wr},c=function(ie,xe){return{top:ie.top-xe.top,left:ie.left-xe.left,bottom:ie.bottom+xe.bottom,right:ie.right+xe.right}},r=function(ie,xe){return{top:ie.top+xe.top,left:ie.left+xe.left,bottom:ie.bottom-xe.bottom,right:ie.right-xe.right}},u=function(ie,xe){return{top:ie.top+xe.y,left:ie.left+xe.x,bottom:ie.bottom+xe.y,right:ie.right+xe.x}},i={top:0,right:0,bottom:0,left:0},h=function(ie){var xe=ie.borderBox,rt=ie.margin,It=rt===void 0?i:rt,Jt=ie.border,sr=Jt===void 0?i:Jt,cr=ie.padding,wr=cr===void 0?i:cr,Qr=n(c(xe,It)),Gr=n(r(xe,sr)),Pr=n(r(Gr,wr));return{marginBox:Qr,borderBox:n(xe),paddingBox:Gr,contentBox:Pr,margin:It,border:sr,padding:wr}},p=function(ie){var xe=ie.slice(0,-2),rt=ie.slice(-2);if(rt!=="px")return 0;var It=Number(xe);return isNaN(It)&&Object(l.a)(!1),It},A=function(){return{x:window.pageXOffset,y:window.pageYOffset}},C=function(ie,xe){var rt=ie.borderBox,It=ie.border,Jt=ie.margin,sr=ie.padding,cr=u(rt,xe);return h({borderBox:cr,border:It,margin:Jt,padding:sr})},S=function(ie,xe){return xe===void 0&&(xe=A()),C(ie,xe)},E=function(ie,xe){var rt={top:p(xe.marginTop),right:p(xe.marginRight),bottom:p(xe.marginBottom),left:p(xe.marginLeft)},It={top:p(xe.paddingTop),right:p(xe.paddingRight),bottom:p(xe.paddingBottom),left:p(xe.paddingLeft)},Jt={top:p(xe.borderTopWidth),right:p(xe.borderRightWidth),bottom:p(xe.borderBottomWidth),left:p(xe.borderLeftWidth)};return h({borderBox:ie,margin:rt,padding:It,border:Jt})},O=function(ie){var xe=ie.getBoundingClientRect(),rt=window.getComputedStyle(ie);return E(xe,rt)};function T(Ve,ie){if(Ve.length!==ie.length)return!1;for(var xe=0;xe<Ve.length;xe++)if(Ve[xe]!==ie[xe])return!1;return!0}function b(Ve,ie){ie===void 0&&(ie=T);var xe,rt=[],It,Jt=!1;function sr(){for(var cr=[],wr=0;wr<arguments.length;wr++)cr[wr]=arguments[wr];return Jt&&xe===this&&ie(cr,rt)||(It=Ve.apply(this,cr),Jt=!0,xe=this,rt=cr),It}return sr}var x=b,N=function(ie){var xe=[],rt=null,It=function(){for(var sr=arguments.length,cr=new Array(sr),wr=0;wr<sr;wr++)cr[wr]=arguments[wr];if(xe=cr,rt)return;rt=requestAnimationFrame(function(){rt=null,ie.apply(void 0,xe)})};return It.cancel=function(){if(!rt)return;cancelAnimationFrame(rt),rt=null},It},D=N,M=e("EaaV"),R=e.n(M),F=!0,B=/[ \t]{2,}/g,z=/^[ \t]*/gm,U=function(ie){return ie.replace(B," ").replace(z,"").trim()},K=function(ie){return U(`
|
||
%creact-beautiful-dnd
|
||
|
||
%c`+U(ie)+`
|
||
|
||
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
||
`)},W=function(ie){return[K(ie),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},H="__react-beautiful-dnd-disable-dev-warnings";function Y(Ve,ie){var xe;if(F)return;if(typeof window!="undefined"&&window[H])return;(xe=console)[Ve].apply(xe,W(ie))}var Q=Y.bind(null,"warn"),P=Y.bind(null,"error");function G(){}function J(Ve,ie){return Object(m.a)({},Ve,{},ie)}function he(Ve,ie,xe){var rt=ie.map(function(It){var Jt=J(xe,It.options);return Ve.addEventListener(It.eventName,It.fn,Jt),function(){Ve.removeEventListener(It.eventName,It.fn,Jt)}});return function(){rt.forEach(function(Jt){Jt()})}}var te=!0,pe="Invariant failed";function we(Ve){this.message=Ve}we.prototype.toString=function(){return this.message};function be(Ve,ie){if(Ve)return;throw te?new we(pe):new we(pe+": "+(ie||""))}var Qe=function(Ve){Object(v.a)(ie,Ve);function ie(){for(var rt,It=arguments.length,Jt=new Array(It),sr=0;sr<It;sr++)Jt[sr]=arguments[sr];return rt=Ve.call.apply(Ve,[this].concat(Jt))||this,rt.callbacks=null,rt.unbind=G,rt.onWindowError=function(cr){var wr=rt.getCallbacks();wr.isDragging()&&wr.tryAbort();var Qr=cr.error;Qr instanceof we&&cr.preventDefault()},rt.getCallbacks=function(){if(!rt.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return rt.callbacks},rt.setCallbacks=function(cr){rt.callbacks=cr},rt}var xe=ie.prototype;return xe.componentDidMount=function(){this.unbind=he(window,[{eventName:"error",fn:this.onWindowError}])},xe.componentWillUnmount=function(){this.unbind()},xe.componentDidCatch=function(It){if(It instanceof we){this.setState({});return}throw It},xe.render=function(){return this.props.children(this.setCallbacks)},ie}(L.a.Component),$e=`
|
||
Press space bar to start a drag.
|
||
When dragging you can use the arrow keys to move the item around and escape to cancel.
|
||
Some screen readers may require you to be in focus mode or to use your pass through key
|
||
`,yt=function(ie){return ie+1},Fe=function(ie){return`
|
||
You have lifted an item in position `+yt(ie.source.index)+`
|
||
`},Pe=function(ie,xe){var rt=ie.droppableId===xe.droppableId,It=yt(ie.index),Jt=yt(xe.index);return rt?`
|
||
You have moved the item from position `+It+`
|
||
to position `+Jt+`
|
||
`:`
|
||
You have moved the item from position `+It+`
|
||
in list `+ie.droppableId+`
|
||
to list `+xe.droppableId+`
|
||
in position `+Jt+`
|
||
`},gt=function(ie,xe,rt){var It=xe.droppableId===rt.droppableId;return It?`
|
||
The item `+ie+`
|
||
has been combined with `+rt.draggableId:`
|
||
The item `+ie+`
|
||
in list `+xe.droppableId+`
|
||
has been combined with `+rt.draggableId+`
|
||
in list `+rt.droppableId+`
|
||
`},it=function(ie){var xe=ie.destination;if(xe)return Pe(ie.source,xe);var rt=ie.combine;return rt?gt(ie.draggableId,ie.source,rt):"You are over an area that cannot be dropped on"},qe=function(ie){return`
|
||
The item has returned to its starting position
|
||
of `+yt(ie.index)+`
|
||
`},At=function(ie){if(ie.reason==="CANCEL")return`
|
||
Movement cancelled.
|
||
`+qe(ie.source)+`
|
||
`;var xe=ie.destination,rt=ie.combine;return xe?`
|
||
You have dropped the item.
|
||
`+Pe(ie.source,xe)+`
|
||
`:rt?`
|
||
You have dropped the item.
|
||
`+gt(ie.draggableId,ie.source,rt)+`
|
||
`:`
|
||
The item has been dropped while not over a drop area.
|
||
`+qe(ie.source)+`
|
||
`},dt={dragHandleUsageInstructions:$e,onDragStart:Fe,onDragUpdate:it,onDragEnd:At},wt={x:0,y:0},Ye=function(ie,xe){return{x:ie.x+xe.x,y:ie.y+xe.y}},mt=function(ie,xe){return{x:ie.x-xe.x,y:ie.y-xe.y}},Ue=function(ie,xe){return ie.x===xe.x&&ie.y===xe.y},Re=function(ie){return{x:ie.x!==0?-ie.x:0,y:ie.y!==0?-ie.y:0}},Le=function(ie,xe,rt){var It;return rt===void 0&&(rt=0),It={},It[ie]=xe,It[ie==="x"?"y":"x"]=rt,It},at=function(ie,xe){return Math.sqrt(Math.pow(xe.x-ie.x,2)+Math.pow(xe.y-ie.y,2))},Ot=function(ie,xe){return Math.min.apply(Math,xe.map(function(rt){return at(ie,rt)}))},Tt=function(ie){return function(xe){return{x:ie(xe.x),y:ie(xe.y)}}},Ft=function(ie,xe){var rt=n({top:Math.max(xe.top,ie.top),right:Math.min(xe.right,ie.right),bottom:Math.min(xe.bottom,ie.bottom),left:Math.max(xe.left,ie.left)});return rt.width<=0||rt.height<=0?null:rt},ke=function(ie,xe){return{top:ie.top+xe.y,left:ie.left+xe.x,bottom:ie.bottom+xe.y,right:ie.right+xe.x}},Vt=function(ie){return[{x:ie.left,y:ie.top},{x:ie.right,y:ie.top},{x:ie.left,y:ie.bottom},{x:ie.right,y:ie.bottom}]},bt={top:0,right:0,bottom:0,left:0},Rt=function(ie,xe){return xe?ke(ie,xe.scroll.diff.displacement):ie},Nt=function(ie,xe,rt){if(rt&&rt.increasedBy){var It;return Object(m.a)({},ie,(It={},It[xe.end]=ie[xe.end]+rt.increasedBy[xe.line],It))}return ie},xt=function(ie,xe){return xe&&xe.shouldClipSubject?Ft(xe.pageMarginBox,ie):n(ie)},Ut=function(ie){var xe=ie.page,rt=ie.withPlaceholder,It=ie.axis,Jt=ie.frame,sr=Rt(xe.marginBox,Jt),cr=Nt(sr,It,rt),wr=xt(cr,Jt);return{page:xe,withPlaceholder:rt,active:wr}},Ze=function(ie,xe){ie.frame||be(!1);var rt=ie.frame,It=mt(xe,rt.scroll.initial),Jt=Re(It),sr=Object(m.a)({},rt,{scroll:{initial:rt.scroll.initial,current:xe,diff:{value:It,displacement:Jt},max:rt.scroll.max}}),cr=Ut({page:ie.subject.page,withPlaceholder:ie.subject.withPlaceholder,axis:ie.axis,frame:sr}),wr=Object(m.a)({},ie,{frame:sr,subject:cr});return wr};function ze(Ve){return Number.isInteger?Number.isInteger(Ve):typeof Ve=="number"&&isFinite(Ve)&&Math.floor(Ve)===Ve}function re(Ve){return Object.values?Object.values(Ve):Object.keys(Ve).map(function(ie){return Ve[ie]})}function le(Ve,ie){if(Ve.findIndex)return Ve.findIndex(ie);for(var xe=0;xe<Ve.length;xe++)if(ie(Ve[xe]))return xe;return-1}function Xe(Ve,ie){if(Ve.find)return Ve.find(ie);var xe=le(Ve,ie);return xe!==-1?Ve[xe]:void 0}function _e(Ve){return Array.prototype.slice.call(Ve)}var je=x(function(Ve){return Ve.reduce(function(ie,xe){return ie[xe.descriptor.id]=xe,ie},{})}),ar=x(function(Ve){return Ve.reduce(function(ie,xe){return ie[xe.descriptor.id]=xe,ie},{})}),zt=x(function(Ve){return re(Ve)}),Pt=x(function(Ve){return re(Ve)}),qt=x(function(Ve,ie){var xe=Pt(ie).filter(function(rt){return Ve===rt.descriptor.droppableId}).sort(function(rt,It){return rt.descriptor.index-It.descriptor.index});return xe});function or(Ve){return Ve.at&&Ve.at.type==="REORDER"?Ve.at.destination:null}function Kt(Ve){return Ve.at&&Ve.at.type==="COMBINE"?Ve.at.combine:null}var Mt=x(function(Ve,ie){return ie.filter(function(xe){return xe.descriptor.id!==Ve.descriptor.id})}),me=function(ie){var xe=ie.isMovingForward,rt=ie.draggable,It=ie.destination,Jt=ie.insideDestination,sr=ie.previousImpact;if(!It.isCombineEnabled)return null;var cr=or(sr);if(!cr)return null;function wr(qn){var li={type:"COMBINE",combine:{draggableId:qn,droppableId:It.descriptor.id}};return Object(m.a)({},sr,{at:li})}var Qr=sr.displaced.all,Gr=Qr.length?Qr[0]:null;if(xe)return Gr?wr(Gr):null;var Pr=Mt(rt,Jt);if(!Gr){if(!Pr.length)return null;var Fr=Pr[Pr.length-1];return wr(Fr.descriptor.id)}var Xr=le(Pr,function(qn){return qn.descriptor.id===Gr});Xr!==-1||be(!1);var un=Xr-1;if(un<0)return null;var hn=Pr[un];return wr(hn.descriptor.id)},ce=function(ie,xe){return ie.descriptor.droppableId===xe.descriptor.id},ae={point:wt,value:0},de={invisible:{},visible:{},all:[]},Se={displaced:de,displacedBy:ae,at:null},Ce=function(ie,xe){return function(rt){return ie<=rt&&rt<=xe}},Ie=function(ie){var xe=Ce(ie.top,ie.bottom),rt=Ce(ie.left,ie.right);return function(It){var Jt=xe(It.top)&&xe(It.bottom)&&rt(It.left)&&rt(It.right);if(Jt)return!0;var sr=xe(It.top)||xe(It.bottom),cr=rt(It.left)||rt(It.right),wr=sr&&cr;if(wr)return!0;var Qr=It.top<ie.top&&It.bottom>ie.bottom,Gr=It.left<ie.left&&It.right>ie.right,Pr=Qr&&Gr;if(Pr)return!0;var Fr=Qr&&cr||Gr&&sr;return Fr}},Te=function(ie){var xe=Ce(ie.top,ie.bottom),rt=Ce(ie.left,ie.right);return function(It){var Jt=xe(It.top)&&xe(It.bottom)&&rt(It.left)&&rt(It.right);return Jt}},Ee={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},He={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},st=function(ie){return function(xe){var rt=Ce(xe.top,xe.bottom),It=Ce(xe.left,xe.right);return function(Jt){return ie===Ee?rt(Jt.top)&&rt(Jt.bottom):It(Jt.left)&&It(Jt.right)}}},vt=function(ie,xe){var rt=xe.frame?xe.frame.scroll.diff.displacement:wt;return ke(ie,rt)},ee=function(ie,xe,rt){return xe.subject.active?rt(xe.subject.active)(ie):!1},oe=function(ie,xe,rt){return rt(xe)(ie)},k=function(ie){var xe=ie.target,rt=ie.destination,It=ie.viewport,Jt=ie.withDroppableDisplacement,sr=ie.isVisibleThroughFrameFn,cr=Jt?vt(xe,rt):xe;return ee(cr,rt,sr)&&oe(cr,It,sr)},$=function(ie){return k(Object(m.a)({},ie,{isVisibleThroughFrameFn:Ie}))},se=function(ie){return k(Object(m.a)({},ie,{isVisibleThroughFrameFn:Te}))},ge=function(ie){return k(Object(m.a)({},ie,{isVisibleThroughFrameFn:st(ie.destination.axis)}))},Ae=function(ie,xe,rt){if(typeof rt=="boolean")return rt;if(!xe)return!0;var It=xe.invisible,Jt=xe.visible;if(It[ie])return!1;var sr=Jt[ie];return sr?sr.shouldAnimate:!0};function Me(Ve,ie){var xe=Ve.page.marginBox,rt={top:ie.point.y,right:0,bottom:0,left:ie.point.x};return n(c(xe,rt))}function et(Ve){var ie=Ve.afterDragging,xe=Ve.destination,rt=Ve.displacedBy,It=Ve.viewport,Jt=Ve.forceShouldAnimate,sr=Ve.last;return ie.reduce(function(wr,Qr){var Gr=Me(Qr,rt),Pr=Qr.descriptor.id;wr.all.push(Pr);var Fr=$({target:Gr,destination:xe,viewport:It,withDroppableDisplacement:!0});if(!Fr)return wr.invisible[Qr.descriptor.id]=!0,wr;var Xr=Ae(Pr,sr,Jt),un={draggableId:Pr,shouldAnimate:Xr};return wr.visible[Pr]=un,wr},{all:[],visible:{},invisible:{}})}function Wt(Ve,ie){if(!Ve.length)return 0;var xe=Ve[Ve.length-1].descriptor.index;return ie.inHomeList?xe:xe+1}function er(Ve){var ie=Ve.insideDestination,xe=Ve.inHomeList,rt=Ve.displacedBy,It=Ve.destination,Jt=Wt(ie,{inHomeList:xe});return{displaced:de,displacedBy:rt,at:{type:"REORDER",destination:{droppableId:It.descriptor.id,index:Jt}}}}function Ct(Ve){var ie=Ve.draggable,xe=Ve.insideDestination,rt=Ve.destination,It=Ve.viewport,Jt=Ve.displacedBy,sr=Ve.last,cr=Ve.index,wr=Ve.forceShouldAnimate,Qr=ce(ie,rt);if(cr==null)return er({insideDestination:xe,inHomeList:Qr,displacedBy:Jt,destination:rt});var Gr=Xe(xe,function(hn){return hn.descriptor.index===cr});if(!Gr)return er({insideDestination:xe,inHomeList:Qr,displacedBy:Jt,destination:rt});var Pr=Mt(ie,xe),Fr=xe.indexOf(Gr),Xr=Pr.slice(Fr),un=et({afterDragging:Xr,destination:rt,displacedBy:Jt,last:sr,viewport:It.frame,forceShouldAnimate:wr});return{displaced:un,displacedBy:Jt,at:{type:"REORDER",destination:{droppableId:rt.descriptor.id,index:cr}}}}function Ht(Ve,ie){return Boolean(ie.effected[Ve])}var kt=function(ie){var xe=ie.isMovingForward,rt=ie.destination,It=ie.draggables,Jt=ie.combine,sr=ie.afterCritical;if(!rt.isCombineEnabled)return null;var cr=Jt.draggableId,wr=It[cr],Qr=wr.descriptor.index,Gr=Ht(cr,sr);return Gr?xe?Qr:Qr-1:xe?Qr+1:Qr},Zt=function(ie){var xe=ie.isMovingForward,rt=ie.isInHomeList,It=ie.insideDestination,Jt=ie.location;if(!It.length)return null;var sr=Jt.index,cr=xe?sr+1:sr-1,wr=It[0].descriptor.index,Qr=It[It.length-1].descriptor.index,Gr=rt?Qr:Qr+1;return cr<wr||cr>Gr?null:cr},Et=function(ie){var xe=ie.isMovingForward,rt=ie.isInHomeList,It=ie.draggable,Jt=ie.draggables,sr=ie.destination,cr=ie.insideDestination,wr=ie.previousImpact,Qr=ie.viewport,Gr=ie.afterCritical,Pr=wr.at;if(Pr||be(!1),Pr.type==="REORDER"){var Fr=Zt({isMovingForward:xe,isInHomeList:rt,location:Pr.destination,insideDestination:cr});return Fr==null?null:Ct({draggable:It,insideDestination:cr,destination:sr,viewport:Qr,last:wr.displaced,displacedBy:wr.displacedBy,index:Fr})}var Xr=kt({isMovingForward:xe,destination:sr,displaced:wr.displaced,draggables:Jt,combine:Pr.combine,afterCritical:Gr});return Xr==null?null:Ct({draggable:It,insideDestination:cr,destination:sr,viewport:Qr,last:wr.displaced,displacedBy:wr.displacedBy,index:Xr})},ur=function(ie){var xe=ie.displaced,rt=ie.afterCritical,It=ie.combineWith,Jt=ie.displacedBy,sr=Boolean(xe.visible[It]||xe.invisible[It]);return Ht(It,rt)?sr?wt:Re(Jt.point):sr?Jt.point:wt},rr=function(ie){var xe=ie.afterCritical,rt=ie.impact,It=ie.draggables,Jt=Kt(rt);Jt||be(!1);var sr=Jt.draggableId,cr=It[sr].page.borderBox.center,wr=ur({displaced:rt.displaced,afterCritical:xe,combineWith:sr,displacedBy:rt.displacedBy});return Ye(cr,wr)},Ke=function(ie,xe){return xe.margin[ie.start]+xe.borderBox[ie.size]/2},nt=function(ie,xe){return xe.margin[ie.end]+xe.borderBox[ie.size]/2},Ge=function(ie,xe,rt){return xe[ie.crossAxisStart]+rt.margin[ie.crossAxisStart]+rt.borderBox[ie.crossAxisSize]/2},ct=function(ie){var xe=ie.axis,rt=ie.moveRelativeTo,It=ie.isMoving;return Le(xe.line,rt.marginBox[xe.end]+Ke(xe,It),Ge(xe,rt.marginBox,It))},ht=function(ie){var xe=ie.axis,rt=ie.moveRelativeTo,It=ie.isMoving;return Le(xe.line,rt.marginBox[xe.start]-nt(xe,It),Ge(xe,rt.marginBox,It))},ut=function(ie){var xe=ie.axis,rt=ie.moveInto,It=ie.isMoving;return Le(xe.line,rt.contentBox[xe.start]+Ke(xe,It),Ge(xe,rt.contentBox,It))},We=function(ie){var xe=ie.impact,rt=ie.draggable,It=ie.draggables,Jt=ie.droppable,sr=ie.afterCritical,cr=qt(Jt.descriptor.id,It),wr=rt.page,Qr=Jt.axis;if(!cr.length)return ut({axis:Qr,moveInto:Jt.page,isMoving:wr});var Gr=xe.displaced,Pr=xe.displacedBy,Fr=Gr.all[0];if(Fr){var Xr=It[Fr];if(Ht(Fr,sr))return ht({axis:Qr,moveRelativeTo:Xr.page,isMoving:wr});var un=C(Xr.page,Pr.point);return ht({axis:Qr,moveRelativeTo:un,isMoving:wr})}var hn=cr[cr.length-1];if(hn.descriptor.id===rt.descriptor.id)return wr.borderBox.center;if(Ht(hn.descriptor.id,sr)){var qn=C(hn.page,Re(sr.displacedBy.point));return ct({axis:Qr,moveRelativeTo:qn,isMoving:wr})}return ct({axis:Qr,moveRelativeTo:hn.page,isMoving:wr})},tt=function(ie,xe){var rt=ie.frame;return rt?Ye(xe,rt.scroll.diff.displacement):xe},ft=function(ie){var xe=ie.impact,rt=ie.draggable,It=ie.droppable,Jt=ie.draggables,sr=ie.afterCritical,cr=rt.page.borderBox.center,wr=xe.at;return It&&wr?wr.type==="REORDER"?We({impact:xe,draggable:rt,draggables:Jt,droppable:It,afterCritical:sr}):rr({impact:xe,draggables:Jt,afterCritical:sr}):cr},Yt=function(ie){var xe=ft(ie),rt=ie.droppable,It=rt?tt(rt,xe):xe;return It},Dt=function(ie,xe){var rt=mt(xe,ie.scroll.initial),It=Re(rt),Jt=n({top:xe.y,bottom:xe.y+ie.frame.height,left:xe.x,right:xe.x+ie.frame.width}),sr={frame:Jt,scroll:{initial:ie.scroll.initial,max:ie.scroll.max,current:xe,diff:{value:rt,displacement:It}}};return sr};function vr(Ve,ie){return Ve.map(function(xe){return ie[xe]})}function yr(Ve,ie){for(var xe=0;xe<ie.length;xe++){var rt=ie[xe].visible[Ve];if(rt)return rt}return null}var Dr=function(ie){var xe=ie.impact,rt=ie.viewport,It=ie.destination,Jt=ie.draggables,sr=ie.maxScrollChange,cr=Dt(rt,Ye(rt.scroll.current,sr)),wr=It.frame?Ze(It,Ye(It.frame.scroll.current,sr)):It,Qr=xe.displaced,Gr=et({afterDragging:vr(Qr.all,Jt),destination:It,displacedBy:xe.displacedBy,viewport:cr.frame,last:Qr,forceShouldAnimate:!1}),Pr=et({afterDragging:vr(Qr.all,Jt),destination:wr,displacedBy:xe.displacedBy,viewport:rt.frame,last:Qr,forceShouldAnimate:!1}),Fr={},Xr={},un=[Qr,Gr,Pr];Qr.all.forEach(function(qn){var li=yr(qn,un);if(li){Xr[qn]=li;return}Fr[qn]=!0});var hn=Object(m.a)({},xe,{displaced:{all:Qr.all,invisible:Fr,visible:Xr}});return hn},Rr=function(ie,xe){return Ye(ie.scroll.diff.displacement,xe)},Jr=function(ie){var xe=ie.pageBorderBoxCenter,rt=ie.draggable,It=ie.viewport,Jt=Rr(It,xe),sr=mt(Jt,rt.page.borderBox.center);return Ye(rt.client.borderBox.center,sr)},$r=function(ie){var xe=ie.draggable,rt=ie.destination,It=ie.newPageBorderBoxCenter,Jt=ie.viewport,sr=ie.withDroppableDisplacement,cr=ie.onlyOnMainAxis,wr=cr===void 0?!1:cr,Qr=mt(It,xe.page.borderBox.center),Gr=ke(xe.page.borderBox,Qr),Pr={target:Gr,destination:rt,withDroppableDisplacement:sr,viewport:Jt};return wr?ge(Pr):se(Pr)},xr=function(ie){var xe=ie.isMovingForward,rt=ie.draggable,It=ie.destination,Jt=ie.draggables,sr=ie.previousImpact,cr=ie.viewport,wr=ie.previousPageBorderBoxCenter,Qr=ie.previousClientSelection,Gr=ie.afterCritical;if(!It.isEnabled)return null;var Pr=qt(It.descriptor.id,Jt),Fr=ce(rt,It),Xr=me({isMovingForward:xe,draggable:rt,destination:It,insideDestination:Pr,previousImpact:sr})||Et({isMovingForward:xe,isInHomeList:Fr,draggable:rt,draggables:Jt,destination:It,insideDestination:Pr,previousImpact:sr,viewport:cr,afterCritical:Gr});if(!Xr)return null;var un=Yt({impact:Xr,draggable:rt,droppable:It,draggables:Jt,afterCritical:Gr}),hn=$r({draggable:rt,destination:It,newPageBorderBoxCenter:un,viewport:cr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(hn){var qn=Jr({pageBorderBoxCenter:un,draggable:rt,viewport:cr});return{clientSelection:qn,impact:Xr,scrollJumpRequest:null}}var li=mt(un,wr),ri=Dr({impact:Xr,viewport:cr,destination:It,draggables:Jt,maxScrollChange:li});return{clientSelection:Qr,impact:ri,scrollJumpRequest:li}},Vr=function(ie){var xe=ie.subject.active;return xe||be(!1),xe},Or=function(ie){var xe=ie.isMovingForward,rt=ie.pageBorderBoxCenter,It=ie.source,Jt=ie.droppables,sr=ie.viewport,cr=It.subject.active;if(!cr)return null;var wr=It.axis,Qr=Ce(cr[wr.start],cr[wr.end]),Gr=zt(Jt).filter(function(Fr){return Fr!==It}).filter(function(Fr){return Fr.isEnabled}).filter(function(Fr){return Boolean(Fr.subject.active)}).filter(function(Fr){return Ie(sr.frame)(Vr(Fr))}).filter(function(Fr){var Xr=Vr(Fr);return xe?cr[wr.crossAxisEnd]<Xr[wr.crossAxisEnd]:Xr[wr.crossAxisStart]<cr[wr.crossAxisStart]}).filter(function(Fr){var Xr=Vr(Fr),un=Ce(Xr[wr.start],Xr[wr.end]);return Qr(Xr[wr.start])||Qr(Xr[wr.end])||un(cr[wr.start])||un(cr[wr.end])}).sort(function(Fr,Xr){var un=Vr(Fr)[wr.crossAxisStart],hn=Vr(Xr)[wr.crossAxisStart];return xe?un-hn:hn-un}).filter(function(Fr,Xr,un){return Vr(Fr)[wr.crossAxisStart]===Vr(un[0])[wr.crossAxisStart]});if(!Gr.length)return null;if(Gr.length===1)return Gr[0];var Pr=Gr.filter(function(Fr){var Xr=Ce(Vr(Fr)[wr.start],Vr(Fr)[wr.end]);return Xr(rt[wr.line])});return Pr.length===1?Pr[0]:Pr.length>1?Pr.sort(function(Fr,Xr){return Vr(Fr)[wr.start]-Vr(Xr)[wr.start]})[0]:Gr.sort(function(Fr,Xr){var un=Ot(rt,Vt(Vr(Fr))),hn=Ot(rt,Vt(Vr(Xr)));return un!==hn?un-hn:Vr(Fr)[wr.start]-Vr(Xr)[wr.start]})[0]},nr=function(ie,xe){var rt=ie.page.borderBox.center;return Ht(ie.descriptor.id,xe)?mt(rt,xe.displacedBy.point):rt},pr=function(ie,xe){var rt=ie.page.borderBox;return Ht(ie.descriptor.id,xe)?ke(rt,Re(xe.displacedBy.point)):rt},dr=function(ie){var xe=ie.pageBorderBoxCenter,rt=ie.viewport,It=ie.destination,Jt=ie.insideDestination,sr=ie.afterCritical,cr=Jt.filter(function(wr){return se({target:pr(wr,sr),destination:It,viewport:rt.frame,withDroppableDisplacement:!0})}).sort(function(wr,Qr){var Gr=at(xe,tt(It,nr(wr,sr))),Pr=at(xe,tt(It,nr(Qr,sr)));return Gr<Pr?-1:Pr<Gr?1:wr.descriptor.index-Qr.descriptor.index});return cr[0]||null},fr=x(function(ie,xe){var rt=xe[ie.line];return{value:rt,point:Le(ie.line,rt)}}),_r=function(ie,xe,rt){var It=ie.axis;if(ie.descriptor.mode==="virtual")return Le(It.line,xe[It.line]);var Jt=ie.subject.page.contentBox[It.size],sr=qt(ie.descriptor.id,rt),cr=sr.reduce(function(Gr,Pr){return Gr+Pr.client.marginBox[It.size]},0),wr=cr+xe[It.line],Qr=wr-Jt;return Qr<=0?null:Le(It.line,Qr)},Zr=function(ie,xe){return Object(m.a)({},ie,{scroll:Object(m.a)({},ie.scroll,{max:xe})})},on=function(ie,xe,rt){var It=ie.frame;ce(xe,ie)&&be(!1),ie.subject.withPlaceholder&&be(!1);var Jt=fr(ie.axis,xe.displaceBy).point,sr=_r(ie,Jt,rt),cr={placeholderSize:Jt,increasedBy:sr,oldFrameMaxScroll:ie.frame?ie.frame.scroll.max:null};if(!It){var wr=Ut({page:ie.subject.page,withPlaceholder:cr,axis:ie.axis,frame:ie.frame});return Object(m.a)({},ie,{subject:wr})}var Qr=sr?Ye(It.scroll.max,sr):It.scroll.max,Gr=Zr(It,Qr),Pr=Ut({page:ie.subject.page,withPlaceholder:cr,axis:ie.axis,frame:Gr});return Object(m.a)({},ie,{subject:Pr,frame:Gr})},jn=function(ie){var xe=ie.subject.withPlaceholder;xe||be(!1);var rt=ie.frame;if(!rt){var It=Ut({page:ie.subject.page,axis:ie.axis,frame:null,withPlaceholder:null});return Object(m.a)({},ie,{subject:It})}var Jt=xe.oldFrameMaxScroll;Jt||be(!1);var sr=Zr(rt,Jt),cr=Ut({page:ie.subject.page,axis:ie.axis,frame:sr,withPlaceholder:null});return Object(m.a)({},ie,{subject:cr,frame:sr})},Ur=function(ie){var xe=ie.previousPageBorderBoxCenter,rt=ie.moveRelativeTo,It=ie.insideDestination,Jt=ie.draggable,sr=ie.draggables,cr=ie.destination,wr=ie.viewport,Qr=ie.afterCritical;if(!rt){if(It.length)return null;var Gr={displaced:de,displacedBy:ae,at:{type:"REORDER",destination:{droppableId:cr.descriptor.id,index:0}}},Pr=Yt({impact:Gr,draggable:Jt,droppable:cr,draggables:sr,afterCritical:Qr}),Fr=ce(Jt,cr)?cr:on(cr,Jt,sr),Xr=$r({draggable:Jt,destination:Fr,newPageBorderBoxCenter:Pr,viewport:wr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Xr?Gr:null}var un=Boolean(xe[cr.axis.line]<=rt.page.borderBox.center[cr.axis.line]),hn=function(){var li=rt.descriptor.index;return rt.descriptor.id===Jt.descriptor.id||un?li:li+1}(),qn=fr(cr.axis,Jt.displaceBy);return Ct({draggable:Jt,insideDestination:It,destination:cr,viewport:wr,displacedBy:qn,last:de,index:hn})},En=function(ie){var xe=ie.isMovingForward,rt=ie.previousPageBorderBoxCenter,It=ie.draggable,Jt=ie.isOver,sr=ie.draggables,cr=ie.droppables,wr=ie.viewport,Qr=ie.afterCritical,Gr=Or({isMovingForward:xe,pageBorderBoxCenter:rt,source:Jt,droppables:cr,viewport:wr});if(!Gr)return null;var Pr=qt(Gr.descriptor.id,sr),Fr=dr({pageBorderBoxCenter:rt,viewport:wr,destination:Gr,insideDestination:Pr,afterCritical:Qr}),Xr=Ur({previousPageBorderBoxCenter:rt,destination:Gr,draggable:It,draggables:sr,moveRelativeTo:Fr,insideDestination:Pr,viewport:wr,afterCritical:Qr});if(!Xr)return null;var un=Yt({impact:Xr,draggable:It,droppable:Gr,draggables:sr,afterCritical:Qr}),hn=Jr({pageBorderBoxCenter:un,draggable:It,viewport:wr});return{clientSelection:hn,impact:Xr,scrollJumpRequest:null}},pn=function(ie){var xe=ie.at;return xe?xe.type==="REORDER"?xe.destination.droppableId:xe.combine.droppableId:null},On=function(ie,xe){var rt=pn(ie);return rt?xe[rt]:null},Vn=function(ie){var xe=ie.state,rt=ie.type,It=On(xe.impact,xe.dimensions.droppables),Jt=Boolean(It),sr=xe.dimensions.droppables[xe.critical.droppable.id],cr=It||sr,wr=cr.axis.direction,Qr=wr==="vertical"&&(rt==="MOVE_UP"||rt==="MOVE_DOWN")||wr==="horizontal"&&(rt==="MOVE_LEFT"||rt==="MOVE_RIGHT");if(Qr&&!Jt)return null;var Gr=rt==="MOVE_DOWN"||rt==="MOVE_RIGHT",Pr=xe.dimensions.draggables[xe.critical.draggable.id],Fr=xe.current.page.borderBoxCenter,Xr=xe.dimensions,un=Xr.draggables,hn=Xr.droppables;return Qr?xr({isMovingForward:Gr,previousPageBorderBoxCenter:Fr,draggable:Pr,destination:cr,draggables:un,viewport:xe.viewport,previousClientSelection:xe.current.client.selection,previousImpact:xe.impact,afterCritical:xe.afterCritical}):En({isMovingForward:Gr,previousPageBorderBoxCenter:Fr,draggable:Pr,isOver:cr,draggables:un,droppables:hn,viewport:xe.viewport,afterCritical:xe.afterCritical})};function Nn(Ve){return Ve.phase==="DRAGGING"||Ve.phase==="COLLECTING"}function ui(Ve){var ie=Ce(Ve.top,Ve.bottom),xe=Ce(Ve.left,Ve.right);return function(It){return ie(It.y)&&xe(It.x)}}function Xn(Ve,ie){return Ve.left<ie.right&&Ve.right>ie.left&&Ve.top<ie.bottom&&Ve.bottom>ie.top}function mn(Ve){var ie=Ve.pageBorderBox,xe=Ve.draggable,rt=Ve.candidates,It=xe.page.borderBox.center,Jt=rt.map(function(sr){var cr=sr.axis,wr=Le(sr.axis.line,ie.center[cr.line],sr.page.borderBox.center[cr.crossAxisLine]);return{id:sr.descriptor.id,distance:at(It,wr)}}).sort(function(sr,cr){return cr.distance-sr.distance});return Jt[0]?Jt[0].id:null}function cn(Ve){var ie=Ve.pageBorderBox,xe=Ve.draggable,rt=Ve.droppables,It=zt(rt).filter(function(Jt){if(!Jt.isEnabled)return!1;var sr=Jt.subject.active;if(!sr)return!1;if(!Xn(ie,sr))return!1;if(ui(sr)(ie.center))return!0;var cr=Jt.axis,wr=sr.center[cr.crossAxisLine],Qr=ie[cr.crossAxisStart],Gr=ie[cr.crossAxisEnd],Pr=Ce(sr[cr.crossAxisStart],sr[cr.crossAxisEnd]),Fr=Pr(Qr),Xr=Pr(Gr);return!Fr&&!Xr?!0:Fr?Qr<wr:Gr>wr});return It.length?It.length===1?It[0].descriptor.id:mn({pageBorderBox:ie,draggable:xe,candidates:It}):null}var da=function(ie,xe){return n(ke(ie,xe))},Ta=function(ie,xe){var rt=ie.frame;return rt?da(xe,rt.scroll.diff.value):xe};function ia(Ve){var ie=Ve.displaced,xe=Ve.id;return Boolean(ie.visible[xe]||ie.invisible[xe])}function fi(Ve){var ie=Ve.draggable,xe=Ve.closest,rt=Ve.inHomeList;return xe?rt&&xe.descriptor.index>ie.descriptor.index?xe.descriptor.index-1:xe.descriptor.index:null}var ki=function(ie){var xe=ie.pageBorderBoxWithDroppableScroll,rt=ie.draggable,It=ie.destination,Jt=ie.insideDestination,sr=ie.last,cr=ie.viewport,wr=ie.afterCritical,Qr=It.axis,Gr=fr(It.axis,rt.displaceBy),Pr=Gr.value,Fr=xe[Qr.start],Xr=xe[Qr.end],un=Mt(rt,Jt),hn=Xe(un,function(li){var ri=li.descriptor.id,$i=li.page.borderBox.center[Qr.line],yi=Ht(ri,wr),Va=ia({displaced:sr,id:ri});return yi?Va?Xr<=$i:Fr<$i-Pr:Va?Xr<=$i+Pr:Fr<$i}),qn=fi({draggable:rt,closest:hn,inHomeList:ce(rt,It)});return Ct({draggable:rt,insideDestination:Jt,destination:It,viewport:cr,last:sr,displacedBy:Gr,index:qn})},Qn=4,ea=function(ie){var xe=ie.draggable,rt=ie.pageBorderBoxWithDroppableScroll,It=ie.previousImpact,Jt=ie.destination,sr=ie.insideDestination,cr=ie.afterCritical;if(!Jt.isCombineEnabled)return null;var wr=Jt.axis,Qr=fr(Jt.axis,xe.displaceBy),Gr=Qr.value,Pr=rt[wr.start],Fr=rt[wr.end],Xr=Mt(xe,sr),un=Xe(Xr,function(qn){var li=qn.descriptor.id,ri=qn.page.borderBox,$i=ri[wr.size],yi=$i/Qn,Va=Ht(li,cr),bi=ia({displaced:It.displaced,id:li});return Va?bi?Fr>ri[wr.start]+yi&&Fr<ri[wr.end]-yi:Pr>ri[wr.start]-Gr+yi&&Pr<ri[wr.end]-Gr-yi:bi?Fr>ri[wr.start]+Gr+yi&&Fr<ri[wr.end]+Gr-yi:Pr>ri[wr.start]+yi&&Pr<ri[wr.end]-yi});if(!un)return null;var hn={displacedBy:Qr,displaced:It.displaced,at:{type:"COMBINE",combine:{draggableId:un.descriptor.id,droppableId:Jt.descriptor.id}}};return hn},An=function(ie){var xe=ie.pageOffset,rt=ie.draggable,It=ie.draggables,Jt=ie.droppables,sr=ie.previousImpact,cr=ie.viewport,wr=ie.afterCritical,Qr=da(rt.page.borderBox,xe),Gr=cn({pageBorderBox:Qr,draggable:rt,droppables:Jt});if(!Gr)return Se;var Pr=Jt[Gr],Fr=qt(Pr.descriptor.id,It),Xr=Ta(Pr,Qr);return ea({pageBorderBoxWithDroppableScroll:Xr,draggable:rt,previousImpact:sr,destination:Pr,insideDestination:Fr,afterCritical:wr})||ki({pageBorderBoxWithDroppableScroll:Xr,draggable:rt,destination:Pr,insideDestination:Fr,last:sr.displaced,viewport:cr,afterCritical:wr})},wn=function(ie,xe){var rt;return Object(m.a)({},ie,(rt={},rt[xe.descriptor.id]=xe,rt))},Ln=function(ie){var xe=ie.previousImpact,rt=ie.impact,It=ie.droppables,Jt=pn(xe),sr=pn(rt);if(!Jt)return It;if(Jt===sr)return It;var cr=It[Jt];if(!cr.subject.withPlaceholder)return It;var wr=jn(cr);return wn(It,wr)},Un=function(ie){var xe=ie.draggable,rt=ie.draggables,It=ie.droppables,Jt=ie.previousImpact,sr=ie.impact,cr=Ln({previousImpact:Jt,impact:sr,droppables:It}),wr=pn(sr);if(!wr)return cr;var Qr=It[wr];if(ce(xe,Qr))return cr;if(Qr.subject.withPlaceholder)return cr;var Gr=on(Qr,xe,rt);return wn(cr,Gr)},kn=function(ie){var xe=ie.state,rt=ie.clientSelection,It=ie.dimensions,Jt=ie.viewport,sr=ie.impact,cr=ie.scrollJumpRequest,wr=Jt||xe.viewport,Qr=It||xe.dimensions,Gr=rt||xe.current.client.selection,Pr=mt(Gr,xe.initial.client.selection),Fr={offset:Pr,selection:Gr,borderBoxCenter:Ye(xe.initial.client.borderBoxCenter,Pr)},Xr={selection:Ye(Fr.selection,wr.scroll.current),borderBoxCenter:Ye(Fr.borderBoxCenter,wr.scroll.current),offset:Ye(Fr.offset,wr.scroll.diff.value)},un={client:Fr,page:Xr};if(xe.phase==="COLLECTING")return Object(m.a)({phase:"COLLECTING"},xe,{dimensions:Qr,viewport:wr,current:un});var hn=Qr.draggables[xe.critical.draggable.id],qn=sr||An({pageOffset:Xr.offset,draggable:hn,draggables:Qr.draggables,droppables:Qr.droppables,previousImpact:xe.impact,viewport:wr,afterCritical:xe.afterCritical}),li=Un({draggable:hn,impact:qn,previousImpact:xe.impact,draggables:Qr.draggables,droppables:Qr.droppables}),ri=Object(m.a)({},xe,{current:un,dimensions:{draggables:Qr.draggables,droppables:li},impact:qn,viewport:wr,scrollJumpRequest:cr||null,forceShouldAnimate:cr?!1:null});return ri};function ti(Ve,ie){return Ve.map(function(xe){return ie[xe]})}var di=function(ie){var xe=ie.impact,rt=ie.viewport,It=ie.draggables,Jt=ie.destination,sr=ie.forceShouldAnimate,cr=xe.displaced,wr=ti(cr.all,It),Qr=et({afterDragging:wr,destination:Jt,displacedBy:xe.displacedBy,viewport:rt.frame,forceShouldAnimate:sr,last:cr});return Object(m.a)({},xe,{displaced:Qr})},Na=function(ie){var xe=ie.impact,rt=ie.draggable,It=ie.droppable,Jt=ie.draggables,sr=ie.viewport,cr=ie.afterCritical,wr=Yt({impact:xe,draggable:rt,draggables:Jt,droppable:It,afterCritical:cr});return Jr({pageBorderBoxCenter:wr,draggable:rt,viewport:sr})},Gi=function(ie){var xe=ie.state,rt=ie.dimensions,It=ie.viewport;xe.movementMode==="SNAP"||be(!1);var Jt=xe.impact,sr=It||xe.viewport,cr=rt||xe.dimensions,wr=cr.draggables,Qr=cr.droppables,Gr=wr[xe.critical.draggable.id],Pr=pn(Jt);Pr||be(!1);var Fr=Qr[Pr],Xr=di({impact:Jt,viewport:sr,destination:Fr,draggables:wr}),un=Na({impact:Xr,draggable:Gr,droppable:Fr,draggables:wr,viewport:sr,afterCritical:xe.afterCritical});return kn({impact:Xr,clientSelection:un,state:xe,dimensions:cr,viewport:sr})},ba=function(ie){return{index:ie.index,droppableId:ie.droppableId}},Pa=function(ie){var xe=ie.draggable,rt=ie.home,It=ie.draggables,Jt=ie.viewport,sr=fr(rt.axis,xe.displaceBy),cr=qt(rt.descriptor.id,It),wr=cr.indexOf(xe);wr!==-1||be(!1);var Qr=cr.slice(wr+1),Gr=Qr.reduce(function(un,hn){return un[hn.descriptor.id]=!0,un},{}),Pr={inVirtualList:rt.descriptor.mode==="virtual",displacedBy:sr,effected:Gr},Fr=et({afterDragging:Qr,destination:rt,displacedBy:sr,last:null,viewport:Jt.frame,forceShouldAnimate:!1}),Xr={displaced:Fr,displacedBy:sr,at:{type:"REORDER",destination:ba(xe.descriptor)}};return{impact:Xr,afterCritical:Pr}},Ga=function(ie,xe){return{draggables:ie.draggables,droppables:wn(ie.droppables,xe)}},Qi=function(ie){},Lo=function(ie){},sa=function(ie){var xe=ie.draggable,rt=ie.offset,It=ie.initialWindowScroll,Jt=C(xe.client,rt),sr=S(Jt,It),cr=Object(m.a)({},xe,{placeholder:Object(m.a)({},xe.placeholder,{client:Jt}),client:Jt,page:sr});return cr},ji=function(ie){var xe=ie.frame;return xe||be(!1),xe},wa=function(ie){var xe=ie.additions,rt=ie.updatedDroppables,It=ie.viewport,Jt=It.scroll.diff.value;return xe.map(function(sr){var cr=sr.descriptor.droppableId,wr=rt[cr],Qr=ji(wr),Gr=Qr.scroll.diff.value,Pr=Ye(Jt,Gr),Fr=sa({draggable:sr,offset:Pr,initialWindowScroll:It.scroll.initial});return Fr})},ga=function(ie){var xe=ie.state,rt=ie.published;Qi();var It=rt.modified.map(function(yi){var Va=xe.dimensions.droppables[yi.droppableId],bi=Ze(Va,yi.scroll);return bi}),Jt=Object(m.a)({},xe.dimensions.droppables,{},je(It)),sr=ar(wa({additions:rt.additions,updatedDroppables:Jt,viewport:xe.viewport})),cr=Object(m.a)({},xe.dimensions.draggables,{},sr);rt.removals.forEach(function(yi){delete cr[yi]});var wr={droppables:Jt,draggables:cr},Qr=pn(xe.impact),Gr=Qr?wr.droppables[Qr]:null,Pr=wr.draggables[xe.critical.draggable.id],Fr=wr.droppables[xe.critical.droppable.id],Xr=Pa({draggable:Pr,home:Fr,draggables:cr,viewport:xe.viewport}),un=Xr.impact,hn=Xr.afterCritical,qn=Gr&&Gr.isCombineEnabled?xe.impact:un,li=An({pageOffset:xe.current.page.offset,draggable:wr.draggables[xe.critical.draggable.id],draggables:wr.draggables,droppables:wr.droppables,previousImpact:qn,viewport:xe.viewport,afterCritical:hn});Lo();var ri=Object(m.a)({phase:"DRAGGING"},xe,{phase:"DRAGGING",impact:li,onLiftImpact:un,dimensions:wr,afterCritical:hn,forceShouldAnimate:!1});if(xe.phase==="COLLECTING")return ri;var $i=Object(m.a)({phase:"DROP_PENDING"},ri,{phase:"DROP_PENDING",reason:xe.reason,isWaiting:!1});return $i},po=function(ie){return ie.movementMode==="SNAP"},Bn=function(ie,xe,rt){var It=Ga(ie.dimensions,xe);return!po(ie)||rt?kn({state:ie,dimensions:It}):Gi({state:ie,dimensions:It})};function ta(Ve){return Ve.isDragging&&Ve.movementMode==="SNAP"?Object(m.a)({phase:"DRAGGING"},Ve,{scrollJumpRequest:null}):Ve}var So={phase:"IDLE",completed:null,shouldFlush:!1},To=function(ie,xe){if(ie===void 0&&(ie=So),xe.type==="FLUSH")return Object(m.a)({},So,{shouldFlush:!0});if(xe.type==="INITIAL_PUBLISH"){ie.phase==="IDLE"||be(!1);var rt=xe.payload,It=rt.critical,Jt=rt.clientSelection,sr=rt.viewport,cr=rt.dimensions,wr=rt.movementMode,Qr=cr.draggables[It.draggable.id],Gr=cr.droppables[It.droppable.id],Pr={selection:Jt,borderBoxCenter:Qr.client.borderBox.center,offset:wt},Fr={client:Pr,page:{selection:Ye(Pr.selection,sr.scroll.initial),borderBoxCenter:Ye(Pr.selection,sr.scroll.initial),offset:Ye(Pr.selection,sr.scroll.diff.value)}},Xr=zt(cr.droppables).every(function(X){return!X.isFixedOnPage}),un=Pa({draggable:Qr,home:Gr,draggables:cr.draggables,viewport:sr}),hn=un.impact,qn=un.afterCritical,li={phase:"DRAGGING",isDragging:!0,critical:It,movementMode:wr,dimensions:cr,initial:Fr,current:Fr,isWindowScrollAllowed:Xr,impact:hn,afterCritical:qn,onLiftImpact:hn,viewport:sr,scrollJumpRequest:null,forceShouldAnimate:null};return li}if(xe.type==="COLLECTION_STARTING"){if(ie.phase==="COLLECTING"||ie.phase==="DROP_PENDING")return ie;ie.phase==="DRAGGING"||be(!1);var ri=Object(m.a)({phase:"COLLECTING"},ie,{phase:"COLLECTING"});return ri}if(xe.type==="PUBLISH_WHILE_DRAGGING")return ie.phase==="COLLECTING"||ie.phase==="DROP_PENDING"||be(!1),ga({state:ie,published:xe.payload});if(xe.type==="MOVE"){if(ie.phase==="DROP_PENDING")return ie;Nn(ie)||be(!1);var $i=xe.payload.client;return Ue($i,ie.current.client.selection)?ie:kn({state:ie,clientSelection:$i,impact:po(ie)?ie.impact:null})}if(xe.type==="UPDATE_DROPPABLE_SCROLL"){if(ie.phase==="DROP_PENDING")return ta(ie);if(ie.phase==="COLLECTING")return ta(ie);Nn(ie)||be(!1);var yi=xe.payload,Va=yi.id,bi=yi.newScroll,uo=ie.dimensions.droppables[Va];if(!uo)return ie;var zo=Ze(uo,bi);return Bn(ie,zo,!1)}if(xe.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ie.phase==="DROP_PENDING")return ie;Nn(ie)||be(!1);var so=xe.payload,ko=so.id,g=so.isEnabled,I=ie.dimensions.droppables[ko];I||be(!1),I.isEnabled!==g||be(!1);var j=Object(m.a)({},I,{isEnabled:g});return Bn(ie,j,!0)}if(xe.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ie.phase==="DROP_PENDING")return ie;Nn(ie)||be(!1);var V=xe.payload,q=V.id,ve=V.isCombineEnabled,Je=ie.dimensions.droppables[q];Je||be(!1),Je.isCombineEnabled!==ve||be(!1);var St=Object(m.a)({},Je,{isCombineEnabled:ve});return Bn(ie,St,!0)}if(xe.type==="MOVE_BY_WINDOW_SCROLL"){if(ie.phase==="DROP_PENDING"||ie.phase==="DROP_ANIMATING")return ie;Nn(ie)||be(!1),ie.isWindowScrollAllowed||be(!1);var jt=xe.payload.newScroll;if(Ue(ie.viewport.scroll.current,jt))return ta(ie);var Gt=Dt(ie.viewport,jt);return po(ie)?Gi({state:ie,viewport:Gt}):kn({state:ie,viewport:Gt})}if(xe.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Nn(ie))return ie;var Lr=xe.payload.maxScroll;if(Ue(Lr,ie.viewport.scroll.max))return ie;var jr=Object(m.a)({},ie.viewport,{scroll:Object(m.a)({},ie.viewport.scroll,{max:Lr})});return Object(m.a)({phase:"DRAGGING"},ie,{viewport:jr})}if(xe.type==="MOVE_UP"||xe.type==="MOVE_DOWN"||xe.type==="MOVE_LEFT"||xe.type==="MOVE_RIGHT"){if(ie.phase==="COLLECTING"||ie.phase==="DROP_PENDING")return ie;ie.phase==="DRAGGING"||be(!1);var tn=Vn({state:ie,type:xe.type});return tn?kn({state:ie,impact:tn.impact,clientSelection:tn.clientSelection,scrollJumpRequest:tn.scrollJumpRequest}):ie}if(xe.type==="DROP_PENDING"){var nn=xe.payload.reason;ie.phase==="COLLECTING"||be(!1);var bn=Object(m.a)({phase:"DROP_PENDING"},ie,{phase:"DROP_PENDING",isWaiting:!0,reason:nn});return bn}if(xe.type==="DROP_ANIMATE"){var Fn=xe.payload,Jn=Fn.completed,Zn=Fn.dropDuration,ni=Fn.newHomeClientOffset;ie.phase==="DRAGGING"||ie.phase==="DROP_PENDING"||be(!1);var ai={phase:"DROP_ANIMATING",completed:Jn,dropDuration:Zn,newHomeClientOffset:ni,dimensions:ie.dimensions};return ai}if(xe.type==="DROP_COMPLETE"){var De=xe.payload.completed;return{phase:"IDLE",completed:De,shouldFlush:!1}}return ie},Ha=function(ie){return{type:"BEFORE_INITIAL_CAPTURE",payload:ie}},eo=function(ie){return{type:"LIFT",payload:ie}},Hi=function(ie){return{type:"INITIAL_PUBLISH",payload:ie}},$t=function(ie){return{type:"PUBLISH_WHILE_DRAGGING",payload:ie}},Tr=function(){return{type:"COLLECTION_STARTING",payload:null}},Kr=function(ie){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ie}},Ne=function(ie){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ie}},Lt=function(ie){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ie}},Xt=function(ie){return{type:"MOVE",payload:ie}},ir=function(ie){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ie}},Sr=function(ie){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ie}},gr=function(){return{type:"MOVE_UP",payload:null}},Mr=function(){return{type:"MOVE_DOWN",payload:null}},Hr=function(){return{type:"MOVE_RIGHT",payload:null}},kr=function(){return{type:"MOVE_LEFT",payload:null}},Yr=function(){return{type:"FLUSH",payload:null}},en=function(ie){return{type:"DROP_ANIMATE",payload:ie}},lt=function(ie){return{type:"DROP_COMPLETE",payload:ie}},Qt=function(ie){return{type:"DROP",payload:ie}},lr=function(ie){return{type:"DROP_PENDING",payload:ie}},mr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Er(Ve){if(Ve.length<=1)return;for(var ie=Ve.map(function(cr){return cr.descriptor.index}),xe={},rt=1;rt<ie.length;rt++){var It=ie[rt],Jt=ie[rt-1];It!==Jt+1&&(xe[It]=!0)}if(!Object.keys(xe).length)return;var sr=ie.map(function(cr){var wr=Boolean(xe[cr]);return wr?"[\u{1F525}"+cr+"]":""+cr}).join(", ")}function Br(Ve,ie){if(!1)var xe}var rn=function(ie){return function(xe){var rt=xe.getState,It=xe.dispatch;return function(Jt){return function(sr){if(sr.type!=="LIFT"){Jt(sr);return}var cr=sr.payload,wr=cr.id,Qr=cr.clientSelection,Gr=cr.movementMode,Pr=rt();Pr.phase==="DROP_ANIMATING"&&It(lt({completed:Pr.completed})),rt().phase==="IDLE"||be(!1),It(Yr()),It(Ha({draggableId:wr,movementMode:Gr}));var Fr={shouldPublishImmediately:Gr==="SNAP"},Xr={draggableId:wr,scrollOptions:Fr},un=ie.startPublishing(Xr),hn=un.critical,qn=un.dimensions,li=un.viewport;Br(hn,qn),It(Hi({critical:hn,dimensions:qn,clientSelection:Qr,movementMode:Gr,viewport:li}))}}}},dn=function(ie){return function(){return function(xe){return function(rt){rt.type==="INITIAL_PUBLISH"&&ie.dragging(),rt.type==="DROP_ANIMATE"&&ie.dropping(rt.payload.completed.result.reason),(rt.type==="FLUSH"||rt.type==="DROP_COMPLETE")&&ie.resting(),xe(rt)}}}},yn={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Dn={opacity:{drop:0,combining:.7},scale:{drop:.75}},gn={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Sn=gn.outOfTheWay+"s "+yn.outOfTheWay,_n={fluid:"opacity "+Sn,snap:"transform "+Sn+", opacity "+Sn,drop:function(ie){var xe=ie+"s "+yn.drop;return"transform "+xe+", opacity "+xe},outOfTheWay:"transform "+Sn,placeholder:"height "+Sn+", width "+Sn+", margin "+Sn},Cn=function(ie){return Ue(ie,wt)?null:"translate("+ie.x+"px, "+ie.y+"px)"},In={moveTo:Cn,drop:function(ie,xe){var rt=Cn(ie);return rt?xe?rt+" scale("+Dn.scale.drop+")":rt:null}},fn=gn.minDropTime,Tn=gn.maxDropTime,Yn=Tn-fn,Gn=1500,Hn=.6,zi=function(ie){var xe=ie.current,rt=ie.destination,It=ie.reason,Jt=at(xe,rt);if(Jt<=0)return fn;if(Jt>=Gn)return Tn;var sr=Jt/Gn,cr=fn+Yn*sr,wr=It==="CANCEL"?cr*Hn:cr;return Number(wr.toFixed(2))},Oi=function(ie){var xe=ie.impact,rt=ie.draggable,It=ie.dimensions,Jt=ie.viewport,sr=ie.afterCritical,cr=It.draggables,wr=It.droppables,Qr=pn(xe),Gr=Qr?wr[Qr]:null,Pr=wr[rt.descriptor.droppableId],Fr=Na({impact:xe,draggable:rt,draggables:cr,afterCritical:sr,droppable:Gr||Pr,viewport:Jt}),Xr=mt(Fr,rt.client.borderBox.center);return Xr},Di=function(ie){var xe=ie.draggables,rt=ie.reason,It=ie.lastImpact,Jt=ie.home,sr=ie.viewport,cr=ie.onLiftImpact;if(!It.at||rt!=="DROP"){var wr=di({draggables:xe,impact:cr,destination:Jt,viewport:sr,forceShouldAnimate:!0});return{impact:wr,didDropInsideDroppable:!1}}if(It.at.type==="REORDER")return{impact:It,didDropInsideDroppable:!0};var Qr=Object(m.a)({},It,{displaced:de});return{impact:Qr,didDropInsideDroppable:!0}},wi=function(ie){var xe=ie.getState,rt=ie.dispatch;return function(It){return function(Jt){if(Jt.type!=="DROP"){It(Jt);return}var sr=xe(),cr=Jt.payload.reason;if(sr.phase==="COLLECTING"){rt(lr({reason:cr}));return}if(sr.phase==="IDLE")return;var wr=sr.phase==="DROP_PENDING"&&sr.isWaiting;wr&&be(!1),sr.phase==="DRAGGING"||sr.phase==="DROP_PENDING"||be(!1);var Qr=sr.critical,Gr=sr.dimensions,Pr=Gr.draggables[sr.critical.draggable.id],Fr=Di({reason:cr,lastImpact:sr.impact,afterCritical:sr.afterCritical,onLiftImpact:sr.onLiftImpact,home:sr.dimensions.droppables[sr.critical.droppable.id],viewport:sr.viewport,draggables:sr.dimensions.draggables}),Xr=Fr.impact,un=Fr.didDropInsideDroppable,hn=un?or(Xr):null,qn=un?Kt(Xr):null,li={index:Qr.draggable.index,droppableId:Qr.droppable.id},ri={draggableId:Pr.descriptor.id,type:Pr.descriptor.type,source:li,reason:cr,mode:sr.movementMode,destination:hn,combine:qn},$i=Oi({impact:Xr,draggable:Pr,dimensions:Gr,viewport:sr.viewport,afterCritical:sr.afterCritical}),yi={critical:sr.critical,afterCritical:sr.afterCritical,result:ri,impact:Xr},Va=!Ue(sr.current.client.offset,$i)||Boolean(ri.combine);if(!Va){rt(lt({completed:yi}));return}var bi=zi({current:sr.current.client.offset,destination:$i,reason:cr}),uo={newHomeClientOffset:$i,dropDuration:bi,completed:yi};rt(en(uo))}}},Pn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ei(Ve){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(xe){if(xe.target!==window&&xe.target!==window.document)return;Ve()}}}function va(Ve){var ie=Ve.onWindowScroll;function xe(){ie(Pn())}var rt=D(xe),It=Ei(rt),Jt=G;function sr(){return Jt!==G}function cr(){sr()&&be(!1),Jt=he(window,[It])}function wr(){sr()||be(!1),rt.cancel(),Jt(),Jt=G}return{start:cr,stop:wr,isActive:sr}}var Sa=function(ie){return ie.type==="DROP_COMPLETE"||ie.type==="DROP_ANIMATE"||ie.type==="FLUSH"},gi=function(ie){var xe=va({onWindowScroll:function(It){ie.dispatch(ir({newScroll:It}))}});return function(rt){return function(It){!xe.isActive()&&It.type==="INITIAL_PUBLISH"&&xe.start(),xe.isActive()&&Sa(It)&&xe.stop(),rt(It)}}},pi=function(ie){var xe=!1,rt=!1,It=setTimeout(function(){rt=!0}),Jt=function(cr){if(xe)return;if(rt)return;xe=!0,ie(cr),clearTimeout(It)};return Jt.wasCalled=function(){return xe},Jt},Ii=function(){var ie=[],xe=function(sr){var cr=le(ie,function(Gr){return Gr.timerId===sr});cr!==-1||be(!1);var wr=ie.splice(cr,1),Qr=wr[0];Qr.callback()},rt=function(sr){var cr=setTimeout(function(){return xe(cr)}),wr={timerId:cr,callback:sr};ie.push(wr)},It=function(){if(!ie.length)return;var sr=[].concat(ie);ie.length=0,sr.forEach(function(cr){clearTimeout(cr.timerId),cr.callback()})};return{add:rt,flush:It}},Ci=function(ie,xe){return ie==null&&xe==null?!0:ie==null||xe==null?!1:ie.droppableId===xe.droppableId&&ie.index===xe.index},Si=function(ie,xe){return ie==null&&xe==null?!0:ie==null||xe==null?!1:ie.draggableId===xe.draggableId&&ie.droppableId===xe.droppableId},la=function(ie,xe){if(ie===xe)return!0;var rt=ie.draggable.id===xe.draggable.id&&ie.draggable.droppableId===xe.draggable.droppableId&&ie.draggable.type===xe.draggable.type&&ie.draggable.index===xe.draggable.index,It=ie.droppable.id===xe.droppable.id&&ie.droppable.type===xe.droppable.type;return rt&&It},Da=function(ie,xe){Qi(),xe(),Lo()},Oa=function(ie,xe){return{draggableId:ie.draggable.id,type:ie.droppable.type,source:{droppableId:ie.droppable.id,index:ie.draggable.index},mode:xe}},Aa=function(ie,xe,rt,It){if(!ie){rt(It(xe));return}var Jt=pi(rt),sr={announce:Jt};ie(xe,sr),Jt.wasCalled()||rt(It(xe))},ya=function(ie,xe){var rt=Ii(),It=null,Jt=function(Xr,un){It&&be(!1),Da("onBeforeCapture",function(){var hn=ie().onBeforeCapture;if(hn){var qn={draggableId:Xr,mode:un};hn(qn)}})},sr=function(Xr,un){It&&be(!1),Da("onBeforeDragStart",function(){var hn=ie().onBeforeDragStart;hn&&hn(Oa(Xr,un))})},cr=function(Xr,un){It&&be(!1);var hn=Oa(Xr,un);It={mode:un,lastCritical:Xr,lastLocation:hn.source,lastCombine:null},rt.add(function(){Da("onDragStart",function(){return Aa(ie().onDragStart,hn,xe,dt.onDragStart)})})},wr=function(Xr,un){var hn=or(un),qn=Kt(un);It||be(!1);var li=!la(Xr,It.lastCritical);li&&(It.lastCritical=Xr);var ri=!Ci(It.lastLocation,hn);ri&&(It.lastLocation=hn);var $i=!Si(It.lastCombine,qn);if($i&&(It.lastCombine=qn),!li&&!ri&&!$i)return;var yi=Object(m.a)({},Oa(Xr,It.mode),{combine:qn,destination:hn});rt.add(function(){Da("onDragUpdate",function(){return Aa(ie().onDragUpdate,yi,xe,dt.onDragUpdate)})})},Qr=function(){It||be(!1),rt.flush()},Gr=function(Xr){It||be(!1),It=null,Da("onDragEnd",function(){return Aa(ie().onDragEnd,Xr,xe,dt.onDragEnd)})},Pr=function(){if(!It)return;var Xr=Object(m.a)({},Oa(It.lastCritical,It.mode),{combine:null,destination:null,reason:"CANCEL"});Gr(Xr)};return{beforeCapture:Jt,beforeStart:sr,start:cr,update:wr,flush:Qr,drop:Gr,abort:Pr}},aa=function(ie,xe){var rt=ya(ie,xe);return function(It){return function(Jt){return function(sr){if(sr.type==="BEFORE_INITIAL_CAPTURE"){rt.beforeCapture(sr.payload.draggableId,sr.payload.movementMode);return}if(sr.type==="INITIAL_PUBLISH"){var cr=sr.payload.critical;rt.beforeStart(cr,sr.payload.movementMode),Jt(sr),rt.start(cr,sr.payload.movementMode);return}if(sr.type==="DROP_COMPLETE"){var wr=sr.payload.completed.result;rt.flush(),Jt(sr),rt.drop(wr);return}if(Jt(sr),sr.type==="FLUSH"){rt.abort();return}var Qr=It.getState();Qr.phase==="DRAGGING"&&rt.update(Qr.critical,Qr.impact)}}}},mi=function(ie){return function(xe){return function(rt){if(rt.type!=="DROP_ANIMATION_FINISHED"){xe(rt);return}var It=ie.getState();It.phase==="DROP_ANIMATING"||be(!1),ie.dispatch(lt({completed:It.completed}))}}},$n=function(ie){var xe=null,rt=null;function It(){rt&&(cancelAnimationFrame(rt),rt=null),xe&&(xe(),xe=null)}return function(Jt){return function(sr){if((sr.type==="FLUSH"||sr.type==="DROP_COMPLETE"||sr.type==="DROP_ANIMATION_FINISHED")&&It(),Jt(sr),sr.type!=="DROP_ANIMATE")return;var cr={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Qr=ie.getState();Qr.phase==="DROP_ANIMATING"&&ie.dispatch(mr())}};rt=requestAnimationFrame(function(){rt=null,xe=he(window,[cr])})}}},Li=function(ie){return function(){return function(xe){return function(rt){(rt.type==="DROP_COMPLETE"||rt.type==="FLUSH"||rt.type==="DROP_ANIMATE")&&ie.stopPublishing(),xe(rt)}}}},_i=function(ie){var xe=!1;return function(){return function(rt){return function(It){if(It.type==="INITIAL_PUBLISH"){xe=!0,ie.tryRecordFocus(It.payload.critical.draggable.id),rt(It),ie.tryRestoreFocusRecorded();return}if(rt(It),!xe)return;if(It.type==="FLUSH"){xe=!1,ie.tryRestoreFocusRecorded();return}if(It.type==="DROP_COMPLETE"){xe=!1;var Jt=It.payload.completed.result;Jt.combine&&ie.tryShiftRecord(Jt.draggableId,Jt.combine.draggableId),ie.tryRestoreFocusRecorded()}}}}},oi=function(ie){return ie.type==="DROP_COMPLETE"||ie.type==="DROP_ANIMATE"||ie.type==="FLUSH"},Fi=function(ie){return function(xe){return function(rt){return function(It){if(oi(It)){ie.stop(),rt(It);return}if(It.type==="INITIAL_PUBLISH"){rt(It);var Jt=xe.getState();Jt.phase==="DRAGGING"||be(!1),ie.start(Jt);return}rt(It),ie.scroll(xe.getState())}}}},Yi=function(ie){return function(xe){return function(rt){if(xe(rt),rt.type!=="PUBLISH_WHILE_DRAGGING")return;var It=ie.getState();if(It.phase!=="DROP_PENDING")return;if(It.isWaiting)return;ie.dispatch(Qt({reason:It.reason}))}}},Xi=y.d,Zi=function(ie){var xe=ie.dimensionMarshal,rt=ie.focusMarshal,It=ie.styleMarshal,Jt=ie.getResponders,sr=ie.announce,cr=ie.autoScroller;return Object(y.e)(To,Xi(Object(y.a)(dn(It),Li(xe),rn(xe),wi,mi,$n,Yi,Fi(cr),gi,_i(rt),aa(Jt,sr))))},Fa=function(){return{additions:{},removals:{},modified:{}}};function Mi(Ve){var ie=Ve.registry,xe=Ve.callbacks,rt=Fa(),It=null,Jt=function(){if(It)return;xe.collectionStarting(),It=requestAnimationFrame(function(){It=null,Qi();var Gr=rt,Pr=Gr.additions,Fr=Gr.removals,Xr=Gr.modified,un=Object.keys(Pr).map(function(li){return ie.draggable.getById(li).getDimension(wt)}).sort(function(li,ri){return li.descriptor.index-ri.descriptor.index}),hn=Object.keys(Xr).map(function(li){var ri=ie.droppable.getById(li),$i=ri.callbacks.getScrollWhileDragging();return{droppableId:li,scroll:$i}}),qn={additions:un,removals:Object.keys(Fr),modified:hn};rt=Fa(),Lo(),xe.publish(qn)})},sr=function(Gr){var Pr=Gr.descriptor.id;rt.additions[Pr]=Gr,rt.modified[Gr.descriptor.droppableId]=!0,rt.removals[Pr]&&delete rt.removals[Pr],Jt()},cr=function(Gr){var Pr=Gr.descriptor;rt.removals[Pr.id]=!0,rt.modified[Pr.droppableId]=!0,rt.additions[Pr.id]&&delete rt.additions[Pr.id],Jt()},wr=function(){if(!It)return;cancelAnimationFrame(It),It=null,rt=Fa()};return{add:sr,remove:cr,stop:wr}}var ca=function(ie){var xe=ie.scrollHeight,rt=ie.scrollWidth,It=ie.height,Jt=ie.width,sr=mt({x:rt,y:xe},{x:Jt,y:It}),cr={x:Math.max(0,sr.x),y:Math.max(0,sr.y)};return cr},ha=function(){var ie=document.documentElement;return ie||be(!1),ie},Ua=function(){var ie=ha(),xe=ca({scrollHeight:ie.scrollHeight,scrollWidth:ie.scrollWidth,width:ie.clientWidth,height:ie.clientHeight});return xe},Ti=function(){var ie=Pn(),xe=Ua(),rt=ie.y,It=ie.x,Jt=ha(),sr=Jt.clientWidth,cr=Jt.clientHeight,wr=It+sr,Qr=rt+cr,Gr=n({top:rt,left:It,right:wr,bottom:Qr}),Pr={frame:Gr,scroll:{initial:ie,current:ie,max:xe,diff:{value:wt,displacement:wt}}};return Pr},to=function(ie){var xe=ie.critical,rt=ie.scrollOptions,It=ie.registry;Qi();var Jt=Ti(),sr=Jt.scroll.current,cr=xe.droppable,wr=It.droppable.getAllByType(cr.type).map(function(Fr){return Fr.callbacks.getDimensionAndWatchScroll(sr,rt)}),Qr=It.draggable.getAllByType(xe.draggable.type).map(function(Fr){return Fr.getDimension(sr)}),Gr={draggables:ar(Qr),droppables:je(wr)};Lo();var Pr={dimensions:Gr,critical:xe,viewport:Jt};return Pr};function ka(Ve,ie,xe){if(xe.descriptor.id===ie.id)return!1;if(xe.descriptor.type!==ie.type)return!1;var rt=Ve.droppable.getById(xe.descriptor.droppableId);return!(rt.descriptor.mode!=="virtual")}var ua=function(ie,xe){var rt=null,It=Mi({callbacks:{publish:xe.publishWhileDragging,collectionStarting:xe.collectionStarting},registry:ie}),Jt=function(un,hn){if(ie.droppable.exists(un)||be(!1),!rt)return;xe.updateDroppableIsEnabled({id:un,isEnabled:hn})},sr=function(un,hn){if(!rt)return;ie.droppable.exists(un)||be(!1),xe.updateDroppableIsCombineEnabled({id:un,isCombineEnabled:hn})},cr=function(un,hn){if(!rt)return;ie.droppable.exists(un)||be(!1),xe.updateDroppableScroll({id:un,newScroll:hn})},wr=function(un,hn){if(!rt)return;ie.droppable.getById(un).callbacks.scroll(hn)},Qr=function(){if(!rt)return;It.stop();var un=rt.critical.droppable;ie.droppable.getAllByType(un.type).forEach(function(hn){return hn.callbacks.dragStopped()}),rt.unsubscribe(),rt=null},Gr=function(un){rt||be(!1);var hn=rt.critical.draggable;un.type==="ADDITION"&&(ka(ie,hn,un.value)&&It.add(un.value)),un.type==="REMOVAL"&&(ka(ie,hn,un.value)&&It.remove(un.value))},Pr=function(un){rt&&be(!1);var hn=ie.draggable.getById(un.draggableId),qn=ie.droppable.getById(hn.descriptor.droppableId),li={draggable:hn.descriptor,droppable:qn.descriptor},ri=ie.subscribe(Gr);return rt={critical:li,unsubscribe:ri},to({critical:li,registry:ie,scrollOptions:un.scrollOptions})},Fr={updateDroppableIsEnabled:Jt,updateDroppableIsCombineEnabled:sr,scrollDroppable:wr,updateDroppableScroll:cr,startPublishing:Pr,stopPublishing:Qr};return Fr},Ya=function(ie,xe){return ie.phase==="IDLE"?!0:ie.phase!=="DROP_ANIMATING"||ie.completed.result.draggableId===xe?!1:ie.completed.result.reason==="DROP"},vi=function(ie){window.scrollBy(ie.x,ie.y)},_a=x(function(Ve){return zt(Ve).filter(function(ie){return ie.isEnabled?!!ie.frame:!1})}),Ra=function(ie,xe){var rt=Xe(_a(xe),function(It){return It.frame||be(!1),ui(It.frame.pageMarginBox)(ie)});return rt},Pi=function(ie){var xe=ie.center,rt=ie.destination,It=ie.droppables;if(rt){var Jt=It[rt];return Jt.frame?Jt:null}var sr=Ra(xe,It);return sr},qi={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ie){return Math.pow(ie,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},ro=function(ie,xe){var rt=ie[xe.size]*qi.startFromPercentage,It=ie[xe.size]*qi.maxScrollAtPercentage,Jt={startScrollingFrom:rt,maxScrollValueAt:It};return Jt},Ni=function(ie){var xe=ie.startOfRange,rt=ie.endOfRange,It=ie.current,Jt=rt-xe;if(Jt===0)return 0;var sr=It-xe,cr=sr/Jt;return cr},za=1,lo=function(ie,xe){if(ie>xe.startScrollingFrom)return 0;if(ie<=xe.maxScrollValueAt)return qi.maxPixelScroll;if(ie===xe.startScrollingFrom)return za;var rt=Ni({startOfRange:xe.maxScrollValueAt,endOfRange:xe.startScrollingFrom,current:ie}),It=1-rt,Jt=qi.maxPixelScroll*qi.ease(It);return Math.ceil(Jt)},mo=qi.durationDampening.accelerateAt,Ka=qi.durationDampening.stopDampeningAt,Io=function(ie,xe){var rt=xe,It=Ka,Jt=Date.now(),sr=Jt-rt;if(sr>=Ka)return ie;if(sr<mo)return za;var cr=Ni({startOfRange:mo,endOfRange:It,current:sr}),wr=ie*qi.ease(cr);return Math.ceil(wr)},Ja=function(ie){var xe=ie.distanceToEdge,rt=ie.thresholds,It=ie.dragStartTime,Jt=ie.shouldUseTimeDampening,sr=lo(xe,rt);return sr===0?0:Jt?Math.max(Io(sr,It),za):sr},ra=function(ie){var xe=ie.container,rt=ie.distanceToEdges,It=ie.dragStartTime,Jt=ie.axis,sr=ie.shouldUseTimeDampening,cr=ro(xe,Jt),wr=rt[Jt.end]<rt[Jt.start];return wr?Ja({distanceToEdge:rt[Jt.end],thresholds:cr,dragStartTime:It,shouldUseTimeDampening:sr}):-1*Ja({distanceToEdge:rt[Jt.start],thresholds:cr,dragStartTime:It,shouldUseTimeDampening:sr})},Wi=function(ie){var xe=ie.container,rt=ie.subject,It=ie.proposedScroll,Jt=rt.height>xe.height,sr=rt.width>xe.width;return!sr&&!Jt?It:sr&&Jt?null:{x:sr?0:It.x,y:Jt?0:It.y}},go=Tt(function(Ve){return Ve===0?0:Ve}),xa=function(ie){var xe=ie.dragStartTime,rt=ie.container,It=ie.subject,Jt=ie.center,sr=ie.shouldUseTimeDampening,cr={top:Jt.y-rt.top,right:rt.right-Jt.x,bottom:rt.bottom-Jt.y,left:Jt.x-rt.left},wr=ra({container:rt,distanceToEdges:cr,dragStartTime:xe,axis:Ee,shouldUseTimeDampening:sr}),Qr=ra({container:rt,distanceToEdges:cr,dragStartTime:xe,axis:He,shouldUseTimeDampening:sr}),Gr=go({x:Qr,y:wr});if(Ue(Gr,wt))return null;var Pr=Wi({container:rt,subject:It,proposedScroll:Gr});return Pr?Ue(Pr,wt)?null:Pr:null},si=Tt(function(Ve){return Ve===0?0:Ve>0?1:-1}),Ki=function(){var Ve=function(xe,rt){return xe<0?xe:xe>rt?xe-rt:0};return function(ie){var xe=ie.current,rt=ie.max,It=ie.change,Jt=Ye(xe,It),sr={x:Ve(Jt.x,rt.x),y:Ve(Jt.y,rt.y)};return Ue(sr,wt)?null:sr}}(),xo=function(ie){var xe=ie.max,rt=ie.current,It=ie.change,Jt={x:Math.max(rt.x,xe.x),y:Math.max(rt.y,xe.y)},sr=si(It),cr=Ki({max:Jt,current:rt,change:sr});return cr?sr.x!==0&&cr.x===0?!0:sr.y!==0&&cr.y===0:!0},yo=function(ie,xe){return xo({current:ie.scroll.current,max:ie.scroll.max,change:xe})},no=function(ie,xe){if(!yo(ie,xe))return null;var rt=ie.scroll.max,It=ie.scroll.current;return Ki({current:It,max:rt,change:xe})},bo=function(ie,xe){var rt=ie.frame;return rt?xo({current:rt.scroll.current,max:rt.scroll.max,change:xe}):!1},Mo=function(ie,xe){var rt=ie.frame;return rt&&bo(ie,xe)?Ki({current:rt.scroll.current,max:rt.scroll.max,change:xe}):null},fa=function(ie){var xe=ie.viewport,rt=ie.subject,It=ie.center,Jt=ie.dragStartTime,sr=ie.shouldUseTimeDampening,cr=xa({dragStartTime:Jt,container:xe.frame,subject:rt,center:It,shouldUseTimeDampening:sr});return cr&&yo(xe,cr)?cr:null},Vi=function(ie){var xe=ie.droppable,rt=ie.subject,It=ie.center,Jt=ie.dragStartTime,sr=ie.shouldUseTimeDampening,cr=xe.frame;if(!cr)return null;var wr=xa({dragStartTime:Jt,container:cr.pageMarginBox,subject:rt,center:It,shouldUseTimeDampening:sr});return wr&&bo(xe,wr)?wr:null},io=function(ie){var xe=ie.state,rt=ie.dragStartTime,It=ie.shouldUseTimeDampening,Jt=ie.scrollWindow,sr=ie.scrollDroppable,cr=xe.current.page.borderBoxCenter,wr=xe.dimensions.draggables[xe.critical.draggable.id],Qr=wr.page.marginBox;if(xe.isWindowScrollAllowed){var Gr=xe.viewport,Pr=fa({dragStartTime:rt,viewport:Gr,subject:Qr,center:cr,shouldUseTimeDampening:It});if(Pr){Jt(Pr);return}}var Fr=Pi({center:cr,destination:pn(xe.impact),droppables:xe.dimensions.droppables});if(!Fr)return;var Xr=Vi({dragStartTime:rt,droppable:Fr,subject:Qr,center:cr,shouldUseTimeDampening:It});Xr&&sr(Fr.descriptor.id,Xr)},$a=function(ie){var xe=ie.scrollWindow,rt=ie.scrollDroppable,It=D(xe),Jt=D(rt),sr=null,cr=function(Pr){sr||be(!1);var Fr=sr,Xr=Fr.shouldUseTimeDampening,un=Fr.dragStartTime;io({state:Pr,scrollWindow:It,scrollDroppable:Jt,dragStartTime:un,shouldUseTimeDampening:Xr})},wr=function(Pr){Qi(),sr&&be(!1);var Fr=Date.now(),Xr=!1,un=function(){Xr=!0};io({state:Pr,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:un,scrollDroppable:un}),sr={dragStartTime:Fr,shouldUseTimeDampening:Xr},Lo(),Xr&&cr(Pr)},Qr=function(){if(!sr)return;It.cancel(),Jt.cancel(),sr=null};return{start:wr,stop:Qr,scroll:cr}},Ea=function(ie){var xe=ie.move,rt=ie.scrollDroppable,It=ie.scrollWindow,Jt=function(Gr,Pr){var Fr=Ye(Gr.current.client.selection,Pr);xe({client:Fr})},sr=function(Gr,Pr){if(!bo(Gr,Pr))return Pr;var Fr=Mo(Gr,Pr);if(!Fr)return rt(Gr.descriptor.id,Pr),null;var Xr=mt(Pr,Fr);rt(Gr.descriptor.id,Xr);var un=mt(Pr,Xr);return un},cr=function(Gr,Pr,Fr){if(!Gr)return Fr;if(!yo(Pr,Fr))return Fr;var Xr=no(Pr,Fr);if(!Xr)return It(Fr),null;var un=mt(Fr,Xr);It(un);var hn=mt(Fr,un);return hn},wr=function(Gr){var Pr=Gr.scrollJumpRequest;if(!Pr)return;var Fr=pn(Gr.impact);Fr||be(!1);var Xr=sr(Gr.dimensions.droppables[Fr],Pr);if(!Xr)return;var un=Gr.viewport,hn=cr(Gr.isWindowScrollAllowed,un,Xr);if(!hn)return;Jt(Gr,hn)};return wr},Ji=function(ie){var xe=ie.scrollDroppable,rt=ie.scrollWindow,It=ie.move,Jt=$a({scrollWindow:rt,scrollDroppable:xe}),sr=Ea({move:It,scrollWindow:rt,scrollDroppable:xe}),cr=function(Gr){if(Gr.phase!=="DRAGGING")return;if(Gr.movementMode==="FLUID"){Jt.scroll(Gr);return}if(!Gr.scrollJumpRequest)return;sr(Gr)},wr={scroll:cr,start:Jt.start,stop:Jt.stop};return wr},ao="data-rbd",es=function(){var Ve=ao+"-drag-handle";return{base:Ve,draggableId:Ve+"-draggable-id",contextId:Ve+"-context-id"}}(),ss=function(){var Ve=ao+"-draggable";return{base:Ve,contextId:Ve+"-context-id",id:Ve+"-id"}}(),js=function(){var Ve=ao+"-droppable";return{base:Ve,contextId:Ve+"-context-id",id:Ve+"-id"}}(),As={contextId:ao+"-scroll-container-context-id"},ms=function(ie){return function(xe){return"["+xe+'="'+ie+'"]'}},Ko=function(ie,xe){return ie.map(function(rt){var It=rt.styles[xe];return It?rt.selector+" { "+It+" }":""}).join(" ")},Eo="pointer-events: none;",Xa=function(ie){var xe=ms(ie),rt=function(){var wr=`
|
||
cursor: -webkit-grab;
|
||
cursor: grab;
|
||
`;return{selector:xe(es.contextId),styles:{always:`
|
||
-webkit-touch-callout: none;
|
||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||
touch-action: manipulation;
|
||
`,resting:wr,dragging:Eo,dropAnimating:wr}}}(),It=function(){var wr=`
|
||
transition: `+_n.outOfTheWay+`;
|
||
`;return{selector:xe(ss.contextId),styles:{dragging:wr,dropAnimating:wr,userCancel:wr}}}(),Jt={selector:xe(js.contextId),styles:{always:"overflow-anchor: none;"}},sr={selector:"body",styles:{dragging:`
|
||
cursor: grabbing;
|
||
cursor: -webkit-grabbing;
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
-moz-user-select: none;
|
||
-ms-user-select: none;
|
||
overflow-anchor: none;
|
||
`}},cr=[It,rt,Jt,sr];return{always:Ko(cr,"always"),resting:Ko(cr,"resting"),dragging:Ko(cr,"dragging"),dropAnimating:Ko(cr,"dropAnimating"),userCancel:Ko(cr,"userCancel")}},Qa=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?d.useLayoutEffect:d.useEffect,ho=function(){var ie=document.querySelector("head");return ie||be(!1),ie},ls=function(ie){var xe=document.createElement("style");return ie&&xe.setAttribute("nonce",ie),xe.type="text/css",xe};function Cr(Ve,ie){var xe=o(function(){return Xa(Ve)},[Ve]),rt=Object(d.useRef)(null),It=Object(d.useRef)(null),Jt=s(x(function(Pr){var Fr=It.current;Fr||be(!1),Fr.textContent=Pr}),[]),sr=s(function(Pr){var Fr=rt.current;Fr||be(!1),Fr.textContent=Pr},[]);Qa(function(){!rt.current&&!It.current||be(!1);var Pr=ls(ie),Fr=ls(ie);return rt.current=Pr,It.current=Fr,Pr.setAttribute(ao+"-always",Ve),Fr.setAttribute(ao+"-dynamic",Ve),ho().appendChild(Pr),ho().appendChild(Fr),sr(xe.always),Jt(xe.resting),function(){var Xr=function(hn){var qn=hn.current;qn||be(!1),ho().removeChild(qn),hn.current=null};Xr(rt),Xr(It)}},[ie,sr,Jt,xe.always,xe.resting,Ve]);var cr=s(function(){return Jt(xe.dragging)},[Jt,xe.dragging]),wr=s(function(Pr){if(Pr==="DROP"){Jt(xe.dropAnimating);return}Jt(xe.userCancel)},[Jt,xe.dropAnimating,xe.userCancel]),Qr=s(function(){if(!It.current)return;Jt(xe.resting)},[Jt,xe.resting]),Gr=o(function(){return{dragging:cr,dropping:wr,resting:Qr}},[cr,wr,Qr]);return Gr}var Qo=function(ie){return ie&&ie.ownerDocument?ie.ownerDocument.defaultView:window};function ts(Ve){return Ve instanceof Qo(Ve).HTMLElement}function Is(Ve,ie){var xe="["+es.contextId+'="'+Ve+'"]',rt=_e(document.querySelectorAll(xe));if(!rt.length)return null;var It=Xe(rt,function(Jt){return Jt.getAttribute(es.draggableId)===ie});return It&&ts(It)?It:null}function Ds(Ve){var ie=Object(d.useRef)({}),xe=Object(d.useRef)(null),rt=Object(d.useRef)(null),It=Object(d.useRef)(!1),Jt=s(function(Fr,Xr){var un={id:Fr,focus:Xr};return ie.current[Fr]=un,function(){var qn=ie.current,li=qn[Fr];li!==un&&delete qn[Fr]}},[]),sr=s(function(Fr){var Xr=Is(Ve,Fr);Xr&&Xr!==document.activeElement&&Xr.focus()},[Ve]),cr=s(function(Fr,Xr){xe.current===Fr&&(xe.current=Xr)},[]),wr=s(function(){if(rt.current)return;if(!It.current)return;rt.current=requestAnimationFrame(function(){rt.current=null;var Fr=xe.current;Fr&&sr(Fr)})},[sr]),Qr=s(function(Fr){xe.current=null;var Xr=document.activeElement;if(!Xr)return;if(Xr.getAttribute(es.draggableId)!==Fr)return;xe.current=Fr},[]);Qa(function(){return It.current=!0,function(){It.current=!1;var Fr=rt.current;Fr&&cancelAnimationFrame(Fr)}},[]);var Gr=o(function(){return{register:Jt,tryRecordFocus:Qr,tryRestoreFocusRecorded:wr,tryShiftRecord:cr}},[Jt,Qr,wr,cr]);return Gr}function is(){var Ve={draggables:{},droppables:{}},ie=[];function xe(Pr){return ie.push(Pr),function(){var Xr=ie.indexOf(Pr);if(Xr===-1)return;ie.splice(Xr,1)}}function rt(Pr){ie.length&&ie.forEach(function(Fr){return Fr(Pr)})}function It(Pr){return Ve.draggables[Pr]||null}function Jt(Pr){var Fr=It(Pr);return Fr||be(!1),Fr}var sr={register:function(Fr){Ve.draggables[Fr.descriptor.id]=Fr,rt({type:"ADDITION",value:Fr})},update:function(Fr,Xr){var un=Ve.draggables[Xr.descriptor.id];if(!un)return;if(un.uniqueId!==Fr.uniqueId)return;delete Ve.draggables[Xr.descriptor.id],Ve.draggables[Fr.descriptor.id]=Fr},unregister:function(Fr){var Xr=Fr.descriptor.id,un=It(Xr);if(!un)return;if(Fr.uniqueId!==un.uniqueId)return;delete Ve.draggables[Xr],rt({type:"REMOVAL",value:Fr})},getById:Jt,findById:It,exists:function(Fr){return Boolean(It(Fr))},getAllByType:function(Fr){return re(Ve.draggables).filter(function(Xr){return Xr.descriptor.type===Fr})}};function cr(Pr){return Ve.droppables[Pr]||null}function wr(Pr){var Fr=cr(Pr);return Fr||be(!1),Fr}var Qr={register:function(Fr){Ve.droppables[Fr.descriptor.id]=Fr},unregister:function(Fr){var Xr=cr(Fr.descriptor.id);if(!Xr)return;if(Fr.uniqueId!==Xr.uniqueId)return;delete Ve.droppables[Fr.descriptor.id]},getById:wr,findById:cr,exists:function(Fr){return Boolean(cr(Fr))},getAllByType:function(Fr){return re(Ve.droppables).filter(function(Xr){return Xr.descriptor.type===Fr})}};function Gr(){Ve.draggables={},Ve.droppables={},ie.length=0}return{draggable:sr,droppable:Qr,subscribe:xe,clean:Gr}}function Ma(){var Ve=o(is,[]);return Object(d.useEffect)(function(){return function(){requestAnimationFrame(Ve.clean)}},[Ve]),Ve}var La=L.a.createContext(null),Co=function(){var ie=document.body;return ie||be(!1),ie},fo={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Yo=function(ie){return"rbd-announcement-"+ie};function cs(Ve){var ie=o(function(){return Yo(Ve)},[Ve]),xe=Object(d.useRef)(null);Object(d.useEffect)(function(){var Jt=document.createElement("div");return xe.current=Jt,Jt.id=ie,Jt.setAttribute("aria-live","assertive"),Jt.setAttribute("aria-atomic","true"),Object(m.a)(Jt.style,fo),Co().appendChild(Jt),function(){setTimeout(function(){var wr=Co();wr.contains(Jt)&&wr.removeChild(Jt),Jt===xe.current&&(xe.current=null)})}},[ie]);var rt=s(function(It){var Jt=xe.current;if(Jt){Jt.textContent=It;return}},[]);return rt}var rs=0,ys={separator:"::"};function bs(){rs=0}function as(Ve,ie){return ie===void 0&&(ie=ys),o(function(){return""+Ve+ie.separator+rs++},[ie.separator,Ve])}function $s(Ve){var ie=Ve.contextId,xe=Ve.uniqueId;return"rbd-hidden-text-"+ie+"-"+xe}function us(Ve){var ie=Ve.contextId,xe=Ve.text,rt=as("hidden-text",{separator:"-"}),It=o(function(){return $s({contextId:ie,uniqueId:rt})},[rt,ie]);return Object(d.useEffect)(function(){var sr=document.createElement("div");return sr.id=It,sr.textContent=xe,sr.style.display="none",Co().appendChild(sr),function(){var wr=Co();wr.contains(sr)&&wr.removeChild(sr)}},[It,xe]),It}var Bo=L.a.createContext(null),Rn={react:"^16.8.5","react-dom":"^16.8.5"},Ks=/(\d+)\.(\d+)\.(\d+)/,Ts=function(ie){var xe=Ks.exec(ie);xe!=null||be(!1);var rt=Number(xe[1]),It=Number(xe[2]),Jt=Number(xe[3]);return{major:rt,minor:It,patch:Jt,raw:ie}},_t=function(ie,xe){return xe.major>ie.major?!0:xe.major<ie.major?!1:xe.minor>ie.minor?!0:xe.minor<ie.minor?!1:xe.patch>=ie.patch},ne=function(ie,xe){var rt=Ts(ie),It=Ts(xe);if(_t(rt,It))return},ue=`
|
||
We expect a html5 doctype: <!doctype html>
|
||
This is to ensure consistent browser layout and measurement
|
||
|
||
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
|
||
`,fe=function(ie){var xe=ie.doctype;if(!xe)return;xe.name.toLowerCase()!=="html",xe.publicId!==""};function Oe(Ve){}function ot(Ve,ie){Oe(function(){Object(d.useEffect)(function(){try{Ve()}catch(xe){P(`
|
||
A setup problem was encountered.
|
||
|
||
> `+xe.message+`
|
||
`)}},ie)})}function Bt(){ot(function(){ne(Rn.react,L.a.version),fe(document)},[])}function hr(Ve){var ie=Object(d.useRef)(Ve);return Object(d.useEffect)(function(){ie.current=Ve}),ie}function Ar(){var Ve=null;function ie(){return Boolean(Ve)}function xe(sr){return sr===Ve}function rt(sr){Ve&&be(!1);var cr={abandon:sr};return Ve=cr,cr}function It(){Ve||be(!1),Ve=null}function Jt(){Ve&&(Ve.abandon(),It())}return{isClaimed:ie,isActive:xe,claim:rt,release:It,tryAbandon:Jt}}var Nr=9,qr=13,sn=27,vn=32,xn=33,Kn=34,ei=35,Ai=36,na=37,Ui=38,Ca=39,co=40,Wa,vo=(Wa={},Wa[qr]=!0,Wa[Nr]=!0,Wa),Ao=function(ie){vo[ie.keyCode]&&ie.preventDefault()},Za=function(){var Ve="visibilitychange";if(typeof document=="undefined")return Ve;var ie=[Ve,"ms"+Ve,"webkit"+Ve,"moz"+Ve,"o"+Ve],xe=Xe(ie,function(rt){return"on"+rt in document});return xe||Ve}(),Fo=0,Do=5;function ja(Ve,ie){return Math.abs(ie.x-Ve.x)>=Do||Math.abs(ie.y-Ve.y)>=Do}var jo={type:"IDLE"};function Po(Ve){var ie=Ve.cancel,xe=Ve.completed,rt=Ve.getPhase,It=Ve.setPhase;return[{eventName:"mousemove",fn:function(sr){var cr=sr.button,wr=sr.clientX,Qr=sr.clientY;if(cr!==Fo)return;var Gr={x:wr,y:Qr},Pr=rt();if(Pr.type==="DRAGGING"){sr.preventDefault(),Pr.actions.move(Gr);return}Pr.type==="PENDING"||be(!1);var Fr=Pr.point;if(!ja(Fr,Gr))return;sr.preventDefault();var Xr=Pr.actions.fluidLift(Gr);It({type:"DRAGGING",actions:Xr})}},{eventName:"mouseup",fn:function(sr){var cr=rt();if(cr.type!=="DRAGGING"){ie();return}sr.preventDefault(),cr.actions.drop({shouldBlockNextClick:!0}),xe()}},{eventName:"mousedown",fn:function(sr){rt().type==="DRAGGING"&&sr.preventDefault(),ie()}},{eventName:"keydown",fn:function(sr){var cr=rt();if(cr.type==="PENDING"){ie();return}if(sr.keyCode===sn){sr.preventDefault(),ie();return}Ao(sr)}},{eventName:"resize",fn:ie},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){rt().type==="PENDING"&&ie()}},{eventName:"webkitmouseforcedown",fn:function(sr){var cr=rt();if(cr.type!=="IDLE"||be(!1),cr.actions.shouldRespectForcePress()){ie();return}sr.preventDefault()}},{eventName:Za,fn:ie}]}function Xo(Ve){var ie=Object(d.useRef)(jo),xe=Object(d.useRef)(G),rt=o(function(){return{eventName:"mousedown",fn:function(Pr){if(Pr.defaultPrevented)return;if(Pr.button!==Fo)return;if(Pr.ctrlKey||Pr.metaKey||Pr.shiftKey||Pr.altKey)return;var Fr=Ve.findClosestDraggableId(Pr);if(!Fr)return;var Xr=Ve.tryGetLock(Fr,sr,{sourceEvent:Pr});if(!Xr)return;Pr.preventDefault();var un={x:Pr.clientX,y:Pr.clientY};xe.current(),Qr(Xr,un)}}},[Ve]),It=o(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Pr){if(Pr.defaultPrevented)return;var Fr=Ve.findClosestDraggableId(Pr);if(!Fr)return;var Xr=Ve.findOptionsForDraggable(Fr);if(!Xr)return;if(Xr.shouldRespectForcePress)return;if(!Ve.canGetLock(Fr))return;Pr.preventDefault()}}},[Ve]),Jt=s(function(){var Pr={passive:!1,capture:!0};xe.current=he(window,[It,rt],Pr)},[It,rt]),sr=s(function(){var Gr=ie.current;if(Gr.type==="IDLE")return;ie.current=jo,xe.current(),Jt()},[Jt]),cr=s(function(){var Gr=ie.current;sr(),Gr.type==="DRAGGING"&&Gr.actions.cancel({shouldBlockNextClick:!0}),Gr.type==="PENDING"&&Gr.actions.abort()},[sr]),wr=s(function(){var Pr={capture:!0,passive:!1},Fr=Po({cancel:cr,completed:sr,getPhase:function(){return ie.current},setPhase:function(un){ie.current=un}});xe.current=he(window,Fr,Pr)},[cr,sr]),Qr=s(function(Pr,Fr){ie.current.type==="IDLE"||be(!1),ie.current={type:"PENDING",point:Fr,actions:Pr},wr()},[wr]);Qa(function(){return Jt(),function(){xe.current()}},[Jt])}var wo;function ds(){}var ns=(wo={},wo[Kn]=!0,wo[xn]=!0,wo[Ai]=!0,wo[ei]=!0,wo);function Qs(Ve,ie){function xe(){ie(),Ve.cancel()}function rt(){ie(),Ve.drop()}return[{eventName:"keydown",fn:function(Jt){if(Jt.keyCode===sn){Jt.preventDefault(),xe();return}if(Jt.keyCode===vn){Jt.preventDefault(),rt();return}if(Jt.keyCode===co){Jt.preventDefault(),Ve.moveDown();return}if(Jt.keyCode===Ui){Jt.preventDefault(),Ve.moveUp();return}if(Jt.keyCode===Ca){Jt.preventDefault(),Ve.moveRight();return}if(Jt.keyCode===na){Jt.preventDefault(),Ve.moveLeft();return}if(ns[Jt.keyCode]){Jt.preventDefault();return}Ao(Jt)}},{eventName:"mousedown",fn:xe},{eventName:"mouseup",fn:xe},{eventName:"click",fn:xe},{eventName:"touchstart",fn:xe},{eventName:"resize",fn:xe},{eventName:"wheel",fn:xe,options:{passive:!0}},{eventName:Za,fn:xe}]}function Gs(Ve){var ie=Object(d.useRef)(ds),xe=o(function(){return{eventName:"keydown",fn:function(Jt){if(Jt.defaultPrevented)return;if(Jt.keyCode!==vn)return;var sr=Ve.findClosestDraggableId(Jt);if(!sr)return;var cr=Ve.tryGetLock(sr,Gr,{sourceEvent:Jt});if(!cr)return;Jt.preventDefault();var wr=!0,Qr=cr.snapLift();ie.current();function Gr(){wr||be(!1),wr=!1,ie.current(),rt()}ie.current=he(window,Qs(Qr,Gr),{capture:!0,passive:!1})}}},[Ve]),rt=s(function(){var Jt={passive:!1,capture:!0};ie.current=he(window,[xe],Jt)},[xe]);Qa(function(){return rt(),function(){ie.current()}},[rt])}var Go={type:"IDLE"},Oo=120,hs=.15;function fs(Ve){var ie=Ve.cancel,xe=Ve.getPhase;return[{eventName:"orientationchange",fn:ie},{eventName:"resize",fn:ie},{eventName:"contextmenu",fn:function(It){It.preventDefault()}},{eventName:"keydown",fn:function(It){if(xe().type!=="DRAGGING"){ie();return}It.keyCode===sn&&It.preventDefault(),ie()}},{eventName:Za,fn:ie}]}function Rs(Ve){var ie=Ve.cancel,xe=Ve.completed,rt=Ve.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Jt){var sr=rt();if(sr.type!=="DRAGGING"){ie();return}sr.hasMoved=!0;var cr=Jt.touches[0],wr=cr.clientX,Qr=cr.clientY,Gr={x:wr,y:Qr};Jt.preventDefault(),sr.actions.move(Gr)}},{eventName:"touchend",fn:function(Jt){var sr=rt();if(sr.type!=="DRAGGING"){ie();return}Jt.preventDefault(),sr.actions.drop({shouldBlockNextClick:!0}),xe()}},{eventName:"touchcancel",fn:function(Jt){if(rt().type!=="DRAGGING"){ie();return}Jt.preventDefault(),ie()}},{eventName:"touchforcechange",fn:function(Jt){var sr=rt();sr.type!=="IDLE"||be(!1);var cr=Jt.touches[0];if(!cr)return;var wr=cr.force>=hs;if(!wr)return;var Qr=sr.actions.shouldRespectForcePress();if(sr.type==="PENDING"){Qr&&ie();return}if(Qr){if(sr.hasMoved){Jt.preventDefault();return}ie();return}Jt.preventDefault()}},{eventName:Za,fn:ie}]}function Ro(Ve){var ie=Object(d.useRef)(Go),xe=Object(d.useRef)(G),rt=s(function(){return ie.current},[]),It=s(function(Xr){ie.current=Xr},[]),Jt=o(function(){return{eventName:"touchstart",fn:function(Xr){if(Xr.defaultPrevented)return;var un=Ve.findClosestDraggableId(Xr);if(!un)return;var hn=Ve.tryGetLock(un,cr,{sourceEvent:Xr});if(!hn)return;var qn=Xr.touches[0],li=qn.clientX,ri=qn.clientY,$i={x:li,y:ri};xe.current(),Pr(hn,$i)}}},[Ve]),sr=s(function(){var Xr={capture:!0,passive:!1};xe.current=he(window,[Jt],Xr)},[Jt]),cr=s(function(){var Fr=ie.current;if(Fr.type==="IDLE")return;Fr.type==="PENDING"&&clearTimeout(Fr.longPressTimerId),It(Go),xe.current(),sr()},[sr,It]),wr=s(function(){var Fr=ie.current;cr(),Fr.type==="DRAGGING"&&Fr.actions.cancel({shouldBlockNextClick:!0}),Fr.type==="PENDING"&&Fr.actions.abort()},[cr]),Qr=s(function(){var Xr={capture:!0,passive:!1},un={cancel:wr,completed:cr,getPhase:rt},hn=he(window,Rs(un),Xr),qn=he(window,fs(un),Xr);xe.current=function(){hn(),qn()}},[wr,rt,cr]),Gr=s(function(){var Xr=rt();Xr.type==="PENDING"||be(!1);var un=Xr.actions.fluidLift(Xr.point);It({type:"DRAGGING",actions:un,hasMoved:!1})},[rt,It]),Pr=s(function(Xr,un){rt().type==="IDLE"||be(!1);var hn=setTimeout(Gr,Oo);It({type:"PENDING",point:un,actions:Xr,longPressTimerId:hn}),Qr()},[Qr,rt,It,Gr]);Qa(function(){return sr(),function(){xe.current();var un=rt();un.type==="PENDING"&&(clearTimeout(un.longPressTimerId),It(Go))}},[rt,sr,It]),Qa(function(){var Xr=he(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Xr},[])}function ws(Ve){Oe(function(){var ie=hr(Ve);ot(function(){ie.current.length===Ve.length||be(!1)})})}var _s={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ss(Ve,ie){if(ie==null)return!1;var xe=Boolean(_s[ie.tagName.toLowerCase()]);if(xe)return!0;var rt=ie.getAttribute("contenteditable");return rt==="true"||rt===""?!0:ie===Ve?!1:Ss(Ve,ie.parentElement)}function Ms(Ve,ie){var xe=ie.target;return ts(xe)?Ss(Ve,xe):!1}var Hs=function(ie){return n(ie.getBoundingClientRect()).center};function xs(Ve){return Ve instanceof Qo(Ve).Element}var pa=function(){var Ve="matches";if(typeof document=="undefined")return Ve;var ie=[Ve,"msMatchesSelector","webkitMatchesSelector"],xe=Xe(ie,function(rt){return rt in Element.prototype});return xe||Ve}();function ci(Ve,ie){return Ve==null?null:Ve[pa](ie)?Ve:ci(Ve.parentElement,ie)}function Bi(Ve,ie){return Ve.closest?Ve.closest(ie):ci(Ve,ie)}function Wn(Ve){return"["+es.contextId+'="'+Ve+'"]'}function oo(Ve,ie){var xe=ie.target;if(!xs(xe))return null;var rt=Wn(Ve),It=Bi(xe,rt);return It&&ts(It)?It:null}function Zo(Ve,ie){var xe=oo(Ve,ie);return xe?xe.getAttribute(es.draggableId):null}function gs(Ve,ie){var xe="["+ss.contextId+'="'+Ve+'"]',rt=_e(document.querySelectorAll(xe)),It=Xe(rt,function(Jt){return Jt.getAttribute(ss.id)===ie});return It&&ts(It)?It:null}function os(Ve){Ve.preventDefault()}function Jo(Ve){var ie=Ve.expected,xe=Ve.phase,rt=Ve.isLockActive,It=Ve.shouldWarn;return rt()?!(ie!==xe):!1}function $o(Ve){var ie=Ve.lockAPI,xe=Ve.store,rt=Ve.registry,It=Ve.draggableId;if(ie.isClaimed())return!1;var Jt=rt.draggable.findById(It);return Jt&&Jt.options.isEnabled?!!Ya(xe.getState(),It):!1}function Es(Ve){var ie=Ve.lockAPI,xe=Ve.contextId,rt=Ve.store,It=Ve.registry,Jt=Ve.draggableId,sr=Ve.forceSensorStop,cr=Ve.sourceEvent,wr=$o({lockAPI:ie,store:rt,registry:It,draggableId:Jt});if(!wr)return null;var Qr=It.draggable.getById(Jt),Gr=gs(xe,Qr.descriptor.id);if(!Gr)return null;if(cr&&!Qr.options.canDragInteractiveElements&&Ms(Gr,cr))return null;var Pr=ie.claim(sr||G),Fr="PRE_DRAG";function Xr(){return Qr.options.shouldRespectForcePress}function un(){return ie.isActive(Pr)}function hn(bi,uo){Jo({expected:bi,phase:Fr,isLockActive:un,shouldWarn:!0})&&rt.dispatch(uo())}var qn=hn.bind(null,"DRAGGING");function li(bi){function uo(){ie.release(),Fr="COMPLETED"}Fr!=="PRE_DRAG"&&(uo(),Fr==="PRE_DRAG"||be(!1)),rt.dispatch(eo(bi.liftActionArgs)),Fr="DRAGGING";function zo(so,ko){if(ko===void 0&&(ko={shouldBlockNextClick:!1}),bi.cleanup(),ko.shouldBlockNextClick){var g=he(window,[{eventName:"click",fn:os,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(g)}uo(),rt.dispatch(Qt({reason:so}))}return Object(m.a)({isActive:function(){return Jo({expected:"DRAGGING",phase:Fr,isLockActive:un,shouldWarn:!1})},shouldRespectForcePress:Xr,drop:function(ko){return zo("DROP",ko)},cancel:function(ko){return zo("CANCEL",ko)}},bi.actions)}function ri(bi){var uo=D(function(so){qn(function(){return Xt({client:so})})}),zo=li({liftActionArgs:{id:Jt,clientSelection:bi,movementMode:"FLUID"},cleanup:function(){return uo.cancel()},actions:{move:uo}});return Object(m.a)({},zo,{move:uo})}function $i(){var bi={moveUp:function(){return qn(gr)},moveRight:function(){return qn(Hr)},moveDown:function(){return qn(Mr)},moveLeft:function(){return qn(kr)}};return li({liftActionArgs:{id:Jt,clientSelection:Hs(Gr),movementMode:"SNAP"},cleanup:G,actions:bi})}function yi(){var bi=Jo({expected:"PRE_DRAG",phase:Fr,isLockActive:un,shouldWarn:!0});bi&&ie.release()}var Va={isActive:function(){return Jo({expected:"PRE_DRAG",phase:Fr,isLockActive:un,shouldWarn:!1})},shouldRespectForcePress:Xr,fluidLift:ri,snapLift:$i,abort:yi};return Va}var Ho=[Xo,Gs,Ro];function sl(Ve){var ie=Ve.contextId,xe=Ve.store,rt=Ve.registry,It=Ve.customSensors,Jt=Ve.enableDefaultSensors,sr=[].concat(Jt?Ho:[],It||[]),cr=Object(d.useState)(function(){return Ar()})[0],wr=s(function(ri,$i){ri.isDragging&&!$i.isDragging&&cr.tryAbandon()},[cr]);Qa(function(){var ri=xe.getState(),$i=xe.subscribe(function(){var yi=xe.getState();wr(ri,yi),ri=yi});return $i},[cr,xe,wr]),Qa(function(){return cr.tryAbandon},[cr.tryAbandon]);var Qr=s(function(li){return $o({lockAPI:cr,registry:rt,store:xe,draggableId:li})},[cr,rt,xe]),Gr=s(function(li,ri,$i){return Es({lockAPI:cr,registry:rt,contextId:ie,store:xe,draggableId:li,forceSensorStop:ri,sourceEvent:$i&&$i.sourceEvent?$i.sourceEvent:null})},[ie,cr,rt,xe]),Pr=s(function(li){return Zo(ie,li)},[ie]),Fr=s(function(li){var ri=rt.draggable.findById(li);return ri?ri.options:null},[rt.draggable]),Xr=s(function(){if(!cr.isClaimed())return;cr.tryAbandon(),xe.getState().phase!=="IDLE"&&xe.dispatch(Yr())},[cr,xe]),un=s(cr.isClaimed,[cr]),hn=o(function(){return{canGetLock:Qr,tryGetLock:Gr,findClosestDraggableId:Pr,findOptionsForDraggable:Fr,tryReleaseLock:Xr,isLockClaimed:un}},[Qr,Gr,Pr,Fr,Xr,un]);ws(sr);for(var qn=0;qn<sr.length;qn++)sr[qn](hn)}var kl=function(ie){return{onBeforeCapture:ie.onBeforeCapture,onBeforeDragStart:ie.onBeforeDragStart,onDragStart:ie.onDragStart,onDragEnd:ie.onDragEnd,onDragUpdate:ie.onDragUpdate}};function ll(Ve){return Ve.current||be(!1),Ve.current}function Nl(Ve){var ie=Ve.contextId,xe=Ve.setCallbacks,rt=Ve.sensors,It=Ve.nonce,Jt=Ve.dragHandleUsageInstructions,sr=Object(d.useRef)(null);Bt();var cr=hr(Ve),wr=s(function(){return kl(cr.current)},[cr]),Qr=cs(ie),Gr=us({contextId:ie,text:Jt}),Pr=Cr(ie,It),Fr=s(function(so){ll(sr).dispatch(so)},[]),Xr=o(function(){return Object(y.b)({publishWhileDragging:$t,updateDroppableScroll:Kr,updateDroppableIsEnabled:Ne,updateDroppableIsCombineEnabled:Lt,collectionStarting:Tr},Fr)},[Fr]),un=Ma(),hn=o(function(){return ua(un,Xr)},[un,Xr]),qn=o(function(){return Ji(Object(m.a)({scrollWindow:vi,scrollDroppable:hn.scrollDroppable},Object(y.b)({move:Xt},Fr)))},[hn.scrollDroppable,Fr]),li=Ds(ie),ri=o(function(){return Zi({announce:Qr,autoScroller:qn,dimensionMarshal:hn,focusMarshal:li,getResponders:wr,styleMarshal:Pr})},[Qr,qn,hn,li,wr,Pr]);sr.current=ri;var $i=s(function(){var so=ll(sr),ko=so.getState();ko.phase!=="IDLE"&&so.dispatch(Yr())},[]),yi=s(function(){var so=ll(sr).getState();return so.isDragging||so.phase==="DROP_ANIMATING"},[]),Va=o(function(){return{isDragging:yi,tryAbort:$i}},[yi,$i]);xe(Va);var bi=s(function(so){return Ya(ll(sr).getState(),so)},[]),uo=s(function(){return Nn(ll(sr).getState())},[]),zo=o(function(){return{marshal:hn,focus:li,contextId:ie,canLift:bi,isMovementAllowed:uo,dragHandleUsageInstructionsId:Gr,registry:un}},[ie,hn,Gr,li,bi,uo,un]);return sl({contextId:ie,store:ri,registry:un,customSensors:rt,enableDefaultSensors:Ve.enableDefaultSensors!==!1}),Object(d.useEffect)(function(){return $i},[$i]),L.a.createElement(Bo.Provider,{value:zo},L.a.createElement(w.a,{context:La,store:ri},Ve.children))}var Ns=0;function Ys(){Ns=0}function qs(){return o(function(){return""+Ns++},[])}function jl(){Ys(),bs()}function Hl(Ve){var ie=qs(),xe=Ve.dragHandleUsageInstructions||dt.dragHandleUsageInstructions;return L.a.createElement(Qe,null,function(rt){return L.a.createElement(Nl,{nonce:Ve.nonce,contextId:ie,setCallbacks:rt,dragHandleUsageInstructions:xe,enableDefaultSensors:Ve.enableDefaultSensors,sensors:Ve.sensors,onBeforeCapture:Ve.onBeforeCapture,onBeforeDragStart:Ve.onBeforeDragStart,onDragStart:Ve.onDragStart,onDragUpdate:Ve.onDragUpdate,onDragEnd:Ve.onDragEnd},Ve.children)})}var Dl=function(ie){return function(xe){return ie===xe}},rc=Dl("scroll"),nc=Dl("auto"),qo=Dl("visible"),el=function(ie,xe){return xe(ie.overflowX)||xe(ie.overflowY)},ic=function(ie,xe){return xe(ie.overflowX)&&xe(ie.overflowY)},Rl=function(ie){var xe=window.getComputedStyle(ie),rt={overflowX:xe.overflowX,overflowY:xe.overflowY};return el(rt,rc)||el(rt,nc)},_l=function(){return!1;var ie,xe;if(!Rl(ie))return!1;var rt,It;if(ic(It,qo))return!1},yl=function Ve(ie){return ie==null?null:ie===document.body?_l()?ie:null:ie===document.documentElement?null:Rl(ie)?ie:Ve(ie.parentElement)},zl=function(ie){if(!ie)return;var xe=yl(ie.parentElement);if(!xe)return},cl=function(ie){return{x:ie.scrollLeft,y:ie.scrollTop}},Wl=function Ve(ie){if(!ie)return!1;var xe=window.getComputedStyle(ie);return xe.position==="fixed"?!0:Ve(ie.parentElement)},ac=function(ie){var xe=yl(ie),rt=Wl(ie);return{closestScrollable:xe,isFixedOnPage:rt}},oc=function(ie){var xe=ie.descriptor,rt=ie.isEnabled,It=ie.isCombineEnabled,Jt=ie.isFixedOnPage,sr=ie.direction,cr=ie.client,wr=ie.page,Qr=ie.closest,Gr=function(){if(!Qr)return null;var un=Qr.scrollSize,hn=Qr.client,qn=ca({scrollHeight:un.scrollHeight,scrollWidth:un.scrollWidth,height:hn.paddingBox.height,width:hn.paddingBox.width});return{pageMarginBox:Qr.page.marginBox,frameClient:hn,scrollSize:un,shouldClipSubject:Qr.shouldClipSubject,scroll:{initial:Qr.scroll,current:Qr.scroll,max:qn,diff:{value:wt,displacement:wt}}}}(),Pr=sr==="vertical"?Ee:He,Fr=Ut({page:wr,withPlaceholder:null,axis:Pr,frame:Gr}),Xr={descriptor:xe,isCombineEnabled:It,isFixedOnPage:Jt,axis:Pr,isEnabled:rt,client:cr,page:wr,frame:Gr,subject:Fr};return Xr},Bs=function(ie,xe){var rt=O(ie);if(!xe)return rt;if(ie!==xe)return rt;var It=rt.paddingBox.top-xe.scrollTop,Jt=rt.paddingBox.left-xe.scrollLeft,sr=It+xe.scrollHeight,cr=Jt+xe.scrollWidth,wr={top:It,right:cr,bottom:sr,left:Jt},Qr=c(wr,rt.border),Gr=h({borderBox:Qr,margin:rt.margin,border:rt.border,padding:rt.padding});return Gr},tl=function(ie){var xe=ie.ref,rt=ie.descriptor,It=ie.env,Jt=ie.windowScroll,sr=ie.direction,cr=ie.isDropDisabled,wr=ie.isCombineEnabled,Qr=ie.shouldClipSubject,Gr=It.closestScrollable,Pr=Bs(xe,Gr),Fr=S(Pr,Jt),Xr=function(){if(!Gr)return null;var hn=O(Gr),qn={scrollHeight:Gr.scrollHeight,scrollWidth:Gr.scrollWidth};return{client:hn,page:S(hn,Jt),scroll:cl(Gr),scrollSize:qn,shouldClipSubject:Qr}}(),un=oc({descriptor:rt,isEnabled:!cr,isCombineEnabled:wr,isFixedOnPage:It.isFixedOnPage,direction:sr,client:Pr,page:Fr,closest:Xr});return un},bl={passive:!1},ul={passive:!0},Cs=function(ie){return ie.shouldPublishImmediately?bl:ul};function zs(Ve){var ie=Object(d.useContext)(Ve);return ie||be(!1),ie}var rl=function(ie){return ie&&ie.env.closestScrollable||null};function Fs(Ve){var ie=Object(d.useRef)(null),xe=zs(Bo),rt=as("droppable"),It=xe.registry,Jt=xe.marshal,sr=hr(Ve),cr=o(function(){return{id:Ve.droppableId,type:Ve.type,mode:Ve.mode}},[Ve.droppableId,Ve.mode,Ve.type]),wr=Object(d.useRef)(cr),Qr=o(function(){return x(function(yi,Va){ie.current||be(!1);var bi={x:yi,y:Va};Jt.updateDroppableScroll(cr.id,bi)})},[cr.id,Jt]),Gr=s(function(){var yi=ie.current;return!yi||!yi.env.closestScrollable?wt:cl(yi.env.closestScrollable)},[]),Pr=s(function(){var yi=Gr();Qr(yi.x,yi.y)},[Gr,Qr]),Fr=o(function(){return D(Pr)},[Pr]),Xr=s(function(){var yi=ie.current,Va=rl(yi);yi&&Va||be(!1);var bi=yi.scrollOptions;if(bi.shouldPublishImmediately){Pr();return}Fr()},[Fr,Pr]),un=s(function(yi,Va){ie.current&&be(!1);var bi=sr.current,uo=bi.getDroppableRef();uo||be(!1);var zo=ac(uo),so={ref:uo,descriptor:cr,env:zo,scrollOptions:Va};ie.current=so;var ko=tl({ref:uo,descriptor:cr,env:zo,windowScroll:yi,direction:bi.direction,isDropDisabled:bi.isDropDisabled,isCombineEnabled:bi.isCombineEnabled,shouldClipSubject:!bi.ignoreContainerClipping}),g=zo.closestScrollable;return g&&(g.setAttribute(As.contextId,xe.contextId),g.addEventListener("scroll",Xr,Cs(so.scrollOptions))),ko},[xe.contextId,cr,Xr,sr]),hn=s(function(){var yi=ie.current,Va=rl(yi);return yi&&Va||be(!1),cl(Va)},[]),qn=s(function(){var yi=ie.current;yi||be(!1);var Va=rl(yi);if(ie.current=null,!Va)return;Fr.cancel(),Va.removeAttribute(As.contextId),Va.removeEventListener("scroll",Xr,Cs(yi.scrollOptions))},[Xr,Fr]),li=s(function(yi){var Va=ie.current;Va||be(!1);var bi=rl(Va);bi||be(!1),bi.scrollTop+=yi.y,bi.scrollLeft+=yi.x},[]),ri=o(function(){return{getDimensionAndWatchScroll:un,getScrollWhileDragging:hn,dragStopped:qn,scroll:li}},[qn,un,hn,li]),$i=o(function(){return{uniqueId:rt,descriptor:cr,callbacks:ri}},[ri,cr,rt]);Qa(function(){return wr.current=$i.descriptor,It.droppable.register($i),function(){ie.current&&qn(),It.droppable.unregister($i)}},[ri,cr,qn,$i,Jt,It.droppable]),Qa(function(){if(!ie.current)return;Jt.updateDroppableIsEnabled(wr.current.id,!Ve.isDropDisabled)},[Ve.isDropDisabled,Jt]),Qa(function(){if(!ie.current)return;Jt.updateDroppableIsCombineEnabled(wr.current.id,Ve.isCombineEnabled)},[Ve.isCombineEnabled,Jt])}function wl(){}var Ml={width:0,height:0,margin:bt},Vl=function(ie){var xe=ie.isAnimatingOpenOnMount,rt=ie.placeholder,It=ie.animate;return xe||It==="close"?Ml:{height:rt.client.borderBox.height,width:rt.client.borderBox.width,margin:rt.client.margin}},Sl=function(ie){var xe=ie.isAnimatingOpenOnMount,rt=ie.placeholder,It=ie.animate,Jt=Vl({isAnimatingOpenOnMount:xe,placeholder:rt,animate:It});return{display:rt.display,boxSizing:"border-box",width:Jt.width,height:Jt.height,marginTop:Jt.margin.top,marginRight:Jt.margin.right,marginBottom:Jt.margin.bottom,marginLeft:Jt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:It!=="none"?_n.placeholder:null}};function Xs(Ve){var ie=Object(d.useRef)(null),xe=s(function(){if(!ie.current)return;clearTimeout(ie.current),ie.current=null},[]),rt=Ve.animate,It=Ve.onTransitionEnd,Jt=Ve.onClose,sr=Ve.contextId,cr=Object(d.useState)(Ve.animate==="open"),wr=cr[0],Qr=cr[1];Object(d.useEffect)(function(){return wr?rt!=="open"?(xe(),Qr(!1),wl):ie.current?wl:(ie.current=setTimeout(function(){ie.current=null,Qr(!1)}),xe):wl},[rt,wr,xe]);var Gr=s(function(Fr){if(Fr.propertyName!=="height")return;It(),rt==="close"&&Jt()},[rt,Jt,It]),Pr=Sl({isAnimatingOpenOnMount:wr,animate:Ve.animate,placeholder:Ve.placeholder});return L.a.createElement(Ve.placeholder.tagName,{style:Pr,"data-rbd-placeholder-context-id":sr,onTransitionEnd:Gr,ref:Ve.innerRef})}var dl=L.a.memo(Xs),nl=L.a.createContext(null);function hl(Ve){Ve&&ts(Ve)||be(!1)}function xl(Ve){return typeof Ve=="boolean"}function Ws(Ve,ie){ie.forEach(function(xe){return xe(Ve)})}var Kl=[function(ie){var xe=ie.props;xe.droppableId||be(!1),typeof xe.droppableId=="string"||be(!1)},function(ie){var xe=ie.props;xl(xe.isDropDisabled)||be(!1),xl(xe.isCombineEnabled)||be(!1),xl(xe.ignoreContainerClipping)||be(!1)},function(ie){var xe=ie.getDroppableRef;hl(xe())}],El=[function(ie){var xe=ie.props,rt=ie.getPlaceholderRef;if(!xe.placeholder)return;var It=rt();if(It)return}],fl=[function(ie){var xe=ie.props;xe.renderClone||be(!1)},function(ie){var xe=ie.getPlaceholderRef;xe()&&be(!1)}];function Cl(Ve){ot(function(){Ws(Ve,Kl),Ve.props.mode==="standard"&&Ws(Ve,El),Ve.props.mode==="virtual"&&Ws(Ve,fl)})}var Ql=function(Ve){Object(v.a)(ie,Ve);function ie(){for(var rt,It=arguments.length,Jt=new Array(It),sr=0;sr<It;sr++)Jt[sr]=arguments[sr];return rt=Ve.call.apply(Ve,[this].concat(Jt))||this,rt.state={isVisible:Boolean(rt.props.on),data:rt.props.on,animate:rt.props.shouldAnimate&&rt.props.on?"open":"none"},rt.onClose=function(){if(rt.state.animate!=="close")return;rt.setState({isVisible:!1})},rt}ie.getDerivedStateFromProps=function(It,Jt){return It.shouldAnimate?It.on?{isVisible:!0,data:It.on,animate:"open"}:Jt.isVisible?{isVisible:!0,data:Jt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(It.on),data:It.on,animate:"none"}};var xe=ie.prototype;return xe.render=function(){if(!this.state.isVisible)return null;var It={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(It)},ie}(L.a.PureComponent),Bl={dragging:5e3,dropAnimating:4500},pl=function(ie,xe){return xe?_n.drop(xe.duration):ie?_n.snap:_n.fluid},Gl=function(ie,xe){return ie?xe?Dn.opacity.drop:Dn.opacity.combining:null},Zs=function(ie){return ie.forceShouldAnimate!=null?ie.forceShouldAnimate:ie.mode==="SNAP"};function Yl(Ve){var ie=Ve.dimension,xe=ie.client,rt=Ve.offset,It=Ve.combineWith,Jt=Ve.dropping,sr=Boolean(It),cr=Zs(Ve),wr=Boolean(Jt),Qr=wr?In.drop(rt,sr):In.moveTo(rt),Gr={position:"fixed",top:xe.marginBox.top,left:xe.marginBox.left,boxSizing:"border-box",width:xe.borderBox.width,height:xe.borderBox.height,transition:pl(cr,Jt),transform:Qr,opacity:Gl(sr,wr),zIndex:wr?Bl.dropAnimating:Bl.dragging,pointerEvents:"none"};return Gr}function _o(Ve){return{transform:In.moveTo(Ve.offset),transition:Ve.shouldAnimateDisplacement?null:"none"}}function Vs(Ve){return Ve.type==="DRAGGING"?Yl(Ve):_o(Ve)}function il(Ve,ie,xe){xe===void 0&&(xe=wt);var rt=window.getComputedStyle(ie),It=ie.getBoundingClientRect(),Jt=E(It,rt),sr=S(Jt,xe),cr={client:Jt,tagName:ie.tagName.toLowerCase(),display:rt.display},wr={x:Jt.marginBox.width,y:Jt.marginBox.height},Qr={descriptor:Ve,placeholder:cr,displaceBy:wr,client:Jt,page:sr};return Qr}function Ps(Ve){var ie=as("draggable"),xe=Ve.descriptor,rt=Ve.registry,It=Ve.getDraggableRef,Jt=Ve.canDragInteractiveElements,sr=Ve.shouldRespectForcePress,cr=Ve.isEnabled,wr=o(function(){return{canDragInteractiveElements:Jt,shouldRespectForcePress:sr,isEnabled:cr}},[Jt,cr,sr]),Qr=s(function(Xr){var un=It();return un||be(!1),il(xe,un,Xr)},[xe,It]),Gr=o(function(){return{uniqueId:ie,descriptor:xe,options:wr,getDimension:Qr}},[xe,Qr,wr,ie]),Pr=Object(d.useRef)(Gr),Fr=Object(d.useRef)(!0);Qa(function(){return rt.draggable.register(Pr.current),function(){return rt.draggable.unregister(Pr.current)}},[rt.draggable]),Qa(function(){if(Fr.current){Fr.current=!1;return}var Xr=Pr.current;Pr.current=Gr,rt.draggable.update(Gr,Xr)},[Gr,rt.draggable])}function Us(Ve,ie,xe){ot(function(){function rt(Jt){return"Draggable[id: "+Jt+"]: "}var It=Ve.draggableId;if(It||be(!1),typeof It=="string"||be(!1),ze(Ve.index)||be(!1),Ve.mapped.type==="DRAGGING")return;hl(xe()),Ve.isEnabled&&(Is(ie,It)||be(!1))})}function ml(Ve){Oe(function(){var ie=Object(d.useRef)(Ve);ot(function(){Ve===ie.current||be(!1)},[Ve])})}function Os(Ve){Ve.preventDefault()}function al(Ve){var ie=Object(d.useRef)(null),xe=s(function(so){ie.current=so},[]),rt=s(function(){return ie.current},[]),It=zs(Bo),Jt=It.contextId,sr=It.dragHandleUsageInstructionsId,cr=It.registry,wr=zs(nl),Qr=wr.type,Gr=wr.droppableId,Pr=o(function(){return{id:Ve.draggableId,index:Ve.index,type:Qr,droppableId:Gr}},[Ve.draggableId,Ve.index,Qr,Gr]),Fr=Ve.children,Xr=Ve.draggableId,un=Ve.isEnabled,hn=Ve.shouldRespectForcePress,qn=Ve.canDragInteractiveElements,li=Ve.isClone,ri=Ve.mapped,$i=Ve.dropAnimationFinished;if(Us(Ve,Jt,rt),ml(li),!li){var yi=o(function(){return{descriptor:Pr,registry:cr,getDraggableRef:rt,canDragInteractiveElements:qn,shouldRespectForcePress:hn,isEnabled:un}},[Pr,cr,rt,qn,hn,un]);Ps(yi)}var Va=o(function(){return un?{tabIndex:0,role:"button","aria-describedby":sr,"data-rbd-drag-handle-draggable-id":Xr,"data-rbd-drag-handle-context-id":Jt,draggable:!1,onDragStart:Os}:null},[Jt,sr,Xr,un]),bi=s(function(so){if(ri.type!=="DRAGGING")return;if(!ri.dropping)return;if(so.propertyName!=="transform")return;$i()},[$i,ri]),uo=o(function(){var so=Vs(ri),ko=ri.type==="DRAGGING"&&ri.dropping?bi:null,g={innerRef:xe,draggableProps:{"data-rbd-draggable-context-id":Jt,"data-rbd-draggable-id":Xr,style:so,onTransitionEnd:ko},dragHandleProps:Va};return g},[Jt,Va,Xr,ri,bi,xe]),zo=o(function(){return{draggableId:Pr.id,type:Pr.type,source:{index:Pr.index,droppableId:Pr.droppableId}}},[Pr.droppableId,Pr.id,Pr.index,Pr.type]);return Fr(uo,ri.snapshot,zo)}var Js=function(ie,xe){return ie===xe},Fl=function(ie){var xe=ie.combine,rt=ie.destination;return rt?rt.droppableId:xe?xe.droppableId:null},Ol=function(ie){return ie.combine?ie.combine.draggableId:null},gl=function(ie){return ie.at&&ie.at.type==="COMBINE"?ie.at.combine.draggableId:null};function Xl(){var Ve=x(function(It,Jt){return{x:It,y:Jt}}),ie=x(function(It,Jt,sr,cr,wr){return{isDragging:!0,isClone:Jt,isDropAnimating:Boolean(wr),dropAnimation:wr,mode:It,draggingOver:sr,combineWith:cr,combineTargetFor:null}}),xe=x(function(It,Jt,sr,cr,wr,Qr,Gr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:wr,combineWith:Qr,mode:Jt,offset:It,dimension:sr,forceShouldAnimate:Gr,snapshot:ie(Jt,cr,wr,Qr,null)}}}),rt=function(Jt,sr){if(Jt.isDragging){if(Jt.critical.draggable.id!==sr.draggableId)return null;var cr=Jt.current.client.offset,wr=Jt.dimensions.draggables[sr.draggableId],Qr=pn(Jt.impact),Gr=gl(Jt.impact),Pr=Jt.forceShouldAnimate;return xe(Ve(cr.x,cr.y),Jt.movementMode,wr,sr.isClone,Qr,Gr,Pr)}if(Jt.phase==="DROP_ANIMATING"){var Fr=Jt.completed;if(Fr.result.draggableId!==sr.draggableId)return null;var Xr=sr.isClone,un=Jt.dimensions.draggables[sr.draggableId],hn=Fr.result,qn=hn.mode,li=Fl(hn),ri=Ol(hn),$i=Jt.dropDuration,yi={duration:$i,curve:yn.drop,moveTo:Jt.newHomeClientOffset,opacity:ri?Dn.opacity.drop:null,scale:ri?Dn.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Jt.newHomeClientOffset,dimension:un,dropping:yi,draggingOver:li,combineWith:ri,mode:qn,forceShouldAnimate:null,snapshot:ie(qn,Xr,li,ri,yi)}}}return null};return rt}function Pl(Ve){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:Ve,combineWith:null}}var vl={mapped:{type:"SECONDARY",offset:wt,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Pl(null)}};function Zl(){var Ve=x(function(sr,cr){return{x:sr,y:cr}}),ie=x(Pl),xe=x(function(sr,cr,wr){return cr===void 0&&(cr=null),{mapped:{type:"SECONDARY",offset:sr,combineTargetFor:cr,shouldAnimateDisplacement:wr,snapshot:ie(cr)}}}),rt=function(cr){return cr?xe(wt,cr,!0):null},It=function(cr,wr,Qr,Gr){var Pr=Qr.displaced.visible[cr],Fr=Boolean(Gr.inVirtualList&&Gr.effected[cr]),Xr=Kt(Qr),un=Xr&&Xr.draggableId===cr?wr:null;if(!Pr){if(!Fr)return rt(un);if(Qr.displaced.invisible[cr])return null;var hn=Re(Gr.displacedBy.point),qn=Ve(hn.x,hn.y);return xe(qn,un,!0)}if(Fr)return rt(un);var li=Qr.displacedBy.point,ri=Ve(li.x,li.y);return xe(ri,un,Pr.shouldAnimate)},Jt=function(cr,wr){if(cr.isDragging)return cr.critical.draggable.id===wr.draggableId?null:It(wr.draggableId,cr.critical.draggable.id,cr.impact,cr.afterCritical);if(cr.phase==="DROP_ANIMATING"){var Qr=cr.completed;return Qr.result.draggableId===wr.draggableId?null:It(wr.draggableId,Qr.result.draggableId,Qr.impact,Qr.afterCritical)}return null};return Jt}var sc=function(){var ie=Xl(),xe=Zl(),rt=function(Jt,sr){return ie(Jt,sr)||xe(Jt,sr)||vl};return rt},Jl={dropAnimationFinished:mr},$l=Object(w.c)(sc,Jl,null,{context:La,pure:!0,areStatePropsEqual:Js})(al);function Ll(Ve){var ie=zs(nl),xe=ie.isUsingCloneFor;return xe===Ve.draggableId&&!Ve.isClone?null:L.a.createElement($l,Ve)}function ql(Ve){var ie=typeof Ve.isDragDisabled=="boolean"?!Ve.isDragDisabled:!0,xe=Boolean(Ve.disableInteractiveElementBlocking),rt=Boolean(Ve.shouldRespectForcePress);return L.a.createElement(Ll,Object(m.a)({},Ve,{isClone:!1,isEnabled:ie,canDragInteractiveElements:xe,shouldRespectForcePress:rt}))}function lc(Ve){var ie=Object(d.useContext)(Bo);ie||be(!1);var xe=ie.contextId,rt=ie.isMovementAllowed,It=Object(d.useRef)(null),Jt=Object(d.useRef)(null),sr=Ve.children,cr=Ve.droppableId,wr=Ve.type,Qr=Ve.mode,Gr=Ve.direction,Pr=Ve.ignoreContainerClipping,Fr=Ve.isDropDisabled,Xr=Ve.isCombineEnabled,un=Ve.snapshot,hn=Ve.useClone,qn=Ve.updateViewportMaxScroll,li=Ve.getContainerForClone,ri=s(function(){return It.current},[]),$i=s(function(I){It.current=I},[]),yi=s(function(){return Jt.current},[]),Va=s(function(I){Jt.current=I},[]);Cl({props:Ve,getDroppableRef:ri,getPlaceholderRef:yi});var bi=s(function(){rt()&&qn({maxScroll:Ua()})},[rt,qn]);Fs({droppableId:cr,type:wr,mode:Qr,direction:Gr,isDropDisabled:Fr,isCombineEnabled:Xr,ignoreContainerClipping:Pr,getDroppableRef:ri});var uo=L.a.createElement(Ql,{on:Ve.placeholder,shouldAnimate:Ve.shouldAnimatePlaceholder},function(I){var j=I.onClose,V=I.data,q=I.animate;return L.a.createElement(dl,{placeholder:V,onClose:j,innerRef:Va,animate:q,contextId:xe,onTransitionEnd:bi})}),zo=o(function(){return{innerRef:$i,placeholder:uo,droppableProps:{"data-rbd-droppable-id":cr,"data-rbd-droppable-context-id":xe}}},[xe,cr,uo,$i]),so=hn?hn.dragging.draggableId:null,ko=o(function(){return{droppableId:cr,type:wr,isUsingCloneFor:so}},[cr,so,wr]);function g(){if(!hn)return null;var I=hn.dragging,j=hn.render,V=L.a.createElement(Ll,{draggableId:I.draggableId,index:I.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(q,ve){return j(q,ve,I)});return R.a.createPortal(V,li())}return L.a.createElement(nl.Provider,{value:ko},sr(zo,un),g())}var Il=function(ie,xe){return ie===xe.droppable.type},ks=function(ie,xe){return xe.draggables[ie.draggable.id]},Tl=function(){var ie={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},xe=Object(m.a)({},ie,{shouldAnimatePlaceholder:!1}),rt=x(function(sr){return{draggableId:sr.id,type:sr.type,source:{index:sr.index,droppableId:sr.droppableId}}}),It=x(function(sr,cr,wr,Qr,Gr,Pr){var Fr=Gr.descriptor.id,Xr=Gr.descriptor.droppableId===sr;if(Xr){var un=Pr?{render:Pr,dragging:rt(Gr.descriptor)}:null,hn={isDraggingOver:wr,draggingOverWith:wr?Fr:null,draggingFromThisWith:Fr,isUsingPlaceholder:!0};return{placeholder:Gr.placeholder,shouldAnimatePlaceholder:!1,snapshot:hn,useClone:un}}if(!cr)return xe;if(!Qr)return ie;var qn={isDraggingOver:wr,draggingOverWith:Fr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Gr.placeholder,shouldAnimatePlaceholder:!0,snapshot:qn,useClone:null}}),Jt=function(cr,wr){var Qr=wr.droppableId,Gr=wr.type,Pr=!wr.isDropDisabled,Fr=wr.renderClone;if(cr.isDragging){var Xr=cr.critical;if(!Il(Gr,Xr))return xe;var un=ks(Xr,cr.dimensions),hn=pn(cr.impact)===Qr;return It(Qr,Pr,hn,hn,un,Fr)}if(cr.phase==="DROP_ANIMATING"){var qn=cr.completed;if(!Il(Gr,qn.critical))return xe;var li=ks(qn.critical,cr.dimensions);return It(Qr,Pr,Fl(qn.result)===Qr,pn(qn.impact)===Qr,li,Fr)}if(cr.phase==="IDLE"&&cr.completed&&!cr.shouldFlush){var ri=cr.completed;if(!Il(Gr,ri.critical))return xe;var $i=pn(ri.impact)===Qr,yi=Boolean(ri.impact.at&&ri.impact.at.type==="COMBINE"),Va=ri.critical.droppable.id===Qr;return $i?yi?ie:xe:Va?ie:xe}return xe};return Jt},Al={updateViewportMaxScroll:Sr};function cc(){return document.body||be(!1),document.body}var uc={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:cc},ol=Object(w.c)(Tl,Al,null,{context:La,pure:!0,areStatePropsEqual:Js})(lc);ol.defaultProps=uc},"2aF/":function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("mviM"),m=e.n(v)},"2b8O":function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("PwtB")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="CalendarOutlined";var f=v.forwardRef(w);_.default=f},"2mHG":function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("YreP"),m=e.n(v)},"3+Tf":function(Z,_,e){var d=e("Q6Bq");e("ODwA"),e("NDeh"),e("06Pr");var L=e("Dj6p"),v=e("pMHC"),m=e("F8X5"),y=e("Cd9S"),w=e("5qfg");d.registerVisual(L("radar")),d.registerVisual(v("radar","circle")),d.registerLayout(m),d.registerProcessor(y("radar")),d.registerPreprocessor(w)},"33CM":function(Z,_,e){var d=e("mCIU"),L=e("gteZ"),v="[object AsyncFunction]",m="[object Function]",y="[object GeneratorFunction]",w="[object Proxy]";function f(a){if(!L(a))return!1;var t=d(a);return t==m||t==y||t==v||t==w}Z.exports=f},"342z":function(Z,_,e){var d=e("gPqb"),L=e("oEo5"),v=e("2OMI"),m=e("Y36B"),y=e("g+/F"),w=y.prototype.getCanvasPattern,f=Math.abs,a=new v(!0);function t(s){d.call(this,s),this.path=null}t.prototype={constructor:t,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(l,n){var c=this.style,r=this.path||a,u=c.hasStroke(),i=c.hasFill(),h=c.fill,p=c.stroke,A=i&&!!h.colorStops,C=u&&!!p.colorStops,S=i&&!!h.image,E=u&&!!p.image;if(c.bind(l,this,n),this.setTransform(l),this.__dirty){var O;A&&(O=O||this.getBoundingRect(),this._fillGradient=c.getGradient(l,h,O)),C&&(O=O||this.getBoundingRect(),this._strokeGradient=c.getGradient(l,p,O))}A?l.fillStyle=this._fillGradient:S&&(l.fillStyle=w.call(h,l)),C?l.strokeStyle=this._strokeGradient:E&&(l.strokeStyle=w.call(p,l));var T=c.lineDash,b=c.lineDashOffset,x=!!l.setLineDash,N=this.getGlobalScale();if(r.setScale(N[0],N[1],this.segmentIgnoreThreshold),this.__dirtyPath||T&&!x&&u?(r.beginPath(l),T&&!x&&(r.setLineDash(T),r.setLineDashOffset(b)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(l.beginPath(),this.path.rebuildPath(l)),i)if(c.fillOpacity!=null){var D=l.globalAlpha;l.globalAlpha=c.fillOpacity*c.opacity,r.fill(l),l.globalAlpha=D}else r.fill(l);if(T&&x&&(l.setLineDash(T),l.lineDashOffset=b),u)if(c.strokeOpacity!=null){var D=l.globalAlpha;l.globalAlpha=c.strokeOpacity*c.opacity,r.stroke(l),l.globalAlpha=D}else r.stroke(l);T&&x&&l.setLineDash([]),c.text!=null&&(this.restoreTransform(l),this.drawRectText(l,this.getBoundingRect()))},buildPath:function(l,n,c){},createPathProxy:function(){this.path=new v},getBoundingRect:function(){var l=this._rect,n=this.style,c=!l;if(c){var r=this.path;r||(r=this.path=new v),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),l=r.getBoundingRect()}if(this._rect=l,n.hasStroke()){var u=this._rectWithStroke||(this._rectWithStroke=l.clone());if(this.__dirty||c){u.copy(l);var i=n.lineWidth,h=n.strokeNoScale?this.getLineScale():1;n.hasFill()||(i=Math.max(i,this.strokeContainThreshold||4)),h>1e-10&&(u.width+=i/h,u.height+=i/h,u.x-=i/h/2,u.y-=i/h/2)}return u}return l},contain:function(l,n){var c=this.transformCoordToLocal(l,n),r=this.getBoundingRect(),u=this.style;if(l=c[0],n=c[1],r.contain(l,n)){var i=this.path.data;if(u.hasStroke()){var h=u.lineWidth,p=u.strokeNoScale?this.getLineScale():1;if(p>1e-10&&(u.hasFill()||(h=Math.max(h,this.strokeContainThreshold)),m.containStroke(i,h/p,l,n)))return!0}if(u.hasFill())return m.contain(i,l,n)}return!1},dirty:function(l){l==null&&(l=!0),l&&(this.__dirtyPath=l,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(l){return this.animate("shape",l)},attrKV:function(l,n){l==="shape"?(this.setShape(n),this.__dirtyPath=!0,this._rect=null):d.prototype.attrKV.call(this,l,n)},setShape:function(l,n){var c=this.shape;if(c){if(L.isObject(l))for(var r in l)l.hasOwnProperty(r)&&(c[r]=l[r]);else c[l]=n;this.dirty(!0)}return this},getLineScale:function(){var l=this.transform;return l&&f(l[0]-1)>1e-10&&f(l[3]-1)>1e-10?Math.sqrt(f(l[0]*l[3]-l[2]*l[1])):1}},t.extend=function(s){var l=function(r){t.call(this,r),s.style&&this.style.extendFrom(s.style,!1);var u=s.shape;if(u){this.shape=this.shape||{};var i=this.shape;for(var h in u)!i.hasOwnProperty(h)&&u.hasOwnProperty(h)&&(i[h]=u[h])}s.init&&s.init.call(this,r)};L.inherits(l,t);for(var n in s)n!=="style"&&n!=="shape"&&(l.prototype[n]=s[n]);return l},L.inherits(t,d);var o=t;Z.exports=o},"3Bob":function(Z,_,e){var d=e("F2Ao"),L=e("zYjg"),v=["textStyle","color"],m={getTextColor:function(y){var w=this.ecModel;return this.getShallow("color")||(!y&&w?w.get(v):null)},getFont:function(){return L.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(y){return d.getBoundingRect(y,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};Z.exports=m},"3OD7":function(Z,_,e){"use strict";e.d(_,"a",function(){return h});var d=e("ofoi"),L=e.n(d),v=e("ZZRV"),m=e.n(v),y=e("iczh"),w=e.n(y),f=e("NXEf"),a=e.n(f),t=e("pYIe"),o=e.n(t),s=e("wsH2"),l=e.n(s),n=e("jMNc"),c=e.n(n),r=e("ZCXS"),u=e.n(r),i=e("nSZG");function h(p,A,C,S){var E=S.isLeaf,O=S.expanded,T=S.loading;if(T)return v.createElement(a.a,{className:"".concat(p,"-switcher-loading-icon")});var b;if(C&&L()(C)==="object"&&(b=C.showLeafIcon),E)return C?L()(C)==="object"&&!b?v.createElement("span",{className:"".concat(p,"-switcher-leaf-line")}):v.createElement(o.a,{className:"".concat(p,"-switcher-line-icon")}):null;var x="".concat(p,"-switcher-icon");return Object(i.b)(A)?Object(i.a)(A,{className:w()(A.props.className||"",x)}):A||(C?O?v.createElement(l.a,{className:"".concat(p,"-switcher-line-icon")}):v.createElement(c.a,{className:"".concat(p,"-switcher-line-icon")}):v.createElement(u.a,{className:x}))}},"3Sic":function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("S5yf")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="LeftOutlined";var f=v.forwardRef(w);_.default=f},"3Zz5":function(Z,_,e){var d=e("oEo5");function L(m,y){return y=y||[0,0],d.map([0,1],function(w){var f=y[w],a=m[w]/2,t=[],o=[];return t[w]=f-a,o[w]=f+a,t[1-w]=o[1-w]=y[1-w],Math.abs(this.dataToPoint(t)[w]-this.dataToPoint(o)[w])},this)}function v(m){var y=m.getBoundingRect();return{coordSys:{type:"geo",x:y.x,y:y.y,width:y.width,height:y.height,zoom:m.getZoom()},api:{coord:function(w){return m.dataToPoint(w)},size:d.bind(L,m)}}}Z.exports=v},"3cTV":function(module,exports){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(Z){return Z<10?"0"+Z:Z}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(Z){return rx_escapable.lastIndex=0,rx_escapable.test(Z)?'"'+Z.replace(rx_escapable,function(_){var e=meta[_];return typeof e=="string"?e:"\\u"+("0000"+_.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+Z+'"'}function str(Z,_){var e,d,L,v,m=gap,y,w=_[Z];w&&typeof w=="object"&&typeof w.toJSON=="function"&&(w=w.toJSON(Z)),typeof rep=="function"&&(w=rep.call(_,Z,w));switch(typeof w){case"string":return quote(w);case"number":return isFinite(w)?String(w):"null";case"boolean":case"null":return String(w);case"object":if(!w)return"null";if(gap+=indent,y=[],Object.prototype.toString.apply(w)==="[object Array]"){for(v=w.length,e=0;e<v;e+=1)y[e]=str(e,w)||"null";return L=y.length===0?"[]":gap?`[
|
||
`+gap+y.join(`,
|
||
`+gap)+`
|
||
`+m+"]":"["+y.join(",")+"]",gap=m,L}if(rep&&typeof rep=="object")for(v=rep.length,e=0;e<v;e+=1)typeof rep[e]=="string"&&(d=rep[e],L=str(d,w),L&&y.push(quote(d)+(gap?": ":":")+L));else for(d in w)Object.prototype.hasOwnProperty.call(w,d)&&(L=str(d,w),L&&y.push(quote(d)+(gap?": ":":")+L));return L=y.length===0?"{}":gap?`{
|
||
`+gap+y.join(`,
|
||
`+gap)+`
|
||
`+m+"}":"{"+y.join(",")+"}",gap=m,L}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(Z,_,e){var d;if(gap="",indent="",typeof e=="number")for(d=0;d<e;d+=1)indent+=" ";else typeof e=="string"&&(indent=e);if(rep=_,_&&typeof _!="function"&&(typeof _!="object"||typeof _.length!="number"))throw new Error("JSON.stringify");return str("",{"":Z})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(Z,_){var e,d,L=Z[_];if(L&&typeof L=="object")for(e in L)Object.prototype.hasOwnProperty.call(L,e)&&(d=walk(L,e),d!==void 0?L[e]=d:delete L[e]);return reviver.call(Z,_,L)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(Z){return"\\u"+("0000"+Z.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},"3fbH":function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("Az1A"),m=e("B2QF"),y=e("sAd1"),w=m.toolbox.dataView,f=new Array(60).join("-"),a=" ";function t(S){var E={},O=[],T=[];return S.eachRawSeries(function(b){var x=b.coordinateSystem;if(x&&(x.type==="cartesian2d"||x.type==="polar")){var N=x.getBaseAxis();if(N.type==="category"){var D=N.dim+"_"+N.index;E[D]||(E[D]={categoryAxis:N,valueAxis:x.getOtherAxis(N),series:[]},T.push({axisDim:N.dim,axisIndex:N.index})),E[D].series.push(b)}else O.push(b)}else O.push(b)}),{seriesGroupByCategoryAxis:E,other:O,meta:T}}function o(S){var E=[];return L.each(S,function(O,T){var b=O.categoryAxis,x=O.valueAxis,N=x.dim,D=[" "].concat(L.map(O.series,function(U){return U.name})),M=[b.model.getCategories()];L.each(O.series,function(U){var K=U.getRawData();M.push(U.getRawData().mapArray(K.mapDimension(N),function(W){return W}))});for(var R=[D.join(a)],F=0;F<M[0].length;F++){for(var B=[],z=0;z<M.length;z++)B.push(M[z][F]);R.push(B.join(a))}E.push(R.join(`
|
||
`))}),E.join(`
|
||
|
||
`+f+`
|
||
|
||
`)}function s(S){return L.map(S,function(E){var O=E.getRawData(),T=[E.name],b=[];return O.each(O.dimensions,function(){for(var x=arguments.length,N=arguments[x-1],D=O.getName(N),M=0;M<x-1;M++)b[M]=arguments[M];T.push((D?D+a:"")+b.join(a))}),T.join(`
|
||
`)}).join(`
|
||
|
||
`+f+`
|
||
|
||
`)}function l(S){var E=t(S);return{value:L.filter([o(E.seriesGroupByCategoryAxis),s(E.other)],function(O){return O.replace(/[\n\t\s]/g,"")}).join(`
|
||
|
||
`+f+`
|
||
|
||
`),meta:E.meta}}function n(S){return S.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function c(S){var E=S.slice(0,S.indexOf(`
|
||
`));if(E.indexOf(a)>=0)return!0}var r=new RegExp("["+a+"]+","g");function u(S){for(var E=S.split(/\n+/g),O=n(E.shift()).split(r),T=[],b=L.map(O,function(M){return{name:M,data:[]}}),x=0;x<E.length;x++){var N=n(E[x]).split(r);T.push(N.shift());for(var D=0;D<N.length;D++)b[D]&&(b[D].data[x]=N[D])}return{series:b,categories:T}}function i(S){for(var E=S.split(/\n+/g),O=n(E.shift()),T=[],b=0;b<E.length;b++){var x=n(E[b]);if(!x)continue;var N=x.split(r),D="",M,R=!1;isNaN(N[0])?(R=!0,D=N[0],N=N.slice(1),T[b]={name:D,value:[]},M=T[b].value):M=T[b]=[];for(var F=0;F<N.length;F++)M.push(+N[F]);M.length===1&&(R?T[b].value=M[0]:T[b]=M[0])}return{name:O,data:T}}function h(S,E){var O=S.split(new RegExp(`
|
||
*`+f+`
|
||
*`,"g")),T={series:[]};return L.each(O,function(b,x){if(c(b)){var N=u(b),D=E[x],M=D.axisDim+"Axis";D&&(T[M]=T[M]||[],T[M][D.axisIndex]={data:N.categories},T.series=T.series.concat(N.series))}else{var N=i(b);T.series.push(N)}}),T}function p(S){this._dom=null,this.model=S}p.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:L.clone(w.title),lang:L.clone(w.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},p.prototype.onclick=function(S,E){var O=E.getDom(),T=this.model;this._dom&&O.removeChild(this._dom);var b=document.createElement("div");b.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",b.style.backgroundColor=T.get("backgroundColor")||"#fff";var x=document.createElement("h4"),N=T.get("lang")||[];x.innerHTML=N[0]||T.get("title"),x.style.cssText="margin: 10px 20px;",x.style.color=T.get("textColor");var D=document.createElement("div"),M=document.createElement("textarea");D.style.cssText="display:block;width:100%;overflow:auto;";var R=T.get("optionToContent"),F=T.get("contentToOption"),B=l(S);if(typeof R=="function"){var z=R(E.getOption());typeof z=="string"?D.innerHTML=z:L.isDom(z)&&D.appendChild(z)}else D.appendChild(M),M.readOnly=T.get("readOnly"),M.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",M.style.color=T.get("textColor"),M.style.borderColor=T.get("textareaBorderColor"),M.style.backgroundColor=T.get("textareaColor"),M.value=B.value;var U=B.meta,K=document.createElement("div");K.style.cssText="position:absolute;bottom:0;left:0;right:0;";var W="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",H=document.createElement("div"),Y=document.createElement("div");W+=";background-color:"+T.get("buttonColor"),W+=";color:"+T.get("buttonTextColor");var Q=this;function P(){O.removeChild(b),Q._dom=null}v.addEventListener(H,"click",P),v.addEventListener(Y,"click",function(){var G;try{typeof F=="function"?G=F(D,E.getOption()):G=h(M.value,U)}catch(J){throw P(),new Error("Data view format error "+J)}G&&E.dispatchAction({type:"changeDataView",newOption:G}),P()}),H.innerHTML=N[1],Y.innerHTML=N[2],Y.style.cssText=W,H.style.cssText=W,!T.get("readOnly")&&K.appendChild(Y),K.appendChild(H),b.appendChild(x),b.appendChild(D),b.appendChild(K),D.style.height=O.clientHeight-80+"px",O.appendChild(b),this._dom=b},p.prototype.remove=function(S,E){this._dom&&E.getDom().removeChild(this._dom)},p.prototype.dispose=function(S,E){this.remove(S,E)};function A(S,E){return L.map(S,function(O,T){var b=E&&E[T];if(L.isObject(b)&&!L.isArray(b)){var x=L.isObject(O)&&!L.isArray(O);x||(O={value:O});var N=b.name!=null&&O.name==null;return O=L.defaults(O,b),N&&delete O.name,O}else return O})}y.register("dataView",p),d.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(S,E){var O=[];L.each(S.newOption.series,function(T){var b=E.getSeriesByName(T.name)[0];if(!b)O.push(L.extend({type:"scatter"},T));else{var x=b.get("data");O.push({name:T.name,data:A(T.data,x)})}}),E.mergeOption(L.defaults({series:O},S.newOption))});var C=p;Z.exports=C},"3j8S":function(Z,_,e){var d=e("oEo5"),L=e("zYjg"),v=e("F62y");function m(o,s,l,n){var c=s.getData(),r=this.dataIndex,u=c.getName(r),i=s.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:o,name:u,seriesId:s.id}),c.each(function(h){y(c.getItemGraphicEl(h),c.getItemLayout(h),s.isSelected(c.getName(h)),i,l)})}function y(o,s,l,n,c){var r=(s.startAngle+s.endAngle)/2,u=Math.cos(r),i=Math.sin(r),h=l?n:0,p=[u*h,i*h];c?o.animate().when(200,{position:p}).start("bounceOut"):o.attr("position",p)}function w(o,s){L.Group.call(this);var l=new L.Sector({z2:2}),n=new L.Polyline,c=new L.Text;this.add(l),this.add(n),this.add(c),this.updateData(o,s,!0)}var f=w.prototype;f.updateData=function(o,s,l){var n=this.childAt(0),c=this.childAt(1),r=this.childAt(2),u=o.hostModel,i=o.getItemModel(s),h=o.getItemLayout(s),p=d.extend({},h);p.label=null;var A=u.getShallow("animationTypeUpdate");if(l){n.setShape(p);var C=u.getShallow("animationType");C==="scale"?(n.shape.r=h.r0,L.initProps(n,{shape:{r:h.r}},u,s)):(n.shape.endAngle=h.startAngle,L.updateProps(n,{shape:{endAngle:h.endAngle}},u,s))}else A==="expansion"?n.setShape(p):L.updateProps(n,{shape:p},u,s);var S=o.getItemVisual(s,"color");n.useStyle(d.defaults({lineJoin:"bevel",fill:S},i.getModel("itemStyle").getItemStyle())),n.hoverStyle=i.getModel("emphasis.itemStyle").getItemStyle();var E=i.getShallow("cursor");E&&n.attr("cursor",E),y(this,o.getItemLayout(s),u.isSelected(o.getName(s)),u.get("selectedOffset"),u.get("animation"));var O=!l&&A==="transition";this._updateLabel(o,s,O),this.highDownOnUpdate=u.get("silent")?null:function(T,b){var x=u.isAnimationEnabled()&&i.get("hoverAnimation");b==="emphasis"?(c.ignore=c.hoverIgnore,r.ignore=r.hoverIgnore,x&&(n.stopAnimation(!0),n.animateTo({shape:{r:h.r+u.get("hoverOffset")}},300,"elasticOut"))):(c.ignore=c.normalIgnore,r.ignore=r.normalIgnore,x&&(n.stopAnimation(!0),n.animateTo({shape:{r:h.r}},300,"elasticOut")))},L.setHoverStyle(this)},f._updateLabel=function(o,s,l){var n=this.childAt(1),c=this.childAt(2),r=o.hostModel,u=o.getItemModel(s),i=o.getItemLayout(s),h=i.label,p=o.getItemVisual(s,"color");if(!h||isNaN(h.x)||isNaN(h.y)){c.ignore=c.normalIgnore=c.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;return}var A={points:h.linePoints||[[h.x,h.y],[h.x,h.y],[h.x,h.y]]},C={x:h.x,y:h.y};l?(L.updateProps(n,{shape:A},r,s),L.updateProps(c,{style:C},r,s)):(n.attr({shape:A}),c.attr({style:C})),c.attr({rotation:h.rotation,origin:[h.x,h.y],z2:10});var S=u.getModel("label"),E=u.getModel("emphasis.label"),O=u.getModel("labelLine"),T=u.getModel("emphasis.labelLine"),p=o.getItemVisual(s,"color");L.setLabelStyle(c.style,c.hoverStyle={},S,E,{labelFetcher:o.hostModel,labelDataIndex:s,defaultText:h.text,autoColor:p,useInsideStyle:!!h.inside},{textAlign:h.textAlign,textVerticalAlign:h.verticalAlign,opacity:o.getItemVisual(s,"opacity")}),c.ignore=c.normalIgnore=!S.get("show"),c.hoverIgnore=!E.get("show"),n.ignore=n.normalIgnore=!O.get("show"),n.hoverIgnore=!T.get("show"),n.setStyle({stroke:p,opacity:o.getItemVisual(s,"opacity")}),n.setStyle(O.getModel("lineStyle").getLineStyle()),n.hoverStyle=T.getModel("lineStyle").getLineStyle();var b=O.get("smooth");b&&b===!0&&(b=.4),n.setShape({smooth:b})},d.inherits(w,L.Group);var a=v.extend({type:"pie",init:function(){var o=new L.Group;this._sectorGroup=o},render:function(o,s,l,n){if(n&&n.from===this.uid)return;var c=o.getData(),r=this._data,u=this.group,i=s.get("animation"),h=!r,p=o.get("animationType"),A=o.get("animationTypeUpdate"),C=d.curry(m,this.uid,o,i,l),S=o.get("selectedMode");if(c.diff(r).add(function(x){var N=new w(c,x);h&&p!=="scale"&&N.eachChild(function(D){D.stopAnimation(!0)}),S&&N.on("click",C),c.setItemGraphicEl(x,N),u.add(N)}).update(function(x,N){var D=r.getItemGraphicEl(N);!h&&A!=="transition"&&D.eachChild(function(M){M.stopAnimation(!0)}),D.updateData(c,x),D.off("click"),S&&D.on("click",C),u.add(D),c.setItemGraphicEl(x,D)}).remove(function(x){var N=r.getItemGraphicEl(x);u.remove(N)}).execute(),i&&c.count()>0&&(h?p!=="scale":A!=="transition")){for(var E=c.getItemLayout(0),O=1;isNaN(E.startAngle)&&O<c.count();++O)E=c.getItemLayout(O);var T=Math.max(l.getWidth(),l.getHeight())/2,b=d.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(E.cx,E.cy,T,E.startAngle,E.clockwise,b,o,h))}else u.removeClipPath();this._data=c},dispose:function(){},_createClipPath:function(o,s,l,n,c,r,u,i){var h=new L.Sector({shape:{cx:o,cy:s,r0:0,r:l,startAngle:n,endAngle:n,clockwise:c}}),p=i?L.initProps:L.updateProps;return p(h,{shape:{endAngle:n+(c?1:-1)*Math.PI*2}},u,r),h},containPoint:function(o,s){var l=s.getData(),n=l.getItemLayout(0);if(n){var c=o[0]-n.cx,r=o[1]-n.cy,u=Math.sqrt(c*c+r*r);return u<=n.r&&u>=n.r0}}}),t=a;Z.exports=t},"3uc+":function(Z,_){var e="original",d="arrayRows",L="objectRows",v="keyedColumns",m="unknown",y="typedArray",w="column",f="row";_.SOURCE_FORMAT_ORIGINAL=e,_.SOURCE_FORMAT_ARRAY_ROWS=d,_.SOURCE_FORMAT_OBJECT_ROWS=L,_.SOURCE_FORMAT_KEYED_COLUMNS=v,_.SOURCE_FORMAT_UNKNOWN=m,_.SOURCE_FORMAT_TYPED_ARRAY=y,_.SERIES_LAYOUT_BY_COLUMN=w,_.SERIES_LAYOUT_BY_ROW=f},"4+FC":function(Z,_,e){var d=e("oEo5"),L=e("2E9u"),v=e("YsOP"),m=e("TfK1"),y=function(t,o){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=o};y.prototype={constructor:y,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,o,s){typeof t=="function"&&(s=o,o=t,t=null),t=t||{},d.isString(t)&&(t={order:t});var l=t.order||"preorder",n=this[t.attr||"children"],c;l==="preorder"&&(c=o.call(s,this));for(var r=0;!c&&r<n.length;r++)n[r].eachNode(t,o,s);l==="postorder"&&o.call(s,this)},updateDepthAndHeight:function(t){var o=0;this.depth=t;for(var s=0;s<this.children.length;s++){var l=this.children[s];l.updateDepthAndHeight(t+1),l.height>o&&(o=l.height)}this.height=o+1},getNodeById:function(t){if(this.getId()===t)return this;for(var o=0,s=this.children,l=s.length;o<l;o++){var n=s[o].getNodeById(t);if(n)return n}},contains:function(t){if(t===this)return!0;for(var o=0,s=this.children,l=s.length;o<l;o++){var n=s[o].contains(t);if(n)return n}},getAncestors:function(t){for(var o=[],s=t?this:this.parentNode;s;)o.push(s),s=s.parentNode;return o.reverse(),o},getValue:function(t){var o=this.hostTree.data;return o.get(o.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,o){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,o)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(this.dataIndex<0)return;var o=this.hostTree,s=o.data.getItemModel(this.dataIndex);return s.getModel(t)},setVisual:function(t,o){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,o)},getVisual:function(t,o){return this.hostTree.data.getItemVisual(this.dataIndex,t,o)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var o=t.parentNode;o;){if(o===this)return!0;o=o.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}};function w(t){this.root,this.data,this._nodes=[],this.hostModel=t}w.prototype={constructor:w,type:"tree",eachNode:function(t,o,s){this.root.eachNode(t,o,s)},getNodeByDataIndex:function(t){var o=this.data.getRawIndex(t);return this._nodes[o]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,o=this._nodes,s=0,l=o.length;s<l;s++)o[s].dataIndex=-1;for(var s=0,l=t.count();s<l;s++)o[t.getRawIndex(s)].dataIndex=s},clearLayouts:function(){this.data.clearItemLayouts()}},w.createTree=function(t,o,s){var l=new w(o),n=[],c=1;r(t);function r(h,p){var A=h.value;c=Math.max(c,d.isArray(A)?A.length:1),n.push(h);var C=new y(h.name,l);p?f(C,p):l.root=C,l._nodes.push(C);var S=h.children;if(S)for(var E=0;E<S.length;E++)r(S[E],C)}l.root.updateDepthAndHeight(0);var u=m(n,{coordDimensions:["value"],dimensionsCount:c}),i=new v(u,o);return i.initData(n),s&&s(i),L({mainData:i,struct:l,structAttr:"tree"}),l.update(),l};function f(t,o){var s=o.children;if(t.parentNode===o)return;s.push(t),t.parentNode=o}var a=w;Z.exports=a},"4/zX":function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("Q6Bq"),m=e("oEo5"),y=e("QV7q"),w=e("zYjg"),f=e("SSBM"),a=e("Jjzi"),t=a.parsePercent,o={path:null,compoundPath:null,group:w.Group,image:w.Image,text:w.Text};v.registerPreprocessor(function(A){var C=A.graphic;m.isArray(C)?!C[0]||!C[0].elements?A.graphic=[{elements:C}]:A.graphic=[A.graphic[0]]:C&&!C.elements&&(A.graphic=[{elements:[C]}])});var s=v.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(A){var C=this.option.elements;this.option.elements=null,s.superApply(this,"mergeOption",arguments),this.option.elements=C},optionUpdated:function(A,C){var S=this.option,E=(C?S:A).elements,O=S.elements=C?[]:S.elements,T=[];this._flatten(E,T);var b=y.mappingToExists(O,T);y.makeIdAndName(b);var x=this._elOptionsToUpdate=[];m.each(b,function(D,M){var R=D.option;if(!R)return;x.push(R),u(D,R),i(O,M,R),h(O[M],R)},this);for(var N=O.length-1;N>=0;N--)O[N]==null?O.splice(N,1):delete O[N].$action},_flatten:function(A,C,S){m.each(A,function(E){if(!E)return;S&&(E.parentOption=S),C.push(E);var O=E.children;E.type==="group"&&O&&this._flatten(O,C,E),delete E.children},this)},useElOptionsToUpdate:function(){var A=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,A}});v.extendComponentView({type:"graphic",init:function(A,C){this._elMap=m.createHashMap(),this._lastGraphicModel},render:function(A,C,S){A!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=A,this._updateElements(A),this._relocate(A,S)},_updateElements:function(A){var C=A.useElOptionsToUpdate();if(!C)return;var S=this._elMap,E=this.group;m.each(C,function(O){var T=O.$action,b=O.id,x=S.get(b),N=O.parentId,D=N!=null?S.get(N):E,M=O.style;O.type==="text"&&M&&(O.hv&&O.hv[1]&&(M.textVerticalAlign=M.textBaseline=null),!M.hasOwnProperty("textFill")&&M.fill&&(M.textFill=M.fill),!M.hasOwnProperty("textStroke")&&M.stroke&&(M.textStroke=M.stroke));var R=c(O);!T||T==="merge"?x?x.attr(R):l(b,D,R,S):T==="replace"?(n(x,S),l(b,D,R,S)):T==="remove"&&n(x,S);var F=S.get(b);F&&(F.__ecGraphicWidthOption=O.width,F.__ecGraphicHeightOption=O.height,p(F,A,O))})},_relocate:function(A,C){for(var S=A.option.elements,E=this.group,O=this._elMap,T=C.getWidth(),b=C.getHeight(),x=0;x<S.length;x++){var N=S[x],D=O.get(N.id);if(!D||!D.isGroup)continue;var M=D.parent,R=M===E;D.__ecGraphicWidth=t(D.__ecGraphicWidthOption,R?T:M.__ecGraphicWidth)||0,D.__ecGraphicHeight=t(D.__ecGraphicHeightOption,R?b:M.__ecGraphicHeight)||0}for(var x=S.length-1;x>=0;x--){var N=S[x],D=O.get(N.id);if(!D)continue;var M=D.parent,F=M===E?{width:T,height:b}:{width:M.__ecGraphicWidth,height:M.__ecGraphicHeight};f.positionElement(D,N,F,null,{hv:N.hv,boundingMode:N.bounding})}},_clear:function(){var A=this._elMap;A.each(function(C){n(C,A)}),this._elMap=m.createHashMap()},dispose:function(){this._clear()}});function l(A,C,S,E){var O=S.type,T=o.hasOwnProperty(O)?o[O]:w.getShapeClass(O),b=new T(S);C.add(b),E.set(A,b),b.__ecGraphicId=A}function n(A,C){var S=A&&A.parent;S&&(A.type==="group"&&A.traverse(function(E){n(E,C)}),C.removeKey(A.__ecGraphicId),S.remove(A))}function c(A){return A=m.extend({},A),m.each(["id","parentId","$action","hv","bounding"].concat(f.LOCATION_PARAMS),function(C){delete A[C]}),A}function r(A,C){var S;return m.each(C,function(E){A[E]!=null&&A[E]!=="auto"&&(S=!0)}),S}function u(A,C){var S=A.exist;if(C.id=A.keyInfo.id,!C.type&&S&&(C.type=S.type),C.parentId==null){var E=C.parentOption;E?C.parentId=E.id:S&&(C.parentId=S.parentId)}C.parentOption=null}function i(A,C,S){var E=m.extend({},S),O=A[C],T=S.$action||"merge";T==="merge"?O?(m.merge(O,E,!0),f.mergeLayoutParam(O,E,{ignoreSize:!0}),f.copyLayoutParams(S,O)):A[C]=E:T==="replace"?A[C]=E:T==="remove"&&(O&&(A[C]=null))}function h(A,C){if(!A)return;A.hv=C.hv=[r(C,["left","right"]),r(C,["top","bottom"])],A.type==="group"&&(A.width==null&&(A.width=C.width=0),A.height==null&&(A.height=C.height=0))}function p(A,C,S){var E=A.eventData;!A.silent&&!A.ignore&&!E&&(E=A.eventData={componentType:"graphic",componentIndex:C.componentIndex,name:A.name}),E&&(E.info=A.info)}},"4B7A":function(Z,_,e){},"4Gpq":function(Z,_,e){"use strict";e.d(_,"b",function(){return L}),e.d(_,"a",function(){return v});var d=e("vWUX"),L=Object(d.a)("success","processing","error","default","warning"),v=Object(d.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"4M5R":function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=d.extendComponentView({type:"marker",init:function(){this.markerGroupMap=L.createHashMap()},render:function(m,y,w){var f=this.markerGroupMap;f.each(function(t){t.__keep=!1});var a=this.type+"Model";y.eachSeries(function(t){var o=t[a];o&&this.renderSeries(t,o,y,w)},this),f.each(function(t){!t.__keep&&this.group.remove(t.group)},this)},renderSeries:function(){}});Z.exports=v},"4RZn":function(Z,_,e){var d=e("MWS/"),L=d.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});Z.exports=L},"4Tx6":function(Z,_,e){var d=e("kcRU"),L=e("+Vnd"),v=L.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(m,y){return d(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});Z.exports=v},"4UXL":function(Z,_,e){e("9LFT"),e("KGov"),e("JOzO"),e("D90B")},"4X1q":function(Z,_,e){},"4Zqh":function(Z,_,e){var d=e("YsWf"),L=e("sYRh"),v=e("SSBM"),m=v.getLayoutRect,y=e("oEo5"),w=y.each;function f(t,o,s){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,o,s),this.model=t}f.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:f,_init:function(t,o,s){var l=this.dimension,n=new d(l,L.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),c=n.type==="category";n.onBand=c&&t.get("boundaryGap"),n.inverse=t.get("inverse"),n.orient=t.get("orient"),t.axis=n,n.model=t,n.coordinateSystem=this,this._axis=n},update:function(t,o){t.eachSeries(function(s){if(s.coordinateSystem===this){var l=s.getData();w(l.mapDimension(this.dimension,!0),function(n){this._axis.scale.unionExtentFromData(l,n)},this),L.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(t,o){this._rect=m({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:o.getWidth(),height:o.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,o=this._axis,s=o.isHorizontal(),l=s?[0,t.width]:[0,t.height],n=o.reverse?1:0;o.setExtent(l[n],l[1-n]),this._updateAxisTransform(o,s?t.x:t.y)},_updateAxisTransform:function(t,o){var s=t.getExtent(),l=s[0]+s[1],n=t.isHorizontal();t.toGlobalCoord=n?function(c){return c+o}:function(c){return l-c+o},t.toLocalCoord=n?function(c){return c-o}:function(c){return l-c+o}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var o=this.getRect(),s=this.getAxis(),l=s.orient;return l==="horizontal"?s.contain(s.toLocalCoord(t[0]))&&t[1]>=o.y&&t[1]<=o.y+o.height:s.contain(s.toLocalCoord(t[1]))&&t[0]>=o.y&&t[0]<=o.y+o.height},pointToData:function(t){var o=this.getAxis();return[o.coordToData(o.toLocalCoord(t[o.orient==="horizontal"?0:1]))]},dataToPoint:function(t){var o=this.getAxis(),s=this.getRect(),l=[],n=o.orient==="horizontal"?0:1;return t instanceof Array&&(t=t[0]),l[n]=o.toGlobalCoord(o.dataToCoord(+t)),l[1-n]=n===0?s.y+s.height/2:s.x+s.width/2,l}};var a=f;Z.exports=a},"4Zqk":function(Z,_,e){var d=e("oEo5"),L=d.createHashMap,v=d.each,m=d.isString,y=d.defaults,w=d.extend,f=d.isObject,a=d.clone,t=e("QV7q"),o=t.normalizeToArray,s=e("kAFf"),l=s.guessOrdinal,n=s.BE_ORDINAL,c=e("vwaK"),r=e("ArUA"),u=r.OTHER_DIMENSIONS,i=e("ZtBV");function h(S,E,O){c.isInstance(E)||(E=c.seriesDataToSource(E)),O=O||{},S=(S||[]).slice();for(var T=(O.dimsDef||[]).slice(),b=L(),x=L(),N=[],D=p(E,S,T,O.dimCount),M=0;M<D;M++){var R=T[M]=w({},f(T[M])?T[M]:{name:T[M]}),F=R.name,B=N[M]=new i;F!=null&&b.get(F)==null&&(B.name=B.displayName=F,b.set(F,M)),R.type!=null&&(B.type=R.type),R.displayName!=null&&(B.displayName=R.displayName)}var z=O.encodeDef;!z&&O.encodeDefaulter&&(z=O.encodeDefaulter(E,D)),z=L(z),z.each(function(J,he){if(J=o(J).slice(),J.length===1&&!m(J[0])&&J[0]<0){z.set(he,!1);return}var te=z.set(he,[]);v(J,function(pe,we){m(pe)&&(pe=b.get(pe)),pe!=null&&pe<D&&(te[we]=pe,K(N[pe],he,we))})});var U=0;v(S,function(J,he){var te,J,pe,we;if(m(J))te=J,J={};else{te=J.name;var be=J.ordinalMeta;J.ordinalMeta=null,J=a(J),J.ordinalMeta=be,pe=J.dimsDef,we=J.otherDims,J.name=J.coordDim=J.coordDimIndex=J.dimsDef=J.otherDims=null}var Qe=z.get(te);if(Qe===!1)return;var Qe=o(Qe);if(!Qe.length)for(var $e=0;$e<(pe&&pe.length||1);$e++){for(;U<N.length&&N[U].coordDim!=null;)U++;U<N.length&&Qe.push(U++)}v(Qe,function(yt,Fe){var Pe=N[yt];if(K(y(Pe,J),te,Fe),Pe.name==null&&pe){var gt=pe[Fe];!f(gt)&&(gt={name:gt}),Pe.name=Pe.displayName=gt.name,Pe.defaultTooltip=gt.defaultTooltip}we&&y(Pe.otherDims,we)})});function K(J,he,te){u.get(he)!=null?J.otherDims[he]=te:(J.coordDim=he,J.coordDimIndex=te,x.set(he,!0))}var W=O.generateCoord,H=O.generateCoordCount,Y=H!=null;H=W?H||1:0;for(var Q=W||"value",P=0;P<D;P++){var B=N[P]=N[P]||new i,G=B.coordDim;G==null&&(B.coordDim=A(Q,x,Y),B.coordDimIndex=0,(!W||H<=0)&&(B.isExtraCoord=!0),H--),B.name==null&&(B.name=A(B.coordDim,b)),B.type==null&&(l(E,P,B.name)===n.Must||B.isExtraCoord&&(B.otherDims.itemName!=null||B.otherDims.seriesName!=null))&&(B.type="ordinal")}return N}function p(S,E,O,T){var b=Math.max(S.dimensionsDetectCount||1,E.length,O.length,T||0);return v(E,function(x){var N=x.dimsDef;N&&(b=Math.max(b,N.length))}),b}function A(S,E,O){if(O||E.get(S)!=null){for(var T=0;E.get(S+T)!=null;)T++;S+=T}return E.set(S,!0),S}var C=h;Z.exports=C},"4i2E":function(Z,_,e){var d=e("qp2x");_.zrender=d;var L=e("4uqo");_.matrix=L;var v=e("Wa83");_.vector=v;var m=e("oEo5"),y=e("XTQn");_.color=y;var w=e("zYjg"),f=e("Jjzi");_.number=f;var a=e("CQhY");_.format=a;var t=e("cARS"),o=t.throttle;_.throttle=t.throttle;var s=e("Beoy");_.helper=s;var l=e("/H/D");_.parseGeoJSON=l;var n=e("YsOP");_.List=n;var c=e("P0S0");_.Model=c;var r=e("EgZf");_.Axis=r;var u=e("gyjJ");_.env=u;var i=l,h={};m.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(A){h[A]=m[A]});var p={};m.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(A){p[A]=w[A]}),_.parseGeoJson=i,_.util=h,_.graphic=p},"4lWZ":function(Z,_,e){var d=e("Q6Bq"),L=e("si9V"),v=L.Polygon,m=e("zYjg"),y=e("oEo5"),w=y.bind,f=y.extend,a=e("JkS2"),t=d.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(s,l,n){var c=s.getData(),r=this.group,u=s.getLayerSeries(),i=c.getLayout("layoutInfo"),h=i.rect,p=i.boundaryGap;r.attr("position",[0,h.y+p[0]]);function A(O){return O.name}var C=new a(this._layersSeries||[],u,A,A),S={};C.add(w(E,this,"add")).update(w(E,this,"update")).remove(w(E,this,"remove")).execute();function E(O,T,b){var x=this._layers;if(O==="remove"){r.remove(x[T]);return}for(var N=[],D=[],M,R=u[T].indices,F=0;F<R.length;F++){var B=c.getItemLayout(R[F]),z=B.x,U=B.y0,K=B.y;N.push([z,U]),D.push([z,U+K]),M=c.getItemVisual(R[F],"color")}var W,H,Y=c.getItemLayout(R[0]),Q=c.getItemModel(R[F-1]),P=Q.getModel("label"),G=P.get("margin");if(O==="add"){var J=S[T]=new m.Group;W=new v({shape:{points:N,stackedOnPoints:D,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),H=new m.Text({style:{x:Y.x-G,y:Y.y0+Y.y/2}}),J.add(W),J.add(H),r.add(J),W.setClipPath(o(W.getBoundingRect(),s,function(){W.removeClipPath()}))}else{var J=x[b];W=J.childAt(0),H=J.childAt(1),r.add(J),S[T]=J,m.updateProps(W,{shape:{points:N,stackedOnPoints:D}},s),m.updateProps(H,{style:{x:Y.x-G,y:Y.y0+Y.y/2}},s)}var he=Q.getModel("emphasis.itemStyle"),te=Q.getModel("itemStyle");m.setTextStyle(H.style,P,{text:P.get("show")?s.getFormattedLabel(R[F-1],"normal")||c.getName(R[F-1]):null,textVerticalAlign:"middle"}),W.setStyle(f({fill:M},te.getItemStyle(["color"]))),m.setHoverStyle(W,he.getItemStyle())}this._layersSeries=u,this._layers=S},dispose:function(){}});function o(s,l,n){var c=new m.Rect({shape:{x:s.x-10,y:s.y-10,width:0,height:s.height+20}});return m.initProps(c,{shape:{width:s.width+20,height:s.height+20}},l,n),c}Z.exports=t},"4oC3":function(Z,_,e){Z.exports=d;function d(){return e("3cTV"),{}}},"4uqo":function(Z,_){var e=typeof Float32Array=="undefined"?Array:Float32Array;function d(){var o=new e(6);return L(o),o}function L(o){return o[0]=1,o[1]=0,o[2]=0,o[3]=1,o[4]=0,o[5]=0,o}function v(o,s){return o[0]=s[0],o[1]=s[1],o[2]=s[2],o[3]=s[3],o[4]=s[4],o[5]=s[5],o}function m(o,s,l){var n=s[0]*l[0]+s[2]*l[1],c=s[1]*l[0]+s[3]*l[1],r=s[0]*l[2]+s[2]*l[3],u=s[1]*l[2]+s[3]*l[3],i=s[0]*l[4]+s[2]*l[5]+s[4],h=s[1]*l[4]+s[3]*l[5]+s[5];return o[0]=n,o[1]=c,o[2]=r,o[3]=u,o[4]=i,o[5]=h,o}function y(o,s,l){return o[0]=s[0],o[1]=s[1],o[2]=s[2],o[3]=s[3],o[4]=s[4]+l[0],o[5]=s[5]+l[1],o}function w(o,s,l){var n=s[0],c=s[2],r=s[4],u=s[1],i=s[3],h=s[5],p=Math.sin(l),A=Math.cos(l);return o[0]=n*A+u*p,o[1]=-n*p+u*A,o[2]=c*A+i*p,o[3]=-c*p+A*i,o[4]=A*r+p*h,o[5]=A*h-p*r,o}function f(o,s,l){var n=l[0],c=l[1];return o[0]=s[0]*n,o[1]=s[1]*c,o[2]=s[2]*n,o[3]=s[3]*c,o[4]=s[4]*n,o[5]=s[5]*c,o}function a(o,s){var l=s[0],n=s[2],c=s[4],r=s[1],u=s[3],i=s[5],h=l*u-r*n;return h?(h=1/h,o[0]=u*h,o[1]=-r*h,o[2]=-n*h,o[3]=l*h,o[4]=(n*i-u*c)*h,o[5]=(r*c-l*i)*h,o):null}function t(o){var s=d();return v(s,o),s}_.create=d,_.identity=L,_.copy=v,_.mul=m,_.translate=y,_.rotate=w,_.scale=f,_.invert=a,_.clone=t},"5Gbn":function(Z,_,e){e("BqSt"),e("zYTh"),e("leS/")},"5Hd0":function(Z,_,e){var d=e("kmlw"),L=e("65wg"),v=e("u5Eq");function m(){this.size=0,this.__data__={hash:new d,map:new(v||L),string:new d}}Z.exports=m},"5M8n":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=function(v){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,y=null;return function(){for(var w=this,f=arguments.length,a=new Array(f),t=0;t<f;t++)a[t]=arguments[t];clearTimeout(y),y=setTimeout(function(){v.apply(w,a)},m)}};_.default=d},"5NJe":function(Z,_){function e(d){return function(L){return L==null?void 0:L[d]}}Z.exports=e},"5bxg":function(Z,_,e){var d=e("IQq/"),L=e("FiFR"),v=e("yOV+"),m=e("cLjh"),y=["x","y"],w=["width","height"],f=d.extend({makeElOption:function(l,n,c,r,u){var i=c.axis,h=i.coordinateSystem,p=o(h,1-t(i)),A=h.dataToPoint(n)[0],C=r.get("type");if(C&&C!=="none"){var S=L.buildElStyle(r),E=a[C](i,A,p);E.style=S,l.graphicKey=E.type,l.pointer=E}var O=v.layout(c);L.buildCartesianSingleLabelElOption(n,l,O,c,r,u)},getHandleTransform:function(l,n,c){var r=v.layout(n,{labelInside:!1});return r.labelMargin=c.get("handle.margin"),{position:L.getTransformedPosition(n.axis,l,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(l,n,c,r){var u=c.axis,i=u.coordinateSystem,h=t(u),p=o(i,h),A=l.position;A[h]+=n[h],A[h]=Math.min(p[1],A[h]),A[h]=Math.max(p[0],A[h]);var C=o(i,1-h),S=(C[1]+C[0])/2,E=[S,S];return E[h]=A[h],{position:A,rotation:l.rotation,cursorPoint:E,tooltipOption:{verticalAlign:"middle"}}}}),a={line:function(l,n,c){var r=L.makeLineShape([n,c[0]],[n,c[1]],t(l));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(l,n,c){var r=l.getBandWidth(),u=c[1]-c[0];return{type:"Rect",shape:L.makeRectShape([n-r/2,c[0]],[r,u],t(l))}}};function t(l){return l.isHorizontal()?0:1}function o(l,n){var c=l.getRect();return[c[y[n]],c[y[n]]+c[w[n]]]}m.registerAxisPointerClass("SingleAxisPointer",f);var s=f;Z.exports=s},"5fdl":function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("6q22"),m=e("J+4g"),y=e("MLk5"),w=e("/vp6"),f=e("Owcv"),a=f.onIrrelevantElement,t=e("zYjg"),o=e("Epjc"),s=e("w9ct"),l=s.getNodeGlobalScale,n="__focusNodeAdjacency",c="__unfocusNodeAdjacency",r=["itemStyle","opacity"],u=["lineStyle","opacity"];function i(C,S){var E=C.getVisual("opacity");return E!=null?E:C.getModel().get(S)}function h(C,S,E){var O=C.getGraphicEl(),T=i(C,S);E!=null&&(T==null&&(T=1),T*=E),O.downplay&&O.downplay(),O.traverse(function(b){if(!b.isGroup){var x=b.lineLabelOriginalOpacity;(x==null||E!=null)&&(x=T),b.setStyle("opacity",x)}})}function p(C,S){var E=i(C,S),O=C.getGraphicEl();O.traverse(function(T){!T.isGroup&&T.setStyle("opacity",E)}),O.highlight&&O.highlight()}var A=d.extendChartView({type:"graph",init:function(C,S){var E=new v,O=new m,T=this.group;this._controller=new y(S.getZr()),this._controllerHost={target:T},T.add(E.group),T.add(O.group),this._symbolDraw=E,this._lineDraw=O,this._firstRender=!0},render:function(C,S,E){var O=this,T=C.coordinateSystem;this._model=C;var b=this._symbolDraw,x=this._lineDraw,N=this.group;if(T.type==="view"){var D={position:T.position,scale:T.scale};this._firstRender?N.attr(D):t.updateProps(N,D,C)}o(C.getGraph(),l(C));var M=C.getData();b.updateData(M);var R=C.getEdgeData();x.updateData(R),this._updateNodeAndLinkScale(),this._updateController(C,S,E),clearTimeout(this._layoutTimeout);var F=C.forceLayout,B=C.get("force.layoutAnimation");F&&this._startForceLayoutIteration(F,B),M.eachItemGraphicEl(function(W,H){var Y=M.getItemModel(H);W.off("drag").off("dragend");var Q=Y.get("draggable");Q&&W.on("drag",function(){F&&(F.warmUp(),!this._layouting&&this._startForceLayoutIteration(F,B),F.setFixed(H),M.setItemLayout(H,W.position))},this).on("dragend",function(){F&&F.setUnfixed(H)},this),W.setDraggable(Q&&F),W[n]&&W.off("mouseover",W[n]),W[c]&&W.off("mouseout",W[c]),Y.get("focusNodeAdjacency")&&(W.on("mouseover",W[n]=function(){O._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:C.id,dataIndex:W.dataIndex})}),W.on("mouseout",W[c]=function(){O._dispatchUnfocus(E)}))},this),M.graph.eachEdge(function(W){var H=W.getGraphicEl();H[n]&&H.off("mouseover",H[n]),H[c]&&H.off("mouseout",H[c]),W.getModel().get("focusNodeAdjacency")&&(H.on("mouseover",H[n]=function(){O._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:C.id,edgeDataIndex:W.dataIndex})}),H.on("mouseout",H[c]=function(){O._dispatchUnfocus(E)}))});var z=C.get("layout")==="circular"&&C.get("circular.rotateLabel"),U=M.getLayout("cx"),K=M.getLayout("cy");M.eachItemGraphicEl(function(W,H){var Y=M.getItemModel(H),Q=Y.get("label.rotate")||0,P=W.getSymbolPath();if(z){var G=M.getItemLayout(H),J=Math.atan2(G[1]-K,G[0]-U);J<0&&(J=Math.PI*2+J);var he=G[0]<U;he&&(J=J-Math.PI);var te=he?"left":"right";t.modifyLabelStyle(P,{textRotation:-J,textPosition:te,textOrigin:"center"},{textPosition:te})}else t.modifyLabelStyle(P,{textRotation:Q*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(C,S){var E=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){E._unfocusDelayTimer=null,C.dispatchAction({type:"unfocusNodeAdjacency",seriesId:E._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(C,S,E,O){var T=C.getData(),b=T.graph,x=O.dataIndex,N=O.edgeDataIndex,D=b.getNodeByIndex(x),M=b.getEdgeByIndex(N);if(!D&&!M)return;b.eachNode(function(R){h(R,r,.1)}),b.eachEdge(function(R){h(R,u,.1)}),D&&(p(D,r),L.each(D.edges,function(R){if(R.dataIndex<0)return;p(R,u),p(R.node1,r),p(R.node2,r)})),M&&(p(M,u),p(M.node1,r),p(M.node2,r))},unfocusNodeAdjacency:function(C,S,E,O){var T=C.getData().graph;T.eachNode(function(b){h(b,r)}),T.eachEdge(function(b){h(b,u)})},_startForceLayoutIteration:function(C,S){var E=this;(function O(){C.step(function(T){E.updateLayout(E._model),(E._layouting=!T)&&(S?E._layoutTimeout=setTimeout(O,16):O())})})()},_updateController:function(C,S,E){var O=this._controller,T=this._controllerHost,b=this.group;if(O.setPointerChecker(function(x,N,D){var M=b.getBoundingRect();return M.applyTransform(b.transform),M.contain(N,D)&&!a(x,E,C)}),C.coordinateSystem.type!=="view"){O.disable();return}O.enable(C.get("roam")),T.zoomLimit=C.get("scaleLimit"),T.zoom=C.coordinateSystem.getZoom(),O.off("pan").off("zoom").on("pan",function(x){w.updateViewOnPan(T,x.dx,x.dy),E.dispatchAction({seriesId:C.id,type:"graphRoam",dx:x.dx,dy:x.dy})}).on("zoom",function(x){w.updateViewOnZoom(T,x.scale,x.originX,x.originY),E.dispatchAction({seriesId:C.id,type:"graphRoam",zoom:x.scale,originX:x.originX,originY:x.originY}),this._updateNodeAndLinkScale(),o(C.getGraph(),l(C)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var C=this._model,S=C.getData(),E=l(C),O=[E,E];S.eachItemGraphicEl(function(T,b){T.attr("scale",O)})},updateLayout:function(C){o(C.getGraph(),l(C)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(C,S){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});Z.exports=A},"5jTU":function(Z,_,e){var d=e("oEo5");function L(w){var f=w&&w.timeline;d.isArray(f)||(f=f?[f]:[]),d.each(f,function(a){if(!a)return;v(a)})}function v(w){var f=w.type,a={number:"value",time:"time"};if(a[f]&&(w.axisType=a[f],delete w.type),m(w),y(w,"controlPosition")){var t=w.controlStyle||(w.controlStyle={});y(t,"position")||(t.position=w.controlPosition),t.position==="none"&&!y(t,"show")&&(t.show=!1,delete t.position),delete w.controlPosition}d.each(w.data||[],function(o){d.isObject(o)&&!d.isArray(o)&&(!y(o,"value")&&y(o,"name")&&(o.value=o.name),m(o))})}function m(w){var f=w.itemStyle||(w.itemStyle={}),a=f.emphasis||(f.emphasis={}),t=w.label||w.label||{},o=t.normal||(t.normal={}),s={normal:1,emphasis:1};d.each(t,function(l,n){!s[n]&&!y(o,n)&&(o[n]=l)}),a.label&&!y(t,"emphasis")&&(t.emphasis=a.label,delete a.label)}function y(w,f){return w.hasOwnProperty(f)}Z.exports=L},"5qfg":function(Z,_,e){var d=e("oEo5");function L(v){var m=v.polar;if(m){d.isArray(m)||(m=[m]);var y=[];d.each(m,function(w,f){w.indicator?(w.type&&!w.shape&&(w.shape=w.type),v.radar=v.radar||[],d.isArray(v.radar)||(v.radar=[v.radar]),v.radar.push(w)):y.push(w)}),v.polar=y}d.each(v.series,function(w){w&&w.type==="radar"&&w.polarIndex&&(w.radarIndex=w.polarIndex)})}Z.exports=L},"5sjV":function(Z,_,e){var d=e("TmiR"),L=e("kY/L"),v=e("1JkX"),m=function(){this.group=new d,this.uid=L.getUID("viewComponent")};m.prototype={constructor:m,init:function(f,a){},render:function(f,a,t,o){},dispose:function(){},filterForExposedEvent:null};var y=m.prototype;y.updateView=y.updateLayout=y.updateVisual=function(f,a,t,o){},v.enableClassExtend(m),v.enableClassManagement(m,{registerWhenExtend:!0});var w=m;Z.exports=w},"5xMV":function(Z,_,e){var d=e("oEo5"),L=d.each;function v(y){var w=y&&y.visualMap;d.isArray(w)||(w=w?[w]:[]),L(w,function(f){if(!f)return;m(f,"splitList")&&!m(f,"pieces")&&(f.pieces=f.splitList,delete f.splitList);var a=f.pieces;a&&d.isArray(a)&&L(a,function(t){d.isObject(t)&&(m(t,"start")&&!m(t,"min")&&(t.min=t.start),m(t,"end")&&!m(t,"max")&&(t.max=t.end))})})}function m(y,w){return y&&y.hasOwnProperty&&y.hasOwnProperty(w)}Z.exports=v},"6/iG":function(Z,_,e){var d=e("oEo5"),L=d.each,v=e("/H/D"),m=e("QV7q"),y=m.makeInner,w=e("N3n5"),f=e("/xIj"),a=e("fuH6"),t=e("VSH6"),o=y(),s={load:function(n,c,r){var u=o(c).parsed;if(u)return u;var i=c.specialAreas||{},h=c.geoJSON,p;try{p=h?v(h,r):[]}catch(A){throw new Error(`Invalid geoJson format
|
||
`+A.message)}return w(n,p),L(p,function(A){var C=A.name;f(n,A),a(n,A),t(n,A);var S=i[C];S&&A.transformTo(S.left,S.top,S.width,S.height)}),o(c).parsed={regions:p,boundingRect:l(p)}}};function l(n){for(var c,r=0;r<n.length;r++){var u=n[r].getBoundingRect();c=c||u.clone(),c.union(u)}return c}Z.exports=s},"60Hr":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("oW2c"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},"65wg":function(Z,_,e){var d=e("EraS"),L=e("WEmw"),v=e("/wlt"),m=e("zb5h"),y=e("CDzN");function w(f){var a=-1,t=f==null?0:f.length;for(this.clear();++a<t;){var o=f[a];this.set(o[0],o[1])}}w.prototype.clear=d,w.prototype.delete=L,w.prototype.get=v,w.prototype.has=m,w.prototype.set=y,Z.exports=w},"69Rt":function(Z,_,e){},"6FCF":function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=e("zYjg"),y=e("yuiD"),w=y.getDefaultLabel,f=e("kcRU"),a=e("9OCn"),t=a.getLayoutOnAxis,o=e("JkS2"),s=e("+Vnd"),l=e("P0S0"),n=e("F62y"),c=e("PyNg"),r=c.createClipPath,u=e("q8C7"),i=e("3Zz5"),h=e("NZYQ"),p=e("e6iB"),A=e("vrPM"),C=m.CACHED_LABEL_STYLE_PROPERTIES,S=["itemStyle"],E=["emphasis","itemStyle"],O=["label"],T=["emphasis","label"],b="e\0\0",x={cartesian2d:u,geo:i,singleAxis:h,polar:p,calendar:A};s.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(te,pe){return f(this.getSource(),this)},getDataParams:function(te,pe,we){var be=s.prototype.getDataParams.apply(this,arguments);return we&&(be.info=we.info),be}}),n.extend({type:"custom",_data:null,render:function(te,pe,we,be){var Qe=this._data,$e=te.getData(),yt=this.group,Fe=R(te,$e,pe,we);$e.diff(Qe).add(function(gt){B(null,gt,Fe(gt,be),te,yt,$e)}).update(function(gt,it){var qe=Qe.getItemGraphicEl(it);B(qe,gt,Fe(gt,be),te,yt,$e)}).remove(function(gt){var it=Qe.getItemGraphicEl(gt);it&&yt.remove(it)}).execute();var Pe=te.get("clip",!0)?r(te.coordinateSystem,!1,te):null;Pe?yt.setClipPath(Pe):yt.removeClipPath(),this._data=$e},incrementalPrepareRender:function(te,pe,we){this.group.removeAll(),this._data=null},incrementalRender:function(te,pe,we,be,Qe){var $e=pe.getData(),yt=R(pe,$e,we,be);function Fe(it){it.isGroup||(it.incremental=!0,it.useHoverLayer=!0)}for(var Pe=te.start;Pe<te.end;Pe++){var gt=B(null,Pe,yt(Pe,Qe),pe,this.group,$e);gt.traverse(Fe)}},dispose:v.noop,filterForExposedEvent:function(te,pe,we,be){var Qe=pe.element;if(Qe==null||we.name===Qe)return!0;for(;(we=we.parent)&&we!==this.group;)if(we.name===Qe)return!0;return!1}});function N(te){var pe=te.type,we;if(pe==="path"){var be=te.shape,Qe=be.width!=null&&be.height!=null?{x:be.x||0,y:be.y||0,width:be.width,height:be.height}:null,$e=G(be);we=m.makePath($e,null,Qe,be.layout||"center"),we.__customPathData=$e}else if(pe==="image")we=new m.Image({}),we.__customImagePath=te.style.image;else if(pe==="text")we=new m.Text({}),we.__customText=te.style.text;else if(pe==="group")we=new m.Group;else{if(pe==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var yt=m.getShapeClass(pe);we=new yt}return we.__customGraphicType=pe,we.name=te.name,we}function D(te,pe,we,be,Qe,$e,yt){var Fe={},Pe=we.style||{};if(we.shape&&(Fe.shape=v.clone(we.shape)),we.position&&(Fe.position=we.position.slice()),we.scale&&(Fe.scale=we.scale.slice()),we.origin&&(Fe.origin=we.origin.slice()),we.rotation&&(Fe.rotation=we.rotation),te.type==="image"&&we.style){var gt=Fe.style={};v.each(["x","y","width","height"],function(At){M(At,gt,Pe,te.style,$e)})}if(te.type==="text"&&we.style){var gt=Fe.style={};v.each(["x","y"],function(dt){M(dt,gt,Pe,te.style,$e)}),!Pe.hasOwnProperty("textFill")&&Pe.fill&&(Pe.textFill=Pe.fill),!Pe.hasOwnProperty("textStroke")&&Pe.stroke&&(Pe.textStroke=Pe.stroke)}if(te.type!=="group"&&(te.useStyle(Pe),$e)){te.style.opacity=0;var it=Pe.opacity;it==null&&(it=1),m.initProps(te,{style:{opacity:it}},be,pe)}$e?te.attr(Fe):m.updateProps(te,Fe,be,pe),we.hasOwnProperty("z2")&&te.attr("z2",we.z2||0),we.hasOwnProperty("silent")&&te.attr("silent",we.silent),we.hasOwnProperty("invisible")&&te.attr("invisible",we.invisible),we.hasOwnProperty("ignore")&&te.attr("ignore",we.ignore),we.hasOwnProperty("info")&&te.attr("info",we.info);var qe=we.styleEmphasis;m.setElementHoverStyle(te,qe),yt&&m.setAsHighDownDispatcher(te,qe!==!1)}function M(te,pe,we,be,Qe){we[te]!=null&&!Qe&&(pe[te]=we[te],we[te]=be[te])}function R(te,pe,we,be){var Qe=te.get("renderItem"),$e=te.coordinateSystem,yt={};$e&&(yt=$e.prepareCustoms?$e.prepareCustoms():x[$e.type]($e));var Fe=v.defaults({getWidth:be.getWidth,getHeight:be.getHeight,getZr:be.getZr,getDevicePixelRatio:be.getDevicePixelRatio,value:mt,style:Ue,styleEmphasis:Re,visual:Le,barLayout:at,currentSeriesIndices:Ot,font:Tt},yt.api||{}),Pe={context:{},seriesId:te.id,seriesName:te.name,seriesIndex:te.seriesIndex,coordSys:yt.coordSys,dataInsideLength:pe.count(),encode:F(te.getData())},gt,it=!0,qe,At,dt,wt;return function(Ft,ke){return gt=Ft,it=!0,Qe&&Qe(v.defaults({dataIndexInside:Ft,dataIndex:pe.getRawIndex(Ft),actionType:ke?ke.type:null},Pe),Fe)};function Ye(Ft){Ft==null&&(Ft=gt),it&&(qe=pe.getItemModel(Ft),At=qe.getModel(O),dt=qe.getModel(T),wt=pe.getItemVisual(Ft,"color"),it=!1)}function mt(Ft,ke){return ke==null&&(ke=gt),pe.get(pe.getDimension(Ft||0),ke)}function Ue(Ft,ke){ke==null&&(ke=gt),Ye(ke);var Vt=qe.getModel(S).getItemStyle();wt!=null&&(Vt.fill=wt);var bt=pe.getItemVisual(ke,"opacity");bt!=null&&(Vt.opacity=bt);var Rt=Ft?Y(Ft,At):At;return m.setTextStyle(Vt,Rt,null,{autoColor:wt,isRectText:!0}),Vt.text=Rt.getShallow("show")?v.retrieve2(te.getFormattedLabel(ke,"normal"),w(pe,ke)):null,Ft&&Q(Vt,Ft),Vt}function Re(Ft,ke){ke==null&&(ke=gt),Ye(ke);var Vt=qe.getModel(E).getItemStyle(),bt=Ft?Y(Ft,dt):dt;return m.setTextStyle(Vt,bt,null,{isRectText:!0},!0),Vt.text=bt.getShallow("show")?v.retrieve3(te.getFormattedLabel(ke,"emphasis"),te.getFormattedLabel(ke,"normal"),w(pe,ke)):null,Ft&&Q(Vt,Ft),Vt}function Le(Ft,ke){return ke==null&&(ke=gt),pe.getItemVisual(ke,Ft)}function at(Ft){if($e.getBaseAxis){var ke=$e.getBaseAxis();return t(v.defaults({axis:ke},Ft),be)}}function Ot(){return we.getCurrentSeriesIndices()}function Tt(Ft){return m.getFont(Ft,we)}}function F(te){var pe={};return v.each(te.dimensions,function(we,be){var Qe=te.getDimensionInfo(we);if(!Qe.isExtraCoord){var $e=Qe.coordDim,yt=pe[$e]=pe[$e]||[];yt[Qe.coordDimIndex]=be}}),pe}function B(te,pe,we,be,Qe,$e){return te=z(te,pe,we,be,Qe,$e,!0),te&&$e.setItemGraphicEl(pe,te),te}function z(te,pe,we,be,Qe,$e,yt){var Fe=!we;we=we||{};var Pe=we.type,gt=we.shape,it=we.style;if(te&&(Fe||Pe!=null&&Pe!==te.__customGraphicType||Pe==="path"&&J(gt)&&G(gt)!==te.__customPathData||Pe==="image"&&he(it,"image")&&it.image!==te.__customImagePath||Pe==="text"&&he(gt,"text")&&it.text!==te.__customText)&&(Qe.remove(te),te=null),Fe)return;var qe=!te;return!te&&(te=N(we)),D(te,pe,we,be,$e,qe,yt),Pe==="group"&&U(te,pe,we,be,$e),Qe.add(te),te}function U(te,pe,we,be,Qe){var $e=we.children,yt=$e?$e.length:0,Fe=we.$mergeChildren,Pe=Fe==="byName"||we.diffChildrenByName,gt=Fe===!1;if(!yt&&!Pe&&!gt)return;if(Pe){K({oldChildren:te.children()||[],newChildren:$e||[],dataIndex:pe,animatableModel:be,group:te,data:Qe});return}gt&&te.removeAll();for(var it=0;it<yt;it++)$e[it]&&z(te.childAt(it),pe,$e[it],be,te,Qe)}function K(te){new o(te.oldChildren,te.newChildren,W,W,te).add(H).update(H).remove(P).execute()}function W(te,pe){var we=te&&te.name;return we!=null?we:b+pe}function H(te,pe){var we=this.context,be=te!=null?we.newChildren[te]:null,Qe=pe!=null?we.oldChildren[pe]:null;z(Qe,we.dataIndex,be,we.animatableModel,we.group,we.data)}function Y(te,pe){var we=new l({},pe);return v.each(C,function(be,Qe){te.hasOwnProperty(be)&&(we.option[Qe]=te[be])}),we}function Q(te,pe){for(var we in pe)(pe.hasOwnProperty(we)||!C.hasOwnProperty(we))&&(te[we]=pe[we])}function P(te){var pe=this.context,we=pe.oldChildren[te];we&&pe.group.remove(we)}function G(te){return te&&(te.pathData||te.d)}function J(te){return te&&(te.hasOwnProperty("pathData")||te.hasOwnProperty("d"))}function he(te,pe){return te&&te.hasOwnProperty(pe)}},"6MbY":function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("FdB3")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="DoubleLeftOutlined";var f=v.forwardRef(w);_.default=f},"6Mga":function(Z,_,e){},"6PrJ":function(Z,_){var e="";typeof navigator!="undefined"&&(e=navigator.platform||"");var d={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:e.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};Z.exports=d},"6Q7i":function(Z,_,e){var d=e("wEuU");function L(v){var m=d(v),y=m%1;return m===m?y?m-y:m:0}Z.exports=L},"6nqw":function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("Nk5m"),m=e("MPZO"),y=e("cZnB"),w=e.n(y)},"6q22":function(Z,_,e){var d=e("zYjg"),L=e("DMEU"),v=e("oEo5"),m=v.isObject;function y(s){this.group=new d.Group,this._symbolCtor=s||L}var w=y.prototype;function f(s,l,n,c){return l&&!isNaN(l[0])&&!isNaN(l[1])&&!(c.isIgnore&&c.isIgnore(n))&&!(c.clipShape&&!c.clipShape.contain(l[0],l[1]))&&s.getItemVisual(n,"symbol")!=="none"}w.updateData=function(s,l){l=a(l);var n=this.group,c=s.hostModel,r=this._data,u=this._symbolCtor,i=t(s);r||n.removeAll(),s.diff(r).add(function(h){var p=s.getItemLayout(h);if(f(s,p,h,l)){var A=new u(s,h,i);A.attr("position",p),s.setItemGraphicEl(h,A),n.add(A)}}).update(function(h,p){var A=r.getItemGraphicEl(p),C=s.getItemLayout(h);if(!f(s,C,h,l)){n.remove(A);return}A?(A.updateData(s,h,i),d.updateProps(A,{position:C},c)):(A=new u(s,h),A.attr("position",C)),n.add(A),s.setItemGraphicEl(h,A)}).remove(function(h){var p=r.getItemGraphicEl(h);p&&p.fadeOut(function(){n.remove(p)})}).execute(),this._data=s},w.isPersistent=function(){return!0},w.updateLayout=function(){var s=this._data;s&&s.eachItemGraphicEl(function(l,n){var c=s.getItemLayout(n);l.attr("position",c)})},w.incrementalPrepareUpdate=function(s){this._seriesScope=t(s),this._data=null,this.group.removeAll()},w.incrementalUpdate=function(s,l,n){n=a(n);function c(h){h.isGroup||(h.incremental=h.useHoverLayer=!0)}for(var r=s.start;r<s.end;r++){var u=l.getItemLayout(r);if(f(l,u,r,n)){var i=new this._symbolCtor(l,r,this._seriesScope);i.traverse(c),i.attr("position",u),this.group.add(i),l.setItemGraphicEl(r,i)}}};function a(s){return s!=null&&!m(s)&&(s={isIgnore:s}),s||{}}w.remove=function(s){var l=this.group,n=this._data;n&&s?n.eachItemGraphicEl(function(c){c.fadeOut(function(){l.remove(c)})}):l.removeAll()};function t(s){var l=s.hostModel;return{itemStyle:l.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:l.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:l.get("symbolRotate"),symbolOffset:l.get("symbolOffset"),hoverAnimation:l.get("hoverAnimation"),labelModel:l.getModel("label"),hoverLabelModel:l.getModel("emphasis.label"),cursorStyle:l.get("cursor")}}var o=y;Z.exports=o},"6vYt":function(Z,_,e){var d=e("7/O9"),L=d.isDimensionStacked,v=e("oEo5"),m=v.map;function y(a,t,o){var s=a.getBaseAxis(),l=a.getOtherAxis(s),n=w(l,o),c=s.dim,r=l.dim,u=t.mapDimension(r),i=t.mapDimension(c),h=r==="x"||r==="radius"?1:0,p=m(a.dimensions,function(S){return t.mapDimension(S)}),A,C=t.getCalculationInfo("stackResultDimension");return(A|=L(t,p[0]))&&(p[0]=C),(A|=L(t,p[1]))&&(p[1]=C),{dataDimsForPoint:p,valueStart:n,valueAxisDim:r,baseAxisDim:c,stacked:!!A,valueDim:u,baseDim:i,baseDataOffset:h,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function w(a,t){var o=0,s=a.scale.getExtent();return t==="start"?o=s[0]:t==="end"?o=s[1]:s[0]>0?o=s[0]:s[1]<0&&(o=s[1]),o}function f(a,t,o,s){var l=NaN;a.stacked&&(l=o.get(o.getCalculationInfo("stackedOverDimension"),s)),isNaN(l)&&(l=a.valueStart);var n=a.baseDataOffset,c=[];return c[n]=o.get(a.baseDim,s),c[1-n]=l,t.dataToPoint(c)}_.prepareDataCoordInfo=y,_.getStackedOnPoint=f},"6x2K":function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("XT0D")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="FilterFilled";var f=v.forwardRef(w);_.default=f},"7/O9":function(Z,_,e){var d=e("oEo5"),L=d.each,v=d.isString;function m(f,a,t){t=t||{};var o=t.byIndex,s=t.stackedCoordDimension,l=!!(f&&f.get("stack")),n,c,r,u;if(L(a,function(A,C){v(A)&&(a[C]=A={name:A}),l&&!A.isExtraCoord&&(!o&&!n&&A.ordinalMeta&&(n=A),!c&&A.type!=="ordinal"&&A.type!=="time"&&(!s||s===A.coordDim)&&(c=A))}),c&&!o&&!n&&(o=!0),c){r="__\0ecstackresult",u="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var i=c.coordDim,h=c.type,p=0;L(a,function(A){A.coordDim===i&&p++}),a.push({name:r,coordDim:i,coordDimIndex:p,type:h,isExtraCoord:!0,isCalculationCoord:!0}),p++,a.push({name:u,coordDim:u,coordDimIndex:p,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:c&&c.name,stackedByDimension:n&&n.name,isStackedByIndex:o,stackedOverDimension:u,stackResultDimension:r}}function y(f,a){return!!a&&a===f.getCalculationInfo("stackedDimension")}function w(f,a){return y(f,a)?f.getCalculationInfo("stackResultDimension"):a}_.enableDataStack=m,_.isDimensionStacked=y,_.getStackedDimension=w},"73mG":function(Z,_,e){"use strict";var d=e("ZZRV"),L={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"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="DeleteOutlined";var w=_.a=d.forwardRef(y)},"75Ip":function(Z,_,e){var d=e("ZSS0"),L=e("jU4C"),v=L.ContextCachedBy,m=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],y=function(n){this.extendFrom(n,!1)};function w(l,n,c){var r=n.x==null?0:n.x,u=n.x2==null?1:n.x2,i=n.y==null?0:n.y,h=n.y2==null?0:n.y2;n.global||(r=r*c.width+c.x,u=u*c.width+c.x,i=i*c.height+c.y,h=h*c.height+c.y),r=isNaN(r)?0:r,u=isNaN(u)?1:u,i=isNaN(i)?0:i,h=isNaN(h)?0:h;var p=l.createLinearGradient(r,i,u,h);return p}function f(l,n,c){var r=c.width,u=c.height,i=Math.min(r,u),h=n.x==null?.5:n.x,p=n.y==null?.5:n.y,A=n.r==null?.5:n.r;n.global||(h=h*r+c.x,p=p*u+c.y,A=A*i);var C=l.createRadialGradient(h,p,0,h,p,A);return C}y.prototype={constructor:y,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(n,c,r){var u=this,i=r&&r.style,h=!i||n.__attrCachedBy!==v.STYLE_BIND;n.__attrCachedBy=v.STYLE_BIND;for(var p=0;p<m.length;p++){var A=m[p],C=A[0];(h||u[C]!==i[C])&&(n[C]=d(n,C,u[C]||A[1]))}if((h||u.fill!==i.fill)&&(n.fillStyle=u.fill),(h||u.stroke!==i.stroke)&&(n.strokeStyle=u.stroke),(h||u.opacity!==i.opacity)&&(n.globalAlpha=u.opacity==null?1:u.opacity),(h||u.blend!==i.blend)&&(n.globalCompositeOperation=u.blend||"source-over"),this.hasStroke()){var S=u.lineWidth;n.lineWidth=S/(this.strokeNoScale&&c&&c.getLineScale?c.getLineScale():1)}},hasFill:function(){var n=this.fill;return n!=null&&n!=="none"},hasStroke:function(){var n=this.stroke;return n!=null&&n!=="none"&&this.lineWidth>0},extendFrom:function(n,c){if(n)for(var r in n)n.hasOwnProperty(r)&&(c===!0||(c===!1?!this.hasOwnProperty(r):n[r]!=null))&&(this[r]=n[r])},set:function(n,c){typeof n=="string"?this[n]=c:this.extendFrom(n,!0)},clone:function(){var n=new this.constructor;return n.extendFrom(this,!0),n},getGradient:function(n,c,r){for(var u=c.type==="radial"?f:w,i=u(n,c,r),h=c.colorStops,p=0;p<h.length;p++)i.addColorStop(h[p].offset,h[p].color);return i}};for(var a=y.prototype,t=0;t<m.length;t++){var o=m[t];o[0]in a||(a[o[0]]=o[1])}y.getGradient=a.getGradient;var s=y;Z.exports=s},"75WT":function(Z,_){var e=2311;function d(){return e++}Z.exports=d},"77ii":function(Z,_,e){e("D2y6"),e("t3Yf")},"7JZK":function(Z,_,e){var d=e("342z"),L=e("nPr6"),v=e("afA4"),m=v.subPixelOptimizeRect,y={},w=d.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(a,t){var o,s,l,n;this.subPixelOptimize?(m(y,t,this.style),o=y.x,s=y.y,l=y.width,n=y.height,y.r=t.r,t=y):(o=t.x,s=t.y,l=t.width,n=t.height),t.r?L.buildPath(a,t):a.rect(o,s,l,n),a.closePath();return}});Z.exports=w},"7Ne0":function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=e("1JkX"),y=m.enableClassCheck;function w(n){return"_EC_"+n}var f=function(n){this._directed=n||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},a=f.prototype;a.type="graph",a.isDirected=function(){return this._directed},a.addNode=function(n,c){n=n==null?""+c:""+n;var r=this._nodesMap;if(r[w(n)])return;var u=new t(n,c);return u.hostGraph=this,this.nodes.push(u),r[w(n)]=u,u},a.getNodeByIndex=function(n){var c=this.data.getRawIndex(n);return this.nodes[c]},a.getNodeById=function(n){return this._nodesMap[w(n)]},a.addEdge=function(n,c,r){var u=this._nodesMap,i=this._edgesMap;if(typeof n=="number"&&(n=this.nodes[n]),typeof c=="number"&&(c=this.nodes[c]),t.isInstance(n)||(n=u[w(n)]),t.isInstance(c)||(c=u[w(c)]),!n||!c)return;var h=n.id+"-"+c.id,p=new o(n,c,r);return p.hostGraph=this,this._directed&&(n.outEdges.push(p),c.inEdges.push(p)),n.edges.push(p),n!==c&&c.edges.push(p),this.edges.push(p),i[h]=p,p},a.getEdgeByIndex=function(n){var c=this.edgeData.getRawIndex(n);return this.edges[c]},a.getEdge=function(n,c){t.isInstance(n)&&(n=n.id),t.isInstance(c)&&(c=c.id);var r=this._edgesMap;return this._directed?r[n+"-"+c]:r[n+"-"+c]||r[c+"-"+n]},a.eachNode=function(n,c){for(var r=this.nodes,u=r.length,i=0;i<u;i++)r[i].dataIndex>=0&&n.call(c,r[i],i)},a.eachEdge=function(n,c){for(var r=this.edges,u=r.length,i=0;i<u;i++)r[i].dataIndex>=0&&r[i].node1.dataIndex>=0&&r[i].node2.dataIndex>=0&&n.call(c,r[i],i)},a.breadthFirstTraverse=function(n,c,r,u){if(t.isInstance(c)||(c=this._nodesMap[w(c)]),!c)return;for(var i=r==="out"?"outEdges":r==="in"?"inEdges":"edges",h=0;h<this.nodes.length;h++)this.nodes[h].__visited=!1;if(n.call(u,c,null))return;for(var p=[c];p.length;)for(var A=p.shift(),C=A[i],h=0;h<C.length;h++){var S=C[h],E=S.node1===A?S.node2:S.node1;if(!E.__visited){if(n.call(u,E,A))return;p.push(E),E.__visited=!0}}},a.update=function(){for(var n=this.data,c=this.edgeData,r=this.nodes,u=this.edges,i=0,h=r.length;i<h;i++)r[i].dataIndex=-1;for(var i=0,h=n.count();i<h;i++)r[n.getRawIndex(i)].dataIndex=i;c.filterSelf(function(p){var A=u[c.getRawIndex(p)];return A.node1.dataIndex>=0&&A.node2.dataIndex>=0});for(var i=0,h=u.length;i<h;i++)u[i].dataIndex=-1;for(var i=0,h=c.count();i<h;i++)u[c.getRawIndex(i)].dataIndex=i},a.clone=function(){for(var n=new f(this._directed),c=this.nodes,r=this.edges,u=0;u<c.length;u++)n.addNode(c[u].id,c[u].dataIndex);for(var u=0;u<r.length;u++){var i=r[u];n.addEdge(i.node1.id,i.node2.id,i.dataIndex)}return n};function t(n,c){this.id=n==null?"":n,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=c==null?-1:c}t.prototype={constructor:t,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(n){if(this.dataIndex<0)return;var c=this.hostGraph,r=c.data.getItemModel(this.dataIndex);return r.getModel(n)}};function o(n,c,r){this.node1=n,this.node2=c,this.dataIndex=r==null?-1:r}o.prototype.getModel=function(n){if(this.dataIndex<0)return;var c=this.hostGraph,r=c.edgeData.getItemModel(this.dataIndex);return r.getModel(n)};var s=function(n,c){return{getValue:function(r){var u=this[n][c];return u.get(u.getDimension(r||"value"),this.dataIndex)},setVisual:function(r,u){this.dataIndex>=0&&this[n][c].setItemVisual(this.dataIndex,r,u)},getVisual:function(r,u){return this[n][c].getItemVisual(this.dataIndex,r,u)},setLayout:function(r,u){this.dataIndex>=0&&this[n][c].setItemLayout(this.dataIndex,r,u)},getLayout:function(){return this[n][c].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][c].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][c].getRawIndex(this.dataIndex)}}};v.mixin(t,s("hostGraph","data")),v.mixin(o,s("hostGraph","edgeData")),f.Node=t,f.Edge=o,y(t),y(o);var l=f;Z.exports=l},"7X0+":function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("LlUK"),m=e.n(v),y=e("CKlD"),w=e.n(y),f=e("ZZRV"),a=e("iczh"),t=e.n(a),o=e("EjYJ"),s=e("LpVx"),l=e("3CTf"),n=f.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),c=f.createContext({updateItemErrors:function(){}}),r=function(ar){var zt=Object(l.default)(ar,["prefixCls"]);return f.createElement(o.FormProvider,zt)};function u(je){return je!=null&&typeof je=="object"&&je.nodeType===1}function i(je,ar){return(!ar||je!=="hidden")&&je!=="visible"&&je!=="clip"}function h(je,ar){if(je.clientHeight<je.scrollHeight||je.clientWidth<je.scrollWidth){var zt=getComputedStyle(je,null);return i(zt.overflowY,ar)||i(zt.overflowX,ar)||function(Pt){var qt=function(or){if(!or.ownerDocument||!or.ownerDocument.defaultView)return null;try{return or.ownerDocument.defaultView.frameElement}catch(Kt){return null}}(Pt);return!!qt&&(qt.clientHeight<Pt.scrollHeight||qt.clientWidth<Pt.scrollWidth)}(je)}return!1}function p(je,ar,zt,Pt,qt,or,Kt,Mt){return or<je&&Kt>ar||or>je&&Kt<ar?0:or<=je&&Mt<=zt||Kt>=ar&&Mt>=zt?or-je-Pt:Kt>ar&&Mt<zt||or<je&&Mt>zt?Kt-ar+qt:0}var A=function(je,ar){var zt=window,Pt=ar.scrollMode,qt=ar.block,or=ar.inline,Kt=ar.boundary,Mt=ar.skipOverflowHiddenElements,me=typeof Kt=="function"?Kt:function(ft){return ft!==Kt};if(!u(je))throw new TypeError("Invalid target");for(var ce=document.scrollingElement||document.documentElement,ae=[],de=je;u(de)&&me(de);){if((de=de.parentNode)===ce){ae.push(de);break}de===document.body&&h(de)&&!h(document.documentElement)||h(de,Mt)&&ae.push(de)}for(var Se=zt.visualViewport?zt.visualViewport.width:innerWidth,Ce=zt.visualViewport?zt.visualViewport.height:innerHeight,Ie=window.scrollX||pageXOffset,Te=window.scrollY||pageYOffset,Ee=je.getBoundingClientRect(),He=Ee.height,st=Ee.width,vt=Ee.top,ee=Ee.right,oe=Ee.bottom,k=Ee.left,$=qt==="start"||qt==="nearest"?vt:qt==="end"?oe:vt+He/2,se=or==="center"?k+st/2:or==="end"?ee:k,ge=[],Ae=0;Ae<ae.length;Ae++){var Me=ae[Ae],et=Me.getBoundingClientRect(),Wt=et.height,er=et.width,Ct=et.top,Ht=et.right,kt=et.bottom,Zt=et.left;if(Pt==="if-needed"&&vt>=0&&k>=0&&oe<=Ce&&ee<=Se&&vt>=Ct&&oe<=kt&&k>=Zt&&ee<=Ht)return ge;var Et=getComputedStyle(Me),ur=parseInt(Et.borderLeftWidth,10),rr=parseInt(Et.borderTopWidth,10),Ke=parseInt(Et.borderRightWidth,10),nt=parseInt(Et.borderBottomWidth,10),Ge=0,ct=0,ht="offsetWidth"in Me?Me.offsetWidth-Me.clientWidth-ur-Ke:0,ut="offsetHeight"in Me?Me.offsetHeight-Me.clientHeight-rr-nt:0;if(ce===Me)Ge=qt==="start"?$:qt==="end"?$-Ce:qt==="nearest"?p(Te,Te+Ce,Ce,rr,nt,Te+$,Te+$+He,He):$-Ce/2,ct=or==="start"?se:or==="center"?se-Se/2:or==="end"?se-Se:p(Ie,Ie+Se,Se,ur,Ke,Ie+se,Ie+se+st,st),Ge=Math.max(0,Ge+Te),ct=Math.max(0,ct+Ie);else{Ge=qt==="start"?$-Ct-rr:qt==="end"?$-kt+nt+ut:qt==="nearest"?p(Ct,kt,Wt,rr,nt+ut,$,$+He,He):$-(Ct+Wt/2)+ut/2,ct=or==="start"?se-Zt-ur:or==="center"?se-(Zt+er/2)+ht/2:or==="end"?se-Ht+Ke+ht:p(Zt,Ht,er,ur,Ke+ht,se,se+st,st);var We=Me.scrollLeft,tt=Me.scrollTop;$+=tt-(Ge=Math.max(0,Math.min(tt+Ge,Me.scrollHeight-Wt+ut))),se+=We-(ct=Math.max(0,Math.min(We+ct,Me.scrollWidth-er+ht)))}ge.push({el:Me,top:Ge,left:ct})}return ge};function C(je){return je===Object(je)&&Object.keys(je).length!==0}function S(je,ar){ar===void 0&&(ar="auto");var zt="scrollBehavior"in document.body.style;je.forEach(function(Pt){var qt=Pt.el,or=Pt.top,Kt=Pt.left;qt.scroll&&zt?qt.scroll({top:or,left:Kt,behavior:ar}):(qt.scrollTop=or,qt.scrollLeft=Kt)})}function E(je){return je===!1?{block:"end",inline:"nearest"}:C(je)?je:{block:"start",inline:"nearest"}}function O(je,ar){var zt=!je.ownerDocument.documentElement.contains(je);if(C(ar)&&typeof ar.behavior=="function")return ar.behavior(zt?[]:A(je,ar));if(zt)return;var Pt=E(ar);return S(A(je,Pt),Pt.behavior)}var T=O;function b(je){return je===void 0||je===!1?[]:Array.isArray(je)?je:[je]}function x(je,ar){if(!je.length)return;var zt=je.join("_");return ar?"".concat(ar,"_").concat(zt):zt}function N(je){var ar=b(je);return ar.join("_")}function D(je){var ar=Object(o.useForm)(),zt=m()(ar,1),Pt=zt[0],qt=Object(f.useRef)({}),or=Object(f.useMemo)(function(){return je||L()(L()({},Pt),{__INTERNAL__:{itemRef:function(Mt){return function(me){var ce=N(Mt);me?qt.current[ce]=me:delete qt.current[ce]}}},scrollToField:function(Mt){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ce=b(Mt),ae=x(ce,or.__INTERNAL__.name),de=ae?document.getElementById(ae):null;de&&T(de,L()({scrollMode:"if-needed",block:"nearest"},me))},getFieldInstance:function(Mt){var me=N(Mt);return qt.current[me]}})},[je,Pt]);return[or]}var M=e("WHP3"),R=function(je,ar){var zt={};for(var Pt in je)Object.prototype.hasOwnProperty.call(je,Pt)&&ar.indexOf(Pt)<0&&(zt[Pt]=je[Pt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Pt=Object.getOwnPropertySymbols(je);qt<Pt.length;qt++)ar.indexOf(Pt[qt])<0&&Object.prototype.propertyIsEnumerable.call(je,Pt[qt])&&(zt[Pt[qt]]=je[Pt[qt]]);return zt},F=function(ar,zt){var Pt,qt=f.useContext(M.b),or=f.useContext(s.b),Kt=or.getPrefixCls,Mt=or.direction,me=ar.name,ce=ar.prefixCls,ae=ar.className,de=ae===void 0?"":ae,Se=ar.size,Ce=Se===void 0?qt:Se,Ie=ar.form,Te=ar.colon,Ee=ar.labelAlign,He=ar.labelCol,st=ar.wrapperCol,vt=ar.hideRequiredMark,ee=ar.layout,oe=ee===void 0?"horizontal":ee,k=ar.scrollToFirstError,$=ar.requiredMark,se=ar.onFinishFailed,ge=R(ar,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),Ae=Object(f.useMemo)(function(){return $!==void 0?$:!vt},[vt,$]),Me=Kt("form",ce),et=t()(Me,(Pt={},w()(Pt,"".concat(Me,"-").concat(oe),!0),w()(Pt,"".concat(Me,"-hide-required-mark"),Ae===!1),w()(Pt,"".concat(Me,"-rtl"),Mt==="rtl"),w()(Pt,"".concat(Me,"-").concat(Ce),Ce),Pt),de),Wt=D(Ie),er=m()(Wt,1),Ct=er[0],Ht=Ct.__INTERNAL__;Ht.name=me;var kt=Object(f.useMemo)(function(){return{name:me,labelAlign:Ee,labelCol:He,wrapperCol:st,vertical:oe==="vertical",colon:Te,requiredMark:Ae,itemRef:Ht.itemRef}},[me,Ee,He,st,oe,Te,Ae]);f.useImperativeHandle(zt,function(){return Ct});var Zt=function(ur){se&&se(ur),k&&ur.errorFields.length&&Ct.scrollToField(ur.errorFields[0].name)};return f.createElement(M.a,{size:Ce},f.createElement(n.Provider,{value:kt},f.createElement(o.default,L()({id:me},ge,{onFinishFailed:Zt,form:Ct,className:et}))))},B=f.forwardRef(F),z=B,U=e("ofoi"),K=e.n(U),W=e("bOtj"),H=e.n(W),Y=e("ShHz"),Q=e.n(Y),P=e("izDS"),G=e("A1W9"),J=e("slFT"),he=e("vWUX"),te=e("b5WB"),pe=e("+9z/"),we=e("CfwS"),be=e("DxYC"),Qe=function(ar){var zt=ar.prefixCls,Pt=ar.label,qt=ar.htmlFor,or=ar.labelCol,Kt=ar.labelAlign,Mt=ar.colon,me=ar.required,ce=ar.requiredMark,ae=Object(we.b)("Form"),de=m()(ae,1),Se=de[0];return Pt?f.createElement(n.Consumer,{key:"label"},function(Ce){var Ie,Te=Ce.vertical,Ee=Ce.labelAlign,He=Ce.labelCol,st=Ce.colon,vt,ee=or||He||{},oe=Kt||Ee,k="".concat(zt,"-item-label"),$=t()(k,oe==="left"&&"".concat(k,"-left"),ee.className),se=Pt,ge=Mt===!0||st!==!1&&Mt!==!1,Ae=ge&&!Te;Ae&&typeof Pt=="string"&&Pt.trim()!==""&&(se=Pt.replace(/[:|:]\s*$/,"")),ce==="optional"&&!me&&(se=f.createElement(f.Fragment,null,se,f.createElement("span",{className:"".concat(zt,"-item-optional")},(Se==null?void 0:Se.optional)||((vt=be.a.Form)===null||vt===void 0?void 0:vt.optional))));var Me=t()((Ie={},w()(Ie,"".concat(zt,"-item-required"),me),w()(Ie,"".concat(zt,"-item-required-mark-optional"),ce==="optional"),w()(Ie,"".concat(zt,"-item-no-colon"),!ge),Ie));return f.createElement(pe.a,L()({},ee,{className:$}),f.createElement("label",{htmlFor:qt,className:Me,title:typeof Pt=="string"?Pt:""},se))}):null},$e=Qe,yt=e("NXEf"),Fe=e.n(yt),Pe=e("4ZCI"),gt=e.n(Pe),it=e("Z0j4"),qe=e.n(it),At=e("y1o2"),dt=e.n(At),wt=e("TZL6"),Ye=e("X/IY"),mt=e("Z1Ah");function Ue(je,ar,zt){var Pt=f.useRef({errors:je,visible:!!je.length}),qt=Object(mt.a)(),or=function(){var Mt=Pt.current.visible,me=!!je.length,ce=Pt.current.errors;Pt.current.errors=je,Pt.current.visible=me,Mt!==me?ar(me):(ce.length!==je.length||ce.some(function(ae,de){return ae!==je[de]}))&&qt()};return f.useEffect(function(){if(!zt){var Kt=setTimeout(or,10);return function(){return clearTimeout(Kt)}}},[je]),zt&&or(),[Pt.current.visible,Pt.current.errors]}var Re={success:qe.a,warning:dt.a,error:gt.a,validating:Fe.a},Le=function(ar){var zt=ar.prefixCls,Pt=ar.wrapperCol,qt=ar.children,or=ar.help,Kt=ar.errors,Mt=ar.onDomErrorVisibleChange,me=ar.hasFeedback,ce=ar.validateStatus,ae=ar.extra,de=Object(mt.a)(),Se="".concat(zt,"-item"),Ce=f.useContext(n),Ie=Pt||Ce.wrapperCol||{},Te=t()("".concat(Se,"-control"),Ie.className),Ee=Ue(Kt,function(se){se&&Promise.resolve().then(function(){Mt(!0)}),de()},!!or),He=m()(Ee,2),st=He[0],vt=He[1];f.useEffect(function(){return function(){Mt(!1)}},[]);var ee=Object(wt.a)(function(){return vt},st,function(se,ge){return ge}),oe=ce&&Re[ce],k=me&&oe?f.createElement("span",{className:"".concat(Se,"-children-icon")},f.createElement(oe,null)):null,$=L()({},Ce);return delete $.labelCol,delete $.wrapperCol,f.createElement(n.Provider,{value:$},f.createElement(pe.a,L()({},Ie,{className:Te}),f.createElement("div",{className:"".concat(Se,"-control-input")},f.createElement("div",{className:"".concat(Se,"-control-input-content")},qt),k),f.createElement(Ye.default,{motionDeadline:500,visible:st,motionName:"show-help",onLeaveEnd:function(){Mt(!1)},motionAppear:!0,removeOnLeave:!0},function(se){var ge=se.className;return f.createElement("div",{className:t()("".concat(Se,"-explain"),ge),key:"help"},ee.map(function(Ae,Me){return f.createElement("div",{key:Me,role:"alert"},Ae)}))}),ae&&f.createElement("div",{className:"".concat(Se,"-extra")},ae)))},at=Le,Ot=e("nSZG"),Tt=e("RfwO"),Ft=e.n(Tt);function ke(je){var ar=f.useState(je),zt=m()(ar,2),Pt=zt[0],qt=zt[1],or=Object(f.useRef)(null),Kt=Object(f.useRef)([]),Mt=Object(f.useRef)(!1);f.useEffect(function(){return function(){Mt.current=!0,Ft.a.cancel(or.current)}},[]);function me(ce){if(Mt.current)return;or.current===null&&(Kt.current=[],or.current=Ft()(function(){or.current=null,qt(function(ae){var de=ae;return Kt.current.forEach(function(Se){de=Se(de)}),de})})),Kt.current.push(ce)}return[Pt,me]}function Vt(){var je=f.useContext(n),ar=je.itemRef,zt=f.useRef({});function Pt(qt,or){var Kt=or&&K()(or)==="object"&&or.ref,Mt=qt.join("_");return(zt.current.name!==Mt||zt.current.originRef!==Kt)&&(zt.current.name=Mt,zt.current.originRef=Kt,zt.current.ref=Object(G.a)(ar(qt),Kt)),zt.current.ref}return Pt}var bt=function(je,ar){var zt={};for(var Pt in je)Object.prototype.hasOwnProperty.call(je,Pt)&&ar.indexOf(Pt)<0&&(zt[Pt]=je[Pt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Pt=Object.getOwnPropertySymbols(je);qt<Pt.length;qt++)ar.indexOf(Pt[qt])<0&&Object.prototype.propertyIsEnumerable.call(je,Pt[qt])&&(zt[Pt[qt]]=je[Pt[qt]]);return zt},Rt=Object(he.a)("success","warning","error","validating",""),Nt=f.memo(function(je){var ar=je.children;return ar},function(je,ar){return je.value===ar.value&&je.update===ar.update});function xt(je){return je===null&&Object(te.a)(!1,"Form.Item","`null` is passed as `name` property"),!(je==null)}function Ut(je){var ar=je.name,zt=je.fieldKey,Pt=je.noStyle,qt=je.dependencies,or=je.prefixCls,Kt=je.style,Mt=je.className,me=je.shouldUpdate,ce=je.hasFeedback,ae=je.help,de=je.rules,Se=je.validateStatus,Ce=je.children,Ie=je.required,Te=je.label,Ee=je.trigger,He=Ee===void 0?"onChange":Ee,st=je.validateTrigger,vt=je.hidden,ee=bt(je,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),oe=f.useRef(!1),k=f.useContext(s.b),$=k.getPrefixCls,se=f.useContext(n),ge=se.name,Ae=se.requiredMark,Me=f.useContext(c),et=Me.updateItemErrors,Wt=f.useState(!!ae),er=m()(Wt,2),Ct=er[0],Ht=er[1],kt=f.useRef(Se),Zt=ke({}),Et=m()(Zt,2),ur=Et[0],rr=Et[1],Ke=f.useContext(P.b),nt=Ke.validateTrigger,Ge=st!==void 0?st:nt;function ct(Dr){oe.current||Ht(Dr)}var ht=xt(ar),ut=f.useRef([]);f.useEffect(function(){return function(){oe.current=!0,et(ut.current.join("__SPLIT__"),[])}},[]);var We=$("form",or),tt=Pt?et:function(Dr,Rr){rr(function(){var Jr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Q()(Jr[Dr],Rr)?Jr:L()(L()({},Jr),w()({},Dr,Rr))})},ft=Vt();function Yt(Dr,Rr,Jr,$r){var xr,Vr;if(Pt&&!vt)return Dr;var Or=[];Object.keys(ur).forEach(function(fr){Or=[].concat(H()(Or),H()(ur[fr]||[]))});var nr;ae!=null?nr=b(ae):(nr=Jr?Jr.errors:[],nr=[].concat(H()(nr),H()(Or)));var pr="";Se!==void 0?pr=Se:(Jr==null?void 0:Jr.validating)?pr="validating":((Vr=Jr==null?void 0:Jr.errors)===null||Vr===void 0?void 0:Vr.length)||Or.length?pr="error":(Jr==null?void 0:Jr.touched)&&(pr="success"),Ct&&ae&&(kt.current=pr);var dr=(xr={},w()(xr,"".concat(We,"-item"),!0),w()(xr,"".concat(We,"-item-with-help"),Ct||ae),w()(xr,"".concat(Mt),!!Mt),w()(xr,"".concat(We,"-item-has-feedback"),pr&&ce),w()(xr,"".concat(We,"-item-has-success"),pr==="success"),w()(xr,"".concat(We,"-item-has-warning"),pr==="warning"),w()(xr,"".concat(We,"-item-has-error"),pr==="error"),w()(xr,"".concat(We,"-item-has-error-leave"),!ae&&Ct&&kt.current==="error"),w()(xr,"".concat(We,"-item-is-validating"),pr==="validating"),w()(xr,"".concat(We,"-item-hidden"),vt),xr);return f.createElement(J.a,L()({className:t()(dr),style:Kt,key:"row"},Object(l.default)(ee,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),f.createElement($e,L()({htmlFor:Rr,required:$r,requiredMark:Ae},je,{prefixCls:We})),f.createElement(at,L()({},je,Jr,{errors:nr,prefixCls:We,onDomErrorVisibleChange:ct,validateStatus:pr}),f.createElement(c.Provider,{value:{updateItemErrors:tt}},Dr)))}var Dt=typeof Ce=="function",vr=f.useRef(0);if(vr.current+=1,!ht&&!Dt&&!qt)return Yt(Ce);var yr={};return typeof Te=="string"&&(yr.label=Te),f.createElement(o.Field,L()({},je,{messageVariables:yr,trigger:He,validateTrigger:Ge,onReset:function(){ct(!1)}}),function(Dr,Rr,Jr){var $r=Rr.errors,xr=b(ar).length&&Rr?Rr.name:[],Vr=x(xr,ge);if(Pt){if(ut.current=H()(xr),zt){var Or=Array.isArray(zt)?zt:[zt];ut.current=[].concat(H()(xr.slice(0,-1)),H()(Or))}et(ut.current.join("__SPLIT__"),$r)}var nr=Ie!==void 0?Ie:!!(de&&de.some(function(Zr){if(Zr&&K()(Zr)==="object"&&Zr.required)return!0;if(typeof Zr=="function"){var on=Zr(Jr);return on&&on.required}return!1})),pr=L()({},Dr),dr=null;if(Object(te.a)(!(me&&qt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(Ce)&&ht)Object(te.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),dr=Ce;else if(Dt&&(!(me||qt)||ht))Object(te.a)(!!(me||qt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(te.a)(!ht,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(qt&&!Dt&&!ht)Object(te.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Ot.b)(Ce)){Object(te.a)(Ce.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var fr=L()(L()({},Ce.props),pr);fr.id||(fr.id=Vr),Object(G.c)(Ce)&&(fr.ref=ft(xr,Ce));var _r=new Set([].concat(H()(b(He)),H()(b(Ge))));_r.forEach(function(Zr){fr[Zr]=function(){for(var on,jn,Ur,En,pn,On=arguments.length,Vn=new Array(On),Nn=0;Nn<On;Nn++)Vn[Nn]=arguments[Nn];(Ur=pr[Zr])===null||Ur===void 0||(on=Ur).call.apply(on,[pr].concat(Vn)),(pn=(En=Ce.props)[Zr])===null||pn===void 0||(jn=pn).call.apply(jn,[En].concat(Vn))}}),dr=f.createElement(Nt,{value:pr[je.valuePropName||"value"],update:vr.current},Object(Ot.a)(Ce,fr))}else Dt&&(me||qt)&&!ht?dr=Ce(Jr):(Object(te.a)(!xr.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),dr=Ce);return Yt(dr,Vr,Rr,nr)})}var Ze=Ut,ze=function(je,ar){var zt={};for(var Pt in je)Object.prototype.hasOwnProperty.call(je,Pt)&&ar.indexOf(Pt)<0&&(zt[Pt]=je[Pt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Pt=Object.getOwnPropertySymbols(je);qt<Pt.length;qt++)ar.indexOf(Pt[qt])<0&&Object.prototype.propertyIsEnumerable.call(je,Pt[qt])&&(zt[Pt[qt]]=je[Pt[qt]]);return zt},re=function(ar){var zt=ar.children,Pt=ze(ar,["children"]);return Object(te.a)(!!Pt.name,"Form.List","Miss `name` prop."),f.createElement(o.List,Pt,function(qt,or){return zt(qt.map(function(Kt){return L()(L()({},Kt),{fieldKey:Kt.key})}),or)})},le=re,Xe=z;Xe.Item=Ze,Xe.List=le,Xe.useForm=D,Xe.Provider=r,Xe.create=function(){Object(te.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var _e=_.a=Xe},"7ZCg":function(Z,_,e){"use strict";e.d(_,"a",function(){return w});var d=e("nWwB");function L(f,a){var t=new Set;return f.forEach(function(o){a.has(o)||t.add(o)}),t}function v(f){var a=f||{},t=a.disabled,o=a.disableCheckbox,s=a.checkable;return!!(t||o)||s===!1}function m(f,a,t,o){for(var s=new Set(f),l=new Set,n=0;n<=t;n+=1){var c=a.get(n)||new Set;c.forEach(function(h){var p=h.key,A=h.node,C=h.children,S=C===void 0?[]:C;s.has(p)&&!o(A)&&S.filter(function(E){return!o(E.node)}).forEach(function(E){s.add(E.key)})})}for(var r=new Set,u=t;u>=0;u-=1){var i=a.get(u)||new Set;i.forEach(function(h){var p=h.parent,A=h.node;if(o(A)||!h.parent||r.has(h.parent.key))return;if(o(h.parent.node)){r.add(p.key);return}var C=!0,S=!1;(p.children||[]).filter(function(E){return!o(E.node)}).forEach(function(E){var O=E.key,T=s.has(O);C&&!T&&(C=!1),!S&&(T||l.has(O))&&(S=!0)}),C&&s.add(p.key),S&&l.add(p.key),r.add(p.key)})}return{checkedKeys:Array.from(s),halfCheckedKeys:Array.from(L(l,s))}}function y(f,a,t,o,s){for(var l=new Set(f),n=new Set(a),c=0;c<=o;c+=1){var r=t.get(c)||new Set;r.forEach(function(p){var A=p.key,C=p.node,S=p.children,E=S===void 0?[]:S;!l.has(A)&&!n.has(A)&&!s(C)&&E.filter(function(O){return!s(O.node)}).forEach(function(O){l.delete(O.key)})})}n=new Set;for(var u=new Set,i=o;i>=0;i-=1){var h=t.get(i)||new Set;h.forEach(function(p){var A=p.parent,C=p.node;if(s(C)||!p.parent||u.has(p.parent.key))return;if(s(p.parent.node)){u.add(A.key);return}var S=!0,E=!1;(A.children||[]).filter(function(O){return!s(O.node)}).forEach(function(O){var T=O.key,b=l.has(T);S&&!b&&(S=!1),!E&&(b||n.has(T))&&(E=!0)}),S||l.delete(A.key),E&&n.add(A.key),u.add(A.key)})}return{checkedKeys:Array.from(l),halfCheckedKeys:Array.from(L(n,l))}}function w(f,a,t,o){var s=[],l;o?l=o:l=v;var n=new Set(f.filter(function(i){var h=!!t[i];return h||s.push(i),h})),c=new Map,r=0;Object.keys(t).forEach(function(i){var h=t[i],p=h.level,A=c.get(p);A||(A=new Set,c.set(p,A)),A.add(h),r=Math.max(r,p)}),Object(d.a)(!s.length,"Tree missing follow keys: ".concat(s.slice(0,100).map(function(i){return"'".concat(i,"'")}).join(", ")));var u;return a===!0?u=m(n,c,r,l):u=y(n,a.halfCheckedKeys,c,r,l),u}},"7hf9":function(Z,_,e){var d=e("JSme"),L=d.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});Z.exports=L},"7i10":function(Z,_,e){var d=e("Q6Bq");e("Gd1e"),e("IU03");var L=e("zCY1"),v=e("x0lj");d.registerVisual(L),d.registerLayout(v)},"7lsH":function(Z,_,e){var d=e("oEo5"),L=d.map,v=e("teHm"),m=e("7/O9"),y=m.isDimensionStacked;function w(f){return{seriesType:f,plan:v(),reset:function(a){var t=a.getData(),o=a.coordinateSystem,s=a.pipelineContext,l=s.large;if(!o)return;var n=L(o.dimensions,function(i){return t.mapDimension(i)}).slice(0,2),c=n.length,r=t.getCalculationInfo("stackResultDimension");y(t,n[0])&&(n[0]=r),y(t,n[1])&&(n[1]=r);function u(i,h){for(var p=i.end-i.start,A=l&&new Float32Array(p*c),C=i.start,S=0,E=[],O=[];C<i.end;C++){var T;if(c===1){var b=h.get(n[0],C);T=!isNaN(b)&&o.dataToPoint(b,null,O)}else{var b=E[0]=h.get(n[0],C),x=E[1]=h.get(n[1],C);T=!isNaN(b)&&!isNaN(x)&&o.dataToPoint(E,null,O)}l?(A[S++]=T?T[0]:NaN,A[S++]=T?T[1]:NaN):h.setItemLayout(C,T&&T.slice()||[NaN,NaN])}l&&h.setLayout("symbolPoints",A)}return c&&{progress:u}}}}Z.exports=w},"7mDt":function(Z,_,e){var d=e("Q6Bq");e("ZjQ9"),e("EP4V"),e("KsgI"),e("O0fn"),e("5bxg"),d.extendComponentView({type:"single"})},"7zv7":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("D9jB"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},"8+LE":function(Z,_){/**
|
||
* @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,d,L,v=!1,m,y;window.PR_SHOULD_USE_CONTINUATION=!0;var w,f;(function(){var a=window,t=["break,continue,do,else,for,if,return,while"],o=[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],s=[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"],c=[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"],r="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"],i="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=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],p=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],A=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],C=[l,c,n,u,i,h,p,A],S=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,E="str",O="kwd",T="com",b="typ",x="lit",N="pun",D="pln",M="tag",R="dec",F="src",B="atn",z="atv",U="nocode",K="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function W(it){for(var qe=0,At=!1,dt=!1,wt=0,Ye=it.length;wt<Ye;++wt){var mt=it[wt];if(mt.ignoreCase)dt=!0;else if(/[a-z]/i.test(mt.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){At=!0,dt=!1;break}}var Ue={b:8,t:9,n:10,v:11,f:12,r:13};function Re(Ft){var ke=Ft.charCodeAt(0);if(ke!==92)return ke;var Vt=Ft.charAt(1);return ke=Ue[Vt],ke||("0"<=Vt&&Vt<="7"?parseInt(Ft.substring(1),8):Vt==="u"||Vt==="x"?parseInt(Ft.substring(2),16):Ft.charCodeAt(1))}function Le(Ft){if(Ft<32)return(Ft<16?"\\x0":"\\x")+Ft.toString(16);var ke=String.fromCharCode(Ft);return ke==="\\"||ke==="-"||ke==="]"||ke==="^"?"\\"+ke:ke}function at(Ft){var ke=Ft.substring(1,Ft.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),Vt=[],bt=ke[0]==="^",Rt=["["];bt&&Rt.push("^");for(var Nt=bt?1:0,xt=ke.length;Nt<xt;++Nt){var Ut=ke[Nt];if(/\\[bdsw]/i.test(Ut))Rt.push(Ut);else{var Ze=Re(Ut),ze;Nt+2<xt&&ke[Nt+1]==="-"?(ze=Re(ke[Nt+2]),Nt+=2):ze=Ze,Vt.push([Ze,ze]),ze<65||Ze>122||(ze<65||Ze>90||Vt.push([Math.max(65,Ze)|32,Math.min(ze,90)|32]),ze<97||Ze>122||Vt.push([Math.max(97,Ze)&~32,Math.min(ze,122)&~32]))}}Vt.sort(function(_e,je){return _e[0]-je[0]||je[1]-_e[1]});for(var re=[],le=[],Nt=0;Nt<Vt.length;++Nt){var Xe=Vt[Nt];Xe[0]<=le[1]+1?le[1]=Math.max(le[1],Xe[1]):re.push(le=Xe)}for(var Nt=0;Nt<re.length;++Nt){var Xe=re[Nt];Rt.push(Le(Xe[0])),Xe[1]>Xe[0]&&(Xe[1]+1>Xe[0]&&Rt.push("-"),Rt.push(Le(Xe[1])))}return Rt.push("]"),Rt.join("")}function Ot(Ft){for(var ke=Ft.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")),Vt=ke.length,bt=[],Rt=0,Nt=0;Rt<Vt;++Rt){var xt=ke[Rt];if(xt==="(")++Nt;else if(xt.charAt(0)==="\\"){var Ut=+xt.substring(1);Ut&&(Ut<=Nt?bt[Ut]=-1:ke[Rt]=Le(Ut))}}for(var Rt=1;Rt<bt.length;++Rt)bt[Rt]===-1&&(bt[Rt]=++qe);for(var Rt=0,Nt=0;Rt<Vt;++Rt){var xt=ke[Rt];if(xt==="(")++Nt,bt[Nt]||(ke[Rt]="(?:");else if(xt.charAt(0)==="\\"){var Ut=+xt.substring(1);Ut&&Ut<=Nt&&(ke[Rt]="\\"+bt[Ut])}}for(var Rt=0;Rt<Vt;++Rt)ke[Rt]==="^"&&ke[Rt+1]!=="^"&&(ke[Rt]="");if(Ft.ignoreCase&&At)for(var Rt=0;Rt<Vt;++Rt){var xt=ke[Rt],Ze=xt.charAt(0);xt.length>=2&&Ze==="["?ke[Rt]=at(xt):Ze!=="\\"&&(ke[Rt]=xt.replace(/[a-zA-Z]/g,function(le){var Xe=le.charCodeAt(0);return"["+String.fromCharCode(Xe&~32,Xe|32)+"]"}))}return ke.join("")}for(var Tt=[],wt=0,Ye=it.length;wt<Ye;++wt){var mt=it[wt];if(mt.global||mt.multiline)throw new Error(""+mt);Tt.push("(?:"+Ot(mt)+")")}return new RegExp(Tt.join("|"),dt?"gi":"g")}function H(it,qe){var At=/(?:^|\s)nocode(?:\s|$)/,dt=[],wt=0,Ye=[],mt=0;function Ue(Re){var Le=Re.nodeType;if(Le==1){if(At.test(Re.className))return;for(var at=Re.firstChild;at;at=at.nextSibling)Ue(at);var Ot=Re.nodeName.toLowerCase();(Ot==="br"||Ot==="li")&&(dt[mt]=`
|
||
`,Ye[mt<<1]=wt++,Ye[mt++<<1|1]=Re)}else if(Le==3||Le==4){var Tt=Re.nodeValue;Tt.length&&(qe?Tt=Tt.replace(/\r\n?/g,`
|
||
`):Tt=Tt.replace(/[ \t\r\n]+/g," "),dt[mt]=Tt,Ye[mt<<1]=wt,wt+=Tt.length,Ye[mt++<<1|1]=Re)}}return Ue(it),{sourceCode:dt.join("").replace(/\n$/,""),spans:Ye}}function Y(it,qe,At,dt,wt){if(!At)return;var Ye={sourceNode:it,pre:1,langExtension:null,numberLines:null,sourceCode:At,spans:null,basePos:qe,decorations:null};dt(Ye),wt.push.apply(wt,Ye.decorations)}var Q=/\S/;function P(it){for(var qe=void 0,At=it.firstChild;At;At=At.nextSibling){var dt=At.nodeType;qe=dt===1?qe?it:At:dt===3&&Q.test(At.nodeValue)?it:qe}return qe===it?void 0:qe}function G(it,qe){var At={},dt;(function(){for(var mt=it.concat(qe),Ue=[],Re={},Le=0,at=mt.length;Le<at;++Le){var Ot=mt[Le],Tt=Ot[3];if(Tt)for(var Ft=Tt.length;--Ft>=0;)At[Tt.charAt(Ft)]=Ot;var ke=Ot[1],Vt=""+ke;Re.hasOwnProperty(Vt)||(Ue.push(ke),Re[Vt]=null)}Ue.push(/[\0-\uffff]/),dt=W(Ue)})();var wt=qe.length,Ye=function mt(Ue){for(var Re=Ue.sourceCode,Le=Ue.basePos,at=Ue.sourceNode,Ot=[Le,D],Tt=0,Ft=Re.match(dt)||[],ke={},Vt=0,bt=Ft.length;Vt<bt;++Vt){var Rt=Ft[Vt],Nt=ke[Rt],xt=void 0,Ut;if(typeof Nt=="string")Ut=!1;else{var Ze=At[Rt.charAt(0)];if(Ze)xt=Rt.match(Ze[1]),Nt=Ze[0];else{for(var ze=0;ze<wt;++ze)if(Ze=qe[ze],xt=Rt.match(Ze[1]),xt){Nt=Ze[0];break}xt||(Nt=D)}Ut=Nt.length>=5&&Nt.substring(0,5)==="lang-",Ut&&!(xt&&typeof xt[1]=="string")&&(Ut=!1,Nt=F),Ut||(ke[Rt]=Nt)}var re=Tt;if(Tt+=Rt.length,!Ut)Ot.push(Le+re,Nt);else{var le=xt[1],Xe=Rt.indexOf(le),_e=Xe+le.length;xt[2]&&(_e=Rt.length-xt[2].length,Xe=_e-le.length);var je=Nt.substring(5);Y(at,Le+re,Rt.substring(0,Xe),mt,Ot),Y(at,Le+re+Xe,le,Qe(je,le),Ot),Y(at,Le+re+_e,Rt.substring(_e),mt,Ot)}}Ue.decorations=Ot};return Ye}function J(it){var qe=[],At=[];it.tripleQuotedStrings?qe.push([E,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):it.multiLineStrings?qe.push([E,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):qe.push([E,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),it.verbatimStrings&&At.push([E,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var dt=it.hashComments;dt&&(it.cStyleComments?(dt>1?qe.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):qe.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),At.push([E,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):qe.push([T,/^#[^\r\n]*/,null,"#"])),it.cStyleComments&&(At.push([T,/^\/\/[^\r\n]*/,null]),At.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var wt=it.regexLiterals;if(wt){var Ye=wt>1?"":`
|
||
\r`,mt=Ye?".":"[\\S\\s]",Ue="/(?=[^/*"+Ye+"])(?:[^/\\x5B\\x5C"+Ye+"]|\\x5C"+mt+"|\\x5B(?:[^\\x5C\\x5D"+Ye+"]|\\x5C"+mt+")*(?:\\x5D|$))+/";At.push(["lang-regex",RegExp("^"+K+"("+Ue+")")])}var Re=it.types;Re&&At.push([b,Re]);var Le=(""+it.keywords).replace(/^ | $/g,"");Le.length&&At.push([O,new RegExp("^(?:"+Le.replace(/[\s,]+/g,"|")+")\\b"),null]),qe.push([D,/^\s+/,null,` \r
|
||
\xA0`]);var at="^.[^\\s\\w.$@'\"`/\\\\]*";return it.regexLiterals&&(at+="(?!s*/)"),At.push([x,/^@[a-z_$][a-z_$@0-9]*/i,null],[b,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[D,/^[a-z_$][a-z_$@0-9]*/i,null],[x,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(at),null]),G(qe,At)}var he=J({keywords:C,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function te(it,qe,At){for(var dt=/(?:^|\s)nocode(?:\s|$)/,wt=/\r\n?|\n/,Ye=it.ownerDocument,mt=Ye.createElement("li");it.firstChild;)mt.appendChild(it.firstChild);var Ue=[mt];function Re(ke){var Vt=ke.nodeType;if(Vt==1&&!dt.test(ke.className))if(ke.nodeName==="br")Le(ke),ke.parentNode&&ke.parentNode.removeChild(ke);else for(var bt=ke.firstChild;bt;bt=bt.nextSibling)Re(bt);else if((Vt==3||Vt==4)&&At){var Rt=ke.nodeValue,Nt=Rt.match(wt);if(Nt){var xt=Rt.substring(0,Nt.index);ke.nodeValue=xt;var Ut=Rt.substring(Nt.index+Nt[0].length);if(Ut){var Ze=ke.parentNode;Ze.insertBefore(Ye.createTextNode(Ut),ke.nextSibling)}Le(ke),xt||ke.parentNode.removeChild(ke)}}}function Le(ke){for(;!ke.nextSibling;)if(ke=ke.parentNode,!ke)return;function Vt(Nt,xt){var Ut=xt?Nt.cloneNode(!1):Nt,Ze=Nt.parentNode;if(Ze){var ze=Vt(Ze,1),re=Nt.nextSibling;ze.appendChild(Ut);for(var le=re;le;le=re)re=le.nextSibling,ze.appendChild(le)}return Ut}for(var bt=Vt(ke.nextSibling,0),Rt;(Rt=bt.parentNode)&&Rt.nodeType===1;)bt=Rt;Ue.push(bt)}for(var at=0;at<Ue.length;++at)Re(Ue[at]);qe===(qe|0)&&Ue[0].setAttribute("value",qe);var Ot=Ye.createElement("ol");Ot.className="linenums";for(var Tt=Math.max(0,qe-1|0)||0,at=0,Ft=Ue.length;at<Ft;++at)mt=Ue[at],mt.className="L"+(at+Tt)%10,mt.firstChild||mt.appendChild(Ye.createTextNode("\xA0")),Ot.appendChild(mt);it.appendChild(Ot)}function pe(it){var qe=/\bMSIE\s(\d+)/.exec(navigator.userAgent);qe=qe&&+qe[1]<=8;var At=/\n/g,dt=it.sourceCode,wt=dt.length,Ye=0,mt=it.spans,Ue=mt.length,Re=0,Le=it.decorations,at=Le.length,Ot=0;Le[at]=wt;var Tt,Ft;for(Ft=Tt=0;Ft<at;)Le[Ft]!==Le[Ft+2]?(Le[Tt++]=Le[Ft++],Le[Tt++]=Le[Ft++]):Ft+=2;for(at=Tt,Ft=Tt=0;Ft<at;){for(var ke=Le[Ft],Vt=Le[Ft+1],bt=Ft+2;bt+2<=at&&Le[bt+1]===Vt;)bt+=2;Le[Tt++]=ke,Le[Tt++]=Vt,Ft=bt}at=Le.length=Tt;var Rt=it.sourceNode,Nt="";Rt&&(Nt=Rt.style.display,Rt.style.display="none");try{for(var xt=null;Re<Ue;){var Ut=mt[Re],Ze=mt[Re+2]||wt,ze=Le[Ot+2]||wt,bt=Math.min(Ze,ze),re=mt[Re+1],le;if(re.nodeType!==1&&(le=dt.substring(Ye,bt))){qe&&(le=le.replace(At,"\r")),re.nodeValue=le;var Xe=re.ownerDocument,_e=Xe.createElement("span");_e.className=Le[Ot+1];var je=re.parentNode;je.replaceChild(_e,re),_e.appendChild(re),Ye<Ze&&(mt[Re+1]=re=Xe.createTextNode(dt.substring(bt,Ze)),je.insertBefore(re,_e.nextSibling))}Ye=bt,Ye>=Ze&&(Re+=2),Ye>=ze&&(Ot+=2)}}finally{Rt&&(Rt.style.display=Nt)}}var we={};function be(it,qe){for(var At=qe.length;--At>=0;){var dt=qe[At];we.hasOwnProperty(dt)?a.console&&console.warn("cannot override language handler %s",dt):we[dt]=it}}function Qe(it,qe){return it&&we.hasOwnProperty(it)||(it=/^\s*</.test(qe)?"default-markup":"default-code"),we[it]}be(he,["default-code"]),be(G([],[[D,/^[^<?]+/],[R,/^<!\w[^>]*(?:>|$)/],[T,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[N,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),be(G([[D,/^[\s]+/,null,` \r
|
||
`],[z,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[M,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[B,/^(?!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"]),be(G([],[[z,/^[\s\S]+/]]),["uq.val"]),be(J({keywords:l,hashComments:!0,cStyleComments:!0,types:S}),["c","cc","cpp","cxx","cyc","m"]),be(J({keywords:"null,true,false"}),["json"]),be(J({keywords:c,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:S}),["cs"]),be(J({keywords:n,cStyleComments:!0}),["java"]),be(J({keywords:A,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),be(J({keywords:h,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),be(J({keywords:i,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),be(J({keywords:p,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),be(J({keywords:u,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),be(J({keywords:r,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),be(G([],[[E,/^[\s\S]+/]]),["regex"]);function $e(it){var qe=it.langExtension;try{var At=H(it.sourceNode,it.pre),dt=At.sourceCode;it.sourceCode=dt,it.spans=At.spans,it.basePos=0,Qe(qe,dt)(it),pe(it)}catch(wt){a.console&&console.log(wt&&wt.stack||wt)}}function yt(it,qe,At){var dt=At||!1,wt=qe||null,Ye=document.createElement("div");Ye.innerHTML="<pre>"+it+"</pre>",Ye=Ye.firstChild,dt&&te(Ye,dt,!0);var mt={langExtension:wt,numberLines:dt,sourceNode:Ye,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return $e(mt),Ye.innerHTML}function Fe(it,qe){var At=qe||document.body,dt=At.ownerDocument||document;function wt(Ut){return At.getElementsByTagName(Ut)}for(var Ye=[wt("pre"),wt("code"),wt("xmp")],mt=[],Ue=0;Ue<Ye.length;++Ue)for(var Re=0,Le=Ye[Ue].length;Re<Le;++Re)mt.push(Ye[Ue][Re]);Ye=null;var at=Date;at.now||(at={now:function(){return+new Date}});var Ot=0,Tt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ft=/\bprettyprint\b/,ke=/\bprettyprinted\b/,Vt=/pre|xmp/i,bt=/^code$/i,Rt=/^(?:pre|code|xmp)$/i,Nt={};function xt(){for(var Ut=a.PR_SHOULD_USE_CONTINUATION?at.now()+250:Infinity;Ot<mt.length&&at.now()<Ut;Ot++){for(var Ze=mt[Ot],ze=Nt,re=Ze;re=re.previousSibling;){var le=re.nodeType,Xe=(le===7||le===8)&&re.nodeValue;if(Xe?!/^\??prettify\b/.test(Xe):le!==3||/\S/.test(re.nodeValue))break;if(Xe){ze={},Xe.replace(/\b(\w+)=([\w:.%+-]+)/g,function(de,Se,Ce){ze[Se]=Ce});break}}var _e=Ze.className;if((ze!==Nt||Ft.test(_e))&&!ke.test(_e)){for(var je=!1,ar=Ze.parentNode;ar;ar=ar.parentNode){var zt=ar.tagName;if(Rt.test(zt)&&ar.className&&Ft.test(ar.className)){je=!0;break}}if(!je){Ze.className+=" prettyprinted";var Pt=ze.lang;if(!Pt){Pt=_e.match(Tt);var qt;!Pt&&(qt=P(Ze))&&bt.test(qt.tagName)&&(Pt=qt.className.match(Tt)),Pt&&(Pt=Pt[1])}var or;if(Vt.test(Ze.tagName))or=1;else{var Kt=Ze.currentStyle,Mt=dt.defaultView,me=Kt?Kt.whiteSpace:Mt&&Mt.getComputedStyle?Mt.getComputedStyle(Ze,null).getPropertyValue("white-space"):0;or=me&&me.substring(0,3)==="pre"}var ce=ze.linenums;(ce=ce==="true"||+ce)||(ce=_e.match(/\blinenums\b(?::(\d+))?/),ce=ce?ce[1]&&ce[1].length?+ce[1]:!0:!1),ce&&te(Ze,ce,or);var ae={langExtension:Pt,sourceNode:Ze,numberLines:ce,pre:or,sourceCode:null,basePos:null,spans:null,decorations:null};$e(ae)}}}Ot<mt.length?a.setTimeout(xt,250):typeof it=="function"&&it()}xt()}var Pe=a.PR={createSimpleLexer:G,registerLangHandler:be,sourceDecorator:J,PR_ATTRIB_NAME:B,PR_ATTRIB_VALUE:z,PR_COMMENT:T,PR_DECLARATION:R,PR_KEYWORD:O,PR_LITERAL:x,PR_NOCODE:U,PR_PLAIN:D,PR_PUNCTUATION:N,PR_SOURCE:F,PR_STRING:E,PR_TAG:M,PR_TYPE:b,prettyPrintOne:v?a.prettyPrintOne=yt:w=yt,prettyPrint:f=v?a.prettyPrint=Fe:f=Fe},gt=a.define;typeof gt=="function"&>.amd&>("google-code-prettify",[],function(){return Pe})})()},"8/vB":function(Z,_,e){var d=e("gyjJ"),L=e("B2QF"),v=e("sAd1"),m=L.toolbox.saveAsImage;function y(a){this.model=a}y.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()},y.prototype.unusable=!d.canvasSupported;var w=y.prototype;w.onclick=function(a,t){var o=this.model,s=o.get("name")||a.get("title.0.text")||"echarts",l=t.getZr().painter.getType()==="svg",n=l?"svg":o.get("type",!0)||"png",c=t.getConnectedDataURL({type:n,backgroundColor:o.get("backgroundColor",!0)||a.get("backgroundColor")||"#fff",connectedBackgroundColor:o.get("connectedBackgroundColor"),excludeComponents:o.get("excludeComponents"),pixelRatio:o.get("pixelRatio")});if(typeof MouseEvent=="function"&&!d.browser.ie&&!d.browser.edge){var r=document.createElement("a");r.download=s+"."+n,r.target="_blank",r.href=c;var u=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});r.dispatchEvent(u)}else if(window.navigator.msSaveOrOpenBlob){for(var i=atob(c.split(",")[1]),h=i.length,p=new Uint8Array(h);h--;)p[h]=i.charCodeAt(h);var A=new Blob([p]);window.navigator.msSaveOrOpenBlob(A,s+"."+n)}else{var C=o.get("lang"),S='<body style="margin:0;"><img src="'+c+'" style="max-width:100%;" title="'+(C&&C[0]||"")+'" /></body>',E=window.open();E.document.write(S)}},v.register("saveAsImage",y);var f=y;Z.exports=f},"83ay":function(Z,_,e){var d=e("zYjg"),L=e("SSBM"),v=e("oEo5"),m=e("ycch"),y=m.wrapTreePathInfo,w=8,f=8,a=5;function t(n){this.group=new d.Group,n.add(this.group)}t.prototype={constructor:t,render:function(n,c,r,u){var i=n.getModel("breadcrumb"),h=this.group;if(h.removeAll(),!i.get("show")||!r)return;var p=i.getModel("itemStyle"),A=p.getModel("textStyle"),C={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:c.getWidth(),height:c.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(r,C,A),this._renderContent(n,C,p,A,u),L.positionElement(h,C.pos,C.box)},_prepare:function(n,c,r){for(var u=n;u;u=u.parentNode){var i=u.getModel().get("name"),h=r.getTextRect(i),p=Math.max(h.width+w*2,c.emptyItemWidth);c.totalWidth+=p+f,c.renderList.push({node:u,text:i,width:p})}},_renderContent:function(n,c,r,u,i){for(var h=0,p=c.emptyItemWidth,A=n.get("breadcrumb.height"),C=L.getAvailableSize(c.pos,c.box),S=c.totalWidth,E=c.renderList,O=E.length-1;O>=0;O--){var T=E[O],b=T.node,x=T.width,N=T.text;S>C.width&&(S-=x-p,x=p,N=null);var D=new d.Polygon({shape:{points:o(h,0,x,A,O===E.length-1,O===0)},style:v.defaults(r.getItemStyle(),{lineJoin:"bevel",text:N,textFill:u.getTextColor(),textFont:u.getFont()}),z:10,onclick:v.curry(i,b)});this.group.add(D),s(D,n,b),h+=x+f}},remove:function(){this.group.removeAll()}};function o(n,c,r,u,i,h){var p=[[i?n:n-a,c],[n+r,c],[n+r,c+u],[i?n:n-a,c+u]];return!h&&p.splice(2,0,[n+r+a,c+u/2]),!i&&p.push([n,c+u/2]),p}function s(n,c,r){n.eventData={componentType:"series",componentSubType:"treemap",componentIndex:c.componentIndex,seriesIndex:c.componentIndex,seriesName:c.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:r&&r.dataIndex,name:r&&r.name},treePathInfo:r&&y(r,c)}}var l=t;Z.exports=l},"85pI":function(Z,_){function e(d,L){return function(v){return d(L(v))}}Z.exports=e},"86p4":function(Z,_,e){var d=e("JqtM"),L=d.debugMode,v=function(){};L===1&&(v=console.error);var m=v;Z.exports=m},"8Bkq":function(Z,_,e){var d=e("342z"),L=e("2OMI"),v=e("ww29"),m=Math.sqrt,y=Math.sin,w=Math.cos,f=Math.PI,a=function(A){return Math.sqrt(A[0]*A[0]+A[1]*A[1])},t=function(A,C){return(A[0]*C[0]+A[1]*C[1])/(a(A)*a(C))},o=function(A,C){return(A[0]*C[1]<A[1]*C[0]?-1:1)*Math.acos(t(A,C))};function s(p,A,C,S,E,O,T,b,x,N,D){var M=x*(f/180),R=w(M)*(p-C)/2+y(M)*(A-S)/2,F=-1*y(M)*(p-C)/2+w(M)*(A-S)/2,B=R*R/(T*T)+F*F/(b*b);B>1&&(T*=m(B),b*=m(B));var z=(E===O?-1:1)*m((T*T*(b*b)-T*T*(F*F)-b*b*(R*R))/(T*T*(F*F)+b*b*(R*R)))||0,U=z*T*F/b,K=z*-b*R/T,W=(p+C)/2+w(M)*U-y(M)*K,H=(A+S)/2+y(M)*U+w(M)*K,Y=o([1,0],[(R-U)/T,(F-K)/b]),Q=[(R-U)/T,(F-K)/b],P=[(-1*R-U)/T,(-1*F-K)/b],G=o(Q,P);t(Q,P)<=-1&&(G=f),t(Q,P)>=1&&(G=0),O===0&&G>0&&(G=G-2*f),O===1&&G<0&&(G=G+2*f),D.addData(N,W,H,T,b,Y,G,M,O)}var l=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,n=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function c(p){if(!p)return new L;for(var A=0,C=0,S=A,E=C,O,T=new L,b=L.CMD,x=p.match(l),N=0;N<x.length;N++){for(var D=x[N],M=D.charAt(0),R,F=D.match(n)||[],B=F.length,z=0;z<B;z++)F[z]=parseFloat(F[z]);for(var U=0;U<B;){var K,W,H,Y,Q,P,G,J=A,he=C;switch(M){case"l":A+=F[U++],C+=F[U++],R=b.L,T.addData(R,A,C);break;case"L":A=F[U++],C=F[U++],R=b.L,T.addData(R,A,C);break;case"m":A+=F[U++],C+=F[U++],R=b.M,T.addData(R,A,C),S=A,E=C,M="l";break;case"M":A=F[U++],C=F[U++],R=b.M,T.addData(R,A,C),S=A,E=C,M="L";break;case"h":A+=F[U++],R=b.L,T.addData(R,A,C);break;case"H":A=F[U++],R=b.L,T.addData(R,A,C);break;case"v":C+=F[U++],R=b.L,T.addData(R,A,C);break;case"V":C=F[U++],R=b.L,T.addData(R,A,C);break;case"C":R=b.C,T.addData(R,F[U++],F[U++],F[U++],F[U++],F[U++],F[U++]),A=F[U-2],C=F[U-1];break;case"c":R=b.C,T.addData(R,F[U++]+A,F[U++]+C,F[U++]+A,F[U++]+C,F[U++]+A,F[U++]+C),A+=F[U-2],C+=F[U-1];break;case"S":K=A,W=C;var te=T.len(),pe=T.data;O===b.C&&(K+=A-pe[te-4],W+=C-pe[te-3]),R=b.C,J=F[U++],he=F[U++],A=F[U++],C=F[U++],T.addData(R,K,W,J,he,A,C);break;case"s":K=A,W=C;var te=T.len(),pe=T.data;O===b.C&&(K+=A-pe[te-4],W+=C-pe[te-3]),R=b.C,J=A+F[U++],he=C+F[U++],A+=F[U++],C+=F[U++],T.addData(R,K,W,J,he,A,C);break;case"Q":J=F[U++],he=F[U++],A=F[U++],C=F[U++],R=b.Q,T.addData(R,J,he,A,C);break;case"q":J=F[U++]+A,he=F[U++]+C,A+=F[U++],C+=F[U++],R=b.Q,T.addData(R,J,he,A,C);break;case"T":K=A,W=C;var te=T.len(),pe=T.data;O===b.Q&&(K+=A-pe[te-4],W+=C-pe[te-3]),A=F[U++],C=F[U++],R=b.Q,T.addData(R,K,W,A,C);break;case"t":K=A,W=C;var te=T.len(),pe=T.data;O===b.Q&&(K+=A-pe[te-4],W+=C-pe[te-3]),A+=F[U++],C+=F[U++],R=b.Q,T.addData(R,K,W,A,C);break;case"A":H=F[U++],Y=F[U++],Q=F[U++],P=F[U++],G=F[U++],J=A,he=C,A=F[U++],C=F[U++],R=b.A,s(J,he,A,C,P,G,H,Y,Q,R,T);break;case"a":H=F[U++],Y=F[U++],Q=F[U++],P=F[U++],G=F[U++],J=A,he=C,A+=F[U++],C+=F[U++],R=b.A,s(J,he,A,C,P,G,H,Y,Q,R,T);break}}(M==="z"||M==="Z")&&(R=b.Z,T.addData(R),A=S,C=E),O=R}return T.toStatic(),T}function r(p,A){var C=c(p);return A=A||{},A.buildPath=function(S){if(S.setData){S.setData(C.data);var E=S.getContext();E&&S.rebuildPath(E)}else{var E=S;C.rebuildPath(E)}},A.applyTransform=function(S){v(C,S),this.dirty(!0)},A}function u(p,A){return new d(r(p,A))}function i(p,A){return d.extend(r(p,A))}function h(p,A){for(var C=[],S=p.length,E=0;E<S;E++){var O=p[E];O.path||O.createPathProxy(),O.__dirtyPath&&O.buildPath(O.path,O.shape,!0),C.push(O.path)}var T=new d(A);return T.createPathProxy(),T.buildPath=function(b){b.appendPath(C);var x=b.getContext();x&&b.rebuildPath(x)},T}_.createFromString=u,_.extendFromString=i,_.mergePath=h},"8CG2":function(Z,_){Z.exports=function(d,L,v,m){var y=v?v.call(m,d,L):void 0;if(y!==void 0)return!!y;if(d===L)return!0;if(typeof d!="object"||!d||typeof L!="object"||!L)return!1;var w=Object.keys(d),f=Object.keys(L);if(w.length!==f.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(L),t=0;t<w.length;t++){var o=w[t];if(!a(o))return!1;var s=d[o],l=L[o];if(y=v?v.call(m,s,l,o):void 0,y===!1||y===void 0&&s!==l)return!1}return!0}},"8DUC":function(Z,_,e){var d=e("oEo5"),L=e("Q6Bq"),v=e("zYjg"),m=e("SSBM"),y=m.getLayoutRect,w=e("CQhY"),f=w.windowOpen;L.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"}}}),L.extendComponentView({type:"title",render:function(a,t,o){if(this.group.removeAll(),!a.get("show"))return;var s=this.group,l=a.getModel("textStyle"),n=a.getModel("subtextStyle"),c=a.get("textAlign"),r=d.retrieve2(a.get("textBaseline"),a.get("textVerticalAlign")),u=new v.Text({style:v.setTextStyle({},l,{text:a.get("text"),textFill:l.getTextColor()},{disableBox:!0}),z2:10}),i=u.getBoundingRect(),h=a.get("subtext"),p=new v.Text({style:v.setTextStyle({},n,{text:h,textFill:n.getTextColor(),y:i.height+a.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),A=a.get("link"),C=a.get("sublink"),S=a.get("triggerEvent",!0);u.silent=!A&&!S,p.silent=!C&&!S,A&&u.on("click",function(){f(A,"_"+a.get("target"))}),C&&p.on("click",function(){f(C,"_"+a.get("subtarget"))}),u.eventData=p.eventData=S?{componentType:"title",componentIndex:a.componentIndex}:null,s.add(u),h&&s.add(p);var E=s.getBoundingRect(),O=a.getBoxLayoutParams();O.width=E.width,O.height=E.height;var T=y(O,{width:o.getWidth(),height:o.getHeight()},a.get("padding"));c||(c=a.get("left")||a.get("right"),c==="middle"&&(c="center"),c==="right"?T.x+=T.width:c==="center"&&(T.x+=T.width/2)),r||(r=a.get("top")||a.get("bottom"),r==="center"&&(r="middle"),r==="bottom"?T.y+=T.height:r==="middle"&&(T.y+=T.height/2),r=r||"top"),s.attr("position",[T.x,T.y]);var b={textAlign:c,textVerticalAlign:r};u.setStyle(b),p.setStyle(b),E=s.getBoundingRect();var x=T.margin,N=a.getItemStyle(["color","opacity"]);N.fill=a.get("backgroundColor");var D=new v.Rect({shape:{x:E.x-x[3],y:E.y-x[0],width:E.width+x[1]+x[3],height:E.height+x[0]+x[2],r:a.get("borderRadius")},style:N,subPixelOptimize:!0,silent:!0});s.add(D)}})},"8SUr":function(Z,_,e){"use strict";var d=Array.isArray,L=Object.keys,v=Object.prototype.hasOwnProperty;Z.exports=function m(y,w){if(y===w)return!0;if(y&&w&&typeof y=="object"&&typeof w=="object"){var f=d(y),a=d(w),t,o,s;if(f&&a){if(o=y.length,o!=w.length)return!1;for(t=o;t--!==0;)if(!m(y[t],w[t]))return!1;return!0}if(f!=a)return!1;var l=y instanceof Date,n=w instanceof Date;if(l!=n)return!1;if(l&&n)return y.getTime()==w.getTime();var c=y instanceof RegExp,r=w instanceof RegExp;if(c!=r)return!1;if(c&&r)return y.toString()==w.toString();var u=L(y);if(o=u.length,o!==L(w).length)return!1;for(t=o;t--!==0;)if(!v.call(w,u[t]))return!1;for(t=o;t--!==0;)if(s=u[t],!m(y[s],w[s]))return!1;return!0}return y!==y&&w!==w}},"8hNK":function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("KomR")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="DoubleRightOutlined";var f=v.forwardRef(w);_.default=f},"8sx9":function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("zYjg"),m=e("Dz72"),y="__seriesMapHighDown",w="__seriesMapCallKey",f=d.extendChartView({type:"map",render:function(o,s,l,n){if(n&&n.type==="mapToggleSelect"&&n.from===this.uid)return;var c=this.group;if(c.removeAll(),o.getHostGeoModel())return;if(n&&n.type==="geoRoam"&&n.componentType==="series"&&n.seriesId===o.id){var r=this._mapDraw;r&&c.add(r.group)}else if(o.needsDrawMap){var r=this._mapDraw||new m(l,!0);c.add(r.group),r.draw(o,s,l,this,n),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;o.get("showLegendSymbol")&&s.getComponent("legend")&&this._renderSymbols(o,s,l)},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(o,s,l){var n=o.originalData,c=this.group;n.each(n.mapDimension("value"),function(r,u){if(isNaN(r))return;var i=n.getItemLayout(u);if(!i||!i.point)return;var h=i.point,p=i.offset,A=new v.Circle({style:{fill:o.getData().getVisual("color")},shape:{cx:h[0]+p*9,cy:h[1],r:3},silent:!0,z2:8+(p?0:v.Z2_EMPHASIS_LIFT+1)});if(!p){var C=o.mainSeries.getData(),S=n.getName(u),E=C.indexOfName(S),O=n.getItemModel(u),T=O.getModel("label"),b=O.getModel("emphasis.label"),x=C.getItemGraphicEl(E),N=L.retrieve2(o.getFormattedLabel(E,"normal"),S),D=L.retrieve2(o.getFormattedLabel(E,"emphasis"),N),M=x[y],R=Math.random();if(!M){M=x[y]={};var F=L.curry(a,!0),B=L.curry(a,!1);x.on("mouseover",F).on("mouseout",B).on("emphasis",F).on("normal",B)}x[w]=R,L.extend(M,{recordVersion:R,circle:A,labelModel:T,hoverLabelModel:b,emphasisText:D,normalText:N}),t(M,!1)}c.add(A)})}});function a(o){var s=this[y];s&&s.recordVersion===this[w]&&t(s,o)}function t(o,s){var l=o.circle,n=o.labelModel,c=o.hoverLabelModel,r=o.emphasisText,u=o.normalText;s?(l.style.extendFrom(v.setTextStyle({},c,{text:c.get("show")?r:null},{isRectText:!0,useInsideStyle:!1},!0)),l.__mapOriginalZ2=l.z2,l.z2+=v.Z2_EMPHASIS_LIFT):(v.setTextStyle(l.style,n,{text:n.get("show")?u:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),l.dirty(!1),l.__mapOriginalZ2!=null&&(l.z2=l.__mapOriginalZ2,l.__mapOriginalZ2=null))}Z.exports=f},"8x96":function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("zYjg"),m=e("CQhY"),y=e("Jjzi"),w={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},f={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},a=d.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,o,s){var l=this.group;l.removeAll();var n=t.coordinateSystem,c=n.getRangeInfo(),r=n.getOrient();this._renderDayRect(t,c,l),this._renderLines(t,c,r,l),this._renderYearText(t,c,r,l),this._renderMonthText(t,r,l),this._renderWeekText(t,c,r,l)},_renderDayRect:function(t,o,s){for(var l=t.coordinateSystem,n=t.getModel("itemStyle").getItemStyle(),c=l.getCellWidth(),r=l.getCellHeight(),u=o.start.time;u<=o.end.time;u=l.getNextNDay(u,1).time){var i=l.dataToRect([u],!1).tl,h=new v.Rect({shape:{x:i[0],y:i[1],width:c,height:r},cursor:"default",style:n});s.add(h)}},_renderLines:function(t,o,s,l){var n=this,c=t.coordinateSystem,r=t.getModel("splitLine.lineStyle").getLineStyle(),u=t.get("splitLine.show"),i=r.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=o.start,p=0;h.time<=o.end.time;p++){C(h.formatedDate),p===0&&(h=c.getDateInfo(o.start.y+"-"+o.start.m));var A=h.date;A.setMonth(A.getMonth()+1),h=c.getDateInfo(A)}C(c.getNextNDay(o.end.time,1).formatedDate);function C(S){n._firstDayOfMonth.push(c.getDateInfo(S)),n._firstDayPoints.push(c.dataToRect([S],!1).tl);var E=n._getLinePointsOfOneWeek(t,S,s);n._tlpoints.push(E[0]),n._blpoints.push(E[E.length-1]),u&&n._drawSplitline(E,r,l)}u&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,i,s),r,l),u&&this._drawSplitline(n._getEdgesPoints(n._blpoints,i,s),r,l)},_getEdgesPoints:function(t,o,s){var l=[t[0].slice(),t[t.length-1].slice()],n=s==="horizontal"?0:1;return l[0][n]=l[0][n]-o/2,l[1][n]=l[1][n]+o/2,l},_drawSplitline:function(t,o,s){var l=new v.Polyline({z2:20,shape:{points:t},style:o});s.add(l)},_getLinePointsOfOneWeek:function(t,o,s){var l=t.coordinateSystem;o=l.getDateInfo(o);for(var n=[],c=0;c<7;c++){var r=l.getNextNDay(o.time,c),u=l.dataToRect([r.time],!1);n[2*r.day]=u.tl,n[2*r.day+1]=u[s==="horizontal"?"bl":"tr"]}return n},_formatterLabel:function(t,o){return typeof t=="string"&&t?m.formatTplSimple(t,o):typeof t=="function"?t(o):o.nameMap},_yearTextPositionControl:function(t,o,s,l,n){o=o.slice();var c=["center","bottom"];l==="bottom"?(o[1]+=n,c=["center","top"]):l==="left"?o[0]-=n:l==="right"?(o[0]+=n,c=["center","top"]):o[1]-=n;var r=0;return(l==="left"||l==="right")&&(r=Math.PI/2),{rotation:r,position:o,style:{textAlign:c[0],textVerticalAlign:c[1]}}},_renderYearText:function(t,o,s,l){var n=t.getModel("yearLabel");if(!n.get("show"))return;var c=n.get("margin"),r=n.get("position");r||(r=s!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],i=(u[0][0]+u[1][0])/2,h=(u[0][1]+u[1][1])/2,p=s==="horizontal"?0:1,A={top:[i,u[p][1]],bottom:[i,u[1-p][1]],left:[u[1-p][0],h],right:[u[p][0],h]},C=o.start.y;+o.end.y>+o.start.y&&(C=C+"-"+o.end.y);var S=n.get("formatter"),E={start:o.start.y,end:o.end.y,nameMap:C},O=this._formatterLabel(S,E),T=new v.Text({z2:30});v.setTextStyle(T.style,n,{text:O}),T.attr(this._yearTextPositionControl(T,A[r],s,r,c)),l.add(T)},_monthTextPositionControl:function(t,o,s,l,n){var c="left",r="top",u=t[0],i=t[1];return s==="horizontal"?(i=i+n,o&&(c="center"),l==="start"&&(r="bottom")):(u=u+n,o&&(r="middle"),l==="start"&&(c="right")),{x:u,y:i,textAlign:c,textVerticalAlign:r}},_renderMonthText:function(t,o,s){var l=t.getModel("monthLabel");if(!l.get("show"))return;var n=l.get("nameMap"),c=l.get("margin"),r=l.get("position"),u=l.get("align"),i=[this._tlpoints,this._blpoints];L.isString(n)&&(n=w[n.toUpperCase()]||[]);var h=r==="start"?0:1,p=o==="horizontal"?0:1;c=r==="start"?-c:c;for(var A=u==="center",C=0;C<i[h].length-1;C++){var S=i[h][C].slice(),E=this._firstDayOfMonth[C];if(A){var O=this._firstDayPoints[C];S[p]=(O[p]+i[0][C+1][p])/2}var T=l.get("formatter"),b=n[+E.m-1],x={yyyy:E.y,yy:(E.y+"").slice(2),MM:E.m,M:+E.m,nameMap:b},N=this._formatterLabel(T,x),D=new v.Text({z2:30});L.extend(v.setTextStyle(D.style,l,{text:N}),this._monthTextPositionControl(S,A,o,r,c)),s.add(D)}},_weekTextPositionControl:function(t,o,s,l,n){var c="center",r="middle",u=t[0],i=t[1],h=s==="start";return o==="horizontal"?(u=u+l+(h?1:-1)*n[0]/2,c=h?"right":"left"):(i=i+l+(h?1:-1)*n[1]/2,r=h?"bottom":"top"),{x:u,y:i,textAlign:c,textVerticalAlign:r}},_renderWeekText:function(t,o,s,l){var n=t.getModel("dayLabel");if(!n.get("show"))return;var c=t.coordinateSystem,r=n.get("position"),u=n.get("nameMap"),i=n.get("margin"),h=c.getFirstDayOfWeek();L.isString(u)&&(u=f[u.toUpperCase()]||[]);var p=c.getNextNDay(o.end.time,7-o.lweek).time,A=[c.getCellWidth(),c.getCellHeight()];i=y.parsePercent(i,A[s==="horizontal"?0:1]),r==="start"&&(p=c.getNextNDay(o.start.time,-(7+o.fweek)).time,i=-i);for(var C=0;C<7;C++){var S=c.getNextNDay(p,C),E=c.dataToRect([S.time],!1).center,O=C;O=Math.abs((C+h)%7);var T=new v.Text({z2:30});L.extend(v.setTextStyle(T.style,n,{text:u[O]}),this._weekTextPositionControl(E,s,r,i,A)),l.add(T)}}});Z.exports=a},"921W":function(Z,_){function e(d){return function(L){return d(L)}}Z.exports=e},"95/S":function(Z,_,e){(function(d){d(e("M0ff"),e("FNWx"),e("ouqR"))})(function(d){"use strict";d.defineMode("markdown",function(L,v){var m=d.getMode(L,"text/html"),y=m.name=="null";function w(W){if(d.findModeByName){var H=d.findModeByName(W);H&&(W=H.mime||H.mimes[0])}var Y=d.getMode(L,W);return Y.name=="null"?null:Y}v.highlightFormatting===void 0&&(v.highlightFormatting=!1),v.maxBlockquoteDepth===void 0&&(v.maxBlockquoteDepth=0),v.taskLists===void 0&&(v.taskLists=!1),v.strikethrough===void 0&&(v.strikethrough=!1),v.emoji===void 0&&(v.emoji=!1),v.fencedCodeBlockHighlighting===void 0&&(v.fencedCodeBlockHighlighting=!0),v.fencedCodeBlockDefaultMode===void 0&&(v.fencedCodeBlockDefaultMode="text/plain"),v.xml===void 0&&(v.xml=!0),v.tokenTypeOverrides===void 0&&(v.tokenTypeOverrides={});var f={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var a in f)f.hasOwnProperty(a)&&v.tokenTypeOverrides[a]&&(f[a]=v.tokenTypeOverrides[a]);var t=/^([*\-_])(?:\s*\1){2,}\s*$/,o=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,s=/^\[(x| )\](?=\s)/i,l=v.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,n=/^ {0,3}(?:\={1,}|-{2,})\s*$/,c=/^[^#!\[\]*_\\<>` "'(~:]+/,r=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,u=/^\s*\[[^\]]+?\]:.*$/,i=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,h=" ";function p(W,H,Y){return H.f=H.inline=Y,Y(W,H)}function A(W,H,Y){return H.f=H.block=Y,Y(W,H)}function C(W){return!W||!/\S/.test(W.string)}function S(W){if(W.linkTitle=!1,W.linkHref=!1,W.linkText=!1,W.em=!1,W.strong=!1,W.strikethrough=!1,W.quote=0,W.indentedCode=!1,W.f==O){var H=y;if(!H){var Y=d.innerMode(m,W.htmlState);H=Y.mode.name=="xml"&&Y.state.tagStart===null&&!Y.state.context&&Y.state.tokenize.isInText}H&&(W.f=N,W.block=E,W.htmlState=null)}return W.trailingSpace=0,W.trailingSpaceNewLine=!1,W.prevLine=W.thisLine,W.thisLine={stream:null},null}function E(W,H){var Y=W.column()===H.indentation,Q=C(H.prevLine.stream),P=H.indentedCode,G=H.prevLine.hr,J=H.list!==!1,he=(H.listStack[H.listStack.length-1]||0)+3;H.indentedCode=!1;var te=H.indentation;if(H.indentationDiff===null&&(H.indentationDiff=H.indentation,J)){for(H.list=null;te<H.listStack[H.listStack.length-1];)H.listStack.pop(),H.listStack.length?H.indentation=H.listStack[H.listStack.length-1]:H.list=!1;H.list!==!1&&(H.indentationDiff=te-H.listStack[H.listStack.length-1])}var pe=!Q&&!G&&!H.prevLine.header&&(!J||!P)&&!H.prevLine.fencedCodeEnd,we=(H.list===!1||G||Q)&&H.indentation<=he&&W.match(t),be=null;if(H.indentationDiff>=4&&(P||H.prevLine.fencedCodeEnd||H.prevLine.header||Q))return W.skipToEnd(),H.indentedCode=!0,f.code;if(W.eatSpace())return null;if(Y&&H.indentation<=he&&(be=W.match(l))&&be[1].length<=6)return H.quote=0,H.header=be[1].length,H.thisLine.header=!0,v.highlightFormatting&&(H.formatting="header"),H.f=H.inline,b(H);if(H.indentation<=he&&W.eat(">"))return H.quote=Y?1:H.quote+1,v.highlightFormatting&&(H.formatting="quote"),W.eatSpace(),b(H);if(!we&&!H.setext&&Y&&H.indentation<=he&&(be=W.match(o))){var Qe=be[1]?"ol":"ul";return H.indentation=te+W.current().length,H.list=!0,H.quote=0,H.listStack.push(H.indentation),H.em=!1,H.strong=!1,H.code=!1,H.strikethrough=!1,v.taskLists&&W.match(s,!1)&&(H.taskList=!0),H.f=H.inline,v.highlightFormatting&&(H.formatting=["list","list-"+Qe]),b(H)}else{if(Y&&H.indentation<=he&&(be=W.match(r,!0)))return H.quote=0,H.fencedEndRE=new RegExp(be[1]+"+ *$"),H.localMode=v.fencedCodeBlockHighlighting&&w(be[2]||v.fencedCodeBlockDefaultMode),H.localMode&&(H.localState=d.startState(H.localMode)),H.f=H.block=T,v.highlightFormatting&&(H.formatting="code-block"),H.code=-1,b(H);if(H.setext||(!pe||!J)&&!H.quote&&H.list===!1&&!H.code&&!we&&!u.test(W.string)&&(be=W.lookAhead(1))&&(be=be.match(n)))return H.setext?(H.header=H.setext,H.setext=0,W.skipToEnd(),v.highlightFormatting&&(H.formatting="header")):(H.header=be[0].charAt(0)=="="?1:2,H.setext=H.header),H.thisLine.header=!0,H.f=H.inline,b(H);if(we)return W.skipToEnd(),H.hr=!0,H.thisLine.hr=!0,f.hr;if(W.peek()==="[")return p(W,H,B)}return p(W,H,H.inline)}function O(W,H){var Y=m.token(W,H.htmlState);if(!y){var Q=d.innerMode(m,H.htmlState);(Q.mode.name=="xml"&&Q.state.tagStart===null&&!Q.state.context&&Q.state.tokenize.isInText||H.md_inside&&W.current().indexOf(">")>-1)&&(H.f=N,H.block=E,H.htmlState=null)}return Y}function T(W,H){var Y=H.listStack[H.listStack.length-1]||0,Q=H.indentation<Y,P=Y+3;if(H.fencedEndRE&&H.indentation<=P&&(Q||W.match(H.fencedEndRE))){v.highlightFormatting&&(H.formatting="code-block");var G;return Q||(G=b(H)),H.localMode=H.localState=null,H.block=E,H.f=N,H.fencedEndRE=null,H.code=0,H.thisLine.fencedCodeEnd=!0,Q?A(W,H,H.block):G}else return H.localMode?H.localMode.token(W,H.localState):(W.skipToEnd(),f.code)}function b(W){var H=[];if(W.formatting){H.push(f.formatting),typeof W.formatting=="string"&&(W.formatting=[W.formatting]);for(var Y=0;Y<W.formatting.length;Y++)H.push(f.formatting+"-"+W.formatting[Y]),W.formatting[Y]==="header"&&H.push(f.formatting+"-"+W.formatting[Y]+"-"+W.header),W.formatting[Y]==="quote"&&(!v.maxBlockquoteDepth||v.maxBlockquoteDepth>=W.quote?H.push(f.formatting+"-"+W.formatting[Y]+"-"+W.quote):H.push("error"))}if(W.taskOpen)return H.push("meta"),H.length?H.join(" "):null;if(W.taskClosed)return H.push("property"),H.length?H.join(" "):null;if(W.linkHref?H.push(f.linkHref,"url"):(W.strong&&H.push(f.strong),W.em&&H.push(f.em),W.strikethrough&&H.push(f.strikethrough),W.emoji&&H.push(f.emoji),W.linkText&&H.push(f.linkText),W.code&&H.push(f.code),W.image&&H.push(f.image),W.imageAltText&&H.push(f.imageAltText,"link"),W.imageMarker&&H.push(f.imageMarker)),W.header&&H.push(f.header,f.header+"-"+W.header),W.quote&&(H.push(f.quote),!v.maxBlockquoteDepth||v.maxBlockquoteDepth>=W.quote?H.push(f.quote+"-"+W.quote):H.push(f.quote+"-"+v.maxBlockquoteDepth)),W.list!==!1){var Q=(W.listStack.length-1)%3;Q?Q===1?H.push(f.list2):H.push(f.list3):H.push(f.list1)}return W.trailingSpaceNewLine?H.push("trailing-space-new-line"):W.trailingSpace&&H.push("trailing-space-"+(W.trailingSpace%2?"a":"b")),H.length?H.join(" "):null}function x(W,H){return W.match(c,!0)?b(H):void 0}function N(W,H){var Y=H.text(W,H);if(typeof Y!="undefined")return Y;if(H.list)return H.list=null,b(H);if(H.taskList){var Q=W.match(s,!0)[1]===" ";return Q?H.taskOpen=!0:H.taskClosed=!0,v.highlightFormatting&&(H.formatting="task"),H.taskList=!1,b(H)}if(H.taskOpen=!1,H.taskClosed=!1,H.header&&W.match(/^#+$/,!0))return v.highlightFormatting&&(H.formatting="header"),b(H);var P=W.next();if(H.linkTitle){H.linkTitle=!1;var G=P;P==="("&&(G=")"),G=(G+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var J="^\\s*(?:[^"+G+"\\\\]+|\\\\\\\\|\\\\.)"+G;if(W.match(new RegExp(J),!0))return f.linkHref}if(P==="`"){var he=H.formatting;v.highlightFormatting&&(H.formatting="code"),W.eatWhile("`");var te=W.current().length;if(H.code==0&&(!H.quote||te==1))return H.code=te,b(H);if(te==H.code){var pe=b(H);return H.code=0,pe}else return H.formatting=he,b(H)}else if(H.code)return b(H);if(P==="\\"&&(W.next(),v.highlightFormatting)){var we=b(H),be=f.formatting+"-escape";return we?we+" "+be:be}if(P==="!"&&W.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return H.imageMarker=!0,H.image=!0,v.highlightFormatting&&(H.formatting="image"),b(H);if(P==="["&&H.imageMarker&&W.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return H.imageMarker=!1,H.imageAltText=!0,v.highlightFormatting&&(H.formatting="image"),b(H);if(P==="]"&&H.imageAltText){v.highlightFormatting&&(H.formatting="image");var we=b(H);return H.imageAltText=!1,H.image=!1,H.inline=H.f=M,we}if(P==="["&&!H.image)return H.linkText&&W.match(/^.*?\]/)||(H.linkText=!0,v.highlightFormatting&&(H.formatting="link")),b(H);if(P==="]"&&H.linkText){v.highlightFormatting&&(H.formatting="link");var we=b(H);return H.linkText=!1,H.inline=H.f=W.match(/\(.*?\)| ?\[.*?\]/,!1)?M:N,we}if(P==="<"&&W.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=D,v.highlightFormatting&&(H.formatting="link");var we=b(H);return we?we+=" ":we="",we+f.linkInline}if(P==="<"&&W.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=D,v.highlightFormatting&&(H.formatting="link");var we=b(H);return we?we+=" ":we="",we+f.linkEmail}if(v.xml&&P==="<"&&W.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Qe=W.string.indexOf(">",W.pos);if(Qe!=-1){var $e=W.string.substring(W.start,Qe);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test($e)&&(H.md_inside=!0)}return W.backUp(1),H.htmlState=d.startState(m),A(W,H,O)}if(v.xml&&P==="<"&&W.match(/^\/\w*?>/))return H.md_inside=!1,"tag";if(P==="*"||P==="_"){for(var yt=1,Fe=W.pos==1?" ":W.string.charAt(W.pos-2);yt<3&&W.eat(P);)yt++;var Pe=W.peek()||" ",gt=!/\s/.test(Pe)&&(!i.test(Pe)||/\s/.test(Fe)||i.test(Fe)),it=!/\s/.test(Fe)&&(!i.test(Fe)||/\s/.test(Pe)||i.test(Pe)),qe=null,At=null;if(yt%2&&(!H.em&>&&(P==="*"||!it||i.test(Fe))?qe=!0:H.em==P&&it&&(P==="*"||!gt||i.test(Pe))&&(qe=!1)),yt>1&&(!H.strong&>&&(P==="*"||!it||i.test(Fe))?At=!0:H.strong==P&&it&&(P==="*"||!gt||i.test(Pe))&&(At=!1)),At!=null||qe!=null){v.highlightFormatting&&(H.formatting=qe==null?"strong":At==null?"em":"strong em"),qe===!0&&(H.em=P),At===!0&&(H.strong=P);var pe=b(H);return qe===!1&&(H.em=!1),At===!1&&(H.strong=!1),pe}}else if(P===" "&&(W.eat("*")||W.eat("_"))){if(W.peek()===" ")return b(H);W.backUp(1)}if(v.strikethrough){if(P==="~"&&W.eatWhile(P)){if(H.strikethrough){v.highlightFormatting&&(H.formatting="strikethrough");var pe=b(H);return H.strikethrough=!1,pe}else if(W.match(/^[^\s]/,!1))return H.strikethrough=!0,v.highlightFormatting&&(H.formatting="strikethrough"),b(H)}else if(P===" "&&W.match(/^~~/,!0)){if(W.peek()===" ")return b(H);W.backUp(2)}}if(v.emoji&&P===":"&&W.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){H.emoji=!0,v.highlightFormatting&&(H.formatting="emoji");var dt=b(H);return H.emoji=!1,dt}return P===" "&&(W.match(/^ +$/,!1)?H.trailingSpace++:H.trailingSpace&&(H.trailingSpaceNewLine=!0)),b(H)}function D(W,H){var Y=W.next();if(Y===">"){H.f=H.inline=N,v.highlightFormatting&&(H.formatting="link");var Q=b(H);return Q?Q+=" ":Q="",Q+f.linkInline}return W.match(/^[^>]+/,!0),f.linkInline}function M(W,H){if(W.eatSpace())return null;var Y=W.next();return Y==="("||Y==="["?(H.f=H.inline=F(Y==="("?")":"]"),v.highlightFormatting&&(H.formatting="link-string"),H.linkHref=!0,b(H)):"error"}var R={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function F(W){return function(H,Y){var Q=H.next();if(Q===W){Y.f=Y.inline=N,v.highlightFormatting&&(Y.formatting="link-string");var P=b(Y);return Y.linkHref=!1,P}return H.match(R[W]),Y.linkHref=!0,b(Y)}}function B(W,H){return W.match(/^([^\]\\]|\\.)*\]:/,!1)?(H.f=z,W.next(),v.highlightFormatting&&(H.formatting="link"),H.linkText=!0,b(H)):p(W,H,N)}function z(W,H){if(W.match(/^\]:/,!0)){H.f=H.inline=U,v.highlightFormatting&&(H.formatting="link");var Y=b(H);return H.linkText=!1,Y}return W.match(/^([^\]\\]|\\.)+/,!0),f.linkText}function U(W,H){return W.eatSpace()?null:(W.match(/^[^\s]+/,!0),W.peek()===void 0?H.linkTitle=!0:W.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),H.f=H.inline=N,f.linkHref+" url")}var K={startState:function(){return{f:E,prevLine:{stream:null},thisLine:{stream:null},block:E,htmlState:null,indentation:0,inline:N,text:x,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(H){return{f:H.f,prevLine:H.prevLine,thisLine:H.thisLine,block:H.block,htmlState:H.htmlState&&d.copyState(m,H.htmlState),indentation:H.indentation,localMode:H.localMode,localState:H.localMode?d.copyState(H.localMode,H.localState):null,inline:H.inline,text:H.text,formatting:!1,linkText:H.linkText,linkTitle:H.linkTitle,linkHref:H.linkHref,code:H.code,em:H.em,strong:H.strong,strikethrough:H.strikethrough,emoji:H.emoji,header:H.header,setext:H.setext,hr:H.hr,taskList:H.taskList,list:H.list,listStack:H.listStack.slice(0),quote:H.quote,indentedCode:H.indentedCode,trailingSpace:H.trailingSpace,trailingSpaceNewLine:H.trailingSpaceNewLine,md_inside:H.md_inside,fencedEndRE:H.fencedEndRE}},token:function(H,Y){if(Y.formatting=!1,H!=Y.thisLine.stream){if(Y.header=0,Y.hr=!1,H.match(/^\s*$/,!0))return S(Y),null;if(Y.prevLine=Y.thisLine,Y.thisLine={stream:H},Y.taskList=!1,Y.trailingSpace=0,Y.trailingSpaceNewLine=!1,!Y.localState&&(Y.f=Y.block,Y.f!=O)){var Q=H.match(/^\s*/,!0)[0].replace(/\t/g,h).length;if(Y.indentation=Q,Y.indentationDiff=null,Q>0)return null}}return Y.f(H,Y)},innerMode:function(H){return H.block==O?{state:H.htmlState,mode:m}:H.localState?{state:H.localState,mode:H.localMode}:{state:H,mode:K}},indent:function(H,Y,Q){return H.block==O&&m.indent?m.indent(H.htmlState,Y,Q):H.localState&&H.localMode.indent?H.localMode.indent(H.localState,Y,Q):d.Pass},blankLine:S,getType:b,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return K},"xml"),d.defineMIME("text/markdown","markdown"),d.defineMIME("text/x-markdown","markdown")})},"96pR":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=Object.assign||function(u){for(var i=1;i<arguments.length;i++){var h=arguments[i];for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(u[p]=h[p])}return u},L=function(){function u(i,h){for(var p=0;p<h.length;p++){var A=h[p];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(i,A.key,A)}}return function(i,h,p){return h&&u(i.prototype,h),p&&u(i,p),i}}(),v=e("ZZRV"),m=s(v),y=e("EH+i"),w=s(y),f=e("8SUr"),a=s(f),t=e("bCfE"),o=e("b5Jo");function s(u){return u&&u.__esModule?u:{default:u}}function l(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}function n(u,i){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:u}function c(u,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);u.prototype=Object.create(i&&i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(u,i):u.__proto__=i)}var r=function(u){c(i,u);function i(h){l(this,i);var p=n(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,h));return p.getEchartsInstance=function(){return p.echartsLib.getInstanceByDom(p.echartsElement)||p.echartsLib.init(p.echartsElement,p.props.theme,p.props.opts)},p.dispose=function(){if(p.echartsElement){try{(0,t.clear)(p.echartsElement)}catch(A){console.warn(A)}p.echartsLib.dispose(p.echartsElement)}},p.rerender=function(){var A=p.props,C=A.onEvents,S=A.onChartReady,E=p.renderEchartDom();p.bindEvents(E,C||{}),typeof S=="function"&&p.props.onChartReady(E),p.echartsElement&&(0,t.bind)(p.echartsElement,function(){try{E.resize()}catch(O){console.warn(O)}})},p.bindEvents=function(A,C){var S=function(T,b){typeof T=="string"&&typeof b=="function"&&A.on(T,function(x){b(x,A)})};for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&S(E,C[E])},p.renderEchartDom=function(){var A=p.getEchartsInstance();return A.setOption(p.props.option,p.props.notMerge||!1,p.props.lazyUpdate||!1),p.props.showLoading?A.showLoading(p.props.loadingOption||null):A.hideLoading(),A},p.echartsLib=h.echarts,p.echartsElement=null,p}return L(i,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(p){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(p,this.props))return;if(!(0,a.default)(p.theme,this.props.theme)||!(0,a.default)(p.opts,this.props.opts)||!(0,a.default)(p.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var A=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,a.default)((0,o.pick)(this.props,A),(0,o.pick)(p,A)))return;var C=this.renderEchartDom();if(!(0,a.default)(p.style,this.props.style)||!(0,a.default)(p.className,this.props.className))try{C.resize()}catch(S){console.warn(S)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var p=this,A=this.props,C=A.style,S=A.className,E=d({height:300},C);return m.default.createElement("div",{ref:function(T){p.echartsElement=T},style:E,className:"echarts-for-react "+S})}}]),i}(v.Component);_.default=r,r.propTypes={option:w.default.object.isRequired,echarts:w.default.object,notMerge:w.default.bool,lazyUpdate:w.default.bool,style:w.default.object,className:w.default.string,theme:w.default.oneOfType([w.default.string,w.default.object]),onChartReady:w.default.func,showLoading:w.default.bool,loadingOption:w.default.object,onEvents:w.default.object,opts:w.default.shape({devicePixelRatio:w.default.number,renderer:w.default.oneOf(["canvas","svg"]),width:w.default.oneOfType([w.default.number,w.default.oneOf([null,void 0,"auto"])]),height:w.default.oneOfType([w.default.number,w.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:w.default.func},r.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},"9ELI":function(Z,_){var e=Math.log(2);function d(v,m,y,w,f,a){var t=w+"-"+f,o=v.length;if(a.hasOwnProperty(t))return a[t];if(m===1){var s=Math.round(Math.log((1<<o)-1&~f)/e);return v[y][s]}for(var l=w|1<<y,n=y+1;w&1<<n;)n++;for(var c=0,r=0,u=0;r<o;r++){var i=1<<r;i&f||(c+=(u%2?-1:1)*v[y][r]*d(v,m-1,n,l,f|i,a),u++)}return a[t]=c,c}function L(v,m){var y=[[v[0],v[1],1,0,0,0,-m[0]*v[0],-m[0]*v[1]],[0,0,0,v[0],v[1],1,-m[1]*v[0],-m[1]*v[1]],[v[2],v[3],1,0,0,0,-m[2]*v[2],-m[2]*v[3]],[0,0,0,v[2],v[3],1,-m[3]*v[2],-m[3]*v[3]],[v[4],v[5],1,0,0,0,-m[4]*v[4],-m[4]*v[5]],[0,0,0,v[4],v[5],1,-m[5]*v[4],-m[5]*v[5]],[v[6],v[7],1,0,0,0,-m[6]*v[6],-m[6]*v[7]],[0,0,0,v[6],v[7],1,-m[7]*v[6],-m[7]*v[7]]],w={},f=d(y,8,0,0,0,w);if(f===0)return;for(var a=[],t=0;t<8;t++)for(var o=0;o<8;o++)a[o]==null&&(a[o]=0),a[o]+=((t+o)%2?-1:1)*d(y,7,t===0?1:0,1<<t,1<<o,w)/f*m[t];return function(s,l,n){var c=l*a[6]+n*a[7]+1;s[0]=(l*a[0]+n*a[1]+a[2])/c,s[1]=(l*a[3]+n*a[4]+a[5])/c}}_.buildTransformer=L},"9Kwb":function(Z,_,e){var d=e("gXXb"),L=e("asMo"),v=e("y9yD"),m=e("eTqi"),y=e("HtJV"),w=e("iz/G"),f=e("Gv+9"),a=e("tuRO"),t=1,o="[object Arguments]",s="[object Array]",l="[object Object]",n=Object.prototype,c=n.hasOwnProperty;function r(u,i,h,p,A,C){var S=w(u),E=w(i),O=S?s:y(u),T=E?s:y(i);O=O==o?l:O,T=T==o?l:T;var b=O==l,x=T==l,N=O==T;if(N&&f(u)){if(!f(i))return!1;S=!0,b=!1}if(N&&!b)return C||(C=new d),S||a(u)?L(u,i,h,p,A,C):v(u,i,O,h,p,A,C);if(!(h&t)){var D=b&&c.call(u,"__wrapped__"),M=x&&c.call(i,"__wrapped__");if(D||M){var R=D?u.value():u,F=M?i.value():i;return C||(C=new d),A(R,F,h,p,C)}}return N?(C||(C=new d),m(u,i,h,p,A,C)):!1}Z.exports=r},"9LFT":function(Z,_,e){var d=e("Q6Bq");e("xTec"),e("cN0B"),e("MR2Q");var L=e("QewF"),v=e("Ju7t");d.registerProcessor(d.PRIORITY.PROCESSOR.SERIES_FILTER,L),v.registerSubTypeDefaulter("legend",function(){return"plain"})},"9OCn":function(Z,_,e){var d=e("oEo5"),L=e("Jjzi"),v=L.parsePercent,m=e("7/O9"),y=m.isDimensionStacked,w=e("teHm"),f="__ec_stack_",a=.5,t=typeof Float32Array!="undefined"?Float32Array:Array;function o(E){return E.get("stack")||f+E.seriesIndex}function s(E){return E.dim+E.index}function l(E){var O=[],T=E.axis,b="axis0";if(T.type!=="category")return;for(var x=T.getBandWidth(),N=0;N<E.count||0;N++)O.push(d.defaults({bandWidth:x,axisKey:b,stackId:f+N},E));for(var D=u(O),M=[],N=0;N<E.count;N++){var R=D[b][f+N];R.offsetCenter=R.offset+R.width/2,M.push(R)}return M}function n(E,O){var T=[];return O.eachSeriesByType(E,function(b){A(b)&&!C(b)&&T.push(b)}),T}function c(E){var O={};d.each(E,function(R){var F=R.coordinateSystem,B=F.getBaseAxis();if(B.type!=="time"&&B.type!=="value")return;for(var z=R.getData(),U=B.dim+"_"+B.index,K=z.mapDimension(B.dim),W=0,H=z.count();W<H;++W){var Y=z.get(K,W);O[U]?O[U].push(Y):O[U]=[Y]}});var T=[];for(var b in O)if(O.hasOwnProperty(b)){var x=O[b];if(x){x.sort(function(R,F){return R-F});for(var N=null,D=1;D<x.length;++D){var M=x[D]-x[D-1];M>0&&(N=N===null?M:Math.min(N,M))}T[b]=N}}return T}function r(E){var O=c(E),T=[];return d.each(E,function(b){var x=b.coordinateSystem,N=x.getBaseAxis(),D=N.getExtent(),M;if(N.type==="category")M=N.getBandWidth();else if(N.type==="value"||N.type==="time"){var R=N.dim+"_"+N.index,F=O[R],B=Math.abs(D[1]-D[0]),z=N.scale.getExtent(),U=Math.abs(z[1]-z[0]);M=F?B/U*F:B}else{var K=b.getData();M=Math.abs(D[1]-D[0])/K.count()}var W=v(b.get("barWidth"),M),H=v(b.get("barMaxWidth"),M),Y=v(b.get("barMinWidth")||1,M),Q=b.get("barGap"),P=b.get("barCategoryGap");T.push({bandWidth:M,barWidth:W,barMaxWidth:H,barMinWidth:Y,barGap:Q,barCategoryGap:P,axisKey:s(N),stackId:o(b)})}),u(T)}function u(E){var O={};d.each(E,function(b,x){var N=b.axisKey,D=b.bandWidth,M=O[N]||{bandWidth:D,remainedWidth:D,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},R=M.stacks;O[N]=M;var F=b.stackId;R[F]||M.autoWidthCount++,R[F]=R[F]||{width:0,maxWidth:0};var B=b.barWidth;B&&!R[F].width&&(R[F].width=B,B=Math.min(M.remainedWidth,B),M.remainedWidth-=B);var z=b.barMaxWidth;z&&(R[F].maxWidth=z);var U=b.barMinWidth;U&&(R[F].minWidth=U);var K=b.barGap;K!=null&&(M.gap=K);var W=b.barCategoryGap;W!=null&&(M.categoryGap=W)});var T={};return d.each(O,function(b,x){T[x]={};var N=b.stacks,D=b.bandWidth,M=v(b.categoryGap,D),R=v(b.gap,1),F=b.remainedWidth,B=b.autoWidthCount,z=(F-M)/(B+(B-1)*R);z=Math.max(z,0),d.each(N,function(H){var Y=H.maxWidth,Q=H.minWidth;if(H.width){var P=H.width;Y&&(P=Math.min(P,Y)),Q&&(P=Math.max(P,Q)),H.width=P,F-=P+R*P,B--}else{var P=z;Y&&Y<P&&(P=Math.min(Y,F)),Q&&Q>P&&(P=Q),P!==z&&(H.width=P,F-=P+R*P,B--)}}),z=(F-M)/(B+(B-1)*R),z=Math.max(z,0);var U=0,K;d.each(N,function(H,Y){H.width||(H.width=z),K=H,U+=H.width*(1+R)}),K&&(U-=K.width*R);var W=-U/2;d.each(N,function(H,Y){T[x][Y]=T[x][Y]||{bandWidth:D,offset:W,width:H.width},W+=H.width*(1+R)})}),T}function i(E,O,T){if(E&&O){var b=E[s(O)];return b!=null&&T!=null&&(b=b[o(T)]),b}}function h(E,O){var T=n(E,O),b=r(T),x={},N={};d.each(T,function(D){var M=D.getData(),R=D.coordinateSystem,F=R.getBaseAxis(),B=o(D),z=b[s(F)][B],U=z.offset,K=z.width,W=R.getOtherAxis(F),H=D.get("barMinHeight")||0;x[B]=x[B]||[],N[B]=N[B]||[],M.setLayout({bandWidth:z.bandWidth,offset:U,size:K});for(var Y=M.mapDimension(W.dim),Q=M.mapDimension(F.dim),P=y(M,Y),G=W.isHorizontal(),J=S(F,W,P),he=0,te=M.count();he<te;he++){var pe=M.get(Y,he),we=M.get(Q,he),be=pe>=0?"p":"n",Qe=J;P&&(x[B][we]||(x[B][we]={p:J,n:J}),Qe=x[B][we][be]);var $e,yt,Fe,Pe;if(G){var gt=R.dataToPoint([pe,we]);$e=Qe,yt=gt[1]+U,Fe=gt[0]-J,Pe=K,Math.abs(Fe)<H&&(Fe=(Fe<0?-1:1)*H),isNaN(Fe)||P&&(x[B][we][be]+=Fe)}else{var gt=R.dataToPoint([we,pe]);$e=gt[0]+U,yt=Qe,Fe=K,Pe=gt[1]-J,Math.abs(Pe)<H&&(Pe=(Pe<=0?-1:1)*H),isNaN(Pe)||P&&(x[B][we][be]+=Pe)}M.setItemLayout(he,{x:$e,y:yt,width:Fe,height:Pe})}},this)}var p={seriesType:"bar",plan:w(),reset:function(E){if(!A(E)||!C(E))return;var O=E.getData(),T=E.coordinateSystem,b=T.grid.getRect(),x=T.getBaseAxis(),N=T.getOtherAxis(x),D=O.mapDimension(N.dim),M=O.mapDimension(x.dim),R=N.isHorizontal(),F=R?0:1,B=i(r([E]),x,E).width;return B>a||(B=a),{progress:z};function z(U,K){for(var W=U.count,H=new t(W*2),Y=new t(W*2),Q=new t(W),P,G=[],J=[],he=0,te=0;(P=U.next())!=null;)J[F]=K.get(D,P),J[1-F]=K.get(M,P),G=T.dataToPoint(J,null,G),Y[he]=R?b.x+b.width:G[0],H[he++]=G[0],Y[he]=R?G[1]:b.y+b.height,H[he++]=G[1],Q[te++]=P;K.setLayout({largePoints:H,largeDataIndices:Q,largeBackgroundPoints:Y,barWidth:B,valueAxisStart:S(x,N,!1),backgroundStart:R?b.x:b.y,valueAxisHorizontal:R})}}};function A(E){return E.coordinateSystem&&E.coordinateSystem.type==="cartesian2d"}function C(E){return E.pipelineContext&&E.pipelineContext.large}function S(E,O,T){return O.toGlobalCoord(O.dataToCoord(O.type==="log"?1:0))}_.getLayoutOnAxis=l,_.prepareLayoutBarSeries=n,_.makeColumnLayout=r,_.retrieveColumnLayout=i,_.layout=h,_.largeLayout=p},"9QSx":function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("mY83"),m=e.n(v)},"9QT9":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};_.default=d},"9ZAX":function(Z,_,e){var d=e("Q6Bq"),L=e("dCOg");e("UDPO"),e("iPgp"),e("bYe/"),e("mCFr"),e("0Zcz"),d.registerPreprocessor(L)},"9cas":function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("eQBP"),m=e.n(v)},"9h9L":function(Z,_,e){var d=e("5sjV"),L=d.extend({type:"timeline"});Z.exports=L},"9iHE":function(Z,_,e){var d=e("9mCu"),L=e("oEo5");function v(w,f){d.call(this,w,f,["filter"],"__filter_in_use__","_shadowDom")}L.inherits(v,d),v.prototype.addWithoutUpdate=function(w,f){if(f&&m(f.style)){var a;if(f._shadowDom){a=f._shadowDom;var t=this.getDefs(!0);t.contains(f._shadowDom)||this.addDom(a)}else a=this.add(f);this.markUsed(f);var o=a.getAttribute("id");w.style.filter="url(#"+o+")"}},v.prototype.add=function(w){var f=this.createElement("filter");return w._shadowDomId=w._shadowDomId||this.nextId++,f.setAttribute("id","zr"+this._zrId+"-shadow-"+w._shadowDomId),this.updateDom(w,f),this.addDom(f),f},v.prototype.update=function(w,f){var a=f.style;if(m(a)){var t=this;d.prototype.update.call(this,f,function(){t.updateDom(f,f._shadowDom)})}else this.remove(w,f)},v.prototype.remove=function(w,f){f._shadowDomId!=null&&(this.removeDom(w),w.style.filter="")},v.prototype.updateDom=function(w,f){var a=f.getElementsByTagName("feDropShadow");a.length===0?a=this.createElement("feDropShadow"):a=a[0];var t=w.style,o=w.scale&&w.scale[0]||1,s=w.scale&&w.scale[1]||1,l,n,c,r;if(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)l=t.shadowOffsetX||0,n=t.shadowOffsetY||0,c=t.shadowBlur,r=t.shadowColor;else if(t.textShadowBlur)l=t.textShadowOffsetX||0,n=t.textShadowOffsetY||0,c=t.textShadowBlur,r=t.textShadowColor;else{this.removeDom(f,t);return}a.setAttribute("dx",l/o),a.setAttribute("dy",n/s),a.setAttribute("flood-color",r);var u=c/2/o,i=c/2/s,h=u+" "+i;a.setAttribute("stdDeviation",h),f.setAttribute("x","-100%"),f.setAttribute("y","-100%"),f.setAttribute("width",Math.ceil(c/2*200)+"%"),f.setAttribute("height",Math.ceil(c/2*200)+"%"),f.appendChild(a),w._shadowDom=f},v.prototype.markUsed=function(w){w._shadowDom&&d.prototype.markUsed.call(this,w._shadowDom)};function m(w){return w&&(w.shadowBlur||w.shadowOffsetX||w.shadowOffsetY||w.textShadowBlur||w.textShadowOffsetX||w.textShadowOffsetY)}var y=v;Z.exports=y},"9mCu":function(Z,_,e){var d=e("IT7P"),L=d.createElement,v=e("oEo5"),m=e("342z"),y=e("vOhS"),w=e("ode/"),f=e("wpu7"),a=f.path,t=f.image,o=f.text,s="0",l="1";function n(r,u,i,h,p){this._zrId=r,this._svgRoot=u,this._tagNames=typeof i=="string"?[i]:i,this._markLabel=h,this._domName=p||"_dom",this.nextId=0}n.prototype.createElement=L,n.prototype.getDefs=function(r){var u=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return i.length===0?r?(i=u.insertBefore(this.createElement("defs"),u.firstChild),i.contains||(i.contains=function(h){var p=i.children;if(!p)return!1;for(var A=p.length-1;A>=0;--A)if(p[A]===h)return!0;return!1}),i):null:i[0]},n.prototype.update=function(r,u){if(!r)return;var i=this.getDefs(!1);if(r[this._domName]&&i.contains(r[this._domName]))typeof u=="function"&&u(r);else{var h=this.add(r);h&&(r[this._domName]=h)}},n.prototype.addDom=function(r){var u=this.getDefs(!0);u.appendChild(r)},n.prototype.removeDom=function(r){var u=this.getDefs(!1);u&&r[this._domName]&&(u.removeChild(r[this._domName]),r[this._domName]=null)},n.prototype.getDoms=function(){var r=this.getDefs(!1);if(!r)return[];var u=[];return v.each(this._tagNames,function(i){var h=r.getElementsByTagName(i);u=u.concat([].slice.call(h))}),u},n.prototype.markAllUnused=function(){var r=this.getDoms(),u=this;v.each(r,function(i){i[u._markLabel]=s})},n.prototype.markUsed=function(r){r&&(r[this._markLabel]=l)},n.prototype.removeUnused=function(){var r=this.getDefs(!1);if(!r)return;var u=this.getDoms(),i=this;v.each(u,function(h){h[i._markLabel]!==l&&r.removeChild(h)})},n.prototype.getSvgProxy=function(r){return r instanceof m?a:r instanceof y?t:r instanceof w?o:a},n.prototype.getTextSvgElement=function(r){return r.__textSvgEl},n.prototype.getSvgElement=function(r){return r.__svgEl};var c=n;Z.exports=c},"9oT9":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("YjsL"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},"9rdS":function(Z,_,e){"use strict";e.d(_,"a",function(){return F});var d=e("Eqs+"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("XDlA"),w=e.n(y),f=e("T5E4"),a=e.n(f),t=e("XneU"),o=e.n(t),s=e("Hdxz"),l=e.n(s),n=e("ZZRV"),c=e("HOv7"),r=e("iczh"),u=e.n(r),i=e("3CTf"),h=Object(n.createContext)({inlineCollapsed:!1}),p=h,A=e("nSZG"),C=function(B){o()(U,B);var z=l()(U);function U(){return w()(this,U),z.apply(this,arguments)}return a()(U,[{key:"renderTitle",value:function(W){var H=this.props,Y=H.icon,Q=H.title,P=H.level,G=H.rootPrefixCls;if(!Y)return W&&P===1&&Q&&typeof Q=="string"?n.createElement("div",{className:"".concat(G,"-inline-collapsed-noicon")},Q.charAt(0)):Q;var J=Object(A.b)(Q)&&Q.type==="span";return n.createElement(n.Fragment,null,Y,J?Q:n.createElement("span",null,Q))}},{key:"render",value:function(){var W=this,H=this.props,Y=H.rootPrefixCls,Q=H.popupClassName;return n.createElement(p.Consumer,null,function(P){var G=P.inlineCollapsed,J=P.antdMenuTheme;return n.createElement(c.e,L()({},Object(i.default)(W.props,["icon"]),{title:W.renderTitle(G),popupClassName:u()(Y,"".concat(Y,"-").concat(J),Q)}))})}}]),U}(n.Component);C.contextType=p,C.isSubMenu=1;var S=C,E=e("7AgF"),O=e("NiCL"),T=e("z5Qn"),b=function(B,z){var U={};for(var K in B)Object.prototype.hasOwnProperty.call(B,K)&&z.indexOf(K)<0&&(U[K]=B[K]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,K=Object.getOwnPropertySymbols(B);W<K.length;W++)z.indexOf(K[W])<0&&Object.prototype.propertyIsEnumerable.call(B,K[W])&&(U[K[W]]=B[K[W]]);return U},x=function(B){o()(U,B);var z=l()(U);function U(){var K;return w()(this,U),K=z.apply(this,arguments),K.renderItem=function(W){var H=W.siderCollapsed,Y=K.props,Q=Y.level,P=Y.className,G=Y.children,J=Y.rootPrefixCls,he=K.props,te=he.title,pe=he.icon,we=he.danger,be=b(he,["title","icon","danger"]);return n.createElement(p.Consumer,null,function(Qe){var $e,yt=Qe.inlineCollapsed,Fe=Qe.direction,Pe=te;typeof te=="undefined"?Pe=Q===1?G:"":te===!1&&(Pe="");var gt={title:Pe};!H&&!yt&&(gt.title=null,gt.visible=!1);var it=Object(E.a)(G).length;return n.createElement(O.a,L()({},gt,{placement:Fe==="rtl"?"left":"right",overlayClassName:"".concat(J,"-inline-collapsed-tooltip")}),n.createElement(c.b,L()({},be,{className:u()(P,($e={},m()($e,"".concat(J,"-item-danger"),we),m()($e,"".concat(J,"-item-only-child"),(pe?it+1:it)===1),$e)),title:te}),pe,K.renderItemChildren(yt)))})},K}return a()(U,[{key:"renderItemChildren",value:function(W){var H=this.props,Y=H.icon,Q=H.children,P=H.level,G=H.rootPrefixCls;return!Y||Object(A.b)(Q)&&Q.type==="span"?Q&&W&&P===1&&typeof Q=="string"?n.createElement("div",{className:"".concat(G,"-inline-collapsed-noicon")},Q.charAt(0)):Q:n.createElement("span",null,Q)}},{key:"render",value:function(){return n.createElement(T.a.Consumer,null,this.renderItem)}}]),U}(n.Component);x.isMenuItem=!0;var N=e("LpVx"),D=e("b5WB"),M=e("cXy+"),R=function(B){o()(U,B);var z=l()(U);function U(K){var W;return w()(this,U),W=z.call(this,K),W.renderMenu=function(H){var Y=H.getPopupContainer,Q=H.getPrefixCls,P=H.direction,G=W.props,J=G.prefixCls,he=G.className,te=G.theme,pe={horizontal:{motionName:"slide-up"},inline:M.a,other:{motionName:"zoom-big"}},we=Q("menu",J),be=u()(he,"".concat(we,"-").concat(te),m()({},"".concat(we,"-inline-collapsed"),W.getInlineCollapsed()));return n.createElement(p.Provider,{value:{inlineCollapsed:W.getInlineCollapsed()||!1,antdMenuTheme:te,direction:P}},n.createElement(c.f,L()({getPopupContainer:Y},W.props,{className:be,prefixCls:we,direction:P,defaultMotions:pe})))},Object(D.a)(!("inlineCollapsed"in K&&K.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(D.a)(!(K.siderCollapsed!==void 0&&"inlineCollapsed"in K),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),W}return a()(U,[{key:"getInlineCollapsed",value:function(){var W=this.props,H=W.inlineCollapsed,Y=W.siderCollapsed;return Y!==void 0?Y:H}},{key:"render",value:function(){return n.createElement(N.a,null,this.renderMenu)}}]),U}(n.Component);R.defaultProps={className:"",theme:"light",focusable:!1};var F=function(B){o()(U,B);var z=l()(U);function U(){return w()(this,U),z.apply(this,arguments)}return a()(U,[{key:"render",value:function(){var W=this;return n.createElement(T.a.Consumer,null,function(H){return n.createElement(R,L()({},W.props,H))})}}]),U}(n.Component);F.Divider=c.a,F.Item=x,F.SubMenu=S,F.ItemGroup=c.c},"A/ao":function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("4B7A"),m=e.n(v),y=e("bEBK"),w=e("DHCt")},A2sQ:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var d=e("PJ1B"),L=e("BF5W"),v=typeof ResizeObserver!="undefined"?L.createSensor:d.createSensor;_.createSensor=v},A3lm:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("kcRU"),m=e("+Vnd"),y=m.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(w,f){return v(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:Infinity}});Z.exports=y},A4b5:function(Z,_,e){var d=e("oEo5"),L=e("EgZf");function v(y,w,f){L.call(this,y,w,f),this.type="value",this.angle=0,this.name="",this.model}d.inherits(v,L);var m=v;Z.exports=m},AMOU:function(Z,_){var e=32,d=7,L=256;function v(s){for(var l=0;s>=e;)l|=s&1,s>>=1;return s+l}function m(s,l,n,c){var r=l+1;if(r===n)return 1;if(c(s[r++],s[l])<0){for(;r<n&&c(s[r],s[r-1])<0;)r++;y(s,l,r)}else for(;r<n&&c(s[r],s[r-1])>=0;)r++;return r-l}function y(s,l,n){for(n--;l<n;){var c=s[l];s[l++]=s[n],s[n--]=c}}function w(s,l,n,c,r){for(c===l&&c++;c<n;c++){for(var u=s[c],i=l,h=c,p;i<h;)p=i+h>>>1,r(u,s[p])<0?h=p:i=p+1;var A=c-i;switch(A){case 3:s[i+3]=s[i+2];case 2:s[i+2]=s[i+1];case 1:s[i+1]=s[i];break;default:for(;A>0;)s[i+A]=s[i+A-1],A--}s[i]=u}}function f(s,l,n,c,r,u){var i=0,h=0,p=1;if(u(s,l[n+r])>0){for(h=c-r;p<h&&u(s,l[n+r+p])>0;)i=p,p=(p<<1)+1,p<=0&&(p=h);p>h&&(p=h),i+=r,p+=r}else{for(h=r+1;p<h&&u(s,l[n+r-p])<=0;)i=p,p=(p<<1)+1,p<=0&&(p=h);p>h&&(p=h);var A=i;i=r-p,p=r-A}for(i++;i<p;){var C=i+(p-i>>>1);u(s,l[n+C])>0?i=C+1:p=C}return p}function a(s,l,n,c,r,u){var i=0,h=0,p=1;if(u(s,l[n+r])<0){for(h=r+1;p<h&&u(s,l[n+r-p])<0;)i=p,p=(p<<1)+1,p<=0&&(p=h);p>h&&(p=h);var A=i;i=r-p,p=r-A}else{for(h=c-r;p<h&&u(s,l[n+r+p])>=0;)i=p,p=(p<<1)+1,p<=0&&(p=h);p>h&&(p=h),i+=r,p+=r}for(i++;i<p;){var C=i+(p-i>>>1);u(s,l[n+C])<0?p=C:i=C+1}return p}function t(s,l){var n=d,c=0,r=L,u=0,i,h,p=0;c=s.length,c<2*L&&(r=c>>>1);var A=[];u=c<120?5:c<1542?10:c<119151?19:40,i=[],h=[];function C(x,N){i[p]=x,h[p]=N,p+=1}function S(){for(;p>1;){var x=p-2;if(x>=1&&h[x-1]<=h[x]+h[x+1]||x>=2&&h[x-2]<=h[x]+h[x-1])h[x-1]<h[x+1]&&x--;else if(h[x]>h[x+1])break;O(x)}}function E(){for(;p>1;){var x=p-2;x>0&&h[x-1]<h[x+1]&&x--,O(x)}}function O(x){var N=i[x],D=h[x],M=i[x+1],R=h[x+1];h[x]=D+R,x===p-3&&(i[x+1]=i[x+2],h[x+1]=h[x+2]),p--;var F=a(s[M],s,N,D,0,l);if(N+=F,D-=F,D===0)return;if(R=f(s[N+D-1],s,M,R,R-1,l),R===0)return;D<=R?T(N,D,M,R):b(N,D,M,R)}function T(x,N,D,M){var R=0;for(R=0;R<N;R++)A[R]=s[x+R];var F=0,B=D,z=x;if(s[z++]=s[B++],--M===0){for(R=0;R<N;R++)s[z+R]=A[F+R];return}if(N===1){for(R=0;R<M;R++)s[z+R]=s[B+R];s[z+M]=A[F];return}for(var U=n,K,W,H;;){K=0,W=0,H=!1;do if(l(s[B],A[F])<0){if(s[z++]=s[B++],W++,K=0,--M===0){H=!0;break}}else if(s[z++]=A[F++],K++,W=0,--N===1){H=!0;break}while((K|W)<U);if(H)break;do{if(K=a(s[B],A,F,N,0,l),K!==0){for(R=0;R<K;R++)s[z+R]=A[F+R];if(z+=K,F+=K,N-=K,N<=1){H=!0;break}}if(s[z++]=s[B++],--M===0){H=!0;break}if(W=f(A[F],s,B,M,0,l),W!==0){for(R=0;R<W;R++)s[z+R]=s[B+R];if(z+=W,B+=W,M-=W,M===0){H=!0;break}}if(s[z++]=A[F++],--N===1){H=!0;break}U--}while(K>=d||W>=d);if(H)break;U<0&&(U=0),U+=2}if(n=U,n<1&&(n=1),N===1){for(R=0;R<M;R++)s[z+R]=s[B+R];s[z+M]=A[F]}else{if(N===0)throw new Error;for(R=0;R<N;R++)s[z+R]=A[F+R]}}function b(x,N,D,M){var R=0;for(R=0;R<M;R++)A[R]=s[D+R];var F=x+N-1,B=M-1,z=D+M-1,U=0,K=0;if(s[z--]=s[F--],--N===0){for(U=z-(M-1),R=0;R<M;R++)s[U+R]=A[R];return}if(M===1){for(z-=N,F-=N,K=z+1,U=F+1,R=N-1;R>=0;R--)s[K+R]=s[U+R];s[z]=A[B];return}for(var W=n;;){var H=0,Y=0,Q=!1;do if(l(A[B],s[F])<0){if(s[z--]=s[F--],H++,Y=0,--N===0){Q=!0;break}}else if(s[z--]=A[B--],Y++,H=0,--M===1){Q=!0;break}while((H|Y)<W);if(Q)break;do{if(H=N-a(A[B],s,x,N,N-1,l),H!==0){for(z-=H,F-=H,N-=H,K=z+1,U=F+1,R=H-1;R>=0;R--)s[K+R]=s[U+R];if(N===0){Q=!0;break}}if(s[z--]=A[B--],--M===1){Q=!0;break}if(Y=M-f(s[F],A,0,M,M-1,l),Y!==0){for(z-=Y,B-=Y,M-=Y,K=z+1,U=B+1,R=0;R<Y;R++)s[K+R]=A[U+R];if(M<=1){Q=!0;break}}if(s[z--]=s[F--],--N===0){Q=!0;break}W--}while(H>=d||Y>=d);if(Q)break;W<0&&(W=0),W+=2}if(n=W,n<1&&(n=1),M===1){for(z-=N,F-=N,K=z+1,U=F+1,R=N-1;R>=0;R--)s[K+R]=s[U+R];s[z]=A[B]}else{if(M===0)throw new Error;for(U=z-(M-1),R=0;R<M;R++)s[U+R]=A[R]}}this.mergeRuns=S,this.forceMergeRuns=E,this.pushRun=C}function o(s,l,n,c){n||(n=0),c||(c=s.length);var r=c-n;if(r<2)return;var u=0;if(r<e){u=m(s,n,c,l),w(s,n,c,n+u,l);return}var i=new t(s,l),h=v(r);do{if(u=m(s,n,c,l),u<h){var p=r;p>h&&(p=h),w(s,n,n+p,n+u,l),u=p}i.pushRun(n,u),i.mergeRuns(),r-=u,n+=u}while(r!==0);i.forceMergeRuns()}Z.exports=o},AVV0:function(Z,_,e){"use strict";e.d(_,"a",function(){return y});var d=e("iA7W"),L=e("7ugm"),v=e("OEbR"),m=e("4pDk");function y(w){return Object(d.a)(w)||Object(L.a)(w)||Object(v.a)(w)||Object(m.a)()}},AWui:function(Z,_,e){var d=e("oEo5"),L=256;function v(){var y=d.createCanvas();this.canvas=y,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}v.prototype={update:function(y,w,f,a,t,o){var s=this._getBrush(),l=this._getGradient(y,t,"inRange"),n=this._getGradient(y,t,"outOfRange"),c=this.pointSize+this.blurSize,r=this.canvas,u=r.getContext("2d"),i=y.length;r.width=w,r.height=f;for(var h=0;h<i;++h){var p=y[h],A=p[0],C=p[1],S=p[2],E=a(S);u.globalAlpha=E,u.drawImage(s,A-c,C-c)}if(!r.width||!r.height)return r;for(var O=u.getImageData(0,0,r.width,r.height),T=O.data,b=0,x=T.length,N=this.minOpacity,D=this.maxOpacity,M=D-N;b<x;){var E=T[b+3]/256,R=Math.floor(E*(L-1))*4;if(E>0){var F=o(E)?l:n;E>0&&(E=E*M+N),T[b++]=F[R],T[b++]=F[R+1],T[b++]=F[R+2],T[b++]=F[R+3]*E*256}else b+=4}return u.putImageData(O,0,0),r},_getBrush:function(){var y=this._brushCanvas||(this._brushCanvas=d.createCanvas()),w=this.pointSize+this.blurSize,f=w*2;y.width=f,y.height=f;var a=y.getContext("2d");return a.clearRect(0,0,f,f),a.shadowOffsetX=f,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-w,w,this.pointSize,0,Math.PI*2,!0),a.closePath(),a.fill(),y},_getGradient:function(y,w,f){for(var a=this._gradientPixels,t=a[f]||(a[f]=new Uint8ClampedArray(256*4)),o=[0,0,0,0],s=0,l=0;l<256;l++)w[f](l/255,!0,o),t[s++]=o[0],t[s++]=o[1],t[s++]=o[2],t[s++]=o[3];return t}};var m=v;Z.exports=m},AaHE:function(Z,_,e){var d=e("oEo5"),L=e("ode/"),v=e("zYjg");function m(f,a,t,o){f[0]=t,f[1]=o,f[2]=f[0]/a.getWidth(),f[3]=f[1]/a.getHeight()}function y(f){var a=this._zr=f.getZr();this._styleCoord=[0,0,0,0],m(this._styleCoord,a,f.getWidth()/2,f.getHeight()/2),this._show=!1,this._hideTimeout}y.prototype={constructor:y,_enterable:!0,update:function(f){var a=f.get("alwaysShowContent");a&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var f=this._styleCoord[2],a=this._styleCoord[3],t=f*this._zr.getWidth(),o=a*this._zr.getHeight();this.moveTo(t,o)},show:function(f){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(f,a,t){this.el&&this._zr.remove(this.el);for(var o={},s=f,l="{marker",n="|}",c=s.indexOf(l);c>=0;){var r=s.indexOf(n),u=s.substr(c+l.length,r-c-l.length);u.indexOf("sub")>-1?o["marker"+u]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:a[u],textOffset:[3,0]}:o["marker"+u]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:a[u]},s=s.substr(r+1),c=s.indexOf("{marker")}var i=t.getModel("textStyle"),h=i.get("fontSize"),p=t.get("textLineHeight");p==null&&(p=Math.round(h*3/2)),this.el=new L({style:v.setTextStyle({},i,{rich:o,text:f,textBackgroundColor:t.get("backgroundColor"),textBorderRadius:t.get("borderRadius"),textFill:t.get("textStyle.color"),textPadding:t.get("padding"),textLineHeight:p}),z:t.get("z")}),this._zr.add(this.el);var A=this;this.el.on("mouseover",function(){A._enterable&&(clearTimeout(A._hideTimeout),A._show=!0),A._inContent=!0}),this.el.on("mouseout",function(){A._enterable&&(A._show&&A.hideLater(A._hideDelay)),A._inContent=!1})},setEnterable:function(f){this._enterable=f},getSize:function(){var f=this.el.getBoundingRect();return[f.width,f.height]},moveTo:function(f,a){if(this.el){var t=this._styleCoord;m(t,this._zr,f,a),this.el.attr("position",[t[0],t[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(f){this._show&&!(this._inContent&&this._enterable)&&(f?(this._hideDelay=f,this._show=!1,this._hideTimeout=setTimeout(d.bind(this.hide,this),f)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var f=this.getSize();return{width:f[0],height:f[1]}}};var w=y;Z.exports=w},AcPx:function(Z,_,e){},Aed0:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("u3hi"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},Afw4:function(Z,_,e){},AoPA:function(Z,_,e){"use strict";e.d(_,"b",function(){return o}),e.d(_,"a",function(){return s}),e.d(_,"k",function(){return l}),e.d(_,"h",function(){return n}),e.d(_,"i",function(){return c}),e.d(_,"g",function(){return r}),e.d(_,"c",function(){return u}),e.d(_,"d",function(){return i}),e.d(_,"j",function(){return A}),e.d(_,"e",function(){return C}),e.d(_,"f",function(){return S});var d=e("V0hb"),L=e("9/lZ"),v=e("buSX"),m=e("ZZRV"),y=e.n(m),w=e("nWwB"),f=e("I3N6"),a=.25,t=2;function o(E,O){var T=E.slice(),b=T.indexOf(O);return b>=0&&T.splice(b,1),T}function s(E,O){var T=E.slice();return T.indexOf(O)===-1&&T.push(O),T}function l(E){return E.split("-")}function n(E,O){return"".concat(E,"-").concat(O)}function c(E){return E&&E.type&&E.type.isTreeNode}function r(E,O){var T=[E],b=O[E];function x(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];N.forEach(function(D){var M=D.key,R=D.children;T.push(M),x(R)})}return x(b.children),T}function u(E,O){var T=E.clientY,b=O.selectHandle.getBoundingClientRect(),x=b.top,N=b.bottom,D=b.height,M=Math.max(D*a,t);return T<=x+M?-1:T>=N-M?1:0}function i(E,O){if(!E)return;var T=O.multiple;return T?E.slice():E.length?[E[0]]:E}var h=function(O){return O};function p(E,O){if(!E)return[];var T=O||{},b=T.processProps,x=b===void 0?h:b,N=Array.isArray(E)?E:[E];return N.map(function(D){var M=D.children,R=Object(v.a)(D,["children"]),F=p(M,O);return y.a.createElement(f.a,Object.assign({},x(R)),F)})}function A(E){if(!E)return null;var O;if(Array.isArray(E))O={checkedKeys:E,halfCheckedKeys:void 0};else if(Object(L.a)(E)==="object")O={checkedKeys:E.checked||void 0,halfCheckedKeys:E.halfChecked||void 0};else return Object(w.a)(!1,"`checkedKeys` is not an array or an object"),null;return O}function C(E,O){var T=new Set;function b(x){if(T.has(x))return;var N=O[x];if(!N)return;T.add(x);var D=N.parent,M=N.node;if(M.disabled)return;D&&b(D.key)}return(E||[]).forEach(function(x){b(x)}),Object(d.a)(T)}function S(E){var O={};return Object.keys(E).forEach(function(T){(T.startsWith("data-")||T.startsWith("aria-"))&&(O[T]=E[T])}),O}},ArUA:function(Z,_,e){var d=e("oEo5"),L=d.each,v=d.createHashMap,m=d.assert,y=e("IPcT"),w=y.__DEV__,f=v(["tooltip","label","itemName","itemId","seriesName"]);function a(l){var n={},c=n.encode={},r=v(),u=[],i=[],h=n.userOutput={dimensionNames:l.dimensions.slice(),encode:{}};L(l.dimensions,function(E){var O=l.getDimensionInfo(E),T=O.coordDim;if(T){var b=O.coordDimIndex;t(c,T)[b]=E,O.isExtraCoord||(r.set(T,1),s(O.type)&&(u[0]=E),t(h.encode,T)[b]=O.index),O.defaultTooltip&&i.push(E)}f.each(function(x,N){var D=t(c,N),M=O.otherDims[N];M!=null&&M!==!1&&(D[M]=O.name)})});var p=[],A={};r.each(function(E,O){var T=c[O];A[O]=T[0],p=p.concat(T)}),n.dataDimsOnCoord=p,n.encodeFirstDimNotExtra=A;var C=c.label;C&&C.length&&(u=C.slice());var S=c.tooltip;return S&&S.length?i=S.slice():i.length||(i=u.slice()),c.defaultedLabel=u,c.defaultedTooltip=i,n}function t(l,n){return l.hasOwnProperty(n)||(l[n]=[]),l[n]}function o(l){return l==="category"?"ordinal":l==="time"?"time":"float"}function s(l){return!(l==="ordinal"||l==="time")}_.OTHER_DIMENSIONS=f,_.summarizeDimensions=a,_.getDimensionTypeByAxis=o},At2B:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};_.default=d},Auwy:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("zYjg"),m=e("CQhY"),y=e("SSBM"),w=e("iCoW"),f=d.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(a,t){this.ecModel=a,this.api=t,this.visualMapModel},render:function(a,t,o,s){if(this.visualMapModel=a,a.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(a){var t=this.visualMapModel,o=m.normalizeCssArray(t.get("padding")||0),s=a.getBoundingRect();a.add(new v.Rect({z2:-1,silent:!0,shape:{x:s.x-o[3],y:s.y-o[0],width:s.width+o[3]+o[1],height:s.height+o[0]+o[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(a,t,o){o=o||{};var s=o.forceState,l=this.visualMapModel,n={};if(t==="symbol"&&(n.symbol=l.get("itemSymbol")),t==="color"){var c=l.get("contentColor");n.color=c}function r(p){return n[p]}function u(p,A){n[p]=A}var i=l.controllerVisuals[s||l.getValueState(a)],h=w.prepareVisualTypes(i);return L.each(h,function(p){var A=i[p];o.convertOpacityToAlpha&&p==="opacity"&&(p="colorAlpha",A=i.__alphaForOpacity),w.dependsOn(p,t)&&(A&&A.applyVisual(a,r,u))}),n[t]},positionGroup:function(a){var t=this.visualMapModel,o=this.api;y.positionElement(a,t.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()})},doRender:L.noop});Z.exports=f},AvRI:function(Z,_,e){var d=e("Q6Bq");e("4RZn"),e("xxVc"),d.registerPreprocessor(function(L){L.markArea=L.markArea||{}})},Az1A:function(Z,_,e){var d=e("diXd");_.Dispatcher=d;var L=e("gyjJ"),v=e("iNAA"),m=v.isCanvasEl,y=v.transformCoordWithViewport,w=typeof window!="undefined"&&!!window.addEventListener,f=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[];function t(h,p,A,C){return A=A||{},C||!L.canvasSupported?o(h,p,A):L.browser.firefox&&p.layerX!=null&&p.layerX!==p.offsetX?(A.zrX=p.layerX,A.zrY=p.layerY):p.offsetX!=null?(A.zrX=p.offsetX,A.zrY=p.offsetY):o(h,p,A),A}function o(h,p,A){if(L.domSupported&&h.getBoundingClientRect){var C=p.clientX,S=p.clientY;if(m(h)){var E=h.getBoundingClientRect();A.zrX=C-E.left,A.zrY=S-E.top;return}else if(y(a,h,C,S)){A.zrX=a[0],A.zrY=a[1];return}}A.zrX=A.zrY=0}function s(h){return h||window.event}function l(h,p,A){if(p=s(p),p.zrX!=null)return p;var C=p.type,S=C&&C.indexOf("touch")>=0;if(!S)t(h,p,p,A),p.zrDelta=p.wheelDelta?p.wheelDelta/120:-(p.detail||0)/3;else{var E=C!=="touchend"?p.targetTouches[0]:p.changedTouches[0];E&&t(h,E,p,A)}var O=p.button;return p.which==null&&O!==void 0&&f.test(p.type)&&(p.which=O&1?1:O&2?3:O&4?2:0),p}function n(h,p,A,C){w?h.addEventListener(p,A,C):h.attachEvent("on"+p,A)}function c(h,p,A,C){w?h.removeEventListener(p,A,C):h.detachEvent("on"+p,A)}var r=w?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 i(h){return h.which>1}_.clientToLocal=t,_.getNativeEvent=s,_.normalizeEvent=l,_.addEventListener=n,_.removeEventListener=c,_.stop=r,_.isMiddleOrRightButtonOnMouseUpDown=u,_.notLeftMouse=i},B0eU:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="QuestionCircleOutlined";var w=_.a=d.forwardRef(y)},B0nS:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CopyToClipboard=void 0;var d=v(e("ZZRV")),L=v(e("Dg8N"));function v(p){return p&&p.__esModule?p:{default:p}}function m(p){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(C){return typeof C}:m=function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},m(p)}function y(p,A){var C=Object.keys(p);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(p);A&&(S=S.filter(function(E){return Object.getOwnPropertyDescriptor(p,E).enumerable})),C.push.apply(C,S)}return C}function w(p){for(var A=1;A<arguments.length;A++){var C=arguments[A]!=null?arguments[A]:{};A%2?y(C,!0).forEach(function(S){i(p,S,C[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(C)):y(C).forEach(function(S){Object.defineProperty(p,S,Object.getOwnPropertyDescriptor(C,S))})}return p}function f(p,A){if(p==null)return{};var C=a(p,A),S,E;if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(p);for(E=0;E<O.length;E++){if(S=O[E],A.indexOf(S)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(p,S))continue;C[S]=p[S]}}return C}function a(p,A){if(p==null)return{};var C={},S=Object.keys(p),E,O;for(O=0;O<S.length;O++){if(E=S[O],A.indexOf(E)>=0)continue;C[E]=p[E]}return C}function t(p,A){if(!(p instanceof A))throw new TypeError("Cannot call a class as a function")}function o(p,A){for(var C=0;C<A.length;C++){var S=A[C];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(p,S.key,S)}}function s(p,A,C){return A&&o(p.prototype,A),C&&o(p,C),p}function l(p,A){return A&&(m(A)==="object"||typeof A=="function")?A:c(p)}function n(p){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(C){return C.__proto__||Object.getPrototypeOf(C)},n(p)}function c(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p}function r(p,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(A&&A.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),A&&u(p,A)}function u(p,A){return u=Object.setPrototypeOf||function(S,E){return S.__proto__=E,S},u(p,A)}function i(p,A,C){return A in p?Object.defineProperty(p,A,{value:C,enumerable:!0,configurable:!0,writable:!0}):p[A]=C,p}var h=function(p){r(A,p);function A(){var C,S;t(this,A);for(var E=arguments.length,O=new Array(E),T=0;T<E;T++)O[T]=arguments[T];return S=l(this,(C=n(A)).call.apply(C,[this].concat(O))),i(c(S),"onClick",function(b){var x=S.props,N=x.text,D=x.onCopy,M=x.children,R=x.options,F=d.default.Children.only(M),B=(0,L.default)(N,R);D&&D(N,B),F&&F.props&&typeof F.props.onClick=="function"&&F.props.onClick(b)}),S}return s(A,[{key:"render",value:function(){var S=this.props,E=S.text,O=S.onCopy,T=S.options,b=S.children,x=f(S,["text","onCopy","options","children"]),N=d.default.Children.only(b);return d.default.cloneElement(N,w({},x,{onClick:this.onClick}))}}]),A}(d.default.PureComponent);_.CopyToClipboard=h,i(h,"defaultProps",{onCopy:void 0,options:void 0})},B2QF:function(Z,_){var e={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};Z.exports=e},"BC2+":function(Z,_,e){var d=e("Q6Bq"),L=e("xCJu"),v=d.extendComponentView({type:"axisPointer",render:function(y,w,f){var a=w.getComponent("tooltip"),t=y.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";L.register("axisPointer",f,function(o,s,l){t!=="none"&&(o==="leave"||t.indexOf(o)>=0)&&l({type:"updateAxisPointer",currTrigger:o,x:s&&s.offsetX,y:s&&s.offsetY})})},remove:function(y,w){L.unregister(w.getZr(),"axisPointer"),v.superApply(this._model,"remove",arguments)},dispose:function(y,w){L.unregister("axisPointer",w),v.superApply(this._model,"dispose",arguments)}}),m=v;Z.exports=m},BEOQ:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("SSBM"),m=e("Jjzi"),y=m.parsePercent,w=m.linearMap;function f(s,l){return v.getLayoutRect(s.getBoxLayoutParams(),{width:l.getWidth(),height:l.getHeight()})}function a(s,l){for(var n=s.mapDimension("value"),c=s.mapArray(n,function(p){return p}),r=[],u=l==="ascending",i=0,h=s.count();i<h;i++)r[i]=i;return typeof l=="function"?r.sort(l):l!=="none"&&r.sort(function(p,A){return u?c[p]-c[A]:c[A]-c[p]}),r}function t(s){s.each(function(l){var n=s.getItemModel(l),c=n.getModel("label"),r=c.get("position"),u=n.get("orient"),i=n.getModel("labelLine"),h=s.getItemLayout(l),p=h.points,A=r==="inner"||r==="inside"||r==="center"||r==="insideLeft"||r==="insideRight",C,S,E,O;if(A)r==="insideLeft"?(S=(p[0][0]+p[3][0])/2+5,E=(p[0][1]+p[3][1])/2,C="left"):r==="insideRight"?(S=(p[1][0]+p[2][0])/2-5,E=(p[1][1]+p[2][1])/2,C="right"):(S=(p[0][0]+p[1][0]+p[2][0]+p[3][0])/4,E=(p[0][1]+p[1][1]+p[2][1]+p[3][1])/4,C="center"),O=[[S,E],[S,E]];else{var T,b,x,N,D=i.get("length");r==="left"?(T=(p[3][0]+p[0][0])/2,b=(p[3][1]+p[0][1])/2,x=T-D,S=x-5,C="right"):r==="right"?(T=(p[1][0]+p[2][0])/2,b=(p[1][1]+p[2][1])/2,x=T+D,S=x+5,C="left"):r==="top"?(T=(p[3][0]+p[0][0])/2,b=(p[3][1]+p[0][1])/2,N=b-D,E=N-5,C="center"):r==="bottom"?(T=(p[1][0]+p[2][0])/2,b=(p[1][1]+p[2][1])/2,N=b+D,E=N+5,C="center"):r==="rightTop"?(T=u==="horizontal"?p[3][0]:p[1][0],b=u==="horizontal"?p[3][1]:p[1][1],u==="horizontal"?(N=b-D,E=N-5,C="center"):(x=T+D,S=x+5,C="top")):r==="rightBottom"?(T=p[2][0],b=p[2][1],u==="horizontal"?(N=b+D,E=N+5,C="center"):(x=T+D,S=x+5,C="bottom")):r==="leftTop"?(T=p[0][0],b=u==="horizontal"?p[0][1]:p[1][1],u==="horizontal"?(N=b-D,E=N-5,C="center"):(x=T-D,S=x-5,C="right")):r==="leftBottom"?(T=u==="horizontal"?p[1][0]:p[3][0],b=u==="horizontal"?p[1][1]:p[2][1],u==="horizontal"?(N=b+D,E=N+5,C="center"):(x=T-D,S=x-5,C="right")):(T=(p[1][0]+p[2][0])/2,b=(p[1][1]+p[2][1])/2,u==="horizontal"?(N=b+D,E=N+5,C="center"):(x=T+D,S=x+5,C="left")),u==="horizontal"?(x=T,S=x):(N=b,E=N),O=[[T,b],[x,N]]}h.label={linePoints:O,x:S,y:E,verticalAlign:"middle",textAlign:C,inside:A}})}function o(s,l,n){s.eachSeriesByType("funnel",function(c){var r=c.getData(),u=r.mapDimension("value"),i=c.get("sort"),h=f(c,l),p=a(r,i),A=c.get("orient"),C=h.width,S=h.height,E=h.x,O=h.y,T=A==="horizontal"?[y(c.get("minSize"),S),y(c.get("maxSize"),S)]:[y(c.get("minSize"),C),y(c.get("maxSize"),C)],b=r.getDataExtent(u),x=c.get("min"),N=c.get("max");x==null&&(x=Math.min(b[0],0)),N==null&&(N=b[1]);var D=c.get("funnelAlign"),M=c.get("gap"),R=A==="horizontal"?C:S,F=(R-M*(r.count()-1))/r.count(),B=function(G,J){if(A==="horizontal"){var pe=r.get(u,G)||0,he=w(pe,[x,N],T,!0),te;switch(D){case"top":te=O;break;case"center":te=O+(S-he)/2;break;case"bottom":te=O+(S-he);break}return[[J,te],[J,te+he]]}var pe=r.get(u,G)||0,we=w(pe,[x,N],T,!0),be;switch(D){case"left":be=E;break;case"center":be=E+(C-we)/2;break;case"right":be=E+C-we;break}return[[be,J],[be+we,J]]};i==="ascending"&&(F=-F,M=-M,A==="horizontal"?E+=C:O+=S,p=p.reverse());for(var z=0;z<p.length;z++){var U=p[z],K=p[z+1],W=r.getItemModel(U);if(A==="horizontal"){var H=W.get("itemStyle.width");H==null?H=F:(H=y(H,C),i==="ascending"&&(H=-H));var Y=B(U,E),Q=B(K,E+H);E+=H+M,r.setItemLayout(U,{points:Y.concat(Q.slice().reverse())})}else{var P=W.get("itemStyle.height");P==null?P=F:(P=y(P,S),i==="ascending"&&(P=-P));var Y=A==="horizontal"?B(U,E):B(U,O),Q=A==="horizontal"?B(K,E+H):B(K,O+P);O+=P+M,r.setItemLayout(U,{points:Y.concat(Q.slice().reverse())})}}t(r)})}Z.exports=o},BEiB:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("3Sic"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},BF5W:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var d=L(e("5M8n"));function L(m){return m&&m.__esModule?m:{default:m}}var v=function(y){var w=void 0,f=[],a=(0,d.default)(function(){f.forEach(function(n){n(y)})}),t=function(){var c=new ResizeObserver(a);return c.observe(y),a(),c},o=function(c){w||(w=t()),f.indexOf(c)===-1&&f.push(c)},s=function(){w.disconnect(),f=[],w=void 0},l=function(c){var r=f.indexOf(c);r!==-1&&f.splice(r,1),f.length===0&&w&&s()};return{element:y,bind:o,destroy:s,unbind:l}};_.createSensor=v},BGny:function(Z,_,e){var d=e("6vYt"),L=d.prepareDataCoordInfo,v=d.getStackedOnPoint;function m(w,f){var a=[];return f.diff(w).add(function(t){a.push({cmd:"+",idx:t})}).update(function(t,o){a.push({cmd:"=",idx:o,idx1:t})}).remove(function(t){a.push({cmd:"-",idx:t})}).execute(),a}function y(w,f,a,t,o,s,l,n){for(var c=m(w,f),r=[],u=[],i=[],h=[],p=[],A=[],C=[],S=L(o,f,l),E=L(s,w,n),O=0;O<c.length;O++){var T=c[O],b=!0;switch(T.cmd){case"=":var x=w.getItemLayout(T.idx),N=f.getItemLayout(T.idx1);(isNaN(x[0])||isNaN(x[1]))&&(x=N.slice()),r.push(x),u.push(N),i.push(a[T.idx]),h.push(t[T.idx1]),C.push(f.getRawIndex(T.idx1));break;case"+":var D=T.idx;r.push(o.dataToPoint([f.get(S.dataDimsForPoint[0],D),f.get(S.dataDimsForPoint[1],D)])),u.push(f.getItemLayout(D).slice()),i.push(v(S,o,f,D)),h.push(t[D]),C.push(f.getRawIndex(D));break;case"-":var D=T.idx,M=w.getRawIndex(D);M!==D?(r.push(w.getItemLayout(D)),u.push(s.dataToPoint([w.get(E.dataDimsForPoint[0],D),w.get(E.dataDimsForPoint[1],D)])),i.push(a[D]),h.push(v(E,s,w,D)),C.push(M)):b=!1}b&&(p.push(T),A.push(A.length))}A.sort(function(K,W){return C[K]-C[W]});for(var R=[],F=[],B=[],z=[],U=[],O=0;O<A.length;O++){var D=A[O];R[O]=r[D],F[O]=u[D],B[O]=i[D],z[O]=h[D],U[O]=p[D]}return{current:R,next:F,stackedOnCurrent:B,stackedOnNext:z,status:U}}Z.exports=y},BJce:function(Z,_,e){},BLOe:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("TA7z")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="EyeOutlined";var f=v.forwardRef(w);_.default=f},BLvq:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};_.default=d},BQia:function(Z,_,e){var d=e("TmiR"),L=e("vOhS"),v=e("ode/"),m=e("a9RO"),y=e("7JZK"),w=e("rDo5"),f=e("tV39"),a=e("342z"),t=e("VOjM"),o=e("k++z"),s=e("I1OY"),l=e("75Ip"),n=e("4uqo"),c=e("8Bkq"),r=c.createFromString,u=e("oEo5"),i=u.isString,h=u.extend,p=u.defaults,A=u.trim,C=u.each,S=/[\s,]+/;function E(Q){if(i(Q)){var P=new DOMParser;Q=P.parseFromString(Q,"text/xml")}for(Q.nodeType===9&&(Q=Q.firstChild);Q.nodeName.toLowerCase()!=="svg"||Q.nodeType!==1;)Q=Q.nextSibling;return Q}function O(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}O.prototype.parse=function(Q,P){P=P||{};var G=E(Q);if(!G)throw new Error("Illegal svg");var J=new d;this._root=J;var he=G.getAttribute("viewBox")||"",te=parseFloat(G.getAttribute("width")||P.width),pe=parseFloat(G.getAttribute("height")||P.height);isNaN(te)&&(te=null),isNaN(pe)&&(pe=null),R(G,J,null,!0);for(var we=G.firstChild;we;)this._parseNode(we,J),we=we.nextSibling;var be,Qe;if(he){var $e=A(he).split(S);$e.length>=4&&(be={x:parseFloat($e[0]||0),y:parseFloat($e[1]||0),width:parseFloat($e[2]),height:parseFloat($e[3])})}if(be&&te!=null&&pe!=null&&(Qe=H(be,te,pe),!P.ignoreViewBox)){var yt=J;J=new d,J.add(yt),yt.scale=Qe.scale.slice(),yt.position=Qe.position.slice()}return!P.ignoreRootClip&&te!=null&&pe!=null&&J.setClipPath(new y({shape:{x:0,y:0,width:te,height:pe}})),{root:J,width:te,height:pe,viewBoxRect:be,viewBoxTransform:Qe}},O.prototype._parseNode=function(Q,P){var G=Q.nodeName.toLowerCase();G==="defs"?this._isDefine=!0:G==="text"&&(this._isText=!0);var J;if(this._isDefine){var he=b[G];if(he){var te=he.call(this,Q),pe=Q.getAttribute("id");pe&&(this._defs[pe]=te)}}else{var he=T[G];he&&(J=he.call(this,Q,P),P.add(J))}for(var we=Q.firstChild;we;)we.nodeType===1&&this._parseNode(we,J),we.nodeType===3&&this._isText&&this._parseText(we,J),we=we.nextSibling;G==="defs"?this._isDefine=!1:G==="text"&&(this._isText=!1)},O.prototype._parseText=function(Q,P){if(Q.nodeType===1){var G=Q.getAttribute("dx")||0,J=Q.getAttribute("dy")||0;this._textX+=parseFloat(G),this._textY+=parseFloat(J)}var he=new v({style:{text:Q.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});N(P,he),R(Q,he,this._defs);var te=he.style.fontSize;te&&te<9&&(he.style.fontSize=9,he.scale=he.scale||[1,1],he.scale[0]*=te/9,he.scale[1]*=te/9);var pe=he.getBoundingRect();return this._textX+=pe.width,P.add(he),he};var T={g:function(P,G){var J=new d;return N(G,J),R(P,J,this._defs),J},rect:function(P,G){var J=new y;return N(G,J),R(P,J,this._defs),J.setShape({x:parseFloat(P.getAttribute("x")||0),y:parseFloat(P.getAttribute("y")||0),width:parseFloat(P.getAttribute("width")||0),height:parseFloat(P.getAttribute("height")||0)}),J},circle:function(P,G){var J=new m;return N(G,J),R(P,J,this._defs),J.setShape({cx:parseFloat(P.getAttribute("cx")||0),cy:parseFloat(P.getAttribute("cy")||0),r:parseFloat(P.getAttribute("r")||0)}),J},line:function(P,G){var J=new f;return N(G,J),R(P,J,this._defs),J.setShape({x1:parseFloat(P.getAttribute("x1")||0),y1:parseFloat(P.getAttribute("y1")||0),x2:parseFloat(P.getAttribute("x2")||0),y2:parseFloat(P.getAttribute("y2")||0)}),J},ellipse:function(P,G){var J=new w;return N(G,J),R(P,J,this._defs),J.setShape({cx:parseFloat(P.getAttribute("cx")||0),cy:parseFloat(P.getAttribute("cy")||0),rx:parseFloat(P.getAttribute("rx")||0),ry:parseFloat(P.getAttribute("ry")||0)}),J},polygon:function(P,G){var J=P.getAttribute("points");J&&(J=D(J));var he=new t({shape:{points:J||[]}});return N(G,he),R(P,he,this._defs),he},polyline:function(P,G){var J=new a;N(G,J),R(P,J,this._defs);var he=P.getAttribute("points");he&&(he=D(he));var te=new o({shape:{points:he||[]}});return te},image:function(P,G){var J=new L;return N(G,J),R(P,J,this._defs),J.setStyle({image:P.getAttribute("xlink:href"),x:P.getAttribute("x"),y:P.getAttribute("y"),width:P.getAttribute("width"),height:P.getAttribute("height")}),J},text:function(P,G){var J=P.getAttribute("x")||0,he=P.getAttribute("y")||0,te=P.getAttribute("dx")||0,pe=P.getAttribute("dy")||0;this._textX=parseFloat(J)+parseFloat(te),this._textY=parseFloat(he)+parseFloat(pe);var we=new d;return N(G,we),R(P,we,this._defs),we},tspan:function(P,G){var J=P.getAttribute("x"),he=P.getAttribute("y");J!=null&&(this._textX=parseFloat(J)),he!=null&&(this._textY=parseFloat(he));var te=P.getAttribute("dx")||0,pe=P.getAttribute("dy")||0,we=new d;return N(G,we),R(P,we,this._defs),this._textX+=te,this._textY+=pe,we},path:function(P,G){var J=P.getAttribute("d")||"",he=r(J);return N(G,he),R(P,he,this._defs),he}},b={lineargradient:function(P){var G=parseInt(P.getAttribute("x1")||0,10),J=parseInt(P.getAttribute("y1")||0,10),he=parseInt(P.getAttribute("x2")||10,10),te=parseInt(P.getAttribute("y2")||0,10),pe=new s(G,J,he,te);return x(P,pe),pe},radialgradient:function(P){}};function x(Q,P){for(var G=Q.firstChild;G;){if(G.nodeType===1){var J=G.getAttribute("offset");J.indexOf("%")>0?J=parseInt(J,10)/100:J?J=parseFloat(J):J=0;var he=G.getAttribute("stop-color")||"#000000";P.addColorStop(J,he)}G=G.nextSibling}}function N(Q,P){Q&&Q.__inheritedStyle&&(P.__inheritedStyle||(P.__inheritedStyle={}),p(P.__inheritedStyle,Q.__inheritedStyle))}function D(Q){for(var P=A(Q).split(S),G=[],J=0;J<P.length;J+=2){var he=parseFloat(P[J]),te=parseFloat(P[J+1]);G.push([he,te])}return G}var M={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function R(Q,P,G,J){var he=P.__inheritedStyle||{},te=P.type==="text";if(Q.nodeType===1&&(U(Q,P),h(he,W(Q)),!J)){for(var pe in M)if(M.hasOwnProperty(pe)){var we=Q.getAttribute(pe);we!=null&&(he[M[pe]]=we)}}var be=te?"textFill":"fill",Qe=te?"textStroke":"stroke";P.style=P.style||new l;var $e=P.style;he.fill!=null&&$e.set(be,B(he.fill,G)),he.stroke!=null&&$e.set(Qe,B(he.stroke,G)),C(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(yt){var Fe=yt==="lineWidth"&&te?"textStrokeWidth":yt;he[yt]!=null&&$e.set(Fe,parseFloat(he[yt]))}),(!he.textBaseline||he.textBaseline==="auto")&&(he.textBaseline="alphabetic"),he.textBaseline==="alphabetic"&&(he.textBaseline="bottom"),he.textAlign==="start"&&(he.textAlign="left"),he.textAlign==="end"&&(he.textAlign="right"),C(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(yt){he[yt]!=null&&$e.set(yt,he[yt])}),he.lineDash&&(P.style.lineDash=A(he.lineDash).split(S)),$e[Qe]&&$e[Qe]!=="none"&&(P[Qe]=!0),P.__inheritedStyle=he}var F=/url\(\s*#(.*?)\)/;function B(Q,P){var G=P&&Q&&Q.match(F);if(G){var J=A(G[1]),he=P[J];return he}return Q}var z=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function U(Q,P){var G=Q.getAttribute("transform");if(G){G=G.replace(/,/g," ");var J=null,he=[];G.replace(z,function(be,Qe,$e){he.push(Qe,$e)});for(var te=he.length-1;te>0;te-=2){var pe=he[te],we=he[te-1];J=J||n.create();switch(we){case"translate":pe=A(pe).split(S),n.translate(J,J,[parseFloat(pe[0]),parseFloat(pe[1]||0)]);break;case"scale":pe=A(pe).split(S),n.scale(J,J,[parseFloat(pe[0]),parseFloat(pe[1]||pe[0])]);break;case"rotate":pe=A(pe).split(S),n.rotate(J,J,parseFloat(pe[0]));break;case"skew":pe=A(pe).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":var pe=A(pe).split(S);J[0]=parseFloat(pe[0]),J[1]=parseFloat(pe[1]),J[2]=parseFloat(pe[2]),J[3]=parseFloat(pe[3]),J[4]=parseFloat(pe[4]),J[5]=parseFloat(pe[5]);break}}P.setLocalTransform(J)}}var K=/([^\s:;]+)\s*:\s*([^:;]+)/g;function W(Q){var P=Q.getAttribute("style"),G={};if(!P)return G;var J={};K.lastIndex=0;for(var he;(he=K.exec(P))!=null;)J[he[1]]=he[2];for(var te in M)M.hasOwnProperty(te)&&J[te]!=null&&(G[M[te]]=J[te]);return G}function H(Q,P,G){var J=P/Q.width,he=G/Q.height,te=Math.min(J,he),pe=[te,te],we=[-(Q.x+Q.width/2)*te+P/2,-(Q.y+Q.height/2)*te+G/2];return{scale:pe,position:we}}function Y(Q,P){var G=new O;return G.parse(Q,P)}_.parseXML=E,_.makeViewBoxTransform=H,_.parseSVG=Y},BUtc:function(Z,_,e){var d=e("IQq/"),L=e("FiFR"),v=e("LieO"),m=e("cLjh"),y=d.extend({makeElOption:function(o,s,l,n,c){var r=l.axis,u=r.grid,i=n.get("type"),h=w(u,r).getOtherAxis(r).getGlobalExtent(),p=r.toGlobalCoord(r.dataToCoord(s,!0));if(i&&i!=="none"){var A=L.buildElStyle(n),C=f[i](r,p,h);C.style=A,o.graphicKey=C.type,o.pointer=C}var S=v.layout(u.model,l);L.buildCartesianSingleLabelElOption(s,o,S,l,n,c)},getHandleTransform:function(o,s,l){var n=v.layout(s.axis.grid.model,s,{labelInside:!1});return n.labelMargin=l.get("handle.margin"),{position:L.getTransformedPosition(s.axis,o,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(o,s,l,n){var c=l.axis,r=c.grid,u=c.getGlobalExtent(!0),i=w(r,c).getOtherAxis(c).getGlobalExtent(),h=c.dim==="x"?0:1,p=o.position;p[h]+=s[h],p[h]=Math.min(u[1],p[h]),p[h]=Math.max(u[0],p[h]);var A=(i[1]+i[0])/2,C=[A,A];C[h]=p[h];var S=[{verticalAlign:"middle"},{align:"center"}];return{position:p,rotation:o.rotation,cursorPoint:C,tooltipOption:S[h]}}});function w(o,s){var l={};return l[s.dim+"AxisIndex"]=s.index,o.getCartesian(l)}var f={line:function(o,s,l){var n=L.makeLineShape([s,l[0]],[s,l[1]],a(o));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(o,s,l){var n=Math.max(1,o.getBandWidth()),c=l[1]-l[0];return{type:"Rect",shape:L.makeRectShape([s-n/2,l[0]],[n,c],a(o))}}};function a(o){return o.dim==="x"?0:1}m.registerAxisPointerClass("CartesianAxisPointer",y);var t=y;Z.exports=t},BZez:function(Z,_,e){var d=e("oEo5"),L=e("+Vnd"),v=e("4+FC"),m=e("P0S0"),y=e("ycch"),w=y.wrapTreePathInfo,f=L.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,o){var s={name:t.name,children:t.data};a(s);var l=d.map(t.levels||[],function(r){return new m(r,this,o)},this),n=v.createTree(s,this,c);function c(r){r.wrapMethod("getItemModel",function(u,i){var h=n.getNodeByDataIndex(i),p=l[h.depth];return p&&(u.parentModel=p),u})}return n.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var o=L.prototype.getDataParams.apply(this,arguments),s=this.getData().tree.getNodeByDataIndex(t);return o.treePathInfo=w(s,this),o},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var o=this.getRawData().tree.root;(!t||t!==o&&!o.contains(t))&&(this._viewRoot=o)}});function a(t){var o=0;d.each(t.children,function(l){a(l);var n=l.value;d.isArray(n)&&(n=n[0]),o+=n});var s=t.value;d.isArray(s)&&(s=s[0]),(s==null||isNaN(s))&&(s=o),s<0&&(s=0),d.isArray(t.value)?t.value[0]=s:t.value=s}Z.exports=f},BcIr:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("Q6Bq"),m=e("oEo5"),y=e("giN5"),w=e("zYjg"),f=["axisLine","axisTickLabel","axisName"],a=v.extendComponentView({type:"radar",render:function(t,o,s){var l=this.group;l.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var o=t.coordinateSystem,s=o.getIndicatorAxes(),l=m.map(s,function(n){var c=new y(n.model,{position:[o.cx,o.cy],rotation:n.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return c});m.each(l,function(n){m.each(f,n.add,n),this.group.add(n.getGroup())},this)},_buildSplitLineAndArea:function(t){var o=t.coordinateSystem,s=o.getIndicatorAxes();if(!s.length)return;var l=t.get("shape"),n=t.getModel("splitLine"),c=t.getModel("splitArea"),r=n.getModel("lineStyle"),u=c.getModel("areaStyle"),i=n.get("show"),h=c.get("show"),p=r.get("color"),A=u.get("color");p=m.isArray(p)?p:[p],A=m.isArray(A)?A:[A];var C=[],S=[];function E(K,W,H){var Y=H%W.length;return K[Y]=K[Y]||[],Y}if(l==="circle")for(var O=s[0].getTicksCoords(),T=o.cx,b=o.cy,x=0;x<O.length;x++){if(i){var N=E(C,p,x);C[N].push(new w.Circle({shape:{cx:T,cy:b,r:O[x].coord}}))}if(h&&x<O.length-1){var N=E(S,A,x);S[N].push(new w.Ring({shape:{cx:T,cy:b,r0:O[x].coord,r:O[x+1].coord}}))}}else for(var D,M=m.map(s,function(K,W){var H=K.getTicksCoords();return D=D==null?H.length-1:Math.min(H.length-1,D),m.map(H,function(Y){return o.coordToPoint(Y.coord,W)})}),R=[],x=0;x<=D;x++){for(var F=[],B=0;B<s.length;B++)F.push(M[B][x]);if(F[0]&&F.push(F[0].slice()),i){var N=E(C,p,x);C[N].push(new w.Polyline({shape:{points:F}}))}if(h&&R){var N=E(S,A,x-1);S[N].push(new w.Polygon({shape:{points:F.concat(R)}}))}R=F.slice().reverse()}var z=r.getLineStyle(),U=u.getAreaStyle();m.each(S,function(K,W){this.group.add(w.mergePath(K,{style:m.defaults({stroke:"none",fill:A[W%A.length]},U),silent:!0}))},this),m.each(C,function(K,W){this.group.add(w.mergePath(K,{style:m.defaults({fill:"none",stroke:p[W%p.length]},z),silent:!0}))},this)}});Z.exports=a},BeS3:function(Z,_){function e(d,L,v){var m=-1,y=d.length;L<0&&(L=-L>y?0:y+L),v=v>y?y:v,v<0&&(v+=y),y=L>v?0:v-L>>>0,L>>>=0;for(var w=Array(y);++m<y;)w[m]=d[m+L];return w}Z.exports=e},Beoy:function(Z,_,e){var d=e("oEo5"),L=e("kcRU"),v=e("sYRh"),m=e("l1R7"),y=e("P0S0"),w=e("SSBM"),f=w.getLayoutRect;_.getLayoutRect=w.getLayoutRect;var a=e("7/O9"),t=a.enableDataStack,o=a.isDimensionStacked,s=a.getStackedDimension,l=e("4Zqk");_.completeDimensions=l;var n=e("TfK1");_.createDimensions=n;var c=e("LLn1");_.createSymbol=c.createSymbol;function r(p){return L(p.getSource(),p)}var u={isDimensionStacked:o,enableDataStack:t,getStackedDimension:s};function i(p,A){var C=A;y.isInstance(A)||(C=new y(A),d.mixin(C,m));var S=v.createScaleByModel(C);return S.setExtent(p[0],p[1]),v.niceScaleExtent(S,C),S}function h(p){d.mixin(p,m)}_.createList=r,_.dataStack=u,_.createScale=i,_.mixinAxisModelCommonMethods=h},BhfF:function(Z,_,e){var d=e("hbMb"),L=e("trXQ"),v=d(L,"Set");Z.exports=v},BiNE:function(Z,_,e){var d=e("U3SQ");function L(v,m){for(var y=v.length;y--;)if(d(v[y][0],m))return y;return-1}Z.exports=L},BjFK:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("/j53");d.registerAction("dataZoom",function(m,y){var w=v.createLinkedNodesFinder(L.bind(y.eachComponent,y,"dataZoom"),v.eachAxisDim,function(a,t){return a.get(t.axisIndex)}),f=[];y.eachComponent({mainType:"dataZoom",query:m},function(a,t){f.push.apply(f,w(a).nodes)}),L.each(f,function(a,t){a.setRawRange({start:m.start,end:m.end,startValue:m.startValue,endValue:m.endValue})})})},BqSt:function(Z,_,e){var d=e("19h/"),L=e("kN/v");function v(m,y){var w=[];return m.eachComponent("parallel",function(f,a){var t=new d(f,m,y);t.name="parallel_"+a,t.resize(f,y),f.coordinateSystem=t,t.model=f,w.push(t)}),m.eachSeries(function(f){if(f.get("coordinateSystem")==="parallel"){var a=m.queryComponents({mainType:"parallel",index:f.get("parallelIndex"),id:f.get("parallelId")})[0];f.coordinateSystem=a.coordinateSystem}}),w}L.register("parallel",{create:v})},"Bs+z":function(Z,_,e){"use strict";var d=e("FGJx"),L=e("o0AO"),v=function(){function ee(){Object(d.a)(this,ee)}return Object(L.a)(ee,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(k,$){return k.__proto__=$,k},Object.assign=Object.assign||function(k){if(k==null)throw new TypeError("Cannot convert undefined or null to object");for(var $=Object(k),se=1;se<arguments.length;se++){var ge=arguments[se];if(ge!=null)for(var Ae in ge)ge.hasOwnProperty(Ae)&&($[Ae]=ge[Ae])}return $},typeof self.Promise!="function"&&e("Fr7k").polyfill()}}]),ee}();v.install();var m=v,y=e("FMyi"),w=e.n(y),f=function(){function ee(){Object(d.a)(this,ee)}return Object(L.a)(ee,null,[{key:"e",value:function(k,$){(!k||ee.FORCE_GLOBAL_TAG)&&(k=ee.GLOBAL_TAG);var se="[".concat(k,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","error",se),!ee.ENABLE_ERROR)return;console.error?console.error(se):console.warn?console.warn(se):console.log(se)}},{key:"i",value:function(k,$){(!k||ee.FORCE_GLOBAL_TAG)&&(k=ee.GLOBAL_TAG);var se="[".concat(k,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","info",se),!ee.ENABLE_INFO)return;console.info?console.info(se):console.log(se)}},{key:"w",value:function(k,$){(!k||ee.FORCE_GLOBAL_TAG)&&(k=ee.GLOBAL_TAG);var se="[".concat(k,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","warn",se),!ee.ENABLE_WARN)return;console.warn?console.warn(se):console.log(se)}},{key:"d",value:function(k,$){(!k||ee.FORCE_GLOBAL_TAG)&&(k=ee.GLOBAL_TAG);var se="[".concat(k,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","debug",se),!ee.ENABLE_DEBUG)return;console.debug?console.debug(se):console.log(se)}},{key:"v",value:function(k,$){(!k||ee.FORCE_GLOBAL_TAG)&&(k=ee.GLOBAL_TAG);var se="[".concat(k,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","verbose",se),!ee.ENABLE_VERBOSE)return;console.log(se)}}]),ee}();f.GLOBAL_TAG="flv.js",f.FORCE_GLOBAL_TAG=!1,f.ENABLE_ERROR=!0,f.ENABLE_INFO=!0,f.ENABLE_WARN=!0,f.ENABLE_DEBUG=!0,f.ENABLE_VERBOSE=!0,f.ENABLE_CALLBACK=!1,f.emitter=new w.a;var a=f,t=function(){function ee(){Object(d.a)(this,ee),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(L.a)(ee,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(k){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=k,this._totalBytes+=k):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=k,this._totalBytes+=k):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=k,this._totalBytes+=k,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var k=(this._now()-this._lastCheckpoint)/1e3;return k==0&&(k=1),this._intervalBytes/k/1024}},{key:"lastSecondKBps",get:function(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}},{key:"averageKBps",get:function(){var k=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/k/1024}}]),ee}(),o=t,s=e("uwZC"),l=e("lpH6"),n=function(){function ee(oe){Object(d.a)(this,ee),this._message=oe}return Object(L.a)(ee,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),ee}(),c=function(ee){Object(s.a)(k,ee);var oe=Object(l.a)(k);function k($){return Object(d.a)(this,k),oe.call(this,$)}return Object(L.a)(k,[{key:"name",get:function(){return"IllegalStateException"}}]),k}(n),r=function(ee){Object(s.a)(k,ee);var oe=Object(l.a)(k);function k($){return Object(d.a)(this,k),oe.call(this,$)}return Object(L.a)(k,[{key:"name",get:function(){return"InvalidArgumentException"}}]),k}(n),u=function(ee){Object(s.a)(k,ee);var oe=Object(l.a)(k);function k($){return Object(d.a)(this,k),oe.call(this,$)}return Object(L.a)(k,[{key:"name",get:function(){return"NotImplementedException"}}]),k}(n),i={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},h={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},p=function(){function ee(oe){Object(d.a)(this,ee),this._type=oe||"undefined",this._status=i.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(L.a)(ee,[{key:"destroy",value:function(){this._status=i.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===i.kConnecting||this._status===i.kBuffering}},{key:"open",value:function(k,$){throw new u("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new u("Unimplemented abstract function!")}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(k){this._onContentLengthKnown=k}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(k){this._onURLRedirect=k}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(k){this._onDataArrival=k}},{key:"onError",get:function(){return this._onError},set:function(k){this._onError=k}},{key:"onComplete",get:function(){return this._onComplete},set:function(k){this._onComplete=k}}]),ee}(),A=e("GY0J");function C(ee,oe){for(;!Object.prototype.hasOwnProperty.call(ee,oe)&&!(ee=Object(A.a)(ee),ee===null););return ee}function S(ee,oe,k){return typeof Reflect!="undefined"&&Reflect.get?S=Reflect.get:S=function(se,ge,Ae){var Me=C(se,ge);if(!Me)return;var et=Object.getOwnPropertyDescriptor(Me,ge);return et.get?et.get.call(Ae):et.value},S(ee,oe,k||ee)}var E={};function O(){var ee=self.navigator.userAgent.toLowerCase(),oe=/(edge)\/([\w.]+)/.exec(ee)||/(opr)[\/]([\w.]+)/.exec(ee)||/(chrome)[ \/]([\w.]+)/.exec(ee)||/(iemobile)[\/]([\w.]+)/.exec(ee)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ee)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ee)||/(webkit)[ \/]([\w.]+)/.exec(ee)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ee)||/(msie) ([\w.]+)/.exec(ee)||ee.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(ee)||ee.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(ee)||[],k=/(ipad)/.exec(ee)||/(ipod)/.exec(ee)||/(windows phone)/.exec(ee)||/(iphone)/.exec(ee)||/(kindle)/.exec(ee)||/(android)/.exec(ee)||/(windows)/.exec(ee)||/(mac)/.exec(ee)||/(linux)/.exec(ee)||/(cros)/.exec(ee)||[],$={browser:oe[5]||oe[3]||oe[1]||"",version:oe[2]||oe[4]||"0",majorVersion:oe[4]||oe[2]||"0",platform:k[0]||""},se={};if($.browser){se[$.browser]=!0;var ge=$.majorVersion.split(".");se.version={major:parseInt($.majorVersion,10),string:$.version},ge.length>1&&(se.version.minor=parseInt(ge[1],10)),ge.length>2&&(se.version.build=parseInt(ge[2],10))}if($.platform&&(se[$.platform]=!0),(se.chrome||se.opr||se.safari)&&(se.webkit=!0),se.rv||se.iemobile){se.rv&&delete se.rv;var Ae="msie";$.browser=Ae,se[Ae]=!0}if(se.edge){delete se.edge;var Me="msedge";$.browser=Me,se[Me]=!0}if(se.opr){var et="opera";$.browser=et,se[et]=!0}if(se.safari&&se.android){var Wt="android";$.browser=Wt,se[Wt]=!0}se.name=$.browser,se.platform=$.platform;for(var er in E)E.hasOwnProperty(er)&&delete E[er];Object.assign(E,se)}O();var T=E,b=function(ee){Object(s.a)(k,ee);var oe=Object(l.a)(k);Object(L.a)(k,null,[{key:"isSupported",value:function(){try{var se=T.msedge&&T.version.minor>=15048,ge=T.msedge?se:!0;return self.fetch&&self.ReadableStream&&ge}catch(Ae){return!1}}}]);function k($,se){var ge;return Object(d.a)(this,k),ge=oe.call(this,"fetch-stream-loader"),ge.TAG="FetchStreamLoader",ge._seekHandler=$,ge._config=se,ge._needStash=!0,ge._requestAbort=!1,ge._contentLength=null,ge._receivedLength=0,ge}return Object(L.a)(k,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),S(Object(A.a)(k.prototype),"destroy",this).call(this)}},{key:"open",value:function(se,ge){var Ae=this;this._dataSource=se,this._range=ge;var Me=se.url;this._config.reuseRedirectedURL&&se.redirectedURL!=null&&(Me=se.redirectedURL);var et=this._seekHandler.getConfig(Me,ge),Wt=new self.Headers;if(typeof et.headers=="object"){var er=et.headers;for(var Ct in er)er.hasOwnProperty(Ct)&&Wt.append(Ct,er[Ct])}var Ht={method:"GET",headers:Wt,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var kt in this._config.headers)Wt.append(kt,this._config.headers[kt]);se.cors===!1&&(Ht.mode="same-origin"),se.withCredentials&&(Ht.credentials="include"),se.referrerPolicy&&(Ht.referrerPolicy=se.referrerPolicy),this._status=i.kConnecting,self.fetch(et.url,Ht).then(function(Zt){if(Ae._requestAbort){Ae._requestAbort=!1,Ae._status=i.kIdle;return}if(Zt.ok&&Zt.status>=200&&Zt.status<=299){if(Zt.url!==et.url&&Ae._onURLRedirect){var Et=Ae._seekHandler.removeURLParameters(Zt.url);Ae._onURLRedirect(Et)}var ur=Zt.headers.get("Content-Length");return ur!=null&&(Ae._contentLength=parseInt(ur),Ae._contentLength!==0&&(Ae._onContentLengthKnown&&Ae._onContentLengthKnown(Ae._contentLength))),Ae._pump.call(Ae,Zt.body.getReader())}else if(Ae._status=i.kError,Ae._onError)Ae._onError(h.HTTP_STATUS_CODE_INVALID,{code:Zt.status,msg:Zt.statusText});else throw new n("FetchStreamLoader: Http code invalid, "+Zt.status+" "+Zt.statusText)}).catch(function(Zt){if(Ae._status=i.kError,Ae._onError)Ae._onError(h.EXCEPTION,{code:-1,msg:Zt.message});else throw Zt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(se){var ge=this;return se.read().then(function(Ae){if(Ae.done)if(ge._contentLength!==null&&ge._receivedLength<ge._contentLength){ge._status=i.kError;var Me=h.EARLY_EOF,et={code:-1,msg:"Fetch stream meet Early-EOF"};if(ge._onError)ge._onError(Me,et);else throw new n(et.msg)}else ge._status=i.kComplete,ge._onComplete&&ge._onComplete(ge._range.from,ge._range.from+ge._receivedLength-1);else{if(ge._requestAbort===!0)return ge._requestAbort=!1,ge._status=i.kComplete,se.cancel();ge._status=i.kBuffering;var Wt=Ae.value.buffer,er=ge._range.from+ge._receivedLength;ge._receivedLength+=Wt.byteLength,ge._onDataArrival&&ge._onDataArrival(Wt,er,ge._receivedLength),ge._pump(se)}}).catch(function(Ae){if(Ae.code===11&&T.msedge)return;ge._status=i.kError;var Me=0,et=null;if((Ae.code===19||Ae.message==="network error")&&(ge._contentLength===null||ge._contentLength!==null&&ge._receivedLength<ge._contentLength)?(Me=h.EARLY_EOF,et={code:Ae.code,msg:"Fetch stream meet Early-EOF"}):(Me=h.EXCEPTION,et={code:Ae.code,msg:Ae.message}),ge._onError)ge._onError(Me,et);else throw new n(et.msg)})}}]),k}(p),x=b,N=function(ee){Object(s.a)(k,ee);var oe=Object(l.a)(k);Object(L.a)(k,null,[{key:"isSupported",value:function(){try{var se=new XMLHttpRequest;return se.open("GET","https://example.com",!0),se.responseType="moz-chunked-arraybuffer",se.responseType==="moz-chunked-arraybuffer"}catch(ge){return a.w("MozChunkedLoader",ge.message),!1}}}]);function k($,se){var ge;return Object(d.a)(this,k),ge=oe.call(this,"xhr-moz-chunked-loader"),ge.TAG="MozChunkedLoader",ge._seekHandler=$,ge._config=se,ge._needStash=!0,ge._xhr=null,ge._requestAbort=!1,ge._contentLength=null,ge._receivedLength=0,ge}return Object(L.a)(k,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),S(Object(A.a)(k.prototype),"destroy",this).call(this)}},{key:"open",value:function(se,ge){this._dataSource=se,this._range=ge;var Ae=se.url;this._config.reuseRedirectedURL&&se.redirectedURL!=null&&(Ae=se.redirectedURL);var Me=this._seekHandler.getConfig(Ae,ge);this._requestURL=Me.url;var et=this._xhr=new XMLHttpRequest;if(et.open("GET",Me.url,!0),et.responseType="moz-chunked-arraybuffer",et.onreadystatechange=this._onReadyStateChange.bind(this),et.onprogress=this._onProgress.bind(this),et.onloadend=this._onLoadEnd.bind(this),et.onerror=this._onXhrError.bind(this),se.withCredentials&&(et.withCredentials=!0),typeof Me.headers=="object"){var Wt=Me.headers;for(var er in Wt)Wt.hasOwnProperty(er)&&et.setRequestHeader(er,Wt[er])}if(typeof this._config.headers=="object"){var Ct=this._config.headers;for(var Ht in Ct)Ct.hasOwnProperty(Ht)&&et.setRequestHeader(Ht,Ct[Ht])}this._status=i.kConnecting,et.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=i.kComplete}},{key:"_onReadyStateChange",value:function(se){var ge=se.target;if(ge.readyState===2){if(ge.responseURL!=null&&ge.responseURL!==this._requestURL&&this._onURLRedirect){var Ae=this._seekHandler.removeURLParameters(ge.responseURL);this._onURLRedirect(Ae)}if(ge.status!==0&&(ge.status<200||ge.status>299))if(this._status=i.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:ge.status,msg:ge.statusText});else throw new n("MozChunkedLoader: Http code invalid, "+ge.status+" "+ge.statusText);else this._status=i.kBuffering}}},{key:"_onProgress",value:function(se){if(this._status===i.kError)return;this._contentLength===null&&(se.total!==null&&se.total!==0&&(this._contentLength=se.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var ge=se.target.response,Ae=this._range.from+this._receivedLength;this._receivedLength+=ge.byteLength,this._onDataArrival&&this._onDataArrival(ge,Ae,this._receivedLength)}},{key:"_onLoadEnd",value:function(se){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===i.kError)return;this._status=i.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(se){this._status=i.kError;var ge=0,Ae=null;if(this._contentLength&&se.loaded<this._contentLength?(ge=h.EARLY_EOF,Ae={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(ge=h.EXCEPTION,Ae={code:-1,msg:se.constructor.name+" "+se.type}),this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}}]),k}(p),D=N,M=function(ee){Object(s.a)(k,ee);var oe=Object(l.a)(k);Object(L.a)(k,null,[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var se=new XMLHttpRequest;return se.open("GET","https://example.com",!0),se.responseType="ms-stream",se.responseType==="ms-stream"}catch(ge){return a.w("MSStreamLoader",ge.message),!1}}}]);function k($,se){var ge;return Object(d.a)(this,k),ge=oe.call(this,"xhr-msstream-loader"),ge.TAG="MSStreamLoader",ge._seekHandler=$,ge._config=se,ge._needStash=!0,ge._xhr=null,ge._reader=null,ge._totalRange=null,ge._currentRange=null,ge._currentRequestURL=null,ge._currentRedirectedURL=null,ge._contentLength=null,ge._receivedLength=0,ge._bufferLimit=16*1024*1024,ge._lastTimeBufferSize=0,ge._isReconnecting=!1,ge}return Object(L.a)(k,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),S(Object(A.a)(k.prototype),"destroy",this).call(this)}},{key:"open",value:function(se,ge){this._internalOpen(se,ge,!1)}},{key:"_internalOpen",value:function(se,ge,Ae){this._dataSource=se,Ae?this._currentRange=ge:this._totalRange=ge;var Me=se.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Me=this._currentRedirectedURL:se.redirectedURL!=null&&(Me=se.redirectedURL));var et=this._seekHandler.getConfig(Me,ge);this._currentRequestURL=et.url;var Wt=this._reader=new self.MSStreamReader;Wt.onprogress=this._msrOnProgress.bind(this),Wt.onload=this._msrOnLoad.bind(this),Wt.onerror=this._msrOnError.bind(this);var er=this._xhr=new XMLHttpRequest;if(er.open("GET",et.url,!0),er.responseType="ms-stream",er.onreadystatechange=this._xhrOnReadyStateChange.bind(this),er.onerror=this._xhrOnError.bind(this),se.withCredentials&&(er.withCredentials=!0),typeof et.headers=="object"){var Ct=et.headers;for(var Ht in Ct)Ct.hasOwnProperty(Ht)&&er.setRequestHeader(Ht,Ct[Ht])}if(typeof this._config.headers=="object"){var kt=this._config.headers;for(var Zt in kt)kt.hasOwnProperty(Zt)&&er.setRequestHeader(Zt,kt[Zt])}this._isReconnecting?this._isReconnecting=!1:this._status=i.kConnecting,er.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=i.kComplete}},{key:"_internalAbort",value:function(){this._reader&&(this._reader.readyState===1&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}},{key:"_xhrOnReadyStateChange",value:function(se){var ge=se.target;if(ge.readyState===2)if(ge.status>=200&&ge.status<=299){if(this._status=i.kBuffering,ge.responseURL!=null){var Ae=this._seekHandler.removeURLParameters(ge.responseURL);ge.responseURL!==this._currentRequestURL&&Ae!==this._currentRedirectedURL&&(this._currentRedirectedURL=Ae,this._onURLRedirect&&this._onURLRedirect(Ae))}var Me=ge.getResponseHeader("Content-Length");if(Me!=null&&this._contentLength==null){var et=parseInt(Me);et>0&&(this._contentLength=et,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=i.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:ge.status,msg:ge.statusText});else throw new n("MSStreamLoader: Http code invalid, "+ge.status+" "+ge.statusText);else if(ge.readyState===3&&(ge.status>=200&&ge.status<=299)){this._status=i.kBuffering;var Wt=ge.response;this._reader.readAsArrayBuffer(Wt)}}},{key:"_xhrOnError",value:function(se){this._status=i.kError;var ge=h.EXCEPTION,Ae={code:-1,msg:se.constructor.name+" "+se.type};if(this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}},{key:"_msrOnProgress",value:function(se){var ge=se.target,Ae=ge.result;if(Ae==null){this._doReconnectIfNeeded();return}var Me=Ae.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Ae.byteLength;var et=this._totalRange.from+this._receivedLength;this._receivedLength+=Me.byteLength,this._onDataArrival&&this._onDataArrival(Me,et,this._receivedLength),Ae.byteLength>=this._bufferLimit&&(a.v(this.TAG,"MSStream buffer exceeded max size near ".concat(et+Me.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength<this._contentLength){this._isReconnecting=!0,this._lastTimeBufferSize=0,this._internalAbort();var se={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,se,!0)}}},{key:"_msrOnLoad",value:function(se){this._status=i.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(se){this._status=i.kError;var ge=0,Ae=null;if(this._contentLength&&this._receivedLength<this._contentLength?(ge=h.EARLY_EOF,Ae={code:-1,msg:"MSStream meet Early-Eof"}):(ge=h.EARLY_EOF,Ae={code:-1,msg:se.constructor.name+" "+se.type}),this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}}]),k}(p),R=M,F=function(ee){Object(s.a)(k,ee);var oe=Object(l.a)(k);Object(L.a)(k,null,[{key:"isSupported",value:function(){try{var se=new XMLHttpRequest;return se.open("GET","https://example.com",!0),se.responseType="arraybuffer",se.responseType==="arraybuffer"}catch(ge){return a.w("RangeLoader",ge.message),!1}}}]);function k($,se){var ge;return Object(d.a)(this,k),ge=oe.call(this,"xhr-range-loader"),ge.TAG="RangeLoader",ge._seekHandler=$,ge._config=se,ge._needStash=!1,ge._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],ge._currentChunkSizeKB=384,ge._currentSpeedNormalized=0,ge._zeroSpeedChunkCount=0,ge._xhr=null,ge._speedSampler=new o,ge._requestAbort=!1,ge._waitForTotalLength=!1,ge._totalLengthReceived=!1,ge._currentRequestURL=null,ge._currentRedirectedURL=null,ge._currentRequestRange=null,ge._totalLength=null,ge._contentLength=null,ge._receivedLength=0,ge._lastTimeLoaded=0,ge}return Object(L.a)(k,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),S(Object(A.a)(k.prototype),"destroy",this).call(this)}},{key:"open",value:function(se,ge){this._dataSource=se,this._range=ge,this._status=i.kConnecting;var Ae=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Ae=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Ae?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var se=this._currentChunkSizeKB*1024,ge=this._range.from+this._receivedLength,Ae=ge+se;this._contentLength!=null&&(Ae-this._range.from>=this._contentLength&&(Ae=this._range.from+this._contentLength-1)),this._currentRequestRange={from:ge,to:Ae},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(se,ge){this._lastTimeLoaded=0;var Ae=se.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Ae=this._currentRedirectedURL:se.redirectedURL!=null&&(Ae=se.redirectedURL));var Me=this._seekHandler.getConfig(Ae,ge);this._currentRequestURL=Me.url;var et=this._xhr=new XMLHttpRequest;if(et.open("GET",Me.url,!0),et.responseType="arraybuffer",et.onreadystatechange=this._onReadyStateChange.bind(this),et.onprogress=this._onProgress.bind(this),et.onload=this._onLoad.bind(this),et.onerror=this._onXhrError.bind(this),se.withCredentials&&(et.withCredentials=!0),typeof Me.headers=="object"){var Wt=Me.headers;for(var er in Wt)Wt.hasOwnProperty(er)&&et.setRequestHeader(er,Wt[er])}if(typeof this._config.headers=="object"){var Ct=this._config.headers;for(var Ht in Ct)Ct.hasOwnProperty(Ht)&&et.setRequestHeader(Ht,Ct[Ht])}et.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=i.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function(se){var ge=se.target;if(ge.readyState===2){if(ge.responseURL!=null){var Ae=this._seekHandler.removeURLParameters(ge.responseURL);ge.responseURL!==this._currentRequestURL&&Ae!==this._currentRedirectedURL&&(this._currentRedirectedURL=Ae,this._onURLRedirect&&this._onURLRedirect(Ae))}if(ge.status>=200&&ge.status<=299){if(this._waitForTotalLength)return;this._status=i.kBuffering}else if(this._status=i.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:ge.status,msg:ge.statusText});else throw new n("RangeLoader: Http code invalid, "+ge.status+" "+ge.statusText)}}},{key:"_onProgress",value:function(se){if(this._status===i.kError)return;if(this._contentLength===null){var ge=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,ge=!0;var Ae=se.total;this._internalAbort(),Ae!=null&Ae!==0&&(this._totalLength=Ae)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,ge){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var Me=se.loaded-this._lastTimeLoaded;this._lastTimeLoaded=se.loaded,this._speedSampler.addBytes(Me)}},{key:"_normalizeSpeed",value:function(se){var ge=this._chunkSizeKBList,Ae=ge.length-1,Me=0,et=0,Wt=Ae;if(se<ge[0])return ge[0];for(;et<=Wt;){if(Me=et+Math.floor((Wt-et)/2),Me===Ae||se>=ge[Me]&&se<ge[Me+1])return ge[Me];ge[Me]<se?et=Me+1:Wt=Me-1}}},{key:"_onLoad",value:function(se){if(this._status===i.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var ge=this._speedSampler.lastSecondKBps;if(ge===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(ge=this._speedSampler.currentKBps)),ge!==0){var Ae=this._normalizeSpeed(ge);this._currentSpeedNormalized!==Ae&&(this._currentSpeedNormalized=Ae,this._currentChunkSizeKB=Ae)}var Me=se.target.response,et=this._range.from+this._receivedLength;this._receivedLength+=Me.byteLength;var Wt=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Wt=!0,this._onDataArrival&&this._onDataArrival(Me,et,this._receivedLength),Wt&&(this._status=i.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(se){this._status=i.kError;var ge=0,Ae=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(ge=h.EARLY_EOF,Ae={code:-1,msg:"RangeLoader meet Early-Eof"}):(ge=h.EXCEPTION,Ae={code:-1,msg:se.constructor.name+" "+se.type}),this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}}]),k}(p),B=F,z=function(ee){Object(s.a)(k,ee);var oe=Object(l.a)(k);Object(L.a)(k,null,[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(se){return!1}}}]);function k(){var $;return Object(d.a)(this,k),$=oe.call(this,"websocket-loader"),$.TAG="WebSocketLoader",$._needStash=!0,$._ws=null,$._requestAbort=!1,$._receivedLength=0,$}return Object(L.a)(k,[{key:"destroy",value:function(){this._ws&&this.abort(),S(Object(A.a)(k.prototype),"destroy",this).call(this)}},{key:"open",value:function(se){try{var ge=this._ws=new self.WebSocket(se.url);ge.binaryType="arraybuffer",ge.onopen=this._onWebSocketOpen.bind(this),ge.onclose=this._onWebSocketClose.bind(this),ge.onmessage=this._onWebSocketMessage.bind(this),ge.onerror=this._onWebSocketError.bind(this),this._status=i.kConnecting}catch(Me){this._status=i.kError;var Ae={code:Me.code,msg:Me.message};if(this._onError)this._onError(h.EXCEPTION,Ae);else throw new n(Ae.msg)}}},{key:"abort",value:function(){var se=this._ws;se&&(se.readyState===0||se.readyState===1)&&(this._requestAbort=!0,se.close()),this._ws=null,this._status=i.kComplete}},{key:"_onWebSocketOpen",value:function(se){this._status=i.kBuffering}},{key:"_onWebSocketClose",value:function(se){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=i.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(se){var ge=this;if(se.data instanceof ArrayBuffer)this._dispatchArrayBuffer(se.data);else if(se.data instanceof Blob){var Ae=new FileReader;Ae.onload=function(){ge._dispatchArrayBuffer(Ae.result)},Ae.readAsArrayBuffer(se.data)}else{this._status=i.kError;var Me={code:-1,msg:"Unsupported WebSocket message type: "+se.data.constructor.name};if(this._onError)this._onError(h.EXCEPTION,Me);else throw new n(Me.msg)}}},{key:"_dispatchArrayBuffer",value:function(se){var ge=se,Ae=this._receivedLength;this._receivedLength+=ge.byteLength,this._onDataArrival&&this._onDataArrival(ge,Ae,this._receivedLength)}},{key:"_onWebSocketError",value:function(se){this._status=i.kError;var ge={code:se.code,msg:se.message};if(this._onError)this._onError(h.EXCEPTION,ge);else throw new n(ge.msg)}}]),k}(p),U=z,K=function(){function ee(oe){Object(d.a)(this,ee),this._zeroStart=oe||!1}return Object(L.a)(ee,[{key:"getConfig",value:function(k,$){var se={};if($.from!==0||$.to!==-1){var ge;$.to!==-1?ge="bytes=".concat($.from.toString(),"-").concat($.to.toString()):ge="bytes=".concat($.from.toString(),"-"),se.Range=ge}else this._zeroStart&&(se.Range="bytes=0-");return{url:k,headers:se}}},{key:"removeURLParameters",value:function(k){return k}}]),ee}(),W=K,H=function(){function ee(oe,k){Object(d.a)(this,ee),this._startName=oe,this._endName=k}return Object(L.a)(ee,[{key:"getConfig",value:function(k,$){var se=k;if($.from!==0||$.to!==-1){var ge=!0;se.indexOf("?")===-1&&(se+="?",ge=!1),ge&&(se+="&"),se+="".concat(this._startName,"=").concat($.from.toString()),$.to!==-1&&(se+="&".concat(this._endName,"=").concat($.to.toString()))}return{url:se,headers:{}}}},{key:"removeURLParameters",value:function(k){var $=k.split("?")[0],se=void 0,ge=k.indexOf("?");ge!==-1&&(se=k.substring(ge+1));var Ae="";if(se!=null&&se.length>0)for(var Me=se.split("&"),et=0;et<Me.length;et++){var Wt=Me[et].split("="),er=et>0;Wt[0]!==this._startName&&Wt[0]!==this._endName&&(er&&(Ae+="&"),Ae+=Me[et])}return Ae.length===0?$:$+"?"+Ae}}]),ee}(),Y=H,Q=function(){function ee(oe,k,$){Object(d.a)(this,ee),this.TAG="IOController",this._config=k,this._extraData=$,this._stashInitialSize=1024*384,k.stashInitialSize!=null&&k.stashInitialSize>0&&(this._stashInitialSize=k.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,k.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=oe,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(oe.url),this._refTotalLength=oe.filesize?oe.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new o,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(L.a)(ee,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"_selectSeekHandler",value:function(){var k=this._config;if(k.seekType==="range")this._seekHandler=new W(this._config.rangeLoadZeroStart);else if(k.seekType==="param"){var $=k.seekParamStart||"bstart",se=k.seekParamEnd||"bend";this._seekHandler=new Y($,se)}else if(k.seekType==="custom"){if(typeof k.customSeekHandler!="function")throw new r("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new k.customSeekHandler}else throw new r("Invalid seekType in config: ".concat(k.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=U;else if(x.isSupported())this._loaderClass=x;else if(D.isSupported())this._loaderClass=D;else if(B.isSupported())this._loaderClass=B;else throw new n("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(k){this._currentRange={from:0,to:-1},k&&(this._currentRange.from=k),this._speedSampler.reset(),k||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}},{key:"abort",value:function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}},{key:"pause",value:function(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}},{key:"resume",value:function(){if(this._paused){this._paused=!1;var k=this._resumeFrom;this._resumeFrom=0,this._internalSeek(k,!0)}}},{key:"seek",value:function(k){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(k,!0)}},{key:"_internalSeek",value:function(k,$){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer($),this._loader.destroy(),this._loader=null;var se={from:k,to:-1};this._currentRange={from:se.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,se),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(k){if(!k||typeof k!="string"||k.length===0)throw new r("Url must be a non-empty string!");this._dataSource.url=k}},{key:"_expandBuffer",value:function(k){for(var $=this._stashSize;$+1024*1024*1<k;)$*=2;if($+=1024*1024*1,$===this._bufferSize)return;var se=new ArrayBuffer($);if(this._stashUsed>0){var ge=new Uint8Array(this._stashBuffer,0,this._stashUsed),Ae=new Uint8Array(se,0,$);Ae.set(ge,0)}this._stashBuffer=se,this._bufferSize=$}},{key:"_normalizeSpeed",value:function(k){var $=this._speedNormalizeList,se=$.length-1,ge=0,Ae=0,Me=se;if(k<$[0])return $[0];for(;Ae<=Me;){if(ge=Ae+Math.floor((Me-Ae)/2),ge===se||k>=$[ge]&&k<$[ge+1])return $[ge];$[ge]<k?Ae=ge+1:Me=ge-1}}},{key:"_adjustStashSize",value:function(k){var $=0;this._config.isLive||k<512?$=k:k>=512&&k<=1024?$=Math.floor(k*1.5):$=k*2,$>8192&&($=8192);var se=$*1024+1024*1024*1;this._bufferSize<se&&this._expandBuffer(se),this._stashSize=$*1024}},{key:"_dispatchChunks",value:function(k,$){return this._currentRange.to=$+k.byteLength-1,this._onDataArrival(k,$)}},{key:"_onURLRedirect",value:function(k){this._redirectedURL=k,this._onRedirect&&this._onRedirect(k)}},{key:"_onContentLengthKnown",value:function(k){k&&this._fullRequestFlag&&(this._totalLength=k,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(k,$,se){if(!this._onDataArrival)throw new c("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(k.byteLength);var ge=this._speedSampler.lastSecondKBps;if(ge!==0){var Ae=this._normalizeSpeed(ge);this._speedNormalized!==Ae&&(this._speedNormalized=Ae,this._adjustStashSize(Ae))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=$),this._stashUsed+k.byteLength<=this._stashSize){var kt=new Uint8Array(this._stashBuffer,0,this._stashSize);kt.set(new Uint8Array(k),this._stashUsed),this._stashUsed+=k.byteLength}else{var Zt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Et=this._stashBuffer.slice(0,this._stashUsed),ur=this._dispatchChunks(Et,this._stashByteStart);if(ur<Et.byteLength){if(ur>0){var rr=new Uint8Array(Et,ur);Zt.set(rr,0),this._stashUsed=rr.byteLength,this._stashByteStart+=ur}}else this._stashUsed=0,this._stashByteStart+=ur;this._stashUsed+k.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+k.byteLength),Zt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Zt.set(new Uint8Array(k),this._stashUsed),this._stashUsed+=k.byteLength}else{var Ke=this._dispatchChunks(k,$);if(Ke<k.byteLength){var nt=k.byteLength-Ke;nt>this._bufferSize&&(this._expandBuffer(nt),Zt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Zt.set(new Uint8Array(k,Ke),0),this._stashUsed+=nt,this._stashByteStart=$+Ke}}}else if(this._stashUsed===0){var Me=this._dispatchChunks(k,$);if(Me<k.byteLength){var et=k.byteLength-Me;et>this._bufferSize&&this._expandBuffer(et);var Wt=new Uint8Array(this._stashBuffer,0,this._bufferSize);Wt.set(new Uint8Array(k,Me),0),this._stashUsed+=et,this._stashByteStart=$+Me}}else{this._stashUsed+k.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+k.byteLength);var er=new Uint8Array(this._stashBuffer,0,this._bufferSize);er.set(new Uint8Array(k),this._stashUsed),this._stashUsed+=k.byteLength;var Ct=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Ct<this._stashUsed&&Ct>0){var Ht=new Uint8Array(this._stashBuffer,Ct);er.set(Ht,0)}this._stashUsed-=Ct,this._stashByteStart+=Ct}}},{key:"_flushStashBuffer",value:function(k){if(this._stashUsed>0){var $=this._stashBuffer.slice(0,this._stashUsed),se=this._dispatchChunks($,this._stashByteStart),ge=$.byteLength-se;if(se<$.byteLength)if(k)a.w(this.TAG,"".concat(ge," bytes unconsumed data remain when flush buffer, dropped"));else{if(se>0){var Ae=new Uint8Array(this._stashBuffer,0,this._bufferSize),Me=new Uint8Array($,se);Ae.set(Me,0),this._stashUsed=Me.byteLength,this._stashByteStart+=se}return 0}return this._stashUsed=0,this._stashByteStart=0,ge}return 0}},{key:"_onLoaderComplete",value:function(k,$){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(k,$){a.e(this.TAG,"Loader error, code = ".concat($.code,", msg = ").concat($.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,k=h.UNRECOVERABLE_EARLY_EOF);switch(k){case h.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var se=this._currentRange.to+1;se<this._totalLength&&(a.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(se,!1));return}k=h.UNRECOVERABLE_EARLY_EOF;break}case h.UNRECOVERABLE_EARLY_EOF:case h.CONNECTING_TIMEOUT:case h.HTTP_STATUS_CODE_INVALID:case h.EXCEPTION:break}if(this._onError)this._onError(k,$);else throw new n("IOException: "+$.msg)}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(k){this._extraData=k}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(k){this._onDataArrival=k}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(k){this._onSeeked=k}},{key:"onError",get:function(){return this._onError},set:function(k){this._onError=k}},{key:"onComplete",get:function(){return this._onComplete},set:function(k){this._onComplete=k}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(k){this._onRedirect=k}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(k){this._onRecoveredEarlyEof=k}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===B?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}}]),ee}(),P=Q,G={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:3*60,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:3*60,autoCleanupMinBackwardDuration:2*60,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1,headers:void 0,customLoader:void 0};function J(){return Object.assign({},G)}var he=function(){function ee(){Object(d.a)(this,ee)}return Object(L.a)(ee,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var k=new P({},J()),$=k.loaderType;return k.destroy(),$=="fetch-stream-loader"||$=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var k=new P({},J()),$=k.loaderType;return k.destroy(),$}},{key:"supportNativeMediaPlayback",value:function(k){ee.videoElement==null&&(ee.videoElement=window.document.createElement("video"));var $=ee.videoElement.canPlayType(k);return $==="probably"||$=="maybe"}},{key:"getFeatureList",value:function(){var k={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return k.mseFlvPlayback=ee.supportMSEH264Playback(),k.networkStreamIO=ee.supportNetworkStreamIO(),k.networkLoaderName=ee.getNetworkLoaderTypeName(),k.mseLiveFlvPlayback=k.mseFlvPlayback&&k.networkStreamIO,k.nativeMP4H264Playback=ee.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),k.nativeWebmVP8Playback=ee.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),k.nativeWebmVP9Playback=ee.supportNativeMediaPlayback('video/webm; codecs="vp9"'),k}}]),ee}(),te=he,pe={ERROR:"error",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info"},we=pe,be=function(){function ee(){Object(d.a)(this,ee)}return Object(L.a)(ee,null,[{key:"getConfig",value:function(){return{globalTag:a.GLOBAL_TAG,forceGlobalTag:a.FORCE_GLOBAL_TAG,enableVerbose:a.ENABLE_VERBOSE,enableDebug:a.ENABLE_DEBUG,enableInfo:a.ENABLE_INFO,enableWarn:a.ENABLE_WARN,enableError:a.ENABLE_ERROR,enableCallback:a.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(k){a.GLOBAL_TAG=k.globalTag,a.FORCE_GLOBAL_TAG=k.forceGlobalTag,a.ENABLE_VERBOSE=k.enableVerbose,a.ENABLE_DEBUG=k.enableDebug,a.ENABLE_INFO=k.enableInfo,a.ENABLE_WARN=k.enableWarn,a.ENABLE_ERROR=k.enableError,a.ENABLE_CALLBACK=k.enableCallback}},{key:"_notifyChange",value:function(){var k=ee.emitter;if(k.listenerCount("change")>0){var $=ee.getConfig();k.emit("change",$)}}},{key:"registerListener",value:function(k){ee.emitter.addListener("change",k)}},{key:"removeListener",value:function(k){ee.emitter.removeListener("change",k)}},{key:"addLogListener",value:function(k){a.emitter.addListener("log",k),a.emitter.listenerCount("log")>0&&(a.ENABLE_CALLBACK=!0,ee._notifyChange())}},{key:"removeLogListener",value:function(k){a.emitter.removeListener("log",k),a.emitter.listenerCount("log")===0&&(a.ENABLE_CALLBACK=!1,ee._notifyChange())}},{key:"forceGlobalTag",get:function(){return a.FORCE_GLOBAL_TAG},set:function(k){a.FORCE_GLOBAL_TAG=k,ee._notifyChange()}},{key:"globalTag",get:function(){return a.GLOBAL_TAG},set:function(k){a.GLOBAL_TAG=k,ee._notifyChange()}},{key:"enableAll",get:function(){return a.ENABLE_VERBOSE&&a.ENABLE_DEBUG&&a.ENABLE_INFO&&a.ENABLE_WARN&&a.ENABLE_ERROR},set:function(k){a.ENABLE_VERBOSE=k,a.ENABLE_DEBUG=k,a.ENABLE_INFO=k,a.ENABLE_WARN=k,a.ENABLE_ERROR=k,ee._notifyChange()}},{key:"enableDebug",get:function(){return a.ENABLE_DEBUG},set:function(k){a.ENABLE_DEBUG=k,ee._notifyChange()}},{key:"enableVerbose",get:function(){return a.ENABLE_VERBOSE},set:function(k){a.ENABLE_VERBOSE=k,ee._notifyChange()}},{key:"enableInfo",get:function(){return a.ENABLE_INFO},set:function(k){a.ENABLE_INFO=k,ee._notifyChange()}},{key:"enableWarn",get:function(){return a.ENABLE_WARN},set:function(k){a.ENABLE_WARN=k,ee._notifyChange()}},{key:"enableError",get:function(){return a.ENABLE_ERROR},set:function(k){a.ENABLE_ERROR=k,ee._notifyChange()}}]),ee}();be.emitter=new w.a;var Qe=be,$e=function(){function ee(){Object(d.a)(this,ee),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(L.a)(ee,[{key:"isComplete",value:function(){var k=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,$=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&k&&$}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(k){if(this.keyframesIndex==null)return null;var $=this.keyframesIndex,se=this._search($.times,k);return{index:se,milliseconds:$.times[se],fileposition:$.filepositions[se]}}},{key:"_search",value:function(k,$){var se=0,ge=k.length-1,Ae=0,Me=0,et=ge;for($<k[0]&&(se=0,Me=et+1);Me<=et;)if(Ae=Me+Math.floor((et-Me)/2),Ae===ge||$>=k[Ae]&&$<k[Ae+1]){se=Ae;break}else k[Ae]<$?Me=Ae+1:et=Ae-1;return se}}]),ee}(),yt=$e;function Fe(ee,oe,k){var $=ee;if(oe+k<$.length){for(;k--;)if(($[++oe]&192)!==128)return!1;return!0}else return!1}function Pe(ee){for(var oe=[],k=ee,$=0,se=ee.length;$<se;){if(k[$]<128){oe.push(String.fromCharCode(k[$])),++$;continue}else if(!(k[$]<192)){if(k[$]<224){if(Fe(k,$,1)){var ge=(k[$]&31)<<6|k[$+1]&63;if(ge>=128){oe.push(String.fromCharCode(ge&65535)),$+=2;continue}}}else if(k[$]<240){if(Fe(k,$,2)){var Ae=(k[$]&15)<<12|(k[$+1]&63)<<6|k[$+2]&63;if(Ae>=2048&&(Ae&63488)!==55296){oe.push(String.fromCharCode(Ae&65535)),$+=3;continue}}}else if(k[$]<248&&Fe(k,$,3)){var Me=(k[$]&7)<<18|(k[$+1]&63)<<12|(k[$+2]&63)<<6|k[$+3]&63;if(Me>65536&&Me<1114112){Me-=65536,oe.push(String.fromCharCode(Me>>>10|55296)),oe.push(String.fromCharCode(Me&1023|56320)),$+=4;continue}}}oe.push(String.fromCharCode(65533)),++$}return oe.join("")}var gt=Pe,it=function(){var ee=new ArrayBuffer(2);return new DataView(ee).setInt16(0,256,!0),new Int16Array(ee)[0]===256}(),qe=function(){function ee(){Object(d.a)(this,ee)}return Object(L.a)(ee,null,[{key:"parseScriptData",value:function(k,$,se){var ge={};try{var Ae=ee.parseValue(k,$,se),Me=ee.parseValue(k,$+Ae.size,se-Ae.size);ge[Ae.data]=Me.data}catch(et){a.e("AMF",et.toString())}return ge}},{key:"parseObject",value:function(k,$,se){if(se<3)throw new c("Data not enough when parse ScriptDataObject");var ge=ee.parseString(k,$,se),Ae=ee.parseValue(k,$+ge.size,se-ge.size),Me=Ae.objectEnd;return{data:{name:ge.data,value:Ae.data},size:ge.size+Ae.size,objectEnd:Me}}},{key:"parseVariable",value:function(k,$,se){return ee.parseObject(k,$,se)}},{key:"parseString",value:function(k,$,se){if(se<2)throw new c("Data not enough when parse String");var ge=new DataView(k,$,se),Ae=ge.getUint16(0,!it),Me;return Ae>0?Me=gt(new Uint8Array(k,$+2,Ae)):Me="",{data:Me,size:2+Ae}}},{key:"parseLongString",value:function(k,$,se){if(se<4)throw new c("Data not enough when parse LongString");var ge=new DataView(k,$,se),Ae=ge.getUint32(0,!it),Me;return Ae>0?Me=gt(new Uint8Array(k,$+4,Ae)):Me="",{data:Me,size:4+Ae}}},{key:"parseDate",value:function(k,$,se){if(se<10)throw new c("Data size invalid when parse Date");var ge=new DataView(k,$,se),Ae=ge.getFloat64(0,!it),Me=ge.getInt16(8,!it);return Ae+=Me*60*1e3,{data:new Date(Ae),size:8+2}}},{key:"parseValue",value:function(k,$,se){if(se<1)throw new c("Data not enough when parse Value");var ge=new DataView(k,$,se),Ae=1,Me=ge.getUint8(0),et,Wt=!1;try{switch(Me){case 0:et=ge.getFloat64(1,!it),Ae+=8;break;case 1:{var er=ge.getUint8(1);et=!!er,Ae+=1;break}case 2:{var Ct=ee.parseString(k,$+1,se-1);et=Ct.data,Ae+=Ct.size;break}case 3:{et={};var Ht=0;for((ge.getUint32(se-4,!it)&16777215)===9&&(Ht=3);Ae<se-4;){var kt=ee.parseObject(k,$+Ae,se-Ae-Ht);if(kt.objectEnd)break;et[kt.data.name]=kt.data.value,Ae+=kt.size}if(Ae<=se-3){var Zt=ge.getUint32(Ae-1,!it)&16777215;Zt===9&&(Ae+=3)}break}case 8:{et={},Ae+=4;var Et=0;for((ge.getUint32(se-4,!it)&16777215)===9&&(Et=3);Ae<se-8;){var ur=ee.parseVariable(k,$+Ae,se-Ae-Et);if(ur.objectEnd)break;et[ur.data.name]=ur.data.value,Ae+=ur.size}if(Ae<=se-3){var rr=ge.getUint32(Ae-1,!it)&16777215;rr===9&&(Ae+=3)}break}case 9:et=void 0,Ae=1,Wt=!0;break;case 10:{et=[];var Ke=ge.getUint32(1,!it);Ae+=4;for(var nt=0;nt<Ke;nt++){var Ge=ee.parseValue(k,$+Ae,se-Ae);et.push(Ge.data),Ae+=Ge.size}break}case 11:{var ct=ee.parseDate(k,$+1,se-1);et=ct.data,Ae+=ct.size;break}case 12:{var ht=ee.parseString(k,$+1,se-1);et=ht.data,Ae+=ht.size;break}default:Ae=se,a.w("AMF","Unsupported AMF value type "+Me)}}catch(ut){a.e("AMF",ut.toString())}return{data:et,size:Ae,objectEnd:Wt}}}]),ee}(),At=qe,dt=function(){function ee(oe){Object(d.a)(this,ee),this.TAG="ExpGolomb",this._buffer=oe,this._buffer_index=0,this._total_bytes=oe.byteLength,this._total_bits=oe.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(L.a)(ee,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var k=this._total_bytes-this._buffer_index;if(k<=0)throw new c("ExpGolomb: _fillCurrentWord() but no bytes available");var $=Math.min(4,k),se=new Uint8Array(4);se.set(this._buffer.subarray(this._buffer_index,this._buffer_index+$)),this._current_word=new DataView(se.buffer).getUint32(0,!1),this._buffer_index+=$,this._current_word_bits_left=$*8}},{key:"readBits",value:function(k){if(k>32)throw new r("ExpGolomb: readBits() bits exceeded max 32bits!");if(k<=this._current_word_bits_left){var $=this._current_word>>>32-k;return this._current_word<<=k,this._current_word_bits_left-=k,$}var se=this._current_word_bits_left?this._current_word:0;se=se>>>32-this._current_word_bits_left;var ge=k-this._current_word_bits_left;this._fillCurrentWord();var Ae=Math.min(ge,this._current_word_bits_left),Me=this._current_word>>>32-Ae;return this._current_word<<=Ae,this._current_word_bits_left-=Ae,se=se<<Ae|Me,se}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var k;for(k=0;k<this._current_word_bits_left;k++)if((this._current_word&2147483648>>>k)!==0)return this._current_word<<=k,this._current_word_bits_left-=k,k;return this._fillCurrentWord(),k+this._skipLeadingZero()}},{key:"readUEG",value:function(){var k=this._skipLeadingZero();return this.readBits(k+1)-1}},{key:"readSEG",value:function(){var k=this.readUEG();return k&1?k+1>>>1:-1*(k>>>1)}}]),ee}(),wt=dt,Ye=function(){function ee(){Object(d.a)(this,ee)}return Object(L.a)(ee,null,[{key:"_ebsp2rbsp",value:function(k){for(var $=k,se=$.byteLength,ge=new Uint8Array(se),Ae=0,Me=0;Me<se;Me++){if(Me>=2&&($[Me]===3&&$[Me-1]===0&&$[Me-2]===0))continue;ge[Ae]=$[Me],Ae++}return new Uint8Array(ge.buffer,0,Ae)}},{key:"parseSPS",value:function(k){var $=ee._ebsp2rbsp(k),se=new wt($);se.readByte();var ge=se.readByte();se.readByte();var Ae=se.readByte();se.readUEG();var Me=ee.getProfileString(ge),et=ee.getLevelString(Ae),Wt=1,er=420,Ct=[0,420,422,444],Ht=8;if((ge===100||ge===110||ge===122||ge===244||ge===44||ge===83||ge===86||ge===118||ge===128||ge===138||ge===144)&&(Wt=se.readUEG(),Wt===3&&se.readBits(1),Wt<=3&&(er=Ct[Wt]),Ht=se.readUEG()+8,se.readUEG(),se.readBits(1),se.readBool()))for(var kt=Wt!==3?8:12,Zt=0;Zt<kt;Zt++)se.readBool()&&(Zt<6?ee._skipScalingList(se,16):ee._skipScalingList(se,64));se.readUEG();var Et=se.readUEG();if(Et===0)se.readUEG();else if(Et===1){se.readBits(1),se.readSEG(),se.readSEG();for(var ur=se.readUEG(),rr=0;rr<ur;rr++)se.readSEG()}var Ke=se.readUEG();se.readBits(1);var nt=se.readUEG(),Ge=se.readUEG(),ct=se.readBits(1);ct===0&&se.readBits(1),se.readBits(1);var ht=0,ut=0,We=0,tt=0,ft=se.readBool();ft&&(ht=se.readUEG(),ut=se.readUEG(),We=se.readUEG(),tt=se.readUEG());var Yt=1,Dt=1,vr=0,yr=!0,Dr=0,Rr=0,Jr=se.readBool();if(Jr){if(se.readBool()){var $r=se.readByte(),xr=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Vr=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];$r>0&&$r<16?(Yt=xr[$r-1],Dt=Vr[$r-1]):$r===255&&(Yt=se.readByte()<<8|se.readByte(),Dt=se.readByte()<<8|se.readByte())}if(se.readBool()&&se.readBool(),se.readBool()&&(se.readBits(4),se.readBool()&&se.readBits(24)),se.readBool()&&(se.readUEG(),se.readUEG()),se.readBool()){var Or=se.readBits(32),nr=se.readBits(32);yr=se.readBool(),Dr=nr,Rr=Or*2,vr=Dr/Rr}}var pr=1;(Yt!==1||Dt!==1)&&(pr=Yt/Dt);var dr=0,fr=0;if(Wt===0)dr=1,fr=2-ct;else{var _r=Wt===3?1:2,Zr=Wt===1?2:1;dr=_r,fr=Zr*(2-ct)}var on=(nt+1)*16,jn=(2-ct)*((Ge+1)*16);on-=(ht+ut)*dr,jn-=(We+tt)*fr;var Ur=Math.ceil(on*pr);return se.destroy(),se=null,{profile_string:Me,level_string:et,bit_depth:Ht,ref_frames:Ke,chroma_format:er,chroma_format_string:ee.getChromaFormatString(er),frame_rate:{fixed:yr,fps:vr,fps_den:Rr,fps_num:Dr},sar_ratio:{width:Yt,height:Dt},codec_size:{width:on,height:jn},present_size:{width:Ur,height:jn}}}},{key:"_skipScalingList",value:function(k,$){for(var se=8,ge=8,Ae=0,Me=0;Me<$;Me++)ge!==0&&(Ae=k.readSEG(),ge=(se+Ae+256)%256),se=ge===0?se:ge}},{key:"getProfileString",value:function(k){switch(k){case 66:return"Baseline";case 77:return"Main";case 88:return"Extended";case 100:return"High";case 110:return"High10";case 122:return"High422";case 244:return"High444";default:return"Unknown"}}},{key:"getLevelString",value:function(k){return(k/10).toFixed(1)}},{key:"getChromaFormatString",value:function(k){switch(k){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),ee}(),mt=Ye,Ue={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},Re=Ue;function Le(ee){return ee>>>8&255|(ee&255)<<8}function at(ee){return(ee&4278190080)>>>24|(ee&16711680)>>>8|(ee&65280)<<8|(ee&255)<<24}function Ot(ee,oe){return ee[oe]<<24|ee[oe+1]<<16|ee[oe+2]<<8|ee[oe+3]}var Tt=function(){function ee(oe,k){Object(d.a)(this,ee),this.TAG="FLVDemuxer",this._config=k,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=oe.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=oe.hasAudioTrack,this._hasVideo=oe.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new yt,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var $=new ArrayBuffer(2);return new DataView($).setInt16(0,256,!0),new Int16Array($)[0]===256}()}return Object(L.a)(ee,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}},{key:"bindDataSource",value:function(k){return k.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new yt}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}},{key:"parseChunks",value:function(k,$){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new c("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var se=0,ge=this._littleEndian;if($===0)if(k.byteLength>13){var Ae=ee.probe(k);se=Ae.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,$+se!==this._dataOffset&&a.w(this.TAG,"First time parsing but chunk byteStart invalid!");var Me=new DataView(k,se),et=Me.getUint32(0,!ge);et!==0&&a.w(this.TAG,"PrevTagSize0 !== 0 !!!"),se+=4}for(;se<k.byteLength;){this._dispatch=!0;var Wt=new DataView(k,se);if(se+11+4>k.byteLength)break;var er=Wt.getUint8(0),Ct=Wt.getUint32(0,!ge)&16777215;if(se+11+Ct+4>k.byteLength)break;if(er!==8&&er!==9&&er!==18){a.w(this.TAG,"Unsupported tag type ".concat(er,", skipped")),se+=11+Ct+4;continue}var Ht=Wt.getUint8(4),kt=Wt.getUint8(5),Zt=Wt.getUint8(6),Et=Wt.getUint8(7),ur=Zt|kt<<8|Ht<<16|Et<<24,rr=Wt.getUint32(7,!ge)&16777215;rr!==0&&a.w(this.TAG,"Meet tag which has StreamID != 0!");var Ke=se+11;switch(er){case 8:this._parseAudioData(k,Ke,Ct,ur);break;case 9:this._parseVideoData(k,Ke,Ct,ur,$+se);break;case 18:this._parseScriptData(k,Ke,Ct);break}var nt=Wt.getUint32(11+Ct,!ge);nt!==11+Ct&&a.w(this.TAG,"Invalid PrevTagSize ".concat(nt)),se+=11+Ct+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),se}},{key:"_parseScriptData",value:function(k,$,se){var ge=At.parseScriptData(k,$,se);if(ge.hasOwnProperty("onMetaData")){if(ge.onMetaData==null||typeof ge.onMetaData!="object"){a.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&a.w(this.TAG,"Found another onMetaData tag!"),this._metadata=ge;var Ae=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Ae)),typeof Ae.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Ae.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Ae.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Ae.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Ae.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Ae.audiodatarate),typeof Ae.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Ae.videodatarate),typeof Ae.width=="number"&&(this._mediaInfo.width=Ae.width),typeof Ae.height=="number"&&(this._mediaInfo.height=Ae.height),typeof Ae.duration=="number"){if(!this._durationOverrided){var Me=Math.floor(Ae.duration*this._timescale);this._duration=Me,this._mediaInfo.duration=Me}}else this._mediaInfo.duration=0;if(typeof Ae.framerate=="number"){var et=Math.floor(Ae.framerate*1e3);if(et>0){var Wt=et/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Wt,this._referenceFrameRate.fps_num=et,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Wt}}if(typeof Ae.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var er=Ae.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(er),Ae.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Ae,a.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(ge).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},ge)))}},{key:"_parseKeyframesIndex",value:function(k){for(var $=[],se=[],ge=1;ge<k.times.length;ge++){var Ae=this._timestampBase+Math.floor(k.times[ge]*1e3);$.push(Ae),se.push(k.filepositions[ge])}return{times:$,filepositions:se}}},{key:"_parseAudioData",value:function(k,$,se,ge){if(se<=1){a.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Ae=this._littleEndian,Me=new DataView(k,$,se),et=Me.getUint8(0),Wt=et>>>4;if(Wt!==2&&Wt!==10){this._onError(Re.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Wt);return}var er=0,Ct=(et&12)>>>2;if(Ct>=0&&Ct<=4)er=this._flvSoundRateTable[Ct];else{this._onError(Re.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Ct);return}var Ht=(et&2)>>>1,kt=et&1,Zt=this._audioMetadata,Et=this._audioTrack;if(Zt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Zt=this._audioMetadata={},Zt.type="audio",Zt.id=Et.id,Zt.timescale=this._timescale,Zt.duration=this._duration,Zt.audioSampleRate=er,Zt.channelCount=kt===0?1:2),Wt===10){var ur=this._parseAACAudioData(k,$+1,se-1);if(ur==null)return;if(ur.packetType===0){Zt.config&&a.w(this.TAG,"Found another AudioSpecificConfig!");var rr=ur.data;Zt.audioSampleRate=rr.samplingRate,Zt.channelCount=rr.channelCount,Zt.codec=rr.codec,Zt.originalCodec=rr.originalCodec,Zt.config=rr.config,Zt.refSampleDuration=1024/Zt.audioSampleRate*Zt.timescale,a.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Zt);var Ke=this._mediaInfo;Ke.audioCodec=Zt.originalCodec,Ke.audioSampleRate=Zt.audioSampleRate,Ke.audioChannelCount=Zt.channelCount,Ke.hasVideo?Ke.videoCodec!=null&&(Ke.mimeType='video/x-flv; codecs="'+Ke.videoCodec+","+Ke.audioCodec+'"'):Ke.mimeType='video/x-flv; codecs="'+Ke.audioCodec+'"',Ke.isComplete()&&this._onMediaInfo(Ke)}else if(ur.packetType===1){var nt=this._timestampBase+ge,Ge={unit:ur.data,length:ur.data.byteLength,dts:nt,pts:nt};Et.samples.push(Ge),Et.length+=ur.data.length}else a.e(this.TAG,"Flv: Unsupported AAC data type ".concat(ur.packetType))}else if(Wt===2){if(!Zt.codec){var ct=this._parseMP3AudioData(k,$+1,se-1,!0);if(ct==null)return;Zt.audioSampleRate=ct.samplingRate,Zt.channelCount=ct.channelCount,Zt.codec=ct.codec,Zt.originalCodec=ct.originalCodec,Zt.refSampleDuration=1152/Zt.audioSampleRate*Zt.timescale,a.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Zt);var ht=this._mediaInfo;ht.audioCodec=Zt.codec,ht.audioSampleRate=Zt.audioSampleRate,ht.audioChannelCount=Zt.channelCount,ht.audioDataRate=ct.bitRate,ht.hasVideo?ht.videoCodec!=null&&(ht.mimeType='video/x-flv; codecs="'+ht.videoCodec+","+ht.audioCodec+'"'):ht.mimeType='video/x-flv; codecs="'+ht.audioCodec+'"',ht.isComplete()&&this._onMediaInfo(ht)}var ut=this._parseMP3AudioData(k,$+1,se-1,!1);if(ut==null)return;var We=this._timestampBase+ge,tt={unit:ut,length:ut.byteLength,dts:We,pts:We};Et.samples.push(tt),Et.length+=ut.length}}},{key:"_parseAACAudioData",value:function(k,$,se){if(se<=1){a.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var ge={},Ae=new Uint8Array(k,$,se);return ge.packetType=Ae[0],Ae[0]===0?ge.data=this._parseAACAudioSpecificConfig(k,$+1,se-1):ge.data=Ae.subarray(1),ge}},{key:"_parseAACAudioSpecificConfig",value:function(k,$,se){var ge=new Uint8Array(k,$,se),Ae=null,Me=0,et=0,Wt=null,er=0,Ct=null;if(Me=et=ge[0]>>>3,er=(ge[0]&7)<<1|ge[1]>>>7,er<0||er>=this._mpegSamplingRates.length){this._onError(Re.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Ht=this._mpegSamplingRates[er],kt=(ge[1]&120)>>>3;if(kt<0||kt>=8){this._onError(Re.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Me===5&&(Ct=(ge[1]&7)<<1|ge[2]>>>7,Wt=(ge[2]&124)>>>2);var Zt=self.navigator.userAgent.toLowerCase();return Zt.indexOf("firefox")!==-1?er>=6?(Me=5,Ae=new Array(4),Ct=er-3):(Me=2,Ae=new Array(2),Ct=er):Zt.indexOf("android")!==-1?(Me=2,Ae=new Array(2),Ct=er):(Me=5,Ct=er,Ae=new Array(4),er>=6?Ct=er-3:kt===1&&(Me=2,Ae=new Array(2),Ct=er)),Ae[0]=Me<<3,Ae[0]|=(er&15)>>>1,Ae[1]=(er&15)<<7,Ae[1]|=(kt&15)<<3,Me===5&&(Ae[1]|=(Ct&15)>>>1,Ae[2]=(Ct&1)<<7,Ae[2]|=2<<2,Ae[3]=0),{config:Ae,samplingRate:Ht,channelCount:kt,codec:"mp4a.40."+Me,originalCodec:"mp4a.40."+et}}},{key:"_parseMP3AudioData",value:function(k,$,se,ge){if(se<4){a.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Ae=this._littleEndian,Me=new Uint8Array(k,$,se),et=null;if(ge){if(Me[0]!==255)return;var Wt=Me[1]>>>3&3,er=(Me[1]&6)>>1,Ct=(Me[2]&240)>>>4,Ht=(Me[2]&12)>>>2,kt=Me[3]>>>6&3,Zt=kt!==3?2:1,Et=0,ur=0,rr=34,Ke="mp3";switch(Wt){case 0:Et=this._mpegAudioV25SampleRateTable[Ht];break;case 2:Et=this._mpegAudioV20SampleRateTable[Ht];break;case 3:Et=this._mpegAudioV10SampleRateTable[Ht];break}switch(er){case 1:rr=34,Ct<this._mpegAudioL3BitRateTable.length&&(ur=this._mpegAudioL3BitRateTable[Ct]);break;case 2:rr=33,Ct<this._mpegAudioL2BitRateTable.length&&(ur=this._mpegAudioL2BitRateTable[Ct]);break;case 3:rr=32,Ct<this._mpegAudioL1BitRateTable.length&&(ur=this._mpegAudioL1BitRateTable[Ct]);break}et={bitRate:ur,samplingRate:Et,channelCount:Zt,codec:Ke,originalCodec:Ke}}else et=Me;return et}},{key:"_parseVideoData",value:function(k,$,se,ge,Ae){if(se<=1){a.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var Me=new Uint8Array(k,$,se)[0],et=(Me&240)>>>4,Wt=Me&15;if(Wt!==7){this._onError(Re.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Wt));return}this._parseAVCVideoPacket(k,$+1,se-1,ge,Ae,et)}},{key:"_parseAVCVideoPacket",value:function(k,$,se,ge,Ae,Me){if(se<4){a.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var et=this._littleEndian,Wt=new DataView(k,$,se),er=Wt.getUint8(0),Ct=Wt.getUint32(0,!et)&16777215,Ht=Ct<<8>>8;if(er===0)this._parseAVCDecoderConfigurationRecord(k,$+4,se-4);else if(er===1)this._parseAVCVideoData(k,$+4,se-4,ge,Ae,Me,Ht);else if(!(er===2)){this._onError(Re.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(er));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(k,$,se){if(se<7){a.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var ge=this._videoMetadata,Ae=this._videoTrack,Me=this._littleEndian,et=new DataView(k,$,se);ge?typeof ge.avcc!="undefined"&&a.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),ge=this._videoMetadata={},ge.type="video",ge.id=Ae.id,ge.timescale=this._timescale,ge.duration=this._duration);var Wt=et.getUint8(0),er=et.getUint8(1),Ct=et.getUint8(2),Ht=et.getUint8(3);if(Wt!==1||er===0){this._onError(Re.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(et.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(Re.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var kt=et.getUint8(5)&31;if(kt===0){this._onError(Re.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else kt>1&&a.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(kt));for(var Zt=6,Et=0;Et<kt;Et++){var ur=et.getUint16(Zt,!Me);if(Zt+=2,ur===0)continue;var rr=new Uint8Array(k,$+Zt,ur);Zt+=ur;var Ke=mt.parseSPS(rr);if(Et!==0)continue;ge.codecWidth=Ke.codec_size.width,ge.codecHeight=Ke.codec_size.height,ge.presentWidth=Ke.present_size.width,ge.presentHeight=Ke.present_size.height,ge.profile=Ke.profile_string,ge.level=Ke.level_string,ge.bitDepth=Ke.bit_depth,ge.chromaFormat=Ke.chroma_format,ge.sarRatio=Ke.sar_ratio,ge.frameRate=Ke.frame_rate,(Ke.frame_rate.fixed===!1||Ke.frame_rate.fps_num===0||Ke.frame_rate.fps_den===0)&&(ge.frameRate=this._referenceFrameRate);var nt=ge.frameRate.fps_den,Ge=ge.frameRate.fps_num;ge.refSampleDuration=ge.timescale*(nt/Ge);for(var ct=rr.subarray(1,4),ht="avc1.",ut=0;ut<3;ut++){var We=ct[ut].toString(16);We.length<2&&(We="0"+We),ht+=We}ge.codec=ht;var tt=this._mediaInfo;tt.width=ge.codecWidth,tt.height=ge.codecHeight,tt.fps=ge.frameRate.fps,tt.profile=ge.profile,tt.level=ge.level,tt.refFrames=Ke.ref_frames,tt.chromaFormat=Ke.chroma_format_string,tt.sarNum=ge.sarRatio.width,tt.sarDen=ge.sarRatio.height,tt.videoCodec=ht,tt.hasAudio?tt.audioCodec!=null&&(tt.mimeType='video/x-flv; codecs="'+tt.videoCodec+","+tt.audioCodec+'"'):tt.mimeType='video/x-flv; codecs="'+tt.videoCodec+'"',tt.isComplete()&&this._onMediaInfo(tt)}var ft=et.getUint8(Zt);if(ft===0){this._onError(Re.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else ft>1&&a.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(ft));Zt++;for(var Yt=0;Yt<ft;Yt++){var Dt=et.getUint16(Zt,!Me);if(Zt+=2,Dt===0)continue;Zt+=Dt}ge.avcc=new Uint8Array(se),ge.avcc.set(new Uint8Array(k,$,se),0),a.v(this.TAG,"Parsed AVCDecoderConfigurationRecord"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._videoInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("video",ge)}},{key:"_parseAVCVideoData",value:function(k,$,se,ge,Ae,Me,et){for(var Wt=this._littleEndian,er=new DataView(k,$,se),Ct=[],Ht=0,kt=0,Zt=this._naluLengthSize,Et=this._timestampBase+ge,ur=Me===1;kt<se;){if(kt+4>=se){a.w(this.TAG,"Malformed Nalu near timestamp ".concat(Et,", offset = ").concat(kt,", dataSize = ").concat(se));break}var rr=er.getUint32(kt,!Wt);if(Zt===3&&(rr>>>=8),rr>se-Zt){a.w(this.TAG,"Malformed Nalus near timestamp ".concat(Et,", NaluSize > DataSize!"));return}var Ke=er.getUint8(kt+Zt)&31;Ke===5&&(ur=!0);var nt=new Uint8Array(k,$+kt,Zt+rr),Ge={type:Ke,data:nt};Ct.push(Ge),Ht+=nt.byteLength,kt+=Zt+rr}if(Ct.length){var ct=this._videoTrack,ht={units:Ct,length:Ht,isKeyframe:ur,dts:Et,cts:et,pts:Et+et};ur&&(ht.fileposition=Ae),ct.samples.push(ht),ct.length+=Ht}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(k){this._onTrackMetadata=k}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(k){this._onMediaInfo=k}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(k){this._onMetaDataArrived=k}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(k){this._onScriptDataArrived=k}},{key:"onError",get:function(){return this._onError},set:function(k){this._onError=k}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(k){this._onDataAvailable=k}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(k){this._timestampBase=k}},{key:"overridedDuration",get:function(){return this._duration},set:function(k){this._durationOverrided=!0,this._duration=k,this._mediaInfo.duration=k}},{key:"overridedHasAudio",set:function(k){this._hasAudioFlagOverrided=!0,this._hasAudio=k,this._mediaInfo.hasAudio=k}},{key:"overridedHasVideo",set:function(k){this._hasVideoFlagOverrided=!0,this._hasVideo=k,this._mediaInfo.hasVideo=k}}],[{key:"probe",value:function(k){var $=new Uint8Array(k),se={match:!1};if($[0]!==70||$[1]!==76||$[2]!==86||$[3]!==1)return se;var ge=($[4]&4)>>>2!==0,Ae=($[4]&1)!==0,Me=Ot($,5);return Me<9?se:{match:!0,consumed:Me,dataOffset:Me,hasAudioTrack:ge,hasVideoTrack:Ae}}}]),ee}(),Ft=Tt,ke=function(){function ee(){Object(d.a)(this,ee)}return Object(L.a)(ee,null,[{key:"init",value:function(){ee.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(var k in ee.types)ee.types.hasOwnProperty(k)&&(ee.types[k]=[k.charCodeAt(0),k.charCodeAt(1),k.charCodeAt(2),k.charCodeAt(3)]);var $=ee.constants={};$.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),$.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),$.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),$.STSC=$.STCO=$.STTS,$.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),$.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),$.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),$.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),$.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),$.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(k){for(var $=8,se=null,ge=Array.prototype.slice.call(arguments,1),Ae=ge.length,Me=0;Me<Ae;Me++)$+=ge[Me].byteLength;se=new Uint8Array($),se[0]=$>>>24&255,se[1]=$>>>16&255,se[2]=$>>>8&255,se[3]=$&255,se.set(k,4);for(var et=8,Wt=0;Wt<Ae;Wt++)se.set(ge[Wt],et),et+=ge[Wt].byteLength;return se}},{key:"generateInitSegment",value:function(k){var $=ee.box(ee.types.ftyp,ee.constants.FTYP),se=ee.moov(k),ge=new Uint8Array($.byteLength+se.byteLength);return ge.set($,0),ge.set(se,$.byteLength),ge}},{key:"moov",value:function(k){var $=ee.mvhd(k.timescale,k.duration),se=ee.trak(k),ge=ee.mvex(k);return ee.box(ee.types.moov,$,se,ge)}},{key:"mvhd",value:function(k,$){return ee.box(ee.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,k>>>24&255,k>>>16&255,k>>>8&255,k&255,$>>>24&255,$>>>16&255,$>>>8&255,$&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}},{key:"trak",value:function(k){return ee.box(ee.types.trak,ee.tkhd(k),ee.mdia(k))}},{key:"tkhd",value:function(k){var $=k.id,se=k.duration,ge=k.presentWidth,Ae=k.presentHeight;return ee.box(ee.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255,0,0,0,0,se>>>24&255,se>>>16&255,se>>>8&255,se&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,ge>>>8&255,ge&255,0,0,Ae>>>8&255,Ae&255,0,0]))}},{key:"mdia",value:function(k){return ee.box(ee.types.mdia,ee.mdhd(k),ee.hdlr(k),ee.minf(k))}},{key:"mdhd",value:function(k){var $=k.timescale,se=k.duration;return ee.box(ee.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255,se>>>24&255,se>>>16&255,se>>>8&255,se&255,85,196,0,0]))}},{key:"hdlr",value:function(k){var $=null;return k.type==="audio"?$=ee.constants.HDLR_AUDIO:$=ee.constants.HDLR_VIDEO,ee.box(ee.types.hdlr,$)}},{key:"minf",value:function(k){var $=null;return k.type==="audio"?$=ee.box(ee.types.smhd,ee.constants.SMHD):$=ee.box(ee.types.vmhd,ee.constants.VMHD),ee.box(ee.types.minf,$,ee.dinf(),ee.stbl(k))}},{key:"dinf",value:function(){var k=ee.box(ee.types.dinf,ee.box(ee.types.dref,ee.constants.DREF));return k}},{key:"stbl",value:function(k){var $=ee.box(ee.types.stbl,ee.stsd(k),ee.box(ee.types.stts,ee.constants.STTS),ee.box(ee.types.stsc,ee.constants.STSC),ee.box(ee.types.stsz,ee.constants.STSZ),ee.box(ee.types.stco,ee.constants.STCO));return $}},{key:"stsd",value:function(k){return k.type==="audio"?k.codec==="mp3"?ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.mp3(k)):ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.mp4a(k)):ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.avc1(k))}},{key:"mp3",value:function(k){var $=k.channelCount,se=k.audioSampleRate,ge=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,$,0,16,0,0,0,0,se>>>8&255,se&255,0,0]);return ee.box(ee.types[".mp3"],ge)}},{key:"mp4a",value:function(k){var $=k.channelCount,se=k.audioSampleRate,ge=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,$,0,16,0,0,0,0,se>>>8&255,se&255,0,0]);return ee.box(ee.types.mp4a,ge,ee.esds(k))}},{key:"esds",value:function(k){var $=k.config||[],se=$.length,ge=new Uint8Array([0,0,0,0,3,23+se,0,1,0,4,15+se,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([se]).concat($).concat([6,1,2]));return ee.box(ee.types.esds,ge)}},{key:"avc1",value:function(k){var $=k.avcc,se=k.codecWidth,ge=k.codecHeight,Ae=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,se>>>8&255,se&255,ge>>>8&255,ge&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return ee.box(ee.types.avc1,Ae,ee.box(ee.types.avcC,$))}},{key:"mvex",value:function(k){return ee.box(ee.types.mvex,ee.trex(k))}},{key:"trex",value:function(k){var $=k.id,se=new Uint8Array([0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return ee.box(ee.types.trex,se)}},{key:"moof",value:function(k,$){return ee.box(ee.types.moof,ee.mfhd(k.sequenceNumber),ee.traf(k,$))}},{key:"mfhd",value:function(k){var $=new Uint8Array([0,0,0,0,k>>>24&255,k>>>16&255,k>>>8&255,k&255]);return ee.box(ee.types.mfhd,$)}},{key:"traf",value:function(k,$){var se=k.id,ge=ee.box(ee.types.tfhd,new Uint8Array([0,0,0,0,se>>>24&255,se>>>16&255,se>>>8&255,se&255])),Ae=ee.box(ee.types.tfdt,new Uint8Array([0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255])),Me=ee.sdtp(k),et=ee.trun(k,Me.byteLength+16+16+8+16+8+8);return ee.box(ee.types.traf,ge,Ae,et,Me)}},{key:"sdtp",value:function(k){for(var $=k.samples||[],se=$.length,ge=new Uint8Array(4+se),Ae=0;Ae<se;Ae++){var Me=$[Ae].flags;ge[Ae+4]=Me.isLeading<<6|Me.dependsOn<<4|Me.isDependedOn<<2|Me.hasRedundancy}return ee.box(ee.types.sdtp,ge)}},{key:"trun",value:function(k,$){var se=k.samples||[],ge=se.length,Ae=12+16*ge,Me=new Uint8Array(Ae);$+=8+Ae,Me.set([0,0,15,1,ge>>>24&255,ge>>>16&255,ge>>>8&255,ge&255,$>>>24&255,$>>>16&255,$>>>8&255,$&255],0);for(var et=0;et<ge;et++){var Wt=se[et].duration,er=se[et].size,Ct=se[et].flags,Ht=se[et].cts;Me.set([Wt>>>24&255,Wt>>>16&255,Wt>>>8&255,Wt&255,er>>>24&255,er>>>16&255,er>>>8&255,er&255,Ct.isLeading<<2|Ct.dependsOn,Ct.isDependedOn<<6|Ct.hasRedundancy<<4|Ct.isNonSync,0,0,Ht>>>24&255,Ht>>>16&255,Ht>>>8&255,Ht&255],12+16*et)}return ee.box(ee.types.trun,Me)}},{key:"mdat",value:function(k){return ee.box(ee.types.mdat,k)}}]),ee}();ke.init();var Vt=ke,bt=function(){function ee(){Object(d.a)(this,ee)}return Object(L.a)(ee,null,[{key:"getSilentFrame",value:function(k,$){if(k==="mp4a.40.2"){if($===1)return new Uint8Array([0,200,0,128,35,128]);if($===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if($===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if($===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if($===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if($===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if($===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if($===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if($===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}]),ee}(),Rt=bt,Nt=function ee(oe,k,$,se,ge){Object(d.a)(this,ee),this.dts=oe,this.pts=k,this.duration=$,this.originalDts=se,this.isSyncPoint=ge,this.fileposition=null},xt=function(){function ee(){Object(d.a)(this,ee),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(L.a)(ee,[{key:"appendSyncPoint",value:function(k){k.isSyncPoint=!0,this.syncPoints.push(k)}}]),ee}(),Ut=function(){function ee(){Object(d.a)(this,ee),this._list=[]}return Object(L.a)(ee,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(k){var $=this._list;if(k.length===0)return;$.length>0&&k[0].originalDts<$[$.length-1].originalDts&&this.clear(),Array.prototype.push.apply($,k)}},{key:"getLastSyncPointBeforeDts",value:function(k){if(this._list.length==0)return null;var $=this._list,se=0,ge=$.length-1,Ae=0,Me=0,et=ge;for(k<$[0].dts&&(se=0,Me=et+1);Me<=et;)if(Ae=Me+Math.floor((et-Me)/2),Ae===ge||k>=$[Ae].dts&&k<$[Ae+1].dts){se=Ae;break}else $[Ae].dts<k?Me=Ae+1:et=Ae-1;return this._list[se]}}]),ee}(),Ze=function(){function ee(oe){Object(d.a)(this,ee),this._type=oe,this._list=[],this._lastAppendLocation=-1}return Object(L.a)(ee,[{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(k){var $=this._list;if($.length===0)return-2;var se=$.length-1,ge=0,Ae=0,Me=se,et=0;if(k<$[0].originalBeginDts)return et=-1,et;for(;Ae<=Me;)if(ge=Ae+Math.floor((Me-Ae)/2),ge===se||k>$[ge].lastSample.originalDts&&k<$[ge+1].originalBeginDts){et=ge;break}else $[ge].originalBeginDts<k?Ae=ge+1:Me=ge-1;return et}},{key:"_searchNearestSegmentAfter",value:function(k){return this._searchNearestSegmentBefore(k)+1}},{key:"append",value:function(k){var $=this._list,se=k,ge=this._lastAppendLocation,Ae=0;ge!==-1&&ge<$.length&&se.originalBeginDts>=$[ge].lastSample.originalDts&&(ge===$.length-1||ge<$.length-1&&se.originalBeginDts<$[ge+1].originalBeginDts)?Ae=ge+1:$.length>0&&(Ae=this._searchNearestSegmentBefore(se.originalBeginDts)+1),this._lastAppendLocation=Ae,this._list.splice(Ae,0,se)}},{key:"getLastSegmentBefore",value:function(k){var $=this._searchNearestSegmentBefore(k);return $>=0?this._list[$]:null}},{key:"getLastSampleBefore",value:function(k){var $=this.getLastSegmentBefore(k);return $!=null?$.lastSample:null}},{key:"getLastSyncPointBefore",value:function(k){for(var $=this._searchNearestSegmentBefore(k),se=this._list[$].syncPoints;se.length===0&&$>0;)$--,se=this._list[$].syncPoints;return se.length>0?se[se.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),ee}(),ze=function(){function ee(oe){Object(d.a)(this,ee),this.TAG="MP4Remuxer",this._config=oe,this._isLive=oe.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new Ze("audio"),this._videoSegmentInfoList=new Ze("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661)),this._fillSilentAfterSeek=T.msedge||T.msie,this._mp3UseMpegAudio=!T.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(L.a)(ee,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function(k){return k.onDataAvailable=this.remux.bind(this),k.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(k){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(k,$){if(!this._onMediaSegment)throw new c("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(k,$),this._remuxVideo($),this._remuxAudio(k)}},{key:"_onTrackMetadataReceived",value:function(k,$){var se=null,ge="mp4",Ae=$.codec;if(k==="audio")this._audioMeta=$,$.codec==="mp3"&&this._mp3UseMpegAudio?(ge="mpeg",Ae="",se=new Uint8Array):se=Vt.generateInitSegment($);else if(k==="video")this._videoMeta=$,se=Vt.generateInitSegment($);else return;if(!this._onInitSegment)throw new c("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(k,{type:k,data:se.buffer,codec:Ae,container:"".concat(k,"/").concat(ge),mediaDuration:$.duration})}},{key:"_calculateDtsBase",value:function(k,$){if(this._dtsBaseInited)return;k.samples&&k.samples.length&&(this._audioDtsBase=k.samples[0].dts),$.samples&&$.samples.length&&(this._videoDtsBase=$.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var k=this._videoStashedLastSample,$=this._audioStashedLastSample,se={type:"video",id:1,sequenceNumber:0,samples:[],length:0};k!=null&&(se.samples.push(k),se.length=k.length);var ge={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};$!=null&&(ge.samples.push($),ge.length=$.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(se,!0),this._remuxAudio(ge,!0)}},{key:"_remuxAudio",value:function(k,$){if(this._audioMeta==null)return;var se=k,ge=se.samples,Ae=void 0,Me=-1,et=-1,Wt=-1,er=this._audioMeta.refSampleDuration,Ct=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ht=this._dtsBaseInited&&this._audioNextDts===void 0,kt=!1;if(!ge||ge.length===0)return;if(ge.length===1&&!$)return;var Zt=0,Et=null,ur=0;Ct?(Zt=0,ur=se.length):(Zt=8,ur=8+se.length);var rr=null;if(ge.length>1&&(rr=ge.pop(),ur-=rr.length),this._audioStashedLastSample!=null){var Ke=this._audioStashedLastSample;this._audioStashedLastSample=null,ge.unshift(Ke),ur+=Ke.length}rr!=null&&(this._audioStashedLastSample=rr);var nt=ge[0].dts-this._dtsBase;if(this._audioNextDts)Ae=nt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Ae=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(kt=!0));else{var Ge=this._audioSegmentInfoList.getLastSampleBefore(nt);if(Ge!=null){var ct=nt-(Ge.originalDts+Ge.duration);ct<=3&&(ct=0);var ht=Ge.dts+Ge.duration+ct;Ae=nt-ht}else Ae=0}if(kt){var ut=nt-Ae,We=this._videoSegmentInfoList.getLastSegmentBefore(nt);if(We!=null&&We.beginDts<ut){var tt=Rt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(tt){var ft=We.beginDts,Yt=ut-We.beginDts;a.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(ft,", duration: ").concat(Yt)),ge.unshift({unit:tt,dts:ft,pts:ft}),ur+=tt.byteLength}}else kt=!1}for(var Dt=[],vr=0;vr<ge.length;vr++){var yr=ge[vr],Dr=yr.unit,Rr=yr.dts-this._dtsBase,Jr=Rr-Ae;Me===-1&&(Me=Jr);var $r=0;if(vr!==ge.length-1){var xr=ge[vr+1].dts-this._dtsBase-Ae;$r=xr-Jr}else if(rr!=null){var Vr=rr.dts-this._dtsBase-Ae;$r=Vr-Jr}else Dt.length>=1?$r=Dt[Dt.length-1].duration:$r=Math.floor(er);var Or=!1,nr=null;if($r>er*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!T.safari){Or=!0;var pr=Math.abs($r-er),dr=Math.ceil(pr/er),fr=Jr+er;a.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
||
`+"dts: ".concat(Jr+$r," ms, expected: ").concat(Jr+Math.round(er)," ms, ")+"delta: ".concat(Math.round(pr)," ms, generate: ").concat(dr," frames"));var _r=Rt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);_r==null&&(a.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),_r=Dr),nr=[];for(var Zr=0;Zr<dr;Zr++){var on=Math.round(fr);if(nr.length>0){var jn=nr[nr.length-1];jn.duration=on-jn.dts}var Ur={dts:on,pts:on,cts:0,unit:_r,size:_r.byteLength,duration:0,originalDts:Rr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};nr.push(Ur),ur+=Ur.size,fr+=er}var En=nr[nr.length-1];En.duration=Jr+$r-En.dts,$r=Math.round(er)}Dt.push({dts:Jr,pts:Jr,cts:0,unit:yr.unit,size:yr.unit.byteLength,duration:$r,originalDts:Rr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Or&&Dt.push.apply(Dt,nr)}Ct?Et=new Uint8Array(ur):(Et=new Uint8Array(ur),Et[0]=ur>>>24&255,Et[1]=ur>>>16&255,Et[2]=ur>>>8&255,Et[3]=ur&255,Et.set(Vt.types.mdat,4));for(var pn=0;pn<Dt.length;pn++){var On=Dt[pn].unit;Et.set(On,Zt),Zt+=On.byteLength}var Vn=Dt[Dt.length-1];et=Vn.dts+Vn.duration,this._audioNextDts=et;var Nn=new xt;Nn.beginDts=Me,Nn.endDts=et,Nn.beginPts=Me,Nn.endPts=et,Nn.originalBeginDts=Dt[0].originalDts,Nn.originalEndDts=Vn.originalDts+Vn.duration,Nn.firstSample=new Nt(Dt[0].dts,Dt[0].pts,Dt[0].duration,Dt[0].originalDts,!1),Nn.lastSample=new Nt(Vn.dts,Vn.pts,Vn.duration,Vn.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(Nn),se.samples=Dt,se.sequenceNumber++;var ui=null;Ct?ui=new Uint8Array:ui=Vt.moof(se,Me),se.samples=[],se.length=0;var Xn={type:"audio",data:this._mergeBoxes(ui,Et).buffer,sampleCount:Dt.length,info:Nn};Ct&&Ht&&(Xn.timestampOffset=Me),this._onMediaSegment("audio",Xn)}},{key:"_remuxVideo",value:function(k,$){if(this._videoMeta==null)return;var se=k,ge=se.samples,Ae=void 0,Me=-1,et=-1,Wt=-1,er=-1;if(!ge||ge.length===0)return;if(ge.length===1&&!$)return;var Ct=8,Ht=null,kt=8+k.length,Zt=null;if(ge.length>1&&(Zt=ge.pop(),kt-=Zt.length),this._videoStashedLastSample!=null){var Et=this._videoStashedLastSample;this._videoStashedLastSample=null,ge.unshift(Et),kt+=Et.length}Zt!=null&&(this._videoStashedLastSample=Zt);var ur=ge[0].dts-this._dtsBase;if(this._videoNextDts)Ae=ur-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Ae=0;else{var rr=this._videoSegmentInfoList.getLastSampleBefore(ur);if(rr!=null){var Ke=ur-(rr.originalDts+rr.duration);Ke<=3&&(Ke=0);var nt=rr.dts+rr.duration+Ke;Ae=ur-nt}else Ae=0}for(var Ge=new xt,ct=[],ht=0;ht<ge.length;ht++){var ut=ge[ht],We=ut.dts-this._dtsBase,tt=ut.isKeyframe,ft=We-Ae,Yt=ut.cts,Dt=ft+Yt;Me===-1&&(Me=ft,Wt=Dt);var vr=0;if(ht!==ge.length-1){var yr=ge[ht+1].dts-this._dtsBase-Ae;vr=yr-ft}else if(Zt!=null){var Dr=Zt.dts-this._dtsBase-Ae;vr=Dr-ft}else ct.length>=1?vr=ct[ct.length-1].duration:vr=Math.floor(this._videoMeta.refSampleDuration);if(tt){var Rr=new Nt(ft,Dt,vr,ut.dts,!0);Rr.fileposition=ut.fileposition,Ge.appendSyncPoint(Rr)}ct.push({dts:ft,pts:Dt,cts:Yt,units:ut.units,size:ut.length,isKeyframe:tt,duration:vr,originalDts:We,flags:{isLeading:0,dependsOn:tt?2:1,isDependedOn:tt?1:0,hasRedundancy:0,isNonSync:tt?0:1}})}Ht=new Uint8Array(kt),Ht[0]=kt>>>24&255,Ht[1]=kt>>>16&255,Ht[2]=kt>>>8&255,Ht[3]=kt&255,Ht.set(Vt.types.mdat,4);for(var Jr=0;Jr<ct.length;Jr++)for(var $r=ct[Jr].units;$r.length;){var xr=$r.shift(),Vr=xr.data;Ht.set(Vr,Ct),Ct+=Vr.byteLength}var Or=ct[ct.length-1];if(et=Or.dts+Or.duration,er=Or.pts+Or.duration,this._videoNextDts=et,Ge.beginDts=Me,Ge.endDts=et,Ge.beginPts=Wt,Ge.endPts=er,Ge.originalBeginDts=ct[0].originalDts,Ge.originalEndDts=Or.originalDts+Or.duration,Ge.firstSample=new Nt(ct[0].dts,ct[0].pts,ct[0].duration,ct[0].originalDts,ct[0].isKeyframe),Ge.lastSample=new Nt(Or.dts,Or.pts,Or.duration,Or.originalDts,Or.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Ge),se.samples=ct,se.sequenceNumber++,this._forceFirstIDR){var nr=ct[0].flags;nr.dependsOn=2,nr.isNonSync=0}var pr=Vt.moof(se,Me);se.samples=[],se.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(pr,Ht).buffer,sampleCount:ct.length,info:Ge})}},{key:"_mergeBoxes",value:function(k,$){var se=new Uint8Array(k.byteLength+$.byteLength);return se.set(k,0),se.set($,k.byteLength),se}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(k){this._onInitSegment=k}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(k){this._onMediaSegment=k}}]),ee}(),re=ze,le={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"},Xe=le,_e=function(){function ee(oe,k){Object(d.a)(this,ee),this.TAG="TransmuxingController",this._emitter=new w.a,this._config=k,oe.segments||(oe.segments=[{duration:oe.duration,filesize:oe.filesize,url:oe.url}]),typeof oe.cors!="boolean"&&(oe.cors=!0),typeof oe.withCredentials!="boolean"&&(oe.withCredentials=!1),this._mediaDataSource=oe,this._currentSegmentIndex=0;var $=0;this._mediaDataSource.segments.forEach(function(se){se.timestampBase=$,$+=se.duration,se.cors=oe.cors,se.withCredentials=oe.withCredentials,k.referrerPolicy&&(se.referrerPolicy=k.referrerPolicy)}),!isNaN($)&&this._mediaDataSource.duration!==$&&(this._mediaDataSource.duration=$),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(L.a)(ee,[{key:"destroy",value:function(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(k,$){this._emitter.addListener(k,$)}},{key:"off",value:function(k,$){this._emitter.removeListener(k,$)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(k,$){this._currentSegmentIndex=k;var se=this._mediaDataSource.segments[k],ge=this._ioctl=new P(se,this._config,k);ge.onError=this._onIOException.bind(this),ge.onSeeked=this._onIOSeeked.bind(this),ge.onComplete=this._onIOComplete.bind(this),ge.onRedirect=this._onIORedirect.bind(this),ge.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),$?this._demuxer.bindDataSource(this._ioctl):ge.onDataArrival=this._onInitChunkArrival.bind(this),ge.open($)}},{key:"stop",value:function(){this._internalAbort(),this._disableStatisticsReporter()}},{key:"_internalAbort",value:function(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}},{key:"pause",value:function(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}},{key:"resume",value:function(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}},{key:"seek",value:function(k){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var $=this._searchSegmentIndexContains(k);if($===this._currentSegmentIndex){var se=this._mediaInfo.segments[$];if(se==null)this._pendingSeekTime=k;else{var ge=se.getNearestKeyframe(k);this._remuxer.seek(ge.milliseconds),this._ioctl.seek(ge.fileposition),this._pendingResolveSeekPoint=ge.milliseconds}}else{var Ae=this._mediaInfo.segments[$];if(Ae==null)this._pendingSeekTime=k,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment($);else{var Me=Ae.getNearestKeyframe(k);this._internalAbort(),this._remuxer.seek(k),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[$].timestampBase,this._loadSegment($,Me.fileposition),this._pendingResolveSeekPoint=Me.milliseconds,this._reportSegmentMediaInfo($)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(k){for(var $=this._mediaDataSource.segments,se=$.length-1,ge=0;ge<$.length;ge++)if(k<$[ge].timestampBase){se=ge-1;break}return se}},{key:"_onInitChunkArrival",value:function(k,$){var se=this,ge=null,Ae=0;if($>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Ae=this._demuxer.parseChunks(k,$);else if((ge=Ft.probe(k)).match){this._demuxer=new Ft(ge,this._config),this._remuxer||(this._remuxer=new re(this._config));var Me=this._mediaDataSource;Me.duration!=null&&!isNaN(Me.duration)&&(this._demuxer.overridedDuration=Me.duration),typeof Me.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Me.hasAudio),typeof Me.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Me.hasVideo),this._demuxer.timestampBase=Me.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),Ae=this._demuxer.parseChunks(k,$)}else ge=null,a.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){se._internalAbort()}),this._emitter.emit(Xe.DEMUX_ERROR,Re.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Ae=0;return Ae}},{key:"_onMediaInfo",value:function(k){var $=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},k),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,yt.prototype));var se=Object.assign({},k);Object.setPrototypeOf(se,yt.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=se,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var ge=$._pendingSeekTime;$._pendingSeekTime=null,$.seek(ge)})}},{key:"_onMetaDataArrived",value:function(k){this._emitter.emit(Xe.METADATA_ARRIVED,k)}},{key:"_onScriptDataArrived",value:function(k){this._emitter.emit(Xe.SCRIPTDATA_ARRIVED,k)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(k){var $=k,se=$+1;se<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(se)):(this._remuxer.flushStashedSamples(),this._emitter.emit(Xe.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(k){var $=this._ioctl.extraData;this._mediaDataSource.segments[$].redirectedURL=k}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(Xe.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(k,$){a.e(this.TAG,"IOException: type = ".concat(k,", code = ").concat($.code,", msg = ").concat($.msg)),this._emitter.emit(Xe.IO_ERROR,k,$),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(k,$){a.e(this.TAG,"DemuxException: type = ".concat(k,", info = ").concat($)),this._emitter.emit(Xe.DEMUX_ERROR,k,$)}},{key:"_onRemuxerInitSegmentArrival",value:function(k,$){this._emitter.emit(Xe.INIT_SEGMENT,k,$)}},{key:"_onRemuxerMediaSegmentArrival",value:function(k,$){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(Xe.MEDIA_SEGMENT,k,$),this._pendingResolveSeekPoint!=null&&k==="video"){var se=$.info.syncPoints,ge=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,T.safari&&se.length>0&&se[0].originalDts===ge&&(ge=se[0].pts),this._emitter.emit(Xe.RECOMMEND_SEEKPOINT,ge)}}},{key:"_enableStatisticsReporter",value:function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}},{key:"_disableStatisticsReporter",value:function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"_reportSegmentMediaInfo",value:function(k){var $=this._mediaInfo.segments[k],se=Object.assign({},$);se.duration=this._mediaInfo.duration,se.segmentCount=this._mediaInfo.segmentCount,delete se.segments,delete se.keyframesIndex,this._emitter.emit(Xe.MEDIA_INFO,se)}},{key:"_reportStatisticsInfo",value:function(){var k={};k.url=this._ioctl.currentURL,k.hasRedirect=this._ioctl.hasRedirect,k.hasRedirect&&(k.redirectedURL=this._ioctl.currentRedirectedURL),k.speed=this._ioctl.currentSpeed,k.loaderType=this._ioctl.loaderType,k.currentSegmentIndex=this._currentSegmentIndex,k.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(Xe.STATISTICS_INFO,k)}}]),ee}(),je=_e,ar=function(oe){var k="TransmuxingWorker",$=null,se=ur.bind(this);m.install(),oe.addEventListener("message",function(rr){switch(rr.data.cmd){case"init":$=new je(rr.data.param[0],rr.data.param[1]),$.on(Xe.IO_ERROR,kt.bind(this)),$.on(Xe.DEMUX_ERROR,Zt.bind(this)),$.on(Xe.INIT_SEGMENT,ge.bind(this)),$.on(Xe.MEDIA_SEGMENT,Ae.bind(this)),$.on(Xe.LOADING_COMPLETE,Me.bind(this)),$.on(Xe.RECOVERED_EARLY_EOF,et.bind(this)),$.on(Xe.MEDIA_INFO,Wt.bind(this)),$.on(Xe.METADATA_ARRIVED,er.bind(this)),$.on(Xe.SCRIPTDATA_ARRIVED,Ct.bind(this)),$.on(Xe.STATISTICS_INFO,Ht.bind(this)),$.on(Xe.RECOMMEND_SEEKPOINT,Et.bind(this));break;case"destroy":$&&($.destroy(),$=null),oe.postMessage({msg:"destroyed"});break;case"start":$.start();break;case"stop":$.stop();break;case"seek":$.seek(rr.data.param);break;case"pause":$.pause();break;case"resume":$.resume();break;case"logging_config":{var Ke=rr.data.param;Qe.applyConfig(Ke),Ke.enableCallback===!0?Qe.addLogListener(se):Qe.removeLogListener(se);break}}});function ge(rr,Ke){var nt={msg:Xe.INIT_SEGMENT,data:{type:rr,data:Ke}};oe.postMessage(nt,[Ke.data])}function Ae(rr,Ke){var nt={msg:Xe.MEDIA_SEGMENT,data:{type:rr,data:Ke}};oe.postMessage(nt,[Ke.data])}function Me(){var rr={msg:Xe.LOADING_COMPLETE};oe.postMessage(rr)}function et(){var rr={msg:Xe.RECOVERED_EARLY_EOF};oe.postMessage(rr)}function Wt(rr){var Ke={msg:Xe.MEDIA_INFO,data:rr};oe.postMessage(Ke)}function er(rr){var Ke={msg:Xe.METADATA_ARRIVED,data:rr};oe.postMessage(Ke)}function Ct(rr){var Ke={msg:Xe.SCRIPTDATA_ARRIVED,data:rr};oe.postMessage(Ke)}function Ht(rr){var Ke={msg:Xe.STATISTICS_INFO,data:rr};oe.postMessage(Ke)}function kt(rr,Ke){oe.postMessage({msg:Xe.IO_ERROR,data:{type:rr,info:Ke}})}function Zt(rr,Ke){oe.postMessage({msg:Xe.DEMUX_ERROR,data:{type:rr,info:Ke}})}function Et(rr){oe.postMessage({msg:Xe.RECOMMEND_SEEKPOINT,data:rr})}function ur(rr,Ke){oe.postMessage({msg:"logcat_callback",data:{type:rr,logcat:Ke}})}},zt=ar,Pt=function(){function ee(oe,k){if(Object(d.a)(this,ee),this.TAG="Transmuxer",this._emitter=new w.a,k.enableWorker&&typeof Worker!="undefined")try{var $=e("TJUE");this._worker=$(zt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[oe,k]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Qe.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Qe.getConfig()})}catch(ge){a.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new je(oe,k)}else this._controller=new je(oe,k);if(this._controller){var se=this._controller;se.on(Xe.IO_ERROR,this._onIOError.bind(this)),se.on(Xe.DEMUX_ERROR,this._onDemuxError.bind(this)),se.on(Xe.INIT_SEGMENT,this._onInitSegment.bind(this)),se.on(Xe.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),se.on(Xe.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),se.on(Xe.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),se.on(Xe.MEDIA_INFO,this._onMediaInfo.bind(this)),se.on(Xe.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),se.on(Xe.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),se.on(Xe.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),se.on(Xe.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(L.a)(ee,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Qe.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(k,$){this._emitter.addListener(k,$)}},{key:"off",value:function(k,$){this._emitter.removeListener(k,$)}},{key:"hasWorker",value:function(){return this._worker!=null}},{key:"open",value:function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}},{key:"close",value:function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}},{key:"seek",value:function(k){this._worker?this._worker.postMessage({cmd:"seek",param:k}):this._controller.seek(k)}},{key:"pause",value:function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}},{key:"resume",value:function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}},{key:"_onInitSegment",value:function(k,$){var se=this;Promise.resolve().then(function(){se._emitter.emit(Xe.INIT_SEGMENT,k,$)})}},{key:"_onMediaSegment",value:function(k,$){var se=this;Promise.resolve().then(function(){se._emitter.emit(Xe.MEDIA_SEGMENT,k,$)})}},{key:"_onLoadingComplete",value:function(){var k=this;Promise.resolve().then(function(){k._emitter.emit(Xe.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var k=this;Promise.resolve().then(function(){k._emitter.emit(Xe.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(k){var $=this;Promise.resolve().then(function(){$._emitter.emit(Xe.MEDIA_INFO,k)})}},{key:"_onMetaDataArrived",value:function(k){var $=this;Promise.resolve().then(function(){$._emitter.emit(Xe.METADATA_ARRIVED,k)})}},{key:"_onScriptDataArrived",value:function(k){var $=this;Promise.resolve().then(function(){$._emitter.emit(Xe.SCRIPTDATA_ARRIVED,k)})}},{key:"_onStatisticsInfo",value:function(k){var $=this;Promise.resolve().then(function(){$._emitter.emit(Xe.STATISTICS_INFO,k)})}},{key:"_onIOError",value:function(k,$){var se=this;Promise.resolve().then(function(){se._emitter.emit(Xe.IO_ERROR,k,$)})}},{key:"_onDemuxError",value:function(k,$){var se=this;Promise.resolve().then(function(){se._emitter.emit(Xe.DEMUX_ERROR,k,$)})}},{key:"_onRecommendSeekpoint",value:function(k){var $=this;Promise.resolve().then(function(){$._emitter.emit(Xe.RECOMMEND_SEEKPOINT,k)})}},{key:"_onLoggingConfigChanged",value:function(k){this._worker&&this._worker.postMessage({cmd:"logging_config",param:k})}},{key:"_onWorkerMessage",value:function(k){var $=k.data,se=$.data;if($.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch($.msg){case Xe.INIT_SEGMENT:case Xe.MEDIA_SEGMENT:this._emitter.emit($.msg,se.type,se.data);break;case Xe.LOADING_COMPLETE:case Xe.RECOVERED_EARLY_EOF:this._emitter.emit($.msg);break;case Xe.MEDIA_INFO:Object.setPrototypeOf(se,yt.prototype),this._emitter.emit($.msg,se);break;case Xe.METADATA_ARRIVED:case Xe.SCRIPTDATA_ARRIVED:case Xe.STATISTICS_INFO:this._emitter.emit($.msg,se);break;case Xe.IO_ERROR:case Xe.DEMUX_ERROR:this._emitter.emit($.msg,se.type,se.info);break;case Xe.RECOMMEND_SEEKPOINT:this._emitter.emit($.msg,se);break;case"logcat_callback":a.emitter.emit("log",se.type,se.logcat);break;default:break}}}]),ee}(),qt=Pt,or={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},Kt=or,Mt=function(){function ee(oe){Object(d.a)(this,ee),this.TAG="MSEController",this._config=oe,this._emitter=new w.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new Ut}return Object(L.a)(ee,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(k,$){this._emitter.addListener(k,$)}},{key:"off",value:function(k,$){this._emitter.removeListener(k,$)}},{key:"attachMediaElement",value:function(k){if(this._mediaSource)throw new c("MediaSource has been attached to an HTMLMediaElement!");var $=this._mediaSource=new window.MediaSource;$.addEventListener("sourceopen",this.e.onSourceOpen),$.addEventListener("sourceended",this.e.onSourceEnded),$.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=k,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),k.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var k=this._mediaSource;for(var $ in this._sourceBuffers){var se=this._pendingSegments[$];se.splice(0,se.length),this._pendingSegments[$]=null,this._pendingRemoveRanges[$]=null,this._lastInitSegments[$]=null;var ge=this._sourceBuffers[$];if(ge){if(k.readyState!=="closed"){try{k.removeSourceBuffer(ge)}catch(Ae){a.e(this.TAG,Ae.message)}ge.removeEventListener("error",this.e.onSourceBufferError),ge.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[$]=null,this._sourceBuffers[$]=null}}if(k.readyState==="open")try{k.endOfStream()}catch(Ae){a.e(this.TAG,Ae.message)}k.removeEventListener("sourceopen",this.e.onSourceOpen),k.removeEventListener("sourceended",this.e.onSourceEnded),k.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}},{key:"appendInitSegment",value:function(k,$){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(k),this._pendingSegments[k.type].push(k);return}var se=k,ge="".concat(se.container);se.codec&&se.codec.length>0&&(ge+=";codecs=".concat(se.codec));var Ae=!1;if(a.v(this.TAG,"Received Initialization Segment, mimeType: "+ge),this._lastInitSegments[se.type]=se,ge!==this._mimeTypes[se.type]){if(this._mimeTypes[se.type])a.v(this.TAG,"Notice: ".concat(se.type," mimeType changed, origin: ").concat(this._mimeTypes[se.type],", target: ").concat(ge));else{Ae=!0;try{var Me=this._sourceBuffers[se.type]=this._mediaSource.addSourceBuffer(ge);Me.addEventListener("error",this.e.onSourceBufferError),Me.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(et){a.e(this.TAG,et.message),this._emitter.emit(Kt.ERROR,{code:et.code,msg:et.message});return}}this._mimeTypes[se.type]=ge}$||this._pendingSegments[se.type].push(se),Ae||this._sourceBuffers[se.type]&&!this._sourceBuffers[se.type].updating&&this._doAppendSegments(),T.safari&&se.container==="audio/mpeg"&&se.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=se.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(k){var $=k;this._pendingSegments[$.type].push($),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var se=this._sourceBuffers[$.type];se&&!se.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(k){for(var $ in this._sourceBuffers){if(!this._sourceBuffers[$])continue;var se=this._sourceBuffers[$];if(this._mediaSource.readyState==="open")try{se.abort()}catch(er){a.e(this.TAG,er.message)}this._idrList.clear();var ge=this._pendingSegments[$];if(ge.splice(0,ge.length),this._mediaSource.readyState==="closed")continue;for(var Ae=0;Ae<se.buffered.length;Ae++){var Me=se.buffered.start(Ae),et=se.buffered.end(Ae);this._pendingRemoveRanges[$].push({start:Me,end:et})}if(se.updating||this._doRemoveRanges(),T.safari){var Wt=this._lastInitSegments[$];Wt&&(this._pendingSegments[$].push(Wt),se.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var k=this._mediaSource,$=this._sourceBuffers;if(!k||k.readyState!=="open"){k&&k.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}$.video&&$.video.updating||$.audio&&$.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,k.endOfStream())}},{key:"getNearestKeyframe",value:function(k){return this._idrList.getLastSyncPointBeforeDts(k)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var k=this._mediaElement.currentTime;for(var $ in this._sourceBuffers){var se=this._sourceBuffers[$];if(se){var ge=se.buffered;if(ge.length>=1&&k-ge.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var k=this._mediaElement.currentTime;for(var $ in this._sourceBuffers){var se=this._sourceBuffers[$];if(se){for(var ge=se.buffered,Ae=!1,Me=0;Me<ge.length;Me++){var et=ge.start(Me),Wt=ge.end(Me);if(et<=k&&k<Wt+3){if(k-et>=this._config.autoCleanupMaxBackwardDuration){Ae=!0;var er=k-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[$].push({start:et,end:er})}}else Wt<k&&(Ae=!0,this._pendingRemoveRanges[$].push({start:et,end:Wt}))}Ae&&!se.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var k=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(k.video&&k.video.updating||k.audio&&k.audio.updating)return;var $=this._mediaSource.duration,se=this._pendingMediaDuration;se>0&&(isNaN($)||se>$)&&(a.v(this.TAG,"Update MediaSource duration from ".concat($," to ").concat(se)),this._mediaSource.duration=se),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var k in this._pendingRemoveRanges){if(!this._sourceBuffers[k]||this._sourceBuffers[k].updating)continue;for(var $=this._sourceBuffers[k],se=this._pendingRemoveRanges[k];se.length&&!$.updating;){var ge=se.shift();$.remove(ge.start,ge.end)}}}},{key:"_doAppendSegments",value:function(){var k=this._pendingSegments;for(var $ in k){if(!this._sourceBuffers[$]||this._sourceBuffers[$].updating)continue;if(k[$].length>0){var se=k[$].shift();if(se.timestampOffset){var ge=this._sourceBuffers[$].timestampOffset,Ae=se.timestampOffset/1e3,Me=Math.abs(ge-Ae);Me>.1&&(a.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(ge," to ").concat(Ae)),this._sourceBuffers[$].timestampOffset=Ae),delete se.timestampOffset}if(!se.data||se.data.byteLength===0)continue;try{this._sourceBuffers[$].appendBuffer(se.data),this._isBufferFull=!1,$==="video"&&se.hasOwnProperty("info")&&this._idrList.appendArray(se.info.syncPoints)}catch(et){this._pendingSegments[$].unshift(se),et.code===22?(this._isBufferFull||this._emitter.emit(Kt.BUFFER_FULL),this._isBufferFull=!0):(a.e(this.TAG,et.message),this._emitter.emit(Kt.ERROR,{code:et.code,msg:et.message}))}}}}},{key:"_onSourceOpen",value:function(){if(a.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var k=this._pendingSourceBufferInit;k.length;){var $=k.shift();this.appendInitSegment($,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(Kt.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){a.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){a.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}},{key:"_hasPendingSegments",value:function(){var k=this._pendingSegments;return k.video.length>0||k.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var k=this._pendingRemoveRanges;return k.video.length>0||k.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(Kt.UPDATE_END)}},{key:"_onSourceBufferError",value:function(k){a.e(this.TAG,"SourceBuffer Error: ".concat(k))}}]),ee}(),me=Mt,ce={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},ae={NETWORK_EXCEPTION:h.EXCEPTION,NETWORK_STATUS_CODE_INVALID:h.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:h.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:h.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:Re.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:Re.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:Re.CODEC_UNSUPPORTED},de=function(){function ee(oe,k){if(Object(d.a)(this,ee),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new w.a,this._config=J(),typeof k=="object"&&Object.assign(this._config,k),oe.type.toLowerCase()!=="flv")throw new r("FlvPlayer requires an flv MediaDataSource input!");oe.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=oe,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var $=T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661);this._alwaysSeekKeyframe=!!($||T.msedge||T.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(L.a)(ee,[{key:"destroy",value:function(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(k,$){var se=this;k===we.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){se._emitter.emit(we.MEDIA_INFO,se.mediaInfo)}):k===we.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){se._emitter.emit(we.STATISTICS_INFO,se.statisticsInfo)})),this._emitter.addListener(k,$)}},{key:"off",value:function(k,$){this._emitter.removeListener(k,$)}},{key:"attachMediaElement",value:function(k){var $=this;if(this._mediaElement=k,k.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),k.addEventListener("seeking",this.e.onvSeeking),k.addEventListener("canplay",this.e.onvCanPlay),k.addEventListener("stalled",this.e.onvStalled),k.addEventListener("progress",this.e.onvProgress),this._msectl=new me(this._config),this._msectl.on(Kt.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(Kt.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(Kt.SOURCE_OPEN,function(){$._mseSourceOpened=!0,$._hasPendingLoad&&($._hasPendingLoad=!1,$.load())}),this._msectl.on(Kt.ERROR,function(se){$._emitter.emit(we.ERROR,ce.MEDIA_ERROR,ae.MEDIA_MSE_ERROR,se)}),this._msectl.attachMediaElement(k),this._pendingSeekTime!=null)try{k.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(se){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}},{key:"load",value:function(){var k=this;if(!this._mediaElement)throw new c("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new c("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new qt(this._mediaDataSource,this._config),this._transmuxer.on(Xe.INIT_SEGMENT,function($,se){k._msectl.appendInitSegment(se)}),this._transmuxer.on(Xe.MEDIA_SEGMENT,function($,se){if(k._msectl.appendMediaSegment(se),k._config.lazyLoad&&!k._config.isLive){var ge=k._mediaElement.currentTime;se.info.endDts>=(ge+k._config.lazyLoadMaxDuration)*1e3&&(k._progressChecker==null&&(a.v(k.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),k._suspendTransmuxer()))}}),this._transmuxer.on(Xe.LOADING_COMPLETE,function(){k._msectl.endOfStream(),k._emitter.emit(we.LOADING_COMPLETE)}),this._transmuxer.on(Xe.RECOVERED_EARLY_EOF,function(){k._emitter.emit(we.RECOVERED_EARLY_EOF)}),this._transmuxer.on(Xe.IO_ERROR,function($,se){k._emitter.emit(we.ERROR,ce.NETWORK_ERROR,$,se)}),this._transmuxer.on(Xe.DEMUX_ERROR,function($,se){k._emitter.emit(we.ERROR,ce.MEDIA_ERROR,$,{code:-1,msg:se})}),this._transmuxer.on(Xe.MEDIA_INFO,function($){k._mediaInfo=$,k._emitter.emit(we.MEDIA_INFO,Object.assign({},$))}),this._transmuxer.on(Xe.METADATA_ARRIVED,function($){k._emitter.emit(we.METADATA_ARRIVED,$)}),this._transmuxer.on(Xe.SCRIPTDATA_ARRIVED,function($){k._emitter.emit(we.SCRIPTDATA_ARRIVED,$)}),this._transmuxer.on(Xe.STATISTICS_INFO,function($){k._statisticsInfo=k._fillStatisticsInfo($),k._emitter.emit(we.STATISTICS_INFO,Object.assign({},k._statisticsInfo))}),this._transmuxer.on(Xe.RECOMMEND_SEEKPOINT,function($){k._mediaElement&&!k._config.accurateSeek&&(k._requestSetTime=!0,k._mediaElement.currentTime=$/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_fillStatisticsInfo",value:function(k){if(k.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return k;var $=!0,se=0,ge=0;if(this._mediaElement.getVideoPlaybackQuality){var Ae=this._mediaElement.getVideoPlaybackQuality();se=Ae.totalVideoFrames,ge=Ae.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(se=this._mediaElement.webkitDecodedFrameCount,ge=this._mediaElement.webkitDroppedFrameCount):$=!1;return $&&(k.decodedFrames=se,k.droppedFrames=ge),k}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var k=this._mediaElement.buffered,$=this._mediaElement.currentTime,se=0,ge=0,Ae=0;Ae<k.length;Ae++){var Me=k.start(Ae),et=k.end(Ae);if(Me<=$&&$<et){se=Me,ge=et;break}}ge>=$+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(a.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){a.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}},{key:"_suspendTransmuxer",value:function(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}},{key:"_checkProgressAndResume",value:function(){for(var k=this._mediaElement.currentTime,$=this._mediaElement.buffered,se=!1,ge=0;ge<$.length;ge++){var Ae=$.start(ge),Me=$.end(ge);if(k>=Ae&&k<Me){k>=Me-this._config.lazyLoadRecoverDuration&&(se=!0);break}}se&&(window.clearInterval(this._progressChecker),this._progressChecker=null,se&&(a.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(k){for(var $=this._mediaElement.buffered,se=0;se<$.length;se++){var ge=$.start(se),Ae=$.end(se);if(k>=ge&&k<Ae)return!0}return!1}},{key:"_internalSeek",value:function(k){var $=this._isTimepointBuffered(k),se=!1,ge=0;if(k<1&&this._mediaElement.buffered.length>0){var Ae=this._mediaElement.buffered.start(0);(Ae<1&&k<Ae||T.safari)&&(se=!0,ge=T.safari?.1:Ae)}if(se)this._requestSetTime=!0,this._mediaElement.currentTime=ge;else if($){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=k;else{var Me=this._msectl.getNearestKeyframe(Math.floor(k*1e3));this._requestSetTime=!0,Me!=null?this._mediaElement.currentTime=Me.dts/1e3:this._mediaElement.currentTime=k}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(k),this._transmuxer.seek(Math.floor(k*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=k)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var k=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(k)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(k),this._transmuxer.seek(Math.floor(k*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=k))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(k){var $=this._mediaElement;if(k||!this._receivedCanPlay||$.readyState<2){var se=$.buffered;se.length>0&&$.currentTime<se.start(0)&&(a.w(this.TAG,"Playback seems stuck at ".concat($.currentTime,", seek to ").concat(se.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=se.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(k){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(k){var $=this._mediaElement.currentTime,se=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if($<1&&se.length>0){var ge=se.start(0);if(ge<1&&$<ge||T.safari){this._requestSetTime=!0,this._mediaElement.currentTime=T.safari?.1:ge;return}}if(this._isTimepointBuffered($)){if(this._alwaysSeekKeyframe){var Ae=this._msectl.getNearestKeyframe(Math.floor($*1e3));Ae!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Ae.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:$,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(k){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(k){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(k){this._checkAndResumeStuckPlayback()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(k){this._mediaElement.volume=k}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(k){this._mediaElement.muted=k}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(k){this._mediaElement?this._internalSeek(k):this._pendingSeekTime=k}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}}]),ee}(),Se=de,Ce=function(){function ee(oe,k){if(Object(d.a)(this,ee),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new w.a,this._config=J(),typeof k=="object"&&Object.assign(this._config,k),oe.type.toLowerCase()==="flv")throw new r("NativePlayer does't support flv MediaDataSource input!");if(oe.hasOwnProperty("segments"))throw new r("NativePlayer(".concat(oe.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=oe,this._mediaElement=null}return Object(L.a)(ee,[{key:"destroy",value:function(){this._mediaElement&&(this.unload(),this.detachMediaElement()),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(k,$){var se=this;k===we.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){se._emitter.emit(we.MEDIA_INFO,se.mediaInfo)}):k===we.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){se._emitter.emit(we.STATISTICS_INFO,se.statisticsInfo)})),this._emitter.addListener(k,$)}},{key:"off",value:function(k,$){this._emitter.removeListener(k,$)}},{key:"attachMediaElement",value:function(k){if(this._mediaElement=k,k.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{k.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch($){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new c("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_onvLoadedMetadata",value:function(k){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(we.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(we.STATISTICS_INFO,this.statisticsInfo)}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(k){this._mediaElement.volume=k}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(k){this._mediaElement.muted=k}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(k){this._mediaElement?this._mediaElement.currentTime=k:this._pendingSeekTime=k}},{key:"mediaInfo",get:function(){var k=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",$={mimeType:k+this._mediaDataSource.type};return this._mediaElement&&($.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&($.width=this._mediaElement.videoWidth,$.height=this._mediaElement.videoHeight)),$}},{key:"statisticsInfo",get:function(){var k={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return k;var $=!0,se=0,ge=0;if(this._mediaElement.getVideoPlaybackQuality){var Ae=this._mediaElement.getVideoPlaybackQuality();se=Ae.totalVideoFrames,ge=Ae.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(se=this._mediaElement.webkitDecodedFrameCount,ge=this._mediaElement.webkitDroppedFrameCount):$=!1;return $&&(k.decodedFrames=se,k.droppedFrames=ge),k}}]),ee}(),Ie=Ce;m.install();function Te(ee,oe){var k=ee;if(k==null||typeof k!="object")throw new r("MediaDataSource must be an javascript object!");if(!k.hasOwnProperty("type"))throw new r("MediaDataSource must has type field to indicate video file type!");switch(k.type){case"flv":return new Se(k,oe);default:return new Ie(k,oe)}}function Ee(){return te.supportMSEH264Playback()}function He(){return te.getFeatureList()}var st={};st.createPlayer=Te,st.isSupported=Ee,st.getFeatureList=He,st.BaseLoader=p,st.LoaderStatus=i,st.LoaderErrors=h,st.Events=we,st.ErrorTypes=ce,st.ErrorDetails=ae,st.FlvPlayer=Se,st.NativePlayer=Ie,st.LoggingControl=Qe,Object.defineProperty(st,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var vt=_.a=st},Bsof:function(Z,_,e){var d=e("zYjg"),L=e("oEo5"),v=e("F62y");function m(t,o){d.Group.call(this);var s=new d.Polygon,l=new d.Polyline,n=new d.Text;this.add(s),this.add(l),this.add(n),this.highDownOnUpdate=function(c,r){r==="emphasis"?(l.ignore=l.hoverIgnore,n.ignore=n.hoverIgnore):(l.ignore=l.normalIgnore,n.ignore=n.normalIgnore)},this.updateData(t,o,!0)}var y=m.prototype,w=["itemStyle","opacity"];y.updateData=function(t,o,s){var l=this.childAt(0),n=t.hostModel,c=t.getItemModel(o),r=t.getItemLayout(o),u=t.getItemModel(o).get(w);u=u==null?1:u,l.useStyle({}),s?(l.setShape({points:r.points}),l.setStyle({opacity:0}),d.initProps(l,{style:{opacity:u}},n,o)):d.updateProps(l,{style:{opacity:u},shape:{points:r.points}},n,o);var i=c.getModel("itemStyle"),h=t.getItemVisual(o,"color");l.setStyle(L.defaults({lineJoin:"round",fill:h},i.getItemStyle(["opacity"]))),l.hoverStyle=i.getModel("emphasis").getItemStyle(),this._updateLabel(t,o),d.setHoverStyle(this)},y._updateLabel=function(t,o){var s=this.childAt(1),l=this.childAt(2),n=t.hostModel,c=t.getItemModel(o),r=t.getItemLayout(o),u=r.label,i=t.getItemVisual(o,"color");d.updateProps(s,{shape:{points:u.linePoints||u.linePoints}},n,o),d.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=c.getModel("label"),p=c.getModel("emphasis.label"),A=c.getModel("labelLine"),C=c.getModel("emphasis.labelLine"),i=t.getItemVisual(o,"color");d.setLabelStyle(l.style,l.hoverStyle={},h,p,{labelFetcher:t.hostModel,labelDataIndex:o,defaultText:t.getName(o),autoColor:i,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign}),l.ignore=l.normalIgnore=!h.get("show"),l.hoverIgnore=!p.get("show"),s.ignore=s.normalIgnore=!A.get("show"),s.hoverIgnore=!C.get("show"),s.setStyle({stroke:i}),s.setStyle(A.getModel("lineStyle").getLineStyle()),s.hoverStyle=C.getModel("lineStyle").getLineStyle()},L.inherits(m,d.Group);var f=v.extend({type:"funnel",render:function(t,o,s){var l=t.getData(),n=this._data,c=this.group;l.diff(n).add(function(r){var u=new m(l,r);l.setItemGraphicEl(r,u),c.add(u)}).update(function(r,u){var i=n.getItemGraphicEl(u);i.updateData(l,r),c.add(i),l.setItemGraphicEl(r,i)}).remove(function(r){var u=n.getItemGraphicEl(r);c.remove(u)}).execute(),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),a=f;Z.exports=a},BuVp:function(Z,_){function e(v,m,y,w,f,a){v=v||0;var t=y[1]-y[0];if(f!=null&&(f=L(f,[0,t])),a!=null&&(a=Math.max(a,f!=null?f:0)),w==="all"){var o=Math.abs(m[1]-m[0]);o=L(o,[0,t]),f=a=L(o,[f,a]),w=0}m[0]=L(m[0],y),m[1]=L(m[1],y);var s=d(m,w);m[w]+=v;var l=f||0,n=y.slice();s.sign<0?n[0]+=l:n[1]-=l,m[w]=L(m[w],n);var c=d(m,w);f!=null&&(c.sign!==s.sign||c.span<f)&&(m[1-w]=m[w]+s.sign*f);var c=d(m,w);return a!=null&&c.span>a&&(m[1-w]=m[w]+c.sign*a),m}function d(v,m){var y=v[m]-v[1-m];return{span:Math.abs(y),sign:y>0?-1:y<0?1:m?-1:1}}function L(v,m){return Math.min(m[1]!=null?m[1]:Infinity,Math.max(m[0]!=null?m[0]:-Infinity,v))}Z.exports=e},By5E:function(Z,_,e){/*!
|
||
* html2canvas 1.0.0-rc.7 <https://html2canvas.hertzen.com>
|
||
* Copyright (c) 2020 Niklas von Hertzen <https://hertzen.com>
|
||
* Released under MIT License
|
||
*/(function(d,L){Z.exports=L()})(this,function(){"use strict";/*! *****************************************************************************
|
||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||
this file except in compliance with the License. You may obtain a copy of the
|
||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||
See the Apache Version 2.0 License for specific language governing permissions
|
||
and limitations under the License.
|
||
***************************************************************************** */var d=function(X,ye){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Be,pt){Be.__proto__=pt}||function(Be,pt){for(var tr in pt)pt.hasOwnProperty(tr)&&(Be[tr]=pt[tr])},d(X,ye)};function L(De,X){d(De,X);function ye(){this.constructor=De}De.prototype=X===null?Object.create(X):(ye.prototype=X.prototype,new ye)}var v=function(){return v=Object.assign||function(ye){for(var Be,pt=1,tr=arguments.length;pt<tr;pt++){Be=arguments[pt];for(var br in Be)Object.prototype.hasOwnProperty.call(Be,br)&&(ye[br]=Be[br])}return ye},v.apply(this,arguments)};function m(De,X,ye,Be){return new(ye||(ye=Promise))(function(pt,tr){function br(Wr){try{zr(Be.next(Wr))}catch(ln){tr(ln)}}function Ir(Wr){try{zr(Be.throw(Wr))}catch(ln){tr(ln)}}function zr(Wr){Wr.done?pt(Wr.value):new ye(function(ln){ln(Wr.value)}).then(br,Ir)}zr((Be=Be.apply(De,X||[])).next())})}function y(De,X){var ye={label:0,sent:function(){if(tr[0]&1)throw tr[1];return tr[1]},trys:[],ops:[]},Be,pt,tr,br;return br={next:Ir(0),throw:Ir(1),return:Ir(2)},typeof Symbol=="function"&&(br[Symbol.iterator]=function(){return this}),br;function Ir(Wr){return function(ln){return zr([Wr,ln])}}function zr(Wr){if(Be)throw new TypeError("Generator is already executing.");for(;ye;)try{if(Be=1,pt&&(tr=Wr[0]&2?pt.return:Wr[0]?pt.throw||((tr=pt.return)&&tr.call(pt),0):pt.next)&&!(tr=tr.call(pt,Wr[1])).done)return tr;(pt=0,tr)&&(Wr=[Wr[0]&2,tr.value]);switch(Wr[0]){case 0:case 1:tr=Wr;break;case 4:return ye.label++,{value:Wr[1],done:!1};case 5:ye.label++,pt=Wr[1],Wr=[0];continue;case 7:Wr=ye.ops.pop(),ye.trys.pop();continue;default:if(!(tr=ye.trys,tr=tr.length>0&&tr[tr.length-1])&&(Wr[0]===6||Wr[0]===2)){ye=0;continue}if(Wr[0]===3&&(!tr||Wr[1]>tr[0]&&Wr[1]<tr[3])){ye.label=Wr[1];break}if(Wr[0]===6&&ye.label<tr[1]){ye.label=tr[1],tr=Wr;break}if(tr&&ye.label<tr[2]){ye.label=tr[2],ye.ops.push(Wr);break}tr[2]&&ye.ops.pop(),ye.trys.pop();continue}Wr=X.call(De,ye)}catch(ln){Wr=[6,ln],pt=0}finally{Be=tr=0}if(Wr[0]&5)throw Wr[1];return{value:Wr[0]?Wr[1]:void 0,done:!0}}}for(var w=function(){function De(X,ye,Be,pt){this.left=X,this.top=ye,this.width=Be,this.height=pt}return De.prototype.add=function(X,ye,Be,pt){return new De(this.left+X,this.top+ye,this.width+Be,this.height+pt)},De.fromClientRect=function(X){return new De(X.left,X.top,X.width,X.height)},De}(),f=function(X){return w.fromClientRect(X.getBoundingClientRect())},a=function(X){var ye=X.body,Be=X.documentElement;if(!ye||!Be)throw new Error("Unable to get document size");var pt=Math.max(Math.max(ye.scrollWidth,Be.scrollWidth),Math.max(ye.offsetWidth,Be.offsetWidth),Math.max(ye.clientWidth,Be.clientWidth)),tr=Math.max(Math.max(ye.scrollHeight,Be.scrollHeight),Math.max(ye.offsetHeight,Be.offsetHeight),Math.max(ye.clientHeight,Be.clientHeight));return new w(0,0,pt,tr)},t=function(X){for(var ye=[],Be=0,pt=X.length;Be<pt;){var tr=X.charCodeAt(Be++);if(tr>=55296&&tr<=56319&&Be<pt){var br=X.charCodeAt(Be++);(br&64512)===56320?ye.push(((tr&1023)<<10)+(br&1023)+65536):(ye.push(tr),Be--)}else ye.push(tr)}return ye},o=function(){for(var X=[],ye=0;ye<arguments.length;ye++)X[ye]=arguments[ye];if(String.fromCodePoint)return String.fromCodePoint.apply(String,X);var Be=X.length;if(!Be)return"";for(var pt=[],tr=-1,br="";++tr<Be;){var Ir=X[tr];Ir<=65535?pt.push(Ir):(Ir-=65536,pt.push((Ir>>10)+55296,Ir%1024+56320)),(tr+1===Be||pt.length>16384)&&(br+=String.fromCharCode.apply(String,pt),pt.length=0)}return br},s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),n=0;n<s.length;n++)l[s.charCodeAt(n)]=n;var c=function(X){var ye=X.length*.75,Be=X.length,pt,tr=0,br,Ir,zr,Wr;X[X.length-1]==="="&&(ye--,X[X.length-2]==="="&&ye--);var ln=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ye):new Array(ye),an=Array.isArray(ln)?ln:new Uint8Array(ln);for(pt=0;pt<Be;pt+=4)br=l[X.charCodeAt(pt)],Ir=l[X.charCodeAt(pt+1)],zr=l[X.charCodeAt(pt+2)],Wr=l[X.charCodeAt(pt+3)],an[tr++]=br<<2|Ir>>4,an[tr++]=(Ir&15)<<4|zr>>2,an[tr++]=(zr&3)<<6|Wr&63;return ln},r=function(X){for(var ye=X.length,Be=[],pt=0;pt<ye;pt+=2)Be.push(X[pt+1]<<8|X[pt]);return Be},u=function(X){for(var ye=X.length,Be=[],pt=0;pt<ye;pt+=4)Be.push(X[pt+3]<<24|X[pt+2]<<16|X[pt+1]<<8|X[pt]);return Be},i=5,h=6+5,p=2,A=h-i,C=65536>>i,S=1<<i,E=S-1,O=1024>>i,T=C+O,b=T,x=2048>>6,N=b+x,D=65536>>h,M=1<<A,R=M-1,F=function(X,ye,Be){return X.slice?X.slice(ye,Be):new Uint16Array(Array.prototype.slice.call(X,ye,Be))},B=function(X,ye,Be){return X.slice?X.slice(ye,Be):new Uint32Array(Array.prototype.slice.call(X,ye,Be))},z=function(X){var ye=c(X),Be=Array.isArray(ye)?u(ye):new Uint32Array(ye),pt=Array.isArray(ye)?r(ye):new Uint16Array(ye),tr=24,br=F(pt,tr/2,Be[4]/2),Ir=Be[5]===2?F(pt,(tr+Be[4])/2):B(Be,Math.ceil((tr+Be[4])/4));return new U(Be[0],Be[1],Be[2],Be[3],br,Ir)},U=function(){function De(X,ye,Be,pt,tr,br){this.initialValue=X,this.errorValue=ye,this.highStart=Be,this.highValueIndex=pt,this.index=tr,this.data=br}return De.prototype.get=function(X){var ye;if(X>=0){if(X<55296||X>56319&&X<=65535)return ye=this.index[X>>i],ye=(ye<<p)+(X&E),this.data[ye];if(X<=65535)return ye=this.index[C+(X-55296>>i)],ye=(ye<<p)+(X&E),this.data[ye];if(X<this.highStart)return ye=N-D+(X>>h),ye=this.index[ye],ye+=X>>i&R,ye=this.index[ye],ye=(ye<<p)+(X&E),this.data[ye];if(X<=1114111)return this.data[this.highValueIndex]}return this.errorValue},De}(),K="KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA",W=50,H=1,Y=2,Q=3,P=4,G=5,J=7,he=8,te=9,pe=10,we=11,be=12,Qe=13,$e=14,yt=15,Fe=16,Pe=17,gt=18,it=19,qe=20,At=21,dt=22,wt=23,Ye=24,mt=25,Ue=26,Re=27,Le=28,at=29,Ot=30,Tt=31,Ft=32,ke=33,Vt=34,bt=35,Rt=36,Nt=37,xt=38,Ut=39,Ze=40,ze=41,re=42,le=43,Xe="!",_e="\xD7",je="\xF7",ar=z(K),zt=[Ot,Rt],Pt=[H,Y,Q,G],qt=[pe,he],or=[Re,Ue],Kt=Pt.concat(qt),Mt=[xt,Ut,Ze,Vt,bt],me=[yt,Qe],ce=function(X,ye){ye===void 0&&(ye="strict");var Be=[],pt=[],tr=[];return X.forEach(function(br,Ir){var zr=ar.get(br);if(zr>W?(tr.push(!0),zr-=W):tr.push(!1),["normal","auto","loose"].indexOf(ye)!==-1&&[8208,8211,12316,12448].indexOf(br)!==-1)return pt.push(Ir),Be.push(Fe);if(zr===P||zr===we){if(Ir===0)return pt.push(Ir),Be.push(Ot);var Wr=Be[Ir-1];return Kt.indexOf(Wr)===-1?(pt.push(pt[Ir-1]),Be.push(Wr)):(pt.push(Ir),Be.push(Ot))}if(pt.push(Ir),zr===Tt)return Be.push(ye==="strict"?At:Nt);if(zr===re)return Be.push(Ot);if(zr===at)return Be.push(Ot);if(zr===le)return br>=131072&&br<=196605||br>=196608&&br<=262141?Be.push(Nt):Be.push(Ot);Be.push(zr)}),[pt,Be,tr]},ae=function(X,ye,Be,pt){var tr=pt[Be];if(Array.isArray(X)?X.indexOf(tr)!==-1:X===tr)for(var br=Be;br<=pt.length;){br++;var Ir=pt[br];if(Ir===ye)return!0;if(Ir!==pe)break}if(tr===pe)for(var br=Be;br>0;){br--;var zr=pt[br];if(Array.isArray(X)?X.indexOf(zr)!==-1:X===zr)for(var Wr=Be;Wr<=pt.length;){Wr++;var Ir=pt[Wr];if(Ir===ye)return!0;if(Ir!==pe)break}if(zr!==pe)break}return!1},de=function(X,ye){for(var Be=X;Be>=0;){var pt=ye[Be];if(pt===pe)Be--;else return pt}return 0},Se=function(X,ye,Be,pt,tr){if(Be[pt]===0)return _e;var br=pt-1;if(Array.isArray(tr)&&tr[br]===!0)return _e;var Ir=br-1,zr=br+1,Wr=ye[br],ln=Ir>=0?ye[Ir]:0,an=ye[zr];if(Wr===Y&&an===Q)return _e;if(Pt.indexOf(Wr)!==-1)return Xe;if(Pt.indexOf(an)!==-1)return _e;if(qt.indexOf(an)!==-1)return _e;if(de(br,ye)===he)return je;if(ar.get(X[br])===we&&(an===Nt||an===Ft||an===ke))return _e;if(Wr===J||an===J)return _e;if(Wr===te)return _e;if([pe,Qe,yt].indexOf(Wr)===-1&&an===te)return _e;if([Pe,gt,it,Ye,Le].indexOf(an)!==-1)return _e;if(de(br,ye)===dt)return _e;if(ae(wt,dt,br,ye))return _e;if(ae([Pe,gt],At,br,ye))return _e;if(ae(be,be,br,ye))return _e;if(Wr===pe)return je;if(Wr===wt||an===wt)return _e;if(an===Fe||Wr===Fe)return je;if([Qe,yt,At].indexOf(an)!==-1||Wr===$e)return _e;if(ln===Rt&&me.indexOf(Wr)!==-1)return _e;if(Wr===Le&&an===Rt)return _e;if(an===qe&&zt.concat(qe,it,mt,Nt,Ft,ke).indexOf(Wr)!==-1)return _e;if(zt.indexOf(an)!==-1&&Wr===mt||zt.indexOf(Wr)!==-1&&an===mt)return _e;if(Wr===Re&&[Nt,Ft,ke].indexOf(an)!==-1||[Nt,Ft,ke].indexOf(Wr)!==-1&&an===Ue)return _e;if(zt.indexOf(Wr)!==-1&&or.indexOf(an)!==-1||or.indexOf(Wr)!==-1&&zt.indexOf(an)!==-1)return _e;if([Re,Ue].indexOf(Wr)!==-1&&(an===mt||[dt,yt].indexOf(an)!==-1&&ye[zr+1]===mt)||[dt,yt].indexOf(Wr)!==-1&&an===mt||Wr===mt&&[mt,Le,Ye].indexOf(an)!==-1)return _e;if([mt,Le,Ye,Pe,gt].indexOf(an)!==-1)for(var Mn=br;Mn>=0;){var ii=ye[Mn];if(ii===mt)return _e;if([Le,Ye].indexOf(ii)!==-1)Mn--;else break}if([Re,Ue].indexOf(an)!==-1)for(var Mn=[Pe,gt].indexOf(Wr)!==-1?Ir:br;Mn>=0;){var ii=ye[Mn];if(ii===mt)return _e;if([Le,Ye].indexOf(ii)!==-1)Mn--;else break}if(xt===Wr&&[xt,Ut,Vt,bt].indexOf(an)!==-1||[Ut,Vt].indexOf(Wr)!==-1&&[Ut,Ze].indexOf(an)!==-1||[Ze,bt].indexOf(Wr)!==-1&&an===Ze)return _e;if(Mt.indexOf(Wr)!==-1&&[qe,Ue].indexOf(an)!==-1||Mt.indexOf(an)!==-1&&Wr===Re)return _e;if(zt.indexOf(Wr)!==-1&&zt.indexOf(an)!==-1)return _e;if(Wr===Ye&&zt.indexOf(an)!==-1)return _e;if(zt.concat(mt).indexOf(Wr)!==-1&&an===dt||zt.concat(mt).indexOf(an)!==-1&&Wr===gt)return _e;if(Wr===ze&&an===ze){for(var zn=Be[br],hi=1;zn>0&&(zn--,ye[zn]===ze);)hi++;if(hi%2!==0)return _e}return Wr===Ft&&an===ke?_e:je},Ce=function(X,ye){ye||(ye={lineBreak:"normal",wordBreak:"normal"});var Be=ce(X,ye.lineBreak),pt=Be[0],tr=Be[1],br=Be[2];(ye.wordBreak==="break-all"||ye.wordBreak==="break-word")&&(tr=tr.map(function(zr){return[mt,Ot,re].indexOf(zr)!==-1?Nt:zr}));var Ir=ye.wordBreak==="keep-all"?br.map(function(zr,Wr){return zr&&X[Wr]>=19968&&X[Wr]<=40959}):void 0;return[pt,tr,Ir]},Ie=function(){function De(X,ye,Be,pt){this.codePoints=X,this.required=ye===Xe,this.start=Be,this.end=pt}return De.prototype.slice=function(){return o.apply(void 0,this.codePoints.slice(this.start,this.end))},De}(),Te=function(X,ye){var Be=t(X),pt=Ce(Be,ye),tr=pt[0],br=pt[1],Ir=pt[2],zr=Be.length,Wr=0,ln=0;return{next:function(){if(ln>=zr)return{done:!0,value:null};for(var Mn=_e;ln<zr&&(Mn=Se(Be,br,tr,++ln,Ir))===_e;);if(Mn!==_e||ln===zr){var ii=new Ie(Be,Mn,Wr,ln);return Wr=ln,{value:ii,done:!1}}return{done:!0,value:null}}}},Ee;(function(De){De[De.STRING_TOKEN=0]="STRING_TOKEN",De[De.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",De[De.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",De[De.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",De[De.COMMA_TOKEN=4]="COMMA_TOKEN",De[De.HASH_TOKEN=5]="HASH_TOKEN",De[De.DELIM_TOKEN=6]="DELIM_TOKEN",De[De.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",De[De.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",De[De.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",De[De.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",De[De.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",De[De.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",De[De.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",De[De.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",De[De.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",De[De.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",De[De.NUMBER_TOKEN=17]="NUMBER_TOKEN",De[De.FUNCTION=18]="FUNCTION",De[De.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",De[De.IDENT_TOKEN=20]="IDENT_TOKEN",De[De.COLUMN_TOKEN=21]="COLUMN_TOKEN",De[De.URL_TOKEN=22]="URL_TOKEN",De[De.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",De[De.CDC_TOKEN=24]="CDC_TOKEN",De[De.CDO_TOKEN=25]="CDO_TOKEN",De[De.COLON_TOKEN=26]="COLON_TOKEN",De[De.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",De[De.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",De[De.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",De[De.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",De[De.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",De[De.EOF_TOKEN=32]="EOF_TOKEN"})(Ee||(Ee={}));var He=1<<0,st=1<<1,vt=1<<2,ee=1<<3,oe=10,k=47,$=92,se=9,ge=32,Ae=34,Me=61,et=35,Wt=36,er=37,Ct=39,Ht=40,kt=41,Zt=95,Et=45,ur=33,rr=60,Ke=62,nt=64,Ge=91,ct=93,ht=61,ut=123,We=63,tt=125,ft=124,Yt=126,Dt=128,vr=65533,yr=42,Dr=43,Rr=44,Jr=58,$r=59,xr=46,Vr=0,Or=8,nr=11,pr=14,dr=31,fr=127,_r=-1,Zr=48,on=97,jn=101,Ur=102,En=117,pn=122,On=65,Vn=69,Nn=70,ui=85,Xn=90,mn=function(X){return X>=Zr&&X<=57},cn=function(X){return X>=55296&&X<=57343},da=function(X){return mn(X)||X>=On&&X<=Nn||X>=on&&X<=Ur},Ta=function(X){return X>=on&&X<=pn},ia=function(X){return X>=On&&X<=Xn},fi=function(X){return Ta(X)||ia(X)},ki=function(X){return X>=Dt},Qn=function(X){return X===oe||X===se||X===ge},ea=function(X){return fi(X)||ki(X)||X===Zt},An=function(X){return ea(X)||mn(X)||X===Et},wn=function(X){return X>=Vr&&X<=Or||X===nr||X>=pr&&X<=dr||X===fr},Ln=function(X,ye){return X!==$?!1:ye!==oe},Un=function(X,ye,Be){return X===Et?ea(ye)||Ln(ye,Be):ea(X)?!0:!!(X===$&&Ln(X,ye))},kn=function(X,ye,Be){return X===Dr||X===Et?mn(ye)?!0:ye===xr&&mn(Be):X===xr?mn(ye):mn(X)},ti=function(X){var ye=0,Be=1;(X[ye]===Dr||X[ye]===Et)&&(X[ye]===Et&&(Be=-1),ye++);for(var pt=[];mn(X[ye]);)pt.push(X[ye++]);var tr=pt.length?parseInt(o.apply(void 0,pt),10):0;X[ye]===xr&&ye++;for(var br=[];mn(X[ye]);)br.push(X[ye++]);var Ir=br.length,zr=Ir?parseInt(o.apply(void 0,br),10):0;(X[ye]===Vn||X[ye]===jn)&&ye++;var Wr=1;(X[ye]===Dr||X[ye]===Et)&&(X[ye]===Et&&(Wr=-1),ye++);for(var ln=[];mn(X[ye]);)ln.push(X[ye++]);var an=ln.length?parseInt(o.apply(void 0,ln),10):0;return Be*(tr+zr*Math.pow(10,-Ir))*Math.pow(10,Wr*an)},di={type:Ee.LEFT_PARENTHESIS_TOKEN},Na={type:Ee.RIGHT_PARENTHESIS_TOKEN},Gi={type:Ee.COMMA_TOKEN},ba={type:Ee.SUFFIX_MATCH_TOKEN},Pa={type:Ee.PREFIX_MATCH_TOKEN},Ga={type:Ee.COLUMN_TOKEN},Qi={type:Ee.DASH_MATCH_TOKEN},Lo={type:Ee.INCLUDE_MATCH_TOKEN},sa={type:Ee.LEFT_CURLY_BRACKET_TOKEN},ji={type:Ee.RIGHT_CURLY_BRACKET_TOKEN},wa={type:Ee.SUBSTRING_MATCH_TOKEN},ga={type:Ee.BAD_URL_TOKEN},po={type:Ee.BAD_STRING_TOKEN},Bn={type:Ee.CDO_TOKEN},ta={type:Ee.CDC_TOKEN},So={type:Ee.COLON_TOKEN},To={type:Ee.SEMICOLON_TOKEN},Ha={type:Ee.LEFT_SQUARE_BRACKET_TOKEN},eo={type:Ee.RIGHT_SQUARE_BRACKET_TOKEN},Hi={type:Ee.WHITESPACE_TOKEN},$t={type:Ee.EOF_TOKEN},Tr=function(){function De(){this._value=[]}return De.prototype.write=function(X){this._value=this._value.concat(t(X))},De.prototype.read=function(){for(var X=[],ye=this.consumeToken();ye!==$t;)X.push(ye),ye=this.consumeToken();return X},De.prototype.consumeToken=function(){var X=this.consumeCodePoint();switch(X){case Ae:return this.consumeStringToken(Ae);case et:var ye=this.peekCodePoint(0),Be=this.peekCodePoint(1),pt=this.peekCodePoint(2);if(An(ye)||Ln(Be,pt)){var tr=Un(ye,Be,pt)?st:He,br=this.consumeName();return{type:Ee.HASH_TOKEN,value:br,flags:tr}}break;case Wt:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),ba;break;case Ct:return this.consumeStringToken(Ct);case Ht:return di;case kt:return Na;case yr:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),wa;break;case Dr:if(kn(X,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(X),this.consumeNumericToken();break;case Rr:return Gi;case Et:var Ir=X,zr=this.peekCodePoint(0),Wr=this.peekCodePoint(1);if(kn(Ir,zr,Wr))return this.reconsumeCodePoint(X),this.consumeNumericToken();if(Un(Ir,zr,Wr))return this.reconsumeCodePoint(X),this.consumeIdentLikeToken();if(zr===Et&&Wr===Ke)return this.consumeCodePoint(),this.consumeCodePoint(),ta;break;case xr:if(kn(X,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(X),this.consumeNumericToken();break;case k:if(this.peekCodePoint(0)===yr)for(this.consumeCodePoint();;){var ln=this.consumeCodePoint();if(ln===yr&&(ln=this.consumeCodePoint(),ln===k))return this.consumeToken();if(ln===_r)return this.consumeToken()}break;case Jr:return So;case $r:return To;case rr:if(this.peekCodePoint(0)===ur&&this.peekCodePoint(1)===Et&&this.peekCodePoint(2)===Et)return this.consumeCodePoint(),this.consumeCodePoint(),Bn;break;case nt:var an=this.peekCodePoint(0),Mn=this.peekCodePoint(1),ii=this.peekCodePoint(2);if(Un(an,Mn,ii)){var br=this.consumeName();return{type:Ee.AT_KEYWORD_TOKEN,value:br}}break;case Ge:return Ha;case $:if(Ln(X,this.peekCodePoint(0)))return this.reconsumeCodePoint(X),this.consumeIdentLikeToken();break;case ct:return eo;case ht:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),Pa;break;case ut:return sa;case tt:return ji;case En:case ui:var zn=this.peekCodePoint(0),hi=this.peekCodePoint(1);return zn===Dr&&(da(hi)||hi===We)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(X),this.consumeIdentLikeToken();case ft:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),Qi;if(this.peekCodePoint(0)===ft)return this.consumeCodePoint(),Ga;break;case Yt:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),Lo;break;case _r:return $t}return Qn(X)?(this.consumeWhiteSpace(),Hi):mn(X)?(this.reconsumeCodePoint(X),this.consumeNumericToken()):ea(X)?(this.reconsumeCodePoint(X),this.consumeIdentLikeToken()):{type:Ee.DELIM_TOKEN,value:o(X)}},De.prototype.consumeCodePoint=function(){var X=this._value.shift();return typeof X=="undefined"?-1:X},De.prototype.reconsumeCodePoint=function(X){this._value.unshift(X)},De.prototype.peekCodePoint=function(X){return X>=this._value.length?-1:this._value[X]},De.prototype.consumeUnicodeRangeToken=function(){for(var X=[],ye=this.consumeCodePoint();da(ye)&&X.length<6;)X.push(ye),ye=this.consumeCodePoint();for(var Be=!1;ye===We&&X.length<6;)X.push(ye),ye=this.consumeCodePoint(),Be=!0;if(Be){var pt=parseInt(o.apply(void 0,X.map(function(zr){return zr===We?Zr:zr})),16),tr=parseInt(o.apply(void 0,X.map(function(zr){return zr===We?Nn:zr})),16);return{type:Ee.UNICODE_RANGE_TOKEN,start:pt,end:tr}}var br=parseInt(o.apply(void 0,X),16);if(this.peekCodePoint(0)===Et&&da(this.peekCodePoint(1))){this.consumeCodePoint(),ye=this.consumeCodePoint();for(var Ir=[];da(ye)&&Ir.length<6;)Ir.push(ye),ye=this.consumeCodePoint();var tr=parseInt(o.apply(void 0,Ir),16);return{type:Ee.UNICODE_RANGE_TOKEN,start:br,end:tr}}else return{type:Ee.UNICODE_RANGE_TOKEN,start:br,end:br}},De.prototype.consumeIdentLikeToken=function(){var X=this.consumeName();return X.toLowerCase()==="url"&&this.peekCodePoint(0)===Ht?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ht?(this.consumeCodePoint(),{type:Ee.FUNCTION_TOKEN,value:X}):{type:Ee.IDENT_TOKEN,value:X}},De.prototype.consumeUrlToken=function(){var X=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===_r)return{type:Ee.URL_TOKEN,value:""};var ye=this.peekCodePoint(0);if(ye===Ct||ye===Ae){var Be=this.consumeStringToken(this.consumeCodePoint());return Be.type===Ee.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===_r||this.peekCodePoint(0)===kt)?(this.consumeCodePoint(),{type:Ee.URL_TOKEN,value:Be.value}):(this.consumeBadUrlRemnants(),ga)}for(;;){var pt=this.consumeCodePoint();if(pt===_r||pt===kt)return{type:Ee.URL_TOKEN,value:o.apply(void 0,X)};if(Qn(pt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===_r||this.peekCodePoint(0)===kt?(this.consumeCodePoint(),{type:Ee.URL_TOKEN,value:o.apply(void 0,X)}):(this.consumeBadUrlRemnants(),ga);if(pt===Ae||pt===Ct||pt===Ht||wn(pt))return this.consumeBadUrlRemnants(),ga;if(pt===$)if(Ln(pt,this.peekCodePoint(0)))X.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ga;else X.push(pt)}},De.prototype.consumeWhiteSpace=function(){for(;Qn(this.peekCodePoint(0));)this.consumeCodePoint()},De.prototype.consumeBadUrlRemnants=function(){for(;;){var X=this.consumeCodePoint();if(X===kt||X===_r)return;Ln(X,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},De.prototype.consumeStringSlice=function(X){for(var ye=6e4,Be="";X>0;){var pt=Math.min(ye,X);Be+=o.apply(void 0,this._value.splice(0,pt)),X-=pt}return this._value.shift(),Be},De.prototype.consumeStringToken=function(X){var ye="",Be=0;do{var pt=this._value[Be];if(pt===_r||pt===void 0||pt===X)return ye+=this.consumeStringSlice(Be),{type:Ee.STRING_TOKEN,value:ye};if(pt===oe)return this._value.splice(0,Be),po;if(pt===$){var tr=this._value[Be+1];tr!==_r&&tr!==void 0&&(tr===oe?(ye+=this.consumeStringSlice(Be),Be=-1,this._value.shift()):Ln(pt,tr)&&(ye+=this.consumeStringSlice(Be),ye+=o(this.consumeEscapedCodePoint()),Be=-1))}Be++}while(!0)},De.prototype.consumeNumber=function(){var X=[],ye=vt,Be=this.peekCodePoint(0);for((Be===Dr||Be===Et)&&X.push(this.consumeCodePoint());mn(this.peekCodePoint(0));)X.push(this.consumeCodePoint());Be=this.peekCodePoint(0);var pt=this.peekCodePoint(1);if(Be===xr&&mn(pt))for(X.push(this.consumeCodePoint(),this.consumeCodePoint()),ye=ee;mn(this.peekCodePoint(0));)X.push(this.consumeCodePoint());Be=this.peekCodePoint(0),pt=this.peekCodePoint(1);var tr=this.peekCodePoint(2);if((Be===Vn||Be===jn)&&((pt===Dr||pt===Et)&&mn(tr)||mn(pt)))for(X.push(this.consumeCodePoint(),this.consumeCodePoint()),ye=ee;mn(this.peekCodePoint(0));)X.push(this.consumeCodePoint());return[ti(X),ye]},De.prototype.consumeNumericToken=function(){var X=this.consumeNumber(),ye=X[0],Be=X[1],pt=this.peekCodePoint(0),tr=this.peekCodePoint(1),br=this.peekCodePoint(2);if(Un(pt,tr,br)){var Ir=this.consumeName();return{type:Ee.DIMENSION_TOKEN,number:ye,flags:Be,unit:Ir}}return pt===er?(this.consumeCodePoint(),{type:Ee.PERCENTAGE_TOKEN,number:ye,flags:Be}):{type:Ee.NUMBER_TOKEN,number:ye,flags:Be}},De.prototype.consumeEscapedCodePoint=function(){var X=this.consumeCodePoint();if(da(X)){for(var ye=o(X);da(this.peekCodePoint(0))&&ye.length<6;)ye+=o(this.consumeCodePoint());Qn(this.peekCodePoint(0))&&this.consumeCodePoint();var Be=parseInt(ye,16);return Be===0||cn(Be)||Be>1114111?vr:Be}return X===_r?vr:X},De.prototype.consumeName=function(){for(var X="";;){var ye=this.consumeCodePoint();if(An(ye))X+=o(ye);else if(Ln(ye,this.peekCodePoint(0)))X+=o(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(ye),X}},De}(),Kr=function(){function De(X){this._tokens=X}return De.create=function(X){var ye=new Tr;return ye.write(X),new De(ye.read())},De.parseValue=function(X){return De.create(X).parseComponentValue()},De.parseValues=function(X){return De.create(X).parseComponentValues()},De.prototype.parseComponentValue=function(){for(var X=this.consumeToken();X.type===Ee.WHITESPACE_TOKEN;)X=this.consumeToken();if(X.type===Ee.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(X);var ye=this.consumeComponentValue();do X=this.consumeToken();while(X.type===Ee.WHITESPACE_TOKEN);if(X.type===Ee.EOF_TOKEN)return ye;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},De.prototype.parseComponentValues=function(){for(var X=[];;){var ye=this.consumeComponentValue();if(ye.type===Ee.EOF_TOKEN)return X;X.push(ye),X.push()}},De.prototype.consumeComponentValue=function(){var X=this.consumeToken();switch(X.type){case Ee.LEFT_CURLY_BRACKET_TOKEN:case Ee.LEFT_SQUARE_BRACKET_TOKEN:case Ee.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(X.type);case Ee.FUNCTION_TOKEN:return this.consumeFunction(X)}return X},De.prototype.consumeSimpleBlock=function(X){for(var ye={type:X,values:[]},Be=this.consumeToken();;){if(Be.type===Ee.EOF_TOKEN||kr(Be,X))return ye;this.reconsumeToken(Be),ye.values.push(this.consumeComponentValue()),Be=this.consumeToken()}},De.prototype.consumeFunction=function(X){for(var ye={name:X.value,values:[],type:Ee.FUNCTION};;){var Be=this.consumeToken();if(Be.type===Ee.EOF_TOKEN||Be.type===Ee.RIGHT_PARENTHESIS_TOKEN)return ye;this.reconsumeToken(Be),ye.values.push(this.consumeComponentValue())}},De.prototype.consumeToken=function(){var X=this._tokens.shift();return typeof X=="undefined"?$t:X},De.prototype.reconsumeToken=function(X){this._tokens.unshift(X)},De}(),Ne=function(X){return X.type===Ee.DIMENSION_TOKEN},Lt=function(X){return X.type===Ee.NUMBER_TOKEN},Xt=function(X){return X.type===Ee.IDENT_TOKEN},ir=function(X){return X.type===Ee.STRING_TOKEN},Sr=function(X,ye){return Xt(X)&&X.value===ye},gr=function(X){return X.type!==Ee.WHITESPACE_TOKEN},Mr=function(X){return X.type!==Ee.WHITESPACE_TOKEN&&X.type!==Ee.COMMA_TOKEN},Hr=function(X){var ye=[],Be=[];return X.forEach(function(pt){if(pt.type===Ee.COMMA_TOKEN){if(Be.length===0)throw new Error("Error parsing function args, zero tokens for arg");ye.push(Be),Be=[];return}pt.type!==Ee.WHITESPACE_TOKEN&&Be.push(pt)}),Be.length&&ye.push(Be),ye},kr=function(X,ye){return ye===Ee.LEFT_CURLY_BRACKET_TOKEN&&X.type===Ee.RIGHT_CURLY_BRACKET_TOKEN||ye===Ee.LEFT_SQUARE_BRACKET_TOKEN&&X.type===Ee.RIGHT_SQUARE_BRACKET_TOKEN?!0:ye===Ee.LEFT_PARENTHESIS_TOKEN&&X.type===Ee.RIGHT_PARENTHESIS_TOKEN},Yr=function(X){return X.type===Ee.NUMBER_TOKEN||X.type===Ee.DIMENSION_TOKEN},en=function(X){return X.type===Ee.PERCENTAGE_TOKEN||Yr(X)},lt=function(X){return X.length>1?[X[0],X[1]]:[X[0]]},Qt={type:Ee.NUMBER_TOKEN,number:0,flags:vt},lr={type:Ee.PERCENTAGE_TOKEN,number:50,flags:vt},mr={type:Ee.PERCENTAGE_TOKEN,number:100,flags:vt},Er=function(X,ye,Be){var pt=X[0],tr=X[1];return[Br(pt,ye),Br(typeof tr!="undefined"?tr:pt,Be)]},Br=function(X,ye){if(X.type===Ee.PERCENTAGE_TOKEN)return X.number/100*ye;if(Ne(X))switch(X.unit){case"rem":case"em":return 16*X.number;case"px":default:return X.number}return X.number},rn="deg",dn="grad",yn="rad",Dn="turn",gn={name:"angle",parse:function(X){if(X.type===Ee.DIMENSION_TOKEN)switch(X.unit){case rn:return Math.PI*X.number/180;case dn:return Math.PI/200*X.number;case yn:return X.number;case Dn:return Math.PI*2*X.number}throw new Error("Unsupported angle type")}},Sn=function(X){return X.type===Ee.DIMENSION_TOKEN&&(X.unit===rn||X.unit===dn||X.unit===yn||X.unit===Dn)},_n=function(X){var ye=X.filter(Xt).map(function(Be){return Be.value}).join(" ");switch(ye){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Qt,Qt];case"to top":case"bottom":return Cn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Qt,mr];case"to right":case"left":return Cn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[mr,mr];case"to bottom":case"top":return Cn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[mr,Qt];case"to left":case"right":return Cn(270)}return 0},Cn=function(X){return Math.PI*X/180},In={name:"color",parse:function(X){if(X.type===Ee.FUNCTION){var ye=Di[X.name];if(typeof ye=="undefined")throw new Error('Attempting to parse an unsupported color function "'+X.name+'"');return ye(X.values)}if(X.type===Ee.HASH_TOKEN){if(X.value.length===3){var Be=X.value.substring(0,1),pt=X.value.substring(1,2),tr=X.value.substring(2,3);return Yn(parseInt(Be+Be,16),parseInt(pt+pt,16),parseInt(tr+tr,16),1)}if(X.value.length===4){var Be=X.value.substring(0,1),pt=X.value.substring(1,2),tr=X.value.substring(2,3),br=X.value.substring(3,4);return Yn(parseInt(Be+Be,16),parseInt(pt+pt,16),parseInt(tr+tr,16),parseInt(br+br,16)/255)}if(X.value.length===6){var Be=X.value.substring(0,2),pt=X.value.substring(2,4),tr=X.value.substring(4,6);return Yn(parseInt(Be,16),parseInt(pt,16),parseInt(tr,16),1)}if(X.value.length===8){var Be=X.value.substring(0,2),pt=X.value.substring(2,4),tr=X.value.substring(4,6),br=X.value.substring(6,8);return Yn(parseInt(Be,16),parseInt(pt,16),parseInt(tr,16),parseInt(br,16)/255)}}if(X.type===Ee.IDENT_TOKEN){var Ir=wi[X.value.toUpperCase()];if(typeof Ir!="undefined")return Ir}return wi.TRANSPARENT}},fn=function(X){return(255&X)===0},Tn=function(X){var ye=255&X,Be=255&X>>8,pt=255&X>>16,tr=255&X>>24;return ye<255?"rgba("+tr+","+pt+","+Be+","+ye/255+")":"rgb("+tr+","+pt+","+Be+")"},Yn=function(X,ye,Be,pt){return(X<<24|ye<<16|Be<<8|Math.round(pt*255)<<0)>>>0},Gn=function(X,ye){if(X.type===Ee.NUMBER_TOKEN)return X.number;if(X.type===Ee.PERCENTAGE_TOKEN){var Be=ye===3?1:255;return ye===3?X.number/100*Be:Math.round(X.number/100*Be)}return 0},Hn=function(X){var ye=X.filter(Mr);if(ye.length===3){var Be=ye.map(Gn),pt=Be[0],tr=Be[1],br=Be[2];return Yn(pt,tr,br,1)}if(ye.length===4){var Ir=ye.map(Gn),pt=Ir[0],tr=Ir[1],br=Ir[2],zr=Ir[3];return Yn(pt,tr,br,zr)}return 0};function zi(De,X,ye){return ye<0&&(ye+=1),ye>=1&&(ye-=1),ye<1/6?(X-De)*ye*6+De:ye<1/2?X:ye<2/3?(X-De)*6*(2/3-ye)+De:De}var Oi=function(X){var ye=X.filter(Mr),Be=ye[0],pt=ye[1],tr=ye[2],br=ye[3],Ir=(Be.type===Ee.NUMBER_TOKEN?Cn(Be.number):gn.parse(Be))/(Math.PI*2),zr=en(pt)?pt.number/100:0,Wr=en(tr)?tr.number/100:0,ln=typeof br!="undefined"&&en(br)?Br(br,1):1;if(zr===0)return Yn(Wr*255,Wr*255,Wr*255,1);var an=Wr<=.5?Wr*(zr+1):Wr+zr-Wr*zr,Mn=Wr*2-an,ii=zi(Mn,an,Ir+1/3),zn=zi(Mn,an,Ir),hi=zi(Mn,an,Ir-1/3);return Yn(ii*255,zn*255,hi*255,ln)},Di={hsl:Oi,hsla:Oi,rgb:Hn,rgba:Hn},wi={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Pn;(function(De){De[De.VALUE=0]="VALUE",De[De.LIST=1]="LIST",De[De.IDENT_VALUE=2]="IDENT_VALUE",De[De.TYPE_VALUE=3]="TYPE_VALUE",De[De.TOKEN_VALUE=4]="TOKEN_VALUE"})(Pn||(Pn={}));var Ei;(function(De){De[De.BORDER_BOX=0]="BORDER_BOX",De[De.PADDING_BOX=1]="PADDING_BOX",De[De.CONTENT_BOX=2]="CONTENT_BOX"})(Ei||(Ei={}));var va={name:"background-clip",initialValue:"border-box",prefix:!1,type:Pn.LIST,parse:function(X){return X.map(function(ye){if(Xt(ye))switch(ye.value){case"padding-box":return Ei.PADDING_BOX;case"content-box":return Ei.CONTENT_BOX}return Ei.BORDER_BOX})}},Sa={name:"background-color",initialValue:"transparent",prefix:!1,type:Pn.TYPE_VALUE,format:"color"},gi=function(X){var ye=In.parse(X[0]),Be=X[1];return Be&&en(Be)?{color:ye,stop:Be}:{color:ye,stop:null}},pi=function(X,ye){var Be=X[0],pt=X[X.length-1];Be.stop===null&&(Be.stop=Qt),pt.stop===null&&(pt.stop=mr);for(var tr=[],br=0,Ir=0;Ir<X.length;Ir++){var zr=X[Ir].stop;if(zr!==null){var Wr=Br(zr,ye);Wr>br?tr.push(Wr):tr.push(br),br=Wr}else tr.push(null)}for(var ln=null,Ir=0;Ir<tr.length;Ir++){var an=tr[Ir];if(an===null)ln===null&&(ln=Ir);else if(ln!==null){for(var Mn=Ir-ln,ii=tr[ln-1],zn=(an-ii)/(Mn+1),hi=1;hi<=Mn;hi++)tr[ln+hi-1]=zn*hi;ln=null}}return X.map(function(ma,xi){var oa=ma.color;return{color:oa,stop:Math.max(Math.min(1,tr[xi]/ye),0)}})},Ii=function(X,ye,Be){var pt=ye/2,tr=Be/2,br=Br(X[0],ye)-pt,Ir=tr-Br(X[1],Be);return(Math.atan2(Ir,br)+Math.PI*2)%(Math.PI*2)},Ci=function(X,ye,Be){var pt=typeof X=="number"?X:Ii(X,ye,Be),tr=Math.abs(ye*Math.sin(pt))+Math.abs(Be*Math.cos(pt)),br=ye/2,Ir=Be/2,zr=tr/2,Wr=Math.sin(pt-Math.PI/2)*zr,ln=Math.cos(pt-Math.PI/2)*zr;return[tr,br-ln,br+ln,Ir-Wr,Ir+Wr]},Si=function(X,ye){return Math.sqrt(X*X+ye*ye)},la=function(X,ye,Be,pt,tr){var br=[[0,0],[0,ye],[X,0],[X,ye]];return br.reduce(function(Ir,zr){var Wr=zr[0],ln=zr[1],an=Si(Be-Wr,pt-ln);return(tr?an<Ir.optimumDistance:an>Ir.optimumDistance)?{optimumCorner:zr,optimumDistance:an}:Ir},{optimumDistance:tr?Infinity:-Infinity,optimumCorner:null}).optimumCorner},Da=function(X,ye,Be,pt,tr){var br=0,Ir=0;switch(X.size){case Wi.CLOSEST_SIDE:X.shape===ra.CIRCLE?br=Ir=Math.min(Math.abs(ye),Math.abs(ye-pt),Math.abs(Be),Math.abs(Be-tr)):X.shape===ra.ELLIPSE&&(br=Math.min(Math.abs(ye),Math.abs(ye-pt)),Ir=Math.min(Math.abs(Be),Math.abs(Be-tr)));break;case Wi.CLOSEST_CORNER:if(X.shape===ra.CIRCLE)br=Ir=Math.min(Si(ye,Be),Si(ye,Be-tr),Si(ye-pt,Be),Si(ye-pt,Be-tr));else if(X.shape===ra.ELLIPSE){var zr=Math.min(Math.abs(Be),Math.abs(Be-tr))/Math.min(Math.abs(ye),Math.abs(ye-pt)),Wr=la(pt,tr,ye,Be,!0),ln=Wr[0],an=Wr[1];br=Si(ln-ye,(an-Be)/zr),Ir=zr*br}break;case Wi.FARTHEST_SIDE:X.shape===ra.CIRCLE?br=Ir=Math.max(Math.abs(ye),Math.abs(ye-pt),Math.abs(Be),Math.abs(Be-tr)):X.shape===ra.ELLIPSE&&(br=Math.max(Math.abs(ye),Math.abs(ye-pt)),Ir=Math.max(Math.abs(Be),Math.abs(Be-tr)));break;case Wi.FARTHEST_CORNER:if(X.shape===ra.CIRCLE)br=Ir=Math.max(Si(ye,Be),Si(ye,Be-tr),Si(ye-pt,Be),Si(ye-pt,Be-tr));else if(X.shape===ra.ELLIPSE){var zr=Math.max(Math.abs(Be),Math.abs(Be-tr))/Math.max(Math.abs(ye),Math.abs(ye-pt)),Mn=la(pt,tr,ye,Be,!1),ln=Mn[0],an=Mn[1];br=Si(ln-ye,(an-Be)/zr),Ir=zr*br}break}return Array.isArray(X.size)&&(br=Br(X.size[0],pt),Ir=X.size.length===2?Br(X.size[1],tr):br),[br,Ir]},Oa=function(X){var ye=Cn(180),Be=[];return Hr(X).forEach(function(pt,tr){if(tr===0){var br=pt[0];if(br.type===Ee.IDENT_TOKEN&&br.value==="to"){ye=_n(pt);return}else if(Sn(br)){ye=gn.parse(br);return}}var Ir=gi(pt);Be.push(Ir)}),{angle:ye,stops:Be,type:Ka.LINEAR_GRADIENT}},Aa=function(X){var ye=Cn(180),Be=[];return Hr(X).forEach(function(pt,tr){if(tr===0){var br=pt[0];if(br.type===Ee.IDENT_TOKEN&&["top","left","right","bottom"].indexOf(br.value)!==-1){ye=_n(pt);return}else if(Sn(br)){ye=(gn.parse(br)+Cn(270))%Cn(360);return}}var Ir=gi(pt);Be.push(Ir)}),{angle:ye,stops:Be,type:Ka.LINEAR_GRADIENT}},ya=function(X){var ye=123;if(X.createRange){var Be=X.createRange();if(Be.getBoundingClientRect){var pt=X.createElement("boundtest");pt.style.height=ye+"px",pt.style.display="block",X.body.appendChild(pt),Be.selectNode(pt);var tr=Be.getBoundingClientRect(),br=Math.round(tr.height);if(X.body.removeChild(pt),br===ye)return!0}}return!1},aa=function(){return typeof new Image().crossOrigin!="undefined"},mi=function(){return typeof new XMLHttpRequest().responseType=="string"},$n=function(X){var ye=new Image,Be=X.createElement("canvas"),pt=Be.getContext("2d");if(!pt)return!1;ye.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{pt.drawImage(ye,0,0),Be.toDataURL()}catch(tr){return!1}return!0},Li=function(X){return X[0]===0&&X[1]===255&&X[2]===0&&X[3]===255},_i=function(X){var ye=X.createElement("canvas"),Be=100;ye.width=Be,ye.height=Be;var pt=ye.getContext("2d");if(!pt)return Promise.reject(!1);pt.fillStyle="rgb(0, 255, 0)",pt.fillRect(0,0,Be,Be);var tr=new Image,br=ye.toDataURL();tr.src=br;var Ir=oi(Be,Be,0,0,tr);return pt.fillStyle="red",pt.fillRect(0,0,Be,Be),Fi(Ir).then(function(zr){pt.drawImage(zr,0,0);var Wr=pt.getImageData(0,0,Be,Be).data;pt.fillStyle="red",pt.fillRect(0,0,Be,Be);var ln=X.createElement("div");return ln.style.backgroundImage="url("+br+")",ln.style.height=Be+"px",Li(Wr)?Fi(oi(Be,Be,0,0,ln)):Promise.reject(!1)}).then(function(zr){return pt.drawImage(zr,0,0),Li(pt.getImageData(0,0,Be,Be).data)}).catch(function(){return!1})},oi=function(X,ye,Be,pt,tr){var br="http://www.w3.org/2000/svg",Ir=document.createElementNS(br,"svg"),zr=document.createElementNS(br,"foreignObject");return Ir.setAttributeNS(null,"width",X.toString()),Ir.setAttributeNS(null,"height",ye.toString()),zr.setAttributeNS(null,"width","100%"),zr.setAttributeNS(null,"height","100%"),zr.setAttributeNS(null,"x",Be.toString()),zr.setAttributeNS(null,"y",pt.toString()),zr.setAttributeNS(null,"externalResourcesRequired","true"),Ir.appendChild(zr),zr.appendChild(tr),Ir},Fi=function(X){return new Promise(function(ye,Be){var pt=new Image;pt.onload=function(){return ye(pt)},pt.onerror=Be,pt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(X))})},Yi={get SUPPORT_RANGE_BOUNDS(){var De=ya(document);return Object.defineProperty(Yi,"SUPPORT_RANGE_BOUNDS",{value:De}),De},get SUPPORT_SVG_DRAWING(){var De=$n(document);return Object.defineProperty(Yi,"SUPPORT_SVG_DRAWING",{value:De}),De},get SUPPORT_FOREIGNOBJECT_DRAWING(){var De=typeof Array.from=="function"&&typeof window.fetch=="function"?_i(document):Promise.resolve(!1);return Object.defineProperty(Yi,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:De}),De},get SUPPORT_CORS_IMAGES(){var De=aa();return Object.defineProperty(Yi,"SUPPORT_CORS_IMAGES",{value:De}),De},get SUPPORT_RESPONSE_TYPE(){var De=mi();return Object.defineProperty(Yi,"SUPPORT_RESPONSE_TYPE",{value:De}),De},get SUPPORT_CORS_XHR(){var De="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Yi,"SUPPORT_CORS_XHR",{value:De}),De}},Xi=function(){function De(X){var ye=X.id,Be=X.enabled;this.id=ye,this.enabled=Be,this.start=Date.now()}return De.prototype.debug=function(){for(var X=[],ye=0;ye<arguments.length;ye++)X[ye]=arguments[ye];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(X)):this.info.apply(this,X))},De.prototype.getTime=function(){return Date.now()-this.start},De.create=function(X){De.instances[X.id]=new De(X)},De.destroy=function(X){delete De.instances[X]},De.getInstance=function(X){var ye=De.instances[X];if(typeof ye=="undefined")throw new Error("No logger instance found with id "+X);return ye},De.prototype.info=function(){for(var X=[],ye=0;ye<arguments.length;ye++)X[ye]=arguments[ye];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(X)))},De.prototype.error=function(){for(var X=[],ye=0;ye<arguments.length;ye++)X[ye]=arguments[ye];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(X)):this.info.apply(this,X))},De.instances={},De}(),Zi=function(){function De(){}return De.create=function(X,ye){return De._caches[X]=new Fa(X,ye)},De.destroy=function(X){delete De._caches[X]},De.open=function(X){var ye=De._caches[X];if(typeof ye!="undefined")return ye;throw new Error('Cache with key "'+X+'" not found')},De.getOrigin=function(X){var ye=De._link;return ye?(ye.href=X,ye.href=ye.href,ye.protocol+ye.hostname+ye.port):"about:blank"},De.isSameOrigin=function(X){return De.getOrigin(X)===De._origin},De.setContext=function(X){De._link=X.document.createElement("a"),De._origin=De.getOrigin(X.location.href)},De.getInstance=function(){var X=De._current;if(X===null)throw new Error("No cache instance attached");return X},De.attachInstance=function(X){De._current=X},De.detachInstance=function(){De._current=null},De._caches={},De._origin="about:blank",De._current=null,De}(),Fa=function(){function De(X,ye){this.id=X,this._options=ye,this._cache={}}return De.prototype.addImage=function(X){var ye=Promise.resolve();return this.has(X)||(ka(X)||Ua(X))&&(this._cache[X]=this.loadImage(X)),ye},De.prototype.match=function(X){return this._cache[X]},De.prototype.loadImage=function(X){return m(this,void 0,void 0,function(){var ye,Be,pt,tr,br=this;return y(this,function(Ir){switch(Ir.label){case 0:return ye=Zi.isSameOrigin(X),Be=!Ti(X)&&this._options.useCORS===!0&&Yi.SUPPORT_CORS_IMAGES&&!ye,pt=!Ti(X)&&!ye&&typeof this._options.proxy=="string"&&Yi.SUPPORT_CORS_XHR&&!Be,!ye&&this._options.allowTaint===!1&&!Ti(X)&&!pt&&!Be?[2]:(tr=X,pt?[4,this.proxy(tr)]:[3,2]);case 1:tr=Ir.sent(),Ir.label=2;case 2:return Xi.getInstance(this.id).debug("Added image "+X.substring(0,256)),[4,new Promise(function(zr,Wr){var ln=new Image;ln.onload=function(){return zr(ln)},ln.onerror=Wr,(to(tr)||Be)&&(ln.crossOrigin="anonymous"),ln.src=tr,ln.complete===!0&&setTimeout(function(){return zr(ln)},500),br._options.imageTimeout>0&&setTimeout(function(){return Wr("Timed out ("+br._options.imageTimeout+"ms) loading image")},br._options.imageTimeout)})];case 3:return[2,Ir.sent()]}})})},De.prototype.has=function(X){return typeof this._cache[X]!="undefined"},De.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},De.prototype.proxy=function(X){var ye=this,Be=this._options.proxy;if(!Be)throw new Error("No proxy defined");var pt=X.substring(0,256);return new Promise(function(tr,br){var Ir=Yi.SUPPORT_RESPONSE_TYPE?"blob":"text",zr=new XMLHttpRequest;if(zr.onload=function(){if(zr.status===200)if(Ir==="text")tr(zr.response);else{var ln=new FileReader;ln.addEventListener("load",function(){return tr(ln.result)},!1),ln.addEventListener("error",function(an){return br(an)},!1),ln.readAsDataURL(zr.response)}else br("Failed to proxy resource "+pt+" with status code "+zr.status)},zr.onerror=br,zr.open("GET",Be+"?url="+encodeURIComponent(X)+"&responseType="+Ir),Ir!=="text"&&zr instanceof XMLHttpRequest&&(zr.responseType=Ir),ye._options.imageTimeout){var Wr=ye._options.imageTimeout;zr.timeout=Wr,zr.ontimeout=function(){return br("Timed out ("+Wr+"ms) proxying "+pt)}}zr.send()})},De}(),Mi=/^data:image\/svg\+xml/i,ca=/^data:image\/.*;base64,/i,ha=/^data:image\/.*/i,Ua=function(X){return Yi.SUPPORT_SVG_DRAWING||!ua(X)},Ti=function(X){return ha.test(X)},to=function(X){return ca.test(X)},ka=function(X){return X.substr(0,4)==="blob"},ua=function(X){return X.substr(-3).toLowerCase()==="svg"||Mi.test(X)},Ya=function(X){var ye=Cn(180),Be=[],pt=Ka.LINEAR_GRADIENT,tr=ra.CIRCLE,br=Wi.FARTHEST_CORNER,Ir=[];return Hr(X).forEach(function(zr,Wr){var ln=zr[0];if(Wr===0){if(Xt(ln)&&ln.value==="linear"){pt=Ka.LINEAR_GRADIENT;return}else if(Xt(ln)&&ln.value==="radial"){pt=Ka.RADIAL_GRADIENT;return}}if(ln.type===Ee.FUNCTION){if(ln.name==="from"){var an=In.parse(ln.values[0]);Be.push({stop:Qt,color:an})}else if(ln.name==="to"){var an=In.parse(ln.values[0]);Be.push({stop:mr,color:an})}else if(ln.name==="color-stop"){var Mn=ln.values.filter(Mr);if(Mn.length===2){var an=In.parse(Mn[1]),ii=Mn[0];Lt(ii)&&Be.push({stop:{type:Ee.PERCENTAGE_TOKEN,number:ii.number*100,flags:ii.flags},color:an})}}}}),pt===Ka.LINEAR_GRADIENT?{angle:(ye+Cn(180))%Cn(360),stops:Be,type:pt}:{size:br,shape:tr,stops:Be,position:Ir,type:pt}},vi="closest-side",_a="farthest-side",Ra="closest-corner",Pi="farthest-corner",qi="circle",ro="ellipse",Ni="cover",za="contain",lo=function(X){var ye=ra.CIRCLE,Be=Wi.FARTHEST_CORNER,pt=[],tr=[];return Hr(X).forEach(function(br,Ir){var zr=!0;if(Ir===0){var Wr=!1;zr=br.reduce(function(an,Mn){if(Wr)if(Xt(Mn))switch(Mn.value){case"center":return tr.push(lr),an;case"top":case"left":return tr.push(Qt),an;case"right":case"bottom":return tr.push(mr),an}else(en(Mn)||Yr(Mn))&&tr.push(Mn);else if(Xt(Mn))switch(Mn.value){case qi:return ye=ra.CIRCLE,!1;case ro:return ye=ra.ELLIPSE,!1;case"at":return Wr=!0,!1;case vi:return Be=Wi.CLOSEST_SIDE,!1;case Ni:case _a:return Be=Wi.FARTHEST_SIDE,!1;case za:case Ra:return Be=Wi.CLOSEST_CORNER,!1;case Pi:return Be=Wi.FARTHEST_CORNER,!1}else if(Yr(Mn)||en(Mn))return Array.isArray(Be)||(Be=[]),Be.push(Mn),!1;return an},zr)}if(zr){var ln=gi(br);pt.push(ln)}}),{size:Be,shape:ye,stops:pt,position:tr,type:Ka.RADIAL_GRADIENT}},mo=function(X){var ye=ra.CIRCLE,Be=Wi.FARTHEST_CORNER,pt=[],tr=[];return Hr(X).forEach(function(br,Ir){var zr=!0;if(Ir===0?zr=br.reduce(function(ln,an){if(Xt(an))switch(an.value){case"center":return tr.push(lr),!1;case"top":case"left":return tr.push(Qt),!1;case"right":case"bottom":return tr.push(mr),!1}else if(en(an)||Yr(an))return tr.push(an),!1;return ln},zr):Ir===1&&(zr=br.reduce(function(ln,an){if(Xt(an))switch(an.value){case qi:return ye=ra.CIRCLE,!1;case ro:return ye=ra.ELLIPSE,!1;case za:case vi:return Be=Wi.CLOSEST_SIDE,!1;case _a:return Be=Wi.FARTHEST_SIDE,!1;case Ra:return Be=Wi.CLOSEST_CORNER,!1;case Ni:case Pi:return Be=Wi.FARTHEST_CORNER,!1}else if(Yr(an)||en(an))return Array.isArray(Be)||(Be=[]),Be.push(an),!1;return ln},zr)),zr){var Wr=gi(br);pt.push(Wr)}}),{size:Be,shape:ye,stops:pt,position:tr,type:Ka.RADIAL_GRADIENT}},Ka;(function(De){De[De.URL=0]="URL",De[De.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",De[De.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Ka||(Ka={}));var Io=function(X){return X.type===Ka.LINEAR_GRADIENT},Ja=function(X){return X.type===Ka.RADIAL_GRADIENT},ra;(function(De){De[De.CIRCLE=0]="CIRCLE",De[De.ELLIPSE=1]="ELLIPSE"})(ra||(ra={}));var Wi;(function(De){De[De.CLOSEST_SIDE=0]="CLOSEST_SIDE",De[De.FARTHEST_SIDE=1]="FARTHEST_SIDE",De[De.CLOSEST_CORNER=2]="CLOSEST_CORNER",De[De.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(Wi||(Wi={}));var go={name:"image",parse:function(X){if(X.type===Ee.URL_TOKEN){var ye={url:X.value,type:Ka.URL};return Zi.getInstance().addImage(X.value),ye}if(X.type===Ee.FUNCTION){var Be=si[X.name];if(typeof Be=="undefined")throw new Error('Attempting to parse an unsupported image function "'+X.name+'"');return Be(X.values)}throw new Error("Unsupported image type")}};function xa(De){return De.type!==Ee.FUNCTION||si[De.name]}var si={"linear-gradient":Oa,"-moz-linear-gradient":Aa,"-ms-linear-gradient":Aa,"-o-linear-gradient":Aa,"-webkit-linear-gradient":Aa,"radial-gradient":lo,"-moz-radial-gradient":mo,"-ms-radial-gradient":mo,"-o-radial-gradient":mo,"-webkit-radial-gradient":mo,"-webkit-gradient":Ya},Ki={name:"background-image",initialValue:"none",type:Pn.LIST,prefix:!1,parse:function(X){if(X.length===0)return[];var ye=X[0];return ye.type===Ee.IDENT_TOKEN&&ye.value==="none"?[]:X.filter(function(Be){return Mr(Be)&&xa(Be)}).map(go.parse)}},xo={name:"background-origin",initialValue:"border-box",prefix:!1,type:Pn.LIST,parse:function(X){return X.map(function(ye){if(Xt(ye))switch(ye.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},yo={name:"background-position",initialValue:"0% 0%",type:Pn.LIST,prefix:!1,parse:function(X){return Hr(X).map(function(ye){return ye.filter(en)}).map(lt)}},no;(function(De){De[De.REPEAT=0]="REPEAT",De[De.NO_REPEAT=1]="NO_REPEAT",De[De.REPEAT_X=2]="REPEAT_X",De[De.REPEAT_Y=3]="REPEAT_Y"})(no||(no={}));var bo={name:"background-repeat",initialValue:"repeat",prefix:!1,type:Pn.LIST,parse:function(X){return Hr(X).map(function(ye){return ye.filter(Xt).map(function(Be){return Be.value}).join(" ")}).map(Mo)}},Mo=function(X){switch(X){case"no-repeat":return no.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return no.REPEAT_X;case"repeat-y":case"no-repeat repeat":return no.REPEAT_Y;case"repeat":default:return no.REPEAT}},fa;(function(De){De.AUTO="auto",De.CONTAIN="contain",De.COVER="cover"})(fa||(fa={}));var Vi={name:"background-size",initialValue:"0",prefix:!1,type:Pn.LIST,parse:function(X){return Hr(X).map(function(ye){return ye.filter(io)})}},io=function(X){return Xt(X)||en(X)},$a=function(X){return{name:"border-"+X+"-color",initialValue:"transparent",prefix:!1,type:Pn.TYPE_VALUE,format:"color"}},Ea=$a("top"),Ji=$a("right"),ao=$a("bottom"),es=$a("left"),ss=function(X){return{name:"border-radius-"+X,initialValue:"0 0",prefix:!1,type:Pn.LIST,parse:function(Be){return lt(Be.filter(en))}}},js=ss("top-left"),As=ss("top-right"),ms=ss("bottom-right"),Ko=ss("bottom-left"),Eo;(function(De){De[De.NONE=0]="NONE",De[De.SOLID=1]="SOLID"})(Eo||(Eo={}));var Xa=function(X){return{name:"border-"+X+"-style",initialValue:"solid",prefix:!1,type:Pn.IDENT_VALUE,parse:function(Be){switch(Be){case"none":return Eo.NONE}return Eo.SOLID}}},Qa=Xa("top"),ho=Xa("right"),ls=Xa("bottom"),Cr=Xa("left"),Qo=function(X){return{name:"border-"+X+"-width",initialValue:"0",type:Pn.VALUE,prefix:!1,parse:function(Be){return Ne(Be)?Be.number:0}}},ts=Qo("top"),Is=Qo("right"),Ds=Qo("bottom"),is=Qo("left"),Ma={name:"color",initialValue:"transparent",prefix:!1,type:Pn.TYPE_VALUE,format:"color"},La={name:"display",initialValue:"inline-block",prefix:!1,type:Pn.LIST,parse:function(X){return X.filter(Xt).reduce(function(ye,Be){return ye|Co(Be.value)},0)}},Co=function(X){switch(X){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},fo;(function(De){De[De.NONE=0]="NONE",De[De.LEFT=1]="LEFT",De[De.RIGHT=2]="RIGHT",De[De.INLINE_START=3]="INLINE_START",De[De.INLINE_END=4]="INLINE_END"})(fo||(fo={}));var Yo={name:"float",initialValue:"none",prefix:!1,type:Pn.IDENT_VALUE,parse:function(X){switch(X){case"left":return fo.LEFT;case"right":return fo.RIGHT;case"inline-start":return fo.INLINE_START;case"inline-end":return fo.INLINE_END}return fo.NONE}},cs={name:"letter-spacing",initialValue:"0",prefix:!1,type:Pn.VALUE,parse:function(X){return X.type===Ee.IDENT_TOKEN&&X.value==="normal"?0:X.type===Ee.NUMBER_TOKEN||X.type===Ee.DIMENSION_TOKEN?X.number:0}},rs;(function(De){De.NORMAL="normal",De.STRICT="strict"})(rs||(rs={}));var ys={name:"line-break",initialValue:"normal",prefix:!1,type:Pn.IDENT_VALUE,parse:function(X){switch(X){case"strict":return rs.STRICT;case"normal":default:return rs.NORMAL}}},bs={name:"line-height",initialValue:"normal",prefix:!1,type:Pn.TOKEN_VALUE},as=function(X,ye){return Xt(X)&&X.value==="normal"?1.2*ye:X.type===Ee.NUMBER_TOKEN?ye*X.number:en(X)?Br(X,ye):ye},$s={name:"list-style-image",initialValue:"none",type:Pn.VALUE,prefix:!1,parse:function(X){return X.type===Ee.IDENT_TOKEN&&X.value==="none"?null:go.parse(X)}},us;(function(De){De[De.INSIDE=0]="INSIDE",De[De.OUTSIDE=1]="OUTSIDE"})(us||(us={}));var Bo={name:"list-style-position",initialValue:"outside",prefix:!1,type:Pn.IDENT_VALUE,parse:function(X){switch(X){case"inside":return us.INSIDE;case"outside":default:return us.OUTSIDE}}},Rn;(function(De){De[De.NONE=-1]="NONE",De[De.DISC=0]="DISC",De[De.CIRCLE=1]="CIRCLE",De[De.SQUARE=2]="SQUARE",De[De.DECIMAL=3]="DECIMAL",De[De.CJK_DECIMAL=4]="CJK_DECIMAL",De[De.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",De[De.LOWER_ROMAN=6]="LOWER_ROMAN",De[De.UPPER_ROMAN=7]="UPPER_ROMAN",De[De.LOWER_GREEK=8]="LOWER_GREEK",De[De.LOWER_ALPHA=9]="LOWER_ALPHA",De[De.UPPER_ALPHA=10]="UPPER_ALPHA",De[De.ARABIC_INDIC=11]="ARABIC_INDIC",De[De.ARMENIAN=12]="ARMENIAN",De[De.BENGALI=13]="BENGALI",De[De.CAMBODIAN=14]="CAMBODIAN",De[De.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",De[De.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",De[De.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",De[De.DEVANAGARI=18]="DEVANAGARI",De[De.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",De[De.GEORGIAN=20]="GEORGIAN",De[De.GUJARATI=21]="GUJARATI",De[De.GURMUKHI=22]="GURMUKHI",De[De.HEBREW=22]="HEBREW",De[De.HIRAGANA=23]="HIRAGANA",De[De.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",De[De.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",De[De.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",De[De.KANNADA=27]="KANNADA",De[De.KATAKANA=28]="KATAKANA",De[De.KATAKANA_IROHA=29]="KATAKANA_IROHA",De[De.KHMER=30]="KHMER",De[De.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",De[De.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",De[De.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",De[De.LAO=34]="LAO",De[De.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",De[De.MALAYALAM=36]="MALAYALAM",De[De.MONGOLIAN=37]="MONGOLIAN",De[De.MYANMAR=38]="MYANMAR",De[De.ORIYA=39]="ORIYA",De[De.PERSIAN=40]="PERSIAN",De[De.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",De[De.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",De[De.TAMIL=43]="TAMIL",De[De.TELUGU=44]="TELUGU",De[De.THAI=45]="THAI",De[De.TIBETAN=46]="TIBETAN",De[De.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",De[De.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",De[De.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",De[De.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",De[De.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Rn||(Rn={}));var Ks={name:"list-style-type",initialValue:"none",prefix:!1,type:Pn.IDENT_VALUE,parse:function(X){switch(X){case"disc":return Rn.DISC;case"circle":return Rn.CIRCLE;case"square":return Rn.SQUARE;case"decimal":return Rn.DECIMAL;case"cjk-decimal":return Rn.CJK_DECIMAL;case"decimal-leading-zero":return Rn.DECIMAL_LEADING_ZERO;case"lower-roman":return Rn.LOWER_ROMAN;case"upper-roman":return Rn.UPPER_ROMAN;case"lower-greek":return Rn.LOWER_GREEK;case"lower-alpha":return Rn.LOWER_ALPHA;case"upper-alpha":return Rn.UPPER_ALPHA;case"arabic-indic":return Rn.ARABIC_INDIC;case"armenian":return Rn.ARMENIAN;case"bengali":return Rn.BENGALI;case"cambodian":return Rn.CAMBODIAN;case"cjk-earthly-branch":return Rn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Rn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Rn.CJK_IDEOGRAPHIC;case"devanagari":return Rn.DEVANAGARI;case"ethiopic-numeric":return Rn.ETHIOPIC_NUMERIC;case"georgian":return Rn.GEORGIAN;case"gujarati":return Rn.GUJARATI;case"gurmukhi":return Rn.GURMUKHI;case"hebrew":return Rn.HEBREW;case"hiragana":return Rn.HIRAGANA;case"hiragana-iroha":return Rn.HIRAGANA_IROHA;case"japanese-formal":return Rn.JAPANESE_FORMAL;case"japanese-informal":return Rn.JAPANESE_INFORMAL;case"kannada":return Rn.KANNADA;case"katakana":return Rn.KATAKANA;case"katakana-iroha":return Rn.KATAKANA_IROHA;case"khmer":return Rn.KHMER;case"korean-hangul-formal":return Rn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Rn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Rn.KOREAN_HANJA_INFORMAL;case"lao":return Rn.LAO;case"lower-armenian":return Rn.LOWER_ARMENIAN;case"malayalam":return Rn.MALAYALAM;case"mongolian":return Rn.MONGOLIAN;case"myanmar":return Rn.MYANMAR;case"oriya":return Rn.ORIYA;case"persian":return Rn.PERSIAN;case"simp-chinese-formal":return Rn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Rn.SIMP_CHINESE_INFORMAL;case"tamil":return Rn.TAMIL;case"telugu":return Rn.TELUGU;case"thai":return Rn.THAI;case"tibetan":return Rn.TIBETAN;case"trad-chinese-formal":return Rn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Rn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Rn.UPPER_ARMENIAN;case"disclosure-open":return Rn.DISCLOSURE_OPEN;case"disclosure-closed":return Rn.DISCLOSURE_CLOSED;case"none":default:return Rn.NONE}}},Ts=function(X){return{name:"margin-"+X,initialValue:"0",prefix:!1,type:Pn.TOKEN_VALUE}},_t=Ts("top"),ne=Ts("right"),ue=Ts("bottom"),fe=Ts("left"),Oe;(function(De){De[De.VISIBLE=0]="VISIBLE",De[De.HIDDEN=1]="HIDDEN",De[De.SCROLL=2]="SCROLL",De[De.AUTO=3]="AUTO"})(Oe||(Oe={}));var ot={name:"overflow",initialValue:"visible",prefix:!1,type:Pn.LIST,parse:function(X){return X.filter(Xt).map(function(ye){switch(ye.value){case"hidden":return Oe.HIDDEN;case"scroll":return Oe.SCROLL;case"auto":return Oe.AUTO;case"visible":default:return Oe.VISIBLE}})}},Bt;(function(De){De.NORMAL="normal",De.BREAK_WORD="break-word"})(Bt||(Bt={}));var hr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:Pn.IDENT_VALUE,parse:function(X){switch(X){case"break-word":return Bt.BREAK_WORD;case"normal":default:return Bt.NORMAL}}},Ar=function(X){return{name:"padding-"+X,initialValue:"0",prefix:!1,type:Pn.TYPE_VALUE,format:"length-percentage"}},Nr=Ar("top"),qr=Ar("right"),sn=Ar("bottom"),vn=Ar("left"),xn;(function(De){De[De.LEFT=0]="LEFT",De[De.CENTER=1]="CENTER",De[De.RIGHT=2]="RIGHT"})(xn||(xn={}));var Kn={name:"text-align",initialValue:"left",prefix:!1,type:Pn.IDENT_VALUE,parse:function(X){switch(X){case"right":return xn.RIGHT;case"center":case"justify":return xn.CENTER;case"left":default:return xn.LEFT}}},ei;(function(De){De[De.STATIC=0]="STATIC",De[De.RELATIVE=1]="RELATIVE",De[De.ABSOLUTE=2]="ABSOLUTE",De[De.FIXED=3]="FIXED",De[De.STICKY=4]="STICKY"})(ei||(ei={}));var Ai={name:"position",initialValue:"static",prefix:!1,type:Pn.IDENT_VALUE,parse:function(X){switch(X){case"relative":return ei.RELATIVE;case"absolute":return ei.ABSOLUTE;case"fixed":return ei.FIXED;case"sticky":return ei.STICKY}return ei.STATIC}},na={name:"text-shadow",initialValue:"none",type:Pn.LIST,prefix:!1,parse:function(X){return X.length===1&&Sr(X[0],"none")?[]:Hr(X).map(function(ye){for(var Be={color:wi.TRANSPARENT,offsetX:Qt,offsetY:Qt,blur:Qt},pt=0,tr=0;tr<ye.length;tr++){var br=ye[tr];Yr(br)?(pt===0?Be.offsetX=br:pt===1?Be.offsetY=br:Be.blur=br,pt++):Be.color=In.parse(br)}return Be})}},Ui;(function(De){De[De.NONE=0]="NONE",De[De.LOWERCASE=1]="LOWERCASE",De[De.UPPERCASE=2]="UPPERCASE",De[De.CAPITALIZE=3]="CAPITALIZE"})(Ui||(Ui={}));var Ca={name:"text-transform",initialValue:"none",prefix:!1,type:Pn.IDENT_VALUE,parse:function(X){switch(X){case"uppercase":return Ui.UPPERCASE;case"lowercase":return Ui.LOWERCASE;case"capitalize":return Ui.CAPITALIZE}return Ui.NONE}},co={name:"transform",initialValue:"none",prefix:!0,type:Pn.VALUE,parse:function(X){if(X.type===Ee.IDENT_TOKEN&&X.value==="none")return null;if(X.type===Ee.FUNCTION){var ye=Ao[X.name];if(typeof ye=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+X.name+'"');return ye(X.values)}return null}},Wa=function(X){var ye=X.filter(function(Be){return Be.type===Ee.NUMBER_TOKEN}).map(function(Be){return Be.number});return ye.length===6?ye:null},vo=function(X){var ye=X.filter(function(Ia){return Ia.type===Ee.NUMBER_TOKEN}).map(function(Ia){return Ia.number}),Be=ye[0],pt=ye[1],tr=ye[2],br=ye[3],Ir=ye[4],zr=ye[5],Wr=ye[6],ln=ye[7],an=ye[8],Mn=ye[9],ii=ye[10],zn=ye[11],hi=ye[12],ma=ye[13],xi=ye[14],oa=ye[15];return ye.length===16?[Be,pt,Ir,zr,hi,ma]:null},Ao={matrix:Wa,matrix3d:vo},Za={type:Ee.PERCENTAGE_TOKEN,number:50,flags:vt},Fo=[Za,Za],Do={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:Pn.LIST,parse:function(X){var ye=X.filter(en);return ye.length!==2?Fo:[ye[0],ye[1]]}},ja;(function(De){De[De.VISIBLE=0]="VISIBLE",De[De.HIDDEN=1]="HIDDEN",De[De.COLLAPSE=2]="COLLAPSE"})(ja||(ja={}));var jo={name:"visible",initialValue:"none",prefix:!1,type:Pn.IDENT_VALUE,parse:function(X){switch(X){case"hidden":return ja.HIDDEN;case"collapse":return ja.COLLAPSE;case"visible":default:return ja.VISIBLE}}},Po;(function(De){De.NORMAL="normal",De.BREAK_ALL="break-all",De.KEEP_ALL="keep-all"})(Po||(Po={}));var Xo={name:"word-break",initialValue:"normal",prefix:!1,type:Pn.IDENT_VALUE,parse:function(X){switch(X){case"break-all":return Po.BREAK_ALL;case"keep-all":return Po.KEEP_ALL;case"normal":default:return Po.NORMAL}}},wo={name:"z-index",initialValue:"auto",prefix:!1,type:Pn.VALUE,parse:function(X){if(X.type===Ee.IDENT_TOKEN)return{auto:!0,order:0};if(Lt(X))return{auto:!1,order:X.number};throw new Error("Invalid z-index number parsed")}},ds={name:"opacity",initialValue:"1",type:Pn.VALUE,prefix:!1,parse:function(X){return Lt(X)?X.number:1}},ns={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:Pn.TYPE_VALUE,format:"color"},Qs={name:"text-decoration-line",initialValue:"none",prefix:!1,type:Pn.LIST,parse:function(X){return X.filter(Xt).map(function(ye){switch(ye.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(ye){return ye!==0})}},Gs={name:"font-family",initialValue:"",prefix:!1,type:Pn.LIST,parse:function(X){var ye=[],Be=[];return X.forEach(function(pt){switch(pt.type){case Ee.IDENT_TOKEN:case Ee.STRING_TOKEN:ye.push(pt.value);break;case Ee.NUMBER_TOKEN:ye.push(pt.number.toString());break;case Ee.COMMA_TOKEN:Be.push(ye.join(" ")),ye.length=0;break}}),ye.length&&Be.push(ye.join(" ")),Be.map(function(pt){return pt.indexOf(" ")===-1?pt:"'"+pt+"'"})}},Go={name:"font-size",initialValue:"0",prefix:!1,type:Pn.TYPE_VALUE,format:"length"},Oo={name:"font-weight",initialValue:"normal",type:Pn.VALUE,prefix:!1,parse:function(X){if(Lt(X))return X.number;if(Xt(X))switch(X.value){case"bold":return 700;case"normal":default:return 400}return 400}},hs={name:"font-variant",initialValue:"none",type:Pn.LIST,prefix:!1,parse:function(X){return X.filter(Xt).map(function(ye){return ye.value})}},fs;(function(De){De.NORMAL="normal",De.ITALIC="italic",De.OBLIQUE="oblique"})(fs||(fs={}));var Rs={name:"font-style",initialValue:"normal",prefix:!1,type:Pn.IDENT_VALUE,parse:function(X){switch(X){case"oblique":return fs.OBLIQUE;case"italic":return fs.ITALIC;case"normal":default:return fs.NORMAL}}},Ro=function(X,ye){return(X&ye)!==0},ws={name:"content",initialValue:"none",type:Pn.LIST,prefix:!1,parse:function(X){if(X.length===0)return[];var ye=X[0];return ye.type===Ee.IDENT_TOKEN&&ye.value==="none"?[]:X}},_s={name:"counter-increment",initialValue:"none",prefix:!0,type:Pn.LIST,parse:function(X){if(X.length===0)return null;var ye=X[0];if(ye.type===Ee.IDENT_TOKEN&&ye.value==="none")return null;for(var Be=[],pt=X.filter(gr),tr=0;tr<pt.length;tr++){var br=pt[tr],Ir=pt[tr+1];if(br.type===Ee.IDENT_TOKEN){var zr=Ir&&Lt(Ir)?Ir.number:1;Be.push({counter:br.value,increment:zr})}}return Be}},Ss={name:"counter-reset",initialValue:"none",prefix:!0,type:Pn.LIST,parse:function(X){if(X.length===0)return[];for(var ye=[],Be=X.filter(gr),pt=0;pt<Be.length;pt++){var tr=Be[pt],br=Be[pt+1];if(Xt(tr)&&tr.value!=="none"){var Ir=br&&Lt(br)?br.number:0;ye.push({counter:tr.value,reset:Ir})}}return ye}},Ms={name:"quotes",initialValue:"none",prefix:!0,type:Pn.LIST,parse:function(X){if(X.length===0)return null;var ye=X[0];if(ye.type===Ee.IDENT_TOKEN&&ye.value==="none")return null;var Be=[],pt=X.filter(ir);if(pt.length%2!==0)return null;for(var tr=0;tr<pt.length;tr+=2){var br=pt[tr].value,Ir=pt[tr+1].value;Be.push({open:br,close:Ir})}return Be}},Hs=function(X,ye,Be){if(!X)return"";var pt=X[Math.min(ye,X.length-1)];return pt?Be?pt.open:pt.close:""},xs={name:"box-shadow",initialValue:"none",type:Pn.LIST,prefix:!1,parse:function(X){return X.length===1&&Sr(X[0],"none")?[]:Hr(X).map(function(ye){for(var Be={color:255,offsetX:Qt,offsetY:Qt,blur:Qt,spread:Qt,inset:!1},pt=0,tr=0;tr<ye.length;tr++){var br=ye[tr];Sr(br,"inset")?Be.inset=!0:Yr(br)?(pt===0?Be.offsetX=br:pt===1?Be.offsetY=br:pt===2?Be.blur=br:Be.spread=br,pt++):Be.color=In.parse(br)}return Be})}},pa=function(){function De(X){this.backgroundClip=Wn(va,X.backgroundClip),this.backgroundColor=Wn(Sa,X.backgroundColor),this.backgroundImage=Wn(Ki,X.backgroundImage),this.backgroundOrigin=Wn(xo,X.backgroundOrigin),this.backgroundPosition=Wn(yo,X.backgroundPosition),this.backgroundRepeat=Wn(bo,X.backgroundRepeat),this.backgroundSize=Wn(Vi,X.backgroundSize),this.borderTopColor=Wn(Ea,X.borderTopColor),this.borderRightColor=Wn(Ji,X.borderRightColor),this.borderBottomColor=Wn(ao,X.borderBottomColor),this.borderLeftColor=Wn(es,X.borderLeftColor),this.borderTopLeftRadius=Wn(js,X.borderTopLeftRadius),this.borderTopRightRadius=Wn(As,X.borderTopRightRadius),this.borderBottomRightRadius=Wn(ms,X.borderBottomRightRadius),this.borderBottomLeftRadius=Wn(Ko,X.borderBottomLeftRadius),this.borderTopStyle=Wn(Qa,X.borderTopStyle),this.borderRightStyle=Wn(ho,X.borderRightStyle),this.borderBottomStyle=Wn(ls,X.borderBottomStyle),this.borderLeftStyle=Wn(Cr,X.borderLeftStyle),this.borderTopWidth=Wn(ts,X.borderTopWidth),this.borderRightWidth=Wn(Is,X.borderRightWidth),this.borderBottomWidth=Wn(Ds,X.borderBottomWidth),this.borderLeftWidth=Wn(is,X.borderLeftWidth),this.boxShadow=Wn(xs,X.boxShadow),this.color=Wn(Ma,X.color),this.display=Wn(La,X.display),this.float=Wn(Yo,X.cssFloat),this.fontFamily=Wn(Gs,X.fontFamily),this.fontSize=Wn(Go,X.fontSize),this.fontStyle=Wn(Rs,X.fontStyle),this.fontVariant=Wn(hs,X.fontVariant),this.fontWeight=Wn(Oo,X.fontWeight),this.letterSpacing=Wn(cs,X.letterSpacing),this.lineBreak=Wn(ys,X.lineBreak),this.lineHeight=Wn(bs,X.lineHeight),this.listStyleImage=Wn($s,X.listStyleImage),this.listStylePosition=Wn(Bo,X.listStylePosition),this.listStyleType=Wn(Ks,X.listStyleType),this.marginTop=Wn(_t,X.marginTop),this.marginRight=Wn(ne,X.marginRight),this.marginBottom=Wn(ue,X.marginBottom),this.marginLeft=Wn(fe,X.marginLeft),this.opacity=Wn(ds,X.opacity);var ye=Wn(ot,X.overflow);this.overflowX=ye[0],this.overflowY=ye[ye.length>1?1:0],this.overflowWrap=Wn(hr,X.overflowWrap),this.paddingTop=Wn(Nr,X.paddingTop),this.paddingRight=Wn(qr,X.paddingRight),this.paddingBottom=Wn(sn,X.paddingBottom),this.paddingLeft=Wn(vn,X.paddingLeft),this.position=Wn(Ai,X.position),this.textAlign=Wn(Kn,X.textAlign),this.textDecorationColor=Wn(ns,X.textDecorationColor||X.color),this.textDecorationLine=Wn(Qs,X.textDecorationLine),this.textShadow=Wn(na,X.textShadow),this.textTransform=Wn(Ca,X.textTransform),this.transform=Wn(co,X.transform),this.transformOrigin=Wn(Do,X.transformOrigin),this.visibility=Wn(jo,X.visibility),this.wordBreak=Wn(Xo,X.wordBreak),this.zIndex=Wn(wo,X.zIndex)}return De.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===ja.VISIBLE},De.prototype.isTransparent=function(){return fn(this.backgroundColor)},De.prototype.isTransformed=function(){return this.transform!==null},De.prototype.isPositioned=function(){return this.position!==ei.STATIC},De.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},De.prototype.isFloating=function(){return this.float!==fo.NONE},De.prototype.isInlineLevel=function(){return Ro(this.display,4)||Ro(this.display,33554432)||Ro(this.display,268435456)||Ro(this.display,536870912)||Ro(this.display,67108864)||Ro(this.display,134217728)},De}(),ci=function(){function De(X){this.content=Wn(ws,X.content),this.quotes=Wn(Ms,X.quotes)}return De}(),Bi=function(){function De(X){this.counterIncrement=Wn(_s,X.counterIncrement),this.counterReset=Wn(Ss,X.counterReset)}return De}(),Wn=function(X,ye){var Be=new Tr,pt=ye!==null&&typeof ye!="undefined"?ye.toString():X.initialValue;Be.write(pt);var tr=new Kr(Be.read());switch(X.type){case Pn.IDENT_VALUE:var br=tr.parseComponentValue();return X.parse(Xt(br)?br.value:X.initialValue);case Pn.VALUE:return X.parse(tr.parseComponentValue());case Pn.LIST:return X.parse(tr.parseComponentValues());case Pn.TOKEN_VALUE:return tr.parseComponentValue();case Pn.TYPE_VALUE:switch(X.format){case"angle":return gn.parse(tr.parseComponentValue());case"color":return In.parse(tr.parseComponentValue());case"image":return go.parse(tr.parseComponentValue());case"length":var Ir=tr.parseComponentValue();return Yr(Ir)?Ir:Qt;case"length-percentage":var zr=tr.parseComponentValue();return en(zr)?zr:Qt}}throw new Error("Attempting to parse unsupported css format type "+X.format)},oo=function(){function De(X){this.styles=new pa(window.getComputedStyle(X,null)),this.textNodes=[],this.elements=[],this.styles.transform!==null&&rl(X)&&(X.style.transform="none"),this.bounds=f(X),this.flags=0}return De}(),Zo=function(){function De(X,ye){this.text=X,this.bounds=ye}return De}(),gs=function(X,ye,Be){var pt=$o(X,ye),tr=[],br=0;return pt.forEach(function(Ir){if(ye.textDecorationLine.length||Ir.trim().length>0)if(Yi.SUPPORT_RANGE_BOUNDS)tr.push(new Zo(Ir,Jo(Be,br,Ir.length)));else{var zr=Be.splitText(Ir.length);tr.push(new Zo(Ir,os(Be))),Be=zr}else Yi.SUPPORT_RANGE_BOUNDS||(Be=Be.splitText(Ir.length));br+=Ir.length}),tr},os=function(X){var ye=X.ownerDocument;if(ye){var Be=ye.createElement("html2canvaswrapper");Be.appendChild(X.cloneNode(!0));var pt=X.parentNode;if(pt){pt.replaceChild(Be,X);var tr=f(Be);return Be.firstChild&&pt.replaceChild(Be.firstChild,Be),tr}}return new w(0,0,0,0)},Jo=function(X,ye,Be){var pt=X.ownerDocument;if(!pt)throw new Error("Node has no owner document");var tr=pt.createRange();return tr.setStart(X,ye),tr.setEnd(X,ye+Be),w.fromClientRect(tr.getBoundingClientRect())},$o=function(X,ye){return ye.letterSpacing!==0?t(X).map(function(Be){return o(Be)}):Es(X,ye)},Es=function(X,ye){for(var Be=Te(X,{lineBreak:ye.lineBreak,wordBreak:ye.overflowWrap===Bt.BREAK_WORD?"break-word":ye.wordBreak}),pt=[],tr;!(tr=Be.next()).done;)tr.value&&pt.push(tr.value.slice());return pt},Ho=function(){function De(X,ye){this.text=sl(X.data,ye.textTransform),this.textBounds=gs(this.text,ye,X)}return De}(),sl=function(X,ye){switch(ye){case Ui.LOWERCASE:return X.toLowerCase();case Ui.CAPITALIZE:return X.replace(kl,ll);case Ui.UPPERCASE:return X.toUpperCase();default:return X}},kl=/(^|\s|:|-|\(|\))([a-z])/g,ll=function(X,ye,Be){return X.length>0?ye+Be.toUpperCase():X},Nl=function(De){L(X,De);function X(ye){var Be=De.call(this,ye)||this;return Be.src=ye.currentSrc||ye.src,Be.intrinsicWidth=ye.naturalWidth,Be.intrinsicHeight=ye.naturalHeight,Zi.getInstance().addImage(Be.src),Be}return X}(oo),Ns=function(De){L(X,De);function X(ye){var Be=De.call(this,ye)||this;return Be.canvas=ye,Be.intrinsicWidth=ye.width,Be.intrinsicHeight=ye.height,Be}return X}(oo),Ys=function(De){L(X,De);function X(ye){var Be=De.call(this,ye)||this,pt=new XMLSerializer;return Be.svg="data:image/svg+xml,"+encodeURIComponent(pt.serializeToString(ye)),Be.intrinsicWidth=ye.width.baseVal.value,Be.intrinsicHeight=ye.height.baseVal.value,Zi.getInstance().addImage(Be.svg),Be}return X}(oo),qs=function(De){L(X,De);function X(ye){var Be=De.call(this,ye)||this;return Be.value=ye.value,Be}return X}(oo),jl=function(De){L(X,De);function X(ye){var Be=De.call(this,ye)||this;return Be.start=ye.start,Be.reversed=typeof ye.reversed=="boolean"&&ye.reversed===!0,Be}return X}(oo),Hl=[{type:Ee.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Dl=[{type:Ee.PERCENTAGE_TOKEN,flags:0,number:50}],rc=function(X){return X.width>X.height?new w(X.left+(X.width-X.height)/2,X.top,X.height,X.height):X.width<X.height?new w(X.left,X.top+(X.height-X.width)/2,X.width,X.width):X},nc=function(X){var ye=X.type===ic?new Array(X.value.length+1).join("\u2022"):X.value;return ye.length===0?X.placeholder||"":ye},qo="checkbox",el="radio",ic="password",Rl=707406591,_l=function(De){L(X,De);function X(ye){var Be=De.call(this,ye)||this;Be.type=ye.type.toLowerCase(),Be.checked=ye.checked,Be.value=nc(ye),(Be.type===qo||Be.type===el)&&(Be.styles.backgroundColor=3739148031,Be.styles.borderTopColor=Be.styles.borderRightColor=Be.styles.borderBottomColor=Be.styles.borderLeftColor=2779096575,Be.styles.borderTopWidth=Be.styles.borderRightWidth=Be.styles.borderBottomWidth=Be.styles.borderLeftWidth=1,Be.styles.borderTopStyle=Be.styles.borderRightStyle=Be.styles.borderBottomStyle=Be.styles.borderLeftStyle=Eo.SOLID,Be.styles.backgroundClip=[Ei.BORDER_BOX],Be.styles.backgroundOrigin=[0],Be.bounds=rc(Be.bounds));switch(Be.type){case qo:Be.styles.borderTopRightRadius=Be.styles.borderTopLeftRadius=Be.styles.borderBottomRightRadius=Be.styles.borderBottomLeftRadius=Hl;break;case el:Be.styles.borderTopRightRadius=Be.styles.borderTopLeftRadius=Be.styles.borderBottomRightRadius=Be.styles.borderBottomLeftRadius=Dl;break}return Be}return X}(oo),yl=function(De){L(X,De);function X(ye){var Be=De.call(this,ye)||this,pt=ye.options[ye.selectedIndex||0];return Be.value=pt&&pt.text||"",Be}return X}(oo),zl=function(De){L(X,De);function X(ye){var Be=De.call(this,ye)||this;return Be.value=ye.value,Be}return X}(oo),cl=function(X){return In.parse(Kr.create(X).parseComponentValue())},Wl=function(De){L(X,De);function X(ye){var Be=De.call(this,ye)||this;Be.src=ye.src,Be.width=parseInt(ye.width,10)||0,Be.height=parseInt(ye.height,10)||0,Be.backgroundColor=Be.styles.backgroundColor;try{if(ye.contentWindow&&ye.contentWindow.document&&ye.contentWindow.document.documentElement){Be.tree=tl(ye.contentWindow.document.documentElement);var pt=ye.contentWindow.document.documentElement?cl(getComputedStyle(ye.contentWindow.document.documentElement).backgroundColor):wi.TRANSPARENT,tr=ye.contentWindow.document.body?cl(getComputedStyle(ye.contentWindow.document.body).backgroundColor):wi.TRANSPARENT;Be.backgroundColor=fn(pt)?fn(tr)?Be.styles.backgroundColor:tr:pt}}catch(br){}return Be}return X}(oo),ac=["OL","UL","MENU"],oc=function De(X,ye,Be){for(var pt=X.firstChild,tr=void 0;pt;pt=tr)if(tr=pt.nextSibling,Cs(pt)&&pt.data.trim().length>0)ye.textNodes.push(new Ho(pt,ye.styles));else if(zs(pt)){var br=Bs(pt);br.styles.isVisible()&&(bl(pt,br,Be)?br.flags|=4:ul(br.styles)&&(br.flags|=2),ac.indexOf(pt.tagName)!==-1&&(br.flags|=8),ye.elements.push(br),!El(pt)&&!Xs(pt)&&!fl(pt)&&De(pt,br,Be))}},Bs=function(X){return hl(X)?new Nl(X):nl(X)?new Ns(X):Xs(X)?new Ys(X):wl(X)?new qs(X):Ml(X)?new jl(X):Vl(X)?new _l(X):fl(X)?new yl(X):El(X)?new zl(X):xl(X)?new Wl(X):new oo(X)},tl=function(X){var ye=Bs(X);return ye.flags|=4,oc(X,ye,ye),ye},bl=function(X,ye,Be){return ye.styles.isPositionedWithZIndex()||ye.styles.opacity<1||ye.styles.isTransformed()||dl(X)&&Be.styles.isTransparent()},ul=function(X){return X.isPositioned()||X.isFloating()},Cs=function(X){return X.nodeType===Node.TEXT_NODE},zs=function(X){return X.nodeType===Node.ELEMENT_NODE},rl=function(X){return zs(X)&&typeof X.style!="undefined"&&!Fs(X)},Fs=function(X){return typeof X.className=="object"},wl=function(X){return X.tagName==="LI"},Ml=function(X){return X.tagName==="OL"},Vl=function(X){return X.tagName==="INPUT"},Sl=function(X){return X.tagName==="HTML"},Xs=function(X){return X.tagName==="svg"},dl=function(X){return X.tagName==="BODY"},nl=function(X){return X.tagName==="CANVAS"},hl=function(X){return X.tagName==="IMG"},xl=function(X){return X.tagName==="IFRAME"},Ws=function(X){return X.tagName==="STYLE"},Kl=function(X){return X.tagName==="SCRIPT"},El=function(X){return X.tagName==="TEXTAREA"},fl=function(X){return X.tagName==="SELECT"},Cl=function(){function De(){this.counters={}}return De.prototype.getCounterValue=function(X){var ye=this.counters[X];return ye&&ye.length?ye[ye.length-1]:1},De.prototype.getCounterValues=function(X){var ye=this.counters[X];return ye||[]},De.prototype.pop=function(X){var ye=this;X.forEach(function(Be){return ye.counters[Be].pop()})},De.prototype.parse=function(X){var ye=this,Be=X.counterIncrement,pt=X.counterReset,tr=!0;Be!==null&&Be.forEach(function(Ir){var zr=ye.counters[Ir.counter];zr&&Ir.increment!==0&&(tr=!1,zr[Math.max(0,zr.length-1)]+=Ir.increment)});var br=[];return tr&&pt.forEach(function(Ir){var zr=ye.counters[Ir.counter];br.push(Ir.counter),zr||(zr=ye.counters[Ir.counter]=[]),zr.push(Ir.reset)}),br},De}(),Ql={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Bl={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},pl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Gl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Zs=function(X,ye,Be,pt,tr,br){return X<ye||X>Be?gl(X,tr,br.length>0):pt.integers.reduce(function(Ir,zr,Wr){for(;X>=zr;)X-=zr,Ir+=pt.values[Wr];return Ir},"")+br},Yl=function(X,ye,Be,pt){var tr="";do Be||X--,tr=pt(X)+tr,X/=ye;while(X*ye>=ye);return tr},_o=function(X,ye,Be,pt,tr){var br=Be-ye+1;return(X<0?"-":"")+(Yl(Math.abs(X),br,pt,function(Ir){return o(Math.floor(Ir%br)+ye)})+tr)},Vs=function(X,ye,Be){Be===void 0&&(Be=". ");var pt=ye.length;return Yl(Math.abs(X),pt,!1,function(tr){return ye[Math.floor(tr%pt)]})+Be},il=1<<0,Ps=1<<1,Us=1<<2,ml=1<<3,Os=function(X,ye,Be,pt,tr,br){if(X<-9999||X>9999)return gl(X,Rn.CJK_DECIMAL,tr.length>0);var Ir=Math.abs(X),zr=tr;if(Ir===0)return ye[0]+zr;for(var Wr=0;Ir>0&&Wr<=4;Wr++){var ln=Ir%10;ln===0&&Ro(br,il)&&zr!==""?zr=ye[ln]+zr:ln>1||ln===1&&Wr===0||ln===1&&Wr===1&&Ro(br,Ps)||ln===1&&Wr===1&&Ro(br,Us)&&X>100||ln===1&&Wr>1&&Ro(br,ml)?zr=ye[ln]+(Wr>0?Be[Wr-1]:"")+zr:ln===1&&Wr>0&&(zr=Be[Wr-1]+zr),Ir=Math.floor(Ir/10)}return(X<0?pt:"")+zr},al="\u5341\u767E\u5343\u842C",Js="\u62FE\u4F70\u4EDF\u842C",Fl="\u30DE\u30A4\u30CA\u30B9",Ol="\uB9C8\uC774\uB108\uC2A4",gl=function(X,ye,Be){var pt=Be?". ":"",tr=Be?"\u3001":"",br=Be?", ":"",Ir=Be?" ":"";switch(ye){case Rn.DISC:return"\u2022"+Ir;case Rn.CIRCLE:return"\u25E6"+Ir;case Rn.SQUARE:return"\u25FE"+Ir;case Rn.DECIMAL_LEADING_ZERO:var zr=_o(X,48,57,!0,pt);return zr.length<4?"0"+zr:zr;case Rn.CJK_DECIMAL:return Vs(X,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",tr);case Rn.LOWER_ROMAN:return Zs(X,1,3999,Ql,Rn.DECIMAL,pt).toLowerCase();case Rn.UPPER_ROMAN:return Zs(X,1,3999,Ql,Rn.DECIMAL,pt);case Rn.LOWER_GREEK:return _o(X,945,969,!1,pt);case Rn.LOWER_ALPHA:return _o(X,97,122,!1,pt);case Rn.UPPER_ALPHA:return _o(X,65,90,!1,pt);case Rn.ARABIC_INDIC:return _o(X,1632,1641,!0,pt);case Rn.ARMENIAN:case Rn.UPPER_ARMENIAN:return Zs(X,1,9999,Bl,Rn.DECIMAL,pt);case Rn.LOWER_ARMENIAN:return Zs(X,1,9999,Bl,Rn.DECIMAL,pt).toLowerCase();case Rn.BENGALI:return _o(X,2534,2543,!0,pt);case Rn.CAMBODIAN:case Rn.KHMER:return _o(X,6112,6121,!0,pt);case Rn.CJK_EARTHLY_BRANCH:return Vs(X,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",tr);case Rn.CJK_HEAVENLY_STEM:return Vs(X,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",tr);case Rn.CJK_IDEOGRAPHIC:case Rn.TRAD_CHINESE_INFORMAL:return Os(X,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",al,"\u8CA0",tr,Ps|Us|ml);case Rn.TRAD_CHINESE_FORMAL:return Os(X,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Js,"\u8CA0",tr,il|Ps|Us|ml);case Rn.SIMP_CHINESE_INFORMAL:return Os(X,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",al,"\u8D1F",tr,Ps|Us|ml);case Rn.SIMP_CHINESE_FORMAL:return Os(X,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Js,"\u8D1F",tr,il|Ps|Us|ml);case Rn.JAPANESE_INFORMAL:return Os(X,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Fl,tr,0);case Rn.JAPANESE_FORMAL:return Os(X,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Fl,tr,il|Ps|Us);case Rn.KOREAN_HANGUL_FORMAL:return Os(X,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Ol,br,il|Ps|Us);case Rn.KOREAN_HANJA_INFORMAL:return Os(X,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Ol,br,0);case Rn.KOREAN_HANJA_FORMAL:return Os(X,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Ol,br,il|Ps|Us);case Rn.DEVANAGARI:return _o(X,2406,2415,!0,pt);case Rn.GEORGIAN:return Zs(X,1,19999,Gl,Rn.DECIMAL,pt);case Rn.GUJARATI:return _o(X,2790,2799,!0,pt);case Rn.GURMUKHI:return _o(X,2662,2671,!0,pt);case Rn.HEBREW:return Zs(X,1,10999,pl,Rn.DECIMAL,pt);case Rn.HIRAGANA:return Vs(X,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case Rn.HIRAGANA_IROHA:return Vs(X,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case Rn.KANNADA:return _o(X,3302,3311,!0,pt);case Rn.KATAKANA:return Vs(X,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",tr);case Rn.KATAKANA_IROHA:return Vs(X,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",tr);case Rn.LAO:return _o(X,3792,3801,!0,pt);case Rn.MONGOLIAN:return _o(X,6160,6169,!0,pt);case Rn.MYANMAR:return _o(X,4160,4169,!0,pt);case Rn.ORIYA:return _o(X,2918,2927,!0,pt);case Rn.PERSIAN:return _o(X,1776,1785,!0,pt);case Rn.TAMIL:return _o(X,3046,3055,!0,pt);case Rn.TELUGU:return _o(X,3174,3183,!0,pt);case Rn.THAI:return _o(X,3664,3673,!0,pt);case Rn.TIBETAN:return _o(X,3872,3881,!0,pt);case Rn.DECIMAL:default:return _o(X,48,57,!0,pt)}},Xl="data-html2canvas-ignore",Pl=function(){function De(X,ye){if(this.options=ye,this.scrolledElements=[],this.referenceElement=X,this.counters=new Cl,this.quoteDepth=0,!X.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(X.ownerDocument.documentElement)}return De.prototype.toIFrame=function(X,ye){var Be=this,pt=Zl(X,ye);if(!pt.contentWindow)return Promise.reject("Unable to find iframe window");var tr=X.defaultView.pageXOffset,br=X.defaultView.pageYOffset,Ir=pt.contentWindow,zr=Ir.document,Wr=sc(pt).then(function(){return m(Be,void 0,void 0,function(){var ln;return y(this,function(an){switch(an.label){case 0:return this.scrolledElements.forEach(ql),Ir&&(Ir.scrollTo(ye.left,ye.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Ir.scrollY!==ye.top||Ir.scrollX!==ye.left)&&(zr.documentElement.style.top=-ye.top+"px",zr.documentElement.style.left=-ye.left+"px",zr.documentElement.style.position="absolute")),ln=this.options.onclone,typeof this.clonedReferenceElement=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:zr.fonts&&zr.fonts.ready?[4,zr.fonts.ready]:[3,2];case 1:an.sent(),an.label=2;case 2:return typeof ln=="function"?[2,Promise.resolve().then(function(){return ln(zr)}).then(function(){return pt})]:[2,pt]}})})});return zr.open(),zr.write($l(document.doctype)+"<html></html>"),Ll(this.referenceElement.ownerDocument,tr,br),zr.replaceChild(zr.adoptNode(this.documentElement),zr.documentElement),zr.close(),Wr},De.prototype.createElementClone=function(X){if(nl(X))return this.createCanvasClone(X);if(Ws(X))return this.createStyleClone(X);var ye=X.cloneNode(!1);return hl(ye)&&ye.loading==="lazy"&&(ye.loading="eager"),ye},De.prototype.createStyleClone=function(X){try{var ye=X.sheet;if(ye&&ye.cssRules){var Be=[].slice.call(ye.cssRules,0).reduce(function(tr,br){return br&&typeof br.cssText=="string"?tr+br.cssText:tr},""),pt=X.cloneNode(!1);return pt.textContent=Be,pt}}catch(tr){if(Xi.getInstance(this.options.id).error("Unable to access cssRules property",tr),tr.name!=="SecurityError")throw tr}return X.cloneNode(!1)},De.prototype.createCanvasClone=function(X){if(this.options.inlineImages&&X.ownerDocument){var ye=X.ownerDocument.createElement("img");try{return ye.src=X.toDataURL(),ye}catch(br){Xi.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var Be=X.cloneNode(!1);try{Be.width=X.width,Be.height=X.height;var pt=X.getContext("2d"),tr=Be.getContext("2d");return tr&&(pt?tr.putImageData(pt.getImageData(0,0,X.width,X.height),0,0):tr.drawImage(X,0,0)),Be}catch(br){}return Be},De.prototype.cloneNode=function(X){if(Cs(X))return document.createTextNode(X.data);if(!X.ownerDocument)return X.cloneNode(!1);var ye=X.ownerDocument.defaultView;if(ye&&zs(X)&&(rl(X)||Fs(X))){var Be=this.createElementClone(X),pt=ye.getComputedStyle(X),tr=ye.getComputedStyle(X,":before"),br=ye.getComputedStyle(X,":after");this.referenceElement===X&&rl(Be)&&(this.clonedReferenceElement=Be),dl(Be)&&cc(Be);for(var Ir=this.counters.parse(new Bi(pt)),zr=this.resolvePseudoContent(X,Be,tr,vl.BEFORE),Wr=X.firstChild;Wr;Wr=Wr.nextSibling)(!zs(Wr)||!Kl(Wr)&&!Wr.hasAttribute(Xl)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Wr)))&&((!this.options.copyStyles||!zs(Wr)||!Ws(Wr))&&Be.appendChild(this.cloneNode(Wr)));zr&&Be.insertBefore(zr,Be.firstChild);var ln=this.resolvePseudoContent(X,Be,br,vl.AFTER);return ln&&Be.appendChild(ln),this.counters.pop(Ir),pt&&(this.options.copyStyles||Fs(X))&&!xl(X)&&Jl(pt,Be),(X.scrollTop!==0||X.scrollLeft!==0)&&this.scrolledElements.push([Be,X.scrollLeft,X.scrollTop]),(El(X)||fl(X))&&(El(Be)||fl(Be))&&(Be.value=X.value),Be}return X.cloneNode(!1)},De.prototype.resolvePseudoContent=function(X,ye,Be,pt){var tr=this;if(!Be)return;var br=Be.content,Ir=ye.ownerDocument;if(!Ir||!br||br==="none"||br==="-moz-alt-content"||Be.display==="none")return;this.counters.parse(new Bi(Be));var zr=new ci(Be),Wr=Ir.createElement("html2canvaspseudoelement");Jl(Be,Wr),zr.content.forEach(function(an){if(an.type===Ee.STRING_TOKEN)Wr.appendChild(Ir.createTextNode(an.value));else if(an.type===Ee.URL_TOKEN){var Mn=Ir.createElement("img");Mn.src=an.value,Mn.style.opacity="1",Wr.appendChild(Mn)}else if(an.type===Ee.FUNCTION){if(an.name==="attr"){var ii=an.values.filter(Xt);ii.length&&Wr.appendChild(Ir.createTextNode(X.getAttribute(ii[0].value)||""))}else if(an.name==="counter"){var zn=an.values.filter(Mr),hi=zn[0],ma=zn[1];if(hi&&Xt(hi)){var xi=tr.counters.getCounterValue(hi.value),oa=ma&&Xt(ma)?Ks.parse(ma.value):Rn.DECIMAL;Wr.appendChild(Ir.createTextNode(gl(xi,oa,!1)))}}else if(an.name==="counters"){var Ia=an.values.filter(Mr),hi=Ia[0],Ri=Ia[1],ma=Ia[2];if(hi&&Xt(hi)){var No=tr.counters.getCounterValues(hi.value),qa=ma&&Xt(ma)?Ks.parse(ma.value):Rn.DECIMAL,Wo=Ri&&Ri.type===Ee.STRING_TOKEN?Ri.value:"",Uo=No.map(function(ps){return gl(ps,qa,!1)}).join(Wo);Wr.appendChild(Ir.createTextNode(Uo))}}}else if(an.type===Ee.IDENT_TOKEN)switch(an.value){case"open-quote":Wr.appendChild(Ir.createTextNode(Hs(zr.quotes,tr.quoteDepth++,!0)));break;case"close-quote":Wr.appendChild(Ir.createTextNode(Hs(zr.quotes,--tr.quoteDepth,!1)));break;default:Wr.appendChild(Ir.createTextNode(an.value))}}),Wr.className=ks+" "+Tl;var ln=pt===vl.BEFORE?" "+ks:" "+Tl;return Fs(ye)?ye.className.baseValue+=ln:ye.className+=ln,Wr},De.destroy=function(X){return X.parentNode?(X.parentNode.removeChild(X),!0):!1},De}(),vl;(function(De){De[De.BEFORE=0]="BEFORE",De[De.AFTER=1]="AFTER"})(vl||(vl={}));var Zl=function(X,ye){var Be=X.createElement("iframe");return Be.className="html2canvas-container",Be.style.visibility="hidden",Be.style.position="fixed",Be.style.left="-10000px",Be.style.top="0px",Be.style.border="0",Be.width=ye.width.toString(),Be.height=ye.height.toString(),Be.scrolling="no",Be.setAttribute(Xl,"true"),X.body.appendChild(Be),Be},sc=function(X){return new Promise(function(ye,Be){var pt=X.contentWindow;if(!pt)return Be("No window assigned for iframe");var tr=pt.document;pt.onload=X.onload=tr.onreadystatechange=function(){pt.onload=X.onload=tr.onreadystatechange=null;var br=setInterval(function(){tr.body.childNodes.length>0&&tr.readyState==="complete"&&(clearInterval(br),ye(X))},50)}})},Jl=function(X,ye){for(var Be=X.length-1;Be>=0;Be--){var pt=X.item(Be);pt!=="content"&&ye.style.setProperty(pt,X.getPropertyValue(pt))}return ye},$l=function(X){var ye="";return X&&(ye+="<!DOCTYPE ",X.name&&(ye+=X.name),X.internalSubset&&(ye+=X.internalSubset),X.publicId&&(ye+='"'+X.publicId+'"'),X.systemId&&(ye+='"'+X.systemId+'"'),ye+=">"),ye},Ll=function(X,ye,Be){X&&X.defaultView&&(ye!==X.defaultView.pageXOffset||Be!==X.defaultView.pageYOffset)&&X.defaultView.scrollTo(ye,Be)},ql=function(X){var ye=X[0],Be=X[1],pt=X[2];ye.scrollLeft=Be,ye.scrollTop=pt},lc=":before",Il=":after",ks="___html2canvas___pseudoelement_before",Tl="___html2canvas___pseudoelement_after",Al=`{
|
||
content: "" !important;
|
||
display: none !important;
|
||
}`,cc=function(X){uc(X,"."+ks+lc+Al+`
|
||
.`+Tl+Il+Al)},uc=function(X,ye){var Be=X.ownerDocument;if(Be){var pt=Be.createElement("style");pt.textContent=ye,X.appendChild(pt)}},ol;(function(De){De[De.VECTOR=0]="VECTOR",De[De.BEZIER_CURVE=1]="BEZIER_CURVE"})(ol||(ol={}));var Ve=function(X,ye){return X.length===ye.length?X.some(function(Be,pt){return Be===ye[pt]}):!1},ie=function(X,ye,Be,pt,tr){return X.map(function(br,Ir){switch(Ir){case 0:return br.add(ye,Be);case 1:return br.add(ye+pt,Be);case 2:return br.add(ye+pt,Be+tr);case 3:return br.add(ye,Be+tr)}return br})},xe=function(){function De(X,ye){this.type=ol.VECTOR,this.x=X,this.y=ye}return De.prototype.add=function(X,ye){return new De(this.x+X,this.y+ye)},De}(),rt=function(X,ye,Be){return new xe(X.x+(ye.x-X.x)*Be,X.y+(ye.y-X.y)*Be)},It=function(){function De(X,ye,Be,pt){this.type=ol.BEZIER_CURVE,this.start=X,this.startControl=ye,this.endControl=Be,this.end=pt}return De.prototype.subdivide=function(X,ye){var Be=rt(this.start,this.startControl,X),pt=rt(this.startControl,this.endControl,X),tr=rt(this.endControl,this.end,X),br=rt(Be,pt,X),Ir=rt(pt,tr,X),zr=rt(br,Ir,X);return ye?new De(this.start,Be,br,zr):new De(zr,Ir,tr,this.end)},De.prototype.add=function(X,ye){return new De(this.start.add(X,ye),this.startControl.add(X,ye),this.endControl.add(X,ye),this.end.add(X,ye))},De.prototype.reverse=function(){return new De(this.end,this.endControl,this.startControl,this.start)},De}(),Jt=function(X){return X.type===ol.BEZIER_CURVE},sr=function(){function De(X){var ye=X.styles,Be=X.bounds,pt=Er(ye.borderTopLeftRadius,Be.width,Be.height),tr=pt[0],br=pt[1],Ir=Er(ye.borderTopRightRadius,Be.width,Be.height),zr=Ir[0],Wr=Ir[1],ln=Er(ye.borderBottomRightRadius,Be.width,Be.height),an=ln[0],Mn=ln[1],ii=Er(ye.borderBottomLeftRadius,Be.width,Be.height),zn=ii[0],hi=ii[1],ma=[];ma.push((tr+zr)/Be.width),ma.push((zn+an)/Be.width),ma.push((br+hi)/Be.height),ma.push((Wr+Mn)/Be.height);var xi=Math.max.apply(Math,ma);xi>1&&(tr/=xi,br/=xi,zr/=xi,Wr/=xi,an/=xi,Mn/=xi,zn/=xi,hi/=xi);var oa=Be.width-zr,Ia=Be.height-Mn,Ri=Be.width-an,No=Be.height-hi,qa=ye.borderTopWidth,Wo=ye.borderRightWidth,Uo=ye.borderBottomWidth,Ba=ye.borderLeftWidth,Vo=Br(ye.paddingTop,X.bounds.width),ps=Br(ye.paddingRight,X.bounds.width),vs=Br(ye.paddingBottom,X.bounds.width),Ls=Br(ye.paddingLeft,X.bounds.width);this.topLeftBorderBox=tr>0||br>0?wr(Be.left,Be.top,tr,br,cr.TOP_LEFT):new xe(Be.left,Be.top),this.topRightBorderBox=zr>0||Wr>0?wr(Be.left+oa,Be.top,zr,Wr,cr.TOP_RIGHT):new xe(Be.left+Be.width,Be.top),this.bottomRightBorderBox=an>0||Mn>0?wr(Be.left+Ri,Be.top+Ia,an,Mn,cr.BOTTOM_RIGHT):new xe(Be.left+Be.width,Be.top+Be.height),this.bottomLeftBorderBox=zn>0||hi>0?wr(Be.left,Be.top+No,zn,hi,cr.BOTTOM_LEFT):new xe(Be.left,Be.top+Be.height),this.topLeftPaddingBox=tr>0||br>0?wr(Be.left+Ba,Be.top+qa,Math.max(0,tr-Ba),Math.max(0,br-qa),cr.TOP_LEFT):new xe(Be.left+Ba,Be.top+qa),this.topRightPaddingBox=zr>0||Wr>0?wr(Be.left+Math.min(oa,Be.width+Ba),Be.top+qa,oa>Be.width+Ba?0:zr-Ba,Wr-qa,cr.TOP_RIGHT):new xe(Be.left+Be.width-Wo,Be.top+qa),this.bottomRightPaddingBox=an>0||Mn>0?wr(Be.left+Math.min(Ri,Be.width-Ba),Be.top+Math.min(Ia,Be.height+qa),Math.max(0,an-Wo),Mn-Uo,cr.BOTTOM_RIGHT):new xe(Be.left+Be.width-Wo,Be.top+Be.height-Uo),this.bottomLeftPaddingBox=zn>0||hi>0?wr(Be.left+Ba,Be.top+No,Math.max(0,zn-Ba),hi-Uo,cr.BOTTOM_LEFT):new xe(Be.left+Ba,Be.top+Be.height-Uo),this.topLeftContentBox=tr>0||br>0?wr(Be.left+Ba+Ls,Be.top+qa+Vo,Math.max(0,tr-(Ba+Ls)),Math.max(0,br-(qa+Vo)),cr.TOP_LEFT):new xe(Be.left+Ba+Ls,Be.top+qa+Vo),this.topRightContentBox=zr>0||Wr>0?wr(Be.left+Math.min(oa,Be.width+Ba+Ls),Be.top+qa+Vo,oa>Be.width+Ba+Ls?0:zr-Ba+Ls,Wr-(qa+Vo),cr.TOP_RIGHT):new xe(Be.left+Be.width-(Wo+ps),Be.top+qa+Vo),this.bottomRightContentBox=an>0||Mn>0?wr(Be.left+Math.min(Ri,Be.width-(Ba+Ls)),Be.top+Math.min(Ia,Be.height+qa+Vo),Math.max(0,an-(Wo+ps)),Mn-(Uo+vs),cr.BOTTOM_RIGHT):new xe(Be.left+Be.width-(Wo+ps),Be.top+Be.height-(Uo+vs)),this.bottomLeftContentBox=zn>0||hi>0?wr(Be.left+Ba+Ls,Be.top+No,Math.max(0,zn-(Ba+Ls)),hi-(Uo+vs),cr.BOTTOM_LEFT):new xe(Be.left+Ba+Ls,Be.top+Be.height-(Uo+vs))}return De}(),cr;(function(De){De[De.TOP_LEFT=0]="TOP_LEFT",De[De.TOP_RIGHT=1]="TOP_RIGHT",De[De.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",De[De.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(cr||(cr={}));var wr=function(X,ye,Be,pt,tr){var br=4*((Math.sqrt(2)-1)/3),Ir=Be*br,zr=pt*br,Wr=X+Be,ln=ye+pt;switch(tr){case cr.TOP_LEFT:return new It(new xe(X,ln),new xe(X,ln-zr),new xe(Wr-Ir,ye),new xe(Wr,ye));case cr.TOP_RIGHT:return new It(new xe(X,ye),new xe(X+Ir,ye),new xe(Wr,ln-zr),new xe(Wr,ln));case cr.BOTTOM_RIGHT:return new It(new xe(Wr,ye),new xe(Wr,ye+zr),new xe(X+Ir,ln),new xe(X,ln));case cr.BOTTOM_LEFT:default:return new It(new xe(Wr,ln),new xe(Wr-Ir,ln),new xe(X,ye+zr),new xe(X,ye))}},Qr=function(X){return[X.topLeftBorderBox,X.topRightBorderBox,X.bottomRightBorderBox,X.bottomLeftBorderBox]},Gr=function(X){return[X.topLeftContentBox,X.topRightContentBox,X.bottomRightContentBox,X.bottomLeftContentBox]},Pr=function(X){return[X.topLeftPaddingBox,X.topRightPaddingBox,X.bottomRightPaddingBox,X.bottomLeftPaddingBox]},Fr=function(){function De(X,ye,Be){this.type=0,this.offsetX=X,this.offsetY=ye,this.matrix=Be,this.target=2|4}return De}(),Xr=function(){function De(X,ye){this.type=1,this.target=ye,this.path=X}return De}(),un=function(X){return X.type===0},hn=function(X){return X.type===1},qn=function(){function De(X){this.element=X,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return De}(),li=function(){function De(X,ye){if(this.container=X,this.effects=ye.slice(0),this.curves=new sr(X),X.styles.transform!==null){var Be=X.bounds.left+X.styles.transformOrigin[0].number,pt=X.bounds.top+X.styles.transformOrigin[1].number,tr=X.styles.transform;this.effects.push(new Fr(Be,pt,tr))}if(X.styles.overflowX!==Oe.VISIBLE){var br=Qr(this.curves),Ir=Pr(this.curves);Ve(br,Ir)?this.effects.push(new Xr(br,2|4)):(this.effects.push(new Xr(br,2)),this.effects.push(new Xr(Ir,4)))}}return De.prototype.getParentEffects=function(){var X=this.effects.slice(0);if(this.container.styles.overflowX!==Oe.VISIBLE){var ye=Qr(this.curves),Be=Pr(this.curves);Ve(ye,Be)||X.push(new Xr(Be,2|4))}return X},De}(),ri=function De(X,ye,Be,pt){X.container.elements.forEach(function(tr){var br=Ro(tr.flags,4),Ir=Ro(tr.flags,2),zr=new li(tr,X.getParentEffects());Ro(tr.styles.display,2048)&&pt.push(zr);var Wr=Ro(tr.flags,8)?[]:pt;if(br||Ir){var ln=br||tr.styles.isPositioned()?Be:ye,an=new qn(zr);if(tr.styles.isPositioned()||tr.styles.opacity<1||tr.styles.isTransformed()){var Mn=tr.styles.zIndex.order;if(Mn<0){var ii=0;ln.negativeZIndex.some(function(hi,ma){return Mn>hi.element.container.styles.zIndex.order?(ii=ma,!1):ii>0}),ln.negativeZIndex.splice(ii,0,an)}else if(Mn>0){var zn=0;ln.positiveZIndex.some(function(hi,ma){return Mn>=hi.element.container.styles.zIndex.order?(zn=ma+1,!1):zn>0}),ln.positiveZIndex.splice(zn,0,an)}else ln.zeroOrAutoZIndexOrTransformedOrOpacity.push(an)}else tr.styles.isFloating()?ln.nonPositionedFloats.push(an):ln.nonPositionedInlineLevel.push(an);De(zr,an,br?an:Be,Wr)}else tr.styles.isInlineLevel()?ye.inlineLevel.push(zr):ye.nonInlineLevel.push(zr),De(zr,ye,Be,Wr);Ro(tr.flags,8)&&$i(tr,Wr)})},$i=function(X,ye){for(var Be=X instanceof jl?X.start:1,pt=X instanceof jl?X.reversed:!1,tr=0;tr<ye.length;tr++){var br=ye[tr];br.container instanceof qs&&typeof br.container.value=="number"&&br.container.value!==0&&(Be=br.container.value),br.listValue=gl(Be,br.container.styles.listStyleType,!0),Be+=pt?-1:1}},yi=function(X){var ye=new li(X,[]),Be=new qn(ye),pt=[];return ri(ye,Be,Be,pt),$i(ye.container,pt),Be},Va=function(X,ye){switch(ye){case 0:return bi(X.topLeftBorderBox,X.topLeftPaddingBox,X.topRightBorderBox,X.topRightPaddingBox);case 1:return bi(X.topRightBorderBox,X.topRightPaddingBox,X.bottomRightBorderBox,X.bottomRightPaddingBox);case 2:return bi(X.bottomRightBorderBox,X.bottomRightPaddingBox,X.bottomLeftBorderBox,X.bottomLeftPaddingBox);case 3:default:return bi(X.bottomLeftBorderBox,X.bottomLeftPaddingBox,X.topLeftBorderBox,X.topLeftPaddingBox)}},bi=function(X,ye,Be,pt){var tr=[];return Jt(X)?tr.push(X.subdivide(.5,!1)):tr.push(X),Jt(Be)?tr.push(Be.subdivide(.5,!0)):tr.push(Be),Jt(pt)?tr.push(pt.subdivide(.5,!0).reverse()):tr.push(pt),Jt(ye)?tr.push(ye.subdivide(.5,!1).reverse()):tr.push(ye),tr},uo=function(X){var ye=X.bounds,Be=X.styles;return ye.add(Be.borderLeftWidth,Be.borderTopWidth,-(Be.borderRightWidth+Be.borderLeftWidth),-(Be.borderTopWidth+Be.borderBottomWidth))},zo=function(X){var ye=X.styles,Be=X.bounds,pt=Br(ye.paddingLeft,Be.width),tr=Br(ye.paddingRight,Be.width),br=Br(ye.paddingTop,Be.width),Ir=Br(ye.paddingBottom,Be.width);return Be.add(pt+ye.borderLeftWidth,br+ye.borderTopWidth,-(ye.borderRightWidth+ye.borderLeftWidth+pt+tr),-(ye.borderTopWidth+ye.borderBottomWidth+br+Ir))},so=function(X,ye){return X===0?ye.bounds:X===2?zo(ye):uo(ye)},ko=function(X,ye){return X===Ei.BORDER_BOX?ye.bounds:X===Ei.CONTENT_BOX?zo(ye):uo(ye)},g=function(X,ye,Be){var pt=so(q(X.styles.backgroundOrigin,ye),X),tr=ko(q(X.styles.backgroundClip,ye),X),br=V(q(X.styles.backgroundSize,ye),Be,pt),Ir=br[0],zr=br[1],Wr=Er(q(X.styles.backgroundPosition,ye),pt.width-Ir,pt.height-zr),ln=ve(q(X.styles.backgroundRepeat,ye),Wr,br,pt,tr),an=Math.round(pt.left+Wr[0]),Mn=Math.round(pt.top+Wr[1]);return[ln,an,Mn,Ir,zr]},I=function(X){return Xt(X)&&X.value===fa.AUTO},j=function(X){return typeof X=="number"},V=function(X,ye,Be){var pt=ye[0],tr=ye[1],br=ye[2],Ir=X[0],zr=X[1];if(en(Ir)&&zr&&en(zr))return[Br(Ir,Be.width),Br(zr,Be.height)];var Wr=j(br);if(Xt(Ir)&&(Ir.value===fa.CONTAIN||Ir.value===fa.COVER)){if(j(br)){var ln=Be.width/Be.height;return ln<br!==(Ir.value===fa.COVER)?[Be.width,Be.width/br]:[Be.height*br,Be.height]}return[Be.width,Be.height]}var an=j(pt),Mn=j(tr),ii=an||Mn;if(I(Ir)&&(!zr||I(zr))){if(an&&Mn)return[pt,tr];if(!Wr&&!ii)return[Be.width,Be.height];if(ii&&Wr){var zn=an?pt:tr*br,hi=Mn?tr:pt/br;return[zn,hi]}var ma=an?pt:Be.width,xi=Mn?tr:Be.height;return[ma,xi]}if(Wr){var oa=0,Ia=0;return en(Ir)?oa=Br(Ir,Be.width):en(zr)&&(Ia=Br(zr,Be.height)),I(Ir)?oa=Ia*br:(!zr||I(zr))&&(Ia=oa/br),[oa,Ia]}var Ri=null,No=null;if(en(Ir)?Ri=Br(Ir,Be.width):zr&&en(zr)&&(No=Br(zr,Be.height)),Ri!==null&&(!zr||I(zr))&&(No=an&&Mn?Ri/pt*tr:Be.height),No!==null&&I(Ir)&&(Ri=an&&Mn?No/tr*pt:Be.width),Ri!==null&&No!==null)return[Ri,No];throw new Error("Unable to calculate background-size for element")},q=function(X,ye){var Be=X[ye];return typeof Be=="undefined"?X[0]:Be},ve=function(X,ye,Be,pt,tr){var br=ye[0],Ir=ye[1],zr=Be[0],Wr=Be[1];switch(X){case no.REPEAT_X:return[new xe(Math.round(pt.left),Math.round(pt.top+Ir)),new xe(Math.round(pt.left+pt.width),Math.round(pt.top+Ir)),new xe(Math.round(pt.left+pt.width),Math.round(Wr+pt.top+Ir)),new xe(Math.round(pt.left),Math.round(Wr+pt.top+Ir))];case no.REPEAT_Y:return[new xe(Math.round(pt.left+br),Math.round(pt.top)),new xe(Math.round(pt.left+br+zr),Math.round(pt.top)),new xe(Math.round(pt.left+br+zr),Math.round(pt.height+pt.top)),new xe(Math.round(pt.left+br),Math.round(pt.height+pt.top))];case no.NO_REPEAT:return[new xe(Math.round(pt.left+br),Math.round(pt.top+Ir)),new xe(Math.round(pt.left+br+zr),Math.round(pt.top+Ir)),new xe(Math.round(pt.left+br+zr),Math.round(pt.top+Ir+Wr)),new xe(Math.round(pt.left+br),Math.round(pt.top+Ir+Wr))];default:return[new xe(Math.round(tr.left),Math.round(tr.top)),new xe(Math.round(tr.left+tr.width),Math.round(tr.top)),new xe(Math.round(tr.left+tr.width),Math.round(tr.height+tr.top)),new xe(Math.round(tr.left),Math.round(tr.height+tr.top))]}},Je="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",St="Hidden Text",jt=function(){function De(X){this._data={},this._document=X}return De.prototype.parseMetrics=function(X,ye){var Be=this._document.createElement("div"),pt=this._document.createElement("img"),tr=this._document.createElement("span"),br=this._document.body;Be.style.visibility="hidden",Be.style.fontFamily=X,Be.style.fontSize=ye,Be.style.margin="0",Be.style.padding="0",br.appendChild(Be),pt.src=Je,pt.width=1,pt.height=1,pt.style.margin="0",pt.style.padding="0",pt.style.verticalAlign="baseline",tr.style.fontFamily=X,tr.style.fontSize=ye,tr.style.margin="0",tr.style.padding="0",tr.appendChild(this._document.createTextNode(St)),Be.appendChild(tr),Be.appendChild(pt);var Ir=pt.offsetTop-tr.offsetTop+2;Be.removeChild(tr),Be.appendChild(this._document.createTextNode(St)),Be.style.lineHeight="normal",pt.style.verticalAlign="super";var zr=pt.offsetTop-Be.offsetTop+2;return br.removeChild(Be),{baseline:Ir,middle:zr}},De.prototype.getMetrics=function(X,ye){var Be=X+" "+ye;return typeof this._data[Be]=="undefined"&&(this._data[Be]=this.parseMetrics(X,ye)),this._data[Be]},De}(),Gt=1e4,Lr=function(){function De(X){this._activeEffects=[],this.canvas=X.canvas?X.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=X,X.canvas||(this.canvas.width=Math.floor(X.width*X.scale),this.canvas.height=Math.floor(X.height*X.scale),this.canvas.style.width=X.width+"px",this.canvas.style.height=X.height+"px"),this.fontMetrics=new jt(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-X.x+X.scrollX,-X.y+X.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],Xi.getInstance(X.id).debug("Canvas renderer initialized ("+X.width+"x"+X.height+" at "+X.x+","+X.y+") with scale "+X.scale)}return De.prototype.applyEffects=function(X,ye){for(var Be=this;this._activeEffects.length;)this.popEffect();X.filter(function(pt){return Ro(pt.target,ye)}).forEach(function(pt){return Be.applyEffect(pt)})},De.prototype.applyEffect=function(X){this.ctx.save(),un(X)&&(this.ctx.translate(X.offsetX,X.offsetY),this.ctx.transform(X.matrix[0],X.matrix[1],X.matrix[2],X.matrix[3],X.matrix[4],X.matrix[5]),this.ctx.translate(-X.offsetX,-X.offsetY)),hn(X)&&(this.path(X.path),this.ctx.clip()),this._activeEffects.push(X)},De.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},De.prototype.renderStack=function(X){return m(this,void 0,void 0,function(){var ye;return y(this,function(Be){switch(Be.label){case 0:return ye=X.element.container.styles,ye.isVisible()?(this.ctx.globalAlpha=ye.opacity,[4,this.renderStackContent(X)]):[3,2];case 1:Be.sent(),Be.label=2;case 2:return[2]}})})},De.prototype.renderNode=function(X){return m(this,void 0,void 0,function(){return y(this,function(ye){switch(ye.label){case 0:return X.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(X)]:[3,3];case 1:return ye.sent(),[4,this.renderNodeContent(X)];case 2:ye.sent(),ye.label=3;case 3:return[2]}})})},De.prototype.renderTextWithLetterSpacing=function(X,ye){var Be=this;if(ye===0)this.ctx.fillText(X.text,X.bounds.left,X.bounds.top+X.bounds.height);else{var pt=t(X.text).map(function(tr){return o(tr)});pt.reduce(function(tr,br){return Be.ctx.fillText(br,tr,X.bounds.top+X.bounds.height),tr+Be.ctx.measureText(br).width},X.bounds.left)}},De.prototype.createFontStyle=function(X){var ye=X.fontVariant.filter(function(tr){return tr==="normal"||tr==="small-caps"}).join(""),Be=X.fontFamily.join(", "),pt=Ne(X.fontSize)?""+X.fontSize.number+X.fontSize.unit:X.fontSize.number+"px";return[[X.fontStyle,ye,X.fontWeight,pt,Be].join(" "),Be,pt]},De.prototype.renderTextNode=function(X,ye){return m(this,void 0,void 0,function(){var Be,pt,tr,br,Ir=this;return y(this,function(zr){return Be=this.createFontStyle(ye),pt=Be[0],tr=Be[1],br=Be[2],this.ctx.font=pt,X.textBounds.forEach(function(Wr){Ir.ctx.fillStyle=Tn(ye.color),Ir.renderTextWithLetterSpacing(Wr,ye.letterSpacing);var ln=ye.textShadow;ln.length&&Wr.text.trim().length&&(ln.slice(0).reverse().forEach(function(an){Ir.ctx.shadowColor=Tn(an.color),Ir.ctx.shadowOffsetX=an.offsetX.number*Ir.options.scale,Ir.ctx.shadowOffsetY=an.offsetY.number*Ir.options.scale,Ir.ctx.shadowBlur=an.blur.number,Ir.ctx.fillText(Wr.text,Wr.bounds.left,Wr.bounds.top+Wr.bounds.height)}),Ir.ctx.shadowColor="",Ir.ctx.shadowOffsetX=0,Ir.ctx.shadowOffsetY=0,Ir.ctx.shadowBlur=0),ye.textDecorationLine.length&&(Ir.ctx.fillStyle=Tn(ye.textDecorationColor||ye.color),ye.textDecorationLine.forEach(function(an){switch(an){case 1:var Mn=Ir.fontMetrics.getMetrics(tr,br).baseline;Ir.ctx.fillRect(Wr.bounds.left,Math.round(Wr.bounds.top+Mn),Wr.bounds.width,1);break;case 2:Ir.ctx.fillRect(Wr.bounds.left,Math.round(Wr.bounds.top),Wr.bounds.width,1);break;case 3:var ii=Ir.fontMetrics.getMetrics(tr,br).middle;Ir.ctx.fillRect(Wr.bounds.left,Math.ceil(Wr.bounds.top+ii),Wr.bounds.width,1);break}}))}),[2]})})},De.prototype.renderReplacedElement=function(X,ye,Be){if(Be&&X.intrinsicWidth>0&&X.intrinsicHeight>0){var pt=zo(X),tr=Pr(ye);this.path(tr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Be,0,0,X.intrinsicWidth,X.intrinsicHeight,pt.left,pt.top,pt.width,pt.height),this.ctx.restore()}},De.prototype.renderNodeContent=function(X){return m(this,void 0,void 0,function(){var ye,Be,pt,tr,br,Ir,zr,Wr,zr,ln,an,Mn,ii,zn,hi,ma,xi,zr,oa,Ia,zn;return y(this,function(Ri){switch(Ri.label){case 0:this.applyEffects(X.effects,4),ye=X.container,Be=X.curves,pt=ye.styles,tr=0,br=ye.textNodes,Ri.label=1;case 1:return tr<br.length?(Ir=br[tr],[4,this.renderTextNode(Ir,pt)]):[3,4];case 2:Ri.sent(),Ri.label=3;case 3:return tr++,[3,1];case 4:if(!(ye instanceof Nl))return[3,8];Ri.label=5;case 5:return Ri.trys.push([5,7,,8]),[4,this.options.cache.match(ye.src)];case 6:return zr=Ri.sent(),this.renderReplacedElement(ye,Be,zr),[3,8];case 7:return Wr=Ri.sent(),Xi.getInstance(this.options.id).error("Error loading image "+ye.src),[3,8];case 8:if(ye instanceof Ns&&this.renderReplacedElement(ye,Be,ye.canvas),!(ye instanceof Ys))return[3,12];Ri.label=9;case 9:return Ri.trys.push([9,11,,12]),[4,this.options.cache.match(ye.svg)];case 10:return zr=Ri.sent(),this.renderReplacedElement(ye,Be,zr),[3,12];case 11:return ln=Ri.sent(),Xi.getInstance(this.options.id).error("Error loading svg "+ye.svg.substring(0,255)),[3,12];case 12:return ye instanceof Wl&&ye.tree?(an=new De({id:this.options.id,scale:this.options.scale,backgroundColor:ye.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:ye.width,height:ye.height,cache:this.options.cache,windowWidth:ye.width,windowHeight:ye.height}),[4,an.render(ye.tree)]):[3,14];case 13:Mn=Ri.sent(),ye.width&&ye.height&&this.ctx.drawImage(Mn,0,0,ye.width,ye.height,ye.bounds.left,ye.bounds.top,ye.bounds.width,ye.bounds.height),Ri.label=14;case 14:if(ye instanceof _l&&(ii=Math.min(ye.bounds.width,ye.bounds.height),ye.type===qo?ye.checked&&(this.ctx.save(),this.path([new xe(ye.bounds.left+ii*.39363,ye.bounds.top+ii*.79),new xe(ye.bounds.left+ii*.16,ye.bounds.top+ii*.5549),new xe(ye.bounds.left+ii*.27347,ye.bounds.top+ii*.44071),new xe(ye.bounds.left+ii*.39694,ye.bounds.top+ii*.5649),new xe(ye.bounds.left+ii*.72983,ye.bounds.top+ii*.23),new xe(ye.bounds.left+ii*.84,ye.bounds.top+ii*.34085),new xe(ye.bounds.left+ii*.39363,ye.bounds.top+ii*.79)]),this.ctx.fillStyle=Tn(Rl),this.ctx.fill(),this.ctx.restore()):ye.type===el&&(ye.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(ye.bounds.left+ii/2,ye.bounds.top+ii/2,ii/4,0,Math.PI*2,!0),this.ctx.fillStyle=Tn(Rl),this.ctx.fill(),this.ctx.restore()))),jr(ye)&&ye.value.length){this.ctx.font=this.createFontStyle(pt)[0],this.ctx.fillStyle=Tn(pt.color),this.ctx.textBaseline="middle",this.ctx.textAlign=nn(ye.styles.textAlign),zn=zo(ye),hi=0;switch(ye.styles.textAlign){case xn.CENTER:hi+=zn.width/2;break;case xn.RIGHT:hi+=zn.width;break}ma=zn.add(hi,0,0,-zn.height/2+1),this.ctx.save(),this.path([new xe(zn.left,zn.top),new xe(zn.left+zn.width,zn.top),new xe(zn.left+zn.width,zn.top+zn.height),new xe(zn.left,zn.top+zn.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Zo(ye.value,ma),pt.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!Ro(ye.styles.display,2048))return[3,20];if(!(ye.styles.listStyleImage!==null))return[3,19];if(xi=ye.styles.listStyleImage,!(xi.type===Ka.URL))return[3,18];zr=void 0,oa=xi.url,Ri.label=15;case 15:return Ri.trys.push([15,17,,18]),[4,this.options.cache.match(oa)];case 16:return zr=Ri.sent(),this.ctx.drawImage(zr,ye.bounds.left-(zr.width+10),ye.bounds.top),[3,18];case 17:return Ia=Ri.sent(),Xi.getInstance(this.options.id).error("Error loading list-style-image "+oa),[3,18];case 18:return[3,20];case 19:X.listValue&&ye.styles.listStyleType!==Rn.NONE&&(this.ctx.font=this.createFontStyle(pt)[0],this.ctx.fillStyle=Tn(pt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",zn=new w(ye.bounds.left,ye.bounds.top+Br(ye.styles.paddingTop,ye.bounds.width),ye.bounds.width,as(pt.lineHeight,pt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Zo(X.listValue,zn),pt.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Ri.label=20;case 20:return[2]}})})},De.prototype.renderStackContent=function(X){return m(this,void 0,void 0,function(){var ye,Be,pt,tr,br,pt,Ir,zr,pt,Wr,ln,pt,an,Mn,pt,ii,zn,pt,hi,ma,pt;return y(this,function(xi){switch(xi.label){case 0:return[4,this.renderNodeBackgroundAndBorders(X.element)];case 1:xi.sent(),ye=0,Be=X.negativeZIndex,xi.label=2;case 2:return ye<Be.length?(pt=Be[ye],[4,this.renderStack(pt)]):[3,5];case 3:xi.sent(),xi.label=4;case 4:return ye++,[3,2];case 5:return[4,this.renderNodeContent(X.element)];case 6:xi.sent(),tr=0,br=X.nonInlineLevel,xi.label=7;case 7:return tr<br.length?(pt=br[tr],[4,this.renderNode(pt)]):[3,10];case 8:xi.sent(),xi.label=9;case 9:return tr++,[3,7];case 10:Ir=0,zr=X.nonPositionedFloats,xi.label=11;case 11:return Ir<zr.length?(pt=zr[Ir],[4,this.renderStack(pt)]):[3,14];case 12:xi.sent(),xi.label=13;case 13:return Ir++,[3,11];case 14:Wr=0,ln=X.nonPositionedInlineLevel,xi.label=15;case 15:return Wr<ln.length?(pt=ln[Wr],[4,this.renderStack(pt)]):[3,18];case 16:xi.sent(),xi.label=17;case 17:return Wr++,[3,15];case 18:an=0,Mn=X.inlineLevel,xi.label=19;case 19:return an<Mn.length?(pt=Mn[an],[4,this.renderNode(pt)]):[3,22];case 20:xi.sent(),xi.label=21;case 21:return an++,[3,19];case 22:ii=0,zn=X.zeroOrAutoZIndexOrTransformedOrOpacity,xi.label=23;case 23:return ii<zn.length?(pt=zn[ii],[4,this.renderStack(pt)]):[3,26];case 24:xi.sent(),xi.label=25;case 25:return ii++,[3,23];case 26:hi=0,ma=X.positiveZIndex,xi.label=27;case 27:return hi<ma.length?(pt=ma[hi],[4,this.renderStack(pt)]):[3,30];case 28:xi.sent(),xi.label=29;case 29:return hi++,[3,27];case 30:return[2]}})})},De.prototype.mask=function(X){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(X.slice(0).reverse()),this.ctx.closePath()},De.prototype.path=function(X){this.ctx.beginPath(),this.formatPath(X),this.ctx.closePath()},De.prototype.formatPath=function(X){var ye=this;X.forEach(function(Be,pt){var tr=Jt(Be)?Be.start:Be;pt===0?ye.ctx.moveTo(tr.x,tr.y):ye.ctx.lineTo(tr.x,tr.y),Jt(Be)&&ye.ctx.bezierCurveTo(Be.startControl.x,Be.startControl.y,Be.endControl.x,Be.endControl.y,Be.end.x,Be.end.y)})},De.prototype.renderRepeat=function(X,ye,Be,pt){this.path(X),this.ctx.fillStyle=ye,this.ctx.translate(Be,pt),this.ctx.fill(),this.ctx.translate(-Be,-pt)},De.prototype.resizeImage=function(X,ye,Be){if(X.width===ye&&X.height===Be)return X;var pt=this.canvas.ownerDocument.createElement("canvas");pt.width=ye,pt.height=Be;var tr=pt.getContext("2d");return tr.drawImage(X,0,0,X.width,X.height,0,0,ye,Be),pt},De.prototype.renderBackgroundImage=function(X){return m(this,void 0,void 0,function(){var ye,Be,pt,tr,br,Ir;return y(this,function(zr){switch(zr.label){case 0:ye=X.styles.backgroundImage.length-1,Be=function(ln){var an,Mn,ii,zn,hi,ma,xi,oa,Ia,Ri,No,hi,ma,xi,oa,Ia,qa,Wo,Uo,Ba,Vo,ps,vs,Ls,gc,Ri,ec,hi,fc,pc,oa,Ia,mc,ma,xi,vc,Ul,Ac,yc,bc,dc,wc,Sc;return y(this,function(tc){switch(tc.label){case 0:if(!(ln.type===Ka.URL))return[3,5];an=void 0,Mn=ln.url,tc.label=1;case 1:return tc.trys.push([1,3,,4]),[4,pt.options.cache.match(Mn)];case 2:return an=tc.sent(),[3,4];case 3:return ii=tc.sent(),Xi.getInstance(pt.options.id).error("Error loading background-image "+Mn),[3,4];case 4:return an&&(zn=g(X,ye,[an.width,an.height,an.width/an.height]),hi=zn[0],ma=zn[1],xi=zn[2],oa=zn[3],Ia=zn[4],Ri=pt.ctx.createPattern(pt.resizeImage(an,oa,Ia),"repeat"),pt.renderRepeat(hi,Ri,ma,xi)),[3,6];case 5:Io(ln)?(No=g(X,ye,[null,null,null]),hi=No[0],ma=No[1],xi=No[2],oa=No[3],Ia=No[4],qa=Ci(ln.angle,oa,Ia),Wo=qa[0],Uo=qa[1],Ba=qa[2],Vo=qa[3],ps=qa[4],vs=document.createElement("canvas"),vs.width=oa,vs.height=Ia,Ls=vs.getContext("2d"),gc=Ls.createLinearGradient(Uo,Vo,Ba,ps),pi(ln.stops,Wo).forEach(function(hc){return gc.addColorStop(hc.stop,Tn(hc.color))}),Ls.fillStyle=gc,Ls.fillRect(0,0,oa,Ia),oa>0&&Ia>0&&(Ri=pt.ctx.createPattern(vs,"repeat"),pt.renderRepeat(hi,Ri,ma,xi))):Ja(ln)&&(ec=g(X,ye,[null,null,null]),hi=ec[0],fc=ec[1],pc=ec[2],oa=ec[3],Ia=ec[4],mc=ln.position.length===0?[lr]:ln.position,ma=Br(mc[0],oa),xi=Br(mc[mc.length-1],Ia),vc=Da(ln,ma,xi,oa,Ia),Ul=vc[0],Ac=vc[1],Ul>0&&Ul>0&&(yc=pt.ctx.createRadialGradient(fc+ma,pc+xi,0,fc+ma,pc+xi,Ul),pi(ln.stops,Ul*2).forEach(function(hc){return yc.addColorStop(hc.stop,Tn(hc.color))}),pt.path(hi),pt.ctx.fillStyle=yc,Ul!==Ac?(bc=X.bounds.left+.5*X.bounds.width,dc=X.bounds.top+.5*X.bounds.height,wc=Ac/Ul,Sc=1/wc,pt.ctx.save(),pt.ctx.translate(bc,dc),pt.ctx.transform(1,0,0,wc,0,0),pt.ctx.translate(-bc,-dc),pt.ctx.fillRect(fc,Sc*(pc-dc)+dc,oa,Ia*Sc),pt.ctx.restore()):pt.ctx.fill())),tc.label=6;case 6:return ye--,[2]}})},pt=this,tr=0,br=X.styles.backgroundImage.slice(0).reverse(),zr.label=1;case 1:return tr<br.length?(Ir=br[tr],[5,Be(Ir)]):[3,4];case 2:zr.sent(),zr.label=3;case 3:return tr++,[3,1];case 4:return[2]}})})},De.prototype.renderBorder=function(X,ye,Be){return m(this,void 0,void 0,function(){return y(this,function(pt){return this.path(Va(Be,ye)),this.ctx.fillStyle=Tn(X),this.ctx.fill(),[2]})})},De.prototype.renderNodeBackgroundAndBorders=function(X){return m(this,void 0,void 0,function(){var ye,Be,pt,tr,br,Ir,zr,Wr,ln=this;return y(this,function(an){switch(an.label){case 0:return this.applyEffects(X.effects,2),ye=X.container.styles,Be=!fn(ye.backgroundColor)||ye.backgroundImage.length,pt=[{style:ye.borderTopStyle,color:ye.borderTopColor},{style:ye.borderRightStyle,color:ye.borderRightColor},{style:ye.borderBottomStyle,color:ye.borderBottomColor},{style:ye.borderLeftStyle,color:ye.borderLeftColor}],tr=tn(q(ye.backgroundClip,0),X.curves),Be||ye.boxShadow.length?(this.ctx.save(),this.path(tr),this.ctx.clip(),fn(ye.backgroundColor)||(this.ctx.fillStyle=Tn(ye.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(X.container)]):[3,2];case 1:an.sent(),this.ctx.restore(),ye.boxShadow.slice(0).reverse().forEach(function(Mn){ln.ctx.save();var ii=Qr(X.curves),zn=Mn.inset?0:Gt,hi=ie(ii,-zn+(Mn.inset?1:-1)*Mn.spread.number,(Mn.inset?1:-1)*Mn.spread.number,Mn.spread.number*(Mn.inset?-2:2),Mn.spread.number*(Mn.inset?-2:2));Mn.inset?(ln.path(ii),ln.ctx.clip(),ln.mask(hi)):(ln.mask(ii),ln.ctx.clip(),ln.path(hi)),ln.ctx.shadowOffsetX=Mn.offsetX.number+zn,ln.ctx.shadowOffsetY=Mn.offsetY.number,ln.ctx.shadowColor=Tn(Mn.color),ln.ctx.shadowBlur=Mn.blur.number,ln.ctx.fillStyle=Mn.inset?Tn(Mn.color):"rgba(0,0,0,1)",ln.ctx.fill(),ln.ctx.restore()}),an.label=2;case 2:br=0,Ir=0,zr=pt,an.label=3;case 3:return Ir<zr.length?(Wr=zr[Ir],Wr.style!==Eo.NONE&&!fn(Wr.color)?[4,this.renderBorder(Wr.color,br,X.curves)]:[3,5]):[3,7];case 4:an.sent(),an.label=5;case 5:br++,an.label=6;case 6:return Ir++,[3,3];case 7:return[2]}})})},De.prototype.render=function(X){return m(this,void 0,void 0,function(){var ye;return y(this,function(Be){switch(Be.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Tn(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),ye=yi(X),[4,this.renderStack(ye)];case 1:return Be.sent(),this.applyEffects([],2),[2,this.canvas]}})})},De}(),jr=function(X){return X instanceof zl||X instanceof yl?!0:X instanceof _l&&X.type!==el&&X.type!==qo},tn=function(X,ye){switch(X){case Ei.BORDER_BOX:return Qr(ye);case Ei.CONTENT_BOX:return Gr(ye);case Ei.PADDING_BOX:default:return Pr(ye)}},nn=function(X){switch(X){case xn.CENTER:return"center";case xn.RIGHT:return"right";case xn.LEFT:default:return"left"}},bn=function(){function De(X){this.canvas=X.canvas?X.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=X,this.canvas.width=Math.floor(X.width*X.scale),this.canvas.height=Math.floor(X.height*X.scale),this.canvas.style.width=X.width+"px",this.canvas.style.height=X.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-X.x+X.scrollX,-X.y+X.scrollY),Xi.getInstance(X.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+X.width+"x"+X.height+" at "+X.x+","+X.y+") with scale "+X.scale)}return De.prototype.render=function(X){return m(this,void 0,void 0,function(){var ye,Be;return y(this,function(pt){switch(pt.label){case 0:return ye=oi(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,X),[4,Fn(ye)];case 1:return Be=pt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Tn(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(Be,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},De}(),Fn=function(X){return new Promise(function(ye,Be){var pt=new Image;pt.onload=function(){ye(pt)},pt.onerror=Be,pt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(X))})},Jn=void 0,Zn=function(X){return In.parse(Kr.create(X).parseComponentValue())},ni=function(X,ye){return ye===void 0&&(ye={}),ai(X,ye)};typeof window!="undefined"&&Zi.setContext(window);var ai=function(X,ye){return m(Jn,void 0,void 0,function(){var Be,pt,tr,br,Ir,zr,Wr,ln,an,Mn,ii,zn,hi,ma,xi,oa,Ia,Ri,No,qa,Wo,Uo,Ba,Vo,ps,Vo;return y(this,function(vs){switch(vs.label){case 0:if(Be=X.ownerDocument,!Be)throw new Error("Element is not attached to a Document");if(pt=Be.defaultView,!pt)throw new Error("Document is not attached to a Window");return tr=(Math.round(Math.random()*1e3)+Date.now()).toString(16),br=dl(X)||Sl(X)?a(Be):f(X),Ir=br.width,zr=br.height,Wr=br.left,ln=br.top,an={allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},Mn=v({},an,ye),ii={backgroundColor:"#ffffff",cache:ye.cache?ye.cache:Zi.create(tr,Mn),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:pt.devicePixelRatio||1,windowWidth:pt.innerWidth,windowHeight:pt.innerHeight,scrollX:pt.pageXOffset,scrollY:pt.pageYOffset,x:Wr,y:ln,width:Math.ceil(Ir),height:Math.ceil(zr),id:tr},zn=v({},ii,Mn,ye),hi=new w(zn.scrollX,zn.scrollY,zn.windowWidth,zn.windowHeight),Xi.create({id:tr,enabled:zn.logging}),Xi.getInstance(tr).debug("Starting document clone"),ma=new Pl(X,{id:tr,onclone:zn.onclone,ignoreElements:zn.ignoreElements,inlineImages:zn.foreignObjectRendering,copyStyles:zn.foreignObjectRendering}),xi=ma.clonedReferenceElement,xi?[4,ma.toIFrame(Be,hi)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return oa=vs.sent(),Ia=Be.documentElement?Zn(getComputedStyle(Be.documentElement).backgroundColor):wi.TRANSPARENT,Ri=Be.body?Zn(getComputedStyle(Be.body).backgroundColor):wi.TRANSPARENT,No=ye.backgroundColor,qa=typeof No=="string"?Zn(No):No===null?wi.TRANSPARENT:4294967295,Wo=X===Be.documentElement?fn(Ia)?fn(Ri)?qa:Ri:Ia:qa,Uo={id:tr,cache:zn.cache,canvas:zn.canvas,backgroundColor:Wo,scale:zn.scale,x:zn.x,y:zn.y,scrollX:zn.scrollX,scrollY:zn.scrollY,width:zn.width,height:zn.height,windowWidth:zn.windowWidth,windowHeight:zn.windowHeight},zn.foreignObjectRendering?(Xi.getInstance(tr).debug("Document cloned, using foreign object rendering"),Vo=new bn(Uo),[4,Vo.render(xi)]):[3,3];case 2:return Ba=vs.sent(),[3,5];case 3:return Xi.getInstance(tr).debug("Document cloned, using computed rendering"),Zi.attachInstance(zn.cache),Xi.getInstance(tr).debug("Starting DOM parsing"),ps=tl(xi),Zi.detachInstance(),Wo===ps.styles.backgroundColor&&(ps.styles.backgroundColor=wi.TRANSPARENT),Xi.getInstance(tr).debug("Starting renderer"),Vo=new Lr(Uo),[4,Vo.render(ps)];case 4:Ba=vs.sent(),vs.label=5;case 5:return zn.removeContainer===!0&&(Pl.destroy(oa)||Xi.getInstance(tr).error("Cannot detach cloned iframe as it is not in the DOM anymore")),Xi.getInstance(tr).debug("Finished rendering"),Xi.destroy(tr),Zi.destroy(tr),[2,Ba]}})})};return ni})},"C+fK":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},L=d;_.default=L},"C9+5":function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("vIJk")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="PictureTwoTone";var f=v.forwardRef(w);_.default=f},C9Tu:function(Z,_,e){var d=e("oEo5"),L=d.each,v="\0_ec_hist_store";function m(t,o){var s=a(t);L(o,function(l,n){for(var c=s.length-1;c>=0;c--){var r=s[c];if(r[n])break}if(c<0){var u=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(u){var i=u.getPercentRange();s[0][n]={dataZoomId:n,start:i[0],end:i[1]}}}}),s.push(o)}function y(t){var o=a(t),s=o[o.length-1];o.length>1&&o.pop();var l={};return L(s,function(n,c){for(var r=o.length-1;r>=0;r--){var n=o[r][c];if(n){l[c]=n;break}}}),l}function w(t){t[v]=null}function f(t){return a(t).length}function a(t){var o=t[v];return o||(o=t[v]=[{}]),o}_.push=m,_.pop=y,_.clear=w,_.count=f},CDzN:function(Z,_,e){var d=e("BiNE");function L(v,m){var y=this.__data__,w=d(y,v);return w<0?(++this.size,y.push([v,m])):y[w][1]=m,this}Z.exports=L},CQhY:function(Z,_,e){var d=e("oEo5"),L=e("F2Ao"),v=e("Jjzi");function m(S){return isNaN(S)?"-":(S=(S+"").split("."),S[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(S.length>1?"."+S[1]:""))}function y(S,E){return S=(S||"").toLowerCase().replace(/-(.)/g,function(O,T){return T.toUpperCase()}),E&&S&&(S=S.charAt(0).toUpperCase()+S.slice(1)),S}var w=d.normalizeCssArray,f=/([&<>"'])/g,a={"&":"&","<":"<",">":">",'"':""","'":"'"};function t(S){return S==null?"":(S+"").replace(f,function(E,O){return a[O]})}var o=["a","b","c","d","e","f","g"],s=function(S,E){return"{"+S+(E==null?"":E)+"}"};function l(S,E,O){d.isArray(E)||(E=[E]);var T=E.length;if(!T)return"";for(var b=E[0].$vars||[],x=0;x<b.length;x++){var N=o[x];S=S.replace(s(N),s(N,0))}for(var D=0;D<T;D++)for(var M=0;M<b.length;M++){var R=E[D][b[M]];S=S.replace(s(o[M],D),O?t(R):R)}return S}function n(S,E,O){return d.each(E,function(T,b){S=S.replace("{"+b+"}",O?t(T):T)}),S}function c(S,E){S=d.isString(S)?{color:S,extraCssText:E}:S||{};var O=S.color,T=S.type,E=S.extraCssText,b=S.renderMode||"html",x=S.markerId||"X";return O?b==="html"?T==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+t(O)+";"+(E||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+t(O)+";"+(E||"")+'"></span>':{renderMode:b,content:"{marker"+x+"|} ",style:{color:O}}:""}function r(S,E){return S+="","0000".substr(0,E-S.length)+S}function u(S,E,O){(S==="week"||S==="month"||S==="quarter"||S==="half-year"||S==="year")&&(S=`MM-dd
|
||
yyyy`);var T=v.parseDate(E),b=O?"UTC":"",x=T["get"+b+"FullYear"](),N=T["get"+b+"Month"]()+1,D=T["get"+b+"Date"](),M=T["get"+b+"Hours"](),R=T["get"+b+"Minutes"](),F=T["get"+b+"Seconds"](),B=T["get"+b+"Milliseconds"]();return S=S.replace("MM",r(N,2)).replace("M",N).replace("yyyy",x).replace("yy",x%100).replace("dd",r(D,2)).replace("d",D).replace("hh",r(M,2)).replace("h",M).replace("mm",r(R,2)).replace("m",R).replace("ss",r(F,2)).replace("s",F).replace("SSS",r(B,3)),S}function i(S){return S&&S.charAt(0).toUpperCase()+S.substr(1)}var h=L.truncateText;function p(S){return L.getBoundingRect(S.text,S.font,S.textAlign,S.textVerticalAlign,S.textPadding,S.textLineHeight,S.rich,S.truncate)}function A(S,E,O,T,b,x,N,D){return L.getBoundingRect(S,E,O,T,b,D,x,N)}function C(S,E){if(E==="_blank"||E==="blank"){var O=window.open();O.opener=null,O.location=S}else window.open(S,E)}_.addCommas=m,_.toCamelCase=y,_.normalizeCssArray=w,_.encodeHTML=t,_.formatTpl=l,_.formatTplSimple=n,_.getTooltipMarker=c,_.formatTime=u,_.capitalFirst=i,_.truncateText=h,_.getTextBoundingRect=p,_.getTextRect=A,_.windowOpen=C},CRgH:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("XDlA"),m=e.n(v),y=e("T5E4"),w=e.n(y),f=e("XneU"),a=e.n(f),t=e("Hdxz"),o=e.n(t),s=e("CKlD"),l=e.n(s),n=e("ZZRV"),c=e("iczh"),r=e.n(c),u=e("3CTf"),i=e("4ZCI"),h=e.n(i),p=e("vWUX"),A=e("nSZG"),C=Object(p.a)("text","input");function S(dt){return!!(dt.prefix||dt.suffix||dt.allowClear)}var E=function(dt){a()(Ye,dt);var wt=o()(Ye);function Ye(){var mt;return m()(this,Ye),mt=wt.apply(this,arguments),mt.containerRef=n.createRef(),mt.onInputMouseUp=function(Ue){var Re;if((Re=mt.containerRef.current)===null||Re===void 0?void 0:Re.contains(Ue.target)){var Le=mt.props.triggerFocus;Le()}},mt}return w()(Ye,[{key:"renderClearIcon",value:function(Ue){var Re=this.props,Le=Re.allowClear,at=Re.value,Ot=Re.disabled,Tt=Re.readOnly,Ft=Re.inputType,ke=Re.handleReset;if(!Le)return null;var Vt=!Ot&&!Tt&&at,bt=Ft===C[0]?"".concat(Ue,"-textarea-clear-icon"):"".concat(Ue,"-clear-icon");return n.createElement(h.a,{onClick:ke,className:r()(bt,l()({},"".concat(bt,"-hidden"),!Vt)),role:"button"})}},{key:"renderSuffix",value:function(Ue){var Re=this.props,Le=Re.suffix,at=Re.allowClear;return Le||at?n.createElement("span",{className:"".concat(Ue,"-suffix")},this.renderClearIcon(Ue),Le):null}},{key:"renderLabeledIcon",value:function(Ue,Re){var Le,at=this.props,Ot=at.focused,Tt=at.value,Ft=at.prefix,ke=at.className,Vt=at.size,bt=at.suffix,Rt=at.disabled,Nt=at.allowClear,xt=at.direction,Ut=at.style,Ze=at.readOnly,ze=at.bordered,re=this.renderSuffix(Ue);if(!S(this.props))return Object(A.a)(Re,{value:Tt});var le=Ft?n.createElement("span",{className:"".concat(Ue,"-prefix")},Ft):null,Xe=r()(ke,"".concat(Ue,"-affix-wrapper"),(Le={},l()(Le,"".concat(Ue,"-affix-wrapper-focused"),Ot),l()(Le,"".concat(Ue,"-affix-wrapper-disabled"),Rt),l()(Le,"".concat(Ue,"-affix-wrapper-sm"),Vt==="small"),l()(Le,"".concat(Ue,"-affix-wrapper-lg"),Vt==="large"),l()(Le,"".concat(Ue,"-affix-wrapper-input-with-clear-btn"),bt&&Nt&&Tt),l()(Le,"".concat(Ue,"-affix-wrapper-rtl"),xt==="rtl"),l()(Le,"".concat(Ue,"-affix-wrapper-readonly"),Ze),l()(Le,"".concat(Ue,"-affix-wrapper-borderless"),!ze),Le));return n.createElement("span",{ref:this.containerRef,className:Xe,style:Ut,onMouseUp:this.onInputMouseUp},le,Object(A.a)(Re,{style:null,value:Tt,className:M(Ue,ze,Vt,Rt)}),re)}},{key:"renderInputWithLabel",value:function(Ue,Re){var Le,at,Ot=this.props,Tt=Ot.addonBefore,Ft=Ot.addonAfter,ke=Ot.style,Vt=Ot.size,bt=Ot.className,Rt=Ot.direction;if(!Tt&&!Ft)return Re;var Nt="".concat(Ue,"-group"),xt="".concat(Nt,"-addon"),Ut=Tt?n.createElement("span",{className:xt},Tt):null,Ze=Ft?n.createElement("span",{className:xt},Ft):null,ze=r()("".concat(Ue,"-wrapper"),(Le={},l()(Le,Nt,Tt||Ft),l()(Le,"".concat(Nt,"-rtl"),Rt==="rtl"),Le)),re=r()(bt,"".concat(Ue,"-group-wrapper"),(at={},l()(at,"".concat(Ue,"-group-wrapper-sm"),Vt==="small"),l()(at,"".concat(Ue,"-group-wrapper-lg"),Vt==="large"),l()(at,"".concat(Ue,"-group-wrapper-rtl"),Rt==="rtl"),at));return n.createElement("span",{className:re,style:ke},n.createElement("span",{className:ze},Ut,Object(A.a)(Re,{style:null}),Ze))}},{key:"renderTextAreaWithClearIcon",value:function(Ue,Re){var Le,at=this.props,Ot=at.value,Tt=at.allowClear,Ft=at.className,ke=at.style,Vt=at.direction,bt=at.bordered;if(!Tt)return Object(A.a)(Re,{value:Ot});var Rt=r()(Ft,"".concat(Ue,"-affix-wrapper"),"".concat(Ue,"-affix-wrapper-textarea-with-clear-btn"),(Le={},l()(Le,"".concat(Ue,"-affix-wrapper-rtl"),Vt==="rtl"),l()(Le,"".concat(Ue,"-affix-wrapper-borderless"),!bt),Le));return n.createElement("span",{className:Rt,style:ke},Object(A.a)(Re,{style:null,value:Ot}),this.renderClearIcon(Ue))}},{key:"render",value:function(){var Ue=this.props,Re=Ue.prefixCls,Le=Ue.inputType,at=Ue.element;return Le===C[0]?this.renderTextAreaWithClearIcon(Re,at):this.renderInputWithLabel(Re,this.renderLabeledIcon(Re,at))}}]),Ye}(n.Component),O=E,T=e("LpVx"),b=e("WHP3"),x=e("b5WB");function N(dt){return typeof dt=="undefined"||dt===null?"":dt}function D(dt,wt,Ye){if(Ye){var mt=wt;if(wt.type==="click"){mt=Object.create(wt),mt.target=dt,mt.currentTarget=dt;var Ue=dt.value;dt.value="",Ye(mt),dt.value=Ue;return}Ye(mt)}}function M(dt,wt,Ye,mt,Ue){var Re;return r()(dt,(Re={},l()(Re,"".concat(dt,"-sm"),Ye==="small"),l()(Re,"".concat(dt,"-lg"),Ye==="large"),l()(Re,"".concat(dt,"-disabled"),mt),l()(Re,"".concat(dt,"-rtl"),Ue==="rtl"),l()(Re,"".concat(dt,"-borderless"),!wt),Re))}var R=function(dt){a()(Ye,dt);var wt=o()(Ye);function Ye(mt){var Ue;m()(this,Ye),Ue=wt.call(this,mt),Ue.direction="ltr",Ue.focus=function(){Ue.input.focus()},Ue.saveClearableInput=function(Le){Ue.clearableInput=Le},Ue.saveInput=function(Le){Ue.input=Le},Ue.onFocus=function(Le){var at=Ue.props.onFocus;Ue.setState({focused:!0},Ue.clearPasswordValueAttribute),at&&at(Le)},Ue.onBlur=function(Le){var at=Ue.props.onBlur;Ue.setState({focused:!1},Ue.clearPasswordValueAttribute),at&&at(Le)},Ue.handleReset=function(Le){Ue.setValue("",function(){Ue.focus()}),D(Ue.input,Le,Ue.props.onChange)},Ue.renderInput=function(Le,at,Ot){var Tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ft=Ue.props,ke=Ft.className,Vt=Ft.addonBefore,bt=Ft.addonAfter,Rt=Ft.size,Nt=Ft.disabled,xt=Object(u.default)(Ue.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return n.createElement("input",L()({autoComplete:Tt.autoComplete},xt,{onChange:Ue.handleChange,onFocus:Ue.onFocus,onBlur:Ue.onBlur,onKeyDown:Ue.handleKeyDown,className:r()(M(Le,Ot,Rt||at,Nt,Ue.direction),l()({},ke,ke&&!Vt&&!bt)),ref:Ue.saveInput}))},Ue.clearPasswordValueAttribute=function(){Ue.removePasswordTimeout=setTimeout(function(){Ue.input&&Ue.input.getAttribute("type")==="password"&&Ue.input.hasAttribute("value")&&Ue.input.removeAttribute("value")})},Ue.handleChange=function(Le){Ue.setValue(Le.target.value,Ue.clearPasswordValueAttribute),D(Ue.input,Le,Ue.props.onChange)},Ue.handleKeyDown=function(Le){var at=Ue.props,Ot=at.onPressEnter,Tt=at.onKeyDown;Le.keyCode===13&&Ot&&Ot(Le),Tt&&Tt(Le)},Ue.renderComponent=function(Le){var at=Le.getPrefixCls,Ot=Le.direction,Tt=Le.input,Ft=Ue.state,ke=Ft.value,Vt=Ft.focused,bt=Ue.props,Rt=bt.prefixCls,Nt=bt.bordered,xt=Nt===void 0?!0:Nt,Ut=at("input",Rt);return Ue.direction=Ot,n.createElement(b.b.Consumer,null,function(Ze){return n.createElement(O,L()({size:Ze},Ue.props,{prefixCls:Ut,inputType:"input",value:N(ke),element:Ue.renderInput(Ut,Ze,xt,Tt),handleReset:Ue.handleReset,ref:Ue.saveClearableInput,direction:Ot,focused:Vt,triggerFocus:Ue.focus,bordered:xt}))})};var Re=typeof mt.value=="undefined"?mt.defaultValue:mt.value;return Ue.state={value:Re,focused:!1,prevValue:mt.value},Ue}return w()(Ye,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Ue){return S(Ue)!==S(this.props)&&Object(x.a)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(Ue,Re){this.props.value===void 0&&this.setState({value:Ue},Re)}},{key:"render",value:function(){return n.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ue,Re){var Le=Re.prevValue,at={prevValue:Ue.value};return(Ue.value!==void 0||Le!==Ue.value)&&(at.value=Ue.value),at}}]),Ye}(n.Component);R.defaultProps={type:"text"};var F=R,B=function(wt){return n.createElement(T.a,null,function(Ye){var mt,Ue=Ye.getPrefixCls,Re=Ye.direction,Le=wt.prefixCls,at=wt.className,Ot=at===void 0?"":at,Tt=Ue("input-group",Le),Ft=r()(Tt,(mt={},l()(mt,"".concat(Tt,"-lg"),wt.size==="large"),l()(mt,"".concat(Tt,"-sm"),wt.size==="small"),l()(mt,"".concat(Tt,"-compact"),wt.compact),l()(mt,"".concat(Tt,"-rtl"),Re==="rtl"),mt),Ot);return n.createElement("span",{className:Ft,style:wt.style,onMouseEnter:wt.onMouseEnter,onMouseLeave:wt.onMouseLeave,onFocus:wt.onFocus,onBlur:wt.onBlur},wt.children)})},z=B,U=e("A1W9"),K=e("Rax+"),W=e.n(K),H=e("NXEf"),Y=e.n(H),Q=e("bnk9"),P=function(dt,wt){var Ye={};for(var mt in dt)Object.prototype.hasOwnProperty.call(dt,mt)&&wt.indexOf(mt)<0&&(Ye[mt]=dt[mt]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,mt=Object.getOwnPropertySymbols(dt);Ue<mt.length;Ue++)wt.indexOf(mt[Ue])<0&&Object.prototype.propertyIsEnumerable.call(dt,mt[Ue])&&(Ye[mt[Ue]]=dt[mt[Ue]]);return Ye},G=n.forwardRef(function(dt,wt){var Ye=n.useRef(null),mt=function(ke){var Vt=dt.onChange,bt=dt.onSearch;ke&&ke.target&&ke.type==="click"&&bt&&bt(ke.target.value,ke),Vt&&Vt(ke)},Ue=function(ke){var Vt;document.activeElement===((Vt=Ye.current)===null||Vt===void 0?void 0:Vt.input)&&ke.preventDefault()},Re=function(ke){var Vt,bt=dt.onSearch,Rt=dt.loading,Nt=dt.disabled;if(Rt||Nt)return;bt&&bt((Vt=Ye.current)===null||Vt===void 0?void 0:Vt.input.value,ke)},Le=function(ke){var Vt=dt.enterButton,bt=dt.size;return Vt?n.createElement(b.b.Consumer,{key:"enterButton"},function(Rt){return n.createElement(Q.a,{className:"".concat(ke,"-button"),type:"primary",size:bt||Rt},n.createElement(Y.a,null))}):n.createElement(Y.a,{className:"".concat(ke,"-icon"),key:"loadingIcon"})},at=function(ke){var Vt=dt.suffix,bt=dt.enterButton,Rt=dt.loading;if(Rt&&!bt)return[Vt,Le(ke)];if(bt)return Vt;var Nt=n.createElement(W.a,{className:"".concat(ke,"-icon"),key:"searchIcon",onClick:Re});return Vt?[Object(A.c)(Vt,null,{key:"suffix"}),Nt]:Nt},Ot=function(ke,Vt){var bt=dt.enterButton,Rt=dt.disabled,Nt=dt.addonAfter,xt=dt.loading,Ut="".concat(ke,"-button");if(xt&&bt)return[Le(ke),Nt];if(!bt)return Nt;var Ze,ze=bt,re=ze.type&&ze.type.__ANT_BUTTON===!0;return re||ze.type==="button"?Ze=Object(A.a)(ze,L()({onMouseDown:Ue,onClick:Re,key:"enterButton"},re?{className:Ut,size:Vt}:{})):Ze=n.createElement(Q.a,{className:Ut,type:"primary",size:Vt,disabled:Rt,key:"enterButton",onMouseDown:Ue,onClick:Re},bt===!0?n.createElement(W.a,null):bt),Nt?[Ze,Object(A.c)(Nt,null,{key:"addonAfter"})]:Ze},Tt=function(ke){var Vt=ke.getPrefixCls,bt=ke.direction,Rt=dt.prefixCls,Nt=dt.inputPrefixCls,xt=dt.enterButton,Ut=dt.className,Ze=dt.size,ze=P(dt,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete ze.onSearch,delete ze.loading;var re=Vt("input-search",Rt),le=Vt("input",Nt),Xe=function(je){var ar;if(xt){var zt;ar=r()(re,Ut,(zt={},l()(zt,"".concat(re,"-rtl"),bt==="rtl"),l()(zt,"".concat(re,"-enter-button"),!!xt),l()(zt,"".concat(re,"-").concat(je),!!je),zt))}else ar=r()(re,Ut,l()({},"".concat(re,"-rtl"),bt==="rtl"));return ar};return n.createElement(b.b.Consumer,null,function(_e){return n.createElement(F,L()({ref:Object(U.a)(Ye,wt),onPressEnter:Re},ze,{size:Ze||_e,prefixCls:le,addonAfter:Ot(re,Ze||_e),suffix:at(re),onChange:mt,className:Xe(Ze||_e)}))})};return n.createElement(T.a,null,Tt)});G.defaultProps={enterButton:!1},G.displayName="Search";var J=G,he=e("djYP"),te=function(dt){a()(Ye,dt);var wt=o()(Ye);function Ye(mt){var Ue;m()(this,Ye),Ue=wt.call(this,mt),Ue.focus=function(){Ue.resizableTextArea.textArea.focus()},Ue.saveTextArea=function(Le){Ue.resizableTextArea=Le==null?void 0:Le.resizableTextArea},Ue.saveClearableInput=function(Le){Ue.clearableInput=Le},Ue.handleChange=function(Le){Ue.setValue(Le.target.value),D(Ue.resizableTextArea.textArea,Le,Ue.props.onChange)},Ue.handleReset=function(Le){Ue.setValue("",function(){Ue.focus()}),D(Ue.resizableTextArea.textArea,Le,Ue.props.onChange)},Ue.renderTextArea=function(Le,at){return n.createElement(he.default,L()({},Object(u.default)(Ue.props,["allowClear","bordered"]),{className:r()(Ue.props.className,l()({},"".concat(Le,"-borderless"),!at)),prefixCls:Le,onChange:Ue.handleChange,ref:Ue.saveTextArea}))},Ue.renderComponent=function(Le){var at=Le.getPrefixCls,Ot=Le.direction,Tt=Ue.state.value,Ft=Ue.props,ke=Ft.prefixCls,Vt=Ft.bordered,bt=Vt===void 0?!0:Vt,Rt=at("input",ke);return n.createElement(O,L()({},Ue.props,{prefixCls:Rt,direction:Ot,inputType:"text",value:N(Tt),element:Ue.renderTextArea(Rt,bt),handleReset:Ue.handleReset,ref:Ue.saveClearableInput,triggerFocus:Ue.focus,bordered:bt}))};var Re=typeof mt.value=="undefined"?mt.defaultValue:mt.value;return Ue.state={value:Re},Ue}return w()(Ye,[{key:"setValue",value:function(Ue,Re){this.props.value===void 0&&this.setState({value:Ue},Re)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return n.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ue){return Ue.value!==void 0?{value:Ue.value}:null}}]),Ye}(n.Component),pe=te,we=e("LlUK"),be=e.n(we),Qe=e("Qlo8"),$e=e.n(Qe),yt=e("Aed0"),Fe=e.n(yt),Pe=function(dt,wt){var Ye={};for(var mt in dt)Object.prototype.hasOwnProperty.call(dt,mt)&&wt.indexOf(mt)<0&&(Ye[mt]=dt[mt]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,mt=Object.getOwnPropertySymbols(dt);Ue<mt.length;Ue++)wt.indexOf(mt[Ue])<0&&Object.prototype.propertyIsEnumerable.call(dt,mt[Ue])&&(Ye[mt[Ue]]=dt[mt[Ue]]);return Ye},gt={click:"onClick",hover:"onMouseOver"},it=n.forwardRef(function(dt,wt){var Ye=Object(n.useState)(!1),mt=be()(Ye,2),Ue=mt[0],Re=mt[1],Le=function(){var Ft=dt.disabled;if(Ft)return;Re(!Ue)},at=function(Ft){var ke,Vt=dt.action,bt=dt.iconRender,Rt=bt===void 0?function(){return null}:bt,Nt=gt[Vt]||"",xt=Rt(Ue),Ut=(ke={},l()(ke,Nt,Le),l()(ke,"className","".concat(Ft,"-icon")),l()(ke,"key","passwordIcon"),l()(ke,"onMouseDown",function(ze){ze.preventDefault()}),l()(ke,"onMouseUp",function(ze){ze.preventDefault()}),ke);return n.cloneElement(n.isValidElement(xt)?xt:n.createElement("span",null,xt),Ut)},Ot=function(Ft){var ke=Ft.getPrefixCls,Vt=dt.className,bt=dt.prefixCls,Rt=dt.inputPrefixCls,Nt=dt.size,xt=dt.visibilityToggle,Ut=Pe(dt,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),Ze=ke("input",Rt),ze=ke("input-password",bt),re=xt&&at(ze),le=r()(ze,Vt,l()({},"".concat(ze,"-").concat(Nt),!!Nt)),Xe=L()(L()({},Object(u.default)(Ut,["suffix","iconRender"])),{type:Ue?"text":"password",className:le,prefixCls:Ze,suffix:re});return Nt&&(Xe.size=Nt),n.createElement(F,L()({ref:wt},Xe))};return n.createElement(T.a,null,Ot)});it.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(wt){return wt?n.createElement($e.a,null):n.createElement(Fe.a,null)}},it.displayName="Password";var qe=it;F.Group=z,F.Search=J,F.TextArea=pe,F.Password=qe;var At=_.a=F},CXdb:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("F2Ao"),m=e("sAd1"),y=e("zYjg"),w=e("P0S0"),f=e("JkS2"),a=e("kkar"),t=d.extendComponentView({type:"toolbox",render:function(s,l,n,c){var r=this.group;if(r.removeAll(),!s.get("show"))return;var u=+s.get("itemSize"),i=s.get("feature")||{},h=this._features||(this._features={}),p=[];L.each(i,function(S,E){p.push(E)}),new f(this._featureNames||[],p).add(A).update(A).remove(L.curry(A,null)).execute(),this._featureNames=p;function A(S,E){var O=p[S],T=p[E],b=i[O],x=new w(b,s,s.ecModel),N;if(c&&c.newTitle!=null&&c.featureName===O&&(b.title=c.newTitle),O&&!T){if(o(O))N={model:x,onclick:x.option.onclick,featureName:O};else{var D=m.get(O);if(!D)return;N=new D(x,l,n)}h[O]=N}else{if(N=h[T],!N)return;N.model=x,N.ecModel=l,N.api=n}if(!O&&T){N.dispose&&N.dispose(l,n);return}if(!x.get("show")||N.unusable){N.remove&&N.remove(l,n);return}C(x,N,O),x.setIconStatus=function(M,R){var F=this.option,B=this.iconPaths;F.iconStatus=F.iconStatus||{},F.iconStatus[M]=R,B[M]&&B[M].trigger(R)},N.render&&N.render(x,l,n,c)}function C(S,E,O){var T=S.getModel("iconStyle"),b=S.getModel("emphasis.iconStyle"),x=E.getIcons?E.getIcons():S.get("icon"),N=S.get("title")||{};if(typeof x=="string"){var D=x,M=N;x={},N={},x[O]=D,N[O]=M}var R=S.iconPaths={};L.each(x,function(F,B){var z=y.createIcon(F,{},{x:-u/2,y:-u/2,width:u,height:u});z.setStyle(T.getItemStyle()),z.hoverStyle=b.getItemStyle(),z.setStyle({text:N[B],textAlign:b.get("textAlign"),textBorderRadius:b.get("textBorderRadius"),textPadding:b.get("textPadding"),textFill:null});var U=s.getModel("tooltip");U&&U.get("show")&&z.attr("tooltip",L.extend({content:N[B],formatter:U.get("formatter",!0)||function(){return N[B]},formatterParams:{componentType:"toolbox",name:B,title:N[B],$vars:["name","title"]},position:U.get("position",!0)||"bottom"},U.option)),y.setHoverStyle(z),s.get("showTitle")&&(z.__title=N[B],z.on("mouseover",function(){var K=b.getItemStyle(),W=s.get("orient")==="vertical"?s.get("right")==null?"right":"left":s.get("bottom")==null?"bottom":"top";z.setStyle({textFill:b.get("textFill")||K.fill||K.stroke||"#000",textBackgroundColor:b.get("textBackgroundColor"),textPosition:b.get("textPosition")||W})}).on("mouseout",function(){z.setStyle({textFill:null,textBackgroundColor:null})})),z.trigger(S.get("iconStatus."+B)||"normal"),r.add(z),z.on("click",L.bind(E.onclick,E,l,n,B)),R[B]=z})}a.layout(r,s,n),r.add(a.makeBackground(r.getBoundingRect(),s)),r.eachChild(function(S){var E=S.__title,O=S.hoverStyle;if(O&&E){var T=v.getBoundingRect(E,v.makeFont(O)),b=S.position[0]+r.position[0],x=S.position[1]+r.position[1]+u,N=!1;x+T.height>n.getHeight()&&(O.textPosition="top",N=!0);var D=N?-5-T.height:u+8;b+T.width/2>n.getWidth()?(O.textPosition=["100%",D],O.textAlign="right"):b-T.width/2<0&&(O.textPosition=[0,D],O.textAlign="left")}})},updateView:function(s,l,n,c){L.each(this._features,function(r){r.updateView&&r.updateView(r.model,l,n,c)})},remove:function(s,l){L.each(this._features,function(n){n.remove&&n.remove(s,l)}),this.group.removeAll()},dispose:function(s,l){L.each(this._features,function(n){n.dispose&&n.dispose(s,l)})}});function o(s){return s.indexOf("my")===0}Z.exports=t},Cb1p:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("EEnX"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},Cd9S:function(Z,_){function e(d){return{seriesType:d,reset:function(L,v){var m=v.findComponents({mainType:"legend"});if(!m||!m.length)return;var y=L.getData();y.filterSelf(function(w){for(var f=y.getName(w),a=0;a<m.length;a++)if(!m[a].isSelected(f))return!1;return!0})}}}Z.exports=e},CeOx:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("/21a"),m=e.n(v)},Cg1W:function(Z,_,e){var d=e("zYjg"),L=e("oEo5");function v(w,f,a){d.Group.call(this),this._createPolyline(w,f,a)}var m=v.prototype;m._createPolyline=function(w,f,a){var t=w.getItemLayout(f),o=new d.Polyline({shape:{points:t}});this.add(o),this._updateCommonStl(w,f,a)},m.updateData=function(w,f,a){var t=w.hostModel,o=this.childAt(0),s={shape:{points:w.getItemLayout(f)}};d.updateProps(o,s,t,f),this._updateCommonStl(w,f,a)},m._updateCommonStl=function(w,f,a){var t=this.childAt(0),o=w.getItemModel(f),s=w.getItemVisual(f,"color"),l=a&&a.lineStyle,n=a&&a.hoverLineStyle;(!a||w.hasItemOption)&&(l=o.getModel("lineStyle").getLineStyle(),n=o.getModel("emphasis.lineStyle").getLineStyle()),t.useStyle(L.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),t.hoverStyle=n,d.setHoverStyle(this)},m.updateLayout=function(w,f){var a=this.childAt(0);a.setShape("points",w.getItemLayout(f))},L.inherits(v,d.Group);var y=v;Z.exports=y},Cn6K:function(Z,_,e){var d=e("Wa83"),L=e("oEo5"),v=e("fllp"),m=v.getCurvenessForEdge;function y(f){var a=f.coordinateSystem;if(a&&a.type!=="view")return;var t=f.getGraph();t.eachNode(function(o){var s=o.getModel();o.setLayout([+s.get("x"),+s.get("y")])}),w(t,f)}function w(f,a){f.eachEdge(function(t,o){var s=L.retrieve3(t.getModel().get("lineStyle.curveness"),-m(t,a,o,!0),0),l=d.clone(t.node1.getLayout()),n=d.clone(t.node2.getLayout()),c=[l,n];+s&&c.push([(l[0]+n[0])/2-(l[1]-n[1])*s,(l[1]+n[1])/2-(n[0]-l[0])*s]),t.setLayout(c)})}_.simpleLayout=y,_.simpleLayoutEdge=w},D2WO:function(Z,_,e){var d=e("gyjJ"),L="urn:schemas-microsoft-com:vml",v=typeof window=="undefined"?null:window,m=!1,y=v&&v.document;function w(t){return f(t)}var f;if(y&&!d.canvasSupported)try{!y.namespaces.zrvml&&y.namespaces.add("zrvml",L),f=function(o){return y.createElement("<zrvml:"+o+' class="zrvml">')}}catch(t){f=function(s){return y.createElement("<"+s+' xmlns="'+L+'" class="zrvml">')}}function a(){if(m||!y)return;m=!0;var t=y.styleSheets;t.length<31?y.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}_.doc=y,_.createNode=w,_.initVML=a},D2y6:function(Z,_,e){e("rAVC"),e("JSme"),e("UZiS"),e("0maQ"),e("hLoE"),e("JhJE"),e("BjFK")},D71U:function(Z,_,e){var d=e("Jjzi"),L=d.parsePercent,v=d.linearMap,m=e("SSBM"),y=e("J6tL"),w=e("oEo5"),f=Math.PI*2,a=Math.PI/180;function t(s,l){return m.getLayoutRect(s.getBoxLayoutParams(),{width:l.getWidth(),height:l.getHeight()})}function o(s,l,n,c){l.eachSeriesByType(s,function(r){var u=r.getData(),i=u.mapDimension("value"),h=t(r,n),p=r.get("center"),A=r.get("radius");w.isArray(A)||(A=[0,A]),w.isArray(p)||(p=[p,p]);var C=L(h.width,n.getWidth()),S=L(h.height,n.getHeight()),E=Math.min(C,S),O=L(p[0],C)+h.x,T=L(p[1],S)+h.y,b=L(A[0],E/2),x=L(A[1],E/2),N=-r.get("startAngle")*a,D=r.get("minAngle")*a,M=0;u.each(i,function(G){!isNaN(G)&&M++});var R=u.getSum(i),F=Math.PI/(R||M)*2,B=r.get("clockwise"),z=r.get("roseType"),U=r.get("stillShowZeroSum"),K=u.getDataExtent(i);K[0]=0;var W=f,H=0,Y=N,Q=B?1:-1;if(u.each(i,function(G,J){var he;if(isNaN(G)){u.setItemLayout(J,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:B,cx:O,cy:T,r0:b,r:z?NaN:x,viewRect:h});return}z!=="area"?he=R===0&&U?F:G*F:he=f/M,he<D?(he=D,W-=D):H+=G;var te=Y+Q*he;u.setItemLayout(J,{angle:he,startAngle:Y,endAngle:te,clockwise:B,cx:O,cy:T,r0:b,r:z?v(G,K,[b,x]):x,viewRect:h}),Y=te}),W<f&&M)if(W<=.001){var P=f/M;u.each(i,function(G,J){if(!isNaN(G)){var he=u.getItemLayout(J);he.angle=P,he.startAngle=N+Q*J*P,he.endAngle=N+Q*(J+1)*P}})}else F=W/H,Y=N,u.each(i,function(G,J){if(!isNaN(G)){var he=u.getItemLayout(J),te=he.angle===D?D:G*F;he.startAngle=Y,he.endAngle=Y+Q*te,Y+=Q*te}});y(r,x,h.width,h.height,h.x,h.y)})}Z.exports=o},D90B:function(Z,_,e){var d=e("Q6Bq");d.registerAction("legendScroll","legendscroll",function(L,v){var m=L.scrollDataIndex;m!=null&&v.eachComponent({mainType:"legend",subType:"scroll",query:L},function(y){y.setScrollDataIndex(m)})})},D9jB:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("At2B")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="PaperClipOutlined";var f=v.forwardRef(w);_.default=f},DHCt:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("rfHf"),m=e.n(v),y=e("MPZO")},DMEU:function(Z,_,e){var d=e("oEo5"),L=e("LLn1"),v=L.createSymbol,m=e("zYjg"),y=e("Jjzi"),w=y.parsePercent,f=e("yuiD"),a=f.getDefaultLabel;function t(A,C,S){m.Group.call(this),this.updateData(A,C,S)}var o=t.prototype,s=t.getSymbolSize=function(A,C){var S=A.getItemVisual(C,"symbolSize");return S instanceof Array?S.slice():[+S,+S]};function l(A){return[A[0]/2,A[1]/2]}function n(A,C){this.parent.drift(A,C)}o._createSymbol=function(A,C,S,E,O){this.removeAll();var T=C.getItemVisual(S,"color"),b=v(A,-1,-1,2,2,T,O);b.attr({z2:100,culling:!0,scale:l(E)}),b.drift=n,this._symbolType=A,this.add(b)},o.stopSymbolAnimation=function(A){this.childAt(0).stopAnimation(A)},o.getSymbolPath=function(){return this.childAt(0)},o.getScale=function(){return this.childAt(0).scale},o.highlight=function(){this.childAt(0).trigger("emphasis")},o.downplay=function(){this.childAt(0).trigger("normal")},o.setZ=function(A,C){var S=this.childAt(0);S.zlevel=A,S.z=C},o.setDraggable=function(A){var C=this.childAt(0);C.draggable=A,C.cursor=A?"move":C.cursor},o.updateData=function(A,C,S){this.silent=!1;var E=A.getItemVisual(C,"symbol")||"circle",O=A.hostModel,T=s(A,C),b=E!==this._symbolType;if(b){var x=A.getItemVisual(C,"symbolKeepAspect");this._createSymbol(E,A,C,T,x)}else{var N=this.childAt(0);N.silent=!1,m.updateProps(N,{scale:l(T)},O,C)}if(this._updateCommon(A,C,T,S),b){var N=this.childAt(0),D=S&&S.fadeIn,M={scale:N.scale.slice()};D&&(M.style={opacity:N.style.opacity}),N.scale=[0,0],D&&(N.style.opacity=0),m.initProps(N,M,O,C)}this._seriesModel=O};var c=["itemStyle"],r=["emphasis","itemStyle"],u=["label"],i=["emphasis","label"];o._updateCommon=function(A,C,S,E){var O=this.childAt(0),T=A.hostModel,b=A.getItemVisual(C,"color");O.type!=="image"?O.useStyle({strokeNoScale:!0}):O.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var x=E&&E.itemStyle,N=E&&E.hoverItemStyle,D=E&&E.symbolOffset,M=E&&E.labelModel,R=E&&E.hoverLabelModel,F=E&&E.hoverAnimation,B=E&&E.cursorStyle;if(!E||A.hasItemOption){var z=E&&E.itemModel?E.itemModel:A.getItemModel(C);x=z.getModel(c).getItemStyle(["color"]),N=z.getModel(r).getItemStyle(),D=z.getShallow("symbolOffset"),M=z.getModel(u),R=z.getModel(i),F=z.getShallow("hoverAnimation"),B=z.getShallow("cursor")}else N=d.extend({},N);var U=O.style,K=A.getItemVisual(C,"symbolRotate");O.attr("rotation",(K||0)*Math.PI/180||0),D&&O.attr("position",[w(D[0],S[0]),w(D[1],S[1])]),B&&O.attr("cursor",B),O.setColor(b,E&&E.symbolInnerColor),O.setStyle(x);var W=A.getItemVisual(C,"opacity");W!=null&&(U.opacity=W);var H=A.getItemVisual(C,"liftZ"),Y=O.__z2Origin;H!=null?Y==null&&(O.__z2Origin=O.z2,O.z2+=H):Y!=null&&(O.z2=Y,O.__z2Origin=null);var Q=E&&E.useNameLabel;m.setLabelStyle(U,N,M,R,{labelFetcher:T,labelDataIndex:C,defaultText:P,isRectText:!0,autoColor:b});function P(G,J){return Q?A.getName(G):a(A,G)}O.__symbolOriginalScale=l(S),O.hoverStyle=N,O.highDownOnUpdate=F&&T.isAnimationEnabled()?h:null,m.setHoverStyle(O)};function h(A,C){if(this.incremental||this.useHoverLayer)return;if(C==="emphasis"){var S=this.__symbolOriginalScale,E=S[1]/S[0],O={scale:[Math.max(S[0]*1.1,S[0]+3),Math.max(S[1]*1.1,S[1]+3*E)]};this.animateTo(O,400,"elasticOut")}else C==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}o.fadeOut=function(A,C){var S=this.childAt(0);this.silent=S.silent=!0,!(C&&C.keepLabel)&&(S.style.text=null),m.updateProps(S,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,A)},d.inherits(t,m.Group);var p=t;Z.exports=p},DStm:function(Z,_){function e(){return[]}Z.exports=e},"DU+R":function(Z,_,e){var d=e("oEo5"),L=e("Jjzi");function v(w,f){w.eachSeriesByType("themeRiver",function(a){var t=a.getData(),o=a.coordinateSystem,s={},l=o.getRect();s.rect=l;var n=a.get("boundaryGap"),c=o.getAxis();if(s.boundaryGap=n,c.orient==="horizontal"){n[0]=L.parsePercent(n[0],l.height),n[1]=L.parsePercent(n[1],l.height);var r=l.height-n[0]-n[1];m(t,a,r)}else{n[0]=L.parsePercent(n[0],l.width),n[1]=L.parsePercent(n[1],l.width);var u=l.width-n[0]-n[1];m(t,a,u)}t.setLayout("layoutInfo",s)})}function m(w,f,a){if(!w.count())return;for(var t=f.coordinateSystem,o=f.getLayerSeries(),s=w.mapDimension("single"),l=w.mapDimension("value"),n=d.map(o,function(S){return d.map(S.indices,function(E){var O=t.dataToPoint(w.get(s,E));return O[1]=w.get(l,E),O})}),c=y(n),r=c.y0,u=a/c.max,i=o.length,h=o[0].indices.length,p,A=0;A<h;++A){p=r[A]*u,w.setItemLayout(o[0].indices[A],{layerIndex:0,x:n[0][A][0],y0:p,y:n[0][A][1]*u});for(var C=1;C<i;++C)p+=n[C-1][A][1]*u,w.setItemLayout(o[C].indices[A],{layerIndex:C,x:n[C][A][0],y0:p,y:n[C][A][1]*u})}}function y(w){for(var f=w.length,a=w[0].length,t=[],o=[],s=0,l,n={},c=0;c<a;++c){for(var r=0,l=0;r<f;++r)l+=w[r][c][1];l>s&&(s=l),t.push(l)}for(var u=0;u<a;++u)o[u]=(s-t[u])/2;s=0;for(var i=0;i<a;++i){var h=t[i]+o[i];h>s&&(s=h)}return n.y0=o,n.max=s,n}Z.exports=v},"DVO+":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("Urip"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},"DW/H":function(Z,_,e){e("tFbR"),e("jVkB")},Dase:function(Z,_,e){e("rAVC"),e("JSme"),e("UZiS"),e("GOVO"),e("mFvu"),e("JhJE"),e("BjFK")},Dg8N:function(Z,_,e){"use strict";var d=e("KAmQ"),L={"text/plain":"Text","text/html":"Url",default:"Text"},v="Copy to clipboard: #{key}, Enter";function m(w){var f=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return w.replace(/#{\s*key\s*}/g,f)}function y(w,f){var a,t,o,s,l,n,c=!1;f||(f={}),a=f.debug||!1;try{o=d(),s=document.createRange(),l=document.getSelection(),n=document.createElement("span"),n.textContent=w,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"){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=L[f.format]||L.default;window.clipboardData.setData(i,w)}else u.clipboardData.clearData(),u.clipboardData.setData(f.format,w);f.onCopy&&(u.preventDefault(),f.onCopy(u.clipboardData))}),document.body.appendChild(n),s.selectNodeContents(n),l.addRange(s);var r=document.execCommand("copy");if(!r)throw new Error("copy command was unsuccessful");c=!0}catch(u){a&&console.error("unable to copy using execCommand: ",u),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(f.format||"text",w),f.onCopy&&f.onCopy(window.clipboardData),c=!0}catch(i){a&&console.error("unable to copy using clipboardData: ",i),a&&console.error("falling back to prompt"),t=m("message"in f?f.message:v),window.prompt(t,w)}}finally{l&&(typeof l.removeRange=="function"?l.removeRange(s):l.removeAllRanges()),n&&document.body.removeChild(n),o()}return c}Z.exports=y},DgNR:function(Z,_,e){var d=e("G8fk"),L=d([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),v={getItemStyle:function(m,y){var w=L(this,m,y),f=this.getBorderLineDash();return f&&(w.lineDash=f),w},getBorderLineDash:function(){var m=this.get("borderType");return m==="solid"||m==null?null:m==="dashed"?[5,5]:[1,1]}};Z.exports=v},Dj6p:function(Z,_,e){var d=e("oEo5"),L=d.createHashMap;function v(m){return{getTargetSeries:function(y){var w={},f=L();return y.eachSeriesByType(m,function(a){a.__paletteScope=w,f.set(a.uid,a)}),f},reset:function(y,w){var f=y.getRawData(),a={},t=y.getData();t.each(function(o){var s=t.getRawIndex(o);a[s]=o}),f.each(function(o){var s=a[o],l=s!=null&&t.getItemVisual(s,"color",!0),n=s!=null&&t.getItemVisual(s,"borderColor",!0),c;if((!l||!n)&&(c=f.getItemModel(o)),!l){var r=c.get("itemStyle.color")||y.getColorFromPalette(f.getName(o)||o+"",y.__paletteScope,f.count());s!=null&&t.setItemVisual(s,"color",r)}if(!n){var u=c.get("itemStyle.borderColor");s!=null&&t.setItemVisual(s,"borderColor",u)}})}}}Z.exports=v},DmDI:function(Z,_,e){var d=e("kcRU"),L=e("+Vnd"),v=L.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(m,y){return d(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var m=this.option.progressive;return m==null?this.option.large?5e3:this.get("progressive"):m},getProgressiveThreshold:function(){var m=this.option.progressiveThreshold;return m==null?this.option.large?1e4:this.get("progressiveThreshold"):m},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});Z.exports=v},Dz72:function(Z,_,e){var d=e("oEo5"),L=e("MLk5"),v=e("/vp6"),m=e("Owcv"),y=m.onIrrelevantElement,w=e("zYjg"),f=e("zYK1"),a=e("kY/L"),t=a.getUID,o=e("G+ZC");function s(u){var i=u.getItemStyle(),h=u.get("areaColor");return h!=null&&(i.fill=h),i}function l(u,i,h,p,A){h.off("click"),h.off("mousedown"),i.get("selectedMode")&&(h.on("mousedown",function(){u._mouseDownFlag=!0}),h.on("click",function(C){if(!u._mouseDownFlag)return;u._mouseDownFlag=!1;for(var S=C.target;!S.__regions;)S=S.parent;if(!S)return;var E={type:(i.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:d.map(S.__regions,function(O){return{name:O.name,from:A.uid}})};E[i.mainType+"Id"]=i.id,p.dispatchAction(E),n(i,h)}))}function n(u,i){i.eachChild(function(h){d.each(h.__regions,function(p){h.trigger(u.isSelected(p.name)?"emphasis":"normal")})})}function c(u,i){var h=new w.Group;this.uid=t("ec_map_draw"),this._controller=new L(u.getZr()),this._controllerHost={target:i?h:null},this.group=h,this._updateGroup=i,this._mouseDownFlag,this._mapName,this._initialized,h.add(this._regionsGroup=new w.Group),h.add(this._backgroundGroup=new w.Group)}c.prototype={constructor:c,draw:function(u,i,h,p,A){var C=u.mainType==="geo",S=u.getData&&u.getData();C&&i.eachComponent({mainType:"series",subType:"map"},function(H){!S&&H.getHostGeoModel()===u&&(S=H.getData())});var E=u.coordinateSystem;this._updateBackground(E);var O=this._regionsGroup,T=this.group,b=E.getTransformInfo(),x=!O.childAt(0)||A,N;if(x)T.transform=b.roamTransform,T.decomposeTransform(),T.dirty();else{var D=new o;D.transform=b.roamTransform,D.decomposeTransform();var M={scale:D.scale,position:D.position};N=D.scale,w.updateProps(T,M,u)}var R=b.rawScale,F=b.rawPosition;O.removeAll();var B=["itemStyle"],z=["emphasis","itemStyle"],U=["label"],K=["emphasis","label"],W=d.createHashMap();d.each(E.regions,function(H){var Y=W.get(H.name)||W.set(H.name,new w.Group),Q=new w.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});Y.add(Q);var P=u.getRegionModel(H.name)||u,G=P.getModel(B),J=P.getModel(z),he=s(G),te=s(J),pe=P.getModel(U),we=P.getModel(K),be;if(S){be=S.indexOfName(H.name);var Qe=S.getItemVisual(be,"color",!0);Qe&&(he.fill=Qe)}var $e=function(Ye){return[Ye[0]*R[0]+F[0],Ye[1]*R[1]+F[1]]};d.each(H.geometries,function(Ye){if(Ye.type!=="polygon")return;for(var mt=[],Ue=0;Ue<Ye.exterior.length;++Ue)mt.push($e(Ye.exterior[Ue]));Q.shape.paths.push(new w.Polygon({segmentIgnoreThreshold:1,shape:{points:mt}}));for(var Ue=0;Ue<(Ye.interiors?Ye.interiors.length:0);++Ue){for(var Re=Ye.interiors[Ue],mt=[],Le=0;Le<Re.length;++Le)mt.push($e(Re[Le]));Q.shape.paths.push(new w.Polygon({segmentIgnoreThreshold:1,shape:{points:mt}}))}}),Q.setStyle(he),Q.style.strokeNoScale=!0,Q.culling=!0;var yt=pe.get("show"),Fe=we.get("show"),Pe=S&&isNaN(S.get(S.mapDimension("value"),be)),gt=S&&S.getItemLayout(be);if(C||Pe&&(yt||Fe)||gt&>.showLabel){var it=C?H.name:be,qe;(!S||be>=0)&&(qe=u);var At=new w.Text({position:$e(H.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(w.setLabelStyle(At.style,At.hoverStyle={},pe,we,{labelFetcher:qe,labelDataIndex:it,defaultText:H.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!x){var dt=[1/N[0],1/N[1]];w.updateProps(At,{scale:dt},u)}Y.add(At)}if(S)S.setItemGraphicEl(be,Y);else{var P=u.getRegionModel(H.name);Q.eventData={componentType:"geo",componentIndex:u.componentIndex,geoIndex:u.componentIndex,name:H.name,region:P&&P.option||{}}}var wt=Y.__regions||(Y.__regions=[]);wt.push(H),Y.highDownSilentOnTouch=!!u.get("selectedMode"),w.setHoverStyle(Y,te),O.add(Y)}),this._updateController(u,i,h),l(this,u,O,h,p),n(u,O)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&f.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(u){var i=u.map;this._mapName!==i&&d.each(f.makeGraphic(i,this.uid),function(h){this._backgroundGroup.add(h)},this),this._mapName=i},_updateController:function(u,i,h){var p=u.coordinateSystem,A=this._controller,C=this._controllerHost;C.zoomLimit=u.get("scaleLimit"),C.zoom=p.getZoom(),A.enable(u.get("roam")||!1);var S=u.mainType;function E(){var O={type:"geoRoam",componentType:S};return O[S+"Id"]=u.id,O}A.off("pan").on("pan",function(O){this._mouseDownFlag=!1,v.updateViewOnPan(C,O.dx,O.dy),h.dispatchAction(d.extend(E(),{dx:O.dx,dy:O.dy}))},this),A.off("zoom").on("zoom",function(O){if(this._mouseDownFlag=!1,v.updateViewOnZoom(C,O.scale,O.originX,O.originY),h.dispatchAction(d.extend(E(),{zoom:O.scale,originX:O.originX,originY:O.originY})),this._updateGroup){var T=this.group.scale;this._regionsGroup.traverse(function(b){b.type==="text"&&b.attr("scale",[1/T[0],1/T[1]])})}},this),A.setPointerChecker(function(O,T,b){return p.getViewRectAfterRoam().contain(T,b)&&!y(O,h,u)})}};var r=c;Z.exports=r},"E+ey":function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("RoAx"),m=e.n(v)},"E/Lu":function(Z,_,e){"use strict";var d=e("ZZRV"),L=e("iczh"),v=e.n(L),m=e("JS14");function y(Ze,ze){var re=Object.keys(Ze);if(Object.getOwnPropertySymbols){var le=Object.getOwnPropertySymbols(Ze);ze&&(le=le.filter(function(Xe){return Object.getOwnPropertyDescriptor(Ze,Xe).enumerable})),re.push.apply(re,le)}return re}function w(Ze){for(var ze=1;ze<arguments.length;ze++){var re=arguments[ze]!=null?arguments[ze]:{};ze%2?y(Object(re),!0).forEach(function(le){f(Ze,le,re[le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ze,Object.getOwnPropertyDescriptors(re)):y(Object(re)).forEach(function(le){Object.defineProperty(Ze,le,Object.getOwnPropertyDescriptor(re,le))})}return Ze}function f(Ze,ze,re){return ze in Ze?Object.defineProperty(Ze,ze,{value:re,enumerable:!0,configurable:!0,writable:!0}):Ze[ze]=re,Ze}var a=function(ze){var re=ze.height,le=ze.offset,Xe=ze.children,_e=ze.prefixCls,je=ze.onInnerResize,ar={},zt={display:"flex",flexDirection:"column"};return le!==void 0&&(ar={height:re,position:"relative",overflow:"hidden"},zt=w(w({},zt),{},{transform:"translateY(".concat(le,"px)"),position:"absolute",left:0,right:0,top:0})),d.createElement("div",{style:ar},d.createElement(m.a,{onResize:function(qt){var or=qt.offsetHeight;or&&je()}},d.createElement("div",{style:zt,className:v()(f({},"".concat(_e,"-holder-inner"),_e))},Xe)))},t=a,o=e("NrA9");function s(Ze){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(re){return typeof re}:s=function(re){return re&&typeof Symbol=="function"&&re.constructor===Symbol&&re!==Symbol.prototype?"symbol":typeof re},s(Ze)}function l(Ze,ze,re){return ze in Ze?Object.defineProperty(Ze,ze,{value:re,enumerable:!0,configurable:!0,writable:!0}):Ze[ze]=re,Ze}function n(Ze,ze){if(!(Ze instanceof ze))throw new TypeError("Cannot call a class as a function")}function c(Ze,ze){for(var re=0;re<ze.length;re++){var le=ze[re];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(Ze,le.key,le)}}function r(Ze,ze,re){return ze&&c(Ze.prototype,ze),re&&c(Ze,re),Ze}function u(Ze,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Super expression must either be null or a function");Ze.prototype=Object.create(ze&&ze.prototype,{constructor:{value:Ze,writable:!0,configurable:!0}}),ze&&i(Ze,ze)}function i(Ze,ze){return i=Object.setPrototypeOf||function(le,Xe){return le.__proto__=Xe,le},i(Ze,ze)}function h(Ze){var ze=C();return function(){var le=S(Ze),Xe;if(ze){var _e=S(this).constructor;Xe=Reflect.construct(le,arguments,_e)}else Xe=le.apply(this,arguments);return p(this,Xe)}}function p(Ze,ze){return ze&&(s(ze)==="object"||typeof ze=="function")?ze:A(Ze)}function A(Ze){if(Ze===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ze}function C(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ze){return!1}}function S(Ze){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(re){return re.__proto__||Object.getPrototypeOf(re)},S(Ze)}var E=20;function O(Ze){return"touches"in Ze?Ze.touches[0].pageY:Ze.pageY}var T=function(Ze){u(re,Ze);var ze=h(re);function re(){var le;return n(this,re),le=ze.apply(this,arguments),le.moveRaf=null,le.scrollbarRef=d.createRef(),le.thumbRef=d.createRef(),le.visibleTimeout=null,le.state={dragging:!1,pageY:null,startTop:null,visible:!1},le.delayHidden=function(){clearTimeout(le.visibleTimeout),le.setState({visible:!0}),le.visibleTimeout=setTimeout(function(){le.setState({visible:!1})},2e3)},le.onScrollbarTouchStart=function(Xe){Xe.preventDefault()},le.onContainerMouseDown=function(Xe){Xe.stopPropagation(),Xe.preventDefault()},le.patchEvents=function(){window.addEventListener("mousemove",le.onMouseMove),window.addEventListener("mouseup",le.onMouseUp),le.thumbRef.current.addEventListener("touchmove",le.onMouseMove),le.thumbRef.current.addEventListener("touchend",le.onMouseUp)},le.removeEvents=function(){window.removeEventListener("mousemove",le.onMouseMove),window.removeEventListener("mouseup",le.onMouseUp),le.scrollbarRef.current.removeEventListener("touchstart",le.onScrollbarTouchStart),le.thumbRef.current.removeEventListener("touchstart",le.onMouseDown),le.thumbRef.current.removeEventListener("touchmove",le.onMouseMove),le.thumbRef.current.removeEventListener("touchend",le.onMouseUp),o.a.cancel(le.moveRaf)},le.onMouseDown=function(Xe){var _e=le.props.onStartMove;le.setState({dragging:!0,pageY:O(Xe),startTop:le.getTop()}),_e(),le.patchEvents(),Xe.stopPropagation(),Xe.preventDefault()},le.onMouseMove=function(Xe){var _e=le.state,je=_e.dragging,ar=_e.pageY,zt=_e.startTop,Pt=le.props.onScroll;if(o.a.cancel(le.moveRaf),je){var qt=O(Xe)-ar,or=zt+qt,Kt=le.getEnableScrollRange(),Mt=le.getEnableHeightRange(),me=or/Mt,ce=Math.ceil(me*Kt);le.moveRaf=Object(o.a)(function(){Pt(ce)})}},le.onMouseUp=function(){var Xe=le.props.onStopMove;le.setState({dragging:!1}),Xe(),le.removeEvents()},le.getSpinHeight=function(){var Xe=le.props,_e=Xe.height,je=Xe.count,ar=_e/je*10;return ar=Math.max(ar,E),ar=Math.min(ar,_e/2),Math.floor(ar)},le.getEnableScrollRange=function(){var Xe=le.props,_e=Xe.scrollHeight,je=Xe.height;return _e-je},le.getEnableHeightRange=function(){var Xe=le.props.height,_e=le.getSpinHeight();return Xe-_e},le.getTop=function(){var Xe=le.props.scrollTop,_e=le.getEnableScrollRange(),je=le.getEnableHeightRange(),ar=Xe/_e;return ar*je},le}return r(re,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(Xe){Xe.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Xe=this.state,_e=Xe.visible,je=Xe.dragging,ar=this.props.prefixCls,zt=this.getSpinHeight(),Pt=this.getTop();return d.createElement("div",{ref:this.scrollbarRef,className:"".concat(ar,"-scrollbar"),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:_e?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},d.createElement("div",{ref:this.thumbRef,className:v()("".concat(ar,"-scrollbar-thumb"),l({},"".concat(ar,"-scrollbar-thumb-moving"),je)),style:{width:"100%",height:zt,top:Pt,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),re}(d.Component);function b(Ze){var ze=Ze.children,re=Ze.setRef,le=d.useCallback(function(Xe){re(Xe)},[]);return d.cloneElement(ze,{ref:le})}function x(Ze,ze,re,le,Xe,_e){var je=_e.getKey;return Ze.slice(ze,re+1).map(function(ar,zt){var Pt=ze+zt,qt=Xe(ar,Pt,{}),or=je(ar);return d.createElement(b,{key:or,setRef:function(Mt){return le(ar,Mt)}},qt)})}var N=e("vSEn");function D(Ze,ze){if(!(Ze instanceof ze))throw new TypeError("Cannot call a class as a function")}function M(Ze,ze){for(var re=0;re<ze.length;re++){var le=ze[re];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(Ze,le.key,le)}}function R(Ze,ze,re){return ze&&M(Ze.prototype,ze),re&&M(Ze,re),Ze}var F=function(){function Ze(){D(this,Ze),this.maps={},this.maps.prototype=null}return R(Ze,[{key:"set",value:function(re,le){this.maps[re]=le}},{key:"get",value:function(re){return this.maps[re]}}]),Ze}(),B=F;function z(Ze,ze){return Y(Ze)||H(Ze,ze)||K(Ze,ze)||U()}function U(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function K(Ze,ze){if(!Ze)return;if(typeof Ze=="string")return W(Ze,ze);var re=Object.prototype.toString.call(Ze).slice(8,-1);if(re==="Object"&&Ze.constructor&&(re=Ze.constructor.name),re==="Map"||re==="Set")return Array.from(Ze);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return W(Ze,ze)}function W(Ze,ze){(ze==null||ze>Ze.length)&&(ze=Ze.length);for(var re=0,le=new Array(ze);re<ze;re++)le[re]=Ze[re];return le}function H(Ze,ze){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ze)))return;var re=[],le=!0,Xe=!1,_e=void 0;try{for(var je=Ze[Symbol.iterator](),ar;!(le=(ar=je.next()).done)&&!(re.push(ar.value),ze&&re.length===ze);le=!0);}catch(zt){Xe=!0,_e=zt}finally{try{!le&&je.return!=null&&je.return()}finally{if(Xe)throw _e}}return re}function Y(Ze){if(Array.isArray(Ze))return Ze}function Q(Ze,ze,re){var le=d.useState(0),Xe=z(le,2),_e=Xe[0],je=Xe[1],ar=Object(d.useRef)(new Map),zt=Object(d.useRef)(new B);function Pt(or,Kt){var Mt=Ze(or),me=ar.current.get(Mt);Kt?ar.current.set(Mt,Kt):ar.current.delete(Mt),!me!==!Kt&&(Kt?ze==null||ze(or):re==null||re(or))}function qt(){var or=!1;ar.current.forEach(function(Kt,Mt){if(Kt&&Kt.offsetParent){var me=Object(N.a)(Kt),ce=me.offsetHeight;zt.current.get(Mt)!==ce&&(or=!0,zt.current.set(Mt,me.offsetHeight))}}),or&&je(function(Kt){return Kt+1})}return[Pt,qt,zt.current,_e]}function P(Ze){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(re){return typeof re}:P=function(re){return re&&typeof Symbol=="function"&&re.constructor===Symbol&&re!==Symbol.prototype?"symbol":typeof re},P(Ze)}function G(Ze,ze,re,le,Xe,_e,je){var ar=d.useRef();return function(zt){if(o.a.cancel(ar.current),typeof zt=="number")je(zt);else if(zt&&P(zt)==="object"){var Pt,qt=zt.align;"index"in zt?Pt=zt.index:Pt=ze.findIndex(function(Kt){return Xe(Kt)===zt.key});var or=function Kt(Mt,me){if(Mt<0||!Ze.current)return;var ce=Ze.current.clientHeight,ae=!1,de=me;if(ce){for(var Se=me||qt,Ce=0,Ie=0,Te=0,Ee=0;Ee<=Pt;Ee+=1){var He=Xe(ze[Ee]);Ie=Ce;var st=re.get(He);Te=Ie+(st===void 0?le:st),Ce=Te,Ee===Pt&&st===void 0&&(ae=!0)}var vt=null;switch(Se){case"top":vt=Ie;break;case"bottom":vt=Te-ce;break;default:{var ee=Ze.current.scrollTop,oe=ee+ce;Ie<ee?de="top":Te>oe&&(de="bottom")}}vt!==null&&vt!==Ze.current.scrollTop&&je(vt)}ar.current=Object(o.a)(function(){ae&&_e(),Kt(Mt-1,de)})};or(3)}}}function J(Ze,ze,re,le){var Xe=re-Ze,_e=ze-re,je=Math.min(Xe,_e)*2;if(le<=je){var ar=Math.floor(le/2);return le%2?re+ar+1:re-ar}return Xe>_e?re-(le-_e):re+(le-Xe)}function he(Ze,ze,re){var le=Ze.length,Xe=ze.length,_e,je;if(le===0&&Xe===0)return null;le<Xe?(_e=Ze,je=ze):(_e=ze,je=Ze);var ar={__EMPTY_ITEM__:!0};function zt(me){return me!==void 0?re(me):ar}for(var Pt=null,qt=Math.abs(le-Xe)!==1,or=0;or<je.length;or+=1){var Kt=zt(_e[or]),Mt=zt(je[or]);if(Kt!==Mt){Pt=or,qt=qt||Kt!==zt(je[or+1]);break}}return Pt===null?null:{index:Pt,multiple:qt}}function te(Ze,ze){return $e(Ze)||Qe(Ze,ze)||we(Ze,ze)||pe()}function pe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function we(Ze,ze){if(!Ze)return;if(typeof Ze=="string")return be(Ze,ze);var re=Object.prototype.toString.call(Ze).slice(8,-1);if(re==="Object"&&Ze.constructor&&(re=Ze.constructor.name),re==="Map"||re==="Set")return Array.from(Ze);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return be(Ze,ze)}function be(Ze,ze){(ze==null||ze>Ze.length)&&(ze=Ze.length);for(var re=0,le=new Array(ze);re<ze;re++)le[re]=Ze[re];return le}function Qe(Ze,ze){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ze)))return;var re=[],le=!0,Xe=!1,_e=void 0;try{for(var je=Ze[Symbol.iterator](),ar;!(le=(ar=je.next()).done)&&!(re.push(ar.value),ze&&re.length===ze);le=!0);}catch(zt){Xe=!0,_e=zt}finally{try{!le&&je.return!=null&&je.return()}finally{if(Xe)throw _e}}return re}function $e(Ze){if(Array.isArray(Ze))return Ze}function yt(Ze,ze,re){var le=d.useState(Ze),Xe=te(le,2),_e=Xe[0],je=Xe[1],ar=d.useState(null),zt=te(ar,2),Pt=zt[0],qt=zt[1];return d.useEffect(function(){var or=he(_e||[],Ze||[],ze);(or==null?void 0:or.index)!==void 0&&(re==null||re(or.index),qt(Ze[or.index])),je(Ze)},[Ze]),[Pt]}function Fe(Ze){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Fe=function(re){return typeof re}:Fe=function(re){return re&&typeof Symbol=="function"&&re.constructor===Symbol&&re!==Symbol.prototype?"symbol":typeof re},Fe(Ze)}var Pe=(typeof navigator=="undefined"?"undefined":Fe(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),gt=Pe,it=function(Ze,ze){var re=Object(d.useRef)(!1),le=Object(d.useRef)(null);function Xe(){clearTimeout(le.current),re.current=!0,le.current=setTimeout(function(){re.current=!1},50)}var _e=Object(d.useRef)({top:Ze,bottom:ze});return _e.current.top=Ze,_e.current.bottom=ze,function(je){var ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,zt=je<0&&_e.current.top||je>0&&_e.current.bottom;return ar&&zt?(clearTimeout(le.current),re.current=!1):(!zt||re.current)&&Xe(),!re.current&&zt}};function qe(Ze,ze,re,le){var Xe=Object(d.useRef)(0),_e=Object(d.useRef)(null),je=Object(d.useRef)(null),ar=Object(d.useRef)(!1),zt=it(ze,re);function Pt(or){if(!Ze)return;o.a.cancel(_e.current);var Kt=or.deltaY;if(Xe.current+=Kt,je.current=Kt,zt(Kt))return;gt||or.preventDefault(),_e.current=Object(o.a)(function(){var Mt=ar.current?10:1;le(Xe.current*Mt),Xe.current=0})}function qt(or){if(!Ze)return;or.preventDefault(),ar.current=or.detail===je.current}return[Pt,qt]}var At=14/15;function dt(Ze,ze,re){var le=Object(d.useRef)(!1),Xe=Object(d.useRef)(0),_e=Object(d.useRef)(null),je=Object(d.useRef)(null),ar,zt=function(Kt){if(le.current){var Mt=Math.ceil(Kt.touches[0].pageY),me=Xe.current-Mt;Xe.current=Mt,re(me)&&Kt.preventDefault(),clearInterval(je.current),je.current=setInterval(function(){me*=At,(!re(me,!0)||Math.abs(me)<=.1)&&clearInterval(je.current)},16)}},Pt=function(){le.current=!1,ar()},qt=function(Kt){ar(),Kt.touches.length===1&&!le.current&&(le.current=!0,Xe.current=Math.ceil(Kt.touches[0].pageY),_e.current=Kt.target,_e.current.addEventListener("touchmove",zt),_e.current.addEventListener("touchend",Pt))};ar=function(){_e.current&&(_e.current.removeEventListener("touchmove",zt),_e.current.removeEventListener("touchend",Pt))},d.useEffect(function(){return Ze&&ze.current.addEventListener("touchstart",qt),function(){ze.current.removeEventListener("touchstart",qt),ar(),clearInterval(je.current)}},[Ze])}function wt(Ze,ze){var re=Object.keys(Ze);if(Object.getOwnPropertySymbols){var le=Object.getOwnPropertySymbols(Ze);ze&&(le=le.filter(function(Xe){return Object.getOwnPropertyDescriptor(Ze,Xe).enumerable})),re.push.apply(re,le)}return re}function Ye(Ze){for(var ze=1;ze<arguments.length;ze++){var re=arguments[ze]!=null?arguments[ze]:{};ze%2?wt(Object(re),!0).forEach(function(le){mt(Ze,le,re[le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ze,Object.getOwnPropertyDescriptors(re)):wt(Object(re)).forEach(function(le){Object.defineProperty(Ze,le,Object.getOwnPropertyDescriptor(re,le))})}return Ze}function mt(Ze,ze,re){return ze in Ze?Object.defineProperty(Ze,ze,{value:re,enumerable:!0,configurable:!0,writable:!0}):Ze[ze]=re,Ze}function Ue(Ze,ze){return Tt(Ze)||Ot(Ze,ze)||Le(Ze,ze)||Re()}function Re(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Le(Ze,ze){if(!Ze)return;if(typeof Ze=="string")return at(Ze,ze);var re=Object.prototype.toString.call(Ze).slice(8,-1);if(re==="Object"&&Ze.constructor&&(re=Ze.constructor.name),re==="Map"||re==="Set")return Array.from(Ze);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return at(Ze,ze)}function at(Ze,ze){(ze==null||ze>Ze.length)&&(ze=Ze.length);for(var re=0,le=new Array(ze);re<ze;re++)le[re]=Ze[re];return le}function Ot(Ze,ze){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ze)))return;var re=[],le=!0,Xe=!1,_e=void 0;try{for(var je=Ze[Symbol.iterator](),ar;!(le=(ar=je.next()).done)&&!(re.push(ar.value),ze&&re.length===ze);le=!0);}catch(zt){Xe=!0,_e=zt}finally{try{!le&&je.return!=null&&je.return()}finally{if(Xe)throw _e}}return re}function Tt(Ze){if(Array.isArray(Ze))return Ze}function Ft(Ze,ze){if(Ze==null)return{};var re=ke(Ze,ze),le,Xe;if(Object.getOwnPropertySymbols){var _e=Object.getOwnPropertySymbols(Ze);for(Xe=0;Xe<_e.length;Xe++){if(le=_e[Xe],ze.indexOf(le)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ze,le))continue;re[le]=Ze[le]}}return re}function ke(Ze,ze){if(Ze==null)return{};var re={},le=Object.keys(Ze),Xe,_e;for(_e=0;_e<le.length;_e++){if(Xe=le[_e],ze.indexOf(Xe)>=0)continue;re[Xe]=Ze[Xe]}return re}var Vt=[],bt={overflowY:"auto",overflowAnchor:"none"};function Rt(Ze,ze){var re=Ze.prefixCls,le=re===void 0?"rc-virtual-list":re,Xe=Ze.className,_e=Ze.height,je=Ze.itemHeight,ar=Ze.fullHeight,zt=ar===void 0?!0:ar,Pt=Ze.style,qt=Ze.data,or=Ze.children,Kt=Ze.itemKey,Mt=Ze.virtual,me=Ze.component,ce=me===void 0?"div":me,ae=Ze.onScroll,de=Ft(Ze,["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll"]),Se=Mt!==!1&&_e&&je&&qt&&je*qt.length>_e,Ce=Object(d.useState)(0),Ie=Ue(Ce,2),Te=Ie[0],Ee=Ie[1],He=Object(d.useState)(!1),st=Ue(He,2),vt=st[0],ee=st[1],oe=v()(le,Xe),k=qt||Vt,$=Object(d.useRef)(),se=d.useCallback(function(nr){return typeof Kt=="function"?Kt(nr):nr[Kt]},[Kt]),ge={getKey:se};function Ae(nr){Ee(function(pr){var dr;return typeof nr=="function"?dr=nr(pr):dr=nr,$.current.scrollTop=dr,dr})}var Me=Object(d.useRef)({start:0,end:k.length}),et=Object(d.useRef)(),Wt=yt(k,se),er=Ue(Wt,1),Ct=er[0];et.current=Ct;var Ht=Q(se,null,null),kt=Ue(Ht,4),Zt=kt[0],Et=kt[1],ur=kt[2],rr=kt[3],Ke=d.useMemo(function(){if(!Se)return{scrollHeight:void 0,start:0,end:k.length-1,offset:void 0};for(var nr=0,pr,dr,fr,_r=k.length,Zr=0;Zr<_r;Zr+=1){var on=k[Zr],jn=se(on),Ur=ur.get(jn),En=nr+(Ur===void 0?je:Ur);En>=Te&&pr===void 0&&(pr=Zr,dr=nr),En>Te+_e&&fr===void 0&&(fr=Zr),nr=En}return pr===void 0&&(pr=0,dr=0),fr===void 0&&(fr=k.length-1),fr=Math.min(fr+1,k.length),{scrollHeight:nr,start:pr,end:fr,offset:dr}},[Se,Te,k,rr,_e]),nt=Ke.scrollHeight,Ge=Ke.start,ct=Ke.end,ht=Ke.offset;Me.current.start=Ge,Me.current.end=ct;var ut=nt-_e,We=Object(d.useRef)(ut);We.current=ut;function tt(nr){var pr=Math.max(nr,0);return Number.isNaN(We.current)||(pr=Math.min(pr,We.current)),pr}var ft=Te<=0,Yt=Te>=ut,Dt=it(ft,Yt);function vr(nr){var pr=tt(nr);pr!==Te&&Ae(pr)}function yr(nr){var pr=nr.currentTarget.scrollTop;pr!==Te&&Ae(pr),ae==null||ae(nr)}var Dr=qe(Se,ft,Yt,function(nr){Ae(function(pr){var dr=tt(pr+nr);return dr})}),Rr=Ue(Dr,2),Jr=Rr[0],$r=Rr[1];dt(Se,$,function(nr,pr){return Dt(nr,pr)?!1:(Jr({preventDefault:function(){},deltaY:nr}),!0)}),d.useEffect(function(){return $.current.addEventListener("wheel",Jr),$.current.addEventListener("DOMMouseScroll",$r),function(){$.current.removeEventListener("wheel",Jr),$.current.removeEventListener("DOMMouseScroll",$r)}},[Se]);var xr=G($,k,ur,je,se,Et,Ae);d.useImperativeHandle(ze,function(){return{scrollTo:xr}});var Vr=x(k,Ge,ct,Zt,or,ge),Or=null;return _e&&(Or=Ye(mt({},zt?"height":"maxHeight",_e),bt),Se&&(Or.overflowY="hidden",vt&&(Or.pointerEvents="none"))),d.createElement("div",Object.assign({style:Ye(Ye({},Pt),{},{position:"relative"}),className:oe},de),d.createElement(ce,{className:"".concat(le,"-holder"),style:Or,ref:$,onScroll:yr},d.createElement(t,{prefixCls:le,height:nt,offset:ht,onInnerResize:Et},Vr)),Se&&d.createElement(T,{prefixCls:le,scrollTop:Te,height:_e,scrollHeight:nt,count:k.length,onScroll:vr,onStartMove:function(){ee(!0)},onStopMove:function(){ee(!1)}}))}var Nt=d.forwardRef(Rt);Nt.displayName="List";var xt=Nt,Ut=_.a=xt},E1KW:function(Z,_,e){var d=e("oEo5"),L=e("Wa83"),v=e("4uqo"),m=e("ie0D"),y=e("G+ZC"),w=L.applyTransform;function f(){y.call(this)}d.mixin(f,y);function a(s){this.name=s,this.zoomLimit,y.call(this),this._roamTransformable=new f,this._rawTransformable=new f,this._center,this._zoom}a.prototype={constructor:a,type:"view",dimensions:["x","y"],setBoundingRect:function(s,l,n,c){return this._rect=new m(s,l,n,c),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(s,l,n,c){this.transformTo(s,l,n,c),this._viewRect=new m(s,l,n,c)},transformTo:function(s,l,n,c){var r=this.getBoundingRect(),u=this._rawTransformable;u.transform=r.calculateTransform(new m(s,l,n,c)),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(),c=this.getCenter(),r=this.getZoom();c=L.applyTransform([],c,s),n=L.applyTransform([],n,s),l.origin=c,l.position=[n[0]-c[0],n[1]-c[1]],l.scale=[r,r],this._updateTransform()},_updateTransform:function(){var s=this._roamTransformable,l=this._rawTransformable;l.parent=s,s.updateTransform(),l.updateTransform(),v.copy(this.transform||(this.transform=[]),l.transform||v.create()),this._rawTransform=l.getLocalTransform(),this.invTransform=this.invTransform||[],v.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var s=this._roamTransformable.transform,l=this._rawTransformable;return{roamTransform:s?d.slice(s):v.create(),rawScale:d.slice(l.scale),rawPosition:d.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 c=l?this._rawTransform:this.transform;return n=n||[],c?w(n,s,c):L.copy(n,s)},pointToData:function(s){var l=this.invTransform;return l?w([],s,l):[s[0],s[1]]},convertToPixel:d.curry(t,"dataToPoint"),convertFromPixel:d.curry(t,"pointToData"),containPoint:function(s){return this.getViewRectAfterRoam().contain(s[0],s[1])}},d.mixin(a,y);function t(s,l,n,c){var r=n.seriesModel,u=r?r.coordinateSystem:null;return u===this?u[s](c):null}var o=a;Z.exports=o},"E6G/":function(Z,_,e){var d=e("ORxg"),L=e("0326"),v=e("6Q7i"),m=e("xrLW");function y(w,f,a){w=m(w),f=v(f);var t=f?L(w):0;return f&&t<f?w+d(f-t,a):w}Z.exports=y},EEnX:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("BLvq")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="CaretUpOutlined";var f=v.forwardRef(w);_.default=f},EGDn:function(Z,_,e){var d=e("Wr3P");function L(v,m,y,w,f,a,t,o,s,l,n){if(s===0)return!1;var c=s;if(n>m+c&&n>w+c&&n>a+c&&n>o+c||n<m-c&&n<w-c&&n<a-c&&n<o-c||l>v+c&&l>y+c&&l>f+c&&l>t+c||l<v-c&&l<y-c&&l<f-c&&l<t-c)return!1;var r=d.cubicProjectPoint(v,m,y,w,f,a,t,o,l,n,null);return r<=c/2}_.containStroke=L},EOO0:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="CloseOutlined";var w=_.a=d.forwardRef(y)},EP4V:function(Z,_,e){var d=e("oEo5"),L=e("giN5"),v=e("zYjg"),m=e("yOV+"),y=e("cLjh"),w=e("eZvc"),f=w.rectCoordAxisBuildSplitArea,a=w.rectCoordAxisHandleRemove,t=["axisLine","axisTickLabel","axisName"],o=["splitArea","splitLine"],s=y.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(n,c,r,u){var i=this.group;i.removeAll();var h=this._axisGroup;this._axisGroup=new v.Group;var p=m.layout(n),A=new L(n,p);d.each(t,A.add,A),i.add(this._axisGroup),i.add(A.getGroup()),d.each(o,function(C){n.get(C+".show")&&this["_"+C](n)},this),v.groupTransition(h,this._axisGroup,n),s.superCall(this,"render",n,c,r,u)},remove:function(){a(this)},_splitLine:function(n){var c=n.axis;if(c.scale.isBlank())return;var r=n.getModel("splitLine"),u=r.getModel("lineStyle"),i=u.get("width"),h=u.get("color");h=h instanceof Array?h:[h];for(var p=n.coordinateSystem.getRect(),A=c.isHorizontal(),C=[],S=0,E=c.getTicksCoords({tickModel:r}),O=[],T=[],b=0;b<E.length;++b){var x=c.toGlobalCoord(E[b].coord);A?(O[0]=x,O[1]=p.y,T[0]=x,T[1]=p.y+p.height):(O[0]=p.x,O[1]=x,T[0]=p.x+p.width,T[1]=x);var N=S++%h.length;C[N]=C[N]||[],C[N].push(new v.Line({subPixelOptimize:!0,shape:{x1:O[0],y1:O[1],x2:T[0],y2:T[1]},style:{lineWidth:i},silent:!0}))}for(var b=0;b<C.length;++b)this.group.add(v.mergePath(C[b],{style:{stroke:h[b%h.length],lineDash:u.getLineDash(i),lineWidth:i},silent:!0}))},_splitArea:function(n){f(this,this._axisGroup,n,n)}}),l=s;Z.exports=l},ERUI:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("KpzO")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="DownloadOutlined";var f=v.forwardRef(w);_.default=f},EUeE:function(Z,_){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")}}};Z.exports=e},"EYz/":function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("69Rt"),m=e.n(v)},EgZf:function(Z,_,e){var d=e("oEo5"),L=d.each,v=d.map,m=e("Jjzi"),y=m.linearMap,w=m.getPixelPrecision,f=m.round,a=e("LJKi"),t=a.createAxisTicks,o=a.createAxisLabels,s=a.calculateCategoryInterval,l=[0,1],n=function(i,h,p){this.dim=i,this.scale=h,this._extent=p||[0,0],this.inverse=!1,this.onBand=!1};n.prototype={constructor:n,contain:function(i){var h=this._extent,p=Math.min(h[0],h[1]),A=Math.max(h[0],h[1]);return i>=p&&i<=A},containData:function(i){return this.scale.contain(i)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(i){return w(i||this.scale.getExtent(),this._extent)},setExtent:function(i,h){var p=this._extent;p[0]=i,p[1]=h},dataToCoord:function(i,h){var p=this._extent,A=this.scale;return i=A.normalize(i),this.onBand&&A.type==="ordinal"&&(p=p.slice(),c(p,A.count())),y(i,l,p,h)},coordToData:function(i,h){var p=this._extent,A=this.scale;this.onBand&&A.type==="ordinal"&&(p=p.slice(),c(p,A.count()));var C=y(i,p,l,h);return this.scale.scale(C)},pointToData:function(i,h){},getTicksCoords:function(i){i=i||{};var h=i.tickModel||this.getTickModel(),p=t(this,h),A=p.ticks,C=v(A,function(E){return{coord:this.dataToCoord(E),tickValue:E}},this),S=h.get("alignWithLabel");return r(this,C,S,i.clamp),C},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var i=this.model.getModel("minorTick"),h=i.get("splitNumber");h>0&&h<100||(h=5);var p=this.scale.getMinorTicks(h),A=v(p,function(C){return v(C,function(S){return{coord:this.dataToCoord(S),tickValue:S}},this)},this);return A},getViewLabels:function(){return o(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var i=this._extent,h=this.scale.getExtent(),p=h[1]-h[0]+(this.onBand?1:0);p===0&&(p=1);var A=Math.abs(i[1]-i[0]);return Math.abs(A)/p},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return s(this)}};function c(i,h){var p=i[1]-i[0],A=h,C=p/A/2;i[0]+=C,i[1]-=C}function r(i,h,p,A){var C=h.length;if(!i.onBand||p||!C)return;var S=i.getExtent(),E,O;if(C===1)h[0].coord=S[0],E=h[1]={coord:S[0]};else{var T=h[C-1].tickValue-h[0].tickValue,b=(h[C-1].coord-h[0].coord)/T;L(h,function(M){M.coord-=b/2});var x=i.scale.getExtent();O=1+x[1]-h[C-1].tickValue,E={coord:h[C-1].coord+b*O},h.push(E)}var N=S[0]>S[1];D(h[0].coord,S[0])&&(A?h[0].coord=S[0]:h.shift()),A&&D(S[0],h[0].coord)&&h.unshift({coord:S[0]}),D(S[1],E.coord)&&(A?E.coord=S[1]:h.pop()),A&&D(E.coord,S[1])&&h.push({coord:S[1]});function D(M,R){return M=f(M),R=f(R),N?M>R:M<R}}var u=n;Z.exports=u},EkPb:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("raRn"),m=e.n(v),y=e("qyV+")},Epjc:function(Z,_,e){var d=e("Wr3P"),L=e("Wa83"),v=e("w9ct"),m=v.getSymbolSize,y=[],w=[],f=[],a=d.quadraticAt,t=L.distSquare,o=Math.abs;function s(n,c,r){for(var u=n[0],i=n[1],h=n[2],p=Infinity,A,C=r*r,S=.1,E=.1;E<=.9;E+=.1){y[0]=a(u[0],i[0],h[0],E),y[1]=a(u[1],i[1],h[1],E);var O=o(t(y,c)-C);O<p&&(p=O,A=E)}for(var T=0;T<32;T++){var b=A+S;w[0]=a(u[0],i[0],h[0],A),w[1]=a(u[1],i[1],h[1],A),f[0]=a(u[0],i[0],h[0],b),f[1]=a(u[1],i[1],h[1],b);var O=t(w,c)-C;if(o(O)<.01)break;var x=t(f,c)-C;S/=2,O<0?x>=0?A=A+S:A=A-S:x>=0?A=A-S:A=A+S}return A}function l(n,c){var r=[],u=d.quadraticSubdivide,i=[[],[],[]],h=[[],[]],p=[];c/=2,n.eachEdge(function(A,C){var S=A.getLayout(),E=A.getVisual("fromSymbol"),O=A.getVisual("toSymbol");S.__original||(S.__original=[L.clone(S[0]),L.clone(S[1])],S[2]&&S.__original.push(L.clone(S[2])));var T=S.__original;if(S[2]!=null){if(L.copy(i[0],T[0]),L.copy(i[1],T[2]),L.copy(i[2],T[1]),E&&E!=="none"){var b=m(A.node1),x=s(i,T[0],b*c);u(i[0][0],i[1][0],i[2][0],x,r),i[0][0]=r[3],i[1][0]=r[4],u(i[0][1],i[1][1],i[2][1],x,r),i[0][1]=r[3],i[1][1]=r[4]}if(O&&O!=="none"){var b=m(A.node2),x=s(i,T[1],b*c);u(i[0][0],i[1][0],i[2][0],x,r),i[1][0]=r[1],i[2][0]=r[2],u(i[0][1],i[1][1],i[2][1],x,r),i[1][1]=r[1],i[2][1]=r[2]}L.copy(S[0],i[0]),L.copy(S[1],i[2]),L.copy(S[2],i[1])}else{if(L.copy(h[0],T[0]),L.copy(h[1],T[1]),L.sub(p,h[1],h[0]),L.normalize(p,p),E&&E!=="none"){var b=m(A.node1);L.scaleAndAdd(h[0],h[0],p,b*c)}if(O&&O!=="none"){var b=m(A.node2);L.scaleAndAdd(h[1],h[1],p,-b*c)}L.copy(S[0],h[0]),L.copy(S[1],h[1])}})}Z.exports=l},EraS:function(Z,_){function e(){this.__data__=[],this.size=0}Z.exports=e},EvFB:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5");d.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(v,m){var y=m.getComponent("timeline");return y&&v.currentIndex!=null&&(y.setCurrentIndex(v.currentIndex),!y.get("loop",!0)&&y.isIndexMax()&&y.setPlayState(!1)),m.resetOption("timeline"),L.defaults({currentIndex:y.option.currentIndex},v)}),d.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(v,m){var y=m.getComponent("timeline");y&&v.playState!=null&&y.setPlayState(v.playState)})},Ey8H:function(Z,_,e){},Eyzv:function(Z,_,e){var d=e("oEo5"),L=e("A4b5"),v=e("tCtF"),m=e("Jjzi"),y=e("sYRh"),w=y.getScaleExtent,f=y.niceScaleExtent,a=e("kN/v"),t=e("XPpp");function o(l,n,c){this._model=l,this.dimensions=[],this._indicatorAxes=d.map(l.getIndicatorModels(),function(r,u){var i="indicator_"+u,h=new L(i,r.get("axisType")==="log"?new t:new v);return h.name=r.get("name"),h.model=r,r.axis=h,this.dimensions.push(i),h},this),this.resize(l,c),this.cx,this.cy,this.r,this.r0,this.startAngle}o.prototype.getIndicatorAxes=function(){return this._indicatorAxes},o.prototype.dataToPoint=function(l,n){var c=this._indicatorAxes[n];return this.coordToPoint(c.dataToCoord(l),n)},o.prototype.coordToPoint=function(l,n){var c=this._indicatorAxes[n],r=c.angle,u=this.cx+l*Math.cos(r),i=this.cy-l*Math.sin(r);return[u,i]},o.prototype.pointToData=function(l){var n=l[0]-this.cx,c=l[1]-this.cy,r=Math.sqrt(n*n+c*c);n/=r,c/=r;for(var u=Math.atan2(-c,n),i=Infinity,h,p=-1,A=0;A<this._indicatorAxes.length;A++){var C=this._indicatorAxes[A],S=Math.abs(u-C.angle);S<i&&(h=C,p=A,i=S)}return[p,+(h&&h.coordToData(r))]},o.prototype.resize=function(l,n){var c=l.get("center"),r=n.getWidth(),u=n.getHeight(),i=Math.min(r,u)/2;this.cx=m.parsePercent(c[0],r),this.cy=m.parsePercent(c[1],u),this.startAngle=l.get("startAngle")*Math.PI/180;var h=l.get("radius");(typeof h=="string"||typeof h=="number")&&(h=[0,h]),this.r0=m.parsePercent(h[0],i),this.r=m.parsePercent(h[1],i),d.each(this._indicatorAxes,function(p,A){p.setExtent(this.r0,this.r);var C=this.startAngle+A*Math.PI*2/this._indicatorAxes.length;C=Math.atan2(Math.sin(C),Math.cos(C)),p.angle=C},this)},o.prototype.update=function(l,n){var c=this._indicatorAxes,r=this._model;d.each(c,function(h){h.scale.setExtent(Infinity,-Infinity)}),l.eachSeriesByType("radar",function(h,p){if(h.get("coordinateSystem")!=="radar"||l.getComponent("radar",h.get("radarIndex"))!==r)return;var A=h.getData();d.each(c,function(C){C.scale.unionExtentFromData(A,A.mapDimension(C.dim))})},this);var u=r.get("splitNumber");function i(h){var p=Math.pow(10,Math.floor(Math.log(h)/Math.LN10)),A=h/p;return A===2?A=5:A*=2,A*p}d.each(c,function(h,p){var A=w(h.scale,h.model).extent;f(h.scale,h.model);var C=h.model,S=h.scale,E=C.getMin(),O=C.getMax(),T=S.getInterval();if(E!=null&&O!=null)S.setExtent(+E,+O),S.setInterval((O-E)/u);else if(E!=null){var b;do b=E+T*u,S.setExtent(+E,b),S.setInterval(T),T=i(T);while(b<A[1]&&isFinite(b)&&isFinite(A[1]))}else if(O!=null){var x;do x=O-T*u,S.setExtent(x,+O),S.setInterval(T),T=i(T);while(x>A[0]&&isFinite(x)&&isFinite(A[0]))}else{var N=S.getTicks().length-1;N>u&&(T=i(T));var b=Math.ceil(A[1]/T)*T,x=m.round(b-T*u);S.setExtent(x,b),S.setInterval(T)}})},o.dimensions=[],o.create=function(l,n){var c=[];return l.eachComponent("radar",function(r){var u=new o(r,l,n);c.push(u),r.coordinateSystem=u}),l.eachSeriesByType("radar",function(r){r.get("coordinateSystem")==="radar"&&(r.coordinateSystem=c[r.get("radarIndex")||0])}),c},a.register("radar",o);var s=o;Z.exports=s},F2Ao:function(Z,_,e){var d=e("ie0D"),L=e("2DdH"),v=e("oEo5"),m=v.getContext,y=v.extend,w=v.retrieve2,f=v.retrieve3,a=v.trim,t={},o=0,s=5e3,l=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,n="12px sans-serif",c={};function r(z,U){c[z]=U}function u(z,U){U=U||n;var K=z+":"+U;if(t[K])return t[K];for(var W=(z+"").split(`
|
||
`),H=0,Y=0,Q=W.length;Y<Q;Y++)H=Math.max(D(W[Y],U).width,H);return o>s&&(o=0,t={}),o++,t[K]=H,H}function i(z,U,K,W,H,Y,Q,P){return Q?p(z,U,K,W,H,Y,Q,P):h(z,U,K,W,H,Y,P)}function h(z,U,K,W,H,Y,Q){var P=M(z,U,H,Y,Q),G=u(z,U);H&&(G+=H[1]+H[3]);var J=P.outerHeight,he=A(0,G,K),te=C(0,J,W),pe=new d(he,te,G,J);return pe.lineHeight=P.lineHeight,pe}function p(z,U,K,W,H,Y,Q,P){var G=R(z,{rich:Q,truncate:P,font:U,textAlign:K,textPadding:H,textLineHeight:Y}),J=G.outerWidth,he=G.outerHeight,te=A(0,J,K),pe=C(0,he,W);return new d(te,pe,J,he)}function A(z,U,K){return K==="right"?z-=U:K==="center"&&(z-=U/2),z}function C(z,U,K){return K==="middle"?z-=U/2:K==="bottom"&&(z-=U),z}function S(z,U,K){var W=U.textPosition,H=U.textDistance,Y=K.x,Q=K.y;H=H||0;var P=K.height,G=K.width,J=P/2,he="left",te="top";switch(W){case"left":Y-=H,Q+=J,he="right",te="middle";break;case"right":Y+=H+G,Q+=J,te="middle";break;case"top":Y+=G/2,Q-=H,he="center",te="bottom";break;case"bottom":Y+=G/2,Q+=P+H,he="center";break;case"inside":Y+=G/2,Q+=J,he="center",te="middle";break;case"insideLeft":Y+=H,Q+=J,te="middle";break;case"insideRight":Y+=G-H,Q+=J,he="right",te="middle";break;case"insideTop":Y+=G/2,Q+=H,he="center";break;case"insideBottom":Y+=G/2,Q+=P-H,he="center",te="bottom";break;case"insideTopLeft":Y+=H,Q+=H;break;case"insideTopRight":Y+=G-H,Q+=H,he="right";break;case"insideBottomLeft":Y+=H,Q+=P-H,te="bottom";break;case"insideBottomRight":Y+=G-H,Q+=P-H,he="right",te="bottom";break}return z=z||{},z.x=Y,z.y=Q,z.textAlign=he,z.textVerticalAlign=te,z}function E(z,U,K){var W={textPosition:z,textDistance:K};return S({},W,U)}function O(z,U,K,W,H){if(!U)return"";var Y=(z+"").split(`
|
||
`);H=T(U,K,W,H);for(var Q=0,P=Y.length;Q<P;Q++)Y[Q]=b(Y[Q],H);return Y.join(`
|
||
`)}function T(z,U,K,W){W=y({},W),W.font=U;var K=w(K,"...");W.maxIterations=w(W.maxIterations,2);var H=W.minChar=w(W.minChar,0);W.cnCharWidth=u("\u56FD",U);var Y=W.ascCharWidth=u("a",U);W.placeholder=w(W.placeholder,"");for(var Q=z=Math.max(0,z-1),P=0;P<H&&Q>=Y;P++)Q-=Y;var G=u(K,U);return G>Q&&(K="",G=0),Q=z-G,W.ellipsis=K,W.ellipsisWidth=G,W.contentWidth=Q,W.containerWidth=z,W}function b(z,U){var K=U.containerWidth,W=U.font,H=U.contentWidth;if(!K)return"";var Y=u(z,W);if(Y<=K)return z;for(var Q=0;;Q++){if(Y<=H||Q>=U.maxIterations){z+=U.ellipsis;break}var P=Q===0?x(z,H,U.ascCharWidth,U.cnCharWidth):Y>0?Math.floor(z.length*H/Y):0;z=z.substr(0,P),Y=u(z,W)}return z===""&&(z=U.placeholder),z}function x(z,U,K,W){for(var H=0,Y=0,Q=z.length;Y<Q&&H<U;Y++){var P=z.charCodeAt(Y);H+=0<=P&&P<=127?K:W}return Y}function N(z){return u("\u56FD",z)}function D(z,U){return c.measureText(z,U)}c.measureText=function(z,U){var K=m();return K.font=U||n,K.measureText(z)};function M(z,U,K,W,H){z!=null&&(z+="");var Y=w(W,N(U)),Q=z?z.split(`
|
||
`):[],P=Q.length*Y,G=P,J=!0;if(K&&(G+=K[0]+K[2]),z&&H){J=!1;var he=H.outerHeight,te=H.outerWidth;if(he!=null&&G>he)z="",Q=[];else if(te!=null)for(var pe=T(te-(K?K[1]+K[3]:0),U,H.ellipsis,{minChar:H.minChar,placeholder:H.placeholder}),we=0,be=Q.length;we<be;we++)Q[we]=b(Q[we],pe)}return{lines:Q,height:P,outerHeight:G,lineHeight:Y,canCacheByTextString:J}}function R(z,U){var K={lines:[],width:0,height:0};if(z!=null&&(z+=""),!z)return K;for(var W=l.lastIndex=0,H;(H=l.exec(z))!=null;){var Y=H.index;Y>W&&F(K,z.substring(W,Y)),F(K,H[2],H[1]),W=l.lastIndex}W<z.length&&F(K,z.substring(W,z.length));var Q=K.lines,P=0,G=0,J=[],he=U.textPadding,te=U.truncate,pe=te&&te.outerWidth,we=te&&te.outerHeight;he&&(pe!=null&&(pe-=he[1]+he[3]),we!=null&&(we-=he[0]+he[2]));for(var be=0;be<Q.length;be++){for(var Qe=Q[be],$e=0,yt=0,Fe=0;Fe<Qe.tokens.length;Fe++){var Pe=Qe.tokens[Fe],gt=Pe.styleName&&U.rich[Pe.styleName]||{},it=Pe.textPadding=gt.textPadding,qe=Pe.font=gt.font||U.font,At=Pe.textHeight=w(gt.textHeight,N(qe));if(it&&(At+=it[0]+it[2]),Pe.height=At,Pe.lineHeight=f(gt.textLineHeight,U.textLineHeight,At),Pe.textAlign=gt&>.textAlign||U.textAlign,Pe.textVerticalAlign=gt&>.textVerticalAlign||"middle",we!=null&&P+Pe.lineHeight>we)return{lines:[],width:0,height:0};Pe.textWidth=u(Pe.text,qe);var dt=gt.textWidth,wt=dt==null||dt==="auto";if(typeof dt=="string"&&dt.charAt(dt.length-1)==="%")Pe.percentWidth=dt,J.push(Pe),dt=0;else{if(wt){dt=Pe.textWidth;var Ye=gt.textBackgroundColor,mt=Ye&&Ye.image;mt&&(mt=L.findExistImage(mt),L.isImageReady(mt)&&(dt=Math.max(dt,mt.width*At/mt.height)))}var Ue=it?it[1]+it[3]:0;dt+=Ue;var Re=pe!=null?pe-yt:null;Re!=null&&Re<dt&&(!wt||Re<Ue?(Pe.text="",Pe.textWidth=dt=0):(Pe.text=O(Pe.text,Re-Ue,qe,te.ellipsis,{minChar:te.minChar}),Pe.textWidth=u(Pe.text,qe),dt=Pe.textWidth+Ue))}yt+=Pe.width=dt,gt&&($e=Math.max($e,Pe.lineHeight))}Qe.width=yt,Qe.lineHeight=$e,P+=$e,G=Math.max(G,yt)}K.outerWidth=K.width=w(U.textWidth,G),K.outerHeight=K.height=w(U.textHeight,P),he&&(K.outerWidth+=he[1]+he[3],K.outerHeight+=he[0]+he[2]);for(var be=0;be<J.length;be++){var Pe=J[be],Le=Pe.percentWidth;Pe.width=parseInt(Le,10)/100*G}return K}function F(z,U,K){for(var W=U==="",H=U.split(`
|
||
`),Y=z.lines,Q=0;Q<H.length;Q++){var P=H[Q],G={styleName:K,text:P,isLineHolder:!P&&!W};if(Q)Y.push({tokens:[G]});else{var J=(Y[Y.length-1]||(Y[0]={tokens:[]})).tokens,he=J.length;he===1&&J[0].isLineHolder?J[0]=G:(P||!he||W)&&J.push(G)}}}function B(z){var U=(z.fontSize||z.fontFamily)&&[z.fontStyle,z.fontWeight,(z.fontSize||12)+"px",z.fontFamily||"sans-serif"].join(" ");return U&&a(U)||z.textFont||z.font}_.DEFAULT_FONT=n,_.$override=r,_.getWidth=u,_.getBoundingRect=i,_.adjustTextX=A,_.adjustTextY=C,_.calculateTextPosition=S,_.adjustTextPositionOnRect=E,_.truncateText=O,_.getLineHeight=N,_.measureText=D,_.parsePlainText=M,_.parseRichText=R,_.makeFont=B},F61N:function(Z,_,e){"use strict";var d=e("bOtj"),L=e("LlUK"),v=function(w,f,a){var t=f<0?w.length+f:f;if(t>=0&&t<w.length){var o=a<0?w.length+a:a,s=w.splice(f,1),l=L(s,1),n=l[0];w.splice(o,0,n)}},m=function(w,f,a){return w=d(w),v(w,f,a),w};Z.exports=m,Z.exports.mutate=v},F62y:function(Z,_,e){var d=e("oEo5"),L=d.each,v=e("TmiR"),m=e("kY/L"),y=e("1JkX"),w=e("QV7q"),f=e("zYjg"),a=e("YBdE"),t=a.createTask,o=e("teHm"),s=w.makeInner(),l=o();function n(){this.group=new v,this.uid=m.getUID("viewChart"),this.renderTask=t({plan:i,reset:h}),this.renderTask.context={view:this}}n.prototype={type:"chart",init:function(C,S){},render:function(C,S,E,O){},highlight:function(C,S,E,O){u(C.getData(),O,"emphasis")},downplay:function(C,S,E,O){u(C.getData(),O,"normal")},remove:function(C,S){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var c=n.prototype;c.updateView=c.updateLayout=c.updateVisual=function(C,S,E,O){this.render(C,S,E,O)};function r(C,S,E){if(C&&(C.trigger(S,E),C.isGroup&&!f.isHighDownDispatcher(C)))for(var O=0,T=C.childCount();O<T;O++)r(C.childAt(O),S,E)}function u(C,S,E){var O=w.queryDataIndex(C,S),T=S&&S.highlightKey!=null?f.getHighlightDigit(S.highlightKey):null;O!=null?L(w.normalizeToArray(O),function(b){r(C.getItemGraphicEl(b),E,T)}):C.eachItemGraphicEl(function(b){r(b,E,T)})}y.enableClassExtend(n,["dispose"]),y.enableClassManagement(n,{registerWhenExtend:!0}),n.markUpdateMethod=function(C,S){s(C).updateMethod=S};function i(C){return l(C.model)}function h(C){var S=C.model,E=C.ecModel,O=C.api,T=C.payload,b=S.pipelineContext.progressiveRender,x=C.view,N=T&&s(T).updateMethod,D=b?"incrementalPrepareRender":N&&x[N]?N:"render";return D!=="render"&&x[D](S,E,O,T),p[D]}var p={incrementalPrepareRender:{progress:function(C,S){S.view.incrementalRender(C,S.model,S.ecModel,S.api,S.payload)}},render:{forceFirstProgress:!0,progress:function(C,S){S.view.render(S.model,S.ecModel,S.api,S.payload)}}},A=n;Z.exports=A},F7ij:function(Z,_,e){var d=e("Wa83"),L=e("w9ct"),v=L.getSymbolSize,m=L.getNodeGlobalScale,y=e("oEo5"),w=e("fllp"),f=w.getCurvenessForEdge,a=Math.PI,t=[];function o(l,n){var c=l.coordinateSystem;if(c&&c.type!=="view")return;var r=c.getBoundingRect(),u=l.getData(),i=u.graph,h=r.width/2+r.x,p=r.height/2+r.y,A=Math.min(r.width,r.height)/2,C=u.count();if(u.setLayout({cx:h,cy:p}),!C)return;s[n](l,c,i,u,A,h,p,C),i.eachEdge(function(S,E){var O=y.retrieve3(S.getModel().get("lineStyle.curveness"),f(S,l,E),0),T=d.clone(S.node1.getLayout()),b=d.clone(S.node2.getLayout()),x,N=(T[0]+b[0])/2,D=(T[1]+b[1])/2;+O&&(O*=3,x=[h*O+N*(1-O),p*O+D*(1-O)]),S.setLayout([T,b,x])})}var s={value:function(l,n,c,r,u,i,h,p){var A=0,C=r.getSum("value"),S=Math.PI*2/(C||p);c.eachNode(function(E){var O=E.getValue("value"),T=S*(C?O:1)/2;A+=T,E.setLayout([u*Math.cos(A)+i,u*Math.sin(A)+h]),A+=T})},symbolSize:function(l,n,c,r,u,i,h,p){var A=0;t.length=p;var C=m(l);c.eachNode(function(O){var T=v(O);isNaN(T)&&(T=2),T<0&&(T=0),T*=C;var b=Math.asin(T/2/u);isNaN(b)&&(b=a/2),t[O.dataIndex]=b,A+=b*2});var S=(2*a-A)/p/2,E=0;c.eachNode(function(O){var T=S+t[O.dataIndex];E+=T,O.setLayout([u*Math.cos(E)+i,u*Math.sin(E)+h]),E+=T})}};_.circularLayout=o},F8X5:function(Z,_,e){var d=e("oEo5");function L(y){y.eachSeriesByType("radar",function(w){var f=w.getData(),a=[],t=w.coordinateSystem;if(!t)return;var o=t.getIndicatorAxes();d.each(o,function(s,l){f.each(f.mapDimension(o[l].dim),function(n,c){a[c]=a[c]||[];var r=t.dataToPoint(n,l);a[c][l]=v(r)?r:m(t)})}),f.each(function(s){var l=d.find(a[s],function(n){return v(n)})||m(t);a[s].push(l.slice()),f.setItemLayout(s,a[s])})})}function v(y){return!isNaN(y[0])&&!isNaN(y[1])}function m(y){return[y.cx,y.cy]}Z.exports=L},F8iZ:function(Z,_,e){var d=e("Q6Bq");e("uYoA"),e("/dgT"),d.registerPreprocessor(function(L){L.markLine=L.markLine||{}})},FNWx:function(Z,_,e){(function(d){d(e("M0ff"))})(function(d){"use strict";var L={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},v={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};d.defineMode("xml",function(m,y){var w=m.indentUnit,f={},a=y.htmlMode?L:v;for(var t in a)f[t]=a[t];for(var t in y)f[t]=y[t];var o,s;function l(D,M){function R(z){return M.tokenize=z,z(D,M)}var F=D.next();if(F=="<")return D.eat("!")?D.eat("[")?D.match("CDATA[")?R(r("atom","]]>")):null:D.match("--")?R(r("comment","-->")):D.match("DOCTYPE",!0,!0)?(D.eatWhile(/[\w\._\-]/),R(u(1))):null:D.eat("?")?(D.eatWhile(/[\w\._\-]/),M.tokenize=r("meta","?>"),"meta"):(o=D.eat("/")?"closeTag":"openTag",M.tokenize=n,"tag bracket");if(F=="&"){var B;return D.eat("#")?D.eat("x")?B=D.eatWhile(/[a-fA-F\d]/)&&D.eat(";"):B=D.eatWhile(/[\d]/)&&D.eat(";"):B=D.eatWhile(/[\w\.\-:]/)&&D.eat(";"),B?"atom":"error"}else return D.eatWhile(/[^&<]/),null}l.isInText=!0;function n(D,M){var R=D.next();if(R==">"||R=="/"&&D.eat(">"))return M.tokenize=l,o=R==">"?"endTag":"selfcloseTag","tag bracket";if(R=="=")return o="equals",null;if(R=="<"){M.tokenize=l,M.state=A,M.tagName=M.tagStart=null;var F=M.tokenize(D,M);return F?F+" tag error":"tag error"}else return/[\'\"]/.test(R)?(M.tokenize=c(R),M.stringStartCol=D.column(),M.tokenize(D,M)):(D.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function c(D){var M=function(F,B){for(;!F.eol();)if(F.next()==D){B.tokenize=n;break}return"string"};return M.isInAttribute=!0,M}function r(D,M){return function(R,F){for(;!R.eol();){if(R.match(M)){F.tokenize=l;break}R.next()}return D}}function u(D){return function(M,R){for(var F;(F=M.next())!=null;){if(F=="<")return R.tokenize=u(D+1),R.tokenize(M,R);if(F==">")if(D==1){R.tokenize=l;break}else return R.tokenize=u(D-1),R.tokenize(M,R)}return"meta"}}function i(D,M,R){this.prev=D.context,this.tagName=M,this.indent=D.indented,this.startOfLine=R,(f.doNotIndent.hasOwnProperty(M)||D.context&&D.context.noIndent)&&(this.noIndent=!0)}function h(D){D.context&&(D.context=D.context.prev)}function p(D,M){for(var R;;){if(!D.context)return;if(R=D.context.tagName,!f.contextGrabbers.hasOwnProperty(R)||!f.contextGrabbers[R].hasOwnProperty(M))return;h(D)}}function A(D,M,R){return D=="openTag"?(R.tagStart=M.column(),C):D=="closeTag"?S:A}function C(D,M,R){return D=="word"?(R.tagName=M.current(),s="tag",T):f.allowMissingTagName&&D=="endTag"?(s="tag bracket",T(D,M,R)):(s="error",C)}function S(D,M,R){if(D=="word"){var F=M.current();return R.context&&R.context.tagName!=F&&f.implicitlyClosed.hasOwnProperty(R.context.tagName)&&h(R),R.context&&R.context.tagName==F||f.matchClosing===!1?(s="tag",E):(s="tag error",O)}else return f.allowMissingTagName&&D=="endTag"?(s="tag bracket",E(D,M,R)):(s="error",O)}function E(D,M,R){return D!="endTag"?(s="error",E):(h(R),A)}function O(D,M,R){return s="error",E(D,M,R)}function T(D,M,R){if(D=="word")return s="attribute",b;if(D=="endTag"||D=="selfcloseTag"){var F=R.tagName,B=R.tagStart;return R.tagName=R.tagStart=null,D=="selfcloseTag"||f.autoSelfClosers.hasOwnProperty(F)?p(R,F):(p(R,F),R.context=new i(R,F,B==R.indented)),A}return s="error",T}function b(D,M,R){return D=="equals"?x:(f.allowMissing||(s="error"),T(D,M,R))}function x(D,M,R){return D=="string"?N:D=="word"&&f.allowUnquoted?(s="string",T):(s="error",T(D,M,R))}function N(D,M,R){return D=="string"?N:T(D,M,R)}return{startState:function(M){var R={tokenize:l,state:A,indented:M||0,tagName:null,tagStart:null,context:null};return M!=null&&(R.baseIndent=M),R},token:function(M,R){if(!R.tagName&&M.sol()&&(R.indented=M.indentation()),M.eatSpace())return null;o=null;var F=R.tokenize(M,R);return(F||o)&&F!="comment"&&(s=null,R.state=R.state(o||F,M,R),s&&(F=s=="error"?F+" error":s)),F},indent:function(M,R,F){var B=M.context;if(M.tokenize.isInAttribute)return M.tagStart==M.indented?M.stringStartCol+1:M.indented+w;if(B&&B.noIndent)return d.Pass;if(M.tokenize!=n&&M.tokenize!=l)return F?F.match(/^(\s*)/)[0].length:0;if(M.tagName)return f.multilineTagIndentPastTag!==!1?M.tagStart+M.tagName.length+2:M.tagStart+w*(f.multilineTagIndentFactor||1);if(f.alignCDATA&&/<!\[CDATA\[/.test(R))return 0;var z=R&&/^<(\/)?([\w_:\.-]*)/.exec(R);if(z&&z[1])for(;B;)if(B.tagName==z[2]){B=B.prev;break}else if(f.implicitlyClosed.hasOwnProperty(B.tagName))B=B.prev;else break;else if(z)for(;B;){var U=f.contextGrabbers[B.tagName];if(U&&U.hasOwnProperty(z[2]))B=B.prev;else break}for(;B&&B.prev&&!B.startOfLine;)B=B.prev;return B?B.indent+w:M.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:f.htmlMode?"html":"xml",helperType:f.htmlMode?"html":"xml",skipAttribute:function(M){M.state==x&&(M.state=T)},xmlCurrentTag:function(M){return M.tagName?{name:M.tagName,close:M.type=="closeTag"}:null},xmlCurrentContext:function(M){for(var R=[],F=M.context;F;F=F.prev)F.tagName&&R.push(F.tagName);return R.reverse()}}}),d.defineMIME("text/xml","xml"),d.defineMIME("application/xml","xml"),d.mimeModes.hasOwnProperty("text/html")||d.defineMIME("text/html",{name:"xml",htmlMode:!0})})},FVtn:function(Z,_,e){var d=e("oEo5"),L=e("Jjzi"),v=L.parsePercent,m=e("7/O9"),y=m.isDimensionStacked;function w(s){return s.get("stack")||"__ec_stack_"+s.seriesIndex}function f(s,l){return l.dim+s.model.componentIndex}function a(s,l,n){var c={},r=t(d.filter(l.getSeriesByType(s),function(u){return!l.isSeriesFiltered(u)&&u.coordinateSystem&&u.coordinateSystem.type==="polar"}));l.eachSeriesByType(s,function(u){if(u.coordinateSystem.type!=="polar")return;var i=u.getData(),h=u.coordinateSystem,p=h.getBaseAxis(),A=f(h,p),C=w(u),S=r[A][C],E=S.offset,O=S.width,T=h.getOtherAxis(p),b=u.coordinateSystem.cx,x=u.coordinateSystem.cy,N=u.get("barMinHeight")||0,D=u.get("barMinAngle")||0;c[C]=c[C]||[];for(var M=i.mapDimension(T.dim),R=i.mapDimension(p.dim),F=y(i,M),B=p.dim!=="radius"||!u.get("roundCap",!0),z=T.dim==="radius"?T.dataToRadius(0):T.dataToAngle(0),U=0,K=i.count();U<K;U++){var W=i.get(M,U),H=i.get(R,U),Y=W>=0?"p":"n",Q=z;F&&(c[C][H]||(c[C][H]={p:z,n:z}),Q=c[C][H][Y]);var P,G,J,he;if(T.dim==="radius"){var te=T.dataToRadius(W)-z,pe=p.dataToAngle(H);Math.abs(te)<N&&(te=(te<0?-1:1)*N),P=Q,G=Q+te,J=pe-E,he=J-O,F&&(c[C][H][Y]=G)}else{var we=T.dataToAngle(W,B)-z,be=p.dataToRadius(H);Math.abs(we)<D&&(we=(we<0?-1:1)*D),P=be+E,G=P+O,J=Q,he=Q+we,F&&(c[C][H][Y]=he)}i.setItemLayout(U,{cx:b,cy:x,r0:P,r:G,startAngle:-J*Math.PI/180,endAngle:-he*Math.PI/180})}},this)}function t(s,l){var n={};d.each(s,function(r,u){var i=r.getData(),h=r.coordinateSystem,p=h.getBaseAxis(),A=f(h,p),C=p.getExtent(),S=p.type==="category"?p.getBandWidth():Math.abs(C[1]-C[0])/i.count(),E=n[A]||{bandWidth:S,remainedWidth:S,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},O=E.stacks;n[A]=E;var T=w(r);O[T]||E.autoWidthCount++,O[T]=O[T]||{width:0,maxWidth:0};var b=v(r.get("barWidth"),S),x=v(r.get("barMaxWidth"),S),N=r.get("barGap"),D=r.get("barCategoryGap");b&&!O[T].width&&(b=Math.min(E.remainedWidth,b),O[T].width=b,E.remainedWidth-=b),x&&(O[T].maxWidth=x),N!=null&&(E.gap=N),D!=null&&(E.categoryGap=D)});var c={};return d.each(n,function(r,u){c[u]={};var i=r.stacks,h=r.bandWidth,p=v(r.categoryGap,h),A=v(r.gap,1),C=r.remainedWidth,S=r.autoWidthCount,E=(C-p)/(S+(S-1)*A);E=Math.max(E,0),d.each(i,function(x,N){var D=x.maxWidth;D&&D<E&&(D=Math.min(D,C),x.width&&(D=Math.min(D,x.width)),C-=D,x.width=D,S--)}),E=(C-p)/(S+(S-1)*A),E=Math.max(E,0);var O=0,T;d.each(i,function(x,N){x.width||(x.width=E),T=x,O+=x.width*(1+A)}),T&&(O-=T.width*A);var b=-O/2;d.each(i,function(x,N){c[u][N]=c[u][N]||{offset:b,width:x.width},b+=x.width*(1+A)})}),c}var o=a;Z.exports=o},FXgl:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("YOS9"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},FcS3:function(Z,_,e){var d=e("/8eN"),L=e("SSN4"),v=Object.prototype,m=v.hasOwnProperty,y=v.propertyIsEnumerable,w=d(function(){return arguments}())?d:function(f){return L(f)&&m.call(f,"callee")&&!y.call(f,"callee")};Z.exports=w},FdB3:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};_.default=d},FiFR:function(Z,_,e){var d=e("oEo5"),L=e("zYjg"),v=e("F2Ao"),m=e("CQhY"),y=e("4uqo"),w=e("sYRh"),f=e("giN5");function a(i){var h=i.get("type"),p=i.getModel(h+"Style"),A;return h==="line"?(A=p.getLineStyle(),A.fill=null):h==="shadow"&&(A=p.getAreaStyle(),A.stroke=null),A}function t(i,h,p,A,C){var S=p.get("value"),E=s(S,h.axis,h.ecModel,p.get("seriesDataIndices"),{precision:p.get("label.precision"),formatter:p.get("label.formatter")}),O=p.getModel("label"),T=m.normalizeCssArray(O.get("padding")||0),b=O.getFont(),x=v.getBoundingRect(E,b),N=C.position,D=x.width+T[1]+T[3],M=x.height+T[0]+T[2],R=C.align;R==="right"&&(N[0]-=D),R==="center"&&(N[0]-=D/2);var F=C.verticalAlign;F==="bottom"&&(N[1]-=M),F==="middle"&&(N[1]-=M/2),o(N,D,M,A);var B=O.get("backgroundColor");(!B||B==="auto")&&(B=h.get("axisLine.lineStyle.color")),i.label={shape:{x:0,y:0,width:D,height:M,r:O.get("borderRadius")},position:N.slice(),style:{text:E,textFont:b,textFill:O.getTextColor(),textPosition:"inside",textPadding:T,fill:B,stroke:O.get("borderColor")||"transparent",lineWidth:O.get("borderWidth")||0,shadowBlur:O.get("shadowBlur"),shadowColor:O.get("shadowColor"),shadowOffsetX:O.get("shadowOffsetX"),shadowOffsetY:O.get("shadowOffsetY")},z2:10}}function o(i,h,p,A){var C=A.getWidth(),S=A.getHeight();i[0]=Math.min(i[0]+h,C)-h,i[1]=Math.min(i[1]+p,S)-p,i[0]=Math.max(i[0],0),i[1]=Math.max(i[1],0)}function s(i,h,p,A,C){i=h.scale.parse(i);var S=h.scale.getLabel(i,{precision:C.precision}),E=C.formatter;if(E){var O={value:w.getAxisRawValue(h,i),axisDimension:h.dim,axisIndex:h.index,seriesData:[]};d.each(A,function(T){var b=p.getSeriesByIndex(T.seriesIndex),x=T.dataIndexInside,N=b&&b.getDataParams(x);N&&O.seriesData.push(N)}),d.isString(E)?S=E.replace("{value}",S):d.isFunction(E)&&(S=E(O))}return S}function l(i,h,p){var A=y.create();return y.rotate(A,A,p.rotation),y.translate(A,A,p.position),L.applyTransform([i.dataToCoord(h),(p.labelOffset||0)+(p.labelDirection||1)*(p.labelMargin||0)],A)}function n(i,h,p,A,C,S){var E=f.innerTextLayout(p.rotation,0,p.labelDirection);p.labelMargin=C.get("label.margin"),t(h,A,C,S,{position:l(A.axis,i,p),align:E.textAlign,verticalAlign:E.textVerticalAlign})}function c(i,h,p){return p=p||0,{x1:i[p],y1:i[1-p],x2:h[p],y2:h[1-p]}}function r(i,h,p){return p=p||0,{x:i[p],y:i[1-p],width:h[p],height:h[1-p]}}function u(i,h,p,A,C,S){return{cx:i,cy:h,r0:p,r:A,startAngle:C,endAngle:S,clockwise:!0}}_.buildElStyle=a,_.buildLabelElOption=t,_.getValueLabel=s,_.getTransformedPosition=l,_.buildCartesianSingleLabelElOption=n,_.makeLineShape=c,_.makeRectShape=r,_.makeSectorShape=u},Fpro:function(Z,_,e){},Fr7k:function(Z,_,e){(function(d,L){/*!
|
||
* @overview es6-promise - a tiny implementation of Promises/A+.
|
||
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
||
* @license Licensed under MIT license
|
||
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
||
* @version v4.2.8+1e68dce6
|
||
*/(function(v,m){Z.exports=m()})(this,function(){"use strict";function v(Ye){var mt=typeof Ye;return Ye!==null&&(mt==="object"||mt==="function")}function m(Ye){return typeof Ye=="function"}var y=void 0;Array.isArray?y=Array.isArray:y=function(mt){return Object.prototype.toString.call(mt)==="[object Array]"};var w=y,f=0,a=void 0,t=void 0,o=function(mt,Ue){E[f]=mt,E[f+1]=Ue,f+=2,f===2&&(t?t(O):b())};function s(Ye){t=Ye}function l(Ye){o=Ye}var n=typeof window!="undefined"?window:void 0,c=n||{},r=c.MutationObserver||c.WebKitMutationObserver,u=typeof self=="undefined"&&typeof d!="undefined"&&{}.toString.call(d)==="[object process]",i=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function h(){return function(){return d.nextTick(O)}}function p(){return typeof a!="undefined"?function(){a(O)}:S()}function A(){var Ye=0,mt=new r(O),Ue=document.createTextNode("");return mt.observe(Ue,{characterData:!0}),function(){Ue.data=Ye=++Ye%2}}function C(){var Ye=new MessageChannel;return Ye.port1.onmessage=O,function(){return Ye.port2.postMessage(0)}}function S(){var Ye=setTimeout;return function(){return Ye(O,1)}}var E=new Array(1e3);function O(){for(var Ye=0;Ye<f;Ye+=2){var mt=E[Ye],Ue=E[Ye+1];mt(Ue),E[Ye]=void 0,E[Ye+1]=void 0}f=0}function T(){try{var Ye=Function("return this")().require("vertx");return a=Ye.runOnLoop||Ye.runOnContext,p()}catch(mt){return S()}}var b=void 0;u?b=h():r?b=A():i?b=C():n===void 0&&!0?b=T():b=S();function x(Ye,mt){var Ue=this,Re=new this.constructor(M);Re[D]===void 0&&$e(Re);var Le=Ue._state;if(Le){var at=arguments[Le-1];o(function(){return pe(Le,Re,at,Ue._result)})}else he(Ue,Re,Ye,mt);return Re}function N(Ye){var mt=this;if(Ye&&typeof Ye=="object"&&Ye.constructor===mt)return Ye;var Ue=new mt(M);return Q(Ue,Ye),Ue}var D=Math.random().toString(36).substring(2);function M(){}var R=void 0,F=1,B=2;function z(){return new TypeError("You cannot resolve a promise with itself")}function U(){return new TypeError("A promises callback cannot return that same promise.")}function K(Ye,mt,Ue,Re){try{Ye.call(mt,Ue,Re)}catch(Le){return Le}}function W(Ye,mt,Ue){o(function(Re){var Le=!1,at=K(Ue,mt,function(Ot){if(Le)return;Le=!0,mt!==Ot?Q(Re,Ot):G(Re,Ot)},function(Ot){if(Le)return;Le=!0,J(Re,Ot)},"Settle: "+(Re._label||" unknown promise"));!Le&&at&&(Le=!0,J(Re,at))},Ye)}function H(Ye,mt){mt._state===F?G(Ye,mt._result):mt._state===B?J(Ye,mt._result):he(mt,void 0,function(Ue){return Q(Ye,Ue)},function(Ue){return J(Ye,Ue)})}function Y(Ye,mt,Ue){mt.constructor===Ye.constructor&&Ue===x&&mt.constructor.resolve===N?H(Ye,mt):Ue===void 0?G(Ye,mt):m(Ue)?W(Ye,mt,Ue):G(Ye,mt)}function Q(Ye,mt){if(Ye===mt)J(Ye,z());else if(v(mt)){var Ue=void 0;try{Ue=mt.then}catch(Re){J(Ye,Re);return}Y(Ye,mt,Ue)}else G(Ye,mt)}function P(Ye){Ye._onerror&&Ye._onerror(Ye._result),te(Ye)}function G(Ye,mt){if(Ye._state!==R)return;Ye._result=mt,Ye._state=F,Ye._subscribers.length!==0&&o(te,Ye)}function J(Ye,mt){if(Ye._state!==R)return;Ye._state=B,Ye._result=mt,o(P,Ye)}function he(Ye,mt,Ue,Re){var Le=Ye._subscribers,at=Le.length;Ye._onerror=null,Le[at]=mt,Le[at+F]=Ue,Le[at+B]=Re,at===0&&Ye._state&&o(te,Ye)}function te(Ye){var mt=Ye._subscribers,Ue=Ye._state;if(mt.length===0)return;for(var Re=void 0,Le=void 0,at=Ye._result,Ot=0;Ot<mt.length;Ot+=3)Re=mt[Ot],Le=mt[Ot+Ue],Re?pe(Ue,Re,Le,at):Le(at);Ye._subscribers.length=0}function pe(Ye,mt,Ue,Re){var Le=m(Ue),at=void 0,Ot=void 0,Tt=!0;if(Le){try{at=Ue(Re)}catch(Ft){Tt=!1,Ot=Ft}if(mt===at){J(mt,U());return}}else at=Re;mt._state!==R||(Le&&Tt?Q(mt,at):Tt===!1?J(mt,Ot):Ye===F?G(mt,at):Ye===B&&J(mt,at))}function we(Ye,mt){try{mt(function(Re){Q(Ye,Re)},function(Re){J(Ye,Re)})}catch(Ue){J(Ye,Ue)}}var be=0;function Qe(){return be++}function $e(Ye){Ye[D]=be++,Ye._state=void 0,Ye._result=void 0,Ye._subscribers=[]}function yt(){return new Error("Array Methods must be provided an Array")}var Fe=function(){function Ye(mt,Ue){this._instanceConstructor=mt,this.promise=new mt(M),this.promise[D]||$e(this.promise),w(Ue)?(this.length=Ue.length,this._remaining=Ue.length,this._result=new Array(this.length),this.length===0?G(this.promise,this._result):(this.length=this.length||0,this._enumerate(Ue),this._remaining===0&&G(this.promise,this._result))):J(this.promise,yt())}return Ye.prototype._enumerate=function(Ue){for(var Re=0;this._state===R&&Re<Ue.length;Re++)this._eachEntry(Ue[Re],Re)},Ye.prototype._eachEntry=function(Ue,Re){var Le=this._instanceConstructor,at=Le.resolve;if(at===N){var Ot=void 0,Tt=void 0,Ft=!1;try{Ot=Ue.then}catch(Vt){Ft=!0,Tt=Vt}if(Ot===x&&Ue._state!==R)this._settledAt(Ue._state,Re,Ue._result);else if(typeof Ot!="function")this._remaining--,this._result[Re]=Ue;else if(Le===dt){var ke=new Le(M);Ft?J(ke,Tt):Y(ke,Ue,Ot),this._willSettleAt(ke,Re)}else this._willSettleAt(new Le(function(Vt){return Vt(Ue)}),Re)}else this._willSettleAt(at(Ue),Re)},Ye.prototype._settledAt=function(Ue,Re,Le){var at=this.promise;at._state===R&&(this._remaining--,Ue===B?J(at,Le):this._result[Re]=Le),this._remaining===0&&G(at,this._result)},Ye.prototype._willSettleAt=function(Ue,Re){var Le=this;he(Ue,void 0,function(at){return Le._settledAt(F,Re,at)},function(at){return Le._settledAt(B,Re,at)})},Ye}();function Pe(Ye){return new Fe(this,Ye).promise}function gt(Ye){var mt=this;return w(Ye)?new mt(function(Ue,Re){for(var Le=Ye.length,at=0;at<Le;at++)mt.resolve(Ye[at]).then(Ue,Re)}):new mt(function(Ue,Re){return Re(new TypeError("You must pass an array to race."))})}function it(Ye){var mt=this,Ue=new mt(M);return J(Ue,Ye),Ue}function qe(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function At(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var dt=function(){function Ye(mt){this[D]=Qe(),this._result=this._state=void 0,this._subscribers=[],M!==mt&&(typeof mt!="function"&&qe(),this instanceof Ye?we(this,mt):At())}return Ye.prototype.catch=function(Ue){return this.then(null,Ue)},Ye.prototype.finally=function(Ue){var Re=this,Le=Re.constructor;return m(Ue)?Re.then(function(at){return Le.resolve(Ue()).then(function(){return at})},function(at){return Le.resolve(Ue()).then(function(){throw at})}):Re.then(Ue,Ue)},Ye}();dt.prototype.then=x,dt.all=Pe,dt.race=gt,dt.resolve=N,dt.reject=it,dt._setScheduler=s,dt._setAsap=l,dt._asap=o;function wt(){var Ye=void 0;if(typeof L!="undefined")Ye=L;else if(typeof self!="undefined")Ye=self;else try{Ye=Function("return this")()}catch(Re){throw new Error("polyfill failed because global object is unavailable in this environment")}var mt=Ye.Promise;if(mt){var Ue=null;try{Ue=Object.prototype.toString.call(mt.resolve())}catch(Re){}if(Ue==="[object Promise]"&&!mt.cast)return}Ye.Promise=dt}return dt.polyfill=wt,dt.Promise=dt,dt})}).call(this,e("7vYp"),e("UywP"))},FrDD:function(Z,_,e){var d=e("oEo5"),L=e("+812"),v=e("m0+L"),m=L.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:[]}});d.mixin(m,v);var y=m;Z.exports=y},Fu25:function(Z,_,e){var d=e("2Cb2"),L=e("ie0D"),v=e("jU4C"),m=v.WILL_BE_RESTORED,y=new L,w=function(){};w.prototype={constructor:w,drawRectText:function(t,o){var s=this.style;o=s.textRect||o,this.__dirty&&d.normalizeTextStyle(s,!0);var l=s.text;if(l!=null&&(l+=""),!d.needDrawText(l,s))return;t.save();var n=this.transform;s.transformText?this.setTransform(t):n&&(y.copy(o),y.applyTransform(n),o=y),d.renderText(this,t,l,s,o,m),t.restore()}};var f=w;Z.exports=f},"G+ZC":function(Z,_,e){var d=e("4uqo"),L=e("Wa83"),v=d.identity,m=5e-5;function y(l){return l>m||l<-m}var w=function(n){n=n||{},n.position||(this.position=[0,0]),n.rotation==null&&(this.rotation=0),n.scale||(this.scale=[1,1]),this.origin=this.origin||null},f=w.prototype;f.transform=null,f.needLocalTransform=function(){return y(this.rotation)||y(this.position[0])||y(this.position[1])||y(this.scale[0]-1)||y(this.scale[1]-1)};var a=[];f.updateTransform=function(){var l=this.parent,n=l&&l.transform,c=this.needLocalTransform(),r=this.transform;if(!(c||n)){r&&v(r);return}r=r||d.create(),c?this.getLocalTransform(r):v(r),n&&(c?d.mul(r,l.transform,r):d.copy(r,l.transform)),this.transform=r;var u=this.globalScaleRatio;if(u!=null&&u!==1){this.getGlobalScale(a);var i=a[0]<0?-1:1,h=a[1]<0?-1:1,p=((a[0]-i)*u+i)/a[0]||0,A=((a[1]-h)*u+h)/a[1]||0;r[0]*=p,r[1]*=p,r[2]*=A,r[3]*=A}this.invTransform=this.invTransform||d.create(),d.invert(this.invTransform,r)},f.getLocalTransform=function(l){return w.getLocalTransform(this,l)},f.setTransform=function(l){var n=this.transform,c=l.dpr||1;n?l.setTransform(c*n[0],c*n[1],c*n[2],c*n[3],c*n[4],c*n[5]):l.setTransform(c,0,0,c,0,0)},f.restoreTransform=function(l){var n=l.dpr||1;l.setTransform(n,0,0,n,0,0)};var t=[],o=d.create();f.setLocalTransform=function(l){if(!l)return;var n=l[0]*l[0]+l[1]*l[1],c=l[2]*l[2]+l[3]*l[3],r=this.position,u=this.scale;y(n-1)&&(n=Math.sqrt(n)),y(c-1)&&(c=Math.sqrt(c)),l[0]<0&&(n=-n),l[3]<0&&(c=-c),r[0]=l[4],r[1]=l[5],u[0]=n,u[1]=c,this.rotation=Math.atan2(-l[1]/c,l[0]/n)},f.decomposeTransform=function(){if(!this.transform)return;var l=this.parent,n=this.transform;l&&l.transform&&(d.mul(t,l.invTransform,n),n=t);var c=this.origin;c&&(c[0]||c[1])&&(o[4]=c[0],o[5]=c[1],d.mul(t,n,o),t[4]-=c[0],t[5]-=c[1],n=t),this.setLocalTransform(n)},f.getGlobalScale=function(l){var n=this.transform;return l=l||[],n?(l[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),l[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(l[0]=-l[0]),n[3]<0&&(l[1]=-l[1]),l):(l[0]=1,l[1]=1,l)},f.transformCoordToLocal=function(l,n){var c=[l,n],r=this.invTransform;return r&&L.applyTransform(c,c,r),c},f.transformCoordToGlobal=function(l,n){var c=[l,n],r=this.transform;return r&&L.applyTransform(c,c,r),c},w.getLocalTransform=function(l,n){n=n||[],v(n);var c=l.origin,r=l.scale||[1,1],u=l.rotation||0,i=l.position||[0,0];return c&&(n[4]-=c[0],n[5]-=c[1]),d.scale(n,n,r),u&&d.rotate(n,n,u),c&&(n[4]+=c[0],n[5]+=c[1]),n[4]+=i[0],n[5]+=i[1],n};var s=w;Z.exports=s},G7NL:function(Z,_,e){var d=e("VC1J");function L(v){return d(this,v).get(v)}Z.exports=L},G8fk:function(Z,_,e){var d=e("oEo5");function L(v){for(var m=0;m<v.length;m++)v[m][1]||(v[m][1]=v[m][0]);return function(y,w,f){for(var a={},t=0;t<v.length;t++){var o=v[t][1];if(w&&d.indexOf(w,o)>=0||f&&d.indexOf(f,o)<0)continue;var s=y.getShallow(o);s!=null&&(a[v[t][0]]=s)}return a}}Z.exports=L},"GJ/b":function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("ZZRV"),w=e("iczh"),f=e.n(w),a=e("3CTf"),t=e("LpVx"),o=function(O,T){var b={};for(var x in O)Object.prototype.hasOwnProperty.call(O,x)&&T.indexOf(x)<0&&(b[x]=O[x]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,x=Object.getOwnPropertySymbols(O);N<x.length;N++)T.indexOf(x[N])<0&&Object.prototype.propertyIsEnumerable.call(O,x[N])&&(b[x[N]]=O[x[N]]);return b},s=function(T){return y.createElement(t.a,null,function(b){var x=b.getPrefixCls,N=T.prefixCls,D=T.className,M=T.hoverable,R=M===void 0?!0:M,F=o(T,["prefixCls","className","hoverable"]),B=x("card",N),z=f()("".concat(B,"-grid"),D,L()({},"".concat(B,"-grid-hoverable"),R));return y.createElement("div",m()({},F,{className:z}))})},l=s,n=function(O,T){var b={};for(var x in O)Object.prototype.hasOwnProperty.call(O,x)&&T.indexOf(x)<0&&(b[x]=O[x]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,x=Object.getOwnPropertySymbols(O);N<x.length;N++)T.indexOf(x[N])<0&&Object.prototype.propertyIsEnumerable.call(O,x[N])&&(b[x[N]]=O[x[N]]);return b},c=function(T){return y.createElement(t.a,null,function(b){var x=b.getPrefixCls,N=T.prefixCls,D=T.className,M=T.avatar,R=T.title,F=T.description,B=n(T,["prefixCls","className","avatar","title","description"]),z=x("card",N),U=f()("".concat(z,"-meta"),D),K=M?y.createElement("div",{className:"".concat(z,"-meta-avatar")},M):null,W=R?y.createElement("div",{className:"".concat(z,"-meta-title")},R):null,H=F?y.createElement("div",{className:"".concat(z,"-meta-description")},F):null,Y=W||H?y.createElement("div",{className:"".concat(z,"-meta-detail")},W,H):null;return y.createElement("div",m()({},B,{className:U}),K,Y)})},r=c,u=e("a/1m"),i=e("TFeq"),h=e("VgM2"),p=e("WHP3"),A=function(O,T){var b={};for(var x in O)Object.prototype.hasOwnProperty.call(O,x)&&T.indexOf(x)<0&&(b[x]=O[x]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,x=Object.getOwnPropertySymbols(O);N<x.length;N++)T.indexOf(x[N])<0&&Object.prototype.propertyIsEnumerable.call(O,x[N])&&(b[x[N]]=O[x[N]]);return b};function C(O){var T=O.map(function(b,x){return y.createElement("li",{style:{width:"".concat(100/O.length,"%")},key:"action-".concat(x)},y.createElement("span",null,b))});return T}var S=function(T){var b,x,N=y.useContext(t.b),D=N.getPrefixCls,M=N.direction,R=y.useContext(p.b),F=function(Nt){T.onTabChange&&T.onTabChange(Nt)},B=function(){var Nt;return y.Children.forEach(T.children,function(xt){xt&&xt.type&&xt.type===l&&(Nt=!0)}),Nt},z=T.prefixCls,U=T.className,K=T.extra,W=T.headStyle,H=W===void 0?{}:W,Y=T.bodyStyle,Q=Y===void 0?{}:Y,P=T.title,G=T.loading,J=T.bordered,he=J===void 0?!0:J,te=T.size,pe=T.type,we=T.cover,be=T.actions,Qe=T.tabList,$e=T.children,yt=T.activeTabKey,Fe=T.defaultActiveTabKey,Pe=T.tabBarExtraContent,gt=T.hoverable,it=T.tabProps,qe=it===void 0?{}:it,At=A(T,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),dt=D("card",z),wt=Q.padding===0||Q.padding==="0px"?{padding:24}:void 0,Ye=y.createElement("div",{className:"".concat(dt,"-loading-block")}),mt=y.createElement("div",{className:"".concat(dt,"-loading-content"),style:wt},y.createElement(i.a,{gutter:8},y.createElement(h.a,{span:22},Ye)),y.createElement(i.a,{gutter:8},y.createElement(h.a,{span:8},Ye),y.createElement(h.a,{span:15},Ye)),y.createElement(i.a,{gutter:8},y.createElement(h.a,{span:6},Ye),y.createElement(h.a,{span:18},Ye)),y.createElement(i.a,{gutter:8},y.createElement(h.a,{span:13},Ye),y.createElement(h.a,{span:9},Ye)),y.createElement(i.a,{gutter:8},y.createElement(h.a,{span:4},Ye),y.createElement(h.a,{span:3},Ye),y.createElement(h.a,{span:16},Ye))),Ue=yt!==void 0,Re=m()(m()({},qe),(b={},L()(b,Ue?"activeKey":"defaultActiveKey",Ue?yt:Fe),L()(b,"tabBarExtraContent",Pe),b)),Le,at=Qe&&Qe.length?y.createElement(u.a,m()({size:"large"},Re,{className:"".concat(dt,"-head-tabs"),onChange:F}),Qe.map(function(Rt){return y.createElement(u.a.TabPane,{tab:Rt.tab,disabled:Rt.disabled,key:Rt.key})})):null;(P||K||at)&&(Le=y.createElement("div",{className:"".concat(dt,"-head"),style:H},y.createElement("div",{className:"".concat(dt,"-head-wrapper")},P&&y.createElement("div",{className:"".concat(dt,"-head-title")},P),K&&y.createElement("div",{className:"".concat(dt,"-extra")},K)),at));var Ot=we?y.createElement("div",{className:"".concat(dt,"-cover")},we):null,Tt=y.createElement("div",{className:"".concat(dt,"-body"),style:Q},G?mt:$e),Ft=be&&be.length?y.createElement("ul",{className:"".concat(dt,"-actions")},C(be)):null,ke=Object(a.default)(At,["onTabChange"]),Vt=te||R,bt=f()(dt,U,(x={},L()(x,"".concat(dt,"-loading"),G),L()(x,"".concat(dt,"-bordered"),he),L()(x,"".concat(dt,"-hoverable"),gt),L()(x,"".concat(dt,"-contain-grid"),B()),L()(x,"".concat(dt,"-contain-tabs"),Qe&&Qe.length),L()(x,"".concat(dt,"-").concat(Vt),Vt),L()(x,"".concat(dt,"-type-").concat(pe),!!pe),L()(x,"".concat(dt,"-rtl"),M==="rtl"),x));return y.createElement("div",m()({},ke,{className:bt}),Le,Ot,Tt,Ft)};S.Grid=l,S.Meta=r;var E=_.a=S},GOVO:function(Z,_,e){var d=e("JSme"),L=d.extend({type:"dataZoom.select"});Z.exports=L},GS3z:function(Z,_,e){var d=e("oEo5"),L=e("OCYe"),v=function(w,f,a,t,o){this.x=w==null?.5:w,this.y=f==null?.5:f,this.r=a==null?.5:a,this.type="radial",this.global=o||!1,L.call(this,t)};v.prototype={constructor:v},d.inherits(v,L);var m=v;Z.exports=m},"GW+3":function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5");e("ZASg"),e("3j8S");var v=e("Ukc0"),m=e("Dj6p"),y=e("D71U"),w=e("Cd9S");v("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),d.registerVisual(m("pie")),d.registerLayout(L.curry(y,"pie")),d.registerProcessor(w("pie"))},Gd1e:function(Z,_,e){var d=e("oEo5"),L=e("+Vnd"),v=e("tLnZ"),m=v.seriesModelMixin,y=L.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}});d.mixin(y,m,!0);var w=y;Z.exports=w},GdiS:function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("ofoi"),m=e.n(v),y=e("Eqs+"),w=e.n(y),f=e("ZZRV"),a=e("YL+r"),t=e("iczh"),o=e.n(t),s=e("LlUK"),l=e.n(s),n=e("LpVx"),c=e("nSZG"),r=function(x,N){var D={};for(var M in x)Object.prototype.hasOwnProperty.call(x,M)&&N.indexOf(M)<0&&(D[M]=x[M]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,M=Object.getOwnPropertySymbols(x);R<M.length;R++)N.indexOf(M[R])<0&&Object.prototype.propertyIsEnumerable.call(x,M[R])&&(D[M[R]]=x[M[R]]);return D};function u(x){return x?x.toString().split("").reverse().map(function(N){var D=Number(N);return isNaN(D)?N:D}):[]}function i(x,N){for(var D=[],M=0;M<30;M++)D.push(f.createElement("p",{key:M.toString(),className:o()(N,{current:x===M})},M%10));return D}var h=function(N){var D=N.prefixCls,M=N.count,R=N.className,F=N.style,B=N.title,z=N.component,U=z===void 0?"sup":z,K=N.displayComponent,W=N.onAnimated,H=W===void 0?function(){}:W,Y=r(N,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),Q=f.useState(!0),P=l()(Q,2),G=P[0],J=P[1],he=f.useState(M),te=l()(he,2),pe=te[0],we=te[1],be=f.useState(M),Qe=l()(be,2),$e=Qe[0],yt=Qe[1],Fe=f.useState(M),Pe=l()(Fe,2),gt=Pe[0],it=Pe[1],qe=f.useContext(n.b),At=qe.getPrefixCls,dt=At("scroll-number",D);$e!==M&&(J(!0),yt(M)),f.useEffect(function(){it(pe);var Re;return G&&(Re=setTimeout(function(){J(!1),we(M),H()})),function(){Re&&clearTimeout(Re)}},[G,M,H]);var wt=function(Le,at){var Ot=Math.abs(Number(pe)),Tt=Math.abs(Number(gt)),Ft=Math.abs(u(pe)[at]),ke=Math.abs(u(Tt)[at]);return G?10+Le:Ot>Tt?Ft>=ke?10+Le:20+Le:Ft<=ke?10+Le:Le},Ye=function(Le,at){if(typeof Le=="number"){var Ot=wt(Le,at),Tt=G||u(gt)[at]===void 0;return f.createElement("span",{className:"".concat(dt,"-only"),style:{transition:Tt?"none":void 0,msTransform:"translateY(".concat(-Ot*100,"%)"),WebkitTransform:"translateY(".concat(-Ot*100,"%)"),transform:"translateY(".concat(-Ot*100,"%)")},key:at},i(Ot,"".concat(dt,"-only-unit")))}return f.createElement("span",{key:"symbol",className:"".concat(dt,"-symbol")},Le)},mt=function(){return pe&&Number(pe)%1===0?u(pe).map(function(Le,at){return Ye(Le,at)}).reverse():pe},Ue=w()(w()({},Y),{style:F,className:o()(dt,R),title:B});return F&&F.borderColor&&(Ue.style=w()(w()({},F),{boxShadow:"0 0 0 1px ".concat(F.borderColor," inset")})),K?Object(c.a)(K,{className:o()("".concat(dt,"-custom-component"),K.props&&K.props.className)}):f.createElement(U,Ue,mt())},p=h,A=e("4Gpq");function C(x){return A.a.indexOf(x)!==-1}var S=function(N){var D,M=N.className,R=N.prefixCls,F=N.style,B=N.color,z=N.children,U=N.text,K=N.placement,W=K===void 0?"end":K,H=f.useContext(n.b),Y=H.getPrefixCls,Q=H.direction,P=Y("ribbon",R),G=C(B),J=o()(P,M,"".concat(P,"-placement-").concat(W),(D={},L()(D,"".concat(P,"-rtl"),Q==="rtl"),L()(D,"".concat(P,"-color-").concat(B),G),D)),he={},te={};return B&&!G&&(he.background=B,te.color=B),f.createElement("div",{className:"".concat(P,"-wrapper")},z,f.createElement("div",{className:J,style:w()(w()({},he),F)},U,f.createElement("div",{className:"".concat(P,"-corner"),style:te})))},E=S,O=function(x,N){var D={};for(var M in x)Object.prototype.hasOwnProperty.call(x,M)&&N.indexOf(M)<0&&(D[M]=x[M]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,M=Object.getOwnPropertySymbols(x);R<M.length;R++)N.indexOf(M[R])<0&&Object.prototype.propertyIsEnumerable.call(x,M[R])&&(D[M[R]]=x[M[R]]);return D},T=function(N){var D,M,R=N.prefixCls,F=N.scrollNumberPrefixCls,B=N.children,z=N.status,U=N.text,K=N.color,W=N.count,H=W===void 0?null:W,Y=N.overflowCount,Q=Y===void 0?99:Y,P=N.dot,G=P===void 0?!1:P,J=N.size,he=J===void 0?"default":J,te=N.title,pe=N.offset,we=N.style,be=N.className,Qe=N.showZero,$e=Qe===void 0?!1:Qe,yt=O(N,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),Fe=f.useContext(n.b),Pe=Fe.getPrefixCls,gt=Fe.direction,it=Pe("badge",R),qe=function(){var Nt=H>Q?"".concat(Q,"+"):H;return Nt},At=function(){return z!=null||K!=null},dt=function(){var Nt=qe();return Nt==="0"||Nt===0},wt=function(){return G&&!dt()||At()},Ye=function(){return wt()?"":qe()},mt=function(){return te||(typeof H=="string"||typeof H=="number"?H:void 0)},Ue=function(){return gt==="rtl"?pe?w()({left:parseInt(pe[0],10),marginTop:pe[1]},we):we:pe?w()({right:-parseInt(pe[0],10),marginTop:pe[1]},we):we},Re=function(){var Nt=Ye(),xt=Nt==null||Nt==="";return(xt||dt()&&!$e)&&!wt()},Le=function(){var Nt=Re();return Nt||!U?null:f.createElement("span",{className:"".concat(it,"-status-text")},U)},at=function(){var Nt=H;return!Nt||m()(Nt)!=="object"?void 0:Object(c.a)(Nt,{style:w()(w()({},Ue()),Nt.props&&Nt.props.style)})},Ot=function(){var Nt,xt=Pe("scroll-number",F),Ut=Ye(),Ze=wt(),ze=Re(),re=o()((Nt={},L()(Nt,"".concat(it,"-dot"),Ze),L()(Nt,"".concat(it,"-count"),!Ze),L()(Nt,"".concat(it,"-count-sm"),he==="small"),L()(Nt,"".concat(it,"-multiple-words"),!Ze&&H&&H.toString&&H.toString().length>1),L()(Nt,"".concat(it,"-status-").concat(z),!!z),L()(Nt,"".concat(it,"-status-").concat(K),C(K)),Nt)),le=Ue();return K&&!C(K)&&(le=le||{},le.background=K),ze?null:f.createElement(p,{prefixCls:xt,"data-show":!ze,className:re,count:Ut,displayComponent:at(),title:mt(),style:le,key:"scrollNumber"})},Tt=o()((D={},L()(D,"".concat(it,"-status-dot"),At()),L()(D,"".concat(it,"-status-").concat(z),!!z),L()(D,"".concat(it,"-status-").concat(K),C(K)),D)),Ft={};K&&!C(K)&&(Ft.background=K);var ke=o()(be,it,(M={},L()(M,"".concat(it,"-status"),At()),L()(M,"".concat(it,"-not-a-wrapper"),!B),L()(M,"".concat(it,"-rtl"),gt==="rtl"),M));if(!B&&At()){var Vt=Ue(),bt=Vt&&Vt.color;return f.createElement("span",w()({},yt,{className:ke,style:Vt}),f.createElement("span",{className:Tt,style:Ft}),f.createElement("span",{style:{color:bt},className:"".concat(it,"-status-text")},U))}return f.createElement("span",w()({},yt,{className:ke}),B,f.createElement(a.a,{component:"",showProp:"data-show",transitionName:B?"".concat(it,"-zoom"):"",transitionAppear:!0},Ot()),Le())};T.Ribbon=E;var b=_.a=T},Gmrd:function(Z,_,e){var d=e("oEo5"),L=e("ie0D"),v=e("E1KW"),m=e("zYK1");function y(a,t,o,s){v.call(this,a),this.map=t;var l=m.load(t,o);this._nameCoordMap=l.nameCoordMap,this._regionsMap=l.regionsMap,this._invertLongitute=s==null?!0:s,this.regions=l.regions,this._rect=l.boundingRect}y.prototype={constructor:y,type:"geo",dimensions:["lng","lat"],containCoord:function(a){for(var t=this.regions,o=0;o<t.length;o++)if(t[o].contain(a))return!0;return!1},transformTo:function(a,t,o,s){var l=this.getBoundingRect(),n=this._invertLongitute;l=l.clone(),n&&(l.y=-l.y-l.height);var c=this._rawTransformable;if(c.transform=l.calculateTransform(new L(a,t,o,s)),c.decomposeTransform(),n){var r=c.scale;r[1]=-r[1]}c.updateTransform(),this._updateTransform()},getRegion:function(a){return this._regionsMap.get(a)},getRegionByCoord:function(a){for(var t=this.regions,o=0;o<t.length;o++)if(t[o].contain(a))return t[o]},addGeoCoord:function(a,t){this._nameCoordMap.set(a,t)},getGeoCoord:function(a){return this._nameCoordMap.get(a)},getBoundingRect:function(){return this._rect},dataToPoint:function(a,t,o){if(typeof a=="string"&&(a=this.getGeoCoord(a)),a)return v.prototype.dataToPoint.call(this,a,t,o)},convertToPixel:d.curry(w,"dataToPoint"),convertFromPixel:d.curry(w,"pointToData")},d.mixin(y,v);function w(a,t,o,s){var l=o.geoModel,n=o.seriesModel,c=l?l.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return c===this?c[a](s):null}var f=y;Z.exports=f},GqFE:function(Z,_,e){"use strict";var d=e("ZZRV"),L=e.n(d),v=Object(d.createContext)({});_.a=v},GrP0:function(Z,_,e){var d=e("oEo5"),L=e("MLk5"),v=e("cARS"),m="\0_ec_dataZoom_roams";function y(n,c){var r=a(n),u=c.dataZoomId,i=c.coordId;d.each(r,function(A,C){var S=A.dataZoomInfos;S[u]&&d.indexOf(c.allCoordIds,i)<0&&(delete S[u],A.count--)}),o(r);var h=r[i];h||(h=r[i]={coordId:i,dataZoomInfos:{},count:0},h.controller=t(n,h),h.dispatchAction=d.curry(s,n)),!h.dataZoomInfos[u]&&h.count++,h.dataZoomInfos[u]=c;var p=l(h.dataZoomInfos);h.controller.enable(p.controlType,p.opt),h.controller.setPointerChecker(c.containsPoint),v.createOrUpdate(h,"dispatchAction",c.dataZoomModel.get("throttle",!0),"fixRate")}function w(n,c){var r=a(n);d.each(r,function(u){u.controller.dispose();var i=u.dataZoomInfos;i[c]&&(delete i[c],u.count--)}),o(r)}function f(n){return n.type+"\0_"+n.id}function a(n){var c=n.getZr();return c[m]||(c[m]={})}function t(n,c){var r=new L(n.getZr());return d.each(["pan","zoom","scrollMove"],function(u){r.on(u,function(i){var h=[];d.each(c.dataZoomInfos,function(p){if(!i.isAvailableBehavior(p.dataZoomModel.option))return;var A=(p.getRange||{})[u],C=A&&A(c.controller,i);!p.dataZoomModel.get("disabled",!0)&&C&&h.push({dataZoomId:p.dataZoomId,start:C[0],end:C[1]})}),h.length&&c.dispatchAction(h)})}),r}function o(n){d.each(n,function(c,r){c.count||(c.controller.dispose(),delete n[r])})}function s(n,c){n.dispatchAction({type:"dataZoom",batch:c})}function l(n){var c,r="type_",u={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return d.each(n,function(h){var p=h.dataZoomModel,A=p.get("disabled",!0)?!1:p.get("zoomLock",!0)?"move":!0;u[r+A]>u[r+c]&&(c=A),i&=p.get("preventDefaultMouseMove",!0)}),{controlType:c,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}_.register=y,_.unregister=w,_.generateCoordId=f},GrpF:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("T3qQ"),m=e.n(v)},"Gv+9":function(Z,_,e){(function(d){var L=e("trXQ"),v=e("Pf5J"),m=_&&!_.nodeType&&_,y=m&&typeof d=="object"&&d&&!d.nodeType&&d,w=y&&y.exports===m,f=w?L.Buffer:void 0,a=f?f.isBuffer:void 0,t=a||v;d.exports=t}).call(this,e("qrga")(Z))},Gvbi:function(Z,_,e){var d=e("F7ij"),L=d.circularLayout;function v(m){m.eachSeriesByType("graph",function(y){y.get("layout")==="circular"&&L(y,"symbolSize")})}Z.exports=v},GvcB:function(Z,_,e){(function(d){var L,v,v;!function(m){!(L=m,v=typeof L=="function"?L.call(_,e,_,Z):L,v!==void 0&&(Z.exports=v))}(function(){"use strict";/** @license
|
||
* jsPDF - PDF Document creation from JavaScript
|
||
* Version 1.5.3 Built on 2018-12-27T14:11:42.696Z
|
||
* CommitID d93d28db14
|
||
*
|
||
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
||
* 2010 Aaron Spike, https://github.com/acspike
|
||
* 2012 Willow Systems Corporation, willow-systems.com
|
||
* 2012 Pablo Hess, https://github.com/pablohess
|
||
* 2012 Florian Jenett, https://github.com/fjenett
|
||
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
||
* 2013 Youssef Beddad, https://github.com/lifof
|
||
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
||
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
||
* 2013 Jeremy Morel, https://github.com/jmorel
|
||
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
||
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
||
* 2014 James Makes, https://github.com/dollaruw
|
||
* 2014 Diego Casorran, https://github.com/diegocr
|
||
* 2014 Steven Spungin, https://github.com/Flamenco
|
||
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
||
*
|
||
* Licensed under the MIT License
|
||
*
|
||
* Contributor(s):
|
||
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
||
* kim3er, mfo, alnorth, Flamenco
|
||
*/function m(me){return(m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ce){return typeof ce}:function(ce){return ce&&typeof Symbol=="function"&&ce.constructor===Symbol&&ce!==Symbol.prototype?"symbol":typeof ce})(me)}!function(me){if(m(me.console)!=="object"){me.console={};for(var ce,ae,de=me.console,Se=function(){},Ce=["memory"],Ie="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(",");ce=Ce.pop();)de[ce]||(de[ce]={});for(;ae=Ie.pop();)de[ae]||(de[ae]=Se)}var Te,Ee,He,st,vt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";me.btoa===void 0&&(me.btoa=function(ee){var oe,k,$,se,ge,Ae=0,Me=0,et="",Wt=[];if(!ee)return ee;for(;oe=(ge=ee.charCodeAt(Ae++)<<16|ee.charCodeAt(Ae++)<<8|ee.charCodeAt(Ae++))>>18&63,k=ge>>12&63,$=ge>>6&63,se=63&ge,Wt[Me++]=vt.charAt(oe)+vt.charAt(k)+vt.charAt($)+vt.charAt(se),Ae<ee.length;);et=Wt.join("");var er=ee.length%3;return(er?et.slice(0,er-3):et)+"===".slice(er||3)}),me.atob===void 0&&(me.atob=function(ee){var oe,k,$,se,ge,Ae,Me=0,et=0,Wt=[];if(!ee)return ee;for(ee+="";oe=(Ae=vt.indexOf(ee.charAt(Me++))<<18|vt.indexOf(ee.charAt(Me++))<<12|(se=vt.indexOf(ee.charAt(Me++)))<<6|(ge=vt.indexOf(ee.charAt(Me++))))>>16&255,k=Ae>>8&255,$=255&Ae,Wt[et++]=se==64?String.fromCharCode(oe):ge==64?String.fromCharCode(oe,k):String.fromCharCode(oe,k,$),Me<ee.length;);return Wt.join("")}),Array.prototype.map||(Array.prototype.map=function(ee){if(this==null||typeof ee!="function")throw new TypeError;for(var oe=Object(this),k=oe.length>>>0,$=new Array(k),se=1<arguments.length?arguments[1]:void 0,ge=0;ge<k;ge++)ge in oe&&($[ge]=ee.call(se,oe[ge],ge,oe));return $}),Array.isArray||(Array.isArray=function(ee){return Object.prototype.toString.call(ee)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(ee,oe){if(this==null||typeof ee!="function")throw new TypeError;for(var k=Object(this),$=k.length>>>0,se=0;se<$;se++)se in k&&ee.call(oe,k[se],se,k)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(oe){if(this==null)throw new TypeError('"this" is null or not defined');var k=Object(this),$=k.length>>>0;if(typeof oe!="function")throw new TypeError("predicate must be a function");for(var se=arguments[1],ge=0;ge<$;){var Ae=k[ge];if(oe.call(se,Ae,ge,k))return Ae;ge++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(Te=Object.prototype.hasOwnProperty,Ee=!{toString:null}.propertyIsEnumerable("toString"),st=(He=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(ee){if(m(ee)!=="object"&&(typeof ee!="function"||ee===null))throw new TypeError;var oe,k,$=[];for(oe in ee)Te.call(ee,oe)&&$.push(oe);if(Ee)for(k=0;k<st;k++)Te.call(ee,He[k])&&$.push(He[k]);return $})),typeof Object.assign!="function"&&(Object.assign=function(ee){if(ee==null)throw new TypeError("Cannot convert undefined or null to object");ee=Object(ee);for(var oe=1;oe<arguments.length;oe++){var k=arguments[oe];if(k!=null)for(var $ in k)Object.prototype.hasOwnProperty.call(k,$)&&(ee[$]=k[$])}return ee}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")}),Number.isInteger=Number.isInteger||function(ee){return typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")());var y,w,f,a,t,o,s,l,n,c,r,u,i,h,p,A,C,S,E,O,T,b,x,N,D,M,R,F,B,z,U,K,W,H,Y,Q,P,G,J,he,te,pe,we,be,Qe,$e,yt,Fe,Pe,gt,it,qe,At,dt,wt,Ye,mt,Ue,Re,Le,at,Ot,Tt=function(me){function ce(de){if(m(de)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Se={};this.subscribe=function(Ce,Ie,Te){if(Te=Te||!1,typeof Ce!="string"||typeof Ie!="function"||typeof Te!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Se.hasOwnProperty(Ce)||(Se[Ce]={});var Ee=Math.random().toString(35);return Se[Ce][Ee]=[Ie,!!Te],Ee},this.unsubscribe=function(Ce){for(var Ie in Se)if(Se[Ie][Ce])return delete Se[Ie][Ce],Object.keys(Se[Ie]).length===0&&delete Se[Ie],!0;return!1},this.publish=function(Ce){if(Se.hasOwnProperty(Ce)){var Ie=Array.prototype.slice.call(arguments,1),Te=[];for(var Ee in Se[Ce]){var He=Se[Ce][Ee];try{He[0].apply(de,Ie)}catch(st){me.console&&console.error("jsPDF PubSub Error",st.message,st)}He[1]&&Te.push(Ee)}Te.length&&Te.forEach(this.unsubscribe)}},this.getTopics=function(){return Se}}function ae(de,Se,Ce,Ie){var Te={},Ee=[],He=1;m(de)==="object"&&(de=(Te=de).orientation,Se=Te.unit||Se,Ce=Te.format||Ce,Ie=Te.compress||Te.compressPdf||Ie,Ee=Te.filters||(Ie===!0?["FlateEncode"]:Ee),He=typeof Te.userUnit=="number"?Math.abs(Te.userUnit):1),Se=Se||"mm",de=(""+(de||"P")).toLowerCase();var st=Te.putOnlyUsedFonts||!0,vt={},ee={internal:{},__private__:{}};ee.__private__.PubSub=ce;var oe="1.3",k=ee.__private__.getPdfVersion=function(){return oe},$=(ee.__private__.setPdfVersion=function(lt){oe=lt},{a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]}),se=(ee.__private__.getPageFormats=function(){return $},ee.__private__.getPageFormat=function(lt){return $[lt]});typeof Ce=="string"&&(Ce=se(Ce)),Ce=Ce||se("a4");var ge,Ae=ee.f2=ee.__private__.f2=function(lt){if(isNaN(lt))throw new Error("Invalid argument passed to jsPDF.f2");return lt.toFixed(2)},Me=ee.__private__.f3=function(lt){if(isNaN(lt))throw new Error("Invalid argument passed to jsPDF.f3");return lt.toFixed(3)},et="00000000000000000000000000000000",Wt=ee.__private__.getFileId=function(){return et},er=ee.__private__.setFileId=function(lt){return lt=lt||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),et=lt};ee.setFileId=function(lt){return er(lt),this},ee.getFileId=function(){return Wt()};var Ct=ee.__private__.convertDateToPDFDate=function(lt){var Qt=lt.getTimezoneOffset(),lr=Qt<0?"+":"-",mr=Math.floor(Math.abs(Qt/60)),Er=Math.abs(Qt%60),Br=[lr,ut(mr),"'",ut(Er),"'"].join("");return["D:",lt.getFullYear(),ut(lt.getMonth()+1),ut(lt.getDate()),ut(lt.getHours()),ut(lt.getMinutes()),ut(lt.getSeconds()),Br].join("")},Ht=ee.__private__.convertPDFDateToDate=function(lt){var Qt=parseInt(lt.substr(2,4),10),lr=parseInt(lt.substr(6,2),10)-1,mr=parseInt(lt.substr(8,2),10),Er=parseInt(lt.substr(10,2),10),Br=parseInt(lt.substr(12,2),10),rn=parseInt(lt.substr(14,2),10);return parseInt(lt.substr(16,2),10),parseInt(lt.substr(20,2),10),new Date(Qt,lr,mr,Er,Br,rn,0)},kt=ee.__private__.setCreationDate=function(lt){var Qt;if(lt===void 0&&(lt=new Date),m(lt)==="object"&&Object.prototype.toString.call(lt)==="[object Date]")Qt=Ct(lt);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|\-0[0-9]|\-1[0-1])\'(0[0-9]|[1-5][0-9])\'?$/.test(lt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Qt=lt}return ge=Qt},Zt=ee.__private__.getCreationDate=function(lt){var Qt=ge;return lt==="jsDate"&&(Qt=Ht(ge)),Qt};ee.setCreationDate=function(lt){return kt(lt),this},ee.getCreationDate=function(lt){return Zt(lt)};var Et,ur,rr,Ke,nt,Ge,ct,ht,ut=ee.__private__.padd2=function(lt){return("0"+parseInt(lt)).slice(-2)},We=!1,tt=[],ft=[],Yt=0,Dt=(ee.__private__.setCustomOutputDestination=function(lt){ur=lt},ee.__private__.resetCustomOutputDestination=function(lt){ur=void 0},ee.__private__.out=function(lt){var Qt;return lt=typeof lt=="string"?lt:lt.toString(),(Qt=ur===void 0?We?tt[Et]:ft:ur).push(lt),We||(Yt+=lt.length+1),Qt}),vr=ee.__private__.write=function(lt){return Dt(arguments.length===1?lt.toString():Array.prototype.join.call(arguments," "))},yr=ee.__private__.getArrayBuffer=function(lt){for(var Qt=lt.length,lr=new ArrayBuffer(Qt),mr=new Uint8Array(lr);Qt--;)mr[Qt]=lt.charCodeAt(Qt);return lr},Dr=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]],Rr=(ee.__private__.getStandardFonts=function(lt){return Dr},Te.fontSize||16),Jr=(ee.__private__.setFontSize=ee.setFontSize=function(lt){return Rr=lt,this},ee.__private__.getFontSize=ee.getFontSize=function(){return Rr}),$r=Te.R2L||!1,xr=(ee.__private__.setR2L=ee.setR2L=function(lt){return $r=lt,this},ee.__private__.getR2L=ee.getR2L=function(lt){return $r},ee.__private__.setZoomMode=function(lt){var Qt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(lt))rr=lt;else if(isNaN(lt)){if(Qt.indexOf(lt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+lt+'" is not recognized.');rr=lt}else rr=parseInt(lt,10)}),Vr=(ee.__private__.getZoomMode=function(){return rr},ee.__private__.setPageMode=function(lt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(lt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+lt+'" is not recognized.');Ke=lt}),Or=(ee.__private__.getPageMode=function(){return Ke},ee.__private__.setLayoutMode=function(lt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(lt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+lt+'" is not recognized.');nt=lt}),nr=(ee.__private__.getLayoutMode=function(){return nt},ee.__private__.setDisplayMode=ee.setDisplayMode=function(lt,Qt,lr){return xr(lt),Or(Qt),Vr(lr),this},{title:"",subject:"",author:"",keywords:"",creator:""}),pr=(ee.__private__.getDocumentProperty=function(lt){if(Object.keys(nr).indexOf(lt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return nr[lt]},ee.__private__.getDocumentProperties=function(lt){return nr},ee.__private__.setDocumentProperties=ee.setProperties=ee.setDocumentProperties=function(lt){for(var Qt in nr)nr.hasOwnProperty(Qt)&<[Qt]&&(nr[Qt]=lt[Qt]);return this},ee.__private__.setDocumentProperty=function(lt,Qt){if(Object.keys(nr).indexOf(lt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return nr[lt]=Qt},0),dr=[],fr={},_r={},Zr=0,on=[],jn=[],Ur=new ce(ee),En=Te.hotfixes||[],pn=ee.__private__.newObject=function(){var lt=On();return Vn(lt,!0),lt},On=ee.__private__.newObjectDeferred=function(){return dr[++pr]=function(){return Yt},pr},Vn=function(Qt,lr){return lr=typeof lr=="boolean"&&lr,dr[Qt]=Yt,lr&&Dt(Qt+" 0 obj"),Qt},Nn=ee.__private__.newAdditionalObject=function(){var lt={objId:On(),content:""};return jn.push(lt),lt},ui=On(),Xn=On(),mn=ee.__private__.decodeColorString=function(lt){var Qt=lt.split(" ");if(Qt.length===2&&(Qt[1]==="g"||Qt[1]==="G")){var lr=parseFloat(Qt[0]);Qt=[lr,lr,lr,"r"]}for(var mr="#",Er=0;Er<3;Er++)mr+=("0"+Math.floor(255*parseFloat(Qt[Er])).toString(16)).slice(-2);return mr},cn=ee.__private__.encodeColorString=function(lt){var Qt;typeof lt=="string"&&(lt={ch1:lt});var lr=lt.ch1,mr=lt.ch2,Er=lt.ch3,Br=lt.ch4,rn=(lt.precision,lt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof lr=="string"&&lr.charAt(0)!=="#"){var dn=new RGBColor(lr);if(dn.ok)lr=dn.toHex();else if(!/^\d*\.?\d*$/.test(lr))throw new Error('Invalid color "'+lr+'" passed to jsPDF.encodeColorString.')}if(typeof lr=="string"&&/^#[0-9A-Fa-f]{3}$/.test(lr)&&(lr="#"+lr[1]+lr[1]+lr[2]+lr[2]+lr[3]+lr[3]),typeof lr=="string"&&/^#[0-9A-Fa-f]{6}$/.test(lr)){var yn=parseInt(lr.substr(1),16);lr=yn>>16&255,mr=yn>>8&255,Er=255&yn}if(mr===void 0||Br===void 0&&lr===mr&&mr===Er)if(typeof lr=="string")Qt=lr+" "+rn[0];else switch(lt.precision){case 2:Qt=Ae(lr/255)+" "+rn[0];break;case 3:default:Qt=Me(lr/255)+" "+rn[0]}else if(Br===void 0||m(Br)==="object"){if(Br&&!isNaN(Br.a)&&Br.a===0)return Qt=["1.000","1.000","1.000",rn[1]].join(" ");if(typeof lr=="string")Qt=[lr,mr,Er,rn[1]].join(" ");else switch(lt.precision){case 2:Qt=[Ae(lr/255),Ae(mr/255),Ae(Er/255),rn[1]].join(" ");break;default:case 3:Qt=[Me(lr/255),Me(mr/255),Me(Er/255),rn[1]].join(" ")}}else if(typeof lr=="string")Qt=[lr,mr,Er,Br,rn[2]].join(" ");else switch(lt.precision){case 2:Qt=[Ae(lr/255),Ae(mr/255),Ae(Er/255),Ae(Br/255),rn[2]].join(" ");break;case 3:default:Qt=[Me(lr/255),Me(mr/255),Me(Er/255),Me(Br/255),rn[2]].join(" ")}return Qt},da=ee.__private__.getFilters=function(){return Ee},Ta=ee.__private__.putStream=function(lt){var Qt=(lt=lt||{}).data||"",lr=lt.filters||da(),mr=lt.alreadyAppliedFilters||[],Er=lt.addLength1||!1,Br=Qt.length,rn={};lr===!0&&(lr=["FlateEncode"]);var dn=lt.additionalKeyValues||[],yn=(rn=ae.API.processDataByFilters!==void 0?ae.API.processDataByFilters(Qt,lr):{data:Qt,reverseChain:[]}).reverseChain+(Array.isArray(mr)?mr.join(" "):mr.toString());rn.data.length!==0&&(dn.push({key:"Length",value:rn.data.length}),Er===!0&&dn.push({key:"Length1",value:Br})),yn.length!=0&&(yn.split("/").length-1==1?dn.push({key:"Filter",value:yn}):dn.push({key:"Filter",value:"["+yn+"]"})),Dt("<<");for(var Dn=0;Dn<dn.length;Dn++)Dt("/"+dn[Dn].key+" "+dn[Dn].value);Dt(">>"),rn.data.length!==0&&(Dt("stream"),Dt(rn.data),Dt("endstream"))},ia=ee.__private__.putPage=function(lt){lt.mediaBox;var Qt=lt.number,lr=lt.data,mr=lt.objId,Er=lt.contentsObjId;Vn(mr,!0),on[Et].mediaBox.topRightX,on[Et].mediaBox.bottomLeftX,on[Et].mediaBox.topRightY,on[Et].mediaBox.bottomLeftY,Dt("<</Type /Page"),Dt("/Parent "+lt.rootDictionaryObjId+" 0 R"),Dt("/Resources "+lt.resourceDictionaryObjId+" 0 R"),Dt("/MediaBox ["+parseFloat(Ae(lt.mediaBox.bottomLeftX))+" "+parseFloat(Ae(lt.mediaBox.bottomLeftY))+" "+Ae(lt.mediaBox.topRightX)+" "+Ae(lt.mediaBox.topRightY)+"]"),lt.cropBox!==null&&Dt("/CropBox ["+Ae(lt.cropBox.bottomLeftX)+" "+Ae(lt.cropBox.bottomLeftY)+" "+Ae(lt.cropBox.topRightX)+" "+Ae(lt.cropBox.topRightY)+"]"),lt.bleedBox!==null&&Dt("/BleedBox ["+Ae(lt.bleedBox.bottomLeftX)+" "+Ae(lt.bleedBox.bottomLeftY)+" "+Ae(lt.bleedBox.topRightX)+" "+Ae(lt.bleedBox.topRightY)+"]"),lt.trimBox!==null&&Dt("/TrimBox ["+Ae(lt.trimBox.bottomLeftX)+" "+Ae(lt.trimBox.bottomLeftY)+" "+Ae(lt.trimBox.topRightX)+" "+Ae(lt.trimBox.topRightY)+"]"),lt.artBox!==null&&Dt("/ArtBox ["+Ae(lt.artBox.bottomLeftX)+" "+Ae(lt.artBox.bottomLeftY)+" "+Ae(lt.artBox.topRightX)+" "+Ae(lt.artBox.topRightY)+"]"),typeof lt.userUnit=="number"&<.userUnit!==1&&Dt("/UserUnit "+lt.userUnit),Ur.publish("putPage",{objId:mr,pageContext:on[Qt],pageNumber:Qt,page:lr}),Dt("/Contents "+Er+" 0 R"),Dt(">>"),Dt("endobj");var Br=lr.join(`
|
||
`);return Vn(Er,!0),Ta({data:Br,filters:da()}),Dt("endobj"),mr},fi=ee.__private__.putPages=function(){var lt,Qt,lr=[];for(lt=1;lt<=Zr;lt++)on[lt].objId=On(),on[lt].contentsObjId=On();for(lt=1;lt<=Zr;lt++)lr.push(ia({number:lt,data:tt[lt],objId:on[lt].objId,contentsObjId:on[lt].contentsObjId,mediaBox:on[lt].mediaBox,cropBox:on[lt].cropBox,bleedBox:on[lt].bleedBox,trimBox:on[lt].trimBox,artBox:on[lt].artBox,userUnit:on[lt].userUnit,rootDictionaryObjId:ui,resourceDictionaryObjId:Xn}));Vn(ui,!0),Dt("<</Type /Pages");var mr="/Kids [";for(Qt=0;Qt<Zr;Qt++)mr+=lr[Qt]+" 0 R ";Dt(mr+"]"),Dt("/Count "+Zr),Dt(">>"),Dt("endobj"),Ur.publish("postPutPages")},ki=function(){!function(){for(var Qt in fr)fr.hasOwnProperty(Qt)&&(st===!1||st===!0&&vt.hasOwnProperty(Qt))&&(lr=fr[Qt],Ur.publish("putFont",{font:lr,out:Dt,newObject:pn,putStream:Ta}),lr.isAlreadyPutted!==!0&&(lr.objectNumber=pn(),Dt("<<"),Dt("/Type /Font"),Dt("/BaseFont /"+lr.postScriptName),Dt("/Subtype /Type1"),typeof lr.encoding=="string"&&Dt("/Encoding /"+lr.encoding),Dt("/FirstChar 32"),Dt("/LastChar 255"),Dt(">>"),Dt("endobj")));var lr}(),Ur.publish("putResources"),Vn(Xn,!0),Dt("<<"),function(){for(var Qt in Dt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Dt("/Font <<"),fr)fr.hasOwnProperty(Qt)&&(st===!1||st===!0&&vt.hasOwnProperty(Qt))&&Dt("/"+Qt+" "+fr[Qt].objectNumber+" 0 R");Dt(">>"),Dt("/XObject <<"),Ur.publish("putXobjectDict"),Dt(">>")}(),Dt(">>"),Dt("endobj"),Ur.publish("postPutResources")},Qn=function(Qt,lr,mr){_r.hasOwnProperty(lr)||(_r[lr]={}),_r[lr][mr]=Qt},ea=function(Qt,lr,mr,Er,Br){Br=Br||!1;var rn="F"+(Object.keys(fr).length+1).toString(10),dn={id:rn,postScriptName:Qt,fontName:lr,fontStyle:mr,encoding:Er,isStandardFont:Br,metadata:{}};return Ur.publish("addFont",{font:dn,instance:this}),rn!==void 0&&(fr[rn]=dn,Qn(rn,lr,mr)),rn},An=ee.__private__.pdfEscape=ee.pdfEscape=function(lt,Qt){return function(lr,mr){var Er,Br,rn,dn,yn,Dn,gn,Sn,_n;if(rn=(mr=mr||{}).sourceEncoding||"Unicode",yn=mr.outputEncoding,(mr.autoencode||yn)&&fr[Ge].metadata&&fr[Ge].metadata[rn]&&fr[Ge].metadata[rn].encoding&&(dn=fr[Ge].metadata[rn].encoding,!yn&&fr[Ge].encoding&&(yn=fr[Ge].encoding),!yn&&dn.codePages&&(yn=dn.codePages[0]),typeof yn=="string"&&(yn=dn[yn]),yn)){for(gn=!1,Dn=[],Er=0,Br=lr.length;Er<Br;Er++)(Sn=yn[lr.charCodeAt(Er)])?Dn.push(String.fromCharCode(Sn)):Dn.push(lr[Er]),Dn[Er].charCodeAt(0)>>8&&(gn=!0);lr=Dn.join("")}for(Er=lr.length;gn===void 0&&Er!==0;)lr.charCodeAt(Er-1)>>8&&(gn=!0),Er--;if(!gn)return lr;for(Dn=mr.noBOM?[]:[254,255],Er=0,Br=lr.length;Er<Br;Er++){if((_n=(Sn=lr.charCodeAt(Er))>>8)>>8)throw new Error("Character at position "+Er+" of string '"+lr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Dn.push(_n),Dn.push(Sn-(_n<<8))}return String.fromCharCode.apply(void 0,Dn)}(lt,Qt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},wn=ee.__private__.beginPage=function(lt,Qt){var lr,mr=typeof Qt=="string"&&Qt.toLowerCase();if(typeof lt=="string"&&(lr=se(lt.toLowerCase()))&&(lt=lr[0],Qt=lr[1]),Array.isArray(lt)&&(Qt=lt[1],lt=lt[0]),(isNaN(lt)||isNaN(Qt))&&(lt=Ce[0],Qt=Ce[1]),mr){switch(mr.substr(0,1)){case"l":lt<Qt&&(mr="s");break;case"p":Qt<lt&&(mr="s")}mr==="s"&&(lr=lt,lt=Qt,Qt=lr)}(14400<lt||14400<Qt)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),lt=Math.min(14400,lt),Qt=Math.min(14400,Qt)),Ce=[lt,Qt],We=!0,tt[++Zr]=[],on[Zr]={objId:0,contentsObjId:0,userUnit:Number(He),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(lt),topRightY:Number(Qt)}},Un(Zr)},Ln=function(){wn.apply(this,arguments),To(So),Dt(Lt),Hr!==0&&Dt(Hr+" J"),Yr!==0&&Dt(Yr+" j"),Ur.publish("addPage",{pageNumber:Zr})},Un=function(Qt){0<Qt&&Qt<=Zr&&(Et=Qt)},kn=ee.__private__.getNumberOfPages=ee.getNumberOfPages=function(){return tt.length-1},ti=function(Qt,lr,mr){var Er,Br=void 0;return mr=mr||{},Qt=Qt!==void 0?Qt:fr[Ge].fontName,lr=lr!==void 0?lr:fr[Ge].fontStyle,Er=Qt.toLowerCase(),_r[Er]!==void 0&&_r[Er][lr]!==void 0?Br=_r[Er][lr]:_r[Qt]!==void 0&&_r[Qt][lr]!==void 0?Br=_r[Qt][lr]:mr.disableWarning===!1&&console.warn("Unable to look up font label for font '"+Qt+"', '"+lr+"'. Refer to getFontList() for available fonts."),Br||mr.noFallback||(Br=_r.times[lr])==null&&(Br=_r.times.normal),Br},di=ee.__private__.putInfo=function(){for(var lt in pn(),Dt("<<"),Dt("/Producer (jsPDF "+ae.version+")"),nr)nr.hasOwnProperty(lt)&&nr[lt]&&Dt("/"+lt.substr(0,1).toUpperCase()+lt.substr(1)+" ("+An(nr[lt])+")");Dt("/CreationDate ("+ge+")"),Dt(">>"),Dt("endobj")},Na=ee.__private__.putCatalog=function(lt){var Qt=(lt=lt||{}).rootDictionaryObjId||ui;switch(pn(),Dt("<<"),Dt("/Type /Catalog"),Dt("/Pages "+Qt+" 0 R"),rr||(rr="fullwidth"),rr){case"fullwidth":Dt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Dt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Dt("/OpenAction [3 0 R /Fit]");break;case"original":Dt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var lr=""+rr;lr.substr(lr.length-1)==="%"&&(rr=parseInt(rr)/100),typeof rr=="number"&&Dt("/OpenAction [3 0 R /XYZ null null "+Ae(rr)+"]")}switch(nt||(nt="continuous"),nt){case"continuous":Dt("/PageLayout /OneColumn");break;case"single":Dt("/PageLayout /SinglePage");break;case"two":case"twoleft":Dt("/PageLayout /TwoColumnLeft");break;case"tworight":Dt("/PageLayout /TwoColumnRight")}Ke&&Dt("/PageMode /"+Ke),Ur.publish("putCatalog"),Dt(">>"),Dt("endobj")},Gi=ee.__private__.putTrailer=function(){Dt("trailer"),Dt("<<"),Dt("/Size "+(pr+1)),Dt("/Root "+pr+" 0 R"),Dt("/Info "+(pr-1)+" 0 R"),Dt("/ID [ <"+et+"> <"+et+"> ]"),Dt(">>")},ba=ee.__private__.putHeader=function(){Dt("%PDF-"+oe),Dt("%\xBA\xDF\xAC\xE0")},Pa=ee.__private__.putXRef=function(){var lt=1,Qt="0000000000";for(Dt("xref"),Dt("0 "+(pr+1)),Dt("0000000000 65535 f "),lt=1;lt<=pr;lt++)typeof dr[lt]=="function"?Dt((Qt+dr[lt]()).slice(-10)+" 00000 n "):dr[lt]!==void 0?Dt((Qt+dr[lt]).slice(-10)+" 00000 n "):Dt("0000000000 00000 n ")},Ga=ee.__private__.buildDocument=function(){We=!1,Yt=pr=0,ft=[],dr=[],jn=[],ui=On(),Xn=On(),Ur.publish("buildDocument"),ba(),fi(),function(){Ur.publish("putAdditionalObjects");for(var Qt=0;Qt<jn.length;Qt++){var lr=jn[Qt];Vn(lr.objId,!0),Dt(lr.content),Dt("endobj")}Ur.publish("postPutAdditionalObjects")}(),ki(),di(),Na();var lt=Yt;return Pa(),Gi(),Dt("startxref"),Dt(""+lt),Dt("%%EOF"),We=!0,ft.join(`
|
||
`)},Qi=ee.__private__.getBlob=function(lt){return new Blob([yr(lt)],{type:"application/pdf"})},Lo=ee.output=ee.__private__.output=((ht=function(Qt,lr){lr=lr||{};var mr=Ga();switch(typeof lr=="string"?lr={filename:lr}:lr.filename=lr.filename||"generated.pdf",Qt){case void 0:return mr;case"save":ee.save(lr.filename);break;case"arraybuffer":return yr(mr);case"blob":return Qi(mr);case"bloburi":case"bloburl":if(me.URL!==void 0&&typeof me.URL.createObjectURL=="function")return me.URL&&me.URL.createObjectURL(Qi(mr))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+lr.filename+";base64,"+btoa(mr);case"dataurlnewwindow":var Er='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring")+'"></iframe></body></html>',Br=me.open();if(Br!==null&&Br.document.write(Er),Br||typeof safari=="undefined")return Br;case"datauri":case"dataurl":return me.document.location.href="data:application/pdf;filename="+lr.filename+";base64,"+btoa(mr);default:return null}}).foo=function(){try{return ht.apply(this,arguments)}catch(lr){var lt=lr.stack||"";~lt.indexOf(" at ")&&(lt=lt.split(" at ")[1]);var Qt="Error in function "+lt.split(`
|
||
`)[0].split("<")[0]+": "+lr.message;if(!me.console)throw new Error(Qt);me.console.error(Qt,lr),me.alert&&alert(Qt)}},(ht.foo.bar=ht).foo),sa=function(Qt){return Array.isArray(En)===!0&&-1<En.indexOf(Qt)};switch(Se){case"pt":ct=1;break;case"mm":ct=72/25.4;break;case"cm":ct=72/2.54;break;case"in":ct=72;break;case"px":ct=sa("px_scaling")==1?.75:96/72;break;case"pc":case"em":ct=12;break;case"ex":ct=6;break;default:throw new Error("Invalid unit: "+Se)}kt(),er();var ji=ee.__private__.getPageInfo=function(lt){if(isNaN(lt)||lt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:on[lt].objId,pageNumber:lt,pageContext:on[lt]}},wa=ee.__private__.getPageInfoByObjId=function(lt){for(var Qt in on)if(on[Qt].objId===lt)break;if(isNaN(lt)||lt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return ji(Qt)},ga=ee.__private__.getCurrentPageInfo=function(){return{objId:on[Et].objId,pageNumber:Et,pageContext:on[Et]}};ee.addPage=function(){return Ln.apply(this,arguments),this},ee.setPage=function(){return Un.apply(this,arguments),this},ee.insertPage=function(lt){return this.addPage(),this.movePage(Et,lt),this},ee.movePage=function(lt,Qt){if(Qt<lt){for(var lr=tt[lt],mr=on[lt],Er=lt;Qt<Er;Er--)tt[Er]=tt[Er-1],on[Er]=on[Er-1];tt[Qt]=lr,on[Qt]=mr,this.setPage(Qt)}else if(lt<Qt){for(lr=tt[lt],mr=on[lt],Er=lt;Er<Qt;Er++)tt[Er]=tt[Er+1],on[Er]=on[Er+1];tt[Qt]=lr,on[Qt]=mr,this.setPage(Qt)}return this},ee.deletePage=function(){return function(lt){0<lt&<<=Zr&&(tt.splice(lt,1),--Zr<Et&&(Et=Zr),this.setPage(Et))}.apply(this,arguments),this},ee.__private__.text=ee.text=function(lt,Qt,lr,mr){var Er;typeof lt!="number"||typeof Qt!="number"||typeof lr!="string"&&!Array.isArray(lr)||(Er=lr,lr=Qt,Qt=lt,lt=Er);var Br=arguments[3],rn=arguments[4],dn=arguments[5];if(m(Br)==="object"&&Br!==null||(typeof rn=="string"&&(dn=rn,rn=null),typeof Br=="string"&&(dn=Br,Br=null),typeof Br=="number"&&(rn=Br,Br=null),mr={flags:Br,angle:rn,align:dn}),(Br=Br||{}).noBOM=Br.noBOM||!0,Br.autoencode=Br.autoencode||!0,isNaN(Qt)||isNaN(lr)||lt==null)throw new Error("Invalid arguments passed to jsPDF.text");if(lt.length===0)return Sn;var yn,Dn="",gn=typeof mr.lineHeightFactor=="number"?mr.lineHeightFactor:ta,Sn=mr.scope||this;function _n(ca){for(var ha,Ua=ca.concat(),Ti=[],to=Ua.length;to--;)typeof(ha=Ua.shift())=="string"?Ti.push(ha):Array.isArray(ca)&&ha.length===1?Ti.push(ha[0]):Ti.push([ha[0],ha[1],ha[2]]);return Ti}function Cn(ca,ha){var Ua;if(typeof ca=="string")Ua=ha(ca)[0];else if(Array.isArray(ca)){for(var Ti,to,ka=ca.concat(),ua=[],Ya=ka.length;Ya--;)typeof(Ti=ka.shift())=="string"?ua.push(ha(Ti)[0]):Array.isArray(Ti)&&Ti[0]==="string"&&(to=ha(Ti[0],Ti[1],Ti[2]),ua.push([to[0],to[1],to[2]]));Ua=ua}return Ua}var In=!1,fn=!0;if(typeof lt=="string")In=!0;else if(Array.isArray(lt)){for(var Tn,Yn=lt.concat(),Gn=[],Hn=Yn.length;Hn--;)(typeof(Tn=Yn.shift())!="string"||Array.isArray(Tn)&&typeof Tn[0]!="string")&&(fn=!1);In=fn}if(In===!1)throw new Error('Type of text must be string or Array. "'+lt+'" is not recognized.');var zi=fr[Ge].encoding;zi!=="WinAnsiEncoding"&&zi!=="StandardEncoding"||(lt=Cn(lt,function(ca,ha,Ua){return[(Ti=ca,Ti=Ti.split(" ").join(Array(mr.TabLen||9).join(" ")),An(Ti,Br)),ha,Ua];var Ti})),typeof lt=="string"&&(lt=lt.match(/[\r?\n]/)?lt.split(/\r\n|\r|\n/g):[lt]);var Oi=Rr/Sn.internal.scaleFactor,Di=Oi*(ta-1);switch(mr.baseline){case"bottom":lr-=Di;break;case"top":lr+=Oi-Di;break;case"hanging":lr+=Oi-2*Di;break;case"middle":lr+=Oi/2-Di}0<(Aa=mr.maxWidth||0)&&(typeof lt=="string"?lt=Sn.splitTextToSize(lt,Aa):Object.prototype.toString.call(lt)==="[object Array]"&&(lt=Sn.splitTextToSize(lt.join(" "),Aa)));var wi={text:lt,x:Qt,y:lr,options:mr,mutex:{pdfEscape:An,activeFontKey:Ge,fonts:fr,activeFontSize:Rr}};Ur.publish("preProcessText",wi),lt=wi.text,rn=(mr=wi.options).angle;var Pn=Sn.internal.scaleFactor,Ei=[];if(rn){rn*=Math.PI/180;var va=Math.cos(rn),Sa=Math.sin(rn);Ei=[Ae(va),Ae(Sa),Ae(-1*Sa),Ae(va)]}(Oa=mr.charSpace)!==void 0&&(Dn+=Me(Oa*Pn)+` Tc
|
||
`),mr.lang;var gi=-1,pi=mr.renderingMode!==void 0?mr.renderingMode:mr.stroke,Ii=Sn.internal.getCurrentPageInfo().pageContext;switch(pi){case 0:case!1:case"fill":gi=0;break;case 1:case!0:case"stroke":gi=1;break;case 2:case"fillThenStroke":gi=2;break;case 3:case"invisible":gi=3;break;case 4:case"fillAndAddForClipping":gi=4;break;case 5:case"strokeAndAddPathForClipping":gi=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":gi=6;break;case 7:case"addToPathForClipping":gi=7}var Ci=Ii.usedRenderingMode!==void 0?Ii.usedRenderingMode:-1;gi!==-1?Dn+=gi+` Tr
|
||
`:Ci!==-1&&(Dn+=`0 Tr
|
||
`),gi!==-1&&(Ii.usedRenderingMode=gi),dn=mr.align||"left";var Si=Rr*gn,la=Sn.internal.pageSize.getWidth(),Da=(Pn=Sn.internal.scaleFactor,fr[Ge]),Oa=mr.charSpace||gr,Aa=mr.maxWidth||0,ya=(Br={},[]);if(Object.prototype.toString.call(lt)==="[object Array]"){var aa,mi;Gn=_n(lt),dn!=="left"&&(mi=Gn.map(function(ca){return Sn.getStringUnitWidth(ca,{font:Da,charSpace:Oa,fontSize:Rr})*Rr/Pn}));var $n,Li=Math.max.apply(Math,mi),_i=0;if(dn==="right"){Qt-=mi[0],lt=[];var oi=0;for(Hn=Gn.length;oi<Hn;oi++)Li-mi[oi],aa=oi===0?($n=$t(Qt),Tr(lr)):($n=(_i-mi[oi])*Pn,-Si),lt.push([Gn[oi],$n,aa]),_i=mi[oi]}else if(dn==="center")for(Qt-=mi[0]/2,lt=[],oi=0,Hn=Gn.length;oi<Hn;oi++)(Li-mi[oi])/2,aa=oi===0?($n=$t(Qt),Tr(lr)):($n=(_i-mi[oi])/2*Pn,-Si),lt.push([Gn[oi],$n,aa]),_i=mi[oi];else if(dn==="left")for(lt=[],oi=0,Hn=Gn.length;oi<Hn;oi++)aa=oi===0?Tr(lr):-Si,$n=oi===0?$t(Qt):0,lt.push(Gn[oi]);else{if(dn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(lt=[],Aa=Aa!==0?Aa:la,oi=0,Hn=Gn.length;oi<Hn;oi++)aa=oi===0?Tr(lr):-Si,$n=oi===0?$t(Qt):0,oi<Hn-1&&ya.push(((Aa-mi[oi])/(Gn[oi].split(" ").length-1)*Pn).toFixed(2)),lt.push([Gn[oi],$n,aa])}}(typeof mr.R2L=="boolean"?mr.R2L:$r)===!0&&(lt=Cn(lt,function(ca,ha,Ua){return[ca.split("").reverse().join(""),ha,Ua]})),wi={text:lt,x:Qt,y:lr,options:mr,mutex:{pdfEscape:An,activeFontKey:Ge,fonts:fr,activeFontSize:Rr}},Ur.publish("postProcessText",wi),lt=wi.text,yn=wi.mutex.isHex,Gn=_n(lt),lt=[];var Fi,Yi,Xi,Zi=0,Fa=(Hn=Gn.length,"");for(oi=0;oi<Hn;oi++)Fa="",Array.isArray(Gn[oi])?(Fi=parseFloat(Gn[oi][1]),Yi=parseFloat(Gn[oi][2]),Xi=(yn?"<":"(")+Gn[oi][0]+(yn?">":")"),Zi=1):(Fi=$t(Qt),Yi=Tr(lr),Xi=(yn?"<":"(")+Gn[oi]+(yn?">":")")),ya!==void 0&&ya[oi]!==void 0&&(Fa=ya[oi]+` Tw
|
||
`),Ei.length!==0&&oi===0?lt.push(Fa+Ei.join(" ")+" "+Fi.toFixed(2)+" "+Yi.toFixed(2)+` Tm
|
||
`+Xi):Zi===1||Zi===0&&oi===0?lt.push(Fa+Fi.toFixed(2)+" "+Yi.toFixed(2)+` Td
|
||
`+Xi):lt.push(Fa+Xi);lt=Zi===0?lt.join(` Tj
|
||
T* `):lt.join(` Tj
|
||
`),lt+=` Tj
|
||
`;var Mi=`BT
|
||
/`+Ge+" "+Rr+` Tf
|
||
`+(Rr*gn).toFixed(2)+` TL
|
||
`+ir+`
|
||
`;return Mi+=Dn,Mi+=lt,Dt(Mi+="ET"),vt[Ge]=!0,Sn},ee.__private__.lstext=ee.lstext=function(lt,Qt,lr,mr){return console.warn("jsPDF.lstext is deprecated"),this.text(lt,Qt,lr,{charSpace:mr})},ee.__private__.clip=ee.clip=function(lt){Dt(lt==="evenodd"?"W*":"W"),Dt("n")},ee.__private__.clip_fixed=ee.clip_fixed=function(lt){console.log("clip_fixed is deprecated"),ee.clip(lt)};var po=ee.__private__.isValidStyle=function(lt){var Qt=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(lt)!==-1&&(Qt=!0),Qt},Bn=ee.__private__.getStyle=function(lt){var Qt="S";return lt==="F"?Qt="f":lt==="FD"||lt==="DF"?Qt="B":lt!=="f"&<!=="f*"&<!=="B"&<!=="B*"||(Qt=lt),Qt};ee.__private__.line=ee.line=function(lt,Qt,lr,mr){if(isNaN(lt)||isNaN(Qt)||isNaN(lr)||isNaN(mr))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[lr-lt,mr-Qt]],lt,Qt)},ee.__private__.lines=ee.lines=function(lt,Qt,lr,mr,Er,Br){var rn,dn,yn,Dn,gn,Sn,_n,Cn,In,fn,Tn,Yn;if(typeof lt=="number"&&(Yn=lr,lr=Qt,Qt=lt,lt=Yn),mr=mr||[1,1],Br=Br||!1,isNaN(Qt)||isNaN(lr)||!Array.isArray(lt)||!Array.isArray(mr)||!po(Er)||typeof Br!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Dt(Me($t(Qt))+" "+Me(Tr(lr))+" m "),rn=mr[0],dn=mr[1],Dn=lt.length,fn=Qt,Tn=lr,yn=0;yn<Dn;yn++)(gn=lt[yn]).length===2?(fn=gn[0]*rn+fn,Tn=gn[1]*dn+Tn,Dt(Me($t(fn))+" "+Me(Tr(Tn))+" l")):(Sn=gn[0]*rn+fn,_n=gn[1]*dn+Tn,Cn=gn[2]*rn+fn,In=gn[3]*dn+Tn,fn=gn[4]*rn+fn,Tn=gn[5]*dn+Tn,Dt(Me($t(Sn))+" "+Me(Tr(_n))+" "+Me($t(Cn))+" "+Me(Tr(In))+" "+Me($t(fn))+" "+Me(Tr(Tn))+" c"));return Br&&Dt(" h"),Er!==null&&Dt(Bn(Er)),this},ee.__private__.rect=ee.rect=function(lt,Qt,lr,mr,Er){if(isNaN(lt)||isNaN(Qt)||isNaN(lr)||isNaN(mr)||!po(Er))throw new Error("Invalid arguments passed to jsPDF.rect");return Dt([Ae($t(lt)),Ae(Tr(Qt)),Ae(lr*ct),Ae(-mr*ct),"re"].join(" ")),Er!==null&&Dt(Bn(Er)),this},ee.__private__.triangle=ee.triangle=function(lt,Qt,lr,mr,Er,Br,rn){if(isNaN(lt)||isNaN(Qt)||isNaN(lr)||isNaN(mr)||isNaN(Er)||isNaN(Br)||!po(rn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[lr-lt,mr-Qt],[Er-lr,Br-mr],[lt-Er,Qt-Br]],lt,Qt,[1,1],rn,!0),this},ee.__private__.roundedRect=ee.roundedRect=function(lt,Qt,lr,mr,Er,Br,rn){if(isNaN(lt)||isNaN(Qt)||isNaN(lr)||isNaN(mr)||isNaN(Er)||isNaN(Br)||!po(rn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var dn=4/3*(Math.SQRT2-1);return this.lines([[lr-2*Er,0],[Er*dn,0,Er,Br-Br*dn,Er,Br],[0,mr-2*Br],[0,Br*dn,-Er*dn,Br,-Er,Br],[2*Er-lr,0],[-Er*dn,0,-Er,-Br*dn,-Er,-Br],[0,2*Br-mr],[0,-Br*dn,Er*dn,-Br,Er,-Br]],lt+Er,Qt,[1,1],rn),this},ee.__private__.ellipse=ee.ellipse=function(lt,Qt,lr,mr,Er){if(isNaN(lt)||isNaN(Qt)||isNaN(lr)||isNaN(mr)||!po(Er))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Br=4/3*(Math.SQRT2-1)*lr,rn=4/3*(Math.SQRT2-1)*mr;return Dt([Ae($t(lt+lr)),Ae(Tr(Qt)),"m",Ae($t(lt+lr)),Ae(Tr(Qt-rn)),Ae($t(lt+Br)),Ae(Tr(Qt-mr)),Ae($t(lt)),Ae(Tr(Qt-mr)),"c"].join(" ")),Dt([Ae($t(lt-Br)),Ae(Tr(Qt-mr)),Ae($t(lt-lr)),Ae(Tr(Qt-rn)),Ae($t(lt-lr)),Ae(Tr(Qt)),"c"].join(" ")),Dt([Ae($t(lt-lr)),Ae(Tr(Qt+rn)),Ae($t(lt-Br)),Ae(Tr(Qt+mr)),Ae($t(lt)),Ae(Tr(Qt+mr)),"c"].join(" ")),Dt([Ae($t(lt+Br)),Ae(Tr(Qt+mr)),Ae($t(lt+lr)),Ae(Tr(Qt+rn)),Ae($t(lt+lr)),Ae(Tr(Qt)),"c"].join(" ")),Er!==null&&Dt(Bn(Er)),this},ee.__private__.circle=ee.circle=function(lt,Qt,lr,mr){if(isNaN(lt)||isNaN(Qt)||isNaN(lr)||!po(mr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(lt,Qt,lr,lr,mr)},ee.setFont=function(lt,Qt){return Ge=ti(lt,Qt,{disableWarning:!1}),this},ee.setFontStyle=ee.setFontType=function(lt){return Ge=ti(void 0,lt),this},ee.__private__.getFontList=ee.getFontList=function(){var lt,Qt,lr,mr={};for(lt in _r)if(_r.hasOwnProperty(lt))for(Qt in mr[lt]=lr=[],_r[lt])_r[lt].hasOwnProperty(Qt)&&lr.push(Qt);return mr},ee.addFont=function(lt,Qt,lr,mr){ea.call(this,lt,Qt,lr,mr=mr||"Identity-H")};var ta,So=Te.lineWidth||.200025,To=ee.__private__.setLineWidth=ee.setLineWidth=function(lt){return Dt((lt*ct).toFixed(2)+" w"),this},Ha=(ee.__private__.setLineDash=ae.API.setLineDash=function(lt,Qt){if(lt=lt||[],Qt=Qt||0,isNaN(Qt)||!Array.isArray(lt))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return lt=lt.map(function(lr){return(lr*ct).toFixed(3)}).join(" "),Qt=parseFloat((Qt*ct).toFixed(3)),Dt("["+lt+"] "+Qt+" d"),this},ee.__private__.getLineHeight=ee.getLineHeight=function(){return Rr*ta}),eo=(Ha=ee.__private__.getLineHeight=ee.getLineHeight=function(){return Rr*ta},ee.__private__.setLineHeightFactor=ee.setLineHeightFactor=function(lt){return typeof(lt=lt||1.15)=="number"&&(ta=lt),this}),Hi=ee.__private__.getLineHeightFactor=ee.getLineHeightFactor=function(){return ta};eo(Te.lineHeight);var $t=ee.__private__.getHorizontalCoordinate=function(lt){return lt*ct},Tr=ee.__private__.getVerticalCoordinate=function(lt){return on[Et].mediaBox.topRightY-on[Et].mediaBox.bottomLeftY-lt*ct},Kr=ee.__private__.getHorizontalCoordinateString=function(lt){return Ae(lt*ct)},Ne=ee.__private__.getVerticalCoordinateString=function(lt){return Ae(on[Et].mediaBox.topRightY-on[Et].mediaBox.bottomLeftY-lt*ct)},Lt=Te.strokeColor||"0 G",Xt=(ee.__private__.getStrokeColor=ee.getDrawColor=function(){return mn(Lt)},ee.__private__.setStrokeColor=ee.setDrawColor=function(lt,Qt,lr,mr){return Lt=cn({ch1:lt,ch2:Qt,ch3:lr,ch4:mr,pdfColorType:"draw",precision:2}),Dt(Lt),this},Te.fillColor||"0 g"),ir=(ee.__private__.getFillColor=ee.getFillColor=function(){return mn(Xt)},ee.__private__.setFillColor=ee.setFillColor=function(lt,Qt,lr,mr){return Xt=cn({ch1:lt,ch2:Qt,ch3:lr,ch4:mr,pdfColorType:"fill",precision:2}),Dt(Xt),this},Te.textColor||"0 g"),Sr=ee.__private__.getTextColor=ee.getTextColor=function(){return mn(ir)},gr=(ee.__private__.setTextColor=ee.setTextColor=function(lt,Qt,lr,mr){return ir=cn({ch1:lt,ch2:Qt,ch3:lr,ch4:mr,pdfColorType:"text",precision:3}),this},Te.charSpace||0),Mr=ee.__private__.getCharSpace=ee.getCharSpace=function(){return gr},Hr=(ee.__private__.setCharSpace=ee.setCharSpace=function(lt){if(isNaN(lt))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return gr=lt,this},0);ee.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},ee.__private__.setLineCap=ee.setLineCap=function(lt){var Qt=ee.CapJoinStyles[lt];if(Qt===void 0)throw new Error("Line cap style of '"+lt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Dt((Hr=Qt)+" J"),this};var kr,Yr=0;ee.__private__.setLineJoin=ee.setLineJoin=function(lt){var Qt=ee.CapJoinStyles[lt];if(Qt===void 0)throw new Error("Line join style of '"+lt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Dt((Yr=Qt)+" j"),this},ee.__private__.setMiterLimit=ee.setMiterLimit=function(lt){if(lt=lt||0,isNaN(lt))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return kr=parseFloat(Ae(lt*ct)),Dt(kr+" M"),this};for(var en in ee.save=function(lt,Qt){if(lt=lt||"generated.pdf",(Qt=Qt||{}).returnPromise=Qt.returnPromise||!1,Qt.returnPromise!==!1)return new Promise(function(lr,mr){try{var Er=ar(Qi(Ga()),lt);typeof ar.unload=="function"&&me.setTimeout&&setTimeout(ar.unload,911),lr(Er)}catch(Br){mr(Br.message)}});ar(Qi(Ga()),lt),typeof ar.unload=="function"&&me.setTimeout&&setTimeout(ar.unload,911)},ae.API)ae.API.hasOwnProperty(en)&&(en==="events"&&ae.API.events.length?function(lt,Qt){var lr,mr,Er;for(Er=Qt.length-1;Er!==-1;Er--)lr=Qt[Er][0],mr=Qt[Er][1],lt.subscribe.apply(lt,[lr].concat(typeof mr=="function"?[mr]:mr))}(Ur,ae.API.events):ee[en]=ae.API[en]);return ee.internal={pdfEscape:An,getStyle:Bn,getFont:function(){return fr[ti.apply(ee,arguments)]},getFontSize:Jr,getCharSpace:Mr,getTextColor:Sr,getLineHeight:Ha,getLineHeightFactor:Hi,write:vr,getHorizontalCoordinate:$t,getVerticalCoordinate:Tr,getCoordinateString:Kr,getVerticalCoordinateString:Ne,collections:{},newObject:pn,newAdditionalObject:Nn,newObjectDeferred:On,newObjectDeferredBegin:Vn,getFilters:da,putStream:Ta,events:Ur,scaleFactor:ct,pageSize:{getWidth:function(){return(on[Et].mediaBox.topRightX-on[Et].mediaBox.bottomLeftX)/ct},setWidth:function(Qt){on[Et].mediaBox.topRightX=Qt*ct+on[Et].mediaBox.bottomLeftX},getHeight:function(){return(on[Et].mediaBox.topRightY-on[Et].mediaBox.bottomLeftY)/ct},setHeight:function(Qt){on[Et].mediaBox.topRightY=Qt*ct+on[Et].mediaBox.bottomLeftY}},output:Lo,getNumberOfPages:kn,pages:tt,out:Dt,f2:Ae,f3:Me,getPageInfo:ji,getPageInfoByObjId:wa,getCurrentPageInfo:ga,getPDFVersion:k,hasHotfix:sa},Object.defineProperty(ee.internal.pageSize,"width",{get:function(){return(on[Et].mediaBox.topRightX-on[Et].mediaBox.bottomLeftX)/ct},set:function(Qt){on[Et].mediaBox.topRightX=Qt*ct+on[Et].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(ee.internal.pageSize,"height",{get:function(){return(on[Et].mediaBox.topRightY-on[Et].mediaBox.bottomLeftY)/ct},set:function(Qt){on[Et].mediaBox.topRightY=Qt*ct+on[Et].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(lt){for(var Qt=0,lr=Dr.length;Qt<lr;Qt++){var mr=ea(lt[Qt][0],lt[Qt][1],lt[Qt][2],Dr[Qt][3],!0);vt[mr]=!0;var Er=lt[Qt][0].split("-");Qn(mr,Er[0],Er[1]||"")}Ur.publish("addFonts",{fonts:fr,dictionary:_r})}(Dr),Ge="F1",Ln(Ce,de),Ur.publish("initialized"),ee}return ae.API={events:[]},ae.version="1.5.3",!(v=function(){return ae}.call(_,e,_,Z),v!==void 0&&(Z.exports=v)),ae}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")());/**
|
||
* @license
|
||
* Copyright (c) 2016 Alexander Weidt,
|
||
* https://github.com/BiggA94
|
||
*
|
||
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
|
||
*/(function(me,ce){var ae,de=1,Se=function(nr){return nr.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ce=function(nr){return nr.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ie=function(nr){if(isNaN(nr))throw new Error("Invalid argument passed to jsPDF.f2");return nr.toFixed(2)},Te=function(nr){if(isNaN(nr))throw new Error("Invalid argument passed to jsPDF.f2");return nr.toFixed(5)};me.__acroform__={};var Ee=function(nr,pr){nr.prototype=Object.create(pr.prototype),nr.prototype.constructor=nr},He=function(nr){return nr*de},st=function(nr){return nr/de},vt=function(nr){var pr=new ct,dr=xr.internal.getHeight(nr)||0,fr=xr.internal.getWidth(nr)||0;return pr.BBox=[0,0,Number(Ie(fr)),Number(Ie(dr))],pr},ee=me.__acroform__.setBit=function(Or,nr){if(Or=Or||0,nr=nr||0,isNaN(Or)||isNaN(nr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Or|=1<<nr},oe=me.__acroform__.clearBit=function(Or,nr){if(Or=Or||0,nr=nr||0,isNaN(Or)||isNaN(nr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Or&=~(1<<nr)},k=me.__acroform__.getBit=function(Or,nr){if(isNaN(Or)||isNaN(nr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Or&1<<nr)==0?0:1},$=me.__acroform__.getBitForPdf=function(Or,nr){if(isNaN(Or)||isNaN(nr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return k(Or,nr-1)},se=me.__acroform__.setBitForPdf=function(Or,nr){if(isNaN(Or)||isNaN(nr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return ee(Or,nr-1)},ge=me.__acroform__.clearBitForPdf=function(Or,nr,pr){if(isNaN(Or)||isNaN(nr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return oe(Or,nr-1)},Ae=me.__acroform__.calculateCoordinates=function(Or){var nr=this.internal.getHorizontalCoordinate,pr=this.internal.getVerticalCoordinate,dr=Or[0],fr=Or[1],_r=Or[2],Zr=Or[3],on={};return on.lowerLeft_X=nr(dr)||0,on.lowerLeft_Y=pr(fr+Zr)||0,on.upperRight_X=nr(dr+_r)||0,on.upperRight_Y=pr(fr)||0,[Number(Ie(on.lowerLeft_X)),Number(Ie(on.lowerLeft_Y)),Number(Ie(on.upperRight_X)),Number(Ie(on.upperRight_Y))]},Me=function(nr){if(nr.appearanceStreamContent)return nr.appearanceStreamContent;if(nr.V||nr.DV){var pr=[],dr=nr.V||nr.DV,fr=et(nr,dr),_r=ae.internal.getFont(nr.fontName,nr.fontStyle).id;pr.push("/Tx BMC"),pr.push("q"),pr.push("BT"),pr.push(ae.__private__.encodeColorString(nr.color)),pr.push("/"+_r+" "+Ie(fr.fontSize)+" Tf"),pr.push("1 0 0 1 0 0 Tm"),pr.push(fr.text),pr.push("ET"),pr.push("Q"),pr.push("EMC");var Zr=new vt(nr);return Zr.stream=pr.join(`
|
||
`),Zr}},et=function(nr,pr){var dr=nr.maxFontSize||12,fr=(nr.fontName,{text:"",fontSize:""}),_r=(pr=(pr=pr.substr(0,1)=="("?pr.substr(1):pr).substr(pr.length-1)==")"?pr.substr(0,pr.length-1):pr).split(" "),Zr=(ae.__private__.encodeColorString(nr.color),dr),on=xr.internal.getHeight(nr)||0;on=on<0?-on:on;var jn=xr.internal.getWidth(nr)||0;jn=jn<0?-jn:jn;var Ur=function(An,wn,Ln){if(An+1<_r.length){var Un=wn+" "+_r[An+1];return Wt(Un,nr,Ln).width<=jn-4}return!1};Zr++;e:for(;;){pr="";var En=Wt("3",nr,--Zr).height,pn=nr.multiline?on-Zr:(on-En)/2,On=-2,Vn=pn+=2,Nn=0,ui=0,Xn=0;if(Zr<=0){pr=`(...) Tj
|
||
`,pr+="% Width of Text: "+Wt(pr,nr,Zr=12).width+", FieldWidth:"+jn+`
|
||
`;break}Xn=Wt(_r[0]+" ",nr,Zr).width;var mn="",cn=0;for(var da in _r)if(_r.hasOwnProperty(da)){mn=(mn+=_r[da]+" ").substr(mn.length-1)==" "?mn.substr(0,mn.length-1):mn;var Ta=parseInt(da);Xn=Wt(mn+" ",nr,Zr).width;var ia=Ur(Ta,mn,Zr),fi=da>=_r.length-1;if(ia&&!fi){mn+=" ";continue}if(ia||fi){if(fi)ui=Ta;else if(nr.multiline&&on<(En+2)*(cn+2)+2)continue e}else{if(!nr.multiline)continue e;if(on<(En+2)*(cn+2)+2)continue e;ui=Ta}for(var ki="",Qn=Nn;Qn<=ui;Qn++)ki+=_r[Qn]+" ";switch(ki=ki.substr(ki.length-1)==" "?ki.substr(0,ki.length-1):ki,Xn=Wt(ki,nr,Zr).width,nr.textAlign){case"right":On=jn-Xn-2;break;case"center":On=(jn-Xn)/2;break;case"left":default:On=2}pr+=Ie(On)+" "+Ie(Vn)+` Td
|
||
`,pr+="("+Se(ki)+`) Tj
|
||
`,pr+=-Ie(On)+` 0 Td
|
||
`,Vn=-(Zr+2),Xn=0,Nn=ui+1,cn++,mn=""}break}return fr.text=pr,fr.fontSize=Zr,fr},Wt=function(nr,pr,dr){var fr=ae.internal.getFont(pr.fontName,pr.fontStyle),_r=ae.getStringUnitWidth(nr,{font:fr,fontSize:parseFloat(dr),charSpace:0})*parseFloat(dr);return{height:ae.getStringUnitWidth("3",{font:fr,fontSize:parseFloat(dr),charSpace:0})*parseFloat(dr)*1.5,width:_r}},er={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Ct=function(){ae.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var nr=ae.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var pr in nr)if(nr.hasOwnProperty(pr)){var dr=nr[pr];dr.objId=void 0,dr.hasAnnotation&&Ht.call(ae,dr)}},Ht=function(nr){var pr={type:"reference",object:nr};ae.internal.getPageInfo(nr.page).pageContext.annotations.find(function(dr){return dr.type===pr.type&&dr.object===pr.object})===void 0&&ae.internal.getPageInfo(nr.page).pageContext.annotations.push(pr)},kt=function(){if(ae.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");ae.internal.write("/AcroForm "+ae.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},Zt=function(){ae.internal.events.unsubscribe(ae.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete ae.internal.acroformPlugin.acroFormDictionaryRoot._eventID,ae.internal.acroformPlugin.printedOut=!0},Et=function(nr){var pr=!nr;nr||(ae.internal.newObjectDeferredBegin(ae.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),ae.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),nr=nr||ae.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var dr in nr)if(nr.hasOwnProperty(dr)){var fr=nr[dr],_r=[],Zr=fr.Rect;if(fr.Rect&&(fr.Rect=Ae.call(this,fr.Rect)),ae.internal.newObjectDeferredBegin(fr.objId,!0),fr.DA=xr.createDefaultAppearanceStream(fr),m(fr)==="object"&&typeof fr.getKeyValueListForStream=="function"&&(_r=fr.getKeyValueListForStream()),fr.Rect=Zr,fr.hasAppearanceStream&&!fr.appearanceStreamContent){var on=Me.call(this,fr);_r.push({key:"AP",value:"<</N "+on+">>"}),ae.internal.acroformPlugin.xForms.push(on)}if(fr.appearanceStreamContent){var jn="";for(var Ur in fr.appearanceStreamContent)if(fr.appearanceStreamContent.hasOwnProperty(Ur)){var En=fr.appearanceStreamContent[Ur];if(jn+="/"+Ur+" ",jn+="<<",1<=Object.keys(En).length||Array.isArray(En))for(var dr in En){var pn;En.hasOwnProperty(dr)&&(typeof(pn=En[dr])=="function"&&(pn=pn.call(this,fr)),jn+="/"+dr+" "+pn+" ",0<=ae.internal.acroformPlugin.xForms.indexOf(pn)||ae.internal.acroformPlugin.xForms.push(pn))}else typeof(pn=En)=="function"&&(pn=pn.call(this,fr)),jn+="/"+dr+" "+pn,0<=ae.internal.acroformPlugin.xForms.indexOf(pn)||ae.internal.acroformPlugin.xForms.push(pn);jn+=">>"}_r.push({key:"AP",value:`<<
|
||
`+jn+">>"})}ae.internal.putStream({additionalKeyValues:_r}),ae.internal.out("endobj")}pr&&ur.call(this,ae.internal.acroformPlugin.xForms)},ur=function(nr){for(var pr in nr)if(nr.hasOwnProperty(pr)){var dr=pr,fr=nr[pr];ae.internal.newObjectDeferredBegin(fr&&fr.objId,!0),m(fr)==="object"&&typeof fr.putStream=="function"&&fr.putStream(),delete nr[dr]}},rr=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(ae=this,ut.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(er)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");de=ae.internal.scaleFactor,ae.internal.acroformPlugin.acroFormDictionaryRoot=new ht,ae.internal.acroformPlugin.acroFormDictionaryRoot._eventID=ae.internal.events.subscribe("postPutResources",Zt),ae.internal.events.subscribe("buildDocument",Ct),ae.internal.events.subscribe("putCatalog",kt),ae.internal.events.subscribe("postPutPages",Et),ae.internal.acroformPlugin.isInitialized=!0}},Ke=me.__acroform__.arrayToPdfArray=function(Or){if(Array.isArray(Or)){for(var nr="[",pr=0;pr<Or.length;pr++)switch(pr!==0&&(nr+=" "),m(Or[pr])){case"boolean":case"number":case"object":nr+=Or[pr].toString();break;case"string":Or[pr].substr(0,1)!=="/"?nr+="("+Se(Or[pr].toString())+")":nr+=Or[pr].toString()}return nr+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},nt=function(nr){return(nr=nr||"").toString(),nr="("+Se(nr)+")"},Ge=function(){var nr;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(nr||(nr=ae.internal.newObjectDeferred()),!nr)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return nr},set:function(dr){nr=dr}})};Ge.prototype.toString=function(){return this.objId+" 0 R"},Ge.prototype.putStream=function(){var Or=this.getKeyValueListForStream();ae.internal.putStream({data:this.stream,additionalKeyValues:Or}),ae.internal.out("endobj")},Ge.prototype.getKeyValueListForStream=function(){return function(Or){var nr=[],pr=Object.getOwnPropertyNames(Or).filter(function(Zr){return Zr!="content"&&Zr!="appearanceStreamContent"&&Zr.substring(0,1)!="_"});for(var dr in pr)if(Object.getOwnPropertyDescriptor(Or,pr[dr]).configurable===!1){var fr=pr[dr],_r=Or[fr];_r&&(Array.isArray(_r)?nr.push({key:fr,value:Ke(_r)}):_r instanceof Ge?nr.push({key:fr,value:_r.objId+" 0 R"}):typeof _r!="function"&&nr.push({key:fr,value:_r}))}return nr}(this)};var ct=function(){Ge.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var nr,pr=[];Object.defineProperty(this,"BBox",{configurable:!1,writeable:!0,get:function(){return pr},set:function(fr){pr=fr}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writeable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(fr){nr=fr.trim()},get:function(){return nr||null}})};Ee(ct,Ge);var ht=function(){Ge.call(this);var nr,pr=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<pr.length?pr:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return pr}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(nr)return"("+nr+")"},set:function(fr){nr=fr}})};Ee(ht,Ge);var ut=function Or(){Ge.call(this);var nr=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return nr},set:function(cn){if(isNaN(cn))throw new Error('Invalid value "'+cn+'" for attribute F supplied.');nr=cn}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean($(nr,3))},set:function(cn){Boolean(cn)===!0?this.F=se(nr,3):this.F=ge(nr,3)}});var pr=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return pr},set:function(cn){if(isNaN(cn))throw new Error('Invalid value "'+cn+'" for attribute Ff supplied.');pr=cn}});var dr=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(dr.length!==0)return dr},set:function(cn){dr=cn!==void 0?cn:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!dr||isNaN(dr[0])?0:st(dr[0])},set:function(cn){dr[0]=He(cn)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!dr||isNaN(dr[1])?0:st(dr[1])},set:function(cn){dr[1]=He(cn)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!dr||isNaN(dr[2])?0:st(dr[2])},set:function(cn){dr[2]=He(cn)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!dr||isNaN(dr[3])?0:st(dr[3])},set:function(cn){dr[3]=He(cn)}});var fr="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return fr},set:function(cn){switch(cn){case"/Btn":case"/Tx":case"/Ch":case"/Sig":fr=cn;break;default:throw new Error('Invalid value "'+cn+'" for attribute FT supplied.')}}});var _r=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!_r||_r.length<1){if(this instanceof Dr)return;_r="FieldObject"+Or.FieldNum++}return"("+Se(_r)+")"},set:function(cn){_r=cn.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return _r},set:function(cn){_r=cn}});var Zr="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Zr},set:function(cn){Zr=cn}});var on="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return on},set:function(cn){on=cn}});var jn=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return st(jn)},set:function(cn){jn=He(cn)}});var Ur=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return st(Ur)},set:function(cn){Ur=He(cn)}});var En="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return En},set:function(cn){En=cn}});var pn="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!pn||this instanceof Dr||this instanceof Jr))return nt(pn)},set:function(cn){cn=cn.toString(),pn=cn}});var On=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(On)return this instanceof Dt==!1?nt(On):On},set:function(cn){cn=cn.toString(),On=this instanceof Dt==!1?cn.substr(0,1)==="("?Ce(cn.substr(1,cn.length-2)):Ce(cn):cn}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Dt==!0?Ce(On.substr(1,On.length-1)):On},set:function(cn){cn=cn.toString(),On=this instanceof Dt==!0?"/"+cn:cn}});var Vn=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Vn)return this instanceof Dt==!1?nt(Vn):Vn},set:function(cn){cn=cn.toString(),Vn=this instanceof Dt==!1?cn.substr(0,1)==="("?Ce(cn.substr(1,cn.length-2)):Ce(cn):cn}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Dt==!0?Ce(Vn.substr(1,Vn.length-1)):Vn},set:function(cn){cn=cn.toString(),Vn=this instanceof Dt==!0?"/"+cn:cn}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var Nn,ui=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return ui},set:function(cn){cn=Boolean(cn),ui=cn}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(Nn)return Nn},set:function(cn){Nn=cn}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,1))},set:function(cn){Boolean(cn)===!0?this.Ff=se(this.Ff,1):this.Ff=ge(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,2))},set:function(cn){Boolean(cn)===!0?this.Ff=se(this.Ff,2):this.Ff=ge(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,3))},set:function(cn){Boolean(cn)===!0?this.Ff=se(this.Ff,3):this.Ff=ge(this.Ff,3)}});var Xn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Xn!==null)return Xn},set:function(cn){if([0,1,2].indexOf(cn)===-1)throw new Error('Invalid value "'+cn+'" for attribute Q supplied.');Xn=cn}}),Object.defineProperty(this,"textAlign",{get:function(){var cn="left";switch(Xn){case 0:default:cn="left";break;case 1:cn="center";break;case 2:cn="right"}return cn},configurable:!0,enumerable:!0,set:function(cn){switch(cn){case"right":case 2:Xn=2;break;case"center":case 1:Xn=1;break;case"left":case 0:default:Xn=0}}})};Ee(ut,Ge);var We=function(){ut.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var nr=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return nr},set:function(fr){nr=fr}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return nr},set:function(fr){nr=fr}});var pr=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Ke(pr)},set:function(fr){var _r,Zr;Zr=[],typeof(_r=fr)=="string"&&(Zr=function(on,jn,Ur){Ur||(Ur=1);for(var En,pn=[];En=jn.exec(on);)pn.push(En[Ur]);return pn}(_r,/\((.*?)\)/g)),pr=Zr}}),this.getOptions=function(){return pr},this.setOptions=function(dr){pr=dr,this.sort&&pr.sort()},this.addOption=function(dr){dr=(dr=dr||"").toString(),pr.push(dr),this.sort&&pr.sort()},this.removeOption=function(dr,fr){for(fr=fr||!1,dr=(dr=dr||"").toString();pr.indexOf(dr)!==-1&&(pr.splice(pr.indexOf(dr),1),fr!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,18))},set:function(fr){Boolean(fr)===!0?this.Ff=se(this.Ff,18):this.Ff=ge(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,19))},set:function(fr){this.combo===!0&&(Boolean(fr)===!0?this.Ff=se(this.Ff,19):this.Ff=ge(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,20))},set:function(fr){Boolean(fr)===!0?(this.Ff=se(this.Ff,20),pr.sort()):this.Ff=ge(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,22))},set:function(fr){Boolean(fr)===!0?this.Ff=se(this.Ff,22):this.Ff=ge(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,23))},set:function(fr){Boolean(fr)===!0?this.Ff=se(this.Ff,23):this.Ff=ge(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,27))},set:function(fr){Boolean(fr)===!0?this.Ff=se(this.Ff,27):this.Ff=ge(this.Ff,27)}}),this.hasAppearanceStream=!1};Ee(We,ut);var tt=function(){We.call(this),this.fontName="helvetica",this.combo=!1};Ee(tt,We);var ft=function(){tt.call(this),this.combo=!0};Ee(ft,tt);var Yt=function(){ft.call(this),this.edit=!0};Ee(Yt,ft);var Dt=function(){ut.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,15))},set:function(fr){Boolean(fr)===!0?this.Ff=se(this.Ff,15):this.Ff=ge(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,16))},set:function(fr){Boolean(fr)===!0?this.Ff=se(this.Ff,16):this.Ff=ge(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,17))},set:function(fr){Boolean(fr)===!0?this.Ff=se(this.Ff,17):this.Ff=ge(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,26))},set:function(fr){Boolean(fr)===!0?this.Ff=se(this.Ff,26):this.Ff=ge(this.Ff,26)}});var nr,pr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){if(Object.keys(pr).length!==0){var fr,_r=[];for(fr in _r.push("<<"),pr)_r.push("/"+fr+" ("+pr[fr]+")");return _r.push(">>"),_r.join(`
|
||
`)}},set:function(fr){m(fr)==="object"&&(pr=fr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return pr.CA||""},set:function(fr){typeof fr=="string"&&(pr.CA=fr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return nr},set:function(fr){nr=fr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return nr.substr(1,nr.length-1)},set:function(fr){nr="/"+fr}})};Ee(Dt,ut);var vr=function(){Dt.call(this),this.pushButton=!0};Ee(vr,Dt);var yr=function(){Dt.call(this),this.radio=!0,this.pushButton=!1;var nr=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return nr},set:function(dr){nr=dr!==void 0?dr:[]}})};Ee(yr,Dt);var Dr=function(){var nr,pr;ut.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return nr},set:function(Zr){nr=Zr}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return pr},set:function(Zr){pr=Zr}});var dr,fr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Zr,on=[];for(Zr in on.push("<<"),fr)on.push("/"+Zr+" ("+fr[Zr]+")");return on.push(">>"),on.join(`
|
||
`)},set:function(Zr){m(Zr)==="object"&&(fr=Zr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return fr.CA||""},set:function(Zr){typeof Zr=="string"&&(fr.CA=Zr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return dr},set:function(Zr){dr=Zr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return dr.substr(1,dr.length-1)},set:function(Zr){dr="/"+Zr}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=xr.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};Ee(Dr,ut),yr.prototype.setAppearance=function(Or){if(!("createAppearanceStream"in Or&&"getCA"in Or))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var nr in this.Kids)if(this.Kids.hasOwnProperty(nr)){var pr=this.Kids[nr];pr.appearanceStreamContent=Or.createAppearanceStream(pr.optionName),pr.caption=Or.getCA()}},yr.prototype.createOption=function(Or){this.Kids.length;var nr=new Dr;return nr.Parent=this,nr.optionName=Or,this.Kids.push(nr),Vr.call(this,nr),nr};var Rr=function(){Dt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=xr.CheckBox.createAppearanceStream()};Ee(Rr,Dt);var Jr=function(){ut.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,13))},set:function(dr){Boolean(dr)===!0?this.Ff=se(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(dr){Boolean(dr)===!0?this.Ff=se(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(dr){Boolean(dr)===!0?this.Ff=se(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(dr){Boolean(dr)===!0?this.Ff=se(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(dr){Boolean(dr)===!0?this.Ff=se(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(dr){Boolean(dr)===!0?this.Ff=se(this.Ff,26):this.Ff=ge(this.Ff,26)}});var nr=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return nr},set:function(dr){nr=dr}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return nr},set:function(dr){Number.isInteger(dr)&&(nr=dr)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Ee(Jr,ut);var $r=function(){Jr.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,14))},set:function(pr){Boolean(pr)===!0?this.Ff=se(this.Ff,14):this.Ff=ge(this.Ff,14)}}),this.password=!0};Ee($r,Jr);var xr={CheckBox:{createAppearanceStream:function(){return{N:{On:xr.CheckBox.YesNormal},D:{On:xr.CheckBox.YesPushDown,Off:xr.CheckBox.OffPushDown}}},YesPushDown:function(nr){var pr=vt(nr),dr=[],fr=ae.internal.getFont(nr.fontName,nr.fontStyle).id,_r=ae.__private__.encodeColorString(nr.color),Zr=et(nr,nr.caption);return dr.push("0.749023 g"),dr.push("0 0 "+Ie(xr.internal.getWidth(nr))+" "+Ie(xr.internal.getHeight(nr))+" re"),dr.push("f"),dr.push("BMC"),dr.push("q"),dr.push("0 0 1 rg"),dr.push("/"+fr+" "+Ie(Zr.fontSize)+" Tf "+_r),dr.push("BT"),dr.push(Zr.text),dr.push("ET"),dr.push("Q"),dr.push("EMC"),pr.stream=dr.join(`
|
||
`),pr},YesNormal:function(nr){var pr=vt(nr),dr=ae.internal.getFont(nr.fontName,nr.fontStyle).id,fr=ae.__private__.encodeColorString(nr.color),_r=[],Zr=xr.internal.getHeight(nr),on=xr.internal.getWidth(nr),jn=et(nr,nr.caption);return _r.push("1 g"),_r.push("0 0 "+Ie(on)+" "+Ie(Zr)+" re"),_r.push("f"),_r.push("q"),_r.push("0 0 1 rg"),_r.push("0 0 "+Ie(on-1)+" "+Ie(Zr-1)+" re"),_r.push("W"),_r.push("n"),_r.push("0 g"),_r.push("BT"),_r.push("/"+dr+" "+Ie(jn.fontSize)+" Tf "+fr),_r.push(jn.text),_r.push("ET"),_r.push("Q"),pr.stream=_r.join(`
|
||
`),pr},OffPushDown:function(nr){var pr=vt(nr),dr=[];return dr.push("0.749023 g"),dr.push("0 0 "+Ie(xr.internal.getWidth(nr))+" "+Ie(xr.internal.getHeight(nr))+" re"),dr.push("f"),pr.stream=dr.join(`
|
||
`),pr}},RadioButton:{Circle:{createAppearanceStream:function(nr){var pr={D:{Off:xr.RadioButton.Circle.OffPushDown},N:{}};return pr.N[nr]=xr.RadioButton.Circle.YesNormal,pr.D[nr]=xr.RadioButton.Circle.YesPushDown,pr},getCA:function(){return"l"},YesNormal:function(nr){var pr=vt(nr),dr=[],fr=xr.internal.getWidth(nr)<=xr.internal.getHeight(nr)?xr.internal.getWidth(nr)/4:xr.internal.getHeight(nr)/4;fr=Number((.9*fr).toFixed(5));var _r=xr.internal.Bezier_C,Zr=Number((fr*_r).toFixed(5));return dr.push("q"),dr.push("1 0 0 1 "+Te(xr.internal.getWidth(nr)/2)+" "+Te(xr.internal.getHeight(nr)/2)+" cm"),dr.push(fr+" 0 m"),dr.push(fr+" "+Zr+" "+Zr+" "+fr+" 0 "+fr+" c"),dr.push("-"+Zr+" "+fr+" -"+fr+" "+Zr+" -"+fr+" 0 c"),dr.push("-"+fr+" -"+Zr+" -"+Zr+" -"+fr+" 0 -"+fr+" c"),dr.push(Zr+" -"+fr+" "+fr+" -"+Zr+" "+fr+" 0 c"),dr.push("f"),dr.push("Q"),pr.stream=dr.join(`
|
||
`),pr},YesPushDown:function(nr){var pr=vt(nr),dr=[],fr=xr.internal.getWidth(nr)<=xr.internal.getHeight(nr)?xr.internal.getWidth(nr)/4:xr.internal.getHeight(nr)/4,_r=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Zr=Number((_r*xr.internal.Bezier_C).toFixed(5)),on=Number((fr*xr.internal.Bezier_C).toFixed(5));return dr.push("0.749023 g"),dr.push("q"),dr.push("1 0 0 1 "+Te(xr.internal.getWidth(nr)/2)+" "+Te(xr.internal.getHeight(nr)/2)+" cm"),dr.push(_r+" 0 m"),dr.push(_r+" "+Zr+" "+Zr+" "+_r+" 0 "+_r+" c"),dr.push("-"+Zr+" "+_r+" -"+_r+" "+Zr+" -"+_r+" 0 c"),dr.push("-"+_r+" -"+Zr+" -"+Zr+" -"+_r+" 0 -"+_r+" c"),dr.push(Zr+" -"+_r+" "+_r+" -"+Zr+" "+_r+" 0 c"),dr.push("f"),dr.push("Q"),dr.push("0 g"),dr.push("q"),dr.push("1 0 0 1 "+Te(xr.internal.getWidth(nr)/2)+" "+Te(xr.internal.getHeight(nr)/2)+" cm"),dr.push(fr+" 0 m"),dr.push(fr+" "+on+" "+on+" "+fr+" 0 "+fr+" c"),dr.push("-"+on+" "+fr+" -"+fr+" "+on+" -"+fr+" 0 c"),dr.push("-"+fr+" -"+on+" -"+on+" -"+fr+" 0 -"+fr+" c"),dr.push(on+" -"+fr+" "+fr+" -"+on+" "+fr+" 0 c"),dr.push("f"),dr.push("Q"),pr.stream=dr.join(`
|
||
`),pr},OffPushDown:function(nr){var pr=vt(nr),dr=[],fr=xr.internal.getWidth(nr)<=xr.internal.getHeight(nr)?xr.internal.getWidth(nr)/4:xr.internal.getHeight(nr)/4,_r=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Zr=Number((_r*xr.internal.Bezier_C).toFixed(5));return dr.push("0.749023 g"),dr.push("q"),dr.push("1 0 0 1 "+Te(xr.internal.getWidth(nr)/2)+" "+Te(xr.internal.getHeight(nr)/2)+" cm"),dr.push(_r+" 0 m"),dr.push(_r+" "+Zr+" "+Zr+" "+_r+" 0 "+_r+" c"),dr.push("-"+Zr+" "+_r+" -"+_r+" "+Zr+" -"+_r+" 0 c"),dr.push("-"+_r+" -"+Zr+" -"+Zr+" -"+_r+" 0 -"+_r+" c"),dr.push(Zr+" -"+_r+" "+_r+" -"+Zr+" "+_r+" 0 c"),dr.push("f"),dr.push("Q"),pr.stream=dr.join(`
|
||
`),pr}},Cross:{createAppearanceStream:function(nr){var pr={D:{Off:xr.RadioButton.Cross.OffPushDown},N:{}};return pr.N[nr]=xr.RadioButton.Cross.YesNormal,pr.D[nr]=xr.RadioButton.Cross.YesPushDown,pr},getCA:function(){return"8"},YesNormal:function(nr){var pr=vt(nr),dr=[],fr=xr.internal.calculateCross(nr);return dr.push("q"),dr.push("1 1 "+Ie(xr.internal.getWidth(nr)-2)+" "+Ie(xr.internal.getHeight(nr)-2)+" re"),dr.push("W"),dr.push("n"),dr.push(Ie(fr.x1.x)+" "+Ie(fr.x1.y)+" m"),dr.push(Ie(fr.x2.x)+" "+Ie(fr.x2.y)+" l"),dr.push(Ie(fr.x4.x)+" "+Ie(fr.x4.y)+" m"),dr.push(Ie(fr.x3.x)+" "+Ie(fr.x3.y)+" l"),dr.push("s"),dr.push("Q"),pr.stream=dr.join(`
|
||
`),pr},YesPushDown:function(nr){var pr=vt(nr),dr=xr.internal.calculateCross(nr),fr=[];return fr.push("0.749023 g"),fr.push("0 0 "+Ie(xr.internal.getWidth(nr))+" "+Ie(xr.internal.getHeight(nr))+" re"),fr.push("f"),fr.push("q"),fr.push("1 1 "+Ie(xr.internal.getWidth(nr)-2)+" "+Ie(xr.internal.getHeight(nr)-2)+" re"),fr.push("W"),fr.push("n"),fr.push(Ie(dr.x1.x)+" "+Ie(dr.x1.y)+" m"),fr.push(Ie(dr.x2.x)+" "+Ie(dr.x2.y)+" l"),fr.push(Ie(dr.x4.x)+" "+Ie(dr.x4.y)+" m"),fr.push(Ie(dr.x3.x)+" "+Ie(dr.x3.y)+" l"),fr.push("s"),fr.push("Q"),pr.stream=fr.join(`
|
||
`),pr},OffPushDown:function(nr){var pr=vt(nr),dr=[];return dr.push("0.749023 g"),dr.push("0 0 "+Ie(xr.internal.getWidth(nr))+" "+Ie(xr.internal.getHeight(nr))+" re"),dr.push("f"),pr.stream=dr.join(`
|
||
`),pr}}},createDefaultAppearanceStream:function(nr){var pr=ae.internal.getFont(nr.fontName,nr.fontStyle).id,dr=ae.__private__.encodeColorString(nr.color);return"/"+pr+" "+nr.fontSize+" Tf "+dr}};xr.internal={Bezier_C:.551915024494,calculateCross:function(nr){var pr=xr.internal.getWidth(nr),dr=xr.internal.getHeight(nr),fr=Math.min(pr,dr);return{x1:{x:(pr-fr)/2,y:(dr-fr)/2+fr},x2:{x:(pr-fr)/2+fr,y:(dr-fr)/2},x3:{x:(pr-fr)/2,y:(dr-fr)/2},x4:{x:(pr-fr)/2+fr,y:(dr-fr)/2+fr}}}},xr.internal.getWidth=function(Or){var nr=0;return m(Or)==="object"&&(nr=He(Or.Rect[2])),nr},xr.internal.getHeight=function(Or){var nr=0;return m(Or)==="object"&&(nr=He(Or.Rect[3])),nr};var Vr=me.addField=function(Or){if(rr.call(this),!(Or instanceof ut))throw new Error("Invalid argument passed to jsPDF.addField.");return function(nr){ae.internal.acroformPlugin.printedOut&&(ae.internal.acroformPlugin.printedOut=!1,ae.internal.acroformPlugin.acroFormDictionaryRoot=null),ae.internal.acroformPlugin.acroFormDictionaryRoot||rr.call(ae),ae.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(nr)}.call(this,Or),Or.page=ae.internal.getCurrentPageInfo().pageNumber,this};me.addButton=function(Or){if(Or instanceof Dt==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return Vr.call(this,Or)},me.addTextField=function(Or){if(Or instanceof Jr==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Vr.call(this,Or)},me.addChoiceField=function(Or){if(Or instanceof We==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Vr.call(this,Or)},m(ce)=="object"&&ce.ChoiceField===void 0&&ce.ListBox===void 0&&ce.ComboBox===void 0&&ce.EditBox===void 0&&ce.Button===void 0&&ce.PushButton===void 0&&ce.RadioButton===void 0&&ce.CheckBox===void 0&&ce.TextField===void 0&&ce.PasswordField===void 0?(ce.ChoiceField=We,ce.ListBox=tt,ce.ComboBox=ft,ce.EditBox=Yt,ce.Button=Dt,ce.PushButton=vr,ce.RadioButton=yr,ce.CheckBox=Rr,ce.TextField=Jr,ce.PasswordField=$r,ce.AcroForm={Appearance:xr}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),me.AcroFormChoiceField=We,me.AcroFormListBox=tt,me.AcroFormComboBox=ft,me.AcroFormEditBox=Yt,me.AcroFormButton=Dt,me.AcroFormPushButton=vr,me.AcroFormRadioButton=yr,me.AcroFormCheckBox=Rr,me.AcroFormTextField=Jr,me.AcroFormPasswordField=$r,me.AcroFormAppearance=xr,me.AcroForm={ChoiceField:We,ListBox:tt,ComboBox:ft,EditBox:Yt,Button:Dt,PushButton:vr,RadioButton:yr,CheckBox:Rr,TextField:Jr,PasswordField:$r,Appearance:xr}})((window.tmp=Tt).API,typeof window!="undefined"&&window||typeof d!="undefined"&&d),function(me){var ce="addImage_",ae={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]]},de=me.getImageFileTypeByImageData=function(ee,oe){var k,$;oe=oe||"UNKNOWN";var se,ge,Ae,Me="UNKNOWN";for(Ae in me.isArrayBufferView(ee)&&(ee=me.arrayBufferToBinaryString(ee)),ae)for(se=ae[Ae],k=0;k<se.length;k+=1){for(ge=!0,$=0;$<se[k].length;$+=1)if(se[k][$]!==void 0&&se[k][$]!==ee.charCodeAt($)){ge=!1;break}if(ge===!0){Me=Ae;break}}return Me==="UNKNOWN"&&oe!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+oe+'".'),Me=oe),Me},Se=function ee(oe){for(var k=this.internal.newObject(),$=this.internal.write,se=this.internal.putStream,ge=(0,this.internal.getFilters)();ge.indexOf("FlateEncode")!==-1;)ge.splice(ge.indexOf("FlateEncode"),1);oe.n=k;var Ae=[];if(Ae.push({key:"Type",value:"/XObject"}),Ae.push({key:"Subtype",value:"/Image"}),Ae.push({key:"Width",value:oe.w}),Ae.push({key:"Height",value:oe.h}),oe.cs===this.color_spaces.INDEXED?Ae.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(oe.pal.length/3-1)+" "+("smask"in oe?k+2:k+1)+" 0 R]"}):(Ae.push({key:"ColorSpace",value:"/"+oe.cs}),oe.cs===this.color_spaces.DEVICE_CMYK&&Ae.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Ae.push({key:"BitsPerComponent",value:oe.bpc}),"dp"in oe&&Ae.push({key:"DecodeParms",value:"<<"+oe.dp+">>"}),"trns"in oe&&oe.trns.constructor==Array){for(var Me="",et=0,Wt=oe.trns.length;et<Wt;et++)Me+=oe.trns[et]+" "+oe.trns[et]+" ";Ae.push({key:"Mask",value:"["+Me+"]"})}"smask"in oe&&Ae.push({key:"SMask",value:k+1+" 0 R"});var er=oe.f!==void 0?["/"+oe.f]:void 0;if(se({data:oe.data,additionalKeyValues:Ae,alreadyAppliedFilters:er}),$("endobj"),"smask"in oe){var Ct="/Predictor "+oe.p+" /Colors 1 /BitsPerComponent "+oe.bpc+" /Columns "+oe.w,Ht={w:oe.w,h:oe.h,cs:"DeviceGray",bpc:oe.bpc,dp:Ct,data:oe.smask};"f"in oe&&(Ht.f=oe.f),ee.call(this,Ht)}oe.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),se({data:this.arrayBufferToBinaryString(new Uint8Array(oe.pal))}),$("endobj"))},Ce=function(){var oe=this.internal.collections[ce+"images"];for(var k in oe)Se.call(this,oe[k])},Ie=function(){var oe,k=this.internal.collections[ce+"images"],$=this.internal.write;for(var se in k)$("/I"+(oe=k[se]).i,oe.n,"0","R")},Te=function(oe){return typeof me["process"+oe.toUpperCase()]=="function"},Ee=function(oe){return m(oe)==="object"&&oe.nodeType===1},He=function(oe,k){if(oe.nodeName==="IMG"&&oe.hasAttribute("src")){var $=""+oe.getAttribute("src");if($.indexOf("data:image/")===0)return unescape($);var se=me.loadFile($);if(se!==void 0)return btoa(se)}if(oe.nodeName==="CANVAS"){var ge=oe;return oe.toDataURL("image/jpeg",1)}(ge=document.createElement("canvas")).width=oe.clientWidth||oe.width,ge.height=oe.clientHeight||oe.height;var Ae=ge.getContext("2d");if(!Ae)throw"addImage requires canvas to be supported by browser.";return Ae.drawImage(oe,0,0,ge.width,ge.height),ge.toDataURL((""+k).toLowerCase()=="png"?"image/png":"image/jpeg")},st=function(oe,k){var $;if(k){for(var se in k)if(oe===k[se].alias){$=k[se];break}}return $};me.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},me.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},me.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},me.sHashCode=function(ee){var oe,k=0;if((ee=ee||"").length===0)return k;for(oe=0;oe<ee.length;oe++)k=(k<<5)-k+ee.charCodeAt(oe),k|=0;return k},me.isString=function(ee){return typeof ee=="string"},me.validateStringAsBase64=function(ee){(ee=ee||"").toString().trim();var oe=!0;return ee.length===0&&(oe=!1),ee.length%4!=0&&(oe=!1),/^[A-Za-z0-9+\/]+$/.test(ee.substr(0,ee.length-2))===!1&&(oe=!1),/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(ee.substr(-2))===!1&&(oe=!1),oe},me.extractInfoFromBase64DataURI=function(ee){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(ee)},me.extractImageFromDataUrl=function(ee){var oe=(ee=ee||"").split("base64,"),k=null;if(oe.length===2){var $=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(oe[0]);Array.isArray($)&&(k={mimeType:$[1],charset:$[2],data:oe[1]})}return k},me.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},me.isArrayBuffer=function(ee){return!!this.supportsArrayBuffer()&&ee instanceof ArrayBuffer},me.isArrayBufferView=function(ee){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(ee instanceof Int8Array||ee instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&ee instanceof Uint8ClampedArray||ee instanceof Int16Array||ee instanceof Uint16Array||ee instanceof Int32Array||ee instanceof Uint32Array||ee instanceof Float32Array||ee instanceof Float64Array)},me.binaryStringToUint8Array=function(ee){for(var oe=ee.length,k=new Uint8Array(oe),$=0;$<oe;$++)k[$]=ee.charCodeAt($);return k},me.arrayBufferToBinaryString=function(ee){if(typeof atob=="function")return atob(this.arrayBufferToBase64(ee))},me.arrayBufferToBase64=function(ee){for(var oe,k="",$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=new Uint8Array(ee),ge=se.byteLength,Ae=ge%3,Me=ge-Ae,et=0;et<Me;et+=3)k+=$[(16515072&(oe=se[et]<<16|se[et+1]<<8|se[et+2]))>>18]+$[(258048&oe)>>12]+$[(4032&oe)>>6]+$[63&oe];return Ae==1?k+=$[(252&(oe=se[Me]))>>2]+$[(3&oe)<<4]+"==":Ae==2&&(k+=$[(64512&(oe=se[Me]<<8|se[Me+1]))>>10]+$[(1008&oe)>>4]+$[(15&oe)<<2]+"="),k},me.createImageInfo=function(ee,oe,k,$,se,ge,Ae,Me,et,Wt,er,Ct,Ht){var kt={alias:Me,w:oe,h:k,cs:$,bpc:se,i:Ae,data:ee};return ge&&(kt.f=ge),et&&(kt.dp=et),Wt&&(kt.trns=Wt),er&&(kt.pal=er),Ct&&(kt.smask=Ct),Ht&&(kt.p=Ht),kt},me.addImage=function(ee,oe,k,$,se,ge,Ae,Me,et){var Wt="";if(typeof oe!="string"){var er=ge;ge=se,se=$,$=k,k=oe,oe=er}if(m(ee)==="object"&&!Ee(ee)&&"imageData"in ee){var Ct=ee;ee=Ct.imageData,oe=Ct.format||oe||"UNKNOWN",k=Ct.x||k||0,$=Ct.y||$||0,se=Ct.w||se,ge=Ct.h||ge,Ae=Ct.alias||Ae,Me=Ct.compression||Me,et=Ct.rotation||Ct.angle||et}var Ht=this.internal.getFilters();if(Me===void 0&&Ht.indexOf("FlateEncode")!==-1&&(Me="SLOW"),typeof ee=="string"&&(ee=unescape(ee)),isNaN(k)||isNaN($))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var kt,Zt,Et,ur,rr,Ke,nt,Ge=function(){var ct=this.internal.collections[ce+"images"];return ct||(this.internal.collections[ce+"images"]=ct={},this.internal.events.subscribe("putResources",Ce),this.internal.events.subscribe("putXobjectDict",Ie)),ct}.call(this);if(!((kt=st(ee,Ge))||(Ee(ee)&&(ee=He(ee,oe)),((nt=Ae)==null||nt.length===0)&&(Ae=typeof(Ke=ee)=="string"?me.sHashCode(Ke):me.isArrayBufferView(Ke)?me.sHashCode(me.arrayBufferToBinaryString(Ke)):null),kt=st(Ae,Ge)))){if(this.isString(ee)&&((Wt=this.convertStringToImageData(ee))!==""||(Wt=me.loadFile(ee))!==void 0)&&(ee=Wt),oe=this.getImageFileTypeByImageData(ee,oe),!Te(oe))throw new Error("addImage does not support files of type '"+oe+"', please ensure that a plugin for '"+oe+"' support is added.");if(this.supportsArrayBuffer()&&(ee instanceof Uint8Array||(Zt=ee,ee=this.binaryStringToUint8Array(ee))),!(kt=this["process"+oe.toUpperCase()](ee,(rr=0,(ur=Ge)&&(rr=Object.keys?Object.keys(ur).length:function(ct){var ht=0;for(var ut in ct)ct.hasOwnProperty(ut)&&ht++;return ht}(ur)),rr),Ae,((Et=Me)&&typeof Et=="string"&&(Et=Et.toUpperCase()),Et in me.image_compression?Et:me.image_compression.NONE),Zt)))throw new Error("An unknown error occurred whilst processing the image")}return function(ct,ht,ut,We,tt,ft,Yt,Dt){var vr=function(Vr,Or,nr){return Vr||Or||(Or=Vr=-96),Vr<0&&(Vr=-1*nr.w*72/Vr/this.internal.scaleFactor),Or<0&&(Or=-1*nr.h*72/Or/this.internal.scaleFactor),Vr===0&&(Vr=Or*nr.w/nr.h),Or===0&&(Or=Vr*nr.h/nr.w),[Vr,Or]}.call(this,ut,We,tt),yr=this.internal.getCoordinateString,Dr=this.internal.getVerticalCoordinateString;if(ut=vr[0],We=vr[1],Yt[ft]=tt,Dt){Dt*=Math.PI/180;var Rr=Math.cos(Dt),Jr=Math.sin(Dt),$r=function(Or){return Or.toFixed(4)},xr=[$r(Rr),$r(Jr),$r(-1*Jr),$r(Rr),0,0,"cm"]}this.internal.write("q"),Dt?(this.internal.write([1,"0","0",1,yr(ct),Dr(ht+We),"cm"].join(" ")),this.internal.write(xr.join(" ")),this.internal.write([yr(ut),"0","0",yr(We),"0","0","cm"].join(" "))):this.internal.write([yr(ut),"0","0",yr(We),yr(ct),Dr(ht+We),"cm"].join(" ")),this.internal.write("/I"+tt.i+" Do"),this.internal.write("Q")}.call(this,k,$,se,ge,kt,kt.i,Ge,et),this},me.convertStringToImageData=function(ee){var oe,k="";if(this.isString(ee)){var $;oe=($=this.extractImageFromDataUrl(ee))!==null?$.data:ee;try{k=atob(oe)}catch(se){throw me.validateStringAsBase64(oe)?new Error("atob-Error in jsPDF.convertStringToImageData "+se.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return k};var vt=function(oe,k){return oe.subarray(k,k+5)};me.processJPEG=function(ee,oe,k,$,se,ge){var Ae,Me=this.decode.DCT_DECODE;if(!this.isString(ee)&&!this.isArrayBuffer(ee)&&!this.isArrayBufferView(ee))return null;if(this.isString(ee)&&(Ae=function(et){var Wt;if(de(et)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var er=256*et.charCodeAt(4)+et.charCodeAt(5),Ct=4,Ht=et.length;Ct<Ht;){if(Ct+=er,et.charCodeAt(Ct)!==255)throw new Error("getJpegSize could not find the size of the image");if(et.charCodeAt(Ct+1)===192||et.charCodeAt(Ct+1)===193||et.charCodeAt(Ct+1)===194||et.charCodeAt(Ct+1)===195||et.charCodeAt(Ct+1)===196||et.charCodeAt(Ct+1)===197||et.charCodeAt(Ct+1)===198||et.charCodeAt(Ct+1)===199)return Wt=256*et.charCodeAt(Ct+5)+et.charCodeAt(Ct+6),[256*et.charCodeAt(Ct+7)+et.charCodeAt(Ct+8),Wt,et.charCodeAt(Ct+9)];Ct+=2,er=256*et.charCodeAt(Ct)+et.charCodeAt(Ct+1)}}(ee)),this.isArrayBuffer(ee)&&(ee=new Uint8Array(ee)),this.isArrayBufferView(ee)&&(Ae=function(et){if((et[0]<<8|et[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var Wt,er=et.length,Ct=(et[4]<<8)+et[5],Ht=4;Ht<er;){if(Ct=((Wt=vt(et,Ht+=Ct))[2]<<8)+Wt[3],(Wt[1]===192||Wt[1]===194)&&Wt[0]===255&&7<Ct)return{width:((Wt=vt(et,Ht+5))[2]<<8)+Wt[3],height:(Wt[0]<<8)+Wt[1],numcomponents:Wt[4]};Ht+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(ee),ee=se||this.arrayBufferToBinaryString(ee)),ge===void 0)switch(Ae.numcomponents){case 1:ge=this.color_spaces.DEVICE_GRAY;break;case 4:ge=this.color_spaces.DEVICE_CMYK;break;default:case 3:ge=this.color_spaces.DEVICE_RGB}return this.createImageInfo(ee,Ae.width,Ae.height,ge,8,Me,oe,k)},me.processJPG=function(){return this.processJPEG.apply(this,arguments)},me.getImageProperties=function(ee){var oe,k,$="";if(Ee(ee)&&(ee=He(ee)),this.isString(ee)&&(($=this.convertStringToImageData(ee))!==""||($=me.loadFile(ee))!==void 0)&&(ee=$),k=this.getImageFileTypeByImageData(ee),!Te(k))throw new Error("addImage does not support files of type '"+k+"', please ensure that a plugin for '"+k+"' support is added.");if(this.supportsArrayBuffer()&&(ee instanceof Uint8Array||(ee=this.binaryStringToUint8Array(ee))),!(oe=this["process"+k.toUpperCase()](ee)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:k,width:oe.w,height:oe.h,colorSpace:oe.cs,compressionMode:oe.f,bitsPerComponent:oe.bpc}}}(Tt.API),y=Tt.API,Tt.API.events.push(["addPage",function(me){this.internal.getPageInfo(me.pageNumber).pageContext.annotations=[]}]),y.events.push(["putPage",function(me){for(var ce=this.internal.getPageInfoByObjId(me.objId),ae=me.pageContext.annotations,de=function(Me){if(Me!==void 0&&Me!="")return!0},Se=!1,Ce=0;Ce<ae.length&&!Se;Ce++)switch((Ee=ae[Ce]).type){case"link":if(de(Ee.options.url)||de(Ee.options.pageNumber)){Se=!0;break}case"reference":case"text":case"freetext":Se=!0}if(Se!=0){this.internal.write("/Annots ["),this.internal.pageSize.height;var Ie=this.internal.getCoordinateString,Te=this.internal.getVerticalCoordinateString;for(Ce=0;Ce<ae.length;Ce++){var Ee;switch((Ee=ae[Ce]).type){case"reference":this.internal.write(" "+Ee.object.objId+" 0 R ");break;case"text":var He=this.internal.newAdditionalObject(),st=this.internal.newAdditionalObject(),vt=Ee.title||"Note";se="<</Type /Annot /Subtype /Text "+(oe="/Rect ["+Ie(Ee.bounds.x)+" "+Te(Ee.bounds.y+Ee.bounds.h)+" "+Ie(Ee.bounds.x+Ee.bounds.w)+" "+Te(Ee.bounds.y)+"] ")+"/Contents ("+Ee.contents+")",se+=" /Popup "+st.objId+" 0 R",se+=" /P "+ce.objId+" 0 R",se+=" /T ("+vt+") >>",He.content=se;var ee=He.objId+" 0 R";se="<</Type /Annot /Subtype /Popup "+(oe="/Rect ["+Ie(Ee.bounds.x+30)+" "+Te(Ee.bounds.y+Ee.bounds.h)+" "+Ie(Ee.bounds.x+Ee.bounds.w+30)+" "+Te(Ee.bounds.y)+"] ")+" /Parent "+ee,Ee.open&&(se+=" /Open true"),se+=" >>",st.content=se,this.internal.write(He.objId,"0 R",st.objId,"0 R");break;case"freetext":var oe="/Rect ["+Ie(Ee.bounds.x)+" "+Te(Ee.bounds.y)+" "+Ie(Ee.bounds.x+Ee.bounds.w)+" "+Te(Ee.bounds.y+Ee.bounds.h)+"] ",k=Ee.color||"#000000";se="<</Type /Annot /Subtype /FreeText "+oe+"/Contents ("+Ee.contents+")",se+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+k+")",se+=" /Border [0 0 0]",se+=" >>",this.internal.write(se);break;case"link":if(Ee.options.name){var $=this.annotations._nameMap[Ee.options.name];Ee.options.pageNumber=$.page,Ee.options.top=$.y}else Ee.options.top||(Ee.options.top=0);oe="/Rect ["+Ie(Ee.x)+" "+Te(Ee.y)+" "+Ie(Ee.x+Ee.w)+" "+Te(Ee.y+Ee.h)+"] ";var se="";if(Ee.options.url)se="<</Type /Annot /Subtype /Link "+oe+"/Border [0 0 0] /A <</S /URI /URI ("+Ee.options.url+") >>";else if(Ee.options.pageNumber)switch(se="<</Type /Annot /Subtype /Link "+oe+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Ee.options.pageNumber).objId+" 0 R",Ee.options.magFactor=Ee.options.magFactor||"XYZ",Ee.options.magFactor){case"Fit":se+=" /Fit]";break;case"FitH":se+=" /FitH "+Ee.options.top+"]";break;case"FitV":Ee.options.left=Ee.options.left||0,se+=" /FitV "+Ee.options.left+"]";break;case"XYZ":default:var ge=Te(Ee.options.top);Ee.options.left=Ee.options.left||0,Ee.options.zoom===void 0&&(Ee.options.zoom=0),se+=" /XYZ "+Ee.options.left+" "+ge+" "+Ee.options.zoom+"]"}se!=""&&(se+=" >>",this.internal.write(se))}}this.internal.write("]")}}]),y.createAnnotation=function(me){var ce=this.internal.getCurrentPageInfo();switch(me.type){case"link":this.link(me.bounds.x,me.bounds.y,me.bounds.w,me.bounds.h,me);break;case"text":case"freetext":ce.pageContext.annotations.push(me)}},y.link=function(me,ce,ae,de,Se){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:me,y:ce,w:ae,h:de,options:Se,type:"link"})},y.textWithLink=function(me,ce,ae,de){var Se=this.getTextWidth(me),Ce=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(me,ce,ae),ae+=.2*Ce,this.link(ce,ae-Ce,Se,Ce,de),Se},y.getTextWidth=function(me){var ce=this.internal.getFontSize();return this.getStringUnitWidth(me)*ce/this.internal.scaleFactor},function(me){var ce={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},ae={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},de={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Se=[1570,1571,1573,1575];me.__arabicParser__={};var Ce=me.__arabicParser__.isInArabicSubstitutionA=function(k){return ce[k.charCodeAt(0)]!==void 0},Ie=me.__arabicParser__.isArabicLetter=function(k){return typeof k=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(k)},Te=me.__arabicParser__.isArabicEndLetter=function(k){return Ie(k)&&Ce(k)&&ce[k.charCodeAt(0)].length<=2},Ee=me.__arabicParser__.isArabicAlfLetter=function(k){return Ie(k)&&0<=Se.indexOf(k.charCodeAt(0))},He=(me.__arabicParser__.arabicLetterHasIsolatedForm=function(k){return Ie(k)&&Ce(k)&&1<=ce[k.charCodeAt(0)].length},me.__arabicParser__.arabicLetterHasFinalForm=function(k){return Ie(k)&&Ce(k)&&2<=ce[k.charCodeAt(0)].length}),st=(me.__arabicParser__.arabicLetterHasInitialForm=function(k){return Ie(k)&&Ce(k)&&3<=ce[k.charCodeAt(0)].length},me.__arabicParser__.arabicLetterHasMedialForm=function(k){return Ie(k)&&Ce(k)&&ce[k.charCodeAt(0)].length==4}),vt=me.__arabicParser__.resolveLigatures=function(k){var $=0,se=ae,ge=0,Ae="",Me=0;for($=0;$<k.length;$+=1)se[k.charCodeAt($)]!==void 0?(Me++,typeof(se=se[k.charCodeAt($)])=="number"&&(ge=(ge=ee(k.charAt($),k.charAt($-Me),k.charAt($+1)))!==-1?ge:0,Ae+=String.fromCharCode(se),se=ae,Me=0),$===k.length-1&&(se=ae,Ae+=k.charAt($-(Me-1)),$-=Me-1,Me=0)):(se=ae,Ae+=k.charAt($-Me),$-=Me,Me=0);return Ae},ee=(me.__arabicParser__.isArabicDiacritic=function(k){return k!==void 0&&de[k.charCodeAt(0)]!==void 0},me.__arabicParser__.getCorrectForm=function(k,$,se){return Ie(k)?Ce(k)===!1?-1:!He(k)||!Ie($)&&!Ie(se)||!Ie(se)&&Te($)||Te(k)&&!Ie($)||Te(k)&&Ee($)||Te(k)&&Te($)?0:st(k)&&Ie($)&&!Te($)&&Ie(se)&&He(se)?3:Te(k)||!Ie(se)?1:2:-1}),oe=me.__arabicParser__.processArabic=me.processArabic=function(k){var $=0,se=0,ge=0,Ae="",Me="",et="",Wt=(k=k||"").split("\\s+"),er=[];for($=0;$<Wt.length;$+=1){for(er.push(""),se=0;se<Wt[$].length;se+=1)Ae=Wt[$][se],Me=Wt[$][se-1],et=Wt[$][se+1],Ie(Ae)?(ge=ee(Ae,Me,et),er[$]+=ge!==-1?String.fromCharCode(ce[Ae.charCodeAt(0)][ge]):Ae):er[$]+=Ae;er[$]=vt(er[$])}return er.join(" ")};me.events.push(["preProcessText",function(k){var $=k.text,se=(k.x,k.y,k.options||{}),ge=(k.mutex,se.lang,[]);if(Object.prototype.toString.call($)==="[object Array]"){var Ae=0;for(ge=[],Ae=0;Ae<$.length;Ae+=1)Object.prototype.toString.call($[Ae])==="[object Array]"?ge.push([oe($[Ae][0]),$[Ae][1],$[Ae][2]]):ge.push([oe($[Ae])]);k.text=ge}else k.text=oe($)}])}(Tt.API),Tt.API.autoPrint=function(me){var ce;switch((me=me||{}).variant=me.variant||"non-conform",me.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){ce=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+ce+" 0 R")})}return this},w=Tt.API,(f=function(){var ce=void 0;Object.defineProperty(this,"pdf",{get:function(){return ce},set:function(Te){ce=Te}});var ae=150;Object.defineProperty(this,"width",{get:function(){return ae},set:function(Te){ae=isNaN(Te)||Number.isInteger(Te)===!1||Te<0?150:Te,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=ae+1)}});var de=300;Object.defineProperty(this,"height",{get:function(){return de},set:function(Te){de=isNaN(Te)||Number.isInteger(Te)===!1||Te<0?300:Te,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=de+1)}});var Se=[];Object.defineProperty(this,"childNodes",{get:function(){return Se},set:function(Te){Se=Te}});var Ce={};Object.defineProperty(this,"style",{get:function(){return Ce},set:function(Te){Ce=Te}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(me,ce){var ae;if((me=me||"2d")!=="2d")return null;for(ae in ce)this.pdf.context2d.hasOwnProperty(ae)&&(this.pdf.context2d[ae]=ce[ae]);return(this.pdf.context2d._canvas=this).pdf.context2d},f.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},w.events.push(["initialized",function(){this.canvas=new f,this.canvas.pdf=this}]),a=Tt.API,o={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1,l=function(ce,ae,de,Se,Ce){o={x:ce,y:ae,w:de,h:Se,ln:Ce}},n=function(){return o},c={left:0,top:0,bottom:0},a.setHeaderFunction=function(me){t=me},a.getTextDimensions=function(me,ce){var ae=this.table_font_size||this.internal.getFontSize(),de=(this.internal.getFont().fontStyle,(ce=ce||{}).scaleFactor||this.internal.scaleFactor),Se=0,Ce=0,Ie=0;if(typeof me=="string")(Se=this.getStringUnitWidth(me)*ae)!=0&&(Ce=1);else{if(Object.prototype.toString.call(me)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var Te=0;Te<me.length;Te++)Se<(Ie=this.getStringUnitWidth(me[Te])*ae)&&(Se=Ie);Se!==0&&(Ce=me.length)}return{w:Se/=de,h:Math.max((Ce*ae*this.getLineHeightFactor()-ae*(this.getLineHeightFactor()-1))/de,0)}},a.cellAddPage=function(){var me=this.margins||c;this.addPage(),l(me.left,me.top,void 0,void 0),s+=1},a.cellInitialize=function(){o={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1},a.cell=function(me,ce,ae,de,Se,Ce,Ie){var Te=n(),Ee=!1;if(Te.ln!==void 0)if(Te.ln===Ce)me=Te.x+Te.w,ce=Te.y;else{var He=this.margins||c;Te.y+Te.h+de+13>=this.internal.pageSize.getHeight()-He.bottom&&(this.cellAddPage(),Ee=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(Ce,!0)),ce=n().y+n().h,Ee&&(ce=23)}if(Se[0]!==void 0)if(this.printingHeaderRow?this.rect(me,ce,ae,de,"FD"):this.rect(me,ce,ae,de),Ie==="right"){Se instanceof Array||(Se=[Se]);for(var st=0;st<Se.length;st++){var vt=Se[st],ee=this.getStringUnitWidth(vt)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(vt,me+ae-ee-3,ce+this.internal.getLineHeight()*(st+1))}}else this.text(Se,me+3,ce+this.internal.getLineHeight());return l(me,ce,ae,de,Ce),this},a.arrayMax=function(me,ce){var ae,de,Se,Ce=me[0];for(ae=0,de=me.length;ae<de;ae+=1)Se=me[ae],ce?ce(Ce,Se)===-1&&(Ce=Se):Ce<Se&&(Ce=Se);return Ce},a.table=function(me,ce,ae,de,Se){if(!ae)throw"No data for PDF table";var Ce,Ie,Te,Ee,He,st,vt,ee,oe,k,$=[],se=[],ge={},Ae={},Me=[],et=[],Wt=!1,er=!0,Ct=12,Ht=c;if(Ht.width=this.internal.pageSize.getWidth(),Se&&(Se.autoSize===!0&&(Wt=!0),Se.printHeaders===!1&&(er=!1),Se.fontSize&&(Ct=Se.fontSize),Se.css&&Se.css["font-size"]!==void 0&&(Ct=16*Se.css["font-size"]),Se.margins&&(Ht=Se.margins)),this.lnMod=0,o={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1,this.printHeaders=er,this.margins=Ht,this.setFontSize(Ct),this.table_font_size=Ct,de==null)$=Object.keys(ae[0]);else if(de[0]&&typeof de[0]!="string")for(Ie=0,Te=de.length;Ie<Te;Ie+=1)Ce=de[Ie],$.push(Ce.name),se.push(Ce.prompt),Ae[Ce.name]=Ce.width*(19.049976/25.4);else $=de;if(Wt)for(k=function(Et){return Et[Ce]},Ie=0,Te=$.length;Ie<Te;Ie+=1){for(ge[Ce=$[Ie]]=ae.map(k),Me.push(this.getTextDimensions(se[Ie]||Ce,{scaleFactor:1}).w),vt=0,Ee=(st=ge[Ce]).length;vt<Ee;vt+=1)He=st[vt],Me.push(this.getTextDimensions(He,{scaleFactor:1}).w);Ae[Ce]=a.arrayMax(Me),Me=[]}if(er){var kt=this.calculateLineHeight($,Ae,se.length?se:$);for(Ie=0,Te=$.length;Ie<Te;Ie+=1)Ce=$[Ie],et.push([me,ce,Ae[Ce],kt,String(se.length?se[Ie]:Ce)]);this.setTableHeaderRow(et),this.printHeaderRow(1,!1)}for(Ie=0,Te=ae.length;Ie<Te;Ie+=1)for(ee=ae[Ie],kt=this.calculateLineHeight($,Ae,ee),vt=0,oe=$.length;vt<oe;vt+=1)Ce=$[vt],this.cell(me,ce,Ae[Ce],kt,ee[Ce],Ie+2,Ce.align);return this.lastCellPos=o,this.table_x=me,this.table_y=ce,this},a.calculateLineHeight=function(me,ce,ae){for(var de,Se=0,Ce=0;Ce<me.length;Ce++){ae[de=me[Ce]]=this.splitTextToSize(String(ae[de]),ce[de]-3);var Ie=this.internal.getLineHeight()*ae[de].length+3;Se<Ie&&(Se=Ie)}return Se},a.setTableHeaderRow=function(me){this.tableHeaderRow=me},a.printHeaderRow=function(me,ce){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var ae,de,Se,Ce;if(this.printingHeaderRow=!0,t!==void 0){var Ie=t(this,s);l(Ie[0],Ie[1],Ie[2],Ie[3],-1)}this.setFontStyle("bold");var Te=[];for(Se=0,Ce=this.tableHeaderRow.length;Se<Ce;Se+=1)this.setFillColor(200,200,200),ae=this.tableHeaderRow[Se],ce&&(this.margins.top=13,ae[1]=this.margins&&this.margins.top||0,Te.push(ae)),de=[].concat(ae),this.cell.apply(this,de.concat(me));0<Te.length&&this.setTableHeaderRow(Te),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(me,ce){var ae,de,Se,Ce,Ie,Te=function(We){return We=We||{},this.isStrokeTransparent=We.isStrokeTransparent||!1,this.strokeOpacity=We.strokeOpacity||1,this.strokeStyle=We.strokeStyle||"#000000",this.fillStyle=We.fillStyle||"#000000",this.isFillTransparent=We.isFillTransparent||!1,this.fillOpacity=We.fillOpacity||1,this.font=We.font||"10px sans-serif",this.textBaseline=We.textBaseline||"alphabetic",this.textAlign=We.textAlign||"left",this.lineWidth=We.lineWidth||1,this.lineJoin=We.lineJoin||"miter",this.lineCap=We.lineCap||"butt",this.path=We.path||[],this.transform=We.transform!==void 0?We.transform.clone():new ht,this.globalCompositeOperation=We.globalCompositeOperation||"normal",this.globalAlpha=We.globalAlpha||1,this.clip_path=We.clip_path||[],this.currentPoint=We.currentPoint||new Ge,this.miterLimit=We.miterLimit||10,this.lastPoint=We.lastPoint||new Ge,this.ignoreClearRect=typeof We.ignoreClearRect!="boolean"||We.ignoreClearRect,this};me.events.push(["initialized",function(){this.context2d=new Ee(this),ae=this.internal.f2,this.internal.f3,de=this.internal.getCoordinateString,Se=this.internal.getVerticalCoordinateString,Ce=this.internal.getHorizontalCoordinate,Ie=this.internal.getVerticalCoordinate}]);var Ee=function(We){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return We}});var tt=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return tt},set:function(xr){tt=Boolean(xr)}});var ft=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return ft},set:function(xr){ft=Boolean(xr)}});var Yt=0;Object.defineProperty(this,"posX",{get:function(){return Yt},set:function(xr){isNaN(xr)||(Yt=xr)}});var Dt=0;Object.defineProperty(this,"posY",{get:function(){return Dt},set:function(xr){isNaN(xr)||(Dt=xr)}});var vr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return vr},set:function(xr){vr=Boolean(xr)}});var yr=0;Object.defineProperty(this,"lastBreak",{get:function(){return yr},set:function(xr){yr=xr}});var Dr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Dr},set:function(xr){Dr=xr}});var Rr=new Te;Object.defineProperty(this,"ctx",{get:function(){return Rr},set:function(xr){xr instanceof Te&&(Rr=xr)}}),Object.defineProperty(this,"path",{get:function(){return Rr.path},set:function(xr){Rr.path=xr}});var Jr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Jr},set:function(xr){Jr=xr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(xr){var Vr;Vr=He(xr),this.ctx.fillStyle=Vr.style,this.ctx.isFillTransparent=Vr.a===0,this.ctx.fillOpacity=Vr.a,this.pdf.setFillColor(Vr.r,Vr.g,Vr.b,{a:Vr.a}),this.pdf.setTextColor(Vr.r,Vr.g,Vr.b,{a:Vr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(xr){var Vr=He(xr);this.ctx.strokeStyle=Vr.style,this.ctx.isStrokeTransparent=Vr.a===0,this.ctx.strokeOpacity=Vr.a,Vr.a===0?this.pdf.setDrawColor(255,255,255):(Vr.a,this.pdf.setDrawColor(Vr.r,Vr.g,Vr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(xr){["butt","round","square"].indexOf(xr)!==-1&&(this.ctx.lineCap=xr,this.pdf.setLineCap(xr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(xr){isNaN(xr)||(this.ctx.lineWidth=xr,this.pdf.setLineWidth(xr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(xr){["bevel","round","miter"].indexOf(xr)!==-1&&(this.ctx.lineJoin=xr,this.pdf.setLineJoin(xr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(xr){isNaN(xr)||(this.ctx.miterLimit=xr,this.pdf.setMiterLimit(xr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(xr){this.ctx.textBaseline=xr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(xr){["right","end","center","left","start"].indexOf(xr)!==-1&&(this.ctx.textAlign=xr)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(xr){var Vr;if(this.ctx.font=xr,(Vr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(xr))!==null){var Or=Vr[1],nr=(Vr[2],Vr[3]),pr=Vr[4],dr=Vr[5],fr=Vr[6];pr=dr==="px"?Math.floor(parseFloat(pr)):dr==="em"?Math.floor(parseFloat(pr)*this.pdf.getFontSize()):Math.floor(parseFloat(pr)),this.pdf.setFontSize(pr);var _r="";(nr==="bold"||700<=parseInt(nr,10)||Or==="bold")&&(_r="bold"),Or==="italic"&&(_r+="italic"),_r.length===0&&(_r="normal");for(var Zr="",on=fr.toLowerCase().replace(/"|'/g,"").split(/\s*,\s*/),jn={arial:"Helvetica",verdana:"Helvetica",helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",courier:"Courier",times:"Times",cursive:"Times",fantasy:"Times",serif:"Times"},Ur=0;Ur<on.length;Ur++){if(this.pdf.internal.getFont(on[Ur],_r,{noFallback:!0,disableWarning:!0})!==void 0){Zr=on[Ur];break}if(_r==="bolditalic"&&this.pdf.internal.getFont(on[Ur],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Zr=on[Ur],_r="bold";else if(this.pdf.internal.getFont(on[Ur],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Zr=on[Ur],_r="normal";break}}if(Zr===""){for(Ur=0;Ur<on.length;Ur++)if(jn[on[Ur]]){Zr=jn[on[Ur]];break}}Zr=Zr===""?"Times":Zr,this.pdf.setFont(Zr,_r)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(xr){this.ctx.globalCompositeOperation=xr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(xr){this.ctx.globalAlpha=xr}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(xr){this.ctx.ignoreClearRect=Boolean(xr)}})};Ee.prototype.fill=function(){$.call(this,"fill",!1)},Ee.prototype.stroke=function(){$.call(this,"stroke",!1)},Ee.prototype.beginPath=function(){this.path=[{type:"begin"}]},Ee.prototype.moveTo=function(ut,We){if(isNaN(ut)||isNaN(We))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var tt=this.ctx.transform.applyToPoint(new Ge(ut,We));this.path.push({type:"mt",x:tt.x,y:tt.y}),this.ctx.lastPoint=new Ge(ut,We)},Ee.prototype.closePath=function(){var ut=new Ge(0,0),We=0;for(We=this.path.length-1;We!==-1;We--)if(this.path[We].type==="begin"&&m(this.path[We+1])==="object"&&typeof this.path[We+1].x=="number"){ut=new Ge(this.path[We+1].x,this.path[We+1].y),this.path.push({type:"lt",x:ut.x,y:ut.y});break}m(this.path[We+2])==="object"&&typeof this.path[We+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[We+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new Ge(ut.x,ut.y)},Ee.prototype.lineTo=function(ut,We){if(isNaN(ut)||isNaN(We))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var tt=this.ctx.transform.applyToPoint(new Ge(ut,We));this.path.push({type:"lt",x:tt.x,y:tt.y}),this.ctx.lastPoint=new Ge(tt.x,tt.y)},Ee.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),$.call(this,null,!0)},Ee.prototype.quadraticCurveTo=function(ut,We,tt,ft){if(isNaN(tt)||isNaN(ft)||isNaN(ut)||isNaN(We))throw console.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Yt=this.ctx.transform.applyToPoint(new Ge(tt,ft)),Dt=this.ctx.transform.applyToPoint(new Ge(ut,We));this.path.push({type:"qct",x1:Dt.x,y1:Dt.y,x:Yt.x,y:Yt.y}),this.ctx.lastPoint=new Ge(Yt.x,Yt.y)},Ee.prototype.bezierCurveTo=function(ut,We,tt,ft,Yt,Dt){if(isNaN(Yt)||isNaN(Dt)||isNaN(ut)||isNaN(We)||isNaN(tt)||isNaN(ft))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var vr=this.ctx.transform.applyToPoint(new Ge(Yt,Dt)),yr=this.ctx.transform.applyToPoint(new Ge(ut,We)),Dr=this.ctx.transform.applyToPoint(new Ge(tt,ft));this.path.push({type:"bct",x1:yr.x,y1:yr.y,x2:Dr.x,y2:Dr.y,x:vr.x,y:vr.y}),this.ctx.lastPoint=new Ge(vr.x,vr.y)},Ee.prototype.arc=function(ut,We,tt,ft,Yt,Dt){if(isNaN(ut)||isNaN(We)||isNaN(tt)||isNaN(ft)||isNaN(Yt))throw console.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Dt=Boolean(Dt),!this.ctx.transform.isIdentity){var vr=this.ctx.transform.applyToPoint(new Ge(ut,We));ut=vr.x,We=vr.y;var yr=this.ctx.transform.applyToPoint(new Ge(0,tt)),Dr=this.ctx.transform.applyToPoint(new Ge(0,0));tt=Math.sqrt(Math.pow(yr.x-Dr.x,2)+Math.pow(yr.y-Dr.y,2))}Math.abs(Yt-ft)>=2*Math.PI&&(ft=0,Yt=2*Math.PI),this.path.push({type:"arc",x:ut,y:We,radius:tt,startAngle:ft,endAngle:Yt,counterclockwise:Dt})},Ee.prototype.arcTo=function(ut,We,tt,ft,Yt){throw new Error("arcTo not implemented.")},Ee.prototype.rect=function(ut,We,tt,ft){if(isNaN(ut)||isNaN(We)||isNaN(tt)||isNaN(ft))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ut,We),this.lineTo(ut+tt,We),this.lineTo(ut+tt,We+ft),this.lineTo(ut,We+ft),this.lineTo(ut,We),this.lineTo(ut+tt,We),this.lineTo(ut,We)},Ee.prototype.fillRect=function(ut,We,tt,ft){if(isNaN(ut)||isNaN(We)||isNaN(tt)||isNaN(ft))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!st.call(this)){var Yt={};this.lineCap!=="butt"&&(Yt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Yt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ut,We,tt,ft),this.fill(),Yt.hasOwnProperty("lineCap")&&(this.lineCap=Yt.lineCap),Yt.hasOwnProperty("lineJoin")&&(this.lineJoin=Yt.lineJoin)}},Ee.prototype.strokeRect=function(ut,We,tt,ft){if(isNaN(ut)||isNaN(We)||isNaN(tt)||isNaN(ft))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");vt.call(this)||(this.beginPath(),this.rect(ut,We,tt,ft),this.stroke())},Ee.prototype.clearRect=function(ut,We,tt,ft){if(isNaN(ut)||isNaN(We)||isNaN(tt)||isNaN(ft))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ut,We,tt,ft))},Ee.prototype.save=function(ut){ut=typeof ut!="boolean"||ut;for(var We=this.pdf.internal.getCurrentPageInfo().pageNumber,tt=0;tt<this.pdf.internal.getNumberOfPages();tt++)this.pdf.setPage(tt+1),this.pdf.internal.out("q");if(this.pdf.setPage(We),ut){this.ctx.fontSize=this.pdf.internal.getFontSize();var ft=new Te(this.ctx);this.ctxStack.push(this.ctx),this.ctx=ft}},Ee.prototype.restore=function(ut){ut=typeof ut!="boolean"||ut;for(var We=this.pdf.internal.getCurrentPageInfo().pageNumber,tt=0;tt<this.pdf.internal.getNumberOfPages();tt++)this.pdf.setPage(tt+1),this.pdf.internal.out("Q");this.pdf.setPage(We),ut&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},Ee.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var He=function(We){var tt,ft,Yt,Dt;if(We.isCanvasGradient===!0&&(We=We.getColor()),!We)return{r:0,g:0,b:0,a:0,style:We};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(We))Dt=Yt=ft=tt=0;else{var vr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(We);if(vr!==null)tt=parseInt(vr[1]),ft=parseInt(vr[2]),Yt=parseInt(vr[3]),Dt=1;else if((vr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(We))!==null)tt=parseInt(vr[1]),ft=parseInt(vr[2]),Yt=parseInt(vr[3]),Dt=parseFloat(vr[4]);else{if(Dt=1,typeof We=="string"&&We.charAt(0)!=="#"){var yr=new RGBColor(We);We=yr.ok?yr.toHex():"#000000"}We.length===4?(tt=We.substring(1,2),tt+=tt,ft=We.substring(2,3),ft+=ft,Yt=We.substring(3,4),Yt+=Yt):(tt=We.substring(1,3),ft=We.substring(3,5),Yt=We.substring(5,7)),tt=parseInt(tt,16),ft=parseInt(ft,16),Yt=parseInt(Yt,16)}}return{r:tt,g:ft,b:Yt,a:Dt,style:We}},st=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},vt=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Ee.prototype.fillText=function(ut,We,tt,ft){if(isNaN(We)||isNaN(tt)||typeof ut!="string")throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(ft=isNaN(ft)?void 0:ft,!st.call(this)){tt=ge.call(this,tt);var Yt=ur(this.ctx.transform.rotation),Dt=this.ctx.transform.scaleX;er.call(this,{text:ut,x:We,y:tt,scale:Dt,angle:Yt,align:this.textAlign,maxWidth:ft})}},Ee.prototype.strokeText=function(ut,We,tt,ft){if(isNaN(We)||isNaN(tt)||typeof ut!="string")throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!vt.call(this)){ft=isNaN(ft)?void 0:ft,tt=ge.call(this,tt);var Yt=ur(this.ctx.transform.rotation),Dt=this.ctx.transform.scaleX;er.call(this,{text:ut,x:We,y:tt,scale:Dt,renderingMode:"stroke",angle:Yt,align:this.textAlign,maxWidth:ft})}},Ee.prototype.measureText=function(ut){if(typeof ut!="string")throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var We=this.pdf,tt=this.pdf.internal.scaleFactor,ft=We.internal.getFontSize(),Yt=We.getStringUnitWidth(ut)*ft/We.internal.scaleFactor;return new function(Dt){var vr=(Dt=Dt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return vr}}),this}({width:Yt*=Math.round(96*tt/72*1e4)/1e4})},Ee.prototype.scale=function(ut,We){if(isNaN(ut)||isNaN(We))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var tt=new ht(ut,0,0,We,0,0);this.ctx.transform=this.ctx.transform.multiply(tt)},Ee.prototype.rotate=function(ut){if(isNaN(ut))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var We=new ht(Math.cos(ut),Math.sin(ut),-Math.sin(ut),Math.cos(ut),0,0);this.ctx.transform=this.ctx.transform.multiply(We)},Ee.prototype.translate=function(ut,We){if(isNaN(ut)||isNaN(We))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var tt=new ht(1,0,0,1,ut,We);this.ctx.transform=this.ctx.transform.multiply(tt)},Ee.prototype.transform=function(ut,We,tt,ft,Yt,Dt){if(isNaN(ut)||isNaN(We)||isNaN(tt)||isNaN(ft)||isNaN(Yt)||isNaN(Dt))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var vr=new ht(ut,We,tt,ft,Yt,Dt);this.ctx.transform=this.ctx.transform.multiply(vr)},Ee.prototype.setTransform=function(ut,We,tt,ft,Yt,Dt){ut=isNaN(ut)?1:ut,We=isNaN(We)?0:We,tt=isNaN(tt)?0:tt,ft=isNaN(ft)?1:ft,Yt=isNaN(Yt)?0:Yt,Dt=isNaN(Dt)?0:Dt,this.ctx.transform=new ht(ut,We,tt,ft,Yt,Dt)},Ee.prototype.drawImage=function(ut,We,tt,ft,Yt,Dt,vr,yr,Dr){var Rr=this.pdf.getImageProperties(ut),Jr=1,$r=1,xr=1,Vr=1;ft!==void 0&&yr!==void 0&&(xr=yr/ft,Vr=Dr/Yt,Jr=Rr.width/ft*yr/ft,$r=Rr.height/Yt*Dr/Yt),Dt===void 0&&(Dt=We,vr=tt,tt=We=0),ft!==void 0&&yr===void 0&&(yr=ft,Dr=Yt),ft===void 0&&yr===void 0&&(yr=Rr.width,Dr=Rr.height);var Or=this.ctx.transform.decompose(),nr=ur(Or.rotate.shx);Or.scale.sx,Or.scale.sy;for(var pr,dr=new ht,fr=((dr=(dr=(dr=dr.multiply(Or.translate)).multiply(Or.skew)).multiply(Or.scale)).applyToPoint(new Ge(yr,Dr)),dr.applyToRectangle(new ct(Dt-We*xr,vr-tt*Vr,ft*Jr,Yt*$r))),_r=ee.call(this,fr),Zr=[],on=0;on<_r.length;on+=1)Zr.indexOf(_r[on])===-1&&Zr.push(_r[on]);if(Zr.sort(),this.autoPaging)for(var jn=Zr[0],Ur=Zr[Zr.length-1],En=jn;En<Ur+1;En++){if(this.pdf.setPage(En),this.ctx.clip_path.length!==0){var pn=this.path;pr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=k(pr,this.posX,-1*this.pdf.internal.pageSize.height*(En-1)+this.posY),se.call(this,"fill",!0),this.path=pn}var On=JSON.parse(JSON.stringify(fr));On=k([On],this.posX,-1*this.pdf.internal.pageSize.height*(En-1)+this.posY)[0],this.pdf.addImage(ut,"jpg",On.x,On.y,On.w,On.h,null,null,nr)}else this.pdf.addImage(ut,"jpg",fr.x,fr.y,fr.w,fr.h,null,null,nr)};var ee=function(We,tt,ft){var Yt=[];switch(tt=tt||this.pdf.internal.pageSize.width,ft=ft||this.pdf.internal.pageSize.height,We.type){default:case"mt":case"lt":Yt.push(Math.floor((We.y+this.posY)/ft)+1);break;case"arc":Yt.push(Math.floor((We.y+this.posY-We.radius)/ft)+1),Yt.push(Math.floor((We.y+this.posY+We.radius)/ft)+1);break;case"qct":var Dt=Ke(this.ctx.lastPoint.x,this.ctx.lastPoint.y,We.x1,We.y1,We.x,We.y);Yt.push(Math.floor(Dt.y/ft)+1),Yt.push(Math.floor((Dt.y+Dt.h)/ft)+1);break;case"bct":var vr=nt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,We.x1,We.y1,We.x2,We.y2,We.x,We.y);Yt.push(Math.floor(vr.y/ft)+1),Yt.push(Math.floor((vr.y+vr.h)/ft)+1);break;case"rect":Yt.push(Math.floor((We.y+this.posY)/ft)+1),Yt.push(Math.floor((We.y+We.h+this.posY)/ft)+1)}for(var yr=0;yr<Yt.length;yr+=1)for(;this.pdf.internal.getNumberOfPages()<Yt[yr];)oe.call(this);return Yt},oe=function(){var We=this.fillStyle,tt=this.strokeStyle,ft=this.font,Yt=this.lineCap,Dt=this.lineWidth,vr=this.lineJoin;this.pdf.addPage(),this.fillStyle=We,this.strokeStyle=tt,this.font=ft,this.lineCap=Yt,this.lineWidth=Dt,this.lineJoin=vr},k=function(We,tt,ft){for(var Yt=0;Yt<We.length;Yt++)switch(We[Yt].type){case"bct":We[Yt].x2+=tt,We[Yt].y2+=ft;case"qct":We[Yt].x1+=tt,We[Yt].y1+=ft;case"mt":case"lt":case"arc":default:We[Yt].x+=tt,We[Yt].y+=ft}return We},$=function(We,tt){for(var ft,Yt,Dt=this.fillStyle,vr=this.strokeStyle,yr=(this.font,this.lineCap),Dr=this.lineWidth,Rr=this.lineJoin,Jr=JSON.parse(JSON.stringify(this.path)),$r=JSON.parse(JSON.stringify(this.path)),xr=[],Vr=0;Vr<$r.length;Vr++)if($r[Vr].x!==void 0)for(var Or=ee.call(this,$r[Vr]),nr=0;nr<Or.length;nr+=1)xr.indexOf(Or[nr])===-1&&xr.push(Or[nr]);for(Vr=0;Vr<xr.length;Vr++)for(;this.pdf.internal.getNumberOfPages()<xr[Vr];)oe.call(this);if(xr.sort(),this.autoPaging){var pr=xr[0],dr=xr[xr.length-1];for(Vr=pr;Vr<dr+1;Vr++){if(this.pdf.setPage(Vr),this.fillStyle=Dt,this.strokeStyle=vr,this.lineCap=yr,this.lineWidth=Dr,this.lineJoin=Rr,this.ctx.clip_path.length!==0){var fr=this.path;ft=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=k(ft,this.posX,-1*this.pdf.internal.pageSize.height*(Vr-1)+this.posY),se.call(this,We,!0),this.path=fr}Yt=JSON.parse(JSON.stringify(Jr)),this.path=k(Yt,this.posX,-1*this.pdf.internal.pageSize.height*(Vr-1)+this.posY),tt!==!1&&Vr!==0||se.call(this,We,tt)}}else se.call(this,We,tt);this.path=Jr},se=function(We,tt){if((We!=="stroke"||tt||!vt.call(this))&&(We==="stroke"||tt||!st.call(this))){var ft=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var Yt,Dt=this.path,vr=0;vr<Dt.length;vr++){var yr=Dt[vr];switch(yr.type){case"begin":ft.push({begin:!0});break;case"close":ft.push({close:!0});break;case"mt":ft.push({start:yr,deltas:[],abs:[]});break;case"lt":var Dr=ft.length;if(!isNaN(Dt[vr-1].x)){var Rr=[yr.x-Dt[vr-1].x,yr.y-Dt[vr-1].y];if(0<Dr){for(;0<=Dr;Dr--)if(ft[Dr-1].close!==!0&&ft[Dr-1].begin!==!0){ft[Dr-1].deltas.push(Rr),ft[Dr-1].abs.push(yr);break}}}break;case"bct":Rr=[yr.x1-Dt[vr-1].x,yr.y1-Dt[vr-1].y,yr.x2-Dt[vr-1].x,yr.y2-Dt[vr-1].y,yr.x-Dt[vr-1].x,yr.y-Dt[vr-1].y],ft[ft.length-1].deltas.push(Rr);break;case"qct":var Jr=Dt[vr-1].x+2/3*(yr.x1-Dt[vr-1].x),$r=Dt[vr-1].y+2/3*(yr.y1-Dt[vr-1].y),xr=yr.x+2/3*(yr.x1-yr.x),Vr=yr.y+2/3*(yr.y1-yr.y),Or=yr.x,nr=yr.y;Rr=[Jr-Dt[vr-1].x,$r-Dt[vr-1].y,xr-Dt[vr-1].x,Vr-Dt[vr-1].y,Or-Dt[vr-1].x,nr-Dt[vr-1].y],ft[ft.length-1].deltas.push(Rr);break;case"arc":ft.push({deltas:[],abs:[],arc:!0}),Array.isArray(ft[ft.length-1].abs)&&ft[ft.length-1].abs.push(yr)}}for(Yt=tt?null:We==="stroke"?"stroke":"fill",vr=0;vr<ft.length;vr++){if(ft[vr].arc)for(var pr=ft[vr].abs,dr=0;dr<pr.length;dr++){var fr=pr[dr];if(fr.startAngle!==void 0){var _r=ur(fr.startAngle),Zr=ur(fr.endAngle),on=fr.x,jn=fr.y;Ae.call(this,on,jn,fr.radius,_r,Zr,fr.counterclockwise,Yt,tt)}else Ct.call(this,fr.x,fr.y)}!ft[vr].arc&&ft[vr].close!==!0&&ft[vr].begin!==!0&&(on=ft[vr].start.x,jn=ft[vr].start.y,Ht.call(this,ft[vr].deltas,on,jn,null,null))}Yt&&Me.call(this,Yt),tt&&et.call(this)}},ge=function(We){var tt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,ft=tt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return We-ft;case"top":return We+tt-ft;case"hanging":return We+tt-2*ft;case"middle":return We+tt/2-ft;case"ideographic":return We;case"alphabetic":default:return We}};Ee.prototype.createLinearGradient=function(){var ut=function(){};return ut.colorStops=[],ut.addColorStop=function(We,tt){this.colorStops.push([We,tt])},ut.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},ut.isCanvasGradient=!0,ut},Ee.prototype.createPattern=function(){return this.createLinearGradient()},Ee.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Ae=function(We,tt,ft,Yt,Dt,vr,yr,Dr){this.pdf.internal.scaleFactor;for(var Rr=rr(Yt),Jr=rr(Dt),$r=Zt.call(this,ft,Rr,Jr,vr),xr=0;xr<$r.length;xr++){var Vr=$r[xr];xr===0&&Wt.call(this,Vr.x1+We,Vr.y1+tt),kt.call(this,We,tt,Vr.x2,Vr.y2,Vr.x3,Vr.y3,Vr.x4,Vr.y4)}Dr?et.call(this):Me.call(this,yr)},Me=function(We){switch(We){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},et=function(){this.pdf.clip()},Wt=function(We,tt){this.pdf.internal.out(de(We)+" "+Se(tt)+" m")},er=function(We){var tt;switch(We.align){case"right":case"end":tt="right";break;case"center":tt="center";break;case"left":case"start":default:tt="left"}var ft=this.ctx.transform.applyToPoint(new Ge(We.x,We.y)),Yt=this.ctx.transform.decompose(),Dt=new ht;Dt=(Dt=(Dt=Dt.multiply(Yt.translate)).multiply(Yt.skew)).multiply(Yt.scale);for(var vr,yr=this.pdf.getTextDimensions(We.text),Dr=this.ctx.transform.applyToRectangle(new ct(We.x,We.y,yr.w,yr.h)),Rr=Dt.applyToRectangle(new ct(We.x,We.y-yr.h,yr.w,yr.h)),Jr=ee.call(this,Rr),$r=[],xr=0;xr<Jr.length;xr+=1)$r.indexOf(Jr[xr])===-1&&$r.push(Jr[xr]);if($r.sort(),this.autoPaging===!0)for(var Vr=$r[0],Or=$r[$r.length-1],nr=Vr;nr<Or+1;nr++){if(this.pdf.setPage(nr),this.ctx.clip_path.length!==0){var pr=this.path;vr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=k(vr,this.posX,-1*this.pdf.internal.pageSize.height*(nr-1)+this.posY),se.call(this,"fill",!0),this.path=pr}var dr=JSON.parse(JSON.stringify(Dr));if(dr=k([dr],this.posX,-1*this.pdf.internal.pageSize.height*(nr-1)+this.posY)[0],.01<=We.scale){var fr=this.pdf.internal.getFontSize();this.pdf.setFontSize(fr*We.scale)}this.pdf.text(We.text,dr.x,dr.y,{angle:We.angle,align:tt,renderingMode:We.renderingMode,maxWidth:We.maxWidth}),.01<=We.scale&&this.pdf.setFontSize(fr)}else .01<=We.scale&&(fr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(fr*We.scale)),this.pdf.text(We.text,ft.x+this.posX,ft.y+this.posY,{angle:We.angle,align:tt,renderingMode:We.renderingMode,maxWidth:We.maxWidth}),.01<=We.scale&&this.pdf.setFontSize(fr)},Ct=function(We,tt,ft,Yt){ft=ft||0,Yt=Yt||0,this.pdf.internal.out(de(We+ft)+" "+Se(tt+Yt)+" l")},Ht=function(We,tt,ft){return this.pdf.lines(We,tt,ft,null,null)},kt=function(We,tt,ft,Yt,Dt,vr,yr,Dr){this.pdf.internal.out([ae(Ce(ft+We)),ae(Ie(Yt+tt)),ae(Ce(Dt+We)),ae(Ie(vr+tt)),ae(Ce(yr+We)),ae(Ie(Dr+tt)),"c"].join(" "))},Zt=function(We,tt,ft,Yt){var Dt=2*Math.PI,vr=tt;(vr<Dt||Dt<vr)&&(vr%=Dt);var yr=ft;(yr<Dt||Dt<yr)&&(yr%=Dt);for(var Dr=[],Rr=Math.PI/2,Jr=Yt?-1:1,$r=tt,xr=Math.min(Dt,Math.abs(yr-vr));1e-5<xr;){var Vr=$r+Jr*Math.min(xr,Rr);Dr.push(Et.call(this,We,$r,Vr)),xr-=Math.abs(Vr-$r),$r=Vr}return Dr},Et=function(We,tt,ft){var Yt=(ft-tt)/2,Dt=We*Math.cos(Yt),vr=We*Math.sin(Yt),yr=Dt,Dr=-vr,Rr=yr*yr+Dr*Dr,Jr=Rr+yr*Dt+Dr*vr,$r=4/3*(Math.sqrt(2*Rr*Jr)-Jr)/(yr*vr-Dr*Dt),xr=yr-$r*Dr,Vr=Dr+$r*yr,Or=xr,nr=-Vr,pr=Yt+tt,dr=Math.cos(pr),fr=Math.sin(pr);return{x1:We*Math.cos(tt),y1:We*Math.sin(tt),x2:xr*dr-Vr*fr,y2:xr*fr+Vr*dr,x3:Or*dr-nr*fr,y3:Or*fr+nr*dr,x4:We*Math.cos(ft),y4:We*Math.sin(ft)}},ur=function(We){return 180*We/Math.PI},rr=function(We){return We*Math.PI/180},Ke=function(We,tt,ft,Yt,Dt,vr){var yr=We+.5*(ft-We),Dr=tt+.5*(Yt-tt),Rr=Dt+.5*(ft-Dt),Jr=vr+.5*(Yt-vr),$r=Math.min(We,Dt,yr,Rr),xr=Math.max(We,Dt,yr,Rr),Vr=Math.min(tt,vr,Dr,Jr),Or=Math.max(tt,vr,Dr,Jr);return new ct($r,Vr,xr-$r,Or-Vr)},nt=function(We,tt,ft,Yt,Dt,vr,yr,Dr){for(var Rr,Jr,$r,xr,Vr,Or,nr,pr,dr,fr,_r,Zr,on,jn=ft-We,Ur=Yt-tt,En=Dt-ft,pn=vr-Yt,On=yr-Dt,Vn=Dr-vr,Nn=0;Nn<41;Nn++)pr=(Or=(Jr=We+(Rr=Nn/40)*jn)+Rr*((xr=ft+Rr*En)-Jr))+Rr*(xr+Rr*(Dt+Rr*On-xr)-Or),dr=(nr=($r=tt+Rr*Ur)+Rr*((Vr=Yt+Rr*pn)-$r))+Rr*(Vr+Rr*(vr+Rr*Vn-Vr)-nr),on=Nn==0?(Zr=fr=pr,_r=dr):(fr=Math.min(fr,pr),_r=Math.min(_r,dr),Zr=Math.max(Zr,pr),Math.max(on,dr));return new ct(Math.round(fr),Math.round(_r),Math.round(Zr-fr),Math.round(on-_r))},Ge=function(We,tt){var ft=We||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ft},set:function(yr){isNaN(yr)||(ft=parseFloat(yr))}});var Yt=tt||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Yt},set:function(yr){isNaN(yr)||(Yt=parseFloat(yr))}});var Dt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Dt},set:function(yr){Dt=yr.toString()}}),this},ct=function(We,tt,ft,Yt){Ge.call(this,We,tt),this.type="rect";var Dt=ft||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Dt},set:function(Dr){isNaN(Dr)||(Dt=parseFloat(Dr))}});var vr=Yt||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return vr},set:function(Dr){isNaN(Dr)||(vr=parseFloat(Dr))}}),this},ht=function(We,tt,ft,Yt,Dt,vr){var yr=[];return Object.defineProperty(this,"sx",{get:function(){return yr[0]},set:function(Rr){yr[0]=Math.round(1e5*Rr)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return yr[1]},set:function(Rr){yr[1]=Math.round(1e5*Rr)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return yr[2]},set:function(Rr){yr[2]=Math.round(1e5*Rr)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return yr[3]},set:function(Rr){yr[3]=Math.round(1e5*Rr)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return yr[4]},set:function(Rr){yr[4]=Math.round(1e5*Rr)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return yr[5]},set:function(Rr){yr[5]=Math.round(1e5*Rr)/1e5}}),Object.defineProperty(this,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(this,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(this,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(this,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),this.sx=isNaN(We)?1:We,this.shy=isNaN(tt)?0:tt,this.shx=isNaN(ft)?0:ft,this.sy=isNaN(Yt)?1:Yt,this.tx=isNaN(Dt)?0:Dt,this.ty=isNaN(vr)?0:vr,this};ht.prototype.multiply=function(ut){var We=ut.sx*this.sx+ut.shy*this.shx,tt=ut.sx*this.shy+ut.shy*this.sy,ft=ut.shx*this.sx+ut.sy*this.shx,Yt=ut.shx*this.shy+ut.sy*this.sy,Dt=ut.tx*this.sx+ut.ty*this.shx+this.tx,vr=ut.tx*this.shy+ut.ty*this.sy+this.ty;return new ht(We,tt,ft,Yt,Dt,vr)},ht.prototype.decompose=function(){var ut=this.sx,We=this.shy,tt=this.shx,ft=this.sy,Yt=this.tx,Dt=this.ty,vr=Math.sqrt(ut*ut+We*We),yr=(ut/=vr)*tt+(We/=vr)*ft;tt-=ut*yr,ft-=We*yr;var Dr=Math.sqrt(tt*tt+ft*ft);return yr/=Dr,ut*(ft/=Dr)<We*(tt/=Dr)&&(ut=-ut,We=-We,yr=-yr,vr=-vr),{scale:new ht(vr,0,0,Dr,0,0),translate:new ht(1,0,0,1,Yt,Dt),rotate:new ht(ut,We,-We,ut,0,0),skew:new ht(1,0,yr,1,0,0)}},ht.prototype.applyToPoint=function(ut){var We=ut.x*this.sx+ut.y*this.shx+this.tx,tt=ut.x*this.shy+ut.y*this.sy+this.ty;return new Ge(We,tt)},ht.prototype.applyToRectangle=function(ut){var We=this.applyToPoint(ut),tt=this.applyToPoint(new Ge(ut.x+ut.w,ut.y+ut.h));return new ct(We.x,We.y,tt.x-We.x,tt.y-We.y)},ht.prototype.clone=function(){var ut=this.sx,We=this.shy,tt=this.shx,ft=this.sy,Yt=this.tx,Dt=this.ty;return new ht(ut,We,tt,ft,Yt,Dt)}}(Tt.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")()),r=Tt.API,u=function(ce){var ae,de,Se,Ce,Ie,Te,Ee,He,st,vt;for(/[^\x00-\xFF]/.test(ce),de=[],Se=0,Ce=(ce+=ae="\0\0\0\0".slice(ce.length%4||4)).length;Se<Ce;Se+=4)(Ie=(ce.charCodeAt(Se)<<24)+(ce.charCodeAt(Se+1)<<16)+(ce.charCodeAt(Se+2)<<8)+ce.charCodeAt(Se+3))!==0?(Te=(Ie=((Ie=((Ie=((Ie=(Ie-(vt=Ie%85))/85)-(st=Ie%85))/85)-(He=Ie%85))/85)-(Ee=Ie%85))/85)%85,de.push(Te+33,Ee+33,He+33,st+33,vt+33)):de.push(122);return function(ee,oe){for(var k=ae.length;0<k;k--)ee.pop()}(de),String.fromCharCode.apply(String,de)+"~>"},i=function(ce){var ae,de,Se,Ce,Ie,Te=String,Ee="length",He="charCodeAt",st="slice",vt="replace";for(ce[st](-2),ce=ce[st](0,-2)[vt](/\s/g,"")[vt]("z","!!!!!"),Se=[],Ce=0,Ie=(ce+=ae="uuuuu"[st](ce[Ee]%5||5))[Ee];Ce<Ie;Ce+=5)de=52200625*(ce[He](Ce)-33)+614125*(ce[He](Ce+1)-33)+7225*(ce[He](Ce+2)-33)+85*(ce[He](Ce+3)-33)+(ce[He](Ce+4)-33),Se.push(255&de>>24,255&de>>16,255&de>>8,255&de);return function(ee,oe){for(var k=ae[Ee];0<k;k--)ee.pop()}(Se),Te.fromCharCode.apply(Te,Se)},h=function(ce){for(var ae="",de=0;de<ce.length;de+=1)ae+=("0"+ce.charCodeAt(de).toString(16)).slice(-2);return ae+=">"},p=function(ce){var ae=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ce=ce.replace(/\s/g,"")).indexOf(">")!==-1&&(ce=ce.substr(0,ce.indexOf(">"))),ce.length%2&&(ce+="0"),ae.test(ce)===!1)return"";for(var de="",Se=0;Se<ce.length;Se+=2)de+=String.fromCharCode("0x"+(ce[Se]+ce[Se+1]));return de},A=function(ce,ae){ae=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},ae);for(var de,Se,Ce=[],Ie=ce.length;Ie--;)Ce[Ie]=ce.charCodeAt(Ie);return de=r.adler32cs.from(ce),(Se=new Deflater(6)).append(new Uint8Array(Ce)),ce=Se.flush(),(Ce=new Uint8Array(ce.length+6)).set(new Uint8Array([120,156])),Ce.set(ce,2),Ce.set(new Uint8Array([255&de,de>>8&255,de>>16&255,de>>24&255]),ce.length+2),ce=String.fromCharCode.apply(null,Ce)},r.processDataByFilters=function(me,ce){var ae=0,de=me||"",Se=[];for(typeof(ce=ce||[])=="string"&&(ce=[ce]),ae=0;ae<ce.length;ae+=1)switch(ce[ae]){case"ASCII85Decode":case"/ASCII85Decode":de=i(de),Se.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":de=u(de),Se.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":de=p(de),Se.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":de=h(de),Se.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":de=A(de),Se.push("/FlateDecode");break;default:throw'The filter: "'+ce[ae]+'" is not implemented'}return{data:de,reverseChain:Se.reverse().join(" ")}},(C=Tt.API).loadFile=function(me,ce,ae){var de;ce=ce||!0,ae=ae||function(){};try{de=function(Se,Ce,Ie){var Te=new XMLHttpRequest,Ee=[],He=0,st=function(ee){var oe=ee.length,k=String.fromCharCode;for(He=0;He<oe;He+=1)Ee.push(k(255&ee.charCodeAt(He)));return Ee.join("")};if(Te.open("GET",Se,!Ce),Te.overrideMimeType("text/plain; charset=x-user-defined"),Ce===!1&&(Te.onload=function(){return st(this.responseText)}),Te.send(null),Te.status===200)return Ce?st(Te.responseText):void 0;console.warn('Unable to load file "'+Se+'"')}(me,ce)}catch(Se){de=void 0}return de},C.loadImageFile=C.loadFile,S=Tt.API,E=typeof window!="undefined"&&window||typeof d!="undefined"&&d,O=function(ce){var ae=m(ce);return ae==="undefined"?"undefined":ae==="string"||ce instanceof String?"string":ae==="number"||ce instanceof Number?"number":ae==="function"||ce instanceof Function?"function":ce&&ce.constructor===Array?"array":ce&&ce.nodeType===1?"element":ae==="object"?"object":"unknown"},T=function(ce,ae){var de=document.createElement(ce);if(ae.className&&(de.className=ae.className),ae.innerHTML){de.innerHTML=ae.innerHTML;for(var Se=de.getElementsByTagName("script"),Ce=Se.length;0<Ce--;null)Se[Ce].parentNode.removeChild(Se[Ce])}for(var Ie in ae.style)de.style[Ie]=ae.style[Ie];return de},(((b=function me(ce){var ae=Object.assign(me.convert(Promise.resolve()),JSON.parse(JSON.stringify(me.template))),de=me.convert(Promise.resolve(),ae);return de=(de=de.setProgress(1,me,1,[me])).set(ce)}).prototype=Object.create(Promise.prototype)).constructor=b).convert=function(me,ce){return me.__proto__=ce||b.prototype,me},b.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{}}},b.prototype.from=function(me,ce){return this.then(function(){switch(ce=ce||function(ae){switch(O(ae)){case"string":return"string";case"element":return ae.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}(me)){case"string":return this.set({src:T("div",{innerHTML:me})});case"element":return this.set({src:me});case"canvas":return this.set({canvas:me});case"img":return this.set({img:me});default:return this.error("Unknown source type.")}})},b.prototype.to=function(me){switch(me){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},b.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var me={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:"white"},ce=function ae(de,Se){for(var Ce=de.nodeType===3?document.createTextNode(de.nodeValue):de.cloneNode(!1),Ie=de.firstChild;Ie;Ie=Ie.nextSibling)Se!==!0&&Ie.nodeType===1&&Ie.nodeName==="SCRIPT"||Ce.appendChild(ae(Ie,Se));return de.nodeType===1&&(de.nodeName==="CANVAS"?(Ce.width=de.width,Ce.height=de.height,Ce.getContext("2d").drawImage(de,0,0)):de.nodeName!=="TEXTAREA"&&de.nodeName!=="SELECT"||(Ce.value=de.value),Ce.addEventListener("load",function(){Ce.scrollTop=de.scrollTop,Ce.scrollLeft=de.scrollLeft},!0)),Ce}(this.prop.src,this.opt.html2canvas.javascriptEnabled);ce.tagName==="BODY"&&(me.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=T("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=T("div",{className:"html2pdf__container",style:me}),this.prop.container.appendChild(ce),this.prop.container.firstChild.appendChild(T("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},b.prototype.toCanvas=function(){var me=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(me).then(function(){var ce=Object.assign({},this.opt.html2canvas);if(delete ce.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,ce)}).then(function(ce){(this.opt.html2canvas.onrendered||function(){})(ce),this.prop.canvas=ce,document.body.removeChild(this.prop.overlay)})},b.prototype.toContext2d=function(){var me=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(me).then(function(){var ce=this.opt.jsPDF,ae=Object.assign({async:!0,allowTaint:!0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete ae.onrendered,ce.context2d.autoPaging=!0,ce.context2d.posX=this.opt.x,ce.context2d.posY=this.opt.y,ae.windowHeight=ae.windowHeight||0,ae.windowHeight=ae.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):ae.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,ae)}).then(function(ce){(this.opt.html2canvas.onrendered||function(){})(ce),this.prop.canvas=ce,document.body.removeChild(this.prop.overlay)})},b.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var me=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=me})},b.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},b.prototype.output=function(me,ce,ae){return(ae=ae||"pdf").toLowerCase()==="img"||ae.toLowerCase()==="image"?this.outputImg(me,ce):this.outputPdf(me,ce)},b.prototype.outputPdf=function(me,ce){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(me,ce)})},b.prototype.outputImg=function(me,ce){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(me){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+me+'" is not supported.'}})},b.prototype.isHtml2CanvasLoaded=function(){var me=E.html2canvas!==void 0;return me||console.error("html2canvas not loaded."),me},b.prototype.save=function(me){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(me?{filename:me}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},b.prototype.doCallback=function(me){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},b.prototype.set=function(me){if(O(me)!=="object")return this;var ce=Object.keys(me||{}).map(function(ae){if(ae in b.template.prop)return function(){this.prop[ae]=me[ae]};switch(ae){case"margin":return this.setMargin.bind(this,me.margin);case"jsPDF":return function(){return this.opt.jsPDF=me.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,me.pageSize);default:return function(){this.opt[ae]=me[ae]}}},this);return this.then(function(){return this.thenList(ce)})},b.prototype.get=function(me,ce){return this.then(function(){var ae=me in b.template.prop?this.prop[me]:this.opt[me];return ce?ce(ae):ae})},b.prototype.setMargin=function(me){return this.then(function(){switch(O(me)){case"number":me=[me,me,me,me];case"array":if(me.length===2&&(me=[me[0],me[1],me[0],me[1]]),me.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=me}).then(this.setPageSize)},b.prototype.setPageSize=function(me){function ce(ae,de){return Math.floor(ae*de/72*96)}return this.then(function(){(me=me||Tt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(me.inner={width:me.width-this.opt.margin[1]-this.opt.margin[3],height:me.height-this.opt.margin[0]-this.opt.margin[2]},me.inner.px={width:ce(me.inner.width,me.k),height:ce(me.inner.height,me.k)},me.inner.ratio=me.inner.height/me.inner.width),this.prop.pageSize=me})},b.prototype.setProgress=function(me,ce,ae,de){return me!=null&&(this.progress.val=me),ce!=null&&(this.progress.state=ce),ae!=null&&(this.progress.n=ae),de!=null&&(this.progress.stack=de),this.progress.ratio=this.progress.val/this.progress.state,this},b.prototype.updateProgress=function(me,ce,ae,de){return this.setProgress(me?this.progress.val+me:null,ce||null,ae?this.progress.n+ae:null,de?this.progress.stack.concat(de):null)},b.prototype.then=function(me,ce){var ae=this;return this.thenCore(me,ce,function(de,Se){return ae.updateProgress(null,null,1,[de]),Promise.prototype.then.call(this,function(Ce){return ae.updateProgress(null,de),Ce}).then(de,Se).then(function(Ce){return ae.updateProgress(1),Ce})})},b.prototype.thenCore=function(me,ce,ae){ae=ae||Promise.prototype.then;var de=this;me&&(me=me.bind(de)),ce&&(ce=ce.bind(de));var Se=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?de:b.convert(Object.assign({},de),Promise.prototype),Ce=ae.call(Se,me,ce);return b.convert(Ce,de.__proto__)},b.prototype.thenExternal=function(me,ce){return Promise.prototype.then.call(this,me,ce)},b.prototype.thenList=function(me){var ce=this;return me.forEach(function(ae){ce=ce.thenCore(ae)}),ce},b.prototype.catch=function(me){me&&(me=me.bind(this));var ce=Promise.prototype.catch.call(this,me);return b.convert(ce,this)},b.prototype.catchExternal=function(me){return Promise.prototype.catch.call(this,me)},b.prototype.error=function(me){return this.then(function(){throw new Error(me)})},b.prototype.using=b.prototype.set,b.prototype.saveAs=b.prototype.save,b.prototype.export=b.prototype.output,b.prototype.run=b.prototype.then,Tt.getPageSize=function(me,ce,ae){if(m(me)==="object"){var de=me;me=de.orientation,ce=de.unit||ce,ae=de.format||ae}ce=ce||"mm",ae=ae||"a4",me=(""+(me||"P")).toLowerCase();var Se=(""+ae).toLowerCase(),Ce={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(ce){case"pt":var Ie=1;break;case"mm":Ie=72/25.4;break;case"cm":Ie=72/2.54;break;case"in":Ie=72;break;case"px":Ie=.75;break;case"pc":case"em":Ie=12;break;case"ex":Ie=6;break;default:throw"Invalid unit: "+ce}if(Ce.hasOwnProperty(Se))var Te=Ce[Se][1]/Ie,Ee=Ce[Se][0]/Ie;else try{Te=ae[1],Ee=ae[0]}catch(st){throw new Error("Invalid format: "+ae)}if(me==="p"||me==="portrait"){if(me="p",Te<Ee){var He=Ee;Ee=Te,Te=He}}else{if(me!=="l"&&me!=="landscape")throw"Invalid orientation: "+me;me="l",Ee<Te&&(He=Ee,Ee=Te,Te=He)}return{width:Ee,height:Te,unit:ce,k:Ie}},S.html=function(me,ce){(ce=ce||{}).callback=ce.callback||function(){},ce.html2canvas=ce.html2canvas||{},ce.html2canvas.canvas=ce.html2canvas.canvas||this.canvas,ce.jsPDF=ce.jsPDF||this,ce.jsPDF;var ae=new b(ce);return ce.worker?ae:ae.from(me).doCallback()},Tt.API.addJS=function(me){return D=me,this.internal.events.subscribe("postPutResources",function(ce){x=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(x+1)+" 0 R]"),this.internal.out(">>"),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(){x!==void 0&&N!==void 0&&this.internal.out("/Names <</JavaScript "+x+" 0 R>>")}),this},(M=Tt.API).events.push(["postPutResources",function(){var me=this,ce=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var ae=me.outline.render().split(/\r\n/),de=0;de<ae.length;de++){var Se=ae[de],Ce=ce.exec(Se);if(Ce!=null){var Ie=Ce[1];me.internal.newObjectDeferredBegin(Ie,!1)}me.internal.write(Se)}if(this.outline.createNamedDestinations){var Te=this.internal.pages.length,Ee=[];for(de=0;de<Te;de++){var He=me.internal.newObject();Ee.push(He);var st=me.internal.getPageInfo(de+1);me.internal.write("<< /D["+st.objId+" 0 R /XYZ null null null]>> endobj")}var vt=me.internal.newObject();for(me.internal.write("<< /Names [ "),de=0;de<Ee.length;de++)me.internal.write("(page_"+(de+1)+")"+Ee[de]+" 0 R");me.internal.write(" ] >>","endobj"),me.internal.newObject(),me.internal.write("<< /Dests "+vt+" 0 R"),me.internal.write(">>","endobj")}}]),M.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),M.events.push(["initialized",function(){var me=this;me.outline={createNamedDestinations:!1,root:{children:[]}},me.outline.add=function(ce,ae,de){var Se={title:ae,options:de,children:[]};return ce==null&&(ce=this.root),ce.children.push(Se),Se},me.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=me,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},me.outline.genIds_r=function(ce){ce.id=me.internal.newObjectDeferred();for(var ae=0;ae<ce.children.length;ae++)this.genIds_r(ce.children[ae])},me.outline.renderRoot=function(ce){this.objStart(ce),this.line("/Type /Outlines"),0<ce.children.length&&(this.line("/First "+this.makeRef(ce.children[0])),this.line("/Last "+this.makeRef(ce.children[ce.children.length-1]))),this.line("/Count "+this.count_r({count:0},ce)),this.objEnd()},me.outline.renderItems=function(ce){this.ctx.pdf.internal.getCoordinateString;for(var ae=this.ctx.pdf.internal.getVerticalCoordinateString,de=0;de<ce.children.length;de++){var Se=ce.children[de];this.objStart(Se),this.line("/Title "+this.makeString(Se.title)),this.line("/Parent "+this.makeRef(ce)),0<de&&this.line("/Prev "+this.makeRef(ce.children[de-1])),de<ce.children.length-1&&this.line("/Next "+this.makeRef(ce.children[de+1])),0<Se.children.length&&(this.line("/First "+this.makeRef(Se.children[0])),this.line("/Last "+this.makeRef(Se.children[Se.children.length-1])));var Ce=this.count=this.count_r({count:0},Se);if(0<Ce&&this.line("/Count "+Ce),Se.options&&Se.options.pageNumber){var Ie=me.internal.getPageInfo(Se.options.pageNumber);this.line("/Dest ["+Ie.objId+" 0 R /XYZ 0 "+ae(0)+" 0]")}this.objEnd()}for(de=0;de<ce.children.length;de++)Se=ce.children[de],this.renderItems(Se)},me.outline.line=function(ce){this.ctx.val+=ce+`\r
|
||
`},me.outline.makeRef=function(ce){return ce.id+" 0 R"},me.outline.makeString=function(ce){return"("+me.internal.pdfEscape(ce)+")"},me.outline.objStart=function(ce){this.ctx.val+=`\r
|
||
`+ce.id+` 0 obj\r
|
||
<<\r
|
||
`},me.outline.objEnd=function(ce){this.ctx.val+=`>> \r
|
||
endobj\r
|
||
`},me.outline.count_r=function(ce,ae){for(var de=0;de<ae.children.length;de++)ce.count++,this.count_r(ce,ae.children[de]);return ce.count}}]),R=Tt.API,F=function(){var ce=typeof Deflater=="function";if(!ce)throw new Error("requires deflate.js for compression");return ce},B=function(ce,ae,de,Se){var Ce=5,Ie=Y;switch(Se){case R.image_compression.FAST:Ce=3,Ie=H;break;case R.image_compression.MEDIUM:Ce=6,Ie=Q;break;case R.image_compression.SLOW:Ce=9,Ie=P}ce=K(ce,ae,de,Ie);var Te=new Uint8Array(z(Ce)),Ee=U(ce),He=new Deflater(Ce),st=He.append(ce),vt=He.flush(),ee=Te.length+st.length+vt.length,oe=new Uint8Array(ee+4);return oe.set(Te),oe.set(st,Te.length),oe.set(vt,Te.length+st.length),oe[ee++]=Ee>>>24&255,oe[ee++]=Ee>>>16&255,oe[ee++]=Ee>>>8&255,oe[ee++]=255&Ee,R.arrayBufferToBinaryString(oe)},z=function(ce,ae){var de=Math.LOG2E*Math.log(32768)-8<<4|8,Se=de<<8;return Se|=Math.min(3,(ae-1&255)>>1)<<6,Se|=0,[de,255&(Se+=31-Se%31)]},U=function(ce,ae){for(var de,Se=1,Ce=0,Ie=ce.length,Te=0;0<Ie;){for(Ie-=de=ae<Ie?ae:Ie;Ce+=Se+=ce[Te++],--de;);Se%=65521,Ce%=65521}return(Ce<<16|Se)>>>0},K=function(ce,ae,de,Se){for(var Ce,Ie,Te,Ee=ce.length/ae,He=new Uint8Array(ce.length+Ee),st=J(),vt=0;vt<Ee;vt++){if(Te=vt*ae,Ce=ce.subarray(Te,Te+ae),Se)He.set(Se(Ce,de,Ie),Te+vt);else{for(var ee=0,oe=st.length,k=[];ee<oe;ee++)k[ee]=st[ee](Ce,de,Ie);var $=he(k.concat());He.set(k[$],Te+vt)}Ie=Ce}return He},W=function(ce,ae,de){var Se=Array.apply([],ce);return Se.unshift(0),Se},H=function(ce,ae,de){var Se,Ce=[],Ie=0,Te=ce.length;for(Ce[0]=1;Ie<Te;Ie++)Se=ce[Ie-ae]||0,Ce[Ie+1]=ce[Ie]-Se+256&255;return Ce},Y=function(ce,ae,de){var Se,Ce=[],Ie=0,Te=ce.length;for(Ce[0]=2;Ie<Te;Ie++)Se=de&&de[Ie]||0,Ce[Ie+1]=ce[Ie]-Se+256&255;return Ce},Q=function(ce,ae,de){var Se,Ce,Ie=[],Te=0,Ee=ce.length;for(Ie[0]=3;Te<Ee;Te++)Se=ce[Te-ae]||0,Ce=de&&de[Te]||0,Ie[Te+1]=ce[Te]+256-(Se+Ce>>>1)&255;return Ie},P=function(ce,ae,de){var Se,Ce,Ie,Te,Ee=[],He=0,st=ce.length;for(Ee[0]=4;He<st;He++)Se=ce[He-ae]||0,Ce=de&&de[He]||0,Ie=de&&de[He-ae]||0,Te=G(Se,Ce,Ie),Ee[He+1]=ce[He]-Te+256&255;return Ee},G=function(ce,ae,de){var Se=ce+ae-de,Ce=Math.abs(Se-ce),Ie=Math.abs(Se-ae),Te=Math.abs(Se-de);return Ce<=Ie&&Ce<=Te?ce:Ie<=Te?ae:de},J=function(){return[W,H,Y,Q,P]},he=function(ce){for(var ae,de,Se,Ce=0,Ie=ce.length;Ce<Ie;)((ae=te(ce[Ce].slice(1)))<de||!de)&&(de=ae,Se=Ce),Ce++;return Se},te=function(ce){for(var ae=0,de=ce.length,Se=0;ae<de;)Se+=Math.abs(ce[ae++]);return Se},R.processPNG=function(me,ce,ae,de,Se){var Ce,Ie,Te,Ee,He,st,vt=this.color_spaces.DEVICE_RGB,ee=this.decode.FLATE_DECODE,oe=8;if(this.isArrayBuffer(me)&&(me=new Uint8Array(me)),this.isArrayBufferView(me)){if(typeof PNG!="function"||typeof Mt!="function")throw new Error("PNG support requires png.js and zlib.js");if(me=(Ce=new PNG(me)).imgData,oe=Ce.bits,vt=Ce.colorSpace,Ee=Ce.colors,[4,6].indexOf(Ce.colorType)!==-1){if(Ce.bits===8)for(var k,$=(Zt=Ce.pixelBitlength==32?new Uint32Array(Ce.decodePixels().buffer):Ce.pixelBitlength==16?new Uint16Array(Ce.decodePixels().buffer):new Uint8Array(Ce.decodePixels().buffer)).length,se=new Uint8Array($*Ce.colors),ge=new Uint8Array($),Ae=Ce.pixelBitlength-Ce.bits,Me=0,et=0;Me<$;Me++){for(Wt=Zt[Me],k=0;k<Ae;)se[et++]=Wt>>>k&255,k+=Ce.bits;ge[Me]=Wt>>>k&255}if(Ce.bits===16){$=(Zt=new Uint32Array(Ce.decodePixels().buffer)).length,se=new Uint8Array($*(32/Ce.pixelBitlength)*Ce.colors),ge=new Uint8Array($*(32/Ce.pixelBitlength));for(var Wt,er=1<Ce.colors,Ct=et=Me=0;Me<$;)Wt=Zt[Me++],se[et++]=Wt>>>0&255,er&&(se[et++]=Wt>>>16&255,Wt=Zt[Me++],se[et++]=Wt>>>0&255),ge[Ct++]=Wt>>>16&255;oe=8}de!==R.image_compression.NONE&&F()?(me=B(se,Ce.width*Ce.colors,Ce.colors,de),st=B(ge,Ce.width,1,de)):(me=se,st=ge,ee=null)}if(Ce.colorType===3&&(vt=this.color_spaces.INDEXED,He=Ce.palette,Ce.transparency.indexed)){var Ht=Ce.transparency.indexed,kt=0;for(Me=0,$=Ht.length;Me<$;++Me)kt+=Ht[Me];if((kt/=255)==$-1&&Ht.indexOf(0)!==-1)Te=[Ht.indexOf(0)];else if(kt!==$){var Zt=Ce.decodePixels();for(ge=new Uint8Array(Zt.length),Me=0,$=Zt.length;Me<$;Me++)ge[Me]=Ht[Zt[Me]];st=B(ge,Ce.width,1)}}var Et=function(ur){var rr;switch(ur){case R.image_compression.FAST:rr=11;break;case R.image_compression.MEDIUM:rr=13;break;case R.image_compression.SLOW:rr=14;break;default:rr=12}return rr}(de);return Ie=ee===this.decode.FLATE_DECODE?"/Predictor "+Et+" /Colors "+Ee+" /BitsPerComponent "+oe+" /Columns "+Ce.width:"/Colors "+Ee+" /BitsPerComponent "+oe+" /Columns "+Ce.width,(this.isArrayBuffer(me)||this.isArrayBufferView(me))&&(me=this.arrayBufferToBinaryString(me)),(st&&this.isArrayBuffer(st)||this.isArrayBufferView(st))&&(st=this.arrayBufferToBinaryString(st)),this.createImageInfo(me,Ce.width,Ce.height,vt,oe,ee,ce,ae,Ie,Te,He,st,Et)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(pe=Tt.API).processGIF89A=function(me,ce,ae,de,Se){var Ce=new zt(me),Ie=Ce.width,Te=Ce.height,Ee=[];Ce.decodeAndBlitFrameRGBA(0,Ee);var He={data:Ee,width:Ie,height:Te},st=new qt(100).encode(He,100);return pe.processJPEG.call(this,st,ce,ae,de)},pe.processGIF87A=pe.processGIF89A,(we=Tt.API).processBMP=function(me,ce,ae,de,Se){var Ce=new or(me,!1),Ie=Ce.width,Te=Ce.height,Ee={data:Ce.getData(),width:Ie,height:Te},He=new qt(100).encode(Ee,100);return we.processJPEG.call(this,He,ce,ae,de)},Tt.API.setLanguage=function(me){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"}[me]!==void 0&&(this.internal.languageSettings.languageCode=me,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},be=Tt.API,Qe=be.getCharWidthsArray=function(me,ce){var ae,de,Se,Ce=(ce=ce||{}).font||this.internal.getFont(),Ie=ce.fontSize||this.internal.getFontSize(),Te=ce.charSpace||this.internal.getCharSpace(),Ee=ce.widths?ce.widths:Ce.metadata.Unicode.widths,He=Ee.fof?Ee.fof:1,st=ce.kerning?ce.kerning:Ce.metadata.Unicode.kerning,vt=st.fof?st.fof:1,ee=0,oe=Ee[0]||He,k=[];for(ae=0,de=me.length;ae<de;ae++)Se=me.charCodeAt(ae),typeof Ce.metadata.widthOfString=="function"?k.push((Ce.metadata.widthOfGlyph(Ce.metadata.characterToGlyph(Se))+Te*(1e3/Ie)||0)/1e3):k.push((Ee[Se]||oe)/He+(st[Se]&&st[Se][ee]||0)/vt),ee=Se;return k},$e=be.getArraySum=function(me){for(var ce=me.length,ae=0;ce;)ae+=me[--ce];return ae},yt=be.getStringUnitWidth=function(me,ce){var ae=(ce=ce||{}).fontSize||this.internal.getFontSize(),de=ce.font||this.internal.getFont(),Se=ce.charSpace||this.internal.getCharSpace();return typeof de.metadata.widthOfString=="function"?de.metadata.widthOfString(me,ae,Se)/ae:$e(Qe.apply(this,arguments))},Fe=function(ce,ae,de,Se){for(var Ce=[],Ie=0,Te=ce.length,Ee=0;Ie!==Te&&Ee+ae[Ie]<de;)Ee+=ae[Ie],Ie++;Ce.push(ce.slice(0,Ie));var He=Ie;for(Ee=0;Ie!==Te;)Ee+ae[Ie]>Se&&(Ce.push(ce.slice(He,Ie)),Ee=0,He=Ie),Ee+=ae[Ie],Ie++;return He!==Ie&&Ce.push(ce.slice(He,Ie)),Ce},Pe=function(ce,ae,de){de||(de={});var Se,Ce,Ie,Te,Ee,He,st=[],vt=[st],ee=de.textIndent||0,oe=0,k=0,$=ce.split(" "),se=Qe.apply(this,[" ",de])[0];if(He=de.lineIndent===-1?$[0].length+2:de.lineIndent||0){var ge=Array(He).join(" "),Ae=[];$.map(function(Wt){1<(Wt=Wt.split(/\s*\n/)).length?Ae=Ae.concat(Wt.map(function(er,Ct){return(Ct&&er.length?`
|
||
`:"")+er})):Ae.push(Wt[0])}),$=Ae,He=yt.apply(this,[ge,de])}for(Ie=0,Te=$.length;Ie<Te;Ie++){var Me=0;if(Se=$[Ie],He&&Se[0]==`
|
||
`&&(Se=Se.substr(1),Me=1),Ce=Qe.apply(this,[Se,de]),ae<ee+oe+(k=$e(Ce))||Me){if(ae<k){for(Ee=Fe.apply(this,[Se,Ce,ae-(ee+oe),ae]),st.push(Ee.shift()),st=[Ee.pop()];Ee.length;)vt.push([Ee.shift()]);k=$e(Ce.slice(Se.length-(st[0]?st[0].length:0)))}else st=[Se];vt.push(st),ee=k+He,oe=se}else st.push(Se),ee+=oe+k,oe=se}if(He)var et=function(er,Ct){return(Ct?ge:"")+er.join(" ")};else et=function(er){return er.join(" ")};return vt.map(et)},be.splitTextToSize=function(me,ce,ae){var de,Se=(ae=ae||{}).fontSize||this.internal.getFontSize(),Ce=function(st){var vt={0:1},ee={};if(st.widths&&st.kerning)return{widths:st.widths,kerning:st.kerning};var oe=this.internal.getFont(st.fontName,st.fontStyle),k="Unicode";return oe.metadata[k]?{widths:oe.metadata[k].widths||vt,kerning:oe.metadata[k].kerning||ee}:{font:oe.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,ae);de=Array.isArray(me)?me:me.split(/\r?\n/);var Ie=1*this.internal.scaleFactor*ce/Se;Ce.textIndent=ae.textIndent?1*ae.textIndent*this.internal.scaleFactor/Se:0,Ce.lineIndent=ae.lineIndent;var Te,Ee,He=[];for(Te=0,Ee=de.length;Te<Ee;Te++)He=He.concat(Pe.apply(this,[de[Te],Ie,Ce]));return He},gt=Tt.API,qe={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(it=function(ce){for(var ae="klmnopqrstuvwxyz",de={},Se=0;Se<ae.length;Se++)de[ae[Se]]="0123456789abcdef"[Se];var Ce,Ie,Te,Ee,He,st={},vt=1,ee=st,oe=[],k="",$="",se=ce.length-1;for(Se=1;Se!=se;)He=ce[Se],Se+=1,He=="'"?Ie=Ie?(Ee=Ie.join(""),Ce):[]:Ie?Ie.push(He):He=="{"?(oe.push([ee,Ee]),ee={},Ee=Ce):He=="}"?((Te=oe.pop())[0][Te[1]]=ee,Ee=Ce,ee=Te[0]):He=="-"?vt=-1:Ee===Ce?de.hasOwnProperty(He)?(k+=de[He],Ee=parseInt(k,16)*vt,vt=1,k=""):k+=He:de.hasOwnProperty(He)?($+=de[He],ee[Ee]=parseInt($,16)*vt,vt=1,Ee=Ce,$=""):$+=He;return st})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},At={Unicode:{Courier:qe,"Courier-Bold":qe,"Courier-BoldOblique":qe,"Courier-Oblique":qe,Helvetica:qe,"Helvetica-Bold":qe,"Helvetica-BoldOblique":qe,"Helvetica-Oblique":qe,"Times-Roman":qe,"Times-Bold":qe,"Times-BoldItalic":qe,"Times-Italic":qe}},dt={Unicode:{"Courier-Oblique":it("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":it("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":it("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:it("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":it("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":it("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:it("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:it("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":it("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:it("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":it("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":it("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":it("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":it("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}},gt.events.push(["addFont",function(me){var ce,ae,de,Se=me.font,Ce="Unicode";(ce=dt[Ce][Se.postScriptName])&&((ae=Se.metadata[Ce]?Se.metadata[Ce]:Se.metadata[Ce]={}).widths=ce.widths,ae.kerning=ce.kerning),(de=At[Ce][Se.postScriptName])&&((ae=Se.metadata[Ce]?Se.metadata[Ce]:Se.metadata[Ce]={}).encoding=de).codePages&&de.codePages.length&&(Se.encoding=de.codePages[0])}]),wt=Tt,typeof self!="undefined"&&self||typeof d!="undefined"&&d||typeof window!="undefined"&&window||Function("return this")(),wt.API.events.push(["addFont",function(me){var ce=me.font,ae=me.instance;if(ae!==void 0&&ae.existsFileInVFS(ce.postScriptName)){var de=ae.getFileFromVFS(ce.postScriptName);if(typeof de!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+ce.postScriptName+"').");ce.metadata=wt.API.TTFFont.open(ce.postScriptName,ce.fontName,de,ce.encoding),ce.metadata.Unicode=ce.metadata.Unicode||{encoding:{},kerning:{},widths:[]},ce.metadata.glyIdsUsed=[0]}else if(ce.isStandardFont===!1)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+ce.postScriptName+"').")}]),(Ye=Tt.API).addSvg=function(me,ce,ae,de,Se){if(ce===void 0||ae===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function Ce(Ht){for(var kt=parseFloat(Ht[1]),Zt=parseFloat(Ht[2]),Et=[],ur=3,rr=Ht.length;ur<rr;)Ht[ur]==="c"?(Et.push([parseFloat(Ht[ur+1]),parseFloat(Ht[ur+2]),parseFloat(Ht[ur+3]),parseFloat(Ht[ur+4]),parseFloat(Ht[ur+5]),parseFloat(Ht[ur+6])]),ur+=7):Ht[ur]==="l"?(Et.push([parseFloat(Ht[ur+1]),parseFloat(Ht[ur+2])]),ur+=3):ur+=1;return[kt,Zt,Et]}var Ie,Te,Ee,He,st,vt,ee,oe,k=(He=document,oe=He.createElement("iframe"),st=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(ee=(vt=He).createElement("style")).type="text/css",ee.styleSheet?ee.styleSheet.cssText=st:ee.appendChild(vt.createTextNode(st)),vt.getElementsByTagName("head")[0].appendChild(ee),oe.name="childframe",oe.setAttribute("width",0),oe.setAttribute("height",0),oe.setAttribute("frameborder","0"),oe.setAttribute("scrolling","no"),oe.setAttribute("seamless","seamless"),oe.setAttribute("class","jsPDF_sillysvg_iframe"),He.body.appendChild(oe),oe),$=(Ie=me,(Ee=((Te=k).contentWindow||Te.contentDocument).document).write(Ie),Ee.close(),Ee.getElementsByTagName("svg")[0]),se=[1,1],ge=parseFloat($.getAttribute("width")),Ae=parseFloat($.getAttribute("height"));ge&&Ae&&(de&&Se?se=[de/ge,Se/Ae]:de?se=[de/ge,de/ge]:Se&&(se=[Se/Ae,Se/Ae]));var Me,et,Wt,er,Ct=$.childNodes;for(Me=0,et=Ct.length;Me<et;Me++)(Wt=Ct[Me]).tagName&&Wt.tagName.toUpperCase()==="PATH"&&((er=Ce(Wt.getAttribute("d").split(" ")))[0]=er[0]*se[0]+ce,er[1]=er[1]*se[1]+ae,this.lines.call(this,er[2],er[0],er[1],se));return this},Ye.addSVG=Ye.addSvg,Ye.addSvgAsImage=function(me,ce,ae,de,Se,Ce,Ie,Te){if(isNaN(ce)||isNaN(ae))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(de)||isNaN(Se))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Ee=document.createElement("canvas");Ee.width=de,Ee.height=Se;var He=Ee.getContext("2d");return He.fillStyle="#fff",He.fillRect(0,0,Ee.width,Ee.height),canvg(Ee,me,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(Ee.toDataURL("image/jpeg",1),ce,ae,de,Se,Ie,Te),this},Tt.API.putTotalPages=function(me){var ce,ae=0;ae=parseInt(this.internal.getFont().id.substr(1),10)<15?(ce=new RegExp(me,"g"),this.internal.getNumberOfPages()):(ce=new RegExp(this.pdfEscape16(me,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var de=1;de<=this.internal.getNumberOfPages();de++)for(var Se=0;Se<this.internal.pages[de].length;Se++)this.internal.pages[de][Se]=this.internal.pages[de][Se].replace(ce,ae);return this},Tt.API.viewerPreferences=function(me,ce){var ae;me=me||{},ce=ce||!1;var de,Se,Ce={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},Ie=Object.keys(Ce),Te=[],Ee=0,He=0,st=0,vt=!0;function ee(k,$){var se,ge=!1;for(se=0;se<k.length;se+=1)k[se]===$&&(ge=!0);return ge}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Ce)),this.internal.viewerpreferences.isSubscribed=!1),ae=this.internal.viewerpreferences.configuration,me==="reset"||ce===!0){var oe=Ie.length;for(st=0;st<oe;st+=1)ae[Ie[st]].value=ae[Ie[st]].defaultValue,ae[Ie[st]].explicitSet=!1}if(m(me)==="object"){for(de in me)if(Se=me[de],ee(Ie,de)&&Se!==void 0){if(ae[de].type==="boolean"&&typeof Se=="boolean")ae[de].value=Se;else if(ae[de].type==="name"&&ee(ae[de].valueSet,Se))ae[de].value=Se;else if(ae[de].type==="integer"&&Number.isInteger(Se))ae[de].value=Se;else if(ae[de].type==="array"){for(Ee=0;Ee<Se.length;Ee+=1)if(vt=!0,Se[Ee].length===1&&typeof Se[Ee][0]=="number")Te.push(String(Se[Ee]-1));else if(1<Se[Ee].length){for(He=0;He<Se[Ee].length;He+=1)typeof Se[Ee][He]!="number"&&(vt=!1);vt===!0&&Te.push([Se[Ee][0]-1,Se[Ee][1]-1].join(" "))}ae[de].value="["+Te.join(" ")+"]"}else ae[de].value=ae[de].defaultValue;ae[de].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var k,$=[];for(k in ae)ae[k].explicitSet===!0&&(ae[k].type==="name"?$.push("/"+k+" /"+ae[k].value):$.push("/"+k+" "+ae[k].value));$.length!==0&&this.internal.write(`/ViewerPreferences
|
||
<<
|
||
`+$.join(`
|
||
`)+`
|
||
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=ae,this},mt=Tt.API,Le=Re=Ue="",mt.addMetadata=function(me,ce){return Re=ce||"http://jspdf.default.namespaceuri/",Ue=me,this.internal.events.subscribe("postPutResources",function(){if(Ue){var ae='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+Re+'"><jspdf:metadata>',de=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Se=unescape(encodeURIComponent(ae)),Ce=unescape(encodeURIComponent(Ue)),Ie=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Te=unescape(encodeURIComponent("</x:xmpmeta>")),Ee=Se.length+Ce.length+Ie.length+de.length+Te.length;Le=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ee+" >>"),this.internal.write("stream"),this.internal.write(de+Se+Ce+Ie+Te),this.internal.write("endstream"),this.internal.write("endobj")}else Le=""}),this.internal.events.subscribe("putCatalog",function(){Le&&this.internal.write("/Metadata "+Le+" 0 R")}),this},function(me,ce){var ae=me.API,de=ae.pdfEscape16=function(Ie,Te){for(var Ee,He=Te.metadata.Unicode.widths,st=["","0","00","000","0000"],vt=[""],ee=0,oe=Ie.length;ee<oe;++ee){if(Ee=Te.metadata.characterToGlyph(Ie.charCodeAt(ee)),Te.metadata.glyIdsUsed.push(Ee),Te.metadata.toUnicode[Ee]=Ie.charCodeAt(ee),He.indexOf(Ee)==-1&&(He.push(Ee),He.push([parseInt(Te.metadata.widthOfGlyph(Ee),10)])),Ee=="0")return vt.join("");Ee=Ee.toString(16),vt.push(st[4-Ee.length],Ee)}return vt.join("")},Se=function(Te){var Ee,He,st,vt,ee,oe,k;for(ee=`/CIDInit /ProcSet findresource begin
|
||
12 dict begin
|
||
begincmap
|
||
/CIDSystemInfo <<
|
||
/Registry (Adobe)
|
||
/Ordering (UCS)
|
||
/Supplement 0
|
||
>> def
|
||
/CMapName /Adobe-Identity-UCS def
|
||
/CMapType 2 def
|
||
1 begincodespacerange
|
||
<0000><ffff>
|
||
endcodespacerange`,st=[],oe=0,k=(He=Object.keys(Te).sort(function($,se){return $-se})).length;oe<k;oe++)Ee=He[oe],100<=st.length&&(ee+=`
|
||
`+st.length+` beginbfchar
|
||
`+st.join(`
|
||
`)+`
|
||
endbfchar`,st=[]),vt=("0000"+Te[Ee].toString(16)).slice(-4),Ee=("0000"+(+Ee).toString(16)).slice(-4),st.push("<"+Ee+"><"+vt+">");return st.length&&(ee+=`
|
||
`+st.length+` beginbfchar
|
||
`+st.join(`
|
||
`)+`
|
||
endbfchar
|
||
`),ee+=`endcmap
|
||
CMapName currentdict /CMap defineresource pop
|
||
end
|
||
end`};ae.events.push(["putFont",function(Ie){!function(Te,Ee,He,st){if(Te.metadata instanceof me.API.TTFFont&&Te.encoding==="Identity-H"){for(var vt=Te.metadata.Unicode.widths,ee=Te.metadata.subset.encode(Te.metadata.glyIdsUsed,1),oe="",k=0;k<ee.length;k++)oe+=String.fromCharCode(ee[k]);var $=He();st({data:oe,addLength1:!0}),Ee("endobj");var se=He();st({data:Se(Te.metadata.toUnicode),addLength1:!0}),Ee("endobj");var ge=He();Ee("<<"),Ee("/Type /FontDescriptor"),Ee("/FontName /"+Te.fontName),Ee("/FontFile2 "+$+" 0 R"),Ee("/FontBBox "+me.API.PDFObject.convert(Te.metadata.bbox)),Ee("/Flags "+Te.metadata.flags),Ee("/StemV "+Te.metadata.stemV),Ee("/ItalicAngle "+Te.metadata.italicAngle),Ee("/Ascent "+Te.metadata.ascender),Ee("/Descent "+Te.metadata.decender),Ee("/CapHeight "+Te.metadata.capHeight),Ee(">>"),Ee("endobj");var Ae=He();Ee("<<"),Ee("/Type /Font"),Ee("/BaseFont /"+Te.fontName),Ee("/FontDescriptor "+ge+" 0 R"),Ee("/W "+me.API.PDFObject.convert(vt)),Ee("/CIDToGIDMap /Identity"),Ee("/DW 1000"),Ee("/Subtype /CIDFontType2"),Ee("/CIDSystemInfo"),Ee("<<"),Ee("/Supplement 0"),Ee("/Registry (Adobe)"),Ee("/Ordering ("+Te.encoding+")"),Ee(">>"),Ee(">>"),Ee("endobj"),Te.objectNumber=He(),Ee("<<"),Ee("/Type /Font"),Ee("/Subtype /Type0"),Ee("/ToUnicode "+se+" 0 R"),Ee("/BaseFont /"+Te.fontName),Ee("/Encoding /"+Te.encoding),Ee("/DescendantFonts ["+Ae+" 0 R]"),Ee(">>"),Ee("endobj"),Te.isAlreadyPutted=!0}}(Ie.font,Ie.out,Ie.newObject,Ie.putStream)}]),ae.events.push(["putFont",function(Ie){!function(Te,Ee,He,st){if(Te.metadata instanceof me.API.TTFFont&&Te.encoding==="WinAnsiEncoding"){Te.metadata.Unicode.widths;for(var vt=Te.metadata.rawData,ee="",oe=0;oe<vt.length;oe++)ee+=String.fromCharCode(vt[oe]);var k=He();st({data:ee,addLength1:!0}),Ee("endobj");var $=He();st({data:Se(Te.metadata.toUnicode),addLength1:!0}),Ee("endobj");var se=He();for(Ee("<<"),Ee("/Descent "+Te.metadata.decender),Ee("/CapHeight "+Te.metadata.capHeight),Ee("/StemV "+Te.metadata.stemV),Ee("/Type /FontDescriptor"),Ee("/FontFile2 "+k+" 0 R"),Ee("/Flags 96"),Ee("/FontBBox "+me.API.PDFObject.convert(Te.metadata.bbox)),Ee("/FontName /"+Te.fontName),Ee("/ItalicAngle "+Te.metadata.italicAngle),Ee("/Ascent "+Te.metadata.ascender),Ee(">>"),Ee("endobj"),Te.objectNumber=He(),oe=0;oe<Te.metadata.hmtx.widths.length;oe++)Te.metadata.hmtx.widths[oe]=parseInt(Te.metadata.hmtx.widths[oe]*(1e3/Te.metadata.head.unitsPerEm));Ee("<</Subtype/TrueType/Type/Font/ToUnicode "+$+" 0 R/BaseFont/"+Te.fontName+"/FontDescriptor "+se+" 0 R/Encoding/"+Te.encoding+" /FirstChar 29 /LastChar 255 /Widths "+me.API.PDFObject.convert(Te.metadata.hmtx.widths)+">>"),Ee("endobj"),Te.isAlreadyPutted=!0}}(Ie.font,Ie.out,Ie.newObject,Ie.putStream)}]);var Ce=function(Te){var Ee,He,st=Te.text||"",vt=Te.x,ee=Te.y,oe=Te.options||{},k=Te.mutex||{},$=k.pdfEscape,se=k.activeFontKey,ge=k.fonts,Ae=(k.activeFontSize,""),Me=0,et="",Wt=ge[He=se].encoding;if(ge[He].encoding!=="Identity-H")return{text:st,x:vt,y:ee,options:oe,mutex:k};for(et=st,He=se,Object.prototype.toString.call(st)==="[object Array]"&&(et=st[0]),Me=0;Me<et.length;Me+=1)ge[He].metadata.hasOwnProperty("cmap")&&(Ee=ge[He].metadata.cmap.unicode.codeMap[et[Me].charCodeAt(0)]),Ee||et[Me].charCodeAt(0)<256&&ge[He].metadata.hasOwnProperty("Unicode")?Ae+=et[Me]:Ae+="";var er="";return parseInt(He.slice(1))<14||Wt==="WinAnsiEncoding"?er=function(Ct){for(var Ht="",kt=0;kt<Ct.length;kt++)Ht+=""+Ct.charCodeAt(kt).toString(16);return Ht}($(Ae,He)):Wt==="Identity-H"&&(er=de(Ae,ge[He])),k.isHex=!0,{text:er,x:vt,y:ee,options:oe,mutex:k}};ae.events.push(["postProcessText",function(Ie){var Te=Ie.text||"",Ee=Ie.x,He=Ie.y,st=Ie.options,vt=Ie.mutex,ee=(st.lang,[]),oe={text:Te,x:Ee,y:He,options:st,mutex:vt};if(Object.prototype.toString.call(Te)==="[object Array]"){var k=0;for(k=0;k<Te.length;k+=1)Object.prototype.toString.call(Te[k])==="[object Array]"&&Te[k].length===3?ee.push([Ce(Object.assign({},oe,{text:Te[k][0]})).text,Te[k][1],Te[k][2]]):ee.push(Ce(Object.assign({},oe,{text:Te[k]})).text);Ie.text=ee}else Ie.text=Ce(Object.assign({},oe,{text:Te})).text}])}(Tt,typeof self!="undefined"&&self||typeof d!="undefined"&&d||typeof window!="undefined"&&window||Function("return this")()),at=Tt.API,Ot=function(ce){return ce!==void 0&&(ce.vFS===void 0&&(ce.vFS={}),!0)},at.existsFileInVFS=function(me){return!!Ot(this.internal)&&this.internal.vFS[me]!==void 0},at.addFileToVFS=function(me,ce){return Ot(this.internal),this.internal.vFS[me]=ce,this},at.getFileFromVFS=function(me){return Ot(this.internal),this.internal.vFS[me]!==void 0?this.internal.vFS[me]:null},Tt.API.addHTML=function(me,ce,ae,de,Se){if(typeof html2canvas=="undefined"&&typeof rasterizeHTML=="undefined")throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");typeof ce!="number"&&(de=ce,Se=ae),typeof de=="function"&&(Se=de,de=null),typeof Se!="function"&&(Se=function(){});var Ce=this.internal,Ie=Ce.scaleFactor,Te=Ce.pageSize.getWidth(),Ee=Ce.pageSize.getHeight();if((de=de||{}).onrendered=function(st){ce=parseInt(ce)||0,ae=parseInt(ae)||0;var vt=de.dim||{},ee=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},de.margin),oe=vt.h||Math.min(Ee,st.height/Ie),k=vt.w||Math.min(Te,st.width/Ie)-ce,$=de.format||"JPEG",se=de.imageCompression||"SLOW";if(st.height>Ee-ee.top-ee.bottom&&de.pagesplit){var ge=function(Ct,Ht,kt,Zt,Et){var ur=document.createElement("canvas");ur.height=Et,ur.width=Zt;var rr=ur.getContext("2d");return rr.mozImageSmoothingEnabled=!1,rr.webkitImageSmoothingEnabled=!1,rr.msImageSmoothingEnabled=!1,rr.imageSmoothingEnabled=!1,rr.fillStyle=de.backgroundColor||"#ffffff",rr.fillRect(0,0,Zt,Et),rr.drawImage(Ct,Ht,kt,Zt,Et,0,0,Zt,Et),ur},Ae=function(){for(var er,Ct,Ht=0,kt=0,Zt={},Et=!1;;){var ur;if(kt=0,Zt.top=Ht!==0?ee.top:ae,Zt.left=Ht!==0?ee.left:ce,Et=(Te-ee.left-ee.right)*Ie<st.width,ee.useFor==="content"?Ht===0?(er=Math.min((Te-ee.left)*Ie,st.width),Ct=Math.min((Ee-ee.top)*Ie,st.height-Ht)):(er=Math.min(Te*Ie,st.width),Ct=Math.min(Ee*Ie,st.height-Ht),Zt.top=0):(er=Math.min((Te-ee.left-ee.right)*Ie,st.width),Ct=Math.min((Ee-ee.bottom-ee.top)*Ie,st.height-Ht)),Et)for(;;){ee.useFor==="content"&&(kt===0?er=Math.min((Te-ee.left)*Ie,st.width):(er=Math.min(Te*Ie,st.width-kt),Zt.left=0));var rr=[ur=ge(st,kt,Ht,er,Ct),Zt.left,Zt.top,ur.width/Ie,ur.height/Ie,$,null,se];if(this.addImage.apply(this,rr),(kt+=er)>=st.width)break;this.addPage()}else rr=[ur=ge(st,0,Ht,er,Ct),Zt.left,Zt.top,ur.width/Ie,ur.height/Ie,$,null,se],this.addImage.apply(this,rr);if((Ht+=Ct)>=st.height)break;this.addPage()}Se(k,Ht,null,rr)}.bind(this);if(st.nodeName==="CANVAS"){var Me=new Image;Me.onload=Ae,Me.src=st.toDataURL("image/png"),st=Me}else Ae()}else{var et=Math.random().toString(35),Wt=[st,ce,ae,k,oe,$,et,se];this.addImage.apply(this,Wt),Se(k,oe,et,Wt)}}.bind(this),typeof html2canvas!="undefined"&&!de.rstz)return html2canvas(me,de);if(typeof rasterizeHTML=="undefined")return null;var He="drawDocument";return typeof me=="string"&&(He=/^http/.test(me)?"drawURL":"drawHTML"),de.width=de.width||Te*Ie,rasterizeHTML[He](me,void 0,de).then(function(st){de.onrendered(st.image)},function(st){Se(null,st)})},function(me){var ce,ae,de,Se,Ce,Ie,Te,Ee,He,st,vt,ee,oe,k,$,se,ge,Ae,Me,et;ce=function(){return function(Ht){return Ct.prototype=Ht,new Ct};function Ct(){}}(),st=function(Ht){var kt,Zt,Et,ur,rr,Ke,nt;for(Zt=0,Et=Ht.length,kt=void 0,Ke=ur=!1;!ur&&Zt!==Et;)(kt=Ht[Zt]=Ht[Zt].trimLeft())&&(ur=!0),Zt++;for(Zt=Et-1;Et&&!Ke&&Zt!==-1;)(kt=Ht[Zt]=Ht[Zt].trimRight())&&(Ke=!0),Zt--;for(rr=/\s+$/g,nt=!0,Zt=0;Zt!==Et;)Ht[Zt]!="\u2028"&&(kt=Ht[Zt].replace(/\s+/g," "),nt&&(kt=kt.trimLeft()),kt&&(nt=rr.test(kt)),Ht[Zt]=kt),Zt++;return Ht},ee=function(Ht){var kt,Zt,Et;for(kt=void 0,Zt=(Et=Ht.split(",")).shift();!kt&&Zt;)kt=de[Zt.trim().toLowerCase()],Zt=Et.shift();return kt},oe=function(Ht){var kt;return-1<(Ht=Ht==="auto"?"0px":Ht).indexOf("em")&&!isNaN(Number(Ht.replace("em","")))&&(Ht=18.719*Number(Ht.replace("em",""))+"px"),-1<Ht.indexOf("pt")&&!isNaN(Number(Ht.replace("pt","")))&&(Ht=1.333*Number(Ht.replace("pt",""))+"px"),(kt=k[Ht])?kt:(kt={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[Ht])!==void 0||(kt=parseFloat(Ht))?k[Ht]=kt/16:(kt=Ht.match(/([\d\.]+)(px)/),Array.isArray(kt)&&kt.length===3?k[Ht]=parseFloat(kt[1])/16:k[Ht]=1)},He=function(Ht){var kt,Zt,Et,ur,rr;return rr=Ht,ur=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(rr,null):rr.currentStyle?rr.currentStyle:rr.style,Zt=void 0,(kt={})["font-family"]=ee((Et=function(nt){return nt=nt.replace(/-\D/g,function(Ge){return Ge.charAt(1).toUpperCase()}),ur[nt]})("font-family"))||"times",kt["font-style"]=Se[Et("font-style")]||"normal",kt["text-align"]=Ce[Et("text-align")]||"left",(Zt=Ie[Et("font-weight")]||"normal")==="bold"&&(kt["font-style"]==="normal"?kt["font-style"]=Zt:kt["font-style"]=Zt+kt["font-style"]),kt["font-size"]=oe(Et("font-size"))||1,kt["line-height"]=oe(Et("line-height"))||1,kt.display=Et("display")==="inline"?"inline":"block",Zt=kt.display==="block",kt["margin-top"]=Zt&&oe(Et("margin-top"))||0,kt["margin-bottom"]=Zt&&oe(Et("margin-bottom"))||0,kt["padding-top"]=Zt&&oe(Et("padding-top"))||0,kt["padding-bottom"]=Zt&&oe(Et("padding-bottom"))||0,kt["margin-left"]=Zt&&oe(Et("margin-left"))||0,kt["margin-right"]=Zt&&oe(Et("margin-right"))||0,kt["padding-left"]=Zt&&oe(Et("padding-left"))||0,kt["padding-right"]=Zt&&oe(Et("padding-right"))||0,kt["page-break-before"]=Et("page-break-before")||"auto",kt.float=Te[Et("cssFloat")]||"none",kt.clear=Ee[Et("clear")]||"none",kt.color=Et("color"),kt},$=function(Ht,kt,Zt){var Et,ur,rr,Ke,nt;if(rr=!1,Ke=ur=void 0,Et=Zt["#"+Ht.id])if(typeof Et=="function")rr=Et(Ht,kt);else for(ur=0,Ke=Et.length;!rr&&ur!==Ke;)rr=Et[ur](Ht,kt),ur++;if(Et=Zt[Ht.nodeName],!rr&&Et)if(typeof Et=="function")rr=Et(Ht,kt);else for(ur=0,Ke=Et.length;!rr&&ur!==Ke;)rr=Et[ur](Ht,kt),ur++;for(nt=typeof Ht.className=="string"?Ht.className.split(" "):[],ur=0;ur<nt.length;ur++)if(Et=Zt["."+nt[ur]],!rr&&Et)if(typeof Et=="function")rr=Et(Ht,kt);else for(ur=0,Ke=Et.length;!rr&&ur!==Ke;)rr=Et[ur](Ht,kt),ur++;return rr},et=function(Ht,kt){var Zt,Et,ur,rr,Ke,nt,Ge,ct,ht;for(Zt=[],Et=[],ur=0,ht=Ht.rows[0].cells.length,Ge=Ht.clientWidth;ur<ht;)ct=Ht.rows[0].cells[ur],Et[ur]={name:ct.textContent.toLowerCase().replace(/\s+/g,""),prompt:ct.textContent.replace(/\r?\n/g,""),width:ct.clientWidth/Ge*kt.pdf.internal.pageSize.getWidth()},ur++;for(ur=1;ur<Ht.rows.length;){for(nt=Ht.rows[ur],Ke={},rr=0;rr<nt.cells.length;)Ke[Et[rr].name]=nt.cells[rr].textContent.replace(/\r?\n/g,""),rr++;Zt.push(Ke),ur++}return{rows:Zt,headers:Et}};var Wt={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},er=1;ae=function(Ht,kt,Zt){var Et,ur,rr,Ke,nt,Ge,ct,ht;for(ur=Ht.childNodes,Et=void 0,(nt=(rr=He(Ht)).display==="block")&&(kt.setBlockBoundary(),kt.setBlockStyle(rr)),Ke=0,Ge=ur.length;Ke<Ge;){if(m(Et=ur[Ke])==="object"){if(kt.executeWatchFunctions(Et),Et.nodeType===1&&Et.nodeName==="HEADER"){var ut=Et,We=kt.pdf.margins_doc.top;kt.pdf.internal.events.subscribe("addPage",function(dr){kt.y=We,ae(ut,kt,Zt),kt.pdf.margins_doc.top=kt.y+10,kt.y+=10},!1)}if(Et.nodeType===8&&Et.nodeName==="#comment")~Et.textContent.indexOf("ADD_PAGE")&&(kt.pdf.addPage(),kt.y=kt.pdf.margins_doc.top);else if(Et.nodeType!==1||Wt[Et.nodeName])if(Et.nodeType===3){var tt=Et.nodeValue;if(Et.nodeValue&&Et.parentNode.nodeName==="LI")if(Et.parentNode.parentNode.nodeName==="OL")tt=er+++". "+tt;else{var ft=rr["font-size"],Yt=(3-.75*ft)*kt.pdf.internal.scaleFactor,Dt=.75*ft*kt.pdf.internal.scaleFactor,vr=1.74*ft/kt.pdf.internal.scaleFactor;ht=function(fr,_r){this.pdf.circle(fr+Yt,_r+Dt,vr,"FD")}}16&Et.ownerDocument.body.compareDocumentPosition(Et)&&kt.addText(tt,rr)}else typeof Et=="string"&&kt.addText(Et,rr);else{var yr;if(Et.nodeName==="IMG"){var Dr=Et.getAttribute("src");yr=se[kt.pdf.sHashCode(Dr)||Dr]}if(yr){kt.pdf.internal.pageSize.getHeight()-kt.pdf.margins_doc.bottom<kt.y+Et.height&&kt.y>kt.pdf.margins_doc.top&&(kt.pdf.addPage(),kt.y=kt.pdf.margins_doc.top,kt.executeWatchFunctions(Et));var Rr=He(Et),Jr=kt.x,$r=12/kt.pdf.internal.scaleFactor,xr=(Rr["margin-left"]+Rr["padding-left"])*$r,Vr=(Rr["margin-right"]+Rr["padding-right"])*$r,Or=(Rr["margin-top"]+Rr["padding-top"])*$r,nr=(Rr["margin-bottom"]+Rr["padding-bottom"])*$r;Rr.float!==void 0&&Rr.float==="right"?Jr+=kt.settings.width-Et.width-Vr:Jr+=xr,kt.pdf.addImage(yr,Jr,kt.y+Or,Et.width,Et.height),yr=void 0,Rr.float==="right"||Rr.float==="left"?(kt.watchFunctions.push(function(dr,fr,_r,Zr){return kt.y>=fr?(kt.x+=dr,kt.settings.width+=_r,!0):!!(Zr&&Zr.nodeType===1&&!Wt[Zr.nodeName]&&kt.x+Zr.width>kt.pdf.margins_doc.left+kt.pdf.margins_doc.width)&&(kt.x+=dr,kt.y=fr,kt.settings.width+=_r,!0)}.bind(this,Rr.float==="left"?-Et.width-xr-Vr:0,kt.y+Et.height+Or+nr,Et.width)),kt.watchFunctions.push(function(dr,fr,_r){return!(kt.y<dr&&fr===kt.pdf.internal.getNumberOfPages())||_r.nodeType===1&&He(_r).clear==="both"&&(kt.y=dr,!0)}.bind(this,kt.y+Et.height,kt.pdf.internal.getNumberOfPages())),kt.settings.width-=Et.width+xr+Vr,Rr.float==="left"&&(kt.x+=Et.width+xr+Vr)):kt.y+=Et.height+Or+nr}else if(Et.nodeName==="TABLE")ct=et(Et,kt),kt.y+=10,kt.pdf.table(kt.x,kt.y,ct.rows,ct.headers,{autoSize:!1,printHeaders:Zt.printHeaders,margins:kt.pdf.margins_doc,css:He(Et)}),kt.y=kt.pdf.lastCellPos.y+kt.pdf.lastCellPos.h+20;else if(Et.nodeName==="OL"||Et.nodeName==="UL")er=1,$(Et,kt,Zt)||ae(Et,kt,Zt),kt.y+=10;else if(Et.nodeName==="LI"){var pr=kt.x;kt.x+=20/kt.pdf.internal.scaleFactor,kt.y+=3,$(Et,kt,Zt)||ae(Et,kt,Zt),kt.x=pr}else Et.nodeName==="BR"?(kt.y+=rr["font-size"]*kt.pdf.internal.scaleFactor,kt.addText("\u2028",ce(rr))):$(Et,kt,Zt)||ae(Et,kt,Zt)}}Ke++}if(Zt.outY=kt.y,nt)return kt.setBlockBoundary(ht)},se={},ge=function(Ht,kt,Zt,Et){var ur,rr=Ht.getElementsByTagName("img"),Ke=rr.length,nt=0;function Ge(){kt.pdf.internal.events.publish("imagesLoaded"),Et(ur)}function ct(ht,ut,We){if(ht){var tt=new Image;ur=++nt,tt.crossOrigin="",tt.onerror=tt.onload=function(){if(tt.complete&&(tt.src.indexOf("data:image/")===0&&(tt.width=ut||tt.width||0,tt.height=We||tt.height||0),tt.width+tt.height)){var ft=kt.pdf.sHashCode(ht)||ht;se[ft]=se[ft]||tt}--nt||Ge()},tt.src=ht}}for(;Ke--;)ct(rr[Ke].getAttribute("src"),rr[Ke].width,rr[Ke].height);return nt||Ge()},Ae=function(Ht,kt,Zt){var Et=Ht.getElementsByTagName("footer");if(0<Et.length){Et=Et[0];var ur=kt.pdf.internal.write,rr=kt.y;kt.pdf.internal.write=function(){},ae(Et,kt,Zt);var Ke=Math.ceil(kt.y-rr)+5;kt.y=rr,kt.pdf.internal.write=ur,kt.pdf.margins_doc.bottom+=Ke;for(var nt=function(ut){var We=ut!==void 0?ut.pageNumber:1,tt=kt.y;kt.y=kt.pdf.internal.pageSize.getHeight()-kt.pdf.margins_doc.bottom,kt.pdf.margins_doc.bottom-=Ke;for(var ft=Et.getElementsByTagName("span"),Yt=0;Yt<ft.length;++Yt)-1<(" "+ft[Yt].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(ft[Yt].innerHTML=We),-1<(" "+ft[Yt].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(ft[Yt].innerHTML="###jsPDFVarTotalPages###");ae(Et,kt,Zt),kt.pdf.margins_doc.bottom+=Ke,kt.y=tt},Ge=Et.getElementsByTagName("span"),ct=0;ct<Ge.length;++ct)-1<(" "+Ge[ct].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&kt.pdf.internal.events.subscribe("htmlRenderingFinished",kt.pdf.putTotalPages.bind(kt.pdf,"###jsPDFVarTotalPages###"),!0);kt.pdf.internal.events.subscribe("addPage",nt,!1),nt(),Wt.FOOTER=1}},Me=function(Ht,kt,Zt,Et,ur,rr){if(!kt)return!1;var Ke,nt,Ge,ct;typeof kt=="string"||kt.parentNode||(kt=""+kt.innerHTML),typeof kt=="string"&&(Ke=kt.replace(/<\/?script[^>]*?>/gi,""),ct="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(Ge=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;",Ge.innerHTML='<iframe style="height:1px;width:1px" name="'+ct+'" />',document.body.appendChild(Ge),(nt=window.frames[ct]).document.open(),nt.document.writeln(Ke),nt.document.close(),kt=nt.document.body);var ht,ut=new vt(Ht,Zt,Et,ur);return ge.call(this,kt,ut,ur.elementHandlers,function(We){Ae(kt,ut,ur.elementHandlers),ae(kt,ut,ur.elementHandlers),ut.pdf.internal.events.publish("htmlRenderingFinished"),ht=ut.dispose(),typeof rr=="function"?rr(ht):We&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),ht||{x:ut.x,y:ut.y}},(vt=function(Ht,kt,Zt,Et){return this.pdf=Ht,this.x=kt,this.y=Zt,this.settings=Et,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},vt.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},vt.prototype.executeWatchFunctions=function(Ct){var Ht=!1,kt=[];if(0<this.watchFunctions.length){for(var Zt=0;Zt<this.watchFunctions.length;++Zt)this.watchFunctions[Zt](Ct)===!0?Ht=!0:kt.push(this.watchFunctions[Zt]);this.watchFunctions=kt}return Ht},vt.prototype.splitFragmentsIntoLines=function(Ct,Ht){var kt,Zt,Et,ur,rr,Ke,nt,Ge,ct,ht,ut,We,tt,ft;for(ht=this.pdf.internal.scaleFactor,ur={},Ke=nt=Ge=ft=rr=Et=ct=Zt=void 0,We=[ut=[]],kt=0,tt=this.settings.width;Ct.length;)if(rr=Ct.shift(),ft=Ht.shift(),rr)if((Et=ur[(Zt=ft["font-family"])+(ct=ft["font-style"])])||(Et=this.pdf.internal.getFont(Zt,ct).metadata.Unicode,ur[Zt+ct]=Et),Ge={widths:Et.widths,kerning:Et.kerning,fontSize:12*ft["font-size"],textIndent:kt},nt=this.pdf.getStringUnitWidth(rr,Ge)*Ge.fontSize/ht,rr=="\u2028")ut=[],We.push(ut);else if(tt<kt+nt){for(Ke=this.pdf.splitTextToSize(rr,tt,Ge),ut.push([Ke.shift(),ft]);Ke.length;)ut=[[Ke.shift(),ft]],We.push(ut);kt=this.pdf.getStringUnitWidth(ut[0][0],Ge)*Ge.fontSize/ht}else ut.push([rr,ft]),kt+=nt;if(ft["text-align"]!==void 0&&(ft["text-align"]==="center"||ft["text-align"]==="right"||ft["text-align"]==="justify"))for(var Yt=0;Yt<We.length;++Yt){var Dt=this.pdf.getStringUnitWidth(We[Yt][0][0],Ge)*Ge.fontSize/ht;0<Yt&&(We[Yt][0][1]=ce(We[Yt][0][1]));var vr=tt-Dt;if(ft["text-align"]==="right")We[Yt][0][1]["margin-left"]=vr;else if(ft["text-align"]==="center")We[Yt][0][1]["margin-left"]=vr/2;else if(ft["text-align"]==="justify"){var yr=We[Yt][0][0].split(" ").length-1;We[Yt][0][1]["word-spacing"]=vr/yr,Yt===We.length-1&&(We[Yt][0][1]["word-spacing"]=0)}}return We},vt.prototype.RenderTextFragment=function(Ct,Ht){var kt,Zt;Zt=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(Ht.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Zt=Math.max(Zt,Ht["line-height"],Ht["font-size"]),this.pdf.internal.write(0,(-12*Zt).toFixed(2),"Td")),kt=this.pdf.internal.getFont(Ht["font-family"],Ht["font-style"]);var Et=this.getPdfColor(Ht.color);Et!==this.lastTextColor&&(this.pdf.internal.write(Et),this.lastTextColor=Et),Ht["word-spacing"]!==void 0&&0<Ht["word-spacing"]&&this.pdf.internal.write(Ht["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+kt.id,(12*Ht["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(Ct)+") Tj"),Ht["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},vt.prototype.getPdfColor=function(Ct){var Ht,kt,Zt,Et=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(Ct);if(Et!=null)Ht=parseInt(Et[1]),kt=parseInt(Et[2]),Zt=parseInt(Et[3]);else{if(typeof Ct=="string"&&Ct.charAt(0)!="#"){var ur=new RGBColor(Ct);Ct=ur.ok?ur.toHex():"#000000"}Ht=Ct.substring(1,3),Ht=parseInt(Ht,16),kt=Ct.substring(3,5),kt=parseInt(kt,16),Zt=Ct.substring(5,7),Zt=parseInt(Zt,16)}if(typeof Ht=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Ht)){var rr=parseInt(Ht.substr(1),16);Ht=rr>>16&255,kt=rr>>8&255,Zt=255&rr}var Ke=this.f3;return Ht===0&&kt===0&&Zt===0||kt===void 0?Ke(Ht/255)+" g":[Ke(Ht/255),Ke(kt/255),Ke(Zt/255),"rg"].join(" ")},vt.prototype.f3=function(Ct){return Ct.toFixed(3)},vt.prototype.renderParagraph=function(Ct){var Ht,kt,Zt,Et,ur,rr,Ke,nt,Ge,ct,ht,ut,We;if(Zt=st(this.paragraph.text),ut=this.paragraph.style,Ht=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:Ht},Zt.join("").trim()){Ke=this.splitFragmentsIntoLines(Zt,ut),nt=rr=void 0,kt=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,ht=(Math.max((Ht["margin-top"]||0)-this.priorMarginBottom,0)+(Ht["padding-top"]||0))*kt,ct=((Ht["margin-bottom"]||0)+(Ht["padding-bottom"]||0))*kt,this.priorMarginBottom=Ht["margin-bottom"]||0,Ht["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,ht=((Ht["margin-top"]||0)+(Ht["padding-top"]||0))*kt),Ge=this.pdf.internal.write,ur=Et=void 0,this.y+=ht,Ge("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var tt=0;Ke.length;){for(Et=nt=0,ur=(rr=Ke.shift()).length;Et!==ur;)rr[Et][0].trim()&&(nt=Math.max(nt,rr[Et][1]["line-height"],rr[Et][1]["font-size"]),We=7*rr[Et][1]["font-size"]),Et++;var ft=0,Yt=0;for(rr[0][1]["margin-left"]!==void 0&&0<rr[0][1]["margin-left"]&&(ft=(Yt=this.pdf.internal.getCoordinateString(rr[0][1]["margin-left"]))-tt,tt=Yt),Ge(ft+Math.max(Ht["margin-left"]||0,0)*kt,(-12*nt).toFixed(2),"Td"),Et=0,ur=rr.length;Et!==ur;)rr[Et][0]&&this.RenderTextFragment(rr[Et][0],rr[Et][1]),Et++;if(this.y+=nt*kt,this.executeWatchFunctions(rr[0][1])&&0<Ke.length){var Dt=[],vr=[];Ke.forEach(function(yr){for(var Dr=0,Rr=yr.length;Dr!==Rr;)yr[Dr][0]&&(Dt.push(yr[Dr][0]+" "),vr.push(yr[Dr][1])),++Dr}),Ke=this.splitFragmentsIntoLines(st(Dt),vr),Ge("ET","Q"),Ge("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return Ct&&typeof Ct=="function"&&Ct.call(this,this.x-9,this.y-We/2),Ge("ET","Q"),this.y+=ct}},vt.prototype.setBlockBoundary=function(Ct){return this.renderParagraph(Ct)},vt.prototype.setBlockStyle=function(Ct){return this.paragraph.blockstyle=Ct},vt.prototype.addText=function(Ct,Ht){return this.paragraph.text.push(Ct),this.paragraph.style.push(Ht)},de={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},Ie={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},Se={normal:"normal",italic:"italic",oblique:"italic"},Ce={left:"left",right:"right",center:"center",justify:"justify"},Te={none:"none",right:"right",left:"left"},Ee={none:"none",both:"both"},k={normal:1},me.fromHTML=function(Ct,Ht,kt,Zt,Et,ur){return this.margins_doc=ur||{top:0,bottom:0},Zt||(Zt={}),Zt.elementHandlers||(Zt.elementHandlers={}),Me(this,Ct,isNaN(Ht)?4:Ht,isNaN(kt)?4:kt,Zt,Et)}}(Tt.API),Tt.API,(typeof window!="undefined"&&window||typeof d!="undefined"&&d).html2pdf=function(me,ce,ae){var de=ce.canvas;if(de){var Se,Ce;if((de.pdf=ce).annotations={_nameMap:[],createAnnotation:function(vt,ee){var oe,k=ce.context2d._wrapX(ee.left),$=ce.context2d._wrapY(ee.top),se=(ce.context2d._page(ee.top),vt.indexOf("#"));oe=0<=se?{name:vt.substring(se+1)}:{url:vt},ce.link(k,$,ee.right-ee.left,ee.bottom-ee.top,oe)},setName:function(vt,ee){var oe=ce.context2d._wrapX(ee.left),k=ce.context2d._wrapY(ee.top),$=ce.context2d._page(ee.top);this._nameMap[vt]={page:$,x:oe,y:k}}},de.annotations=ce.annotations,ce.context2d._pageBreakAt=function(st){this.pageBreaks.push(st)},ce.context2d._gotoPage=function(st){for(;ce.internal.getNumberOfPages()<st;)ce.addPage();ce.setPage(st)},typeof me=="string"){me=me.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var Ie,Te,Ee=document.createElement("iframe");document.body.appendChild(Ee),(Ie=Ee.contentDocument)!=null&&Ie!=null||(Ie=Ee.contentWindow.document),Ie.open(),Ie.write(me),Ie.close(),Se=Ie.body,Te=Ie.body||{},me=Ie.documentElement||{},Ce=Math.max(Te.scrollHeight,Te.offsetHeight,me.clientHeight,me.scrollHeight,me.offsetHeight)}else Te=(Se=me).body||{},Ce=Math.max(Te.scrollHeight,Te.offsetHeight,me.clientHeight,me.scrollHeight,me.offsetHeight);var He={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:de,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:Ce=ce.internal.pageSize.getHeight(),scrollY:Ce};ce.context2d.pageWrapYEnabled=!0,ce.context2d.pageWrapY=ce.internal.pageSize.getHeight(),html2canvas(Se,He).then(function(st){ae&&(Ee&&Ee.parentElement.removeChild(Ee),ae(ce))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(me){var ce=me.BlobBuilder||me.WebKitBlobBuilder||me.MSBlobBuilder||me.MozBlobBuilder;me.URL=me.URL||me.webkitURL||function(k,$){return($=document.createElement("a")).href=k,$};var ae=me.Blob,de=URL.createObjectURL,Se=URL.revokeObjectURL,Ce=me.Symbol&&me.Symbol.toStringTag,Ie=!1,Te=!1,Ee=!!me.ArrayBuffer,He=ce&&ce.prototype.append&&ce.prototype.getBlob;try{Ie=new Blob(["\xE4"]).size===2,Te=new Blob([new Uint8Array([1,2])]).size===2}catch(k){}function st(k){return k.map(function($){if($.buffer instanceof ArrayBuffer){var se=$.buffer;if($.byteLength!==se.byteLength){var ge=new Uint8Array($.byteLength);ge.set(new Uint8Array(se,$.byteOffset,$.byteLength)),se=ge.buffer}return se}return $})}function vt(k,$){$=$||{};var se=new ce;return st(k).forEach(function(ge){se.append(ge)}),$.type?se.getBlob($.type):se.getBlob()}function ee(k,$){return new ae(st(k),$||{})}if(me.Blob&&(vt.prototype=Blob.prototype,ee.prototype=Blob.prototype),Ce)try{File.prototype[Ce]="File",Blob.prototype[Ce]="Blob",FileReader.prototype[Ce]="FileReader"}catch(k){}function oe(){var k=!!me.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,$=me.XMLHttpRequest&&me.XMLHttpRequest.prototype.send;k&&$&&(XMLHttpRequest.prototype.send=function(ge){ge instanceof Blob&&this.setRequestHeader("Content-Type",ge.type),$.call(this,ge)});try{new File([],"")}catch(ge){try{var se=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();me.File=se}catch(Ae){se=function(et,Wt,er){var Ct=new Blob(et,er),Ht=er&&er.lastModified!==void 0?new Date(er.lastModified):new Date;return Ct.name=Wt,Ct.lastModifiedDate=Ht,Ct.lastModified=+Ht,Ct.toString=function(){return"[object File]"},Ce&&(Ct[Ce]="File"),Ct},me.File=se}}}Ie?(oe(),me.Blob=Te?me.Blob:ee):He?(oe(),me.Blob=vt):function(){function k(Zt){for(var Et=[],ur=0;ur<Zt.length;ur++){var rr=Zt.charCodeAt(ur);rr<128?Et.push(rr):rr<2048?Et.push(192|rr>>6,128|63&rr):rr<55296||57344<=rr?Et.push(224|rr>>12,128|rr>>6&63,128|63&rr):(ur++,rr=65536+((1023&rr)<<10|1023&Zt.charCodeAt(ur)),Et.push(240|rr>>18,128|rr>>12&63,128|rr>>6&63,128|63&rr))}return Et}function $(Zt){var Et,ur,rr,Ke,nt,Ge;for(Et="",rr=Zt.length,ur=0;ur<rr;)switch((Ke=Zt[ur++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:Et+=String.fromCharCode(Ke);break;case 12:case 13:nt=Zt[ur++],Et+=String.fromCharCode((31&Ke)<<6|63&nt);break;case 14:nt=Zt[ur++],Ge=Zt[ur++],Et+=String.fromCharCode((15&Ke)<<12|(63&nt)<<6|(63&Ge)<<0)}return Et}function se(Zt){for(var Et=new Array(Zt.byteLength),ur=new Uint8Array(Zt),rr=Et.length;rr--;)Et[rr]=ur[rr];return Et}function ge(Zt){for(var Et="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",ur=[],rr=0;rr<Zt.length;rr+=3){var Ke=Zt[rr],nt=rr+1<Zt.length,Ge=nt?Zt[rr+1]:0,ct=rr+2<Zt.length,ht=ct?Zt[rr+2]:0,ut=Ke>>2,We=(3&Ke)<<4|Ge>>4,tt=(15&Ge)<<2|ht>>6,ft=63&ht;ct||(ft=64,nt||(tt=64)),ur.push(Et[ut],Et[We],Et[tt],Et[ft])}return ur.join("")}var Ae=Object.create||function(Zt){function Et(){}return Et.prototype=Zt,new Et};if(Ee)var Me=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],et=ArrayBuffer.isView||function(Zt){return Zt&&-1<Me.indexOf(Object.prototype.toString.call(Zt))};function Wt(Zt,Et){for(var ur=0,rr=(Zt=Zt||[]).length;ur<rr;ur++){var Ke=Zt[ur];Ke instanceof Wt?Zt[ur]=Ke._buffer:typeof Ke=="string"?Zt[ur]=k(Ke):Ee&&(ArrayBuffer.prototype.isPrototypeOf(Ke)||et(Ke))?Zt[ur]=se(Ke):Ee&&(nt=Ke)&&DataView.prototype.isPrototypeOf(nt)?Zt[ur]=se(Ke.buffer):Zt[ur]=k(String(Ke))}var nt;this._buffer=[].concat.apply([],Zt),this.size=this._buffer.length,this.type=Et&&Et.type||""}function er(Zt,Et,ur){var rr=Wt.call(this,Zt,ur=ur||{})||this;return rr.name=Et,rr.lastModifiedDate=ur.lastModified?new Date(ur.lastModified):new Date,rr.lastModified=+rr.lastModifiedDate,rr}if(Wt.prototype.slice=function(Zt,Et,ur){return new Wt([this._buffer.slice(Zt||0,Et||this._buffer.length)],{type:ur})},Wt.prototype.toString=function(){return"[object Blob]"},(er.prototype=Ae(Wt.prototype)).constructor=er,Object.setPrototypeOf)Object.setPrototypeOf(er,Wt);else try{er.__proto__=Wt}catch(Zt){}function Ct(){if(!(this instanceof Ct))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var Zt=document.createDocumentFragment();this.addEventListener=Zt.addEventListener,this.dispatchEvent=function(Et){var ur=this["on"+Et.type];typeof ur=="function"&&ur(Et),Zt.dispatchEvent(Et)},this.removeEventListener=Zt.removeEventListener}function Ht(Zt,Et,ur){if(!(Et instanceof Wt))throw new TypeError("Failed to execute '"+ur+"' on 'FileReader': parameter 1 is not of type 'Blob'.");Zt.result="",setTimeout(function(){this.readyState=Ct.LOADING,Zt.dispatchEvent(new Event("load")),Zt.dispatchEvent(new Event("loadend"))})}er.prototype.toString=function(){return"[object File]"},Ct.EMPTY=0,Ct.LOADING=1,Ct.DONE=2,Ct.prototype.error=null,Ct.prototype.onabort=null,Ct.prototype.onerror=null,Ct.prototype.onload=null,Ct.prototype.onloadend=null,Ct.prototype.onloadstart=null,Ct.prototype.onprogress=null,Ct.prototype.readAsDataURL=function(Zt){Ht(this,Zt,"readAsDataURL"),this.result="data:"+Zt.type+";base64,"+ge(Zt._buffer)},Ct.prototype.readAsText=function(Zt){Ht(this,Zt,"readAsText"),this.result=$(Zt._buffer)},Ct.prototype.readAsArrayBuffer=function(Zt){Ht(this,Zt,"readAsText"),this.result=Zt._buffer.slice()},Ct.prototype.abort=function(){},URL.createObjectURL=function(Zt){return Zt instanceof Wt?"data:"+Zt.type+";base64,"+ge(Zt._buffer):de.call(URL,Zt)},URL.revokeObjectURL=function(Zt){Se&&Se.call(URL,Zt)};var kt=me.XMLHttpRequest&&me.XMLHttpRequest.prototype.send;kt&&(XMLHttpRequest.prototype.send=function(Zt){Zt instanceof Wt?(this.setRequestHeader("Content-Type",Zt.type),kt.call(this,$(Zt._buffer))):kt.call(this,Zt)}),me.FileReader=Ct,me.File=er,me.Blob=Wt}()}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")());var Ft,ke,Vt,bt,Rt,Nt,xt,Ut,Ze,ze,re,le,Xe,_e,je,ar=ar||function(me){if(!(me===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var ce=me.document,ae=function(){return me.URL||me.webkitURL||me},de=ce.createElementNS("http://www.w3.org/1999/xhtml","a"),Se="download"in de,Ce=/constructor/i.test(me.HTMLElement)||me.safari,Ie=/CriOS\/[\d]+/.test(navigator.userAgent),Te=me.setImmediate||me.setTimeout,Ee=function(k){Te(function(){throw k},0)},He=function(k){setTimeout(function(){typeof k=="string"?ae().revokeObjectURL(k):k.remove()},4e4)},st=function(k){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(k.type)?new Blob([String.fromCharCode(65279),k],{type:k.type}):k},vt=function(k,$,se){se||(k=st(k));var ge,Ae=this,Me=k.type==="application/octet-stream",et=function(){!function(er,Ct,Ht){for(var kt=(Ct=[].concat(Ct)).length;kt--;){var Zt=er["on"+Ct[kt]];if(typeof Zt=="function")try{Zt.call(er,Ht||er)}catch(Et){Ee(Et)}}}(Ae,"writestart progress write writeend".split(" "))};if(Ae.readyState=Ae.INIT,Se)return ge=ae().createObjectURL(k),void Te(function(){var Wt,er;de.href=ge,de.download=$,Wt=de,er=new MouseEvent("click"),Wt.dispatchEvent(er),et(),He(ge),Ae.readyState=Ae.DONE},0);!function(){if((Ie||Me&&Ce)&&me.FileReader){var Wt=new FileReader;return Wt.onloadend=function(){var er=Ie?Wt.result:Wt.result.replace(/^data:[^;]*;/,"data:attachment/file;");me.open(er,"_blank")||(me.location.href=er),er=void 0,Ae.readyState=Ae.DONE,et()},Wt.readAsDataURL(k),Ae.readyState=Ae.INIT}ge||(ge=ae().createObjectURL(k)),Me?me.location.href=ge:me.open(ge,"_blank")||(me.location.href=ge),Ae.readyState=Ae.DONE,et(),He(ge)}()},ee=vt.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(oe,k,$){return k=k||oe.name||"download",$||(oe=st(oe)),navigator.msSaveOrOpenBlob(oe,k)}:(ee.abort=function(){},ee.readyState=ee.INIT=0,ee.WRITING=1,ee.DONE=2,ee.error=ee.onwritestart=ee.onprogress=ee.onwrite=ee.onabort=ee.onerror=ee.onwriteend=null,function(oe,k,$){return new vt(oe,k||oe.name||"download",$)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||void 0);function zt(me){var ce=0;if(me[ce++]!==71||me[ce++]!==73||me[ce++]!==70||me[ce++]!==56||(me[ce++]+1&253)!=56||me[ce++]!==97)throw"Invalid GIF 87a/89a header.";var ae=me[ce++]|me[ce++]<<8,de=me[ce++]|me[ce++]<<8,Se=me[ce++],Ce=Se>>7,Ie=1<<(7&Se)+1;me[ce++],me[ce++];var Te=null;Ce&&(Te=ce,ce+=3*Ie);var Ee=!0,He=[],st=0,vt=null,ee=0,oe=null;for(this.width=ae,this.height=de;Ee&&ce<me.length;)switch(me[ce++]){case 33:switch(me[ce++]){case 255:if(me[ce]!==11||me[ce+1]==78&&me[ce+2]==69&&me[ce+3]==84&&me[ce+4]==83&&me[ce+5]==67&&me[ce+6]==65&&me[ce+7]==80&&me[ce+8]==69&&me[ce+9]==50&&me[ce+10]==46&&me[ce+11]==48&&me[ce+12]==3&&me[ce+13]==1&&me[ce+16]==0)ce+=14,oe=me[ce++]|me[ce++]<<8,ce++;else for(ce+=12;!((Ht=me[ce++])===0);)ce+=Ht;break;case 249:if(me[ce++]!==4||me[ce+4]!==0)throw"Invalid graphics extension block.";var k=me[ce++];st=me[ce++]|me[ce++]<<8,vt=me[ce++],(1&k)==0&&(vt=null),ee=k>>2&7,ce++;break;case 254:for(;!((Ht=me[ce++])===0);)ce+=Ht;break;default:throw"Unknown graphic control label: 0x"+me[ce-1].toString(16)}break;case 44:var $=me[ce++]|me[ce++]<<8,se=me[ce++]|me[ce++]<<8,ge=me[ce++]|me[ce++]<<8,Ae=me[ce++]|me[ce++]<<8,Me=me[ce++],et=Me>>6&1,Wt=Te,er=!1;Me>>7&&(er=!0,Wt=ce,ce+=3*(1<<(7&Me)+1));var Ct=ce;for(ce++;;){var Ht;if((Ht=me[ce++])===0)break;ce+=Ht}He.push({x:$,y:se,width:ge,height:Ae,has_local_palette:er,palette_offset:Wt,data_offset:Ct,data_length:ce-Ct,transparent_index:vt,interlaced:!!et,delay:st,disposal:ee});break;case 59:Ee=!1;break;default:throw"Unknown gif block: 0x"+me[ce-1].toString(16)}this.numFrames=function(){return He.length},this.loopCount=function(){return oe},this.frameInfo=function(kt){if(kt<0||kt>=He.length)throw"Frame index out of range.";return He[kt]},this.decodeAndBlitFrameBGRA=function(kt,Zt){var Et=this.frameInfo(kt),ur=Et.width*Et.height,rr=new Uint8Array(ur);Pt(me,Et.data_offset,rr,ur);var Ke=Et.palette_offset,nt=Et.transparent_index;nt===null&&(nt=256);var Ge=Et.width,ct=ae-Ge,ht=Ge,ut=4*(Et.y*ae+Et.x),We=4*((Et.y+Et.height)*ae+Et.x),tt=ut,ft=4*ct;Et.interlaced===!0&&(ft+=4*(Ge+ct)*7);for(var Yt=8,Dt=0,vr=rr.length;Dt<vr;++Dt){var yr=rr[Dt];if(ht===0&&(ht=Ge,We<=(tt+=ft)&&(ft=ct+4*(Ge+ct)*(Yt-1),tt=ut+(Ge+ct)*(Yt<<1),Yt>>=1)),yr===nt)tt+=4;else{var Dr=me[Ke+3*yr],Rr=me[Ke+3*yr+1],Jr=me[Ke+3*yr+2];Zt[tt++]=Jr,Zt[tt++]=Rr,Zt[tt++]=Dr,Zt[tt++]=255}--ht}},this.decodeAndBlitFrameRGBA=function(kt,Zt){var Et=this.frameInfo(kt),ur=Et.width*Et.height,rr=new Uint8Array(ur);Pt(me,Et.data_offset,rr,ur);var Ke=Et.palette_offset,nt=Et.transparent_index;nt===null&&(nt=256);var Ge=Et.width,ct=ae-Ge,ht=Ge,ut=4*(Et.y*ae+Et.x),We=4*((Et.y+Et.height)*ae+Et.x),tt=ut,ft=4*ct;Et.interlaced===!0&&(ft+=4*(Ge+ct)*7);for(var Yt=8,Dt=0,vr=rr.length;Dt<vr;++Dt){var yr=rr[Dt];if(ht===0&&(ht=Ge,We<=(tt+=ft)&&(ft=ct+4*(Ge+ct)*(Yt-1),tt=ut+(Ge+ct)*(Yt<<1),Yt>>=1)),yr===nt)tt+=4;else{var Dr=me[Ke+3*yr],Rr=me[Ke+3*yr+1],Jr=me[Ke+3*yr+2];Zt[tt++]=Dr,Zt[tt++]=Rr,Zt[tt++]=Jr,Zt[tt++]=255}--ht}}}function Pt(me,ce,ae,de){for(var Se=me[ce++],Ce=1<<Se,Ie=Ce+1,Te=Ie+1,Ee=Se+1,He=(1<<Ee)-1,st=0,vt=0,ee=0,oe=me[ce++],k=new Int32Array(4096),$=null;;){for(;st<16&&oe!==0;)vt|=me[ce++]<<st,st+=8,oe===1?oe=me[ce++]:--oe;if(st<Ee)break;var se=vt&He;if(vt>>=Ee,st-=Ee,se!==Ce){if(se===Ie)break;for(var ge=se<Te?se:$,Ae=0,Me=ge;Ce<Me;)Me=k[Me]>>8,++Ae;var et=Me;if(de<ee+Ae+(ge!==se?1:0))return void console.log("Warning, gif stream longer than expected.");ae[ee++]=et;var Wt=ee+=Ae;for(ge!==se&&(ae[ee++]=et),Me=ge;Ae--;)Me=k[Me],ae[--Wt]=255&Me,Me>>=8;$!==null&&Te<4096&&(k[Te++]=$<<8|et,He+1<=Te&&Ee<12&&(++Ee,He=He<<1|1)),$=se}else Te=Ie+1,He=(1<<(Ee=Se+1))-1,$=null}return ee!==de&&console.log("Warning, gif stream shorter than expected."),ae}try{_.GifWriter=function(me,ce,ae,de){var Se=0,Ce=(de=de===void 0?{}:de).loop===void 0?null:de.loop,Ie=de.palette===void 0?null:de.palette;if(ce<=0||ae<=0||65535<ce||65535<ae)throw"Width/Height invalid.";function Te($){var se=$.length;if(se<2||256<se||se&se-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return se}me[Se++]=71,me[Se++]=73,me[Se++]=70,me[Se++]=56,me[Se++]=57,me[Se++]=97;var Ee=0,He=0;if(Ie!==null){for(var st=Te(Ie);st>>=1;)++Ee;if(st=1<<Ee,--Ee,de.background!==void 0){if(st<=(He=de.background))throw"Background index out of range.";if(He===0)throw"Background index explicitly passed as 0."}}if(me[Se++]=255&ce,me[Se++]=ce>>8&255,me[Se++]=255&ae,me[Se++]=ae>>8&255,me[Se++]=(Ie!==null?128:0)|Ee,me[Se++]=He,me[Se++]=0,Ie!==null)for(var vt=0,ee=Ie.length;vt<ee;++vt){var oe=Ie[vt];me[Se++]=oe>>16&255,me[Se++]=oe>>8&255,me[Se++]=255&oe}if(Ce!==null){if(Ce<0||65535<Ce)throw"Loop count invalid.";me[Se++]=33,me[Se++]=255,me[Se++]=11,me[Se++]=78,me[Se++]=69,me[Se++]=84,me[Se++]=83,me[Se++]=67,me[Se++]=65,me[Se++]=80,me[Se++]=69,me[Se++]=50,me[Se++]=46,me[Se++]=48,me[Se++]=3,me[Se++]=1,me[Se++]=255&Ce,me[Se++]=Ce>>8&255,me[Se++]=0}var k=!1;this.addFrame=function($,se,ge,Ae,Me,et){if(k===!0&&(--Se,k=!1),et=et===void 0?{}:et,$<0||se<0||65535<$||65535<se)throw"x/y invalid.";if(ge<=0||Ae<=0||65535<ge||65535<Ae)throw"Width/Height invalid.";if(Me.length<ge*Ae)throw"Not enough pixels for the frame size.";var Wt=!0,er=et.palette;if(er==null&&(Wt=!1,er=Ie),er==null)throw"Must supply either a local or global palette.";for(var Ct=Te(er),Ht=0;Ct>>=1;)++Ht;Ct=1<<Ht;var kt=et.delay===void 0?0:et.delay,Zt=et.disposal===void 0?0:et.disposal;if(Zt<0||3<Zt)throw"Disposal out of range.";var Et=!1,ur=0;if(et.transparent!==void 0&&et.transparent!==null&&(Et=!0,(ur=et.transparent)<0||Ct<=ur))throw"Transparent color index.";if((Zt!==0||Et||kt!==0)&&(me[Se++]=33,me[Se++]=249,me[Se++]=4,me[Se++]=Zt<<2|(Et===!0?1:0),me[Se++]=255&kt,me[Se++]=kt>>8&255,me[Se++]=ur,me[Se++]=0),me[Se++]=44,me[Se++]=255&$,me[Se++]=$>>8&255,me[Se++]=255&se,me[Se++]=se>>8&255,me[Se++]=255&ge,me[Se++]=ge>>8&255,me[Se++]=255&Ae,me[Se++]=Ae>>8&255,me[Se++]=Wt===!0?128|Ht-1:0,Wt===!0)for(var rr=0,Ke=er.length;rr<Ke;++rr){var nt=er[rr];me[Se++]=nt>>16&255,me[Se++]=nt>>8&255,me[Se++]=255&nt}Se=function(Ge,ct,ht,ut){Ge[ct++]=ht;var We=ct++,tt=1<<ht,ft=tt-1,Yt=tt+1,Dt=Yt+1,vr=ht+1,yr=0,Dr=0;function Rr(fr){for(;fr<=yr;)Ge[ct++]=255&Dr,Dr>>=8,yr-=8,ct===We+256&&(Ge[We]=255,We=ct++)}function Jr(fr){Dr|=fr<<yr,yr+=vr,Rr(8)}var $r=ut[0]&ft,xr={};Jr(tt);for(var Vr=1,Or=ut.length;Vr<Or;++Vr){var nr=ut[Vr]&ft,pr=$r<<8|nr,dr=xr[pr];if(dr===void 0){for(Dr|=$r<<yr,yr+=vr;8<=yr;)Ge[ct++]=255&Dr,Dr>>=8,yr-=8,ct===We+256&&(Ge[We]=255,We=ct++);Dt===4096?(Jr(tt),Dt=Yt+1,vr=ht+1,xr={}):(1<<vr<=Dt&&++vr,xr[pr]=Dt++),$r=nr}else $r=dr}return Jr($r),Jr(Yt),Rr(1),We+1===ct?Ge[We]=0:(Ge[We]=ct-We-1,Ge[ct++]=0),ct}(me,Se,Ht<2?2:Ht,Me)},this.end=function(){return k===!1&&(me[Se++]=59,k=!0),Se}},_.GifReader=zt}catch(me){}function qt(me){var ce,ae,de,Se,Ce,Ie=Math.floor,Te=new Array(64),Ee=new Array(64),He=new Array(64),st=new Array(64),vt=new Array(65535),ee=new Array(65535),oe=new Array(64),k=new Array(64),$=[],se=0,ge=7,Ae=new Array(64),Me=new Array(64),et=new Array(64),Wt=new Array(256),er=new Array(2048),Ct=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ht=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],kt=[0,1,2,3,4,5,6,7,8,9,10,11],Zt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Et=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],ur=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],rr=[0,1,2,3,4,5,6,7,8,9,10,11],Ke=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],nt=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Ge(ft,Yt){for(var Dt=0,vr=0,yr=new Array,Dr=1;Dr<=16;Dr++){for(var Rr=1;Rr<=ft[Dr];Rr++)yr[Yt[vr]]=[],yr[Yt[vr]][0]=Dt,yr[Yt[vr]][1]=Dr,vr++,Dt++;Dt*=2}return yr}function ct(ft){for(var Yt=ft[0],Dt=ft[1]-1;0<=Dt;)Yt&1<<Dt&&(se|=1<<ge),Dt--,--ge<0&&(se==255?(ht(255),ht(0)):ht(se),ge=7,se=0)}function ht(ft){$.push(ft)}function ut(ft){ht(ft>>8&255),ht(255&ft)}function We(ft,Yt,Dt,vr,yr){for(var Dr,Rr=yr[0],Jr=yr[240],$r=function(Zr,on){var jn,Ur,En,pn,On,Vn,Nn,ui,Xn,mn,cn=0;for(Xn=0;Xn<8;++Xn){jn=Zr[cn],Ur=Zr[cn+1],En=Zr[cn+2],pn=Zr[cn+3],On=Zr[cn+4],Vn=Zr[cn+5],Nn=Zr[cn+6];var da=jn+(ui=Zr[cn+7]),Ta=jn-ui,ia=Ur+Nn,fi=Ur-Nn,ki=En+Vn,Qn=En-Vn,ea=pn+On,An=pn-On,wn=da+ea,Ln=da-ea,Un=ia+ki,kn=ia-ki;Zr[cn]=wn+Un,Zr[cn+4]=wn-Un;var ti=.707106781*(kn+Ln);Zr[cn+2]=Ln+ti,Zr[cn+6]=Ln-ti;var di=.382683433*((wn=An+Qn)-(kn=fi+Ta)),Na=.5411961*wn+di,Gi=1.306562965*kn+di,ba=.707106781*(Un=Qn+fi),Pa=Ta+ba,Ga=Ta-ba;Zr[cn+5]=Ga+Na,Zr[cn+3]=Ga-Na,Zr[cn+1]=Pa+Gi,Zr[cn+7]=Pa-Gi,cn+=8}for(Xn=cn=0;Xn<8;++Xn){jn=Zr[cn],Ur=Zr[cn+8],En=Zr[cn+16],pn=Zr[cn+24],On=Zr[cn+32],Vn=Zr[cn+40],Nn=Zr[cn+48];var Qi=jn+(ui=Zr[cn+56]),Lo=jn-ui,sa=Ur+Nn,ji=Ur-Nn,wa=En+Vn,ga=En-Vn,po=pn+On,Bn=pn-On,ta=Qi+po,So=Qi-po,To=sa+wa,Ha=sa-wa;Zr[cn]=ta+To,Zr[cn+32]=ta-To;var eo=.707106781*(Ha+So);Zr[cn+16]=So+eo,Zr[cn+48]=So-eo;var Hi=.382683433*((ta=Bn+ga)-(Ha=ji+Lo)),$t=.5411961*ta+Hi,Tr=1.306562965*Ha+Hi,Kr=.707106781*(To=ga+ji),Ne=Lo+Kr,Lt=Lo-Kr;Zr[cn+40]=Lt+$t,Zr[cn+24]=Lt-$t,Zr[cn+8]=Ne+Tr,Zr[cn+56]=Ne-Tr,cn++}for(Xn=0;Xn<64;++Xn)mn=Zr[Xn]*on[Xn],oe[Xn]=0<mn?mn+.5|0:mn-.5|0;return oe}(ft,Yt),xr=0;xr<64;++xr)k[Ct[xr]]=$r[xr];var Vr=k[0]-Dt;Dt=k[0],Vr==0?ct(vr[0]):(ct(vr[ee[Dr=32767+Vr]]),ct(vt[Dr]));for(var Or=63;0<Or&&k[Or]==0;Or--);if(Or==0)return ct(Rr),Dt;for(var nr,pr=1;pr<=Or;){for(var dr=pr;k[pr]==0&&pr<=Or;++pr);var fr=pr-dr;if(16<=fr){nr=fr>>4;for(var _r=1;_r<=nr;++_r)ct(Jr);fr&=15}Dr=32767+k[pr],ct(yr[(fr<<4)+ee[Dr]]),ct(vt[Dr]),pr++}return Or!=63&&ct(Rr),Dt}function tt(ft){(ft<=0&&(ft=1),100<ft&&(ft=100),Ce!=ft)&&(function(Yt){for(var Dt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],vr=0;vr<64;vr++){var yr=Ie((Dt[vr]*Yt+50)/100);yr<1?yr=1:255<yr&&(yr=255),Te[Ct[vr]]=yr}for(var Dr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Rr=0;Rr<64;Rr++){var Jr=Ie((Dr[Rr]*Yt+50)/100);Jr<1?Jr=1:255<Jr&&(Jr=255),Ee[Ct[Rr]]=Jr}for(var $r=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],xr=0,Vr=0;Vr<8;Vr++)for(var Or=0;Or<8;Or++)He[xr]=1/(Te[Ct[xr]]*$r[Vr]*$r[Or]*8),st[xr]=1/(Ee[Ct[xr]]*$r[Vr]*$r[Or]*8),xr++}(ft<50?Math.floor(5e3/ft):Math.floor(200-2*ft)),Ce=ft)}this.encode=function(ft,Yt){var Dt,vr;new Date().getTime(),Yt&&tt(Yt),$=new Array,se=0,ge=7,ut(65496),ut(65504),ut(16),ht(74),ht(70),ht(73),ht(70),ht(0),ht(1),ht(1),ht(0),ut(1),ut(1),ht(0),ht(0),function(){ut(65499),ut(132),ht(0);for(var pn=0;pn<64;pn++)ht(Te[pn]);ht(1);for(var On=0;On<64;On++)ht(Ee[On])}(),Dt=ft.width,vr=ft.height,ut(65472),ut(17),ht(8),ut(vr),ut(Dt),ht(3),ht(1),ht(17),ht(0),ht(2),ht(17),ht(1),ht(3),ht(17),ht(1),function(){ut(65476),ut(418),ht(0);for(var pn=0;pn<16;pn++)ht(Ht[pn+1]);for(var On=0;On<=11;On++)ht(kt[On]);ht(16);for(var Vn=0;Vn<16;Vn++)ht(Zt[Vn+1]);for(var Nn=0;Nn<=161;Nn++)ht(Et[Nn]);ht(1);for(var ui=0;ui<16;ui++)ht(ur[ui+1]);for(var Xn=0;Xn<=11;Xn++)ht(rr[Xn]);ht(17);for(var mn=0;mn<16;mn++)ht(Ke[mn+1]);for(var cn=0;cn<=161;cn++)ht(nt[cn])}(),ut(65498),ut(12),ht(3),ht(1),ht(0),ht(2),ht(17),ht(3),ht(17),ht(0),ht(63),ht(0);var yr=0,Dr=0,Rr=0;se=0,ge=7,this.encode.displayName="_encode_";for(var Jr,$r,xr,Vr,Or,nr,pr,dr,fr,_r=ft.data,Zr=ft.width,on=ft.height,jn=4*Zr,Ur=0;Ur<on;){for(Jr=0;Jr<jn;){for(nr=Or=jn*Ur+Jr,pr=-1,fr=dr=0;fr<64;fr++)nr=Or+(dr=fr>>3)*jn+(pr=4*(7&fr)),on<=Ur+dr&&(nr-=jn*(Ur+1+dr-on)),jn<=Jr+pr&&(nr-=Jr+pr-jn+4),$r=_r[nr++],xr=_r[nr++],Vr=_r[nr++],Ae[fr]=(er[$r]+er[xr+256>>0]+er[Vr+512>>0]>>16)-128,Me[fr]=(er[$r+768>>0]+er[xr+1024>>0]+er[Vr+1280>>0]>>16)-128,et[fr]=(er[$r+1280>>0]+er[xr+1536>>0]+er[Vr+1792>>0]>>16)-128;yr=We(Ae,He,yr,ce,de),Dr=We(Me,st,Dr,ae,Se),Rr=We(et,st,Rr,ae,Se),Jr+=32}Ur+=8}if(0<=ge){var En=[];En[1]=ge+1,En[0]=(1<<ge+1)-1,ct(En)}return ut(65497),new Uint8Array($)},function(){new Date().getTime(),me||(me=50),function(){for(var ft=String.fromCharCode,Yt=0;Yt<256;Yt++)Wt[Yt]=ft(Yt)}(),ce=Ge(Ht,kt),ae=Ge(ur,rr),de=Ge(Zt,Et),Se=Ge(Ke,nt),function(){for(var ft=1,Yt=2,Dt=1;Dt<=15;Dt++){for(var vr=ft;vr<Yt;vr++)ee[32767+vr]=Dt,vt[32767+vr]=[],vt[32767+vr][1]=Dt,vt[32767+vr][0]=vr;for(var yr=-(Yt-1);yr<=-ft;yr++)ee[32767+yr]=Dt,vt[32767+yr]=[],vt[32767+yr][1]=Dt,vt[32767+yr][0]=Yt-1+yr;ft<<=1,Yt<<=1}}(),function(){for(var ft=0;ft<256;ft++)er[ft]=19595*ft,er[ft+256>>0]=38470*ft,er[ft+512>>0]=7471*ft+32768,er[ft+768>>0]=-11059*ft,er[ft+1024>>0]=-21709*ft,er[ft+1280>>0]=32768*ft+8421375,er[ft+1536>>0]=-27439*ft,er[ft+1792>>0]=-5329*ft}(),tt(me),new Date().getTime()}()}function or(me,ce){if(this.pos=0,this.buffer=me,this.datav=new DataView(me.buffer),this.is_with_alpha=!!ce,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}window.tmp=zt,Tt.API.adler32cs=(Nt=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",xt=null,Ut=function(){if(!Nt)return function(){return!1};try{var me={};typeof me.Buffer=="function"&&(xt=me.Buffer)}catch(ce){}return function(ce){return ce instanceof ArrayBuffer||xt!==null&&ce instanceof xt}}(),Ze=xt!==null?function(me){return new xt(me,"utf8").toString("binary")}:function(me){return unescape(encodeURIComponent(me))},ze=function(ce,ae){for(var de=65535&ce,Se=ce>>>16,Ce=0,Ie=ae.length;Ce<Ie;Ce++)de=(de+(255&ae.charCodeAt(Ce)))%65521,Se=(Se+de)%65521;return(Se<<16|de)>>>0},re=function(ce,ae){for(var de=65535&ce,Se=ce>>>16,Ce=0,Ie=ae.length;Ce<Ie;Ce++)de=(de+ae[Ce])%65521,Se=(Se+de)%65521;return(Se<<16|de)>>>0},Xe=(le={}).Adler32=(((Rt=(bt=function(ce){if(!(this instanceof bt))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(ce=ce==null?1:+ce))throw new Error("First arguments needs to be a finite number.");this.checksum=ce>>>0}).prototype={}).constructor=bt).from=((Ft=function(ce){if(!(this instanceof bt))throw new TypeError("Constructor cannot called be as a function.");if(ce==null)throw new Error("First argument needs to be a string.");this.checksum=ze(1,ce.toString())}).prototype=Rt,Ft),bt.fromUtf8=((ke=function(ce){if(!(this instanceof bt))throw new TypeError("Constructor cannot called be as a function.");if(ce==null)throw new Error("First argument needs to be a string.");var ae=Ze(ce.toString());this.checksum=ze(1,ae)}).prototype=Rt,ke),Nt&&(bt.fromBuffer=((Vt=function(ce){if(!(this instanceof bt))throw new TypeError("Constructor cannot called be as a function.");if(!Ut(ce))throw new Error("First argument needs to be ArrayBuffer.");var ae=new Uint8Array(ce);return this.checksum=re(1,ae)}).prototype=Rt,Vt)),Rt.update=function(me){if(me==null)throw new Error("First argument needs to be a string.");return me=me.toString(),this.checksum=ze(this.checksum,me)},Rt.updateUtf8=function(me){if(me==null)throw new Error("First argument needs to be a string.");var ce=Ze(me.toString());return this.checksum=ze(this.checksum,ce)},Nt&&(Rt.updateBuffer=function(me){if(!Ut(me))throw new Error("First argument needs to be ArrayBuffer.");var ce=new Uint8Array(me);return this.checksum=re(this.checksum,ce)}),Rt.clone=function(){return new Xe(this.checksum)},bt),le.from=function(me){if(me==null)throw new Error("First argument needs to be a string.");return ze(1,me.toString())},le.fromUtf8=function(me){if(me==null)throw new Error("First argument needs to be a string.");var ce=Ze(me.toString());return ze(1,ce)},Nt&&(le.fromBuffer=function(me){if(!Ut(me))throw new Error("First argument need to be ArrayBuffer.");var ce=new Uint8Array(me);return re(1,ce)}),le),function(me){me.__bidiEngine__=me.prototype.__bidiEngine__=function(de){var Se,Ce,Ie,Te,Ee,He,st,vt=ce,ee=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],oe=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],k={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},$={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},se=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],ge=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),Ae=!1,Me=0;this.__bidiEngine__={};var et=function(ur){var rr=ur.charCodeAt(),Ke=rr>>8,nt=$[Ke];return nt!==void 0?vt[256*nt+(255&rr)]:Ke===252||Ke===253?"AL":ge.test(Ke)?"L":Ke===8?"R":"N"},Wt=function(ur){for(var rr,Ke=0;Ke<ur.length;Ke++){if((rr=et(ur.charAt(Ke)))==="L")return!1;if(rr==="R")return!0}return!1},er=function(ur,rr,Ke,nt){var Ge,ct,ht,ut,We=rr[nt];switch(We){case"L":case"R":Ae=!1;break;case"N":case"AN":break;case"EN":Ae&&(We="AN");break;case"AL":Ae=!0,We="R";break;case"WS":We="N";break;case"CS":nt<1||nt+1>=rr.length||(Ge=Ke[nt-1])!=="EN"&&Ge!=="AN"||(ct=rr[nt+1])!=="EN"&&ct!=="AN"?We="N":Ae&&(ct="AN"),We=ct===Ge?ct:"N";break;case"ES":We=(Ge=0<nt?Ke[nt-1]:"B")==="EN"&&nt+1<rr.length&&rr[nt+1]==="EN"?"EN":"N";break;case"ET":if(0<nt&&Ke[nt-1]==="EN"){We="EN";break}if(Ae){We="N";break}for(ht=nt+1,ut=rr.length;ht<ut&&rr[ht]==="ET";)ht++;We=ht<ut&&rr[ht]==="EN"?"EN":"N";break;case"NSM":if(Ie&&!Te){for(ut=rr.length,ht=nt+1;ht<ut&&rr[ht]==="NSM";)ht++;if(ht<ut){var tt=ur[nt],ft=1425<=tt&&tt<=2303||tt===64286;if(Ge=rr[ht],ft&&(Ge==="R"||Ge==="AL")){We="R";break}}}We=nt<1||(Ge=rr[nt-1])==="B"?"N":Ke[nt-1];break;case"B":Se=!(Ae=!1),We=Me;break;case"S":Ce=!0,We="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Ae=!1;break;case"BN":We="N"}return We},Ct=function(ur,rr,Ke){var nt=ur.split("");return Ke&&Ht(nt,Ke,{hiLevel:Me}),nt.reverse(),rr&&rr.reverse(),nt.join("")},Ht=function(ur,rr,Ke){var nt,Ge,ct,ht,ut,We=-1,tt=ur.length,ft=0,Yt=[],Dt=Me?oe:ee,vr=[];for(Ce=Se=Ae=!1,Ge=0;Ge<tt;Ge++)vr[Ge]=et(ur[Ge]);for(ct=0;ct<tt;ct++){if(ut=ft,Yt[ct]=er(ur,vr,Yt,ct),nt=240&(ft=Dt[ut][k[Yt[ct]]]),ft&=15,rr[ct]=ht=Dt[ft][5],0<nt)if(nt===16){for(Ge=We;Ge<ct;Ge++)rr[Ge]=1;We=-1}else We=-1;if(Dt[ft][6])We===-1&&(We=ct);else if(-1<We){for(Ge=We;Ge<ct;Ge++)rr[Ge]=ht;We=-1}vr[ct]==="B"&&(rr[ct]=0),Ke.hiLevel|=ht}Ce&&function(yr,Dr,Rr){for(var Jr=0;Jr<Rr;Jr++)if(yr[Jr]==="S"){Dr[Jr]=Me;for(var $r=Jr-1;0<=$r&&yr[$r]==="WS";$r--)Dr[$r]=Me}}(vr,rr,tt)},kt=function(ur,rr,Ke,nt,Ge){if(!(Ge.hiLevel<ur)){if(ur===1&&Me===1&&!Se)return rr.reverse(),void(Ke&&Ke.reverse());for(var ct,ht,ut,We,tt=rr.length,ft=0;ft<tt;){if(nt[ft]>=ur){for(ut=ft+1;ut<tt&&nt[ut]>=ur;)ut++;for(We=ft,ht=ut-1;We<ht;We++,ht--)ct=rr[We],rr[We]=rr[ht],rr[ht]=ct,Ke&&(ct=Ke[We],Ke[We]=Ke[ht],Ke[ht]=ct);ft=ut}ft++}}},Zt=function(ur,rr,Ke){var nt=ur.split(""),Ge={hiLevel:Me};return Ke||(Ke=[]),Ht(nt,Ke,Ge),function(ct,ht,ut){if(ut.hiLevel!==0&&st)for(var We,tt=0;tt<ct.length;tt++)ht[tt]===1&&0<=(We=se.indexOf(ct[tt]))&&(ct[tt]=se[We+1])}(nt,Ke,Ge),kt(2,nt,rr,Ke,Ge),kt(1,nt,rr,Ke,Ge),nt.join("")};return this.__bidiEngine__.doBidiReorder=function(Et,ur,rr){if(function(nt,Ge){if(Ge)for(var ct=0;ct<nt.length;ct++)Ge[ct]=ct;Te===void 0&&(Te=Wt(nt)),He===void 0&&(He=Wt(nt))}(Et,ur),Ie||!Ee||He)if(Ie&&Ee&&Te^He)Me=Te?1:0,Et=Ct(Et,ur,rr);else if(!Ie&&Ee&&He)Me=Te?1:0,Et=Zt(Et,ur,rr),Et=Ct(Et,ur);else if(!Ie||Te||Ee||He){if(Ie&&!Ee&&Te^He)Et=Ct(Et,ur),Et=Te?(Me=0,Zt(Et,ur,rr)):(Me=1,Et=Zt(Et,ur,rr),Ct(Et,ur));else if(Ie&&Te&&!Ee&&He)Me=1,Et=Zt(Et,ur,rr),Et=Ct(Et,ur);else if(!Ie&&!Ee&&Te^He){var Ke=st;Te?(Me=1,Et=Zt(Et,ur,rr),Me=0,st=!1,Et=Zt(Et,ur,rr),st=Ke):(Me=0,Et=Zt(Et,ur,rr),Et=Ct(Et,ur),st=!(Me=1),Et=Zt(Et,ur,rr),st=Ke,Et=Ct(Et,ur))}}else Me=0,Et=Zt(Et,ur,rr);else Me=Te?1:0,Et=Zt(Et,ur,rr);return Et},this.__bidiEngine__.setOptions=function(Et){Et&&(Ie=Et.isInputVisual,Ee=Et.isOutputVisual,Te=Et.isInputRtl,He=Et.isOutputRtl,st=Et.isSymmetricSwapping)},this.__bidiEngine__.setOptions(de),this.__bidiEngine__};var ce=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],ae=new me.__bidiEngine__({isInputVisual:!0});me.API.events.push(["postProcessText",function(de){var Se=de.text,Ce=(de.x,de.y,de.options||{}),Ie=(de.mutex,Ce.lang,[]);if(Object.prototype.toString.call(Se)==="[object Array]"){var Te=0;for(Ie=[],Te=0;Te<Se.length;Te+=1)Object.prototype.toString.call(Se[Te])==="[object Array]"?Ie.push([ae.doBidiReorder(Se[Te][0]),Se[Te][1],Se[Te][2]]):Ie.push([ae.doBidiReorder(Se[Te])]);de.text=Ie}else de.text=ae.doBidiReorder(Se)}])}(Tt),window.tmp=qt,or.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var me=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(me);for(var ce=0;ce<me;ce++){var ae=this.datav.getUint8(this.pos++,!0),de=this.datav.getUint8(this.pos++,!0),Se=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0);this.palette[ce]={red:Se,green:de,blue:ae,quad:Ce}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},or.prototype.parseBGR=function(){this.pos=this.offset;try{var me="bit"+this.bitPP,ce=this.width*this.height*4;this.data=new Uint8Array(ce),this[me]()}catch(ae){console.log("bit decode error:"+ae)}},or.prototype.bit1=function(){var me=Math.ceil(this.width/8),ce=me%4,ae=0<=this.height?this.height-1:-this.height;for(ae=this.height-1;0<=ae;ae--){for(var de=this.bottom_up?ae:this.height-1-ae,Se=0;Se<me;Se++)for(var Ce=this.datav.getUint8(this.pos++,!0),Ie=de*this.width*4+8*Se*4,Te=0;Te<8&&8*Se+Te<this.width;Te++){var Ee=this.palette[Ce>>7-Te&1];this.data[Ie+4*Te]=Ee.blue,this.data[Ie+4*Te+1]=Ee.green,this.data[Ie+4*Te+2]=Ee.red,this.data[Ie+4*Te+3]=255}ce!=0&&(this.pos+=4-ce)}},or.prototype.bit4=function(){for(var me=Math.ceil(this.width/2),ce=me%4,ae=this.height-1;0<=ae;ae--){for(var de=this.bottom_up?ae:this.height-1-ae,Se=0;Se<me;Se++){var Ce=this.datav.getUint8(this.pos++,!0),Ie=de*this.width*4+2*Se*4,Te=Ce>>4,Ee=15&Ce,He=this.palette[Te];if(this.data[Ie]=He.blue,this.data[Ie+1]=He.green,this.data[Ie+2]=He.red,this.data[Ie+3]=255,2*Se+1>=this.width)break;He=this.palette[Ee],this.data[Ie+4]=He.blue,this.data[Ie+4+1]=He.green,this.data[Ie+4+2]=He.red,this.data[Ie+4+3]=255}ce!=0&&(this.pos+=4-ce)}},or.prototype.bit8=function(){for(var me=this.width%4,ce=this.height-1;0<=ce;ce--){for(var ae=this.bottom_up?ce:this.height-1-ce,de=0;de<this.width;de++){var Se=this.datav.getUint8(this.pos++,!0),Ce=ae*this.width*4+4*de;if(Se<this.palette.length){var Ie=this.palette[Se];this.data[Ce]=Ie.red,this.data[Ce+1]=Ie.green,this.data[Ce+2]=Ie.blue,this.data[Ce+3]=255}else this.data[Ce]=255,this.data[Ce+1]=255,this.data[Ce+2]=255,this.data[Ce+3]=255}me!=0&&(this.pos+=4-me)}},or.prototype.bit15=function(){for(var me=this.width%3,ce=parseInt("11111",2),ae=this.height-1;0<=ae;ae--){for(var de=this.bottom_up?ae:this.height-1-ae,Se=0;Se<this.width;Se++){var Ce=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ie=(Ce&ce)/ce*255|0,Te=(Ce>>5&ce)/ce*255|0,Ee=(Ce>>10&ce)/ce*255|0,He=Ce>>15?255:0,st=de*this.width*4+4*Se;this.data[st]=Ee,this.data[st+1]=Te,this.data[st+2]=Ie,this.data[st+3]=He}this.pos+=me}},or.prototype.bit16=function(){for(var me=this.width%3,ce=parseInt("11111",2),ae=parseInt("111111",2),de=this.height-1;0<=de;de--){for(var Se=this.bottom_up?de:this.height-1-de,Ce=0;Ce<this.width;Ce++){var Ie=this.datav.getUint16(this.pos,!0);this.pos+=2;var Te=(Ie&ce)/ce*255|0,Ee=(Ie>>5&ae)/ae*255|0,He=(Ie>>11)/ce*255|0,st=Se*this.width*4+4*Ce;this.data[st]=He,this.data[st+1]=Ee,this.data[st+2]=Te,this.data[st+3]=255}this.pos+=me}},or.prototype.bit24=function(){for(var me=this.height-1;0<=me;me--){for(var ce=this.bottom_up?me:this.height-1-me,ae=0;ae<this.width;ae++){var de=this.datav.getUint8(this.pos++,!0),Se=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0),Ie=ce*this.width*4+4*ae;this.data[Ie]=Ce,this.data[Ie+1]=Se,this.data[Ie+2]=de,this.data[Ie+3]=255}this.pos+=this.width%4}},or.prototype.bit32=function(){for(var me=this.height-1;0<=me;me--)for(var ce=this.bottom_up?me:this.height-1-me,ae=0;ae<this.width;ae++){var de=this.datav.getUint8(this.pos++,!0),Se=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0),Ie=this.datav.getUint8(this.pos++,!0),Te=ce*this.width*4+4*ae;this.data[Te]=Ce,this.data[Te+1]=Se,this.data[Te+2]=de,this.data[Te+3]=Ie}},or.prototype.getData=function(){return this.data},window.tmp=or,function(me){var ce=15,ae=573,de=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function Se(){var oe=this;function k($,se){for(var ge=0;ge|=1&$,$>>>=1,ge<<=1,0<--se;);return ge>>>1}oe.build_tree=function($){var se,ge,Ae,Me=oe.dyn_tree,et=oe.stat_desc.static_tree,Wt=oe.stat_desc.elems,er=-1;for($.heap_len=0,$.heap_max=ae,se=0;se<Wt;se++)Me[2*se]!==0?($.heap[++$.heap_len]=er=se,$.depth[se]=0):Me[2*se+1]=0;for(;$.heap_len<2;)Me[2*(Ae=$.heap[++$.heap_len]=er<2?++er:0)]=1,$.depth[Ae]=0,$.opt_len--,et&&($.static_len-=et[2*Ae+1]);for(oe.max_code=er,se=Math.floor($.heap_len/2);1<=se;se--)$.pqdownheap(Me,se);for(Ae=Wt;se=$.heap[1],$.heap[1]=$.heap[$.heap_len--],$.pqdownheap(Me,1),ge=$.heap[1],$.heap[--$.heap_max]=se,$.heap[--$.heap_max]=ge,Me[2*Ae]=Me[2*se]+Me[2*ge],$.depth[Ae]=Math.max($.depth[se],$.depth[ge])+1,Me[2*se+1]=Me[2*ge+1]=Ae,$.heap[1]=Ae++,$.pqdownheap(Me,1),2<=$.heap_len;);$.heap[--$.heap_max]=$.heap[1],function(Ct){var Ht,kt,Zt,Et,ur,rr,Ke=oe.dyn_tree,nt=oe.stat_desc.static_tree,Ge=oe.stat_desc.extra_bits,ct=oe.stat_desc.extra_base,ht=oe.stat_desc.max_length,ut=0;for(Et=0;Et<=ce;Et++)Ct.bl_count[Et]=0;for(Ke[2*Ct.heap[Ct.heap_max]+1]=0,Ht=Ct.heap_max+1;Ht<ae;Ht++)ht<(Et=Ke[2*Ke[2*(kt=Ct.heap[Ht])+1]+1]+1)&&(Et=ht,ut++),Ke[2*kt+1]=Et,kt>oe.max_code||(Ct.bl_count[Et]++,ur=0,ct<=kt&&(ur=Ge[kt-ct]),rr=Ke[2*kt],Ct.opt_len+=rr*(Et+ur),nt&&(Ct.static_len+=rr*(nt[2*kt+1]+ur)));if(ut!==0){do{for(Et=ht-1;Ct.bl_count[Et]===0;)Et--;Ct.bl_count[Et]--,Ct.bl_count[Et+1]+=2,Ct.bl_count[ht]--,ut-=2}while(0<ut);for(Et=ht;Et!==0;Et--)for(kt=Ct.bl_count[Et];kt!==0;)(Zt=Ct.heap[--Ht])>oe.max_code||(Ke[2*Zt+1]!=Et&&(Ct.opt_len+=(Et-Ke[2*Zt+1])*Ke[2*Zt],Ke[2*Zt+1]=Et),kt--)}}($),function(Ct,Ht,kt){var Zt,Et,ur,rr=[],Ke=0;for(Zt=1;Zt<=ce;Zt++)rr[Zt]=Ke=Ke+kt[Zt-1]<<1;for(Et=0;Et<=Ht;Et++)(ur=Ct[2*Et+1])!==0&&(Ct[2*Et]=k(rr[ur]++,ur))}(Me,oe.max_code,$.bl_count)}}function Ce(oe,k,$,se,ge){this.static_tree=oe,this.extra_bits=k,this.extra_base=$,this.elems=se,this.max_length=ge}Se._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],Se.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],Se.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],Se.d_code=function(oe){return oe<256?de[oe]:de[256+(oe>>>7)]},Se.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Se.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Se.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Se.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ce.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],Ce.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],Ce.static_l_desc=new Ce(Ce.static_ltree,Se.extra_lbits,257,286,ce),Ce.static_d_desc=new Ce(Ce.static_dtree,Se.extra_dbits,0,30,ce),Ce.static_bl_desc=new Ce(null,Se.extra_blbits,0,19,7);function Ie(oe,k,$,se,ge){this.good_length=oe,this.max_lazy=k,this.nice_length=$,this.max_chain=se,this.func=ge}var Te=[new Ie(0,0,0,0,0),new Ie(4,4,8,4,1),new Ie(4,5,16,8,1),new Ie(4,6,32,32,1),new Ie(4,4,16,16,2),new Ie(8,16,32,32,2),new Ie(8,16,128,128,2),new Ie(8,32,128,256,2),new Ie(32,128,258,1024,2),new Ie(32,258,258,4096,2)],Ee=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function He(oe,k,$,se){var ge=oe[2*k],Ae=oe[2*$];return ge<Ae||ge==Ae&&se[k]<=se[$]}function st(){var oe,k,$,se,ge,Ae,Me,et,Wt,er,Ct,Ht,kt,Zt,Et,ur,rr,Ke,nt,Ge,ct,ht,ut,We,tt,ft,Yt,Dt,vr,yr,Dr,Rr,Jr,$r,xr,Vr,Or,nr,pr,dr,fr,_r=this,Zr=new Se,on=new Se,jn=new Se;function Ur(){var An;for(An=0;An<286;An++)Dr[2*An]=0;for(An=0;An<30;An++)Rr[2*An]=0;for(An=0;An<19;An++)Jr[2*An]=0;Dr[512]=1,_r.opt_len=_r.static_len=0,Vr=nr=0}function En(An,wn){var Ln,Un,kn=-1,ti=An[1],di=0,Na=7,Gi=4;for(ti===0&&(Na=138,Gi=3),An[2*(wn+1)+1]=65535,Ln=0;Ln<=wn;Ln++)Un=ti,ti=An[2*(Ln+1)+1],++di<Na&&Un==ti||(di<Gi?Jr[2*Un]+=di:Un!==0?(Un!=kn&&Jr[2*Un]++,Jr[32]++):di<=10?Jr[34]++:Jr[36]++,kn=Un,Gi=(di=0)===ti?(Na=138,3):Un==ti?(Na=6,3):(Na=7,4))}function pn(An){_r.pending_buf[_r.pending++]=An}function On(An){pn(255&An),pn(An>>>8&255)}function Vn(An,wn){var Ln,Un=wn;16-Un<fr?(On(dr|=(Ln=An)<<fr&65535),dr=Ln>>>16-fr,fr+=Un-16):(dr|=An<<fr&65535,fr+=Un)}function Nn(An,wn){var Ln=2*An;Vn(65535&wn[Ln],65535&wn[Ln+1])}function ui(An,wn){var Ln,Un,kn=-1,ti=An[1],di=0,Na=7,Gi=4;for(ti===0&&(Na=138,Gi=3),Ln=0;Ln<=wn;Ln++)if(Un=ti,ti=An[2*(Ln+1)+1],!(++di<Na&&Un==ti)){if(di<Gi)for(;Nn(Un,Jr),--di!=0;);else Un!==0?(Un!=kn&&(Nn(Un,Jr),di--),Nn(16,Jr),Vn(di-3,2)):di<=10?(Nn(17,Jr),Vn(di-3,3)):(Nn(18,Jr),Vn(di-11,7));kn=Un,Gi=(di=0)===ti?(Na=138,3):Un==ti?(Na=6,3):(Na=7,4)}}function Xn(){fr==16?(On(dr),fr=dr=0):8<=fr&&(pn(255&dr),dr>>>=8,fr-=8)}function mn(An,wn){var Ln,Un,kn;if(_r.pending_buf[Or+2*Vr]=An>>>8&255,_r.pending_buf[Or+2*Vr+1]=255&An,_r.pending_buf[$r+Vr]=255&wn,Vr++,An===0?Dr[2*wn]++:(nr++,An--,Dr[2*(Se._length_code[wn]+256+1)]++,Rr[2*Se.d_code(An)]++),(8191&Vr)==0&&2<Yt){for(Ln=8*Vr,Un=ct-rr,kn=0;kn<30;kn++)Ln+=Rr[2*kn]*(5+Se.extra_dbits[kn]);if(Ln>>>=3,nr<Math.floor(Vr/2)&&Ln<Math.floor(Un/2))return!0}return Vr==xr-1}function cn(An,wn){var Ln,Un,kn,ti,di=0;if(Vr!==0)for(;Ln=_r.pending_buf[Or+2*di]<<8&65280|255&_r.pending_buf[Or+2*di+1],Un=255&_r.pending_buf[$r+di],di++,Ln===0?Nn(Un,An):(Nn((kn=Se._length_code[Un])+256+1,An),(ti=Se.extra_lbits[kn])!==0&&Vn(Un-=Se.base_length[kn],ti),Nn(kn=Se.d_code(--Ln),wn),(ti=Se.extra_dbits[kn])!==0&&Vn(Ln-=Se.base_dist[kn],ti)),di<Vr;);Nn(256,An),pr=An[513]}function da(){8<fr?On(dr):0<fr&&pn(255&dr),fr=dr=0}function Ta(An,wn,Ln){var Un,kn,ti;Vn(0+(Ln?1:0),3),Un=An,kn=wn,ti=!0,da(),pr=8,ti&&(On(kn),On(~kn)),_r.pending_buf.set(et.subarray(Un,Un+kn),_r.pending),_r.pending+=kn}function ia(An,wn,Ln){var Un,kn,ti=0;0<Yt?(Zr.build_tree(_r),on.build_tree(_r),ti=function(){var di;for(En(Dr,Zr.max_code),En(Rr,on.max_code),jn.build_tree(_r),di=18;3<=di&&Jr[2*Se.bl_order[di]+1]===0;di--);return _r.opt_len+=3*(di+1)+5+5+4,di}(),Un=_r.opt_len+3+7>>>3,(kn=_r.static_len+3+7>>>3)<=Un&&(Un=kn)):Un=kn=wn+5,wn+4<=Un&&An!=-1?Ta(An,wn,Ln):kn==Un?(Vn(2+(Ln?1:0),3),cn(Ce.static_ltree,Ce.static_dtree)):(Vn(4+(Ln?1:0),3),function(di,Na,Gi){var ba;for(Vn(di-257,5),Vn(Na-1,5),Vn(Gi-4,4),ba=0;ba<Gi;ba++)Vn(Jr[2*Se.bl_order[ba]+1],3);ui(Dr,di-1),ui(Rr,Na-1)}(Zr.max_code+1,on.max_code+1,ti+1),cn(Dr,Rr)),Ur(),Ln&&da()}function fi(An){ia(0<=rr?rr:-1,ct-rr,An),rr=ct,oe.flush_pending()}function ki(){var An,wn,Ln,Un;do{if((Un=Wt-ut-ct)===0&&ct===0&&ut===0)Un=ge;else if(Un==-1)Un--;else if(ge+ge-262<=ct){for(et.set(et.subarray(ge,ge+ge),0),ht-=ge,ct-=ge,rr-=ge,Ln=An=kt;wn=65535&Ct[--Ln],Ct[Ln]=ge<=wn?wn-ge:0,--An!=0;);for(Ln=An=ge;wn=65535&er[--Ln],er[Ln]=ge<=wn?wn-ge:0,--An!=0;);Un+=ge}if(oe.avail_in===0)return;An=oe.read_buf(et,ct+ut,Un),3<=(ut+=An)&&(Ht=((Ht=255&et[ct])<<ur^255&et[ct+1])&Et)}while(ut<262&&oe.avail_in!==0)}function Qn(An){var wn,Ln,Un=tt,kn=ct,ti=We,di=ge-262<ct?ct-(ge-262):0,Na=yr,Gi=Me,ba=ct+258,Pa=et[kn+ti-1],Ga=et[kn+ti];vr<=We&&(Un>>=2),ut<Na&&(Na=ut);do if(et[(wn=An)+ti]==Ga&&et[wn+ti-1]==Pa&&et[wn]==et[kn]&&et[++wn]==et[kn+1]){kn+=2,wn++;do;while(et[++kn]==et[++wn]&&et[++kn]==et[++wn]&&et[++kn]==et[++wn]&&et[++kn]==et[++wn]&&et[++kn]==et[++wn]&&et[++kn]==et[++wn]&&et[++kn]==et[++wn]&&et[++kn]==et[++wn]&&kn<ba);if(Ln=258-(ba-kn),kn=ba-258,ti<Ln){if(ht=An,Na<=(ti=Ln))break;Pa=et[kn+ti-1],Ga=et[kn+ti]}}while((An=65535&er[An&Gi])>di&&--Un!=0);return ti<=ut?ti:ut}function ea(An){return An.total_in=An.total_out=0,An.msg=null,_r.pending=0,_r.pending_out=0,k=113,se=0,Zr.dyn_tree=Dr,Zr.stat_desc=Ce.static_l_desc,on.dyn_tree=Rr,on.stat_desc=Ce.static_d_desc,jn.dyn_tree=Jr,jn.stat_desc=Ce.static_bl_desc,fr=dr=0,pr=8,Ur(),function(){var wn;for(Wt=2*ge,wn=Ct[kt-1]=0;wn<kt-1;wn++)Ct[wn]=0;ft=Te[Yt].max_lazy,vr=Te[Yt].good_length,yr=Te[Yt].nice_length,tt=Te[Yt].max_chain,Ke=We=2,Ht=Ge=ut=rr=ct=0}(),0}_r.depth=[],_r.bl_count=[],_r.heap=[],Dr=[],Rr=[],Jr=[],_r.pqdownheap=function(An,wn){for(var Ln=_r.heap,Un=Ln[wn],kn=wn<<1;kn<=_r.heap_len&&(kn<_r.heap_len&&He(An,Ln[kn+1],Ln[kn],_r.depth)&&kn++,!He(An,Un,Ln[kn],_r.depth));)Ln[wn]=Ln[kn],wn=kn,kn<<=1;Ln[wn]=Un},_r.deflateInit=function(An,wn,Ln,Un,kn,ti){return Un||(Un=8),kn||(kn=8),ti||(ti=0),An.msg=null,wn==-1&&(wn=6),kn<1||9<kn||Un!=8||Ln<9||15<Ln||wn<0||9<wn||ti<0||2<ti?-2:(An.dstate=_r,Me=(ge=1<<(Ae=Ln))-1,Et=(kt=1<<(Zt=kn+7))-1,ur=Math.floor((Zt+3-1)/3),et=new Uint8Array(2*ge),er=[],Ct=[],xr=1<<kn+6,_r.pending_buf=new Uint8Array(4*xr),$=4*xr,Or=Math.floor(xr/2),$r=3*xr,Yt=wn,Dt=ti,ea(An))},_r.deflateEnd=function(){return k!=42&&k!=113&&k!=666?-2:(_r.pending_buf=null,et=er=Ct=null,_r.dstate=null,k==113?-3:0)},_r.deflateParams=function(An,wn,Ln){var Un=0;return wn==-1&&(wn=6),wn<0||9<wn||Ln<0||2<Ln?-2:(Te[Yt].func!=Te[wn].func&&An.total_in!==0&&(Un=An.deflate(1)),Yt!=wn&&(ft=Te[Yt=wn].max_lazy,vr=Te[Yt].good_length,yr=Te[Yt].nice_length,tt=Te[Yt].max_chain),Dt=Ln,Un)},_r.deflateSetDictionary=function(An,wn,Ln){var Un,kn=Ln,ti=0;if(!wn||k!=42)return-2;if(kn<3)return 0;for(ge-262<kn&&(ti=Ln-(kn=ge-262)),et.set(wn.subarray(ti,ti+kn),0),rr=ct=kn,Ht=((Ht=255&et[0])<<ur^255&et[1])&Et,Un=0;Un<=kn-3;Un++)Ht=(Ht<<ur^255&et[Un+2])&Et,er[Un&Me]=Ct[Ht],Ct[Ht]=Un;return 0},_r.deflate=function(An,wn){var Ln,Un,kn,ti,di,Na;if(4<wn||wn<0)return-2;if(!An.next_out||!An.next_in&&An.avail_in!==0||k==666&&wn!=4)return An.msg=Ee[4],-2;if(An.avail_out===0)return An.msg=Ee[7],-5;if(oe=An,ti=se,se=wn,k==42&&(Un=8+(Ae-8<<4)<<8,3<(kn=(Yt-1&255)>>1)&&(kn=3),Un|=kn<<6,ct!==0&&(Un|=32),k=113,pn((Na=Un+=31-Un%31)>>8&255),pn(255&Na)),_r.pending!==0){if(oe.flush_pending(),oe.avail_out===0)return se=-1,0}else if(oe.avail_in===0&&wn<=ti&&wn!=4)return oe.msg=Ee[7],-5;if(k==666&&oe.avail_in!==0)return An.msg=Ee[7],-5;if(oe.avail_in!==0||ut!==0||wn!=0&&k!=666){switch(di=-1,Te[Yt].func){case 0:di=function(Gi){var ba,Pa=65535;for($-5<Pa&&(Pa=$-5);;){if(ut<=1){if(ki(),ut===0&&Gi==0)return 0;if(ut===0)break}if(ct+=ut,ba=rr+Pa,((ut=0)===ct||ba<=ct)&&(ut=ct-ba,ct=ba,fi(!1),oe.avail_out===0))return 0;if(ge-262<=ct-rr&&(fi(!1),oe.avail_out===0))return 0}return fi(Gi==4),oe.avail_out===0?Gi==4?2:0:Gi==4?3:1}(wn);break;case 1:di=function(Gi){for(var ba,Pa=0;;){if(ut<262){if(ki(),ut<262&&Gi==0)return 0;if(ut===0)break}if(3<=ut&&(Ht=(Ht<<ur^255&et[ct+2])&Et,Pa=65535&Ct[Ht],er[ct&Me]=Ct[Ht],Ct[Ht]=ct),Pa!==0&&(ct-Pa&65535)<=ge-262&&Dt!=2&&(Ke=Qn(Pa)),3<=Ke)if(ba=mn(ct-ht,Ke-3),ut-=Ke,Ke<=ft&&3<=ut){for(Ke--;Ht=(Ht<<ur^255&et[++ct+2])&Et,Pa=65535&Ct[Ht],er[ct&Me]=Ct[Ht],Ct[Ht]=ct,--Ke!=0;);ct++}else ct+=Ke,Ke=0,Ht=((Ht=255&et[ct])<<ur^255&et[ct+1])&Et;else ba=mn(0,255&et[ct]),ut--,ct++;if(ba&&(fi(!1),oe.avail_out===0))return 0}return fi(Gi==4),oe.avail_out===0?Gi==4?2:0:Gi==4?3:1}(wn);break;case 2:di=function(Gi){for(var ba,Pa,Ga=0;;){if(ut<262){if(ki(),ut<262&&Gi==0)return 0;if(ut===0)break}if(3<=ut&&(Ht=(Ht<<ur^255&et[ct+2])&Et,Ga=65535&Ct[Ht],er[ct&Me]=Ct[Ht],Ct[Ht]=ct),We=Ke,nt=ht,Ke=2,Ga!==0&&We<ft&&(ct-Ga&65535)<=ge-262&&(Dt!=2&&(Ke=Qn(Ga)),Ke<=5&&(Dt==1||Ke==3&&4096<ct-ht)&&(Ke=2)),3<=We&&Ke<=We){for(Pa=ct+ut-3,ba=mn(ct-1-nt,We-3),ut-=We-1,We-=2;++ct<=Pa&&(Ht=(Ht<<ur^255&et[ct+2])&Et,Ga=65535&Ct[Ht],er[ct&Me]=Ct[Ht],Ct[Ht]=ct),--We!=0;);if(Ge=0,Ke=2,ct++,ba&&(fi(!1),oe.avail_out===0))return 0}else if(Ge!==0){if((ba=mn(0,255&et[ct-1]))&&fi(!1),ct++,ut--,oe.avail_out===0)return 0}else Ge=1,ct++,ut--}return Ge!==0&&(ba=mn(0,255&et[ct-1]),Ge=0),fi(Gi==4),oe.avail_out===0?Gi==4?2:0:Gi==4?3:1}(wn)}if(di!=2&&di!=3||(k=666),di==0||di==2)return oe.avail_out===0&&(se=-1),0;if(di==1){if(wn==1)Vn(2,3),Nn(256,Ce.static_ltree),Xn(),1+pr+10-fr<9&&(Vn(2,3),Nn(256,Ce.static_ltree),Xn()),pr=7;else if(Ta(0,0,!1),wn==3)for(Ln=0;Ln<kt;Ln++)Ct[Ln]=0;if(oe.flush_pending(),oe.avail_out===0)return se=-1,0}}return wn!=4?0:1}}function vt(){this.next_in_index=0,this.next_out_index=0,this.avail_in=0,this.total_in=0,this.avail_out=0,this.total_out=0}vt.prototype={deflateInit:function(k,$){return this.dstate=new st,$||($=ce),this.dstate.deflateInit(this,k,$)},deflate:function(k){return this.dstate?this.dstate.deflate(this,k):-2},deflateEnd:function(){if(!this.dstate)return-2;var k=this.dstate.deflateEnd();return this.dstate=null,k},deflateParams:function(k,$){return this.dstate?this.dstate.deflateParams(this,k,$):-2},deflateSetDictionary:function(k,$){return this.dstate?this.dstate.deflateSetDictionary(this,k,$):-2},read_buf:function(k,$,se){var ge=this.avail_in;return se<ge&&(ge=se),ge===0?0:(this.avail_in-=ge,k.set(this.next_in.subarray(this.next_in_index,this.next_in_index+ge),$),this.next_in_index+=ge,this.total_in+=ge,ge)},flush_pending:function(){var k=this,$=k.dstate.pending;$>k.avail_out&&($=k.avail_out),$!==0&&(k.next_out.set(k.dstate.pending_buf.subarray(k.dstate.pending_out,k.dstate.pending_out+$),k.next_out_index),k.next_out_index+=$,k.dstate.pending_out+=$,k.total_out+=$,k.avail_out-=$,k.dstate.pending-=$,k.dstate.pending===0&&(k.dstate.pending_out=0))}};var ee=me.zip||me;ee.Deflater=ee._jzlib_Deflater=function(oe){var k=new vt,$=new Uint8Array(512),se=oe?oe.level:-1;se===void 0&&(se=-1),k.deflateInit(se),k.next_out=$,this.append=function(ge,Ae){var Me,et=[],Wt=0,er=0,Ct=0;if(ge.length){k.next_in_index=0,k.next_in=ge,k.avail_in=ge.length;do{if(k.next_out_index=0,k.avail_out=512,k.deflate(0)!=0)throw new Error("deflating: "+k.msg);k.next_out_index&&(k.next_out_index==512?et.push(new Uint8Array($)):et.push(new Uint8Array($.subarray(0,k.next_out_index)))),Ct+=k.next_out_index,Ae&&0<k.next_in_index&&k.next_in_index!=Wt&&(Ae(k.next_in_index),Wt=k.next_in_index)}while(0<k.avail_in||k.avail_out===0);return Me=new Uint8Array(Ct),et.forEach(function(Ht){Me.set(Ht,er),er+=Ht.length}),Me}},this.flush=function(){var ge,Ae,Me=[],et=0,Wt=0;do{if(k.next_out_index=0,k.avail_out=512,(ge=k.deflate(4))!=1&&ge!=0)throw new Error("deflating: "+k.msg);0<512-k.avail_out&&Me.push(new Uint8Array($.subarray(0,k.next_out_index))),Wt+=k.next_out_index}while(0<k.avail_in||k.avail_out===0);return k.deflateEnd(),Ae=new Uint8Array(Wt),Me.forEach(function(er){Ae.set(er,et),et+=er.length}),Ae}}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")()),(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(me){var ce;me=me||"",this.ok=!1,me.charAt(0)=="#"&&(me=me.substr(1,6)),me=(me=me.replace(/ /g,"")).toLowerCase();var ae={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var de in ae)me==de&&(me=ae[de]);for(var Se=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(st){return[parseInt(st[1]),parseInt(st[2]),parseInt(st[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(st){return[parseInt(st[1],16),parseInt(st[2],16),parseInt(st[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(st){return[parseInt(st[1]+st[1],16),parseInt(st[2]+st[2],16),parseInt(st[3]+st[3],16)]}}],Ce=0;Ce<Se.length;Ce++){var Ie=Se[Ce].re,Te=Se[Ce].process,Ee=Ie.exec(me);Ee&&(ce=Te(Ee),this.r=ce[0],this.g=ce[1],this.b=ce[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var He=this.r.toString(16),st=this.g.toString(16),vt=this.b.toString(16);return He.length==1&&(He="0"+He),st.length==1&&(st="0"+st),vt.length==1&&(vt="0"+vt),"#"+He+st+vt}},function(me){var ce="+".charCodeAt(0),ae="/".charCodeAt(0),de="0".charCodeAt(0),Se="a".charCodeAt(0),Ce="A".charCodeAt(0),Ie="-".charCodeAt(0),Te="_".charCodeAt(0),Ee=function(nt){var Ge=nt.charCodeAt(0);return Ge===ce||Ge===Ie?62:Ge===ae||Ge===Te?63:Ge<de?-1:Ge<de+10?Ge-de+26+26:Ge<Ce+26?Ge-Ce:Ge<Se+26?Ge-Se+26:void 0};me.API.TTFFont=function(){function Ke(nt,Ge,ct){var ht;if(this.rawData=nt,ht=this.contents=new st(nt),this.contents.pos=4,ht.readString(4)==="ttcf")throw Ge?new Error("Font "+Ge+" not found in TTC file."):new Error("Must specify a font name for TTC files.");ht.pos=0,this.parse(),this.subset=new rr(this),this.registerTTF()}return Ke.open=function(nt,Ge,ct,ht){if(typeof ct!="string")throw new Error("Invalid argument supplied in TTFFont.open");return new Ke(function(ut){var We,tt,ft,Yt,Dt,vr;if(0<ut.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var yr=ut.length;Dt=ut.charAt(yr-2)==="="?2:ut.charAt(yr-1)==="="?1:0,vr=new Uint8Array(3*ut.length/4-Dt),ft=0<Dt?ut.length-4:ut.length;var Dr=0;function Rr(Jr){vr[Dr++]=Jr}for(tt=We=0;We<ft;We+=4,tt+=3)Rr((16711680&(Yt=Ee(ut.charAt(We))<<18|Ee(ut.charAt(We+1))<<12|Ee(ut.charAt(We+2))<<6|Ee(ut.charAt(We+3))))>>16),Rr((65280&Yt)>>8),Rr(255&Yt);return Dt===2?Rr(255&(Yt=Ee(ut.charAt(We))<<2|Ee(ut.charAt(We+1))>>4)):Dt===1&&(Rr((Yt=Ee(ut.charAt(We))<<10|Ee(ut.charAt(We+1))<<4|Ee(ut.charAt(We+2))>>2)>>8&255),Rr(255&Yt)),vr}(ct),Ge,ht)},Ke.prototype.parse=function(){return this.directory=new vt(this.contents),this.head=new k(this),this.name=new Wt(this),this.cmap=new se(this),this.toUnicode=new Map,this.hhea=new ge(this),this.maxp=new er(this),this.hmtx=new Ct(this),this.post=new Me(this),this.os2=new Ae(this),this.loca=new ur(this),this.glyf=new kt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},Ke.prototype.registerTTF=function(){var nt,Ge,ct,ht,ut;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var We,tt,ft,Yt;for(Yt=[],We=0,tt=(ft=this.bbox).length;We<tt;We++)nt=ft[We],Yt.push(Math.round(nt*this.scaleFactor));return Yt}.call(this),this.stemV=0,this.post.exists?(ct=255&(ht=this.post.italic_angle),!0&(Ge=ht>>16)&&(Ge=-(1+(65535^Ge))),this.italicAngle=+(Ge+"."+ct)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(ut=this.familyClass)===1||ut===2||ut===3||ut===4||ut===5||ut===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},Ke.prototype.characterToGlyph=function(nt){var Ge;return((Ge=this.cmap.unicode)!=null?Ge.codeMap[nt]:void 0)||0},Ke.prototype.widthOfGlyph=function(nt){var Ge;return Ge=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(nt).advance*Ge},Ke.prototype.widthOfString=function(nt,Ge,ct){var ht,ut,We,tt,ft;for(ut=tt=We=0,ft=(nt=""+nt).length;0<=ft?tt<ft:ft<tt;ut=0<=ft?++tt:--tt)ht=nt.charCodeAt(ut),We+=this.widthOfGlyph(this.characterToGlyph(ht))+ct*(1e3/Ge)||0;return We*(Ge/1e3)},Ke.prototype.lineHeight=function(nt,Ge){var ct;return Ge==null&&(Ge=!1),ct=Ge?this.lineGap:0,(this.ascender+ct-this.decender)/1e3*nt},Ke}();var He,st=function(){function Ke(nt){this.data=nt!=null?nt:[],this.pos=0,this.length=this.data.length}return Ke.prototype.readByte=function(){return this.data[this.pos++]},Ke.prototype.writeByte=function(nt){return this.data[this.pos++]=nt},Ke.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},Ke.prototype.writeUInt32=function(nt){return this.writeByte(nt>>>24&255),this.writeByte(nt>>16&255),this.writeByte(nt>>8&255),this.writeByte(255&nt)},Ke.prototype.readInt32=function(){var nt;return 2147483648<=(nt=this.readUInt32())?nt-4294967296:nt},Ke.prototype.writeInt32=function(nt){return nt<0&&(nt+=4294967296),this.writeUInt32(nt)},Ke.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},Ke.prototype.writeUInt16=function(nt){return this.writeByte(nt>>8&255),this.writeByte(255&nt)},Ke.prototype.readInt16=function(){var nt;return 32768<=(nt=this.readUInt16())?nt-65536:nt},Ke.prototype.writeInt16=function(nt){return nt<0&&(nt+=65536),this.writeUInt16(nt)},Ke.prototype.readString=function(nt){var Ge,ct,ht;for(ct=[],Ge=ht=0;0<=nt?ht<nt:nt<ht;Ge=0<=nt?++ht:--ht)ct[Ge]=String.fromCharCode(this.readByte());return ct.join("")},Ke.prototype.writeString=function(nt){var Ge,ct,ht,ut;for(ut=[],Ge=ct=0,ht=nt.length;0<=ht?ct<ht:ht<ct;Ge=0<=ht?++ct:--ct)ut.push(this.writeByte(nt.charCodeAt(Ge)));return ut},Ke.prototype.readShort=function(){return this.readInt16()},Ke.prototype.writeShort=function(nt){return this.writeInt16(nt)},Ke.prototype.readLongLong=function(){var nt,Ge,ct,ht,ut,We,tt,ft;return nt=this.readByte(),Ge=this.readByte(),ct=this.readByte(),ht=this.readByte(),ut=this.readByte(),We=this.readByte(),tt=this.readByte(),ft=this.readByte(),128&nt?-1*(72057594037927940*(255^nt)+281474976710656*(255^Ge)+1099511627776*(255^ct)+4294967296*(255^ht)+16777216*(255^ut)+65536*(255^We)+256*(255^tt)+(255^ft)+1):72057594037927940*nt+281474976710656*Ge+1099511627776*ct+4294967296*ht+16777216*ut+65536*We+256*tt+ft},Ke.prototype.writeLongLong=function(nt){var Ge,ct;return Ge=Math.floor(nt/4294967296),ct=4294967295&nt,this.writeByte(Ge>>24&255),this.writeByte(Ge>>16&255),this.writeByte(Ge>>8&255),this.writeByte(255&Ge),this.writeByte(ct>>24&255),this.writeByte(ct>>16&255),this.writeByte(ct>>8&255),this.writeByte(255&ct)},Ke.prototype.readInt=function(){return this.readInt32()},Ke.prototype.writeInt=function(nt){return this.writeInt32(nt)},Ke.prototype.read=function(nt){var Ge,ct;for(Ge=[],ct=0;0<=nt?ct<nt:nt<ct;0<=nt?++ct:--ct)Ge.push(this.readByte());return Ge},Ke.prototype.write=function(nt){var Ge,ct,ht,ut;for(ut=[],ct=0,ht=nt.length;ct<ht;ct++)Ge=nt[ct],ut.push(this.writeByte(Ge));return ut},Ke}(),vt=function(){var Ke;function nt(Ge){var ct,ht,ut;for(this.scalarType=Ge.readInt(),this.tableCount=Ge.readShort(),this.searchRange=Ge.readShort(),this.entrySelector=Ge.readShort(),this.rangeShift=Ge.readShort(),this.tables={},ht=0,ut=this.tableCount;0<=ut?ht<ut:ut<ht;0<=ut?++ht:--ht)ct={tag:Ge.readString(4),checksum:Ge.readInt(),offset:Ge.readInt(),length:Ge.readInt()},this.tables[ct.tag]=ct}return nt.prototype.encode=function(Ge){var ct,ht,ut,We,tt,ft,Yt,Dt,vr,yr,Dr,Rr,Jr;for(Jr in Dr=Object.keys(Ge).length,ft=Math.log(2),vr=16*Math.floor(Math.log(Dr)/ft),We=Math.floor(vr/ft),Dt=16*Dr-vr,(ht=new st).writeInt(this.scalarType),ht.writeShort(Dr),ht.writeShort(vr),ht.writeShort(We),ht.writeShort(Dt),ut=16*Dr,Yt=ht.pos+ut,tt=null,Rr=[],Ge)for(yr=Ge[Jr],ht.writeString(Jr),ht.writeInt(Ke(yr)),ht.writeInt(Yt),ht.writeInt(yr.length),Rr=Rr.concat(yr),Jr==="head"&&(tt=Yt),Yt+=yr.length;Yt%4;)Rr.push(0),Yt++;return ht.write(Rr),ct=2981146554-Ke(ht.data),ht.pos=tt+8,ht.writeUInt32(ct),ht.data},Ke=function(ct){var ht,ut,We,tt;for(ct=Ht.call(ct);ct.length%4;)ct.push(0);for(ut=new st(ct),We=ht=0,tt=ct.length;We<tt;We+=4)ht+=ut.readUInt32();return 4294967295&ht},nt}(),ee={}.hasOwnProperty,oe=function(nt,Ge){for(var ct in Ge)ee.call(Ge,ct)&&(nt[ct]=Ge[ct]);function ht(){this.constructor=nt}return ht.prototype=Ge.prototype,nt.prototype=new ht,nt.__super__=Ge.prototype,nt};He=function(){function Ke(nt){var Ge;this.file=nt,Ge=this.file.directory.tables[this.tag],this.exists=!!Ge,Ge&&(this.offset=Ge.offset,this.length=Ge.length,this.parse(this.file.contents))}return Ke.prototype.parse=function(){},Ke.prototype.encode=function(){},Ke.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},Ke}();var k=function(Ke){function nt(){return nt.__super__.constructor.apply(this,arguments)}return oe(nt,He),nt.prototype.tag="head",nt.prototype.parse=function(Ge){return Ge.pos=this.offset,this.version=Ge.readInt(),this.revision=Ge.readInt(),this.checkSumAdjustment=Ge.readInt(),this.magicNumber=Ge.readInt(),this.flags=Ge.readShort(),this.unitsPerEm=Ge.readShort(),this.created=Ge.readLongLong(),this.modified=Ge.readLongLong(),this.xMin=Ge.readShort(),this.yMin=Ge.readShort(),this.xMax=Ge.readShort(),this.yMax=Ge.readShort(),this.macStyle=Ge.readShort(),this.lowestRecPPEM=Ge.readShort(),this.fontDirectionHint=Ge.readShort(),this.indexToLocFormat=Ge.readShort(),this.glyphDataFormat=Ge.readShort()},nt.prototype.encode=function(Ge){var ct;return(ct=new st).writeInt(this.version),ct.writeInt(this.revision),ct.writeInt(this.checkSumAdjustment),ct.writeInt(this.magicNumber),ct.writeShort(this.flags),ct.writeShort(this.unitsPerEm),ct.writeLongLong(this.created),ct.writeLongLong(this.modified),ct.writeShort(this.xMin),ct.writeShort(this.yMin),ct.writeShort(this.xMax),ct.writeShort(this.yMax),ct.writeShort(this.macStyle),ct.writeShort(this.lowestRecPPEM),ct.writeShort(this.fontDirectionHint),ct.writeShort(Ge),ct.writeShort(this.glyphDataFormat),ct.data},nt}(),$=function(){function Ke(nt,Ge){var ct,ht,ut,We,tt,ft,Yt,Dt,vr,yr,Dr,Rr,Jr,$r,xr,Vr,Or,nr;switch(this.platformID=nt.readUInt16(),this.encodingID=nt.readShort(),this.offset=Ge+nt.readInt(),vr=nt.pos,nt.pos=this.offset,this.format=nt.readUInt16(),this.length=nt.readUInt16(),this.language=nt.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(ft=xr=0;xr<256;ft=++xr)this.codeMap[ft]=nt.readByte();break;case 4:for(Dr=nt.readUInt16(),yr=Dr/2,nt.pos+=6,ut=function(){var pr,dr;for(dr=[],ft=pr=0;0<=yr?pr<yr:yr<pr;ft=0<=yr?++pr:--pr)dr.push(nt.readUInt16());return dr}(),nt.pos+=2,Jr=function(){var pr,dr;for(dr=[],ft=pr=0;0<=yr?pr<yr:yr<pr;ft=0<=yr?++pr:--pr)dr.push(nt.readUInt16());return dr}(),Yt=function(){var pr,dr;for(dr=[],ft=pr=0;0<=yr?pr<yr:yr<pr;ft=0<=yr?++pr:--pr)dr.push(nt.readUInt16());return dr}(),Dt=function(){var pr,dr;for(dr=[],ft=pr=0;0<=yr?pr<yr:yr<pr;ft=0<=yr?++pr:--pr)dr.push(nt.readUInt16());return dr}(),ht=(this.length-nt.pos+this.offset)/2,tt=function(){var pr,dr;for(dr=[],ft=pr=0;0<=ht?pr<ht:ht<pr;ft=0<=ht?++pr:--pr)dr.push(nt.readUInt16());return dr}(),ft=Vr=0,nr=ut.length;Vr<nr;ft=++Vr)for($r=ut[ft],ct=Or=Rr=Jr[ft];Rr<=$r?Or<=$r:$r<=Or;ct=Rr<=$r?++Or:--Or)Dt[ft]===0?We=ct+Yt[ft]:(We=tt[Dt[ft]/2+(ct-Rr)-(yr-ft)]||0)!==0&&(We+=Yt[ft]),this.codeMap[ct]=65535&We}nt.pos=vr}return Ke.encode=function(nt,Ge){var ct,ht,ut,We,tt,ft,Yt,Dt,vr,yr,Dr,Rr,Jr,$r,xr,Vr,Or,nr,pr,dr,fr,_r,Zr,on,jn,Ur,En,pn,On,Vn,Nn,ui,Xn,mn,cn,da,Ta,ia,fi,ki,Qn,ea,An,wn,Ln,Un;switch(pn=new st,We=Object.keys(nt).sort(function(kn,ti){return kn-ti}),Ge){case"macroman":for(Jr=0,$r=function(){var kn,ti;for(ti=[],Rr=kn=0;kn<256;Rr=++kn)ti.push(0);return ti}(),Vr={0:0},ut={},On=0,Xn=We.length;On<Xn;On++)Vr[An=nt[ht=We[On]]]==null&&(Vr[An]=++Jr),ut[ht]={old:nt[ht],new:Vr[nt[ht]]},$r[ht]=Vr[nt[ht]];return pn.writeUInt16(1),pn.writeUInt16(0),pn.writeUInt32(12),pn.writeUInt16(0),pn.writeUInt16(262),pn.writeUInt16(0),pn.write($r),{charMap:ut,subtable:pn.data,maxGlyphID:Jr+1};case"unicode":for(Ur=[],vr=[],Vr={},ct={},xr=Yt=null,Vn=Or=0,mn=We.length;Vn<mn;Vn++)Vr[pr=nt[ht=We[Vn]]]==null&&(Vr[pr]=++Or),ct[ht]={old:pr,new:Vr[pr]},tt=Vr[pr]-ht,xr!=null&&tt===Yt||(xr&&vr.push(xr),Ur.push(ht),Yt=tt),xr=ht;for(xr&&vr.push(xr),vr.push(65535),Ur.push(65535),on=2*(Zr=Ur.length),_r=2*Math.pow(Math.log(Zr)/Math.LN2,2),yr=Math.log(_r/2)/Math.LN2,fr=2*Zr-_r,ft=[],dr=[],Dr=[],Rr=Nn=0,cn=Ur.length;Nn<cn;Rr=++Nn){if(jn=Ur[Rr],Dt=vr[Rr],jn===65535){ft.push(0),dr.push(0);break}if(32768<=jn-(En=ct[jn].new))for(ft.push(0),dr.push(2*(Dr.length+Zr-Rr)),ht=ui=jn;jn<=Dt?ui<=Dt:Dt<=ui;ht=jn<=Dt?++ui:--ui)Dr.push(ct[ht].new);else ft.push(En-jn),dr.push(0)}for(pn.writeUInt16(3),pn.writeUInt16(1),pn.writeUInt32(12),pn.writeUInt16(4),pn.writeUInt16(16+8*Zr+2*Dr.length),pn.writeUInt16(0),pn.writeUInt16(on),pn.writeUInt16(_r),pn.writeUInt16(yr),pn.writeUInt16(fr),Qn=0,da=vr.length;Qn<da;Qn++)ht=vr[Qn],pn.writeUInt16(ht);for(pn.writeUInt16(0),ea=0,Ta=Ur.length;ea<Ta;ea++)ht=Ur[ea],pn.writeUInt16(ht);for(wn=0,ia=ft.length;wn<ia;wn++)tt=ft[wn],pn.writeUInt16(tt);for(Ln=0,fi=dr.length;Ln<fi;Ln++)nr=dr[Ln],pn.writeUInt16(nr);for(Un=0,ki=Dr.length;Un<ki;Un++)Jr=Dr[Un],pn.writeUInt16(Jr);return{charMap:ct,subtable:pn.data,maxGlyphID:Or+1}}},Ke}(),se=function(Ke){function nt(){return nt.__super__.constructor.apply(this,arguments)}return oe(nt,He),nt.prototype.tag="cmap",nt.prototype.parse=function(Ge){var ct,ht,ut;for(Ge.pos=this.offset,this.version=Ge.readUInt16(),ht=Ge.readUInt16(),this.tables=[],this.unicode=null,ut=0;0<=ht?ut<ht:ht<ut;0<=ht?++ut:--ut)ct=new $(Ge,this.offset),this.tables.push(ct),ct.isUnicode&&this.unicode==null&&(this.unicode=ct);return!0},nt.encode=function(Ge,ct){var ht,ut;return ct==null&&(ct="macroman"),ht=$.encode(Ge,ct),(ut=new st).writeUInt16(0),ut.writeUInt16(1),ht.table=ut.data.concat(ht.subtable),ht},nt}(),ge=function(Ke){function nt(){return nt.__super__.constructor.apply(this,arguments)}return oe(nt,He),nt.prototype.tag="hhea",nt.prototype.parse=function(Ge){return Ge.pos=this.offset,this.version=Ge.readInt(),this.ascender=Ge.readShort(),this.decender=Ge.readShort(),this.lineGap=Ge.readShort(),this.advanceWidthMax=Ge.readShort(),this.minLeftSideBearing=Ge.readShort(),this.minRightSideBearing=Ge.readShort(),this.xMaxExtent=Ge.readShort(),this.caretSlopeRise=Ge.readShort(),this.caretSlopeRun=Ge.readShort(),this.caretOffset=Ge.readShort(),Ge.pos+=8,this.metricDataFormat=Ge.readShort(),this.numberOfMetrics=Ge.readUInt16()},nt}(),Ae=function(Ke){function nt(){return nt.__super__.constructor.apply(this,arguments)}return oe(nt,He),nt.prototype.tag="OS/2",nt.prototype.parse=function(Ge){if(Ge.pos=this.offset,this.version=Ge.readUInt16(),this.averageCharWidth=Ge.readShort(),this.weightClass=Ge.readUInt16(),this.widthClass=Ge.readUInt16(),this.type=Ge.readShort(),this.ySubscriptXSize=Ge.readShort(),this.ySubscriptYSize=Ge.readShort(),this.ySubscriptXOffset=Ge.readShort(),this.ySubscriptYOffset=Ge.readShort(),this.ySuperscriptXSize=Ge.readShort(),this.ySuperscriptYSize=Ge.readShort(),this.ySuperscriptXOffset=Ge.readShort(),this.ySuperscriptYOffset=Ge.readShort(),this.yStrikeoutSize=Ge.readShort(),this.yStrikeoutPosition=Ge.readShort(),this.familyClass=Ge.readShort(),this.panose=function(){var ct,ht;for(ht=[],ct=0;ct<10;++ct)ht.push(Ge.readByte());return ht}(),this.charRange=function(){var ct,ht;for(ht=[],ct=0;ct<4;++ct)ht.push(Ge.readInt());return ht}(),this.vendorID=Ge.readString(4),this.selection=Ge.readShort(),this.firstCharIndex=Ge.readShort(),this.lastCharIndex=Ge.readShort(),0<this.version&&(this.ascent=Ge.readShort(),this.descent=Ge.readShort(),this.lineGap=Ge.readShort(),this.winAscent=Ge.readShort(),this.winDescent=Ge.readShort(),this.codePageRange=function(){var ct,ht;for(ht=[],ct=0;ct<2;++ct)ht.push(Ge.readInt());return ht}(),1<this.version))return this.xHeight=Ge.readShort(),this.capHeight=Ge.readShort(),this.defaultChar=Ge.readShort(),this.breakChar=Ge.readShort(),this.maxContext=Ge.readShort()},nt}(),Me=function(Ke){function nt(){return nt.__super__.constructor.apply(this,arguments)}return oe(nt,He),nt.prototype.tag="post",nt.prototype.parse=function(Ge){var ct,ht,ut,We;switch(Ge.pos=this.offset,this.format=Ge.readInt(),this.italicAngle=Ge.readInt(),this.underlinePosition=Ge.readShort(),this.underlineThickness=Ge.readShort(),this.isFixedPitch=Ge.readInt(),this.minMemType42=Ge.readInt(),this.maxMemType42=Ge.readInt(),this.minMemType1=Ge.readInt(),this.maxMemType1=Ge.readInt(),this.format){case 65536:break;case 131072:for(ht=Ge.readUInt16(),this.glyphNameIndex=[],ut=0;0<=ht?ut<ht:ht<ut;0<=ht?++ut:--ut)this.glyphNameIndex.push(Ge.readUInt16());for(this.names=[],We=[];Ge.pos<this.offset+this.length;)ct=Ge.readByte(),We.push(this.names.push(Ge.readString(ct)));return We;case 151552:return ht=Ge.readUInt16(),this.offsets=Ge.read(ht);case 196608:break;case 262144:return this.map=function(){var tt,ft,Yt;for(Yt=[],tt=0,ft=this.file.maxp.numGlyphs;0<=ft?tt<ft:ft<tt;0<=ft?++tt:--tt)Yt.push(Ge.readUInt32());return Yt}.call(this)}},nt}(),et=function(nt,Ge){this.raw=nt,this.length=nt.length,this.platformID=Ge.platformID,this.encodingID=Ge.encodingID,this.languageID=Ge.languageID},Wt=function(Ke){function nt(){return nt.__super__.constructor.apply(this,arguments)}return oe(nt,He),nt.prototype.tag="name",nt.prototype.parse=function(Ge){var ct,ht,ut,We,tt,ft,Yt,Dt,vr,yr,Dr,Rr;for(Ge.pos=this.offset,Ge.readShort(),ct=Ge.readShort(),ft=Ge.readShort(),ht=[],We=vr=0;0<=ct?vr<ct:ct<vr;We=0<=ct?++vr:--vr)ht.push({platformID:Ge.readShort(),encodingID:Ge.readShort(),languageID:Ge.readShort(),nameID:Ge.readShort(),length:Ge.readShort(),offset:this.offset+ft+Ge.readShort()});for(Yt={},We=yr=0,Dr=ht.length;yr<Dr;We=++yr)ut=ht[We],Ge.pos=ut.offset,Dt=Ge.readString(ut.length),tt=new et(Dt,ut),Yt[Rr=ut.nameID]==null&&(Yt[Rr]=[]),Yt[ut.nameID].push(tt);this.strings=Yt,this.copyright=Yt[0],this.fontFamily=Yt[1],this.fontSubfamily=Yt[2],this.uniqueSubfamily=Yt[3],this.fontName=Yt[4],this.version=Yt[5];try{this.postscriptName=Yt[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(Jr){this.postscriptName=Yt[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Yt[7],this.manufacturer=Yt[8],this.designer=Yt[9],this.description=Yt[10],this.vendorUrl=Yt[11],this.designerUrl=Yt[12],this.license=Yt[13],this.licenseUrl=Yt[14],this.preferredFamily=Yt[15],this.preferredSubfamily=Yt[17],this.compatibleFull=Yt[18],this.sampleText=Yt[19]},nt}(),er=function(Ke){function nt(){return nt.__super__.constructor.apply(this,arguments)}return oe(nt,He),nt.prototype.tag="maxp",nt.prototype.parse=function(Ge){return Ge.pos=this.offset,this.version=Ge.readInt(),this.numGlyphs=Ge.readUInt16(),this.maxPoints=Ge.readUInt16(),this.maxContours=Ge.readUInt16(),this.maxCompositePoints=Ge.readUInt16(),this.maxComponentContours=Ge.readUInt16(),this.maxZones=Ge.readUInt16(),this.maxTwilightPoints=Ge.readUInt16(),this.maxStorage=Ge.readUInt16(),this.maxFunctionDefs=Ge.readUInt16(),this.maxInstructionDefs=Ge.readUInt16(),this.maxStackElements=Ge.readUInt16(),this.maxSizeOfInstructions=Ge.readUInt16(),this.maxComponentElements=Ge.readUInt16(),this.maxComponentDepth=Ge.readUInt16()},nt}(),Ct=function(Ke){function nt(){return nt.__super__.constructor.apply(this,arguments)}return oe(nt,He),nt.prototype.tag="hmtx",nt.prototype.parse=function(Ge){var ct,ht,ut,We,tt,ft,Yt;for(Ge.pos=this.offset,this.metrics=[],We=0,ft=this.file.hhea.numberOfMetrics;0<=ft?We<ft:ft<We;0<=ft?++We:--We)this.metrics.push({advance:Ge.readUInt16(),lsb:Ge.readInt16()});for(ht=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Dt,vr;for(vr=[],Dt=0;0<=ht?Dt<ht:ht<Dt;0<=ht?++Dt:--Dt)vr.push(Ge.readInt16());return vr}(),this.widths=function(){var Dt,vr,yr,Dr;for(Dr=[],Dt=0,vr=(yr=this.metrics).length;Dt<vr;Dt++)ut=yr[Dt],Dr.push(ut.advance);return Dr}.call(this),ct=this.widths[this.widths.length-1],Yt=[],tt=0;0<=ht?tt<ht:ht<tt;0<=ht?++tt:--tt)Yt.push(this.widths.push(ct));return Yt},nt.prototype.forGlyph=function(Ge){return Ge in this.metrics?this.metrics[Ge]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Ge-this.metrics.length]}},nt}(),Ht=[].slice,kt=function(Ke){function nt(){return nt.__super__.constructor.apply(this,arguments)}return oe(nt,He),nt.prototype.tag="glyf",nt.prototype.parse=function(Ge){return this.cache={}},nt.prototype.glyphFor=function(Ge){var ct,ht,ut,We,tt,ft,Yt,Dt,vr,yr;return(Ge=Ge)in this.cache?this.cache[Ge]:(We=this.file.loca,ct=this.file.contents,ht=We.indexOf(Ge),(ut=We.lengthOf(Ge))===0?this.cache[Ge]=null:(ct.pos=this.offset+ht,tt=(ft=new st(ct.read(ut))).readShort(),Dt=ft.readShort(),yr=ft.readShort(),Yt=ft.readShort(),vr=ft.readShort(),this.cache[Ge]=tt===-1?new Et(ft,Dt,yr,Yt,vr):new Zt(ft,tt,Dt,yr,Yt,vr),this.cache[Ge]))},nt.prototype.encode=function(Ge,ct,ht){var ut,We,tt,ft,Yt;for(tt=[],We=[],ft=0,Yt=ct.length;ft<Yt;ft++)ut=Ge[ct[ft]],We.push(tt.length),ut&&(tt=tt.concat(ut.encode(ht)));return We.push(tt.length),{table:tt,offsets:We}},nt}(),Zt=function(){function Ke(nt,Ge,ct,ht,ut,We){this.raw=nt,this.numberOfContours=Ge,this.xMin=ct,this.yMin=ht,this.xMax=ut,this.yMax=We,this.compound=!1}return Ke.prototype.encode=function(){return this.raw.data},Ke}(),Et=function(){function Ke(nt,Ge,ct,ht,ut){var We,tt;for(this.raw=nt,this.xMin=Ge,this.yMin=ct,this.xMax=ht,this.yMax=ut,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],We=this.raw;tt=We.readShort(),this.glyphOffsets.push(We.pos),this.glyphIDs.push(We.readShort()),32&tt;)We.pos+=1&tt?4:2,128&tt?We.pos+=8:64&tt?We.pos+=4:8&tt&&(We.pos+=2)}return Ke.prototype.encode=function(nt){var Ge,ct,ht,ut,We;for(ct=new st(Ht.call(this.raw.data)),Ge=ht=0,ut=(We=this.glyphIDs).length;ht<ut;Ge=++ht)We[Ge],ct.pos=this.glyphOffsets[Ge];return ct.data},Ke}(),ur=function(Ke){function nt(){return nt.__super__.constructor.apply(this,arguments)}return oe(nt,He),nt.prototype.tag="loca",nt.prototype.parse=function(Ge){var ct;return Ge.pos=this.offset,ct=this.file.head.indexToLocFormat,this.offsets=ct===0?function(){var ht,ut,We;for(We=[],ht=0,ut=this.length;ht<ut;ht+=2)We.push(2*Ge.readUInt16());return We}.call(this):function(){var ht,ut,We;for(We=[],ht=0,ut=this.length;ht<ut;ht+=4)We.push(Ge.readUInt32());return We}.call(this)},nt.prototype.indexOf=function(Ge){return this.offsets[Ge]},nt.prototype.lengthOf=function(Ge){return this.offsets[Ge+1]-this.offsets[Ge]},nt.prototype.encode=function(Ge,ct){for(var ht=new Uint32Array(this.offsets.length),ut=0,We=0,tt=0;tt<ht.length;++tt)if(ht[tt]=ut,We<ct.length&&ct[We]==tt){++We,ht[tt]=ut;var ft=this.offsets[tt],Yt=this.offsets[tt+1]-ft;0<Yt&&(ut+=Yt)}for(var Dt=new Array(4*ht.length),vr=0;vr<ht.length;++vr)Dt[4*vr+3]=255&ht[vr],Dt[4*vr+2]=(65280&ht[vr])>>8,Dt[4*vr+1]=(16711680&ht[vr])>>16,Dt[4*vr]=(4278190080&ht[vr])>>24;return Dt},nt}(),rr=function(){function Ke(nt){this.font=nt,this.subset={},this.unicodes={},this.next=33}return Ke.prototype.generateCmap=function(){var nt,Ge,ct,ht,ut;for(Ge in ht=this.font.cmap.tables[0].codeMap,nt={},ut=this.subset)ct=ut[Ge],nt[Ge]=ht[ct];return nt},Ke.prototype.glyphsFor=function(nt){var Ge,ct,ht,ut,We,tt,ft;for(ht={},We=0,tt=nt.length;We<tt;We++)ht[ut=nt[We]]=this.font.glyf.glyphFor(ut);for(ut in Ge=[],ht)((ct=ht[ut])!=null?ct.compound:void 0)&&Ge.push.apply(Ge,ct.glyphIDs);if(0<Ge.length)for(ut in ft=this.glyphsFor(Ge))ct=ft[ut],ht[ut]=ct;return ht},Ke.prototype.encode=function(nt,Ge){var ct,ht,ut,We,tt,ft,Yt,Dt,vr,yr,Dr,Rr,Jr,$r,xr;for(ht in ct=se.encode(this.generateCmap(),"unicode"),We=this.glyphsFor(nt),Dr={0:0},xr=ct.charMap)Dr[(ft=xr[ht]).old]=ft.new;for(Rr in yr=ct.maxGlyphID,We)Rr in Dr||(Dr[Rr]=yr++);return Dt=function(Vr){var Or,nr;for(Or in nr={},Vr)nr[Vr[Or]]=Or;return nr}(Dr),vr=Object.keys(Dt).sort(function(Vr,Or){return Vr-Or}),Jr=function(){var Vr,Or,nr;for(nr=[],Vr=0,Or=vr.length;Vr<Or;Vr++)tt=vr[Vr],nr.push(Dt[tt]);return nr}(),ut=this.font.glyf.encode(We,Jr,Dr),Yt=this.font.loca.encode(ut.offsets,Jr),$r={cmap:this.font.cmap.raw(),glyf:ut.table,loca:Yt,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(Ge)},this.font.os2.exists&&($r["OS/2"]=this.font.os2.raw()),this.font.directory.encode($r)},Ke}();me.API.PDFObject=function(){var Ke;function nt(){}return Ke=function(ct,ht){return(Array(ht+1).join("0")+ct).slice(-ht)},nt.convert=function(Ge){var ct,ht,ut,We;if(Array.isArray(Ge))return"["+function(){var tt,ft,Yt;for(Yt=[],tt=0,ft=Ge.length;tt<ft;tt++)ct=Ge[tt],Yt.push(nt.convert(ct));return Yt}().join(" ")+"]";if(typeof Ge=="string")return"/"+Ge;if(Ge!=null?Ge.isString:void 0)return"("+Ge+")";if(Ge instanceof Date)return"(D:"+Ke(Ge.getUTCFullYear(),4)+Ke(Ge.getUTCMonth(),2)+Ke(Ge.getUTCDate(),2)+Ke(Ge.getUTCHours(),2)+Ke(Ge.getUTCMinutes(),2)+Ke(Ge.getUTCSeconds(),2)+"Z)";if({}.toString.call(Ge)!=="[object Object]")return""+Ge;for(ht in ut=["<<"],Ge)We=Ge[ht],ut.push("/"+ht+" "+nt.convert(We));return ut.push(">>"),ut.join(`
|
||
`)},nt}()}(Tt),_e=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")(),je=function(){var me,ce,ae;function de(Se){var Ce,Ie,Te,Ee,He,st,vt,ee,oe,k,$,se,ge,Ae;for(this.data=Se,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},st=null;;){switch(Ce=this.readUInt32(),oe=function(){var Me,et;for(et=[],Me=0;Me<4;++Me)et.push(String.fromCharCode(this.data[this.pos++]));return et}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(Ce);break;case"fcTL":st&&this.animation.frames.push(st),this.pos+=4,st={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},He=this.readUInt16(),Ee=this.readUInt16()||100,st.delay=1e3*He/Ee,st.disposeOp=this.data[this.pos++],st.blendOp=this.data[this.pos++],st.data=[];break;case"IDAT":case"fdAT":for(oe==="fdAT"&&(this.pos+=4,Ce-=4),Se=(st!=null?st.data:void 0)||this.imgData,se=0;0<=Ce?se<Ce:Ce<se;0<=Ce?++se:--se)Se.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Te=this.palette.length/3,this.transparency.indexed=this.read(Ce),this.transparency.indexed.length>Te)throw new Error("More transparent colors than palette size");if(0<(k=Te-this.transparency.indexed.length))for(ge=0;0<=k?ge<k:k<ge;0<=k?++ge:--ge)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Ce)[0];break;case 2:this.transparency.rgb=this.read(Ce)}break;case"tEXt":vt=($=this.read(Ce)).indexOf(0),ee=String.fromCharCode.apply(String,$.slice(0,vt)),this.text[ee]=String.fromCharCode.apply(String,$.slice(vt+1));break;case"IEND":return st&&this.animation.frames.push(st),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Ae=this.colorType)===4||Ae===6,Ie=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Ie,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=Ce}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}de.load=function(Se,Ce,Ie){var Te;return typeof Ce=="function"&&(Ie=Ce),(Te=new XMLHttpRequest).open("GET",Se,!0),Te.responseType="arraybuffer",Te.onload=function(){var Ee;return Ee=new de(new Uint8Array(Te.response||Te.mozResponseArrayBuffer)),typeof(Ce!=null?Ce.getContext:void 0)=="function"&&Ee.render(Ce),typeof Ie=="function"?Ie(Ee):void 0},Te.send(null)},de.prototype.read=function(Se){var Ce,Ie;for(Ie=[],Ce=0;0<=Se?Ce<Se:Se<Ce;0<=Se?++Ce:--Ce)Ie.push(this.data[this.pos++]);return Ie},de.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},de.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},de.prototype.decodePixels=function(Se){var Ce=this.pixelBitlength/8,Ie=new Uint8Array(this.width*this.height*Ce),Te=0,Ee=this;if(Se==null&&(Se=this.imgData),Se.length===0)return new Uint8Array(0);function He(st,vt,ee,oe){var k,$,se,ge,Ae,Me,et,Wt,er,Ct,Ht,kt,Zt,Et,ur,rr,Ke,nt,Ge,ct,ht,ut=Math.ceil((Ee.width-st)/ee),We=Math.ceil((Ee.height-vt)/oe),tt=Ee.width==ut&&Ee.height==We;for(Et=Ce*ut,kt=tt?Ie:new Uint8Array(Et*We),Me=Se.length,$=Zt=0;Zt<We&&Te<Me;){switch(Se[Te++]){case 0:for(ge=Ke=0;Ke<Et;ge=Ke+=1)kt[$++]=Se[Te++];break;case 1:for(ge=nt=0;nt<Et;ge=nt+=1)k=Se[Te++],Ae=ge<Ce?0:kt[$-Ce],kt[$++]=(k+Ae)%256;break;case 2:for(ge=Ge=0;Ge<Et;ge=Ge+=1)k=Se[Te++],se=(ge-ge%Ce)/Ce,ur=Zt&&kt[(Zt-1)*Et+se*Ce+ge%Ce],kt[$++]=(ur+k)%256;break;case 3:for(ge=ct=0;ct<Et;ge=ct+=1)k=Se[Te++],se=(ge-ge%Ce)/Ce,Ae=ge<Ce?0:kt[$-Ce],ur=Zt&&kt[(Zt-1)*Et+se*Ce+ge%Ce],kt[$++]=(k+Math.floor((Ae+ur)/2))%256;break;case 4:for(ge=ht=0;ht<Et;ge=ht+=1)k=Se[Te++],se=(ge-ge%Ce)/Ce,Ae=ge<Ce?0:kt[$-Ce],Zt===0?ur=rr=0:(ur=kt[(Zt-1)*Et+se*Ce+ge%Ce],rr=se&&kt[(Zt-1)*Et+(se-1)*Ce+ge%Ce]),et=Ae+ur-rr,Wt=Math.abs(et-Ae),Ct=Math.abs(et-ur),Ht=Math.abs(et-rr),er=Wt<=Ct&&Wt<=Ht?Ae:Ct<=Ht?ur:rr,kt[$++]=(k+er)%256;break;default:throw new Error("Invalid filter algorithm: "+Se[Te-1])}if(!tt){var ft=((vt+Zt*oe)*Ee.width+st)*Ce,Yt=Zt*Et;for(ge=0;ge<ut;ge+=1){for(var Dt=0;Dt<Ce;Dt+=1)Ie[ft++]=kt[Yt++];ft+=(ee-1)*Ce}}Zt++}}return Se=(Se=new Mt(Se)).getBytes(),Ee.interlaceMethod==1?(He(0,0,8,8),He(4,0,8,8),He(0,4,4,8),He(2,0,4,4),He(0,2,2,4),He(1,0,2,2),He(0,1,1,2)):He(0,0,1,1),Ie},de.prototype.decodePalette=function(){var Se,Ce,Ie,Te,Ee,He,st,vt,ee;for(Ie=this.palette,He=this.transparency.indexed||[],Ee=new Uint8Array((He.length||0)+Ie.length),Te=0,Ie.length,Ce=st=Se=0,vt=Ie.length;st<vt;Ce=st+=3)Ee[Te++]=Ie[Ce],Ee[Te++]=Ie[Ce+1],Ee[Te++]=Ie[Ce+2],Ee[Te++]=(ee=He[Se++])!=null?ee:255;return Ee},de.prototype.copyToImageData=function(Se,Ce){var Ie,Te,Ee,He,st,vt,ee,oe,k,$,se;if(Te=this.colors,k=null,Ie=this.hasAlphaChannel,this.palette.length&&(k=(se=this._decodedPalette)!=null?se:this._decodedPalette=this.decodePalette(),Te=4,Ie=!0),oe=(Ee=Se.data||Se).length,st=k||Ce,He=vt=0,Te===1)for(;He<oe;)ee=k?4*Ce[He/4]:vt,$=st[ee++],Ee[He++]=$,Ee[He++]=$,Ee[He++]=$,Ee[He++]=Ie?st[ee++]:255,vt=ee;else for(;He<oe;)ee=k?4*Ce[He/4]:vt,Ee[He++]=st[ee++],Ee[He++]=st[ee++],Ee[He++]=st[ee++],Ee[He++]=Ie?st[ee++]:255,vt=ee},de.prototype.decode=function(){var Se;return Se=new Uint8Array(this.width*this.height*4),this.copyToImageData(Se,this.decodePixels()),Se};try{ce=_e.document.createElement("canvas"),ae=ce.getContext("2d")}catch(Se){return-1}return me=function(Ce){var Ie;return ae.width=Ce.width,ae.height=Ce.height,ae.clearRect(0,0,Ce.width,Ce.height),ae.putImageData(Ce,0,0),(Ie=new Image).src=ce.toDataURL(),Ie},de.prototype.decodeFrames=function(Se){var Ce,Ie,Te,Ee,He,st,vt,ee;if(this.animation){for(ee=[],Ie=He=0,st=(vt=this.animation.frames).length;He<st;Ie=++He)Ce=vt[Ie],Te=Se.createImageData(Ce.width,Ce.height),Ee=this.decodePixels(new Uint8Array(Ce.data)),this.copyToImageData(Te,Ee),Ce.imageData=Te,ee.push(Ce.image=me(Te));return ee}},de.prototype.renderFrame=function(Se,Ce){var Ie,Te,Ee;return Ie=(Te=this.animation.frames)[Ce],Ee=Te[Ce-1],Ce===0&&Se.clearRect(0,0,this.width,this.height),(Ee!=null?Ee.disposeOp:void 0)===1?Se.clearRect(Ee.xOffset,Ee.yOffset,Ee.width,Ee.height):(Ee!=null?Ee.disposeOp:void 0)===2&&Se.putImageData(Ee.imageData,Ee.xOffset,Ee.yOffset),Ie.blendOp===0&&Se.clearRect(Ie.xOffset,Ie.yOffset,Ie.width,Ie.height),Se.drawImage(Ie.image,Ie.xOffset,Ie.yOffset)},de.prototype.animate=function(Se){var Ce,Ie,Te,Ee,He,st,vt=this;return Ie=0,st=this.animation,Ee=st.numFrames,Te=st.frames,He=st.numPlays,(Ce=function(){var oe,k;if(oe=Ie++%Ee,k=Te[oe],vt.renderFrame(Se,oe),1<Ee&&Ie/Ee<He)return vt.animation._timeout=setTimeout(Ce,k.delay)})()},de.prototype.stopAnimation=function(){var Se;return clearTimeout((Se=this.animation)!=null?Se._timeout:void 0)},de.prototype.render=function(Se){var Ce,Ie;return Se._png&&Se._png.stopAnimation(),Se._png=this,Se.width=this.width,Se.height=this.height,Ce=Se.getContext("2d"),this.animation?(this.decodeFrames(Ce),this.animate(Ce)):(Ie=Ce.createImageData(this.width,this.height),this.copyToImageData(Ie,this.decodePixels()),Ce.putImageData(Ie,0,0))},de}(),_e.PNG=je;var Kt=function(){function me(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return me.prototype={ensureBuffer:function(ae){var de=this.buffer,Se=de?de.byteLength:0;if(ae<Se)return de;for(var Ce=512;Ce<ae;)Ce<<=1;for(var Ie=new Uint8Array(Ce),Te=0;Te<Se;++Te)Ie[Te]=de[Te];return this.buffer=Ie},getByte:function(){for(var ae=this.pos;this.bufferLength<=ae;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(ae){var de=this.pos;if(ae){this.ensureBuffer(de+ae);for(var Se=de+ae;!this.eof&&this.bufferLength<Se;)this.readBlock();var Ce=this.bufferLength;Ce<Se&&(Se=Ce)}else{for(;!this.eof;)this.readBlock();Se=this.bufferLength}return this.pos=Se,this.buffer.subarray(de,Se)},lookChar:function(){for(var ae=this.pos;this.bufferLength<=ae;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var ae=this.pos;this.bufferLength<=ae;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(ae,de,Se){for(var Ce=ae+de;this.bufferLength<=Ce&&!this.eof;)this.readBlock();return new Stream(this.buffer,ae,de,Se)},skip:function(ae){ae||(ae=1),this.pos+=ae},reset:function(){this.pos=0}},me}(),Mt=function(){if(typeof Uint32Array!="undefined"){var me=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ce=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),ae=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),de=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],Se=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(Ie.prototype=Object.create(Kt.prototype)).getBits=function(Te){for(var Ee,He=this.codeSize,st=this.codeBuf,vt=this.bytes,ee=this.bytesPos;He<Te;)(Ee=vt[ee++])===void 0&&Ce("Bad encoding in flate stream"),st|=Ee<<He,He+=8;return Ee=st&(1<<Te)-1,this.codeBuf=st>>Te,this.codeSize=He-=Te,this.bytesPos=ee,Ee},Ie.prototype.getCode=function(Te){for(var Ee=Te[0],He=Te[1],st=this.codeSize,vt=this.codeBuf,ee=this.bytes,oe=this.bytesPos;st<He;){var k;(k=ee[oe++])===void 0&&Ce("Bad encoding in flate stream"),vt|=k<<st,st+=8}var $=Ee[vt&(1<<He)-1],se=$>>16,ge=65535&$;return(st==0||st<se||se==0)&&Ce("Bad encoding in flate stream"),this.codeBuf=vt>>se,this.codeSize=st-se,this.bytesPos=oe,ge},Ie.prototype.generateHuffmanTable=function(Te){for(var Ee=Te.length,He=0,st=0;st<Ee;++st)Te[st]>He&&(He=Te[st]);for(var vt=1<<He,ee=new Uint32Array(vt),oe=1,k=0,$=2;oe<=He;++oe,k<<=1,$<<=1)for(var se=0;se<Ee;++se)if(Te[se]==oe){var ge=0,Ae=k;for(st=0;st<oe;++st)ge=ge<<1|1&Ae,Ae>>=1;for(st=ge;st<vt;st+=$)ee[st]=oe<<16|se;++k}return[ee,He]},Ie.prototype.readBlock=function(){function Te(We,tt,ft,Yt,Dt){for(var vr=We.getBits(ft)+Yt;0<vr--;)tt[$++]=Dt}var Ee=this.getBits(3);if(1&Ee&&(this.eof=!0),(Ee>>=1)!=0){var He,st;if(Ee==1)He=de,st=Se;else if(Ee==2){for(var vt=this.getBits(5)+257,ee=this.getBits(5)+1,oe=this.getBits(4)+4,k=Array(me.length),$=0;$<oe;)k[me[$++]]=this.getBits(3);for(var se=this.generateHuffmanTable(k),ge=0,Ae=($=0,vt+ee),Me=new Array(Ae);$<Ae;){var et=this.getCode(se);et==16?Te(this,Me,2,3,ge):et==17?Te(this,Me,3,3,ge=0):et==18?Te(this,Me,7,11,ge=0):Me[$++]=ge=et}He=this.generateHuffmanTable(Me.slice(0,vt)),st=this.generateHuffmanTable(Me.slice(vt,Ae))}else Ce("Unknown block type in flate stream");for(var Wt=(ct=this.buffer)?ct.length:0,er=this.bufferLength;;){var Ct=this.getCode(He);if(Ct<256)Wt<=er+1&&(Wt=(ct=this.ensureBuffer(er+1)).length),ct[er++]=Ct;else{if(Ct==256)return void(this.bufferLength=er);var Ht=(Ct=ce[Ct-=257])>>16;0<Ht&&(Ht=this.getBits(Ht)),ge=(65535&Ct)+Ht,Ct=this.getCode(st),0<(Ht=(Ct=ae[Ct])>>16)&&(Ht=this.getBits(Ht));var kt=(65535&Ct)+Ht;Wt<=er+ge&&(Wt=(ct=this.ensureBuffer(er+ge)).length);for(var Zt=0;Zt<ge;++Zt,++er)ct[er]=ct[er-kt]}}}else{var Et,ur=this.bytes,rr=this.bytesPos;(Et=ur[rr++])===void 0&&Ce("Bad block header in flate stream");var Ke=Et;(Et=ur[rr++])===void 0&&Ce("Bad block header in flate stream"),Ke|=Et<<8,(Et=ur[rr++])===void 0&&Ce("Bad block header in flate stream");var nt=Et;(Et=ur[rr++])===void 0&&Ce("Bad block header in flate stream"),(nt|=Et<<8)!=(65535&~Ke)&&Ce("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var Ge=this.bufferLength,ct=this.ensureBuffer(Ge+Ke),ht=Ge+Ke;this.bufferLength=ht;for(var ut=Ge;ut<ht;++ut){if((Et=ur[rr++])===void 0){this.eof=!0;break}ct[ut]=Et}this.bytesPos=rr}},Ie}function Ce(Te){throw new Error(Te)}function Ie(Te){var Ee=0,He=Te[Ee++],st=Te[Ee++];He!=-1&&st!=-1||Ce("Invalid header in flate stream"),(15&He)!=8&&Ce("Unknown compression method in flate stream"),((He<<8)+st)%31!=0&&Ce("Bad FCHECK in flate stream"),32&st&&Ce("FDICT bit set in flate stream"),this.bytes=Te,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,Kt.call(this)}}();window.tmp=Mt});try{Z.exports=jsPDF}catch(m){}}).call(this,e("UywP"))},GxEp:function(Z,_,e){var d=e("G8fk"),L=d([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),v={getBarItemStyle:function(m){var y=L(this,m);if(this.getBorderLineDash){var w=this.getBorderLineDash();w&&(y.lineDash=w)}return y}};Z.exports=v},Gz2F:function(Z,_,e){var d=e("BQia"),L=d.parseSVG,v=d.makeViewBoxTransform,m=e("TmiR"),y=e("7JZK"),w=e("oEo5"),f=w.assert,a=w.createHashMap,t=e("ie0D"),o=e("QV7q"),s=o.makeInner,l=s(),n={load:function(r,u){var i=l(u).originRoot;if(i)return{root:i,boundingRect:l(u).boundingRect};var h=c(u);return l(u).originRoot=h.root,l(u).boundingRect=h.boundingRect,h},makeGraphic:function(r,u,i){var h=l(u),p=h.rootMap||(h.rootMap=a()),A=p.get(i);if(A)return A;var C=h.originRoot,S=h.boundingRect;return h.originRootHostKey?A=c(u,S).root:(h.originRootHostKey=i,A=C),p.set(i,A)},removeGraphic:function(r,u,i){var h=l(u),p=h.rootMap;p&&p.removeKey(i),i===h.originRootHostKey&&(h.originRootHostKey=null)}};function c(r,u){var i=r.svgXML,h,p;try{h=i&&L(i,{ignoreViewBox:!0,ignoreRootClip:!0})||{},p=h.root,f(p!=null)}catch(T){throw new Error(`Invalid svg format
|
||
`+T.message)}var A=h.width,C=h.height,S=h.viewBoxRect;if(u||(u=A==null||C==null?p.getBoundingRect():new t(0,0,0,0),A!=null&&(u.width=A),C!=null&&(u.height=C)),S){var E=v(S,u.width,u.height),O=p;p=new m,p.add(O),O.scale=E.scale,O.position=E.position}return p.setClipPath(new y({shape:u.plain()})),{root:p,boundingRect:u}}Z.exports=n},Gzv8:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="PoweroffOutlined";var w=_.a=d.forwardRef(y)},H0e6:function(Z,_,e){var d=e("hmv6");function L(){this.__data__=d?d(null):{},this.size=0}Z.exports=L},H1MY:function(Z,_,e){var d=e("oEo5"),L=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function v(y){d.each(L,function(w){this[w]=d.bind(y[w],y)},this)}var m=v;Z.exports=m},H3Ql:function(Z,_){function e(d){var L=-1,v=Array(d.size);return d.forEach(function(m){v[++L]=m}),v}Z.exports=e},H9gS:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};_.default=d},HGue:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("XDlA"),w=e.n(y),f=e("T5E4"),a=e.n(f),t=e("8ULG"),o=e.n(t),s=e("XneU"),l=e.n(s),n=e("Hdxz"),c=e.n(n),r=e("ZZRV"),u=e("J04M"),i=e("QGNe"),h=e.n(i),p=e("ggzp"),A=e("qAA0"),C=e.n(A);function S(ae,de){if(ae===de)return!0;if(!ae||!de)return!1;var Se=ae.length;if(de.length!==Se)return!1;for(var Ce=0;Ce<Se;Ce++)if(ae[Ce]!==de[Ce])return!1;return!0}function E(ae){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(Se){return typeof Se}:E=function(Se){return Se&&typeof Symbol=="function"&&Se.constructor===Symbol&&Se!==Symbol.prototype?"symbol":typeof Se},E(ae)}function O(ae,de){if(!(ae instanceof de))throw new TypeError("Cannot call a class as a function")}function T(ae,de){for(var Se=0;Se<de.length;Se++){var Ce=de[Se];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(ae,Ce.key,Ce)}}function b(ae,de,Se){return de&&T(ae.prototype,de),Se&&T(ae,Se),ae}function x(ae,de){if(typeof de!="function"&&de!==null)throw new TypeError("Super expression must either be null or a function");ae.prototype=Object.create(de&&de.prototype,{constructor:{value:ae,writable:!0,configurable:!0}}),de&&N(ae,de)}function N(ae,de){return N=Object.setPrototypeOf||function(Ce,Ie){return Ce.__proto__=Ie,Ce},N(ae,de)}function D(ae){var de=F();return function(){var Se=B(ae),Ce;if(de){var Ie=B(this).constructor;Ce=Reflect.construct(Se,arguments,Ie)}else Ce=Se.apply(this,arguments);return M(this,Ce)}}function M(ae,de){return de&&(E(de)==="object"||typeof de=="function")?de:R(ae)}function R(ae){if(ae===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ae}function F(){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(ae){return!1}}function B(ae){return B=Object.setPrototypeOf?Object.getPrototypeOf:function(Se){return Se.__proto__||Object.getPrototypeOf(Se)},B(ae)}var z=function(){var ae=function(de){x(Ce,de);var Se=D(Ce);function Ce(){var Ie;return O(this,Ce),Ie=Se.apply(this,arguments),Ie.menuItems={},Ie.saveMenuItem=function(Te){return function(Ee){Ie.menuItems[Te]=Ee}},Ie}return b(Ce,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(Te){!Te.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(Te){var Ee=this.props,He=Ee.fieldNames,st=Ee.defaultFieldNames;return He[Te]||st[Te]}},{key:"getOption",value:function(Te,Ee){var He=this.props,st=He.prefixCls,vt=He.expandTrigger,ee=He.expandIcon,oe=He.loadingIcon,k=this.props.onSelect.bind(this,Te,Ee),$=this.props.onItemDoubleClick.bind(this,Te,Ee),se={onClick:k,onDoubleClick:$},ge="".concat(st,"-menu-item"),Ae=null,Me=Te[this.getFieldName("children")]&&Te[this.getFieldName("children")].length>0;(Me||Te.isLeaf===!1)&&(ge+=" ".concat(st,"-menu-item-expand"),Te.loading||(Ae=r.createElement("span",{className:"".concat(st,"-menu-item-expand-icon")},ee))),vt==="hover"&&(Me||Te.isLeaf===!1)&&(se={onMouseEnter:this.delayOnSelect.bind(this,k),onMouseLeave:this.delayOnSelect.bind(this),onClick:k}),this.isActiveOption(Te,Ee)&&(ge+=" ".concat(st,"-menu-item-active"),se.ref=this.saveMenuItem(Ee)),Te.disabled&&(ge+=" ".concat(st,"-menu-item-disabled"));var et=null;Te.loading&&(ge+=" ".concat(st,"-menu-item-loading"),et=oe||null);var Wt="";return"title"in Te?Wt=Te.title:typeof Te[this.getFieldName("label")]=="string"&&(Wt=Te[this.getFieldName("label")]),r.createElement("li",Object.assign({key:Te[this.getFieldName("value")],className:ge,title:Wt},se,{role:"menuitem",onMouseDown:function(Ct){return Ct.preventDefault()}}),Te[this.getFieldName("label")],Ae,et)}},{key:"getActiveOptions",value:function(Te){var Ee=this,He=this.props.options,st=Te||this.props.activeValue;return C()(He,function(vt,ee){return vt[Ee.getFieldName("value")]===st[ee]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var Te=this,Ee=this.props.options,He=this.getActiveOptions().map(function(st){return st[Te.getFieldName("children")]}).filter(function(st){return!!st});return He.unshift(Ee),He}},{key:"delayOnSelect",value:function(Te){for(var Ee=this,He=arguments.length,st=new Array(He>1?He-1:0),vt=1;vt<He;vt++)st[vt-1]=arguments[vt];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof Te=="function"&&(this.delayTimer=window.setTimeout(function(){Te(st),Ee.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var Te=this.getShowOptions().length,Ee=0;Ee<Te;Ee++){var He=this.menuItems[Ee];He&&He.parentElement&&(He.parentElement.scrollTop=He.offsetTop)}}},{key:"isActiveOption",value:function(Te,Ee){var He=this.props.activeValue,st=He===void 0?[]:He;return st[Ee]===Te[this.getFieldName("value")]}},{key:"render",value:function(){var Te=this,Ee=this.props,He=Ee.prefixCls,st=Ee.dropdownMenuColumnStyle;return r.createElement("div",null,this.getShowOptions().map(function(vt,ee){return r.createElement("ul",{className:"".concat(He,"-menu"),key:ee,style:st},vt.map(function(oe){return Te.getOption(oe,ee)}))}))}}]),Ce}(r.Component);return ae.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},ae}(),U=z,K={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},W=K;function H(ae){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?H=function(Se){return typeof Se}:H=function(Se){return Se&&typeof Symbol=="function"&&Se.constructor===Symbol&&Se!==Symbol.prototype?"symbol":typeof Se},H(ae)}function Y(ae,de){if(ae==null)return{};var Se=Q(ae,de),Ce,Ie;if(Object.getOwnPropertySymbols){var Te=Object.getOwnPropertySymbols(ae);for(Ie=0;Ie<Te.length;Ie++){if(Ce=Te[Ie],de.indexOf(Ce)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(ae,Ce))continue;Se[Ce]=ae[Ce]}}return Se}function Q(ae,de){if(ae==null)return{};var Se={},Ce=Object.keys(ae),Ie,Te;for(Te=0;Te<Ce.length;Te++){if(Ie=Ce[Te],de.indexOf(Ie)>=0)continue;Se[Ie]=ae[Ie]}return Se}function P(ae){return te(ae)||he(ae)||J(ae)||G()}function G(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function J(ae,de){if(!ae)return;if(typeof ae=="string")return pe(ae,de);var Se=Object.prototype.toString.call(ae).slice(8,-1);if(Se==="Object"&&ae.constructor&&(Se=ae.constructor.name),Se==="Map"||Se==="Set")return Array.from(ae);if(Se==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Se))return pe(ae,de)}function he(ae){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(ae))return Array.from(ae)}function te(ae){if(Array.isArray(ae))return pe(ae)}function pe(ae,de){(de==null||de>ae.length)&&(de=ae.length);for(var Se=0,Ce=new Array(de);Se<de;Se++)Ce[Se]=ae[Se];return Ce}function we(ae,de){if(!(ae instanceof de))throw new TypeError("Cannot call a class as a function")}function be(ae,de){for(var Se=0;Se<de.length;Se++){var Ce=de[Se];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(ae,Ce.key,Ce)}}function Qe(ae,de,Se){return de&&be(ae.prototype,de),Se&&be(ae,Se),ae}function $e(ae,de){if(typeof de!="function"&&de!==null)throw new TypeError("Super expression must either be null or a function");ae.prototype=Object.create(de&&de.prototype,{constructor:{value:ae,writable:!0,configurable:!0}}),de&&yt(ae,de)}function yt(ae,de){return yt=Object.setPrototypeOf||function(Ce,Ie){return Ce.__proto__=Ie,Ce},yt(ae,de)}function Fe(ae){var de=it();return function(){var Se=qe(ae),Ce;if(de){var Ie=qe(this).constructor;Ce=Reflect.construct(Se,arguments,Ie)}else Ce=Se.apply(this,arguments);return Pe(this,Ce)}}function Pe(ae,de){return de&&(H(de)==="object"||typeof de=="function")?de:gt(ae)}function gt(ae){if(ae===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ae}function it(){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(ae){return!1}}function qe(ae){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(Se){return Se.__proto__||Object.getPrototypeOf(Se)},qe(ae)}var At=function(){var ae=function(de){$e(Ce,de);var Se=Fe(Ce);function Ce(Ie){var Te;we(this,Ce),Te=Se.call(this,Ie),Te.setPopupVisible=function(He){var st=Te.state.value;"popupVisible"in Te.props||Te.setState({popupVisible:He}),He&&!Te.state.popupVisible&&Te.setState({activeValue:st}),Te.props.onPopupVisibleChange(He)},Te.handleChange=function(He,st,vt){var ee=st.visible;(vt.type!=="keydown"||vt.keyCode===p.a.ENTER)&&(Te.props.onChange(He.map(function(oe){return oe[Te.getFieldName("value")]}),He),Te.setPopupVisible(ee))},Te.handlePopupVisibleChange=function(He){Te.setPopupVisible(He)},Te.handleMenuSelect=function(He,st,vt){var ee=Te.trigger.getRootDomNode();ee&&ee.focus&&ee.focus();var oe=Te.props,k=oe.changeOnSelect,$=oe.loadData,se=oe.expandTrigger;if(!He||He.disabled)return;var ge=Te.state.activeValue;ge=ge.slice(0,st+1),ge[st]=He[Te.getFieldName("value")];var Ae=Te.getActiveOptions(ge);if(He.isLeaf===!1&&!He[Te.getFieldName("children")]&&$){k&&Te.handleChange(Ae,{visible:!0},vt),Te.setState({activeValue:ge}),$(Ae);return}var Me={};!He[Te.getFieldName("children")]||!He[Te.getFieldName("children")].length?(Te.handleChange(Ae,{visible:!1},vt),Me.value=ge):k&&(vt.type==="click"||vt.type==="keydown")&&(se==="hover"?Te.handleChange(Ae,{visible:!1},vt):Te.handleChange(Ae,{visible:!0},vt),Me.value=ge),Me.activeValue=ge,("value"in Te.props||vt.type==="keydown"&&vt.keyCode!==p.a.ENTER)&&delete Me.value,Te.setState(Me)},Te.handleItemDoubleClick=function(){var He=Te.props.changeOnSelect;He&&Te.setPopupVisible(!1)},Te.handleKeyDown=function(He){var st=Te.props.children;if(st&&st.props.onKeyDown){st.props.onKeyDown(He);return}var vt=P(Te.state.activeValue),ee=vt.length-1<0?0:vt.length-1,oe=Te.getCurrentLevelOptions(),k=oe.map(function(Ae){return Ae[Te.getFieldName("value")]}).indexOf(vt[ee]);if(He.keyCode!==p.a.DOWN&&He.keyCode!==p.a.UP&&He.keyCode!==p.a.LEFT&&He.keyCode!==p.a.RIGHT&&He.keyCode!==p.a.ENTER&&He.keyCode!==p.a.SPACE&&He.keyCode!==p.a.BACKSPACE&&He.keyCode!==p.a.ESC&&He.keyCode!==p.a.TAB)return;if(!Te.state.popupVisible&&He.keyCode!==p.a.BACKSPACE&&He.keyCode!==p.a.LEFT&&He.keyCode!==p.a.RIGHT&&He.keyCode!==p.a.ESC&&He.keyCode!==p.a.TAB){Te.setPopupVisible(!0);return}if(He.keyCode===p.a.DOWN||He.keyCode===p.a.UP){He.preventDefault();var $=k;$!==-1?He.keyCode===p.a.DOWN?($+=1,$=$>=oe.length?0:$):($-=1,$=$<0?oe.length-1:$):$=0,vt[ee]=oe[$][Te.getFieldName("value")]}else if(He.keyCode===p.a.LEFT||He.keyCode===p.a.BACKSPACE)He.preventDefault(),vt.splice(vt.length-1,1);else if(He.keyCode===p.a.RIGHT)He.preventDefault(),oe[k]&&oe[k][Te.getFieldName("children")]&&vt.push(oe[k][Te.getFieldName("children")][0][Te.getFieldName("value")]);else if(He.keyCode===p.a.ESC||He.keyCode===p.a.TAB){Te.setPopupVisible(!1);return}(!vt||vt.length===0)&&Te.setPopupVisible(!1);var se=Te.getActiveOptions(vt),ge=se[se.length-1];Te.handleMenuSelect(ge,se.length-1,He),Te.props.onKeyDown&&Te.props.onKeyDown(He)},Te.saveTrigger=function(He){Te.trigger=He};var Ee=[];return"value"in Ie?Ee=Ie.value||[]:"defaultValue"in Ie&&(Ee=Ie.defaultValue||[]),h()(!("filedNames"in Ie),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),Te.state={popupVisible:Ie.popupVisible,activeValue:Ee,value:Ee,prevProps:Ie},Te.defaultFieldNames={label:"label",value:"value",children:"children"},Te}return Qe(Ce,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(Te){var Ee=this.defaultFieldNames,He=this.props,st=He.fieldNames,vt=He.filedNames;return"filedNames"in this.props?vt[Te]||Ee[Te]:st[Te]||Ee[Te]}},{key:"getFieldNames",value:function(){var Te=this.props,Ee=Te.fieldNames,He=Te.filedNames;return"filedNames"in this.props?He:Ee}},{key:"getCurrentLevelOptions",value:function(){var Te=this,Ee=this.props.options,He=Ee===void 0?[]:Ee,st=this.state.activeValue,vt=st===void 0?[]:st,ee=C()(He,function(oe,k){return oe[Te.getFieldName("value")]===vt[k]},{childrenKeyName:this.getFieldName("children")});return ee[ee.length-2]?ee[ee.length-2][this.getFieldName("children")]:P(He).filter(function(oe){return!oe.disabled})}},{key:"getActiveOptions",value:function(Te){var Ee=this;return C()(this.props.options||[],function(He,st){return He[Ee.getFieldName("value")]===Te[st]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var Te=this.props,Ee=Te.prefixCls,He=Te.transitionName,st=Te.popupClassName,vt=Te.options,ee=vt===void 0?[]:vt,oe=Te.disabled,k=Te.builtinPlacements,$=Te.popupPlacement,se=Te.children,ge=Te.dropdownRender,Ae=Y(Te,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),Me=r.createElement("div",null),et="";ee&&ee.length>0?Me=r.createElement(U,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):et=" ".concat(Ee,"-menus-empty");var Wt=Me;return ge&&(Wt=ge(Me)),r.createElement(u.a,Object.assign({ref:this.saveTrigger},Ae,{popupPlacement:$,builtinPlacements:k,popupTransitionName:He,action:oe?[]:["click"],popupVisible:oe?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Ee,"-menus"),popupClassName:st+et,popup:Wt}),r.cloneElement(se,{onKeyDown:this.handleKeyDown,tabIndex:oe?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(Te,Ee){var He=Ee.prevProps,st=He===void 0?{}:He,vt={prevProps:Te};return"value"in Te&&!S(st.value,Te.value)&&(vt.value=Te.value||[],"loadData"in Te||(vt.activeValue=Te.value||[])),"popupVisible"in Te&&(vt.popupVisible=Te.popupVisible),vt}}]),Ce}(r.Component);return ae.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:W,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},ae}(),dt=At,wt=dt,Ye=e("iczh"),mt=e.n(Ye),Ue=e("3CTf"),Re=e("4ZCI"),Le=e.n(Re),at=e("QJYX"),Ot=e.n(at),Tt=e("kbon"),Ft=e.n(Tt),ke=e("wHB0"),Vt=e.n(ke),bt=e("BEiB"),Rt=e.n(bt),Nt=e("CRgH"),xt=e("LpVx"),Ut=e("CfwS"),Ze=e("b5WB"),ze=e("WHP3"),re=e("nSZG"),le=function(ae,de){var Se={};for(var Ce in ae)Object.prototype.hasOwnProperty.call(ae,Ce)&&de.indexOf(Ce)<0&&(Se[Ce]=ae[Ce]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Ce=Object.getOwnPropertySymbols(ae);Ie<Ce.length;Ie++)de.indexOf(Ce[Ie])<0&&Object.prototype.propertyIsEnumerable.call(ae,Ce[Ie])&&(Se[Ce[Ie]]=ae[Ce[Ie]]);return Se},Xe=50;function _e(ae,de,Se){return ae.split(de).map(function(Ce,Ie){return Ie===0?Ce:[r.createElement("span",{className:"".concat(Se,"-menu-item-keyword"),key:"seperator"},de),Ce]})}function je(ae,de,Se){return de.some(function(Ce){return Ce[Se.label].indexOf(ae)>-1})}function ar(ae,de,Se,Ce){return de.map(function(Ie,Te){var Ee=Ie[Ce.label],He=Ee.indexOf(ae)>-1?_e(Ee,ae,Se):Ee;return Te===0?He:[" / ",He]})}function zt(ae,de,Se,Ce){function Ie(Te){return Te[Ce.label].indexOf(Se)>-1}return ae.findIndex(Ie)-de.findIndex(Ie)}function Pt(ae){var de=ae.fieldNames;return de}function qt(ae){var de=Pt(ae)||{},Se={children:de.children||"children",label:de.label||"label",value:de.value||"value"};return Se}function or(ae,de){var Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ce=qt(de),Ie=[],Te=Ce.children;return ae.forEach(function(Ee){var He=Se.concat(Ee);(de.changeOnSelect||!Ee[Te]||!Ee[Te].length)&&Ie.push(He),Ee[Te]&&(Ie=Ie.concat(or(Ee[Te],de,He)))}),Ie}var Kt=function(de){return de.join(" / ")};function Mt(ae){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(ae||[]).forEach(function(Se){var Ce=de.value||"value";Object(Ze.a)(Ce in Se,"Cascader","Not found `value` in `options`."),Mt(Se[de.children||"children"],de)})}var me=function(ae){l()(Se,ae);var de=c()(Se);function Se(Ce){var Ie;return w()(this,Se),Ie=de.call(this,Ce),Ie.cachedOptions=[],Ie.setValue=function(Te){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Ie.props||Ie.setState({value:Te});var He=Ie.props.onChange;He&&He(Te,Ee)},Ie.saveInput=function(Te){Ie.input=Te},Ie.handleChange=function(Te,Ee){if(Ie.setState({inputValue:""}),Ee[0].__IS_FILTERED_OPTION){var He=Te[0],st=Ee[0].path;Ie.setValue(He,st);return}Ie.setValue(Te,Ee)},Ie.handlePopupVisibleChange=function(Te){"popupVisible"in Ie.props||Ie.setState(function(He){return{popupVisible:Te,inputFocused:Te,inputValue:Te?He.inputValue:""}});var Ee=Ie.props.onPopupVisibleChange;Ee&&Ee(Te)},Ie.handleInputBlur=function(){Ie.setState({inputFocused:!1})},Ie.handleInputClick=function(Te){var Ee=Ie.state,He=Ee.inputFocused,st=Ee.popupVisible;(He||st)&&Te.stopPropagation()},Ie.handleKeyDown=function(Te){(Te.keyCode===p.a.BACKSPACE||Te.keyCode===p.a.SPACE)&&Te.stopPropagation()},Ie.handleInputChange=function(Te){var Ee=Ie.state.popupVisible,He=Te.target.value;Ee||Ie.handlePopupVisibleChange(!0),Ie.setState({inputValue:He})},Ie.clearSelection=function(Te){var Ee=Ie.state.inputValue;Te.preventDefault(),Te.stopPropagation(),Ee?Ie.setState({inputValue:""}):(Ie.handlePopupVisibleChange(!1),Ie.clearSelectionTimeout=setTimeout(function(){Ie.setValue([])},200))},Ie.renderCascader=function(Te,Ee){var He=Te.getPopupContainer,st=Te.getPrefixCls,vt=Te.renderEmpty,ee=Te.direction;return r.createElement(ze.b.Consumer,null,function(oe){var k,$,se,ge,Ae=o()(Ie),Me=Ae.props,et=Ae.state,Wt=Me.prefixCls,er=Me.inputPrefixCls,Ct=Me.children,Ht=Me.placeholder,kt=Ht===void 0?Ee.placeholder||"Please select":Ht,Zt=Me.size,Et=Me.disabled,ur=Me.className,rr=Me.style,Ke=Me.allowClear,nt=Me.showSearch,Ge=nt===void 0?!1:nt,ct=Me.suffixIcon,ht=Me.expandIcon,ut=Me.notFoundContent,We=Me.popupClassName,tt=Me.bordered,ft=Me.dropdownRender,Yt=le(Me,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Dt=Zt||oe,vr=et.value,yr=et.inputFocused,Dr=ee==="rtl",Rr=st("cascader",Wt),Jr=st("input",er),$r=mt()((k={},m()(k,"".concat(Jr,"-lg"),Dt==="large"),m()(k,"".concat(Jr,"-sm"),Dt==="small"),k)),xr=Ke&&!Et&&vr.length>0||et.inputValue?r.createElement(Le.a,{className:"".concat(Rr,"-picker-clear"),onClick:Ie.clearSelection}):null,Vr=mt()(($={},m()($,"".concat(Rr,"-picker-arrow"),!0),m()($,"".concat(Rr,"-picker-arrow-expand"),et.popupVisible),$)),Or=mt()(ur,"".concat(Rr,"-picker"),(se={},m()(se,"".concat(Rr,"-picker-rtl"),Dr),m()(se,"".concat(Rr,"-picker-with-value"),et.inputValue),m()(se,"".concat(Rr,"-picker-disabled"),Et),m()(se,"".concat(Rr,"-picker-").concat(Dt),!!Dt),m()(se,"".concat(Rr,"-picker-show-search"),!!Ge),m()(se,"".concat(Rr,"-picker-focused"),yr),m()(se,"".concat(Rr,"-picker-borderless"),!tt),se)),nr=Object(Ue.default)(Yt,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),pr=Me.options,dr=qt(Ie.props);if(pr&&pr.length>0)et.inputValue&&(pr=Ie.generateFilteredOptions(Rr,vt));else{var fr;pr=[(fr={},m()(fr,dr.label,ut||vt("Cascader")),m()(fr,dr.value,"ANT_CASCADER_NOT_FOUND"),fr)]}et.popupVisible?Ie.cachedOptions=pr:pr=Ie.cachedOptions;var _r={},Zr=(pr||[]).length===1&&pr[0].isEmptyNode;Zr&&(_r.height="auto");var on=Ge.matchInputWidth!==!1;on&&(et.inputValue||Zr)&&Ie.input&&(_r.width=Ie.input.input.offsetWidth);var jn;ct?jn=Object(re.c)(ct,r.createElement("span",{className:"".concat(Rr,"-picker-arrow")},ct),function(){var ui;return{className:mt()((ui={},m()(ui,ct.props.className,ct.props.className),m()(ui,"".concat(Rr,"-picker-arrow"),!0),ui))}}):jn=r.createElement(Ot.a,{className:Vr});var Ur=Ct||r.createElement("span",{style:rr,className:Or},r.createElement("span",{className:"".concat(Rr,"-picker-label")},Ie.getLabel()),r.createElement(Nt.a,L()({},nr,{tabIndex:"-1",ref:Ie.saveInput,prefixCls:Jr,placeholder:vr&&vr.length>0?void 0:kt,className:"".concat(Rr,"-input ").concat($r),value:et.inputValue,disabled:Et,readOnly:!Ge,autoComplete:nr.autoComplete||"off",onClick:Ge?Ie.handleInputClick:void 0,onBlur:Ge?Ie.handleInputBlur:void 0,onKeyDown:Ie.handleKeyDown,onChange:Ge?Ie.handleInputChange:void 0})),xr,jn),En;ht?En=ht:En=Dr?r.createElement(Rt.a,null):r.createElement(Ft.a,null);var pn=r.createElement("span",{className:"".concat(Rr,"-menu-item-loading-icon")},r.createElement(Vt.a,{spin:!0})),On=Me.getPopupContainer||He,Vn=Object(Ue.default)(Me,["inputIcon","expandIcon","loadingIcon","bordered"]),Nn=mt()(We,(ge={},m()(ge,"".concat(Rr,"-menu-").concat(ee),ee==="rtl"),m()(ge,"".concat(Rr,"-menu-empty"),pr.length===1&&pr[0].value==="ANT_CASCADER_NOT_FOUND"),ge));return r.createElement(wt,L()({},Vn,{prefixCls:Rr,getPopupContainer:On,options:pr,value:vr,popupVisible:et.popupVisible,onPopupVisibleChange:Ie.handlePopupVisibleChange,onChange:Ie.handleChange,dropdownMenuColumnStyle:_r,expandIcon:En,loadingIcon:pn,popupClassName:Nn,popupPlacement:Ie.getPopupPlacement(ee),dropdownRender:ft}),Ur)})},Ie.state={value:Ce.value||Ce.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:Ce.popupVisible,flattenOptions:Ce.showSearch?or(Ce.options,Ce):void 0,prevProps:Ce},Ie}return a()(Se,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Ie=this.props,Te=Ie.options,Ee=Ie.displayRender,He=Ee===void 0?Kt:Ee,st=qt(this.props),vt=this.state.value,ee=Array.isArray(vt[0])?vt[0]:vt,oe=C()(Te,function($,se){return $[st.value]===ee[se]},{childrenKeyName:st.children}),k=oe.length?oe.map(function($){return $[st.label]}):vt;return He(k,oe)}},{key:"generateFilteredOptions",value:function(Ie,Te){var Ee=this,He,st=this.props,vt=st.showSearch,ee=st.notFoundContent,oe=qt(this.props),k=vt.filter,$=k===void 0?je:k,se=vt.render,ge=se===void 0?ar:se,Ae=vt.sort,Me=Ae===void 0?zt:Ae,et=vt.limit,Wt=et===void 0?Xe:et,er=this.state,Ct=er.flattenOptions,Ht=Ct===void 0?[]:Ct,kt=er.inputValue,Zt;if(Wt>0){Zt=[];var Et=0;Ht.some(function(ur){var rr=$(Ee.state.inputValue,ur,oe);return rr&&(Zt.push(ur),Et+=1),Et>=Wt})}else Object(Ze.a)(typeof Wt!="number","Cascader","'limit' of showSearch should be positive number or false."),Zt=Ht.filter(function(ur){return $(Ee.state.inputValue,ur,oe)});return Zt=Zt.sort(function(ur,rr){return Me(ur,rr,kt,oe)}),Zt.length>0?Zt.map(function(ur){var rr;return rr={__IS_FILTERED_OPTION:!0,path:ur},m()(rr,oe.value,ur.map(function(Ke){return Ke[oe.value]})),m()(rr,oe.label,ge(kt,ur,Ie,oe)),m()(rr,"disabled",ur.some(function(Ke){return!!Ke.disabled})),m()(rr,"isEmptyNode",!0),rr}):[(He={},m()(He,oe.value,"ANT_CASCADER_NOT_FOUND"),m()(He,oe.label,ee||Te("Cascader")),m()(He,"disabled",!0),m()(He,"isEmptyNode",!0),He)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",Te=this.props.popupPlacement;return Te!==void 0?Te:Ie==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Ie=this;return r.createElement(xt.a,null,function(Te){return r.createElement(Ut.a,null,function(Ee){return Ie.renderCascader(Te,Ee)})})}}],[{key:"getDerivedStateFromProps",value:function(Ie,Te){var Ee=Te.prevProps,He={prevProps:Ie};return"value"in Ie&&(He.value=Ie.value||[]),"popupVisible"in Ie&&(He.popupVisible=Ie.popupVisible),Ie.showSearch&&Ee.options!==Ie.options&&(He.flattenOptions=or(Ie.options,Ie)),He}}]),Se}(r.Component);me.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var ce=_.a=me},HJxf:function(Z,_,e){var d=e("mCIU"),L=e("l5Eb"),v=e("SSN4"),m="[object Arguments]",y="[object Array]",w="[object Boolean]",f="[object Date]",a="[object Error]",t="[object Function]",o="[object Map]",s="[object Number]",l="[object Object]",n="[object RegExp]",c="[object Set]",r="[object String]",u="[object WeakMap]",i="[object ArrayBuffer]",h="[object DataView]",p="[object Float32Array]",A="[object Float64Array]",C="[object Int8Array]",S="[object Int16Array]",E="[object Int32Array]",O="[object Uint8Array]",T="[object Uint8ClampedArray]",b="[object Uint16Array]",x="[object Uint32Array]",N={};N[p]=N[A]=N[C]=N[S]=N[E]=N[O]=N[T]=N[b]=N[x]=!0,N[m]=N[y]=N[i]=N[w]=N[h]=N[f]=N[a]=N[t]=N[o]=N[s]=N[l]=N[n]=N[c]=N[r]=N[u]=!1;function D(M){return v(M)&&L(M.length)&&!!N[d(M)]}Z.exports=D},HKLK:function(Z,_,e){var d=e("oEo5"),L=d.each,v=e("Cn6K"),m=v.simpleLayout,y=v.simpleLayoutEdge;function w(f,a){f.eachSeriesByType("graph",function(t){var o=t.get("layout"),s=t.coordinateSystem;if(s&&s.type!=="view"){var l=t.getData(),n=[];L(s.dimensions,function(p){n=n.concat(l.mapDimension(p,!0))});for(var c=0;c<l.count();c++){for(var r=[],u=!1,i=0;i<n.length;i++){var h=l.get(n[i],c);isNaN(h)||(u=!0),r.push(h)}u?l.setItemLayout(c,s.dataToPoint(r)):l.setItemLayout(c,[NaN,NaN])}y(l.graph,t)}else(!o||o==="none")&&m(t)})}Z.exports=w},HMKB:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:function(v,m){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:m}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:v}}]}},name:"file",theme:"twotone"};_.default=d},HNeu:function(Z,_,e){},HOv7:function(Z,_,e){"use strict";e.d(_,"e",function(){return Nt}),e.d(_,"b",function(){return ae}),e.d(_,"d",function(){return ae}),e.d(_,"c",function(){return Se}),e.d(_,"a",function(){return Ie});var d=e("55MS"),L=e("FGJx"),v=e("o0AO"),m=e("udBW"),y=e("uwZC"),w=e("lpH6"),f=e("ZZRV"),a=function(){var Ee=function(st,vt){return Ee=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,oe){ee.__proto__=oe}||function(ee,oe){for(var k in oe)oe.hasOwnProperty(k)&&(ee[k]=oe[k])},Ee(st,vt)};return function(He,st){Ee(He,st);function vt(){this.constructor=He}He.prototype=st===null?Object.create(st):(vt.prototype=st.prototype,new vt)}}(),t=f.createContext(null),o=function(Ee){a(He,Ee);function He(){return Ee!==null&&Ee.apply(this,arguments)||this}return He.prototype.render=function(){return f.createElement(t.Provider,{value:this.props.store},this.props.children)},He}(f.Component),s=e("8CG2"),l=e.n(s),n=e("QIG3"),c=e.n(n),r=function(){var Ee=function(st,vt){return Ee=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,oe){ee.__proto__=oe}||function(ee,oe){for(var k in oe)oe.hasOwnProperty(k)&&(ee[k]=oe[k])},Ee(st,vt)};return function(He,st){Ee(He,st);function vt(){this.constructor=He}He.prototype=st===null?Object.create(st):(vt.prototype=st.prototype,new vt)}}(),u=function(){return u=Object.assign||function(Ee){for(var He,st=1,vt=arguments.length;st<vt;st++){He=arguments[st];for(var ee in He)Object.prototype.hasOwnProperty.call(He,ee)&&(Ee[ee]=He[ee])}return Ee},u.apply(this,arguments)};function i(Ee){return Ee.displayName||Ee.name||"Component"}var h=function(){return{}};function p(Ee,He){He===void 0&&(He={});var st=!!Ee,vt=Ee||h;return function(oe){var k=function(se){r(ge,se);function ge(Ae,Me){var et=se.call(this,Ae,Me)||this;return et.unsubscribe=null,et.handleChange=function(){if(!et.unsubscribe)return;var Wt=vt(et.store.getState(),et.props);et.setState({subscribed:Wt})},et.store=et.context,et.state={subscribed:vt(et.store.getState(),Ae),store:et.store,props:Ae},et}return ge.getDerivedStateFromProps=function(Ae,Me){return Ee&&Ee.length===2&&Ae!==Me.props?{subscribed:vt(Me.store.getState(),Ae),props:Ae}:{props:Ae}},ge.prototype.componentDidMount=function(){this.trySubscribe()},ge.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},ge.prototype.shouldComponentUpdate=function(Ae,Me){return!l()(this.props,Ae)||!l()(this.state.subscribed,Me.subscribed)},ge.prototype.trySubscribe=function(){st&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},ge.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},ge.prototype.render=function(){var Ae=u(u(u({},this.props),this.state.subscribed),{store:this.store});return f.createElement(oe,u({},Ae,{ref:this.props.miniStoreForwardedRef}))},ge.displayName="Connect("+i(oe)+")",ge.contextType=t,ge}(f.Component);if(He.forwardRef){var $=f.forwardRef(function(se,ge){return f.createElement(k,u({},se,{miniStoreForwardedRef:ge}))});return c()($,oe)}return c()(k,oe)}}var A=function(){return A=Object.assign||function(Ee){for(var He,st=1,vt=arguments.length;st<vt;st++){He=arguments[st];for(var ee in He)Object.prototype.hasOwnProperty.call(He,ee)&&(Ee[ee]=He[ee])}return Ee},A.apply(this,arguments)};function C(Ee){var He=Ee,st=[];function vt(k){He=A(A({},He),k);for(var $=0;$<st.length;$++)st[$]()}function ee(){return He}function oe(k){return st.push(k),function(){var se=st.indexOf(k);st.splice(se,1)}}return{setState:vt,getState:ee,subscribe:oe}}var S=e("3CTf"),E=e("1gHQ"),O=e("zjzt"),T=e("ggzp"),b=e("OFDr"),x=e("iczh"),N=e.n(x),D=e("9/lZ"),M=e("GZha"),R=/iPhone/i,F=/iPod/i,B=/iPad/i,z=/\bAndroid(?:.+)Mobile\b/i,U=/Android/i,K=/\bAndroid(?:.+)SD4930UR\b/i,W=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,H=/Windows Phone/i,Y=/\bWindows(?:.+)ARM\b/i,Q=/BlackBerry/i,P=/BB10/i,G=/Opera Mini/i,J=/\b(CriOS|Chrome)(?:.+)Mobile/i,he=/Mobile(?:.+)Firefox\b/i;function te(Ee,He){return Ee.test(He)}function pe(Ee){var He=Ee||(typeof navigator!="undefined"?navigator.userAgent:""),st=He.split("[FBAN");if(typeof st[1]!="undefined"){var vt=st,ee=Object(M.a)(vt,1);He=ee[0]}if(st=He.split("Twitter"),typeof st[1]!="undefined"){var oe=st,k=Object(M.a)(oe,1);He=k[0]}var $={apple:{phone:te(R,He)&&!te(H,He),ipod:te(F,He),tablet:!te(R,He)&&te(B,He)&&!te(H,He),device:(te(R,He)||te(F,He)||te(B,He))&&!te(H,He)},amazon:{phone:te(K,He),tablet:!te(K,He)&&te(W,He),device:te(K,He)||te(W,He)},android:{phone:!te(H,He)&&te(K,He)||!te(H,He)&&te(z,He),tablet:!te(H,He)&&!te(K,He)&&!te(z,He)&&(te(W,He)||te(U,He)),device:!te(H,He)&&(te(K,He)||te(W,He)||te(z,He)||te(U,He))||te(/\bokhttp\b/i,He)},windows:{phone:te(H,He),tablet:te(Y,He),device:te(H,He)||te(Y,He)},other:{blackberry:te(Q,He),blackberry10:te(P,He),opera:te(G,He),firefox:te(he,He),chrome:te(J,He),device:te(Q,He)||te(P,He)||te(G,He)||te(he,He)||te(J,He)},any:null,phone:null,tablet:null};return $.any=$.apple.device||$.android.device||$.windows.device||$.other.device,$.phone=$.apple.phone||$.android.phone||$.windows.phone,$.tablet=$.apple.tablet||$.android.tablet||$.windows.tablet,$}var we=Object(d.a)(Object(d.a)({},pe()),{},{isMobile:pe}),be=we;function Qe(){}function $e(Ee,He,st){var vt=He||"";return Ee.key||"".concat(vt,"item_").concat(st)}function yt(Ee){return"".concat(Ee,"-menu-")}function Fe(Ee,He){var st=-1;f.Children.forEach(Ee,function(vt){st+=1,vt&&vt.type&&vt.type.isMenuItemGroup?f.Children.forEach(vt.props.children,function(ee){st+=1,He(ee,st)}):He(vt,st)})}function Pe(Ee,He,st){if(!Ee||st.find)return;f.Children.forEach(Ee,function(vt){if(vt){var ee=vt.type;if(!ee||!(ee.isSubMenu||ee.isMenuItem||ee.isMenuItemGroup))return;He.indexOf(vt.key)!==-1?st.find=!0:vt.props.children&&Pe(vt.props.children,He,st)}})}var gt=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],it=function(He){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,vt=He&&typeof He.getBoundingClientRect=="function"&&He.getBoundingClientRect().width;if(vt){if(st){var ee=getComputedStyle(He),oe=ee.marginLeft,k=ee.marginRight;vt+=+oe.replace("px","")+ +k.replace("px","")}vt=+vt.toFixed(6)}return vt||0},qe=function(He,st,vt){He&&Object(D.a)(He.style)==="object"&&(He.style[st]=vt)},At=function(){return be.any},dt=e("V0hb"),wt=e("buSX"),Ye=e("EaaV"),mt=e("BlUI"),Ue=e("J04M"),Re=e("X/IY"),Le={adjustX:1,adjustY:1},at={topLeft:{points:["bl","tl"],overflow:Le,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Le,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Le,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Le,offset:[4,0]}},Ot={topLeft:{points:["bl","tl"],overflow:Le,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Le,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Le,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Le,offset:[4,0]}},Tt=at,Ft=0,ke={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Vt=function(He,st,vt){var ee=yt(st),oe=He.getState();He.setState({defaultActiveFirst:Object(d.a)(Object(d.a)({},oe.defaultActiveFirst),{},Object(O.a)({},ee,vt))})},bt=function(Ee){Object(y.a)(st,Ee);var He=Object(w.a)(st);function st(vt){var ee;Object(L.a)(this,st),ee=He.call(this,vt),ee.onDestroy=function(Ae){ee.props.onDestroy(Ae)},ee.onKeyDown=function(Ae){var Me=Ae.keyCode,et=ee.menuInstance,Wt=ee.props,er=Wt.isOpen,Ct=Wt.store;if(Me===T.a.ENTER)return ee.onTitleClick(Ae),Vt(Ct,ee.props.eventKey,!0),!0;if(Me===T.a.RIGHT)return er?et.onKeyDown(Ae):(ee.triggerOpenChange(!0),Vt(Ct,ee.props.eventKey,!0)),!0;if(Me===T.a.LEFT){var Ht;if(er)Ht=et.onKeyDown(Ae);else return;return Ht||(ee.triggerOpenChange(!1),Ht=!0),Ht}return er&&(Me===T.a.UP||Me===T.a.DOWN)?et.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 Me=ee.props,et=Me.eventKey,Wt=Me.onMouseEnter,er=Me.store;Vt(er,ee.props.eventKey,!1),Wt({key:et,domEvent:Ae})},ee.onMouseLeave=function(Ae){var Me=ee.props,et=Me.parentMenu,Wt=Me.eventKey,er=Me.onMouseLeave;et.subMenuInstance=Object(m.a)(ee),er({key:Wt,domEvent:Ae})},ee.onTitleMouseEnter=function(Ae){var Me=ee.props,et=Me.eventKey,Wt=Me.onItemHover,er=Me.onTitleMouseEnter;Wt({key:et,hover:!0}),er({key:et,domEvent:Ae})},ee.onTitleMouseLeave=function(Ae){var Me=ee.props,et=Me.parentMenu,Wt=Me.eventKey,er=Me.onItemHover,Ct=Me.onTitleMouseLeave;et.subMenuInstance=Object(m.a)(ee),er({key:Wt,hover:!1}),Ct({key:Wt,domEvent:Ae})},ee.onTitleClick=function(Ae){var Me=Object(m.a)(ee),et=Me.props;if(et.onTitleClick({key:et.eventKey,domEvent:Ae}),et.triggerSubMenuAction==="hover")return;ee.triggerOpenChange(!et.isOpen,"click"),Vt(et.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(d.a)(Object(d.a)({},Ae),{},{keyPath:(Ae.keyPath||[]).concat(ee.props.eventKey)})},ee.triggerOpenChange=function(Ae,Me){var et=ee.props.eventKey,Wt=function(){ee.onOpenChange({key:et,item:Object(m.a)(ee),trigger:Me,open:Ae})};Me==="mouseenter"?ee.mouseenterTimeout=setTimeout(function(){Wt()},0):Wt()},ee.isChildrenSelected=function(){var Ae={find:!1};return Pe(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=Ye.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),Me=Ae.props;return{mode:Me.mode==="horizontal"?"vertical":Me.mode,visible:ee.props.isOpen,level:Me.level+1,inlineIndent:Me.inlineIndent,focusable:!1,onClick:ee.onSubMenuClick,onSelect:ee.onSelect,onDeselect:ee.onDeselect,onDestroy:ee.onDestroy,selectedKeys:Me.selectedKeys,eventKey:"".concat(Me.eventKey,"-menu-"),openKeys:Me.openKeys,motion:Me.motion,onOpenChange:ee.onOpenChange,subMenuOpenDelay:Me.subMenuOpenDelay,parentMenu:Object(m.a)(ee),subMenuCloseDelay:Me.subMenuCloseDelay,forceSubMenuRender:Me.forceSubMenuRender,triggerSubMenuAction:Me.triggerSubMenuAction,builtinPlacements:Me.builtinPlacements,defaultActiveFirst:Me.store.getState().defaultActiveFirst[yt(Me.eventKey)],multiple:Me.multiple,prefixCls:Me.rootPrefixCls,id:ee.internalMenuId,manualRef:ee.saveMenuInstance,itemIcon:Me.itemIcon,expandIcon:Me.expandIcon,direction:Me.direction}},ee.getMotion=function(Ae,Me){var et=Object(m.a)(ee),Wt=et.haveRendered,er=ee.props,Ct=er.motion,Ht=er.rootPrefixCls,kt=Object(d.a)(Object(d.a)({},Ct),{},{leavedClassName:"".concat(Ht,"-hidden"),removeOnLeave:!1,motionAppear:Wt||!Me||Ae!=="inline"});return kt};var oe=vt.store,k=vt.eventKey,$=oe.getState(),se=$.defaultActiveFirst;ee.isRootMenu=!1;var ge=!1;return se&&(ge=se[k]),Vt(oe,k,ge),ee}return Object(v.a)(st,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ee=this,oe=this.props,k=oe.mode,$=oe.parentMenu,se=oe.manualRef;if(se&&se(this),k!=="horizontal"||!$.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return ee.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ee=this.props,oe=ee.onDestroy,k=ee.eventKey;oe&&oe(k),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(ee){var oe=this,k=this.getBaseProps(),$=this.getMotion(k.mode,k.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||k.visible||k.forceSubMenuRender,!this.haveOpened)return f.createElement("div",null);var se=k.direction;return f.createElement(Re.default,Object.assign({visible:k.visible},$),function(ge){var Ae=ge.className,Me=ge.style,et=N()("".concat(k.prefixCls,"-sub"),Ae,Object(O.a)({},"".concat(k.prefixCls,"-rtl"),se==="rtl"));return f.createElement(Pt,Object.assign({},k,{id:oe.internalMenuId,className:et,style:Me}),ee)})}},{key:"render",value:function(){var ee,oe=Object(d.a)({},this.props),k=oe.isOpen,$=this.getPrefixCls(),se=oe.mode==="inline",ge=N()($,"".concat($,"-").concat(oe.mode),(ee={},Object(O.a)(ee,oe.className,!!oe.className),Object(O.a)(ee,this.getOpenClassName(),k),Object(O.a)(ee,this.getActiveClassName(),oe.active||k&&!se),Object(O.a)(ee,this.getDisabledClassName(),oe.disabled),Object(O.a)(ee,this.getSelectedClassName(),this.isChildrenSelected()),ee));this.internalMenuId||(oe.eventKey?this.internalMenuId="".concat(oe.eventKey,"$Menu"):(Ft+=1,this.internalMenuId="$__$".concat(Ft,"$Menu")));var Ae={},Me={},et={};oe.disabled||(Ae={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Me={onClick:this.onTitleClick},et={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Wt={},er=oe.direction;se&&(er==="rtl"?Wt.paddingRight=oe.inlineIndent*oe.level:Wt.paddingLeft=oe.inlineIndent*oe.level);var Ct={};this.props.isOpen&&(Ct={"aria-owns":this.internalMenuId});var Ht=null;oe.mode!=="horizontal"&&(Ht=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Ht=f.createElement(this.props.expandIcon,Object(d.a)({},this.props))));var kt=f.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Wt,className:"".concat($,"-title"),role:"button"},et,Me,{"aria-expanded":k},Ct,{"aria-haspopup":"true",title:typeof oe.title=="string"?oe.title:void 0}),oe.title,Ht||f.createElement("i",{className:"".concat($,"-arrow")})),Zt=this.renderChildren(oe.children),Et=oe.parentMenu.isRootMenu?oe.parentMenu.props.getPopupContainer:function(ft){return ft.parentNode},ur=ke[oe.mode],rr=oe.popupOffset?{offset:oe.popupOffset}:{},Ke=oe.mode==="inline"?"":oe.popupClassName;Ke+=er==="rtl"?" ".concat($,"-rtl"):"";var nt=oe.disabled,Ge=oe.triggerSubMenuAction,ct=oe.subMenuOpenDelay,ht=oe.forceSubMenuRender,ut=oe.subMenuCloseDelay,We=oe.builtinPlacements;gt.forEach(function(ft){return delete oe[ft]}),delete oe.onClick;var tt=er==="rtl"?Object.assign({},Ot,We):Object.assign({},at,We);return delete oe.direction,f.createElement("li",Object.assign({},oe,Ae,{className:ge,role:"menuitem"}),se&&kt,se&&Zt,!se&&f.createElement(Ue.a,{prefixCls:$,popupClassName:N()("".concat($,"-popup"),Ke),getPopupContainer:Et,builtinPlacements:tt,popupPlacement:ur,popupVisible:k,popupAlign:rr,popup:Zt,action:nt?[]:[Ge],mouseEnterDelay:ct,mouseLeaveDelay:ut,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:ht},kt))}}]),st}(f.Component);bt.defaultProps={onMouseEnter:Qe,onMouseLeave:Qe,onTitleMouseEnter:Qe,onTitleMouseLeave:Qe,onTitleClick:Qe,manualRef:Qe,mode:"vertical",title:""};var Rt=p(function(Ee,He){var st=Ee.openKeys,vt=Ee.activeKey,ee=Ee.selectedKeys,oe=He.eventKey,k=He.subMenuKey;return{isOpen:st.indexOf(oe)>-1,active:vt[k]===oe,selectedKeys:ee}})(bt);Rt.isSubMenu=!0;var Nt=Rt,xt="menuitem-overflowed",Ut=.5,Ze=function(Ee){Object(y.a)(st,Ee);var He=Object(w.a)(st);function st(){var vt;return Object(L.a)(this,st),vt=He.apply(this,arguments),vt.resizeObserver=null,vt.mutationObserver=null,vt.originalTotalWidth=0,vt.overflowedItems=[],vt.menuItemSizes=[],vt.cancelFrameId=null,vt.state={lastVisibleIndex:void 0},vt.getMenuItemNodes=function(){var ee=vt.props.prefixCls,oe=Ye.findDOMNode(Object(m.a)(vt));return oe?[].slice.call(oe.children).filter(function(k){return k.className.split(" ").indexOf("".concat(ee,"-overflowed-submenu"))<0}):[]},vt.getOverflowedSubMenuItem=function(ee,oe,k){var $=vt.props,se=$.overflowedIndicator,ge=$.level,Ae=$.mode,Me=$.prefixCls,et=$.theme;if(ge!==1||Ae!=="horizontal")return null;var Wt=vt.props.children[0],er=Wt.props,Ct=er.children,Ht=er.title,kt=er.style,Zt=Object(wt.a)(er,["children","title","style"]),Et=Object(d.a)({},kt),ur="".concat(ee,"-overflowed-indicator"),rr="".concat(ee,"-overflowed-indicator");oe.length===0&&k!==!0?Et=Object(d.a)(Object(d.a)({},Et),{},{display:"none"}):k&&(Et=Object(d.a)(Object(d.a)({},Et),{},{visibility:"hidden",position:"absolute"}),ur="".concat(ur,"-placeholder"),rr="".concat(rr,"-placeholder"));var Ke=et?"".concat(Me,"-").concat(et):"",nt={};return gt.forEach(function(Ge){Zt[Ge]!==void 0&&(nt[Ge]=Zt[Ge])}),f.createElement(Nt,Object.assign({title:se,className:"".concat(Me,"-overflowed-submenu"),popupClassName:Ke},nt,{key:ur,eventKey:rr,disabled:!1,style:Et}),oe)},vt.setChildrenWidthAndResize=function(){if(vt.props.mode!=="horizontal")return;var ee=Ye.findDOMNode(Object(m.a)(vt));if(!ee)return;var oe=ee.children;if(!oe||oe.length===0)return;var k=ee.children[oe.length-1];qe(k,"display","inline-block");var $=vt.getMenuItemNodes(),se=$.filter(function(ge){return ge.className.split(" ").indexOf(xt)>=0});se.forEach(function(ge){qe(ge,"display","inline-block")}),vt.menuItemSizes=$.map(function(ge){return it(ge,!0)}),se.forEach(function(ge){qe(ge,"display","none")}),vt.overflowedIndicatorWidth=it(ee.children[ee.children.length-1],!0),vt.originalTotalWidth=vt.menuItemSizes.reduce(function(ge,Ae){return ge+Ae},0),vt.handleResize(),qe(k,"display","none")},vt.handleResize=function(){if(vt.props.mode!=="horizontal")return;var ee=Ye.findDOMNode(Object(m.a)(vt));if(!ee)return;var oe=it(ee);vt.overflowedItems=[];var k=0,$;vt.originalTotalWidth>oe+Ut&&($=-1,vt.menuItemSizes.forEach(function(se){k+=se,k+vt.overflowedIndicatorWidth<=oe&&($+=1)})),vt.setState({lastVisibleIndex:$})},vt}return Object(v.a)(st,[{key:"componentDidMount",value:function(){var ee=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var oe=Ye.findDOMNode(this);if(!oe)return;this.resizeObserver=new mt.default(function(k){k.forEach(function(){var $=ee.cancelFrameId;cancelAnimationFrame($),ee.cancelFrameId=requestAnimationFrame(ee.setChildrenWidthAndResize)})}),[].slice.call(oe.children).concat(oe).forEach(function(k){ee.resizeObserver.observe(k)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ee.resizeObserver.disconnect(),[].slice.call(oe.children).concat(oe).forEach(function(k){ee.resizeObserver.observe(k)}),ee.setChildrenWidthAndResize()}),this.mutationObserver.observe(oe,{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 oe=this,k=this.state.lastVisibleIndex;return(ee||[]).reduce(function($,se,ge){var Ae=se;if(oe.props.mode==="horizontal"){var Me=oe.getOverflowedSubMenuItem(se.props.eventKey,[]);k!==void 0&&oe.props.className.indexOf("".concat(oe.props.prefixCls,"-root"))!==-1&&(ge>k&&(Ae=f.cloneElement(se,{style:{display:"none"},eventKey:"".concat(se.props.eventKey,"-hidden"),className:"".concat(xt)})),ge===k+1&&(oe.overflowedItems=ee.slice(k+1).map(function(Wt){return f.cloneElement(Wt,{key:Wt.props.eventKey,mode:"vertical-left"})}),Me=oe.getOverflowedSubMenuItem(se.props.eventKey,oe.overflowedItems)));var et=[].concat(Object(dt.a)($),[Me,Ae]);return ge===ee.length-1&&et.push(oe.getOverflowedSubMenuItem(se.props.eventKey,[],!0)),et}return[].concat(Object(dt.a)($),[Ae])},[])}},{key:"render",value:function(){var ee=this.props,oe=ee.visible,k=ee.prefixCls,$=ee.overflowedIndicator,se=ee.mode,ge=ee.level,Ae=ee.tag,Me=ee.children,et=ee.theme,Wt=Object(wt.a)(ee,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),er=Ae;return f.createElement(er,Object.assign({},Wt),this.renderChildren(Me))}}]),st}(f.Component);Ze.defaultProps={tag:"div",className:""};var ze=Ze;function re(Ee){return Ee.length?Ee.every(function(He){return!!He.props.disabled}):!0}function le(Ee,He,st){var vt=Ee.getState();Ee.setState({activeKey:Object(d.a)(Object(d.a)({},vt.activeKey),{},Object(O.a)({},He,st))})}function Xe(Ee){return Ee.eventKey||"0-menu-"}function _e(Ee,He){var st=He,vt=Ee.children,ee=Ee.eventKey;if(st){var oe;if(Fe(vt,function(k,$){k&&k.props&&!k.props.disabled&&st===$e(k,ee,$)&&(oe=!0)}),oe)return st}return st=null,Ee.defaultActiveFirst&&Fe(vt,function(k,$){!st&&k&&!k.props.disabled&&(st=$e(k,ee,$))}),st}function je(Ee){if(Ee){var He=this.instanceArray.indexOf(Ee);He!==-1?this.instanceArray[He]=Ee:this.instanceArray.push(Ee)}}var ar=function(Ee){Object(y.a)(st,Ee);var He=Object(w.a)(st);function st(vt){var ee;return Object(L.a)(this,st),ee=He.call(this,vt),ee.onKeyDown=function(oe,k){var $=oe.keyCode,se;if(ee.getFlatInstanceArray().forEach(function(Ae){Ae&&Ae.props.active&&Ae.onKeyDown&&(se=Ae.onKeyDown(oe))}),se)return 1;var ge=null;return($===T.a.UP||$===T.a.DOWN)&&(ge=ee.step($===T.a.UP?-1:1)),ge?(oe.preventDefault(),le(ee.props.store,Xe(ee.props),ge.props.eventKey),typeof k=="function"&&k(ge),1):void 0},ee.onItemHover=function(oe){var k=oe.key,$=oe.hover;le(ee.props.store,Xe(ee.props),$?k:null)},ee.onDeselect=function(oe){ee.props.onDeselect(oe)},ee.onSelect=function(oe){ee.props.onSelect(oe)},ee.onClick=function(oe){ee.props.onClick(oe)},ee.onOpenChange=function(oe){ee.props.onOpenChange(oe)},ee.onDestroy=function(oe){ee.props.onDestroy(oe)},ee.getFlatInstanceArray=function(){return ee.instanceArray},ee.step=function(oe){var k=ee.getFlatInstanceArray(),$=ee.props.store.getState().activeKey[Xe(ee.props)],se=k.length;if(!se)return null;oe<0&&(k=k.concat().reverse());var ge=-1;if(k.every(function(Wt,er){return Wt&&Wt.props.eventKey===$?(ge=er,!1):!0}),!ee.props.defaultActiveFirst&&ge!==-1&&re(k.slice(ge,se-1)))return;var Ae=(ge+1)%se,Me=Ae;do{var et=k[Me];if(!et||et.props.disabled)Me=(Me+1)%se;else return et}while(Me!==Ae);return null},ee.renderCommonMenuItem=function(oe,k,$){var se=ee.props.store.getState(),ge=Object(m.a)(ee),Ae=ge.props,Me=$e(oe,Ae.eventKey,k),et=oe.props;if(!et||typeof oe.type=="string")return oe;var Wt=Me===se.activeKey,er=Object(d.a)(Object(d.a)({mode:et.mode||Ae.mode,level:Ae.level,inlineIndent:Ae.inlineIndent,renderMenuItem:ee.renderMenuItem,rootPrefixCls:Ae.prefixCls,index:k,parentMenu:Ae.parentMenu,manualRef:et.disabled?void 0:Object(b.a)(oe.ref,je.bind(Object(m.a)(ee))),eventKey:Me,active:!et.disabled&&Wt,multiple:Ae.multiple,onClick:function(Ht){(et.onClick||Qe)(Ht),ee.onClick(Ht)},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:et.itemIcon||ee.props.itemIcon,expandIcon:et.expandIcon||ee.props.expandIcon},$),{},{direction:Ae.direction});return(Ae.mode==="inline"||At())&&(er.triggerSubMenuAction="click"),f.cloneElement(oe,er)},ee.renderMenuItem=function(oe,k,$){if(!oe)return null;var se=ee.props.store.getState(),ge={openKeys:se.openKeys,selectedKeys:se.selectedKeys,triggerSubMenuAction:ee.props.triggerSubMenuAction,subMenuKey:$};return ee.renderCommonMenuItem(oe,k,ge)},vt.store.setState({activeKey:Object(d.a)(Object(d.a)({},vt.store.getState().activeKey),{},Object(O.a)({},vt.eventKey,_e(vt,vt.activeKey)))}),ee.instanceArray=[],ee}return Object(v.a)(st,[{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 oe=this.props,k="activeKey"in oe?oe.activeKey:oe.store.getState().activeKey[Xe(oe)],$=_e(oe,k);if($!==k)le(oe.store,Xe(oe),$);else if("activeKey"in ee){var se=_e(ee,ee.activeKey);$!==se&&le(oe.store,Xe(oe),$)}}},{key:"render",value:function(){var ee=this,oe=Object(E.a)({},this.props);this.instanceArray=[];var k=N()(oe.prefixCls,oe.className,"".concat(oe.prefixCls,"-").concat(oe.mode)),$={className:k,role:oe.role||"menu"};oe.id&&($.id=oe.id),oe.focusable&&($.tabIndex=0,$.onKeyDown=this.onKeyDown);var se=oe.prefixCls,ge=oe.eventKey,Ae=oe.visible,Me=oe.level,et=oe.mode,Wt=oe.overflowedIndicator,er=oe.theme;return gt.forEach(function(Ct){return delete oe[Ct]}),delete oe.onClick,f.createElement(ze,Object.assign({},oe,{prefixCls:se,mode:et,tag:"ul",level:Me,theme:er,visible:Ae,overflowedIndicator:Wt},$),f.Children.map(oe.children,function(Ct,Ht){return ee.renderMenuItem(Ct,Ht,ge||"0-menu-")}))}}]),st}(f.Component);ar.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Qe};var zt=p()(ar),Pt=zt,qt=e("nWwB");function or(Ee,He,st){var vt=Ee.prefixCls,ee=Ee.motion,oe=Ee.defaultMotions,k=oe===void 0?{}:oe,$=Ee.openAnimation,se=Ee.openTransitionName,ge=He.switchingModeFromInline;if(ee)return ee;if(Object(D.a)($)==="object"&&$)Object(qt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof $=="string")return{motionName:"".concat(vt,"-open-").concat($)};if(se)return{motionName:se};var Ae=k[st];return Ae||(ge?null:k.other)}var Kt=function(Ee){Object(y.a)(st,Ee);var He=Object(w.a)(st);function st(vt){var ee;Object(L.a)(this,st),ee=He.call(this,vt),ee.inlineOpenKeys=[],ee.onSelect=function($){var se=Object(m.a)(ee),ge=se.props;if(ge.selectable){var Ae=ee.store.getState(),Me=Ae.selectedKeys,et=$.key;ge.multiple?Me=Me.concat([et]):Me=[et],"selectedKeys"in ge||ee.store.setState({selectedKeys:Me}),ge.onSelect(Object(d.a)(Object(d.a)({},$),{},{selectedKeys:Me}))}},ee.onClick=function($){var se=ee.getRealMenuMode(),ge=Object(m.a)(ee),Ae=ge.store,Me=ge.props.onOpenChange;se!=="inline"&&!("openKeys"in ee.props)&&(Ae.setState({openKeys:[]}),Me([])),ee.props.onClick($)},ee.onKeyDown=function($,se){ee.innerMenu.getWrappedInstance().onKeyDown($,se)},ee.onOpenChange=function($){var se=Object(m.a)(ee),ge=se.props,Ae=ee.store.getState().openKeys.concat(),Me=!1,et=function(er){var Ct=!1;if(er.open)Ct=Ae.indexOf(er.key)===-1,Ct&&Ae.push(er.key);else{var Ht=Ae.indexOf(er.key);Ct=Ht!==-1,Ct&&Ae.splice(Ht,1)}Me=Me||Ct};Array.isArray($)?$.forEach(et):et($),Me&&("openKeys"in ee.props||ee.store.setState({openKeys:Ae}),ge.onOpenChange(Ae))},ee.onDeselect=function($){var se=Object(m.a)(ee),ge=se.props;if(ge.selectable){var Ae=ee.store.getState().selectedKeys.concat(),Me=$.key,et=Ae.indexOf(Me);et!==-1&&Ae.splice(et,1),"selectedKeys"in ge||ee.store.setState({selectedKeys:Ae}),ge.onDeselect(Object(d.a)(Object(d.a)({},$),{},{selectedKeys:Ae}))}},ee.onMouseEnter=function($){ee.restoreModeVerticalFromInline();var se=ee.props.onMouseEnter;se&&se($)},ee.onTransitionEnd=function($){var se=$.propertyName==="width"&&$.target===$.currentTarget,ge=$.target.className,Ae=Object.prototype.toString.call(ge)==="[object SVGAnimatedString]"?ge.animVal:ge,Me=$.propertyName==="font-size"&&Ae.indexOf("anticon")>=0;(se||Me)&&ee.restoreModeVerticalFromInline()},ee.setInnerMenu=function($){ee.innerMenu=$},ee.isRootMenu=!0;var oe=vt.defaultSelectedKeys,k=vt.defaultOpenKeys;return"selectedKeys"in vt&&(oe=vt.selectedKeys||[]),"openKeys"in vt&&(k=vt.openKeys||[]),ee.store=C({selectedKeys:oe,openKeys:k,activeKey:{"0-menu-":_e(vt,vt.activeKey)}}),ee.state={switchingModeFromInline:!1},ee}return Object(v.a)(st,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ee){this.updateOpentKeysWhenSwitchMode(ee),this.updateMiniStore();var oe=this.props,k=oe.siderCollapsed,$=oe.inlineCollapsed,se=oe.onOpenChange;(!ee.inlineCollapsed&&$||!ee.siderCollapsed&&k)&&se([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(ee){var oe=this.props,k=this.store,$=this.inlineOpenKeys,se=k.getState(),ge={};ee.mode==="inline"&&oe.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in oe||((oe.inlineCollapsed&&!ee.inlineCollapsed||oe.siderCollapsed&&!ee.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=se.openKeys.concat(),ge.openKeys=[]),(!oe.inlineCollapsed&&ee.inlineCollapsed||!oe.siderCollapsed&&ee.siderCollapsed)&&(ge.openKeys=$,this.inlineOpenKeys=[])),Object.keys(ge).length&&k.setState(ge)}},{key:"updateMenuDisplay",value:function(){var ee=this.props.collapsedWidth,oe=this.store,k=this.prevOpenKeys,$=this.getInlineCollapsed()&&(ee===0||ee==="0"||ee==="0px");$?(this.prevOpenKeys=oe.getState().openKeys.concat(),this.store.setState({openKeys:[]})):k&&(this.store.setState({openKeys:k}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ee=this.props.mode,oe=this.state.switchingModeFromInline,k=this.getInlineCollapsed();return oe&&k?"inline":k?"vertical":ee}},{key:"getInlineCollapsed",value:function(){var ee=this.props,oe=ee.inlineCollapsed,k=ee.siderCollapsed;return k!==void 0?k:oe}},{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(d.a)({},Object(S.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),oe=this.getRealMenuMode();return ee.className+=" ".concat(ee.prefixCls,"-root"),ee.direction==="rtl"&&(ee.className+=" ".concat(ee.prefixCls,"-rtl")),ee=Object(d.a)(Object(d.a)({},ee),{},{mode:oe,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:or(this.props,this.state,oe)}),delete ee.openAnimation,delete ee.openTransitionName,f.createElement(o,{store:this.store},f.createElement(Pt,Object.assign({},ee,{ref:this.setInnerMenu}),this.props.children))}}]),st}(f.Component);Kt.defaultProps={selectable:!0,onClick:Qe,onSelect:Qe,onOpenChange:Qe,onDeselect:Qe,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 Mt=Kt,me=function(Ee){Object(y.a)(st,Ee);var He=Object(w.a)(st);function st(){var vt;return Object(L.a)(this,st),vt=He.apply(this,arguments),vt.onKeyDown=function(ee){var oe=ee.keyCode;return oe===T.a.ENTER?(vt.onClick(ee),!0):void 0},vt.onMouseLeave=function(ee){var oe=vt.props,k=oe.eventKey,$=oe.onItemHover,se=oe.onMouseLeave;$({key:k,hover:!1}),se({key:k,domEvent:ee})},vt.onMouseEnter=function(ee){var oe=vt.props,k=oe.eventKey,$=oe.onItemHover,se=oe.onMouseEnter;$({key:k,hover:!0}),se({key:k,domEvent:ee})},vt.onClick=function(ee){var oe=vt.props,k=oe.eventKey,$=oe.multiple,se=oe.onClick,ge=oe.onSelect,Ae=oe.onDeselect,Me=oe.isSelected,et={key:k,keyPath:[k],item:Object(m.a)(vt),domEvent:ee};se(et),$?Me?Ae(et):ge(et):Me||ge(et)},vt.saveNode=function(ee){vt.node=ee},vt}return Object(v.a)(st,[{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,oe=Object(d.a)({},this.props),k=N()(this.getPrefixCls(),oe.className,(ee={},Object(O.a)(ee,this.getActiveClassName(),!oe.disabled&&oe.active),Object(O.a)(ee,this.getSelectedClassName(),oe.isSelected),Object(O.a)(ee,this.getDisabledClassName(),oe.disabled),ee)),$=Object(d.a)(Object(d.a)({},oe.attribute),{},{title:typeof oe.title=="string"?oe.title:void 0,className:k,role:oe.role||"menuitem","aria-disabled":oe.disabled});oe.role==="option"?$=Object(d.a)(Object(d.a)({},$),{},{role:"option","aria-selected":oe.isSelected}):(oe.role===null||oe.role==="none")&&($.role="none");var se={onClick:oe.disabled?null:this.onClick,onMouseLeave:oe.disabled?null:this.onMouseLeave,onMouseEnter:oe.disabled?null:this.onMouseEnter},ge=Object(d.a)({},oe.style);oe.mode==="inline"&&(oe.direction==="rtl"?ge.paddingRight=oe.inlineIndent*oe.level:ge.paddingLeft=oe.inlineIndent*oe.level),gt.forEach(function(Me){return delete oe[Me]}),delete oe.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)(oe,["onClick","onMouseEnter","onMouseLeave","onSelect"]),$,se,{style:ge,ref:this.saveNode}),oe.children,Ae)}}]),st}(f.Component);me.isMenuItem=!0,me.defaultProps={onSelect:Qe,onMouseEnter:Qe,onMouseLeave:Qe,manualRef:Qe};var ce=p(function(Ee,He){var st=Ee.activeKey,vt=Ee.selectedKeys,ee=He.eventKey,oe=He.subMenuKey;return{active:st[oe]===ee,isSelected:vt.indexOf(ee)!==-1}})(me),ae=ce,de=function(Ee){Object(y.a)(st,Ee);var He=Object(w.a)(st);function st(){var vt;return Object(L.a)(this,st),vt=He.apply(this,arguments),vt.renderInnerMenuItem=function(ee){var oe=vt.props,k=oe.renderMenuItem,$=oe.index;return k(ee,$,vt.props.subMenuKey)},vt}return Object(v.a)(st,[{key:"render",value:function(){var ee=Object(E.a)({},this.props),oe=ee.className,k=oe===void 0?"":oe,$=ee.rootPrefixCls,se="".concat($,"-item-group-title"),ge="".concat($,"-item-group-list"),Ae=ee.title,Me=ee.children;return gt.forEach(function(et){return delete ee[et]}),delete ee.onClick,delete ee.direction,f.createElement("li",Object.assign({},ee,{className:"".concat(k," ").concat($,"-item-group")}),f.createElement("div",{className:se,title:typeof Ae=="string"?Ae:void 0},Ae),f.createElement("ul",{className:ge},f.Children.map(Me,this.renderInnerMenuItem)))}}]),st}(f.Component);de.isMenuItemGroup=!0,de.defaultProps={disabled:!0};var Se=de,Ce=function(He){var st=He.className,vt=He.rootPrefixCls,ee=He.style;return f.createElement("li",{className:"".concat(st," ").concat(vt,"-item-divider"),style:ee})};Ce.defaultProps={disabled:!0,className:"",style:{}};var Ie=Ce,Te=_.f=Mt},"HP/p":function(Z,_,e){"use strict";e.d(_,"a",function(){return d});function d(L){if(L==null)throw new TypeError("Cannot destructure undefined")}},HQlQ:function(Z,_,e){var d=e("oEo5"),L=e("gyjJ"),v=e("TmiR"),m=e("AMOU");function y(a,t){return a.zlevel===t.zlevel?a.z===t.z?a.z2-t.z2:a.z-t.z:a.zlevel-t.zlevel}var w=function(){this._roots=[],this._displayList=[],this._displayListLen=0};w.prototype={constructor:w,traverse:function(t,o){for(var s=0;s<this._roots.length;s++)this._roots[s].traverse(t,o)},getDisplayList:function(t,o){return o=o||!1,t&&this.updateDisplayList(o),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var o=this._roots,s=this._displayList,l=0,n=o.length;l<n;l++)this._updateAndAddDisplayable(o[l],null,t);s.length=this._displayListLen,L.canvasSupported&&m(s,y)},_updateAndAddDisplayable:function(t,o,s){if(t.ignore&&!s)return;t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var l=t.clipPath;if(l){o?o=o.slice():o=[];for(var n=l,c=t;n;)n.parent=c,n.updateTransform(),o.push(n),c=n,n=n.clipPath}if(t.isGroup){for(var r=t._children,u=0;u<r.length;u++){var i=r[u];t.__dirty&&(i.__dirty=!0),this._updateAndAddDisplayable(i,o,s)}t.__dirty=!1}else t.__clipPaths=o,this._displayList[this._displayListLen++]=t},addRoot:function(t){if(t.__storage===this)return;t instanceof v&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t)},delRoot:function(t){if(t==null){for(var o=0;o<this._roots.length;o++){var s=this._roots[o];s instanceof v&&s.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(t instanceof Array){for(var o=0,l=t.length;o<l;o++)this.delRoot(t[o]);return}var n=d.indexOf(this._roots,t);n>=0&&(this.delFromStorage(t),this._roots.splice(n,1),t instanceof v&&t.delChildrenFromStorage(this))},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:y};var f=w;Z.exports=f},HcLS:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("LlUK"),m=e.n(v),y=e("ZZRV"),w=e.n(y),f=e("iczh"),a=e.n(f),t=e("y1o2"),o=e.n(t),s=e("ggzp"),l=e("NiCL"),n=e("bnk9"),c=e("UoL5"),r=e("CfwS"),u=e("DxYC"),i=e("LpVx"),h=e("HyFf"),p=e("nSZG"),A=void 0,C=function(E,O){var T={};for(var b in E)Object.prototype.hasOwnProperty.call(E,b)&&O.indexOf(b)<0&&(T[b]=E[b]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,b=Object.getOwnPropertySymbols(E);x<b.length;x++)O.indexOf(b[x])<0&&Object.prototype.propertyIsEnumerable.call(E,b[x])&&(T[b[x]]=E[b[x]]);return T},S=y.forwardRef(function(E,O){var T=y.useState(E.visible),b=m()(T,2),x=b[0],N=b[1];y.useEffect(function(){"visible"in E&&N(E.visible)},[E.visible]),y.useEffect(function(){"defaultVisible"in E&&N(E.defaultVisible)},[E.defaultVisible]);var D=function(we,be){"visible"in E||N(we),E.onVisibleChange&&E.onVisibleChange(we,be)},M=function(we){D(!1,we),E.onConfirm&&E.onConfirm.call(A,we)},R=function(we){D(!1,we),E.onCancel&&E.onCancel.call(A,we)},F=function(we){we.keyCode===s.a.ESC&&x&&D(!1,we)},B=function(we){var be=E.disabled;if(be)return;D(we)},z=function(we,be){var Qe=E.okButtonProps,$e=E.cancelButtonProps,yt=E.title,Fe=E.cancelText,Pe=E.okText,gt=E.okType,it=E.icon;return y.createElement("div",{className:"".concat(we,"-inner-content")},y.createElement("div",{className:"".concat(we,"-message")},it,y.createElement("div",{className:"".concat(we,"-message-title")},Object(h.a)(yt))),y.createElement("div",{className:"".concat(we,"-buttons")},y.createElement(n.a,L()({onClick:R,size:"small"},$e),Fe||be.cancelText),y.createElement(n.a,L()({onClick:M},Object(c.a)(gt),{size:"small"},Qe),Pe||be.okText)))},U=y.useContext(i.b),K=U.getPrefixCls,W=E.prefixCls,H=E.placement,Y=E.children,Q=E.overlayClassName,P=C(E,["prefixCls","placement","children","overlayClassName"]),G=K("popover",W),J=K("popconfirm",W),he=a()(J,Q),te=y.createElement(r.a,{componentName:"Popconfirm",defaultLocale:u.a.Popconfirm},function(pe){return z(G,pe)});return y.createElement(l.a,L()({},P,{prefixCls:G,placement:H,onVisibleChange:B,visible:x,overlay:te,overlayClassName:he,ref:O}),Object(p.a)(Y,{onKeyDown:function(we){var be,Qe;(Qe=Y==null?void 0:(be=Y.props).onKeyDown)===null||Qe===void 0||Qe.call(be,we),F(we)}}))});S.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:y.createElement(o.a,null),disabled:!1},_.a=S},HcOL:function(Z,_){var e=9007199254740991,d=Math.floor;function L(v,m){var y="";if(!v||m<1||m>e)return y;do m%2&&(y+=v),m=d(m/2),m&&(v+=v);while(m);return y}Z.exports=L},HtJV:function(Z,_,e){var d=e("Mvv6"),L=e("u5Eq"),v=e("ZuYS"),m=e("BhfF"),y=e("MYni"),w=e("mCIU"),f=e("naEU"),a="[object Map]",t="[object Object]",o="[object Promise]",s="[object Set]",l="[object WeakMap]",n="[object DataView]",c=f(d),r=f(L),u=f(v),i=f(m),h=f(y),p=w;(d&&p(new d(new ArrayBuffer(1)))!=n||L&&p(new L)!=a||v&&p(v.resolve())!=o||m&&p(new m)!=s||y&&p(new y)!=l)&&(p=function(A){var C=w(A),S=C==t?A.constructor:void 0,E=S?f(S):"";if(E)switch(E){case c:return n;case r:return a;case u:return o;case i:return s;case h:return l}return C}),Z.exports=p},HyFf:function(Z,_,e){"use strict";e.d(_,"a",function(){return d});var d=function(v){if(!v)return null;var m=typeof v=="function";return m?v():v}},I0KN:function(Z,_,e){e("RA1y"),e("T9w4")},"I10+":function(Z,_,e){var d=e("Q6Bq"),L=e("YsOP"),v=e("oEo5"),m=e("QV7q"),y=m.defaultEmphasis,w=e("P0S0"),f=e("CQhY"),a=f.encodeHTML,t=e("Zmji"),o=e("p1Ch"),s=e("fllp"),l=s.initCurvenessList,n=s.createEdgeMapForCurveness,c=d.extendSeriesModel({type:"series.graph",init:function(u){c.superApply(this,"init",arguments);var i=this;function h(){return i._categoriesData}this.legendVisualProvider=new o(h,h),this.fillDataTextStyle(u.edges||u.links),this._updateCategoriesData()},mergeOption:function(u){c.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(u.edges||u.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(u){c.superApply(this,"mergeDefaultAndTheme",arguments),y(u,["edgeLabel"],["show"])},getInitialData:function(u,i){var h=u.edges||u.links||[],p=u.data||u.nodes||[],A=this;if(p&&h){l(this);var C=t(p,h,this,!0,S);return v.each(C.edges,function(E){n(E.node1,E.node2,this,E.dataIndex)},this),C.data}function S(E,O){E.wrapMethod("getItemModel",function(M){var R=A._categoriesModels,F=M.getShallow("category"),B=R[F];return B&&(B.parentModel=M.parentModel,M.parentModel=B),M});var T=A.getModel("edgeLabel"),b=new w({label:T.option},T.parentModel,i),x=A.getModel("emphasis.edgeLabel"),N=new w({emphasis:{label:x.option}},x.parentModel,i);O.wrapMethod("getItemModel",function(M){return M.customizeGetParent(D),M});function D(M){return M=this.parsePath(M),M&&M[0]==="label"?b:M&&M[0]==="emphasis"&&M[1]==="label"?N:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(u,i,h){if(h==="edge"){var p=this.getData(),A=this.getDataParams(u,h),C=p.graph.getEdgeByIndex(u),S=p.getName(C.node1.dataIndex),E=p.getName(C.node2.dataIndex),O=[];return S!=null&&O.push(S),E!=null&&O.push(E),O=a(O.join(" > ")),A.value&&(O+=" : "+a(A.value)),O}else return c.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var u=v.map(this.option.categories||[],function(h){return h.value!=null?h:v.extend({value:0},h)}),i=new L(["value"],this);i.initData(u),this._categoriesData=i,this._categoriesModels=i.mapArray(function(h){return i.getItemModel(h,!0)})},setZoom:function(u){this.option.zoom=u},setCenter:function(u){this.option.center=u},isAnimationEnabled:function(){return c.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),r=c;Z.exports=r},I1OY:function(Z,_,e){var d=e("oEo5"),L=e("OCYe"),v=function(w,f,a,t,o,s){this.x=w==null?0:w,this.y=f==null?0:f,this.x2=a==null?1:a,this.y2=t==null?0:t,this.type="linear",this.global=s||!1,L.call(this,o)};v.prototype={constructor:v},d.inherits(v,L);var m=v;Z.exports=m},I3N6:function(Z,_,e){"use strict";var d=e("zjzt"),L=e("buSX"),v=e("55MS"),m=e("FGJx"),y=e("o0AO"),w=e("udBW"),f=e("uwZC"),a=e("lpH6"),t=e("ZZRV"),o=e("iczh"),s=e.n(o),l=e("VqEN"),n=e("AoPA"),c=function(O){var T=O.prefixCls,b=O.level,x=O.isStart,N=O.isEnd;if(!b)return null;for(var D="".concat(T,"-indent-unit"),M=[],R=0;R<b;R+=1){var F;M.push(t.createElement("span",{key:R,className:s()(D,(F={},Object(d.a)(F,"".concat(D,"-start"),x[R+1]),Object(d.a)(F,"".concat(D,"-end"),N[R+1]),Object(d.a)(F,"".concat(D,"-end-first-level"),!R&&N[0]),F))}))}return t.createElement("span",{"aria-hidden":"true",className:"".concat(T,"-indent")},M)},r=c,u=e("1c8c"),i="open",h="close",p="---",A=function(E){Object(f.a)(T,E);var O=Object(a.a)(T);function T(){var b;return Object(m.a)(this,T),b=O.apply(this,arguments),b.state={dragNodeHighlight:!1},b.onSelectorClick=function(x){var N=b.props.context.onNodeClick;N(x,Object(u.b)(b.props)),b.isSelectable()?b.onSelect(x):b.onCheck(x)},b.onSelectorDoubleClick=function(x){var N=b.props.context.onNodeDoubleClick;N(x,Object(u.b)(b.props))},b.onSelect=function(x){if(b.isDisabled())return;var N=b.props.context.onNodeSelect;x.preventDefault(),N(x,Object(u.b)(b.props))},b.onCheck=function(x){if(b.isDisabled())return;var N=b.props,D=N.disableCheckbox,M=N.checked,R=b.props.context.onNodeCheck;if(!b.isCheckable()||D)return;x.preventDefault();var F=!M;R(x,Object(u.b)(b.props),F)},b.onMouseEnter=function(x){var N=b.props.context.onNodeMouseEnter;N(x,Object(u.b)(b.props))},b.onMouseLeave=function(x){var N=b.props.context.onNodeMouseLeave;N(x,Object(u.b)(b.props))},b.onContextMenu=function(x){var N=b.props.context.onNodeContextMenu;N(x,Object(u.b)(b.props))},b.onDragStart=function(x){var N=b.props.context.onNodeDragStart;x.stopPropagation(),b.setState({dragNodeHighlight:!0}),N(x,Object(w.a)(b));try{x.dataTransfer.setData("text/plain","")}catch(D){}},b.onDragEnter=function(x){var N=b.props.context.onNodeDragEnter;x.preventDefault(),x.stopPropagation(),N(x,Object(w.a)(b))},b.onDragOver=function(x){var N=b.props.context.onNodeDragOver;x.preventDefault(),x.stopPropagation(),N(x,Object(w.a)(b))},b.onDragLeave=function(x){var N=b.props.context.onNodeDragLeave;x.stopPropagation(),N(x,Object(w.a)(b))},b.onDragEnd=function(x){var N=b.props.context.onNodeDragEnd;x.stopPropagation(),b.setState({dragNodeHighlight:!1}),N(x,Object(w.a)(b))},b.onDrop=function(x){var N=b.props.context.onNodeDrop;x.preventDefault(),x.stopPropagation(),b.setState({dragNodeHighlight:!1}),N(x,Object(w.a)(b))},b.onExpand=function(x){var N=b.props.context.onNodeExpand;N(x,Object(u.b)(b.props))},b.setSelectHandle=function(x){b.selectHandle=x},b.getNodeState=function(){var x=b.props.expanded;return b.isLeaf()?null:x?i:h},b.hasChildren=function(){var x=b.props.eventKey,N=b.props.context.keyEntities,D=N[x]||{},M=D.children;return!!(M||[]).length},b.isLeaf=function(){var x=b.props,N=x.isLeaf,D=x.loaded,M=b.props.context.loadData,R=b.hasChildren();return N===!1?!1:N||!M&&!R||M&&D&&!R},b.isDisabled=function(){var x=b.props.disabled,N=b.props.context.disabled;return!!(N||x)},b.isCheckable=function(){var x=b.props.checkable,N=b.props.context.checkable;return!N||x===!1?!1:N},b.syncLoadData=function(x){var N=x.expanded,D=x.loading,M=x.loaded,R=b.props.context,F=R.loadData,B=R.onNodeLoad;if(D)return;F&&N&&!b.isLeaf()&&(!b.hasChildren()&&!M&&B(Object(u.b)(b.props)))},b.renderSwitcher=function(){var x=b.props,N=x.expanded,D=x.switcherIcon,M=b.props.context,R=M.prefixCls,F=M.switcherIcon,B=D||F;if(b.isLeaf())return t.createElement("span",{className:s()("".concat(R,"-switcher"),"".concat(R,"-switcher-noop"))},typeof B=="function"?B(Object(v.a)(Object(v.a)({},b.props),{},{isLeaf:!0})):B);var z=s()("".concat(R,"-switcher"),"".concat(R,"-switcher_").concat(N?i:h));return t.createElement("span",{onClick:b.onExpand,className:z},typeof B=="function"?B(Object(v.a)(Object(v.a)({},b.props),{},{isLeaf:!1})):B)},b.renderCheckbox=function(){var x=b.props,N=x.checked,D=x.halfChecked,M=x.disableCheckbox,R=b.props.context.prefixCls,F=b.isDisabled(),B=b.isCheckable();if(!B)return null;var z=typeof B!="boolean"?B:null;return t.createElement("span",{className:s()("".concat(R,"-checkbox"),N&&"".concat(R,"-checkbox-checked"),!N&&D&&"".concat(R,"-checkbox-indeterminate"),(F||M)&&"".concat(R,"-checkbox-disabled")),onClick:b.onCheck},z)},b.renderIcon=function(){var x=b.props.loading,N=b.props.context.prefixCls;return t.createElement("span",{className:s()("".concat(N,"-iconEle"),"".concat(N,"-icon__").concat(b.getNodeState()||"docu"),x&&"".concat(N,"-icon_loading"))})},b.renderSelector=function(){var x=b.state.dragNodeHighlight,N=b.props,D=N.title,M=N.selected,R=N.icon,F=N.loading,B=N.data,z=b.props.context,U=z.prefixCls,K=z.showIcon,W=z.icon,H=z.draggable,Y=z.loadData,Q=z.titleRender,P=b.isDisabled(),G="".concat(U,"-node-content-wrapper"),J;if(K){var he=R||W;J=he?t.createElement("span",{className:s()("".concat(U,"-iconEle"),"".concat(U,"-icon__customize"))},typeof he=="function"?he(b.props):he):b.renderIcon()}else Y&&F&&(J=b.renderIcon());var te;typeof D=="function"?te=D(B):Q?te=Q(B):te=D;var pe=t.createElement("span",{className:"".concat(U,"-title")},te);return t.createElement("span",{ref:b.setSelectHandle,title:typeof D=="string"?D:"",className:s()("".concat(G),"".concat(G,"-").concat(b.getNodeState()||"normal"),!P&&(M||x)&&"".concat(U,"-node-selected"),!P&&H&&"draggable"),draggable:!P&&H||void 0,"aria-grabbed":!P&&H||void 0,onMouseEnter:b.onMouseEnter,onMouseLeave:b.onMouseLeave,onContextMenu:b.onContextMenu,onClick:b.onSelectorClick,onDoubleClick:b.onSelectorDoubleClick,onDragStart:H?b.onDragStart:void 0},J,pe)},b}return Object(y.a)(T,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var x=this.props.selectable,N=this.props.context.selectable;return typeof x=="boolean"?x:N}},{key:"render",value:function(){var x,N=this.props,D=N.eventKey,M=N.className,R=N.style,F=N.dragOver,B=N.dragOverGapTop,z=N.dragOverGapBottom,U=N.isLeaf,K=N.isStart,W=N.isEnd,H=N.expanded,Y=N.selected,Q=N.checked,P=N.halfChecked,G=N.loading,J=N.domRef,he=N.active,te=N.onMouseMove,pe=Object(L.a)(N,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),we=this.props.context,be=we.prefixCls,Qe=we.filterTreeNode,$e=we.draggable,yt=we.keyEntities,Fe=this.isDisabled(),Pe=Object(n.f)(pe),gt=yt[D]||{},it=gt.level,qe=W[W.length-1];return t.createElement("div",Object.assign({ref:J,className:s()(M,"".concat(be,"-treenode"),(x={},Object(d.a)(x,"".concat(be,"-treenode-disabled"),Fe),Object(d.a)(x,"".concat(be,"-treenode-switcher-").concat(H?"open":"close"),!U),Object(d.a)(x,"".concat(be,"-treenode-checkbox-checked"),Q),Object(d.a)(x,"".concat(be,"-treenode-checkbox-indeterminate"),P),Object(d.a)(x,"".concat(be,"-treenode-selected"),Y),Object(d.a)(x,"".concat(be,"-treenode-loading"),G),Object(d.a)(x,"".concat(be,"-treenode-active"),he),Object(d.a)(x,"".concat(be,"-treenode-leaf-last"),qe),Object(d.a)(x,"drag-over",!Fe&&F),Object(d.a)(x,"drag-over-gap-top",!Fe&&B),Object(d.a)(x,"drag-over-gap-bottom",!Fe&&z),Object(d.a)(x,"filter-node",Qe&&Qe(Object(u.b)(this.props))),x)),style:R,onDragEnter:$e?this.onDragEnter:void 0,onDragOver:$e?this.onDragOver:void 0,onDragLeave:$e?this.onDragLeave:void 0,onDrop:$e?this.onDrop:void 0,onDragEnd:$e?this.onDragEnd:void 0,onMouseMove:te},Pe),t.createElement(r,{prefixCls:be,level:it,isStart:K,isEnd:W}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),T}(t.Component),C=function(O){return t.createElement(l.a.Consumer,null,function(T){return t.createElement(A,Object.assign({},O,{context:T}))})};C.displayName="TreeNode",C.defaultProps={title:p},C.isTreeNode=1;var S=_.a=C},I6NF:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};_.default=d},I6zq:function(Z,_,e){var d=e("E1KW"),L=e("SSBM"),v=L.getLayoutRect,m=e("spGK");function y(f,a,t){var o=f.getBoxLayoutParams();return o.aspect=t,v(o,{width:a.getWidth(),height:a.getHeight()})}function w(f,a){var t=[];return f.eachSeriesByType("graph",function(o){var s=o.get("coordinateSystem");if(!s||s==="view"){var l=o.getData(),n=l.mapArray(function(E){var O=l.getItemModel(E);return[+O.get("x"),+O.get("y")]}),c=[],r=[];m.fromPoints(n,c,r),r[0]-c[0]===0&&(r[0]+=1,c[0]-=1),r[1]-c[1]===0&&(r[1]+=1,c[1]-=1);var u=(r[0]-c[0])/(r[1]-c[1]),i=y(o,a,u);isNaN(u)&&(c=[i.x,i.y],r=[i.x+i.width,i.y+i.height]);var h=r[0]-c[0],p=r[1]-c[1],A=i.width,C=i.height,S=o.coordinateSystem=new d;S.zoomLimit=o.get("scaleLimit"),S.setBoundingRect(c[0],c[1],h,p),S.setViewRect(i.x,i.y,A,C),S.setCenter(o.get("center")),S.setZoom(o.get("zoom")),t.push(S)}}),t}Z.exports=w},I9We:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("q6d6"),m=e.n(v),y=e("VmQ4")},ICLB:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=v.createHashMap,y=v.isString,w=v.isArray,f=v.each,a=v.assert,t=e("BQia"),o=t.parseXML,s=m(),l={registerMap:function(c,r,u){var i;return w(r)?i=r:r.svg?i=[{type:"svg",source:r.svg,specialAreas:r.specialAreas}]:(r.geoJson&&!r.features&&(u=r.specialAreas,r=r.geoJson),i=[{type:"geoJSON",source:r,specialAreas:u}]),f(i,function(h){var p=h.type;p==="geoJson"&&(p=h.type="geoJSON");var A=n[p];A(h)}),s.set(c,i)},retrieveMap:function(c){return s.get(c)}},n={geoJSON:function(c){var r=c.source;c.geoJSON=y(r)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r},svg:function(c){c.svgXML=o(c.source)}};Z.exports=l},IDQs:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("FVtn");e("tFbR"),e("wCui"),e("DW/H"),e("O0fn"),e("gI//"),d.registerLayout(L.curry(v,"bar")),d.extendComponentView({type:"polar"})},IIfR:function(Z,_,e){"use strict";var d=e("LC9H"),L=e("M8PS"),v=e("Q1Fo")},IO27:function(Z,_,e){var d=e("iCoW"),L=e("XTQn"),v=e("oEo5"),m=v.isArray,y="itemStyle",w={seriesType:"treemap",reset:function(r,u,i,h){var p=r.getData().tree,A=p.root;if(A.isRemoved())return;f(A,{},r.getViewRoot().getAncestors(),r)}};function f(r,u,i,h){var p=r.getModel(),A=r.getLayout();if(!A||A.invisible||!A.isInView)return;var C=r.getModel(y),S=a(C,u,h),E=C.get("borderColor"),O=C.get("borderColorSaturation"),T;O!=null&&(T=t(S,r),E=o(O,T)),r.setVisual("borderColor",E);var b=r.viewChildren;if(!b||!b.length)T=t(S,r),r.setVisual("color",T);else{var x=l(r,p,A,C,S,b);v.each(b,function(N,D){if(N.depth>=i.length||N===i[N.depth]){var M=c(p,S,N,D,x,h);f(N,M,i,h)}})}}function a(r,u,i){var h=v.extend({},u),p=i.designatedVisualItemStyle;return v.each(["color","colorAlpha","colorSaturation"],function(A){p[A]=u[A];var C=r.get(A);p[A]=null,C!=null&&(h[A]=C)}),h}function t(r){var u=s(r,"color");if(u){var i=s(r,"colorAlpha"),h=s(r,"colorSaturation");return h&&(u=L.modifyHSL(u,null,null,h)),i&&(u=L.modifyAlpha(u,i)),u}}function o(r,u){return u!=null?L.modifyHSL(u,null,null,r):null}function s(r,u){var i=r[u];if(i!=null&&i!=="none")return i}function l(r,u,i,h,p,A){if(!A||!A.length)return;var C=n(u,"color")||p.color!=null&&p.color!=="none"&&(n(u,"colorAlpha")||n(u,"colorSaturation"));if(!C)return;var S=u.get("visualMin"),E=u.get("visualMax"),O=i.dataExtent.slice();S!=null&&S<O[0]&&(O[0]=S),E!=null&&E>O[1]&&(O[1]=E);var T=u.get("colorMappingBy"),b={type:C.name,dataExtent:O,visual:C.range};b.type==="color"&&(T==="index"||T==="id")?(b.mappingMethod="category",b.loop=!0):b.mappingMethod="linear";var x=new d(b);return x.__drColorMappingBy=T,x}function n(r,u){var i=r.get(u);return m(i)&&i.length?{name:u,range:i}:null}function c(r,u,i,h,p,A){var C=v.extend({},u);if(p){var S=p.type,E=S==="color"&&p.__drColorMappingBy,O=E==="index"?h:E==="id"?A.mapIdToIndex(i.getId()):i.getValue(r.get("visualDimension"));C[S]=p.mapValueToVisual(O)}return C}Z.exports=w},IPcT:function(Z,_,e){(function(d){var L;typeof window!="undefined"?L=window.__DEV__:typeof d!="undefined"&&(L=d.__DEV__),typeof L=="undefined"&&(L=!0);var v=L;_.__DEV__=v}).call(this,e("UywP"))},"IQq/":function(Z,_,e){var d=e("oEo5"),L=e("1JkX"),v=e("zYjg"),m=e("OKMW"),y=e("Az1A"),w=e("cARS"),f=e("QV7q"),a=f.makeInner,t=a(),o=d.clone,s=d.bind;function l(){}l.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(p,A,C,S){var E=A.get("value"),O=A.get("status");if(this._axisModel=p,this._axisPointerModel=A,this._api=C,!S&&this._lastValue===E&&this._lastStatus===O)return;this._lastValue=E,this._lastStatus=O;var T=this._group,b=this._handle;if(!O||O==="hide"){T&&T.hide(),b&&b.hide();return}T&&T.show(),b&&b.show();var x={};this.makeElOption(x,E,p,A,C);var N=x.graphicKey;N!==this._lastGraphicKey&&this.clear(C),this._lastGraphicKey=N;var D=this._moveAnimation=this.determineAnimation(p,A);if(!T)T=this._group=new v.Group,this.createPointerEl(T,x,p,A),this.createLabelEl(T,x,p,A),C.getZr().add(T);else{var M=d.curry(n,A,D);this.updatePointerEl(T,x,M,A),this.updateLabelEl(T,x,M,A)}i(T,A,!0),this._renderHandle(E)},remove:function(p){this.clear(p)},dispose:function(p){this.clear(p)},determineAnimation:function(p,A){var C=A.get("animation"),S=p.axis,E=S.type==="category",O=A.get("snap");if(!O&&!E)return!1;if(C==="auto"||C==null){var T=this.animationThreshold;if(E&&S.getBandWidth()>T)return!0;if(O){var b=m.getAxisInfo(p).seriesDataCount,x=S.getExtent();return Math.abs(x[0]-x[1])/b>T}return!1}return C===!0},makeElOption:function(p,A,C,S,E){},createPointerEl:function(p,A,C,S){var E=A.pointer;if(E){var O=t(p).pointerEl=new v[E.type](o(A.pointer));p.add(O)}},createLabelEl:function(p,A,C,S){if(A.label){var E=t(p).labelEl=new v.Rect(o(A.label));p.add(E),r(E,S)}},updatePointerEl:function(p,A,C){var S=t(p).pointerEl;S&&A.pointer&&(S.setStyle(A.pointer.style),C(S,{shape:A.pointer.shape}))},updateLabelEl:function(p,A,C,S){var E=t(p).labelEl;E&&(E.setStyle(A.label.style),C(E,{shape:A.label.shape,position:A.label.position}),r(E,S))},_renderHandle:function(p){if(this._dragging||!this.updateHandleTransform)return;var A=this._axisPointerModel,C=this._api.getZr(),S=this._handle,E=A.getModel("handle"),O=A.get("status");if(!E.get("show")||!O||O==="hide"){S&&C.remove(S),this._handle=null;return}var T;this._handle||(T=!0,S=this._handle=v.createIcon(E.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(N){y.stop(N.event)},onmousedown:s(this._onHandleDragMove,this,0,0),drift:s(this._onHandleDragMove,this),ondragend:s(this._onHandleDragEnd,this)}),C.add(S)),i(S,A,!1);var b=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];S.setStyle(E.getItemStyle(null,b));var x=E.get("size");d.isArray(x)||(x=[x,x]),S.attr("scale",[x[0]/2,x[1]/2]),w.createOrUpdate(this,"_doDispatchAxisPointer",E.get("throttle")||0,"fixRate"),this._moveHandleToValue(p,T)},_moveHandleToValue:function(p,A){n(this._axisPointerModel,!A&&this._moveAnimation,this._handle,u(this.getHandleTransform(p,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(p,A){var C=this._handle;if(!C)return;this._dragging=!0;var S=this.updateHandleTransform(u(C),[p,A],this._axisModel,this._axisPointerModel);this._payloadInfo=S,C.stopAnimation(),C.attr(u(S)),t(C).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var p=this._handle;if(!p)return;var A=this._payloadInfo,C=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:A.cursorPoint[0],y:A.cursorPoint[1],tooltipOption:A.tooltipOption,axesInfo:[{axisDim:C.axis.dim,axisIndex:C.componentIndex}]})},_onHandleDragEnd:function(p){this._dragging=!1;var A=this._handle;if(!A)return;var C=this._axisPointerModel.get("value");this._moveHandleToValue(C),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(p){this._lastValue=null,this._lastStatus=null;var A=p.getZr(),C=this._group,S=this._handle;A&&C&&(this._lastGraphicKey=null,C&&A.remove(C),S&&A.remove(S),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(p,A,C){return C=C||0,{x:p[C],y:p[1-C],width:A[C],height:A[1-C]}}},l.prototype.constructor=l;function n(p,A,C,S){c(t(C).lastProp,S)||(t(C).lastProp=S,A?v.updateProps(C,S,p):(C.stopAnimation(),C.attr(S)))}function c(p,A){if(d.isObject(p)&&d.isObject(A)){var C=!0;return d.each(A,function(S,E){C=C&&c(p[E],S)}),!!C}else return p===A}function r(p,A){p[A.get("label.show")?"show":"hide"]()}function u(p){return{position:p.position.slice(),rotation:p.rotation||0}}function i(p,A,C){var S=A.get("z"),E=A.get("zlevel");p&&p.traverse(function(O){O.type!=="group"&&(S!=null&&(O.z=S),E!=null&&(O.zlevel=E),O.silent=C)})}L.enableClassExtend(l);var h=l;Z.exports=h},IT7P:function(Z,_){var e="http://www.w3.org/2000/svg";function d(L){return document.createElementNS(e,L)}_.createElement=d},IU03:function(Z,_,e){var d=e("oEo5"),L=e("F62y"),v=e("zYjg"),m=e("342z"),y=["itemStyle"],w=["emphasis","itemStyle"],f=L.extend({type:"boxplot",render:function(n,c,r){var u=n.getData(),i=this.group,h=this._data;this._data||i.removeAll();var p=n.get("layout")==="horizontal"?1:0;u.diff(h).add(function(A){if(u.hasValue(A)){var C=u.getItemLayout(A),S=t(C,u,A,p,!0);u.setItemGraphicEl(A,S),i.add(S)}}).update(function(A,C){var S=h.getItemGraphicEl(C);if(!u.hasValue(A)){i.remove(S);return}var E=u.getItemLayout(A);S?o(E,S,u,A):S=t(E,u,A,p),i.add(S),u.setItemGraphicEl(A,S)}).remove(function(A){var C=h.getItemGraphicEl(A);C&&i.remove(C)}).execute(),this._data=u},remove:function(n){var c=this.group,r=this._data;this._data=null,r&&r.eachItemGraphicEl(function(u){u&&c.remove(u)})},dispose:d.noop}),a=m.extend({type:"boxplotBoxPath",shape:{},buildPath:function(n,c){var r=c.points,u=0;for(n.moveTo(r[u][0],r[u][1]),u++;u<4;u++)n.lineTo(r[u][0],r[u][1]);for(n.closePath();u<r.length;u++)n.moveTo(r[u][0],r[u][1]),u++,n.lineTo(r[u][0],r[u][1])}});function t(n,c,r,u,i){var h=n.ends,p=new a({shape:{points:i?s(h,u,n):h}});return o(n,p,c,r,i),p}function o(n,c,r,u,i){var h=r.hostModel,p=v[i?"initProps":"updateProps"];p(c,{shape:{points:n.ends}},h,u);var A=r.getItemModel(u),C=A.getModel(y),S=r.getItemVisual(u,"color"),E=C.getItemStyle(["borderColor"]);E.stroke=S,E.strokeNoScale=!0,c.useStyle(E),c.z2=100;var O=A.getModel(w).getItemStyle();v.setHoverStyle(c,O)}function s(n,c,r){return d.map(n,function(u){return u=u.slice(),u[c]=r.initBaseline,u})}var l=f;Z.exports=l},Imzy:function(Z,_,e){var d=e("oEo5"),L=e("UZiS"),v=e("BuVp"),m=e("GrP0"),y=d.bind,w=L.extend({type:"dataZoom.inside",init:function(s,l){this._range},render:function(s,l,n,c){w.superApply(this,"render",arguments),this._range=s.getPercentRange(),d.each(this.getTargetCoordInfo(),function(r,u){var i=d.map(r,function(h){return m.generateCoordId(h.model)});d.each(r,function(h){var p=h.model,A={};d.each(["pan","zoom","scrollMove"],function(C){A[C]=y(f[C],this,h,u)},this),m.register(n,{coordId:m.generateCoordId(p),allCoordIds:i,containsPoint:function(C,S,E){return p.coordinateSystem.containPoint([S,E])},dataZoomId:s.id,dataZoomModel:s,getRange:A})},this)},this)},dispose:function(){m.unregister(this.api,this.dataZoomModel.id),w.superApply(this,"dispose",arguments),this._range=null}}),f={zoom:function(s,l,n,c){var r=this._range,u=r.slice(),i=s.axisModels[0];if(!i)return;var h=t[l](null,[c.originX,c.originY],i,n,s),p=(h.signal>0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(u[1]-u[0])+u[0],A=Math.max(1/c.scale,0);u[0]=(u[0]-p)*A+p,u[1]=(u[1]-p)*A+p;var C=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(v(0,u,[0,100],0,C.minSpan,C.maxSpan),this._range=u,r[0]!==u[0]||r[1]!==u[1])return u},pan:a(function(s,l,n,c,r,u){var i=t[c]([u.oldX,u.oldY],[u.newX,u.newY],l,r,n);return i.signal*(s[1]-s[0])*i.pixel/i.pixelLength}),scrollMove:a(function(s,l,n,c,r,u){var i=t[c]([0,0],[u.scrollDelta,u.scrollDelta],l,r,n);return i.signal*(s[1]-s[0])*u.scrollDelta})};function a(s){return function(l,n,c,r){var u=this._range,i=u.slice(),h=l.axisModels[0];if(!h)return;var p=s(i,h,l,n,c,r);if(v(p,i,[0,100],"all"),this._range=i,u[0]!==i[0]||u[1]!==i[1])return i}}var t={grid:function(s,l,n,c,r){var u=n.axis,i={},h=r.model.coordinateSystem.getRect();return s=s||[0,0],u.dim==="x"?(i.pixel=l[0]-s[0],i.pixelLength=h.width,i.pixelStart=h.x,i.signal=u.inverse?1:-1):(i.pixel=l[1]-s[1],i.pixelLength=h.height,i.pixelStart=h.y,i.signal=u.inverse?-1:1),i},polar:function(s,l,n,c,r){var u=n.axis,i={},h=r.model.coordinateSystem,p=h.getRadiusAxis().getExtent(),A=h.getAngleAxis().getExtent();return s=s?h.pointToCoord(s):[0,0],l=h.pointToCoord(l),n.mainType==="radiusAxis"?(i.pixel=l[0]-s[0],i.pixelLength=p[1]-p[0],i.pixelStart=p[0],i.signal=u.inverse?1:-1):(i.pixel=l[1]-s[1],i.pixelLength=A[1]-A[0],i.pixelStart=A[0],i.signal=u.inverse?-1:1),i},singleAxis:function(s,l,n,c,r){var u=n.axis,i=r.model.coordinateSystem.getRect(),h={};return s=s||[0,0],u.orient==="horizontal"?(h.pixel=l[0]-s[0],h.pixelLength=i.width,h.pixelStart=i.x,h.signal=u.inverse?1:-1):(h.pixel=l[1]-s[1],h.pixelLength=i.height,h.pixelStart=i.y,h.signal=u.inverse?-1:1),h}},o=w;Z.exports=o},Iszb:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("Fpro"),m=e.n(v),y=e("MYAL"),w=e("XZgM"),f=e("RXQH")},IwPN:function(Z,_,e){var d=e("33CM"),L=e("sRpX"),v=e("gteZ"),m=e("naEU"),y=/[\\^$.*+?()[\]{}|]/g,w=/^\[object .+?Constructor\]$/,f=Function.prototype,a=Object.prototype,t=f.toString,o=a.hasOwnProperty,s=RegExp("^"+t.call(o).replace(y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(n){if(!v(n)||L(n))return!1;var c=d(n)?s:w;return c.test(m(n))}Z.exports=l},IyOB:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};_.default=d},"J+4g":function(Z,_,e){var d=e("zYjg"),L=e("+CNX");function v(l){this._ctor=l||L,this.group=new d.Group}var m=v.prototype;m.isPersistent=function(){return!0},m.updateData=function(l){var n=this,c=n.group,r=n._lineData;n._lineData=l,r||c.removeAll();var u=a(l);l.diff(r).add(function(i){y(n,l,i,u)}).update(function(i,h){w(n,r,l,h,i,u)}).remove(function(i){c.remove(r.getItemGraphicEl(i))}).execute()};function y(l,n,c,r){var u=n.getItemLayout(c);if(!o(u))return;var i=new l._ctor(n,c,r);n.setItemGraphicEl(c,i),l.group.add(i)}function w(l,n,c,r,u,i){var h=n.getItemGraphicEl(r);if(!o(c.getItemLayout(u))){l.group.remove(h);return}h?h.updateData(c,u,i):h=new l._ctor(c,u,i),c.setItemGraphicEl(u,h),l.group.add(h)}m.updateLayout=function(){var l=this._lineData;if(!l)return;l.eachItemGraphicEl(function(n,c){n.updateLayout(l,c)},this)},m.incrementalPrepareUpdate=function(l){this._seriesScope=a(l),this._lineData=null,this.group.removeAll()};function f(l){return l.animators&&l.animators.length>0}m.incrementalUpdate=function(l,n){function c(h){!h.isGroup&&!f(h)&&(h.incremental=h.useHoverLayer=!0)}for(var r=l.start;r<l.end;r++){var u=n.getItemLayout(r);if(o(u)){var i=new this._ctor(n,r,this._seriesScope);i.traverse(c),this.group.add(i),n.setItemGraphicEl(r,i)}}};function a(l){var n=l.hostModel;return{lineStyle:n.getModel("lineStyle").getLineStyle(),hoverLineStyle:n.getModel("emphasis.lineStyle").getLineStyle(),labelModel:n.getModel("label"),hoverLabelModel:n.getModel("emphasis.label")}}m.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},m._clearIncremental=function(){var l=this._incremental;l&&l.clearDisplaybles()};function t(l){return isNaN(l[0])||isNaN(l[1])}function o(l){return!t(l[0])&&!t(l[1])}var s=v;Z.exports=s},J6tL:function(Z,_,e){var d=e("F2Ao"),L=e("Jjzi"),v=L.parsePercent,m=Math.PI/180;function y(t,o,s,l,n,c,r,u,i,h){t.sort(function(D,M){return D.y-M.y});function p(D,M,R,F){for(var B=D;B<M&&!(t[B].y+R>i+r);B++)if(t[B].y+=R,B>D&&B+1<M&&t[B+1].y>t[B].y+t[B].height){A(B,R/2);return}A(M-1,R/2)}function A(D,M){for(var R=D;R>=0&&!(t[R].y-M<i);R--)if(t[R].y-=M,R>0&&t[R].y>t[R-1].y+t[R-1].height)break}function C(D,M,R,F,B,z){for(var U=(z>0,M?Number.MAX_VALUE:0),K=0,W=D.length;K<W;K++){if(D[K].labelAlignTo!=="none")continue;var H=Math.abs(D[K].y-F),Y=D[K].len,Q=D[K].len2,P=H<B+Y?Math.sqrt((B+Y+Q)*(B+Y+Q)-H*H):Math.abs(D[K].x-R);M&&P>=U&&(P=U-10),!M&&P<=U&&(P=U+10),D[K].x=R+P*z,U=P}}for(var S=0,E,O=t.length,T=[],b=[],x=0;x<O;x++){if(t[x].position==="outer"&&t[x].labelAlignTo==="labelLine"){var N=t[x].x-h;t[x].linePoints[1][0]+=N,t[x].x=h}E=t[x].y-S,E<0&&p(x,O,-E,n),S=t[x].y+t[x].height}r-S<0&&A(O-1,S-r);for(var x=0;x<O;x++)t[x].y>=s?b.push(t[x]):T.push(t[x]);C(T,!1,o,s,l,n),C(b,!0,o,s,l,n)}function w(t,o,s,l,n,c,r,u){for(var i=[],h=[],p=Number.MAX_VALUE,A=-Number.MAX_VALUE,C=0;C<t.length;C++){if(f(t[C]))continue;t[C].x<o?(p=Math.min(p,t[C].x),i.push(t[C])):(A=Math.max(A,t[C].x),h.push(t[C]))}y(h,o,s,l,1,n,c,r,u,A),y(i,o,s,l,-1,n,c,r,u,p);for(var C=0;C<t.length;C++){var S=t[C];if(f(S))continue;var E=S.linePoints;if(E){var O=S.labelAlignTo==="edge",T=S.textRect.width,b;O?S.x<o?b=E[2][0]-S.labelDistance-r-S.labelMargin:b=r+n-S.labelMargin-E[2][0]-S.labelDistance:S.x<o?b=S.x-r-S.bleedMargin:b=r+n-S.x-S.bleedMargin,b<S.textRect.width&&(S.text=d.truncateText(S.text,b,S.font),S.labelAlignTo==="edge"&&(T=d.getWidth(S.text,S.font)));var x=E[1][0]-E[2][0];O?S.x<o?E[2][0]=r+S.labelMargin+T+S.labelDistance:E[2][0]=r+n-S.labelMargin-T-S.labelDistance:(S.x<o?E[2][0]=S.x+S.labelDistance:E[2][0]=S.x-S.labelDistance,E[1][0]=E[2][0]+x),E[1][1]=E[2][1]=S.y}}}function f(t){return t.position==="center"}function a(t,o,s,l,n,c){var r=t.getData(),u=[],i,h,p=!1,A=(t.get("minShowLabelAngle")||0)*m;r.each(function(C){var S=r.getItemLayout(C),E=r.getItemModel(C),O=E.getModel("label"),T=O.get("position")||E.get("emphasis.label.position"),b=O.get("distanceToLabelLine"),x=O.get("alignTo"),N=v(O.get("margin"),s),D=O.get("bleedMargin"),M=O.getFont(),R=E.getModel("labelLine"),F=R.get("length");F=v(F,s);var B=R.get("length2");if(B=v(B,s),S.angle<A)return;var z=(S.startAngle+S.endAngle)/2,U=Math.cos(z),K=Math.sin(z),W,H,Y,Q;i=S.cx,h=S.cy;var P=t.getFormattedLabel(C,"normal")||r.getName(C),G=d.getBoundingRect(P,M,Q,"top"),J=T==="inside"||T==="inner";if(T==="center")W=S.cx,H=S.cy,Q="center";else{var he=(J?(S.r+S.r0)/2*U:S.r*U)+i,te=(J?(S.r+S.r0)/2*K:S.r*K)+h;if(W=he+U*3,H=te+K*3,!J){var pe=he+U*(F+o-S.r),we=te+K*(F+o-S.r),be=pe+(U<0?-1:1)*B,Qe=we;x==="edge"?W=U<0?n+N:n+s-N:W=be+(U<0?-b:b),H=Qe,Y=[[he,te],[pe,we],[be,Qe]]}Q=J?"center":x==="edge"?U>0?"right":"left":U>0?"left":"right"}var $e,yt=O.get("rotate");typeof yt=="number"?$e=yt*(Math.PI/180):$e=yt?U<0?-z+Math.PI:-z:0,p=!!$e,S.label={x:W,y:H,position:T,height:G.height,len:F,len2:B,linePoints:Y,textAlign:Q,verticalAlign:"middle",rotation:$e,inside:J,labelDistance:b,labelAlignTo:x,labelMargin:N,bleedMargin:D,textRect:G,text:P,font:M},J||u.push(S.label)}),!p&&t.get("avoidLabelOverlap")&&w(u,i,h,o,s,l,n,c)}Z.exports=a},JArH:function(Z,_,e){var d=e("jBg4"),L=e("pygv"),v=e("iz/G"),m=e("feRE"),y=1/0,w=d?d.prototype:void 0,f=w?w.toString:void 0;function a(t){if(typeof t=="string")return t;if(v(t))return L(t,a)+"";if(m(t))return f?f.call(t):"";var o=t+"";return o=="0"&&1/t==-y?"-0":o}Z.exports=a},JICT:function(Z,_){function e(d){var L=this.has(d)&&delete this.__data__[d];return this.size-=L?1:0,L}Z.exports=e},JOzO:function(Z,_,e){var d=e("oEo5"),L=e("zYjg"),v=e("SSBM"),m=e("MR2Q"),y=L.Group,w=["width","height"],f=["x","y"],a=m.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){a.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new y),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new y),this._showController},resetInner:function(){a.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(o,s,l,n,c,r,u){var i=this;a.superCall(this,"renderInner",o,s,l,n,c,r,u);var h=this._controllerGroup,p=s.get("pageIconSize",!0);d.isArray(p)||(p=[p,p]),C("pagePrev",0);var A=s.getModel("pageTextStyle");h.add(new L.Text({name:"pageText",style:{textFill:A.getTextColor(),font:A.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),C("pageNext",1);function C(S,E){var O=S+"DataIndex",T=L.createIcon(s.get("pageIcons",!0)[s.getOrient().name][E],{onclick:d.bind(i._pageGo,i,O,s,n)},{x:-p[0]/2,y:-p[1]/2,width:p[0],height:p[1]});T.name=S,h.add(T)}},layoutInner:function(o,s,l,n,c,r){var u=this.getSelectorGroup(),i=o.getOrient().index,h=w[i],p=f[i],A=w[1-i],C=f[1-i];c&&v.box("horizontal",u,o.get("selectorItemGap",!0));var S=o.get("selectorButtonGap",!0),E=u.getBoundingRect(),O=[-E.x,-E.y],T=d.clone(l);c&&(T[h]=l[h]-E[h]-S);var b=this._layoutContentAndController(o,n,T,i,h,A,C);if(c){if(r==="end")O[i]+=b[h]+S;else{var x=E[h]+S;O[i]-=x,b[p]-=x}b[h]+=E[h]+S,O[1-i]+=b[C]+b[A]/2-E[A]/2,b[A]=Math.max(b[A],E[A]),b[C]=Math.min(b[C],E[C]+O[1-i]),u.attr("position",O)}return b},_layoutContentAndController:function(o,s,l,n,c,r,u){var i=this.getContentGroup(),h=this._containerGroup,p=this._controllerGroup;v.box(o.get("orient"),i,o.get("itemGap"),n?l.width:null,n?null:l.height),v.box("horizontal",p,o.get("pageButtonItemGap",!0));var A=i.getBoundingRect(),C=p.getBoundingRect(),S=this._showController=A[c]>l[c],E=[-A.x,-A.y];s||(E[n]=i.position[n]);var O=[0,0],T=[-C.x,-C.y],b=d.retrieve2(o.get("pageButtonGap",!0),o.get("itemGap",!0));if(S){var x=o.get("pageButtonPosition",!0);x==="end"?T[n]+=l[c]-C[c]:O[n]+=C[c]+b}T[1-n]+=A[r]/2-C[r]/2,i.attr("position",E),h.attr("position",O),p.attr("position",T);var N={x:0,y:0};if(N[c]=S?l[c]:A[c],N[r]=Math.max(A[r],C[r]),N[u]=Math.min(0,C[u]+T[1-n]),h.__rectSize=l[c],S){var D={x:0,y:0};D[c]=Math.max(l[c]-C[c]-b,0),D[r]=N[r],h.setClipPath(new L.Rect({shape:D})),h.__rectSize=D[c]}else p.eachChild(function(R){R.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(o);return M.pageIndex!=null&&L.updateProps(i,{position:M.contentPosition},S?o:!1),this._updatePageInfoView(o,M),N},_pageGo:function(o,s,l){var n=this._getPageInfo(s)[o];n!=null&&l.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:s.id})},_updatePageInfoView:function(o,s){var l=this._controllerGroup;d.each(["pagePrev","pageNext"],function(h){var p=s[h+"DataIndex"]!=null,A=l.childOfName(h);A&&(A.setStyle("fill",p?o.get("pageIconColor",!0):o.get("pageIconInactiveColor",!0)),A.cursor=p?"pointer":"default")});var n=l.childOfName("pageText"),c=o.get("pageFormatter"),r=s.pageIndex,u=r!=null?r+1:0,i=s.pageCount;n&&c&&n.setStyle("text",d.isString(c)?c.replace("{current}",u).replace("{total}",i):c({current:u,total:i}))},_getPageInfo:function(o){var s=o.get("scrollDataIndex",!0),l=this.getContentGroup(),n=this._containerGroup.__rectSize,c=o.getOrient().index,r=w[c],u=f[c],i=this._findTargetItemIndex(s),h=l.children(),p=h[i],A=h.length,C=A?1:0,S={contentPosition:l.position.slice(),pageCount:C,pageIndex:C-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!p)return S;var E=N(p);S.contentPosition[c]=-E.s;for(var O=i+1,T=E,b=E,x=null;O<=A;++O)x=N(h[O]),(!x&&b.e>T.s+n||x&&!D(x,T.s))&&(b.i>T.i?T=b:T=x,T&&(S.pageNextDataIndex==null&&(S.pageNextDataIndex=T.i),++S.pageCount)),b=x;for(var O=i-1,T=E,b=E,x=null;O>=-1;--O)x=N(h[O]),(!x||!D(b,x.s))&&T.i<b.i&&(b=T,S.pagePrevDataIndex==null&&(S.pagePrevDataIndex=T.i),++S.pageCount,++S.pageIndex),T=x;return S;function N(M){if(M){var R=M.getBoundingRect(),F=R[u]+M.position[c];return{s:F,e:F+R[r],i:M.__legendDataIndex}}}function D(M,R){return M.e>=R&&M.s<=R+n}},_findTargetItemIndex:function(o){if(!this._showController)return 0;var s,l=this.getContentGroup(),n;return l.eachChild(function(c,r){var u=c.__legendDataIndex;n==null&&u!=null&&(n=r),u===o&&(s=r)}),s!=null?s:n}}),t=a;Z.exports=t},JS14:function(Z,_,e){"use strict";var d=e("55MS"),L=e("FGJx"),v=e("o0AO"),m=e("uwZC"),y=e("lpH6"),w=e("ZZRV"),f=e.n(w),a=e("vSEn"),t=e("7AgF"),o=e("nWwB"),s=e("A1W9"),l=e("BlUI"),n="rc-observer-key",c=function(r){Object(m.a)(i,r);var u=Object(y.a)(i);function i(){var h;return Object(L.a)(this,i),h=u.apply(this,arguments),h.resizeObserver=null,h.childNode=null,h.currentElement=null,h.state={width:0,height:0,offsetHeight:0,offsetWidth:0},h.onResize=function(p){var A=h.props.onResize,C=p[0].target,S=C.getBoundingClientRect(),E=S.width,O=S.height,T=C.offsetWidth,b=C.offsetHeight,x=Math.floor(E),N=Math.floor(O);if(h.state.width!==x||h.state.height!==N||h.state.offsetWidth!==T||h.state.offsetHeight!==b){var D={width:x,height:N,offsetWidth:T,offsetHeight:b};h.setState(D),A&&Promise.resolve().then(function(){A(Object(d.a)(Object(d.a)({},D),{},{offsetWidth:T,offsetHeight:b}))})}},h.setChildNode=function(p){h.childNode=p},h}return Object(v.a)(i,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var p=this.props.disabled;if(p){this.destroyObserver();return}var A=Object(a.a)(this.childNode||this),C=A!==this.currentElement;C&&(this.destroyObserver(),this.currentElement=A),!this.resizeObserver&&A&&(this.resizeObserver=new l.default(this.onResize),this.resizeObserver.observe(A))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var p=this.props.children,A=Object(t.a)(p);if(A.length>1)Object(o.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(A.length===0)return Object(o.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var C=A[0];if(w.isValidElement(C)&&Object(s.c)(C)){var S=C.ref;A[0]=w.cloneElement(C,{ref:Object(s.a)(S,this.setChildNode)})}return A.length===1?A[0]:A.map(function(E,O){return!w.isValidElement(E)||"key"in E&&E.key!==null?E:w.cloneElement(E,{key:"".concat(n,"-").concat(O)})})}}]),i}(w.Component);c.displayName="ResizeObserver",_.a=c},JSme:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("Q6Bq"),m=e("oEo5"),y=e("gyjJ"),w=e("QV7q"),f=e("/j53"),a=e("fSdY"),t=m.each,o=f.eachAxisDim,s=v.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(r,u,i){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var h=l(r);this.settledOption=h,this.mergeDefaultAndTheme(r,i),this.doInit(h)},mergeOption:function(r){var u=l(r);m.merge(this.option,r,!0),m.merge(this.settledOption,u,!0),this.doInit(u)},doInit:function(r){var u=this.option;y.canvasSupported||(u.realtime=!1),this._setDefaultThrottle(r),n(this,r);var i=this.settledOption;t([["start","startValue"],["end","endValue"]],function(h,p){this._rangePropMode[p]==="value"&&(u[h[0]]=i[h[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var r=this._axisProxies;this.eachTargetAxis(function(u,i,h,p){var A=this.dependentModels[u.axis][i],C=A.__dzAxisProxy||(A.__dzAxisProxy=new a(u.name,i,this,p));r[u.name+"_"+i]=C},this)},_resetTarget:function(){var r=this.option,u=this._judgeAutoMode();o(function(i){var h=i.axisIndex;r[h]=w.normalizeToArray(r[h])},this),u==="axisIndex"?this._autoSetAxisIndex():u==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var r=this.option,u=!1;o(function(h){r[h.axisIndex]!=null&&(u=!0)},this);var i=r.orient;if(i==null&&u)return"orient";if(!u)return i==null&&(r.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var r=!0,u=this.get("orient",!0),i=this.option,h=this.dependentModels;if(r){var p=u==="vertical"?"y":"x";h[p+"Axis"].length?(i[p+"AxisIndex"]=[0],r=!1):t(h.singleAxis,function(A){r&&A.get("orient",!0)===u&&(i.singleAxisIndex=[A.componentIndex],r=!1)})}r&&o(function(A){if(!r)return;var C=[],S=this.dependentModels[A.axis];if(S.length&&!C.length)for(var E=0,O=S.length;E<O;E++)S[E].get("type")==="category"&&C.push(E);i[A.axisIndex]=C,C.length&&(r=!1)},this),r&&this.ecModel.eachSeries(function(A){this._isSeriesHasAllAxesTypeOf(A,"value")&&o(function(C){var S=i[C.axisIndex],E=A.get(C.axisIndex),O=A.get(C.axisId),T=A.ecModel.queryComponents({mainType:C.axis,index:E,id:O})[0];E=T.componentIndex,m.indexOf(S,E)<0&&S.push(E)})},this)},_autoSetOrient:function(){var r;this.eachTargetAxis(function(u){!r&&(r=u.name)},this),this.option.orient=r==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(r,u){var i=!0;return o(function(h){var p=r.get(h.axisIndex),A=this.dependentModels[h.axis][p];(!A||A.get("type")!==u)&&(i=!1)},this),i},_setDefaultThrottle:function(r){if(r.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var u=this.ecModel.option;this.option.throttle=u.animation&&u.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var r;return o(function(u){if(r==null){var i=this.get(u.axisIndex);i.length&&(r=this.dependentModels[u.axis][i[0]])}},this),r},eachTargetAxis:function(r,u){var i=this.ecModel;o(function(h){t(this.get(h.axisIndex),function(p){r.call(u,h,p,this,i)},this)},this)},getAxisProxy:function(r,u){return this._axisProxies[r+"_"+u]},getAxisModel:function(r,u){var i=this.getAxisProxy(r,u);return i&&i.getAxisModel()},setRawRange:function(r){var u=this.option,i=this.settledOption;t([["start","startValue"],["end","endValue"]],function(h){(r[h[0]]!=null||r[h[1]]!=null)&&(u[h[0]]=i[h[0]]=r[h[0]],u[h[1]]=i[h[1]]=r[h[1]])},this),n(this,r)},setCalculatedRange:function(r){var u=this.option;t(["start","startValue","end","endValue"],function(i){u[i]=r[i]})},getPercentRange:function(){var r=this.findRepresentativeAxisProxy();if(r)return r.getDataPercentWindow()},getValueRange:function(r,u){if(r==null&&u==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(r,u).getDataValueWindow()},findRepresentativeAxisProxy:function(r){if(r)return r.__dzAxisProxy;var u=this._axisProxies;for(var i in u)if(u.hasOwnProperty(i)&&u[i].hostedBy(this))return u[i];for(var i in u)if(u.hasOwnProperty(i)&&!u[i].hostedBy(this))return u[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});function l(r){var u={};return t(["start","end","startValue","endValue","throttle"],function(i){r.hasOwnProperty(i)&&(u[i]=r[i])}),u}function n(r,u){var i=r._rangePropMode,h=r.get("rangeMode");t([["start","startValue"],["end","endValue"]],function(p,A){var C=u[p[0]]!=null,S=u[p[1]]!=null;C&&!S?i[A]="percent":!C&&S?i[A]="value":h?i[A]=h[A]:C&&(i[A]="percent")})}var c=s;Z.exports=c},JT1M:function(Z,_,e){"use strict";e.d(_,"a",function(){return A.a});var d=e("zjzt"),L=e("55MS"),v=e("V0hb"),m=e("FGJx"),y=e("o0AO"),w=e("uwZC"),f=e("lpH6"),a=e("ZZRV"),t=e("ggzp"),o=e("nWwB"),s=e("iczh"),l=e.n(s),n=e("VqEN"),c=e("AoPA"),r=e("1c8c"),u=e("GZha"),i=e("buSX"),h=e("E/Lu"),p=e("X/IY"),A=e("I3N6"),C=function(J,he){var te=J.className,pe=J.style,we=J.motion,be=J.motionNodes,Qe=J.motionType,$e=J.onMotionStart,yt=J.onMotionEnd,Fe=J.active,Pe=J.treeNodeRequiredProps,gt=Object(i.a)(J,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),it=a.useState(!0),qe=Object(u.a)(it,2),At=qe[0],dt=qe[1],wt=a.useContext(n.a),Ye=wt.prefixCls,mt=a.useRef(!1),Ue=function(){mt.current||yt(),mt.current=!0};return Object(a.useEffect)(function(){be&&Qe==="hide"&&At&&dt(!1)},[be]),Object(a.useEffect)(function(){return be&&$e(),function(){be&&Ue()}},[]),be?a.createElement(p.default,Object.assign({ref:he,visible:At},we,{motionAppear:Qe==="show",onAppearEnd:Ue,onLeaveEnd:Ue}),function(Re,Le){var at=Re.className,Ot=Re.style;return a.createElement("div",{ref:Le,className:l()("".concat(Ye,"-treenode-motion"),at),style:Ot},be.map(function(Tt){var Ft=Tt.data,ke=Ft.key,Vt=Object(i.a)(Ft,["key"]),bt=Tt.isStart,Rt=Tt.isEnd;delete Vt.children;var Nt=Object(r.f)(ke,Pe);return a.createElement(A.a,Object.assign({},Vt,Nt,{active:Fe,data:Tt.data,key:ke,isStart:bt,isEnd:Rt}))}))}):a.createElement(A.a,Object.assign({domRef:he,className:te,style:pe},gt,{active:Fe}))};C.displayName="MotionTreeNode";var S=a.forwardRef(C),E=S;function O(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],he=G.length,te=J.length;if(Math.abs(he-te)!==1)return{add:!1,key:null};function pe(we,be){var Qe=new Map;we.forEach(function(yt){Qe.set(yt,!0)});var $e=be.filter(function(yt){return!Qe.has(yt)});return $e.length===1?$e[0]:null}return he<te?{add:!0,key:pe(G,J)}:{add:!1,key:pe(J,G)}}function T(G,J,he){var te=G.findIndex(function(Qe){var $e=Qe.data;return $e.key===he}),pe=G[te+1],we=J.findIndex(function(Qe){var $e=Qe.data;return $e.key===he});if(pe){var be=J.findIndex(function(Qe){var $e=Qe.data;return $e.key===pe.data.key});return J.slice(we+1,be)}return J.slice(we+1)}var b={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},x=function(){},N="RC_TREE_MOTION_".concat(Math.random()),D={key:N},M={key:N,level:0,index:0,pos:"0",node:D},R={parent:null,children:[],pos:M.pos,data:D,isStart:[],isEnd:[]};function F(G,J,he,te){return J===!1||!he?G:G.slice(0,Math.ceil(he/te)+1)}function B(G){var J=G.data.key,he=G.pos;return Object(r.e)(J,he)}function z(G){for(var J=String(G.data.key),he=G;he.parent;)he=he.parent,J="".concat(he.data.key," > ").concat(J);return J}var U=function(J,he){var te=J.prefixCls,pe=J.data,we=J.selectable,be=J.checkable,Qe=J.expandedKeys,$e=J.selectedKeys,yt=J.checkedKeys,Fe=J.loadedKeys,Pe=J.loadingKeys,gt=J.halfCheckedKeys,it=J.keyEntities,qe=J.disabled,At=J.dragging,dt=J.dragOverNodeKey,wt=J.dropPosition,Ye=J.motion,mt=J.height,Ue=J.itemHeight,Re=J.virtual,Le=J.focusable,at=J.activeItem,Ot=J.focused,Tt=J.tabIndex,Ft=J.onKeyDown,ke=J.onFocus,Vt=J.onBlur,bt=J.onActiveChange,Rt=J.onListChangeStart,Nt=J.onListChangeEnd,xt=Object(i.a)(J,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),Ut=a.useRef(null);a.useImperativeHandle(he,function(){return{scrollTo:function(st){Ut.current.scrollTo(st)}}});var Ze=a.useState(Qe),ze=Object(u.a)(Ze,2),re=ze[0],le=ze[1],Xe=a.useState(pe),_e=Object(u.a)(Xe,2),je=_e[0],ar=_e[1],zt=a.useState(pe),Pt=Object(u.a)(zt,2),qt=Pt[0],or=Pt[1],Kt=a.useState([]),Mt=Object(u.a)(Kt,2),me=Mt[0],ce=Mt[1],ae=a.useState(null),de=Object(u.a)(ae,2),Se=de[0],Ce=de[1];function Ie(){ar(pe),or(pe),ce([]),Ce(null),Nt()}a.useEffect(function(){le(Qe);var He=O(re,Qe);if(He.key!==null)if(He.add){var st=je.findIndex(function(se){var ge=se.data.key;return ge===He.key}),vt=F(T(je,pe,He.key),Re,mt,Ue),ee=je.slice();ee.splice(st+1,0,R),or(ee),ce(vt),Ce("show")}else{var oe=pe.findIndex(function(se){var ge=se.data.key;return ge===He.key}),k=F(T(pe,je,He.key),Re,mt,Ue),$=pe.slice();$.splice(oe+1,0,R),or($),ce(k),Ce("hide")}else je!==pe&&(ar(pe),or(pe))},[Qe,pe]),a.useEffect(function(){At||Ie()},[At]);var Te=Ye?qt:pe,Ee={expandedKeys:Qe,selectedKeys:$e,loadedKeys:Fe,loadingKeys:Pe,checkedKeys:yt,halfCheckedKeys:gt,dragOverNodeKey:dt,dropPosition:wt,keyEntities:it};return a.createElement(a.Fragment,null,Ot&&at&&a.createElement("span",{style:b,"aria-live":"assertive"},z(at)),a.createElement("div",{role:"tree"},a.createElement("input",{style:b,disabled:Le===!1||qe,tabIndex:Le!==!1?Tt:null,onKeyDown:Ft,onFocus:ke,onBlur:Vt,value:"",onChange:x})),a.createElement(h.a,Object.assign({},xt,{data:Te,itemKey:B,height:mt,fullHeight:!1,virtual:Re,itemHeight:Ue,prefixCls:"".concat(te,"-list"),ref:Ut}),function(He){var st=He.pos,vt=He.data,ee=vt.key,oe=Object(i.a)(vt,["key"]),k=He.isStart,$=He.isEnd,se=Object(r.e)(ee,st);delete oe.children;var ge=Object(r.f)(se,Ee);return a.createElement(E,Object.assign({},oe,ge,{active:at&&ee===at.data.key,pos:st,data:He.data,isStart:k,isEnd:$,motion:Ye,motionNodes:ee===N?me:null,motionType:Se,onMotionStart:Rt,onMotionEnd:Ie,treeNodeRequiredProps:Ee,onMouseMove:function(){bt(null)}}))}))},K=a.forwardRef(U);K.displayName="NodeList";var W=K,H=e("7ZCg"),Y=function(G){Object(w.a)(he,G);var J=Object(f.a)(he);function he(){var te;return Object(m.a)(this,he),te=J.apply(this,arguments),te.destroyed=!1,te.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},te.listRef=a.createRef(),te.onNodeDragStart=function(pe,we){var be=te.state,Qe=be.expandedKeys,$e=be.keyEntities,yt=te.props.onDragStart,Fe=we.props.eventKey;te.dragNode=we;var Pe=Object(c.b)(Qe,Fe);te.setState({dragging:!0,dragNodesKeys:Object(c.g)(Fe,$e)}),te.setExpandedKeys(Pe),yt&&yt({event:pe,node:Object(r.b)(we.props)})},te.onNodeDragEnter=function(pe,we){var be=te.state,Qe=be.expandedKeys,$e=be.keyEntities,yt=be.dragNodesKeys,Fe=te.props.onDragEnter,Pe=we.props,gt=Pe.pos,it=Pe.eventKey;if(!te.dragNode||yt.indexOf(it)!==-1)return;var qe=Object(c.c)(pe,we);if(te.dragNode.props.eventKey===it&&qe===0){te.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){te.setState({dragOverNodeKey:it,dropPosition:qe}),te.delayedDragEnterLogic||(te.delayedDragEnterLogic={}),Object.keys(te.delayedDragEnterLogic).forEach(function(At){clearTimeout(te.delayedDragEnterLogic[At])}),te.delayedDragEnterLogic[gt]=window.setTimeout(function(){if(!te.state.dragging)return;var At=Object(v.a)(Qe),dt=$e[it];dt&&(dt.children||[]).length&&(At=Object(c.a)(Qe,it)),"expandedKeys"in te.props||te.setExpandedKeys(At),Fe&&Fe({event:pe,node:Object(r.b)(we.props),expandedKeys:At})},400)},0)},te.onNodeDragOver=function(pe,we){var be=te.state.dragNodesKeys,Qe=te.props.onDragOver,$e=we.props.eventKey;if(be.indexOf($e)!==-1)return;if(te.dragNode&&$e===te.state.dragOverNodeKey){var yt=Object(c.c)(pe,we);if(yt===te.state.dropPosition)return;te.setState({dropPosition:yt})}Qe&&Qe({event:pe,node:Object(r.b)(we.props)})},te.onNodeDragLeave=function(pe,we){var be=te.props.onDragLeave;te.setState({dragOverNodeKey:""}),be&&be({event:pe,node:Object(r.b)(we.props)})},te.onNodeDragEnd=function(pe,we){var be=te.props.onDragEnd;te.setState({dragOverNodeKey:""}),te.cleanDragState(),be&&be({event:pe,node:Object(r.b)(we.props)}),te.dragNode=null},te.onNodeDrop=function(pe,we){var be=te.state,Qe=be.dragNodesKeys,$e=Qe===void 0?[]:Qe,yt=be.dropPosition,Fe=te.props.onDrop,Pe=we.props,gt=Pe.eventKey,it=Pe.pos;if(te.setState({dragOverNodeKey:""}),te.cleanDragState(),$e.indexOf(gt)!==-1){Object(o.a)(!1,"Can not drop to dragNode(include it's children node)");return}var qe=Object(c.k)(it),At={event:pe,node:Object(r.b)(we.props),dragNode:te.dragNode?Object(r.b)(te.dragNode.props):null,dragNodesKeys:$e.slice(),dropPosition:yt+Number(qe[qe.length-1]),dropToGap:!1};yt!==0&&(At.dropToGap=!0),Fe&&Fe(At),te.dragNode=null},te.cleanDragState=function(){var pe=te.state.dragging;pe&&te.setState({dragging:!1})},te.onNodeClick=function(pe,we){var be=te.props.onClick;be&&be(pe,we)},te.onNodeDoubleClick=function(pe,we){var be=te.props.onDoubleClick;be&&be(pe,we)},te.onNodeSelect=function(pe,we){var be=te.state.selectedKeys,Qe=te.state.keyEntities,$e=te.props,yt=$e.onSelect,Fe=$e.multiple,Pe=we.selected,gt=we.key,it=!Pe;it?Fe?be=Object(c.a)(be,gt):be=[gt]:be=Object(c.b)(be,gt);var qe=be.map(function(At){var dt=Qe[At];return dt?dt.node:null}).filter(function(At){return At});te.setUncontrolledState({selectedKeys:be}),yt&&yt(be,{event:"select",selected:it,node:we,selectedNodes:qe,nativeEvent:pe.nativeEvent})},te.onNodeCheck=function(pe,we,be){var Qe=te.state,$e=Qe.keyEntities,yt=Qe.checkedKeys,Fe=Qe.halfCheckedKeys,Pe=te.props,gt=Pe.checkStrictly,it=Pe.onCheck,qe=we.key,At,dt={event:"check",node:we,checked:be,nativeEvent:pe.nativeEvent};if(gt){var wt=be?Object(c.a)(yt,qe):Object(c.b)(yt,qe),Ye=Object(c.b)(Fe,qe);At={checked:wt,halfChecked:Ye},dt.checkedNodes=wt.map(function(Ot){return $e[Ot]}).filter(function(Ot){return Ot}).map(function(Ot){return Ot.node}),te.setUncontrolledState({checkedKeys:wt})}else{var mt=Object(H.a)([].concat(Object(v.a)(yt),[qe]),!0,$e),Ue=mt.checkedKeys,Re=mt.halfCheckedKeys;if(!be){var Le=new Set(Ue);Le.delete(qe);var at=Object(H.a)(Array.from(Le),{checked:!1,halfCheckedKeys:Re},$e);Ue=at.checkedKeys,Re=at.halfCheckedKeys}At=Ue,dt.checkedNodes=[],dt.checkedNodesPositions=[],dt.halfCheckedKeys=Re,Ue.forEach(function(Ot){var Tt=$e[Ot];if(!Tt)return;var Ft=Tt.node,ke=Tt.pos;dt.checkedNodes.push(Ft),dt.checkedNodesPositions.push({node:Ft,pos:ke})}),te.setUncontrolledState({checkedKeys:Ue},!1,{halfCheckedKeys:Re})}it&&it(At,dt)},te.onNodeLoad=function(pe){return new Promise(function(we){te.setState(function(be){var Qe=be.loadedKeys,$e=Qe===void 0?[]:Qe,yt=be.loadingKeys,Fe=yt===void 0?[]:yt,Pe=te.props,gt=Pe.loadData,it=Pe.onLoad,qe=pe.key;if(!gt||$e.indexOf(qe)!==-1||Fe.indexOf(qe)!==-1)return{};var At=gt(pe);return At.then(function(){var dt=te.state,wt=dt.loadedKeys,Ye=dt.loadingKeys,mt=Object(c.a)(wt,qe),Ue=Object(c.b)(Ye,qe);it&&it(mt,{event:"load",node:pe}),te.setUncontrolledState({loadedKeys:mt}),te.setState({loadingKeys:Ue}),we()}),{loadingKeys:Object(c.a)(Fe,qe)}})})},te.onNodeMouseEnter=function(pe,we){var be=te.props.onMouseEnter;be&&be({event:pe,node:we})},te.onNodeMouseLeave=function(pe,we){var be=te.props.onMouseLeave;be&&be({event:pe,node:we})},te.onNodeContextMenu=function(pe,we){var be=te.props.onRightClick;be&&(pe.preventDefault(),be({event:pe,node:we}))},te.onFocus=function(){var pe=te.props.onFocus;te.setState({focused:!0}),pe&&pe.apply(void 0,arguments)},te.onBlur=function(){var pe=te.props.onBlur;te.setState({focused:!1}),te.onActiveChange(null),pe&&pe.apply(void 0,arguments)},te.getTreeNodeRequiredProps=function(){var pe=te.state,we=pe.expandedKeys,be=pe.selectedKeys,Qe=pe.loadedKeys,$e=pe.loadingKeys,yt=pe.checkedKeys,Fe=pe.halfCheckedKeys,Pe=pe.dragOverNodeKey,gt=pe.dropPosition,it=pe.keyEntities;return{expandedKeys:we||[],selectedKeys:be||[],loadedKeys:Qe||[],loadingKeys:$e||[],checkedKeys:yt||[],halfCheckedKeys:Fe||[],dragOverNodeKey:Pe,dropPosition:gt,keyEntities:it}},te.setExpandedKeys=function(pe){var we=te.state.treeData,be=Object(r.d)(we,pe);te.setUncontrolledState({expandedKeys:pe,flattenNodes:be},!0)},te.onNodeExpand=function(pe,we){var be=te.state.expandedKeys,Qe=te.state.listChanging,$e=te.props,yt=$e.onExpand,Fe=$e.loadData,Pe=we.key,gt=we.expanded;if(Qe)return;var it=be.indexOf(Pe),qe=!gt;if(Object(o.a)(gt&&it!==-1||!gt&&it===-1,"Expand state not sync with index check"),qe?be=Object(c.a)(be,Pe):be=Object(c.b)(be,Pe),te.setExpandedKeys(be),yt&&yt(be,{node:we,expanded:qe,nativeEvent:pe.nativeEvent}),qe&&Fe){var At=te.onNodeLoad(we);At&&At.then(function(){var dt=Object(r.d)(te.state.treeData,be);te.setUncontrolledState({flattenNodes:dt})})}},te.onListChangeStart=function(){te.setUncontrolledState({listChanging:!0})},te.onListChangeEnd=function(){setTimeout(function(){te.setUncontrolledState({listChanging:!1})})},te.onActiveChange=function(pe){var we=te.state.activeKey,be=te.props.onActiveChange;if(we===pe)return;te.setState({activeKey:pe}),pe!==null&&te.scrollTo({key:pe}),be&&be(pe)},te.getActiveItem=function(){var pe=te.state,we=pe.activeKey,be=pe.flattenNodes;return we===null?null:be.find(function(Qe){var $e=Qe.data.key;return $e===we})||null},te.offsetActiveKey=function(pe){var we=te.state,be=we.flattenNodes,Qe=we.activeKey,$e=be.findIndex(function(Pe){var gt=Pe.data.key;return gt===Qe});$e===-1&&pe<0&&($e=be.length),$e=($e+pe+be.length)%be.length;var yt=be[$e];if(yt){var Fe=yt.data.key;te.onActiveChange(Fe)}else te.onActiveChange(null)},te.onKeyDown=function(pe){var we=te.state,be=we.activeKey,Qe=we.expandedKeys,$e=we.checkedKeys,yt=te.props,Fe=yt.onKeyDown,Pe=yt.checkable,gt=yt.selectable;switch(pe.which){case t.a.UP:{te.offsetActiveKey(-1),pe.preventDefault();break}case t.a.DOWN:{te.offsetActiveKey(1),pe.preventDefault();break}}var it=te.getActiveItem();if(it&&it.data){var qe=te.getTreeNodeRequiredProps(),At=it.data.isLeaf===!1||!!(it.data.children||[]).length,dt=Object(r.b)(Object(L.a)(Object(L.a)({},Object(r.f)(be,qe)),{},{data:it.data,active:!0}));switch(pe.which){case t.a.LEFT:{At&&Qe.includes(be)?te.onNodeExpand({},dt):it.parent&&te.onActiveChange(it.parent.data.key),pe.preventDefault();break}case t.a.RIGHT:{At&&!Qe.includes(be)?te.onNodeExpand({},dt):it.children&&it.children.length&&te.onActiveChange(it.children[0].data.key),pe.preventDefault();break}case t.a.ENTER:case t.a.SPACE:{Pe&&!dt.disabled&&dt.checkable!==!1&&!dt.disableCheckbox?te.onNodeCheck({},dt,!$e.includes(be)):!Pe&>&&!dt.disabled&&dt.selectable!==!1&&te.onNodeSelect({},dt);break}}}Fe&&Fe(pe)},te.setUncontrolledState=function(pe){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(te.destroyed)return;var Qe=!1,$e=!0,yt={};Object.keys(pe).forEach(function(Fe){if(Fe in te.props){$e=!1;return}Qe=!0,yt[Fe]=pe[Fe]}),Qe&&(!we||$e)&&te.setState(Object(L.a)(Object(L.a)({},yt),be))},te.scrollTo=function(pe){te.listRef.current.scrollTo(pe)},te}return Object(y.a)(he,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var pe,we=this.state,be=we.focused,Qe=we.flattenNodes,$e=we.keyEntities,yt=we.dragging,Fe=we.activeKey,Pe=this.props,gt=Pe.prefixCls,it=Pe.className,qe=Pe.style,At=Pe.showLine,dt=Pe.focusable,wt=Pe.tabIndex,Ye=wt===void 0?0:wt,mt=Pe.selectable,Ue=Pe.showIcon,Re=Pe.icon,Le=Pe.switcherIcon,at=Pe.draggable,Ot=Pe.checkable,Tt=Pe.checkStrictly,Ft=Pe.disabled,ke=Pe.motion,Vt=Pe.loadData,bt=Pe.filterTreeNode,Rt=Pe.height,Nt=Pe.itemHeight,xt=Pe.virtual,Ut=Pe.titleRender,Ze=Pe.onContextMenu,ze=Object(c.f)(this.props);return a.createElement(n.a.Provider,{value:{prefixCls:gt,selectable:mt,showIcon:Ue,icon:Re,switcherIcon:Le,draggable:at,checkable:Ot,checkStrictly:Tt,disabled:Ft,keyEntities:$e,loadData:Vt,filterTreeNode:bt,titleRender:Ut,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{className:l()(gt,it,(pe={},Object(d.a)(pe,"".concat(gt,"-show-line"),At),Object(d.a)(pe,"".concat(gt,"-focused"),be),Object(d.a)(pe,"".concat(gt,"-active-focused"),Fe!==null),pe))},a.createElement(W,Object.assign({ref:this.listRef,prefixCls:gt,style:qe,data:Qe,disabled:Ft,selectable:mt,checkable:!!Ot,motion:ke,dragging:yt,height:Rt,itemHeight:Nt,virtual:xt,focusable:dt,focused:be,tabIndex:Ye,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ze},this.getTreeNodeRequiredProps(),ze))))}}],[{key:"getDerivedStateFromProps",value:function(pe,we){var be=we.prevProps,Qe={prevProps:pe};function $e(Re){return!be&&Re in pe||be&&be[Re]!==pe[Re]}var yt;if($e("treeData")?yt=pe.treeData:$e("children")&&(Object(o.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),yt=Object(r.c)(pe.children)),yt){Qe.treeData=yt;var Fe=Object(r.a)(yt);Qe.keyEntities=Object(L.a)(Object(d.a)({},N,M),Fe.keyEntities)}var Pe=Qe.keyEntities||we.keyEntities;if($e("expandedKeys")||be&&$e("autoExpandParent"))Qe.expandedKeys=pe.autoExpandParent||!be&&pe.defaultExpandParent?Object(c.e)(pe.expandedKeys,Pe):pe.expandedKeys;else if(!be&&pe.defaultExpandAll){var gt=Object(L.a)({},Pe);delete gt[N],Qe.expandedKeys=Object.keys(gt).map(function(Re){return gt[Re].key})}else!be&&pe.defaultExpandedKeys&&(Qe.expandedKeys=pe.autoExpandParent||pe.defaultExpandParent?Object(c.e)(pe.defaultExpandedKeys,Pe):pe.defaultExpandedKeys);if(Qe.expandedKeys||delete Qe.expandedKeys,yt||Qe.expandedKeys){var it=Object(r.d)(yt||we.treeData,Qe.expandedKeys||we.expandedKeys);Qe.flattenNodes=it}if(pe.selectable&&($e("selectedKeys")?Qe.selectedKeys=Object(c.d)(pe.selectedKeys,pe):!be&&pe.defaultSelectedKeys&&(Qe.selectedKeys=Object(c.d)(pe.defaultSelectedKeys,pe))),pe.checkable){var qe;if($e("checkedKeys")?qe=Object(c.j)(pe.checkedKeys)||{}:!be&&pe.defaultCheckedKeys?qe=Object(c.j)(pe.defaultCheckedKeys)||{}:yt&&(qe=Object(c.j)(pe.checkedKeys)||{checkedKeys:we.checkedKeys,halfCheckedKeys:we.halfCheckedKeys}),qe){var At=qe,dt=At.checkedKeys,wt=dt===void 0?[]:dt,Ye=At.halfCheckedKeys,mt=Ye===void 0?[]:Ye;if(!pe.checkStrictly){var Ue=Object(H.a)(wt,!0,Pe);wt=Ue.checkedKeys,mt=Ue.halfCheckedKeys}Qe.checkedKeys=wt,Qe.halfCheckedKeys=mt}}return $e("loadedKeys")&&(Qe.loadedKeys=pe.loadedKeys),Qe}}]),he}(a.Component);Y.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},Y.TreeNode=A.a;var Q=Y,P=_.b=Q},JWwY:function(Z,_,e){var d=e("Q6Bq"),L=e("yMz6"),v=L.updateCenterAndZoom;d.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(m,y){y.eachComponent({mainType:"series",subType:"tree",query:m},function(w){var f=m.dataIndex,a=w.getData().tree,t=a.getNodeByDataIndex(f);t.isExpand=!t.isExpand})}),d.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(m,y){y.eachComponent({mainType:"series",subType:"tree",query:m},function(w){var f=w.coordinateSystem,a=v(f,m);w.setCenter&&w.setCenter(a.center),w.setZoom&&w.setZoom(a.zoom)})})},JhJE:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=L.createHashMap,m=L.each;d.registerProcessor({getTargetSeries:function(y){var w=v();return y.eachComponent("dataZoom",function(f){f.eachTargetAxis(function(a,t,o){var s=o.getAxisProxy(a.name,t);m(s.getTargetSeriesModels(),function(l){w.set(l.uid,l)})})}),w},modifyOutputEnd:!0,overallReset:function(y,w){y.eachComponent("dataZoom",function(f){f.eachTargetAxis(function(a,t,o){o.getAxisProxy(a.name,t).reset(o,w)}),f.eachTargetAxis(function(a,t,o){o.getAxisProxy(a.name,t).filterData(o,w)})}),y.eachComponent("dataZoom",function(f){var a=f.findRepresentativeAxisProxy(),t=a.getDataPercentWindow(),o=a.getDataValueWindow();f.setCalculatedRange({start:t[0],end:t[1],startValue:o[0],endValue:o[1]})})}})},Jjzi:function(Z,_,e){var d=e("oEo5"),L=1e-4;function v(E){return E.replace(/^\s+|\s+$/g,"")}function m(E,O,T,b){var x=O[1]-O[0],N=T[1]-T[0];if(x===0)return N===0?T[0]:(T[0]+T[1])/2;if(b)if(x>0){if(E<=O[0])return T[0];if(E>=O[1])return T[1]}else{if(E>=O[0])return T[0];if(E<=O[1])return T[1]}else{if(E===O[0])return T[0];if(E===O[1])return T[1]}return(E-O[0])/x*N+T[0]}function y(E,O){switch(E){case"center":case"middle":E="50%";break;case"left":case"top":E="0%";break;case"right":case"bottom":E="100%";break}return typeof E=="string"?v(E).match(/%$/)?parseFloat(E)/100*O:parseFloat(E):E==null?NaN:+E}function w(E,O,T){return O==null&&(O=10),O=Math.min(Math.max(0,O),20),E=(+E).toFixed(O),T?E:+E}function f(E){return E.sort(function(O,T){return O-T}),E}function a(E){if(E=+E,isNaN(E))return 0;for(var O=1,T=0;Math.round(E*O)/O!==E;)O*=10,T++;return T}function t(E){var O=E.toString(),T=O.indexOf("e");if(T>0){var b=+O.slice(T+1);return b<0?-b:0}else{var x=O.indexOf(".");return x<0?0:O.length-1-x}}function o(E,O){var T=Math.log,b=Math.LN10,x=Math.floor(T(E[1]-E[0])/b),N=Math.round(T(Math.abs(O[1]-O[0]))/b),D=Math.min(Math.max(-x+N,0),20);return isFinite(D)?D:20}function s(E,O,T){if(!E[O])return 0;var b=d.reduce(E,function(W,H){return W+(isNaN(H)?0:H)},0);if(b===0)return 0;for(var x=Math.pow(10,T),N=d.map(E,function(W){return(isNaN(W)?0:W)/b*x*100}),D=x*100,M=d.map(N,function(W){return Math.floor(W)}),R=d.reduce(M,function(W,H){return W+H},0),F=d.map(N,function(W,H){return W-M[H]});R<D;){for(var B=Number.NEGATIVE_INFINITY,z=null,U=0,K=F.length;U<K;++U)F[U]>B&&(B=F[U],z=U);++M[z],F[z]=0,++R}return M[O]/x}var l=9007199254740991;function n(E){var O=Math.PI*2;return(E%O+O)%O}function c(E){return E>-L&&E<L}var r=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function u(E){if(E instanceof Date)return E;if(typeof E=="string"){var O=r.exec(E);if(!O)return new Date(NaN);if(O[8]){var T=+O[4]||0;return O[8].toUpperCase()!=="Z"&&(T-=O[8].slice(0,3)),new Date(Date.UTC(+O[1],+(O[2]||1)-1,+O[3]||1,T,+(O[5]||0),+O[6]||0,+O[7]||0))}else return new Date(+O[1],+(O[2]||1)-1,+O[3]||1,+O[4]||0,+(O[5]||0),+O[6]||0,+O[7]||0)}else if(E==null)return new Date(NaN);return new Date(Math.round(E))}function i(E){return Math.pow(10,h(E))}function h(E){if(E===0)return 0;var O=Math.floor(Math.log(E)/Math.LN10);return E/Math.pow(10,O)>=10&&O++,O}function p(E,O){var T=h(E),b=Math.pow(10,T),x=E/b,N;return O?x<1.5?N=1:x<2.5?N=2:x<4?N=3:x<7?N=5:N=10:x<1?N=1:x<2?N=2:x<3?N=3:x<5?N=5:N=10,E=N*b,T>=-20?+E.toFixed(T<0?-T:0):E}function A(E,O){var T=(E.length-1)*O+1,b=Math.floor(T),x=+E[b-1],N=T-b;return N?x+N*(E[b]-x):x}function C(E){E.sort(function(R,F){return M(R,F,0)?-1:1});for(var O=-Infinity,T=1,b=0;b<E.length;){for(var x=E[b].interval,N=E[b].close,D=0;D<2;D++)x[D]<=O&&(x[D]=O,N[D]=D?1:1-T),O=x[D],T=N[D];x[0]===x[1]&&N[0]*N[1]!==1?E.splice(b,1):b++}return E;function M(R,F,B){return R.interval[B]<F.interval[B]||R.interval[B]===F.interval[B]&&(R.close[B]-F.close[B]===(B?-1:1)||!B&&M(R,F,1))}}function S(E){return E-parseFloat(E)>=0}_.linearMap=m,_.parsePercent=y,_.round=w,_.asc=f,_.getPrecision=a,_.getPrecisionSafe=t,_.getPixelPrecision=o,_.getPercentWithPrecision=s,_.MAX_SAFE_INTEGER=l,_.remRadian=n,_.isRadianAroundZero=c,_.parseDate=u,_.quantity=i,_.quantityExponent=h,_.nice=p,_.quantile=A,_.reformIntervals=C,_.isNumeric=S},JkS2:function(Z,_){function e(m){return m}function d(m,y,w,f,a){this._old=m,this._new=y,this._oldKeyGetter=w||e,this._newKeyGetter=f||e,this.context=a}d.prototype={constructor:d,add:function(m){return this._add=m,this},update:function(m){return this._update=m,this},remove:function(m){return this._remove=m,this},execute:function(){var m=this._old,y=this._new,w={},f={},a=[],t=[],o;for(L(m,w,a,"_oldKeyGetter",this),L(y,f,t,"_newKeyGetter",this),o=0;o<m.length;o++){var s=a[o],l=f[s];if(l!=null){var n=l.length;n?(n===1&&(f[s]=null),l=l.shift()):f[s]=null,this._update&&this._update(l,o)}else this._remove&&this._remove(o)}for(var o=0;o<t.length;o++){var s=t[o];if(f.hasOwnProperty(s)){var l=f[s];if(l==null)continue;if(!l.length)this._add&&this._add(l);else for(var c=0,n=l.length;c<n;c++)this._add&&this._add(l[c])}}}};function L(m,y,w,f,a){for(var t=0;t<m.length;t++){var o="_ec_"+a[f](m[t],t),s=y[o];s==null?(w.push(o),y[o]=t):(s.length||(y[o]=s=[s]),s.push(t))}}var v=d;Z.exports=v},JoY0:function(Z,_,e){var d=e("342z"),L=e("Wa83"),v=e("Wr3P"),m=v.quadraticSubdivide,y=v.cubicSubdivide,w=v.quadraticAt,f=v.cubicAt,a=v.quadraticDerivativeAt,t=v.cubicDerivativeAt,o=[];function s(n,c,r){var u=n.cpx2,i=n.cpy2;return u===null||i===null?[(r?t:f)(n.x1,n.cpx1,n.cpx2,n.x2,c),(r?t:f)(n.y1,n.cpy1,n.cpy2,n.y2,c)]:[(r?a:w)(n.x1,n.cpx1,n.x2,c),(r?a:w)(n.y1,n.cpy1,n.y2,c)]}var l=d.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(c,r){var u=r.x1,i=r.y1,h=r.x2,p=r.y2,A=r.cpx1,C=r.cpy1,S=r.cpx2,E=r.cpy2,O=r.percent;if(O===0)return;c.moveTo(u,i),S==null||E==null?(O<1&&(m(u,A,h,O,o),A=o[1],h=o[2],m(i,C,p,O,o),C=o[1],p=o[2]),c.quadraticCurveTo(A,C,h,p)):(O<1&&(y(u,A,S,h,O,o),A=o[1],S=o[2],h=o[3],y(i,C,E,p,O,o),C=o[1],E=o[2],p=o[3]),c.bezierCurveTo(A,C,S,E,h,p))},pointAt:function(c){return s(this.shape,c,!1)},tangentAt:function(c){var r=s(this.shape,c,!0);return L.normalize(r,r)}});Z.exports=l},JqtM:function(Z,_){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var d=0,L=e;_.debugMode=d,_.devicePixelRatio=L},Ju7t:function(Z,_,e){var d=e("oEo5"),L=e("P0S0"),v=e("kY/L"),m=e("1JkX"),y=m.enableClassManagement,w=m.parseClassType,f=e("QV7q"),a=f.makeInner,t=e("SSBM"),o=e("EUeE"),s=a(),l=L.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(r,u,i,h){L.call(this,r,u,i,h),this.uid=v.getUID("ec_cpt_model")},init:function(r,u,i,h){this.mergeDefaultAndTheme(r,i)},mergeDefaultAndTheme:function(r,u){var i=this.layoutMode,h=i?t.getLayoutParams(r):{},p=u.getTheme();d.merge(r,p.get(this.mainType)),d.merge(r,this.getDefaultOption()),i&&t.mergeLayoutParam(r,h,i)},mergeOption:function(r,u){d.merge(this.option,r,!0);var i=this.layoutMode;i&&t.mergeLayoutParam(this.option,r,i)},optionUpdated:function(r,u){},getDefaultOption:function(){var r=s(this);if(!r.defaultOption){for(var u=[],i=this.constructor;i;){var h=i.prototype.defaultOption;h&&u.push(h),i=i.superClass}for(var p={},A=u.length-1;A>=0;A--)p=d.merge(p,u[A],!0);r.defaultOption=p}return r.defaultOption},getReferringComponents:function(r){return this.ecModel.queryComponents({mainType:r,index:this.get(r+"Index",!0),id:this.get(r+"Id",!0)})}});y(l,{registerWhenExtend:!0}),v.enableSubTypeDefaulter(l),v.enableTopologicalTravel(l,n);function n(r){var u=[];return d.each(l.getClassesByMainType(r),function(i){u=u.concat(i.prototype.dependencies||[])}),u=d.map(u,function(i){return w(i).main}),r!=="dataset"&&d.indexOf(u,"dataset")<=0&&u.unshift("dataset"),u}d.mixin(l,o);var c=l;Z.exports=c},Jy93:function(Z,_,e){e("mpOK");var d=e("qp2x"),L=d.registerPainter,v=e("vfQ3");L("vml",v)},K4SB:function(Z,_,e){var d=e("oEo5");function L(m,y){var w={};return d.each(m,function(f){f.each(f.mapDimension("value"),function(a,t){var o="ec-"+f.getName(t);w[o]=w[o]||[],isNaN(a)||w[o].push(a)})}),m[0].map(m[0].mapDimension("value"),function(f,a){for(var t="ec-"+m[0].getName(a),o=0,s=Infinity,l=-Infinity,n=w[t].length,c=0;c<n;c++)s=Math.min(s,w[t][c]),l=Math.max(l,w[t][c]),o+=w[t][c];var r;return y==="min"?r=s:y==="max"?r=l:y==="average"?r=o/n:r=o,n===0?NaN:r})}function v(m){var y={};m.eachSeriesByType("map",function(w){var f=w.getHostGeoModel(),a=f?"o"+f.id:"i"+w.getMapType();(y[a]=y[a]||[]).push(w)}),d.each(y,function(w,f){for(var a=L(d.map(w,function(o){return o.getData()}),w[0].get("mapValueCalculation")),t=0;t<w.length;t++)w[t].originalData=w[t].getData();for(var t=0;t<w.length;t++)w[t].seriesGroup=w,w[t].needsDrawMap=t===0&&!w[t].getHostGeoModel(),w[t].setData(a.cloneShallow()),w[t].mainSeries=w[0]})}Z.exports=v},KAmQ:function(Z,_){Z.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var d=document.activeElement,L=[],v=0;v<e.rangeCount;v++)L.push(e.getRangeAt(v));switch(d.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":d.blur();break;default:d=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||L.forEach(function(m){e.addRange(m)}),d&&d.focus()}}},KBjX:function(Z,_){function e(d,L,v,m,y,w){if(w>L&&w>m||w<L&&w<m)return 0;if(m===L)return 0;var f=m<L?1:-1,a=(w-L)/(m-L);(a===1||a===0)&&(f=m<L?.5:-.5);var t=a*(v-d)+d;return t===y?Infinity:t>y?f:0}Z.exports=e},KFRP:function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("ofoi"),w=e.n(y),f=e("ZZRV"),a=e("iczh"),t=e.n(a),o=function(W){var H=W.prefixCls,Y=W.className,Q=W.width,P=W.style;return f.createElement("h3",{className:t()(H,Y),style:m()({width:Q},P)})},s=o,l=e("bOtj"),n=e.n(l),c=function(W){var H=function(te){var pe=W.width,we=W.rows,be=we===void 0?2:we;return Array.isArray(pe)?pe[te]:be-1===te?pe:void 0},Y=W.prefixCls,Q=W.className,P=W.style,G=W.rows,J=n()(Array(G)).map(function(he,te){return f.createElement("li",{key:te,style:{width:H(te)}})});return f.createElement("ul",{className:t()(Y,Q),style:P},J)},r=c,u=e("LpVx"),i=function(W){var H,Y,Q=W.prefixCls,P=W.className,G=W.style,J=W.size,he=W.shape,te=t()((H={},L()(H,"".concat(Q,"-lg"),J==="large"),L()(H,"".concat(Q,"-sm"),J==="small"),H)),pe=t()((Y={},L()(Y,"".concat(Q,"-circle"),he==="circle"),L()(Y,"".concat(Q,"-square"),he==="square"),L()(Y,"".concat(Q,"-round"),he==="round"),Y)),we=typeof J=="number"?{width:J,height:J,lineHeight:"".concat(J,"px")}:{};return f.createElement("span",{className:t()(Q,P,te,pe),style:m()(m()({},we),G)})},h=i,p=e("3CTf"),A=function(W){var H=function(Q){var P=Q.getPrefixCls,G=W.prefixCls,J=W.className,he=W.active,te=P("skeleton",G),pe=Object(p.default)(W,["prefixCls"]),we=t()(te,J,"".concat(te,"-element"),L()({},"".concat(te,"-active"),he));return f.createElement("div",{className:we},f.createElement(h,m()({prefixCls:"".concat(te,"-avatar")},pe)))};return f.createElement(u.a,null,H)};A.defaultProps={size:"default",shape:"circle"};var C=A,S=function(W){var H=function(Q){var P=Q.getPrefixCls,G=W.prefixCls,J=W.className,he=W.active,te=P("skeleton",G),pe=Object(p.default)(W,["prefixCls"]),we=t()(te,J,"".concat(te,"-element"),L()({},"".concat(te,"-active"),he));return f.createElement("div",{className:we},f.createElement(h,m()({prefixCls:"".concat(te,"-button")},pe)))};return f.createElement(u.a,null,H)};S.defaultProps={size:"default"};var E=S,O=function(W){var H=function(Q){var P=Q.getPrefixCls,G=W.prefixCls,J=W.className,he=W.active,te=P("skeleton",G),pe=Object(p.default)(W,["prefixCls"]),we=t()(te,J,"".concat(te,"-element"),L()({},"".concat(te,"-active"),he));return f.createElement("div",{className:we},f.createElement(h,m()({prefixCls:"".concat(te,"-input")},pe)))};return f.createElement(u.a,null,H)};O.defaultProps={size:"default"};var T=O,b="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",x=function(W){var H=function(Q){var P=Q.getPrefixCls,G=W.prefixCls,J=W.className,he=W.style,te=P("skeleton",G),pe=t()(te,J,"".concat(te,"-element"));return f.createElement("div",{className:pe},f.createElement("div",{className:t()("".concat(te,"-image"),J),style:he},f.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(te,"-image-svg")},f.createElement("path",{d:b,className:"".concat(te,"-image-path")}))))};return f.createElement(u.a,null,H)},N=x;function D(K){return K&&w()(K)==="object"?K:{}}function M(K,W){return K&&!W?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function R(K,W){return!K&&W?{width:"38%"}:K&&W?{width:"50%"}:{}}function F(K,W){var H={};return(!K||!W)&&(H.width="61%"),!K&&W?H.rows=3:H.rows=2,H}var B=function(W){var H=function(Q){var P=Q.getPrefixCls,G=Q.direction,J=W.prefixCls,he=W.loading,te=W.className,pe=W.children,we=W.avatar,be=W.title,Qe=W.paragraph,$e=W.active,yt=W.round,Fe=P("skeleton",J);if(he||!("loading"in W)){var Pe,gt=!!we,it=!!be,qe=!!Qe,At;if(gt){var dt=m()(m()({prefixCls:"".concat(Fe,"-avatar")},M(it,qe)),D(we));At=f.createElement("div",{className:"".concat(Fe,"-header")},f.createElement(h,dt))}var wt;if(it||qe){var Ye;if(it){var mt=m()(m()({prefixCls:"".concat(Fe,"-title")},R(gt,qe)),D(be));Ye=f.createElement(s,mt)}var Ue;if(qe){var Re=m()(m()({prefixCls:"".concat(Fe,"-paragraph")},F(gt,it)),D(Qe));Ue=f.createElement(r,Re)}wt=f.createElement("div",{className:"".concat(Fe,"-content")},Ye,Ue)}var Le=t()(Fe,te,(Pe={},L()(Pe,"".concat(Fe,"-with-avatar"),gt),L()(Pe,"".concat(Fe,"-active"),$e),L()(Pe,"".concat(Fe,"-rtl"),G==="rtl"),L()(Pe,"".concat(Fe,"-round"),yt),Pe));return f.createElement("div",{className:Le},At,wt)}return pe};return f.createElement(u.a,null,H)};B.defaultProps={avatar:!1,title:!0,paragraph:!0},B.Button=E,B.Avatar=C,B.Input=T,B.Image=N;var z=B,U=_.a=z},KGov:function(Z,_,e){var d=e("xTec"),L=e("SSBM"),v=L.mergeLayoutParam,m=L.getLayoutParams,y=d.extend({type:"legend.scroll",setScrollDataIndex:function(a){this.option.scrollDataIndex=a},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(a,t,o,s){var l=m(a);y.superCall(this,"init",a,t,o,s),w(this,a,l)},mergeOption:function(a,t){y.superCall(this,"mergeOption",a,t),w(this,this.option,a)}});function w(a,t,o){var s=a.getOrient(),l=[1,1];l[s.index]=0,v(t,o,{type:"box",ignoreSize:l})}var f=y;Z.exports=f},"KSZ+":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("6MbY"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},KZcC:function(Z,_,e){var d=e("oEo5"),L=e("rkXN"),v=e("Jjzi"),m=[20,140],y=L.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(a,t){y.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(o){o.mappingMethod="linear",o.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){y.superApply(this,"resetItemSize",arguments);var a=this.itemSize;this._orient==="horizontal"&&a.reverse(),(a[0]==null||isNaN(a[0]))&&(a[0]=m[0]),(a[1]==null||isNaN(a[1]))&&(a[1]=m[1])},_resetRange:function(){var a=this.getExtent(),t=this.option.range;!t||t.auto?(a.auto=1,this.option.range=a):d.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],a[0]),t[1]=Math.min(t[1],a[1]))},completeVisualOption:function(){L.prototype.completeVisualOption.apply(this,arguments),d.each(this.stateList,function(a){var t=this.option.controller[a].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)},this)},setSelected:function(a){this.option.range=a.slice(),this._resetRange()},getSelected:function(){var a=this.getExtent(),t=v.asc((this.get("range")||[]).slice());return t[0]>a[1]&&(t[0]=a[1]),t[1]>a[1]&&(t[1]=a[1]),t[0]<a[0]&&(t[0]=a[0]),t[1]<a[0]&&(t[1]=a[0]),t},getValueState:function(a){var t=this.option.range,o=this.getExtent();return(t[0]<=o[0]||t[0]<=a)&&(t[1]>=o[1]||a<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(a){var t=[];return this.eachTargetSeries(function(o){var s=[],l=o.getData();l.each(this.getDataDimension(l),function(n,c){a[0]<=n&&n<=a[1]&&s.push(c)},this),t.push({seriesId:o.id,dataIndex:s})},this),t},getVisualMeta:function(a){var t=w(this,"outOfRange",this.getExtent()),o=w(this,"inRange",this.option.range.slice()),s=[];function l(p,A){s.push({value:p,color:a(p,A)})}for(var n=0,c=0,r=o.length,u=t.length;c<u&&(!o.length||t[c]<=o[0]);c++)t[c]<o[n]&&l(t[c],"outOfRange");for(var i=1;n<r;n++,i=0)i&&s.length&&l(o[n],"outOfRange"),l(o[n],"inRange");for(var i=1;c<u;c++)(!o.length||o[o.length-1]<t[c])&&(i&&(s.length&&l(s[s.length-1].value,"outOfRange"),i=0),l(t[c],"outOfRange"));var h=s.length;return{stops:s,outerColors:[h?s[0].color:"transparent",h?s[h-1].color:"transparent"]}}});function w(a,t,o){if(o[0]===o[1])return o.slice();for(var s=200,l=(o[1]-o[0])/s,n=o[0],c=[],r=0;r<=s&&n<o[1];r++)c.push(n),n+=l;return c.push(o[1]),c}var f=y;Z.exports=f},KfRZ:function(Z,_,e){},KmN3:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("6x2K"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},KomR:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};_.default=d},KpzO:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};_.default=d},KsgI:function(Z,_,e){var d=e("oEo5"),L=e("Ju7t"),v=e("P7pv"),m=e("l1R7"),y=L.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),w={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function f(t,o){return o.type||(o.data?"category":"value")}d.merge(y.prototype,m),v("single",y,f,w);var a=y;Z.exports=a},Kuav:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("zYjg");e("aXVC"),e("I0KN"),d.extendComponentView({type:"grid",render:function(m,y){this.group.removeAll(),m.get("show")&&this.group.add(new v.Rect({shape:m.coordinateSystem.getRect(),style:L.defaults({fill:m.get("backgroundColor")},m.getItemStyle()),silent:!0,z2:-1}))}}),d.registerPreprocessor(function(m){m.xAxis&&m.yAxis&&!m.grid&&(m.grid={})})},L7QV:function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("XDlA"),w=e.n(y),f=e("T5E4"),a=e.n(f),t=e("8ULG"),o=e.n(t),s=e("XneU"),l=e.n(s),n=e("Hdxz"),c=e.n(n),r=e("ZZRV"),u=e.n(r),i=e("iczh"),h=e.n(i),p=e("3CTf"),A=e("MdoL"),C=e.n(A),S=e("DVO+"),E=e.n(S),O=e("Z0j4"),T=e.n(O),b=e("4ZCI"),x=e.n(b),N=e("LpVx"),D=e("vWUX"),M=e("b5WB"),R=e("Uw8V"),F=e.n(R),B=2,z=.16,U=.05,K=.05,W=.15,H=5,Y=4,Q=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function P(Ae,Me,et){var Wt;return Math.round(Ae.h)>=60&&Math.round(Ae.h)<=240?Wt=et?Math.round(Ae.h)-B*Me:Math.round(Ae.h)+B*Me:Wt=et?Math.round(Ae.h)+B*Me:Math.round(Ae.h)-B*Me,Wt<0?Wt+=360:Wt>=360&&(Wt-=360),Wt}function G(Ae,Me,et){if(Ae.h===0&&Ae.s===0)return Ae.s;var Wt;return et?Wt=Ae.s-z*Me:Me===Y?Wt=Ae.s+z:Wt=Ae.s+U*Me,Wt>1&&(Wt=1),et&&Me===H&&Wt>.1&&(Wt=.1),Wt<.06&&(Wt=.06),Number(Wt.toFixed(2))}function J(Ae,Me,et){var Wt;return et?Wt=Ae.v+K*Me:Wt=Ae.v-W*Me,Wt>1&&(Wt=1),Number(Wt.toFixed(2))}function he(Ae){for(var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},et=[],Wt=F()(Ae),er=H;er>0;er-=1){var Ct=Wt.toHsv(),Ht=F()({h:P(Ct,er,!0),s:G(Ct,er,!0),v:J(Ct,er,!0)}).toHexString();et.push(Ht)}et.push(Wt.toHexString());for(var kt=1;kt<=Y;kt+=1){var Zt=Wt.toHsv(),Et=F()({h:P(Zt,kt),s:G(Zt,kt),v:J(Zt,kt)}).toHexString();et.push(Et)}return Me.theme==="dark"?Q.map(function(ur){var rr=ur.index,Ke=ur.opacity,nt=F.a.mix(Me.backgroundColor||"#141414",et[rr],Ke*100).toHexString();return nt}):et}var te={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},pe={},we={};Object.keys(te).forEach(function(Ae){pe[Ae]=he(te[Ae]),pe[Ae].primary=pe[Ae][5],we[Ae]=he(te[Ae],{theme:"dark",backgroundColor:"#141414"}),we[Ae].primary=we[Ae][5]});var be=pe.red,Qe=pe.volcano,$e=pe.gold,yt=pe.orange,Fe=pe.yellow,Pe=pe.lime,gt=pe.green,it=pe.cyan,qe=pe.blue,At=pe.geekblue,dt=pe.purple,wt=pe.magenta,Ye=pe.grey;function mt(Ae){return!Ae||Ae<0?0:Ae>100?100:Ae}function Ue(Ae){var Me=Ae.success,et=Ae.successPercent,Wt=et;return Me&&"progress"in Me&&(Object(M.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Wt=Me.progress),Me&&"percent"in Me&&(Wt=Me.percent),Wt}var Re=function(Ae,Me){var et={};for(var Wt in Ae)Object.prototype.hasOwnProperty.call(Ae,Wt)&&Me.indexOf(Wt)<0&&(et[Wt]=Ae[Wt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var er=0,Wt=Object.getOwnPropertySymbols(Ae);er<Wt.length;er++)Me.indexOf(Wt[er])<0&&Object.prototype.propertyIsEnumerable.call(Ae,Wt[er])&&(et[Wt[er]]=Ae[Wt[er]]);return et},Le=function(Me){var et=[];return Object.keys(Me).forEach(function(Wt){var er=parseFloat(Wt.replace(/%/g,""));isNaN(er)||et.push({key:er,value:Me[Wt]})}),et=et.sort(function(Wt,er){return Wt.key-er.key}),et.map(function(Wt){var er=Wt.key,Ct=Wt.value;return"".concat(Ct," ").concat(er,"%")}).join(", ")},at=function(Me){var et=Me.from,Wt=et===void 0?te.blue:et,er=Me.to,Ct=er===void 0?te.blue:er,Ht=Me.direction,kt=Ht===void 0?"to right":Ht,Zt=Re(Me,["from","to","direction"]);if(Object.keys(Zt).length!==0){var Et=Le(Zt);return{backgroundImage:"linear-gradient(".concat(kt,", ").concat(Et,")")}}return{backgroundImage:"linear-gradient(".concat(kt,", ").concat(Wt,", ").concat(Ct,")")}},Ot=function(Me){var et=Me.prefixCls,Wt=Me.percent,er=Me.strokeWidth,Ct=Me.size,Ht=Me.strokeColor,kt=Me.strokeLinecap,Zt=Me.children,Et=Me.trailColor,ur=Me.success,rr=Ht&&typeof Ht!="string"?at(Ht):{background:Ht},Ke=Et?{backgroundColor:Et}:void 0,nt=m()({width:"".concat(mt(Wt),"%"),height:er||(Ct==="small"?6:8),borderRadius:kt==="square"?0:""},rr),Ge=Ue(Me),ct={width:"".concat(mt(Ge),"%"),height:er||(Ct==="small"?6:8),borderRadius:kt==="square"?0:"",backgroundColor:ur==null?void 0:ur.strokeColor},ht=Ge!==void 0?r.createElement("div",{className:"".concat(et,"-success-bg"),style:ct}):null;return r.createElement(r.Fragment,null,r.createElement("div",{className:"".concat(et,"-outer")},r.createElement("div",{className:"".concat(et,"-inner"),style:Ke},r.createElement("div",{className:"".concat(et,"-bg"),style:nt}),ht)),Zt)},Tt=Ot,Ft={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ke=function(Me){var et=Me.map(function(){return Object(r.useRef)()}),Wt=Object(r.useRef)();return Object(r.useEffect)(function(){var er=Date.now(),Ct=!1;Object.keys(et).forEach(function(Ht){var kt=et[Ht].current;if(!kt)return;Ct=!0;var Zt=kt.style;Zt.transitionDuration=".3s, .3s, .3s, .06s",Wt.current&&er-Wt.current<100&&(Zt.transitionDuration="0s, 0s")}),Ct&&(Wt.current=Date.now())}),[et]};function Vt(){return Vt=Object.assign||function(Ae){for(var Me=1;Me<arguments.length;Me++){var et=arguments[Me];for(var Wt in et)Object.prototype.hasOwnProperty.call(et,Wt)&&(Ae[Wt]=et[Wt])}return Ae},Vt.apply(this,arguments)}function bt(Ae,Me){return Ze(Ae)||Ut(Ae,Me)||Nt(Ae,Me)||Rt()}function Rt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nt(Ae,Me){if(!Ae)return;if(typeof Ae=="string")return xt(Ae,Me);var et=Object.prototype.toString.call(Ae).slice(8,-1);if(et==="Object"&&Ae.constructor&&(et=Ae.constructor.name),et==="Map"||et==="Set")return Array.from(Ae);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return xt(Ae,Me)}function xt(Ae,Me){(Me==null||Me>Ae.length)&&(Me=Ae.length);for(var et=0,Wt=new Array(Me);et<Me;et++)Wt[et]=Ae[et];return Wt}function Ut(Ae,Me){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ae)))return;var et=[],Wt=!0,er=!1,Ct=void 0;try{for(var Ht=Ae[Symbol.iterator](),kt;!(Wt=(kt=Ht.next()).done)&&!(et.push(kt.value),Me&&et.length===Me);Wt=!0);}catch(Zt){er=!0,Ct=Zt}finally{try{!Wt&&Ht.return!=null&&Ht.return()}finally{if(er)throw Ct}}return et}function Ze(Ae){if(Array.isArray(Ae))return Ae}function ze(Ae,Me){if(Ae==null)return{};var et=re(Ae,Me),Wt,er;if(Object.getOwnPropertySymbols){var Ct=Object.getOwnPropertySymbols(Ae);for(er=0;er<Ct.length;er++){if(Wt=Ct[er],Me.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ae,Wt))continue;et[Wt]=Ae[Wt]}}return et}function re(Ae,Me){if(Ae==null)return{};var et={},Wt=Object.keys(Ae),er,Ct;for(Ct=0;Ct<Wt.length;Ct++){if(er=Wt[Ct],Me.indexOf(er)>=0)continue;et[er]=Ae[er]}return et}var le=function(Me){var et=Me.className,Wt=Me.percent,er=Me.prefixCls,Ct=Me.strokeColor,Ht=Me.strokeLinecap,kt=Me.strokeWidth,Zt=Me.style,Et=Me.trailColor,ur=Me.trailWidth,rr=Me.transition,Ke=ze(Me,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete Ke.gapPosition;var nt=Array.isArray(Wt)?Wt:[Wt],Ge=Array.isArray(Ct)?Ct:[Ct],ct=ke(nt),ht=bt(ct,1),ut=ht[0],We=kt/2,tt=100-kt/2,ft="M ".concat(Ht==="round"?We:0,",").concat(We,`
|
||
L `).concat(Ht==="round"?tt:100,",").concat(We),Yt="0 0 100 ".concat(kt),Dt=0;return u.a.createElement("svg",Vt({className:h()("".concat(er,"-line"),et),viewBox:Yt,preserveAspectRatio:"none",style:Zt},Ke),u.a.createElement("path",{className:"".concat(er,"-line-trail"),d:ft,strokeLinecap:Ht,stroke:Et,strokeWidth:ur||kt,fillOpacity:"0"}),nt.map(function(vr,yr){var Dr={strokeDasharray:"".concat(vr,"px, 100px"),strokeDashoffset:"-".concat(Dt,"px"),transition:rr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Rr=Ge[yr]||Ge[Ge.length-1];return Dt+=vr,u.a.createElement("path",{key:yr,className:"".concat(er,"-line-path"),d:ft,strokeLinecap:Ht,stroke:Rr,strokeWidth:kt,fillOpacity:"0",ref:ut[yr],style:Dr})}))};le.defaultProps=Ft;var Xe=le;function _e(){return _e=Object.assign||function(Ae){for(var Me=1;Me<arguments.length;Me++){var et=arguments[Me];for(var Wt in et)Object.prototype.hasOwnProperty.call(et,Wt)&&(Ae[Wt]=et[Wt])}return Ae},_e.apply(this,arguments)}function je(Ae,Me){return or(Ae)||qt(Ae,Me)||zt(Ae,Me)||ar()}function ar(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zt(Ae,Me){if(!Ae)return;if(typeof Ae=="string")return Pt(Ae,Me);var et=Object.prototype.toString.call(Ae).slice(8,-1);if(et==="Object"&&Ae.constructor&&(et=Ae.constructor.name),et==="Map"||et==="Set")return Array.from(Ae);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return Pt(Ae,Me)}function Pt(Ae,Me){(Me==null||Me>Ae.length)&&(Me=Ae.length);for(var et=0,Wt=new Array(Me);et<Me;et++)Wt[et]=Ae[et];return Wt}function qt(Ae,Me){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ae)))return;var et=[],Wt=!0,er=!1,Ct=void 0;try{for(var Ht=Ae[Symbol.iterator](),kt;!(Wt=(kt=Ht.next()).done)&&!(et.push(kt.value),Me&&et.length===Me);Wt=!0);}catch(Zt){er=!0,Ct=Zt}finally{try{!Wt&&Ht.return!=null&&Ht.return()}finally{if(er)throw Ct}}return et}function or(Ae){if(Array.isArray(Ae))return Ae}function Kt(Ae,Me){if(Ae==null)return{};var et=Mt(Ae,Me),Wt,er;if(Object.getOwnPropertySymbols){var Ct=Object.getOwnPropertySymbols(Ae);for(er=0;er<Ct.length;er++){if(Wt=Ct[er],Me.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ae,Wt))continue;et[Wt]=Ae[Wt]}}return et}function Mt(Ae,Me){if(Ae==null)return{};var et={},Wt=Object.keys(Ae),er,Ct;for(Ct=0;Ct<Wt.length;Ct++){if(er=Wt[Ct],Me.indexOf(er)>=0)continue;et[er]=Ae[er]}return et}var me=0;function ce(Ae){return+Ae.replace("%","")}function ae(Ae){return Array.isArray(Ae)?Ae:[Ae]}function de(Ae,Me,et,Wt){var er=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Ct=arguments.length>5?arguments[5]:void 0,Ht=50-Wt/2,kt=0,Zt=-Ht,Et=0,ur=-2*Ht;switch(Ct){case"left":kt=-Ht,Zt=0,Et=2*Ht,ur=0;break;case"right":kt=Ht,Zt=0,Et=-2*Ht,ur=0;break;case"bottom":Zt=Ht,ur=2*Ht;break;default:}var rr="M 50,50 m ".concat(kt,",").concat(Zt,`
|
||
a `).concat(Ht,",").concat(Ht," 0 1 1 ").concat(Et,",").concat(-ur,`
|
||
a `).concat(Ht,",").concat(Ht," 0 1 1 ").concat(-Et,",").concat(ur),Ke=Math.PI*2*Ht,nt={stroke:et,strokeDasharray:"".concat(Me/100*(Ke-er),"px ").concat(Ke,"px"),strokeDashoffset:"-".concat(er/2+Ae/100*(Ke-er),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:rr,pathStyle:nt}}var Se=function(Me){var et=Me.prefixCls,Wt=Me.strokeWidth,er=Me.trailWidth,Ct=Me.gapDegree,Ht=Me.gapPosition,kt=Me.trailColor,Zt=Me.strokeLinecap,Et=Me.style,ur=Me.className,rr=Me.strokeColor,Ke=Me.percent,nt=Kt(Me,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),Ge=Object(r.useMemo)(function(){return me+=1,me},[]),ct=de(0,100,kt,Wt,Ct,Ht),ht=ct.pathString,ut=ct.pathStyle,We=ae(Ke),tt=ae(rr),ft=tt.find(function(Dr){return Object.prototype.toString.call(Dr)==="[object Object]"}),Yt=ke(We),Dt=je(Yt,1),vr=Dt[0],yr=function(){var Rr=0;return We.map(function(Jr,$r){var xr=tt[$r]||tt[tt.length-1],Vr=Object.prototype.toString.call(xr)==="[object Object]"?"url(#".concat(et,"-gradient-").concat(Ge,")"):"",Or=de(Rr,Jr,xr,Wt,Ct,Ht);return Rr+=Jr,u.a.createElement("path",{key:$r,className:"".concat(et,"-circle-path"),d:Or.pathString,stroke:Vr,strokeLinecap:Zt,strokeWidth:Wt,opacity:Jr===0?0:1,fillOpacity:"0",style:Or.pathStyle,ref:vr[$r]})})};return u.a.createElement("svg",_e({className:h()("".concat(et,"-circle"),ur),viewBox:"0 0 100 100",style:Et},nt),ft&&u.a.createElement("defs",null,u.a.createElement("linearGradient",{id:"".concat(et,"-gradient-").concat(Ge),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(ft).sort(function(Dr,Rr){return ce(Dr)-ce(Rr)}).map(function(Dr,Rr){return u.a.createElement("stop",{key:Rr,offset:Dr,stopColor:ft[Dr]})}))),u.a.createElement("path",{className:"".concat(et,"-circle-trail"),d:ht,stroke:kt,strokeLinecap:Zt,strokeWidth:er||Wt,fillOpacity:"0",style:ut}),yr().reverse())};Se.defaultProps=Ft;var Ce=Se,Ie={Line:Xe,Circle:Ce};function Te(Ae){var Me=Ae.percent,et=Ae.success,Wt=Ae.successPercent,er=mt(Me),Ct=Ue({success:et,successPercent:Wt});return Ct?[mt(Ct),mt(er-mt(Ct))]:er}function Ee(Ae){var Me=Ae.success,et=Ae.strokeColor,Wt=Ae.successPercent,er=et||null,Ct=Ue({success:Me,successPercent:Wt});return Ct?[te.green,er]:er}var He=function(Me){var et=Me.prefixCls,Wt=Me.width,er=Me.strokeWidth,Ct=Me.trailColor,Ht=Me.strokeLinecap,kt=Me.gapPosition,Zt=Me.gapDegree,Et=Me.type,ur=Me.children,rr=Wt||120,Ke={width:rr,height:rr,fontSize:rr*.15+6},nt=er||6,Ge=kt||Et==="dashboard"&&"bottom"||"top",ct=function(){return Zt||Zt===0?Zt:Et==="dashboard"?75:void 0},ht=Ee(Me),ut=Object.prototype.toString.call(ht)==="[object Object]",We=h()("".concat(et,"-inner"),L()({},"".concat(et,"-circle-gradient"),ut));return r.createElement("div",{className:We,style:Ke},r.createElement(Ce,{percent:Te(Me),strokeWidth:nt,trailWidth:nt,strokeColor:ht,strokeLinecap:Ht,trailColor:Ct,prefixCls:et,gapDegree:ct(),gapPosition:Ge}),ur)},st=He,vt=function(Me){for(var et=Me.size,Wt=Me.steps,er=Me.percent,Ct=er===void 0?0:er,Ht=Me.strokeWidth,kt=Ht===void 0?8:Ht,Zt=Me.strokeColor,Et=Me.trailColor,ur=Me.prefixCls,rr=Me.children,Ke=Math.floor(Wt*(Ct/100)),nt=et==="small"?2:14,Ge=[],ct=0;ct<Wt;ct+=1)Ge.push(r.createElement("div",{key:ct,className:h()("".concat(ur,"-steps-item"),L()({},"".concat(ur,"-steps-item-active"),ct<=Ke-1)),style:{backgroundColor:ct<=Ke-1?Zt:Et,width:nt,height:kt}}));return r.createElement("div",{className:"".concat(ur,"-steps-outer")},Ge,rr)},ee=vt,oe=function(Ae,Me){var et={};for(var Wt in Ae)Object.prototype.hasOwnProperty.call(Ae,Wt)&&Me.indexOf(Wt)<0&&(et[Wt]=Ae[Wt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var er=0,Wt=Object.getOwnPropertySymbols(Ae);er<Wt.length;er++)Me.indexOf(Wt[er])<0&&Object.prototype.propertyIsEnumerable.call(Ae,Wt[er])&&(et[Wt[er]]=Ae[Wt[er]]);return et},k=Object(D.a)("line","circle","dashboard"),$=Object(D.a)("normal","exception","active","success"),se=function(Ae){l()(et,Ae);var Me=c()(et);function et(){var Wt;return w()(this,et),Wt=Me.apply(this,arguments),Wt.renderProgress=function(er){var Ct,Ht=er.getPrefixCls,kt=er.direction,Zt=o()(Wt),Et=Zt.props,ur=Et.prefixCls,rr=Et.className,Ke=Et.size,nt=Et.type,Ge=Et.steps,ct=Et.showInfo,ht=Et.strokeColor,ut=oe(Et,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),We=Ht("progress",ur),tt=Wt.getProgressStatus(),ft=Wt.renderProcessInfo(We,tt);Object(M.a)(!("successPercent"in Et),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var Yt;nt==="line"?Yt=Ge?r.createElement(ee,m()({},Wt.props,{strokeColor:typeof ht=="string"?ht:void 0,prefixCls:We,steps:Ge}),ft):r.createElement(Tt,m()({},Wt.props,{prefixCls:We}),ft):(nt==="circle"||nt==="dashboard")&&(Yt=r.createElement(st,m()({},Wt.props,{prefixCls:We,progressStatus:tt}),ft));var Dt=h()(We,(Ct={},L()(Ct,"".concat(We,"-").concat(nt==="dashboard"&&"circle"||Ge&&"steps"||nt),!0),L()(Ct,"".concat(We,"-status-").concat(tt),!0),L()(Ct,"".concat(We,"-show-info"),ct),L()(Ct,"".concat(We,"-").concat(Ke),Ke),L()(Ct,"".concat(We,"-rtl"),kt==="rtl"),Ct),rr);return r.createElement("div",m()({},Object(p.default)(ut,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Dt}),Yt)},Wt}return a()(et,[{key:"getPercentNumber",value:function(){var er=this.props.percent,Ct=er===void 0?0:er,Ht=Ue(this.props);return parseInt(Ht!==void 0?Ht.toString():Ct.toString(),10)}},{key:"getProgressStatus",value:function(){var er=this.props.status;return $.indexOf(er)<0&&this.getPercentNumber()>=100?"success":er||"normal"}},{key:"renderProcessInfo",value:function(er,Ct){var Ht=this.props,kt=Ht.showInfo,Zt=Ht.format,Et=Ht.type,ur=Ht.percent,rr=Ue(this.props);if(!kt)return null;var Ke,nt=Zt||function(ct){return"".concat(ct,"%")},Ge=Et==="line";return Zt||Ct!=="exception"&&Ct!=="success"?Ke=nt(mt(ur),mt(rr)):Ct==="exception"?Ke=Ge?r.createElement(x.a,null):r.createElement(C.a,null):Ct==="success"&&(Ke=Ge?r.createElement(T.a,null):r.createElement(E.a,null)),r.createElement("span",{className:"".concat(er,"-text"),title:typeof Ke=="string"?Ke:void 0},Ke)}},{key:"render",value:function(){return r.createElement(N.a,null,this.renderProgress)}}]),et}(r.Component);se.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var ge=_.a=se},L9SA:function(Z,_,e){var d=e("Q6Bq"),L=d.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),v=L;Z.exports=v},LFod:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("e8AC")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="DownOutlined";var f=v.forwardRef(w);_.default=f},LJKi:function(Z,_,e){var d=e("oEo5"),L=e("F2Ao"),v=e("QV7q"),m=v.makeInner,y=e("sYRh"),w=y.makeLabelFormatter,f=y.getOptionCategoryInterval,a=y.shouldShowAllLabels,t=m();function o(O){return O.type==="category"?l(O):r(O)}function s(O,T){return O.type==="category"?c(O,T):{ticks:O.scale.getTicks()}}function l(O){var T=O.getLabelModel(),b=n(O,T);return!T.get("show")||O.scale.isBlank()?{labels:[],labelCategoryInterval:b.labelCategoryInterval}:b}function n(O,T){var b=u(O,"labels"),x=f(T),N=i(b,x);if(N)return N;var D,M;return d.isFunction(x)?D=E(O,x):(M=x==="auto"?p(O):x,D=S(O,M)),h(b,x,{labels:D,labelCategoryInterval:M})}function c(O,T){var b=u(O,"ticks"),x=f(T),N=i(b,x);if(N)return N;var D,M;if((!T.get("show")||O.scale.isBlank())&&(D=[]),d.isFunction(x))D=E(O,x,!0);else if(x==="auto"){var R=n(O,O.getLabelModel());M=R.labelCategoryInterval,D=d.map(R.labels,function(F){return F.tickValue})}else M=x,D=S(O,M,!0);return h(b,x,{ticks:D,tickCategoryInterval:M})}function r(O){var T=O.scale.getTicks(),b=w(O);return{labels:d.map(T,function(x,N){return{formattedLabel:b(x,N),rawLabel:O.scale.getLabel(x),tickValue:x}})}}function u(O,T){return t(O)[T]||(t(O)[T]=[])}function i(O,T){for(var b=0;b<O.length;b++)if(O[b].key===T)return O[b].value}function h(O,T,b){return O.push({key:T,value:b}),b}function p(O){var T=t(O).autoInterval;return T!=null?T:t(O).autoInterval=O.calculateCategoryInterval()}function A(O){var T=C(O),b=w(O),x=(T.axisRotate-T.labelRotate)/180*Math.PI,N=O.scale,D=N.getExtent(),M=N.count();if(D[1]-D[0]<1)return 0;var R=1;M>40&&(R=Math.max(1,Math.floor(M/40)));for(var F=D[0],B=O.dataToCoord(F+1)-O.dataToCoord(F),z=Math.abs(B*Math.cos(x)),U=Math.abs(B*Math.sin(x)),K=0,W=0;F<=D[1];F+=R){var H=0,Y=0,Q=L.getBoundingRect(b(F),T.font,"center","top");H=Q.width*1.3,Y=Q.height*1.3,K=Math.max(K,H,7),W=Math.max(W,Y,7)}var P=K/z,G=W/U;isNaN(P)&&(P=Infinity),isNaN(G)&&(G=Infinity);var J=Math.max(0,Math.floor(Math.min(P,G))),he=t(O.model),te=O.getExtent(),pe=he.lastAutoInterval,we=he.lastTickCount;return pe!=null&&we!=null&&Math.abs(pe-J)<=1&&Math.abs(we-M)<=1&&pe>J&&he.axisExtend0===te[0]&&he.axisExtend1===te[1]?J=pe:(he.lastTickCount=M,he.lastAutoInterval=J,he.axisExtend0=te[0],he.axisExtend1=te[1]),J}function C(O){var T=O.getLabelModel();return{axisRotate:O.getRotate?O.getRotate():O.isHorizontal&&!O.isHorizontal()?90:0,labelRotate:T.get("rotate")||0,font:T.getFont()}}function S(O,T,b){var x=w(O),N=O.scale,D=N.getExtent(),M=O.getLabelModel(),R=[],F=Math.max((T||0)+1,1),B=D[0],z=N.count();B!==0&&F>1&&z/F>2&&(B=Math.round(Math.ceil(B/F)*F));var U=a(O),K=M.get("showMinLabel")||U,W=M.get("showMaxLabel")||U;K&&B!==D[0]&&Y(D[0]);for(var H=B;H<=D[1];H+=F)Y(H);W&&H-F!==D[1]&&Y(D[1]);function Y(Q){R.push(b?Q:{formattedLabel:x(Q),rawLabel:N.getLabel(Q),tickValue:Q})}return R}function E(O,T,b){var x=O.scale,N=w(O),D=[];return d.each(x.getTicks(),function(M){var R=x.getLabel(M);T(M,R)&&D.push(b?M:{formattedLabel:N(M),rawLabel:R,tickValue:M})}),D}_.createAxisLabels=o,_.createAxisTicks=s,_.calculateCategoryInterval=A},LLn1:function(Z,_,e){var d=e("oEo5"),L=e("zYjg"),v=e("ie0D"),m=e("F2Ao"),y=m.calculateTextPosition,w=L.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(u,i){var h=i.cx,p=i.cy,A=i.width/2,C=i.height/2;u.moveTo(h,p-C),u.lineTo(h+A,p+C),u.lineTo(h-A,p+C),u.closePath()}}),f=L.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(u,i){var h=i.cx,p=i.cy,A=i.width/2,C=i.height/2;u.moveTo(h,p-C),u.lineTo(h+A,p),u.lineTo(h,p+C),u.lineTo(h-A,p),u.closePath()}}),a=L.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(u,i){var h=i.x,p=i.y,A=i.width/5*3,C=Math.max(A,i.height),S=A/2,E=S*S/(C-S),O=p-C+S+E,T=Math.asin(E/S),b=Math.cos(T)*S,x=Math.sin(T),N=Math.cos(T),D=S*.6,M=S*.7;u.moveTo(h-b,O+E),u.arc(h,O,S,Math.PI-T,Math.PI*2+T),u.bezierCurveTo(h+b-x*D,O+E+N*D,h,p-M,h,p),u.bezierCurveTo(h,p-M,h-b+x*D,O+E+N*D,h-b,O+E),u.closePath()}}),t=L.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(u,i){var h=i.height,p=i.width,A=i.x,C=i.y,S=p/3*2;u.moveTo(A,C),u.lineTo(A+S,C+h),u.lineTo(A,C+h/4*3),u.lineTo(A-S,C+h),u.lineTo(A,C),u.closePath()}}),o={line:L.Line,rect:L.Rect,roundRect:L.Rect,square:L.Rect,circle:L.Circle,diamond:f,pin:a,arrow:t,triangle:w},s={line:function(u,i,h,p,A){A.x1=u,A.y1=i+p/2,A.x2=u+h,A.y2=i+p/2},rect:function(u,i,h,p,A){A.x=u,A.y=i,A.width=h,A.height=p},roundRect:function(u,i,h,p,A){A.x=u,A.y=i,A.width=h,A.height=p,A.r=Math.min(h,p)/4},square:function(u,i,h,p,A){var C=Math.min(h,p);A.x=u,A.y=i,A.width=C,A.height=C},circle:function(u,i,h,p,A){A.cx=u+h/2,A.cy=i+p/2,A.r=Math.min(h,p)/2},diamond:function(u,i,h,p,A){A.cx=u+h/2,A.cy=i+p/2,A.width=h,A.height=p},pin:function(u,i,h,p,A){A.x=u+h/2,A.y=i+p/2,A.width=h,A.height=p},arrow:function(u,i,h,p,A){A.x=u+h/2,A.y=i+p/2,A.width=h,A.height=p},triangle:function(u,i,h,p,A){A.cx=u+h/2,A.cy=i+p/2,A.width=h,A.height=p}},l={};d.each(o,function(u,i){l[i]=new u});var n=L.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(u,i,h){var p=y(u,i,h),A=this.shape;return A&&A.symbolType==="pin"&&i.textPosition==="inside"&&(p.y=h.y+h.height*.4),p},buildPath:function(u,i,h){var p=i.symbolType;if(p!=="none"){var A=l[p];A||(p="rect",A=l[p]),s[p](i.x,i.y,i.width,i.height,A.shape),A.buildPath(u,A.shape,h)}}});function c(u,i){if(this.type!=="image"){var h=this.style,p=this.shape;p&&p.symbolType==="line"?h.stroke=u:this.__isEmptyBrush?(h.stroke=u,h.fill=i||"#fff"):(h.fill&&(h.fill=u),h.stroke&&(h.stroke=u)),this.dirty(!1)}}function r(u,i,h,p,A,C,S){var E=u.indexOf("empty")===0;E&&(u=u.substr(5,1).toLowerCase()+u.substr(6));var O;return u.indexOf("image://")===0?O=L.makeImage(u.slice(8),new v(i,h,p,A),S?"center":"cover"):u.indexOf("path://")===0?O=L.makePath(u.slice(7),{},new v(i,h,p,A),S?"center":"cover"):O=new n({shape:{symbolType:u,x:i,y:h,width:p,height:A}}),O.__isEmptyBrush=E,O.setColor=c,O.setColor(C),O}_.createSymbol=r},LVrM:function(Z,_,e){var d=e("oEo5"),L=e("Az1A"),v=L.Dispatcher,m=e("PvHz"),y=e("ZATb"),w=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,v.call(this)};w.prototype={constructor:w,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var o=t.getClips(),s=0;s<o.length;s++)this.addClip(o[s])},removeClip:function(t){var o=d.indexOf(this._clips,t);o>=0&&this._clips.splice(o,1)},removeAnimator:function(t){for(var o=t.getClips(),s=0;s<o.length;s++)this.removeClip(o[s]);t.animation=null},_update:function(){for(var t=new Date().getTime()-this._pausedTime,o=t-this._time,s=this._clips,l=s.length,n=[],c=[],r=0;r<l;r++){var u=s[r],i=u.step(t,o);i&&(n.push(i),c.push(u))}for(var r=0;r<l;)s[r]._needsRemove?(s[r]=s[l-1],s.pop(),l--):r++;l=n.length;for(var r=0;r<l;r++)c[r].fire(n[r]);this._time=t,this.onframe(o),this.trigger("frame",o),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;this._running=!0;function o(){t._running&&(m(o),!t._paused&&t._update())}m(o)},start:function(){this._time=new Date().getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=new Date().getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=new Date().getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,o){o=o||{};var s=new y(t,o.loop,o.getter,o.setter);return this.addAnimator(s),s}},d.mixin(w,v);var f=w;Z.exports=f},LalF:function(Z,_,e){(function(d){var L,v;(function(m,y){Z.exports=y(m)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof d!="undefined"?d:this,function(m){"use strict";m=m||{};var y=m.Base64,w="2.6.4",f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=function(F){for(var B={},z=0,U=F.length;z<U;z++)B[F.charAt(z)]=z;return B}(f),t=String.fromCharCode,o=function(B){if(B.length<2){var z=B.charCodeAt(0);return z<128?B:z<2048?t(192|z>>>6)+t(128|z&63):t(224|z>>>12&15)+t(128|z>>>6&63)+t(128|z&63)}else{var z=65536+(B.charCodeAt(0)-55296)*1024+(B.charCodeAt(1)-56320);return t(240|z>>>18&7)+t(128|z>>>12&63)+t(128|z>>>6&63)+t(128|z&63)}},s=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,l=function(B){return B.replace(s,o)},n=function(B){var z=[0,2,1][B.length%3],U=B.charCodeAt(0)<<16|(B.length>1?B.charCodeAt(1):0)<<8|(B.length>2?B.charCodeAt(2):0),K=[f.charAt(U>>>18),f.charAt(U>>>12&63),z>=2?"=":f.charAt(U>>>6&63),z>=1?"=":f.charAt(U&63)];return K.join("")},c=m.btoa&&typeof m.btoa=="function"?function(F){return m.btoa(F)}:function(F){if(F.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return F.replace(/[\s\S]{1,3}/g,n)},r=function(B){return c(l(String(B)))},u=function(B){return B.replace(/[+\/]/g,function(z){return z=="+"?"-":"_"}).replace(/=/g,"")},i=function(B,z){return z?u(r(B)):r(B)},h=function(B){return i(B,!0)},p;m.Uint8Array&&(p=function(B,z){for(var U="",K=0,W=B.length;K<W;K+=3){var H=B[K],Y=B[K+1],Q=B[K+2],P=H<<16|Y<<8|Q;U+=f.charAt(P>>>18)+f.charAt(P>>>12&63)+(typeof Y!="undefined"?f.charAt(P>>>6&63):"=")+(typeof Q!="undefined"?f.charAt(P&63):"=")}return z?u(U):U});var A=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,C=function(B){switch(B.length){case 4:var z=(7&B.charCodeAt(0))<<18|(63&B.charCodeAt(1))<<12|(63&B.charCodeAt(2))<<6|63&B.charCodeAt(3),U=z-65536;return t((U>>>10)+55296)+t((U&1023)+56320);case 3:return t((15&B.charCodeAt(0))<<12|(63&B.charCodeAt(1))<<6|63&B.charCodeAt(2));default:return t((31&B.charCodeAt(0))<<6|63&B.charCodeAt(1))}},S=function(B){return B.replace(A,C)},E=function(B){var z=B.length,U=z%4,K=(z>0?a[B.charAt(0)]<<18:0)|(z>1?a[B.charAt(1)]<<12:0)|(z>2?a[B.charAt(2)]<<6:0)|(z>3?a[B.charAt(3)]:0),W=[t(K>>>16),t(K>>>8&255),t(K&255)];return W.length-=[0,0,2,1][U],W.join("")},O=m.atob&&typeof m.atob=="function"?function(F){return m.atob(F)}:function(F){return F.replace(/\S{1,4}/g,E)},T=function(B){return O(String(B).replace(/[^A-Za-z0-9\+\/]/g,""))},b=function(B){return S(O(B))},x=function(B){return String(B).replace(/[-_]/g,function(z){return z=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},N=function(B){return b(x(B))},D;m.Uint8Array&&(D=function(B){return Uint8Array.from(T(x(B)),function(z){return z.charCodeAt(0)})});var M=function(){var B=m.Base64;return m.Base64=y,B};if(m.Base64={VERSION:w,atob:T,btoa:c,fromBase64:N,toBase64:i,utob:l,encode:i,encodeURI:h,btou:S,decode:N,noConflict:M,fromUint8Array:p,toUint8Array:D},typeof Object.defineProperty=="function"){var R=function(B){return{value:B,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",R(function(){return N(this)})),Object.defineProperty(String.prototype,"toBase64",R(function(F){return i(this,F)})),Object.defineProperty(String.prototype,"toBase64URI",R(function(){return i(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),Z.exports?Z.exports.Base64=m.Base64:!(L=[],v=function(){return m.Base64}.apply(_,L),v!==void 0&&(Z.exports=v)),{Base64:m.Base64}})}).call(this,e("UywP"))},LieO:function(Z,_,e){var d=e("oEo5");function L(v,m,y){y=y||{};var w=v.coordinateSystem,f=m.axis,a={},t=f.getAxesOnZeroOf()[0],o=f.position,s=t?"onZero":o,l=f.dim,n=w.getRect(),c=[n.x,n.x+n.width,n.y,n.y+n.height],r={left:0,right:1,top:0,bottom:1,onZero:2},u=m.get("offset")||0,i=l==="x"?[c[2]-u,c[3]+u]:[c[0]-u,c[1]+u];if(t){var h=t.toGlobalCoord(t.dataToCoord(0));i[r.onZero]=Math.max(Math.min(h,i[1]),i[0])}a.position=[l==="y"?i[r[s]]:c[0],l==="x"?i[r[s]]:c[3]],a.rotation=Math.PI/2*(l==="x"?0:1);var p={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=p[o],a.labelOffset=t?i[r[o]]-i[r.onZero]:0,m.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),d.retrieve(y.labelInside,m.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var A=m.get("axisLabel.rotate");return a.labelRotate=s==="top"?-A:A,a.z2=1,a}_.layout=L},LqC6:function(Z,_,e){var d=e("oEo5"),L=e("QV7q");function v(m,y){var w=[],f=m.seriesIndex,a;if(f==null||!(a=y.getSeriesByIndex(f)))return{point:[]};var t=a.getData(),o=L.queryDataIndex(t,m);if(o==null||o<0||d.isArray(o))return{point:[]};var s=t.getItemGraphicEl(o),l=a.coordinateSystem;if(a.getTooltipPosition)w=a.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)w=l.dataToPoint(t.getValues(d.map(l.dimensions,function(c){return t.mapDimension(c)}),o,!0))||[];else if(s){var n=s.getBoundingRect().clone();n.applyTransform(s.transform),w=[n.x+n.width/2,n.y+n.height/2]}return{point:w,el:s}}Z.exports=v},M0ff:function(Z,_,e){(function(d,L){Z.exports=L()})(this,function(){"use strict";var d=navigator.userAgent,L=navigator.platform,v=/gecko\/\d/i.test(d),m=/MSIE \d/.test(d),y=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(d),w=/Edge\/(\d+)/.exec(d),f=m||y||w,a=f&&(m?document.documentMode||6:+(w||y)[1]),t=!w&&/WebKit\//.test(d),o=t&&/Qt\/\d+\.\d+/.test(d),s=!w&&/Chrome\//.test(d),l=/Opera\//.test(d),n=/Apple Computer/.test(navigator.vendor),c=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(d),r=/PhantomJS/.test(d),u=!w&&/AppleWebKit/.test(d)&&/Mobile\/\w+/.test(d),i=/Android/.test(d),h=u||i||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(d),p=u||/Mac/.test(L),A=/\bCrOS\b/.test(d),C=/win/i.test(L),S=l&&d.match(/Version\/(\d*\.\d*)/);S&&(S=Number(S[1])),S&&S>=15&&(l=!1,t=!0);var E=p&&(o||l&&(S==null||S<12.11)),O=v||f&&a>=9;function T(g){return new RegExp("(^|\\s)"+g+"(?:$|\\s)\\s*")}var b=function(I,j){var V=I.className,q=T(j).exec(V);if(q){var ve=V.slice(q.index+q[0].length);I.className=V.slice(0,q.index)+(ve?q[1]+ve:"")}};function x(g){for(var I=g.childNodes.length;I>0;--I)g.removeChild(g.firstChild);return g}function N(g,I){return x(g).appendChild(I)}function D(g,I,j,V){var q=document.createElement(g);if(j&&(q.className=j),V&&(q.style.cssText=V),typeof I=="string")q.appendChild(document.createTextNode(I));else if(I)for(var ve=0;ve<I.length;++ve)q.appendChild(I[ve]);return q}function M(g,I,j,V){var q=D(g,I,j,V);return q.setAttribute("role","presentation"),q}var R;document.createRange?R=function(I,j,V,q){var ve=document.createRange();return ve.setEnd(q||I,V),ve.setStart(I,j),ve}:R=function(I,j,V){var q=document.body.createTextRange();try{q.moveToElementText(I.parentNode)}catch(ve){return q}return q.collapse(!0),q.moveEnd("character",V),q.moveStart("character",j),q};function F(g,I){if(I.nodeType==3&&(I=I.parentNode),g.contains)return g.contains(I);do if(I.nodeType==11&&(I=I.host),I==g)return!0;while(I=I.parentNode)}function B(){var g;try{g=document.activeElement}catch(I){g=document.body||null}for(;g&&g.shadowRoot&&g.shadowRoot.activeElement;)g=g.shadowRoot.activeElement;return g}function z(g,I){var j=g.className;T(I).test(j)||(g.className+=(j?" ":"")+I)}function U(g,I){for(var j=g.split(" "),V=0;V<j.length;V++)j[V]&&!T(j[V]).test(I)&&(I+=" "+j[V]);return I}var K=function(I){I.select()};u?K=function(I){I.selectionStart=0,I.selectionEnd=I.value.length}:f&&(K=function(I){try{I.select()}catch(j){}});function W(g){var I=Array.prototype.slice.call(arguments,1);return function(){return g.apply(null,I)}}function H(g,I,j){I||(I={});for(var V in g)g.hasOwnProperty(V)&&(j!==!1||!I.hasOwnProperty(V))&&(I[V]=g[V]);return I}function Y(g,I,j,V,q){I==null&&(I=g.search(/[^\s\u00a0]/),I==-1&&(I=g.length));for(var ve=V||0,Je=q||0;;){var St=g.indexOf(" ",ve);if(St<0||St>=I)return Je+(I-ve);Je+=St-ve,Je+=j-Je%j,ve=St+1}}var Q=function(){this.id=null,this.f=null,this.time=0,this.handler=W(this.onTimeout,this)};Q.prototype.onTimeout=function(g){g.id=0,g.time<=+new Date?g.f():setTimeout(g.handler,g.time-+new Date)},Q.prototype.set=function(g,I){this.f=I;var j=+new Date+g;(!this.id||j<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,g),this.time=j)};function P(g,I){for(var j=0;j<g.length;++j)if(g[j]==I)return j;return-1}var G=50,J={toString:function(){return"CodeMirror.Pass"}},he={scroll:!1},te={origin:"*mouse"},pe={origin:"+move"};function we(g,I,j){for(var V=0,q=0;;){var ve=g.indexOf(" ",V);ve==-1&&(ve=g.length);var Je=ve-V;if(ve==g.length||q+Je>=I)return V+Math.min(Je,I-q);if(q+=ve-V,q+=j-q%j,V=ve+1,q>=I)return V}}var be=[""];function Qe(g){for(;be.length<=g;)be.push($e(be)+" ");return be[g]}function $e(g){return g[g.length-1]}function yt(g,I){for(var j=[],V=0;V<g.length;V++)j[V]=I(g[V],V);return j}function Fe(g,I,j){for(var V=0,q=j(I);V<g.length&&j(g[V])<=q;)V++;g.splice(V,0,I)}function Pe(){}function gt(g,I){var j;return Object.create?j=Object.create(g):(Pe.prototype=g,j=new Pe),I&&H(I,j),j}var it=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function qe(g){return/\w/.test(g)||g>"\x80"&&(g.toUpperCase()!=g.toLowerCase()||it.test(g))}function At(g,I){return I?I.source.indexOf("\\w")>-1&&qe(g)?!0:I.test(g):qe(g)}function dt(g){for(var I in g)if(g.hasOwnProperty(I)&&g[I])return!1;return!0}var wt=/[\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 Ye(g){return g.charCodeAt(0)>=768&&wt.test(g)}function mt(g,I,j){for(;(j<0?I>0:I<g.length)&&Ye(g.charAt(I));)I+=j;return I}function Ue(g,I,j){for(var V=I>j?-1:1;;){if(I==j)return I;var q=(I+j)/2,ve=V<0?Math.ceil(q):Math.floor(q);if(ve==I)return g(ve)?I:j;g(ve)?j=ve:I=ve+V}}function Re(g,I,j,V){if(!g)return V(I,j,"ltr",0);for(var q=!1,ve=0;ve<g.length;++ve){var Je=g[ve];(Je.from<j&&Je.to>I||I==j&&Je.to==I)&&(V(Math.max(Je.from,I),Math.min(Je.to,j),Je.level==1?"rtl":"ltr",ve),q=!0)}q||V(I,j,"ltr")}var Le=null;function at(g,I,j){var V;Le=null;for(var q=0;q<g.length;++q){var ve=g[q];if(ve.from<I&&ve.to>I)return q;ve.to==I&&(ve.from!=ve.to&&j=="before"?V=q:Le=q),ve.from==I&&(ve.from!=ve.to&&j!="before"?V=q:Le=q)}return V!=null?V:Le}var Ot=function(){var g="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",I="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function j(Gt){return Gt<=247?g.charAt(Gt):1424<=Gt&&Gt<=1524?"R":1536<=Gt&&Gt<=1785?I.charAt(Gt-1536):1774<=Gt&&Gt<=2220?"r":8192<=Gt&&Gt<=8203?"w":Gt==8204?"b":"L"}var V=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,q=/[stwN]/,ve=/[LRr]/,Je=/[Lb1n]/,St=/[1n]/;function jt(Gt,Lr,jr){this.level=Gt,this.from=Lr,this.to=jr}return function(Gt,Lr){var jr=Lr=="ltr"?"L":"R";if(Gt.length==0||Lr=="ltr"&&!V.test(Gt))return!1;for(var tn=Gt.length,nn=[],bn=0;bn<tn;++bn)nn.push(j(Gt.charCodeAt(bn)));for(var Fn=0,Jn=jr;Fn<tn;++Fn){var Zn=nn[Fn];Zn=="m"?nn[Fn]=Jn:Jn=Zn}for(var ni=0,ai=jr;ni<tn;++ni){var De=nn[ni];De=="1"&&ai=="r"?nn[ni]="n":ve.test(De)&&(ai=De,De=="r"&&(nn[ni]="R"))}for(var X=1,ye=nn[0];X<tn-1;++X){var Be=nn[X];Be=="+"&&ye=="1"&&nn[X+1]=="1"?nn[X]="1":Be==","&&ye==nn[X+1]&&(ye=="1"||ye=="n")&&(nn[X]=ye),ye=Be}for(var pt=0;pt<tn;++pt){var tr=nn[pt];if(tr==",")nn[pt]="N";else if(tr=="%"){var br=void 0;for(br=pt+1;br<tn&&nn[br]=="%";++br);for(var Ir=pt&&nn[pt-1]=="!"||br<tn&&nn[br]=="1"?"1":"N",zr=pt;zr<br;++zr)nn[zr]=Ir;pt=br-1}}for(var Wr=0,ln=jr;Wr<tn;++Wr){var an=nn[Wr];ln=="L"&&an=="1"?nn[Wr]="L":ve.test(an)&&(ln=an)}for(var Mn=0;Mn<tn;++Mn)if(q.test(nn[Mn])){var ii=void 0;for(ii=Mn+1;ii<tn&&q.test(nn[ii]);++ii);for(var zn=(Mn?nn[Mn-1]:jr)=="L",hi=(ii<tn?nn[ii]:jr)=="L",ma=zn==hi?zn?"L":"R":jr,xi=Mn;xi<ii;++xi)nn[xi]=ma;Mn=ii-1}for(var oa=[],Ia,Ri=0;Ri<tn;)if(Je.test(nn[Ri])){var No=Ri;for(++Ri;Ri<tn&&Je.test(nn[Ri]);++Ri);oa.push(new jt(0,No,Ri))}else{var qa=Ri,Wo=oa.length,Uo=Lr=="rtl"?1:0;for(++Ri;Ri<tn&&nn[Ri]!="L";++Ri);for(var Ba=qa;Ba<Ri;)if(St.test(nn[Ba])){qa<Ba&&(oa.splice(Wo,0,new jt(1,qa,Ba)),Wo+=Uo);var Vo=Ba;for(++Ba;Ba<Ri&&St.test(nn[Ba]);++Ba);oa.splice(Wo,0,new jt(2,Vo,Ba)),Wo+=Uo,qa=Ba}else++Ba;qa<Ri&&oa.splice(Wo,0,new jt(1,qa,Ri))}return Lr=="ltr"&&(oa[0].level==1&&(Ia=Gt.match(/^\s+/))&&(oa[0].from=Ia[0].length,oa.unshift(new jt(0,0,Ia[0].length))),$e(oa).level==1&&(Ia=Gt.match(/\s+$/))&&($e(oa).to-=Ia[0].length,oa.push(new jt(0,tn-Ia[0].length,tn)))),Lr=="rtl"?oa.reverse():oa}}();function Tt(g,I){var j=g.order;return j==null&&(j=g.order=Ot(g.text,I)),j}var Ft=[],ke=function(I,j,V){if(I.addEventListener)I.addEventListener(j,V,!1);else if(I.attachEvent)I.attachEvent("on"+j,V);else{var q=I._handlers||(I._handlers={});q[j]=(q[j]||Ft).concat(V)}};function Vt(g,I){return g._handlers&&g._handlers[I]||Ft}function bt(g,I,j){if(g.removeEventListener)g.removeEventListener(I,j,!1);else if(g.detachEvent)g.detachEvent("on"+I,j);else{var V=g._handlers,q=V&&V[I];if(q){var ve=P(q,j);ve>-1&&(V[I]=q.slice(0,ve).concat(q.slice(ve+1)))}}}function Rt(g,I){var j=Vt(g,I);if(!j.length)return;for(var V=Array.prototype.slice.call(arguments,2),q=0;q<j.length;++q)j[q].apply(null,V)}function Nt(g,I,j){return typeof I=="string"&&(I={type:I,preventDefault:function(){this.defaultPrevented=!0}}),Rt(g,j||I.type,g,I),le(I)||I.codemirrorIgnore}function xt(g){var I=g._handlers&&g._handlers.cursorActivity;if(!I)return;for(var j=g.curOp.cursorActivityHandlers||(g.curOp.cursorActivityHandlers=[]),V=0;V<I.length;++V)P(j,I[V])==-1&&j.push(I[V])}function Ut(g,I){return Vt(g,I).length>0}function Ze(g){g.prototype.on=function(I,j){ke(this,I,j)},g.prototype.off=function(I,j){bt(this,I,j)}}function ze(g){g.preventDefault?g.preventDefault():g.returnValue=!1}function re(g){g.stopPropagation?g.stopPropagation():g.cancelBubble=!0}function le(g){return g.defaultPrevented!=null?g.defaultPrevented:g.returnValue==!1}function Xe(g){ze(g),re(g)}function _e(g){return g.target||g.srcElement}function je(g){var I=g.which;return I==null&&(g.button&1?I=1:g.button&2?I=3:g.button&4&&(I=2)),p&&g.ctrlKey&&I==1&&(I=3),I}var ar=function(){if(f&&a<9)return!1;var g=D("div");return"draggable"in g||"dragDrop"in g}(),zt;function Pt(g){if(zt==null){var I=D("span","\u200B");N(g,D("span",[I,document.createTextNode("x")])),g.firstChild.offsetHeight!=0&&(zt=I.offsetWidth<=1&&I.offsetHeight>2&&!(f&&a<8))}var j=zt?D("span","\u200B"):D("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return j.setAttribute("cm-text",""),j}var qt;function or(g){if(qt!=null)return qt;var I=N(g,document.createTextNode("A\u062EA")),j=R(I,0,1).getBoundingClientRect(),V=R(I,1,2).getBoundingClientRect();return x(g),!j||j.left==j.right?!1:qt=V.right-j.right<3}var Kt=`
|
||
|
||
b`.split(/\n/).length!=3?function(g){for(var I=0,j=[],V=g.length;I<=V;){var q=g.indexOf(`
|
||
`,I);q==-1&&(q=g.length);var ve=g.slice(I,g.charAt(q-1)=="\r"?q-1:q),Je=ve.indexOf("\r");Je!=-1?(j.push(ve.slice(0,Je)),I+=Je+1):(j.push(ve),I=q+1)}return j}:function(g){return g.split(/\r\n?|\n/)},Mt=window.getSelection?function(g){try{return g.selectionStart!=g.selectionEnd}catch(I){return!1}}:function(g){var I;try{I=g.ownerDocument.selection.createRange()}catch(j){}return!I||I.parentElement()!=g?!1:I.compareEndPoints("StartToEnd",I)!=0},me=function(){var g=D("div");return"oncopy"in g?!0:(g.setAttribute("oncopy","return;"),typeof g.oncopy=="function")}(),ce=null;function ae(g){if(ce!=null)return ce;var I=N(g,D("span","x")),j=I.getBoundingClientRect(),V=R(I,0,1).getBoundingClientRect();return ce=Math.abs(j.left-V.left)>1}var de={},Se={};function Ce(g,I){arguments.length>2&&(I.dependencies=Array.prototype.slice.call(arguments,2)),de[g]=I}function Ie(g,I){Se[g]=I}function Te(g){if(typeof g=="string"&&Se.hasOwnProperty(g))g=Se[g];else if(g&&typeof g.name=="string"&&Se.hasOwnProperty(g.name)){var I=Se[g.name];typeof I=="string"&&(I={name:I}),g=gt(I,g),g.name=I.name}else{if(typeof g=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(g))return Te("application/xml");if(typeof g=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(g))return Te("application/json")}return typeof g=="string"?{name:g}:g||{name:"null"}}function Ee(g,I){I=Te(I);var j=de[I.name];if(!j)return Ee(g,"text/plain");var V=j(g,I);if(He.hasOwnProperty(I.name)){var q=He[I.name];for(var ve in q){if(!q.hasOwnProperty(ve))continue;V.hasOwnProperty(ve)&&(V["_"+ve]=V[ve]),V[ve]=q[ve]}}if(V.name=I.name,I.helperType&&(V.helperType=I.helperType),I.modeProps)for(var Je in I.modeProps)V[Je]=I.modeProps[Je];return V}var He={};function st(g,I){var j=He.hasOwnProperty(g)?He[g]:He[g]={};H(I,j)}function vt(g,I){if(I===!0)return I;if(g.copyState)return g.copyState(I);var j={};for(var V in I){var q=I[V];q instanceof Array&&(q=q.concat([])),j[V]=q}return j}function ee(g,I){for(var j;g.innerMode&&!(j=g.innerMode(I),!j||j.mode==g);)I=j.state,g=j.mode;return j||{mode:g,state:I}}function oe(g,I,j){return g.startState?g.startState(I,j):!0}var k=function(I,j,V){this.pos=this.start=0,this.string=I,this.tabSize=j||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=V};k.prototype.eol=function(){return this.pos>=this.string.length},k.prototype.sol=function(){return this.pos==this.lineStart},k.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},k.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},k.prototype.eat=function(g){var I=this.string.charAt(this.pos),j;if(typeof g=="string"?j=I==g:j=I&&(g.test?g.test(I):g(I)),j)return++this.pos,I},k.prototype.eatWhile=function(g){for(var I=this.pos;this.eat(g););return this.pos>I},k.prototype.eatSpace=function(){for(var g=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>g},k.prototype.skipToEnd=function(){this.pos=this.string.length},k.prototype.skipTo=function(g){var I=this.string.indexOf(g,this.pos);if(I>-1)return this.pos=I,!0},k.prototype.backUp=function(g){this.pos-=g},k.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Y(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Y(this.string,this.lineStart,this.tabSize):0)},k.prototype.indentation=function(){return Y(this.string,null,this.tabSize)-(this.lineStart?Y(this.string,this.lineStart,this.tabSize):0)},k.prototype.match=function(g,I,j){if(typeof g=="string"){var V=function(St){return j?St.toLowerCase():St},q=this.string.substr(this.pos,g.length);if(V(q)==V(g))return I!==!1&&(this.pos+=g.length),!0}else{var ve=this.string.slice(this.pos).match(g);return ve&&ve.index>0?null:(ve&&I!==!1&&(this.pos+=ve[0].length),ve)}},k.prototype.current=function(){return this.string.slice(this.start,this.pos)},k.prototype.hideFirstChars=function(g,I){this.lineStart+=g;try{return I()}finally{this.lineStart-=g}},k.prototype.lookAhead=function(g){var I=this.lineOracle;return I&&I.lookAhead(g)},k.prototype.baseToken=function(){var g=this.lineOracle;return g&&g.baseToken(this.pos)};function $(g,I){if(I-=g.first,I<0||I>=g.size)throw new Error("There is no line "+(I+g.first)+" in the document.");for(var j=g;!j.lines;)for(var V=0;;++V){var q=j.children[V],ve=q.chunkSize();if(I<ve){j=q;break}I-=ve}return j.lines[I]}function se(g,I,j){var V=[],q=I.line;return g.iter(I.line,j.line+1,function(ve){var Je=ve.text;q==j.line&&(Je=Je.slice(0,j.ch)),q==I.line&&(Je=Je.slice(I.ch)),V.push(Je),++q}),V}function ge(g,I,j){var V=[];return g.iter(I,j,function(q){V.push(q.text)}),V}function Ae(g,I){var j=I-g.height;if(j)for(var V=g;V;V=V.parent)V.height+=j}function Me(g){if(g.parent==null)return null;for(var I=g.parent,j=P(I.lines,g),V=I.parent;V;I=V,V=V.parent)for(var q=0;!(V.children[q]==I);++q)j+=V.children[q].chunkSize();return j+I.first}function et(g,I){var j=g.first;e:do{for(var V=0;V<g.children.length;++V){var q=g.children[V],ve=q.height;if(I<ve){g=q;continue e}I-=ve,j+=q.chunkSize()}return j}while(!g.lines);for(var Je=0;Je<g.lines.length;++Je){var St=g.lines[Je],jt=St.height;if(I<jt)break;I-=jt}return j+Je}function Wt(g,I){return I>=g.first&&I<g.first+g.size}function er(g,I){return String(g.lineNumberFormatter(I+g.firstLineNumber))}function Ct(g,I,j){if(j===void 0&&(j=null),!(this instanceof Ct))return new Ct(g,I,j);this.line=g,this.ch=I,this.sticky=j}function Ht(g,I){return g.line-I.line||g.ch-I.ch}function kt(g,I){return g.sticky==I.sticky&&Ht(g,I)==0}function Zt(g){return Ct(g.line,g.ch)}function Et(g,I){return Ht(g,I)<0?I:g}function ur(g,I){return Ht(g,I)<0?g:I}function rr(g,I){return Math.max(g.first,Math.min(I,g.first+g.size-1))}function Ke(g,I){if(I.line<g.first)return Ct(g.first,0);var j=g.first+g.size-1;return I.line>j?Ct(j,$(g,j).text.length):nt(I,$(g,I.line).text.length)}function nt(g,I){var j=g.ch;return j==null||j>I?Ct(g.line,I):j<0?Ct(g.line,0):g}function Ge(g,I){for(var j=[],V=0;V<I.length;V++)j[V]=Ke(g,I[V]);return j}var ct=function(I,j){this.state=I,this.lookAhead=j},ht=function(I,j,V,q){this.state=j,this.doc=I,this.line=V,this.maxLookAhead=q||0,this.baseTokens=null,this.baseTokenPos=1};ht.prototype.lookAhead=function(g){var I=this.doc.getLine(this.line+g);return I!=null&&g>this.maxLookAhead&&(this.maxLookAhead=g),I},ht.prototype.baseToken=function(g){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=g;)this.baseTokenPos+=2;var I=this.baseTokens[this.baseTokenPos+1];return{type:I&&I.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-g}},ht.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ht.fromSaved=function(g,I,j){return I instanceof ct?new ht(g,vt(g.mode,I.state),j,I.lookAhead):new ht(g,vt(g.mode,I),j)},ht.prototype.save=function(g){var I=g!==!1?vt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ct(I,this.maxLookAhead):I};function ut(g,I,j,V){var q=[g.state.modeGen],ve={};Rr(g,I.text,g.doc.mode,j,function(Gt,Lr){return q.push(Gt,Lr)},ve,V);for(var Je=j.state,St=function(Lr){j.baseTokens=q;var jr=g.state.overlays[Lr],tn=1,nn=0;j.state=!0,Rr(g,I.text,jr.mode,j,function(bn,Fn){for(var Jn=tn;nn<bn;){var Zn=q[tn];Zn>bn&&q.splice(tn,1,bn,q[tn+1],Zn),tn+=2,nn=Math.min(bn,Zn)}if(!Fn)return;if(jr.opaque)q.splice(Jn,tn-Jn,bn,"overlay "+Fn),tn=Jn+2;else for(;Jn<tn;Jn+=2){var ni=q[Jn+1];q[Jn+1]=(ni?ni+" ":"")+"overlay "+Fn}},ve),j.state=Je,j.baseTokens=null,j.baseTokenPos=1},jt=0;jt<g.state.overlays.length;++jt)St(jt);return{styles:q,classes:ve.bgClass||ve.textClass?ve:null}}function We(g,I,j){if(!I.styles||I.styles[0]!=g.state.modeGen){var V=tt(g,Me(I)),q=I.text.length>g.options.maxHighlightLength&&vt(g.doc.mode,V.state),ve=ut(g,I,V);q&&(V.state=q),I.stateAfter=V.save(!q),I.styles=ve.styles,ve.classes?I.styleClasses=ve.classes:I.styleClasses&&(I.styleClasses=null),j===g.doc.highlightFrontier&&(g.doc.modeFrontier=Math.max(g.doc.modeFrontier,++g.doc.highlightFrontier))}return I.styles}function tt(g,I,j){var V=g.doc,q=g.display;if(!V.mode.startState)return new ht(V,!0,I);var ve=Jr(g,I,j),Je=ve>V.first&&$(V,ve-1).stateAfter,St=Je?ht.fromSaved(V,Je,ve):new ht(V,oe(V.mode),ve);return V.iter(ve,I,function(jt){ft(g,jt.text,St);var Gt=St.line;jt.stateAfter=Gt==I-1||Gt%5==0||Gt>=q.viewFrom&&Gt<q.viewTo?St.save():null,St.nextLine()}),j&&(V.modeFrontier=St.line),St}function ft(g,I,j,V){var q=g.doc.mode,ve=new k(I,g.options.tabSize,j);for(ve.start=ve.pos=V||0,I==""&&Yt(q,j.state);!ve.eol();)Dt(q,ve,j.state),ve.start=ve.pos}function Yt(g,I){if(g.blankLine)return g.blankLine(I);if(!g.innerMode)return;var j=ee(g,I);if(j.mode.blankLine)return j.mode.blankLine(j.state)}function Dt(g,I,j,V){for(var q=0;q<10;q++){V&&(V[0]=ee(g,j).mode);var ve=g.token(I,j);if(I.pos>I.start)return ve}throw new Error("Mode "+g.name+" failed to advance stream.")}var vr=function(I,j,V){this.start=I.start,this.end=I.pos,this.string=I.current(),this.type=j||null,this.state=V};function yr(g,I,j,V){var q=g.doc,ve=q.mode,Je;I=Ke(q,I);var St=$(q,I.line),jt=tt(g,I.line,j),Gt=new k(St.text,g.options.tabSize,jt),Lr;for(V&&(Lr=[]);(V||Gt.pos<I.ch)&&!Gt.eol();)Gt.start=Gt.pos,Je=Dt(ve,Gt,jt.state),V&&Lr.push(new vr(Gt,Je,vt(q.mode,jt.state)));return V?Lr:new vr(Gt,Je,jt.state)}function Dr(g,I){if(g)for(;;){var j=g.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!j)break;g=g.slice(0,j.index)+g.slice(j.index+j[0].length);var V=j[1]?"bgClass":"textClass";I[V]==null?I[V]=j[2]:new RegExp("(?:^|\\s)"+j[2]+"(?:$|\\s)").test(I[V])||(I[V]+=" "+j[2])}return g}function Rr(g,I,j,V,q,ve,Je){var St=j.flattenSpans;St==null&&(St=g.options.flattenSpans);var jt=0,Gt=null,Lr=new k(I,g.options.tabSize,V),jr,tn=g.options.addModeClass&&[null];for(I==""&&Dr(Yt(j,V.state),ve);!Lr.eol();){if(Lr.pos>g.options.maxHighlightLength?(St=!1,Je&&ft(g,I,V,Lr.pos),Lr.pos=I.length,jr=null):jr=Dr(Dt(j,Lr,V.state,tn),ve),tn){var nn=tn[0].name;nn&&(jr="m-"+(jr?nn+" "+jr:nn))}if(!St||Gt!=jr){for(;jt<Lr.start;)jt=Math.min(Lr.start,jt+5e3),q(jt,Gt);Gt=jr}Lr.start=Lr.pos}for(;jt<Lr.pos;){var bn=Math.min(Lr.pos,jt+5e3);q(bn,Gt),jt=bn}}function Jr(g,I,j){for(var V,q,ve=g.doc,Je=j?-1:I-(g.doc.mode.innerMode?1e3:100),St=I;St>Je;--St){if(St<=ve.first)return ve.first;var jt=$(ve,St-1),Gt=jt.stateAfter;if(Gt&&(!j||St+(Gt instanceof ct?Gt.lookAhead:0)<=ve.modeFrontier))return St;var Lr=Y(jt.text,null,g.options.tabSize);(q==null||V>Lr)&&(q=St-1,V=Lr)}return q}function $r(g,I){if(g.modeFrontier=Math.min(g.modeFrontier,I),g.highlightFrontier<I-10)return;for(var j=g.first,V=I-1;V>j;V--){var q=$(g,V).stateAfter;if(q&&(!(q instanceof ct)||V+q.lookAhead<I)){j=V+1;break}}g.highlightFrontier=Math.min(g.highlightFrontier,j)}var xr=!1,Vr=!1;function Or(){xr=!0}function nr(){Vr=!0}function pr(g,I,j){this.marker=g,this.from=I,this.to=j}function dr(g,I){if(g)for(var j=0;j<g.length;++j){var V=g[j];if(V.marker==I)return V}}function fr(g,I){for(var j,V=0;V<g.length;++V)g[V]!=I&&(j||(j=[])).push(g[V]);return j}function _r(g,I){g.markedSpans=g.markedSpans?g.markedSpans.concat([I]):[I],I.marker.attachLine(g)}function Zr(g,I,j){var V;if(g)for(var q=0;q<g.length;++q){var ve=g[q],Je=ve.marker,St=ve.from==null||(Je.inclusiveLeft?ve.from<=I:ve.from<I);if(St||ve.from==I&&Je.type=="bookmark"&&(!j||!ve.marker.insertLeft)){var jt=ve.to==null||(Je.inclusiveRight?ve.to>=I:ve.to>I);(V||(V=[])).push(new pr(Je,ve.from,jt?null:ve.to))}}return V}function on(g,I,j){var V;if(g)for(var q=0;q<g.length;++q){var ve=g[q],Je=ve.marker,St=ve.to==null||(Je.inclusiveRight?ve.to>=I:ve.to>I);if(St||ve.from==I&&Je.type=="bookmark"&&(!j||ve.marker.insertLeft)){var jt=ve.from==null||(Je.inclusiveLeft?ve.from<=I:ve.from<I);(V||(V=[])).push(new pr(Je,jt?null:ve.from-I,ve.to==null?null:ve.to-I))}}return V}function jn(g,I){if(I.full)return null;var j=Wt(g,I.from.line)&&$(g,I.from.line).markedSpans,V=Wt(g,I.to.line)&&$(g,I.to.line).markedSpans;if(!j&&!V)return null;var q=I.from.ch,ve=I.to.ch,Je=Ht(I.from,I.to)==0,St=Zr(j,q,Je),jt=on(V,ve,Je),Gt=I.text.length==1,Lr=$e(I.text).length+(Gt?q:0);if(St)for(var jr=0;jr<St.length;++jr){var tn=St[jr];if(tn.to==null){var nn=dr(jt,tn.marker);nn?Gt&&(tn.to=nn.to==null?null:nn.to+Lr):tn.to=q}}if(jt)for(var bn=0;bn<jt.length;++bn){var Fn=jt[bn];if(Fn.to!=null&&(Fn.to+=Lr),Fn.from==null){var Jn=dr(St,Fn.marker);Jn||(Fn.from=Lr,Gt&&(St||(St=[])).push(Fn))}else Fn.from+=Lr,Gt&&(St||(St=[])).push(Fn)}St&&(St=Ur(St)),jt&&jt!=St&&(jt=Ur(jt));var Zn=[St];if(!Gt){var ni=I.text.length-2,ai;if(ni>0&&St)for(var De=0;De<St.length;++De)St[De].to==null&&(ai||(ai=[])).push(new pr(St[De].marker,null,null));for(var X=0;X<ni;++X)Zn.push(ai);Zn.push(jt)}return Zn}function Ur(g){for(var I=0;I<g.length;++I){var j=g[I];j.from!=null&&j.from==j.to&&j.marker.clearWhenEmpty!==!1&&g.splice(I--,1)}return g.length?g:null}function En(g,I,j){var V=null;if(g.iter(I.line,j.line+1,function(nn){if(nn.markedSpans)for(var bn=0;bn<nn.markedSpans.length;++bn){var Fn=nn.markedSpans[bn].marker;Fn.readOnly&&(!V||P(V,Fn)==-1)&&(V||(V=[])).push(Fn)}}),!V)return null;for(var q=[{from:I,to:j}],ve=0;ve<V.length;++ve)for(var Je=V[ve],St=Je.find(0),jt=0;jt<q.length;++jt){var Gt=q[jt];if(Ht(Gt.to,St.from)<0||Ht(Gt.from,St.to)>0)continue;var Lr=[jt,1],jr=Ht(Gt.from,St.from),tn=Ht(Gt.to,St.to);(jr<0||!Je.inclusiveLeft&&!jr)&&Lr.push({from:Gt.from,to:St.from}),(tn>0||!Je.inclusiveRight&&!tn)&&Lr.push({from:St.to,to:Gt.to}),q.splice.apply(q,Lr),jt+=Lr.length-3}return q}function pn(g){var I=g.markedSpans;if(!I)return;for(var j=0;j<I.length;++j)I[j].marker.detachLine(g);g.markedSpans=null}function On(g,I){if(!I)return;for(var j=0;j<I.length;++j)I[j].marker.attachLine(g);g.markedSpans=I}function Vn(g){return g.inclusiveLeft?-1:0}function Nn(g){return g.inclusiveRight?1:0}function ui(g,I){var j=g.lines.length-I.lines.length;if(j!=0)return j;var V=g.find(),q=I.find(),ve=Ht(V.from,q.from)||Vn(g)-Vn(I);if(ve)return-ve;var Je=Ht(V.to,q.to)||Nn(g)-Nn(I);return Je||I.id-g.id}function Xn(g,I){var j=Vr&&g.markedSpans,V;if(j)for(var q=void 0,ve=0;ve<j.length;++ve)q=j[ve],q.marker.collapsed&&(I?q.from:q.to)==null&&(!V||ui(V,q.marker)<0)&&(V=q.marker);return V}function mn(g){return Xn(g,!0)}function cn(g){return Xn(g,!1)}function da(g,I){var j=Vr&&g.markedSpans,V;if(j)for(var q=0;q<j.length;++q){var ve=j[q];ve.marker.collapsed&&(ve.from==null||ve.from<I)&&(ve.to==null||ve.to>I)&&(!V||ui(V,ve.marker)<0)&&(V=ve.marker)}return V}function Ta(g,I,j,V,q){var ve=$(g,I),Je=Vr&&ve.markedSpans;if(Je)for(var St=0;St<Je.length;++St){var jt=Je[St];if(!jt.marker.collapsed)continue;var Gt=jt.marker.find(0),Lr=Ht(Gt.from,j)||Vn(jt.marker)-Vn(q),jr=Ht(Gt.to,V)||Nn(jt.marker)-Nn(q);if(Lr>=0&&jr<=0||Lr<=0&&jr>=0)continue;if(Lr<=0&&(jt.marker.inclusiveRight&&q.inclusiveLeft?Ht(Gt.to,j)>=0:Ht(Gt.to,j)>0)||Lr>=0&&(jt.marker.inclusiveRight&&q.inclusiveLeft?Ht(Gt.from,V)<=0:Ht(Gt.from,V)<0))return!0}}function ia(g){for(var I;I=mn(g);)g=I.find(-1,!0).line;return g}function fi(g){for(var I;I=cn(g);)g=I.find(1,!0).line;return g}function ki(g){for(var I,j;I=cn(g);)g=I.find(1,!0).line,(j||(j=[])).push(g);return j}function Qn(g,I){var j=$(g,I),V=ia(j);return j==V?I:Me(V)}function ea(g,I){if(I>g.lastLine())return I;var j=$(g,I),V;if(!An(g,j))return I;for(;V=cn(j);)j=V.find(1,!0).line;return Me(j)+1}function An(g,I){var j=Vr&&I.markedSpans;if(j)for(var V=void 0,q=0;q<j.length;++q){if(V=j[q],!V.marker.collapsed)continue;if(V.from==null)return!0;if(V.marker.widgetNode)continue;if(V.from==0&&V.marker.inclusiveLeft&&wn(g,I,V))return!0}}function wn(g,I,j){if(j.to==null){var V=j.marker.find(1,!0);return wn(g,V.line,dr(V.line.markedSpans,j.marker))}if(j.marker.inclusiveRight&&j.to==I.text.length)return!0;for(var q=void 0,ve=0;ve<I.markedSpans.length;++ve)if(q=I.markedSpans[ve],q.marker.collapsed&&!q.marker.widgetNode&&q.from==j.to&&(q.to==null||q.to!=j.from)&&(q.marker.inclusiveLeft||j.marker.inclusiveRight)&&wn(g,I,q))return!0}function Ln(g){g=ia(g);for(var I=0,j=g.parent,V=0;V<j.lines.length;++V){var q=j.lines[V];if(q==g)break;I+=q.height}for(var ve=j.parent;ve;j=ve,ve=j.parent)for(var Je=0;Je<ve.children.length;++Je){var St=ve.children[Je];if(St==j)break;I+=St.height}return I}function Un(g){if(g.height==0)return 0;for(var I=g.text.length,j,V=g;j=mn(V);){var q=j.find(0,!0);V=q.from.line,I+=q.from.ch-q.to.ch}for(V=g;j=cn(V);){var ve=j.find(0,!0);I-=V.text.length-ve.from.ch,V=ve.to.line,I+=V.text.length-ve.to.ch}return I}function kn(g){var I=g.display,j=g.doc;I.maxLine=$(j,j.first),I.maxLineLength=Un(I.maxLine),I.maxLineChanged=!0,j.iter(function(V){var q=Un(V);q>I.maxLineLength&&(I.maxLineLength=q,I.maxLine=V)})}var ti=function(I,j,V){this.text=I,On(this,j),this.height=V?V(this):1};ti.prototype.lineNo=function(){return Me(this)},Ze(ti);function di(g,I,j,V){g.text=I,g.stateAfter&&(g.stateAfter=null),g.styles&&(g.styles=null),g.order!=null&&(g.order=null),pn(g),On(g,j);var q=V?V(g):1;q!=g.height&&Ae(g,q)}function Na(g){g.parent=null,pn(g)}var Gi={},ba={};function Pa(g,I){if(!g||/^\s*$/.test(g))return null;var j=I.addModeClass?ba:Gi;return j[g]||(j[g]=g.replace(/\S+/g,"cm-$&"))}function Ga(g,I){var j=M("span",null,null,t?"padding-right: .1px":null),V={pre:M("pre",[j],"CodeMirror-line"),content:j,col:0,pos:0,cm:g,trailingSpace:!1,splitSpaces:g.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,Je=void 0;V.pos=0,V.addToken=Lo,or(g.display.measure)&&(Je=Tt(ve,g.doc.direction))&&(V.addToken=ji(V.addToken,Je)),V.map=[];var St=I!=g.display.externalMeasured&&Me(ve);ga(ve,V,We(g,ve,St)),ve.styleClasses&&(ve.styleClasses.bgClass&&(V.bgClass=U(ve.styleClasses.bgClass,V.bgClass||"")),ve.styleClasses.textClass&&(V.textClass=U(ve.styleClasses.textClass,V.textClass||""))),V.map.length==0&&V.map.push(0,0,V.content.appendChild(Pt(g.display.measure))),q==0?(I.measure.map=V.map,I.measure.cache={}):((I.measure.maps||(I.measure.maps=[])).push(V.map),(I.measure.caches||(I.measure.caches=[])).push({}))}if(t){var jt=V.content.lastChild;(/\bcm-tab\b/.test(jt.className)||jt.querySelector&&jt.querySelector(".cm-tab"))&&(V.content.className="cm-tab-wrap-hack")}return Rt(g,"renderLine",g,I.line,V.pre),V.pre.className&&(V.textClass=U(V.pre.className,V.textClass||"")),V}function Qi(g){var I=D("span","\u2022","cm-invalidchar");return I.title="\\u"+g.charCodeAt(0).toString(16),I.setAttribute("aria-label",I.title),I}function Lo(g,I,j,V,q,ve,Je){if(!I)return;var St=g.splitSpaces?sa(I,g.trailingSpace):I,jt=g.cm.state.specialChars,Gt=!1,Lr;if(!jt.test(I))g.col+=I.length,Lr=document.createTextNode(St),g.map.push(g.pos,g.pos+I.length,Lr),f&&a<9&&(Gt=!0),g.pos+=I.length;else{Lr=document.createDocumentFragment();for(var jr=0;;){jt.lastIndex=jr;var tn=jt.exec(I),nn=tn?tn.index-jr:I.length-jr;if(nn){var bn=document.createTextNode(St.slice(jr,jr+nn));f&&a<9?Lr.appendChild(D("span",[bn])):Lr.appendChild(bn),g.map.push(g.pos,g.pos+nn,bn),g.col+=nn,g.pos+=nn}if(!tn)break;jr+=nn+1;var Fn=void 0;if(tn[0]==" "){var Jn=g.cm.options.tabSize,Zn=Jn-g.col%Jn;Fn=Lr.appendChild(D("span",Qe(Zn),"cm-tab")),Fn.setAttribute("role","presentation"),Fn.setAttribute("cm-text"," "),g.col+=Zn}else tn[0]=="\r"||tn[0]==`
|
||
`?(Fn=Lr.appendChild(D("span",tn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Fn.setAttribute("cm-text",tn[0]),g.col+=1):(Fn=g.cm.options.specialCharPlaceholder(tn[0]),Fn.setAttribute("cm-text",tn[0]),f&&a<9?Lr.appendChild(D("span",[Fn])):Lr.appendChild(Fn),g.col+=1);g.map.push(g.pos,g.pos+1,Fn),g.pos++}}if(g.trailingSpace=St.charCodeAt(I.length-1)==32,j||V||q||Gt||ve||Je){var ni=j||"";V&&(ni+=V),q&&(ni+=q);var ai=D("span",[Lr],ni,ve);if(Je)for(var De in Je)Je.hasOwnProperty(De)&&De!="style"&&De!="class"&&ai.setAttribute(De,Je[De]);return g.content.appendChild(ai)}g.content.appendChild(Lr)}function sa(g,I){if(g.length>1&&!/ /.test(g))return g;for(var j=I,V="",q=0;q<g.length;q++){var ve=g.charAt(q);ve==" "&&j&&(q==g.length-1||g.charCodeAt(q+1)==32)&&(ve="\xA0"),V+=ve,j=ve==" "}return V}function ji(g,I){return function(j,V,q,ve,Je,St,jt){q=q?q+" cm-force-border":"cm-force-border";for(var Gt=j.pos,Lr=Gt+V.length;;){for(var jr=void 0,tn=0;tn<I.length&&!(jr=I[tn],jr.to>Gt&&jr.from<=Gt);tn++);if(jr.to>=Lr)return g(j,V,q,ve,Je,St,jt);g(j,V.slice(0,jr.to-Gt),q,ve,null,St,jt),ve=null,V=V.slice(jr.to-Gt),Gt=jr.to}}}function wa(g,I,j,V){var q=!V&&j.widgetNode;q&&g.map.push(g.pos,g.pos+I,q),!V&&g.cm.display.input.needsContentAttribute&&(q||(q=g.content.appendChild(document.createElement("span"))),q.setAttribute("cm-marker",j.id)),q&&(g.cm.display.input.setUneditable(q),g.content.appendChild(q)),g.pos+=I,g.trailingSpace=!1}function ga(g,I,j){var V=g.markedSpans,q=g.text,ve=0;if(!V){for(var Je=1;Je<j.length;Je+=2)I.addToken(I,q.slice(ve,ve=j[Je]),Pa(j[Je+1],I.cm.options));return}for(var St=q.length,jt=0,Gt=1,Lr="",jr,tn,nn=0,bn,Fn,Jn,Zn,ni;;){if(nn==jt){bn=Fn=Jn=tn="",ni=null,Zn=null,nn=Infinity;for(var ai=[],De=void 0,X=0;X<V.length;++X){var ye=V[X],Be=ye.marker;if(Be.type=="bookmark"&&ye.from==jt&&Be.widgetNode)ai.push(Be);else if(ye.from<=jt&&(ye.to==null||ye.to>jt||Be.collapsed&&ye.to==jt&&ye.from==jt)){if(ye.to!=null&&ye.to!=jt&&nn>ye.to&&(nn=ye.to,Fn=""),Be.className&&(bn+=" "+Be.className),Be.css&&(tn=(tn?tn+";":"")+Be.css),Be.startStyle&&ye.from==jt&&(Jn+=" "+Be.startStyle),Be.endStyle&&ye.to==nn&&(De||(De=[])).push(Be.endStyle,ye.to),Be.title&&((ni||(ni={})).title=Be.title),Be.attributes)for(var pt in Be.attributes)(ni||(ni={}))[pt]=Be.attributes[pt];Be.collapsed&&(!Zn||ui(Zn.marker,Be)<0)&&(Zn=ye)}else ye.from>jt&&nn>ye.from&&(nn=ye.from)}if(De)for(var tr=0;tr<De.length;tr+=2)De[tr+1]==nn&&(Fn+=" "+De[tr]);if(!Zn||Zn.from==jt)for(var br=0;br<ai.length;++br)wa(I,0,ai[br]);if(Zn&&(Zn.from||0)==jt){if(wa(I,(Zn.to==null?St+1:Zn.to)-jt,Zn.marker,Zn.from==null),Zn.to==null)return;Zn.to==jt&&(Zn=!1)}}if(jt>=St)break;for(var Ir=Math.min(St,nn);;){if(Lr){var zr=jt+Lr.length;if(!Zn){var Wr=zr>Ir?Lr.slice(0,Ir-jt):Lr;I.addToken(I,Wr,jr?jr+bn:bn,Jn,jt+Wr.length==nn?Fn:"",tn,ni)}if(zr>=Ir){Lr=Lr.slice(Ir-jt),jt=Ir;break}jt=zr,Jn=""}Lr=q.slice(ve,ve=j[Gt++]),jr=Pa(j[Gt++],I.cm.options)}}}function po(g,I,j){this.line=I,this.rest=ki(I),this.size=this.rest?Me($e(this.rest))-j+1:1,this.node=this.text=null,this.hidden=An(g,I)}function Bn(g,I,j){for(var V=[],q,ve=I;ve<j;ve=q){var Je=new po(g.doc,$(g.doc,ve),ve);q=ve+Je.size,V.push(Je)}return V}var ta=null;function So(g){ta?ta.ops.push(g):g.ownsGroup=ta={ops:[g],delayedCallbacks:[]}}function To(g){var I=g.delayedCallbacks,j=0;do{for(;j<I.length;j++)I[j].call(null);for(var V=0;V<g.ops.length;V++){var q=g.ops[V];if(q.cursorActivityHandlers)for(;q.cursorActivityCalled<q.cursorActivityHandlers.length;)q.cursorActivityHandlers[q.cursorActivityCalled++].call(null,q.cm)}}while(j<I.length)}function Ha(g,I){var j=g.ownsGroup;if(!j)return;try{To(j)}finally{ta=null,I(j)}}var eo=null;function Hi(g,I){var j=Vt(g,I);if(!j.length)return;var V=Array.prototype.slice.call(arguments,2),q;ta?q=ta.delayedCallbacks:eo?q=eo:(q=eo=[],setTimeout($t,0));for(var ve=function(jt){q.push(function(){return j[jt].apply(null,V)})},Je=0;Je<j.length;++Je)ve(Je)}function $t(){var g=eo;eo=null;for(var I=0;I<g.length;++I)g[I]()}function Tr(g,I,j,V){for(var q=0;q<I.changes.length;q++){var ve=I.changes[q];ve=="text"?Xt(g,I):ve=="gutter"?Sr(g,I,j,V):ve=="class"?ir(g,I):ve=="widget"&&gr(g,I,V)}I.changes=null}function Kr(g){return g.node==g.text&&(g.node=D("div",null,null,"position: relative"),g.text.parentNode&&g.text.parentNode.replaceChild(g.node,g.text),g.node.appendChild(g.text),f&&a<8&&(g.node.style.zIndex=2)),g.node}function Ne(g,I){var j=I.bgClass?I.bgClass+" "+(I.line.bgClass||""):I.line.bgClass;if(j&&(j+=" CodeMirror-linebackground"),I.background)j?I.background.className=j:(I.background.parentNode.removeChild(I.background),I.background=null);else if(j){var V=Kr(I);I.background=V.insertBefore(D("div",null,j),V.firstChild),g.display.input.setUneditable(I.background)}}function Lt(g,I){var j=g.display.externalMeasured;return j&&j.line==I.line?(g.display.externalMeasured=null,I.measure=j.measure,j.built):Ga(g,I)}function Xt(g,I){var j=I.text.className,V=Lt(g,I);I.text==I.node&&(I.node=V.pre),I.text.parentNode.replaceChild(V.pre,I.text),I.text=V.pre,V.bgClass!=I.bgClass||V.textClass!=I.textClass?(I.bgClass=V.bgClass,I.textClass=V.textClass,ir(g,I)):j&&(I.text.className=j)}function ir(g,I){Ne(g,I),I.line.wrapClass?Kr(I).className=I.line.wrapClass:I.node!=I.text&&(I.node.className="");var j=I.textClass?I.textClass+" "+(I.line.textClass||""):I.line.textClass;I.text.className=j||""}function Sr(g,I,j,V){if(I.gutter&&(I.node.removeChild(I.gutter),I.gutter=null),I.gutterBackground&&(I.node.removeChild(I.gutterBackground),I.gutterBackground=null),I.line.gutterClass){var q=Kr(I);I.gutterBackground=D("div",null,"CodeMirror-gutter-background "+I.line.gutterClass,"left: "+(g.options.fixedGutter?V.fixedPos:-V.gutterTotalWidth)+"px; width: "+V.gutterTotalWidth+"px"),g.display.input.setUneditable(I.gutterBackground),q.insertBefore(I.gutterBackground,I.text)}var ve=I.line.gutterMarkers;if(g.options.lineNumbers||ve){var Je=Kr(I),St=I.gutter=D("div",null,"CodeMirror-gutter-wrapper","left: "+(g.options.fixedGutter?V.fixedPos:-V.gutterTotalWidth)+"px");if(g.display.input.setUneditable(St),Je.insertBefore(St,I.text),I.line.gutterClass&&(St.className+=" "+I.line.gutterClass),g.options.lineNumbers&&(!ve||!ve["CodeMirror-linenumbers"])&&(I.lineNumber=St.appendChild(D("div",er(g.options,j),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+V.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+g.display.lineNumInnerWidth+"px"))),ve)for(var jt=0;jt<g.display.gutterSpecs.length;++jt){var Gt=g.display.gutterSpecs[jt].className,Lr=ve.hasOwnProperty(Gt)&&ve[Gt];Lr&&St.appendChild(D("div",[Lr],"CodeMirror-gutter-elt","left: "+V.gutterLeft[Gt]+"px; width: "+V.gutterWidth[Gt]+"px"))}}}function gr(g,I,j){I.alignable&&(I.alignable=null);for(var V=T("CodeMirror-linewidget"),q=I.node.firstChild,ve=void 0;q;q=ve)ve=q.nextSibling,V.test(q.className)&&I.node.removeChild(q);Hr(g,I,j)}function Mr(g,I,j,V){var q=Lt(g,I);return I.text=I.node=q.pre,q.bgClass&&(I.bgClass=q.bgClass),q.textClass&&(I.textClass=q.textClass),ir(g,I),Sr(g,I,j,V),Hr(g,I,V),I.node}function Hr(g,I,j){if(kr(g,I.line,I,j,!0),I.rest)for(var V=0;V<I.rest.length;V++)kr(g,I.rest[V],I,j,!1)}function kr(g,I,j,V,q){if(!I.widgets)return;for(var ve=Kr(j),Je=0,St=I.widgets;Je<St.length;++Je){var jt=St[Je],Gt=D("div",[jt.node],"CodeMirror-linewidget"+(jt.className?" "+jt.className:""));jt.handleMouseEvents||Gt.setAttribute("cm-ignore-events","true"),Yr(jt,Gt,j,V),g.display.input.setUneditable(Gt),q&&jt.above?ve.insertBefore(Gt,j.gutter||j.text):ve.appendChild(Gt),Hi(jt,"redraw")}}function Yr(g,I,j,V){if(g.noHScroll){(j.alignable||(j.alignable=[])).push(I);var q=V.wrapperWidth;I.style.left=V.fixedPos+"px",g.coverGutter||(q-=V.gutterTotalWidth,I.style.paddingLeft=V.gutterTotalWidth+"px"),I.style.width=q+"px"}g.coverGutter&&(I.style.zIndex=5,I.style.position="relative",g.noHScroll||(I.style.marginLeft=-V.gutterTotalWidth+"px"))}function en(g){if(g.height!=null)return g.height;var I=g.doc.cm;if(!I)return 0;if(!F(document.body,g.node)){var j="position: relative;";g.coverGutter&&(j+="margin-left: -"+I.display.gutters.offsetWidth+"px;"),g.noHScroll&&(j+="width: "+I.display.wrapper.clientWidth+"px;"),N(I.display.measure,D("div",[g.node],null,j))}return g.height=g.node.parentNode.offsetHeight}function lt(g,I){for(var j=_e(I);j!=g.wrapper;j=j.parentNode)if(!j||j.nodeType==1&&j.getAttribute("cm-ignore-events")=="true"||j.parentNode==g.sizer&&j!=g.mover)return!0}function Qt(g){return g.lineSpace.offsetTop}function lr(g){return g.mover.offsetHeight-g.lineSpace.offsetHeight}function mr(g){if(g.cachedPaddingH)return g.cachedPaddingH;var I=N(g.measure,D("pre","x","CodeMirror-line-like")),j=window.getComputedStyle?window.getComputedStyle(I):I.currentStyle,V={left:parseInt(j.paddingLeft),right:parseInt(j.paddingRight)};return!isNaN(V.left)&&!isNaN(V.right)&&(g.cachedPaddingH=V),V}function Er(g){return G-g.display.nativeBarWidth}function Br(g){return g.display.scroller.clientWidth-Er(g)-g.display.barWidth}function rn(g){return g.display.scroller.clientHeight-Er(g)-g.display.barHeight}function dn(g,I,j){var V=g.options.lineWrapping,q=V&&Br(g);if(!I.measure.heights||V&&I.measure.width!=q){var ve=I.measure.heights=[];if(V){I.measure.width=q;for(var Je=I.text.firstChild.getClientRects(),St=0;St<Je.length-1;St++){var jt=Je[St],Gt=Je[St+1];Math.abs(jt.bottom-Gt.bottom)>2&&ve.push((jt.bottom+Gt.top)/2-j.top)}}ve.push(j.bottom-j.top)}}function yn(g,I,j){if(g.line==I)return{map:g.measure.map,cache:g.measure.cache};for(var V=0;V<g.rest.length;V++)if(g.rest[V]==I)return{map:g.measure.maps[V],cache:g.measure.caches[V]};for(var q=0;q<g.rest.length;q++)if(Me(g.rest[q])>j)return{map:g.measure.maps[q],cache:g.measure.caches[q],before:!0}}function Dn(g,I){I=ia(I);var j=Me(I),V=g.display.externalMeasured=new po(g.doc,I,j);V.lineN=j;var q=V.built=Ga(g,V);return V.text=q.pre,N(g.display.lineMeasure,q.pre),V}function gn(g,I,j,V){return Cn(g,_n(g,I),j,V)}function Sn(g,I){if(I>=g.display.viewFrom&&I<g.display.viewTo)return g.display.view[Xi(g,I)];var j=g.display.externalMeasured;if(j&&I>=j.lineN&&I<j.lineN+j.size)return j}function _n(g,I){var j=Me(I),V=Sn(g,j);V&&!V.text?V=null:V&&V.changes&&(Tr(g,V,j,Li(g)),g.curOp.forceUpdate=!0),V||(V=Dn(g,I));var q=yn(V,I,j);return{line:I,view:V,rect:null,map:q.map,cache:q.cache,before:q.before,hasHeights:!1}}function Cn(g,I,j,V,q){I.before&&(j=-1);var ve=j+(V||""),Je;return I.cache.hasOwnProperty(ve)?Je=I.cache[ve]:(I.rect||(I.rect=I.view.text.getBoundingClientRect()),I.hasHeights||(dn(g,I.view,I.rect),I.hasHeights=!0),Je=Yn(g,I,j,V),Je.bogus||(I.cache[ve]=Je)),{left:Je.left,right:Je.right,top:q?Je.rtop:Je.top,bottom:q?Je.rbottom:Je.bottom}}var In={left:0,right:0,top:0,bottom:0};function fn(g,I,j){for(var V,q,ve,Je,St,jt,Gt=0;Gt<g.length;Gt+=3)if(St=g[Gt],jt=g[Gt+1],I<St?(q=0,ve=1,Je="left"):I<jt?(q=I-St,ve=q+1):(Gt==g.length-3||I==jt&&g[Gt+3]>I)&&(ve=jt-St,q=ve-1,I>=jt&&(Je="right")),q!=null){if(V=g[Gt+2],St==jt&&j==(V.insertLeft?"left":"right")&&(Je=j),j=="left"&&q==0)for(;Gt&&g[Gt-2]==g[Gt-3]&&g[Gt-1].insertLeft;)V=g[(Gt-=3)+2],Je="left";if(j=="right"&&q==jt-St)for(;Gt<g.length-3&&g[Gt+3]==g[Gt+4]&&!g[Gt+5].insertLeft;)V=g[(Gt+=3)+2],Je="right";break}return{node:V,start:q,end:ve,collapse:Je,coverStart:St,coverEnd:jt}}function Tn(g,I){var j=In;if(I=="left")for(var V=0;V<g.length&&!((j=g[V]).left!=j.right);V++);else for(var q=g.length-1;q>=0&&!((j=g[q]).left!=j.right);q--);return j}function Yn(g,I,j,V){var q=fn(I.map,j,V),ve=q.node,Je=q.start,St=q.end,jt=q.collapse,Gt;if(ve.nodeType==3){for(var Lr=0;Lr<4;Lr++){for(;Je&&Ye(I.line.text.charAt(q.coverStart+Je));)--Je;for(;q.coverStart+St<q.coverEnd&&Ye(I.line.text.charAt(q.coverStart+St));)++St;if(f&&a<9&&Je==0&&St==q.coverEnd-q.coverStart?Gt=ve.parentNode.getBoundingClientRect():Gt=Tn(R(ve,Je,St).getClientRects(),V),Gt.left||Gt.right||Je==0)break;St=Je,Je=Je-1,jt="right"}f&&a<11&&(Gt=Gn(g.display.measure,Gt))}else{Je>0&&(jt=V="right");var jr;g.options.lineWrapping&&(jr=ve.getClientRects()).length>1?Gt=jr[V=="right"?jr.length-1:0]:Gt=ve.getBoundingClientRect()}if(f&&a<9&&!Je&&(!Gt||!Gt.left&&!Gt.right)){var tn=ve.parentNode.getClientRects()[0];tn?Gt={left:tn.left,right:tn.left+$n(g.display),top:tn.top,bottom:tn.bottom}:Gt=In}for(var nn=Gt.top-I.rect.top,bn=Gt.bottom-I.rect.top,Fn=(nn+bn)/2,Jn=I.view.measure.heights,Zn=0;Zn<Jn.length-1&&!(Fn<Jn[Zn]);Zn++);var ni=Zn?Jn[Zn-1]:0,ai=Jn[Zn],De={left:(jt=="right"?Gt.right:Gt.left)-I.rect.left,right:(jt=="left"?Gt.left:Gt.right)-I.rect.left,top:ni,bottom:ai};return!Gt.left&&!Gt.right&&(De.bogus=!0),g.options.singleCursorHeightPerLine||(De.rtop=nn,De.rbottom=bn),De}function Gn(g,I){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!ae(g))return I;var j=screen.logicalXDPI/screen.deviceXDPI,V=screen.logicalYDPI/screen.deviceYDPI;return{left:I.left*j,right:I.right*j,top:I.top*V,bottom:I.bottom*V}}function Hn(g){if(g.measure&&(g.measure.cache={},g.measure.heights=null,g.rest))for(var I=0;I<g.rest.length;I++)g.measure.caches[I]={}}function zi(g){g.display.externalMeasure=null,x(g.display.lineMeasure);for(var I=0;I<g.display.view.length;I++)Hn(g.display.view[I])}function Oi(g){zi(g),g.display.cachedCharWidth=g.display.cachedTextHeight=g.display.cachedPaddingH=null,g.options.lineWrapping||(g.display.maxLineChanged=!0),g.display.lineNumChars=null}function Di(){return s&&i?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function wi(){return s&&i?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Pn(g){var I=0;if(g.widgets)for(var j=0;j<g.widgets.length;++j)g.widgets[j].above&&(I+=en(g.widgets[j]));return I}function Ei(g,I,j,V,q){if(!q){var ve=Pn(I);j.top+=ve,j.bottom+=ve}if(V=="line")return j;V||(V="local");var Je=Ln(I);if(V=="local"?Je+=Qt(g.display):Je-=g.display.viewOffset,V=="page"||V=="window"){var St=g.display.lineSpace.getBoundingClientRect();Je+=St.top+(V=="window"?0:wi());var jt=St.left+(V=="window"?0:Di());j.left+=jt,j.right+=jt}return j.top+=Je,j.bottom+=Je,j}function va(g,I,j){if(j=="div")return I;var V=I.left,q=I.top;if(j=="page")V-=Di(),q-=wi();else if(j=="local"||!j){var ve=g.display.sizer.getBoundingClientRect();V+=ve.left,q+=ve.top}var Je=g.display.lineSpace.getBoundingClientRect();return{left:V-Je.left,top:q-Je.top}}function Sa(g,I,j,V,q){return V||(V=$(g.doc,I.line)),Ei(g,V,gn(g,V,I.ch,q),j)}function gi(g,I,j,V,q,ve){V=V||$(g.doc,I.line),q||(q=_n(g,V));function Je(bn,Fn){var Jn=Cn(g,q,bn,Fn?"right":"left",ve);return Fn?Jn.left=Jn.right:Jn.right=Jn.left,Ei(g,V,Jn,j)}var St=Tt(V,g.doc.direction),jt=I.ch,Gt=I.sticky;if(jt>=V.text.length?(jt=V.text.length,Gt="before"):jt<=0&&(jt=0,Gt="after"),!St)return Je(Gt=="before"?jt-1:jt,Gt=="before");function Lr(bn,Fn,Jn){var Zn=St[Fn],ni=Zn.level==1;return Je(Jn?bn-1:bn,ni!=Jn)}var jr=at(St,jt,Gt),tn=Le,nn=Lr(jt,jr,Gt=="before");return tn!=null&&(nn.other=Lr(jt,tn,Gt!="before")),nn}function pi(g,I){var j=0;I=Ke(g.doc,I),g.options.lineWrapping||(j=$n(g.display)*I.ch);var V=$(g.doc,I.line),q=Ln(V)+Qt(g.display);return{left:j,right:j,top:q,bottom:q+V.height}}function Ii(g,I,j,V,q){var ve=Ct(g,I,j);return ve.xRel=q,V&&(ve.outside=V),ve}function Ci(g,I,j){var V=g.doc;if(j+=g.display.viewOffset,j<0)return Ii(V.first,0,null,-1,-1);var q=et(V,j),ve=V.first+V.size-1;if(q>ve)return Ii(V.first+V.size-1,$(V,ve).text.length,null,1,1);I<0&&(I=0);for(var Je=$(V,q);;){var St=Oa(g,Je,q,I,j),jt=da(Je,St.ch+(St.xRel>0||St.outside>0?1:0));if(!jt)return St;var Gt=jt.find(1);if(Gt.line==q)return Gt;Je=$(V,q=Gt.line)}}function Si(g,I,j,V){V-=Pn(I);var q=I.text.length,ve=Ue(function(Je){return Cn(g,j,Je-1).bottom<=V},q,0);return q=Ue(function(Je){return Cn(g,j,Je).top>V},ve,q),{begin:ve,end:q}}function la(g,I,j,V){j||(j=_n(g,I));var q=Ei(g,I,Cn(g,j,V),"line").top;return Si(g,I,j,q)}function Da(g,I,j,V){return g.bottom<=j?!1:g.top>j?!0:(V?g.left:g.right)>I}function Oa(g,I,j,V,q){q-=Ln(I);var ve=_n(g,I),Je=Pn(I),St=0,jt=I.text.length,Gt=!0,Lr=Tt(I,g.doc.direction);if(Lr){var jr=(g.options.lineWrapping?ya:Aa)(g,I,j,ve,Lr,V,q);Gt=jr.level!=1,St=Gt?jr.from:jr.to-1,jt=Gt?jr.to:jr.from-1}var tn=null,nn=null,bn=Ue(function(X){var ye=Cn(g,ve,X);return ye.top+=Je,ye.bottom+=Je,Da(ye,V,q,!1)?(ye.top<=q&&ye.left<=V&&(tn=X,nn=ye),!0):!1},St,jt),Fn,Jn,Zn=!1;if(nn){var ni=V-nn.left<nn.right-V,ai=ni==Gt;bn=tn+(ai?0:1),Jn=ai?"after":"before",Fn=ni?nn.left:nn.right}else{!Gt&&(bn==jt||bn==St)&&bn++,Jn=bn==0?"after":bn==I.text.length?"before":Cn(g,ve,bn-(Gt?1:0)).bottom+Je<=q==Gt?"after":"before";var De=gi(g,Ct(j,bn,Jn),"line",I,ve);Fn=De.left,Zn=q<De.top?-1:q>=De.bottom?1:0}return bn=mt(I.text,bn,1),Ii(j,bn,Jn,Zn,V-Fn)}function Aa(g,I,j,V,q,ve,Je){var St=Ue(function(jr){var tn=q[jr],nn=tn.level!=1;return Da(gi(g,Ct(j,nn?tn.to:tn.from,nn?"before":"after"),"line",I,V),ve,Je,!0)},0,q.length-1),jt=q[St];if(St>0){var Gt=jt.level!=1,Lr=gi(g,Ct(j,Gt?jt.from:jt.to,Gt?"after":"before"),"line",I,V);Da(Lr,ve,Je,!0)&&Lr.top>Je&&(jt=q[St-1])}return jt}function ya(g,I,j,V,q,ve,Je){var St=Si(g,I,V,Je),jt=St.begin,Gt=St.end;/\s/.test(I.text.charAt(Gt-1))&&Gt--;for(var Lr=null,jr=null,tn=0;tn<q.length;tn++){var nn=q[tn];if(nn.from>=Gt||nn.to<=jt)continue;var bn=nn.level!=1,Fn=Cn(g,V,bn?Math.min(Gt,nn.to)-1:Math.max(jt,nn.from)).right,Jn=Fn<ve?ve-Fn+1e9:Fn-ve;(!Lr||jr>Jn)&&(Lr=nn,jr=Jn)}return Lr||(Lr=q[q.length-1]),Lr.from<jt&&(Lr={from:jt,to:Lr.to,level:Lr.level}),Lr.to>Gt&&(Lr={from:Lr.from,to:Gt,level:Lr.level}),Lr}var aa;function mi(g){if(g.cachedTextHeight!=null)return g.cachedTextHeight;if(aa==null){aa=D("pre",null,"CodeMirror-line-like");for(var I=0;I<49;++I)aa.appendChild(document.createTextNode("x")),aa.appendChild(D("br"));aa.appendChild(document.createTextNode("x"))}N(g.measure,aa);var j=aa.offsetHeight/50;return j>3&&(g.cachedTextHeight=j),x(g.measure),j||1}function $n(g){if(g.cachedCharWidth!=null)return g.cachedCharWidth;var I=D("span","xxxxxxxxxx"),j=D("pre",[I],"CodeMirror-line-like");N(g.measure,j);var V=I.getBoundingClientRect(),q=(V.right-V.left)/10;return q>2&&(g.cachedCharWidth=q),q||10}function Li(g){for(var I=g.display,j={},V={},q=I.gutters.clientLeft,ve=I.gutters.firstChild,Je=0;ve;ve=ve.nextSibling,++Je){var St=g.display.gutterSpecs[Je].className;j[St]=ve.offsetLeft+ve.clientLeft+q,V[St]=ve.clientWidth}return{fixedPos:_i(I),gutterTotalWidth:I.gutters.offsetWidth,gutterLeft:j,gutterWidth:V,wrapperWidth:I.wrapper.clientWidth}}function _i(g){return g.scroller.getBoundingClientRect().left-g.sizer.getBoundingClientRect().left}function oi(g){var I=mi(g.display),j=g.options.lineWrapping,V=j&&Math.max(5,g.display.scroller.clientWidth/$n(g.display)-3);return function(q){if(An(g.doc,q))return 0;var ve=0;if(q.widgets)for(var Je=0;Je<q.widgets.length;Je++)q.widgets[Je].height&&(ve+=q.widgets[Je].height);return j?ve+(Math.ceil(q.text.length/V)||1)*I:ve+I}}function Fi(g){var I=g.doc,j=oi(g);I.iter(function(V){var q=j(V);q!=V.height&&Ae(V,q)})}function Yi(g,I,j,V){var q=g.display;if(!j&&_e(I).getAttribute("cm-not-content")=="true")return null;var ve,Je,St=q.lineSpace.getBoundingClientRect();try{ve=I.clientX-St.left,Je=I.clientY-St.top}catch(jr){return null}var jt=Ci(g,ve,Je),Gt;if(V&&jt.xRel>0&&(Gt=$(g.doc,jt.line).text).length==jt.ch){var Lr=Y(Gt,Gt.length,g.options.tabSize)-Gt.length;jt=Ct(jt.line,Math.max(0,Math.round((ve-mr(g.display).left)/$n(g.display))-Lr))}return jt}function Xi(g,I){if(I>=g.display.viewTo)return null;if(I-=g.display.viewFrom,I<0)return null;for(var j=g.display.view,V=0;V<j.length;V++)if(I-=j[V].size,I<0)return V}function Zi(g,I,j,V){I==null&&(I=g.doc.first),j==null&&(j=g.doc.first+g.doc.size),V||(V=0);var q=g.display;if(V&&j<q.viewTo&&(q.updateLineNumbers==null||q.updateLineNumbers>I)&&(q.updateLineNumbers=I),g.curOp.viewChanged=!0,I>=q.viewTo)Vr&&Qn(g.doc,I)<q.viewTo&&Mi(g);else if(j<=q.viewFrom)Vr&&ea(g.doc,j+V)>q.viewFrom?Mi(g):(q.viewFrom+=V,q.viewTo+=V);else if(I<=q.viewFrom&&j>=q.viewTo)Mi(g);else if(I<=q.viewFrom){var ve=ca(g,j,j+V,1);ve?(q.view=q.view.slice(ve.index),q.viewFrom=ve.lineN,q.viewTo+=V):Mi(g)}else if(j>=q.viewTo){var Je=ca(g,I,I,-1);Je?(q.view=q.view.slice(0,Je.index),q.viewTo=Je.lineN):Mi(g)}else{var St=ca(g,I,I,-1),jt=ca(g,j,j+V,1);St&&jt?(q.view=q.view.slice(0,St.index).concat(Bn(g,St.lineN,jt.lineN)).concat(q.view.slice(jt.index)),q.viewTo+=V):Mi(g)}var Gt=q.externalMeasured;Gt&&(j<Gt.lineN?Gt.lineN+=V:I<Gt.lineN+Gt.size&&(q.externalMeasured=null))}function Fa(g,I,j){g.curOp.viewChanged=!0;var V=g.display,q=g.display.externalMeasured;if(q&&I>=q.lineN&&I<q.lineN+q.size&&(V.externalMeasured=null),I<V.viewFrom||I>=V.viewTo)return;var ve=V.view[Xi(g,I)];if(ve.node==null)return;var Je=ve.changes||(ve.changes=[]);P(Je,j)==-1&&Je.push(j)}function Mi(g){g.display.viewFrom=g.display.viewTo=g.doc.first,g.display.view=[],g.display.viewOffset=0}function ca(g,I,j,V){var q=Xi(g,I),ve,Je=g.display.view;if(!Vr||j==g.doc.first+g.doc.size)return{index:q,lineN:j};for(var St=g.display.viewFrom,jt=0;jt<q;jt++)St+=Je[jt].size;if(St!=I){if(V>0){if(q==Je.length-1)return null;ve=St+Je[q].size-I,q++}else ve=St-I;I+=ve,j+=ve}for(;Qn(g.doc,j)!=j;){if(q==(V<0?0:Je.length-1))return null;j+=V*Je[q-(V<0?1:0)].size,q+=V}return{index:q,lineN:j}}function ha(g,I,j){var V=g.display,q=V.view;q.length==0||I>=V.viewTo||j<=V.viewFrom?(V.view=Bn(g,I,j),V.viewFrom=I):(V.viewFrom>I?V.view=Bn(g,I,V.viewFrom).concat(V.view):V.viewFrom<I&&(V.view=V.view.slice(Xi(g,I))),V.viewFrom=I,V.viewTo<j?V.view=V.view.concat(Bn(g,V.viewTo,j)):V.viewTo>j&&(V.view=V.view.slice(0,Xi(g,j)))),V.viewTo=j}function Ua(g){for(var I=g.display.view,j=0,V=0;V<I.length;V++){var q=I[V];!q.hidden&&(!q.node||q.changes)&&++j}return j}function Ti(g){g.display.input.showSelection(g.display.input.prepareSelection())}function to(g,I){I===void 0&&(I=!0);for(var j=g.doc,V={},q=V.cursors=document.createDocumentFragment(),ve=V.selection=document.createDocumentFragment(),Je=0;Je<j.sel.ranges.length;Je++){if(!I&&Je==j.sel.primIndex)continue;var St=j.sel.ranges[Je];if(St.from().line>=g.display.viewTo||St.to().line<g.display.viewFrom)continue;var jt=St.empty();(jt||g.options.showCursorWhenSelecting)&&ka(g,St.head,q),jt||Ya(g,St,ve)}return V}function ka(g,I,j){var V=gi(g,I,"div",null,null,!g.options.singleCursorHeightPerLine),q=j.appendChild(D("div","\xA0","CodeMirror-cursor"));if(q.style.left=V.left+"px",q.style.top=V.top+"px",q.style.height=Math.max(0,V.bottom-V.top)*g.options.cursorHeight+"px",V.other){var ve=j.appendChild(D("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ve.style.display="",ve.style.left=V.other.left+"px",ve.style.top=V.other.top+"px",ve.style.height=(V.other.bottom-V.other.top)*.85+"px"}}function ua(g,I){return g.top-I.top||g.left-I.left}function Ya(g,I,j){var V=g.display,q=g.doc,ve=document.createDocumentFragment(),Je=mr(g.display),St=Je.left,jt=Math.max(V.sizerWidth,Br(g)-V.sizer.offsetLeft)-Je.right,Gt=q.direction=="ltr";function Lr(ai,De,X,ye){De<0&&(De=0),De=Math.round(De),ye=Math.round(ye),ve.appendChild(D("div",null,"CodeMirror-selected","position: absolute; left: "+ai+`px;
|
||
top: `+De+"px; width: "+(X==null?jt-ai:X)+`px;
|
||
height: `+(ye-De)+"px"))}function jr(ai,De,X){var ye=$(q,ai),Be=ye.text.length,pt,tr;function br(Wr,ln){return Sa(g,Ct(ai,Wr),"div",ye,ln)}function Ir(Wr,ln,an){var Mn=la(g,ye,null,Wr),ii=ln=="ltr"==(an=="after")?"left":"right",zn=an=="after"?Mn.begin:Mn.end-(/\s/.test(ye.text.charAt(Mn.end-1))?2:1);return br(zn,ii)[ii]}var zr=Tt(ye,q.direction);return Re(zr,De||0,X==null?Be:X,function(Wr,ln,an,Mn){var ii=an=="ltr",zn=br(Wr,ii?"left":"right"),hi=br(ln-1,ii?"right":"left"),ma=De==null&&Wr==0,xi=X==null&&ln==Be,oa=Mn==0,Ia=!zr||Mn==zr.length-1;if(hi.top-zn.top<=3){var Ri=(Gt?ma:xi)&&oa,No=(Gt?xi:ma)&&Ia,qa=Ri?St:(ii?zn:hi).left,Wo=No?jt:(ii?hi:zn).right;Lr(qa,zn.top,Wo-qa,zn.bottom)}else{var Uo,Ba,Vo,ps;ii?(Uo=Gt&&ma&&oa?St:zn.left,Ba=Gt?jt:Ir(Wr,an,"before"),Vo=Gt?St:Ir(ln,an,"after"),ps=Gt&&xi&&Ia?jt:hi.right):(Uo=Gt?Ir(Wr,an,"before"):St,Ba=!Gt&&ma&&oa?jt:zn.right,Vo=!Gt&&xi&&Ia?St:hi.left,ps=Gt?Ir(ln,an,"after"):jt),Lr(Uo,zn.top,Ba-Uo,zn.bottom),zn.bottom<hi.top&&Lr(St,zn.bottom,null,hi.top),Lr(Vo,hi.top,ps-Vo,hi.bottom)}(!pt||ua(zn,pt)<0)&&(pt=zn),ua(hi,pt)<0&&(pt=hi),(!tr||ua(zn,tr)<0)&&(tr=zn),ua(hi,tr)<0&&(tr=hi)}),{start:pt,end:tr}}var tn=I.from(),nn=I.to();if(tn.line==nn.line)jr(tn.line,tn.ch,nn.ch);else{var bn=$(q,tn.line),Fn=$(q,nn.line),Jn=ia(bn)==ia(Fn),Zn=jr(tn.line,tn.ch,Jn?bn.text.length+1:null).end,ni=jr(nn.line,Jn?0:null,nn.ch).start;Jn&&(Zn.top<ni.top-2?(Lr(Zn.right,Zn.top,null,Zn.bottom),Lr(St,ni.top,ni.left,ni.bottom)):Lr(Zn.right,Zn.top,ni.left-Zn.right,Zn.bottom)),Zn.bottom<ni.top&&Lr(St,Zn.bottom,null,ni.top)}j.appendChild(ve)}function vi(g){if(!g.state.focused)return;var I=g.display;clearInterval(I.blinker);var j=!0;I.cursorDiv.style.visibility="",g.options.cursorBlinkRate>0?I.blinker=setInterval(function(){g.hasFocus()||qi(g),I.cursorDiv.style.visibility=(j=!j)?"":"hidden"},g.options.cursorBlinkRate):g.options.cursorBlinkRate<0&&(I.cursorDiv.style.visibility="hidden")}function _a(g){g.state.focused||(g.display.input.focus(),Pi(g))}function Ra(g){g.state.delayingBlurEvent=!0,setTimeout(function(){g.state.delayingBlurEvent&&(g.state.delayingBlurEvent=!1,qi(g))},100)}function Pi(g,I){if(g.state.delayingBlurEvent&&(g.state.delayingBlurEvent=!1),g.options.readOnly=="nocursor")return;g.state.focused||(Rt(g,"focus",g,I),g.state.focused=!0,z(g.display.wrapper,"CodeMirror-focused"),!g.curOp&&g.display.selForContextMenu!=g.doc.sel&&(g.display.input.reset(),t&&setTimeout(function(){return g.display.input.reset(!0)},20)),g.display.input.receivedFocus()),vi(g)}function qi(g,I){if(g.state.delayingBlurEvent)return;g.state.focused&&(Rt(g,"blur",g,I),g.state.focused=!1,b(g.display.wrapper,"CodeMirror-focused")),clearInterval(g.display.blinker),setTimeout(function(){g.state.focused||(g.display.shift=!1)},150)}function ro(g){for(var I=g.display,j=I.lineDiv.offsetTop,V=0;V<I.view.length;V++){var q=I.view[V],ve=g.options.lineWrapping,Je=void 0,St=0;if(q.hidden)continue;if(f&&a<8){var jt=q.node.offsetTop+q.node.offsetHeight;Je=jt-j,j=jt}else{var Gt=q.node.getBoundingClientRect();Je=Gt.bottom-Gt.top,!ve&&q.text.firstChild&&(St=q.text.firstChild.getBoundingClientRect().right-Gt.left-1)}var Lr=q.line.height-Je;if((Lr>.005||Lr<-.005)&&(Ae(q.line,Je),Ni(q.line),q.rest))for(var jr=0;jr<q.rest.length;jr++)Ni(q.rest[jr]);if(St>g.display.sizerWidth){var tn=Math.ceil(St/$n(g.display));tn>g.display.maxLineLength&&(g.display.maxLineLength=tn,g.display.maxLine=q.line,g.display.maxLineChanged=!0)}}}function Ni(g){if(g.widgets)for(var I=0;I<g.widgets.length;++I){var j=g.widgets[I],V=j.node.parentNode;V&&(j.height=V.offsetHeight)}}function za(g,I,j){var V=j&&j.top!=null?Math.max(0,j.top):g.scroller.scrollTop;V=Math.floor(V-Qt(g));var q=j&&j.bottom!=null?j.bottom:V+g.wrapper.clientHeight,ve=et(I,V),Je=et(I,q);if(j&&j.ensure){var St=j.ensure.from.line,jt=j.ensure.to.line;St<ve?(ve=St,Je=et(I,Ln($(I,St))+g.wrapper.clientHeight)):Math.min(jt,I.lastLine())>=Je&&(ve=et(I,Ln($(I,jt))-g.wrapper.clientHeight),Je=jt)}return{from:ve,to:Math.max(Je,ve+1)}}function lo(g,I){if(Nt(g,"scrollCursorIntoView"))return;var j=g.display,V=j.sizer.getBoundingClientRect(),q=null;if(I.top+V.top<0?q=!0:I.bottom+V.top>(window.innerHeight||document.documentElement.clientHeight)&&(q=!1),q!=null&&!r){var ve=D("div","\u200B",null,`position: absolute;
|
||
top: `+(I.top-j.viewOffset-Qt(g.display))+`px;
|
||
height: `+(I.bottom-I.top+Er(g)+j.barHeight)+`px;
|
||
left: `+I.left+"px; width: "+Math.max(2,I.right-I.left)+"px;");g.display.lineSpace.appendChild(ve),ve.scrollIntoView(q),g.display.lineSpace.removeChild(ve)}}function mo(g,I,j,V){V==null&&(V=0);var q;!g.options.lineWrapping&&I==j&&(I=I.ch?Ct(I.line,I.sticky=="before"?I.ch-1:I.ch,"after"):I,j=I.sticky=="before"?Ct(I.line,I.ch+1,"before"):I);for(var ve=0;ve<5;ve++){var Je=!1,St=gi(g,I),jt=!j||j==I?St:gi(g,j);q={left:Math.min(St.left,jt.left),top:Math.min(St.top,jt.top)-V,right:Math.max(St.left,jt.left),bottom:Math.max(St.bottom,jt.bottom)+V};var Gt=Io(g,q),Lr=g.doc.scrollTop,jr=g.doc.scrollLeft;if(Gt.scrollTop!=null&&(Ki(g,Gt.scrollTop),Math.abs(g.doc.scrollTop-Lr)>1&&(Je=!0)),Gt.scrollLeft!=null&&(yo(g,Gt.scrollLeft),Math.abs(g.doc.scrollLeft-jr)>1&&(Je=!0)),!Je)break}return q}function Ka(g,I){var j=Io(g,I);j.scrollTop!=null&&Ki(g,j.scrollTop),j.scrollLeft!=null&&yo(g,j.scrollLeft)}function Io(g,I){var j=g.display,V=mi(g.display);I.top<0&&(I.top=0);var q=g.curOp&&g.curOp.scrollTop!=null?g.curOp.scrollTop:j.scroller.scrollTop,ve=rn(g),Je={};I.bottom-I.top>ve&&(I.bottom=I.top+ve);var St=g.doc.height+lr(j),jt=I.top<V,Gt=I.bottom>St-V;if(I.top<q)Je.scrollTop=jt?0:I.top;else if(I.bottom>q+ve){var Lr=Math.min(I.top,(Gt?St:I.bottom)-ve);Lr!=q&&(Je.scrollTop=Lr)}var jr=g.curOp&&g.curOp.scrollLeft!=null?g.curOp.scrollLeft:j.scroller.scrollLeft,tn=Br(g)-(g.options.fixedGutter?j.gutters.offsetWidth:0),nn=I.right-I.left>tn;return nn&&(I.right=I.left+tn),I.left<10?Je.scrollLeft=0:I.left<jr?Je.scrollLeft=Math.max(0,I.left-(nn?0:10)):I.right>tn+jr-3&&(Je.scrollLeft=I.right+(nn?0:10)-tn),Je}function Ja(g,I){if(I==null)return;xa(g),g.curOp.scrollTop=(g.curOp.scrollTop==null?g.doc.scrollTop:g.curOp.scrollTop)+I}function ra(g){xa(g);var I=g.getCursor();g.curOp.scrollToPos={from:I,to:I,margin:g.options.cursorScrollMargin}}function Wi(g,I,j){(I!=null||j!=null)&&xa(g),I!=null&&(g.curOp.scrollLeft=I),j!=null&&(g.curOp.scrollTop=j)}function go(g,I){xa(g),g.curOp.scrollToPos=I}function xa(g){var I=g.curOp.scrollToPos;if(I){g.curOp.scrollToPos=null;var j=pi(g,I.from),V=pi(g,I.to);si(g,j,V,I.margin)}}function si(g,I,j,V){var q=Io(g,{left:Math.min(I.left,j.left),top:Math.min(I.top,j.top)-V,right:Math.max(I.right,j.right),bottom:Math.max(I.bottom,j.bottom)+V});Wi(g,q.scrollLeft,q.scrollTop)}function Ki(g,I){if(Math.abs(g.doc.scrollTop-I)<2)return;v||La(g,{top:I}),xo(g,I,!0),v&&La(g),ls(g,100)}function xo(g,I,j){if(I=Math.max(0,Math.min(g.display.scroller.scrollHeight-g.display.scroller.clientHeight,I)),g.display.scroller.scrollTop==I&&!j)return;g.doc.scrollTop=I,g.display.scrollbars.setScrollTop(I),g.display.scroller.scrollTop!=I&&(g.display.scroller.scrollTop=I)}function yo(g,I,j,V){if(I=Math.max(0,Math.min(I,g.display.scroller.scrollWidth-g.display.scroller.clientWidth)),(j?I==g.doc.scrollLeft:Math.abs(g.doc.scrollLeft-I)<2)&&!V)return;g.doc.scrollLeft=I,cs(g),g.display.scroller.scrollLeft!=I&&(g.display.scroller.scrollLeft=I),g.display.scrollbars.setScrollLeft(I)}function no(g){var I=g.display,j=I.gutters.offsetWidth,V=Math.round(g.doc.height+lr(g.display));return{clientHeight:I.scroller.clientHeight,viewHeight:I.wrapper.clientHeight,scrollWidth:I.scroller.scrollWidth,clientWidth:I.scroller.clientWidth,viewWidth:I.wrapper.clientWidth,barLeft:g.options.fixedGutter?j:0,docHeight:V,scrollHeight:V+Er(g)+I.barHeight,nativeBarWidth:I.nativeBarWidth,gutterWidth:j}}var bo=function(I,j,V){this.cm=V;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),ke(q,"scroll",function(){q.clientHeight&&j(q.scrollTop,"vertical")}),ke(ve,"scroll",function(){ve.clientWidth&&j(ve.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,f&&a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};bo.prototype.update=function(g){var I=g.scrollWidth>g.clientWidth+1,j=g.scrollHeight>g.clientHeight+1,V=g.nativeBarWidth;if(j){this.vert.style.display="block",this.vert.style.bottom=I?V+"px":"0";var q=g.viewHeight-(I?V:0);this.vert.firstChild.style.height=Math.max(0,g.scrollHeight-g.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=j?V+"px":"0",this.horiz.style.left=g.barLeft+"px";var ve=g.viewWidth-g.barLeft-(j?V:0);this.horiz.firstChild.style.width=Math.max(0,g.scrollWidth-g.clientWidth+ve)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&g.clientHeight>0&&(V==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:j?V:0,bottom:I?V:0}},bo.prototype.setScrollLeft=function(g){this.horiz.scrollLeft!=g&&(this.horiz.scrollLeft=g),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},bo.prototype.setScrollTop=function(g){this.vert.scrollTop!=g&&(this.vert.scrollTop=g),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},bo.prototype.zeroWidthHack=function(){var g=p&&!c?"12px":"18px";this.horiz.style.height=this.vert.style.width=g,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Q,this.disableVert=new Q},bo.prototype.enableZeroWidthBar=function(g,I,j){g.style.pointerEvents="auto";function V(){var q=g.getBoundingClientRect(),ve=j=="vert"?document.elementFromPoint(q.right-1,(q.top+q.bottom)/2):document.elementFromPoint((q.right+q.left)/2,q.bottom-1);ve!=g?g.style.pointerEvents="none":I.set(1e3,V)}I.set(1e3,V)},bo.prototype.clear=function(){var g=this.horiz.parentNode;g.removeChild(this.horiz),g.removeChild(this.vert)};var Mo=function(){};Mo.prototype.update=function(){return{bottom:0,right:0}},Mo.prototype.setScrollLeft=function(){},Mo.prototype.setScrollTop=function(){},Mo.prototype.clear=function(){};function fa(g,I){I||(I=no(g));var j=g.display.barWidth,V=g.display.barHeight;Vi(g,I);for(var q=0;q<4&&j!=g.display.barWidth||V!=g.display.barHeight;q++)j!=g.display.barWidth&&g.options.lineWrapping&&ro(g),Vi(g,no(g)),j=g.display.barWidth,V=g.display.barHeight}function Vi(g,I){var j=g.display,V=j.scrollbars.update(I);j.sizer.style.paddingRight=(j.barWidth=V.right)+"px",j.sizer.style.paddingBottom=(j.barHeight=V.bottom)+"px",j.heightForcer.style.borderBottom=V.bottom+"px solid transparent",V.right&&V.bottom?(j.scrollbarFiller.style.display="block",j.scrollbarFiller.style.height=V.bottom+"px",j.scrollbarFiller.style.width=V.right+"px"):j.scrollbarFiller.style.display="",V.bottom&&g.options.coverGutterNextToScrollbar&&g.options.fixedGutter?(j.gutterFiller.style.display="block",j.gutterFiller.style.height=V.bottom+"px",j.gutterFiller.style.width=I.gutterWidth+"px"):j.gutterFiller.style.display=""}var io={native:bo,null:Mo};function $a(g){g.display.scrollbars&&(g.display.scrollbars.clear(),g.display.scrollbars.addClass&&b(g.display.wrapper,g.display.scrollbars.addClass)),g.display.scrollbars=new io[g.options.scrollbarStyle](function(I){g.display.wrapper.insertBefore(I,g.display.scrollbarFiller),ke(I,"mousedown",function(){g.state.focused&&setTimeout(function(){return g.display.input.focus()},0)}),I.setAttribute("cm-not-content","true")},function(I,j){j=="horizontal"?yo(g,I):Ki(g,I)},g),g.display.scrollbars.addClass&&z(g.display.wrapper,g.display.scrollbars.addClass)}var Ea=0;function Ji(g){g.curOp={cm:g,viewChanged:!1,startHeight:g.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:++Ea},So(g.curOp)}function ao(g){var I=g.curOp;I&&Ha(I,function(j){for(var V=0;V<j.ops.length;V++)j.ops[V].cm.curOp=null;es(j)})}function es(g){for(var I=g.ops,j=0;j<I.length;j++)ss(I[j]);for(var V=0;V<I.length;V++)js(I[V]);for(var q=0;q<I.length;q++)As(I[q]);for(var ve=0;ve<I.length;ve++)ms(I[ve]);for(var Je=0;Je<I.length;Je++)Ko(I[Je])}function ss(g){var I=g.cm,j=I.display;ts(I),g.updateMaxLine&&kn(I),g.mustUpdate=g.viewChanged||g.forceUpdate||g.scrollTop!=null||g.scrollToPos&&(g.scrollToPos.from.line<j.viewFrom||g.scrollToPos.to.line>=j.viewTo)||j.maxLineChanged&&I.options.lineWrapping,g.update=g.mustUpdate&&new Qo(I,g.mustUpdate&&{top:g.scrollTop,ensure:g.scrollToPos},g.forceUpdate)}function js(g){g.updatedDisplay=g.mustUpdate&&is(g.cm,g.update)}function As(g){var I=g.cm,j=I.display;g.updatedDisplay&&ro(I),g.barMeasure=no(I),j.maxLineChanged&&!I.options.lineWrapping&&(g.adjustWidthTo=gn(I,j.maxLine,j.maxLine.text.length).left+3,I.display.sizerWidth=g.adjustWidthTo,g.barMeasure.scrollWidth=Math.max(j.scroller.clientWidth,j.sizer.offsetLeft+g.adjustWidthTo+Er(I)+I.display.barWidth),g.maxScrollLeft=Math.max(0,j.sizer.offsetLeft+g.adjustWidthTo-Br(I))),(g.updatedDisplay||g.selectionChanged)&&(g.preparedSelection=j.input.prepareSelection())}function ms(g){var I=g.cm;g.adjustWidthTo!=null&&(I.display.sizer.style.minWidth=g.adjustWidthTo+"px",g.maxScrollLeft<I.doc.scrollLeft&&yo(I,Math.min(I.display.scroller.scrollLeft,g.maxScrollLeft),!0),I.display.maxLineChanged=!1);var j=g.focus&&g.focus==B();g.preparedSelection&&I.display.input.showSelection(g.preparedSelection,j),(g.updatedDisplay||g.startHeight!=I.doc.height)&&fa(I,g.barMeasure),g.updatedDisplay&&Yo(I,g.barMeasure),g.selectionChanged&&vi(I),I.state.focused&&g.updateInput&&I.display.input.reset(g.typing),j&&_a(g.cm)}function Ko(g){var I=g.cm,j=I.display,V=I.doc;if(g.updatedDisplay&&Ma(I,g.update),j.wheelStartX!=null&&(g.scrollTop!=null||g.scrollLeft!=null||g.scrollToPos)&&(j.wheelStartX=j.wheelStartY=null),g.scrollTop!=null&&xo(I,g.scrollTop,g.forceScroll),g.scrollLeft!=null&&yo(I,g.scrollLeft,!0,!0),g.scrollToPos){var q=mo(I,Ke(V,g.scrollToPos.from),Ke(V,g.scrollToPos.to),g.scrollToPos.margin);lo(I,q)}var ve=g.maybeHiddenMarkers,Je=g.maybeUnhiddenMarkers;if(ve)for(var St=0;St<ve.length;++St)ve[St].lines.length||Rt(ve[St],"hide");if(Je)for(var jt=0;jt<Je.length;++jt)Je[jt].lines.length&&Rt(Je[jt],"unhide");j.wrapper.offsetHeight&&(V.scrollTop=I.display.scroller.scrollTop),g.changeObjs&&Rt(I,"changes",I,g.changeObjs),g.update&&g.update.finish()}function Eo(g,I){if(g.curOp)return I();Ji(g);try{return I()}finally{ao(g)}}function Xa(g,I){return function(){if(g.curOp)return I.apply(g,arguments);Ji(g);try{return I.apply(g,arguments)}finally{ao(g)}}}function Qa(g){return function(){if(this.curOp)return g.apply(this,arguments);Ji(this);try{return g.apply(this,arguments)}finally{ao(this)}}}function ho(g){return function(){var I=this.cm;if(!I||I.curOp)return g.apply(this,arguments);Ji(I);try{return g.apply(this,arguments)}finally{ao(I)}}}function ls(g,I){g.doc.highlightFrontier<g.display.viewTo&&g.state.highlight.set(I,W(Cr,g))}function Cr(g){var I=g.doc;if(I.highlightFrontier>=g.display.viewTo)return;var j=+new Date+g.options.workTime,V=tt(g,I.highlightFrontier),q=[];I.iter(V.line,Math.min(I.first+I.size,g.display.viewTo+500),function(ve){if(V.line>=g.display.viewFrom){var Je=ve.styles,St=ve.text.length>g.options.maxHighlightLength?vt(I.mode,V.state):null,jt=ut(g,ve,V,!0);St&&(V.state=St),ve.styles=jt.styles;var Gt=ve.styleClasses,Lr=jt.classes;Lr?ve.styleClasses=Lr:Gt&&(ve.styleClasses=null);for(var jr=!Je||Je.length!=ve.styles.length||Gt!=Lr&&(!Gt||!Lr||Gt.bgClass!=Lr.bgClass||Gt.textClass!=Lr.textClass),tn=0;!jr&&tn<Je.length;++tn)jr=Je[tn]!=ve.styles[tn];jr&&q.push(V.line),ve.stateAfter=V.save(),V.nextLine()}else ve.text.length<=g.options.maxHighlightLength&&ft(g,ve.text,V),ve.stateAfter=V.line%5==0?V.save():null,V.nextLine();if(+new Date>j)return ls(g,g.options.workDelay),!0}),I.highlightFrontier=V.line,I.modeFrontier=Math.max(I.modeFrontier,V.line),q.length&&Eo(g,function(){for(var ve=0;ve<q.length;ve++)Fa(g,q[ve],"text")})}var Qo=function(I,j,V){var q=I.display;this.viewport=j,this.visible=za(q,I.doc,j),this.editorIsHidden=!q.wrapper.offsetWidth,this.wrapperHeight=q.wrapper.clientHeight,this.wrapperWidth=q.wrapper.clientWidth,this.oldDisplayWidth=Br(I),this.force=V,this.dims=Li(I),this.events=[]};Qo.prototype.signal=function(g,I){Ut(g,I)&&this.events.push(arguments)},Qo.prototype.finish=function(){for(var g=0;g<this.events.length;g++)Rt.apply(null,this.events[g])};function ts(g){var I=g.display;!I.scrollbarsClipped&&I.scroller.offsetWidth&&(I.nativeBarWidth=I.scroller.offsetWidth-I.scroller.clientWidth,I.heightForcer.style.height=Er(g)+"px",I.sizer.style.marginBottom=-I.nativeBarWidth+"px",I.sizer.style.borderRightWidth=Er(g)+"px",I.scrollbarsClipped=!0)}function Is(g){if(g.hasFocus())return null;var I=B();if(!I||!F(g.display.lineDiv,I))return null;var j={activeElt:I};if(window.getSelection){var V=window.getSelection();V.anchorNode&&V.extend&&F(g.display.lineDiv,V.anchorNode)&&(j.anchorNode=V.anchorNode,j.anchorOffset=V.anchorOffset,j.focusNode=V.focusNode,j.focusOffset=V.focusOffset)}return j}function Ds(g){if(!g||!g.activeElt||g.activeElt==B())return;if(g.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(g.activeElt.nodeName)&&g.anchorNode&&F(document.body,g.anchorNode)&&F(document.body,g.focusNode)){var I=window.getSelection(),j=document.createRange();j.setEnd(g.anchorNode,g.anchorOffset),j.collapse(!1),I.removeAllRanges(),I.addRange(j),I.extend(g.focusNode,g.focusOffset)}}function is(g,I){var j=g.display,V=g.doc;if(I.editorIsHidden)return Mi(g),!1;if(!I.force&&I.visible.from>=j.viewFrom&&I.visible.to<=j.viewTo&&(j.updateLineNumbers==null||j.updateLineNumbers>=j.viewTo)&&j.renderedView==j.view&&Ua(g)==0)return!1;rs(g)&&(Mi(g),I.dims=Li(g));var q=V.first+V.size,ve=Math.max(I.visible.from-g.options.viewportMargin,V.first),Je=Math.min(q,I.visible.to+g.options.viewportMargin);j.viewFrom<ve&&ve-j.viewFrom<20&&(ve=Math.max(V.first,j.viewFrom)),j.viewTo>Je&&j.viewTo-Je<20&&(Je=Math.min(q,j.viewTo)),Vr&&(ve=Qn(g.doc,ve),Je=ea(g.doc,Je));var St=ve!=j.viewFrom||Je!=j.viewTo||j.lastWrapHeight!=I.wrapperHeight||j.lastWrapWidth!=I.wrapperWidth;ha(g,ve,Je),j.viewOffset=Ln($(g.doc,j.viewFrom)),g.display.mover.style.top=j.viewOffset+"px";var jt=Ua(g);if(!St&&jt==0&&!I.force&&j.renderedView==j.view&&(j.updateLineNumbers==null||j.updateLineNumbers>=j.viewTo))return!1;var Gt=Is(g);return jt>4&&(j.lineDiv.style.display="none"),Co(g,j.updateLineNumbers,I.dims),jt>4&&(j.lineDiv.style.display=""),j.renderedView=j.view,Ds(Gt),x(j.cursorDiv),x(j.selectionDiv),j.gutters.style.height=j.sizer.style.minHeight=0,St&&(j.lastWrapHeight=I.wrapperHeight,j.lastWrapWidth=I.wrapperWidth,ls(g,400)),j.updateLineNumbers=null,!0}function Ma(g,I){for(var j=I.viewport,V=!0;;V=!1){if(!V||!g.options.lineWrapping||I.oldDisplayWidth==Br(g)){if(j&&j.top!=null&&(j={top:Math.min(g.doc.height+lr(g.display)-rn(g),j.top)}),I.visible=za(g.display,g.doc,j),I.visible.from>=g.display.viewFrom&&I.visible.to<=g.display.viewTo)break}else V&&(I.visible=za(g.display,g.doc,j));if(!is(g,I))break;ro(g);var q=no(g);Ti(g),fa(g,q),Yo(g,q),I.force=!1}I.signal(g,"update",g),(g.display.viewFrom!=g.display.reportedViewFrom||g.display.viewTo!=g.display.reportedViewTo)&&(I.signal(g,"viewportChange",g,g.display.viewFrom,g.display.viewTo),g.display.reportedViewFrom=g.display.viewFrom,g.display.reportedViewTo=g.display.viewTo)}function La(g,I){var j=new Qo(g,I);if(is(g,j)){ro(g),Ma(g,j);var V=no(g);Ti(g),fa(g,V),Yo(g,V),j.finish()}}function Co(g,I,j){var V=g.display,q=g.options.lineNumbers,ve=V.lineDiv,Je=ve.firstChild;function St(bn){var Fn=bn.nextSibling;return t&&p&&g.display.currentWheelTarget==bn?bn.style.display="none":bn.parentNode.removeChild(bn),Fn}for(var jt=V.view,Gt=V.viewFrom,Lr=0;Lr<jt.length;Lr++){var jr=jt[Lr];if(!jr.hidden)if(!jr.node||jr.node.parentNode!=ve){var tn=Mr(g,jr,Gt,j);ve.insertBefore(tn,Je)}else{for(;Je!=jr.node;)Je=St(Je);var nn=q&&I!=null&&I<=Gt&&jr.lineNumber;jr.changes&&(P(jr.changes,"gutter")>-1&&(nn=!1),Tr(g,jr,Gt,j)),nn&&(x(jr.lineNumber),jr.lineNumber.appendChild(document.createTextNode(er(g.options,Gt)))),Je=jr.node.nextSibling}Gt+=jr.size}for(;Je;)Je=St(Je)}function fo(g){var I=g.gutters.offsetWidth;g.sizer.style.marginLeft=I+"px"}function Yo(g,I){g.display.sizer.style.minHeight=I.docHeight+"px",g.display.heightForcer.style.top=I.docHeight+"px",g.display.gutters.style.height=I.docHeight+g.display.barHeight+Er(g)+"px"}function cs(g){var I=g.display,j=I.view;if(!I.alignWidgets&&(!I.gutters.firstChild||!g.options.fixedGutter))return;for(var V=_i(I)-I.scroller.scrollLeft+g.doc.scrollLeft,q=I.gutters.offsetWidth,ve=V+"px",Je=0;Je<j.length;Je++)if(!j[Je].hidden){g.options.fixedGutter&&(j[Je].gutter&&(j[Je].gutter.style.left=ve),j[Je].gutterBackground&&(j[Je].gutterBackground.style.left=ve));var St=j[Je].alignable;if(St)for(var jt=0;jt<St.length;jt++)St[jt].style.left=ve}g.options.fixedGutter&&(I.gutters.style.left=V+q+"px")}function rs(g){if(!g.options.lineNumbers)return!1;var I=g.doc,j=er(g.options,I.first+I.size-1),V=g.display;if(j.length!=V.lineNumChars){var q=V.measure.appendChild(D("div",[D("div",j)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ve=q.firstChild.offsetWidth,Je=q.offsetWidth-ve;return V.lineGutter.style.width="",V.lineNumInnerWidth=Math.max(ve,V.lineGutter.offsetWidth-Je)+1,V.lineNumWidth=V.lineNumInnerWidth+Je,V.lineNumChars=V.lineNumInnerWidth?j.length:-1,V.lineGutter.style.width=V.lineNumWidth+"px",fo(g.display),!0}return!1}function ys(g,I){for(var j=[],V=!1,q=0;q<g.length;q++){var ve=g[q],Je=null;if(typeof ve!="string"&&(Je=ve.style,ve=ve.className),ve=="CodeMirror-linenumbers")if(I)V=!0;else continue;j.push({className:ve,style:Je})}return I&&!V&&j.push({className:"CodeMirror-linenumbers",style:null}),j}function bs(g){var I=g.gutters,j=g.gutterSpecs;x(I),g.lineGutter=null;for(var V=0;V<j.length;++V){var q=j[V],ve=q.className,Je=q.style,St=I.appendChild(D("div",null,"CodeMirror-gutter "+ve));Je&&(St.style.cssText=Je),ve=="CodeMirror-linenumbers"&&(g.lineGutter=St,St.style.width=(g.lineNumWidth||1)+"px")}I.style.display=j.length?"":"none",fo(g)}function as(g){bs(g.display),Zi(g),cs(g)}function $s(g,I,j,V){var q=this;this.input=j,q.scrollbarFiller=D("div",null,"CodeMirror-scrollbar-filler"),q.scrollbarFiller.setAttribute("cm-not-content","true"),q.gutterFiller=D("div",null,"CodeMirror-gutter-filler"),q.gutterFiller.setAttribute("cm-not-content","true"),q.lineDiv=M("div",null,"CodeMirror-code"),q.selectionDiv=D("div",null,null,"position: relative; z-index: 1"),q.cursorDiv=D("div",null,"CodeMirror-cursors"),q.measure=D("div",null,"CodeMirror-measure"),q.lineMeasure=D("div",null,"CodeMirror-measure"),q.lineSpace=M("div",[q.measure,q.lineMeasure,q.selectionDiv,q.cursorDiv,q.lineDiv],null,"position: relative; outline: none");var ve=M("div",[q.lineSpace],"CodeMirror-lines");q.mover=D("div",[ve],null,"position: relative"),q.sizer=D("div",[q.mover],"CodeMirror-sizer"),q.sizerWidth=null,q.heightForcer=D("div",null,null,"position: absolute; height: "+G+"px; width: 1px;"),q.gutters=D("div",null,"CodeMirror-gutters"),q.lineGutter=null,q.scroller=D("div",[q.sizer,q.heightForcer,q.gutters],"CodeMirror-scroll"),q.scroller.setAttribute("tabIndex","-1"),q.wrapper=D("div",[q.scrollbarFiller,q.gutterFiller,q.scroller],"CodeMirror"),f&&a<8&&(q.gutters.style.zIndex=-1,q.scroller.style.paddingRight=0),!t&&!(v&&h)&&(q.scroller.draggable=!0),g&&(g.appendChild?g.appendChild(q.wrapper):g(q.wrapper)),q.viewFrom=q.viewTo=I.first,q.reportedViewFrom=q.reportedViewTo=I.first,q.view=[],q.renderedView=null,q.externalMeasured=null,q.viewOffset=0,q.lastWrapHeight=q.lastWrapWidth=0,q.updateLineNumbers=null,q.nativeBarWidth=q.barHeight=q.barWidth=0,q.scrollbarsClipped=!1,q.lineNumWidth=q.lineNumInnerWidth=q.lineNumChars=null,q.alignWidgets=!1,q.cachedCharWidth=q.cachedTextHeight=q.cachedPaddingH=null,q.maxLine=null,q.maxLineLength=0,q.maxLineChanged=!1,q.wheelDX=q.wheelDY=q.wheelStartX=q.wheelStartY=null,q.shift=!1,q.selForContextMenu=null,q.activeTouch=null,q.gutterSpecs=ys(V.gutters,V.lineNumbers),bs(q),j.init(q)}var us=0,Bo=null;f?Bo=-.53:v?Bo=15:s?Bo=-.7:n&&(Bo=-1/3);function Rn(g){var I=g.wheelDeltaX,j=g.wheelDeltaY;return I==null&&g.detail&&g.axis==g.HORIZONTAL_AXIS&&(I=g.detail),j==null&&g.detail&&g.axis==g.VERTICAL_AXIS?j=g.detail:j==null&&(j=g.wheelDelta),{x:I,y:j}}function Ks(g){var I=Rn(g);return I.x*=Bo,I.y*=Bo,I}function Ts(g,I){var j=Rn(I),V=j.x,q=j.y,ve=g.display,Je=ve.scroller,St=Je.scrollWidth>Je.clientWidth,jt=Je.scrollHeight>Je.clientHeight;if(!(V&&St||q&&jt))return;if(q&&p&&t){e:for(var Gt=I.target,Lr=ve.view;Gt!=Je;Gt=Gt.parentNode)for(var jr=0;jr<Lr.length;jr++)if(Lr[jr].node==Gt){g.display.currentWheelTarget=Gt;break e}}if(V&&!v&&!l&&Bo!=null){q&&jt&&Ki(g,Math.max(0,Je.scrollTop+q*Bo)),yo(g,Math.max(0,Je.scrollLeft+V*Bo)),(!q||q&&jt)&&ze(I),ve.wheelStartX=null;return}if(q&&Bo!=null){var tn=q*Bo,nn=g.doc.scrollTop,bn=nn+ve.wrapper.clientHeight;tn<0?nn=Math.max(0,nn+tn-50):bn=Math.min(g.doc.height,bn+tn+50),La(g,{top:nn,bottom:bn})}us<20&&(ve.wheelStartX==null?(ve.wheelStartX=Je.scrollLeft,ve.wheelStartY=Je.scrollTop,ve.wheelDX=V,ve.wheelDY=q,setTimeout(function(){if(ve.wheelStartX==null)return;var Fn=Je.scrollLeft-ve.wheelStartX,Jn=Je.scrollTop-ve.wheelStartY,Zn=Jn&&ve.wheelDY&&Jn/ve.wheelDY||Fn&&ve.wheelDX&&Fn/ve.wheelDX;if(ve.wheelStartX=ve.wheelStartY=null,!Zn)return;Bo=(Bo*us+Zn)/(us+1),++us},200)):(ve.wheelDX+=V,ve.wheelDY+=q))}var _t=function(I,j){this.ranges=I,this.primIndex=j};_t.prototype.primary=function(){return this.ranges[this.primIndex]},_t.prototype.equals=function(g){if(g==this)return!0;if(g.primIndex!=this.primIndex||g.ranges.length!=this.ranges.length)return!1;for(var I=0;I<this.ranges.length;I++){var j=this.ranges[I],V=g.ranges[I];if(!kt(j.anchor,V.anchor)||!kt(j.head,V.head))return!1}return!0},_t.prototype.deepCopy=function(){for(var g=[],I=0;I<this.ranges.length;I++)g[I]=new ne(Zt(this.ranges[I].anchor),Zt(this.ranges[I].head));return new _t(g,this.primIndex)},_t.prototype.somethingSelected=function(){for(var g=0;g<this.ranges.length;g++)if(!this.ranges[g].empty())return!0;return!1},_t.prototype.contains=function(g,I){I||(I=g);for(var j=0;j<this.ranges.length;j++){var V=this.ranges[j];if(Ht(I,V.from())>=0&&Ht(g,V.to())<=0)return j}return-1};var ne=function(I,j){this.anchor=I,this.head=j};ne.prototype.from=function(){return ur(this.anchor,this.head)},ne.prototype.to=function(){return Et(this.anchor,this.head)},ne.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ue(g,I,j){var V=g&&g.options.selectionsMayTouch,q=I[j];I.sort(function(tn,nn){return Ht(tn.from(),nn.from())}),j=P(I,q);for(var ve=1;ve<I.length;ve++){var Je=I[ve],St=I[ve-1],jt=Ht(St.to(),Je.from());if(V&&!Je.empty()?jt>0:jt>=0){var Gt=ur(St.from(),Je.from()),Lr=Et(St.to(),Je.to()),jr=St.empty()?Je.from()==Je.head:St.from()==St.head;ve<=j&&--j,I.splice(--ve,2,new ne(jr?Lr:Gt,jr?Gt:Lr))}}return new _t(I,j)}function fe(g,I){return new _t([new ne(g,I||g)],0)}function Oe(g){return g.text?Ct(g.from.line+g.text.length-1,$e(g.text).length+(g.text.length==1?g.from.ch:0)):g.to}function ot(g,I){if(Ht(g,I.from)<0)return g;if(Ht(g,I.to)<=0)return Oe(I);var j=g.line+I.text.length-(I.to.line-I.from.line)-1,V=g.ch;return g.line==I.to.line&&(V+=Oe(I).ch-I.to.ch),Ct(j,V)}function Bt(g,I){for(var j=[],V=0;V<g.sel.ranges.length;V++){var q=g.sel.ranges[V];j.push(new ne(ot(q.anchor,I),ot(q.head,I)))}return ue(g.cm,j,g.sel.primIndex)}function hr(g,I,j){return g.line==I.line?Ct(j.line,g.ch-I.ch+j.ch):Ct(j.line+(g.line-I.line),g.ch)}function Ar(g,I,j){for(var V=[],q=Ct(g.first,0),ve=q,Je=0;Je<I.length;Je++){var St=I[Je],jt=hr(St.from,q,ve),Gt=hr(Oe(St),q,ve);if(q=St.to,ve=Gt,j=="around"){var Lr=g.sel.ranges[Je],jr=Ht(Lr.head,Lr.anchor)<0;V[Je]=new ne(jr?Gt:jt,jr?jt:Gt)}else V[Je]=new ne(jt,jt)}return new _t(V,g.sel.primIndex)}function Nr(g){g.doc.mode=Ee(g.options,g.doc.modeOption),qr(g)}function qr(g){g.doc.iter(function(I){I.stateAfter&&(I.stateAfter=null),I.styles&&(I.styles=null)}),g.doc.modeFrontier=g.doc.highlightFrontier=g.doc.first,ls(g,100),g.state.modeGen++,g.curOp&&Zi(g)}function sn(g,I){return I.from.ch==0&&I.to.ch==0&&$e(I.text)==""&&(!g.cm||g.cm.options.wholeLineUpdateBefore)}function vn(g,I,j,V){function q(ni){return j?j[ni]:null}function ve(ni,ai,De){di(ni,ai,De,V),Hi(ni,"change",ni,I)}function Je(ni,ai){for(var De=[],X=ni;X<ai;++X)De.push(new ti(Gt[X],q(X),V));return De}var St=I.from,jt=I.to,Gt=I.text,Lr=$(g,St.line),jr=$(g,jt.line),tn=$e(Gt),nn=q(Gt.length-1),bn=jt.line-St.line;if(I.full)g.insert(0,Je(0,Gt.length)),g.remove(Gt.length,g.size-Gt.length);else if(sn(g,I)){var Fn=Je(0,Gt.length-1);ve(jr,jr.text,nn),bn&&g.remove(St.line,bn),Fn.length&&g.insert(St.line,Fn)}else if(Lr==jr)if(Gt.length==1)ve(Lr,Lr.text.slice(0,St.ch)+tn+Lr.text.slice(jt.ch),nn);else{var Jn=Je(1,Gt.length-1);Jn.push(new ti(tn+Lr.text.slice(jt.ch),nn,V)),ve(Lr,Lr.text.slice(0,St.ch)+Gt[0],q(0)),g.insert(St.line+1,Jn)}else if(Gt.length==1)ve(Lr,Lr.text.slice(0,St.ch)+Gt[0]+jr.text.slice(jt.ch),q(0)),g.remove(St.line+1,bn);else{ve(Lr,Lr.text.slice(0,St.ch)+Gt[0],q(0)),ve(jr,tn+jr.text.slice(jt.ch),nn);var Zn=Je(1,Gt.length-1);bn>1&&g.remove(St.line+1,bn-1),g.insert(St.line+1,Zn)}Hi(g,"change",g,I)}function xn(g,I,j){function V(q,ve,Je){if(q.linked)for(var St=0;St<q.linked.length;++St){var jt=q.linked[St];if(jt.doc==ve)continue;var Gt=Je&&jt.sharedHist;if(j&&!Gt)continue;I(jt.doc,Gt),V(jt.doc,q,Gt)}}V(g,null,!0)}function Kn(g,I){if(I.cm)throw new Error("This document is already in use.");g.doc=I,I.cm=g,Fi(g),Nr(g),ei(g),g.options.lineWrapping||kn(g),g.options.mode=I.modeOption,Zi(g)}function ei(g){(g.doc.direction=="rtl"?z:b)(g.display.lineDiv,"CodeMirror-rtl")}function Ai(g){Eo(g,function(){ei(g),Zi(g)})}function na(g){this.done=[],this.undone=[],this.undoDepth=Infinity,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=g||1}function Ui(g,I){var j={from:Zt(I.from),to:Oe(I),text:se(g,I.from,I.to)};return Fo(g,j,I.from.line,I.to.line+1),xn(g,function(V){return Fo(V,j,I.from.line,I.to.line+1)},!0),j}function Ca(g){for(;g.length;){var I=$e(g);if(I.ranges)g.pop();else break}}function co(g,I){if(I)return Ca(g.done),$e(g.done);if(g.done.length&&!$e(g.done).ranges)return $e(g.done);if(g.done.length>1&&!g.done[g.done.length-2].ranges)return g.done.pop(),$e(g.done)}function Wa(g,I,j,V){var q=g.history;q.undone.length=0;var ve=+new Date,Je,St;if((q.lastOp==V||q.lastOrigin==I.origin&&I.origin&&(I.origin.charAt(0)=="+"&&q.lastModTime>ve-(g.cm?g.cm.options.historyEventDelay:500)||I.origin.charAt(0)=="*"))&&(Je=co(q,q.lastOp==V)))St=$e(Je.changes),Ht(I.from,I.to)==0&&Ht(I.from,St.to)==0?St.to=Oe(I):Je.changes.push(Ui(g,I));else{var jt=$e(q.done);for((!jt||!jt.ranges)&&Za(g.sel,q.done),Je={changes:[Ui(g,I)],generation:q.generation},q.done.push(Je);q.done.length>q.undoDepth;)q.done.shift(),q.done[0].ranges||q.done.shift()}q.done.push(j),q.generation=++q.maxGeneration,q.lastModTime=q.lastSelTime=ve,q.lastOp=q.lastSelOp=V,q.lastOrigin=q.lastSelOrigin=I.origin,St||Rt(g,"historyAdded")}function vo(g,I,j,V){var q=I.charAt(0);return q=="*"||q=="+"&&j.ranges.length==V.ranges.length&&j.somethingSelected()==V.somethingSelected()&&new Date-g.history.lastSelTime<=(g.cm?g.cm.options.historyEventDelay:500)}function Ao(g,I,j,V){var q=g.history,ve=V&&V.origin;j==q.lastSelOp||ve&&q.lastSelOrigin==ve&&(q.lastModTime==q.lastSelTime&&q.lastOrigin==ve||vo(g,ve,$e(q.done),I))?q.done[q.done.length-1]=I:Za(I,q.done),q.lastSelTime=+new Date,q.lastSelOrigin=ve,q.lastSelOp=j,V&&V.clearRedo!==!1&&Ca(q.undone)}function Za(g,I){var j=$e(I);j&&j.ranges&&j.equals(g)||I.push(g)}function Fo(g,I,j,V){var q=I["spans_"+g.id],ve=0;g.iter(Math.max(g.first,j),Math.min(g.first+g.size,V),function(Je){Je.markedSpans&&((q||(q=I["spans_"+g.id]={}))[ve]=Je.markedSpans),++ve})}function Do(g){if(!g)return null;for(var I,j=0;j<g.length;++j)g[j].marker.explicitlyCleared?I||(I=g.slice(0,j)):I&&I.push(g[j]);return I?I.length?I:null:g}function ja(g,I){var j=I["spans_"+g.id];if(!j)return null;for(var V=[],q=0;q<I.text.length;++q)V.push(Do(j[q]));return V}function jo(g,I){var j=ja(g,I),V=jn(g,I);if(!j)return V;if(!V)return j;for(var q=0;q<j.length;++q){var ve=j[q],Je=V[q];if(ve&&Je){e:for(var St=0;St<Je.length;++St){for(var jt=Je[St],Gt=0;Gt<ve.length;++Gt)if(ve[Gt].marker==jt.marker)continue e;ve.push(jt)}}else Je&&(j[q]=Je)}return j}function Po(g,I,j){for(var V=[],q=0;q<g.length;++q){var ve=g[q];if(ve.ranges){V.push(j?_t.prototype.deepCopy.call(ve):ve);continue}var Je=ve.changes,St=[];V.push({changes:St});for(var jt=0;jt<Je.length;++jt){var Gt=Je[jt],Lr=void 0;if(St.push({from:Gt.from,to:Gt.to,text:Gt.text}),I)for(var jr in Gt)(Lr=jr.match(/^spans_(\d+)$/))&&(P(I,Number(Lr[1]))>-1&&($e(St)[jr]=Gt[jr],delete Gt[jr]))}}return V}function Xo(g,I,j,V){if(V){var q=g.anchor;if(j){var ve=Ht(I,q)<0;ve!=Ht(j,q)<0?(q=I,I=j):ve!=Ht(I,j)<0&&(I=j)}return new ne(q,I)}else return new ne(j||I,I)}function wo(g,I,j,V,q){q==null&&(q=g.cm&&(g.cm.display.shift||g.extend)),Oo(g,new _t([Xo(g.sel.primary(),I,j,q)],0),V)}function ds(g,I,j){for(var V=[],q=g.cm&&(g.cm.display.shift||g.extend),ve=0;ve<g.sel.ranges.length;ve++)V[ve]=Xo(g.sel.ranges[ve],I[ve],null,q);var Je=ue(g.cm,V,g.sel.primIndex);Oo(g,Je,j)}function ns(g,I,j,V){var q=g.sel.ranges.slice(0);q[I]=j,Oo(g,ue(g.cm,q,g.sel.primIndex),V)}function Qs(g,I,j,V){Oo(g,fe(I,j),V)}function Gs(g,I,j){var V={ranges:I.ranges,update:function(ve){this.ranges=[];for(var Je=0;Je<ve.length;Je++)this.ranges[Je]=new ne(Ke(g,ve[Je].anchor),Ke(g,ve[Je].head))},origin:j&&j.origin};return Rt(g,"beforeSelectionChange",g,V),g.cm&&Rt(g.cm,"beforeSelectionChange",g.cm,V),V.ranges!=I.ranges?ue(g.cm,V.ranges,V.ranges.length-1):I}function Go(g,I,j){var V=g.history.done,q=$e(V);q&&q.ranges?(V[V.length-1]=I,hs(g,I,j)):Oo(g,I,j)}function Oo(g,I,j){hs(g,I,j),Ao(g,g.sel,g.cm?g.cm.curOp.id:NaN,j)}function hs(g,I,j){(Ut(g,"beforeSelectionChange")||g.cm&&Ut(g.cm,"beforeSelectionChange"))&&(I=Gs(g,I,j));var V=j&&j.bias||(Ht(I.primary().head,g.sel.primary().head)<0?-1:1);fs(g,Ro(g,I,V,!0)),!(j&&j.scroll===!1)&&g.cm&&ra(g.cm)}function fs(g,I){if(I.equals(g.sel))return;g.sel=I,g.cm&&(g.cm.curOp.updateInput=1,g.cm.curOp.selectionChanged=!0,xt(g.cm)),Hi(g,"cursorActivity",g)}function Rs(g){fs(g,Ro(g,g.sel,null,!1))}function Ro(g,I,j,V){for(var q,ve=0;ve<I.ranges.length;ve++){var Je=I.ranges[ve],St=I.ranges.length==g.sel.ranges.length&&g.sel.ranges[ve],jt=_s(g,Je.anchor,St&&St.anchor,j,V),Gt=_s(g,Je.head,St&&St.head,j,V);(q||jt!=Je.anchor||Gt!=Je.head)&&(q||(q=I.ranges.slice(0,ve)),q[ve]=new ne(jt,Gt))}return q?ue(g.cm,q,I.primIndex):I}function ws(g,I,j,V,q){var ve=$(g,I.line);if(ve.markedSpans)for(var Je=0;Je<ve.markedSpans.length;++Je){var St=ve.markedSpans[Je],jt=St.marker,Gt="selectLeft"in jt?!jt.selectLeft:jt.inclusiveLeft,Lr="selectRight"in jt?!jt.selectRight:jt.inclusiveRight;if((St.from==null||(Gt?St.from<=I.ch:St.from<I.ch))&&(St.to==null||(Lr?St.to>=I.ch:St.to>I.ch))){if(q&&(Rt(jt,"beforeCursorEnter"),jt.explicitlyCleared))if(ve.markedSpans){--Je;continue}else break;if(!jt.atomic)continue;if(j){var jr=jt.find(V<0?1:-1),tn=void 0;if((V<0?Lr:Gt)&&(jr=Ss(g,jr,-V,jr&&jr.line==I.line?ve:null)),jr&&jr.line==I.line&&(tn=Ht(jr,j))&&(V<0?tn<0:tn>0))return ws(g,jr,I,V,q)}var nn=jt.find(V<0?-1:1);return(V<0?Gt:Lr)&&(nn=Ss(g,nn,V,nn.line==I.line?ve:null)),nn?ws(g,nn,I,V,q):null}}return I}function _s(g,I,j,V,q){var ve=V||1,Je=ws(g,I,j,ve,q)||!q&&ws(g,I,j,ve,!0)||ws(g,I,j,-ve,q)||!q&&ws(g,I,j,-ve,!0);return Je||(g.cantEdit=!0,Ct(g.first,0))}function Ss(g,I,j,V){return j<0&&I.ch==0?I.line>g.first?Ke(g,Ct(I.line-1)):null:j>0&&I.ch==(V||$(g,I.line)).text.length?I.line<g.first+g.size-1?Ct(I.line+1,0):null:new Ct(I.line,I.ch+j)}function Ms(g){g.setSelection(Ct(g.firstLine(),0),Ct(g.lastLine()),he)}function Hs(g,I,j){var V={canceled:!1,from:I.from,to:I.to,text:I.text,origin:I.origin,cancel:function(){return V.canceled=!0}};return j&&(V.update=function(q,ve,Je,St){q&&(V.from=Ke(g,q)),ve&&(V.to=Ke(g,ve)),Je&&(V.text=Je),St!==void 0&&(V.origin=St)}),Rt(g,"beforeChange",g,V),g.cm&&Rt(g.cm,"beforeChange",g.cm,V),V.canceled?(g.cm&&(g.cm.curOp.updateInput=2),null):{from:V.from,to:V.to,text:V.text,origin:V.origin}}function xs(g,I,j){if(g.cm){if(!g.cm.curOp)return Xa(g.cm,xs)(g,I,j);if(g.cm.state.suppressEdits)return}if((Ut(g,"beforeChange")||g.cm&&Ut(g.cm,"beforeChange"))&&(I=Hs(g,I,!0),!I))return;var V=xr&&!j&&En(g,I.from,I.to);if(V)for(var q=V.length-1;q>=0;--q)pa(g,{from:V[q].from,to:V[q].to,text:q?[""]:I.text,origin:I.origin});else pa(g,I)}function pa(g,I){if(I.text.length==1&&I.text[0]==""&&Ht(I.from,I.to)==0)return;var j=Bt(g,I);Wa(g,I,j,g.cm?g.cm.curOp.id:NaN),Wn(g,I,j,jn(g,I));var V=[];xn(g,function(q,ve){!ve&&P(V,q.history)==-1&&(Jo(q.history,I),V.push(q.history)),Wn(q,I,null,jn(q,I))})}function ci(g,I,j){var V=g.cm&&g.cm.state.suppressEdits;if(V&&!j)return;for(var q=g.history,ve,Je=g.sel,St=I=="undo"?q.done:q.undone,jt=I=="undo"?q.undone:q.done,Gt=0;Gt<St.length&&!(ve=St[Gt],j?ve.ranges&&!ve.equals(g.sel):!ve.ranges);Gt++);if(Gt==St.length)return;for(q.lastOrigin=q.lastSelOrigin=null;;)if(ve=St.pop(),ve.ranges){if(Za(ve,jt),j&&!ve.equals(g.sel)){Oo(g,ve,{clearRedo:!1});return}Je=ve}else if(V){St.push(ve);return}else break;var Lr=[];Za(Je,jt),jt.push({changes:Lr,generation:q.generation}),q.generation=ve.generation||++q.maxGeneration;for(var jr=Ut(g,"beforeChange")||g.cm&&Ut(g.cm,"beforeChange"),tn=function(Jn){var Zn=ve.changes[Jn];if(Zn.origin=I,jr&&!Hs(g,Zn,!1))return St.length=0,{};Lr.push(Ui(g,Zn));var ni=Jn?Bt(g,Zn):$e(St);Wn(g,Zn,ni,jo(g,Zn)),!Jn&&g.cm&&g.cm.scrollIntoView({from:Zn.from,to:Oe(Zn)});var ai=[];xn(g,function(De,X){!X&&P(ai,De.history)==-1&&(Jo(De.history,Zn),ai.push(De.history)),Wn(De,Zn,null,jo(De,Zn))})},nn=ve.changes.length-1;nn>=0;--nn){var bn=tn(nn);if(bn)return bn.v}}function Bi(g,I){if(I==0)return;if(g.first+=I,g.sel=new _t(yt(g.sel.ranges,function(q){return new ne(Ct(q.anchor.line+I,q.anchor.ch),Ct(q.head.line+I,q.head.ch))}),g.sel.primIndex),g.cm){Zi(g.cm,g.first,g.first-I,I);for(var j=g.cm.display,V=j.viewFrom;V<j.viewTo;V++)Fa(g.cm,V,"gutter")}}function Wn(g,I,j,V){if(g.cm&&!g.cm.curOp)return Xa(g.cm,Wn)(g,I,j,V);if(I.to.line<g.first){Bi(g,I.text.length-1-(I.to.line-I.from.line));return}if(I.from.line>g.lastLine())return;if(I.from.line<g.first){var q=I.text.length-1-(g.first-I.from.line);Bi(g,q),I={from:Ct(g.first,0),to:Ct(I.to.line+q,I.to.ch),text:[$e(I.text)],origin:I.origin}}var ve=g.lastLine();I.to.line>ve&&(I={from:I.from,to:Ct(ve,$(g,ve).text.length),text:[I.text[0]],origin:I.origin}),I.removed=se(g,I.from,I.to),j||(j=Bt(g,I)),g.cm?oo(g.cm,I,V):vn(g,I,V),hs(g,j,he),g.cantEdit&&_s(g,Ct(g.firstLine(),0))&&(g.cantEdit=!1)}function oo(g,I,j){var V=g.doc,q=g.display,ve=I.from,Je=I.to,St=!1,jt=ve.line;g.options.lineWrapping||(jt=Me(ia($(V,ve.line))),V.iter(jt,Je.line+1,function(nn){if(nn==q.maxLine)return St=!0,!0})),V.sel.contains(I.from,I.to)>-1&&xt(g),vn(V,I,j,oi(g)),g.options.lineWrapping||(V.iter(jt,ve.line+I.text.length,function(nn){var bn=Un(nn);bn>q.maxLineLength&&(q.maxLine=nn,q.maxLineLength=bn,q.maxLineChanged=!0,St=!1)}),St&&(g.curOp.updateMaxLine=!0)),$r(V,ve.line),ls(g,400);var Gt=I.text.length-(Je.line-ve.line)-1;I.full?Zi(g):ve.line==Je.line&&I.text.length==1&&!sn(g.doc,I)?Fa(g,ve.line,"text"):Zi(g,ve.line,Je.line+1,Gt);var Lr=Ut(g,"changes"),jr=Ut(g,"change");if(jr||Lr){var tn={from:ve,to:Je,text:I.text,removed:I.removed,origin:I.origin};jr&&Hi(g,"change",g,tn),Lr&&(g.curOp.changeObjs||(g.curOp.changeObjs=[])).push(tn)}g.display.selForContextMenu=null}function Zo(g,I,j,V,q){var ve;V||(V=j),Ht(V,j)<0&&(ve=[V,j],j=ve[0],V=ve[1]),typeof I=="string"&&(I=g.splitLines(I)),xs(g,{from:j,to:V,text:I,origin:q})}function gs(g,I,j,V){j<g.line?g.line+=V:I<g.line&&(g.line=I,g.ch=0)}function os(g,I,j,V){for(var q=0;q<g.length;++q){var ve=g[q],Je=!0;if(ve.ranges){ve.copied||(ve=g[q]=ve.deepCopy(),ve.copied=!0);for(var St=0;St<ve.ranges.length;St++)gs(ve.ranges[St].anchor,I,j,V),gs(ve.ranges[St].head,I,j,V);continue}for(var jt=0;jt<ve.changes.length;++jt){var Gt=ve.changes[jt];if(j<Gt.from.line)Gt.from=Ct(Gt.from.line+V,Gt.from.ch),Gt.to=Ct(Gt.to.line+V,Gt.to.ch);else if(I<=Gt.to.line){Je=!1;break}}Je||(g.splice(0,q+1),q=0)}}function Jo(g,I){var j=I.from.line,V=I.to.line,q=I.text.length-(V-j)-1;os(g.done,j,V,q),os(g.undone,j,V,q)}function $o(g,I,j,V){var q=I,ve=I;return typeof I=="number"?ve=$(g,rr(g,I)):q=Me(I),q==null?null:(V(ve,q)&&g.cm&&Fa(g.cm,q,j),ve)}function Es(g){this.lines=g,this.parent=null;for(var I=0,j=0;j<g.length;++j)g[j].parent=this,I+=g[j].height;this.height=I}Es.prototype={chunkSize:function(){return this.lines.length},removeInner:function(I,j){for(var V=I,q=I+j;V<q;++V){var ve=this.lines[V];this.height-=ve.height,Na(ve),Hi(ve,"delete")}this.lines.splice(I,j)},collapse:function(I){I.push.apply(I,this.lines)},insertInner:function(I,j,V){this.height+=V,this.lines=this.lines.slice(0,I).concat(j).concat(this.lines.slice(I));for(var q=0;q<j.length;++q)j[q].parent=this},iterN:function(I,j,V){for(var q=I+j;I<q;++I)if(V(this.lines[I]))return!0}};function Ho(g){this.children=g;for(var I=0,j=0,V=0;V<g.length;++V){var q=g[V];I+=q.chunkSize(),j+=q.height,q.parent=this}this.size=I,this.height=j,this.parent=null}Ho.prototype={chunkSize:function(){return this.size},removeInner:function(I,j){this.size-=j;for(var V=0;V<this.children.length;++V){var q=this.children[V],ve=q.chunkSize();if(I<ve){var Je=Math.min(j,ve-I),St=q.height;if(q.removeInner(I,Je),this.height-=St-q.height,ve==Je&&(this.children.splice(V--,1),q.parent=null),(j-=Je)==0)break;I=0}else I-=ve}if(this.size-j<25&&(this.children.length>1||!(this.children[0]instanceof Es))){var jt=[];this.collapse(jt),this.children=[new Es(jt)],this.children[0].parent=this}},collapse:function(I){for(var j=0;j<this.children.length;++j)this.children[j].collapse(I)},insertInner:function(I,j,V){this.size+=j.length,this.height+=V;for(var q=0;q<this.children.length;++q){var ve=this.children[q],Je=ve.chunkSize();if(I<=Je){if(ve.insertInner(I,j,V),ve.lines&&ve.lines.length>50){for(var St=ve.lines.length%25+25,jt=St;jt<ve.lines.length;){var Gt=new Es(ve.lines.slice(jt,jt+=25));ve.height-=Gt.height,this.children.splice(++q,0,Gt),Gt.parent=this}ve.lines=ve.lines.slice(0,St),this.maybeSpill()}break}I-=Je}},maybeSpill:function(){if(this.children.length<=10)return;var I=this;do{var j=I.children.splice(I.children.length-5,5),V=new Ho(j);if(I.parent){I.size-=V.size,I.height-=V.height;var ve=P(I.parent.children,I);I.parent.children.splice(ve+1,0,V)}else{var q=new Ho(I.children);q.parent=I,I.children=[q,V],I=q}V.parent=I.parent}while(I.children.length>10);I.parent.maybeSpill()},iterN:function(I,j,V){for(var q=0;q<this.children.length;++q){var ve=this.children[q],Je=ve.chunkSize();if(I<Je){var St=Math.min(j,Je-I);if(ve.iterN(I,St,V))return!0;if((j-=St)==0)break;I=0}else I-=Je}}};var sl=function(I,j,V){if(V)for(var q in V)V.hasOwnProperty(q)&&(this[q]=V[q]);this.doc=I,this.node=j};sl.prototype.clear=function(){var g=this.doc.cm,I=this.line.widgets,j=this.line,V=Me(j);if(V==null||!I)return;for(var q=0;q<I.length;++q)I[q]==this&&I.splice(q--,1);I.length||(j.widgets=null);var ve=en(this);Ae(j,Math.max(0,j.height-ve)),g&&(Eo(g,function(){kl(g,j,-ve),Fa(g,V,"widget")}),Hi(g,"lineWidgetCleared",g,this,V))},sl.prototype.changed=function(){var g=this,I=this.height,j=this.doc.cm,V=this.line;this.height=null;var q=en(this)-I;if(!q)return;An(this.doc,V)||Ae(V,V.height+q),j&&Eo(j,function(){j.curOp.forceUpdate=!0,kl(j,V,q),Hi(j,"lineWidgetChanged",j,g,Me(V))})},Ze(sl);function kl(g,I,j){Ln(I)<(g.curOp&&g.curOp.scrollTop||g.doc.scrollTop)&&Ja(g,j)}function ll(g,I,j,V){var q=new sl(g,j,V),ve=g.cm;return ve&&q.noHScroll&&(ve.display.alignWidgets=!0),$o(g,I,"widget",function(Je){var St=Je.widgets||(Je.widgets=[]);if(q.insertAt==null?St.push(q):St.splice(Math.min(St.length-1,Math.max(0,q.insertAt)),0,q),q.line=Je,ve&&!An(g,Je)){var jt=Ln(Je)<g.scrollTop;Ae(Je,Je.height+en(q)),jt&&Ja(ve,q.height),ve.curOp.forceUpdate=!0}return!0}),ve&&Hi(ve,"lineWidgetAdded",ve,q,typeof I=="number"?I:Me(I)),q}var Nl=0,Ns=function(I,j){this.lines=[],this.type=j,this.doc=I,this.id=++Nl};Ns.prototype.clear=function(){if(this.explicitlyCleared)return;var g=this.doc.cm,I=g&&!g.curOp;if(I&&Ji(g),Ut(this,"clear")){var j=this.find();j&&Hi(this,"clear",j.from,j.to)}for(var V=null,q=null,ve=0;ve<this.lines.length;++ve){var Je=this.lines[ve],St=dr(Je.markedSpans,this);g&&!this.collapsed?Fa(g,Me(Je),"text"):g&&(St.to!=null&&(q=Me(Je)),St.from!=null&&(V=Me(Je))),Je.markedSpans=fr(Je.markedSpans,St),St.from==null&&this.collapsed&&!An(this.doc,Je)&&g&&Ae(Je,mi(g.display))}if(g&&this.collapsed&&!g.options.lineWrapping)for(var jt=0;jt<this.lines.length;++jt){var Gt=ia(this.lines[jt]),Lr=Un(Gt);Lr>g.display.maxLineLength&&(g.display.maxLine=Gt,g.display.maxLineLength=Lr,g.display.maxLineChanged=!0)}V!=null&&g&&this.collapsed&&Zi(g,V,q+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,g&&Rs(g.doc)),g&&Hi(g,"markerCleared",g,this,V,q),I&&ao(g),this.parent&&this.parent.clear()},Ns.prototype.find=function(g,I){g==null&&this.type=="bookmark"&&(g=1);for(var j,V,q=0;q<this.lines.length;++q){var ve=this.lines[q],Je=dr(ve.markedSpans,this);if(Je.from!=null&&(j=Ct(I?ve:Me(ve),Je.from),g==-1))return j;if(Je.to!=null&&(V=Ct(I?ve:Me(ve),Je.to),g==1))return V}return j&&{from:j,to:V}},Ns.prototype.changed=function(){var g=this,I=this.find(-1,!0),j=this,V=this.doc.cm;if(!I||!V)return;Eo(V,function(){var q=I.line,ve=Me(I.line),Je=Sn(V,ve);if(Je&&(Hn(Je),V.curOp.selectionChanged=V.curOp.forceUpdate=!0),V.curOp.updateMaxLine=!0,!An(j.doc,q)&&j.height!=null){var St=j.height;j.height=null;var jt=en(j)-St;jt&&Ae(q,q.height+jt)}Hi(V,"markerChanged",V,g)})},Ns.prototype.attachLine=function(g){if(!this.lines.length&&this.doc.cm){var I=this.doc.cm.curOp;(!I.maybeHiddenMarkers||P(I.maybeHiddenMarkers,this)==-1)&&(I.maybeUnhiddenMarkers||(I.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(g)},Ns.prototype.detachLine=function(g){if(this.lines.splice(P(this.lines,g),1),!this.lines.length&&this.doc.cm){var I=this.doc.cm.curOp;(I.maybeHiddenMarkers||(I.maybeHiddenMarkers=[])).push(this)}},Ze(Ns);function Ys(g,I,j,V,q){if(V&&V.shared)return jl(g,I,j,V,q);if(g.cm&&!g.cm.curOp)return Xa(g.cm,Ys)(g,I,j,V,q);var ve=new Ns(g,q),Je=Ht(I,j);if(V&&H(V,ve,!1),Je>0||Je==0&&ve.clearWhenEmpty!==!1)return ve;if(ve.replacedWith&&(ve.collapsed=!0,ve.widgetNode=M("span",[ve.replacedWith],"CodeMirror-widget"),V.handleMouseEvents||ve.widgetNode.setAttribute("cm-ignore-events","true"),V.insertLeft&&(ve.widgetNode.insertLeft=!0)),ve.collapsed){if(Ta(g,I.line,I,j,ve)||I.line!=j.line&&Ta(g,j.line,I,j,ve))throw new Error("Inserting collapsed marker partially overlapping an existing one");nr()}ve.addToHistory&&Wa(g,{from:I,to:j,origin:"markText"},g.sel,NaN);var St=I.line,jt=g.cm,Gt;if(g.iter(St,j.line+1,function(jr){jt&&ve.collapsed&&!jt.options.lineWrapping&&ia(jr)==jt.display.maxLine&&(Gt=!0),ve.collapsed&&St!=I.line&&Ae(jr,0),_r(jr,new pr(ve,St==I.line?I.ch:null,St==j.line?j.ch:null)),++St}),ve.collapsed&&g.iter(I.line,j.line+1,function(jr){An(g,jr)&&Ae(jr,0)}),ve.clearOnEnter&&ke(ve,"beforeCursorEnter",function(){return ve.clear()}),ve.readOnly&&(Or(),(g.history.done.length||g.history.undone.length)&&g.clearHistory()),ve.collapsed&&(ve.id=++Nl,ve.atomic=!0),jt){if(Gt&&(jt.curOp.updateMaxLine=!0),ve.collapsed)Zi(jt,I.line,j.line+1);else if(ve.className||ve.startStyle||ve.endStyle||ve.css||ve.attributes||ve.title)for(var Lr=I.line;Lr<=j.line;Lr++)Fa(jt,Lr,"text");ve.atomic&&Rs(jt.doc),Hi(jt,"markerAdded",jt,ve)}return ve}var qs=function(I,j){this.markers=I,this.primary=j;for(var V=0;V<I.length;++V)I[V].parent=this};qs.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var g=0;g<this.markers.length;++g)this.markers[g].clear();Hi(this,"clear")},qs.prototype.find=function(g,I){return this.primary.find(g,I)},Ze(qs);function jl(g,I,j,V,q){V=H(V),V.shared=!1;var ve=[Ys(g,I,j,V,q)],Je=ve[0],St=V.widgetNode;return xn(g,function(jt){St&&(V.widgetNode=St.cloneNode(!0)),ve.push(Ys(jt,Ke(jt,I),Ke(jt,j),V,q));for(var Gt=0;Gt<jt.linked.length;++Gt)if(jt.linked[Gt].isParent)return;Je=$e(ve)}),new qs(ve,Je)}function Hl(g){return g.findMarks(Ct(g.first,0),g.clipPos(Ct(g.lastLine())),function(I){return I.parent})}function Dl(g,I){for(var j=0;j<I.length;j++){var V=I[j],q=V.find(),ve=g.clipPos(q.from),Je=g.clipPos(q.to);if(Ht(ve,Je)){var St=Ys(g,ve,Je,V.primary,V.primary.type);V.markers.push(St),St.parent=V}}}function rc(g){for(var I=function(q){var ve=g[q],Je=[ve.primary.doc];xn(ve.primary.doc,function(Gt){return Je.push(Gt)});for(var St=0;St<ve.markers.length;St++){var jt=ve.markers[St];P(Je,jt.doc)==-1&&(jt.parent=null,ve.markers.splice(St--,1))}},j=0;j<g.length;j++)I(j)}var nc=0,qo=function g(I,j,V,q,ve){if(!(this instanceof g))return new g(I,j,V,q,ve);V==null&&(V=0),Ho.call(this,[new Es([new ti("",null)])]),this.first=V,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=V;var Je=Ct(V,0);this.sel=fe(Je),this.history=new na(null),this.id=++nc,this.modeOption=j,this.lineSep=q,this.direction=ve=="rtl"?"rtl":"ltr",this.extend=!1,typeof I=="string"&&(I=this.splitLines(I)),vn(this,{from:Je,to:Je,text:I}),Oo(this,fe(Je),he)};qo.prototype=gt(Ho.prototype,{constructor:qo,iter:function(I,j,V){V?this.iterN(I-this.first,j-I,V):this.iterN(this.first,this.first+this.size,I)},insert:function(I,j){for(var V=0,q=0;q<j.length;++q)V+=j[q].height;this.insertInner(I-this.first,j,V)},remove:function(I,j){this.removeInner(I-this.first,j)},getValue:function(I){var j=ge(this,this.first,this.first+this.size);return I===!1?j:j.join(I||this.lineSeparator())},setValue:ho(function(g){var I=Ct(this.first,0),j=this.first+this.size-1;xs(this,{from:I,to:Ct(j,$(this,j).text.length),text:this.splitLines(g),origin:"setValue",full:!0},!0),this.cm&&Wi(this.cm,0,0),Oo(this,fe(I),he)}),replaceRange:function(I,j,V,q){j=Ke(this,j),V=V?Ke(this,V):j,Zo(this,I,j,V,q)},getRange:function(I,j,V){var q=se(this,Ke(this,I),Ke(this,j));return V===!1?q:q.join(V||this.lineSeparator())},getLine:function(I){var j=this.getLineHandle(I);return j&&j.text},getLineHandle:function(I){if(Wt(this,I))return $(this,I)},getLineNumber:function(I){return Me(I)},getLineHandleVisualStart:function(I){return typeof I=="number"&&(I=$(this,I)),ia(I)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(I){return Ke(this,I)},getCursor:function(I){var j=this.sel.primary(),V;return I==null||I=="head"?V=j.head:I=="anchor"?V=j.anchor:I=="end"||I=="to"||I===!1?V=j.to():V=j.from(),V},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:ho(function(g,I,j){Qs(this,Ke(this,typeof g=="number"?Ct(g,I||0):g),null,j)}),setSelection:ho(function(g,I,j){Qs(this,Ke(this,g),Ke(this,I||g),j)}),extendSelection:ho(function(g,I,j){wo(this,Ke(this,g),I&&Ke(this,I),j)}),extendSelections:ho(function(g,I){ds(this,Ge(this,g),I)}),extendSelectionsBy:ho(function(g,I){var j=yt(this.sel.ranges,g);ds(this,Ge(this,j),I)}),setSelections:ho(function(g,I,j){if(!g.length)return;for(var V=[],q=0;q<g.length;q++)V[q]=new ne(Ke(this,g[q].anchor),Ke(this,g[q].head));I==null&&(I=Math.min(g.length-1,this.sel.primIndex)),Oo(this,ue(this.cm,V,I),j)}),addSelection:ho(function(g,I,j){var V=this.sel.ranges.slice(0);V.push(new ne(Ke(this,g),Ke(this,I||g))),Oo(this,ue(this.cm,V,V.length-1),j)}),getSelection:function(I){for(var j=this.sel.ranges,V,q=0;q<j.length;q++){var ve=se(this,j[q].from(),j[q].to());V=V?V.concat(ve):ve}return I===!1?V:V.join(I||this.lineSeparator())},getSelections:function(I){for(var j=[],V=this.sel.ranges,q=0;q<V.length;q++){var ve=se(this,V[q].from(),V[q].to());I!==!1&&(ve=ve.join(I||this.lineSeparator())),j[q]=ve}return j},replaceSelection:function(I,j,V){for(var q=[],ve=0;ve<this.sel.ranges.length;ve++)q[ve]=I;this.replaceSelections(q,j,V||"+input")},replaceSelections:ho(function(g,I,j){for(var V=[],q=this.sel,ve=0;ve<q.ranges.length;ve++){var Je=q.ranges[ve];V[ve]={from:Je.from(),to:Je.to(),text:this.splitLines(g[ve]),origin:j}}for(var St=I&&I!="end"&&Ar(this,V,I),jt=V.length-1;jt>=0;jt--)xs(this,V[jt]);St?Go(this,St):this.cm&&ra(this.cm)}),undo:ho(function(){ci(this,"undo")}),redo:ho(function(){ci(this,"redo")}),undoSelection:ho(function(){ci(this,"undo",!0)}),redoSelection:ho(function(){ci(this,"redo",!0)}),setExtending:function(I){this.extend=I},getExtending:function(){return this.extend},historySize:function(){for(var I=this.history,j=0,V=0,q=0;q<I.done.length;q++)I.done[q].ranges||++j;for(var ve=0;ve<I.undone.length;ve++)I.undone[ve].ranges||++V;return{undo:j,redo:V}},clearHistory:function(){var I=this;this.history=new na(this.history.maxGeneration),xn(this,function(j){return j.history=I.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(I){return I&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(I){return this.history.generation==(I||this.cleanGeneration)},getHistory:function(){return{done:Po(this.history.done),undone:Po(this.history.undone)}},setHistory:function(I){var j=this.history=new na(this.history.maxGeneration);j.done=Po(I.done.slice(0),null,!0),j.undone=Po(I.undone.slice(0),null,!0)},setGutterMarker:ho(function(g,I,j){return $o(this,g,"gutter",function(V){var q=V.gutterMarkers||(V.gutterMarkers={});return q[I]=j,!j&&dt(q)&&(V.gutterMarkers=null),!0})}),clearGutter:ho(function(g){var I=this;this.iter(function(j){j.gutterMarkers&&j.gutterMarkers[g]&&$o(I,j,"gutter",function(){return j.gutterMarkers[g]=null,dt(j.gutterMarkers)&&(j.gutterMarkers=null),!0})})}),lineInfo:function(I){var j;if(typeof I=="number"){if(!Wt(this,I))return null;if(j=I,I=$(this,I),!I)return null}else if(j=Me(I),j==null)return null;return{line:j,handle:I,text:I.text,gutterMarkers:I.gutterMarkers,textClass:I.textClass,bgClass:I.bgClass,wrapClass:I.wrapClass,widgets:I.widgets}},addLineClass:ho(function(g,I,j){return $o(this,g,I=="gutter"?"gutter":"class",function(V){var q=I=="text"?"textClass":I=="background"?"bgClass":I=="gutter"?"gutterClass":"wrapClass";if(!V[q])V[q]=j;else{if(T(j).test(V[q]))return!1;V[q]+=" "+j}return!0})}),removeLineClass:ho(function(g,I,j){return $o(this,g,I=="gutter"?"gutter":"class",function(V){var q=I=="text"?"textClass":I=="background"?"bgClass":I=="gutter"?"gutterClass":"wrapClass",ve=V[q];if(ve)if(j==null)V[q]=null;else{var Je=ve.match(T(j));if(!Je)return!1;var St=Je.index+Je[0].length;V[q]=ve.slice(0,Je.index)+(!Je.index||St==ve.length?"":" ")+ve.slice(St)||null}else return!1;return!0})}),addLineWidget:ho(function(g,I,j){return ll(this,g,I,j)}),removeLineWidget:function(I){I.clear()},markText:function(I,j,V){return Ys(this,Ke(this,I),Ke(this,j),V,V&&V.type||"range")},setBookmark:function(I,j){var V={replacedWith:j&&(j.nodeType==null?j.widget:j),insertLeft:j&&j.insertLeft,clearWhenEmpty:!1,shared:j&&j.shared,handleMouseEvents:j&&j.handleMouseEvents};return I=Ke(this,I),Ys(this,I,I,V,"bookmark")},findMarksAt:function(I){I=Ke(this,I);var j=[],V=$(this,I.line).markedSpans;if(V)for(var q=0;q<V.length;++q){var ve=V[q];(ve.from==null||ve.from<=I.ch)&&(ve.to==null||ve.to>=I.ch)&&j.push(ve.marker.parent||ve.marker)}return j},findMarks:function(I,j,V){I=Ke(this,I),j=Ke(this,j);var q=[],ve=I.line;return this.iter(I.line,j.line+1,function(Je){var St=Je.markedSpans;if(St)for(var jt=0;jt<St.length;jt++){var Gt=St[jt];!(Gt.to!=null&&ve==I.line&&I.ch>=Gt.to||Gt.from==null&&ve!=I.line||Gt.from!=null&&ve==j.line&&Gt.from>=j.ch)&&(!V||V(Gt.marker))&&q.push(Gt.marker.parent||Gt.marker)}++ve}),q},getAllMarks:function(){var I=[];return this.iter(function(j){var V=j.markedSpans;if(V)for(var q=0;q<V.length;++q)V[q].from!=null&&I.push(V[q].marker)}),I},posFromIndex:function(I){var j,V=this.first,q=this.lineSeparator().length;return this.iter(function(ve){var Je=ve.text.length+q;if(Je>I)return j=I,!0;I-=Je,++V}),Ke(this,Ct(V,j))},indexFromPos:function(I){I=Ke(this,I);var j=I.ch;if(I.line<this.first||I.ch<0)return 0;var V=this.lineSeparator().length;return this.iter(this.first,I.line,function(q){j+=q.text.length+V}),j},copy:function(I){var j=new qo(ge(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return j.scrollTop=this.scrollTop,j.scrollLeft=this.scrollLeft,j.sel=this.sel,j.extend=!1,I&&(j.history.undoDepth=this.history.undoDepth,j.setHistory(this.getHistory())),j},linkedDoc:function(I){I||(I={});var j=this.first,V=this.first+this.size;I.from!=null&&I.from>j&&(j=I.from),I.to!=null&&I.to<V&&(V=I.to);var q=new qo(ge(this,j,V),I.mode||this.modeOption,j,this.lineSep,this.direction);return I.sharedHist&&(q.history=this.history),(this.linked||(this.linked=[])).push({doc:q,sharedHist:I.sharedHist}),q.linked=[{doc:this,isParent:!0,sharedHist:I.sharedHist}],Dl(q,Hl(this)),q},unlinkDoc:function(I){if(I instanceof Ve&&(I=I.doc),this.linked)for(var j=0;j<this.linked.length;++j){var V=this.linked[j];if(V.doc!=I)continue;this.linked.splice(j,1),I.unlinkDoc(this),rc(Hl(this));break}if(I.history==this.history){var q=[I.id];xn(I,function(ve){return q.push(ve.id)},!0),I.history=new na(null),I.history.done=Po(this.history.done,q),I.history.undone=Po(this.history.undone,q)}},iterLinkedDocs:function(I){xn(this,I)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(I){return this.lineSep?I.split(this.lineSep):Kt(I)},lineSeparator:function(){return this.lineSep||`
|
||
`},setDirection:ho(function(g){if(g!="rtl"&&(g="ltr"),g==this.direction)return;this.direction=g,this.iter(function(I){return I.order=null}),this.cm&&Ai(this.cm)})}),qo.prototype.eachLine=qo.prototype.iter;var el=0;function ic(g){var I=this;if(yl(I),Nt(I,g)||lt(I.display,g))return;ze(g),f&&(el=+new Date);var j=Yi(I,g,!0),V=g.dataTransfer.files;if(!j||I.isReadOnly())return;if(V&&V.length&&window.FileReader&&window.File)for(var q=V.length,ve=Array(q),Je=0,St=function(){++Je==q&&Xa(I,function(){j=Ke(I.doc,j);var bn={from:j,to:j,text:I.doc.splitLines(ve.filter(function(Fn){return Fn!=null}).join(I.doc.lineSeparator())),origin:"paste"};xs(I.doc,bn),Go(I.doc,fe(Ke(I.doc,j),Ke(I.doc,Oe(bn))))})()},jt=function(bn,Fn){if(I.options.allowDropFileTypes&&P(I.options.allowDropFileTypes,bn.type)==-1){St();return}var Jn=new FileReader;Jn.onerror=function(){return St()},Jn.onload=function(){var Zn=Jn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Zn)){St();return}ve[Fn]=Zn,St()},Jn.readAsText(bn)},Gt=0;Gt<V.length;Gt++)jt(V[Gt],Gt);else{if(I.state.draggingText&&I.doc.sel.contains(j)>-1){I.state.draggingText(g),setTimeout(function(){return I.display.input.focus()},20);return}try{var Lr=g.dataTransfer.getData("Text");if(Lr){var jr;if(I.state.draggingText&&!I.state.draggingText.copy&&(jr=I.listSelections()),hs(I.doc,fe(j,j)),jr)for(var tn=0;tn<jr.length;++tn)Zo(I.doc,"",jr[tn].anchor,jr[tn].head,"drag");I.replaceSelection(Lr,"around","paste"),I.display.input.focus()}}catch(nn){}}}function Rl(g,I){if(f&&(!g.state.draggingText||+new Date-el<100)){Xe(I);return}if(Nt(g,I)||lt(g.display,I))return;if(I.dataTransfer.setData("Text",g.getSelection()),I.dataTransfer.effectAllowed="copyMove",I.dataTransfer.setDragImage&&!n){var j=D("img",null,null,"position: fixed; left: 0; top: 0;");j.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",l&&(j.width=j.height=1,g.display.wrapper.appendChild(j),j._top=j.offsetTop),I.dataTransfer.setDragImage(j,0,0),l&&j.parentNode.removeChild(j)}}function _l(g,I){var j=Yi(g,I);if(!j)return;var V=document.createDocumentFragment();ka(g,j,V),g.display.dragCursor||(g.display.dragCursor=D("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),g.display.lineSpace.insertBefore(g.display.dragCursor,g.display.cursorDiv)),N(g.display.dragCursor,V)}function yl(g){g.display.dragCursor&&(g.display.lineSpace.removeChild(g.display.dragCursor),g.display.dragCursor=null)}function zl(g){if(!document.getElementsByClassName)return;for(var I=document.getElementsByClassName("CodeMirror"),j=[],V=0;V<I.length;V++){var q=I[V].CodeMirror;q&&j.push(q)}j.length&&j[0].operation(function(){for(var ve=0;ve<j.length;ve++)g(j[ve])})}var cl=!1;function Wl(){if(cl)return;ac(),cl=!0}function ac(){var g;ke(window,"resize",function(){g==null&&(g=setTimeout(function(){g=null,zl(oc)},100))}),ke(window,"blur",function(){return zl(qi)})}function oc(g){var I=g.display;I.cachedCharWidth=I.cachedTextHeight=I.cachedPaddingH=null,I.scrollbarsClipped=!1,g.setSize()}for(var Bs={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},tl=0;tl<10;tl++)Bs[tl+48]=Bs[tl+96]=String(tl);for(var bl=65;bl<=90;bl++)Bs[bl]=String.fromCharCode(bl);for(var ul=1;ul<=12;ul++)Bs[ul+111]=Bs[ul+63235]="F"+ul;var Cs={};Cs.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Cs.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Cs.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Cs.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Cs.default=p?Cs.macDefault:Cs.pcDefault;function zs(g){var I=g.split(/-(?!$)/);g=I[I.length-1];for(var j,V,q,ve,Je=0;Je<I.length-1;Je++){var St=I[Je];if(/^(cmd|meta|m)$/i.test(St))ve=!0;else if(/^a(lt)?$/i.test(St))j=!0;else if(/^(c|ctrl|control)$/i.test(St))V=!0;else if(/^s(hift)?$/i.test(St))q=!0;else throw new Error("Unrecognized modifier name: "+St)}return j&&(g="Alt-"+g),V&&(g="Ctrl-"+g),ve&&(g="Cmd-"+g),q&&(g="Shift-"+g),g}function rl(g){var I={};for(var j in g)if(g.hasOwnProperty(j)){var V=g[j];if(/^(name|fallthrough|(de|at)tach)$/.test(j))continue;if(V=="..."){delete g[j];continue}for(var q=yt(j.split(" "),zs),ve=0;ve<q.length;ve++){var Je=void 0,St=void 0;ve==q.length-1?(St=q.join(" "),Je=V):(St=q.slice(0,ve+1).join(" "),Je="...");var jt=I[St];if(!jt)I[St]=Je;else if(jt!=Je)throw new Error("Inconsistent bindings for "+St)}delete g[j]}for(var Gt in I)g[Gt]=I[Gt];return g}function Fs(g,I,j,V){I=Sl(I);var q=I.call?I.call(g,V):I[g];if(q===!1)return"nothing";if(q==="...")return"multi";if(q!=null&&j(q))return"handled";if(I.fallthrough){if(Object.prototype.toString.call(I.fallthrough)!="[object Array]")return Fs(g,I.fallthrough,j,V);for(var ve=0;ve<I.fallthrough.length;ve++){var Je=Fs(g,I.fallthrough[ve],j,V);if(Je)return Je}}}function wl(g){var I=typeof g=="string"?g:Bs[g.keyCode];return I=="Ctrl"||I=="Alt"||I=="Shift"||I=="Mod"}function Ml(g,I,j){var V=g;return I.altKey&&V!="Alt"&&(g="Alt-"+g),(E?I.metaKey:I.ctrlKey)&&V!="Ctrl"&&(g="Ctrl-"+g),(E?I.ctrlKey:I.metaKey)&&V!="Mod"&&(g="Cmd-"+g),!j&&I.shiftKey&&V!="Shift"&&(g="Shift-"+g),g}function Vl(g,I){if(l&&g.keyCode==34&&g.char)return!1;var j=Bs[g.keyCode];return j==null||g.altGraphKey?!1:(g.keyCode==3&&g.code&&(j=g.code),Ml(j,g,I))}function Sl(g){return typeof g=="string"?Cs[g]:g}function Xs(g,I){for(var j=g.doc.sel.ranges,V=[],q=0;q<j.length;q++){for(var ve=I(j[q]);V.length&&Ht(ve.from,$e(V).to)<=0;){var Je=V.pop();if(Ht(Je.from,ve.from)<0){ve.from=Je.from;break}}V.push(ve)}Eo(g,function(){for(var St=V.length-1;St>=0;St--)Zo(g.doc,"",V[St].from,V[St].to,"+delete");ra(g)})}function dl(g,I,j){var V=mt(g.text,I+j,j);return V<0||V>g.text.length?null:V}function nl(g,I,j){var V=dl(g,I.ch,j);return V==null?null:new Ct(I.line,V,j<0?"after":"before")}function hl(g,I,j,V,q){if(g){I.doc.direction=="rtl"&&(q=-q);var ve=Tt(j,I.doc.direction);if(ve){var Je=q<0?$e(ve):ve[0],St=q<0==(Je.level==1),jt=St?"after":"before",Gt;if(Je.level>0||I.doc.direction=="rtl"){var Lr=_n(I,j);Gt=q<0?j.text.length-1:0;var jr=Cn(I,Lr,Gt).top;Gt=Ue(function(tn){return Cn(I,Lr,tn).top==jr},q<0==(Je.level==1)?Je.from:Je.to-1,Gt),jt=="before"&&(Gt=dl(j,Gt,1))}else Gt=q<0?Je.to:Je.from;return new Ct(V,Gt,jt)}}return new Ct(V,q<0?j.text.length:0,q<0?"before":"after")}function xl(g,I,j,V){var q=Tt(I,g.doc.direction);if(!q)return nl(I,j,V);j.ch>=I.text.length?(j.ch=I.text.length,j.sticky="before"):j.ch<=0&&(j.ch=0,j.sticky="after");var ve=at(q,j.ch,j.sticky),Je=q[ve];if(g.doc.direction=="ltr"&&Je.level%2==0&&(V>0?Je.to>j.ch:Je.from<j.ch))return nl(I,j,V);var St=function(ni,ai){return dl(I,ni instanceof Ct?ni.ch:ni,ai)},jt,Gt=function(ni){return g.options.lineWrapping?(jt=jt||_n(g,I),la(g,I,jt,ni)):{begin:0,end:I.text.length}},Lr=Gt(j.sticky=="before"?St(j,-1):j.ch);if(g.doc.direction=="rtl"||Je.level==1){var jr=Je.level==1==V<0,tn=St(j,jr?1:-1);if(tn!=null&&(jr?tn<=Je.to&&tn<=Lr.end:tn>=Je.from&&tn>=Lr.begin)){var nn=jr?"before":"after";return new Ct(j.line,tn,nn)}}var bn=function(ni,ai,De){for(var X=function(br,Ir){return Ir?new Ct(j.line,St(br,1),"before"):new Ct(j.line,br,"after")};ni>=0&&ni<q.length;ni+=ai){var ye=q[ni],Be=ai>0==(ye.level!=1),pt=Be?De.begin:St(De.end,-1);if(ye.from<=pt&&pt<ye.to)return X(pt,Be);if(pt=Be?ye.from:St(ye.to,-1),De.begin<=pt&&pt<De.end)return X(pt,Be)}},Fn=bn(ve+V,V,Lr);if(Fn)return Fn;var Jn=V>0?Lr.end:St(Lr.begin,-1);return Jn!=null&&!(V>0&&Jn==I.text.length)&&(Fn=bn(V>0?0:q.length-1,V,Gt(Jn)),Fn)?Fn:null}var Ws={selectAll:Ms,singleSelection:function(I){return I.setSelection(I.getCursor("anchor"),I.getCursor("head"),he)},killLine:function(I){return Xs(I,function(j){if(j.empty()){var V=$(I.doc,j.head.line).text.length;return j.head.ch==V&&j.head.line<I.lastLine()?{from:j.head,to:Ct(j.head.line+1,0)}:{from:j.head,to:Ct(j.head.line,V)}}else return{from:j.from(),to:j.to()}})},deleteLine:function(I){return Xs(I,function(j){return{from:Ct(j.from().line,0),to:Ke(I.doc,Ct(j.to().line+1,0))}})},delLineLeft:function(I){return Xs(I,function(j){return{from:Ct(j.from().line,0),to:j.from()}})},delWrappedLineLeft:function(I){return Xs(I,function(j){var V=I.charCoords(j.head,"div").top+5,q=I.coordsChar({left:0,top:V},"div");return{from:q,to:j.from()}})},delWrappedLineRight:function(I){return Xs(I,function(j){var V=I.charCoords(j.head,"div").top+5,q=I.coordsChar({left:I.display.lineDiv.offsetWidth+100,top:V},"div");return{from:j.from(),to:q}})},undo:function(I){return I.undo()},redo:function(I){return I.redo()},undoSelection:function(I){return I.undoSelection()},redoSelection:function(I){return I.redoSelection()},goDocStart:function(I){return I.extendSelection(Ct(I.firstLine(),0))},goDocEnd:function(I){return I.extendSelection(Ct(I.lastLine()))},goLineStart:function(I){return I.extendSelectionsBy(function(j){return Kl(I,j.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(I){return I.extendSelectionsBy(function(j){return fl(I,j.head)},{origin:"+move",bias:1})},goLineEnd:function(I){return I.extendSelectionsBy(function(j){return El(I,j.head.line)},{origin:"+move",bias:-1})},goLineRight:function(I){return I.extendSelectionsBy(function(j){var V=I.cursorCoords(j.head,"div").top+5;return I.coordsChar({left:I.display.lineDiv.offsetWidth+100,top:V},"div")},pe)},goLineLeft:function(I){return I.extendSelectionsBy(function(j){var V=I.cursorCoords(j.head,"div").top+5;return I.coordsChar({left:0,top:V},"div")},pe)},goLineLeftSmart:function(I){return I.extendSelectionsBy(function(j){var V=I.cursorCoords(j.head,"div").top+5,q=I.coordsChar({left:0,top:V},"div");return q.ch<I.getLine(q.line).search(/\S/)?fl(I,j.head):q},pe)},goLineUp:function(I){return I.moveV(-1,"line")},goLineDown:function(I){return I.moveV(1,"line")},goPageUp:function(I){return I.moveV(-1,"page")},goPageDown:function(I){return I.moveV(1,"page")},goCharLeft:function(I){return I.moveH(-1,"char")},goCharRight:function(I){return I.moveH(1,"char")},goColumnLeft:function(I){return I.moveH(-1,"column")},goColumnRight:function(I){return I.moveH(1,"column")},goWordLeft:function(I){return I.moveH(-1,"word")},goGroupRight:function(I){return I.moveH(1,"group")},goGroupLeft:function(I){return I.moveH(-1,"group")},goWordRight:function(I){return I.moveH(1,"word")},delCharBefore:function(I){return I.deleteH(-1,"codepoint")},delCharAfter:function(I){return I.deleteH(1,"char")},delWordBefore:function(I){return I.deleteH(-1,"word")},delWordAfter:function(I){return I.deleteH(1,"word")},delGroupBefore:function(I){return I.deleteH(-1,"group")},delGroupAfter:function(I){return I.deleteH(1,"group")},indentAuto:function(I){return I.indentSelection("smart")},indentMore:function(I){return I.indentSelection("add")},indentLess:function(I){return I.indentSelection("subtract")},insertTab:function(I){return I.replaceSelection(" ")},insertSoftTab:function(I){for(var j=[],V=I.listSelections(),q=I.options.tabSize,ve=0;ve<V.length;ve++){var Je=V[ve].from(),St=Y(I.getLine(Je.line),Je.ch,q);j.push(Qe(q-St%q))}I.replaceSelections(j)},defaultTab:function(I){I.somethingSelected()?I.indentSelection("add"):I.execCommand("insertTab")},transposeChars:function(I){return Eo(I,function(){for(var j=I.listSelections(),V=[],q=0;q<j.length;q++){if(!j[q].empty())continue;var ve=j[q].head,Je=$(I.doc,ve.line).text;if(Je){if(ve.ch==Je.length&&(ve=new Ct(ve.line,ve.ch-1)),ve.ch>0)ve=new Ct(ve.line,ve.ch+1),I.replaceRange(Je.charAt(ve.ch-1)+Je.charAt(ve.ch-2),Ct(ve.line,ve.ch-2),ve,"+transpose");else if(ve.line>I.doc.first){var St=$(I.doc,ve.line-1).text;St&&(ve=new Ct(ve.line,1),I.replaceRange(Je.charAt(0)+I.doc.lineSeparator()+St.charAt(St.length-1),Ct(ve.line-1,St.length-1),ve,"+transpose"))}}V.push(new ne(ve,ve))}I.setSelections(V)})},newlineAndIndent:function(I){return Eo(I,function(){for(var j=I.listSelections(),V=j.length-1;V>=0;V--)I.replaceRange(I.doc.lineSeparator(),j[V].anchor,j[V].head,"+input");j=I.listSelections();for(var q=0;q<j.length;q++)I.indentLine(j[q].from().line,null,!0);ra(I)})},openLine:function(I){return I.replaceSelection(`
|
||
`,"start")},toggleOverwrite:function(I){return I.toggleOverwrite()}};function Kl(g,I){var j=$(g.doc,I),V=ia(j);return V!=j&&(I=Me(V)),hl(!0,g,V,I,1)}function El(g,I){var j=$(g.doc,I),V=fi(j);return V!=j&&(I=Me(V)),hl(!0,g,j,I,-1)}function fl(g,I){var j=Kl(g,I.line),V=$(g.doc,j.line),q=Tt(V,g.doc.direction);if(!q||q[0].level==0){var ve=Math.max(j.ch,V.text.search(/\S/)),Je=I.line==j.line&&I.ch<=ve&&I.ch;return Ct(j.line,Je?0:ve,j.sticky)}return j}function Cl(g,I,j){if(typeof I=="string"&&(I=Ws[I],!I))return!1;g.display.input.ensurePolled();var V=g.display.shift,q=!1;try{g.isReadOnly()&&(g.state.suppressEdits=!0),j&&(g.display.shift=!1),q=I(g)!=J}finally{g.display.shift=V,g.state.suppressEdits=!1}return q}function Ql(g,I,j){for(var V=0;V<g.state.keyMaps.length;V++){var q=Fs(I,g.state.keyMaps[V],j,g);if(q)return q}return g.options.extraKeys&&Fs(I,g.options.extraKeys,j,g)||Fs(I,g.options.keyMap,j,g)}var Bl=new Q;function pl(g,I,j,V){var q=g.state.keySeq;if(q){if(wl(I))return"handled";if(/\'$/.test(I)?g.state.keySeq=null:Bl.set(50,function(){g.state.keySeq==q&&(g.state.keySeq=null,g.display.input.reset())}),Gl(g,q+" "+I,j,V))return!0}return Gl(g,I,j,V)}function Gl(g,I,j,V){var q=Ql(g,I,V);return q=="multi"&&(g.state.keySeq=I),q=="handled"&&Hi(g,"keyHandled",g,I,j),(q=="handled"||q=="multi")&&(ze(j),vi(g)),!!q}function Zs(g,I){var j=Vl(I,!0);return j?I.shiftKey&&!g.state.keySeq?pl(g,"Shift-"+j,I,function(V){return Cl(g,V,!0)})||pl(g,j,I,function(V){if(typeof V=="string"?/^go[A-Z]/.test(V):V.motion)return Cl(g,V)}):pl(g,j,I,function(V){return Cl(g,V)}):!1}function Yl(g,I,j){return pl(g,"'"+j+"'",I,function(V){return Cl(g,V,!0)})}var _o=null;function Vs(g){var I=this;if(g.target&&g.target!=I.display.input.getField())return;if(I.curOp.focus=B(),Nt(I,g))return;f&&a<11&&g.keyCode==27&&(g.returnValue=!1);var j=g.keyCode;I.display.shift=j==16||g.shiftKey;var V=Zs(I,g);l&&(_o=V?j:null,!V&&j==88&&!me&&(p?g.metaKey:g.ctrlKey)&&I.replaceSelection("",null,"cut")),v&&!p&&!V&&j==46&&g.shiftKey&&!g.ctrlKey&&document.execCommand&&document.execCommand("cut"),j==18&&!/\bCodeMirror-crosshair\b/.test(I.display.lineDiv.className)&&il(I)}function il(g){var I=g.display.lineDiv;z(I,"CodeMirror-crosshair");function j(V){(V.keyCode==18||!V.altKey)&&(b(I,"CodeMirror-crosshair"),bt(document,"keyup",j),bt(document,"mouseover",j))}ke(document,"keyup",j),ke(document,"mouseover",j)}function Ps(g){g.keyCode==16&&(this.doc.sel.shift=!1),Nt(this,g)}function Us(g){var I=this;if(g.target&&g.target!=I.display.input.getField())return;if(lt(I.display,g)||Nt(I,g)||g.ctrlKey&&!g.altKey||p&&g.metaKey)return;var j=g.keyCode,V=g.charCode;if(l&&j==_o){_o=null,ze(g);return}if(l&&(!g.which||g.which<10)&&Zs(I,g))return;var q=String.fromCharCode(V==null?j:V);if(q=="\b")return;if(Yl(I,g,q))return;I.display.input.onKeyPress(g)}var ml=400,Os=function(I,j,V){this.time=I,this.pos=j,this.button=V};Os.prototype.compare=function(g,I,j){return this.time+ml>g&&Ht(I,this.pos)==0&&j==this.button};var al,Js;function Fl(g,I){var j=+new Date;return Js&&Js.compare(j,g,I)?(al=Js=null,"triple"):al&&al.compare(j,g,I)?(Js=new Os(j,g,I),al=null,"double"):(al=new Os(j,g,I),Js=null,"single")}function Ol(g){var I=this,j=I.display;if(Nt(I,g)||j.activeTouch&&j.input.supportsTouch())return;if(j.input.ensurePolled(),j.shift=g.shiftKey,lt(j,g)){t||(j.scroller.draggable=!1,setTimeout(function(){return j.scroller.draggable=!0},100));return}if(Ll(I,g))return;var V=Yi(I,g),q=je(g),ve=V?Fl(V,q):"single";if(window.focus(),q==1&&I.state.selectingText&&I.state.selectingText(g),V&&gl(I,q,V,ve,g))return;q==1?V?Pl(I,V,ve,g):_e(g)==j.scroller&&ze(g):q==2?(V&&wo(I.doc,V),setTimeout(function(){return j.input.focus()},20)):q==3&&(O?I.display.input.onContextMenu(g):Ra(I))}function gl(g,I,j,V,q){var ve="Click";return V=="double"?ve="Double"+ve:V=="triple"&&(ve="Triple"+ve),ve=(I==1?"Left":I==2?"Middle":"Right")+ve,pl(g,Ml(ve,q),q,function(Je){if(typeof Je=="string"&&(Je=Ws[Je]),!Je)return!1;var St=!1;try{g.isReadOnly()&&(g.state.suppressEdits=!0),St=Je(g,j)!=J}finally{g.state.suppressEdits=!1}return St})}function Xl(g,I,j){var V=g.getOption("configureMouse"),q=V?V(g,I,j):{};if(q.unit==null){var ve=A?j.shiftKey&&j.metaKey:j.altKey;q.unit=ve?"rectangle":I=="single"?"char":I=="double"?"word":"line"}return(q.extend==null||g.doc.extend)&&(q.extend=g.doc.extend||j.shiftKey),q.addNew==null&&(q.addNew=p?j.metaKey:j.ctrlKey),q.moveOnDrag==null&&(q.moveOnDrag=!(p?j.altKey:j.ctrlKey)),q}function Pl(g,I,j,V){f?setTimeout(W(_a,g),0):g.curOp.focus=B();var q=Xl(g,j,V),ve=g.doc.sel,Je;g.options.dragDrop&&ar&&!g.isReadOnly()&&j=="single"&&(Je=ve.contains(I))>-1&&(Ht((Je=ve.ranges[Je]).from(),I)<0||I.xRel>0)&&(Ht(Je.to(),I)>0||I.xRel<0)?vl(g,V,I,q):sc(g,V,I,q)}function vl(g,I,j,V){var q=g.display,ve=!1,Je=Xa(g,function(Gt){t&&(q.scroller.draggable=!1),g.state.draggingText=!1,bt(q.wrapper.ownerDocument,"mouseup",Je),bt(q.wrapper.ownerDocument,"mousemove",St),bt(q.scroller,"dragstart",jt),bt(q.scroller,"drop",Je),ve||(ze(Gt),V.addNew||wo(g.doc,j,null,null,V.extend),t&&!n||f&&a==9?setTimeout(function(){q.wrapper.ownerDocument.body.focus({preventScroll:!0}),q.input.focus()},20):q.input.focus())}),St=function(Lr){ve=ve||Math.abs(I.clientX-Lr.clientX)+Math.abs(I.clientY-Lr.clientY)>=10},jt=function(){return ve=!0};t&&(q.scroller.draggable=!0),g.state.draggingText=Je,Je.copy=!V.moveOnDrag,q.scroller.dragDrop&&q.scroller.dragDrop(),ke(q.wrapper.ownerDocument,"mouseup",Je),ke(q.wrapper.ownerDocument,"mousemove",St),ke(q.scroller,"dragstart",jt),ke(q.scroller,"drop",Je),Ra(g),setTimeout(function(){return q.input.focus()},20)}function Zl(g,I,j){if(j=="char")return new ne(I,I);if(j=="word")return g.findWordAt(I);if(j=="line")return new ne(Ct(I.line,0),Ke(g.doc,Ct(I.line+1,0)));var V=j(g,I);return new ne(V.from,V.to)}function sc(g,I,j,V){var q=g.display,ve=g.doc;ze(I);var Je,St,jt=ve.sel,Gt=jt.ranges;if(V.addNew&&!V.extend?(St=ve.sel.contains(j),St>-1?Je=Gt[St]:Je=new ne(j,j)):(Je=ve.sel.primary(),St=ve.sel.primIndex),V.unit=="rectangle")V.addNew||(Je=new ne(j,j)),j=Yi(g,I,!0,!0),St=-1;else{var Lr=Zl(g,j,V.unit);V.extend?Je=Xo(Je,Lr.anchor,Lr.head,V.extend):Je=Lr}V.addNew?St==-1?(St=Gt.length,Oo(ve,ue(g,Gt.concat([Je]),St),{scroll:!1,origin:"*mouse"})):Gt.length>1&&Gt[St].empty()&&V.unit=="char"&&!V.extend?(Oo(ve,ue(g,Gt.slice(0,St).concat(Gt.slice(St+1)),0),{scroll:!1,origin:"*mouse"}),jt=ve.sel):ns(ve,St,Je,te):(St=0,Oo(ve,new _t([Je],0),te),jt=ve.sel);var jr=j;function tn(ai){if(Ht(jr,ai)==0)return;if(jr=ai,V.unit=="rectangle"){for(var De=[],X=g.options.tabSize,ye=Y($(ve,j.line).text,j.ch,X),Be=Y($(ve,ai.line).text,ai.ch,X),pt=Math.min(ye,Be),tr=Math.max(ye,Be),br=Math.min(j.line,ai.line),Ir=Math.min(g.lastLine(),Math.max(j.line,ai.line));br<=Ir;br++){var zr=$(ve,br).text,Wr=we(zr,pt,X);pt==tr?De.push(new ne(Ct(br,Wr),Ct(br,Wr))):zr.length>Wr&&De.push(new ne(Ct(br,Wr),Ct(br,we(zr,tr,X))))}De.length||De.push(new ne(j,j)),Oo(ve,ue(g,jt.ranges.slice(0,St).concat(De),St),{origin:"*mouse",scroll:!1}),g.scrollIntoView(ai)}else{var ln=Je,an=Zl(g,ai,V.unit),Mn=ln.anchor,ii;Ht(an.anchor,Mn)>0?(ii=an.head,Mn=ur(ln.from(),an.anchor)):(ii=an.anchor,Mn=Et(ln.to(),an.head));var zn=jt.ranges.slice(0);zn[St]=Jl(g,new ne(Ke(ve,Mn),ii)),Oo(ve,ue(g,zn,St),te)}}var nn=q.wrapper.getBoundingClientRect(),bn=0;function Fn(ai){var De=++bn,X=Yi(g,ai,!0,V.unit=="rectangle");if(!X)return;if(Ht(X,jr)!=0){g.curOp.focus=B(),tn(X);var ye=za(q,ve);(X.line>=ye.to||X.line<ye.from)&&setTimeout(Xa(g,function(){bn==De&&Fn(ai)}),150)}else{var Be=ai.clientY<nn.top?-20:ai.clientY>nn.bottom?20:0;Be&&setTimeout(Xa(g,function(){if(bn!=De)return;q.scroller.scrollTop+=Be,Fn(ai)}),50)}}function Jn(ai){g.state.selectingText=!1,bn=Infinity,ai&&(ze(ai),q.input.focus()),bt(q.wrapper.ownerDocument,"mousemove",Zn),bt(q.wrapper.ownerDocument,"mouseup",ni),ve.history.lastSelOrigin=null}var Zn=Xa(g,function(ai){ai.buttons===0||!je(ai)?Jn(ai):Fn(ai)}),ni=Xa(g,Jn);g.state.selectingText=ni,ke(q.wrapper.ownerDocument,"mousemove",Zn),ke(q.wrapper.ownerDocument,"mouseup",ni)}function Jl(g,I){var j=I.anchor,V=I.head,q=$(g.doc,j.line);if(Ht(j,V)==0&&j.sticky==V.sticky)return I;var ve=Tt(q);if(!ve)return I;var Je=at(ve,j.ch,j.sticky),St=ve[Je];if(St.from!=j.ch&&St.to!=j.ch)return I;var jt=Je+(St.from==j.ch==(St.level!=1)?0:1);if(jt==0||jt==ve.length)return I;var Gt;if(V.line!=j.line)Gt=(V.line-j.line)*(g.doc.direction=="ltr"?1:-1)>0;else{var Lr=at(ve,V.ch,V.sticky),jr=Lr-Je||(V.ch-j.ch)*(St.level==1?-1:1);Lr==jt-1||Lr==jt?Gt=jr<0:Gt=jr>0}var tn=ve[jt+(Gt?-1:0)],nn=Gt==(tn.level==1),bn=nn?tn.from:tn.to,Fn=nn?"after":"before";return j.ch==bn&&j.sticky==Fn?I:new ne(new Ct(j.line,bn,Fn),V)}function $l(g,I,j,V){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(g.display.gutters.getBoundingClientRect().right))return!1;V&&ze(I);var Je=g.display,St=Je.lineDiv.getBoundingClientRect();if(ve>St.bottom||!Ut(g,j))return le(I);ve-=St.top-Je.viewOffset;for(var jt=0;jt<g.display.gutterSpecs.length;++jt){var Gt=Je.gutters.childNodes[jt];if(Gt&&Gt.getBoundingClientRect().right>=q){var Lr=et(g.doc,ve),jr=g.display.gutterSpecs[jt];return Rt(g,j,g,Lr,jr.className,I),le(I)}}}function Ll(g,I){return $l(g,I,"gutterClick",!0)}function ql(g,I){if(lt(g.display,I)||lc(g,I))return;if(Nt(g,I,"contextmenu"))return;O||g.display.input.onContextMenu(I)}function lc(g,I){return Ut(g,"gutterContextMenu")?$l(g,I,"gutterContextMenu",!1):!1}function Il(g){g.display.wrapper.className=g.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+g.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Oi(g)}var ks={toString:function(){return"CodeMirror.Init"}},Tl={},Al={};function cc(g){var I=g.optionHandlers;function j(V,q,ve,Je){g.defaults[V]=q,ve&&(I[V]=Je?function(St,jt,Gt){Gt!=ks&&ve(St,jt,Gt)}:ve)}g.defineOption=j,g.Init=ks,j("value","",function(V,q){return V.setValue(q)},!0),j("mode",null,function(V,q){V.doc.modeOption=q,Nr(V)},!0),j("indentUnit",2,Nr,!0),j("indentWithTabs",!1),j("smartIndent",!0),j("tabSize",4,function(V){qr(V),Oi(V),Zi(V)},!0),j("lineSeparator",null,function(V,q){if(V.doc.lineSep=q,!q)return;var ve=[],Je=V.doc.first;V.doc.iter(function(jt){for(var Gt=0;;){var Lr=jt.text.indexOf(q,Gt);if(Lr==-1)break;Gt=Lr+q.length,ve.push(Ct(Je,Lr))}Je++});for(var St=ve.length-1;St>=0;St--)Zo(V.doc,q,ve[St],Ct(ve[St].line,ve[St].ch+q.length))}),j("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(V,q,ve){V.state.specialChars=new RegExp(q.source+(q.test(" ")?"":"| "),"g"),ve!=ks&&V.refresh()}),j("specialCharPlaceholder",Qi,function(V){return V.refresh()},!0),j("electricChars",!0),j("inputStyle",h?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),j("spellcheck",!1,function(V,q){return V.getInputField().spellcheck=q},!0),j("autocorrect",!1,function(V,q){return V.getInputField().autocorrect=q},!0),j("autocapitalize",!1,function(V,q){return V.getInputField().autocapitalize=q},!0),j("rtlMoveVisually",!C),j("wholeLineUpdateBefore",!0),j("theme","default",function(V){Il(V),as(V)},!0),j("keyMap","default",function(V,q,ve){var Je=Sl(q),St=ve!=ks&&Sl(ve);St&&St.detach&&St.detach(V,Je),Je.attach&&Je.attach(V,St||null)}),j("extraKeys",null),j("configureMouse",null),j("lineWrapping",!1,ol,!0),j("gutters",[],function(V,q){V.display.gutterSpecs=ys(q,V.options.lineNumbers),as(V)},!0),j("fixedGutter",!0,function(V,q){V.display.gutters.style.left=q?_i(V.display)+"px":"0",V.refresh()},!0),j("coverGutterNextToScrollbar",!1,function(V){return fa(V)},!0),j("scrollbarStyle","native",function(V){$a(V),fa(V),V.display.scrollbars.setScrollTop(V.doc.scrollTop),V.display.scrollbars.setScrollLeft(V.doc.scrollLeft)},!0),j("lineNumbers",!1,function(V,q){V.display.gutterSpecs=ys(V.options.gutters,q),as(V)},!0),j("firstLineNumber",1,as,!0),j("lineNumberFormatter",function(V){return V},as,!0),j("showCursorWhenSelecting",!1,Ti,!0),j("resetSelectionOnContextMenu",!0),j("lineWiseCopyCut",!0),j("pasteLinesPerSelection",!0),j("selectionsMayTouch",!1),j("readOnly",!1,function(V,q){q=="nocursor"&&(qi(V),V.display.input.blur()),V.display.input.readOnlyChanged(q)}),j("screenReaderLabel",null,function(V,q){q=q===""?null:q,V.display.input.screenReaderLabelChanged(q)}),j("disableInput",!1,function(V,q){q||V.display.input.reset()},!0),j("dragDrop",!0,uc),j("allowDropFileTypes",null),j("cursorBlinkRate",530),j("cursorScrollMargin",0),j("cursorHeight",1,Ti,!0),j("singleCursorHeightPerLine",!0,Ti,!0),j("workTime",100),j("workDelay",100),j("flattenSpans",!0,qr,!0),j("addModeClass",!1,qr,!0),j("pollInterval",100),j("undoDepth",200,function(V,q){return V.doc.history.undoDepth=q}),j("historyEventDelay",1250),j("viewportMargin",10,function(V){return V.refresh()},!0),j("maxHighlightLength",1e4,qr,!0),j("moveInputWithCursor",!0,function(V,q){q||V.display.input.resetPosition()}),j("tabindex",null,function(V,q){return V.display.input.getField().tabIndex=q||""}),j("autofocus",null),j("direction","ltr",function(V,q){return V.doc.setDirection(q)},!0),j("phrases",null)}function uc(g,I,j){var V=j&&j!=ks;if(!I!=!V){var q=g.display.dragFunctions,ve=I?ke:bt;ve(g.display.scroller,"dragstart",q.start),ve(g.display.scroller,"dragenter",q.enter),ve(g.display.scroller,"dragover",q.over),ve(g.display.scroller,"dragleave",q.leave),ve(g.display.scroller,"drop",q.drop)}}function ol(g){g.options.lineWrapping?(z(g.display.wrapper,"CodeMirror-wrap"),g.display.sizer.style.minWidth="",g.display.sizerWidth=null):(b(g.display.wrapper,"CodeMirror-wrap"),kn(g)),Fi(g),Zi(g),Oi(g),setTimeout(function(){return fa(g)},100)}function Ve(g,I){var j=this;if(!(this instanceof Ve))return new Ve(g,I);this.options=I=I?H(I):{},H(Tl,I,!1);var V=I.value;typeof V=="string"?V=new qo(V,I.mode,null,I.lineSeparator,I.direction):I.mode&&(V.modeOption=I.mode),this.doc=V;var q=new Ve.inputStyles[I.inputStyle](this),ve=this.display=new $s(g,V,q,I);ve.wrapper.CodeMirror=this,Il(this),I.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),$a(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 Q,keySeq:null,specialChars:null},I.autofocus&&!h&&ve.input.focus(),f&&a<11&&setTimeout(function(){return j.display.input.reset(!0)},20),ie(this),Wl(),Ji(this),this.curOp.forceUpdate=!0,Kn(this,V),I.autofocus&&!h||this.hasFocus()?setTimeout(function(){j.hasFocus()&&!j.state.focused&&Pi(j)},20):qi(this);for(var Je in Al)Al.hasOwnProperty(Je)&&Al[Je](this,I[Je],ks);rs(this),I.finishInit&&I.finishInit(this);for(var St=0;St<xe.length;++St)xe[St](this);ao(this),t&&I.lineWrapping&&getComputedStyle(ve.lineDiv).textRendering=="optimizelegibility"&&(ve.lineDiv.style.textRendering="auto")}Ve.defaults=Tl,Ve.optionHandlers=Al;function ie(g){var I=g.display;ke(I.scroller,"mousedown",Xa(g,Ol)),f&&a<11?ke(I.scroller,"dblclick",Xa(g,function(jt){if(Nt(g,jt))return;var Gt=Yi(g,jt);if(!Gt||Ll(g,jt)||lt(g.display,jt))return;ze(jt);var Lr=g.findWordAt(Gt);wo(g.doc,Lr.anchor,Lr.head)})):ke(I.scroller,"dblclick",function(jt){return Nt(g,jt)||ze(jt)}),ke(I.scroller,"contextmenu",function(jt){return ql(g,jt)}),ke(I.input.getField(),"contextmenu",function(jt){I.scroller.contains(jt.target)||ql(g,jt)});var j,V={end:0};function q(){I.activeTouch&&(j=setTimeout(function(){return I.activeTouch=null},1e3),V=I.activeTouch,V.end=+new Date)}function ve(jt){if(jt.touches.length!=1)return!1;var Gt=jt.touches[0];return Gt.radiusX<=1&&Gt.radiusY<=1}function Je(jt,Gt){if(Gt.left==null)return!0;var Lr=Gt.left-jt.left,jr=Gt.top-jt.top;return Lr*Lr+jr*jr>20*20}ke(I.scroller,"touchstart",function(jt){if(!Nt(g,jt)&&!ve(jt)&&!Ll(g,jt)){I.input.ensurePolled(),clearTimeout(j);var Gt=+new Date;I.activeTouch={start:Gt,moved:!1,prev:Gt-V.end<=300?V:null},jt.touches.length==1&&(I.activeTouch.left=jt.touches[0].pageX,I.activeTouch.top=jt.touches[0].pageY)}}),ke(I.scroller,"touchmove",function(){I.activeTouch&&(I.activeTouch.moved=!0)}),ke(I.scroller,"touchend",function(jt){var Gt=I.activeTouch;if(Gt&&!lt(I,jt)&&Gt.left!=null&&!Gt.moved&&new Date-Gt.start<300){var Lr=g.coordsChar(I.activeTouch,"page"),jr;!Gt.prev||Je(Gt,Gt.prev)?jr=new ne(Lr,Lr):!Gt.prev.prev||Je(Gt,Gt.prev.prev)?jr=g.findWordAt(Lr):jr=new ne(Ct(Lr.line,0),Ke(g.doc,Ct(Lr.line+1,0))),g.setSelection(jr.anchor,jr.head),g.focus(),ze(jt)}q()}),ke(I.scroller,"touchcancel",q),ke(I.scroller,"scroll",function(){I.scroller.clientHeight&&(Ki(g,I.scroller.scrollTop),yo(g,I.scroller.scrollLeft,!0),Rt(g,"scroll",g))}),ke(I.scroller,"mousewheel",function(jt){return Ts(g,jt)}),ke(I.scroller,"DOMMouseScroll",function(jt){return Ts(g,jt)}),ke(I.wrapper,"scroll",function(){return I.wrapper.scrollTop=I.wrapper.scrollLeft=0}),I.dragFunctions={enter:function(Gt){Nt(g,Gt)||Xe(Gt)},over:function(Gt){Nt(g,Gt)||(_l(g,Gt),Xe(Gt))},start:function(Gt){return Rl(g,Gt)},drop:Xa(g,ic),leave:function(Gt){Nt(g,Gt)||yl(g)}};var St=I.input.getField();ke(St,"keyup",function(jt){return Ps.call(g,jt)}),ke(St,"keydown",Xa(g,Vs)),ke(St,"keypress",Xa(g,Us)),ke(St,"focus",function(jt){return Pi(g,jt)}),ke(St,"blur",function(jt){return qi(g,jt)})}var xe=[];Ve.defineInitHook=function(g){return xe.push(g)};function rt(g,I,j,V){var q=g.doc,ve;j==null&&(j="add"),j=="smart"&&(q.mode.indent?ve=tt(g,I).state:j="prev");var Je=g.options.tabSize,St=$(q,I),jt=Y(St.text,null,Je);St.stateAfter&&(St.stateAfter=null);var Gt=St.text.match(/^\s*/)[0],Lr;if(!V&&!/\S/.test(St.text))Lr=0,j="not";else if(j=="smart"&&(Lr=q.mode.indent(ve,St.text.slice(Gt.length),St.text),Lr==J||Lr>150)){if(!V)return;j="prev"}j=="prev"?I>q.first?Lr=Y($(q,I-1).text,null,Je):Lr=0:j=="add"?Lr=jt+g.options.indentUnit:j=="subtract"?Lr=jt-g.options.indentUnit:typeof j=="number"&&(Lr=jt+j),Lr=Math.max(0,Lr);var jr="",tn=0;if(g.options.indentWithTabs)for(var nn=Math.floor(Lr/Je);nn;--nn)tn+=Je,jr+=" ";if(tn<Lr&&(jr+=Qe(Lr-tn)),jr!=Gt)return Zo(q,jr,Ct(I,0),Ct(I,Gt.length),"+input"),St.stateAfter=null,!0;for(var bn=0;bn<q.sel.ranges.length;bn++){var Fn=q.sel.ranges[bn];if(Fn.head.line==I&&Fn.head.ch<Gt.length){var Jn=Ct(I,Gt.length);ns(q,bn,new ne(Jn,Jn));break}}}var It=null;function Jt(g){It=g}function sr(g,I,j,V,q){var ve=g.doc;g.display.shift=!1,V||(V=ve.sel);var Je=+new Date-200,St=q=="paste"||g.state.pasteIncoming>Je,jt=Kt(I),Gt=null;if(St&&V.ranges.length>1)if(It&&It.text.join(`
|
||
`)==I){if(V.ranges.length%It.text.length==0){Gt=[];for(var Lr=0;Lr<It.text.length;Lr++)Gt.push(ve.splitLines(It.text[Lr]))}}else jt.length==V.ranges.length&&g.options.pasteLinesPerSelection&&(Gt=yt(jt,function(Zn){return[Zn]}));for(var jr=g.curOp.updateInput,tn=V.ranges.length-1;tn>=0;tn--){var nn=V.ranges[tn],bn=nn.from(),Fn=nn.to();nn.empty()&&(j&&j>0?bn=Ct(bn.line,bn.ch-j):g.state.overwrite&&!St?Fn=Ct(Fn.line,Math.min($(ve,Fn.line).text.length,Fn.ch+$e(jt).length)):St&&It&&It.lineWise&&It.text.join(`
|
||
`)==jt.join(`
|
||
`)&&(bn=Fn=Ct(bn.line,0)));var Jn={from:bn,to:Fn,text:Gt?Gt[tn%Gt.length]:jt,origin:q||(St?"paste":g.state.cutIncoming>Je?"cut":"+input")};xs(g.doc,Jn),Hi(g,"inputRead",g,Jn)}I&&!St&&wr(g,I),ra(g),g.curOp.updateInput<2&&(g.curOp.updateInput=jr),g.curOp.typing=!0,g.state.pasteIncoming=g.state.cutIncoming=-1}function cr(g,I){var j=g.clipboardData&&g.clipboardData.getData("Text");if(j)return g.preventDefault(),!I.isReadOnly()&&!I.options.disableInput&&Eo(I,function(){return sr(I,j,0,null,"paste")}),!0}function wr(g,I){if(!g.options.electricChars||!g.options.smartIndent)return;for(var j=g.doc.sel,V=j.ranges.length-1;V>=0;V--){var q=j.ranges[V];if(q.head.ch>100||V&&j.ranges[V-1].head.line==q.head.line)continue;var ve=g.getModeAt(q.head),Je=!1;if(ve.electricChars){for(var St=0;St<ve.electricChars.length;St++)if(I.indexOf(ve.electricChars.charAt(St))>-1){Je=rt(g,q.head.line,"smart");break}}else ve.electricInput&&(ve.electricInput.test($(g.doc,q.head.line).text.slice(0,q.head.ch))&&(Je=rt(g,q.head.line,"smart")));Je&&Hi(g,"electricInput",g,q.head.line)}}function Qr(g){for(var I=[],j=[],V=0;V<g.doc.sel.ranges.length;V++){var q=g.doc.sel.ranges[V].head.line,ve={anchor:Ct(q,0),head:Ct(q+1,0)};j.push(ve),I.push(g.getRange(ve.anchor,ve.head))}return{text:I,ranges:j}}function Gr(g,I,j,V){g.setAttribute("autocorrect",j?"":"off"),g.setAttribute("autocapitalize",V?"":"off"),g.setAttribute("spellcheck",!!I)}function Pr(){var g=D("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),I=D("div",[g],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return t?g.style.width="1000px":g.setAttribute("wrap","off"),u&&(g.style.border="1px solid black"),Gr(g),I}function Fr(g){var I=g.optionHandlers,j=g.helpers={};g.prototype={constructor:g,focus:function(){window.focus(),this.display.input.focus()},setOption:function(q,ve){var Je=this.options,St=Je[q];if(Je[q]==ve&&q!="mode")return;Je[q]=ve,I.hasOwnProperty(q)&&Xa(this,I[q])(this,ve,St),Rt(this,"optionChange",this,q)},getOption:function(q){return this.options[q]},getDoc:function(){return this.doc},addKeyMap:function(q,ve){this.state.keyMaps[ve?"push":"unshift"](Sl(q))},removeKeyMap:function(q){for(var ve=this.state.keyMaps,Je=0;Je<ve.length;++Je)if(ve[Je]==q||ve[Je].name==q)return ve.splice(Je,1),!0},addOverlay:Qa(function(V,q){var ve=V.token?V:g.getMode(this.options,V);if(ve.startState)throw new Error("Overlays may not be stateful.");Fe(this.state.overlays,{mode:ve,modeSpec:V,opaque:q&&q.opaque,priority:q&&q.priority||0},function(Je){return Je.priority}),this.state.modeGen++,Zi(this)}),removeOverlay:Qa(function(V){for(var q=this.state.overlays,ve=0;ve<q.length;++ve){var Je=q[ve].modeSpec;if(Je==V||typeof V=="string"&&Je.name==V){q.splice(ve,1),this.state.modeGen++,Zi(this);return}}}),indentLine:Qa(function(V,q,ve){typeof q!="string"&&typeof q!="number"&&(q==null?q=this.options.smartIndent?"smart":"prev":q=q?"add":"subtract"),Wt(this.doc,V)&&rt(this,V,q,ve)}),indentSelection:Qa(function(V){for(var q=this.doc.sel.ranges,ve=-1,Je=0;Je<q.length;Je++){var St=q[Je];if(St.empty())St.head.line>ve&&(rt(this,St.head.line,V,!0),ve=St.head.line,Je==this.doc.sel.primIndex&&ra(this));else{var jt=St.from(),Gt=St.to(),Lr=Math.max(ve,jt.line);ve=Math.min(this.lastLine(),Gt.line-(Gt.ch?0:1))+1;for(var jr=Lr;jr<ve;++jr)rt(this,jr,V);var tn=this.doc.sel.ranges;jt.ch==0&&q.length==tn.length&&tn[Je].from().ch>0&&ns(this.doc,Je,new ne(jt,tn[Je].to()),he)}}}),getTokenAt:function(q,ve){return yr(this,q,ve)},getLineTokens:function(q,ve){return yr(this,Ct(q),ve,!0)},getTokenTypeAt:function(q){q=Ke(this.doc,q);var ve=We(this,$(this.doc,q.line)),Je=0,St=(ve.length-1)/2,jt=q.ch,Gt;if(jt==0)Gt=ve[2];else for(;;){var Lr=Je+St>>1;if((Lr?ve[Lr*2-1]:0)>=jt)St=Lr;else if(ve[Lr*2+1]<jt)Je=Lr+1;else{Gt=ve[Lr*2+2];break}}var jr=Gt?Gt.indexOf("overlay "):-1;return jr<0?Gt:jr==0?null:Gt.slice(0,jr-1)},getModeAt:function(q){var ve=this.doc.mode;return ve.innerMode?g.innerMode(ve,this.getTokenAt(q).state).mode:ve},getHelper:function(q,ve){return this.getHelpers(q,ve)[0]},getHelpers:function(q,ve){var Je=[];if(!j.hasOwnProperty(ve))return Je;var St=j[ve],jt=this.getModeAt(q);if(typeof jt[ve]=="string")St[jt[ve]]&&Je.push(St[jt[ve]]);else if(jt[ve])for(var Gt=0;Gt<jt[ve].length;Gt++){var Lr=St[jt[ve][Gt]];Lr&&Je.push(Lr)}else jt.helperType&&St[jt.helperType]?Je.push(St[jt.helperType]):St[jt.name]&&Je.push(St[jt.name]);for(var jr=0;jr<St._global.length;jr++){var tn=St._global[jr];tn.pred(jt,this)&&P(Je,tn.val)==-1&&Je.push(tn.val)}return Je},getStateAfter:function(q,ve){var Je=this.doc;return q=rr(Je,q==null?Je.first+Je.size-1:q),tt(this,q+1,ve).state},cursorCoords:function(q,ve){var Je,St=this.doc.sel.primary();return q==null?Je=St.head:typeof q=="object"?Je=Ke(this.doc,q):Je=q?St.from():St.to(),gi(this,Je,ve||"page")},charCoords:function(q,ve){return Sa(this,Ke(this.doc,q),ve||"page")},coordsChar:function(q,ve){return q=va(this,q,ve||"page"),Ci(this,q.left,q.top)},lineAtHeight:function(q,ve){return q=va(this,{top:q,left:0},ve||"page").top,et(this.doc,q+this.display.viewOffset)},heightAtLine:function(q,ve,Je){var St=!1,jt;if(typeof q=="number"){var Gt=this.doc.first+this.doc.size-1;q<this.doc.first?q=this.doc.first:q>Gt&&(q=Gt,St=!0),jt=$(this.doc,q)}else jt=q;return Ei(this,jt,{top:0,left:0},ve||"page",Je||St).top+(St?this.doc.height-Ln(jt):0)},defaultTextHeight:function(){return mi(this.display)},defaultCharWidth:function(){return $n(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(q,ve,Je,St,jt){var Gt=this.display;q=gi(this,Ke(this.doc,q));var Lr=q.bottom,jr=q.left;if(ve.style.position="absolute",ve.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ve),Gt.sizer.appendChild(ve),St=="over")Lr=q.top;else if(St=="above"||St=="near"){var tn=Math.max(Gt.wrapper.clientHeight,this.doc.height),nn=Math.max(Gt.sizer.clientWidth,Gt.lineSpace.clientWidth);(St=="above"||q.bottom+ve.offsetHeight>tn)&&q.top>ve.offsetHeight?Lr=q.top-ve.offsetHeight:q.bottom+ve.offsetHeight<=tn&&(Lr=q.bottom),jr+ve.offsetWidth>nn&&(jr=nn-ve.offsetWidth)}ve.style.top=Lr+"px",ve.style.left=ve.style.right="",jt=="right"?(jr=Gt.sizer.clientWidth-ve.offsetWidth,ve.style.right="0px"):(jt=="left"?jr=0:jt=="middle"&&(jr=(Gt.sizer.clientWidth-ve.offsetWidth)/2),ve.style.left=jr+"px"),Je&&Ka(this,{left:jr,top:Lr,right:jr+ve.offsetWidth,bottom:Lr+ve.offsetHeight})},triggerOnKeyDown:Qa(Vs),triggerOnKeyPress:Qa(Us),triggerOnKeyUp:Ps,triggerOnMouseDown:Qa(Ol),execCommand:function(q){if(Ws.hasOwnProperty(q))return Ws[q].call(null,this)},triggerElectric:Qa(function(V){wr(this,V)}),findPosH:function(q,ve,Je,St){var jt=1;ve<0&&(jt=-1,ve=-ve);for(var Gt=Ke(this.doc,q),Lr=0;Lr<ve&&!(Gt=Xr(this.doc,Gt,jt,Je,St),Gt.hitSide);++Lr);return Gt},moveH:Qa(function(V,q){var ve=this;this.extendSelectionsBy(function(Je){return ve.display.shift||ve.doc.extend||Je.empty()?Xr(ve.doc,Je.head,V,q,ve.options.rtlMoveVisually):V<0?Je.from():Je.to()},pe)}),deleteH:Qa(function(V,q){var ve=this.doc.sel,Je=this.doc;ve.somethingSelected()?Je.replaceSelection("",null,"+delete"):Xs(this,function(St){var jt=Xr(Je,St.head,V,q,!1);return V<0?{from:jt,to:St.head}:{from:St.head,to:jt}})}),findPosV:function(q,ve,Je,St){var jt=1,Gt=St;ve<0&&(jt=-1,ve=-ve);for(var Lr=Ke(this.doc,q),jr=0;jr<ve;++jr){var tn=gi(this,Lr,"div");if(Gt==null?Gt=tn.left:tn.left=Gt,Lr=un(this,tn,jt,Je),Lr.hitSide)break}return Lr},moveV:Qa(function(V,q){var ve=this,Je=this.doc,St=[],jt=!this.display.shift&&!Je.extend&&Je.sel.somethingSelected();if(Je.extendSelectionsBy(function(Lr){if(jt)return V<0?Lr.from():Lr.to();var jr=gi(ve,Lr.head,"div");Lr.goalColumn!=null&&(jr.left=Lr.goalColumn),St.push(jr.left);var tn=un(ve,jr,V,q);return q=="page"&&Lr==Je.sel.primary()&&Ja(ve,Sa(ve,tn,"div").top-jr.top),tn},pe),St.length)for(var Gt=0;Gt<Je.sel.ranges.length;Gt++)Je.sel.ranges[Gt].goalColumn=St[Gt]}),findWordAt:function(q){var ve=this.doc,Je=$(ve,q.line).text,St=q.ch,jt=q.ch;if(Je){var Gt=this.getHelper(q,"wordChars");(q.sticky=="before"||jt==Je.length)&&St?--St:++jt;for(var Lr=Je.charAt(St),jr=At(Lr,Gt)?function(tn){return At(tn,Gt)}:/\s/.test(Lr)?function(tn){return/\s/.test(tn)}:function(tn){return!/\s/.test(tn)&&!At(tn)};St>0&&jr(Je.charAt(St-1));)--St;for(;jt<Je.length&&jr(Je.charAt(jt));)++jt}return new ne(Ct(q.line,St),Ct(q.line,jt))},toggleOverwrite:function(q){if(q!=null&&q==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?z(this.display.cursorDiv,"CodeMirror-overwrite"):b(this.display.cursorDiv,"CodeMirror-overwrite"),Rt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==B()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Qa(function(V,q){Wi(this,V,q)}),getScrollInfo:function(){var q=this.display.scroller;return{left:q.scrollLeft,top:q.scrollTop,height:q.scrollHeight-Er(this)-this.display.barHeight,width:q.scrollWidth-Er(this)-this.display.barWidth,clientHeight:rn(this),clientWidth:Br(this)}},scrollIntoView:Qa(function(V,q){V==null?(V={from:this.doc.sel.primary().head,to:null},q==null&&(q=this.options.cursorScrollMargin)):typeof V=="number"?V={from:Ct(V,0),to:null}:V.from==null&&(V={from:V,to:null}),V.to||(V.to=V.from),V.margin=q||0,V.from.line!=null?go(this,V):si(this,V.from,V.to,V.margin)}),setSize:Qa(function(V,q){var ve=this,Je=function(Gt){return typeof Gt=="number"||/^\d+$/.test(String(Gt))?Gt+"px":Gt};V!=null&&(this.display.wrapper.style.width=Je(V)),q!=null&&(this.display.wrapper.style.height=Je(q)),this.options.lineWrapping&&zi(this);var St=this.display.viewFrom;this.doc.iter(St,this.display.viewTo,function(jt){if(jt.widgets){for(var Gt=0;Gt<jt.widgets.length;Gt++)if(jt.widgets[Gt].noHScroll){Fa(ve,St,"widget");break}}++St}),this.curOp.forceUpdate=!0,Rt(this,"refresh",this)}),operation:function(q){return Eo(this,q)},startOperation:function(){return Ji(this)},endOperation:function(){return ao(this)},refresh:Qa(function(){var V=this.display.cachedTextHeight;Zi(this),this.curOp.forceUpdate=!0,Oi(this),Wi(this,this.doc.scrollLeft,this.doc.scrollTop),fo(this.display),(V==null||Math.abs(V-mi(this.display))>.5||this.options.lineWrapping)&&Fi(this),Rt(this,"refresh",this)}),swapDoc:Qa(function(V){var q=this.doc;return q.cm=null,this.state.selectingText&&this.state.selectingText(),Kn(this,V),Oi(this),this.display.input.reset(),Wi(this,V.scrollLeft,V.scrollTop),this.curOp.forceScroll=!0,Hi(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}},Ze(g),g.registerHelper=function(V,q,ve){j.hasOwnProperty(V)||(j[V]=g[V]={_global:[]}),j[V][q]=ve},g.registerGlobalHelper=function(V,q,ve,Je){g.registerHelper(V,q,Je),j[V]._global.push({pred:ve,val:Je})}}function Xr(g,I,j,V,q){var ve=I,Je=j,St=$(g,I.line),jt=q&&g.direction=="rtl"?-j:j;function Gt(){var ni=I.line+jt;return ni<g.first||ni>=g.first+g.size?!1:(I=new Ct(ni,I.ch,I.sticky),St=$(g,ni))}function Lr(ni){var ai;if(V=="codepoint"){var De=St.text.charCodeAt(I.ch+(V>0?0:-1));isNaN(De)?ai=null:ai=new Ct(I.line,Math.max(0,Math.min(St.text.length,I.ch+j*(De>=55296&&De<56320?2:1))),-j)}else q?ai=xl(g.cm,St,I,j):ai=nl(St,I,j);if(ai==null)if(!ni&&Gt())I=hl(q,g.cm,St,I.line,jt);else return!1;else I=ai;return!0}if(V=="char"||V=="codepoint")Lr();else if(V=="column")Lr(!0);else if(V=="word"||V=="group")for(var jr=null,tn=V=="group",nn=g.cm&&g.cm.getHelper(I,"wordChars"),bn=!0;!(j<0&&!Lr(!bn));bn=!1){var Fn=St.text.charAt(I.ch)||`
|
||
`,Jn=At(Fn,nn)?"w":tn&&Fn==`
|
||
`?"n":!tn||/\s/.test(Fn)?null:"p";if(tn&&!bn&&!Jn&&(Jn="s"),jr&&jr!=Jn){j<0&&(j=1,Lr(),I.sticky="after");break}if(Jn&&(jr=Jn),j>0&&!Lr(!bn))break}var Zn=_s(g,I,ve,Je,!0);return kt(ve,Zn)&&(Zn.hitSide=!0),Zn}function un(g,I,j,V){var q=g.doc,ve=I.left,Je;if(V=="page"){var St=Math.min(g.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),jt=Math.max(St-.5*mi(g.display),3);Je=(j>0?I.bottom:I.top)+j*jt}else V=="line"&&(Je=j>0?I.bottom+3:I.top-3);for(var Gt;!(Gt=Ci(g,ve,Je),!Gt.outside);){if(j<0?Je<=0:Je>=q.height){Gt.hitSide=!0;break}Je+=j*5}return Gt}var hn=function(I){this.cm=I,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Q,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};hn.prototype.init=function(g){var I=this,j=this,V=j.cm,q=j.div=g.lineDiv;Gr(q,V.options.spellcheck,V.options.autocorrect,V.options.autocapitalize);function ve(St){for(var jt=St.target;jt;jt=jt.parentNode){if(jt==q)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(jt.className))break}return!1}ke(q,"paste",function(St){if(!ve(St)||Nt(V,St)||cr(St,V))return;a<=11&&setTimeout(Xa(V,function(){return I.updateFromDOM()}),20)}),ke(q,"compositionstart",function(St){I.composing={data:St.data,done:!1}}),ke(q,"compositionupdate",function(St){I.composing||(I.composing={data:St.data,done:!1})}),ke(q,"compositionend",function(St){I.composing&&(St.data!=I.composing.data&&I.readFromDOMSoon(),I.composing.done=!0)}),ke(q,"touchstart",function(){return j.forceCompositionEnd()}),ke(q,"input",function(){I.composing||I.readFromDOMSoon()});function Je(St){if(!ve(St)||Nt(V,St))return;if(V.somethingSelected())Jt({lineWise:!1,text:V.getSelections()}),St.type=="cut"&&V.replaceSelection("",null,"cut");else if(V.options.lineWiseCopyCut){var jt=Qr(V);Jt({lineWise:!0,text:jt.text}),St.type=="cut"&&V.operation(function(){V.setSelections(jt.ranges,0,he),V.replaceSelection("",null,"cut")})}else return;if(St.clipboardData){St.clipboardData.clearData();var Gt=It.text.join(`
|
||
`);if(St.clipboardData.setData("Text",Gt),St.clipboardData.getData("Text")==Gt){St.preventDefault();return}}var Lr=Pr(),jr=Lr.firstChild;V.display.lineSpace.insertBefore(Lr,V.display.lineSpace.firstChild),jr.value=It.text.join(`
|
||
`);var tn=document.activeElement;K(jr),setTimeout(function(){V.display.lineSpace.removeChild(Lr),tn.focus(),tn==q&&j.showPrimarySelection()},50)}ke(q,"copy",Je),ke(q,"cut",Je)},hn.prototype.screenReaderLabelChanged=function(g){g?this.div.setAttribute("aria-label",g):this.div.removeAttribute("aria-label")},hn.prototype.prepareSelection=function(){var g=to(this.cm,!1);return g.focus=document.activeElement==this.div,g},hn.prototype.showSelection=function(g,I){if(!g||!this.cm.display.view.length)return;(g.focus||I)&&this.showPrimarySelection(),this.showMultipleSelections(g)},hn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},hn.prototype.showPrimarySelection=function(){var g=this.getSelection(),I=this.cm,j=I.doc.sel.primary(),V=j.from(),q=j.to();if(I.display.viewTo==I.display.viewFrom||V.line>=I.display.viewTo||q.line<I.display.viewFrom){g.removeAllRanges();return}var ve=yi(I,g.anchorNode,g.anchorOffset),Je=yi(I,g.focusNode,g.focusOffset);if(ve&&!ve.bad&&Je&&!Je.bad&&Ht(ur(ve,Je),V)==0&&Ht(Et(ve,Je),q)==0)return;var St=I.display.view,jt=V.line>=I.display.viewFrom&&qn(I,V)||{node:St[0].measure.map[2],offset:0},Gt=q.line<I.display.viewTo&&qn(I,q);if(!Gt){var Lr=St[St.length-1].measure,jr=Lr.maps?Lr.maps[Lr.maps.length-1]:Lr.map;Gt={node:jr[jr.length-1],offset:jr[jr.length-2]-jr[jr.length-3]}}if(!jt||!Gt){g.removeAllRanges();return}var tn=g.rangeCount&&g.getRangeAt(0),nn;try{nn=R(jt.node,jt.offset,Gt.offset,Gt.node)}catch(bn){}nn&&(!v&&I.state.focused?(g.collapse(jt.node,jt.offset),nn.collapsed||(g.removeAllRanges(),g.addRange(nn))):(g.removeAllRanges(),g.addRange(nn)),tn&&g.anchorNode==null?g.addRange(tn):v&&this.startGracePeriod()),this.rememberSelection()},hn.prototype.startGracePeriod=function(){var g=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){g.gracePeriod=!1,g.selectionChanged()&&g.cm.operation(function(){return g.cm.curOp.selectionChanged=!0})},20)},hn.prototype.showMultipleSelections=function(g){N(this.cm.display.cursorDiv,g.cursors),N(this.cm.display.selectionDiv,g.selection)},hn.prototype.rememberSelection=function(){var g=this.getSelection();this.lastAnchorNode=g.anchorNode,this.lastAnchorOffset=g.anchorOffset,this.lastFocusNode=g.focusNode,this.lastFocusOffset=g.focusOffset},hn.prototype.selectionInEditor=function(){var g=this.getSelection();if(!g.rangeCount)return!1;var I=g.getRangeAt(0).commonAncestorContainer;return F(this.div,I)},hn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},hn.prototype.blur=function(){this.div.blur()},hn.prototype.getField=function(){return this.div},hn.prototype.supportsTouch=function(){return!0},hn.prototype.receivedFocus=function(){var g=this;this.selectionInEditor()?this.pollSelection():Eo(this.cm,function(){return g.cm.curOp.selectionChanged=!0});function I(){g.cm.state.focused&&(g.pollSelection(),g.polling.set(g.cm.options.pollInterval,I))}this.polling.set(this.cm.options.pollInterval,I)},hn.prototype.selectionChanged=function(){var g=this.getSelection();return g.anchorNode!=this.lastAnchorNode||g.anchorOffset!=this.lastAnchorOffset||g.focusNode!=this.lastFocusNode||g.focusOffset!=this.lastFocusOffset},hn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var g=this.getSelection(),I=this.cm;if(i&&s&&this.cm.display.gutterSpecs.length&&li(g.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var j=yi(I,g.anchorNode,g.anchorOffset),V=yi(I,g.focusNode,g.focusOffset);j&&V&&Eo(I,function(){Oo(I.doc,fe(j,V),he),(j.bad||V.bad)&&(I.curOp.selectionChanged=!0)})},hn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var g=this.cm,I=g.display,j=g.doc.sel.primary(),V=j.from(),q=j.to();if(V.ch==0&&V.line>g.firstLine()&&(V=Ct(V.line-1,$(g.doc,V.line-1).length)),q.ch==$(g.doc,q.line).text.length&&q.line<g.lastLine()&&(q=Ct(q.line+1,0)),V.line<I.viewFrom||q.line>I.viewTo-1)return!1;var ve,Je,St;V.line==I.viewFrom||(ve=Xi(g,V.line))==0?(Je=Me(I.view[0].line),St=I.view[0].node):(Je=Me(I.view[ve].line),St=I.view[ve-1].node.nextSibling);var jt=Xi(g,q.line),Gt,Lr;if(jt==I.view.length-1?(Gt=I.viewTo-1,Lr=I.lineDiv.lastChild):(Gt=Me(I.view[jt+1].line)-1,Lr=I.view[jt+1].node.previousSibling),!St)return!1;for(var jr=g.doc.splitLines($i(g,St,Lr,Je,Gt)),tn=se(g.doc,Ct(Je,0),Ct(Gt,$(g.doc,Gt).text.length));jr.length>1&&tn.length>1;)if($e(jr)==$e(tn))jr.pop(),tn.pop(),Gt--;else if(jr[0]==tn[0])jr.shift(),tn.shift(),Je++;else break;for(var nn=0,bn=0,Fn=jr[0],Jn=tn[0],Zn=Math.min(Fn.length,Jn.length);nn<Zn&&Fn.charCodeAt(nn)==Jn.charCodeAt(nn);)++nn;for(var ni=$e(jr),ai=$e(tn),De=Math.min(ni.length-(jr.length==1?nn:0),ai.length-(tn.length==1?nn:0));bn<De&&ni.charCodeAt(ni.length-bn-1)==ai.charCodeAt(ai.length-bn-1);)++bn;if(jr.length==1&&tn.length==1&&Je==V.line)for(;nn&&nn>V.ch&&ni.charCodeAt(ni.length-bn-1)==ai.charCodeAt(ai.length-bn-1);)nn--,bn++;jr[jr.length-1]=ni.slice(0,ni.length-bn).replace(/^\u200b+/,""),jr[0]=jr[0].slice(nn).replace(/\u200b+$/,"");var X=Ct(Je,nn),ye=Ct(Gt,tn.length?$e(tn).length-bn:0);if(jr.length>1||jr[0]||Ht(X,ye))return Zo(g.doc,jr,X,ye,"+input"),!0},hn.prototype.ensurePolled=function(){this.forceCompositionEnd()},hn.prototype.reset=function(){this.forceCompositionEnd()},hn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},hn.prototype.readFromDOMSoon=function(){var g=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(g.readDOMTimeout=null,g.composing)if(g.composing.done)g.composing=null;else return;g.updateFromDOM()},80)},hn.prototype.updateFromDOM=function(){var g=this;(this.cm.isReadOnly()||!this.pollContent())&&Eo(this.cm,function(){return Zi(g.cm)})},hn.prototype.setUneditable=function(g){g.contentEditable="false"},hn.prototype.onKeyPress=function(g){if(g.charCode==0||this.composing)return;g.preventDefault(),this.cm.isReadOnly()||Xa(this.cm,sr)(this.cm,String.fromCharCode(g.charCode==null?g.keyCode:g.charCode),0)},hn.prototype.readOnlyChanged=function(g){this.div.contentEditable=String(g!="nocursor")},hn.prototype.onContextMenu=function(){},hn.prototype.resetPosition=function(){},hn.prototype.needsContentAttribute=!0;function qn(g,I){var j=Sn(g,I.line);if(!j||j.hidden)return null;var V=$(g.doc,I.line),q=yn(j,V,I.line),ve=Tt(V,g.doc.direction),Je="left";if(ve){var St=at(ve,I.ch);Je=St%2?"right":"left"}var jt=fn(q.map,I.ch,Je);return jt.offset=jt.collapse=="right"?jt.end:jt.start,jt}function li(g){for(var I=g;I;I=I.parentNode)if(/CodeMirror-gutter-wrapper/.test(I.className))return!0;return!1}function ri(g,I){return I&&(g.bad=!0),g}function $i(g,I,j,V,q){var ve="",Je=!1,St=g.doc.lineSeparator(),jt=!1;function Gt(nn){return function(bn){return bn.id==nn}}function Lr(){Je&&(ve+=St,jt&&(ve+=St),Je=jt=!1)}function jr(nn){nn&&(Lr(),ve+=nn)}function tn(nn){if(nn.nodeType==1){var bn=nn.getAttribute("cm-text");if(bn){jr(bn);return}var Fn=nn.getAttribute("cm-marker"),Jn;if(Fn){var Zn=g.findMarks(Ct(V,0),Ct(q+1,0),Gt(+Fn));Zn.length&&(Jn=Zn[0].find(0))&&jr(se(g.doc,Jn.from,Jn.to).join(St));return}if(nn.getAttribute("contenteditable")=="false")return;var ni=/^(pre|div|p|li|table|br)$/i.test(nn.nodeName);if(!/^br$/i.test(nn.nodeName)&&nn.textContent.length==0)return;ni&&Lr();for(var ai=0;ai<nn.childNodes.length;ai++)tn(nn.childNodes[ai]);/^(pre|p)$/i.test(nn.nodeName)&&(jt=!0),ni&&(Je=!0)}else nn.nodeType==3&&jr(nn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(tn(I),I==j);)I=I.nextSibling,jt=!1;return ve}function yi(g,I,j){var V;if(I==g.display.lineDiv){if(V=g.display.lineDiv.childNodes[j],!V)return ri(g.clipPos(Ct(g.display.viewTo-1)),!0);I=null,j=0}else for(V=I;;V=V.parentNode){if(!V||V==g.display.lineDiv)return null;if(V.parentNode&&V.parentNode==g.display.lineDiv)break}for(var q=0;q<g.display.view.length;q++){var ve=g.display.view[q];if(ve.node==V)return Va(ve,I,j)}}function Va(g,I,j){var V=g.text.firstChild,q=!1;if(!I||!F(V,I))return ri(Ct(Me(g.line),0),!0);if(I==V&&(q=!0,I=V.childNodes[j],j=0,!I)){var ve=g.rest?$e(g.rest):g.line;return ri(Ct(Me(ve),ve.text.length),q)}var Je=I.nodeType==3?I:null,St=I;for(!Je&&I.childNodes.length==1&&I.firstChild.nodeType==3&&(Je=I.firstChild,j&&(j=Je.nodeValue.length));St.parentNode!=V;)St=St.parentNode;var jt=g.measure,Gt=jt.maps;function Lr(Jn,Zn,ni){for(var ai=-1;ai<(Gt?Gt.length:0);ai++)for(var De=ai<0?jt.map:Gt[ai],X=0;X<De.length;X+=3){var ye=De[X+2];if(ye==Jn||ye==Zn){var Be=Me(ai<0?g.line:g.rest[ai]),pt=De[X]+ni;return(ni<0||ye!=Jn)&&(pt=De[X+(ni?1:0)]),Ct(Be,pt)}}}var jr=Lr(Je,St,j);if(jr)return ri(jr,q);for(var tn=St.nextSibling,nn=Je?Je.nodeValue.length-j:0;tn;tn=tn.nextSibling){if(jr=Lr(tn,tn.firstChild,0),jr)return ri(Ct(jr.line,jr.ch-nn),q);nn+=tn.textContent.length}for(var bn=St.previousSibling,Fn=j;bn;bn=bn.previousSibling){if(jr=Lr(bn,bn.firstChild,-1),jr)return ri(Ct(jr.line,jr.ch+Fn),q);Fn+=bn.textContent.length}}var bi=function(I){this.cm=I,this.prevInput="",this.pollingFast=!1,this.polling=new Q,this.hasSelection=!1,this.composing=null};bi.prototype.init=function(g){var I=this,j=this,V=this.cm;this.createField(g);var q=this.textarea;g.wrapper.insertBefore(this.wrapper,g.wrapper.firstChild),u&&(q.style.width="0px"),ke(q,"input",function(){f&&a>=9&&I.hasSelection&&(I.hasSelection=null),j.poll()}),ke(q,"paste",function(Je){if(Nt(V,Je)||cr(Je,V))return;V.state.pasteIncoming=+new Date,j.fastPoll()});function ve(Je){if(Nt(V,Je))return;if(V.somethingSelected())Jt({lineWise:!1,text:V.getSelections()});else if(V.options.lineWiseCopyCut){var St=Qr(V);Jt({lineWise:!0,text:St.text}),Je.type=="cut"?V.setSelections(St.ranges,null,he):(j.prevInput="",q.value=St.text.join(`
|
||
`),K(q))}else return;Je.type=="cut"&&(V.state.cutIncoming=+new Date)}ke(q,"cut",ve),ke(q,"copy",ve),ke(g.scroller,"paste",function(Je){if(lt(g,Je)||Nt(V,Je))return;if(!q.dispatchEvent){V.state.pasteIncoming=+new Date,j.focus();return}var St=new Event("paste");St.clipboardData=Je.clipboardData,q.dispatchEvent(St)}),ke(g.lineSpace,"selectstart",function(Je){lt(g,Je)||ze(Je)}),ke(q,"compositionstart",function(){var Je=V.getCursor("from");j.composing&&j.composing.range.clear(),j.composing={start:Je,range:V.markText(Je,V.getCursor("to"),{className:"CodeMirror-composing"})}}),ke(q,"compositionend",function(){j.composing&&(j.poll(),j.composing.range.clear(),j.composing=null)})},bi.prototype.createField=function(g){this.wrapper=Pr(),this.textarea=this.wrapper.firstChild},bi.prototype.screenReaderLabelChanged=function(g){g?this.textarea.setAttribute("aria-label",g):this.textarea.removeAttribute("aria-label")},bi.prototype.prepareSelection=function(){var g=this.cm,I=g.display,j=g.doc,V=to(g);if(g.options.moveInputWithCursor){var q=gi(g,j.sel.primary().head,"div"),ve=I.wrapper.getBoundingClientRect(),Je=I.lineDiv.getBoundingClientRect();V.teTop=Math.max(0,Math.min(I.wrapper.clientHeight-10,q.top+Je.top-ve.top)),V.teLeft=Math.max(0,Math.min(I.wrapper.clientWidth-10,q.left+Je.left-ve.left))}return V},bi.prototype.showSelection=function(g){var I=this.cm,j=I.display;N(j.cursorDiv,g.cursors),N(j.selectionDiv,g.selection),g.teTop!=null&&(this.wrapper.style.top=g.teTop+"px",this.wrapper.style.left=g.teLeft+"px")},bi.prototype.reset=function(g){if(this.contextMenuPending||this.composing)return;var I=this.cm;if(I.somethingSelected()){this.prevInput="";var j=I.getSelection();this.textarea.value=j,I.state.focused&&K(this.textarea),f&&a>=9&&(this.hasSelection=j)}else g||(this.prevInput=this.textarea.value="",f&&a>=9&&(this.hasSelection=null))},bi.prototype.getField=function(){return this.textarea},bi.prototype.supportsTouch=function(){return!1},bi.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!h||B()!=this.textarea))try{this.textarea.focus()}catch(g){}},bi.prototype.blur=function(){this.textarea.blur()},bi.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},bi.prototype.receivedFocus=function(){this.slowPoll()},bi.prototype.slowPoll=function(){var g=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){g.poll(),g.cm.state.focused&&g.slowPoll()})},bi.prototype.fastPoll=function(){var g=!1,I=this;I.pollingFast=!0;function j(){var V=I.poll();!V&&!g?(g=!0,I.polling.set(60,j)):(I.pollingFast=!1,I.slowPoll())}I.polling.set(20,j)},bi.prototype.poll=function(){var g=this,I=this.cm,j=this.textarea,V=this.prevInput;if(this.contextMenuPending||!I.state.focused||Mt(j)&&!V&&!this.composing||I.isReadOnly()||I.options.disableInput||I.state.keySeq)return!1;var q=j.value;if(q==V&&!I.somethingSelected())return!1;if(f&&a>=9&&this.hasSelection===q||p&&/[\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&&!V&&(V="\u200B"),ve==8666)return this.reset(),this.cm.execCommand("undo")}for(var Je=0,St=Math.min(V.length,q.length);Je<St&&V.charCodeAt(Je)==q.charCodeAt(Je);)++Je;return Eo(I,function(){sr(I,q.slice(Je),V.length-Je,null,g.composing?"*compose":null),q.length>1e3||q.indexOf(`
|
||
`)>-1?j.value=g.prevInput="":g.prevInput=q,g.composing&&(g.composing.range.clear(),g.composing.range=I.markText(g.composing.start,I.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},bi.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},bi.prototype.onKeyPress=function(){f&&a>=9&&(this.hasSelection=null),this.fastPoll()},bi.prototype.onContextMenu=function(g){var I=this,j=I.cm,V=j.display,q=I.textarea;I.contextMenuPending&&I.contextMenuPending();var ve=Yi(j,g),Je=V.scroller.scrollTop;if(!ve||l)return;var St=j.options.resetSelectionOnContextMenu;St&&j.doc.sel.contains(ve)==-1&&Xa(j,Oo)(j.doc,fe(ve),he);var jt=q.style.cssText,Gt=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: `+(g.clientY-Lr.top-5)+"px; left: "+(g.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 jr;t&&(jr=window.scrollY),V.input.focus(),t&&window.scrollTo(null,jr),V.input.reset(),j.somethingSelected()||(q.value=I.prevInput=" "),I.contextMenuPending=nn,V.selForContextMenu=j.doc.sel,clearTimeout(V.detectingSelectAll);function tn(){if(q.selectionStart!=null){var Fn=j.somethingSelected(),Jn="\u200B"+(Fn?q.value:"");q.value="\u21DA",q.value=Jn,I.prevInput=Fn?"":"\u200B",q.selectionStart=1,q.selectionEnd=Jn.length,V.selForContextMenu=j.doc.sel}}function nn(){if(I.contextMenuPending!=nn)return;if(I.contextMenuPending=!1,I.wrapper.style.cssText=Gt,q.style.cssText=jt,f&&a<9&&V.scrollbars.setScrollTop(V.scroller.scrollTop=Je),q.selectionStart!=null){(!f||f&&a<9)&&tn();var Fn=0,Jn=function Zn(){V.selForContextMenu==j.doc.sel&&q.selectionStart==0&&q.selectionEnd>0&&I.prevInput=="\u200B"?Xa(j,Ms)(j):Fn++<10?V.detectingSelectAll=setTimeout(Zn,500):(V.selForContextMenu=null,V.input.reset())};V.detectingSelectAll=setTimeout(Jn,200)}}if(f&&a>=9&&tn(),O){Xe(g);var bn=function Fn(){bt(window,"mouseup",Fn),setTimeout(nn,20)};ke(window,"mouseup",bn)}else setTimeout(nn,50)},bi.prototype.readOnlyChanged=function(g){g||this.reset(),this.textarea.disabled=g=="nocursor",this.textarea.readOnly=!!g},bi.prototype.setUneditable=function(){},bi.prototype.needsContentAttribute=!1;function uo(g,I){if(I=I?H(I):{},I.value=g.value,!I.tabindex&&g.tabIndex&&(I.tabindex=g.tabIndex),!I.placeholder&&g.placeholder&&(I.placeholder=g.placeholder),I.autofocus==null){var j=B();I.autofocus=j==g||g.getAttribute("autofocus")!=null&&j==document.body}function V(){g.value=St.getValue()}var q;if(g.form&&(ke(g.form,"submit",V),!I.leaveSubmitMethodAlone)){var ve=g.form;q=ve.submit;try{var Je=ve.submit=function(){V(),ve.submit=q,ve.submit(),ve.submit=Je}}catch(jt){}}I.finishInit=function(jt){jt.save=V,jt.getTextArea=function(){return g},jt.toTextArea=function(){jt.toTextArea=isNaN,V(),g.parentNode.removeChild(jt.getWrapperElement()),g.style.display="",g.form&&(bt(g.form,"submit",V),!I.leaveSubmitMethodAlone&&typeof g.form.submit=="function"&&(g.form.submit=q))}},g.style.display="none";var St=Ve(function(jt){return g.parentNode.insertBefore(jt,g.nextSibling)},I);return St}function zo(g){g.off=bt,g.on=ke,g.wheelEventPixels=Ks,g.Doc=qo,g.splitLines=Kt,g.countColumn=Y,g.findColumn=we,g.isWordChar=qe,g.Pass=J,g.signal=Rt,g.Line=ti,g.changeEnd=Oe,g.scrollbarModel=io,g.Pos=Ct,g.cmpPos=Ht,g.modes=de,g.mimeModes=Se,g.resolveMode=Te,g.getMode=Ee,g.modeExtensions=He,g.extendMode=st,g.copyState=vt,g.startState=oe,g.innerMode=ee,g.commands=Ws,g.keyMap=Cs,g.keyName=Vl,g.isModifierKey=wl,g.lookupKey=Fs,g.normalizeKeyMap=rl,g.StringStream=k,g.SharedTextMarker=qs,g.TextMarker=Ns,g.LineWidget=sl,g.e_preventDefault=ze,g.e_stopPropagation=re,g.e_stop=Xe,g.addClass=z,g.contains=F,g.rmClass=b,g.keyNames=Bs}cc(Ve),Fr(Ve);var so="iter insert remove copy getEditor constructor".split(" ");for(var ko in qo.prototype)qo.prototype.hasOwnProperty(ko)&&P(so,ko)<0&&(Ve.prototype[ko]=function(g){return function(){return g.apply(this.doc,arguments)}}(qo.prototype[ko]));return Ze(qo),Ve.inputStyles={textarea:bi,contenteditable:hn},Ve.defineMode=function(g){!Ve.defaults.mode&&g!="null"&&(Ve.defaults.mode=g),Ce.apply(this,arguments)},Ve.defineMIME=Ie,Ve.defineMode("null",function(){return{token:function(I){return I.skipToEnd()}}}),Ve.defineMIME("text/plain","null"),Ve.defineExtension=function(g,I){Ve.prototype[g]=I},Ve.defineDocExtension=function(g,I){qo.prototype[g]=I},Ve.fromTextArea=uo,zo(Ve),Ve.version="5.58.1",Ve})},M1CE:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("v8Av"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},M7w3:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("ERUI"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},M8PS:function(Z,_,e){},M8mw:function(Z,_,e){},MAvE:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};_.default=d},MHV4:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("Q6Bq"),m=e("oEo5"),y=e("zYjg"),w=e("wnZI"),f=w.setLabel,a=e("P0S0"),t=e("GxEp"),o=e("342z"),s=e("TmiR"),l=e("cARS"),n=l.throttle,c=e("PyNg"),r=c.createClipPath,u=e("a8NE"),i=["itemStyle","barBorderWidth"],h=[0,0];m.extend(a.prototype,t);function p(Y,Q){var P=Y.getArea&&Y.getArea();if(Y.type==="cartesian2d"){var G=Y.getBaseAxis();if(G.type!=="category"||!G.onBand){var J=Q.getLayout("bandWidth");G.isHorizontal()?(P.x-=J,P.width+=J*2):(P.y-=J,P.height+=J*2)}}return P}var A=v.extendChartView({type:"bar",render:function(Y,Q,P){this._updateDrawMode(Y);var G=Y.get("coordinateSystem");return(G==="cartesian2d"||G==="polar")&&(this._isLargeDraw?this._renderLarge(Y,Q,P):this._renderNormal(Y,Q,P)),this.group},incrementalPrepareRender:function(Y,Q,P){this._clear(),this._updateDrawMode(Y)},incrementalRender:function(Y,Q,P,G){this._incrementalRenderLarge(Y,Q)},_updateDrawMode:function(Y){var Q=Y.pipelineContext.large;(this._isLargeDraw==null||Q^this._isLargeDraw)&&(this._isLargeDraw=Q,this._clear())},_renderNormal:function(Y,Q,P){var G=this.group,J=Y.getData(),he=this._data,te=Y.coordinateSystem,pe=te.getBaseAxis(),we;te.type==="cartesian2d"?we=pe.isHorizontal():te.type==="polar"&&(we=pe.dim==="angle");var be=Y.isAnimationEnabled()?Y:null,Qe=Y.get("clip",!0),$e=p(te,J);G.removeClipPath();var yt=Y.get("roundCap",!0),Fe=Y.get("showBackground",!0),Pe=Y.getModel("backgroundStyle"),gt=Pe.get("barBorderRadius")||0,it=[],qe=this._backgroundEls||[],At=function(Ye){var mt=x[te.type](J,Ye),Ue=H(te,we,mt);return Ue.useStyle(Pe.getBarItemStyle()),te.type==="cartesian2d"&&Ue.setShape("r",gt),it[Ye]=Ue,Ue};J.diff(he).add(function(Ye){var mt=J.getItemModel(Ye),Ue=x[te.type](J,Ye,mt);if(Fe&&At(Ye),!J.hasValue(Ye))return;if(Qe){var Re=E[te.type]($e,Ue);if(Re){G.remove(Le);return}}var Le=O[te.type](Ye,Ue,we,be,!1,yt);J.setItemGraphicEl(Ye,Le),G.add(Le),D(Le,J,Ye,mt,Ue,Y,we,te.type==="polar")}).update(function(Ye,mt){var Ue=J.getItemModel(Ye),Re=x[te.type](J,Ye,Ue);if(Fe){var Le;qe.length===0?Le=At(mt):(Le=qe[mt],Le.useStyle(Pe.getBarItemStyle()),te.type==="cartesian2d"&&Le.setShape("r",gt),it[Ye]=Le);var at=x[te.type](J,Ye),Ot=W(we,at,te);y.updateProps(Le,{shape:Ot},be,Ye)}var Tt=he.getItemGraphicEl(mt);if(!J.hasValue(Ye)){G.remove(Tt);return}if(Qe){var Ft=E[te.type]($e,Re);if(Ft){G.remove(Tt);return}}Tt?y.updateProps(Tt,{shape:Re},be,Ye):Tt=O[te.type](Ye,Re,we,be,!0,yt),J.setItemGraphicEl(Ye,Tt),G.add(Tt),D(Tt,J,Ye,Ue,Re,Y,we,te.type==="polar")}).remove(function(Ye){var mt=he.getItemGraphicEl(Ye);te.type==="cartesian2d"?mt&&T(Ye,be,mt):mt&&b(Ye,be,mt)}).execute();var dt=this._backgroundGroup||(this._backgroundGroup=new s);dt.removeAll();for(var wt=0;wt<it.length;++wt)dt.add(it[wt]);G.add(dt),this._backgroundEls=it,this._data=J},_renderLarge:function(Y,Q,P){this._clear(),F(Y,this.group);var G=Y.get("clip",!0)?r(Y.coordinateSystem,!1,Y):null;G?this.group.setClipPath(G):this.group.removeClipPath()},_incrementalRenderLarge:function(Y,Q){this._removeBackground(),F(Q,this.group,!0)},dispose:m.noop,remove:function(Y){this._clear(Y)},_clear:function(Y){var Q=this.group,P=this._data;Y&&Y.get("animation")&&P&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],P.eachItemGraphicEl(function(G){G.type==="sector"?b(G.dataIndex,Y,G):T(G.dataIndex,Y,G)})):Q.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),C=Math.max,S=Math.min,E={cartesian2d:function(Y,Q){var P=Q.width<0?-1:1,G=Q.height<0?-1:1;P<0&&(Q.x+=Q.width,Q.width=-Q.width),G<0&&(Q.y+=Q.height,Q.height=-Q.height);var J=C(Q.x,Y.x),he=S(Q.x+Q.width,Y.x+Y.width),te=C(Q.y,Y.y),pe=S(Q.y+Q.height,Y.y+Y.height);Q.x=J,Q.y=te,Q.width=he-J,Q.height=pe-te;var we=Q.width<0||Q.height<0;return P<0&&(Q.x+=Q.width,Q.width=-Q.width),G<0&&(Q.y+=Q.height,Q.height=-Q.height),we},polar:function(Y,Q){var P=Q.r0<=Q.r?1:-1;if(P<0){var G=Q.r;Q.r=Q.r0,Q.r0=G}var G=S(Q.r,Y.r),J=C(Q.r0,Y.r0);Q.r=G,Q.r0=J;var he=G-J<0;if(P<0){var G=Q.r;Q.r=Q.r0,Q.r0=G}return he}},O={cartesian2d:function(Y,Q,P,G,J){var he=new y.Rect({shape:m.extend({},Q),z2:1});if(he.name="item",G){var te=he.shape,pe=P?"height":"width",we={};te[pe]=0,we[pe]=Q[pe],y[J?"updateProps":"initProps"](he,{shape:we},G,Y)}return he},polar:function(Y,Q,P,G,J,he){var te=Q.startAngle<Q.endAngle,pe=!P&&he?u:y.Sector,we=new pe({shape:m.defaults({clockwise:te},Q),z2:1});if(we.name="item",G){var be=we.shape,Qe=P?"r":"endAngle",$e={};be[Qe]=P?0:Q.startAngle,$e[Qe]=Q[Qe],y[J?"updateProps":"initProps"](we,{shape:$e},G,Y)}return we}};function T(Y,Q,P){P.style.text=null,y.updateProps(P,{shape:{width:0}},Q,Y,function(){P.parent&&P.parent.remove(P)})}function b(Y,Q,P){P.style.text=null,y.updateProps(P,{shape:{r:P.shape.r0}},Q,Y,function(){P.parent&&P.parent.remove(P)})}var x={cartesian2d:function(Y,Q,P){var G=Y.getItemLayout(Q),J=P?M(P,G):0,he=G.width>0?1:-1,te=G.height>0?1:-1;return{x:G.x+he*J/2,y:G.y+te*J/2,width:G.width-he*J,height:G.height-te*J}},polar:function(Y,Q,P){var G=Y.getItemLayout(Q);return{cx:G.cx,cy:G.cy,r0:G.r0,r:G.r,startAngle:G.startAngle,endAngle:G.endAngle}}};function N(Y){return Y.startAngle!=null&&Y.endAngle!=null&&Y.startAngle===Y.endAngle}function D(Y,Q,P,G,J,he,te,pe){var we=Q.getItemVisual(P,"color"),be=Q.getItemVisual(P,"opacity"),Qe=Q.getVisual("borderColor"),$e=G.getModel("itemStyle"),yt=G.getModel("emphasis.itemStyle").getBarItemStyle();pe||Y.setShape("r",$e.get("barBorderRadius")||0),Y.useStyle(m.defaults({stroke:N(J)?"none":Qe,fill:N(J)?"none":we,opacity:be},$e.getBarItemStyle()));var Fe=G.getShallow("cursor");Fe&&Y.attr("cursor",Fe);var Pe=te?J.height>0?"bottom":"top":J.width>0?"left":"right";pe||f(Y.style,yt,G,we,he,P,Pe),N(J)&&(yt.fill=yt.stroke="none"),y.setHoverStyle(Y,yt)}function M(Y,Q){var P=Y.get(i)||0,G=isNaN(Q.width)?Number.MAX_VALUE:Math.abs(Q.width),J=isNaN(Q.height)?Number.MAX_VALUE:Math.abs(Q.height);return Math.min(P,G,J)}var R=o.extend({type:"largeBar",shape:{points:[]},buildPath:function(Y,Q){for(var P=Q.points,G=this.__startPoint,J=this.__baseDimIdx,he=0;he<P.length;he+=2)G[J]=P[he+J],Y.moveTo(G[0],G[1]),Y.lineTo(P[he],P[he+1])}});function F(Y,Q,P){var G=Y.getData(),J=[],he=G.getLayout("valueAxisHorizontal")?1:0;J[1-he]=G.getLayout("valueAxisStart");var te=G.getLayout("largeDataIndices"),pe=G.getLayout("barWidth"),we=Y.getModel("backgroundStyle"),be=Y.get("showBackground",!0);if(be){var Qe=G.getLayout("largeBackgroundPoints"),$e=[];$e[1-he]=G.getLayout("backgroundStart");var yt=new R({shape:{points:Qe},incremental:!!P,__startPoint:$e,__baseDimIdx:he,__largeDataIndices:te,__barWidth:pe,silent:!0,z2:0});K(yt,we,G),Q.add(yt)}var Fe=new R({shape:{points:G.getLayout("largePoints")},incremental:!!P,__startPoint:J,__baseDimIdx:he,__largeDataIndices:te,__barWidth:pe});Q.add(Fe),U(Fe,Y,G),Fe.seriesIndex=Y.seriesIndex,Y.get("silent")||(Fe.on("mousedown",B),Fe.on("mousemove",B))}var B=n(function(Y){var Q=this,P=z(Q,Y.offsetX,Y.offsetY);Q.dataIndex=P>=0?P:null},30,!1);function z(Y,Q,P){var G=Y.__baseDimIdx,J=1-G,he=Y.shape.points,te=Y.__largeDataIndices,pe=Math.abs(Y.__barWidth/2),we=Y.__startPoint[J];h[0]=Q,h[1]=P;for(var be=h[G],Qe=h[1-G],$e=be-pe,yt=be+pe,Fe=0,Pe=he.length/2;Fe<Pe;Fe++){var gt=Fe*2,it=he[gt+G],qe=he[gt+J];if(it>=$e&&it<=yt&&(we<=qe?Qe>=we&&Qe<=qe:Qe>=qe&&Qe<=we))return te[Fe]}return-1}function U(Y,Q,P){var G=P.getVisual("borderColor")||P.getVisual("color"),J=Q.getModel("itemStyle").getItemStyle(["color","borderColor"]);Y.useStyle(J),Y.style.fill=null,Y.style.stroke=G,Y.style.lineWidth=P.getLayout("barWidth")}function K(Y,Q,P){var G=Q.get("borderColor")||Q.get("color"),J=Q.getItemStyle(["color","borderColor"]);Y.useStyle(J),Y.style.fill=null,Y.style.stroke=G,Y.style.lineWidth=P.getLayout("barWidth")}function W(Y,Q,P){var G,J=P.type==="polar";return J?G=P.getArea():G=P.grid.getRect(),J?{cx:G.cx,cy:G.cy,r0:Y?G.r0:Q.r0,r:Y?G.r:Q.r,startAngle:Y?Q.startAngle:0,endAngle:Y?Q.endAngle:Math.PI*2}:{x:Y?Q.x:G.x,y:Y?G.y:Q.y,width:Y?Q.width:G.width,height:Y?G.height:Q.height}}function H(Y,Q,P){var G=Y.type==="polar"?y.Sector:y.Rect;return new G({shape:W(Q,P,Y),silent:!0,z2:0})}Z.exports=A},MJjE:function(Z,_,e){var d=e("Q6Bq");e("w8Gd"),e("Vlnl"),d.registerPreprocessor(function(L){L.markPoint=L.markPoint||{}})},MLk5:function(Z,_,e){var d=e("oEo5"),L=e("diXd"),v=e("Az1A"),m=e("zfxY");function y(r){this.pointerChecker,this._zr=r,this._opt={};var u=d.bind,i=u(w,this),h=u(f,this),p=u(a,this),A=u(t,this),C=u(o,this);L.call(this),this.setPointerChecker=function(S){this.pointerChecker=S},this.enable=function(S,E){this.disable(),this._opt=d.defaults(d.clone(E)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),S==null&&(S=!0),(S===!0||S==="move"||S==="pan")&&(r.on("mousedown",i),r.on("mousemove",h),r.on("mouseup",p)),(S===!0||S==="scale"||S==="zoom")&&(r.on("mousewheel",A),r.on("pinch",C))},this.disable=function(){r.off("mousedown",i),r.off("mousemove",h),r.off("mouseup",p),r.off("mousewheel",A),r.off("pinch",C)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}d.mixin(y,L);function w(r){if(v.isMiddleOrRightButtonOnMouseUpDown(r)||r.target&&r.target.draggable)return;var u=r.offsetX,i=r.offsetY;this.pointerChecker&&this.pointerChecker(r,u,i)&&(this._x=u,this._y=i,this._dragging=!0)}function f(r){if(!this._dragging||!n("moveOnMouseMove",r,this._opt)||r.gestureEvent==="pinch"||m.isTaken(this._zr,"globalPan"))return;var u=r.offsetX,i=r.offsetY,h=this._x,p=this._y,A=u-h,C=i-p;this._x=u,this._y=i,this._opt.preventDefaultMouseMove&&v.stop(r.event),l(this,"pan","moveOnMouseMove",r,{dx:A,dy:C,oldX:h,oldY:p,newX:u,newY:i})}function a(r){v.isMiddleOrRightButtonOnMouseUpDown(r)||(this._dragging=!1)}function t(r){var u=n("zoomOnMouseWheel",r,this._opt),i=n("moveOnMouseWheel",r,this._opt),h=r.wheelDelta,p=Math.abs(h),A=r.offsetX,C=r.offsetY;if(h===0||!u&&!i)return;if(u){var S=p>3?1.4:p>1?1.2:1.1,E=h>0?S:1/S;s(this,"zoom","zoomOnMouseWheel",r,{scale:E,originX:A,originY:C})}if(i){var O=Math.abs(h),T=(h>0?1:-1)*(O>3?.4:O>1?.15:.05);s(this,"scrollMove","moveOnMouseWheel",r,{scrollDelta:T,originX:A,originY:C})}}function o(r){if(m.isTaken(this._zr,"globalPan"))return;var u=r.pinchScale>1?1.1:1/1.1;s(this,"zoom",null,r,{scale:u,originX:r.pinchX,originY:r.pinchY})}function s(r,u,i,h,p){r.pointerChecker&&r.pointerChecker(h,p.originX,p.originY)&&(v.stop(h.event),l(r,u,i,h,p))}function l(r,u,i,h,p){p.isAvailableBehavior=d.bind(n,null,i,h),r.trigger(u,p)}function n(r,u,i){var h=i[r];return!r||h&&(!d.isString(h)||u.event[h+"Key"])}var c=y;Z.exports=c},MPYE:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SensorTabIndex=_.SensorClassName=_.SizeSensorId=void 0;var d="size-sensor-id";_.SizeSensorId=d;var L="size-sensor-object";_.SensorClassName=L;var v="-1";_.SensorTabIndex=v},MR2Q:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("Q6Bq"),m=e("oEo5"),y=e("LLn1"),w=y.createSymbol,f=e("zYjg"),a=e("kkar"),t=a.makeBackground,o=e("SSBM"),s=m.curry,l=m.each,n=f.Group,c=v.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new n),this._backgroundEl,this.group.add(this._selectorGroup=new n),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(p,A,C){var S=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!p.get("show",!0))return;var E=p.get("align"),O=p.get("orient");(!E||E==="auto")&&(E=p.get("left")==="right"&&O==="vertical"?"right":"left");var T=p.get("selector",!0),b=p.get("selectorPosition",!0);T&&(!b||b==="auto")&&(b=O==="horizontal"?"end":"start"),this.renderInner(E,p,A,C,T,O,b);var x=p.getBoxLayoutParams(),N={width:C.getWidth(),height:C.getHeight()},D=p.get("padding"),M=o.getLayoutRect(x,N,D),R=this.layoutInner(p,E,M,S,T,b),F=o.getLayoutRect(m.defaults({width:R.width,height:R.height},x),N,D);this.group.attr("position",[F.x-R.x,F.y-R.y]),this.group.add(this._backgroundEl=t(R,p))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(p,A,C,S,E,O,T){var b=this.getContentGroup(),x=m.createHashMap(),N=A.get("selectedMode"),D=[];C.eachRawSeries(function(M){!M.get("legendHoverLink")&&D.push(M.id)}),l(A.getData(),function(M,R){var F=M.get("name");if(!this.newlineDisabled&&(F===""||F===`
|
||
`)){b.add(new n({newline:!0}));return}var B=C.getSeriesByName(F)[0];if(x.get(F))return;if(B){var z=B.getData(),U=z.getVisual("color"),K=z.getVisual("borderColor");typeof U=="function"&&(U=U(B.getDataParams(0))),typeof K=="function"&&(K=K(B.getDataParams(0)));var W=z.getVisual("legendSymbol")||"roundRect",H=z.getVisual("symbol"),Y=this._createItem(F,R,M,A,W,H,p,U,K,N);Y.on("click",s(u,F,null,S,D)).on("mouseover",s(i,B.name,null,S,D)).on("mouseout",s(h,B.name,null,S,D)),x.set(F,!0)}else C.eachRawSeries(function(Q){if(x.get(F))return;if(Q.legendVisualProvider){var P=Q.legendVisualProvider;if(!P.containName(F))return;var G=P.indexOfName(F),J=P.getItemVisual(G,"color"),he=P.getItemVisual(G,"borderColor"),te="roundRect",pe=this._createItem(F,R,M,A,te,null,p,J,he,N);pe.on("click",s(u,null,F,S,D)).on("mouseover",s(i,null,F,S,D)).on("mouseout",s(h,null,F,S,D)),x.set(F,!0)}},this)},this),E&&this._createSelector(E,A,S,O,T)},_createSelector:function(p,A,C,S,E){var O=this.getSelectorGroup();l(p,function(b){T(b)});function T(b){var x=b.type,N=new f.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){C.dispatchAction({type:x==="all"?"legendAllSelect":"legendInverseSelect"})}});O.add(N);var D=A.getModel("selectorLabel"),M=A.getModel("emphasis.selectorLabel");f.setLabelStyle(N.style,N.hoverStyle={},D,M,{defaultText:b.title,isRectText:!1}),f.setHoverStyle(N)}},_createItem:function(p,A,C,S,E,O,T,b,x,N){var D=S.get("itemWidth"),M=S.get("itemHeight"),R=S.get("inactiveColor"),F=S.get("inactiveBorderColor"),B=S.get("symbolKeepAspect"),z=S.getModel("itemStyle"),U=S.isSelected(p),K=new n,W=C.getModel("textStyle"),H=C.get("icon"),Y=C.getModel("tooltip"),Q=Y.parentModel;E=H||E;var P=w(E,0,0,D,M,U?b:R,B==null?!0:B);if(K.add(r(P,E,z,x,F,U)),!H&&O&&(O!==E||O==="none")){var G=M*.8;O==="none"&&(O="circle");var J=w(O,(D-G)/2,(M-G)/2,G,G,U?b:R,B==null?!0:B);K.add(r(J,O,z,x,F,U))}var he=T==="left"?D+5:-5,te=T,pe=S.get("formatter"),we=p;typeof pe=="string"&&pe?we=pe.replace("{name}",p!=null?p:""):typeof pe=="function"&&(we=pe(p)),K.add(new f.Text({style:f.setTextStyle({},W,{text:we,x:he,y:M/2,textFill:U?W.getTextColor():R,textAlign:te,textVerticalAlign:"middle"})}));var be=new f.Rect({shape:K.getBoundingRect(),invisible:!0,tooltip:Y.get("show")?m.extend({content:p,formatter:Q.get("formatter",!0)||function(){return p},formatterParams:{componentType:"legend",legendIndex:S.componentIndex,name:p,$vars:["name"]}},Y.option):null});return K.add(be),K.eachChild(function(Qe){Qe.silent=!0}),be.silent=!N,this.getContentGroup().add(K),f.setHoverStyle(K),K.__legendDataIndex=A,K},layoutInner:function(p,A,C,S,E,O){var T=this.getContentGroup(),b=this.getSelectorGroup();o.box(p.get("orient"),T,p.get("itemGap"),C.width,C.height);var x=T.getBoundingRect(),N=[-x.x,-x.y];if(E){o.box("horizontal",b,p.get("selectorItemGap",!0));var D=b.getBoundingRect(),M=[-D.x,-D.y],R=p.get("selectorButtonGap",!0),F=p.getOrient().index,B=F===0?"width":"height",z=F===0?"height":"width",U=F===0?"y":"x";O==="end"?M[F]+=x[B]+R:N[F]+=D[B]+R,M[1-F]+=x[z]/2-D[z]/2,b.attr("position",M),T.attr("position",N);var K={x:0,y:0};return K[B]=x[B]+R+D[B],K[z]=Math.max(x[z],D[z]),K[U]=Math.min(0,D[U]+M[1-F]),K}else return T.attr("position",N),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function r(p,A,C,S,E,O){var T;return A!=="line"&&A.indexOf("empty")<0?(T=C.getItemStyle(),p.style.stroke=S,O||(T.stroke=E)):T=C.getItemStyle(["borderWidth","borderColor"]),p.setStyle(T)}function u(p,A,C,S){h(p,A,C,S),C.dispatchAction({type:"legendToggleSelect",name:p!=null?p:A}),i(p,A,C,S)}function i(p,A,C,S){var E=C.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||C.dispatchAction({type:"highlight",seriesName:p,name:A,excludeSeriesId:S})}function h(p,A,C,S){var E=C.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||C.dispatchAction({type:"downplay",seriesName:p,name:A,excludeSeriesId:S})}Z.exports=c},MT7u:function(Z,_){function e(L,v,m){for(var y=[L],w=[],f;f=y.pop();)if(w.push(f),f.isExpand){var a=f.children;if(a.length)for(var t=0;t<a.length;t++)y.push(a[t])}for(;f=w.pop();)v(f,m)}function d(L,v){for(var m=[L],y;y=m.pop();)if(v(y),y.isExpand){var w=y.children;if(w.length)for(var f=w.length-1;f>=0;f--)m.push(w[f])}}_.eachAfter=e,_.eachBefore=d},"MWS/":function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("Q6Bq"),m=e("oEo5"),y=e("gyjJ"),w=e("QV7q"),f=e("CQhY"),a=e("m0+L"),t=f.addCommas,o=f.encodeHTML;function s(c){w.defaultEmphasis(c,"label",["show"])}var l=v.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(c,r,u){this.mergeDefaultAndTheme(c,u),this._mergeOption(c,u,!1,!0)},isAnimationEnabled:function(){if(y.node)return!1;var c=this.__hostSeries;return this.getShallow("animation")&&c&&c.isAnimationEnabled()},mergeOption:function(c,r){this._mergeOption(c,r,!1,!1)},_mergeOption:function(c,r,u,i){var h=this.constructor,p=this.mainType+"Model";u||r.eachSeries(function(A){var C=A.get(this.mainType,!0),S=A[p];if(!C||!C.data){A[p]=null;return}S?S._mergeOption(C,r,!0):(i&&s(C),m.each(C.data,function(E){E instanceof Array?(s(E[0]),s(E[1])):s(E)}),S=new h(C,this,r),m.extend(S,{mainType:this.mainType,seriesIndex:A.seriesIndex,name:A.name,createdBySelf:!0}),S.__hostSeries=A),A[p]=S},this)},formatTooltip:function(c,r,u,i){var h=this.getData(),p=this.getRawValue(c),A=m.isArray(p)?m.map(p,t).join(", "):t(p),C=h.getName(c),S=o(this.name),E=i==="html"?"<br/>":`
|
||
`;return(p!=null||C)&&(S+=E),C&&(S+=o(C),p!=null&&(S+=" : ")),p!=null&&(S+=o(A)),S},getData:function(){return this._data},setData:function(c){this._data=c}});m.mixin(l,a);var n=l;Z.exports=n},MXpt:function(Z,_,e){"use strict";e.d(_,"a",function(){return y}),e.d(_,"b",function(){return w});var d=e("bOtj"),L=e.n(d),v=e("RfwO"),m=e.n(v);function y(f){var a,t=function(l){return function(){a=null,f.apply(void 0,L()(l))}},o=function(){if(a==null){for(var l=arguments.length,n=new Array(l),c=0;c<l;c++)n[c]=arguments[c];a=m()(t(n))}};return o.cancel=function(){return m.a.cancel(a)},o}function w(){return function(f,a,t){var o=t.value,s=!1;return{configurable:!0,get:function(){if(s||this===f.prototype||this.hasOwnProperty(a))return o;var n=y(o.bind(this));return s=!0,Object.defineProperty(this,a,{value:n,configurable:!0,writable:!0}),s=!1,n}}}}},MYAL:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("Ey8H"),m=e.n(v)},MYni:function(Z,_,e){var d=e("hbMb"),L=e("trXQ"),v=d(L,"WeakMap");Z.exports=v},Mbhg:function(Z,_,e){var d=e("oEo5"),L=e("EgZf"),v=function(y,w,f,a){L.call(this,y,w,f),this.type=a||"value",this.model=null};v.prototype={constructor:v,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},d.inherits(v,L);var m=v;Z.exports=m},Mq8S:function(Z,_,e){var d=e("mRbv"),L=d.forceLayout,v=e("Cn6K"),m=v.simpleLayout,y=e("F7ij"),w=y.circularLayout,f=e("Jjzi"),a=f.linearMap,t=e("Wa83"),o=e("oEo5"),s=e("fllp"),l=s.getCurvenessForEdge;function n(c){c.eachSeriesByType("graph",function(r){var u=r.coordinateSystem;if(u&&u.type!=="view")return;if(r.get("layout")==="force"){var i=r.preservedPoints||{},h=r.getGraph(),p=h.data,A=h.edgeData,C=r.getModel("force"),S=C.get("initLayout");r.preservedPoints?p.each(function(B){var z=p.getId(B);p.setItemLayout(B,i[z]||[NaN,NaN])}):!S||S==="none"?m(r):S==="circular"&&w(r,"value");var E=p.getDataExtent("value"),O=A.getDataExtent("value"),T=C.get("repulsion"),b=C.get("edgeLength");o.isArray(T)||(T=[T,T]),o.isArray(b)||(b=[b,b]),b=[b[1],b[0]];var x=p.mapArray("value",function(B,z){var U=p.getItemLayout(z),K=a(B,E,T);return isNaN(K)&&(K=(T[0]+T[1])/2),{w:K,rep:K,fixed:p.getItemModel(z).get("fixed"),p:!U||isNaN(U[0])||isNaN(U[1])?null:U}}),N=A.mapArray("value",function(B,z){var U=h.getEdgeByIndex(z),K=a(B,O,b);isNaN(K)&&(K=(b[0]+b[1])/2);var W=U.getModel(),H=o.retrieve3(W.get("lineStyle.curveness"),-l(U,r,z,!0),0);return{n1:x[U.node1.dataIndex],n2:x[U.node2.dataIndex],d:K,curveness:H,ignoreForceLayout:W.get("ignoreForceLayout")}}),u=r.coordinateSystem,D=u.getBoundingRect(),M=L(x,N,{rect:D,gravity:C.get("gravity"),friction:C.get("friction")}),R=M.step;M.step=function(B){for(var z=0,U=x.length;z<U;z++)x[z].fixed&&t.copy(x[z].p,h.getNodeByIndex(z).getLayout());R(function(K,W,H){for(var Y=0,Q=K.length;Y<Q;Y++)K[Y].fixed||h.getNodeByIndex(Y).setLayout(K[Y].p),i[p.getId(Y)]=K[Y].p;for(var Y=0,Q=W.length;Y<Q;Y++){var P=W[Y],G=h.getEdgeByIndex(Y),J=P.n1.p,he=P.n2.p,te=G.getLayout();te=te?te.slice():[],te[0]=te[0]||[],te[1]=te[1]||[],t.copy(te[0],J),t.copy(te[1],he),+P.curveness&&(te[2]=[(J[0]+he[0])/2-(J[1]-he[1])*P.curveness,(J[1]+he[1])/2-(he[0]-J[0])*P.curveness]),G.setLayout(te)}B&&B(H)})},r.forceLayout=M,r.preservedPoints=i,M.step()}else r.forceLayout=null})}Z.exports=n},MuvR:function(Z,_,e){"use strict";e.d(_,"d",function(){return L}),e.d(_,"e",function(){return v}),e.d(_,"f",function(){return m}),e.d(_,"c",function(){return y}),e.d(_,"b",function(){return f}),e.d(_,"a",function(){return t});var d=e("V0hb");function L(o){return Array.isArray(o)?o:o!==void 0?[o]:[]}function v(o,s){var l=s.labelInValue,n=s.combobox;if(o===void 0||o===""&&n)return[];var c=Array.isArray(o)?o:[o];return l?c.map(function(r){var u=r.key,i=r.value;return i!==void 0?i:u}):c}function m(o,s){var l=s.optionLabelProp,n=s.labelInValue,c=s.prevValue,r=s.options,u=s.getLabeledValue,i=o;return n&&(i=i.map(function(h){return u(h,{options:r,prevValue:c,labelInValue:n,optionLabelProp:l})})),i}function y(o,s){var l=Object(d.a)(s),n;for(n=o.length-1;n>=0&&o[n].disabled;n-=1);var c=null;return n!==-1&&(c=l[n],l.splice(n,1)),{values:l,removedValue:c}}var w=typeof window!="undefined"&&window.document&&window.document.documentElement,f=w,a=0;function t(){var o;return f?(o=a,a+=1):o="TEST_OR_SSR",o}},Mvv6:function(Z,_,e){var d=e("hbMb"),L=e("trXQ"),v=d(L,"DataView");Z.exports=v},Mvxd:function(Z,_,e){var d=e("puEJ"),L=e("WCWM"),v=e("ysUM");function m(y){var w=-1,f=y==null?0:y.length;for(this.__data__=new d;++w<f;)this.add(y[w])}m.prototype.add=m.prototype.push=L,m.prototype.has=v,Z.exports=m},"N//r":function(Z,_,e){var d=e("MT7u"),L=d.eachAfter,v=d.eachBefore,m=e("a67U"),y=m.init,w=m.firstWalk,f=m.secondWalk,a=m.separation,t=m.radialCoordinate,o=m.getViewRect;function s(n,c){n.eachSeriesByType("tree",function(r){l(r,c)})}function l(n,c){var r=o(n,c);n.layoutInfo=r;var u=n.get("layout"),i=0,h=0,p=null;u==="radial"?(i=2*Math.PI,h=Math.min(r.height,r.width)/2,p=a(function(F,B){return(F.parentNode===B.parentNode?1:2)/F.depth})):(i=r.width,h=r.height,p=a());var A=n.getData().tree.root,C=A.children[0];if(C){y(A),L(C,w,p),A.hierNode.modifier=-C.hierNode.prelim,v(C,f);var S=C,E=C,O=C;v(C,function(F){var B=F.getLayout().x;B<S.getLayout().x&&(S=F),B>E.getLayout().x&&(E=F),F.depth>O.depth&&(O=F)});var T=S===E?1:p(S,E)/2,b=T-S.getLayout().x,x=0,N=0,D=0,M=0;if(u==="radial")x=i/(E.getLayout().x+T+b),N=h/(O.depth-1||1),v(C,function(F){D=(F.getLayout().x+b)*x,M=(F.depth-1)*N;var B=t(D,M);F.setLayout({x:B.x,y:B.y,rawX:D,rawY:M},!0)});else{var R=n.getOrient();R==="RL"||R==="LR"?(N=h/(E.getLayout().x+T+b),x=i/(O.depth-1||1),v(C,function(F){M=(F.getLayout().x+b)*N,D=R==="LR"?(F.depth-1)*x:i-(F.depth-1)*x,F.setLayout({x:D,y:M},!0)})):(R==="TB"||R==="BT")&&(x=i/(E.getLayout().x+T+b),N=h/(O.depth-1||1),v(C,function(F){D=(F.getLayout().x+b)*x,M=R==="TB"?(F.depth-1)*N:h-(F.depth-1)*N,F.setLayout({x:D,y:M},!0)}))}}}Z.exports=s},N3n5:function(Z,_,e){for(var d=e("oEo5"),L=e("RQkO"),v=[126,25],m=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],y=0;y<m.length;y++)for(var w=0;w<m[y].length;w++)m[y][w][0]/=10.5,m[y][w][1]/=-10.5/.75,m[y][w][0]+=v[0],m[y][w][1]+=v[1];function f(a,t){a==="china"&&t.push(new L("\u5357\u6D77\u8BF8\u5C9B",d.map(m,function(o){return{type:"polygon",exterior:o}}),v))}Z.exports=f},NDeh:function(Z,_,e){var d=e("+Vnd"),L=e("0gFT"),v=e("oEo5"),m=e("CQhY"),y=m.encodeHTML,w=e("p1Ch"),f=d.extend({type:"series.radar",dependencies:["radar"],init:function(t){f.superApply(this,"init",arguments),this.legendVisualProvider=new w(v.bind(this.getData,this),v.bind(this.getRawData,this))},getInitialData:function(t,o){return L(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(t,o,s,l){var n=this.getData(),c=this.coordinateSystem,r=c.getIndicatorAxes(),u=this.getData().getName(t),i=l==="html"?"<br/>":`
|
||
`;return y(u===""?this.name:u)+i+v.map(r,function(h,p){var A=n.get(n.mapDimension(h.dim),t);return y(h.name+" : "+A)}).join(i)},getTooltipPosition:function(t){if(t!=null){for(var o=this.getData(),s=this.coordinateSystem,l=o.getValues(v.map(s.dimensions,function(u){return o.mapDimension(u)}),t,!0),n=0,c=l.length;n<c;n++)if(!isNaN(l[n])){var r=s.getIndicatorAxes();return s.coordToPoint(r[n].dataToCoord(l[n]),n)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),a=f;Z.exports=a},"NE/W":function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("6Mga"),m=e.n(v)},NNdr:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=1,L=function(){return"".concat(d++)};_.default=L},NOCy:function(Z,_,e){var d=e("oEo5"),L=e("JqtM"),v=L.devicePixelRatio,m=e("75Ip"),y=e("g+/F");function w(){return!1}function f(o,s,l){var n=d.createCanvas(),c=s.getWidth(),r=s.getHeight(),u=n.style;return u&&(u.position="absolute",u.left=0,u.top=0,u.width=c+"px",u.height=r+"px",n.setAttribute("data-zr-dom-id",o)),n.width=c*l,n.height=r*l,n}var a=function(s,l,n){var c;n=n||v,typeof s=="string"?c=f(s,l,n):d.isObject(s)&&(c=s,s=c.id),this.id=s,this.dom=c;var r=c.style;r&&(c.onselectstart=w,r["-webkit-user-select"]="none",r["user-select"]="none",r["-webkit-touch-callout"]="none",r["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",r.padding=0,r.margin=0,r["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=l,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};a.prototype={constructor:a,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var s=this.dpr;this.domBack=f("back-"+this.id,this.painter,s),this.ctxBack=this.domBack.getContext("2d"),s!==1&&this.ctxBack.scale(s,s)},resize:function(s,l){var n=this.dpr,c=this.dom,r=c.style,u=this.domBack;r&&(r.width=s+"px",r.height=l+"px"),c.width=s*n,c.height=l*n,u&&(u.width=s*n,u.height=l*n,n!==1&&this.ctxBack.scale(n,n))},clear:function(s,l){var n=this.dom,c=this.ctx,r=n.width,u=n.height,l=l||this.clearColor,i=this.motionBlur&&!s,h=this.lastFrameAlpha,p=this.dpr;if(i&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,r/p,u/p)),c.clearRect(0,0,r,u),l&&l!=="transparent"){var A;l.colorStops?(A=l.__canvasGradient||m.getGradient(c,l,{x:0,y:0,width:r,height:u}),l.__canvasGradient=A):l.image&&(A=y.prototype.getCanvasPattern.call(l,c)),c.save(),c.fillStyle=A||l,c.fillRect(0,0,r,u),c.restore()}if(i){var C=this.domBack;c.save(),c.globalAlpha=h,c.drawImage(C,0,0,r,u),c.restore()}}};var t=a;Z.exports=t},NVK6:function(Z,_){Z.exports={name:"memoryStorage",read:d,write:L,each:v,remove:m,clearAll:y};var e={};function d(w){return e[w]}function L(w,f){e[w]=f}function v(w){for(var f in e)e.hasOwnProperty(f)&&w(e[f],f)}function m(w){delete e[w]}function y(w){e={}}},NVTZ:function(Z,_,e){var d=e("oEo5"),L=e("LLn1"),v=L.createSymbol,m=e("zYjg"),y=m.Group,w=e("Jjzi"),f=w.parsePercent,a=e("DMEU"),t=3;function o(r){return d.isArray(r)||(r=[+r,+r]),r}function s(r,u){var i=u.rippleEffectColor||u.color;r.eachChild(function(h){h.attr({z:u.z,zlevel:u.zlevel,style:{stroke:u.brushType==="stroke"?i:null,fill:u.brushType==="fill"?i:null}})})}function l(r,u){y.call(this);var i=new a(r,u),h=new y;this.add(i),this.add(h),h.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(r,u)}var n=l.prototype;n.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.startEffectAnimation=function(r){for(var u=r.symbolType,i=r.color,h=this.childAt(1),p=0;p<t;p++){var A=v(u,-1,-1,2,2,i);A.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var C=-p/t*r.period+r.effectOffset;A.animate("",!0).when(r.period,{scale:[r.rippleScale/2,r.rippleScale/2]}).delay(C).start(),A.animateStyle(!0).when(r.period,{opacity:0}).delay(C).start(),h.add(A)}s(h,r)},n.updateEffectAnimation=function(r){for(var u=this._effectCfg,i=this.childAt(1),h=["symbolType","period","rippleScale"],p=0;p<h.length;p++){var A=h[p];if(u[A]!==r[A]){this.stopEffectAnimation(),this.startEffectAnimation(r);return}}s(i,r)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(r,u){var i=r.hostModel;this.childAt(0).updateData(r,u);var h=this.childAt(1),p=r.getItemModel(u),A=r.getItemVisual(u,"symbol"),C=o(r.getItemVisual(u,"symbolSize")),S=r.getItemVisual(u,"color");h.attr("scale",C),h.traverse(function(M){M.attr({fill:S})});var E=p.getShallow("symbolOffset");if(E){var O=h.position;O[0]=f(E[0],C[0]),O[1]=f(E[1],C[1])}var T=r.getItemVisual(u,"symbolRotate");h.rotation=(T||0)*Math.PI/180||0;var b={};if(b.showEffectOn=i.get("showEffectOn"),b.rippleScale=p.get("rippleEffect.scale"),b.brushType=p.get("rippleEffect.brushType"),b.period=p.get("rippleEffect.period")*1e3,b.effectOffset=u/r.count(),b.z=p.getShallow("z")||0,b.zlevel=p.getShallow("zlevel")||0,b.symbolType=A,b.color=S,b.rippleEffectColor=p.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),b.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(b):this.startEffectAnimation(b),this._effectCfg=b;else{this._effectCfg=null,this.stopEffectAnimation();var x=this.childAt(0),N=function(){x.highlight(),b.showEffectOn!=="render"&&this.startEffectAnimation(b)},D=function(){x.downplay(),b.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",N,this).on("mouseout",D,this).on("emphasis",N,this).on("normal",D,this)}this._effectCfg=b},n.fadeOut=function(r){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),r&&r()},d.inherits(l,y);var c=l;Z.exports=c},NW8c:function(Z,_){var e="\\ud800-\\udfff",d="\\u0300-\\u036f",L="\\ufe20-\\ufe2f",v="\\u20d0-\\u20ff",m=d+L+v,y="\\ufe0e\\ufe0f",w="["+e+"]",f="["+m+"]",a="\\ud83c[\\udffb-\\udfff]",t="(?:"+f+"|"+a+")",o="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",c=t+"?",r="["+y+"]?",u="(?:"+n+"(?:"+[o,s,l].join("|")+")"+r+c+")*",i=r+c+u,h="(?:"+[o+f+"?",f,s,l,w].join("|")+")",p=RegExp(a+"(?="+a+")|"+h+i,"g");function A(C){return C.match(p)||[]}Z.exports=A},NZYQ:function(Z,_,e){var d=e("oEo5");function L(m,y){var w=this.getAxis(),f=y instanceof Array?y[0]:y,a=(m instanceof Array?m[0]:m)/2;return w.type==="category"?w.getBandWidth():Math.abs(w.dataToCoord(f-a)-w.dataToCoord(f+a))}function v(m){var y=m.getRect();return{coordSys:{type:"singleAxis",x:y.x,y:y.y,width:y.width,height:y.height},api:{coord:function(w){return m.dataToPoint(w)},size:d.bind(L,m)}}}Z.exports=v},NiCL:function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("LlUK"),m=e.n(v),y=e("Eqs+"),w=e.n(y),f=e("ZZRV"),a=e("J04M"),t={adjustX:1,adjustY:1},o=[0,0],s={left:{points:["cr","cl"],overflow:t,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:t,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:t,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:t,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:t,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:t,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:t,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:t,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:t,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:t,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:t,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:t,offset:[-4,0],targetOffset:o}},l=s,n=function(Q){var P=Q.overlay,G=Q.prefixCls,J=Q.id,he=Q.overlayInnerStyle;return f.createElement("div",{className:"".concat(G,"-inner"),id:J,role:"tooltip",style:he},typeof P=="function"?P():P)},c=n;function r(Y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(P){return typeof P}:r=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},r(Y)}function u(Y,Q){var P=Object.keys(Y);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(Y);Q&&(G=G.filter(function(J){return Object.getOwnPropertyDescriptor(Y,J).enumerable})),P.push.apply(P,G)}return P}function i(Y){for(var Q=1;Q<arguments.length;Q++){var P=arguments[Q]!=null?arguments[Q]:{};Q%2?u(Object(P),!0).forEach(function(G){h(Y,G,P[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(P)):u(Object(P)).forEach(function(G){Object.defineProperty(Y,G,Object.getOwnPropertyDescriptor(P,G))})}return Y}function h(Y,Q,P){return Q in Y?Object.defineProperty(Y,Q,{value:P,enumerable:!0,configurable:!0,writable:!0}):Y[Q]=P,Y}function p(Y,Q){if(Y==null)return{};var P=A(Y,Q),G,J;if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(Y);for(J=0;J<he.length;J++){if(G=he[J],Q.indexOf(G)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Y,G))continue;P[G]=Y[G]}}return P}function A(Y,Q){if(Y==null)return{};var P={},G=Object.keys(Y),J,he;for(he=0;he<G.length;he++){if(J=G[he],Q.indexOf(J)>=0)continue;P[J]=Y[J]}return P}var C=function(Q,P){var G=Q.overlayClassName,J=Q.trigger,he=J===void 0?["hover"]:J,te=Q.mouseEnterDelay,pe=te===void 0?0:te,we=Q.mouseLeaveDelay,be=we===void 0?.1:we,Qe=Q.overlayStyle,$e=Q.prefixCls,yt=$e===void 0?"rc-tooltip":$e,Fe=Q.children,Pe=Q.onVisibleChange,gt=Q.afterVisibleChange,it=Q.transitionName,qe=Q.animation,At=Q.placement,dt=At===void 0?"right":At,wt=Q.align,Ye=wt===void 0?{}:wt,mt=Q.destroyTooltipOnHide,Ue=mt===void 0?!1:mt,Re=Q.defaultVisible,Le=Q.getTooltipContainer,at=Q.overlayInnerStyle,Ot=p(Q,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),Tt=Object(f.useRef)(null);Object(f.useImperativeHandle)(P,function(){return Tt.current});var Ft=i({},Ot);"visible"in Q&&(Ft.popupVisible=Q.visible);var ke=function(){var xt=Q.arrowContent,Ut=xt===void 0?null:xt,Ze=Q.overlay,ze=Q.id;return[f.createElement("div",{className:"".concat(yt,"-arrow"),key:"arrow"},Ut),f.createElement(c,{key:"content",prefixCls:yt,id:ze,overlay:Ze,overlayInnerStyle:at})]},Vt=!1,bt=!1;if(typeof Ue=="boolean")Vt=Ue;else if(Ue&&r(Ue)==="object"){var Rt=Ue.keepParent;Vt=Rt===!0,bt=Rt===!1}return f.createElement(a.a,Object.assign({popupClassName:G,prefixCls:yt,popup:ke,action:he,builtinPlacements:s,popupPlacement:dt,ref:Tt,popupAlign:Ye,getPopupContainer:Le,onPopupVisibleChange:Pe,afterPopupVisibleChange:gt,popupTransitionName:it,popupAnimation:qe,defaultPopupVisible:Re,destroyPopupOnHide:Vt,autoDestroy:bt,mouseLeaveDelay:be,popupStyle:Qe,mouseEnterDelay:pe},Ft),Fe)},S=Object(f.forwardRef)(C),E=S,O=e("iczh"),T=e.n(O),b={adjustX:1,adjustY:1},x={adjustX:0,adjustY:0},N=[0,0];function D(Y){return typeof Y=="boolean"?Y?b:x:w()(w()({},x),Y)}function M(Y){var Q=Y.arrowWidth,P=Q===void 0?5:Q,G=Y.horizontalArrowShift,J=G===void 0?16:G,he=Y.verticalArrowShift,te=he===void 0?8:he,pe=Y.autoAdjustOverflow,we={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:[-(J+P),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(te+P)]},topRight:{points:["br","tc"],offset:[J+P,-4]},rightTop:{points:["tl","cr"],offset:[4,-(te+P)]},bottomRight:{points:["tr","bc"],offset:[J+P,4]},rightBottom:{points:["bl","cr"],offset:[4,te+P]},bottomLeft:{points:["tl","bc"],offset:[-(J+P),4]},leftBottom:{points:["br","cl"],offset:[-4,te+P]}};return Object.keys(we).forEach(function(be){we[be]=Y.arrowPointAtCenter?w()(w()({},we[be]),{overflow:D(pe),targetOffset:N}):w()(w()({},s[be]),{overflow:D(pe)}),we[be].ignoreShake=!0}),we}var R=e("nSZG"),F=e("LpVx"),B=e("4Gpq"),z=function(Q,P){var G={},J=w()({},Q);return P.forEach(function(he){Q&&he in Q&&(G[he]=Q[he],delete J[he])}),{picked:G,omitted:J}},U=new RegExp("^(".concat(B.a.join("|"),")(-inverse)?$"));function K(Y,Q){var P=Y.type;if((P.__ANT_BUTTON===!0||P.__ANT_SWITCH===!0||P.__ANT_CHECKBOX===!0||Y.type==="button")&&Y.props.disabled){var G=z(Y.props.style,["position","left","right","top","bottom","float","display","zIndex"]),J=G.picked,he=G.omitted,te=w()(w()({display:"inline-block"},J),{cursor:"not-allowed",width:Y.props.block?"100%":null}),pe=w()(w()({},he),{pointerEvents:"none"}),we=Object(R.a)(Y,{style:pe,className:null});return f.createElement("span",{style:te,className:T()(Y.props.className,"".concat(Q,"-disabled-compatible-wrapper"))},we)}return Y}var W=f.forwardRef(function(Y,Q){var P,G=f.useContext(F.b),J=G.getPopupContainer,he=G.getPrefixCls,te=G.direction,pe=f.useState(!!Y.visible||!!Y.defaultVisible),we=m()(pe,2),be=we[0],Qe=we[1];f.useEffect(function(){"visible"in Y&&Qe(Y.visible)},[Y.visible]);var $e=function(){var Rt=Y.title,Nt=Y.overlay;return!Rt&&!Nt&&Rt!==0},yt=function(Rt){"visible"in Y||Qe($e()?!1:Rt),Y.onVisibleChange&&!$e()&&Y.onVisibleChange(Rt)},Fe=function(){var Rt=Y.builtinPlacements,Nt=Y.arrowPointAtCenter,xt=Y.autoAdjustOverflow;return Rt||M({arrowPointAtCenter:Nt,autoAdjustOverflow:xt})},Pe=function(Rt,Nt){var xt=Fe(),Ut=Object.keys(xt).filter(function(re){return xt[re].points[0]===Nt.points[0]&&xt[re].points[1]===Nt.points[1]})[0];if(!Ut)return;var Ze=Rt.getBoundingClientRect(),ze={top:"50%",left:"50%"};Ut.indexOf("top")>=0||Ut.indexOf("Bottom")>=0?ze.top="".concat(Ze.height-Nt.offset[1],"px"):(Ut.indexOf("Top")>=0||Ut.indexOf("bottom")>=0)&&(ze.top="".concat(-Nt.offset[1],"px")),Ut.indexOf("left")>=0||Ut.indexOf("Right")>=0?ze.left="".concat(Ze.width-Nt.offset[0],"px"):(Ut.indexOf("right")>=0||Ut.indexOf("Left")>=0)&&(ze.left="".concat(-Nt.offset[0],"px")),Rt.style.transformOrigin="".concat(ze.left," ").concat(ze.top)},gt=function(){var Rt=Y.title,Nt=Y.overlay;return Rt===0?Rt:Nt||Rt||""},it=Y.prefixCls,qe=Y.openClassName,At=Y.getPopupContainer,dt=Y.getTooltipContainer,wt=Y.overlayClassName,Ye=Y.color,mt=Y.overlayInnerStyle,Ue=Y.children,Re=he("tooltip",it),Le=be;!("visible"in Y)&&$e()&&(Le=!1);var at=K(Object(R.b)(Ue)?Ue:f.createElement("span",null,Ue),Re),Ot=at.props,Tt=T()(Ot.className,L()({},qe||"".concat(Re,"-open"),!0)),Ft=T()(wt,(P={},L()(P,"".concat(Re,"-rtl"),te==="rtl"),L()(P,"".concat(Re,"-").concat(Ye),Ye&&U.test(Ye)),P)),ke,Vt;return Ye&&!U.test(Ye)&&(ke=w()(w()({},mt),{background:Ye}),Vt={background:Ye}),f.createElement(E,w()({},Y,{prefixCls:Re,overlayClassName:Ft,getTooltipContainer:At||dt||J,ref:Q,builtinPlacements:Fe(),overlay:gt(),visible:Le,onVisibleChange:yt,onPopupAlign:Pe,overlayInnerStyle:ke,arrowContent:f.createElement("span",{className:"".concat(Re,"-arrow-content"),style:Vt})}),Le?Object(R.a)(at,{className:Tt}):at)});W.displayName="Tooltip",W.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var H=_.a=W},NjBR:function(Z,_,e){var d=e("Az1A"),L=function(){this._track=[]};L.prototype={constructor:L,recognize:function(a,t,o){return this._doTrack(a,t,o),this._recognize(a)},clear:function(){return this._track.length=0,this},_doTrack:function(a,t,o){var s=a.touches;if(!s)return;for(var l={points:[],touches:[],target:t,event:a},n=0,c=s.length;n<c;n++){var r=s[n],u=d.clientToLocal(o,r,{});l.points.push([u.zrX,u.zrY]),l.touches.push(r)}this._track.push(l)},_recognize:function(a){for(var t in y)if(y.hasOwnProperty(t)){var o=y[t](this._track,a);if(o)return o}}};function v(f){var a=f[1][0]-f[0][0],t=f[1][1]-f[0][1];return Math.sqrt(a*a+t*t)}function m(f){return[(f[0][0]+f[1][0])/2,(f[0][1]+f[1][1])/2]}var y={pinch:function(a,t){var o=a.length;if(!o)return;var s=(a[o-1]||{}).points,l=(a[o-2]||{}).points||s;if(l&&l.length>1&&s&&s.length>1){var n=v(s)/v(l);!isFinite(n)&&(n=1),t.pinchScale=n;var c=m(s);return t.pinchX=c[0],t.pinchY=c[1],{type:"pinch",target:a[0].target,event:t}}}},w=L;Z.exports=w},Nk5m:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("RDyO"),m=e.n(v)},NrA9:function(Z,_,e){"use strict";e.d(_,"a",function(){return v});var d=function(y){return+setTimeout(y,16)},L=function(y){return clearTimeout(y)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(d=function(y){return window.requestAnimationFrame(y)},L=function(y){return window.cancelAnimationFrame(y)});function v(m){return d(m)}v.cancel=L},O0fn:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("OKMW"),m=e("XAQ+");e("L9SA"),e("BC2+"),e("BUtc"),d.registerPreprocessor(function(y){if(y){(!y.axisPointer||y.axisPointer.length===0)&&(y.axisPointer={});var w=y.axisPointer.link;w&&!L.isArray(w)&&(y.axisPointer.link=[w])}}),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,function(y,w){y.getComponent("axisPointer").coordSysAxesInfo=v.collect(y,w)}),d.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m)},O9LN:function(Z,_,e){"use strict";e.d(_,"a",function(){return t});var d=e("ZZRV"),L=e.n(d);function v(o,s){return a(o)||f(o,s)||y(o,s)||m()}function m(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y(o,s){if(!o)return;if(typeof o=="string")return w(o,s);var l=Object.prototype.toString.call(o).slice(8,-1);if(l==="Object"&&o.constructor&&(l=o.constructor.name),l==="Map"||l==="Set")return Array.from(o);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return w(o,s)}function w(o,s){(s==null||s>o.length)&&(s=o.length);for(var l=0,n=new Array(s);l<s;l++)n[l]=o[l];return n}function f(o,s){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(o)))return;var l=[],n=!0,c=!1,r=void 0;try{for(var u=o[Symbol.iterator](),i;!(n=(i=u.next()).done)&&!(l.push(i.value),s&&l.length===s);n=!0);}catch(h){c=!0,r=h}finally{try{!n&&u.return!=null&&u.return()}finally{if(c)throw r}}return l}function a(o){if(Array.isArray(o))return o}function t(o,s){var l=s||{},n=l.defaultValue,c=l.value,r=l.onChange,u=l.postState,i=d.useState(function(){return c!==void 0?c:n!==void 0?typeof n=="function"?n():n:typeof o=="function"?o():o}),h=v(i,2),p=h[0],A=h[1],C=c!==void 0?c:p;u&&(C=u(C));function S(O){A(O),C!==O&&r&&r(O,C)}var E=d.useRef(!0);return d.useEffect(function(){if(E.current){E.current=!1;return}c===void 0&&A(c)},[c]),[C,S]}},OCYe:function(Z,_){var e=function(v){this.colorStops=v||[]};e.prototype={constructor:e,addColorStop:function(v,m){this.colorStops.push({offset:v,color:m})}};var d=e;Z.exports=d},OCjS:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("it0X")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="PlusOutlined";var f=v.forwardRef(w);_.default=f},ODwA:function(Z,_,e){e("Eyzv"),e("gaFP"),e("BcIr")},OJ0L:function(Z,_,e){"use strict";var d=e("ZZRV"),L={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"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="CaretDownOutlined";var w=_.a=d.forwardRef(y)},OKMW:function(Z,_,e){var d=e("oEo5"),L=e("P0S0"),v=d.each,m=d.curry;function y(u,i){var h={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return w(h,u,i),h.seriesInvolved&&a(h,u),h}function w(u,i,h){var p=i.getComponent("tooltip"),A=i.getComponent("axisPointer"),C=A.get("link",!0)||[],S=[];v(h.getCoordinateSystems(),function(E){if(!E.axisPointerEnabled)return;var O=r(E.model),T=u.coordSysAxesInfo[O]={};u.coordSysMap[O]=E;var b=E.model,x=b.getModel("tooltip",p);if(v(E.getAxes(),m(R,!1,null)),E.getTooltipAxes&&p&&x.get("show")){var N=x.get("trigger")==="axis",D=x.get("axisPointer.type")==="cross",M=E.getTooltipAxes(x.get("axisPointer.axis"));(N||D)&&v(M.baseAxes,m(R,D?"cross":!0,N)),D&&v(M.otherAxes,m(R,"cross",!1))}function R(F,B,z){var U=z.model.getModel("axisPointer",A),K=U.get("show");if(!K||K==="auto"&&!F&&!c(U))return;B==null&&(B=U.get("triggerTooltip")),U=F?f(z,x,A,i,F,B):U;var W=U.get("snap"),H=r(z.model),Y=B||W||z.type==="category",Q=u.axesInfo[H]={key:H,axis:z,coordSys:E,axisPointerModel:U,triggerTooltip:B,involveSeries:Y,snap:W,useHandle:c(U),seriesModels:[]};T[H]=Q,u.seriesInvolved|=Y;var P=t(C,z);if(P!=null){var G=S[P]||(S[P]={axesInfo:{}});G.axesInfo[H]=Q,G.mapper=C[P].mapper,Q.linkGroup=G}}})}function f(u,i,h,p,A,C){var S=i.getModel("axisPointer"),E={};v(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(x){E[x]=d.clone(S.get(x))}),E.snap=u.type!=="category"&&!!C,S.get("type")==="cross"&&(E.type="line");var O=E.label||(E.label={});if(O.show==null&&(O.show=!1),A==="cross"){var T=S.get("label.show");if(O.show=T!=null?T:!0,!C){var b=E.lineStyle=S.get("crossStyle");b&&d.defaults(O,b.textStyle)}}return u.model.getModel("axisPointer",new L(E,h,p))}function a(u,i){i.eachSeries(function(h){var p=h.coordinateSystem,A=h.get("tooltip.trigger",!0),C=h.get("tooltip.show",!0);if(!p||A==="none"||A===!1||A==="item"||C===!1||h.get("axisPointer.show",!0)===!1)return;v(u.coordSysAxesInfo[r(p.model)],function(S){var E=S.axis;p.getAxis(E.dim)===E&&(S.seriesModels.push(h),S.seriesDataCount==null&&(S.seriesDataCount=0),S.seriesDataCount+=h.getData().count())})},this)}function t(u,i){for(var h=i.model,p=i.dim,A=0;A<u.length;A++){var C=u[A]||{};if(o(C[p+"AxisId"],h.id)||o(C[p+"AxisIndex"],h.componentIndex)||o(C[p+"AxisName"],h.name))return A}}function o(u,i){return u==="all"||d.isArray(u)&&d.indexOf(u,i)>=0||u===i}function s(u){var i=l(u);if(!i)return;var h=i.axisPointerModel,p=i.axis.scale,A=h.option,C=h.get("status"),S=h.get("value");S!=null&&(S=p.parse(S));var E=c(h);C==null&&(A.status=E?"show":"hide");var O=p.getExtent().slice();O[0]>O[1]&&O.reverse(),(S==null||S>O[1])&&(S=O[1]),S<O[0]&&(S=O[0]),A.value=S,E&&(A.status=i.axis.scale.isBlank()?"hide":"show")}function l(u){var i=(u.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return i&&i.axesInfo[r(u)]}function n(u){var i=l(u);return i&&i.axisPointerModel}function c(u){return!!u.get("handle.show")}function r(u){return u.type+"||"+u.id}_.collect=y,_.fixValue=s,_.getAxisInfo=l,_.getAxisPointerModel=n,_.makeKey=r},OL7x:function(Z,_,e){var d=e("oEo5"),L=e("ie0D"),v=e("4uqo"),m=e("zYjg"),y=e("SSBM"),w=e("9h9L"),f=e("Mbhg"),a=e("LLn1"),t=a.createSymbol,o=e("sYRh"),s=e("Jjzi"),l=e("CQhY"),n=l.encodeHTML,c=d.bind,r=d.each,u=Math.PI,i=w.extend({type:"timeline.slider",init:function(S,E){this.api=E,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(S,E,O,T){if(this.model=S,this.api=O,this.ecModel=E,this.group.removeAll(),S.get("show",!0)){var b=this._layout(S,O),x=this._createGroup("mainGroup"),N=this._createGroup("labelGroup"),D=this._axis=this._createAxis(b,S);S.formatTooltip=function(M){return n(D.scale.getLabel(M))},r(["AxisLine","AxisTick","Control","CurrentPointer"],function(M){this["_render"+M](b,x,D,S)},this),this._renderAxisLabel(b,N,D,S),this._position(b,S)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(S,E){var O=S.get("label.position"),T=S.get("orient"),b=h(S,E);O==null||O==="auto"?O=T==="horizontal"?b.y+b.height/2<E.getHeight()/2?"-":"+":b.x+b.width/2<E.getWidth()/2?"+":"-":isNaN(O)&&(O={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[T][O]);var x={horizontal:"center",vertical:O>=0||O==="+"?"left":"right"},N={horizontal:O>=0||O==="+"?"top":"bottom",vertical:"middle"},D={horizontal:0,vertical:u/2},M=T==="vertical"?b.height:b.width,R=S.getModel("controlStyle"),F=R.get("show",!0),B=F?R.get("itemSize"):0,z=F?R.get("itemGap"):0,U=B+z,K=S.get("label.rotate")||0;K=K*u/180;var W,H,Y,Q,P=R.get("position",!0),G=F&&R.get("showPlayBtn",!0),J=F&&R.get("showPrevBtn",!0),he=F&&R.get("showNextBtn",!0),te=0,pe=M;return P==="left"||P==="bottom"?(G&&(W=[0,0],te+=U),J&&(H=[te,0],te+=U),he&&(Y=[pe-B,0],pe-=U)):(G&&(W=[pe-B,0],pe-=U),J&&(H=[0,0],te+=U),he&&(Y=[pe-B,0],pe-=U)),Q=[te,pe],S.get("inverse")&&Q.reverse(),{viewRect:b,mainLength:M,orient:T,rotation:D[T],labelRotation:K,labelPosOpt:O,labelAlign:S.get("label.align")||x[T],labelBaseline:S.get("label.verticalAlign")||S.get("label.baseline")||N[T],playPosition:W,prevBtnPosition:H,nextBtnPosition:Y,axisExtent:Q,controlSize:B,controlGap:z}},_position:function(S,E){var O=this._mainGroup,T=this._labelGroup,b=S.viewRect;if(S.orient==="vertical"){var x=v.create(),N=b.x,D=b.y+b.height;v.translate(x,x,[-N,-D]),v.rotate(x,x,-u/2),v.translate(x,x,[N,D]),b=b.clone(),b.applyTransform(x)}var M=H(b),R=H(O.getBoundingRect()),F=H(T.getBoundingRect()),B=O.position,z=T.position;z[0]=B[0]=M[0][0];var U=S.labelPosOpt;if(isNaN(U)){var K=U==="+"?0:1;Y(B,R,M,1,K),Y(z,F,M,1,1-K)}else{var K=U>=0?0:1;Y(B,R,M,1,K),z[1]=B[1]+U}O.attr("position",B),T.attr("position",z),O.rotation=T.rotation=S.rotation,W(O),W(T);function W(Q){var P=Q.position;Q.origin=[M[0][0]-P[0],M[1][0]-P[1]]}function H(Q){return[[Q.x,Q.x+Q.width],[Q.y,Q.y+Q.height]]}function Y(Q,P,G,J,he){Q[J]+=G[J][he]-P[J][he]}},_createAxis:function(S,E){var O=E.getData(),T=E.get("axisType"),b=o.createScaleByModel(E,T);b.getTicks=function(){return O.mapArray(["value"],function(D){return D})};var x=O.getDataExtent("value");b.setExtent(x[0],x[1]),b.niceTicks();var N=new f("value",b,S.axisExtent,T);return N.model=E,N},_createGroup:function(S){var E=this["_"+S]=new m.Group;return this.group.add(E),E},_renderAxisLine:function(S,E,O,T){var b=O.getExtent();if(!T.get("lineStyle.show"))return;E.add(new m.Line({shape:{x1:b[0],y1:0,x2:b[1],y2:0},style:d.extend({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(S,E,O,T){var b=T.getData(),x=O.scale.getTicks();r(x,function(N){var D=O.dataToCoord(N),M=b.getItemModel(N),R=M.getModel("itemStyle"),F=M.getModel("emphasis.itemStyle"),B={position:[D,0],onclick:c(this._changeTimeline,this,N)},z=A(M,R,E,B);m.setHoverStyle(z,F.getItemStyle()),M.get("tooltip")?(z.dataIndex=N,z.dataModel=T):z.dataIndex=z.dataModel=null},this)},_renderAxisLabel:function(S,E,O,T){var b=O.getLabelModel();if(!b.get("show"))return;var x=T.getData(),N=O.getViewLabels();r(N,function(D){var M=D.tickValue,R=x.getItemModel(M),F=R.getModel("label"),B=R.getModel("emphasis.label"),z=O.dataToCoord(D.tickValue),U=new m.Text({position:[z,0],rotation:S.labelRotation-S.rotation,onclick:c(this._changeTimeline,this,M),silent:!1});m.setTextStyle(U.style,F,{text:D.formattedLabel,textAlign:S.labelAlign,textVerticalAlign:S.labelBaseline}),E.add(U),m.setHoverStyle(U,m.setTextStyle({},B))},this)},_renderControl:function(S,E,O,T){var b=S.controlSize,x=S.rotation,N=T.getModel("controlStyle").getItemStyle(),D=T.getModel("emphasis.controlStyle").getItemStyle(),M=[0,-b/2,b,b],R=T.getPlayState(),F=T.get("inverse",!0);B(S.nextBtnPosition,"controlStyle.nextIcon",c(this._changeTimeline,this,F?"-":"+")),B(S.prevBtnPosition,"controlStyle.prevIcon",c(this._changeTimeline,this,F?"+":"-")),B(S.playPosition,"controlStyle."+(R?"stopIcon":"playIcon"),c(this._handlePlayClick,this,!R),!0);function B(z,U,K,W){if(!z)return;var H={position:z,origin:[b/2,0],rotation:W?-x:0,rectHover:!0,style:N,onclick:K},Y=p(T,U,M,H);E.add(Y),m.setHoverStyle(Y,D)}},_renderCurrentPointer:function(S,E,O,T){var b=T.getData(),x=T.getCurrentIndex(),N=b.getItemModel(x).getModel("checkpointStyle"),D=this,M={onCreate:function(R){R.draggable=!0,R.drift=c(D._handlePointerDrag,D),R.ondragend=c(D._handlePointerDragend,D),C(R,x,O,T,!0)},onUpdate:function(R){C(R,x,O,T)}};this._currentPointer=A(N,N,this._mainGroup,{},this._currentPointer,M)},_handlePlayClick:function(S){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:S,from:this.uid})},_handlePointerDrag:function(S,E,O){this._clearTimer(),this._pointerChangeTimeline([O.offsetX,O.offsetY])},_handlePointerDragend:function(S){this._pointerChangeTimeline([S.offsetX,S.offsetY],!0)},_pointerChangeTimeline:function(S,E){var O=this._toAxisCoord(S)[0],T=this._axis,b=s.asc(T.getExtent().slice());O>b[1]&&(O=b[1]),O<b[0]&&(O=b[0]),this._currentPointer.position[0]=O,this._currentPointer.dirty();var x=this._findNearestTick(O),N=this.model;(E||x!==N.getCurrentIndex()&&N.get("realtime"))&&this._changeTimeline(x)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(c(S,this),this.model.get("playInterval")));function S(){var E=this.model;this._changeTimeline(E.getCurrentIndex()+(E.get("rewind",!0)?-1:1))}},_toAxisCoord:function(S){var E=this._mainGroup.getLocalTransform();return m.applyTransform(S,E,!0)},_findNearestTick:function(S){var E=this.model.getData(),O=Infinity,T,b=this._axis;return E.each(["value"],function(x,N){var D=b.dataToCoord(x),M=Math.abs(D-S);M<O&&(O=M,T=N)}),T},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(S){var E=this.model.getCurrentIndex();S==="+"?S=E+1:S==="-"&&(S=E-1),this.api.dispatchAction({type:"timelineChange",currentIndex:S,from:this.uid})}});function h(S,E){return y.getLayoutRect(S.getBoxLayoutParams(),{width:E.getWidth(),height:E.getHeight()},S.get("padding"))}function p(S,E,O,T){var b=T.style,x=m.createIcon(S.get(E),T||{},new L(O[0],O[1],O[2],O[3]));return b&&x.setStyle(b),x}function A(S,E,O,T,b,x){var N=E.get("color");if(b)b.setColor(N),O.add(b),x&&x.onUpdate(b);else{var D=S.get("symbol");b=t(D,-1,-1,2,2,N),b.setStyle("strokeNoScale",!0),O.add(b),x&&x.onCreate(b)}var M=E.getItemStyle(["color","symbol","symbolSize"]);b.setStyle(M),T=d.merge({rectHover:!0,z2:100},T,!0);var R=S.get("symbolSize");R=R instanceof Array?R.slice():[+R,+R],R[0]/=2,R[1]/=2,T.scale=R;var F=S.get("symbolOffset");if(F){var B=T.position=T.position||[0,0];B[0]+=s.parsePercent(F[0],R[0]),B[1]+=s.parsePercent(F[1],R[1])}var z=S.get("symbolRotate");return T.rotation=(z||0)*Math.PI/180||0,b.attr(T),b.updateTransform(),b}function C(S,E,O,T,b){if(S.dragging)return;var x=T.getModel("checkpointStyle"),N=O.dataToCoord(T.getData().get(["value"],E));b||!x.get("animation",!0)?S.attr({position:[N,0]}):(S.stopAnimation(!0),S.animateTo({position:[N,0]},x.get("animationDuration",!0),x.get("animationEasing",!0)))}Z.exports=i},ORxg:function(Z,_,e){var d=e("HcOL"),L=e("JArH"),v=e("Ycz+"),m=e("OUY8"),y=e("0326"),w=e("uWVo"),f=Math.ceil;function a(t,o){o=o===void 0?" ":L(o);var s=o.length;if(s<2)return s?d(o,t):o;var l=d(o,f(t/y(o)));return m(o)?v(w(l),0,t).join(""):l.slice(0,t)}Z.exports=a},OUY8:function(Z,_){var e="\\ud800-\\udfff",d="\\u0300-\\u036f",L="\\ufe20-\\ufe2f",v="\\u20d0-\\u20ff",m=d+L+v,y="\\ufe0e\\ufe0f",w="\\u200d",f=RegExp("["+w+e+m+y+"]");function a(t){return f.test(t)}Z.exports=a},OeHC:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("Q6Bq"),m=e("J+4g"),y=e("nAKh"),w=e("+CNX"),f=e("Cg1W"),a=e("Q7rs"),t=e("y+8q"),o=e("Wf6A"),s=e("PyNg"),l=s.createClipPath,n=v.extendChartView({type:"lines",init:function(){},render:function(c,r,u){var i=c.getData(),h=this._updateLineDraw(i,c),p=c.get("zlevel"),A=c.get("effect.trailLength"),C=u.getZr(),S=C.painter.getType()==="svg";S||C.painter.getLayer(p).clear(!0),this._lastZlevel!=null&&!S&&C.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(c)&&A&&(S||C.configLayer(p,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(A/10+.9,1),0)})),h.updateData(i);var E=c.get("clip",!0)&&l(c.coordinateSystem,!1,c);E?this.group.setClipPath(E):this.group.removeClipPath(),this._lastZlevel=p,this._finished=!0},incrementalPrepareRender:function(c,r,u){var i=c.getData(),h=this._updateLineDraw(i,c);h.incrementalPrepareUpdate(i),this._clearLayer(u),this._finished=!1},incrementalRender:function(c,r,u){this._lineDraw.incrementalUpdate(c,r.getData()),this._finished=c.end===r.getData().count()},updateTransform:function(c,r,u){var i=c.getData(),h=c.pipelineContext;if(!this._finished||h.large||h.progressiveRender)return{update:!0};var p=o.reset(c);p.progress&&p.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(u)},_updateLineDraw:function(c,r){var u=this._lineDraw,i=this._showEffect(r),h=!!r.get("polyline"),p=r.pipelineContext,A=p.large;return(!u||i!==this._hasEffet||h!==this._isPolyline||A!==this._isLargeDraw)&&(u&&u.remove(),u=this._lineDraw=A?new t:new m(h?i?a:f:i?y:w),this._hasEffet=i,this._isPolyline=h,this._isLargeDraw=A,this.group.removeAll()),this.group.add(u.group),u},_showEffect:function(c){return!!c.get("effect.show")},_clearLayer:function(c){var r=c.getZr(),u=r.painter.getType()==="svg";!u&&this._lastZlevel!=null&&r.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(c,r){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(r)},dispose:function(){}});Z.exports=n},Og4i:function(Z,_,e){var d=e("Wr3P"),L=d.quadraticProjectPoint;function v(m,y,w,f,a,t,o,s,l){if(o===0)return!1;var n=o;if(l>y+n&&l>f+n&&l>t+n||l<y-n&&l<f-n&&l<t-n||s>m+n&&s>w+n&&s>a+n||s<m-n&&s<w-n&&s<a-n)return!1;var c=L(m,y,w,f,a,t,s,l,null);return c<=n/2}_.containStroke=v},OkCp:function(Z,_,e){(function(d){var L=w(),v=f(),m=a(),y=typeof window!="undefined"?window:d;Z.exports={assign:L,create:v,trim:m,bind:t,slice:o,each:s,map:l,pluck:n,isList:c,isFunction:r,isObject:u,Global:y};function w(){return Object.assign?Object.assign:function(h,p,A,C){for(var S=1;S<arguments.length;S++)s(Object(arguments[S]),function(E,O){h[O]=E});return h}}function f(){if(Object.create)return function(p,A,C,S){var E=o(arguments,1);return L.apply(this,[Object.create(p)].concat(E))};var i=function(){};return function(p,A,C,S){var E=o(arguments,1);return i.prototype=p,L.apply(this,[new i].concat(E))}}function a(){return String.prototype.trim?function(h){return String.prototype.trim.call(h)}:function(h){return h.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function t(i,h){return function(){return h.apply(i,Array.prototype.slice.call(arguments,0))}}function o(i,h){return Array.prototype.slice.call(i,h||0)}function s(i,h){n(i,function(p,A){return h(p,A),!1})}function l(i,h){var p=c(i)?[]:{};return n(i,function(A,C){return p[C]=h(A,C),!1}),p}function n(i,h){if(c(i)){for(var p=0;p<i.length;p++)if(h(i[p],p))return i[p]}else for(var A in i)if(i.hasOwnProperty(A)&&h(i[A],A))return i[A]}function c(i){return i!=null&&typeof i!="function"&&typeof i.length=="number"}function r(i){return i&&{}.toString.call(i)==="[object Function]"}function u(i){return i&&{}.toString.call(i)==="[object Object]"}}).call(this,e("UywP"))},OsXk:function(Z,_,e){var d=e("OkCp"),L=d.Global;Z.exports={name:"oldIE-userDataStorage",write:f,read:a,each:t,remove:o,clearAll:s};var v="storejs",m=L.document,y=c(),w=(L.navigator?L.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function f(r,u){if(w)return;var i=n(r);y(function(h){h.setAttribute(i,u),h.save(v)})}function a(r){if(w)return;var u=n(r),i=null;return y(function(h){i=h.getAttribute(u)}),i}function t(r){y(function(u){for(var i=u.XMLDocument.documentElement.attributes,h=i.length-1;h>=0;h--){var p=i[h];r(u.getAttribute(p.name),p.name)}})}function o(r){var u=n(r);y(function(i){i.removeAttribute(u),i.save(v)})}function s(){y(function(r){var u=r.XMLDocument.documentElement.attributes;r.load(v);for(var i=u.length-1;i>=0;i--)r.removeAttribute(u[i].name);r.save(v)})}var l=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function n(r){return r.replace(/^\d/,"___$&").replace(l,"___")}function c(){if(!m||!m.documentElement||!m.documentElement.addBehavior)return null;var r="script",u,i,h;try{i=new ActiveXObject("htmlfile"),i.open(),i.write("<"+r+">document.w=window</"+r+'><iframe src="/favicon.ico"></iframe>'),i.close(),u=i.w.frames[0].document,h=u.createElement("div")}catch(p){h=m.createElement("div"),u=m.body}return function(p){var A=[].slice.call(arguments,0);A.unshift(h),u.appendChild(h),h.addBehavior("#default#userData"),h.load(v),p.apply(this,A),u.removeChild(h);return}}},Owcv:function(Z,_){var e={axisPointer:1,tooltip:1,brush:1};function d(L,v,m){var y=v.getComponentByElement(L.topTarget),w=y&&y.coordinateSystem;return y&&y!==m&&!e[y.mainType]&&w&&w.model!==m}_.onIrrelevantElement=d},P0S0:function(Z,_,e){var d=e("oEo5"),L=e("gyjJ"),v=e("QV7q"),m=v.makeInner,y=e("1JkX"),w=y.enableClassExtend,f=y.enableClassCheck,a=e("qHlh"),t=e("wxYR"),o=e("3Bob"),s=e("DgNR"),l=d.mixin,n=m();function c(h,p,A){this.parentModel=p,this.ecModel=A,this.option=h}c.prototype={constructor:c,init:null,mergeOption:function(h){d.merge(this.option,h,!0)},get:function(h,p){return h==null?this.option:r(this.option,this.parsePath(h),!p&&u(this,h))},getShallow:function(h,p){var A=this.option,C=A==null?A:A[h],S=!p&&u(this,h);return C==null&&S&&(C=S.getShallow(h)),C},getModel:function(h,p){var A=h==null?this.option:r(this.option,h=this.parsePath(h)),C;return p=p||(C=u(this,h))&&C.getModel(h),new c(A,p,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var h=this.constructor;return new h(d.clone(this.option))},setReadOnly:function(h){},parsePath:function(h){return typeof h=="string"&&(h=h.split(".")),h},customizeGetParent:function(h){n(this).getParent=h},isAnimationEnabled:function(){if(!L.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function r(h,p,A){for(var C=0;C<p.length;C++){if(!p[C])continue;if(h=h&&typeof h=="object"?h[p[C]]:null,h==null)break}return h==null&&A&&(h=A.get(p)),h}function u(h,p){var A=n(h).getParent;return A?A.call(h,p):h.parentModel}w(c),f(c),l(c,a),l(c,t),l(c,o),l(c,s);var i=c;Z.exports=i},P187:function(Z,_,e){},P7pv:function(Z,_,e){var d=e("oEo5"),L=e("SGPK"),v=e("Ju7t"),m=e("SSBM"),y=m.getLayoutParams,w=m.mergeLayoutParam,f=e("sVuC"),a=["value","category","time","log"];function t(o,s,l,n){d.each(a,function(c){s.extend({type:o+"Axis."+c,mergeDefaultAndTheme:function(r,u){var i=this.layoutMode,h=i?y(r):{},p=u.getTheme();d.merge(r,p.get(c+"Axis")),d.merge(r,this.getDefaultOption()),r.type=l(o,r),i&&w(r,h,i)},optionUpdated:function(){var r=this.option;r.type==="category"&&(this.__ordinalMeta=f.createByAxisModel(this))},getCategories:function(r){var u=this.option;if(u.type==="category")return r?u.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:d.mergeAll([{},L[c+"Axis"],n],!0)})}),v.registerSubTypeDefaulter(o+"Axis",d.curry(l,o))}Z.exports=t},PJ1B:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var d=v(e("5M8n")),L=e("MPYE");function v(y){return y&&y.__esModule?y:{default:y}}var m=function(w){var f=void 0,a=[],t=function(){getComputedStyle(w).position==="static"&&(w.style.position="relative");var r=document.createElement("object");return r.onload=function(){r.contentDocument.defaultView.addEventListener("resize",o),o()},r.style.display="block",r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.height="100%",r.style.width="100%",r.style.overflow="hidden",r.style.pointerEvents="none",r.style.zIndex="-1",r.style.opacity="0",r.setAttribute("class",L.SensorClassName),r.setAttribute("tabindex",L.SensorTabIndex),r.type="text/html",w.appendChild(r),r.data="about:blank",r},o=(0,d.default)(function(){a.forEach(function(c){c(w)})}),s=function(r){f||(f=t()),a.indexOf(r)===-1&&a.push(r)},l=function(){f&&f.parentNode&&(f.contentDocument&&f.contentDocument.defaultView.removeEventListener("resize",o),f.parentNode.removeChild(f),f=void 0,a=[])},n=function(r){var u=a.indexOf(r);u!==-1&&a.splice(u,1),a.length===0&&f&&l()};return{element:w,bind:s,destroy:l,unbind:n}};_.createSensor=m},PRXW:function(Z,_){var e=/[&<>"']/,d=/[&<>"']/g,L=/[<>"']|&(?!#?\w+;)/,v=/[<>"']|&(?!#?\w+;)/g,m={"&":"&","<":"<",">":">",'"':""","'":"'"},y=function(b){return m[b]};function w(T,b){if(b){if(e.test(T))return T.replace(d,y)}else if(L.test(T))return T.replace(v,y);return T}var f=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function a(T){return T.replace(f,function(b,x){return x=x.toLowerCase(),x==="colon"?":":x.charAt(0)==="#"?x.charAt(1)==="x"?String.fromCharCode(parseInt(x.substring(2),16)):String.fromCharCode(+x.substring(1)):""})}var t=/(^|[^\[])\^/g;function o(T,b){T=T.source||T,b=b||"";var x={replace:function(D,M){return M=M.source||M,M=M.replace(t,"$1"),T=T.replace(D,M),x},getRegex:function(){return new RegExp(T,b)}};return x}var s=/[^\w:]/g,l=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function n(T,b,x){if(T){var N;try{N=decodeURIComponent(a(x)).replace(s,"").toLowerCase()}catch(D){return null}if(N.indexOf("javascript:")===0||N.indexOf("vbscript:")===0||N.indexOf("data:")===0)return null}b&&!l.test(x)&&(x=h(b,x));try{x=encodeURI(x).replace(/%25/g,"%")}catch(D){return null}return x}var c={},r=/^[^:]+:\/*[^/]*$/,u=/^([^:]+:)[\s\S]*$/,i=/^([^:]+:\/*[^/]*)[\s\S]*$/;function h(T,b){c[" "+T]||(r.test(T)?c[" "+T]=T+"/":c[" "+T]=S(T,"/",!0)),T=c[" "+T];var x=T.indexOf(":")===-1;return b.substring(0,2)==="//"?x?b:T.replace(u,"$1")+b:b.charAt(0)==="/"?x?b:T.replace(i,"$1")+b:T+b}var p={exec:function(){}};function A(T){for(var b=1,x,N;b<arguments.length;b++){x=arguments[b];for(N in x)Object.prototype.hasOwnProperty.call(x,N)&&(T[N]=x[N])}return T}function C(T,b){var x=T.replace(/\|/g,function(M,R,F){for(var B=!1,z=R;--z>=0&&F[z]==="\\";)B=!B;return B?"|":" |"}),N=x.split(/ \|/),D=0;if(N.length>b)N.splice(b);else for(;N.length<b;)N.push("");for(;D<N.length;D++)N[D]=N[D].trim().replace(/\\\|/g,"|");return N}function S(T,b,x){var N=T.length;if(N===0)return"";for(var D=0;D<N;){var M=T.charAt(N-D-1);if(M===b&&!x)D++;else if(M!==b&&x)D++;else break}return T.substr(0,N-D)}function E(T,b){if(T.indexOf(b[1])===-1)return-1;for(var x=T.length,N=0,D=0;D<x;D++)if(T[D]==="\\")D++;else if(T[D]===b[0])N++;else if(T[D]===b[1]&&(N--,N<0))return D;return-1}function O(T){T&&T.sanitize&&!T.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}Z.exports={escape:w,unescape:a,edit:o,cleanUrl:n,resolveUrl:h,noopTest:p,merge:A,splitCells:C,rtrim:S,findClosingBracket:E,checkSanitizeDeprecation:O}},PUaD:function(Z,_,e){var d=e("oEo5"),L=e("Ju7t"),v=e("SSBM"),m=v.getLayoutParams,y=v.sizeCalculable,w=v.mergeLayoutParam,f=L.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(o,s,l,n){var c=m(o);f.superApply(this,"init",arguments),a(o,c)},mergeOption:function(o,s){f.superApply(this,"mergeOption",arguments),a(this.option,o)}});function a(o,s){var l=o.cellSize;d.isArray(l)?l.length===1&&(l[1]=l[0]):l=o.cellSize=[l,l];var n=d.map([0,1],function(c){return y(s,c)&&(l[c]="auto"),l[c]!=null&&l[c]!=="auto"});w(o,s,{type:"box",ignoreSize:n})}var t=f;Z.exports=t},Pf5J:function(Z,_){function e(){return!1}Z.exports=e},PvHz:function(Z,_){var e=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(d){setTimeout(d,16)};Z.exports=e},PwtB:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};_.default=d},PyNg:function(Z,_,e){var d=e("zYjg"),L=e("Jjzi"),v=L.round;function m(f,a,t){var o=f.getArea(),s=f.getBaseAxis().isHorizontal(),l=o.x,n=o.y,c=o.width,r=o.height,u=t.get("lineStyle.width")||2;l-=u/2,n-=u/2,c+=u,r+=u,l=Math.floor(l),c=Math.round(c);var i=new d.Rect({shape:{x:l,y:n,width:c,height:r}});return a&&(i.shape[s?"width":"height"]=0,d.initProps(i,{shape:{width:c,height:r}},t)),i}function y(f,a,t){var o=f.getArea(),s=new d.Sector({shape:{cx:v(f.cx,1),cy:v(f.cy,1),r0:v(o.r0,1),r:v(o.r,1),startAngle:o.startAngle,endAngle:o.endAngle,clockwise:o.clockwise}});return a&&(s.shape.endAngle=o.startAngle,d.initProps(s,{shape:{endAngle:o.endAngle}},t)),s}function w(f,a,t){if(f){if(f.type==="polar")return y(f,a,t);if(f.type==="cartesian2d")return m(f,a,t)}else return null;return null}_.createGridClipPath=m,_.createPolarClipPath=y,_.createClipPath=w},Q1Fo:function(Z,_,e){},Q4TL:function(Z,_,e){var d=e("Q6Bq");e("DmDI"),e("T1Cw");var L=e("pMHC"),v=e("7lsH");e("Kuav"),d.registerVisual(L("scatter","circle")),d.registerLayout(v("scatter"))},Q6Bq:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("qp2x"),m=e("oEo5"),y=e("XTQn"),w=e("gyjJ"),f=e("AMOU"),a=e("diXd"),t=e("RNwL"),o=e("H1MY"),s=e("kN/v"),l=e("nGzk"),n=e("pF/x"),c=e("W9tF"),r=e("Ju7t"),u=e("+Vnd"),i=e("5sjV"),h=e("F62y"),p=e("zYjg"),A=e("QV7q"),C=e("cARS"),S=C.throttle,E=e("temQ"),O=e("nbNA"),T=e("U3UR"),b=e("SXou"),x=e("W/V8"),N=e("d4iy");e("lENJ");var D=e("ICLB"),M=m.assert,R=m.each,F=m.isFunction,B=m.isObject,z=r.parseClassType,U="4.9.0",K={zrender:"4.3.2"},W=1,H=1e3,Y=800,Q=900,P=5e3,G=1e3,J=1100,he=2e3,te=3e3,pe=3500,we=4e3,be=5e3,Qe={PROCESSOR:{FILTER:H,SERIES_FILTER:Y,STATISTIC:P},VISUAL:{LAYOUT:G,PROGRESSIVE_LAYOUT:J,GLOBAL:he,CHART:te,POST_CHART_LAYOUT:pe,COMPONENT:we,BRUSH:be}},$e="__flagInMainProcess",yt="__optionUpdated",Fe=/^[a-zA-Z0-9_]+$/;function Pe(Ke,nt){return function(Ge,ct,ht){if(!nt&&this._disposed){Nt(this.id);return}Ge=Ge&&Ge.toLowerCase(),a.prototype[Ke].call(this,Ge,ct,ht)}}function gt(){a.call(this)}gt.prototype.on=Pe("on",!0),gt.prototype.off=Pe("off",!0),gt.prototype.one=Pe("one",!0),m.mixin(gt,a);function it(Ke,nt,Ge){Ge=Ge||{},typeof nt=="string"&&(nt=Pt[nt]),this.id,this.group,this._dom=Ke;var ct="canvas",ht=this._zr=v.init(Ke,{renderer:Ge.renderer||ct,devicePixelRatio:Ge.devicePixelRatio,width:Ge.width,height:Ge.height});this._throttledZrFlush=S(m.bind(ht.flush,ht),17);var nt=m.clone(nt);nt&&n(nt,!0),this._theme=nt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new s;var ut=this._api=ze(this);function We(tt,ft){return tt.__prio-ft.__prio}f(zt,We),f(_e,We),this._scheduler=new b(this,ut,_e,zt),a.call(this,this._ecEventProcessor=new re),this._messageCenter=new gt,this._initEvents(),this.resize=m.bind(this.resize,this),this._pendingActions=[],ht.animation.on("frame",this._onframe,this),at(ht,this),m.setAsPrimitive(this)}var qe=it.prototype;qe._onframe=function(){if(this._disposed)return;var Ke=this._scheduler;if(this[yt]){var nt=this[yt].silent;this[$e]=!0,wt(this),dt.update.call(this),this[$e]=!1,this[yt]=!1,Re.call(this,nt),Le.call(this,nt)}else if(Ke.unfinished){var Ge=W,ct=this._model,ht=this._api;Ke.unfinished=!1;do{var ut=+new Date;Ke.performSeriesTasks(ct),Ke.performDataProcessorTasks(ct),mt(this,ct),Ke.performVisualTasks(ct),Vt(this,this._model,ht,"remain"),Ge-=+new Date-ut}while(Ge>0&&Ke.unfinished);Ke.unfinished||this._zr.flush()}},qe.getDom=function(){return this._dom},qe.getZr=function(){return this._zr},qe.setOption=function(Ke,nt,Ge){if(this._disposed){Nt(this.id);return}var ct;if(B(nt)&&(Ge=nt.lazyUpdate,ct=nt.silent,nt=nt.notMerge),this[$e]=!0,!this._model||nt){var ht=new l(this._api),ut=this._theme,We=this._model=new t;We.scheduler=this._scheduler,We.init(null,null,ut,ht)}this._model.setOption(Ke,je),Ge?(this[yt]={silent:ct},this[$e]=!1):(wt(this),dt.update.call(this),this._zr.flush(),this[yt]=!1,this[$e]=!1,Re.call(this,ct),Le.call(this,ct))},qe.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},qe.getModel=function(){return this._model},qe.getOption=function(){return this._model&&this._model.getOption()},qe.getWidth=function(){return this._zr.getWidth()},qe.getHeight=function(){return this._zr.getHeight()},qe.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},qe.getRenderedCanvas=function(Ke){if(!w.canvasSupported)return;Ke=Ke||{},Ke.pixelRatio=Ke.pixelRatio||1,Ke.backgroundColor=Ke.backgroundColor||this._model.get("backgroundColor");var nt=this._zr;return nt.painter.getRenderedCanvas(Ke)},qe.getSvgDataURL=function(){if(!w.svgSupported)return;var Ke=this._zr,nt=Ke.storage.getDisplayList();return m.each(nt,function(Ge){Ge.stopAnimation(!0)}),Ke.painter.toDataURL()},qe.getDataURL=function(Ke){if(this._disposed){Nt(this.id);return}Ke=Ke||{};var nt=Ke.excludeComponents,Ge=this._model,ct=[],ht=this;R(nt,function(We){Ge.eachComponent({mainType:We},function(tt){var ft=ht._componentsMap[tt.__viewId];ft.group.ignore||(ct.push(ft),ft.group.ignore=!0)})});var ut=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(Ke).toDataURL("image/"+(Ke&&Ke.type||"png"));return R(ct,function(We){We.group.ignore=!1}),ut},qe.getConnectedDataURL=function(Ke){if(this._disposed){Nt(this.id);return}if(!w.canvasSupported)return;var nt=Ke.type==="svg",Ge=this.group,ct=Math.min,ht=Math.max,ut=Infinity;if(Kt[Ge]){var We=ut,tt=ut,ft=-ut,Yt=-ut,Dt=[],vr=Ke&&Ke.pixelRatio||1;m.each(or,function(xr,Vr){if(xr.group===Ge){var Or=nt?xr.getZr().painter.getSvgDom().innerHTML:xr.getRenderedCanvas(m.clone(Ke)),nr=xr.getDom().getBoundingClientRect();We=ct(nr.left,We),tt=ct(nr.top,tt),ft=ht(nr.right,ft),Yt=ht(nr.bottom,Yt),Dt.push({dom:Or,left:nr.left,top:nr.top})}}),We*=vr,tt*=vr,ft*=vr,Yt*=vr;var yr=ft-We,Dr=Yt-tt,Rr=m.createCanvas(),Jr=v.init(Rr,{renderer:nt?"svg":"canvas"});if(Jr.resize({width:yr,height:Dr}),nt){var $r="";return R(Dt,function(xr){var Vr=xr.left-We,Or=xr.top-tt;$r+='<g transform="translate('+Vr+","+Or+')">'+xr.dom+"</g>"}),Jr.painter.getSvgRoot().innerHTML=$r,Ke.connectedBackgroundColor&&Jr.painter.setBackgroundColor(Ke.connectedBackgroundColor),Jr.refreshImmediately(),Jr.painter.toDataURL()}else return Ke.connectedBackgroundColor&&Jr.add(new p.Rect({shape:{x:0,y:0,width:yr,height:Dr},style:{fill:Ke.connectedBackgroundColor}})),R(Dt,function(xr){var Vr=new p.Image({style:{x:xr.left*vr-We,y:xr.top*vr-tt,image:xr.dom}});Jr.add(Vr)}),Jr.refreshImmediately(),Rr.toDataURL("image/"+(Ke&&Ke.type||"png"))}else return this.getDataURL(Ke)},qe.convertToPixel=m.curry(At,"convertToPixel"),qe.convertFromPixel=m.curry(At,"convertFromPixel");function At(Ke,nt,Ge){if(this._disposed){Nt(this.id);return}var ct=this._model,ht=this._coordSysMgr.getCoordinateSystems(),ut;nt=A.parseFinder(ct,nt);for(var We=0;We<ht.length;We++){var tt=ht[We];if(tt[Ke]&&(ut=tt[Ke](ct,nt,Ge))!=null)return ut}}qe.containPixel=function(Ke,nt){if(this._disposed){Nt(this.id);return}var Ge=this._model,ct;return Ke=A.parseFinder(Ge,Ke),m.each(Ke,function(ht,ut){ut.indexOf("Models")>=0&&m.each(ht,function(We){var tt=We.coordinateSystem;if(tt&&tt.containPoint)ct|=!!tt.containPoint(nt);else if(ut==="seriesModels"){var ft=this._chartsMap[We.__viewId];ft&&ft.containPoint&&(ct|=ft.containPoint(nt,We))}},this)},this),!!ct},qe.getVisual=function(Ke,nt){var Ge=this._model;Ke=A.parseFinder(Ge,Ke,{defaultMainType:"series"});var ct=Ke.seriesModel,ht=ct.getData(),ut=Ke.hasOwnProperty("dataIndexInside")?Ke.dataIndexInside:Ke.hasOwnProperty("dataIndex")?ht.indexOfRawIndex(Ke.dataIndex):null;return ut!=null?ht.getItemVisual(ut,nt):ht.getVisual(nt)},qe.getViewOfComponentModel=function(Ke){return this._componentsMap[Ke.__viewId]},qe.getViewOfSeriesModel=function(Ke){return this._chartsMap[Ke.__viewId]};var dt={prepareAndUpdate:function(Ke){wt(this),dt.update.call(this,Ke)},update:function(Ke){var nt=this._model,Ge=this._api,ct=this._zr,ht=this._coordSysMgr,ut=this._scheduler;if(!nt)return;ut.restoreData(nt,Ke),ut.performSeriesTasks(nt),ht.create(nt,Ge),ut.performDataProcessorTasks(nt,Ke),mt(this,nt),ht.update(nt,Ge),Tt(nt),ut.performVisualTasks(nt,Ke),Ft(this,nt,Ge,Ke);var We=nt.get("backgroundColor")||"transparent";if(w.canvasSupported)ct.setBackgroundColor(We);else{var tt=y.parse(We);We=y.stringify(tt,"rgb"),tt[3]===0&&(We="transparent")}bt(nt,Ge)},updateTransform:function(Ke){var nt=this._model,Ge=this,ct=this._api;if(!nt)return;var ht=[];nt.eachComponent(function(We,tt){var ft=Ge.getViewOfComponentModel(tt);if(ft&&ft.__alive)if(ft.updateTransform){var Yt=ft.updateTransform(tt,nt,ct,Ke);Yt&&Yt.update&&ht.push(ft)}else ht.push(ft)});var ut=m.createHashMap();nt.eachSeries(function(We){var tt=Ge._chartsMap[We.__viewId];if(tt.updateTransform){var ft=tt.updateTransform(We,nt,ct,Ke);ft&&ft.update&&ut.set(We.uid,1)}else ut.set(We.uid,1)}),Tt(nt),this._scheduler.performVisualTasks(nt,Ke,{setDirty:!0,dirtyMap:ut}),Vt(Ge,nt,ct,Ke,ut),bt(nt,this._api)},updateView:function(Ke){var nt=this._model;if(!nt)return;h.markUpdateMethod(Ke,"updateView"),Tt(nt),this._scheduler.performVisualTasks(nt,Ke,{setDirty:!0}),Ft(this,this._model,this._api,Ke),bt(nt,this._api)},updateVisual:function(Ke){dt.update.call(this,Ke)},updateLayout:function(Ke){dt.update.call(this,Ke)}};function wt(Ke){var nt=Ke._model,Ge=Ke._scheduler;Ge.restorePipelines(nt),Ge.prepareStageTasks(),Ot(Ke,"component",nt,Ge),Ot(Ke,"chart",nt,Ge),Ge.plan()}function Ye(Ke,nt,Ge,ct,ht){var ut=Ke._model;if(!ct){R(Ke._componentsViews.concat(Ke._chartsViews),Yt);return}var We={};We[ct+"Id"]=Ge[ct+"Id"],We[ct+"Index"]=Ge[ct+"Index"],We[ct+"Name"]=Ge[ct+"Name"];var tt={mainType:ct,query:We};ht&&(tt.subType=ht);var ft=Ge.excludeSeriesId;ft!=null&&(ft=m.createHashMap(A.normalizeToArray(ft))),ut&&ut.eachComponent(tt,function(Dt){(!ft||ft.get(Dt.id)==null)&&Yt(Ke[ct==="series"?"_chartsMap":"_componentsMap"][Dt.__viewId])},Ke);function Yt(Dt){Dt&&Dt.__alive&&Dt[nt]&&Dt[nt](Dt.__model,ut,Ke._api,Ge)}}qe.resize=function(Ke){if(this._disposed){Nt(this.id);return}this._zr.resize(Ke);var nt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!nt)return;var Ge=nt.resetOption("media"),ct=Ke&&Ke.silent;this[$e]=!0,Ge&&wt(this),dt.update.call(this),this[$e]=!1,Re.call(this,ct),Le.call(this,ct)};function mt(Ke,nt){var Ge=Ke._chartsMap,ct=Ke._scheduler;nt.eachSeries(function(ht){ct.updateStreamModes(ht,Ge[ht.__viewId])})}qe.showLoading=function(Ke,nt){if(this._disposed){Nt(this.id);return}if(B(Ke)&&(nt=Ke,Ke=""),Ke=Ke||"default",this.hideLoading(),!qt[Ke])return;var Ge=qt[Ke](this._api,nt),ct=this._zr;this._loadingFX=Ge,ct.add(Ge)},qe.hideLoading=function(){if(this._disposed){Nt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},qe.makeActionFromEvent=function(Ke){var nt=m.extend({},Ke);return nt.type=Xe[Ke.type],nt},qe.dispatchAction=function(Ke,nt){if(this._disposed){Nt(this.id);return}if(B(nt)||(nt={silent:!!nt}),!le[Ke.type])return;if(!this._model)return;if(this[$e]){this._pendingActions.push(Ke);return}Ue.call(this,Ke,nt.silent),nt.flush?this._zr.flush(!0):nt.flush!==!1&&w.browser.weChat&&this._throttledZrFlush(),Re.call(this,nt.silent),Le.call(this,nt.silent)};function Ue(Ke,nt){var Ge=Ke.type,ct=Ke.escapeConnect,ht=le[Ge],ut=ht.actionInfo,We=(ut.update||"update").split(":"),tt=We.pop();We=We[0]!=null&&z(We[0]),this[$e]=!0;var ft=[Ke],Yt=!1;Ke.batch&&(Yt=!0,ft=m.map(Ke.batch,function(Dr){return Dr=m.defaults(m.extend({},Dr),Ke),Dr.batch=null,Dr}));var Dt=[],vr,yr=Ge==="highlight"||Ge==="downplay";R(ft,function(Dr){vr=ht.action(Dr,this._model,this._api),vr=vr||m.extend({},Dr),vr.type=ut.event||vr.type,Dt.push(vr),yr?Ye(this,tt,Dr,"series"):We&&Ye(this,tt,Dr,We.main,We.sub)},this),tt!=="none"&&!yr&&!We&&(this[yt]?(wt(this),dt.update.call(this,Ke),this[yt]=!1):dt[tt].call(this,Ke)),Yt?vr={type:ut.event||Ge,escapeConnect:ct,batch:Dt}:vr=Dt[0],this[$e]=!1,!nt&&this._messageCenter.trigger(vr.type,vr)}function Re(Ke){for(var nt=this._pendingActions;nt.length;){var Ge=nt.shift();Ue.call(this,Ge,Ke)}}function Le(Ke){!Ke&&this.trigger("updated")}function at(Ke,nt){Ke.on("rendered",function(){nt.trigger("rendered"),Ke.animation.isFinished()&&!nt[yt]&&!nt._scheduler.unfinished&&!nt._pendingActions.length&&nt.trigger("finished")})}qe.appendData=function(Ke){if(this._disposed){Nt(this.id);return}var nt=Ke.seriesIndex,Ge=this.getModel(),ct=Ge.getSeriesByIndex(nt);ct.appendData(Ke),this._scheduler.unfinished=!0},qe.on=Pe("on",!1),qe.off=Pe("off",!1),qe.one=Pe("one",!1);function Ot(Ke,nt,Ge,ct){for(var ht=nt==="component",ut=ht?Ke._componentsViews:Ke._chartsViews,We=ht?Ke._componentsMap:Ke._chartsMap,tt=Ke._zr,ft=Ke._api,Yt=0;Yt<ut.length;Yt++)ut[Yt].__alive=!1;ht?Ge.eachComponent(function(yr,Dr){yr!=="series"&&Dt(Dr)}):Ge.eachSeries(Dt);function Dt(yr){var Dr="_ec_"+yr.id+"_"+yr.type,Rr=We[Dr];if(!Rr){var Jr=z(yr.type),$r=ht?i.getClass(Jr.main,Jr.sub):h.getClass(Jr.sub);Rr=new $r,Rr.init(Ge,ft),We[Dr]=Rr,ut.push(Rr),tt.add(Rr.group)}yr.__viewId=Rr.__id=Dr,Rr.__alive=!0,Rr.__model=yr,Rr.group.__ecComponentInfo={mainType:yr.mainType,index:yr.componentIndex},!ht&&ct.prepareView(Rr,yr,Ge,ft)}for(var Yt=0;Yt<ut.length;){var vr=ut[Yt];vr.__alive?Yt++:(!ht&&vr.renderTask.dispose(),tt.remove(vr.group),vr.dispose(Ge,ft),ut.splice(Yt,1),delete We[vr.__id],vr.__id=vr.group.__ecComponentInfo=null)}}function Tt(Ke){Ke.clearColorPalette(),Ke.eachSeries(function(nt){nt.clearColorPalette()})}function Ft(Ke,nt,Ge,ct){ke(Ke,nt,Ge,ct),R(Ke._chartsViews,function(ht){ht.__alive=!1}),Vt(Ke,nt,Ge,ct),R(Ke._chartsViews,function(ht){ht.__alive||ht.remove(nt,Ge)})}function ke(Ke,nt,Ge,ct,ht){R(ht||Ke._componentsViews,function(ut){var We=ut.__model;ut.render(We,nt,Ge,ct),Ze(We,ut)})}function Vt(Ke,nt,Ge,ct,ht){var ut=Ke._scheduler,We;nt.eachSeries(function(tt){var ft=Ke._chartsMap[tt.__viewId];ft.__alive=!0;var Yt=ft.renderTask;ut.updatePayload(Yt,ct),ht&&ht.get(tt.uid)&&Yt.dirty(),We|=Yt.perform(ut.getPerformArgs(Yt)),ft.group.silent=!!tt.get("silent"),Ze(tt,ft),Ut(tt,ft)}),ut.unfinished|=We,xt(Ke,nt),O(Ke._zr.dom,nt)}function bt(Ke,nt){R(ar,function(Ge){Ge(Ke,nt)})}var Rt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];qe._initEvents=function(){R(Rt,function(Ke){var nt=function(Ge){var ct=this.getModel(),ht=Ge.target,ut,We=Ke==="globalout";if(We)ut={};else if(ht&&ht.dataIndex!=null){var tt=ht.dataModel||ct.getSeriesByIndex(ht.seriesIndex);ut=tt&&tt.getDataParams(ht.dataIndex,ht.dataType,ht)||{}}else ht&&ht.eventData&&(ut=m.extend({},ht.eventData));if(ut){var ft=ut.componentType,Yt=ut.componentIndex;(ft==="markLine"||ft==="markPoint"||ft==="markArea")&&(ft="series",Yt=ut.seriesIndex);var Dt=ft&&Yt!=null&&ct.getComponent(ft,Yt),vr=Dt&&this[Dt.mainType==="series"?"_chartsMap":"_componentsMap"][Dt.__viewId];ut.event=Ge,ut.type=Ke,this._ecEventProcessor.eventInfo={targetEl:ht,packedEvent:ut,model:Dt,view:vr},this.trigger(Ke,ut)}};nt.zrEventfulCallAtLast=!0,this._zr.on(Ke,nt,this)},this),R(Xe,function(Ke,nt){this._messageCenter.on(nt,function(Ge){this.trigger(nt,Ge)},this)},this)},qe.isDisposed=function(){return this._disposed},qe.clear=function(){if(this._disposed){Nt(this.id);return}this.setOption({series:[]},!0)},qe.dispose=function(){if(this._disposed){Nt(this.id);return}this._disposed=!0,A.setAttribute(this.getDom(),ce,"");var Ke=this._api,nt=this._model;R(this._componentsViews,function(Ge){Ge.dispose(nt,Ke)}),R(this._chartsViews,function(Ge){Ge.dispose(nt,Ke)}),this._zr.dispose(),delete or[this.id]},m.mixin(it,a);function Nt(Ke){}function xt(Ke,nt){var Ge=Ke._zr,ct=Ge.storage,ht=0;ct.traverse(function(ut){ht++}),ht>nt.get("hoverLayerThreshold")&&!w.node&&nt.eachSeries(function(ut){if(ut.preventUsingHoverLayer)return;var We=Ke._chartsMap[ut.__viewId];We.__alive&&We.group.traverse(function(tt){tt.useHoverLayer=!0})})}function Ut(Ke,nt){var Ge=Ke.get("blendMode")||null;nt.group.traverse(function(ct){ct.isGroup||ct.style.blend!==Ge&&ct.setStyle("blend",Ge),ct.eachPendingDisplayable&&ct.eachPendingDisplayable(function(ht){ht.setStyle("blend",Ge)})})}function Ze(Ke,nt){var Ge=Ke.get("z"),ct=Ke.get("zlevel");nt.group.traverse(function(ht){ht.type!=="group"&&(Ge!=null&&(ht.z=Ge),ct!=null&&(ht.zlevel=ct))})}function ze(Ke){var nt=Ke._coordSysMgr;return m.extend(new o(Ke),{getCoordinateSystems:m.bind(nt.getCoordinateSystems,nt),getComponentByElement:function(Ge){for(;Ge;){var ct=Ge.__ecComponentInfo;if(ct!=null)return Ke._model.getComponent(ct.mainType,ct.index);Ge=Ge.parent}}})}function re(){this.eventInfo}re.prototype={constructor:re,normalizeQuery:function(Ke){var nt={},Ge={},ct={};if(m.isString(Ke)){var ht=z(Ke);nt.mainType=ht.main||null,nt.subType=ht.sub||null}else{var ut=["Index","Name","Id"],We={name:1,dataIndex:1,dataType:1};m.each(Ke,function(tt,ft){for(var Yt=!1,Dt=0;Dt<ut.length;Dt++){var vr=ut[Dt],yr=ft.lastIndexOf(vr);if(yr>0&&yr===ft.length-vr.length){var Dr=ft.slice(0,yr);Dr!=="data"&&(nt.mainType=Dr,nt[vr.toLowerCase()]=tt,Yt=!0)}}We.hasOwnProperty(ft)&&(Ge[ft]=tt,Yt=!0),Yt||(ct[ft]=tt)})}return{cptQuery:nt,dataQuery:Ge,otherQuery:ct}},filter:function(Ke,nt,Ge){var ct=this.eventInfo;if(!ct)return!0;var ht=ct.targetEl,ut=ct.packedEvent,We=ct.model,tt=ct.view;if(!We||!tt)return!0;var ft=nt.cptQuery,Yt=nt.dataQuery;return Dt(ft,We,"mainType")&&Dt(ft,We,"subType")&&Dt(ft,We,"index","componentIndex")&&Dt(ft,We,"name")&&Dt(ft,We,"id")&&Dt(Yt,ut,"name")&&Dt(Yt,ut,"dataIndex")&&Dt(Yt,ut,"dataType")&&(!tt.filterForExposedEvent||tt.filterForExposedEvent(Ke,nt.otherQuery,ht,ut));function Dt(vr,yr,Dr,Rr){return vr[Dr]==null||yr[Rr||Dr]===vr[Dr]}},afterTrigger:function(){this.eventInfo=null}};var le={},Xe={},_e=[],je=[],ar=[],zt=[],Pt={},qt={},or={},Kt={},Mt=new Date-0,me=new Date-0,ce="_echarts_instance_";function ae(Ke){var nt=0,Ge=1,ct=2,ht="__connectUpdateStatus";function ut(We,tt){for(var ft=0;ft<We.length;ft++){var Yt=We[ft];Yt[ht]=tt}}R(Xe,function(We,tt){Ke._messageCenter.on(tt,function(ft){if(Kt[Ke.group]&&Ke[ht]!==nt){if(ft&&ft.escapeConnect)return;var Yt=Ke.makeActionFromEvent(ft),Dt=[];R(or,function(vr){vr!==Ke&&vr.group===Ke.group&&Dt.push(vr)}),ut(Dt,nt),R(Dt,function(vr){vr[ht]!==Ge&&vr.dispatchAction(Yt)}),ut(Dt,ct)}})})}function de(Ke,nt,Ge){var ct=Ee(Ke);if(ct)return ct;var ht=new it(Ke,nt,Ge);return ht.id="ec_"+Mt++,or[ht.id]=ht,A.setAttribute(Ke,ce,ht.id),ae(ht),ht}function Se(Ke){if(m.isArray(Ke)){var nt=Ke;Ke=null,R(nt,function(Ge){Ge.group!=null&&(Ke=Ge.group)}),Ke=Ke||"g_"+me++,R(nt,function(Ge){Ge.group=Ke})}return Kt[Ke]=!0,Ke}function Ce(Ke){Kt[Ke]=!1}var Ie=Ce;function Te(Ke){typeof Ke=="string"?Ke=or[Ke]:Ke instanceof it||(Ke=Ee(Ke)),Ke instanceof it&&!Ke.isDisposed()&&Ke.dispose()}function Ee(Ke){return or[A.getAttribute(Ke,ce)]}function He(Ke){return or[Ke]}function st(Ke,nt){Pt[Ke]=nt}function vt(Ke){je.push(Ke)}function ee(Ke,nt){Me(_e,Ke,nt,H)}function oe(Ke){ar.push(Ke)}function k(Ke,nt,Ge){typeof nt=="function"&&(Ge=nt,nt="");var ct=B(Ke)?Ke.type:[Ke,Ke={event:nt}][0];Ke.event=(Ke.event||ct).toLowerCase(),nt=Ke.event,M(Fe.test(ct)&&Fe.test(nt)),le[ct]||(le[ct]={action:Ge,actionInfo:Ke}),Xe[nt]=ct}function $(Ke,nt){s.register(Ke,nt)}function se(Ke){var nt=s.get(Ke);if(nt)return nt.getDimensionsInfo?nt.getDimensionsInfo():nt.dimensions.slice()}function ge(Ke,nt){Me(zt,Ke,nt,G,"layout")}function Ae(Ke,nt){Me(zt,Ke,nt,te,"visual")}function Me(Ke,nt,Ge,ct,ht){(F(nt)||B(nt))&&(Ge=nt,nt=ct);var ut=b.wrapStageHandler(Ge,ht);return ut.__prio=nt,ut.__raw=Ge,Ke.push(ut),ut}function et(Ke,nt){qt[Ke]=nt}function Wt(Ke){return r.extend(Ke)}function er(Ke){return i.extend(Ke)}function Ct(Ke){return u.extend(Ke)}function Ht(Ke){return h.extend(Ke)}function kt(Ke){m.$override("createCanvas",Ke)}function Zt(Ke,nt,Ge){D.registerMap(Ke,nt,Ge)}function Et(Ke){var nt=D.retrieveMap(Ke);return nt&&nt[0]&&{geoJson:nt[0].geoJSON,specialAreas:nt[0].specialAreas}}Ae(he,E),vt(n),ee(Q,c),et("default",T),k({type:"highlight",event:"highlight",update:"highlight"},m.noop),k({type:"downplay",event:"downplay",update:"downplay"},m.noop),st("light",x),st("dark",N);var ur={};_.version=U,_.dependencies=K,_.PRIORITY=Qe,_.init=de,_.connect=Se,_.disConnect=Ce,_.disconnect=Ie,_.dispose=Te,_.getInstanceByDom=Ee,_.getInstanceById=He,_.registerTheme=st,_.registerPreprocessor=vt,_.registerProcessor=ee,_.registerPostUpdate=oe,_.registerAction=k,_.registerCoordinateSystem=$,_.getCoordinateSystemDimensions=se,_.registerLayout=ge,_.registerVisual=Ae,_.registerLoading=et,_.extendComponentModel=Wt,_.extendComponentView=er,_.extendSeriesModel=Ct,_.extendChartView=Ht,_.setCanvasCreator=kt,_.registerMap=Zt,_.getMap=Et,_.dataTool=ur;var rr=e("4i2E");(function(){for(var Ke in rr)rr.hasOwnProperty(Ke)&&(_[Ke]=rr[Ke])})()},Q7rs:function(Z,_,e){var d=e("Cg1W"),L=e("oEo5"),v=e("nAKh"),m=e("Wa83");function y(a,t,o){v.call(this,a,t,o),this._lastFrame=0,this._lastFramePercent=0}var w=y.prototype;w.createLine=function(a,t,o){return new d(a,t,o)},w.updateAnimationPoints=function(a,t){this._points=t;for(var o=[0],s=0,l=1;l<t.length;l++){var n=t[l-1],c=t[l];s+=m.dist(n,c),o.push(s)}if(s===0)return;for(var l=0;l<o.length;l++)o[l]/=s;this._offsets=o,this._length=s},w.getLineLength=function(a){return this._length},w.updateSymbolPosition=function(a){var t=a.__t,o=this._points,s=this._offsets,l=o.length;if(!s)return;var n=this._lastFrame,c;if(t<this._lastFramePercent){var r=Math.min(n+1,l-1);for(c=r;c>=0&&!(s[c]<=t);c--);c=Math.min(c,l-2)}else{for(var c=n;c<l&&!(s[c]>t);c++);c=Math.min(c-1,l-2)}m.lerp(a.position,o[c],o[c+1],(t-s[c])/(s[c+1]-s[c]));var u=o[c+1][0]-o[c][0],i=o[c+1][1]-o[c][1];a.rotation=-Math.atan2(i,u)-Math.PI/2,this._lastFrame=c,this._lastFramePercent=t,a.ignore=!1},L.inherits(y,v);var f=y;Z.exports=f},Q8DI:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5");e("kw3B"),e("TzWj"),e("s3Ku"),e("RM5q");function v(m,y){y.update="updateView",d.registerAction(y,function(w,f){var a={};return f.eachComponent({mainType:"geo",query:w},function(t){t[m](w.name);var o=t.coordinateSystem;L.each(o.regions,function(s){a[s.name]=t.isSelected(s.name)||!1})}),{selected:a,name:w.name}})}v("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),v("select",{type:"geoSelect",event:"geoselected"}),v("unSelect",{type:"geoUnSelect",event:"geounselected"})},Q8HS:function(Z,_,e){var d=e("oEo5");function L(v){var m=[];d.each(v.series,function(y){y&&y.type==="map"&&(m.push(y),y.map=y.map||y.mapType,d.defaults(y,y.mapLocation))})}Z.exports=L},QAa3:function(Z,_,e){var d=e("zYjg"),L=e("Q6Bq"),v=e("oEo5"),m=["itemStyle","opacity"],y=["emphasis","itemStyle","opacity"],w=["lineStyle","opacity"],f=["emphasis","lineStyle","opacity"];function a(c,r){return c.getVisual("opacity")||c.getModel().get(r)}function t(c,r,u){var i=c.getGraphicEl(),h=a(c,r);u!=null&&(h==null&&(h=1),h*=u),i.downplay&&i.downplay(),i.traverse(function(p){p.type!=="group"&&p.setStyle("opacity",h)})}function o(c,r){var u=a(c,r),i=c.getGraphicEl();i.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",u)}),i.highlight&&i.highlight()}var s=d.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(c,r){var u=r.extent;c.moveTo(r.x1,r.y1),c.bezierCurveTo(r.cpx1,r.cpy1,r.cpx2,r.cpy2,r.x2,r.y2),r.orient==="vertical"?(c.lineTo(r.x2+u,r.y2),c.bezierCurveTo(r.cpx2+u,r.cpy2,r.cpx1+u,r.cpy1,r.x1+u,r.y1)):(c.lineTo(r.x2,r.y2+u),c.bezierCurveTo(r.cpx2,r.cpy2+u,r.cpx1,r.cpy1+u,r.x1,r.y1+u)),c.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),l=L.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(c,r,u){var i=this,h=c.getGraph(),p=this.group,A=c.layoutInfo,C=A.width,S=A.height,E=c.getData(),O=c.getData("edge"),T=c.get("orient");this._model=c,p.removeAll(),p.attr("position",[A.x,A.y]),h.eachEdge(function(b){var x=new s;x.dataIndex=b.dataIndex,x.seriesIndex=c.seriesIndex,x.dataType="edge";var N=b.getModel("lineStyle"),D=N.get("curveness"),M=b.node1.getLayout(),R=b.node1.getModel(),F=R.get("localX"),B=R.get("localY"),z=b.node2.getLayout(),U=b.node2.getModel(),K=U.get("localX"),W=U.get("localY"),H=b.getLayout(),Y,Q,P,G,J,he,te,pe;x.shape.extent=Math.max(1,H.dy),x.shape.orient=T,T==="vertical"?(Y=(F!=null?F*C:M.x)+H.sy,Q=(B!=null?B*S:M.y)+M.dy,P=(K!=null?K*C:z.x)+H.ty,G=W!=null?W*S:z.y,J=Y,he=Q*(1-D)+G*D,te=P,pe=Q*D+G*(1-D)):(Y=(F!=null?F*C:M.x)+M.dx,Q=(B!=null?B*S:M.y)+H.sy,P=K!=null?K*C:z.x,G=(W!=null?W*S:z.y)+H.ty,J=Y*(1-D)+P*D,he=Q,te=Y*D+P*(1-D),pe=G),x.setShape({x1:Y,y1:Q,x2:P,y2:G,cpx1:J,cpy1:he,cpx2:te,cpy2:pe}),x.setStyle(N.getItemStyle());switch(x.style.fill){case"source":x.style.fill=b.node1.getVisual("color");break;case"target":x.style.fill=b.node2.getVisual("color");break}d.setHoverStyle(x,b.getModel("emphasis.lineStyle").getItemStyle()),p.add(x),O.setItemGraphicEl(b.dataIndex,x)}),h.eachNode(function(b){var x=b.getLayout(),N=b.getModel(),D=N.get("localX"),M=N.get("localY"),R=N.getModel("label"),F=N.getModel("emphasis.label"),B=new d.Rect({shape:{x:D!=null?D*C:x.x,y:M!=null?M*S:x.y,width:x.dx,height:x.dy},style:N.getModel("itemStyle").getItemStyle()}),z=b.getModel("emphasis.itemStyle").getItemStyle();d.setLabelStyle(B.style,z,R,F,{labelFetcher:c,labelDataIndex:b.dataIndex,defaultText:b.id,isRectText:!0}),B.setStyle("fill",b.getVisual("color")),d.setHoverStyle(B,z),p.add(B),E.setItemGraphicEl(b.dataIndex,B),B.dataType="node"}),E.eachItemGraphicEl(function(b,x){var N=E.getItemModel(x);N.get("draggable")&&(b.drift=function(D,M){i._focusAdjacencyDisabled=!0,this.shape.x+=D,this.shape.y+=M,this.dirty(),u.dispatchAction({type:"dragNode",seriesId:c.id,dataIndex:E.getRawIndex(x),localX:this.shape.x/C,localY:this.shape.y/S})},b.ondragend=function(){i._focusAdjacencyDisabled=!1},b.draggable=!0,b.cursor="move"),b.highlight=function(){this.trigger("emphasis")},b.downplay=function(){this.trigger("normal")},b.focusNodeAdjHandler&&b.off("mouseover",b.focusNodeAdjHandler),b.unfocusNodeAdjHandler&&b.off("mouseout",b.unfocusNodeAdjHandler),N.get("focusNodeAdjacency")&&(b.on("mouseover",b.focusNodeAdjHandler=function(){i._focusAdjacencyDisabled||(i._clearTimer(),u.dispatchAction({type:"focusNodeAdjacency",seriesId:c.id,dataIndex:b.dataIndex}))}),b.on("mouseout",b.unfocusNodeAdjHandler=function(){i._focusAdjacencyDisabled||i._dispatchUnfocus(u)}))}),O.eachItemGraphicEl(function(b,x){var N=O.getItemModel(x);b.focusNodeAdjHandler&&b.off("mouseover",b.focusNodeAdjHandler),b.unfocusNodeAdjHandler&&b.off("mouseout",b.unfocusNodeAdjHandler),N.get("focusNodeAdjacency")&&(b.on("mouseover",b.focusNodeAdjHandler=function(){i._focusAdjacencyDisabled||(i._clearTimer(),u.dispatchAction({type:"focusNodeAdjacency",seriesId:c.id,edgeDataIndex:b.dataIndex}))}),b.on("mouseout",b.unfocusNodeAdjHandler=function(){i._focusAdjacencyDisabled||i._dispatchUnfocus(u)}))}),!this._data&&c.get("animation")&&p.setClipPath(n(p.getBoundingRect(),c,function(){p.removeClipPath()})),this._data=c.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(c){var r=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){r._unfocusDelayTimer=null,c.dispatchAction({type:"unfocusNodeAdjacency",seriesId:r._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(c,r,u,i){var h=c.getData(),p=h.graph,A=i.dataIndex,C=h.getItemModel(A),S=i.edgeDataIndex;if(A==null&&S==null)return;var E=p.getNodeByIndex(A),O=p.getEdgeByIndex(S);if(p.eachNode(function(b){t(b,m,.1)}),p.eachEdge(function(b){t(b,w,.1)}),E){o(E,y);var T=C.get("focusNodeAdjacency");T==="outEdges"?v.each(E.outEdges,function(b){if(b.dataIndex<0)return;o(b,f),o(b.node2,y)}):T==="inEdges"?v.each(E.inEdges,function(b){if(b.dataIndex<0)return;o(b,f),o(b.node1,y)}):T==="allEdges"&&v.each(E.edges,function(b){if(b.dataIndex<0)return;o(b,f),b.node1!==E&&o(b.node1,y),b.node2!==E&&o(b.node2,y)})}O&&(o(O,f),o(O.node1,y),o(O.node2,y))},unfocusNodeAdjacency:function(c,r,u,i){var h=c.getGraph();h.eachNode(function(p){t(p,m)}),h.eachEdge(function(p){t(p,w)})}});function n(c,r,u){var i=new d.Rect({shape:{x:c.x-10,y:c.y-10,width:0,height:c.height+20}});return d.initProps(i,{shape:{width:c.width+20}},r,u),i}Z.exports=l},QHKB:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("iXCq"),m=e("iCoW"),y=d.PRIORITY.VISUAL.COMPONENT;d.registerVisual(y,{createOnAllSeries:!0,reset:function(f,a){var t=[];return a.eachComponent("visualMap",function(o){var s=f.pipelineContext;if(!o.isTargetSeries(f)||s&&s.large)return;t.push(v.incrementalApplyVisual(o.stateList,o.targetVisuals,L.bind(o.getValueState,o),o.getDataDimension(f.getData())))}),t}}),d.registerVisual(y,{createOnAllSeries:!0,reset:function(f,a){var t=f.getData(),o=[];a.eachComponent("visualMap",function(s){if(s.isTargetSeries(f)){var l=s.getVisualMeta(L.bind(w,null,f,s))||{stops:[],outerColors:[]},n=s.getDataDimension(t),c=t.getDimensionInfo(n);c!=null&&(l.dimension=c.index,o.push(l))}}),f.getData().setVisual("visualMeta",o)}});function w(f,a,t,o){for(var s=a.targetVisuals[o],l=m.prepareVisualTypes(s),n={color:f.getData().getVisual("color")},c=0,r=l.length;c<r;c++){var u=l[c],i=s[u==="opacity"?"__alphaForOpacity":u];i&&i.applyVisual(t,h,p)}return n.color;function h(A){return n[A]}function p(A,C){n[A]=C}}},QI2D:function(Z,_,e){var d=e("342z"),L=d.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(m,y){var w=y.cx,f=y.cy,a=Math.max(y.r,0),t=y.startAngle,o=y.endAngle,s=y.clockwise,l=Math.cos(t),n=Math.sin(t);m.moveTo(l*a+w,n*a+f),m.arc(w,f,a,t,o,!s)}});Z.exports=L},QJYX:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("LFod"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},QLFg:function(Z,_){var e=Math.PI*2;function d(L){return L%=e,L<0&&(L+=e),L}_.normalizeRadian=d},QM25:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("+Sa5"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},QRYH:function(Z,_,e){var d=e("Ju7t");d.registerSubTypeDefaulter("visualMap",function(L){return!L.categories&&(!(L.pieces?L.pieces.length>0:L.splitNumber>0)||L.calculable)?"continuous":"piecewise"})},QTnD:function(Z,_,e){var d=e("oEo5"),L=e("ie0D"),v=e("WIZQ");function m(w){v.call(this,w)}m.prototype={constructor:m,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(w){var f=this.getAxis("x"),a=this.getAxis("y");return f.contain(f.toLocalCoord(w[0]))&&a.contain(a.toLocalCoord(w[1]))},containData:function(w){return this.getAxis("x").containData(w[0])&&this.getAxis("y").containData(w[1])},dataToPoint:function(w,f,a){var t=this.getAxis("x"),o=this.getAxis("y");return a=a||[],a[0]=t.toGlobalCoord(t.dataToCoord(w[0])),a[1]=o.toGlobalCoord(o.dataToCoord(w[1])),a},clampData:function(w,f){var a=this.getAxis("x").scale,t=this.getAxis("y").scale,o=a.getExtent(),s=t.getExtent(),l=a.parse(w[0]),n=t.parse(w[1]);return f=f||[],f[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),f[1]=Math.min(Math.max(Math.min(s[0],s[1]),n),Math.max(s[0],s[1])),f},pointToData:function(w,f){var a=this.getAxis("x"),t=this.getAxis("y");return f=f||[],f[0]=a.coordToData(a.toLocalCoord(w[0])),f[1]=t.coordToData(t.toLocalCoord(w[1])),f},getOtherAxis:function(w){return this.getAxis(w.dim==="x"?"y":"x")},getArea:function(){var w=this.getAxis("x").getGlobalExtent(),f=this.getAxis("y").getGlobalExtent(),a=Math.min(w[0],w[1]),t=Math.min(f[0],f[1]),o=Math.max(w[0],w[1])-a,s=Math.max(f[0],f[1])-t,l=new L(a,t,o,s);return l}},d.inherits(m,v);var y=m;Z.exports=y},QV7q:function(Z,_,e){var d=e("oEo5"),L=e("gyjJ"),v=d.each,m=d.isObject,y=d.isArray,w="series\0";function f(b){return b instanceof Array?b:b==null?[]:[b]}function a(b,x,N){if(b){b[x]=b[x]||{},b.emphasis=b.emphasis||{},b.emphasis[x]=b.emphasis[x]||{};for(var D=0,M=N.length;D<M;D++){var R=N[D];!b.emphasis[x].hasOwnProperty(R)&&b[x].hasOwnProperty(R)&&(b.emphasis[x][R]=b[x][R])}}}var t=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function o(b){return m(b)&&!y(b)&&!(b instanceof Date)?b.value:b}function s(b){return m(b)&&!(b instanceof Array)}function l(b,x){x=(x||[]).slice();var N=d.map(b||[],function(D,M){return{exist:D}});return v(x,function(D,M){if(!m(D))return;for(var R=0;R<N.length;R++)if(!N[R].option&&D.id!=null&&N[R].exist.id===D.id+""){N[R].option=D,x[M]=null;return}for(var R=0;R<N.length;R++){var F=N[R].exist;if(!N[R].option&&(F.id==null||D.id==null)&&D.name!=null&&!r(D)&&!r(F)&&F.name===D.name+""){N[R].option=D,x[M]=null;return}}}),v(x,function(D,M){if(!m(D))return;for(var R=0;R<N.length;R++){var F=N[R].exist;if(!N[R].option&&!r(F)&&D.id==null){N[R].option=D;break}}R>=N.length&&N.push({option:D})}),N}function n(b){var x=d.createHashMap();v(b,function(N,D){var M=N.exist;M&&x.set(M.id,N)}),v(b,function(N,D){var M=N.option;d.assert(!M||M.id==null||!x.get(M.id)||x.get(M.id)===N,"id duplicates: "+(M&&M.id)),M&&M.id!=null&&x.set(M.id,N),!N.keyInfo&&(N.keyInfo={})}),v(b,function(N,D){var M=N.exist,R=N.option,F=N.keyInfo;if(!m(R))return;if(F.name=R.name!=null?R.name+"":M?M.name:w+D,M)F.id=M.id;else if(R.id!=null)F.id=R.id+"";else{var B=0;do F.id="\0"+F.name+"\0"+B++;while(x.get(F.id))}x.set(F.id,N)})}function c(b){var x=b.name;return!!(x&&x.indexOf(w))}function r(b){return m(b)&&b.id&&(b.id+"").indexOf("\0_ec_\0")===0}function u(b,x){var N={},D={};return M(b||[],N),M(x||[],D,N),[R(N),R(D)];function M(F,B,z){for(var U=0,K=F.length;U<K;U++)for(var W=F[U].seriesId,H=f(F[U].dataIndex),Y=z&&z[W],Q=0,P=H.length;Q<P;Q++){var G=H[Q];Y&&Y[G]?Y[G]=null:(B[W]||(B[W]={}))[G]=1}}function R(F,B){var z=[];for(var U in F)if(F.hasOwnProperty(U)&&F[U]!=null)if(B)z.push(+U);else{var K=R(F[U],!0);K.length&&z.push({seriesId:U,dataIndex:K})}return z}}function i(b,x){if(x.dataIndexInside!=null)return x.dataIndexInside;if(x.dataIndex!=null)return d.isArray(x.dataIndex)?d.map(x.dataIndex,function(N){return b.indexOfRawIndex(N)}):b.indexOfRawIndex(x.dataIndex);if(x.name!=null)return d.isArray(x.name)?d.map(x.name,function(N){return b.indexOfName(N)}):b.indexOfName(x.name)}function h(){var b="__\0ec_inner_"+p+++"_"+Math.random().toFixed(5);return function(x){return x[b]||(x[b]={})}}var p=0;function A(b,x,N){if(d.isString(x)){var D={};D[x+"Index"]=0,x=D}var M=N&&N.defaultMainType;M&&!C(x,M+"Index")&&!C(x,M+"Id")&&!C(x,M+"Name")&&(x[M+"Index"]=0);var R={};return v(x,function(F,B){var F=x[B];if(B==="dataIndex"||B==="dataIndexInside"){R[B]=F;return}var z=B.match(/^(\w+)(Index|Id|Name)$/)||[],U=z[1],K=(z[2]||"").toLowerCase();if(!U||!K||F==null||K==="index"&&F==="none"||N&&N.includeMainTypes&&d.indexOf(N.includeMainTypes,U)<0)return;var W={mainType:U};(K!=="index"||F!=="all")&&(W[K]=F);var H=b.queryComponents(W);R[U+"Models"]=H,R[U+"Model"]=H[0]}),R}function C(b,x){return b&&b.hasOwnProperty(x)}function S(b,x,N){b.setAttribute?b.setAttribute(x,N):b[x]=N}function E(b,x){return b.getAttribute?b.getAttribute(x):b[x]}function O(b){return b==="auto"?L.domSupported?"html":"richText":b||"html"}function T(b,x){var N=d.createHashMap(),D=[];return d.each(b,function(M){var R=x(M);(N.get(R)||(D.push(R),N.set(R,[]))).push(M)}),{keys:D,buckets:N}}_.normalizeToArray=f,_.defaultEmphasis=a,_.TEXT_STYLE_OPTIONS=t,_.getDataItemValue=o,_.isDataItemOption=s,_.mappingToExists=l,_.makeIdAndName=n,_.isNameSpecified=c,_.isIdInner=r,_.compressBatches=u,_.queryDataIndex=i,_.makeInner=h,_.parseFinder=A,_.setAttribute=S,_.getAttribute=E,_.getTooltipRenderMode=O,_.groupData=T},QZMu:function(Z,_,e){var d=e("Q6Bq");e("jg/+"),e("OeHC");var L=e("Wf6A"),v=e("mhfY");d.registerLayout(L),d.registerVisual(v)},QeCE:function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("XDlA"),w=e.n(y),f=e("T5E4"),a=e.n(f),t=e("XneU"),o=e.n(t),s=e("Hdxz"),l=e.n(s),n=e("ZZRV"),c=e("3CTf"),r=e("iczh"),u=e.n(r),i=e("FGJx"),h=e("o0AO"),p=e("uwZC"),A=e("lpH6"),C=e("zjzt"),S=e("buSX"),E=e("GZha"),O=e("ggzp"),T=e("sWW0"),b=e("TZL6"),x=e("E/Lu"),N=e("fU0r"),D=function(At,dt){var wt=At.prefixCls,Ye=At.id,mt=At.flattenOptions,Ue=At.childrenAsData,Re=At.values,Le=At.searchValue,at=At.multiple,Ot=At.defaultActiveFirstOption,Tt=At.height,Ft=At.itemHeight,ke=At.notFoundContent,Vt=At.open,bt=At.menuItemSelectedIcon,Rt=At.virtual,Nt=At.onSelect,xt=At.onToggleOpen,Ut=At.onActiveValue,Ze=At.onScroll,ze=At.onMouseEnter,re="".concat(wt,"-item"),le=Object(b.a)(function(){return mt},[Vt,mt],function(ce,ae){return ae[0]&&ce[1]!==ae[1]}),Xe=n.useRef(null),_e=function(ae){ae.preventDefault()},je=function(ae){Xe.current&&Xe.current.scrollTo({index:ae})},ar=function(ae){for(var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Se=le.length,Ce=0;Ce<Se;Ce+=1){var Ie=(ae+Ce*de+Se)%Se,Te=le[Ie],Ee=Te.group,He=Te.data;if(!Ee&&!He.disabled)return Ie}return-1},zt=n.useState(function(){return ar(0)}),Pt=Object(E.a)(zt,2),qt=Pt[0],or=Pt[1],Kt=function(ae){or(ae);var de=le[ae];if(!de){Ut(null,-1);return}Ut(de.data.value,ae)};n.useEffect(function(){Kt(Ot!==!1?ar(0):-1)},[le.length,Le]),n.useEffect(function(){var ce=setTimeout(function(){if(!at&&Vt&&Re.size===1){var ae=Array.from(Re)[0],de=le.findIndex(function(Se){var Ce=Se.data;return Ce.value===ae});Kt(de),je(de)}});return function(){return clearTimeout(ce)}},[Vt]);var Mt=function(ae){ae!==void 0&&Nt(ae,{selected:!Re.has(ae)}),at||xt(!1)};if(n.useImperativeHandle(dt,function(){return{onKeyDown:function(ae){var de=ae.which;switch(de){case O.a.UP:case O.a.DOWN:{var Se=0;if(de===O.a.UP?Se=-1:de===O.a.DOWN&&(Se=1),Se!==0){var Ce=ar(qt+Se,Se);je(Ce),Kt(Ce)}break}case O.a.ENTER:{var Ie=le[qt];Ie&&!Ie.data.disabled?Mt(Ie.data.value):Mt(void 0),Vt&&ae.preventDefault();break}case O.a.ESC:xt(!1)}},onKeyUp:function(){},scrollTo:function(ae){je(ae)}}}),le.length===0)return n.createElement("div",{role:"listbox",id:"".concat(Ye,"_list"),className:"".concat(re,"-empty"),onMouseDown:_e},ke);function me(ce){var ae=le[ce];if(!ae)return null;var de=ae.data||{},Se=de.value,Ce=de.label,Ie=de.children,Te=Object(T.a)(de,!0),Ee=Ue?Ie:Ce;return ae?n.createElement("div",Object.assign({"aria-label":typeof Ee=="string"?Ee:null},Te,{key:ce,role:"option",id:"".concat(Ye,"_list_").concat(ce),"aria-selected":Re.has(Se)}),Se):null}return n.createElement(n.Fragment,null,n.createElement("div",{role:"listbox",id:"".concat(Ye,"_list"),style:{height:0,width:0,overflow:"hidden"}},me(qt-1),me(qt),me(qt+1)),n.createElement(x.a,{itemKey:"key",ref:Xe,data:le,height:Tt,itemHeight:Ft,fullHeight:!1,onMouseDown:_e,onScroll:Ze,virtual:Rt,onMouseEnter:ze},function(ce,ae){var de,Se=ce.group,Ce=ce.groupOption,Ie=ce.data,Te=Ie.label,Ee=Ie.key;if(Se)return n.createElement("div",{className:u()(re,"".concat(re,"-group"))},Te!==void 0?Te:Ee);var He=Ie.disabled,st=Ie.value,vt=Ie.title,ee=Ie.children,oe=Ie.style,k=Ie.className,$=Object(S.a)(Ie,["disabled","value","title","children","style","className"]),se=Re.has(st),ge="".concat(re,"-option"),Ae=u()(re,ge,k,(de={},Object(C.a)(de,"".concat(ge,"-grouped"),Ce),Object(C.a)(de,"".concat(ge,"-active"),qt===ae&&!He),Object(C.a)(de,"".concat(ge,"-disabled"),He),Object(C.a)(de,"".concat(ge,"-selected"),se),de)),Me=Ue?ee:Te,et=!bt||typeof bt=="function"||se;return n.createElement("div",Object.assign({},$,{"aria-selected":se,className:Ae,title:vt,onMouseMove:function(){if(qt===ae||He)return;Kt(ae)},onClick:function(){He||Mt(st)},style:oe}),n.createElement("div",{className:"".concat(ge,"-content")},Me||st),n.isValidElement(bt)||se,et&&n.createElement(N.a,{className:"".concat(re,"-option-state"),customizeIcon:bt,customizeIconProps:{isSelected:se}},se?"\u2713":null))}))},M=n.forwardRef(D);M.displayName="OptionList";var R=M,F=function(){return null};F.isSelectOption=!0;var B=F,z=function(){return null};z.isSelectOptGroup=!0;var U=z,K=e("55MS"),W=e("7AgF");function H(qe){var At=qe.key,dt=qe.props,wt=dt.children,Ye=dt.value,mt=Object(S.a)(dt,["children","value"]);return Object(K.a)({key:At,value:Ye!==void 0?Ye:At,children:wt},mt)}function Y(qe){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(W.a)(qe).map(function(dt,wt){if(!n.isValidElement(dt)||!dt.type)return null;var Ye=dt.type.isSelectOptGroup,mt=dt.key,Ue=dt.props,Re=Ue.children,Le=Object(S.a)(Ue,["children"]);return At||!Ye?H(dt):Object(K.a)(Object(K.a)({key:"__RC_SELECT_GRP__".concat(mt===null?wt:mt,"__"),label:mt},Le),{},{options:Y(Re)})}).filter(function(dt){return dt})}var Q=e("wYQQ"),P=e("ZnUu"),G=e("9/lZ"),J=e("nWwB"),he=e("MuvR");function te(qe){var At=qe.mode,dt=qe.options,wt=qe.children,Ye=qe.backfill,mt=qe.allowClear,Ue=qe.placeholder,Re=qe.getInputElement,Le=qe.showSearch,at=qe.onSearch,Ot=qe.defaultOpen,Tt=qe.autoFocus,Ft=qe.labelInValue,ke=qe.value,Vt=qe.inputValue,bt=qe.optionLabelProp,Rt=At==="multiple"||At==="tags",Nt=Le!==void 0?Le:Rt||At==="combobox",xt=dt||Y(wt);if(Object(J.a)(At!=="tags"||xt.every(function(re){return!re.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),At==="tags"||At==="combobox"){var Ut=xt.some(function(re){return re.options?re.options.some(function(le){return typeof("value"in le?le.value:le.key)=="number"}):typeof("value"in re?re.value:re.key)=="number"});Object(J.a)(!Ut,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(J.a)(At!=="combobox"||!bt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(J.a)(At==="combobox"||!Ye,"`backfill` only works with `combobox` mode."),Object(J.a)(At==="combobox"||!Re,"`getInputElement` only work with `combobox` mode."),Object(J.b)(At!=="combobox"||!Re||!mt||!Ue,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),at&&!Nt&&At!=="combobox"&&At!=="tags"&&Object(J.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(J.b)(!Ot||Tt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ke!=null){var Ze=Object(he.d)(ke);Object(J.a)(!Ft||Ze.every(function(re){return Object(G.a)(re)==="object"&&("key"in re||"value"in re)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(J.a)(!Rt||Array.isArray(ke),"`value` should be array when `mode` is `multiple` or `tags`")}if(wt){var ze=null;Object(W.a)(wt).some(function(re){if(!n.isValidElement(re)||!re.type)return!1;var le=re.type;if(le.isSelectOption)return!1;if(le.isSelectOptGroup){var Xe=Object(W.a)(re.props.children).every(function(_e){return!n.isValidElement(_e)||!re.type||_e.type.isSelectOption?!0:(ze=_e.type,!1)});return!Xe}return ze=le,!0}),ze&&Object(J.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ze.displayName||ze.name||ze,"`.")),Object(J.a)(Vt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var pe=te,we=Object(P.a)({prefixCls:"rc-select",components:{optionList:R},convertChildrenToData:Y,flattenOptions:Q.d,getLabeledValue:Q.e,filterOptions:Q.b,isValueDisabled:Q.g,findValueOption:Q.c,warningProps:pe,fillOptionsWithMissingValue:Q.a}),be=function(qe){Object(p.a)(dt,qe);var At=Object(A.a)(dt);function dt(){var wt;return Object(i.a)(this,dt),wt=At.apply(this,arguments),wt.selectRef=n.createRef(),wt.focus=function(){wt.selectRef.current.focus()},wt.blur=function(){wt.selectRef.current.blur()},wt}return Object(h.a)(dt,[{key:"render",value:function(){return n.createElement(we,Object.assign({ref:this.selectRef},this.props))}}]),dt}(n.Component);be.Option=B,be.OptGroup=U;var Qe=be,$e=Qe,yt=e("LpVx"),Fe=e("1SxH"),Pe=e("WHP3"),gt=function(qe){o()(dt,qe);var At=l()(dt);function dt(){var wt;return w()(this,dt),wt=At.apply(this,arguments),wt.selectRef=n.createRef(),wt.focus=function(){wt.selectRef.current&&wt.selectRef.current.focus()},wt.blur=function(){wt.selectRef.current&&wt.selectRef.current.blur()},wt.getMode=function(){var Ye=wt.props.mode;return Ye==="combobox"?void 0:Ye===dt.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":Ye},wt.renderSelect=function(Ye){var mt=Ye.getPopupContainer,Ue=Ye.getPrefixCls,Re=Ye.renderEmpty,Le=Ye.direction,at=Ye.virtual,Ot=Ye.dropdownMatchSelectWidth,Tt=wt.props,Ft=Tt.prefixCls,ke=Tt.notFoundContent,Vt=Tt.className,bt=Tt.size,Rt=Tt.listHeight,Nt=Rt===void 0?256:Rt,xt=Tt.listItemHeight,Ut=xt===void 0?24:xt,Ze=Tt.getPopupContainer,ze=Tt.dropdownClassName,re=Tt.bordered,le=Ue("select",Ft),Xe=wt.getMode(),_e=Xe==="multiple"||Xe==="tags",je;ke!==void 0?je=ke:Xe==="combobox"?je=null:je=Re("Select");var ar=Object(Fe.a)(m()(m()({},wt.props),{multiple:_e,prefixCls:le})),zt=ar.suffixIcon,Pt=ar.itemIcon,qt=ar.removeIcon,or=ar.clearIcon,Kt=Object(c.default)(wt.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Mt=u()(ze,L()({},"".concat(le,"-dropdown-").concat(Le),Le==="rtl"));return n.createElement(Pe.b.Consumer,null,function(me){var ce,ae=bt||me,de=u()(Vt,(ce={},L()(ce,"".concat(le,"-lg"),ae==="large"),L()(ce,"".concat(le,"-sm"),ae==="small"),L()(ce,"".concat(le,"-rtl"),Le==="rtl"),L()(ce,"".concat(le,"-borderless"),!re),ce));return n.createElement($e,m()({ref:wt.selectRef,virtual:at,dropdownMatchSelectWidth:Ot},Kt,{listHeight:Nt,listItemHeight:Ut,mode:Xe,prefixCls:le,direction:Le,inputIcon:zt,menuItemSelectedIcon:Pt,removeIcon:qt,clearIcon:or,notFoundContent:je,className:de,getPopupContainer:Ze||mt,dropdownClassName:Mt}))})},wt}return a()(dt,[{key:"render",value:function(){return n.createElement(yt.a,null,this.renderSelect)}}]),dt}(n.Component);gt.Option=B,gt.OptGroup=U,gt.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",gt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var it=_.a=gt},QewF:function(Z,_){function e(d){var L=d.findComponents({mainType:"legend"});L&&L.length&&d.filterSeries(function(v){for(var m=0;m<L.length;m++)if(!L[m].isSelected(v.name))return!1;return!0})}Z.exports=e},QjgC:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=e("diXd"),y=e("zYjg"),w=e("zfxY"),f=e("JkS2"),a=v.curry,t=v.each,o=v.map,s=Math.min,l=Math.max,n=Math.pow,c=1e4,r=6,u=6,i="globalPan",h={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},p={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},A={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},C=0;function S(Re){m.call(this),this._zr=Re,this.group=new y.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+C++,this._handlers={},t(At,function(Le,at){this._handlers[at]=v.bind(Le,this)},this)}S.prototype={constructor:S,enableBrush:function(Re){return this._brushType&&O(this),Re.brushType&&E(this,Re),this},setPanels:function(Re){if(Re&&Re.length){var Le=this._panels={};v.each(Re,function(at){Le[at.panelId]=v.clone(at)})}else this._panels=null;return this},mount:function(Re){Re=Re||{},this._enableGlobalPan=Re.enableGlobalPan;var Le=this.group;return this._zr.add(Le),Le.attr({position:Re.position||[0,0],rotation:Re.rotation||0,scale:Re.scale||[1,1]}),this._transform=Le.getLocalTransform(),this},eachCover:function(Re,Le){t(this._covers,Re,Le)},updateCovers:function(Re){Re=v.map(Re,function(Nt){return v.merge(v.clone(A),Nt,!0)});var Le="\0-brush-index-",at=this._covers,Ot=this._covers=[],Tt=this,Ft=this._creatingCover;return new f(at,Re,Vt,ke).add(bt).update(bt).remove(Rt).execute(),this;function ke(Nt,xt){return(Nt.id!=null?Nt.id:Le+xt)+"-"+Nt.brushType}function Vt(Nt,xt){return ke(Nt.__brushOption,xt)}function bt(Nt,xt){var Ut=Re[Nt];if(xt!=null&&at[xt]===Ft)Ot[Nt]=at[xt];else{var Ze=Ot[Nt]=xt!=null?(at[xt].__brushOption=Ut,at[xt]):N(Tt,x(Tt,Ut));R(Tt,Ze)}}function Rt(Nt){at[Nt]!==Ft&&Tt.group.remove(at[Nt])}},unmount:function(){return this.enableBrush(!1),U(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},v.mixin(S,m);function E(Re,Le){var at=Re._zr;Re._enableGlobalPan||w.take(at,i,Re._uid),T(at,Re._handlers),Re._brushType=Le.brushType,Re._brushOption=v.merge(v.clone(A),Le,!0)}function O(Re){var Le=Re._zr;w.release(Le,i,Re._uid),b(Le,Re._handlers),Re._brushType=Re._brushOption=null}function T(Re,Le){t(Le,function(at,Ot){Re.on(Ot,at)})}function b(Re,Le){t(Le,function(at,Ot){Re.off(Ot,at)})}function x(Re,Le){var at=Ye[Le.brushType].createCover(Re,Le);return at.__brushOption=Le,M(at,Le),Re.group.add(at),at}function N(Re,Le){var at=F(Le);return at.endCreating&&(at.endCreating(Re,Le),M(Le,Le.__brushOption)),Le}function D(Re,Le){var at=Le.__brushOption;F(Le).updateCoverShape(Re,Le,at.range,at)}function M(Re,Le){var at=Le.z;at==null&&(at=c),Re.traverse(function(Ot){Ot.z=at,Ot.z2=at})}function R(Re,Le){F(Le).updateCommon(Re,Le),D(Re,Le)}function F(Re){return Ye[Re.__brushOption.brushType]}function B(Re,Le,at){var Ot=Re._panels;if(!Ot)return!0;var Tt,Ft=Re._transform;return t(Ot,function(ke){ke.isTargetByCursor(Le,at,Ft)&&(Tt=ke)}),Tt}function z(Re,Le){var at=Re._panels;if(!at)return!0;var Ot=Le.__brushOption.panelId;return Ot!=null?at[Ot]:!0}function U(Re){var Le=Re._covers,at=Le.length;return t(Le,function(Ot){Re.group.remove(Ot)},Re),Le.length=0,!!at}function K(Re,Le){var at=o(Re._covers,function(Ot){var Tt=Ot.__brushOption,Ft=v.clone(Tt.range);return{brushType:Tt.brushType,panelId:Tt.panelId,range:Ft}});Re.trigger("brush",at,{isEnd:!!Le.isEnd,removeOnClick:!!Le.removeOnClick})}function W(Re){var Le=Re._track;if(!Le.length)return!1;var at=Le[Le.length-1],Ot=Le[0],Tt=at[0]-Ot[0],Ft=at[1]-Ot[1],ke=n(Tt*Tt+Ft*Ft,.5);return ke>r}function H(Re){var Le=Re.length-1;return Le<0&&(Le=0),[Re[0],Re[Le]]}function Y(Re,Le,at,Ot){var Tt=new y.Group;return Tt.add(new y.Rect({name:"main",style:J(at),silent:!0,draggable:!0,cursor:"move",drift:a(Re,Le,Tt,"nswe"),ondragend:a(K,Le,{isEnd:!0})})),t(Ot,function(Ft){Tt.add(new y.Rect({name:Ft,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:a(Re,Le,Tt,Ft),ondragend:a(K,Le,{isEnd:!0})}))}),Tt}function Q(Re,Le,at,Ot){var Tt=Ot.brushStyle.lineWidth||0,Ft=l(Tt,u),ke=at[0][0],Vt=at[1][0],bt=ke-Tt/2,Rt=Vt-Tt/2,Nt=at[0][1],xt=at[1][1],Ut=Nt-Ft+Tt/2,Ze=xt-Ft+Tt/2,ze=Nt-ke,re=xt-Vt,le=ze+Tt,Xe=re+Tt;G(Re,Le,"main",ke,Vt,ze,re),Ot.transformable&&(G(Re,Le,"w",bt,Rt,Ft,Xe),G(Re,Le,"e",Ut,Rt,Ft,Xe),G(Re,Le,"n",bt,Rt,le,Ft),G(Re,Le,"s",bt,Ze,le,Ft),G(Re,Le,"nw",bt,Rt,Ft,Ft),G(Re,Le,"ne",Ut,Rt,Ft,Ft),G(Re,Le,"sw",bt,Ze,Ft,Ft),G(Re,Le,"se",Ut,Ze,Ft,Ft))}function P(Re,Le){var at=Le.__brushOption,Ot=at.transformable,Tt=Le.childAt(0);Tt.useStyle(J(at)),Tt.attr({silent:!Ot,cursor:Ot?"move":"default"}),t(["w","e","n","s","se","sw","ne","nw"],function(Ft){var ke=Le.childOfName(Ft),Vt=pe(Re,Ft);ke&&ke.attr({silent:!Ot,invisible:!Ot,cursor:Ot?p[Vt]+"-resize":null})})}function G(Re,Le,at,Ot,Tt,Ft,ke){var Vt=Le.childOfName(at);Vt&&Vt.setShape(yt($e(Re,Le,[[Ot,Tt],[Ot+Ft,Tt+ke]])))}function J(Re){return v.defaults({strokeNoScale:!0},Re.brushStyle)}function he(Re,Le,at,Ot){var Tt=[s(Re,at),s(Le,Ot)],Ft=[l(Re,at),l(Le,Ot)];return[[Tt[0],Ft[0]],[Tt[1],Ft[1]]]}function te(Re){return y.getTransform(Re.group)}function pe(Re,Le){if(Le.length>1){Le=Le.split("");var at=[pe(Re,Le[0]),pe(Re,Le[1])];return(at[0]==="e"||at[0]==="w")&&at.reverse(),at.join("")}else{var Ot={w:"left",e:"right",n:"top",s:"bottom"},Tt={left:"w",right:"e",top:"n",bottom:"s"},at=y.transformDirection(Ot[Le],te(Re));return Tt[at]}}function we(Re,Le,at,Ot,Tt,Ft,ke,Vt){var bt=Ot.__brushOption,Rt=Re(bt.range),Nt=Qe(at,Ft,ke);t(Tt.split(""),function(xt){var Ut=h[xt];Rt[Ut[0]][Ut[1]]+=Nt[Ut[0]]}),bt.range=Le(he(Rt[0][0],Rt[1][0],Rt[0][1],Rt[1][1])),R(at,Ot),K(at,{isEnd:!1})}function be(Re,Le,at,Ot,Tt){var Ft=Le.__brushOption.range,ke=Qe(Re,at,Ot);t(Ft,function(Vt){Vt[0]+=ke[0],Vt[1]+=ke[1]}),R(Re,Le),K(Re,{isEnd:!1})}function Qe(Re,Le,at){var Ot=Re.group,Tt=Ot.transformCoordToLocal(Le,at),Ft=Ot.transformCoordToLocal(0,0);return[Tt[0]-Ft[0],Tt[1]-Ft[1]]}function $e(Re,Le,at){var Ot=z(Re,Le);return Ot&&Ot!==!0?Ot.clipPath(at,Re._transform):v.clone(at)}function yt(Re){var Le=s(Re[0][0],Re[1][0]),at=s(Re[0][1],Re[1][1]),Ot=l(Re[0][0],Re[1][0]),Tt=l(Re[0][1],Re[1][1]);return{x:Le,y:at,width:Ot-Le,height:Tt-at}}function Fe(Re,Le,at){if(!Re._brushType||wt(Re,Le))return;var Ot=Re._zr,Tt=Re._covers,Ft=B(Re,Le,at);if(!Re._dragging)for(var ke=0;ke<Tt.length;ke++){var Vt=Tt[ke].__brushOption;if(Ft&&(Ft===!0||Vt.panelId===Ft.panelId)&&Ye[Vt.brushType].contain(Tt[ke],at[0],at[1]))return}Ft&&Ot.setCursorStyle("crosshair")}function Pe(Re){var Le=Re.event;Le.preventDefault&&Le.preventDefault()}function gt(Re,Le,at){return Re.childOfName("main").contain(Le,at)}function it(Re,Le,at,Ot){var Tt=Re._creatingCover,Ft=Re._creatingPanel,ke=Re._brushOption,Vt;if(Re._track.push(at.slice()),W(Re)||Tt){if(Ft&&!Tt){ke.brushMode==="single"&&U(Re);var bt=v.clone(ke);bt.brushType=qe(bt.brushType,Ft),bt.panelId=Ft===!0?null:Ft.panelId,Tt=Re._creatingCover=x(Re,bt),Re._covers.push(Tt)}if(Tt){var Rt=Ye[qe(Re._brushType,Ft)],Nt=Tt.__brushOption;Nt.range=Rt.getCreatingRange($e(Re,Tt,Re._track)),Ot&&(N(Re,Tt),Rt.updateCommon(Re,Tt)),D(Re,Tt),Vt={isEnd:Ot}}}else Ot&&ke.brushMode==="single"&&ke.removeOnClick&&(B(Re,Le,at)&&U(Re)&&(Vt={isEnd:Ot,removeOnClick:!0}));return Vt}function qe(Re,Le){return Re==="auto"?Le.defaultBrushType:Re}var At={mousedown:function(Re){if(this._dragging)dt(this,Re);else if(!Re.target||!Re.target.draggable){Pe(Re);var Le=this.group.transformCoordToLocal(Re.offsetX,Re.offsetY);this._creatingCover=null;var at=this._creatingPanel=B(this,Re,Le);at&&(this._dragging=!0,this._track=[Le.slice()])}},mousemove:function(Re){var Le=Re.offsetX,at=Re.offsetY,Ot=this.group.transformCoordToLocal(Le,at);if(Fe(this,Re,Ot),this._dragging){Pe(Re);var Tt=it(this,Re,Ot,!1);Tt&&K(this,Tt)}},mouseup:function(Re){dt(this,Re)}};function dt(Re,Le){if(Re._dragging){Pe(Le);var at=Le.offsetX,Ot=Le.offsetY,Tt=Re.group.transformCoordToLocal(at,Ot),Ft=it(Re,Le,Tt,!0);Re._dragging=!1,Re._track=[],Re._creatingCover=null,Ft&&K(Re,Ft)}}function wt(Re,Le,at){var Ot=Re._zr;return Le<0||Le>Ot.getWidth()||at<0||at>Ot.getHeight()}var Ye={lineX:mt(0),lineY:mt(1),rect:{createCover:function(Re,Le){return Y(a(we,function(at){return at},function(at){return at}),Re,Le,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(Re){var Le=H(Re);return he(Le[1][0],Le[1][1],Le[0][0],Le[0][1])},updateCoverShape:function(Re,Le,at,Ot){Q(Re,Le,at,Ot)},updateCommon:P,contain:gt},polygon:{createCover:function(Re,Le){var at=new y.Group;return at.add(new y.Polyline({name:"main",style:J(Le),silent:!0})),at},getCreatingRange:function(Re){return Re},endCreating:function(Re,Le){Le.remove(Le.childAt(0)),Le.add(new y.Polygon({name:"main",draggable:!0,drift:a(be,Re,Le),ondragend:a(K,Re,{isEnd:!0})}))},updateCoverShape:function(Re,Le,at,Ot){Le.childAt(0).setShape({points:$e(Re,Le,at)})},updateCommon:P,contain:gt}};function mt(Re){return{createCover:function(Le,at){return Y(a(we,function(Ot){var Tt=[Ot,[0,100]];return Re&&Tt.reverse(),Tt},function(Ot){return Ot[Re]}),Le,at,[["w","e"],["n","s"]][Re])},getCreatingRange:function(Le){var at=H(Le),Ot=s(at[0][Re],at[1][Re]),Tt=l(at[0][Re],at[1][Re]);return[Ot,Tt]},updateCoverShape:function(Le,at,Ot,Tt){var Ft,ke=z(Le,at);if(ke!==!0&&ke.getLinearBrushOtherExtent)Ft=ke.getLinearBrushOtherExtent(Re,Le._transform);else{var Vt=Le._zr;Ft=[0,[Vt.getWidth(),Vt.getHeight()][1-Re]]}var bt=[Ot,Ft];Re&&bt.reverse(),Q(Le,at,bt,Tt)},updateCommon:P,contain:gt}}var Ue=S;Z.exports=Ue},Qlo8:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("BLOe"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},R0xs:function(Z,_,e){var d=e("oEo5"),L=e("+Vnd"),v=e("tLnZ"),m=v.seriesModelMixin,y=L.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(f,a,t){var o=a.getItemLayout(f);return o&&t.rect(o.brushRect)}});d.mixin(y,m,!0);var w=y;Z.exports=w},RA1y:function(Z,_,e){var d=e("oEo5"),L=e("Ju7t"),v=e("P7pv"),m=e("l1R7"),y=L.extend({type:"cartesian2dAxis",axis:null,init:function(){y.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){y.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){y.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function w(t,o){return o.type||(o.data?"category":"value")}d.merge(y.prototype,m);var f={offset:0};v("x",y,w,f),v("y",y,w,f);var a=y;Z.exports=a},RA7y:function(Z,_,e){var d=e("342z"),L=d.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var m=this.__dirtyPath,y=this.shape.paths,w=0;w<y.length;w++)m=m||y[w].__dirtyPath;this.__dirtyPath=m,this.__dirty=this.__dirty||m},beforeBrush:function(){this._updatePathDirty();for(var m=this.shape.paths||[],y=this.getGlobalScale(),w=0;w<m.length;w++)m[w].path||m[w].createPathProxy(),m[w].path.setScale(y[0],y[1],m[w].segmentIgnoreThreshold)},buildPath:function(m,y){for(var w=y.paths||[],f=0;f<w.length;f++)w[f].buildPath(m,w[f].shape,!0)},afterBrush:function(){for(var m=this.shape.paths||[],y=0;y<m.length;y++)m[y].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),d.prototype.getBoundingRect.call(this)}});Z.exports=L},RDyO:function(Z,_,e){},RM5q:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("yMz6"),m=v.updateCenterAndZoom;d.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(y,w){var f=y.componentType||"series";w.eachComponent({mainType:f,query:y},function(a){var t=a.coordinateSystem;if(t.type!=="geo")return;var o=m(t,y,a.get("scaleLimit"));a.setCenter&&a.setCenter(o.center),a.setZoom&&a.setZoom(o.zoom),f==="series"&&L.each(a.seriesGroup,function(s){s.setCenter(o.center),s.setZoom(o.zoom)})})})},RNwL:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=v.each,y=v.filter,w=v.map,f=v.isArray,a=v.indexOf,t=v.isObject,o=v.isString,s=v.createHashMap,l=v.assert,n=v.clone,c=v.merge,r=v.extend,u=v.mixin,i=e("QV7q"),h=e("P0S0"),p=e("Ju7t"),A=e("6PrJ"),C=e("VT0C"),S=e("kAFf"),E=S.resetSourceDefaulter,O="\0_ec_inner",T=h.extend({init:function(U,K,W,H){W=W||{},this.option=null,this._theme=new h(W),this._optionManager=H},setOption:function(U,K){l(!(O in U),"please use chart.getOption()"),this._optionManager.setOption(U,K),this.resetOption(null)},resetOption:function(U){var K=!1,W=this._optionManager;if(!U||U==="recreate"){var H=W.mountOption(U==="recreate");!this.option||U==="recreate"?N.call(this,H):(this.restoreData(),this.mergeOption(H)),K=!0}if((U==="timeline"||U==="media")&&this.restoreData(),!U||U==="recreate"||U==="timeline"){var Y=W.getTimelineOption(this);Y&&(this.mergeOption(Y),K=!0)}if(!U||U==="recreate"||U==="media"){var Q=W.getMediaOption(this,this._api);Q.length&&m(Q,function(P){this.mergeOption(P,K=!0)},this)}return K},mergeOption:function(U){var K=this.option,W=this._componentsMap,H=[];E(this),m(U,function(Q,P){if(Q==null)return;p.hasClass(P)?P&&H.push(P):K[P]=K[P]==null?n(Q):c(K[P],Q,!0)}),p.topologicalTravel(H,p.getAllClassMainTypes(),Y,this);function Y(Q,P){var G=i.normalizeToArray(U[Q]),J=i.mappingToExists(W.get(Q),G);i.makeIdAndName(J),m(J,function(te,pe){var we=te.option;t(we)&&(te.keyInfo.mainType=Q,te.keyInfo.subType=M(Q,we,te.exist))});var he=D(W,P);K[Q]=[],W.set(Q,[]),m(J,function(te,pe){var we=te.exist,be=te.option;if(l(t(be)||we,"Empty component definition"),!be)we.mergeOption({},this),we.optionUpdated({},!1);else{var Qe=p.getClass(Q,te.keyInfo.subType,!0);if(we&&we.constructor===Qe)we.name=te.keyInfo.name,we.mergeOption(be,this),we.optionUpdated(be,!1);else{var $e=r({dependentModels:he,componentIndex:pe},te.keyInfo);we=new Qe(be,this,this,$e),r(we,$e),we.init(be,this,this,$e),we.optionUpdated(null,!0)}}W.get(Q)[pe]=we,K[Q][pe]=we.option},this),Q==="series"&&R(this,W.get("series"))}this._seriesIndicesMap=s(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var U=n(this.option);return m(U,function(K,W){if(p.hasClass(W)){for(var K=i.normalizeToArray(K),H=K.length-1;H>=0;H--)i.isIdInner(K[H])&&K.splice(H,1);U[W]=K}}),delete U[O],U},getTheme:function(){return this._theme},getComponent:function(U,K){var W=this._componentsMap.get(U);if(W)return W[K||0]},queryComponents:function(U){var K=U.mainType;if(!K)return[];var W=U.index,H=U.id,Y=U.name,Q=this._componentsMap.get(K);if(!Q||!Q.length)return[];var P;if(W!=null)f(W)||(W=[W]),P=y(w(W,function(he){return Q[he]}),function(he){return!!he});else if(H!=null){var G=f(H);P=y(Q,function(he){return G&&a(H,he.id)>=0||!G&&he.id===H})}else if(Y!=null){var J=f(Y);P=y(Q,function(he){return J&&a(Y,he.name)>=0||!J&&he.name===Y})}else P=Q.slice();return F(P,U)},findComponents:function(U){var K=U.query,W=U.mainType,H=Q(K),Y=H?this.queryComponents(H):this._componentsMap.get(W);return P(F(Y,U));function Q(G){var J=W+"Index",he=W+"Id",te=W+"Name";return G&&(G[J]!=null||G[he]!=null||G[te]!=null)?{mainType:W,index:G[J],id:G[he],name:G[te]}:null}function P(G){return U.filter?y(G,U.filter):G}},eachComponent:function(U,K,W){var H=this._componentsMap;if(typeof U=="function")W=K,K=U,H.each(function(Q,P){m(Q,function(G,J){K.call(W,P,G,J)})});else if(o(U))m(H.get(U),K,W);else if(t(U)){var Y=this.findComponents(U);m(Y,K,W)}},getSeriesByName:function(U){var K=this._componentsMap.get("series");return y(K,function(W){return W.name===U})},getSeriesByIndex:function(U){return this._componentsMap.get("series")[U]},getSeriesByType:function(U){var K=this._componentsMap.get("series");return y(K,function(W){return W.subType===U})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(U,K){B(this),m(this._seriesIndices,function(W){var H=this._componentsMap.get("series")[W];U.call(K,H,W)},this)},eachRawSeries:function(U,K){m(this._componentsMap.get("series"),U,K)},eachSeriesByType:function(U,K,W){B(this),m(this._seriesIndices,function(H){var Y=this._componentsMap.get("series")[H];Y.subType===U&&K.call(W,Y,H)},this)},eachRawSeriesByType:function(U,K,W){return m(this.getSeriesByType(U),K,W)},isSeriesFiltered:function(U){return B(this),this._seriesIndicesMap.get(U.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(U,K){B(this);var W=y(this._componentsMap.get("series"),U,K);R(this,W)},restoreData:function(U){var K=this._componentsMap;R(this,K.get("series"));var W=[];K.each(function(H,Y){W.push(Y)}),p.topologicalTravel(W,p.getAllClassMainTypes(),function(H,Y){m(K.get(H),function(Q){(H!=="series"||!b(Q,U))&&Q.restoreData()})})}});function b(U,K){if(K){var W=K.seiresIndex,H=K.seriesId,Y=K.seriesName;return W!=null&&U.componentIndex!==W||H!=null&&U.id!==H||Y!=null&&U.name!==Y}}function x(U,K){var W=U.color&&!U.colorLayer;m(K,function(H,Y){if(Y==="colorLayer"&&W)return;p.hasClass(Y)||(typeof H=="object"?U[Y]=U[Y]?c(U[Y],H,!1):n(H):U[Y]==null&&(U[Y]=H))})}function N(U){U=U,this.option={},this.option[O]=1,this._componentsMap=s({series:[]}),this._seriesIndices,this._seriesIndicesMap,x(U,this._theme.option),c(U,A,!1),this.mergeOption(U)}function D(U,K){f(K)||(K=K?[K]:[]);var W={};return m(K,function(H){W[H]=(U.get(H)||[]).slice()}),W}function M(U,K,W){var H=K.type?K.type:W?W.subType:p.determineSubType(U,K);return H}function R(U,K){U._seriesIndicesMap=s(U._seriesIndices=w(K,function(W){return W.componentIndex})||[])}function F(U,K){return K.hasOwnProperty("subType")?y(U,function(W){return W.subType===K.subType}):U}function B(U){}u(T,C);var z=T;Z.exports=z},ROQd:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("soU2"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},RQkO:function(Z,_,e){var d=e("ie0D"),L=e("spGK"),v=e("Wa83"),m=e("TjoS");function y(f,a,t){if(this.name=f,this.geometries=a,t)t=[t[0],t[1]];else{var o=this.getBoundingRect();t=[o.x+o.width/2,o.y+o.height/2]}this.center=t}y.prototype={constructor:y,properties:null,getBoundingRect:function(){var f=this._rect;if(f)return f;for(var a=Number.MAX_VALUE,t=[a,a],o=[-a,-a],s=[],l=[],n=this.geometries,c=0;c<n.length;c++){if(n[c].type!=="polygon")continue;var r=n[c].exterior;L.fromPoints(r,s,l),v.min(t,t,s),v.max(o,o,l)}return c===0&&(t[0]=t[1]=o[0]=o[1]=0),this._rect=new d(t[0],t[1],o[0]-t[0],o[1]-t[1])},contain:function(f){var a=this.getBoundingRect(),t=this.geometries;if(!a.contain(f[0],f[1]))return!1;e:for(var o=0,s=t.length;o<s;o++){if(t[o].type!=="polygon")continue;var l=t[o].exterior,n=t[o].interiors;if(m.contain(l,f[0],f[1])){for(var c=0;c<(n?n.length:0);c++)if(m.contain(n[c]))continue e;return!0}}return!1},transformTo:function(f,a,t,o){var s=this.getBoundingRect(),l=s.width/s.height;t?o||(o=t/l):t=l*o;for(var n=new d(f,a,t,o),c=s.calculateTransform(n),r=this.geometries,u=0;u<r.length;u++){if(r[u].type!=="polygon")continue;for(var i=r[u].exterior,h=r[u].interiors,p=0;p<i.length;p++)v.applyTransform(i[p],i[p],c);for(var A=0;A<(h?h.length:0);A++)for(var p=0;p<h[A].length;p++)v.applyTransform(h[A][p],h[A][p],c)}s=this._rect,s.copy(n),this.center=[s.x+s.width/2,s.y+s.height/2]},cloneShallow:function(f){f==null&&(f=this.name);var a=new y(f,this.geometries,this.center);return a._rect=this._rect,a.transformTo=null,a}};var w=y;Z.exports=w},RS9Z:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};_.default=d},RXQH:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("qyV+")},"Rax+":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("sy/9"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},Rbwl:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("lQf/"),m=e.n(v),y=e("VmQ4")},RczH:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};_.default=d},RoAx:function(Z,_,e){},RrEo:function(Z,_,e){e("Kuav"),e("BUtc"),e("O0fn")},Rvbe:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};_.default=d},Rz4u:function(Z,_,e){var d=e("zYjg"),L=e("Wa83"),v=d.Line.prototype,m=d.BezierCurve.prototype;function y(f){return isNaN(+f.cpx1)||isNaN(+f.cpy1)}var w=d.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(f,a){this[y(a)?"_buildPathLine":"_buildPathCurve"](f,a)},_buildPathLine:v.buildPath,_buildPathCurve:m.buildPath,pointAt:function(f){return this[y(this.shape)?"_pointAtLine":"_pointAtCurve"](f)},_pointAtLine:v.pointAt,_pointAtCurve:m.pointAt,tangentAt:function(f){var a=this.shape,t=y(a)?[a.x2-a.x1,a.y2-a.y1]:this._tangentAtCurve(f);return L.normalize(t,t)},_tangentAtCurve:m.tangentAt});Z.exports=w},S5yf:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};_.default=d},SGPK:function(Z,_,e){var d=e("oEo5"),L={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},v={};v.categoryAxis=d.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},L),v.valueAxis=d.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},L),v.timeAxis=d.defaults({scale:!0,min:"dataMin",max:"dataMax"},v.valueAxis),v.logAxis=d.defaults({scale:!0,logBase:10},v.valueAxis);var m=v;Z.exports=m},SL1A:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("OCjS"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},SSBM:function(Z,_,e){var d=e("oEo5"),L=e("ie0D"),v=e("Jjzi"),m=v.parsePercent,y=e("CQhY"),w=d.each,f=["left","right","top","bottom","width","height"],a=[["width","left","right"],["height","top","bottom"]];function t(A,C,S,E,O){var T=0,b=0;E==null&&(E=Infinity),O==null&&(O=Infinity);var x=0;C.eachChild(function(N,D){var M=N.position,R=N.getBoundingRect(),F=C.childAt(D+1),B=F&&F.getBoundingRect(),z,U;if(A==="horizontal"){var K=R.width+(B?-B.x+R.x:0);z=T+K,z>E||N.newline?(T=0,z=K,b+=x+S,x=R.height):x=Math.max(x,R.height)}else{var W=R.height+(B?-B.y+R.y:0);U=b+W,U>O||N.newline?(T+=x+S,b=0,U=W,x=R.width):x=Math.max(x,R.width)}if(N.newline)return;M[0]=T,M[1]=b,A==="horizontal"?T=z+S:b=U+S})}var o=t,s=d.curry(t,"vertical"),l=d.curry(t,"horizontal");function n(A,C,S){var E=C.width,O=C.height,T=m(A.x,E),b=m(A.y,O),x=m(A.x2,E),N=m(A.y2,O);return(isNaN(T)||isNaN(parseFloat(A.x)))&&(T=0),(isNaN(x)||isNaN(parseFloat(A.x2)))&&(x=E),(isNaN(b)||isNaN(parseFloat(A.y)))&&(b=0),(isNaN(N)||isNaN(parseFloat(A.y2)))&&(N=O),S=y.normalizeCssArray(S||0),{width:Math.max(x-T-S[1]-S[3],0),height:Math.max(N-b-S[0]-S[2],0)}}function c(A,C,S){S=y.normalizeCssArray(S||0);var E=C.width,O=C.height,T=m(A.left,E),b=m(A.top,O),x=m(A.right,E),N=m(A.bottom,O),D=m(A.width,E),M=m(A.height,O),R=S[2]+S[0],F=S[1]+S[3],B=A.aspect;isNaN(D)&&(D=E-x-F-T),isNaN(M)&&(M=O-N-R-b),B!=null&&(isNaN(D)&&isNaN(M)&&(B>E/O?D=E*.8:M=O*.8),isNaN(D)&&(D=B*M),isNaN(M)&&(M=D/B)),isNaN(T)&&(T=E-x-D-F),isNaN(b)&&(b=O-N-M-R);switch(A.left||A.right){case"center":T=E/2-D/2-S[3];break;case"right":T=E-D-F;break}switch(A.top||A.bottom){case"middle":case"center":b=O/2-M/2-S[0];break;case"bottom":b=O-M-R;break}T=T||0,b=b||0,isNaN(D)&&(D=E-F-T-(x||0)),isNaN(M)&&(M=O-R-b-(N||0));var z=new L(T+S[3],b+S[0],D,M);return z.margin=S,z}function r(A,C,S,E,O){var T=!O||!O.hv||O.hv[0],b=!O||!O.hv||O.hv[1],x=O&&O.boundingMode||"all";if(!T&&!b)return;var N;if(x==="raw")N=A.type==="group"?new L(0,0,+C.width||0,+C.height||0):A.getBoundingRect();else if(N=A.getBoundingRect(),A.needLocalTransform()){var D=A.getLocalTransform();N=N.clone(),N.applyTransform(D)}C=c(d.defaults({width:N.width,height:N.height},C),S,E);var M=A.position,R=T?C.x-N.x:0,F=b?C.y-N.y:0;A.attr("position",x==="raw"?[R,F]:[M[0]+R,M[1]+F])}function u(A,C){return A[a[C][0]]!=null||A[a[C][1]]!=null&&A[a[C][2]]!=null}function i(A,C,S){!d.isObject(S)&&(S={});var E=S.ignoreSize;!d.isArray(E)&&(E=[E,E]);var O=b(a[0],0),T=b(a[1],1);D(a[0],A,O),D(a[1],A,T);function b(M,R){var F={},B=0,z={},U=0,K=2;if(w(M,function(Y){z[Y]=A[Y]}),w(M,function(Y){x(C,Y)&&(F[Y]=z[Y]=C[Y]),N(F,Y)&&B++,N(z,Y)&&U++}),E[R])return N(C,M[1])?z[M[2]]=null:N(C,M[2])&&(z[M[1]]=null),z;if(U===K||!B)return z;if(B>=K)return F;for(var W=0;W<M.length;W++){var H=M[W];if(!x(F,H)&&x(A,H)){F[H]=A[H];break}}return F}function x(M,R){return M.hasOwnProperty(R)}function N(M,R){return M[R]!=null&&M[R]!=="auto"}function D(M,R,F){w(M,function(B){R[B]=F[B]})}}function h(A){return p({},A)}function p(A,C){return C&&A&&w(f,function(S){C.hasOwnProperty(S)&&(A[S]=C[S])}),A}_.LOCATION_PARAMS=f,_.HV_NAMES=a,_.box=o,_.vbox=s,_.hbox=l,_.getAvailableSize=n,_.getLayoutRect=c,_.positionElement=r,_.sizeCalculable=u,_.mergeLayoutParam=i,_.getLayoutParams=h,_.copyLayoutParams=p},SXou:function(Z,_,e){var d=e("oEo5"),L=d.each,v=d.map,m=d.isFunction,y=d.createHashMap,w=d.noop,f=e("YBdE"),a=f.createTask,t=e("kY/L"),o=t.getUID,s=e("RNwL"),l=e("H1MY"),n=e("QV7q"),c=n.normalizeToArray;function r(W,H,Y,Q){this.ecInstance=W,this.api=H,this.unfinished;var Y=this._dataProcessorHandlers=Y.slice(),Q=this._visualHandlers=Q.slice();this._allHandlers=Y.concat(Q),this._stageTaskMap=y()}var u=r.prototype;u.restoreData=function(W,H){W.restoreData(H),this._stageTaskMap.each(function(Y){var Q=Y.overallTask;Q&&Q.dirty()})},u.getPerformArgs=function(W,H){if(!W.__pipeline)return;var Y=this._pipelineMap.get(W.__pipeline.id),Q=Y.context,P=!H&&Y.progressiveEnabled&&(!Q||Q.progressiveRender)&&W.__idxInPipeline>Y.blockIndex,G=P?Y.step:null,J=Q&&Q.modDataCount,he=J!=null?Math.ceil(J/G):null;return{step:G,modBy:he,modDataCount:J}},u.getPipeline=function(W){return this._pipelineMap.get(W)},u.updateStreamModes=function(W,H){var Y=this._pipelineMap.get(W.uid),Q=W.getData(),P=Q.count(),G=Y.progressiveEnabled&&H.incrementalPrepareRender&&P>=Y.threshold,J=W.get("large")&&P>=W.get("largeThreshold"),he=W.get("progressiveChunkMode")==="mod"?P:null;W.pipelineContext=Y.context={progressiveRender:G,modDataCount:he,large:J}},u.restorePipelines=function(W){var H=this,Y=H._pipelineMap=y();W.eachSeries(function(Q){var P=Q.getProgressive(),G=Q.uid;Y.set(G,{id:G,head:null,tail:null,threshold:Q.getProgressiveThreshold(),progressiveEnabled:P&&!(Q.preventIncremental&&Q.preventIncremental()),blockIndex:-1,step:Math.round(P||700),count:0}),M(H,Q,Q.dataTask)})},u.prepareStageTasks=function(){var W=this._stageTaskMap,H=this.ecInstance.getModel(),Y=this.api;L(this._allHandlers,function(Q){var P=W.get(Q.uid)||W.set(Q.uid,[]);Q.reset&&p(this,Q,P,H,Y),Q.overallReset&&A(this,Q,P,H,Y)},this)},u.prepareView=function(W,H,Y,Q){var P=W.renderTask,G=P.context;G.model=H,G.ecModel=Y,G.api=Q,P.__block=!W.incrementalPrepareRender,M(this,H,P)},u.performDataProcessorTasks=function(W,H){i(this,this._dataProcessorHandlers,W,H,{block:!0})},u.performVisualTasks=function(W,H,Y){i(this,this._visualHandlers,W,H,Y)};function i(W,H,Y,Q,P){P=P||{};var G;L(H,function(he,te){if(P.visualType&&P.visualType!==he.visualType)return;var pe=W._stageTaskMap.get(he.uid),we=pe.seriesTaskMap,be=pe.overallTask;if(be){var Qe,$e=be.agentStubMap;$e.each(function(Fe){J(P,Fe)&&(Fe.dirty(),Qe=!0)}),Qe&&be.dirty(),h(be,Q);var yt=W.getPerformArgs(be,P.block);$e.each(function(Fe){Fe.perform(yt)}),G|=be.perform(yt)}else we&&we.each(function(Fe,Pe){J(P,Fe)&&Fe.dirty();var gt=W.getPerformArgs(Fe,P.block);gt.skip=!he.performRawSeries&&Y.isSeriesFiltered(Fe.context.model),h(Fe,Q),G|=Fe.perform(gt)})});function J(he,te){return he.setDirty&&(!he.dirtyMap||he.dirtyMap.get(te.__pipeline.id))}W.unfinished|=G}u.performSeriesTasks=function(W){var H;W.eachSeries(function(Y){H|=Y.dataTask.perform()}),this.unfinished|=H},u.plan=function(){this._pipelineMap.each(function(W){var H=W.tail;do{if(H.__block){W.blockIndex=H.__idxInPipeline;break}H=H.getUpstream()}while(H)})};var h=u.updatePayload=function(W,H){H!=="remain"&&(W.context.payload=H)};function p(W,H,Y,Q,P){var G=Y.seriesTaskMap||(Y.seriesTaskMap=y()),J=H.seriesType,he=H.getTargetSeries;H.createOnAllSeries?Q.eachRawSeries(te):J?Q.eachRawSeriesByType(J,te):he&&he(Q,P).each(te);function te(we){var be=we.uid,Qe=G.get(be)||G.set(be,a({plan:T,reset:b,count:D}));Qe.context={model:we,ecModel:Q,api:P,useClearVisual:H.isVisual&&!H.isLayout,plan:H.plan,reset:H.reset,scheduler:W},M(W,we,Qe)}var pe=W._pipelineMap;G.each(function(we,be){pe.get(be)||(we.dispose(),G.removeKey(be))})}function A(W,H,Y,Q,P){var G=Y.overallTask=Y.overallTask||a({reset:C});G.context={ecModel:Q,api:P,overallReset:H.overallReset,scheduler:W};var J=G.agentStubMap=G.agentStubMap||y(),he=H.seriesType,te=H.getTargetSeries,pe=!0,we=H.modifyOutputEnd;he?Q.eachRawSeriesByType(he,be):te?te(Q,P).each(be):(pe=!1,L(Q.getSeries(),be));function be($e){var yt=$e.uid,Fe=J.get(yt);Fe||(Fe=J.set(yt,a({reset:S,onDirty:O})),G.dirty()),Fe.context={model:$e,overallProgress:pe,modifyOutputEnd:we},Fe.agent=G,Fe.__block=pe,M(W,$e,Fe)}var Qe=W._pipelineMap;J.each(function($e,yt){Qe.get(yt)||($e.dispose(),G.dirty(),J.removeKey(yt))})}function C(W){W.overallReset(W.ecModel,W.api,W.payload)}function S(W,H){return W.overallProgress&&E}function E(){this.agent.dirty(),this.getDownstream().dirty()}function O(){this.agent&&this.agent.dirty()}function T(W){return W.plan&&W.plan(W.model,W.ecModel,W.api,W.payload)}function b(W){W.useClearVisual&&W.data.clearAllVisual();var H=W.resetDefines=c(W.reset(W.model,W.ecModel,W.api,W.payload));return H.length>1?v(H,function(Y,Q){return N(Q)}):x}var x=N(0);function N(W){return function(H,Y){var Q=Y.data,P=Y.resetDefines[W];if(P&&P.dataEach)for(var G=H.start;G<H.end;G++)P.dataEach(Q,G);else P&&P.progress&&P.progress(H,Q)}}function D(W){return W.data.count()}function M(W,H,Y){var Q=H.uid,P=W._pipelineMap.get(Q);!P.head&&(P.head=Y),P.tail&&P.tail.pipe(Y),P.tail=Y,Y.__idxInPipeline=P.count++,Y.__pipeline=P}r.wrapStageHandler=function(W,H){return m(W)&&(W={overallReset:W,seriesType:R(W)}),W.uid=o("stageHandler"),H&&(W.visualType=H),W};function R(W){z=null;try{W(F,B)}catch(H){}return z}var F={},B={},z;U(F,s),U(B,l),F.eachSeriesByType=F.eachRawSeriesByType=function(W){z=W},F.eachComponent=function(W){W.mainType==="series"&&W.subType&&(z=W.subType)};function U(W,H){for(var Y in H.prototype)W[Y]=w}var K=r;Z.exports=K},Sawj:function(Z,_,e){},ShHz:function(Z,_,e){var d=e("mUie");function L(v,m){return d(v,m)}Z.exports=L},SobH:function(Z,_){var e=function(){this.head=null,this.tail=null,this._len=0},d=e.prototype;d.insert=function(w){var f=new L(w);return this.insertEntry(f),f},d.insertEntry=function(w){this.head?(this.tail.next=w,w.prev=this.tail,w.next=null,this.tail=w):this.head=this.tail=w,this._len++},d.remove=function(w){var f=w.prev,a=w.next;f?f.next=a:this.head=a,a?a.prev=f:this.tail=f,w.next=w.prev=null,this._len--},d.len=function(){return this._len},d.clear=function(){this.head=this.tail=null,this._len=0};var L=function(f){this.value=f,this.next,this.prev},v=function(f){this._list=new e,this._map={},this._maxSize=f||10,this._lastRemovedEntry=null},m=v.prototype;m.put=function(w,f){var a=this._list,t=this._map,o=null;if(t[w]==null){var s=a.len(),l=this._lastRemovedEntry;if(s>=this._maxSize&&s>0){var n=a.head;a.remove(n),delete t[n.key],o=n.value,this._lastRemovedEntry=n}l?l.value=f:l=new L(f),l.key=w,a.insertEntry(l),t[w]=l}return o},m.get=function(w){var f=this._map[w],a=this._list;if(f!=null)return f!==a.tail&&(a.remove(f),a.insertEntry(f)),f.value},m.clear=function(){this._list.clear(),this._map={}};var y=v;Z.exports=y},T1Cw:function(Z,_,e){var d=e("Q6Bq"),L=e("6q22"),v=e("uieq"),m=e("7lsH");d.extendChartView({type:"scatter",render:function(y,w,f){var a=y.getData(),t=this._updateSymbolDraw(a,y);t.updateData(a,{clipShape:this._getClipShape(y)}),this._finished=!0},incrementalPrepareRender:function(y,w,f){var a=y.getData(),t=this._updateSymbolDraw(a,y);t.incrementalPrepareUpdate(a),this._finished=!1},incrementalRender:function(y,w,f){this._symbolDraw.incrementalUpdate(y,w.getData(),{clipShape:this._getClipShape(w)}),this._finished=y.end===w.getData().count()},updateTransform:function(y,w,f){var a=y.getData();if(this.group.dirty(),!this._finished||a.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var t=m().reset(y);t.progress&&t.progress({start:0,end:a.count()},a),this._symbolDraw.updateLayout(a)},_getClipShape:function(y){var w=y.coordinateSystem,f=w&&w.getArea&&w.getArea();return y.get("clip",!0)?f:null},_updateSymbolDraw:function(y,w){var f=this._symbolDraw,a=w.pipelineContext,t=a.large;return(!f||t!==this._isLargeDraw)&&(f&&f.remove(),f=this._symbolDraw=t?new v:new L,this._isLargeDraw=t,this.group.removeAll()),this.group.add(f.group),f},remove:function(y,w){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},T3qQ:function(Z,_,e){},T9w4:function(Z,_,e){var d=e("oEo5"),L=e("zYjg"),v=e("giN5"),m=e("cLjh"),y=e("LieO"),w=e("eZvc"),f=w.rectCoordAxisBuildSplitArea,a=w.rectCoordAxisHandleRemove,t=["axisLine","axisTickLabel","axisName"],o=["splitArea","splitLine","minorSplitLine"],s=m.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(l,n,c,r){this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new L.Group,this.group.add(this._axisGroup),!l.get("show"))return;var i=l.getCoordSysModel(),h=y.layout(i,l),p=new v(l,h);d.each(t,p.add,p),this._axisGroup.add(p.getGroup()),d.each(o,function(A){l.get(A+".show")&&this["_"+A](l,i)},this),L.groupTransition(u,this._axisGroup,l),s.superCall(this,"render",l,n,c,r)},remove:function(){a(this)},_splitLine:function(l,n){var c=l.axis;if(c.scale.isBlank())return;var r=l.getModel("splitLine"),u=r.getModel("lineStyle"),i=u.get("color");i=d.isArray(i)?i:[i];for(var h=n.coordinateSystem.getRect(),p=c.isHorizontal(),A=0,C=c.getTicksCoords({tickModel:r}),S=[],E=[],O=u.getLineStyle(),T=0;T<C.length;T++){var b=c.toGlobalCoord(C[T].coord);p?(S[0]=b,S[1]=h.y,E[0]=b,E[1]=h.y+h.height):(S[0]=h.x,S[1]=b,E[0]=h.x+h.width,E[1]=b);var x=A++%i.length,N=C[T].tickValue;this._axisGroup.add(new L.Line({anid:N!=null?"line_"+C[T].tickValue:null,subPixelOptimize:!0,shape:{x1:S[0],y1:S[1],x2:E[0],y2:E[1]},style:d.defaults({stroke:i[x]},O),silent:!0}))}},_minorSplitLine:function(l,n){var c=l.axis,r=l.getModel("minorSplitLine"),u=r.getModel("lineStyle"),i=n.coordinateSystem.getRect(),h=c.isHorizontal(),p=c.getMinorTicksCoords();if(!p.length)return;for(var A=[],C=[],S=u.getLineStyle(),E=0;E<p.length;E++)for(var O=0;O<p[E].length;O++){var T=c.toGlobalCoord(p[E][O].coord);h?(A[0]=T,A[1]=i.y,C[0]=T,C[1]=i.y+i.height):(A[0]=i.x,A[1]=T,C[0]=i.x+i.width,C[1]=T),this._axisGroup.add(new L.Line({anid:"minor_line_"+p[E][O].tickValue,subPixelOptimize:!0,shape:{x1:A[0],y1:A[1],x2:C[0],y2:C[1]},style:S,silent:!0}))}},_splitArea:function(l,n){f(this,this._axisGroup,l,n)}});s.extend({type:"xAxis"}),s.extend({type:"yAxis"})},TA7z:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};_.default=d},TFeq:function(Z,_,e){"use strict";var d=e("slFT");_.a=d.a},TJUE:function(Z,_){var e=arguments[3],d=arguments[4],L=arguments[5],v=JSON.stringify;Z.exports=function(m,y){for(var w,f=Object.keys(L),a=0,t=f.length;a<t;a++){var o=f[a],s=L[o].exports;if(s===m||s&&s.default===m){w=o;break}}if(!w){w=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var l={},a=0,t=f.length;a<t;a++){var o=f[a];l[o]=o}d[w]=["function(require,module,exports){"+m+"(self); }",l]}var n=Math.floor(Math.pow(16,8)*Math.random()).toString(16),c={};c[w]=w,d[n]=["function(require,module,exports){var f = require("+v(w)+");(f.default ? f.default : f)(self);}",c];var r={};u(n);function u(S){r[S]=!0;for(var E in d[S][1]){var O=d[S][1][E];r[O]||u(O)}}var i="("+e+")({"+Object.keys(r).map(function(S){return v(S)+":["+d[S][0]+","+v(d[S][1])+"]"}).join(",")+"},{},["+v(n)+"])",h=window.URL||window.webkitURL||window.mozURL||window.msURL,p=new Blob([i],{type:"text/javascript"});if(y&&y.bare)return p;var A=h.createObjectURL(p),C=new Worker(A);return C.objectURL=A,C}},TJkC:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="ReloadOutlined";var w=_.a=d.forwardRef(y)},TSjp:function(Z,_,e){var d=e("Q6Bq");(function(){for(var v in d){if(d==null||!d.hasOwnProperty(v)||v==="default"||v==="__esModule")return;_[v]=d[v]}})();var L=e("4i2E");(function(){for(var v in L){if(L==null||!L.hasOwnProperty(v)||v==="default"||v==="__esModule")return;_[v]=L[v]}})(),e("lENJ"),e("Z5xy"),e("ZyKJ"),e("GW+3"),e("Q4TL"),e("3+Tf"),e("tfuW"),e("Y5yc"),e("xHkS"),e("UlWe"),e("m+vz"),e("+j2m"),e("uGYj"),e("xjlc"),e("7i10"),e("ptwT"),e("ZiI5"),e("QZMu"),e("tD+t"),e("0STn"),e("//FV"),e("URsE"),e("6FCF"),e("RrEo"),e("IDQs"),e("Q8DI"),e("7mDt"),e("vtWr"),e("UWng"),e("4/zX"),e("uCTv"),e("WPhU"),e("O0fn"),e("9ZAX"),e("8DUC"),e("in6x"),e("MJjE"),e("F8iZ"),e("AvRI"),e("4UXL"),e("9LFT"),e("77ii"),e("t3Yf"),e("D2y6"),e("rYji"),e("yZ6v"),e("vXmO"),e("Jy93"),e("intE")},TZL6:function(Z,_,e){"use strict";e.d(_,"a",function(){return v});var d=e("ZZRV"),L=e.n(d);function v(m,y,w){var f=d.useRef({});return(!("value"in f.current)||w(f.current.condition,y))&&(f.current.value=m(),f.current.condition=y),f.current.value}},Tca1:function(Z,_,e){var d=e("oEo5"),L=e("0gFT"),v=e("+Vnd"),m=e("CQhY"),y=m.encodeHTML,w=m.addCommas,f=e("y6TG"),a=e("Vw6a"),t=a.retrieveRawAttr,o=e("zYK1"),s=e("kAFf"),l=s.makeSeriesEncodeForNameBased,n=v.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(r){for(var u=L(this,{coordDimensions:["value"],encodeDefaulter:d.curry(l,this)}),i=u.mapDimension("value"),h=d.createHashMap(),p=[],A=[],C=0,S=u.count();C<S;C++){var E=u.getName(C);h.set(E,!0),p.push({name:E,value:u.get(i,C),selected:t(u,C,"selected")})}var O=o.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return d.each(O.regions,function(T){var b=T.name;h.get(b)||(p.push({name:b}),A.push(b))}),this.updateSelectedMap(p),u.appendValues([],A),u},getHostGeoModel:function(){var r=this.option.geoIndex;return r!=null?this.dependentModels.geo[r]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(r){var u=this.getData();return u.get(u.mapDimension("value"),r)},getRegionModel:function(r){var u=this.getData();return u.getItemModel(u.indexOfName(r))},formatTooltip:function(r,u,i,h){for(var p=this.getData(),A=w(this.getRawValue(r)),C=p.getName(r),S=this.seriesGroup,E=[],O=0;O<S.length;O++){var T=S[O].originalData.indexOfName(C),b=p.mapDimension("value");isNaN(S[O].originalData.get(b,T))||E.push(y(S[O].name))}var x=h==="html"?"<br/>":`
|
||
`;return E.join(", ")+x+y(C+" : "+A)},getTooltipPosition:function(r){if(r!=null){var u=this.getData().getName(r),i=this.coordinateSystem,h=i.getRegion(u);return h&&i.dataToPoint(h.center)}},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r},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"}});d.mixin(n,f);var c=n;Z.exports=c},Td8K:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("oURd")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="MinusSquareOutlined";var f=v.forwardRef(w);_.default=f},TdBk:function(Z,_,e){var d=e("oEo5"),L=e("EgZf");function v(y,w){L.call(this,"radius",y,w),this.type="category"}v.prototype={constructor:v,pointToData:function(y,w){return this.polar.pointToData(y,w)[this.dim==="radius"?0:1]},dataToRadius:L.prototype.dataToCoord,radiusToData:L.prototype.coordToData},d.inherits(v,L);var m=v;Z.exports=m},TfK1:function(Z,_,e){var d=e("4Zqk");function L(v,m){return m=m||{},d(m.coordDimensions||[],v,{dimsDef:m.dimensionsDefine||v.dimensionsDefine,encodeDef:m.encodeDefine||v.encodeDefine,dimCount:m.dimensionsCount,encodeDefaulter:m.encodeDefaulter,generateCoord:m.generateCoord,generateCoordCount:m.generateCoordCount})}Z.exports=L},TjoS:function(Z,_,e){var d=e("KBjX"),L=1e-8;function v(y,w){return Math.abs(y-w)<L}function m(y,w,f){var a=0,t=y[0];if(!t)return!1;for(var o=1;o<y.length;o++){var s=y[o];a+=d(t[0],t[1],s[0],s[1],w,f),t=s}var l=y[0];return(!v(t[0],l[0])||!v(t[1],l[1]))&&(a+=d(t[0],t[1],l[0],l[1],w,f)),a!==0}_.contain=m},TmiR:function(Z,_,e){var d=e("oEo5"),L=e("sTJb"),v=e("ie0D"),m=function(f){f=f||{},L.call(this,f);for(var a in f)f.hasOwnProperty(a)&&(this[a]=f[a]);this._children=[],this.__storage=null,this.__dirty=!0};m.prototype={constructor:m,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(f){return this._children[f]},childOfName:function(f){for(var a=this._children,t=0;t<a.length;t++)if(a[t].name===f)return a[t]},childCount:function(){return this._children.length},add:function(f){return f&&f!==this&&f.parent!==this&&(this._children.push(f),this._doAdd(f)),this},addBefore:function(f,a){if(f&&f!==this&&f.parent!==this&&a&&a.parent===this){var t=this._children,o=t.indexOf(a);o>=0&&(t.splice(o,0,f),this._doAdd(f))}return this},_doAdd:function(f){f.parent&&f.parent.remove(f),f.parent=this;var a=this.__storage,t=this.__zr;a&&a!==f.__storage&&(a.addToStorage(f),f instanceof m&&f.addChildrenToStorage(a)),t&&t.refresh()},remove:function(f){var a=this.__zr,t=this.__storage,o=this._children,s=d.indexOf(o,f);return s<0?this:(o.splice(s,1),f.parent=null,t&&(t.delFromStorage(f),f instanceof m&&f.delChildrenFromStorage(t)),a&&a.refresh(),this)},removeAll:function(){var f=this._children,a=this.__storage,t,o;for(o=0;o<f.length;o++)t=f[o],a&&(a.delFromStorage(t),t instanceof m&&t.delChildrenFromStorage(a)),t.parent=null;return f.length=0,this},eachChild:function(f,a){for(var t=this._children,o=0;o<t.length;o++){var s=t[o];f.call(a,s,o)}return this},traverse:function(f,a){for(var t=0;t<this._children.length;t++){var o=this._children[t];f.call(a,o),o.type==="group"&&o.traverse(f,a)}return this},addChildrenToStorage:function(f){for(var a=0;a<this._children.length;a++){var t=this._children[a];f.addToStorage(t),t instanceof m&&t.addChildrenToStorage(f)}},delChildrenFromStorage:function(f){for(var a=0;a<this._children.length;a++){var t=this._children[a];f.delFromStorage(t),t instanceof m&&t.delChildrenFromStorage(f)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(f){for(var a=null,t=new v(0,0,0,0),o=f||this._children,s=[],l=0;l<o.length;l++){var n=o[l];if(n.ignore||n.invisible)continue;var c=n.getBoundingRect(),r=n.getLocalTransform(s);r?(t.copy(c),t.applyTransform(r),a=a||t.clone(),a.union(t)):(a=a||c.clone(),a.union(c))}return a||t}},d.inherits(m,L);var y=m;Z.exports=y},TymS:function(Z,_,e){for(var d=e("Q6Bq"),L=e("ycch"),v=function(){},m=["treemapZoomToNode","treemapRender","treemapMove"],y=0;y<m.length;y++)d.registerAction({type:m[y],update:"updateView"},v);d.registerAction({type:"treemapRootToNode",update:"updateView"},function(w,f){f.eachComponent({mainType:"series",subType:"treemap",query:w},a);function a(t,o){var s=["treemapZoomToNode","treemapRootToNode"],l=L.retrieveTargetInfo(w,s,t);if(l){var n=t.getViewRoot();n&&(w.direction=L.aboveViewRoot(n,l.node)?"rollUp":"drillDown"),t.resetViewRoot(l.node)}}})},TzWj:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("Q6Bq"),m=e("oEo5"),y=e("Gmrd"),w=e("SSBM"),f=e("Jjzi"),a=e("zYK1"),t=e("ICLB");function o(c,r){var u=c.get("boundingCoords");if(u!=null){var i=u[0],h=u[1];isNaN(i[0])||isNaN(i[1])||isNaN(h[0])||isNaN(h[1])||this.setBoundingRect(i[0],i[1],h[0]-i[0],h[1]-i[1])}var p=this.getBoundingRect(),A,C=c.get("layoutCenter"),S=c.get("layoutSize"),E=r.getWidth(),O=r.getHeight(),T=p.width/p.height*this.aspectScale,b=!1;C&&S&&(C=[f.parsePercent(C[0],E),f.parsePercent(C[1],O)],S=f.parsePercent(S,Math.min(E,O)),!isNaN(C[0])&&!isNaN(C[1])&&!isNaN(S)&&(b=!0));var x;if(b){var x={};T>1?(x.width=S,x.height=S/T):(x.height=S,x.width=S*T),x.y=C[1]-x.height/2,x.x=C[0]-x.width/2}else A=c.getBoxLayoutParams(),A.aspect=T,x=w.getLayoutRect(A,{width:E,height:O});this.setViewRect(x.x,x.y,x.width,x.height),this.setCenter(c.get("center")),this.setZoom(c.get("zoom"))}function s(c,r){m.each(r.get("geoCoord"),function(u,i){c.addGeoCoord(i,u)})}var l={dimensions:y.prototype.dimensions,create:function(c,r){var u=[];c.eachComponent("geo",function(h,p){var A=h.get("map"),C=h.get("aspectScale"),S=!0,E=t.retrieveMap(A);E&&E[0]&&E[0].type==="svg"?(C==null&&(C=1),S=!1):C==null&&(C=.75);var O=new y(A+p,A,h.get("nameMap"),S);O.aspectScale=C,O.zoomLimit=h.get("scaleLimit"),u.push(O),s(O,h),h.coordinateSystem=O,O.model=h,O.resize=o,O.resize(h,r)}),c.eachSeries(function(h){var p=h.get("coordinateSystem");if(p==="geo"){var A=h.get("geoIndex")||0;h.coordinateSystem=u[A]}});var i={};return c.eachSeriesByType("map",function(h){if(!h.getHostGeoModel()){var p=h.getMapType();i[p]=i[p]||[],i[p].push(h)}}),m.each(i,function(h,p){var A=m.map(h,function(S){return S.get("nameMap")}),C=new y(p,p,m.mergeAll(A));C.zoomLimit=m.retrieve.apply(null,m.map(h,function(S){return S.get("scaleLimit")})),u.push(C),C.resize=o,C.aspectScale=h[0].get("aspectScale"),C.resize(h[0],r),m.each(h,function(S){S.coordinateSystem=C,s(C,S)})}),u},getFilledRegions:function(c,r,u){for(var i=(c||[]).slice(),h=m.createHashMap(),p=0;p<i.length;p++)h.set(i[p].name,i[p]);var A=a.load(r,u);return m.each(A.regions,function(C){var S=C.name;!h.get(S)&&i.push({name:S})}),i}};v.registerCoordinateSystem("geo",l);var n=l;Z.exports=n},U3SQ:function(Z,_){function e(d,L){return d===L||d!==d&&L!==L}Z.exports=e},U3UR:function(Z,_,e){var d=e("oEo5"),L=e("zYjg"),v=e("F2Ao"),m=Math.PI;function y(w,f){f=f||{},d.defaults(f,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var a=new L.Group,t=new L.Rect({style:{fill:f.maskColor},zlevel:f.zlevel,z:1e4});a.add(t);var o=f.fontSize+" sans-serif",s=new L.Rect({style:{fill:"none",text:f.text,font:o,textPosition:"right",textDistance:10,textFill:f.textColor},zlevel:f.zlevel,z:10001});if(a.add(s),f.showSpinner){var l=new L.Arc({shape:{startAngle:-m/2,endAngle:-m/2+.1,r:f.spinnerRadius},style:{stroke:f.color,lineCap:"round",lineWidth:f.lineWidth},zlevel:f.zlevel,z:10001});l.animateShape(!0).when(1e3,{endAngle:m*3/2}).start("circularInOut"),l.animateShape(!0).when(1e3,{startAngle:m*3/2}).delay(300).start("circularInOut"),a.add(l)}return a.resize=function(){var n=v.getWidth(f.text,o),c=f.showSpinner?f.spinnerRadius:0,r=(w.getWidth()-c*2-(f.showSpinner&&n?10:0)-n)/2-(f.showSpinner?0:n/2),u=w.getHeight()/2;f.showSpinner&&l.setShape({cx:r,cy:u}),s.setShape({x:r-c,y:u-c,width:c*2,height:c*2}),t.setShape({x:0,y:0,width:w.getWidth(),height:w.getHeight()})},a.resize(),a}Z.exports=y},U4G4:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};_.default=d},UDPO:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("ie0D"),m=e("iXCq"),y=e("+Z45"),w=e("cARS"),f=e("2TcX"),a=["inBrush","outOfBrush"],t="__ecBrushSelect",o="__ecInBrushSelectEvent",s=d.PRIORITY.VISUAL.BRUSH;d.registerLayout(s,function(C,S,E){C.eachComponent({mainType:"brush"},function(O){E&&E.type==="takeGlobalCursor"&&O.setBrushOption(E.key==="brush"?E.brushOption:{brushType:!1})}),l(C)});function l(C){C.eachComponent({mainType:"brush"},function(S){var E=S.brushTargetManager=new f(S.option,C);E.setInputRanges(S.areas,C)})}d.registerVisual(s,function(C,S,E){var O=[],T,b;C.eachComponent({mainType:"brush"},function(x,N){var D={brushId:x.id,brushIndex:N,brushName:x.name,areas:L.clone(x.areas),selected:[]};O.push(D);var M=x.option,R=M.brushLink,F=[],B=[],z=[],U=0;N||(T=M.throttleType,b=M.throttleDelay);var K=L.map(x.areas,function(G){return h(L.defaults({boundingRect:p[G.brushType](G)},G))}),W=m.createVisualMappings(x.option,a,function(G){G.mappingMethod="fixed"});L.isArray(R)&&L.each(R,function(G){F[G]=1});function H(G){return R==="all"||F[G]}function Y(G){return!!G.length}C.eachSeries(function(G,J){var he=z[J]=[];G.subType==="parallel"?Q(G,J,he):P(G,J,he)});function Q(G,J){var he=G.coordinateSystem;U|=he.hasAxisBrushed(),H(J)&&he.eachActiveState(G.getData(),function(te,pe){te==="active"&&(B[pe]=1)})}function P(G,J,he){var te=u(G);if(!te||i(x,J))return;if(L.each(K,function(we){te[we.brushType]&&x.brushTargetManager.controlSeries(we,G,C)&&he.push(we),U|=Y(he)}),H(J)&&Y(he)){var pe=G.getData();pe.each(function(we){r(te,he,pe,we)&&(B[we]=1)})}}C.eachSeries(function(G,J){var he={seriesId:G.id,seriesIndex:J,seriesName:G.name,dataIndex:[]};D.selected.push(he);var te=u(G),pe=z[J],we=G.getData(),be=H(J)?function(Qe){return B[Qe]?(he.dataIndex.push(we.getRawIndex(Qe)),"inBrush"):"outOfBrush"}:function(Qe){return r(te,pe,we,Qe)?(he.dataIndex.push(we.getRawIndex(Qe)),"inBrush"):"outOfBrush"};(H(J)?U:Y(pe))&&m.applyVisual(a,W,we,be)})}),n(S,T,b,O,E)});function n(C,S,E,O,T){if(!T)return;var b=C.getZr();if(b[o])return;b[t]||(b[t]=c);var x=w.createOrUpdate(b,t,E,S);x(C,O)}function c(C,S){if(!C.isDisposed()){var E=C.getZr();E[o]=!0,C.dispatchAction({type:"brushSelect",batch:S}),E[o]=!1}}function r(C,S,E,O){for(var T=0,b=S.length;T<b;T++){var x=S[T];if(C[x.brushType](O,E,x.selectors,x))return!0}}function u(C){var S=C.brushSelector;if(L.isString(S)){var E=[];return L.each(y,function(T,b){E[b]=function(x,N,D,M){var R=N.getItemLayout(x);return T[S](R,D,M)}}),E}else if(L.isFunction(S)){var O={};return L.each(y,function(T,b){O[b]=S}),O}return S}function i(C,S){var E=C.option.seriesIndex;return E!=null&&E!=="all"&&(L.isArray(E)?L.indexOf(E,S)<0:S!==E)}function h(C){var S=C.selectors={};return L.each(y[C.brushType],function(E,O){S[O]=function(T){return E(T,S,C)}}),C}var p={lineX:L.noop,lineY:L.noop,rect:function(C){return A(C.range)},polygon:function(C){for(var S,E=C.range,O=0,T=E.length;O<T;O++){S=S||[[Infinity,-Infinity],[Infinity,-Infinity]];var b=E[O];b[0]<S[0][0]&&(S[0][0]=b[0]),b[0]>S[0][1]&&(S[0][1]=b[0]),b[1]<S[1][0]&&(S[1][0]=b[1]),b[1]>S[1][1]&&(S[1][1]=b[1])}return S&&A(S)}};function A(C){return new v(C[0][0],C[1][0],C[0][1]-C[0][0],C[1][1]-C[1][0])}_.layoutCovers=l},UKqh:function(Z,_){/*!
|
||
* Determine if an object is a Buffer
|
||
*
|
||
* @author Feross Aboukhadijeh <https://feross.org>
|
||
* @license MIT
|
||
*/Z.exports=function(L){return L!=null&&(e(L)||d(L)||!!L._isBuffer)};function e(L){return!!L.constructor&&typeof L.constructor.isBuffer=="function"&&L.constructor.isBuffer(L)}function d(L){return typeof L.readFloatLE=="function"&&typeof L.slice=="function"&&e(L.slice(0,0))}},URsE:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5");e("BZez"),e("dYTN"),e("fnyN");var v=e("Dj6p"),m=e("dMF2"),y=e("Cd9S");d.registerVisual(L.curry(v,"sunburst")),d.registerLayout(L.curry(m,"sunburst")),d.registerProcessor(L.curry(y,"sunburst"))},UWng:function(Z,_,e){e("z8PH"),e("PUaD"),e("8x96")},UZiS:function(Z,_,e){var d=e("5sjV"),L=d.extend({type:"dataZoom",render:function(v,m,y,w){this.dataZoomModel=v,this.ecModel=m,this.api=y},getTargetCoordInfo:function(){var v=this.dataZoomModel,m=this.ecModel,y={};v.eachTargetAxis(function(f,a){var t=m.getComponent(f.axis,a);if(t){var o=t.getCoordSysModel();o&&w(o,t,y[o.mainType]||(y[o.mainType]=[]),o.componentIndex)}},this);function w(f,a,t,o){for(var s,l=0;l<t.length;l++)if(t[l].model===f){s=t[l];break}s||t.push(s={model:f,axisModels:[],coordIndex:o}),s.axisModels.push(a)}return y}});Z.exports=L},Udc0:function(Z,_,e){var d=e("5NJe"),L=d("length");Z.exports=L},UeGE:function(Z,_,e){var d=e("ie0D"),L=e("Owcv"),v=L.onIrrelevantElement,m=e("zYjg");function y(t){return t=a(t),function(o,s){return m.clipPointsByRect(o,t)}}function w(t,o){return t=a(t),function(s){var l=o!=null?o:s,n=l?t.width:t.height,c=l?t.x:t.y;return[c,c+(n||0)]}}function f(t,o,s){return t=a(t),function(l,n,c){return t.contain(n[0],n[1])&&!v(l,o,s)}}function a(t){return d.create(t)}_.makeRectPanelClipPath=y,_.makeLinearBrushOtherExtent=w,_.makeRectIsTargetByCursor=f},Uhfr:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="PlusSquareOutlined";var w=_.a=d.forwardRef(y)},Ukc0:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5");function v(m,y){L.each(y,function(w){w.update="updateView",d.registerAction(w,function(f,a){var t={};return a.eachComponent({mainType:"series",subType:m,query:f},function(o){o[w.method]&&o[w.method](f.name,f.dataIndex);var s=o.getData();s.each(function(l){var n=s.getName(l);t[n]=o.isSelected(n)||!1})}),{name:f.name,selected:t,seriesId:f.seriesId}})})}Z.exports=v},UlWe:function(Z,_,e){var d=e("Q6Bq");e("I10+"),e("5fdl"),e("hHOv");var L=e("1vZL"),v=e("pMHC"),m=e("sbTi"),y=e("czw/"),w=e("HKLK"),f=e("Gvbi"),a=e("Mq8S"),t=e("I6zq");d.registerProcessor(L),d.registerVisual(v("graph","circle",null)),d.registerVisual(m),d.registerVisual(y),d.registerLayout(w),d.registerLayout(d.PRIORITY.VISUAL.POST_CHART_LAYOUT,f),d.registerLayout(a),d.registerCoordinateSystem("graphView",{create:t})},Urip:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("IyOB")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="CheckOutlined";var f=v.forwardRef(w);_.default=f},Uu80:function(Z,_,e){"use strict";e.d(_,"a",function(){return L});var d=e("OEbR");function L(v,m){var y;if(typeof Symbol=="undefined"||v[Symbol.iterator]==null){if(Array.isArray(v)||(y=Object(d.a)(v))||m&&v&&typeof v.length=="number"){y&&(v=y);var w=0,f=function(){};return{s:f,n:function(){return w>=v.length?{done:!0}:{done:!1,value:v[w++]}},e:function(l){throw l},f}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,t=!1,o;return{s:function(){y=v[Symbol.iterator]()},n:function(){var l=y.next();return a=l.done,l},e:function(l){t=!0,o=l},f:function(){try{!a&&y.return!=null&&y.return()}finally{if(t)throw o}}}}},VC1J:function(Z,_,e){var d=e("rBS4");function L(v,m){var y=v.__data__;return d(m)?y[typeof m=="string"?"string":"hash"]:y.map}Z.exports=L},VOhW:function(Z,_,e){var d=e("k+fg"),L=d.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(m){return m.stack=null,L.superApply(this,"getInitialData",arguments)}}),v=L;Z.exports=v},VOjM:function(Z,_,e){var d=e("342z"),L=e("nOCc"),v=d.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(y,w){L.buildPath(y,w,!0)}});Z.exports=v},VSH6:function(Z,_){var e=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function d(L,v){L==="china"&&v.name==="\u53F0\u6E7E"&&v.geometries.push({type:"polygon",exterior:e[0]})}Z.exports=d},VT0C:function(Z,_,e){var d=e("QV7q"),L=d.makeInner,v=d.normalizeToArray,m=L();function y(f,a){for(var t=f.length,o=0;o<t;o++)if(f[o].length>a)return f[o];return f[t-1]}var w={clearColorPalette:function(){m(this).colorIdx=0,m(this).colorNameMap={}},getColorFromPalette:function(f,a,t){a=a||this;var o=m(a),s=o.colorIdx||0,l=o.colorNameMap=o.colorNameMap||{};if(l.hasOwnProperty(f))return l[f];var n=v(this.get("color",!0)),c=this.get("colorLayer",!0),r=t==null||!c?n:y(c,t);if(r=r||n,!r||!r.length)return;var u=r[s];return f&&(l[f]=u),o.colorIdx=(s+1)%r.length,u}};Z.exports=w},VYV7:function(Z,_,e){var d=e("oEo5"),L=e("Wa83"),v=e("+AHJ"),m=e("diXd"),y=e("Az1A"),w=e("NjBR"),f="silent";function a(u,i,h){return{type:u,event:h,target:i.target,topTarget:i.topTarget,cancelBubble:!1,offsetX:h.zrX,offsetY:h.zrY,gestureEvent:h.gestureEvent,pinchX:h.pinchX,pinchY:h.pinchY,pinchScale:h.pinchScale,wheelDelta:h.zrDelta,zrByTouch:h.zrByTouch,which:h.which,stop:t}}function t(){y.stop(this.event)}function o(){}o.prototype.dispose=function(){};var s=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],l=function(i,h,p,A){m.call(this),this.storage=i,this.painter=h,this.painterRoot=A,p=p||new o,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,v.call(this),this.setHandlerProxy(p)};l.prototype={constructor:l,setHandlerProxy:function(i){this.proxy&&this.proxy.dispose(),i&&(d.each(s,function(h){i.on&&i.on(h,this[h],this)},this),i.handler=this),this.proxy=i},mousemove:function(i){var h=i.zrX,p=i.zrY,A=c(this,h,p),C=this._hovered,S=C.target;S&&!S.__zr&&(C=this.findHover(C.x,C.y),S=C.target);var E=this._hovered=A?{x:h,y:p}:this.findHover(h,p),O=E.target,T=this.proxy;T.setCursor&&T.setCursor(O?O.cursor:"default"),S&&O!==S&&this.dispatchToElement(C,"mouseout",i),this.dispatchToElement(E,"mousemove",i),O&&O!==S&&this.dispatchToElement(E,"mouseover",i)},mouseout:function(i){var h=i.zrEventControl,p=i.zrIsToLocalDOM;h!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",i),h!=="no_globalout"&&(!p&&this.trigger("globalout",{type:"globalout",event:i}))},resize:function(i){this._hovered={}},dispatch:function(i,h){var p=this[i];p&&p.call(this,h)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(i){var h=this.proxy;h.setCursor&&h.setCursor(i)},dispatchToElement:function(i,h,p){i=i||{};var A=i.target;if(A&&A.silent)return;for(var C="on"+h,S=a(h,i,p);A&&!(A[C]&&(S.cancelBubble=A[C].call(A,S)),A.trigger(h,S),A=A.parent,S.cancelBubble););S.cancelBubble||(this.trigger(h,S),this.painter&&this.painter.eachOtherLayer(function(E){typeof E[C]=="function"&&E[C].call(E,S),E.trigger&&E.trigger(h,S)}))},findHover:function(i,h,p){for(var A=this.storage.getDisplayList(),C={x:i,y:h},S=A.length-1;S>=0;S--){var E;if(A[S]!==p&&!A[S].ignore&&(E=n(A[S],i,h))&&(!C.topTarget&&(C.topTarget=A[S]),E!==f)){C.target=A[S];break}}return C},processGesture:function(i,h){this._gestureMgr||(this._gestureMgr=new w);var p=this._gestureMgr;h==="start"&&p.clear();var A=p.recognize(i,this.findHover(i.zrX,i.zrY,null).target,this.proxy.dom);if(h==="end"&&p.clear(),A){var C=A.type;i.gestureEvent=C,this.dispatchToElement({target:A.target},C,A.event)}}},d.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(u){l.prototype[u]=function(i){var h=i.zrX,p=i.zrY,A=c(this,h,p),C,S;if((u!=="mouseup"||!A)&&(C=this.findHover(h,p),S=C.target),u==="mousedown")this._downEl=S,this._downPoint=[i.zrX,i.zrY],this._upEl=S;else if(u==="mouseup")this._upEl=S;else if(u==="click"){if(this._downEl!==this._upEl||!this._downPoint||L.dist(this._downPoint,[i.zrX,i.zrY])>4)return;this._downPoint=null}this.dispatchToElement(C,u,i)}});function n(u,i,h){if(u[u.rectHover?"rectContain":"contain"](i,h)){for(var p=u,A;p;){if(p.clipPath&&!p.clipPath.contain(i,h))return!1;p.silent&&(A=!0),p=p.parent}return A?f:!0}return!1}function c(u,i,h){var p=u.painter;return i<0||i>p.getWidth()||h<0||h>p.getHeight()}d.mixin(l,m),d.mixin(l,v);var r=l;Z.exports=r},VgM2:function(Z,_,e){"use strict";var d=e("+9z/");_.a=d.a},Vkpt:function(Z,_,e){var d=e("oEo5"),L=d.createHashMap;function v(m){m.eachSeriesByType("themeRiver",function(y){var w=y.getData(),f=y.getRawData(),a=y.get("color"),t=L();w.each(function(o){t.set(w.getRawIndex(o),o)}),f.each(function(o){var s=f.getName(o),l=a[(y.nameMap.get(s)-1)%a.length];f.setItemVisual(o,"color",l);var n=t.get(o);n!=null&&w.setItemVisual(n,"color",l)})})}Z.exports=v},Vlnl:function(Z,_,e){var d=e("oEo5"),L=e("6q22"),v=e("Jjzi"),m=e("YsOP"),y=e("aiPM"),w=e("4M5R");function f(o,s,l){var n=s.coordinateSystem;o.each(function(c){var r=o.getItemModel(c),u,i=v.parsePercent(r.get("x"),l.getWidth()),h=v.parsePercent(r.get("y"),l.getHeight());if(!isNaN(i)&&!isNaN(h))u=[i,h];else if(s.getMarkerPosition)u=s.getMarkerPosition(o.getValues(o.dimensions,c));else if(n){var p=o.get(n.dimensions[0],c),A=o.get(n.dimensions[1],c);u=n.dataToPoint([p,A])}isNaN(i)||(u[0]=i),isNaN(h)||(u[1]=h),o.setItemLayout(c,u)})}var a=w.extend({type:"markPoint",updateTransform:function(o,s,l){s.eachSeries(function(n){var c=n.markPointModel;c&&(f(c.getData(),n,l),this.markerGroupMap.get(n.id).updateLayout(c))},this)},renderSeries:function(o,s,l,n){var c=o.coordinateSystem,r=o.id,u=o.getData(),i=this.markerGroupMap,h=i.get(r)||i.set(r,new L),p=t(c,o,s);s.setData(p),f(s.getData(),o,n),p.each(function(A){var C=p.getItemModel(A),S=C.getShallow("symbol"),E=C.getShallow("symbolSize"),O=C.getShallow("symbolRotate"),T=d.isFunction(S),b=d.isFunction(E),x=d.isFunction(O);if(T||b||x){var N=s.getRawValue(A),D=s.getDataParams(A);T&&(S=S(N,D)),b&&(E=E(N,D)),x&&(O=O(N,D))}p.setItemVisual(A,{symbol:S,symbolSize:E,symbolRotate:O,color:C.get("itemStyle.color")||u.getVisual("color")})}),h.updateData(p),this.group.add(h.group),p.eachItemGraphicEl(function(A){A.traverse(function(C){C.dataModel=s})}),h.__keep=!0,h.group.silent=s.get("silent")||o.get("silent")}});function t(o,s,l){var n;o?n=d.map(o&&o.dimensions,function(u){var i=s.getData().getDimensionInfo(s.getData().mapDimension(u))||{};return d.defaults({name:u},i)}):n=[{name:"value",type:"float"}];var c=new m(n,l),r=d.map(l.get("data"),d.curry(y.dataTransform,s));return o&&(r=d.filter(r,d.curry(y.dataFilter,o))),c.initData(r,null,o?y.dimValueGetter:function(u){return u.value}),c}Z.exports=a},VmQ4:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("BJce"),m=e.n(v),y=e("bEBK")},VqEN:function(Z,_,e){"use strict";e.d(_,"a",function(){return v});var d=e("ZZRV"),L=e.n(d),v=d.createContext(null)},VrcO:function(Z,_,e){Z.exports=e("gweE")},Vw6a:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=v.isTypedArray,y=v.extend,w=v.assert,f=v.each,a=v.isObject,t=e("QV7q"),o=t.getDataItemValue,s=t.isDataItemOption,l=e("Jjzi"),n=l.parseDate,c=e("vwaK"),r=e("3uc+"),u=r.SOURCE_FORMAT_TYPED_ARRAY,i=r.SOURCE_FORMAT_ARRAY_ROWS,h=r.SOURCE_FORMAT_ORIGINAL,p=r.SOURCE_FORMAT_OBJECT_ROWS;function A(B,z){c.isInstance(B)||(B=c.seriesDataToSource(B)),this._source=B;var U=this._data=B.data,K=B.sourceFormat;K===u&&(this._offset=0,this._dimSize=z,this._data=U);var W=S[K===i?K+"_"+B.seriesLayoutBy:K];y(this,W)}var C=A.prototype;C.pure=!1,C.persistent=!0,C.getSource=function(){return this._source};var S={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(B){return this._data[B+this._source.startIndex]},appendData:T},arrayRows_row:{pure:!0,count:function(){var B=this._data[0];return B?Math.max(0,B.length-this._source.startIndex):0},getItem:function(B){B+=this._source.startIndex;for(var z=[],U=this._data,K=0;K<U.length;K++){var W=U[K];z.push(W?W[B]:null)}return z},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:E,getItem:O,appendData:T},keyedColumns:{pure:!0,count:function(){var B=this._source.dimensionsDefine[0].name,z=this._data[B];return z?z.length:0},getItem:function(B){for(var z=[],U=this._source.dimensionsDefine,K=0;K<U.length;K++){var W=this._data[U[K].name];z.push(W?W[B]:null)}return z},appendData:function(B){var z=this._data;f(B,function(U,K){for(var W=z[K]||(z[K]=[]),H=0;H<(U||[]).length;H++)W.push(U[H])})}},original:{count:E,getItem:O,appendData:T},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(B,z){B=B-this._offset,z=z||[];for(var U=this._dimSize*B,K=0;K<this._dimSize;K++)z[K]=this._data[U+K];return z},appendData:function(B){this._data=B},clean:function(){this._offset+=this.count(),this._data=null}}};function E(){return this._data.length}function O(B){return this._data[B]}function T(B){for(var z=0;z<B.length;z++)this._data.push(B[z])}var b={arrayRows:x,objectRows:function(B,z,U,K){return U!=null?B[K]:B},keyedColumns:x,original:function(B,z,U,K){var W=o(B);return U==null||!(W instanceof Array)?W:W[U]},typedArray:x};function x(B,z,U,K){return U!=null?B[U]:B}var N={arrayRows:D,objectRows:function(B,z,U,K){return M(B[z],this._dimensionInfos[z])},keyedColumns:D,original:function(B,z,U,K){var W=B&&(B.value==null?B:B.value);return!this._rawData.pure&&s(B)&&(this.hasItemOption=!0),M(W instanceof Array?W[K]:W,this._dimensionInfos[z])},typedArray:function(B,z,U,K){return B[K]}};function D(B,z,U,K){return M(B[K],this._dimensionInfos[z])}function M(B,z){var U=z&&z.type;if(U==="ordinal"){var K=z&&z.ordinalMeta;return K?K.parseAndCollect(B):B}return U==="time"&&typeof B!="number"&&B!=null&&B!=="-"&&(B=+n(B)),B==null||B===""?NaN:+B}function R(B,z,U){if(!B)return;var K=B.getRawDataItem(z);if(K==null)return;var W=B.getProvider().getSource().sourceFormat,H,Y,Q=B.getDimensionInfo(U);return Q&&(H=Q.name,Y=Q.index),b[W](K,z,Y,H)}function F(B,z,U){if(!B)return;var K=B.getProvider().getSource().sourceFormat;if(K!==h&&K!==p)return;var W=B.getRawDataItem(z);if(K===h&&!a(W)&&(W=null),W)return W[U]}_.DefaultDataProvider=A,_.defaultDimValueGetters=N,_.retrieveRawValue=R,_.retrieveRawAttr=F},"W/V8":function(Z,_){var e=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],d={color:e,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],e]};Z.exports=d},W9tF:function(Z,_,e){var d=e("oEo5"),L=d.createHashMap,v=d.each;function m(w){var f=L();w.eachSeries(function(a){var t=a.get("stack");if(t){var o=f.get(t)||f.set(t,[]),s=a.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:a};if(!l.stackedDimension||!(l.isStackedByIndex||l.stackedByDimension))return;o.length&&s.setCalculationInfo("stackedOnSeries",o[o.length-1].seriesModel),o.push(l)}}),f.each(y)}function y(w){v(w,function(f,a){var t=[],o=[NaN,NaN],s=[f.stackResultDimension,f.stackedOverDimension],l=f.data,n=f.isStackedByIndex,c=l.map(s,function(r,u,i){var h=l.get(f.stackedDimension,i);if(isNaN(h))return o;var p,A;n?A=l.getRawIndex(i):p=l.get(f.stackedByDimension,i);for(var C=NaN,S=a-1;S>=0;S--){var E=w[S];if(n||(A=E.data.rawIndexOf(E.stackedByDimension,p)),A>=0){var O=E.data.getByRawIndex(E.stackResultDimension,A);if(h>=0&&O>0||h<=0&&O<0){h+=O,C=O;break}}}return t[0]=h,t[1]=C,t});l.hostModel.setData(c),f.data=c})}Z.exports=m},WCWM:function(Z,_){var e="__lodash_hash_undefined__";function d(L){return this.__data__.set(L,e),this}Z.exports=d},WEmw:function(Z,_,e){var d=e("BiNE"),L=Array.prototype,v=L.splice;function m(y){var w=this.__data__,f=d(w,y);if(f<0)return!1;var a=w.length-1;return f==a?w.pop():v.call(w,f,1),--this.size,!0}Z.exports=m},WIZQ:function(Z,_,e){var d=e("oEo5");function L(y){return this._axes[y]}var v=function(y){this._axes={},this._dimList=[],this.name=y||""};v.prototype={constructor:v,type:"cartesian",getAxis:function(y){return this._axes[y]},getAxes:function(){return d.map(this._dimList,L,this)},getAxesByScale:function(y){return y=y.toLowerCase(),d.filter(this.getAxes(),function(w){return w.scale.type===y})},addAxis:function(y){var w=y.dim;this._axes[w]=y,this._dimList.push(w)},dataToCoord:function(y){return this._dataCoordConvert(y,"dataToCoord")},coordToData:function(y){return this._dataCoordConvert(y,"coordToData")},_dataCoordConvert:function(y,w){for(var f=this._dimList,a=y instanceof Array?[]:{},t=0;t<f.length;t++){var o=f[t],s=this._axes[o];a[o]=s[w](y[o])}return a}};var m=v;Z.exports=m},WMWw:function(Z,_,e){var d=e("oEo5"),L=e("Ju7t"),v=e("G8fk"),m=e("P7pv"),y=e("Jjzi"),w=e("l1R7"),f=L.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return v([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(s){var l=this.activeIntervals=d.clone(s);if(l)for(var n=l.length-1;n>=0;n--)y.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 c=0,r=l.length;c<r;c++)if(l[c][0]<=s&&s<=l[c][1])return"active";return"inactive"}}),a={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};d.merge(f.prototype,w);function t(s,l){return l.type||(l.data?"category":"value")}m("parallel",f,t,a);var o=f;Z.exports=o},WPhU:function(Z,_,e){var d=e("Q6Bq");e("O0fn"),e("0Xow"),e("+CJ/"),d.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),d.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},WPhg:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=e("rkXN"),y=e("iCoW"),w=e("dqKt"),f=e("Jjzi"),a=f.reformIntervals,t=m.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(n,c){t.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var r=this._mode=this._determineMode();o[this._mode].call(this),this._resetSelected(n,c);var u=this.option.categories;this.resetVisual(function(i,h){r==="categories"?(i.mappingMethod="category",i.categories=v.clone(u)):(i.dataExtent=this.getExtent(),i.mappingMethod="piecewise",i.pieceList=v.map(this._pieceList,function(p){var p=v.clone(p);return h!=="inRange"&&(p.visual=null),p}))})},completeVisualOption:function(){var n=this.option,c={},r=y.listVisualTypes(),u=this.isCategory();v.each(n.pieces,function(h){v.each(r,function(p){h.hasOwnProperty(p)&&(c[p]=1)})}),v.each(c,function(h,p){var A=0;v.each(this.stateList,function(C){A|=i(n,C,p)||i(n.target,C,p)},this),!A&&v.each(this.stateList,function(C){(n[C]||(n[C]={}))[p]=w.get(p,C==="inRange"?"active":"inactive",u)})},this);function i(h,p,A){return h&&h[p]&&(v.isObject(h[p])?h[p].hasOwnProperty(A):h[p]===A)}m.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(n,c){var r=this.option,u=this._pieceList,i=(c?r:n).selected||{};if(r.selected=i,v.each(u,function(p,A){var C=this.getSelectedMapKey(p);i.hasOwnProperty(C)||(i[C]=!0)},this),r.selectedMode==="single"){var h=!1;v.each(u,function(p,A){var C=this.getSelectedMapKey(p);i[C]&&(h?i[C]=!1:h=!0)},this)}},getSelectedMapKey:function(n){return this._mode==="categories"?n.value+"":n.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(n){this.option.selected=v.clone(n)},getValueState:function(n){var c=y.findPieceIndex(n,this._pieceList);return c!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[c])]?"inRange":"outOfRange"},findTargetDataIndices:function(n){var c=[];return this.eachTargetSeries(function(r){var u=[],i=r.getData();i.each(this.getDataDimension(i),function(h,p){var A=y.findPieceIndex(h,this._pieceList);A===n&&u.push(p)},this),c.push({seriesId:r.id,dataIndex:u})},this),c},getRepresentValue:function(n){var c;if(this.isCategory())c=n.value;else if(n.value!=null)c=n.value;else{var r=n.interval||[];c=r[0]===-Infinity&&r[1]===Infinity?0:(r[0]+r[1])/2}return c},getVisualMeta:function(n){if(this.isCategory())return;var c=[],r=[],u=this;function i(C,S){var E=u.getRepresentValue({interval:C});S||(S=u.getValueState(E));var O=n(E,S);C[0]===-Infinity?r[0]=O:C[1]===Infinity?r[1]=O:c.push({value:C[0],color:O},{value:C[1],color:O})}var h=this._pieceList.slice();if(!h.length)h.push({interval:[-Infinity,Infinity]});else{var p=h[0].interval[0];p!==-Infinity&&h.unshift({interval:[-Infinity,p]}),p=h[h.length-1].interval[1],p!==Infinity&&h.push({interval:[p,Infinity]})}var A=-Infinity;return v.each(h,function(C){var S=C.interval;S&&(S[0]>A&&i([A,S[0]],"outOfRange"),i(S.slice()),A=S[1])},this),{stops:c,outerColors:r}}}),o={splitNumber:function(){var n=this.option,c=this._pieceList,r=Math.min(n.precision,20),u=this.getExtent(),i=n.splitNumber;i=Math.max(parseInt(i,10),1),n.splitNumber=i;for(var h=(u[1]-u[0])/i;+h.toFixed(r)!==h&&r<5;)r++;n.precision=r,h=+h.toFixed(r),n.minOpen&&c.push({interval:[-Infinity,u[0]],close:[0,0]});for(var p=0,A=u[0];p<i;A+=h,p++){var C=p===i-1?u[1]:A+h;c.push({interval:[A,C],close:[1,1]})}n.maxOpen&&c.push({interval:[u[1],Infinity],close:[0,0]}),a(c),v.each(c,function(S,E){S.index=E,S.text=this.formatValueText(S.interval)},this)},categories:function(){var n=this.option;v.each(n.categories,function(c){this._pieceList.push({text:this.formatValueText(c,!0),value:c})},this),s(n,this._pieceList)},pieces:function(){var n=this.option,c=this._pieceList;v.each(n.pieces,function(r,u){v.isObject(r)||(r={value:r});var i={text:"",index:u};if(r.label!=null&&(i.text=r.label),r.hasOwnProperty("value")){var h=i.value=r.value;i.interval=[h,h],i.close=[1,1]}else{for(var p=i.interval=[],A=i.close=[0,0],C=[1,0,1],S=[-Infinity,Infinity],E=[],O=0;O<2;O++){for(var T=[["gte","gt","min"],["lte","lt","max"]][O],b=0;b<3&&p[O]==null;b++)p[O]=r[T[b]],A[O]=C[b],E[O]=b===2;p[O]==null&&(p[O]=S[O])}E[0]&&p[1]===Infinity&&(A[0]=0),E[1]&&p[0]===-Infinity&&(A[1]=0),p[0]===p[1]&&A[0]&&A[1]&&(i.value=p[0])}i.visual=y.retrieveVisuals(r),c.push(i)},this),s(n,c),a(c),v.each(c,function(r){var u=r.close,i=[["<","\u2264"][u[1]],[">","\u2265"][u[0]]];r.text=r.text||this.formatValueText(r.value!=null?r.value:r.interval,!1,i)},this)}};function s(n,c){var r=n.inverse;(n.orient==="vertical"?!r:r)&&c.reverse()}var l=t;Z.exports=l},Wa83:function(Z,_){var e=typeof Float32Array=="undefined"?Array:Float32Array;function d(b,x){var N=new e(2);return b==null&&(b=0),x==null&&(x=0),N[0]=b,N[1]=x,N}function L(b,x){return b[0]=x[0],b[1]=x[1],b}function v(b){var x=new e(2);return x[0]=b[0],x[1]=b[1],x}function m(b,x,N){return b[0]=x,b[1]=N,b}function y(b,x,N){return b[0]=x[0]+N[0],b[1]=x[1]+N[1],b}function w(b,x,N,D){return b[0]=x[0]+N[0]*D,b[1]=x[1]+N[1]*D,b}function f(b,x,N){return b[0]=x[0]-N[0],b[1]=x[1]-N[1],b}function a(b){return Math.sqrt(o(b))}var t=a;function o(b){return b[0]*b[0]+b[1]*b[1]}var s=o;function l(b,x,N){return b[0]=x[0]*N[0],b[1]=x[1]*N[1],b}function n(b,x,N){return b[0]=x[0]/N[0],b[1]=x[1]/N[1],b}function c(b,x){return b[0]*x[0]+b[1]*x[1]}function r(b,x,N){return b[0]=x[0]*N,b[1]=x[1]*N,b}function u(b,x){var N=a(x);return N===0?(b[0]=0,b[1]=0):(b[0]=x[0]/N,b[1]=x[1]/N),b}function i(b,x){return Math.sqrt((b[0]-x[0])*(b[0]-x[0])+(b[1]-x[1])*(b[1]-x[1]))}var h=i;function p(b,x){return(b[0]-x[0])*(b[0]-x[0])+(b[1]-x[1])*(b[1]-x[1])}var A=p;function C(b,x){return b[0]=-x[0],b[1]=-x[1],b}function S(b,x,N,D){return b[0]=x[0]+D*(N[0]-x[0]),b[1]=x[1]+D*(N[1]-x[1]),b}function E(b,x,N){var D=x[0],M=x[1];return b[0]=N[0]*D+N[2]*M+N[4],b[1]=N[1]*D+N[3]*M+N[5],b}function O(b,x,N){return b[0]=Math.min(x[0],N[0]),b[1]=Math.min(x[1],N[1]),b}function T(b,x,N){return b[0]=Math.max(x[0],N[0]),b[1]=Math.max(x[1],N[1]),b}_.create=d,_.copy=L,_.clone=v,_.set=m,_.add=y,_.scaleAndAdd=w,_.sub=f,_.len=a,_.length=t,_.lenSquare=o,_.lengthSquare=s,_.mul=l,_.div=n,_.dot=c,_.scale=r,_.normalize=u,_.distance=i,_.dist=h,_.distanceSquare=p,_.distSquare=A,_.negate=C,_.lerp=S,_.applyTransform=E,_.min=O,_.max=T},WdvF:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("Q6Bq"),m=e("zYjg"),y=e("AWui"),w=e("oEo5");function f(s,l,n){var c=s[1]-s[0];l=w.map(l,function(i){return{interval:[(i.interval[0]-s[0])/c,(i.interval[1]-s[0])/c]}});var r=l.length,u=0;return function(i){for(var h=u;h<r;h++){var p=l[h].interval;if(p[0]<=i&&i<=p[1]){u=h;break}}if(h===r)for(var h=u-1;h>=0;h--){var p=l[h].interval;if(p[0]<=i&&i<=p[1]){u=h;break}}return h>=0&&h<r&&n[h]}}function a(s,l){var n=s[1]-s[0];return l=[(l[0]-s[0])/n,(l[1]-s[0])/n],function(c){return c>=l[0]&&c<=l[1]}}function t(s){var l=s.dimensions;return l[0]==="lng"&&l[1]==="lat"}var o=v.extendChartView({type:"heatmap",render:function(s,l,n){var c;l.eachComponent("visualMap",function(u){u.eachTargetSeries(function(i){i===s&&(c=u)})}),this.group.removeAll(),this._incrementalDisplayable=null;var r=s.coordinateSystem;r.type==="cartesian2d"||r.type==="calendar"?this._renderOnCartesianAndCalendar(s,n,0,s.getData().count()):t(r)&&this._renderOnGeo(r,s,c,n)},incrementalPrepareRender:function(s,l,n){this.group.removeAll()},incrementalRender:function(s,l,n,c){var r=l.coordinateSystem;r&&this._renderOnCartesianAndCalendar(l,c,s.start,s.end,!0)},_renderOnCartesianAndCalendar:function(s,l,n,c,r){var u=s.coordinateSystem,i,h;if(u.type==="cartesian2d"){var p=u.getAxis("x"),A=u.getAxis("y");i=p.getBandWidth(),h=A.getBandWidth()}for(var C=this.group,S=s.getData(),E="itemStyle",O="emphasis.itemStyle",T="label",b="emphasis.label",x=s.getModel(E).getItemStyle(["color"]),N=s.getModel(O).getItemStyle(),D=s.getModel(T),M=s.getModel(b),R=u.type,F=R==="cartesian2d"?[S.mapDimension("x"),S.mapDimension("y"),S.mapDimension("value")]:[S.mapDimension("time"),S.mapDimension("value")],B=n;B<c;B++){var z;if(R==="cartesian2d"){if(isNaN(S.get(F[2],B)))continue;var U=u.dataToPoint([S.get(F[0],B),S.get(F[1],B)]);z=new m.Rect({shape:{x:Math.floor(Math.round(U[0])-i/2),y:Math.floor(Math.round(U[1])-h/2),width:Math.ceil(i),height:Math.ceil(h)},style:{fill:S.getItemVisual(B,"color"),opacity:S.getItemVisual(B,"opacity")}})}else{if(isNaN(S.get(F[1],B)))continue;z=new m.Rect({z2:1,shape:u.dataToRect([S.get(F[0],B)]).contentShape,style:{fill:S.getItemVisual(B,"color"),opacity:S.getItemVisual(B,"opacity")}})}var K=S.getItemModel(B);S.hasItemOption&&(x=K.getModel(E).getItemStyle(["color"]),N=K.getModel(O).getItemStyle(),D=K.getModel(T),M=K.getModel(b));var W=s.getRawValue(B),H="-";W&&W[2]!=null&&(H=W[2]),m.setLabelStyle(x,N,D,M,{labelFetcher:s,labelDataIndex:B,defaultText:H,isRectText:!0}),z.setStyle(x),m.setHoverStyle(z,S.hasItemOption?N:w.extend({},N)),z.incremental=r,r&&(z.useHoverLayer=!0),C.add(z),S.setItemGraphicEl(B,z)}},_renderOnGeo:function(s,l,n,c){var r=n.targetVisuals.inRange,u=n.targetVisuals.outOfRange,i=l.getData(),h=this._hmLayer||this._hmLayer||new y;h.blurSize=l.get("blurSize"),h.pointSize=l.get("pointSize"),h.minOpacity=l.get("minOpacity"),h.maxOpacity=l.get("maxOpacity");var p=s.getViewRect().clone(),A=s.getRoamTransform();p.applyTransform(A);var C=Math.max(p.x,0),S=Math.max(p.y,0),E=Math.min(p.width+p.x,c.getWidth()),O=Math.min(p.height+p.y,c.getHeight()),T=E-C,b=O-S,x=[i.mapDimension("lng"),i.mapDimension("lat"),i.mapDimension("value")],N=i.mapArray(x,function(F,B,z){var U=s.dataToPoint([F,B]);return U[0]-=C,U[1]-=S,U.push(z),U}),D=n.getExtent(),M=n.type==="visualMap.continuous"?a(D,n.option.range):f(D,n.getPieceList(),n.option.selected);h.update(N,T,b,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:u.color.getColorMapper()},M);var R=new m.Image({style:{width:T,height:b,x:C,y:S,image:h.canvas},silent:!0});this.group.add(R)},dispose:function(){}});Z.exports=o},Wf6A:function(Z,_,e){var d=e("teHm"),L={seriesType:"lines",plan:d(),reset:function(v){var m=v.coordinateSystem,y=v.get("polyline"),w=v.pipelineContext.large;function f(a,t){var o=[];if(w){var s,l=a.end-a.start;if(y){for(var n=0,c=a.start;c<a.end;c++)n+=v.getLineCoordsCount(c);s=new Float32Array(l+n*2)}else s=new Float32Array(l*4);for(var r=0,u=[],c=a.start;c<a.end;c++){var i=v.getLineCoords(c,o);y&&(s[r++]=i);for(var h=0;h<i;h++)u=m.dataToPoint(o[h],!1,u),s[r++]=u[0],s[r++]=u[1]}t.setLayout("linesPoints",s)}else for(var c=a.start;c<a.end;c++){var p=t.getItemModel(c),i=v.getLineCoords(c,o),A=[];if(y)for(var C=0;C<i;C++)A.push(m.dataToPoint(o[C]));else{A[0]=m.dataToPoint(o[0]),A[1]=m.dataToPoint(o[1]);var S=p.get("lineStyle.curveness");+S&&(A[2]=[(A[0][0]+A[1][0])/2-(A[0][1]-A[1][1])*S,(A[0][1]+A[1][1])/2-(A[1][0]-A[0][0])*S])}t.setItemLayout(c,A)}}return{progress:f}}};Z.exports=L},Wmz4:function(Z,_){function e(d){var L=-1,v=Array(d.size);return d.forEach(function(m,y){v[++L]=[y,m]}),v}Z.exports=e},Wqo7:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("QjgC"),m=e("2TcX"),y=e("C9Tu"),w=e("BuVp"),f=e("B2QF"),a=e("sAd1");e("Dase");var t=f.toolbox.dataZoom,o=L.each,s="\0_ec_\0toolbox-dataZoom_";function l(p,A,C){(this._brushController=new v(C.getZr())).on("brush",L.bind(this._onBrush,this)).mount(),this._isZoomActive}l.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:L.clone(t.title),brushStyle:{borderWidth:0,color:"rgba(0,0,0,0.2)"}};var n=l.prototype;n.render=function(p,A,C,S){this.model=p,this.ecModel=A,this.api=C,i(p,A,this,S,C),u(p,A)},n.onclick=function(p,A,C){c[C].call(this)},n.remove=function(p,A){this._brushController.unmount()},n.dispose=function(p,A){this._brushController.dispose()};var c={zoom:function(){var p=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:p})},back:function(){this._dispatchZoomAction(y.pop(this.ecModel))}};n._onBrush=function(p,A){if(!A.isEnd||!p.length)return;var C={},S=this.ecModel;this._brushController.updateCovers([]);var E=new m(r(this.model.option),S,{include:["grid"]});E.matchOutputRanges(p,S,function(b,x,N){if(N.type!=="cartesian2d")return;var D=b.brushType;D==="rect"?(O("x",N,x[0]),O("y",N,x[1])):O({lineX:"x",lineY:"y"}[D],N,x)}),y.push(S,C),this._dispatchZoomAction(C);function O(b,x,N){var D=x.getAxis(b),M=D.model,R=T(b,M,S),F=R.findRepresentativeAxisProxy(M).getMinMaxSpan();(F.minValueSpan!=null||F.maxValueSpan!=null)&&(N=w(0,N.slice(),D.scale.getExtent(),0,F.minValueSpan,F.maxValueSpan)),R&&(C[R.id]={dataZoomId:R.id,startValue:N[0],endValue:N[1]})}function T(b,x,N){var D;return N.eachComponent({mainType:"dataZoom",subType:"select"},function(M){var R=M.getAxisModel(b,x.componentIndex);R&&(D=M)}),D}},n._dispatchZoomAction=function(p){var A=[];o(p,function(C,S){A.push(L.clone(C))}),A.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:A})};function r(p){var A={};return L.each(["xAxisIndex","yAxisIndex"],function(C){A[C]=p[C],A[C]==null&&(A[C]="all"),(A[C]===!1||A[C]==="none")&&(A[C]=[])}),A}function u(p,A){p.setIconStatus("back",y.count(A)>1?"emphasis":"normal")}function i(p,A,C,S,E){var O=C._isZoomActive;S&&S.type==="takeGlobalCursor"&&(O=S.key==="dataZoomSelect"?S.dataZoomSelectActive:!1),C._isZoomActive=O,p.setIconStatus("zoom",O?"emphasis":"normal");var T=new m(r(p.option),A,{include:["grid"]});C._brushController.setPanels(T.makePanelOpts(E,function(b){return b.xAxisDeclared&&!b.yAxisDeclared?"lineX":!b.xAxisDeclared&&b.yAxisDeclared?"lineY":"rect"})).enableBrush(O?{brushType:"auto",brushStyle:p.getModel("brushStyle").getItemStyle()}:!1)}a.register("dataZoom",l),d.registerPreprocessor(function(p){if(!p)return;var A=p.dataZoom||(p.dataZoom=[]);L.isArray(A)||(p.dataZoom=A=[A]);var C=p.toolbox;if(C&&(L.isArray(C)&&(C=C[0]),C&&C.feature)){var S=C.feature.dataZoom;E("xAxis",S),E("yAxis",S)}function E(T,b){if(!b)return;var x=T+"Index",N=b[x];N!=null&&N!=="all"&&!L.isArray(N)&&(N=N===!1||N==="none"?[]:[N]),O(T,function(D,M){if(N!=null&&N!=="all"&&L.indexOf(N,M)===-1)return;var R={type:"select",$fromToolbox:!0,filterMode:b.filterMode||"filter",id:s+T+M};R[x]=M,A.push(R)})}function O(T,b){var x=p[T];L.isArray(x)||(x=x?[x]:[]),o(x,b)}});var h=l;Z.exports=h},Wr3P:function(Z,_,e){var d=e("Wa83"),L=d.create,v=d.distSquare,m=Math.pow,y=Math.sqrt,w=1e-8,f=1e-4,a=y(3),t=1/3,o=L(),s=L(),l=L();function n(x){return x>-w&&x<w}function c(x){return x>w||x<-w}function r(x,N,D,M,R){var F=1-R;return F*F*(F*x+3*R*N)+R*R*(R*M+3*F*D)}function u(x,N,D,M,R){var F=1-R;return 3*(((N-x)*F+2*(D-N)*R)*F+(M-D)*R*R)}function i(x,N,D,M,R,F){var B=M+3*(N-D)-x,z=3*(D-N*2+x),U=3*(N-x),K=x-R,W=z*z-3*B*U,H=z*U-9*B*K,Y=U*U-3*z*K,Q=0;if(n(W)&&n(H))if(n(z))F[0]=0;else{var P=-U/z;P>=0&&P<=1&&(F[Q++]=P)}else{var G=H*H-4*W*Y;if(n(G)){var J=H/W,P=-z/B+J,he=-J/2;P>=0&&P<=1&&(F[Q++]=P),he>=0&&he<=1&&(F[Q++]=he)}else if(G>0){var te=y(G),pe=W*z+1.5*B*(-H+te),we=W*z+1.5*B*(-H-te);pe<0?pe=-m(-pe,t):pe=m(pe,t),we<0?we=-m(-we,t):we=m(we,t);var P=(-z-(pe+we))/(3*B);P>=0&&P<=1&&(F[Q++]=P)}else{var be=(2*W*z-3*B*H)/(2*y(W*W*W)),Qe=Math.acos(be)/3,$e=y(W),yt=Math.cos(Qe),P=(-z-2*$e*yt)/(3*B),he=(-z+$e*(yt+a*Math.sin(Qe)))/(3*B),Fe=(-z+$e*(yt-a*Math.sin(Qe)))/(3*B);P>=0&&P<=1&&(F[Q++]=P),he>=0&&he<=1&&(F[Q++]=he),Fe>=0&&Fe<=1&&(F[Q++]=Fe)}}return Q}function h(x,N,D,M,R){var F=6*D-12*N+6*x,B=9*N+3*M-3*x-9*D,z=3*N-3*x,U=0;if(n(B)){if(c(F)){var K=-z/F;K>=0&&K<=1&&(R[U++]=K)}}else{var W=F*F-4*B*z;if(n(W))R[0]=-F/(2*B);else if(W>0){var H=y(W),K=(-F+H)/(2*B),Y=(-F-H)/(2*B);K>=0&&K<=1&&(R[U++]=K),Y>=0&&Y<=1&&(R[U++]=Y)}}return U}function p(x,N,D,M,R,F){var B=(N-x)*R+x,z=(D-N)*R+N,U=(M-D)*R+D,K=(z-B)*R+B,W=(U-z)*R+z,H=(W-K)*R+K;F[0]=x,F[1]=B,F[2]=K,F[3]=H,F[4]=H,F[5]=W,F[6]=U,F[7]=M}function A(x,N,D,M,R,F,B,z,U,K,W){var H,Y=.005,Q=Infinity,P,G,J,he;o[0]=U,o[1]=K;for(var te=0;te<1;te+=.05)s[0]=r(x,D,R,B,te),s[1]=r(N,M,F,z,te),J=v(o,s),J<Q&&(H=te,Q=J);Q=Infinity;for(var pe=0;pe<32&&!(Y<f);pe++)P=H-Y,G=H+Y,s[0]=r(x,D,R,B,P),s[1]=r(N,M,F,z,P),J=v(s,o),P>=0&&J<Q?(H=P,Q=J):(l[0]=r(x,D,R,B,G),l[1]=r(N,M,F,z,G),he=v(l,o),G<=1&&he<Q?(H=G,Q=he):Y*=.5);return W&&(W[0]=r(x,D,R,B,H),W[1]=r(N,M,F,z,H)),y(Q)}function C(x,N,D,M){var R=1-M;return R*(R*x+2*M*N)+M*M*D}function S(x,N,D,M){return 2*((1-M)*(N-x)+M*(D-N))}function E(x,N,D,M,R){var F=x-2*N+D,B=2*(N-x),z=x-M,U=0;if(n(F)){if(c(B)){var K=-z/B;K>=0&&K<=1&&(R[U++]=K)}}else{var W=B*B-4*F*z;if(n(W)){var K=-B/(2*F);K>=0&&K<=1&&(R[U++]=K)}else if(W>0){var H=y(W),K=(-B+H)/(2*F),Y=(-B-H)/(2*F);K>=0&&K<=1&&(R[U++]=K),Y>=0&&Y<=1&&(R[U++]=Y)}}return U}function O(x,N,D){var M=x+D-2*N;return M===0?.5:(x-N)/M}function T(x,N,D,M,R){var F=(N-x)*M+x,B=(D-N)*M+N,z=(B-F)*M+F;R[0]=x,R[1]=F,R[2]=z,R[3]=z,R[4]=B,R[5]=D}function b(x,N,D,M,R,F,B,z,U){var K,W=.005,H=Infinity;o[0]=B,o[1]=z;for(var Y=0;Y<1;Y+=.05){s[0]=C(x,D,R,Y),s[1]=C(N,M,F,Y);var Q=v(o,s);Q<H&&(K=Y,H=Q)}H=Infinity;for(var P=0;P<32&&!(W<f);P++){var G=K-W,J=K+W;s[0]=C(x,D,R,G),s[1]=C(N,M,F,G);var Q=v(s,o);if(G>=0&&Q<H)K=G,H=Q;else{l[0]=C(x,D,R,J),l[1]=C(N,M,F,J);var he=v(l,o);J<=1&&he<H?(K=J,H=he):W*=.5}}return U&&(U[0]=C(x,D,R,K),U[1]=C(N,M,F,K)),y(H)}_.cubicAt=r,_.cubicDerivativeAt=u,_.cubicRootAt=i,_.cubicExtrema=h,_.cubicSubdivide=p,_.cubicProjectPoint=A,_.quadraticAt=C,_.quadraticDerivativeAt=S,_.quadraticRootAt=E,_.quadraticExtremum=O,_.quadraticSubdivide=T,_.quadraticProjectPoint=b},Wrfx:function(Z,_,e){"use strict";var d=e("ZZRV"),L={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"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="DoubleRightOutlined";var w=_.a=d.forwardRef(y)},Ws5v:function(Z,_,e){"use strict";var d=e("B0nS"),L=d.CopyToClipboard;L.CopyToClipboard=L,Z.exports=L},Wu6v:function(Z,_,e){"use strict";e.d(_,"a",function(){return dt}),e.d(_,"b",function(){return mt});var d=e("1gHQ"),L=e("GZha"),v=e("48fh"),m=e("FGJx"),y=e("o0AO"),w=e("MRRG"),f=e("GY0J"),a=e("uwZC"),t=e("udBW"),o=e("zjzt"),s=e("ZZRV"),l=e.n(s),n=e("EH+i"),c=e.n(n),r=e("EaaV"),u=e.n(r),i=e("dVxg"),h=e.n(i),p=e("V0hb"),A=function(){function Ue(){Object(m.a)(this,Ue),Object(o.a)(this,"refs",{})}return Object(y.a)(Ue,[{key:"add",value:function(Le,at){this.refs[Le]||(this.refs[Le]=[]),this.refs[Le].push(at)}},{key:"remove",value:function(Le,at){var Ot=this.getIndex(Le,at);Ot!==-1&&this.refs[Le].splice(Ot,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var Le=this;return this.refs[this.active.collection].find(function(at){var Ot=at.node;return Ot.sortableInfo.index==Le.active.index})}},{key:"getIndex",value:function(Le,at){return this.refs[Le].indexOf(at)}},{key:"getOrderedRefs",value:function(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[Le].sort(C)}}]),Ue}();function C(Ue,Re){var Le=Ue.node.sortableInfo.index,at=Re.node.sortableInfo.index;return Le-at}function S(Ue,Re,Le){return Ue=Ue.slice(),Ue.splice(Le<0?Ue.length+Le:Le,0,Ue.splice(Re,1)[0]),Ue}function E(Ue,Re){return Object.keys(Ue).reduce(function(Le,at){return Re.indexOf(at)===-1&&(Le[at]=Ue[at]),Le},{})}var O={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Ue=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],Re=(Array.prototype.slice.call(Ue).join("").match(/-(moz|webkit|ms)-/)||Ue.OLink===""&&["","o"])[1];switch(Re){case"ms":return"ms";default:return Re&&Re.length?Re[0].toUpperCase()+Re.substr(1):""}}();function b(Ue,Re){Object.keys(Re).forEach(function(Le){Ue.style[Le]=Re[Le]})}function x(Ue,Re){Ue.style["".concat(T,"Transform")]=Re==null?"":"translate3d(".concat(Re.x,"px,").concat(Re.y,"px,0)")}function N(Ue,Re){Ue.style["".concat(T,"TransitionDuration")]=Re==null?"":"".concat(Re,"ms")}function D(Ue,Re){for(;Ue;){if(Re(Ue))return Ue;Ue=Ue.parentNode}return null}function M(Ue,Re,Le){return Math.max(Ue,Math.min(Le,Re))}function R(Ue){return Ue.substr(-2)==="px"?parseFloat(Ue):0}function F(Ue){var Re=window.getComputedStyle(Ue);return{bottom:R(Re.marginBottom),left:R(Re.marginLeft),right:R(Re.marginRight),top:R(Re.marginTop)}}function B(Ue,Re){var Le=Re.displayName||Re.name;return Le?"".concat(Ue,"(").concat(Le,")"):Ue}function z(Ue,Re){var Le=Ue.getBoundingClientRect();return{top:Le.top+Re.top,left:Le.left+Re.left}}function U(Ue){return Ue.touches&&Ue.touches.length?{x:Ue.touches[0].pageX,y:Ue.touches[0].pageY}:Ue.changedTouches&&Ue.changedTouches.length?{x:Ue.changedTouches[0].pageX,y:Ue.changedTouches[0].pageY}:{x:Ue.pageX,y:Ue.pageY}}function K(Ue){return Ue.touches&&Ue.touches.length||Ue.changedTouches&&Ue.changedTouches.length}function W(Ue,Re){var Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Ue)return;var at={left:Le.left+Ue.offsetLeft,top:Le.top+Ue.offsetTop};return Ue.parentNode===Re?at:W(Ue.parentNode,Re,at)}function H(Ue,Re,Le){return Ue<Le&&Ue>Re?Ue-1:Ue>Le&&Ue<Re?Ue+1:Ue}function Y(Ue){var Re=Ue.lockOffset,Le=Ue.width,at=Ue.height,Ot=Re,Tt=Re,Ft="px";if(typeof Re=="string"){var ke=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(Re);h()(ke!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',Re),Ot=parseFloat(Re),Tt=parseFloat(Re),Ft=ke[1]}return h()(isFinite(Ot)&&isFinite(Tt),"lockOffset value should be a finite. Given %s",Re),Ft==="%"&&(Ot=Ot*Le/100,Tt=Tt*at/100),{x:Ot,y:Tt}}function Q(Ue){var Re=Ue.height,Le=Ue.width,at=Ue.lockOffset,Ot=Array.isArray(at)?at:[at,at];h()(Ot.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",at);var Tt=Object(L.a)(Ot,2),Ft=Tt[0],ke=Tt[1];return[Y({height:Re,lockOffset:Ft,width:Le}),Y({height:Re,lockOffset:ke,width:Le})]}function P(Ue){var Re=window.getComputedStyle(Ue),Le=/(auto|scroll)/,at=["overflow","overflowX","overflowY"];return at.find(function(Ot){return Le.test(Re[Ot])})}function G(Ue){return Ue instanceof HTMLElement?P(Ue)?Ue:G(Ue.parentNode):null}function J(Ue){var Re=window.getComputedStyle(Ue);return Re.display==="grid"?{x:R(Re.gridColumnGap),y:R(Re.gridRowGap)}:{x:0,y:0}}var he={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},te={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function pe(Ue){var Re="input, textarea, select, canvas, [contenteditable]",Le=Ue.querySelectorAll(Re),at=Ue.cloneNode(!0),Ot=Object(p.a)(at.querySelectorAll(Re));return Ot.forEach(function(Tt,Ft){if(Tt.type!=="file"&&(Tt.value=Le[Ft].value),Tt.type==="radio"&&Tt.name&&(Tt.name="__sortableClone__".concat(Tt.name)),Tt.tagName===te.Canvas&&Le[Ft].width>0&&Le[Ft].height>0){var ke=Tt.getContext("2d");ke.drawImage(Le[Ft],0,0)}}),at}function we(Ue){var Re,Le,at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Le=Re=function(Ot){Object(a.a)(Tt,Ot);function Tt(){return Object(m.a)(this,Tt),Object(w.a)(this,Object(f.a)(Tt).apply(this,arguments))}return Object(y.a)(Tt,[{key:"componentDidMount",value:function(){var ke=Object(r.findDOMNode)(this);ke.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return h()(at.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var ke=at.withRef?"wrappedInstance":null;return Object(s.createElement)(Ue,Object(d.a)({ref:ke},this.props))}}]),Tt}(s.Component),Object(o.a)(Re,"displayName",B("sortableHandle",Ue)),Le}function be(Ue){return Ue.sortableHandle!=null}var Qe=function(){function Ue(Re,Le){Object(m.a)(this,Ue),this.container=Re,this.onScrollCallback=Le}return Object(y.a)(Ue,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(Le){var at=this,Ot=Le.translate,Tt=Le.minTranslate,Ft=Le.maxTranslate,ke=Le.width,Vt=Le.height,bt={x:0,y:0},Rt={x:1,y:1},Nt={x:10,y:10},xt=this.container,Ut=xt.scrollTop,Ze=xt.scrollLeft,ze=xt.scrollHeight,re=xt.scrollWidth,le=xt.clientHeight,Xe=xt.clientWidth,_e=Ut===0,je=ze-Ut-le===0,ar=Ze===0,zt=re-Ze-Xe===0;Ot.y>=Ft.y-Vt/2&&!je?(bt.y=1,Rt.y=Nt.y*Math.abs((Ft.y-Vt/2-Ot.y)/Vt)):Ot.x>=Ft.x-ke/2&&!zt?(bt.x=1,Rt.x=Nt.x*Math.abs((Ft.x-ke/2-Ot.x)/ke)):Ot.y<=Tt.y+Vt/2&&!_e?(bt.y=-1,Rt.y=Nt.y*Math.abs((Ot.y-Vt/2-Tt.y)/Vt)):Ot.x<=Tt.x+ke/2&&!ar&&(bt.x=-1,Rt.x=Nt.x*Math.abs((Ot.x-ke/2-Tt.x)/ke)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(bt.x!==0||bt.y!==0)&&(this.interval=setInterval(function(){at.isAutoScrolling=!0;var Pt={left:Rt.x*bt.x,top:Rt.y*bt.y};at.container.scrollTop+=Pt.top,at.container.scrollLeft+=Pt.left,at.onScrollCallback(Pt)},5))}}]),Ue}();function $e(Ue){var Re=Ue.node;return{height:Re.offsetHeight,width:Re.offsetWidth}}function yt(Ue){var Re=[te.Input,te.Textarea,te.Select,te.Option,te.Button];return Re.indexOf(Ue.target.tagName)!==-1?!0:!!D(Ue.target,function(Le){return Le.contentEditable==="true"})}var Fe={axis:c.a.oneOf(["x","y","xy"]),contentWindow:c.a.any,disableAutoscroll:c.a.bool,distance:c.a.number,getContainer:c.a.func,getHelperDimensions:c.a.func,helperClass:c.a.string,helperContainer:c.a.oneOfType([c.a.func,typeof HTMLElement=="undefined"?c.a.any:c.a.instanceOf(HTMLElement)]),hideSortableGhost:c.a.bool,keyboardSortingTransitionDuration:c.a.number,lockAxis:c.a.string,lockOffset:c.a.oneOfType([c.a.number,c.a.string,c.a.arrayOf(c.a.oneOfType([c.a.number,c.a.string]))]),lockToContainerEdges:c.a.bool,onSortEnd:c.a.func,onSortMove:c.a.func,onSortOver:c.a.func,onSortStart:c.a.func,pressDelay:c.a.number,pressThreshold:c.a.number,keyCodes:c.a.shape({lift:c.a.arrayOf(c.a.number),drop:c.a.arrayOf(c.a.number),cancel:c.a.arrayOf(c.a.number),up:c.a.arrayOf(c.a.number),down:c.a.arrayOf(c.a.number)}),shouldCancelStart:c.a.func,transitionDuration:c.a.number,updateBeforeSortStart:c.a.func,useDragHandle:c.a.bool,useWindowAsScrollContainer:c.a.bool},Pe={lift:[he.SPACE],drop:[he.SPACE],cancel:[he.ESC],up:[he.UP,he.LEFT],down:[he.DOWN,he.RIGHT]},gt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:$e,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Pe,shouldCancelStart:yt,transitionDuration:300,useWindowAsScrollContainer:!1},it=Object.keys(Fe);function qe(Ue){h()(!(Ue.distance&&Ue.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function At(Ue,Re){try{var Le=Ue()}catch(at){return Re(!0,at)}return Le&&Le.then?Le.then(Re.bind(null,!1),Re.bind(null,!0)):Re(!1,value)}function dt(Ue){var Re,Le,at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Le=Re=function(Ot){Object(a.a)(Tt,Ot);function Tt(Ft){var ke;return Object(m.a)(this,Tt),ke=Object(w.a)(this,Object(f.a)(Tt).call(this,Ft)),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"state",{}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"handleStart",function(Vt){var bt=ke.props,Rt=bt.distance,Nt=bt.shouldCancelStart;if(Vt.button===2||Nt(Vt))return;ke.touched=!0,ke.position=U(Vt);var xt=D(Vt.target,function(Xe){return Xe.sortableInfo!=null});if(xt&&xt.sortableInfo&&ke.nodeIsChild(xt)&&!ke.state.sorting){var Ut=ke.props.useDragHandle,Ze=xt.sortableInfo,ze=Ze.index,re=Ze.collection,le=Ze.disabled;if(le)return;if(Ut&&!D(Vt.target,be))return;ke.manager.active={collection:re,index:ze},!K(Vt)&&Vt.target.tagName===te.Anchor&&Vt.preventDefault(),Rt||(ke.props.pressDelay===0?ke.handlePress(Vt):ke.pressTimer=setTimeout(function(){return ke.handlePress(Vt)},ke.props.pressDelay))}}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"nodeIsChild",function(Vt){return Vt.sortableInfo.manager===ke.manager}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"handleMove",function(Vt){var bt=ke.props,Rt=bt.distance,Nt=bt.pressThreshold;if(!ke.state.sorting&&ke.touched&&!ke._awaitingUpdateBeforeSortStart){var xt=U(Vt),Ut={x:ke.position.x-xt.x,y:ke.position.y-xt.y},Ze=Math.abs(Ut.x)+Math.abs(Ut.y);ke.delta=Ut,!Rt&&(!Nt||Ze>=Nt)?(clearTimeout(ke.cancelTimer),ke.cancelTimer=setTimeout(ke.cancel,0)):Rt&&Ze>=Rt&&ke.manager.isActive()&&ke.handlePress(Vt)}}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"handleEnd",function(){ke.touched=!1,ke.cancel()}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"cancel",function(){var Vt=ke.props.distance,bt=ke.state.sorting;bt||(Vt||clearTimeout(ke.pressTimer),ke.manager.active=null)}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"handlePress",function(Vt){try{var bt=ke.manager.getActive(),Rt=function(){if(bt){var Nt=function(){var or=je.sortableInfo.index,Kt=F(je),Mt=J(ke.container),me=ke.scrollContainer.getBoundingClientRect(),ce=Ze({index:or,node:je,collection:ar});if(ke.node=je,ke.margin=Kt,ke.gridGap=Mt,ke.width=ce.width,ke.height=ce.height,ke.marginOffset={x:ke.margin.left+ke.margin.right+ke.gridGap.x,y:Math.max(ke.margin.top,ke.margin.bottom,ke.gridGap.y)},ke.boundingClientRect=je.getBoundingClientRect(),ke.containerBoundingRect=me,ke.index=or,ke.newIndex=or,ke.axis={x:Ut.indexOf("x")>=0,y:Ut.indexOf("y")>=0},ke.offsetEdge=W(je,ke.container),zt?ke.initialOffset=U(Object(v.a)({},Vt,{pageX:ke.boundingClientRect.left,pageY:ke.boundingClientRect.top})):ke.initialOffset=U(Vt),ke.initialScroll={left:ke.scrollContainer.scrollLeft,top:ke.scrollContainer.scrollTop},ke.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},ke.helper=ke.helperContainer.appendChild(pe(je)),b(ke.helper,{boxSizing:"border-box",height:"".concat(ke.height,"px"),left:"".concat(ke.boundingClientRect.left-Kt.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(ke.boundingClientRect.top-Kt.top,"px"),width:"".concat(ke.width,"px")}),zt&&ke.helper.focus(),re&&(ke.sortableGhost=je,b(je,{opacity:0,visibility:"hidden"})),ke.minTranslate={},ke.maxTranslate={},zt){var ae=_e?{top:0,left:0,width:ke.contentWindow.innerWidth,height:ke.contentWindow.innerHeight}:ke.containerBoundingRect,de=ae.top,Se=ae.left,Ce=ae.width,Ie=ae.height,Te=de+Ie,Ee=Se+Ce;ke.axis.x&&(ke.minTranslate.x=Se-ke.boundingClientRect.left,ke.maxTranslate.x=Ee-(ke.boundingClientRect.left+ke.width)),ke.axis.y&&(ke.minTranslate.y=de-ke.boundingClientRect.top,ke.maxTranslate.y=Te-(ke.boundingClientRect.top+ke.height))}else ke.axis.x&&(ke.minTranslate.x=(_e?0:me.left)-ke.boundingClientRect.left-ke.width/2,ke.maxTranslate.x=(_e?ke.contentWindow.innerWidth:me.left+me.width)-ke.boundingClientRect.left-ke.width/2),ke.axis.y&&(ke.minTranslate.y=(_e?0:me.top)-ke.boundingClientRect.top-ke.height/2,ke.maxTranslate.y=(_e?ke.contentWindow.innerHeight:me.top+me.height)-ke.boundingClientRect.top-ke.height/2);ze&&ze.split(" ").forEach(function(He){return ke.helper.classList.add(He)}),ke.listenerNode=Vt.touches?je:ke.contentWindow,zt?(ke.listenerNode.addEventListener("wheel",ke.handleKeyEnd,!0),ke.listenerNode.addEventListener("mousedown",ke.handleKeyEnd,!0),ke.listenerNode.addEventListener("keydown",ke.handleKeyDown)):(O.move.forEach(function(He){return ke.listenerNode.addEventListener(He,ke.handleSortMove,!1)}),O.end.forEach(function(He){return ke.listenerNode.addEventListener(He,ke.handleSortEnd,!1)})),ke.setState({sorting:!0,sortingIndex:or}),Xe&&Xe({node:je,index:or,collection:ar,isKeySorting:zt,nodes:ke.manager.getOrderedRefs(),helper:ke.helper},Vt),zt&&ke.keyMove(0)},xt=ke.props,Ut=xt.axis,Ze=xt.getHelperDimensions,ze=xt.helperClass,re=xt.hideSortableGhost,le=xt.updateBeforeSortStart,Xe=xt.onSortStart,_e=xt.useWindowAsScrollContainer,je=bt.node,ar=bt.collection,zt=ke.manager.isKeySorting,Pt=function(){if(typeof le=="function"){ke._awaitingUpdateBeforeSortStart=!0;var qt=At(function(){var or=je.sortableInfo.index;return Promise.resolve(le({collection:ar,index:or,node:je,isKeySorting:zt},Vt)).then(function(){})},function(or,Kt){if(ke._awaitingUpdateBeforeSortStart=!1,or)throw Kt;return Kt});if(qt&&qt.then)return qt.then(function(){})}}();return Pt&&Pt.then?Pt.then(Nt):Nt(Pt)}}();return Promise.resolve(Rt&&Rt.then?Rt.then(function(){}):void 0)}catch(Nt){return Promise.reject(Nt)}}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"handleSortMove",function(Vt){var bt=ke.props.onSortMove;typeof Vt.preventDefault=="function"&&Vt.preventDefault(),ke.updateHelperPosition(Vt),ke.animateNodes(),ke.autoscroll(),bt&&bt(Vt)}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"handleSortEnd",function(Vt){var bt=ke.props,Rt=bt.hideSortableGhost,Nt=bt.onSortEnd,xt=ke.manager,Ut=xt.active.collection,Ze=xt.isKeySorting,ze=ke.manager.getOrderedRefs();ke.listenerNode&&(Ze?(ke.listenerNode.removeEventListener("wheel",ke.handleKeyEnd,!0),ke.listenerNode.removeEventListener("mousedown",ke.handleKeyEnd,!0),ke.listenerNode.removeEventListener("keydown",ke.handleKeyDown)):(O.move.forEach(function(je){return ke.listenerNode.removeEventListener(je,ke.handleSortMove)}),O.end.forEach(function(je){return ke.listenerNode.removeEventListener(je,ke.handleSortEnd)}))),ke.helper.parentNode.removeChild(ke.helper),Rt&&ke.sortableGhost&&b(ke.sortableGhost,{opacity:"",visibility:""});for(var re=0,le=ze.length;re<le;re++){var Xe=ze[re],_e=Xe.node;Xe.edgeOffset=null,Xe.boundingClientRect=null,x(_e,null),N(_e,null),Xe.translate=null}ke.autoScroller.clear(),ke.manager.active=null,ke.manager.isKeySorting=!1,ke.setState({sorting:!1,sortingIndex:null}),typeof Nt=="function"&&Nt({collection:Ut,newIndex:ke.newIndex,oldIndex:ke.index,isKeySorting:Ze,nodes:ze},Vt),ke.touched=!1}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"autoscroll",function(){var Vt=ke.props.disableAutoscroll,bt=ke.manager.isKeySorting;if(Vt){ke.autoScroller.clear();return}if(bt){var Rt=Object(v.a)({},ke.translate),Nt=0,xt=0;ke.axis.x&&(Rt.x=Math.min(ke.maxTranslate.x,Math.max(ke.minTranslate.x,ke.translate.x)),Nt=ke.translate.x-Rt.x),ke.axis.y&&(Rt.y=Math.min(ke.maxTranslate.y,Math.max(ke.minTranslate.y,ke.translate.y)),xt=ke.translate.y-Rt.y),ke.translate=Rt,x(ke.helper,ke.translate),ke.scrollContainer.scrollLeft+=Nt,ke.scrollContainer.scrollTop+=xt;return}ke.autoScroller.update({height:ke.height,maxTranslate:ke.maxTranslate,minTranslate:ke.minTranslate,translate:ke.translate,width:ke.width})}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"onAutoScroll",function(Vt){ke.translate.x+=Vt.left,ke.translate.y+=Vt.top,ke.animateNodes()}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"handleKeyDown",function(Vt){var bt=Vt.keyCode,Rt=ke.props,Nt=Rt.shouldCancelStart,xt=Rt.keyCodes,Ut=xt===void 0?{}:xt,Ze=Object(v.a)({},Pe,Ut);if(ke.manager.active&&!ke.manager.isKeySorting||!ke.manager.active&&(!Ze.lift.includes(bt)||Nt(Vt)||!ke.isValidSortingTarget(Vt)))return;Vt.stopPropagation(),Vt.preventDefault(),Ze.lift.includes(bt)&&!ke.manager.active?ke.keyLift(Vt):Ze.drop.includes(bt)&&ke.manager.active?ke.keyDrop(Vt):Ze.cancel.includes(bt)?(ke.newIndex=ke.manager.active.index,ke.keyDrop(Vt)):Ze.up.includes(bt)?ke.keyMove(-1):Ze.down.includes(bt)&&ke.keyMove(1)}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"keyLift",function(Vt){var bt=Vt.target,Rt=D(bt,function(Ze){return Ze.sortableInfo!=null}),Nt=Rt.sortableInfo,xt=Nt.index,Ut=Nt.collection;ke.initialFocusedNode=bt,ke.manager.isKeySorting=!0,ke.manager.active={index:xt,collection:Ut},ke.handlePress(Vt)}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"keyMove",function(Vt){var bt=ke.manager.getOrderedRefs(),Rt=bt[bt.length-1].node.sortableInfo.index,Nt=ke.newIndex+Vt,xt=ke.newIndex;if(Nt<0||Nt>Rt)return;ke.prevIndex=xt,ke.newIndex=Nt;var Ut=H(ke.newIndex,ke.prevIndex,ke.index),Ze=bt.find(function(zt){var Pt=zt.node;return Pt.sortableInfo.index===Ut}),ze=Ze.node,re=ke.containerScrollDelta,le=Ze.boundingClientRect||z(ze,re),Xe=Ze.translate||{x:0,y:0},_e={top:le.top+Xe.y-re.top,left:le.left+Xe.x-re.left},je=xt<Nt,ar={x:je&&ke.axis.x?ze.offsetWidth-ke.width:0,y:je&&ke.axis.y?ze.offsetHeight-ke.height:0};ke.handleSortMove({pageX:_e.left+ar.x,pageY:_e.top+ar.y,ignoreTransition:Vt===0})}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"keyDrop",function(Vt){ke.handleSortEnd(Vt),ke.initialFocusedNode&&ke.initialFocusedNode.focus()}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"handleKeyEnd",function(Vt){ke.manager.active&&ke.keyDrop(Vt)}),Object(o.a)(Object(t.a)(Object(t.a)(ke)),"isValidSortingTarget",function(Vt){var bt=ke.props.useDragHandle,Rt=Vt.target,Nt=D(Rt,function(xt){return xt.sortableInfo!=null});return Nt&&Nt.sortableInfo&&!Nt.sortableInfo.disabled&&(bt?be(Rt):Rt.sortableInfo)}),qe(Ft),ke.manager=new A,ke.events={end:ke.handleEnd,move:ke.handleMove,start:ke.handleStart},ke}return Object(y.a)(Tt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var ke=this,Vt=this.props.useWindowAsScrollContainer,bt=this.getContainer();Promise.resolve(bt).then(function(Rt){ke.container=Rt,ke.document=ke.container.ownerDocument||document;var Nt=ke.props.contentWindow||ke.document.defaultView||window;ke.contentWindow=typeof Nt=="function"?Nt():Nt,ke.scrollContainer=Vt?ke.document.scrollingElement||ke.document.documentElement:G(ke.container)||ke.container,ke.autoScroller=new Qe(ke.scrollContainer,ke.onAutoScroll),Object.keys(ke.events).forEach(function(xt){return O[xt].forEach(function(Ut){return ke.container.addEventListener(Ut,ke.events[xt],!1)})}),ke.container.addEventListener("keydown",ke.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var ke=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(Vt){return O[Vt].forEach(function(bt){return ke.container.removeEventListener(bt,ke.events[Vt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(ke){var Vt=this.props,bt=Vt.lockAxis,Rt=Vt.lockOffset,Nt=Vt.lockToContainerEdges,xt=Vt.transitionDuration,Ut=Vt.keyboardSortingTransitionDuration,Ze=Ut===void 0?xt:Ut,ze=this.manager.isKeySorting,re=ke.ignoreTransition,le=U(ke),Xe={x:le.x-this.initialOffset.x,y:le.y-this.initialOffset.y};if(Xe.y-=window.pageYOffset-this.initialWindowScroll.top,Xe.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=Xe,Nt){var _e=Q({height:this.height,lockOffset:Rt,width:this.width}),je=Object(L.a)(_e,2),ar=je[0],zt=je[1],Pt={x:this.width/2-ar.x,y:this.height/2-ar.y},qt={x:this.width/2-zt.x,y:this.height/2-zt.y};Xe.x=M(this.minTranslate.x+Pt.x,this.maxTranslate.x-qt.x,Xe.x),Xe.y=M(this.minTranslate.y+Pt.y,this.maxTranslate.y-qt.y,Xe.y)}bt==="x"?Xe.y=0:bt==="y"&&(Xe.x=0),ze&&Ze&&!re&&N(this.helper,Ze),x(this.helper,Xe)}},{key:"animateNodes",value:function(){var ke=this.props,Vt=ke.transitionDuration,bt=ke.hideSortableGhost,Rt=ke.onSortOver,Nt=this.containerScrollDelta,xt=this.windowScrollDelta,Ut=this.manager.getOrderedRefs(),Ze={left:this.offsetEdge.left+this.translate.x+Nt.left,top:this.offsetEdge.top+this.translate.y+Nt.top},ze=this.manager.isKeySorting,re=this.newIndex;this.newIndex=null;for(var le=0,Xe=Ut.length;le<Xe;le++){var _e=Ut[le].node,je=_e.sortableInfo.index,ar=_e.offsetWidth,zt=_e.offsetHeight,Pt={height:this.height>zt?zt/2:this.height/2,width:this.width>ar?ar/2:this.width/2},qt=ze&&je>this.index&&je<=re,or=ze&&je<this.index&&je>=re,Kt={x:0,y:0},Mt=Ut[le].edgeOffset;Mt||(Mt=W(_e,this.container),Ut[le].edgeOffset=Mt,ze&&(Ut[le].boundingClientRect=z(_e,Nt)));var me=le<Ut.length-1&&Ut[le+1],ce=le>0&&Ut[le-1];if(me&&!me.edgeOffset&&(me.edgeOffset=W(me.node,this.container),ze&&(me.boundingClientRect=z(me.node,Nt))),je===this.index){bt&&(this.sortableGhost=_e,b(_e,{opacity:0,visibility:"hidden"}));continue}Vt&&N(_e,Vt),this.axis.x?this.axis.y?or||je<this.index&&(Ze.left+xt.left-Pt.width<=Mt.left&&Ze.top+xt.top<=Mt.top+Pt.height||Ze.top+xt.top+Pt.height<=Mt.top)?(Kt.x=this.width+this.marginOffset.x,Mt.left+Kt.x>this.containerBoundingRect.width-Pt.width&&(me&&(Kt.x=me.edgeOffset.left-Mt.left,Kt.y=me.edgeOffset.top-Mt.top)),this.newIndex===null&&(this.newIndex=je)):(qt||je>this.index&&(Ze.left+xt.left+Pt.width>=Mt.left&&Ze.top+xt.top+Pt.height>=Mt.top||Ze.top+xt.top+Pt.height>=Mt.top+zt))&&(Kt.x=-(this.width+this.marginOffset.x),Mt.left+Kt.x<this.containerBoundingRect.left+Pt.width&&(ce&&(Kt.x=ce.edgeOffset.left-Mt.left,Kt.y=ce.edgeOffset.top-Mt.top)),this.newIndex=je):qt||je>this.index&&Ze.left+xt.left+Pt.width>=Mt.left?(Kt.x=-(this.width+this.marginOffset.x),this.newIndex=je):(or||je<this.index&&Ze.left+xt.left<=Mt.left+Pt.width)&&(Kt.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=je)):this.axis.y&&(qt||je>this.index&&Ze.top+xt.top+Pt.height>=Mt.top?(Kt.y=-(this.height+this.marginOffset.y),this.newIndex=je):(or||je<this.index&&Ze.top+xt.top<=Mt.top+Pt.height)&&(Kt.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=je))),x(_e,Kt),Ut[le].translate=Kt}this.newIndex==null&&(this.newIndex=this.index),ze&&(this.newIndex=re);var ae=ze?this.prevIndex:re;Rt&&this.newIndex!==ae&&Rt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:ae,isKeySorting:ze,nodes:Ut,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return h()(at.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var ke=this.props.getContainer;return typeof ke!="function"?Object(r.findDOMNode)(this):ke(at.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var ke=at.withRef?"wrappedInstance":null;return Object(s.createElement)(Ue,Object(d.a)({ref:ke},E(this.props,it)))}},{key:"helperContainer",get:function(){var ke=this.props.helperContainer;return typeof ke=="function"?ke():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var ke=this.props.useWindowAsScrollContainer;return ke?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),Tt}(s.Component),Object(o.a)(Re,"displayName",B("sortableList",Ue)),Object(o.a)(Re,"defaultProps",gt),Object(o.a)(Re,"propTypes",Fe),Object(o.a)(Re,"childContextTypes",{manager:c.a.object.isRequired}),Le}var wt={index:c.a.number.isRequired,collection:c.a.oneOfType([c.a.number,c.a.string]),disabled:c.a.bool},Ye=Object.keys(wt);function mt(Ue){var Re,Le,at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Le=Re=function(Ot){Object(a.a)(Tt,Ot);function Tt(){return Object(m.a)(this,Tt),Object(w.a)(this,Object(f.a)(Tt).apply(this,arguments))}return Object(y.a)(Tt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(ke){this.node&&(ke.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),ke.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),ke.collection!==this.props.collection&&(this.unregister(ke.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var ke=this.props,Vt=ke.collection,bt=ke.disabled,Rt=ke.index,Nt=Object(r.findDOMNode)(this);Nt.sortableInfo={collection:Vt,disabled:bt,index:Rt,manager:this.context.manager},this.node=Nt,this.ref={node:Nt},this.context.manager.add(Vt,this.ref)}},{key:"unregister",value:function(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(ke,this.ref)}},{key:"getWrappedInstance",value:function(){return h()(at.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var ke=at.withRef?"wrappedInstance":null;return Object(s.createElement)(Ue,Object(d.a)({ref:ke},E(this.props,Ye)))}}]),Tt}(s.Component),Object(o.a)(Re,"displayName",B("sortableElement",Ue)),Object(o.a)(Re,"contextTypes",{manager:c.a.object.isRequired}),Object(o.a)(Re,"propTypes",wt),Object(o.a)(Re,"defaultProps",{collection:0}),Le}},"X/Ug":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};_.default=d},X0kX:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("KfRZ"),m=e.n(v)},X0rv:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("qfGI"),m=e.n(v)},X8Fr:function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("ZZRV"),w=e("JT1M"),f=e("iczh"),a=e.n(f),t=e("bOtj"),o=e.n(t),s=e("LlUK"),l=e.n(s),n=e("7dF+"),c=e.n(n),r=e("AoPA"),u=e("1c8c"),i=e("pYIe"),h=e.n(i),p=e("9oT9"),A=e.n(p),C=e("QM25"),S=e.n(C),E=e("LpVx"),O;(function(Y){Y[Y.None=0]="None",Y[Y.Start=1]="Start",Y[Y.End=2]="End"})(O||(O={}));function T(Y,Q){function P(G){var J=G.key,he=G.children;Q(J,G)!==!1&&T(he||[],Q)}Y.forEach(P)}function b(Y){var Q=Y.treeData,P=Y.expandedKeys,G=Y.startKey,J=Y.endKey,he=[],te=O.None;if(G&&G===J)return[G];if(!G||!J)return[];function pe(we){return we===G||we===J}return T(Q,function(we){if(te===O.End)return!1;if(pe(we)){if(he.push(we),te===O.None)te=O.Start;else if(te===O.Start)return te=O.End,!1}else te===O.Start&&he.push(we);return!(P.indexOf(we)===-1)}),he}function x(Y,Q){var P=o()(Q),G=[];return T(Y,function(J,he){var te=P.indexOf(J);return te!==-1&&(G.push(he),P.splice(te,1)),!!P.length}),G}var N=function(Y,Q){var P={};for(var G in Y)Object.prototype.hasOwnProperty.call(Y,G)&&Q.indexOf(G)<0&&(P[G]=Y[G]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,G=Object.getOwnPropertySymbols(Y);J<G.length;J++)Q.indexOf(G[J])<0&&Object.prototype.propertyIsEnumerable.call(Y,G[J])&&(P[G[J]]=Y[G[J]]);return P};function D(Y){var Q=Y.isLeaf,P=Y.expanded;return Q?y.createElement(h.a,null):P?y.createElement(A.a,null):y.createElement(S.a,null)}function M(Y){var Q=Y.treeData,P=Y.children;return Q||Object(u.c)(P)}var R=function(Q,P){var G=Q.defaultExpandAll,J=Q.defaultExpandParent,he=Q.defaultExpandedKeys,te=N(Q,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),pe=y.useRef(),we=y.useRef(),be=y.createRef();y.useImperativeHandle(P,function(){return be.current});var Qe=function(){var Nt=Object(u.a)(M(te)),xt=Nt.keyEntities,Ut;return G?Ut=Object.keys(xt):J?Ut=Object(r.e)(te.expandedKeys||he,xt):Ut=te.expandedKeys||he,Ut},$e=y.useState(te.selectedKeys||te.defaultSelectedKeys||[]),yt=l()($e,2),Fe=yt[0],Pe=yt[1],gt=y.useState(Qe()),it=l()(gt,2),qe=it[0],At=it[1];y.useEffect(function(){"selectedKeys"in te&&Pe(te.selectedKeys)},[te.selectedKeys]),y.useEffect(function(){"expandedKeys"in te&&At(te.expandedKeys)},[te.expandedKeys]);var dt=function(Nt,xt){var Ut=xt.isLeaf;if(Ut||Nt.shiftKey||Nt.metaKey||Nt.ctrlKey)return;be.current.onNodeExpand(Nt,xt)},wt=c()(dt,200,{leading:!0}),Ye=function(Nt,xt){return"expandedKeys"in te||At(Nt),te.onExpand?te.onExpand(Nt,xt):void 0},mt=function(Nt,xt){var Ut=te.expandAction;Ut==="click"&&wt(Nt,xt),te.onClick&&te.onClick(Nt,xt)},Ue=function(Nt,xt){var Ut=te.expandAction;Ut==="doubleClick"&&wt(Nt,xt),te.onDoubleClick&&te.onDoubleClick(Nt,xt)},Re=function(Nt,xt){var Ut=te.multiple,Ze=xt.node,ze=xt.nativeEvent,re=Ze.key,le=re===void 0?"":re,Xe=M(te),_e=m()(m()({},xt),{selected:!0}),je=ze.ctrlKey||ze.metaKey,ar=ze.shiftKey,zt;Ut&&je?(zt=Nt,pe.current=le,we.current=zt,_e.selectedNodes=x(Xe,zt)):Ut&&ar?(zt=Array.from(new Set([].concat(o()(we.current||[]),o()(b({treeData:Xe,expandedKeys:qe,startKey:le,endKey:pe.current}))))),_e.selectedNodes=x(Xe,zt)):(zt=[le],pe.current=le,we.current=zt,_e.selectedNodes=x(Xe,zt)),te.onSelect&&te.onSelect(zt,_e),"selectedKeys"in te||Pe(zt)},Le=y.useContext(E.b),at=Le.getPrefixCls,Ot=Le.direction,Tt=te.prefixCls,Ft=te.className,ke=N(te,["prefixCls","className"]),Vt=at("tree",Tt),bt=a()("".concat(Vt,"-directory"),Ft,L()({},"".concat(Vt,"-directory-rtl"),Ot==="rtl"));return y.createElement(W,m()({icon:D,ref:be,blockNode:!0},ke,{prefixCls:Vt,className:bt,expandedKeys:qe,selectedKeys:Fe,onSelect:Re,onClick:mt,onDoubleClick:Ue,onExpand:Ye}))},F=y.forwardRef(R);F.displayName="DirectoryTree",F.defaultProps={showIcon:!0,expandAction:"click"};var B=F,z=e("cXy+"),U=e("3OD7"),K=y.forwardRef(function(Y,Q){var P,G=y.useContext(E.b),J=G.getPrefixCls,he=G.direction,te=G.virtual,pe=Y.prefixCls,we=Y.className,be=Y.showIcon,Qe=Y.showLine,$e=Y.switcherIcon,yt=Y.blockNode,Fe=Y.children,Pe=Y.checkable,gt=m()(m()({},Y),{showLine:Boolean(Qe)}),it=J("tree",pe);return y.createElement(w.b,m()({itemHeight:20,ref:Q,virtual:te},gt,{prefixCls:it,className:a()(we,(P={},L()(P,"".concat(it,"-icon-hide"),!be),L()(P,"".concat(it,"-block-node"),yt),L()(P,"".concat(it,"-rtl"),he==="rtl"),P)),checkable:Pe&&y.createElement("span",{className:"".concat(it,"-checkbox-inner")}),switcherIcon:function(At){return Object(U.a)(it,$e,Qe,At)}}),Fe)});K.TreeNode=w.a,K.DirectoryTree=B,K.defaultProps={checkable:!1,showIcon:!1,motion:m()(m()({},z.a),{motionAppear:!1}),blockNode:!1};var W=K,H=_.a=W},"XAQ+":function(Z,_,e){var d=e("oEo5"),L=e("QV7q"),v=L.makeInner,m=e("OKMW"),y=e("LqC6"),w=d.each,f=d.curry,a=v();function t(A,C,S){var E=A.currTrigger,O=[A.x,A.y],T=A,b=A.dispatchAction||d.bind(S.dispatchAction,S),x=C.getComponent("axisPointer").coordSysAxesInfo;if(!x)return;p(O)&&(O=y({seriesIndex:T.seriesIndex,dataIndex:T.dataIndex},C).point);var N=p(O),D=T.axesInfo,M=x.axesInfo,R=E==="leave"||p(O),F={},B={},z={list:[],map:{}},U={showPointer:f(l,B),showTooltip:f(n,z)};w(x.coordSysMap,function(W,H){var Y=N||W.containPoint(O);w(x.coordSysAxesInfo[H],function(Q,P){var G=Q.axis,J=i(D,Q);if(!R&&Y&&(!D||J)){var he=J&&J.value;he==null&&!N&&(he=G.pointToData(O)),he!=null&&o(Q,he,U,!1,F)}})});var K={};return w(M,function(W,H){var Y=W.linkGroup;Y&&!B[H]&&w(Y.axesInfo,function(Q,P){var G=B[P];if(Q!==W&&G){var J=G.value;Y.mapper&&(J=W.axis.scale.parse(Y.mapper(J,h(Q),h(W)))),K[W.key]=J}})}),w(K,function(W,H){o(M[H],W,U,!0,F)}),c(B,M,F),r(z,O,A,b),u(M,b,S),F}function o(A,C,S,E,O){var T=A.axis;if(T.scale.isBlank()||!T.containData(C))return;if(!A.involveSeries){S.showPointer(A,C);return}var b=s(C,A),x=b.payloadBatch,N=b.snapToValue;x[0]&&O.seriesIndex==null&&d.extend(O,x[0]),!E&&A.snap&&(T.containData(N)&&N!=null&&(C=N)),S.showPointer(A,C,x,O),S.showTooltip(A,b,N)}function s(A,C){var S=C.axis,E=S.dim,O=A,T=[],b=Number.MAX_VALUE,x=-1;return w(C.seriesModels,function(N,D){var M=N.getData().mapDimension(E,!0),R,F;if(N.getAxisTooltipData){var B=N.getAxisTooltipData(M,A,S);F=B.dataIndices,R=B.nestestValue}else{if(F=N.getData().indicesOfNearest(M[0],A,S.type==="category"?.5:null),!F.length)return;R=N.getData().get(M[0],F[0])}if(R==null||!isFinite(R))return;var z=A-R,U=Math.abs(z);U<=b&&((U<b||z>=0&&x<0)&&(b=U,x=z,O=R,T.length=0),w(F,function(K){T.push({seriesIndex:N.seriesIndex,dataIndexInside:K,dataIndex:N.getData().getRawIndex(K)})}))}),{payloadBatch:T,snapToValue:O}}function l(A,C,S,E){A[C.key]={value:S,payloadBatch:E}}function n(A,C,S,E){var O=S.payloadBatch,T=C.axis,b=T.model,x=C.axisPointerModel;if(!C.triggerTooltip||!O.length)return;var N=C.coordSys.model,D=m.makeKey(N),M=A.map[D];M||(M=A.map[D]={coordSysId:N.id,coordSysIndex:N.componentIndex,coordSysType:N.type,coordSysMainType:N.mainType,dataByAxis:[]},A.list.push(M)),M.dataByAxis.push({axisDim:T.dim,axisIndex:b.componentIndex,axisType:b.type,axisId:b.id,value:E,valueLabelOpt:{precision:x.get("label.precision"),formatter:x.get("label.formatter")},seriesDataIndices:O.slice()})}function c(A,C,S){var E=S.axesInfo=[];w(C,function(O,T){var b=O.axisPointerModel.option,x=A[T];x?(!O.useHandle&&(b.status="show"),b.value=x.value,b.seriesDataIndices=(x.payloadBatch||[]).slice()):!O.useHandle&&(b.status="hide"),b.status==="show"&&E.push({axisDim:O.axis.dim,axisIndex:O.axis.model.componentIndex,value:b.value})})}function r(A,C,S,E){if(p(C)||!A.list.length){E({type:"hideTip"});return}var O=((A.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};E({type:"showTip",escapeConnect:!0,x:C[0],y:C[1],tooltipOption:S.tooltipOption,position:S.position,dataIndexInside:O.dataIndexInside,dataIndex:O.dataIndex,seriesIndex:O.seriesIndex,dataByCoordSys:A.list})}function u(A,C,S){var E=S.getZr(),O="axisPointerLastHighlights",T=a(E)[O]||{},b=a(E)[O]={};w(A,function(D,M){var R=D.axisPointerModel.option;R.status==="show"&&w(R.seriesDataIndices,function(F){var B=F.seriesIndex+" | "+F.dataIndex;b[B]=F})});var x=[],N=[];d.each(T,function(D,M){!b[M]&&N.push(D)}),d.each(b,function(D,M){!T[M]&&x.push(D)}),N.length&&S.dispatchAction({type:"downplay",escapeConnect:!0,batch:N}),x.length&&S.dispatchAction({type:"highlight",escapeConnect:!0,batch:x})}function i(A,C){for(var S=0;S<(A||[]).length;S++){var E=A[S];if(C.axis.dim===E.axisDim&&C.axis.model.componentIndex===E.axisIndex)return E}}function h(A){var C=A.axis.model,S={},E=S.axisDim=A.axis.dim;return S.axisIndex=S[E+"AxisIndex"]=C.componentIndex,S.axisName=S[E+"AxisName"]=C.name,S.axisId=S[E+"AxisId"]=C.id,S}function p(A){return!A||A[0]==null||isNaN(A[0])||A[1]==null||isNaN(A[1])}Z.exports=t},XDzg:function(Z,_,e){var d=e("oEo5"),L=e("Ju7t"),v=e("P7pv"),m=e("l1R7"),y=L.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});d.merge(y.prototype,m);var w={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function f(a,t){return t.type||(t.data?"category":"value")}v("angle",y,f,w.angle),v("radius",y,f,w.radius)},XFOG:function(Z,_){var e={utf8:{stringToBytes:function(L){return e.bin.stringToBytes(unescape(encodeURIComponent(L)))},bytesToString:function(L){return decodeURIComponent(escape(e.bin.bytesToString(L)))}},bin:{stringToBytes:function(L){for(var v=[],m=0;m<L.length;m++)v.push(L.charCodeAt(m)&255);return v},bytesToString:function(L){for(var v=[],m=0;m<L.length;m++)v.push(String.fromCharCode(L[m]));return v.join("")}}};Z.exports=e},"XK/l":function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="CheckCircleFilled";var w=_.a=d.forwardRef(y)},XKP1:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("h0S1"),m=e.n(v)},XPpp:function(Z,_,e){var d=e("oEo5"),L=e("fEzB"),v=e("Jjzi"),m=e("tCtF"),y=L.prototype,w=m.prototype,f=v.getPrecisionSafe,a=v.round,t=Math.floor,o=Math.ceil,s=Math.pow,l=Math.log,n=L.extend({type:"log",base:10,$constructor:function(){L.apply(this,arguments),this._originalScale=new m},getTicks:function(u){var i=this._originalScale,h=this._extent,p=i.getExtent();return d.map(w.getTicks.call(this,u),function(A){var C=v.round(s(this.base,A));return C=A===h[0]&&i.__fixMin?c(C,p[0]):C,C=A===h[1]&&i.__fixMax?c(C,p[1]):C,C},this)},getMinorTicks:w.getMinorTicks,getLabel:w.getLabel,scale:function(u){return u=y.scale.call(this,u),s(this.base,u)},setExtent:function(u,i){var h=this.base;u=l(u)/l(h),i=l(i)/l(h),w.setExtent.call(this,u,i)},getExtent:function(){var u=this.base,i=y.getExtent.call(this);i[0]=s(u,i[0]),i[1]=s(u,i[1]);var h=this._originalScale,p=h.getExtent();return h.__fixMin&&(i[0]=c(i[0],p[0])),h.__fixMax&&(i[1]=c(i[1],p[1])),i},unionExtent:function(u){this._originalScale.unionExtent(u);var i=this.base;u[0]=l(u[0])/l(i),u[1]=l(u[1])/l(i),y.unionExtent.call(this,u)},unionExtentFromData:function(u,i){this.unionExtent(u.getApproximateExtent(i))},niceTicks:function(u){u=u||10;var i=this._extent,h=i[1]-i[0];if(h===Infinity||h<=0)return;var p=v.quantity(h),A=u/h*p;for(A<=.5&&(p*=10);!isNaN(p)&&Math.abs(p)<1&&Math.abs(p)>0;)p*=10;var C=[v.round(o(i[0]/p)*p),v.round(t(i[1]/p)*p)];this._interval=p,this._niceExtent=C},niceExtent:function(u){w.niceExtent.call(this,u);var i=this._originalScale;i.__fixMin=u.fixMin,i.__fixMax=u.fixMax}});d.each(["contain","normalize"],function(u){n.prototype[u]=function(i){return i=l(i)/l(this.base),y[u].call(this,i)}}),n.create=function(){return new n};function c(u,i){return a(u,f(i))}var r=n;Z.exports=r},XQ5J:function(Z,_,e){var d=e("ORxg"),L=e("0326"),v=e("6Q7i"),m=e("xrLW");function y(w,f,a){w=m(w),f=v(f);var t=f?L(w):0;return f&&t<f?d(f-t,a)+w:w}Z.exports=y},XSBz:function(Z,_,e){var d=e("Q6Bq");e("fk9j"),d.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(L,v){v.eachComponent({mainType:"series",subType:"sankey",query:L},function(m){m.setNodePosition(L.dataIndex,[L.localX,L.localY])})})},XSrM:function(Z,_,e){"use strict";var d=e("GZha"),L=e("zjzt"),v=e("buSX"),m=e("ZZRV"),y=e("iczh"),w=e.n(y),f=e("55MS"),a=e("yTTq"),t={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function o(h){var p=h.primaryColor,A=h.secondaryColor;t.primaryColor=p,t.secondaryColor=A||Object(a.b)(p),t.calculated=!!A}function s(){return Object(f.a)({},t)}var l=function(p){var A=p.icon,C=p.className,S=p.onClick,E=p.style,O=p.primaryColor,T=p.secondaryColor,b=Object(v.a)(p,["icon","className","onClick","style","primaryColor","secondaryColor"]),x=t;if(O&&(x={primaryColor:O,secondaryColor:T||Object(a.b)(O)}),Object(a.f)(),Object(a.g)(Object(a.c)(A),"icon should be icon definiton, but got ".concat(A)),!Object(a.c)(A))return null;var N=A;return N&&typeof N.icon=="function"&&(N=Object(f.a)(Object(f.a)({},N),{},{icon:N.icon(x.primaryColor,x.secondaryColor)})),Object(a.a)(N.icon,"svg-".concat(N.name),Object(f.a)({className:C,onClick:S,style:E,"data-icon":N.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},b))};l.displayName="IconReact",l.getTwoToneColors=s,l.setTwoToneColors=o;var n=l;function c(h){var p=Object(a.d)(h),A=Object(d.a)(p,2),C=A[0],S=A[1];return n.setTwoToneColors({primaryColor:C,secondaryColor:S})}function r(){var h=n.getTwoToneColors();return h.calculated?[h.primaryColor,h.secondaryColor]:h.primaryColor}c("#1890ff");var u=m.forwardRef(function(h,p){var A=h.className,C=h.icon,S=h.spin,E=h.rotate,O=h.tabIndex,T=h.onClick,b=h.twoToneColor,x=Object(v.a)(h,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),N=w()("anticon",Object(L.a)({},"anticon-".concat(C.name),Boolean(C.name)),A),D=w()({"anticon-spin":!!S||C.name==="loading"}),M=O;M===void 0&&T&&(M=-1);var R=E?{msTransform:"rotate(".concat(E,"deg)"),transform:"rotate(".concat(E,"deg)")}:void 0,F=Object(a.d)(b),B=Object(d.a)(F,2),z=B[0],U=B[1];return m.createElement("span",Object.assign({role:"img","aria-label":C.name},x,{ref:p,tabIndex:M,onClick:T,className:N}),m.createElement(n,{className:D,icon:C,primaryColor:z,secondaryColor:U,style:R}))});u.displayName="AntdIcon",u.getTwoToneColor=r,u.setTwoToneColor=c;var i=_.a=u},XSsT:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("tfhU"),m=e.n(v),y=e("jpv3"),w=e("FHsC")},XT0D:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};_.default=d},XTQn:function(Z,_,e){var d=e("SobH"),L={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function v(x){return x=Math.round(x),x<0?0:x>255?255:x}function m(x){return x=Math.round(x),x<0?0:x>360?360:x}function y(x){return x<0?0:x>1?1:x}function w(x){return x.length&&x.charAt(x.length-1)==="%"?v(parseFloat(x)/100*255):v(parseInt(x,10))}function f(x){return x.length&&x.charAt(x.length-1)==="%"?y(parseFloat(x)/100):y(parseFloat(x))}function a(x,N,D){return D<0?D+=1:D>1&&(D-=1),D*6<1?x+(N-x)*D*6:D*2<1?N:D*3<2?x+(N-x)*(2/3-D)*6:x}function t(x,N,D){return x+(N-x)*D}function o(x,N,D,M,R){return x[0]=N,x[1]=D,x[2]=M,x[3]=R,x}function s(x,N){return x[0]=N[0],x[1]=N[1],x[2]=N[2],x[3]=N[3],x}var l=new d(20),n=null;function c(x,N){n&&s(n,N),n=l.put(x,n||N.slice())}function r(x,N){if(!x)return;N=N||[];var D=l.get(x);if(D)return s(N,D);x=x+"";var M=x.replace(/ /g,"").toLowerCase();if(M in L)return s(N,L[M]),c(x,N),N;if(M.charAt(0)==="#"){if(M.length===4){var R=parseInt(M.substr(1),16);if(!(R>=0&&R<=4095)){o(N,0,0,0,1);return}return o(N,(R&3840)>>4|(R&3840)>>8,R&240|(R&240)>>4,R&15|(R&15)<<4,1),c(x,N),N}else if(M.length===7){var R=parseInt(M.substr(1),16);if(!(R>=0&&R<=16777215)){o(N,0,0,0,1);return}return o(N,(R&16711680)>>16,(R&65280)>>8,R&255,1),c(x,N),N}return}var F=M.indexOf("("),B=M.indexOf(")");if(F!==-1&&B+1===M.length){var z=M.substr(0,F),U=M.substr(F+1,B-(F+1)).split(","),K=1;switch(z){case"rgba":if(U.length!==4){o(N,0,0,0,1);return}K=f(U.pop());case"rgb":if(U.length!==3){o(N,0,0,0,1);return}return o(N,w(U[0]),w(U[1]),w(U[2]),K),c(x,N),N;case"hsla":if(U.length!==4){o(N,0,0,0,1);return}return U[3]=f(U[3]),u(U,N),c(x,N),N;case"hsl":if(U.length!==3){o(N,0,0,0,1);return}return u(U,N),c(x,N),N;default:return}}o(N,0,0,0,1);return}function u(x,N){var D=(parseFloat(x[0])%360+360)%360/360,M=f(x[1]),R=f(x[2]),F=R<=.5?R*(M+1):R+M-R*M,B=R*2-F;return N=N||[],o(N,v(a(B,F,D+1/3)*255),v(a(B,F,D)*255),v(a(B,F,D-1/3)*255),1),x.length===4&&(N[3]=x[3]),N}function i(x){if(!x)return;var N=x[0]/255,D=x[1]/255,M=x[2]/255,R=Math.min(N,D,M),F=Math.max(N,D,M),B=F-R,z=(F+R)/2,U,K;if(B===0)U=0,K=0;else{z<.5?K=B/(F+R):K=B/(2-F-R);var W=((F-N)/6+B/2)/B,H=((F-D)/6+B/2)/B,Y=((F-M)/6+B/2)/B;N===F?U=Y-H:D===F?U=1/3+W-Y:M===F&&(U=2/3+H-W),U<0&&(U+=1),U>1&&(U-=1)}var Q=[U*360,K,z];return x[3]!=null&&Q.push(x[3]),Q}function h(x,N){var D=r(x);if(D){for(var M=0;M<3;M++)N<0?D[M]=D[M]*(1-N)|0:D[M]=(255-D[M])*N+D[M]|0,D[M]>255?D[M]=255:x[M]<0&&(D[M]=0);return b(D,D.length===4?"rgba":"rgb")}}function p(x){var N=r(x);if(N)return((1<<24)+(N[0]<<16)+(N[1]<<8)+ +N[2]).toString(16).slice(1)}function A(x,N,D){if(!(N&&N.length)||!(x>=0&&x<=1))return;D=D||[];var M=x*(N.length-1),R=Math.floor(M),F=Math.ceil(M),B=N[R],z=N[F],U=M-R;return D[0]=v(t(B[0],z[0],U)),D[1]=v(t(B[1],z[1],U)),D[2]=v(t(B[2],z[2],U)),D[3]=y(t(B[3],z[3],U)),D}var C=A;function S(x,N,D){if(!(N&&N.length)||!(x>=0&&x<=1))return;var M=x*(N.length-1),R=Math.floor(M),F=Math.ceil(M),B=r(N[R]),z=r(N[F]),U=M-R,K=b([v(t(B[0],z[0],U)),v(t(B[1],z[1],U)),v(t(B[2],z[2],U)),y(t(B[3],z[3],U))],"rgba");return D?{color:K,leftIndex:R,rightIndex:F,value:M}:K}var E=S;function O(x,N,D,M){if(x=r(x),x)return x=i(x),N!=null&&(x[0]=m(N)),D!=null&&(x[1]=f(D)),M!=null&&(x[2]=f(M)),b(u(x),"rgba")}function T(x,N){if(x=r(x),x&&N!=null)return x[3]=y(N),b(x,"rgba")}function b(x,N){if(!x||!x.length)return;var D=x[0]+","+x[1]+","+x[2];return(N==="rgba"||N==="hsva"||N==="hsla")&&(D+=","+x[3]),N+"("+D+")"}_.parse=r,_.lift=h,_.toHex=p,_.fastLerp=A,_.fastMapToColor=C,_.lerp=S,_.mapToColor=E,_.modifyHSL=O,_.modifyAlpha=T,_.stringify=b},XVjW:function(Z,_,e){var d=e("trXQ"),L=d["__core-js_shared__"];Z.exports=L},XZgM:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("qyV+")},"Xc/e":function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("XDlA"),w=e.n(y),f=e("T5E4"),a=e.n(f),t=e("8ULG"),o=e.n(t),s=e("XneU"),l=e.n(s),n=e("Hdxz"),c=e.n(n),r=e("ZZRV"),u=e("iczh"),i=e.n(u),h=e("uC5z"),p=e("bOtj"),A=e.n(p),C=e("3CTf"),S=e("LpVx"),E=function(F,B){var z={};for(var U in F)Object.prototype.hasOwnProperty.call(F,U)&&B.indexOf(U)<0&&(z[U]=F[U]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,U=Object.getOwnPropertySymbols(F);K<U.length;K++)B.indexOf(U[K])<0&&Object.prototype.propertyIsEnumerable.call(F,U[K])&&(z[U[K]]=F[U[K]]);return z},O=r.createContext(null),T=function(F){l()(z,F);var B=c()(z);function z(U){var K;return w()(this,z),K=B.call(this,U),K.cancelValue=function(W){K.setState(function(H){var Y=H.registeredValues;return{registeredValues:Y.filter(function(Q){return Q!==W})}})},K.registerValue=function(W){K.setState(function(H){var Y=H.registeredValues;return{registeredValues:[].concat(A()(Y),[W])}})},K.toggleOption=function(W){var H=K.state.registeredValues,Y=K.state.value.indexOf(W.value),Q=A()(K.state.value);Y===-1?Q.push(W.value):Q.splice(Y,1),"value"in K.props||K.setState({value:Q});var P=K.props.onChange;if(P){var G=K.getOptions();P(Q.filter(function(J){return H.indexOf(J)!==-1}).sort(function(J,he){var te=G.findIndex(function(we){return we.value===J}),pe=G.findIndex(function(we){return we.value===he});return te-pe}))}},K.renderGroup=function(W){var H=W.getPrefixCls,Y=W.direction,Q=o()(K),P=Q.props,G=Q.state,J=P.prefixCls,he=P.className,te=P.style,pe=P.options,we=E(P,["prefixCls","className","style","options"]),be=H("checkbox",J),Qe="".concat(be,"-group"),$e=Object(C.default)(we,["children","defaultValue","value","onChange","disabled"]),yt=P.children;pe&&pe.length>0&&(yt=K.getOptions().map(function(gt){return r.createElement(M,{prefixCls:be,key:gt.value.toString(),disabled:"disabled"in gt?gt.disabled:P.disabled,value:gt.value,checked:G.value.indexOf(gt.value)!==-1,onChange:gt.onChange,className:"".concat(Qe,"-item"),style:gt.style},gt.label)}));var Fe={toggleOption:K.toggleOption,value:K.state.value,disabled:K.props.disabled,name:K.props.name,registerValue:K.registerValue,cancelValue:K.cancelValue},Pe=i()(Qe,he,L()({},"".concat(Qe,"-rtl"),Y==="rtl"));return r.createElement("div",m()({className:Pe,style:te},$e),r.createElement(O.Provider,{value:Fe},yt))},K.state={value:U.value||U.defaultValue||[],registeredValues:[]},K}return a()(z,[{key:"getOptions",value:function(){var K=this.props.options;return K.map(function(W){return typeof W=="string"?{label:W,value:W}:W})}},{key:"render",value:function(){return r.createElement(S.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(K){return"value"in K?{value:K.value||[]}:null}}]),z}(r.PureComponent);T.defaultProps={options:[]};var b=T,x=e("b5WB"),N=function(F,B){var z={};for(var U in F)Object.prototype.hasOwnProperty.call(F,U)&&B.indexOf(U)<0&&(z[U]=F[U]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,U=Object.getOwnPropertySymbols(F);K<U.length;K++)B.indexOf(U[K])<0&&Object.prototype.propertyIsEnumerable.call(F,U[K])&&(z[U[K]]=F[U[K]]);return z},D=function(F){l()(z,F);var B=c()(z);function z(){var U;return w()(this,z),U=B.apply(this,arguments),U.saveCheckbox=function(K){U.rcCheckbox=K},U.renderCheckbox=function(K){var W,H=K.getPrefixCls,Y=K.direction,Q=o()(U),P=Q.props,G=Q.context,J=P.prefixCls,he=P.className,te=P.children,pe=P.indeterminate,we=P.style,be=P.onMouseEnter,Qe=P.onMouseLeave,$e=N(P,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),yt=G,Fe=H("checkbox",J),Pe=m()({},$e);yt&&(Pe.onChange=function(){$e.onChange&&$e.onChange.apply($e,arguments),yt.toggleOption({label:te,value:P.value})},Pe.name=yt.name,Pe.checked=yt.value.indexOf(P.value)!==-1,Pe.disabled=P.disabled||yt.disabled);var gt=i()(he,(W={},L()(W,"".concat(Fe,"-wrapper"),!0),L()(W,"".concat(Fe,"-rtl"),Y==="rtl"),L()(W,"".concat(Fe,"-wrapper-checked"),Pe.checked),L()(W,"".concat(Fe,"-wrapper-disabled"),Pe.disabled),W)),it=i()(L()({},"".concat(Fe,"-indeterminate"),pe));return r.createElement("label",{className:gt,style:we,onMouseEnter:be,onMouseLeave:Qe},r.createElement(h.a,m()({},Pe,{prefixCls:Fe,className:it,ref:U.saveCheckbox})),te!==void 0&&r.createElement("span",null,te))},U}return a()(z,[{key:"componentDidMount",value:function(){var K,W=this.props.value;(K=this.context)===null||K===void 0||K.registerValue(W),Object(x.a)("checked"in this.props||this.context||!("value"in this.props),"Checkbox","`value` is not a valid prop, do you mean `checked`?")}},{key:"componentDidUpdate",value:function(K){var W=K.value,H,Y,Q=this.props.value;Q!==W&&((H=this.context)===null||H===void 0||H.cancelValue(W),(Y=this.context)===null||Y===void 0||Y.registerValue(Q))}},{key:"componentWillUnmount",value:function(){var K,W=this.props.value;(K=this.context)===null||K===void 0||K.cancelValue(W)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(S.a,null,this.renderCheckbox)}}]),z}(r.PureComponent);D.__ANT_CHECKBOX=!0,D.defaultProps={indeterminate:!1},D.contextType=O;var M=D;M.Group=b;var R=_.a=M},Xpbd:function(Z,_){function e(d,L){for(var v=-1,m=L.length,y=d.length;++v<m;)d[y+v]=L[v];return d}Z.exports=e},XqH9:function(Z,_,e){var d=e("Q6Bq"),L=e("C9Tu"),v=e("B2QF"),m=e("sAd1"),y=v.toolbox.restore;function w(t){this.model=t}w.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:y.title};var f=w.prototype;f.onclick=function(t,o,s){L.clear(t),o.dispatchAction({type:"restore",from:this.uid})},m.register("restore",w),d.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,o){o.resetOption("recreate")});var a=w;Z.exports=a},XrNv:function(Z,_,e){var d=e("OkCp"),L=d.Global;Z.exports={name:"localStorage",read:m,write:y,each:w,remove:f,clearAll:a};function v(){return L.localStorage}function m(t){return v().getItem(t)}function y(t,o){return v().setItem(t,o)}function w(t){for(var o=v().length-1;o>=0;o--){var s=v().key(o);t(m(s),s)}}function f(t){return v().removeItem(t)}function a(){return v().clear()}},Y36B:function(Z,_,e){var d=e("2OMI"),L=e("oMIb"),v=e("EGDn"),m=e("Og4i"),y=e("wKys"),w=e("QLFg"),f=w.normalizeRadian,a=e("Wr3P"),t=e("KBjX"),o=d.CMD,s=Math.PI*2,l=1e-4;function n(E,O){return Math.abs(E-O)<l}var c=[-1,-1,-1],r=[-1,-1];function u(){var E=r[0];r[0]=r[1],r[1]=E}function i(E,O,T,b,x,N,D,M,R,F){if(F>O&&F>b&&F>N&&F>M||F<O&&F<b&&F<N&&F<M)return 0;var B=a.cubicRootAt(O,b,N,M,F,c);if(B===0)return 0;for(var z=0,U=-1,K,W,H=0;H<B;H++){var Y=c[H],Q=Y===0||Y===1?.5:1,P=a.cubicAt(E,T,x,D,Y);if(P<R)continue;U<0&&(U=a.cubicExtrema(O,b,N,M,r),r[1]<r[0]&&U>1&&u(),K=a.cubicAt(O,b,N,M,r[0]),U>1&&(W=a.cubicAt(O,b,N,M,r[1]))),U===2?Y<r[0]?z+=K<O?Q:-Q:Y<r[1]?z+=W<K?Q:-Q:z+=M<W?Q:-Q:Y<r[0]?z+=K<O?Q:-Q:z+=M<K?Q:-Q}return z}function h(E,O,T,b,x,N,D,M){if(M>O&&M>b&&M>N||M<O&&M<b&&M<N)return 0;var R=a.quadraticRootAt(O,b,N,M,c);if(R===0)return 0;var F=a.quadraticExtremum(O,b,N);if(F>=0&&F<=1){for(var B=0,z=a.quadraticAt(O,b,N,F),U=0;U<R;U++){var K=c[U]===0||c[U]===1?.5:1,W=a.quadraticAt(E,T,x,c[U]);if(W<D)continue;c[U]<F?B+=z<O?K:-K:B+=N<z?K:-K}return B}else{var K=c[0]===0||c[0]===1?.5:1,W=a.quadraticAt(E,T,x,c[0]);return W<D?0:N<O?K:-K}}function p(E,O,T,b,x,N,D,M){if(M-=O,M>T||M<-T)return 0;var R=Math.sqrt(T*T-M*M);c[0]=-R,c[1]=R;var F=Math.abs(b-x);if(F<1e-4)return 0;if(F%s<1e-4){b=0,x=s;var B=N?1:-1;return D>=c[0]+E&&D<=c[1]+E?B:0}if(N){var R=b;b=f(x),x=f(R)}else b=f(b),x=f(x);b>x&&(x+=s);for(var z=0,U=0;U<2;U++){var K=c[U];if(K+E>D){var W=Math.atan2(M,K),B=N?1:-1;W<0&&(W=s+W),(W>=b&&W<=x||W+s>=b&&W+s<=x)&&(W>Math.PI/2&&W<Math.PI*1.5&&(B=-B),z+=B)}}return z}function A(E,O,T,b,x){for(var N=0,D=0,M=0,R=0,F=0,B=0;B<E.length;){var z=E[B++];z===o.M&&B>1&&(T||(N+=t(D,M,R,F,b,x))),B===1&&(D=E[B],M=E[B+1],R=D,F=M);switch(z){case o.M:R=E[B++],F=E[B++],D=R,M=F;break;case o.L:if(T){if(L.containStroke(D,M,E[B],E[B+1],O,b,x))return!0}else N+=t(D,M,E[B],E[B+1],b,x)||0;D=E[B++],M=E[B++];break;case o.C:if(T){if(v.containStroke(D,M,E[B++],E[B++],E[B++],E[B++],E[B],E[B+1],O,b,x))return!0}else N+=i(D,M,E[B++],E[B++],E[B++],E[B++],E[B],E[B+1],b,x)||0;D=E[B++],M=E[B++];break;case o.Q:if(T){if(m.containStroke(D,M,E[B++],E[B++],E[B],E[B+1],O,b,x))return!0}else N+=h(D,M,E[B++],E[B++],E[B],E[B+1],b,x)||0;D=E[B++],M=E[B++];break;case o.A:var U=E[B++],K=E[B++],W=E[B++],H=E[B++],Y=E[B++],Q=E[B++];B+=1;var P=1-E[B++],G=Math.cos(Y)*W+U,J=Math.sin(Y)*H+K;B>1?N+=t(D,M,G,J,b,x):(R=G,F=J);var he=(b-U)*H/W+U;if(T){if(y.containStroke(U,K,H,Y,Y+Q,P,O,he,x))return!0}else N+=p(U,K,H,Y,Y+Q,P,he,x);D=Math.cos(Y+Q)*W+U,M=Math.sin(Y+Q)*H+K;break;case o.R:R=D=E[B++],F=M=E[B++];var te=E[B++],pe=E[B++],G=R+te,J=F+pe;if(T){if(L.containStroke(R,F,G,F,O,b,x)||L.containStroke(G,F,G,J,O,b,x)||L.containStroke(G,J,R,J,O,b,x)||L.containStroke(R,J,R,F,O,b,x))return!0}else N+=t(G,F,G,J,b,x),N+=t(R,J,R,F,b,x);break;case o.Z:if(T){if(L.containStroke(D,M,R,F,O,b,x))return!0}else N+=t(D,M,R,F,b,x);D=R,M=F;break}}return!T&&!n(M,F)&&(N+=t(D,M,R,F,b,x)||0),N!==0}function C(E,O,T){return A(E,0,!1,O,T)}function S(E,O,T,b){return A(E,O,!0,T,b)}_.contain=C,_.containStroke=S},Y5yc:function(Z,_,e){var d=e("Q6Bq");e("yZUZ"),e("hkVq"),e("JWwY");var L=e("pMHC"),v=e("N//r");d.registerVisual(L("tree","circle")),d.registerLayout(v)},YBdE:function(Z,_,e){var d=e("oEo5"),L=d.assert,v=d.isArray,m=e("IPcT"),y=m.__DEV__;function w(l){return new f(l)}function f(l){l=l||{},this._reset=l.reset,this._plan=l.plan,this._count=l.count,this._onDirty=l.onDirty,this._dirty=!0,this.context}var a=f.prototype;a.perform=function(l){var n=this._upstream,c=l&&l.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var u;this._plan&&!c&&(u=this._plan(this.context));var i=C(this._modBy),h=this._modDataCount||0,p=C(l&&l.modBy),A=l&&l.modDataCount||0;(i!==p||h!==A)&&(u="reset");function C(D){return!(D>=1)&&(D=1),D}var S;(this._dirty||u==="reset")&&(this._dirty=!1,S=s(this,c)),this._modBy=p,this._modDataCount=A;var E=l&&l.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var O=this._dueIndex,T=Math.min(E!=null?this._dueIndex+E:Infinity,this._dueEnd);if(!c&&(S||O<T)){var b=this._progress;if(v(b))for(var x=0;x<b.length;x++)o(this,b[x],O,T,p,A);else o(this,b,O,T,p,A)}this._dueIndex=T;var N=this._settedOutputEnd!=null?this._settedOutputEnd:T;this._outputDueEnd=N}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var t=function(){var l,n,c,r,u,i={reset:function(A,C,S,E){n=A,l=C,c=S,r=E,u=Math.ceil(r/c),i.next=c>1&&r>0?p:h}};return i;function h(){return n<l?n++:null}function p(){var A=n%u*c+Math.ceil(n/u),C=n>=l?null:A<r?A:n;return n++,C}}();a.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function o(l,n,c,r,u,i){t.reset(c,r,u,i),l._callingProgress=n,l._callingProgress({start:c,end:r,count:r-c,next:t.next},l.context)}function s(l,n){l._dueIndex=l._outputDueEnd=l._dueEnd=0,l._settedOutputEnd=null;var c,r;!n&&l._reset&&(c=l._reset(l.context),c&&c.progress&&(r=c.forceFirstProgress,c=c.progress),v(c)&&!c.length&&(c=null)),l._progress=c,l._modBy=l._modDataCount=null;var u=l._downstream;return u&&u.dirty(),r}a.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},a.pipe=function(l){(this._downstream!==l||this._dirty)&&(this._downstream=l,l._upstream=this,l.dirty())},a.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},a.getUpstream=function(){return this._upstream},a.getDownstream=function(){return this._downstream},a.setOutputEnd=function(l){this._outputDueEnd=this._settedOutputEnd=l},_.createTask=w},YFxb:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("xn3O"),m=e.n(v)},YLFC:function(Z,_,e){var d=e("Q6Bq");e("XDzg");var L=d.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(v){var m,y=this.ecModel;return y.eachComponent(v,function(w){w.getCoordSysModel()===this&&(m=w)},this),m},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});Z.exports=L},YOS9:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("RczH")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="UpOutlined";var f=v.forwardRef(w);_.default=f},YY8s:function(Z,_,e){var d=e("85pI"),L=d(Object.keys,Object);Z.exports=L},YYbH:function(Z,_,e){var d=e("TdBk"),L=e("eJOh"),v=function(y){this.name=y||"",this.cx=0,this.cy=0,this._radiusAxis=new d,this._angleAxis=new L,this._radiusAxis.polar=this._angleAxis.polar=this};v.prototype={type:"polar",axisPointerEnabled:!0,constructor:v,dimensions:["radius","angle"],model:null,containPoint:function(y){var w=this.pointToCoord(y);return this._radiusAxis.contain(w[0])&&this._angleAxis.contain(w[1])},containData:function(y){return this._radiusAxis.containData(y[0])&&this._angleAxis.containData(y[1])},getAxis:function(y){return this["_"+y+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(y){var w=[],f=this._angleAxis,a=this._radiusAxis;return f.scale.type===y&&w.push(f),a.scale.type===y&&w.push(a),w},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(y){var w=this._angleAxis;return y===w?this._radiusAxis:w},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(y){var w=y!=null&&y!=="auto"?this.getAxis(y):this.getBaseAxis();return{baseAxes:[w],otherAxes:[this.getOtherAxis(w)]}},dataToPoint:function(y,w){return this.coordToPoint([this._radiusAxis.dataToRadius(y[0],w),this._angleAxis.dataToAngle(y[1],w)])},pointToData:function(y,w){var f=this.pointToCoord(y);return[this._radiusAxis.radiusToData(f[0],w),this._angleAxis.angleToData(f[1],w)]},pointToCoord:function(y){var w=y[0]-this.cx,f=y[1]-this.cy,a=this.getAngleAxis(),t=a.getExtent(),o=Math.min(t[0],t[1]),s=Math.max(t[0],t[1]);a.inverse?o=s-360:s=o+360;var l=Math.sqrt(w*w+f*f);w/=l,f/=l;for(var n=Math.atan2(-f,w)/Math.PI*180,c=n<o?1:-1;n<o||n>s;)n+=c*360;return[l,n]},coordToPoint:function(y){var w=y[0],f=y[1]/180*Math.PI,a=Math.cos(f)*w+this.cx,t=-Math.sin(f)*w+this.cy;return[a,t]},getArea:function(){var y=this.getAngleAxis(),w=this.getRadiusAxis(),f=w.getExtent().slice();f[0]>f[1]&&f.reverse();var a=y.getExtent(),t=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:f[0],r:f[1],startAngle:-a[0]*t,endAngle:-a[1]*t,clockwise:y.inverse,contain:function(o,s){var l=o-this.cx,n=s-this.cy,c=l*l+n*n,r=this.r,u=this.r0;return c<=r*r&&c>=u*u}}}};var m=v;Z.exports=m},"Ycz+":function(Z,_,e){var d=e("BeS3");function L(v,m,y){var w=v.length;return y=y===void 0?w:y,!m&&y>=w?v:d(v,m,y)}Z.exports=L},YiIN:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("B2QF"),m=e("sAd1"),y=v.toolbox.magicType,w="__ec_magicType_stack__";function f(l){this.model=l}f.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:L.clone(y.title),option:{},seriesIndex:{}};var a=f.prototype;a.getIcons=function(){var l=this.model,n=l.get("icon"),c={};return L.each(l.get("type"),function(r){n[r]&&(c[r]=n[r])}),c};var t={line:function(l,n,c,r){if(l==="bar")return L.merge({id:n,type:"line",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},r.get("option.line")||{},!0)},bar:function(l,n,c,r){if(l==="line")return L.merge({id:n,type:"bar",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},r.get("option.bar")||{},!0)},stack:function(l,n,c,r){var u=c.get("stack")===w;if(l==="line"||l==="bar")return r.setIconStatus("stack",u?"normal":"emphasis"),L.merge({id:n,stack:u?"":w},r.get("option.stack")||{},!0)}},o=[["line","bar"],["stack"]];a.onclick=function(l,n,c){var r=this.model,u=r.get("seriesIndex."+c);if(!t[c])return;var i={series:[]},h=function(C){var S=C.subType,E=C.id,O=t[c](S,E,C,r);O&&(L.defaults(O,C.option),i.series.push(O));var T=C.coordinateSystem;if(T&&T.type==="cartesian2d"&&(c==="line"||c==="bar")){var b=T.getAxesByScale("ordinal")[0];if(b){var x=b.dim,N=x+"Axis",D=l.queryComponents({mainType:N,index:C.get(name+"Index"),id:C.get(name+"Id")})[0],M=D.componentIndex;i[N]=i[N]||[];for(var R=0;R<=M;R++)i[N][M]=i[N][M]||{};i[N][M].boundaryGap=c==="bar"}}};L.each(o,function(C){L.indexOf(C,c)>=0&&L.each(C,function(S){r.setIconStatus(S,"normal")})}),r.setIconStatus(c,"emphasis"),l.eachComponent({mainType:"series",query:u==null?null:{seriesIndex:u}},h);var p;if(c==="stack"){var A=i.series&&i.series[0]&&i.series[0].stack===w;p=A?L.merge({stack:y.title.tiled},y.title):L.clone(y.title)}n.dispatchAction({type:"changeMagicType",currentType:c,newOption:i,newTitle:p,featureName:"magicType"})},d.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(l,n){n.mergeOption(l.newOption)}),m.register("magicType",f);var s=f;Z.exports=s},YjsL:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("H9gS")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="FolderOpenOutlined";var f=v.forwardRef(w);_.default=f},YreP:function(Z,_,e){},YsOP:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=e("P0S0"),y=e("JkS2"),w=e("vwaK"),f=e("Vw6a"),a=f.defaultDimValueGetters,t=f.DefaultDataProvider,o=e("ArUA"),s=o.summarizeDimensions,l=e("ZtBV"),n=v.isObject,c="undefined",r=-1,u="e\0\0",i={float:typeof Float64Array===c?Array:Float64Array,int:typeof Int32Array===c?Array:Int32Array,ordinal:Array,number:Array,time:Array},h=typeof Uint32Array===c?Array:Uint32Array,p=typeof Int32Array===c?Array:Int32Array,A=typeof Uint16Array===c?Array:Uint16Array;function C(P){return P._rawCount>65535?h:A}function S(P){var G=P.constructor;return G===Array?P.slice():new G(P)}var E=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],O=["_extent","_approximateExtent","_rawExtent"];function T(P,G){v.each(E.concat(G.__wrappedMethods||[]),function(J){G.hasOwnProperty(J)&&(P[J]=G[J])}),P.__wrappedMethods=G.__wrappedMethods,v.each(O,function(J){P[J]=v.clone(G[J])}),P._calculationInfo=v.extend(G._calculationInfo)}var b=function(P,G){P=P||["x","y"];for(var J={},he=[],te={},pe=0;pe<P.length;pe++){var we=P[pe];v.isString(we)?we=new l({name:we}):we instanceof l||(we=new l(we));var be=we.name;we.type=we.type||"float",we.coordDim||(we.coordDim=be,we.coordDimIndex=0),we.otherDims=we.otherDims||{},he.push(be),J[be]=we,we.index=pe,we.createInvertedIndices&&(te[be]=[])}this.dimensions=he,this._dimensionInfos=J,this.hostModel=G,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=s(this),this._invertedIndicesMap=te,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},x=b.prototype;x.type="list",x.hasItemOption=!0,x.getDimension=function(P){return(typeof P=="number"||!isNaN(P)&&!this._dimensionInfos.hasOwnProperty(P))&&(P=this.dimensions[P]),P},x.getDimensionInfo=function(P){return this._dimensionInfos[this.getDimension(P)]},x.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},x.mapDimension=function(P,G){var J=this._dimensionsSummary;if(G==null)return J.encodeFirstDimNotExtra[P];var he=J.encode[P];return G===!0?(he||[]).slice():he&&he[G]},x.initData=function(P,G,J){var he=w.isInstance(P)||v.isArrayLike(P);he&&(P=new t(P,this.dimensions.length)),this._rawData=P,this._storage={},this._indices=null,this._nameList=G||[],this._idList=[],this._nameRepeatCount={},J||(this.hasItemOption=!1),this.defaultDimValueGetter=a[this._rawData.getSource().sourceFormat],this._dimValueGetter=J=J||this.defaultDimValueGetter,this._dimValueGetterArrayRows=a.arrayRows,this._rawExtent={},this._initDataFromProvider(0,P.count()),P.pure&&(this.hasItemOption=!1)},x.getProvider=function(){return this._rawData},x.appendData=function(P){var G=this._rawData,J=this.count();G.appendData(P);var he=G.count();G.persistent||(he+=J),this._initDataFromProvider(J,he)},x.appendValues=function(P,G){for(var J=this._chunkSize,he=this._storage,te=this.dimensions,pe=te.length,we=this._rawExtent,be=this.count(),Qe=be+Math.max(P.length,G?G.length:0),$e=this._chunkCount,yt=0;yt<pe;yt++){var Fe=te[yt];we[Fe]||(we[Fe]=H()),he[Fe]||(he[Fe]=[]),N(he,this._dimensionInfos[Fe],J,$e,Qe),this._chunkCount=he[Fe].length}for(var Pe=new Array(pe),gt=be;gt<Qe;gt++){for(var it=gt-be,qe=Math.floor(gt/J),At=gt%J,dt=0;dt<pe;dt++){var Fe=te[dt],wt=this._dimValueGetterArrayRows(P[it]||Pe,Fe,it,dt);he[Fe][qe][At]=wt;var Ye=we[Fe];wt<Ye[0]&&(Ye[0]=wt),wt>Ye[1]&&(Ye[1]=wt)}G&&(this._nameList[gt]=G[it])}this._rawCount=this._count=Qe,this._extent={},D(this)},x._initDataFromProvider=function(P,G){if(P>=G)return;for(var J=this._chunkSize,he=this._rawData,te=this._storage,pe=this.dimensions,we=pe.length,be=this._dimensionInfos,Qe=this._nameList,$e=this._idList,yt=this._rawExtent,Fe=this._nameRepeatCount={},Pe,gt=this._chunkCount,it=0;it<we;it++){var qe=pe[it];yt[qe]||(yt[qe]=H());var At=be[qe];At.otherDims.itemName===0&&(Pe=this._nameDimIdx=it),At.otherDims.itemId===0&&(this._idDimIdx=it),te[qe]||(te[qe]=[]),N(te,At,J,gt,G),this._chunkCount=te[qe].length}for(var dt=new Array(we),wt=P;wt<G;wt++){dt=he.getItem(wt,dt);for(var Ye=Math.floor(wt/J),mt=wt%J,Ue=0;Ue<we;Ue++){var qe=pe[Ue],Re=te[qe][Ye],Le=this._dimValueGetter(dt,qe,wt,Ue);Re[mt]=Le;var at=yt[qe];Le<at[0]&&(at[0]=Le),Le>at[1]&&(at[1]=Le)}if(!he.pure){var Ot=Qe[wt];if(dt&&Ot==null){if(dt.name!=null)Qe[wt]=Ot=dt.name;else if(Pe!=null){var Tt=pe[Pe],Ft=te[Tt][Ye];if(Ft){Ot=Ft[mt];var ke=be[Tt].ordinalMeta;ke&&ke.categories.length&&(Ot=ke.categories[Ot])}}}var Vt=dt==null?null:dt.id;Vt==null&&Ot!=null&&(Fe[Ot]=Fe[Ot]||0,Vt=Ot,Fe[Ot]>0&&(Vt+="__ec__"+Fe[Ot]),Fe[Ot]++),Vt!=null&&($e[wt]=Vt)}}!he.persistent&&he.clean&&he.clean(),this._rawCount=this._count=G,this._extent={},D(this)};function N(P,G,J,he,te){var pe=i[G.type],we=he-1,be=G.name,Qe=P[be][we];if(Qe&&Qe.length<J){for(var $e=new pe(Math.min(te-we*J,J)),yt=0;yt<Qe.length;yt++)$e[yt]=Qe[yt];P[be][we]=$e}for(var Fe=he*J;Fe<te;Fe+=J)P[be].push(new pe(Math.min(te-Fe,J)))}function D(P){var G=P._invertedIndicesMap;v.each(G,function(J,he){var te=P._dimensionInfos[he],pe=te.ordinalMeta;if(pe){J=G[he]=new p(pe.categories.length);for(var we=0;we<J.length;we++)J[we]=r;for(var we=0;we<P._count;we++)J[P.get(he,we)]=we}})}function M(P,G,J){var he;if(G!=null){var te=P._chunkSize,pe=Math.floor(J/te),we=J%te,be=P.dimensions[G],Qe=P._storage[be][pe];if(Qe){he=Qe[we];var $e=P._dimensionInfos[be].ordinalMeta;$e&&$e.categories.length&&(he=$e.categories[he])}}return he}x.count=function(){return this._count},x.getIndices=function(){var P,G=this._indices;if(G){var J=G.constructor,he=this._count;if(J===Array){P=new J(he);for(var te=0;te<he;te++)P[te]=G[te]}else P=new J(G.buffer,0,he)}else for(var J=C(this),P=new J(this.count()),te=0;te<P.length;te++)P[te]=te;return P},x.get=function(P,G){if(!(G>=0&&G<this._count))return NaN;var J=this._storage;if(!J[P])return NaN;G=this.getRawIndex(G);var he=Math.floor(G/this._chunkSize),te=G%this._chunkSize,pe=J[P][he],we=pe[te];return we},x.getByRawIndex=function(P,G){if(!(G>=0&&G<this._rawCount))return NaN;var J=this._storage[P];if(!J)return NaN;var he=Math.floor(G/this._chunkSize),te=G%this._chunkSize,pe=J[he];return pe[te]},x._getFast=function(P,G){var J=Math.floor(G/this._chunkSize),he=G%this._chunkSize,te=this._storage[P][J];return te[he]},x.getValues=function(P,G){var J=[];v.isArray(P)||(G=P,P=this.dimensions);for(var he=0,te=P.length;he<te;he++)J.push(this.get(P[he],G));return J},x.hasValue=function(P){for(var G=this._dimensionsSummary.dataDimsOnCoord,J=0,he=G.length;J<he;J++)if(isNaN(this.get(G[J],P)))return!1;return!0},x.getDataExtent=function(P){P=this.getDimension(P);var G=this._storage[P],J=H();if(!G)return J;var he=this.count(),te=!this._indices,pe;if(te)return this._rawExtent[P].slice();if(pe=this._extent[P],pe)return pe.slice();pe=J;for(var we=pe[0],be=pe[1],Qe=0;Qe<he;Qe++){var $e=this._getFast(P,this.getRawIndex(Qe));$e<we&&(we=$e),$e>be&&(be=$e)}return pe=[we,be],this._extent[P]=pe,pe},x.getApproximateExtent=function(P){return P=this.getDimension(P),this._approximateExtent[P]||this.getDataExtent(P)},x.setApproximateExtent=function(P,G){G=this.getDimension(G),this._approximateExtent[G]=P.slice()},x.getCalculationInfo=function(P){return this._calculationInfo[P]},x.setCalculationInfo=function(P,G){n(P)?v.extend(this._calculationInfo,P):this._calculationInfo[P]=G},x.getSum=function(P){var G=this._storage[P],J=0;if(G)for(var he=0,te=this.count();he<te;he++){var pe=this.get(P,he);isNaN(pe)||(J+=pe)}return J},x.getMedian=function(P){var G=[];this.each(P,function(te,pe){isNaN(te)||G.push(te)});var J=[].concat(G).sort(function(te,pe){return te-pe}),he=this.count();return he===0?0:he%2===1?J[(he-1)/2]:(J[he/2]+J[he/2-1])/2},x.rawIndexOf=function(P,G){var J=P&&this._invertedIndicesMap[P],he=J[G];return he==null||isNaN(he)?r:he},x.indexOfName=function(P){for(var G=0,J=this.count();G<J;G++)if(this.getName(G)===P)return G;return-1},x.indexOfRawIndex=function(P){if(P>=this._rawCount||P<0)return-1;if(!this._indices)return P;var G=this._indices,J=G[P];if(J!=null&&J<this._count&&J===P)return P;for(var he=0,te=this._count-1;he<=te;){var pe=(he+te)/2|0;if(G[pe]<P)he=pe+1;else if(G[pe]>P)te=pe-1;else return pe}return-1},x.indicesOfNearest=function(P,G,J){var he=this._storage,te=he[P],pe=[];if(!te)return pe;J==null&&(J=Infinity);for(var we=Infinity,be=-1,Qe=0,$e=0,yt=this.count();$e<yt;$e++){var Fe=G-this.get(P,$e),Pe=Math.abs(Fe);Pe<=J&&((Pe<we||Pe===we&&Fe>=0&&be<0)&&(we=Pe,be=Fe,Qe=0),Fe===be&&(pe[Qe++]=$e))}return pe.length=Qe,pe},x.getRawIndex=R;function R(P){return P}function F(P){return P<this._count&&P>=0?this._indices[P]:-1}x.getRawDataItem=function(P){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(P));for(var G=[],J=0;J<this.dimensions.length;J++){var he=this.dimensions[J];G.push(this.get(he,P))}return G},x.getName=function(P){var G=this.getRawIndex(P);return this._nameList[G]||M(this,this._nameDimIdx,G)||""},x.getId=function(P){return B(this,this.getRawIndex(P))};function B(P,G){var J=P._idList[G];return J==null&&(J=M(P,P._idDimIdx,G)),J==null&&(J=u+G),J}function z(P){return v.isArray(P)||(P=[P]),P}function U(P,G){for(var J=0;J<G.length;J++)P._dimensionInfos[G[J]]||console.error("Unkown dimension "+G[J])}x.each=function(P,G,J,he){"use strict";if(!this._count)return;typeof P=="function"&&(he=J,J=G,G=P,P=[]),J=J||he||this,P=v.map(z(P),this.getDimension,this);for(var te=P.length,pe=0;pe<this.count();pe++)switch(te){case 0:G.call(J,pe);break;case 1:G.call(J,this.get(P[0],pe),pe);break;case 2:G.call(J,this.get(P[0],pe),this.get(P[1],pe),pe);break;default:for(var we=0,be=[];we<te;we++)be[we]=this.get(P[we],pe);be[we]=pe,G.apply(J,be)}},x.filterSelf=function(P,G,J,he){"use strict";if(!this._count)return;typeof P=="function"&&(he=J,J=G,G=P,P=[]),J=J||he||this,P=v.map(z(P),this.getDimension,this);for(var te=this.count(),pe=C(this),we=new pe(te),be=[],Qe=P.length,$e=0,yt=P[0],Fe=0;Fe<te;Fe++){var Pe,gt=this.getRawIndex(Fe);if(Qe===0)Pe=G.call(J,Fe);else if(Qe===1){var it=this._getFast(yt,gt);Pe=G.call(J,it,Fe)}else{for(var qe=0;qe<Qe;qe++)be[qe]=this._getFast(yt,gt);be[qe]=Fe,Pe=G.apply(J,be)}Pe&&(we[$e++]=gt)}return $e<te&&(this._indices=we),this._count=$e,this._extent={},this.getRawIndex=this._indices?F:R,this},x.selectRange=function(P){"use strict";if(!this._count)return;var G=[];for(var J in P)P.hasOwnProperty(J)&&G.push(J);var he=G.length;if(!he)return;var te=this.count(),pe=C(this),we=new pe(te),be=0,Qe=G[0],$e=P[Qe][0],yt=P[Qe][1],Fe=!1;if(!this._indices){var Pe=0;if(he===1){for(var gt=this._storage[G[0]],it=0;it<this._chunkCount;it++)for(var qe=gt[it],At=Math.min(this._count-it*this._chunkSize,this._chunkSize),dt=0;dt<At;dt++){var wt=qe[dt];(wt>=$e&&wt<=yt||isNaN(wt))&&(we[be++]=Pe),Pe++}Fe=!0}else if(he===2){for(var gt=this._storage[Qe],Ye=this._storage[G[1]],mt=P[G[1]][0],Ue=P[G[1]][1],it=0;it<this._chunkCount;it++)for(var qe=gt[it],Re=Ye[it],At=Math.min(this._count-it*this._chunkSize,this._chunkSize),dt=0;dt<At;dt++){var wt=qe[dt],Le=Re[dt];(wt>=$e&&wt<=yt||isNaN(wt))&&(Le>=mt&&Le<=Ue||isNaN(Le))&&(we[be++]=Pe),Pe++}Fe=!0}}if(!Fe)if(he===1)for(var dt=0;dt<te;dt++){var at=this.getRawIndex(dt),wt=this._getFast(Qe,at);(wt>=$e&&wt<=yt||isNaN(wt))&&(we[be++]=at)}else for(var dt=0;dt<te;dt++){for(var Ot=!0,at=this.getRawIndex(dt),it=0;it<he;it++){var Tt=G[it],wt=this._getFast(J,at);(wt<P[Tt][0]||wt>P[Tt][1])&&(Ot=!1)}Ot&&(we[be++]=this.getRawIndex(dt))}return be<te&&(this._indices=we),this._count=be,this._extent={},this.getRawIndex=this._indices?F:R,this},x.mapArray=function(P,G,J,he){"use strict";typeof P=="function"&&(he=J,J=G,G=P,P=[]),J=J||he||this;var te=[];return this.each(P,function(){te.push(G&&G.apply(this,arguments))},J),te};function K(P,G){var J=P.dimensions,he=new b(v.map(J,P.getDimensionInfo,P),P.hostModel);T(he,P);for(var te=he._storage={},pe=P._storage,we=0;we<J.length;we++){var be=J[we];pe[be]&&(v.indexOf(G,be)>=0?(te[be]=W(pe[be]),he._rawExtent[be]=H(),he._extent[be]=null):te[be]=pe[be])}return he}function W(P){for(var G=new Array(P.length),J=0;J<P.length;J++)G[J]=S(P[J]);return G}function H(){return[Infinity,-Infinity]}x.map=function(P,G,J,he){"use strict";J=J||he||this,P=v.map(z(P),this.getDimension,this);var te=K(this,P);te._indices=this._indices,te.getRawIndex=te._indices?F:R;for(var pe=te._storage,we=[],be=this._chunkSize,Qe=P.length,$e=this.count(),yt=[],Fe=te._rawExtent,Pe=0;Pe<$e;Pe++){for(var gt=0;gt<Qe;gt++)yt[gt]=this.get(P[gt],Pe);yt[Qe]=Pe;var it=G&&G.apply(J,yt);if(it!=null){typeof it!="object"&&(we[0]=it,it=we);for(var qe=this.getRawIndex(Pe),At=Math.floor(qe/be),dt=qe%be,wt=0;wt<it.length;wt++){var Ye=P[wt],mt=it[wt],Ue=Fe[Ye],Re=pe[Ye];Re&&(Re[At][dt]=mt),mt<Ue[0]&&(Ue[0]=mt),mt>Ue[1]&&(Ue[1]=mt)}}}return te},x.downSample=function(P,G,J,he){for(var te=K(this,[P]),pe=te._storage,we=[],be=Math.floor(1/G),Qe=pe[P],$e=this.count(),yt=this._chunkSize,Fe=te._rawExtent[P],Pe=new(C(this))($e),gt=0,it=0;it<$e;it+=be){be>$e-it&&(be=$e-it,we.length=be);for(var qe=0;qe<be;qe++){var At=this.getRawIndex(it+qe),dt=Math.floor(At/yt),wt=At%yt;we[qe]=Qe[dt][wt]}var Ye=J(we),mt=this.getRawIndex(Math.min(it+he(we,Ye)||0,$e-1)),Ue=Math.floor(mt/yt),Re=mt%yt;Qe[Ue][Re]=Ye,Ye<Fe[0]&&(Fe[0]=Ye),Ye>Fe[1]&&(Fe[1]=Ye),Pe[gt++]=mt}return te._count=gt,te._indices=Pe,te.getRawIndex=F,te},x.getItemModel=function(P){var G=this.hostModel;return new m(this.getRawDataItem(P),G,G&&G.ecModel)},x.diff=function(P){var G=this;return new y(P?P.getIndices():[],this.getIndices(),function(J){return B(P,J)},function(J){return B(G,J)})},x.getVisual=function(P){var G=this._visual;return G&&G[P]},x.setVisual=function(P,G){if(n(P)){for(var J in P)P.hasOwnProperty(J)&&this.setVisual(J,P[J]);return}this._visual=this._visual||{},this._visual[P]=G},x.setLayout=function(P,G){if(n(P)){for(var J in P)P.hasOwnProperty(J)&&this.setLayout(J,P[J]);return}this._layout[P]=G},x.getLayout=function(P){return this._layout[P]},x.getItemLayout=function(P){return this._itemLayouts[P]},x.setItemLayout=function(P,G,J){this._itemLayouts[P]=J?v.extend(this._itemLayouts[P]||{},G):G},x.clearItemLayouts=function(){this._itemLayouts.length=0},x.getItemVisual=function(P,G,J){var he=this._itemVisuals[P],te=he&&he[G];return te==null&&!J?this.getVisual(G):te},x.setItemVisual=function(P,G,J){var he=this._itemVisuals[P]||{},te=this.hasItemVisual;if(this._itemVisuals[P]=he,n(G)){for(var pe in G)G.hasOwnProperty(pe)&&(he[pe]=G[pe],te[pe]=!0);return}he[G]=J,te[G]=!0},x.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var Y=function(P){P.seriesIndex=this.seriesIndex,P.dataIndex=this.dataIndex,P.dataType=this.dataType};x.setItemGraphicEl=function(P,G){var J=this.hostModel;G&&(G.dataIndex=P,G.dataType=this.dataType,G.seriesIndex=J&&J.seriesIndex,G.type==="group"&&G.traverse(Y,G)),this._graphicEls[P]=G},x.getItemGraphicEl=function(P){return this._graphicEls[P]},x.eachItemGraphicEl=function(P,G){v.each(this._graphicEls,function(J,he){J&&(P&&P.call(G,J,he))})},x.cloneShallow=function(P){if(!P){var G=v.map(this.dimensions,this.getDimensionInfo,this);P=new b(G,this.hostModel)}if(P._storage=this._storage,T(P,this),this._indices){var J=this._indices.constructor;P._indices=new J(this._indices)}else P._indices=null;return P.getRawIndex=P._indices?F:R,P},x.wrapMethod=function(P,G){var J=this[P];if(typeof J!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(P),this[P]=function(){var he=J.apply(this,arguments);return G.apply(this,[he].concat(v.slice(arguments)))}},x.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],x.CHANGABLE_METHODS=["filterSelf","selectRange"];var Q=b;Z.exports=Q},YsWf:function(Z,_,e){var d=e("oEo5"),L=e("EgZf"),v=function(y,w,f,a,t){L.call(this,y,w,f),this.type=a||"value",this.position=t||"bottom",this.orient=null};v.prototype={constructor:v,model:null,isHorizontal:function(){var y=this.position;return y==="top"||y==="bottom"},pointToData:function(y,w){return this.coordinateSystem.pointToData(y,w)[0]},toGlobalCoord:null,toLocalCoord:null},d.inherits(v,L);var m=v;Z.exports=m},"Z+31":function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("HMKB")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="FileTwoTone";var f=v.forwardRef(w);_.default=f},Z1Ah:function(Z,_,e){"use strict";e.d(_,"a",function(){return y});var d=e("LlUK"),L=e.n(d),v=e("ZZRV"),m=e.n(v);function y(){var w=v.useReducer(function(t){return t+1},0),f=L()(w,2),a=f[1];return a}},Z5QY:function(Z,_,e){var d=e("oEo5"),L=e("XTQn"),v=e("Az1A"),m=e("iNAA"),y=e("gyjJ"),w=e("CQhY"),f=d.each,a=w.toCamelCase,t=["","-webkit-","-moz-","-o-"],o="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function s(i){var h="cubic-bezier(0.23, 1, 0.32, 1)",p="left "+i+"s "+h+",top "+i+"s "+h;return d.map(t,function(A){return A+"transition:"+p}).join(";")}function l(i){var h=[],p=i.get("fontSize"),A=i.getTextColor();A&&h.push("color:"+A),h.push("font:"+i.getFont());var C=i.get("lineHeight");C==null&&(C=Math.round(p*3/2)),p&&h.push("line-height:"+C+"px");var S=i.get("textShadowColor"),E=i.get("textShadowBlur")||0,O=i.get("textShadowOffsetX")||0,T=i.get("textShadowOffsetY")||0;return E&&h.push("text-shadow:"+O+"px "+T+"px "+E+"px "+S),f(["decoration","align"],function(b){var x=i.get(b);x&&h.push("text-"+b+":"+x)}),h.join(";")}function n(i){var h=[],p=i.get("transitionDuration"),A=i.get("backgroundColor"),C=i.getModel("textStyle"),S=i.get("padding");return p&&h.push(s(p)),A&&(y.canvasSupported?h.push("background-Color:"+A):(h.push("background-Color:#"+L.toHex(A)),h.push("filter:alpha(opacity=70)"))),f(["width","color","radius"],function(E){var O="border-"+E,T=a(O),b=i.get(T);b!=null&&h.push(O+":"+b+(E==="color"?"":"px"))}),h.push(l(C)),S!=null&&h.push("padding:"+w.normalizeCssArray(S).join("px ")+"px"),h.join(";")+";"}function c(i,h,p,A,C){var S=h&&h.painter;if(p){var E=S&&S.getViewportRoot();E&&m.transformLocalCoord(i,E,document.body,A,C)}else{i[0]=A,i[1]=C;var O=S&&S.getViewportRootOffset();O&&(i[0]+=O.offsetLeft,i[1]+=O.offsetTop)}i[2]=i[0]/h.getWidth(),i[3]=i[1]/h.getHeight()}function r(i,h,p){if(y.wxa)return null;var A=document.createElement("div");A.domBelongToZr=!0,this.el=A;var C=this._zr=h.getZr(),S=this._appendToBody=p&&p.appendToBody;this._styleCoord=[0,0,0,0],c(this._styleCoord,C,S,h.getWidth()/2,h.getHeight()/2),S?document.body.appendChild(A):i.appendChild(A),this._container=i,this._show=!1,this._hideTimeout;var E=this;A.onmouseenter=function(){E._enterable&&(clearTimeout(E._hideTimeout),E._show=!0),E._inContent=!0},A.onmousemove=function(O){if(O=O||window.event,!E._enterable){var T=C.handler,b=C.painter.getViewportRoot();v.normalizeEvent(b,O,!0),T.dispatch("mousemove",O)}},A.onmouseleave=function(){E._enterable&&(E._show&&E.hideLater(E._hideDelay)),E._inContent=!1}}r.prototype={constructor:r,_enterable:!0,update:function(i){var h=this._container,p=h.currentStyle||document.defaultView.getComputedStyle(h),A=h.style;A.position!=="absolute"&&p.position!=="absolute"&&(A.position="relative");var C=i.get("alwaysShowContent");C&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var i=this._styleCoord[2],h=this._styleCoord[3],p=i*this._zr.getWidth(),A=h*this._zr.getHeight();this.moveTo(p,A)},show:function(i){clearTimeout(this._hideTimeout);var h=this.el,p=this._styleCoord;h.style.cssText=o+n(i)+";left:"+p[0]+"px;top:"+p[1]+"px;"+(i.get("extraCssText")||""),h.style.display=h.innerHTML?"block":"none",h.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(i){this.el.innerHTML=i==null?"":i},setEnterable:function(i){this._enterable=i},getSize:function(){var i=this.el;return[i.clientWidth,i.clientHeight]},moveTo:function(i,h){var p=this._styleCoord;c(p,this._zr,this._appendToBody,i,h);var A=this.el.style;A.left=p[0]+"px",A.top=p[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(i){this._show&&!(this._inContent&&this._enterable)&&(i?(this._hideDelay=i,this._show=!1,this._hideTimeout=setTimeout(d.bind(this.hide,this),i)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var i=this.el.clientWidth,h=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var p=document.defaultView.getComputedStyle(this.el);p&&(i+=parseInt(p.borderLeftWidth,10)+parseInt(p.borderRightWidth,10),h+=parseInt(p.borderTopWidth,10)+parseInt(p.borderBottomWidth,10))}return{width:i,height:h}}};var u=r;Z.exports=u},Z5xy:function(Z,_,e){var d=e("Q6Bq");e("A3lm"),e("vgo9");var L=e("pMHC"),v=e("7lsH"),m=e("tsx3");e("Kuav"),d.registerVisual(L("line","circle","line")),d.registerLayout(v("line")),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,m("line"))},Z9Ac:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="DownloadOutlined";var w=_.a=d.forwardRef(y)},ZASg:function(Z,_,e){var d=e("Q6Bq"),L=e("0gFT"),v=e("oEo5"),m=e("QV7q"),y=e("Jjzi"),w=y.getPercentWithPrecision,f=e("y6TG"),a=e("Vw6a"),t=a.retrieveRawAttr,o=e("kAFf"),s=o.makeSeriesEncodeForNameBased,l=e("p1Ch"),n=d.extendSeriesModel({type:"series.pie",init:function(r){n.superApply(this,"init",arguments),this.legendVisualProvider=new l(v.bind(this.getData,this),v.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(r)},mergeOption:function(r){n.superCall(this,"mergeOption",r),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(r,u){return L(this,{coordDimensions:["value"],encodeDefaulter:v.curry(s,this)})},_createSelectableList:function(){for(var r=this.getRawData(),u=r.mapDimension("value"),i=[],h=0,p=r.count();h<p;h++)i.push({name:r.getName(h),value:r.get(u,h),selected:t(r,h,"selected")});return i},getDataParams:function(r){var u=this.getData(),i=n.superCall(this,"getDataParams",r),h=[];return u.each(u.mapDimension("value"),function(p){h.push(p)}),i.percent=w(h,r,u.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},_defaultLabelLine:function(r){m.defaultEmphasis(r,"labelLine",["show"]);var u=r.labelLine,i=r.emphasis.labelLine;u.show=u.show&&r.label.show,i.show=i.show&&r.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});v.mixin(n,f);var c=n;Z.exports=c},ZATb:function(Z,_,e){var d=e("15py"),L=e("XTQn"),v=e("oEo5"),m=v.isArrayLike,y=Array.prototype.slice;function w(C,S){return C[S]}function f(C,S,E){C[S]=E}function a(C,S,E){return(S-C)*E+C}function t(C,S,E){return E>.5?S:C}function o(C,S,E,O,T){var b=C.length;if(T===1)for(var x=0;x<b;x++)O[x]=a(C[x],S[x],E);else for(var N=b&&C[0].length,x=0;x<b;x++)for(var D=0;D<N;D++)O[x][D]=a(C[x][D],S[x][D],E)}function s(C,S,E){var O=C.length,T=S.length;if(O!==T){var b=O>T;if(b)C.length=T;else for(var x=O;x<T;x++)C.push(E===1?S[x]:y.call(S[x]))}for(var N=C[0]&&C[0].length,x=0;x<C.length;x++)if(E===1)isNaN(C[x])&&(C[x]=S[x]);else for(var D=0;D<N;D++)isNaN(C[x][D])&&(C[x][D]=S[x][D])}function l(C,S,E){if(C===S)return!0;var O=C.length;if(O!==S.length)return!1;if(E===1){for(var T=0;T<O;T++)if(C[T]!==S[T])return!1}else for(var b=C[0].length,T=0;T<O;T++)for(var x=0;x<b;x++)if(C[T][x]!==S[T][x])return!1;return!0}function n(C,S,E,O,T,b,x,N,D){var M=C.length;if(D===1)for(var R=0;R<M;R++)N[R]=c(C[R],S[R],E[R],O[R],T,b,x);else for(var F=C[0].length,R=0;R<M;R++)for(var B=0;B<F;B++)N[R][B]=c(C[R][B],S[R][B],E[R][B],O[R][B],T,b,x)}function c(C,S,E,O,T,b,x){var N=(E-C)*.5,D=(O-S)*.5;return(2*(S-E)+N+D)*x+(-3*(S-E)-2*N-D)*b+N*T+S}function r(C){if(m(C)){var S=C.length;if(m(C[0])){for(var E=[],O=0;O<S;O++)E.push(y.call(C[O]));return E}return y.call(C)}return C}function u(C){return C[0]=Math.floor(C[0]),C[1]=Math.floor(C[1]),C[2]=Math.floor(C[2]),"rgba("+C.join(",")+")"}function i(C){var S=C[C.length-1].value;return m(S&&S[0])?2:1}function h(C,S,E,O,T,b){var x=C._getter,N=C._setter,D=S==="spline",M=O.length;if(!M)return;var R=O[0].value,F=m(R),B=!1,z=!1,U=F?i(O):0,K;O.sort(function(qe,At){return qe.time-At.time}),K=O[M-1].time;for(var W=[],H=[],Y=O[0].value,Q=!0,P=0;P<M;P++){W.push(O[P].time/K);var G=O[P].value;if(F&&l(G,Y,U)||!F&&G===Y||(Q=!1),Y=G,typeof G=="string"){var J=L.parse(G);J?(G=J,B=!0):z=!0}H.push(G)}if(!b&&Q)return;for(var he=H[M-1],P=0;P<M-1;P++)F?s(H[P],he,U):isNaN(H[P])&&!isNaN(he)&&!z&&!B&&(H[P]=he);F&&s(x(C._target,T),he,U);var te=0,pe=0,we,be,Qe,$e,yt,Fe;if(B)var Pe=[0,0,0,0];var gt=function(At,dt){var wt;if(dt<0)wt=0;else if(dt<pe){for(we=Math.min(te+1,M-1),wt=we;wt>=0&&!(W[wt]<=dt);wt--);wt=Math.min(wt,M-2)}else{for(wt=te;wt<M&&!(W[wt]>dt);wt++);wt=Math.min(wt-1,M-2)}te=wt,pe=dt;var Ye=W[wt+1]-W[wt];if(Ye===0)return;if(be=(dt-W[wt])/Ye,D)if($e=H[wt],Qe=H[wt===0?wt:wt-1],yt=H[wt>M-2?M-1:wt+1],Fe=H[wt>M-3?M-1:wt+2],F)n(Qe,$e,yt,Fe,be,be*be,be*be*be,x(At,T),U);else{var mt;if(B)mt=n(Qe,$e,yt,Fe,be,be*be,be*be*be,Pe,1),mt=u(Pe);else{if(z)return t($e,yt,be);mt=c(Qe,$e,yt,Fe,be,be*be,be*be*be)}N(At,T,mt)}else if(F)o(H[wt],H[wt+1],be,x(At,T),U);else{var mt;if(B)o(H[wt],H[wt+1],be,Pe,1),mt=u(Pe);else{if(z)return t(H[wt],H[wt+1],be);mt=a(H[wt],H[wt+1],be)}N(At,T,mt)}},it=new d({target:C._target,life:K,loop:C._loop,delay:C._delay,onframe:gt,ondestroy:E});return S&&S!=="spline"&&(it.easing=S),it}var p=function(S,E,O,T){this._tracks={},this._target=S,this._loop=E||!1,this._getter=O||w,this._setter=T||f,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};p.prototype={when:function(S,E){var O=this._tracks;for(var T in E){if(!E.hasOwnProperty(T))continue;if(!O[T]){O[T]=[];var b=this._getter(this._target,T);if(b==null)continue;S!==0&&O[T].push({time:0,value:r(b)})}O[T].push({time:S,value:E[T]})}return this},during:function(S){return this._onframeList.push(S),this},pause:function(){for(var S=0;S<this._clipList.length;S++)this._clipList[S].pause();this._paused=!0},resume:function(){for(var S=0;S<this._clipList.length;S++)this._clipList[S].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var S=this._doneList,E=S.length,O=0;O<E;O++)S[O].call(this)},start:function(S,E){var O=this,T=0,b=function(){T--,T||O._doneCallback()},x;for(var N in this._tracks){if(!this._tracks.hasOwnProperty(N))continue;var D=h(this,S,b,this._tracks[N],N,E);D&&(this._clipList.push(D),T++,this.animation&&this.animation.addClip(D),x=D)}if(x){var M=x.onframe;x.onframe=function(R,F){M(R,F);for(var B=0;B<O._onframeList.length;B++)O._onframeList[B](R,F)}}return T||this._doneCallback(),this},stop:function(S){for(var E=this._clipList,O=this.animation,T=0;T<E.length;T++){var b=E[T];S&&b.onframe(this._target,1),O&&O.removeClip(b)}E.length=0},delay:function(S){return this._delay=S,this},done:function(S){return S&&this._doneList.push(S),this},getClips:function(){return this._clipList}};var A=p;Z.exports=A},ZCXS:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("ggJr"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},ZRDM:function(Z,_,e){/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.0.8/LICENSE */(function(d,L){Z.exports=L()})(this,function(){"use strict";function d(Fe){if(Array.isArray(Fe)){for(var Pe=0,gt=Array(Fe.length);Pe<Fe.length;Pe++)gt[Pe]=Fe[Pe];return gt}else return Array.from(Fe)}var L=Object.hasOwnProperty,v=Object.setPrototypeOf,m=Object.isFrozen,y=Object.keys,w=Object.freeze,f=Object.seal,a=Object.create,t=typeof Reflect!="undefined"&&Reflect,o=t.apply,s=t.construct;o||(o=function(Pe,gt,it){return Pe.apply(gt,it)}),w||(w=function(Pe){return Pe}),f||(f=function(Pe){return Pe}),s||(s=function(Pe,gt){return new(Function.prototype.bind.apply(Pe,[null].concat(d(gt))))});var l=b(Array.prototype.forEach),n=b(Array.prototype.indexOf),c=b(Array.prototype.join),r=b(Array.prototype.pop),u=b(Array.prototype.push),i=b(Array.prototype.slice),h=b(String.prototype.toLowerCase),p=b(String.prototype.match),A=b(String.prototype.replace),C=b(String.prototype.indexOf),S=b(String.prototype.trim),E=b(RegExp.prototype.test),O=x(RegExp),T=x(TypeError);function b(Fe){return function(Pe){for(var gt=arguments.length,it=Array(gt>1?gt-1:0),qe=1;qe<gt;qe++)it[qe-1]=arguments[qe];return o(Fe,Pe,it)}}function x(Fe){return function(){for(var Pe=arguments.length,gt=Array(Pe),it=0;it<Pe;it++)gt[it]=arguments[it];return s(Fe,gt)}}function N(Fe,Pe){v&&v(Fe,null);for(var gt=Pe.length;gt--;){var it=Pe[gt];if(typeof it=="string"){var qe=h(it);qe!==it&&(m(Pe)||(Pe[gt]=qe),it=qe)}Fe[it]=!0}return Fe}function D(Fe){var Pe=a(null),gt=void 0;for(gt in Fe)o(L,Fe,[gt])&&(Pe[gt]=Fe[gt]);return Pe}var M=w(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=w(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),F=w(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),B=w(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),z=w(["#text"]),U=w(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),K=w(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),W=w(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),H=w(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Y=f(/\{\{[\s\S]*|[\s\S]*\}\}/gm),Q=f(/<%[\s\S]*|[\s\S]*%>/gm),P=f(/^data-[\-\w.\u00B7-\uFFFF]/),G=f(/^aria-[\-\w]+$/),J=f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),he=f(/^(?:\w+script|data):/i),te=f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe};function we(Fe){if(Array.isArray(Fe)){for(var Pe=0,gt=Array(Fe.length);Pe<Fe.length;Pe++)gt[Pe]=Fe[Pe];return gt}else return Array.from(Fe)}var be=function(){return typeof window=="undefined"?null:window},Qe=function(Pe,gt){if((typeof Pe=="undefined"?"undefined":pe(Pe))!=="object"||typeof Pe.createPolicy!="function")return null;var it=null,qe="data-tt-policy-suffix";gt.currentScript&>.currentScript.hasAttribute(qe)&&(it=gt.currentScript.getAttribute(qe));var At="dompurify"+(it?"#"+it:"");try{return Pe.createPolicy(At,{createHTML:function(wt){return wt}})}catch(dt){return console.warn("TrustedTypes policy "+At+" could not be created."),null}};function $e(){var Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:be(),Pe=function(tt){return $e(tt)};if(Pe.version="2.0.15",Pe.removed=[],!Fe||!Fe.document||Fe.document.nodeType!==9)return Pe.isSupported=!1,Pe;var gt=Fe.document,it=!1,qe=Fe.document,At=Fe.DocumentFragment,dt=Fe.HTMLTemplateElement,wt=Fe.Node,Ye=Fe.NodeFilter,mt=Fe.NamedNodeMap,Ue=mt===void 0?Fe.NamedNodeMap||Fe.MozNamedAttrMap:mt,Re=Fe.Text,Le=Fe.Comment,at=Fe.DOMParser,Ot=Fe.trustedTypes;if(typeof dt=="function"){var Tt=qe.createElement("template");Tt.content&&Tt.content.ownerDocument&&(qe=Tt.content.ownerDocument)}var Ft=Qe(Ot,gt),ke=Ft&&ee?Ft.createHTML(""):"",Vt=qe,bt=Vt.implementation,Rt=Vt.createNodeIterator,Nt=Vt.getElementsByTagName,xt=Vt.createDocumentFragment,Ut=gt.importNode,Ze=D(qe).documentMode?qe.documentMode:{},ze={};Pe.isSupported=bt&&typeof bt.createHTMLDocument!="undefined"&&Ze!==9;var re=Y,le=Q,Xe=P,_e=G,je=he,ar=te,zt=J,Pt=null,qt=N({},[].concat(we(M),we(R),we(F),we(B),we(z))),or=null,Kt=N({},[].concat(we(U),we(K),we(W),we(H))),Mt=null,me=null,ce=!0,ae=!0,de=!1,Se=!1,Ce=!1,Ie=!1,Te=!1,Ee=!1,He=!1,st=!1,vt=!1,ee=!1,oe=!0,k=!0,$=!1,se={},ge=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ae=null,Me=N({},["audio","video","img","source","image","track"]),et=null,Wt=N({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),er=null,Ct=qe.createElement("form"),Ht=function(tt){if(er&&er===tt)return;(!tt||(typeof tt=="undefined"?"undefined":pe(tt))!=="object")&&(tt={}),tt=D(tt),Pt="ALLOWED_TAGS"in tt?N({},tt.ALLOWED_TAGS):qt,or="ALLOWED_ATTR"in tt?N({},tt.ALLOWED_ATTR):Kt,et="ADD_URI_SAFE_ATTR"in tt?N(D(Wt),tt.ADD_URI_SAFE_ATTR):Wt,Ae="ADD_DATA_URI_TAGS"in tt?N(D(Me),tt.ADD_DATA_URI_TAGS):Me,Mt="FORBID_TAGS"in tt?N({},tt.FORBID_TAGS):{},me="FORBID_ATTR"in tt?N({},tt.FORBID_ATTR):{},se="USE_PROFILES"in tt?tt.USE_PROFILES:!1,ce=tt.ALLOW_ARIA_ATTR!==!1,ae=tt.ALLOW_DATA_ATTR!==!1,de=tt.ALLOW_UNKNOWN_PROTOCOLS||!1,Se=tt.SAFE_FOR_JQUERY||!1,Ce=tt.SAFE_FOR_TEMPLATES||!1,Ie=tt.WHOLE_DOCUMENT||!1,He=tt.RETURN_DOM||!1,st=tt.RETURN_DOM_FRAGMENT||!1,vt=tt.RETURN_DOM_IMPORT||!1,ee=tt.RETURN_TRUSTED_TYPE||!1,Ee=tt.FORCE_BODY||!1,oe=tt.SANITIZE_DOM!==!1,k=tt.KEEP_CONTENT!==!1,$=tt.IN_PLACE||!1,zt=tt.ALLOWED_URI_REGEXP||zt,Ce&&(ae=!1),st&&(He=!0),se&&(Pt=N({},[].concat(we(z))),or=[],se.html===!0&&(N(Pt,M),N(or,U)),se.svg===!0&&(N(Pt,R),N(or,K),N(or,H)),se.svgFilters===!0&&(N(Pt,F),N(or,K),N(or,H)),se.mathMl===!0&&(N(Pt,B),N(or,W),N(or,H))),tt.ADD_TAGS&&(Pt===qt&&(Pt=D(Pt)),N(Pt,tt.ADD_TAGS)),tt.ADD_ATTR&&(or===Kt&&(or=D(or)),N(or,tt.ADD_ATTR)),tt.ADD_URI_SAFE_ATTR&&N(et,tt.ADD_URI_SAFE_ATTR),k&&(Pt["#text"]=!0),Ie&&N(Pt,["html","head","body"]),Pt.table&&(N(Pt,["tbody"]),delete Mt.tbody),w&&w(tt),er=tt},kt=function(tt){u(Pe.removed,{element:tt});try{tt.parentNode.removeChild(tt)}catch(ft){tt.outerHTML=ke}},Zt=function(tt,ft){try{u(Pe.removed,{attribute:ft.getAttributeNode(tt),from:ft})}catch(Yt){u(Pe.removed,{attribute:null,from:ft})}ft.removeAttribute(tt)},Et=function(tt){var ft=void 0,Yt=void 0;if(Ee)tt="<remove></remove>"+tt;else{var Dt=p(tt,/^[\r\n\t ]+/);Yt=Dt&&Dt[0]}var vr=Ft?Ft.createHTML(tt):tt;try{ft=new at().parseFromString(vr,"text/html")}catch(Rr){}if(it&&N(Mt,["title"]),!ft||!ft.documentElement){ft=bt.createHTMLDocument("");var yr=ft,Dr=yr.body;Dr.parentNode.removeChild(Dr.parentNode.firstElementChild),Dr.outerHTML=vr}return tt&&Yt&&ft.body.insertBefore(qe.createTextNode(Yt),ft.body.childNodes[0]||null),Nt.call(ft,Ie?"html":"body")[0]};Pe.isSupported&&function(){try{var We=Et("<x/><title></title><img>");E(/<\/title/,We.querySelector("title").innerHTML)&&(it=!0)}catch(tt){}}();var ur=function(tt){return Rt.call(tt.ownerDocument||tt,tt,Ye.SHOW_ELEMENT|Ye.SHOW_COMMENT|Ye.SHOW_TEXT,function(){return Ye.FILTER_ACCEPT},!1)},rr=function(tt){return tt instanceof Re||tt instanceof Le?!1:typeof tt.nodeName!="string"||typeof tt.textContent!="string"||typeof tt.removeChild!="function"||!(tt.attributes instanceof Ue)||typeof tt.removeAttribute!="function"||typeof tt.setAttribute!="function"||typeof tt.namespaceURI!="string"},Ke=function(tt){return(typeof wt=="undefined"?"undefined":pe(wt))==="object"?tt instanceof wt:tt&&(typeof tt=="undefined"?"undefined":pe(tt))==="object"&&typeof tt.nodeType=="number"&&typeof tt.nodeName=="string"},nt=function(tt,ft,Yt){if(!ze[tt])return;l(ze[tt],function(Dt){Dt.call(Pe,ft,Yt,er)})},Ge=function(tt){var ft=void 0;if(nt("beforeSanitizeElements",tt,null),rr(tt))return kt(tt),!0;if(p(tt.nodeName,/[\u0080-\uFFFF]/))return kt(tt),!0;var Yt=h(tt.nodeName);if(nt("uponSanitizeElement",tt,{tagName:Yt,allowedTags:Pt}),(Yt==="svg"||Yt==="math")&&tt.querySelectorAll("p, br").length!==0)return kt(tt),!0;if(!Pt[Yt]||Mt[Yt]){if(k&&!ge[Yt]&&typeof tt.insertAdjacentHTML=="function")try{var Dt=tt.innerHTML;tt.insertAdjacentHTML("AfterEnd",Ft?Ft.createHTML(Dt):Dt)}catch(vr){}return kt(tt),!0}return Yt==="noscript"&&E(/<\/noscript/i,tt.innerHTML)||Yt==="noembed"&&E(/<\/noembed/i,tt.innerHTML)?(kt(tt),!0):(Se&&!Ke(tt.firstElementChild)&&(!Ke(tt.content)||!Ke(tt.content.firstElementChild))&&E(/</g,tt.textContent)&&(u(Pe.removed,{element:tt.cloneNode()}),tt.innerHTML?tt.innerHTML=A(tt.innerHTML,/</g,"<"):tt.innerHTML=A(tt.textContent,/</g,"<")),Ce&&tt.nodeType===3&&(ft=tt.textContent,ft=A(ft,re," "),ft=A(ft,le," "),tt.textContent!==ft&&(u(Pe.removed,{element:tt.cloneNode()}),tt.textContent=ft)),nt("afterSanitizeElements",tt,null),!1)},ct=function(tt,ft,Yt){if(oe&&(ft==="id"||ft==="name")&&(Yt in qe||Yt in Ct))return!1;if(!(ae&&E(Xe,ft))){if(!(ce&&E(_e,ft))){if(!or[ft]||me[ft])return!1;if(!et[ft]){if(!E(zt,A(Yt,ar,""))){if(!((ft==="src"||ft==="xlink:href"||ft==="href")&&tt!=="script"&&C(Yt,"data:")===0&&Ae[tt])){if(!(de&&!E(je,A(Yt,ar,"")))){if(Yt)return!1}}}}}}return!0},ht=function(tt){var ft=void 0,Yt=void 0,Dt=void 0,vr=void 0,yr=void 0;nt("beforeSanitizeAttributes",tt,null);var Dr=tt.attributes;if(!Dr)return;var Rr={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:or};for(yr=Dr.length;yr--;){ft=Dr[yr];var Jr=ft,$r=Jr.name,xr=Jr.namespaceURI;if(Yt=S(ft.value),Dt=h($r),Rr.attrName=Dt,Rr.attrValue=Yt,Rr.keepAttr=!0,Rr.forceKeepAttr=void 0,nt("uponSanitizeAttribute",tt,Rr),Yt=Rr.attrValue,Rr.forceKeepAttr)continue;if(Dt==="name"&&tt.nodeName==="IMG"&&Dr.id)vr=Dr.id,Dr=i(Dr,[]),Zt("id",tt),Zt($r,tt),n(Dr,vr)>yr&&tt.setAttribute("id",vr.value);else{if(tt.nodeName==="INPUT"&&Dt==="type"&&Yt==="file"&&Rr.keepAttr&&(or[Dt]||!me[Dt]))continue;$r==="id"&&tt.setAttribute($r,""),Zt($r,tt)}if(!Rr.keepAttr)continue;if(Se&&E(/\/>/i,Yt)){Zt($r,tt);continue}if(E(/svg|math/i,tt.namespaceURI)&&E(O("</("+c(y(ge),"|")+")","i"),Yt)){Zt($r,tt);continue}Ce&&(Yt=A(Yt,re," "),Yt=A(Yt,le," "));var Vr=tt.nodeName.toLowerCase();if(!ct(Vr,Dt,Yt))continue;try{xr?tt.setAttributeNS(xr,$r,Yt):tt.setAttribute($r,Yt),r(Pe.removed)}catch(Or){}}nt("afterSanitizeAttributes",tt,null)},ut=function We(tt){var ft=void 0,Yt=ur(tt);for(nt("beforeSanitizeShadowDOM",tt,null);ft=Yt.nextNode();){if(nt("uponSanitizeShadowNode",ft,null),Ge(ft))continue;ft.content instanceof At&&We(ft.content),ht(ft)}nt("afterSanitizeShadowDOM",tt,null)};return Pe.sanitize=function(We,tt){var ft=void 0,Yt=void 0,Dt=void 0,vr=void 0,yr=void 0;if(We||(We="<!-->"),typeof We!="string"&&!Ke(We)){if(typeof We.toString!="function")throw T("toString is not a function");if(We=We.toString(),typeof We!="string")throw T("dirty is not a string, aborting")}if(!Pe.isSupported){if(pe(Fe.toStaticHTML)==="object"||typeof Fe.toStaticHTML=="function"){if(typeof We=="string")return Fe.toStaticHTML(We);if(Ke(We))return Fe.toStaticHTML(We.outerHTML)}return We}if(Te||Ht(tt),Pe.removed=[],typeof We=="string"&&($=!1),!$)if(We instanceof wt)ft=Et("<!-->"),Yt=ft.ownerDocument.importNode(We,!0),Yt.nodeType===1&&Yt.nodeName==="BODY"||Yt.nodeName==="HTML"?ft=Yt:ft.appendChild(Yt);else{if(!He&&!Ce&&!Ie&&We.indexOf("<")===-1)return Ft&&ee?Ft.createHTML(We):We;if(ft=Et(We),!ft)return He?null:ke}ft&&Ee&&kt(ft.firstChild);for(var Dr=ur($?We:ft);Dt=Dr.nextNode();){if(Dt.nodeType===3&&Dt===vr)continue;if(Ge(Dt))continue;Dt.content instanceof At&&ut(Dt.content),ht(Dt),vr=Dt}if(vr=null,$)return We;if(He){if(st)for(yr=xt.call(ft.ownerDocument);ft.firstChild;)yr.appendChild(ft.firstChild);else yr=ft;return vt&&(yr=Ut.call(gt,yr,!0)),yr}var Rr=Ie?ft.outerHTML:ft.innerHTML;return Ce&&(Rr=A(Rr,re," "),Rr=A(Rr,le," ")),Ft&&ee?Ft.createHTML(Rr):Rr},Pe.setConfig=function(We){Ht(We),Te=!0},Pe.clearConfig=function(){er=null,Te=!1},Pe.isValidAttribute=function(We,tt,ft){er||Ht({});var Yt=h(We),Dt=h(tt);return ct(Yt,Dt,ft)},Pe.addHook=function(We,tt){if(typeof tt!="function")return;ze[We]=ze[We]||[],u(ze[We],tt)},Pe.removeHook=function(We){ze[We]&&r(ze[We])},Pe.removeHooks=function(We){ze[We]&&(ze[We]=[])},Pe.removeAllHooks=function(){ze={}},Pe}var yt=$e();return yt})},ZSS0:function(Z,_){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function d(L,v,m){return e.hasOwnProperty(v)?m*=L.dpr:m}Z.exports=d},Zec6:function(Z,_,e){var d=e("oEo5"),L=e("SSBM"),v=L.getLayoutRect;function m(w,f,a){var t=w.option,o=t.align;if(o!=null&&o!=="auto")return o;for(var s={width:f.getWidth(),height:f.getHeight()},l=t.orient==="horizontal"?1:0,n=[["left","right","width"],["top","bottom","height"]],c=n[l],r=[0,null,10],u={},i=0;i<3;i++)u[n[1-l][i]]=r[i],u[c[i]]=i===2?a[0]:t[c[i]];var h=[["x","width",3],["y","height",0]][l],p=v(u,s,t.padding);return c[(p.margin[h[2]]||0)+p[h[0]]+p[h[1]]*.5<s[h[1]]*.5?0:1]}function y(w,f){return d.each(w||[],function(a){a.dataIndex!=null&&(a.dataIndexInside=a.dataIndex,a.dataIndex=null),a.highlightKey="visualMap"+(f?f.componentIndex:"")}),w}_.getItemAlign=m,_.makeHighDownBatch=y},ZgTT:function(Z,_,e){"use strict";e.d(_,"a",function(){return C});var d=e("bOtj"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("Eqs+"),w=e.n(y),f=e("XDlA"),a=e.n(f),t=e("T5E4"),o=e.n(t),s=e("XneU"),l=e.n(s),n=e("Hdxz"),c=e.n(n),r=e("ZZRV"),u=e.n(r),i=e("iczh"),h=e.n(i),p=e("LpVx"),A=function(D,M){var R={};for(var F in D)Object.prototype.hasOwnProperty.call(D,F)&&M.indexOf(F)<0&&(R[F]=D[F]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,F=Object.getOwnPropertySymbols(D);B<F.length;B++)M.indexOf(F[B])<0&&Object.prototype.propertyIsEnumerable.call(D,F[B])&&(R[F[B]]=D[F[B]]);return R},C=r.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function S(D){var M=D.suffixCls,R=D.tagName,F=D.displayName;return function(B){var z;return z=function(U){l()(W,U);var K=c()(W);function W(){var H;return a()(this,W),H=K.apply(this,arguments),H.renderComponent=function(Y){var Q=Y.getPrefixCls,P=H.props.prefixCls,G=Q(M,P);return r.createElement(B,w()({prefixCls:G,tagName:R},H.props))},H}return o()(W,[{key:"render",value:function(){return r.createElement(p.a,null,this.renderComponent)}}]),W}(r.Component),z.displayName=F,z}}var E=function(M){var R=M.prefixCls,F=M.className,B=M.children,z=M.tagName,U=A(M,["prefixCls","className","children","tagName"]),K=h()(R,F);return r.createElement(z,w()({className:K},U),B)},O=function(D){l()(R,D);var M=c()(R);function R(){var F;return a()(this,R),F=M.apply(this,arguments),F.state={siders:[]},F.renderComponent=function(B){var z,U=B.direction,K=F.props,W=K.prefixCls,H=K.className,Y=K.children,Q=K.hasSider,P=K.tagName,G=A(K,["prefixCls","className","children","hasSider","tagName"]),J=h()(W,(z={},m()(z,"".concat(W,"-has-sider"),typeof Q=="boolean"?Q:F.state.siders.length>0),m()(z,"".concat(W,"-rtl"),U==="rtl"),z),H);return r.createElement(C.Provider,{value:{siderHook:F.getSiderHook()}},r.createElement(P,w()({className:J},G),Y))},F}return o()(R,[{key:"getSiderHook",value:function(){var B=this;return{addSider:function(U){B.setState(function(K){return{siders:[].concat(L()(K.siders),[U])}})},removeSider:function(U){B.setState(function(K){return{siders:K.siders.filter(function(W){return W!==U})}})}}}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderComponent)}}]),R}(r.Component),T=S({suffixCls:"layout",tagName:"section",displayName:"Layout"})(O),b=S({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(E),x=S({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(E),N=S({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(E);T.Header=b,T.Footer=x,T.Content=N,_.b=T},ZiI5:function(Z,_,e){var d=e("Q6Bq");e("4Tx6"),e("cKRQ");var L=e("pMHC"),v=e("7lsH");d.registerVisual(L("effectScatter","circle")),d.registerLayout(v("effectScatter"))},ZjQ9:function(Z,_,e){var d=e("4Zqh"),L=e("kN/v");function v(m,y){var w=[];return m.eachComponent("singleAxis",function(f,a){var t=new d(f,m,y);t.name="single_"+a,t.resize(f,y),f.coordinateSystem=t,w.push(t)}),m.eachSeries(function(f){if(f.get("coordinateSystem")==="singleAxis"){var a=m.queryComponents({mainType:"singleAxis",index:f.get("singleAxisIndex"),id:f.get("singleAxisId")})[0];f.coordinateSystem=a&&a.coordinateSystem}}),w}L.register("single",{create:v,dimensions:d.prototype.dimensions})},Zjji:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};_.default=d},Zmji:function(Z,_,e){var d=e("oEo5"),L=e("YsOP"),v=e("7Ne0"),m=e("2E9u"),y=e("TfK1"),w=e("kN/v"),f=e("kcRU");function a(t,o,s,l,n){for(var c=new v(l),r=0;r<t.length;r++)c.addNode(d.retrieve(t[r].id,t[r].name,r),r);for(var u=[],i=[],h=0,r=0;r<o.length;r++){var p=o[r],A=p.source,C=p.target;c.addEdge(A,C,h)&&(i.push(p),u.push(d.retrieve(p.id,A+" > "+C)),h++)}var S=s.get("coordinateSystem"),E;if(S==="cartesian2d"||S==="polar")E=f(t,s);else{var O=w.get(S),T=O&&O.type!=="view"?O.dimensions||[]:[];d.indexOf(T,"value")<0&&T.concat(["value"]);var b=y(t,{coordDimensions:T});E=new L(b,s),E.initData(t)}var x=new L(["value"],s);return x.initData(i,u),n&&n(E,x),m({mainData:E,struct:c,structAttr:"graph",datas:{node:E,edge:x},datasAttr:{node:"data",edge:"edgeData"}}),c.update(),c}Z.exports=a},ZnUu:function(Z,_,e){"use strict";e.d(_,"a",function(){return P});var d=e("zjzt"),L=e("55MS"),v=e("V0hb"),m=e("GZha"),y=e("buSX"),w=e("ZZRV"),f=e("ggzp"),a=e("iczh"),t=e.n(a),o=e("O9LN"),s=e("sWW0"),l=e("X/IY"),n=e("fU0r"),c=e("A1W9"),r=function(J,he){var te=J.prefixCls,pe=J.id,we=J.inputElement,be=J.disabled,Qe=J.tabIndex,$e=J.autoFocus,yt=J.autoComplete,Fe=J.editable,Pe=J.accessibilityIndex,gt=J.value,it=J.onKeyDown,qe=J.onMouseDown,At=J.onChange,dt=J.onPaste,wt=J.onCompositionStart,Ye=J.onCompositionEnd,mt=J.open,Ue=J.attrs,Re=we||w.createElement("input",null),Le=Re,at=Le.ref,Ot=Le.props,Tt=Ot.onKeyDown,Ft=Ot.onChange,ke=Ot.onMouseDown,Vt=Ot.onCompositionStart,bt=Ot.onCompositionEnd,Rt=Ot.style;return Re=w.cloneElement(Re,Object(L.a)(Object(L.a)({id:pe,ref:Object(c.a)(he,at),disabled:be,tabIndex:Qe,autoComplete:yt||"off",autoFocus:$e,className:"".concat(te,"-selection-search-input"),style:Object(L.a)(Object(L.a)({},Rt),{},{opacity:Fe?null:0}),role:"combobox","aria-expanded":mt,"aria-haspopup":"listbox","aria-owns":"".concat(pe,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(pe,"_list"),"aria-activedescendant":"".concat(pe,"_list_").concat(Pe)},Ue),{},{value:Fe?gt:"",readOnly:!Fe,unselectable:Fe?null:"on",onKeyDown:function(xt){it(xt),Tt&&Tt(xt)},onMouseDown:function(xt){qe(xt),ke&&ke(xt)},onChange:function(xt){At(xt),Ft&&Ft(xt)},onCompositionStart:function(xt){wt(xt),Vt&&Vt(xt)},onCompositionEnd:function(xt){Ye(xt),bt&&bt(xt)},onPaste:dt})),Re},u=w.forwardRef(r);u.displayName="Input";var i=u,h=e("MuvR");function p(G,J){h.b?w.useLayoutEffect(G,J):w.useEffect(G,J)}var A="__RC_SELECT_MAX_REST_COUNT__",C=function(J){var he=J.id,te=J.prefixCls,pe=J.values,we=J.open,be=J.searchValue,Qe=J.inputRef,$e=J.placeholder,yt=J.disabled,Fe=J.mode,Pe=J.showSearch,gt=J.autoFocus,it=J.autoComplete,qe=J.accessibilityIndex,At=J.tabIndex,dt=J.removeIcon,wt=J.choiceTransitionName,Ye=J.maxTagCount,mt=J.maxTagTextLength,Ue=J.maxTagPlaceholder,Re=Ue===void 0?function(qt){return"+ ".concat(qt.length," ...")}:Ue,Le=J.tagRender,at=J.onSelect,Ot=J.onInputChange,Tt=J.onInputPaste,Ft=J.onInputKeyDown,ke=J.onInputMouseDown,Vt=J.onInputCompositionStart,bt=J.onInputCompositionEnd,Rt=w.useState(!1),Nt=Object(m.a)(Rt,2),xt=Nt[0],Ut=Nt[1],Ze=w.useRef(null),ze=w.useState(0),re=Object(m.a)(ze,2),le=re[0],Xe=re[1];w.useEffect(function(){Ut(!0)},[]);var _e=we||Fe==="tags"?be:"",je=Fe==="tags"||we&&Pe;p(function(){Xe(Ze.current.scrollWidth)},[_e]);var ar=pe,zt;typeof Ye=="number"&&(zt=pe.length-Ye,ar=pe.slice(0,Ye)),typeof mt=="number"&&(ar=ar.map(function(qt){var or=qt.label,Kt=Object(y.a)(qt,["label"]),Mt=or;if(typeof or=="string"||typeof or=="number"){var me=String(Mt);me.length>mt&&(Mt="".concat(me.slice(0,mt),"..."))}return Object(L.a)(Object(L.a)({},Kt),{},{label:Mt})})),zt>0&&ar.push({key:A,label:typeof Re=="function"?Re(pe.slice(Ye)):Re});var Pt=w.createElement(l.CSSMotionList,{component:!1,keys:ar,motionName:wt,motionAppear:xt},function(qt){var or=qt.key,Kt=qt.label,Mt=qt.value,me=qt.disabled,ce=qt.className,ae=qt.style,de=or||Mt,Se=or!==A&&!me,Ce=function(Ee){Ee.preventDefault(),Ee.stopPropagation()},Ie=function(Ee){Ee&&Ee.stopPropagation(),at(Mt,{selected:!1})};return typeof Le=="function"?w.createElement("span",{key:de,onMouseDown:Ce,className:ce,style:ae},Le({label:Kt,value:Mt,disabled:me,closable:Se,onClose:Ie})):w.createElement("span",{key:de,className:t()(ce,"".concat(te,"-selection-item"),Object(d.a)({},"".concat(te,"-selection-item-disabled"),me)),style:ae},w.createElement("span",{className:"".concat(te,"-selection-item-content")},Kt),Se&&w.createElement(n.a,{className:"".concat(te,"-selection-item-remove"),onMouseDown:Ce,onClick:Ie,customizeIcon:dt},"\xD7"))});return w.createElement(w.Fragment,null,Pt,w.createElement("span",{className:"".concat(te,"-selection-search"),style:{width:le}},w.createElement(i,{ref:Qe,open:we,prefixCls:te,id:he,inputElement:null,disabled:yt,autoFocus:gt,autoComplete:it,editable:je,accessibilityIndex:qe,value:_e,onKeyDown:Ft,onMouseDown:ke,onChange:Ot,onPaste:Tt,onCompositionStart:Vt,onCompositionEnd:bt,tabIndex:At,attrs:Object(s.a)(J,!0)}),w.createElement("span",{ref:Ze,className:"".concat(te,"-selection-search-mirror"),"aria-hidden":!0},_e,"\xA0")),!pe.length&&!_e&&w.createElement("span",{className:"".concat(te,"-selection-placeholder")},$e))},S=C,E=function(J){var he=J.inputElement,te=J.prefixCls,pe=J.id,we=J.inputRef,be=J.disabled,Qe=J.autoFocus,$e=J.autoComplete,yt=J.accessibilityIndex,Fe=J.mode,Pe=J.open,gt=J.values,it=J.placeholder,qe=J.tabIndex,At=J.showSearch,dt=J.searchValue,wt=J.activeValue,Ye=J.onInputKeyDown,mt=J.onInputMouseDown,Ue=J.onInputChange,Re=J.onInputPaste,Le=J.onInputCompositionStart,at=J.onInputCompositionEnd,Ot=w.useState(!1),Tt=Object(m.a)(Ot,2),Ft=Tt[0],ke=Tt[1],Vt=Fe==="combobox",bt=Vt||At&&Pe,Rt=gt[0],Nt=dt||"";Vt&&wt&&!Ft&&(Nt=wt),w.useEffect(function(){Vt&&ke(!1)},[Vt,wt]);var xt=Fe!=="combobox"&&!Pe?!1:!!Nt,Ut=Rt&&(typeof Rt.label=="string"||typeof Rt.label=="number")?Rt.label.toString():void 0;return w.createElement(w.Fragment,null,w.createElement("span",{className:"".concat(te,"-selection-search")},w.createElement(i,{ref:we,prefixCls:te,id:pe,open:Pe,inputElement:he,disabled:be,autoFocus:Qe,autoComplete:$e,editable:bt,accessibilityIndex:yt,value:Nt,onKeyDown:Ye,onMouseDown:mt,onChange:function(ze){ke(!0),Ue(ze)},onPaste:Re,onCompositionStart:Le,onCompositionEnd:at,tabIndex:qe,attrs:Object(s.a)(J,!0)})),!Vt&&Rt&&!xt&&w.createElement("span",{className:"".concat(te,"-selection-item"),title:Ut},Rt.label),!Rt&&!xt&&w.createElement("span",{className:"".concat(te,"-selection-placeholder")},it))},O=E;function T(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,J=w.useRef(null),he=w.useRef(null);w.useEffect(function(){return function(){window.clearTimeout(he.current)}},[]);function te(pe){(pe||J.current===null)&&(J.current=pe),window.clearTimeout(he.current),he.current=window.setTimeout(function(){J.current=null},G)}return[function(){return J.current},te]}var b=function(J,he){var te=Object(w.useRef)(null),pe=Object(w.useRef)(!1),we=J.prefixCls,be=J.multiple,Qe=J.open,$e=J.mode,yt=J.showSearch,Fe=J.tokenWithEnter,Pe=J.onSearch,gt=J.onSearchSubmit,it=J.onToggleOpen,qe=J.onInputKeyDown,At=J.domRef;w.useImperativeHandle(he,function(){return{focus:function(){te.current.focus()},blur:function(){te.current.blur()}}});var dt=T(0),wt=Object(m.a)(dt,2),Ye=wt[0],mt=wt[1],Ue=function(xt){var Ut=xt.which;(Ut===f.a.UP||Ut===f.a.DOWN)&&xt.preventDefault(),qe&&qe(xt),Ut===f.a.ENTER&&$e==="tags"&&!pe.current&&!Qe&>(xt.target.value),[f.a.SHIFT,f.a.TAB,f.a.BACKSPACE,f.a.ESC].includes(Ut)||it(!0)},Re=function(){mt(!0)},Le=Object(w.useRef)(null),at=function(xt){Pe(xt,!0,pe.current)!==!1&&it(!0)},Ot=function(){pe.current=!0},Tt=function(){pe.current=!1},Ft=function(xt){var Ut=xt.target.value;if(Fe&&Le.current&&/[\r\n]/.test(Le.current)){var Ze=Le.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ut=Ut.replace(Ze,Le.current)}Le.current=null,at(Ut)},ke=function(xt){var Ut=xt.clipboardData,Ze=Ut.getData("text");Le.current=Ze},Vt=function(xt){var Ut=Ye();if(xt.target!==te.current){Ut||xt.preventDefault();var Ze=document.body.style.msTouchAction!==void 0;Ze?setTimeout(function(){te.current.focus()}):te.current.focus()}($e!=="combobox"&&(!yt||!Ut)||!Qe)&&(Qe&&Pe("",!0,!1),it())},bt={inputRef:te,onInputKeyDown:Ue,onInputMouseDown:Re,onInputChange:Ft,onInputPaste:ke,onInputCompositionStart:Ot,onInputCompositionEnd:Tt},Rt=be?w.createElement(S,Object.assign({},J,bt)):w.createElement(O,Object.assign({},J,bt));return w.createElement("div",{ref:At,className:"".concat(we,"-selector"),onMouseDown:Vt},Rt)},x=w.forwardRef(b);x.displayName="Selector";var N=x,D=e("J04M"),M=function(J){var he=typeof J!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:he,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:he,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:he,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:he,adjustY:1}}}},R=function(J,he){var te=J.prefixCls,pe=J.disabled,we=J.visible,be=J.children,Qe=J.popupElement,$e=J.containerWidth,yt=J.animation,Fe=J.transitionName,Pe=J.dropdownStyle,gt=J.dropdownClassName,it=J.direction,qe=it===void 0?"ltr":it,At=J.dropdownMatchSelectWidth,dt=At===void 0?!0:At,wt=J.dropdownRender,Ye=J.dropdownAlign,mt=J.getPopupContainer,Ue=J.empty,Re=J.getTriggerDOMNode,Le=Object(y.a)(J,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),at="".concat(te,"-dropdown"),Ot=Qe;wt&&(Ot=wt(Qe));var Tt=w.useMemo(function(){return M(dt)},[dt]),Ft=yt?"".concat(at,"-").concat(yt):Fe,ke=w.useRef(null);w.useImperativeHandle(he,function(){return{getPopupElement:function(){return ke.current}}});var Vt=Object(L.a)({minWidth:$e},Pe);return typeof dt=="number"?Vt.width=dt:dt&&(Vt.width=$e),w.createElement(D.a,Object.assign({},Le,{showAction:[],hideAction:[],popupPlacement:qe==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:Tt,prefixCls:at,popupTransitionName:Ft,popup:w.createElement("div",{ref:ke},Ot),popupAlign:Ye,popupVisible:we,getPopupContainer:mt,popupClassName:t()(gt,Object(d.a)({},"".concat(at,"-empty"),Ue)),popupStyle:Vt,getTriggerDOMNode:Re}),be)},F=w.forwardRef(R);F.displayName="SelectTrigger";var B=F,z=e("akD0");function U(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,J=w.useState(!1),he=Object(m.a)(J,2),te=he[0],pe=he[1],we=w.useRef(null),be=function(){window.clearTimeout(we.current)};w.useEffect(function(){return be},[]);var Qe=function(yt,Fe){be(),we.current=window.setTimeout(function(){pe(yt),Fe&&Fe()},G)};return[te,Qe,be]}var K=e("wYQQ");function W(G,J,he){var te=w.useRef(null);te.current={elements:G.filter(function(pe){return pe}),open:J,triggerOpen:he},w.useEffect(function(){function pe(we){var be=we.target;te.current.open&&te.current.elements.every(function(Qe){return!Qe.contains(be)&&Qe!==be})&&te.current.triggerOpen(!1)}return window.addEventListener("mousedown",pe),function(){return window.removeEventListener("mousedown",pe)}},[])}function H(G){var J=w.useRef(G),he=w.useMemo(function(){var te=new Map;J.current.forEach(function(we){var be=we.value,Qe=we.label;be!==Qe&&te.set(be,Qe)});var pe=G.map(function(we){var be=te.get(we.value);return we.value===we.label&&be?Object(L.a)(Object(L.a)({},we),{},{label:be}):we});return J.current=pe,pe},[G]);return he}function Y(G,J){var he=w.useRef(null),te=w.useMemo(function(){var we=new Map;return J.forEach(function(be){var Qe=be.data.value;we.set(Qe,be)}),we},[G,J]);he.current=te;var pe=function(be){return be.map(function(Qe){return he.current.get(Qe)}).filter(Boolean)};return pe}var Q=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function P(G){var J=G.prefixCls,he=G.components.optionList,te=G.convertChildrenToData,pe=G.flattenOptions,we=G.getLabeledValue,be=G.filterOptions,Qe=G.isValueDisabled,$e=G.findValueOption,yt=G.warningProps,Fe=G.fillOptionsWithMissingValue,Pe=G.omitDOMProps;function gt(qe,At){var dt,wt=qe.prefixCls,Ye=wt===void 0?J:wt,mt=qe.className,Ue=qe.id,Re=qe.open,Le=qe.defaultOpen,at=qe.options,Ot=qe.children,Tt=qe.mode,Ft=qe.value,ke=qe.defaultValue,Vt=qe.labelInValue,bt=qe.showSearch,Rt=qe.inputValue,Nt=qe.searchValue,xt=qe.filterOption,Ut=qe.optionFilterProp,Ze=Ut===void 0?"value":Ut,ze=qe.autoClearSearchValue,re=ze===void 0?!0:ze,le=qe.onSearch,Xe=qe.allowClear,_e=qe.clearIcon,je=qe.showArrow,ar=qe.inputIcon,zt=qe.menuItemSelectedIcon,Pt=qe.disabled,qt=qe.loading,or=qe.defaultActiveFirstOption,Kt=qe.notFoundContent,Mt=Kt===void 0?"Not Found":Kt,me=qe.optionLabelProp,ce=qe.backfill,ae=qe.getInputElement,de=qe.getPopupContainer,Se=qe.listHeight,Ce=Se===void 0?200:Se,Ie=qe.listItemHeight,Te=Ie===void 0?20:Ie,Ee=qe.animation,He=qe.transitionName,st=qe.virtual,vt=qe.dropdownStyle,ee=qe.dropdownClassName,oe=qe.dropdownMatchSelectWidth,k=qe.dropdownRender,$=qe.dropdownAlign,se=qe.showAction,ge=se===void 0?[]:se,Ae=qe.direction,Me=qe.tokenSeparators,et=qe.tagRender,Wt=qe.onPopupScroll,er=qe.onDropdownVisibleChange,Ct=qe.onFocus,Ht=qe.onBlur,kt=qe.onKeyUp,Zt=qe.onKeyDown,Et=qe.onMouseDown,ur=qe.onChange,rr=qe.onSelect,Ke=qe.onDeselect,nt=qe.onClear,Ge=qe.internalProps,ct=Ge===void 0?{}:Ge,ht=Object(y.a)(qe,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),ut=ct.mark===z.a,We=Pe?Pe(ht):ht;Q.forEach(function(In){delete We[In]});var tt=Object(w.useRef)(null),ft=Object(w.useRef)(null),Yt=Object(w.useRef)(null),Dt=Object(w.useRef)(null),vr=Object(w.useMemo)(function(){return(Me||[]).some(function(In){return[`
|
||
`,`\r
|
||
`].includes(In)})},[Me]),yr=U(),Dr=Object(m.a)(yr,3),Rr=Dr[0],Jr=Dr[1],$r=Dr[2],xr=Object(w.useState)(),Vr=Object(m.a)(xr,2),Or=Vr[0],nr=Vr[1];Object(w.useEffect)(function(){nr("rc_select_".concat(Object(h.a)()))},[]);var pr=Ue||Or,dr=me;dr===void 0&&(dr=at?"label":"children");var fr=Tt==="combobox"?!1:Vt,_r=Tt==="tags"||Tt==="multiple",Zr=bt!==void 0?bt:_r||Tt==="combobox",on=Object(w.useRef)(null);w.useImperativeHandle(At,function(){return{focus:Yt.current.focus,blur:Yt.current.blur}});var jn=Object(o.a)(ke,{value:Ft}),Ur=Object(m.a)(jn,2),En=Ur[0],pn=Ur[1],On=Object(w.useMemo)(function(){return Object(h.e)(En,{labelInValue:fr,combobox:Tt==="combobox"})},[En,fr]),Vn=Object(w.useMemo)(function(){return new Set(On)},[On]),Nn=Object(w.useState)(null),ui=Object(m.a)(Nn,2),Xn=ui[0],mn=ui[1],cn=Object(w.useState)(""),da=Object(m.a)(cn,2),Ta=da[0],ia=da[1],fi=Ta;Tt==="combobox"&&En!==void 0?fi=En:Nt!==void 0?fi=Nt:Rt&&(fi=Rt);var ki=Object(w.useMemo)(function(){var In=at;return In===void 0&&(In=te(Ot)),Tt==="tags"&&Fe&&(In=Fe(In,En,dr,Vt)),In||[]},[at,Ot,Tt,En]),Qn=Object(w.useMemo)(function(){return pe(ki,qe)},[ki]),ea=Y(On,Qn),An=Object(w.useMemo)(function(){if(!fi||!Zr)return Object(v.a)(ki);var In=be(fi,ki,{optionFilterProp:Ze,filterOption:Tt==="combobox"&&xt===void 0?function(){return!0}:xt});return Tt==="tags"&&In.every(function(fn){return fn[Ze]!==fi})&&In.unshift({value:fi,label:fi,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),In},[ki,fi,Tt,Zr]),wn=Object(w.useMemo)(function(){return pe(An,qe)},[An]);Object(w.useEffect)(function(){Dt.current&&Dt.current.scrollTo&&Dt.current.scrollTo(0)},[fi]);var Ln=Object(w.useMemo)(function(){var In=On.map(function(fn){var Tn=ea([fn]),Yn=we(fn,{options:Tn,prevValue:En,labelInValue:fr,optionLabelProp:dr});return Object(L.a)(Object(L.a)({},Yn),{},{disabled:Qe(fn,Tn)})});return!Tt&&In.length===1&&In[0].value===null&&In[0].label===null?[]:In},[En,ki,Tt]);Ln=H(Ln);var Un=function(fn,Tn,Yn){var Gn=ea([fn]),Hn=$e([fn],Gn)[0];if(!ct.skipTriggerSelect){var zi=fr?we(fn,{options:Gn,prevValue:En,labelInValue:fr,optionLabelProp:dr}):fn;Tn&&rr?rr(zi,Hn):!Tn&&Ke&&Ke(zi,Hn)}ut&&(Tn&&ct.onRawSelect?ct.onRawSelect(fn,Hn,Yn):!Tn&&ct.onRawDeselect&&ct.onRawDeselect(fn,Hn,Yn))},kn=Object(w.useState)([]),ti=Object(m.a)(kn,2),di=ti[0],Na=ti[1],Gi=function(fn){if(ut&&ct.skipTriggerChange)return;var Tn=ea(fn),Yn=Object(h.f)(Array.from(fn),{labelInValue:fr,options:Tn,getLabeledValue:we,prevValue:En,optionLabelProp:dr}),Gn=_r?Yn:Yn[0];if(ur&&(On.length!==0||Yn.length!==0)){var Hn=$e(fn,Tn,{prevValueOptions:di});Na(Hn.map(function(zi,Oi){var Di=Object(L.a)({},zi);return Object.defineProperty(Di,"_INTERNAL_OPTION_VALUE_",{get:function(){return fn[Oi]}}),Di})),ur(Gn,_r?Hn:Hn[0])}pn(Gn)},ba=function(fn,Tn){var Yn=Tn.selected,Gn=Tn.source;if(Pt)return;var Hn;_r?(Hn=new Set(On),Yn?Hn.add(fn):Hn.delete(fn)):(Hn=new Set,Hn.add(fn)),(_r||!_r&&Array.from(On)[0]!==fn)&&Gi(Array.from(Hn)),Un(fn,!_r||Yn,Gn),Tt==="combobox"?(ia(String(fn)),mn("")):(!_r||re)&&(ia(""),mn(""))},Pa=function(fn,Tn){ba(fn,Object(L.a)(Object(L.a)({},Tn),{},{source:"option"}))},Ga=function(fn,Tn){ba(fn,Object(L.a)(Object(L.a)({},Tn),{},{source:"selection"}))},Qi=Tt==="combobox"&&ae&&ae()||null,Lo=Object(o.a)(void 0,{defaultValue:Le,value:Re}),sa=Object(m.a)(Lo,2),ji=sa[0],wa=sa[1],ga=ji,po=!Mt&&!An.length;(Pt||po&&ga&&Tt==="combobox")&&(ga=!1);var Bn=po?!1:ga,ta=function(fn){var Tn=fn!==void 0?fn:!ga;ji!==Tn&&!Pt&&(wa(Tn),er&&er(Tn))};W([tt.current,ft.current&&ft.current.getPopupElement()],Bn,ta);var So=function(fn,Tn,Yn){var Gn=!0,Hn=fn;mn(null);var zi=Yn?null:Object(K.f)(fn,Me),Oi=zi;if(Tt==="combobox")Tn&&Gi([Hn]);else if(zi){Hn="",Tt!=="tags"&&(Oi=zi.map(function(wi){var Pn=Qn.find(function(Ei){var va=Ei.data;return va[dr]===wi});return Pn?Pn.data.value:null}).filter(function(wi){return wi!==null}));var Di=Array.from(new Set([].concat(Object(v.a)(On),Object(v.a)(Oi))));Gi(Di),Di.forEach(function(wi){Un(wi,!0,"input")}),ta(!1),Gn=!1}return ia(Hn),le&&fi!==Hn&&le(Hn),Gn},To=function(fn){var Tn=Array.from(new Set([].concat(Object(v.a)(On),[fn])));Gi(Tn),Tn.forEach(function(Yn){Un(Yn,!0,"input")}),ia("")};Object(w.useEffect)(function(){ji&&!!Pt&&wa(!1)},[Pt]),Object(w.useEffect)(function(){!ga&&!_r&&Tt!=="combobox"&&So("",!1,!1)},[ga]);var Ha=T(),eo=Object(m.a)(Ha,2),Hi=eo[0],$t=eo[1],Tr=function(fn){var Tn=Hi(),Yn=fn.which;if(!ga&&Yn===f.a.ENTER&&ta(!0),$t(!!fi),Yn===f.a.BACKSPACE&&!Tn&&_r&&!fi&&On.length){var Gn=Object(h.c)(Ln,On);Gn.removedValue!==null&&(Gi(Gn.values),Un(Gn.removedValue,!1,"input"))}for(var Hn=arguments.length,zi=new Array(Hn>1?Hn-1:0),Oi=1;Oi<Hn;Oi++)zi[Oi-1]=arguments[Oi];if(ga&&Dt.current){var Di;(Di=Dt.current).onKeyDown.apply(Di,[fn].concat(zi))}Zt&&Zt.apply(void 0,[fn].concat(zi))},Kr=function(fn){for(var Tn=arguments.length,Yn=new Array(Tn>1?Tn-1:0),Gn=1;Gn<Tn;Gn++)Yn[Gn-1]=arguments[Gn];if(ga&&Dt.current){var Hn;(Hn=Dt.current).onKeyUp.apply(Hn,[fn].concat(Yn))}kt&&kt.apply(void 0,[fn].concat(Yn))},Ne=Object(w.useRef)(!1),Lt=function(){Jr(!0),Pt||(Ct&&!Ne.current&&Ct.apply(void 0,arguments),ge.includes("focus")&&ta(!0)),Ne.current=!0},Xt=function(){if(Jr(!1,function(){Ne.current=!1,ta(!1)}),Pt)return;fi&&(Tt==="tags"?(So("",!1,!1),Gi(Array.from(new Set([].concat(Object(v.a)(On),[fi]))))):Tt==="multiple"&&ia("")),Ht&&Ht.apply(void 0,arguments)},ir=[];Object(w.useEffect)(function(){return function(){ir.forEach(function(In){return clearTimeout(In)}),ir.splice(0,ir.length)}},[]);var Sr=function(fn){var Tn=fn.target,Yn=ft.current&&ft.current.getPopupElement();if(Yn&&Yn.contains(Tn)){var Gn=setTimeout(function(){var Di=ir.indexOf(Gn);Di!==-1&&ir.splice(Di,1),$r(),Yn.contains(document.activeElement)||Yt.current.focus()});ir.push(Gn)}if(Et){for(var Hn=arguments.length,zi=new Array(Hn>1?Hn-1:0),Oi=1;Oi<Hn;Oi++)zi[Oi-1]=arguments[Oi];Et.apply(void 0,[fn].concat(zi))}},gr=Object(w.useState)(0),Mr=Object(m.a)(gr,2),Hr=Mr[0],kr=Mr[1],Yr=or!==void 0?or:Tt!=="combobox",en=function(fn,Tn){kr(Tn),ce&&Tt==="combobox"&&fn!==null&&mn(String(fn))},lt=Object(w.useState)(null),Qt=Object(m.a)(lt,2),lr=Qt[0],mr=Qt[1],Er=Object(w.useState)({}),Br=Object(m.a)(Er,2),rn=Br[1];function dn(){rn({})}p(function(){if(Bn){var In=Math.ceil(tt.current.offsetWidth);lr!==In&&mr(In)}},[Bn]);var yn=w.createElement(he,{ref:Dt,prefixCls:Ye,id:pr,open:ga,childrenAsData:!at,options:An,flattenOptions:wn,multiple:_r,values:Vn,height:Ce,itemHeight:Te,onSelect:Pa,onToggleOpen:ta,onActiveValue:en,defaultActiveFirstOption:Yr,notFoundContent:Mt,onScroll:Wt,searchValue:fi,menuItemSelectedIcon:zt,virtual:st!==!1&&oe!==!1,onMouseEnter:dn}),Dn,gn=function(){ut&&ct.onClear&&ct.onClear(),nt&&nt(),Gi([]),So("",!1,!1)};!Pt&&Xe&&(On.length||fi)&&(Dn=w.createElement(n.a,{className:"".concat(Ye,"-clear"),onMouseDown:gn,customizeIcon:_e},"\xD7"));var Sn=je!==void 0?je:qt||!_r&&Tt!=="combobox",_n;Sn&&(_n=w.createElement(n.a,{className:t()("".concat(Ye,"-arrow"),Object(d.a)({},"".concat(Ye,"-arrow-loading"),qt)),customizeIcon:ar,customizeIconProps:{loading:qt,searchValue:fi,open:ga,focused:Rr,showSearch:Zr}}));var Cn=t()(Ye,mt,(dt={},Object(d.a)(dt,"".concat(Ye,"-focused"),Rr),Object(d.a)(dt,"".concat(Ye,"-multiple"),_r),Object(d.a)(dt,"".concat(Ye,"-single"),!_r),Object(d.a)(dt,"".concat(Ye,"-allow-clear"),Xe),Object(d.a)(dt,"".concat(Ye,"-show-arrow"),Sn),Object(d.a)(dt,"".concat(Ye,"-disabled"),Pt),Object(d.a)(dt,"".concat(Ye,"-loading"),qt),Object(d.a)(dt,"".concat(Ye,"-open"),ga),Object(d.a)(dt,"".concat(Ye,"-customize-input"),Qi),Object(d.a)(dt,"".concat(Ye,"-show-search"),Zr),dt));return w.createElement("div",Object.assign({className:Cn},We,{ref:tt,onMouseDown:Sr,onKeyDown:Tr,onKeyUp:Kr,onFocus:Lt,onBlur:Xt}),Rr&&!ga&&w.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(On.join(", "))),w.createElement(B,{ref:ft,disabled:Pt,prefixCls:Ye,visible:Bn,popupElement:yn,containerWidth:lr,animation:Ee,transitionName:He,dropdownStyle:vt,dropdownClassName:ee,direction:Ae,dropdownMatchSelectWidth:oe,dropdownRender:k,dropdownAlign:$,getPopupContainer:de,empty:!ki.length,getTriggerDOMNode:function(){return on.current}},w.createElement(N,Object.assign({},qe,{domRef:on,prefixCls:Ye,inputElement:Qi,ref:Yt,id:pr,showSearch:Zr,mode:Tt,accessibilityIndex:Hr,multiple:_r,tagRender:et,values:Ln,open:ga,onToggleOpen:ta,searchValue:fi,activeValue:Xn,onSearch:So,onSearchSubmit:To,onSelect:Ga,tokenWithEnter:vr}))),_n,Dn)}var it=w.forwardRef(gt);return it}},ZtBV:function(Z,_,e){var d=e("oEo5");function L(m){m!=null&&d.extend(this,m),this.otherDims={}}var v=L;Z.exports=v},ZuYS:function(Z,_,e){var d=e("hbMb"),L=e("trXQ"),v=d(L,"Promise");Z.exports=v},ZyKJ:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("9OCn"),m=v.layout,y=v.largeLayout;e("aXVC"),e("xNMw"),e("MHV4"),e("Kuav"),d.registerLayout(d.PRIORITY.VISUAL.LAYOUT,L.curry(m,"bar")),d.registerLayout(d.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,y),d.registerVisual({seriesType:"bar",reset:function(w){w.getData().setVisual("legendSymbol","roundRect")}})},"a+hL":function(Z,_,e){var d=e("iFIB"),L=e("lAvS"),v=e("kHJI");function m(y){return v(y)?d(y):L(y)}Z.exports=m},"a/1m":function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("ZZRV"),w=e("GZha"),f=e("buSX"),a=e("zjzt"),t=e("iczh"),o=e.n(t),s=e("7AgF"),l=e("O9LN"),n=e("V0hb"),c=e("RfwO"),r=e.n(c),u=e("JS14");function i(bt){var Rt=Object(y.useRef)(),Nt=Object(y.useRef)(!1);function xt(){for(var Ut=arguments.length,Ze=new Array(Ut),ze=0;ze<Ut;ze++)Ze[ze]=arguments[ze];Nt.current||(r.a.cancel(Rt.current),Rt.current=r()(function(){bt.apply(void 0,Ze)}))}return Object(y.useEffect)(function(){return function(){Nt.current=!0,r.a.cancel(Rt.current)}},[]),xt}function h(bt){var Rt=Object(y.useRef)([]),Nt=Object(y.useState)({}),xt=Object(w.a)(Nt,2),Ut=xt[1],Ze=Object(y.useRef)(typeof bt=="function"?bt():bt),ze=i(function(){var le=Ze.current;Rt.current.forEach(function(Xe){le=Xe(le)}),Rt.current=[],Ze.current=le,Ut({})});function re(le){Rt.current.push(le),ze()}return[Ze.current,re]}var p=e("ggzp");function A(bt,Rt){var Nt,xt=bt.prefixCls,Ut=bt.id,Ze=bt.active,ze=bt.rtl,re=bt.tab,le=re.key,Xe=re.tab,_e=re.disabled,je=re.closeIcon,ar=bt.tabBarGutter,zt=bt.tabPosition,Pt=bt.closable,qt=bt.renderWrapper,or=bt.removeAriaLabel,Kt=bt.editable,Mt=bt.onClick,me=bt.onRemove,ce=bt.onFocus,ae="".concat(xt,"-tab");y.useEffect(function(){return me},[]);var de={};zt==="top"||zt==="bottom"?de[ze?"marginLeft":"marginRight"]=ar:de.marginBottom=ar;var Se=Kt&&Pt!==!1&&!_e;function Ce(Ee){if(_e)return;Mt(Ee)}function Ie(Ee){Ee.preventDefault(),Ee.stopPropagation(),Kt.onEdit("remove",{key:le,event:Ee})}var Te=y.createElement("div",{key:le,ref:Rt,className:o()(ae,(Nt={},Object(a.a)(Nt,"".concat(ae,"-with-remove"),Se),Object(a.a)(Nt,"".concat(ae,"-active"),Ze),Object(a.a)(Nt,"".concat(ae,"-disabled"),_e),Nt)),style:de,onClick:Ce},y.createElement("div",{role:"tab","aria-selected":Ze,id:Ut&&"".concat(Ut,"-tab-").concat(le),className:"".concat(ae,"-btn"),"aria-controls":Ut&&"".concat(Ut,"-panel-").concat(le),"aria-disabled":_e,tabIndex:_e?null:0,onClick:function(He){He.stopPropagation(),Ce(He)},onKeyDown:function(He){[p.a.SPACE,p.a.ENTER].includes(He.which)&&(He.preventDefault(),Ce(He))},onFocus:ce},Xe),Se&&y.createElement("button",{type:"button","aria-label":or||"remove",tabIndex:0,className:"".concat(ae,"-remove"),onClick:function(He){He.stopPropagation(),Ie(He)}},je||Kt.removeIcon||"\xD7"));return qt&&(Te=qt(Te)),Te}var C=y.forwardRef(A);function S(bt,Rt){var Nt=Object.keys(bt);if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(bt);Rt&&(xt=xt.filter(function(Ut){return Object.getOwnPropertyDescriptor(bt,Ut).enumerable})),Nt.push.apply(Nt,xt)}return Nt}function E(bt){for(var Rt=1;Rt<arguments.length;Rt++){var Nt=arguments[Rt]!=null?arguments[Rt]:{};Rt%2?S(Object(Nt),!0).forEach(function(xt){Object(a.a)(bt,xt,Nt[xt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(bt,Object.getOwnPropertyDescriptors(Nt)):S(Object(Nt)).forEach(function(xt){Object.defineProperty(bt,xt,Object.getOwnPropertyDescriptor(Nt,xt))})}return bt}var O={width:0,height:0,left:0,top:0};function T(bt,Rt,Nt){return Object(y.useMemo)(function(){for(var xt,Ut=new Map,Ze=Rt.get((xt=bt[0])===null||xt===void 0?void 0:xt.key)||O,ze=Ze.left+Ze.width,re=0;re<bt.length;re+=1){var le=bt[re].key,Xe=Rt.get(le);if(!Xe){var _e;Xe=Rt.get((_e=bt[re-1])===null||_e===void 0?void 0:_e.key)||O}var je=Ut.get(le)||E({},Xe);je.right=ze-je.left-je.width,Ut.set(le,je)}return Ut},[bt.map(function(xt){return xt.key}).join("_"),Rt,Nt])}var b={width:0,height:0,left:0,top:0,right:0};function x(bt,Rt,Nt,xt,Ut){var Ze=Ut.tabs,ze=Ut.tabPosition,re=Ut.rtl,le,Xe,_e;["top","bottom"].includes(ze)?(le="width",Xe=re?"right":"left",_e=Math.abs(Rt.left)):(le="height",Xe="top",_e=-Rt.top);var je=Rt[le],ar=Nt[le],zt=xt[le],Pt=je;return ar+zt>je&&(Pt=je-zt),Object(y.useMemo)(function(){if(!Ze.length)return[0,0];for(var qt=Ze.length,or=qt,Kt=0;Kt<qt;Kt+=1){var Mt=bt.get(Ze[Kt].key)||b;if(Mt[Xe]+Mt[le]>_e+Pt){or=Kt-1;break}}for(var me=0,ce=qt-1;ce>=0;ce-=1){var ae=bt.get(Ze[ce].key)||b;if(ae[Xe]<_e){me=ce+1;break}}return[me,or]},[bt,_e,Pt,ze,Ze.map(function(qt){return qt.key}).join("_"),re])}var N=e("HOv7"),D=e("fKHt");function M(bt,Rt){var Nt=bt.prefixCls,xt=bt.editable,Ut=bt.locale,Ze=bt.style;return!xt||xt.showAdd===!1?null:y.createElement("button",{ref:Rt,type:"button",className:"".concat(Nt,"-nav-add"),style:Ze,"aria-label":(Ut==null?void 0:Ut.addAriaLabel)||"Add tab",onClick:function(re){xt.onEdit("add",{event:re})}},xt.addIcon||"+")}var R=y.forwardRef(M);function F(bt,Rt){var Nt=bt.prefixCls,xt=bt.id,Ut=bt.tabs,Ze=bt.locale,ze=bt.mobile,re=bt.moreIcon,le=re===void 0?"More":re,Xe=bt.moreTransitionName,_e=bt.style,je=bt.className,ar=bt.editable,zt=bt.tabBarGutter,Pt=bt.rtl,qt=bt.onTabClick,or=Object(y.useState)(!1),Kt=Object(w.a)(or,2),Mt=Kt[0],me=Kt[1],ce=Object(y.useState)(null),ae=Object(w.a)(ce,2),de=ae[0],Se=ae[1],Ce="".concat(xt,"-more-popup"),Ie="".concat(Nt,"-dropdown"),Te=de!==null?"".concat(Ce,"-").concat(de):null,Ee=Ze==null?void 0:Ze.dropdownAriaLabel,He=y.createElement(N.f,{onClick:function(se){var ge=se.key,Ae=se.domEvent;qt(ge,Ae),me(!1)},id:Ce,tabIndex:-1,role:"listbox","aria-activedescendant":Te,selectedKeys:[de],"aria-label":Ee!==void 0?Ee:"expanded dropdown"},Ut.map(function($){return y.createElement(N.d,{key:$.key,id:"".concat(Ce,"-").concat($.key),role:"option","aria-controls":xt&&"".concat(xt,"-panel-").concat($.key),disabled:$.disabled},$.tab)}));function st($){for(var se=Ut.filter(function(Wt){return!Wt.disabled}),ge=se.findIndex(function(Wt){return Wt.key===de})||0,Ae=se.length,Me=0;Me<Ae;Me+=1){ge=(ge+$+Ae)%Ae;var et=se[ge];if(!et.disabled){Se(et.key);return}}}function vt($){var se=$.which;if(!Mt){[p.a.DOWN,p.a.SPACE,p.a.ENTER].includes(se)&&(me(!0),$.preventDefault());return}switch(se){case p.a.UP:st(-1),$.preventDefault();break;case p.a.DOWN:st(1),$.preventDefault();break;case p.a.ESC:me(!1);break;case p.a.SPACE:case p.a.ENTER:de!==null&&qt(de,$);break}}Object(y.useEffect)(function(){var $=document.getElementById(Te);$&&$.scrollIntoView&&$.scrollIntoView(!1)},[de]),Object(y.useEffect)(function(){Mt||Se(null)},[Mt]);var ee=Object(a.a)({},Pt?"marginLeft":"marginRight",zt);Ut.length||(ee.visibility="hidden",ee.order=1);var oe=o()(Object(a.a)({},"".concat(Ie,"-rtl"),Pt)),k=ze?null:y.createElement(D.a,{prefixCls:Ie,overlay:He,trigger:["hover"],visible:Mt,transitionName:Xe,onVisibleChange:me,overlayClassName:oe},y.createElement("button",{type:"button",className:"".concat(Nt,"-nav-more"),style:ee,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Ce,id:"".concat(xt,"-more"),"aria-expanded":Mt,onKeyDown:vt},le));return y.createElement("div",{className:o()("".concat(Nt,"-nav-operations"),je),style:_e,ref:Rt},k,y.createElement(R,{prefixCls:Nt,locale:Ze,editable:ar}))}var B=y.forwardRef(F),z=Object(y.createContext)(null),U=.1,K=.01,W=20,H=Math.pow(.995,W);function Y(){var bt=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(bt)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(bt.substr(0,4)))}function Q(bt,Rt){var Nt=Object(y.useState)(),xt=Object(w.a)(Nt,2),Ut=xt[0],Ze=xt[1],ze=Object(y.useState)(0),re=Object(w.a)(ze,2),le=re[0],Xe=re[1],_e=Object(y.useState)(0),je=Object(w.a)(_e,2),ar=je[0],zt=je[1],Pt=Object(y.useState)(),qt=Object(w.a)(Pt,2),or=qt[0],Kt=qt[1],Mt=Object(y.useRef)();function me(Ee){var He=Ee.touches[0],st=He.screenX,vt=He.screenY;Ze({x:st,y:vt}),window.clearInterval(Mt.current)}function ce(Ee){if(!Ut)return;Ee.preventDefault();var He=Ee.touches[0],st=He.screenX,vt=He.screenY;Ze({x:st,y:vt});var ee=st-Ut.x,oe=vt-Ut.y;Rt(ee,oe);var k=Date.now();Xe(k),zt(k-le),Kt({x:ee,y:oe})}function ae(){if(!Ut)return;if(Ze(null),Kt(null),or){var Ee=or.x/ar,He=or.y/ar,st=Math.abs(Ee),vt=Math.abs(He);if(Math.max(st,vt)<U)return;var ee=Ee,oe=He;Mt.current=window.setInterval(function(){if(Math.abs(ee)<K&&Math.abs(oe)<K){window.clearInterval(Mt.current);return}ee*=H,oe*=H,Rt(ee*W,oe*W)},W)}}var de=Object(y.useRef)(0),Se=Object(y.useRef)(!1),Ce=Object(y.useRef)();function Ie(Ee){var He=Ee.deltaX,st=Ee.deltaY,vt=0,ee=Math.abs(He),oe=Math.abs(st);ee===oe?vt=Ce.current==="x"?He:st:ee>oe?(vt=He,Ce.current="x"):(vt=st,Ce.current="y");var k=Date.now();k-de.current>100&&(Se.current=!1),(Rt(-vt,-vt)||Se.current)&&(Ee.preventDefault(),Se.current=!0),de.current=k}var Te=Object(y.useRef)(null);Te.current={onTouchStart:me,onTouchMove:ce,onTouchEnd:ae,onWheel:Ie},y.useEffect(function(){function Ee(ee){Te.current.onTouchStart(ee)}function He(ee){Te.current.onTouchMove(ee)}function st(ee){Te.current.onTouchEnd(ee)}function vt(ee){Te.current.onWheel(ee)}return document.addEventListener("touchmove",He,{passive:!1}),document.addEventListener("touchend",st,{passive:!1}),bt.current.addEventListener("touchstart",Ee,{passive:!1}),bt.current.addEventListener("wheel",vt),function(){document.removeEventListener("touchmove",He),document.removeEventListener("touchend",st)}},[])}function P(){var bt=Object(y.useRef)(new Map);function Rt(xt){return bt.current.has(xt)||bt.current.set(xt,y.createRef()),bt.current.get(xt)}function Nt(xt){bt.current.delete(xt)}return[Rt,Nt]}function G(bt,Rt){var Nt=y.useRef(bt),xt=y.useState({}),Ut=Object(w.a)(xt,2),Ze=Ut[1];function ze(re){var le=typeof re=="function"?re(Nt.current):re;le!==Nt.current&&Rt(le,Nt.current),Nt.current=le,Ze({})}return[Nt.current,ze]}function J(bt,Rt){var Nt=Object.keys(bt);if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(bt);Rt&&(xt=xt.filter(function(Ut){return Object.getOwnPropertyDescriptor(bt,Ut).enumerable})),Nt.push.apply(Nt,xt)}return Nt}function he(bt){for(var Rt=1;Rt<arguments.length;Rt++){var Nt=arguments[Rt]!=null?arguments[Rt]:{};Rt%2?J(Object(Nt),!0).forEach(function(xt){Object(a.a)(bt,xt,Nt[xt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(bt,Object.getOwnPropertyDescriptors(Nt)):J(Object(Nt)).forEach(function(xt){Object.defineProperty(bt,xt,Object.getOwnPropertyDescriptor(Nt,xt))})}return bt}var te=function(Rt){var Nt=Rt.position,xt=Rt.prefixCls,Ut=Rt.extra;if(!Ut)return null;var Ze,ze=Ut;return Nt==="right"&&(Ze=ze.right||!ze.left&&ze||null),Nt==="left"&&(Ze=ze.left||null),Ze?y.createElement("div",{className:"".concat(xt,"-extra-content")},Ze):null};function pe(bt,Rt){var Nt,xt=y.useContext(z),Ut=xt.prefixCls,Ze=xt.tabs,ze=bt.className,re=bt.style,le=bt.id,Xe=bt.animated,_e=bt.activeKey,je=bt.rtl,ar=bt.extra,zt=bt.editable,Pt=bt.locale,qt=bt.tabPosition,or=bt.tabBarGutter,Kt=bt.children,Mt=bt.onTabClick,me=bt.onTabScroll,ce=Object(y.useRef)(),ae=Object(y.useRef)(),de=Object(y.useRef)(),Se=Object(y.useRef)(),Ce=P(),Ie=Object(w.a)(Ce,2),Te=Ie[0],Ee=Ie[1],He=qt==="top"||qt==="bottom",st=G(0,function(sa,ji){He&&me&&me({direction:sa>ji?"left":"right"})}),vt=Object(w.a)(st,2),ee=vt[0],oe=vt[1],k=G(0,function(sa,ji){!He&&me&&me({direction:sa>ji?"top":"bottom"})}),$=Object(w.a)(k,2),se=$[0],ge=$[1],Ae=Object(y.useState)(0),Me=Object(w.a)(Ae,2),et=Me[0],Wt=Me[1],er=Object(y.useState)(0),Ct=Object(w.a)(er,2),Ht=Ct[0],kt=Ct[1],Zt=Object(y.useState)(0),Et=Object(w.a)(Zt,2),ur=Et[0],rr=Et[1],Ke=Object(y.useState)(0),nt=Object(w.a)(Ke,2),Ge=nt[0],ct=nt[1],ht=Object(y.useState)(null),ut=Object(w.a)(ht,2),We=ut[0],tt=ut[1],ft=Object(y.useState)(null),Yt=Object(w.a)(ft,2),Dt=Yt[0],vr=Yt[1],yr=Object(y.useState)(0),Dr=Object(w.a)(yr,2),Rr=Dr[0],Jr=Dr[1],$r=Object(y.useState)(0),xr=Object(w.a)($r,2),Vr=xr[0],Or=xr[1],nr=h(new Map),pr=Object(w.a)(nr,2),dr=pr[0],fr=pr[1],_r=T(Ze,dr,et),Zr="".concat(Ut,"-nav-operations-hidden"),on=0,jn=0;He?je?(on=0,jn=Math.max(0,et-We)):(on=Math.min(0,We-et),jn=0):(on=Math.min(0,Dt-Ht),jn=0);function Ur(sa){return sa<on?[on,!1]:sa>jn?[jn,!1]:[sa,!0]}var En=Object(y.useRef)(),pn=Object(y.useState)(),On=Object(w.a)(pn,2),Vn=On[0],Nn=On[1];function ui(){Nn(Date.now())}function Xn(){window.clearTimeout(En.current)}Q(ce,function(sa,ji){var wa=!1;function ga(po,Bn){po(function(ta){var So=Ur(ta+Bn),To=Object(w.a)(So,2),Ha=To[0],eo=To[1];return wa=eo,Ha})}if(He){if(We>=et)return wa;ga(oe,sa)}else{if(Dt>=Ht)return wa;ga(ge,ji)}return Xn(),ui(),wa}),Object(y.useEffect)(function(){return Xn(),Vn&&(En.current=window.setTimeout(function(){Nn(0)},100)),Xn},[Vn]);function mn(){var sa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_e,ji=_r.get(sa);if(!ji)return;if(He){var wa=ee;je?ji.right<ee?wa=ji.right:ji.right+ji.width>ee+We&&(wa=ji.right+ji.width-We):ji.left<-ee?wa=-ji.left:ji.left+ji.width>-ee+We&&(wa=-(ji.left+ji.width-We)),ge(0),oe(Ur(wa)[0])}else{var ga=se;ji.top<-se?ga=-ji.top:ji.top+ji.height>-se+Dt&&(ga=-(ji.top+ji.height-Dt)),oe(0),ge(Ur(ga)[0])}}var cn=x(_r,{width:We,height:Dt,left:ee,top:se},{width:ur,height:Ge},{width:Rr,height:Vr},he(he({},bt),{},{tabs:Ze})),da=Object(w.a)(cn,2),Ta=da[0],ia=da[1],fi=Ze.map(function(sa){var ji=sa.key;return y.createElement(C,{id:le,prefixCls:Ut,key:ji,rtl:je,tab:sa,closable:sa.closable,editable:zt,active:ji===_e,tabPosition:qt,tabBarGutter:or,renderWrapper:Kt,removeAriaLabel:Pt==null?void 0:Pt.removeAriaLabel,ref:Te(ji),onClick:function(ga){Mt(ji,ga)},onRemove:function(){Ee(ji)},onFocus:function(){mn(ji),ui(),je||(ce.current.scrollLeft=0),ce.current.scrollTop=0}})}),ki=i(function(){var sa,ji,wa,ga,po,Bn,ta,So,To,Ha=((sa=ce.current)===null||sa===void 0?void 0:sa.offsetWidth)||0,eo=((ji=ce.current)===null||ji===void 0?void 0:ji.offsetHeight)||0,Hi=((wa=Se.current)===null||wa===void 0?void 0:wa.offsetWidth)||0,$t=((ga=Se.current)===null||ga===void 0?void 0:ga.offsetHeight)||0,Tr=((po=de.current)===null||po===void 0?void 0:po.offsetWidth)||0,Kr=((Bn=de.current)===null||Bn===void 0?void 0:Bn.offsetHeight)||0;tt(Ha),vr(eo),Jr(Hi),Or($t);var Ne=(((ta=ae.current)===null||ta===void 0?void 0:ta.offsetWidth)||0)-Hi,Lt=(((So=ae.current)===null||So===void 0?void 0:So.offsetHeight)||0)-$t;Wt(Ne),kt(Lt);var Xt=(To=de.current)===null||To===void 0?void 0:To.className.includes(Zr);rr(Ne-(Xt?0:Tr)),ct(Lt-(Xt?0:Kr)),fr(function(){var ir=new Map;return Ze.forEach(function(Sr){var gr=Sr.key,Mr=Te(gr).current;Mr&&ir.set(gr,{width:Mr.offsetWidth,height:Mr.offsetHeight,left:Mr.offsetLeft,top:Mr.offsetTop})}),ir})}),Qn=Ze.slice(0,Ta),ea=Ze.slice(ia+1),An=[].concat(Object(n.a)(Qn),Object(n.a)(ea)),wn=Object(y.useState)(),Ln=Object(w.a)(wn,2),Un=Ln[0],kn=Ln[1],ti=_r.get(_e),di=Object(y.useRef)();function Na(){r.a.cancel(di.current)}Object(y.useEffect)(function(){var sa={};return ti&&(He?(je?sa.right=ti.right:sa.left=ti.left,sa.width=ti.width):(sa.top=ti.top,sa.height=ti.height)),Na(),di.current=r()(function(){kn(sa)}),Na},[ti,He,je]),Object(y.useEffect)(function(){mn()},[_e,ti,_r,He]),Object(y.useEffect)(function(){ki()},[je,or,_e,Ze.map(function(sa){return sa.key}).join("_")]);var Gi=!!An.length,ba="".concat(Ut,"-nav-wrap"),Pa,Ga,Qi,Lo;return He?je?(Ga=ee>0,Pa=ee+We<et):(Pa=ee<0,Ga=-ee+We<et):(Qi=se<0,Lo=-se+Dt<Ht),y.createElement("div",{ref:Rt,role:"tablist",className:o()("".concat(Ut,"-nav"),ze),style:re,onKeyDown:function(){ui()}},y.createElement(te,{position:"left",extra:ar,prefixCls:Ut}),y.createElement(u.a,{onResize:ki},y.createElement("div",{className:o()(ba,(Nt={},Object(a.a)(Nt,"".concat(ba,"-ping-left"),Pa),Object(a.a)(Nt,"".concat(ba,"-ping-right"),Ga),Object(a.a)(Nt,"".concat(ba,"-ping-top"),Qi),Object(a.a)(Nt,"".concat(ba,"-ping-bottom"),Lo),Nt)),ref:ce},y.createElement(u.a,{onResize:ki},y.createElement("div",{ref:ae,className:"".concat(Ut,"-nav-list"),style:{transform:"translate(".concat(ee,"px, ").concat(se,"px)"),transition:Vn?"none":void 0}},fi,y.createElement(R,{ref:Se,prefixCls:Ut,locale:Pt,editable:zt,style:{visibility:Gi?"hidden":null}}),y.createElement("div",{className:o()("".concat(Ut,"-ink-bar"),Object(a.a)({},"".concat(Ut,"-ink-bar-animated"),Xe.inkBar)),style:Un}))))),y.createElement(B,Object.assign({},bt,{ref:de,prefixCls:Ut,tabs:An,className:!Gi&&Zr})),y.createElement(te,{position:"right",extra:ar,prefixCls:Ut}))}var we=y.forwardRef(pe);function be(bt){var Rt=bt.id,Nt=bt.activeKey,xt=bt.animated,Ut=bt.tabPosition,Ze=bt.rtl,ze=bt.destroyInactiveTabPane,re=y.useContext(z),le=re.prefixCls,Xe=re.tabs,_e=xt.tabPane,je=Xe.findIndex(function(ar){return ar.key===Nt});return y.createElement("div",{className:o()("".concat(le,"-content-holder"))},y.createElement("div",{className:o()("".concat(le,"-content"),"".concat(le,"-content-").concat(Ut),Object(a.a)({},"".concat(le,"-content-animated"),_e)),style:je&&_e?Object(a.a)({},Ze?"marginRight":"marginLeft","-".concat(je,"00%")):null},Xe.map(function(ar){return y.cloneElement(ar.node,{key:ar.key,prefixCls:le,tabKey:ar.key,id:Rt,animated:_e,active:ar.key===Nt,destroyInactiveTabPane:ze})})))}function Qe(bt,Rt){var Nt=Object.keys(bt);if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(bt);Rt&&(xt=xt.filter(function(Ut){return Object.getOwnPropertyDescriptor(bt,Ut).enumerable})),Nt.push.apply(Nt,xt)}return Nt}function $e(bt){for(var Rt=1;Rt<arguments.length;Rt++){var Nt=arguments[Rt]!=null?arguments[Rt]:{};Rt%2?Qe(Object(Nt),!0).forEach(function(xt){Object(a.a)(bt,xt,Nt[xt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(bt,Object.getOwnPropertyDescriptors(Nt)):Qe(Object(Nt)).forEach(function(xt){Object.defineProperty(bt,xt,Object.getOwnPropertyDescriptor(Nt,xt))})}return bt}function yt(bt){var Rt=bt.prefixCls,Nt=bt.forceRender,xt=bt.className,Ut=bt.style,Ze=bt.id,ze=bt.active,re=bt.animated,le=bt.destroyInactiveTabPane,Xe=bt.tabKey,_e=bt.children,je=y.useState(Nt),ar=Object(w.a)(je,2),zt=ar[0],Pt=ar[1];y.useEffect(function(){ze?Pt(!0):le&&Pt(!1)},[ze,le]);var qt={};return ze||(re?(qt.visibility="hidden",qt.height=0,qt.overflowY="hidden"):qt.display="none"),y.createElement("div",{id:Ze&&"".concat(Ze,"-panel-").concat(Xe),role:"tabpanel",tabIndex:ze?0:-1,"aria-labelledby":Ze&&"".concat(Ze,"-tab-").concat(Xe),"aria-hidden":!ze,style:$e($e({},qt),Ut),className:o()("".concat(Rt,"-tabpane"),ze&&"".concat(Rt,"-tabpane-active"),xt)},(ze||zt||Nt)&&_e)}function Fe(bt,Rt){var Nt=Object.keys(bt);if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(bt);Rt&&(xt=xt.filter(function(Ut){return Object.getOwnPropertyDescriptor(bt,Ut).enumerable})),Nt.push.apply(Nt,xt)}return Nt}function Pe(bt){for(var Rt=1;Rt<arguments.length;Rt++){var Nt=arguments[Rt]!=null?arguments[Rt]:{};Rt%2?Fe(Object(Nt),!0).forEach(function(xt){Object(a.a)(bt,xt,Nt[xt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(bt,Object.getOwnPropertyDescriptors(Nt)):Fe(Object(Nt)).forEach(function(xt){Object.defineProperty(bt,xt,Object.getOwnPropertyDescriptor(Nt,xt))})}return bt}var gt=0;function it(bt){return Object(s.a)(bt).map(function(Rt){if(y.isValidElement(Rt)){var Nt=Rt.key!==void 0?String(Rt.key):void 0;return Pe(Pe({key:Nt},Rt.props),{},{node:Rt})}return null}).filter(function(Rt){return Rt})}function qe(bt,Rt){var Nt,xt=bt.id,Ut=bt.prefixCls,Ze=Ut===void 0?"rc-tabs":Ut,ze=bt.className,re=bt.children,le=bt.direction,Xe=bt.activeKey,_e=bt.defaultActiveKey,je=bt.editable,ar=bt.animated,zt=bt.tabPosition,Pt=zt===void 0?"top":zt,qt=bt.tabBarGutter,or=bt.tabBarStyle,Kt=bt.tabBarExtraContent,Mt=bt.locale,me=bt.moreIcon,ce=bt.moreTransitionName,ae=bt.destroyInactiveTabPane,de=bt.renderTabBar,Se=bt.onChange,Ce=bt.onTabClick,Ie=bt.onTabScroll,Te=Object(f.a)(bt,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Ee=it(re),He=le==="rtl",st;ar===!1?st={inkBar:!1,tabPane:!1}:st=Pe({inkBar:!0,tabPane:!1},ar!==!0?ar:null);var vt=Object(y.useState)(!1),ee=Object(w.a)(vt,2),oe=ee[0],k=ee[1];Object(y.useEffect)(function(){k(Y())},[]);var $=Object(l.a)(function(){var Ge;return(Ge=Ee[0])===null||Ge===void 0?void 0:Ge.key},{value:Xe,defaultValue:_e}),se=Object(w.a)($,2),ge=se[0],Ae=se[1],Me=Object(y.useState)(function(){return Ee.findIndex(function(Ge){return Ge.key===ge})}),et=Object(w.a)(Me,2),Wt=et[0],er=et[1];Object(y.useEffect)(function(){var Ge=Ee.findIndex(function(ht){return ht.key===ge});if(Ge===-1){var ct;Ge=Math.max(0,Math.min(Wt,Ee.length-1)),Ae((ct=Ee[Ge])===null||ct===void 0?void 0:ct.key)}er(Ge)},[Ee.map(function(Ge){return Ge.key}).join("_"),ge,Wt]);var Ct=Object(l.a)(null,{value:xt}),Ht=Object(w.a)(Ct,2),kt=Ht[0],Zt=Ht[1],Et=Pt;oe&&!["left","right"].includes(Pt)&&(Et="top"),Object(y.useEffect)(function(){xt||(Zt("rc-tabs-".concat(gt)),gt+=1)},[]);function ur(Ge,ct){Ce==null||Ce(Ge,ct),Ae(Ge),Se==null||Se(Ge)}var rr={id:kt,activeKey:ge,animated:st,tabPosition:Et,rtl:He,mobile:oe},Ke,nt=Pe(Pe({},rr),{},{editable:je,locale:Mt,moreIcon:me,moreTransitionName:ce,tabBarGutter:qt,onTabClick:ur,onTabScroll:Ie,extra:Kt,style:or,panes:re});return de?Ke=de(nt,we):Ke=y.createElement(we,Object.assign({},nt)),y.createElement(z.Provider,{value:{tabs:Ee,prefixCls:Ze}},y.createElement("div",Object.assign({ref:Rt,id:xt,className:o()(Ze,"".concat(Ze,"-").concat(Et),(Nt={},Object(a.a)(Nt,"".concat(Ze,"-mobile"),oe),Object(a.a)(Nt,"".concat(Ze,"-editable"),je),Object(a.a)(Nt,"".concat(Ze,"-rtl"),He),Nt),ze)},Te),Ke,y.createElement(be,Object.assign({destroyInactiveTabPane:ae},rr,{animated:st}))))}var At=y.forwardRef(qe);At.TabPane=yt;var dt=At,wt=dt,Ye=e("TSNP"),mt=e.n(Ye),Ue=e("SL1A"),Re=e.n(Ue),Le=e("MdoL"),at=e.n(Le),Ot=e("b5WB"),Tt=e("LpVx"),Ft=function(bt,Rt){var Nt={};for(var xt in bt)Object.prototype.hasOwnProperty.call(bt,xt)&&Rt.indexOf(xt)<0&&(Nt[xt]=bt[xt]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,xt=Object.getOwnPropertySymbols(bt);Ut<xt.length;Ut++)Rt.indexOf(xt[Ut])<0&&Object.prototype.propertyIsEnumerable.call(bt,xt[Ut])&&(Nt[xt[Ut]]=bt[xt[Ut]]);return Nt};function ke(bt){var Rt,Nt=bt.type,xt=bt.className,Ut=bt.size,Ze=bt.onEdit,ze=bt.hideAdd,re=bt.centered,le=bt.addIcon,Xe=Ft(bt,["type","className","size","onEdit","hideAdd","centered","addIcon"]),_e=Xe.prefixCls,je=y.useContext(Tt.b),ar=je.getPrefixCls,zt=je.direction,Pt=ar("tabs",_e),qt;return Nt==="editable-card"&&(qt={onEdit:function(Kt,Mt){var me=Mt.key,ce=Mt.event;Ze==null||Ze(Kt==="add"?ce:me,Kt)},removeIcon:y.createElement(at.a,null),addIcon:le||y.createElement(Re.a,null),showAdd:ze!==!0}),Object(Ot.a)(!("onPrevClick"in Xe)&&!("onNextClick"in Xe),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),y.createElement(wt,L()({direction:zt},Xe,{moreTransitionName:"slide-up",className:o()(xt,(Rt={},m()(Rt,"".concat(Pt,"-").concat(Ut),Ut),m()(Rt,"".concat(Pt,"-card"),["card","editable-card"].includes(Nt)),m()(Rt,"".concat(Pt,"-editable-card"),Nt==="editable-card"),m()(Rt,"".concat(Pt,"-centered"),re),Rt)),editable:qt,moreIcon:y.createElement(mt.a,null),prefixCls:Pt}))}ke.TabPane=yt;var Vt=_.a=ke},a05J:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("RS9Z")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="DeleteOutlined";var f=v.forwardRef(w);_.default=f},a67U:function(Z,_,e){var d=e("SSBM");function L(r){r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var u=[r],i,h;i=u.pop();)if(h=i.children,i.isExpand&&h.length)for(var p=h.length,A=p-1;A>=0;A--){var C=h[A];C.hierNode={defaultAncestor:null,ancestor:C,prelim:0,modifier:0,change:0,shift:0,i:A,thread:null},u.push(C)}}function v(r,u){var i=r.isExpand?r.children:[],h=r.parentNode.children,p=r.hierNode.i?h[r.hierNode.i-1]:null;if(i.length){a(r);var A=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;p?(r.hierNode.prelim=p.hierNode.prelim+u(r,p),r.hierNode.modifier=r.hierNode.prelim-A):r.hierNode.prelim=A}else p&&(r.hierNode.prelim=p.hierNode.prelim+u(r,p));r.parentNode.hierNode.defaultAncestor=t(r,p,r.parentNode.hierNode.defaultAncestor||h[0],u)}function m(r){var u=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:u},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function y(r){return arguments.length?r:c}function w(r,u){var i={};return r-=Math.PI/2,i.x=u*Math.cos(r),i.y=u*Math.sin(r),i}function f(r,u){return d.getLayoutRect(r.getBoxLayoutParams(),{width:u.getWidth(),height:u.getHeight()})}function a(r){for(var u=r.children,i=u.length,h=0,p=0;--i>=0;){var A=u[i];A.hierNode.prelim+=h,A.hierNode.modifier+=h,p+=A.hierNode.change,h+=A.hierNode.shift+p}}function t(r,u,i,h){if(u){for(var p=r,A=r,C=A.parentNode.children[0],S=u,E=p.hierNode.modifier,O=A.hierNode.modifier,T=C.hierNode.modifier,b=S.hierNode.modifier;S=o(S),A=s(A),S&&A;){p=o(p),C=s(C),p.hierNode.ancestor=r;var x=S.hierNode.prelim+b-A.hierNode.prelim-O+h(S,A);x>0&&(n(l(S,r,i),r,x),O+=x,E+=x),b+=S.hierNode.modifier,O+=A.hierNode.modifier,E+=p.hierNode.modifier,T+=C.hierNode.modifier}S&&!o(p)&&(p.hierNode.thread=S,p.hierNode.modifier+=b-E),A&&!s(C)&&(C.hierNode.thread=A,C.hierNode.modifier+=O-T,i=r)}return i}function o(r){var u=r.children;return u.length&&r.isExpand?u[u.length-1]:r.hierNode.thread}function s(r){var u=r.children;return u.length&&r.isExpand?u[0]:r.hierNode.thread}function l(r,u,i){return r.hierNode.ancestor.parentNode===u.parentNode?r.hierNode.ancestor:i}function n(r,u,i){var h=i/(u.hierNode.i-r.hierNode.i);u.hierNode.change-=h,u.hierNode.shift+=i,u.hierNode.modifier+=i,u.hierNode.prelim+=i,r.hierNode.change+=h}function c(r,u){return r.parentNode===u.parentNode?1:2}_.init=L,_.firstWalk=v,_.secondWalk=m,_.separation=y,_.radialCoordinate=w,_.getViewRect=f},a8NE:function(Z,_,e){var d=e("zYjg"),L=d.extendShape,v=L({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(m,y){var w=y.cx,f=y.cy,a=Math.max(y.r0||0,0),t=Math.max(y.r,0),o=(t-a)*.5,s=a+o,l=y.startAngle,n=y.endAngle,c=y.clockwise,r=Math.cos(l),u=Math.sin(l),i=Math.cos(n),h=Math.sin(n),p=c?n-l<Math.PI*2:l-n<Math.PI*2;p&&(m.moveTo(r*a+w,u*a+f),m.arc(r*s+w,u*s+f,o,-Math.PI+l,l,!c)),m.arc(w,f,t,l,n,!c),m.moveTo(i*t+w,h*t+f),m.arc(i*s+w,h*s+f,o,n-Math.PI*2,n-Math.PI,!c),a!==0&&(m.arc(w,f,a,n,l,c),m.moveTo(r*a+w,h*a+f)),m.closePath()}});Z.exports=v},a8Pw:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},L=d;_.default=L},a9RO:function(Z,_,e){var d=e("342z"),L=d.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(m,y,w){w&&m.moveTo(y.cx+y.r,y.cy),m.arc(y.cx,y.cy,y.r,0,Math.PI*2,!0)}});Z.exports=L},aPdX:function(Z,_,e){(function(d){d(e("M0ff"))})(function(d){var L={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},v=d.Pos;d.defineOption("autoCloseBrackets",!1,function(r,u,i){i&&i!=d.Init&&(r.removeKeyMap(y),r.state.closeBrackets=null),u&&(w(m(u,"pairs")),r.state.closeBrackets=u,r.addKeyMap(y))});function m(r,u){return u=="pairs"&&typeof r=="string"?r:typeof r=="object"&&r[u]!=null?r[u]:L[u]}var y={Backspace:t,Enter:o};function w(r){for(var u=0;u<r.length;u++){var i=r.charAt(u),h="'"+i+"'";y[h]||(y[h]=f(i))}}w(L.pairs+"`");function f(r){return function(u){return l(u,r)}}function a(r){var u=r.state.closeBrackets;if(!u||u.override)return u;var i=r.getModeAt(r.getCursor());return i.closeBrackets||u}function t(r){var u=a(r);if(!u||r.getOption("disableInput"))return d.Pass;for(var i=m(u,"pairs"),h=r.listSelections(),p=0;p<h.length;p++){if(!h[p].empty())return d.Pass;var A=n(r,h[p].head);if(!A||i.indexOf(A)%2!=0)return d.Pass}for(var p=h.length-1;p>=0;p--){var C=h[p].head;r.replaceRange("",v(C.line,C.ch-1),v(C.line,C.ch+1),"+delete")}}function o(r){var u=a(r),i=u&&m(u,"explode");if(!i||r.getOption("disableInput"))return d.Pass;for(var h=r.listSelections(),p=0;p<h.length;p++){if(!h[p].empty())return d.Pass;var A=n(r,h[p].head);if(!A||i.indexOf(A)%2!=0)return d.Pass}r.operation(function(){var C=r.lineSeparator()||`
|
||
`;r.replaceSelection(C+C,null),r.execCommand("goCharLeft"),h=r.listSelections();for(var S=0;S<h.length;S++){var E=h[S].head.line;r.indentLine(E,null,!0),r.indentLine(E+1,null,!0)}})}function s(r){var u=d.cmpPos(r.anchor,r.head)>0;return{anchor:new v(r.anchor.line,r.anchor.ch+(u?-1:1)),head:new v(r.head.line,r.head.ch+(u?1:-1))}}function l(r,u){var i=a(r);if(!i||r.getOption("disableInput"))return d.Pass;var h=m(i,"pairs"),p=h.indexOf(u);if(p==-1)return d.Pass;for(var A=m(i,"closeBefore"),C=m(i,"triples"),S=h.charAt(p+1)==u,E=r.listSelections(),O=p%2==0,T,b=0;b<E.length;b++){var x=E[b],N=x.head,D,M=r.getRange(N,v(N.line,N.ch+1));if(O&&!x.empty())D="surround";else if((S||!O)&&M==u)S&&c(r,N)?D="both":C.indexOf(u)>=0&&r.getRange(N,v(N.line,N.ch+3))==u+u+u?D="skipThree":D="skip";else if(S&&N.ch>1&&C.indexOf(u)>=0&&r.getRange(v(N.line,N.ch-2),N)==u+u){if(N.ch>2&&/\bstring/.test(r.getTokenTypeAt(v(N.line,N.ch-2))))return d.Pass;D="addFour"}else if(S){var R=N.ch==0?" ":r.getRange(v(N.line,N.ch-1),N);if(!d.isWordChar(M)&&R!=u&&!d.isWordChar(R))D="both";else return d.Pass}else if(O&&(M.length===0||/\s/.test(M)||A.indexOf(M)>-1))D="both";else return d.Pass;if(!T)T=D;else if(T!=D)return d.Pass}var F=p%2?h.charAt(p-1):u,B=p%2?u:h.charAt(p+1);r.operation(function(){if(T=="skip")r.execCommand("goCharRight");else if(T=="skipThree")for(var z=0;z<3;z++)r.execCommand("goCharRight");else if(T=="surround"){for(var U=r.getSelections(),z=0;z<U.length;z++)U[z]=F+U[z]+B;r.replaceSelections(U,"around"),U=r.listSelections().slice();for(var z=0;z<U.length;z++)U[z]=s(U[z]);r.setSelections(U)}else T=="both"?(r.replaceSelection(F+B,null),r.triggerElectric(F+B),r.execCommand("goCharLeft")):T=="addFour"&&(r.replaceSelection(F+F+F+F,"before"),r.execCommand("goCharRight"))})}function n(r,u){var i=r.getRange(v(u.line,u.ch-1),v(u.line,u.ch+1));return i.length==2?i:null}function c(r,u){var i=r.getTokenAt(v(u.line,u.ch+1));return/\bstring/.test(i.type)&&i.start==u.ch&&(u.ch==0||!/\bstring/.test(r.getTokenTypeAt(u)))}})},aSf7:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("Z+31"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},aXVC:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=v.isObject,y=v.each,w=v.map,f=v.indexOf,a=v.retrieve,t=e("SSBM"),o=t.getLayoutRect,s=e("sYRh"),l=s.createScaleByModel,n=s.ifAxisCrossZero,c=s.niceScaleExtent,r=s.estimateLabelUnionRect,u=e("QTnD"),i=e("yvNr"),h=e("kN/v"),p=e("7/O9"),A=p.getStackedDimension;e("r5rb");function C(R,F,B){return R.getCoordSysModel()===F}function S(R,F,B){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(R,F,B),this.model=R}var E=S.prototype;E.type="grid",E.axisPointerEnabled=!0,E.getRect=function(){return this._rect},E.update=function(R,F){var B=this._axesMap;this._updateScale(R,this.model),y(B.x,function(U){c(U.scale,U.model)}),y(B.y,function(U){c(U.scale,U.model)});var z={};y(B.x,function(U){O(B,"y",U,z)}),y(B.y,function(U){O(B,"x",U,z)}),this.resize(this.model,F)};function O(R,F,B,z){B.getAxesOnZeroOf=function(){return K?[K]:[]};var U=R[F],K,W=B.model,H=W.get("axisLine.onZero"),Y=W.get("axisLine.onZeroAxisIndex");if(!H)return;if(Y!=null)T(U[Y])&&(K=U[Y]);else for(var Q in U)if(U.hasOwnProperty(Q)&&T(U[Q])&&!z[P(U[Q])]){K=U[Q];break}K&&(z[P(K)]=!0);function P(G){return G.dim+"_"+G.index}}function T(R){return R&&R.type!=="category"&&R.type!=="time"&&n(R)}E.resize=function(R,F,B){var z=o(R.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()});this._rect=z;var U=this._axesList;K(),!B&&R.get("containLabel")&&(y(U,function(W){if(!W.model.get("axisLabel.inside")){var H=r(W);if(H){var Y=W.isHorizontal()?"height":"width",Q=W.model.get("axisLabel.margin");z[Y]-=H[Y]+Q,W.position==="top"?z.y+=H.height+Q:W.position==="left"&&(z.x+=H.width+Q)}}}),K());function K(){y(U,function(W){var H=W.isHorizontal(),Y=H?[0,z.width]:[0,z.height],Q=W.inverse?1:0;W.setExtent(Y[Q],Y[1-Q]),b(W,H?z.x:z.y)})}},E.getAxis=function(R,F){var B=this._axesMap[R];if(B!=null){if(F==null){for(var z in B)if(B.hasOwnProperty(z))return B[z]}return B[F]}},E.getAxes=function(){return this._axesList.slice()},E.getCartesian=function(R,F){if(R!=null&&F!=null){var B="x"+R+"y"+F;return this._coordsMap[B]}m(R)&&(F=R.yAxisIndex,R=R.xAxisIndex);for(var z=0,U=this._coordsList;z<U.length;z++)if(U[z].getAxis("x").index===R||U[z].getAxis("y").index===F)return U[z]},E.getCartesians=function(){return this._coordsList.slice()},E.convertToPixel=function(R,F,B){var z=this._findConvertTarget(R,F);return z.cartesian?z.cartesian.dataToPoint(B):z.axis?z.axis.toGlobalCoord(z.axis.dataToCoord(B)):null},E.convertFromPixel=function(R,F,B){var z=this._findConvertTarget(R,F);return z.cartesian?z.cartesian.pointToData(B):z.axis?z.axis.coordToData(z.axis.toLocalCoord(B)):null},E._findConvertTarget=function(R,F){var B=F.seriesModel,z=F.xAxisModel||B&&B.getReferringComponents("xAxis")[0],U=F.yAxisModel||B&&B.getReferringComponents("yAxis")[0],K=F.gridModel,W=this._coordsList,H,Y;if(B)H=B.coordinateSystem,f(W,H)<0&&(H=null);else if(z&&U)H=this.getCartesian(z.componentIndex,U.componentIndex);else if(z)Y=this.getAxis("x",z.componentIndex);else if(U)Y=this.getAxis("y",U.componentIndex);else if(K){var Q=K.coordinateSystem;Q===this&&(H=this._coordsList[0])}return{cartesian:H,axis:Y}},E.containPoint=function(R){var F=this._coordsList[0];if(F)return F.containPoint(R)},E._initCartesian=function(R,F,B){var z={left:!1,right:!1,top:!1,bottom:!1},U={x:{},y:{}},K={x:0,y:0};if(F.eachComponent("xAxis",W("x"),this),F.eachComponent("yAxis",W("y"),this),!K.x||!K.y){this._axesMap={},this._axesList=[];return}this._axesMap=U,y(U.x,function(H,Y){y(U.y,function(Q,P){var G="x"+Y+"y"+P,J=new u(G);J.grid=this,J.model=R,this._coordsMap[G]=J,this._coordsList.push(J),J.addAxis(H),J.addAxis(Q)},this)},this);function W(H){return function(Y,Q){if(!C(Y,R,F))return;var P=Y.get("position");H==="x"?P!=="top"&&P!=="bottom"&&(P=z.bottom?"top":"bottom"):P!=="left"&&P!=="right"&&(P=z.left?"right":"left"),z[P]=!0;var G=new i(H,l(Y),[0,0],Y.get("type"),P),J=G.type==="category";G.onBand=J&&Y.get("boundaryGap"),G.inverse=Y.get("inverse"),Y.axis=G,G.model=Y,G.grid=this,G.index=Q,this._axesList.push(G),U[H][Q]=G,K[H]++}}},E._updateScale=function(R,F){y(this._axesList,function(z){z.scale.setExtent(Infinity,-Infinity)}),R.eachSeries(function(z){if(D(z)){var U=N(z,R),K=U[0],W=U[1];if(!C(K,F,R)||!C(W,F,R))return;var H=this.getCartesian(K.componentIndex,W.componentIndex),Y=z.getData(),Q=H.getAxis("x"),P=H.getAxis("y");Y.type==="list"&&(B(Y,Q,z),B(Y,P,z))}},this);function B(z,U,K){y(z.mapDimension(U.dim,!0),function(W){U.scale.unionExtentFromData(z,A(z,W))})}},E.getTooltipAxes=function(R){var F=[],B=[];return y(this.getCartesians(),function(z){var U=R!=null&&R!=="auto"?z.getAxis(R):z.getBaseAxis(),K=z.getOtherAxis(U);f(F,U)<0&&F.push(U),f(B,K)<0&&B.push(K)}),{baseAxes:F,otherAxes:B}};function b(R,F){var B=R.getExtent(),z=B[0]+B[1];R.toGlobalCoord=R.dim==="x"?function(U){return U+F}:function(U){return z-U+F},R.toLocalCoord=R.dim==="x"?function(U){return U-F}:function(U){return z-U+F}}var x=["xAxis","yAxis"];function N(R,F){return w(x,function(B){var z=R.getReferringComponents(B)[0];return z})}function D(R){return R.get("coordinateSystem")==="cartesian2d"}S.create=function(R,F){var B=[];return R.eachComponent("grid",function(z,U){var K=new S(z,R,F);K.name="grid_"+U,K.resize(z,F,!0),z.coordinateSystem=K,B.push(K)}),R.eachSeries(function(z){if(!D(z))return;var U=N(z,R),K=U[0],W=U[1],H=K.getCoordSysModel(),Y=H.coordinateSystem;z.coordinateSystem=Y.getCartesian(K.componentIndex,W.componentIndex)}),B},S.dimensions=S.prototype.dimensions=u.prototype.dimensions,h.register("cartesian2d",S);var M=S;Z.exports=M},afA4:function(Z,_){var e=Math.round;function d(m,y,w){if(!y)return;var f=y.x1,a=y.x2,t=y.y1,o=y.y2;m.x1=f,m.x2=a,m.y1=t,m.y2=o;var s=w&&w.lineWidth;if(!s)return;e(f*2)===e(a*2)&&(m.x1=m.x2=v(f,s,!0)),e(t*2)===e(o*2)&&(m.y1=m.y2=v(t,s,!0))}function L(m,y,w){if(!y)return;var f=y.x,a=y.y,t=y.width,o=y.height;m.x=f,m.y=a,m.width=t,m.height=o;var s=w&&w.lineWidth;if(!s)return;m.x=v(f,s,!0),m.y=v(a,s,!0),m.width=Math.max(v(f+t,s,!1)-m.x,t===0?0:1),m.height=Math.max(v(a+o,s,!1)-m.y,o===0?0:1)}function v(m,y,w){if(!y)return m;var f=e(m*2);return(f+e(y))%2===0?f/2:(f+(w?1:-1))/2}_.subPixelOptimizeLine=d,_.subPixelOptimizeRect=L,_.subPixelOptimize=v},aiPM:function(Z,_,e){var d=e("oEo5"),L=e("Jjzi"),v=e("7/O9"),m=v.isDimensionStacked,y=d.indexOf;function w(i){return!(isNaN(parseFloat(i.x))&&isNaN(parseFloat(i.y)))}function f(i){return!isNaN(parseFloat(i.x))&&!isNaN(parseFloat(i.y))}function a(i,h,p,A,C,S){var E=[],O=m(h,A),T=O?h.getCalculationInfo("stackResultDimension"):A,b=u(h,T,i),x=h.indicesOfNearest(T,b)[0];E[C]=h.get(p,x),E[S]=h.get(T,x);var N=h.get(A,x),D=L.getPrecision(h.get(A,x));return D=Math.min(D,20),D>=0&&(E[S]=+E[S].toFixed(D)),[E,N]}var t=d.curry,o={min:t(a,"min"),max:t(a,"max"),average:t(a,"average")};function s(i,h){var p=i.getData(),A=i.coordinateSystem;if(h&&!f(h)&&!d.isArray(h.coord)&&A){var C=A.dimensions,S=l(h,p,A,i);if(h=d.clone(h),h.type&&o[h.type]&&S.baseAxis&&S.valueAxis){var E=y(C,S.baseAxis.dim),O=y(C,S.valueAxis.dim),T=o[h.type](p,S.baseDataDim,S.valueDataDim,E,O);h.coord=T[0],h.value=T[1]}else{for(var b=[h.xAxis!=null?h.xAxis:h.radiusAxis,h.yAxis!=null?h.yAxis:h.angleAxis],x=0;x<2;x++)o[b[x]]&&(b[x]=u(p,p.mapDimension(C[x]),b[x]));h.coord=b}}return h}function l(i,h,p,A){var C={};return i.valueIndex!=null||i.valueDim!=null?(C.valueDataDim=i.valueIndex!=null?h.getDimension(i.valueIndex):i.valueDim,C.valueAxis=p.getAxis(n(A,C.valueDataDim)),C.baseAxis=p.getOtherAxis(C.valueAxis),C.baseDataDim=h.mapDimension(C.baseAxis.dim)):(C.baseAxis=A.getBaseAxis(),C.valueAxis=p.getOtherAxis(C.baseAxis),C.baseDataDim=h.mapDimension(C.baseAxis.dim),C.valueDataDim=h.mapDimension(C.valueAxis.dim)),C}function n(i,h){var p=i.getData(),A=p.dimensions;h=p.getDimension(h);for(var C=0;C<A.length;C++){var S=p.getDimensionInfo(A[C]);if(S.name===h)return S.coordDim}}function c(i,h){return i&&i.containData&&h.coord&&!w(h)?i.containData(h.coord):!0}function r(i,h,p,A){return A<2?i.coord&&i.coord[A]:i.value}function u(i,h,p){if(p==="average"){var A=0,C=0;return i.each(h,function(S,E){isNaN(S)||(A+=S,C++)}),A/C}else return p==="median"?i.getMedian(h):i.getDataExtent(h,!0)[p==="max"?1:0]}_.dataTransform=s,_.getAxisInfo=l,_.dataFilter=c,_.dimValueGetter=r,_.numCalculate=u},akD0:function(Z,_,e){"use strict";e.d(_,"a",function(){return d});var d="RC_SELECT_INTERNAL_PROPS_MARK"},anXI:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("cpTi"),m=e.n(v),y=e("MPZO"),w=e("NE/W"),f=e("CeOx")},apr7:function(Z,_,e){"use strict";e.d(_,"a",function(){return y});var d=e("RfwO"),L=e.n(d),v=e("dKUL");function m(w,f,a,t){var o=a-f;return w/=t/2,w<1?o/2*w*w*w+f:o/2*((w-=2)*w*w+2)+f}function y(w){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=f.getContainer,t=a===void 0?function(){return window}:a,o=f.callback,s=f.duration,l=s===void 0?450:s,n=t(),c=Object(v.a)(n,!0),r=Date.now(),u=function i(){var h=Date.now(),p=h-r,A=m(p>l?l:p,c,w,l);Object(v.b)(n)?n.scrollTo(window.pageXOffset,A):n instanceof HTMLDocument||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=A:n.scrollTop=A,p<l?L()(i):typeof o=="function"&&o()};L()(u)}},asMo:function(Z,_,e){var d=e("Mvxd"),L=e("wzOG"),v=e("v4o2"),m=1,y=2;function w(f,a,t,o,s,l){var n=t&m,c=f.length,r=a.length;if(c!=r&&!(n&&r>c))return!1;var u=l.get(f),i=l.get(a);if(u&&i)return u==a&&i==f;var h=-1,p=!0,A=t&y?new d:void 0;for(l.set(f,a),l.set(a,f);++h<c;){var C=f[h],S=a[h];if(o)var E=n?o(S,C,h,a,f,l):o(C,S,h,f,a,l);if(E!==void 0){if(E)continue;p=!1;break}if(A){if(!L(a,function(O,T){if(!v(A,T)&&(C===O||s(C,O,t,o,l)))return A.push(T)})){p=!1;break}}else if(!(C===S||s(C,S,t,o,l))){p=!1;break}}return l.delete(f),l.delete(a),p}Z.exports=w},"b1g+":function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("a05J"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},"b4/K":function(Z,_,e){var d=e("hmv6"),L="__lodash_hash_undefined__";function v(m,y){var w=this.__data__;return this.size+=this.has(m)?0:1,w[m]=d&&y===void 0?L:y,this}Z.exports=v},b5Jo:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d=_.pick=function(v,m){var y={};return m.forEach(function(w){y[w]=v[w]}),y}},bCfE:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ver=_.clear=_.bind=void 0;var d=e("hQli"),L=function(w,f){var a=(0,d.getSensor)(w);return a.bind(f),function(){a.unbind(f)}};_.bind=L;var v=function(w){var f=(0,d.getSensor)(w);(0,d.removeSensor)(f)};_.clear=v;var m="1.0.1";_.ver=m},bEBK:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("pHu+"),m=e.n(v)},bNnc:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="SearchOutlined";var w=_.a=d.forwardRef(y)},bUGm:function(Z,_){function e(d,L){for(var v=-1,m=Array(d);++v<d;)m[v]=L(v);return m}Z.exports=e},bX8Z:function(Z,_,e){var d=e("Wa83"),L=d.distance;function v(y,w,f,a,t,o,s){var l=(f-y)*.5,n=(a-w)*.5;return(2*(w-f)+l+n)*s+(-3*(w-f)-2*l-n)*o+l*t+w}function m(y,w){for(var f=y.length,a=[],t=0,o=1;o<f;o++)t+=L(y[o-1],y[o]);var s=t/2;s=s<f?f:s;for(var o=0;o<s;o++){var l=o/(s-1)*(w?f:f-1),n=Math.floor(l),c=l-n,r,u=y[n%f],i,h;w?(r=y[(n-1+f)%f],i=y[(n+1)%f],h=y[(n+2)%f]):(r=y[n===0?n:n-1],i=y[n>f-2?f-1:n+1],h=y[n>f-3?f-1:n+2]);var p=c*c,A=c*p;a.push([v(r[0],u[0],i[0],h[0],c,p,A),v(r[1],u[1],i[1],h[1],c,p,A)])}return a}Z.exports=m},"bYe/":function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("QjgC"),m=e("UDPO"),y=m.layoutCovers,w=d.extendComponentView({type:"brush",init:function(a,t){this.ecModel=a,this.api=t,this.model,(this._brushController=new v(t.getZr())).on("brush",L.bind(this._onBrush,this)).mount()},render:function(a){return this.model=a,f.apply(this,arguments)},updateTransform:function(a,t){return y(t),f.apply(this,arguments)},updateView:f,dispose:function(){this._brushController.dispose()},_onBrush:function(a,t){var o=this.model.id;this.model.brushTargetManager.setOutputRanges(a,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:o,areas:L.clone(a),$from:o}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:o,areas:L.clone(a),$from:o})}});function f(a,t,o,s){(!s||s.$from!==a.id)&&this._brushController.setPanels(a.brushTargetManager.makePanelOpts(o)).enableBrush(a.brushOption).updateCovers(a.areas.slice())}Z.exports=w},"bf9+":function(Z,_,e){},bwE0:function(Z,_,e){(function(d){d(e("M0ff"),e("sYNl"))})(function(d){d.defineOption("autoCloseTags",!1,function(t,o,s){if(s!=d.Init&&s&&t.removeKeyMap("autoCloseTags"),!o)return;var l={name:"autoCloseTags"};(typeof o!="object"||o.whenClosing!==!1)&&(l["'/'"]=function(n){return w(n)}),(typeof o!="object"||o.whenOpening!==!1)&&(l["'>'"]=function(n){return m(n)}),t.addKeyMap(l)});var L=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],v=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function m(t){if(t.getOption("disableInput"))return d.Pass;for(var o=t.listSelections(),s=[],l=t.getOption("autoCloseTags"),n=0;n<o.length;n++){if(!o[n].empty())return d.Pass;var c=o[n].head,r=t.getTokenAt(c),u=d.innerMode(t.getMode(),r.state),i=u.state,h=u.mode.xmlCurrentTag&&u.mode.xmlCurrentTag(i),p=h&&h.name;if(!p)return d.Pass;var A=u.mode.configuration=="html",C=typeof l=="object"&&l.dontCloseTags||A&&L,S=typeof l=="object"&&l.indentTags||A&&v;r.end>c.ch&&(p=p.slice(0,p.length-r.end+c.ch));var E=p.toLowerCase();if(!p||r.type=="string"&&(r.end!=c.ch||!/[\"\']/.test(r.string.charAt(r.string.length-1))||r.string.length==1)||r.type=="tag"&&h.close||r.string.indexOf("/")==c.ch-r.start-1||C&&f(C,E)>-1||a(t,u.mode.xmlCurrentContext&&u.mode.xmlCurrentContext(i)||[],p,c,!0))return d.Pass;var O=typeof l=="object"&&l.emptyTags;if(O&&f(O,p)>-1){s[n]={text:"/>",newPos:d.Pos(c.line,c.ch+2)};continue}var T=S&&f(S,E)>-1;s[n]={indent:T,text:">"+(T?`
|
||
|
||
`:"")+"</"+p+">",newPos:T?d.Pos(c.line+1,0):d.Pos(c.line,c.ch+1)}}for(var b=typeof l=="object"&&l.dontIndentOnAutoClose,n=o.length-1;n>=0;n--){var x=s[n];t.replaceRange(x.text,o[n].head,o[n].anchor,"+insert");var N=t.listSelections().slice(0);N[n]={head:x.newPos,anchor:x.newPos},t.setSelections(N),!b&&x.indent&&(t.indentLine(x.newPos.line,null,!0),t.indentLine(x.newPos.line+1,null,!0))}}function y(t,o){for(var s=t.listSelections(),l=[],n=o?"/":"</",c=t.getOption("autoCloseTags"),r=typeof c=="object"&&c.dontIndentOnSlash,u=0;u<s.length;u++){if(!s[u].empty())return d.Pass;var i=s[u].head,h=t.getTokenAt(i),p=d.innerMode(t.getMode(),h.state),A=p.state;if(o&&(h.type=="string"||h.string.charAt(0)!="<"||h.start!=i.ch-1))return d.Pass;var C,S=p.mode.name!="xml"&&t.getMode().name=="htmlmixed";if(S&&p.mode.name=="javascript")C=n+"script";else if(S&&p.mode.name=="css")C=n+"style";else{var E=p.mode.xmlCurrentContext&&p.mode.xmlCurrentContext(A);if(!E||E.length&&a(t,E,E[E.length-1],i))return d.Pass;C=n+E[E.length-1]}t.getLine(i.line).charAt(h.end)!=">"&&(C+=">"),l[u]=C}if(t.replaceSelections(l),s=t.listSelections(),!r)for(var u=0;u<s.length;u++)(u==s.length-1||s[u].head.line<s[u+1].head.line)&&t.indentLine(s[u].head.line)}function w(t){return t.getOption("disableInput")?d.Pass:y(t,!0)}d.commands.closeTag=function(t){return y(t)};function f(t,o){if(t.indexOf)return t.indexOf(o);for(var s=0,l=t.length;s<l;++s)if(t[s]==o)return s;return-1}function a(t,o,s,l,n){if(!d.scanForClosingTag)return!1;var c=Math.min(t.lastLine()+1,l.line+500),r=d.scanForClosingTag(t,l,null,c);if(!r||r.tag!=s)return!1;for(var u=n?1:0,i=o.length-1;i>=0&&o[i]==s;i--)++u;l=r.to;for(var i=1;i<u;i++){var h=d.scanForClosingTag(t,l,null,c);if(!h||h.tag!=s)return!1;l=h.to}return!0}})},cARS:function(Z,_){var e="\0__throttleOriginMethod",d="\0__throttleRate",L="\0__throttleType";function v(w,f,a){var t,o=0,s=0,l=null,n,c,r,u;f=f||0;function i(){s=new Date().getTime(),l=null,w.apply(c,r||[])}var h=function(){t=new Date().getTime(),c=this,r=arguments;var p=u||f,A=u||a;u=null,n=t-(A?o:s)-p,clearTimeout(l),A?l=setTimeout(i,p):n>=0?i():l=setTimeout(i,-n),o=t};return h.clear=function(){l&&(clearTimeout(l),l=null)},h.debounceNextCall=function(p){u=p},h}function m(w,f,a,t){var o=w[f];if(!o)return;var s=o[e]||o,l=o[L],n=o[d];if(n!==a||l!==t){if(a==null||!t)return w[f]=s;o=w[f]=v(s,a,t==="debounce"),o[e]=s,o[L]=t,o[d]=a}return o}function y(w,f){var a=w[f];a&&a[e]&&(w[f]=a[e])}_.throttle=v,_.createOrUpdate=m,_.clear=y},cKRQ:function(Z,_,e){var d=e("Q6Bq"),L=e("6q22"),v=e("NVTZ"),m=e("4uqo"),y=e("7lsH"),w=d.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new L(v)},render:function(f,a,t){var o=f.getData(),s=this._symbolDraw;s.updateData(o),this.group.add(s.group)},updateTransform:function(f,a,t){var o=f.getData();this.group.dirty();var s=y().reset(f);s.progress&&s.progress({start:0,end:o.count()},o),this._symbolDraw.updateLayout(o)},_updateGroupTransform:function(f){var a=f.coordinateSystem;a&&a.getRoamTransform&&(this.group.transform=m.clone(a.getRoamTransform()),this.group.decomposeTransform())},remove:function(f,a){this._symbolDraw&&this._symbolDraw.remove(a)},dispose:function(){}});Z.exports=w},cLjh:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("Q6Bq"),m=e("OKMW"),y=v.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(o,s,l,n){this.axisPointerClass&&m.fixValue(o),y.superApply(this,"render",arguments),w(this,o,s,l,n,!0)},updateAxisPointer:function(o,s,l,n,c){w(this,o,s,l,n,!1)},remove:function(o,s){var l=this._axisPointer;l&&l.remove(s),y.superApply(this,"remove",arguments)},dispose:function(o,s){f(this,s),y.superApply(this,"dispose",arguments)}});function w(o,s,l,n,c,r){var u=y.getAxisPointerClass(o.axisPointerClass);if(!u)return;var i=m.getAxisPointerModel(s);i?(o._axisPointer||(o._axisPointer=new u)).render(s,i,n,r):f(o,n)}function f(o,s,l){var n=o._axisPointer;n&&n.dispose(s,l),o._axisPointer=null}var a=[];y.registerAxisPointerClass=function(o,s){a[o]=s},y.getAxisPointerClass=function(o){return o&&a[o]};var t=y;Z.exports=t},cN0B:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5");function v(m,y,w){var f={},a=m==="toggleSelected",t;return w.eachComponent("legend",function(o){a&&t!=null?o[t?"select":"unSelect"](y.name):m==="allSelect"||m==="inverseSelect"?o[m]():(o[m](y.name),t=o.isSelected(y.name));var s=o.getData();L.each(s,function(l){var n=l.get("name");if(n===`
|
||
`||n==="")return;var c=o.isSelected(n);f.hasOwnProperty(n)?f[n]=f[n]&&c:f[n]=c})}),m==="allSelect"||m==="inverseSelect"?{selected:f}:{name:y.name,selected:f}}d.registerAction("legendToggleSelect","legendselectchanged",L.curry(v,"toggleSelected")),d.registerAction("legendAllSelect","legendselectall",L.curry(v,"allSelect")),d.registerAction("legendInverseSelect","legendinverseselect",L.curry(v,"inverseSelect")),d.registerAction("legendSelect","legendselected",L.curry(v,"select")),d.registerAction("legendUnSelect","legendunselected",L.curry(v,"unSelect"))},cQv6:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="CloseCircleFilled";var w=_.a=d.forwardRef(y)},cS7d:function(Z,_,e){var d=e("oEo5");function L(v){var m={};v.eachSeriesByType("map",function(y){var w=y.getMapType();if(y.getHostGeoModel()||m[w])return;var f={};d.each(y.seriesGroup,function(t){var o=t.coordinateSystem,s=t.originalData;t.get("showLegendSymbol")&&v.getComponent("legend")&&s.each(s.mapDimension("value"),function(l,n){var c=s.getName(n),r=o.getRegion(c);if(!r||isNaN(l))return;var u=f[c]||0,i=o.dataToPoint(r.center);f[c]=u+1,s.setItemLayout(n,{point:i,offset:u})})});var a=y.getData();a.each(function(t){var o=a.getName(t),s=a.getItemLayout(t)||{};s.showLabel=!f[o],a.setItemLayout(t,s)}),m[w]=!0})}Z.exports=L},cVfc:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("ZZRV"),m=e.n(v),y=e("NiCL"),w=e("LpVx"),f=e("HyFf"),a=function(o,s){var l={};for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&s.indexOf(n)<0&&(l[n]=o[n]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,n=Object.getOwnPropertySymbols(o);c<n.length;c++)s.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(o,n[c])&&(l[n[c]]=o[n[c]]);return l},t=v.forwardRef(function(o,s){var l=o.prefixCls,n=o.title,c=o.content,r=a(o,["prefixCls","title","content"]),u=v.useContext(w.b),i=u.getPrefixCls,h=function(C){return v.createElement(v.Fragment,null,n&&v.createElement("div",{className:"".concat(C,"-title")},Object(f.a)(n)),v.createElement("div",{className:"".concat(C,"-inner-content")},Object(f.a)(c)))},p=i("popover",l);return v.createElement(y.a,L()({},r,{prefixCls:p,ref:s,overlay:h(p)}))});t.displayName="Popover",t.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},_.a=t},"cXy+":function(Z,_,e){"use strict";var d=function(){return{height:0,opacity:0}},L=function(f){return{height:f.scrollHeight,opacity:1}},v=function(f){return{height:f.offsetHeight}},m=function(f,a){return a.propertyName==="height"},y={motionName:"ant-motion-collapse",onAppearStart:d,onEnterStart:d,onAppearActive:L,onEnterActive:L,onLeaveStart:v,onLeaveActive:d,onAppearEnd:m,onEnterEnd:m,onLeaveEnd:m,motionDeadline:500};_.a=y},cZnB:function(Z,_,e){},cjY5:function(Z,_,e){var d=e("ZATb"),L=e("86p4"),v=e("oEo5"),m=v.isString,y=v.isFunction,w=v.isObject,f=v.isArrayLike,a=v.indexOf,t=function(){this.animators=[]};t.prototype={constructor:t,animate:function(r,u){var i,h=!1,p=this,A=this.__zr;if(r){var C=r.split("."),S=p;h=C[0]==="shape";for(var E=0,O=C.length;E<O;E++){if(!S)continue;S=S[C[E]]}S&&(i=S)}else i=p;if(!i){L('Property "'+r+'" is not existed in element '+p.id);return}var T=p.animators,b=new d(i,u);return b.during(function(x){p.dirty(h)}).done(function(){T.splice(a(T,b),1)}),T.push(b),A&&A.animation.addAnimator(b),b},stopAnimation:function(r){for(var u=this.animators,i=u.length,h=0;h<i;h++)u[h].stop(r);return u.length=0,this},animateTo:function(r,u,i,h,p,A){o(this,r,u,i,h,p,A)},animateFrom:function(r,u,i,h,p,A){o(this,r,u,i,h,p,A,!0)}};function o(c,r,u,i,h,p,A,C){m(i)?(p=h,h=i,i=0):y(h)?(p=h,h="linear",i=0):y(i)?(p=i,i=0):y(u)?(p=u,u=500):u||(u=500),c.stopAnimation(),s(c,"",c,r,u,i,C);var S=c.animators.slice(),E=S.length;function O(){E--,E||p&&p()}E||p&&p();for(var T=0;T<S.length;T++)S[T].done(O).start(h,A)}function s(c,r,u,i,h,p,A){var C={},S=0;for(var E in i){if(!i.hasOwnProperty(E))continue;u[E]!=null?w(i[E])&&!f(i[E])?s(c,r?r+"."+E:E,u[E],i[E],h,p,A):(A?(C[E]=u[E],l(c,r,E,i[E])):C[E]=i[E],S++):i[E]!=null&&!A&&l(c,r,E,i[E])}S>0&&c.animate(r,!1).when(h==null?500:h,C).delay(p||0)}function l(c,r,u,i){if(!r)c.attr(u,i);else{var h={};h[r]={},h[r][u]=i,c.attr(h)}}var n=t;Z.exports=n},cpTi:function(Z,_,e){},"czw/":function(Z,_){function e(L){return L instanceof Array||(L=[L,L]),L}function d(L){L.eachSeriesByType("graph",function(v){var m=v.getGraph(),y=v.getEdgeData(),w=e(v.get("edgeSymbol")),f=e(v.get("edgeSymbolSize")),a="lineStyle.color".split("."),t="lineStyle.opacity".split(".");y.setVisual("fromSymbol",w&&w[0]),y.setVisual("toSymbol",w&&w[1]),y.setVisual("fromSymbolSize",f&&f[0]),y.setVisual("toSymbolSize",f&&f[1]),y.setVisual("color",v.get(a)),y.setVisual("opacity",v.get(t)),y.each(function(o){var s=y.getItemModel(o),l=m.getEdgeByIndex(o),n=e(s.getShallow("symbol",!0)),c=e(s.getShallow("symbolSize",!0)),r=s.get(a),u=s.get(t);switch(r){case"source":r=l.node1.getVisual("color");break;case"target":r=l.node2.getVisual("color");break}n[0]&&l.setVisual("fromSymbol",n[0]),n[1]&&l.setVisual("toSymbol",n[1]),c[0]&&l.setVisual("fromSymbolSize",c[0]),c[1]&&l.setVisual("toSymbolSize",c[1]),l.setVisual("color",r),l.setVisual("opacity",u)})})}Z.exports=d},d4iy:function(Z,_){var e="#eee",d=function(){return{axisLine:{lineStyle:{color:e}},axisTick:{lineStyle:{color:e}},axisLabel:{textStyle:{color:e}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:e}}}},L=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],v={color:L,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:e},crossStyle:{color:e},label:{color:"#000"}}},legend:{textStyle:{color:e}},textStyle:{color:e},title:{textStyle:{color:e}},toolbox:{iconStyle:{normal:{borderColor:e}}},dataZoom:{textStyle:{color:e}},visualMap:{textStyle:{color:e}},timeline:{lineStyle:{color:e},itemStyle:{normal:{color:L[1]}},label:{normal:{textStyle:{color:e}}},controlStyle:{normal:{color:e,borderColor:e}}},timeAxis:d(),logAxis:d(),valueAxis:d(),categoryAxis:d(),line:{symbol:"circle"},graph:{color:L},gauge:{title:{textStyle:{color:e}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};v.categoryAxis.splitLine.show=!1;var m=v;Z.exports=m},dCOg:function(Z,_,e){var d=e("oEo5"),L=["rect","polygon","keep","clear"];function v(y,w){var f=y&&y.brush;if(d.isArray(f)||(f=f?[f]:[]),!f.length)return;var a=[];d.each(f,function(n){var c=n.hasOwnProperty("toolbox")?n.toolbox:[];c instanceof Array&&(a=a.concat(c))});var t=y&&y.toolbox;d.isArray(t)&&(t=t[0]),t||(t={feature:{}},y.toolbox=[t]);var o=t.feature||(t.feature={}),s=o.brush||(o.brush={}),l=s.type||(s.type=[]);l.push.apply(l,a),m(l),w&&!l.length&&l.push.apply(l,L)}function m(y){var w={};d.each(y,function(f){w[f]=1}),y.length=0,d.each(w,function(f,a){y.push(a)})}Z.exports=v},dKUL:function(Z,_,e){"use strict";e.d(_,"b",function(){return d}),e.d(_,"a",function(){return L});function d(v){return v!=null&&v===v.window}function L(v,m){if(typeof window=="undefined")return 0;var y=m?"scrollTop":"scrollLeft",w=0;return d(v)?w=v[m?"pageYOffset":"pageXOffset"]:v instanceof Document?w=v.documentElement[y]:v&&(w=v[y]),v&&!d(v)&&typeof w!="number"&&(w=(v.ownerDocument||v).documentElement[y]),w}},dMF2:function(Z,_,e){var d=e("Jjzi"),L=d.parsePercent,v=e("oEo5"),m=Math.PI/180;function y(a,t,o,s){t.eachSeriesByType(a,function(l){var n=l.get("center"),c=l.get("radius");v.isArray(c)||(c=[0,c]),v.isArray(n)||(n=[n,n]);var r=o.getWidth(),u=o.getHeight(),i=Math.min(r,u),h=L(n[0],r),p=L(n[1],u),A=L(c[0],i/2),C=L(c[1],i/2),S=-l.get("startAngle")*m,E=l.get("minAngle")*m,O=l.getData().tree.root,T=l.getViewRoot(),b=T.depth,x=l.get("sort");x!=null&&w(T,x);var N=0;v.each(T.children,function(P){!isNaN(P.getValue())&&N++});var D=T.getValue(),M=Math.PI/(D||N)*2,R=T.depth>0,F=T.height-(R?-1:1),B=(C-A)/(F||1),z=l.get("clockwise"),U=l.get("stillShowZeroSum"),K=z?1:-1,W=function(P,G){if(!P)return;var J=G;if(P!==O){var he=P.getValue(),te=D===0&&U?M:he*M;te<E&&(te=E),J=G+K*te;var pe=P.depth-b-(R?-1:1),we=A+B*pe,be=A+B*(pe+1),Qe=P.getModel();Qe.get("r0")!=null&&(we=L(Qe.get("r0"),i/2)),Qe.get("r")!=null&&(be=L(Qe.get("r"),i/2)),P.setLayout({angle:te,startAngle:G,endAngle:J,clockwise:z,cx:h,cy:p,r0:we,r:be})}if(P.children&&P.children.length){var $e=0;v.each(P.children,function(yt){$e+=W(yt,G+$e)})}return J-G};if(R){var H=A,Y=A+B,Q=Math.PI*2;O.setLayout({angle:Q,startAngle:S,endAngle:S+Q,clockwise:z,cx:h,cy:p,r0:H,r:Y})}W(T,S)})}function w(a,t){var o=a.children||[];a.children=f(o,t),o.length&&v.each(a.children,function(s){w(s,t)})}function f(a,t){if(typeof t=="function")return a.sort(t);var o=t==="asc";return a.sort(function(s,l){var n=(s.getValue()-l.getValue())*(o?1:-1);return n===0?(s.dataIndex-l.dataIndex)*(o?-1:1):n})}Z.exports=y},dYTN:function(Z,_,e){var d=e("oEo5"),L=e("F62y"),v=e("qulM"),m=e("JkS2"),y=e("CQhY"),w=y.windowOpen,f="sunburstRootToNode",a=L.extend({type:"sunburst",init:function(){},render:function(o,s,l,n){var c=this;this.seriesModel=o,this.api=l,this.ecModel=s;var r=o.getData(),u=r.tree.root,i=o.getViewRoot(),h=this.group,p=o.get("renderLabelForZeroData"),A=[];i.eachNode(function(N){A.push(N)});var C=this._oldChildren||[];if(O(A,C),x(u,i),n&&n.highlight&&n.highlight.piece){var S=o.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(S)}else if(n&&n.unhighlight){var E=this.virtualPiece;!E&&u.children.length&&(E=u.children[0].piece),E&&E.onNormal()}this._initEvents(),this._oldChildren=A;function O(N,D){if(N.length===0&&D.length===0)return;new m(D,N,M,M).add(R).update(R).remove(d.curry(R,null)).execute();function M(F){return F.getId()}function R(F,B){var z=F==null?null:N[F],U=B==null?null:D[B];T(z,U)}}function T(N,D){if(!p&&N&&!N.getValue()&&(N=null),N!==u&&D!==u){if(D&&D.piece)N?(D.piece.updateData(!1,N,"normal",o,s),r.setItemGraphicEl(N.dataIndex,D.piece)):b(D);else if(N){var M=new v(N,o,s);h.add(M),r.setItemGraphicEl(N.dataIndex,M)}}}function b(N){if(!N)return;N.piece&&(h.remove(N.piece),N.piece=null)}function x(N,D){if(D.depth>0){c.virtualPiece?c.virtualPiece.updateData(!1,N,"normal",o,s):(c.virtualPiece=new v(N,o,s),h.add(c.virtualPiece)),D.piece._onclickEvent&&D.piece.off("click",D.piece._onclickEvent);var M=function(R){c._rootToNode(D.parentNode)};D.piece._onclickEvent=M,c.virtualPiece.on("click",M)}else c.virtualPiece&&(h.remove(c.virtualPiece),c.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var o=this,s=function(l){var n=!1,c=o.seriesModel.getViewRoot();c.eachNode(function(r){if(!n&&r.piece&&r.piece.childAt(0)===l.target){var u=r.getModel().get("nodeClick");if(u==="rootToNode")o._rootToNode(r);else if(u==="link"){var i=r.getModel(),h=i.get("link");if(h){var p=i.get("target",!0)||"_blank";w(h,p)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",s),this.group._onclickEvent=s},_rootToNode:function(o){o!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:f,from:this.uid,seriesId:this.seriesModel.id,targetNode:o})},containPoint:function(o,s){var l=s.getData(),n=l.getItemLayout(0);if(n){var c=o[0]-n.cx,r=o[1]-n.cy,u=Math.sqrt(c*c+r*r);return u<=n.r&&u>=n.r0}}}),t=a;Z.exports=t},dhFd:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("qwEw"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},diXd:function(Z,_){var e=Array.prototype.slice,d=function(w){this._$handlers={},this._$eventProcessor=w};d.prototype={constructor:d,one:function(w,f,a,t){return v(this,w,f,a,t,!0)},on:function(w,f,a,t){return v(this,w,f,a,t,!1)},isSilent:function(w){var f=this._$handlers;return!f[w]||!f[w].length},off:function(w,f){var a=this._$handlers;if(!w)return this._$handlers={},this;if(f){if(a[w]){for(var t=[],o=0,s=a[w].length;o<s;o++)a[w][o].h!==f&&t.push(a[w][o]);a[w]=t}a[w]&&a[w].length===0&&delete a[w]}else delete a[w];return this},trigger:function(w){var f=this._$handlers[w],a=this._$eventProcessor;if(f){var t=arguments,o=t.length;o>3&&(t=e.call(t,1));for(var s=f.length,l=0;l<s;){var n=f[l];if(a&&a.filter&&n.query!=null&&!a.filter(w,n.query)){l++;continue}switch(o){case 1:n.h.call(n.ctx);break;case 2:n.h.call(n.ctx,t[1]);break;case 3:n.h.call(n.ctx,t[1],t[2]);break;default:n.h.apply(n.ctx,t);break}n.one?(f.splice(l,1),s--):l++}}return a&&a.afterTrigger&&a.afterTrigger(w),this},triggerWithContext:function(w){var f=this._$handlers[w],a=this._$eventProcessor;if(f){var t=arguments,o=t.length;o>4&&(t=e.call(t,1,t.length-1));for(var s=t[t.length-1],l=f.length,n=0;n<l;){var c=f[n];if(a&&a.filter&&c.query!=null&&!a.filter(w,c.query)){n++;continue}switch(o){case 1:c.h.call(s);break;case 2:c.h.call(s,t[1]);break;case 3:c.h.call(s,t[1],t[2]);break;default:c.h.apply(s,t);break}c.one?(f.splice(n,1),l--):n++}}return a&&a.afterTrigger&&a.afterTrigger(w),this}};function L(y,w){var f=y._$eventProcessor;return w!=null&&f&&f.normalizeQuery&&(w=f.normalizeQuery(w)),w}function v(y,w,f,a,t,o){var s=y._$handlers;if(typeof f=="function"&&(t=a,a=f,f=null),!a||!w)return y;f=L(y,f),s[w]||(s[w]=[]);for(var l=0;l<s[w].length;l++)if(s[w][l].h===a)return y;var n={h:a,one:o,query:f,ctx:t||y,callAtLast:a.zrEventfulCallAtLast},c=s[w].length-1,r=s[w][c];return r&&r.callAtLast?s[w].splice(c,0,n):s[w].push(n),y}var m=d;Z.exports=m},djYP:function(Z,_,e){"use strict";e.r(_),e.d(_,"ResizableTextArea",function(){return O});var d=e("FGJx"),L=e("o0AO"),v=e("uwZC"),m=e("MRRG"),y=e("GY0J"),w=e("ZZRV"),f=e("zjzt"),a=e("JS14"),t=e("3CTf"),o=e("iczh"),s=e.n(o),l=`
|
||
min-height:0 !important;
|
||
max-height:none !important;
|
||
height:0 !important;
|
||
visibility:hidden !important;
|
||
overflow:hidden !important;
|
||
position:absolute !important;
|
||
z-index:-1000 !important;
|
||
top:0 !important;
|
||
right:0 !important
|
||
`,n=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],c={},r;function u(D){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,R=D.getAttribute("id")||D.getAttribute("data-reactid")||D.getAttribute("name");if(M&&c[R])return c[R];var F=window.getComputedStyle(D),B=F.getPropertyValue("box-sizing")||F.getPropertyValue("-moz-box-sizing")||F.getPropertyValue("-webkit-box-sizing"),z=parseFloat(F.getPropertyValue("padding-bottom"))+parseFloat(F.getPropertyValue("padding-top")),U=parseFloat(F.getPropertyValue("border-bottom-width"))+parseFloat(F.getPropertyValue("border-top-width")),K=n.map(function(H){return"".concat(H,":").concat(F.getPropertyValue(H))}).join(";"),W={sizingStyle:K,paddingSize:z,borderSize:U,boxSizing:B};return M&&R&&(c[R]=W),W}function i(D){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,F=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;r||(r=document.createElement("textarea"),r.setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),D.getAttribute("wrap")?r.setAttribute("wrap",D.getAttribute("wrap")):r.removeAttribute("wrap");var B=u(D,M),z=B.paddingSize,U=B.borderSize,K=B.boxSizing,W=B.sizingStyle;r.setAttribute("style","".concat(W,";").concat(l)),r.value=D.value||D.placeholder||"";var H=Number.MIN_SAFE_INTEGER,Y=Number.MAX_SAFE_INTEGER,Q=r.scrollHeight,P;if(K==="border-box"?Q+=U:K==="content-box"&&(Q-=z),R!==null||F!==null){r.value=" ";var G=r.scrollHeight-z;R!==null&&(H=G*R,K==="border-box"&&(H=H+z+U),Q=Math.max(H,Q)),F!==null&&(Y=G*F,K==="border-box"&&(Y=Y+z+U),P=Q>Y?"":"hidden",Q=Math.min(Y,Q))}return{height:Q,minHeight:H,maxHeight:Y,overflowY:P}}function h(D,M){var R=Object.keys(D);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(D);M&&(F=F.filter(function(B){return Object.getOwnPropertyDescriptor(D,B).enumerable})),R.push.apply(R,F)}return R}function p(D){for(var M=1;M<arguments.length;M++){var R=arguments[M]!=null?arguments[M]:{};M%2?h(Object(R),!0).forEach(function(F){Object(f.a)(D,F,R[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(R)):h(Object(R)).forEach(function(F){Object.defineProperty(D,F,Object.getOwnPropertyDescriptor(R,F))})}return D}function A(D){var M=C();return function(){var F=Object(y.a)(D),B;if(M){var z=Object(y.a)(this).constructor;B=Reflect.construct(F,arguments,z)}else B=F.apply(this,arguments);return Object(m.a)(this,B)}}function C(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(D){return!1}}var S;(function(D){D[D.NONE=0]="NONE",D[D.RESIZING=1]="RESIZING",D[D.RESIZED=2]="RESIZED"})(S||(S={}));var E=function(D){Object(v.a)(R,D);var M=A(R);function R(F){var B;return Object(d.a)(this,R),B=M.call(this,F),B.saveTextArea=function(z){B.textArea=z},B.handleResize=function(z){var U=B.state.resizeStatus,K=B.props,W=K.autoSize,H=K.onResize;if(U!==S.NONE)return;typeof H=="function"&&H(z),W&&B.resizeOnNextFrame()},B.resizeOnNextFrame=function(){cancelAnimationFrame(B.nextFrameActionId),B.nextFrameActionId=requestAnimationFrame(B.resizeTextarea)},B.resizeTextarea=function(){var z=B.props.autoSize;if(!z||!B.textArea)return;var U=z.minRows,K=z.maxRows,W=i(B.textArea,!1,U,K);B.setState({textareaStyles:W,resizeStatus:S.RESIZING},function(){cancelAnimationFrame(B.resizeFrameId),B.resizeFrameId=requestAnimationFrame(function(){B.setState({resizeStatus:S.RESIZED},function(){B.resizeFrameId=requestAnimationFrame(function(){B.setState({resizeStatus:S.NONE}),B.fixFirefoxAutoScroll()})})})})},B.renderTextArea=function(){var z=B.props,U=z.prefixCls,K=U===void 0?"rc-textarea":U,W=z.autoSize,H=z.onResize,Y=z.className,Q=z.disabled,P=B.state,G=P.textareaStyles,J=P.resizeStatus,he=Object(t.default)(B.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),te=s()(K,Y,Object(f.a)({},"".concat(K,"-disabled"),Q));"value"in he&&(he.value=he.value||"");var pe=p(p(p({},B.props.style),G),J===S.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return w.createElement(a.a,{onResize:B.handleResize,disabled:!(W||H)},w.createElement("textarea",Object.assign({},he,{className:te,style:pe,ref:B.saveTextArea})))},B.state={textareaStyles:{},resizeStatus:S.NONE},B}return Object(L.a)(R,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(B){B.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var B=this.textArea.selectionStart,z=this.textArea.selectionEnd;this.textArea.setSelectionRange(B,z)}}catch(U){}}},{key:"render",value:function(){return this.renderTextArea()}}]),R}(w.Component),O=E;function T(D){var M=b();return function(){var F=Object(y.a)(D),B;if(M){var z=Object(y.a)(this).constructor;B=Reflect.construct(F,arguments,z)}else B=F.apply(this,arguments);return Object(m.a)(this,B)}}function b(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(D){return!1}}var x=function(D){Object(v.a)(R,D);var M=T(R);function R(F){var B;Object(d.a)(this,R),B=M.call(this,F),B.focus=function(){B.resizableTextArea.textArea.focus()},B.saveTextArea=function(U){B.resizableTextArea=U},B.handleChange=function(U){var K=B.props.onChange;B.setValue(U.target.value,function(){B.resizableTextArea.resizeTextarea()}),K&&K(U)},B.handleKeyDown=function(U){var K=B.props,W=K.onPressEnter,H=K.onKeyDown;U.keyCode===13&&W&&W(U),H&&H(U)};var z=typeof F.value=="undefined"||F.value===null?F.defaultValue:F.value;return B.state={value:z},B}return Object(L.a)(R,[{key:"setValue",value:function(B,z){"value"in this.props||this.setState({value:B},z)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return w.createElement(O,Object.assign({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(B){return"value"in B?{value:B.value}:null}}]),R}(w.Component),N=_.default=x},dkS1:function(Z,_,e){"use strict";var d=e("7iVm");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var L=d(e("Eqs+")),v=d(e("C+fK")),m=d(e("a8Pw")),y={lang:(0,L.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"]},v.default),timePickerLocale:(0,L.default)({},m.default)};y.lang.ok="\u786E \u5B9A";var w=y;_.default=w},dkST:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="MinusCircleOutlined";var w=_.a=d.forwardRef(y)},dqKt:function(Z,_,e){var d=e("oEo5"),L={get:function(y,w,f){var a=d.clone((v[y]||{})[w]);return f&&d.isArray(a)?a[a.length-1]:a}},v={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},m=L;Z.exports=m},e3vW:function(Z,_,e){var d=e("65wg");function L(){this.__data__=new d,this.size=0}Z.exports=L},e6iB:function(Z,_,e){var d=e("oEo5");function L(m,y){return d.map(["Radius","Angle"],function(w,f){var a=this["get"+w+"Axis"](),t=y[f],o=m[f]/2,s="dataTo"+w,l=a.type==="category"?a.getBandWidth():Math.abs(a[s](t-o)-a[s](t+o));return w==="Angle"&&(l=l*Math.PI/180),l},this)}function v(m){var y=m.getRadiusAxis(),w=m.getAngleAxis(),f=y.getExtent();return f[0]>f[1]&&f.reverse(),{coordSys:{type:"polar",cx:m.cx,cy:m.cy,r:f[1],r0:f[0]},api:{coord:d.bind(function(a){var t=y.dataToRadius(a[0]),o=w.dataToAngle(a[1]),s=m.coordToPoint([t,o]);return s.push(t,o*Math.PI/180),s}),size:d.bind(L,m)}}}Z.exports=v},e8AC:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};_.default=d},eGHz:function(Z,_,e){var d=e("oEo5"),L=d.each,v=d.createHashMap,m=e("+Vnd"),y=e("kcRU"),w=m.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,o){var s=this.getSource();return f(s,this),y(s,this)},getRawIndicesByActiveState:function(t){var o=this.coordinateSystem,s=this.getData(),l=[];return o.eachActiveState(s,function(n,c){t===n&&l.push(s.getRawIndex(c))}),l},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function f(t,o){if(t.encodeDefine)return;var s=o.ecModel.getComponent("parallel",o.get("parallelIndex"));if(!s)return;var l=t.encodeDefine=v();L(s.dimensions,function(n){var c=a(n);l.set(n,c)})}function a(t){return+t.replace("dim","")}Z.exports=w},eJOh:function(Z,_,e){var d=e("oEo5"),L=e("F2Ao"),v=e("EgZf"),m=e("QV7q"),y=m.makeInner,w=y();function f(t,o){o=o||[0,360],v.call(this,"angle",t,o),this.type="category"}f.prototype={constructor:f,pointToData:function(t,o){return this.polar.pointToData(t,o)[this.dim==="radius"?0:1]},dataToAngle:v.prototype.dataToCoord,angleToData:v.prototype.coordToData,calculateCategoryInterval:function(){var t=this,o=t.getLabelModel(),s=t.scale,l=s.getExtent(),n=s.count();if(l[1]-l[0]<1)return 0;var c=l[0],r=t.dataToCoord(c+1)-t.dataToCoord(c),u=Math.abs(r),i=L.getBoundingRect(c,o.getFont(),"center","top"),h=Math.max(i.height,7),p=h/u;isNaN(p)&&(p=Infinity);var A=Math.max(0,Math.floor(p)),C=w(t.model),S=C.lastAutoInterval,E=C.lastTickCount;return S!=null&&E!=null&&Math.abs(S-A)<=1&&Math.abs(E-n)<=1&&S>A?A=S:(C.lastTickCount=n,C.lastAutoInterval=A),A}},d.inherits(f,v);var a=f;Z.exports=a},eQBP:function(Z,_,e){},eTqi:function(Z,_,e){var d=e("tcMs"),L=1,v=Object.prototype,m=v.hasOwnProperty;function y(w,f,a,t,o,s){var l=a&L,n=d(w),c=n.length,r=d(f),u=r.length;if(c!=u&&!l)return!1;for(var i=c;i--;){var h=n[i];if(!(l?h in f:m.call(f,h)))return!1}var p=s.get(w),A=s.get(f);if(p&&A)return p==f&&A==w;var C=!0;s.set(w,f),s.set(f,w);for(var S=l;++i<c;){h=n[i];var E=w[h],O=f[h];if(t)var T=l?t(O,E,h,f,w,s):t(E,O,h,w,f,s);if(!(T===void 0?E===O||o(E,O,a,t,s):T)){C=!1;break}S||(S=h=="constructor")}if(C&&!S){var b=w.constructor,x=f.constructor;b!=x&&"constructor"in w&&"constructor"in f&&!(typeof b=="function"&&b instanceof b&&typeof x=="function"&&x instanceof x)&&(C=!1)}return s.delete(w),s.delete(f),C}Z.exports=y},eZvc:function(Z,_,e){var d=e("oEo5"),L=e("zYjg");function v(y,w,f,a){var t=f.axis;if(t.scale.isBlank())return;var o=f.getModel("splitArea"),s=o.getModel("areaStyle"),l=s.get("color"),n=a.coordinateSystem.getRect(),c=t.getTicksCoords({tickModel:o,clamp:!0});if(!c.length)return;var r=l.length,u=y.__splitAreaColors,i=d.createHashMap(),h=0;if(u)for(var p=0;p<c.length;p++){var A=u.get(c[p].tickValue);if(A!=null){h=(A+(r-1)*p)%r;break}}var C=t.toGlobalCoord(c[0].coord),S=s.getAreaStyle();l=d.isArray(l)?l:[l];for(var p=1;p<c.length;p++){var E=t.toGlobalCoord(c[p].coord),O,T,b,x;t.isHorizontal()?(O=C,T=n.y,b=E-O,x=n.height,C=O+b):(O=n.x,T=C,b=n.width,x=E-T,C=T+x);var N=c[p-1].tickValue;N!=null&&i.set(N,h),w.add(new L.Rect({anid:N!=null?"area_"+N:null,shape:{x:O,y:T,width:b,height:x},style:d.defaults({fill:l[h]},S),silent:!0})),h=(h+1)%r}y.__splitAreaColors=i}function m(y){y.__splitAreaColors=null}_.rectCoordAxisBuildSplitArea=v,_.rectCoordAxisHandleRemove=m},eq6X:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("ZZRV"),m=e.n(v),y=e("zjzt"),w=e("FGJx"),f=e("o0AO"),a=e("uwZC"),t=e("MRRG"),o=e("GY0J"),s=e("vSEn"),l=e("iczh"),n=e.n(l),c=e("ggzp");function r(K){var W=K.pageXOffset,H="scrollLeft";if(typeof W!="number"){var Y=K.document;W=Y.documentElement[H],typeof W!="number"&&(W=Y.body[H])}return W}function u(K){var W,H,Y=K.ownerDocument,Q=Y.body,P=Y&&Y.documentElement,G=K.getBoundingClientRect();return W=G.left,H=G.top,W-=P.clientLeft||Q.clientLeft||0,H-=P.clientTop||Q.clientTop||0,{left:W,top:H}}function i(K){var W=u(K),H=K.ownerDocument,Y=H.defaultView||H.parentWindow;return W.left+=r(Y),W.left}function h(K){var W=p();return function(){var Y=Object(o.a)(K),Q;if(W){var P=Object(o.a)(this).constructor;Q=Reflect.construct(Y,arguments,P)}else Q=Y.apply(this,arguments);return Object(t.a)(this,Q)}}function p(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(K){return!1}}var A=function(K){Object(a.a)(H,K);var W=h(H);function H(){var Y;return Object(w.a)(this,H),Y=W.apply(this,arguments),Y.onHover=function(Q){var P=Y.props,G=P.onHover,J=P.index;G(Q,J)},Y.onClick=function(Q){var P=Y.props,G=P.onClick,J=P.index;G(Q,J)},Y.onKeyDown=function(Q){var P=Y.props,G=P.onClick,J=P.index;Q.keyCode===13&&G(Q,J)},Y}return Object(f.a)(H,[{key:"getClassName",value:function(){var Q=this.props,P=Q.prefixCls,G=Q.index,J=Q.value,he=Q.allowHalf,te=Q.focused,pe=G+1,we=P;return J===0&&G===0&&te?we+=" ".concat(P,"-focused"):he&&J+.5>=pe&&J<pe?(we+=" ".concat(P,"-half ").concat(P,"-active"),te&&(we+=" ".concat(P,"-focused"))):(we+=pe<=J?" ".concat(P,"-full"):" ".concat(P,"-zero"),pe===J&&te&&(we+=" ".concat(P,"-focused"))),we}},{key:"render",value:function(){var Q=this.onHover,P=this.onClick,G=this.onKeyDown,J=this.props,he=J.disabled,te=J.prefixCls,pe=J.character,we=J.characterRender,be=J.index,Qe=J.count,$e=J.value,yt=typeof pe=="function"?pe(this.props):pe,Fe=m.a.createElement("li",{className:this.getClassName()},m.a.createElement("div",{onClick:he?null:P,onKeyDown:he?null:G,onMouseMove:he?null:Q,role:"radio","aria-checked":$e>be?"true":"false","aria-posinset":be+1,"aria-setsize":Qe,tabIndex:he?-1:0},m.a.createElement("div",{className:"".concat(te,"-first")},yt),m.a.createElement("div",{className:"".concat(te,"-second")},yt)));return we&&(Fe=we(Fe,this.props)),Fe}}]),H}(m.a.Component);function C(K,W){var H=Object.keys(K);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(K);W&&(Y=Y.filter(function(Q){return Object.getOwnPropertyDescriptor(K,Q).enumerable})),H.push.apply(H,Y)}return H}function S(K){for(var W=1;W<arguments.length;W++){var H=arguments[W]!=null?arguments[W]:{};W%2?C(Object(H),!0).forEach(function(Y){Object(y.a)(K,Y,H[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(K,Object.getOwnPropertyDescriptors(H)):C(Object(H)).forEach(function(Y){Object.defineProperty(K,Y,Object.getOwnPropertyDescriptor(H,Y))})}return K}function E(K){var W=O();return function(){var Y=Object(o.a)(K),Q;if(W){var P=Object(o.a)(this).constructor;Q=Reflect.construct(Y,arguments,P)}else Q=Y.apply(this,arguments);return Object(t.a)(this,Q)}}function O(){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(K){return!1}}function T(){}var b=function(K){Object(a.a)(H,K);var W=E(H);function H(Y){var Q;Object(w.a)(this,H),Q=W.call(this,Y),Q.onHover=function(G,J){var he=Q.props.onHoverChange,te=Q.getStarValue(J,G.pageX),pe=Q.state.cleanedValue;te!==pe&&Q.setState({hoverValue:te,cleanedValue:null}),he(te)},Q.onMouseLeave=function(){var G=Q.props.onHoverChange;Q.setState({hoverValue:void 0,cleanedValue:null}),G(void 0)},Q.onClick=function(G,J){var he=Q.props.allowClear,te=Q.state.value,pe=Q.getStarValue(J,G.pageX),we=!1;he&&(we=pe===te),Q.onMouseLeave(),Q.changeValue(we?0:pe),Q.setState({cleanedValue:we?pe:null})},Q.onFocus=function(){var G=Q.props.onFocus;Q.setState({focused:!0}),G&&G()},Q.onBlur=function(){var G=Q.props.onBlur;Q.setState({focused:!1}),G&&G()},Q.onKeyDown=function(G){var J=G.keyCode,he=Q.props,te=he.count,pe=he.allowHalf,we=he.onKeyDown,be=he.direction,Qe=be==="rtl",$e=Q.state.value;J===c.a.RIGHT&&$e<te&&!Qe?(pe?$e+=.5:$e+=1,Q.changeValue($e),G.preventDefault()):J===c.a.LEFT&&$e>0&&!Qe||J===c.a.RIGHT&&$e>0&&Qe?(pe?$e-=.5:$e-=1,Q.changeValue($e),G.preventDefault()):J===c.a.LEFT&&$e<te&&Qe&&(pe?$e+=.5:$e+=1,Q.changeValue($e),G.preventDefault()),we&&we(G)},Q.saveRef=function(G){return function(J){Q.stars[G]=J}},Q.saveRate=function(G){Q.rate=G};var P=Y.value;return P===void 0&&(P=Y.defaultValue),Q.stars={},Q.state={value:P,focused:!1,cleanedValue:null},Q}return Object(f.a)(H,[{key:"componentDidMount",value:function(){var Q=this.props,P=Q.autoFocus,G=Q.disabled;P&&!G&&this.focus()}},{key:"getStarDOM",value:function(Q){return Object(s.a)(this.stars[Q])}},{key:"getStarValue",value:function(Q,P){var G=this.props,J=G.allowHalf,he=G.direction,te=he==="rtl",pe=Q+1;if(J){var we=this.getStarDOM(Q),be=i(we),Qe=we.clientWidth;(te&&P-be>Qe/2||!te&&P-be<Qe/2)&&(pe-=.5)}return pe}},{key:"focus",value:function(){var Q=this.props.disabled;Q||this.rate.focus()}},{key:"blur",value:function(){var Q=this.props.disabled;Q||this.rate.blur()}},{key:"changeValue",value:function(Q){var P=this.props.onChange;"value"in this.props||this.setState({value:Q}),P(Q)}},{key:"render",value:function(){for(var Q=this.props,P=Q.count,G=Q.allowHalf,J=Q.style,he=Q.prefixCls,te=Q.disabled,pe=Q.className,we=Q.character,be=Q.characterRender,Qe=Q.tabIndex,$e=Q.direction,yt=this.state,Fe=yt.value,Pe=yt.hoverValue,gt=yt.focused,it=[],qe=te?"".concat(he,"-disabled"):"",At=0;At<P;At+=1)it.push(m.a.createElement(A,{ref:this.saveRef(At),index:At,count:P,disabled:te,prefixCls:"".concat(he,"-star"),allowHalf:G,value:Pe===void 0?Fe:Pe,onClick:this.onClick,onHover:this.onHover,key:At,character:we,characterRender:be,focused:gt}));var dt=n()(he,qe,pe,Object(y.a)({},"".concat(he,"-rtl"),$e==="rtl"));return m.a.createElement("ul",{className:dt,style:J,onMouseLeave:te?null:this.onMouseLeave,tabIndex:te?-1:Qe,onFocus:te?null:this.onFocus,onBlur:te?null:this.onBlur,onKeyDown:te?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},it)}}],[{key:"getDerivedStateFromProps",value:function(Q,P){return"value"in Q&&Q.value!==void 0?S(S({},P),{},{value:Q.value}):P}}]),H}(m.a.Component);b.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:T,character:"\u2605",onHoverChange:T,tabIndex:0,direction:"ltr"};var x=b,N=x,D=e("M1CE"),M=e.n(D),R=e("NiCL"),F=e("LpVx"),B=function(K,W){var H={};for(var Y in K)Object.prototype.hasOwnProperty.call(K,Y)&&W.indexOf(Y)<0&&(H[Y]=K[Y]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,Y=Object.getOwnPropertySymbols(K);Q<Y.length;Q++)W.indexOf(Y[Q])<0&&Object.prototype.propertyIsEnumerable.call(K,Y[Q])&&(H[Y[Q]]=K[Y[Q]]);return H},z=v.forwardRef(function(K,W){var H=K.prefixCls,Y=K.tooltips,Q=B(K,["prefixCls","tooltips"]),P=function(we,be){var Qe=be.index;return Y?v.createElement(R.a,{title:Y[Qe]},we):we},G=v.useContext(F.b),J=G.getPrefixCls,he=G.direction,te=J("rate",H);return v.createElement(N,L()({ref:W,characterRender:P},Q,{prefixCls:te,direction:he}))});z.displayName="Rate",z.defaultProps={character:v.createElement(M.a,null)};var U=_.a=z},fElU:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("M8mw"),m=e.n(v)},fEzB:function(Z,_,e){var d=e("1JkX");function L(m){this._setting=m||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}L.prototype.parse=function(m){return m},L.prototype.getSetting=function(m){return this._setting[m]},L.prototype.contain=function(m){var y=this._extent;return m>=y[0]&&m<=y[1]},L.prototype.normalize=function(m){var y=this._extent;return y[1]===y[0]?.5:(m-y[0])/(y[1]-y[0])},L.prototype.scale=function(m){var y=this._extent;return m*(y[1]-y[0])+y[0]},L.prototype.unionExtent=function(m){var y=this._extent;m[0]<y[0]&&(y[0]=m[0]),m[1]>y[1]&&(y[1]=m[1])},L.prototype.unionExtentFromData=function(m,y){this.unionExtent(m.getApproximateExtent(y))},L.prototype.getExtent=function(){return this._extent.slice()},L.prototype.setExtent=function(m,y){var w=this._extent;isNaN(m)||(w[0]=m),isNaN(y)||(w[1]=y)},L.prototype.isBlank=function(){return this._isBlank},L.prototype.setBlank=function(m){this._isBlank=m},L.prototype.getLabel=null,d.enableClassExtend(L),d.enableClassManagement(L,{registerWhenExtend:!0});var v=L;Z.exports=v},fSdY:function(Z,_,e){var d=e("oEo5"),L=e("Jjzi"),v=e("/j53"),m=e("BuVp"),y=d.each,w=L.asc,f=function(n,c,r,u){this._dimName=n,this._axisIndex=c,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=u,this._dataZoomModel=r};f.prototype={constructor:f,hostedBy:function(n){return this._dataZoomModel===n},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var n=[],c=this.ecModel;return c.eachSeries(function(r){if(v.isCoordSupported(r.get("coordinateSystem"))){var u=this._dimName,i=c.queryComponents({mainType:u+"Axis",index:r.get(u+"AxisIndex"),id:r.get(u+"AxisId")})[0];this._axisIndex===(i&&i.componentIndex)&&n.push(r)}},this),n},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var n=this._dimName,c=this.ecModel,r=this.getAxisModel(),u=n==="x"||n==="y",i,h;u?(h="gridIndex",i=n==="x"?"y":"x"):(h="polarIndex",i=n==="angle"?"radius":"angle");var p;return c.eachComponent(i+"Axis",function(A){(A.get(h)||0)===(r.get(h)||0)&&(p=A)}),p},getMinMaxSpan:function(){return d.clone(this._minMaxSpan)},calculateDataWindow:function(n){var c=this._dataExtent,r=this.getAxisModel(),u=r.axis.scale,i=this._dataZoomModel.getRangePropMode(),h=[0,100],p=[],A=[],C;y(["start","end"],function(O,T){var b=n[O],x=n[O+"Value"];i[T]==="percent"?(b==null&&(b=h[T]),x=u.parse(L.linearMap(b,h,c))):(C=!0,x=x==null?c[T]:u.parse(x),b=L.linearMap(x,c,h)),A[T]=x,p[T]=b}),w(A),w(p);var S=this._minMaxSpan;C?E(A,p,c,h,!1):E(p,A,h,c,!0);function E(O,T,b,x,N){var D=N?"Span":"ValueSpan";m(0,O,b,"all",S["min"+D],S["max"+D]);for(var M=0;M<2;M++)T[M]=L.linearMap(O[M],b,x,!0),N&&(T[M]=u.parse(T[M]))}return{valueWindow:A,percentWindow:p}},reset:function(n){if(n!==this._dataZoomModel)return;var c=this.getTargetSeriesModels();this._dataExtent=a(this,this._dimName,c),s(this);var r=this.calculateDataWindow(n.settledOption);this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,o(this)},restore:function(n){if(n!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,o(this,!0)},filterData:function(n,c){if(n!==this._dataZoomModel)return;var r=this._dimName,u=this.getTargetSeriesModels(),i=n.get("filterMode"),h=this._valueWindow;if(i==="none")return;y(u,function(A){var C=A.getData(),S=C.mapDimension(r,!0);if(!S.length)return;i==="weakFilter"?C.filterSelf(function(E){for(var O,T,b,x=0;x<S.length;x++){var N=C.get(S[x],E),D=!isNaN(N),M=N<h[0],R=N>h[1];if(D&&!M&&!R)return!0;D&&(b=!0),M&&(O=!0),R&&(T=!0)}return b&&O&&T}):y(S,function(E){if(i==="empty")A.setData(C=C.map(E,function(T){return p(T)?T:NaN}));else{var O={};O[E]=h,C.selectRange(O)}}),y(S,function(E){C.setApproximateExtent(h,E)})});function p(A){return A>=h[0]&&A<=h[1]}}};function a(n,c,r){var u=[Infinity,-Infinity];return y(r,function(i){var h=i.getData();h&&y(h.mapDimension(c,!0),function(p){var A=h.getApproximateExtent(p);A[0]<u[0]&&(u[0]=A[0]),A[1]>u[1]&&(u[1]=A[1])})}),u[1]<u[0]&&(u=[NaN,NaN]),t(n,u),u}function t(n,c){var r=n.getAxisModel(),u=r.getMin(!0),i=r.get("type")==="category",h=i&&r.getCategories().length;u!=null&&u!=="dataMin"&&typeof u!="function"?c[0]=u:i&&(c[0]=h>0?0:NaN);var p=r.getMax(!0);return p!=null&&p!=="dataMax"&&typeof p!="function"?c[1]=p:i&&(c[1]=h>0?h-1:NaN),r.get("scale",!0)||(c[0]>0&&(c[0]=0),c[1]<0&&(c[1]=0)),c}function o(n,c){var r=n.getAxisModel(),u=n._percentWindow,i=n._valueWindow;if(!u)return;var h=L.getPixelPrecision(i,[0,500]);h=Math.min(h,20);var p=c||u[0]===0&&u[1]===100;r.setRange(p?null:+i[0].toFixed(h),p?null:+i[1].toFixed(h))}function s(n){var c=n._minMaxSpan={},r=n._dataZoomModel,u=n._dataExtent;y(["min","max"],function(i){var h=r.get(i+"Span"),p=r.get(i+"ValueSpan");p!=null&&(p=n.getAxisModel().axis.scale.parse(p)),p!=null?h=L.linearMap(u[0]+p,u,[0,100],!0):h!=null&&(p=L.linearMap(h,[0,100],u,!0)-u[0]),c[i+"Span"]=h,c[i+"ValueSpan"]=p})}var l=f;Z.exports=l},fU0r:function(Z,_,e){"use strict";var d=e("ZZRV"),L=e.n(d),v=e("iczh"),m=e.n(v),y=function(f){var a=f.className,t=f.customizeIcon,o=f.customizeIconProps,s=f.onMouseDown,l=f.onClick,n=f.children,c;return typeof t=="function"?c=t(o):c=t,d.createElement("span",{className:a,onMouseDown:function(u){u.preventDefault(),s&&s(u)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},c!==void 0?c:d.createElement("span",{className:m()(a.split(/\s+/).map(function(r){return"".concat(r,"-icon")}))},n))};_.a=y},fhRw:function(Z,_,e){var d=e("OkCp"),L=d.Global;Z.exports={name:"oldFF-globalStorage",read:m,write:y,each:w,remove:f,clearAll:a};var v=L.globalStorage;function m(t){return v[t]}function y(t,o){v[t]=o}function w(t){for(var o=v.length-1;o>=0;o--){var s=v.key(o);t(v[s],s)}}function f(t){return v.removeItem(t)}function a(){w(function(t,o){delete v[t]})}},fk9j:function(Z,_,e){var d=e("Q6Bq");d.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),d.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},fllp:function(Z,_,e){var d=e("oEo5"),L="-->",v=function(n){return n.get("autoCurveness")||null},m=function(n,c){var r=v(n),u=20,i=[];if(typeof r=="number")u=r;else if(d.isArray(r)){n.__curvenessList=r;return}c>u&&(u=c);var h=u%2?u+2:u+3;i=[];for(var p=0;p<h;p++)i.push((p%2?p+1:p)/10*(p%2?-1:1));n.__curvenessList=i},y=function(n,c,r){var u=[n.id,n.dataIndex].join("."),i=[c.id,c.dataIndex].join(".");return[r.uid,u,i].join(L)},w=function(n){var c=n.split(L);return[c[0],c[2],c[1]].join(L)},f=function(n,c){var r=y(n.node1,n.node2,c);return c.__edgeMap[r]},a=function(n,c){var r=t(y(n.node1,n.node2,c),c),u=t(y(n.node2,n.node1,c),c);return r+u},t=function(n,c){var r=c.__edgeMap;return r[n]?r[n].length:0};function o(n){if(!v(n))return;n.__curvenessList=[],n.__edgeMap={},m(n)}function s(n,c,r,u){if(!v(r))return;var i=y(n,c,r),h=r.__edgeMap,p=h[w(i)];h[i]&&!p?h[i].isForward=!0:p&&h[i]&&(p.isForward=!0,h[i].isForward=!1),h[i]=h[i]||[],h[i].push(u)}function l(n,c,r,u){var i=v(c),h=d.isArray(i);if(!i)return null;var p=f(n,c);if(!p)return null;for(var A=-1,C=0;C<p.length;C++)if(p[C]===r){A=C;break}var S=a(n,c);m(c,S),n.lineStyle=n.lineStyle||{};var E=y(n.node1,n.node2,c),O=c.__curvenessList,T=h||S%2?0:1;if(p.isForward)return O[T+A];var b=w(E),x=t(b,c),N=O[A+x+T];return u?h?i&&i[0]===0?(x+T)%2?N:-N:((x%2?0:1)+T)%2?N:-N:(x+T)%2?N:-N:O[A+x+T]}_.initCurvenessList=o,_.createEdgeMapForCurveness=s,_.getCurvenessForEdge=l},fnyN:function(Z,_,e){var d=e("Q6Bq"),L=e("ycch"),v="sunburstRootToNode";d.registerAction({type:v,update:"updateView"},function(w,f){f.eachComponent({mainType:"series",subType:"sunburst",query:w},a);function a(t,o){var s=L.retrieveTargetInfo(w,[v],t);if(s){var l=t.getViewRoot();l&&(w.direction=L.aboveViewRoot(l,s.node)?"rollUp":"drillDown"),t.resetViewRoot(s.node)}}});var m="sunburstHighlight";d.registerAction({type:m,update:"updateView"},function(w,f){f.eachComponent({mainType:"series",subType:"sunburst",query:w},a);function a(t,o){var s=L.retrieveTargetInfo(w,[m],t);s&&(w.highlight=s.node)}});var y="sunburstUnhighlight";d.registerAction({type:y,update:"updateView"},function(w,f){f.eachComponent({mainType:"series",subType:"sunburst",query:w},a);function a(t,o){w.unhighlight=!0}})},fuH6:function(Z,_){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function d(L,v){if(L==="world"){var m=e[v.name];if(m){var y=v.center;y[0]=m[0],y[1]=m[1]}}}Z.exports=d},fwQ7:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};_.default=d},"g+/F":function(Z,_){var e=function(v,m){this.image=v,this.repeat=m,this.type="pattern"};e.prototype.getCanvasPattern=function(L){return L.createPattern(this.image,this.repeat||"repeat")};var d=e;Z.exports=d},g48a:function(Z,_,e){var d=e("+Vnd"),L=e("kcRU"),v=e("kN/v"),m=d.extend({type:"series.heatmap",getInitialData:function(y,w){return L(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var y=v.get(this.get("coordinateSystem"));if(y&&y.dimensions)return y.dimensions[0]==="lng"&&y.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});Z.exports=m},"gI//":function(Z,_,e){var d=e("CQhY"),L=e("IQq/"),v=e("zYjg"),m=e("FiFR"),y=e("4uqo"),w=e("giN5"),f=e("cLjh"),a=L.extend({makeElOption:function(l,n,c,r,u){var i=c.axis;i.dim==="angle"&&(this.animationThreshold=Math.PI/18);var h=i.polar,p=h.getOtherAxis(i),A=p.getExtent(),C;C=i["dataTo"+d.capitalFirst(i.dim)](n);var S=r.get("type");if(S&&S!=="none"){var E=m.buildElStyle(r),O=o[S](i,h,C,A,E);O.style=E,l.graphicKey=O.type,l.pointer=O}var T=r.get("label.margin"),b=t(n,c,r,h,T);m.buildLabelElOption(l,c,r,u,b)}});function t(l,n,c,r,u){var i=n.axis,h=i.dataToCoord(l),p=r.getAngleAxis().getExtent()[0];p=p/180*Math.PI;var A=r.getRadiusAxis().getExtent(),C,S,E;if(i.dim==="radius"){var O=y.create();y.rotate(O,O,p),y.translate(O,O,[r.cx,r.cy]),C=v.applyTransform([h,-u],O);var T=n.getModel("axisLabel").get("rotate")||0,b=w.innerTextLayout(p,T*Math.PI/180,-1);S=b.textAlign,E=b.textVerticalAlign}else{var x=A[1];C=r.coordToPoint([x+u,h]);var N=r.cx,D=r.cy;S=Math.abs(C[0]-N)/x<.3?"center":C[0]>N?"left":"right",E=Math.abs(C[1]-D)/x<.3?"middle":C[1]>D?"top":"bottom"}return{position:C,align:S,verticalAlign:E}}var o={line:function(l,n,c,r,u){return l.dim==="angle"?{type:"Line",shape:m.makeLineShape(n.coordToPoint([r[0],c]),n.coordToPoint([r[1],c]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:c}}},shadow:function(l,n,c,r,u){var i=Math.max(1,l.getBandWidth()),h=Math.PI/180;return l.dim==="angle"?{type:"Sector",shape:m.makeSectorShape(n.cx,n.cy,r[0],r[1],(-c-i/2)*h,(-c+i/2)*h)}:{type:"Sector",shape:m.makeSectorShape(n.cx,n.cy,c-i/2,c+i/2,0,Math.PI*2)}}};f.registerAxisPointerClass("PolarAxisPointer",a);var s=a;Z.exports=s},"gMB+":function(Z,_,e){var d=e("JqtM"),L=d.devicePixelRatio,v=e("oEo5"),m=e("86p4"),y=e("ie0D"),w=e("AMOU"),f=e("NOCy"),a=e("PvHz"),t=e("vOhS"),o=e("gyjJ"),s=1e5,l=314159,n=.01,c=.001;function r(T){return parseInt(T,10)}function u(T){return T?T.__builtin__?!0:!(typeof T.resize!="function"||typeof T.refresh!="function"):!1}var i=new y(0,0,0,0),h=new y(0,0,0,0);function p(T,b,x){return i.copy(T.getBoundingRect()),T.transform&&i.applyTransform(T.transform),h.width=b,h.height=x,!i.intersect(h)}function A(T,b){if(T===b)return!1;if(!T||!b||T.length!==b.length)return!0;for(var x=0;x<T.length;x++)if(T[x]!==b[x])return!0;return!1}function C(T,b){for(var x=0;x<T.length;x++){var N=T[x];N.setTransform(b),b.beginPath(),N.buildPath(b,N.shape),b.clip(),N.restoreTransform(b)}}function S(T,b){var x=document.createElement("div");return x.style.cssText=["position:relative","width:"+T+"px","height:"+b+"px","padding:0","margin:0","border-width:0"].join(";")+";",x}var E=function(b,x,N){this.type="canvas";var D=!b.nodeName||b.nodeName.toUpperCase()==="CANVAS";this._opts=N=v.extend({},N||{}),this.dpr=N.devicePixelRatio||L,this._singleCanvas=D,this.root=b;var M=b.style;M&&(M["-webkit-tap-highlight-color"]="transparent",M["-webkit-user-select"]=M["user-select"]=M["-webkit-touch-callout"]="none",b.innerHTML=""),this.storage=x;var R=this._zlevelList=[],F=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,D){var z=b.width,U=b.height;N.width!=null&&(z=N.width),N.height!=null&&(U=N.height),this.dpr=N.devicePixelRatio||1,b.width=z*this.dpr,b.height=U*this.dpr,this._width=z,this._height=U;var K=new f(b,this,this.dpr);K.__builtin__=!0,K.initContext(),F[l]=K,K.zlevel=l,R.push(l),this._domRoot=b}else{this._width=this._getSize(0),this._height=this._getSize(1);var B=this._domRoot=S(this._width,this._height);b.appendChild(B)}this._hoverlayer=null,this._hoverElements=[]};E.prototype={constructor:E,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var b=this.getViewportRoot();if(b)return{offsetLeft:b.offsetLeft||0,offsetTop:b.offsetTop||0}},refresh:function(b){var x=this.storage.getDisplayList(!0),N=this._zlevelList;this._redrawId=Math.random(),this._paintList(x,b,this._redrawId);for(var D=0;D<N.length;D++){var M=N[D],R=this._layers[M];if(!R.__builtin__&&R.refresh){var F=D===0?this._backgroundColor:null;R.refresh(F)}}return this.refreshHover(),this},addHover:function(b,x){if(b.__hoverMir)return;var N=new b.constructor({style:b.style,shape:b.shape,z:b.z,z2:b.z2,silent:b.silent});return N.__from=b,b.__hoverMir=N,x&&N.setStyle(x),this._hoverElements.push(N),N},removeHover:function(b){var x=b.__hoverMir,N=this._hoverElements,D=v.indexOf(N,x);D>=0&&N.splice(D,1),b.__hoverMir=null},clearHover:function(b){for(var x=this._hoverElements,N=0;N<x.length;N++){var D=x[N].__from;D&&(D.__hoverMir=null)}x.length=0},refreshHover:function(){var b=this._hoverElements,x=b.length,N=this._hoverlayer;if(N&&N.clear(),!x)return;w(b,this.storage.displayableSortFunc),N||(N=this._hoverlayer=this.getLayer(s));var D={};N.ctx.save();for(var M=0;M<x;){var R=b[M],F=R.__from;if(!(F&&F.__zr)){b.splice(M,1),F.__hoverMir=null,x--;continue}M++,F.invisible||(R.transform=F.transform,R.invTransform=F.invTransform,R.__clipPaths=F.__clipPaths,this._doPaintEl(R,N,!0,D))}N.ctx.restore()},getHoverLayer:function(){return this.getLayer(s)},_paintList:function(b,x,N){if(this._redrawId!==N)return;x=x||!1,this._updateLayerStatus(b);var D=this._doPaintList(b,x);if(this._needsManuallyCompositing&&this._compositeManually(),!D){var M=this;a(function(){M._paintList(b,x,N)})}},_compositeManually:function(){var b=this.getLayer(l).ctx,x=this._domRoot.width,N=this._domRoot.height;b.clearRect(0,0,x,N),this.eachBuiltinLayer(function(D){D.virtual&&b.drawImage(D.dom,0,0,x,N)})},_doPaintList:function(b,x){for(var N=[],D=0;D<this._zlevelList.length;D++){var M=this._zlevelList[D],R=this._layers[M];R.__builtin__&&R!==this._hoverlayer&&(R.__dirty||x)&&N.push(R)}for(var F=!0,B=0;B<N.length;B++){var R=N[B],z=R.ctx,U={};z.save();var K=x?R.__startIndex:R.__drawIndex,W=!x&&R.incremental&&Date.now,H=W&&Date.now(),Y=R.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(R.__startIndex===R.__endIndex)R.clear(!1,Y);else if(K===R.__startIndex){var Q=b[K];(!Q.incremental||!Q.notClear||x)&&R.clear(!1,Y)}K===-1&&(console.error("For some unknown reason. drawIndex is -1"),K=R.__startIndex);for(var P=K;P<R.__endIndex;P++){var G=b[P];if(this._doPaintEl(G,R,x,U),G.__dirty=G.__dirtyText=!1,W){var J=Date.now()-H;if(J>15)break}}R.__drawIndex=P,R.__drawIndex<R.__endIndex&&(F=!1),U.prevElClipPaths&&z.restore(),z.restore()}return o.wxa&&v.each(this._layers,function(he){he&&he.ctx&&he.ctx.draw&&he.ctx.draw()}),F},_doPaintEl:function(b,x,N,D){var M=x.ctx,R=b.transform;if((x.__dirty||N)&&!b.invisible&&b.style.opacity!==0&&!(R&&!R[0]&&!R[3])&&!(b.culling&&p(b,this._width,this._height))){var F=b.__clipPaths,B=D.prevElClipPaths;(!B||A(F,B))&&(B&&(M.restore(),D.prevElClipPaths=null,D.prevEl=null),F&&(M.save(),C(F,M),D.prevElClipPaths=F)),b.beforeBrush&&b.beforeBrush(M),b.brush(M,D.prevEl||null),D.prevEl=b,b.afterBrush&&b.afterBrush(M)}},getLayer:function(b,x){this._singleCanvas&&!this._needsManuallyCompositing&&(b=l);var N=this._layers[b];return N||(N=new f("zr_"+b,this,this.dpr),N.zlevel=b,N.__builtin__=!0,this._layerConfig[b]?v.merge(N,this._layerConfig[b],!0):this._layerConfig[b-n]&&v.merge(N,this._layerConfig[b-n],!0),x&&(N.virtual=x),this.insertLayer(b,N),N.initContext()),N},insertLayer:function(b,x){var N=this._layers,D=this._zlevelList,M=D.length,R=null,F=-1,B=this._domRoot;if(N[b]){m("ZLevel "+b+" has been used already");return}if(!u(x)){m("Layer of zlevel "+b+" is not valid");return}if(M>0&&b>D[0]){for(F=0;F<M-1&&!(D[F]<b&&D[F+1]>b);F++);R=N[D[F]]}if(D.splice(F+1,0,b),N[b]=x,!x.virtual)if(R){var z=R.dom;z.nextSibling?B.insertBefore(x.dom,z.nextSibling):B.appendChild(x.dom)}else B.firstChild?B.insertBefore(x.dom,B.firstChild):B.appendChild(x.dom)},eachLayer:function(b,x){var N=this._zlevelList,D,M;for(M=0;M<N.length;M++)D=N[M],b.call(x,this._layers[D],D)},eachBuiltinLayer:function(b,x){var N=this._zlevelList,D,M,R;for(R=0;R<N.length;R++)M=N[R],D=this._layers[M],D.__builtin__&&b.call(x,D,M)},eachOtherLayer:function(b,x){var N=this._zlevelList,D,M,R;for(R=0;R<N.length;R++)M=N[R],D=this._layers[M],D.__builtin__||b.call(x,D,M)},getLayers:function(){return this._layers},_updateLayerStatus:function(b){this.eachBuiltinLayer(function(U,K){U.__dirty=U.__used=!1});function x(U){M&&(M.__endIndex!==U&&(M.__dirty=!0),M.__endIndex=U)}if(this._singleCanvas)for(var N=1;N<b.length;N++){var D=b[N];if(D.zlevel!==b[N-1].zlevel||D.incremental){this._needsManuallyCompositing=!0;break}}for(var M=null,R=0,F,N=0;N<b.length;N++){var D=b[N],B=D.zlevel,z;F!==B&&(F=B,R=0),D.incremental?(z=this.getLayer(B+c,this._needsManuallyCompositing),z.incremental=!0,R=1):z=this.getLayer(B+(R>0?n:0),this._needsManuallyCompositing),z.__builtin__||m("ZLevel "+B+" has been used by unkown layer "+z.id),z!==M&&(z.__used=!0,z.__startIndex!==N&&(z.__dirty=!0),z.__startIndex=N,z.incremental?z.__drawIndex=-1:z.__drawIndex=N,x(N),M=z),D.__dirty&&(z.__dirty=!0,z.incremental&&z.__drawIndex<0&&(z.__drawIndex=N))}x(N),this.eachBuiltinLayer(function(U,K){!U.__used&&U.getElementCount()>0&&(U.__dirty=!0,U.__startIndex=U.__endIndex=U.__drawIndex=0),U.__dirty&&U.__drawIndex<0&&(U.__drawIndex=U.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(b){b.clear()},setBackgroundColor:function(b){this._backgroundColor=b},configLayer:function(b,x){if(x){var N=this._layerConfig;N[b]?v.merge(N[b],x,!0):N[b]=x;for(var D=0;D<this._zlevelList.length;D++){var M=this._zlevelList[D];if(M===b||M===b+n){var R=this._layers[M];v.merge(R,N[b],!0)}}}},delLayer:function(b){var x=this._layers,N=this._zlevelList,D=x[b];if(!D)return;D.dom.parentNode.removeChild(D.dom),delete x[b],N.splice(v.indexOf(N,b),1)},resize:function(b,x){if(this._domRoot.style){var N=this._domRoot;N.style.display="none";var D=this._opts;if(b!=null&&(D.width=b),x!=null&&(D.height=x),b=this._getSize(0),x=this._getSize(1),N.style.display="",this._width!==b||x!==this._height){N.style.width=b+"px",N.style.height=x+"px";for(var M in this._layers)this._layers.hasOwnProperty(M)&&this._layers[M].resize(b,x);v.each(this._progressiveLayers,function(R){R.resize(b,x)}),this.refresh(!0)}this._width=b,this._height=x}else{if(b==null||x==null)return;this._width=b,this._height=x,this.getLayer(l).resize(b,x)}return this},clearLayer:function(b){var x=this._layers[b];x&&x.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(b){if(b=b||{},this._singleCanvas&&!this._compositeManually)return this._layers[l].dom;var x=new f("image",this,b.pixelRatio||this.dpr);if(x.initContext(),x.clear(!1,b.backgroundColor||this._backgroundColor),b.pixelRatio<=this.dpr){this.refresh();var N=x.dom.width,D=x.dom.height,M=x.ctx;this.eachLayer(function(U){U.__builtin__?M.drawImage(U.dom,0,0,N,D):U.renderToCanvas&&(x.ctx.save(),U.renderToCanvas(x.ctx),x.ctx.restore())})}else for(var R={},F=this.storage.getDisplayList(!0),B=0;B<F.length;B++){var z=F[B];this._doPaintEl(z,x,!0,R)}return x.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(b){var x=this._opts,N=["width","height"][b],D=["clientWidth","clientHeight"][b],M=["paddingLeft","paddingTop"][b],R=["paddingRight","paddingBottom"][b];if(x[N]!=null&&x[N]!=="auto")return parseFloat(x[N]);var F=this.root,B=document.defaultView.getComputedStyle(F);return(F[D]||r(B[N])||r(F.style[N]))-(r(B[M])||0)-(r(B[R])||0)|0},pathToImage:function(b,x){x=x||this.dpr;var N=document.createElement("canvas"),D=N.getContext("2d"),M=b.getBoundingRect(),R=b.style,F=R.shadowBlur*x,B=R.shadowOffsetX*x,z=R.shadowOffsetY*x,U=R.hasStroke()?R.lineWidth:0,K=Math.max(U/2,-B+F),W=Math.max(U/2,B+F),H=Math.max(U/2,-z+F),Y=Math.max(U/2,z+F),Q=M.width+K+W,P=M.height+H+Y;N.width=Q*x,N.height=P*x,D.scale(x,x),D.clearRect(0,0,Q,P),D.dpr=x;var G={position:b.position,rotation:b.rotation,scale:b.scale};b.position=[K-M.x,H-M.y],b.rotation=0,b.scale=[1,1],b.updateTransform(),b&&b.brush(D);var J=t,he=new J({style:{x:0,y:0,image:N}});return G.position!=null&&(he.position=b.position=G.position),G.rotation!=null&&(he.rotation=b.rotation=G.rotation),G.scale!=null&&(he.scale=b.scale=G.scale),he}};var O=E;Z.exports=O},gPqb:function(Z,_,e){var d=e("oEo5"),L=e("75Ip"),v=e("sTJb"),m=e("Fu25");function y(f){f=f||{},v.call(this,f);for(var a in f)f.hasOwnProperty(a)&&a!=="style"&&(this[a]=f[a]);this.style=new L(f.style,this),this._rect=null,this.__clipPaths=null}y.prototype={constructor:y,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(a){},afterBrush:function(a){},brush:function(a,t){},getBoundingRect:function(){},contain:function(a,t){return this.rectContain(a,t)},traverse:function(a,t){a.call(t,this)},rectContain:function(a,t){var o=this.transformCoordToLocal(a,t),s=this.getBoundingRect();return s.contain(o[0],o[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(a){return this.animate("style",a)},attrKV:function(a,t){a!=="style"?v.prototype.attrKV.call(this,a,t):this.style.set(t)},setStyle:function(a,t){return this.style.set(a,t),this.dirty(!1),this},useStyle:function(a){return this.style=new L(a,this),this.dirty(!1),this},calculateTextPosition:null},d.inherits(y,v),d.mixin(y,m);var w=y;Z.exports=w},gXXb:function(Z,_,e){var d=e("65wg"),L=e("e3vW"),v=e("l5h5"),m=e("pxya"),y=e("t9+0"),w=e("jayR");function f(a){var t=this.__data__=new d(a);this.size=t.size}f.prototype.clear=L,f.prototype.delete=v,f.prototype.get=m,f.prototype.has=y,f.prototype.set=w,Z.exports=f},gXlW:function(Z,_,e){var d=e("OkCp"),L=d.Global;Z.exports={name:"sessionStorage",read:m,write:y,each:w,remove:f,clearAll:a};function v(){return L.sessionStorage}function m(t){return v().getItem(t)}function y(t,o){return v().setItem(t,o)}function w(t){for(var o=v().length-1;o>=0;o--){var s=v().key(o);t(m(s),s)}}function f(t){return v().removeItem(t)}function a(){return v().clear()}},gaFP:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("SGPK"),m=e("P0S0"),y=e("l1R7"),w=v.valueAxis;function f(o,s){return L.defaults({show:s},o)}var a=d.extendComponentModel({type:"radar",optionUpdated:function(){var o=this.get("boundaryGap"),s=this.get("splitNumber"),l=this.get("scale"),n=this.get("axisLine"),c=this.get("axisTick"),r=this.get("axisType"),u=this.get("axisLabel"),i=this.get("name"),h=this.get("name.show"),p=this.get("name.formatter"),A=this.get("nameGap"),C=this.get("triggerEvent"),S=L.map(this.get("indicator")||[],function(E){E.max!=null&&E.max>0&&!E.min?E.min=0:E.min!=null&&E.min<0&&!E.max&&(E.max=0);var O=i;if(E.color!=null&&(O=L.defaults({color:E.color},i)),E=L.merge(L.clone(E),{boundaryGap:o,splitNumber:s,scale:l,axisLine:n,axisTick:c,axisType:r,axisLabel:u,name:E.text,nameLocation:"end",nameGap:A,nameTextStyle:O,triggerEvent:C},!1),h||(E.name=""),typeof p=="string"){var T=E.name;E.name=p.replace("{value}",T!=null?T:"")}else typeof p=="function"&&(E.name=p(E.name,E));var b=L.extend(new m(E,null,this.ecModel),y);return b.mainType="radar",b.componentIndex=this.componentIndex,b},this);this.getIndicatorModels=function(){return S}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:L.merge({lineStyle:{color:"#bbb"}},w.axisLine),axisLabel:f(w.axisLabel,!1),axisTick:f(w.axisTick,!1),axisType:"interval",splitLine:f(w.splitLine,!0),splitArea:f(w.splitArea,!0),indicator:[]}}),t=a;Z.exports=t},gesv:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("2b8O"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},ggJr:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("j8l9")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="CaretDownFilled";var f=v.forwardRef(w);_.default=f},giN5:function(Z,_,e){var d=e("oEo5"),L=d.retrieve,v=d.defaults,m=d.extend,y=d.each,w=e("CQhY"),f=e("zYjg"),a=e("P0S0"),t=e("Jjzi"),o=t.isRadianAroundZero,s=t.remRadian,l=e("LLn1"),n=l.createSymbol,c=e("4uqo"),r=e("Wa83"),u=r.applyTransform,i=e("sYRh"),h=i.shouldShowAllLabels,p=Math.PI,A=function(U,K){this.opt=K,this.axisModel=U,v(K,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new f.Group;var W=new f.Group({position:K.position.slice(),rotation:K.rotation});W.updateTransform(),this._transform=W.transform,this._dumbGroup=W};A.prototype={constructor:A,hasBuilder:function(U){return!!C[U]},add:function(U){C[U].call(this)},getGroup:function(){return this.group}};var C={axisLine:function(){var U=this.opt,K=this.axisModel;if(!K.get("axisLine.show"))return;var W=this.axisModel.axis.getExtent(),H=this._transform,Y=[W[0],0],Q=[W[1],0];H&&(u(Y,Y,H),u(Q,Q,H));var P=m({lineCap:"round"},K.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new f.Line({anid:"line",subPixelOptimize:!0,shape:{x1:Y[0],y1:Y[1],x2:Q[0],y2:Q[1]},style:P,strokeContainThreshold:U.strokeContainThreshold||5,silent:!0,z2:1}));var G=K.get("axisLine.symbol"),J=K.get("axisLine.symbolSize"),he=K.get("axisLine.symbolOffset")||0;if(typeof he=="number"&&(he=[he,he]),G!=null){typeof G=="string"&&(G=[G,G]),(typeof J=="string"||typeof J=="number")&&(J=[J,J]);var te=J[0],pe=J[1];y([{rotate:U.rotation+Math.PI/2,offset:he[0],r:0},{rotate:U.rotation-Math.PI/2,offset:he[1],r:Math.sqrt((Y[0]-Q[0])*(Y[0]-Q[0])+(Y[1]-Q[1])*(Y[1]-Q[1]))}],function(we,be){if(G[be]!=="none"&&G[be]!=null){var Qe=n(G[be],-te/2,-pe/2,te,pe,P.stroke,!0),$e=we.r+we.offset,yt=[Y[0]+$e*Math.cos(U.rotation),Y[1]-$e*Math.sin(U.rotation)];Qe.attr({rotation:we.rotate,position:yt,silent:!0,z2:11}),this.group.add(Qe)}},this)}},axisTickLabel:function(){var U=this.axisModel,K=this.opt,W=R(this,U,K),H=B(this,U,K);b(U,H,W),F(this,U,K)},axisName:function(){var U=this.opt,K=this.axisModel,W=L(U.axisName,K.get("name"));if(!W)return;var H=K.get("nameLocation"),Y=U.nameDirection,Q=K.getModel("nameTextStyle"),P=K.get("nameGap")||0,G=this.axisModel.axis.getExtent(),J=G[0]>G[1]?-1:1,he=[H==="start"?G[0]-J*P:H==="end"?G[1]+J*P:(G[0]+G[1])/2,D(H)?U.labelOffset+Y*P:0],te,pe=K.get("nameRotate");pe!=null&&(pe=pe*p/180);var we;D(H)?te=E(U.rotation,pe!=null?pe:U.rotation,Y):(te=O(U,H,pe||0,G),we=U.axisNameAvailableWidth,we!=null&&(we=Math.abs(we/Math.sin(te.rotation)),!isFinite(we)&&(we=null)));var be=Q.getFont(),Qe=K.get("nameTruncate",!0)||{},$e=Qe.ellipsis,yt=L(U.nameTruncateMaxWidth,Qe.maxWidth,we),Fe=$e!=null&&yt!=null?w.truncateText(W,yt,be,$e,{minChar:2,placeholder:Qe.placeholder}):W,Pe=K.get("tooltip",!0),gt=K.mainType,it={componentType:gt,name:W,$vars:["name"]};it[gt+"Index"]=K.componentIndex;var qe=new f.Text({anid:"name",__fullText:W,__truncatedText:Fe,position:he,rotation:te.rotation,silent:T(K),z2:1,tooltip:Pe&&Pe.show?m({content:W,formatter:function(){return W},formatterParams:it},Pe):null});f.setTextStyle(qe.style,Q,{text:Fe,textFont:be,textFill:Q.getTextColor()||K.get("axisLine.lineStyle.color"),textAlign:Q.get("align")||te.textAlign,textVerticalAlign:Q.get("verticalAlign")||te.textVerticalAlign}),K.get("triggerEvent")&&(qe.eventData=S(K),qe.eventData.targetType="axisName",qe.eventData.name=W),this._dumbGroup.add(qe),qe.updateTransform(),this.group.add(qe),qe.decomposeTransform()}},S=A.makeAxisEventDataBase=function(U){var K={componentType:U.mainType,componentIndex:U.componentIndex};return K[U.mainType+"Index"]=U.componentIndex,K},E=A.innerTextLayout=function(U,K,W){var H=s(K-U),Y,Q;return o(H)?(Q=W>0?"top":"bottom",Y="center"):o(H-p)?(Q=W>0?"bottom":"top",Y="center"):(Q="middle",H>0&&H<p?Y=W>0?"right":"left":Y=W>0?"left":"right"),{rotation:H,textAlign:Y,textVerticalAlign:Q}};function O(U,K,W,H){var Y=s(W-U.rotation),Q,P,G=H[0]>H[1],J=K==="start"&&!G||K!=="start"&&G;return o(Y-p/2)?(P=J?"bottom":"top",Q="center"):o(Y-p*1.5)?(P=J?"top":"bottom",Q="center"):(P="middle",Y<p*1.5&&Y>p/2?Q=J?"left":"right":Q=J?"right":"left"),{rotation:Y,textAlign:Q,textVerticalAlign:P}}var T=A.isLabelSilent=function(U){var K=U.get("tooltip");return U.get("silent")||!(U.get("triggerEvent")||K&&K.show)};function b(U,K,W){if(h(U.axis))return;var H=U.get("axisLabel.showMinLabel"),Y=U.get("axisLabel.showMaxLabel");K=K||[],W=W||[];var Q=K[0],P=K[1],G=K[K.length-1],J=K[K.length-2],he=W[0],te=W[1],pe=W[W.length-1],we=W[W.length-2];H===!1?(x(Q),x(he)):N(Q,P)&&(H?(x(P),x(te)):(x(Q),x(he))),Y===!1?(x(G),x(pe)):N(J,G)&&(Y?(x(J),x(we)):(x(G),x(pe)))}function x(U){U&&(U.ignore=!0)}function N(U,K,W){var H=U&&U.getBoundingRect().clone(),Y=K&&K.getBoundingRect().clone();if(!H||!Y)return;var Q=c.identity([]);return c.rotate(Q,Q,-U.rotation),H.applyTransform(c.mul([],Q,U.getLocalTransform())),Y.applyTransform(c.mul([],Q,K.getLocalTransform())),H.intersect(Y)}function D(U){return U==="middle"||U==="center"}function M(U,K,W,H,Y){for(var Q=[],P=[],G=[],J=0;J<U.length;J++){var he=U[J].coord;P[0]=he,P[1]=0,G[0]=he,G[1]=W,K&&(u(P,P,K),u(G,G,K));var te=new f.Line({anid:Y+"_"+U[J].tickValue,subPixelOptimize:!0,shape:{x1:P[0],y1:P[1],x2:G[0],y2:G[1]},style:H,z2:2,silent:!0});Q.push(te)}return Q}function R(U,K,W){var H=K.axis,Y=K.getModel("axisTick");if(!Y.get("show")||H.scale.isBlank())return;for(var Q=Y.getModel("lineStyle"),P=W.tickDirection*Y.get("length"),G=H.getTicksCoords(),J=M(G,U._transform,P,v(Q.getLineStyle(),{stroke:K.get("axisLine.lineStyle.color")}),"ticks"),he=0;he<J.length;he++)U.group.add(J[he]);return J}function F(U,K,W){var H=K.axis,Y=K.getModel("minorTick");if(!Y.get("show")||H.scale.isBlank())return;var Q=H.getMinorTicksCoords();if(!Q.length)return;for(var P=Y.getModel("lineStyle"),G=W.tickDirection*Y.get("length"),J=v(P.getLineStyle(),v(K.getModel("axisTick").getLineStyle(),{stroke:K.get("axisLine.lineStyle.color")})),he=0;he<Q.length;he++)for(var te=M(Q[he],U._transform,G,J,"minorticks_"+he),pe=0;pe<te.length;pe++)U.group.add(te[pe])}function B(U,K,W){var H=K.axis,Y=L(W.axisLabelShow,K.get("axisLabel.show"));if(!Y||H.scale.isBlank())return;var Q=K.getModel("axisLabel"),P=Q.get("margin"),G=H.getViewLabels(),J=(L(W.labelRotate,Q.get("rotate"))||0)*p/180,he=E(W.rotation,J,W.labelDirection),te=K.getCategories&&K.getCategories(!0),pe=[],we=T(K),be=K.get("triggerEvent");return y(G,function(Qe,$e){var yt=Qe.tickValue,Fe=Qe.formattedLabel,Pe=Qe.rawLabel,gt=Q;te&&te[yt]&&te[yt].textStyle&&(gt=new a(te[yt].textStyle,Q,K.ecModel));var it=gt.getTextColor()||K.get("axisLine.lineStyle.color"),qe=H.dataToCoord(yt),At=[qe,W.labelOffset+W.labelDirection*P],dt=new f.Text({anid:"label_"+yt,position:At,rotation:he.rotation,silent:we,z2:10});f.setTextStyle(dt.style,gt,{text:Fe,textAlign:gt.getShallow("align",!0)||he.textAlign,textVerticalAlign:gt.getShallow("verticalAlign",!0)||gt.getShallow("baseline",!0)||he.textVerticalAlign,textFill:typeof it=="function"?it(H.type==="category"?Pe:H.type==="value"?yt+"":yt,$e):it}),be&&(dt.eventData=S(K),dt.eventData.targetType="axisLabel",dt.eventData.value=Pe),U._dumbGroup.add(dt),dt.updateTransform(),pe.push(dt),U.group.add(dt),dt.decomposeTransform()}),pe}var z=A;Z.exports=z},goPg:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("XDlA"),w=e.n(y),f=e("T5E4"),a=e.n(f),t=e("XneU"),o=e.n(t),s=e("Hdxz"),l=e.n(s),n=e("ZZRV"),c=e("FGJx"),r=e("o0AO"),u=e("uwZC"),i=e("lpH6"),h=e("V0hb"),p=e("9/lZ"),A=e("GZha"),C=e("55MS"),S=e("ZnUu"),E=e("wYQQ"),O=e("1c8c"),T=e("7ZCg"),b=e("akD0"),x=e("O9LN"),N=e("nWwB"),D=e("ggzp"),M=e("TZL6"),R=e("JT1M"),F=n.createContext(null);function B(Pt,qt){if(!Pt)return!0;var or=Pt.data,Kt=or.disabled,Mt=or.disableCheckbox;switch(qt){case"select":return Kt;case"checkbox":return Kt||Mt}return!1}function z(Pt,qt){var or=n.useCallback(function(Mt){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",ce=arguments.length>2?arguments[2]:void 0,ae=Pt.get(Mt);return!ce&&B(ae,me)?null:ae},[Pt]),Kt=n.useCallback(function(Mt){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",ce=arguments.length>2?arguments[2]:void 0,ae=qt.get(Mt);return!ce&&B(ae,me)?null:ae},[qt]);return[or,Kt]}function U(Pt){return n.useMemo(function(){var qt=new Map,or=new Map;return Pt.forEach(function(Kt){qt.set(Kt.key,Kt),or.set(Kt.data.value,Kt)}),[qt,or]},[Pt])}var K={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},W=function(qt,or){var Kt=qt.prefixCls,Mt=qt.height,me=qt.itemHeight,ce=qt.virtual,ae=qt.options,de=qt.flattenOptions,Se=qt.multiple,Ce=qt.searchValue,Ie=qt.onSelect,Te=qt.onToggleOpen,Ee=qt.open,He=qt.notFoundContent,st=qt.onMouseEnter,vt=n.useContext(F),ee=vt.checkable,oe=vt.checkedKeys,k=vt.halfCheckedKeys,$=vt.treeExpandedKeys,se=vt.treeDefaultExpandAll,ge=vt.treeDefaultExpandedKeys,Ae=vt.onTreeExpand,Me=vt.treeIcon,et=vt.showTreeIcon,Wt=vt.switcherIcon,er=vt.treeLine,Ct=vt.treeNodeFilterProp,Ht=vt.loadData,kt=vt.treeLoadedKeys,Zt=vt.treeMotion,Et=vt.onTreeLoad,ur=n.useRef(),rr=Object(M.a)(function(){return ae},[Ee,ae],function(pn,On){return On[0]&&pn[1]!==On[1]}),Ke=U(de),nt=Object(A.a)(Ke,2),Ge=nt[0],ct=nt[1],ht=z(Ge,ct),ut=Object(A.a)(ht,2),We=ut[0],tt=ut[1],ft=n.useMemo(function(){return oe.map(function(pn){var On=tt(pn);return On?On.key:null})},[oe]),Yt=n.useMemo(function(){return ee?{checked:ft,halfChecked:k}:null},[ft,k,ee]);n.useEffect(function(){if(Ee&&!Se&&ft.length){var pn;(pn=ur.current)===null||pn===void 0||pn.scrollTo({key:ft[0]})}},[Ee]);var Dt=String(Ce).toLowerCase(),vr=function(On){return Dt?String(On[Ct]).toLowerCase().includes(Dt):!1},yr=n.useState(ge),Dr=Object(A.a)(yr,2),Rr=Dr[0],Jr=Dr[1],$r=n.useState(null),xr=Object(A.a)($r,2),Vr=xr[0],Or=xr[1],nr=n.useMemo(function(){return $?Object(h.a)($):Ce?Vr:Rr},[Rr,Vr,Dt,$]);n.useEffect(function(){Ce&&Or(de.map(function(pn){return pn.key}))},[Ce]);var pr=function(On){Jr(On),Or(On),Ae&&Ae(On)},dr=function(On){On.preventDefault()},fr=function(On,Vn){var Nn=Vn.node.key,ui=We(Nn,ee?"checkbox":"select");ui!==null&&Ie(ui.data.value,{selected:!oe.includes(ui.data.value)}),Se||Te(!1)},_r=n.useState(null),Zr=Object(A.a)(_r,2),on=Zr[0],jn=Zr[1],Ur=We(on);if(n.useImperativeHandle(or,function(){return{onKeyDown:function(On){var Vn,Nn=On.which;switch(Nn){case D.a.UP:case D.a.DOWN:case D.a.LEFT:case D.a.RIGHT:(Vn=ur.current)===null||Vn===void 0||Vn.onKeyDown(On);break;case D.a.ENTER:{Ur!==null&&fr(null,{node:{key:on},selected:!oe.includes(Ur.data.value)});break}case D.a.ESC:Te(!1)}},onKeyUp:function(){}}}),rr.length===0)return n.createElement("div",{role:"listbox",className:"".concat(Kt,"-empty"),onMouseDown:dr},He);var En={};return kt&&(En.loadedKeys=kt),nr&&(En.expandedKeys=nr),n.createElement("div",{onMouseDown:dr,onMouseEnter:st},Ur&&Ee&&n.createElement("span",{style:K,"aria-live":"assertive"},Ur.data.value),n.createElement(R.b,Object.assign({ref:ur,focusable:!1,prefixCls:"".concat(Kt,"-tree"),treeData:rr,height:Mt,itemHeight:me,virtual:ce,multiple:Se,icon:Me,showIcon:et,switcherIcon:Wt,showLine:er,loadData:Ce?null:Ht,motion:Zt,checkable:ee,checkStrictly:!0,checkedKeys:Yt,selectedKeys:ee?[]:ft,defaultExpandAll:se},En,{onActiveChange:jn,onSelect:fr,onCheck:fr,onExpand:pr,onLoad:Et,filterTreeNode:vr})))},H=n.forwardRef(W);H.displayName="OptionList";var Y=H,Q=function(){return null},P=Q,G=e("buSX"),J=e("7AgF");function he(Pt){return Object(J.a)(Pt).map(function(qt){if(!n.isValidElement(qt)||!qt.type)return null;var or=qt.key,Kt=qt.props,Mt=Kt.children,me=Kt.value,ce=Object(G.a)(Kt,["children","value"]),ae=Object(C.a)({key:or,value:me},ce),de=he(Mt);return de.length&&(ae.children=de),ae}).filter(function(qt){return qt})}function te(Pt){if(!Pt)return Pt;var qt=Object(C.a)({},Pt);return"props"in qt||Object.defineProperty(qt,"props",{get:function(){return Object(N.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),qt}}),qt}function pe(Pt,qt,or,Kt,Mt){var me=null,ce=null;function ae(){function de(Se){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Se.map(function(Te,Ee){var He="".concat(Ce,"-").concat(Ee),st=or.includes(Te.value),vt=de(Te.children||[],He,st),ee=n.createElement(P,Object.assign({},Te),vt.map(function(k){return k.node}));if(qt===Te.value&&(me=ee),st){var oe={pos:He,node:ee,children:vt};return Ie||ce.push(oe),oe}return null}).filter(function(Te){return Te})}ce||(ce=[],de(Kt),ce.sort(function(Se,Ce){var Ie=Se.node.props.value,Te=Ce.node.props.value,Ee=or.indexOf(Ie),He=or.indexOf(Te);return Ee-He}))}Object.defineProperty(Pt,"triggerNode",{get:function(){return Object(N.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),ae(),me}}),Object.defineProperty(Pt,"allCheckedNodes",{get:function(){return Object(N.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),ae(),Mt?ce:ce.map(function(Se){var Ce=Se.node;return Ce})}})}function we(Pt){return Array.isArray(Pt)?Pt:Pt!==void 0?[Pt]:[]}function be(Pt,qt){var or=new Map;return qt.forEach(function(Kt){var Mt=Kt.data;or.set(Mt.value,Mt)}),Pt.map(function(Kt){return te(or.get(Kt))})}function Qe(Pt,qt){var or=be([Pt],qt)[0];return or?or.disabled:!1}function $e(Pt){return Pt.disabled||Pt.disableCheckbox||Pt.checkable===!1}function yt(Pt){for(var qt=Pt.parent,or=0,Kt=qt;Kt;)Kt=Kt.parent,or+=1;return or}function Fe(Pt){function qt(Kt){return(Kt||[]).map(function(Mt){var me=Mt.value,ce=Mt.key,ae=Mt.children,de=Object(C.a)(Object(C.a)({},Mt),{},{key:"key"in Mt?ce:me});return ae&&(de.children=qt(ae)),de})}var or=Object(O.d)(qt(Pt),!0);return or.map(function(Kt){return{key:Kt.data.key,data:Kt.data,level:yt(Kt)}})}function Pe(Pt){return function(qt,or){var Kt=or[Pt];return String(Kt).toLowerCase().includes(String(qt).toLowerCase())}}function gt(Pt,qt,or){var Kt=or.optionFilterProp,Mt=or.filterOption;if(Mt===!1)return qt;var me;typeof Mt=="function"?me=Mt:me=Pe(Kt);function ce(ae){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ae.map(function(Se){var Ce=Se.children,Ie=de||me(Pt,te(Se)),Te=ce(Ce||[],Ie);return Ie||Te.length?Object(C.a)(Object(C.a)({},Se),{},{children:Te}):null}).filter(function(Se){return Se})}return ce(qt)}function it(Pt,qt,or,Kt){var Mt=new Map;return we(qt).forEach(function(me){me&&Object(p.a)(me)==="object"&&"value"in me&&Mt.set(me.value,me)}),Pt.map(function(me){var ce={value:me},ae=or(me,"select",!0),de=ae?Kt(ae.data):me;if(Mt.has(me)){var Se=Mt.get(me);ce.label="label"in Se?Se.label:de,"halfChecked"in Se&&(ce.halfChecked=Se.halfChecked)}else ce.label=de;return ce})}function qe(Pt,qt){var or=new Set(Pt);return or.add(qt),Array.from(or)}function At(Pt,qt){var or=new Set(Pt);return or.delete(qt),Array.from(or)}function dt(Pt){var qt=Pt.searchPlaceholder,or=Pt.treeCheckStrictly,Kt=Pt.treeCheckable,Mt=Pt.labelInValue,me=Pt.value,ce=Pt.multiple;Object(N.a)(!qt,"`searchPlaceholder` has been removed."),or&&Mt===!1&&Object(N.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Mt||or)&&Object(N.a)(we(me).every(function(ae){return ae&&Object(p.a)(ae)==="object"&&"value"in ae}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),or||ce||Kt?Object(N.a)(!me||Array.isArray(me),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(N.a)(!Array.isArray(me),"`value` should not be array when `TreeSelect` is single mode.")}var wt=dt,Ye=10;function mt(Pt,qt){var or=qt.id,Kt=qt.pId,Mt=qt.rootPId,me={},ce=[],ae=Pt.map(function(de){var Se=Object(C.a)({},de),Ce=Se[or];return me[Ce]=Se,Se.key=Se.key||Ce,Se});return ae.forEach(function(de){var Se=de[Kt],Ce=me[Se];Ce&&(Ce.children=Ce.children||[],Ce.children.push(de)),(Se===Mt||!Ce&&Mt===null)&&ce.push(de)}),ce}function Ue(Pt,qt){var or=0,Kt=new Set;function Mt(me){return(me||[]).map(function(ce){var ae=ce.key,de=ce.value,Se=ce.children,Ce=Object(G.a)(ce,["key","value","children"]),Ie="value"in ce?de:ae,Te=Object(C.a)(Object(C.a)({},Ce),{},{key:ae!=null?ae:Ie,value:Ie,title:qt(ce)});return"children"in ce&&(Te.children=Mt(Se)),Te})}return Mt(Pt)}function Re(Pt,qt,or){var Kt=or.getLabelProp,Mt=or.simpleMode,me=n.useRef({});return Pt?(me.current.formatTreeData=me.current.treeData===Pt?me.current.formatTreeData:Ue(Mt?mt(Pt,Object(C.a)({id:"id",pId:"pId",rootPId:null},Mt!==!0?Mt:{})):Pt,Kt),me.current.treeData=Pt):me.current.formatTreeData=me.current.children===qt?me.current.formatTreeData:Ue(he(qt),Kt),me.current.formatTreeData}var Le="SHOW_ALL",at="SHOW_PARENT",Ot="SHOW_CHILD";function Tt(Pt,qt,or){var Kt=new Set(Pt);return qt===Ot?Pt.filter(function(Mt){var me=or[Mt];return!(me&&me.children&&me.children.every(function(ce){var ae=ce.node;return $e(ae)||Kt.has(ae.key)}))}):qt===at?Pt.filter(function(Mt){var me=or[Mt],ce=me?me.parent:null;return!(ce&&!$e(ce.node)&&Kt.has(ce.node.key))}):Pt}function Ft(Pt,qt){var or=qt.value,Kt=qt.getEntityByValue,Mt=qt.getEntityByKey,me=qt.treeConduction,ce=qt.showCheckedStrategy,ae=qt.conductKeyEntities,de=qt.getLabelProp;return n.useMemo(function(){var Se=Pt;if(me){var Ce=Tt(Pt.map(function(Ie){var Te=Kt(Ie);return Te?Te.key:Ie}),ce,ae);Se=Ce.map(function(Ie){var Te=Mt(Ie);return Te?Te.data.value:Ie})}return it(Se,or,Kt,de)},[Pt,or,me,ce,Kt])}var ke=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],Vt=Object(S.a)({prefixCls:"rc-tree-select",components:{optionList:Y},convertChildrenToData:function(){return null},flattenOptions:Fe,getLabeledValue:E.e,filterOptions:gt,isValueDisabled:Qe,findValueOption:be,omitDOMProps:function(qt){var or=Object(C.a)({},qt);return ke.forEach(function(Kt){delete or[Kt]}),or}});Vt.displayName="Select";var bt=n.forwardRef(function(Pt,qt){var or=Pt.multiple,Kt=Pt.treeCheckable,Mt=Pt.treeCheckStrictly,me=Pt.showCheckedStrategy,ce=me===void 0?"SHOW_CHILD":me,ae=Pt.labelInValue,de=Pt.loadData,Se=Pt.treeLoadedKeys,Ce=Pt.treeNodeFilterProp,Ie=Ce===void 0?"value":Ce,Te=Pt.treeNodeLabelProp,Ee=Pt.treeDataSimpleMode,He=Pt.treeData,st=Pt.treeExpandedKeys,vt=Pt.treeDefaultExpandedKeys,ee=Pt.treeDefaultExpandAll,oe=Pt.children,k=Pt.treeIcon,$=Pt.showTreeIcon,se=Pt.switcherIcon,ge=Pt.treeLine,Ae=Pt.treeMotion,Me=Pt.filterTreeNode,et=Pt.dropdownPopupAlign,Wt=Pt.onChange,er=Pt.onTreeExpand,Ct=Pt.onTreeLoad,Ht=Pt.onDropdownVisibleChange,kt=Pt.onSelect,Zt=Pt.onDeselect,Et=Kt||Mt,ur=or||Et,rr=Kt&&!Mt,Ke=Mt||ae,nt=n.useRef(null);n.useImperativeHandle(qt,function(){return{focus:nt.current.focus,blur:nt.current.blur}});var Ge=function(Nn){return He&&Nn.label||Nn.title},ct=function(Nn){return Te?Nn[Te]:Ge(Nn)},ht=Re(He,oe,{getLabelProp:Ge,simpleMode:Ee}),ut=Object(n.useMemo)(function(){return Fe(ht)},[ht]),We=U(ut),tt=Object(A.a)(We,2),ft=tt[0],Yt=tt[1],Dt=z(ft,Yt),vr=Object(A.a)(Dt,2),yr=vr[0],Dr=vr[1],Rr=Object(n.useMemo)(function(){return rr?Object(O.a)(ht):{keyEntities:null}},[ht,Kt,Mt]),Jr=Rr.keyEntities,$r=Object(x.a)(Pt.defaultValue,{value:Pt.value}),xr=Object(A.a)($r,2),Vr=xr[0],Or=xr[1],nr=function(Nn){var ui=[],Xn=[];return Nn.forEach(function(mn){Dr(mn)?Xn.push(mn):ui.push(mn)}),{missingRawValues:ui,existRawValues:Xn}},pr=Object(n.useMemo)(function(){var Vn=[],Nn=[];if(we(Vr).forEach(function(fi){if(fi&&Object(p.a)(fi)==="object"&&"value"in fi)if(fi.halfChecked&&Mt){var ki=Dr(fi.value);Vn.push(ki?ki.key:fi.value)}else Nn.push(fi.value);else Nn.push(fi)}),rr){var ui=nr(Nn),Xn=ui.missingRawValues,mn=ui.existRawValues,cn=mn.map(function(fi){return Dr(fi).key}),da=Object(T.a)(cn,!0,Jr),Ta=da.checkedKeys,ia=da.halfCheckedKeys;return[[].concat(Object(h.a)(Xn),Object(h.a)(Ta.map(function(fi){return yr(fi).data.value}))),ia]}return[Nn,Vn]},[Vr,ur,Ke,Kt,Mt]),dr=Object(A.a)(pr,2),fr=dr[0],_r=dr[1],Zr=Ft(fr,{treeConduction:rr,value:Vr,showCheckedStrategy:ce,conductKeyEntities:Jr,getEntityByValue:Dr,getEntityByKey:yr,getLabelProp:ct}),on=function(Nn,ui,Xn){if(Or(ur?Nn:Nn[0]),Wt){var mn=Nn;if(rr&&ce!=="SHOW_ALL"){var cn=Nn.map(function(wn){var Ln=Dr(wn);return Ln?Ln.key:wn}),da=Tt(cn,ce,Jr);mn=da.map(function(wn){var Ln=yr(wn);return Ln?Ln.data.value:wn})}var Ta=ui||{triggerValue:void 0,selected:void 0},ia=Ta.triggerValue,fi=Ta.selected,ki=Ke?it(mn,Vr,Dr,ct):mn;if(Mt){var Qn=_r.map(function(wn){var Ln=yr(wn);return Ln?Ln.data.value:wn}).filter(function(wn){return!mn.includes(wn)});ki=[].concat(Object(h.a)(ki),Object(h.a)(it(Qn,Vr,Dr,ct)))}var ea={preValue:Zr,triggerValue:ia},An=!0;(Mt||Xn==="selection"&&!fi)&&(An=!1),pe(ea,ia,Nn,ht,An),Et?ea.checked=fi:ea.selected=fi,Wt(ur?ki:ki[0],Ke?null:mn.map(function(wn){var Ln=Dr(wn);return Ln?ct(Ln.data):null}),ea)}},jn=function(Nn,ui,Xn){var mn=Nn;if(!ur)on([Nn],{selected:!0,triggerValue:Nn},Xn);else{var cn=qe(fr,Nn);if(rr){var da=nr(cn),Ta=da.missingRawValues,ia=da.existRawValues,fi=ia.map(function(ea){return Dr(ea).key}),ki=Object(T.a)(fi,!0,Jr),Qn=ki.checkedKeys;cn=[].concat(Object(h.a)(Ta),Object(h.a)(Qn.map(function(ea){return yr(ea).data.value})))}on(cn,{selected:!0,triggerValue:Nn},Xn)}kt&&kt(mn,ui)},Ur=function(Nn,ui,Xn){var mn=Nn,cn=At(fr,Nn);if(rr){var da=nr(cn),Ta=da.missingRawValues,ia=da.existRawValues,fi=ia.map(function(ea){return Dr(ea).key}),ki=Object(T.a)(fi,{checked:!1,halfCheckedKeys:_r},Jr),Qn=ki.checkedKeys;cn=[].concat(Object(h.a)(Ta),Object(h.a)(Qn.map(function(ea){return yr(ea).data.value})))}on(cn,{selected:!1,triggerValue:Nn},Xn),Zt&&Zt(mn,ui)},En=function(){on([],null,"clear")},pn=n.useCallback(function(Vn){if(Ht){var Nn={};Object.defineProperty(Nn,"documentClickClose",{get:function(){return Object(N.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Ht(Vn,Nn)}},[Ht]),On={optionLabelProp:null,optionFilterProp:Ie,dropdownAlign:et,internalProps:{mark:b.a,onClear:En,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:jn,onRawDeselect:Ur}};return"filterTreeNode"in Pt&&(On.filterOption=Me),n.createElement(F.Provider,{value:{checkable:Et,loadData:de,treeLoadedKeys:Se,onTreeLoad:Ct,checkedKeys:fr,halfCheckedKeys:_r,treeDefaultExpandAll:ee,treeExpandedKeys:st,treeDefaultExpandedKeys:vt,onTreeExpand:er,treeIcon:k,treeMotion:Ae,showTreeIcon:$,switcherIcon:se,treeLine:ge,treeNodeFilterProp:Ie}},n.createElement(Vt,Object.assign({ref:nt,mode:ur?"multiple":null},Pt,On,{value:Zr,labelInValue:!0,options:ht,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:pn})))}),Rt=function(Pt){Object(u.a)(or,Pt);var qt=Object(i.a)(or);function or(){var Kt;return Object(c.a)(this,or),Kt=qt.apply(this,arguments),Kt.selectRef=n.createRef(),Kt.focus=function(){Kt.selectRef.current.focus()},Kt.blur=function(){Kt.selectRef.current.blur()},Kt}return Object(r.a)(or,[{key:"render",value:function(){return n.createElement(bt,Object.assign({ref:this.selectRef},this.props))}}]),or}(n.Component);Rt.TreeNode=P,Rt.SHOW_ALL=Le,Rt.SHOW_PARENT=at,Rt.SHOW_CHILD=Ot;var Nt=Rt,xt=Nt,Ut=e("iczh"),Ze=e.n(Ut),ze=e("3CTf"),re=e("LpVx"),le=e("b5WB"),Xe=e("1SxH"),_e=e("3OD7"),je=e("WHP3"),ar=function(Pt){o()(or,Pt);var qt=l()(or);function or(Kt){var Mt;return w()(this,or),Mt=qt.call(this,Kt),Mt.selectRef=n.createRef(),Mt.renderTreeSelect=function(me){var ce=me.getPopupContainer,ae=me.getPrefixCls,de=me.renderEmpty,Se=me.direction,Ce=me.virtual,Ie=me.dropdownMatchSelectWidth,Te=Mt.props,Ee=Te.prefixCls,He=Te.size,st=Te.className,vt=Te.treeCheckable,ee=Te.multiple,oe=Te.listHeight,k=oe===void 0?256:oe,$=Te.listItemHeight,se=$===void 0?26:$,ge=Te.notFoundContent,Ae=Te.switcherIcon,Me=Te.treeLine,et=Te.getPopupContainer,Wt=Te.dropdownClassName,er=Te.bordered,Ct=Te.treeIcon,Ht=Ct===void 0?!1:Ct,kt=ae("select",Ee),Zt=ae("select-tree",Ee),Et=ae("tree-select",Ee),ur=Ze()(Wt,"".concat(Et,"-dropdown"),m()({},"".concat(Et,"-dropdown-rtl"),Se==="rtl")),rr=!!(vt||ee),Ke=Object(Xe.a)(L()(L()({},Mt.props),{multiple:rr,prefixCls:kt})),nt=Ke.suffixIcon,Ge=Ke.itemIcon,ct=Ke.removeIcon,ht=Ke.clearIcon,ut;ge!==void 0?ut=ge:ut=de("Select");var We=Object(ze.default)(Mt.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return n.createElement(je.b.Consumer,null,function(tt){var ft,Yt=He||tt,Dt=Ze()(!Ee&&Et,(ft={},m()(ft,"".concat(kt,"-lg"),Yt==="large"),m()(ft,"".concat(kt,"-sm"),Yt==="small"),m()(ft,"".concat(kt,"-rtl"),Se==="rtl"),m()(ft,"".concat(kt,"-borderless"),!er),ft),st);return n.createElement(xt,L()({virtual:Ce,dropdownMatchSelectWidth:Ie},We,{ref:Mt.selectRef,prefixCls:kt,className:Dt,listHeight:k,listItemHeight:se,treeCheckable:vt&&n.createElement("span",{className:"".concat(kt,"-tree-checkbox-inner")}),inputIcon:nt,menuItemSelectedIcon:Ge,removeIcon:ct,clearIcon:ht,switcherIcon:function(yr){return Object(_e.a)(Zt,Ae,Me,yr)},showTreeIcon:Ht,notFoundContent:ut,getPopupContainer:et||ce,treeMotion:null,dropdownClassName:ur}))})},Object(le.a)(Kt.multiple!==!1||!Kt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),Mt}return a()(or,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return n.createElement(re.a,null,this.renderTreeSelect)}}]),or}(n.Component);ar.TreeNode=P,ar.SHOW_ALL=Le,ar.SHOW_PARENT=at,ar.SHOW_CHILD=Ot,ar.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var zt=_.a=ar},gwXo:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("ZZRV"),w=e.n(y),f=e("iczh"),a=e.n(f),t=e("buSX"),o=e("zjzt"),s=e("FGJx"),l=e("o0AO"),n=e("uwZC"),c=e("MRRG"),r=e("GY0J"),u=e("ggzp");function i(P,G){var J=Object.keys(P);if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(P);G&&(he=he.filter(function(te){return Object.getOwnPropertyDescriptor(P,te).enumerable})),J.push.apply(J,he)}return J}function h(P){for(var G=1;G<arguments.length;G++){var J=arguments[G]!=null?arguments[G]:{};G%2?i(Object(J),!0).forEach(function(he){Object(o.a)(P,he,J[he])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(J)):i(Object(J)).forEach(function(he){Object.defineProperty(P,he,Object.getOwnPropertyDescriptor(J,he))})}return P}function p(P){var G=A();return function(){var he=Object(r.a)(P),te;if(G){var pe=Object(r.a)(this).constructor;te=Reflect.construct(he,arguments,pe)}else te=he.apply(this,arguments);return Object(c.a)(this,te)}}function A(){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(P){return!1}}function C(){}function S(P){P.preventDefault()}var E=function(G){return G.replace(/[^\w.-]+/g,"")},O=200,T=600,b=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,x=function(G){return G!=null},N=function(G,J){return J===G||typeof J=="number"&&typeof G=="number"&&isNaN(J)&&isNaN(G)},D=function(P){Object(n.a)(J,P);var G=p(J);function J(he){var te;Object(s.a)(this,J),te=G.call(this,he),te.onKeyDown=function(be){var Qe=te.props,$e=Qe.onKeyDown,yt=Qe.onPressEnter;if(be.keyCode===u.a.UP){var Fe=te.getRatio(be);te.up(be,Fe,null),te.stop()}else if(be.keyCode===u.a.DOWN){var Pe=te.getRatio(be);te.down(be,Pe,null),te.stop()}else be.keyCode===u.a.ENTER&&yt&&yt(be);if(te.recordCursorPosition(),te.lastKeyCode=be.keyCode,$e){for(var gt=arguments.length,it=new Array(gt>1?gt-1:0),qe=1;qe<gt;qe++)it[qe-1]=arguments[qe];$e.apply(void 0,[be].concat(it))}},te.onKeyUp=function(be){var Qe=te.props.onKeyUp;if(te.stop(),te.recordCursorPosition(),Qe){for(var $e=arguments.length,yt=new Array($e>1?$e-1:0),Fe=1;Fe<$e;Fe++)yt[Fe-1]=arguments[Fe];Qe.apply(void 0,[be].concat(yt))}},te.onChange=function(be){var Qe=te.props.onChange;te.state.focused&&(te.inputting=!0),te.rawInput=te.props.parser(te.getValueFromEvent(be)),te.setState({inputValue:te.rawInput}),Qe(te.toNumber(te.rawInput))},te.onMouseUp=function(){var be=te.props.onMouseUp;te.recordCursorPosition(),be&&be.apply(void 0,arguments)},te.onFocus=function(){var be;te.setState({focused:!0}),(be=te.props).onFocus.apply(be,arguments)},te.onBlur=function(){var be=te.props.onBlur;te.inputting=!1,te.setState({focused:!1});var Qe=te.getCurrentValidValue(te.state.inputValue),$e=te.setValue(Qe,C);if(be){var yt=te.input.value,Fe=te.getInputDisplayValue({focus:!1,value:$e});te.input.value=Fe&&Number(Fe),be.apply(void 0,arguments),te.input.value=yt}},te.getRatio=function(be){var Qe=1;return be.metaKey||be.ctrlKey?Qe=.1:be.shiftKey&&(Qe=10),Qe},te.getFullNum=function(be){return isNaN(be)?be:/e/i.test(String(be))?Number(be).toFixed(18).replace(/\.?0+$/,""):be},te.getPrecision=function(be){if(x(te.props.precision))return te.props.precision;var Qe=String(be);if(Qe.indexOf("e-")>=0)return parseInt(Qe.slice(Qe.indexOf("e-")+2),10);var $e=0;return Qe.indexOf(".")>=0&&($e=Qe.length-Qe.indexOf(".")-1),$e},te.getInputDisplayValue=function(be){var Qe=be||te.state,$e=Qe.focused,yt=Qe.inputValue,Fe=Qe.value,Pe;$e?Pe=yt:Pe=te.toPrecisionAsStep(Fe),Pe==null&&(Pe="");var gt=te.formatWrapper(Pe);return x(te.props.decimalSeparator)&&(gt=gt.toString().replace(".",te.props.decimalSeparator)),gt},te.recordCursorPosition=function(){try{te.cursorStart=te.input.selectionStart,te.cursorEnd=te.input.selectionEnd,te.currentValue=te.input.value,te.cursorBefore=te.input.value.substring(0,te.cursorStart),te.cursorAfter=te.input.value.substring(te.cursorEnd)}catch(be){}},te.restoreByAfter=function(be){if(be===void 0)return!1;var Qe=te.input.value,$e=Qe.lastIndexOf(be);if($e===-1)return!1;var yt=te.cursorBefore.length;return te.lastKeyCode===u.a.DELETE&&te.cursorBefore.charAt(yt-1)===be[0]?(te.fixCaret(yt,yt),!0):$e+be.length===Qe.length?(te.fixCaret($e,$e),!0):!1},te.partRestoreByAfter=function(be){return be===void 0?!1:Array.prototype.some.call(be,function(Qe,$e){var yt=be.substring($e);return te.restoreByAfter(yt)})},te.isNotCompleteNumber=function(be){return isNaN(be)||be===""||be===null||be&&be.toString().indexOf(".")===be.toString().length-1},te.stop=function(){te.autoStepTimer&&clearTimeout(te.autoStepTimer)},te.down=function(be,Qe,$e){te.pressingUpOrDown=!0,te.step("down",be,Qe,$e)},te.up=function(be,Qe,$e){te.pressingUpOrDown=!0,te.step("up",be,Qe,$e)},te.saveInput=function(be){te.input=be};var pe=he.value;pe===void 0&&(pe=he.defaultValue),te.state={focused:he.autoFocus};var we=te.getValidValue(te.toNumber(pe));return te.state=h(h({},te.state),{},{inputValue:te.toPrecisionAsStep(we),value:we}),te}return Object(l.a)(J,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(te){var pe=this.props,we=pe.value,be=pe.onChange,Qe=pe.max,$e=pe.min,yt=this.state.focused;if(te){if(!N(te.value,we)||!N(te.max,Qe)||!N(te.min,$e)){var Fe=yt?we:this.getValidValue(we),Pe;this.pressingUpOrDown?Pe=Fe:this.inputting?Pe=this.rawInput:Pe=this.toPrecisionAsStep(Fe),this.setState({value:Fe,inputValue:Pe})}var gt="value"in this.props?we:this.state.value;"max"in this.props&&te.max!==Qe&&typeof gt=="number"&>>Qe&&be&&be(Qe),"min"in this.props&&te.min!==$e&&typeof gt=="number"&><$e&&be&&be($e)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var it=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===u.a.BACKSPACE?it=this.cursorStart-1:this.lastKeyCode===u.a.DELETE&&(it=this.cursorStart):it=this.input.value.length,this.fixCaret(it,it)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case u.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case u.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(qe){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(te){var pe=te;return pe===""?pe="":this.isNotCompleteNumber(parseFloat(pe))?pe=this.state.value:pe=this.getValidValue(pe),this.toNumber(pe)}},{key:"getValueFromEvent",value:function(te){var pe=te.target.value.trim().replace(/。/g,".");return x(this.props.decimalSeparator)&&(pe=pe.replace(this.props.decimalSeparator,".")),pe}},{key:"getValidValue",value:function(te){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,be=parseFloat(te);return isNaN(be)?te:(be<pe&&(be=pe),be>we&&(be=we),be)}},{key:"setValue",value:function(te,pe){var we=this.props.precision,be=this.isNotCompleteNumber(parseFloat(te))?null:parseFloat(te),Qe=this.state.value,$e=Qe===void 0?null:Qe,yt=this.state.inputValue,Fe=yt===void 0?null:yt,Pe=typeof be=="number"?be.toFixed(we):"".concat(be),gt=be!==$e||Pe!=="".concat(Fe);return"value"in this.props?(Fe=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:Fe},pe)):this.setState({value:be,inputValue:this.toPrecisionAsStep(te)},pe),gt&&this.props.onChange(be),be}},{key:"getMaxPrecision",value:function(te){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,we=this.props,be=we.precision,Qe=we.step;if(x(be))return be;var $e=this.getPrecision(pe),yt=this.getPrecision(Qe),Fe=this.getPrecision(te);return te?Math.max(Fe,$e+yt):$e+yt}},{key:"getPrecisionFactor",value:function(te){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,we=this.getMaxPrecision(te,pe);return Math.pow(10,we)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(te){return this.props.formatter?this.props.formatter(te):te}},{key:"toPrecisionAsStep",value:function(te){if(this.isNotCompleteNumber(te)||te==="")return te;var pe=Math.abs(this.getMaxPrecision(te));return isNaN(pe)?te.toString():Number(te).toFixed(pe)}},{key:"toNumber",value:function(te){var pe=this.props.precision,we=this.state.focused,be=te&&te.length>16&&we;return this.isNotCompleteNumber(te)||be?te:x(pe)?Math.round(te*Math.pow(10,pe))/Math.pow(10,pe):Number(te)}},{key:"upStep",value:function(te,pe){var we=this.props.step,be=this.getPrecisionFactor(te,pe),Qe=Math.abs(this.getMaxPrecision(te,pe)),$e=((be*te+be*we*pe)/be).toFixed(Qe);return this.toNumber($e)}},{key:"downStep",value:function(te,pe){var we=this.props.step,be=this.getPrecisionFactor(te,pe),Qe=Math.abs(this.getMaxPrecision(te,pe)),$e=((be*te-be*we*pe)/be).toFixed(Qe);return this.toNumber($e)}},{key:"step",value:function(te,pe){var we=this,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Qe=arguments.length>3?arguments[3]:void 0;this.stop(),pe&&(pe.persist(),pe.preventDefault());var $e=this.props;if($e.disabled)return;var yt=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(yt))return;var Fe=this["".concat(te,"Step")](yt,be),Pe=Fe>$e.max||Fe<$e.min;if(Fe>$e.max?Fe=$e.max:Fe<$e.min&&(Fe=$e.min),this.setValue(Fe,null),this.setState({focused:!0},function(){we.pressingUpOrDown=!1}),Pe)return;this.autoStepTimer=setTimeout(function(){we[te](pe,be,!0)},Qe?O:T)}},{key:"fixCaret",value:function(te,pe){if(te===void 0||pe===void 0||!this.input||!this.input.value)return;try{var we=this.input.selectionStart,be=this.input.selectionEnd;(te!==we||pe!==be)&&this.input.setSelectionRange(te,pe)}catch(Qe){}}},{key:"render",value:function(){var te,pe=this.props,we=pe.prefixCls,be=pe.disabled,Qe=pe.readOnly,$e=pe.useTouch,yt=pe.autoComplete,Fe=pe.upHandler,Pe=pe.downHandler,gt=pe.className,it=pe.max,qe=pe.min,At=pe.style,dt=pe.title,wt=pe.onMouseEnter,Ye=pe.onMouseLeave,mt=pe.onMouseOver,Ue=pe.onMouseOut,Re=pe.required,Le=pe.onClick,at=pe.tabIndex,Ot=pe.type,Tt=pe.placeholder,Ft=pe.id,ke=pe.inputMode,Vt=pe.pattern,bt=pe.step,Rt=pe.maxLength,Nt=pe.autoFocus,xt=pe.name,Ut=pe.onPaste,Ze=Object(t.a)(pe,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste"]),ze=this.state,re=ze.value,le=ze.focused,Xe=a()(we,(te={},Object(o.a)(te,gt,!!gt),Object(o.a)(te,"".concat(we,"-disabled"),be),Object(o.a)(te,"".concat(we,"-focused"),le),te)),_e={};Object.keys(Ze).forEach(function(ae){(ae.substr(0,5)==="data-"||ae.substr(0,5)==="aria-"||ae==="role")&&(_e[ae]=Ze[ae])});var je=!Qe&&!be,ar=this.getInputDisplayValue(null),zt=(re||re===0)&&(isNaN(re)||Number(re)>=it),Pt=(re||re===0)&&(isNaN(re)||Number(re)<=qe),qt=zt||be||Qe,or=Pt||be||Qe,Kt=a()("".concat(we,"-handler"),"".concat(we,"-handler-up"),Object(o.a)({},"".concat(we,"-handler-up-disabled"),qt)),Mt=a()("".concat(we,"-handler"),"".concat(we,"-handler-down"),Object(o.a)({},"".concat(we,"-handler-down-disabled"),or)),me=$e?{onTouchStart:qt?C:this.up,onTouchEnd:this.stop}:{onMouseDown:qt?C:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},ce=$e?{onTouchStart:or?C:this.down,onTouchEnd:this.stop}:{onMouseDown:or?C:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return w.a.createElement("div",{className:Xe,style:At,title:dt,onMouseEnter:wt,onMouseLeave:Ye,onMouseOver:mt,onMouseOut:Ue,onFocus:function(){return null},onBlur:function(){return null}},w.a.createElement("div",{className:"".concat(we,"-handler-wrap")},w.a.createElement("span",Object.assign({unselectable:"on"},me,{role:"button","aria-label":"Increase Value","aria-disabled":qt,className:Kt}),Fe||w.a.createElement("span",{unselectable:"on",className:"".concat(we,"-handler-up-inner"),onClick:S})),w.a.createElement("span",Object.assign({unselectable:"on"},ce,{role:"button","aria-label":"Decrease Value","aria-disabled":or,className:Mt}),Pe||w.a.createElement("span",{unselectable:"on",className:"".concat(we,"-handler-down-inner"),onClick:S}))),w.a.createElement("div",{className:"".concat(we,"-input-wrap")},w.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":qe,"aria-valuemax":it,"aria-valuenow":re,required:Re,type:Ot,placeholder:Tt,onPaste:Ut,onClick:Le,onMouseUp:this.onMouseUp,className:"".concat(we,"-input"),tabIndex:at,autoComplete:yt,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:je?this.onKeyDown:C,onKeyUp:je?this.onKeyUp:C,autoFocus:Nt,maxLength:Rt,readOnly:Qe,disabled:be,max:it,min:qe,step:bt,name:xt,title:dt,id:Ft,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(ar),pattern:Vt,inputMode:ke},_e))))}}]),J}(w.a.Component);D.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:b,min:-b,step:1,style:{},onChange:C,onKeyDown:C,onPressEnter:C,onFocus:C,onBlur:C,parser:E,required:!1,autoComplete:"off"};var M=D,R=M,F=e("FXgl"),B=e.n(F),z=e("QJYX"),U=e.n(z),K=e("LpVx"),W=e("WHP3"),H=function(P,G){var J={};for(var he in P)Object.prototype.hasOwnProperty.call(P,he)&&G.indexOf(he)<0&&(J[he]=P[he]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,he=Object.getOwnPropertySymbols(P);te<he.length;te++)G.indexOf(he[te])<0&&Object.prototype.propertyIsEnumerable.call(P,he[te])&&(J[he[te]]=P[he[te]]);return J},Y=y.forwardRef(function(P,G){var J=function(te){var pe=te.getPrefixCls,we=te.direction,be=P.className,Qe=P.size,$e=P.prefixCls,yt=P.readOnly,Fe=H(P,["className","size","prefixCls","readOnly"]),Pe=pe("input-number",$e),gt=y.createElement(B.a,{className:"".concat(Pe,"-handler-up-inner")}),it=y.createElement(U.a,{className:"".concat(Pe,"-handler-down-inner")});return y.createElement(W.b.Consumer,null,function(qe){var At,dt=Qe||qe,wt=a()((At={},m()(At,"".concat(Pe,"-lg"),dt==="large"),m()(At,"".concat(Pe,"-sm"),dt==="small"),m()(At,"".concat(Pe,"-rtl"),we==="rtl"),m()(At,"".concat(Pe,"-readonly"),yt),At),be);return y.createElement(R,L()({ref:G,className:wt,upHandler:gt,downHandler:it,prefixCls:Pe,readOnly:yt},Fe))})};return y.createElement(K.a,null,J)});Y.defaultProps={step:1};var Q=_.a=Y},gweE:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d=function(){function l(n,c){for(var r=0;r<c.length;r++){var u=c[r];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}return function(n,c,r){return c&&l(n.prototype,c),r&&l(n,r),n}}(),L=e("ZZRV"),v=w(L),m=e("EH+i"),y=w(m);function w(l){return l&&l.__esModule?l:{default:l}}function f(l,n){var c={};for(var r in l){if(n.indexOf(r)>=0)continue;if(!Object.prototype.hasOwnProperty.call(l,r))continue;c[r]=l[r]}return c}function a(l,n){if(!(l instanceof n))throw new TypeError("Cannot call a class as a function")}function t(l,n){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:l}function o(l,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);l.prototype=Object.create(n&&n.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(l,n):l.__proto__=n)}var s=function(l){o(n,l);function n(c){a(this,n);var r=t(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return r.scrollListener=r.scrollListener.bind(r),r.eventListenerOptions=r.eventListenerOptions.bind(r),r.mousewheelListener=r.mousewheelListener.bind(r),r}return d(n,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var r=this.getParentElement(this.scrollComponent);r.scrollTop=r.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var r=!1,u={get passive(){r=!0}};try{document.addEventListener("test",null,u),document.removeEventListener("test",null,u)}catch(i){}return r}},{key:"eventListenerOptions",value:function(){var r=this.props.useCapture;return this.isPassiveSupported()&&(r={useCapture:this.props.useCapture,passive:!0}),r}},{key:"setDefaultLoader",value:function(r){this.defaultLoader=r}},{key:"detachMousewheelListener",value:function(){var r=window;this.props.useWindow===!1&&(r=this.scrollComponent.parentNode),r.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var r=window;this.props.useWindow===!1&&(r=this.getParentElement(this.scrollComponent)),r.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),r.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(r){var u=this.props.getScrollParent&&this.props.getScrollParent();return u!=null?u:r&&r.parentNode}},{key:"filterProps",value:function(r){return r}},{key:"attachScrollListener",value:function(){var r=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!r)return;var u=window;this.props.useWindow===!1&&(u=r),u.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),u.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),u.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(r){r.deltaY===1&&!this.isPassiveSupported()&&r.preventDefault()}},{key:"scrollListener",value:function(){var r=this.scrollComponent,u=window,i=this.getParentElement(r),h=void 0;if(this.props.useWindow){var p=document.documentElement||document.body.parentNode||document.body,A=u.pageYOffset!==void 0?u.pageYOffset:p.scrollTop;this.props.isReverse?h=A:h=this.calculateOffset(r,A)}else this.props.isReverse?h=i.scrollTop:h=r.scrollHeight-i.scrollTop-i.clientHeight;h<Number(this.props.threshold)&&r&&r.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=i.scrollHeight,this.beforeScrollTop=i.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(r,u){return r?this.calculateTopPosition(r)+(r.offsetHeight-u-window.innerHeight):0}},{key:"calculateTopPosition",value:function(r){return r?r.offsetTop+this.calculateTopPosition(r.offsetParent):0}},{key:"render",value:function(){var r=this,u=this.filterProps(this.props),i=u.children,h=u.element,p=u.hasMore,A=u.initialLoad,C=u.isReverse,S=u.loader,E=u.loadMore,O=u.pageStart,T=u.ref,b=u.threshold,x=u.useCapture,N=u.useWindow,D=u.getScrollParent,M=f(u,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);M.ref=function(F){r.scrollComponent=F,T&&T(F)};var R=[i];return p&&(S?C?R.unshift(S):R.push(S):this.defaultLoader&&(C?R.unshift(this.defaultLoader):R.push(this.defaultLoader))),v.default.createElement(h,M,R)}}]),n}(L.Component);s.propTypes={children:y.default.node.isRequired,element:y.default.node,hasMore:y.default.bool,initialLoad:y.default.bool,isReverse:y.default.bool,loader:y.default.node,loadMore:y.default.func.isRequired,pageStart:y.default.number,ref:y.default.func,getScrollParent:y.default.func,threshold:y.default.number,useCapture:y.default.bool,useWindow:y.default.bool},s.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},_.default=s,Z.exports=_.default},gxE6:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("izu+"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},gyjJ:function(Z,_){var e={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?e={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?e={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?e={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:e=L(navigator.userAgent);var d=e;function L(v){var m={},y={},w=v.match(/Firefox\/([\d.]+)/),f=v.match(/MSIE\s([\d.]+)/)||v.match(/Trident\/.+?rv:(([\d.]+))/),a=v.match(/Edge\/([\d.]+)/),t=/micromessenger/i.test(v);return w&&(y.firefox=!0,y.version=w[1]),f&&(y.ie=!0,y.version=f[1]),a&&(y.edge=!0,y.version=a[1]),t&&(y.weChat=!0),{browser:y,os:m,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!y.ie&&!y.edge,pointerEventsSupported:"onpointerdown"in window&&(y.edge||y.ie&&y.version>=11),domSupported:typeof document!="undefined"}}Z.exports=d},h0S1:function(Z,_,e){},hC6I:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="CheckOutlined";var w=_.a=d.forwardRef(y)},hHOv:function(Z,_,e){var d=e("Q6Bq"),L=e("yMz6"),v=L.updateCenterAndZoom;e("fk9j");var m={type:"graphRoam",event:"graphRoam",update:"none"};d.registerAction(m,function(y,w){w.eachComponent({mainType:"series",query:y},function(f){var a=f.coordinateSystem,t=v(a,y);f.setCenter&&f.setCenter(t.center),f.setZoom&&f.setZoom(t.zoom)})})},hLoE:function(Z,_,e){var d=e("oEo5"),L=e("Az1A"),v=e("zYjg"),m=e("cARS"),y=e("UZiS"),w=e("Jjzi"),f=e("SSBM"),a=e("BuVp"),t=v.Rect,o=w.linearMap,s=w.asc,l=d.bind,n=d.each,c=7,r=1,u=30,i="horizontal",h="vertical",p=5,A=["line","bar","candlestick","scatter"],C=y.extend({type:"dataZoom.slider",init:function(T,b){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=b},render:function(T,b,x,N){if(C.superApply(this,"render",arguments),m.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=T.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!N||N.type!=="dataZoom"||N.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){C.superApply(this,"remove",arguments),m.clear(this,"_dispatchZoomAction")},dispose:function(){C.superApply(this,"dispose",arguments),m.clear(this,"_dispatchZoomAction")},_buildView:function(){var T=this.group;T.removeAll(),this._resetLocation(),this._resetInterval();var b=this._displayables.barGroup=new v.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),T.add(b),this._positionGroup()},_resetLocation:function(){var T=this.dataZoomModel,b=this.api,x=this._findCoordRect(),N={width:b.getWidth(),height:b.getHeight()},D=this._orient===i?{right:N.width-x.x-x.width,top:N.height-u-c,width:x.width,height:u}:{right:c,top:x.y,width:u,height:x.height},M=f.getLayoutParams(T.option);d.each(["right","top","width","height"],function(F){M[F]==="ph"&&(M[F]=D[F])});var R=f.getLayoutRect(M,N,T.padding);this._location={x:R.x,y:R.y},this._size=[R.width,R.height],this._orient===h&&this._size.reverse()},_positionGroup:function(){var T=this.group,b=this._location,x=this._orient,N=this.dataZoomModel.getFirstTargetAxisModel(),D=N&&N.get("inverse"),M=this._displayables.barGroup,R=(this._dataShadowInfo||{}).otherAxisInverse;M.attr(x===i&&!D?{scale:R?[1,1]:[1,-1]}:x===i&&D?{scale:R?[-1,1]:[-1,-1]}:x===h&&!D?{scale:R?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:R?[-1,-1]:[-1,1],rotation:Math.PI/2});var F=T.getBoundingRect([M]);T.attr("position",[b.x-F.x,b.y-F.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,b=this._size,x=this._displayables.barGroup;x.add(new t({silent:!0,shape:{x:0,y:0,width:b[0],height:b[1]},style:{fill:T.get("backgroundColor")},z2:-40})),x.add(new t({shape:{x:0,y:0,width:b[0],height:b[1]},style:{fill:"transparent"},z2:0,onclick:d.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var T=this._dataShadowInfo=this._prepareDataShadowInfo();if(!T)return;var b=this._size,x=T.series,N=x.getRawData(),D=x.getShadowDim?x.getShadowDim():T.otherDim;if(D==null)return;var M=N.getDataExtent(D),R=(M[1]-M[0])*.3;M=[M[0]-R,M[1]+R];var F=[0,b[1]],B=[0,b[0]],z=[[b[0],0],[0,0]],U=[],K=B[1]/(N.count()-1),W=0,H=Math.round(N.count()/b[0]),Y;N.each([D],function(P,G){if(H>0&&G%H){W+=K;return}var J=P==null||isNaN(P)||P==="",he=J?0:o(P,M,F,!0);J&&!Y&&G?(z.push([z[z.length-1][0],0]),U.push([U[U.length-1][0],0])):!J&&Y&&(z.push([W,0]),U.push([W,0])),z.push([W,he]),U.push([W,he]),W+=K,Y=J});var Q=this.dataZoomModel;this._displayables.barGroup.add(new v.Polygon({shape:{points:z},style:d.defaults({fill:Q.get("dataBackgroundColor")},Q.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new v.Polyline({shape:{points:U},style:Q.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var T=this.dataZoomModel,b=T.get("showDataShadow");if(b===!1)return;var x,N=this.ecModel;return T.eachTargetAxis(function(D,M){var R=T.getAxisProxy(D.name,M).getTargetSeriesModels();d.each(R,function(F){if(x)return;if(b!==!0&&d.indexOf(A,F.get("type"))<0)return;var B=N.getComponent(D.axis,M).axis,z=S(D.name),U,K=F.coordinateSystem;z!=null&&K.getOtherAxis&&(U=K.getOtherAxis(B).inverse),z=F.getData().mapDimension(z),x={thisAxis:B,series:F,thisDim:D.name,otherDim:z,otherAxisInverse:U}},this)},this),x},_renderHandle:function(){var T=this._displayables,b=T.handles=[],x=T.handleLabels=[],N=this._displayables.barGroup,D=this._size,M=this.dataZoomModel;N.add(T.filler=new t({draggable:!0,cursor:E(this._orient),drift:l(this._onDragMove,this,"all"),ondragstart:l(this._showDataInfo,this,!0),ondragend:l(this._onDragEnd,this),onmouseover:l(this._showDataInfo,this,!0),onmouseout:l(this._showDataInfo,this,!1),style:{fill:M.get("fillerColor"),textPosition:"inside"}})),N.add(new t({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:D[0],height:D[1]},style:{stroke:M.get("dataBackgroundColor")||M.get("borderColor"),lineWidth:r,fill:"rgba(0,0,0,0)"}})),n([0,1],function(R){var F=v.createIcon(M.get("handleIcon"),{cursor:E(this._orient),draggable:!0,drift:l(this._onDragMove,this,R),ondragend:l(this._onDragEnd,this),onmouseover:l(this._showDataInfo,this,!0),onmouseout:l(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),B=F.getBoundingRect();this._handleHeight=w.parsePercent(M.get("handleSize"),this._size[1]),this._handleWidth=B.width/B.height*this._handleHeight,F.setStyle(M.getModel("handleStyle").getItemStyle());var z=M.get("handleColor");z!=null&&(F.style.fill=z),N.add(b[R]=F);var U=M.textStyleModel;this.group.add(x[R]=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:U.getTextColor(),textFont:U.getFont()},z2:10}))},this)},_resetInterval:function(){var T=this._range=this.dataZoomModel.getPercentRange(),b=this._getViewExtent();this._handleEnds=[o(T[0],[0,100],b,!0),o(T[1],[0,100],b,!0)]},_updateInterval:function(T,b){var x=this.dataZoomModel,N=this._handleEnds,D=this._getViewExtent(),M=x.findRepresentativeAxisProxy().getMinMaxSpan(),R=[0,100];a(b,N,D,x.get("zoomLock")?"all":T,M.minSpan!=null?o(M.minSpan,R,D,!0):null,M.maxSpan!=null?o(M.maxSpan,R,D,!0):null);var F=this._range,B=this._range=s([o(N[0],D,R,!0),o(N[1],D,R,!0)]);return!F||F[0]!==B[0]||F[1]!==B[1]},_updateView:function(T){var b=this._displayables,x=this._handleEnds,N=s(x.slice()),D=this._size;n([0,1],function(M){var R=b.handles[M],F=this._handleHeight;R.attr({scale:[F/2,F/2],position:[x[M],D[1]/2-F/2]})},this),b.filler.setShape({x:N[0],y:0,width:N[1]-N[0],height:D[1]}),this._updateDataInfo(T)},_updateDataInfo:function(T){var b=this.dataZoomModel,x=this._displayables,N=x.handleLabels,D=this._orient,M=["",""];if(b.get("showDetail")){var R=b.findRepresentativeAxisProxy();if(R){var F=R.getAxisModel().axis,B=this._range,z=T?R.calculateDataWindow({start:B[0],end:B[1]}).valueWindow:R.getDataValueWindow();M=[this._formatLabel(z[0],F),this._formatLabel(z[1],F)]}}var U=s(this._handleEnds.slice());K.call(this,0),K.call(this,1);function K(W){var H=v.getTransform(x.handles[W].parent,this.group),Y=v.transformDirection(W===0?"right":"left",H),Q=this._handleWidth/2+p,P=v.applyTransform([U[W]+(W===0?-Q:Q),this._size[1]/2],H);N[W].setStyle({x:P[0],y:P[1],textVerticalAlign:D===i?"middle":Y,textAlign:D===i?Y:"center",text:M[W]})}},_formatLabel:function(T,b){var x=this.dataZoomModel,N=x.get("labelFormatter"),D=x.get("labelPrecision");(D==null||D==="auto")&&(D=b.getPixelPrecision());var M=T==null||isNaN(T)?"":b.type==="category"||b.type==="time"?b.scale.getLabel(Math.round(T)):T.toFixed(Math.min(D,20));return d.isFunction(N)?N(T,M):d.isString(N)?N.replace("{value}",M):M},_showDataInfo:function(T){T=this._dragging||T;var b=this._displayables.handleLabels;b[0].attr("invisible",!T),b[1].attr("invisible",!T)},_onDragMove:function(T,b,x,N){this._dragging=!0,L.stop(N.event);var D=this._displayables.barGroup.getLocalTransform(),M=v.applyTransform([b,x],D,!0),R=this._updateInterval(T,M[0]),F=this.dataZoomModel.get("realtime");this._updateView(!F),R&&F&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var T=this.dataZoomModel.get("realtime");!T&&this._dispatchZoomAction()},_onClickPanelClick:function(T){var b=this._size,x=this._displayables.barGroup.transformCoordToLocal(T.offsetX,T.offsetY);if(x[0]<0||x[0]>b[0]||x[1]<0||x[1]>b[1])return;var N=this._handleEnds,D=(N[0]+N[1])/2,M=this._updateInterval("all",x[0]-D);this._updateView(),M&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var T=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:T[0],end:T[1]})},_findCoordRect:function(){var T;if(n(this.getTargetCoordInfo(),function(N){if(!T&&N.length){var D=N[0].model.coordinateSystem;T=D.getRect&&D.getRect()}}),!T){var b=this.api.getWidth(),x=this.api.getHeight();T={x:b*.2,y:x*.2,width:b*.6,height:x*.6}}return T}});function S(T){var b={x:"y",y:"x",radius:"angle",angle:"radius"};return b[T]}function E(T){return T==="vertical"?"ns-resize":"ew-resize"}var O=C;Z.exports=O},hQli:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.removeSensor=_.getSensor=void 0;var d=m(e("NNdr")),L=e("A2sQ"),v=e("MPYE");function m(a){return a&&a.__esModule?a:{default:a}}var y={},w=function(t){var o=t.getAttribute(v.SizeSensorId);if(o&&y[o])return y[o];var s=(0,d.default)();t.setAttribute(v.SizeSensorId,s);var l=(0,L.createSensor)(t);return y[s]=l,l};_.getSensor=w;var f=function(t){var o=t.element.getAttribute(v.SizeSensorId);t.element.removeAttribute(v.SizeSensorId),t.destroy(),o&&y[o]&&delete y[o]};_.removeSensor=f},hTF7:function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("ZZRV"),w=e.n(y),f=e("1gHQ"),a=e("zjzt"),t=e("FGJx"),o=e("o0AO"),s=e("uwZC"),l=e("MRRG"),n=e("GY0J"),c=e("iczh"),r=e.n(c),u=function(gt){var it,qe="".concat(gt.rootPrefixCls,"-item"),At=r()(qe,"".concat(qe,"-").concat(gt.page),(it={},Object(a.a)(it,"".concat(qe,"-active"),gt.active),Object(a.a)(it,gt.className,!!gt.className),Object(a.a)(it,"".concat(qe,"-disabled"),!gt.page),it)),dt=function(){gt.onClick(gt.page)},wt=function(mt){gt.onKeyPress(mt,gt.onClick,gt.page)};return w.a.createElement("li",{title:gt.showTitle?gt.page:null,className:At,onClick:dt,onKeyPress:wt,tabIndex:"0"},gt.itemRender(gt.page,"page",w.a.createElement("a",{rel:"nofollow"},gt.page)))},i=u,h={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40};function p(Pe){var gt=A();return function(){var qe=Object(n.a)(Pe),At;if(gt){var dt=Object(n.a)(this).constructor;At=Reflect.construct(qe,arguments,dt)}else At=qe.apply(this,arguments);return Object(l.a)(this,At)}}function A(){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(Pe){return!1}}var C=function(Pe){Object(s.a)(it,Pe);var gt=p(it);function it(){var qe;Object(t.a)(this,it);for(var At=arguments.length,dt=new Array(At),wt=0;wt<At;wt++)dt[wt]=arguments[wt];return qe=gt.call.apply(gt,[this].concat(dt)),qe.state={goInputText:""},qe.buildOptionText=function(Ye){return"".concat(Ye," ").concat(qe.props.locale.items_per_page)},qe.changeSize=function(Ye){qe.props.changeSize(Number(Ye))},qe.handleChange=function(Ye){qe.setState({goInputText:Ye.target.value})},qe.handleBlur=function(Ye){var mt=qe.props,Ue=mt.goButton,Re=mt.quickGo,Le=mt.rootPrefixCls,at=qe.state.goInputText;if(Ue||at==="")return;if(Ye.relatedTarget&&(Ye.relatedTarget.className.indexOf("".concat(Le,"-prev"))>=0||Ye.relatedTarget.className.indexOf("".concat(Le,"-next"))>=0))return;qe.setState({goInputText:""}),Re(qe.getValidValue())},qe.go=function(Ye){var mt=qe.state.goInputText;if(mt==="")return;(Ye.keyCode===h.ENTER||Ye.type==="click")&&(qe.setState({goInputText:""}),qe.props.quickGo(qe.getValidValue()))},qe}return Object(o.a)(it,[{key:"getValidValue",value:function(){var At=this.state,dt=At.goInputText,wt=At.current;return!dt||isNaN(dt)?wt:Number(dt)}},{key:"getPageSizeOptions",value:function(){var At=this.props,dt=At.pageSize,wt=At.pageSizeOptions;return wt.some(function(Ye){return Ye.toString()===dt.toString()})?wt:wt.concat([dt.toString()]).sort(function(Ye,mt){var Ue=isNaN(Number(Ye))?0:Number(Ye),Re=isNaN(Number(mt))?0:Number(mt);return Ue-Re})}},{key:"render",value:function(){var At=this,dt=this.props,wt=dt.pageSize,Ye=dt.locale,mt=dt.rootPrefixCls,Ue=dt.changeSize,Re=dt.quickGo,Le=dt.goButton,at=dt.selectComponentClass,Ot=dt.buildOptionText,Tt=dt.selectPrefixCls,Ft=dt.disabled,ke=this.state.goInputText,Vt="".concat(mt,"-options"),bt=at,Rt=null,Nt=null,xt=null;if(!Ue&&!Re)return null;var Ut=this.getPageSizeOptions();if(Ue&&bt){var Ze=Ut.map(function(ze,re){return w.a.createElement(bt.Option,{key:re,value:ze},(Ot||At.buildOptionText)(ze))});Rt=w.a.createElement(bt,{disabled:Ft,prefixCls:Tt,showSearch:!1,className:"".concat(Vt,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(wt||Ut[0]).toString(),onChange:this.changeSize,getPopupContainer:function(re){return re.parentNode}},Ze)}return Re&&(Le&&(xt=typeof Le=="boolean"?w.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ft,className:"".concat(Vt,"-quick-jumper-button")},Ye.jump_to_confirm):w.a.createElement("span",{onClick:this.go,onKeyUp:this.go},Le)),Nt=w.a.createElement("div",{className:"".concat(Vt,"-quick-jumper")},Ye.jump_to,w.a.createElement("input",{disabled:Ft,type:"text",value:ke,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ye.page,xt)),w.a.createElement("li",{className:"".concat(Vt)},Rt,Nt)}}]),it}(w.a.Component);C.defaultProps={pageSizeOptions:["10","20","50","100"]};var S=C,E=e("m1QJ");function O(Pe,gt){var it=Object.keys(Pe);if(Object.getOwnPropertySymbols){var qe=Object.getOwnPropertySymbols(Pe);gt&&(qe=qe.filter(function(At){return Object.getOwnPropertyDescriptor(Pe,At).enumerable})),it.push.apply(it,qe)}return it}function T(Pe){for(var gt=1;gt<arguments.length;gt++){var it=arguments[gt]!=null?arguments[gt]:{};gt%2?O(Object(it),!0).forEach(function(qe){Object(a.a)(Pe,qe,it[qe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Pe,Object.getOwnPropertyDescriptors(it)):O(Object(it)).forEach(function(qe){Object.defineProperty(Pe,qe,Object.getOwnPropertyDescriptor(it,qe))})}return Pe}function b(Pe){var gt=x();return function(){var qe=Object(n.a)(Pe),At;if(gt){var dt=Object(n.a)(this).constructor;At=Reflect.construct(qe,arguments,dt)}else At=qe.apply(this,arguments);return Object(l.a)(this,At)}}function x(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Pe){return!1}}function N(){}function D(Pe){return typeof Pe=="number"&&isFinite(Pe)&&Math.floor(Pe)===Pe}function M(Pe,gt,it){return it}function R(Pe,gt,it){var qe=typeof Pe=="undefined"?gt.pageSize:Pe;return Math.floor((it.total-1)/qe)+1}var F=function(Pe){Object(s.a)(it,Pe);var gt=b(it);function it(qe){var At;Object(t.a)(this,it),At=gt.call(this,qe),At.getJumpPrevPage=function(){return Math.max(1,At.state.current-(At.props.showLessItems?3:5))},At.getJumpNextPage=function(){return Math.min(R(void 0,At.state,At.props),At.state.current+(At.props.showLessItems?3:5))},At.getItemIcon=function(Ue,Re){var Le=At.props.prefixCls,at=Ue||w.a.createElement("button",{type:"button","aria-label":Re,className:"".concat(Le,"-item-link")});return typeof Ue=="function"&&(at=w.a.createElement(Ue,T({},At.props))),at},At.savePaginationNode=function(Ue){At.paginationNode=Ue},At.isValid=function(Ue){return D(Ue)&&Ue!==At.state.current},At.shouldDisplayQuickJumper=function(){var Ue=At.props,Re=Ue.showQuickJumper,Le=Ue.pageSize,at=Ue.total;return at<=Le?!1:Re},At.handleKeyDown=function(Ue){(Ue.keyCode===h.ARROW_UP||Ue.keyCode===h.ARROW_DOWN)&&Ue.preventDefault()},At.handleKeyUp=function(Ue){var Re=At.getValidValue(Ue),Le=At.state.currentInputValue;Re!==Le&&At.setState({currentInputValue:Re}),Ue.keyCode===h.ENTER?At.handleChange(Re):Ue.keyCode===h.ARROW_UP?At.handleChange(Re-1):Ue.keyCode===h.ARROW_DOWN&&At.handleChange(Re+1)},At.changePageSize=function(Ue){var Re=At.state.current,Le=R(Ue,At.state,At.props);Re=Re>Le?Le:Re,Le===0&&(Re=At.state.current),typeof Ue=="number"&&("pageSize"in At.props||At.setState({pageSize:Ue}),"current"in At.props||At.setState({current:Re,currentInputValue:Re})),At.props.onShowSizeChange(Re,Ue),"onChange"in At.props&&At.props.onChange&&At.props.onChange(Re,Ue)},At.handleChange=function(Ue){var Re=At.props.disabled,Le=Ue;if(At.isValid(Le)&&!Re){var at=R(void 0,At.state,At.props);Le>at?Le=at:Le<1&&(Le=1),"current"in At.props||At.setState({current:Le,currentInputValue:Le});var Ot=At.state.pageSize;return At.props.onChange(Le,Ot),Le}return At.state.current},At.prev=function(){At.hasPrev()&&At.handleChange(At.state.current-1)},At.next=function(){At.hasNext()&&At.handleChange(At.state.current+1)},At.jumpPrev=function(){At.handleChange(At.getJumpPrevPage())},At.jumpNext=function(){At.handleChange(At.getJumpNextPage())},At.hasPrev=function(){return At.state.current>1},At.hasNext=function(){return At.state.current<R(void 0,At.state,At.props)},At.runIfEnter=function(Ue,Re){if(Ue.key==="Enter"||Ue.charCode===13){for(var Le=arguments.length,at=new Array(Le>2?Le-2:0),Ot=2;Ot<Le;Ot++)at[Ot-2]=arguments[Ot];Re.apply(void 0,at)}},At.runIfEnterPrev=function(Ue){At.runIfEnter(Ue,At.prev)},At.runIfEnterNext=function(Ue){At.runIfEnter(Ue,At.next)},At.runIfEnterJumpPrev=function(Ue){At.runIfEnter(Ue,At.jumpPrev)},At.runIfEnterJumpNext=function(Ue){At.runIfEnter(Ue,At.jumpNext)},At.handleGoTO=function(Ue){(Ue.keyCode===h.ENTER||Ue.type==="click")&&At.handleChange(At.state.currentInputValue)};var dt=qe.onChange!==N,wt="current"in qe;wt&&!dt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ye=qe.defaultCurrent;"current"in qe&&(Ye=qe.current);var mt=qe.defaultPageSize;return"pageSize"in qe&&(mt=qe.pageSize),Ye=Math.min(Ye,R(mt,void 0,qe)),At.state={current:Ye,currentInputValue:Ye,pageSize:mt},At}return Object(o.a)(it,[{key:"componentDidUpdate",value:function(At,dt){var wt=this.props.prefixCls;if(dt.current!==this.state.current&&this.paginationNode){var Ye=this.paginationNode.querySelector(".".concat(wt,"-item-").concat(dt.current));Ye&&document.activeElement===Ye&&Ye.blur()}}},{key:"getValidValue",value:function(At){var dt=At.target.value,wt=R(void 0,this.state,this.props),Ye=this.state.currentInputValue,mt;return dt===""?mt=dt:isNaN(Number(dt))?mt=Ye:dt>=wt?mt=wt:mt=Number(dt),mt}},{key:"getShowSizeChanger",value:function(){var At=this.props,dt=At.showSizeChanger,wt=At.total,Ye=At.totalBoundaryShowSizeChanger;return typeof dt!="undefined"?dt:wt>Ye}},{key:"renderPrev",value:function(At){var dt=this.props,wt=dt.prevIcon,Ye=dt.itemRender,mt=Ye(At,"prev",this.getItemIcon(wt,"prev page")),Ue=!this.hasPrev();return Object(y.isValidElement)(mt)?Object(y.cloneElement)(mt,{disabled:Ue}):mt}},{key:"renderNext",value:function(At){var dt=this.props,wt=dt.nextIcon,Ye=dt.itemRender,mt=Ye(At,"next",this.getItemIcon(wt,"next page")),Ue=!this.hasNext();return Object(y.isValidElement)(mt)?Object(y.cloneElement)(mt,{disabled:Ue}):mt}},{key:"render",value:function(){var At=this,dt=this.props,wt=dt.prefixCls,Ye=dt.className,mt=dt.style,Ue=dt.disabled,Re=dt.hideOnSinglePage,Le=dt.total,at=dt.locale,Ot=dt.showQuickJumper,Tt=dt.showLessItems,Ft=dt.showTitle,ke=dt.showTotal,Vt=dt.simple,bt=dt.itemRender,Rt=dt.showPrevNextJumpers,Nt=dt.jumpPrevIcon,xt=dt.jumpNextIcon,Ut=dt.selectComponentClass,Ze=dt.selectPrefixCls,ze=dt.pageSizeOptions,re=this.state,le=re.current,Xe=re.pageSize,_e=re.currentInputValue;if(Re===!0&&Le<=Xe)return null;var je=R(void 0,this.state,this.props),ar=[],zt=null,Pt=null,qt=null,or=null,Kt=null,Mt=Ot&&Ot.goButton,me=Tt?1:2,ce=le-1>0?le-1:0,ae=le+1<je?le+1:je,de=Object.keys(this.props).reduce(function(se,ge){return(ge.substr(0,5)==="data-"||ge.substr(0,5)==="aria-"||ge==="role")&&(se[ge]=At.props[ge]),se},{});if(Vt)return Mt&&(typeof Mt=="boolean"?Kt=w.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},at.jump_to_confirm):Kt=w.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Mt),Kt=w.a.createElement("li",{title:Ft?"".concat(at.jump_to).concat(le,"/").concat(je):null,className:"".concat(wt,"-simple-pager")},Kt)),w.a.createElement("ul",Object(f.a)({className:r()(wt,"".concat(wt,"-simple"),Object(a.a)({},"".concat(wt,"-disabled"),Ue),Ye),style:mt,ref:this.savePaginationNode},de),w.a.createElement("li",{title:Ft?at.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:r()("".concat(wt,"-prev"),Object(a.a)({},"".concat(wt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(ce)),w.a.createElement("li",{title:Ft?"".concat(le,"/").concat(je):null,className:"".concat(wt,"-simple-pager")},w.a.createElement("input",{type:"text",value:_e,disabled:Ue,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),w.a.createElement("span",{className:"".concat(wt,"-slash")},"/"),je),w.a.createElement("li",{title:Ft?at.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:r()("".concat(wt,"-next"),Object(a.a)({},"".concat(wt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(ae)),Kt);if(je<=3+me*2){var Se={locale:at,rootPrefixCls:wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ft,itemRender:bt};je||ar.push(w.a.createElement(i,Object(f.a)({},Se,{key:"noPager",page:je,className:"".concat(wt,"-disabled")})));for(var Ce=1;Ce<=je;Ce+=1){var Ie=le===Ce;ar.push(w.a.createElement(i,Object(f.a)({},Se,{key:Ce,page:Ce,active:Ie})))}}else{var Te=Tt?at.prev_3:at.prev_5,Ee=Tt?at.next_3:at.next_5;Rt&&(zt=w.a.createElement("li",{title:Ft?Te:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:r()("".concat(wt,"-jump-prev"),Object(a.a)({},"".concat(wt,"-jump-prev-custom-icon"),!!Nt))},bt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Nt,"prev page"))),Pt=w.a.createElement("li",{title:Ft?Ee:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:r()("".concat(wt,"-jump-next"),Object(a.a)({},"".concat(wt,"-jump-next-custom-icon"),!!xt))},bt(this.getJumpNextPage(),"jump-next",this.getItemIcon(xt,"next page")))),or=w.a.createElement(i,{locale:at,last:!0,rootPrefixCls:wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:je,page:je,active:!1,showTitle:Ft,itemRender:bt}),qt=w.a.createElement(i,{locale:at,rootPrefixCls:wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ft,itemRender:bt});var He=Math.max(1,le-me),st=Math.min(le+me,je);le-1<=me&&(st=1+me*2),je-le<=me&&(He=je-me*2);for(var vt=He;vt<=st;vt+=1){var ee=le===vt;ar.push(w.a.createElement(i,{locale:at,rootPrefixCls:wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:vt,page:vt,active:ee,showTitle:Ft,itemRender:bt}))}le-1>=me*2&&le!==1+2&&(ar[0]=Object(y.cloneElement)(ar[0],{className:"".concat(wt,"-item-after-jump-prev")}),ar.unshift(zt)),je-le>=me*2&&le!==je-2&&(ar[ar.length-1]=Object(y.cloneElement)(ar[ar.length-1],{className:"".concat(wt,"-item-before-jump-next")}),ar.push(Pt)),He!==1&&ar.unshift(qt),st!==je&&ar.push(or)}var oe=null;ke&&(oe=w.a.createElement("li",{className:"".concat(wt,"-total-text")},ke(Le,[Le===0?0:(le-1)*Xe+1,le*Xe>Le?Le:le*Xe])));var k=!this.hasPrev()||!je,$=!this.hasNext()||!je;return w.a.createElement("ul",Object(f.a)({className:r()(wt,Ye,Object(a.a)({},"".concat(wt,"-disabled"),Ue)),style:mt,unselectable:"unselectable",ref:this.savePaginationNode},de),oe,w.a.createElement("li",{title:Ft?at.prev_page:null,onClick:this.prev,tabIndex:k?null:0,onKeyPress:this.runIfEnterPrev,className:r()("".concat(wt,"-prev"),Object(a.a)({},"".concat(wt,"-disabled"),k)),"aria-disabled":k},this.renderPrev(ce)),ar,w.a.createElement("li",{title:Ft?at.next_page:null,onClick:this.next,tabIndex:$?null:0,onKeyPress:this.runIfEnterNext,className:r()("".concat(wt,"-next"),Object(a.a)({},"".concat(wt,"-disabled"),$)),"aria-disabled":$},this.renderNext(ae)),w.a.createElement(S,{disabled:Ue,locale:at,rootPrefixCls:wt,selectComponentClass:Ut,selectPrefixCls:Ze,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:le,pageSize:Xe,pageSizeOptions:ze,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Mt}))}}],[{key:"getDerivedStateFromProps",value:function(At,dt){var wt={};if("current"in At&&(wt.current=At.current,At.current!==dt.current&&(wt.currentInputValue=wt.current)),"pageSize"in At&&At.pageSize!==dt.pageSize){var Ye=dt.current,mt=R(At.pageSize,dt,At);Ye=Ye>mt?mt:Ye,"current"in At||(wt.current=Ye,wt.currentInputValue=Ye),wt.pageSize=At.pageSize}return wt}}]),it}(w.a.Component);F.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:N,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:N,locale:E.a,style:{},itemRender:M,totalBoundaryShowSizeChanger:50};var B=F,z=e("Bthi"),U=e("BEiB"),K=e.n(U),W=e("kbon"),H=e.n(W),Y=e("KSZ+"),Q=e.n(Y),P=e("u5fj"),G=e.n(P),J=e("QeCE"),he=function(gt){return y.createElement(J.a,m()({size:"small"},gt))};he.Option=J.a.Option;var te=he,pe=e("CfwS"),we=e("LpVx"),be=e("+jib"),Qe=function(Pe,gt){var it={};for(var qe in Pe)Object.prototype.hasOwnProperty.call(Pe,qe)&>.indexOf(qe)<0&&(it[qe]=Pe[qe]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,qe=Object.getOwnPropertySymbols(Pe);At<qe.length;At++)gt.indexOf(qe[At])<0&&Object.prototype.propertyIsEnumerable.call(Pe,qe[At])&&(it[qe[At]]=Pe[qe[At]]);return it},$e=function(gt){var it=gt.prefixCls,qe=gt.selectPrefixCls,At=gt.className,dt=gt.size,wt=gt.locale,Ye=Qe(gt,["prefixCls","selectPrefixCls","className","size","locale"]),mt=Object(be.a)(),Ue=mt.xs,Re=y.useContext(we.b),Le=Re.getPrefixCls,at=Re.direction,Ot=Le("pagination",it),Tt=function(){var Vt=y.createElement("span",{className:"".concat(Ot,"-item-ellipsis")},"\u2022\u2022\u2022"),bt=y.createElement("button",{className:"".concat(Ot,"-item-link"),type:"button",tabIndex:-1},y.createElement(K.a,null)),Rt=y.createElement("button",{className:"".concat(Ot,"-item-link"),type:"button",tabIndex:-1},y.createElement(H.a,null)),Nt=y.createElement("a",{className:"".concat(Ot,"-item-link")},y.createElement("div",{className:"".concat(Ot,"-item-container")},y.createElement(Q.a,{className:"".concat(Ot,"-item-link-icon")}),Vt)),xt=y.createElement("a",{className:"".concat(Ot,"-item-link")},y.createElement("div",{className:"".concat(Ot,"-item-container")},y.createElement(G.a,{className:"".concat(Ot,"-item-link-icon")}),Vt));if(at==="rtl"){var Ut=[Rt,bt];bt=Ut[0],Rt=Ut[1];var Ze=[xt,Nt];Nt=Ze[0],xt=Ze[1]}return{prevIcon:bt,nextIcon:Rt,jumpPrevIcon:Nt,jumpNextIcon:xt}},Ft=function(Vt){var bt=m()(m()({},Vt),wt),Rt=dt==="small"||!!(Ue&&!dt&&Ye.responsive),Nt=Le("select",qe),xt=r()(At,L()({mini:Rt},"".concat(Ot,"-rtl"),at==="rtl"));return y.createElement(B,m()({},Ye,{prefixCls:Ot,selectPrefixCls:Nt},Tt(),{className:xt,selectComponentClass:Rt?te:J.a,locale:bt}))};return y.createElement(pe.a,{componentName:"Pagination",defaultLocale:z.a},Ft)},yt=$e,Fe=_.a=yt},hbMb:function(Z,_,e){var d=e("IwPN"),L=e("2Ofm");function v(m,y){var w=L(m,y);return d(w)?w:void 0}Z.exports=v},hdZ8:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="InboxOutlined";var w=_.a=d.forwardRef(y)},hkVq:function(Z,_,e){var d=e("oEo5"),L=e("zYjg"),v=e("DMEU"),m=e("a67U"),y=m.radialCoordinate,w=e("Q6Bq"),f=e("spGK"),a=e("E1KW"),t=e("/vp6"),o=e("MLk5"),s=e("Owcv"),l=s.onIrrelevantElement,n=e("IPcT"),c=n.__DEV__,r=e("Jjzi"),u=r.parsePercent,i=L.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,b){var x=b.childPoints,N=x.length,D=b.parentPoint,M=x[0],R=x[N-1];if(N===1){T.moveTo(D[0],D[1]),T.lineTo(M[0],M[1]);return}var F=b.orient,B=F==="TB"||F==="BT"?0:1,z=1-B,U=u(b.forkPosition,1),K=[];K[B]=D[B],K[z]=D[z]+(R[z]-D[z])*U,T.moveTo(D[0],D[1]),T.lineTo(K[0],K[1]),T.moveTo(M[0],M[1]),K[B]=M[B],T.lineTo(K[0],K[1]),K[B]=R[B],T.lineTo(K[0],K[1]),T.lineTo(R[0],R[1]);for(var W=1;W<N-1;W++){var H=x[W];T.moveTo(H[0],H[1]),K[B]=H[B],T.lineTo(K[0],K[1])}}}),h=w.extendChartView({type:"tree",init:function(T,b){this._oldTree,this._mainGroup=new L.Group,this._controller=new o(b.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(T,b,x,N){var D=T.getData(),M=T.layoutInfo,R=this._mainGroup,F=T.get("layout");F==="radial"?R.attr("position",[M.x+M.width/2,M.y+M.height/2]):R.attr("position",[M.x,M.y]),this._updateViewCoordSys(T,M,F),this._updateController(T,b,x);var B=this._data,z={expandAndCollapse:T.get("expandAndCollapse"),layout:F,edgeShape:T.get("edgeShape"),edgeForkPosition:T.get("edgeForkPosition"),orient:T.getOrient(),curvature:T.get("lineStyle.curveness"),symbolRotate:T.get("symbolRotate"),symbolOffset:T.get("symbolOffset"),hoverAnimation:T.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};D.diff(B).add(function(U){p(D,U)&&C(D,U,null,R,T,z)}).update(function(U,K){var W=B.getItemGraphicEl(K);if(!p(D,U)){W&&E(B,K,W,R,T,z);return}C(D,U,W,R,T,z)}).remove(function(U){var K=B.getItemGraphicEl(U);K&&E(B,U,K,R,T,z)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),z.expandAndCollapse===!0&&D.eachItemGraphicEl(function(U,K){U.off("click").on("click",function(){x.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:K})})}),this._data=D},_updateViewCoordSys:function(T){var b=T.getData(),x=[];b.each(function(B){var z=b.getItemLayout(B);z&&!isNaN(z.x)&&!isNaN(z.y)&&x.push([+z.x,+z.y])});var N=[],D=[];f.fromPoints(x,N,D);var M=this._min,R=this._max;D[0]-N[0]===0&&(N[0]=M?M[0]:N[0]-1,D[0]=R?R[0]:D[0]+1),D[1]-N[1]===0&&(N[1]=M?M[1]:N[1]-1,D[1]=R?R[1]:D[1]+1);var F=T.coordinateSystem=new a;F.zoomLimit=T.get("scaleLimit"),F.setBoundingRect(N[0],N[1],D[0]-N[0],D[1]-N[1]),F.setCenter(T.get("center")),F.setZoom(T.get("zoom")),this.group.attr({position:F.position,scale:F.scale}),this._viewCoordSys=F,this._min=N,this._max=D},_updateController:function(T,b,x){var N=this._controller,D=this._controllerHost,M=this.group;N.setPointerChecker(function(R,F,B){var z=M.getBoundingRect();return z.applyTransform(M.transform),z.contain(F,B)&&!l(R,x,T)}),N.enable(T.get("roam")),D.zoomLimit=T.get("scaleLimit"),D.zoom=T.coordinateSystem.getZoom(),N.off("pan").off("zoom").on("pan",function(R){t.updateViewOnPan(D,R.dx,R.dy),x.dispatchAction({seriesId:T.id,type:"treeRoam",dx:R.dx,dy:R.dy})},this).on("zoom",function(R){t.updateViewOnZoom(D,R.scale,R.originX,R.originY),x.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:R.scale,originX:R.originX,originY:R.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var b=T.getData(),x=this._getNodeGlobalScale(T),N=[x,x];b.eachItemGraphicEl(function(D,M){D.attr("scale",N)})},_getNodeGlobalScale:function(T){var b=T.coordinateSystem;if(b.type!=="view")return 1;var x=this._nodeScaleRatio,N=b.scale,D=N&&N[0]||1,M=b.getZoom(),R=(M-1)*x+1;return R/D},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function p(T,b){var x=T.getItemLayout(b);return x&&!isNaN(x.x)&&!isNaN(x.y)&&T.getItemVisual(b,"symbol")!=="none"}function A(T,b,x){return x.itemModel=b,x.itemStyle=b.getModel("itemStyle").getItemStyle(),x.hoverItemStyle=b.getModel("emphasis.itemStyle").getItemStyle(),x.lineStyle=b.getModel("lineStyle").getLineStyle(),x.labelModel=b.getModel("label"),x.hoverLabelModel=b.getModel("emphasis.label"),T.isExpand===!1&&T.children.length!==0?x.symbolInnerColor=x.itemStyle.fill:x.symbolInnerColor="#fff",x}function C(T,b,x,N,D,M){var R=!x,F=T.tree.getNodeByDataIndex(b),B=F.getModel(),M=A(F,B,M),z=T.tree.root,U=F.parentNode===z?F:F.parentNode||F,K=T.getItemGraphicEl(U.dataIndex),W=U.getLayout(),H=K?{x:K.position[0],y:K.position[1],rawX:K.__radialOldRawX,rawY:K.__radialOldRawY}:W,Y=F.getLayout();R?(x=new v(T,b,M),x.attr("position",[H.x,H.y])):x.updateData(T,b,M),x.__radialOldRawX=x.__radialRawX,x.__radialOldRawY=x.__radialRawY,x.__radialRawX=Y.rawX,x.__radialRawY=Y.rawY,N.add(x),T.setItemGraphicEl(b,x),L.updateProps(x,{position:[Y.x,Y.y]},D);var Q=x.getSymbolPath();if(M.layout==="radial"){var P=z.children[0],G=P.getLayout(),J=P.children.length,he,te;if(Y.x===G.x&&F.isExpand===!0){var pe={};pe.x=(P.children[0].getLayout().x+P.children[J-1].getLayout().x)/2,pe.y=(P.children[0].getLayout().y+P.children[J-1].getLayout().y)/2,he=Math.atan2(pe.y-G.y,pe.x-G.x),he<0&&(he=Math.PI*2+he),te=pe.x<G.x,te&&(he=he-Math.PI)}else he=Math.atan2(Y.y-G.y,Y.x-G.x),he<0&&(he=Math.PI*2+he),F.children.length===0||F.children.length!==0&&F.isExpand===!1?(te=Y.x<G.x,te&&(he=he-Math.PI)):(te=Y.x>G.x,te||(he=he-Math.PI));var we=te?"left":"right",be=M.labelModel.get("rotate"),Qe=be*(Math.PI/180);Q.setStyle({textPosition:M.labelModel.get("position")||we,textRotation:be==null?-he:Qe,textOrigin:"center",verticalAlign:"middle"})}S(D,F,z,x,H,W,Y,N,M)}function S(T,b,x,N,D,M,R,F,B){var z=B.edgeShape,U=N.__edge;if(z==="curve")b.parentNode&&b.parentNode!==x&&(U||(U=N.__edge=new L.BezierCurve({shape:O(B,D,D),style:d.defaults({opacity:0,strokeNoScale:!0},B.lineStyle)})),L.updateProps(U,{shape:O(B,M,R),style:d.defaults({opacity:1},B.lineStyle)},T));else if(z==="polyline"&&(B.layout==="orthogonal"&&(b!==x&&b.children&&b.children.length!==0&&b.isExpand===!0))){for(var K=b.children,W=[],H=0;H<K.length;H++){var Y=K[H].getLayout();W.push([Y.x,Y.y])}U||(U=N.__edge=new i({shape:{parentPoint:[R.x,R.y],childPoints:[[R.x,R.y]],orient:B.orient,forkPosition:B.edgeForkPosition},style:d.defaults({opacity:0,strokeNoScale:!0},B.lineStyle)})),L.updateProps(U,{shape:{parentPoint:[R.x,R.y],childPoints:W},style:d.defaults({opacity:1},B.lineStyle)},T)}F.add(U)}function E(T,b,x,N,D,M){for(var R=T.tree.getNodeByDataIndex(b),F=T.tree.root,B=R.getModel(),M=A(R,B,M),z=R.parentNode===F?R:R.parentNode||R,U=M.edgeShape,K;K=z.getLayout(),K==null;)z=z.parentNode===F?z:z.parentNode||z;L.updateProps(x,{position:[K.x+1,K.y+1]},D,function(){N.remove(x),T.setItemGraphicEl(b,null)}),x.fadeOut(null,{keepLabel:!0});var W=T.getItemGraphicEl(z.dataIndex),H=W.__edge,Y=x.__edge||(z.isExpand===!1||z.children.length===1?H:void 0),U=M.edgeShape;Y&&(U==="curve"?L.updateProps(Y,{shape:O(M,K,K),style:{opacity:0}},D,function(){N.remove(Y)}):U==="polyline"&&M.layout==="orthogonal"&&L.updateProps(Y,{shape:{parentPoint:[K.x,K.y],childPoints:[[K.x,K.y]]},style:{opacity:0}},D,function(){N.remove(Y)}))}function O(T,b,x){var N,D,M,R,F=T.orient,B,z,U,K;if(T.layout==="radial"){B=b.rawX,U=b.rawY,z=x.rawX,K=x.rawY;var W=y(B,U),H=y(B,U+(K-U)*T.curvature),Y=y(z,K+(U-K)*T.curvature),Q=y(z,K);return{x1:W.x,y1:W.y,x2:Q.x,y2:Q.y,cpx1:H.x,cpy1:H.y,cpx2:Y.x,cpy2:Y.y}}else B=b.x,U=b.y,z=x.x,K=x.y,(F==="LR"||F==="RL")&&(N=B+(z-B)*T.curvature,D=U,M=z+(B-z)*T.curvature,R=K),(F==="TB"||F==="BT")&&(N=B,D=U+(K-U)*T.curvature,M=z,R=K+(U-K)*T.curvature);return{x1:B,y1:U,x2:z,y2:K,cpx1:N,cpy1:D,cpx2:M,cpy2:R}}Z.exports=h},hmv6:function(Z,_,e){var d=e("hbMb"),L=d(Object,"create");Z.exports=L},hsS0:function(Z,_,e){var d=e("trXQ"),L=d.Uint8Array;Z.exports=L},i4g8:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="PlusCircleOutlined";var w=_.a=d.forwardRef(y)},iAHn:function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("ZZRV"),w=e("iczh"),f=e.n(w),a=e("LpVx"),t=e("E6G/"),o=e.n(t),s=function(H){var Y=H.value,Q=H.formatter,P=H.precision,G=H.decimalSeparator,J=H.groupSeparator,he=J===void 0?"":J,te=H.prefixCls,pe;if(typeof Q=="function")pe=Q(Y);else{var we=String(Y),be=we.match(/^(-?)(\d*)(\.(\d+))?$/);if(!be||we==="-")pe=we;else{var Qe=be[1],$e=be[2]||"0",yt=be[4]||"";$e=$e.replace(/\B(?=(\d{3})+(?!\d))/g,he),typeof P=="number"&&(yt=o()(yt,P,"0").slice(0,P)),yt&&(yt="".concat(G).concat(yt)),pe=[y.createElement("span",{key:"int",className:"".concat(te,"-content-value-int")},Qe,$e),yt&&y.createElement("span",{key:"decimal",className:"".concat(te,"-content-value-decimal")},yt)]}}return y.createElement("span",{className:"".concat(te,"-content-value")},pe)},l=s,n=function(H){var Y=H.prefixCls,Q=H.className,P=H.style,G=H.valueStyle,J=H.value,he=J===void 0?0:J,te=H.title,pe=H.valueRender,we=H.prefix,be=H.suffix,Qe=H.direction,$e=H.onMouseEnter,yt=H.onMouseLeave,Fe=y.createElement(l,m()({},H,{value:he})),Pe=f()(Y,Q,L()({},"".concat(Y,"-rtl"),Qe==="rtl"));return y.createElement("div",{className:Pe,style:P,onMouseEnter:$e,onMouseLeave:yt},te&&y.createElement("div",{className:"".concat(Y,"-title")},te),y.createElement("div",{style:G,className:"".concat(Y,"-content")},we&&y.createElement("span",{className:"".concat(Y,"-content-prefix")},we),pe?pe(Fe):Fe,be&&y.createElement("span",{className:"".concat(Y,"-content-suffix")},be)))};n.defaultProps={decimalSeparator:".",groupSeparator:","};var c=Object(a.c)({prefixCls:"statistic"})(n),r=c,u=e("XDlA"),i=e.n(u),h=e("T5E4"),p=e.n(h),A=e("XneU"),C=e.n(A),S=e("Hdxz"),E=e.n(S),O=e("LlUK"),T=e.n(O),b=e("XQ5J"),x=e.n(b),N=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function D(W,H){var Y=W,Q=/\[[^\]]*]/g,P=(H.match(Q)||[]).map(function(te){return te.slice(1,-1)}),G=H.replace(Q,"[]"),J=N.reduce(function(te,pe){var we=T()(pe,2),be=we[0],Qe=we[1];if(te.indexOf(be)!==-1){var $e=Math.floor(Y/Qe);return Y-=$e*Qe,te.replace(new RegExp("".concat(be,"+"),"g"),function(yt){var Fe=yt.length;return x()($e.toString(),Fe,"0")})}return te},G),he=0;return J.replace(Q,function(){var te=P[he];return he+=1,te})}function M(W,H){var Y=H.format,Q=Y===void 0?"":Y,P=new Date(W).getTime(),G=Date.now(),J=Math.max(P-G,0);return D(J,Q)}var R=e("nSZG"),F=1e3/30;function B(W){return new Date(W).getTime()}var z=function(W){C()(Y,W);var H=E()(Y);function Y(){var Q;return i()(this,Y),Q=H.apply(this,arguments),Q.syncTimer=function(){var P=Q.props.value,G=B(P);G>=Date.now()?Q.startTimer():Q.stopTimer()},Q.startTimer=function(){if(Q.countdownId)return;Q.countdownId=window.setInterval(function(){Q.forceUpdate()},F)},Q.stopTimer=function(){var P=Q.props,G=P.onFinish,J=P.value;if(Q.countdownId){clearInterval(Q.countdownId),Q.countdownId=void 0;var he=B(J);G&&he<Date.now()&&G()}},Q.formatCountdown=function(P,G){var J=Q.props.format;return M(P,m()(m()({},G),{format:J}))},Q.valueRender=function(P){return Object(R.a)(P,{title:void 0})},Q}return p()(Y,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return y.createElement(r,m()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),Y}(y.Component);z.defaultProps={format:"HH:mm:ss"};var U=z;r.Countdown=U;var K=_.a=r},iBFk:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("bOtj"),w=e.n(y),f=e("ZZRV"),a=e("iczh"),t=e.n(a),o=e("7AgF"),s=e("QJYX"),l=e.n(s),n=e("2myq"),c=e("LpVx"),r=function(R,F){var B={};for(var z in R)Object.prototype.hasOwnProperty.call(R,z)&&F.indexOf(z)<0&&(B[z]=R[z]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,z=Object.getOwnPropertySymbols(R);U<z.length;U++)F.indexOf(z[U])<0&&Object.prototype.propertyIsEnumerable.call(R,z[U])&&(B[z[U]]=R[z[U]]);return B},u=function(F){var B=F.prefixCls,z=F.separator,U=z===void 0?"/":z,K=F.children,W=F.overlay,H=F.dropdownProps,Y=r(F,["prefixCls","separator","children","overlay","dropdownProps"]),Q=f.useContext(c.b),P=Q.getPrefixCls,G=P("breadcrumb",B),J=function(pe){return W?f.createElement(n.a,L()({overlay:W,placement:"bottomCenter"},H),f.createElement("span",{className:"".concat(G,"-overlay-link")},pe,f.createElement(l.a,null))):pe},he;return"href"in Y?he=f.createElement("a",L()({className:"".concat(G,"-link")},Y),K):he=f.createElement("span",L()({className:"".concat(G,"-link")},Y),K),he=J(he),K?f.createElement("span",null,he,U&&U!==""&&f.createElement("span",{className:"".concat(G,"-separator")},U)):null};u.__ANT_BREADCRUMB_ITEM=!0;var i=u,h=function(F){var B=F.children,z=f.useContext(c.b),U=z.getPrefixCls,K=U("breadcrumb");return f.createElement("span",{className:"".concat(K,"-separator")},B||"/")};h.__ANT_BREADCRUMB_SEPARATOR=!0;var p=h,A=e("9rdS"),C=e("b5WB"),S=e("nSZG"),E=function(R,F){var B={};for(var z in R)Object.prototype.hasOwnProperty.call(R,z)&&F.indexOf(z)<0&&(B[z]=R[z]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,z=Object.getOwnPropertySymbols(R);U<z.length;U++)F.indexOf(z[U])<0&&Object.prototype.propertyIsEnumerable.call(R,z[U])&&(B[z[U]]=R[z[U]]);return B};function O(R,F){if(!R.breadcrumbName)return null;var B=Object.keys(F).join("|"),z=R.breadcrumbName.replace(new RegExp(":(".concat(B,")"),"g"),function(U,K){return F[K]||U});return z}function T(R,F,B,z){var U=B.indexOf(R)===B.length-1,K=O(R,F);return U?f.createElement("span",null,K):f.createElement("a",{href:"#/".concat(z.join("/"))},K)}var b=function(F,B){return F=(F||"").replace(/^\//,""),Object.keys(B).forEach(function(z){F=F.replace(":".concat(z),B[z])}),F},x=function(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",z=arguments.length>2?arguments[2]:void 0,U=w()(F),K=b(B,z);return K&&U.push(K),U},N=function(F){var B=F.prefixCls,z=F.separator,U=z===void 0?"/":z,K=F.style,W=F.className,H=F.routes,Y=F.children,Q=F.itemRender,P=Q===void 0?T:Q,G=F.params,J=G===void 0?{}:G,he=E(F,["prefixCls","separator","style","className","routes","children","itemRender","params"]),te=f.useContext(c.b),pe=te.getPrefixCls,we=te.direction,be,Qe=pe("breadcrumb",B);if(H&&H.length>0){var $e=[];be=H.map(function(Fe){var Pe=b(Fe.path,J);Pe&&$e.push(Pe);var gt;return Fe.children&&Fe.children.length&&(gt=f.createElement(A.a,null,Fe.children.map(function(it){return f.createElement(A.a.Item,{key:it.path||it.breadcrumbName},P(it,J,H,x($e,it.path,J)))}))),f.createElement(i,{overlay:gt,separator:U,key:Pe||Fe.breadcrumbName},P(Fe,J,H,$e))})}else Y&&(be=Object(o.a)(Y).map(function(Fe,Pe){return Fe&&(Object(C.a)(Fe.type&&(Fe.type.__ANT_BREADCRUMB_ITEM===!0||Fe.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(S.a)(Fe,{separator:U,key:Pe}))}));var yt=t()(W,Qe,m()({},"".concat(Qe,"-rtl"),we==="rtl"));return f.createElement("div",L()({className:yt,style:K},he),be)};N.Item=i,N.Separator=p;var D=N,M=_.a=D},iCoW:function(Z,_,e){var d=e("oEo5"),L=e("XTQn"),v=e("Jjzi"),m=v.linearMap,y=d.each,w=d.isObject,f=-1,a=function(O){var T=O.mappingMethod,b=O.type,x=this.option=d.clone(O);this.type=b,this.mappingMethod=T,this._normalizeData=C[T];var N=t[b];this.applyVisual=N.applyVisual,this.getColorMapper=N.getColorMapper,this._doMap=N._doMap[T],T==="piecewise"?(l(x),o(x)):T==="category"?x.categories?s(x):l(x,!0):(d.assert(T!=="linear"||x.dataExtent),l(x))};a.prototype={constructor:a,mapValueToVisual:function(O){var T=this._normalizeData(O);return this._doMap(T,O)},getNormalizer:function(){return d.bind(this._normalizeData,this)}};var t=a.visualHandlers={color:{applyVisual:r("color"),getColorMapper:function(){var O=this.option;return d.bind(O.mappingMethod==="category"?function(T,b){return!b&&(T=this._normalizeData(T)),u.call(this,T)}:function(T,b,x){var N=!!x;return!b&&(T=this._normalizeData(T)),x=L.fastLerp(T,O.parsedVisual,x),N?x:L.stringify(x,"rgba")},this)},_doMap:{linear:function(O){return L.stringify(L.fastLerp(O,this.option.parsedVisual),"rgba")},category:u,piecewise:function(O,T){var b=p.call(this,T);return b==null&&(b=L.stringify(L.fastLerp(O,this.option.parsedVisual),"rgba")),b},fixed:i}},colorHue:n(function(O,T){return L.modifyHSL(O,T)}),colorSaturation:n(function(O,T){return L.modifyHSL(O,null,T)}),colorLightness:n(function(O,T){return L.modifyHSL(O,null,null,T)}),colorAlpha:n(function(O,T){return L.modifyAlpha(O,T)}),opacity:{applyVisual:r("opacity"),_doMap:h([0,1])},liftZ:{applyVisual:r("liftZ"),_doMap:{linear:i,category:i,piecewise:i,fixed:i}},symbol:{applyVisual:function(O,T,b){var x=this.mapValueToVisual(O);if(d.isString(x))b("symbol",x);else if(w(x))for(var N in x)x.hasOwnProperty(N)&&b(N,x[N])},_doMap:{linear:c,category:u,piecewise:function(O,T){var b=p.call(this,T);return b==null&&(b=c.call(this,O)),b},fixed:i}},symbolSize:{applyVisual:r("symbolSize"),_doMap:h([0,1])}};function o(O){var T=O.pieceList;O.hasSpecialVisual=!1,d.each(T,function(b,x){b.originIndex=x,b.visual!=null&&(O.hasSpecialVisual=!0)})}function s(O){var T=O.categories,b=O.visual,x=O.categoryMap={};if(y(T,function(M,R){x[M]=R}),!d.isArray(b)){var N=[];d.isObject(b)?y(b,function(M,R){var F=x[R];N[F!=null?F:f]=M}):N[f]=b,b=A(O,N)}for(var D=T.length-1;D>=0;D--)b[D]==null&&(delete x[T[D]],T.pop())}function l(O,T){var b=O.visual,x=[];d.isObject(b)?y(b,function(D){x.push(D)}):b!=null&&x.push(b);var N={color:1,symbol:1};!T&&x.length===1&&!N.hasOwnProperty(O.type)&&(x[1]=x[0]),A(O,x)}function n(O){return{applyVisual:function(T,b,x){T=this.mapValueToVisual(T),x("color",O(b("color"),T))},_doMap:h([0,1])}}function c(O){var T=this.option.visual;return T[Math.round(m(O,[0,1],[0,T.length-1],!0))]||{}}function r(O){return function(T,b,x){x(O,this.mapValueToVisual(T))}}function u(O){var T=this.option.visual;return T[this.option.loop&&O!==f?O%T.length:O]}function i(){return this.option.visual[0]}function h(O){return{linear:function(T){return m(T,O,this.option.visual,!0)},category:u,piecewise:function(T,b){var x=p.call(this,b);return x==null&&(x=m(T,O,this.option.visual,!0)),x},fixed:i}}function p(O){var T=this.option,b=T.pieceList;if(T.hasSpecialVisual){var x=a.findPieceIndex(O,b),N=b[x];if(N&&N.visual)return N.visual[this.type]}}function A(O,T){return O.visual=T,O.type==="color"&&(O.parsedVisual=d.map(T,function(b){return L.parse(b)})),T}var C={linear:function(O){return m(O,this.option.dataExtent,[0,1],!0)},piecewise:function(O){var T=this.option.pieceList,b=a.findPieceIndex(O,T,!0);if(b!=null)return m(b,[0,T.length-1],[0,1],!0)},category:function(O){var T=this.option.categories?this.option.categoryMap[O]:O;return T==null?f:T},fixed:d.noop};a.listVisualTypes=function(){var O=[];return d.each(t,function(T,b){O.push(b)}),O},a.addVisualHandler=function(O,T){t[O]=T},a.isValidType=function(O){return t.hasOwnProperty(O)},a.eachVisual=function(O,T,b){d.isObject(O)?d.each(O,T,b):T.call(b,O)},a.mapVisual=function(O,T,b){var x,N=d.isArray(O)?[]:d.isObject(O)?{}:(x=!0,null);return a.eachVisual(O,function(D,M){var R=T.call(b,D,M);x?N=R:N[M]=R}),N},a.retrieveVisuals=function(O){var T={},b;return O&&y(t,function(x,N){O.hasOwnProperty(N)&&(T[N]=O[N],b=!0)}),b?T:null},a.prepareVisualTypes=function(O){if(w(O)){var T=[];y(O,function(b,x){T.push(x)}),O=T}else if(d.isArray(O))O=O.slice();else return[];return O.sort(function(b,x){return x==="color"&&b!=="color"&&b.indexOf("color")===0?1:-1}),O},a.dependsOn=function(O,T){return T==="color"?!!(O&&O.indexOf(T)===0):O===T},a.findPieceIndex=function(O,T,b){for(var x,N=Infinity,D=0,M=T.length;D<M;D++){var R=T[D].value;if(R!=null){if(R===O||typeof R=="string"&&R===O+"")return D;b&&U(R,D)}}for(var D=0,M=T.length;D<M;D++){var F=T[D],B=F.interval,z=F.close;if(B){if(B[0]===-Infinity){if(S(z[1],O,B[1]))return D}else if(B[1]===Infinity){if(S(z[0],B[0],O))return D}else if(S(z[0],B[0],O)&&S(z[1],O,B[1]))return D;b&&U(B[0],D),b&&U(B[1],D)}}if(b)return O===Infinity?T.length-1:O===-Infinity?0:x;function U(K,W){var H=Math.abs(K-O);H<N&&(N=H,x=W)}};function S(O,T,b){return O?T<=b:T<b}var E=a;Z.exports=E},iFIB:function(Z,_,e){var d=e("bUGm"),L=e("FcS3"),v=e("iz/G"),m=e("Gv+9"),y=e("xTFY"),w=e("tuRO"),f=Object.prototype,a=f.hasOwnProperty;function t(o,s){var l=v(o),n=!l&&L(o),c=!l&&!n&&m(o),r=!l&&!n&&!c&&w(o),u=l||n||c||r,i=u?d(o.length,String):[],h=i.length;for(var p in o)(s||a.call(o,p))&&!(u&&(p=="length"||c&&(p=="offset"||p=="parent")||r&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||y(p,h)))&&i.push(p);return i}Z.exports=t},iNAA:function(Z,_,e){var d=e("gyjJ"),L=e("9ELI"),v=L.buildTransformer,m="___zrEVENTSAVED",y=[];function w(s,l,n,c,r){return f(y,l,c,r,!0)&&f(s,n,y[0],y[1])}function f(s,l,n,c,r){if(l.getBoundingClientRect&&d.domSupported&&!o(l)){var u=l[m]||(l[m]={}),i=a(l,u),h=t(i,u,r);if(h)return h(s,n,c),!0}return!1}function a(s,l){var n=l.markers;if(n)return n;n=l.markers=[];for(var c=["left","right"],r=["top","bottom"],u=0;u<4;u++){var i=document.createElement("div"),h=i.style,p=u%2,A=(u>>1)%2;h.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",c[p]+":0",r[A]+":0",c[1-p]+":auto",r[1-A]+":auto",""].join("!important;"),s.appendChild(i),n.push(i)}return n}function t(s,l,n){for(var c=n?"invTrans":"trans",r=l[c],u=l.srcCoords,i=!0,h=[],p=[],A=0;A<4;A++){var C=s[A].getBoundingClientRect(),S=2*A,E=C.left,O=C.top;h.push(E,O),i=i&&u&&E===u[S]&&O===u[S+1],p.push(s[A].offsetLeft,s[A].offsetTop)}return i&&r?r:(l.srcCoords=h,l[c]=n?v(p,h):v(h,p))}function o(s){return s.nodeName.toUpperCase()==="CANVAS"}_.transformLocalCoord=w,_.transformCoordWithViewport=f,_.isCanvasEl=o},iPgp:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("Q6Bq"),m=e("oEo5"),y=e("iXCq"),w=e("P0S0"),f=["#ddd"],a=v.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(s,l){var n=this.option;!l&&y.replaceVisualOption(n,s,["inBrush","outOfBrush"]);var c=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:f},c.hasOwnProperty("liftZ")||(c.liftZ=5)},setAreas:function(s){if(!s)return;this.areas=m.map(s,function(l){return t(this.option,l)},this)},setBrushOption:function(s){this.brushOption=t(this.option,s),this.brushType=this.brushOption.brushType}});function t(s,l){return m.merge({brushType:s.brushType,brushMode:s.brushMode,transformable:s.transformable,brushStyle:new w(s.brushStyle).getItemStyle(),removeOnClick:s.removeOnClick,z:s.z},l,!0)}var o=a;Z.exports=o},iXCq:function(Z,_,e){var d=e("oEo5"),L=e("iCoW"),v=d.each;function m(t){if(t){for(var o in t)if(t.hasOwnProperty(o))return!0}}function y(t,o,s){var l={};return v(o,function(c){var r=l[c]=n();v(t[c],function(u,i){if(!L.isValidType(i))return;var h={type:i,visual:u};s&&s(h,c),r[i]=new L(h),i==="opacity"&&(h=d.clone(h),h.type="colorAlpha",r.__hidden.__alphaForOpacity=new L(h))})}),l;function n(){var c=function(){};c.prototype.__hidden=c.prototype;var r=new c;return r}}function w(t,o,s){var l;d.each(s,function(n){o.hasOwnProperty(n)&&m(o[n])&&(l=!0)}),l&&d.each(s,function(n){o.hasOwnProperty(n)&&m(o[n])?t[n]=d.clone(o[n]):delete t[n]})}function f(t,o,s,l,n,c){var r={};d.each(t,function(A){var C=L.prepareVisualTypes(o[A]);r[A]=C});var u;function i(A){return s.getItemVisual(u,A)}function h(A,C){s.setItemVisual(u,A,C)}c==null?s.each(p):s.each([c],p);function p(A,C){u=c==null?A:C;var S=s.getRawDataItem(u);if(S&&S.visualMap===!1)return;for(var E=l.call(n,A),O=o[E],T=r[E],b=0,x=T.length;b<x;b++){var N=T[b];O[N]&&O[N].applyVisual(A,i,h)}}}function a(t,o,s,l){var n={};d.each(t,function(r){var u=L.prepareVisualTypes(o[r]);n[r]=u});function c(r,u){l!=null&&(l=u.getDimension(l));function i(N){return u.getItemVisual(p,N)}function h(N,D){u.setItemVisual(p,N,D)}for(var p;(p=r.next())!=null;){var A=u.getRawDataItem(p);if(A&&A.visualMap===!1)continue;for(var C=l!=null?u.get(l,p,!0):p,S=s(C),E=o[S],O=n[S],T=0,b=O.length;T<b;T++){var x=O[T];E[x]&&E[x].applyVisual(C,i,h)}}}return{progress:c}}_.createVisualMappings=y,_.replaceVisualOption=w,_.applyVisual=f,_.incrementalApplyVisual=a},iZz5:function(Z,_,e){var d=e("+Vnd"),L=e("TfK1"),v=e("ArUA"),m=v.getDimensionTypeByAxis,y=e("YsOP"),w=e("oEo5"),f=e("QV7q"),a=f.groupData,t=e("CQhY"),o=t.encodeHTML,s=e("p1Ch"),l=2,n=d.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(r){n.superApply(this,"init",arguments),this.legendVisualProvider=new s(w.bind(this.getData,this),w.bind(this.getRawData,this))},fixData:function(r){var u=r.length,i={},h=a(r,function(T){return i.hasOwnProperty(T[0])||(i[T[0]]=-1),T[2]}),p=[];h.buckets.each(function(T,b){p.push({name:b,dataList:T})});for(var A=p.length,C=0;C<A;++C){for(var S=p[C].name,E=0;E<p[C].dataList.length;++E){var O=p[C].dataList[E][0];i[O]=C}for(var O in i)i.hasOwnProperty(O)&&i[O]!==C&&(i[O]=C,r[u]=[],r[u][0]=O,r[u][1]=0,r[u][2]=S,u++)}return r},getInitialData:function(r,u){for(var i=u.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],h=i.get("type"),p=w.filter(r.data,function(x){return x[2]!==void 0}),A=this.fixData(p||[]),C=[],S=this.nameMap=w.createHashMap(),E=0,O=0;O<A.length;++O)C.push(A[O][l]),S.get(A[O][l])||(S.set(A[O][l],E),E++);var T=L(A,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:m(h)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),b=new y(T,this);return b.initData(A),b},getLayerSeries:function(){for(var r=this.getData(),u=r.count(),i=[],h=0;h<u;++h)i[h]=h;var p=r.mapDimension("single"),A=a(i,function(S){return r.get("name",S)}),C=[];return A.buckets.each(function(S,E){S.sort(function(O,T){return r.get(p,O)-r.get(p,T)}),C.push({name:E,indices:S})}),C},getAxisTooltipData:function(r,u,i){w.isArray(r)||(r=r?[r]:[]);for(var h=this.getData(),p=this.getLayerSeries(),A=[],C=p.length,S,E=0;E<C;++E){for(var O=Number.MAX_VALUE,T=-1,b=p[E].indices.length,x=0;x<b;++x){var N=h.get(r[0],p[E].indices[x]),D=Math.abs(N-u);D<=O&&(S=N,O=D,T=p[E].indices[x])}A.push(T)}return{dataIndices:A,nestestValue:S}},formatTooltip:function(r){var u=this.getData(),i=u.getName(r),h=u.get(u.mapDimension("value"),r);return(isNaN(h)||h==null)&&(h="-"),o(i+" : "+h)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),c=n;Z.exports=c},ie0D:function(Z,_,e){var d=e("Wa83"),L=e("4uqo"),v=d.applyTransform,m=Math.min,y=Math.max;function w(a,t,o,s){o<0&&(a=a+o,o=-o),s<0&&(t=t+s,s=-s),this.x=a,this.y=t,this.width=o,this.height=s}w.prototype={constructor:w,union:function(t){var o=m(t.x,this.x),s=m(t.y,this.y);this.width=y(t.x+t.width,this.x+this.width)-o,this.height=y(t.y+t.height,this.y+this.height)-s,this.x=o,this.y=s},applyTransform:function(){var a=[],t=[],o=[],s=[];return function(l){if(!l)return;a[0]=o[0]=this.x,a[1]=s[1]=this.y,t[0]=s[0]=this.x+this.width,t[1]=o[1]=this.y+this.height,v(a,a,l),v(t,t,l),v(o,o,l),v(s,s,l),this.x=m(a[0],t[0],o[0],s[0]),this.y=m(a[1],t[1],o[1],s[1]);var n=y(a[0],t[0],o[0],s[0]),c=y(a[1],t[1],o[1],s[1]);this.width=n-this.x,this.height=c-this.y}}(),calculateTransform:function(t){var o=this,s=t.width/o.width,l=t.height/o.height,n=L.create();return L.translate(n,n,[-o.x,-o.y]),L.scale(n,n,[s,l]),L.translate(n,n,[t.x,t.y]),n},intersect:function(t){if(!t)return!1;t instanceof w||(t=w.create(t));var o=this,s=o.x,l=o.x+o.width,n=o.y,c=o.y+o.height,r=t.x,u=t.x+t.width,i=t.y,h=t.y+t.height;return!(l<r||u<s||c<i||h<n)},contain:function(t,o){var s=this;return t>=s.x&&t<=s.x+s.width&&o>=s.y&&o<=s.y+s.height},clone:function(){return new w(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},w.create=function(a){return new w(a.x,a.y,a.width,a.height)};var f=w;Z.exports=f},ihQa:function(Z,_,e){"use strict";var d=e("ZZRV"),L={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"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="CloseCircleOutlined";var w=_.a=d.forwardRef(y)},in6x:function(Z,_,e){var d=e("Q6Bq"),L=e("5jTU");e("/3v0"),e("EvFB"),e("FrDD"),e("OL7x"),d.registerPreprocessor(L)},intE:function(Z,_,e){e("wpu7");var d=e("qp2x"),L=d.registerPainter,v=e("/btb");L("svg",v)},it0X:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};_.default=d},"iz/G":function(Z,_){var e=Array.isArray;Z.exports=e},"izu+":function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("X/Ug")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="ClockCircleOutlined";var f=v.forwardRef(w);_.default=f},j1Uf:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="DownOutlined";var w=_.a=d.forwardRef(y)},j8l9:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};_.default=d},jIvC:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("1BCf")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="FileOutlined";var f=v.forwardRef(w);_.default=f},jMNc:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("wOZl"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},jMyQ:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=e("TSjp"),L=y(d),v=e("96pR"),m=y(v);function y(o){return o&&o.__esModule?o:{default:o}}function w(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}function f(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:o}function a(o,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);o.prototype=Object.create(s&&s.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(o,s):o.__proto__=s)}var t=function(o){a(s,o);function s(l){w(this,s);var n=f(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,l));return n.echartsLib=L.default,n}return s}(m.default);_.default=t},jU4C:function(Z,_){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},d=9;_.ContextCachedBy=e,_.WILL_BE_RESTORED=d},jVkB:function(Z,_,e){var d=e("oEo5"),L=e("zYjg"),v=e("giN5"),m=e("cLjh"),y=["axisLine","axisTickLabel","axisName"],w=["splitLine","splitArea","minorSplitLine"],f=m.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,o){if(this.group.removeAll(),!t.get("show"))return;var s=t.axis,l=s.polar,n=l.getAngleAxis(),c=s.getTicksCoords(),r=s.getMinorTicksCoords(),u=n.getExtent()[0],i=s.getExtent(),h=a(l,t,u),p=new v(t,h);d.each(y,p.add,p),this.group.add(p.getGroup()),d.each(w,function(A){t.get(A+".show")&&!s.scale.isBlank()&&this["_"+A](t,l,u,i,c,r)},this)},_splitLine:function(t,o,s,l,n){var c=t.getModel("splitLine"),r=c.getModel("lineStyle"),u=r.get("color"),i=0;u=u instanceof Array?u:[u];for(var h=[],p=0;p<n.length;p++){var A=i++%u.length;h[A]=h[A]||[],h[A].push(new L.Circle({shape:{cx:o.cx,cy:o.cy,r:n[p].coord}}))}for(var p=0;p<h.length;p++)this.group.add(L.mergePath(h[p],{style:d.defaults({stroke:u[p%u.length],fill:null},r.getLineStyle()),silent:!0}))},_minorSplitLine:function(t,o,s,l,n,c){if(!c.length)return;for(var r=t.getModel("minorSplitLine"),u=r.getModel("lineStyle"),i=[],h=0;h<c.length;h++)for(var p=0;p<c[h].length;p++)i.push(new L.Circle({shape:{cx:o.cx,cy:o.cy,r:c[h][p].coord}}));this.group.add(L.mergePath(i,{style:d.defaults({fill:null},u.getLineStyle()),silent:!0}))},_splitArea:function(t,o,s,l,n){if(!n.length)return;var c=t.getModel("splitArea"),r=c.getModel("areaStyle"),u=r.get("color"),i=0;u=u instanceof Array?u:[u];for(var h=[],p=n[0].coord,A=1;A<n.length;A++){var C=i++%u.length;h[C]=h[C]||[],h[C].push(new L.Sector({shape:{cx:o.cx,cy:o.cy,r0:p,r:n[A].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),p=n[A].coord}for(var A=0;A<h.length;A++)this.group.add(L.mergePath(h[A],{style:d.defaults({fill:u[A%u.length]},r.getAreaStyle()),silent:!0}))}});function a(t,o,s){return{position:[t.cx,t.cy],rotation:s/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:o.getModel("axisLabel").get("rotate"),z2:1}}Z.exports=f},jayR:function(Z,_,e){var d=e("65wg"),L=e("u5Eq"),v=e("puEJ"),m=200;function y(w,f){var a=this.__data__;if(a instanceof d){var t=a.__data__;if(!L||t.length<m-1)return t.push([w,f]),this.size=++a.size,this;a=this.__data__=new v(t)}return a.set(w,f),this.size=a.size,this}Z.exports=y},"jg/+":function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("+Vnd"),m=e("YsOP"),y=e("oEo5"),w=y.concatArray,f=y.mergeAll,a=y.map,t=e("CQhY"),o=t.encodeHTML,s=e("kN/v"),l=typeof Uint32Array=="undefined"?Array:Uint32Array,n=typeof Float64Array=="undefined"?Array:Float64Array;function c(i){var h=i.data;h&&h[0]&&h[0][0]&&h[0][0].coord&&(i.data=a(h,function(p){var A=[p[0].coord,p[1].coord],C={coords:A};return p[0].name&&(C.fromName=p[0].name),p[1].name&&(C.toName=p[1].name),f([C,p[0],p[1]])}))}var r=v.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(i){i.data=i.data||[],c(i);var h=this._processFlatCoordsArray(i.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(i.data=new Float32Array(h.count)),r.superApply(this,"init",arguments)},mergeOption:function(i){if(c(i),i.data){var h=this._processFlatCoordsArray(i.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(i.data=new Float32Array(h.count))}r.superApply(this,"mergeOption",arguments)},appendData:function(i){var h=this._processFlatCoordsArray(i.data);h.flatCoords&&(this._flatCoords?(this._flatCoords=w(this._flatCoords,h.flatCoords),this._flatCoordsOffset=w(this._flatCoordsOffset,h.flatCoordsOffset)):(this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset),i.data=new Float32Array(h.count)),this.getRawData().appendData(i.data)},_getCoordsFromItemModel:function(i){var h=this.getData().getItemModel(i),p=h.option instanceof Array?h.option:h.getShallow("coords");return p},getLineCoordsCount:function(i){return this._flatCoordsOffset?this._flatCoordsOffset[i*2+1]:this._getCoordsFromItemModel(i).length},getLineCoords:function(i,h){if(this._flatCoordsOffset){for(var p=this._flatCoordsOffset[i*2],A=this._flatCoordsOffset[i*2+1],C=0;C<A;C++)h[C]=h[C]||[],h[C][0]=this._flatCoords[p+C*2],h[C][1]=this._flatCoords[p+C*2+1];return A}else{for(var S=this._getCoordsFromItemModel(i),C=0;C<S.length;C++)h[C]=h[C]||[],h[C][0]=S[C][0],h[C][1]=S[C][1];return S.length}},_processFlatCoordsArray:function(i){var h=0;if(this._flatCoords&&(h=this._flatCoords.length),typeof i[0]=="number"){for(var p=i.length,A=new l(p),C=new n(p),S=0,E=0,O=0,T=0;T<p;){O++;var b=i[T++];A[E++]=S+h,A[E++]=b;for(var x=0;x<b;x++){var N=i[T++],D=i[T++];C[S++]=N,C[S++]=D,T>p}}return{flatCoordsOffset:new Uint32Array(A.buffer,0,E),flatCoords:C,count:O}}return{flatCoordsOffset:null,flatCoords:null,count:i.length}},getInitialData:function(i,h){var p=new m(["value"],this);return p.hasItemOption=!1,p.initData(i.data,[],function(A,C,S,E){if(A instanceof Array)return NaN;p.hasItemOption=!0;var O=A.value;if(O!=null)return O instanceof Array?O[E]:O}),p},formatTooltip:function(i){var h=this.getData(),p=h.getItemModel(i),A=p.get("name");if(A)return A;var C=p.get("fromName"),S=p.get("toName"),E=[];return C!=null&&E.push(C),S!=null&&E.push(S),o(E.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var i=this.option.progressive;return i==null?this.option.large?1e4:this.get("progressive"):i},getProgressiveThreshold:function(){var i=this.option.progressiveThreshold;return i==null?this.option.large?2e4:this.get("progressiveThreshold"):i},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),u=r;Z.exports=u},jpv3:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("P187"),m=e.n(v),y=e("CeOx")},jvOL:function(Z,_){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d={rotl:function(v,m){return v<<m|v>>>32-m},rotr:function(v,m){return v<<32-m|v>>>m},endian:function(v){if(v.constructor==Number)return d.rotl(v,8)&16711935|d.rotl(v,24)&4278255360;for(var m=0;m<v.length;m++)v[m]=d.endian(v[m]);return v},randomBytes:function(v){for(var m=[];v>0;v--)m.push(Math.floor(Math.random()*256));return m},bytesToWords:function(v){for(var m=[],y=0,w=0;y<v.length;y++,w+=8)m[w>>>5]|=v[y]<<24-w%32;return m},wordsToBytes:function(v){for(var m=[],y=0;y<v.length*32;y+=8)m.push(v[y>>>5]>>>24-y%32&255);return m},bytesToHex:function(v){for(var m=[],y=0;y<v.length;y++)m.push((v[y]>>>4).toString(16)),m.push((v[y]&15).toString(16));return m.join("")},hexToBytes:function(v){for(var m=[],y=0;y<v.length;y+=2)m.push(parseInt(v.substr(y,2),16));return m},bytesToBase64:function(v){for(var m=[],y=0;y<v.length;y+=3)for(var w=v[y]<<16|v[y+1]<<8|v[y+2],f=0;f<4;f++)y*8+f*6<=v.length*8?m.push(e.charAt(w>>>6*(3-f)&63)):m.push("=");return m.join("")},base64ToBytes:function(v){v=v.replace(/[^A-Z0-9+\/]/ig,"");for(var m=[],y=0,w=0;y<v.length;w=++y%4){if(w==0)continue;m.push((e.indexOf(v.charAt(y-1))&Math.pow(2,-2*w+8)-1)<<w*2|e.indexOf(v.charAt(y))>>>6-w*2)}return m}};Z.exports=d})()},"k++z":function(Z,_,e){var d=e("342z"),L=e("nOCc"),v=d.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(y,w){L.buildPath(y,w,!1)}});Z.exports=v},"k+fg":function(Z,_,e){var d=e("+Vnd"),L=e("kcRU"),v=d.extend({type:"series.__base_bar__",getInitialData:function(m,y){return L(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(m){var y=this.coordinateSystem;if(y){var w=y.dataToPoint(y.clampData(m)),f=this.getData(),a=f.getLayout("offset"),t=f.getLayout("size"),o=y.getBaseAxis().isHorizontal()?0:1;return w[o]+=a+t/2,w}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});Z.exports=v},kAFf:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("QV7q"),m=v.makeInner,y=v.getDataItemValue,w=e("oEo5"),f=w.createHashMap,a=w.each,t=w.map,o=w.isArray,s=w.isString,l=w.isObject,n=w.isTypedArray,c=w.isArrayLike,r=w.extend,u=w.assert,i=e("vwaK"),h=e("3uc+"),p=h.SOURCE_FORMAT_ORIGINAL,A=h.SOURCE_FORMAT_ARRAY_ROWS,C=h.SOURCE_FORMAT_OBJECT_ROWS,S=h.SOURCE_FORMAT_KEYED_COLUMNS,E=h.SOURCE_FORMAT_UNKNOWN,O=h.SOURCE_FORMAT_TYPED_ARRAY,T=h.SERIES_LAYOUT_BY_ROW,b={Must:1,Might:2,Not:3},x=m();function N(P){var G=P.option.source,J=E;if(n(G))J=O;else if(o(G)){G.length===0&&(J=A);for(var he=0,te=G.length;he<te;he++){var pe=G[he];if(pe==null)continue;if(o(pe)){J=A;break}else if(l(pe)){J=C;break}}}else if(l(G)){for(var we in G)if(G.hasOwnProperty(we)&&c(G[we])){J=S;break}}else if(G!=null)throw new Error("Invalid data");x(P).sourceFormat=J}function D(P){return x(P).source}function M(P){x(P).datasetMap=f()}function R(P){var G=P.option,J=G.data,he=n(J)?O:p,te=!1,pe=G.seriesLayoutBy,we=G.sourceHeader,be=G.dimensions,Qe=H(P);if(Qe){var $e=Qe.option;J=$e.source,he=x(Qe).sourceFormat,te=!0,pe=pe||$e.seriesLayoutBy,we==null&&(we=$e.sourceHeader),be=be||$e.dimensions}var yt=F(J,he,pe,we,be);x(P).source=new i({data:J,fromDataset:te,seriesLayoutBy:pe,sourceFormat:he,dimensionsDefine:yt.dimensionsDefine,startIndex:yt.startIndex,dimensionsDetectCount:yt.dimensionsDetectCount,encodeDefine:G.encode})}function F(P,G,J,he,te){if(!P)return{dimensionsDefine:B(te)};var pe,we;if(G===A)he==="auto"||he==null?z(function(Qe){Qe!=null&&Qe!=="-"&&(s(Qe)?we==null&&(we=1):we=0)},J,P,10):we=he?1:0,!te&&we===1&&(te=[],z(function(Qe,$e){te[$e]=Qe!=null?Qe:""},J,P)),pe=te?te.length:J===T?P.length:P[0]?P[0].length:null;else if(G===C)te||(te=U(P));else if(G===S)te||(te=[],a(P,function(Qe,$e){te.push($e)}));else if(G===p){var be=y(P[0]);pe=o(be)&&be.length||1}else G===O;return{startIndex:we,dimensionsDefine:B(te),dimensionsDetectCount:pe}}function B(P){if(!P)return;var G=f();return t(P,function(J,he){if(J=r({},l(J)?J:{name:J}),J.name==null)return J;J.name+="",J.displayName==null&&(J.displayName=J.name);var te=G.get(J.name);return te?J.name+="-"+te.count++:G.set(J.name,{count:1}),J})}function z(P,G,J,he){if(he==null&&(he=Infinity),G===T)for(var te=0;te<J.length&&te<he;te++)P(J[te]?J[te][0]:null,te);else for(var pe=J[0]||[],te=0;te<pe.length&&te<he;te++)P(pe[te],te)}function U(P){for(var G=0,J;G<P.length&&!(J=P[G++]););if(J){var he=[];return a(J,function(te,pe){he.push(pe)}),he}}function K(P,G,J){var he={},te=H(G);if(!te||!P)return he;var pe=[],we=[],be=G.ecModel,Qe=x(be).datasetMap,$e=te.uid+"_"+J.seriesLayoutBy,yt,Fe;P=P.slice(),a(P,function(qe,At){!l(qe)&&(P[At]={name:qe}),qe.type==="ordinal"&&yt==null&&(yt=At,Fe=it(P[At])),he[qe.name]=[]});var Pe=Qe.get($e)||Qe.set($e,{categoryWayDim:Fe,valueWayDim:0});a(P,function(qe,At){var dt=qe.name,wt=it(qe);if(yt==null){var Ye=Pe.valueWayDim;gt(he[dt],Ye,wt),gt(we,Ye,wt),Pe.valueWayDim+=wt}else if(yt===At)gt(he[dt],0,wt),gt(pe,0,wt);else{var Ye=Pe.categoryWayDim;gt(he[dt],Ye,wt),gt(we,Ye,wt),Pe.categoryWayDim+=wt}});function gt(qe,At,dt){for(var wt=0;wt<dt;wt++)qe.push(At+wt)}function it(qe){var At=qe.dimsDef;return At?At.length:1}return pe.length&&(he.itemName=pe),we.length&&(he.seriesName=we),he}function W(P,G,J){var he={},te=H(P);if(!te)return he;var pe=G.sourceFormat,we=G.dimensionsDefine,be;(pe===C||pe===S)&&a(we,function(yt,Fe){(l(yt)?yt.name:yt)==="name"&&(be=Fe)});var Qe=function(){for(var yt={},Fe={},Pe=[],gt=0,it=Math.min(5,J);gt<it;gt++){var qe=Q(G.data,pe,G.seriesLayoutBy,we,G.startIndex,gt);Pe.push(qe);var At=qe===b.Not;if(At&&yt.v==null&>!==be&&(yt.v=gt),(yt.n==null||yt.n===yt.v||!At&&Pe[yt.n]===b.Not)&&(yt.n=gt),dt(yt)&&Pe[yt.n]!==b.Not)return yt;At||(qe===b.Might&&Fe.v==null&>!==be&&(Fe.v=gt),(Fe.n==null||Fe.n===Fe.v)&&(Fe.n=gt))}function dt(wt){return wt.v!=null&&wt.n!=null}return dt(yt)?yt:dt(Fe)?Fe:null}();if(Qe){he.value=Qe.v;var $e=be!=null?be:Qe.n;he.itemName=[$e],he.seriesName=[$e]}return he}function H(P){var G=P.option,J=G.data;if(!J)return P.ecModel.getComponent("dataset",G.datasetIndex||0)}function Y(P,G){return Q(P.data,P.sourceFormat,P.seriesLayoutBy,P.dimensionsDefine,P.startIndex,G)}function Q(P,G,J,he,te,pe){var we,be=5;if(n(P))return b.Not;var Qe,$e;if(he){var yt=he[pe];l(yt)?(Qe=yt.name,$e=yt.type):s(yt)&&(Qe=yt)}if($e!=null)return $e==="ordinal"?b.Must:b.Not;if(G===A)if(J===T){for(var Fe=P[pe],Pe=0;Pe<(Fe||[]).length&&Pe<be;Pe++)if((we=At(Fe[te+Pe]))!=null)return we}else for(var Pe=0;Pe<P.length&&Pe<be;Pe++){var gt=P[te+Pe];if(gt&&(we=At(gt[pe]))!=null)return we}else if(G===C){if(!Qe)return b.Not;for(var Pe=0;Pe<P.length&&Pe<be;Pe++){var it=P[Pe];if(it&&(we=At(it[Qe]))!=null)return we}}else if(G===S){if(!Qe)return b.Not;var Fe=P[Qe];if(!Fe||n(Fe))return b.Not;for(var Pe=0;Pe<Fe.length&&Pe<be;Pe++)if((we=At(Fe[Pe]))!=null)return we}else if(G===p)for(var Pe=0;Pe<P.length&&Pe<be;Pe++){var it=P[Pe],qe=y(it);if(!o(qe))return b.Not;if((we=At(qe[pe]))!=null)return we}function At(dt){var wt=s(dt);if(dt!=null&&isFinite(dt)&&dt!=="")return wt?b.Might:b.Not;if(wt&&dt!=="-")return b.Must}return b.Not}_.BE_ORDINAL=b,_.detectSourceFormat=N,_.getSource=D,_.resetSourceDefaulter=M,_.prepareSource=R,_.makeSeriesEncodeForAxisCoordSys=K,_.makeSeriesEncodeForNameBased=W,_.guessOrdinal=Y},kGW4:function(Z,_,e){var d=e("oEo5");function L(){var v=[],m={},y;return{add:function(w,f,a,t,o){return d.isString(t)&&(o=t,t=0),m[w.id]?!1:(m[w.id]=1,v.push({el:w,target:f,time:a,delay:t,easing:o}),!0)},done:function(w){return y=w,this},start:function(){for(var w=v.length,f=0,a=v.length;f<a;f++){var t=v[f];t.el.animateTo(t.target,t.time,t.delay,t.easing,o)}return this;function o(){w--,w||(v.length=0,m={},y&&y())}}}}_.createWrap=L},kHJI:function(Z,_,e){var d=e("33CM"),L=e("l5Eb");function v(m){return m!=null&&L(m.length)&&!d(m)}Z.exports=v},kJIg:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("sAd1"),m=d.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){m.superApply(this,"optionUpdated",arguments),L.each(this.option.feature,function(w,f){var a=v.get(f);a&&L.merge(w,a.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),y=m;Z.exports=y},"kN/v":function(Z,_,e){var d=e("oEo5"),L={};function v(){this._coordinateSystems=[]}v.prototype={constructor:v,create:function(y,w){var f=[];d.each(L,function(a,t){var o=a.create(y,w);f=f.concat(o||[])}),this._coordinateSystems=f},update:function(y,w){d.each(this._coordinateSystems,function(f){f.update&&f.update(y,w)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},v.register=function(y,w){L[y]=w},v.get=function(y){return L[y]};var m=v;Z.exports=m},"kY/L":function(Z,_,e){var d=e("oEo5"),L=e("1JkX"),v=L.parseClassType,m=0;function y(a){return[a||"",m++,Math.random().toFixed(5)].join("_")}function w(a){var t={};return a.registerSubTypeDefaulter=function(o,s){o=v(o),t[o.main]=s},a.determineSubType=function(o,s){var l=s.type;if(!l){var n=v(o).main;a.hasSubTypes(o)&&t[n]&&(l=t[n](s))}return l},a}function f(a,t){a.topologicalTravel=function(n,c,r,u){if(!n.length)return;var i=o(c),h=i.graph,p=i.noEntryList,A={};for(d.each(n,function(b){A[b]=!0});p.length;){var C=p.pop(),S=h[C],E=!!A[C];E&&(r.call(u,C,S.originalDeps.slice()),delete A[C]),d.each(S.successor,E?T:O)}d.each(A,function(){throw new Error("Circle dependency may exists")});function O(b){h[b].entryCount--,h[b].entryCount===0&&p.push(b)}function T(b){A[b]=!0,O(b)}};function o(n){var c={},r=[];return d.each(n,function(u){var i=s(c,u),h=i.originalDeps=t(u),p=l(h,n);i.entryCount=p.length,i.entryCount===0&&r.push(u),d.each(p,function(A){d.indexOf(i.predecessor,A)<0&&i.predecessor.push(A);var C=s(c,A);d.indexOf(C.successor,A)<0&&C.successor.push(u)})}),{graph:c,noEntryList:r}}function s(n,c){return n[c]||(n[c]={predecessor:[],successor:[]}),n[c]}function l(n,c){var r=[];return d.each(n,function(u){d.indexOf(c,u)>=0&&r.push(u)}),r}}_.getUID=y,_.enableSubTypeDefaulter=w,_.enableTopologicalTravel=f},kZIm:function(Z,_,e){var d=e("OkCp"),L=d.Global,v=d.trim;Z.exports={name:"cookieStorage",read:y,write:f,each:w,remove:a,clearAll:t};var m=L.document;function y(s){if(!s||!o(s))return null;var l="(?:^|.*;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(m.cookie.replace(new RegExp(l),"$1"))}function w(s){for(var l=m.cookie.split(/; ?/g),n=l.length-1;n>=0;n--){if(!v(l[n]))continue;var c=l[n].split("="),r=unescape(c[0]),u=unescape(c[1]);s(u,r)}}function f(s,l){if(!s)return;m.cookie=escape(s)+"="+escape(l)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function a(s){if(!s||!o(s))return;m.cookie=escape(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function t(){w(function(s,l){a(l)})}function o(s){return new RegExp("(?:^|;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(m.cookie)}},kZpV:function(Z,_,e){var d=e("Q6Bq"),L={type:"selectDataRange",event:"dataRangeSelected",update:"update"};d.registerAction(L,function(v,m){m.eachComponent({mainType:"visualMap",query:v},function(y){y.setSelected(v.selected)})})},kcRU:function(Z,_,e){var d=e("oEo5"),L=e("YsOP"),v=e("TfK1"),m=e("3uc+"),y=m.SOURCE_FORMAT_ORIGINAL,w=e("ArUA"),f=w.getDimensionTypeByAxis,a=e("QV7q"),t=a.getDataItemValue,o=e("kN/v"),s=e("29a/"),l=s.getCoordSysInfoBySeries,n=e("vwaK"),c=e("7/O9"),r=c.enableDataStack,u=e("kAFf"),i=u.makeSeriesEncodeForAxisCoordSys;function h(S,E,O){O=O||{},n.isInstance(S)||(S=n.seriesDataToSource(S));var T=E.get("coordinateSystem"),b=o.get(T),x=l(E),N;x&&(N=d.map(x.coordSysDims,function(U){var K={name:U},W=x.axisMap.get(U);if(W){var H=W.get("type");K.type=f(H)}return K})),N||(N=b&&(b.getDimensionsInfo?b.getDimensionsInfo():b.dimensions.slice())||["x","y"]);var D=v(S,{coordDimensions:N,generateCoord:O.generateCoord,encodeDefaulter:O.useEncodeDefaulter?d.curry(i,N,E):null}),M,R;x&&d.each(D,function(U,K){var W=U.coordDim,H=x.categoryAxisMap.get(W);H&&(M==null&&(M=K),U.ordinalMeta=H.getOrdinalMeta()),U.otherDims.itemName!=null&&(R=!0)}),!R&&M!=null&&(D[M].otherDims.itemName=0);var F=r(E,D),B=new L(D,E);B.setCalculationInfo(F);var z=M!=null&&p(S)?function(U,K,W,H){return H===M?W:this.defaultDimValueGetter(U,K,W,H)}:null;return B.hasItemOption=!1,B.initData(S,null,z),B}function p(S){if(S.sourceFormat===y){var E=A(S.data||[]);return E!=null&&!d.isArray(t(E))}}function A(S){for(var E=0;E<S.length&&S[E]==null;)E++;return S[E]}var C=h;Z.exports=C},kkar:function(Z,_,e){var d=e("SSBM"),L=d.getLayoutRect,v=d.box,m=d.positionElement,y=e("CQhY"),w=e("zYjg");function f(t,o,s){var l=o.getBoxLayoutParams(),n=o.get("padding"),c={width:s.getWidth(),height:s.getHeight()},r=L(l,c,n);v(o.get("orient"),t,o.get("itemGap"),r.width,r.height),m(t,l,c,n)}function a(t,o){var s=y.normalizeCssArray(o.get("padding")),l=o.getItemStyle(["color","opacity"]);l.fill=o.get("backgroundColor");var t=new w.Rect({shape:{x:t.x-s[3],y:t.y-s[0],width:t.width+s[1]+s[3],height:t.height+s[0]+s[2],r:o.get("borderRadius")},style:l,silent:!0,z2:-1});return t}_.layout=f,_.makeBackground=a},kmlw:function(Z,_,e){var d=e("H0e6"),L=e("JICT"),v=e("xyD8"),m=e("s/iv"),y=e("b4/K");function w(f){var a=-1,t=f==null?0:f.length;for(this.clear();++a<t;){var o=f[a];this.set(o[0],o[1])}}w.prototype.clear=d,w.prototype.delete=L,w.prototype.get=v,w.prototype.has=m,w.prototype.set=y,Z.exports=w},kmpg:function(Z,_,e){var d=e("oEo5"),L=e("Ju7t");e("WMWw");var v=L.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){L.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(m){var y=this.option;m&&d.merge(y,m,!0),this._initDimensions()},contains:function(m,y){var w=m.get("parallelIndex");return w!=null&&y.getComponent("parallel",w)===this},setAxisExpand:function(m){d.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(y){m.hasOwnProperty(y)&&(this.option[y]=m[y])},this)},_initDimensions:function(){var m=this.dimensions=[],y=this.parallelAxisIndex=[],w=d.filter(this.dependentModels.parallelAxis,function(f){return(f.get("parallelIndex")||0)===this.componentIndex},this);d.each(w,function(f){m.push("dim"+f.get("dim")),y.push(f.componentIndex)})}});Z.exports=v},kw3B:function(Z,_,e){var d=e("oEo5"),L=e("QV7q"),v=e("Ju7t"),m=e("P0S0"),y=e("y6TG"),w=e("TzWj"),f=v.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){v.prototype.init.apply(this,arguments),L.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,o=this;t.regions=w.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=d.reduce(t.regions||[],function(s,l){return l.name&&s.set(l.name,new m(l,o)),s},d.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new m(null,this,this.ecModel)},getFormattedLabel:function(t,o){o=o||"normal";var s=this.getRegionModel(t),l=s.get((o==="normal"?"":o+".")+"label.formatter"),n={name:t};if(typeof l=="function")return n.status=o,l(n);if(typeof l=="string")return l.replace("{a}",t!=null?t:"")},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});d.mixin(f,y);var a=f;Z.exports=a},l1R7:function(Z,_,e){var d=e("oEo5"),L={getMin:function(v){var m=this.option,y=!v&&m.rangeStart!=null?m.rangeStart:m.min;return this.axis&&y!=null&&y!=="dataMin"&&typeof y!="function"&&!d.eqNaN(y)&&(y=this.axis.scale.parse(y)),y},getMax:function(v){var m=this.option,y=!v&&m.rangeEnd!=null?m.rangeEnd:m.max;return this.axis&&y!=null&&y!=="dataMax"&&typeof y!="function"&&!d.eqNaN(y)&&(y=this.axis.scale.parse(y)),y},getNeedCrossZero:function(){var v=this.option;return v.rangeStart!=null||v.rangeEnd!=null?!1:!v.scale},getCoordSysModel:d.noop,setRange:function(v,m){this.option.rangeStart=v,this.option.rangeEnd=m},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};Z.exports=L},l1t2:function(Z,_,e){var d=e("VC1J");function L(v){return d(this,v).has(v)}Z.exports=L},l2wO:function(Z,_,e){var d=e("oEo5"),L=e("+Vnd"),v=e("4+FC"),m=e("P0S0"),y=e("CQhY"),w=y.encodeHTML,f=y.addCommas,a=e("ycch"),t=a.wrapTreePathInfo,o=L.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(n,c){var r={name:n.name,children:n.data};s(r);var u=n.levels||[],i=this.designatedVisualItemStyle={},h=new m({itemStyle:i},this,c);u=n.levels=l(u,c);var p=d.map(u||[],function(S){return new m(S,h,c)},this),A=v.createTree(r,this,C);function C(S){S.wrapMethod("getItemModel",function(E,O){var T=A.getNodeByDataIndex(O),b=p[T.depth];return E.parentModel=b||h,E})}return A.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(n){var c=this.getData(),r=this.getRawValue(n),u=d.isArray(r)?f(r[0]):f(r),i=c.getName(n);return w(i+": "+u)},getDataParams:function(n){var c=L.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(n);return c.treePathInfo=t(r,this),c},setLayoutInfo:function(n){this.layoutInfo=this.layoutInfo||{},d.extend(this.layoutInfo,n)},mapIdToIndex:function(n){var c=this._idIndexMap;c||(c=this._idIndexMap=d.createHashMap(),this._idIndexMapCount=0);var r=c.get(n);return r==null&&c.set(n,r=this._idIndexMapCount++),r},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(n){n?this._viewRoot=n:n=this._viewRoot;var c=this.getRawData().tree.root;(!n||n!==c&&!c.contains(n))&&(this._viewRoot=c)}});function s(n){var c=0;d.each(n.children,function(u){s(u);var i=u.value;d.isArray(i)&&(i=i[0]),c+=i});var r=n.value;d.isArray(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=c),r<0&&(r=0),d.isArray(n.value)?n.value[0]=r:n.value=r}function l(n,c){var r=c.get("color");if(!r)return;n=n||[];var u;if(d.each(n,function(h){var p=new m(h),A=p.get("color");(p.get("itemStyle.color")||A&&A!=="none")&&(u=!0)}),!u){var i=n[0]||(n[0]={});i.color=r.slice()}return n}Z.exports=o},l5Eb:function(Z,_){var e=9007199254740991;function d(L){return typeof L=="number"&&L>-1&&L%1==0&&L<=e}Z.exports=d},l5h5:function(Z,_){function e(d){var L=this.__data__,v=L.delete(d);return this.size=L.size,v}Z.exports=e},l6qg:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("wxqA"),m=e.n(v)},lAvS:function(Z,_,e){var d=e("wCGl"),L=e("YY8s"),v=Object.prototype,m=v.hasOwnProperty;function y(w){if(!d(w))return L(w);var f=[];for(var a in Object(w))m.call(w,a)&&a!="constructor"&&f.push(a);return f}Z.exports=y},lENJ:function(Z,_,e){var d=e("Ju7t"),L=e("5sjV"),v=e("kAFf"),m=v.detectSourceFormat,y=e("3uc+"),w=y.SERIES_LAYOUT_BY_COLUMN;d.extend({type:"dataset",defaultOption:{seriesLayoutBy:w,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){m(this)}}),L.extend({type:"dataset"})},lLgp:function(Z,_,e){var d=e("oEo5"),L=e("zYjg"),v=e("P0S0"),m=e("cLjh"),y=e("giN5"),w=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function f(s,l,n){l[1]>l[0]&&(l=l.slice().reverse());var c=s.coordToPoint([l[0],n]),r=s.coordToPoint([l[1],n]);return{x1:c[0],y1:c[1],x2:r[0],y2:r[1]}}function a(s){var l=s.getRadiusAxis();return l.inverse?0:1}function t(s){var l=s[0],n=s[s.length-1];l&&n&&Math.abs(Math.abs(l.coord-n.coord)-360)<1e-4&&s.pop()}var o=m.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(s,l){if(this.group.removeAll(),!s.get("show"))return;var n=s.axis,c=n.polar,r=c.getRadiusAxis().getExtent(),u=n.getTicksCoords(),i=n.getMinorTicksCoords(),h=d.map(n.getViewLabels(),function(p){var p=d.clone(p);return p.coord=n.dataToCoord(p.tickValue),p});t(h),t(u),d.each(w,function(p){s.get(p+".show")&&(!n.scale.isBlank()||p==="axisLine")&&this["_"+p](s,c,u,i,r,h)},this)},_axisLine:function(s,l,n,c,r){var u=s.getModel("axisLine.lineStyle"),i=a(l),h=i?0:1,p;r[h]===0?p=new L.Circle({shape:{cx:l.cx,cy:l.cy,r:r[i]},style:u.getLineStyle(),z2:1,silent:!0}):p=new L.Ring({shape:{cx:l.cx,cy:l.cy,r:r[i],r0:r[h]},style:u.getLineStyle(),z2:1,silent:!0}),p.style.fill=null,this.group.add(p)},_axisTick:function(s,l,n,c,r){var u=s.getModel("axisTick"),i=(u.get("inside")?-1:1)*u.get("length"),h=r[a(l)],p=d.map(n,function(A){return new L.Line({shape:f(l,[h,h+i],A.coord)})});this.group.add(L.mergePath(p,{style:d.defaults(u.getModel("lineStyle").getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")})}))},_minorTick:function(s,l,n,c,r){if(!c.length)return;for(var u=s.getModel("axisTick"),i=s.getModel("minorTick"),h=(u.get("inside")?-1:1)*i.get("length"),p=r[a(l)],A=[],C=0;C<c.length;C++)for(var S=0;S<c[C].length;S++)A.push(new L.Line({shape:f(l,[p,p+h],c[C][S].coord)}));this.group.add(L.mergePath(A,{style:d.defaults(i.getModel("lineStyle").getLineStyle(),d.defaults(u.getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(s,l,n,c,r,u){var i=s.getCategories(!0),h=s.getModel("axisLabel"),p=h.get("margin"),A=s.get("triggerEvent");d.each(u,function(C,S){var E=h,O=C.tickValue,T=r[a(l)],b=l.coordToPoint([T+p,C.coord]),x=l.cx,N=l.cy,D=Math.abs(b[0]-x)/T<.3?"center":b[0]>x?"left":"right",M=Math.abs(b[1]-N)/T<.3?"middle":b[1]>N?"top":"bottom";i&&i[O]&&i[O].textStyle&&(E=new v(i[O].textStyle,h,h.ecModel));var R=new L.Text({silent:y.isLabelSilent(s)});this.group.add(R),L.setTextStyle(R.style,E,{x:b[0],y:b[1],textFill:E.getTextColor()||s.get("axisLine.lineStyle.color"),text:C.formattedLabel,textAlign:D,textVerticalAlign:M}),A&&(R.eventData=y.makeAxisEventDataBase(s),R.eventData.targetType="axisLabel",R.eventData.value=C.rawLabel)},this)},_splitLine:function(s,l,n,c,r){var u=s.getModel("splitLine"),i=u.getModel("lineStyle"),h=i.get("color"),p=0;h=h instanceof Array?h:[h];for(var A=[],C=0;C<n.length;C++){var S=p++%h.length;A[S]=A[S]||[],A[S].push(new L.Line({shape:f(l,r,n[C].coord)}))}for(var C=0;C<A.length;C++)this.group.add(L.mergePath(A[C],{style:d.defaults({stroke:h[C%h.length]},i.getLineStyle()),silent:!0,z:s.get("z")}))},_minorSplitLine:function(s,l,n,c,r){if(!c.length)return;for(var u=s.getModel("minorSplitLine"),i=u.getModel("lineStyle"),h=[],p=0;p<c.length;p++)for(var A=0;A<c[p].length;A++)h.push(new L.Line({shape:f(l,r,c[p][A].coord)}));this.group.add(L.mergePath(h,{style:i.getLineStyle(),silent:!0,z:s.get("z")}))},_splitArea:function(s,l,n,c,r){if(!n.length)return;var u=s.getModel("splitArea"),i=u.getModel("areaStyle"),h=i.get("color"),p=0;h=h instanceof Array?h:[h];for(var A=[],C=Math.PI/180,S=-n[0].coord*C,E=Math.min(r[0],r[1]),O=Math.max(r[0],r[1]),T=s.get("clockwise"),b=1;b<n.length;b++){var x=p++%h.length;A[x]=A[x]||[],A[x].push(new L.Sector({shape:{cx:l.cx,cy:l.cy,r0:E,r:O,startAngle:S,endAngle:-n[b].coord*C,clockwise:T},silent:!0})),S=-n[b].coord*C}for(var b=0;b<A.length;b++)this.group.add(L.mergePath(A[b],{style:d.defaults({fill:h[b%h.length]},i.getAreaStyle()),silent:!0}))}});Z.exports=o},lOSo:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="ExclamationCircleOutlined";var w=_.a=d.forwardRef(y)},"lQf/":function(Z,_,e){},lb8z:function(Z,_,e){var d=e("gyjJ"),L=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function v(m){return d.browser.ie&&d.browser.version>=11?function(){var y=this.__clipPaths,w=this.style,f;if(y)for(var a=0;a<y.length;a++){var t=y[a],o=t&&t.shape,s=t&&t.type;if(o&&(s==="sector"&&o.startAngle===o.endAngle||s==="rect"&&(!o.width||!o.height))){for(var l=0;l<L.length;l++)L[l][2]=w[L[l][0]],w[L[l][0]]=L[l][1];f=!0;break}}if(m.apply(this,arguments),f)for(var l=0;l<L.length;l++)w[L[l][0]]=L[l][2]}:m}Z.exports=v},"leS/":function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("giN5"),m=e("QjgC"),y=e("UeGE"),w=e("zYjg"),f=["axisLine","axisTickLabel","axisName"],a=d.extendComponentView({type:"parallelAxis",init:function(n,c){a.superApply(this,"init",arguments),(this._brushController=new m(c.getZr())).on("brush",L.bind(this._onBrush,this))},render:function(n,c,r,u){if(t(n,c,u))return;this.axisModel=n,this.api=r,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new w.Group,this.group.add(this._axisGroup),!n.get("show"))return;var h=s(n,c),p=h.coordinateSystem,A=n.getAreaSelectStyle(),C=A.width,S=n.axis.dim,E=p.getAxisLayout(S),O=L.extend({strokeContainThreshold:C},E),T=new v(n,O);L.each(f,T.add,T),this._axisGroup.add(T.getGroup()),this._refreshBrushController(O,A,n,h,C,r);var b=u&&u.animation===!1?null:n;w.groupTransition(i,this._axisGroup,b)},_refreshBrushController:function(n,c,r,u,i,h){var p=r.axis.getExtent(),A=p[1]-p[0],C=Math.min(30,Math.abs(A)*.1),S=w.BoundingRect.create({x:p[0],y:-i/2,width:A,height:i});S.x-=C,S.width+=2*C,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,position:n.position}).setPanels([{panelId:"pl",clipPath:y.makeRectPanelClipPath(S),isTargetByCursor:y.makeRectIsTargetByCursor(S,h,u),getLinearBrushOtherExtent:y.makeLinearBrushOtherExtent(S,0)}]).enableBrush({brushType:"lineX",brushStyle:c,removeOnClick:!0}).updateCovers(o(r))},_onBrush:function(n,c){var r=this.axisModel,u=r.axis,i=L.map(n,function(h){return[u.coordToData(h.range[0],!0),u.coordToData(h.range[1],!0)]});(!r.option.realtime===c.isEnd||c.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:r.id,intervals:i})},dispose:function(){this._brushController.dispose()}});function t(n,c,r){return r&&r.type==="axisAreaSelect"&&c.findComponents({mainType:"parallelAxis",query:r})[0]===n}function o(n){var c=n.axis;return L.map(n.activeIntervals,function(r){return{brushType:"lineX",panelId:"pl",range:[c.dataToCoord(r[0],!0),c.dataToCoord(r[1],!0)]}})}function s(n,c){return c.getComponent("parallel",n.get("parallelIndex"))}var l=a;Z.exports=l},ljQ0:function(Z,_,e){"use strict";e.d(_,"a",function(){return s}),e.d(_,"b",function(){return n});var d=/margin|padding|width|height|max|min|offset/,L={left:!0,top:!0},v={cssFloat:1,styleFloat:1,float:1};function m(c){return c.nodeType===1?c.ownerDocument.defaultView.getComputedStyle(c,null):{}}function y(c,r,u){if(r=r.toLowerCase(),u==="auto"){if(r==="height")return c.offsetHeight;if(r==="width")return c.offsetWidth}return r in L||(L[r]=d.test(r)),L[r]?parseFloat(u)||0:u}function w(c,r){var u=arguments.length,i=m(c);return r=v[r]?"cssFloat"in c.style?"cssFloat":"styleFloat":r,u===1?i:y(c,r,i[r]||c.style[r])}function f(c,r,u){var i=arguments.length;if(r=v[r]?"cssFloat"in c.style?"cssFloat":"styleFloat":r,i===3)return typeof u=="number"&&d.test(r)&&(u="".concat(u,"px")),c.style[r]=u,u;for(var h in r)r.hasOwnProperty(h)&&f(c,h,r[h]);return m(c)}function a(c){return c===document.body?document.documentElement.clientWidth:c.offsetWidth}function t(c){return c===document.body?window.innerHeight||document.documentElement.clientHeight:c.offsetHeight}function o(){var c=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),r=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:c,height:r}}function s(){var c=document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight;return{width:c,height:r}}function l(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function n(c){var r=c.getBoundingClientRect(),u=document.documentElement;return{left:r.left+(window.pageXOffset||u.scrollLeft)-(u.clientLeft||document.body.clientLeft||0),top:r.top+(window.pageYOffset||u.scrollTop)-(u.clientTop||document.body.clientTop||0)}}},luy6:function(Z,_,e){var d=e("oEo5"),L=e("ie0D"),v=e("Jjzi"),m=v.parsePercent,y=v.MAX_SAFE_INTEGER,w=e("SSBM"),f=e("ycch"),a=Math.max,t=Math.min,o=d.retrieve,s=d.each,l=["itemStyle","borderWidth"],n=["itemStyle","gapWidth"],c=["upperLabel","show"],r=["upperLabel","height"],u={seriesType:"treemap",reset:function(N,D,M,R){var F=M.getWidth(),B=M.getHeight(),z=N.option,U=w.getLayoutRect(N.getBoxLayoutParams(),{width:M.getWidth(),height:M.getHeight()}),K=z.size||[],W=m(o(U.width,K[0]),F),H=m(o(U.height,K[1]),B),Y=R&&R.type,Q=["treemapZoomToNode","treemapRootToNode"],P=f.retrieveTargetInfo(R,Q,N),G=Y==="treemapRender"||Y==="treemapMove"?R.rootRect:null,J=N.getViewRoot(),he=f.getPathToRoot(J);if(Y!=="treemapMove"){var te=Y==="treemapZoomToNode"?O(N,P,J,W,H):G?[G.width,G.height]:[W,H],pe=z.sort;pe&&pe!=="asc"&&pe!=="desc"&&(pe="desc");var we={squareRatio:z.squareRatio,sort:pe,leafDepth:z.leafDepth};J.hostTree.clearLayouts();var be={x:0,y:0,width:te[0],height:te[1],area:te[0]*te[1]};J.setLayout(be),i(J,we,!1,0);var be=J.getLayout();s(he,function($e,yt){var Fe=(he[yt+1]||J).getValue();$e.setLayout(d.extend({dataExtent:[Fe,Fe],borderWidth:0,upperHeight:0},be))})}var Qe=N.getData().tree.root;Qe.setLayout(T(U,G,P),!0),N.setLayoutInfo(U),b(Qe,new L(-U.x,-U.y,F,B),he,J,0)}};function i(N,D,M,R){var F,B;if(N.isRemoved())return;var z=N.getLayout();F=z.width,B=z.height;var U=N.getModel(),K=U.get(l),W=U.get(n)/2,H=x(U),Y=Math.max(K,H),Q=K-W,P=Y-W,U=N.getModel();N.setLayout({borderWidth:K,upperHeight:Y,upperLabelHeight:H},!0),F=a(F-2*Q,0),B=a(B-Q-P,0);var G=F*B,J=h(N,U,G,D,M,R);if(!J.length)return;var he={x:Q,y:P,width:F,height:B},te=t(F,B),pe=Infinity,we=[];we.area=0;for(var be=0,Qe=J.length;be<Qe;){var $e=J[be];we.push($e),we.area+=$e.getLayout().area;var yt=S(we,te,D.squareRatio);yt<=pe?(be++,pe=yt):(we.area-=we.pop().getLayout().area,E(we,te,he,W,!1),te=t(he.width,he.height),we.length=we.area=0,pe=Infinity)}if(we.length&&E(we,te,he,W,!0),!M){var Fe=U.get("childrenVisibleMin");Fe!=null&&G<Fe&&(M=!0)}for(var be=0,Qe=J.length;be<Qe;be++)i(J[be],D,M,R+1)}function h(N,D,M,R,F,B){var z=N.children||[],U=R.sort;U!=="asc"&&U!=="desc"&&(U=null);var K=R.leafDepth!=null&&R.leafDepth<=B;if(F&&!K)return N.viewChildren=[];z=d.filter(z,function(P){return!P.isRemoved()}),A(z,U);var W=C(D,z,U);if(W.sum===0)return N.viewChildren=[];if(W.sum=p(D,M,W.sum,U,z),W.sum===0)return N.viewChildren=[];for(var H=0,Y=z.length;H<Y;H++){var Q=z[H].getValue()/W.sum*M;z[H].setLayout({area:Q})}return K&&(z.length&&N.setLayout({isLeafRoot:!0},!0),z.length=0),N.viewChildren=z,N.setLayout({dataExtent:W.dataExtent},!0),z}function p(N,D,M,R,F){if(!R)return M;for(var B=N.get("visibleMin"),z=F.length,U=z,K=z-1;K>=0;K--){var W=F[R==="asc"?z-K-1:K].getValue();W/M*D<B&&(U=K,M-=W)}return R==="asc"?F.splice(0,z-U):F.splice(U,z-U),M}function A(N,D){return D&&N.sort(function(M,R){var F=D==="asc"?M.getValue()-R.getValue():R.getValue()-M.getValue();return F===0?D==="asc"?M.dataIndex-R.dataIndex:R.dataIndex-M.dataIndex:F}),N}function C(N,D,M){for(var R=0,F=0,B=D.length;F<B;F++)R+=D[F].getValue();var z=N.get("visualDimension"),U;if(!D||!D.length)U=[NaN,NaN];else if(z==="value"&&M)U=[D[D.length-1].getValue(),D[0].getValue()],M==="asc"&&U.reverse();else{var U=[Infinity,-Infinity];s(D,function(W){var H=W.getValue(z);H<U[0]&&(U[0]=H),H>U[1]&&(U[1]=H)})}return{sum:R,dataExtent:U}}function S(N,D,M){for(var R=0,F=Infinity,B=0,z,U=N.length;B<U;B++)z=N[B].getLayout().area,z&&(z<F&&(F=z),z>R&&(R=z));var K=N.area*N.area,W=D*D*M;return K?a(W*R/K,K/(W*F)):Infinity}function E(N,D,M,R,F){var B=D===M.width?0:1,z=1-B,U=["x","y"],K=["width","height"],W=M[U[B]],H=D?N.area/D:0;(F||H>M[K[z]])&&(H=M[K[z]]);for(var Y=0,Q=N.length;Y<Q;Y++){var P=N[Y],G={},J=H?P.getLayout().area/H:0,he=G[K[z]]=a(H-2*R,0),te=M[U[B]]+M[K[B]]-W,pe=Y===Q-1||te<J?te:J,we=G[K[B]]=a(pe-2*R,0);G[U[z]]=M[U[z]]+t(R,he/2),G[U[B]]=W+t(R,we/2),W+=pe,P.setLayout(G,!0)}M[U[z]]+=H,M[K[z]]-=H}function O(N,D,M,R,F){var B=(D||{}).node,z=[R,F];if(!B||B===M)return z;for(var U,K=R*F,W=K*N.option.zoomToNodeRatio;U=B.parentNode;){for(var H=0,Y=U.children,Q=0,P=Y.length;Q<P;Q++)H+=Y[Q].getValue();var G=B.getValue();if(G===0)return z;W*=H/G;var J=U.getModel(),he=J.get(l),te=Math.max(he,x(J,he));W+=4*he*he+(3*he+te)*Math.pow(W,.5),W>y&&(W=y),B=U}W<K&&(W=K);var pe=Math.pow(W/K,.5);return[R*pe,F*pe]}function T(N,D,M){if(D)return{x:D.x,y:D.y};var R={x:0,y:0};if(!M)return R;var F=M.node,B=F.getLayout();if(!B)return R;for(var z=[B.width/2,B.height/2],U=F;U;){var K=U.getLayout();z[0]+=K.x,z[1]+=K.y,U=U.parentNode}return{x:N.width/2-z[0],y:N.height/2-z[1]}}function b(N,D,M,R,F){var B=N.getLayout(),z=M[F],U=z&&z===N;if(z&&!U||F===M.length&&N!==R)return;N.setLayout({isInView:!0,invisible:!U&&!D.intersect(B),isAboveViewRoot:U},!0);var K=new L(D.x-B.x,D.y-B.y,D.width,D.height);s(N.viewChildren||[],function(W){b(W,K,M,R,F+1)})}function x(N){return N.get(c)?N.get(r):0}Z.exports=u},lvid:function(Z,_){var e="\\ud800-\\udfff",d="\\u0300-\\u036f",L="\\ufe20-\\ufe2f",v="\\u20d0-\\u20ff",m=d+L+v,y="\\ufe0e\\ufe0f",w="["+e+"]",f="["+m+"]",a="\\ud83c[\\udffb-\\udfff]",t="(?:"+f+"|"+a+")",o="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",c=t+"?",r="["+y+"]?",u="(?:"+n+"(?:"+[o,s,l].join("|")+")"+r+c+")*",i=r+c+u,h="(?:"+[o+f+"?",f,s,l,w].join("|")+")",p=RegExp(a+"(?="+a+")|"+h+i,"g");function A(C){for(var S=p.lastIndex=0;p.test(C);)++S;return S}Z.exports=A},"m+vz":function(Z,_,e){e("1Wwd"),e("+x/p")},"m0+L":function(Z,_,e){var d=e("Vw6a"),L=d.retrieveRawValue,v=e("CQhY"),m=v.getTooltipMarker,y=v.formatTpl,w=e("QV7q"),f=w.getTooltipRenderMode,a=/\{@(.+?)\}/g,t={getDataParams:function(o,s){var l=this.getData(s),n=this.getRawValue(o,s),c=l.getRawIndex(o),r=l.getName(o),u=l.getRawDataItem(o),i=l.getItemVisual(o,"color"),h=l.getItemVisual(o,"borderColor"),p=this.ecModel.getComponent("tooltip"),A=p&&p.get("renderMode"),C=f(A),S=this.mainType,E=S==="series",O=l.userOutput;return{componentType:S,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:E?this.subType:null,seriesIndex:this.seriesIndex,seriesId:E?this.id:null,seriesName:E?this.name:null,name:r,dataIndex:c,data:u,dataType:s,value:n,color:i,borderColor:h,dimensionNames:O?O.dimensionNames:null,encode:O?O.encode:null,marker:m({color:i,renderMode:C}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(o,s,l,n,c){s=s||"normal";var r=this.getData(l),u=r.getItemModel(o),i=this.getDataParams(o,l);n!=null&&i.value instanceof Array&&(i.value=i.value[n]);var h=u.get(s==="normal"?[c||"label","formatter"]:[s,c||"label","formatter"]);if(typeof h=="function")return i.status=s,i.dimensionIndex=n,h(i);if(typeof h=="string"){var p=y(h,i);return p.replace(a,function(A,C){var S=C.length;return C.charAt(0)==="["&&C.charAt(S-1)==="]"&&(C=+C.slice(1,S-1)),L(r,o,C)})}},getRawValue:function(o,s){return L(this.getData(s),o)},formatTooltip:function(){}};Z.exports=t},"m0+X":function(Z,_,e){"use strict";var d=e("Afw4"),L=e.n(d),v=e("YFxb"),m=e("MPZO")},mBNi:function(Z,_,e){var d=e("teHm"),L=["itemStyle","borderColor"],v=["itemStyle","borderColor0"],m=["itemStyle","color"],y=["itemStyle","color0"],w={seriesType:"candlestick",plan:d(),performRawSeries:!0,reset:function(f,a){var t=f.getData();if(t.setVisual({legendSymbol:"roundRect",colorP:l(1,f),colorN:l(-1,f),borderColorP:n(1,f),borderColorN:n(-1,f)}),a.isSeriesFiltered(f))return;var o=f.pipelineContext.large;return!o&&{progress:s};function s(c,r){for(var u;(u=c.next())!=null;){var i=r.getItemModel(u),h=r.getItemLayout(u).sign;r.setItemVisual(u,{color:l(h,i),borderColor:n(h,i)})}}function l(c,r){return r.get(c>0?m:y)}function n(c,r){return r.get(c>0?L:v)}}};Z.exports=w},mCFr:function(Z,_,e){var d=e("Q6Bq");d.registerAction({type:"brush",event:"brush"},function(L,v){v.eachComponent({mainType:"brush",query:L},function(m){m.setAreas(L.areas)})}),d.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),d.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},mFvu:function(Z,_,e){var d=e("UZiS"),L=d.extend({type:"dataZoom.select"});Z.exports=L},mJ8l:function(Z,_,e){var d=e("oEo5"),L=e("fEzB"),v=e("sVuC"),m=L.prototype,y=L.extend({type:"ordinal",init:function(f,a){(!f||d.isArray(f))&&(f=new v({categories:f})),this._ordinalMeta=f,this._extent=a||[0,f.categories.length-1]},parse:function(f){return typeof f=="string"?this._ordinalMeta.getOrdinal(f):Math.round(f)},contain:function(f){return f=this.parse(f),m.contain.call(this,f)&&this._ordinalMeta.categories[f]!=null},normalize:function(f){return m.normalize.call(this,this.parse(f))},scale:function(f){return Math.round(m.scale.call(this,f))},getTicks:function(){for(var f=[],a=this._extent,t=a[0];t<=a[1];)f.push(t),t++;return f},getLabel:function(f){if(!this.isBlank())return this._ordinalMeta.categories[f]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(f,a){this.unionExtent(f.getApproximateExtent(a))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:d.noop,niceExtent:d.noop});y.create=function(){return new y};var w=y;Z.exports=w},mJA3:function(Z,_,e){var d=e("oEo5"),L=e("I1OY"),v=e("Az1A"),m=e("Auwy"),y=e("zYjg"),w=e("Jjzi"),f=e("BuVp"),a=e("Zec6"),t=e("QV7q"),o=w.linearMap,s=d.each,l=Math.min,n=Math.max,c=12,r=6,u=m.extend({type:"visualMap.continuous",init:function(){u.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(O,T,b,x){(!x||x.type!=="selectDataRange"||x.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var O=this.visualMapModel,T=this.group;this._orient=O.get("orient"),this._useHandle=O.get("calculable"),this._resetInterval(),this._renderBar(T);var b=O.get("text");this._renderEndsText(T,b,0),this._renderEndsText(T,b,1),this._updateView(!0),this.renderBackground(T),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(T)},_renderEndsText:function(O,T,b){if(!T)return;var x=T[1-b];x=x!=null?x+"":"";var N=this.visualMapModel,D=N.get("textGap"),M=N.itemSize,R=this._shapes.barGroup,F=this._applyTransform([M[0]/2,b===0?-D:M[1]+D],R),B=this._applyTransform(b===0?"bottom":"top",R),z=this._orient,U=this.visualMapModel.textStyleModel;this.group.add(new y.Text({style:{x:F[0],y:F[1],textVerticalAlign:z==="horizontal"?"middle":B,textAlign:z==="horizontal"?B:"center",text:x,textFont:U.getFont(),textFill:U.getTextColor()}}))},_renderBar:function(O){var T=this.visualMapModel,b=this._shapes,x=T.itemSize,N=this._orient,D=this._useHandle,M=a.getItemAlign(T,this.api,x),R=b.barGroup=this._createBarGroup(M);R.add(b.outOfRange=i()),R.add(b.inRange=i(null,D?S(this._orient):null,d.bind(this._dragHandle,this,"all",!1),d.bind(this._dragHandle,this,"all",!0)));var F=T.textStyleModel.getTextRect("\u56FD"),B=n(F.width,F.height);D&&(b.handleThumbs=[],b.handleLabels=[],b.handleLabelPoints=[],this._createHandle(R,0,x,B,N,M),this._createHandle(R,1,x,B,N,M)),this._createIndicator(R,x,B,N),O.add(R)},_createHandle:function(O,T,b,x,N){var D=d.bind(this._dragHandle,this,T,!1),M=d.bind(this._dragHandle,this,T,!0),R=i(h(T,x),S(this._orient),D,M);R.position[0]=b[0],O.add(R);var F=this.visualMapModel.textStyleModel,B=new y.Text({draggable:!0,drift:D,onmousemove:function(K){v.stop(K.event)},ondragend:M,style:{x:0,y:0,text:"",textFont:F.getFont(),textFill:F.getTextColor()}});this.group.add(B);var z=[N==="horizontal"?x/2:x*1.5,N==="horizontal"?T===0?-(x*1.5):x*1.5:T===0?-x/2:x/2],U=this._shapes;U.handleThumbs[T]=R,U.handleLabelPoints[T]=z,U.handleLabels[T]=B},_createIndicator:function(O,T,b,x){var N=i([[0,0]],"move");N.position[0]=T[0],N.attr({invisible:!0,silent:!0}),O.add(N);var D=this.visualMapModel.textStyleModel,M=new y.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:D.getFont(),textFill:D.getTextColor()}});this.group.add(M);var R=[x==="horizontal"?b/2:r+3,0],F=this._shapes;F.indicator=N,F.indicatorLabel=M,F.indicatorLabelPoint=R},_dragHandle:function(O,T,b,x){if(!this._useHandle)return;if(this._dragging=!T,!T){var N=this._applyTransform([b,x],this._shapes.barGroup,!0);this._updateInterval(O,N[1]),this._updateView()}T===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),T?!this._hovering&&this._clearHoverLinkToSeries():C(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[O],!1)},_resetInterval:function(){var O=this.visualMapModel,T=this._dataInterval=O.getSelected(),b=O.getExtent(),x=[0,O.itemSize[1]];this._handleEnds=[o(T[0],b,x,!0),o(T[1],b,x,!0)]},_updateInterval:function(O,T){T=T||0;var b=this.visualMapModel,x=this._handleEnds,N=[0,b.itemSize[1]];f(T,x,N,O,0);var D=b.getExtent();this._dataInterval=[o(x[0],N,D,!0),o(x[1],N,D,!0)]},_updateView:function(O){var T=this.visualMapModel,b=T.getExtent(),x=this._shapes,N=[0,T.itemSize[1]],D=O?N:this._handleEnds,M=this._createBarVisual(this._dataInterval,b,D,"inRange"),R=this._createBarVisual(b,b,N,"outOfRange");x.inRange.setStyle({fill:M.barColor,opacity:M.opacity}).setShape("points",M.barPoints),x.outOfRange.setStyle({fill:R.barColor,opacity:R.opacity}).setShape("points",R.barPoints),this._updateHandle(D,M)},_createBarVisual:function(O,T,b,x){var N={forceState:x,convertOpacityToAlpha:!0},D=this._makeColorGradient(O,N),M=[this.getControllerVisual(O[0],"symbolSize",N),this.getControllerVisual(O[1],"symbolSize",N)],R=this._createBarPoints(b,M);return{barColor:new L(0,0,0,1,D),barPoints:R,handlesColor:[D[0].color,D[D.length-1].color]}},_makeColorGradient:function(O,T){var b=100,x=[],N=(O[1]-O[0])/b;x.push({color:this.getControllerVisual(O[0],"color",T),offset:0});for(var D=1;D<b;D++){var M=O[0]+N*D;if(M>O[1])break;x.push({color:this.getControllerVisual(M,"color",T),offset:D/b})}return x.push({color:this.getControllerVisual(O[1],"color",T),offset:1}),x},_createBarPoints:function(O,T){var b=this.visualMapModel.itemSize;return[[b[0]-T[0],O[0]],[b[0],O[0]],[b[0],O[1]],[b[0]-T[1],O[1]]]},_createBarGroup:function(O){var T=this._orient,b=this.visualMapModel.get("inverse");return new y.Group(T==="horizontal"&&!b?{scale:O==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:T==="horizontal"&&b?{scale:O==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:T==="vertical"&&!b?{scale:O==="left"?[1,-1]:[-1,-1]}:{scale:O==="left"?[1,1]:[-1,1]})},_updateHandle:function(O,T){if(!this._useHandle)return;var b=this._shapes,x=this.visualMapModel,N=b.handleThumbs,D=b.handleLabels;s([0,1],function(M){var R=N[M];R.setStyle("fill",T.handlesColor[M]),R.position[1]=O[M];var F=y.applyTransform(b.handleLabelPoints[M],y.getTransform(R,this.group));D[M].setStyle({x:F[0],y:F[1],text:x.formatValueText(this._dataInterval[M]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?M===0?"bottom":"top":"left",b.barGroup)})},this)},_showIndicator:function(O,T,b,x){var N=this.visualMapModel,D=N.getExtent(),M=N.itemSize,R=[0,M[1]],F=o(O,D,R,!0),B=this._shapes,z=B.indicator;if(!z)return;z.position[1]=F,z.attr("invisible",!1),z.setShape("points",p(!!b,x,F,M[1]));var U={convertOpacityToAlpha:!0},K=this.getControllerVisual(O,"color",U);z.setStyle("fill",K);var W=y.applyTransform(B.indicatorLabelPoint,y.getTransform(z,this.group)),H=B.indicatorLabel;H.attr("invisible",!1);var Y=this._applyTransform("left",B.barGroup),Q=this._orient;H.setStyle({text:(b||"")+N.formatValueText(T),textVerticalAlign:Q==="horizontal"?Y:"middle",textAlign:Q==="horizontal"?"center":Y,x:W[0],y:W[1]})},_enableHoverLinkToSeries:function(){var O=this;this._shapes.barGroup.on("mousemove",function(T){if(O._hovering=!0,!O._dragging){var b=O.visualMapModel.itemSize,x=O._applyTransform([T.offsetX,T.offsetY],O._shapes.barGroup,!0,!0);x[1]=l(n(0,x[1]),b[1]),O._doHoverLinkToSeries(x[1],0<=x[0]&&x[0]<=b[0])}}).on("mouseout",function(){O._hovering=!1,!O._dragging&&O._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var O=this.api.getZr();this.visualMapModel.option.hoverLink?(O.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),O.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(O,T){var b=this.visualMapModel,x=b.itemSize;if(!b.option.hoverLink)return;var N=[0,x[1]],D=b.getExtent();O=l(n(N[0],O),N[1]);var M=A(b,D,N),R=[O-M,O+M],F=o(O,N,D,!0),B=[o(R[0],N,D,!0),o(R[1],N,D,!0)];R[0]<N[0]&&(B[0]=-Infinity),R[1]>N[1]&&(B[1]=Infinity),T&&(B[0]===-Infinity?this._showIndicator(F,B[1],"< ",M):B[1]===Infinity?this._showIndicator(F,B[0],"> ",M):this._showIndicator(F,F,"\u2248 ",M));var z=this._hoverLinkDataIndices,U=[];(T||C(b))&&(U=this._hoverLinkDataIndices=b.findTargetDataIndices(B));var K=t.compressBatches(z,U);this._dispatchHighDown("downplay",a.makeHighDownBatch(K[0],b)),this._dispatchHighDown("highlight",a.makeHighDownBatch(K[1],b))},_hoverLinkFromSeriesMouseOver:function(O){var T=O.target,b=this.visualMapModel;if(!T||T.dataIndex==null)return;var x=this.ecModel.getSeriesByIndex(T.seriesIndex);if(!b.isTargetSeries(x))return;var N=x.getData(T.dataType),D=N.get(b.getDataDimension(N),T.dataIndex,!0);isNaN(D)||this._showIndicator(D,D)},_hideIndicator:function(){var O=this._shapes;O.indicator&&O.indicator.attr("invisible",!0),O.indicatorLabel&&O.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var O=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",a.makeHighDownBatch(O,this.visualMapModel)),O.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var O=this.api.getZr();O.off("mouseover",this._hoverLinkFromSeriesMouseOver),O.off("mouseout",this._hideIndicator)},_applyTransform:function(O,T,b,x){var N=y.getTransform(T,x?null:this.group);return y[d.isArray(O)?"applyTransform":"transformDirection"](O,N,b)},_dispatchHighDown:function(O,T){T&&T.length&&this.api.dispatchAction({type:O,batch:T})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function i(O,T,b,x){return new y.Polygon({shape:{points:O},draggable:!!b,cursor:T,drift:b,onmousemove:function(N){v.stop(N.event)},ondragend:x})}function h(O,T){return O===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function p(O,T,b,x){return O?[[0,-l(T,n(b,0))],[r,0],[0,l(T,n(x-b,0))]]:[[0,0],[5,-5],[5,5]]}function A(O,T,b){var x=c/2,N=O.get("hoverLinkDataSize");return N&&(x=o(N,T,b,!0)/2),x}function C(O){var T=O.get("hoverLinkOnHandle");return!!(T==null?O.get("realtime"):T)}function S(O){return O==="vertical"?"ns-resize":"ew-resize"}var E=u;Z.exports=E},mMqU:function(Z,_,e){"use strict";var d=e("NfTp"),L=e.n(d),v=e("nWwB"),m={getNow:function(){return L()()},getWeekDay:function(Lt){var Xt=Lt.clone().locale("en_US");return Xt.weekday()+Xt.localeData().firstDayOfWeek()},getYear:function(Lt){return Lt.year()},getMonth:function(Lt){return Lt.month()},getDate:function(Lt){return Lt.date()},getHour:function(Lt){return Lt.hour()},getMinute:function(Lt){return Lt.minute()},getSecond:function(Lt){return Lt.second()},addYear:function(Lt,Xt){var ir=Lt.clone();return ir.add(Xt,"year")},addMonth:function(Lt,Xt){var ir=Lt.clone();return ir.add(Xt,"month")},addDate:function(Lt,Xt){var ir=Lt.clone();return ir.add(Xt,"day")},setYear:function(Lt,Xt){var ir=Lt.clone();return ir.year(Xt)},setMonth:function(Lt,Xt){var ir=Lt.clone();return ir.month(Xt)},setDate:function(Lt,Xt){var ir=Lt.clone();return ir.date(Xt)},setHour:function(Lt,Xt){var ir=Lt.clone();return ir.hour(Xt)},setMinute:function(Lt,Xt){var ir=Lt.clone();return ir.minute(Xt)},setSecond:function(Lt,Xt){var ir=Lt.clone();return ir.second(Xt)},isAfter:function(Lt,Xt){return Lt.isAfter(Xt)},isValidate:function(Lt){return Lt.isValid()},locale:{getWeekFirstDay:function(Lt){var Xt=L()().locale(Lt);return Xt.localeData().firstDayOfWeek()},getWeek:function(Lt,Xt){var ir=Xt.clone(),Sr=ir.locale(Lt);return Sr.week()},getShortWeekDays:function(Lt){var Xt=L()().locale(Lt);return Xt.localeData().weekdaysMin()},getShortMonths:function(Lt){var Xt=L()().locale(Lt);return Xt.localeData().monthsShort()},format:function(Lt,Xt,ir){var Sr=Xt.clone(),gr=Sr.locale(Lt);return gr.format(ir)},parse:function(Lt,Xt,ir){for(var Sr=[],gr=0;gr<ir.length;gr+=1){var Mr=ir[gr],Hr=Xt;if(Mr.includes("wo")||Mr.includes("Wo")){Mr=Mr.replace(/wo/g,"w").replace(/Wo/g,"W");var kr=Mr.match(/[-YyMmDdHhSsWwGg]+/g),Yr=Hr.match(/[-\d]+/g);kr&&Yr?(Mr=kr.join(""),Hr=Yr.join("")):Sr.push(Mr.replace(/o/g,""))}var en=L()(Hr,Mr,Lt,!0);if(en.isValid())return en}for(var lt=0;lt<Sr.length;lt+=1){var Qt=L()(Xt,Sr[lt],Lt,!1);if(Qt.isValid())return Object(v.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),Qt}return null}}},y=m,w=e("Eqs+"),f=e.n(w),a=e("ZZRV"),t=e("bnk9");function o(Ne){return a.createElement(t.a,f()({size:"small",type:"primary"},Ne))}var s=e("+YFC");function l(Ne){return a.createElement(s.a,f()({color:"blue"},Ne))}var n=e("CKlD"),c=e.n(n),r=e("XDlA"),u=e.n(r),i=e("T5E4"),h=e.n(i),p=e("XneU"),A=e.n(p),C=e("Hdxz"),S=e.n(C),E=e("iczh"),O=e.n(E),T=e("gesv"),b=e.n(T),x=e("gxE6"),N=e.n(x),D=e("4ZCI"),M=e.n(D),R=e("FGJx"),F=e("o0AO"),B=e("uwZC"),z=e("lpH6"),U=e("zjzt"),K=e("55MS"),W=e("GZha"),H=e("O9LN"),Y=e("9/lZ"),Q=e("ggzp"),P=a.createContext({}),G=P,J={visibility:"hidden"};function he(Ne){var Lt=Ne.prefixCls,Xt=Ne.prevIcon,ir=Xt===void 0?"\u2039":Xt,Sr=Ne.nextIcon,gr=Sr===void 0?"\u203A":Sr,Mr=Ne.superPrevIcon,Hr=Mr===void 0?"\xAB":Mr,kr=Ne.superNextIcon,Yr=kr===void 0?"\xBB":kr,en=Ne.onSuperPrev,lt=Ne.onSuperNext,Qt=Ne.onPrev,lr=Ne.onNext,mr=Ne.children,Er=a.useContext(G),Br=Er.hideNextBtn,rn=Er.hidePrevBtn;return a.createElement("div",{className:Lt},en&&a.createElement("button",{type:"button",onClick:en,tabIndex:-1,className:"".concat(Lt,"-super-prev-btn"),style:rn?J:{}},Hr),Qt&&a.createElement("button",{type:"button",onClick:Qt,tabIndex:-1,className:"".concat(Lt,"-prev-btn"),style:rn?J:{}},ir),a.createElement("div",{className:"".concat(Lt,"-view")},mr),lr&&a.createElement("button",{type:"button",onClick:lr,tabIndex:-1,className:"".concat(Lt,"-next-btn"),style:Br?J:{}},gr),lt&&a.createElement("button",{type:"button",onClick:lt,tabIndex:-1,className:"".concat(Lt,"-super-next-btn"),style:Br?J:{}},Yr))}var te=he;function pe(Ne){var Lt=a.useContext(G),Xt=Lt.hideHeader;if(Xt)return null;var ir=Ne.prefixCls,Sr=Ne.generateConfig,gr=Ne.locale,Mr=Ne.value,Hr=Ne.format,kr="".concat(ir,"-header");return a.createElement(te,{prefixCls:kr},Mr?Sr.locale.format(gr.locale,Mr,Hr):"\xA0")}var we=pe,be=e("TZL6"),Qe=e("V0hb"),$e=new Map;function yt(Ne,Lt,Xt){if($e.get(Ne)&&cancelAnimationFrame($e.get(Ne)),Xt<=0){$e.set(Ne,requestAnimationFrame(function(){Ne.scrollTop=Lt}));return}var ir=Lt-Ne.scrollTop,Sr=ir/Xt*10;$e.set(Ne,requestAnimationFrame(function(){Ne.scrollTop+=Sr,Ne.scrollTop!==Lt&&yt(Ne,Lt,Xt-10)}))}function Fe(Ne,Lt){var Xt=Lt.onLeftRight,ir=Lt.onCtrlLeftRight,Sr=Lt.onUpDown,gr=Lt.onPageUpDown,Mr=Lt.onEnter,Hr=Ne.which,kr=Ne.ctrlKey,Yr=Ne.metaKey;switch(Hr){case Q.a.LEFT:if(kr||Yr){if(ir)return ir(-1),!0}else if(Xt)return Xt(-1),!0;break;case Q.a.RIGHT:if(kr||Yr){if(ir)return ir(1),!0}else if(Xt)return Xt(1),!0;break;case Q.a.UP:if(Sr)return Sr(-1),!0;break;case Q.a.DOWN:if(Sr)return Sr(1),!0;break;case Q.a.PAGE_UP:if(gr)return gr(-1),!0;break;case Q.a.PAGE_DOWN:if(gr)return gr(1),!0;break;case Q.a.ENTER:if(Mr)return Mr(),!0;break}return!1}function Pe(Ne,Lt,Xt,ir){var Sr=Ne;if(!Sr)switch(Lt){case"time":Sr=ir?"hh:mm:ss a":"HH:mm:ss";break;case"week":Sr="gggg-wo";break;case"month":Sr="YYYY-MM";break;case"quarter":Sr="YYYY-[Q]Q";break;case"year":Sr="YYYY";break;default:Sr=Xt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Sr}function gt(Ne,Lt){var Xt=Ne==="time"?8:10;return Math.max(Xt,Lt.length)+2}var it=null,qe=new Set;function At(Ne){return!it&&typeof window!="undefined"&&window.addEventListener&&(it=function(Xt){Object(Qe.a)(qe).forEach(function(ir){ir(Xt)})},window.addEventListener("mousedown",it)),qe.add(Ne),function(){qe.delete(Ne),qe.size===0&&(window.removeEventListener("mousedown",it),it=null)}}var dt=function(Lt){return Lt==="month"||Lt==="date"?"year":Lt},wt=function(Lt){return Lt==="date"?"month":Lt},Ye=function(Lt){return Lt==="month"||Lt==="date"?"quarter":Lt},mt=function(Lt){return Lt==="date"?"week":Lt},Ue={year:dt,month:wt,quarter:Ye,week:mt,time:null,date:null};function Re(Ne,Lt){return Ne.some(function(Xt){return Xt&&Xt.contains(Lt)})}function Le(Ne){var Lt=Ne.prefixCls,Xt=Ne.units,ir=Ne.onSelect,Sr=Ne.value,gr=Ne.active,Mr=Ne.hideDisabledOptions,Hr="".concat(Lt,"-cell"),kr=a.useContext(G),Yr=kr.open,en=a.useRef(null),lt=a.useRef(new Map);return a.useLayoutEffect(function(){var Qt=lt.current.get(Sr);Qt&&Yr!==!1&&yt(en.current,Qt.offsetTop,120)},[Sr]),a.useLayoutEffect(function(){if(Yr){var Qt=lt.current.get(Sr);Qt&&yt(en.current,Qt.offsetTop,0)}},[Yr]),a.createElement("ul",{className:O()("".concat(Lt,"-column"),Object(U.a)({},"".concat(Lt,"-column-active"),gr)),ref:en,style:{position:"relative"}},Xt.map(function(Qt){var lr;return Mr&&Qt.disabled?null:a.createElement("li",{key:Qt.value,ref:function(Er){lt.current.set(Qt.value,Er)},className:O()(Hr,(lr={},Object(U.a)(lr,"".concat(Hr,"-disabled"),Qt.disabled),Object(U.a)(lr,"".concat(Hr,"-selected"),Sr===Qt.value),lr)),onClick:function(){if(Qt.disabled)return;ir(Qt.value)}},a.createElement("div",{className:"".concat(Hr,"-inner")},Qt.label))}))}var at=Le;function Ot(Ne,Lt){for(var Xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",ir=String(Ne);ir.length<Lt;)ir="".concat(Xt).concat(Ne);return ir}var Tt=function(){for(var Lt=arguments.length,Xt=new Array(Lt),ir=0;ir<Lt;ir++)Xt[ir]=arguments[ir];return Xt};function Ft(Ne){return Ne==null?[]:Array.isArray(Ne)?Ne:[Ne]}function ke(Ne){var Lt={};return Object.keys(Ne).forEach(function(Xt){(Xt.substr(0,5)==="data-"||Xt.substr(0,5)==="aria-"||Xt==="role"||Xt==="name")&&Xt.substr(0,7)!=="data-__"&&(Lt[Xt]=Ne[Xt])}),Lt}function Vt(Ne,Lt){return Ne?Ne[Lt]:null}function bt(Ne,Lt,Xt){var ir=[Vt(Ne,0),Vt(Ne,1)];return ir[Xt]=typeof Lt=="function"?Lt(ir[Xt]):Lt,!ir[0]&&!ir[1]?null:ir}function Rt(Ne,Lt,Xt,ir,Sr){var gr=Ne.setHour(Lt,Xt);return gr=Ne.setMinute(gr,ir),gr=Ne.setSecond(gr,Sr),gr}function Nt(Ne,Lt,Xt,ir,Sr,gr){var Mr=Math.floor(Ne/ir)*ir;if(Mr<Ne)return[Mr,60-Sr,60-gr];var Hr=Math.floor(Lt/Sr)*Sr;if(Hr<Lt)return[Mr,Hr,60-gr];var kr=Math.floor(Xt/gr)*gr;return[Mr,Hr,kr]}function xt(Ne,Lt){if(Ne.length!==Lt.length)return!0;for(var Xt=0;Xt<Ne.length;Xt+=1)if(Ne[Xt].disabled!==Lt[Xt].disabled)return!0;return!1}function Ut(Ne,Lt,Xt,ir){for(var Sr=[],gr=Ne;gr<=Lt;gr+=Xt)Sr.push({label:Ot(gr,2),value:gr,disabled:(ir||[]).includes(gr)});return Sr}function Ze(Ne){var Lt=Ne.generateConfig,Xt=Ne.prefixCls,ir=Ne.operationRef,Sr=Ne.activeColumnIndex,gr=Ne.value,Mr=Ne.showHour,Hr=Ne.showMinute,kr=Ne.showSecond,Yr=Ne.use12Hours,en=Ne.hourStep,lt=en===void 0?1:en,Qt=Ne.minuteStep,lr=Qt===void 0?1:Qt,mr=Ne.secondStep,Er=mr===void 0?1:mr,Br=Ne.disabledHours,rn=Ne.disabledMinutes,dn=Ne.disabledSeconds,yn=Ne.hideDisabledOptions,Dn=Ne.onSelect,gn=[],Sn="".concat(Xt,"-content"),_n="".concat(Xt,"-time-panel"),Cn,In=gr?Lt.getHour(gr):-1,fn=gr?Lt.getMinute(gr):-1,Tn=gr?Lt.getSecond(gr):-1,Yn=function(Ii,Ci,Si,la){var Da=gr||Lt.getNow(),Oa=Math.max(0,Ci),Aa=Math.max(0,Si),ya=Math.max(0,la);return Da=Rt(Lt,Da,!Yr||!Ii?Oa:Oa+12,Aa,ya),Da},Gn=Ut(0,23,lt,Br&&Br()),Hn=Object(be.a)(function(){return Gn},Gn,xt);Yr&&(Cn=In>=12,In%=12);var zi=a.useMemo(function(){if(!Yr)return[!1,!1];var pi=[!0,!0];return Hn.forEach(function(Ii){var Ci=Ii.disabled,Si=Ii.value;if(Ci)return;Si>=12?pi[1]=!1:pi[0]=!1}),pi},[Yr,Hn]),Oi=Object(W.a)(zi,2),Di=Oi[0],wi=Oi[1],Pn=a.useMemo(function(){return Yr?Hn.filter(Cn?function(pi){return pi.value>=12}:function(pi){return pi.value<12}).map(function(pi){var Ii=pi.value%12,Ci=Ii===0?"12":Ot(Ii,2);return Object(K.a)(Object(K.a)({},pi),{},{label:Ci,value:Ii})}):Hn},[Yr,Hn]),Ei=Ut(0,59,lr,rn&&rn(In)),va=Ut(0,59,Er,dn&&dn(In,fn));ir.current={onUpDown:function(Ii){var Ci=gn[Sr];if(Ci)for(var Si=Ci.units.findIndex(function(Aa){return Aa.value===Ci.value}),la=Ci.units.length,Da=1;Da<la;Da+=1){var Oa=Ci.units[(Si+Ii*Da+la)%la];if(Oa.disabled!==!0){Ci.onSelect(Oa.value);break}}}};function Sa(pi,Ii,Ci,Si,la){pi!==!1&&gn.push({node:a.cloneElement(Ii,{prefixCls:_n,value:Ci,active:Sr===gn.length,onSelect:la,units:Si,hideDisabledOptions:yn}),onSelect:la,value:Ci,units:Si})}Sa(Mr,a.createElement(at,{key:"hour"}),In,Pn,function(pi){Dn(Yn(Cn,pi,fn,Tn),"mouse")}),Sa(Hr,a.createElement(at,{key:"minute"}),fn,Ei,function(pi){Dn(Yn(Cn,In,pi,Tn),"mouse")}),Sa(kr,a.createElement(at,{key:"second"}),Tn,va,function(pi){Dn(Yn(Cn,In,fn,pi),"mouse")});var gi=-1;return typeof Cn=="boolean"&&(gi=Cn?1:0),Sa(Yr===!0,a.createElement(at,{key:"12hours"}),gi,[{label:"AM",value:0,disabled:Di},{label:"PM",value:1,disabled:wi}],function(pi){Dn(Yn(!!pi,In,fn,Tn),"mouse")}),a.createElement("div",{className:Sn},gn.map(function(pi){var Ii=pi.node;return Ii}))}var ze=Ze,re=function(Lt){return Lt.filter(function(Xt){return Xt!==!1}).length};function le(Ne){var Lt=Ne.generateConfig,Xt=Ne.format,ir=Xt===void 0?"HH:mm:ss":Xt,Sr=Ne.prefixCls,gr=Ne.active,Mr=Ne.operationRef,Hr=Ne.showHour,kr=Ne.showMinute,Yr=Ne.showSecond,en=Ne.use12Hours,lt=en===void 0?!1:en,Qt=Ne.onSelect,lr=Ne.value,mr="".concat(Sr,"-time-panel"),Er=a.useRef(),Br=a.useState(-1),rn=Object(W.a)(Br,2),dn=rn[0],yn=rn[1],Dn=re([Hr,kr,Yr,lt]);return Mr.current={onKeyDown:function(Sn){return Fe(Sn,{onLeftRight:function(Cn){yn((dn+Cn+Dn)%Dn)},onUpDown:function(Cn){dn===-1?yn(0):Er.current&&Er.current.onUpDown(Cn)},onEnter:function(){Qt(lr||Lt.getNow(),"key"),yn(-1)}})},onBlur:function(){yn(-1)}},a.createElement("div",{className:O()(mr,Object(U.a)({},"".concat(mr,"-active"),gr))},a.createElement(we,Object.assign({},Ne,{format:ir,prefixCls:Sr})),a.createElement(ze,Object.assign({},Ne,{prefixCls:Sr,activeColumnIndex:dn,operationRef:Er})))}var Xe=le,_e=7;function je(Ne,Lt){return!Ne&&!Lt?!0:!Ne||!Lt?!1:void 0}function ar(Ne,Lt,Xt){var ir=je(Lt,Xt);if(typeof ir=="boolean")return ir;var Sr=Math.floor(Ne.getYear(Lt)/10),gr=Math.floor(Ne.getYear(Xt)/10);return Sr===gr}function zt(Ne,Lt,Xt){var ir=je(Lt,Xt);return typeof ir=="boolean"?ir:Ne.getYear(Lt)===Ne.getYear(Xt)}function Pt(Ne,Lt){var Xt=Math.floor(Ne.getMonth(Lt)/3);return Xt+1}function qt(Ne,Lt,Xt){var ir=je(Lt,Xt);return typeof ir=="boolean"?ir:zt(Ne,Lt,Xt)&&Pt(Ne,Lt)===Pt(Ne,Xt)}function or(Ne,Lt,Xt){var ir=je(Lt,Xt);return typeof ir=="boolean"?ir:zt(Ne,Lt,Xt)&&Ne.getMonth(Lt)===Ne.getMonth(Xt)}function Kt(Ne,Lt,Xt){var ir=je(Lt,Xt);return typeof ir=="boolean"?ir:Ne.getYear(Lt)===Ne.getYear(Xt)&&Ne.getMonth(Lt)===Ne.getMonth(Xt)&&Ne.getDate(Lt)===Ne.getDate(Xt)}function Mt(Ne,Lt,Xt){var ir=je(Lt,Xt);return typeof ir=="boolean"?ir:Ne.getHour(Lt)===Ne.getHour(Xt)&&Ne.getMinute(Lt)===Ne.getMinute(Xt)&&Ne.getSecond(Lt)===Ne.getSecond(Xt)}function me(Ne,Lt,Xt,ir){var Sr=je(Xt,ir);return typeof Sr=="boolean"?Sr:Ne.locale.getWeek(Lt,Xt)===Ne.locale.getWeek(Lt,ir)}function ce(Ne,Lt,Xt){return Kt(Ne,Lt,Xt)&&Mt(Ne,Lt,Xt)}function ae(Ne,Lt,Xt,ir){return!Lt||!Xt||!ir?!1:!Kt(Ne,Lt,ir)&&!Kt(Ne,Xt,ir)&&Ne.isAfter(ir,Lt)&&Ne.isAfter(Xt,ir)}function de(Ne,Lt,Xt){var ir=Lt.locale.getWeekFirstDay(Ne),Sr=Lt.setDate(Xt,1),gr=Lt.getWeekDay(Sr),Mr=Lt.addDate(Sr,ir-gr);return Lt.getMonth(Mr)===Lt.getMonth(Xt)&&Lt.getDate(Mr)>1&&(Mr=Lt.addDate(Mr,-7)),Mr}function Se(Ne,Lt,Xt){var ir=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Lt){case"year":return Xt.addYear(Ne,ir*10);case"quarter":case"month":return Xt.addYear(Ne,ir);default:return Xt.addMonth(Ne,ir)}}var Ce=a.createContext({}),Ie=Ce;function Te(Ne){var Lt=Ne.cellPrefixCls,Xt=Ne.generateConfig,ir=Ne.rangedValue,Sr=Ne.hoverRangedValue,gr=Ne.isInView,Mr=Ne.isSameCell,Hr=Ne.offsetCell,kr=Ne.today,Yr=Ne.value;function en(lt){var Qt,lr=Hr(lt,-1),mr=Hr(lt,1),Er=Vt(ir,0),Br=Vt(ir,1),rn=Vt(Sr,0),dn=Vt(Sr,1),yn=ae(Xt,rn,dn,lt);function Dn(fn){return Mr(Er,fn)}function gn(fn){return Mr(Br,fn)}var Sn=Mr(rn,lt),_n=Mr(dn,lt),Cn=(yn||_n)&&(!gr(lr)||gn(lr)),In=(yn||Sn)&&(!gr(mr)||Dn(mr));return Qt={},Object(U.a)(Qt,"".concat(Lt,"-in-view"),gr(lt)),Object(U.a)(Qt,"".concat(Lt,"-in-range"),ae(Xt,Er,Br,lt)),Object(U.a)(Qt,"".concat(Lt,"-range-start"),Dn(lt)),Object(U.a)(Qt,"".concat(Lt,"-range-end"),gn(lt)),Object(U.a)(Qt,"".concat(Lt,"-range-start-single"),Dn(lt)&&!Br),Object(U.a)(Qt,"".concat(Lt,"-range-end-single"),gn(lt)&&!Er),Object(U.a)(Qt,"".concat(Lt,"-range-start-near-hover"),Dn(lt)&&(Mr(lr,rn)||ae(Xt,rn,dn,lr))),Object(U.a)(Qt,"".concat(Lt,"-range-end-near-hover"),gn(lt)&&(Mr(mr,dn)||ae(Xt,rn,dn,mr))),Object(U.a)(Qt,"".concat(Lt,"-range-hover"),yn),Object(U.a)(Qt,"".concat(Lt,"-range-hover-start"),Sn),Object(U.a)(Qt,"".concat(Lt,"-range-hover-end"),_n),Object(U.a)(Qt,"".concat(Lt,"-range-hover-edge-start"),Cn),Object(U.a)(Qt,"".concat(Lt,"-range-hover-edge-end"),In),Object(U.a)(Qt,"".concat(Lt,"-range-hover-edge-start-near-range"),Cn&&Mr(lr,Br)),Object(U.a)(Qt,"".concat(Lt,"-range-hover-edge-end-near-range"),In&&Mr(mr,Er)),Object(U.a)(Qt,"".concat(Lt,"-today"),Mr(kr,lt)),Object(U.a)(Qt,"".concat(Lt,"-selected"),Mr(Yr,lt)),Qt}return en}function Ee(Ne){for(var Lt=Ne.prefixCls,Xt=Ne.disabledDate,ir=Ne.onSelect,Sr=Ne.rowNum,gr=Ne.colNum,Mr=Ne.prefixColumn,Hr=Ne.rowClassName,kr=Ne.baseDate,Yr=Ne.getCellClassName,en=Ne.getCellText,lt=Ne.getCellNode,Qt=Ne.getCellDate,lr=Ne.titleCell,mr=Ne.headerCells,Er=a.useContext(G),Br=Er.onDateMouseEnter,rn=Er.onDateMouseLeave,dn="".concat(Lt,"-cell"),yn=[],Dn=0;Dn<Sr;Dn+=1){for(var gn=[],Sn=void 0,_n=function(fn){var Tn=Dn*gr+fn,Yn=Qt(kr,Tn),Gn=Xt&&Xt(Yn);fn===0&&(Sn=Yn,Mr&&gn.push(Mr(Sn))),gn.push(a.createElement("td",{key:fn,title:lr&&lr(Yn),className:O()(dn,Object(K.a)(Object(U.a)({},"".concat(dn,"-disabled"),Gn),Yr(Yn))),onClick:function(){Gn||ir(Yn)},onMouseEnter:function(){!Gn&&Br&&Br(Yn)},onMouseLeave:function(){!Gn&&rn&&rn(Yn)}},lt?lt(Yn):a.createElement("div",{className:"".concat(dn,"-inner")},en(Yn))))},Cn=0;Cn<gr;Cn+=1)_n(Cn);yn.push(a.createElement("tr",{key:Dn,className:Hr&&Hr(Sn)},gn))}return a.createElement("div",{className:"".concat(Lt,"-body")},a.createElement("table",{className:"".concat(Lt,"-content")},mr&&a.createElement("thead",null,a.createElement("tr",null,mr)),a.createElement("tbody",null,yn)))}function He(Ne){var Lt=Ne.prefixCls,Xt=Ne.generateConfig,ir=Ne.prefixColumn,Sr=Ne.locale,gr=Ne.rowCount,Mr=Ne.viewDate,Hr=Ne.value,kr=Ne.dateRender,Yr=a.useContext(Ie),en=Yr.rangedValue,lt=Yr.hoverRangedValue,Qt=de(Sr.locale,Xt,Mr),lr="".concat(Lt,"-cell"),mr=Xt.locale.getWeekFirstDay(Sr.locale),Er=Xt.getNow(),Br=[],rn=Sr.shortWeekDays||(Xt.locale.getShortWeekDays?Xt.locale.getShortWeekDays(Sr.locale):[]);ir&&Br.push(a.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var dn=0;dn<_e;dn+=1)Br.push(a.createElement("th",{key:dn},rn[(dn+mr)%_e]));var yn=Te({cellPrefixCls:lr,today:Er,value:Hr,generateConfig:Xt,rangedValue:ir?null:en,hoverRangedValue:ir?null:lt,isSameCell:function(Sn,_n){return Kt(Xt,Sn,_n)},isInView:function(Sn){return or(Xt,Sn,Mr)},offsetCell:function(Sn,_n){return Xt.addDate(Sn,_n)}}),Dn=kr?function(gn){return kr(gn,Er)}:void 0;return a.createElement(Ee,Object.assign({},Ne,{rowNum:gr,colNum:_e,baseDate:Qt,getCellNode:Dn,getCellText:Xt.getDate,getCellClassName:yn,getCellDate:Xt.addDate,titleCell:function(Sn){return Xt.locale.format(Sr.locale,Sn,"YYYY-MM-DD")},headerCells:Br}))}var st=He;function vt(Ne){var Lt=Ne.prefixCls,Xt=Ne.generateConfig,ir=Ne.locale,Sr=Ne.viewDate,gr=Ne.onNextMonth,Mr=Ne.onPrevMonth,Hr=Ne.onNextYear,kr=Ne.onPrevYear,Yr=Ne.onYearClick,en=Ne.onMonthClick,lt=a.useContext(G),Qt=lt.hideHeader;if(Qt)return null;var lr="".concat(Lt,"-header"),mr=ir.shortMonths||(Xt.locale.getShortMonths?Xt.locale.getShortMonths(ir.locale):[]),Er=Xt.getMonth(Sr),Br=a.createElement("button",{type:"button",key:"year",onClick:Yr,tabIndex:-1,className:"".concat(Lt,"-year-btn")},Xt.locale.format(ir.locale,Sr,ir.yearFormat)),rn=a.createElement("button",{type:"button",key:"month",onClick:en,tabIndex:-1,className:"".concat(Lt,"-month-btn")},ir.monthFormat?Xt.locale.format(ir.locale,Sr,ir.monthFormat):mr[Er]),dn=ir.monthBeforeYear?[rn,Br]:[Br,rn];return a.createElement(te,Object.assign({},Ne,{prefixCls:lr,onSuperPrev:kr,onPrev:Mr,onNext:gr,onSuperNext:Hr}),dn)}var ee=vt,oe=6;function k(Ne){var Lt=Ne.prefixCls,Xt=Ne.panelName,ir=Xt===void 0?"date":Xt,Sr=Ne.keyboardConfig,gr=Ne.active,Mr=Ne.operationRef,Hr=Ne.generateConfig,kr=Ne.value,Yr=Ne.viewDate,en=Ne.onViewDateChange,lt=Ne.onPanelChange,Qt=Ne.onSelect,lr="".concat(Lt,"-").concat(ir,"-panel");Mr.current={onKeyDown:function(rn){return Fe(rn,Object(K.a)({onLeftRight:function(yn){Qt(Hr.addDate(kr||Yr,yn),"key")},onCtrlLeftRight:function(yn){Qt(Hr.addYear(kr||Yr,yn),"key")},onUpDown:function(yn){Qt(Hr.addDate(kr||Yr,yn*_e),"key")},onPageUpDown:function(yn){Qt(Hr.addMonth(kr||Yr,yn),"key")}},Sr))}};var mr=function(rn){var dn=Hr.addYear(Yr,rn);en(dn),lt(null,dn)},Er=function(rn){var dn=Hr.addMonth(Yr,rn);en(dn),lt(null,dn)};return a.createElement("div",{className:O()(lr,Object(U.a)({},"".concat(lr,"-active"),gr))},a.createElement(ee,Object.assign({},Ne,{prefixCls:Lt,value:kr,viewDate:Yr,onPrevYear:function(){mr(-1)},onNextYear:function(){mr(1)},onPrevMonth:function(){Er(-1)},onNextMonth:function(){Er(1)},onMonthClick:function(){lt("month",Yr)},onYearClick:function(){lt("year",Yr)}})),a.createElement(st,Object.assign({},Ne,{onSelect:function(rn){return Qt(rn,"mouse")},prefixCls:Lt,value:kr,viewDate:Yr,rowCount:oe})))}var $=k;function se(Ne,Lt,Xt){if(!Xt)return Lt;var ir=Lt;return ir=Ne.setHour(ir,Ne.getHour(Xt)),ir=Ne.setMinute(ir,Ne.getMinute(Xt)),ir=Ne.setSecond(ir,Ne.getSecond(Xt)),ir}var ge=Tt("date","time");function Ae(Ne){var Lt=Ne.prefixCls,Xt=Ne.operationRef,ir=Ne.generateConfig,Sr=Ne.value,gr=Ne.defaultValue,Mr=Ne.disabledTime,Hr=Ne.showTime,kr=Ne.onSelect,Yr="".concat(Lt,"-datetime-panel"),en=a.useState(null),lt=Object(W.a)(en,2),Qt=lt[0],lr=lt[1],mr=a.useRef({}),Er=a.useRef({}),Br=Object(Y.a)(Hr)==="object"?Object(K.a)({},Hr):{};function rn(gn){var Sn=ge.indexOf(Qt)+gn,_n=ge[Sn]||null;return _n}var dn=function(Sn){Er.current.onBlur&&Er.current.onBlur(Sn),lr(null)};Xt.current={onKeyDown:function(Sn){if(Sn.which===Q.a.TAB){var _n=rn(Sn.shiftKey?-1:1);return lr(_n),_n&&Sn.preventDefault(),!0}if(Qt){var Cn=Qt==="date"?mr:Er;return Cn.current&&Cn.current.onKeyDown&&Cn.current.onKeyDown(Sn),!0}return[Q.a.LEFT,Q.a.RIGHT,Q.a.UP,Q.a.DOWN].includes(Sn.which)?(lr("date"),!0):!1},onBlur:dn,onClose:dn};var yn=function(Sn,_n){var Cn=Sn;_n==="date"&&!Sr&&Br.defaultValue?(Cn=ir.setHour(Cn,ir.getHour(Br.defaultValue)),Cn=ir.setMinute(Cn,ir.getMinute(Br.defaultValue)),Cn=ir.setSecond(Cn,ir.getSecond(Br.defaultValue))):_n==="time"&&!Sr&&gr&&(Cn=ir.setYear(Cn,ir.getYear(gr)),Cn=ir.setMonth(Cn,ir.getMonth(gr)),Cn=ir.setDate(Cn,ir.getDate(gr))),kr&&kr(Cn,"mouse")},Dn=Mr?Mr(Sr||null):{};return a.createElement("div",{className:O()(Yr,Object(U.a)({},"".concat(Yr,"-active"),Qt))},a.createElement($,Object.assign({},Ne,{operationRef:mr,active:Qt==="date",onSelect:function(Sn){yn(se(ir,Sn,Hr&&Object(Y.a)(Hr)==="object"?Hr.defaultValue:null),"date")}})),a.createElement(Xe,Object.assign({},Ne,{format:void 0},Br,Dn,{defaultValue:void 0,operationRef:Er,active:Qt==="time",onSelect:function(Sn){yn(Sn,"time")}})))}var Me=Ae;function et(Ne){var Lt=Ne.prefixCls,Xt=Ne.generateConfig,ir=Ne.locale,Sr=Ne.value,gr="".concat(Lt,"-cell"),Mr=function(en){return a.createElement("td",{key:"week",className:O()(gr,"".concat(gr,"-week"))},Xt.locale.getWeek(ir.locale,en))},Hr="".concat(Lt,"-week-panel-row"),kr=function(en){return O()(Hr,Object(U.a)({},"".concat(Hr,"-selected"),me(Xt,ir.locale,Sr,en)))};return a.createElement($,Object.assign({},Ne,{panelName:"week",prefixColumn:Mr,rowClassName:kr,keyboardConfig:{onLeftRight:null}}))}var Wt=et;function er(Ne){var Lt=Ne.prefixCls,Xt=Ne.generateConfig,ir=Ne.locale,Sr=Ne.viewDate,gr=Ne.onNextYear,Mr=Ne.onPrevYear,Hr=Ne.onYearClick,kr=a.useContext(G),Yr=kr.hideHeader;if(Yr)return null;var en="".concat(Lt,"-header");return a.createElement(te,Object.assign({},Ne,{prefixCls:en,onSuperPrev:Mr,onSuperNext:gr}),a.createElement("button",{type:"button",onClick:Hr,className:"".concat(Lt,"-year-btn")},Xt.locale.format(ir.locale,Sr,ir.yearFormat)))}var Ct=er,Ht=3,kt=4;function Zt(Ne){var Lt=Ne.prefixCls,Xt=Ne.locale,ir=Ne.value,Sr=Ne.viewDate,gr=Ne.generateConfig,Mr=Ne.monthCellRender,Hr=a.useContext(Ie),kr=Hr.rangedValue,Yr=Hr.hoverRangedValue,en="".concat(Lt,"-cell"),lt=Te({cellPrefixCls:en,value:ir,generateConfig:gr,rangedValue:kr,hoverRangedValue:Yr,isSameCell:function(Br,rn){return or(gr,Br,rn)},isInView:function(){return!0},offsetCell:function(Br,rn){return gr.addMonth(Br,rn)}}),Qt=Xt.shortMonths||(gr.locale.getShortMonths?gr.locale.getShortMonths(Xt.locale):[]),lr=gr.setMonth(Sr,0),mr=Mr?function(Er){return Mr(Er,Xt)}:void 0;return a.createElement(Ee,Object.assign({},Ne,{rowNum:kt,colNum:Ht,baseDate:lr,getCellNode:mr,getCellText:function(Br){return Xt.monthFormat?gr.locale.format(Xt.locale,Br,Xt.monthFormat):Qt[gr.getMonth(Br)]},getCellClassName:lt,getCellDate:gr.addMonth,titleCell:function(Br){return gr.locale.format(Xt.locale,Br,"YYYY-MM")}}))}var Et=Zt;function ur(Ne){var Lt=Ne.prefixCls,Xt=Ne.operationRef,ir=Ne.onViewDateChange,Sr=Ne.generateConfig,gr=Ne.value,Mr=Ne.viewDate,Hr=Ne.onPanelChange,kr=Ne.onSelect,Yr="".concat(Lt,"-month-panel");Xt.current={onKeyDown:function(Qt){return Fe(Qt,{onLeftRight:function(mr){kr(Sr.addMonth(gr||Mr,mr),"key")},onCtrlLeftRight:function(mr){kr(Sr.addYear(gr||Mr,mr),"key")},onUpDown:function(mr){kr(Sr.addMonth(gr||Mr,mr*Ht),"key")},onEnter:function(){Hr("date",gr||Mr)}})}};var en=function(Qt){var lr=Sr.addYear(Mr,Qt);ir(lr),Hr(null,lr)};return a.createElement("div",{className:Yr},a.createElement(Ct,Object.assign({},Ne,{prefixCls:Lt,onPrevYear:function(){en(-1)},onNextYear:function(){en(1)},onYearClick:function(){Hr("year",Mr)}})),a.createElement(Et,Object.assign({},Ne,{prefixCls:Lt,onSelect:function(Qt){kr(Qt,"mouse"),Hr("date",Qt)}})))}var rr=ur;function Ke(Ne){var Lt=Ne.prefixCls,Xt=Ne.generateConfig,ir=Ne.locale,Sr=Ne.viewDate,gr=Ne.onNextYear,Mr=Ne.onPrevYear,Hr=Ne.onYearClick,kr=a.useContext(G),Yr=kr.hideHeader;if(Yr)return null;var en="".concat(Lt,"-header");return a.createElement(te,Object.assign({},Ne,{prefixCls:en,onSuperPrev:Mr,onSuperNext:gr}),a.createElement("button",{type:"button",onClick:Hr,className:"".concat(Lt,"-year-btn")},Xt.locale.format(ir.locale,Sr,ir.yearFormat)))}var nt=Ke,Ge=4,ct=1;function ht(Ne){var Lt=Ne.prefixCls,Xt=Ne.locale,ir=Ne.value,Sr=Ne.viewDate,gr=Ne.generateConfig,Mr=a.useContext(Ie),Hr=Mr.rangedValue,kr=Mr.hoverRangedValue,Yr="".concat(Lt,"-cell"),en=Te({cellPrefixCls:Yr,value:ir,generateConfig:gr,rangedValue:Hr,hoverRangedValue:kr,isSameCell:function(lr,mr){return qt(gr,lr,mr)},isInView:function(){return!0},offsetCell:function(lr,mr){return gr.addMonth(lr,mr*3)}}),lt=gr.setDate(gr.setMonth(Sr,0),1);return a.createElement(Ee,Object.assign({},Ne,{rowNum:ct,colNum:Ge,baseDate:lt,getCellText:function(lr){return gr.locale.format(Xt.locale,lr,Xt.quarterFormat||"[Q]Q")},getCellClassName:en,getCellDate:function(lr,mr){return gr.addMonth(lr,mr*3)},titleCell:function(lr){return gr.locale.format(Xt.locale,lr,"YYYY-[Q]Q")}}))}var ut=ht;function We(Ne){var Lt=Ne.prefixCls,Xt=Ne.operationRef,ir=Ne.onViewDateChange,Sr=Ne.generateConfig,gr=Ne.value,Mr=Ne.viewDate,Hr=Ne.onPanelChange,kr=Ne.onSelect,Yr="".concat(Lt,"-quarter-panel");Xt.current={onKeyDown:function(Qt){return Fe(Qt,{onLeftRight:function(mr){kr(Sr.addMonth(gr||Mr,mr*3),"key")},onCtrlLeftRight:function(mr){kr(Sr.addYear(gr||Mr,mr),"key")},onUpDown:function(mr){kr(Sr.addYear(gr||Mr,mr),"key")}})}};var en=function(Qt){var lr=Sr.addYear(Mr,Qt);ir(lr),Hr(null,lr)};return a.createElement("div",{className:Yr},a.createElement(nt,Object.assign({},Ne,{prefixCls:Lt,onPrevYear:function(){en(-1)},onNextYear:function(){en(1)},onYearClick:function(){Hr("year",Mr)}})),a.createElement(ut,Object.assign({},Ne,{prefixCls:Lt,onSelect:function(Qt){kr(Qt,"mouse")}})))}var tt=We;function ft(Ne){var Lt=Ne.prefixCls,Xt=Ne.generateConfig,ir=Ne.viewDate,Sr=Ne.onPrevDecade,gr=Ne.onNextDecade,Mr=Ne.onDecadeClick,Hr=a.useContext(G),kr=Hr.hideHeader;if(kr)return null;var Yr="".concat(Lt,"-header"),en=Xt.getYear(ir),lt=Math.floor(en/Rr)*Rr,Qt=lt+Rr-1;return a.createElement(te,Object.assign({},Ne,{prefixCls:Yr,onSuperPrev:Sr,onSuperNext:gr}),a.createElement("button",{type:"button",onClick:Mr,className:"".concat(Lt,"-decade-btn")},lt,"-",Qt))}var Yt=ft,Dt=3,vr=4;function yr(Ne){var Lt=Ne.prefixCls,Xt=Ne.value,ir=Ne.viewDate,Sr=Ne.locale,gr=Ne.generateConfig,Mr=a.useContext(Ie),Hr=Mr.rangedValue,kr=Mr.hoverRangedValue,Yr="".concat(Lt,"-cell"),en=gr.getYear(ir),lt=Math.floor(en/Rr)*Rr,Qt=lt+Rr-1,lr=gr.setYear(ir,lt-Math.ceil((Dt*vr-Rr)/2)),mr=function(rn){var dn=gr.getYear(rn);return lt<=dn&&dn<=Qt},Er=Te({cellPrefixCls:Yr,value:Xt,generateConfig:gr,rangedValue:Hr,hoverRangedValue:kr,isSameCell:function(rn,dn){return zt(gr,rn,dn)},isInView:mr,offsetCell:function(rn,dn){return gr.addYear(rn,dn)}});return a.createElement(Ee,Object.assign({},Ne,{rowNum:vr,colNum:Dt,baseDate:lr,getCellText:gr.getYear,getCellClassName:Er,getCellDate:gr.addYear,titleCell:function(rn){return gr.locale.format(Sr.locale,rn,"YYYY")}}))}var Dr=yr,Rr=10;function Jr(Ne){var Lt=Ne.prefixCls,Xt=Ne.operationRef,ir=Ne.onViewDateChange,Sr=Ne.generateConfig,gr=Ne.value,Mr=Ne.viewDate,Hr=Ne.sourceMode,kr=Ne.onSelect,Yr=Ne.onPanelChange,en="".concat(Lt,"-year-panel");Xt.current={onKeyDown:function(lr){return Fe(lr,{onLeftRight:function(Er){kr(Sr.addYear(gr||Mr,Er),"key")},onCtrlLeftRight:function(Er){kr(Sr.addYear(gr||Mr,Er*Rr),"key")},onUpDown:function(Er){kr(Sr.addYear(gr||Mr,Er*Dt),"key")},onEnter:function(){Yr(Hr==="date"?"date":"month",gr||Mr)}})}};var lt=function(lr){var mr=Sr.addYear(Mr,lr*10);ir(mr),Yr(null,mr)};return a.createElement("div",{className:en},a.createElement(Yt,Object.assign({},Ne,{prefixCls:Lt,onPrevDecade:function(){lt(-1)},onNextDecade:function(){lt(1)},onDecadeClick:function(){Yr("decade",Mr)}})),a.createElement(Dr,Object.assign({},Ne,{prefixCls:Lt,onSelect:function(lr){Yr(Hr==="date"?"date":"month",lr),kr(lr,"mouse")}})))}var $r=Jr;function xr(Ne){var Lt=Ne.prefixCls,Xt=Ne.generateConfig,ir=Ne.viewDate,Sr=Ne.onPrevDecades,gr=Ne.onNextDecades,Mr=a.useContext(G),Hr=Mr.hideHeader;if(Hr)return null;var kr="".concat(Lt,"-header"),Yr=Xt.getYear(ir),en=Math.floor(Yr/_r)*_r,lt=en+_r-1;return a.createElement(te,Object.assign({},Ne,{prefixCls:kr,onSuperPrev:Sr,onSuperNext:gr}),en,"-",lt)}var Vr=xr,Or=3,nr=4;function pr(Ne){var Lt=fr-1,Xt=Ne.prefixCls,ir=Ne.viewDate,Sr=Ne.generateConfig,gr=Ne.disabledDate,Mr="".concat(Xt,"-cell"),Hr=Sr.getYear(ir),kr=Math.floor(Hr/fr)*fr,Yr=Math.floor(Hr/_r)*_r,en=Yr+_r-1,lt=Sr.setYear(ir,Yr-Math.ceil((Or*nr*fr-_r)/2)),Qt=function(mr){var Er,Br=gr&&gr(mr),rn=Sr.getYear(mr),dn=rn+Lt;return Er={},Object(U.a)(Er,"".concat(Mr,"-disabled"),Br),Object(U.a)(Er,"".concat(Mr,"-in-view"),Yr<=rn&&dn<=en),Object(U.a)(Er,"".concat(Mr,"-selected"),rn===kr),Er};return a.createElement(Ee,Object.assign({},Ne,{rowNum:nr,colNum:Or,baseDate:lt,getCellText:function(mr){var Er=Sr.getYear(mr);return"".concat(Er,"-").concat(Er+Lt)},getCellClassName:Qt,getCellDate:function(mr,Er){return Sr.addYear(mr,Er*fr)}}))}var dr=pr,fr=10,_r=fr*10;function Zr(Ne){var Lt=Ne.prefixCls,Xt=Ne.onViewDateChange,ir=Ne.generateConfig,Sr=Ne.viewDate,gr=Ne.operationRef,Mr=Ne.onSelect,Hr=Ne.onPanelChange,kr="".concat(Lt,"-decade-panel");gr.current={onKeyDown:function(Qt){return Fe(Qt,{onLeftRight:function(mr){Mr(ir.addYear(Sr,mr*fr),"key")},onCtrlLeftRight:function(mr){Mr(ir.addYear(Sr,mr*_r),"key")},onUpDown:function(mr){Mr(ir.addYear(Sr,mr*fr*Or),"key")},onEnter:function(){Hr("year",Sr)}})}};var Yr=function(Qt){var lr=ir.addYear(Sr,Qt*_r);Xt(lr),Hr(null,lr)},en=function(Qt){Mr(Qt,"mouse"),Hr("year",Qt)};return a.createElement("div",{className:kr},a.createElement(Vr,Object.assign({},Ne,{prefixCls:Lt,onPrevDecades:function(){Yr(-1)},onNextDecades:function(){Yr(1)}})),a.createElement(dr,Object.assign({},Ne,{prefixCls:Lt,onSelect:en})))}var on=Zr;function jn(Ne,Lt,Xt){return Xt?a.createElement("div",{className:"".concat(Ne,"-footer-extra")},Xt(Lt)):null}function Ur(Ne){var Lt=Ne.prefixCls,Xt=Ne.rangeList,ir=Xt===void 0?[]:Xt,Sr=Ne.components,gr=Sr===void 0?{}:Sr,Mr=Ne.needConfirmButton,Hr=Ne.onNow,kr=Ne.onOk,Yr=Ne.okDisabled,en=Ne.showNow,lt=Ne.locale,Qt,lr;if(ir.length){var mr=gr.rangeItem||"span";Qt=a.createElement(a.Fragment,null,ir.map(function(Br){var rn=Br.label,dn=Br.onClick,yn=Br.onMouseEnter,Dn=Br.onMouseLeave;return a.createElement("li",{key:rn,className:"".concat(Lt,"-preset")},a.createElement(mr,{onClick:dn,onMouseEnter:yn,onMouseLeave:Dn},rn))}))}if(Mr){var Er=gr.button||"button";Hr&&!Qt&&en!==!1&&(Qt=a.createElement("li",{className:"".concat(Lt,"-now")},a.createElement("a",{className:"".concat(Lt,"-now-btn"),onClick:Hr},lt.now))),lr=Mr&&a.createElement("li",{className:"".concat(Lt,"-ok")},a.createElement(Er,{disabled:Yr,onClick:kr},lt.ok))}return!Qt&&!lr?null:a.createElement("ul",{className:"".concat(Lt,"-ranges")},Qt,lr)}function En(Ne){var Lt,Xt=Ne.prefixCls,ir=Xt===void 0?"rc-picker":Xt,Sr=Ne.className,gr=Ne.style,Mr=Ne.locale,Hr=Ne.generateConfig,kr=Ne.value,Yr=Ne.defaultValue,en=Ne.pickerValue,lt=Ne.defaultPickerValue,Qt=Ne.disabledDate,lr=Ne.mode,mr=Ne.picker,Er=mr===void 0?"date":mr,Br=Ne.tabIndex,rn=Br===void 0?0:Br,dn=Ne.showNow,yn=Ne.showTime,Dn=Ne.showToday,gn=Ne.renderExtraFooter,Sn=Ne.hideHeader,_n=Ne.onSelect,Cn=Ne.onChange,In=Ne.onPanelChange,fn=Ne.onMouseDown,Tn=Ne.onPickerValueChange,Yn=Ne.onOk,Gn=Ne.components,Hn=Ne.direction,zi=Ne.hourStep,Oi=zi===void 0?1:zi,Di=Ne.minuteStep,wi=Di===void 0?1:Di,Pn=Ne.secondStep,Ei=Pn===void 0?1:Pn,va=Er==="date"&&!!yn||Er==="time",Sa=24%Oi===0,gi=60%wi===0,pi=60%Ei===0,Ii=a.useContext(G),Ci=Ii.operationRef,Si=Ii.panelRef,la=Ii.onSelect,Da=Ii.hideRanges,Oa=Ii.defaultOpenValue,Aa=a.useContext(Ie),ya=Aa.inRange,aa=Aa.panelPosition,mi=Aa.rangedValue,$n=Aa.hoverRangedValue,Li=a.useRef({}),_i=a.useRef(!0),oi=Object(H.a)(null,{value:kr,defaultValue:Yr,postState:function(si){return!si&&Oa&&Er==="time"?Oa:si}}),Fi=Object(W.a)(oi,2),Yi=Fi[0],Xi=Fi[1],Zi=Object(H.a)(null,{value:en,defaultValue:lt||Yi,postState:function(si){return si||Hr.getNow()}}),Fa=Object(W.a)(Zi,2),Mi=Fa[0],ca=Fa[1],ha=function(si){ca(si),Tn&&Tn(si)},Ua=function(si){var Ki=Ue[Er];return Ki?Ki(si):si},Ti=Object(H.a)(function(){return Er==="time"?"time":Ua("date")},{value:lr}),to=Object(W.a)(Ti,2),ka=to[0],ua=to[1];a.useEffect(function(){ua(Er)},[Er]);var Ya=a.useState(function(){return ka}),vi=Object(W.a)(Ya,2),_a=vi[0],Ra=vi[1],Pi=function(si,Ki){var xo=Ua(si||ka);Ra(ka),ua(xo),In&&(ka!==xo||ce(Hr,Mi,Mi))&&In(Ki,xo)},qi=function(si,Ki){var xo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(ka===Er||xo)&&(Xi(si),_n&&_n(si),la&&la(si,Ki),Cn&&!ce(Hr,si,Yi)&&Cn(si))},ro=function(si){return Li.current&&Li.current.onKeyDown?([Q.a.LEFT,Q.a.RIGHT,Q.a.UP,Q.a.DOWN,Q.a.PAGE_UP,Q.a.PAGE_DOWN,Q.a.ENTER].includes(si.which)&&si.preventDefault(),Li.current.onKeyDown(si)):(Object(v.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Ni=function(si){Li.current&&Li.current.onBlur&&Li.current.onBlur(si)};Ci&&aa!=="right"&&(Ci.current={onKeyDown:ro,onClose:function(){Li.current&&Li.current.onClose&&Li.current.onClose()}}),a.useEffect(function(){kr&&!_i.current&&ca(kr)},[kr]),a.useEffect(function(){_i.current=!1},[]);var za,lo=Object(K.a)(Object(K.a)({},Ne),{},{operationRef:Li,prefixCls:ir,viewDate:Mi,value:Yi,onViewDateChange:ha,sourceMode:_a,onPanelChange:Pi,disabledDate:ka!=="decade"?Qt:void 0});delete lo.onChange,delete lo.onSelect;switch(ka){case"decade":za=a.createElement(on,Object.assign({},lo,{onSelect:function(si,Ki){ha(si),qi(si,Ki)}}));break;case"year":za=a.createElement($r,Object.assign({},lo,{onSelect:function(si,Ki){ha(si),qi(si,Ki)}}));break;case"month":za=a.createElement(rr,Object.assign({},lo,{onSelect:function(si,Ki){ha(si),qi(si,Ki)}}));break;case"quarter":za=a.createElement(tt,Object.assign({},lo,{onSelect:function(si,Ki){ha(si),qi(si,Ki)}}));break;case"week":za=a.createElement(Wt,Object.assign({},lo,{onSelect:function(si,Ki){ha(si),qi(si,Ki)}}));break;case"time":delete lo.showTime,za=a.createElement(Xe,Object.assign({},lo,Object(Y.a)(yn)==="object"?yn:null,{onSelect:function(si,Ki){ha(si),qi(si,Ki)}}));break;default:yn?za=a.createElement(Me,Object.assign({},lo,{onSelect:function(si,Ki){ha(si),qi(si,Ki)}})):za=a.createElement($,Object.assign({},lo,{onSelect:function(si,Ki){ha(si),qi(si,Ki)}}))}var mo,Ka,Io=function(){var si=Hr.getNow(),Ki=Nt(Hr.getHour(si),Hr.getMinute(si),Hr.getSecond(si),Sa?Oi:1,gi?wi:1,pi?Ei:1),xo=Rt(Hr,si,Ki[0],Ki[1],Ki[2]);qi(xo,"submit")};Da||(mo=jn(ir,ka,gn),Ka=Ur({prefixCls:ir,components:Gn,needConfirmButton:va,okDisabled:!Yi||Qt&&Qt(Yi),locale:Mr,showNow:dn,onNow:va&&Io,onOk:function(){Yi&&(qi(Yi,"submit",!0),Yn&&Yn(Yi))}}));var Ja;if(Dn&&ka==="date"&&Er==="date"&&!yn){var ra=Hr.getNow(),Wi="".concat(ir,"-today-btn"),go=Qt&&Qt(ra);Ja=a.createElement("a",{className:O()(Wi,go&&"".concat(Wi,"-disabled")),"aria-disabled":go,onClick:function(){go||qi(ra,"mouse",!0)}},Mr.today)}return a.createElement(G.Provider,{value:Object(K.a)(Object(K.a)({},Ii),{},{hideHeader:"hideHeader"in Ne?Sn:Ii.hideHeader,hidePrevBtn:ya&&aa==="right",hideNextBtn:ya&&aa==="left"})},a.createElement("div",{tabIndex:rn,className:O()("".concat(ir,"-panel"),Sr,(Lt={},Object(U.a)(Lt,"".concat(ir,"-panel-has-range"),mi&&mi[0]&&mi[1]),Object(U.a)(Lt,"".concat(ir,"-panel-has-range-hover"),$n&&$n[0]&&$n[1]),Object(U.a)(Lt,"".concat(ir,"-panel-rtl"),Hn==="rtl"),Lt)),style:gr,onKeyDown:ro,onBlur:Ni,onMouseDown:fn,ref:Si},za,mo||Ka||Ja?a.createElement("div",{className:"".concat(ir,"-footer")},mo,Ka,Ja):null))}var pn=En,On=e("J04M"),Vn={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 Nn(Ne){var Lt,Xt=Ne.prefixCls,ir=Ne.popupElement,Sr=Ne.popupStyle,gr=Ne.visible,Mr=Ne.dropdownClassName,Hr=Ne.dropdownAlign,kr=Ne.transitionName,Yr=Ne.getPopupContainer,en=Ne.children,lt=Ne.range,Qt=Ne.popupPlacement,lr=Ne.direction,mr="".concat(Xt,"-dropdown"),Er=function(){return Qt!==void 0?Qt:lr==="rtl"?"bottomRight":"bottomLeft"};return a.createElement(On.a,{showAction:[],hideAction:[],popupPlacement:Er(),builtinPlacements:Vn,prefixCls:mr,popupTransitionName:kr,popup:ir,popupAlign:Hr,popupVisible:gr,popupClassName:O()(Mr,(Lt={},Object(U.a)(Lt,"".concat(mr,"-range"),lt),Object(U.a)(Lt,"".concat(mr,"-rtl"),lr==="rtl"),Lt)),popupStyle:Sr,getPopupContainer:Yr},en)}var ui=Nn;function Xn(Ne){var Lt=Ne.open,Xt=Ne.value,ir=Ne.isClickOutside,Sr=Ne.triggerOpen,gr=Ne.forwardKeyDown,Mr=Ne.blurToCancel,Hr=Ne.onSubmit,kr=Ne.onCancel,Yr=Ne.onFocus,en=Ne.onBlur,lt=Object(a.useState)(!1),Qt=Object(W.a)(lt,2),lr=Qt[0],mr=Qt[1],Er=Object(a.useState)(!1),Br=Object(W.a)(Er,2),rn=Br[0],dn=Br[1],yn=Object(a.useRef)(!1),Dn=Object(a.useRef)(!1),gn={onMouseDown:function(){mr(!0),Sr(!0)},onKeyDown:function(_n){switch(_n.which){case Q.a.ENTER:{Lt?Hr()!==!1&&mr(!0):Sr(!0),_n.preventDefault();return}case Q.a.TAB:{lr&&Lt&&!_n.shiftKey?(mr(!1),_n.preventDefault()):!lr&&Lt&&(!gr(_n)&&_n.shiftKey&&(mr(!0),_n.preventDefault()));return}case Q.a.ESC:{mr(!0),kr();return}}!Lt&&![Q.a.SHIFT].includes(_n.which)?Sr(!0):lr||gr(_n)},onFocus:function(_n){mr(!0),dn(!0),Yr&&Yr(_n)},onBlur:function(_n){if(yn.current||!ir(document.activeElement)){yn.current=!1;return}Mr?setTimeout(function(){ir(document.activeElement)&&kr()},0):Lt&&(Sr(!1),Dn.current&&Hr()),dn(!1),en&&en(_n)}};return Object(a.useEffect)(function(){Dn.current=!1},[Lt]),Object(a.useEffect)(function(){Dn.current=!0},[Xt]),Object(a.useEffect)(function(){return At(function(Sn){var _n=Sn.target;Lt&&(ir(_n)?rn||Sr(!1):(yn.current=!0,requestAnimationFrame(function(){yn.current=!1})))})}),[gn,{focused:rn,typing:lr}]}function mn(Ne){var Lt=Ne.valueTexts,Xt=Ne.onTextChange,ir=a.useState(""),Sr=Object(W.a)(ir,2),gr=Sr[0],Mr=Sr[1],Hr=a.useRef([]);Hr.current=Lt;function kr(en){Mr(en),Xt(en)}function Yr(){Mr(Hr.current[0])}return a.useEffect(function(){Lt.every(function(en){return en!==gr})&&Yr()},[Lt.join("||")]),[gr,kr,Yr]}var cn=e("8CG2"),da=e.n(cn);function Ta(Ne,Lt){var Xt=Lt.formatList,ir=Lt.generateConfig,Sr=Lt.locale;return Object(be.a)(function(){if(!Ne)return[[""],""];for(var gr="",Mr=[],Hr=0;Hr<Xt.length;Hr+=1){var kr=Xt[Hr],Yr=ir.locale.format(Sr.locale,Ne,kr);Mr.push(Yr),Hr===0&&(gr=Yr)}return[Mr,gr]},[Ne,Xt],function(gr,Mr){return gr[0]!==Mr[0]||!da()(gr[1],Mr[1])})}function ia(Ne,Lt){var Xt=Lt.formatList,ir=Lt.generateConfig,Sr=Lt.locale,gr=Object(a.useState)(null),Mr=Object(W.a)(gr,2),Hr=Mr[0],kr=Mr[1],Yr=Ta(Hr,{formatList:Xt,generateConfig:ir,locale:Sr}),en=Object(W.a)(Yr,2),lt=en[1];function Qt(mr){kr(mr)}function lr(){kr(null)}return Object(a.useEffect)(function(){lr()},[Ne]),[lt,Qt,lr]}function fi(Ne){var Lt,Xt=Ne.prefixCls,ir=Xt===void 0?"rc-picker":Xt,Sr=Ne.id,gr=Ne.tabIndex,Mr=Ne.style,Hr=Ne.className,kr=Ne.dropdownClassName,Yr=Ne.dropdownAlign,en=Ne.popupStyle,lt=Ne.transitionName,Qt=Ne.generateConfig,lr=Ne.locale,mr=Ne.inputReadOnly,Er=Ne.allowClear,Br=Ne.autoFocus,rn=Ne.showTime,dn=Ne.picker,yn=dn===void 0?"date":dn,Dn=Ne.format,gn=Ne.use12Hours,Sn=Ne.value,_n=Ne.defaultValue,Cn=Ne.open,In=Ne.defaultOpen,fn=Ne.defaultOpenValue,Tn=Ne.suffixIcon,Yn=Ne.clearIcon,Gn=Ne.disabled,Hn=Ne.disabledDate,zi=Ne.placeholder,Oi=Ne.getPopupContainer,Di=Ne.pickerRef,wi=Ne.panelRender,Pn=Ne.onChange,Ei=Ne.onOpenChange,va=Ne.onFocus,Sa=Ne.onBlur,gi=Ne.onMouseDown,pi=Ne.onMouseUp,Ii=Ne.onMouseEnter,Ci=Ne.onMouseLeave,Si=Ne.onContextMenu,la=Ne.onClick,Da=Ne.direction,Oa=Ne.autoComplete,Aa=Oa===void 0?"off":Oa,ya=a.useRef(null),aa=yn==="date"&&!!rn||yn==="time",mi=Ft(Pe(Dn,yn,rn,gn)),$n=a.useRef(null),Li=a.useRef(null),_i=Object(H.a)(null,{value:Sn,defaultValue:_n}),oi=Object(W.a)(_i,2),Fi=oi[0],Yi=oi[1],Xi=a.useState(Fi),Zi=Object(W.a)(Xi,2),Fa=Zi[0],Mi=Zi[1],ca=a.useRef(null),ha=Object(H.a)(!1,{value:Cn,defaultValue:In,postState:function(Ji){return Gn?!1:Ji},onChange:function(Ji){Ei&&Ei(Ji),!Ji&&ca.current&&ca.current.onClose&&ca.current.onClose()}}),Ua=Object(W.a)(ha,2),Ti=Ua[0],to=Ua[1],ka=Ta(Fa,{formatList:mi,generateConfig:Qt,locale:lr}),ua=Object(W.a)(ka,2),Ya=ua[0],vi=ua[1],_a=mn({valueTexts:Ya,onTextChange:function(Ji){var ao=Qt.locale.parse(lr.locale,Ji,mi);ao&&(!Hn||!Hn(ao))&&Mi(ao)}}),Ra=Object(W.a)(_a,3),Pi=Ra[0],qi=Ra[1],ro=Ra[2],Ni=function(Ji){Mi(Ji),Yi(Ji),Pn&&!ce(Qt,Fi,Ji)&&Pn(Ji,Ji?Qt.locale.format(lr.locale,Ji,mi[0]):"")},za=function(Ji){if(Gn&&Ji)return;to(Ji)},lo=function(Ji){return Ti&&ca.current&&ca.current.onKeyDown?ca.current.onKeyDown(Ji):(Object(v.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},mo=function(){pi&&pi.apply(void 0,arguments),ya.current&&(ya.current.focus(),za(!0))},Ka=Xn({blurToCancel:aa,open:Ti,value:Pi,triggerOpen:za,forwardKeyDown:lo,isClickOutside:function(Ji){return!Re([$n.current,Li.current],Ji)},onSubmit:function(){return Hn&&Hn(Fa)?!1:(Ni(Fa),za(!1),ro(),!0)},onCancel:function(){za(!1),Mi(Fi),ro()},onFocus:va,onBlur:Sa}),Io=Object(W.a)(Ka,2),Ja=Io[0],ra=Io[1],Wi=ra.focused,go=ra.typing;a.useEffect(function(){Ti||(Mi(Fi),!Ya.length||Ya[0]===""?qi(""):vi!==Pi&&ro())},[Ti,Ya]),a.useEffect(function(){Ti||ro()},[yn]),a.useEffect(function(){Mi(Fi)},[Fi]),Di&&(Di.current={focus:function(){ya.current&&ya.current.focus()},blur:function(){ya.current&&ya.current.blur()}});var xa=Object(K.a)(Object(K.a)({},Ne),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),si=a.createElement(pn,Object.assign({},xa,{generateConfig:Qt,className:O()(Object(U.a)({},"".concat(ir,"-panel-focused"),!go)),value:Fa,locale:lr,tabIndex:-1,onChange:Mi,direction:Da}));wi&&(si=wi(si));var Ki=a.createElement("div",{className:"".concat(ir,"-panel-container"),onMouseDown:function(Ji){Ji.preventDefault()}},si),xo;Tn&&(xo=a.createElement("span",{className:"".concat(ir,"-suffix")},Tn));var yo;Er&&Fi&&!Gn&&(yo=a.createElement("span",{onMouseDown:function(Ji){Ji.preventDefault(),Ji.stopPropagation()},onMouseUp:function(Ji){Ji.preventDefault(),Ji.stopPropagation(),Ni(null),za(!1)},className:"".concat(ir,"-clear")},Yn||a.createElement("span",{className:"".concat(ir,"-clear-btn")})));var no=function(Ji,ao){(ao==="submit"||ao!=="key"&&!aa)&&(Ni(Ji),za(!1))},bo=Da==="rtl"?"bottomRight":"bottomLeft",Mo=ia(Pi,{formatList:mi,generateConfig:Qt,locale:lr}),fa=Object(W.a)(Mo,3),Vi=fa[0],io=fa[1],$a=fa[2];return a.createElement(G.Provider,{value:{operationRef:ca,hideHeader:yn==="time",panelRef:$n,onSelect:no,open:Ti,defaultOpenValue:fn,onDateMouseEnter:io,onDateMouseLeave:$a}},a.createElement(ui,{visible:Ti,popupElement:Ki,popupStyle:en,prefixCls:ir,dropdownClassName:kr,dropdownAlign:Yr,getPopupContainer:Oi,transitionName:lt,popupPlacement:bo,direction:Da},a.createElement("div",{className:O()(ir,Hr,(Lt={},Object(U.a)(Lt,"".concat(ir,"-disabled"),Gn),Object(U.a)(Lt,"".concat(ir,"-focused"),Wi),Object(U.a)(Lt,"".concat(ir,"-rtl"),Da==="rtl"),Lt)),style:Mr,onMouseDown:gi,onMouseUp:mo,onMouseEnter:Ii,onMouseLeave:Ci,onContextMenu:Si,onClick:la},a.createElement("div",{className:O()("".concat(ir,"-input"),Object(U.a)({},"".concat(ir,"-input-placeholder"),!!Vi)),ref:Li},a.createElement("input",Object.assign({id:Sr,tabIndex:gr,disabled:Gn,readOnly:mr||!go,value:Vi||Pi,onChange:function(Ji){qi(Ji.target.value)},autoFocus:Br,placeholder:zi,ref:ya,title:Pi},Ja,{size:gt(yn,mi[0])},ke(Ne),{autoComplete:Aa})),xo,yo))))}var ki=function(Ne){Object(B.a)(Xt,Ne);var Lt=Object(z.a)(Xt);function Xt(){var ir;return Object(R.a)(this,Xt),ir=Lt.apply(this,arguments),ir.pickerRef=a.createRef(),ir.focus=function(){ir.pickerRef.current&&ir.pickerRef.current.focus()},ir.blur=function(){ir.pickerRef.current&&ir.pickerRef.current.blur()},ir}return Object(F.a)(Xt,[{key:"render",value:function(){return a.createElement(fi,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Xt}(a.Component),Qn=ki;function ea(Ne,Lt,Xt){var ir=Ne.picker,Sr=Ne.locale,gr=Ne.selectedValue,Mr=Ne.disabledDate,Hr=Ne.disabled,kr=Ne.generateConfig,Yr=Vt(gr,0),en=Vt(gr,1);function lt(Br){var rn=kr.getYear(Br),dn=kr.locale.getWeek(Sr.locale,Br);return rn*100+dn}function Qt(Br){var rn=kr.getYear(Br),dn=kr.getMonth(Br);return rn*100+dn}function lr(Br){var rn=kr.getYear(Br),dn=Pt(kr,Br);return rn*10+dn}var mr=a.useCallback(function(Br){if(Mr&&Mr(Br))return!0;if(Hr[1]&&en)return!Kt(kr,Br,en)&&kr.isAfter(Br,en);if(Lt&&en)switch(ir){case"quarter":return lr(Br)>lr(en);case"month":return Qt(Br)>Qt(en);case"week":return lt(Br)>lt(en);default:return!Kt(kr,Br,en)&&kr.isAfter(Br,en)}return!1},[Mr,Hr[1],en,Lt]),Er=a.useCallback(function(Br){if(Mr&&Mr(Br))return!0;if(Hr[0]&&Yr)return!Kt(kr,Br,en)&&kr.isAfter(Yr,Br);if(Xt&&Yr)switch(ir){case"quarter":return lr(Br)<lr(Yr);case"month":return Qt(Br)<Qt(Yr);case"week":return lt(Br)<lt(Yr);default:return!Kt(kr,Br,Yr)&&kr.isAfter(Yr,Br)}return!1},[Mr,Hr[0],Yr,Xt]);return[mr,Er]}function An(Ne,Lt,Xt,ir){var Sr=Se(Ne,Xt,ir,1);function gr(Mr){return Mr(Ne,Lt)?"same":Mr(Sr,Lt)?"closing":"far"}switch(Xt){case"year":return gr(function(Mr,Hr){return ar(ir,Mr,Hr)});case"quarter":case"month":return gr(function(Mr,Hr){return zt(ir,Mr,Hr)});default:return gr(function(Mr,Hr){return or(ir,Mr,Hr)})}}function wn(Ne,Lt,Xt,ir){var Sr=Vt(Ne,0),gr=Vt(Ne,1);if(Lt===0)return Sr;if(Sr&&gr){var Mr=An(Sr,gr,Xt,ir);switch(Mr){case"same":return Sr;case"closing":return Sr;default:return Se(gr,Xt,ir,-1)}}return Sr}function Ln(Ne){var Lt=Ne.values,Xt=Ne.picker,ir=Ne.defaultDates,Sr=Ne.generateConfig,gr=a.useState(function(){return[Vt(ir,0),Vt(ir,1)]}),Mr=Object(W.a)(gr,2),Hr=Mr[0],kr=Mr[1],Yr=a.useState(null),en=Object(W.a)(Yr,2),lt=en[0],Qt=en[1],lr=Vt(Lt,0),mr=Vt(Lt,1);function Er(rn){return Hr[rn]?Hr[rn]:Vt(lt,rn)||wn(Lt,rn,Xt,Sr)||lr||mr||Sr.getNow()}function Br(rn,dn){if(rn){var yn=bt(lt,rn,dn);kr(bt(Hr,null,dn)||[null,null]);var Dn=(dn+1)%2;Vt(Lt,Dn)||(yn=bt(yn,rn,Dn)),Qt(yn)}else(lr||mr)&&Qt(null)}return[Er,Br]}function Un(Ne,Lt){return Ne&&Ne[0]&&Ne[1]&&Lt.isAfter(Ne[0],Ne[1])?[Ne[1],Ne[0]]:Ne}function kn(Ne,Lt,Xt,ir){return Ne||ir&&ir[Lt]?!0:!!Xt[(Lt+1)%2]}function ti(Ne){var Lt,Xt,ir,Sr=Ne.prefixCls,gr=Sr===void 0?"rc-picker":Sr,Mr=Ne.id,Hr=Ne.style,kr=Ne.className,Yr=Ne.popupStyle,en=Ne.dropdownClassName,lt=Ne.transitionName,Qt=Ne.dropdownAlign,lr=Ne.getPopupContainer,mr=Ne.generateConfig,Er=Ne.locale,Br=Ne.placeholder,rn=Ne.autoFocus,dn=Ne.disabled,yn=Ne.format,Dn=Ne.picker,gn=Dn===void 0?"date":Dn,Sn=Ne.showTime,_n=Ne.use12Hours,Cn=Ne.separator,In=Cn===void 0?"~":Cn,fn=Ne.value,Tn=Ne.defaultValue,Yn=Ne.defaultPickerValue,Gn=Ne.open,Hn=Ne.defaultOpen,zi=Ne.disabledDate,Oi=Ne.disabledTime,Di=Ne.dateRender,wi=Ne.panelRender,Pn=Ne.ranges,Ei=Ne.allowEmpty,va=Ne.allowClear,Sa=Ne.suffixIcon,gi=Ne.clearIcon,pi=Ne.pickerRef,Ii=Ne.inputReadOnly,Ci=Ne.mode,Si=Ne.renderExtraFooter,la=Ne.onChange,Da=Ne.onOpenChange,Oa=Ne.onPanelChange,Aa=Ne.onCalendarChange,ya=Ne.onFocus,aa=Ne.onBlur,mi=Ne.onOk,$n=Ne.components,Li=Ne.order,_i=Ne.direction,oi=Ne.activePickerIndex,Fi=Ne.autoComplete,Yi=Fi===void 0?"off":Fi,Xi=gn==="date"&&!!Sn||gn==="time",Zi=Object(a.useRef)({}),Fa=Object(a.useRef)(null),Mi=Object(a.useRef)(null),ca=Object(a.useRef)(null),ha=Object(a.useRef)(null),Ua=Object(a.useRef)(null),Ti=Object(a.useRef)(null),to=Object(a.useRef)(null),ka=Ft(Pe(yn,gn,Sn,_n)),ua=Object(H.a)(0,{value:oi}),Ya=Object(W.a)(ua,2),vi=Ya[0],_a=Ya[1],Ra=Object(a.useRef)(null),Pi=a.useMemo(function(){return Array.isArray(dn)?dn:[dn||!1,dn||!1]},[dn]),qi=Object(H.a)(null,{value:fn,defaultValue:Tn,postState:function(ci){return gn==="time"&&!Li?ci:Un(ci,mr)}}),ro=Object(W.a)(qi,2),Ni=ro[0],za=ro[1],lo=Ln({values:Ni,picker:gn,defaultDates:Yn,generateConfig:mr}),mo=Object(W.a)(lo,2),Ka=mo[0],Io=mo[1],Ja=Object(H.a)(Ni,{postState:function(ci){var Bi=ci;if(Pi[0]&&Pi[1])return Bi;for(var Wn=0;Wn<2;Wn+=1)Pi[Wn]&&!Vt(Bi,Wn)&&!Vt(Ei,Wn)&&(Bi=bt(Bi,mr.getNow(),Wn));return Bi}}),ra=Object(W.a)(Ja,2),Wi=ra[0],go=ra[1],xa=Object(H.a)([gn,gn],{value:Ci}),si=Object(W.a)(xa,2),Ki=si[0],xo=si[1];Object(a.useEffect)(function(){xo([gn,gn])},[gn]);var yo=function(ci,Bi){xo(ci),Oa&&Oa(Bi,ci)},no=ea({picker:gn,selectedValue:Wi,locale:Er,disabled:Pi,disabledDate:zi,generateConfig:mr},Zi.current[1],Zi.current[0]),bo=Object(W.a)(no,2),Mo=bo[0],fa=bo[1],Vi=Object(H.a)(!1,{value:Gn,defaultValue:Hn,postState:function(ci){return Pi[vi]?!1:ci},onChange:function(ci){Da&&Da(ci),!ci&&Ra.current&&Ra.current.onClose&&Ra.current.onClose()}}),io=Object(W.a)(Vi,2),$a=io[0],Ea=io[1],Ji=$a&&vi===0,ao=$a&&vi===1,es=Object(a.useState)(0),ss=Object(W.a)(es,2),js=ss[0],As=ss[1];Object(a.useEffect)(function(){!$a&&Fa.current&&As(Fa.current.offsetWidth)},[$a]);var ms=a.useRef();function Ko(pa,ci){if(pa)clearTimeout(ms.current),Zi.current[ci]=!0,_a(ci),Ea(pa),$a||Io(null,ci);else if(vi===ci){Ea(pa);var Bi=Zi.current;ms.current=setTimeout(function(){Bi===Zi.current&&(Zi.current={})})}}function Eo(pa){Ko(!0,pa),setTimeout(function(){var ci=[Ti,to][pa];ci.current&&ci.current.focus()},0)}function Xa(pa,ci){var Bi=pa,Wn=Vt(Bi,0),oo=Vt(Bi,1);Wn&&oo&&mr.isAfter(Wn,oo)&&(gn==="week"&&!me(mr,Er.locale,Wn,oo)||gn==="quarter"&&!qt(mr,Wn,oo)||gn!=="week"&&gn!=="quarter"&&gn!=="time"&&!Kt(mr,Wn,oo)?(ci===0?(Bi=[Wn,null],oo=null):(Wn=null,Bi=[null,oo]),Zi.current=Object(U.a)({},ci,!0)):(gn!=="time"||Li!==!1)&&(Bi=Un(Bi,mr))),go(Bi);var Zo=Bi&&Bi[0]?mr.locale.format(Er.locale,Bi[0],ka[0]):"",gs=Bi&&Bi[1]?mr.locale.format(Er.locale,Bi[1],ka[0]):"";if(Aa){var os={range:ci===0?"start":"end"};Aa(Bi,[Zo,gs],os)}var Jo=kn(Wn,0,Pi,Ei),$o=kn(oo,1,Pi,Ei),Es=Bi===null||Jo&&$o;Es&&(za(Bi),la&&(!ce(mr,Vt(Ni,0),Wn)||!ce(mr,Vt(Ni,1),oo))&&la(Bi,[Zo,gs]));var Ho=null;ci===0&&!Pi[1]?Ho=1:ci===1&&!Pi[0]&&(Ho=0),Ho!==null&&Ho!==vi&&(!Zi.current[Ho]||!Vt(Bi,Ho))&&Vt(Bi,ci)?Eo(Ho):Ko(!1,ci)}var Qa=function(ci){return $a&&Ra.current&&Ra.current.onKeyDown?Ra.current.onKeyDown(ci):(Object(v.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ho={formatList:ka,generateConfig:mr,locale:Er},ls=Ta(Vt(Wi,0),ho),Cr=Object(W.a)(ls,2),Qo=Cr[0],ts=Cr[1],Is=Ta(Vt(Wi,1),ho),Ds=Object(W.a)(Is,2),is=Ds[0],Ma=Ds[1],La=function(ci,Bi){var Wn=mr.locale.parse(Er.locale,ci,ka),oo=Bi===0?Mo:fa;Wn&&!oo(Wn)&&(go(bt(Wi,Wn,Bi)),Io(Wn,Bi))},Co=mn({valueTexts:Qo,onTextChange:function(ci){return La(ci,0)}}),fo=Object(W.a)(Co,3),Yo=fo[0],cs=fo[1],rs=fo[2],ys=mn({valueTexts:is,onTextChange:function(ci){return La(ci,1)}}),bs=Object(W.a)(ys,3),as=bs[0],$s=bs[1],us=bs[2],Bo=Object(a.useState)(null),Rn=Object(W.a)(Bo,2),Ks=Rn[0],Ts=Rn[1],_t=Object(a.useState)(null),ne=Object(W.a)(_t,2),ue=ne[0],fe=ne[1],Oe=ia(Yo,{formatList:ka,generateConfig:mr,locale:Er}),ot=Object(W.a)(Oe,3),Bt=ot[0],hr=ot[1],Ar=ot[2],Nr=ia(as,{formatList:ka,generateConfig:mr,locale:Er}),qr=Object(W.a)(Nr,3),sn=qr[0],vn=qr[1],xn=qr[2],Kn=function(ci){fe(bt(Wi,ci,vi)),vi===0?hr(ci):vn(ci)},ei=function(){fe(bt(Wi,null,vi)),vi===0?Ar(null):xn(null)},Ai=function(ci,Bi){return{blurToCancel:Xi,forwardKeyDown:Qa,onBlur:aa,isClickOutside:function(oo){return!Re([Mi.current,ca.current,ha.current],oo)},onFocus:function(oo){_a(ci),ya&&ya(oo)},triggerOpen:function(oo){Ko(oo,ci)},onSubmit:function(){Xa(Wi,ci),Bi()},onCancel:function(){Ko(!1,ci),go(Ni),Bi()}}},na=Xn(Object(K.a)(Object(K.a)({},Ai(0,rs)),{},{open:Ji,value:Yo})),Ui=Object(W.a)(na,2),Ca=Ui[0],co=Ui[1],Wa=co.focused,vo=co.typing,Ao=Xn(Object(K.a)(Object(K.a)({},Ai(1,us)),{},{open:ao,value:as})),Za=Object(W.a)(Ao,2),Fo=Za[0],Do=Za[1],ja=Do.focused,jo=Do.typing,Po=function(ci){!$a&&!Ti.current.contains(ci.target)&&!to.current.contains(ci.target)&&(Pi[0]?Pi[1]||Eo(1):Eo(0))},Xo=function(ci){$a&&(Wa||ja)&&!Ti.current.contains(ci.target)&&!to.current.contains(ci.target)&&ci.preventDefault()},wo=Ni&&Ni[0]?mr.locale.format(Er.locale,Ni[0],"YYYYMMDDHHmmss"):"",ds=Ni&&Ni[1]?mr.locale.format(Er.locale,Ni[1],"YYYYMMDDHHmmss"):"";Object(a.useEffect)(function(){$a||(go(Ni),!Qo.length||Qo[0]===""?cs(""):ts!==Yo&&rs(),!is.length||is[0]===""?$s(""):Ma!==as&&us())},[$a,Qo,is]),Object(a.useEffect)(function(){go(Ni)},[wo,ds]),pi&&(pi.current={focus:function(){Ti.current&&Ti.current.focus()},blur:function(){Ti.current&&Ti.current.blur(),to.current&&to.current.blur()}});var ns=Object.keys(Pn||{}),Qs=ns.map(function(pa){var ci=Pn[pa],Bi=typeof ci=="function"?ci():ci;return{label:pa,onClick:function(){Xa(Bi,null),Ko(!1,vi)},onMouseEnter:function(){Ts(Bi)},onMouseLeave:function(){Ts(null)}}});function Gs(){var pa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ci=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bi=null;$a&&ue&&ue[0]&&ue[1]&&mr.isAfter(ue[1],ue[0])&&(Bi=ue);var Wn=Sn;if(Sn&&Object(Y.a)(Sn)==="object"&&Sn.defaultValue){var oo=Sn.defaultValue;Wn=Object(K.a)(Object(K.a)({},Sn),{},{defaultValue:Vt(oo,vi)||void 0})}var Zo=null;return Di&&(Zo=function(os,Jo){return Di(os,Jo,{range:vi?"end":"start"})}),a.createElement(Ie.Provider,{value:{inRange:!0,panelPosition:pa,rangedValue:Ks||Wi,hoverRangedValue:Bi}},a.createElement(pn,Object.assign({},Ne,ci,{dateRender:Zo,showTime:Wn,mode:Ki[vi],generateConfig:mr,style:void 0,direction:_i,disabledDate:vi===0?Mo:fa,disabledTime:function(os){return Oi?Oi(os,vi===0?"start":"end"):!1},className:O()(Object(U.a)({},"".concat(gr,"-panel-focused"),vi===0?!vo:!jo)),value:Vt(Wi,vi),locale:Er,tabIndex:-1,onPanelChange:function(os,Jo){yo(bt(Ki,Jo,vi),bt(Wi,os,vi));var $o=os;pa==="right"&&Ki[vi]===Jo&&($o=Se($o,Jo,mr,-1)),Io($o,vi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Go=0,Oo=0;vi&&ca.current&&Ua.current&&Mi.current&&(Go=ca.current.offsetWidth+Ua.current.offsetWidth,Mi.current.offsetWidth&&Go>Mi.current.offsetWidth&&(Oo=Go));var hs=_i==="rtl"?{right:Go}:{left:Go};function fs(){var pa,ci=jn(gr,Ki[vi],Si),Bi=Ur({prefixCls:gr,components:$n,needConfirmButton:Xi,okDisabled:!Vt(Wi,vi)||zi&&zi(Wi[vi]),locale:Er,rangeList:Qs,onOk:function(){Vt(Wi,vi)&&(Xa(Wi,vi),mi&&mi(Wi))}});if(gn!=="time"&&!Sn){var Wn=Ka(vi),oo=Se(Wn,gn,mr),Zo=Ki[vi],gs=Zo===gn,os=Gs(gs?"left":!1,{pickerValue:Wn,onPickerValueChange:function(Ho){Io(Ho,vi)}}),Jo=Gs("right",{pickerValue:oo,onPickerValueChange:function(Ho){Io(Se(Ho,gn,mr,-1),vi)}});_i==="rtl"?pa=a.createElement(a.Fragment,null,Jo,gs&&os):pa=a.createElement(a.Fragment,null,os,gs&&Jo)}else pa=Gs();var $o=a.createElement(a.Fragment,null,a.createElement("div",{className:"".concat(gr,"-panels")},pa),(ci||Bi)&&a.createElement("div",{className:"".concat(gr,"-footer")},ci,Bi));return wi&&($o=wi($o)),a.createElement("div",{className:"".concat(gr,"-panel-container"),style:{marginLeft:Oo},ref:Mi,onMouseDown:function(Ho){Ho.preventDefault()}},$o)}var Rs=a.createElement("div",{className:O()("".concat(gr,"-range-wrapper"),"".concat(gr,"-").concat(gn,"-range-wrapper")),style:{minWidth:js}},a.createElement("div",{className:"".concat(gr,"-range-arrow"),style:hs}),fs()),Ro;Sa&&(Ro=a.createElement("span",{className:"".concat(gr,"-suffix")},Sa));var ws;va&&(Vt(Ni,0)&&!Pi[0]||Vt(Ni,1)&&!Pi[1])&&(ws=a.createElement("span",{onMouseDown:function(ci){ci.preventDefault(),ci.stopPropagation()},onMouseUp:function(ci){ci.preventDefault(),ci.stopPropagation();var Bi=Ni;Pi[0]||(Bi=bt(Bi,null,0)),Pi[1]||(Bi=bt(Bi,null,1)),Xa(Bi,null),Ko(!1,vi)},className:"".concat(gr,"-clear")},gi||a.createElement("span",{className:"".concat(gr,"-clear-btn")})));var _s={size:gt(gn,ka[0])},Ss=0,Ms=0;ca.current&&ha.current&&Ua.current&&(vi===0?Ms=ca.current.offsetWidth:(Ss=Go,Ms=ha.current.offsetWidth));var Hs=_i==="rtl"?{right:Ss}:{left:Ss},xs=function(ci,Bi){var Wn=bt(Wi,ci,vi);Bi==="submit"||Bi!=="key"&&!Xi?Xa(Wn,vi):go(Wn)};return a.createElement(G.Provider,{value:{operationRef:Ra,hideHeader:gn==="time",onDateMouseEnter:Kn,onDateMouseLeave:ei,hideRanges:!0,onSelect:xs,open:$a}},a.createElement(ui,{visible:$a,popupElement:Rs,popupStyle:Yr,prefixCls:gr,dropdownClassName:en,dropdownAlign:Qt,getPopupContainer:lr,transitionName:lt,range:!0,direction:_i},a.createElement("div",Object.assign({ref:Fa,className:O()(gr,"".concat(gr,"-range"),kr,(Lt={},Object(U.a)(Lt,"".concat(gr,"-disabled"),Pi[0]&&Pi[1]),Object(U.a)(Lt,"".concat(gr,"-focused"),vi===0?Wa:ja),Object(U.a)(Lt,"".concat(gr,"-rtl"),_i==="rtl"),Lt)),style:Hr,onClick:Po,onMouseDown:Xo},ke(Ne)),a.createElement("div",{className:O()("".concat(gr,"-input"),(Xt={},Object(U.a)(Xt,"".concat(gr,"-input-active"),vi===0),Object(U.a)(Xt,"".concat(gr,"-input-placeholder"),!!Bt),Xt)),ref:ca},a.createElement("input",Object.assign({id:Mr,disabled:Pi[0],readOnly:Ii||!vo,value:Bt||Yo,onChange:function(ci){cs(ci.target.value)},autoFocus:rn,placeholder:Vt(Br,0)||"",ref:Ti},Ca,_s,{autoComplete:Yi}))),a.createElement("div",{className:"".concat(gr,"-range-separator"),ref:Ua},In),a.createElement("div",{className:O()("".concat(gr,"-input"),(ir={},Object(U.a)(ir,"".concat(gr,"-input-active"),vi===1),Object(U.a)(ir,"".concat(gr,"-input-placeholder"),!!sn),ir)),ref:ha},a.createElement("input",Object.assign({disabled:Pi[1],readOnly:Ii||!jo,value:sn||as,onChange:function(ci){$s(ci.target.value)},placeholder:Vt(Br,1)||"",ref:to},Fo,_s,{autoComplete:Yi}))),a.createElement("div",{className:"".concat(gr,"-active-bar"),style:Object(K.a)(Object(K.a)({},Hs),{},{width:Ms,position:"absolute"})}),Ro,ws)))}var di=function(Ne){Object(B.a)(Xt,Ne);var Lt=Object(z.a)(Xt);function Xt(){var ir;return Object(R.a)(this,Xt),ir=Lt.apply(this,arguments),ir.pickerRef=a.createRef(),ir.focus=function(){ir.pickerRef.current&&ir.pickerRef.current.focus()},ir.blur=function(){ir.pickerRef.current&&ir.pickerRef.current.blur()},ir}return Object(F.a)(Xt,[{key:"render",value:function(){return a.createElement(ti,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Xt}(a.Component),Na=di,Gi=Qn,ba=e("EZjX");function Pa(Ne,Lt,Xt){return Xt!==void 0?Xt:Ne==="year"&&Lt.lang.yearPlaceholder?Lt.lang.yearPlaceholder:Ne==="quarter"&&Lt.lang.quarterPlaceholder?Lt.lang.quarterPlaceholder:Ne==="month"&&Lt.lang.monthPlaceholder?Lt.lang.monthPlaceholder:Ne==="week"&&Lt.lang.weekPlaceholder?Lt.lang.weekPlaceholder:Ne==="time"&&Lt.timePickerLocale.placeholder?Lt.timePickerLocale.placeholder:Lt.lang.placeholder}function Ga(Ne,Lt,Xt){return Xt!==void 0?Xt:Ne==="year"&&Lt.lang.yearPlaceholder?Lt.lang.rangeYearPlaceholder:Ne==="month"&&Lt.lang.monthPlaceholder?Lt.lang.rangeMonthPlaceholder:Ne==="week"&&Lt.lang.weekPlaceholder?Lt.lang.rangeWeekPlaceholder:Ne==="time"&&Lt.timePickerLocale.placeholder?Lt.timePickerLocale.rangePlaceholder:Lt.lang.rangePlaceholder}var Qi=e("b5WB"),Lo=e("LpVx"),sa=e("CfwS"),ji=e("WHP3"),wa=function(Ne,Lt){var Xt={};for(var ir in Ne)Object.prototype.hasOwnProperty.call(Ne,ir)&&Lt.indexOf(ir)<0&&(Xt[ir]=Ne[ir]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Sr=0,ir=Object.getOwnPropertySymbols(Ne);Sr<ir.length;Sr++)Lt.indexOf(ir[Sr])<0&&Object.prototype.propertyIsEnumerable.call(Ne,ir[Sr])&&(Xt[ir[Sr]]=Ne[ir[Sr]]);return Xt};function ga(Ne){function Lt(kr,Yr){var en=function(lt){A()(lr,lt);var Qt=S()(lr);function lr(mr){var Er;return u()(this,lr),Er=Qt.call(this,mr),Er.pickerRef=a.createRef(),Er.focus=function(){Er.pickerRef.current&&Er.pickerRef.current.focus()},Er.blur=function(){Er.pickerRef.current&&Er.pickerRef.current.blur()},Er.getDefaultLocale=function(){var Br=Er.props.locale,rn=f()(f()({},ba.a),Br);return rn.lang=f()(f()({},rn.lang),(Br||{}).lang),rn},Er.renderPicker=function(Br){var rn=Er.context,dn=rn.getPrefixCls,yn=rn.direction,Dn=rn.getPopupContainer,gn=Er.props,Sn=gn.prefixCls,_n=gn.getPopupContainer,Cn=gn.className,In=gn.size,fn=gn.bordered,Tn=fn===void 0?!0:fn,Yn=gn.placeholder,Gn=wa(gn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Hn=Er.props,zi=Hn.format,Oi=Hn.showTime,Di=dn("picker",Sn),wi={showToday:!0},Pn={};kr&&(Pn.picker=kr);var Ei=kr||Er.props.picker;return Pn=f()(f()(f()({},Pn),Oi?eo(f()({format:zi,picker:Ei},Oi)):{}),Ei==="time"?eo(f()(f()({format:zi},Er.props),{picker:Ei})):{}),a.createElement(ji.b.Consumer,null,function(va){var Sa,gi=In||va;return a.createElement(Gi,f()({ref:Er.pickerRef,placeholder:Pa(Ei,Br,Yn),suffixIcon:Ei==="time"?a.createElement(N.a,null):a.createElement(b.a,null),clearIcon:a.createElement(M.a,null),allowClear:!0,transitionName:"slide-up"},wi,Gn,Pn,{locale:Br.lang,className:O()(Cn,(Sa={},c()(Sa,"".concat(Di,"-").concat(gi),gi),c()(Sa,"".concat(Di,"-borderless"),!Tn),Sa)),prefixCls:Di,getPopupContainer:_n||Dn,generateConfig:Ne,prevIcon:a.createElement("span",{className:"".concat(Di,"-prev-icon")}),nextIcon:a.createElement("span",{className:"".concat(Di,"-next-icon")}),superPrevIcon:a.createElement("span",{className:"".concat(Di,"-super-prev-icon")}),superNextIcon:a.createElement("span",{className:"".concat(Di,"-super-next-icon")}),components:To,direction:yn}))})},Object(Qi.a)(kr!=="quarter",Yr,"DatePicker.".concat(Yr," is legacy usage. Please use DatePicker[picker='").concat(kr,"'] directly.")),Er}return h()(lr,[{key:"render",value:function(){return a.createElement(sa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),lr}(a.Component);return en.contextType=Lo.b,Yr&&(en.displayName=Yr),en}var Xt=Lt(),ir=Lt("week","WeekPicker"),Sr=Lt("month","MonthPicker"),gr=Lt("year","YearPicker"),Mr=Lt("time","TimePicker"),Hr=Lt("quarter","QuarterPicker");return{DatePicker:Xt,WeekPicker:ir,MonthPicker:Sr,YearPicker:gr,TimePicker:Mr,QuarterPicker:Hr}}var po=e("60Hr"),Bn=e.n(po),ta=function(Ne,Lt){var Xt={};for(var ir in Ne)Object.prototype.hasOwnProperty.call(Ne,ir)&&Lt.indexOf(ir)<0&&(Xt[ir]=Ne[ir]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Sr=0,ir=Object.getOwnPropertySymbols(Ne);Sr<ir.length;Sr++)Lt.indexOf(ir[Sr])<0&&Object.prototype.propertyIsEnumerable.call(Ne,ir[Sr])&&(Xt[ir[Sr]]=Ne[ir[Sr]]);return Xt};function So(Ne){var Lt=function(Xt){A()(Sr,Xt);var ir=S()(Sr);function Sr(){var gr;return u()(this,Sr),gr=ir.apply(this,arguments),gr.pickerRef=a.createRef(),gr.focus=function(){gr.pickerRef.current&&gr.pickerRef.current.focus()},gr.blur=function(){gr.pickerRef.current&&gr.pickerRef.current.blur()},gr.getDefaultLocale=function(){var Mr=gr.props.locale,Hr=f()(f()({},ba.a),Mr);return Hr.lang=f()(f()({},Hr.lang),(Mr||{}).lang),Hr},gr.renderPicker=function(Mr){var Hr=gr.context,kr=Hr.getPrefixCls,Yr=Hr.direction,en=Hr.getPopupContainer,lt=gr.props,Qt=lt.prefixCls,lr=lt.getPopupContainer,mr=lt.className,Er=lt.size,Br=lt.bordered,rn=Br===void 0?!0:Br,dn=lt.placeholder,yn=ta(lt,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Dn=gr.props,gn=Dn.format,Sn=Dn.showTime,_n=Dn.picker,Cn=kr("picker",Qt),In={};return In=f()(f()(f()({},In),Sn?eo(f()({format:gn,picker:_n},Sn)):{}),_n==="time"?eo(f()(f()({format:gn},gr.props),{picker:_n})):{}),a.createElement(ji.b.Consumer,null,function(fn){var Tn,Yn=Er||fn;return a.createElement(Na,f()({separator:a.createElement("span",{"aria-label":"to",className:"".concat(Cn,"-separator")},a.createElement(Bn.a,null)),ref:gr.pickerRef,placeholder:Ga(_n,Mr,dn),suffixIcon:_n==="time"?a.createElement(N.a,null):a.createElement(b.a,null),clearIcon:a.createElement(M.a,null),allowClear:!0,transitionName:"slide-up"},yn,In,{className:O()(mr,(Tn={},c()(Tn,"".concat(Cn,"-").concat(Yn),Yn),c()(Tn,"".concat(Cn,"-borderless"),!rn),Tn)),locale:Mr.lang,prefixCls:Cn,getPopupContainer:lr||en,generateConfig:Ne,prevIcon:a.createElement("span",{className:"".concat(Cn,"-prev-icon")}),nextIcon:a.createElement("span",{className:"".concat(Cn,"-next-icon")}),superPrevIcon:a.createElement("span",{className:"".concat(Cn,"-super-prev-icon")}),superNextIcon:a.createElement("span",{className:"".concat(Cn,"-super-next-icon")}),components:To,direction:Yr}))})},gr}return h()(Sr,[{key:"render",value:function(){return a.createElement(sa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Sr}(a.Component);return Lt.contextType=Lo.b,Lt}var To={button:o,rangeItem:l};function Ha(Ne){return Ne?Array.isArray(Ne)?Ne:[Ne]:[]}function eo(Ne){var Lt=Ne.format,Xt=Ne.picker,ir=Ne.showHour,Sr=Ne.showMinute,gr=Ne.showSecond,Mr=Ne.use12Hours,Hr=Ha(Lt)[0],kr=f()({},Ne);return Hr&&(!Hr.includes("s")&&gr===void 0&&(kr.showSecond=!1),!Hr.includes("m")&&Sr===void 0&&(kr.showMinute=!1),!Hr.includes("H")&&!Hr.includes("h")&&ir===void 0&&(kr.showHour=!1),(Hr.includes("a")||Hr.includes("A"))&&Mr===void 0&&(kr.use12Hours=!0)),Xt==="time"?kr:{showTime:kr}}function Hi(Ne){var Lt=ga(Ne),Xt=Lt.DatePicker,ir=Lt.WeekPicker,Sr=Lt.MonthPicker,gr=Lt.YearPicker,Mr=Lt.TimePicker,Hr=Lt.QuarterPicker,kr=So(Ne),Yr=Xt;return Yr.WeekPicker=ir,Yr.MonthPicker=Sr,Yr.YearPicker=gr,Yr.RangePicker=kr,Yr.TimePicker=Mr,Yr.QuarterPicker=Hr,Yr}var $t=Hi,Tr=$t(y),Kr=_.a=Tr},mRbv:function(Z,_,e){var d=e("Wa83"),L=d.scaleAndAdd;function v(m,y,w){for(var f=w.rect,a=f.width,t=f.height,o=[f.x+a/2,f.y+t/2],s=w.gravity==null?.1:w.gravity,l=0;l<m.length;l++){var n=m[l];n.p||(n.p=d.create(a*(Math.random()-.5)+o[0],t*(Math.random()-.5)+o[1])),n.pp=d.clone(n.p),n.edges=null}var c=w.friction==null?.6:w.friction,r=c;return{warmUp:function(){r=c*.8},setFixed:function(u){m[u].fixed=!0},setUnfixed:function(u){m[u].fixed=!1},step:function(u){for(var i=[],h=m.length,p=0;p<y.length;p++){var A=y[p];if(A.ignoreForceLayout)continue;var C=A.n1,S=A.n2;d.sub(i,S.p,C.p);var E=d.len(i)-A.d,O=S.w/(C.w+S.w);isNaN(O)&&(O=0),d.normalize(i,i),!C.fixed&&L(C.p,C.p,i,O*E*r),!S.fixed&&L(S.p,S.p,i,-(1-O)*E*r)}for(var p=0;p<h;p++){var T=m[p];T.fixed||(d.sub(i,o,T.p),L(T.p,T.p,i,s*r))}for(var p=0;p<h;p++)for(var C=m[p],b=p+1;b<h;b++){var S=m[b];d.sub(i,S.p,C.p);var E=d.len(i);E===0&&(d.set(i,Math.random()-.5,Math.random()-.5),E=1);var x=(C.rep+S.rep)/E/E;!C.fixed&&L(C.pp,C.pp,i,x),!S.fixed&&L(S.pp,S.pp,i,-x)}for(var N=[],p=0;p<h;p++){var T=m[p];T.fixed||(d.sub(N,T.p,T.pp),L(T.p,T.p,N,r),d.copy(T.pp,T.p))}r=r*.992,u&&u(m,y,r<.01)}}}_.forceLayout=v},mUie:function(Z,_,e){var d=e("9Kwb"),L=e("SSN4");function v(m,y,w,f,a){return m===y?!0:m==null||y==null||!L(m)&&!L(y)?m!==m&&y!==y:d(m,y,w,f,v,a)}Z.exports=v},mY83:function(Z,_,e){},mhfY:function(Z,_){function e(v){return v instanceof Array||(v=[v,v]),v}var d="lineStyle.opacity".split("."),L={seriesType:"lines",reset:function(v,m,y){var w=e(v.get("symbol")),f=e(v.get("symbolSize")),a=v.getData();a.setVisual("fromSymbol",w&&w[0]),a.setVisual("toSymbol",w&&w[1]),a.setVisual("fromSymbolSize",f&&f[0]),a.setVisual("toSymbolSize",f&&f[1]),a.setVisual("opacity",v.get(d));function t(o,s){var l=o.getItemModel(s),n=e(l.getShallow("symbol",!0)),c=e(l.getShallow("symbolSize",!0)),r=l.get(d);n[0]&&o.setItemVisual(s,"fromSymbol",n[0]),n[1]&&o.setItemVisual(s,"toSymbol",n[1]),c[0]&&o.setItemVisual(s,"fromSymbolSize",c[0]),c[1]&&o.setItemVisual(s,"toSymbolSize",c[1]),o.setItemVisual(s,"opacity",r)}return{dataEach:a.hasItemOption?t:null}}};Z.exports=L},mpOK:function(Z,_,e){var d=e("gyjJ"),L=e("Wa83"),v=L.applyTransform,m=e("ie0D"),y=e("XTQn"),w=e("F2Ao"),f=e("2Cb2"),a=e("Fu25"),t=e("gPqb"),o=e("vOhS"),s=e("ode/"),l=e("342z"),n=e("2OMI"),c=e("OCYe"),r=e("D2WO"),u=n.CMD,i=Math.round,h=Math.sqrt,p=Math.abs,A=Math.cos,C=Math.sin,S=Math.max;if(!d.canvasSupported){var E=",",O="progid:DXImageTransform.Microsoft",T=21600,b=T/2,x=1e5,N=1e3,D=function(wt){wt.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",wt.coordsize=T+","+T,wt.coordorigin="0,0"},M=function(wt){return String(wt).replace(/&/g,"&").replace(/"/g,""")},R=function(wt,Ye,mt){return"rgb("+[wt,Ye,mt].join(",")+")"},F=function(wt,Ye){Ye&&wt&&Ye.parentNode!==wt&&wt.appendChild(Ye)},B=function(wt,Ye){Ye&&wt&&Ye.parentNode===wt&&wt.removeChild(Ye)},z=function(wt,Ye,mt){return(parseFloat(wt)||0)*x+(parseFloat(Ye)||0)*N+mt},U=f.parsePercent,K=function(wt,Ye,mt){var Ue=y.parse(Ye);mt=+mt,isNaN(mt)&&(mt=1),Ue&&(wt.color=R(Ue[0],Ue[1],Ue[2]),wt.opacity=mt*Ue[3])},W=function(wt){var Ye=y.parse(wt);return[R(Ye[0],Ye[1],Ye[2]),Ye[3]]},H=function(wt,Ye,mt){var Ue=Ye.fill;if(Ue!=null)if(Ue instanceof c){var Re,Le=0,at=[0,0],Ot=0,Tt=1,Ft=mt.getBoundingRect(),ke=Ft.width,Vt=Ft.height;if(Ue.type==="linear"){Re="gradient";var bt=mt.transform,Rt=[Ue.x*ke,Ue.y*Vt],Nt=[Ue.x2*ke,Ue.y2*Vt];bt&&(v(Rt,Rt,bt),v(Nt,Nt,bt));var xt=Nt[0]-Rt[0],Ut=Nt[1]-Rt[1];Le=Math.atan2(xt,Ut)*180/Math.PI,Le<0&&(Le+=360),Le<1e-6&&(Le=0)}else{Re="gradientradial";var Rt=[Ue.x*ke,Ue.y*Vt],bt=mt.transform,Ze=mt.scale,ze=ke,re=Vt;at=[(Rt[0]-Ft.x)/ze,(Rt[1]-Ft.y)/re],bt&&v(Rt,Rt,bt),ze/=Ze[0]*T,re/=Ze[1]*T;var le=S(ze,re);Ot=2*0/le,Tt=2*Ue.r/le-Ot}var Xe=Ue.colorStops.slice();Xe.sort(function(ce,ae){return ce.offset-ae.offset});for(var _e=Xe.length,je=[],ar=[],zt=0;zt<_e;zt++){var Pt=Xe[zt],qt=W(Pt.color);ar.push(Pt.offset*Tt+Ot+" "+qt[0]),(zt===0||zt===_e-1)&&je.push(qt)}if(_e>=2){var or=je[0][0],Kt=je[1][0],Mt=je[0][1]*Ye.opacity,me=je[1][1]*Ye.opacity;wt.type=Re,wt.method="none",wt.focus="100%",wt.angle=Le,wt.color=or,wt.color2=Kt,wt.colors=ar.join(","),wt.opacity=me,wt.opacity2=Mt}Re==="radial"&&(wt.focusposition=at.join(","))}else K(wt,Ue,Ye.opacity)},Y=function(wt,Ye){Ye.lineDash&&(wt.dashstyle=Ye.lineDash.join(" ")),Ye.stroke!=null&&!(Ye.stroke instanceof c)&&K(wt,Ye.stroke,Ye.opacity)},Q=function(wt,Ye,mt,Ue){var Re=Ye==="fill",Le=wt.getElementsByTagName(Ye)[0];mt[Ye]!=null&&mt[Ye]!=="none"&&(Re||!Re&&mt.lineWidth)?(wt[Re?"filled":"stroked"]="true",mt[Ye]instanceof c&&B(wt,Le),Le||(Le=r.createNode(Ye)),Re?H(Le,mt,Ue):Y(Le,mt),F(wt,Le)):(wt[Re?"filled":"stroked"]="false",B(wt,Le))},P=[[],[],[]],G=function(wt,Ye){var mt=u.M,Ue=u.C,Re=u.L,Le=u.A,at=u.Q,Ot=[],Tt,Ft,ke,Vt,bt,Rt,Nt=wt.data,xt=wt.len();for(Vt=0;Vt<xt;){ke=Nt[Vt++],Ft="",Tt=0;switch(ke){case mt:Ft=" m ",Tt=1,bt=Nt[Vt++],Rt=Nt[Vt++],P[0][0]=bt,P[0][1]=Rt;break;case Re:Ft=" l ",Tt=1,bt=Nt[Vt++],Rt=Nt[Vt++],P[0][0]=bt,P[0][1]=Rt;break;case at:case Ue:Ft=" c ",Tt=3;var Ut=Nt[Vt++],Ze=Nt[Vt++],ze=Nt[Vt++],re=Nt[Vt++],le,Xe;ke===at?(le=ze,Xe=re,ze=(ze+2*Ut)/3,re=(re+2*Ze)/3,Ut=(bt+2*Ut)/3,Ze=(Rt+2*Ze)/3):(le=Nt[Vt++],Xe=Nt[Vt++]),P[0][0]=Ut,P[0][1]=Ze,P[1][0]=ze,P[1][1]=re,P[2][0]=le,P[2][1]=Xe,bt=le,Rt=Xe;break;case Le:var _e=0,je=0,ar=1,zt=1,Pt=0;Ye&&(_e=Ye[4],je=Ye[5],ar=h(Ye[0]*Ye[0]+Ye[1]*Ye[1]),zt=h(Ye[2]*Ye[2]+Ye[3]*Ye[3]),Pt=Math.atan2(-Ye[1]/zt,Ye[0]/ar));var qt=Nt[Vt++],or=Nt[Vt++],Kt=Nt[Vt++],Mt=Nt[Vt++],me=Nt[Vt++]+Pt,ce=Nt[Vt++]+me+Pt;Vt++;var ae=Nt[Vt++],de=qt+A(me)*Kt,Se=or+C(me)*Mt,Ut=qt+A(ce)*Kt,Ze=or+C(ce)*Mt,Ce=ae?" wa ":" at ";Math.abs(de-Ut)<1e-4&&(Math.abs(ce-me)>.01?ae&&(de+=270/T):Math.abs(Se-or)<1e-4?ae&&de<qt||!ae&&de>qt?Ze-=270/T:Ze+=270/T:ae&&Se<or||!ae&&Se>or?Ut+=270/T:Ut-=270/T),Ot.push(Ce,i(((qt-Kt)*ar+_e)*T-b),E,i(((or-Mt)*zt+je)*T-b),E,i(((qt+Kt)*ar+_e)*T-b),E,i(((or+Mt)*zt+je)*T-b),E,i((de*ar+_e)*T-b),E,i((Se*zt+je)*T-b),E,i((Ut*ar+_e)*T-b),E,i((Ze*zt+je)*T-b)),bt=Ut,Rt=Ze;break;case u.R:var Ie=P[0],Te=P[1];Ie[0]=Nt[Vt++],Ie[1]=Nt[Vt++],Te[0]=Ie[0]+Nt[Vt++],Te[1]=Ie[1]+Nt[Vt++],Ye&&(v(Ie,Ie,Ye),v(Te,Te,Ye)),Ie[0]=i(Ie[0]*T-b),Te[0]=i(Te[0]*T-b),Ie[1]=i(Ie[1]*T-b),Te[1]=i(Te[1]*T-b),Ot.push(" m ",Ie[0],E,Ie[1]," l ",Te[0],E,Ie[1]," l ",Te[0],E,Te[1]," l ",Ie[0],E,Te[1]);break;case u.Z:Ot.push(" x ")}if(Tt>0){Ot.push(Ft);for(var Ee=0;Ee<Tt;Ee++){var He=P[Ee];Ye&&v(He,He,Ye),Ot.push(i(He[0]*T-b),E,i(He[1]*T-b),Ee<Tt-1?E:"")}}}return Ot.join("")};l.prototype.brushVML=function(dt){var wt=this.style,Ye=this._vmlEl;Ye||(Ye=r.createNode("shape"),D(Ye),this._vmlEl=Ye),Q(Ye,"fill",wt,this),Q(Ye,"stroke",wt,this);var mt=this.transform,Ue=mt!=null,Re=Ye.getElementsByTagName("stroke")[0];if(Re){var Le=wt.lineWidth;if(Ue&&!wt.strokeNoScale){var at=mt[0]*mt[3]-mt[1]*mt[2];Le*=h(p(at))}Re.weight=Le+"px"}var Ot=this.path||(this.path=new n);this.__dirtyPath&&(Ot.beginPath(),Ot.subPixelOptimize=!1,this.buildPath(Ot,this.shape),Ot.toStatic(),this.__dirtyPath=!1),Ye.path=G(Ot,this.transform),Ye.style.zIndex=z(this.zlevel,this.z,this.z2),F(dt,Ye),wt.text!=null?this.drawRectText(dt,this.getBoundingRect()):this.removeRectText(dt)},l.prototype.onRemove=function(dt){B(dt,this._vmlEl),this.removeRectText(dt)},l.prototype.onAdd=function(dt){F(dt,this._vmlEl),this.appendRectText(dt)};var J=function(wt){return typeof wt=="object"&&wt.tagName&&wt.tagName.toUpperCase()==="IMG"};o.prototype.brushVML=function(dt){var wt=this.style,Ye=wt.image,mt,Ue;if(J(Ye)){var Re=Ye.src;if(Re===this._imageSrc)mt=this._imageWidth,Ue=this._imageHeight;else{var Le=Ye.runtimeStyle,at=Le.width,Ot=Le.height;Le.width="auto",Le.height="auto",mt=Ye.width,Ue=Ye.height,Le.width=at,Le.height=Ot,this._imageSrc=Re,this._imageWidth=mt,this._imageHeight=Ue}Ye=Re}else Ye===this._imageSrc&&(mt=this._imageWidth,Ue=this._imageHeight);if(!Ye)return;var Tt=wt.x||0,Ft=wt.y||0,ke=wt.width,Vt=wt.height,bt=wt.sWidth,Rt=wt.sHeight,Nt=wt.sx||0,xt=wt.sy||0,Ut=bt&&Rt,Ze=this._vmlEl;Ze||(Ze=r.doc.createElement("div"),D(Ze),this._vmlEl=Ze);var ze=Ze.style,re=!1,le,Xe=1,_e=1;if(this.transform&&(le=this.transform,Xe=h(le[0]*le[0]+le[1]*le[1]),_e=h(le[2]*le[2]+le[3]*le[3]),re=le[1]||le[2]),re){var je=[Tt,Ft],ar=[Tt+ke,Ft],zt=[Tt,Ft+Vt],Pt=[Tt+ke,Ft+Vt];v(je,je,le),v(ar,ar,le),v(zt,zt,le),v(Pt,Pt,le);var qt=S(je[0],ar[0],zt[0],Pt[0]),or=S(je[1],ar[1],zt[1],Pt[1]),Kt=[];Kt.push("M11=",le[0]/Xe,E,"M12=",le[2]/_e,E,"M21=",le[1]/Xe,E,"M22=",le[3]/_e,E,"Dx=",i(Tt*Xe+le[4]),E,"Dy=",i(Ft*_e+le[5])),ze.padding="0 "+i(qt)+"px "+i(or)+"px 0",ze.filter=O+".Matrix("+Kt.join("")+", SizingMethod=clip)"}else le&&(Tt=Tt*Xe+le[4],Ft=Ft*_e+le[5]),ze.filter="",ze.left=i(Tt)+"px",ze.top=i(Ft)+"px";var Mt=this._imageEl,me=this._cropEl;Mt||(Mt=r.doc.createElement("div"),this._imageEl=Mt);var ce=Mt.style;if(Ut){if(mt&&Ue)ce.width=i(Xe*mt*ke/bt)+"px",ce.height=i(_e*Ue*Vt/Rt)+"px";else{var ae=new Image,de=this;ae.onload=function(){ae.onload=null,mt=ae.width,Ue=ae.height,ce.width=i(Xe*mt*ke/bt)+"px",ce.height=i(_e*Ue*Vt/Rt)+"px",de._imageWidth=mt,de._imageHeight=Ue,de._imageSrc=Ye},ae.src=Ye}me||(me=r.doc.createElement("div"),me.style.overflow="hidden",this._cropEl=me);var Se=me.style;Se.width=i((ke+Nt*ke/bt)*Xe),Se.height=i((Vt+xt*Vt/Rt)*_e),Se.filter=O+".Matrix(Dx="+-Nt*ke/bt*Xe+",Dy="+-xt*Vt/Rt*_e+")",me.parentNode||Ze.appendChild(me),Mt.parentNode!==me&&me.appendChild(Mt)}else ce.width=i(Xe*ke)+"px",ce.height=i(_e*Vt)+"px",Ze.appendChild(Mt),me&&me.parentNode&&(Ze.removeChild(me),this._cropEl=null);var Ce="",Ie=wt.opacity;Ie<1&&(Ce+=".Alpha(opacity="+i(Ie*100)+") "),Ce+=O+".AlphaImageLoader(src="+Ye+", SizingMethod=scale)",ce.filter=Ce,Ze.style.zIndex=z(this.zlevel,this.z,this.z2),F(dt,Ze),wt.text!=null&&this.drawRectText(dt,this.getBoundingRect())},o.prototype.onRemove=function(dt){B(dt,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(dt)},o.prototype.onAdd=function(dt){F(dt,this._vmlEl),this.appendRectText(dt)};var he="normal",te={},pe=0,we=100,be=document.createElement("div"),Qe=function(wt){var Ye=te[wt];if(!Ye){pe>we&&(pe=0,te={});var mt=be.style,Ue;try{mt.font=wt,Ue=mt.fontFamily.split(",")[0]}catch(Re){}Ye={style:mt.fontStyle||he,variant:mt.fontVariant||he,weight:mt.fontWeight||he,size:parseFloat(mt.fontSize||12)|0,family:Ue||"Microsoft YaHei"},te[wt]=Ye,pe++}return Ye},$e;w.$override("measureText",function(dt,wt){var Ye=r.doc;$e||($e=Ye.createElement("div"),$e.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",r.doc.body.appendChild($e));try{$e.style.font=wt}catch(mt){}return $e.innerHTML="",$e.appendChild(Ye.createTextNode(dt)),{width:$e.offsetWidth}});for(var yt=new m,Fe=function(wt,Ye,mt,Ue){var Re=this.style;this.__dirty&&f.normalizeTextStyle(Re,!0);var Le=Re.text;if(Le!=null&&(Le+=""),!Le)return;if(Re.rich){var at=w.parseRichText(Le,Re);Le=[];for(var Ot=0;Ot<at.lines.length;Ot++){for(var Tt=at.lines[Ot].tokens,Ft=[],ke=0;ke<Tt.length;ke++)Ft.push(Tt[ke].text);Le.push(Ft.join(""))}Le=Le.join(`
|
||
`)}var Vt,bt,Rt=Re.textAlign,Nt=Re.textVerticalAlign,xt=Qe(Re.font),Ut=xt.style+" "+xt.variant+" "+xt.weight+" "+xt.size+'px "'+xt.family+'"';mt=mt||w.getBoundingRect(Le,Ut,Rt,Nt,Re.textPadding,Re.textLineHeight);var Ze=this.transform;if(Ze&&!Ue&&(yt.copy(Ye),yt.applyTransform(Ze),Ye=yt),Ue)Vt=Ye.x,bt=Ye.y;else{var ze=Re.textPosition;if(ze instanceof Array)Vt=Ye.x+U(ze[0],Ye.width),bt=Ye.y+U(ze[1],Ye.height),Rt=Rt||"left";else{var re=this.calculateTextPosition?this.calculateTextPosition({},Re,Ye):w.calculateTextPosition({},Re,Ye);Vt=re.x,bt=re.y,Rt=Rt||re.textAlign,Nt=Nt||re.textVerticalAlign}}Vt=w.adjustTextX(Vt,mt.width,Rt),bt=w.adjustTextY(bt,mt.height,Nt),bt+=mt.height/2;var le=r.createNode,Xe=this._textVmlEl,_e,je,ar;Xe?(ar=Xe.firstChild,_e=ar.nextSibling,je=_e.nextSibling):(Xe=le("line"),_e=le("path"),je=le("textpath"),ar=le("skew"),je.style["v-text-align"]="left",D(Xe),_e.textpathok=!0,je.on=!0,Xe.from="0 0",Xe.to="1000 0.05",F(Xe,ar),F(Xe,_e),F(Xe,je),this._textVmlEl=Xe);var zt=[Vt,bt],Pt=Xe.style;Ze&&Ue?(v(zt,zt,Ze),ar.on=!0,ar.matrix=Ze[0].toFixed(3)+E+Ze[2].toFixed(3)+E+Ze[1].toFixed(3)+E+Ze[3].toFixed(3)+",0,0",ar.offset=(i(zt[0])||0)+","+(i(zt[1])||0),ar.origin="0 0",Pt.left="0px",Pt.top="0px"):(ar.on=!1,Pt.left=i(Vt)+"px",Pt.top=i(bt)+"px"),je.string=M(Le);try{je.style.font=Ut}catch(qt){}Q(Xe,"fill",{fill:Re.textFill,opacity:Re.opacity},this),Q(Xe,"stroke",{stroke:Re.textStroke,opacity:Re.opacity,lineDash:Re.lineDash||null},this),Xe.style.zIndex=z(this.zlevel,this.z,this.z2),F(wt,Xe)},Pe=function(wt){B(wt,this._textVmlEl),this._textVmlEl=null},gt=function(wt){F(wt,this._textVmlEl)},it=[a,t,o,l,s],qe=0;qe<it.length;qe++){var At=it[qe].prototype;At.drawRectText=Fe,At.removeRectText=Pe,At.appendRectText=gt}s.prototype.brushVML=function(dt){var wt=this.style;wt.text!=null?this.drawRectText(dt,{x:wt.x||0,y:wt.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(dt)},s.prototype.onRemove=function(dt){this.removeRectText(dt)},s.prototype.onAdd=function(dt){this.appendRectText(dt)}}},mviM:function(Z,_,e){},my3Q:function(Z,_,e){var d=e("p/4i"),L=e("y+QW"),v=[e("4oC3")];Z.exports=d.createStore(L,v)},"n/W2":function(Z,_,e){var d=e("GZki"),L=e("D9k5"),v=e("59oh"),m=e("LbRn");function y(w){return d(w)||L(w)||v(w)||m()}Z.exports=y},n7fI:function(Z,_,e){var d=e("oEo5"),L=e("Jjzi"),v=e("CQhY"),m=e("sXQx"),y=e("tCtF"),w=y.prototype,f=Math.ceil,a=Math.floor,t=1e3,o=t*60,s=o*60,l=s*24,n=function(i,h,p,A){for(;p<A;){var C=p+A>>>1;i[C][1]<h?p=C+1:A=C}return p},c=y.extend({type:"time",getLabel:function(i){var h=this._stepLvl,p=new Date(i);return v.formatTime(h[0],p,this.getSetting("useUTC"))},niceExtent:function(i){var h=this._extent;if(h[0]===h[1]&&(h[0]-=l,h[1]+=l),h[1]===-Infinity&&h[0]===Infinity){var p=new Date;h[1]=+new Date(p.getFullYear(),p.getMonth(),p.getDate()),h[0]=h[1]-l}this.niceTicks(i.splitNumber,i.minInterval,i.maxInterval);var A=this._interval;i.fixMin||(h[0]=L.round(a(h[0]/A)*A)),i.fixMax||(h[1]=L.round(f(h[1]/A)*A))},niceTicks:function(i,h,p){i=i||10;var A=this._extent,C=A[1]-A[0],S=C/i;h!=null&&S<h&&(S=h),p!=null&&S>p&&(S=p);var E=r.length,O=n(r,S,0,E),T=r[Math.min(O,E-1)],b=T[1];if(T[0]==="year"){var x=C/b,N=L.nice(x/i,!0);b*=N}var D=this.getSetting("useUTC")?0:new Date(+A[0]||+A[1]).getTimezoneOffset()*60*1e3,M=[Math.round(f((A[0]-D)/b)*b+D),Math.round(a((A[1]-D)/b)*b+D)];m.fixExtent(M,A),this._stepLvl=T,this._interval=b,this._niceExtent=M},parse:function(i){return+L.parseDate(i)}});d.each(["contain","normalize"],function(i){c.prototype[i]=function(h){return w[i].call(this,this.parse(h))}});var r=[["hh:mm:ss",t],["hh:mm:ss",t*5],["hh:mm:ss",t*10],["hh:mm:ss",t*15],["hh:mm:ss",t*30],[`hh:mm
|
||
MM-dd`,o],[`hh:mm
|
||
MM-dd`,o*5],[`hh:mm
|
||
MM-dd`,o*10],[`hh:mm
|
||
MM-dd`,o*15],[`hh:mm
|
||
MM-dd`,o*30],[`hh:mm
|
||
MM-dd`,s],[`hh:mm
|
||
MM-dd`,s*2],[`hh:mm
|
||
MM-dd`,s*6],[`hh:mm
|
||
MM-dd`,s*12],[`MM-dd
|
||
yyyy`,l],[`MM-dd
|
||
yyyy`,l*2],[`MM-dd
|
||
yyyy`,l*3],[`MM-dd
|
||
yyyy`,l*4],[`MM-dd
|
||
yyyy`,l*5],[`MM-dd
|
||
yyyy`,l*6],["week",l*7],[`MM-dd
|
||
yyyy`,l*10],["week",l*14],["week",l*21],["month",l*31],["week",l*42],["month",l*62],["week",l*70],["quarter",l*95],["month",l*31*4],["month",l*31*5],["half-year",l*380/2],["month",l*31*8],["month",l*31*10],["year",l*380]];c.create=function(i){return new c({useUTC:i.ecModel.get("useUTC")})};var u=c;Z.exports=u},nAKh:function(Z,_,e){var d=e("zYjg"),L=e("+CNX"),v=e("oEo5"),m=e("LLn1"),y=m.createSymbol,w=e("Wa83"),f=e("Wr3P");function a(s,l,n){d.Group.call(this),this.add(this.createLine(s,l,n)),this._updateEffectSymbol(s,l)}var t=a.prototype;t.createLine=function(s,l,n){return new L(s,l,n)},t._updateEffectSymbol=function(s,l){var n=s.getItemModel(l),c=n.getModel("effect"),r=c.get("symbolSize"),u=c.get("symbol");v.isArray(r)||(r=[r,r]);var i=c.get("color")||s.getItemVisual(l,"color"),h=this.childAt(1);if(this._symbolType!==u&&(this.remove(h),h=y(u,-.5,-.5,1,1,i),h.z2=100,h.culling=!0,this.add(h)),!h)return;h.setStyle("shadowColor",i),h.setStyle(c.getItemStyle(["color"])),h.attr("scale",r),h.setColor(i),h.attr("scale",r),this._symbolType=u,this._symbolScale=r,this._updateEffectAnimation(s,c,l)},t._updateEffectAnimation=function(s,l,n){var c=this.childAt(1);if(!c)return;var r=this,u=s.getItemLayout(n),i=l.get("period")*1e3,h=l.get("loop"),p=l.get("constantSpeed"),A=v.retrieve(l.get("delay"),function(O){return O/s.count()*i/3}),C=typeof A=="function";if(c.ignore=!0,this.updateAnimationPoints(c,u),p>0&&(i=this.getLineLength(c)/p*1e3),i!==this._period||h!==this._loop){c.stopAnimation();var S=A;C&&(S=A(n)),c.__t>0&&(S=-i*c.__t),c.__t=0;var E=c.animate("",h).when(i,{__t:1}).delay(S).during(function(){r.updateSymbolPosition(c)});h||E.done(function(){r.remove(c)}),E.start()}this._period=i,this._loop=h},t.getLineLength=function(s){return w.dist(s.__p1,s.__cp1)+w.dist(s.__cp1,s.__p2)},t.updateAnimationPoints=function(s,l){s.__p1=l[0],s.__p2=l[1],s.__cp1=l[2]||[(l[0][0]+l[1][0])/2,(l[0][1]+l[1][1])/2]},t.updateData=function(s,l,n){this.childAt(0).updateData(s,l,n),this._updateEffectSymbol(s,l)},t.updateSymbolPosition=function(s){var l=s.__p1,n=s.__p2,c=s.__cp1,r=s.__t,u=s.position,i=[u[0],u[1]],h=f.quadraticAt,p=f.quadraticDerivativeAt;u[0]=h(l[0],c[0],n[0],r),u[1]=h(l[1],c[1],n[1],r);var A=p(l[0],c[0],n[0],r),C=p(l[1],c[1],n[1],r);if(s.rotation=-Math.atan2(C,A)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(s.__lastT!==void 0&&s.__lastT<s.__t){var S=w.dist(i,u)*1.05;s.attr("scale",[s.scale[0],S]),r===1&&(u[0]=i[0]+(u[0]-i[0])/2,u[1]=i[1]+(u[1]-i[1])/2)}else if(s.__lastT===1){var S=2*w.dist(l,u);s.attr("scale",[s.scale[0],S])}else s.attr("scale",this._symbolScale);s.__lastT=s.__t,s.ignore=!1},t.updateLayout=function(s,l){this.childAt(0).updateLayout(s,l);var n=s.getItemModel(l).getModel("effect");this._updateEffectAnimation(s,n,l)},v.inherits(a,d.Group);var o=a;Z.exports=o},nBjS:function(Z,_,e){(function(d){var L=e("pZ6j"),v=_&&!_.nodeType&&_,m=v&&typeof d=="object"&&d&&!d.nodeType&&d,y=m&&m.exports===v,w=y&&L.process,f=function(){try{var a=m&&m.require&&m.require("util").types;return a||w&&w.binding&&w.binding("util")}catch(t){}}();d.exports=f}).call(this,e("qrga")(Z))},nDqs:function(Z,_,e){var d=e("oEo5"),L=e("QV7q"),v=d.each,m=d.isObject,y=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function w(r){var u=r&&r.itemStyle;if(!u)return;for(var i=0,h=y.length;i<h;i++){var p=y[i],A=u.normal,C=u.emphasis;A&&A[p]&&(r[p]=r[p]||{},r[p].normal?d.merge(r[p].normal,A[p]):r[p].normal=A[p],A[p]=null),C&&C[p]&&(r[p]=r[p]||{},r[p].emphasis?d.merge(r[p].emphasis,C[p]):r[p].emphasis=C[p],C[p]=null)}}function f(r,u,i){if(r&&r[u]&&(r[u].normal||r[u].emphasis)){var h=r[u].normal,p=r[u].emphasis;h&&(i?(r[u].normal=r[u].emphasis=null,d.defaults(r[u],h)):r[u]=h),p&&(r.emphasis=r.emphasis||{},r.emphasis[u]=p)}}function a(r){f(r,"itemStyle"),f(r,"lineStyle"),f(r,"areaStyle"),f(r,"label"),f(r,"labelLine"),f(r,"upperLabel"),f(r,"edgeLabel")}function t(r,u){var i=m(r)&&r[u],h=m(i)&&i.textStyle;if(h)for(var p=0,A=L.TEXT_STYLE_OPTIONS.length;p<A;p++){var u=L.TEXT_STYLE_OPTIONS[p];h.hasOwnProperty(u)&&(i[u]=h[u])}}function o(r){r&&(a(r),t(r,"label"),r.emphasis&&t(r.emphasis,"label"))}function s(r){if(!m(r))return;w(r),a(r),t(r,"label"),t(r,"upperLabel"),t(r,"edgeLabel"),r.emphasis&&(t(r.emphasis,"label"),t(r.emphasis,"upperLabel"),t(r.emphasis,"edgeLabel"));var u=r.markPoint;u&&(w(u),o(u));var i=r.markLine;i&&(w(i),o(i));var h=r.markArea;h&&o(h);var p=r.data;if(r.type==="graph"){p=p||r.nodes;var A=r.links||r.edges;if(A&&!d.isTypedArray(A))for(var C=0;C<A.length;C++)o(A[C]);d.each(r.categories,function(O){a(O)})}if(p&&!d.isTypedArray(p))for(var C=0;C<p.length;C++)o(p[C]);var u=r.markPoint;if(u&&u.data)for(var S=u.data,C=0;C<S.length;C++)o(S[C]);var i=r.markLine;if(i&&i.data)for(var E=i.data,C=0;C<E.length;C++)d.isArray(E[C])?(o(E[C][0]),o(E[C][1])):o(E[C]);r.type==="gauge"?(t(r,"axisLabel"),t(r,"title"),t(r,"detail")):r.type==="treemap"?(f(r.breadcrumb,"itemStyle"),d.each(r.levels,function(O){a(O)})):r.type==="tree"&&a(r.leaves)}function l(r){return d.isArray(r)?r:r?[r]:[]}function n(r){return(d.isArray(r)?r[0]:r)||{}}function c(r,u){v(l(r.series),function(h){m(h)&&s(h)});var i=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];u&&i.push("valueAxis","categoryAxis","logAxis","timeAxis"),v(i,function(h){v(l(r[h]),function(p){p&&(t(p,"axisLabel"),t(p.axisPointer,"label"))})}),v(l(r.parallel),function(h){var p=h&&h.parallelAxisDefault;t(p,"axisLabel"),t(p&&p.axisPointer,"label")}),v(l(r.calendar),function(h){f(h,"itemStyle"),t(h,"dayLabel"),t(h,"monthLabel"),t(h,"yearLabel")}),v(l(r.radar),function(h){t(h,"name")}),v(l(r.geo),function(h){m(h)&&(o(h),v(l(h.regions),function(p){o(p)}))}),v(l(r.timeline),function(h){o(h),f(h,"label"),f(h,"itemStyle"),f(h,"controlStyle",!0);var p=h.data;d.isArray(p)&&d.each(p,function(A){d.isObject(A)&&(f(A,"label"),f(A,"itemStyle"))})}),v(l(r.toolbox),function(h){f(h,"iconStyle"),v(h.feature,function(p){f(p,"iconStyle")})}),t(n(r.axisPointer),"label"),t(n(r.tooltip).axisPointer,"label")}Z.exports=c},nGzk:function(Z,_,e){var d=e("oEo5"),L=e("QV7q"),v=e("Ju7t"),m=d.each,y=d.clone,w=d.map,f=d.merge,a=/^(min|max)?(.+)$/;function t(u){this._api=u,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}t.prototype={constructor:t,setOption:function(u,i){u&&d.each(L.normalizeToArray(u.series),function(A){A&&A.data&&d.isTypedArray(A.data)&&d.setAsPrimitive(A.data)}),u=y(u);var h=this._optionBackup,p=o.call(this,u,i,!h);this._newBaseOption=p.baseOption,h?(c(h.baseOption,p.baseOption),p.timelineOptions.length&&(h.timelineOptions=p.timelineOptions),p.mediaList.length&&(h.mediaList=p.mediaList),p.mediaDefault&&(h.mediaDefault=p.mediaDefault)):this._optionBackup=p},mountOption:function(u){var i=this._optionBackup;return this._timelineOptions=w(i.timelineOptions,y),this._mediaList=w(i.mediaList,y),this._mediaDefault=y(i.mediaDefault),this._currentMediaIndices=[],y(u?i.baseOption:this._newBaseOption)},getTimelineOption:function(u){var i,h=this._timelineOptions;if(h.length){var p=u.getComponent("timeline");p&&(i=y(h[p.getCurrentIndex()],!0))}return i},getMediaOption:function(u){var i=this._api.getWidth(),h=this._api.getHeight(),p=this._mediaList,A=this._mediaDefault,C=[],S=[];if(!p.length&&!A)return S;for(var E=0,O=p.length;E<O;E++)s(p[E].query,i,h)&&C.push(E);return!C.length&&A&&(C=[-1]),C.length&&!n(C,this._currentMediaIndices)&&(S=w(C,function(T){return y(T===-1?A.option:p[T].option)})),this._currentMediaIndices=C,S}};function o(u,i,h){var p=[],A=[],C,S,E=u.timeline;if(u.baseOption&&(S=u.baseOption),(E||u.options)&&(S=S||{},p=(u.options||[]).slice()),u.media){S=S||{};var O=u.media;m(O,function(T){T&&T.option&&(T.query?A.push(T):C||(C=T))})}return S||(S=u),S.timeline||(S.timeline=E),m([S].concat(p).concat(d.map(A,function(T){return T.option})),function(T){m(i,function(b){b(T,h)})}),{baseOption:S,timelineOptions:p,mediaDefault:C,mediaList:A}}function s(u,i,h){var p={width:i,height:h,aspectratio:i/h},A=!0;return d.each(u,function(C,S){var E=S.match(a);if(!E||!E[1]||!E[2])return;var O=E[1],T=E[2].toLowerCase();l(p[T],C,O)||(A=!1)}),A}function l(u,i,h){return h==="min"?u>=i:h==="max"?u<=i:u===i}function n(u,i){return u.join(",")===i.join(",")}function c(u,i){i=i||{},m(i,function(h,p){if(h==null)return;var A=u[p];if(!v.hasClass(p))u[p]=f(A,h,!0);else{h=L.normalizeToArray(h),A=L.normalizeToArray(A);var C=L.mappingToExists(A,h);u[p]=w(C,function(S){return S.option&&S.exist?f(S.exist,S.option,!0):S.exist||S.option})}})}var r=t;Z.exports=r},nM8u:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("ofoi"),m=e.n(v),y=e("LlUK"),w=e.n(y),f=e("ZZRV"),a=e.n(f),t=e("7AgF"),o=e("iczh"),s=e.n(o),l=e("3CTf"),n=e("QeCE"),c=e("LpVx"),r=e("b5WB"),u=e("nSZG"),i=n.a.Option,h=n.a;function p(S){return S&&S.type&&(S.type.isSelectOption||S.type.isSelectOptGroup)}var A=function(E,O){var T=E.prefixCls,b=E.className,x=E.children,N=E.dataSource,D=Object(t.a)(x),M=f.useRef();f.useImperativeHandle(O,function(){return M.current});var R;if(D.length===1&&Object(u.b)(D[0])&&!p(D[0])){var F=w()(D,1);R=F[0]}var B=function(){return R},z;return D.length&&p(D[0])?z=x:z=N?N.map(function(U){if(Object(u.b)(U))return U;switch(m()(U)){case"string":return f.createElement(i,{key:U,value:U},U);case"object":{var K=U.value;return f.createElement(i,{key:K,value:K},U.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],f.useEffect(function(){Object(r.a)(!("dataSource"in E),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(r.a)(!R||!("size"in E),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),f.createElement(c.a,null,function(U){var K=U.getPrefixCls,W=K("select",T);return f.createElement(h,L()({ref:M},Object(l.default)(E,["dataSource"]),{prefixCls:W,className:s()(b,"".concat(W,"-auto-complete")),mode:n.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:B}),z)})},C=f.forwardRef(A);C.Option=i,_.a=C},nOCc:function(Z,_,e){var d=e("bX8Z"),L=e("sVXF");function v(m,y,w){var f=y.points,a=y.smooth;if(f&&f.length>=2){if(a&&a!=="spline"){var t=L(f,a,w,y.smoothConstraint);m.moveTo(f[0][0],f[0][1]);for(var o=f.length,s=0;s<(w?o:o-1);s++){var l=t[s*2],n=t[s*2+1],c=f[(s+1)%o];m.bezierCurveTo(l[0],l[1],n[0],n[1],c[0],c[1])}}else{a==="spline"&&(f=d(f,w)),m.moveTo(f[0][0],f[0][1]);for(var s=1,r=f.length;s<r;s++)m.lineTo(f[s][0],f[s][1])}w&&m.closePath()}}_.buildPath=v},nPr6:function(Z,_){function e(d,L){var v=L.x,m=L.y,y=L.width,w=L.height,f=L.r,a,t,o,s;y<0&&(v=v+y,y=-y),w<0&&(m=m+w,w=-w),typeof f=="number"?a=t=o=s=f:f instanceof Array?f.length===1?a=t=o=s=f[0]:f.length===2?(a=o=f[0],t=s=f[1]):f.length===3?(a=f[0],t=s=f[1],o=f[2]):(a=f[0],t=f[1],o=f[2],s=f[3]):a=t=o=s=0;var l;a+t>y&&(l=a+t,a*=y/l,t*=y/l),o+s>y&&(l=o+s,o*=y/l,s*=y/l),t+o>w&&(l=t+o,t*=w/l,o*=w/l),a+s>w&&(l=a+s,a*=w/l,s*=w/l),d.moveTo(v+a,m),d.lineTo(v+y-t,m),t!==0&&d.arc(v+y-t,m+t,t,-Math.PI/2,0),d.lineTo(v+y,m+w-o),o!==0&&d.arc(v+y-o,m+w-o,o,0,Math.PI/2),d.lineTo(v+s,m+w),s!==0&&d.arc(v+s,m+w-s,s,Math.PI/2,Math.PI),d.lineTo(v,m+a),a!==0&&d.arc(v+a,m+a,a,Math.PI,Math.PI*1.5)}_.buildPath=e},naEU:function(Z,_){var e=Function.prototype,d=e.toString;function L(v){if(v!=null){try{return d.call(v)}catch(m){}try{return v+""}catch(m){}}return""}Z.exports=L},nbNA:function(Z,_,e){var d=e("oEo5"),L=e("B2QF"),v=e("Vw6a"),m=v.retrieveRawValue;function y(w,f){var a=f.getModel("aria");if(a.get("show")){if(a.get("description")){w.setAttribute("aria-label",a.get("description"));return}}else return;var t=0;f.eachSeries(function(C,S){++t},this);var o=a.get("data.maxCount")||10,s=a.get("series.maxCount")||10,l=Math.min(t,s),n;if(t<1)return;var c=p();c?n=i(h("general.withTitle"),{title:c}):n=h("general.withoutTitle");var r=[],u=t>1?"series.multiple.prefix":"series.single.prefix";n+=i(h(u),{seriesCount:t}),f.eachSeries(function(C,S){if(S<l){var E,O=C.get("name"),T="series."+(t>1?"multiple":"single")+".";E=h(O?T+"withName":T+"withoutName"),E=i(E,{seriesId:C.seriesIndex,seriesName:C.get("name"),seriesType:A(C.subType)});var b=C.getData();window.data=b,b.count()>o?E+=i(h("data.partialData"),{displayCnt:o}):E+=h("data.allData");for(var x=[],N=0;N<b.count();N++)if(N<o){var D=b.getName(N),M=m(b,N);x.push(i(h(D?"data.withName":"data.withoutName"),{name:D,value:M}))}E+=x.join(h("data.separator.middle"))+h("data.separator.end"),r.push(E)}}),n+=r.join(h("series.multiple.separator.middle"))+h("series.multiple.separator.end"),w.setAttribute("aria-label",n);function i(C,S){if(typeof C!="string")return C;var E=C;return d.each(S,function(O,T){E=E.replace(new RegExp("\\{\\s*"+T+"\\s*\\}","g"),O)}),E}function h(C){var S=a.get(C);if(S==null){for(var E=C.split("."),O=L.aria,T=0;T<E.length;++T)O=O[E[T]];return O}else return S}function p(){var C=f.getModel("title").option;return C&&C.length&&(C=C[0]),C&&C.text}function A(C){return L.series.typeNames[C]||"\u81EA\u5B9A\u4E49\u56FE"}}Z.exports=y},o1tb:function(Z,_){function e(d,L){for(var v=-1,m=d==null?0:d.length,y=0,w=[];++v<m;){var f=d[v];L(f,v,d)&&(w[y++]=f)}return w}Z.exports=e},o2YK:function(Z,_,e){var d=e("oEo5"),L=d.inherits,v=e("gPqb"),m=e("ie0D");function y(a){v.call(this,a),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}y.prototype.incremental=!0,y.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},y.prototype.addDisplayable=function(a,t){t?this._temporaryDisplayables.push(a):this._displayables.push(a),this.dirty()},y.prototype.addDisplayables=function(a,t){t=t||!1;for(var o=0;o<a.length;o++)this.addDisplayable(a[o],t)},y.prototype.eachPendingDisplayable=function(a){for(var t=this._cursor;t<this._displayables.length;t++)a&&a(this._displayables[t]);for(var t=0;t<this._temporaryDisplayables.length;t++)a&&a(this._temporaryDisplayables[t])},y.prototype.update=function(){this.updateTransform();for(var a=this._cursor;a<this._displayables.length;a++){var t=this._displayables[a];t.parent=this,t.update(),t.parent=null}for(var a=0;a<this._temporaryDisplayables.length;a++){var t=this._temporaryDisplayables[a];t.parent=this,t.update(),t.parent=null}},y.prototype.brush=function(a,t){for(var o=this._cursor;o<this._displayables.length;o++){var s=this._displayables[o];s.beforeBrush&&s.beforeBrush(a),s.brush(a,o===this._cursor?null:this._displayables[o-1]),s.afterBrush&&s.afterBrush(a)}this._cursor=o;for(var o=0;o<this._temporaryDisplayables.length;o++){var s=this._temporaryDisplayables[o];s.beforeBrush&&s.beforeBrush(a),s.brush(a,o===0?null:this._temporaryDisplayables[o-1]),s.afterBrush&&s.afterBrush(a)}this._temporaryDisplayables=[],this.notClear=!0};var w=[];y.prototype.getBoundingRect=function(){if(!this._rect){for(var a=new m(Infinity,Infinity,-Infinity,-Infinity),t=0;t<this._displayables.length;t++){var o=this._displayables[t],s=o.getBoundingRect().clone();o.needLocalTransform()&&s.applyTransform(o.getLocalTransform(w)),a.union(s)}this._rect=a}return this._rect},y.prototype.contain=function(a,t){var o=this.transformCoordToLocal(a,t),s=this.getBoundingRect();if(s.contain(o[0],o[1]))for(var l=0;l<this._displayables.length;l++){var n=this._displayables[l];if(n.contain(a,t))return!0}return!1},L(y,v);var f=y;Z.exports=f},o9iD:function(Z,_,e){var d=e("342z"),L=e("lb8z"),v=d.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:L(d.prototype.brush),buildPath:function(y,w){var f=w.cx,a=w.cy,t=Math.max(w.r0||0,0),o=Math.max(w.r,0),s=w.startAngle,l=w.endAngle,n=w.clockwise,c=Math.cos(s),r=Math.sin(s);y.moveTo(c*t+f,r*t+a),y.lineTo(c*o+f,r*o+a),y.arc(f,a,o,s,l,!n),y.lineTo(Math.cos(l)*t+f,Math.sin(l)*t+a),t!==0&&y.arc(f,a,t,l,s,n),y.closePath()}});Z.exports=v},oAve:function(Z,_,e){var d=e("342z"),L=d.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(m,y){var w=y.cx,f=y.cy,a=Math.PI*2;m.moveTo(w+y.r,f),m.arc(w,f,y.r,0,a,!1),m.moveTo(w+y.r0,f),m.arc(w,f,y.r0,0,a,!0)}});Z.exports=L},oEo5:function(Z,_){var e={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},d={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},L=Object.prototype.toString,v=Array.prototype,m=v.forEach,y=v.filter,w=v.slice,f=v.map,a=v.reduce,t={};function o(Fe,Pe){Fe==="createCanvas"&&(i=null),t[Fe]=Pe}function s(Fe){if(Fe==null||typeof Fe!="object")return Fe;var Pe=Fe,gt=L.call(Fe);if(gt==="[object Array]"){if(!we(Fe)){Pe=[];for(var it=0,qe=Fe.length;it<qe;it++)Pe[it]=s(Fe[it])}}else if(d[gt]){if(!we(Fe)){var At=Fe.constructor;if(Fe.constructor.from)Pe=At.from(Fe);else{Pe=new At(Fe.length);for(var it=0,qe=Fe.length;it<qe;it++)Pe[it]=s(Fe[it])}}}else if(!e[gt]&&!we(Fe)&&!K(Fe)){Pe={};for(var dt in Fe)Fe.hasOwnProperty(dt)&&(Pe[dt]=s(Fe[dt]))}return Pe}function l(Fe,Pe,gt){if(!B(Pe)||!B(Fe))return gt?s(Pe):Fe;for(var it in Pe)if(Pe.hasOwnProperty(it)){var qe=Fe[it],At=Pe[it];B(At)&&B(qe)&&!M(At)&&!M(qe)&&!K(At)&&!K(qe)&&!z(At)&&!z(qe)&&!we(At)&&!we(qe)?l(qe,At,gt):(gt||!(it in Fe))&&(Fe[it]=s(Pe[it],!0))}return Fe}function n(Fe,Pe){for(var gt=Fe[0],it=1,qe=Fe.length;it<qe;it++)gt=l(gt,Fe[it],Pe);return gt}function c(Fe,Pe){for(var gt in Pe)Pe.hasOwnProperty(gt)&&(Fe[gt]=Pe[gt]);return Fe}function r(Fe,Pe,gt){for(var it in Pe)Pe.hasOwnProperty(it)&&(gt?Pe[it]!=null:Fe[it]==null)&&(Fe[it]=Pe[it]);return Fe}var u=function(){return t.createCanvas()};t.createCanvas=function(){return document.createElement("canvas")};var i;function h(){return i||(i=u().getContext("2d")),i}function p(Fe,Pe){if(Fe){if(Fe.indexOf)return Fe.indexOf(Pe);for(var gt=0,it=Fe.length;gt<it;gt++)if(Fe[gt]===Pe)return gt}return-1}function A(Fe,Pe){var gt=Fe.prototype;function it(){}it.prototype=Pe.prototype,Fe.prototype=new it;for(var qe in gt)gt.hasOwnProperty(qe)&&(Fe.prototype[qe]=gt[qe]);Fe.prototype.constructor=Fe,Fe.superClass=Pe}function C(Fe,Pe,gt){Fe="prototype"in Fe?Fe.prototype:Fe,Pe="prototype"in Pe?Pe.prototype:Pe,r(Fe,Pe,gt)}function S(Fe){return Fe?typeof Fe=="string"?!1:typeof Fe.length=="number":void 0}function E(Fe,Pe,gt){if(!(Fe&&Pe))return;if(Fe.forEach&&Fe.forEach===m)Fe.forEach(Pe,gt);else if(Fe.length===+Fe.length)for(var it=0,qe=Fe.length;it<qe;it++)Pe.call(gt,Fe[it],it,Fe);else for(var At in Fe)Fe.hasOwnProperty(At)&&Pe.call(gt,Fe[At],At,Fe)}function O(Fe,Pe,gt){if(!(Fe&&Pe))return;if(Fe.map&&Fe.map===f)return Fe.map(Pe,gt);for(var it=[],qe=0,At=Fe.length;qe<At;qe++)it.push(Pe.call(gt,Fe[qe],qe,Fe));return it}function T(Fe,Pe,gt,it){if(!(Fe&&Pe))return;if(Fe.reduce&&Fe.reduce===a)return Fe.reduce(Pe,gt,it);for(var qe=0,At=Fe.length;qe<At;qe++)gt=Pe.call(it,gt,Fe[qe],qe,Fe);return gt}function b(Fe,Pe,gt){if(!(Fe&&Pe))return;if(Fe.filter&&Fe.filter===y)return Fe.filter(Pe,gt);for(var it=[],qe=0,At=Fe.length;qe<At;qe++)Pe.call(gt,Fe[qe],qe,Fe)&&it.push(Fe[qe]);return it}function x(Fe,Pe,gt){if(!(Fe&&Pe))return;for(var it=0,qe=Fe.length;it<qe;it++)if(Pe.call(gt,Fe[it],it,Fe))return Fe[it]}function N(Fe,Pe){var gt=w.call(arguments,2);return function(){return Fe.apply(Pe,gt.concat(w.call(arguments)))}}function D(Fe){var Pe=w.call(arguments,1);return function(){return Fe.apply(this,Pe.concat(w.call(arguments)))}}function M(Fe){return L.call(Fe)==="[object Array]"}function R(Fe){return typeof Fe=="function"}function F(Fe){return L.call(Fe)==="[object String]"}function B(Fe){var Pe=typeof Fe;return Pe==="function"||!!Fe&&Pe==="object"}function z(Fe){return!!e[L.call(Fe)]}function U(Fe){return!!d[L.call(Fe)]}function K(Fe){return typeof Fe=="object"&&typeof Fe.nodeType=="number"&&typeof Fe.ownerDocument=="object"}function W(Fe){return Fe!==Fe}function H(Fe){for(var Pe=0,gt=arguments.length;Pe<gt;Pe++)if(arguments[Pe]!=null)return arguments[Pe]}function Y(Fe,Pe){return Fe!=null?Fe:Pe}function Q(Fe,Pe,gt){return Fe!=null?Fe:Pe!=null?Pe:gt}function P(){return Function.call.apply(w,arguments)}function G(Fe){if(typeof Fe=="number")return[Fe,Fe,Fe,Fe];var Pe=Fe.length;return Pe===2?[Fe[0],Fe[1],Fe[0],Fe[1]]:Pe===3?[Fe[0],Fe[1],Fe[2],Fe[1]]:Fe}function J(Fe,Pe){if(!Fe)throw new Error(Pe)}function he(Fe){return Fe==null?null:typeof Fe.trim=="function"?Fe.trim():Fe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var te="__ec_primitive__";function pe(Fe){Fe[te]=!0}function we(Fe){return Fe[te]}function be(Fe){var Pe=M(Fe);this.data={};var gt=this;Fe instanceof be?Fe.each(it):Fe&&E(Fe,it);function it(qe,At){Pe?gt.set(qe,At):gt.set(At,qe)}}be.prototype={constructor:be,get:function(Pe){return this.data.hasOwnProperty(Pe)?this.data[Pe]:null},set:function(Pe,gt){return this.data[Pe]=gt},each:function(Pe,gt){gt!==void 0&&(Pe=N(Pe,gt));for(var it in this.data)this.data.hasOwnProperty(it)&&Pe(this.data[it],it)},removeKey:function(Pe){delete this.data[Pe]}};function Qe(Fe){return new be(Fe)}function $e(Fe,Pe){for(var gt=new Fe.constructor(Fe.length+Pe.length),it=0;it<Fe.length;it++)gt[it]=Fe[it];var qe=Fe.length;for(it=0;it<Pe.length;it++)gt[it+qe]=Pe[it];return gt}function yt(){}_.$override=o,_.clone=s,_.merge=l,_.mergeAll=n,_.extend=c,_.defaults=r,_.createCanvas=u,_.getContext=h,_.indexOf=p,_.inherits=A,_.mixin=C,_.isArrayLike=S,_.each=E,_.map=O,_.reduce=T,_.filter=b,_.find=x,_.bind=N,_.curry=D,_.isArray=M,_.isFunction=R,_.isString=F,_.isObject=B,_.isBuiltInObject=z,_.isTypedArray=U,_.isDom=K,_.eqNaN=W,_.retrieve=H,_.retrieve2=Y,_.retrieve3=Q,_.slice=P,_.normalizeCssArray=G,_.assert=J,_.trim=he,_.setAsPrimitive=pe,_.isPrimitive=we,_.createHashMap=Qe,_.concatArray=$e,_.noop=yt},oMIb:function(Z,_){function e(d,L,v,m,y,w,f){if(y===0)return!1;var a=y,t=0,o=d;if(f>L+a&&f>m+a||f<L-a&&f<m-a||w>d+a&&w>v+a||w<d-a&&w<v-a)return!1;if(d!==v)t=(L-m)/(d-v),o=(d*m-v*L)/(d-v);else return Math.abs(w-d)<=a/2;var s=t*w-f+o,l=s*s/(t*t+1);return l<=a/2*a/2}_.containStroke=e},oSPd:function(Z,_,e){var d=e("VC1J");function L(v,m){var y=d(this,v),w=y.size;return y.set(v,m),this.size+=y.size==w?0:1,this}Z.exports=L},oURd:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};_.default=d},oW2c:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("I6NF")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="SwapRightOutlined";var f=v.forwardRef(w);_.default=f},oX3T:function(Z,_,e){var d=e("9mCu"),L=e("oEo5"),v=e("4uqo");function m(w,f){d.call(this,w,f,"clipPath","__clippath_in_use__")}L.inherits(m,d),m.prototype.update=function(w){var f=this.getSvgElement(w);f&&this.updateDom(f,w.__clipPaths,!1);var a=this.getTextSvgElement(w);a&&this.updateDom(a,w.__clipPaths,!0),this.markUsed(w)},m.prototype.updateDom=function(w,f,a){if(f&&f.length>0){var t=this.getDefs(!0),o=f[0],s,l,n=a?"_textDom":"_dom";o[n]?(l=o[n].getAttribute("id"),s=o[n],t.contains(s)||t.appendChild(s)):(l="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,s=this.createElement("clipPath"),s.setAttribute("id",l),t.appendChild(s),o[n]=s);var c=this.getSvgProxy(o);if(o.transform&&o.parent.invTransform&&!a){var r=Array.prototype.slice.call(o.transform);v.mul(o.transform,o.parent.invTransform,o.transform),c.brush(o),o.transform=r}else c.brush(o);var u=this.getSvgElement(o);s.innerHTML="",s.appendChild(u.cloneNode()),w.setAttribute("clip-path","url(#"+l+")"),f.length>1&&this.updateDom(s,f.slice(1),a)}else w&&w.setAttribute("clip-path","none")},m.prototype.markUsed=function(w){var f=this;w.__clipPaths&&L.each(w.__clipPaths,function(a){a._dom&&d.prototype.markUsed.call(f,a._dom),a._textDom&&d.prototype.markUsed.call(f,a._textDom)})};var y=m;Z.exports=y},oYFH:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("zYjg"),m=e("LLn1"),y=m.createSymbol,w=e("Jjzi"),f=w.parsePercent,a=w.isNumeric,t=e("wnZI"),o=t.setLabel,s=["itemStyle","borderWidth"],l=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],n=new v.Circle,c=d.extendChartView({type:"pictorialBar",render:function(Y,Q,P){var G=this.group,J=Y.getData(),he=this._data,te=Y.coordinateSystem,pe=te.getBaseAxis(),we=!!pe.isHorizontal(),be=te.grid.getRect(),Qe={ecSize:{width:P.getWidth(),height:P.getHeight()},seriesModel:Y,coordSys:te,coordSysExtent:[[be.x,be.x+be.width],[be.y,be.y+be.height]],isHorizontal:we,valueDim:l[+we],categoryDim:l[1-we]};return J.diff(he).add(function($e){if(!J.hasValue($e))return;var yt=b(J,$e),Fe=r(J,$e,yt,Qe),Pe=M(J,Qe,Fe);J.setItemGraphicEl($e,Pe),G.add(Pe),K(Pe,Qe,Fe)}).update(function($e,yt){var Fe=he.getItemGraphicEl(yt);if(!J.hasValue($e)){G.remove(Fe);return}var Pe=b(J,$e),gt=r(J,$e,Pe,Qe),it=B(J,gt);Fe&&it!==Fe.__pictorialShapeStr&&(G.remove(Fe),J.setItemGraphicEl($e,null),Fe=null),Fe?R(Fe,Qe,gt):Fe=M(J,Qe,gt,!0),J.setItemGraphicEl($e,Fe),Fe.__pictorialSymbolMeta=gt,G.add(Fe),K(Fe,Qe,gt)}).remove(function($e){var yt=he.getItemGraphicEl($e);yt&&F(he,$e,yt.__pictorialSymbolMeta.animationModel,yt)}).execute(),this._data=J,this.group},dispose:L.noop,remove:function(Y,Q){var P=this.group,G=this._data;Y.get("animation")?G&&G.eachItemGraphicEl(function(J){F(G,J.dataIndex,Y,J)}):P.removeAll()}});function r(Y,Q,P,G){var J=Y.getItemLayout(Q),he=P.get("symbolRepeat"),te=P.get("symbolClip"),pe=P.get("symbolPosition")||"start",we=P.get("symbolRotate"),be=(we||0)*Math.PI/180||0,Qe=P.get("symbolPatternSize")||2,$e=P.isAnimationEnabled(),yt={dataIndex:Q,layout:J,itemModel:P,symbolType:Y.getItemVisual(Q,"symbol")||"circle",color:Y.getItemVisual(Q,"color"),symbolClip:te,symbolRepeat:he,symbolRepeatDirection:P.get("symbolRepeatDirection"),symbolPatternSize:Qe,rotation:be,animationModel:$e?P:null,hoverAnimation:$e&&P.get("hoverAnimation"),z2:P.getShallow("z",!0)||0};u(P,he,J,G,yt),h(Y,Q,J,he,te,yt.boundingLength,yt.pxSign,Qe,G,yt),p(P,yt.symbolScale,be,G,yt);var Fe=yt.symbolSize,Pe=P.get("symbolOffset");return L.isArray(Pe)&&(Pe=[f(Pe[0],Fe[0]),f(Pe[1],Fe[1])]),A(P,Fe,J,he,te,Pe,pe,yt.valueLineWidth,yt.boundingLength,yt.repeatCutLength,G,yt),yt}function u(Y,Q,P,G,J){var he=G.valueDim,te=Y.get("symbolBoundingData"),pe=G.coordSys.getOtherAxis(G.coordSys.getBaseAxis()),we=pe.toGlobalCoord(pe.dataToCoord(0)),be=1-+(P[he.wh]<=0),Qe;if(L.isArray(te)){var $e=[i(pe,te[0])-we,i(pe,te[1])-we];$e[1]<$e[0]&&$e.reverse(),Qe=$e[be]}else te!=null?Qe=i(pe,te)-we:Q?Qe=G.coordSysExtent[he.index][be]-we:Qe=P[he.wh];J.boundingLength=Qe,Q&&(J.repeatCutLength=P[he.wh]),J.pxSign=Qe>0?1:Qe<0?-1:0}function i(Y,Q){return Y.toGlobalCoord(Y.dataToCoord(Y.scale.parse(Q)))}function h(Y,Q,P,G,J,he,te,pe,we,be){var Qe=we.valueDim,$e=we.categoryDim,yt=Math.abs(P[$e.wh]),Fe=Y.getItemVisual(Q,"symbolSize");L.isArray(Fe)?Fe=Fe.slice():(Fe==null&&(Fe="100%"),Fe=[Fe,Fe]),Fe[$e.index]=f(Fe[$e.index],yt),Fe[Qe.index]=f(Fe[Qe.index],G?yt:Math.abs(he)),be.symbolSize=Fe;var Pe=be.symbolScale=[Fe[0]/pe,Fe[1]/pe];Pe[Qe.index]*=(we.isHorizontal?-1:1)*te}function p(Y,Q,P,G,J){var he=Y.get(s)||0;he&&(n.attr({scale:Q.slice(),rotation:P}),n.updateTransform(),he/=n.getLineScale(),he*=Q[G.valueDim.index]),J.valueLineWidth=he}function A(Y,Q,P,G,J,he,te,pe,we,be,Qe,$e){var yt=Qe.categoryDim,Fe=Qe.valueDim,Pe=$e.pxSign,gt=Math.max(Q[Fe.index]+pe,0),it=gt;if(G){var qe=Math.abs(we),At=L.retrieve(Y.get("symbolMargin"),"15%")+"",dt=!1;At.lastIndexOf("!")===At.length-1&&(dt=!0,At=At.slice(0,At.length-1)),At=f(At,Q[Fe.index]);var wt=Math.max(gt+At*2,0),Ye=dt?0:At*2,mt=a(G),Ue=mt?G:W((qe+Ye)/wt),Re=qe-Ue*gt;At=Re/2/(dt?Ue:Ue-1),wt=gt+At*2,Ye=dt?0:At*2,!mt&&G!=="fixed"&&(Ue=be?W((Math.abs(be)+Ye)/wt):0),it=Ue*wt-Ye,$e.repeatTimes=Ue,$e.symbolMargin=At}var Le=Pe*(it/2),at=$e.pathPosition=[];at[yt.index]=P[yt.wh]/2,at[Fe.index]=te==="start"?Le:te==="end"?we-Le:we/2,he&&(at[0]+=he[0],at[1]+=he[1]);var Ot=$e.bundlePosition=[];Ot[yt.index]=P[yt.xy],Ot[Fe.index]=P[Fe.xy];var Tt=$e.barRectShape=L.extend({},P);Tt[Fe.wh]=Pe*Math.max(Math.abs(P[Fe.wh]),Math.abs(at[Fe.index]+Le)),Tt[yt.wh]=P[yt.wh];var Ft=$e.clipShape={};Ft[yt.xy]=-P[yt.xy],Ft[yt.wh]=Qe.ecSize[yt.wh],Ft[Fe.xy]=0,Ft[Fe.wh]=P[Fe.wh]}function C(Y){var Q=Y.symbolPatternSize,P=y(Y.symbolType,-Q/2,-Q/2,Q,Q,Y.color);return P.attr({culling:!0}),P.type!=="image"&&P.setStyle({strokeNoScale:!0}),P}function S(Y,Q,P,G){var J=Y.__pictorialBundle,he=P.symbolSize,te=P.valueLineWidth,pe=P.pathPosition,we=Q.valueDim,be=P.repeatTimes||0,Qe=0,$e=he[Q.valueDim.index]+te+P.symbolMargin*2;for(z(Y,function(qe){qe.__pictorialAnimationIndex=Qe,qe.__pictorialRepeatTimes=be,Qe<be?U(qe,null,Pe(Qe),P,G):U(qe,null,{scale:[0,0]},P,G,function(){J.remove(qe)}),D(qe,P),Qe++});Qe<be;Qe++){var yt=C(P);yt.__pictorialAnimationIndex=Qe,yt.__pictorialRepeatTimes=be,J.add(yt);var Fe=Pe(Qe);U(yt,{position:Fe.position,scale:[0,0]},{scale:Fe.scale,rotation:Fe.rotation},P,G),yt.on("mouseover",gt).on("mouseout",it),D(yt,P)}function Pe(qe){var At=pe.slice(),dt=P.pxSign,wt=qe;return(P.symbolRepeatDirection==="start"?dt>0:dt<0)&&(wt=be-1-qe),At[we.index]=$e*(wt-be/2+.5)+pe[we.index],{position:At,scale:P.symbolScale.slice(),rotation:P.rotation}}function gt(){z(Y,function(qe){qe.trigger("emphasis")})}function it(){z(Y,function(qe){qe.trigger("normal")})}}function E(Y,Q,P,G){var J=Y.__pictorialBundle,he=Y.__pictorialMainPath;he?U(he,null,{position:P.pathPosition.slice(),scale:P.symbolScale.slice(),rotation:P.rotation},P,G):(he=Y.__pictorialMainPath=C(P),J.add(he),U(he,{position:P.pathPosition.slice(),scale:[0,0],rotation:P.rotation},{scale:P.symbolScale.slice()},P,G),he.on("mouseover",te).on("mouseout",pe)),D(he,P);function te(){this.trigger("emphasis")}function pe(){this.trigger("normal")}}function O(Y,Q,P){var G=L.extend({},Q.barRectShape),J=Y.__pictorialBarRect;J?U(J,null,{shape:G},Q,P):(J=Y.__pictorialBarRect=new v.Rect({z2:2,shape:G,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),Y.add(J))}function T(Y,Q,P,G){if(P.symbolClip){var J=Y.__pictorialClipPath,he=L.extend({},P.clipShape),te=Q.valueDim,pe=P.animationModel,we=P.dataIndex;if(J)v.updateProps(J,{shape:he},pe,we);else{he[te.wh]=0,J=new v.Rect({shape:he}),Y.__pictorialBundle.setClipPath(J),Y.__pictorialClipPath=J;var be={};be[te.wh]=P.clipShape[te.wh],v[G?"updateProps":"initProps"](J,{shape:be},pe,we)}}}function b(Y,Q){var P=Y.getItemModel(Q);return P.getAnimationDelayParams=x,P.isAnimationEnabled=N,P}function x(Y){return{index:Y.__pictorialAnimationIndex,count:Y.__pictorialRepeatTimes}}function N(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function D(Y,Q){Y.off("emphasis").off("normal");var P=Q.symbolScale.slice();Q.hoverAnimation&&Y.on("emphasis",function(){this.animateTo({scale:[P[0]*1.1,P[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:P.slice()},400,"elasticOut")})}function M(Y,Q,P,G){var J=new v.Group,he=new v.Group;return J.add(he),J.__pictorialBundle=he,he.attr("position",P.bundlePosition.slice()),P.symbolRepeat?S(J,Q,P):E(J,Q,P),O(J,P,G),T(J,Q,P,G),J.__pictorialShapeStr=B(Y,P),J.__pictorialSymbolMeta=P,J}function R(Y,Q,P){var G=P.animationModel,J=P.dataIndex,he=Y.__pictorialBundle;v.updateProps(he,{position:P.bundlePosition.slice()},G,J),P.symbolRepeat?S(Y,Q,P,!0):E(Y,Q,P,!0),O(Y,P,!0),T(Y,Q,P,!0)}function F(Y,Q,P,G){var J=G.__pictorialBarRect;J&&(J.style.text=null);var he=[];z(G,function(te){he.push(te)}),G.__pictorialMainPath&&he.push(G.__pictorialMainPath),G.__pictorialClipPath&&(P=null),L.each(he,function(te){v.updateProps(te,{scale:[0,0]},P,Q,function(){G.parent&&G.parent.remove(G)})}),Y.setItemGraphicEl(Q,null)}function B(Y,Q){return[Y.getItemVisual(Q.dataIndex,"symbol")||"none",!!Q.symbolRepeat,!!Q.symbolClip].join(":")}function z(Y,Q,P){L.each(Y.__pictorialBundle.children(),function(G){G!==Y.__pictorialBarRect&&Q.call(P,G)})}function U(Y,Q,P,G,J,he){Q&&Y.attr(Q),G.symbolClip&&!J?P&&Y.attr(P):P&&v[J?"updateProps":"initProps"](Y,P,G.animationModel,G.dataIndex,he)}function K(Y,Q,P){var G=P.color,J=P.dataIndex,he=P.itemModel,te=he.getModel("itemStyle").getItemStyle(["color"]),pe=he.getModel("emphasis.itemStyle").getItemStyle(),we=he.getShallow("cursor");z(Y,function(yt){yt.setColor(G),yt.setStyle(L.defaults({fill:G,opacity:P.opacity},te)),v.setHoverStyle(yt,pe),we&&(yt.cursor=we),yt.z2=P.z2});var be={},Qe=Q.valueDim.posDesc[+(P.boundingLength>0)],$e=Y.__pictorialBarRect;o($e.style,be,he,G,Q.seriesModel,J,Qe),v.setHoverStyle($e,be)}function W(Y){var Q=Math.round(Y);return Math.abs(Y-Q)<1e-4?Q:Math.ceil(Y)}var H=c;Z.exports=H},"ode/":function(Z,_,e){var d=e("gPqb"),L=e("oEo5"),v=e("F2Ao"),m=e("2Cb2"),y=e("jU4C"),w=y.ContextCachedBy,f=function(o){d.call(this,o)};f.prototype={constructor:f,type:"text",brush:function(o,s){var l=this.style;this.__dirty&&m.normalizeTextStyle(l,!0),l.fill=l.stroke=l.shadowBlur=l.shadowColor=l.shadowOffsetX=l.shadowOffsetY=null;var n=l.text;if(n!=null&&(n+=""),!m.needDrawText(n,l)){o.__attrCachedBy=w.NONE;return}this.setTransform(o),m.renderText(this,o,n,l,null,s),this.restoreTransform(o)},getBoundingRect:function(){var o=this.style;if(this.__dirty&&m.normalizeTextStyle(o,!0),!this._rect){var s=o.text;s!=null?s+="":s="";var l=v.getBoundingRect(o.text+"",o.font,o.textAlign,o.textVerticalAlign,o.textPadding,o.textLineHeight,o.rich);if(l.x+=o.x||0,l.y+=o.y||0,m.getStroke(o.textStroke,o.textStrokeWidth)){var n=o.textStrokeWidth;l.x-=n/2,l.y-=n/2,l.width+=n,l.height+=n}this._rect=l}return this._rect}},L.inherits(f,d);var a=f;Z.exports=a},olfJ:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="LikeOutlined";var w=_.a=d.forwardRef(y)},ouqR:function(Z,_,e){(function(d){d(e("M0ff"))})(function(d){"use strict";d.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var L=0;L<d.modeInfo.length;L++){var v=d.modeInfo[L];v.mimes&&(v.mime=v.mimes[0])}d.findModeByMIME=function(m){m=m.toLowerCase();for(var y=0;y<d.modeInfo.length;y++){var w=d.modeInfo[y];if(w.mime==m)return w;if(w.mimes){for(var f=0;f<w.mimes.length;f++)if(w.mimes[f]==m)return w}}if(/\+xml$/.test(m))return d.findModeByMIME("application/xml");if(/\+json$/.test(m))return d.findModeByMIME("application/json")},d.findModeByExtension=function(m){m=m.toLowerCase();for(var y=0;y<d.modeInfo.length;y++){var w=d.modeInfo[y];if(w.ext){for(var f=0;f<w.ext.length;f++)if(w.ext[f]==m)return w}}},d.findModeByFileName=function(m){for(var y=0;y<d.modeInfo.length;y++){var w=d.modeInfo[y];if(w.file&&w.file.test(m))return w}var f=m.lastIndexOf("."),a=f>-1&&m.substring(f+1,m.length);if(a)return d.findModeByExtension(a)},d.findModeByName=function(m){m=m.toLowerCase();for(var y=0;y<d.modeInfo.length;y++){var w=d.modeInfo[y];if(w.name.toLowerCase()==m)return w;if(w.alias){for(var f=0;f<w.alias.length;f++)if(w.alias[f].toLowerCase()==m)return w}}}})},"p/4i":function(Z,_,e){var d=e("OkCp"),L=d.slice,v=d.pluck,m=d.each,y=d.bind,w=d.create,f=d.isList,a=d.isFunction,t=d.isObject;Z.exports={createStore:l};var o={version:"2.0.12",enabled:!1,get:function(c,r){var u=this.storage.read(this._namespacePrefix+c);return this._deserialize(u,r)},set:function(c,r){return r===void 0?this.remove(c):(this.storage.write(this._namespacePrefix+c,this._serialize(r)),r)},remove:function(c){this.storage.remove(this._namespacePrefix+c)},each:function(c){var r=this;this.storage.each(function(u,i){c.call(r,r._deserialize(u),(i||"").replace(r._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(c){return this._namespacePrefix=="__storejs_"+c+"_"},createStore:function(){return l.apply(this,arguments)},addPlugin:function(c){this._addPlugin(c)},namespace:function(c){return l(this.storage,this.plugins,c)}};function s(){var n=typeof console=="undefined"?null:console;if(!n)return;var c=n.warn?n.warn:n.log;c.apply(n,arguments)}function l(n,c,r){r||(r=""),n&&!f(n)&&(n=[n]),c&&!f(c)&&(c=[c]);var u=r?"__storejs_"+r+"_":"",i=r?new RegExp("^"+u):null,h=/^[a-zA-Z0-9_\-]*$/;if(!h.test(r))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var p={_namespacePrefix:u,_namespaceRegexp:i,_testStorage:function(S){try{var E="__storejs__test__";S.write(E,E);var O=S.read(E)===E;return S.remove(E),O}catch(T){return!1}},_assignPluginFnProp:function(S,E){var O=this[E];this[E]=function(){var b=L(arguments,0),x=this;function N(){return O?(m(arguments,function(M,R){b[R]=M}),O.apply(x,b)):void 0}var D=[N].concat(b);return S.apply(x,D)}},_serialize:function(S){return JSON.stringify(S)},_deserialize:function(S,E){if(!S)return E;var O="";try{O=JSON.parse(S)}catch(T){O=S}return O!==void 0?O:E},_addStorage:function(S){if(this.enabled)return;this._testStorage(S)&&(this.storage=S,this.enabled=!0)},_addPlugin:function(S){var E=this;if(f(S)){m(S,function(b){E._addPlugin(b)});return}var O=v(this.plugins,function(b){return S===b});if(O)return;if(this.plugins.push(S),!a(S))throw new Error("Plugins must be function values that return objects");var T=S.call(this);if(!t(T))throw new Error("Plugins must return an object of function properties");m(T,function(b,x){if(!a(b))throw new Error("Bad plugin property: "+x+" from plugin "+S.name+". Plugins should only return functions.");E._assignPluginFnProp(b,x)})},addStorage:function(S){s("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(S)}},A=w(p,o,{plugins:[]});return A.raw={},m(A,function(C,S){a(C)&&(A.raw[S]=y(A,C))}),m(n,function(C){A._addStorage(C)}),m(c,function(C){A._addPlugin(C)}),A}},p1Ch:function(Z,_){function e(L,v){this.getAllNames=function(){var m=v();return m.mapArray(m.getName)},this.containName=function(m){var y=v();return y.indexOfName(m)>=0},this.indexOfName=function(m){var y=L();return y.indexOfName(m)},this.getItemVisual=function(m,y){var w=L();return w.getItemVisual(m,y)}}var d=e;Z.exports=d},p5w1:function(Z,_,e){var d=e("Xpbd"),L=e("iz/G");function v(m,y,w){var f=y(m);return L(m)?f:d(f,w(m))}Z.exports=v},pCjf:function(Z,_,e){var d=e("Az1A"),L=d.addEventListener,v=d.removeEventListener,m=d.normalizeEvent,y=d.getNativeEvent,w=e("oEo5"),f=e("diXd"),a=e("gyjJ"),t=300,o=a.domSupported,s=function(){var F=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],B=["touchstart","touchend","touchmove"],z={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},U=w.map(F,function(K){var W=K.replace("mouse","pointer");return z.hasOwnProperty(W)?W:K});return{mouse:F,touch:B,pointer:U}}(),l={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function n(F){return F==="mousewheel"&&a.browser.firefox?"DOMMouseScroll":F}function c(F){var B=F.pointerType;return B==="pen"||B==="touch"}function r(F){F.touching=!0,F.touchTimer!=null&&(clearTimeout(F.touchTimer),F.touchTimer=null),F.touchTimer=setTimeout(function(){F.touching=!1,F.touchTimer=null},700)}function u(F){F&&(F.zrByTouch=!0)}function i(F,B){return m(F.dom,new p(F,B),!0)}function h(F,B){for(var z=B,U=!1;z&&z.nodeType!==9&&!(U=z.domBelongToZr||z!==B&&z===F.painterRoot);)z=z.parentNode;return U}function p(F,B){this.type=B.type,this.target=this.currentTarget=F.dom,this.pointerType=B.pointerType,this.clientX=B.clientX,this.clientY=B.clientY}var A=p.prototype;A.stopPropagation=A.stopImmediatePropagation=A.preventDefault=w.noop;var C={mousedown:function(B){B=m(this.dom,B),this._mayPointerCapture=[B.zrX,B.zrY],this.trigger("mousedown",B)},mousemove:function(B){B=m(this.dom,B);var z=this._mayPointerCapture;z&&(B.zrX!==z[0]||B.zrY!==z[1])&&x(this,!0),this.trigger("mousemove",B)},mouseup:function(B){B=m(this.dom,B),x(this,!1),this.trigger("mouseup",B)},mouseout:function(B){B=m(this.dom,B),this._pointerCapturing&&(B.zrEventControl="no_globalout");var z=B.toElement||B.relatedTarget;B.zrIsToLocalDOM=h(this,z),this.trigger("mouseout",B)},touchstart:function(B){B=m(this.dom,B),u(B),this._lastTouchMoment=new Date,this.handler.processGesture(B,"start"),C.mousemove.call(this,B),C.mousedown.call(this,B)},touchmove:function(B){B=m(this.dom,B),u(B),this.handler.processGesture(B,"change"),C.mousemove.call(this,B)},touchend:function(B){B=m(this.dom,B),u(B),this.handler.processGesture(B,"end"),C.mouseup.call(this,B),+new Date-this._lastTouchMoment<t&&C.click.call(this,B)},pointerdown:function(B){C.mousedown.call(this,B)},pointermove:function(B){c(B)||C.mousemove.call(this,B)},pointerup:function(B){C.mouseup.call(this,B)},pointerout:function(B){c(B)||C.mouseout.call(this,B)}};w.each(["click","mousewheel","dblclick","contextmenu"],function(F){C[F]=function(B){B=m(this.dom,B),this.trigger(F,B)}});var S={pointermove:function(B){c(B)||S.mousemove.call(this,B)},pointerup:function(B){S.mouseup.call(this,B)},mousemove:function(B){this.trigger("mousemove",B)},mouseup:function(B){var z=this._pointerCapturing;x(this,!1),this.trigger("mouseup",B),z&&(B.zrEventControl="only_globalout",this.trigger("mouseout",B))}};function E(F,B){var z=B.domHandlers;a.pointerEventsSupported?w.each(s.pointer,function(U){T(B,U,function(K){z[U].call(F,K)})}):(a.touchEventsSupported&&w.each(s.touch,function(U){T(B,U,function(K){z[U].call(F,K),r(B)})}),w.each(s.mouse,function(U){T(B,U,function(K){K=y(K),B.touching||z[U].call(F,K)})}))}function O(F,B){a.pointerEventsSupported?w.each(l.pointer,z):a.touchEventsSupported||w.each(l.mouse,z);function z(U){function K(W){W=y(W),h(F,W.target)||(W=i(F,W),B.domHandlers[U].call(F,W))}T(B,U,K,{capture:!0})}}function T(F,B,z,U){F.mounted[B]=z,F.listenerOpts[B]=U,L(F.domTarget,n(B),z,U)}function b(F){var B=F.mounted;for(var z in B)B.hasOwnProperty(z)&&v(F.domTarget,n(z),B[z],F.listenerOpts[z]);F.mounted={}}function x(F,B){if(F._mayPointerCapture=null,o&&F._pointerCapturing^B){F._pointerCapturing=B;var z=F._globalHandlerScope;B?O(F,z):b(z)}}function N(F,B){this.domTarget=F,this.domHandlers=B,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function D(F,B){f.call(this),this.dom=F,this.painterRoot=B,this._localHandlerScope=new N(F,C),o&&(this._globalHandlerScope=new N(document,S)),this._pointerCapturing=!1,this._mayPointerCapture=null,E(this,this._localHandlerScope)}var M=D.prototype;M.dispose=function(){b(this._localHandlerScope),o&&b(this._globalHandlerScope)},M.setCursor=function(F){this.dom.style&&(this.dom.style.cursor=F||"default")},w.mixin(D,f);var R=D;Z.exports=R},"pF/x":function(Z,_,e){var d=e("oEo5"),L=d.each,v=d.isArray,m=d.isObject,y=e("nDqs"),w=e("QV7q"),f=w.normalizeToArray;function a(c,r){r=r.split(",");for(var u=c,i=0;i<r.length&&!(u=u&&u[r[i]],u==null);i++);return u}function t(c,r,u,i){r=r.split(",");for(var h=c,p,A=0;A<r.length-1;A++)p=r[A],h[p]==null&&(h[p]={}),h=h[p];(i||h[r[A]]==null)&&(h[r[A]]=u)}function o(c){L(s,function(r){r[0]in c&&!(r[1]in c)&&(c[r[1]]=c[r[0]])})}var s=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],l=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function n(c,r){y(c,r),c.series=f(c.series),L(c.series,function(u){if(!m(u))return;var i=u.type;if(i==="line")u.clipOverflow!=null&&(u.clip=u.clipOverflow);else if(i==="pie"||i==="gauge")u.clockWise!=null&&(u.clockwise=u.clockWise);else if(i==="gauge"){var h=a(u,"pointer.color");h!=null&&t(u,"itemStyle.color",h)}o(u)}),c.dataRange&&(c.visualMap=c.dataRange),L(l,function(u){var i=c[u];i&&(v(i)||(i=[i]),L(i,function(h){o(h)}))})}Z.exports=n},"pHu+":function(Z,_,e){},pMHC:function(Z,_,e){var d=e("oEo5"),L=d.isFunction;function v(m,y,w){return{seriesType:m,performRawSeries:!0,reset:function(f,a,t){var o=f.getData(),s=f.get("symbol"),l=f.get("symbolSize"),n=f.get("symbolKeepAspect"),c=f.get("symbolRotate"),r=L(s),u=L(l),i=L(c),h=r||u||i,p=!r&&s?s:y,A=u?null:l,C=i?null:C;if(o.setVisual({legendSymbol:w||p,symbol:p,symbolSize:A,symbolKeepAspect:n,symbolRotate:c}),a.isSeriesFiltered(f))return;function S(E,O){if(h){var T=f.getRawValue(O),b=f.getDataParams(O);r&&E.setItemVisual(O,"symbol",s(T,b)),u&&E.setItemVisual(O,"symbolSize",l(T,b)),i&&E.setItemVisual(O,"symbolRotate",c(T,b))}if(E.hasItemOption){var x=E.getItemModel(O),N=x.getShallow("symbol",!0),D=x.getShallow("symbolSize",!0),M=x.getShallow("symbolRotate",!0),R=x.getShallow("symbolKeepAspect",!0);N!=null&&E.setItemVisual(O,"symbol",N),D!=null&&E.setItemVisual(O,"symbolSize",D),M!=null&&E.setItemVisual(O,"symbolRotate",M),R!=null&&E.setItemVisual(O,"symbolKeepAspect",R)}}return{dataEach:o.hasItemOption||h?S:null}}}}Z.exports=v},pYIe:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("jIvC"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},peMG:function(Z,_,e){var d=e("iCoW"),L=e("oEo5");function v(m,y){m.eachSeriesByType("sankey",function(w){var f=w.getGraph(),a=f.nodes;if(a.length){var t=Infinity,o=-Infinity;L.each(a,function(s){var l=s.getLayout().value;l<t&&(t=l),l>o&&(o=l)}),L.each(a,function(s){var l=new d({type:"color",mappingMethod:"linear",dataExtent:[t,o],visual:w.get("color")}),n=l.mapValueToVisual(s.getLayout().value),c=s.getModel().get("itemStyle.color");c!=null?s.setVisual("color",c):s.setVisual("color",n)})}})}Z.exports=v},ptwT:function(Z,_,e){var d=e("Q6Bq");e("R0xs"),e("xx5k");var L=e("tO6W"),v=e("mBNi"),m=e("t4NW");d.registerPreprocessor(L),d.registerVisual(v),d.registerLayout(m)},puEJ:function(Z,_,e){var d=e("5Hd0"),L=e("zk1E"),v=e("G7NL"),m=e("l1t2"),y=e("oSPd");function w(f){var a=-1,t=f==null?0:f.length;for(this.clear();++a<t;){var o=f[a];this.set(o[0],o[1])}}w.prototype.clear=d,w.prototype.delete=L,w.prototype.get=v,w.prototype.has=m,w.prototype.set=y,Z.exports=w},pxya:function(Z,_){function e(d){return this.__data__.get(d)}Z.exports=e},pygv:function(Z,_){function e(d,L){for(var v=-1,m=d==null?0:d.length,y=Array(m);++v<m;)y[v]=L(d[v],v,d);return y}Z.exports=e},q6d6:function(Z,_,e){},q7c2:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("wkkW"),m=e.n(v),y=e("VmQ4"),w=e("bEBK")},q8C7:function(Z,_,e){var d=e("oEo5");function L(m,y){return y=y||[0,0],d.map(["x","y"],function(w,f){var a=this.getAxis(w),t=y[f],o=m[f]/2;return a.type==="category"?a.getBandWidth():Math.abs(a.dataToCoord(t-o)-a.dataToCoord(t+o))},this)}function v(m){var y=m.grid.getRect();return{coordSys:{type:"cartesian2d",x:y.x,y:y.y,width:y.width,height:y.height},api:{coord:function(w){return m.dataToPoint(w)},size:d.bind(L,m)}}}Z.exports=v},qAA0:function(Z,_,e){(function(d,L){Z.exports=L()})(this,function(){"use strict";function d(L,v,m){m=m||{},m.childrenKeyName=m.childrenKeyName||"children";var y=L||[],w=[],f=0;do{var a=y.filter(function(t){return v(t,f)})[0];if(!a)break;w.push(a),y=a[m.childrenKeyName]||[],f+=1}while(y.length>0);return w}return d})},qCjM:function(Z,_){function e(){}e.prototype={diff:function(w,f,a){a||(a=function(C,S){return C===S}),this.equals=a;var t=this;w=w.slice(),f=f.slice();var o=f.length,s=w.length,l=1,n=o+s,c=[{newPos:-1,components:[]}],r=this.extractCommon(c[0],f,w,0);if(c[0].newPos+1>=o&&r+1>=s){for(var u=[],i=0;i<f.length;i++)u.push(i);return[{indices:u,count:f.length}]}function h(){for(var A=-1*l;A<=l;A+=2){var C,S=c[A-1],E=c[A+1],O=(E?E.newPos:0)-A;S&&(c[A-1]=void 0);var T=S&&S.newPos+1<o,b=E&&0<=O&&O<s;if(!T&&!b){c[A]=void 0;continue}if(!T||b&&S.newPos<E.newPos?(C=L(E),t.pushComponent(C.components,void 0,!0)):(C=S,C.newPos++,t.pushComponent(C.components,!0,void 0)),O=t.extractCommon(C,f,w,A),C.newPos+1>=o&&O+1>=s)return d(t,C.components,f,w);c[A]=C}l++}for(;l<=n;){var p=h();if(p)return p}},pushComponent:function(w,f,a){var t=w[w.length-1];t&&t.added===f&&t.removed===a?w[w.length-1]={count:t.count+1,added:f,removed:a}:w.push({count:1,added:f,removed:a})},extractCommon:function(w,f,a,t){for(var o=f.length,s=a.length,l=w.newPos,n=l-t,c=0;l+1<o&&n+1<s&&this.equals(f[l+1],a[n+1]);)l++,n++,c++;return c&&w.components.push({count:c}),w.newPos=l,n},tokenize:function(w){return w.slice()},join:function(w){return w.slice()}};function d(y,w,f,a){for(var t=0,o=w.length,s=0,l=0;t<o;t++){var n=w[t];if(n.removed){for(var c=[],r=l;r<l+n.count;r++)c.push(r);n.indices=c,l+=n.count}else{for(var c=[],r=s;r<s+n.count;r++)c.push(r);n.indices=c,s+=n.count,n.added||(l+=n.count)}}return w}function L(y){return{newPos:y.newPos,components:y.components.slice(0)}}var v=new e;function m(y,w,f){return v.diff(y,w,f)}Z.exports=m},qG1B:function(Z,_){function e(d){return d.split("")}Z.exports=e},qHlh:function(Z,_,e){var d=e("G8fk"),L=d([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),v={getLineStyle:function(m){var y=L(this,m);return y.lineDash=this.getLineDash(y.lineWidth),y},getLineDash:function(m){m==null&&(m=1);var y=this.get("type"),w=Math.max(m,2),f=m*4;return y==="solid"||y==null?!1:y==="dashed"?[f,f]:[w,w]}};Z.exports=v},qbRa:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};_.default=d},qfGI:function(Z,_,e){},"qoS/":function(Z,_,e){"use strict";var d=e("ZgTT"),L=e("z5Qn");d.b.Sider=L.b,_.a=d.b},qp2x:function(Z,_,e){var d=e("75WT"),L=e("gyjJ"),v=e("oEo5"),m=e("VYV7"),y=e("HQlQ"),w=e("gMB+"),f=e("LVrM"),a=e("pCjf");/*!
|
||
* ZRender, a high performance 2d drawing library.
|
||
*
|
||
* Copyright (c) 2013, Baidu Inc.
|
||
* All rights reserved.
|
||
*
|
||
* LICENSE
|
||
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
||
*/var t=!L.canvasSupported,o={canvas:w},s={},l="4.3.2";function n(p,A){var C=new h(d(),p,A);return s[C.id]=C,C}function c(p){if(p)p.dispose();else{for(var A in s)s.hasOwnProperty(A)&&s[A].dispose();s={}}return this}function r(p){return s[p]}function u(p,A){o[p]=A}function i(p){delete s[p]}var h=function(A,C,S){S=S||{},this.dom=C,this.id=A;var E=this,O=new y,T=S.renderer;if(t){if(!o.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");T="vml"}else(!T||!o[T])&&(T="canvas");var b=new o[T](C,O,S,A);this.storage=O,this.painter=b;var x=!L.node&&!L.worker?new a(b.getViewportRoot(),b.root):null;this.handler=new m(O,b,x,b.root),this.animation=new f({stage:{update:v.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var N=O.delFromStorage,D=O.addToStorage;O.delFromStorage=function(M){N.call(O,M),M&&M.removeSelfFromZr(E)},O.addToStorage=function(M){D.call(O,M),M.addSelfToZr(E)}};h.prototype={constructor:h,getId:function(){return this.id},add:function(A){this.storage.addRoot(A),this._needsRefresh=!0},remove:function(A){this.storage.delRoot(A),this._needsRefresh=!0},configLayer:function(A,C){this.painter.configLayer&&this.painter.configLayer(A,C),this._needsRefresh=!0},setBackgroundColor:function(A){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(A),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var A;this._needsRefresh&&(A=!0,this.refreshImmediately()),this._needsRefreshHover&&(A=!0,this.refreshHoverImmediately()),A&&this.trigger("rendered")},addHover:function(A,C){if(this.painter.addHover){var S=this.painter.addHover(A,C);return this.refreshHover(),S}},removeHover:function(A){this.painter.removeHover&&(this.painter.removeHover(A),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(A){A=A||{},this.painter.resize(A.width,A.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(A,C){return this.painter.pathToImage(A,C)},setCursorStyle:function(A){this.handler.setCursorStyle(A)},findHover:function(A,C){return this.handler.findHover(A,C)},on:function(A,C,S){this.handler.on(A,C,S)},off:function(A,C){this.handler.off(A,C)},trigger:function(A,C){this.handler.trigger(A,C)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,i(this.id)}},_.version=l,_.init=n,_.dispose=c,_.getInstance=r,_.registerPainter=u},qulM:function(Z,_,e){var d=e("oEo5"),L=e("zYjg"),v={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},m=2,y=4;function w(n,c,r){L.Group.call(this);var u=new L.Sector({z2:m});u.seriesIndex=c.seriesIndex;var i=new L.Text({z2:y,silent:n.getModel("label").get("silent")});this.add(u),this.add(i),this.updateData(!0,n,"normal",c,r);function h(){i.ignore=i.hoverIgnore}function p(){i.ignore=i.normalIgnore}this.on("emphasis",h).on("normal",p).on("mouseover",h).on("mouseout",p)}var f=w.prototype;f.updateData=function(n,c,r,u,i){this.node=c,c.piece=this,u=u||this._seriesModel,i=i||this._ecModel;var h=this.childAt(0);h.dataIndex=c.dataIndex;var p=c.getModel(),A=c.getLayout(),C=d.extend({},A);C.label=null;var S=t(c,u,i);l(c,u,S);var E=p.getModel("itemStyle").getItemStyle(),O;if(r==="normal")O=E;else{var T=p.getModel(r+".itemStyle").getItemStyle();O=d.merge(T,E)}O=d.defaults({lineJoin:"bevel",fill:O.fill||S},O),n?(h.setShape(C),h.shape.r=A.r0,L.updateProps(h,{shape:{r:A.r}},u,c.dataIndex),h.useStyle(O)):typeof O.fill=="object"&&O.fill.type||typeof h.style.fill=="object"&&h.style.fill.type?(L.updateProps(h,{shape:C},u),h.useStyle(O)):L.updateProps(h,{shape:C,style:O},u),this._updateLabel(u,S,r);var b=p.getShallow("cursor");if(b&&h.attr("cursor",b),n){var x=u.getShallow("highlightPolicy");this._initEvents(h,c,u,x)}this._seriesModel=u||this._seriesModel,this._ecModel=i||this._ecModel,L.setHoverStyle(this)},f.onEmphasis=function(n){var c=this;this.node.hostTree.root.eachNode(function(r){r.piece&&(c.node===r?r.piece.updateData(!1,r,"emphasis"):s(r,c.node,n)?r.piece.childAt(0).trigger("highlight"):n!==v.NONE&&r.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,c,r){var u=this.node.getModel(),i=u.getModel("label"),h=r==="normal"||r==="emphasis"?i:u.getModel(r+".label"),p=u.getModel("emphasis.label"),A=h.get("formatter"),C=A?r:"normal",S=d.retrieve(n.getFormattedLabel(this.node.dataIndex,C,null,null,"label"),this.node.name);H("show")===!1&&(S="");var E=this.node.getLayout(),O=h.get("minAngle");O==null&&(O=i.get("minAngle")),O=O/180*Math.PI;var T=E.endAngle-E.startAngle;O!=null&&Math.abs(T)<O&&(S="");var b=this.childAt(1);L.setLabelStyle(b.style,b.hoverStyle||{},i,p,{defaultText:h.getShallow("show")?S:null,autoColor:c,useInsideStyle:!0});var x=(E.startAngle+E.endAngle)/2,N=Math.cos(x),D=Math.sin(x),M,R=H("position"),F=H("distance")||0,B=H("align");R==="outside"?(M=E.r+F,B=x>Math.PI/2?"right":"left"):!B||B==="center"?(M=(E.r+E.r0)/2,B="center"):B==="left"?(M=E.r0+F,x>Math.PI/2&&(B="right")):B==="right"&&(M=E.r-F,x>Math.PI/2&&(B="left")),b.attr("style",{text:S,textAlign:B,textVerticalAlign:H("verticalAlign")||"middle",opacity:H("opacity")});var z=M*N+E.cx,U=M*D+E.cy;b.attr("position",[z,U]);var K=H("rotate"),W=0;K==="radial"?(W=-x,W<-Math.PI/2&&(W+=Math.PI)):K==="tangential"?(W=Math.PI/2-x,W>Math.PI/2?W-=Math.PI:W<-Math.PI/2&&(W+=Math.PI)):typeof K=="number"&&(W=K*Math.PI/180),b.attr("rotation",W);function H(Y){var Q=h.get(Y);return Q==null?i.get(Y):Q}},f._initEvents=function(n,c,r,u){n.off("mouseover").off("mouseout").off("emphasis").off("normal");var i=this,h=function(){i.onEmphasis(u)},p=function(){i.onNormal()},A=function(){i.onDownplay()},C=function(){i.onHighlight()};r.isAnimationEnabled()&&n.on("mouseover",h).on("mouseout",p).on("emphasis",h).on("normal",p).on("downplay",A).on("highlight",C)},d.inherits(w,L.Group);var a=w;function t(n,c,r){var u=n.getVisual("color"),i=n.getVisual("visualMeta");(!i||i.length===0)&&(u=null);var h=n.getModel("itemStyle").get("color");if(h)return h;if(u)return u;if(n.depth===0)return r.option.color[0];var p=r.option.color.length;return h=r.option.color[o(n)%p],h}function o(n){for(var c=n;c.depth>1;)c=c.parentNode;var r=n.getAncestors()[0];return d.indexOf(r.children,c)}function s(n,c,r){return r===v.NONE?!1:r===v.SELF?n===c:r===v.ANCESTOR?n===c||n.isAncestorOf(c):n===c||n.isDescendantOf(c)}function l(n,c,r){var u=c.getData();u.setItemVisual(n.dataIndex,"color",r)}Z.exports=a},qwEw:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("qbRa")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="CaretDownOutlined";var f=v.forwardRef(w);_.default=f},"qyV+":function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("bf9+"),m=e.n(v)},r5rb:function(Z,_,e){e("RA1y");var d=e("Ju7t"),L=d.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});Z.exports=L},rAVC:function(Z,_,e){var d=e("Ju7t");d.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},rBS4:function(Z,_){function e(d){var L=typeof d;return L=="string"||L=="number"||L=="symbol"||L=="boolean"?d!=="__proto__":d===null}Z.exports=e},rDo5:function(Z,_,e){var d=e("342z"),L=d.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(m,y){var w=.5522848,f=y.cx,a=y.cy,t=y.rx,o=y.ry,s=t*w,l=o*w;m.moveTo(f-t,a),m.bezierCurveTo(f-t,a-l,f-s,a-o,f,a-o),m.bezierCurveTo(f+s,a-o,f+t,a-l,f+t,a),m.bezierCurveTo(f+t,a+l,f+s,a+o,f,a+o),m.bezierCurveTo(f-s,a+o,f-t,a+l,f-t,a),m.closePath()}});Z.exports=L},rH6s:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("C9+5"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},rYji:function(Z,_,e){e("yZ6v"),e("vXmO")},raRn:function(Z,_,e){},rfHf:function(Z,_,e){},rkXN:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("gyjJ"),m=e("dqKt"),y=e("iCoW"),w=e("iXCq"),f=e("QV7q"),a=e("Jjzi"),t=y.mapVisual,o=y.eachVisual,s=L.isArray,l=L.each,n=a.asc,c=a.linearMap,r=L.noop,u=d.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-Infinity,Infinity],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(h,p,A){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(h,A)},optionUpdated:function(h,p){var A=this.option;v.canvasSupported||(A.realtime=!1),!p&&w.replaceVisualOption(A,h,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(h){var p=this.stateList;h=L.bind(h,this),this.controllerVisuals=w.createVisualMappings(this.option.controller,p,h),this.targetVisuals=w.createVisualMappings(this.option.target,p,h)},getTargetSeriesIndices:function(){var h=this.option.seriesIndex,p=[];return h==null||h==="all"?this.ecModel.eachSeries(function(A,C){p.push(C)}):p=f.normalizeToArray(h),p},eachTargetSeries:function(h,p){L.each(this.getTargetSeriesIndices(),function(A){h.call(p,this.ecModel.getSeriesByIndex(A))},this)},isTargetSeries:function(h){var p=!1;return this.eachTargetSeries(function(A){A===h&&(p=!0)}),p},formatValueText:function(h,p,A){var C=this.option,S=C.precision,E=this.dataBound,O=C.formatter,T,b;if(A=A||["<",">"],L.isArray(h)&&(h=h.slice(),T=!0),b=p?h:T?[x(h[0]),x(h[1])]:x(h),L.isString(O))return O.replace("{value}",T?b[0]:b).replace("{value2}",T?b[1]:b);if(L.isFunction(O))return T?O(h[0],h[1]):O(h);if(T)return h[0]===E[0]?A[0]+" "+b[1]:h[1]===E[1]?A[1]+" "+b[0]:b[0]+" - "+b[1];return b;function x(N){return N===E[0]?"min":N===E[1]?"max":(+N).toFixed(Math.min(S,20))}},resetExtent:function(){var h=this.option,p=n([h.min,h.max]);this._dataExtent=p},getDataDimension:function(h){var p=this.option.dimension,A=h.dimensions;if(p==null&&!A.length)return;if(p!=null)return h.getDimension(p);for(var C=h.dimensions,S=C.length-1;S>=0;S--){var E=C[S],O=h.getDimensionInfo(E);if(!O.isCalculationCoord)return E}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var h=this.ecModel,p=this.option,A={inRange:p.inRange,outOfRange:p.outOfRange},C=p.target||(p.target={}),S=p.controller||(p.controller={});L.merge(C,A),L.merge(S,A);var E=this.isCategory();O.call(this,C),O.call(this,S),T.call(this,C,"inRange","outOfRange"),b.call(this,S);function O(x){s(p.color)&&!x.inRange&&(x.inRange={color:p.color.slice().reverse()}),x.inRange=x.inRange||{color:h.get("gradientColor")},l(this.stateList,function(N){var D=x[N];if(L.isString(D)){var M=m.get(D,"active",E);M?(x[N]={},x[N][D]=M):delete x[N]}},this)}function T(x,N,D){var M=x[N],R=x[D];M&&!R&&(R=x[D]={},l(M,function(F,B){if(!y.isValidType(B))return;var z=m.get(B,"inactive",E);z!=null&&(R[B]=z,B==="color"&&!R.hasOwnProperty("opacity")&&!R.hasOwnProperty("colorAlpha")&&(R.opacity=[0,0]))}))}function b(x){var N=(x.inRange||{}).symbol||(x.outOfRange||{}).symbol,D=(x.inRange||{}).symbolSize||(x.outOfRange||{}).symbolSize,M=this.get("inactiveColor");l(this.stateList,function(R){var F=this.itemSize,B=x[R];B||(B=x[R]={color:E?M:[M]}),B.symbol==null&&(B.symbol=N&&L.clone(N)||(E?"roundRect":["roundRect"])),B.symbolSize==null&&(B.symbolSize=D&&L.clone(D)||(E?F[0]:[F[0],F[0]])),B.symbol=t(B.symbol,function(K){return K==="none"||K==="square"?"roundRect":K});var z=B.symbolSize;if(z!=null){var U=-Infinity;o(z,function(K){K>U&&(U=K)}),B.symbolSize=t(z,function(K){return c(K,[0,U],[0,F[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:r,getValueState:r,getVisualMeta:r}),i=u;Z.exports=i},rnm6:function(Z,_,e){(function(d){d(e("M0ff"))})(function(d){d.defineOption("placeholder","",function(a,t,o){var s=o&&o!=d.Init;if(t&&!s)a.on("blur",y),a.on("change",w),a.on("swapDoc",w),d.on(a.getInputField(),"compositionupdate",a.state.placeholderCompose=function(){m(a)}),w(a);else if(!t&&s){a.off("blur",y),a.off("change",w),a.off("swapDoc",w),d.off(a.getInputField(),"compositionupdate",a.state.placeholderCompose),L(a);var l=a.getWrapperElement();l.className=l.className.replace(" CodeMirror-empty","")}t&&!a.hasFocus()&&y(a)});function L(a){a.state.placeholder&&(a.state.placeholder.parentNode.removeChild(a.state.placeholder),a.state.placeholder=null)}function v(a){L(a);var t=a.state.placeholder=document.createElement("pre");t.style.cssText="height: 0; overflow: visible",t.style.direction=a.getOption("direction"),t.className="CodeMirror-placeholder CodeMirror-line-like";var o=a.getOption("placeholder");typeof o=="string"&&(o=document.createTextNode(o)),t.appendChild(o),a.display.lineSpace.insertBefore(t,a.display.lineSpace.firstChild)}function m(a){setTimeout(function(){var t=!1,o=a.getInputField();o.nodeName=="TEXTAREA"?t=!o.value:a.lineCount()==1&&(t=!/[^\u200b]/.test(o.querySelector(".CodeMirror-line").textContent)),t?v(a):L(a)},20)}function y(a){f(a)&&v(a)}function w(a){var t=a.getWrapperElement(),o=f(a);t.className=t.className.replace(" CodeMirror-empty","")+(o?" CodeMirror-empty":""),o?v(a):L(a)}function f(a){return a.lineCount()===1&&a.getLine(0)===""}})},"s/iv":function(Z,_,e){var d=e("hmv6"),L=Object.prototype,v=L.hasOwnProperty;function m(y){var w=this.__data__;return d?w[y]!==void 0:v.call(w,y)}Z.exports=m},s3Ku:function(Z,_,e){var d=e("Dz72"),L=e("Q6Bq"),v=L.extendComponentView({type:"geo",init:function(m,y){var w=new d(y,!0);this._mapDraw=w,this.group.add(w.group)},render:function(m,y,w,f){if(f&&f.type==="geoToggleSelect"&&f.from===this.uid)return;var a=this._mapDraw;m.get("show")?a.draw(m,y,w,this,f):this._mapDraw.group.removeAll(),this.group.silent=m.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});Z.exports=v},sAd1:function(Z,_){var e={};function d(v,m){e[v]=m}function L(v){return e[v]}_.register=d,_.get=L},sIxb:function(Z,_){function e(d){d.eachSeriesByType("map",function(L){var v=L.get("color"),m=L.getModel("itemStyle"),y=m.get("areaColor"),w=m.get("color")||v[L.seriesIndex%v.length];L.getData().setVisual({areaColor:y,color:w})})}Z.exports=e},sRpX:function(Z,_,e){var d=e("XVjW"),L=function(){var m=/[^.]+$/.exec(d&&d.keys&&d.keys.IE_PROTO||"");return m?"Symbol(src)_1."+m:""}();function v(m){return!!L&&L in m}Z.exports=v},sTJb:function(Z,_,e){var d=e("75WT"),L=e("diXd"),v=e("G+ZC"),m=e("cjY5"),y=e("oEo5"),w=function(t){v.call(this,t),L.call(this,t),m.call(this,t),this.id=t.id||d()};w.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,o){switch(this.draggable){case"horizontal":o=0;break;case"vertical":t=0;break}var s=this.transform;s||(s=this.transform=[1,0,0,1,0,0]),s[4]+=t,s[5]+=o,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,o){},attrKV:function(t,o){if(t==="position"||t==="scale"||t==="origin"){if(o){var s=this[t];s||(s=this[t]=[]),s[0]=o[0],s[1]=o[1]}}else this[t]=o},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,o){if(typeof t=="string")this.attrKV(t,o);else if(y.isObject(t))for(var s in t)t.hasOwnProperty(s)&&this.attrKV(s,t[s]);return this.dirty(!1),this},setClipPath:function(t){var o=this.__zr;o&&t.addSelfToZr(o),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=o,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var o=this.animators;if(o)for(var s=0;s<o.length;s++)t.animation.addAnimator(o[s]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var o=this.animators;if(o)for(var s=0;s<o.length;s++)t.animation.removeAnimator(o[s]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},y.mixin(w,m),y.mixin(w,v),y.mixin(w,L);var f=w;Z.exports=f},sVXF:function(Z,_,e){var d=e("Wa83"),L=d.min,v=d.max,m=d.scale,y=d.distance,w=d.add,f=d.clone,a=d.sub;function t(o,s,l,n){var c=[],r=[],u=[],i=[],h,p,A,C;if(n){A=[Infinity,Infinity],C=[-Infinity,-Infinity];for(var S=0,E=o.length;S<E;S++)L(A,A,o[S]),v(C,C,o[S]);L(A,A,n[0]),v(C,C,n[1])}for(var S=0,E=o.length;S<E;S++){var O=o[S];if(l)h=o[S?S-1:E-1],p=o[(S+1)%E];else if(S===0||S===E-1){c.push(f(o[S]));continue}else h=o[S-1],p=o[S+1];a(r,p,h),m(r,r,s);var T=y(O,h),b=y(O,p),x=T+b;x!==0&&(T/=x,b/=x),m(u,r,-T),m(i,r,b);var N=w([],O,u),D=w([],O,i);n&&(v(N,N,A),L(N,N,C),v(D,D,A),L(D,D,C)),c.push(N),c.push(D)}return l&&c.push(c.shift()),c}Z.exports=t},sVuC:function(Z,_,e){var d=e("oEo5"),L=d.createHashMap,v=d.isObject,m=d.map;function y(o){this.categories=o.categories||[],this._needCollect=o.needCollect,this._deduplication=o.deduplication,this._map}y.createByAxisModel=function(o){var s=o.option,l=s.data,n=l&&m(l,a);return new y({categories:n,needCollect:!n,deduplication:s.dedplication!==!1})};var w=y.prototype;w.getOrdinal=function(o){return f(this).get(o)},w.parseAndCollect=function(o){var s,l=this._needCollect;if(typeof o!="string"&&!l)return o;if(l&&!this._deduplication)return s=this.categories.length,this.categories[s]=o,s;var n=f(this);return s=n.get(o),s==null&&(l?(s=this.categories.length,this.categories[s]=o,n.set(o,s)):s=NaN),s};function f(o){return o._map||(o._map=L(o.categories))}function a(o){return v(o)&&o.value!=null?o.value:o+""}var t=y;Z.exports=t},sWW0:function(Z,_,e){"use strict";e.d(_,"a",function(){return o});function d(s,l){var n=Object.keys(s);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);l&&(c=c.filter(function(r){return Object.getOwnPropertyDescriptor(s,r).enumerable})),n.push.apply(n,c)}return n}function L(s){for(var l=1;l<arguments.length;l++){var n=arguments[l]!=null?arguments[l]:{};l%2?d(Object(n),!0).forEach(function(c){v(s,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(c){Object.defineProperty(s,c,Object.getOwnPropertyDescriptor(n,c))})}return s}function v(s,l,n){return l in s?Object.defineProperty(s,l,{value:n,enumerable:!0,configurable:!0,writable:!0}):s[l]=n,s}var m=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
||
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
||
charSet checked classID className colSpan cols content contentEditable contextMenu
|
||
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
||
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
||
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
||
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
||
mediaGroup method min minLength multiple muted name noValidate nonce open
|
||
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
||
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
||
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
||
summary tabIndex target title type useMap value width wmode wrap`,y=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
||
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
||
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
||
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
||
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
||
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
||
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,w="".concat(m," ").concat(y).split(/[\s\n]+/),f="aria-",a="data-";function t(s,l){return s.indexOf(l)===0}function o(s){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;l===!1?n={aria:!0,data:!0,attr:!0}:l===!0?n={aria:!0}:n=L({},l);var c={};return Object.keys(s).forEach(function(r){(n.aria&&(r==="role"||t(r,f))||n.data&&t(r,a)||n.attr&&w.includes(r))&&(c[r]=s[r])}),c}},sXHY:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};_.default=d},sXQx:function(Z,_,e){var d=e("Jjzi"),L=d.round;function v(f,a,t,o){var s={},l=f[1]-f[0],n=s.interval=d.nice(l/a,!0);t!=null&&n<t&&(n=s.interval=t),o!=null&&n>o&&(n=s.interval=o);var c=s.intervalPrecision=m(n),r=s.niceTickExtent=[L(Math.ceil(f[0]/n)*n,c),L(Math.floor(f[1]/n)*n,c)];return w(r,f),s}function m(f){return d.getPrecisionSafe(f)+2}function y(f,a,t){f[a]=Math.max(Math.min(f[a],t[1]),t[0])}function w(f,a){!isFinite(f[0])&&(f[0]=a[0]),!isFinite(f[1])&&(f[1]=a[1]),y(f,0,a),y(f,1,a),f[0]>f[1]&&(f[0]=f[1])}_.intervalScaleNiceTicks=v,_.getIntervalPrecision=m,_.fixExtent=w},sY1U:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("ZZRV"),w=e.n(y),f=e("iczh"),a=e.n(f),t=e("LpVx"),o=function(l,n){var c={};for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&n.indexOf(r)<0&&(c[r]=l[r]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,r=Object.getOwnPropertySymbols(l);u<r.length;u++)n.indexOf(r[u])<0&&Object.prototype.propertyIsEnumerable.call(l,r[u])&&(c[r[u]]=l[r[u]]);return c},s=function(n){return y.createElement(t.a,null,function(c){var r,u=c.getPrefixCls,i=c.direction,h=n.prefixCls,p=n.type,A=p===void 0?"horizontal":p,C=n.orientation,S=C===void 0?"center":C,E=n.className,O=n.children,T=n.dashed,b=n.plain,x=o(n,["prefixCls","type","orientation","className","children","dashed","plain"]),N=u("divider",h),D=S.length>0?"-".concat(S):S,M=!!O,R=a()(E,N,"".concat(N,"-").concat(A),(r={},m()(r,"".concat(N,"-with-text"),M),m()(r,"".concat(N,"-with-text").concat(D),M),m()(r,"".concat(N,"-dashed"),!!T),m()(r,"".concat(N,"-plain"),!!b),m()(r,"".concat(N,"-rtl"),i==="rtl"),r));return y.createElement("div",L()({className:R},x,{role:"separator"}),O&&y.createElement("span",{className:"".concat(N,"-inner-text")},O))})};_.a=s},sYNl:function(Z,_,e){(function(d){d(e("M0ff"))})(function(d){"use strict";var L=d.Pos;function v(i,h){return i.line-h.line||i.ch-h.ch}var m="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",y=m+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",w=new RegExp("<(/?)(["+m+"]["+y+"]*)","g");function f(i,h,p,A){this.line=h,this.ch=p,this.cm=i,this.text=i.getLine(h),this.min=A?Math.max(A.from,i.firstLine()):i.firstLine(),this.max=A?Math.min(A.to-1,i.lastLine()):i.lastLine()}function a(i,h){var p=i.cm.getTokenTypeAt(L(i.line,h));return p&&/\btag\b/.test(p)}function t(i){return i.line>=i.max?void 0:(i.ch=0,i.text=i.cm.getLine(++i.line),!0)}function o(i){return i.line<=i.min?void 0:(i.text=i.cm.getLine(--i.line),i.ch=i.text.length,!0)}function s(i){for(;;){var h=i.text.indexOf(">",i.ch);if(h==-1){if(t(i))continue;return}if(!a(i,h+1)){i.ch=h+1;continue}var p=i.text.lastIndexOf("/",h),A=p>-1&&!/\S/.test(i.text.slice(p+1,h));return i.ch=h+1,A?"selfClose":"regular"}}function l(i){for(;;){var h=i.ch?i.text.lastIndexOf("<",i.ch-1):-1;if(h==-1){if(o(i))continue;return}if(!a(i,h+1)){i.ch=h;continue}w.lastIndex=h,i.ch=h;var p=w.exec(i.text);if(p&&p.index==h)return p}}function n(i){for(;;){w.lastIndex=i.ch;var h=w.exec(i.text);if(!h){if(t(i))continue;return}if(!a(i,h.index+1)){i.ch=h.index+1;continue}return i.ch=h.index+h[0].length,h}}function c(i){for(;;){var h=i.ch?i.text.lastIndexOf(">",i.ch-1):-1;if(h==-1){if(o(i))continue;return}if(!a(i,h+1)){i.ch=h;continue}var p=i.text.lastIndexOf("/",h),A=p>-1&&!/\S/.test(i.text.slice(p+1,h));return i.ch=h+1,A?"selfClose":"regular"}}function r(i,h){for(var p=[];;){var A=n(i),C,S=i.line,E=i.ch-(A?A[0].length:0);if(!A||!(C=s(i)))return;if(C=="selfClose")continue;if(A[1]){for(var O=p.length-1;O>=0;--O)if(p[O]==A[2]){p.length=O;break}if(O<0&&(!h||h==A[2]))return{tag:A[2],from:L(S,E),to:L(i.line,i.ch)}}else p.push(A[2])}}function u(i,h){for(var p=[];;){var A=c(i);if(!A)return;if(A=="selfClose"){l(i);continue}var C=i.line,S=i.ch,E=l(i);if(!E)return;if(E[1])p.push(E[2]);else{for(var O=p.length-1;O>=0;--O)if(p[O]==E[2]){p.length=O;break}if(O<0&&(!h||h==E[2]))return{tag:E[2],from:L(i.line,i.ch),to:L(C,S)}}}}d.registerHelper("fold","xml",function(i,h){for(var p=new f(i,h.line,0);;){var A=n(p);if(!A||p.line!=h.line)return;var C=s(p);if(!C)return;if(!A[1]&&C!="selfClose"){var S=L(p.line,p.ch),E=r(p,A[2]);return E&&v(E.from,S)>0?{from:S,to:E.from}:null}}}),d.findMatchingTag=function(i,h,p){var A=new f(i,h.line,h.ch,p);if(A.text.indexOf(">")==-1&&A.text.indexOf("<")==-1)return;var C=s(A),S=C&&L(A.line,A.ch),E=C&&l(A);if(!C||!E||v(A,h)>0)return;var O={from:L(A.line,A.ch),to:S,tag:E[2]};return C=="selfClose"?{open:O,close:null,at:"open"}:E[1]?{open:u(A,E[2]),close:O,at:"close"}:(A=new f(i,S.line,S.ch,p),{open:O,close:r(A,E[2]),at:"open"})},d.findEnclosingTag=function(i,h,p,A){for(var C=new f(i,h.line,h.ch,p);;){var S=u(C,A);if(!S)break;var E=new f(i,h.line,h.ch,p),O=r(E,S.tag);if(O)return{open:S,close:O}}},d.scanForClosingTag=function(i,h,p,A){var C=new f(i,h.line,h.ch,A?{from:0,to:A}:null);return r(C,p)}})},sYRh:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=e("mJ8l"),y=e("tCtF"),w=e("fEzB"),f=e("Jjzi"),a=e("9OCn"),t=a.prepareLayoutBarSeries,o=a.makeColumnLayout,s=a.retrieveColumnLayout,l=e("ie0D");e("n7fI"),e("XPpp");function n(O,T){var b=O.type,x=T.getMin(),N=T.getMax(),D=O.getExtent(),M,R,F;b==="ordinal"?M=T.getCategories().length:(R=T.get("boundaryGap"),v.isArray(R)||(R=[R||0,R||0]),typeof R[0]=="boolean"&&(R=[0,0]),R[0]=f.parsePercent(R[0],1),R[1]=f.parsePercent(R[1],1),F=D[1]-D[0]||Math.abs(D[0])),x==="dataMin"?x=D[0]:typeof x=="function"&&(x=x({min:D[0],max:D[1]})),N==="dataMax"?N=D[1]:typeof N=="function"&&(N=N({min:D[0],max:D[1]}));var B=x!=null,z=N!=null;x==null&&(x=b==="ordinal"?M?0:NaN:D[0]-R[0]*F),N==null&&(N=b==="ordinal"?M?M-1:NaN:D[1]+R[1]*F),(x==null||!isFinite(x))&&(x=NaN),(N==null||!isFinite(N))&&(N=NaN),O.setBlank(v.eqNaN(x)||v.eqNaN(N)||b==="ordinal"&&!O.getOrdinalMeta().categories.length),T.getNeedCrossZero()&&(x>0&&N>0&&!B&&(x=0),x<0&&N<0&&!z&&(N=0));var U=T.ecModel;if(U&&b==="time"){var K=t("bar",U),W;if(v.each(K,function(Q){W|=Q.getBaseAxis()===T.axis}),W){var H=o(K),Y=c(x,N,T,H);x=Y.min,N=Y.max}}return{extent:[x,N],fixMin:B,fixMax:z}}function c(O,T,b,x){var N=b.axis.getExtent(),D=N[1]-N[0],M=s(x,b.axis);if(M===void 0)return{min:O,max:T};var R=Infinity;v.each(M,function(W){R=Math.min(W.offset,R)});var F=-Infinity;v.each(M,function(W){F=Math.max(W.offset+W.width,F)}),R=Math.abs(R),F=Math.abs(F);var B=R+F,z=T-O,U=1-(R+F)/D,K=z/U-z;return T+=K*(F/B),O-=K*(R/B),{min:O,max:T}}function r(O,T){var b=n(O,T),x=b.extent,N=T.get("splitNumber");O.type==="log"&&(O.base=T.get("logBase"));var D=O.type;O.setExtent(x[0],x[1]),O.niceExtent({splitNumber:N,fixMin:b.fixMin,fixMax:b.fixMax,minInterval:D==="interval"||D==="time"?T.get("minInterval"):null,maxInterval:D==="interval"||D==="time"?T.get("maxInterval"):null});var M=T.get("interval");M!=null&&(O.setInterval&&O.setInterval(M))}function u(O,T){if(T=T||O.get("type"),T)switch(T){case"category":return new m(O.getOrdinalMeta?O.getOrdinalMeta():O.getCategories(),[Infinity,-Infinity]);case"value":return new y;default:return(w.getClass(T)||y).create(O)}}function i(O){var T=O.scale.getExtent(),b=T[0],x=T[1];return!(b>0&&x>0||b<0&&x<0)}function h(O){var T=O.getLabelModel().get("formatter"),b=O.type==="category"?O.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(x){return function(N){return N=O.scale.getLabel(N),x.replace("{value}",N!=null?N:"")}}(T),T):typeof T=="function"?function(x,N){return b!=null&&(N=x-b),T(p(O,x),N)}:function(x){return O.scale.getLabel(x)}}function p(O,T){return O.type==="category"?O.scale.getLabel(T):T}function A(O){var T=O.model,b=O.scale;if(!T.get("axisLabel.show")||b.isBlank())return;var x=O.type==="category",N,D,M=b.getExtent();x?D=b.count():(N=b.getTicks(),D=N.length);var R=O.getLabelModel(),F=h(O),B,z=1;D>40&&(z=Math.ceil(D/40));for(var U=0;U<D;U+=z){var K=N?N[U]:M[0]+U,W=F(K),H=R.getTextRect(W),Y=C(H,R.get("rotate")||0);B?B.union(Y):B=Y}return B}function C(O,T){var b=T*Math.PI/180,x=O.plain(),N=x.width,D=x.height,M=N*Math.abs(Math.cos(b))+Math.abs(D*Math.sin(b)),R=N*Math.abs(Math.sin(b))+Math.abs(D*Math.cos(b)),F=new l(x.x,x.y,M,R);return F}function S(O){var T=O.get("interval");return T==null?"auto":T}function E(O){return O.type==="category"&&S(O.getLabelModel())===0}_.getScaleExtent=n,_.niceScaleExtent=r,_.createScaleByModel=u,_.ifAxisCrossZero=i,_.makeLabelFormatter=h,_.getAxisRawValue=p,_.estimateLabelUnionRect=A,_.getOptionCategoryInterval=S,_.shouldShowAllLabels=E},saPB:function(Z,_,e){(function(L,v){Z.exports=v()})(typeof self!="undefined"?self:this,function(){return function(d){var L={};function v(m){if(L[m])return L[m].exports;var y=L[m]={i:m,l:!1,exports:{}};return d[m].call(y.exports,y,y.exports,v),y.l=!0,y.exports}return v.m=d,v.c=L,v.d=function(m,y,w){v.o(m,y)||Object.defineProperty(m,y,{enumerable:!0,get:w})},v.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},v.t=function(m,y){if(y&1&&(m=v(m)),y&8)return m;if(y&4&&typeof m=="object"&&m&&m.__esModule)return m;var w=Object.create(null);if(v.r(w),Object.defineProperty(w,"default",{enumerable:!0,value:m}),y&2&&typeof m!="string")for(var f in m)v.d(w,f,function(a){return m[a]}.bind(null,f));return w},v.n=function(m){var y=m&&m.__esModule?function(){return m.default}:function(){return m};return v.d(y,"a",y),y},v.o=function(m,y){return Object.prototype.hasOwnProperty.call(m,y)},v.p="",v(v.s=1)}([function(d,L,v){},function(d,L,v){"use strict";v.r(L);var m=v(0),y=function(){function _t(ne,ue,fe){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=ne,this.start=ue,this.end=fe}return _t.range=function(ue,fe){return fe?!ue||!ue.loc||!fe.loc||ue.loc.lexer!==fe.loc.lexer?null:new _t(ue.loc.lexer,ue.loc.start,fe.loc.end):ue&&ue.loc},_t}(),w=function(){function _t(ue,fe){this.text=void 0,this.loc=void 0,this.text=ue,this.loc=fe}var ne=_t.prototype;return ne.range=function(fe,Oe){return new _t(Oe,y.range(this,fe))},_t}(),f=function _t(ne,ue){this.position=void 0;var fe="KaTeX parse error: "+ne,Oe,ot=ue&&ue.loc;if(ot&&ot.start<=ot.end){var Bt=ot.lexer.input;Oe=ot.start;var hr=ot.end;Oe===Bt.length?fe+=" at end of input: ":fe+=" at position "+(Oe+1)+": ";var Ar=Bt.slice(Oe,hr).replace(/[^]/g,"$&\u0332"),Nr;Oe>15?Nr="\u2026"+Bt.slice(Oe-15,Oe):Nr=Bt.slice(0,Oe);var qr;hr+15<Bt.length?qr=Bt.slice(hr,hr+15)+"\u2026":qr=Bt.slice(hr),fe+=Nr+Ar+qr}var sn=new Error(fe);return sn.name="ParseError",sn.__proto__=_t.prototype,sn.position=Oe,sn};f.prototype.__proto__=Error.prototype;var a=f,t=function(ne,ue){return ne.indexOf(ue)!==-1},o=function(ne,ue){return ne===void 0?ue:ne},s=/([A-Z])/g,l=function(ne){return ne.replace(s,"-$1").toLowerCase()},n={"&":"&",">":">","<":"<",'"':""","'":"'"},c=/[&><"']/g;function r(_t){return String(_t).replace(c,function(ne){return n[ne]})}var u=function _t(ne){return ne.type==="ordgroup"||ne.type==="color"?ne.body.length===1?_t(ne.body[0]):ne:ne.type==="font"?_t(ne.body):ne},i=function(ne){var ue=u(ne);return ue.type==="mathord"||ue.type==="textord"||ue.type==="atom"},h=function(ne){if(!ne)throw new Error("Expected non-null, but got "+String(ne));return ne},p=function(ne){var ue=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(ne);return ue!=null?ue[1]:"_relative"},A={contains:t,deflt:o,escape:r,hyphenate:l,getBaseElem:u,isCharacterBox:i,protocolFromUrl:p},C=function(){function _t(ue){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,ue=ue||{},this.displayMode=A.deflt(ue.displayMode,!1),this.output=A.deflt(ue.output,"htmlAndMathml"),this.leqno=A.deflt(ue.leqno,!1),this.fleqn=A.deflt(ue.fleqn,!1),this.throwOnError=A.deflt(ue.throwOnError,!0),this.errorColor=A.deflt(ue.errorColor,"#cc0000"),this.macros=ue.macros||{},this.minRuleThickness=Math.max(0,A.deflt(ue.minRuleThickness,0)),this.colorIsTextColor=A.deflt(ue.colorIsTextColor,!1),this.strict=A.deflt(ue.strict,"warn"),this.trust=A.deflt(ue.trust,!1),this.maxSize=Math.max(0,A.deflt(ue.maxSize,Infinity)),this.maxExpand=Math.max(0,A.deflt(ue.maxExpand,1e3))}var ne=_t.prototype;return ne.reportNonstrict=function(fe,Oe,ot){var Bt=this.strict;if(typeof Bt=="function"&&(Bt=Bt(fe,Oe,ot)),!Bt||Bt==="ignore")return;if(Bt===!0||Bt==="error")throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+(Oe+" ["+fe+"]"),ot);Bt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Oe+" ["+fe+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Bt+"': "+Oe+" ["+fe+"]"))},ne.useStrictBehavior=function(fe,Oe,ot){var Bt=this.strict;if(typeof Bt=="function")try{Bt=Bt(fe,Oe,ot)}catch(hr){Bt="error"}return!Bt||Bt==="ignore"?!1:Bt===!0||Bt==="error"?!0:Bt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Oe+" ["+fe+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Bt+"': "+Oe+" ["+fe+"]")),!1)},ne.isTrusted=function(fe){fe.url&&!fe.protocol&&(fe.protocol=A.protocolFromUrl(fe.url));var Oe=typeof this.trust=="function"?this.trust(fe):this.trust;return Boolean(Oe)},_t}(),S=function(){function _t(ue,fe,Oe){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=ue,this.size=fe,this.cramped=Oe}var ne=_t.prototype;return ne.sup=function(){return R[F[this.id]]},ne.sub=function(){return R[B[this.id]]},ne.fracNum=function(){return R[z[this.id]]},ne.fracDen=function(){return R[U[this.id]]},ne.cramp=function(){return R[K[this.id]]},ne.text=function(){return R[W[this.id]]},ne.isTight=function(){return this.size>=2},_t}(),E=0,O=1,T=2,b=3,x=4,N=5,D=6,M=7,R=[new S(E,0,!1),new S(O,0,!0),new S(T,1,!1),new S(b,1,!0),new S(x,2,!1),new S(N,2,!0),new S(D,3,!1),new S(M,3,!0)],F=[x,N,x,N,D,M,D,M],B=[N,N,N,N,M,M,M,M],z=[T,b,x,N,D,M,D,M],U=[b,b,N,N,M,M,M,M],K=[O,O,b,b,N,N,M,M],W=[E,O,T,b,T,b,T,b],H={DISPLAY:R[E],TEXT:R[T],SCRIPT:R[x],SCRIPTSCRIPT:R[D]},Y=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Q(_t){for(var ne=0;ne<Y.length;ne++)for(var ue=Y[ne],fe=0;fe<ue.blocks.length;fe++){var Oe=ue.blocks[fe];if(_t>=Oe[0]&&_t<=Oe[1])return ue.name}return null}var P=[];Y.forEach(function(_t){return _t.blocks.forEach(function(ne){return P.push.apply(P,ne)})});function G(_t){for(var ne=0;ne<P.length;ne+=2)if(_t>=P[ne]&&_t<=P[ne+1])return!0;return!1}var J=80,he=function(ne,ue){return"M95,"+(622+ne+ue)+`
|
||
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
||
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
||
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
||
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
||
c69,-144,104.5,-217.7,106.5,-221
|
||
l`+ne/2.075+" -"+ne+`
|
||
c5.3,-9.3,12,-14,20,-14
|
||
H400000v`+(40+ne)+`H845.2724
|
||
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
||
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
||
M`+(834+ne)+" "+ue+"h400000v"+(40+ne)+"h-400000z"},te=function(ne,ue){return"M263,"+(601+ne+ue)+`c0.7,0,18,39.7,52,119
|
||
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
||
c340,-704.7,510.7,-1060.3,512,-1067
|
||
l`+ne/2.084+" -"+ne+`
|
||
c4.7,-7.3,11,-11,19,-11
|
||
H40000v`+(40+ne)+`H1012.3
|
||
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
||
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
||
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
||
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
||
M`+(1001+ne)+" "+ue+"h400000v"+(40+ne)+"h-400000z"},pe=function(ne,ue){return"M983 "+(10+ne+ue)+`
|
||
l`+ne/3.13+" -"+ne+`
|
||
c4,-6.7,10,-10,18,-10 H400000v`+(40+ne)+`
|
||
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
||
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
||
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
||
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
||
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
||
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
||
M`+(1001+ne)+" "+ue+"h400000v"+(40+ne)+"h-400000z"},we=function(ne,ue){return"M424,"+(2398+ne+ue)+`
|
||
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
||
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
||
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
||
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
||
l`+ne/4.223+" -"+ne+`c4,-6.7,10,-10,18,-10 H400000
|
||
v`+(40+ne)+`H1014.6
|
||
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
||
c-2,6,-10,9,-24,9
|
||
c-8,0,-12,-0.7,-12,-2z M`+(1001+ne)+" "+ue+`
|
||
h400000v`+(40+ne)+"h-400000z"},be=function(ne,ue){return"M473,"+(2713+ne+ue)+`
|
||
c339.3,-1799.3,509.3,-2700,510,-2702 l`+ne/5.298+" -"+ne+`
|
||
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+ne)+`H1017.7
|
||
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
||
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
||
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
||
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
||
606zM`+(1001+ne)+" "+ue+"h400000v"+(40+ne)+"H1017.7z"},Qe=function(ne,ue,fe){var Oe=fe-54-ue-ne;return"M702 "+(ne+ue)+"H400000"+(40+ne)+`
|
||
H742v`+Oe+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
||
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
||
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
||
219 661 l218 661zM702 `+ue+"H400000v"+(40+ne)+"H742z"},$e=function(ne,ue,fe){ue=1e3*ue;var Oe="";switch(ne){case"sqrtMain":Oe=he(ue,J);break;case"sqrtSize1":Oe=te(ue,J);break;case"sqrtSize2":Oe=pe(ue,J);break;case"sqrtSize3":Oe=we(ue,J);break;case"sqrtSize4":Oe=be(ue,J);break;case"sqrtTall":Oe=Qe(ue,J,fe)}return Oe},yt={doubleleftarrow:`M262 157
|
||
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
||
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
||
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
||
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
||
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
||
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
||
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
||
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
||
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
||
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
||
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
||
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
||
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
||
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
||
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
||
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
||
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
||
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
||
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
||
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
||
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
||
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
||
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
||
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
||
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
||
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
||
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
||
435 0h399565z`,leftgroupunder:`M400000 262
|
||
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
||
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
||
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
||
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
||
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
||
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
||
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
||
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
||
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
||
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
||
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
||
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
||
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
||
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
||
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
||
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
||
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
||
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
||
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
||
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
||
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
||
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
||
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
||
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
||
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
||
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
||
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
||
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
||
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
||
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
||
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
||
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
||
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
||
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
||
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
||
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
||
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
||
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
||
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
||
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
||
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
||
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
||
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
||
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
||
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
||
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
||
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
||
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
||
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
||
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
||
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
||
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
||
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
||
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
||
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
||
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
||
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
||
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
||
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
||
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
||
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
||
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
||
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
||
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
||
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
||
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
||
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
||
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
||
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
||
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
||
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
||
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
||
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
||
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
||
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
||
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
||
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
||
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
||
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
||
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
||
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
||
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
||
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
||
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
||
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
||
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
||
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
||
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
||
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
||
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
||
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
||
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
||
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
||
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
||
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
||
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
||
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
||
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
||
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
||
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
||
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
||
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
||
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
||
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
||
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
||
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
||
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
||
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
||
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
||
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
||
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
||
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
||
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
||
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
||
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
||
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
||
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
||
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
||
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
||
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
||
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
||
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
||
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
||
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
||
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
||
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
||
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
||
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
||
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
||
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
||
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
||
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
||
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
||
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
||
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
||
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
||
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
||
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
||
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
||
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
||
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
||
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
||
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
||
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
||
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
||
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
||
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Fe=function(){function _t(ue){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=ue,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var ne=_t.prototype;return ne.hasClass=function(fe){return A.contains(this.classes,fe)},ne.toNode=function(){for(var fe=document.createDocumentFragment(),Oe=0;Oe<this.children.length;Oe++)fe.appendChild(this.children[Oe].toNode());return fe},ne.toMarkup=function(){for(var fe="",Oe=0;Oe<this.children.length;Oe++)fe+=this.children[Oe].toMarkup();return fe},ne.toText=function(){var fe=function(ot){return ot.toText()};return this.children.map(fe).join("")},_t}(),Pe=function(ne){return ne.filter(function(ue){return ue}).join(" ")},gt=function(ne,ue,fe){if(this.classes=ne||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=fe||{},ue){ue.style.isTight()&&this.classes.push("mtight");var Oe=ue.getColor();Oe&&(this.style.color=Oe)}},it=function(ne){var ue=document.createElement(ne);ue.className=Pe(this.classes);for(var fe in this.style)this.style.hasOwnProperty(fe)&&(ue.style[fe]=this.style[fe]);for(var Oe in this.attributes)this.attributes.hasOwnProperty(Oe)&&ue.setAttribute(Oe,this.attributes[Oe]);for(var ot=0;ot<this.children.length;ot++)ue.appendChild(this.children[ot].toNode());return ue},qe=function(ne){var ue="<"+ne;this.classes.length&&(ue+=' class="'+A.escape(Pe(this.classes))+'"');var fe="";for(var Oe in this.style)this.style.hasOwnProperty(Oe)&&(fe+=A.hyphenate(Oe)+":"+this.style[Oe]+";");fe&&(ue+=' style="'+A.escape(fe)+'"');for(var ot in this.attributes)this.attributes.hasOwnProperty(ot)&&(ue+=" "+ot+'="'+A.escape(this.attributes[ot])+'"');ue+=">";for(var Bt=0;Bt<this.children.length;Bt++)ue+=this.children[Bt].toMarkup();return ue+="</"+ne+">",ue},At=function(){function _t(ue,fe,Oe,ot){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,gt.call(this,ue,Oe,ot),this.children=fe||[]}var ne=_t.prototype;return ne.setAttribute=function(fe,Oe){this.attributes[fe]=Oe},ne.hasClass=function(fe){return A.contains(this.classes,fe)},ne.toNode=function(){return it.call(this,"span")},ne.toMarkup=function(){return qe.call(this,"span")},_t}(),dt=function(){function _t(ue,fe,Oe,ot){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,gt.call(this,fe,ot),this.children=Oe||[],this.setAttribute("href",ue)}var ne=_t.prototype;return ne.setAttribute=function(fe,Oe){this.attributes[fe]=Oe},ne.hasClass=function(fe){return A.contains(this.classes,fe)},ne.toNode=function(){return it.call(this,"a")},ne.toMarkup=function(){return qe.call(this,"a")},_t}(),wt=function(){function _t(ue,fe,Oe){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=fe,this.src=ue,this.classes=["mord"],this.style=Oe}var ne=_t.prototype;return ne.hasClass=function(fe){return A.contains(this.classes,fe)},ne.toNode=function(){var fe=document.createElement("img");fe.src=this.src,fe.alt=this.alt,fe.className="mord";for(var Oe in this.style)this.style.hasOwnProperty(Oe)&&(fe.style[Oe]=this.style[Oe]);return fe},ne.toMarkup=function(){var fe="<img src='"+this.src+" 'alt='"+this.alt+"' ",Oe="";for(var ot in this.style)this.style.hasOwnProperty(ot)&&(Oe+=A.hyphenate(ot)+":"+this.style[ot]+";");return Oe&&(fe+=' style="'+A.escape(Oe)+'"'),fe+="'/>",fe},_t}(),Ye={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},mt=function(){function _t(ue,fe,Oe,ot,Bt,hr,Ar,Nr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=ue,this.height=fe||0,this.depth=Oe||0,this.italic=ot||0,this.skew=Bt||0,this.width=hr||0,this.classes=Ar||[],this.style=Nr||{},this.maxFontSize=0;var qr=Q(this.text.charCodeAt(0));qr&&this.classes.push(qr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Ye[this.text])}var ne=_t.prototype;return ne.hasClass=function(fe){return A.contains(this.classes,fe)},ne.toNode=function(){var fe=document.createTextNode(this.text),Oe=null;this.italic>0&&(Oe=document.createElement("span"),Oe.style.marginRight=this.italic+"em"),this.classes.length>0&&(Oe=Oe||document.createElement("span"),Oe.className=Pe(this.classes));for(var ot in this.style)this.style.hasOwnProperty(ot)&&(Oe=Oe||document.createElement("span"),Oe.style[ot]=this.style[ot]);return Oe?(Oe.appendChild(fe),Oe):fe},ne.toMarkup=function(){var fe=!1,Oe="<span";this.classes.length&&(fe=!0,Oe+=' class="',Oe+=A.escape(Pe(this.classes)),Oe+='"');var ot="";this.italic>0&&(ot+="margin-right:"+this.italic+"em;");for(var Bt in this.style)this.style.hasOwnProperty(Bt)&&(ot+=A.hyphenate(Bt)+":"+this.style[Bt]+";");ot&&(fe=!0,Oe+=' style="'+A.escape(ot)+'"');var hr=A.escape(this.text);return fe?(Oe+=">",Oe+=hr,Oe+="</span>",Oe):hr},_t}(),Ue=function(){function _t(ue,fe){this.children=void 0,this.attributes=void 0,this.children=ue||[],this.attributes=fe||{}}var ne=_t.prototype;return ne.toNode=function(){var fe="http://www.w3.org/2000/svg",Oe=document.createElementNS(fe,"svg");for(var ot in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ot)&&Oe.setAttribute(ot,this.attributes[ot]);for(var Bt=0;Bt<this.children.length;Bt++)Oe.appendChild(this.children[Bt].toNode());return Oe},ne.toMarkup=function(){var fe="<svg";for(var Oe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Oe)&&(fe+=" "+Oe+"='"+this.attributes[Oe]+"'");fe+=">";for(var ot=0;ot<this.children.length;ot++)fe+=this.children[ot].toMarkup();return fe+="</svg>",fe},_t}(),Re=function(){function _t(ue,fe){this.pathName=void 0,this.alternate=void 0,this.pathName=ue,this.alternate=fe}var ne=_t.prototype;return ne.toNode=function(){var fe="http://www.w3.org/2000/svg",Oe=document.createElementNS(fe,"path");return this.alternate?Oe.setAttribute("d",this.alternate):Oe.setAttribute("d",yt[this.pathName]),Oe},ne.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+yt[this.pathName]+"'/>"},_t}(),Le=function(){function _t(ue){this.attributes=void 0,this.attributes=ue||{}}var ne=_t.prototype;return ne.toNode=function(){var fe="http://www.w3.org/2000/svg",Oe=document.createElementNS(fe,"line");for(var ot in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ot)&&Oe.setAttribute(ot,this.attributes[ot]);return Oe},ne.toMarkup=function(){var fe="<line";for(var Oe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Oe)&&(fe+=" "+Oe+"='"+this.attributes[Oe]+"'");return fe+="/>",fe},_t}();function at(_t){if(_t instanceof mt)return _t;throw new Error("Expected symbolNode but got "+String(_t)+".")}function Ot(_t){if(_t instanceof At)return _t;throw new Error("Expected span<HtmlDomNode> but got "+String(_t)+".")}var Tt={"AMS-Regular":{"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"163":[0,.69444,0,0,.86853],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"163":[0,.69444,0,0,.76909],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"305":[0,.43056,0,.02778,.32246],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"567":[.19444,.43056,0,.08334,.38403],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.12,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,1],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.67,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.9,0,0,.278],"8943":[-.19,.31,0,0,1.172],"8945":[-.1,.82,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.744,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.744,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333]},"Math-Italic":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"Math-Regular":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212]},"Size1-Regular":{"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},Ft={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},ke={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Vt(_t,ne){Tt[_t]=ne}function bt(_t,ne,ue){if(!Tt[ne])throw new Error("Font metrics not found for font: "+ne+".");var fe=_t.charCodeAt(0),Oe=Tt[ne][fe];if(!Oe&&_t[0]in ke&&(fe=ke[_t[0]].charCodeAt(0),Oe=Tt[ne][fe]),!Oe&&ue==="text"&&(G(fe)&&(Oe=Tt[ne][77])),Oe)return{depth:Oe[0],height:Oe[1],italic:Oe[2],skew:Oe[3],width:Oe[4]}}var Rt={};function Nt(_t){var ne;if(_t>=5?ne=0:_t>=3?ne=1:ne=2,!Rt[ne]){var ue=Rt[ne]={cssEmPerMu:Ft.quad[ne]/18};for(var fe in Ft)Ft.hasOwnProperty(fe)&&(ue[fe]=Ft[fe][ne])}return Rt[ne]}var xt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ut={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ze={math:{},text:{}},ze=Ze;function re(_t,ne,ue,fe,Oe,ot){Ze[_t][Oe]={font:ne,group:ue,replace:fe},ot&&fe&&(Ze[_t][fe]=Ze[_t][Oe])}var le="math",Xe="text",_e="main",je="ams",ar="accent-token",zt="bin",Pt="close",qt="inner",or="mathord",Kt="op-token",Mt="open",me="punct",ce="rel",ae="spacing",de="textord";re(le,_e,ce,"\u2261","\\equiv",!0),re(le,_e,ce,"\u227A","\\prec",!0),re(le,_e,ce,"\u227B","\\succ",!0),re(le,_e,ce,"\u223C","\\sim",!0),re(le,_e,ce,"\u22A5","\\perp"),re(le,_e,ce,"\u2AAF","\\preceq",!0),re(le,_e,ce,"\u2AB0","\\succeq",!0),re(le,_e,ce,"\u2243","\\simeq",!0),re(le,_e,ce,"\u2223","\\mid",!0),re(le,_e,ce,"\u226A","\\ll",!0),re(le,_e,ce,"\u226B","\\gg",!0),re(le,_e,ce,"\u224D","\\asymp",!0),re(le,_e,ce,"\u2225","\\parallel"),re(le,_e,ce,"\u22C8","\\bowtie",!0),re(le,_e,ce,"\u2323","\\smile",!0),re(le,_e,ce,"\u2291","\\sqsubseteq",!0),re(le,_e,ce,"\u2292","\\sqsupseteq",!0),re(le,_e,ce,"\u2250","\\doteq",!0),re(le,_e,ce,"\u2322","\\frown",!0),re(le,_e,ce,"\u220B","\\ni",!0),re(le,_e,ce,"\u221D","\\propto",!0),re(le,_e,ce,"\u22A2","\\vdash",!0),re(le,_e,ce,"\u22A3","\\dashv",!0),re(le,_e,ce,"\u220B","\\owns"),re(le,_e,me,".","\\ldotp"),re(le,_e,me,"\u22C5","\\cdotp"),re(le,_e,de,"#","\\#"),re(Xe,_e,de,"#","\\#"),re(le,_e,de,"&","\\&"),re(Xe,_e,de,"&","\\&"),re(le,_e,de,"\u2135","\\aleph",!0),re(le,_e,de,"\u2200","\\forall",!0),re(le,_e,de,"\u210F","\\hbar",!0),re(le,_e,de,"\u2203","\\exists",!0),re(le,_e,de,"\u2207","\\nabla",!0),re(le,_e,de,"\u266D","\\flat",!0),re(le,_e,de,"\u2113","\\ell",!0),re(le,_e,de,"\u266E","\\natural",!0),re(le,_e,de,"\u2663","\\clubsuit",!0),re(le,_e,de,"\u2118","\\wp",!0),re(le,_e,de,"\u266F","\\sharp",!0),re(le,_e,de,"\u2662","\\diamondsuit",!0),re(le,_e,de,"\u211C","\\Re",!0),re(le,_e,de,"\u2661","\\heartsuit",!0),re(le,_e,de,"\u2111","\\Im",!0),re(le,_e,de,"\u2660","\\spadesuit",!0),re(Xe,_e,de,"\xA7","\\S",!0),re(Xe,_e,de,"\xB6","\\P",!0),re(le,_e,de,"\u2020","\\dag"),re(Xe,_e,de,"\u2020","\\dag"),re(Xe,_e,de,"\u2020","\\textdagger"),re(le,_e,de,"\u2021","\\ddag"),re(Xe,_e,de,"\u2021","\\ddag"),re(Xe,_e,de,"\u2021","\\textdaggerdbl"),re(le,_e,Pt,"\u23B1","\\rmoustache",!0),re(le,_e,Mt,"\u23B0","\\lmoustache",!0),re(le,_e,Pt,"\u27EF","\\rgroup",!0),re(le,_e,Mt,"\u27EE","\\lgroup",!0),re(le,_e,zt,"\u2213","\\mp",!0),re(le,_e,zt,"\u2296","\\ominus",!0),re(le,_e,zt,"\u228E","\\uplus",!0),re(le,_e,zt,"\u2293","\\sqcap",!0),re(le,_e,zt,"\u2217","\\ast"),re(le,_e,zt,"\u2294","\\sqcup",!0),re(le,_e,zt,"\u25EF","\\bigcirc"),re(le,_e,zt,"\u2219","\\bullet"),re(le,_e,zt,"\u2021","\\ddagger"),re(le,_e,zt,"\u2240","\\wr",!0),re(le,_e,zt,"\u2A3F","\\amalg"),re(le,_e,zt,"&","\\And"),re(le,_e,ce,"\u27F5","\\longleftarrow",!0),re(le,_e,ce,"\u21D0","\\Leftarrow",!0),re(le,_e,ce,"\u27F8","\\Longleftarrow",!0),re(le,_e,ce,"\u27F6","\\longrightarrow",!0),re(le,_e,ce,"\u21D2","\\Rightarrow",!0),re(le,_e,ce,"\u27F9","\\Longrightarrow",!0),re(le,_e,ce,"\u2194","\\leftrightarrow",!0),re(le,_e,ce,"\u27F7","\\longleftrightarrow",!0),re(le,_e,ce,"\u21D4","\\Leftrightarrow",!0),re(le,_e,ce,"\u27FA","\\Longleftrightarrow",!0),re(le,_e,ce,"\u21A6","\\mapsto",!0),re(le,_e,ce,"\u27FC","\\longmapsto",!0),re(le,_e,ce,"\u2197","\\nearrow",!0),re(le,_e,ce,"\u21A9","\\hookleftarrow",!0),re(le,_e,ce,"\u21AA","\\hookrightarrow",!0),re(le,_e,ce,"\u2198","\\searrow",!0),re(le,_e,ce,"\u21BC","\\leftharpoonup",!0),re(le,_e,ce,"\u21C0","\\rightharpoonup",!0),re(le,_e,ce,"\u2199","\\swarrow",!0),re(le,_e,ce,"\u21BD","\\leftharpoondown",!0),re(le,_e,ce,"\u21C1","\\rightharpoondown",!0),re(le,_e,ce,"\u2196","\\nwarrow",!0),re(le,_e,ce,"\u21CC","\\rightleftharpoons",!0),re(le,je,ce,"\u226E","\\nless",!0),re(le,je,ce,"\uE010","\\@nleqslant"),re(le,je,ce,"\uE011","\\@nleqq"),re(le,je,ce,"\u2A87","\\lneq",!0),re(le,je,ce,"\u2268","\\lneqq",!0),re(le,je,ce,"\uE00C","\\@lvertneqq"),re(le,je,ce,"\u22E6","\\lnsim",!0),re(le,je,ce,"\u2A89","\\lnapprox",!0),re(le,je,ce,"\u2280","\\nprec",!0),re(le,je,ce,"\u22E0","\\npreceq",!0),re(le,je,ce,"\u22E8","\\precnsim",!0),re(le,je,ce,"\u2AB9","\\precnapprox",!0),re(le,je,ce,"\u2241","\\nsim",!0),re(le,je,ce,"\uE006","\\@nshortmid"),re(le,je,ce,"\u2224","\\nmid",!0),re(le,je,ce,"\u22AC","\\nvdash",!0),re(le,je,ce,"\u22AD","\\nvDash",!0),re(le,je,ce,"\u22EA","\\ntriangleleft"),re(le,je,ce,"\u22EC","\\ntrianglelefteq",!0),re(le,je,ce,"\u228A","\\subsetneq",!0),re(le,je,ce,"\uE01A","\\@varsubsetneq"),re(le,je,ce,"\u2ACB","\\subsetneqq",!0),re(le,je,ce,"\uE017","\\@varsubsetneqq"),re(le,je,ce,"\u226F","\\ngtr",!0),re(le,je,ce,"\uE00F","\\@ngeqslant"),re(le,je,ce,"\uE00E","\\@ngeqq"),re(le,je,ce,"\u2A88","\\gneq",!0),re(le,je,ce,"\u2269","\\gneqq",!0),re(le,je,ce,"\uE00D","\\@gvertneqq"),re(le,je,ce,"\u22E7","\\gnsim",!0),re(le,je,ce,"\u2A8A","\\gnapprox",!0),re(le,je,ce,"\u2281","\\nsucc",!0),re(le,je,ce,"\u22E1","\\nsucceq",!0),re(le,je,ce,"\u22E9","\\succnsim",!0),re(le,je,ce,"\u2ABA","\\succnapprox",!0),re(le,je,ce,"\u2246","\\ncong",!0),re(le,je,ce,"\uE007","\\@nshortparallel"),re(le,je,ce,"\u2226","\\nparallel",!0),re(le,je,ce,"\u22AF","\\nVDash",!0),re(le,je,ce,"\u22EB","\\ntriangleright"),re(le,je,ce,"\u22ED","\\ntrianglerighteq",!0),re(le,je,ce,"\uE018","\\@nsupseteqq"),re(le,je,ce,"\u228B","\\supsetneq",!0),re(le,je,ce,"\uE01B","\\@varsupsetneq"),re(le,je,ce,"\u2ACC","\\supsetneqq",!0),re(le,je,ce,"\uE019","\\@varsupsetneqq"),re(le,je,ce,"\u22AE","\\nVdash",!0),re(le,je,ce,"\u2AB5","\\precneqq",!0),re(le,je,ce,"\u2AB6","\\succneqq",!0),re(le,je,ce,"\uE016","\\@nsubseteqq"),re(le,je,zt,"\u22B4","\\unlhd"),re(le,je,zt,"\u22B5","\\unrhd"),re(le,je,ce,"\u219A","\\nleftarrow",!0),re(le,je,ce,"\u219B","\\nrightarrow",!0),re(le,je,ce,"\u21CD","\\nLeftarrow",!0),re(le,je,ce,"\u21CF","\\nRightarrow",!0),re(le,je,ce,"\u21AE","\\nleftrightarrow",!0),re(le,je,ce,"\u21CE","\\nLeftrightarrow",!0),re(le,je,ce,"\u25B3","\\vartriangle"),re(le,je,de,"\u210F","\\hslash"),re(le,je,de,"\u25BD","\\triangledown"),re(le,je,de,"\u25CA","\\lozenge"),re(le,je,de,"\u24C8","\\circledS"),re(le,je,de,"\xAE","\\circledR"),re(Xe,je,de,"\xAE","\\circledR"),re(le,je,de,"\u2221","\\measuredangle",!0),re(le,je,de,"\u2204","\\nexists"),re(le,je,de,"\u2127","\\mho"),re(le,je,de,"\u2132","\\Finv",!0),re(le,je,de,"\u2141","\\Game",!0),re(le,je,de,"\u2035","\\backprime"),re(le,je,de,"\u25B2","\\blacktriangle"),re(le,je,de,"\u25BC","\\blacktriangledown"),re(le,je,de,"\u25A0","\\blacksquare"),re(le,je,de,"\u29EB","\\blacklozenge"),re(le,je,de,"\u2605","\\bigstar"),re(le,je,de,"\u2222","\\sphericalangle",!0),re(le,je,de,"\u2201","\\complement",!0),re(le,je,de,"\xF0","\\eth",!0),re(le,je,de,"\u2571","\\diagup"),re(le,je,de,"\u2572","\\diagdown"),re(le,je,de,"\u25A1","\\square"),re(le,je,de,"\u25A1","\\Box"),re(le,je,de,"\u25CA","\\Diamond"),re(le,je,de,"\xA5","\\yen",!0),re(Xe,je,de,"\xA5","\\yen",!0),re(le,je,de,"\u2713","\\checkmark",!0),re(Xe,je,de,"\u2713","\\checkmark"),re(le,je,de,"\u2136","\\beth",!0),re(le,je,de,"\u2138","\\daleth",!0),re(le,je,de,"\u2137","\\gimel",!0),re(le,je,de,"\u03DD","\\digamma",!0),re(le,je,de,"\u03F0","\\varkappa"),re(le,je,Mt,"\u250C","\\ulcorner",!0),re(le,je,Pt,"\u2510","\\urcorner",!0),re(le,je,Mt,"\u2514","\\llcorner",!0),re(le,je,Pt,"\u2518","\\lrcorner",!0),re(le,je,ce,"\u2266","\\leqq",!0),re(le,je,ce,"\u2A7D","\\leqslant",!0),re(le,je,ce,"\u2A95","\\eqslantless",!0),re(le,je,ce,"\u2272","\\lesssim",!0),re(le,je,ce,"\u2A85","\\lessapprox",!0),re(le,je,ce,"\u224A","\\approxeq",!0),re(le,je,zt,"\u22D6","\\lessdot"),re(le,je,ce,"\u22D8","\\lll",!0),re(le,je,ce,"\u2276","\\lessgtr",!0),re(le,je,ce,"\u22DA","\\lesseqgtr",!0),re(le,je,ce,"\u2A8B","\\lesseqqgtr",!0),re(le,je,ce,"\u2251","\\doteqdot"),re(le,je,ce,"\u2253","\\risingdotseq",!0),re(le,je,ce,"\u2252","\\fallingdotseq",!0),re(le,je,ce,"\u223D","\\backsim",!0),re(le,je,ce,"\u22CD","\\backsimeq",!0),re(le,je,ce,"\u2AC5","\\subseteqq",!0),re(le,je,ce,"\u22D0","\\Subset",!0),re(le,je,ce,"\u228F","\\sqsubset",!0),re(le,je,ce,"\u227C","\\preccurlyeq",!0),re(le,je,ce,"\u22DE","\\curlyeqprec",!0),re(le,je,ce,"\u227E","\\precsim",!0),re(le,je,ce,"\u2AB7","\\precapprox",!0),re(le,je,ce,"\u22B2","\\vartriangleleft"),re(le,je,ce,"\u22B4","\\trianglelefteq"),re(le,je,ce,"\u22A8","\\vDash",!0),re(le,je,ce,"\u22AA","\\Vvdash",!0),re(le,je,ce,"\u2323","\\smallsmile"),re(le,je,ce,"\u2322","\\smallfrown"),re(le,je,ce,"\u224F","\\bumpeq",!0),re(le,je,ce,"\u224E","\\Bumpeq",!0),re(le,je,ce,"\u2267","\\geqq",!0),re(le,je,ce,"\u2A7E","\\geqslant",!0),re(le,je,ce,"\u2A96","\\eqslantgtr",!0),re(le,je,ce,"\u2273","\\gtrsim",!0),re(le,je,ce,"\u2A86","\\gtrapprox",!0),re(le,je,zt,"\u22D7","\\gtrdot"),re(le,je,ce,"\u22D9","\\ggg",!0),re(le,je,ce,"\u2277","\\gtrless",!0),re(le,je,ce,"\u22DB","\\gtreqless",!0),re(le,je,ce,"\u2A8C","\\gtreqqless",!0),re(le,je,ce,"\u2256","\\eqcirc",!0),re(le,je,ce,"\u2257","\\circeq",!0),re(le,je,ce,"\u225C","\\triangleq",!0),re(le,je,ce,"\u223C","\\thicksim"),re(le,je,ce,"\u2248","\\thickapprox"),re(le,je,ce,"\u2AC6","\\supseteqq",!0),re(le,je,ce,"\u22D1","\\Supset",!0),re(le,je,ce,"\u2290","\\sqsupset",!0),re(le,je,ce,"\u227D","\\succcurlyeq",!0),re(le,je,ce,"\u22DF","\\curlyeqsucc",!0),re(le,je,ce,"\u227F","\\succsim",!0),re(le,je,ce,"\u2AB8","\\succapprox",!0),re(le,je,ce,"\u22B3","\\vartriangleright"),re(le,je,ce,"\u22B5","\\trianglerighteq"),re(le,je,ce,"\u22A9","\\Vdash",!0),re(le,je,ce,"\u2223","\\shortmid"),re(le,je,ce,"\u2225","\\shortparallel"),re(le,je,ce,"\u226C","\\between",!0),re(le,je,ce,"\u22D4","\\pitchfork",!0),re(le,je,ce,"\u221D","\\varpropto"),re(le,je,ce,"\u25C0","\\blacktriangleleft"),re(le,je,ce,"\u2234","\\therefore",!0),re(le,je,ce,"\u220D","\\backepsilon"),re(le,je,ce,"\u25B6","\\blacktriangleright"),re(le,je,ce,"\u2235","\\because",!0),re(le,je,ce,"\u22D8","\\llless"),re(le,je,ce,"\u22D9","\\gggtr"),re(le,je,zt,"\u22B2","\\lhd"),re(le,je,zt,"\u22B3","\\rhd"),re(le,je,ce,"\u2242","\\eqsim",!0),re(le,_e,ce,"\u22C8","\\Join"),re(le,je,ce,"\u2251","\\Doteq",!0),re(le,je,zt,"\u2214","\\dotplus",!0),re(le,je,zt,"\u2216","\\smallsetminus"),re(le,je,zt,"\u22D2","\\Cap",!0),re(le,je,zt,"\u22D3","\\Cup",!0),re(le,je,zt,"\u2A5E","\\doublebarwedge",!0),re(le,je,zt,"\u229F","\\boxminus",!0),re(le,je,zt,"\u229E","\\boxplus",!0),re(le,je,zt,"\u22C7","\\divideontimes",!0),re(le,je,zt,"\u22C9","\\ltimes",!0),re(le,je,zt,"\u22CA","\\rtimes",!0),re(le,je,zt,"\u22CB","\\leftthreetimes",!0),re(le,je,zt,"\u22CC","\\rightthreetimes",!0),re(le,je,zt,"\u22CF","\\curlywedge",!0),re(le,je,zt,"\u22CE","\\curlyvee",!0),re(le,je,zt,"\u229D","\\circleddash",!0),re(le,je,zt,"\u229B","\\circledast",!0),re(le,je,zt,"\u22C5","\\centerdot"),re(le,je,zt,"\u22BA","\\intercal",!0),re(le,je,zt,"\u22D2","\\doublecap"),re(le,je,zt,"\u22D3","\\doublecup"),re(le,je,zt,"\u22A0","\\boxtimes",!0),re(le,je,ce,"\u21E2","\\dashrightarrow",!0),re(le,je,ce,"\u21E0","\\dashleftarrow",!0),re(le,je,ce,"\u21C7","\\leftleftarrows",!0),re(le,je,ce,"\u21C6","\\leftrightarrows",!0),re(le,je,ce,"\u21DA","\\Lleftarrow",!0),re(le,je,ce,"\u219E","\\twoheadleftarrow",!0),re(le,je,ce,"\u21A2","\\leftarrowtail",!0),re(le,je,ce,"\u21AB","\\looparrowleft",!0),re(le,je,ce,"\u21CB","\\leftrightharpoons",!0),re(le,je,ce,"\u21B6","\\curvearrowleft",!0),re(le,je,ce,"\u21BA","\\circlearrowleft",!0),re(le,je,ce,"\u21B0","\\Lsh",!0),re(le,je,ce,"\u21C8","\\upuparrows",!0),re(le,je,ce,"\u21BF","\\upharpoonleft",!0),re(le,je,ce,"\u21C3","\\downharpoonleft",!0),re(le,je,ce,"\u22B8","\\multimap",!0),re(le,je,ce,"\u21AD","\\leftrightsquigarrow",!0),re(le,je,ce,"\u21C9","\\rightrightarrows",!0),re(le,je,ce,"\u21C4","\\rightleftarrows",!0),re(le,je,ce,"\u21A0","\\twoheadrightarrow",!0),re(le,je,ce,"\u21A3","\\rightarrowtail",!0),re(le,je,ce,"\u21AC","\\looparrowright",!0),re(le,je,ce,"\u21B7","\\curvearrowright",!0),re(le,je,ce,"\u21BB","\\circlearrowright",!0),re(le,je,ce,"\u21B1","\\Rsh",!0),re(le,je,ce,"\u21CA","\\downdownarrows",!0),re(le,je,ce,"\u21BE","\\upharpoonright",!0),re(le,je,ce,"\u21C2","\\downharpoonright",!0),re(le,je,ce,"\u21DD","\\rightsquigarrow",!0),re(le,je,ce,"\u21DD","\\leadsto"),re(le,je,ce,"\u21DB","\\Rrightarrow",!0),re(le,je,ce,"\u21BE","\\restriction"),re(le,_e,de,"\u2018","`"),re(le,_e,de,"$","\\$"),re(Xe,_e,de,"$","\\$"),re(Xe,_e,de,"$","\\textdollar"),re(le,_e,de,"%","\\%"),re(Xe,_e,de,"%","\\%"),re(le,_e,de,"_","\\_"),re(Xe,_e,de,"_","\\_"),re(Xe,_e,de,"_","\\textunderscore"),re(le,_e,de,"\u2220","\\angle",!0),re(le,_e,de,"\u221E","\\infty",!0),re(le,_e,de,"\u2032","\\prime"),re(le,_e,de,"\u25B3","\\triangle"),re(le,_e,de,"\u0393","\\Gamma",!0),re(le,_e,de,"\u0394","\\Delta",!0),re(le,_e,de,"\u0398","\\Theta",!0),re(le,_e,de,"\u039B","\\Lambda",!0),re(le,_e,de,"\u039E","\\Xi",!0),re(le,_e,de,"\u03A0","\\Pi",!0),re(le,_e,de,"\u03A3","\\Sigma",!0),re(le,_e,de,"\u03A5","\\Upsilon",!0),re(le,_e,de,"\u03A6","\\Phi",!0),re(le,_e,de,"\u03A8","\\Psi",!0),re(le,_e,de,"\u03A9","\\Omega",!0),re(le,_e,de,"A","\u0391"),re(le,_e,de,"B","\u0392"),re(le,_e,de,"E","\u0395"),re(le,_e,de,"Z","\u0396"),re(le,_e,de,"H","\u0397"),re(le,_e,de,"I","\u0399"),re(le,_e,de,"K","\u039A"),re(le,_e,de,"M","\u039C"),re(le,_e,de,"N","\u039D"),re(le,_e,de,"O","\u039F"),re(le,_e,de,"P","\u03A1"),re(le,_e,de,"T","\u03A4"),re(le,_e,de,"X","\u03A7"),re(le,_e,de,"\xAC","\\neg",!0),re(le,_e,de,"\xAC","\\lnot"),re(le,_e,de,"\u22A4","\\top"),re(le,_e,de,"\u22A5","\\bot"),re(le,_e,de,"\u2205","\\emptyset"),re(le,je,de,"\u2205","\\varnothing"),re(le,_e,or,"\u03B1","\\alpha",!0),re(le,_e,or,"\u03B2","\\beta",!0),re(le,_e,or,"\u03B3","\\gamma",!0),re(le,_e,or,"\u03B4","\\delta",!0),re(le,_e,or,"\u03F5","\\epsilon",!0),re(le,_e,or,"\u03B6","\\zeta",!0),re(le,_e,or,"\u03B7","\\eta",!0),re(le,_e,or,"\u03B8","\\theta",!0),re(le,_e,or,"\u03B9","\\iota",!0),re(le,_e,or,"\u03BA","\\kappa",!0),re(le,_e,or,"\u03BB","\\lambda",!0),re(le,_e,or,"\u03BC","\\mu",!0),re(le,_e,or,"\u03BD","\\nu",!0),re(le,_e,or,"\u03BE","\\xi",!0),re(le,_e,or,"\u03BF","\\omicron",!0),re(le,_e,or,"\u03C0","\\pi",!0),re(le,_e,or,"\u03C1","\\rho",!0),re(le,_e,or,"\u03C3","\\sigma",!0),re(le,_e,or,"\u03C4","\\tau",!0),re(le,_e,or,"\u03C5","\\upsilon",!0),re(le,_e,or,"\u03D5","\\phi",!0),re(le,_e,or,"\u03C7","\\chi",!0),re(le,_e,or,"\u03C8","\\psi",!0),re(le,_e,or,"\u03C9","\\omega",!0),re(le,_e,or,"\u03B5","\\varepsilon",!0),re(le,_e,or,"\u03D1","\\vartheta",!0),re(le,_e,or,"\u03D6","\\varpi",!0),re(le,_e,or,"\u03F1","\\varrho",!0),re(le,_e,or,"\u03C2","\\varsigma",!0),re(le,_e,or,"\u03C6","\\varphi",!0),re(le,_e,zt,"\u2217","*"),re(le,_e,zt,"+","+"),re(le,_e,zt,"\u2212","-"),re(le,_e,zt,"\u22C5","\\cdot",!0),re(le,_e,zt,"\u2218","\\circ"),re(le,_e,zt,"\xF7","\\div",!0),re(le,_e,zt,"\xB1","\\pm",!0),re(le,_e,zt,"\xD7","\\times",!0),re(le,_e,zt,"\u2229","\\cap",!0),re(le,_e,zt,"\u222A","\\cup",!0),re(le,_e,zt,"\u2216","\\setminus"),re(le,_e,zt,"\u2227","\\land"),re(le,_e,zt,"\u2228","\\lor"),re(le,_e,zt,"\u2227","\\wedge",!0),re(le,_e,zt,"\u2228","\\vee",!0),re(le,_e,de,"\u221A","\\surd"),re(le,_e,Mt,"(","("),re(le,_e,Mt,"[","["),re(le,_e,Mt,"\u27E8","\\langle",!0),re(le,_e,Mt,"\u2223","\\lvert"),re(le,_e,Mt,"\u2225","\\lVert"),re(le,_e,Pt,")",")"),re(le,_e,Pt,"]","]"),re(le,_e,Pt,"?","?"),re(le,_e,Pt,"!","!"),re(le,_e,Pt,"\u27E9","\\rangle",!0),re(le,_e,Pt,"\u2223","\\rvert"),re(le,_e,Pt,"\u2225","\\rVert"),re(le,_e,ce,"=","="),re(le,_e,ce,"<","<"),re(le,_e,ce,">",">"),re(le,_e,ce,":",":"),re(le,_e,ce,"\u2248","\\approx",!0),re(le,_e,ce,"\u2245","\\cong",!0),re(le,_e,ce,"\u2265","\\ge"),re(le,_e,ce,"\u2265","\\geq",!0),re(le,_e,ce,"\u2190","\\gets"),re(le,_e,ce,">","\\gt"),re(le,_e,ce,"\u2208","\\in",!0),re(le,_e,ce,"\uE020","\\@not"),re(le,_e,ce,"\u2282","\\subset",!0),re(le,_e,ce,"\u2283","\\supset",!0),re(le,_e,ce,"\u2286","\\subseteq",!0),re(le,_e,ce,"\u2287","\\supseteq",!0),re(le,je,ce,"\u2288","\\nsubseteq",!0),re(le,je,ce,"\u2289","\\nsupseteq",!0),re(le,_e,ce,"\u22A8","\\models"),re(le,_e,ce,"\u2190","\\leftarrow",!0),re(le,_e,ce,"\u2264","\\le"),re(le,_e,ce,"\u2264","\\leq",!0),re(le,_e,ce,"<","\\lt"),re(le,_e,ce,"\u2192","\\rightarrow",!0),re(le,_e,ce,"\u2192","\\to"),re(le,je,ce,"\u2271","\\ngeq",!0),re(le,je,ce,"\u2270","\\nleq",!0),re(le,_e,ae,"\xA0","\\ "),re(le,_e,ae,"\xA0","~"),re(le,_e,ae,"\xA0","\\space"),re(le,_e,ae,"\xA0","\\nobreakspace"),re(Xe,_e,ae,"\xA0","\\ "),re(Xe,_e,ae,"\xA0","~"),re(Xe,_e,ae,"\xA0","\\space"),re(Xe,_e,ae,"\xA0","\\nobreakspace"),re(le,_e,ae,null,"\\nobreak"),re(le,_e,ae,null,"\\allowbreak"),re(le,_e,me,",",","),re(le,_e,me,";",";"),re(le,je,zt,"\u22BC","\\barwedge",!0),re(le,je,zt,"\u22BB","\\veebar",!0),re(le,_e,zt,"\u2299","\\odot",!0),re(le,_e,zt,"\u2295","\\oplus",!0),re(le,_e,zt,"\u2297","\\otimes",!0),re(le,_e,de,"\u2202","\\partial",!0),re(le,_e,zt,"\u2298","\\oslash",!0),re(le,je,zt,"\u229A","\\circledcirc",!0),re(le,je,zt,"\u22A1","\\boxdot",!0),re(le,_e,zt,"\u25B3","\\bigtriangleup"),re(le,_e,zt,"\u25BD","\\bigtriangledown"),re(le,_e,zt,"\u2020","\\dagger"),re(le,_e,zt,"\u22C4","\\diamond"),re(le,_e,zt,"\u22C6","\\star"),re(le,_e,zt,"\u25C3","\\triangleleft"),re(le,_e,zt,"\u25B9","\\triangleright"),re(le,_e,Mt,"{","\\{"),re(Xe,_e,de,"{","\\{"),re(Xe,_e,de,"{","\\textbraceleft"),re(le,_e,Pt,"}","\\}"),re(Xe,_e,de,"}","\\}"),re(Xe,_e,de,"}","\\textbraceright"),re(le,_e,Mt,"{","\\lbrace"),re(le,_e,Pt,"}","\\rbrace"),re(le,_e,Mt,"[","\\lbrack"),re(Xe,_e,de,"[","\\lbrack"),re(le,_e,Pt,"]","\\rbrack"),re(Xe,_e,de,"]","\\rbrack"),re(le,_e,Mt,"(","\\lparen"),re(le,_e,Pt,")","\\rparen"),re(Xe,_e,de,"<","\\textless"),re(Xe,_e,de,">","\\textgreater"),re(le,_e,Mt,"\u230A","\\lfloor",!0),re(le,_e,Pt,"\u230B","\\rfloor",!0),re(le,_e,Mt,"\u2308","\\lceil",!0),re(le,_e,Pt,"\u2309","\\rceil",!0),re(le,_e,de,"\\","\\backslash"),re(le,_e,de,"\u2223","|"),re(le,_e,de,"\u2223","\\vert"),re(Xe,_e,de,"|","\\textbar"),re(le,_e,de,"\u2225","\\|"),re(le,_e,de,"\u2225","\\Vert"),re(Xe,_e,de,"\u2225","\\textbardbl"),re(Xe,_e,de,"~","\\textasciitilde"),re(Xe,_e,de,"\\","\\textbackslash"),re(Xe,_e,de,"^","\\textasciicircum"),re(le,_e,ce,"\u2191","\\uparrow",!0),re(le,_e,ce,"\u21D1","\\Uparrow",!0),re(le,_e,ce,"\u2193","\\downarrow",!0),re(le,_e,ce,"\u21D3","\\Downarrow",!0),re(le,_e,ce,"\u2195","\\updownarrow",!0),re(le,_e,ce,"\u21D5","\\Updownarrow",!0),re(le,_e,Kt,"\u2210","\\coprod"),re(le,_e,Kt,"\u22C1","\\bigvee"),re(le,_e,Kt,"\u22C0","\\bigwedge"),re(le,_e,Kt,"\u2A04","\\biguplus"),re(le,_e,Kt,"\u22C2","\\bigcap"),re(le,_e,Kt,"\u22C3","\\bigcup"),re(le,_e,Kt,"\u222B","\\int"),re(le,_e,Kt,"\u222B","\\intop"),re(le,_e,Kt,"\u222C","\\iint"),re(le,_e,Kt,"\u222D","\\iiint"),re(le,_e,Kt,"\u220F","\\prod"),re(le,_e,Kt,"\u2211","\\sum"),re(le,_e,Kt,"\u2A02","\\bigotimes"),re(le,_e,Kt,"\u2A01","\\bigoplus"),re(le,_e,Kt,"\u2A00","\\bigodot"),re(le,_e,Kt,"\u222E","\\oint"),re(le,_e,Kt,"\u222F","\\oiint"),re(le,_e,Kt,"\u2230","\\oiiint"),re(le,_e,Kt,"\u2A06","\\bigsqcup"),re(le,_e,Kt,"\u222B","\\smallint"),re(Xe,_e,qt,"\u2026","\\textellipsis"),re(le,_e,qt,"\u2026","\\mathellipsis"),re(Xe,_e,qt,"\u2026","\\ldots",!0),re(le,_e,qt,"\u2026","\\ldots",!0),re(le,_e,qt,"\u22EF","\\@cdots",!0),re(le,_e,qt,"\u22F1","\\ddots",!0),re(le,_e,de,"\u22EE","\\varvdots"),re(le,_e,ar,"\u02CA","\\acute"),re(le,_e,ar,"\u02CB","\\grave"),re(le,_e,ar,"\xA8","\\ddot"),re(le,_e,ar,"~","\\tilde"),re(le,_e,ar,"\u02C9","\\bar"),re(le,_e,ar,"\u02D8","\\breve"),re(le,_e,ar,"\u02C7","\\check"),re(le,_e,ar,"^","\\hat"),re(le,_e,ar,"\u20D7","\\vec"),re(le,_e,ar,"\u02D9","\\dot"),re(le,_e,ar,"\u02DA","\\mathring"),re(le,_e,or,"\u0131","\\imath",!0),re(le,_e,or,"\u0237","\\jmath",!0),re(Xe,_e,de,"\u0131","\\i",!0),re(Xe,_e,de,"\u0237","\\j",!0),re(Xe,_e,de,"\xDF","\\ss",!0),re(Xe,_e,de,"\xE6","\\ae",!0),re(Xe,_e,de,"\xE6","\\ae",!0),re(Xe,_e,de,"\u0153","\\oe",!0),re(Xe,_e,de,"\xF8","\\o",!0),re(Xe,_e,de,"\xC6","\\AE",!0),re(Xe,_e,de,"\u0152","\\OE",!0),re(Xe,_e,de,"\xD8","\\O",!0),re(Xe,_e,ar,"\u02CA","\\'"),re(Xe,_e,ar,"\u02CB","\\`"),re(Xe,_e,ar,"\u02C6","\\^"),re(Xe,_e,ar,"\u02DC","\\~"),re(Xe,_e,ar,"\u02C9","\\="),re(Xe,_e,ar,"\u02D8","\\u"),re(Xe,_e,ar,"\u02D9","\\."),re(Xe,_e,ar,"\u02DA","\\r"),re(Xe,_e,ar,"\u02C7","\\v"),re(Xe,_e,ar,"\xA8",'\\"'),re(Xe,_e,ar,"\u02DD","\\H"),re(Xe,_e,ar,"\u25EF","\\textcircled");var Se={"--":!0,"---":!0,"``":!0,"''":!0};re(Xe,_e,de,"\u2013","--"),re(Xe,_e,de,"\u2013","\\textendash"),re(Xe,_e,de,"\u2014","---"),re(Xe,_e,de,"\u2014","\\textemdash"),re(Xe,_e,de,"\u2018","`"),re(Xe,_e,de,"\u2018","\\textquoteleft"),re(Xe,_e,de,"\u2019","'"),re(Xe,_e,de,"\u2019","\\textquoteright"),re(Xe,_e,de,"\u201C","``"),re(Xe,_e,de,"\u201C","\\textquotedblleft"),re(Xe,_e,de,"\u201D","''"),re(Xe,_e,de,"\u201D","\\textquotedblright"),re(le,_e,de,"\xB0","\\degree",!0),re(Xe,_e,de,"\xB0","\\degree"),re(Xe,_e,de,"\xB0","\\textdegree",!0),re(le,_e,or,"\xA3","\\pounds"),re(le,_e,or,"\xA3","\\mathsterling",!0),re(Xe,_e,or,"\xA3","\\pounds"),re(Xe,_e,or,"\xA3","\\textsterling",!0),re(le,je,de,"\u2720","\\maltese"),re(Xe,je,de,"\u2720","\\maltese"),re(Xe,_e,ae,"\xA0","\\ "),re(Xe,_e,ae,"\xA0"," "),re(Xe,_e,ae,"\xA0","~");for(var Ce='0123456789/@."',Ie=0;Ie<Ce.length;Ie++){var Te=Ce.charAt(Ie);re(le,_e,de,Te,Te)}for(var Ee='0123456789!@*()-=+[]<>|";:?/.,',He=0;He<Ee.length;He++){var st=Ee.charAt(He);re(Xe,_e,de,st,st)}for(var vt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ee=0;ee<vt.length;ee++){var oe=vt.charAt(ee);re(le,_e,or,oe,oe),re(Xe,_e,de,oe,oe)}re(le,je,de,"C","\u2102"),re(Xe,je,de,"C","\u2102"),re(le,je,de,"H","\u210D"),re(Xe,je,de,"H","\u210D"),re(le,je,de,"N","\u2115"),re(Xe,je,de,"N","\u2115"),re(le,je,de,"P","\u2119"),re(Xe,je,de,"P","\u2119"),re(le,je,de,"Q","\u211A"),re(Xe,je,de,"Q","\u211A"),re(le,je,de,"R","\u211D"),re(Xe,je,de,"R","\u211D"),re(le,je,de,"Z","\u2124"),re(Xe,je,de,"Z","\u2124"),re(le,_e,or,"h","\u210E"),re(Xe,_e,or,"h","\u210E");for(var k="",$=0;$<vt.length;$++){var se=vt.charAt($);k=String.fromCharCode(55349,56320+$),re(le,_e,or,se,k),re(Xe,_e,de,se,k),k=String.fromCharCode(55349,56372+$),re(le,_e,or,se,k),re(Xe,_e,de,se,k),k=String.fromCharCode(55349,56424+$),re(le,_e,or,se,k),re(Xe,_e,de,se,k),k=String.fromCharCode(55349,56580+$),re(le,_e,or,se,k),re(Xe,_e,de,se,k),k=String.fromCharCode(55349,56736+$),re(le,_e,or,se,k),re(Xe,_e,de,se,k),k=String.fromCharCode(55349,56788+$),re(le,_e,or,se,k),re(Xe,_e,de,se,k),k=String.fromCharCode(55349,56840+$),re(le,_e,or,se,k),re(Xe,_e,de,se,k),k=String.fromCharCode(55349,56944+$),re(le,_e,or,se,k),re(Xe,_e,de,se,k),$<26&&(k=String.fromCharCode(55349,56632+$),re(le,_e,or,se,k),re(Xe,_e,de,se,k),k=String.fromCharCode(55349,56476+$),re(le,_e,or,se,k),re(Xe,_e,de,se,k))}k=String.fromCharCode(55349,56668),re(le,_e,or,"k",k),re(Xe,_e,de,"k",k);for(var ge=0;ge<10;ge++){var Ae=ge.toString();k=String.fromCharCode(55349,57294+ge),re(le,_e,or,Ae,k),re(Xe,_e,de,Ae,k),k=String.fromCharCode(55349,57314+ge),re(le,_e,or,Ae,k),re(Xe,_e,de,Ae,k),k=String.fromCharCode(55349,57324+ge),re(le,_e,or,Ae,k),re(Xe,_e,de,Ae,k),k=String.fromCharCode(55349,57334+ge),re(le,_e,or,Ae,k),re(Xe,_e,de,Ae,k)}for(var Me="\xC7\xD0\xDE\xE7\xFE",et=0;et<Me.length;et++){var Wt=Me.charAt(et);re(le,_e,or,Wt,Wt),re(Xe,_e,de,Wt,Wt)}re(Xe,_e,de,"\xF0","\xF0"),re(Xe,_e,de,"\u2013","\u2013"),re(Xe,_e,de,"\u2014","\u2014"),re(Xe,_e,de,"\u2018","\u2018"),re(Xe,_e,de,"\u2019","\u2019"),re(Xe,_e,de,"\u201C","\u201C"),re(Xe,_e,de,"\u201D","\u201D");var er=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ct=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ht=function(ne,ue){var fe=ne.charCodeAt(0),Oe=ne.charCodeAt(1),ot=(fe-55296)*1024+(Oe-56320)+65536,Bt=ue==="math"?0:1;if(119808<=ot&&ot<120484){var hr=Math.floor((ot-119808)/26);return[er[hr][2],er[hr][Bt]]}else if(120782<=ot&&ot<=120831){var Ar=Math.floor((ot-120782)/10);return[Ct[Ar][2],Ct[Ar][Bt]]}else{if(ot===120485||ot===120486)return[er[0][2],er[0][Bt]];if(120486<ot&&ot<120782)return["",""];throw new a("Unsupported character: "+ne)}},kt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Zt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Et=function(ne,ue){return ue.size<2?ne:kt[ne-1][ue.size-1]},ur=function(){function _t(ue){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=ue.style,this.color=ue.color,this.size=ue.size||_t.BASESIZE,this.textSize=ue.textSize||this.size,this.phantom=!!ue.phantom,this.font=ue.font||"",this.fontFamily=ue.fontFamily||"",this.fontWeight=ue.fontWeight||"",this.fontShape=ue.fontShape||"",this.sizeMultiplier=Zt[this.size-1],this.maxSize=ue.maxSize,this.minRuleThickness=ue.minRuleThickness,this._fontMetrics=void 0}var ne=_t.prototype;return ne.extend=function(fe){var Oe={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var ot in fe)fe.hasOwnProperty(ot)&&(Oe[ot]=fe[ot]);return new _t(Oe)},ne.havingStyle=function(fe){return this.style===fe?this:this.extend({style:fe,size:Et(this.textSize,fe)})},ne.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},ne.havingSize=function(fe){return this.size===fe&&this.textSize===fe?this:this.extend({style:this.style.text(),size:fe,textSize:fe,sizeMultiplier:Zt[fe-1]})},ne.havingBaseStyle=function(fe){fe=fe||this.style.text();var Oe=Et(_t.BASESIZE,fe);return this.size===Oe&&this.textSize===_t.BASESIZE&&this.style===fe?this:this.extend({style:fe,size:Oe})},ne.havingBaseSizing=function(){var fe;switch(this.style.id){case 4:case 5:fe=3;break;case 6:case 7:fe=1;break;default:fe=6}return this.extend({style:this.style.text(),size:fe})},ne.withColor=function(fe){return this.extend({color:fe})},ne.withPhantom=function(){return this.extend({phantom:!0})},ne.withFont=function(fe){return this.extend({font:fe})},ne.withTextFontFamily=function(fe){return this.extend({fontFamily:fe,font:""})},ne.withTextFontWeight=function(fe){return this.extend({fontWeight:fe,font:""})},ne.withTextFontShape=function(fe){return this.extend({fontShape:fe,font:""})},ne.sizingClasses=function(fe){return fe.size!==this.size?["sizing","reset-size"+fe.size,"size"+this.size]:[]},ne.baseSizingClasses=function(){return this.size!==_t.BASESIZE?["sizing","reset-size"+this.size,"size"+_t.BASESIZE]:[]},ne.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Nt(this.size)),this._fontMetrics},ne.getColor=function(){return this.phantom?"transparent":this.color},_t}();ur.BASESIZE=6;var rr=ur,Ke={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},nt={ex:!0,em:!0,mu:!0},Ge=function(ne){return typeof ne!="string"&&(ne=ne.unit),ne in Ke||ne in nt||ne==="ex"},ct=function(ne,ue){var fe;if(ne.unit in Ke)fe=Ke[ne.unit]/ue.fontMetrics().ptPerEm/ue.sizeMultiplier;else if(ne.unit==="mu")fe=ue.fontMetrics().cssEmPerMu;else{var Oe;if(ue.style.isTight()?Oe=ue.havingStyle(ue.style.text()):Oe=ue,ne.unit==="ex")fe=Oe.fontMetrics().xHeight;else if(ne.unit==="em")fe=Oe.fontMetrics().quad;else throw new a("Invalid unit: '"+ne.unit+"'");Oe!==ue&&(fe*=Oe.sizeMultiplier/ue.sizeMultiplier)}return Math.min(ne.number*fe,ue.maxSize)},ht=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],ut=function(ne,ue,fe){return ze[fe][ne]&&ze[fe][ne].replace&&(ne=ze[fe][ne].replace),{value:ne,metrics:bt(ne,ue,fe)}},We=function(ne,ue,fe,Oe,ot){var Bt=ut(ne,ue,fe),hr=Bt.metrics;ne=Bt.value;var Ar;if(hr){var Nr=hr.italic;(fe==="text"||Oe&&Oe.font==="mathit")&&(Nr=0),Ar=new mt(ne,hr.height,hr.depth,Nr,hr.skew,hr.width,ot)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+ne+"' in style '"+ue+"' and mode '"+fe+"'")),Ar=new mt(ne,0,0,0,0,0,ot);if(Oe){Ar.maxFontSize=Oe.sizeMultiplier,Oe.style.isTight()&&Ar.classes.push("mtight");var qr=Oe.getColor();qr&&(Ar.style.color=qr)}return Ar},tt=function(ne,ue,fe,Oe){return Oe===void 0&&(Oe=[]),fe.font==="boldsymbol"&&ut(ne,"Main-Bold",ue).metrics?We(ne,"Main-Bold",ue,fe,Oe.concat(["mathbf"])):ne==="\\"||ze[ue][ne].font==="main"?We(ne,"Main-Regular",ue,fe,Oe):We(ne,"AMS-Regular",ue,fe,Oe.concat(["amsrm"]))},ft=function(ne,ue,fe,Oe){return/[0-9]/.test(ne.charAt(0))||A.contains(ht,ne)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Yt=function(ne,ue,fe,Oe){return A.contains(ht,ne)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(ne.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Dt=function(ne,ue,fe,Oe){return ut(ne,"Math-BoldItalic",ue).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},vr=function(ne,ue,fe){var Oe=ne.mode,ot=ne.text,Bt=["mord"],hr=Oe==="math"||Oe==="text"&&ue.font,Ar=hr?ue.font:ue.fontFamily;if(ot.charCodeAt(0)===55349){var Nr=Ht(ot,Oe),qr=Nr[0],sn=Nr[1];return We(ot,qr,Oe,ue,Bt.concat(sn))}else if(Ar){var vn,xn;if(Ar==="boldsymbol"||Ar==="mathnormal"){var Kn=Ar==="boldsymbol"?Dt(ot,Oe,ue,Bt):Yt(ot,Oe,ue,Bt);vn=Kn.fontName,xn=[Kn.fontClass]}else A.contains(ht,ot)?(vn="Main-Italic",xn=["mathit"]):hr?(vn=Zr[Ar].fontName,xn=[Ar]):(vn=_r(Ar,ue.fontWeight,ue.fontShape),xn=[Ar,ue.fontWeight,ue.fontShape]);if(ut(ot,vn,Oe).metrics)return We(ot,vn,Oe,ue,Bt.concat(xn));if(Se.hasOwnProperty(ot)&&vn.substr(0,10)==="Typewriter"){for(var ei=[],Ai=0;Ai<ot.length;Ai++)ei.push(We(ot[Ai],vn,Oe,ue,Bt.concat(xn)));return Or(ei)}}if(fe==="mathord"){var na=ft(ot,Oe,ue,Bt);return We(ot,na.fontName,Oe,ue,Bt.concat([na.fontClass]))}else if(fe==="textord"){var Ui=ze[Oe][ot]&&ze[Oe][ot].font;if(Ui==="ams"){var Ca=_r("amsrm",ue.fontWeight,ue.fontShape);return We(ot,Ca,Oe,ue,Bt.concat("amsrm",ue.fontWeight,ue.fontShape))}else if(Ui==="main"||!Ui){var co=_r("textrm",ue.fontWeight,ue.fontShape);return We(ot,co,Oe,ue,Bt.concat(ue.fontWeight,ue.fontShape))}else{var Wa=_r(Ui,ue.fontWeight,ue.fontShape);return We(ot,Wa,Oe,ue,Bt.concat(Wa,ue.fontWeight,ue.fontShape))}}else throw new Error("unexpected type: "+fe+" in makeOrd")},yr=function(ne,ue){if(Pe(ne.classes)!==Pe(ue.classes)||ne.skew!==ue.skew||ne.maxFontSize!==ue.maxFontSize)return!1;for(var fe in ne.style)if(ne.style.hasOwnProperty(fe)&&ne.style[fe]!==ue.style[fe])return!1;for(var Oe in ue.style)if(ue.style.hasOwnProperty(Oe)&&ne.style[Oe]!==ue.style[Oe])return!1;return!0},Dr=function(ne){for(var ue=0;ue<ne.length-1;ue++){var fe=ne[ue],Oe=ne[ue+1];fe instanceof mt&&Oe instanceof mt&&yr(fe,Oe)&&(fe.text+=Oe.text,fe.height=Math.max(fe.height,Oe.height),fe.depth=Math.max(fe.depth,Oe.depth),fe.italic=Oe.italic,ne.splice(ue+1,1),ue--)}return ne},Rr=function(ne){for(var ue=0,fe=0,Oe=0,ot=0;ot<ne.children.length;ot++){var Bt=ne.children[ot];Bt.height>ue&&(ue=Bt.height),Bt.depth>fe&&(fe=Bt.depth),Bt.maxFontSize>Oe&&(Oe=Bt.maxFontSize)}ne.height=ue,ne.depth=fe,ne.maxFontSize=Oe},Jr=function(ne,ue,fe,Oe){var ot=new At(ne,ue,fe,Oe);return Rr(ot),ot},$r=function(ne,ue,fe,Oe){return new At(ne,ue,fe,Oe)},xr=function(ne,ue,fe){var Oe=Jr([ne],[],ue);return Oe.height=Math.max(fe||ue.fontMetrics().defaultRuleThickness,ue.minRuleThickness),Oe.style.borderBottomWidth=Oe.height+"em",Oe.maxFontSize=1,Oe},Vr=function(ne,ue,fe,Oe){var ot=new dt(ne,ue,fe,Oe);return Rr(ot),ot},Or=function(ne){var ue=new Fe(ne);return Rr(ue),ue},nr=function(ne,ue){return ne instanceof Fe?Jr([],[ne],ue):ne},pr=function(ne){if(ne.positionType==="individualShift"){for(var ue=ne.children,fe=[ue[0]],Oe=-ue[0].shift-ue[0].elem.depth,ot=Oe,Bt=1;Bt<ue.length;Bt++){var hr=-ue[Bt].shift-ot-ue[Bt].elem.depth,Ar=hr-(ue[Bt-1].elem.height+ue[Bt-1].elem.depth);ot=ot+hr,fe.push({type:"kern",size:Ar}),fe.push(ue[Bt])}return{children:fe,depth:Oe}}var Nr;if(ne.positionType==="top"){for(var qr=ne.positionData,sn=0;sn<ne.children.length;sn++){var vn=ne.children[sn];qr-=vn.type==="kern"?vn.size:vn.elem.height+vn.elem.depth}Nr=qr}else if(ne.positionType==="bottom")Nr=-ne.positionData;else{var xn=ne.children[0];if(xn.type!=="elem")throw new Error('First child must have type "elem".');if(ne.positionType==="shift")Nr=-xn.elem.depth-ne.positionData;else if(ne.positionType==="firstBaseline")Nr=-xn.elem.depth;else throw new Error("Invalid positionType "+ne.positionType+".")}return{children:ne.children,depth:Nr}},dr=function(ne,ue){for(var fe=pr(ne),Oe=fe.children,ot=fe.depth,Bt=0,hr=0;hr<Oe.length;hr++){var Ar=Oe[hr];if(Ar.type==="elem"){var Nr=Ar.elem;Bt=Math.max(Bt,Nr.maxFontSize,Nr.height)}}Bt+=2;var qr=Jr(["pstrut"],[]);qr.style.height=Bt+"em";for(var sn=[],vn=ot,xn=ot,Kn=ot,ei=0;ei<Oe.length;ei++){var Ai=Oe[ei];if(Ai.type==="kern")Kn+=Ai.size;else{var na=Ai.elem,Ui=Ai.wrapperClasses||[],Ca=Ai.wrapperStyle||{},co=Jr(Ui,[qr,na],void 0,Ca);co.style.top=-Bt-Kn-na.depth+"em",Ai.marginLeft&&(co.style.marginLeft=Ai.marginLeft),Ai.marginRight&&(co.style.marginRight=Ai.marginRight),sn.push(co),Kn+=na.height+na.depth}vn=Math.min(vn,Kn),xn=Math.max(xn,Kn)}var Wa=Jr(["vlist"],sn);Wa.style.height=xn+"em";var vo;if(vn<0){var Ao=Jr([],[]),Za=Jr(["vlist"],[Ao]);Za.style.height=-vn+"em";var Fo=Jr(["vlist-s"],[new mt("\u200B")]);vo=[Jr(["vlist-r"],[Wa,Fo]),Jr(["vlist-r"],[Za])]}else vo=[Jr(["vlist-r"],[Wa])];var Do=Jr(["vlist-t"],vo);return vo.length===2&&Do.classes.push("vlist-t2"),Do.height=xn,Do.depth=-vn,Do},fr=function(ne,ue){var fe=Jr(["mspace"],[],ue),Oe=ct(ne,ue);return fe.style.marginRight=Oe+"em",fe},_r=function(ne,ue,fe){var Oe="";switch(ne){case"amsrm":Oe="AMS";break;case"textrm":Oe="Main";break;case"textsf":Oe="SansSerif";break;case"texttt":Oe="Typewriter";break;default:Oe=ne}var ot;return ue==="textbf"&&fe==="textit"?ot="BoldItalic":ue==="textbf"?ot="Bold":ue==="textit"?ot="Italic":ot="Regular",Oe+"-"+ot},Zr={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},on={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},jn=function(ne,ue){var fe=on[ne],Oe=fe[0],ot=fe[1],Bt=fe[2],hr=new Re(Oe),Ar=new Ue([hr],{width:ot+"em",height:Bt+"em",style:"width:"+ot+"em",viewBox:"0 0 "+1e3*ot+" "+1e3*Bt,preserveAspectRatio:"xMinYMin"}),Nr=$r(["overlay"],[Ar],ue);return Nr.height=Bt,Nr.style.height=Bt+"em",Nr.style.width=ot+"em",Nr},Ur={fontMap:Zr,makeSymbol:We,mathsym:tt,makeSpan:Jr,makeSvgSpan:$r,makeLineSpan:xr,makeAnchor:Vr,makeFragment:Or,wrapFragment:nr,makeVList:dr,makeOrd:vr,makeGlue:fr,staticSvg:jn,svgData:on,tryCombineChars:Dr};function En(_t,ne){var ue=pn(_t,ne);if(!ue)throw new Error("Expected node of type "+ne+", but got "+(_t?"node of type "+_t.type:String(_t)));return ue}function pn(_t,ne){return _t&&_t.type===ne?_t:null}function On(_t,ne){var ue=Vn(_t,ne);if(!ue)throw new Error('Expected node of type "atom" and family "'+ne+'", but got '+(_t?_t.type==="atom"?"atom of family "+_t.family:"node of type "+_t.type:String(_t)));return ue}function Vn(_t,ne){return _t&&_t.type==="atom"&&_t.family===ne?_t:null}function Nn(_t){var ne=ui(_t);if(!ne)throw new Error("Expected node of symbol group type, but got "+(_t?"node of type "+_t.type:String(_t)));return ne}function ui(_t){return _t&&(_t.type==="atom"||Ut.hasOwnProperty(_t.type))?_t:null}var Xn={number:3,unit:"mu"},mn={number:4,unit:"mu"},cn={number:5,unit:"mu"},da={mord:{mop:Xn,mbin:mn,mrel:cn,minner:Xn},mop:{mord:Xn,mop:Xn,mrel:cn,minner:Xn},mbin:{mord:mn,mop:mn,mopen:mn,minner:mn},mrel:{mord:cn,mop:cn,mopen:cn,minner:cn},mopen:{},mclose:{mop:Xn,mbin:mn,mrel:cn,minner:Xn},mpunct:{mord:Xn,mop:Xn,mrel:cn,mopen:Xn,mclose:Xn,mpunct:Xn,minner:Xn},minner:{mord:Xn,mop:Xn,mbin:mn,mrel:cn,mopen:Xn,mpunct:Xn,minner:Xn}},Ta={mord:{mop:Xn},mop:{mord:Xn,mop:Xn},mbin:{},mrel:{},mopen:{},mclose:{mop:Xn},mpunct:{},minner:{mop:Xn}},ia={},fi={},ki={};function Qn(_t){for(var ne=_t.type,ue=_t.names,fe=_t.props,Oe=_t.handler,ot=_t.htmlBuilder,Bt=_t.mathmlBuilder,hr={type:ne,numArgs:fe.numArgs,argTypes:fe.argTypes,greediness:fe.greediness===void 0?1:fe.greediness,allowedInText:!!fe.allowedInText,allowedInMath:fe.allowedInMath===void 0?!0:fe.allowedInMath,numOptionalArgs:fe.numOptionalArgs||0,infix:!!fe.infix,handler:Oe},Ar=0;Ar<ue.length;++Ar)ia[ue[Ar]]=hr;ne&&(ot&&(fi[ne]=ot),Bt&&(ki[ne]=Bt))}function ea(_t){var ne=_t.type,ue=_t.htmlBuilder,fe=_t.mathmlBuilder;Qn({type:ne,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:ue,mathmlBuilder:fe})}var An=function(ne){var ue=pn(ne,"ordgroup");return ue?ue.body:[ne]},wn=Ur.makeSpan,Ln=["leftmost","mbin","mopen","mrel","mop","mpunct"],Un=["rightmost","mrel","mclose","mpunct"],kn={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT},ti={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},di=function(ne,ue,fe,Oe){Oe===void 0&&(Oe=[null,null]);for(var ot=[],Bt=0;Bt<ne.length;Bt++){var hr=Qi(ne[Bt],ue);if(hr instanceof Fe){var Ar=hr.children;ot.push.apply(ot,Ar)}else ot.push(hr)}if(!fe)return ot;var Nr=ue;if(ne.length===1){var qr=pn(ne[0],"sizing")||pn(ne[0],"styling");qr&&(qr.type==="sizing"?Nr=ue.havingSize(qr.size):qr.type==="styling"&&(Nr=ue.havingStyle(kn[qr.style])))}var sn=wn([Oe[0]||"leftmost"],[],ue),vn=wn([Oe[1]||"rightmost"],[],ue);return Na(ot,function(xn,Kn){var ei=Kn.classes[0],Ai=xn.classes[0];ei==="mbin"&&A.contains(Un,Ai)?Kn.classes[0]="mord":Ai==="mbin"&&A.contains(Ln,ei)&&(xn.classes[0]="mord")},{node:sn},vn),Na(ot,function(xn,Kn){var ei=Pa(Kn),Ai=Pa(xn),na=ei&&Ai?xn.hasClass("mtight")?Ta[ei][Ai]:da[ei][Ai]:null;if(na)return Ur.makeGlue(na,Nr)},{node:sn},vn),ot},Na=function _t(ne,ue,fe,Oe){Oe&&ne.push(Oe);for(var ot=0;ot<ne.length;ot++){var Bt=ne[ot],hr=Gi(Bt);if(hr){_t(hr.children,ue,fe);continue}if(Bt.classes[0]==="mspace")continue;var Ar=ue(Bt,fe.node);Ar&&(fe.insertAfter?fe.insertAfter(Ar):(ne.unshift(Ar),ot++)),fe.node=Bt,fe.insertAfter=function(Nr){return function(qr){ne.splice(Nr+1,0,qr),ot++}}(ot)}Oe&&ne.pop()},Gi=function(ne){return ne instanceof Fe||ne instanceof dt?ne:null},ba=function _t(ne,ue){var fe=Gi(ne);if(fe){var Oe=fe.children;if(Oe.length){if(ue==="right")return _t(Oe[Oe.length-1],"right");if(ue==="left")return _t(Oe[0],"left")}}return ne},Pa=function(ne,ue){return ne?(ue&&(ne=ba(ne,ue)),ti[ne.classes[0]]||null):null},Ga=function(ne,ue){var fe=["nulldelimiter"].concat(ne.baseSizingClasses());return wn(ue.concat(fe))},Qi=function(ne,ue,fe){if(!ne)return wn();if(fi[ne.type]){var Oe=fi[ne.type](ne,ue);if(fe&&ue.size!==fe.size){Oe=wn(ue.sizingClasses(fe),[Oe],ue);var ot=ue.sizeMultiplier/fe.sizeMultiplier;Oe.height*=ot,Oe.depth*=ot}return Oe}else throw new a("Got group of unknown type: '"+ne.type+"'")};function Lo(_t,ne){var ue=wn(["base"],_t,ne),fe=wn(["strut"]);return fe.style.height=ue.height+ue.depth+"em",fe.style.verticalAlign=-ue.depth+"em",ue.children.unshift(fe),ue}function sa(_t,ne){var ue=null;_t.length===1&&_t[0].type==="tag"&&(ue=_t[0].tag,_t=_t[0].body);for(var fe=di(_t,ne,!0),Oe=[],ot=[],Bt=0;Bt<fe.length;Bt++)if(ot.push(fe[Bt]),fe[Bt].hasClass("mbin")||fe[Bt].hasClass("mrel")||fe[Bt].hasClass("allowbreak")){for(var hr=!1;Bt<fe.length-1&&fe[Bt+1].hasClass("mspace")&&!fe[Bt+1].hasClass("newline");)Bt++,ot.push(fe[Bt]),fe[Bt].hasClass("nobreak")&&(hr=!0);hr||(Oe.push(Lo(ot,ne)),ot=[])}else fe[Bt].hasClass("newline")&&(ot.pop(),ot.length>0&&(Oe.push(Lo(ot,ne)),ot=[]),Oe.push(fe[Bt]));ot.length>0&&Oe.push(Lo(ot,ne));var Ar;ue&&(Ar=Lo(di(ue,ne,!0)),Ar.classes=["tag"],Oe.push(Ar));var Nr=wn(["katex-html"],Oe);if(Nr.setAttribute("aria-hidden","true"),Ar){var qr=Ar.children[0];qr.style.height=Nr.height+Nr.depth+"em",qr.style.verticalAlign=-Nr.depth+"em"}return Nr}function ji(_t){return new Fe(_t)}var wa=function(){function _t(ue,fe){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=ue,this.attributes={},this.children=fe||[]}var ne=_t.prototype;return ne.setAttribute=function(fe,Oe){this.attributes[fe]=Oe},ne.getAttribute=function(fe){return this.attributes[fe]},ne.toNode=function(){var fe=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Oe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Oe)&&fe.setAttribute(Oe,this.attributes[Oe]);for(var ot=0;ot<this.children.length;ot++)fe.appendChild(this.children[ot].toNode());return fe},ne.toMarkup=function(){var fe="<"+this.type;for(var Oe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Oe)&&(fe+=" "+Oe+'="',fe+=A.escape(this.attributes[Oe]),fe+='"');fe+=">";for(var ot=0;ot<this.children.length;ot++)fe+=this.children[ot].toMarkup();return fe+="</"+this.type+">",fe},ne.toText=function(){return this.children.map(function(fe){return fe.toText()}).join("")},_t}(),ga=function(){function _t(ue){this.text=void 0,this.text=ue}var ne=_t.prototype;return ne.toNode=function(){return document.createTextNode(this.text)},ne.toMarkup=function(){return A.escape(this.toText())},ne.toText=function(){return this.text},_t}(),po=function(){function _t(ue){this.width=void 0,this.character=void 0,this.width=ue,ue>=.05555&&ue<=.05556?this.character="\u200A":ue>=.1666&&ue<=.1667?this.character="\u2009":ue>=.2222&&ue<=.2223?this.character="\u2005":ue>=.2777&&ue<=.2778?this.character="\u2005\u200A":ue>=-.05556&&ue<=-.05555?this.character="\u200A\u2063":ue>=-.1667&&ue<=-.1666?this.character="\u2009\u2063":ue>=-.2223&&ue<=-.2222?this.character="\u205F\u2063":ue>=-.2778&&ue<=-.2777?this.character="\u2005\u2063":this.character=null}var ne=_t.prototype;return ne.toNode=function(){if(this.character)return document.createTextNode(this.character);var fe=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return fe.setAttribute("width",this.width+"em"),fe},ne.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},ne.toText=function(){return this.character?this.character:" "},_t}(),Bn={MathNode:wa,TextNode:ga,SpaceNode:po,newDocumentFragment:ji},ta=function(ne,ue,fe){return ze[ue][ne]&&ze[ue][ne].replace&&ne.charCodeAt(0)!==55349&&!(Se.hasOwnProperty(ne)&&fe&&(fe.fontFamily&&fe.fontFamily.substr(4,2)==="tt"||fe.font&&fe.font.substr(4,2)==="tt"))&&(ne=ze[ue][ne].replace),new Bn.TextNode(ne)},So=function(ne){return ne.length===1?ne[0]:new Bn.MathNode("mrow",ne)},To=function(ne,ue){if(ue.fontFamily==="texttt")return"monospace";if(ue.fontFamily==="textsf")return ue.fontShape==="textit"&&ue.fontWeight==="textbf"?"sans-serif-bold-italic":ue.fontShape==="textit"?"sans-serif-italic":ue.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(ue.fontShape==="textit"&&ue.fontWeight==="textbf")return"bold-italic";if(ue.fontShape==="textit")return"italic";if(ue.fontWeight==="textbf")return"bold";var fe=ue.font;if(!fe||fe==="mathnormal")return null;var Oe=ne.mode;if(fe==="mathit")return"italic";if(fe==="boldsymbol")return"bold-italic";if(fe==="mathbf")return"bold";if(fe==="mathbb")return"double-struck";if(fe==="mathfrak")return"fraktur";if(fe==="mathscr"||fe==="mathcal")return"script";if(fe==="mathsf")return"sans-serif";if(fe==="mathtt")return"monospace";var ot=ne.text;if(A.contains(["\\imath","\\jmath"],ot))return null;ze[Oe][ot]&&ze[Oe][ot].replace&&(ot=ze[Oe][ot].replace);var Bt=Ur.fontMap[fe].fontName;return bt(ot,Bt,Oe)?Ur.fontMap[fe].variant:null},Ha=function(ne,ue,fe){if(ne.length===1){var Oe=Hi(ne[0],ue);return fe&&Oe instanceof wa&&Oe.type==="mo"&&(Oe.setAttribute("lspace","0em"),Oe.setAttribute("rspace","0em")),[Oe]}for(var ot=[],Bt,hr=0;hr<ne.length;hr++){var Ar=Hi(ne[hr],ue);if(Ar instanceof wa&&Bt instanceof wa){if(Ar.type==="mtext"&&Bt.type==="mtext"&&Ar.getAttribute("mathvariant")===Bt.getAttribute("mathvariant")){var Nr;(Nr=Bt.children).push.apply(Nr,Ar.children);continue}else if(Ar.type==="mn"&&Bt.type==="mn"){var qr;(qr=Bt.children).push.apply(qr,Ar.children);continue}else if(Ar.type==="mi"&&Ar.children.length===1&&Bt.type==="mn"){var sn=Ar.children[0];if(sn instanceof ga&&sn.text==="."){var vn;(vn=Bt.children).push.apply(vn,Ar.children);continue}}else if(Bt.type==="mi"&&Bt.children.length===1){var xn=Bt.children[0];if(xn instanceof ga&&xn.text==="\u0338"&&(Ar.type==="mo"||Ar.type==="mi"||Ar.type==="mn")){var Kn=Ar.children[0];Kn instanceof ga&&Kn.text.length>0&&(Kn.text=Kn.text.slice(0,1)+"\u0338"+Kn.text.slice(1),ot.pop())}}}ot.push(Ar),Bt=Ar}return ot},eo=function(ne,ue,fe){return So(Ha(ne,ue,fe))},Hi=function(ne,ue){if(!ne)return new Bn.MathNode("mrow");if(ki[ne.type]){var fe=ki[ne.type](ne,ue);return fe}else throw new a("Got group of unknown type: '"+ne.type+"'")};function $t(_t,ne,ue,fe){var Oe=Ha(_t,ue),ot;Oe.length===1&&Oe[0]instanceof wa&&A.contains(["mrow","mtable"],Oe[0].type)?ot=Oe[0]:ot=new Bn.MathNode("mrow",Oe);var Bt=new Bn.MathNode("annotation",[new Bn.TextNode(ne)]);Bt.setAttribute("encoding","application/x-tex");var hr=new Bn.MathNode("semantics",[ot,Bt]),Ar=new Bn.MathNode("math",[hr]);Ar.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Nr=fe?"katex":"katex-mathml";return Ur.makeSpan([Nr],[Ar])}var Tr=function(ne){return new rr({style:ne.displayMode?H.DISPLAY:H.TEXT,maxSize:ne.maxSize,minRuleThickness:ne.minRuleThickness})},Kr=function(ne,ue){if(ue.displayMode){var fe=["katex-display"];ue.leqno&&fe.push("leqno"),ue.fleqn&&fe.push("fleqn"),ne=Ur.makeSpan(fe,[ne])}return ne},Ne=function(ne,ue,fe){var Oe=Tr(fe),ot;if(fe.output==="mathml")return $t(ne,ue,Oe,!0);if(fe.output==="html"){var Bt=sa(ne,Oe);ot=Ur.makeSpan(["katex"],[Bt])}else{var hr=$t(ne,ue,Oe,!1),Ar=sa(ne,Oe);ot=Ur.makeSpan(["katex"],[hr,Ar])}return Kr(ot,fe)},Lt=function(ne,ue,fe){var Oe=Tr(fe),ot=sa(ne,Oe),Bt=Ur.makeSpan(["katex"],[ot]);return Kr(Bt,fe)},Xt=Ne,ir={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Sr=function(ne){var ue=new Bn.MathNode("mo",[new Bn.TextNode(ir[ne.substr(1)])]);return ue.setAttribute("stretchy","true"),ue},gr={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Mr=function(ne){return ne.type==="ordgroup"?ne.body.length:1},Hr=function(ne,ue){function fe(){var Ar=4e5,Nr=ne.label.substr(1);if(A.contains(["widehat","widecheck","widetilde","utilde"],Nr)){var qr=ne,sn=Mr(qr.base),vn,xn,Kn;if(sn>5)Nr==="widehat"||Nr==="widecheck"?(vn=420,Ar=2364,Kn=.42,xn=Nr+"4"):(vn=312,Ar=2340,Kn=.34,xn="tilde4");else{var ei=[1,1,2,2,3,3][sn];Nr==="widehat"||Nr==="widecheck"?(Ar=[0,1062,2364,2364,2364][ei],vn=[0,239,300,360,420][ei],Kn=[0,.24,.3,.3,.36,.42][ei],xn=Nr+ei):(Ar=[0,600,1033,2339,2340][ei],vn=[0,260,286,306,312][ei],Kn=[0,.26,.286,.3,.306,.34][ei],xn="tilde"+ei)}var Ai=new Re(xn),na=new Ue([Ai],{width:"100%",height:Kn+"em",viewBox:"0 0 "+Ar+" "+vn,preserveAspectRatio:"none"});return{span:Ur.makeSvgSpan([],[na],ue),minWidth:0,height:Kn}}else{var Ui=[],Ca=gr[Nr],co=Ca[0],Wa=Ca[1],vo=Ca[2],Ao=vo/1e3,Za=co.length,Fo,Do;if(Za===1){var ja=Ca[3];Fo=["hide-tail"],Do=[ja]}else if(Za===2)Fo=["halfarrow-left","halfarrow-right"],Do=["xMinYMin","xMaxYMin"];else if(Za===3)Fo=["brace-left","brace-center","brace-right"],Do=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
||
`+Za+" children.");for(var jo=0;jo<Za;jo++){var Po=new Re(co[jo]),Xo=new Ue([Po],{width:"400em",height:Ao+"em",viewBox:"0 0 "+Ar+" "+vo,preserveAspectRatio:Do[jo]+" slice"}),wo=Ur.makeSvgSpan([Fo[jo]],[Xo],ue);if(Za===1)return{span:wo,minWidth:Wa,height:Ao};wo.style.height=Ao+"em",Ui.push(wo)}return{span:Ur.makeSpan(["stretchy"],Ui,ue),minWidth:Wa,height:Ao}}}var Oe=fe(),ot=Oe.span,Bt=Oe.minWidth,hr=Oe.height;return ot.height=hr,ot.style.height=hr+"em",Bt>0&&(ot.style.minWidth=Bt+"em"),ot},kr=function(ne,ue,fe,Oe){var ot,Bt=ne.height+ne.depth+2*fe;if(/fbox|color/.test(ue)){if(ot=Ur.makeSpan(["stretchy",ue],[],Oe),ue==="fbox"){var hr=Oe.color&&Oe.getColor();hr&&(ot.style.borderColor=hr)}}else{var Ar=[];/^[bx]cancel$/.test(ue)&&Ar.push(new Le({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(ue)&&Ar.push(new Le({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Nr=new Ue(Ar,{width:"100%",height:Bt+"em"});ot=Ur.makeSvgSpan([],[Nr],Oe)}return ot.height=Bt,ot.style.height=Bt+"em",ot},Yr={encloseSpan:kr,mathMLnode:Sr,svgSpan:Hr},en=function(ne,ue){var fe,Oe,ot=pn(ne,"supsub"),Bt;ot?(Oe=En(ot.base,"accent"),fe=Oe.base,ot.base=fe,Bt=Ot(Qi(ot,ue)),ot.base=Oe):(Oe=En(ne,"accent"),fe=Oe.base);var hr=Qi(fe,ue.havingCrampedStyle()),Ar=Oe.isShifty&&A.isCharacterBox(fe),Nr=0;if(Ar){var qr=A.getBaseElem(fe),sn=Qi(qr,ue.havingCrampedStyle());Nr=at(sn).skew}var vn=Math.min(hr.height,ue.fontMetrics().xHeight),xn;if(Oe.isStretchy)xn=Yr.svgSpan(Oe,ue),xn=Ur.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"elem",elem:xn,wrapperClasses:["svg-align"],wrapperStyle:Nr>0?{width:"calc(100% - "+2*Nr+"em)",marginLeft:2*Nr+"em"}:void 0}]},ue);else{var Kn,ei;Oe.label==="\\vec"?(Kn=Ur.staticSvg("vec",ue),ei=Ur.svgData.vec[1]):(Kn=Ur.makeOrd({mode:Oe.mode,text:Oe.label},ue,"textord"),Kn=at(Kn),Kn.italic=0,ei=Kn.width),xn=Ur.makeSpan(["accent-body"],[Kn]);var Ai=Oe.label==="\\textcircled";Ai&&(xn.classes.push("accent-full"),vn=hr.height);var na=Nr;Ai||(na-=ei/2),xn.style.left=na+"em",Oe.label==="\\textcircled"&&(xn.style.top=".2em"),xn=Ur.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:-vn},{type:"elem",elem:xn}]},ue)}var Ui=Ur.makeSpan(["mord","accent"],[xn],ue);return Bt?(Bt.children[0]=Ui,Bt.height=Math.max(Ui.height,Bt.height),Bt.classes[0]="mord",Bt):Ui},lt=function(ne,ue){var fe=ne.isStretchy?Yr.mathMLnode(ne.label):new Bn.MathNode("mo",[ta(ne.label,ne.mode)]),Oe=new Bn.MathNode("mover",[Hi(ne.base,ue),fe]);return Oe.setAttribute("accent","true"),Oe},Qt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(_t){return"\\"+_t}).join("|"));Qn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(ne,ue){var fe=ue[0],Oe=!Qt.test(ne.funcName),ot=!Oe||ne.funcName==="\\widehat"||ne.funcName==="\\widetilde"||ne.funcName==="\\widecheck";return{type:"accent",mode:ne.parser.mode,label:ne.funcName,isStretchy:Oe,isShifty:ot,base:fe}},htmlBuilder:en,mathmlBuilder:lt}),Qn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(ne,ue){var fe=ue[0];return{type:"accent",mode:ne.parser.mode,label:ne.funcName,isStretchy:!1,isShifty:!0,base:fe}},htmlBuilder:en,mathmlBuilder:lt}),Qn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ue[0];return{type:"accentUnder",mode:fe.mode,label:Oe,base:ot}},htmlBuilder:function(ne,ue){var fe=Qi(ne.base,ue),Oe=Yr.svgSpan(ne,ue),ot=ne.label==="\\utilde"?.12:0,Bt=Ur.makeVList({positionType:"bottom",positionData:Oe.height+ot,children:[{type:"elem",elem:Oe,wrapperClasses:["svg-align"]},{type:"kern",size:ot},{type:"elem",elem:fe}]},ue);return Ur.makeSpan(["mord","accentunder"],[Bt],ue)},mathmlBuilder:function(ne,ue){var fe=Yr.mathMLnode(ne.label),Oe=new Bn.MathNode("munder",[Hi(ne.base,ue),fe]);return Oe.setAttribute("accentunder","true"),Oe}});var lr=function(ne){var ue=new Bn.MathNode("mpadded",ne?[ne]:[]);return ue.setAttribute("width","+0.6em"),ue.setAttribute("lspace","0.3em"),ue};Qn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(ne,ue,fe){var Oe=ne.parser,ot=ne.funcName;return{type:"xArrow",mode:Oe.mode,label:ot,body:ue[0],below:fe[0]}},htmlBuilder:function(ne,ue){var fe=ue.style,Oe=ue.havingStyle(fe.sup()),ot=Ur.wrapFragment(Qi(ne.body,Oe,ue),ue);ot.classes.push("x-arrow-pad");var Bt;ne.below&&(Oe=ue.havingStyle(fe.sub()),Bt=Ur.wrapFragment(Qi(ne.below,Oe,ue),ue),Bt.classes.push("x-arrow-pad"));var hr=Yr.svgSpan(ne,ue),Ar=-ue.fontMetrics().axisHeight+.5*hr.height,Nr=-ue.fontMetrics().axisHeight-.5*hr.height-.111;(ot.depth>.25||ne.label==="\\xleftequilibrium")&&(Nr-=ot.depth);var qr;if(Bt){var sn=-ue.fontMetrics().axisHeight+Bt.height+.5*hr.height+.111;qr=Ur.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ot,shift:Nr},{type:"elem",elem:hr,shift:Ar},{type:"elem",elem:Bt,shift:sn}]},ue)}else qr=Ur.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ot,shift:Nr},{type:"elem",elem:hr,shift:Ar}]},ue);return qr.children[0].children[0].children[1].classes.push("svg-align"),Ur.makeSpan(["mrel","x-arrow"],[qr],ue)},mathmlBuilder:function(ne,ue){var fe=Yr.mathMLnode(ne.label),Oe;if(ne.body){var ot=lr(Hi(ne.body,ue));if(ne.below){var Bt=lr(Hi(ne.below,ue));Oe=new Bn.MathNode("munderover",[fe,Bt,ot])}else Oe=new Bn.MathNode("mover",[fe,ot])}else if(ne.below){var hr=lr(Hi(ne.below,ue));Oe=new Bn.MathNode("munder",[fe,hr])}else Oe=lr(),Oe=new Bn.MathNode("mover",[fe,Oe]);return Oe}}),Qn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(ne,ue){for(var fe=ne.parser,Oe=En(ue[0],"ordgroup"),ot=Oe.body,Bt="",hr=0;hr<ot.length;hr++){var Ar=En(ot[hr],"textord");Bt+=Ar.text}var Nr=parseInt(Bt);if(isNaN(Nr))throw new a("\\@char has non-numeric argument "+Bt);return{type:"textord",mode:fe.mode,text:String.fromCharCode(Nr)}}});var mr=function(ne,ue){var fe=di(ne.body,ue.withColor(ne.color),!1);return Ur.makeFragment(fe)},Er=function(ne,ue){var fe=Ha(ne.body,ue.withColor(ne.color)),Oe=new Bn.MathNode("mstyle",fe);return Oe.setAttribute("mathcolor",ne.color),Oe};Qn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(ne,ue){var fe=ne.parser,Oe=En(ue[0],"color-token").color,ot=ue[1];return{type:"color",mode:fe.mode,color:Oe,body:An(ot)}},htmlBuilder:mr,mathmlBuilder:Er}),Qn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(ne,ue){var fe=ne.parser,Oe=ne.breakOnTokenText,ot=En(ue[0],"color-token").color;fe.gullet.macros.set("\\current@color",ot);var Bt=fe.parseExpression(!0,Oe);return{type:"color",mode:fe.mode,color:ot,body:Bt}},htmlBuilder:mr,mathmlBuilder:Er}),Qn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ne,ue,fe){var Oe=ne.parser,ot=ne.funcName,Bt=fe[0],hr=ot==="\\cr",Ar=!1;return hr||(Oe.settings.displayMode&&Oe.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Ar=!1:Ar=!0),{type:"cr",mode:Oe.mode,newLine:Ar,newRow:hr,size:Bt&&En(Bt,"size").value}},htmlBuilder:function(ne,ue){if(ne.newRow)throw new a("\\cr valid only within a tabular/array environment");var fe=Ur.makeSpan(["mspace"],[],ue);return ne.newLine&&(fe.classes.push("newline"),ne.size&&(fe.style.marginTop=ct(ne.size,ue)+"em")),fe},mathmlBuilder:function(ne,ue){var fe=new Bn.MathNode("mspace");return ne.newLine&&(fe.setAttribute("linebreak","newline"),ne.size&&fe.setAttribute("height",ct(ne.size,ue)+"em")),fe}});var Br=function(ne,ue,fe){var Oe=ze.math[ne]&&ze.math[ne].replace,ot=bt(Oe||ne,ue,fe);if(!ot)throw new Error("Unsupported symbol "+ne+" and font size "+ue+".");return ot},rn=function(ne,ue,fe,Oe){var ot=fe.havingBaseStyle(ue),Bt=Ur.makeSpan(Oe.concat(ot.sizingClasses(fe)),[ne],fe),hr=ot.sizeMultiplier/fe.sizeMultiplier;return Bt.height*=hr,Bt.depth*=hr,Bt.maxFontSize=ot.sizeMultiplier,Bt},dn=function(ne,ue,fe){var Oe=ue.havingBaseStyle(fe),ot=(1-ue.sizeMultiplier/Oe.sizeMultiplier)*ue.fontMetrics().axisHeight;ne.classes.push("delimcenter"),ne.style.top=ot+"em",ne.height-=ot,ne.depth+=ot},yn=function(ne,ue,fe,Oe,ot,Bt){var hr=Ur.makeSymbol(ne,"Main-Regular",ot,Oe),Ar=rn(hr,ue,Oe,Bt);return fe&&dn(Ar,Oe,ue),Ar},Dn=function(ne,ue,fe,Oe){return Ur.makeSymbol(ne,"Size"+ue+"-Regular",fe,Oe)},gn=function(ne,ue,fe,Oe,ot,Bt){var hr=Dn(ne,ue,ot,Oe),Ar=rn(Ur.makeSpan(["delimsizing","size"+ue],[hr],Oe),H.TEXT,Oe,Bt);return fe&&dn(Ar,Oe,H.TEXT),Ar},Sn=function(ne,ue,fe){var Oe;ue==="Size1-Regular"?Oe="delim-size1":Oe="delim-size4";var ot=Ur.makeSpan(["delimsizinginner",Oe],[Ur.makeSpan([],[Ur.makeSymbol(ne,ue,fe)])]);return{type:"elem",elem:ot}},_n={type:"kern",size:-.005},Cn=function(ne,ue,fe,Oe,ot,Bt){var hr,Ar,Nr,qr;hr=Nr=qr=ne,Ar=null;var sn="Size1-Regular";ne==="\\uparrow"?Nr=qr="\u23D0":ne==="\\Uparrow"?Nr=qr="\u2016":ne==="\\downarrow"?hr=Nr="\u23D0":ne==="\\Downarrow"?hr=Nr="\u2016":ne==="\\updownarrow"?(hr="\\uparrow",Nr="\u23D0",qr="\\downarrow"):ne==="\\Updownarrow"?(hr="\\Uparrow",Nr="\u2016",qr="\\Downarrow"):ne==="["||ne==="\\lbrack"?(hr="\u23A1",Nr="\u23A2",qr="\u23A3",sn="Size4-Regular"):ne==="]"||ne==="\\rbrack"?(hr="\u23A4",Nr="\u23A5",qr="\u23A6",sn="Size4-Regular"):ne==="\\lfloor"||ne==="\u230A"?(Nr=hr="\u23A2",qr="\u23A3",sn="Size4-Regular"):ne==="\\lceil"||ne==="\u2308"?(hr="\u23A1",Nr=qr="\u23A2",sn="Size4-Regular"):ne==="\\rfloor"||ne==="\u230B"?(Nr=hr="\u23A5",qr="\u23A6",sn="Size4-Regular"):ne==="\\rceil"||ne==="\u2309"?(hr="\u23A4",Nr=qr="\u23A5",sn="Size4-Regular"):ne==="("||ne==="\\lparen"?(hr="\u239B",Nr="\u239C",qr="\u239D",sn="Size4-Regular"):ne===")"||ne==="\\rparen"?(hr="\u239E",Nr="\u239F",qr="\u23A0",sn="Size4-Regular"):ne==="\\{"||ne==="\\lbrace"?(hr="\u23A7",Ar="\u23A8",qr="\u23A9",Nr="\u23AA",sn="Size4-Regular"):ne==="\\}"||ne==="\\rbrace"?(hr="\u23AB",Ar="\u23AC",qr="\u23AD",Nr="\u23AA",sn="Size4-Regular"):ne==="\\lgroup"||ne==="\u27EE"?(hr="\u23A7",qr="\u23A9",Nr="\u23AA",sn="Size4-Regular"):ne==="\\rgroup"||ne==="\u27EF"?(hr="\u23AB",qr="\u23AD",Nr="\u23AA",sn="Size4-Regular"):ne==="\\lmoustache"||ne==="\u23B0"?(hr="\u23A7",qr="\u23AD",Nr="\u23AA",sn="Size4-Regular"):(ne==="\\rmoustache"||ne==="\u23B1")&&(hr="\u23AB",qr="\u23A9",Nr="\u23AA",sn="Size4-Regular");var vn=Br(hr,sn,ot),xn=vn.height+vn.depth,Kn=Br(Nr,sn,ot),ei=Kn.height+Kn.depth,Ai=Br(qr,sn,ot),na=Ai.height+Ai.depth,Ui=0,Ca=1;if(Ar!==null){var co=Br(Ar,sn,ot);Ui=co.height+co.depth,Ca=2}var Wa=xn+na+Ui,vo=Math.max(0,Math.ceil((ue-Wa)/(Ca*ei))),Ao=Wa+vo*Ca*ei,Za=Oe.fontMetrics().axisHeight;fe&&(Za*=Oe.sizeMultiplier);var Fo=Ao/2-Za,Do=(vo+1)*.005-ei,ja=[];if(ja.push(Sn(qr,sn,ot)),Ar===null)for(var jo=0;jo<vo;jo++)ja.push(_n),ja.push(Sn(Nr,sn,ot));else{for(var Po=0;Po<vo;Po++)ja.push(_n),ja.push(Sn(Nr,sn,ot));ja.push({type:"kern",size:Do}),ja.push(Sn(Nr,sn,ot)),ja.push(_n),ja.push(Sn(Ar,sn,ot));for(var Xo=0;Xo<vo;Xo++)ja.push(_n),ja.push(Sn(Nr,sn,ot))}ja.push({type:"kern",size:Do}),ja.push(Sn(Nr,sn,ot)),ja.push(_n),ja.push(Sn(hr,sn,ot));var wo=Oe.havingBaseStyle(H.TEXT),ds=Ur.makeVList({positionType:"bottom",positionData:Fo,children:ja},wo);return rn(Ur.makeSpan(["delimsizing","mult"],[ds],wo),H.TEXT,Oe,Bt)},In=80,fn=.08,Tn=function(ne,ue,fe,Oe,ot){var Bt=$e(ne,Oe,fe),hr=new Re(ne,Bt),Ar=new Ue([hr],{width:"400em",height:ue+"em",viewBox:"0 0 400000 "+fe,preserveAspectRatio:"xMinYMin slice"});return Ur.makeSvgSpan(["hide-tail"],[Ar],ot)},Yn=function(ne,ue){var fe=ue.havingBaseSizing(),Oe=Sa("\\surd",ne*fe.sizeMultiplier,Ei,fe),ot=fe.sizeMultiplier,Bt=Math.max(0,ue.minRuleThickness-ue.fontMetrics().sqrtRuleThickness),hr,Ar=0,Nr=0,qr=0,sn;return Oe.type==="small"?(qr=1e3+1e3*Bt+In,ne<1?ot=1:ne<1.4&&(ot=.7),Ar=(1+Bt+fn)/ot,Nr=(1+Bt)/ot,hr=Tn("sqrtMain",Ar,qr,Bt,ue),hr.style.minWidth="0.853em",sn=.833/ot):Oe.type==="large"?(qr=(1e3+In)*Oi[Oe.size],Nr=(Oi[Oe.size]+Bt)/ot,Ar=(Oi[Oe.size]+Bt+fn)/ot,hr=Tn("sqrtSize"+Oe.size,Ar,qr,Bt,ue),hr.style.minWidth="1.02em",sn=1/ot):(Ar=ne+Bt+fn,Nr=ne+Bt,qr=Math.floor(1e3*ne+Bt)+In,hr=Tn("sqrtTall",Ar,qr,Bt,ue),hr.style.minWidth="0.742em",sn=1.056),hr.height=Nr,hr.style.height=Ar+"em",{span:hr,advanceWidth:sn,ruleWidth:(ue.fontMetrics().sqrtRuleThickness+Bt)*ot}},Gn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Hn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],zi=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Oi=[0,1.2,1.8,2.4,3],Di=function(ne,ue,fe,Oe,ot){if(ne==="<"||ne==="\\lt"||ne==="\u27E8"?ne="\\langle":(ne===">"||ne==="\\gt"||ne==="\u27E9")&&(ne="\\rangle"),A.contains(Gn,ne)||A.contains(zi,ne))return gn(ne,ue,!1,fe,Oe,ot);if(A.contains(Hn,ne))return Cn(ne,Oi[ue],!1,fe,Oe,ot);throw new a("Illegal delimiter: '"+ne+"'")},wi=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Pn=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"stack"}],Ei=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],va=function(ne){if(ne.type==="small")return"Main-Regular";if(ne.type==="large")return"Size"+ne.size+"-Regular";if(ne.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+ne.type+"' here.")},Sa=function(ne,ue,fe,Oe){for(var ot=Math.min(2,3-Oe.style.size),Bt=ot;Bt<fe.length&&!(fe[Bt].type==="stack");Bt++){var hr=Br(ne,va(fe[Bt]),"math"),Ar=hr.height+hr.depth;if(fe[Bt].type==="small"){var Nr=Oe.havingBaseStyle(fe[Bt].style);Ar*=Nr.sizeMultiplier}if(Ar>ue)return fe[Bt]}return fe[fe.length-1]},gi=function(ne,ue,fe,Oe,ot,Bt){ne==="<"||ne==="\\lt"||ne==="\u27E8"?ne="\\langle":(ne===">"||ne==="\\gt"||ne==="\u27E9")&&(ne="\\rangle");var hr;A.contains(zi,ne)?hr=wi:A.contains(Gn,ne)?hr=Ei:hr=Pn;var Ar=Sa(ne,ue,hr,Oe);return Ar.type==="small"?yn(ne,Ar.style,fe,Oe,ot,Bt):Ar.type==="large"?gn(ne,Ar.size,fe,Oe,ot,Bt):Cn(ne,ue,fe,Oe,ot,Bt)},pi=function(ne,ue,fe,Oe,ot,Bt){var hr=Oe.fontMetrics().axisHeight*Oe.sizeMultiplier,Ar=901,Nr=5/Oe.fontMetrics().ptPerEm,qr=Math.max(ue-hr,fe+hr),sn=Math.max(qr/500*Ar,2*qr-Nr);return gi(ne,sn,!0,Oe,ot,Bt)},Ii={sqrtImage:Yn,sizedDelim:Di,customSizedDelim:gi,leftRightDelim:pi},Ci={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Si=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function la(_t,ne){var ue=ui(_t);if(ue&&A.contains(Si,ue.text))return ue;throw new a("Invalid delimiter: '"+(ue?ue.text:JSON.stringify(_t))+"' after '"+ne.funcName+"'",_t)}Qn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(ne,ue){var fe=la(ue[0],ne);return{type:"delimsizing",mode:ne.parser.mode,size:Ci[ne.funcName].size,mclass:Ci[ne.funcName].mclass,delim:fe.text}},htmlBuilder:function(ne,ue){return ne.delim==="."?Ur.makeSpan([ne.mclass]):Ii.sizedDelim(ne.delim,ne.size,ue,ne.mode,[ne.mclass])},mathmlBuilder:function(ne){var ue=[];ne.delim!=="."&&ue.push(ta(ne.delim,ne.mode));var fe=new Bn.MathNode("mo",ue);return ne.mclass==="mopen"||ne.mclass==="mclose"?fe.setAttribute("fence","true"):fe.setAttribute("fence","false"),fe}});function Da(_t){if(!_t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(ne,ue){var fe=ne.parser.gullet.macros.get("\\current@color");if(fe&&typeof fe!="string")throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:ne.parser.mode,delim:la(ue[0],ne).text,color:fe}}}),Qn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(ne,ue){var fe=la(ue[0],ne),Oe=ne.parser;++Oe.leftrightDepth;var ot=Oe.parseExpression(!1);--Oe.leftrightDepth,Oe.expect("\\right",!1);var Bt=En(Oe.parseFunction(),"leftright-right");return{type:"leftright",mode:Oe.mode,body:ot,left:fe.text,right:Bt.delim,rightColor:Bt.color}},htmlBuilder:function(ne,ue){Da(ne);for(var fe=di(ne.body,ue,!0,["mopen","mclose"]),Oe=0,ot=0,Bt=!1,hr=0;hr<fe.length;hr++)fe[hr].isMiddle?Bt=!0:(Oe=Math.max(fe[hr].height,Oe),ot=Math.max(fe[hr].depth,ot));Oe*=ue.sizeMultiplier,ot*=ue.sizeMultiplier;var Ar;if(ne.left==="."?Ar=Ga(ue,["mopen"]):Ar=Ii.leftRightDelim(ne.left,Oe,ot,ue,ne.mode,["mopen"]),fe.unshift(Ar),Bt)for(var Nr=1;Nr<fe.length;Nr++){var qr=fe[Nr],sn=qr.isMiddle;sn&&(fe[Nr]=Ii.leftRightDelim(sn.delim,Oe,ot,sn.options,ne.mode,[]))}var vn;if(ne.right===".")vn=Ga(ue,["mclose"]);else{var xn=ne.rightColor?ue.withColor(ne.rightColor):ue;vn=Ii.leftRightDelim(ne.right,Oe,ot,xn,ne.mode,["mclose"])}return fe.push(vn),Ur.makeSpan(["minner"],fe,ue)},mathmlBuilder:function(ne,ue){Da(ne);var fe=Ha(ne.body,ue);if(ne.left!=="."){var Oe=new Bn.MathNode("mo",[ta(ne.left,ne.mode)]);Oe.setAttribute("fence","true"),fe.unshift(Oe)}if(ne.right!=="."){var ot=new Bn.MathNode("mo",[ta(ne.right,ne.mode)]);ot.setAttribute("fence","true"),ne.rightColor&&ot.setAttribute("mathcolor",ne.rightColor),fe.push(ot)}return So(fe)}}),Qn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(ne,ue){var fe=la(ue[0],ne);if(!ne.parser.leftrightDepth)throw new a("\\middle without preceding \\left",fe);return{type:"middle",mode:ne.parser.mode,delim:fe.text}},htmlBuilder:function(ne,ue){var fe;if(ne.delim===".")fe=Ga(ue,[]);else{fe=Ii.sizedDelim(ne.delim,1,ue,ne.mode,[]);var Oe={delim:ne.delim,options:ue};fe.isMiddle=Oe}return fe},mathmlBuilder:function(ne,ue){var fe=ne.delim==="\\vert"||ne.delim==="|"?ta("|","text"):ta(ne.delim,ne.mode),Oe=new Bn.MathNode("mo",[fe]);return Oe.setAttribute("fence","true"),Oe.setAttribute("lspace","0.05em"),Oe.setAttribute("rspace","0.05em"),Oe}});var Oa=function(ne,ue){var fe=Ur.wrapFragment(Qi(ne.body,ue),ue),Oe=ne.label.substr(1),ot=ue.sizeMultiplier,Bt,hr=0,Ar=A.isCharacterBox(ne.body);if(Oe==="sout")Bt=Ur.makeSpan(["stretchy","sout"]),Bt.height=ue.fontMetrics().defaultRuleThickness/ot,hr=-.5*ue.fontMetrics().xHeight;else{/cancel/.test(Oe)?Ar||fe.classes.push("cancel-pad"):fe.classes.push("boxpad");var Nr=0,qr=0;/box/.test(Oe)?(qr=Math.max(ue.fontMetrics().fboxrule,ue.minRuleThickness),Nr=ue.fontMetrics().fboxsep+(Oe==="colorbox"?0:qr)):Nr=Ar?.2:0,Bt=Yr.encloseSpan(fe,Oe,Nr,ue),/fbox|boxed|fcolorbox/.test(Oe)&&(Bt.style.borderStyle="solid",Bt.style.borderWidth=qr+"em"),hr=fe.depth+Nr,ne.backgroundColor&&(Bt.style.backgroundColor=ne.backgroundColor,ne.borderColor&&(Bt.style.borderColor=ne.borderColor))}var sn;return ne.backgroundColor?sn=Ur.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Bt,shift:hr},{type:"elem",elem:fe,shift:0}]},ue):sn=Ur.makeVList({positionType:"individualShift",children:[{type:"elem",elem:fe,shift:0},{type:"elem",elem:Bt,shift:hr,wrapperClasses:/cancel/.test(Oe)?["svg-align"]:[]}]},ue),/cancel/.test(Oe)&&(sn.height=fe.height,sn.depth=fe.depth),/cancel/.test(Oe)&&!Ar?Ur.makeSpan(["mord","cancel-lap"],[sn],ue):Ur.makeSpan(["mord"],[sn],ue)},Aa=function(ne,ue){var fe=0,Oe=new Bn.MathNode(ne.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Hi(ne.body,ue)]);switch(ne.label){case"\\cancel":Oe.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Oe.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Oe.setAttribute("notation","horizontalstrike");break;case"\\fbox":Oe.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(fe=ue.fontMetrics().fboxsep*ue.fontMetrics().ptPerEm,Oe.setAttribute("width","+"+2*fe+"pt"),Oe.setAttribute("height","+"+2*fe+"pt"),Oe.setAttribute("lspace",fe+"pt"),Oe.setAttribute("voffset",fe+"pt"),ne.label==="\\fcolorbox"){var ot=Math.max(ue.fontMetrics().fboxrule,ue.minRuleThickness);Oe.setAttribute("style","border: "+ot+"em solid "+String(ne.borderColor))}break;case"\\xcancel":Oe.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return ne.backgroundColor&&Oe.setAttribute("mathbackground",ne.backgroundColor),Oe};Qn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(ne,ue,fe){var Oe=ne.parser,ot=ne.funcName,Bt=En(ue[0],"color-token").color,hr=ue[1];return{type:"enclose",mode:Oe.mode,label:ot,backgroundColor:Bt,body:hr}},htmlBuilder:Oa,mathmlBuilder:Aa}),Qn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(ne,ue,fe){var Oe=ne.parser,ot=ne.funcName,Bt=En(ue[0],"color-token").color,hr=En(ue[1],"color-token").color,Ar=ue[2];return{type:"enclose",mode:Oe.mode,label:ot,backgroundColor:hr,borderColor:Bt,body:Ar}},htmlBuilder:Oa,mathmlBuilder:Aa}),Qn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(ne,ue){var fe=ne.parser;return{type:"enclose",mode:fe.mode,label:"\\fbox",body:ue[0]}}}),Qn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(ne,ue,fe){var Oe=ne.parser,ot=ne.funcName,Bt=ue[0];return{type:"enclose",mode:Oe.mode,label:ot,body:Bt}},htmlBuilder:Oa,mathmlBuilder:Aa});var ya={};function aa(_t){for(var ne=_t.type,ue=_t.names,fe=_t.props,Oe=_t.handler,ot=_t.htmlBuilder,Bt=_t.mathmlBuilder,hr={type:ne,numArgs:fe.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Oe},Ar=0;Ar<ue.length;++Ar)ya[ue[Ar]]=hr;ot&&(fi[ne]=ot),Bt&&(ki[ne]=Bt)}function mi(_t){var ne=[];_t.consumeSpaces();for(var ue=_t.fetch().text;ue==="\\hline"||ue==="\\hdashline";)_t.consume(),ne.push(ue==="\\hdashline"),_t.consumeSpaces(),ue=_t.fetch().text;return ne}function $n(_t,ne,ue){var fe=ne.hskipBeforeAndAfter,Oe=ne.addJot,ot=ne.cols,Bt=ne.arraystretch,hr=ne.colSeparationType;if(_t.gullet.beginGroup(),_t.gullet.macros.set("\\\\","\\cr"),!Bt){var Ar=_t.gullet.expandMacroAsText("\\arraystretch");if(Ar==null)Bt=1;else if(Bt=parseFloat(Ar),!Bt||Bt<0)throw new a("Invalid \\arraystretch: "+Ar)}_t.gullet.beginGroup();var Nr=[],qr=[Nr],sn=[],vn=[];for(vn.push(mi(_t));;){var xn=_t.parseExpression(!1,"\\cr");_t.gullet.endGroup(),_t.gullet.beginGroup(),xn={type:"ordgroup",mode:_t.mode,body:xn},ue&&(xn={type:"styling",mode:_t.mode,style:ue,body:[xn]}),Nr.push(xn);var Kn=_t.fetch().text;if(Kn==="&")_t.consume();else if(Kn==="\\end"){Nr.length===1&&xn.type==="styling"&&xn.body[0].body.length===0&&qr.pop(),vn.length<qr.length+1&&vn.push([]);break}else if(Kn==="\\cr"){var ei=En(_t.parseFunction(),"cr");sn.push(ei.size),vn.push(mi(_t)),Nr=[],qr.push(Nr)}else throw new a("Expected & or \\\\ or \\cr or \\end",_t.nextToken)}return _t.gullet.endGroup(),_t.gullet.endGroup(),{type:"array",mode:_t.mode,addJot:Oe,arraystretch:Bt,body:qr,cols:ot,rowGaps:sn,hskipBeforeAndAfter:fe,hLinesBeforeRow:vn,colSeparationType:hr}}function Li(_t){return _t.substr(0,1)==="d"?"display":"text"}var _i=function(ne,ue){var fe,Oe,ot=ne.body.length,Bt=ne.hLinesBeforeRow,hr=0,Ar=new Array(ot),Nr=[],qr=Math.max(ue.fontMetrics().arrayRuleWidth,ue.minRuleThickness),sn=1/ue.fontMetrics().ptPerEm,vn=5*sn;if(ne.colSeparationType&&ne.colSeparationType==="small"){var xn=ue.havingStyle(H.SCRIPT).sizeMultiplier;vn=.2778*(xn/ue.sizeMultiplier)}var Kn=12*sn,ei=3*sn,Ai=ne.arraystretch*Kn,na=.7*Ai,Ui=.3*Ai,Ca=0;function co(xs){for(var pa=0;pa<xs.length;++pa)pa>0&&(Ca+=.25),Nr.push({pos:Ca,isDashed:xs[pa]})}for(co(Bt[0]),fe=0;fe<ne.body.length;++fe){var Wa=ne.body[fe],vo=na,Ao=Ui;hr<Wa.length&&(hr=Wa.length);var Za=new Array(Wa.length);for(Oe=0;Oe<Wa.length;++Oe){var Fo=Qi(Wa[Oe],ue);Ao<Fo.depth&&(Ao=Fo.depth),vo<Fo.height&&(vo=Fo.height),Za[Oe]=Fo}var Do=ne.rowGaps[fe],ja=0;Do&&(ja=ct(Do,ue),ja>0&&(ja+=Ui,Ao<ja&&(Ao=ja),ja=0)),ne.addJot&&(Ao+=ei),Za.height=vo,Za.depth=Ao,Ca+=vo,Za.pos=Ca,Ca+=Ao+ja,Ar[fe]=Za,co(Bt[fe+1])}var jo=Ca/2+ue.fontMetrics().axisHeight,Po=ne.cols||[],Xo=[],wo,ds;for(Oe=0,ds=0;Oe<hr||ds<Po.length;++Oe,++ds){for(var ns=Po[ds]||{},Qs=!0;ns.type==="separator";){if(Qs||(wo=Ur.makeSpan(["arraycolsep"],[]),wo.style.width=ue.fontMetrics().doubleRuleSep+"em",Xo.push(wo)),ns.separator==="|"||ns.separator===":"){var Gs=ns.separator==="|"?"solid":"dashed",Go=Ur.makeSpan(["vertical-separator"],[],ue);Go.style.height=Ca+"em",Go.style.borderRightWidth=qr+"em",Go.style.borderRightStyle=Gs,Go.style.margin="0 -"+qr/2+"em",Go.style.verticalAlign=-(Ca-jo)+"em",Xo.push(Go)}else throw new a("Invalid separator type: "+ns.separator);ds++,ns=Po[ds]||{},Qs=!1}if(Oe>=hr)continue;var Oo=void 0;(Oe>0||ne.hskipBeforeAndAfter)&&(Oo=A.deflt(ns.pregap,vn),Oo!==0&&(wo=Ur.makeSpan(["arraycolsep"],[]),wo.style.width=Oo+"em",Xo.push(wo)));var hs=[];for(fe=0;fe<ot;++fe){var fs=Ar[fe],Rs=fs[Oe];if(!Rs)continue;var Ro=fs.pos-jo;Rs.depth=fs.depth,Rs.height=fs.height,hs.push({type:"elem",elem:Rs,shift:Ro})}hs=Ur.makeVList({positionType:"individualShift",children:hs},ue),hs=Ur.makeSpan(["col-align-"+(ns.align||"c")],[hs]),Xo.push(hs),(Oe<hr-1||ne.hskipBeforeAndAfter)&&(Oo=A.deflt(ns.postgap,vn),Oo!==0&&(wo=Ur.makeSpan(["arraycolsep"],[]),wo.style.width=Oo+"em",Xo.push(wo)))}if(Ar=Ur.makeSpan(["mtable"],Xo),Nr.length>0){for(var ws=Ur.makeLineSpan("hline",ue,qr),_s=Ur.makeLineSpan("hdashline",ue,qr),Ss=[{type:"elem",elem:Ar,shift:0}];Nr.length>0;){var Ms=Nr.pop(),Hs=Ms.pos-jo;Ms.isDashed?Ss.push({type:"elem",elem:_s,shift:Hs}):Ss.push({type:"elem",elem:ws,shift:Hs})}Ar=Ur.makeVList({positionType:"individualShift",children:Ss},ue)}return Ur.makeSpan(["mord"],[Ar],ue)},oi={c:"center ",l:"left ",r:"right "},Fi=function(ne,ue){var fe=new Bn.MathNode("mtable",ne.body.map(function(Ca){return new Bn.MathNode("mtr",Ca.map(function(co){return new Bn.MathNode("mtd",[Hi(co,ue)])}))})),Oe=ne.arraystretch===.5?.1:.16+ne.arraystretch-1+(ne.addJot?.09:0);fe.setAttribute("rowspacing",Oe+"em");var ot="",Bt="";if(ne.cols){var hr=ne.cols,Ar="",Nr=!1,qr=0,sn=hr.length;hr[0].type==="separator"&&(ot+="top ",qr=1),hr[hr.length-1].type==="separator"&&(ot+="bottom ",sn-=1);for(var vn=qr;vn<sn;vn++)hr[vn].type==="align"?(Bt+=oi[hr[vn].align],Nr&&(Ar+="none "),Nr=!0):hr[vn].type==="separator"&&(Nr&&(Ar+=hr[vn].separator==="|"?"solid ":"dashed ",Nr=!1));fe.setAttribute("columnalign",Bt.trim()),/[sd]/.test(Ar)&&fe.setAttribute("columnlines",Ar.trim())}if(ne.colSeparationType==="align"){for(var xn=ne.cols||[],Kn="",ei=1;ei<xn.length;ei++)Kn+=ei%2?"0em ":"1em ";fe.setAttribute("columnspacing",Kn.trim())}else ne.colSeparationType==="alignat"?fe.setAttribute("columnspacing","0em"):ne.colSeparationType==="small"?fe.setAttribute("columnspacing","0.2778em"):fe.setAttribute("columnspacing","1em");var Ai="",na=ne.hLinesBeforeRow;ot+=na[0].length>0?"left ":"",ot+=na[na.length-1].length>0?"right ":"";for(var Ui=1;Ui<na.length-1;Ui++)Ai+=na[Ui].length===0?"none ":na[Ui][0]?"dashed ":"solid ";return/[sd]/.test(Ai)&&fe.setAttribute("rowlines",Ai.trim()),ot!==""&&(fe=new Bn.MathNode("menclose",[fe]),fe.setAttribute("notation",ot.trim())),ne.arraystretch&&ne.arraystretch<1&&(fe=new Bn.MathNode("mstyle",[fe]),fe.setAttribute("scriptlevel","1")),fe},Yi=function(ne,ue){var fe=[],Oe=$n(ne.parser,{cols:fe,addJot:!0},"display"),ot,Bt=0,hr={type:"ordgroup",mode:ne.mode,body:[]},Ar=pn(ue[0],"ordgroup");if(Ar){for(var Nr="",qr=0;qr<Ar.body.length;qr++){var sn=En(Ar.body[qr],"textord");Nr+=sn.text}ot=Number(Nr),Bt=ot*2}var vn=!Bt;Oe.body.forEach(function(Ai){for(var na=1;na<Ai.length;na+=2){var Ui=En(Ai[na],"styling"),Ca=En(Ui.body[0],"ordgroup");Ca.body.unshift(hr)}if(vn)Bt<Ai.length&&(Bt=Ai.length);else{var co=Ai.length/2;if(ot<co)throw new a("Too many math in a row: "+("expected "+ot+", but got "+co),Ai[0])}});for(var xn=0;xn<Bt;++xn){var Kn="r",ei=0;xn%2===1?Kn="l":xn>0&&vn&&(ei=1),fe[xn]={type:"align",align:Kn,pregap:ei,postgap:0}}return Oe.colSeparationType=vn?"align":"alignat",Oe};aa({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(ne,ue){var fe=ui(ue[0]),Oe=fe?[ue[0]]:En(ue[0],"ordgroup").body,ot=Oe.map(function(hr){var Ar=Nn(hr),Nr=Ar.text;if("lcr".indexOf(Nr)!==-1)return{type:"align",align:Nr};if(Nr==="|")return{type:"separator",separator:"|"};if(Nr===":")return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+Nr,hr)}),Bt={cols:ot,hskipBeforeAndAfter:!0};return $n(ne.parser,Bt,Li(ne.envName))},htmlBuilder:_i,mathmlBuilder:Fi}),aa({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(ne){var ue={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[ne.envName],fe={hskipBeforeAndAfter:!1},Oe=$n(ne.parser,fe,Li(ne.envName));return ue?{type:"leftright",mode:ne.mode,body:[Oe],left:ue[0],right:ue[1],rightColor:void 0}:Oe},htmlBuilder:_i,mathmlBuilder:Fi}),aa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(ne){var ue={arraystretch:.5},fe=$n(ne.parser,ue,"script");return fe.colSeparationType="small",fe},htmlBuilder:_i,mathmlBuilder:Fi}),aa({type:"array",names:["subarray"],props:{numArgs:1},handler:function(ne,ue){var fe=ui(ue[0]),Oe=fe?[ue[0]]:En(ue[0],"ordgroup").body,ot=Oe.map(function(hr){var Ar=Nn(hr),Nr=Ar.text;if("lc".indexOf(Nr)!==-1)return{type:"align",align:Nr};throw new a("Unknown column alignment: "+Nr,hr)});if(ot.length>1)throw new a("{subarray} can contain only one column");var Bt={cols:ot,hskipBeforeAndAfter:!1,arraystretch:.5};if(Bt=$n(ne.parser,Bt,"script"),Bt.body[0].length>1)throw new a("{subarray} can contain only one column");return Bt},htmlBuilder:_i,mathmlBuilder:Fi}),aa({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(ne){var ue={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},fe=$n(ne.parser,ue,Li(ne.envName));return{type:"leftright",mode:ne.mode,body:[fe],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:_i,mathmlBuilder:Fi}),aa({type:"array",names:["aligned"],props:{numArgs:0},handler:Yi,htmlBuilder:_i,mathmlBuilder:Fi}),aa({type:"array",names:["gathered"],props:{numArgs:0},handler:function(ne){var ue={cols:[{type:"align",align:"c"}],addJot:!0};return $n(ne.parser,ue,"display")},htmlBuilder:_i,mathmlBuilder:Fi}),aa({type:"array",names:["alignedat"],props:{numArgs:1},handler:Yi,htmlBuilder:_i,mathmlBuilder:Fi}),Qn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(ne,ue){throw new a(ne.funcName+" valid only within array environment")}});var Xi=ya,Zi=Xi;Qn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ue[0];if(ot.type!=="ordgroup")throw new a("Invalid environment name",ot);for(var Bt="",hr=0;hr<ot.body.length;++hr)Bt+=En(ot.body[hr],"textord").text;if(Oe==="\\begin"){if(!Zi.hasOwnProperty(Bt))throw new a("No such environment: "+Bt,ot);var Ar=Zi[Bt],Nr=fe.parseArguments("\\begin{"+Bt+"}",Ar),qr=Nr.args,sn=Nr.optArgs,vn={mode:fe.mode,envName:Bt,parser:fe},xn=Ar.handler(vn,qr,sn);fe.expect("\\end",!1);var Kn=fe.nextToken,ei=En(fe.parseFunction(),"environment");if(ei.name!==Bt)throw new a("Mismatch: \\begin{"+Bt+"} matched by \\end{"+ei.name+"}",Kn);return xn}return{type:"environment",mode:fe.mode,name:Bt,nameGroup:ot}}});var Fa=Ur.makeSpan;function Mi(_t,ne){var ue=di(_t.body,ne,!0);return Fa([_t.mclass],ue,ne)}function ca(_t,ne){var ue,fe=Ha(_t.body,ne);return _t.mclass==="minner"?Bn.newDocumentFragment(fe):(_t.mclass==="mord"?_t.isCharacterBox?(ue=fe[0],ue.type="mi"):ue=new Bn.MathNode("mi",fe):(_t.isCharacterBox?(ue=fe[0],ue.type="mo"):ue=new Bn.MathNode("mo",fe),_t.mclass==="mbin"?(ue.attributes.lspace="0.22em",ue.attributes.rspace="0.22em"):_t.mclass==="mpunct"?(ue.attributes.lspace="0em",ue.attributes.rspace="0.17em"):(_t.mclass==="mopen"||_t.mclass==="mclose")&&(ue.attributes.lspace="0em",ue.attributes.rspace="0em")),ue)}Qn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ue[0];return{type:"mclass",mode:fe.mode,mclass:"m"+Oe.substr(5),body:An(ot),isCharacterBox:A.isCharacterBox(ot)}},htmlBuilder:Mi,mathmlBuilder:ca});var ha=function(ne){var ue=ne.type==="ordgroup"&&ne.body.length?ne.body[0]:ne;return ue.type==="atom"&&(ue.family==="bin"||ue.family==="rel")?"m"+ue.family:"mord"};Qn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(ne,ue){var fe=ne.parser;return{type:"mclass",mode:fe.mode,mclass:ha(ue[0]),body:[ue[1]],isCharacterBox:A.isCharacterBox(ue[1])}}}),Qn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ue[1],Bt=ue[0],hr;Oe!=="\\stackrel"?hr=ha(ot):hr="mrel";var Ar={type:"op",mode:ot.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Oe!=="\\stackrel",body:An(ot)},Nr={type:"supsub",mode:Bt.mode,base:Ar,sup:Oe==="\\underset"?null:Bt,sub:Oe==="\\underset"?Bt:null};return{type:"mclass",mode:fe.mode,mclass:hr,body:[Nr],isCharacterBox:A.isCharacterBox(Nr)}},htmlBuilder:Mi,mathmlBuilder:ca});var Ua=function(ne,ue){var fe=ne.font,Oe=ue.withFont(fe);return Qi(ne.body,Oe)},Ti=function(ne,ue){var fe=ne.font,Oe=ue.withFont(fe);return Hi(ne.body,Oe)},to={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Qn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ue[0],Bt=Oe;return Bt in to&&(Bt=to[Bt]),{type:"font",mode:fe.mode,font:Bt.slice(1),body:ot}},htmlBuilder:Ua,mathmlBuilder:Ti}),Qn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(ne,ue){var fe=ne.parser,Oe=ue[0],ot=A.isCharacterBox(Oe);return{type:"mclass",mode:fe.mode,mclass:ha(Oe),body:[{type:"font",mode:fe.mode,font:"boldsymbol",body:Oe}],isCharacterBox:ot}}}),Qn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ne.breakOnTokenText,Bt=fe.mode,hr=fe.parseExpression(!0,ot),Ar="math"+Oe.slice(1);return{type:"font",mode:Bt,font:Ar,body:{type:"ordgroup",mode:fe.mode,body:hr}}},htmlBuilder:Ua,mathmlBuilder:Ti});var ka=function(ne,ue){var fe=ue;return ne==="display"?fe=fe.id>=H.SCRIPT.id?fe.text():H.DISPLAY:ne==="text"&&fe.size===H.DISPLAY.size?fe=H.TEXT:ne==="script"?fe=H.SCRIPT:ne==="scriptscript"&&(fe=H.SCRIPTSCRIPT),fe},ua=function(ne,ue){var fe=ka(ne.size,ue.style),Oe=fe.fracNum(),ot=fe.fracDen(),Bt;Bt=ue.havingStyle(Oe);var hr=Qi(ne.numer,Bt,ue);if(ne.continued){var Ar=8.5/ue.fontMetrics().ptPerEm,Nr=3.5/ue.fontMetrics().ptPerEm;hr.height=hr.height<Ar?Ar:hr.height,hr.depth=hr.depth<Nr?Nr:hr.depth}Bt=ue.havingStyle(ot);var qr=Qi(ne.denom,Bt,ue),sn,vn,xn;ne.hasBarLine?(ne.barSize?(vn=ct(ne.barSize,ue),sn=Ur.makeLineSpan("frac-line",ue,vn)):sn=Ur.makeLineSpan("frac-line",ue),vn=sn.height,xn=sn.height):(sn=null,vn=0,xn=ue.fontMetrics().defaultRuleThickness);var Kn,ei,Ai;fe.size===H.DISPLAY.size||ne.size==="display"?(Kn=ue.fontMetrics().num1,vn>0?ei=3*xn:ei=7*xn,Ai=ue.fontMetrics().denom1):(vn>0?(Kn=ue.fontMetrics().num2,ei=xn):(Kn=ue.fontMetrics().num3,ei=3*xn),Ai=ue.fontMetrics().denom2);var na;if(sn){var Ca=ue.fontMetrics().axisHeight;Kn-hr.depth-(Ca+.5*vn)<ei&&(Kn+=ei-(Kn-hr.depth-(Ca+.5*vn))),Ca-.5*vn-(qr.height-Ai)<ei&&(Ai+=ei-(Ca-.5*vn-(qr.height-Ai)));var co=-(Ca-.5*vn);na=Ur.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qr,shift:Ai},{type:"elem",elem:sn,shift:co},{type:"elem",elem:hr,shift:-Kn}]},ue)}else{var Ui=Kn-hr.depth-(qr.height-Ai);Ui<ei&&(Kn+=.5*(ei-Ui),Ai+=.5*(ei-Ui)),na=Ur.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qr,shift:Ai},{type:"elem",elem:hr,shift:-Kn}]},ue)}Bt=ue.havingStyle(fe),na.height*=Bt.sizeMultiplier/ue.sizeMultiplier,na.depth*=Bt.sizeMultiplier/ue.sizeMultiplier;var Wa;fe.size===H.DISPLAY.size?Wa=ue.fontMetrics().delim1:Wa=ue.fontMetrics().delim2;var vo,Ao;return ne.leftDelim==null?vo=Ga(ue,["mopen"]):vo=Ii.customSizedDelim(ne.leftDelim,Wa,!0,ue.havingStyle(fe),ne.mode,["mopen"]),ne.continued?Ao=Ur.makeSpan([]):ne.rightDelim==null?Ao=Ga(ue,["mclose"]):Ao=Ii.customSizedDelim(ne.rightDelim,Wa,!0,ue.havingStyle(fe),ne.mode,["mclose"]),Ur.makeSpan(["mord"].concat(Bt.sizingClasses(ue)),[vo,Ur.makeSpan(["mfrac"],[na]),Ao],ue)},Ya=function(ne,ue){var fe=new Bn.MathNode("mfrac",[Hi(ne.numer,ue),Hi(ne.denom,ue)]);if(!ne.hasBarLine)fe.setAttribute("linethickness","0px");else if(ne.barSize){var Oe=ct(ne.barSize,ue);fe.setAttribute("linethickness",Oe+"em")}var ot=ka(ne.size,ue.style);if(ot.size!==ue.style.size){fe=new Bn.MathNode("mstyle",[fe]);var Bt=ot.size===H.DISPLAY.size?"true":"false";fe.setAttribute("displaystyle",Bt),fe.setAttribute("scriptlevel","0")}if(ne.leftDelim!=null||ne.rightDelim!=null){var hr=[];if(ne.leftDelim!=null){var Ar=new Bn.MathNode("mo",[new Bn.TextNode(ne.leftDelim.replace("\\",""))]);Ar.setAttribute("fence","true"),hr.push(Ar)}if(hr.push(fe),ne.rightDelim!=null){var Nr=new Bn.MathNode("mo",[new Bn.TextNode(ne.rightDelim.replace("\\",""))]);Nr.setAttribute("fence","true"),hr.push(Nr)}return So(hr)}return fe};Qn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ue[0],Bt=ue[1],hr,Ar=null,Nr=null,qr="auto";switch(Oe){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":hr=!0;break;case"\\\\atopfrac":hr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":hr=!1,Ar="(",Nr=")";break;case"\\\\bracefrac":hr=!1,Ar="\\{",Nr="\\}";break;case"\\\\brackfrac":hr=!1,Ar="[",Nr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Oe){case"\\cfrac":case"\\dfrac":case"\\dbinom":qr="display";break;case"\\tfrac":case"\\tbinom":qr="text";break}return{type:"genfrac",mode:fe.mode,continued:Oe==="\\cfrac",numer:ot,denom:Bt,hasBarLine:hr,leftDelim:Ar,rightDelim:Nr,size:qr,barSize:null}},htmlBuilder:ua,mathmlBuilder:Ya}),Qn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(ne){var ue=ne.parser,fe=ne.funcName,Oe=ne.token,ot;switch(fe){case"\\over":ot="\\frac";break;case"\\choose":ot="\\binom";break;case"\\atop":ot="\\\\atopfrac";break;case"\\brace":ot="\\\\bracefrac";break;case"\\brack":ot="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:ue.mode,replaceWith:ot,token:Oe}}});var vi=["display","text","script","scriptscript"],_a=function(ne){var ue=null;return ne.length>0&&(ue=ne,ue=ue==="."?null:ue),ue};Qn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(ne,ue){var fe=ne.parser,Oe=ue[4],ot=ue[5],Bt=pn(ue[0],"atom");Bt&&(Bt=On(ue[0],"open"));var hr=Bt?_a(Bt.text):null,Ar=pn(ue[1],"atom");Ar&&(Ar=On(ue[1],"close"));var Nr=Ar?_a(Ar.text):null,qr=En(ue[2],"size"),sn,vn=null;qr.isBlank?sn=!0:(vn=qr.value,sn=vn.number>0);var xn="auto",Kn=pn(ue[3],"ordgroup");if(Kn){if(Kn.body.length>0){var ei=En(Kn.body[0],"textord");xn=vi[Number(ei.text)]}}else Kn=En(ue[3],"textord"),xn=vi[Number(Kn.text)];return{type:"genfrac",mode:fe.mode,numer:Oe,denom:ot,continued:!1,hasBarLine:sn,barSize:vn,leftDelim:hr,rightDelim:Nr,size:xn}},htmlBuilder:ua,mathmlBuilder:Ya}),Qn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ne.token;return{type:"infix",mode:fe.mode,replaceWith:"\\\\abovefrac",size:En(ue[0],"size").value,token:ot}}}),Qn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ue[0],Bt=h(En(ue[1],"infix").size),hr=ue[2],Ar=Bt.number>0;return{type:"genfrac",mode:fe.mode,numer:ot,denom:hr,continued:!1,hasBarLine:Ar,barSize:Bt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ua,mathmlBuilder:Ya});var Ra=function(ne,ue){var fe=ue.style,Oe,ot,Bt=pn(ne,"supsub");Bt?(Oe=Bt.sup?Qi(Bt.sup,ue.havingStyle(fe.sup()),ue):Qi(Bt.sub,ue.havingStyle(fe.sub()),ue),ot=En(Bt.base,"horizBrace")):ot=En(ne,"horizBrace");var hr=Qi(ot.base,ue.havingBaseStyle(H.DISPLAY)),Ar=Yr.svgSpan(ot,ue),Nr;if(ot.isOver?(Nr=Ur.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:.1},{type:"elem",elem:Ar}]},ue),Nr.children[0].children[0].children[1].classes.push("svg-align")):(Nr=Ur.makeVList({positionType:"bottom",positionData:hr.depth+.1+Ar.height,children:[{type:"elem",elem:Ar},{type:"kern",size:.1},{type:"elem",elem:hr}]},ue),Nr.children[0].children[0].children[0].classes.push("svg-align")),Oe){var qr=Ur.makeSpan(["mord",ot.isOver?"mover":"munder"],[Nr],ue);ot.isOver?Nr=Ur.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:qr},{type:"kern",size:.2},{type:"elem",elem:Oe}]},ue):Nr=Ur.makeVList({positionType:"bottom",positionData:qr.depth+.2+Oe.height+Oe.depth,children:[{type:"elem",elem:Oe},{type:"kern",size:.2},{type:"elem",elem:qr}]},ue)}return Ur.makeSpan(["mord",ot.isOver?"mover":"munder"],[Nr],ue)},Pi=function(ne,ue){var fe=Yr.mathMLnode(ne.label);return new Bn.MathNode(ne.isOver?"mover":"munder",[Hi(ne.base,ue),fe])};Qn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName;return{type:"horizBrace",mode:fe.mode,label:Oe,isOver:/^\\over/.test(Oe),base:ue[0]}},htmlBuilder:Ra,mathmlBuilder:Pi}),Qn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(ne,ue){var fe=ne.parser,Oe=ue[1],ot=En(ue[0],"url").url;return fe.settings.isTrusted({command:"\\href",url:ot})?{type:"href",mode:fe.mode,href:ot,body:An(Oe)}:fe.formatUnsupportedCmd("\\href")},htmlBuilder:function(ne,ue){var fe=di(ne.body,ue,!1);return Ur.makeAnchor(ne.href,[],fe,ue)},mathmlBuilder:function(ne,ue){var fe=eo(ne.body,ue);return fe instanceof wa||(fe=new wa("mrow",[fe])),fe.setAttribute("href",ne.href),fe}}),Qn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(ne,ue){var fe=ne.parser,Oe=En(ue[0],"url").url;if(!fe.settings.isTrusted({command:"\\url",url:Oe}))return fe.formatUnsupportedCmd("\\url");for(var ot=[],Bt=0;Bt<Oe.length;Bt++){var hr=Oe[Bt];hr==="~"&&(hr="\\textasciitilde"),ot.push({type:"textord",mode:"text",text:hr})}var Ar={type:"text",mode:fe.mode,font:"\\texttt",body:ot};return{type:"href",mode:fe.mode,href:Oe,body:An(Ar)}}}),Qn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(ne,ue){var fe=ne.parser;return{type:"htmlmathml",mode:fe.mode,html:An(ue[0]),mathml:An(ue[1])}},htmlBuilder:function(ne,ue){var fe=di(ne.html,ue,!1);return Ur.makeFragment(fe)},mathmlBuilder:function(ne,ue){return eo(ne.mathml,ue)}});var qi=function(ne){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(ne))return{number:+ne,unit:"bp"};var ue=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(ne);if(!ue)throw new a("Invalid size: '"+ne+"' in \\includegraphics");var fe={number:+(ue[1]+ue[2]),unit:ue[3]};if(!Ge(fe))throw new a("Invalid unit: '"+fe.unit+"' in \\includegraphics.");return fe};Qn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(ne,ue,fe){var Oe=ne.parser,ot={number:0,unit:"em"},Bt={number:.9,unit:"em"},hr={number:0,unit:"em"},Ar="";if(fe[0])for(var Nr=En(fe[0],"raw").string,qr=Nr.split(","),sn=0;sn<qr.length;sn++){var vn=qr[sn].split("=");if(vn.length===2){var xn=vn[1].trim();switch(vn[0].trim()){case"alt":Ar=xn;break;case"width":ot=qi(xn);break;case"height":Bt=qi(xn);break;case"totalheight":hr=qi(xn);break;default:throw new a("Invalid key: '"+vn[0]+"' in \\includegraphics.")}}}var Kn=En(ue[0],"url").url;return Ar===""&&(Ar=Kn,Ar=Ar.replace(/^.*[\\/]/,""),Ar=Ar.substring(0,Ar.lastIndexOf("."))),Oe.settings.isTrusted({command:"\\includegraphics",url:Kn})?{type:"includegraphics",mode:Oe.mode,alt:Ar,width:ot,height:Bt,totalheight:hr,src:Kn}:Oe.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(ne,ue){var fe=ct(ne.height,ue),Oe=0;ne.totalheight.number>0&&(Oe=ct(ne.totalheight,ue)-fe,Oe=Number(Oe.toFixed(2)));var ot=0;ne.width.number>0&&(ot=ct(ne.width,ue));var Bt={height:fe+Oe+"em"};ot>0&&(Bt.width=ot+"em"),Oe>0&&(Bt.verticalAlign=-Oe+"em");var hr=new wt(ne.src,ne.alt,Bt);return hr.height=fe,hr.depth=Oe,hr},mathmlBuilder:function(ne,ue){var fe=new Bn.MathNode("mglyph",[]);fe.setAttribute("alt",ne.alt);var Oe=ct(ne.height,ue),ot=0;if(ne.totalheight.number>0&&(ot=ct(ne.totalheight,ue)-Oe,ot=ot.toFixed(2),fe.setAttribute("valign","-"+ot+"em")),fe.setAttribute("height",Oe+ot+"em"),ne.width.number>0){var Bt=ct(ne.width,ue);fe.setAttribute("width",Bt+"em")}return fe.setAttribute("src",ne.src),fe}}),Qn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=En(ue[0],"size");if(fe.settings.strict){var Bt=Oe[1]==="m",hr=ot.value.unit==="mu";Bt?(hr||fe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Oe+" supports only mu units, "+("not "+ot.value.unit+" units")),fe.mode!=="math"&&fe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Oe+" works only in math mode")):hr&&fe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Oe+" doesn't support mu units")}return{type:"kern",mode:fe.mode,dimension:ot.value}},htmlBuilder:function(ne,ue){return Ur.makeGlue(ne.dimension,ue)},mathmlBuilder:function(ne,ue){var fe=ct(ne.dimension,ue);return new Bn.SpaceNode(fe)}}),Qn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ue[0];return{type:"lap",mode:fe.mode,alignment:Oe.slice(5),body:ot}},htmlBuilder:function(ne,ue){var fe;ne.alignment==="clap"?(fe=Ur.makeSpan([],[Qi(ne.body,ue)]),fe=Ur.makeSpan(["inner"],[fe],ue)):fe=Ur.makeSpan(["inner"],[Qi(ne.body,ue)]);var Oe=Ur.makeSpan(["fix"],[]),ot=Ur.makeSpan([ne.alignment],[fe,Oe],ue),Bt=Ur.makeSpan(["strut"]);return Bt.style.height=ot.height+ot.depth+"em",Bt.style.verticalAlign=-ot.depth+"em",ot.children.unshift(Bt),ot=Ur.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ot}]},ue),Ur.makeSpan(["mord"],[ot],ue)},mathmlBuilder:function(ne,ue){var fe=new Bn.MathNode("mpadded",[Hi(ne.body,ue)]);if(ne.alignment!=="rlap"){var Oe=ne.alignment==="llap"?"-1":"-0.5";fe.setAttribute("lspace",Oe+"width")}return fe.setAttribute("width","0px"),fe}}),Qn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ne,ue){var fe=ne.funcName,Oe=ne.parser,ot=Oe.mode;Oe.switchMode("math");var Bt=fe==="\\("?"\\)":"$",hr=Oe.parseExpression(!1,Bt);return Oe.expect(Bt),Oe.switchMode(ot),{type:"styling",mode:Oe.mode,style:"text",body:hr}}}),Qn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ne,ue){throw new a("Mismatched "+ne.funcName)}});var ro=function(ne,ue){switch(ue.style.size){case H.DISPLAY.size:return ne.display;case H.TEXT.size:return ne.text;case H.SCRIPT.size:return ne.script;case H.SCRIPTSCRIPT.size:return ne.scriptscript;default:return ne.text}};Qn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(ne,ue){var fe=ne.parser;return{type:"mathchoice",mode:fe.mode,display:An(ue[0]),text:An(ue[1]),script:An(ue[2]),scriptscript:An(ue[3])}},htmlBuilder:function(ne,ue){var fe=ro(ne,ue),Oe=di(fe,ue,!1);return Ur.makeFragment(Oe)},mathmlBuilder:function(ne,ue){var fe=ro(ne,ue);return eo(fe,ue)}});var Ni=function(ne,ue,fe,Oe,ot,Bt,hr){ne=Ur.makeSpan([],[ne]);var Ar,Nr;if(ue){var qr=Qi(ue,Oe.havingStyle(ot.sup()),Oe);Nr={elem:qr,kern:Math.max(Oe.fontMetrics().bigOpSpacing1,Oe.fontMetrics().bigOpSpacing3-qr.depth)}}if(fe){var sn=Qi(fe,Oe.havingStyle(ot.sub()),Oe);Ar={elem:sn,kern:Math.max(Oe.fontMetrics().bigOpSpacing2,Oe.fontMetrics().bigOpSpacing4-sn.height)}}var vn;if(Nr&&Ar){var xn=Oe.fontMetrics().bigOpSpacing5+Ar.elem.height+Ar.elem.depth+Ar.kern+ne.depth+hr;vn=Ur.makeVList({positionType:"bottom",positionData:xn,children:[{type:"kern",size:Oe.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ar.elem,marginLeft:-Bt+"em"},{type:"kern",size:Ar.kern},{type:"elem",elem:ne},{type:"kern",size:Nr.kern},{type:"elem",elem:Nr.elem,marginLeft:Bt+"em"},{type:"kern",size:Oe.fontMetrics().bigOpSpacing5}]},Oe)}else if(Ar){var Kn=ne.height-hr;vn=Ur.makeVList({positionType:"top",positionData:Kn,children:[{type:"kern",size:Oe.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ar.elem,marginLeft:-Bt+"em"},{type:"kern",size:Ar.kern},{type:"elem",elem:ne}]},Oe)}else if(Nr){var ei=ne.depth+hr;vn=Ur.makeVList({positionType:"bottom",positionData:ei,children:[{type:"elem",elem:ne},{type:"kern",size:Nr.kern},{type:"elem",elem:Nr.elem,marginLeft:Bt+"em"},{type:"kern",size:Oe.fontMetrics().bigOpSpacing5}]},Oe)}else return ne;return Ur.makeSpan(["mop","op-limits"],[vn],Oe)},za=["\\smallint"],lo=function(ne,ue){var fe,Oe,ot=!1,Bt,hr=pn(ne,"supsub");hr?(fe=hr.sup,Oe=hr.sub,Bt=En(hr.base,"op"),ot=!0):Bt=En(ne,"op");var Ar=ue.style,Nr=!1;Ar.size===H.DISPLAY.size&&Bt.symbol&&!A.contains(za,Bt.name)&&(Nr=!0);var qr;if(Bt.symbol){var sn=Nr?"Size2-Regular":"Size1-Regular",vn="";if((Bt.name==="\\oiint"||Bt.name==="\\oiiint")&&(vn=Bt.name.substr(1),Bt.name=vn==="oiint"?"\\iint":"\\iiint"),qr=Ur.makeSymbol(Bt.name,sn,"math",ue,["mop","op-symbol",Nr?"large-op":"small-op"]),vn.length>0){var xn=qr.italic,Kn=Ur.staticSvg(vn+"Size"+(Nr?"2":"1"),ue);qr=Ur.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qr,shift:0},{type:"elem",elem:Kn,shift:Nr?.08:0}]},ue),Bt.name="\\"+vn,qr.classes.unshift("mop"),qr.italic=xn}}else if(Bt.body){var ei=di(Bt.body,ue,!0);ei.length===1&&ei[0]instanceof mt?(qr=ei[0],qr.classes[0]="mop"):qr=Ur.makeSpan(["mop"],Ur.tryCombineChars(ei),ue)}else{for(var Ai=[],na=1;na<Bt.name.length;na++)Ai.push(Ur.mathsym(Bt.name[na],Bt.mode,ue));qr=Ur.makeSpan(["mop"],Ai,ue)}var Ui=0,Ca=0;return(qr instanceof mt||Bt.name==="\\oiint"||Bt.name==="\\oiiint")&&!Bt.suppressBaseShift&&(Ui=(qr.height-qr.depth)/2-ue.fontMetrics().axisHeight,Ca=qr.italic),ot?Ni(qr,fe,Oe,ue,Ar,Ca,Ui):(Ui&&(qr.style.position="relative",qr.style.top=Ui+"em"),qr)},mo=function(ne,ue){var fe;if(ne.symbol)fe=new wa("mo",[ta(ne.name,ne.mode)]),A.contains(za,ne.name)&&fe.setAttribute("largeop","false");else if(ne.body)fe=new wa("mo",Ha(ne.body,ue));else{fe=new wa("mi",[new ga(ne.name.slice(1))]);var Oe=new wa("mo",[ta("\u2061","text")]);ne.parentIsSupSub?fe=new wa("mo",[fe,Oe]):fe=ji([fe,Oe])}return fe},Ka={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Qn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=Oe;return ot.length===1&&(ot=Ka[ot]),{type:"op",mode:fe.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:ot}},htmlBuilder:lo,mathmlBuilder:mo}),Qn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(ne,ue){var fe=ne.parser,Oe=ue[0];return{type:"op",mode:fe.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:An(Oe)}},htmlBuilder:lo,mathmlBuilder:mo});var Io={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Qn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(ne){var ue=ne.parser,fe=ne.funcName;return{type:"op",mode:ue.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:fe}},htmlBuilder:lo,mathmlBuilder:mo}),Qn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(ne){var ue=ne.parser,fe=ne.funcName;return{type:"op",mode:ue.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:fe}},htmlBuilder:lo,mathmlBuilder:mo}),Qn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(ne){var ue=ne.parser,fe=ne.funcName,Oe=fe;return Oe.length===1&&(Oe=Io[Oe]),{type:"op",mode:ue.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Oe}},htmlBuilder:lo,mathmlBuilder:mo});var Ja=function(ne,ue){var fe,Oe,ot=!1,Bt,hr=pn(ne,"supsub");hr?(fe=hr.sup,Oe=hr.sub,Bt=En(hr.base,"operatorname"),ot=!0):Bt=En(ne,"operatorname");var Ar;if(Bt.body.length>0){for(var Nr=Bt.body.map(function(xn){var Kn=xn.text;return typeof Kn=="string"?{type:"textord",mode:xn.mode,text:Kn}:xn}),qr=di(Nr,ue.withFont("mathrm"),!0),sn=0;sn<qr.length;sn++){var vn=qr[sn];vn instanceof mt&&(vn.text=vn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ar=Ur.makeSpan(["mop"],qr,ue)}else Ar=Ur.makeSpan(["mop"],[],ue);return ot?Ni(Ar,fe,Oe,ue,ue.style,0,0):Ar},ra=function(ne,ue){for(var fe=Ha(ne.body,ue.withFont("mathrm")),Oe=!0,ot=0;ot<fe.length;ot++){var Bt=fe[ot];if(!(Bt instanceof Bn.SpaceNode))if(Bt instanceof Bn.MathNode)switch(Bt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var hr=Bt.children[0];Bt.children.length===1&&hr instanceof Bn.TextNode?hr.text=hr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Oe=!1;break}default:Oe=!1}else Oe=!1}if(Oe){var Ar=fe.map(function(sn){return sn.toText()}).join("");fe=[new Bn.TextNode(Ar)]}var Nr=new Bn.MathNode("mi",fe);Nr.setAttribute("mathvariant","normal");var qr=new Bn.MathNode("mo",[ta("\u2061","text")]);return ne.parentIsSupSub?new Bn.MathNode("mo",[Nr,qr]):Bn.newDocumentFragment([Nr,qr])};Qn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ue[0];return{type:"operatorname",mode:fe.mode,body:An(ot),alwaysHandleSupSub:Oe==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ja,mathmlBuilder:ra}),ea({type:"ordgroup",htmlBuilder:function(ne,ue){return ne.semisimple?Ur.makeFragment(di(ne.body,ue,!1)):Ur.makeSpan(["mord"],di(ne.body,ue,!0),ue)},mathmlBuilder:function(ne,ue){return eo(ne.body,ue,!0)}}),Qn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(ne,ue){var fe=ne.parser,Oe=ue[0];return{type:"overline",mode:fe.mode,body:Oe}},htmlBuilder:function(ne,ue){var fe=Qi(ne.body,ue.havingCrampedStyle()),Oe=Ur.makeLineSpan("overline-line",ue),ot=ue.fontMetrics().defaultRuleThickness,Bt=Ur.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:fe},{type:"kern",size:3*ot},{type:"elem",elem:Oe},{type:"kern",size:ot}]},ue);return Ur.makeSpan(["mord","overline"],[Bt],ue)},mathmlBuilder:function(ne,ue){var fe=new Bn.MathNode("mo",[new Bn.TextNode("\u203E")]);fe.setAttribute("stretchy","true");var Oe=new Bn.MathNode("mover",[Hi(ne.body,ue),fe]);return Oe.setAttribute("accent","true"),Oe}}),Qn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(ne,ue){var fe=ne.parser,Oe=ue[0];return{type:"phantom",mode:fe.mode,body:An(Oe)}},htmlBuilder:function(ne,ue){var fe=di(ne.body,ue.withPhantom(),!1);return Ur.makeFragment(fe)},mathmlBuilder:function(ne,ue){var fe=Ha(ne.body,ue);return new Bn.MathNode("mphantom",fe)}}),Qn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ne,ue){var fe=ne.parser,Oe=ue[0];return{type:"hphantom",mode:fe.mode,body:Oe}},htmlBuilder:function(ne,ue){var fe=Ur.makeSpan([],[Qi(ne.body,ue.withPhantom())]);if(fe.height=0,fe.depth=0,fe.children)for(var Oe=0;Oe<fe.children.length;Oe++)fe.children[Oe].height=0,fe.children[Oe].depth=0;return fe=Ur.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:fe}]},ue),Ur.makeSpan(["mord"],[fe],ue)},mathmlBuilder:function(ne,ue){var fe=Ha(An(ne.body),ue),Oe=new Bn.MathNode("mphantom",fe),ot=new Bn.MathNode("mpadded",[Oe]);return ot.setAttribute("height","0px"),ot.setAttribute("depth","0px"),ot}}),Qn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ne,ue){var fe=ne.parser,Oe=ue[0];return{type:"vphantom",mode:fe.mode,body:Oe}},htmlBuilder:function(ne,ue){var fe=Ur.makeSpan(["inner"],[Qi(ne.body,ue.withPhantom())]),Oe=Ur.makeSpan(["fix"],[]);return Ur.makeSpan(["mord","rlap"],[fe,Oe],ue)},mathmlBuilder:function(ne,ue){var fe=Ha(An(ne.body),ue),Oe=new Bn.MathNode("mphantom",fe),ot=new Bn.MathNode("mpadded",[Oe]);return ot.setAttribute("width","0px"),ot}}),Qn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(ne,ue){var fe=ne.parser,Oe=En(ue[0],"size").value,ot=ue[1];return{type:"raisebox",mode:fe.mode,dy:Oe,body:ot}},htmlBuilder:function(ne,ue){var fe=Qi(ne.body,ue),Oe=ct(ne.dy,ue);return Ur.makeVList({positionType:"shift",positionData:-Oe,children:[{type:"elem",elem:fe}]},ue)},mathmlBuilder:function(ne,ue){var fe=new Bn.MathNode("mpadded",[Hi(ne.body,ue)]),Oe=ne.dy.number+ne.dy.unit;return fe.setAttribute("voffset",Oe),fe}}),Qn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(ne,ue,fe){var Oe=ne.parser,ot=fe[0],Bt=En(ue[0],"size"),hr=En(ue[1],"size");return{type:"rule",mode:Oe.mode,shift:ot&&En(ot,"size").value,width:Bt.value,height:hr.value}},htmlBuilder:function(ne,ue){var fe=Ur.makeSpan(["mord","rule"],[],ue),Oe=ct(ne.width,ue),ot=ct(ne.height,ue),Bt=ne.shift?ct(ne.shift,ue):0;return fe.style.borderRightWidth=Oe+"em",fe.style.borderTopWidth=ot+"em",fe.style.bottom=Bt+"em",fe.width=Oe,fe.height=ot+Bt,fe.depth=-Bt,fe.maxFontSize=ot*1.125*ue.sizeMultiplier,fe},mathmlBuilder:function(ne,ue){var fe=ct(ne.width,ue),Oe=ct(ne.height,ue),ot=ne.shift?ct(ne.shift,ue):0,Bt=ue.color&&ue.getColor()||"black",hr=new Bn.MathNode("mspace");hr.setAttribute("mathbackground",Bt),hr.setAttribute("width",fe+"em"),hr.setAttribute("height",Oe+"em");var Ar=new Bn.MathNode("mpadded",[hr]);return ot>=0?Ar.setAttribute("height","+"+ot+"em"):(Ar.setAttribute("height",ot+"em"),Ar.setAttribute("depth","+"+-ot+"em")),Ar.setAttribute("voffset",ot+"em"),Ar}});function Wi(_t,ne,ue){for(var fe=di(_t,ne,!1),Oe=ne.sizeMultiplier/ue.sizeMultiplier,ot=0;ot<fe.length;ot++){var Bt=fe[ot].classes.indexOf("sizing");Bt<0?Array.prototype.push.apply(fe[ot].classes,ne.sizingClasses(ue)):fe[ot].classes[Bt+1]==="reset-size"+ne.size&&(fe[ot].classes[Bt+1]="reset-size"+ue.size),fe[ot].height*=Oe,fe[ot].depth*=Oe}return Ur.makeFragment(fe)}var go=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],xa=function(ne,ue){var fe=ue.havingSize(ne.size);return Wi(ne.body,fe,ue)};Qn({type:"sizing",names:go,props:{numArgs:0,allowedInText:!0},handler:function(ne,ue){var fe=ne.breakOnTokenText,Oe=ne.funcName,ot=ne.parser,Bt=ot.parseExpression(!1,fe);return{type:"sizing",mode:ot.mode,size:go.indexOf(Oe)+1,body:Bt}},htmlBuilder:xa,mathmlBuilder:function(ne,ue){var fe=ue.havingSize(ne.size),Oe=Ha(ne.body,fe),ot=new Bn.MathNode("mstyle",Oe);return ot.setAttribute("mathsize",fe.sizeMultiplier+"em"),ot}}),Qn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(ne,ue,fe){var Oe=ne.parser,ot=!1,Bt=!1,hr=fe[0]&&En(fe[0],"ordgroup");if(hr)for(var Ar="",Nr=0;Nr<hr.body.length;++Nr){var qr=hr.body[Nr];if(Ar=qr.text,Ar==="t")ot=!0;else if(Ar==="b")Bt=!0;else{ot=!1,Bt=!1;break}}else ot=!0,Bt=!0;var sn=ue[0];return{type:"smash",mode:Oe.mode,body:sn,smashHeight:ot,smashDepth:Bt}},htmlBuilder:function(ne,ue){var fe=Ur.makeSpan([],[Qi(ne.body,ue)]);if(!ne.smashHeight&&!ne.smashDepth)return fe;if(ne.smashHeight&&(fe.height=0,fe.children))for(var Oe=0;Oe<fe.children.length;Oe++)fe.children[Oe].height=0;if(ne.smashDepth&&(fe.depth=0,fe.children))for(var ot=0;ot<fe.children.length;ot++)fe.children[ot].depth=0;var Bt=Ur.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:fe}]},ue);return Ur.makeSpan(["mord"],[Bt],ue)},mathmlBuilder:function(ne,ue){var fe=new Bn.MathNode("mpadded",[Hi(ne.body,ue)]);return ne.smashHeight&&fe.setAttribute("height","0px"),ne.smashDepth&&fe.setAttribute("depth","0px"),fe}}),Qn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(ne,ue,fe){var Oe=ne.parser,ot=fe[0],Bt=ue[0];return{type:"sqrt",mode:Oe.mode,body:Bt,index:ot}},htmlBuilder:function(ne,ue){var fe=Qi(ne.body,ue.havingCrampedStyle());fe.height===0&&(fe.height=ue.fontMetrics().xHeight),fe=Ur.wrapFragment(fe,ue);var Oe=ue.fontMetrics(),ot=Oe.defaultRuleThickness,Bt=ot;ue.style.id<H.TEXT.id&&(Bt=ue.fontMetrics().xHeight);var hr=ot+Bt/4,Ar=fe.height+fe.depth+hr+ot,Nr=Ii.sqrtImage(Ar,ue),qr=Nr.span,sn=Nr.ruleWidth,vn=Nr.advanceWidth,xn=qr.height-sn;xn>fe.height+fe.depth+hr&&(hr=(hr+xn-fe.height-fe.depth)/2);var Kn=qr.height-fe.height-hr-sn;fe.style.paddingLeft=vn+"em";var ei=Ur.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:fe,wrapperClasses:["svg-align"]},{type:"kern",size:-(fe.height+Kn)},{type:"elem",elem:qr},{type:"kern",size:sn}]},ue);if(ne.index){var Ai=ue.havingStyle(H.SCRIPTSCRIPT),na=Qi(ne.index,Ai,ue),Ui=.6*(ei.height-ei.depth),Ca=Ur.makeVList({positionType:"shift",positionData:-Ui,children:[{type:"elem",elem:na}]},ue),co=Ur.makeSpan(["root"],[Ca]);return Ur.makeSpan(["mord","sqrt"],[co,ei],ue)}else return Ur.makeSpan(["mord","sqrt"],[ei],ue)},mathmlBuilder:function(ne,ue){var fe=ne.body,Oe=ne.index;return Oe?new Bn.MathNode("mroot",[Hi(fe,ue),Hi(Oe,ue)]):new Bn.MathNode("msqrt",[Hi(fe,ue)])}});var si={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT};Qn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(ne,ue){var fe=ne.breakOnTokenText,Oe=ne.funcName,ot=ne.parser,Bt=ot.parseExpression(!0,fe),hr=Oe.slice(1,Oe.length-5);return{type:"styling",mode:ot.mode,style:hr,body:Bt}},htmlBuilder:function(ne,ue){var fe=si[ne.style],Oe=ue.havingStyle(fe).withFont("");return Wi(ne.body,Oe,ue)},mathmlBuilder:function(ne,ue){var fe=si[ne.style],Oe=ue.havingStyle(fe),ot=Ha(ne.body,Oe),Bt=new Bn.MathNode("mstyle",ot),hr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ar=hr[ne.style];return Bt.setAttribute("scriptlevel",Ar[0]),Bt.setAttribute("displaystyle",Ar[1]),Bt}});var Ki=function(ne,ue){var fe=ne.base;if(fe)if(fe.type==="op"){var Oe=fe.limits&&(ue.style.size===H.DISPLAY.size||fe.alwaysHandleSupSub);return Oe?lo:null}else if(fe.type==="operatorname"){var ot=fe.alwaysHandleSupSub&&(ue.style.size===H.DISPLAY.size||fe.limits);return ot?Ja:null}else{if(fe.type==="accent")return A.isCharacterBox(fe.base)?en:null;if(fe.type==="horizBrace"){var Bt=!ne.sub;return Bt===fe.isOver?Ra:null}else return null}else return null};ea({type:"supsub",htmlBuilder:function(ne,ue){var fe=Ki(ne,ue);if(fe)return fe(ne,ue);var Oe=ne.base,ot=ne.sup,Bt=ne.sub,hr=Qi(Oe,ue),Ar,Nr,qr=ue.fontMetrics(),sn=0,vn=0,xn=Oe&&A.isCharacterBox(Oe);if(ot){var Kn=ue.havingStyle(ue.style.sup());Ar=Qi(ot,Kn,ue),xn||(sn=hr.height-Kn.fontMetrics().supDrop*Kn.sizeMultiplier/ue.sizeMultiplier)}if(Bt){var ei=ue.havingStyle(ue.style.sub());Nr=Qi(Bt,ei,ue),xn||(vn=hr.depth+ei.fontMetrics().subDrop*ei.sizeMultiplier/ue.sizeMultiplier)}var Ai;ue.style===H.DISPLAY?Ai=qr.sup1:ue.style.cramped?Ai=qr.sup3:Ai=qr.sup2;var na=ue.sizeMultiplier,Ui=.5/qr.ptPerEm/na+"em",Ca=null;if(Nr){var co=ne.base&&ne.base.type==="op"&&ne.base.name&&(ne.base.name==="\\oiint"||ne.base.name==="\\oiiint");(hr instanceof mt||co)&&(Ca=-hr.italic+"em")}var Wa;if(Ar&&Nr){sn=Math.max(sn,Ai,Ar.depth+.25*qr.xHeight),vn=Math.max(vn,qr.sub2);var vo=qr.defaultRuleThickness,Ao=4*vo;if(sn-Ar.depth-(Nr.height-vn)<Ao){vn=Ao-(sn-Ar.depth)+Nr.height;var Za=.8*qr.xHeight-(sn-Ar.depth);Za>0&&(sn+=Za,vn-=Za)}var Fo=[{type:"elem",elem:Nr,shift:vn,marginRight:Ui,marginLeft:Ca},{type:"elem",elem:Ar,shift:-sn,marginRight:Ui}];Wa=Ur.makeVList({positionType:"individualShift",children:Fo},ue)}else if(Nr){vn=Math.max(vn,qr.sub1,Nr.height-.8*qr.xHeight);var Do=[{type:"elem",elem:Nr,marginLeft:Ca,marginRight:Ui}];Wa=Ur.makeVList({positionType:"shift",positionData:vn,children:Do},ue)}else if(Ar)sn=Math.max(sn,Ai,Ar.depth+.25*qr.xHeight),Wa=Ur.makeVList({positionType:"shift",positionData:-sn,children:[{type:"elem",elem:Ar,marginRight:Ui}]},ue);else throw new Error("supsub must have either sup or sub.");var ja=Pa(hr,"right")||"mord";return Ur.makeSpan([ja],[hr,Ur.makeSpan(["msupsub"],[Wa])],ue)},mathmlBuilder:function(ne,ue){var fe=!1,Oe,ot,Bt=pn(ne.base,"horizBrace");Bt&&(ot=!!ne.sup,ot===Bt.isOver&&(fe=!0,Oe=Bt.isOver)),ne.base&&(ne.base.type==="op"||ne.base.type==="operatorname")&&(ne.base.parentIsSupSub=!0);var hr=[Hi(ne.base,ue)];ne.sub&&hr.push(Hi(ne.sub,ue)),ne.sup&&hr.push(Hi(ne.sup,ue));var Ar;if(fe)Ar=Oe?"mover":"munder";else if(ne.sub)if(ne.sup){var sn=ne.base;sn&&sn.type==="op"&&sn.limits&&ue.style===H.DISPLAY||sn&&sn.type==="operatorname"&&sn.alwaysHandleSupSub&&(ue.style===H.DISPLAY||sn.limits)?Ar="munderover":Ar="msubsup"}else{var qr=ne.base;qr&&qr.type==="op"&&qr.limits&&(ue.style===H.DISPLAY||qr.alwaysHandleSupSub)||qr&&qr.type==="operatorname"&&qr.alwaysHandleSupSub&&(qr.limits||ue.style===H.DISPLAY)?Ar="munder":Ar="msub"}else{var Nr=ne.base;Nr&&Nr.type==="op"&&Nr.limits&&(ue.style===H.DISPLAY||Nr.alwaysHandleSupSub)||Nr&&Nr.type==="operatorname"&&Nr.alwaysHandleSupSub&&(Nr.limits||ue.style===H.DISPLAY)?Ar="mover":Ar="msup"}var vn=new Bn.MathNode(Ar,hr);return vn}}),ea({type:"atom",htmlBuilder:function(ne,ue){return Ur.mathsym(ne.text,ne.mode,ue,["m"+ne.family])},mathmlBuilder:function(ne,ue){var fe=new Bn.MathNode("mo",[ta(ne.text,ne.mode)]);if(ne.family==="bin"){var Oe=To(ne,ue);Oe==="bold-italic"&&fe.setAttribute("mathvariant",Oe)}else ne.family==="punct"?fe.setAttribute("separator","true"):(ne.family==="open"||ne.family==="close")&&fe.setAttribute("stretchy","false");return fe}});var xo={mi:"italic",mn:"normal",mtext:"normal"};ea({type:"mathord",htmlBuilder:function(ne,ue){return Ur.makeOrd(ne,ue,"mathord")},mathmlBuilder:function(ne,ue){var fe=new Bn.MathNode("mi",[ta(ne.text,ne.mode,ue)]),Oe=To(ne,ue)||"italic";return Oe!==xo[fe.type]&&fe.setAttribute("mathvariant",Oe),fe}}),ea({type:"textord",htmlBuilder:function(ne,ue){return Ur.makeOrd(ne,ue,"textord")},mathmlBuilder:function(ne,ue){var fe=ta(ne.text,ne.mode,ue),Oe=To(ne,ue)||"normal",ot;return ne.mode==="text"?ot=new Bn.MathNode("mtext",[fe]):/[0-9]/.test(ne.text)?ot=new Bn.MathNode("mn",[fe]):ne.text==="\\prime"?ot=new Bn.MathNode("mo",[fe]):ot=new Bn.MathNode("mi",[fe]),Oe!==xo[ot.type]&&ot.setAttribute("mathvariant",Oe),ot}});var yo={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},no={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ea({type:"spacing",htmlBuilder:function(ne,ue){if(no.hasOwnProperty(ne.text)){var fe=no[ne.text].className||"";if(ne.mode==="text"){var Oe=Ur.makeOrd(ne,ue,"textord");return Oe.classes.push(fe),Oe}else return Ur.makeSpan(["mspace",fe],[Ur.mathsym(ne.text,ne.mode,ue)],ue)}else{if(yo.hasOwnProperty(ne.text))return Ur.makeSpan(["mspace",yo[ne.text]],[],ue);throw new a('Unknown type of space "'+ne.text+'"')}},mathmlBuilder:function(ne,ue){var fe;if(no.hasOwnProperty(ne.text))fe=new Bn.MathNode("mtext",[new Bn.TextNode("\xA0")]);else{if(yo.hasOwnProperty(ne.text))return new Bn.MathNode("mspace");throw new a('Unknown type of space "'+ne.text+'"')}return fe}});var bo=function(){var ne=new Bn.MathNode("mtd",[]);return ne.setAttribute("width","50%"),ne};ea({type:"tag",mathmlBuilder:function(ne,ue){var fe=new Bn.MathNode("mtable",[new Bn.MathNode("mtr",[bo(),new Bn.MathNode("mtd",[eo(ne.body,ue)]),bo(),new Bn.MathNode("mtd",[eo(ne.tag,ue)])])]);return fe.setAttribute("width","100%"),fe}});var Mo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},fa={"\\textbf":"textbf","\\textmd":"textmd"},Vi={"\\textit":"textit","\\textup":"textup"},io=function(ne,ue){var fe=ne.font;return fe?Mo[fe]?ue.withTextFontFamily(Mo[fe]):fa[fe]?ue.withTextFontWeight(fa[fe]):ue.withTextFontShape(Vi[fe]):ue};Qn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(ne,ue){var fe=ne.parser,Oe=ne.funcName,ot=ue[0];return{type:"text",mode:fe.mode,body:An(ot),font:Oe}},htmlBuilder:function(ne,ue){var fe=io(ne,ue),Oe=di(ne.body,fe,!0);return Ur.makeSpan(["mord","text"],Ur.tryCombineChars(Oe),fe)},mathmlBuilder:function(ne,ue){var fe=io(ne,ue);return eo(ne.body,fe)}}),Qn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(ne,ue){var fe=ne.parser;return{type:"underline",mode:fe.mode,body:ue[0]}},htmlBuilder:function(ne,ue){var fe=Qi(ne.body,ue),Oe=Ur.makeLineSpan("underline-line",ue),ot=ue.fontMetrics().defaultRuleThickness,Bt=Ur.makeVList({positionType:"top",positionData:fe.height,children:[{type:"kern",size:ot},{type:"elem",elem:Oe},{type:"kern",size:3*ot},{type:"elem",elem:fe}]},ue);return Ur.makeSpan(["mord","underline"],[Bt],ue)},mathmlBuilder:function(ne,ue){var fe=new Bn.MathNode("mo",[new Bn.TextNode("\u203E")]);fe.setAttribute("stretchy","true");var Oe=new Bn.MathNode("munder",[Hi(ne.body,ue),fe]);return Oe.setAttribute("accentunder","true"),Oe}}),Qn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(ne,ue,fe){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(ne,ue){for(var fe=$a(ne),Oe=[],ot=ue.havingStyle(ue.style.text()),Bt=0;Bt<fe.length;Bt++){var hr=fe[Bt];hr==="~"&&(hr="\\textasciitilde"),Oe.push(Ur.makeSymbol(hr,"Typewriter-Regular",ne.mode,ot,["mord","texttt"]))}return Ur.makeSpan(["mord","text"].concat(ot.sizingClasses(ue)),Ur.tryCombineChars(Oe),ot)},mathmlBuilder:function(ne,ue){var fe=new Bn.TextNode($a(ne)),Oe=new Bn.MathNode("mtext",[fe]);return Oe.setAttribute("mathvariant","monospace"),Oe}});var $a=function(ne){return ne.body.replace(/ /g,ne.star?"\u2423":"\xA0")},Ea=ia,Ji=Ea,ao=`[ \r
|
||
]`,es="\\\\[a-zA-Z@]+",ss="\\\\[^\uD800-\uDFFF]",js=""+es+ao+"*",As=new RegExp("^("+es+")"+ao+"*$"),ms="[\u0300-\u036F]",Ko=new RegExp(ms+"+$"),Eo="("+ao+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(ms+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ms+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+js)+("|"+ss+")"),Xa=function(){function _t(ue,fe){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=ue,this.settings=fe,this.tokenRegex=new RegExp(Eo,"g"),this.catcodes={"%":14}}var ne=_t.prototype;return ne.setCatcode=function(fe,Oe){this.catcodes[fe]=Oe},ne.lex=function(){var fe=this.input,Oe=this.tokenRegex.lastIndex;if(Oe===fe.length)return new w("EOF",new y(this,Oe,Oe));var ot=this.tokenRegex.exec(fe);if(ot===null||ot.index!==Oe)throw new a("Unexpected character: '"+fe[Oe]+"'",new w(fe[Oe],new y(this,Oe,Oe+1)));var Bt=ot[2]||" ";if(this.catcodes[Bt]===14){var hr=fe.indexOf(`
|
||
`,this.tokenRegex.lastIndex);return hr===-1?(this.tokenRegex.lastIndex=fe.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=hr+1,this.lex()}var Ar=Bt.match(As);return Ar&&(Bt=Ar[1]),new w(Bt,new y(this,Oe,this.tokenRegex.lastIndex))},_t}(),Qa=function(){function _t(ue,fe){ue===void 0&&(ue={}),fe===void 0&&(fe={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=fe,this.builtins=ue,this.undefStack=[]}var ne=_t.prototype;return ne.beginGroup=function(){this.undefStack.push({})},ne.endGroup=function(){if(this.undefStack.length===0)throw new a("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var fe=this.undefStack.pop();for(var Oe in fe)fe.hasOwnProperty(Oe)&&(fe[Oe]===void 0?delete this.current[Oe]:this.current[Oe]=fe[Oe])},ne.has=function(fe){return this.current.hasOwnProperty(fe)||this.builtins.hasOwnProperty(fe)},ne.get=function(fe){return this.current.hasOwnProperty(fe)?this.current[fe]:this.builtins[fe]},ne.set=function(fe,Oe,ot){if(ot===void 0&&(ot=!1),ot){for(var Bt=0;Bt<this.undefStack.length;Bt++)delete this.undefStack[Bt][fe];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][fe]=Oe)}else{var hr=this.undefStack[this.undefStack.length-1];hr&&!hr.hasOwnProperty(fe)&&(hr[fe]=this.current[fe])}this.current[fe]=Oe},_t}(),ho={},ls=ho;function Cr(_t,ne){ho[_t]=ne}Cr("\\@firstoftwo",function(_t){var ne=_t.consumeArgs(2);return{tokens:ne[0],numArgs:0}}),Cr("\\@secondoftwo",function(_t){var ne=_t.consumeArgs(2);return{tokens:ne[1],numArgs:0}}),Cr("\\@ifnextchar",function(_t){var ne=_t.consumeArgs(3),ue=_t.future();return ne[0].length===1&&ne[0][0].text===ue.text?{tokens:ne[1],numArgs:0}:{tokens:ne[2],numArgs:0}}),Cr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Cr("\\TextOrMath",function(_t){var ne=_t.consumeArgs(2);return _t.mode==="text"?{tokens:ne[0],numArgs:0}:{tokens:ne[1],numArgs:0}});var Qo={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Cr("\\char",function(_t){var ne=_t.popToken(),ue,fe="";if(ne.text==="'")ue=8,ne=_t.popToken();else if(ne.text==='"')ue=16,ne=_t.popToken();else if(ne.text==="`")if(ne=_t.popToken(),ne.text[0]==="\\")fe=ne.text.charCodeAt(1);else{if(ne.text==="EOF")throw new a("\\char` missing argument");fe=ne.text.charCodeAt(0)}else ue=10;if(ue){if(fe=Qo[ne.text],fe==null||fe>=ue)throw new a("Invalid base-"+ue+" digit "+ne.text);for(var Oe;(Oe=Qo[_t.future().text])!=null&&Oe<ue;)fe*=ue,fe+=Oe,_t.popToken()}return"\\@char{"+fe+"}"});var ts=function(ne,ue){var fe=ne.consumeArgs(1)[0];if(fe.length!==1)throw new a("\\gdef's first argument must be a macro name");var Oe=fe[0].text,ot=0;for(fe=ne.consumeArgs(1)[0];fe.length===1&&fe[0].text==="#";){if(fe=ne.consumeArgs(1)[0],fe.length!==1)throw new a('Invalid argument number length "'+fe.length+'"');if(!/^[1-9]$/.test(fe[0].text))throw new a('Invalid argument number "'+fe[0].text+'"');if(ot++,parseInt(fe[0].text)!==ot)throw new a('Argument number "'+fe[0].text+'" out of order');fe=ne.consumeArgs(1)[0]}return ne.macros.set(Oe,{tokens:fe,numArgs:ot},ue),""};Cr("\\gdef",function(_t){return ts(_t,!0)}),Cr("\\def",function(_t){return ts(_t,!1)}),Cr("\\global",function(_t){var ne=_t.consumeArgs(1)[0];if(ne.length!==1)throw new a("Invalid command after \\global");var ue=ne[0].text;if(ue==="\\def")return ts(_t,!0);throw new a("Invalid command '"+ue+"' after \\global")});var Is=function(ne,ue,fe){var Oe=ne.consumeArgs(1)[0];if(Oe.length!==1)throw new a("\\newcommand's first argument must be a macro name");var ot=Oe[0].text,Bt=ne.isDefined(ot);if(Bt&&!ue)throw new a("\\newcommand{"+ot+"} attempting to redefine "+(ot+"; use \\renewcommand"));if(!Bt&&!fe)throw new a("\\renewcommand{"+ot+"} when command "+ot+" does not yet exist; use \\newcommand");var hr=0;if(Oe=ne.consumeArgs(1)[0],Oe.length===1&&Oe[0].text==="["){for(var Ar="",Nr=ne.expandNextToken();Nr.text!=="]"&&Nr.text!=="EOF";)Ar+=Nr.text,Nr=ne.expandNextToken();if(!Ar.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+Ar);hr=parseInt(Ar),Oe=ne.consumeArgs(1)[0]}return ne.macros.set(ot,{tokens:Oe,numArgs:hr}),""};Cr("\\newcommand",function(_t){return Is(_t,!1,!0)}),Cr("\\renewcommand",function(_t){return Is(_t,!0,!1)}),Cr("\\providecommand",function(_t){return Is(_t,!0,!0)}),Cr("\\bgroup","{"),Cr("\\egroup","}"),Cr("\\lq","`"),Cr("\\rq","'"),Cr("\\aa","\\r a"),Cr("\\AA","\\r A"),Cr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Cr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Cr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Cr("\u212C","\\mathscr{B}"),Cr("\u2130","\\mathscr{E}"),Cr("\u2131","\\mathscr{F}"),Cr("\u210B","\\mathscr{H}"),Cr("\u2110","\\mathscr{I}"),Cr("\u2112","\\mathscr{L}"),Cr("\u2133","\\mathscr{M}"),Cr("\u211B","\\mathscr{R}"),Cr("\u212D","\\mathfrak{C}"),Cr("\u210C","\\mathfrak{H}"),Cr("\u2128","\\mathfrak{Z}"),Cr("\\Bbbk","\\Bbb{k}"),Cr("\xB7","\\cdotp"),Cr("\\llap","\\mathllap{\\textrm{#1}}"),Cr("\\rlap","\\mathrlap{\\textrm{#1}}"),Cr("\\clap","\\mathclap{\\textrm{#1}}"),Cr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Cr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Cr("\\ne","\\neq"),Cr("\u2260","\\neq"),Cr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Cr("\u2209","\\notin"),Cr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Cr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Cr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Cr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Cr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Cr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Cr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Cr("\u27C2","\\perp"),Cr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Cr("\u220C","\\notni"),Cr("\u231C","\\ulcorner"),Cr("\u231D","\\urcorner"),Cr("\u231E","\\llcorner"),Cr("\u231F","\\lrcorner"),Cr("\xA9","\\copyright"),Cr("\xAE","\\textregistered"),Cr("\uFE0F","\\textregistered"),Cr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Cr("\u22EE","\\vdots"),Cr("\\varGamma","\\mathit{\\Gamma}"),Cr("\\varDelta","\\mathit{\\Delta}"),Cr("\\varTheta","\\mathit{\\Theta}"),Cr("\\varLambda","\\mathit{\\Lambda}"),Cr("\\varXi","\\mathit{\\Xi}"),Cr("\\varPi","\\mathit{\\Pi}"),Cr("\\varSigma","\\mathit{\\Sigma}"),Cr("\\varUpsilon","\\mathit{\\Upsilon}"),Cr("\\varPhi","\\mathit{\\Phi}"),Cr("\\varPsi","\\mathit{\\Psi}"),Cr("\\varOmega","\\mathit{\\Omega}"),Cr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Cr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Cr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Cr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Cr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Cr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Ds={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Cr("\\dots",function(_t){var ne="\\dotso",ue=_t.expandAfterFuture().text;return ue in Ds?ne=Ds[ue]:ue.substr(0,4)==="\\not"?ne="\\dotsb":ue in ze.math&&(A.contains(["bin","rel"],ze.math[ue].group)&&(ne="\\dotsb")),ne});var is={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Cr("\\dotso",function(_t){var ne=_t.future().text;return ne in is?"\\ldots\\,":"\\ldots"}),Cr("\\dotsc",function(_t){var ne=_t.future().text;return ne in is&&ne!==","?"\\ldots\\,":"\\ldots"}),Cr("\\cdots",function(_t){var ne=_t.future().text;return ne in is?"\\@cdots\\,":"\\@cdots"}),Cr("\\dotsb","\\cdots"),Cr("\\dotsm","\\cdots"),Cr("\\dotsi","\\!\\cdots"),Cr("\\dotsx","\\ldots\\,"),Cr("\\DOTSI","\\relax"),Cr("\\DOTSB","\\relax"),Cr("\\DOTSX","\\relax"),Cr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Cr("\\,","\\tmspace+{3mu}{.1667em}"),Cr("\\thinspace","\\,"),Cr("\\>","\\mskip{4mu}"),Cr("\\:","\\tmspace+{4mu}{.2222em}"),Cr("\\medspace","\\:"),Cr("\\;","\\tmspace+{5mu}{.2777em}"),Cr("\\thickspace","\\;"),Cr("\\!","\\tmspace-{3mu}{.1667em}"),Cr("\\negthinspace","\\!"),Cr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Cr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Cr("\\enspace","\\kern.5em "),Cr("\\enskip","\\hskip.5em\\relax"),Cr("\\quad","\\hskip1em\\relax"),Cr("\\qquad","\\hskip2em\\relax"),Cr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Cr("\\tag@paren","\\tag@literal{({#1})}"),Cr("\\tag@literal",function(_t){if(_t.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Cr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Cr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Cr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Cr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Cr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Cr("\\\\","\\newline"),Cr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ma=Tt["Main-Regular"]["T".charCodeAt(0)][1]-.7*Tt["Main-Regular"]["A".charCodeAt(0)][1]+"em";Cr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ma+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Cr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ma+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Cr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Cr("\\@hspace","\\hskip #1\\relax"),Cr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Cr("\\ordinarycolon",":"),Cr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Cr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Cr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Cr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Cr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Cr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Cr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Cr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Cr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Cr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Cr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Cr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Cr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Cr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Cr("\u2237","\\dblcolon"),Cr("\u2239","\\eqcolon"),Cr("\u2254","\\coloneqq"),Cr("\u2255","\\eqqcolon"),Cr("\u2A74","\\Coloneqq"),Cr("\\ratio","\\vcentcolon"),Cr("\\coloncolon","\\dblcolon"),Cr("\\colonequals","\\coloneqq"),Cr("\\coloncolonequals","\\Coloneqq"),Cr("\\equalscolon","\\eqqcolon"),Cr("\\equalscoloncolon","\\Eqqcolon"),Cr("\\colonminus","\\coloneq"),Cr("\\coloncolonminus","\\Coloneq"),Cr("\\minuscolon","\\eqcolon"),Cr("\\minuscoloncolon","\\Eqcolon"),Cr("\\coloncolonapprox","\\Colonapprox"),Cr("\\coloncolonsim","\\Colonsim"),Cr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Cr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Cr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Cr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Cr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Cr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Cr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Cr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Cr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Cr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Cr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Cr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Cr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Cr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Cr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Cr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Cr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Cr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Cr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Cr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Cr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Cr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Cr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Cr("\u27E6","\\llbracket"),Cr("\u27E7","\\rrbracket"),Cr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Cr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Cr("\u2983","\\lBrace"),Cr("\u2984","\\rBrace"),Cr("\\darr","\\downarrow"),Cr("\\dArr","\\Downarrow"),Cr("\\Darr","\\Downarrow"),Cr("\\lang","\\langle"),Cr("\\rang","\\rangle"),Cr("\\uarr","\\uparrow"),Cr("\\uArr","\\Uparrow"),Cr("\\Uarr","\\Uparrow"),Cr("\\N","\\mathbb{N}"),Cr("\\R","\\mathbb{R}"),Cr("\\Z","\\mathbb{Z}"),Cr("\\alef","\\aleph"),Cr("\\alefsym","\\aleph"),Cr("\\Alpha","\\mathrm{A}"),Cr("\\Beta","\\mathrm{B}"),Cr("\\bull","\\bullet"),Cr("\\Chi","\\mathrm{X}"),Cr("\\clubs","\\clubsuit"),Cr("\\cnums","\\mathbb{C}"),Cr("\\Complex","\\mathbb{C}"),Cr("\\Dagger","\\ddagger"),Cr("\\diamonds","\\diamondsuit"),Cr("\\empty","\\emptyset"),Cr("\\Epsilon","\\mathrm{E}"),Cr("\\Eta","\\mathrm{H}"),Cr("\\exist","\\exists"),Cr("\\harr","\\leftrightarrow"),Cr("\\hArr","\\Leftrightarrow"),Cr("\\Harr","\\Leftrightarrow"),Cr("\\hearts","\\heartsuit"),Cr("\\image","\\Im"),Cr("\\infin","\\infty"),Cr("\\Iota","\\mathrm{I}"),Cr("\\isin","\\in"),Cr("\\Kappa","\\mathrm{K}"),Cr("\\larr","\\leftarrow"),Cr("\\lArr","\\Leftarrow"),Cr("\\Larr","\\Leftarrow"),Cr("\\lrarr","\\leftrightarrow"),Cr("\\lrArr","\\Leftrightarrow"),Cr("\\Lrarr","\\Leftrightarrow"),Cr("\\Mu","\\mathrm{M}"),Cr("\\natnums","\\mathbb{N}"),Cr("\\Nu","\\mathrm{N}"),Cr("\\Omicron","\\mathrm{O}"),Cr("\\plusmn","\\pm"),Cr("\\rarr","\\rightarrow"),Cr("\\rArr","\\Rightarrow"),Cr("\\Rarr","\\Rightarrow"),Cr("\\real","\\Re"),Cr("\\reals","\\mathbb{R}"),Cr("\\Reals","\\mathbb{R}"),Cr("\\Rho","\\mathrm{P}"),Cr("\\sdot","\\cdot"),Cr("\\sect","\\S"),Cr("\\spades","\\spadesuit"),Cr("\\sub","\\subset"),Cr("\\sube","\\subseteq"),Cr("\\supe","\\supseteq"),Cr("\\Tau","\\mathrm{T}"),Cr("\\thetasym","\\vartheta"),Cr("\\weierp","\\wp"),Cr("\\Zeta","\\mathrm{Z}"),Cr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Cr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Cr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Cr("\\blue","\\textcolor{##6495ed}{#1}"),Cr("\\orange","\\textcolor{##ffa500}{#1}"),Cr("\\pink","\\textcolor{##ff00af}{#1}"),Cr("\\red","\\textcolor{##df0030}{#1}"),Cr("\\green","\\textcolor{##28ae7b}{#1}"),Cr("\\gray","\\textcolor{gray}{#1}"),Cr("\\purple","\\textcolor{##9d38bd}{#1}"),Cr("\\blueA","\\textcolor{##ccfaff}{#1}"),Cr("\\blueB","\\textcolor{##80f6ff}{#1}"),Cr("\\blueC","\\textcolor{##63d9ea}{#1}"),Cr("\\blueD","\\textcolor{##11accd}{#1}"),Cr("\\blueE","\\textcolor{##0c7f99}{#1}"),Cr("\\tealA","\\textcolor{##94fff5}{#1}"),Cr("\\tealB","\\textcolor{##26edd5}{#1}"),Cr("\\tealC","\\textcolor{##01d1c1}{#1}"),Cr("\\tealD","\\textcolor{##01a995}{#1}"),Cr("\\tealE","\\textcolor{##208170}{#1}"),Cr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Cr("\\greenB","\\textcolor{##8af281}{#1}"),Cr("\\greenC","\\textcolor{##74cf70}{#1}"),Cr("\\greenD","\\textcolor{##1fab54}{#1}"),Cr("\\greenE","\\textcolor{##0d923f}{#1}"),Cr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Cr("\\goldB","\\textcolor{##ffbb71}{#1}"),Cr("\\goldC","\\textcolor{##ff9c39}{#1}"),Cr("\\goldD","\\textcolor{##e07d10}{#1}"),Cr("\\goldE","\\textcolor{##a75a05}{#1}"),Cr("\\redA","\\textcolor{##fca9a9}{#1}"),Cr("\\redB","\\textcolor{##ff8482}{#1}"),Cr("\\redC","\\textcolor{##f9685d}{#1}"),Cr("\\redD","\\textcolor{##e84d39}{#1}"),Cr("\\redE","\\textcolor{##bc2612}{#1}"),Cr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Cr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Cr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Cr("\\maroonD","\\textcolor{##ca337c}{#1}"),Cr("\\maroonE","\\textcolor{##9e034e}{#1}"),Cr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Cr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Cr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Cr("\\purpleD","\\textcolor{##7854ab}{#1}"),Cr("\\purpleE","\\textcolor{##543b78}{#1}"),Cr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Cr("\\mintB","\\textcolor{##edf2df}{#1}"),Cr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Cr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Cr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Cr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Cr("\\grayD","\\textcolor{##d6d8da}{#1}"),Cr("\\grayE","\\textcolor{##babec2}{#1}"),Cr("\\grayF","\\textcolor{##888d93}{#1}"),Cr("\\grayG","\\textcolor{##626569}{#1}"),Cr("\\grayH","\\textcolor{##3b3e40}{#1}"),Cr("\\grayI","\\textcolor{##21242c}{#1}"),Cr("\\kaBlue","\\textcolor{##314453}{#1}"),Cr("\\kaGreen","\\textcolor{##71B307}{#1}");var La={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Co=function(){function _t(ue,fe,Oe){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=fe,this.expansionCount=0,this.feed(ue),this.macros=new Qa(ls,fe.macros),this.mode=Oe,this.stack=[]}var ne=_t.prototype;return ne.feed=function(fe){this.lexer=new Xa(fe,this.settings)},ne.switchMode=function(fe){this.mode=fe},ne.beginGroup=function(){this.macros.beginGroup()},ne.endGroup=function(){this.macros.endGroup()},ne.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},ne.popToken=function(){return this.future(),this.stack.pop()},ne.pushToken=function(fe){this.stack.push(fe)},ne.pushTokens=function(fe){var Oe;(Oe=this.stack).push.apply(Oe,fe)},ne.consumeSpaces=function(){for(;;){var fe=this.future();if(fe.text===" ")this.stack.pop();else break}},ne.consumeArgs=function(fe){for(var Oe=[],ot=0;ot<fe;++ot){this.consumeSpaces();var Bt=this.popToken();if(Bt.text==="{"){for(var hr=[],Ar=1;Ar!==0;){var Nr=this.popToken();if(hr.push(Nr),Nr.text==="{")++Ar;else if(Nr.text==="}")--Ar;else if(Nr.text==="EOF")throw new a("End of input in macro argument",Bt)}hr.pop(),hr.reverse(),Oe[ot]=hr}else{if(Bt.text==="EOF")throw new a("End of input expecting macro argument");Oe[ot]=[Bt]}}return Oe},ne.expandOnce=function(){var fe=this.popToken(),Oe=fe.text,ot=this._getExpansion(Oe);if(ot==null)return this.pushToken(fe),fe;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var Bt=ot.tokens;if(ot.numArgs){var hr=this.consumeArgs(ot.numArgs);Bt=Bt.slice();for(var Ar=Bt.length-1;Ar>=0;--Ar){var Nr=Bt[Ar];if(Nr.text==="#"){if(Ar===0)throw new a("Incomplete placeholder at end of macro body",Nr);if(Nr=Bt[--Ar],Nr.text==="#")Bt.splice(Ar+1,1);else if(/^[1-9]$/.test(Nr.text)){var qr;(qr=Bt).splice.apply(qr,[Ar,2].concat(hr[+Nr.text-1]))}else throw new a("Not a valid argument number",Nr)}}}return this.pushTokens(Bt),Bt},ne.expandAfterFuture=function(){return this.expandOnce(),this.future()},ne.expandNextToken=function(){for(;;){var fe=this.expandOnce();if(fe instanceof w)if(fe.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},ne.expandMacro=function(fe){if(!this.macros.get(fe))return;var Oe=[],ot=this.stack.length;for(this.pushToken(new w(fe));this.stack.length>ot;){var Bt=this.expandOnce();Bt instanceof w&&Oe.push(this.stack.pop())}return Oe},ne.expandMacroAsText=function(fe){var Oe=this.expandMacro(fe);return Oe&&Oe.map(function(ot){return ot.text}).join("")},ne._getExpansion=function(fe){var Oe=this.macros.get(fe);if(Oe==null)return Oe;var ot=typeof Oe=="function"?Oe(this):Oe;if(typeof ot=="string"){var Bt=0;if(ot.indexOf("#")!==-1)for(var hr=ot.replace(/##/g,"");hr.indexOf("#"+(Bt+1))!==-1;)++Bt;for(var Ar=new Xa(ot,this.settings),Nr=[],qr=Ar.lex();qr.text!=="EOF";)Nr.push(qr),qr=Ar.lex();Nr.reverse();var sn={tokens:Nr,numArgs:Bt};return sn}return ot},ne.isDefined=function(fe){return this.macros.has(fe)||Ji.hasOwnProperty(fe)||ze.math.hasOwnProperty(fe)||ze.text.hasOwnProperty(fe)||La.hasOwnProperty(fe)},_t}(),fo={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},Yo={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},cs=function(){function _t(ue,fe){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Co(ue,fe,this.mode),this.settings=fe,this.leftrightDepth=0}var ne=_t.prototype;return ne.expect=function(fe,Oe){if(Oe===void 0&&(Oe=!0),this.fetch().text!==fe)throw new a("Expected '"+fe+"', got '"+this.fetch().text+"'",this.fetch());Oe&&this.consume()},ne.consume=function(){this.nextToken=null},ne.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},ne.switchMode=function(fe){this.mode=fe,this.gullet.switchMode(fe)},ne.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var fe=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),fe},ne.parseExpression=function(fe,Oe){for(var ot=[];;){this.mode==="math"&&this.consumeSpaces();var Bt=this.fetch();if(_t.endOfExpression.indexOf(Bt.text)!==-1)break;if(Oe&&Bt.text===Oe)break;if(fe&&Ji[Bt.text]&&Ji[Bt.text].infix)break;var hr=this.parseAtom(Oe);if(!hr)break;ot.push(hr)}return this.mode==="text"&&this.formLigatures(ot),this.handleInfixNodes(ot)},ne.handleInfixNodes=function(fe){for(var Oe=-1,ot,Bt=0;Bt<fe.length;Bt++){var hr=pn(fe[Bt],"infix");if(hr){if(Oe!==-1)throw new a("only one infix operator per group",hr.token);Oe=Bt,ot=hr.replaceWith}}if(Oe!==-1&&ot){var Ar,Nr,qr=fe.slice(0,Oe),sn=fe.slice(Oe+1);qr.length===1&&qr[0].type==="ordgroup"?Ar=qr[0]:Ar={type:"ordgroup",mode:this.mode,body:qr},sn.length===1&&sn[0].type==="ordgroup"?Nr=sn[0]:Nr={type:"ordgroup",mode:this.mode,body:sn};var vn;return ot==="\\\\abovefrac"?vn=this.callFunction(ot,[Ar,fe[Oe],Nr],[]):vn=this.callFunction(ot,[Ar,Nr],[]),[vn]}else return fe},ne.handleSupSubscript=function(fe){var Oe=this.fetch(),ot=Oe.text;this.consume();var Bt=this.parseGroup(fe,!1,_t.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Bt)throw new a("Expected group after '"+ot+"'",Oe);return Bt},ne.formatUnsupportedCmd=function(fe){for(var Oe=[],ot=0;ot<fe.length;ot++)Oe.push({type:"textord",mode:"text",text:fe[ot]});var Bt={type:"text",mode:this.mode,body:Oe},hr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Bt]};return hr},ne.parseAtom=function(fe){var Oe=this.parseGroup("atom",!1,null,fe);if(this.mode==="text")return Oe;for(var ot,Bt;;){this.consumeSpaces();var hr=this.fetch();if(hr.text==="\\limits"||hr.text==="\\nolimits"){var Ar=pn(Oe,"op");if(Ar){var Nr=hr.text==="\\limits";Ar.limits=Nr,Ar.alwaysHandleSupSub=!0}else if(Ar=pn(Oe,"operatorname"),Ar&&Ar.alwaysHandleSupSub){var qr=hr.text==="\\limits";Ar.limits=qr}else throw new a("Limit controls must follow a math operator",hr);this.consume()}else if(hr.text==="^"){if(ot)throw new a("Double superscript",hr);ot=this.handleSupSubscript("superscript")}else if(hr.text==="_"){if(Bt)throw new a("Double subscript",hr);Bt=this.handleSupSubscript("subscript")}else if(hr.text==="'"){if(ot)throw new a("Double superscript",hr);var sn={type:"textord",mode:this.mode,text:"\\prime"},vn=[sn];for(this.consume();this.fetch().text==="'";)vn.push(sn),this.consume();this.fetch().text==="^"&&vn.push(this.handleSupSubscript("superscript")),ot={type:"ordgroup",mode:this.mode,body:vn}}else break}return ot||Bt?{type:"supsub",mode:this.mode,base:Oe,sup:ot,sub:Bt}:Oe},ne.parseFunction=function(fe,Oe,ot){var Bt=this.fetch(),hr=Bt.text,Ar=Ji[hr];if(!Ar)return null;if(this.consume(),ot!=null&&Ar.greediness<=ot)throw new a("Got function '"+hr+"' with no arguments"+(Oe?" as "+Oe:""),Bt);if(this.mode==="text"&&!Ar.allowedInText)throw new a("Can't use function '"+hr+"' in text mode",Bt);if(this.mode==="math"&&Ar.allowedInMath===!1)throw new a("Can't use function '"+hr+"' in math mode",Bt);var Nr=this.parseArguments(hr,Ar),qr=Nr.args,sn=Nr.optArgs;return this.callFunction(hr,qr,sn,Bt,fe)},ne.callFunction=function(fe,Oe,ot,Bt,hr){var Ar={funcName:fe,parser:this,token:Bt,breakOnTokenText:hr},Nr=Ji[fe];if(Nr&&Nr.handler)return Nr.handler(Ar,Oe,ot);throw new a("No function handler for "+fe)},ne.parseArguments=function(fe,Oe){var ot=Oe.numArgs+Oe.numOptionalArgs;if(ot===0)return{args:[],optArgs:[]};for(var Bt=Oe.greediness,hr=[],Ar=[],Nr=0;Nr<ot;Nr++){var qr=Oe.argTypes&&Oe.argTypes[Nr],sn=Nr<Oe.numOptionalArgs,vn=Nr>0&&!sn||Nr===0&&!sn&&this.mode==="math",xn=this.parseGroupOfType("argument to '"+fe+"'",qr,sn,Bt,vn);if(!xn){if(sn){Ar.push(null);continue}throw new a("Expected group after '"+fe+"'",this.fetch())}(sn?Ar:hr).push(xn)}return{args:hr,optArgs:Ar}},ne.parseGroupOfType=function(fe,Oe,ot,Bt,hr){switch(Oe){case"color":return hr&&this.consumeSpaces(),this.parseColorGroup(ot);case"size":return hr&&this.consumeSpaces(),this.parseSizeGroup(ot);case"url":return this.parseUrlGroup(ot,hr);case"math":case"text":return this.parseGroup(fe,ot,Bt,void 0,Oe,hr);case"hbox":{var Ar=this.parseGroup(fe,ot,Bt,void 0,"text",hr);if(!Ar)return Ar;var Nr={type:"styling",mode:Ar.mode,body:[Ar],style:"text"};return Nr}case"raw":{if(hr&&this.consumeSpaces(),ot&&this.fetch().text==="{")return null;var qr=this.parseStringGroup("raw",ot,!0);if(qr)return{type:"raw",mode:"text",string:qr.text};throw new a("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(fe,ot,Bt,void 0,void 0,hr);default:throw new a("Unknown group type as "+fe,this.fetch())}},ne.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},ne.parseStringGroup=function(fe,Oe,ot){var Bt=Oe?"[":"{",hr=Oe?"]":"}",Ar=this.fetch();if(Ar.text!==Bt){if(Oe)return null;if(ot&&Ar.text!=="EOF"&&/[^{}[\]]/.test(Ar.text))return this.consume(),Ar}var Nr=this.mode;this.mode="text",this.expect(Bt);for(var qr="",sn=this.fetch(),vn=0,xn=sn,Kn;(Kn=this.fetch()).text!==hr||ot&&vn>0;){switch(Kn.text){case"EOF":throw new a("Unexpected end of input in "+fe,sn.range(xn,qr));case Bt:vn++;break;case hr:vn--;break}xn=Kn,qr+=xn.text,this.consume()}return this.expect(hr),this.mode=Nr,sn.range(xn,qr)},ne.parseRegexGroup=function(fe,Oe){var ot=this.mode;this.mode="text";for(var Bt=this.fetch(),hr=Bt,Ar="",Nr;(Nr=this.fetch()).text!=="EOF"&&fe.test(Ar+Nr.text);)hr=Nr,Ar+=hr.text,this.consume();if(Ar==="")throw new a("Invalid "+Oe+": '"+Bt.text+"'",Bt);return this.mode=ot,Bt.range(hr,Ar)},ne.parseColorGroup=function(fe){var Oe=this.parseStringGroup("color",fe);if(!Oe)return null;var ot=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Oe.text);if(!ot)throw new a("Invalid color: '"+Oe.text+"'",Oe);var Bt=ot[0];return/^[0-9a-f]{6}$/i.test(Bt)&&(Bt="#"+Bt),{type:"color-token",mode:this.mode,color:Bt}},ne.parseSizeGroup=function(fe){var Oe,ot=!1;if(!fe&&this.fetch().text!=="{"?Oe=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Oe=this.parseStringGroup("size",fe),!Oe)return null;!fe&&Oe.text.length===0&&(Oe.text="0pt",ot=!0);var Bt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Oe.text);if(!Bt)throw new a("Invalid size: '"+Oe.text+"'",Oe);var hr={number:+(Bt[1]+Bt[2]),unit:Bt[3]};if(!Ge(hr))throw new a("Invalid unit: '"+hr.unit+"'",Oe);return{type:"size",mode:this.mode,value:hr,isBlank:ot}},ne.parseUrlGroup=function(fe,Oe){this.gullet.lexer.setCatcode("%",13);var ot=this.parseStringGroup("url",fe,!0);if(this.gullet.lexer.setCatcode("%",14),!ot)return null;var Bt=ot.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Bt}},ne.parseGroup=function(fe,Oe,ot,Bt,hr,Ar){var Nr=this.mode;hr&&this.switchMode(hr),Ar&&this.consumeSpaces();var qr=this.fetch(),sn=qr.text,vn;if(Oe?sn==="[":sn==="{"||sn==="\\begingroup"){this.consume();var xn=_t.endOfGroup[sn];this.gullet.beginGroup();var Kn=this.parseExpression(!1,xn),ei=this.fetch();this.expect(xn),this.gullet.endGroup(),vn={type:"ordgroup",mode:this.mode,loc:y.range(qr,ei),body:Kn,semisimple:sn==="\\begingroup"||void 0}}else if(Oe)vn=null;else if(vn=this.parseFunction(Bt,fe,ot)||this.parseSymbol(),vn==null&&sn[0]==="\\"&&!La.hasOwnProperty(sn)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+sn,qr);vn=this.formatUnsupportedCmd(sn),this.consume()}return hr&&this.switchMode(Nr),vn},ne.formLigatures=function(fe){for(var Oe=fe.length-1,ot=0;ot<Oe;++ot){var Bt=fe[ot],hr=Bt.text;hr==="-"&&fe[ot+1].text==="-"&&(ot+1<Oe&&fe[ot+2].text==="-"?(fe.splice(ot,3,{type:"textord",mode:"text",loc:y.range(Bt,fe[ot+2]),text:"---"}),Oe-=2):(fe.splice(ot,2,{type:"textord",mode:"text",loc:y.range(Bt,fe[ot+1]),text:"--"}),Oe-=1)),(hr==="'"||hr==="`")&&fe[ot+1].text===hr&&(fe.splice(ot,2,{type:"textord",mode:"text",loc:y.range(Bt,fe[ot+1]),text:hr+hr}),Oe-=1)}},ne.parseSymbol=function(){var fe=this.fetch(),Oe=fe.text;if(/^\\verb[^a-zA-Z]/.test(Oe)){this.consume();var ot=Oe.slice(5),Bt=ot.charAt(0)==="*";if(Bt&&(ot=ot.slice(1)),ot.length<2||ot.charAt(0)!==ot.slice(-1))throw new a(`\\verb assertion failed --
|
||
please report what input caused this bug`);return ot=ot.slice(1,-1),{type:"verb",mode:"text",body:ot,star:Bt}}Yo.hasOwnProperty(Oe[0])&&!ze[this.mode][Oe[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Oe[0]+'" used in math mode',fe),Oe=Yo[Oe[0]]+Oe.substr(1));var hr=Ko.exec(Oe);hr&&(Oe=Oe.substring(0,hr.index),Oe==="i"?Oe="\u0131":Oe==="j"&&(Oe="\u0237"));var Ar;if(ze[this.mode][Oe]){this.settings.strict&&this.mode==="math"&&Me.indexOf(Oe)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Oe[0]+'" used in math mode',fe);var Nr=ze[this.mode][Oe].group,qr=y.range(fe),sn;if(xt.hasOwnProperty(Nr)){var vn=Nr;sn={type:"atom",mode:this.mode,family:vn,loc:qr,text:Oe}}else sn={type:Nr,mode:this.mode,loc:qr,text:Oe};Ar=sn}else if(Oe.charCodeAt(0)>=128)this.settings.strict&&(G(Oe.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Oe[0]+'" used in math mode',fe):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Oe[0]+'"'+(" ("+Oe.charCodeAt(0)+")"),fe)),Ar={type:"textord",mode:"text",loc:y.range(fe),text:Oe};else return null;if(this.consume(),hr)for(var xn=0;xn<hr[0].length;xn++){var Kn=hr[0][xn];if(!fo[Kn])throw new a("Unknown accent ' "+Kn+"'",fe);var ei=fo[Kn][this.mode];if(!ei)throw new a("Accent "+Kn+" unsupported in "+this.mode+" mode",fe);Ar={type:"accent",mode:this.mode,loc:y.range(fe),label:ei,isStretchy:!1,isShifty:!0,base:Ar}}return Ar},_t}();cs.endOfExpression=["}","\\endgroup","\\end","\\right","&"],cs.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},cs.SUPSUB_GREEDINESS=1;var rs=function(ne,ue){if(!(typeof ne=="string"||ne instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var fe=new cs(ne,ue);delete fe.gullet.macros.current["\\df@tag"];var Oe=fe.parse();if(fe.gullet.macros.get("\\df@tag")){if(!ue.displayMode)throw new a("\\tag works only in display equations");fe.gullet.feed("\\df@tag"),Oe=[{type:"tag",mode:"text",body:Oe,tag:fe.parse()}]}return Oe},ys=rs,bs=function(ne,ue,fe){ue.textContent="";var Oe=Bo(ne,fe).toNode();ue.appendChild(Oe)};typeof document!="undefined"&&(document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),bs=function(){throw new a("KaTeX doesn't work in quirks mode.")}));var as=function(ne,ue){var fe=Bo(ne,ue).toMarkup();return fe},$s=function(ne,ue){var fe=new C(ue);return ys(ne,fe)},us=function(ne,ue,fe){if(fe.throwOnError||!(ne instanceof a))throw ne;var Oe=Ur.makeSpan(["katex-error"],[new mt(ue)]);return Oe.setAttribute("title",ne.toString()),Oe.setAttribute("style","color:"+fe.errorColor),Oe},Bo=function(ne,ue){var fe=new C(ue);try{var Oe=ys(ne,fe);return Ne(Oe,ne,fe)}catch(ot){return us(ot,ne,fe)}},Rn=function(ne,ue){var fe=new C(ue);try{var Oe=ys(ne,fe);return Lt(Oe,ne,fe)}catch(ot){return us(ot,ne,fe)}},Ks={version:"0.11.1",render:bs,renderToString:as,ParseError:a,__parse:$s,__renderToDomTree:Bo,__renderToHTMLTree:Rn,__setFontMetrics:Vt,__defineSymbol:re,__defineMacro:Cr,__domTree:{Span:At,Anchor:dt,SymbolNode:mt,SvgNode:Ue,PathNode:Re,LineNode:Le}},Ts=L.default=Ks}]).default})},sbTi:function(Z,_){function e(d){var L={};d.eachSeriesByType("graph",function(v){var m=v.getCategoriesData(),y=v.getData(),w={};m.each(function(f){var a=m.getName(f);w["ec-"+a]=f;var t=m.getItemModel(f),o=t.get("itemStyle.color")||v.getColorFromPalette(a,L);m.setItemVisual(f,"color",o);for(var s=["opacity","symbol","symbolSize","symbolKeepAspect"],l=0;l<s.length;l++){var n=t.getShallow(s[l],!0);n!=null&&m.setItemVisual(f,s[l],n)}}),m.count()&&y.each(function(f){var a=y.getItemModel(f),t=a.getShallow("category");if(t!=null){typeof t=="string"&&(t=w["ec-"+t]);for(var o=["color","opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<o.length;s++)y.getItemVisual(f,o[s],!0)==null&&y.setItemVisual(f,o[s],m.getItemVisual(t,o[s]))}})})}Z.exports=e},si9V:function(Z,_,e){var d=e("342z"),L=e("Wa83"),v=e("lb8z"),m=L.min,y=L.max,w=L.scaleAndAdd,f=L.copy,a=[],t=[],o=[];function s(h){return isNaN(h[0])||isNaN(h[1])}function l(h,p,A,C,S,E,O,T,b,x,N){return x==="none"||!x?c.apply(this,arguments):n.apply(this,arguments)}function n(h,p,A,C,S,E,O,T,b,x,N){for(var D=0,M=A,R=0;R<C;R++){var F=p[M];if(M>=S||M<0)break;if(s(F)){if(N){M+=E;continue}break}if(M===A)h[E>0?"moveTo":"lineTo"](F[0],F[1]);else if(b>0){var B=p[D],z=x==="y"?1:0,U=(F[z]-B[z])*b;f(t,B),t[z]=B[z]+U,f(o,F),o[z]=F[z]-U,h.bezierCurveTo(t[0],t[1],o[0],o[1],F[0],F[1])}else h.lineTo(F[0],F[1]);D=M,M+=E}return R}function c(h,p,A,C,S,E,O,T,b,x,N){for(var D=0,M=A,R=0;R<C;R++){var F=p[M];if(M>=S||M<0)break;if(s(F)){if(N){M+=E;continue}break}if(M===A)h[E>0?"moveTo":"lineTo"](F[0],F[1]),f(t,F);else if(b>0){var B=M+E,z=p[B];if(N)for(;z&&s(p[B]);)B+=E,z=p[B];var U=.5,K=p[D],z=p[B];if(!z||s(z))f(o,F);else{s(z)&&!N&&(z=F),L.sub(a,z,K);var W,H;if(x==="x"||x==="y"){var Y=x==="x"?0:1;W=Math.abs(F[Y]-K[Y]),H=Math.abs(F[Y]-z[Y])}else W=L.dist(F,K),H=L.dist(F,z);U=H/(H+W),w(o,F,a,-b*(1-U))}m(t,t,T),y(t,t,O),m(o,o,T),y(o,o,O),h.bezierCurveTo(t[0],t[1],o[0],o[1],F[0],F[1]),w(t,F,a,b*U)}else h.lineTo(F[0],F[1]);D=M,M+=E}return R}function r(h,p){var A=[Infinity,Infinity],C=[-Infinity,-Infinity];if(p)for(var S=0;S<h.length;S++){var E=h[S];E[0]<A[0]&&(A[0]=E[0]),E[1]<A[1]&&(A[1]=E[1]),E[0]>C[0]&&(C[0]=E[0]),E[1]>C[1]&&(C[1]=E[1])}return{min:p?A:C,max:p?C:A}}var u=d.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:v(d.prototype.brush),buildPath:function(h,p){var A=p.points,C=0,S=A.length,E=r(A,p.smoothConstraint);if(p.connectNulls){for(;S>0&&s(A[S-1]);S--);for(;C<S&&s(A[C]);C++);}for(;C<S;)C+=l(h,A,C,S,S,1,E.min,E.max,p.smooth,p.smoothMonotone,p.connectNulls)+1}}),i=d.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:v(d.prototype.brush),buildPath:function(h,p){var A=p.points,C=p.stackedOnPoints,S=0,E=A.length,O=p.smoothMonotone,T=r(A,p.smoothConstraint),b=r(C,p.smoothConstraint);if(p.connectNulls){for(;E>0&&s(A[E-1]);E--);for(;S<E&&s(A[S]);S++);}for(;S<E;){var x=l(h,A,S,E,E,1,T.min,T.max,p.smooth,O,p.connectNulls);l(h,C,S+x-1,x,E,-1,b.min,b.max,p.stackedOnSmooth,O,p.connectNulls),S+=x+1,h.closePath()}}});_.Polyline=u,_.Polygon=i},slFT:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("ofoi"),w=e.n(y),f=e("LlUK"),a=e.n(f),t=e("ZZRV"),o=e.n(t),s=e("iczh"),l=e.n(s),n=e("LpVx"),c=e("GqFE"),r=e("vWUX"),u=e("tFaI"),i=function(C,S){var E={};for(var O in C)Object.prototype.hasOwnProperty.call(C,O)&&S.indexOf(O)<0&&(E[O]=C[O]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,O=Object.getOwnPropertySymbols(C);T<O.length;T++)S.indexOf(O[T])<0&&Object.prototype.propertyIsEnumerable.call(C,O[T])&&(E[O[T]]=C[O[T]]);return E},h=Object(r.a)("top","middle","bottom","stretch"),p=Object(r.a)("start","end","center","space-around","space-between"),A=t.forwardRef(function(C,S){var E=t.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),O=a()(E,2),T=O[0],b=O[1],x=t.useRef();x.current=C.gutter,t.useEffect(function(){var M=u.a.subscribe(function(R){var F=x.current||0;(!Array.isArray(F)&&w()(F)==="object"||Array.isArray(F)&&(w()(F[0])==="object"||w()(F[1])==="object"))&&b(R)});return function(){u.a.unsubscribe(M)}},[]);var N=function(){var R=[0,0],F=C.gutter,B=F===void 0?0:F,z=Array.isArray(B)?B:[B,0];return z.forEach(function(U,K){if(w()(U)==="object")for(var W=0;W<u.b.length;W++){var H=u.b[W];if(T[H]&&U[H]!==void 0){R[K]=U[H];break}}else R[K]=U||0}),R},D=function(R){var F,B=R.getPrefixCls,z=R.direction,U=C.prefixCls,K=C.justify,W=C.align,H=C.className,Y=C.style,Q=C.children,P=i(C,["prefixCls","justify","align","className","style","children"]),G=B("row",U),J=N(),he=l()(G,(F={},m()(F,"".concat(G,"-").concat(K),K),m()(F,"".concat(G,"-").concat(W),W),m()(F,"".concat(G,"-rtl"),z==="rtl"),F),H),te=L()(L()(L()({},J[0]>0?{marginLeft:J[0]/-2,marginRight:J[0]/-2}:{}),J[1]>0?{marginTop:J[1]/-2,marginBottom:J[1]/2}:{}),Y),pe=L()({},P);return delete pe.gutter,t.createElement(c.a.Provider,{value:{gutter:J}},t.createElement("div",L()({},pe,{className:he,style:te,ref:S}),Q))};return t.createElement(n.a,null,D)});A.displayName="Row",_.a=A},soU2:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("fwQ7")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="BarsOutlined";var f=v.forwardRef(w);_.default=f},spGK:function(Z,_,e){var d=e("Wa83"),L=e("Wr3P"),v=Math.min,m=Math.max,y=Math.sin,w=Math.cos,f=Math.PI*2,a=d.create(),t=d.create(),o=d.create();function s(h,p,A){if(h.length===0)return;var C=h[0],S=C[0],E=C[0],O=C[1],T=C[1],b;for(b=1;b<h.length;b++)C=h[b],S=v(S,C[0]),E=m(E,C[0]),O=v(O,C[1]),T=m(T,C[1]);p[0]=S,p[1]=O,A[0]=E,A[1]=T}function l(h,p,A,C,S,E){S[0]=v(h,A),S[1]=v(p,C),E[0]=m(h,A),E[1]=m(p,C)}var n=[],c=[];function r(h,p,A,C,S,E,O,T,b,x){var N=L.cubicExtrema,D=L.cubicAt,M,R=N(h,A,S,O,n);for(b[0]=Infinity,b[1]=Infinity,x[0]=-Infinity,x[1]=-Infinity,M=0;M<R;M++){var F=D(h,A,S,O,n[M]);b[0]=v(F,b[0]),x[0]=m(F,x[0])}for(R=N(p,C,E,T,c),M=0;M<R;M++){var B=D(p,C,E,T,c[M]);b[1]=v(B,b[1]),x[1]=m(B,x[1])}b[0]=v(h,b[0]),x[0]=m(h,x[0]),b[0]=v(O,b[0]),x[0]=m(O,x[0]),b[1]=v(p,b[1]),x[1]=m(p,x[1]),b[1]=v(T,b[1]),x[1]=m(T,x[1])}function u(h,p,A,C,S,E,O,T){var b=L.quadraticExtremum,x=L.quadraticAt,N=m(v(b(h,A,S),1),0),D=m(v(b(p,C,E),1),0),M=x(h,A,S,N),R=x(p,C,E,D);O[0]=v(h,S,M),O[1]=v(p,E,R),T[0]=m(h,S,M),T[1]=m(p,E,R)}function i(h,p,A,C,S,E,O,T,b){var x=d.min,N=d.max,D=Math.abs(S-E);if(D%f<1e-4&&D>1e-4){T[0]=h-A,T[1]=p-C,b[0]=h+A,b[1]=p+C;return}if(a[0]=w(S)*A+h,a[1]=y(S)*C+p,t[0]=w(E)*A+h,t[1]=y(E)*C+p,x(T,a,t),N(b,a,t),S=S%f,S<0&&(S=S+f),E=E%f,E<0&&(E=E+f),S>E&&!O?E+=f:S<E&&O&&(S+=f),O){var M=E;E=S,S=M}for(var R=0;R<E;R+=Math.PI/2)R>S&&(o[0]=w(R)*A+h,o[1]=y(R)*C+p,x(T,o,T),N(b,o,b))}_.fromPoints=s,_.fromLine=l,_.fromCubic=r,_.fromQuadratic=u,_.fromArc=i},"sy/9":function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("9QT9")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="SearchOutlined";var f=v.forwardRef(w);_.default=f},t3Yf:function(Z,_,e){e("rAVC"),e("JSme"),e("UZiS"),e("7hf9"),e("Imzy"),e("JhJE"),e("BjFK")},t4NW:function(Z,_,e){var d=e("zYjg"),L=d.subPixelOptimize,v=e("teHm"),m=e("Jjzi"),y=m.parsePercent,w=e("oEo5"),f=w.retrieve2,a=typeof Float32Array!="undefined"?Float32Array:Array,t={seriesType:"candlestick",plan:v(),reset:function(l){var n=l.coordinateSystem,c=l.getData(),r=s(l,c),u=0,i=1,h=["x","y"],p=c.mapDimension(h[u]),A=c.mapDimension(h[i],!0),C=A[0],S=A[1],E=A[2],O=A[3];if(c.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),p==null||A.length<4)return;return{progress:l.pipelineContext.large?b:T};function T(x,N){for(var D;(D=x.next())!=null;){var M=N.get(p,D),R=N.get(C,D),F=N.get(S,D),B=N.get(E,D),z=N.get(O,D),U=Math.min(R,F),K=Math.max(R,F),W=G(U,M),H=G(K,M),Y=G(B,M),Q=G(z,M),P=[];J(P,H,0),J(P,W,1),P.push(te(Q),te(H),te(Y),te(W)),N.setItemLayout(D,{sign:o(N,D,R,F,S),initBaseline:R>F?H[i]:W[i],ends:P,brushRect:he(B,z,M)})}function G(pe,we){var be=[];return be[u]=we,be[i]=pe,isNaN(we)||isNaN(pe)?[NaN,NaN]:n.dataToPoint(be)}function J(pe,we,be){var Qe=we.slice(),$e=we.slice();Qe[u]=L(Qe[u]+r/2,1,!1),$e[u]=L($e[u]-r/2,1,!0),be?pe.push(Qe,$e):pe.push($e,Qe)}function he(pe,we,be){var Qe=G(pe,be),$e=G(we,be);return Qe[u]-=r/2,$e[u]-=r/2,{x:Qe[0],y:Qe[1],width:i?r:$e[0]-Qe[0],height:i?$e[1]-Qe[1]:r}}function te(pe){return pe[u]=L(pe[u],1),pe}}function b(x,N){for(var D=new a(x.count*4),M=0,R,F=[],B=[],z;(z=x.next())!=null;){var U=N.get(p,z),K=N.get(C,z),W=N.get(S,z),H=N.get(E,z),Y=N.get(O,z);if(isNaN(U)||isNaN(H)||isNaN(Y)){D[M++]=NaN,M+=3;continue}D[M++]=o(N,z,K,W,S),F[u]=U,F[i]=H,R=n.dataToPoint(F,null,B),D[M++]=R?R[0]:NaN,D[M++]=R?R[1]:NaN,F[i]=Y,R=n.dataToPoint(F,null,B),D[M++]=R?R[1]:NaN}N.setLayout("largePoints",D)}}};function o(l,n,c,r,u){var i;return c>r?i=-1:c<r?i=1:i=n>0?l.get(u,n-1)<=r?1:-1:1,i}function s(l,n){var c=l.getBaseAxis(),r,u=c.type==="category"?c.getBandWidth():(r=c.getExtent(),Math.abs(r[1]-r[0])/n.count()),i=y(f(l.get("barMaxWidth"),u),u),h=y(f(l.get("barMinWidth"),1),u),p=l.get("barWidth");return p!=null?y(p,u):Math.max(Math.min(u/2,i),h)}Z.exports=t},"t9+0":function(Z,_){function e(d){return this.__data__.has(d)}Z.exports=e},tCtF:function(Z,_,e){var d=e("Jjzi"),L=e("CQhY"),v=e("fEzB"),m=e("sXQx"),y=d.round,w=v.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(a,t){var o=this._extent;isNaN(a)||(o[0]=parseFloat(a)),isNaN(t)||(o[1]=parseFloat(t))},unionExtent:function(a){var t=this._extent;a[0]<t[0]&&(t[0]=a[0]),a[1]>t[1]&&(t[1]=a[1]),w.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval},setInterval:function(a){this._interval=a,this._niceExtent=this._extent.slice(),this._intervalPrecision=m.getIntervalPrecision(a)},getTicks:function(a){var t=this._interval,o=this._extent,s=this._niceExtent,l=this._intervalPrecision,n=[];if(!t)return n;var c=1e4;o[0]<s[0]&&(a?n.push(y(s[0]-t,l)):n.push(o[0]));for(var r=s[0];r<=s[1]&&!(n.push(r),r=y(r+t,l),r===n[n.length-1]);)if(n.length>c)return[];var u=n.length?n[n.length-1]:s[1];return o[1]>u&&(a?n.push(y(u+t,l)):n.push(o[1])),n},getMinorTicks:function(a){for(var t=this.getTicks(!0),o=[],s=this.getExtent(),l=1;l<t.length;l++){for(var n=t[l],c=t[l-1],r=0,u=[],i=n-c,h=i/a;r<a-1;){var p=d.round(c+(r+1)*h);p>s[0]&&p<s[1]&&u.push(p),r++}o.push(u)}return o},getLabel:function(a,t){if(a==null)return"";var o=t&&t.precision;return o==null?o=d.getPrecisionSafe(a)||0:o==="auto"&&(o=this._intervalPrecision),a=y(a,o,!0),L.addCommas(a)},niceTicks:function(a,t,o){a=a||5;var s=this._extent,l=s[1]-s[0];if(!isFinite(l))return;l<0&&(l=-l,s.reverse());var n=m.intervalScaleNiceTicks(s,a,t,o);this._intervalPrecision=n.intervalPrecision,this._interval=n.interval,this._niceExtent=n.niceTickExtent},niceExtent:function(a){var t=this._extent;if(t[0]===t[1])if(t[0]!==0){var o=t[0];a.fixMax||(t[1]+=o/2),t[0]-=o/2}else t[1]=1;var s=t[1]-t[0];isFinite(s)||(t[0]=0,t[1]=1),this.niceTicks(a.splitNumber,a.minInterval,a.maxInterval);var l=this._interval;a.fixMin||(t[0]=y(Math.floor(t[0]/l)*l)),a.fixMax||(t[1]=y(Math.ceil(t[1]/l)*l))}});w.create=function(){return new w};var f=w;Z.exports=f},"tD+t":function(Z,_,e){e("g48a"),e("WdvF")},tFaI:function(Z,_,e){"use strict";e.d(_,"b",function(){return y});var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=["xxl","xl","lg","md","sm","xs"],w={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},f=new Map,a=-1,t={},o={matchHandlers:{},dispatch:function(l){return t=l,f.forEach(function(n){return n(t)}),f.size>=1},subscribe:function(l){return f.size||this.register(),a+=1,f.set(a,l),l(t),a},unsubscribe:function(l){f.delete(l),f.size||this.unregister()},unregister:function(){var l=this;Object.keys(w).forEach(function(n){var c=w[n],r=l.matchHandlers[c];r==null||r.mql.removeListener(r==null?void 0:r.listener)}),f.clear()},register:function(){var l=this;Object.keys(w).forEach(function(n){var c=w[n],r=function(h){var p=h.matches;l.dispatch(m()(m()({},t),L()({},n,p)))},u=window.matchMedia(c);u.addListener(r),l.matchHandlers[c]={mql:u,listener:r},r(u)})}};_.a=o},tFbR:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=e("YYbH"),y=e("Jjzi"),w=y.parsePercent,f=e("sYRh"),a=f.createScaleByModel,t=f.niceScaleExtent,o=e("kN/v"),s=e("7/O9"),l=s.getStackedDimension;e("YLFC");function n(i,h,p){var A=h.get("center"),C=p.getWidth(),S=p.getHeight();i.cx=w(A[0],C),i.cy=w(A[1],S);var E=i.getRadiusAxis(),O=Math.min(C,S)/2,T=h.get("radius");T==null?T=[0,"100%"]:v.isArray(T)||(T=[0,T]),T=[w(T[0],O),w(T[1],O)],E.inverse?E.setExtent(T[1],T[0]):E.setExtent(T[0],T[1])}function c(i,h){var p=this,A=p.getAngleAxis(),C=p.getRadiusAxis();if(A.scale.setExtent(Infinity,-Infinity),C.scale.setExtent(Infinity,-Infinity),i.eachSeries(function(O){if(O.coordinateSystem===p){var T=O.getData();v.each(T.mapDimension("radius",!0),function(b){C.scale.unionExtentFromData(T,l(T,b))}),v.each(T.mapDimension("angle",!0),function(b){A.scale.unionExtentFromData(T,l(T,b))})}}),t(A.scale,A.model),t(C.scale,C.model),A.type==="category"&&!A.onBand){var S=A.getExtent(),E=360/A.scale.count();A.inverse?S[1]+=E:S[1]-=E,A.setExtent(S[0],S[1])}}function r(i,h){if(i.type=h.get("type"),i.scale=a(h),i.onBand=h.get("boundaryGap")&&i.type==="category",i.inverse=h.get("inverse"),h.mainType==="angleAxis"){i.inverse^=h.get("clockwise");var p=h.get("startAngle");i.setExtent(p,p+(i.inverse?-360:360))}h.axis=i,i.model=h}var u={dimensions:m.prototype.dimensions,create:function(i,h){var p=[];return i.eachComponent("polar",function(A,C){var S=new m(C);S.update=c;var E=S.getRadiusAxis(),O=S.getAngleAxis(),T=A.findAxisModel("radiusAxis"),b=A.findAxisModel("angleAxis");r(E,T),r(O,b),n(S,A,h),p.push(S),A.coordinateSystem=S,S.model=A}),i.eachSeries(function(A){if(A.get("coordinateSystem")==="polar"){var C=i.queryComponents({mainType:"polar",index:A.get("polarIndex"),id:A.get("polarId")})[0];A.coordinateSystem=C.coordinateSystem}}),p}};o.register("polar",u)},tGbs:function(Z,_,e){"use strict";e.d(_,"a",function(){return n});var d=e("Eqs+"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("ZZRV"),w=e("iczh"),f=e.n(w),a=e("7AgF"),t=e("LpVx"),o={small:8,middle:16,large:24};function s(u){var i=u.className,h=u.direction,p=u.index,A=u.size,C=u.marginDirection,S=u.children,E=y.useContext(n);return S==null?null:y.createElement("div",{className:i,style:p>=E?{}:m()({},h==="vertical"?"marginBottom":C,typeof A=="string"?o[A]:A)},S)}var l=function(u,i){var h={};for(var p in u)Object.prototype.hasOwnProperty.call(u,p)&&i.indexOf(p)<0&&(h[p]=u[p]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,p=Object.getOwnPropertySymbols(u);A<p.length;A++)i.indexOf(p[A])<0&&Object.prototype.propertyIsEnumerable.call(u,p[A])&&(h[p[A]]=u[p[A]]);return h},n=y.createContext(0),c=function(i){var h,p=y.useContext(t.b),A=p.getPrefixCls,C=p.space,S=p.direction,E=i.size,O=E===void 0?(C==null?void 0:C.size)||"small":E,T=i.align,b=i.className,x=i.children,N=i.direction,D=N===void 0?"horizontal":N,M=i.prefixCls,R=l(i,["size","align","className","children","direction","prefixCls"]),F=Object(a.a)(x,{keepEmpty:!0});if(F.length===0)return null;var B=T===void 0&&D==="horizontal"?"center":T,z=A("space",M),U=f()(z,"".concat(z,"-").concat(D),(h={},m()(h,"".concat(z,"-rtl"),S==="rtl"),m()(h,"".concat(z,"-align-").concat(B),B),h),b),K="".concat(z,"-item"),W=S==="rtl"?"marginLeft":"marginRight",H=0,Y=F.map(function(Q,P){return Q!=null&&(H=P),y.createElement(s,{className:K,key:"".concat(K,"-").concat(P),direction:D,size:O,index:P,marginDirection:W},Q)});return y.createElement("div",L()({className:U},R),y.createElement(n.Provider,{value:H},Y))},r=_.b=c},tLnZ:function(Z,_,e){var d=e("0gFT"),L=e("oEo5"),v=e("ArUA"),m=v.getDimensionTypeByAxis,y=e("kAFf"),w=y.makeSeriesEncodeForAxisCoordSys,f={_baseAxisDim:null,getInitialData:function(a,t){var o,s=t.getComponent("xAxis",this.get("xAxisIndex")),l=t.getComponent("yAxis",this.get("yAxisIndex")),n=s.get("type"),c=l.get("type"),r;n==="category"?(a.layout="horizontal",o=s.getOrdinalMeta(),r=!0):c==="category"?(a.layout="vertical",o=l.getOrdinalMeta(),r=!0):a.layout=a.layout||"horizontal";var u=["x","y"],i=a.layout==="horizontal"?0:1,h=this._baseAxisDim=u[i],p=u[1-i],A=[s,l],C=A[i].get("type"),S=A[1-i].get("type"),E=a.data;if(E&&r){var O=[];L.each(E,function(x,N){var D;x.value&&L.isArray(x.value)?(D=x.value.slice(),x.value.unshift(N)):L.isArray(x)?(D=x.slice(),x.unshift(N)):D=x,O.push(D)}),a.data=O}var T=this.defaultValueDimensions,b=[{name:h,type:m(C),ordinalMeta:o,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:p,type:m(S),dimsDef:T.slice()}];return d(this,{coordDimensions:b,dimensionsCount:T.length+1,encodeDefaulter:L.curry(w,b,this)})},getBaseAxis:function(){var a=this._baseAxisDim;return this.ecModel.getComponent(a+"Axis",this.get(a+"AxisIndex")).axis}};_.seriesModelMixin=f},tO6W:function(Z,_,e){var d=e("oEo5");function L(v){if(!v||!d.isArray(v.series))return;d.each(v.series,function(m){d.isObject(m)&&m.type==="k"&&(m.type="candlestick")})}Z.exports=L},tV39:function(Z,_,e){var d=e("342z"),L=e("afA4"),v=L.subPixelOptimizeLine,m={},y=d.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(f,a){var t,o,s,l;this.subPixelOptimize?(v(m,a,this.style),t=m.x1,o=m.y1,s=m.x2,l=m.y2):(t=a.x1,o=a.y1,s=a.x2,l=a.y2);var n=a.percent;if(n===0)return;f.moveTo(t,o),n<1&&(s=t*(1-n)+s*n,l=o*(1-n)+l*n),f.lineTo(s,l)},pointAt:function(f){var a=this.shape;return[a.x1*(1-f)+a.x2*f,a.y1*(1-f)+a.y2*f]}});Z.exports=y},tVQ9:function(Z,_,e){(function(d,L){Z.exports=L()})(this,function(){"use strict";function d(xt,Ut){for(var Ze=0;Ze<Ut.length;Ze++){var ze=Ut[Ze];ze.enumerable=ze.enumerable||!1,ze.configurable=!0,"value"in ze&&(ze.writable=!0),Object.defineProperty(xt,ze.key,ze)}}function L(xt,Ut,Ze){return Ut&&d(xt.prototype,Ut),Ze&&d(xt,Ze),xt}function v(xt,Ut){if(!xt)return;if(typeof xt=="string")return m(xt,Ut);var Ze=Object.prototype.toString.call(xt).slice(8,-1);if(Ze==="Object"&&xt.constructor&&(Ze=xt.constructor.name),Ze==="Map"||Ze==="Set")return Array.from(xt);if(Ze==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ze))return m(xt,Ut)}function m(xt,Ut){(Ut==null||Ut>xt.length)&&(Ut=xt.length);for(var Ze=0,ze=new Array(Ut);Ze<Ut;Ze++)ze[Ze]=xt[Ze];return ze}function y(xt,Ut){var Ze;if(typeof Symbol=="undefined"||xt[Symbol.iterator]==null){if(Array.isArray(xt)||(Ze=v(xt))||Ut&&xt&&typeof xt.length=="number"){Ze&&(xt=Ze);var ze=0;return function(){return ze>=xt.length?{done:!0}:{done:!1,value:xt[ze++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ze=xt[Symbol.iterator](),Ze.next.bind(Ze)}function w(xt,Ut){return Ut={exports:{}},xt(Ut,Ut.exports),Ut.exports}var f=w(function(xt){function Ut(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function Ze(ze){xt.exports.defaults=ze}xt.exports={defaults:Ut(),getDefaults:Ut,changeDefaults:Ze}}),a=f.defaults,t=f.getDefaults,o=f.changeDefaults,s=/[&<>"']/,l=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,r={"&":"&","<":"<",">":">",'"':""","'":"'"},u=function(Ut){return r[Ut]};function i(xt,Ut){if(Ut){if(s.test(xt))return xt.replace(l,u)}else if(n.test(xt))return xt.replace(c,u);return xt}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function p(xt){return xt.replace(h,function(Ut,Ze){return Ze=Ze.toLowerCase(),Ze==="colon"?":":Ze.charAt(0)==="#"?Ze.charAt(1)==="x"?String.fromCharCode(parseInt(Ze.substring(2),16)):String.fromCharCode(+Ze.substring(1)):""})}var A=/(^|[^\[])\^/g;function C(xt,Ut){xt=xt.source||xt,Ut=Ut||"";var Ze={replace:function(re,le){return le=le.source||le,le=le.replace(A,"$1"),xt=xt.replace(re,le),Ze},getRegex:function(){return new RegExp(xt,Ut)}};return Ze}var S=/[^\w:]/g,E=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function O(xt,Ut,Ze){if(xt){var ze;try{ze=decodeURIComponent(p(Ze)).replace(S,"").toLowerCase()}catch(re){return null}if(ze.indexOf("javascript:")===0||ze.indexOf("vbscript:")===0||ze.indexOf("data:")===0)return null}Ut&&!E.test(Ze)&&(Ze=D(Ut,Ze));try{Ze=encodeURI(Ze).replace(/%25/g,"%")}catch(re){return null}return Ze}var T={},b=/^[^:]+:\/*[^/]*$/,x=/^([^:]+:)[\s\S]*$/,N=/^([^:]+:\/*[^/]*)[\s\S]*$/;function D(xt,Ut){T[" "+xt]||(b.test(xt)?T[" "+xt]=xt+"/":T[" "+xt]=B(xt,"/",!0)),xt=T[" "+xt];var Ze=xt.indexOf(":")===-1;return Ut.substring(0,2)==="//"?Ze?Ut:xt.replace(x,"$1")+Ut:Ut.charAt(0)==="/"?Ze?Ut:xt.replace(N,"$1")+Ut:xt+Ut}var M={exec:function(){}};function R(xt){for(var Ut=1,Ze,ze;Ut<arguments.length;Ut++){Ze=arguments[Ut];for(ze in Ze)Object.prototype.hasOwnProperty.call(Ze,ze)&&(xt[ze]=Ze[ze])}return xt}function F(xt,Ut){var Ze=xt.replace(/\|/g,function(le,Xe,_e){for(var je=!1,ar=Xe;--ar>=0&&_e[ar]==="\\";)je=!je;return je?"|":" |"}),ze=Ze.split(/ \|/),re=0;if(ze.length>Ut)ze.splice(Ut);else for(;ze.length<Ut;)ze.push("");for(;re<ze.length;re++)ze[re]=ze[re].trim().replace(/\\\|/g,"|");return ze}function B(xt,Ut,Ze){var ze=xt.length;if(ze===0)return"";for(var re=0;re<ze;){var le=xt.charAt(ze-re-1);if(le===Ut&&!Ze)re++;else if(le!==Ut&&Ze)re++;else break}return xt.substr(0,ze-re)}function z(xt,Ut){if(xt.indexOf(Ut[1])===-1)return-1;for(var Ze=xt.length,ze=0,re=0;re<Ze;re++)if(xt[re]==="\\")re++;else if(xt[re]===Ut[0])ze++;else if(xt[re]===Ut[1]&&(ze--,ze<0))return re;return-1}function U(xt){xt&&xt.sanitize&&!xt.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var K={escape:i,unescape:p,edit:C,cleanUrl:O,resolveUrl:D,noopTest:M,merge:R,splitCells:F,rtrim:B,findClosingBracket:z,checkSanitizeDeprecation:U},W=f.defaults,H=K.rtrim,Y=K.splitCells,Q=K.escape,P=K.findClosingBracket;function G(xt,Ut,Ze){var ze=Ut.href,re=Ut.title?Q(Ut.title):null,le=xt[1].replace(/\\([\[\]])/g,"$1");return xt[0].charAt(0)!=="!"?{type:"link",raw:Ze,href:ze,title:re,text:le}:{type:"image",raw:Ze,href:ze,title:re,text:Q(le)}}function J(xt,Ut){var Ze=xt.match(/^(\s+)(?:```)/);if(Ze===null)return Ut;var ze=Ze[1];return Ut.split(`
|
||
`).map(function(re){var le=re.match(/^\s+/);if(le===null)return re;var Xe=le[0];return Xe.length>=ze.length?re.slice(ze.length):re}).join(`
|
||
`)}var he=function(){function xt(Ze){this.options=Ze||W}var Ut=xt.prototype;return Ut.space=function(ze){var re=this.rules.block.newline.exec(ze);if(re)return re[0].length>1?{type:"space",raw:re[0]}:{raw:`
|
||
`}},Ut.code=function(ze,re){var le=this.rules.block.code.exec(ze);if(le){var Xe=re[re.length-1];if(Xe&&Xe.type==="paragraph")return{raw:le[0],text:le[0].trimRight()};var _e=le[0].replace(/^ {4}/gm,"");return{type:"code",raw:le[0],codeBlockStyle:"indented",text:this.options.pedantic?_e:H(_e,`
|
||
`)}}},Ut.fences=function(ze){var re=this.rules.block.fences.exec(ze);if(re){var le=re[0],Xe=J(le,re[3]||"");return{type:"code",raw:le,lang:re[2]?re[2].trim():re[2],text:Xe}}},Ut.heading=function(ze){var re=this.rules.block.heading.exec(ze);if(re)return{type:"heading",raw:re[0],depth:re[1].length,text:re[2]}},Ut.nptable=function(ze){var re=this.rules.block.nptable.exec(ze);if(re){var le={type:"table",header:Y(re[1].replace(/^ *| *\| *$/g,"")),align:re[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:re[3]?re[3].replace(/\n$/,"").split(`
|
||
`):[],raw:re[0]};if(le.header.length===le.align.length){var Xe=le.align.length,_e;for(_e=0;_e<Xe;_e++)/^ *-+: *$/.test(le.align[_e])?le.align[_e]="right":/^ *:-+: *$/.test(le.align[_e])?le.align[_e]="center":/^ *:-+ *$/.test(le.align[_e])?le.align[_e]="left":le.align[_e]=null;for(Xe=le.cells.length,_e=0;_e<Xe;_e++)le.cells[_e]=Y(le.cells[_e],le.header.length);return le}}},Ut.hr=function(ze){var re=this.rules.block.hr.exec(ze);if(re)return{type:"hr",raw:re[0]}},Ut.blockquote=function(ze){var re=this.rules.block.blockquote.exec(ze);if(re){var le=re[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:re[0],text:le}}},Ut.list=function(ze){var re=this.rules.block.list.exec(ze);if(re){for(var le=re[0],Xe=re[2],_e=Xe.length>1,je=Xe[Xe.length-1]===")",ar={type:"list",raw:le,ordered:_e,start:_e?+Xe.slice(0,-1):"",loose:!1,items:[]},zt=re[0].match(this.rules.block.item),Pt=!1,qt,or,Kt,Mt,me,ce,ae,de=zt.length,Se=0;Se<de;Se++)qt=zt[Se],le=qt,or=qt.length,qt=qt.replace(/^ *([*+-]|\d+[.)]) */,""),~qt.indexOf(`
|
||
`)&&(or-=qt.length,qt=this.options.pedantic?qt.replace(/^ {1,4}/gm,""):qt.replace(new RegExp("^ {1,"+or+"}","gm"),"")),Se!==de-1&&(Kt=this.rules.block.bullet.exec(zt[Se+1])[0],(_e?Kt.length===1||!je&&Kt[Kt.length-1]===")":Kt.length>1||this.options.smartLists&&Kt!==Xe)&&(Mt=zt.slice(Se+1).join(`
|
||
`),ar.raw=ar.raw.substring(0,ar.raw.length-Mt.length),Se=de-1)),me=Pt||/\n\n(?!\s*$)/.test(qt),Se!==de-1&&(Pt=qt.charAt(qt.length-1)===`
|
||
`,me||(me=Pt)),me&&(ar.loose=!0),ce=/^\[[ xX]\] /.test(qt),ae=void 0,ce&&(ae=qt[1]!==" ",qt=qt.replace(/^\[[ xX]\] +/,"")),ar.items.push({type:"list_item",raw:le,task:ce,checked:ae,loose:me,text:qt});return ar}},Ut.html=function(ze){var re=this.rules.block.html.exec(ze);if(re)return{type:this.options.sanitize?"paragraph":"html",raw:re[0],pre:!this.options.sanitizer&&(re[1]==="pre"||re[1]==="script"||re[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(re[0]):Q(re[0]):re[0]}},Ut.def=function(ze){var re=this.rules.block.def.exec(ze);if(re){re[3]&&(re[3]=re[3].substring(1,re[3].length-1));var le=re[1].toLowerCase().replace(/\s+/g," ");return{tag:le,raw:re[0],href:re[2],title:re[3]}}},Ut.table=function(ze){var re=this.rules.block.table.exec(ze);if(re){var le={type:"table",header:Y(re[1].replace(/^ *| *\| *$/g,"")),align:re[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:re[3]?re[3].replace(/\n$/,"").split(`
|
||
`):[]};if(le.header.length===le.align.length){le.raw=re[0];var Xe=le.align.length,_e;for(_e=0;_e<Xe;_e++)/^ *-+: *$/.test(le.align[_e])?le.align[_e]="right":/^ *:-+: *$/.test(le.align[_e])?le.align[_e]="center":/^ *:-+ *$/.test(le.align[_e])?le.align[_e]="left":le.align[_e]=null;for(Xe=le.cells.length,_e=0;_e<Xe;_e++)le.cells[_e]=Y(le.cells[_e].replace(/^ *\| *| *\| *$/g,""),le.header.length);return le}}},Ut.lheading=function(ze){var re=this.rules.block.lheading.exec(ze);if(re)return{type:"heading",raw:re[0],depth:re[2].charAt(0)==="="?1:2,text:re[1]}},Ut.paragraph=function(ze){var re=this.rules.block.paragraph.exec(ze);if(re)return{type:"paragraph",raw:re[0],text:re[1].charAt(re[1].length-1)===`
|
||
`?re[1].slice(0,-1):re[1]}},Ut.text=function(ze,re){var le=this.rules.block.text.exec(ze);if(le){var Xe=re[re.length-1];return Xe&&Xe.type==="text"?{raw:le[0],text:le[0]}:{type:"text",raw:le[0],text:le[0]}}},Ut.escape=function(ze){var re=this.rules.inline.escape.exec(ze);if(re)return{type:"escape",raw:re[0],text:Q(re[1])}},Ut.tag=function(ze,re,le){var Xe=this.rules.inline.tag.exec(ze);if(Xe)return!re&&/^<a /i.test(Xe[0])?re=!0:re&&/^<\/a>/i.test(Xe[0])&&(re=!1),!le&&/^<(pre|code|kbd|script)(\s|>)/i.test(Xe[0])?le=!0:le&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Xe[0])&&(le=!1),{type:this.options.sanitize?"text":"html",raw:Xe[0],inLink:re,inRawBlock:le,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Xe[0]):Q(Xe[0]):Xe[0]}},Ut.link=function(ze){var re=this.rules.inline.link.exec(ze);if(re){var le=P(re[2],"()");if(le>-1){var Xe=re[0].indexOf("!")===0?5:4,_e=Xe+re[1].length+le;re[2]=re[2].substring(0,le),re[0]=re[0].substring(0,_e).trim(),re[3]=""}var je=re[2],ar="";if(this.options.pedantic){var zt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(je);zt?(je=zt[1],ar=zt[3]):ar=""}else ar=re[3]?re[3].slice(1,-1):"";je=je.trim().replace(/^<([\s\S]*)>$/,"$1");var Pt=G(re,{href:je&&je.replace(this.rules.inline._escapes,"$1"),title:ar&&ar.replace(this.rules.inline._escapes,"$1")},re[0]);return Pt}},Ut.reflink=function(ze,re){var le;if((le=this.rules.inline.reflink.exec(ze))||(le=this.rules.inline.nolink.exec(ze))){var Xe=(le[2]||le[1]).replace(/\s+/g," ");if(Xe=re[Xe.toLowerCase()],!Xe||!Xe.href){var _e=le[0].charAt(0);return{type:"text",raw:_e,text:_e}}var je=G(le,Xe,le[0]);return je}},Ut.strong=function(ze,re,le){le===void 0&&(le="");var Xe=this.rules.inline.strong.start.exec(ze);if(Xe&&(!Xe[1]||Xe[1]&&(le===""||this.rules.inline.punctuation.exec(le)))){re=re.slice(-1*ze.length);var _e=Xe[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;_e.lastIndex=0;for(var je;(Xe=_e.exec(re))!=null;)if(je=this.rules.inline.strong.middle.exec(re.slice(0,Xe.index+3)),je)return{type:"strong",raw:ze.slice(0,je[0].length),text:ze.slice(2,je[0].length-2)}}},Ut.em=function(ze,re,le){le===void 0&&(le="");var Xe=this.rules.inline.em.start.exec(ze);if(Xe&&(!Xe[1]||Xe[1]&&(le===""||this.rules.inline.punctuation.exec(le)))){re=re.slice(-1*ze.length);var _e=Xe[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;_e.lastIndex=0;for(var je;(Xe=_e.exec(re))!=null;)if(je=this.rules.inline.em.middle.exec(re.slice(0,Xe.index+2)),je)return{type:"em",raw:ze.slice(0,je[0].length),text:ze.slice(1,je[0].length-1)}}},Ut.codespan=function(ze){var re=this.rules.inline.code.exec(ze);if(re){var le=re[2].replace(/\n/g," "),Xe=/[^ ]/.test(le),_e=le.startsWith(" ")&&le.endsWith(" ");return Xe&&_e&&(le=le.substring(1,le.length-1)),le=Q(le,!0),{type:"codespan",raw:re[0],text:le}}},Ut.br=function(ze){var re=this.rules.inline.br.exec(ze);if(re)return{type:"br",raw:re[0]}},Ut.del=function(ze){var re=this.rules.inline.del.exec(ze);if(re)return{type:"del",raw:re[0],text:re[1]}},Ut.autolink=function(ze,re){var le=this.rules.inline.autolink.exec(ze);if(le){var Xe,_e;return le[2]==="@"?(Xe=Q(this.options.mangle?re(le[1]):le[1]),_e="mailto:"+Xe):(Xe=Q(le[1]),_e=Xe),{type:"link",raw:le[0],text:Xe,href:_e,tokens:[{type:"text",raw:Xe,text:Xe}]}}},Ut.url=function(ze,re){var le;if(le=this.rules.inline.url.exec(ze)){var Xe,_e;if(le[2]==="@")Xe=Q(this.options.mangle?re(le[0]):le[0]),_e="mailto:"+Xe;else{var je;do je=le[0],le[0]=this.rules.inline._backpedal.exec(le[0])[0];while(je!==le[0]);Xe=Q(le[0]),le[1]==="www."?_e="http://"+Xe:_e=Xe}return{type:"link",raw:le[0],text:Xe,href:_e,tokens:[{type:"text",raw:Xe,text:Xe}]}}},Ut.inlineText=function(ze,re,le){var Xe=this.rules.inline.text.exec(ze);if(Xe){var _e;return re?_e=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Xe[0]):Q(Xe[0]):Xe[0]:_e=Q(this.options.smartypants?le(Xe[0]):Xe[0]),{type:"text",raw:Xe[0],text:_e}}},xt}(),te=K.noopTest,pe=K.edit,we=K.merge,be={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:te,table:te,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};be._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,be._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,be.def=pe(be.def).replace("label",be._label).replace("title",be._title).getRegex(),be.bullet=/(?:[*+-]|\d{1,9}[.)])/,be.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,be.item=pe(be.item,"gm").replace(/bull/g,be.bullet).getRegex(),be.list=pe(be.list).replace(/bull/g,be.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+be.def.source+")").getRegex(),be._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",be._comment=/<!--(?!-?>)[\s\S]*?-->/,be.html=pe(be.html,"i").replace("comment",be._comment).replace("tag",be._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),be.paragraph=pe(be._paragraph).replace("hr",be.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",be._tag).getRegex(),be.blockquote=pe(be.blockquote).replace("paragraph",be.paragraph).getRegex(),be.normal=we({},be),be.gfm=we({},be.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),be.gfm.nptable=pe(be.gfm.nptable).replace("hr",be.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",be._tag).getRegex(),be.gfm.table=pe(be.gfm.table).replace("hr",be.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",be._tag).getRegex(),be.pedantic=we({},be.normal,{html:pe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",be._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:te,paragraph:pe(be.normal._paragraph).replace("hr",be.hr).replace("heading",` *#{1,6} *[^
|
||
]`).replace("lheading",be.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Qe={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:te,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:te,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Qe._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Qe.punctuation=pe(Qe.punctuation).replace(/punctuation/g,Qe._punctuation).getRegex(),Qe._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Qe._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Qe.em.start=pe(Qe.em.start).replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.em.middle=pe(Qe.em.middle).replace(/punctuation/g,Qe._punctuation).replace(/overlapSkip/g,Qe._overlapSkip).getRegex(),Qe.em.endAst=pe(Qe.em.endAst,"g").replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.em.endUnd=pe(Qe.em.endUnd,"g").replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.strong.start=pe(Qe.strong.start).replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.strong.middle=pe(Qe.strong.middle).replace(/punctuation/g,Qe._punctuation).replace(/blockSkip/g,Qe._blockSkip).getRegex(),Qe.strong.endAst=pe(Qe.strong.endAst,"g").replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.strong.endUnd=pe(Qe.strong.endUnd,"g").replace(/punctuation/g,Qe._punctuation).getRegex(),Qe.blockSkip=pe(Qe._blockSkip,"g").getRegex(),Qe.overlapSkip=pe(Qe._overlapSkip,"g").getRegex(),Qe._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Qe._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Qe._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Qe.autolink=pe(Qe.autolink).replace("scheme",Qe._scheme).replace("email",Qe._email).getRegex(),Qe._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Qe.tag=pe(Qe.tag).replace("comment",be._comment).replace("attribute",Qe._attribute).getRegex(),Qe._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Qe._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Qe._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Qe.link=pe(Qe.link).replace("label",Qe._label).replace("href",Qe._href).replace("title",Qe._title).getRegex(),Qe.reflink=pe(Qe.reflink).replace("label",Qe._label).getRegex(),Qe.reflinkSearch=pe(Qe.reflinkSearch,"g").replace("reflink",Qe.reflink).replace("nolink",Qe.nolink).getRegex(),Qe.normal=we({},Qe),Qe.pedantic=we({},Qe.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:pe(/^!?\[(label)\]\((.*?)\)/).replace("label",Qe._label).getRegex(),reflink:pe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Qe._label).getRegex()}),Qe.gfm=we({},Qe.normal,{escape:pe(Qe.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),Qe.gfm.url=pe(Qe.gfm.url,"i").replace("email",Qe.gfm._extended_email).getRegex(),Qe.breaks=we({},Qe.gfm,{br:pe(Qe.br).replace("{2,}","*").getRegex(),text:pe(Qe.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var $e={block:be,inline:Qe},yt=f.defaults,Fe=$e.block,Pe=$e.inline;function gt(xt){return xt.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function it(xt){var Ut="",Ze,ze,re=xt.length;for(Ze=0;Ze<re;Ze++)ze=xt.charCodeAt(Ze),Math.random()>.5&&(ze="x"+ze.toString(16)),Ut+="&#"+ze+";";return Ut}var qe=function(){function xt(Ze){this.tokens=[],this.tokens.links=Object.create(null),this.options=Ze||yt,this.options.tokenizer=this.options.tokenizer||new he,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var ze={block:Fe.normal,inline:Pe.normal};this.options.pedantic?(ze.block=Fe.pedantic,ze.inline=Pe.pedantic):this.options.gfm&&(ze.block=Fe.gfm,this.options.breaks?ze.inline=Pe.breaks:ze.inline=Pe.gfm),this.tokenizer.rules=ze}xt.lex=function(ze,re){var le=new xt(re);return le.lex(ze)};var Ut=xt.prototype;return Ut.lex=function(ze){return ze=ze.replace(/\r\n|\r/g,`
|
||
`).replace(/\t/g," "),this.blockTokens(ze,this.tokens,!0),this.inline(this.tokens),this.tokens},Ut.blockTokens=function(ze,re,le){re===void 0&&(re=[]),le===void 0&&(le=!0),ze=ze.replace(/^ +$/gm,"");for(var Xe,_e,je,ar;ze;){if(Xe=this.tokenizer.space(ze)){ze=ze.substring(Xe.raw.length),Xe.type&&re.push(Xe);continue}if(Xe=this.tokenizer.code(ze,re)){ze=ze.substring(Xe.raw.length),Xe.type?re.push(Xe):(ar=re[re.length-1],ar.raw+=`
|
||
`+Xe.raw,ar.text+=`
|
||
`+Xe.text);continue}if(Xe=this.tokenizer.fences(ze)){ze=ze.substring(Xe.raw.length),re.push(Xe);continue}if(Xe=this.tokenizer.heading(ze)){ze=ze.substring(Xe.raw.length),re.push(Xe);continue}if(Xe=this.tokenizer.nptable(ze)){ze=ze.substring(Xe.raw.length),re.push(Xe);continue}if(Xe=this.tokenizer.hr(ze)){ze=ze.substring(Xe.raw.length),re.push(Xe);continue}if(Xe=this.tokenizer.blockquote(ze)){ze=ze.substring(Xe.raw.length),Xe.tokens=this.blockTokens(Xe.text,[],le),re.push(Xe);continue}if(Xe=this.tokenizer.list(ze)){for(ze=ze.substring(Xe.raw.length),je=Xe.items.length,_e=0;_e<je;_e++)Xe.items[_e].tokens=this.blockTokens(Xe.items[_e].text,[],!1);re.push(Xe);continue}if(Xe=this.tokenizer.html(ze)){ze=ze.substring(Xe.raw.length),re.push(Xe);continue}if(le&&(Xe=this.tokenizer.def(ze))){ze=ze.substring(Xe.raw.length),this.tokens.links[Xe.tag]||(this.tokens.links[Xe.tag]={href:Xe.href,title:Xe.title});continue}if(Xe=this.tokenizer.table(ze)){ze=ze.substring(Xe.raw.length),re.push(Xe);continue}if(Xe=this.tokenizer.lheading(ze)){ze=ze.substring(Xe.raw.length),re.push(Xe);continue}if(le&&(Xe=this.tokenizer.paragraph(ze))){ze=ze.substring(Xe.raw.length),re.push(Xe);continue}if(Xe=this.tokenizer.text(ze,re)){ze=ze.substring(Xe.raw.length),Xe.type?re.push(Xe):(ar=re[re.length-1],ar.raw+=`
|
||
`+Xe.raw,ar.text+=`
|
||
`+Xe.text);continue}if(ze){var zt="Infinite loop on byte: "+ze.charCodeAt(0);if(this.options.silent){console.error(zt);break}else throw new Error(zt)}}return re},Ut.inline=function(ze){var re,le,Xe,_e,je,ar,zt=ze.length;for(re=0;re<zt;re++){ar=ze[re];switch(ar.type){case"paragraph":case"text":case"heading":{ar.tokens=[],this.inlineTokens(ar.text,ar.tokens);break}case"table":{for(ar.tokens={header:[],cells:[]},_e=ar.header.length,le=0;le<_e;le++)ar.tokens.header[le]=[],this.inlineTokens(ar.header[le],ar.tokens.header[le]);for(_e=ar.cells.length,le=0;le<_e;le++)for(je=ar.cells[le],ar.tokens.cells[le]=[],Xe=0;Xe<je.length;Xe++)ar.tokens.cells[le][Xe]=[],this.inlineTokens(je[Xe],ar.tokens.cells[le][Xe]);break}case"blockquote":{this.inline(ar.tokens);break}case"list":{for(_e=ar.items.length,le=0;le<_e;le++)this.inline(ar.items[le].tokens);break}}}return ze},Ut.inlineTokens=function(ze,re,le,Xe,_e){re===void 0&&(re=[]),le===void 0&&(le=!1),Xe===void 0&&(Xe=!1),_e===void 0&&(_e="");var je,ar=ze,zt;if(this.tokens.links){var Pt=Object.keys(this.tokens.links);if(Pt.length>0)for(;(zt=this.tokenizer.rules.inline.reflinkSearch.exec(ar))!=null;)Pt.includes(zt[0].slice(zt[0].lastIndexOf("[")+1,-1))&&(ar=ar.slice(0,zt.index)+"["+"a".repeat(zt[0].length-2)+"]"+ar.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(zt=this.tokenizer.rules.inline.blockSkip.exec(ar))!=null;)ar=ar.slice(0,zt.index)+"["+"a".repeat(zt[0].length-2)+"]"+ar.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;ze;){if(je=this.tokenizer.escape(ze)){ze=ze.substring(je.raw.length),re.push(je);continue}if(je=this.tokenizer.tag(ze,le,Xe)){ze=ze.substring(je.raw.length),le=je.inLink,Xe=je.inRawBlock,re.push(je);continue}if(je=this.tokenizer.link(ze)){ze=ze.substring(je.raw.length),je.type==="link"&&(je.tokens=this.inlineTokens(je.text,[],!0,Xe)),re.push(je);continue}if(je=this.tokenizer.reflink(ze,this.tokens.links)){ze=ze.substring(je.raw.length),je.type==="link"&&(je.tokens=this.inlineTokens(je.text,[],!0,Xe)),re.push(je);continue}if(je=this.tokenizer.strong(ze,ar,_e)){ze=ze.substring(je.raw.length),je.tokens=this.inlineTokens(je.text,[],le,Xe),re.push(je);continue}if(je=this.tokenizer.em(ze,ar,_e)){ze=ze.substring(je.raw.length),je.tokens=this.inlineTokens(je.text,[],le,Xe),re.push(je);continue}if(je=this.tokenizer.codespan(ze)){ze=ze.substring(je.raw.length),re.push(je);continue}if(je=this.tokenizer.br(ze)){ze=ze.substring(je.raw.length),re.push(je);continue}if(je=this.tokenizer.del(ze)){ze=ze.substring(je.raw.length),je.tokens=this.inlineTokens(je.text,[],le,Xe),re.push(je);continue}if(je=this.tokenizer.autolink(ze,it)){ze=ze.substring(je.raw.length),re.push(je);continue}if(!le&&(je=this.tokenizer.url(ze,it))){ze=ze.substring(je.raw.length),re.push(je);continue}if(je=this.tokenizer.inlineText(ze,Xe,gt)){ze=ze.substring(je.raw.length),_e=je.raw.slice(-1),re.push(je);continue}if(ze){var qt="Infinite loop on byte: "+ze.charCodeAt(0);if(this.options.silent){console.error(qt);break}else throw new Error(qt)}}return re},L(xt,null,[{key:"rules",get:function(){return{block:Fe,inline:Pe}}}]),xt}(),At=f.defaults,dt=K.cleanUrl,wt=K.escape,Ye=function(){function xt(Ze){this.options=Ze||At}var Ut=xt.prototype;return Ut.code=function(ze,re,le){var Xe=(re||"").match(/\S*/)[0];if(this.options.highlight){var _e=this.options.highlight(ze,Xe);_e!=null&&_e!==ze&&(le=!0,ze=_e)}return Xe?'<pre><code class="'+this.options.langPrefix+wt(Xe,!0)+'">'+(le?ze:wt(ze,!0))+`</code></pre>
|
||
`:"<pre><code>"+(le?ze:wt(ze,!0))+`</code></pre>
|
||
`},Ut.blockquote=function(ze){return`<blockquote>
|
||
`+ze+`</blockquote>
|
||
`},Ut.html=function(ze){return ze},Ut.heading=function(ze,re,le,Xe){return this.options.headerIds?"<h"+re+' id="'+this.options.headerPrefix+Xe.slug(le)+'">'+ze+"</h"+re+`>
|
||
`:"<h"+re+">"+ze+"</h"+re+`>
|
||
`},Ut.hr=function(){return this.options.xhtml?`<hr/>
|
||
`:`<hr>
|
||
`},Ut.list=function(ze,re,le){var Xe=re?"ol":"ul",_e=re&&le!==1?' start="'+le+'"':"";return"<"+Xe+_e+`>
|
||
`+ze+"</"+Xe+`>
|
||
`},Ut.listitem=function(ze){return"<li>"+ze+`</li>
|
||
`},Ut.checkbox=function(ze){return"<input "+(ze?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Ut.paragraph=function(ze){return"<p>"+ze+`</p>
|
||
`},Ut.table=function(ze,re){return re&&(re="<tbody>"+re+"</tbody>"),`<table>
|
||
<thead>
|
||
`+ze+`</thead>
|
||
`+re+`</table>
|
||
`},Ut.tablerow=function(ze){return`<tr>
|
||
`+ze+`</tr>
|
||
`},Ut.tablecell=function(ze,re){var le=re.header?"th":"td",Xe=re.align?"<"+le+' align="'+re.align+'">':"<"+le+">";return Xe+ze+"</"+le+`>
|
||
`},Ut.strong=function(ze){return"<strong>"+ze+"</strong>"},Ut.em=function(ze){return"<em>"+ze+"</em>"},Ut.codespan=function(ze){return"<code>"+ze+"</code>"},Ut.br=function(){return this.options.xhtml?"<br/>":"<br>"},Ut.del=function(ze){return"<del>"+ze+"</del>"},Ut.link=function(ze,re,le){if(ze=dt(this.options.sanitize,this.options.baseUrl,ze),ze===null)return le;var Xe='<a href="'+wt(ze)+'"';return re&&(Xe+=' title="'+re+'"'),Xe+=">"+le+"</a>",Xe},Ut.image=function(ze,re,le){if(ze=dt(this.options.sanitize,this.options.baseUrl,ze),ze===null)return le;var Xe='<img src="'+ze+'" alt="'+le+'"';return re&&(Xe+=' title="'+re+'"'),Xe+=this.options.xhtml?"/>":">",Xe},Ut.text=function(ze){return ze},xt}(),mt=function(){function xt(){}var Ut=xt.prototype;return Ut.strong=function(ze){return ze},Ut.em=function(ze){return ze},Ut.codespan=function(ze){return ze},Ut.del=function(ze){return ze},Ut.html=function(ze){return ze},Ut.text=function(ze){return ze},Ut.link=function(ze,re,le){return""+le},Ut.image=function(ze,re,le){return""+le},Ut.br=function(){return""},xt}(),Ue=function(){function xt(){this.seen={}}var Ut=xt.prototype;return Ut.slug=function(ze){var re=ze.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(re)){var le=re;do this.seen[le]++,re=le+"-"+this.seen[le];while(this.seen.hasOwnProperty(re))}return this.seen[re]=0,re},xt}(),Re=f.defaults,Le=K.unescape,at=function(){function xt(Ze){this.options=Ze||Re,this.options.renderer=this.options.renderer||new Ye,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new mt,this.slugger=new Ue}xt.parse=function(ze,re){var le=new xt(re);return le.parse(ze)};var Ut=xt.prototype;return Ut.parse=function(ze,re){re===void 0&&(re=!0);var le="",Xe,_e,je,ar,zt,Pt,qt,or,Kt,Mt,me,ce,ae,de,Se,Ce,Ie,Te,Ee=ze.length;for(Xe=0;Xe<Ee;Xe++){Mt=ze[Xe];switch(Mt.type){case"space":continue;case"hr":{le+=this.renderer.hr();continue}case"heading":{le+=this.renderer.heading(this.parseInline(Mt.tokens),Mt.depth,Le(this.parseInline(Mt.tokens,this.textRenderer)),this.slugger);continue}case"code":{le+=this.renderer.code(Mt.text,Mt.lang,Mt.escaped);continue}case"table":{for(or="",qt="",ar=Mt.header.length,_e=0;_e<ar;_e++)qt+=this.renderer.tablecell(this.parseInline(Mt.tokens.header[_e]),{header:!0,align:Mt.align[_e]});for(or+=this.renderer.tablerow(qt),Kt="",ar=Mt.cells.length,_e=0;_e<ar;_e++){for(Pt=Mt.tokens.cells[_e],qt="",zt=Pt.length,je=0;je<zt;je++)qt+=this.renderer.tablecell(this.parseInline(Pt[je]),{header:!1,align:Mt.align[je]});Kt+=this.renderer.tablerow(qt)}le+=this.renderer.table(or,Kt);continue}case"blockquote":{Kt=this.parse(Mt.tokens),le+=this.renderer.blockquote(Kt);continue}case"list":{for(me=Mt.ordered,ce=Mt.start,ae=Mt.loose,ar=Mt.items.length,Kt="",_e=0;_e<ar;_e++)Se=Mt.items[_e],Ce=Se.checked,Ie=Se.task,de="",Se.task&&(Te=this.renderer.checkbox(Ce),ae?Se.tokens.length>0&&Se.tokens[0].type==="text"?(Se.tokens[0].text=Te+" "+Se.tokens[0].text,Se.tokens[0].tokens&&Se.tokens[0].tokens.length>0&&Se.tokens[0].tokens[0].type==="text"&&(Se.tokens[0].tokens[0].text=Te+" "+Se.tokens[0].tokens[0].text)):Se.tokens.unshift({type:"text",text:Te}):de+=Te),de+=this.parse(Se.tokens,ae),Kt+=this.renderer.listitem(de,Ie,Ce);le+=this.renderer.list(Kt,me,ce);continue}case"html":{le+=this.renderer.html(Mt.text);continue}case"paragraph":{le+=this.renderer.paragraph(this.parseInline(Mt.tokens));continue}case"text":{for(Kt=Mt.tokens?this.parseInline(Mt.tokens):Mt.text;Xe+1<Ee&&ze[Xe+1].type==="text";)Mt=ze[++Xe],Kt+=`
|
||
`+(Mt.tokens?this.parseInline(Mt.tokens):Mt.text);le+=re?this.renderer.paragraph(Kt):Kt;continue}default:{var He='Token with "'+Mt.type+'" type was not found.';if(this.options.silent){console.error(He);return}else throw new Error(He)}}}return le},Ut.parseInline=function(ze,re){re=re||this.renderer;var le="",Xe,_e,je=ze.length;for(Xe=0;Xe<je;Xe++){_e=ze[Xe];switch(_e.type){case"escape":{le+=re.text(_e.text);break}case"html":{le+=re.html(_e.text);break}case"link":{le+=re.link(_e.href,_e.title,this.parseInline(_e.tokens,re));break}case"image":{le+=re.image(_e.href,_e.title,_e.text);break}case"strong":{le+=re.strong(this.parseInline(_e.tokens,re));break}case"em":{le+=re.em(this.parseInline(_e.tokens,re));break}case"codespan":{le+=re.codespan(_e.text);break}case"br":{le+=re.br();break}case"del":{le+=re.del(this.parseInline(_e.tokens,re));break}case"text":{le+=re.text(_e.text);break}default:{var ar='Token with "'+_e.type+'" type was not found.';if(this.options.silent){console.error(ar);return}else throw new Error(ar)}}}return le},xt}(),Ot=K.merge,Tt=K.checkSanitizeDeprecation,Ft=K.escape,ke=f.getDefaults,Vt=f.changeDefaults,bt=f.defaults;function Rt(xt,Ut,Ze){if(typeof xt=="undefined"||xt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof xt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(xt)+", string expected");if(typeof Ut=="function"&&(Ze=Ut,Ut=null),Ut=Ot({},Rt.defaults,Ut||{}),Tt(Ut),Ze){var ze=Ut.highlight,re;try{re=qe.lex(xt,Ut)}catch(je){return Ze(je)}var le=function(ar){var zt;if(!ar)try{zt=at.parse(re,Ut)}catch(Pt){ar=Pt}return Ut.highlight=ze,ar?Ze(ar):Ze(null,zt)};if(!ze||ze.length<3)return le();if(delete Ut.highlight,!re.length)return le();var Xe=0;Rt.walkTokens(re,function(je){je.type==="code"&&(Xe++,setTimeout(function(){ze(je.text,je.lang,function(ar,zt){if(ar)return le(ar);zt!=null&&zt!==je.text&&(je.text=zt,je.escaped=!0),Xe--,Xe===0&&le()})},0))}),Xe===0&&le();return}try{var _e=qe.lex(xt,Ut);return Ut.walkTokens&&Rt.walkTokens(_e,Ut.walkTokens),at.parse(_e,Ut)}catch(je){if(je.message+=`
|
||
Please report this to https://github.com/markedjs/marked.`,Ut.silent)return"<p>An error occurred:</p><pre>"+Ft(je.message+"",!0)+"</pre>";throw je}}Rt.options=Rt.setOptions=function(xt){return Ot(Rt.defaults,xt),Vt(Rt.defaults),Rt},Rt.getDefaults=ke,Rt.defaults=bt,Rt.use=function(xt){var Ut=Ot({},xt);if(xt.renderer&&function(){var ze=Rt.defaults.renderer||new Ye,re=function(_e){var je=ze[_e];ze[_e]=function(){for(var ar=arguments.length,zt=new Array(ar),Pt=0;Pt<ar;Pt++)zt[Pt]=arguments[Pt];var qt=xt.renderer[_e].apply(ze,zt);return qt===!1&&(qt=je.apply(ze,zt)),qt}};for(var le in xt.renderer)re(le);Ut.renderer=ze}(),xt.tokenizer&&function(){var ze=Rt.defaults.tokenizer||new he,re=function(_e){var je=ze[_e];ze[_e]=function(){for(var ar=arguments.length,zt=new Array(ar),Pt=0;Pt<ar;Pt++)zt[Pt]=arguments[Pt];var qt=xt.tokenizer[_e].apply(ze,zt);return qt===!1&&(qt=je.apply(ze,zt)),qt}};for(var le in xt.tokenizer)re(le);Ut.tokenizer=ze}(),xt.walkTokens){var Ze=Rt.defaults.walkTokens;Ut.walkTokens=function(ze){xt.walkTokens(ze),Ze&&Ze(ze)}}Rt.setOptions(Ut)},Rt.walkTokens=function(xt,Ut){for(var Ze=y(xt),ze;!(ze=Ze()).done;){var re=ze.value;Ut(re);switch(re.type){case"table":{for(var le=y(re.tokens.header),Xe;!(Xe=le()).done;){var _e=Xe.value;Rt.walkTokens(_e,Ut)}for(var je=y(re.tokens.cells),ar;!(ar=je()).done;)for(var zt=ar.value,Pt=y(zt),qt;!(qt=Pt()).done;){var or=qt.value;Rt.walkTokens(or,Ut)}break}case"list":{Rt.walkTokens(re.items,Ut);break}default:re.tokens&&Rt.walkTokens(re.tokens,Ut)}}},Rt.Parser=at,Rt.parser=at.parse,Rt.Renderer=Ye,Rt.TextRenderer=mt,Rt.Lexer=qe,Rt.lexer=qe.lex,Rt.Tokenizer=he,Rt.Slugger=Ue,Rt.parse=Rt;var Nt=Rt;return Nt})},tcMs:function(Z,_,e){var d=e("p5w1"),L=e("wooT"),v=e("a+hL");function m(y){return d(y,v,L)}Z.exports=m},teHm:function(Z,_,e){var d=e("QV7q"),L=d.makeInner;function v(){var m=L();return function(y){var w=m(y),f=y.pipelineContext,a=w.large,t=w.progressiveRender,o=w.large=f&&f.large,s=w.progressiveRender=f&&f.progressiveRender;return!!(a^o||t^s)&&"reset"}}Z.exports=v},temQ:function(Z,_,e){var d=e("OCYe"),L=e("oEo5"),v=L.isFunction,m={createOnAllSeries:!0,performRawSeries:!0,reset:function(y,w){var f=y.getData(),a=(y.visualColorAccessPath||"itemStyle.color").split("."),t=y.get(a),o=v(t)&&!(t instanceof d)?t:null;(!t||o)&&(t=y.getColorFromPalette(y.name,null,w.getSeriesCount())),f.setVisual("color",t);var s=(y.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),l=y.get(s);if(f.setVisual("borderColor",l),!w.isSeriesFiltered(y)){o&&f.each(function(c){f.setItemVisual(c,"color",o(y.getDataParams(c)))});var n=function(c,r){var u=c.getItemModel(r),i=u.get(a,!0),h=u.get(s,!0);i!=null&&c.setItemVisual(r,"color",i),h!=null&&c.setItemVisual(r,"borderColor",h)};return{dataEach:f.hasItemOption?n:null}}}};Z.exports=m},tfhU:function(Z,_,e){},tfuW:function(Z,_,e){var d=e("Q6Bq");e("Tca1"),e("8sx9"),e("RM5q"),e("TzWj");var L=e("cS7d"),v=e("sIxb"),m=e("K4SB"),y=e("Q8HS"),w=e("Ukc0");d.registerLayout(L),d.registerVisual(v),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,m),d.registerPreprocessor(y),w("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},tsx3:function(Z,_){var e={average:function(v){for(var m=0,y=0,w=0;w<v.length;w++)isNaN(v[w])||(m+=v[w],y++);return y===0?NaN:m/y},sum:function(v){for(var m=0,y=0;y<v.length;y++)m+=v[y]||0;return m},max:function(v){for(var m=-Infinity,y=0;y<v.length;y++)v[y]>m&&(m=v[y]);return isFinite(m)?m:NaN},min:function(v){for(var m=Infinity,y=0;y<v.length;y++)v[y]<m&&(m=v[y]);return isFinite(m)?m:NaN},nearest:function(v){return v[0]}},d=function(v,m){return Math.round(v.length/2)};function L(v){return{seriesType:v,modifyOutputEnd:!0,reset:function(m,y,w){var f=m.getData(),a=m.get("sampling"),t=m.coordinateSystem;if(t.type==="cartesian2d"&&a){var o=t.getBaseAxis(),s=t.getOtherAxis(o),l=o.getExtent(),n=Math.abs(l[1]-l[0]),c=Math.round(f.count()/n);if(c>1){var r;typeof a=="string"?r=e[a]:typeof a=="function"&&(r=a),r&&m.setData(f.downSample(f.mapDimension(s.dim),1/c,r,d))}}}}}Z.exports=L},tuRO:function(Z,_,e){var d=e("HJxf"),L=e("921W"),v=e("nBjS"),m=v&&v.isTypedArray,y=m?L(m):d;Z.exports=y},twZV:function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("ZZRV"),w=e("uC5z"),f=e("iczh"),a=e.n(f),t=e("LpVx"),o=y.createContext(null),s=o.Provider,l=o,n=e("ofoi"),c=e.n(n);function r(B,z){typeof B=="function"?B(z):c()(B)==="object"&&B&&"current"in B&&(B.current=z)}function u(){for(var B=arguments.length,z=new Array(B),U=0;U<B;U++)z[U]=arguments[U];return function(K){z.forEach(function(W){r(W,K)})}}var i=e("b5WB"),h=function(B,z){var U={};for(var K in B)Object.prototype.hasOwnProperty.call(B,K)&&z.indexOf(K)<0&&(U[K]=B[K]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,K=Object.getOwnPropertySymbols(B);W<K.length;W++)z.indexOf(K[W])<0&&Object.prototype.propertyIsEnumerable.call(B,K[W])&&(U[K[W]]=B[K[W]]);return U},p=function(z,U){var K,W=y.useContext(l),H=y.useContext(t.b),Y=H.getPrefixCls,Q=H.direction,P=y.useRef(),G=u(U,P);y.useEffect(function(){Object(i.a)(!("optionType"in z),"Radio","`optionType` is only support in Radio.Group.")},[]);var J=function(Pe){z.onChange&&z.onChange(Pe),(W==null?void 0:W.onChange)&&W.onChange(Pe)},he=z.prefixCls,te=z.className,pe=z.children,we=z.style,be=h(z,["prefixCls","className","children","style"]),Qe=Y("radio",he),$e=m()({},be);W&&($e.name=W.name,$e.onChange=J,$e.checked=z.value===W.value,$e.disabled=z.disabled||W.disabled);var yt=a()(te,(K={},L()(K,"".concat(Qe,"-wrapper"),!0),L()(K,"".concat(Qe,"-wrapper-checked"),$e.checked),L()(K,"".concat(Qe,"-wrapper-disabled"),$e.disabled),L()(K,"".concat(Qe,"-wrapper-rtl"),Q==="rtl"),K));return y.createElement("label",{className:yt,style:we,onMouseEnter:z.onMouseEnter,onMouseLeave:z.onMouseLeave},y.createElement(w.a,m()({},$e,{prefixCls:Qe,ref:G})),pe!==void 0?y.createElement("span",null,pe):null)},A=y.forwardRef(p);A.displayName="Radio",A.defaultProps={type:"radio"};var C=A,S=e("LlUK"),E=e.n(S),O=e("O9LN"),T=e("WHP3"),b=function(z){var U=y.useContext(t.b),K=U.getPrefixCls,W=U.direction,H=y.useContext(T.b),Y=Object(O.a)(z.defaultValue,{value:z.value}),Q=E()(Y,2),P=Q[0],G=Q[1],J=function(pe){var we=P,be=pe.target.value;"value"in z||G(be);var Qe=z.onChange;Qe&&be!==we&&Qe(pe)},he=function(){var pe,we=z.prefixCls,be=z.className,Qe=be===void 0?"":be,$e=z.options,yt=z.optionType,Fe=z.buttonStyle,Pe=z.disabled,gt=z.children,it=z.size,qe=z.style,At=z.id,dt=z.onMouseEnter,wt=z.onMouseLeave,Ye=K("radio",we),mt="".concat(Ye,"-group"),Ue=gt;if($e&&$e.length>0){var Re=yt==="button"?"".concat(Ye,"-button"):Ye;Ue=$e.map(function(Ot){return typeof Ot=="string"?y.createElement(C,{key:Ot,prefixCls:Re,disabled:Pe,value:Ot,checked:P===Ot},Ot):y.createElement(C,{key:"radio-group-value-options-".concat(Ot.value),prefixCls:Re,disabled:Ot.disabled||Pe,value:Ot.value,checked:P===Ot.value,style:Ot.style},Ot.label)})}var Le=it||H,at=a()(mt,"".concat(mt,"-").concat(Fe),(pe={},L()(pe,"".concat(mt,"-").concat(Le),Le),L()(pe,"".concat(mt,"-rtl"),W==="rtl"),pe),Qe);return y.createElement("div",{className:at,style:qe,onMouseEnter:dt,onMouseLeave:wt,id:At},Ue)};return y.createElement(s,{value:{onChange:J,value:P,disabled:z.disabled,name:z.name}},he())};b.defaultProps={buttonStyle:"outline"};var x=y.memo(b),N=function(B,z){var U={};for(var K in B)Object.prototype.hasOwnProperty.call(B,K)&&z.indexOf(K)<0&&(U[K]=B[K]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,K=Object.getOwnPropertySymbols(B);W<K.length;W++)z.indexOf(K[W])<0&&Object.prototype.propertyIsEnumerable.call(B,K[W])&&(U[K[W]]=B[K[W]]);return U},D=function(z,U){var K=y.useContext(l),W=y.useContext(t.b),H=W.getPrefixCls,Y=z.prefixCls,Q=N(z,["prefixCls"]),P=H("radio-button",Y);return K&&(Q.checked=z.value===K.value,Q.disabled=z.disabled||K.disabled),y.createElement(C,m()({prefixCls:P},Q,{type:"radio",ref:U}))},M=y.forwardRef(D),R=C;R.Button=M,R.Group=x;var F=_.a=R},u3hi:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("Zjji")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="EyeInvisibleOutlined";var f=v.forwardRef(w);_.default=f},u5Eq:function(Z,_,e){var d=e("hbMb"),L=e("trXQ"),v=d(L,"Map");Z.exports=v},u5fj:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("8hNK"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},uC5z:function(Z,_,e){"use strict";var d=e("1gHQ"),L=e("buSX"),v=e("zjzt"),m=e("FGJx"),y=e("o0AO"),w=e("uwZC"),f=e("MRRG"),a=e("GY0J"),t=e("ZZRV"),o=e.n(t),s=e("iczh"),l=e.n(s);function n(h,p){var A=Object.keys(h);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(h);p&&(C=C.filter(function(S){return Object.getOwnPropertyDescriptor(h,S).enumerable})),A.push.apply(A,C)}return A}function c(h){for(var p=1;p<arguments.length;p++){var A=arguments[p]!=null?arguments[p]:{};p%2?n(Object(A),!0).forEach(function(C){Object(v.a)(h,C,A[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(A)):n(Object(A)).forEach(function(C){Object.defineProperty(h,C,Object.getOwnPropertyDescriptor(A,C))})}return h}function r(h){var p=u();return function(){var C=Object(a.a)(h),S;if(p){var E=Object(a.a)(this).constructor;S=Reflect.construct(C,arguments,E)}else S=C.apply(this,arguments);return Object(f.a)(this,S)}}function u(){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(h){return!1}}var i=function(h){Object(w.a)(A,h);var p=r(A);function A(C){var S;Object(m.a)(this,A),S=p.call(this,C),S.handleChange=function(O){var T=S.props,b=T.disabled,x=T.onChange;if(b)return;"checked"in S.props||S.setState({checked:O.target.checked}),x&&x({target:c(c({},S.props),{},{checked:O.target.checked}),stopPropagation:function(){O.stopPropagation()},preventDefault:function(){O.preventDefault()},nativeEvent:O.nativeEvent})},S.saveInput=function(O){S.input=O};var E="checked"in C?C.checked:C.defaultChecked;return S.state={checked:E},S}return Object(y.a)(A,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var S,E=this.props,O=E.prefixCls,T=E.className,b=E.style,x=E.name,N=E.id,D=E.type,M=E.disabled,R=E.readOnly,F=E.tabIndex,B=E.onClick,z=E.onFocus,U=E.onBlur,K=E.autoFocus,W=E.value,H=E.required,Y=Object(L.a)(E,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value","required"]),Q=Object.keys(Y).reduce(function(J,he){return(he.substr(0,5)==="aria-"||he.substr(0,5)==="data-"||he==="role")&&(J[he]=Y[he]),J},{}),P=this.state.checked,G=l()(O,T,(S={},Object(v.a)(S,"".concat(O,"-checked"),P),Object(v.a)(S,"".concat(O,"-disabled"),M),S));return o.a.createElement("span",{className:G,style:b},o.a.createElement("input",Object(d.a)({name:x,id:N,type:D,required:H,readOnly:R,disabled:M,tabIndex:F,className:"".concat(O,"-input"),checked:!!P,onClick:B,onFocus:z,onBlur:U,onChange:this.handleChange,autoFocus:K,ref:this.saveInput,value:W},Q)),o.a.createElement("span",{className:"".concat(O,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(S,E){return"checked"in S?c(c({},E),{},{checked:S.checked}):null}}]),A}(t.Component);i.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},_.a=i},uCTv:function(Z,_,e){e("kJIg"),e("CXdb"),e("8/vB"),e("YiIN"),e("3fbH"),e("Wqo7"),e("XqH9")},uCVf:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("0gFT"),m=e("QV7q"),y=m.defaultEmphasis,w=e("kAFf"),f=w.makeSeriesEncodeForNameBased,a=e("p1Ch"),t=d.extendSeriesModel({type:"series.funnel",init:function(s){t.superApply(this,"init",arguments),this.legendVisualProvider=new a(L.bind(this.getData,this),L.bind(this.getRawData,this)),this._defaultLabelLine(s)},getInitialData:function(s,l){return v(this,{coordDimensions:["value"],encodeDefaulter:L.curry(f,this)})},_defaultLabelLine:function(s){y(s,"labelLine",["show"]);var l=s.labelLine,n=s.emphasis.labelLine;l.show=l.show&&s.label.show,n.show=n.show&&s.emphasis.label.show},getDataParams:function(s){var l=this.getData(),n=t.superCall(this,"getDataParams",s),c=l.mapDimension("value"),r=l.getSum(c);return n.percent=r?+(l.get(c,s)/r*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),o=t;Z.exports=o},uGYj:function(Z,_,e){var d=e("Q6Bq");e("vtWr"),e("eGHz"),e("v08p");var L=e("xPmE");d.registerVisual(L)},uLqt:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("AcPx"),m=e.n(v),y=e("MPZO"),w=e("bEBK"),f=e("9cas"),a=e("GrpF"),t=e("FHsC"),o=e("Mumi"),s=e("Rbwl"),l=e("CeOx")},"uV/z":function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="LeftOutlined";var w=_.a=d.forwardRef(y)},uWVo:function(Z,_,e){var d=e("qG1B"),L=e("OUY8"),v=e("NW8c");function m(y){return L(y)?v(y):d(y)}Z.exports=m},uYoA:function(Z,_,e){var d=e("MWS/"),L=d.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});Z.exports=L},uieq:function(Z,_,e){var d=e("zYjg"),L=e("LLn1"),v=L.createSymbol,m=e("o2YK"),y=4,w=d.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(o,s){var l=s.points,n=s.size,c=this.symbolProxy,r=c.shape,u=o.getContext?o.getContext():o,i=u&&n[0]<y;if(i)return;for(var h=0;h<l.length;){var p=l[h++],A=l[h++];if(isNaN(p)||isNaN(A))continue;if(this.softClipShape&&!this.softClipShape.contain(p,A))continue;r.x=p-n[0]/2,r.y=A-n[1]/2,r.width=n[0],r.height=n[1],c.buildPath(o,r,!0)}},afterBrush:function(o){var s=this.shape,l=s.points,n=s.size,c=n[0]<y;if(!c)return;this.setTransform(o);for(var r=0;r<l.length;){var u=l[r++],i=l[r++];if(isNaN(u)||isNaN(i))continue;if(this.softClipShape&&!this.softClipShape.contain(u,i))continue;o.fillRect(u-n[0]/2,i-n[1]/2,n[0],n[1])}this.restoreTransform(o)},findDataIndex:function(o,s){for(var l=this.shape,n=l.points,c=l.size,r=Math.max(c[0],4),u=Math.max(c[1],4),i=n.length/2-1;i>=0;i--){var h=i*2,p=n[h]-r/2,A=n[h+1]-u/2;if(o>=p&&s>=A&&o<=p+r&&s<=A+u)return i}return-1}});function f(){this.group=new d.Group}var a=f.prototype;a.isPersistent=function(){return!this._incremental},a.updateData=function(o,s){this.group.removeAll();var l=new w({rectHover:!0,cursor:"default"});l.setShape({points:o.getLayout("symbolPoints")}),this._setCommon(l,o,!1,s),this.group.add(l),this._incremental=null},a.updateLayout=function(o){if(this._incremental)return;var s=o.getLayout("symbolPoints");this.group.eachChild(function(l){if(l.startIndex!=null){var n=(l.endIndex-l.startIndex)*2,c=l.startIndex*4*2;s=new Float32Array(s.buffer,c,n)}l.setShape("points",s)})},a.incrementalPrepareUpdate=function(o){this.group.removeAll(),this._clearIncremental(),o.count()>2e6?(this._incremental||(this._incremental=new m({silent:!0})),this.group.add(this._incremental)):this._incremental=null},a.incrementalUpdate=function(o,s,l){var n;this._incremental?(n=new w,this._incremental.addDisplayable(n,!0)):(n=new w({rectHover:!0,cursor:"default",startIndex:o.start,endIndex:o.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:s.getLayout("symbolPoints")}),this._setCommon(n,s,!!this._incremental,l)},a._setCommon=function(o,s,l,n){var c=s.hostModel;n=n||{};var r=s.getVisual("symbolSize");o.setShape("size",r instanceof Array?r:[r,r]),o.softClipShape=n.clipShape||null,o.symbolProxy=v(s.getVisual("symbol"),0,0,0,0),o.setColor=o.symbolProxy.setColor;var u=o.shape.size[0]<y;o.useStyle(c.getModel("itemStyle").getItemStyle(u?["color","shadowBlur","shadowColor"]:["color"]));var i=s.getVisual("color");i&&o.setColor(i),l||(o.seriesIndex=c.seriesIndex,o.on("mousemove",function(h){o.dataIndex=null;var p=o.findDataIndex(h.offsetX,h.offsetY);p>=0&&(o.dataIndex=p+(o.startIndex||0))}))},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._clearIncremental=function(){var o=this._incremental;o&&o.clearDisplaybles()};var t=f;Z.exports=t},v08p:function(Z,_,e){var d=e("zYjg"),L=e("F62y"),v=.3,m=L.extend({type:"parallel",init:function(){this._dataGroup=new d.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(l,n,c,r){var u=this._dataGroup,i=l.getData(),h=this._data,p=l.coordinateSystem,A=p.dimensions,C=a(l);i.diff(h).add(S).update(E).remove(O).execute();function S(b){var x=f(i,u,b,A,p);t(x,i,b,C)}function E(b,x){var N=h.getItemGraphicEl(x),D=w(i,b,A,p);i.setItemGraphicEl(b,N);var M=r&&r.animation===!1?null:l;d.updateProps(N,{shape:{points:D}},M,b),t(N,i,b,C)}function O(b){var x=h.getItemGraphicEl(b);u.remove(x)}if(!this._initialized){this._initialized=!0;var T=y(p,l,function(){setTimeout(function(){u.removeClipPath()})});u.setClipPath(T)}this._data=i},incrementalPrepareRender:function(l,n,c){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(l,n,c){for(var r=n.getData(),u=n.coordinateSystem,i=u.dimensions,h=a(n),p=l.start;p<l.end;p++){var A=f(r,this._dataGroup,p,i,u);A.incremental=!0,t(A,r,p,h)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function y(l,n,c){var r=l.model,u=l.getRect(),i=new d.Rect({shape:{x:u.x,y:u.y,width:u.width,height:u.height}}),h=r.get("layout")==="horizontal"?"width":"height";return i.setShape(h,0),d.initProps(i,{shape:{width:u.width,height:u.height}},n,c),i}function w(l,n,c,r){for(var u=[],i=0;i<c.length;i++){var h=c[i],p=l.get(l.mapDimension(h),n);o(p,r.getAxis(h).type)||u.push(r.dataToPoint(p,h))}return u}function f(l,n,c,r,u){var i=w(l,c,r,u),h=new d.Polyline({shape:{points:i},silent:!0,z2:10});return n.add(h),l.setItemGraphicEl(c,h),h}function a(l){var n=l.get("smooth",!0);return n===!0&&(n=v),{lineStyle:l.getModel("lineStyle").getLineStyle(),smooth:n!=null?n:v}}function t(l,n,c,r){var u=r.lineStyle;if(n.hasItemOption){var i=n.getItemModel(c).getModel("lineStyle");u=i.getLineStyle()}l.useStyle(u);var h=l.style;h.fill=null,h.stroke=n.getItemVisual(c,"color"),h.opacity=n.getItemVisual(c,"opacity"),r.smooth&&(l.shape.smooth=r.smooth)}function o(l,n){return n==="category"?l==null:l==null||isNaN(l)}var s=m;Z.exports=s},v4o2:function(Z,_){function e(d,L){return d.has(L)}Z.exports=e},v8Av:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("Rvbe")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="StarFilled";var f=v.forwardRef(w);_.default=f},vIJk:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var d={icon:function(v,m){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:v}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:m}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:m}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:m}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:v}}]}},name:"picture",theme:"twotone"};_.default=d},vNgM:function(Z,_,e){var d=e("oEo5"),L=e("Auwy"),v=e("zYjg"),m=e("LLn1"),y=m.createSymbol,w=e("SSBM"),f=e("Zec6"),a=L.extend({type:"visualMap.piecewise",doRender:function(){var o=this.group;o.removeAll();var s=this.visualMapModel,l=s.get("textGap"),n=s.textStyleModel,c=n.getFont(),r=n.getTextColor(),u=this._getItemAlign(),i=s.itemSize,h=this._getViewData(),p=h.endsText,A=d.retrieve(s.get("showLabel",!0),!p);p&&this._renderEndsText(o,p[0],i,A,u),d.each(h.viewPieceList,C,this),p&&this._renderEndsText(o,p[1],i,A,u),w.box(s.get("orient"),o,s.get("itemGap")),this.renderBackground(o),this.positionGroup(o);function C(S){var E=S.piece,O=new v.Group;O.onclick=d.bind(this._onItemClick,this,E),this._enableHoverLink(O,S.indexInModelPieceList);var T=s.getRepresentValue(E);if(this._createItemSymbol(O,T,[0,0,i[0],i[1]]),A){var b=this.visualMapModel.getValueState(T);O.add(new v.Text({style:{x:u==="right"?-l:i[0]+l,y:i[1]/2,text:E.text,textVerticalAlign:"middle",textAlign:u,textFont:c,textFill:r,opacity:b==="outOfRange"?.5:1}}))}o.add(O)}},_enableHoverLink:function(o,s){o.on("mouseover",d.bind(l,this,"highlight")).on("mouseout",d.bind(l,this,"downplay"));function l(n){var c=this.visualMapModel;c.option.hoverLink&&this.api.dispatchAction({type:n,batch:f.makeHighDownBatch(c.findTargetDataIndices(s),c)})}},_getItemAlign:function(){var o=this.visualMapModel,s=o.option;if(s.orient==="vertical")return f.getItemAlign(o,this.api,o.itemSize);var l=s.align;return(!l||l==="auto")&&(l="left"),l},_renderEndsText:function(o,s,l,n,c){if(!s)return;var r=new v.Group,u=this.visualMapModel.textStyleModel;r.add(new v.Text({style:{x:n?c==="right"?l[0]:0:l[0]/2,y:l[1]/2,textVerticalAlign:"middle",textAlign:n?c:"center",text:s,textFont:u.getFont(),textFill:u.getTextColor()}})),o.add(r)},_getViewData:function(){var o=this.visualMapModel,s=d.map(o.getPieceList(),function(r,u){return{piece:r,indexInModelPieceList:u}}),l=o.get("text"),n=o.get("orient"),c=o.get("inverse");return(n==="horizontal"?c:!c)?s.reverse():l&&(l=l.slice().reverse()),{viewPieceList:s,endsText:l}},_createItemSymbol:function(o,s,l){o.add(y(this.getControllerVisual(s,"symbol"),l[0],l[1],l[2],l[3],this.getControllerVisual(s,"color")))},_onItemClick:function(o){var s=this.visualMapModel,l=s.option,n=d.clone(l.selected),c=s.getSelectedMapKey(o);l.selectedMode==="single"?(n[c]=!0,d.each(n,function(r,u){n[u]=u===c})):n[c]=!n[c],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}}),t=a;Z.exports=t},vOhS:function(Z,_,e){var d=e("gPqb"),L=e("ie0D"),v=e("oEo5"),m=e("2DdH");function y(f){d.call(this,f)}y.prototype={constructor:y,type:"image",brush:function(a,t){var o=this.style,s=o.image;o.bind(a,this,t);var l=this._image=m.createOrUpdateImage(s,this._image,this,this.onload);if(!l||!m.isImageReady(l))return;var n=o.x||0,c=o.y||0,r=o.width,u=o.height,i=l.width/l.height;if(r==null&&u!=null?r=u*i:u==null&&r!=null?u=r/i:r==null&&u==null&&(r=l.width,u=l.height),this.setTransform(a),o.sWidth&&o.sHeight){var h=o.sx||0,p=o.sy||0;a.drawImage(l,h,p,o.sWidth,o.sHeight,n,c,r,u)}else if(o.sx&&o.sy){var h=o.sx,p=o.sy,A=r-h,C=u-p;a.drawImage(l,h,p,A,C,n,c,r,u)}else a.drawImage(l,n,c,r,u);o.text!=null&&(this.restoreTransform(a),this.drawRectText(a,this.getBoundingRect()))},getBoundingRect:function(){var a=this.style;return this._rect||(this._rect=new L(a.x||0,a.y||0,a.width||0,a.height||0)),this._rect}},v.inherits(y,d);var w=y;Z.exports=w},vXmO:function(Z,_,e){var d=e("Q6Bq"),L=e("5xMV");e("QRYH"),e("QHKB"),e("WPhg"),e("vNgM"),e("kZpV"),d.registerPreprocessor(L)},vZQr:function(Z,_,e){"use strict";var d=e("CKlD"),L=e.n(d),v=e("bOtj"),m=e.n(v),y=e("Eqs+"),w=e.n(y),f=e("LlUK"),a=e.n(f),t=e("ZZRV"),o=e.n(t),s=e("iczh"),l=e.n(s);function n(Kt,Mt){var me="cannot "+Kt.method+" "+Kt.action+" "+Mt.status+"'",ce=new Error(me);return ce.status=Mt.status,ce.method=Kt.method,ce.url=Kt.action,ce}function c(Kt){var Mt=Kt.responseText||Kt.response;if(!Mt)return Mt;try{return JSON.parse(Mt)}catch(me){return Mt}}function r(Kt){var Mt=new XMLHttpRequest;Kt.onProgress&&Mt.upload&&(Mt.upload.onprogress=function(de){de.total>0&&(de.percent=de.loaded/de.total*100),Kt.onProgress(de)});var me=new FormData;Kt.data&&Object.keys(Kt.data).forEach(function(ae){var de=Kt.data[ae];if(Array.isArray(de)){de.forEach(function(Se){me.append(ae+"[]",Se)});return}me.append(ae,Kt.data[ae])}),Kt.file instanceof Blob?me.append(Kt.filename,Kt.file,Kt.file.name):me.append(Kt.filename,Kt.file),Mt.onerror=function(de){Kt.onError(de)},Mt.onload=function(){return Mt.status<200||Mt.status>=300?Kt.onError(n(Kt,Mt),c(Mt)):Kt.onSuccess(c(Mt),Mt)},Mt.open(Kt.method,Kt.action,!0),Kt.withCredentials&&"withCredentials"in Mt&&(Mt.withCredentials=!0);var ce=Kt.headers||{};return ce["X-Requested-With"]!==null&&Mt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(ce).forEach(function(ae){ce[ae]!==null&&Mt.setRequestHeader(ae,ce[ae])}),Mt.send(me),{abort:function(){Mt.abort()}}}var u=+new Date,i=0;function h(){return"rc-upload-"+u+"-"+ ++i}function p(Kt,Mt){return Kt.indexOf(Mt,Kt.length-Mt.length)!==-1}var A=function(Kt,Mt){if(Kt&&Mt){var me=Array.isArray(Mt)?Mt:Mt.split(","),ce=Kt.name||"",ae=Kt.type||"",de=ae.replace(/\/.*$/,"");return me.some(function(Se){var Ce=Se.trim();return Ce.charAt(0)==="."?p(ce.toLowerCase(),Ce.toLowerCase()):/\/\*$/.test(Ce)?de===Ce.replace(/\/.*$/,""):ae===Ce})}return!0};function C(Kt,Mt){var me=Kt.createReader(),ce=[];function ae(){me.readEntries(function(de){var Se=Array.prototype.slice.apply(de);ce=ce.concat(Se);var Ce=!Se.length;Ce?Mt(ce):ae()})}ae()}var S=function(Mt,me,ce){var ae=function de(Se,Ce){Ce=Ce||"",Se.isFile?Se.file(function(Ie){ce(Ie)&&(Se.fullPath&&!Ie.webkitRelativePath&&(Object.defineProperties(Ie,{webkitRelativePath:{writable:!0}}),Ie.webkitRelativePath=Se.fullPath.replace(/^\//,""),Object.defineProperties(Ie,{webkitRelativePath:{writable:!1}})),me([Ie]))}):Se.isDirectory&&C(Se,function(Ie){Ie.forEach(function(Te){de(Te,""+Ce+Se.name+"/")})})};Mt.forEach(function(de){ae(de.webkitGetAsEntry())})},E=S,O=Object.assign||function(Kt){for(var Mt=1;Mt<arguments.length;Mt++){var me=arguments[Mt];for(var ce in me)Object.prototype.hasOwnProperty.call(me,ce)&&(Kt[ce]=me[ce])}return Kt},T=function(){function Kt(Mt,me){var ce=[],ae=!0,de=!1,Se=void 0;try{for(var Ce=Mt[Symbol.iterator](),Ie;!(ae=(Ie=Ce.next()).done)&&!(ce.push(Ie.value),me&&ce.length===me);ae=!0);}catch(Te){de=!0,Se=Te}finally{try{!ae&&Ce.return&&Ce.return()}finally{if(de)throw Se}}return ce}return function(Mt,me){if(Array.isArray(Mt))return Mt;if(Symbol.iterator in Object(Mt))return Kt(Mt,me);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),b=function(){function Kt(Mt,me){for(var ce=0;ce<me.length;ce++){var ae=me[ce];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(Mt,ae.key,ae)}}return function(Mt,me,ce){return me&&Kt(Mt.prototype,me),ce&&Kt(Mt,ce),Mt}}();function x(Kt,Mt,me){return Mt in Kt?Object.defineProperty(Kt,Mt,{value:me,enumerable:!0,configurable:!0,writable:!0}):Kt[Mt]=me,Kt}function N(Kt,Mt){var me={};for(var ce in Kt){if(Mt.indexOf(ce)>=0)continue;if(!Object.prototype.hasOwnProperty.call(Kt,ce))continue;me[ce]=Kt[ce]}return me}function D(Kt,Mt){if(!(Kt instanceof Mt))throw new TypeError("Cannot call a class as a function")}function M(Kt,Mt){if(!Kt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Mt&&(typeof Mt=="object"||typeof Mt=="function")?Mt:Kt}function R(Kt,Mt){if(typeof Mt!="function"&&Mt!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Mt);Kt.prototype=Object.create(Mt&&Mt.prototype,{constructor:{value:Kt,enumerable:!1,writable:!0,configurable:!0}}),Mt&&(Object.setPrototypeOf?Object.setPrototypeOf(Kt,Mt):Kt.__proto__=Mt)}var F=function(Mt){return Object.keys(Mt).reduce(function(me,ce){return(ce.substr(0,5)==="data-"||ce.substr(0,5)==="aria-"||ce==="role")&&(me[ce]=Mt[ce]),me},{})},B=function(Kt){R(Mt,Kt);function Mt(){var me,ce,ae,de;D(this,Mt);for(var Se=arguments.length,Ce=Array(Se),Ie=0;Ie<Se;Ie++)Ce[Ie]=arguments[Ie];return de=(ce=(ae=M(this,(me=Mt.__proto__||Object.getPrototypeOf(Mt)).call.apply(me,[this].concat(Ce))),ae),ae.state={uid:h()},ae.reqs={},ae.onChange=function(Te){var Ee=Te.target.files;ae.uploadFiles(Ee),ae.reset()},ae.onClick=function(Te){var Ee=ae.fileInput;if(!Ee)return;var He=ae.props,st=He.children,vt=He.onClick;st&&st.type==="button"&&(Ee.parentNode.focus(),Ee.parentNode.querySelector("button").blur()),Ee.click(),vt&&vt(Te)},ae.onKeyDown=function(Te){Te.key==="Enter"&&ae.onClick()},ae.onFileDrop=function(Te){var Ee=ae.props.multiple;if(Te.preventDefault(),Te.type==="dragover")return;if(ae.props.directory)E(Array.prototype.slice.call(Te.dataTransfer.items),ae.uploadFiles,function(st){return A(st,ae.props.accept)});else{var He=Array.prototype.slice.call(Te.dataTransfer.files).filter(function(st){return A(st,ae.props.accept)});Ee===!1&&(He=He.slice(0,1)),ae.uploadFiles(He)}},ae.uploadFiles=function(Te){var Ee=Array.prototype.slice.call(Te);Ee.map(function(He){return He.uid=h(),He}).forEach(function(He){ae.upload(He,Ee)})},ae.saveFileInput=function(Te){ae.fileInput=Te},ce),M(ae,de)}return b(Mt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(ce,ae){var de=this,Se=this.props;if(!Se.beforeUpload)return setTimeout(function(){return de.post(ce)},0);var Ce=Se.beforeUpload(ce,ae);Ce&&Ce.then?Ce.then(function(Ie){var Te=Object.prototype.toString.call(Ie);return Te==="[object File]"||Te==="[object Blob]"?de.post(Ie):de.post(ce)}).catch(function(Ie){console.log(Ie)}):Ce!==!1&&setTimeout(function(){return de.post(ce)},0);return}},{key:"post",value:function(ce){var ae=this;if(!this._isMounted)return;var de=this.props,Se=de.onStart,Ce=de.onProgress,Ie=de.transformFile,Te=Ie===void 0?function(Ee){return Ee}:Ie;new Promise(function(Ee){var He=de.action;return typeof He=="function"&&(He=He(ce)),Ee(He)}).then(function(Ee){var He=ce.uid,st=de.customRequest||r,vt=Promise.resolve(Te(ce)).then(function(ee){var oe=de.data;return typeof oe=="function"&&(oe=oe(ee)),Promise.all([ee,oe])}).catch(function(ee){console.error(ee)});vt.then(function(ee){var oe=T(ee,2),k=oe[0],$=oe[1],se={action:Ee,filename:de.name,data:$,file:k,headers:de.headers,withCredentials:de.withCredentials,method:de.method||"post",onProgress:Ce?function(ge){Ce(ge,ce)}:null,onSuccess:function(Ae,Me){delete ae.reqs[He],de.onSuccess(Ae,ce,Me)},onError:function(Ae,Me){delete ae.reqs[He],de.onError(Ae,Me,ce)}};Se(ce),ae.reqs[He]=st(se)})})}},{key:"reset",value:function(){this.setState({uid:h()})}},{key:"abort",value:function(ce){var ae=this.reqs;if(ce){var de=ce;ce&&ce.uid&&(de=ce.uid),ae[de]&&ae[de].abort&&ae[de].abort(),delete ae[de]}else Object.keys(ae).forEach(function(Se){ae[Se]&&ae[Se].abort&&ae[Se].abort(),delete ae[Se]})}},{key:"render",value:function(){var ce,ae=this.props,de=ae.component,Se=ae.prefixCls,Ce=ae.className,Ie=ae.disabled,Te=ae.id,Ee=ae.style,He=ae.multiple,st=ae.accept,vt=ae.children,ee=ae.directory,oe=ae.openFileDialogOnClick,k=ae.onMouseEnter,$=ae.onMouseLeave,se=N(ae,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),ge=l()((ce={},x(ce,Se,!0),x(ce,Se+"-disabled",Ie),x(ce,Ce,Ce),ce)),Ae=Ie?{}:{onClick:oe?this.onClick:function(){},onKeyDown:oe?this.onKeyDown:function(){},onMouseEnter:k,onMouseLeave:$,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return o.a.createElement(de,O({},Ae,{className:ge,role:"button",style:Ee}),o.a.createElement("input",O({},F(se),{id:Te,type:"file",ref:this.saveFileInput,onClick:function(et){return et.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:st,directory:ee?"directory":null,webkitdirectory:ee?"webkitdirectory":null,multiple:He,onChange:this.onChange})),vt)}}]),Mt}(t.Component),z=B,U=Object.assign||function(Kt){for(var Mt=1;Mt<arguments.length;Mt++){var me=arguments[Mt];for(var ce in me)Object.prototype.hasOwnProperty.call(me,ce)&&(Kt[ce]=me[ce])}return Kt},K=function(){function Kt(Mt,me){for(var ce=0;ce<me.length;ce++){var ae=me[ce];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(Mt,ae.key,ae)}}return function(Mt,me,ce){return me&&Kt(Mt.prototype,me),ce&&Kt(Mt,ce),Mt}}();function W(Kt,Mt){if(!(Kt instanceof Mt))throw new TypeError("Cannot call a class as a function")}function H(Kt,Mt){if(!Kt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Mt&&(typeof Mt=="object"||typeof Mt=="function")?Mt:Kt}function Y(Kt,Mt){if(typeof Mt!="function"&&Mt!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Mt);Kt.prototype=Object.create(Mt&&Mt.prototype,{constructor:{value:Kt,enumerable:!1,writable:!0,configurable:!0}}),Mt&&(Object.setPrototypeOf?Object.setPrototypeOf(Kt,Mt):Kt.__proto__=Mt)}function Q(){}var P=function(Kt){Y(Mt,Kt);function Mt(){var me,ce,ae,de;W(this,Mt);for(var Se=arguments.length,Ce=Array(Se),Ie=0;Ie<Se;Ie++)Ce[Ie]=arguments[Ie];return de=(ce=(ae=H(this,(me=Mt.__proto__||Object.getPrototypeOf(Mt)).call.apply(me,[this].concat(Ce))),ae),ae.saveUploader=function(Te){ae.uploader=Te},ce),H(ae,de)}return K(Mt,[{key:"abort",value:function(ce){this.uploader.abort(ce)}},{key:"render",value:function(){return o.a.createElement(z,U({},this.props,{ref:this.saveUploader}))}}]),Mt}(t.Component);P.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Q,onError:Q,onSuccess:Q,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var G=P,J=G,he=function(Kt,Mt){var me={};for(var ce in Kt)Object.prototype.hasOwnProperty.call(Kt,ce)&&Mt.indexOf(ce)<0&&(me[ce]=Kt[ce]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ce=Object.getOwnPropertySymbols(Kt);ae<ce.length;ae++)Mt.indexOf(ce[ae])<0&&Object.prototype.propertyIsEnumerable.call(Kt,ce[ae])&&(me[ce[ae]]=Kt[ce[ae]]);return me},te=function(Mt,me){var ce=Mt.style,ae=Mt.height,de=he(Mt,["style","height"]);return t.createElement(qt,w()({ref:me},de,{type:"drag",style:w()(w()({},ce),{height:ae})}))},pe=t.forwardRef(te);pe.displayName="Dragger";var we=pe,be=e("YL+r"),Qe=e("NXEf"),$e=e.n(Qe),yt=e("7zv7"),Fe=e.n(yt),Pe=e("rH6s"),gt=e.n(Pe),it=e("aSf7"),qe=e.n(it),At=e("Qlo8"),dt=e.n(At),wt=e("b1g+"),Ye=e.n(wt),mt=e("M7w3"),Ue=e.n(mt),Re=e("nSZG");function Le(){return!0}function at(Kt){return w()(w()({},Kt),{lastModified:Kt.lastModified,lastModifiedDate:Kt.lastModifiedDate,name:Kt.name,size:Kt.size,type:Kt.type,uid:Kt.uid,percent:0,originFileObj:Kt})}function Ot(Kt,Mt){var me=Kt.uid!==void 0?"uid":"name";return Mt.filter(function(ce){return ce[me]===Kt[me]})[0]}function Tt(Kt,Mt){var me=Kt.uid!==void 0?"uid":"name",ce=Mt.filter(function(ae){return ae[me]!==Kt[me]});return ce.length===Mt.length?null:ce}var Ft=function(){var Mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",me=Mt.split("/"),ce=me[me.length-1],ae=ce.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(ae)||[""])[0]},ke=function(Mt){return Mt.indexOf("image/")===0},Vt=function(Mt){if(Mt.type&&!Mt.thumbUrl)return ke(Mt.type);var me=Mt.thumbUrl||Mt.url,ce=Ft(me);return/^data:image\//.test(me)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(ce)?!0:/^data:/.test(me)?!1:!ce},bt=200;function Rt(Kt){return new Promise(function(Mt){if(!Kt.type||!ke(Kt.type)){Mt("");return}var me=document.createElement("canvas");me.width=bt,me.height=bt,me.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(bt,"px; height: ").concat(bt,"px; z-index: 9999; display: none;"),document.body.appendChild(me);var ce=me.getContext("2d"),ae=new Image;ae.onload=function(){var de=ae.width,Se=ae.height,Ce=bt,Ie=bt,Te=0,Ee=0;de<Se?(Ie=Se*(bt/de),Ee=-(Ie-Ce)/2):(Ce=de*(bt/Se),Te=-(Ce-Ie)/2),ce.drawImage(ae,Te,Ee,Ce,Ie);var He=me.toDataURL();document.body.removeChild(me),Mt(He)},ae.src=window.URL.createObjectURL(Kt)})}var Nt=e("NiCL"),xt=e("L7QV"),Ut=e("LpVx"),Ze=e("bnk9"),ze=e("Z1Ah"),re=function(Mt,me){var ce,ae=Mt.listType,de=Mt.previewFile,Se=Mt.onPreview,Ce=Mt.onDownload,Ie=Mt.onRemove,Te=Mt.locale,Ee=Mt.iconRender,He=Mt.isImageUrl,st=Mt.prefixCls,vt=Mt.items,ee=vt===void 0?[]:vt,oe=Mt.showPreviewIcon,k=Mt.showRemoveIcon,$=Mt.showDownloadIcon,se=Mt.removeIcon,ge=Mt.downloadIcon,Ae=Mt.progress,Me=Mt.appendAction,et=Object(ze.a)();t.useEffect(function(){if(ae!=="picture"&&ae!=="picture-card")return;(ee||[]).forEach(function(ht){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ht.originFileObj instanceof File||ht.originFileObj instanceof Blob)||ht.thumbUrl!==void 0)return;ht.thumbUrl="",de&&de(ht.originFileObj).then(function(ut){ht.thumbUrl=ut||"",et()})})},[ae,ee,de]);var Wt=function(ut,We){return Se?(We.preventDefault(),Se(ut)):void 0},er=function(ut){typeof Ce=="function"?Ce(ut):ut.url&&window.open(ut.url)},Ct=function(ut){Ie&&Ie(ut)},Ht=function(ut){if(Ee)return Ee(ut,ae);var We=ut.status==="uploading",tt=He&&He(ut)?t.createElement(gt.a,null):t.createElement(qe.a,null),ft=We?t.createElement($e.a,null):t.createElement(Fe.a,null);return ae==="picture"?ft=We?t.createElement($e.a,null):tt:ae==="picture-card"&&(ft=We?Te.uploading:tt),ft},kt=function(ut,We,tt,ft){var Yt={type:"text",size:"small",title:ft,onClick:function(yr){We(),Object(Re.b)(ut)&&ut.props.onClick&&ut.props.onClick(yr)},className:"".concat(tt,"-list-item-card-actions-btn")};if(Object(Re.b)(ut)){var Dt=Object(Re.a)(ut,w()(w()({},ut.props),{onClick:function(){}}));return t.createElement(Ze.a,w()({},Yt,{icon:Dt}))}return t.createElement(Ze.a,Yt,t.createElement("span",null,ut))};t.useImperativeHandle(me,function(){return{handlePreview:Wt,handleDownload:er}});var Zt=t.useContext(Ut.b),Et=Zt.getPrefixCls,ur=Zt.direction,rr=Et("upload",st),Ke=ee.map(function(ht){var ut,We,tt,ft=Ht(ht),Yt=t.createElement("div",{className:"".concat(rr,"-text-icon")},ft);if(ae==="picture"||ae==="picture-card")if(ht.status==="uploading"||!ht.thumbUrl&&!ht.url){var Dt,vr=l()((Dt={},L()(Dt,"".concat(rr,"-list-item-thumbnail"),!0),L()(Dt,"".concat(rr,"-list-item-file"),ht.status!=="uploading"),Dt));Yt=t.createElement("div",{className:vr},ft)}else{var yr,Dr=He&&He(ht)?t.createElement("img",{src:ht.thumbUrl||ht.url,alt:ht.name,className:"".concat(rr,"-list-item-image")}):ft,Rr=l()((yr={},L()(yr,"".concat(rr,"-list-item-thumbnail"),!0),L()(yr,"".concat(rr,"-list-item-file"),He&&!He(ht)),yr));Yt=t.createElement("a",{className:Rr,onClick:function(On){return Wt(ht,On)},href:ht.url||ht.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Dr)}if(ht.status==="uploading"){var Jr="percent"in ht?t.createElement(xt.a,w()({},Ae,{type:"line",percent:ht.percent})):null;tt=t.createElement("div",{className:"".concat(rr,"-list-item-progress"),key:"progress"},Jr)}var $r=l()((ut={},L()(ut,"".concat(rr,"-list-item"),!0),L()(ut,"".concat(rr,"-list-item-").concat(ht.status),!0),L()(ut,"".concat(rr,"-list-item-list-type-").concat(ae),!0),ut)),xr=typeof ht.linkProps=="string"?JSON.parse(ht.linkProps):ht.linkProps,Vr=k?kt(se||t.createElement(Ye.a,null),function(){return Ct(ht)},rr,Te.removeFile):null,Or=$&&ht.status==="done"?kt(ge||t.createElement(Ue.a,null),function(){return er(ht)},rr,Te.downloadFile):null,nr=ae!=="picture-card"&&t.createElement("span",{key:"download-delete",className:"".concat(rr,"-list-item-card-actions ").concat(ae==="picture"?"picture":"")},Or,Vr),pr=l()((We={},L()(We,"".concat(rr,"-list-item-name"),!0),L()(We,"".concat(rr,"-list-item-name-icon-count-").concat([Or,Vr].filter(function(pn){return pn}).length),!0),We)),dr=ht.url?[t.createElement("a",w()({key:"view",target:"_blank",rel:"noopener noreferrer",className:pr,title:ht.name},xr,{href:ht.url,onClick:function(On){return Wt(ht,On)}}),ht.name),nr]:[t.createElement("span",{key:"view",className:pr,onClick:function(On){return Wt(ht,On)},title:ht.name},ht.name),nr],fr={pointerEvents:"none",opacity:.5},_r=oe?t.createElement("a",{href:ht.url||ht.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:ht.url||ht.thumbUrl?void 0:fr,onClick:function(On){return Wt(ht,On)},title:Te.previewFile},t.createElement(dt.a,null)):null,Zr=ae==="picture-card"&&ht.status!=="uploading"&&t.createElement("span",{className:"".concat(rr,"-list-item-actions")},_r,ht.status==="done"&&Or,Vr),on;ht.response&&typeof ht.response=="string"?on=ht.response:on=ht.error&&ht.error.statusText||Te.uploadError;var jn=t.createElement("span",null,Yt,dr),Ur=t.createElement("div",{className:$r},t.createElement("div",{className:"".concat(rr,"-list-item-info")},jn),Zr,t.createElement(be.a,{transitionName:"fade",component:""},tt)),En=l()(L()({},"".concat(rr,"-list-picture-card-container"),ae==="picture-card"));return t.createElement("div",{key:ht.uid,className:En},ht.status==="error"?t.createElement(Nt.a,{title:on,getPopupContainer:function(On){return On.parentNode}},Ur):t.createElement("span",null,Ur))}),nt=l()((ce={},L()(ce,"".concat(rr,"-list"),!0),L()(ce,"".concat(rr,"-list-").concat(ae),!0),L()(ce,"".concat(rr,"-list-rtl"),ur==="rtl"),ce)),Ge=ae==="picture-card"?"animate-inline":"animate",ct=Ke.length===0?"":"".concat(rr,"-").concat(Ge);return t.createElement(be.a,{transitionName:ct,component:"div",className:nt},Ke,t.isValidElement(Me)?t.cloneElement(Me,{key:"appendAction"}):Me)},le=t.forwardRef(re);le.displayName="UploadList",le.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:Rt,isImageUrl:Vt};var Xe=le,_e=e("CfwS"),je=e("DxYC"),ar=e("b5WB"),zt=function(Mt,me){var ce,ae=Mt.fileList,de=Mt.defaultFileList,Se=Mt.onRemove,Ce=Mt.showUploadList,Ie=Mt.listType,Te=Mt.onPreview,Ee=Mt.onDownload,He=Mt.previewFile,st=Mt.disabled,vt=Mt.locale,ee=Mt.iconRender,oe=Mt.isImageUrl,k=Mt.progress,$=Mt.prefixCls,se=Mt.className,ge=Mt.type,Ae=Mt.children,Me=Mt.style,et=t.useState("drop"),Wt=a()(et,2),er=Wt[0],Ct=Wt[1],Ht=Object(ze.a)(),kt=t.useRef(ae||de||[]),Zt=ae||kt.current,Et=t.useRef();t.useEffect(function(){Object(ar.a)("fileList"in Mt||!("value"in Mt),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),t.useEffect(function(){ae!==void 0&&ae!==kt.current&&(kt.current=ae,Ht())},[ae]);var ur=function(xr){kt.current=xr.fileList,Ht();var Vr=Mt.onChange;Vr&&Vr(w()(w()({},xr),{fileList:m()(xr.fileList)}))},rr=function(xr){var Vr=at(xr);Vr.status="uploading";var Or=kt.current.concat(),nr=Or.findIndex(function(pr){var dr=pr.uid;return dr===Vr.uid});nr===-1?Or.push(Vr):Or[nr]=Vr,ur({file:Vr,fileList:Or})},Ke=function(xr,Vr,Or){try{typeof xr=="string"&&(xr=JSON.parse(xr))}catch(pr){}var nr=Ot(Vr,kt.current);if(!nr)return;nr.status="done",nr.response=xr,nr.xhr=Or,ur({file:w()({},nr),fileList:kt.current.concat()})},nt=function(xr,Vr){var Or=Ot(Vr,kt.current);if(!Or)return;Or.percent=xr.percent,ur({event:xr,file:w()({},Or),fileList:kt.current.concat()})},Ge=function(xr,Vr,Or){var nr=Ot(Or,kt.current);if(!nr)return;nr.error=xr,nr.response=Vr,nr.status="error",ur({file:w()({},nr),fileList:kt.current.concat()})},ct=function(xr){Promise.resolve(typeof Se=="function"?Se(xr):Se).then(function(Vr){if(Vr===!1)return;var Or=Tt(xr,kt.current);Or&&(xr.status="removed",Et.current&&Et.current.abort(xr),ur({file:xr,fileList:Or}))})},ht=function(xr){Ct(xr.type)},ut=function(xr,Vr){var Or=Mt.beforeUpload;if(!Or)return!0;var nr=Or(xr,Vr);if(nr===!1){var pr=[];return kt.current.concat(Vr.map(at)).forEach(function(dr){pr.every(function(fr){return fr.uid!==dr.uid})&&pr.push(dr)}),ur({file:xr,fileList:pr}),!1}return nr&&nr.then?nr:!0};t.useImperativeHandle(me,function(){return{onStart:rr,onSuccess:Ke,onProgress:nt,onError:Ge,fileList:kt.current,upload:Et.current,forceUpdate:Ht}});var We=t.useContext(Ut.b),tt=We.getPrefixCls,ft=We.direction,Yt=tt("upload",$),Dt=w()(w()({onStart:rr,onError:Ge,onProgress:nt,onSuccess:Ke},Mt),{prefixCls:Yt,beforeUpload:ut});delete Dt.className,delete Dt.style,(!Ae||st)&&delete Dt.id;var vr=function(xr){return Ce?t.createElement(_e.a,{componentName:"Upload",defaultLocale:je.a.Upload},function(Vr){var Or=typeof Ce=="boolean"?{}:Ce,nr=Or.showRemoveIcon,pr=Or.showPreviewIcon,dr=Or.showDownloadIcon,fr=Or.removeIcon,_r=Or.downloadIcon;return t.createElement(Xe,{listType:Ie,items:Zt,previewFile:He,onPreview:Te,onDownload:Ee,onRemove:ct,showRemoveIcon:!st&&nr,showPreviewIcon:pr,showDownloadIcon:dr,removeIcon:fr,downloadIcon:_r,iconRender:ee,locale:w()(w()({},Vr),vt),isImageUrl:oe,progress:k,appendAction:xr})}):xr};if(ge==="drag"){var yr,Dr=l()(Yt,(yr={},L()(yr,"".concat(Yt,"-drag"),!0),L()(yr,"".concat(Yt,"-drag-uploading"),kt.current.some(function($r){return $r.status==="uploading"})),L()(yr,"".concat(Yt,"-drag-hover"),er==="dragover"),L()(yr,"".concat(Yt,"-disabled"),st),L()(yr,"".concat(Yt,"-rtl"),ft==="rtl"),yr),se);return t.createElement("span",null,t.createElement("div",{className:Dr,onDrop:ht,onDragOver:ht,onDragLeave:ht,style:Me},t.createElement(J,w()({},Dt,{ref:Et,className:"".concat(Yt,"-btn")}),t.createElement("div",{className:"".concat(Yt,"-drag-container")},Ae))),vr())}var Rr=l()(Yt,(ce={},L()(ce,"".concat(Yt,"-select"),!0),L()(ce,"".concat(Yt,"-select-").concat(Ie),!0),L()(ce,"".concat(Yt,"-disabled"),st),L()(ce,"".concat(Yt,"-rtl"),ft==="rtl"),ce)),Jr=t.createElement("div",{className:Rr,style:Ae?void 0:{display:"none"}},t.createElement(J,w()({},Dt,{ref:Et})));return Ie==="picture-card"?t.createElement("span",{className:l()(se,"".concat(Yt,"-picture-card-wrapper"))},vr(Jr)):t.createElement("span",{className:se},Jr,vr())},Pt=t.forwardRef(zt);Pt.Dragger=we,Pt.displayName="Upload",Pt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:Le,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var qt=Pt;qt.Dragger=we;var or=_.a=qt},vcnW:function(Z,_,e){(function(){var d=e("jvOL"),L=e("XFOG").utf8,v=e("UKqh"),m=e("XFOG").bin,y=function w(f,a){f.constructor==String?a&&a.encoding==="binary"?f=m.stringToBytes(f):f=L.stringToBytes(f):v(f)?f=Array.prototype.slice.call(f,0):!Array.isArray(f)&&f.constructor!==Uint8Array&&(f=f.toString());for(var t=d.bytesToWords(f),o=f.length*8,s=1732584193,l=-271733879,n=-1732584194,c=271733878,r=0;r<t.length;r++)t[r]=(t[r]<<8|t[r]>>>24)&16711935|(t[r]<<24|t[r]>>>8)&4278255360;t[o>>>5]|=128<<o%32,t[(o+64>>>9<<4)+14]=o;for(var u=w._ff,i=w._gg,h=w._hh,p=w._ii,r=0;r<t.length;r+=16){var A=s,C=l,S=n,E=c;s=u(s,l,n,c,t[r+0],7,-680876936),c=u(c,s,l,n,t[r+1],12,-389564586),n=u(n,c,s,l,t[r+2],17,606105819),l=u(l,n,c,s,t[r+3],22,-1044525330),s=u(s,l,n,c,t[r+4],7,-176418897),c=u(c,s,l,n,t[r+5],12,1200080426),n=u(n,c,s,l,t[r+6],17,-1473231341),l=u(l,n,c,s,t[r+7],22,-45705983),s=u(s,l,n,c,t[r+8],7,1770035416),c=u(c,s,l,n,t[r+9],12,-1958414417),n=u(n,c,s,l,t[r+10],17,-42063),l=u(l,n,c,s,t[r+11],22,-1990404162),s=u(s,l,n,c,t[r+12],7,1804603682),c=u(c,s,l,n,t[r+13],12,-40341101),n=u(n,c,s,l,t[r+14],17,-1502002290),l=u(l,n,c,s,t[r+15],22,1236535329),s=i(s,l,n,c,t[r+1],5,-165796510),c=i(c,s,l,n,t[r+6],9,-1069501632),n=i(n,c,s,l,t[r+11],14,643717713),l=i(l,n,c,s,t[r+0],20,-373897302),s=i(s,l,n,c,t[r+5],5,-701558691),c=i(c,s,l,n,t[r+10],9,38016083),n=i(n,c,s,l,t[r+15],14,-660478335),l=i(l,n,c,s,t[r+4],20,-405537848),s=i(s,l,n,c,t[r+9],5,568446438),c=i(c,s,l,n,t[r+14],9,-1019803690),n=i(n,c,s,l,t[r+3],14,-187363961),l=i(l,n,c,s,t[r+8],20,1163531501),s=i(s,l,n,c,t[r+13],5,-1444681467),c=i(c,s,l,n,t[r+2],9,-51403784),n=i(n,c,s,l,t[r+7],14,1735328473),l=i(l,n,c,s,t[r+12],20,-1926607734),s=h(s,l,n,c,t[r+5],4,-378558),c=h(c,s,l,n,t[r+8],11,-2022574463),n=h(n,c,s,l,t[r+11],16,1839030562),l=h(l,n,c,s,t[r+14],23,-35309556),s=h(s,l,n,c,t[r+1],4,-1530992060),c=h(c,s,l,n,t[r+4],11,1272893353),n=h(n,c,s,l,t[r+7],16,-155497632),l=h(l,n,c,s,t[r+10],23,-1094730640),s=h(s,l,n,c,t[r+13],4,681279174),c=h(c,s,l,n,t[r+0],11,-358537222),n=h(n,c,s,l,t[r+3],16,-722521979),l=h(l,n,c,s,t[r+6],23,76029189),s=h(s,l,n,c,t[r+9],4,-640364487),c=h(c,s,l,n,t[r+12],11,-421815835),n=h(n,c,s,l,t[r+15],16,530742520),l=h(l,n,c,s,t[r+2],23,-995338651),s=p(s,l,n,c,t[r+0],6,-198630844),c=p(c,s,l,n,t[r+7],10,1126891415),n=p(n,c,s,l,t[r+14],15,-1416354905),l=p(l,n,c,s,t[r+5],21,-57434055),s=p(s,l,n,c,t[r+12],6,1700485571),c=p(c,s,l,n,t[r+3],10,-1894986606),n=p(n,c,s,l,t[r+10],15,-1051523),l=p(l,n,c,s,t[r+1],21,-2054922799),s=p(s,l,n,c,t[r+8],6,1873313359),c=p(c,s,l,n,t[r+15],10,-30611744),n=p(n,c,s,l,t[r+6],15,-1560198380),l=p(l,n,c,s,t[r+13],21,1309151649),s=p(s,l,n,c,t[r+4],6,-145523070),c=p(c,s,l,n,t[r+11],10,-1120210379),n=p(n,c,s,l,t[r+2],15,718787259),l=p(l,n,c,s,t[r+9],21,-343485551),s=s+A>>>0,l=l+C>>>0,n=n+S>>>0,c=c+E>>>0}return d.endian([s,l,n,c])};y._ff=function(w,f,a,t,o,s,l){var n=w+(f&a|~f&t)+(o>>>0)+l;return(n<<s|n>>>32-s)+f},y._gg=function(w,f,a,t,o,s,l){var n=w+(f&t|a&~t)+(o>>>0)+l;return(n<<s|n>>>32-s)+f},y._hh=function(w,f,a,t,o,s,l){var n=w+(f^a^t)+(o>>>0)+l;return(n<<s|n>>>32-s)+f},y._ii=function(w,f,a,t,o,s,l){var n=w+(a^(f|~t))+(o>>>0)+l;return(n<<s|n>>>32-s)+f},y._blocksize=16,y._digestsize=16,Z.exports=function(w,f){if(w==null)throw new Error("Illegal argument "+w);var a=d.wordsToBytes(y(w,f));return f&&f.asBytes?a:f&&f.asString?m.bytesToString(a):d.bytesToHex(a)}})()},vfQ3:function(Z,_,e){var d=e("86p4"),L=e("D2WO"),v=e("oEo5"),m=v.each;function y(t){return parseInt(t,10)}function w(t,o){L.initVML(),this.root=t,this.storage=o;var s=document.createElement("div"),l=document.createElement("div");s.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",l.style.cssText="position:absolute;left:0;top:0;",t.appendChild(s),this._vmlRoot=l,this._vmlViewport=s,this.resize();var n=o.delFromStorage,c=o.addToStorage;o.delFromStorage=function(r){n.call(o,r),r&&(r.onRemove&&r.onRemove(l))},o.addToStorage=function(r){r.onAdd&&r.onAdd(l),c.call(o,r)},this._firstPaint=!0}w.prototype={constructor:w,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var o=this.getViewportRoot();if(o)return{offsetLeft:o.offsetLeft||0,offsetTop:o.offsetTop||0}},refresh:function(){var o=this.storage.getDisplayList(!0,!0);this._paintList(o)},_paintList:function(o){for(var s=this._vmlRoot,l=0;l<o.length;l++){var n=o[l];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(s),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(s),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,s),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(s),this._firstPaint=!1)},resize:function(o,s){var o=o==null?this._getWidth():o,s=s==null?this._getHeight():s;if(this._width!==o||this._height!==s){this._width=o,this._height=s;var l=this._vmlViewport.style;l.width=o+"px",l.height=s+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var o=this.root,s=o.currentStyle;return(o.clientWidth||y(s.width))-y(s.paddingLeft)-y(s.paddingRight)|0},_getHeight:function(){var o=this.root,s=o.currentStyle;return(o.clientHeight||y(s.height))-y(s.paddingTop)-y(s.paddingBottom)|0}};function f(t){return function(){d('In IE8.0 VML mode painter not support method "'+t+'"')}}m(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){w.prototype[t]=f(t)});var a=w;Z.exports=a},vgo9:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=e("spGK"),y=m.fromPoints,w=e("6q22"),f=e("DMEU"),a=e("BGny"),t=e("zYjg"),o=e("QV7q"),s=e("si9V"),l=s.Polyline,n=s.Polygon,c=e("F62y"),r=e("6vYt"),u=r.prepareDataCoordInfo,i=r.getStackedOnPoint,h=e("PyNg"),p=h.createGridClipPath,A=h.createPolarClipPath;function C(R,F){if(R.length!==F.length)return;for(var B=0;B<R.length;B++){var z=R[B],U=F[B];if(z[0]!==U[0]||z[1]!==U[1])return}return!0}function S(R,F){var B=[],z=[],U=[],K=[];return y(R,B,z),y(F,U,K),Math.max(Math.abs(B[0]-U[0]),Math.abs(B[1]-U[1]),Math.abs(z[0]-K[0]),Math.abs(z[1]-K[1]))}function E(R){return typeof R=="number"?R:R?.5:0}function O(R,F,B){if(!B.valueDim)return[];for(var z=[],U=0,K=F.count();U<K;U++)z.push(i(B,R,F,U));return z}function T(R,F,B){for(var z=F.getBaseAxis(),U=z.dim==="x"||z.dim==="radius"?0:1,K=[],W=0;W<R.length-1;W++){var H=R[W+1],Y=R[W];K.push(Y);var Q=[];switch(B){case"end":Q[U]=H[U],Q[1-U]=Y[1-U],K.push(Q);break;case"middle":var P=(Y[U]+H[U])/2,G=[];Q[U]=G[U]=P,Q[1-U]=Y[1-U],G[1-U]=H[1-U],K.push(Q),K.push(G);break;default:Q[U]=Y[U],Q[1-U]=H[1-U],K.push(Q)}}return R[W]&&K.push(R[W]),K}function b(R,F){var B=R.getVisual("visualMeta");if(!B||!B.length||!R.count())return;if(F.type!=="cartesian2d")return;for(var z,U,K=B.length-1;K>=0;K--){var W=B[K].dimension,H=R.dimensions[W],Y=R.getDimensionInfo(H);if(z=Y&&Y.coordDim,z==="x"||z==="y"){U=B[K];break}}if(!U)return;var Q=F.getAxis(z),P=v.map(U.stops,function(Qe){return{coord:Q.toGlobalCoord(Q.dataToCoord(Qe.value)),color:Qe.color}}),G=P.length,J=U.outerColors.slice();G&&P[0].coord>P[G-1].coord&&(P.reverse(),J.reverse());var he=10,te=P[0].coord-he,pe=P[G-1].coord+he,we=pe-te;if(we<.001)return"transparent";v.each(P,function(Qe){Qe.offset=(Qe.coord-te)/we}),P.push({offset:G?P[G-1].offset:.5,color:J[1]||"transparent"}),P.unshift({offset:G?P[0].offset:.5,color:J[0]||"transparent"});var be=new t.LinearGradient(0,0,0,0,P,!0);return be[z]=te,be[z+"2"]=pe,be}function x(R,F,B){var z=R.get("showAllSymbol"),U=z==="auto";if(z&&!U)return;var K=B.getAxesByScale("ordinal")[0];if(!K)return;if(U&&N(K,F))return;var W=F.mapDimension(K.dim),H={};return v.each(K.getViewLabels(),function(Y){H[Y.tickValue]=1}),function(Y){return!H.hasOwnProperty(F.get(W,Y))}}function N(R,F){var B=R.getExtent(),z=Math.abs(B[1]-B[0])/R.scale.count();isNaN(z)&&(z=0);for(var U=F.count(),K=Math.max(1,Math.round(U/5)),W=0;W<U;W+=K)if(f.getSymbolSize(F,W)[R.isHorizontal()?1:0]*1.5>z)return!1;return!0}function D(R,F,B){if(R.type==="cartesian2d"){var z=R.getBaseAxis().isHorizontal(),U=p(R,F,B);if(!B.get("clip",!0)){var K=U.shape,W=Math.max(K.width,K.height);z?(K.y-=W,K.height+=W*2):(K.x-=W,K.width+=W*2)}return U}else return A(R,F,B)}var M=c.extend({type:"line",init:function(){var R=new t.Group,F=new w;this.group.add(F.group),this._symbolDraw=F,this._lineGroup=R},render:function(R,F,B){var z=R.coordinateSystem,U=this.group,K=R.getData(),W=R.getModel("lineStyle"),H=R.getModel("areaStyle"),Y=K.mapArray(K.getItemLayout),Q=z.type==="polar",P=this._coordSys,G=this._symbolDraw,J=this._polyline,he=this._polygon,te=this._lineGroup,pe=R.get("animation"),we=!H.isEmpty(),be=H.get("origin"),Qe=u(z,K,be),$e=O(z,K,Qe),yt=R.get("showSymbol"),Fe=yt&&!Q&&x(R,K,z),Pe=this._data;Pe&&Pe.eachItemGraphicEl(function(Ye,mt){Ye.__temp&&(U.remove(Ye),Pe.setItemGraphicEl(mt,null))}),yt||G.remove(),U.add(te);var gt=!Q&&R.get("step"),it;z&&z.getArea&&R.get("clip",!0)&&(it=z.getArea(),it.width!=null?(it.x-=.1,it.y-=.1,it.width+=.2,it.height+=.2):it.r0&&(it.r0-=.5,it.r1+=.5)),this._clipShapeForSymbol=it,J&&P.type===z.type&>===this._step?(we&&!he?he=this._newPolygon(Y,$e,z,pe):he&&!we&&(te.remove(he),he=this._polygon=null),te.setClipPath(D(z,!1,R)),yt&&G.updateData(K,{isIgnore:Fe,clipShape:it}),K.eachItemGraphicEl(function(Ye){Ye.stopAnimation(!0)}),(!C(this._stackedOnPoints,$e)||!C(this._points,Y))&&(pe?this._updateAnimation(K,$e,z,B,gt,be):(gt&&(Y=T(Y,z,gt),$e=T($e,z,gt)),J.setShape({points:Y}),he&&he.setShape({points:Y,stackedOnPoints:$e})))):(yt&&G.updateData(K,{isIgnore:Fe,clipShape:it}),gt&&(Y=T(Y,z,gt),$e=T($e,z,gt)),J=this._newPolyline(Y,z,pe),we&&(he=this._newPolygon(Y,$e,z,pe)),te.setClipPath(D(z,!0,R)));var qe=b(K,z)||K.getVisual("color");J.useStyle(v.defaults(W.getLineStyle(),{fill:"none",stroke:qe,lineJoin:"bevel"}));var At=R.get("smooth");if(At=E(R.get("smooth")),J.setShape({smooth:At,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")}),he){var dt=K.getCalculationInfo("stackedOnSeries"),wt=0;he.useStyle(v.defaults(H.getAreaStyle(),{fill:qe,opacity:.7,lineJoin:"bevel"})),dt&&(wt=E(dt.get("smooth"))),he.setShape({smooth:At,stackedOnSmooth:wt,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")})}this._data=K,this._coordSys=z,this._stackedOnPoints=$e,this._points=Y,this._step=gt,this._valueOrigin=be},dispose:function(){},highlight:function(R,F,B,z){var U=R.getData(),K=o.queryDataIndex(U,z);if(!(K instanceof Array)&&K!=null&&K>=0){var W=U.getItemGraphicEl(K);if(!W){var H=U.getItemLayout(K);if(!H)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(H[0],H[1]))return;W=new f(U,K),W.position=H,W.setZ(R.get("zlevel"),R.get("z")),W.ignore=isNaN(H[0])||isNaN(H[1]),W.__temp=!0,U.setItemGraphicEl(K,W),W.stopSymbolAnimation(!0),this.group.add(W)}W.highlight()}else c.prototype.highlight.call(this,R,F,B,z)},downplay:function(R,F,B,z){var U=R.getData(),K=o.queryDataIndex(U,z);if(K!=null&&K>=0){var W=U.getItemGraphicEl(K);W&&(W.__temp?(U.setItemGraphicEl(K,null),this.group.remove(W)):W.downplay())}else c.prototype.downplay.call(this,R,F,B,z)},_newPolyline:function(R){var F=this._polyline;return F&&this._lineGroup.remove(F),F=new l({shape:{points:R},silent:!0,z2:10}),this._lineGroup.add(F),this._polyline=F,F},_newPolygon:function(R,F){var B=this._polygon;return B&&this._lineGroup.remove(B),B=new n({shape:{points:R,stackedOnPoints:F},silent:!0}),this._lineGroup.add(B),this._polygon=B,B},_updateAnimation:function(R,F,B,z,U,K){var W=this._polyline,H=this._polygon,Y=R.hostModel,Q=a(this._data,R,this._stackedOnPoints,F,this._coordSys,B,this._valueOrigin,K),P=Q.current,G=Q.stackedOnCurrent,J=Q.next,he=Q.stackedOnNext;if(U&&(P=T(Q.current,B,U),G=T(Q.stackedOnCurrent,B,U),J=T(Q.next,B,U),he=T(Q.stackedOnNext,B,U)),S(P,J)>3e3||H&&S(G,he)>3e3){W.setShape({points:J}),H&&H.setShape({points:J,stackedOnPoints:he});return}W.shape.__points=Q.current,W.shape.points=P,t.updateProps(W,{shape:{points:J}},Y),H&&(H.setShape({points:P,stackedOnPoints:G}),t.updateProps(H,{shape:{points:J,stackedOnPoints:he}},Y));for(var te=[],pe=Q.status,we=0;we<pe.length;we++){var be=pe[we].cmd;if(be==="="){var Qe=R.getItemGraphicEl(pe[we].idx1);Qe&&te.push({el:Qe,ptIdx:we})}}W.animators&&W.animators.length&&W.animators[0].during(function(){for(var $e=0;$e<te.length;$e++){var yt=te[$e].el;yt.attr("position",W.shape.__points[te[$e].ptIdx])}})},remove:function(R){var F=this.group,B=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),B&&B.eachItemGraphicEl(function(z,U){z.__temp&&(F.remove(z),B.setItemGraphicEl(U,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});Z.exports=M},vmuv:function(Z,_,e){var d=e("342z"),L=d.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(v,m){var y=Math.cos,w=Math.sin,f=m.r,a=m.width,t=m.angle,o=m.x-y(t)*a*(a>=f/3?1:2),s=m.y-w(t)*a*(a>=f/3?1:2);t=m.angle-Math.PI/2,v.moveTo(o,s),v.lineTo(m.x+y(t)*a,m.y+w(t)*a),v.lineTo(m.x+y(m.angle)*f,m.y+w(m.angle)*f),v.lineTo(m.x-y(t)*a,m.y-w(t)*a),v.lineTo(o,s);return}});Z.exports=L},vrPM:function(Z,_){function e(d){var L=d.getRect(),v=d.getRangeInfo();return{coordSys:{type:"calendar",x:L.x,y:L.y,width:L.width,height:L.height,cellWidth:d.getCellWidth(),cellHeight:d.getCellHeight(),rangeInfo:{start:v.start,end:v.end,weeks:v.weeks,dayCount:v.allDay}},api:{coord:function(m,y){return d.dataToPoint(m,y)}}}}Z.exports=e},vtWr:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("cARS"),m=e("2Myu");e("BqSt"),e("kmpg"),e("5Gbn");var y=5;d.extendComponentView({type:"parallel",render:function(a,t,o){this._model=a,this._api=o,this._handlers||(this._handlers={},L.each(w,function(s,l){o.getZr().on(l,this._handlers[l]=L.bind(s,this))},this)),v.createOrUpdate(this,"_throttledDispatchExpand",a.get("axisExpandRate"),"fixRate")},dispose:function(a,t){L.each(this._handlers,function(o,s){t.getZr().off(s,o)}),this._handlers=null},_throttledDispatchExpand:function(a){this._dispatchExpand(a)},_dispatchExpand:function(a){a&&this._api.dispatchAction(L.extend({type:"parallelAxisExpand"},a))}});var w={mousedown:function(a){f(this,"click")&&(this._mouseDownPoint=[a.offsetX,a.offsetY])},mouseup:function(a){var t=this._mouseDownPoint;if(f(this,"click")&&t){var o=[a.offsetX,a.offsetY],s=Math.pow(t[0]-o[0],2)+Math.pow(t[1]-o[1],2);if(s>y)return;var l=this._model.coordinateSystem.getSlidedAxisExpandWindow([a.offsetX,a.offsetY]);l.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:l.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(a){if(this._mouseDownPoint||!f(this,"mousemove"))return;var t=this._model,o=t.coordinateSystem.getSlidedAxisExpandWindow([a.offsetX,a.offsetY]),s=o.behavior;s==="jump"&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand(s==="none"?null:{axisExpandWindow:o.axisExpandWindow,animation:s==="jump"?null:!1})}};function f(a,t){var o=a._model;return o.get("axisExpandable")&&o.get("axisExpandTriggerOn")===t}d.registerPreprocessor(m)},vwaK:function(Z,_,e){var d=e("oEo5"),L=d.createHashMap,v=d.isTypedArray,m=e("1JkX"),y=m.enableClassCheck,w=e("3uc+"),f=w.SOURCE_FORMAT_ORIGINAL,a=w.SERIES_LAYOUT_BY_COLUMN,t=w.SOURCE_FORMAT_UNKNOWN,o=w.SOURCE_FORMAT_TYPED_ARRAY,s=w.SOURCE_FORMAT_KEYED_COLUMNS;function l(c){this.fromDataset=c.fromDataset,this.data=c.data||(c.sourceFormat===s?{}:[]),this.sourceFormat=c.sourceFormat||t,this.seriesLayoutBy=c.seriesLayoutBy||a,this.dimensionsDefine=c.dimensionsDefine,this.encodeDefine=c.encodeDefine&&L(c.encodeDefine),this.startIndex=c.startIndex||0,this.dimensionsDetectCount=c.dimensionsDetectCount}l.seriesDataToSource=function(c){return new l({data:c,sourceFormat:v(c)?o:f,fromDataset:!1})},y(l);var n=l;Z.exports=n},w3Ok:function(Z,_,e){"use strict";var d=e("Eqs+"),L=e.n(d),v=e("CKlD"),m=e.n(v),y=e("XDlA"),w=e.n(y),f=e("T5E4"),a=e.n(f),t=e("8ULG"),o=e.n(t),s=e("XneU"),l=e.n(s),n=e("Hdxz"),c=e.n(n),r=e("ZZRV"),u=e("EaaV"),i=e("iczh"),h=e.n(i),p=e("nH6b"),A=e("ofoi"),C=e.n(A),S=e("3CTf"),E=e("JS14"),O=e("LpVx"),T=e("MXpt");function b($e){return $e!==window?$e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function x($e,yt,Fe){return Fe!==void 0&&yt.top>$e.top-Fe?Fe+yt.top:void 0}function N($e,yt,Fe){if(Fe!==void 0&&yt.bottom<$e.bottom+Fe){var Pe=window.innerHeight-yt.bottom;return Fe+Pe}return}var D=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],M=[];function R(){return M}function F($e,yt){if(!$e)return;var Fe=M.find(function(Pe){return Pe.target===$e});Fe?Fe.affixList.push(yt):(Fe={target:$e,affixList:[yt],eventHandlers:{}},M.push(Fe),D.forEach(function(Pe){Fe.eventHandlers[Pe]=Object(p.a)($e,Pe,function(){Fe.affixList.forEach(function(gt){gt.lazyUpdatePosition()})})}))}function B($e){var yt=M.find(function(Fe){var Pe=Fe.affixList.some(function(gt){return gt===$e});return Pe&&(Fe.affixList=Fe.affixList.filter(function(gt){return gt!==$e})),Pe});yt&&yt.affixList.length===0&&(M=M.filter(function(Fe){return Fe!==yt}),D.forEach(function(Fe){var Pe=yt.eventHandlers[Fe];Pe&&Pe.remove&&Pe.remove()}))}var z=function($e,yt,Fe,Pe){var gt=arguments.length,it=gt<3?yt:Pe===null?Pe=Object.getOwnPropertyDescriptor(yt,Fe):Pe,qe;if((typeof Reflect=="undefined"?"undefined":C()(Reflect))==="object"&&typeof Reflect.decorate=="function")it=Reflect.decorate($e,yt,Fe,Pe);else for(var At=$e.length-1;At>=0;At--)(qe=$e[At])&&(it=(gt<3?qe(it):gt>3?qe(yt,Fe,it):qe(yt,Fe))||it);return gt>3&&it&&Object.defineProperty(yt,Fe,it),it};function U(){return typeof window!="undefined"?window:null}var K;(function($e){$e[$e.None=0]="None",$e[$e.Prepare=1]="Prepare"})(K||(K={}));var W=function($e){l()(Fe,$e);var yt=c()(Fe);function Fe(){var Pe;return w()(this,Fe),Pe=yt.apply(this,arguments),Pe.state={status:K.None,lastAffix:!1,prevTarget:null},Pe.getOffsetTop=function(){var gt=Pe.props.offsetBottom,it=Pe.props.offsetTop;return gt===void 0&&it===void 0&&(it=0),it},Pe.getOffsetBottom=function(){return Pe.props.offsetBottom},Pe.savePlaceholderNode=function(gt){Pe.placeholderNode=gt},Pe.saveFixedNode=function(gt){Pe.fixedNode=gt},Pe.measure=function(){var gt=Pe.state,it=gt.status,qe=gt.lastAffix,At=Pe.props.onChange,dt=Pe.getTargetFunc();if(it!==K.Prepare||!Pe.fixedNode||!Pe.placeholderNode||!dt)return;var wt=Pe.getOffsetTop(),Ye=Pe.getOffsetBottom(),mt=dt();if(!mt)return;var Ue={status:K.None},Re=b(mt),Le=b(Pe.placeholderNode),at=x(Le,Re,wt),Ot=N(Le,Re,Ye);at!==void 0?(Ue.affixStyle={position:"fixed",top:at,width:Le.width,height:Le.height},Ue.placeholderStyle={width:Le.width,height:Le.height}):Ot!==void 0&&(Ue.affixStyle={position:"fixed",bottom:Ot,width:Le.width,height:Le.height},Ue.placeholderStyle={width:Le.width,height:Le.height}),Ue.lastAffix=!!Ue.affixStyle,At&&qe!==Ue.lastAffix&&At(Ue.lastAffix),Pe.setState(Ue)},Pe.prepareMeasure=function(){if(Pe.setState({status:K.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var gt},Pe.render=function(){var gt=Pe.context.getPrefixCls,it=Pe.state,qe=it.affixStyle,At=it.placeholderStyle,dt=Pe.props,wt=dt.prefixCls,Ye=dt.children,mt=h()(m()({},gt("affix",wt),qe)),Ue=Object(S.default)(Pe.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return r.createElement(E.a,{onResize:function(){Pe.updatePosition()}},r.createElement("div",L()({},Ue,{ref:Pe.savePlaceholderNode}),qe&&r.createElement("div",{style:At,"aria-hidden":"true"}),r.createElement("div",{className:mt,ref:Pe.saveFixedNode,style:qe},r.createElement(E.a,{onResize:function(){Pe.updatePosition()}},Ye))))},Pe}return a()(Fe,[{key:"getTargetFunc",value:function(){var gt=this.context.getTargetContainer,it=this.props.target;return it!==void 0?it:gt||U}},{key:"componentDidMount",value:function(){var gt=this,it=this.getTargetFunc();it&&(this.timeout=setTimeout(function(){F(it(),gt),gt.updatePosition()}))}},{key:"componentDidUpdate",value:function(gt){var it=this.state.prevTarget,qe=this.getTargetFunc(),At=null;qe&&(At=qe()||null),it!==At&&(B(this),At&&(F(At,this),this.updatePosition()),this.setState({prevTarget:At})),(gt.offsetTop!==this.props.offsetTop||gt.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),B(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var gt=this.getTargetFunc(),it=this.state.affixStyle;if(gt&&it){var qe=this.getOffsetTop(),At=this.getOffsetBottom(),dt=gt();if(dt&&this.placeholderNode){var wt=b(dt),Ye=b(this.placeholderNode),mt=x(Ye,wt,qe),Ue=N(Ye,wt,At);if(mt!==void 0&&it.top===mt||Ue!==void 0&&it.bottom===Ue)return}}this.prepareMeasure()}}]),Fe}(r.Component);W.contextType=O.b,z([Object(T.b)()],W.prototype,"updatePosition",null),z([Object(T.b)()],W.prototype,"lazyUpdatePosition",null);var H=W,Y=e("apr7"),Q=e("dKUL"),P=r.createContext(null),G=P;function J(){return window}function he($e,yt){if(!$e.getClientRects().length)return 0;var Fe=$e.getBoundingClientRect();return Fe.width||Fe.height?yt===window?(yt=$e.ownerDocument.documentElement,Fe.top-yt.clientTop):Fe.top-yt.getBoundingClientRect().top:Fe.top}var te=/#(\S+)$/,pe=function($e){l()(Fe,$e);var yt=c()(Fe);function Fe(){var Pe;return w()(this,Fe),Pe=yt.apply(this,arguments),Pe.state={activeLink:null},Pe.links=[],Pe.registerLink=function(gt){Pe.links.includes(gt)||Pe.links.push(gt)},Pe.unregisterLink=function(gt){var it=Pe.links.indexOf(gt);it!==-1&&Pe.links.splice(it,1)},Pe.getContainer=function(){var gt=Pe.context.getTargetContainer,it=Pe.props.getContainer,qe=it||gt||J;return qe()},Pe.handleScrollTo=function(gt){var it=Pe.props,qe=it.offsetTop,At=it.targetOffset;Pe.setCurrentActiveLink(gt);var dt=Pe.getContainer(),wt=Object(Q.a)(dt,!0),Ye=te.exec(gt);if(!Ye)return;var mt=document.getElementById(Ye[1]);if(!mt)return;var Ue=he(mt,dt),Re=wt+Ue;Re-=At!==void 0?At:qe||0,Pe.animating=!0,Object(Y.a)(Re,{callback:function(){Pe.animating=!1},getContainer:Pe.getContainer})},Pe.saveInkNode=function(gt){Pe.inkNode=gt},Pe.setCurrentActiveLink=function(gt){var it=Pe.state.activeLink,qe=Pe.props.onChange;it!==gt&&(Pe.setState({activeLink:gt}),qe&&qe(gt))},Pe.handleScroll=function(){if(Pe.animating)return;var gt=Pe.props,it=gt.offsetTop,qe=gt.bounds,At=gt.targetOffset,dt=Pe.getCurrentAnchor(At!==void 0?At:it||0,qe);Pe.setCurrentActiveLink(dt)},Pe.updateInk=function(){var gt=o()(Pe),it=gt.prefixCls,qe=u.findDOMNode(o()(Pe)),At=qe.getElementsByClassName("".concat(it,"-link-title-active"))[0];At&&(Pe.inkNode.style.top="".concat(At.offsetTop+At.clientHeight/2-4.5,"px"))},Pe.render=function(){var gt=Pe.context,it=gt.getPrefixCls,qe=gt.direction,At=Pe.props,dt=At.prefixCls,wt=At.className,Ye=wt===void 0?"":wt,mt=At.style,Ue=At.offsetTop,Re=At.affix,Le=At.showInkInFixed,at=At.children,Ot=Pe.state.activeLink,Tt=it("anchor",dt);Pe.prefixCls=Tt;var Ft=h()("".concat(Tt,"-ink-ball"),{visible:Ot}),ke=h()(Ye,"".concat(Tt,"-wrapper"),m()({},"".concat(Tt,"-rtl"),qe==="rtl")),Vt=h()(Tt,{fixed:!Re&&!Le}),bt=L()({maxHeight:Ue?"calc(100vh - ".concat(Ue,"px)"):"100vh"},mt),Rt=r.createElement("div",{className:ke,style:bt},r.createElement("div",{className:Vt},r.createElement("div",{className:"".concat(Tt,"-ink")},r.createElement("span",{className:Ft,ref:Pe.saveInkNode})),at));return r.createElement(G.Provider,{value:{registerLink:Pe.registerLink,unregisterLink:Pe.unregisterLink,activeLink:Pe.state.activeLink,scrollTo:Pe.handleScrollTo,onClick:Pe.props.onClick}},Re?r.createElement(H,{offsetTop:Ue,target:Pe.getContainer},Rt):Rt)},Pe}return a()(Fe,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(p.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var gt=this.getContainer();this.scrollContainer!==gt&&(this.scrollContainer=gt,this.scrollEvent.remove(),this.scrollEvent=Object(p.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,qe=this.props.getCurrentAnchor;if(typeof qe=="function")return qe();var At=[],dt=this.getContainer();if(this.links.forEach(function(Ye){var mt=te.exec(Ye.toString());if(!mt)return;var Ue=document.getElementById(mt[1]);if(Ue){var Re=he(Ue,dt);Re<gt+it&&At.push({link:Ye,top:Re})}}),At.length){var wt=At.reduce(function(Ye,mt){return mt.top>Ye.top?mt:Ye});return wt.link}return""}}]),Fe}(r.Component);pe.defaultProps={affix:!0,showInkInFixed:!1},pe.contextType=O.b;var we=function($e){l()(Fe,$e);var yt=c()(Fe);function Fe(){var Pe;return w()(this,Fe),Pe=yt.apply(this,arguments),Pe.handleClick=function(gt){var it=Pe.context,qe=it.scrollTo,At=it.onClick,dt=Pe.props,wt=dt.href,Ye=dt.title;At&&At(gt,{title:Ye,href:wt}),qe(wt)},Pe.renderAnchorLink=function(gt){var it=gt.getPrefixCls,qe=Pe.props,At=qe.prefixCls,dt=qe.href,wt=qe.title,Ye=qe.children,mt=qe.className,Ue=qe.target,Re=it("anchor",At),Le=Pe.context.activeLink===dt,at=h()(mt,"".concat(Re,"-link"),m()({},"".concat(Re,"-link-active"),Le)),Ot=h()("".concat(Re,"-link-title"),m()({},"".concat(Re,"-link-title-active"),Le));return r.createElement("div",{className:at},r.createElement("a",{className:Ot,href:dt,title:typeof wt=="string"?wt:"",target:Ue,onClick:Pe.handleClick},wt),Ye)},Pe}return a()(Fe,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(gt){var it=gt.href,qe=this.props.href;it!==qe&&(this.context.unregisterLink(it),this.context.registerLink(qe))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderAnchorLink)}}]),Fe}(r.Component);we.defaultProps={href:"#"},we.contextType=G;var be=we;pe.Link=be;var Qe=_.a=pe},w8Gd:function(Z,_,e){var d=e("MWS/"),L=d.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});Z.exports=L},w9ct:function(Z,_){function e(L){var v=L.coordinateSystem;if(v.type!=="view")return 1;var m=L.option.nodeScaleRatio,y=v.scale,w=y&&y[0]||1,f=v.getZoom(),a=(f-1)*m+1;return a/w}function d(L){var v=L.getVisual("symbolSize");return v instanceof Array&&(v=(v[0]+v[1])/2),+v}_.getNodeGlobalScale=e,_.getSymbolSize=d},wCGl:function(Z,_){var e=Object.prototype;function d(L){var v=L&&L.constructor,m=typeof v=="function"&&v.prototype||e;return L===m}Z.exports=d},wCui:function(Z,_,e){e("tFbR"),e("lLgp")},wEuU:function(Z,_,e){var d=e("aXON"),L=1/0,v=17976931348623157e292;function m(y){if(!y)return y===0?y:0;if(y=d(y),y===L||y===-L){var w=y<0?-1:1;return w*v}return y===y?y:0}Z.exports=m},wHB0:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("+mwU"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},wKys:function(Z,_,e){var d=e("QLFg"),L=d.normalizeRadian,v=Math.PI*2;function m(y,w,f,a,t,o,s,l,n){if(s===0)return!1;var c=s;l-=y,n-=w;var r=Math.sqrt(l*l+n*n);if(r-c>f||r+c<f)return!1;if(Math.abs(a-t)%v<1e-4)return!0;if(o){var u=a;a=L(t),t=L(u)}else a=L(a),t=L(t);a>t&&(t+=v);var i=Math.atan2(n,l);return i<0&&(i+=v),i>=a&&i<=t||i+v>=a&&i+v<=t}_.containStroke=m},wOZl:function(Z,_,e){"use strict";var d=e("7iVm"),L=e("QbHp");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var v=L(e("ZZRV")),m=d(e("sXHY")),y=d(e("fqIW")),w=function(t,o){return v.createElement(y.default,Object.assign({},t,{ref:o,icon:m.default}))};w.displayName="PlusSquareOutlined";var f=v.forwardRef(w);_.default=f},wYQQ:function(Z,_,e){"use strict";e.d(_,"d",function(){return t}),e.d(_,"c",function(){return s}),e.d(_,"e",function(){return l}),e.d(_,"b",function(){return r}),e.d(_,"f",function(){return u}),e.d(_,"g",function(){return i}),e.d(_,"a",function(){return h});var d=e("zjzt"),L=e("V0hb"),v=e("AVV0"),m=e("9/lZ"),y=e("55MS"),w=e("nWwB"),f=e("MuvR");function a(p,A){var C=p.key,S;return"value"in p&&(S=p.value),C!=null?C:S!==void 0?S:"rc-index-key-".concat(A)}function t(p){var A=[];function C(S,E){S.forEach(function(O){E||!("options"in O)?A.push({key:a(O,A.length),groupOption:E,data:O}):(A.push({key:a(O,A.length),group:!0,data:O}),C(O.options,!0))})}return C(p,!1),A}function o(p){var A=Object(y.a)({},p);return"props"in A||Object.defineProperty(A,"props",{get:function(){return Object(w.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),A}}),A}function s(p,A){var C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=C.prevValueOptions,E=S===void 0?[]:S,O=new Map;return A.forEach(function(T){if(!T.group){var b=T.data;O.set(b.value,b)}}),p.map(function(T){var b=O.get(T);return b||(b=Object(y.a)({},E.find(function(x){return x._INTERNAL_OPTION_VALUE_===T}))),o(b)})}var l=function(A,C){var S=C.options,E=C.prevValue,O=C.labelInValue,T=C.optionLabelProp,b=s([A],S)[0],x={value:A},N,D=Object(f.d)(E);return O&&(N=D.find(function(M){return Object(m.a)(M)==="object"&&"value"in M?M.value===A:M.key===A})),N&&Object(m.a)(N)==="object"&&"label"in N?(x.label=N.label,b&&typeof N.label=="string"&&typeof b[T]=="string"&&N.label.trim()!==b[T].trim()&&Object(w.a)(!1,"`label` of `value` is not same as `label` in Select options.")):b&&T in b?x.label=b[T]:x.label=A,x.key=x.value,x};function n(p){return Object(f.d)(p).join("")}function c(p){return function(A,C){var S=A.toLowerCase();if("options"in C)return n(C.label).toLowerCase().includes(S);var E=C[p],O=n(E).toLowerCase();return O.includes(S)}}function r(p,A,C){var S=C.optionFilterProp,E=C.filterOption,O=[],T;return E===!1?A:(typeof E=="function"?T=E:T=c(S),A.forEach(function(b){if("options"in b){var x=T(p,b);if(x)O.push(b);else{var N=b.options.filter(function(D){return T(p,D)});N.length&&O.push(Object(y.a)(Object(y.a)({},b),{},{options:N}))}return}T(p,o(b))&&O.push(b)}),O)}function u(p,A){if(!A||!A.length)return null;var C=!1;function S(O,T){var b=Object(v.a)(T),x=b[0],N=b.slice(1);if(!x)return[O];var D=O.split(x);return C=C||D.length>1,D.reduce(function(M,R){return[].concat(Object(L.a)(M),Object(L.a)(S(R,N)))},[]).filter(function(M){return M})}var E=S(p,A);return C?E:null}function i(p,A){var C=s([p],A)[0];return C.disabled}function h(p,A,C,S){var E=Object(f.d)(A).slice().sort(),O=Object(L.a)(p),T=new Set;return p.forEach(function(b){b.options?b.options.forEach(function(x){T.add(x.value)}):T.add(b.value)}),E.forEach(function(b){var x=S?b.value:b;if(!T.has(x)){var N;O.push(S?(N={},Object(d.a)(N,C,b.label),Object(d.a)(N,"value",x),N):{value:x})}}),O}},wkkW:function(Z,_,e){},wnZI:function(Z,_,e){var d=e("zYjg"),L=e("yuiD"),v=L.getDefaultLabel;function m(w,f,a,t,o,s,l){var n=a.getModel("label"),c=a.getModel("emphasis.label");d.setLabelStyle(w,f,n,c,{labelFetcher:o,labelDataIndex:s,defaultText:v(o.getData(),s),isRectText:!0,autoColor:t}),y(w),y(f)}function y(w,f){w.textPosition==="outside"&&(w.textPosition=f)}_.setLabel=m},wooT:function(Z,_,e){var d=e("o1tb"),L=e("DStm"),v=Object.prototype,m=v.propertyIsEnumerable,y=Object.getOwnPropertySymbols,w=y?function(f){return f==null?[]:(f=Object(f),d(y(f),function(a){return m.call(f,a)}))}:L;Z.exports=w},wpu7:function(Z,_,e){var d=e("IT7P"),L=d.createElement,v=e("2OMI"),m=e("ie0D"),y=e("4uqo"),w=e("F2Ao"),f=e("2Cb2"),a=e("ode/"),t=v.CMD,o=Array.prototype.join,s="none",l=Math.round,n=Math.sin,c=Math.cos,r=Math.PI,u=Math.PI*2,i=180/r,h=1e-4;function p(Q){return l(Q*1e4)/1e4}function A(Q){return Q<h&&Q>-h}function C(Q,P){var G=P?Q.textFill:Q.fill;return G!=null&&G!==s}function S(Q,P){var G=P?Q.textStroke:Q.stroke;return G!=null&&G!==s}function E(Q,P){P&&O(Q,"transform","matrix("+o.call(P,",")+")")}function O(Q,P,G){(!G||G.type!=="linear"&&G.type!=="radial")&&Q.setAttribute(P,G)}function T(Q,P,G){Q.setAttributeNS("http://www.w3.org/1999/xlink",P,G)}function b(Q,P,G,J){if(C(P,G)){var he=G?P.textFill:P.fill;he=he==="transparent"?s:he,O(Q,"fill",he),O(Q,"fill-opacity",P.fillOpacity!=null?P.fillOpacity*P.opacity:P.opacity)}else O(Q,"fill",s);if(S(P,G)){var te=G?P.textStroke:P.stroke;te=te==="transparent"?s:te,O(Q,"stroke",te);var pe=G?P.textStrokeWidth:P.lineWidth,we=!G&&P.strokeNoScale?J.getLineScale():1;O(Q,"stroke-width",pe/we),O(Q,"paint-order",G?"stroke":"fill"),O(Q,"stroke-opacity",P.strokeOpacity!=null?P.strokeOpacity:P.opacity);var be=P.lineDash;be?(O(Q,"stroke-dasharray",P.lineDash.join(",")),O(Q,"stroke-dashoffset",l(P.lineDashOffset||0))):O(Q,"stroke-dasharray",""),P.lineCap&&O(Q,"stroke-linecap",P.lineCap),P.lineJoin&&O(Q,"stroke-linejoin",P.lineJoin),P.miterLimit&&O(Q,"stroke-miterlimit",P.miterLimit)}else O(Q,"stroke",s)}function x(Q){for(var P=[],G=Q.data,J=Q.len(),he=0;he<J;){var te=G[he++],pe="",we=0;switch(te){case t.M:pe="M",we=2;break;case t.L:pe="L",we=2;break;case t.Q:pe="Q",we=4;break;case t.C:pe="C",we=6;break;case t.A:var be=G[he++],Qe=G[he++],$e=G[he++],yt=G[he++],Fe=G[he++],Pe=G[he++],gt=G[he++],it=G[he++],qe=Math.abs(Pe),At=A(qe-u)||(it?Pe>=u:-Pe>=u),dt=Pe>0?Pe%u:Pe%u+u,wt=!1;At?wt=!0:A(qe)?wt=!1:wt=dt>=r===!!it;var Ye=p(be+$e*c(Fe)),mt=p(Qe+yt*n(Fe));At&&(it?Pe=u-1e-4:Pe=-u+1e-4,wt=!0,he===9&&P.push("M",Ye,mt));var Ue=p(be+$e*c(Fe+Pe)),Re=p(Qe+yt*n(Fe+Pe));P.push("A",p($e),p(yt),l(gt*i),+wt,+it,Ue,Re);break;case t.Z:pe="Z";break;case t.R:var Ue=p(G[he++]),Re=p(G[he++]),Le=p(G[he++]),at=p(G[he++]);P.push("M",Ue,Re,"L",Ue+Le,Re,"L",Ue+Le,Re+at,"L",Ue,Re+at,"L",Ue,Re);break}pe&&P.push(pe);for(var Ot=0;Ot<we;Ot++)P.push(p(G[he++]))}return P.join(" ")}var N={};N.brush=function(Q){var P=Q.style,G=Q.__svgEl;G||(G=L("path"),Q.__svgEl=G),Q.path||Q.createPathProxy();var J=Q.path;if(Q.__dirtyPath){J.beginPath(),J.subPixelOptimize=!1,Q.buildPath(J,Q.shape),Q.__dirtyPath=!1;var he=x(J);he.indexOf("NaN")<0&&O(G,"d",he)}b(G,P,!1,Q),E(G,Q.transform),P.text!=null?U(Q,Q.getBoundingRect()):Y(Q)};var D={};D.brush=function(Q){var P=Q.style,G=P.image;if(G instanceof HTMLImageElement){var J=G.src;G=J}if(!G)return;var he=P.x||0,te=P.y||0,pe=P.width,we=P.height,be=Q.__svgEl;be||(be=L("image"),Q.__svgEl=be),G!==Q.__imageSrc&&(T(be,"href",G),Q.__imageSrc=G),O(be,"width",pe),O(be,"height",we),O(be,"x",he),O(be,"y",te),E(be,Q.transform),P.text!=null?U(Q,Q.getBoundingRect()):Y(Q)};var M={},R=new m,F={},B=[],z={left:"start",right:"end",center:"middle",middle:"middle"},U=function(P,G){var J=P.style,he=P.transform,te=P instanceof a||J.transformText;P.__dirty&&f.normalizeTextStyle(J,!0);var pe=J.text;if(pe!=null&&(pe+=""),!f.needDrawText(pe,J))return;pe==null&&(pe=""),!te&&he&&(R.copy(G),R.applyTransform(he),G=R);var we=P.__textSvgEl;we||(we=L("text"),P.__textSvgEl=we);var be=we.style,Qe=J.font||w.DEFAULT_FONT,$e=we.__computedFont;Qe!==we.__styleFont&&(be.font=we.__styleFont=Qe,$e=we.__computedFont=be.font);var yt=J.textPadding,Fe=J.textLineHeight,Pe=P.__textCotentBlock;(!Pe||P.__dirtyText)&&(Pe=P.__textCotentBlock=w.parsePlainText(pe,$e,yt,Fe,J.truncate));var gt=Pe.outerHeight,it=Pe.lineHeight;f.getBoxPosition(F,P,J,G);var qe=F.baseX,At=F.baseY,dt=F.textAlign||"left",wt=F.textVerticalAlign;K(we,te,he,J,G,qe,At);var Ye=w.adjustTextY(At,gt,wt),mt=qe,Ue=Ye;yt&&(mt=W(qe,dt,yt),Ue+=yt[0]),Ue+=it/2,b(we,J,!0,P);var Re=Pe.canCacheByTextString,Le=P.__tspanList||(P.__tspanList=[]),at=Le.length;if(Re&&P.__canCacheByTextString&&P.__text===pe){if(P.__dirtyText&&at)for(var Ot=0;Ot<at;++Ot)H(Le[Ot],dt,mt,Ue+Ot*it)}else{P.__text=pe,P.__canCacheByTextString=Re;for(var Tt=Pe.lines,Ft=Tt.length,Ot=0;Ot<Ft;Ot++){var ke=Le[Ot],Vt=Tt[Ot];ke?ke.__zrText!==Vt&&(ke.innerHTML="",ke.appendChild(document.createTextNode(Vt))):(ke=Le[Ot]=L("tspan"),we.appendChild(ke),ke.appendChild(document.createTextNode(Vt))),H(ke,dt,mt,Ue+Ot*it)}if(at>Ft){for(;Ot<at;Ot++)we.removeChild(Le[Ot]);Le.length=Ft}}};function K(Q,P,G,J,he,te,pe){y.identity(B),P&&G&&y.copy(B,G);var we=J.textRotation;if(he&&we){var be=J.textOrigin;be==="center"?(te=he.width/2+he.x,pe=he.height/2+he.y):be&&(te=be[0]+he.x,pe=be[1]+he.y),B[4]-=te,B[5]-=pe,y.rotate(B,B,we),B[4]+=te,B[5]+=pe}E(Q,B)}function W(Q,P,G){return P==="right"?Q-G[1]:P==="center"?Q+G[3]/2-G[1]/2:Q+G[3]}function H(Q,P,G,J){O(Q,"dominant-baseline","middle"),O(Q,"text-anchor",z[P]),O(Q,"x",G),O(Q,"y",J)}function Y(Q){Q&&Q.__textSvgEl&&(Q.__textSvgEl.parentNode&&Q.__textSvgEl.parentNode.removeChild(Q.__textSvgEl),Q.__textSvgEl=null,Q.__tspanList=[],Q.__text=null)}M.drawRectText=U,M.brush=function(Q){var P=Q.style;P.text!=null?U(Q,!1):Y(Q)},_.path=N,_.image=D,_.text=M},wsH2:function(Z,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var d=L(e("Td8K"));function L(m){return m&&m.__esModule?m:{default:m}}var v=d;_.default=v,Z.exports=v},ww29:function(Z,_,e){var d=e("2OMI"),L=e("Wa83"),v=L.applyTransform,m=d.CMD,y=[[],[],[]],w=Math.sqrt,f=Math.atan2;function a(t,o){var s=t.data,l,n,c,r,u,i,h=m.M,p=m.C,A=m.L,C=m.R,S=m.A,E=m.Q;for(c=0,r=0;c<s.length;){l=s[c++],r=c,n=0;switch(l){case h:n=1;break;case A:n=1;break;case p:n=3;break;case E:n=2;break;case S:var O=o[4],T=o[5],b=w(o[0]*o[0]+o[1]*o[1]),x=w(o[2]*o[2]+o[3]*o[3]),N=f(-o[1]/x,o[0]/b);s[c]*=b,s[c++]+=O,s[c]*=x,s[c++]+=T,s[c++]*=b,s[c++]*=x,s[c++]+=N,s[c++]+=N,c+=2,r=c;break;case C:i[0]=s[c++],i[1]=s[c++],v(i,i,o),s[r++]=i[0],s[r++]=i[1],i[0]+=s[c++],i[1]+=s[c++],v(i,i,o),s[r++]=i[0],s[r++]=i[1]}for(u=0;u<n;u++){var i=y[u];i[0]=s[c++],i[1]=s[c++],v(i,i,o),s[r++]=i[0],s[r++]=i[1]}}}Z.exports=a},wxYR:function(Z,_,e){var d=e("G8fk"),L=d([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),v={getAreaStyle:function(m,y){return L(this,m,y)}};Z.exports=v},wxqA:function(Z,_,e){},wzOG:function(Z,_){function e(d,L){for(var v=-1,m=d==null?0:d.length;++v<m;)if(L(d[v],v,d))return!0;return!1}Z.exports=e},x0lj:function(Z,_,e){var d=e("oEo5"),L=e("Jjzi"),v=L.parsePercent,m=d.each;function y(t){var o=w(t);m(o,function(s){var l=s.seriesModels;if(!l.length)return;f(s),m(l,function(n,c){a(n,s.boxOffsetList[c],s.boxWidthList[c])})})}function w(t){var o=[],s=[];return t.eachSeriesByType("boxplot",function(l){var n=l.getBaseAxis(),c=d.indexOf(s,n);c<0&&(c=s.length,s[c]=n,o[c]={axis:n,seriesModels:[]}),o[c].seriesModels.push(l)}),o}function f(t){var o,s=t.axis,l=t.seriesModels,n=l.length,c=t.boxWidthList=[],r=t.boxOffsetList=[],u=[],i;if(s.type==="category")i=s.getBandWidth();else{var h=0;m(l,function(E){h=Math.max(h,E.getData().count())}),o=s.getExtent(),Math.abs(o[1]-o[0])/h}m(l,function(E){var O=E.get("boxWidth");d.isArray(O)||(O=[O,O]),u.push([v(O[0],i)||0,v(O[1],i)||0])});var p=i*.8-2,A=p/n*.3,C=(p-A*(n-1))/n,S=C/2-p/2;m(l,function(E,O){r.push(S),S+=A+C,c.push(Math.min(Math.max(C,u[O][0]),u[O][1]))})}function a(t,o,s){var l=t.coordinateSystem,n=t.getData(),c=s/2,r=t.get("layout")==="horizontal"?0:1,u=1-r,i=["x","y"],h=n.mapDimension(i[r]),p=n.mapDimension(i[u],!0);if(h==null||p.length<5)return;for(var A=0;A<n.count();A++){var C=n.get(h,A),S=N(C,p[2],A),E=N(C,p[0],A),O=N(C,p[1],A),T=N(C,p[3],A),b=N(C,p[4],A),x=[];D(x,O,0),D(x,T,1),x.push(E,O,b,T),M(x,E),M(x,b),M(x,S),n.setItemLayout(A,{initBaseline:S[u],ends:x})}function N(R,F,B){var z=n.get(F,B),U=[];U[r]=R,U[u]=z;var K;return isNaN(R)||isNaN(z)?K=[NaN,NaN]:(K=l.dataToPoint(U),K[r]+=o),K}function D(R,F,B){var z=F.slice(),U=F.slice();z[r]+=c,U[r]-=c,B?R.push(z,U):R.push(U,z)}function M(R,F){var B=F.slice(),z=F.slice();B[r]-=c,z[r]+=c,R.push(B,z)}}Z.exports=y},xCJu:function(Z,_,e){var d=e("oEo5"),L=e("gyjJ"),v=e("QV7q"),m=v.makeInner,y=m(),w=d.each;function f(c,r,u){if(L.node)return;var i=r.getZr();y(i).records||(y(i).records={}),a(i,r);var h=y(i).records[c]||(y(i).records[c]={});h.handler=u}function a(c,r){if(y(c).initialized)return;y(c).initialized=!0,u("click",d.curry(s,"click")),u("mousemove",d.curry(s,"mousemove")),u("globalout",o);function u(i,h){c.on(i,function(p){var A=l(r);w(y(c).records,function(C){C&&h(C,p,A.dispatchAction)}),t(A.pendings,r)})}}function t(c,r){var u=c.showTip.length,i=c.hideTip.length,h;u?h=c.showTip[u-1]:i&&(h=c.hideTip[i-1]),h&&(h.dispatchAction=null,r.dispatchAction(h))}function o(c,r,u){c.handler("leave",null,u)}function s(c,r,u,i){r.handler(c,u,i)}function l(c){var r={showTip:[],hideTip:[]},u=function(i){var h=r[i.type];h?h.push(i):(i.dispatchAction=u,c.dispatchAction(i))};return{dispatchAction:u,pendings:r}}function n(c,r){if(L.node)return;var u=r.getZr(),i=(y(u).records||{})[c];i&&(y(u).records[c]=null)}_.register=f,_.unregister=n},xHkS:function(Z,_,e){var d=e("Q6Bq");e("l2wO"),e("+AkH"),e("TymS");var L=e("IO27"),v=e("luy6");d.registerVisual(L),d.registerLayout(v)},xHv9:function(Z,_,e){"use strict";var d=e("ZZRV"),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},v=L,m=e("XSrM"),y=function(a,t){return d.createElement(m.a,Object.assign({},a,{ref:t,icon:v}))};y.displayName="DeliveredProcedureOutlined";var w=_.a=d.forwardRef(y)},xNMw:function(Z,_,e){var d=e("k+fg"),L=d.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var v=this.get("progressiveThreshold"),m=this.get("largeThreshold");return m>v&&(v=m),v},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});Z.exports=L},xNk9:function(Z,_,e){"use strict";var d=e("LC9H"),L=e.n(d),v=e("HNeu"),m=e.n(v),y=e("CeOx")},xPmE:function(Z,_){var e=["lineStyle","normal","opacity"],d={seriesType:"parallel",reset:function(L,v,m){var y=L.getModel("itemStyle"),w=L.getModel("lineStyle"),f=v.get("color"),a=w.get("color")||y.get("color")||f[L.seriesIndex%f.length],t=L.get("inactiveOpacity"),o=L.get("activeOpacity"),s=L.getModel("lineStyle").getLineStyle(),l=L.coordinateSystem,n=L.getData(),c={normal:s.opacity,active:o,inactive:t};n.setVisual("color",a);function r(u,i){l.eachActiveState(i,function(h,p){var A=c[h];if(h==="normal"&&i.hasItemOption){var C=i.getItemModel(p).get(e,!0);C!=null&&(A=C)}i.setItemVisual(p,"opacity",A)},u.start,u.end)}return{progress:r}}};Z.exports=d},xTFY:function(Z,_){var e=9007199254740991,d=/^(?:0|[1-9]\d*)$/;function L(v,m){var y=typeof v;return m=m==null?e:m,!!m&&(y=="number"||y!="symbol"&&d.test(v))&&(v>-1&&v%1==0)&&v<m}Z.exports=L},xTec:function(Z,_,e){var d=e("Q6Bq"),L=e("oEo5"),v=e("P0S0"),m=e("QV7q"),y=m.isNameSpecified,w=e("B2QF"),f=w.legend.selector,a={all:{type:"all",title:L.clone(f.all)},inverse:{type:"inverse",title:L.clone(f.inverse)}},t=d.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(s,l,n){this.mergeDefaultAndTheme(s,n),s.selected=s.selected||{},this._updateSelector(s)},mergeOption:function(s){t.superCall(this,"mergeOption",s),this._updateSelector(s)},_updateSelector:function(s){var l=s.selector;l===!0&&(l=s.selector=["all","inverse"]),L.isArray(l)&&L.each(l,function(n,c){L.isString(n)&&(n={type:n}),l[c]=L.merge(n,a[n.type])})},optionUpdated:function(){this._updateData(this.ecModel);var s=this._data;if(s[0]&&this.get("selectedMode")==="single"){for(var l=!1,n=0;n<s.length;n++){var c=s[n].get("name");if(this.isSelected(c)){this.select(c),l=!0;break}}!l&&this.select(s[0].get("name"))}},_updateData:function(s){var l=[],n=[];s.eachRawSeries(function(u){var i=u.name;n.push(i);var h;if(u.legendVisualProvider){var p=u.legendVisualProvider,A=p.getAllNames();s.isSeriesFiltered(u)||(n=n.concat(A)),A.length?l=l.concat(A):h=!0}else h=!0;h&&y(u)&&l.push(u.name)}),this._availableNames=n;var c=this.get("data")||l,r=L.map(c,function(u){return(typeof u=="string"||typeof u=="number")&&(u={name:u}),new v(u,this,this.ecModel)},this);this._data=r},getData:function(){return this._data},select:function(s){var l=this.option.selected,n=this.get("selectedMode");if(n==="single"){var c=this._data;L.each(c,function(r){l[r.get("name")]=!1})}l[s]=!0},unSelect:function(s){this.get("selectedMode")!=="single"&&(this.option.selected[s]=!1)},toggleSelected:function(s){var l=this.option.selected;l.hasOwnProperty(s)||(l[s]=!0),this[l[s]?"unSelect":"select"](s)},allSelect:function(){var s=this._data,l=this.option.selected;L.each(s,function(n){l[n.get("name",!0)]=!0})},inverseSelect:function(){var s=this._data,l=this.option.selected;L.each(s,function(n){var c=n.get("name",!0);l.hasOwnProperty(c)||(l[c]=!0),l[c]=!l[c]})},isSelected:function(s){var l=this.option.selected;return!(l.hasOwnProperty(s)&&!l[s])&&L.indexOf(this._availableNames,s)>=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),o=t;Z.exports=o},xYud:function(Z,_,e){var d=e("9mCu"),L=e("oEo5"),v=e("86p4"),m=e("XTQn");function y(f,a){d.call(this,f,a,["linearGradient","radialGradient"],"__gradient_in_use__")}L.inherits(y,d),y.prototype.addWithoutUpdate=function(f,a){if(a&&a.style){var t=this;L.each(["fill","stroke"],function(o){if(a.style[o]&&(a.style[o].type==="linear"||a.style[o].type==="radial")){var s=a.style[o],l=t.getDefs(!0),n;s._dom?(n=s._dom,l.contains(s._dom)||t.addDom(n)):n=t.add(s),t.markUsed(a);var c=n.getAttribute("id");f.setAttribute(o,"url(#"+c+")")}})}},y.prototype.add=function(f){var a;if(f.type==="linear")a=this.createElement("linearGradient");else if(f.type==="radial")a=this.createElement("radialGradient");else return v("Illegal gradient type."),null;return f.id=f.id||this.nextId++,a.setAttribute("id","zr"+this._zrId+"-gradient-"+f.id),this.updateDom(f,a),this.addDom(a),a},y.prototype.update=function(f){var a=this;d.prototype.update.call(this,f,function(){var t=f.type,o=f._dom.tagName;t==="linear"&&o==="linearGradient"||t==="radial"&&o==="radialGradient"?a.updateDom(f,f._dom):(a.removeDom(f),a.add(f))})},y.prototype.updateDom=function(f,a){if(f.type==="linear")a.setAttribute("x1",f.x),a.setAttribute("y1",f.y),a.setAttribute("x2",f.x2),a.setAttribute("y2",f.y2);else if(f.type==="radial")a.setAttribute("cx",f.x),a.setAttribute("cy",f.y),a.setAttribute("r",f.r);else{v("Illegal gradient type.");return}f.global?a.setAttribute("gradientUnits","userSpaceOnUse"):a.setAttribute("gradientUnits","objectBoundingBox"),a.innerHTML="";for(var t=f.colorStops,o=0,s=t.length;o<s;++o){var l=this.createElement("stop");l.setAttribute("offset",t[o].offset*100+"%");var n=t[o].color;if(n.indexOf("rgba")>-1){var c=m.parse(n)[3],r=m.toHex(n);l.setAttribute("stop-color","#"+r),l.setAttribute("stop-opacity",c)}else l.setAttribute("stop-color",t[o].color);a.appendChild(l)}f._dom=a},y.prototype.markUsed=function(f){if(f.style){var a=f.style.fill;a&&a._dom&&d.prototype.markUsed.call(this,a._dom),a=f.style.stroke,a&&a._dom&&d.prototype.markUsed.call(this,a._dom)}};var w=y;Z.exports=w},xdc2:function(Z,_,e){var d=e("+Vnd"),L=e("Zmji"),v=e("CQhY"),m=v.encodeHTML,y=e("P0S0"),w=e("IPcT"),f=w.__DEV__,a=d.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(o,s){for(var l=o.edges||o.links,n=o.data||o.nodes,c=o.levels,r=this.levelModels={},u=0;u<c.length;u++)c[u].depth!=null&&c[u].depth>=0&&(r[c[u].depth]=new y(c[u],this,s));if(n&&l){var i=L(n,l,this,!0,h);return i.data}function h(p,A){p.wrapMethod("getItemModel",function(C,S){return C.customizeGetParent(function(E){var O=this.parentModel,T=O.getData().getItemLayout(S).depth,b=O.levelModels[T];return b||this.parentModel}),C}),A.wrapMethod("getItemModel",function(C,S){return C.customizeGetParent(function(E){var O=this.parentModel,T=O.getGraph().getEdgeByIndex(S),b=T.node1.getLayout().depth,x=O.levelModels[b];return x||this.parentModel}),C})}},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),c=n.data,r=c.source+" -- "+c.target;return n.value&&(r+=" : "+n.value),m(r)}else if(l==="node"){var u=this.getGraph().getNodeByIndex(o),i=u.getLayout().value,h=this.getDataParams(o,l).data.name;if(i)var r=h+" : "+i;return m(r)}return a.superCall(this,"formatTooltip",o,s)},optionUpdated:function(){var o=this.option;o.focusNodeAdjacency===!0&&(o.focusNodeAdjacency="allEdges")},getDataParams:function(o,s){var l=a.superCall(this,"getDataParams",o,s);if(l.value==null&&s==="node"){var n=this.getGraph().getNodeByIndex(o),c=n.getLayout().value;l.value=c}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}}),t=a;Z.exports=t},xjlc:function(Z,_,e){var d=e("Q6Bq");e("xdc2"),e("QAa3"),e("XSBz");var L=e("0+Dw"),v=e("peMG");d.registerLayout(L),d.registerVisual(v)},xn3O:function(Z,_,e){},xrLW:function(Z,_,e){var d=e("JArH");function L(v){return v==null?"":d(v)}Z.exports=L},xx5k:function(Z,_,e){var d=e("oEo5"),L=e("F62y"),v=e("zYjg"),m=e("342z"),y=e("PyNg"),w=y.createClipPath,f=["itemStyle"],a=["emphasis","itemStyle"],t=["color","color0","borderColor","borderColor0"],o=L.extend({type:"candlestick",render:function(A,C,S){this.group.removeClipPath(),this._updateDrawMode(A),this._isLargeDraw?this._renderLarge(A):this._renderNormal(A)},incrementalPrepareRender:function(A,C,S){this._clear(),this._updateDrawMode(A)},incrementalRender:function(A,C,S,E){this._isLargeDraw?this._incrementalRenderLarge(A,C):this._incrementalRenderNormal(A,C)},_updateDrawMode:function(A){var C=A.pipelineContext.large;(this._isLargeDraw==null||C^this._isLargeDraw)&&(this._isLargeDraw=C,this._clear())},_renderNormal:function(A){var C=A.getData(),S=this._data,E=this.group,O=C.getLayout("isSimpleBox"),T=A.get("clip",!0),b=A.coordinateSystem,x=b.getArea&&b.getArea();this._data||E.removeAll(),C.diff(S).add(function(N){if(C.hasValue(N)){var D,M=C.getItemLayout(N);if(T&&n(x,M))return;D=l(M,N,!0),v.initProps(D,{shape:{points:M.ends}},A,N),c(D,C,N,O),E.add(D),C.setItemGraphicEl(N,D)}}).update(function(N,D){var M=S.getItemGraphicEl(D);if(!C.hasValue(N)){E.remove(M);return}var R=C.getItemLayout(N);if(T&&n(x,R)){E.remove(M);return}M?v.updateProps(M,{shape:{points:R.ends}},A,N):M=l(R,N),c(M,C,N,O),E.add(M),C.setItemGraphicEl(N,M)}).remove(function(N){var D=S.getItemGraphicEl(N);D&&E.remove(D)}).execute(),this._data=C},_renderLarge:function(A){this._clear(),i(A,this.group);var C=A.get("clip",!0)?w(A.coordinateSystem,!1,A):null;C?this.group.setClipPath(C):this.group.removeClipPath()},_incrementalRenderNormal:function(A,C){for(var S=C.getData(),E=S.getLayout("isSimpleBox"),O;(O=A.next())!=null;){var T,b=S.getItemLayout(O);T=l(b,O),c(T,S,O,E),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(A,C){i(C,this.group,!0)},remove:function(A){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:d.noop}),s=m.extend({type:"normalCandlestickBox",shape:{},buildPath:function(A,C){var S=C.points;this.__simpleBox?(A.moveTo(S[4][0],S[4][1]),A.lineTo(S[6][0],S[6][1])):(A.moveTo(S[0][0],S[0][1]),A.lineTo(S[1][0],S[1][1]),A.lineTo(S[2][0],S[2][1]),A.lineTo(S[3][0],S[3][1]),A.closePath(),A.moveTo(S[4][0],S[4][1]),A.lineTo(S[5][0],S[5][1]),A.moveTo(S[6][0],S[6][1]),A.lineTo(S[7][0],S[7][1]))}});function l(A,C,S){var E=A.ends;return new s({shape:{points:S?r(E,A):E},z2:100})}function n(A,C){for(var S=!0,E=0;E<C.ends.length;E++)if(A.contain(C.ends[E][0],C.ends[E][1])){S=!1;break}return S}function c(A,C,S,E){var O=C.getItemModel(S),T=O.getModel(f),b=C.getItemVisual(S,"color"),x=C.getItemVisual(S,"borderColor")||b,N=T.getItemStyle(t);A.useStyle(N),A.style.strokeNoScale=!0,A.style.fill=b,A.style.stroke=x,A.__simpleBox=E;var D=O.getModel(a).getItemStyle();v.setHoverStyle(A,D)}function r(A,C){return d.map(A,function(S){return S=S.slice(),S[1]=C.initBaseline,S})}var u=m.extend({type:"largeCandlestickBox",shape:{},buildPath:function(A,C){for(var S=C.points,E=0;E<S.length;)if(this.__sign===S[E++]){var O=S[E++];A.moveTo(O,S[E++]),A.lineTo(O,S[E++])}else E+=3}});function i(A,C,S){var E=A.getData(),O=E.getLayout("largePoints"),T=new u({shape:{points:O},__sign:1});C.add(T);var b=new u({shape:{points:O},__sign:-1});C.add(b),h(1,T,A,E),h(-1,b,A,E),S&&(T.incremental=!0,b.incremental=!0)}function h(A,C,S,E){var O=A>0?"P":"N",T=E.getVisual("borderColor"+O)||E.getVisual("color"+O),b=S.getModel(f).getItemStyle(t);C.useStyle(b),C.style.fill=null,C.style.stroke=T}var p=o;Z.exports=p},xxVc:function(Z,_,e){var d=e("oEo5"),L=e("XTQn"),v=e("YsOP"),m=e("Jjzi"),y=e("zYjg"),w=e("aiPM"),f=e("4M5R"),a=function(r,u,i,h){var p=w.dataTransform(r,h[0]),A=w.dataTransform(r,h[1]),C=d.retrieve,S=p.coord,E=A.coord;S[0]=C(S[0],-Infinity),S[1]=C(S[1],-Infinity),E[0]=C(E[0],Infinity),E[1]=C(E[1],Infinity);var O=d.mergeAll([{},p,A]);return O.coord=[p.coord,A.coord],O.x0=p.x,O.y0=p.y,O.x1=A.x,O.y1=A.y,O};function t(r){return!isNaN(r)&&!isFinite(r)}function o(r,u,i,h){var p=1-r;return t(u[p])&&t(i[p])}function s(r,u){var i=u.coord[0],h=u.coord[1];return r.type==="cartesian2d"&&(i&&h&&(o(1,i,h,r)||o(0,i,h,r)))?!0:w.dataFilter(r,{coord:i,x:u.x0,y:u.y0})||w.dataFilter(r,{coord:h,x:u.x1,y:u.y1})}function l(r,u,i,h,p){var A=h.coordinateSystem,C=r.getItemModel(u),S,E=m.parsePercent(C.get(i[0]),p.getWidth()),O=m.parsePercent(C.get(i[1]),p.getHeight());if(!isNaN(E)&&!isNaN(O))S=[E,O];else{if(h.getMarkerPosition)S=h.getMarkerPosition(r.getValues(i,u));else{var T=r.get(i[0],u),b=r.get(i[1],u),x=[T,b];A.clampData&&A.clampData(x,x),S=A.dataToPoint(x,!0)}if(A.type==="cartesian2d"){var N=A.getAxis("x"),D=A.getAxis("y"),T=r.get(i[0],u),b=r.get(i[1],u);t(T)?S[0]=N.toGlobalCoord(N.getExtent()[i[0]==="x0"?0:1]):t(b)&&(S[1]=D.toGlobalCoord(D.getExtent()[i[1]==="y0"?0:1]))}isNaN(E)||(S[0]=E),isNaN(O)||(S[1]=O)}return S}var n=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];f.extend({type:"markArea",updateTransform:function(r,u,i){u.eachSeries(function(h){var p=h.markAreaModel;if(p){var A=p.getData();A.each(function(C){var S=d.map(n,function(O){return l(A,C,O,h,i)});A.setItemLayout(C,S);var E=A.getItemGraphicEl(C);E.setShape("points",S)})}},this)},renderSeries:function(r,u,i,h){var p=r.coordinateSystem,A=r.id,C=r.getData(),S=this.markerGroupMap,E=S.get(A)||S.set(A,{group:new y.Group});this.group.add(E.group),E.__keep=!0;var O=c(p,r,u);u.setData(O),O.each(function(T){var b=d.map(n,function(N){return l(O,T,N,r,h)}),x=!0;d.each(n,function(N){if(!x)return;var D=O.get(N[0],T),M=O.get(N[1],T);(t(D)||p.getAxis("x").containData(D))&&(t(M)||p.getAxis("y").containData(M))&&(x=!1)}),O.setItemLayout(T,{points:b,allClipped:x}),O.setItemVisual(T,{color:C.getVisual("color")})}),O.diff(E.__data).add(function(T){var b=O.getItemLayout(T);if(!b.allClipped){var x=new y.Polygon({shape:{points:b.points}});O.setItemGraphicEl(T,x),E.group.add(x)}}).update(function(T,b){var x=E.__data.getItemGraphicEl(b),N=O.getItemLayout(T);N.allClipped?x&&E.group.remove(x):(x?y.updateProps(x,{shape:{points:N.points}},u,T):x=new y.Polygon({shape:{points:N.points}}),O.setItemGraphicEl(T,x),E.group.add(x))}).remove(function(T){var b=E.__data.getItemGraphicEl(T);E.group.remove(b)}).execute(),O.eachItemGraphicEl(function(T,b){var x=O.getItemModel(b),N=x.getModel("label"),D=x.getModel("emphasis.label"),M=O.getItemVisual(b,"color");T.useStyle(d.defaults(x.getModel("itemStyle").getItemStyle(),{fill:L.modifyAlpha(M,.4),stroke:M})),T.hoverStyle=x.getModel("emphasis.itemStyle").getItemStyle(),y.setLabelStyle(T.style,T.hoverStyle,N,D,{labelFetcher:u,labelDataIndex:b,defaultText:O.getName(b)||"",isRectText:!0,autoColor:M}),y.setHoverStyle(T,{}),T.dataModel=u}),E.__data=O,E.group.silent=u.get("silent")||r.get("silent")}});function c(r,u,i){var h,p,A=["x0","y0","x1","y1"];r?(h=d.map(r&&r.dimensions,function(E){var O=u.getData(),T=O.getDimensionInfo(O.mapDimension(E))||{};return d.defaults({name:E},T)}),p=new v(d.map(A,function(E,O){return{name:E,type:h[O%2].type}}),i)):(h=[{name:"value",type:"float"}],p=new v(h,i));var C=d.map(i.get("data"),d.curry(a,u,r,i));r&&(C=d.filter(C,d.curry(s,r)));var S=r?function(E,O,T,b){return E.coord[Math.floor(b/2)][b%2]}:function(E){return E.value};return p.initData(C,null,S),p.hasItemOption=!0,p}},xyD8:function(Z,_,e){var d=e("hmv6"),L="__lodash_hash_undefined__",v=Object.prototype,m=v.hasOwnProperty;function y(w){var f=this.__data__;if(d){var a=f[w];return a===L?void 0:a}return m.call(f,w)?f[w]:void 0}Z.exports=y},"y+8q":function(Z,_,e){var d=e("zYjg"),L=e("o2YK"),v=e("oMIb"),m=e("Og4i"),y=d.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,o){var s=o.segs,l=o.curveness;if(o.polyline)for(var n=0;n<s.length;){var c=s[n++];if(c>0){t.moveTo(s[n++],s[n++]);for(var r=1;r<c;r++)t.lineTo(s[n++],s[n++])}}else for(var n=0;n<s.length;){var u=s[n++],i=s[n++],h=s[n++],p=s[n++];if(t.moveTo(u,i),l>0){var A=(u+h)/2-(i-p)*l,C=(i+p)/2-(h-u)*l;t.quadraticCurveTo(A,C,h,p)}else t.lineTo(h,p)}},findDataIndex:function(t,o){var s=this.shape,l=s.segs,n=s.curveness;if(s.polyline)for(var c=0,r=0;r<l.length;){var u=l[r++];if(u>0)for(var i=l[r++],h=l[r++],p=1;p<u;p++){var A=l[r++],C=l[r++];if(v.containStroke(i,h,A,C))return c}c++}else for(var c=0,r=0;r<l.length;){var i=l[r++],h=l[r++],A=l[r++],C=l[r++];if(n>0){var S=(i+A)/2-(h-C)*n,E=(h+C)/2-(A-i)*n;if(m.containStroke(i,h,S,E,A,C))return c}else if(v.containStroke(i,h,A,C))return c;c++}return-1}});function w(){this.group=new d.Group}var f=w.prototype;f.isPersistent=function(){return!this._incremental},f.updateData=function(t){this.group.removeAll();var o=new y({rectHover:!0,cursor:"default"});o.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(o,t),this.group.add(o),this._incremental=null},f.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new L({silent:!0})),this.group.add(this._incremental)):this._incremental=null},f.incrementalUpdate=function(t,o){var s=new y;s.setShape({segs:o.getLayout("linesPoints")}),this._setCommon(s,o,!!this._incremental),this._incremental?this._incremental.addDisplayable(s,!0):(s.rectHover=!0,s.cursor="default",s.__startIndex=t.start,this.group.add(s))},f.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},f._setCommon=function(t,o,s){var l=o.hostModel;t.setShape({polyline:l.get("polyline"),curveness:l.get("lineStyle.curveness")}),t.useStyle(l.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var n=o.getVisual("color");n&&t.setStyle("stroke",n),t.setStyle("fill"),s||(t.seriesIndex=l.seriesIndex,t.on("mousemove",function(c){t.dataIndex=null;var r=t.findDataIndex(c.offsetX,c.offsetY);r>0&&(t.dataIndex=r+t.__startIndex)}))},f._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var a=w;Z.exports=a},"y+QW":function(Z,_,e){Z.exports=[e("XrNv"),e("fhRw"),e("OsXk"),e("kZIm"),e("gXlW"),e("NVK6")]},y6TG:function(Z,_,e){var d=e("oEo5"),L={updateSelectedMap:function(v){this._targetList=d.isArray(v)?v.slice():[],this._selectTargetMap=d.reduce(v||[],function(m,y){return m.set(y.name,y),m},d.createHashMap())},select:function(v,m){var y=m!=null?this._targetList[m]:this._selectTargetMap.get(v),w=this.get("selectedMode");w==="single"&&this._selectTargetMap.each(function(f){f.selected=!1}),y&&(y.selected=!0)},unSelect:function(v,m){var y=m!=null?this._targetList[m]:this._selectTargetMap.get(v);y&&(y.selected=!1)},toggleSelected:function(v,m){var y=m!=null?this._targetList[m]:this._selectTargetMap.get(v);if(y!=null)return this[y.selected?"unSelect":"select"](v,m),y.selected},isSelected:function(v,m){var y=m!=null?this._targetList[m]:this._selectTargetMap.get(v);return y&&y.selected}};Z.exports=L},y9yD:function(Z,_,e){var d=e("jBg4"),L=e("hsS0"),v=e("U3SQ"),m=e("asMo"),y=e("Wmz4"),w=e("H3Ql"),f=1,a=2,t="[object Boolean]",o="[object Date]",s="[object Error]",l="[object Map]",n="[object Number]",c="[object RegExp]",r="[object Set]",u="[object String]",i="[object Symbol]",h="[object ArrayBuffer]",p="[object DataView]",A=d?d.prototype:void 0,C=A?A.valueOf:void 0;function S(E,O,T,b,x,N,D){switch(T){case p:if(E.byteLength!=O.byteLength||E.byteOffset!=O.byteOffset)return!1;E=E.buffer,O=O.buffer;case h:return!(E.byteLength!=O.byteLength||!N(new L(E),new L(O)));case t:case o:case n:return v(+E,+O);case s:return E.name==O.name&&E.message==O.message;case c:case u:return E==O+"";case l:var M=y;case r:var R=b&f;if(M||(M=w),E.size!=O.size&&!R)return!1;var F=D.get(E);if(F)return F==O;b|=a,D.set(E,O);var B=m(M(E),M(O),b,x,N,D);return D.delete(E),B;case i:if(C)return C.call(E)==C.call(O)}return!1}Z.exports=S},yMd2:function(Z,_,e){(function(d,L){(function(v,m){Z.exports=m(e("GvcB"),e("By5E"))})(this,function(v,m){"use strict";v=v&&v.hasOwnProperty("default")?v.default:v,m=m&&m.hasOwnProperty("default")?m.default:m;var y=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},w=Object.assign||function(S){for(var E=1;E<arguments.length;E++){var O=arguments[E];for(var T in O)Object.prototype.hasOwnProperty.call(O,T)&&(S[T]=O[T])}return S},f=function(E){var O=typeof E=="undefined"?"undefined":y(E);return O==="undefined"?"undefined":O==="string"||E instanceof String?"string":O==="number"||E instanceof Number?"number":O==="function"||E instanceof Function?"function":!!E&&E.constructor===Array?"array":E&&E.nodeType===1?"element":O==="object"?"object":"unknown"},a=function(E,O){var T=document.createElement(E);if(O.className&&(T.className=O.className),O.innerHTML){T.innerHTML=O.innerHTML;for(var b=T.getElementsByTagName("script"),x=b.length;x-- >0;null)b[x].parentNode.removeChild(b[x])}for(var N in O.style)T.style[N]=O.style[N];return T},t=function S(E,O){for(var T=E.nodeType===3?document.createTextNode(E.nodeValue):E.cloneNode(!1),b=E.firstChild;b;b=b.nextSibling)(O===!0||b.nodeType!==1||b.nodeName!=="SCRIPT")&&T.appendChild(S(b,O));return E.nodeType===1&&(E.nodeName==="CANVAS"?(T.width=E.width,T.height=E.height,T.getContext("2d").drawImage(E,0,0)):(E.nodeName==="TEXTAREA"||E.nodeName==="SELECT")&&(T.value=E.value),T.addEventListener("load",function(){T.scrollTop=E.scrollTop,T.scrollLeft=E.scrollLeft},!0)),T},o=function(E,O){if(f(E)==="number")return E*72/96/O;var T={};for(var b in E)T[b]=E[b]*72/96/O;return T},s=function(E,O){return Math.floor(E*O/72*96)},l=typeof window!="undefined"?window:typeof d!="undefined"?d:typeof self!="undefined"?self:{};function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function c(S,E){return E={exports:{}},S(E,E.exports),E.exports}var r=c(function(S,E){/*!
|
||
* @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(O,T){S.exports=T()})(l,function(){function O(zt){var Pt=typeof zt;return zt!==null&&(Pt==="object"||Pt==="function")}function T(zt){return typeof zt=="function"}var b=void 0;Array.isArray?b=Array.isArray:b=function(Pt){return Object.prototype.toString.call(Pt)==="[object Array]"};var x=b,N=0,D=void 0,M=void 0,R=function(Pt,qt){he[N]=Pt,he[N+1]=qt,N+=2,N===2&&(M?M(te):we())};function F(zt){M=zt}function B(zt){R=zt}var z=typeof window!="undefined"?window:void 0,U=z||{},K=U.MutationObserver||U.WebKitMutationObserver,W=typeof self=="undefined"&&typeof L!="undefined"&&{}.toString.call(L)==="[object process]",H=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Y(){return function(){return L.nextTick(te)}}function Q(){return typeof D!="undefined"?function(){D(te)}:J()}function P(){var zt=0,Pt=new K(te),qt=document.createTextNode("");return Pt.observe(qt,{characterData:!0}),function(){qt.data=zt=++zt%2}}function G(){var zt=new MessageChannel;return zt.port1.onmessage=te,function(){return zt.port2.postMessage(0)}}function J(){var zt=setTimeout;return function(){return zt(te,1)}}var he=new Array(1e3);function te(){for(var zt=0;zt<N;zt+=2){var Pt=he[zt],qt=he[zt+1];Pt(qt),he[zt]=void 0,he[zt+1]=void 0}N=0}function pe(){try{var zt=Function("return this")().require("vertx");return D=zt.runOnLoop||zt.runOnContext,Q()}catch(Pt){return J()}}var we=void 0;W?we=Y():K?we=P():H?we=G():z===void 0&&typeof n=="function"?we=pe():we=J();function be(zt,Pt){var qt=this,or=new this.constructor(yt);or[$e]===void 0&&xt(or);var Kt=qt._state;if(Kt){var Mt=arguments[Kt-1];R(function(){return Vt(Kt,or,Mt,qt._result)})}else Tt(qt,or,zt,Pt);return or}function Qe(zt){var Pt=this;if(zt&&typeof zt=="object"&&zt.constructor===Pt)return zt;var qt=new Pt(yt);return Re(qt,zt),qt}var $e=Math.random().toString(36).substring(2);function yt(){}var Fe=void 0,Pe=1,gt=2,it={error:null};function qe(){return new TypeError("You cannot resolve a promise with itself")}function At(){return new TypeError("A promises callback cannot return that same promise.")}function dt(zt){try{return zt.then}catch(Pt){return it.error=Pt,it}}function wt(zt,Pt,qt,or){try{zt.call(Pt,qt,or)}catch(Kt){return Kt}}function Ye(zt,Pt,qt){R(function(or){var Kt=!1,Mt=wt(qt,Pt,function(me){if(Kt)return;Kt=!0,Pt!==me?Re(or,me):at(or,me)},function(me){if(Kt)return;Kt=!0,Ot(or,me)},"Settle: "+(or._label||" unknown promise"));!Kt&&Mt&&(Kt=!0,Ot(or,Mt))},zt)}function mt(zt,Pt){Pt._state===Pe?at(zt,Pt._result):Pt._state===gt?Ot(zt,Pt._result):Tt(Pt,void 0,function(qt){return Re(zt,qt)},function(qt){return Ot(zt,qt)})}function Ue(zt,Pt,qt){Pt.constructor===zt.constructor&&qt===be&&Pt.constructor.resolve===Qe?mt(zt,Pt):qt===it?(Ot(zt,it.error),it.error=null):qt===void 0?at(zt,Pt):T(qt)?Ye(zt,Pt,qt):at(zt,Pt)}function Re(zt,Pt){zt===Pt?Ot(zt,qe()):O(Pt)?Ue(zt,Pt,dt(Pt)):at(zt,Pt)}function Le(zt){zt._onerror&&zt._onerror(zt._result),Ft(zt)}function at(zt,Pt){if(zt._state!==Fe)return;zt._result=Pt,zt._state=Pe,zt._subscribers.length!==0&&R(Ft,zt)}function Ot(zt,Pt){if(zt._state!==Fe)return;zt._state=gt,zt._result=Pt,R(Le,zt)}function Tt(zt,Pt,qt,or){var Kt=zt._subscribers,Mt=Kt.length;zt._onerror=null,Kt[Mt]=Pt,Kt[Mt+Pe]=qt,Kt[Mt+gt]=or,Mt===0&&zt._state&&R(Ft,zt)}function Ft(zt){var Pt=zt._subscribers,qt=zt._state;if(Pt.length===0)return;for(var or=void 0,Kt=void 0,Mt=zt._result,me=0;me<Pt.length;me+=3)or=Pt[me],Kt=Pt[me+qt],or?Vt(qt,or,Kt,Mt):Kt(Mt);zt._subscribers.length=0}function ke(zt,Pt){try{return zt(Pt)}catch(qt){return it.error=qt,it}}function Vt(zt,Pt,qt,or){var Kt=T(qt),Mt=void 0,me=void 0,ce=void 0,ae=void 0;if(Kt){if(Mt=ke(qt,or),Mt===it?(ae=!0,me=Mt.error,Mt.error=null):ce=!0,Pt===Mt){Ot(Pt,At());return}}else Mt=or,ce=!0;Pt._state!==Fe||(Kt&&ce?Re(Pt,Mt):ae?Ot(Pt,me):zt===Pe?at(Pt,Mt):zt===gt&&Ot(Pt,Mt))}function bt(zt,Pt){try{Pt(function(or){Re(zt,or)},function(or){Ot(zt,or)})}catch(qt){Ot(zt,qt)}}var Rt=0;function Nt(){return Rt++}function xt(zt){zt[$e]=Rt++,zt._state=void 0,zt._result=void 0,zt._subscribers=[]}function Ut(){return new Error("Array Methods must be provided an Array")}var Ze=function(){function zt(Pt,qt){this._instanceConstructor=Pt,this.promise=new Pt(yt),this.promise[$e]||xt(this.promise),x(qt)?(this.length=qt.length,this._remaining=qt.length,this._result=new Array(this.length),this.length===0?at(this.promise,this._result):(this.length=this.length||0,this._enumerate(qt),this._remaining===0&&at(this.promise,this._result))):Ot(this.promise,Ut())}return zt.prototype._enumerate=function(qt){for(var or=0;this._state===Fe&&or<qt.length;or++)this._eachEntry(qt[or],or)},zt.prototype._eachEntry=function(qt,or){var Kt=this._instanceConstructor,Mt=Kt.resolve;if(Mt===Qe){var me=dt(qt);if(me===be&&qt._state!==Fe)this._settledAt(qt._state,or,qt._result);else if(typeof me!="function")this._remaining--,this._result[or]=qt;else if(Kt===je){var ce=new Kt(yt);Ue(ce,qt,me),this._willSettleAt(ce,or)}else this._willSettleAt(new Kt(function(ae){return ae(qt)}),or)}else this._willSettleAt(Mt(qt),or)},zt.prototype._settledAt=function(qt,or,Kt){var Mt=this.promise;Mt._state===Fe&&(this._remaining--,qt===gt?Ot(Mt,Kt):this._result[or]=Kt),this._remaining===0&&at(Mt,this._result)},zt.prototype._willSettleAt=function(qt,or){var Kt=this;Tt(qt,void 0,function(Mt){return Kt._settledAt(Pe,or,Mt)},function(Mt){return Kt._settledAt(gt,or,Mt)})},zt}();function ze(zt){return new Ze(this,zt).promise}function re(zt){var Pt=this;return x(zt)?new Pt(function(qt,or){for(var Kt=zt.length,Mt=0;Mt<Kt;Mt++)Pt.resolve(zt[Mt]).then(qt,or)}):new Pt(function(qt,or){return or(new TypeError("You must pass an array to race."))})}function le(zt){var Pt=this,qt=new Pt(yt);return Ot(qt,zt),qt}function Xe(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function _e(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var je=function(){function zt(Pt){this[$e]=Nt(),this._result=this._state=void 0,this._subscribers=[],yt!==Pt&&(typeof Pt!="function"&&Xe(),this instanceof zt?bt(this,Pt):_e())}return zt.prototype.catch=function(qt){return this.then(null,qt)},zt.prototype.finally=function(qt){var or=this,Kt=or.constructor;return T(qt)?or.then(function(Mt){return Kt.resolve(qt()).then(function(){return Mt})},function(Mt){return Kt.resolve(qt()).then(function(){throw Mt})}):or.then(qt,qt)},zt}();je.prototype.then=be,je.all=ze,je.race=re,je.resolve=Qe,je.reject=le,je._setScheduler=F,je._setAsap=B,je._asap=R;function ar(){var zt=void 0;if(typeof l!="undefined")zt=l;else if(typeof self!="undefined")zt=self;else try{zt=Function("return this")()}catch(or){throw new Error("polyfill failed because global object is unavailable in this environment")}var Pt=zt.Promise;if(Pt){var qt=null;try{qt=Object.prototype.toString.call(Pt.resolve())}catch(or){}if(qt==="[object Promise]"&&!Pt.cast)return}zt.Promise=je}return je.polyfill=ar,je.Promise=je,je})}),u=r.Promise,i=function S(E){var O=w(S.convert(u.resolve()),JSON.parse(JSON.stringify(S.template))),T=S.convert(u.resolve(),O);return T=T.setProgress(1,S,1,[S]),T=T.set(E),T};i.prototype=Object.create(u.prototype),i.prototype.constructor=i,i.convert=function(E,O){return E.__proto__=O||i.prototype,E},i.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},i.prototype.from=function(E,O){function T(b){switch(f(b)){case"string":return"string";case"element":return b.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){O=O||T(E);switch(O){case"string":return this.set({src:a("div",{innerHTML:E})});case"element":return this.set({src:E});case"canvas":return this.set({canvas:E});case"img":return this.set({img:E});default:return this.error("Unknown source type.")}})},i.prototype.to=function(E){switch(E){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},i.prototype.toContainer=function(){var E=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(E).then(function(){var T={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},b={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};T.opacity=0;var x=t(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=a("div",{className:"html2pdf__overlay",style:T}),this.prop.container=a("div",{className:"html2pdf__container",style:b}),this.prop.container.appendChild(x),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},i.prototype.toCanvas=function(){var E=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(E).then(function(){var T=w({},this.opt.html2canvas);return delete T.onrendered,m(this.prop.container,T)}).then(function(T){var b=this.opt.html2canvas.onrendered||function(){};b(T),this.prop.canvas=T,document.body.removeChild(this.prop.overlay)})},i.prototype.toImg=function(){var E=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(E).then(function(){var T=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=T})},i.prototype.toPdf=function(){var E=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(E).then(function(){var T=this.prop.canvas,b=this.opt,x=T.height,N=Math.floor(T.width*this.prop.pageSize.inner.ratio),D=Math.ceil(x/N),M=this.prop.pageSize.inner.height,R=document.createElement("canvas"),F=R.getContext("2d");R.width=T.width,R.height=N,this.prop.pdf=this.prop.pdf||new v(b.jsPDF);for(var B=0;B<D;B++){B===D-1&&x%N!==0&&(R.height=x%N,M=R.height*this.prop.pageSize.inner.width/R.width);var z=R.width,U=R.height;F.fillStyle="white",F.fillRect(0,0,z,U),F.drawImage(T,0,B*N,z,U,0,0,z,U),B&&this.prop.pdf.addPage();var K=R.toDataURL("image/"+b.image.type,b.image.quality);this.prop.pdf.addImage(K,b.image.type,b.margin[1],b.margin[0],this.prop.pageSize.inner.width,M)}})},i.prototype.output=function(E,O,T){return T=T||"pdf",T.toLowerCase()==="img"||T.toLowerCase()==="image"?this.outputImg(E,O):this.outputPdf(E,O)},i.prototype.outputPdf=function(E,O){var T=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(T).then(function(){return this.prop.pdf.output(E,O)})},i.prototype.outputImg=function(E,O){var T=[function(){return this.prop.img||this.toImg()}];return this.thenList(T).then(function(){switch(E){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+E+'" is not supported.'}})},i.prototype.save=function(E){var O=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(O).set(E?{filename:E}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},i.prototype.set=function(E){if(f(E)!=="object")return this;var O=Object.keys(E||{}).map(function(T){if(T in i.template.prop)return function(){this.prop[T]=E[T]};switch(T){case"margin":return this.setMargin.bind(this,E.margin);case"jsPDF":return function(){return this.opt.jsPDF=E.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,E.pageSize);default:return function(){this.opt[T]=E[T]}}},this);return this.then(function(){return this.thenList(O)})},i.prototype.get=function(E,O){return this.then(function(){var b=E in i.template.prop?this.prop[E]:this.opt[E];return O?O(b):b})},i.prototype.setMargin=function(E){return this.then(function(){switch(f(E)){case"number":E=[E,E,E,E];case"array":if(E.length===2&&(E=[E[0],E[1],E[0],E[1]]),E.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=E}).then(this.setPageSize)},i.prototype.setPageSize=function(E){return this.then(function(){E=E||v.getPageSize(this.opt.jsPDF),E.hasOwnProperty("inner")||(E.inner={width:E.width-this.opt.margin[1]-this.opt.margin[3],height:E.height-this.opt.margin[0]-this.opt.margin[2]},E.inner.px={width:s(E.inner.width,E.k),height:s(E.inner.height,E.k)},E.inner.ratio=E.inner.height/E.inner.width),this.prop.pageSize=E})},i.prototype.setProgress=function(E,O,T,b){return E!=null&&(this.progress.val=E),O!=null&&(this.progress.state=O),T!=null&&(this.progress.n=T),b!=null&&(this.progress.stack=b),this.progress.ratio=this.progress.val/this.progress.state,this},i.prototype.updateProgress=function(E,O,T,b){return this.setProgress(E?this.progress.val+E:null,O||null,T?this.progress.n+T:null,b?this.progress.stack.concat(b):null)},i.prototype.then=function(E,O){var T=this;return this.thenCore(E,O,function(x,N){return T.updateProgress(null,null,1,[x]),u.prototype.then.call(this,function(M){return T.updateProgress(null,x),M}).then(x,N).then(function(M){return T.updateProgress(1),M})})},i.prototype.thenCore=function(E,O,T){T=T||u.prototype.then;var b=this;E&&(E=E.bind(b)),O&&(O=O.bind(b));var x=u.toString().indexOf("[native code]")!==-1&&u.name==="Promise",N=x?b:i.convert(w({},b),u.prototype),D=T.call(N,E,O);return i.convert(D,b.__proto__)},i.prototype.thenExternal=function(E,O){return u.prototype.then.call(this,E,O)},i.prototype.thenList=function(E){var O=this;return E.forEach(function(b){O=O.thenCore(b)}),O},i.prototype.catch=function(S){S&&(S=S.bind(this));var E=u.prototype.catch.call(this,S);return i.convert(E,this)},i.prototype.catchExternal=function(E){return u.prototype.catch.call(this,E)},i.prototype.error=function(E){return this.then(function(){throw new Error(E)})},i.prototype.using=i.prototype.set,i.prototype.saveAs=i.prototype.save,i.prototype.export=i.prototype.output,i.prototype.run=i.prototype.then,v.getPageSize=function(S,E,O){if((typeof S=="undefined"?"undefined":y(S))==="object"){var T=S;S=T.orientation,E=T.unit||E,O=T.format||O}E=E||"mm",O=O||"a4",S=(""+(S||"P")).toLowerCase();var b=(""+O).toLowerCase(),x={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(E){case"pt":var N=1;break;case"mm":var N=72/25.4;break;case"cm":var N=72/2.54;break;case"in":var N=72;break;case"px":var N=72/96;break;case"pc":var N=12;break;case"em":var N=12;break;case"ex":var N=6;break;default:throw"Invalid unit: "+E}if(x.hasOwnProperty(b))var D=x[b][1]/N,M=x[b][0]/N;else try{var D=O[1],M=O[0]}catch(B){throw new Error("Invalid format: "+O)}if(S==="p"||S==="portrait"){if(S="p",M>D){var R=M;M=D,D=R}}else if(S==="l"||S==="landscape"){if(S="l",D>M){var R=M;M=D,D=R}}else throw"Invalid orientation: "+S;var F={width:M,height:D,unit:E,k:N};return F};var h={toContainer:i.prototype.toContainer};i.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},i.prototype.toContainer=function(){return h.toContainer.call(this).then(function(){var O=this.prop.container,T=this.prop.pageSize.inner.px.height,b=[].concat(this.opt.pagebreak.mode),x={avoidAll:b.indexOf("avoid-all")!==-1,css:b.indexOf("css")!==-1,legacy:b.indexOf("legacy")!==-1},N={},D=this;["before","after","avoid"].forEach(function(F){var B=x.avoidAll&&F==="avoid";N[F]=B?[]:[].concat(D.opt.pagebreak[F]||[]),N[F].length>0&&(N[F]=Array.prototype.slice.call(O.querySelectorAll(N[F].join(", "))))});var M=O.querySelectorAll(".html2pdf__page-break");M=Array.prototype.slice.call(M);var R=O.querySelectorAll("*");Array.prototype.forEach.call(R,function(B){var z={before:!1,after:x.legacy&&M.indexOf(B)!==-1,avoid:x.avoidAll};if(x.css){var U=window.getComputedStyle(B),K=["always","page","left","right"],W=["avoid","avoid-page"];z={before:z.before||K.indexOf(U.breakBefore||U.pageBreakBefore)!==-1,after:z.after||K.indexOf(U.breakAfter||U.pageBreakAfter)!==-1,avoid:z.avoid||W.indexOf(U.breakInside||U.pageBreakInside)!==-1}}Object.keys(z).forEach(function(J){z[J]=z[J]||N[J].indexOf(B)!==-1});var H=B.getBoundingClientRect();if(z.avoid&&!z.before){var Y=Math.floor(H.top/T),Q=Math.floor(H.bottom/T),P=Math.abs(H.bottom-H.top)/T;Q!==Y&&P<=1&&(z.before=!0)}if(z.before){var G=a("div",{style:{display:"block",height:T-H.top%T+"px"}});B.parentNode.insertBefore(G,B)}if(z.after){var G=a("div",{style:{display:"block",height:T-H.bottom%T+"px"}});B.parentNode.insertBefore(G,B.nextSibling)}})})};var p=[],A={toContainer:i.prototype.toContainer,toPdf:i.prototype.toPdf};i.prototype.toContainer=function(){return A.toContainer.call(this).then(function(){if(this.opt.enableLinks){var O=this.prop.container,T=O.querySelectorAll("a"),b=o(O.getBoundingClientRect(),this.prop.pageSize.k);p=[],Array.prototype.forEach.call(T,function(x){for(var N=x.getClientRects(),D=0;D<N.length;D++){var M=o(N[D],this.prop.pageSize.k);M.left-=b.left,M.top-=b.top;var R=Math.floor(M.top/this.prop.pageSize.inner.height)+1,F=this.opt.margin[0]+M.top%this.prop.pageSize.inner.height,B=this.opt.margin[1]+M.left;p.push({page:R,top:F,left:B,clientRect:M,link:x})}},this)}})},i.prototype.toPdf=function(){return A.toPdf.call(this).then(function(){if(this.opt.enableLinks){p.forEach(function(T){this.prop.pdf.setPage(T.page),this.prop.pdf.link(T.left,T.top,T.clientRect.width,T.clientRect.height,{url:T.link.href})},this);var O=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(O)}})};var C=function S(E,O){var T=new S.Worker(O);return E?T.from(E).save():T};return C.Worker=i,C})}).call(this,e("UywP"),e("7vYp"))},yMz6:function(Z,_){function e(d,L,v){var m=d.getZoom(),y=d.getCenter(),w=L.zoom,f=d.dataToPoint(y);if(L.dx!=null&&L.dy!=null){f[0]-=L.dx,f[1]-=L.dy;var y=d.pointToData(f);d.setCenter(y)}if(w!=null){if(v){var a=v.min||0,t=v.max||Infinity;w=Math.max(Math.min(m*w,t),a)/m}d.scale[0]*=w,d.scale[1]*=w;var o=d.position,s=(L.originX-o[0])*(w-1),l=(L.originY-o[1])*(w-1);o[0]-=s,o[1]-=l,d.updateTransform();var y=d.pointToData(f);d.setCenter(y),d.setZoom(w*m)}return{center:d.getCenter(),zoom:d.getZoom()}}_.updateCenterAndZoom=e},"yOV+":function(Z,_,e){var d=e("oEo5");function L(v,m){m=m||{};var y=v.coordinateSystem,w=v.axis,f={},a=w.position,t=w.orient,o=y.getRect(),s=[o.x,o.x+o.width,o.y,o.y+o.height],l={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};f.position=[t==="vertical"?l.vertical[a]:s[0],t==="horizontal"?l.horizontal[a]:s[3]];var n={horizontal:0,vertical:1};f.rotation=Math.PI/2*n[t];var c={top:-1,bottom:1,right:1,left:-1};f.labelDirection=f.tickDirection=f.nameDirection=c[a],v.get("axisTick.inside")&&(f.tickDirection=-f.tickDirection),d.retrieve(m.labelInside,v.get("axisLabel.inside"))&&(f.labelDirection=-f.labelDirection);var r=m.rotate;return r==null&&(r=v.get("axisLabel.rotate")),f.labelRotation=a==="top"?-r:r,f.z2=1,f}_.layout=L},yTTq:function(Z,_,e){"use strict";e.d(_,"g",function(){return o}),e.d(_,"c",function(){return s}),e.d(_,"a",function(){return n}),e.d(_,"b",function(){return c}),e.d(_,"d",function(){return r}),e.d(_,"e",function(){return u}),e.d(_,"f",function(){return p});var d=e("55MS"),L=e("9/lZ"),v=e("Ysw9"),m=e.n(v),y=e("ZZRV"),w=e.n(y),f=e("nWwB"),a=e("PwAq"),t=e.n(a);function o(A,C){Object(f.a)(A,"[@ant-design/icons] ".concat(C))}function s(A){return Object(L.a)(A)==="object"&&typeof A.name=="string"&&typeof A.theme=="string"&&(Object(L.a)(A.icon)==="object"||typeof A.icon=="function")}function l(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(A).reduce(function(C,S){var E=A[S];switch(S){case"class":C.className=E,delete C.class;break;default:C[S]=E}return C},{})}function n(A,C,S){return S?w.a.createElement(A.tag,Object(d.a)(Object(d.a)({key:C},l(A.attrs)),S),(A.children||[]).map(function(E,O){return n(E,"".concat(C,"-").concat(A.tag,"-").concat(O))})):w.a.createElement(A.tag,Object(d.a)({key:C},l(A.attrs)),(A.children||[]).map(function(E,O){return n(E,"".concat(C,"-").concat(A.tag,"-").concat(O))}))}function c(A){return Object(v.generate)(A)[0]}function r(A){return A?Array.isArray(A)?A:[A]:[]}var u={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},i=`
|
||
.anticon {
|
||
display: inline-block;
|
||
color: inherit;
|
||
font-style: normal;
|
||
line-height: 0;
|
||
text-align: center;
|
||
text-transform: none;
|
||
vertical-align: -0.125em;
|
||
text-rendering: optimizeLegibility;
|
||
-webkit-font-smoothing: antialiased;
|
||
-moz-osx-font-smoothing: grayscale;
|
||
}
|
||
|
||
.anticon > * {
|
||
line-height: 1;
|
||
}
|
||
|
||
.anticon svg {
|
||
display: inline-block;
|
||
}
|
||
|
||
.anticon::before {
|
||
display: none;
|
||
}
|
||
|
||
.anticon .anticon-icon {
|
||
display: block;
|
||
}
|
||
|
||
.anticon[tabindex] {
|
||
cursor: pointer;
|
||
}
|
||
|
||
.anticon-spin::before,
|
||
.anticon-spin {
|
||
display: inline-block;
|
||
-webkit-animation: loadingCircle 1s infinite linear;
|
||
animation: loadingCircle 1s infinite linear;
|
||
}
|
||
|
||
@-webkit-keyframes loadingCircle {
|
||
100% {
|
||
-webkit-transform: rotate(360deg);
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
|
||
@keyframes loadingCircle {
|
||
100% {
|
||
-webkit-transform: rotate(360deg);
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
`,h=!1,p=function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i;Object(y.useEffect)(function(){h||(Object(a.insertCss)(C,{prepend:!0}),h=!0)},[])}},yZ6v:function(Z,_,e){var d=e("Q6Bq"),L=e("5xMV");e("QRYH"),e("QHKB"),e("KZcC"),e("mJA3"),e("kZpV"),d.registerPreprocessor(L)},yZUZ:function(Z,_,e){var d=e("+Vnd"),L=e("4+FC"),v=e("CQhY"),m=v.encodeHTML,y=e("P0S0"),w=d.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(f){var a={name:f.name,children:f.data},t=f.leaves||{},o=new y(t,this,this.ecModel),s=L.createTree(a,this,l);function l(u){u.wrapMethod("getItemModel",function(i,h){var p=s.getNodeByDataIndex(h);return(!p.children.length||!p.isExpand)&&(i.parentModel=o),i})}var n=0;s.eachNode("preorder",function(u){u.depth>n&&(n=u.depth)});var c=f.expandAndCollapse,r=c&&f.initialTreeDepth>=0?f.initialTreeDepth:n;return s.root.eachNode("preorder",function(u){var i=u.hostTree.data.getRawDataItem(u.dataIndex);u.isExpand=i&&i.collapsed!=null?!i.collapsed:u.depth<=r}),s.data},getOrient:function(){var f=this.get("orient");return f==="horizontal"?f="LR":f==="vertical"&&(f="TB"),f},setZoom:function(f){this.option.zoom=f},setCenter:function(f){this.option.center=f},formatTooltip:function(f){for(var a=this.getData().tree,t=a.root.children[0],o=a.getNodeByDataIndex(f),s=o.getValue(),l=o.name;o&&o!==t;)l=o.parentNode.name+"."+l,o=o.parentNode;return m(l+(isNaN(s)||s==null?"":" : "+s))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});Z.exports=w},ycch:function(Z,_,e){var d=e("oEo5");function L(w,f,a){if(w&&d.indexOf(f,w.type)>=0){var t=a.getData().tree.root,o=w.targetNode;if(typeof o=="string"&&(o=t.getNodeById(o)),o&&t.contains(o))return{node:o};var s=w.targetNodeId;if(s!=null&&(o=t.getNodeById(s)))return{node:o}}}function v(w){for(var f=[];w;)w=w.parentNode,w&&f.push(w);return f.reverse()}function m(w,f){var a=v(w);return d.indexOf(a,f)>=0}function y(w,f){for(var a=[];w;){var t=w.dataIndex;a.push({name:w.name,dataIndex:t,value:f.getRawValue(t)}),w=w.parentNode}return a.reverse(),a}_.retrieveTargetInfo=L,_.getPathToRoot=v,_.aboveViewRoot=m,_.wrapTreePathInfo=y},ysUM:function(Z,_){function e(d){return this.__data__.has(d)}Z.exports=e},yuiD:function(Z,_,e){var d=e("Vw6a"),L=d.retrieveRawValue;function v(m,y){var w=m.mapDimension("defaultedLabel",!0),f=w.length;if(f===1)return L(m,y,w[0]);if(f){for(var a=[],t=0;t<w.length;t++){var o=L(m,y,w[t]);a.push(o)}return a.join(" ")}}_.getDefaultLabel=v},yvNr:function(Z,_,e){var d=e("oEo5"),L=e("EgZf"),v=function(y,w,f,a,t){L.call(this,y,w,f),this.type=a||"value",this.position=t||"bottom"};v.prototype={constructor:v,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var y=this.position;return y==="top"||y==="bottom"},getGlobalExtent:function(y){var w=this.getExtent();return w[0]=this.toGlobalCoord(w[0]),w[1]=this.toGlobalCoord(w[1]),y&&w[0]>w[1]&&w.reverse(),w},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(y,w){return this.coordToData(this.toLocalCoord(y[this.dim==="x"?0:1]),w)},toLocalCoord:null,toGlobalCoord:null},d.inherits(v,L);var m=v;Z.exports=m},z5Qn:function(Z,_,e){"use strict";e.d(_,"a",function(){return D}),e.d(_,"b",function(){return F});var d=e("CKlD"),L=e.n(d),v=e("Eqs+"),m=e.n(v),y=e("XDlA"),w=e.n(y),f=e("T5E4"),a=e.n(f),t=e("XneU"),o=e.n(t),s=e("Hdxz"),l=e.n(s),n=e("ZZRV"),c=e("iczh"),r=e.n(c),u=e("3CTf"),i=e("ROQd"),h=e.n(i),p=e("kbon"),A=e.n(p),C=e("BEiB"),S=e.n(C),E=e("ZgTT"),O=e("LpVx"),T=function(z){return!isNaN(parseFloat(z))&&isFinite(z)},b=T,x=function(B,z){var U={};for(var K in B)Object.prototype.hasOwnProperty.call(B,K)&&z.indexOf(K)<0&&(U[K]=B[K]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,K=Object.getOwnPropertySymbols(B);W<K.length;W++)z.indexOf(K[W])<0&&Object.prototype.propertyIsEnumerable.call(B,K[W])&&(U[K[W]]=B[K[W]]);return U},N={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},D=n.createContext({}),M=function(){var B=0;return function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return B+=1,"".concat(z).concat(B)}}(),R=function(B){o()(U,B);var z=l()(U);function U(K){var W;w()(this,U),W=z.call(this,K),W.responsiveHandler=function(Q){W.setState({below:Q.matches});var P=W.props.onBreakpoint,G=W.state.collapsed;P&&P(Q.matches),G!==Q.matches&&W.setCollapsed(Q.matches,"responsive")},W.setCollapsed=function(Q,P){"collapsed"in W.props||W.setState({collapsed:Q});var G=W.props.onCollapse;G&&G(Q,P)},W.toggle=function(){var Q=!W.state.collapsed;W.setCollapsed(Q,"clickTrigger")},W.renderSider=function(Q){var P,G=Q.getPrefixCls,J=W.props,he=J.prefixCls,te=J.className,pe=J.theme,we=J.collapsible,be=J.reverseArrow,Qe=J.trigger,$e=J.style,yt=J.width,Fe=J.collapsedWidth,Pe=J.zeroWidthTriggerStyle,gt=J.children,it=x(J,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),qe=W.state,At=qe.collapsed,dt=qe.below,wt=G("layout-sider",he),Ye=Object(u.default)(it,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),mt=At?Fe:yt,Ue=b(mt)?"".concat(mt,"px"):String(mt),Re=parseFloat(String(Fe||0))===0?n.createElement("span",{onClick:W.toggle,className:r()("".concat(wt,"-zero-width-trigger"),"".concat(wt,"-zero-width-trigger-").concat(be?"right":"left")),style:Pe},Qe||n.createElement(h.a,null)):null,Le={expanded:be?n.createElement(A.a,null):n.createElement(S.a,null),collapsed:be?n.createElement(S.a,null):n.createElement(A.a,null)},at=At?"collapsed":"expanded",Ot=Le[at],Tt=Qe!==null?Re||n.createElement("div",{className:"".concat(wt,"-trigger"),onClick:W.toggle,style:{width:Ue}},Qe||Ot):null,Ft=m()(m()({},$e),{flex:"0 0 ".concat(Ue),maxWidth:Ue,minWidth:Ue,width:Ue}),ke=r()(te,wt,"".concat(wt,"-").concat(pe),(P={},L()(P,"".concat(wt,"-collapsed"),!!At),L()(P,"".concat(wt,"-has-trigger"),we&&Qe!==null&&!Re),L()(P,"".concat(wt,"-below"),!!dt),L()(P,"".concat(wt,"-zero-width"),parseFloat(Ue)===0),P));return n.createElement("aside",m()({className:ke},Ye,{style:Ft}),n.createElement("div",{className:"".concat(wt,"-children")},gt),we||dt&&Re?Tt:null)},W.uniqueId=M("ant-sider-");var H;typeof window!="undefined"&&(H=window.matchMedia),H&&K.breakpoint&&K.breakpoint in N&&(W.mql=H("(max-width: ".concat(N[K.breakpoint],")")));var Y;return"collapsed"in K?Y=K.collapsed:Y=K.defaultCollapsed,W.state={collapsed:Y,below:!1},W}return a()(U,[{key:"componentDidMount",value:function(){var W;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(W=this.props)===null||W===void 0||W.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var W,H;(W=this===null||this===void 0?void 0:this.mql)===null||W===void 0||W.removeListener(this.responsiveHandler),(H=this.props)===null||H===void 0||H.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var W=this.state.collapsed,H=this.props.collapsedWidth;return n.createElement(D.Provider,{value:{siderCollapsed:W,collapsedWidth:H}},n.createElement(O.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(W){return"collapsed"in W?{collapsed:W.collapsed}:null}}]),U}(n.Component);R.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var F=function(B){o()(U,B);var z=l()(U);function U(){return w()(this,U),z.apply(this,arguments)}return a()(U,[{key:"render",value:function(){var W=this;return n.createElement(E.a.Consumer,null,function(H){return n.createElement(R,m()({},H,W.props))})}}]),U}(n.Component)},z8PH:function(Z,_,e){var d=e("oEo5"),L=e("SSBM"),v=e("Jjzi"),m=e("kN/v"),y=864e5;function w(t,o,s){this._model=t}w.prototype={constructor:w,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){t=v.parseDate(t);var o=t.getFullYear(),s=t.getMonth()+1;s=s<10?"0"+s:s;var l=t.getDate();l=l<10?"0"+l:l;var n=t.getDay();return n=Math.abs((n+7-this.getFirstDayOfWeek())%7),{y:o,m:s,d:l,day:n,time:t.getTime(),formatedDate:o+"-"+s+"-"+l,date:t}},getNextNDay:function(t,o){return o=o||0,o===0?this.getDateInfo(t):(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+o),this.getDateInfo(t))},update:function(t,o){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var s=this._rangeInfo.weeks||1,l=["width","height"],n=this._model.get("cellSize").slice(),c=this._model.getBoxLayoutParams(),r=this._orient==="horizontal"?[s,7]:[7,s];d.each([0,1],function(p){h(n,p)&&(c[l[p]]=n[p]*r[p])});var u={width:o.getWidth(),height:o.getHeight()},i=this._rect=L.getLayoutRect(c,u);d.each([0,1],function(p){h(n,p)||(n[p]=i[l[p]]/r[p])});function h(p,A){return p[A]!=null&&p[A]!=="auto"}this._sw=n[0],this._sh=n[1]},dataToPoint:function(t,o){d.isArray(t)&&(t=t[0]),o==null&&(o=!0);var s=this.getDateInfo(t),l=this._rangeInfo,n=s.formatedDate;if(o&&!(s.time>=l.start.time&&s.time<l.end.time+y))return[NaN,NaN];var c=s.day,r=this._getRangeInfo([l.start.time,n]).nthWeek;return this._orient==="vertical"?[this._rect.x+c*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]:[this._rect.x+r*this._sw+this._sw/2,this._rect.y+c*this._sh+this._sh/2]},pointToData:function(t){var o=this.pointToDate(t);return o&&o.time},dataToRect:function(t,o){var s=this.dataToPoint(t,o);return{contentShape:{x:s[0]-(this._sw-this._lineWidth)/2,y:s[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:s,tl:[s[0]-this._sw/2,s[1]-this._sh/2],tr:[s[0]+this._sw/2,s[1]-this._sh/2],br:[s[0]+this._sw/2,s[1]+this._sh/2],bl:[s[0]-this._sw/2,s[1]+this._sh/2]}},pointToDate:function(t){var o=Math.floor((t[0]-this._rect.x)/this._sw)+1,s=Math.floor((t[1]-this._rect.y)/this._sh)+1,l=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(s,o-1,l):this._getDateByWeeksAndDay(o,s-1,l)},convertToPixel:d.curry(f,"dataToPoint"),convertFromPixel:d.curry(f,"pointToData"),_initRangeOption:function(){var t=this._model.get("range"),o=t;if(d.isArray(o)&&o.length===1&&(o=o[0]),/^\d{4}$/.test(o)&&(t=[o+"-01-01",o+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(o)){var s=this.getDateInfo(o),l=s.date;l.setMonth(l.getMonth()+1);var n=this.getNextNDay(l,-1);t=[s.formatedDate,n.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(o)&&(t=[o,o]);var c=this._getRangeInfo(t);return c.start.time>c.end.time&&t.reverse(),t},_getRangeInfo:function(t){t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];var o;t[0].time>t[1].time&&(o=!0,t.reverse());var s=Math.floor(t[1].time/y)-Math.floor(t[0].time/y)+1,l=new Date(t[0].time),n=l.getDate(),c=t[1].date.getDate();l.setDate(n+s-1);var r=l.getDate();if(r!==c)for(var u=l.getTime()-t[1].time>0?1:-1;(r=l.getDate())!==c&&(l.getTime()-t[1].time)*u>0;)s-=u,l.setDate(r-u);var i=Math.floor((s+t[0].day+6)/7),h=o?-i+1:i-1;return o&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:s,weeks:i,nthWeek:h,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,o,s){var l=this._getRangeInfo(s);if(t>l.weeks||t===0&&o<l.fweek||t===l.weeks&&o>l.lweek)return!1;var n=(t-1)*7-l.fweek+o,c=new Date(l.start.time);return c.setDate(l.start.d+n),this.getDateInfo(c)}},w.dimensions=w.prototype.dimensions,w.getDimensionsInfo=w.prototype.getDimensionsInfo,w.create=function(t,o){var s=[];return t.eachComponent("calendar",function(l){var n=new w(l,t,o);s.push(n),l.coordinateSystem=n}),t.eachSeries(function(l){l.get("coordinateSystem")==="calendar"&&(l.coordinateSystem=s[l.get("calendarIndex")||0])}),s};function f(t,o,s,l){var n=s.calendarModel,c=s.seriesModel,r=n?n.coordinateSystem:c?c.coordinateSystem:null;return r===this?r[t](l):null}m.register("calendar",w);var a=w;Z.exports=a},zCY1:function(Z,_){var e=["itemStyle","borderColor"];function d(L,v){var m=L.get("color");L.eachRawSeriesByType("boxplot",function(y){var w=m[y.seriesIndex%m.length],f=y.getData();f.setVisual({legendSymbol:"roundRect",color:y.get(e)||w}),L.isSeriesFiltered(y)||f.each(function(a){var t=f.getItemModel(a);f.setItemVisual(a,{color:t.get(e,!0)})})})}Z.exports=d},zYK1:function(Z,_,e){var d=e("IPcT"),L=d.__DEV__,v=e("oEo5"),m=v.each,y=v.createHashMap,w=e("ICLB"),f=e("6/iG"),a=e("Gz2F"),t=e("ie0D"),o={geoJSON:f,svg:a},s={load:function(r,u,i){var h=[],p=y(),A=y(),C,S=c(r);return m(S,function(E){var O=o[E.type].load(r,E,i);m(O.regions,function(b){var x=b.name;u&&u.hasOwnProperty(x)&&(b=b.cloneShallow(x=u[x])),h.push(b),p.set(x,b),A.set(x,b.center)});var T=O.boundingRect;T&&(C?C.union(T):C=T.clone())}),{regions:h,regionsMap:p,nameCoordMap:A,boundingRect:C||new t(0,0,0,0)}},makeGraphic:l("makeGraphic"),removeGraphic:l("removeGraphic")};function l(r){return function(u,i){var h=c(u),p=[];return m(h,function(A){var C=o[A.type][r];C&&p.push(C(u,A,i))}),p}}function n(r){}function c(r){var u=w.retrieveMap(r)||[];return u}Z.exports=s},zYTh:function(Z,_,e){var d=e("Q6Bq"),L={type:"axisAreaSelect",event:"axisAreaSelected"};d.registerAction(L,function(v,m){m.eachComponent({mainType:"parallelAxis",query:v},function(y){y.axis.model.setActiveIntervals(v.intervals)})}),d.registerAction("parallelAxisExpand",function(v,m){m.eachComponent({mainType:"parallel",query:v},function(y){y.setAxisExpand(v)})})},zYjg:function(Z,_,e){var d=e("oEo5"),L=e("8Bkq"),v=e("XTQn"),m=e("4uqo"),y=e("Wa83"),w=e("342z"),f=e("G+ZC"),a=e("vOhS");_.Image=a;var t=e("TmiR");_.Group=t;var o=e("ode/");_.Text=o;var s=e("a9RO");_.Circle=s;var l=e("o9iD");_.Sector=l;var n=e("oAve");_.Ring=n;var c=e("VOjM");_.Polygon=c;var r=e("k++z");_.Polyline=r;var u=e("7JZK");_.Rect=u;var i=e("tV39");_.Line=i;var h=e("JoY0");_.BezierCurve=h;var p=e("QI2D");_.Arc=p;var A=e("RA7y");_.CompoundPath=A;var C=e("I1OY");_.LinearGradient=C;var S=e("GS3z");_.RadialGradient=S;var E=e("ie0D");_.BoundingRect=E;var O=e("o2YK");_.IncrementalDisplayable=O;var T=e("afA4"),b=Math.max,x=Math.min,N={},D=1,M={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},R="emphasis",F="normal",B=1,z={},U={};function K(ae){return w.extend(ae)}function W(ae,de){return L.extendFromString(ae,de)}function H(ae,de){U[ae]=de}function Y(ae){if(U.hasOwnProperty(ae))return U[ae]}function Q(ae,de,Se,Ce){var Ie=L.createFromString(ae,de);return Se&&(Ce==="center"&&(Se=G(Se,Ie.getBoundingRect())),he(Ie,Se)),Ie}function P(ae,de,Se){var Ce=new a({style:{image:ae,x:de.x,y:de.y,width:de.width,height:de.height},onload:function(Ie){if(Se==="center"){var Te={width:Ie.width,height:Ie.height};Ce.setStyle(G(de,Te))}}});return Ce}function G(ae,de){var Se=de.width/de.height,Ce=ae.height*Se,Ie;Ce<=ae.width?Ie=ae.height:(Ce=ae.width,Ie=Ce/Se);var Te=ae.x+ae.width/2,Ee=ae.y+ae.height/2;return{x:Te-Ce/2,y:Ee-Ie/2,width:Ce,height:Ie}}var J=L.mergePath;function he(ae,de){if(!ae.applyTransform)return;var Se=ae.getBoundingRect(),Ce=Se.calculateTransform(de);ae.applyTransform(Ce)}function te(ae){return T.subPixelOptimizeLine(ae.shape,ae.shape,ae.style),ae}function pe(ae){return T.subPixelOptimizeRect(ae.shape,ae.shape,ae.style),ae}var we=T.subPixelOptimize;function be(ae){return ae!=null&&ae!=="none"}var Qe=d.createHashMap(),$e=0;function yt(ae){if(typeof ae!="string")return ae;var de=Qe.get(ae);return de||(de=v.lift(ae,-.1),$e<1e4&&(Qe.set(ae,de),$e++)),de}function Fe(ae){if(!ae.__hoverStlDirty)return;ae.__hoverStlDirty=!1;var de=ae.__hoverStl;if(!de){ae.__cachedNormalStl=ae.__cachedNormalZ2=null;return}var Se=ae.__cachedNormalStl={};ae.__cachedNormalZ2=ae.z2;var Ce=ae.style;for(var Ie in de)de[Ie]!=null&&(Se[Ie]=Ce[Ie]);Se.fill=Ce.fill,Se.stroke=Ce.stroke}function Pe(ae){var de=ae.__hoverStl;if(!de||ae.__highlighted)return;var Se=ae.__zr,Ce=ae.useHoverLayer&&Se&&Se.painter.type==="canvas";if(ae.__highlighted=Ce?"layer":"plain",ae.isGroup||!Se&&ae.useHoverLayer)return;var Ie=ae,Te=ae.style;Ce&&(Ie=Se.addHover(ae),Te=Ie.style),Ze(Te),Ce||Fe(Ie),Te.extendFrom(de),gt(Te,de,"fill"),gt(Te,de,"stroke"),Ut(Te),Ce||(ae.dirty(!1),ae.z2+=D)}function gt(ae,de,Se){!be(de[Se])&&be(ae[Se])&&(ae[Se]=yt(ae[Se]))}function it(ae){var de=ae.__highlighted;if(!de)return;if(ae.__highlighted=!1,ae.isGroup)return;if(de==="layer")ae.__zr&&ae.__zr.removeHover(ae);else{var Se=ae.style,Ce=ae.__cachedNormalStl;Ce&&(Ze(Se),ae.setStyle(Ce),Ut(Se));var Ie=ae.__cachedNormalZ2;Ie!=null&&ae.z2-Ie===D&&(ae.z2=Ie)}}function qe(ae,de,Se){var Ce=F,Ie=F,Te;ae.__highlighted&&(Ce=R,Te=!0),de(ae,Se),ae.__highlighted&&(Ie=R,Te=!0),ae.isGroup&&ae.traverse(function(Ee){!Ee.isGroup&&de(Ee,Se)}),Te&&ae.__highDownOnUpdate&&ae.__highDownOnUpdate(Ce,Ie)}function At(ae,de){de=ae.__hoverStl=de!==!1&&(ae.hoverStyle||de||{}),ae.__hoverStlDirty=!0,ae.__highlighted&&(ae.__cachedNormalStl=null,it(ae),Pe(ae))}function dt(ae){!Ue(this,ae)&&!this.__highByOuter&&qe(this,Pe)}function wt(ae){!Ue(this,ae)&&!this.__highByOuter&&qe(this,it)}function Ye(ae){this.__highByOuter|=1<<(ae||0),qe(this,Pe)}function mt(ae){!(this.__highByOuter&=~(1<<(ae||0)))&&qe(this,it)}function Ue(ae,de){return ae.__highDownSilentOnTouch&&de.zrByTouch}function Re(ae,de){Le(ae,!0),qe(ae,At,de)}function Le(ae,de){var Se=de===!1;if(ae.__highDownSilentOnTouch=ae.highDownSilentOnTouch,ae.__highDownOnUpdate=ae.highDownOnUpdate,!Se||ae.__highDownDispatcher){var Ce=Se?"off":"on";ae[Ce]("mouseover",dt)[Ce]("mouseout",wt),ae[Ce]("emphasis",Ye)[Ce]("normal",mt),ae.__highByOuter=ae.__highByOuter||0,ae.__highDownDispatcher=!Se}}function at(ae){return!!(ae&&ae.__highDownDispatcher)}function Ot(ae){var de=z[ae];return de==null&&B<=32&&(de=z[ae]=B++),de}function Tt(ae,de,Se,Ce,Ie,Te,Ee){Ie=Ie||N;var He=Ie.labelFetcher,st=Ie.labelDataIndex,vt=Ie.labelDimIndex,ee=Ie.labelProp,oe=Se.getShallow("show"),k=Ce.getShallow("show"),$;(oe||k)&&(He&&($=He.getFormattedLabel(st,"normal",null,vt,ee)),$==null&&($=d.isFunction(Ie.defaultText)?Ie.defaultText(st,Ie):Ie.defaultText));var se=oe?$:null,ge=k?d.retrieve2(He?He.getFormattedLabel(st,"emphasis",null,vt,ee):null,$):null;(se!=null||ge!=null)&&(ke(ae,Se,Te,Ie),ke(de,Ce,Ee,Ie,!0)),ae.text=se,de.text=ge}function Ft(ae,de,Se){var Ce=ae.style;de&&(Ze(Ce),ae.setStyle(de),Ut(Ce)),Ce=ae.__hoverStl,Se&&Ce&&(Ze(Ce),d.extend(Ce,Se),Ut(Ce))}function ke(ae,de,Se,Ce,Ie){return bt(ae,de,Ce,Ie),Se&&d.extend(ae,Se),ae}function Vt(ae,de,Se){var Ce={isRectText:!0},Ie;Se===!1?Ie=!0:Ce.autoColor=Se,bt(ae,de,Ce,Ie)}function bt(ae,de,Se,Ce){if(Se=Se||N,Se.isRectText){var Ie;Se.getTextPosition?Ie=Se.getTextPosition(de,Ce):(Ie=de.getShallow("position")||(Ce?null:"inside"),Ie==="outside"&&(Ie="top")),ae.textPosition=Ie,ae.textOffset=de.getShallow("offset");var Te=de.getShallow("rotate");Te!=null&&(Te*=Math.PI/180),ae.textRotation=Te,ae.textDistance=d.retrieve2(de.getShallow("distance"),Ce?null:5)}var Ee=de.ecModel,He=Ee&&Ee.option.textStyle,st=Rt(de),vt;if(st){vt={};for(var ee in st)if(st.hasOwnProperty(ee)){var oe=de.getModel(["rich",ee]);Nt(vt[ee]={},oe,He,Se,Ce)}}return ae.rich=vt,Nt(ae,de,He,Se,Ce,!0),Se.forceRich&&!Se.textStyle&&(Se.textStyle={}),ae}function Rt(ae){for(var de;ae&&ae!==ae.ecModel;){var Se=(ae.option||N).rich;if(Se){de=de||{};for(var Ce in Se)Se.hasOwnProperty(Ce)&&(de[Ce]=1)}ae=ae.parentModel}return de}function Nt(ae,de,Se,Ce,Ie,Te){Se=!Ie&&Se||N,ae.textFill=xt(de.getShallow("color"),Ce)||Se.color,ae.textStroke=xt(de.getShallow("textBorderColor"),Ce)||Se.textBorderColor,ae.textStrokeWidth=d.retrieve2(de.getShallow("textBorderWidth"),Se.textBorderWidth),Ie||(Te&&(ae.insideRollbackOpt=Ce,Ut(ae)),ae.textFill==null&&(ae.textFill=Ce.autoColor)),ae.fontStyle=de.getShallow("fontStyle")||Se.fontStyle,ae.fontWeight=de.getShallow("fontWeight")||Se.fontWeight,ae.fontSize=de.getShallow("fontSize")||Se.fontSize,ae.fontFamily=de.getShallow("fontFamily")||Se.fontFamily,ae.textAlign=de.getShallow("align"),ae.textVerticalAlign=de.getShallow("verticalAlign")||de.getShallow("baseline"),ae.textLineHeight=de.getShallow("lineHeight"),ae.textWidth=de.getShallow("width"),ae.textHeight=de.getShallow("height"),ae.textTag=de.getShallow("tag"),(!Te||!Ce.disableBox)&&(ae.textBackgroundColor=xt(de.getShallow("backgroundColor"),Ce),ae.textPadding=de.getShallow("padding"),ae.textBorderColor=xt(de.getShallow("borderColor"),Ce),ae.textBorderWidth=de.getShallow("borderWidth"),ae.textBorderRadius=de.getShallow("borderRadius"),ae.textBoxShadowColor=de.getShallow("shadowColor"),ae.textBoxShadowBlur=de.getShallow("shadowBlur"),ae.textBoxShadowOffsetX=de.getShallow("shadowOffsetX"),ae.textBoxShadowOffsetY=de.getShallow("shadowOffsetY")),ae.textShadowColor=de.getShallow("textShadowColor")||Se.textShadowColor,ae.textShadowBlur=de.getShallow("textShadowBlur")||Se.textShadowBlur,ae.textShadowOffsetX=de.getShallow("textShadowOffsetX")||Se.textShadowOffsetX,ae.textShadowOffsetY=de.getShallow("textShadowOffsetY")||Se.textShadowOffsetY}function xt(ae,de){return ae!=="auto"?ae:de&&de.autoColor?de.autoColor:null}function Ut(ae){var de=ae.textPosition,Se=ae.insideRollbackOpt,Ce;if(Se&&ae.textFill==null){var Ie=Se.autoColor,Te=Se.isRectText,Ee=Se.useInsideStyle,He=Ee!==!1&&(Ee===!0||Te&&de&&typeof de=="string"&&de.indexOf("inside")>=0),st=!He&&Ie!=null;(He||st)&&(Ce={textFill:ae.textFill,textStroke:ae.textStroke,textStrokeWidth:ae.textStrokeWidth}),He&&(ae.textFill="#fff",ae.textStroke==null&&(ae.textStroke=Ie,ae.textStrokeWidth==null&&(ae.textStrokeWidth=2))),st&&(ae.textFill=Ie)}ae.insideRollback=Ce}function Ze(ae){var de=ae.insideRollback;de&&(ae.textFill=de.textFill,ae.textStroke=de.textStroke,ae.textStrokeWidth=de.textStrokeWidth,ae.insideRollback=null)}function ze(ae,de){var Se=de&&de.getModel("textStyle");return d.trim([ae.fontStyle||Se&&Se.getShallow("fontStyle")||"",ae.fontWeight||Se&&Se.getShallow("fontWeight")||"",(ae.fontSize||Se&&Se.getShallow("fontSize")||12)+"px",ae.fontFamily||Se&&Se.getShallow("fontFamily")||"sans-serif"].join(" "))}function re(ae,de,Se,Ce,Ie,Te){typeof Ie=="function"&&(Te=Ie,Ie=null);var Ee=Ce&&Ce.isAnimationEnabled();if(Ee){var He=ae?"Update":"",st=Ce.getShallow("animationDuration"+He),vt=Ce.getShallow("animationEasing"+He),ee=Ce.getShallow("animationDelay"+He);typeof ee=="function"&&(ee=ee(Ie,Ce.getAnimationDelayParams?Ce.getAnimationDelayParams(de,Ie):null)),typeof st=="function"&&(st=st(Ie)),st>0?de.animateTo(Se,st,ee||0,vt,Te,!!Te):(de.stopAnimation(),de.attr(Se),Te&&Te())}else de.stopAnimation(),de.attr(Se),Te&&Te()}function le(ae,de,Se,Ce,Ie){re(!0,ae,de,Se,Ce,Ie)}function Xe(ae,de,Se,Ce,Ie){re(!1,ae,de,Se,Ce,Ie)}function _e(ae,de){for(var Se=m.identity([]);ae&&ae!==de;)m.mul(Se,ae.getLocalTransform(),Se),ae=ae.parent;return Se}function je(ae,de,Se){return de&&!d.isArrayLike(de)&&(de=f.getLocalTransform(de)),Se&&(de=m.invert([],de)),y.applyTransform([],ae,de)}function ar(ae,de,Se){var Ce=de[4]===0||de[5]===0||de[0]===0?1:Math.abs(2*de[4]/de[0]),Ie=de[4]===0||de[5]===0||de[2]===0?1:Math.abs(2*de[4]/de[2]),Te=[ae==="left"?-Ce:ae==="right"?Ce:0,ae==="top"?-Ie:ae==="bottom"?Ie:0];return Te=je(Te,de,Se),Math.abs(Te[0])>Math.abs(Te[1])?Te[0]>0?"right":"left":Te[1]>0?"bottom":"top"}function zt(ae,de,Se,Ce){if(!ae||!de)return;function Ie(He){var st={};return He.traverse(function(vt){!vt.isGroup&&vt.anid&&(st[vt.anid]=vt)}),st}function Te(He){var st={position:y.clone(He.position),rotation:He.rotation};return He.shape&&(st.shape=d.extend({},He.shape)),st}var Ee=Ie(ae);de.traverse(function(He){if(!He.isGroup&&He.anid){var st=Ee[He.anid];if(st){var vt=Te(He);He.attr(Te(st)),le(He,vt,Se,He.dataIndex)}}})}function Pt(ae,de){return d.map(ae,function(Se){var Ce=Se[0];Ce=b(Ce,de.x),Ce=x(Ce,de.x+de.width);var Ie=Se[1];return Ie=b(Ie,de.y),Ie=x(Ie,de.y+de.height),[Ce,Ie]})}function qt(ae,de){var Se=b(ae.x,de.x),Ce=x(ae.x+ae.width,de.x+de.width),Ie=b(ae.y,de.y),Te=x(ae.y+ae.height,de.y+de.height);if(Ce>=Se&&Te>=Ie)return{x:Se,y:Ie,width:Ce-Se,height:Te-Ie}}function or(ae,de,Se){de=d.extend({rectHover:!0},de);var Ce=de.style={strokeNoScale:!0};if(Se=Se||{x:-1,y:-1,width:2,height:2},ae)return ae.indexOf("image://")===0?(Ce.image=ae.slice(8),d.defaults(Ce,Se),new a(de)):Q(ae.replace("path://",""),de,Se,"center")}function Kt(ae,de,Se,Ce,Ie){for(var Te=0,Ee=Ie[Ie.length-1];Te<Ie.length;Te++){var He=Ie[Te];if(Mt(ae,de,Se,Ce,He[0],He[1],Ee[0],Ee[1]))return!0;Ee=He}}function Mt(ae,de,Se,Ce,Ie,Te,Ee,He){var st=Se-ae,vt=Ce-de,ee=Ee-Ie,oe=He-Te,k=me(ee,oe,st,vt);if(ce(k))return!1;var $=ae-Ie,se=de-Te,ge=me($,se,st,vt)/k;if(ge<0||ge>1)return!1;var Ae=me($,se,ee,oe)/k;return!(Ae<0||Ae>1)}function me(ae,de,Se,Ce){return ae*Ce-Se*de}function ce(ae){return ae<=1e-6&&ae>=-1e-6}H("circle",s),H("sector",l),H("ring",n),H("polygon",c),H("polyline",r),H("rect",u),H("line",i),H("bezierCurve",h),H("arc",p),_.Z2_EMPHASIS_LIFT=D,_.CACHED_LABEL_STYLE_PROPERTIES=M,_.extendShape=K,_.extendPath=W,_.registerShape=H,_.getShapeClass=Y,_.makePath=Q,_.makeImage=P,_.mergePath=J,_.resizePath=he,_.subPixelOptimizeLine=te,_.subPixelOptimizeRect=pe,_.subPixelOptimize=we,_.setElementHoverStyle=At,_.setHoverStyle=Re,_.setAsHighDownDispatcher=Le,_.isHighDownDispatcher=at,_.getHighlightDigit=Ot,_.setLabelStyle=Tt,_.modifyLabelStyle=Ft,_.setTextStyle=ke,_.setText=Vt,_.getFont=ze,_.updateProps=le,_.initProps=Xe,_.getTransform=_e,_.applyTransform=je,_.transformDirection=ar,_.groupTransition=zt,_.clipPointsByRect=Pt,_.clipRectByRect=qt,_.createIcon=or,_.linePolygonIntersect=Kt,_.lineLineIntersect=Mt},zb5h:function(Z,_,e){var d=e("BiNE");function L(v){return d(this.__data__,v)>-1}Z.exports=L},zfxY:function(Z,_,e){var d=e("Q6Bq"),L="\0_ec_interaction_mutex";function v(f,a,t){var o=w(f);o[a]=t}function m(f,a,t){var o=w(f),s=o[a];s===t&&(o[a]=null)}function y(f,a){return!!w(f)[a]}function w(f){return f[L]||(f[L]={})}d.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),_.take=v,_.release=m,_.isTaken=y},zk1E:function(Z,_,e){var d=e("VC1J");function L(v){var m=d(this,v).delete(v);return this.size-=m?1:0,m}Z.exports=L},"zw+m":function(Z,_,e){var d=e("oEo5"),L=e("EgZf"),v=function(y,w,f,a,t){L.call(this,y,w,f),this.type=a||"value",this.axisIndex=t};v.prototype={constructor:v,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},d.inherits(v,L);var m=v;Z.exports=m}}]);
|