(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+BJd":function(H,P,d){"use strict";var O=d("cIOH"),x=d.n(O),C=d("6MrE"),A=d.n(C)},"+QRC":function(H,P,d){"use strict";var O=d("E9nw"),x={"text/plain":"Text","text/html":"Url",default:"Text"},C="Copy to clipboard: #{key}, Enter";function A(g){var f=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return g.replace(/#{\s*key\s*}/g,f)}function b(g,f){var c,o,r,i,n,e,s=!1;f||(f={}),c=f.debug||!1;try{r=O(),i=document.createRange(),n=document.getSelection(),e=document.createElement("span"),e.textContent=g,e.style.all="unset",e.style.position="fixed",e.style.top=0,e.style.clip="rect(0, 0, 0, 0)",e.style.whiteSpace="pre",e.style.webkitUserSelect="text",e.style.MozUserSelect="text",e.style.msUserSelect="text",e.style.userSelect="text",e.addEventListener("copy",function(a){if(a.stopPropagation(),f.format)if(a.preventDefault(),typeof a.clipboardData=="undefined"){c&&console.warn("unable to use e.clipboardData"),c&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=x[f.format]||x.default;window.clipboardData.setData(l,g)}else a.clipboardData.clearData(),a.clipboardData.setData(f.format,g);f.onCopy&&(a.preventDefault(),f.onCopy(a.clipboardData))}),document.body.appendChild(e),i.selectNodeContents(e),n.addRange(i);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");s=!0}catch(a){c&&console.error("unable to copy using execCommand: ",a),c&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(f.format||"text",g),f.onCopy&&f.onCopy(window.clipboardData),s=!0}catch(l){c&&console.error("unable to copy using clipboardData: ",l),c&&console.error("falling back to prompt"),o=A("message"in f?f.message:C),window.prompt(o,g)}}finally{n&&(typeof n.removeRange=="function"?n.removeRange(i):n.removeAllRanges()),e&&document.body.removeChild(e),r()}return s}H.exports=b},"+TT/":function(H,P,d){var O=d("bYtY"),x=d("mFDi"),C=d("OELB"),A=C.parsePercent,b=d("7aKB"),g=O.each,f=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function o(p,m,v,y,E){var T=0,w=0;y==null&&(y=Infinity),E==null&&(E=Infinity);var S=0;m.eachChild(function(_,I){var L=_.position,N=_.getBoundingRect(),D=m.childAt(I+1),R=D&&D.getBoundingRect(),B,M;if(p==="horizontal"){var U=N.width+(R?-R.x+N.x:0);B=T+U,B>y||_.newline?(T=0,B=U,w+=S+v,S=N.height):S=Math.max(S,N.height)}else{var F=N.height+(R?-R.y+N.y:0);M=w+F,M>E||_.newline?(T+=S+v,w=0,M=F,S=N.width):S=Math.max(S,N.width)}if(_.newline)return;L[0]=T,L[1]=w,p==="horizontal"?T=B+v:w=M+v})}var r=o,i=O.curry(o,"vertical"),n=O.curry(o,"horizontal");function e(p,m,v){var y=m.width,E=m.height,T=A(p.x,y),w=A(p.y,E),S=A(p.x2,y),_=A(p.y2,E);return(isNaN(T)||isNaN(parseFloat(p.x)))&&(T=0),(isNaN(S)||isNaN(parseFloat(p.x2)))&&(S=y),(isNaN(w)||isNaN(parseFloat(p.y)))&&(w=0),(isNaN(_)||isNaN(parseFloat(p.y2)))&&(_=E),v=b.normalizeCssArray(v||0),{width:Math.max(S-T-v[1]-v[3],0),height:Math.max(_-w-v[0]-v[2],0)}}function s(p,m,v){v=b.normalizeCssArray(v||0);var y=m.width,E=m.height,T=A(p.left,y),w=A(p.top,E),S=A(p.right,y),_=A(p.bottom,E),I=A(p.width,y),L=A(p.height,E),N=v[2]+v[0],D=v[1]+v[3],R=p.aspect;isNaN(I)&&(I=y-S-D-T),isNaN(L)&&(L=E-_-N-w),R!=null&&(isNaN(I)&&isNaN(L)&&(R>y/E?I=y*.8:L=E*.8),isNaN(I)&&(I=R*L),isNaN(L)&&(L=I/R)),isNaN(T)&&(T=y-S-I-D),isNaN(w)&&(w=E-_-L-N);switch(p.left||p.right){case"center":T=y/2-I/2-v[3];break;case"right":T=y-I-D;break}switch(p.top||p.bottom){case"middle":case"center":w=E/2-L/2-v[0];break;case"bottom":w=E-L-N;break}T=T||0,w=w||0,isNaN(I)&&(I=y-D-T-(S||0)),isNaN(L)&&(L=E-N-w-(_||0));var B=new x(T+v[3],w+v[0],I,L);return B.margin=v,B}function t(p,m,v,y,E){var T=!E||!E.hv||E.hv[0],w=!E||!E.hv||E.hv[1],S=E&&E.boundingMode||"all";if(!T&&!w)return;var _;if(S==="raw")_=p.type==="group"?new x(0,0,+m.width||0,+m.height||0):p.getBoundingRect();else if(_=p.getBoundingRect(),p.needLocalTransform()){var I=p.getLocalTransform();_=_.clone(),_.applyTransform(I)}m=s(O.defaults({width:_.width,height:_.height},m),v,y);var L=p.position,N=T?m.x-_.x:0,D=w?m.y-_.y:0;p.attr("position",S==="raw"?[N,D]:[L[0]+N,L[1]+D])}function a(p,m){return p[c[m][0]]!=null||p[c[m][1]]!=null&&p[c[m][2]]!=null}function l(p,m,v){!O.isObject(v)&&(v={});var y=v.ignoreSize;!O.isArray(y)&&(y=[y,y]);var E=w(c[0],0),T=w(c[1],1);I(c[0],p,E),I(c[1],p,T);function w(L,N){var D={},R=0,B={},M=0,U=2;if(g(L,function(W){B[W]=p[W]}),g(L,function(W){S(m,W)&&(D[W]=B[W]=m[W]),_(D,W)&&R++,_(B,W)&&M++}),y[N])return _(m,L[1])?B[L[2]]=null:_(m,L[2])&&(B[L[1]]=null),B;if(M===U||!R)return B;if(R>=U)return D;for(var F=0;F2&&arguments[2]!==void 0?arguments[2]:"0",Lr=String(rt);Lr.length=12,xo%=12);var ka=c.useMemo(function(){if(!En)return[!1,!1];var Ba=[!0,!0];return ma.forEach(function(za){var Ta=za.disabled,ko=za.value;if(Ta)return;ko>=12?Ba[1]=!1:Ba[0]=!1}),Ba},[En,ma]),La=Object(j.a)(ka,2),Za=La[0],eo=La[1],Po=c.useMemo(function(){return En?ma.filter(fa?function(Ba){return Ba.value>=12}:function(Ba){return Ba.value<12}).map(function(Ba){var za=Ba.value%12,Ta=za===0?"12":lt(za,2);return Object(F.a)(Object(F.a)({},Ba),{},{label:Ta,value:za})}):ma},[En,ma]),jo=Nt(0,59,ri,ki&&ki(xo)),cs=Nt(0,59,ii,bi&&bi(xo,Qa));Lr.current={onUpDown:function(za){var Ta=ea[_n];if(Ta)for(var ko=Ta.units.findIndex(function(ho){return ho.value===Ta.value}),Qo=Ta.units.length,so=1;so1&&(_r=cr.addDate(_r,-7)),_r}function fn(rt,cr,Pr){var Lr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(cr){case"year":return Pr.addYear(rt,Lr*10);case"quarter":case"month":return Pr.addYear(rt,Lr);default:return Pr.addMonth(rt,Lr)}}var Nn=c.createContext({}),Vn=Nn;function gi(rt){var cr=rt.cellPrefixCls,Pr=rt.generateConfig,Lr=rt.rangedValue,_n=rt.hoverRangedValue,Vr=rt.isInView,_r=rt.isSameCell,kn=rt.offsetCell,Ur=rt.today,En=rt.value;function jn(Hn){var Bn,ri=kn(Hn,-1),Yn=kn(Hn,1),ii=ze(Lr,0),ai=ze(Lr,1),ki=ze(_n,0),bi=ze(_n,1),Ki=dt(Pr,ki,bi,Hn);function Aa(Qa){return _r(ii,Qa)}function ea(Qa){return _r(ai,Qa)}var Ji=_r(ki,Hn),sa=_r(bi,Hn),fa=(Ki||sa)&&(!Vr(ri)||ea(ri)),xo=(Ki||Ji)&&(!Vr(Yn)||Aa(Yn));return Bn={},Object(U.a)(Bn,"".concat(cr,"-in-view"),Vr(Hn)),Object(U.a)(Bn,"".concat(cr,"-in-range"),dt(Pr,ii,ai,Hn)),Object(U.a)(Bn,"".concat(cr,"-range-start"),Aa(Hn)),Object(U.a)(Bn,"".concat(cr,"-range-end"),ea(Hn)),Object(U.a)(Bn,"".concat(cr,"-range-start-single"),Aa(Hn)&&!ai),Object(U.a)(Bn,"".concat(cr,"-range-end-single"),ea(Hn)&&!ii),Object(U.a)(Bn,"".concat(cr,"-range-start-near-hover"),Aa(Hn)&&(_r(ri,ki)||dt(Pr,ki,bi,ri))),Object(U.a)(Bn,"".concat(cr,"-range-end-near-hover"),ea(Hn)&&(_r(Yn,bi)||dt(Pr,ki,bi,Yn))),Object(U.a)(Bn,"".concat(cr,"-range-hover"),Ki),Object(U.a)(Bn,"".concat(cr,"-range-hover-start"),Ji),Object(U.a)(Bn,"".concat(cr,"-range-hover-end"),sa),Object(U.a)(Bn,"".concat(cr,"-range-hover-edge-start"),fa),Object(U.a)(Bn,"".concat(cr,"-range-hover-edge-end"),xo),Object(U.a)(Bn,"".concat(cr,"-range-hover-edge-start-near-range"),fa&&_r(ri,ai)),Object(U.a)(Bn,"".concat(cr,"-range-hover-edge-end-near-range"),xo&&_r(Yn,ii)),Object(U.a)(Bn,"".concat(cr,"-today"),_r(Ur,Hn)),Object(U.a)(Bn,"".concat(cr,"-selected"),_r(En,Hn)),Bn}return jn}function bn(rt){for(var cr=rt.prefixCls,Pr=rt.disabledDate,Lr=rt.onSelect,_n=rt.rowNum,Vr=rt.colNum,_r=rt.prefixColumn,kn=rt.rowClassName,Ur=rt.baseDate,En=rt.getCellClassName,jn=rt.getCellText,Hn=rt.getCellNode,Bn=rt.getCellDate,ri=rt.titleCell,Yn=rt.headerCells,ii=c.useContext($),ai=ii.onDateMouseEnter,ki=ii.onDateMouseLeave,bi="".concat(cr,"-cell"),Ki=[],Aa=0;Aa<_n;Aa+=1){for(var ea=[],Ji=void 0,sa=function(Qa){var Wi=Aa*Vr+Qa,qi=Bn(Ur,Wi),ca=Pr&&Pr(qi);Qa===0&&(Ji=qi,_r&&ea.push(_r(Ji))),ea.push(c.createElement("td",{key:Qa,title:ri&&ri(qi),className:T()(bi,Object(F.a)(Object(U.a)({},"".concat(bi,"-disabled"),ca),En(qi))),onClick:function(){ca||Lr(qi)},onMouseEnter:function(){!ca&&ai&&ai(qi)},onMouseLeave:function(){!ca&&ki&&ki(qi)}},Hn?Hn(qi):c.createElement("div",{className:"".concat(bi,"-inner")},jn(qi))))},fa=0;fa2&&arguments[2]!==void 0?arguments[2]:!1;(to===ii||Fi)&&(Ko(Qn),sa&&sa(Qn),Qo&&Qo(Qn,Ei),fa&&!Kt(kn,Qn,gs)&&fa(Qn))},At=function(Qn){return rn.current&&rn.current.onKeyDown?([z.a.LEFT,z.a.RIGHT,z.a.UP,z.a.DOWN,z.a.PAGE_UP,z.a.PAGE_DOWN,z.a.ENTER].includes(Qn.which)&&Qn.preventDefault(),rn.current.onKeyDown(Qn)):(Object(C.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},ie=function(Qn){rn.current&&rn.current.onBlur&&rn.current.onBlur(Qn)};Ta&&ds!=="right"&&(Ta.current={onKeyDown:At,onClose:function(){rn.current&&rn.current.onClose&&rn.current.onClose()}}),c.useEffect(function(){Ur&&!es.current&&qo(Ur)},[Ur]),c.useEffect(function(){es.current=!1},[]);var pe,be=Object(F.a)(Object(F.a)({},rt),{},{operationRef:rn,prefixCls:Lr,viewDate:ws,value:gs,onViewDateChange:us,sourceMode:It,onPanelChange:dn,disabledDate:to!=="decade"?Bn:void 0});delete be.onChange,delete be.onSelect;switch(to){case"decade":pe=c.createElement(pn,Object.assign({},be,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;case"year":pe=c.createElement(Ye,Object.assign({},be,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;case"month":pe=c.createElement(pt,Object.assign({},be,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;case"quarter":pe=c.createElement(Dn,Object.assign({},be,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;case"week":pe=c.createElement(un,Object.assign({},be,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;case"time":delete be.showTime,pe=c.createElement(Ne,Object.assign({},be,Object(V.a)(Ki)==="object"?Ki:null,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}));break;default:Ki?pe=c.createElement(Ar,Object.assign({},be,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}})):pe=c.createElement(Ze,Object.assign({},be,{onSelect:function(Qn,Ei){us(Qn),zn(Qn,Ei)}}))}var He,yt,Xt=function(){var Qn=kn.getNow(),Ei=Tt(kn.getHour(Qn),kn.getMinute(Qn),kn.getSecond(Qn),Mo?La:1,Lo?eo:1,Ba?jo:1),Fi=Ct(kn,Qn,Ei[0],Ei[1],Ei[2]);zn(Fi,"submit")};so||(He=hr(Lr,to,ea),yt=mn({prefixCls:Lr,components:ca,needConfirmButton:cs,okDisabled:!gs||Bn&&Bn(gs),locale:_r,showNow:bi,onNow:cs&&Xt,onOk:function(){gs&&(zn(gs,"submit",!0),qi&&qi(gs))}}));var Dr;if(Aa&&to==="date"&&ii==="date"&&!Ki){var Xr=kn.getNow(),hn="".concat(Lr,"-today-btn"),Kn=Bn&&Bn(Xr);Dr=c.createElement("a",{className:T()(hn,Kn&&"".concat(hn,"-disabled")),"aria-disabled":Kn,onClick:function(){Kn||zn(Xr,"mouse",!0)}},_r.today)}return c.createElement($.Provider,{value:Object(F.a)(Object(F.a)({},za),{},{hideHeader:"hideHeader"in rt?Ji:za.hideHeader,hidePrevBtn:bo&&ds==="right",hideNextBtn:bo&&ds==="left"})},c.createElement("div",{tabIndex:ki,className:T()("".concat(Lr,"-panel"),_n,(cr={},Object(U.a)(cr,"".concat(Lr,"-panel-has-range"),Ho&&Ho[0]&&Ho[1]),Object(U.a)(cr,"".concat(Lr,"-panel-has-range-hover"),zo&&zo[0]&&zo[1]),Object(U.a)(cr,"".concat(Lr,"-panel-rtl"),ma==="rtl"),cr)),style:Vr,onKeyDown:At,onBlur:ie,onMouseDown:Qa,ref:ko},pe,He||yt||Dr?c.createElement("div",{className:"".concat(Lr,"-footer")},He,yt,Dr):null))}var kr=en,Xn=d("JX7q"),di=d("i8i4"),_i=d.n(di),Br=d("l4aY"),sn=d("m+aA"),Sn=d("c+Xe"),kt=d("zT1h"),vt=d("QC+M");function Et(rt,cr,Pr){return Pr?rt[0]===cr[0]:rt[0]===cr[0]&&rt[1]===cr[1]}function Lt(rt,cr,Pr){var Lr=rt[cr]||{};return Object(F.a)(Object(F.a)({},Lr),Pr)}function Mt(rt,cr,Pr,Lr){for(var _n=Pr.points,Vr=Object.keys(rt),_r=0;_r0&&(Ur.deadlineId=setTimeout(function(){Ur.onMotionEnd({deadline:!0})},Bn))})},Ur.nextFrame=function(En){Ur.cancelNextFrame(),Ur.raf=tr()(En)},Ur.cancelNextFrame=function(){Ur.raf&&(tr.a.cancel(Ur.raf),Ur.raf=null)},Ur}return Object(R.a)(kn,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var En,jn=this.state,Hn=jn.status,Bn=jn.statusActive,ri=jn.statusStyle,Yn=this.props,ii=Yn.children,ai=Yn.motionName,ki=Yn.visible,bi=Yn.removeOnLeave,Ki=Yn.leavedClassName,Aa=Yn.eventProps;return ii?Hn===si||!Lr(this.props)?ki?ii(Object(F.a)({},Aa),this.setNodeRef):bi?null:ii(Object(F.a)(Object(F.a)({},Aa),{},{className:Ki}),this.setNodeRef):ii(Object(F.a)(Object(F.a)({},Aa),{},{className:T()(ui(ai,Hn),(En={},Object(U.a)(En,ui(ai,"".concat(Hn,"-active")),Bn),Object(U.a)(En,ai,typeof ai=="string"),En)),style:ri}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(En,jn){var Hn=jn.prevProps,Bn=jn.status;if(!Lr(En))return{};var ri=En.visible,Yn=En.motionAppear,ii=En.motionEnter,ai=En.motionLeave,ki=En.motionLeaveImmediately,bi={prevProps:En};return(Bn===Pi&&!Yn||Bn===zi&&!ii||Bn===Ri&&!ai)&&(bi.status=si,bi.statusActive=!1,bi.newStatus=!1),!Hn&&ri&&Yn&&(bi.status=Pi,bi.statusActive=!1,bi.newStatus=!0),Hn&&!Hn.visible&&ri&&ii&&(bi.status=zi,bi.statusActive=!1,bi.newStatus=!0),(Hn&&Hn.visible&&!ri&&ai||!Hn&&ki&&!ri&&ai)&&(bi.status=Ri,bi.statusActive=!1,bi.newStatus=!0),bi}}]),kn}(c.Component);return _n.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},Pr?c.forwardRef(function(Vr,_r){return c.createElement(_n,Object.assign({internalRef:_r},Vr))}):_n}var $n=Yi(ti),gn="add",mi="keep",Hi="remove",Li="removed";function Bi(rt){var cr;return rt&&Object(V.a)(rt)==="object"&&"key"in rt?cr=rt:cr={key:rt},Object(F.a)(Object(F.a)({},cr),{},{key:String(cr.key)})}function wr(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return rt.map(Bi)}function lr(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Pr=[],Lr=0,_n=cr.length,Vr=wr(rt),_r=wr(cr);Vr.forEach(function(En){for(var jn=!1,Hn=Lr;Hn<_n;Hn+=1){var Bn=_r[Hn];if(Bn.key===En.key){Lr1});return Ur.forEach(function(En){Pr=Pr.filter(function(jn){var Hn=jn.key,Bn=jn.status;return Hn!==En||Bn!==Hi}),Pr.forEach(function(jn){jn.key===En&&(jn.status=mi)})}),Pr}var on=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Zt(rt){var cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$n,Pr=function(Lr){Object(B.a)(Vr,Lr);var _n=Object(M.a)(Vr);function Vr(){var _r;return Object(D.a)(this,Vr),_r=_n.apply(this,arguments),_r.state={keyEntities:[]},_r.removeKey=function(kn){_r.setState(function(Ur){var En=Ur.keyEntities;return{keyEntities:En.map(function(jn){return jn.key!==kn?jn:Object(F.a)(Object(F.a)({},jn),{},{status:Li})})}})},_r}return Object(R.a)(Vr,[{key:"render",value:function(){var kn=this,Ur=this.state.keyEntities,En=this.props,jn=En.component,Hn=En.children,Bn=Object(bt.a)(En,["component","children"]),ri=jn||c.Fragment,Yn={};return on.forEach(function(ii){Yn[ii]=Bn[ii],delete Bn[ii]}),delete Bn.keys,c.createElement(ri,Object.assign({},Bn),Ur.map(function(ii){var ai=ii.status,ki=Object(bt.a)(ii,["status"]),bi=ai===gn||ai===mi;return c.createElement(cr,Object.assign({},Yn,{key:ki.key,visible:bi,eventProps:ki,onLeaveEnd:function(){Yn.onLeaveEnd&&Yn.onLeaveEnd.apply(Yn,arguments),kn.removeKey(ki.key)}}),Hn)}))}}],[{key:"getDerivedStateFromProps",value:function(kn,Ur){var En=kn.keys,jn=Ur.keyEntities,Hn=wr(En);if(!rt)return{keyEntities:Hn.map(function(Yn){return Object(F.a)(Object(F.a)({},Yn),{},{status:mi})})};var Bn=lr(jn,Hn),ri=jn.length;return{keyEntities:Bn.filter(function(Yn){for(var ii=null,ai=0;ai1&&(Hn=c.createElement("div",{className:"".concat(Lr,"-content")},_r)),c.createElement("div",{ref:Pr,className:_n,onMouseEnter:kn,onMouseLeave:Ur,onMouseDown:En,onTouchStart:jn,style:Vr},Hn)},An=c.forwardRef(Wr);An.displayName="PopupInner";var wt=An;function pr(rt){var cr=rt.prefixCls,Pr=rt.motion,Lr=rt.animation,_n=rt.transitionName;return Pr||(Lr?{motionName:"".concat(cr,"-").concat(Lr)}:_n?{motionName:_n}:null)}function gr(rt){return rt&&rt.motionName}var Fr=function(rt){Object(B.a)(Pr,rt);var cr=Object(M.a)(Pr);function Pr(){var Lr;return Object(D.a)(this,Pr),Lr=cr.apply(this,arguments),Lr.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},Lr.popupRef=o.a.createRef(),Lr.alignRef=o.a.createRef(),Lr.nextFrameState=null,Lr.nextFrameId=null,Lr.onAlign=function(_n,Vr){var _r=Lr.state.status,kn=Lr.props,Ur=kn.getClassNameFromAlign,En=kn.onAlign,jn=Ur(Vr);_r==="align"?Lr.setState({alignClassName:jn,status:"aligned"},function(){Lr.alignRef.current.forceAlign()}):_r==="aligned"?(Lr.setState({alignClassName:jn,status:"afterAlign"}),En(_n,Vr)):Lr.setState({alignClassName:jn})},Lr.onMotionEnd=function(){var _n=Lr.props.visible;Lr.setState({status:_n?"AfterMotion":"stable",inMotion:!1})},Lr.setStateOnNextFrame=function(_n){Lr.cancelFrameState(),Lr.nextFrameState=Object(F.a)(Object(F.a)({},Lr.nextFrameState),_n),Lr.nextFrameId=tr()(function(){var Vr=Object(F.a)({},Lr.nextFrameState);Lr.nextFrameState=null,Lr.setState(Vr)})},Lr.getMotion=function(){return Object(F.a)({},pr(Lr.props))},Lr.getAlignTarget=function(){var _n=Lr.props,Vr=_n.point,_r=_n.getRootDomNode;return Vr||_r},Lr.cancelFrameState=function(){tr.a.cancel(Lr.nextFrameId)},Lr.renderPopupElement=function(){var _n=Lr.state,Vr=_n.status,_r=_n.targetHeight,kn=_n.targetWidth,Ur=_n.alignClassName,En=Lr.props,jn=En.prefixCls,Hn=En.className,Bn=En.style,ri=En.stretch,Yn=En.visible,ii=En.align,ai=En.destroyPopupOnHide,ki=En.onMouseEnter,bi=En.onMouseLeave,Ki=En.onMouseDown,Aa=En.onTouchStart,ea=En.children,Ji=T()(jn,Hn,Ur),sa="".concat(jn,"-hidden"),fa={};ri&&(ri.indexOf("height")!==-1?fa.height=_r:ri.indexOf("minHeight")!==-1&&(fa.minHeight=_r),ri.indexOf("width")!==-1?fa.width=kn:ri.indexOf("minWidth")!==-1&&(fa.minWidth=kn));var xo=Object(F.a)(Object(F.a)(Object(F.a)(Object(F.a)({},fa),Lr.getZIndexStyle()),Bn),{},{opacity:Vr==="stable"||!Yn?void 0:0,pointerEvents:Vr==="stable"||!Yn?void 0:"none"}),Qa=Lr.getMotion(),Wi=Yn;Yn&&Vr!=="beforeMotion"&&Vr!=="motion"&&Vr!=="stable"&&(Qa.motionAppear=!1,Qa.motionEnter=!1,Qa.motionLeave=!1),(Vr==="afterAlign"||Vr==="beforeMotion")&&(Wi=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(ma){var ka=Qa==null?void 0:Qa[ma];Qa[ma]=function(){for(var La=arguments.length,Za=new Array(La),eo=0;eo1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(En.current),ki){Ur(ai);return}En.current=requestAnimationFrame(function(){Ur(ai)})}var Hn=$i(kn,{formatList:Pr,generateConfig:Lr,locale:_n}),Bn=Object(j.a)(Hn,2),ri=Bn[1];function Yn(ai){jn(ai)}function ii(){var ai=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;jn(null,ai)}return Object(c.useEffect)(function(){ii(!0)},[rt]),Object(c.useEffect)(function(){return function(){return cancelAnimationFrame(En.current)}},[]),[ri,Yn,ii]}function ua(rt){var cr,Pr=rt.prefixCls,Lr=Pr===void 0?"rc-picker":Pr,_n=rt.id,Vr=rt.tabIndex,_r=rt.style,kn=rt.className,Ur=rt.dropdownClassName,En=rt.dropdownAlign,jn=rt.popupStyle,Hn=rt.transitionName,Bn=rt.generateConfig,ri=rt.locale,Yn=rt.inputReadOnly,ii=rt.allowClear,ai=rt.autoFocus,ki=rt.showTime,bi=rt.picker,Ki=bi===void 0?"date":bi,Aa=rt.format,ea=rt.use12Hours,Ji=rt.value,sa=rt.defaultValue,fa=rt.open,xo=rt.defaultOpen,Qa=rt.defaultOpenValue,Wi=rt.suffixIcon,qi=rt.clearIcon,ca=rt.disabled,ma=rt.disabledDate,ka=rt.placeholder,La=rt.getPopupContainer,Za=rt.pickerRef,eo=rt.panelRender,Po=rt.onChange,jo=rt.onOpenChange,cs=rt.onFocus,Mo=rt.onBlur,Lo=rt.onMouseDown,Ba=rt.onMouseUp,za=rt.onMouseEnter,Ta=rt.onMouseLeave,ko=rt.onContextMenu,Qo=rt.onClick,so=rt.direction,Os=rt.autoComplete,ho=Os===void 0?"off":Os,bo=c.useRef(null),ds=Ki==="date"&&!!ki||Ki==="time",Ho=Ce(Qe(Aa,Ki,ki,ea)),zo=c.useRef(null),rn=c.useRef(null),es=Object(W.a)(null,{value:Ji,defaultValue:sa}),Js=Object(j.a)(es,2),Es=Js[0],gs=Js[1],Ko=c.useState(Es),hs=Object(j.a)(Ko,2),bs=hs[0],ws=hs[1],qo=c.useRef(null),us=Object(W.a)(!1,{value:fa,defaultValue:xo,postState:function(Ka){return ca?!1:Ka},onChange:function(Ka){jo&&jo(Ka),!Ka&&qo.current&&qo.current.onClose&&qo.current.onClose()}}),_s=Object(j.a)(us,2),vs=_s[0],vo=_s[1],to=$i(bs,{formatList:Ho,generateConfig:Bn,locale:ri}),Jo=Object(j.a)(to,2),ts=Jo[0],Ha=Jo[1],It=vi({valueTexts:ts,onTextChange:function(Ka){var is=Bn.locale.parse(ri.locale,Ka,Ho);is&&(!ma||!ma(is))&&ws(is)}}),Vt=Object(j.a)(It,3),dn=Vt[0],zn=Vt[1],At=Vt[2],ie=function(Ka){ws(Ka),gs(Ka),Po&&!Kt(Bn,Es,Ka)&&Po(Ka,Ka?Bn.locale.format(ri.locale,Ka,Ho[0]):"")},pe=function(Ka){if(ca&&Ka)return;vo(Ka)},be=function(Ka){return vs&&qo.current&&qo.current.onKeyDown?qo.current.onKeyDown(Ka):(Object(C.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},He=function(){Ba&&Ba.apply(void 0,arguments),bo.current&&(bo.current.focus(),pe(!0))},yt=yi({blurToCancel:ds,open:vs,value:dn,triggerOpen:pe,forwardKeyDown:be,isClickOutside:function(Ka){return!fe([zo.current,rn.current],Ka)},onSubmit:function(){return ma&&ma(bs)?!1:(ie(bs),pe(!1),At(),!0)},onCancel:function(){pe(!1),ws(Es),At()},onFocus:cs,onBlur:Mo}),Xt=Object(j.a)(yt,2),Dr=Xt[0],Xr=Xt[1],hn=Xr.focused,Kn=Xr.typing;c.useEffect(function(){vs||(ws(Es),!ts.length||ts[0]===""?zn(""):Ha!==dn&&At())},[vs,ts]),c.useEffect(function(){vs||At()},[Ki]),c.useEffect(function(){ws(Es)},[Es]),Za&&(Za.current={focus:function(){bo.current&&bo.current.focus()},blur:function(){bo.current&&bo.current.blur()}});var qn=Object(F.a)(Object(F.a)({},rt),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),Qn=c.createElement(kr,Object.assign({},qn,{generateConfig:Bn,className:T()(Object(U.a)({},"".concat(Lr,"-panel-focused"),!Kn)),value:bs,locale:ri,tabIndex:-1,onChange:ws,direction:so}));eo&&(Qn=eo(Qn));var Ei=c.createElement("div",{className:"".concat(Lr,"-panel-container"),onMouseDown:function(Ka){Ka.preventDefault()}},Qn),Fi;Wi&&(Fi=c.createElement("span",{className:"".concat(Lr,"-suffix")},Wi));var va;ii&&Es&&!ca&&(va=c.createElement("span",{onMouseDown:function(Ka){Ka.preventDefault(),Ka.stopPropagation()},onMouseUp:function(Ka){Ka.preventDefault(),Ka.stopPropagation(),ie(null),pe(!1)},className:"".concat(Lr,"-clear")},qi||c.createElement("span",{className:"".concat(Lr,"-clear-btn")})));var Oa=function(Ka,is){(is==="submit"||is!=="key"&&!ds)&&(ie(Ka),pe(!1))},fo=so==="rtl"?"bottomRight":"bottomLeft",wo=Di(dn,{formatList:Ho,generateConfig:Bn,locale:ri}),lo=Object(j.a)(wo,3),Yo=lo[0],Vo=lo[1],No=lo[2];return c.createElement($.Provider,{value:{operationRef:qo,hideHeader:Ki==="time",panelRef:zo,onSelect:Oa,open:vs,defaultOpenValue:Qa,onDateMouseEnter:Vo,onDateMouseLeave:No}},c.createElement(xi,{visible:vs,popupElement:Ei,popupStyle:jn,prefixCls:Lr,dropdownClassName:Ur,dropdownAlign:En,getPopupContainer:La,transitionName:Hn,popupPlacement:fo,direction:so},c.createElement("div",{className:T()(Lr,kn,(cr={},Object(U.a)(cr,"".concat(Lr,"-disabled"),ca),Object(U.a)(cr,"".concat(Lr,"-focused"),hn),Object(U.a)(cr,"".concat(Lr,"-rtl"),so==="rtl"),cr)),style:_r,onMouseDown:Lo,onMouseUp:He,onMouseEnter:za,onMouseLeave:Ta,onContextMenu:ko,onClick:Qo},c.createElement("div",{className:T()("".concat(Lr,"-input"),Object(U.a)({},"".concat(Lr,"-input-placeholder"),!!Yo)),ref:rn},c.createElement("input",Object.assign({id:_n,tabIndex:Vr,disabled:ca,readOnly:Yn||!Kn,value:Yo||dn,onChange:function(Ka){zn(Ka.target.value)},autoFocus:ai,placeholder:ka,ref:bo,title:dn},Dr,{size:se(Ki,Ho[0])},et(rt),{autoComplete:ho})),Fi,va))))}var aa=function(rt){Object(B.a)(Pr,rt);var cr=Object(M.a)(Pr);function Pr(){var Lr;return Object(D.a)(this,Pr),Lr=cr.apply(this,arguments),Lr.pickerRef=c.createRef(),Lr.focus=function(){Lr.pickerRef.current&&Lr.pickerRef.current.focus()},Lr.blur=function(){Lr.pickerRef.current&&Lr.pickerRef.current.blur()},Lr}return Object(R.a)(Pr,[{key:"render",value:function(){return c.createElement(ua,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Pr}(c.Component),Xi=aa;function Vi(rt,cr,Pr){var Lr=rt.picker,_n=rt.locale,Vr=rt.selectedValue,_r=rt.disabledDate,kn=rt.disabled,Ur=rt.generateConfig,En=ze(Vr,0),jn=ze(Vr,1);function Hn(ai){var ki=Ur.getYear(ai),bi=Ur.locale.getWeek(_n.locale,ai);return ki*100+bi}function Bn(ai){var ki=Ur.getYear(ai),bi=Ur.getMonth(ai);return ki*100+bi}function ri(ai){var ki=Ur.getYear(ai),bi=Gt(Ur,ai);return ki*10+bi}var Yn=c.useCallback(function(ai){if(_r&&_r(ai))return!0;if(kn[1]&&jn)return!ir(Ur,ai,jn)&&Ur.isAfter(ai,jn);if(cr&&jn)switch(Lr){case"quarter":return ri(ai)>ri(jn);case"month":return Bn(ai)>Bn(jn);case"week":return Hn(ai)>Hn(jn);default:return!ir(Ur,ai,jn)&&Ur.isAfter(ai,jn)}return!1},[_r,kn[1],jn,cr]),ii=c.useCallback(function(ai){if(_r&&_r(ai))return!0;if(kn[0]&&En)return!ir(Ur,ai,jn)&&Ur.isAfter(En,ai);if(Pr&&En)switch(Lr){case"quarter":return ri(ai)0&&arguments[0]!==void 0?arguments[0]:!1,Na=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ro=null;No&&ll&&ll[0]&&ll[1]&&Yn.isAfter(ll[1],ll[0])&&(ro=ll);var Io=Ji;if(Ji&&Object(V.a)(Ji)==="object"&&Ji.defaultValue){var Bs=Ji.defaultValue;Io=Object(F.a)(Object(F.a)({},Ji),{},{defaultValue:ze(Bs,Ha)||void 0})}var Ol=null;return Za&&(Ol=function(ml,Al){return Za(ml,Al,{range:Ha?"end":"start"})}),c.createElement(Vn.Provider,{value:{inRange:!0,panelPosition:Bo,rangedValue:ys||hn,hoverRangedValue:ro}},c.createElement(kr,Object.assign({},rt,Na,{dateRender:Ol,showTime:Io,mode:Ei[Ha],generateConfig:Yn,style:void 0,direction:es,disabledDate:Ha===0?wo:lo,disabledTime:function(ml){return La?La(ml,Ha===0?"start":"end"):!1},className:T()(Object(U.a)({},"".concat(Vr,"-panel-focused"),Ha===0?!au:!Tl)),value:ze(hn,Ha),locale:ii,tabIndex:-1,onPanelChange:function(ml,Al){va(at(Ei,Al,Ha),at(hn,ml,Ha));var Il=ml;Bo==="right"&&Ei[Ha]===Al&&(Il=fn(Il,Al,Yn,-1)),Xt(Il,Ha)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var el=0,Bl=0;Ha&&qo.current&&_s.current&&ws.current&&(el=qo.current.offsetWidth+_s.current.offsetWidth,ws.current.offsetWidth&&el>ws.current.offsetWidth&&(Bl=el));var wu=es==="rtl"?{right:el}:{left:el};function fu(){var Bo,Na=hr(Vr,Ei[Ha],ko),ro=mn({prefixCls:Vr,components:zo,needConfirmButton:Ko,okDisabled:!ze(hn,Ha)||ka&&ka(hn[Ha]),locale:ii,rangeList:su,onOk:function(){ze(hn,Ha)&&(Ss(hn,Ha),Ho&&Ho(hn))}});if(ea!=="time"&&!Ji){var Io=yt(Ha),Bs=fn(Io,ea,Yn),Ol=Ei[Ha],_l=Ol===ea,ml=Rs(_l?"left":!1,{pickerValue:Io,onPickerValueChange:function(Ks){Xt(Ks,Ha)}}),Al=Rs("right",{pickerValue:Bs,onPickerValueChange:function(Ks){Xt(fn(Ks,ea,Yn,-1),Ha)}});es==="rtl"?Bo=c.createElement(c.Fragment,null,Al,_l&&ml):Bo=c.createElement(c.Fragment,null,ml,_l&&Al)}else Bo=Rs();var Il=c.createElement(c.Fragment,null,c.createElement("div",{className:"".concat(Vr,"-panels")},Bo),(Na||ro)&&c.createElement("div",{className:"".concat(Vr,"-footer")},Na,ro));return eo&&(Il=eo(Il)),c.createElement("div",{className:"".concat(Vr,"-panel-container"),style:{marginLeft:Bl},ref:ws,onMouseDown:function(Ks){Ks.preventDefault()}},Il)}var Gl=c.createElement("div",{className:T()("".concat(Vr,"-range-wrapper"),"".concat(Vr,"-").concat(ea,"-range-wrapper")),style:{minWidth:la}},c.createElement("div",{className:"".concat(Vr,"-range-arrow"),style:wu}),fu()),Kl;Mo&&(Kl=c.createElement("span",{className:"".concat(Vr,"-suffix")},Mo));var lu;cs&&(ze(ie,0)&&!dn[0]||ze(ie,1)&&!dn[1])&&(lu=c.createElement("span",{onMouseDown:function(Na){Na.preventDefault(),Na.stopPropagation()},onMouseUp:function(Na){Na.preventDefault(),Na.stopPropagation();var ro=ie;dn[0]||(ro=at(ro,null,0)),dn[1]||(ro=at(ro,null,1)),Ss(ro,null),fs(!1,Ha)},className:"".concat(Vr,"-clear")},Lo||c.createElement("span",{className:"".concat(Vr,"-clear-btn")})));var pu={size:se(ea,to[0])},mu=0,pl=0;qo.current&&us.current&&_s.current&&(Ha===0?pl=qo.current.offsetWidth:(mu=el,pl=us.current.offsetWidth));var wl=es==="rtl"?{right:mu}:{left:mu},Dl=function(Na,ro){var Io=at(hn,Na,Ha);ro==="submit"||ro!=="key"&&!Ko?(Ss(Io,Ha),Ha===0?yu():Ys()):Kn(Io)};return c.createElement($.Provider,{value:{operationRef:Vt,hideHeader:ea==="time",onDateMouseEnter:il,onDateMouseLeave:fl,hideRanges:!0,onSelect:Dl,open:No}},c.createElement(xi,{visible:No,popupElement:Gl,popupStyle:En,prefixCls:Vr,dropdownClassName:jn,dropdownAlign:Bn,getPopupContainer:ri,transitionName:Hn,range:!0,direction:es},c.createElement("div",Object.assign({ref:bs,className:T()(Vr,"".concat(Vr,"-range"),Ur,(cr={},Object(U.a)(cr,"".concat(Vr,"-disabled"),dn[0]&&dn[1]),Object(U.a)(cr,"".concat(Vr,"-focused"),Ha===0?iu:Xl),Object(U.a)(cr,"".concat(Vr,"-rtl"),es==="rtl"),cr)),style:kn,onClick:Tu,onMouseDown:Cu},et(rt)),c.createElement("div",{className:T()("".concat(Vr,"-input"),(Pr={},Object(U.a)(Pr,"".concat(Vr,"-input-active"),Ha===0),Object(U.a)(Pr,"".concat(Vr,"-input-placeholder"),!!Nl),Pr)),ref:qo},c.createElement("input",Object.assign({id:_r,disabled:dn[0],readOnly:za||!au,value:Nl||rs,onChange:function(Na){os(Na.target.value)},autoFocus:ki,placeholder:ze(ai,0)||"",ref:vs},nu,pu,{autoComplete:gs}))),c.createElement("div",{className:"".concat(Vr,"-range-separator"),ref:_s},xo),c.createElement("div",{className:T()("".concat(Vr,"-input"),(Lr={},Object(U.a)(Lr,"".concat(Vr,"-input-active"),Ha===1),Object(U.a)(Lr,"".concat(Vr,"-input-placeholder"),!!tu),Lr)),ref:us},c.createElement("input",Object.assign({disabled:dn[1],readOnly:za||!Tl,value:tu||dl,onChange:function(Na){hl(Na.target.value)},placeholder:ze(ai,1)||"",ref:vo},Fl,pu,{autoComplete:gs}))),c.createElement("div",{className:"".concat(Vr,"-active-bar"),style:Object(F.a)(Object(F.a)({},wl),{},{width:pl,position:"absolute"})}),Kl,lu)))}var Da=function(rt){Object(B.a)(Pr,rt);var cr=Object(M.a)(Pr);function Pr(){var Lr;return Object(D.a)(this,Pr),Lr=cr.apply(this,arguments),Lr.pickerRef=c.createRef(),Lr.focus=function(){Lr.pickerRef.current&&Lr.pickerRef.current.focus()},Lr.blur=function(){Lr.pickerRef.current&&Lr.pickerRef.current.blur()},Lr}return Object(R.a)(Pr,[{key:"render",value:function(){return c.createElement(_a,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Pr}(c.Component),Ra=Da,Ao=Xi,ja=d("61s2");function Ya(rt,cr,Pr){return Pr!==void 0?Pr:rt==="year"&&cr.lang.yearPlaceholder?cr.lang.yearPlaceholder:rt==="quarter"&&cr.lang.quarterPlaceholder?cr.lang.quarterPlaceholder:rt==="month"&&cr.lang.monthPlaceholder?cr.lang.monthPlaceholder:rt==="week"&&cr.lang.weekPlaceholder?cr.lang.weekPlaceholder:rt==="time"&&cr.timePickerLocale.placeholder?cr.timePickerLocale.placeholder:cr.lang.placeholder}function Ia(rt,cr,Pr){return Pr!==void 0?Pr:rt==="year"&&cr.lang.yearPlaceholder?cr.lang.rangeYearPlaceholder:rt==="month"&&cr.lang.monthPlaceholder?cr.lang.rangeMonthPlaceholder:rt==="week"&&cr.lang.weekPlaceholder?cr.lang.rangeWeekPlaceholder:rt==="time"&&cr.timePickerLocale.placeholder?cr.timePickerLocale.rangePlaceholder:cr.lang.rangePlaceholder}var Va=d("uaoM"),co=d("H84U"),Ca=d("YMnH"),yo=d("3Nzz"),uo=function(rt,cr){var Pr={};for(var Lr in rt)Object.prototype.hasOwnProperty.call(rt,Lr)&&cr.indexOf(Lr)<0&&(Pr[Lr]=rt[Lr]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _n=0,Lr=Object.getOwnPropertySymbols(rt);_nor},q}return t(Ne,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(ht){ht.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var ht=this.state,Pt=ht.dragging,ct=ht.visible,Gt=this.props.prefixCls,or=this.getSpinHeight(),Zr=this.getTop(),ir=this.showScroll(),dr=ir&&ct;return O.createElement("div",{ref:this.scrollbarRef,className:C()("".concat(Gt,"-scrollbar"),n({},"".concat(Gt,"-scrollbar-show"),ir)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:dr?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},O.createElement("div",{ref:this.thumbRef,className:C()("".concat(Gt,"-scrollbar-thumb"),n({},"".concat(Gt,"-scrollbar-thumb-moving"),Pt)),style:{width:"100%",height:or,top:Zr,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),Ne}(O.Component);function w(G){var Pe=G.children,Ne=G.setRef,q=O.useCallback(function(ht){Ne(ht)},[]);return O.cloneElement(Pe,{ref:q})}function S(G,Pe,Ne,q,ht,Pt){var ct=Pt.getKey;return G.slice(Pe,Ne+1).map(function(Gt,or){var Zr=Pe+or,ir=ht(Gt,Zr,{}),dr=ct(Gt);return O.createElement(w,{key:dr,setRef:function(Kt){return q(Gt,Kt)}},ir)})}var _=d("m+aA");function I(G,Pe){if(!(G instanceof Pe))throw new TypeError("Cannot call a class as a function")}function L(G,Pe){for(var Ne=0;NeG.length)&&(Pe=G.length);for(var Ne=0,q=new Array(Pe);NeAr&&(bn="bottom")}}ft!==null&&ft!==G.current.scrollTop&&ct(ft)}or.current=Object(r.a)(function(){gi&&Pt(),Hr(fn-1,bn)})};dt(3)}}}function $(G,Pe,Ne,q){var ht=Ne-G,Pt=Pe-Ne,ct=Math.min(ht,Pt)*2;if(q<=ct){var Gt=Math.floor(q/2);return q%2?Ne+Gt+1:Ne-Gt}return ht>Pt?Ne-(q-Pt):Ne+(q-ht)}function ce(G,Pe,Ne){var q=G.length,ht=Pe.length,Pt,ct;if(q===0&&ht===0)return null;qG.length)&&(Pe=G.length);for(var Ne=0,q=new Array(Pe);Ne1&&arguments[1]!==void 0?arguments[1]:!1,or=ct<0&&Pt.current.top||ct>0&&Pt.current.bottom;return Gt&&or?(clearTimeout(q.current),Ne.current=!1):(!or||Ne.current)&&ht(),!Ne.current&&or}};function Y(G,Pe,Ne,q){var ht=Object(O.useRef)(0),Pt=Object(O.useRef)(null),ct=Object(O.useRef)(null),Gt=Object(O.useRef)(!1),or=se(Pe,Ne);function Zr(dr){if(!G)return;r.a.cancel(Pt.current);var er=dr.deltaY;if(ht.current+=er,ct.current=er,or(er))return;Qe||dr.preventDefault(),Pt.current=Object(r.a)(function(){var Kt=Gt.current?10:1;q(ht.current*Kt),ht.current=0})}function ir(dr){if(!G)return;Gt.current=dr.detail===ct.current}return[Zr,ir]}var X=d("TNol"),Q=14/15;function ge(G,Pe,Ne){var q=Object(O.useRef)(!1),ht=Object(O.useRef)(0),Pt=Object(O.useRef)(null),ct=Object(O.useRef)(null),Gt,or=function(er){if(q.current){var Kt=Math.ceil(er.touches[0].pageY),dt=ht.current-Kt;ht.current=Kt,Ne(dt)&&er.preventDefault(),clearInterval(ct.current),ct.current=setInterval(function(){dt*=Q,(!Ne(dt,!0)||Math.abs(dt)<=.1)&&clearInterval(ct.current)},16)}},Zr=function(){q.current=!1,Gt()},ir=function(er){Gt(),er.touches.length===1&&!q.current&&(q.current=!0,ht.current=Math.ceil(er.touches[0].pageY),Pt.current=er.target,Pt.current.addEventListener("touchmove",or),Pt.current.addEventListener("touchend",Zr))};Gt=function(){Pt.current&&(Pt.current.removeEventListener("touchmove",or),Pt.current.removeEventListener("touchend",Zr))},Object(X.a)(function(){return G&&Pe.current.addEventListener("touchstart",ir),function(){var dr;(dr=Pe.current)===null||dr===void 0||dr.removeEventListener("touchstart",ir),Gt(),clearInterval(ct.current)}},[G])}var de=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function Te(){return Te=Object.assign||function(G){for(var Pe=1;PeG.length)&&(Pe=G.length);for(var Ne=0,q=new Array(Pe);Ne=0)continue;if(!Object.prototype.propertyIsEnumerable.call(G,q))continue;Ne[q]=G[q]}}return Ne}function at(G,Pe){if(G==null)return{};var Ne={},q=Object.keys(G),ht,Pt;for(Pt=0;Pt=0)continue;Ne[ht]=G[ht]}return Ne}var Ct=[],Tt={overflowY:"auto",overflowAnchor:"none"};function Ot(G,Pe){var Ne=G.prefixCls,q=Ne===void 0?"rc-virtual-list":Ne,ht=G.className,Pt=G.height,ct=G.itemHeight,Gt=G.fullHeight,or=Gt===void 0?!0:Gt,Zr=G.style,ir=G.data,dr=G.children,er=G.itemKey,Kt=G.virtual,dt=G.component,Hr=dt===void 0?"div":dt,fn=G.onScroll,Nn=G.onVisibleChange,Vn=ze(G,de),gi=!!(Kt!==!1&&Pt&&ct),bn=gi&&ir&&ct*ir.length>Pt,Mn=Object(O.useState)(0),jt=Ee(Mn,2),St=jt[0],_e=jt[1],Oe=Object(O.useState)(!1),Le=Ee(Oe,2),Ze=Le[0],nt=Le[1],ft=C()(q,ht),Dt=ir||Ct,Ar=Object(O.useRef)(),Mr=Object(O.useRef)(),un=Object(O.useRef)(),Rt=O.useCallback(function(pn){return typeof er=="function"?er(pn):pn==null?void 0:pn[er]},[er]),it={getKey:Rt};function st(pn){_e(function(hr){var mn;typeof pn=="function"?mn=pn(hr):mn=pn;var en=Se(mn);return Ar.current.scrollTop=en,en})}var rr=Object(O.useRef)({start:0,end:Dt.length}),Bt=Object(O.useRef)(),_t=Ue(Dt,Rt),Ht=Ee(_t,1),pt=Ht[0];Bt.current=pt;var Ut=V(Rt,null,null),Sr=Ee(Ut,4),mr=Sr[0],vr=Sr[1],Jr=Sr[2],$r=Sr[3],Pn=O.useMemo(function(){if(!gi)return{scrollHeight:void 0,start:0,end:Dt.length-1,offset:void 0};if(!bn){var pn;return{scrollHeight:((pn=Mr.current)===null||pn===void 0?void 0:pn.offsetHeight)||0,start:0,end:Dt.length-1,offset:void 0}}for(var hr=0,mn,en,kr,Xn=Dt.length,di=0;di=St&&mn===void 0&&(mn=di,en=hr),Sn>St+Pt&&kr===void 0&&(kr=di),hr=Sn}return mn===void 0&&(mn=0,en=0),kr===void 0&&(kr=Dt.length-1),kr=Math.min(kr+1,Dt.length),{scrollHeight:hr,start:mn,end:kr,offset:en}},[bn,gi,St,Dt,$r,Pt]),Dn=Pn.scrollHeight,Zn=Pn.start,li=Pn.end,Ai=Pn.offset;rr.current.start=Zn,rr.current.end=li;var Ii=Dn-Pt,$e=Object(O.useRef)(Ii);$e.current=Ii;function Se(pn){var hr=pn;return Number.isNaN($e.current)||(hr=Math.min(hr,$e.current)),hr=Math.max(hr,0),hr}var Re=St<=0,je=St>=Ii,Ye=se(Re,je);function Ve(pn){var hr=pn;st(hr)}function qe(pn){var hr=pn.currentTarget.scrollTop;hr!==St&&st(hr),fn==null||fn(pn)}var xt=Y(gi,Re,je,function(pn){st(function(hr){var mn=hr+pn;return mn})}),ut=Ee(xt,2),Jt=ut[0],Rr=ut[1];ge(gi,Ar,function(pn,hr){return Ye(pn,hr)?!1:(Jt({preventDefault:function(){},deltaY:pn}),!0)}),Object(X.a)(function(){function pn(hr){gi&&hr.preventDefault()}return Ar.current.addEventListener("wheel",Jt),Ar.current.addEventListener("DOMMouseScroll",Rr),Ar.current.addEventListener("MozMousePixelScroll",pn),function(){Ar.current&&(Ar.current.removeEventListener("wheel",Jt),Ar.current.removeEventListener("DOMMouseScroll",Rr),Ar.current.removeEventListener("MozMousePixelScroll",pn))}},[gi]);var Ir=J(Ar,Dt,Jr,ct,Rt,vr,st,function(){var pn;(pn=un.current)===null||pn===void 0||pn.delayHidden()});O.useImperativeHandle(Pe,function(){return{scrollTo:Ir}}),Object(X.a)(function(){if(Nn){var pn=Dt.slice(Zn,li+1);Nn(pn,Dt)}},[Zn,li,Dt]);var Gr=S(Dt,Zn,li,mr,dr,it),qt=null;return Pt&&(qt=le(fe({},or?"height":"maxHeight",Pt),Tt),gi&&(qt.overflowY="hidden",Ze&&(qt.pointerEvents="none"))),O.createElement("div",Te({style:le(le({},Zr),{},{position:"relative"}),className:ft},Vn),O.createElement(Hr,{className:"".concat(q,"-holder"),style:qt,ref:Ar,onScroll:qe},O.createElement(o,{prefixCls:q,height:Dn,offset:Ai,onInnerResize:vr,ref:Mr},Gr)),gi&&O.createElement(T,{ref:un,prefixCls:q,scrollTop:St,height:Pt,scrollHeight:Dn,count:Dt.length,onScroll:Ve,onStartMove:function(){nt(!0)},onStopMove:function(){nt(!1)}}))}var Nt=O.forwardRef(Ot);Nt.displayName="List";var Be=Nt,ne=P.a=Be},"+rIm":function(H,P,d){var O=d("bYtY"),x=O.retrieve,C=O.defaults,A=O.extend,b=O.each,g=d("7aKB"),f=d("IwbS"),c=d("Qxkt"),o=d("OELB"),r=o.isRadianAroundZero,i=o.remRadian,n=d("oVpE"),e=n.createSymbol,s=d("Fofx"),t=d("QBsz"),a=t.applyTransform,l=d("aX7z"),u=l.shouldShowAllLabels,h=Math.PI,p=function(M,U){this.opt=U,this.axisModel=M,C(U,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new f.Group;var F=new f.Group({position:U.position.slice(),rotation:U.rotation});F.updateTransform(),this._transform=F.transform,this._dumbGroup=F};p.prototype={constructor:p,hasBuilder:function(M){return!!m[M]},add:function(M){m[M].call(this)},getGroup:function(){return this.group}};var m={axisLine:function(){var M=this.opt,U=this.axisModel;if(!U.get("axisLine.show"))return;var F=this.axisModel.axis.getExtent(),j=this._transform,W=[F[0],0],V=[F[1],0];j&&(a(W,W,j),a(V,V,j));var z=A({lineCap:"round"},U.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new f.Line({anid:"line",subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:V[0],y2:V[1]},style:z,strokeContainThreshold:M.strokeContainThreshold||5,silent:!0,z2:1}));var J=U.get("axisLine.symbol"),$=U.get("axisLine.symbolSize"),ce=U.get("axisLine.symbolOffset")||0;if(typeof ce=="number"&&(ce=[ce,ce]),J!=null){typeof J=="string"&&(J=[J,J]),(typeof $=="string"||typeof $=="number")&&($=[$,$]);var ae=$[0],Ae=$[1];b([{rotate:M.rotation+Math.PI/2,offset:ce[0],r:0},{rotate:M.rotation-Math.PI/2,offset:ce[1],r:Math.sqrt((W[0]-V[0])*(W[0]-V[0])+(W[1]-V[1])*(W[1]-V[1]))}],function(Ie,De){if(J[De]!=="none"&&J[De]!=null){var Ke=e(J[De],-ae/2,-Ae/2,ae,Ae,z.stroke,!0),me=Ie.r+Ie.offset,Ue=[W[0]+me*Math.cos(M.rotation),W[1]-me*Math.sin(M.rotation)];Ke.attr({rotation:Ie.rotate,position:Ue,silent:!0,z2:11}),this.group.add(Ke)}},this)}},axisTickLabel:function(){var M=this.axisModel,U=this.opt,F=N(this,M,U),j=R(this,M,U);w(M,j,F),D(this,M,U)},axisName:function(){var M=this.opt,U=this.axisModel,F=x(M.axisName,U.get("name"));if(!F)return;var j=U.get("nameLocation"),W=M.nameDirection,V=U.getModel("nameTextStyle"),z=U.get("nameGap")||0,J=this.axisModel.axis.getExtent(),$=J[0]>J[1]?-1:1,ce=[j==="start"?J[0]-$*z:j==="end"?J[1]+$*z:(J[0]+J[1])/2,I(j)?M.labelOffset+W*z:0],ae,Ae=U.get("nameRotate");Ae!=null&&(Ae=Ae*h/180);var Ie;I(j)?ae=y(M.rotation,Ae!=null?Ae:M.rotation,W):(ae=E(M,j,Ae||0,J),Ie=M.axisNameAvailableWidth,Ie!=null&&(Ie=Math.abs(Ie/Math.sin(ae.rotation)),!isFinite(Ie)&&(Ie=null)));var De=V.getFont(),Ke=U.get("nameTruncate",!0)||{},me=Ke.ellipsis,Ue=x(M.nameTruncateMaxWidth,Ke.maxWidth,Ie),oe=me!=null&&Ue!=null?g.truncateText(F,Ue,De,me,{minChar:2,placeholder:Ke.placeholder}):F,te=U.get("tooltip",!0),Qe=U.mainType,se={componentType:Qe,name:F,$vars:["name"]};se[Qe+"Index"]=U.componentIndex;var Y=new f.Text({anid:"name",__fullText:F,__truncatedText:oe,position:ce,rotation:ae.rotation,silent:T(U),z2:1,tooltip:te&&te.show?A({content:F,formatter:function(){return F},formatterParams:se},te):null});f.setTextStyle(Y.style,V,{text:oe,textFont:De,textFill:V.getTextColor()||U.get("axisLine.lineStyle.color"),textAlign:V.get("align")||ae.textAlign,textVerticalAlign:V.get("verticalAlign")||ae.textVerticalAlign}),U.get("triggerEvent")&&(Y.eventData=v(U),Y.eventData.targetType="axisName",Y.eventData.name=F),this._dumbGroup.add(Y),Y.updateTransform(),this.group.add(Y),Y.decomposeTransform()}},v=p.makeAxisEventDataBase=function(M){var U={componentType:M.mainType,componentIndex:M.componentIndex};return U[M.mainType+"Index"]=M.componentIndex,U},y=p.innerTextLayout=function(M,U,F){var j=i(U-M),W,V;return r(j)?(V=F>0?"top":"bottom",W="center"):r(j-h)?(V=F>0?"bottom":"top",W="center"):(V="middle",j>0&&j0?"right":"left":W=F>0?"left":"right"),{rotation:j,textAlign:W,textVerticalAlign:V}};function E(M,U,F,j){var W=i(F-M.rotation),V,z,J=j[0]>j[1],$=U==="start"&&!J||U!=="start"&&J;return r(W-h/2)?(z=$?"bottom":"top",V="center"):r(W-h*1.5)?(z=$?"top":"bottom",V="center"):(z="middle",Wh/2?V=$?"left":"right":V=$?"right":"left"),{rotation:W,textAlign:V,textVerticalAlign:z}}var T=p.isLabelSilent=function(M){var U=M.get("tooltip");return M.get("silent")||!(M.get("triggerEvent")||U&&U.show)};function w(M,U,F){if(u(M.axis))return;var j=M.get("axisLabel.showMinLabel"),W=M.get("axisLabel.showMaxLabel");U=U||[],F=F||[];var V=U[0],z=U[1],J=U[U.length-1],$=U[U.length-2],ce=F[0],ae=F[1],Ae=F[F.length-1],Ie=F[F.length-2];j===!1?(S(V),S(ce)):_(V,z)&&(j?(S(z),S(ae)):(S(V),S(ce))),W===!1?(S(J),S(Ae)):_($,J)&&(W?(S($),S(Ie)):(S(J),S(Ae)))}function S(M){M&&(M.ignore=!0)}function _(M,U,F){var j=M&&M.getBoundingRect().clone(),W=U&&U.getBoundingRect().clone();if(!j||!W)return;var V=s.identity([]);return s.rotate(V,V,-M.rotation),j.applyTransform(s.mul([],V,M.getLocalTransform())),W.applyTransform(s.mul([],V,U.getLocalTransform())),j.intersect(W)}function I(M){return M==="middle"||M==="center"}function L(M,U,F,j,W){for(var V=[],z=[],J=[],$=0;$t}function j(le){var fe=le.length-1;return fe<0&&(fe=0),[le[0],le[fe]]}function W(le,fe,Ee,Ge){var lt=new b.Group;return lt.add(new b.Rect({name:"main",style:$(Ee),silent:!0,draggable:!0,cursor:"move",drift:c(le,fe,lt,"nswe"),ondragend:c(U,fe,{isEnd:!0})})),o(Ge,function(Je){lt.add(new b.Rect({name:Je,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:c(le,fe,lt,Je),ondragend:c(U,fe,{isEnd:!0})}))}),lt}function V(le,fe,Ee,Ge){var lt=Ge.brushStyle.lineWidth||0,Je=n(lt,a),Ce=Ee[0][0],et=Ee[1][0],ze=Ce-lt/2,at=et-lt/2,Ct=Ee[0][1],Tt=Ee[1][1],Ot=Ct-Je+lt/2,Nt=Tt-Je+lt/2,Be=Ct-Ce,ne=Tt-et,G=Be+lt,Pe=ne+lt;J(le,fe,"main",Ce,et,Be,ne),Ge.transformable&&(J(le,fe,"w",ze,at,Je,Pe),J(le,fe,"e",Ot,at,Je,Pe),J(le,fe,"n",ze,at,G,Je),J(le,fe,"s",ze,Nt,G,Je),J(le,fe,"nw",ze,at,Je,Je),J(le,fe,"ne",Ot,at,Je,Je),J(le,fe,"sw",ze,Nt,Je,Je),J(le,fe,"se",Ot,Nt,Je,Je))}function z(le,fe){var Ee=fe.__brushOption,Ge=Ee.transformable,lt=fe.childAt(0);lt.useStyle($(Ee)),lt.attr({silent:!Ge,cursor:Ge?"move":"default"}),o(["w","e","n","s","se","sw","ne","nw"],function(Je){var Ce=fe.childOfName(Je),et=Ae(le,Je);Ce&&Ce.attr({silent:!Ge,invisible:!Ge,cursor:Ge?h[et]+"-resize":null})})}function J(le,fe,Ee,Ge,lt,Je,Ce){var et=fe.childOfName(Ee);et&&et.setShape(Ue(me(le,fe,[[Ge,lt],[Ge+Je,lt+Ce]])))}function $(le){return C.defaults({strokeNoScale:!0},le.brushStyle)}function ce(le,fe,Ee,Ge){var lt=[i(le,Ee),i(fe,Ge)],Je=[n(le,Ee),n(fe,Ge)];return[[lt[0],Je[0]],[lt[1],Je[1]]]}function ae(le){return b.getTransform(le.group)}function Ae(le,fe){if(fe.length>1){fe=fe.split("");var Ee=[Ae(le,fe[0]),Ae(le,fe[1])];return(Ee[0]==="e"||Ee[0]==="w")&&Ee.reverse(),Ee.join("")}else{var Ge={w:"left",e:"right",n:"top",s:"bottom"},lt={left:"w",right:"e",top:"n",bottom:"s"},Ee=b.transformDirection(Ge[fe],ae(le));return lt[Ee]}}function Ie(le,fe,Ee,Ge,lt,Je,Ce,et){var ze=Ge.__brushOption,at=le(ze.range),Ct=Ke(Ee,Je,Ce);o(lt.split(""),function(Tt){var Ot=u[Tt];at[Ot[0]][Ot[1]]+=Ct[Ot[0]]}),ze.range=fe(ce(at[0][0],at[1][0],at[0][1],at[1][1])),N(Ee,Ge),U(Ee,{isEnd:!1})}function De(le,fe,Ee,Ge,lt){var Je=fe.__brushOption.range,Ce=Ke(le,Ee,Ge);o(Je,function(et){et[0]+=Ce[0],et[1]+=Ce[1]}),N(le,fe),U(le,{isEnd:!1})}function Ke(le,fe,Ee){var Ge=le.group,lt=Ge.transformCoordToLocal(fe,Ee),Je=Ge.transformCoordToLocal(0,0);return[lt[0]-Je[0],lt[1]-Je[1]]}function me(le,fe,Ee){var Ge=B(le,fe);return Ge&&Ge!==!0?Ge.clipPath(Ee,le._transform):C.clone(Ee)}function Ue(le){var fe=i(le[0][0],le[1][0]),Ee=i(le[0][1],le[1][1]),Ge=n(le[0][0],le[1][0]),lt=n(le[0][1],le[1][1]);return{x:fe,y:Ee,width:Ge-fe,height:lt-Ee}}function oe(le,fe,Ee){if(!le._brushType||ge(le,fe))return;var Ge=le._zr,lt=le._covers,Je=R(le,fe,Ee);if(!le._dragging)for(var Ce=0;CeGe.getWidth()||Ee<0||Ee>Ge.getHeight()}var de={lineX:Te(0),lineY:Te(1),rect:{createCover:function(le,fe){return W(c(Ie,function(Ee){return Ee},function(Ee){return Ee}),le,fe,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(le){var fe=j(le);return ce(fe[1][0],fe[1][1],fe[0][0],fe[0][1])},updateCoverShape:function(le,fe,Ee,Ge){V(le,fe,Ee,Ge)},updateCommon:z,contain:Qe},polygon:{createCover:function(le,fe){var Ee=new b.Group;return Ee.add(new b.Polyline({name:"main",style:$(fe),silent:!0})),Ee},getCreatingRange:function(le){return le},endCreating:function(le,fe){fe.remove(fe.childAt(0)),fe.add(new b.Polygon({name:"main",draggable:!0,drift:c(De,le,fe),ondragend:c(U,le,{isEnd:!0})}))},updateCoverShape:function(le,fe,Ee,Ge){fe.childAt(0).setShape({points:me(le,fe,Ee)})},updateCommon:z,contain:Qe}};function Te(le){return{createCover:function(fe,Ee){return W(c(Ie,function(Ge){var lt=[Ge,[0,100]];return le&<.reverse(),lt},function(Ge){return Ge[le]}),fe,Ee,[["w","e"],["n","s"]][le])},getCreatingRange:function(fe){var Ee=j(fe),Ge=i(Ee[0][le],Ee[1][le]),lt=n(Ee[0][le],Ee[1][le]);return[Ge,lt]},updateCoverShape:function(fe,Ee,Ge,lt){var Je,Ce=B(fe,Ee);if(Ce!==!0&&Ce.getLinearBrushOtherExtent)Je=Ce.getLinearBrushOtherExtent(le,fe._transform);else{var et=fe._zr;Je=[0,[et.getWidth(),et.getHeight()][1-le]]}var ze=[Ge,Je];le&&ze.reverse(),V(fe,Ee,ze,lt)},updateCommon:z,contain:Qe}}var xe=v;H.exports=xe},"/MfK":function(H,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),g=function(o,r){return x.createElement(b.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:A}))};g.displayName="DeleteOutlined";var f=P.a=x.forwardRef(g)},"/POA":function(H,P,d){!function(O,x){if(!0)H.exports=x();else var C,A}(window,function(){return function(O){var x={};function C(A){if(x[A])return x[A].exports;var b=x[A]={i:A,l:!1,exports:{}};return O[A].call(b.exports,b,b.exports,C),b.l=!0,b.exports}return C.m=O,C.c=x,C.d=function(A,b,g){C.o(A,b)||Object.defineProperty(A,b,{enumerable:!0,get:g})},C.r=function(A){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},C.t=function(A,b){if(1&b&&(A=C(A)),8&b)return A;if(4&b&&typeof A=="object"&&A&&A.__esModule)return A;var g=Object.create(null);if(C.r(g),Object.defineProperty(g,"default",{enumerable:!0,value:A}),2&b&&typeof A!="string")for(var f in A)C.d(g,f,function(c){return A[c]}.bind(null,f));return g},C.n=function(A){var b=A&&A.__esModule?function(){return A.default}:function(){return A};return C.d(b,"a",b),b},C.o=function(A,b){return Object.prototype.hasOwnProperty.call(A,b)},C.p="",C(C.s=34)}([function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.forwardEvent=x.EventEmitter=void 0;var A=function(){function b(){this._listeners=[],this._disposed=!1}return Object.defineProperty(b.prototype,"event",{get:function(){var f=this;return this._event||(this._event=function(c){return f._listeners.push(c),{dispose:function(){if(!f._disposed){for(var r=0;r>22},i.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?g.stringFromCodePoint(2097151&this.content):""},i.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},i.prototype.setFromCharData=function(n){this.fg=n[f.CHAR_DATA_ATTR_INDEX],this.bg=0;var e=!1;if(n[f.CHAR_DATA_CHAR_INDEX].length>2)e=!0;else if(n[f.CHAR_DATA_CHAR_INDEX].length===2){var s=n[f.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=s&&s<=56319){var t=n[f.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=t&&t<=57343?this.content=1024*(s-55296)+t-56320+65536|n[f.CHAR_DATA_WIDTH_INDEX]<<22:e=!0}else e=!0}else this.content=n[f.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|n[f.CHAR_DATA_WIDTH_INDEX]<<22;e&&(this.combinedData=n[f.CHAR_DATA_CHAR_INDEX],this.content=2097152|n[f.CHAR_DATA_WIDTH_INDEX]<<22)},i.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},i}(c.AttributeData);x.CellData=o},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.ISoundService=x.ISelectionService=x.IRenderService=x.IMouseService=x.ICoreBrowserService=x.ICharSizeService=void 0;var A=C(14);x.ICharSizeService=A.createDecorator("CharSizeService"),x.ICoreBrowserService=A.createDecorator("CoreBrowserService"),x.IMouseService=A.createDecorator("MouseService"),x.IRenderService=A.createDecorator("RenderService"),x.ISelectionService=A.createDecorator("SelectionService"),x.ISoundService=A.createDecorator("SoundService")},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.ExtendedAttrs=x.AttributeData=void 0;var A=function(){function g(){this.fg=0,this.bg=0,this.extended=new b}return g.toColorRGB=function(f){return[f>>>16&255,f>>>8&255,255&f]},g.fromColorRGB=function(f){return(255&f[0])<<16|(255&f[1])<<8|255&f[2]},g.prototype.clone=function(){var f=new g;return f.fg=this.fg,f.bg=this.bg,f.extended=this.extended.clone(),f},g.prototype.isInverse=function(){return 67108864&this.fg},g.prototype.isBold=function(){return 134217728&this.fg},g.prototype.isUnderline=function(){return 268435456&this.fg},g.prototype.isBlink=function(){return 536870912&this.fg},g.prototype.isInvisible=function(){return 1073741824&this.fg},g.prototype.isItalic=function(){return 67108864&this.bg},g.prototype.isDim=function(){return 134217728&this.bg},g.prototype.getFgColorMode=function(){return 50331648&this.fg},g.prototype.getBgColorMode=function(){return 50331648&this.bg},g.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},g.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},g.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},g.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},g.prototype.isFgDefault=function(){return(50331648&this.fg)==0},g.prototype.isBgDefault=function(){return(50331648&this.bg)==0},g.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},g.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},g.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},g.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},g.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},g.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},g.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},g.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},g.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},g.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},g.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},g}();x.AttributeData=A;var b=function(){function g(f,c){f===void 0&&(f=0),c===void 0&&(c=-1),this.underlineStyle=f,this.underlineColor=c}return g.prototype.clone=function(){return new g(this.underlineStyle,this.underlineColor)},g.prototype.isEmpty=function(){return this.underlineStyle===0},g}();x.ExtendedAttrs=b},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.addDisposableDomListener=void 0,x.addDisposableDomListener=function(A,b,g,f){A.addEventListener(b,g,f);var c=!1;return{dispose:function(){c||(c=!0,A.removeEventListener(b,g,f))}}}},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.Utf8ToUtf32=x.StringToUtf32=x.utf32ToString=x.stringFromCodePoint=void 0,x.stringFromCodePoint=function(g){return g>65535?(g-=65536,String.fromCharCode(55296+(g>>10))+String.fromCharCode(g%1024+56320)):String.fromCharCode(g)},x.utf32ToString=function(g,f,c){f===void 0&&(f=0),c===void 0&&(c=g.length);for(var o="",r=f;r65535?(i-=65536,o+=String.fromCharCode(55296+(i>>10))+String.fromCharCode(i%1024+56320)):o+=String.fromCharCode(i)}return o};var A=function(){function g(){this._interim=0}return g.prototype.clear=function(){this._interim=0},g.prototype.decode=function(f,c){var o=f.length;if(!o)return 0;var r=0,i=0;this._interim&&(56320<=(s=f.charCodeAt(i++))&&s<=57343?c[r++]=1024*(this._interim-55296)+s-56320+65536:(c[r++]=this._interim,c[r++]=s),this._interim=0);for(var n=i;n=o)return this._interim=e,r;var s;56320<=(s=f.charCodeAt(n))&&s<=57343?c[r++]=1024*(e-55296)+s-56320+65536:(c[r++]=e,c[r++]=s)}else c[r++]=e}return r},g}();x.StringToUtf32=A;var b=function(){function g(){this.interim=new Uint8Array(3)}return g.prototype.clear=function(){this.interim.fill(0)},g.prototype.decode=function(f,c){var o=f.length;if(!o)return 0;var r,i,n,e,s=0,t=0,a=0;if(this.interim[0]){var l=!1,u=this.interim[0];u&=(224&u)==192?31:(240&u)==224?15:7;for(var h=0,p=void 0;(p=63&this.interim[++h])&&h<4;)u<<=6,u|=p;for(var m=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,v=m-h;a=o)return 0;if((192&(p=f[a++]))!=128){a--,l=!0;break}this.interim[h++]=p,u<<=6,u|=63&p}l||(m===2?u<128?a--:c[s++]=u:m===3?u<2048||u>=55296&&u<=57343||(c[s++]=u):u<65536||u>1114111||(c[s++]=u)),this.interim.fill(0)}for(var y=o-4,E=a;E=o)return this.interim[0]=r,s;if((192&(i=f[E++]))!=128){E--;continue}if((t=(31&r)<<6|63&i)<128){E--;continue}c[s++]=t}else if((240&r)==224){if(E>=o)return this.interim[0]=r,s;if((192&(i=f[E++]))!=128){E--;continue}if(E>=o)return this.interim[0]=r,this.interim[1]=i,s;if((192&(n=f[E++]))!=128){E--;continue}if((t=(15&r)<<12|(63&i)<<6|63&n)<2048||t>=55296&&t<=57343)continue;c[s++]=t}else if((248&r)==240){if(E>=o)return this.interim[0]=r,s;if((192&(i=f[E++]))!=128){E--;continue}if(E>=o)return this.interim[0]=r,this.interim[1]=i,s;if((192&(n=f[E++]))!=128){E--;continue}if(E>=o)return this.interim[0]=r,this.interim[1]=i,this.interim[2]=n,s;if((192&(e=f[E++]))!=128){E--;continue}if((t=(7&r)<<18|(63&i)<<12|(63&n)<<6|63&e)<65536||t>1114111)continue;c[s++]=t}}return s},g}();x.Utf8ToUtf32=b},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CHAR_ATLAS_CELL_SPACING=x.DIM_OPACITY=x.INVERTED_DEFAULT_COLOR=void 0,x.INVERTED_DEFAULT_COLOR=257,x.DIM_OPACITY=.5,x.CHAR_ATLAS_CELL_SPACING=1},function(O,x,C){"use strict";var A,b,g,f;function c(r){var i=r.toString(16);return i.length<2?"0"+i:i}function o(r,i){return r>>0}}(A=x.channels||(x.channels={})),(b=x.color||(x.color={})).blend=function(r,i){var n=(255&i.rgba)/255;if(n===1)return{css:i.css,rgba:i.rgba};var e=i.rgba>>24&255,s=i.rgba>>16&255,t=i.rgba>>8&255,a=r.rgba>>24&255,l=r.rgba>>16&255,u=r.rgba>>8&255,h=a+Math.round((e-a)*n),p=l+Math.round((s-l)*n),m=u+Math.round((t-u)*n);return{css:A.toCss(h,p,m),rgba:A.toRgba(h,p,m)}},b.isOpaque=function(r){return(255&r.rgba)==255},b.ensureContrastRatio=function(r,i,n){var e=f.ensureContrastRatio(r.rgba,i.rgba,n);if(e)return f.toColor(e>>24&255,e>>16&255,e>>8&255)},b.opaque=function(r){var i=(255|r.rgba)>>>0,n=f.toChannels(i),e=n[0],s=n[1],t=n[2];return{css:A.toCss(e,s,t),rgba:i}},b.opacity=function(r,i){var n=Math.round(255*i),e=f.toChannels(r.rgba),s=e[0],t=e[1],a=e[2];return{css:A.toCss(s,t,a,n),rgba:A.toRgba(s,t,a,n)}},(x.css||(x.css={})).toColor=function(r){switch(r.length){case 7:return{css:r,rgba:(parseInt(r.slice(1),16)<<8|255)>>>0};case 9:return{css:r,rgba:parseInt(r.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(r){function i(n,e,s){var t=n/255,a=e/255,l=s/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.0722*(l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4))}r.relativeLuminance=function(n){return i(n>>16&255,n>>8&255,255&n)},r.relativeLuminance2=i}(g=x.rgb||(x.rgb={})),function(r){function i(e,s,t){for(var a=e>>24&255,l=e>>16&255,u=e>>8&255,h=s>>24&255,p=s>>16&255,m=s>>8&255,v=o(g.relativeLuminance2(h,m,p),g.relativeLuminance2(a,l,u));v0||p>0||m>0);)h-=Math.max(0,Math.ceil(.1*h)),p-=Math.max(0,Math.ceil(.1*p)),m-=Math.max(0,Math.ceil(.1*m)),v=o(g.relativeLuminance2(h,m,p),g.relativeLuminance2(a,l,u));return(h<<24|p<<16|m<<8|255)>>>0}function n(e,s,t){for(var a=e>>24&255,l=e>>16&255,u=e>>8&255,h=s>>24&255,p=s>>16&255,m=s>>8&255,v=o(g.relativeLuminance2(h,m,p),g.relativeLuminance2(a,l,u));v>>0}r.ensureContrastRatio=function(e,s,t){var a=g.relativeLuminance(e>>8),l=g.relativeLuminance(s>>8);if(o(a,l)>24&255,e>>16&255,e>>8&255,255&e]},r.toColor=function(e,s,t){return{css:A.toCss(e,s,t),rgba:A.toRgba(e,s,t)}}}(f=x.rgba||(x.rgba={})),x.toPaddedHex=c,x.contrastRatio=o},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.isLinux=x.isWindows=x.isIphone=x.isIpad=x.isMac=x.isSafari=x.isFirefox=void 0;var A=typeof navigator=="undefined",b=A?"node":navigator.userAgent,g=A?"node":navigator.platform;function f(c,o){return c.indexOf(o)>=0}x.isFirefox=!!~b.indexOf("Firefox"),x.isSafari=/^((?!chrome|android).)*safari/i.test(b),x.isMac=f(["Macintosh","MacIntel","MacPPC","Mac68K"],g),x.isIpad=g==="iPad",x.isIphone=g==="iPhone",x.isWindows=f(["Windows","Win16","Win32","WinCE"],g),x.isLinux=g.indexOf("Linux")>=0},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.C1=x.C0=void 0,function(A){A.NUL="\0",A.SOH="",A.STX="",A.ETX="",A.EOT="",A.ENQ="",A.ACK="",A.BEL="\x07",A.BS="\b",A.HT=" ",A.LF=` `,A.VT="\v",A.FF="\f",A.CR="\r",A.SO="",A.SI="",A.DLE="",A.DC1="",A.DC2="",A.DC3="",A.DC4="",A.NAK="",A.SYN="",A.ETB="",A.CAN="",A.EM="",A.SUB="",A.ESC="",A.FS="",A.GS="",A.RS="",A.US="",A.SP=" ",A.DEL="\x7F"}(x.C0||(x.C0={})),function(A){A.PAD="\x80",A.HOP="\x81",A.BPH="\x82",A.NBH="\x83",A.IND="\x84",A.NEL="\x85",A.SSA="\x86",A.ESA="\x87",A.HTS="\x88",A.HTJ="\x89",A.VTS="\x8A",A.PLD="\x8B",A.PLU="\x8C",A.RI="\x8D",A.SS2="\x8E",A.SS3="\x8F",A.DCS="\x90",A.PU1="\x91",A.PU2="\x92",A.STS="\x93",A.CCH="\x94",A.MW="\x95",A.SPA="\x96",A.EPA="\x97",A.SOS="\x98",A.SGCI="\x99",A.SCI="\x9A",A.CSI="\x9B",A.ST="\x9C",A.OSC="\x9D",A.PM="\x9E",A.APC="\x9F"}(x.C1||(x.C1={}))},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.BaseRenderLayer=void 0;var A=C(3),b=C(9),g=C(25),f=C(6),c=C(28),o=C(10),r=C(17),i=function(){function n(e,s,t,a,l,u,h,p){this._container=e,this._alpha=a,this._colors=l,this._rendererId=u,this._bufferService=h,this._optionsService=p,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+s+"-layer"),this._canvas.style.zIndex=t.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return n.prototype.dispose=function(){var e;r.removeElementFromParent(this._canvas),(e=this._charAtlas)===null||e===void 0||e.dispose()},n.prototype._initCanvas=function(){this._ctx=c.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},n.prototype.onOptionsChanged=function(){},n.prototype.onBlur=function(){},n.prototype.onFocus=function(){},n.prototype.onCursorMove=function(){},n.prototype.onGridChanged=function(e,s){},n.prototype.onSelectionChanged=function(e,s,t){t===void 0&&(t=!1)},n.prototype.setColors=function(e){this._refreshCharAtlas(e)},n.prototype._setTransparency=function(e){if(e!==this._alpha){var s=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,s),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},n.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=g.acquireCharAtlas(this._optionsService.options,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},n.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},n.prototype._fillCells=function(e,s,t,a){this._ctx.fillRect(e*this._scaledCellWidth,s*this._scaledCellHeight,t*this._scaledCellWidth,a*this._scaledCellHeight)},n.prototype._fillBottomLineAtCells=function(e,s,t){t===void 0&&(t=1),this._ctx.fillRect(e*this._scaledCellWidth,(s+1)*this._scaledCellHeight-window.devicePixelRatio-1,t*this._scaledCellWidth,window.devicePixelRatio)},n.prototype._fillLeftLineAtCell=function(e,s,t){this._ctx.fillRect(e*this._scaledCellWidth,s*this._scaledCellHeight,window.devicePixelRatio*t,this._scaledCellHeight)},n.prototype._strokeRectAtCell=function(e,s,t,a){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,s*this._scaledCellHeight+window.devicePixelRatio/2,t*this._scaledCellWidth-window.devicePixelRatio,a*this._scaledCellHeight-window.devicePixelRatio)},n.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},n.prototype._clearCells=function(e,s,t,a){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,s*this._scaledCellHeight,t*this._scaledCellWidth,a*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,s*this._scaledCellHeight,t*this._scaledCellWidth,a*this._scaledCellHeight))},n.prototype._fillCharTrueColor=function(e,s,t){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(t),this._ctx.fillText(e.getChars(),s*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},n.prototype._drawChars=function(e,s,t){var a,l,u=this._getContrastColor(e);u||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,s,t,u):(e.isInverse()?(a=e.isBgDefault()?b.INVERTED_DEFAULT_COLOR:e.getBgColor(),l=e.isFgDefault()?b.INVERTED_DEFAULT_COLOR:e.getFgColor()):(l=e.isBgDefault()?A.DEFAULT_COLOR:e.getBgColor(),a=e.isFgDefault()?A.DEFAULT_COLOR:e.getFgColor()),a+=this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&a<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||A.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||A.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=l,this._currentGlyphIdentifier.fg=a,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,s*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(e,s,t))},n.prototype._drawUncachedChars=function(e,s,t,a){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline="middle",e.isInverse())if(a)this._ctx.fillStyle=a.css;else if(e.isBgDefault())this._ctx.fillStyle=o.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+f.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var l=e.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&l<8&&(l+=8),this._ctx.fillStyle=this._colors.ansi[l].css}else if(a)this._ctx.fillStyle=a.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+f.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var u=e.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}this._clipRow(t),e.isDim()&&(this._ctx.globalAlpha=b.DIM_OPACITY),this._ctx.fillText(e.getChars(),s*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},n.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},n.prototype._getFont=function(e,s){return(s?"italic":"")+" "+(e?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},n.prototype._getContrastColor=function(e){if(this._optionsService.options.minimumContrastRatio!==1){var s=this._colors.contrastCache.getColor(e.bg,e.fg);if(s!==void 0)return s||void 0;var t=e.getFgColor(),a=e.getFgColorMode(),l=e.getBgColor(),u=e.getBgColorMode(),h=!!e.isInverse(),p=!!e.isInverse();if(h){var m=t;t=l,l=m;var v=a;a=u,u=v}var y=this._resolveBackgroundRgba(u,l,h),E=this._resolveForegroundRgba(a,t,h,p),T=o.rgba.ensureContrastRatio(y,E,this._optionsService.options.minimumContrastRatio);if(T){var w={css:o.channels.toCss(T>>24&255,T>>16&255,T>>8&255),rgba:T};return this._colors.contrastCache.setColor(e.bg,e.fg,w),w}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},n.prototype._resolveBackgroundRgba=function(e,s,t){switch(e){case 16777216:case 33554432:return this._colors.ansi[s].rgba;case 50331648:return s<<8;case 0:default:return t?this._colors.foreground.rgba:this._colors.background.rgba}},n.prototype._resolveForegroundRgba=function(e,s,t,a){switch(e){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&a&&s<8&&(s+=8),this._colors.ansi[s].rgba;case 50331648:return s<<8;case 0:default:return t?this._colors.background.rgba:this._colors.foreground.rgba}},n}();x.BaseRenderLayer=i},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.createDecorator=x.getServiceDependencies=x.serviceRegistry=void 0;function A(b,g,f){g.di$target===g?g.di$dependencies.push({id:b,index:f}):(g.di$dependencies=[{id:b,index:f}],g.di$target=g)}x.serviceRegistry=new Map,x.getServiceDependencies=function(b){return b.di$dependencies||[]},x.createDecorator=function(b){if(x.serviceRegistry.has(b))return x.serviceRegistry.get(b);var g=function f(c,o,r){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");A(f,c,r)};return g.toString=function(){return b},x.serviceRegistry.set(b,g),g}},function(O,x,C){"use strict";function A(b,g,f,c){if(f===void 0&&(f=0),c===void 0&&(c=b.length),f>=b.length)return b;f=(b.length+f)%b.length,c=c>=b.length?b.length:(b.length+c)%b.length;for(var o=f;o>22,2097152&i?this._combined[r].charCodeAt(this._combined[r].length-1):n]},o.prototype.set=function(r,i){this._data[3*r+1]=i[b.CHAR_DATA_ATTR_INDEX],i[b.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[r]=i[1],this._data[3*r+0]=2097152|r|i[b.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*r+0]=i[b.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|i[b.CHAR_DATA_WIDTH_INDEX]<<22},o.prototype.getWidth=function(r){return this._data[3*r+0]>>22},o.prototype.hasWidth=function(r){return 12582912&this._data[3*r+0]},o.prototype.getFg=function(r){return this._data[3*r+1]},o.prototype.getBg=function(r){return this._data[3*r+2]},o.prototype.hasContent=function(r){return 4194303&this._data[3*r+0]},o.prototype.getCodePoint=function(r){var i=this._data[3*r+0];return 2097152&i?this._combined[r].charCodeAt(this._combined[r].length-1):2097151&i},o.prototype.isCombined=function(r){return 2097152&this._data[3*r+0]},o.prototype.getString=function(r){var i=this._data[3*r+0];return 2097152&i?this._combined[r]:2097151&i?A.stringFromCodePoint(2097151&i):""},o.prototype.loadCell=function(r,i){var n=3*r;return i.content=this._data[n+0],i.fg=this._data[n+1],i.bg=this._data[n+2],2097152&i.content&&(i.combinedData=this._combined[r]),268435456&i.bg&&(i.extended=this._extendedAttrs[r]),i},o.prototype.setCell=function(r,i){2097152&i.content&&(this._combined[r]=i.combinedData),268435456&i.bg&&(this._extendedAttrs[r]=i.extended),this._data[3*r+0]=i.content,this._data[3*r+1]=i.fg,this._data[3*r+2]=i.bg},o.prototype.setCellFromCodePoint=function(r,i,n,e,s,t){268435456&s&&(this._extendedAttrs[r]=t),this._data[3*r+0]=i|n<<22,this._data[3*r+1]=e,this._data[3*r+2]=s},o.prototype.addCodepointToCell=function(r,i){var n=this._data[3*r+0];2097152&n?this._combined[r]+=A.stringFromCodePoint(i):(2097151&n?(this._combined[r]=A.stringFromCodePoint(2097151&n)+A.stringFromCodePoint(i),n&=-2097152,n|=2097152):n=i|1<<22,this._data[3*r+0]=n)},o.prototype.insertCells=function(r,i,n,e){if((r%=this.length)&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(e==null?void 0:e.fg)||0,(e==null?void 0:e.bg)||0,(e==null?void 0:e.extended)||new f.ExtendedAttrs),i=0;--t)this.setCell(r+i+t,this.loadCell(r+t,s));for(t=0;tthis.length){var n=new Uint32Array(3*r);this.length&&(3*r=r&&delete this._combined[t]}}else this._data=new Uint32Array(0),this._combined={};this.length=r}},o.prototype.fill=function(r){this._combined={},this._extendedAttrs={};for(var i=0;i=0;--r)if(4194303&this._data[3*r+0])return r+(this._data[3*r+0]>>22);return 0},o.prototype.copyCellsFrom=function(r,i,n,e,s){var t=r._data;if(s)for(var a=e-1;a>=0;a--)for(var l=0;l<3;l++)this._data[3*(n+a)+l]=t[3*(i+a)+l];else for(a=0;a=i&&(this._combined[h-i+n]=r._combined[h])}},o.prototype.translateToString=function(r,i,n){r===void 0&&(r=!1),i===void 0&&(i=0),n===void 0&&(n=this.length),r&&(n=Math.min(n,this.getTrimmedLength()));for(var e="";i>22||1}return e},o}();x.BufferLine=c},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.removeElementFromParent=void 0,x.removeElementFromParent=function(){for(var A,b=[],g=0;g24)return T.setWinLines||!1;switch(E){case 1:return!!T.restoreWin;case 2:return!!T.minimizeWin;case 3:return!!T.setWinPosition;case 4:return!!T.setWinSizePixels;case 5:return!!T.raiseWin;case 6:return!!T.lowerWin;case 7:return!!T.refreshWin;case 8:return!!T.setWinSizeChars;case 9:return!!T.maximizeWin;case 10:return!!T.fullscreenWin;case 11:return!!T.getWinState;case 13:return!!T.getWinPosition;case 14:return!!T.getWinSizePixels;case 15:return!!T.getScreenSizePixels;case 16:return!!T.getCellSizePixels;case 18:return!!T.getWinSizeChars;case 19:return!!T.getScreenSizeChars;case 20:return!!T.getIconTitle;case 21:return!!T.getWinTitle;case 22:return!!T.pushTitle;case 23:return!!T.popTitle;case 24:return!!T.setWinLines}return!1}!function(E){E[E.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",E[E.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(g=x.WindowsOptionsReportType||(x.WindowsOptionsReportType={}));var v=function(){function E(T,w,S,_){this._bufferService=T,this._coreService=w,this._logService=S,this._optionsService=_,this._data=new Uint32Array(0)}return E.prototype.hook=function(T){this._data=new Uint32Array(0)},E.prototype.put=function(T,w,S){this._data=i.concat(this._data,T.subarray(w,S))},E.prototype.unhook=function(T){if(T){var w=n.utf32ToString(this._data);switch(this._data=new Uint32Array(0),w){case'"q':return this._coreService.triggerDataEvent(f.C0.ESC+'P1$r0"q'+f.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(f.C0.ESC+'P1$r61;1"p'+f.C0.ESC+"\\");case"r":var S=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(f.C0.ESC+"P1$r"+S+f.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(f.C0.ESC+"P1$r0m"+f.C0.ESC+"\\");case" q":var _={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return _-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(f.C0.ESC+"P1$r"+_+" q"+f.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",w),this._coreService.triggerDataEvent(f.C0.ESC+"P0$r"+f.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},E}(),y=function(E){function T(w,S,_,I,L,N,D,R,B){B===void 0&&(B=new o.EscapeSequenceParser);var M=E.call(this)||this;M._bufferService=w,M._charsetService=S,M._coreService=_,M._dirtyRowService=I,M._logService=L,M._optionsService=N,M._coreMouseService=D,M._unicodeService=R,M._parser=B,M._parseBuffer=new Uint32Array(4096),M._stringDecoder=new n.StringToUtf32,M._utf8Decoder=new n.Utf8ToUtf32,M._workCell=new a.CellData,M._windowTitle="",M._iconName="",M._windowTitleStack=[],M._iconNameStack=[],M._curAttrData=e.DEFAULT_ATTR_DATA.clone(),M._eraseAttrDataInternal=e.DEFAULT_ATTR_DATA.clone(),M._onRequestBell=new s.EventEmitter,M._onRequestRefreshRows=new s.EventEmitter,M._onRequestReset=new s.EventEmitter,M._onRequestScroll=new s.EventEmitter,M._onRequestSyncScrollBar=new s.EventEmitter,M._onRequestWindowsOptionsReport=new s.EventEmitter,M._onA11yChar=new s.EventEmitter,M._onA11yTab=new s.EventEmitter,M._onCursorMove=new s.EventEmitter,M._onLineFeed=new s.EventEmitter,M._onScroll=new s.EventEmitter,M._onTitleChange=new s.EventEmitter,M.register(M._parser),M._parser.setCsiHandlerFallback(function(W,V){M._logService.debug("Unknown CSI code: ",{identifier:M._parser.identToString(W),params:V.toArray()})}),M._parser.setEscHandlerFallback(function(W){M._logService.debug("Unknown ESC code: ",{identifier:M._parser.identToString(W)})}),M._parser.setExecuteHandlerFallback(function(W){M._logService.debug("Unknown EXECUTE code: ",{code:W})}),M._parser.setOscHandlerFallback(function(W,V,z){M._logService.debug("Unknown OSC code: ",{identifier:W,action:V,data:z})}),M._parser.setDcsHandlerFallback(function(W,V,z){V==="HOOK"&&(z=z.toArray()),M._logService.debug("Unknown DCS code: ",{identifier:M._parser.identToString(W),action:V,payload:z})}),M._parser.setPrintHandler(function(W,V,z){return M.print(W,V,z)}),M._parser.setCsiHandler({final:"@"},function(W){return M.insertChars(W)}),M._parser.setCsiHandler({intermediates:" ",final:"@"},function(W){return M.scrollLeft(W)}),M._parser.setCsiHandler({final:"A"},function(W){return M.cursorUp(W)}),M._parser.setCsiHandler({intermediates:" ",final:"A"},function(W){return M.scrollRight(W)}),M._parser.setCsiHandler({final:"B"},function(W){return M.cursorDown(W)}),M._parser.setCsiHandler({final:"C"},function(W){return M.cursorForward(W)}),M._parser.setCsiHandler({final:"D"},function(W){return M.cursorBackward(W)}),M._parser.setCsiHandler({final:"E"},function(W){return M.cursorNextLine(W)}),M._parser.setCsiHandler({final:"F"},function(W){return M.cursorPrecedingLine(W)}),M._parser.setCsiHandler({final:"G"},function(W){return M.cursorCharAbsolute(W)}),M._parser.setCsiHandler({final:"H"},function(W){return M.cursorPosition(W)}),M._parser.setCsiHandler({final:"I"},function(W){return M.cursorForwardTab(W)}),M._parser.setCsiHandler({final:"J"},function(W){return M.eraseInDisplay(W)}),M._parser.setCsiHandler({prefix:"?",final:"J"},function(W){return M.eraseInDisplay(W)}),M._parser.setCsiHandler({final:"K"},function(W){return M.eraseInLine(W)}),M._parser.setCsiHandler({prefix:"?",final:"K"},function(W){return M.eraseInLine(W)}),M._parser.setCsiHandler({final:"L"},function(W){return M.insertLines(W)}),M._parser.setCsiHandler({final:"M"},function(W){return M.deleteLines(W)}),M._parser.setCsiHandler({final:"P"},function(W){return M.deleteChars(W)}),M._parser.setCsiHandler({final:"S"},function(W){return M.scrollUp(W)}),M._parser.setCsiHandler({final:"T"},function(W){return M.scrollDown(W)}),M._parser.setCsiHandler({final:"X"},function(W){return M.eraseChars(W)}),M._parser.setCsiHandler({final:"Z"},function(W){return M.cursorBackwardTab(W)}),M._parser.setCsiHandler({final:"`"},function(W){return M.charPosAbsolute(W)}),M._parser.setCsiHandler({final:"a"},function(W){return M.hPositionRelative(W)}),M._parser.setCsiHandler({final:"b"},function(W){return M.repeatPrecedingCharacter(W)}),M._parser.setCsiHandler({final:"c"},function(W){return M.sendDeviceAttributesPrimary(W)}),M._parser.setCsiHandler({prefix:">",final:"c"},function(W){return M.sendDeviceAttributesSecondary(W)}),M._parser.setCsiHandler({final:"d"},function(W){return M.linePosAbsolute(W)}),M._parser.setCsiHandler({final:"e"},function(W){return M.vPositionRelative(W)}),M._parser.setCsiHandler({final:"f"},function(W){return M.hVPosition(W)}),M._parser.setCsiHandler({final:"g"},function(W){return M.tabClear(W)}),M._parser.setCsiHandler({final:"h"},function(W){return M.setMode(W)}),M._parser.setCsiHandler({prefix:"?",final:"h"},function(W){return M.setModePrivate(W)}),M._parser.setCsiHandler({final:"l"},function(W){return M.resetMode(W)}),M._parser.setCsiHandler({prefix:"?",final:"l"},function(W){return M.resetModePrivate(W)}),M._parser.setCsiHandler({final:"m"},function(W){return M.charAttributes(W)}),M._parser.setCsiHandler({final:"n"},function(W){return M.deviceStatus(W)}),M._parser.setCsiHandler({prefix:"?",final:"n"},function(W){return M.deviceStatusPrivate(W)}),M._parser.setCsiHandler({intermediates:"!",final:"p"},function(W){return M.softReset(W)}),M._parser.setCsiHandler({intermediates:" ",final:"q"},function(W){return M.setCursorStyle(W)}),M._parser.setCsiHandler({final:"r"},function(W){return M.setScrollRegion(W)}),M._parser.setCsiHandler({final:"s"},function(W){return M.saveCursor(W)}),M._parser.setCsiHandler({final:"t"},function(W){return M.windowOptions(W)}),M._parser.setCsiHandler({final:"u"},function(W){return M.restoreCursor(W)}),M._parser.setCsiHandler({intermediates:"'",final:"}"},function(W){return M.insertColumns(W)}),M._parser.setCsiHandler({intermediates:"'",final:"~"},function(W){return M.deleteColumns(W)}),M._parser.setExecuteHandler(f.C0.BEL,function(){return M.bell()}),M._parser.setExecuteHandler(f.C0.LF,function(){return M.lineFeed()}),M._parser.setExecuteHandler(f.C0.VT,function(){return M.lineFeed()}),M._parser.setExecuteHandler(f.C0.FF,function(){return M.lineFeed()}),M._parser.setExecuteHandler(f.C0.CR,function(){return M.carriageReturn()}),M._parser.setExecuteHandler(f.C0.BS,function(){return M.backspace()}),M._parser.setExecuteHandler(f.C0.HT,function(){return M.tab()}),M._parser.setExecuteHandler(f.C0.SO,function(){return M.shiftOut()}),M._parser.setExecuteHandler(f.C0.SI,function(){return M.shiftIn()}),M._parser.setExecuteHandler(f.C1.IND,function(){return M.index()}),M._parser.setExecuteHandler(f.C1.NEL,function(){return M.nextLine()}),M._parser.setExecuteHandler(f.C1.HTS,function(){return M.tabSet()}),M._parser.setOscHandler(0,new u.OscHandler(function(W){M.setTitle(W),M.setIconName(W)})),M._parser.setOscHandler(1,new u.OscHandler(function(W){return M.setIconName(W)})),M._parser.setOscHandler(2,new u.OscHandler(function(W){return M.setTitle(W)})),M._parser.setEscHandler({final:"7"},function(){return M.saveCursor()}),M._parser.setEscHandler({final:"8"},function(){return M.restoreCursor()}),M._parser.setEscHandler({final:"D"},function(){return M.index()}),M._parser.setEscHandler({final:"E"},function(){return M.nextLine()}),M._parser.setEscHandler({final:"H"},function(){return M.tabSet()}),M._parser.setEscHandler({final:"M"},function(){return M.reverseIndex()}),M._parser.setEscHandler({final:"="},function(){return M.keypadApplicationMode()}),M._parser.setEscHandler({final:">"},function(){return M.keypadNumericMode()}),M._parser.setEscHandler({final:"c"},function(){return M.fullReset()}),M._parser.setEscHandler({final:"n"},function(){return M.setgLevel(2)}),M._parser.setEscHandler({final:"o"},function(){return M.setgLevel(3)}),M._parser.setEscHandler({final:"|"},function(){return M.setgLevel(3)}),M._parser.setEscHandler({final:"}"},function(){return M.setgLevel(2)}),M._parser.setEscHandler({final:"~"},function(){return M.setgLevel(1)}),M._parser.setEscHandler({intermediates:"%",final:"@"},function(){return M.selectDefaultCharset()}),M._parser.setEscHandler({intermediates:"%",final:"G"},function(){return M.selectDefaultCharset()});var U=function(V){F._parser.setEscHandler({intermediates:"(",final:V},function(){return M.selectCharset("("+V)}),F._parser.setEscHandler({intermediates:")",final:V},function(){return M.selectCharset(")"+V)}),F._parser.setEscHandler({intermediates:"*",final:V},function(){return M.selectCharset("*"+V)}),F._parser.setEscHandler({intermediates:"+",final:V},function(){return M.selectCharset("+"+V)}),F._parser.setEscHandler({intermediates:"-",final:V},function(){return M.selectCharset("-"+V)}),F._parser.setEscHandler({intermediates:".",final:V},function(){return M.selectCharset("."+V)}),F._parser.setEscHandler({intermediates:"/",final:V},function(){return M.selectCharset("/"+V)})},F=this;for(var j in c.CHARSETS)U(j);return M._parser.setEscHandler({intermediates:"#",final:"8"},function(){return M.screenAlignmentPattern()}),M._parser.setErrorHandler(function(W){return M._logService.error("Parsing error: ",W),W}),M._parser.setDcsHandler({intermediates:"$",final:"q"},new v(M._bufferService,M._coreService,M._logService,M._optionsService)),M}return b(T,E),Object.defineProperty(T.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),T.prototype.dispose=function(){E.prototype.dispose.call(this)},T.prototype.parse=function(w){var S=this._bufferService.buffer,_=S.x,I=S.y;if(this._logService.debug("parsing data",w),this._parseBuffer.length131072)for(var L=0;L0&&j.getWidth(N.x-1)===2&&j.setCellFromCodePoint(N.x-1,0,1,F.fg,F.bg,F.extended);for(var W=S;W<_;++W){if(I=w[W],L=this._unicodeService.wcwidth(I),I<127&&D){var V=D[String.fromCharCode(I)];V&&(I=V.charCodeAt(0))}if(R&&this._onA11yChar.fire(n.stringFromCodePoint(I)),L||!N.x){if(N.x+L-1>=B){if(M){for(;N.x=this._bufferService.rows&&(N.y=this._bufferService.rows-1),N.lines.get(N.ybase+N.y).isWrapped=!0),j=N.lines.get(N.ybase+N.y)}else if(N.x=B-1,L===2)continue}if(U&&(j.insertCells(N.x,L,N.getNullCell(F),F),j.getWidth(B-1)===2&&j.setCellFromCodePoint(B-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,F.fg,F.bg,F.extended)),j.setCellFromCodePoint(N.x++,I,L,F.fg,F.bg,F.extended),L>0)for(;--L;)j.setCellFromCodePoint(N.x++,0,0,F.fg,F.bg,F.extended)}else j.getWidth(N.x-1)?j.addCodepointToCell(N.x-1,I):j.addCodepointToCell(N.x-2,I)}_-S>0&&(j.loadCell(N.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),N.x0&&j.getWidth(N.x)===0&&!j.hasContent(N.x)&&j.setCellFromCodePoint(N.x,0,1,F.fg,F.bg,F.extended),this._dirtyRowService.markDirty(N.y)},T.prototype.addCsiHandler=function(w,S){var _=this;return w.final!=="t"||w.prefix||w.intermediates?this._parser.addCsiHandler(w,S):this._parser.addCsiHandler(w,function(I){return!m(I.params[0],_._optionsService.options.windowOptions)||S(I)})},T.prototype.addDcsHandler=function(w,S){return this._parser.addDcsHandler(w,new h.DcsHandler(S))},T.prototype.addEscHandler=function(w,S){return this._parser.addEscHandler(w,S)},T.prototype.addOscHandler=function(w,S){return this._parser.addOscHandler(w,new u.OscHandler(S))},T.prototype.bell=function(){this._onRequestBell.fire()},T.prototype.lineFeed=function(){var w=this._bufferService.buffer;this._dirtyRowService.markDirty(w.y),this._optionsService.options.convertEol&&(w.x=0),w.y++,w.y===w.scrollBottom+1?(w.y--,this._onRequestScroll.fire(this._eraseAttrData())):w.y>=this._bufferService.rows&&(w.y=this._bufferService.rows-1),w.x>=this._bufferService.cols&&w.x--,this._dirtyRowService.markDirty(w.y),this._onLineFeed.fire()},T.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},T.prototype.backspace=function(){var w,S=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(S.x>0&&S.x--);if(this._restrictCursor(this._bufferService.cols),S.x>0)S.x--;else if(S.x===0&&S.y>S.scrollTop&&S.y<=S.scrollBottom&&((w=S.lines.get(S.ybase+S.y))===null||w===void 0?void 0:w.isWrapped)){S.lines.get(S.ybase+S.y).isWrapped=!1,S.y--,S.x=this._bufferService.cols-1;var _=S.lines.get(S.ybase+S.y);_.hasWidth(S.x)&&!_.hasContent(S.x)&&S.x--}this._restrictCursor()},T.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var w=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-w)}},T.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},T.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},T.prototype._restrictCursor=function(w){w===void 0&&(w=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(w,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype._setCursor=function(w,S){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=w,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+S):(this._bufferService.buffer.x=w,this._bufferService.buffer.y=S),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype._moveCursor=function(w,S){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+w,this._bufferService.buffer.y+S)},T.prototype.cursorUp=function(w){var S=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;S>=0?this._moveCursor(0,-Math.min(S,w.params[0]||1)):this._moveCursor(0,-(w.params[0]||1))},T.prototype.cursorDown=function(w){var S=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;S>=0?this._moveCursor(0,Math.min(S,w.params[0]||1)):this._moveCursor(0,w.params[0]||1)},T.prototype.cursorForward=function(w){this._moveCursor(w.params[0]||1,0)},T.prototype.cursorBackward=function(w){this._moveCursor(-(w.params[0]||1),0)},T.prototype.cursorNextLine=function(w){this.cursorDown(w),this._bufferService.buffer.x=0},T.prototype.cursorPrecedingLine=function(w){this.cursorUp(w),this._bufferService.buffer.x=0},T.prototype.cursorCharAbsolute=function(w){this._setCursor((w.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.cursorPosition=function(w){this._setCursor(w.length>=2?(w.params[1]||1)-1:0,(w.params[0]||1)-1)},T.prototype.charPosAbsolute=function(w){this._setCursor((w.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.hPositionRelative=function(w){this._moveCursor(w.params[0]||1,0)},T.prototype.linePosAbsolute=function(w){this._setCursor(this._bufferService.buffer.x,(w.params[0]||1)-1)},T.prototype.vPositionRelative=function(w){this._moveCursor(0,w.params[0]||1)},T.prototype.hVPosition=function(w){this.cursorPosition(w)},T.prototype.tabClear=function(w){var S=w.params[0];S===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:S===3&&(this._bufferService.buffer.tabs={})},T.prototype.cursorForwardTab=function(w){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var S=w.params[0]||1;S--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},T.prototype.cursorBackwardTab=function(w){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var S=w.params[0]||1,_=this._bufferService.buffer;S--;)_.x=_.prevStop()},T.prototype._eraseInBufferLine=function(w,S,_,I){I===void 0&&(I=!1);var L=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+w);L.replaceCells(S,_,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),I&&(L.isWrapped=!1)},T.prototype._resetBufferLine=function(w){var S=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+w);S.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),S.isWrapped=!1},T.prototype.eraseInDisplay=function(w){var S;switch(this._restrictCursor(),w.params[0]){case 0:for(S=this._bufferService.buffer.y,this._dirtyRowService.markDirty(S),this._eraseInBufferLine(S++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);S=this._bufferService.cols&&(this._bufferService.buffer.lines.get(S+1).isWrapped=!1);S--;)this._resetBufferLine(S);this._dirtyRowService.markDirty(0);break;case 2:for(S=this._bufferService.rows,this._dirtyRowService.markDirty(S-1);S--;)this._resetBufferLine(S);this._dirtyRowService.markDirty(0);break;case 3:var _=this._bufferService.buffer.lines.length-this._bufferService.rows;_>0&&(this._bufferService.buffer.lines.trimStart(_),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-_,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-_,0),this._onScroll.fire(0))}},T.prototype.eraseInLine=function(w){switch(this._restrictCursor(),w.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},T.prototype.insertLines=function(w){this._restrictCursor();var S=w.params[0]||1,_=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var I=_.ybase+_.y,L=this._bufferService.rows-1-_.scrollBottom,N=this._bufferService.rows-1+_.ybase-L+1;S--;)_.lines.splice(N-1,1),_.lines.splice(I,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.y,_.scrollBottom),_.x=0}},T.prototype.deleteLines=function(w){this._restrictCursor();var S=w.params[0]||1,_=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){var I,L=_.ybase+_.y;for(I=this._bufferService.rows-1-_.scrollBottom,I=this._bufferService.rows-1+_.ybase-I;S--;)_.lines.splice(L,1),_.lines.splice(I,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.y,_.scrollBottom),_.x=0}},T.prototype.insertChars=function(w){this._restrictCursor();var S=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);S&&(S.insertCells(this._bufferService.buffer.x,w.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.deleteChars=function(w){this._restrictCursor();var S=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);S&&(S.deleteCells(this._bufferService.buffer.x,w.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},T.prototype.scrollUp=function(w){for(var S=w.params[0]||1,_=this._bufferService.buffer;S--;)_.lines.splice(_.ybase+_.scrollTop,1),_.lines.splice(_.ybase+_.scrollBottom,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)},T.prototype.scrollDown=function(w){for(var S=w.params[0]||1,_=this._bufferService.buffer;S--;)_.lines.splice(_.ybase+_.scrollBottom,1),_.lines.splice(_.ybase+_.scrollTop,0,_.getBlankLine(e.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)},T.prototype.scrollLeft=function(w){var S=this._bufferService.buffer;if(!(S.y>S.scrollBottom||S.yS.scrollBottom||S.yS.scrollBottom||S.yS.scrollBottom||S.y0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(f.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(f.C0.ESC+"[?6c"))},T.prototype.sendDeviceAttributesSecondary=function(w){w.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(f.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(f.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(w.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(f.C0.ESC+"[>83;40003;0c"))},T.prototype._is=function(w){return(this._optionsService.options.termName+"").indexOf(w)===0},T.prototype.setMode=function(w){for(var S=0;S=2||I[1]===2&&N+L>=5)break;I[1]&&(L=1)}while(++N+S5)&&(w=1),S.extended.underlineStyle=w,S.fg|=268435456,w===0&&(S.fg&=-268435457),S.updateExtended()},T.prototype.charAttributes=function(w){if(w.length===1&&w.params[0]===0)return this._curAttrData.fg=e.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=e.DEFAULT_ATTR_DATA.bg);for(var S,_=w.length,I=this._curAttrData,L=0;L<_;L++)(S=w.params[L])>=30&&S<=37?(I.fg&=-50331904,I.fg|=16777216|S-30):S>=40&&S<=47?(I.bg&=-50331904,I.bg|=16777216|S-40):S>=90&&S<=97?(I.fg&=-50331904,I.fg|=16777224|S-90):S>=100&&S<=107?(I.bg&=-50331904,I.bg|=16777224|S-100):S===0?(I.fg=e.DEFAULT_ATTR_DATA.fg,I.bg=e.DEFAULT_ATTR_DATA.bg):S===1?I.fg|=134217728:S===3?I.bg|=67108864:S===4?(I.fg|=268435456,this._processUnderline(w.hasSubParams(L)?w.getSubParams(L)[0]:1,I)):S===5?I.fg|=536870912:S===7?I.fg|=67108864:S===8?I.fg|=1073741824:S===2?I.bg|=134217728:S===21?this._processUnderline(2,I):S===22?(I.fg&=-134217729,I.bg&=-134217729):S===23?I.bg&=-67108865:S===24?I.fg&=-268435457:S===25?I.fg&=-536870913:S===27?I.fg&=-67108865:S===28?I.fg&=-1073741825:S===39?(I.fg&=-67108864,I.fg|=16777215&e.DEFAULT_ATTR_DATA.fg):S===49?(I.bg&=-67108864,I.bg|=16777215&e.DEFAULT_ATTR_DATA.bg):S===38||S===48||S===58?L+=this._extractColor(w,L,I):S===59?(I.extended=I.extended.clone(),I.extended.underlineColor=-1,I.updateExtended()):S===100?(I.fg&=-67108864,I.fg|=16777215&e.DEFAULT_ATTR_DATA.fg,I.bg&=-67108864,I.bg|=16777215&e.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",S)},T.prototype.deviceStatus=function(w){switch(w.params[0]){case 5:this._coreService.triggerDataEvent(f.C0.ESC+"[0n");break;case 6:var S=this._bufferService.buffer.y+1,_=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(f.C0.ESC+"["+S+";"+_+"R")}},T.prototype.deviceStatusPrivate=function(w){switch(w.params[0]){case 6:var S=this._bufferService.buffer.y+1,_=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(f.C0.ESC+"[?"+S+";"+_+"R")}},T.prototype.softReset=function(w){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=e.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},T.prototype.setCursorStyle=function(w){var S=w.params[0]||1;switch(S){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var _=S%2==1;this._optionsService.options.cursorBlink=_},T.prototype.setScrollRegion=function(w){var S,_=w.params[0]||1;(w.length<2||(S=w.params[1])>this._bufferService.rows||S===0)&&(S=this._bufferService.rows),S>_&&(this._bufferService.buffer.scrollTop=_-1,this._bufferService.buffer.scrollBottom=S-1,this._setCursor(0,0))},T.prototype.windowOptions=function(w){if(m(w.params[0],this._optionsService.options.windowOptions)){var S=w.length>1?w.params[1]:0;switch(w.params[0]){case 14:S!==2&&this._onRequestWindowsOptionsReport.fire(g.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(g.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(f.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:S!==0&&S!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),S!==0&&S!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:S!==0&&S!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),S!==0&&S!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},T.prototype.saveCursor=function(w){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},T.prototype.restoreCursor=function(w){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},T.prototype.setTitle=function(w){this._windowTitle=w,this._onTitleChange.fire(w)},T.prototype.setIconName=function(w){this._iconName=w},T.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},T.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},T.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},T.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,c.DEFAULT_CHARSET)},T.prototype.selectCharset=function(w){w.length===2?w[0]!=="/"&&this._charsetService.setgCharset(p[w[0]],c.CHARSETS[w[1]]||c.DEFAULT_CHARSET):this.selectDefaultCharset()},T.prototype.index=function(){this._restrictCursor();var w=this._bufferService.buffer;this._bufferService.buffer.y++,w.y===w.scrollBottom+1?(w.y--,this._onRequestScroll.fire(this._eraseAttrData())):w.y>=this._bufferService.rows&&(w.y=this._bufferService.rows-1),this._restrictCursor()},T.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},T.prototype.reverseIndex=function(){this._restrictCursor();var w=this._bufferService.buffer;if(w.y===w.scrollTop){var S=w.scrollBottom-w.scrollTop;w.lines.shiftElements(w.ybase+w.y,S,1),w.lines.set(w.ybase+w.y,w.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(w.scrollTop,w.scrollBottom)}else w.y--,this._restrictCursor()},T.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},T.prototype.reset=function(){this._curAttrData=e.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=e.DEFAULT_ATTR_DATA.clone()},T.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},T.prototype.setgLevel=function(w){this._charsetService.setgLevel(w)},T.prototype.screenAlignmentPattern=function(){var w=new a.CellData;w.content=1<<22|"E".charCodeAt(0),w.fg=this._curAttrData.fg,w.bg=this._curAttrData.bg;var S=this._bufferService.buffer;this._setCursor(0,0);for(var _=0;_256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(g),this.length=0,this._subParams=new Int32Array(f),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(g),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return b.fromArray=function(g){var f=new b;if(!g.length)return f;for(var c=g[0]instanceof Array?1:0;c>8,o=255&this._subParamsIdx[f];o-c>0&&g.push(Array.prototype.slice.call(this._subParams,c,o))}return g},b.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},b.prototype.addParam=function(g){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(g<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=g>2147483647?2147483647:g}},b.prototype.addSubParam=function(g){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(g<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=g>2147483647?2147483647:g,this._subParamsIdx[this.length-1]++}},b.prototype.hasSubParams=function(g){return(255&this._subParamsIdx[g])-(this._subParamsIdx[g]>>8)>0},b.prototype.getSubParams=function(g){var f=this._subParamsIdx[g]>>8,c=255&this._subParamsIdx[g];return c-f>0?this._subParams.subarray(f,c):null},b.prototype.getSubParamsAll=function(){for(var g={},f=0;f>8,o=255&this._subParamsIdx[f];o-c>0&&(g[f]=this._subParams.slice(c,o))}return g},b.prototype.addDigit=function(g){var f;if(!(this._rejectDigits||!(f=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var c=this._digitIsSub?this._subParams:this.params,o=c[f-1];c[f-1]=~o?Math.min(10*o+g,2147483647):g}},b}();x.Params=A},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.OscHandler=x.OscParser=void 0;var A=C(23),b=C(8),g=function(){function c(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return c.prototype.addHandler=function(o,r){this._handlers[o]===void 0&&(this._handlers[o]=[]);var i=this._handlers[o];return i.push(r),{dispose:function(){var e=i.indexOf(r);e!==-1&&i.splice(e,1)}}},c.prototype.setHandler=function(o,r){this._handlers[o]=[r]},c.prototype.clearHandler=function(o){this._handlers[o]&&delete this._handlers[o]},c.prototype.setHandlerFallback=function(o){this._handlerFb=o},c.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},c.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},c.prototype._start=function(){var o=this._handlers[this._id];if(o)for(var r=o.length-1;r>=0;r--)o[r].start();else this._handlerFb(this._id,"START")},c.prototype._put=function(o,r,i){var n=this._handlers[this._id];if(n)for(var e=n.length-1;e>=0;e--)n[e].put(o,r,i);else this._handlerFb(this._id,"PUT",b.utf32ToString(o,r,i))},c.prototype._end=function(o){var r=this._handlers[this._id];if(r){for(var i=r.length-1;i>=0&&r[i].end(o)===!1;i--);for(i--;i>=0;i--)r[i].end(!1)}else this._handlerFb(this._id,"END",o)},c.prototype.start=function(){this.reset(),this._id=-1,this._state=1},c.prototype.put=function(o,r,i){if(this._state!==3){if(this._state===1)for(;r0&&this._put(o,r,i)}},c.prototype.end=function(o){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(o)),this._id=-1,this._state=0)},c}();x.OscParser=g;var f=function(){function c(o){this._handler=o,this._data="",this._hitLimit=!1}return c.prototype.start=function(){this._data="",this._hitLimit=!1},c.prototype.put=function(o,r,i){this._hitLimit||(this._data+=b.utf32ToString(o,r,i),this._data.length>A.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},c.prototype.end=function(o){var r;return this._hitLimit?r=!1:o&&(r=this._handler(this._data)),this._data="",this._hitLimit=!1,r},c}();x.OscHandler=f},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.PAYLOAD_LIMIT=void 0,x.PAYLOAD_LIMIT=1e7},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.DcsHandler=x.DcsParser=void 0;var A=C(8),b=C(21),g=C(23),f=[],c=function(){function r(){this._handlers=Object.create(null),this._active=f,this._ident=0,this._handlerFb=function(){}}return r.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},r.prototype.addHandler=function(i,n){this._handlers[i]===void 0&&(this._handlers[i]=[]);var e=this._handlers[i];return e.push(n),{dispose:function(){var t=e.indexOf(n);t!==-1&&e.splice(t,1)}}},r.prototype.setHandler=function(i,n){this._handlers[i]=[n]},r.prototype.clearHandler=function(i){this._handlers[i]&&delete this._handlers[i]},r.prototype.setHandlerFallback=function(i){this._handlerFb=i},r.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=f,this._ident=0},r.prototype.hook=function(i,n){if(this.reset(),this._ident=i,this._active=this._handlers[i]||f,this._active.length)for(var e=this._active.length-1;e>=0;e--)this._active[e].hook(n);else this._handlerFb(this._ident,"HOOK",n)},r.prototype.put=function(i,n,e){if(this._active.length)for(var s=this._active.length-1;s>=0;s--)this._active[s].put(i,n,e);else this._handlerFb(this._ident,"PUT",A.utf32ToString(i,n,e))},r.prototype.unhook=function(i){if(this._active.length){for(var n=this._active.length-1;n>=0&&this._active[n].unhook(i)===!1;n--);for(n--;n>=0;n--)this._active[n].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",i);this._active=f,this._ident=0},r}();x.DcsParser=c;var o=function(){function r(i){this._handler=i,this._data="",this._hitLimit=!1}return r.prototype.hook=function(i){this._params=i.clone(),this._data="",this._hitLimit=!1},r.prototype.put=function(i,n,e){this._hitLimit||(this._data+=A.utf32ToString(i,n,e),this._data.length>g.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},r.prototype.unhook=function(i){var n;return this._hitLimit?n=!1:i&&(n=this._handler(this._data,this._params||new b.Params)),this._params=void 0,this._data="",this._hitLimit=!1,n},r}();x.DcsHandler=o},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.removeTerminalFromCache=x.acquireCharAtlas=void 0;var A=C(26),b=C(43),g=[];x.acquireCharAtlas=function(f,c,o,r,i){for(var n=A.generateConfig(r,i,f,o),e=0;e=0){if(A.configEquals(t.config,n))return t.atlas;t.ownedBy.length===1?(t.atlas.dispose(),g.splice(e,1)):t.ownedBy.splice(s,1);break}}for(e=0;e1)for(var v=this._getJoinedRanges(t,u,l,e,a),y=0;y1)for(v=this._getJoinedRanges(t,u,l,e,a),y=0;y=this._line.length))return l?(this._line.loadCell(a,l),l):this._line.loadCell(a,new A.CellData)},t.prototype.translateToString=function(a,l,u){return this._line.translateToString(a,l,u)},t}(),e=function(){function t(a){this._core=a}return t.prototype.registerCsiHandler=function(a,l){return this._core.addCsiHandler(a,function(u){return l(u.toArray())})},t.prototype.addCsiHandler=function(a,l){return this.registerCsiHandler(a,l)},t.prototype.registerDcsHandler=function(a,l){return this._core.addDcsHandler(a,function(u,h){return l(u,h.toArray())})},t.prototype.addDcsHandler=function(a,l){return this.registerDcsHandler(a,l)},t.prototype.registerEscHandler=function(a,l){return this._core.addEscHandler(a,l)},t.prototype.addEscHandler=function(a,l){return this.registerEscHandler(a,l)},t.prototype.registerOscHandler=function(a,l){return this._core.addOscHandler(a,l)},t.prototype.addOscHandler=function(a,l){return this.registerOscHandler(a,l)},t}(),s=function(){function t(a){this._core=a}return t.prototype.register=function(a){this._core.unicodeService.register(a)},Object.defineProperty(t.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(l){this._core.unicodeService.activeVersion=l},enumerable:!1,configurable:!0}),t}()},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(M,U){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,j){F.__proto__=j}||function(F,j){for(var W in j)j.hasOwnProperty(W)&&(F[W]=j[W])})(M,U)},function(B,M){function U(){this.constructor=B}A(B,M),B.prototype=M===null?Object.create(M):(U.prototype=M.prototype,new U)});Object.defineProperty(x,"__esModule",{value:!0}),x.Terminal=void 0;var g=C(36),f=C(37),c=C(38),o=C(12),r=C(19),i=C(40),n=C(50),e=C(51),s=C(11),t=C(7),a=C(18),l=C(54),u=C(55),h=C(56),p=C(57),m=C(59),v=C(0),y=C(16),E=C(27),T=C(60),w=C(5),S=C(61),_=C(62),I=C(63),L=C(64),N=C(65),D=typeof window!="undefined"?window.document:null,R=function(B){function M(U){U===void 0&&(U={});var F=B.call(this,U)||this;return F.browser=s,F._keyDownHandled=!1,F._onCursorMove=new v.EventEmitter,F._onKey=new v.EventEmitter,F._onRender=new v.EventEmitter,F._onSelectionChange=new v.EventEmitter,F._onTitleChange=new v.EventEmitter,F._onFocus=new v.EventEmitter,F._onBlur=new v.EventEmitter,F._onA11yCharEmitter=new v.EventEmitter,F._onA11yTabEmitter=new v.EventEmitter,F._setup(),F.linkifier=F._instantiationService.createInstance(n.Linkifier),F.linkifier2=F.register(F._instantiationService.createInstance(I.Linkifier2)),F.register(F._inputHandler.onRequestBell(function(){return F.bell()})),F.register(F._inputHandler.onRequestRefreshRows(function(j,W){return F.refresh(j,W)})),F.register(F._inputHandler.onRequestReset(function(){return F.reset()})),F.register(F._inputHandler.onRequestScroll(function(j,W){return F.scroll(j,W||void 0)})),F.register(F._inputHandler.onRequestWindowsOptionsReport(function(j){return F._reportWindowsOptions(j)})),F.register(v.forwardEvent(F._inputHandler.onCursorMove,F._onCursorMove)),F.register(v.forwardEvent(F._inputHandler.onTitleChange,F._onTitleChange)),F.register(v.forwardEvent(F._inputHandler.onA11yChar,F._onA11yCharEmitter)),F.register(v.forwardEvent(F._inputHandler.onA11yTab,F._onA11yTabEmitter)),F.register(F._bufferService.onResize(function(j){return F._afterResize(j.cols,j.rows)})),F}return b(M,B),Object.defineProperty(M.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),M.prototype.dispose=function(){var U,F,j;this._isDisposed||(B.prototype.dispose.call(this),(U=this._renderService)===null||U===void 0||U.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(j=(F=this.element)===null||F===void 0?void 0:F.parentNode)===null||j===void 0||j.removeChild(this.element))},M.prototype._setup=function(){B.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(M.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),M.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},M.prototype._updateOptions=function(U){var F,j,W,V;switch(B.prototype._updateOptions.call(this,U),U){case"fontFamily":case"fontSize":(F=this._renderService)===null||F===void 0||F.clear(),(j=this._charSizeService)===null||j===void 0||j.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(W=this.viewport)===null||W===void 0||W.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new h.AccessibilityManager(this,this._renderService)):((V=this._accessibilityManager)===null||V===void 0||V.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},M.prototype._onTextAreaFocus=function(U){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[I"),this.updateCursorStyle(U),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},M.prototype.blur=function(){var U;return(U=this.textarea)===null||U===void 0?void 0:U.blur()},M.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},M.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var U=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),F=this._bufferService.buffer.y*U,j=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=j+"px",this.textarea.style.top=F+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=U+"px",this.textarea.style.lineHeight=U+"px",this.textarea.style.zIndex="-5"}},M.prototype._initGlobal=function(){var U=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(j){U.hasSelection()&&c.copyHandler(j,U._selectionService)}));var F=function(W){return c.handlePasteEvent(W,U.textarea,U._coreService)};this.register(t.addDisposableDomListener(this.textarea,"paste",F)),this.register(t.addDisposableDomListener(this.element,"paste",F)),s.isFirefox?this.register(t.addDisposableDomListener(this.element,"mousedown",function(j){j.button===2&&c.rightClickHandler(j,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(j){c.rightClickHandler(j,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})),s.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(j){j.button===1&&c.moveTextAreaUnderMouseCursor(j,U.textarea,U.screenElement)}))},M.prototype._bindKeys=function(){var U=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(F){return U._keyUp(F)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(F){return U._keyDown(F)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(F){return U._keyPress(F)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return U._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(F){return U._compositionHelper.compositionupdate(F)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return U._compositionHelper.compositionend()})),this.register(this.onRender(function(){return U._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(F){return U._queueLinkification(F.start,F.end)}))},M.prototype.open=function(U){var F=this;if(!U)throw new Error("Terminal requires a parent element.");D.body.contains(U)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=U.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),U.appendChild(this.element);var j=D.createDocumentFragment();this._viewportElement=D.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),j.appendChild(this._viewportElement),this._viewportScrollArea=D.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=D.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=D.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),j.appendChild(this.screenElement),this.textarea=D.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",a.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(t.addDisposableDomListener(this.textarea,"focus",function(z){return F._onTextAreaFocus(z)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return F._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var W=this._instantiationService.createInstance(L.CoreBrowserService,this.textarea);this._instantiationService.setService(w.ICoreBrowserService,W),this._charSizeService=this._instantiationService.createInstance(S.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(w.ICharSizeService,this._charSizeService),this._compositionView=D.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(g.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(j),this._theme=this.options.theme||this._theme,this._colorManager=new E.ColorManager(D,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(z){return F._colorManager.onOptionsChange(z)})),this._colorManager.setTheme(this._theme);var V=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(T.RenderService,V,this.rows,this.screenElement)),this._instantiationService.setService(w.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(z){return F._onRender.fire(z)})),this.onResize(function(z){return F._renderService.resize(z.cols,z.rows)}),this._soundService=this._instantiationService.createInstance(l.SoundService),this._instantiationService.setService(w.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(_.MouseService),this._instantiationService.setService(w.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(f.Viewport,function(z,J){return F.scrollLines(z,J)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return F.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){F._renderService.onCursorMove(),F._syncTextArea()})),this.register(this.onResize(function(){return F._renderService.onResize(F.cols,F.rows)})),this.register(this.onBlur(function(){return F._renderService.onBlur()})),this.register(this.onFocus(function(){return F._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return F.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(e.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(w.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(z){return F.scrollLines(z.amount,z.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return F._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(z){return F._renderService.onSelectionChanged(z.start,z.end,z.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(z){F.textarea.value=z,F.textarea.focus(),F.textarea.select()})),this.register(this.onScroll(function(){F.viewport.syncScrollArea(),F._selectionService.refresh()})),this.register(t.addDisposableDomListener(this._viewportElement,"scroll",function(){return F._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(u.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return F._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(t.addDisposableDomListener(this.element,"mousedown",function(z){return F._selectionService.onMouseDown(z)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new h.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},M.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(i.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(p.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},M.prototype._setTheme=function(U){var F,j,W;this._theme=U,(F=this._colorManager)===null||F===void 0||F.setTheme(U),(j=this._renderService)===null||j===void 0||j.setColors(this._colorManager.colors),(W=this.viewport)===null||W===void 0||W.onThemeChange(this._colorManager.colors)},M.prototype.bindMouse=function(){var U=this,F=this,j=this.element;function W(ae){var Ae,Ie,De=F._mouseService.getRawByteCoords(ae,F.screenElement,F.cols,F.rows);if(!De)return!1;switch(ae.overrideType||ae.type){case"mousemove":Ie=32,ae.buttons===void 0?(Ae=3,ae.button!==void 0&&(Ae=ae.button<3?ae.button:3)):Ae=1&ae.buttons?0:4&ae.buttons?1:2&ae.buttons?2:3;break;case"mouseup":Ie=0,Ae=ae.button<3?ae.button:3;break;case"mousedown":Ie=1,Ae=ae.button<3?ae.button:3;break;case"wheel":ae.deltaY!==0&&(Ie=ae.deltaY<0?0:1),Ae=4;break;default:return!1}return!(Ie===void 0||Ae===void 0||Ae>4)&&F._coreMouseService.triggerMouseEvent({col:De.x-33,row:De.y-33,button:Ae,action:Ie,ctrl:ae.ctrlKey,alt:ae.altKey,shift:ae.shiftKey})}var V={mouseup:null,wheel:null,mousedrag:null,mousemove:null},z=function(Ae){return W(Ae),Ae.buttons||(U._document.removeEventListener("mouseup",V.mouseup),V.mousedrag&&U._document.removeEventListener("mousemove",V.mousedrag)),U.cancel(Ae)},J=function(Ae){return W(Ae),Ae.preventDefault(),U.cancel(Ae)},$=function(Ae){Ae.buttons&&W(Ae)},ce=function(Ae){Ae.buttons||W(Ae)};this.register(this._coreMouseService.onProtocolChange(function(ae){ae?(U.optionsService.options.logLevel==="debug"&&U._logService.debug("Binding to mouse events:",U._coreMouseService.explainEvents(ae)),U.element.classList.add("enable-mouse-events"),U._selectionService.disable()):(U._logService.debug("Unbinding from mouse events."),U.element.classList.remove("enable-mouse-events"),U._selectionService.enable()),8&ae?V.mousemove||(j.addEventListener("mousemove",ce),V.mousemove=ce):(j.removeEventListener("mousemove",V.mousemove),V.mousemove=null),16&ae?V.wheel||(j.addEventListener("wheel",J,{passive:!1}),V.wheel=J):(j.removeEventListener("wheel",V.wheel),V.wheel=null),2&ae?V.mouseup||(V.mouseup=z):(U._document.removeEventListener("mouseup",V.mouseup),V.mouseup=null),4&ae?V.mousedrag||(V.mousedrag=$):(U._document.removeEventListener("mousemove",V.mousedrag),V.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(j,"mousedown",function(ae){if(ae.preventDefault(),U.focus(),U._coreMouseService.areMouseEventsActive&&!U._selectionService.shouldForceSelection(ae))return W(ae),V.mouseup&&U._document.addEventListener("mouseup",V.mouseup),V.mousedrag&&U._document.addEventListener("mousemove",V.mousedrag),U.cancel(ae)})),this.register(t.addDisposableDomListener(j,"wheel",function(ae){if(!V.wheel){if(!U.buffer.hasScrollback){var Ae=U.viewport.getLinesScrolled(ae);if(Ae===0)return;for(var Ie=o.C0.ESC+(U._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ae.deltaY<0?"A":"B"),De="",Ke=0;Ke47)},M.prototype._keyUp=function(U){this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1||(function(F){return F.keyCode===16||F.keyCode===17||F.keyCode===18}(U)||this.focus(),this.updateCursorStyle(U))},M.prototype._keyPress=function(U){var F;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(this.cancel(U),U.charCode)F=U.charCode;else if(U.which===null||U.which===void 0)F=U.keyCode;else{if(U.which===0||U.charCode===0)return!1;F=U.which}return!(!F||(U.altKey||U.ctrlKey||U.metaKey)&&!this._isThirdLevelShift(this.browser,U))&&(F=String.fromCharCode(F),this._onKey.fire({key:F,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(F,!0),!0)},M.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},M.prototype.resize=function(U,F){U!==this.cols||F!==this.rows?B.prototype.resize.call(this,U,F):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},M.prototype._afterResize=function(U,F){var j,W;(j=this._charSizeService)===null||j===void 0||j.measure(),(W=this.viewport)===null||W===void 0||W.syncScrollArea(!0)},M.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var U=1;U=0;a--)(e=o[a])&&(t=(s<3?e(t):s>3?e(r,i,t):e(r,i))||t);return s>3&&t&&Object.defineProperty(r,i,t),t},b=this&&this.__param||function(o,r){return function(i,n){r(i,n,o)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CompositionHelper=void 0;var g=C(5),f=C(1),c=function(){function o(r,i,n,e,s,t){this._textarea=r,this._compositionView=i,this._bufferService=n,this._optionsService=e,this._charSizeService=s,this._coreService=t,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(o.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),o.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},o.prototype.compositionupdate=function(r){var i=this;this._compositionView.textContent=r.data,this.updateCompositionElements(),setTimeout(function(){i._compositionPosition.end=i._textarea.value.length},0)},o.prototype.compositionend=function(){this._finalizeComposition(!0)},o.prototype.keydown=function(r){if(this._isComposing||this._isSendingComposition){if(r.keyCode===229)return!1;if(r.keyCode===16||r.keyCode===17||r.keyCode===18)return!1;this._finalizeComposition(!1)}return r.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},o.prototype._finalizeComposition=function(r){var i=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,r){var n={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(i._isSendingComposition){i._isSendingComposition=!1;var s=void 0;s=i._isComposing?i._textarea.value.substring(n.start,n.end):i._textarea.value.substring(n.start),i._coreService.triggerDataEvent(s,!0)}},0)}else{this._isSendingComposition=!1;var e=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(e,!0)}},o.prototype._handleAnyTextareaChanges=function(){var r=this,i=this._textarea.value;setTimeout(function(){if(!r._isComposing){var n=r._textarea.value.replace(i,"");n.length>0&&r._coreService.triggerDataEvent(n,!0)}},0)},o.prototype.updateCompositionElements=function(r){var i=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var n=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),e=this._bufferService.buffer.y*n,s=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=s+"px",this._compositionView.style.top=e+"px",this._compositionView.style.height=n+"px",this._compositionView.style.lineHeight=n+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var t=this._compositionView.getBoundingClientRect();this._textarea.style.left=s+"px",this._textarea.style.top=e+"px",this._textarea.style.width=t.width+"px",this._textarea.style.height=t.height+"px",this._textarea.style.lineHeight=t.height+"px"}r||setTimeout(function(){return i.updateCompositionElements(!0)},0)}},o=A([b(2,f.IBufferService),b(3,f.IOptionsService),b(4,g.ICharSizeService),b(5,f.ICoreService)],o)}();x.CompositionHelper=c},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(s,t){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(s,t)},function(e,s){function t(){this.constructor=e}A(e,s),e.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)}),g=this&&this.__decorate||function(e,s,t,a){var l,u=arguments.length,h=u<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(e,s,t,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(h=(u<3?l(h):u>3?l(s,t,h):l(s,t))||h);return u>3&&h&&Object.defineProperty(s,t,h),h},f=this&&this.__param||function(e,s){return function(t,a){s(t,a,e)}};Object.defineProperty(x,"__esModule",{value:!0}),x.Viewport=void 0;var c=C(2),o=C(7),r=C(5),i=C(1),n=function(e){function s(t,a,l,u,h,p,m){var v=e.call(this)||this;return v._scrollLines=t,v._viewportElement=a,v._scrollArea=l,v._bufferService=u,v._optionsService=h,v._charSizeService=p,v._renderService=m,v.scrollBarWidth=0,v._currentRowHeight=0,v._lastRecordedBufferLength=0,v._lastRecordedViewportHeight=0,v._lastRecordedBufferHeight=0,v._lastTouchY=0,v._lastScrollTop=0,v._wheelPartialScroll=0,v._refreshAnimationFrame=null,v._ignoreNextScrollEvent=!1,v.scrollBarWidth=v._viewportElement.offsetWidth-v._scrollArea.offsetWidth||15,v.register(o.addDisposableDomListener(v._viewportElement,"scroll",v._onScroll.bind(v))),setTimeout(function(){return v.syncScrollArea()},0),v}return b(s,e),s.prototype.onThemeChange=function(t){this._viewportElement.style.backgroundColor=t.background.css},s.prototype._refresh=function(t){var a=this;if(t)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return a._innerRefresh()}))},s.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var t=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==t&&(this._lastRecordedBufferHeight=t,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var a=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==a&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=a),this._refreshAnimationFrame=null},s.prototype.syncScrollArea=function(t){if(t===void 0&&(t=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(t);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var a=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===a&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(t)}else this._refresh(t)},s.prototype._onScroll=function(t){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var a=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(a,!0)}},s.prototype._bubbleScroll=function(t,a){var l=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(a<0&&this._viewportElement.scrollTop!==0||a>0&&l0?1:-1),this._wheelPartialScroll%=1):t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(a*=this._bufferService.rows),a},s.prototype._applyScrollModifier=function(t,a){var l=this._optionsService.options.fastScrollModifier;return l==="alt"&&a.altKey||l==="ctrl"&&a.ctrlKey||l==="shift"&&a.shiftKey?t*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:t*this._optionsService.options.scrollSensitivity},s.prototype.onTouchStart=function(t){this._lastTouchY=t.touches[0].pageY},s.prototype.onTouchMove=function(t){var a=this._lastTouchY-t.touches[0].pageY;return this._lastTouchY=t.touches[0].pageY,a!==0&&(this._viewportElement.scrollTop+=a,this._bubbleScroll(t,a))},s=g([f(3,i.IBufferService),f(4,i.IOptionsService),f(5,r.ICharSizeService),f(6,r.IRenderService)],s)}(c.Disposable);x.Viewport=n},function(O,x,C){"use strict";function A(c){return c.replace(/\r?\n/g,"\r")}function b(c,o){return o?"[200~"+c+"[201~":c}function g(c,o,r){c=b(c=A(c),r.decPrivateModes.bracketedPasteMode),r.triggerDataEvent(c,!0),o.value=""}function f(c,o,r){var i=r.getBoundingClientRect(),n=c.clientX-i.left-10,e=c.clientY-i.top-10;o.style.width="20px",o.style.height="20px",o.style.left=n+"px",o.style.top=e+"px",o.style.zIndex="1000",o.focus()}Object.defineProperty(x,"__esModule",{value:!0}),x.rightClickHandler=x.moveTextAreaUnderMouseCursor=x.paste=x.handlePasteEvent=x.copyHandler=x.bracketTextForPaste=x.prepareTextForTerminal=void 0,x.prepareTextForTerminal=A,x.bracketTextForPaste=b,x.copyHandler=function(c,o){c.clipboardData&&c.clipboardData.setData("text/plain",o.selectionText),c.preventDefault()},x.handlePasteEvent=function(c,o,r){c.stopPropagation(),c.clipboardData&&g(c.clipboardData.getData("text/plain"),o,r)},x.paste=g,x.moveTextAreaUnderMouseCursor=f,x.rightClickHandler=function(c,o,r,i,n){f(c,o,r),n&&!i.isClickInSelection(c)&&i.selectWordAtCursor(c),o.value=i.selectionText,o.select()}},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(s,t){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(s,t)},function(e,s){function t(){this.constructor=e}A(e,s),e.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)});Object.defineProperty(x,"__esModule",{value:!0}),x.EscapeSequenceParser=x.VT500_TRANSITION_TABLE=x.TransitionTable=void 0;var g=C(2),f=C(15),c=C(21),o=C(22),r=C(24),i=function(){function e(s){this.table=new Uint8Array(s)}return e.prototype.setDefault=function(s,t){f.fill(this.table,s<<4|t)},e.prototype.add=function(s,t,a,l){this.table[t<<8|s]=a<<4|l},e.prototype.addMany=function(s,t,a,l){for(var u=0;u1)throw new Error("only one byte as prefix supported");if((l=t.prefix.charCodeAt(0))&&60>l||l>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(t.intermediates){if(t.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var u=0;uh||h>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");l<<=8,l|=h}}if(t.final.length!==1)throw new Error("final must be a single byte");var p=t.final.charCodeAt(0);if(a[0]>p||p>a[1])throw new Error("final must be in range "+a[0]+" .. "+a[1]);return l<<=8,l|=p},s.prototype.identToString=function(t){for(var a=[];t;)a.push(String.fromCharCode(255&t)),t>>=8;return a.reverse().join("")},s.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},s.prototype.setPrintHandler=function(t){this._printHandler=t},s.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},s.prototype.addEscHandler=function(t,a){var l=this._identifier(t,[48,126]);this._escHandlers[l]===void 0&&(this._escHandlers[l]=[]);var u=this._escHandlers[l];return u.push(a),{dispose:function(){var p=u.indexOf(a);p!==-1&&u.splice(p,1)}}},s.prototype.setEscHandler=function(t,a){this._escHandlers[this._identifier(t,[48,126])]=[a]},s.prototype.clearEscHandler=function(t){this._escHandlers[this._identifier(t,[48,126])]&&delete this._escHandlers[this._identifier(t,[48,126])]},s.prototype.setEscHandlerFallback=function(t){this._escHandlerFb=t},s.prototype.setExecuteHandler=function(t,a){this._executeHandlers[t.charCodeAt(0)]=a},s.prototype.clearExecuteHandler=function(t){this._executeHandlers[t.charCodeAt(0)]&&delete this._executeHandlers[t.charCodeAt(0)]},s.prototype.setExecuteHandlerFallback=function(t){this._executeHandlerFb=t},s.prototype.addCsiHandler=function(t,a){var l=this._identifier(t);this._csiHandlers[l]===void 0&&(this._csiHandlers[l]=[]);var u=this._csiHandlers[l];return u.push(a),{dispose:function(){var p=u.indexOf(a);p!==-1&&u.splice(p,1)}}},s.prototype.setCsiHandler=function(t,a){this._csiHandlers[this._identifier(t)]=[a]},s.prototype.clearCsiHandler=function(t){this._csiHandlers[this._identifier(t)]&&delete this._csiHandlers[this._identifier(t)]},s.prototype.setCsiHandlerFallback=function(t){this._csiHandlerFb=t},s.prototype.addDcsHandler=function(t,a){return this._dcsParser.addHandler(this._identifier(t),a)},s.prototype.setDcsHandler=function(t,a){this._dcsParser.setHandler(this._identifier(t),a)},s.prototype.clearDcsHandler=function(t){this._dcsParser.clearHandler(this._identifier(t))},s.prototype.setDcsHandlerFallback=function(t){this._dcsParser.setHandlerFallback(t)},s.prototype.addOscHandler=function(t,a){return this._oscParser.addHandler(t,a)},s.prototype.setOscHandler=function(t,a){this._oscParser.setHandler(t,a)},s.prototype.clearOscHandler=function(t){this._oscParser.clearHandler(t)},s.prototype.setOscHandlerFallback=function(t){this._oscParser.setHandlerFallback(t)},s.prototype.setErrorHandler=function(t){this._errorHandler=t},s.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},s.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},s.prototype.parse=function(t,a){for(var l=0,u=0,h=this.currentState,p=this._oscParser,m=this._dcsParser,v=this._collect,y=this._params,E=this._transitions.table,T=0;T>4){case 2:for(var w=T+1;;++w){if(w>=a||(l=t[w])<32||l>126&&l<160){this._printHandler(t,T,w),T=w-1;break}if(++w>=a||(l=t[w])<32||l>126&&l<160){this._printHandler(t,T,w),T=w-1;break}if(++w>=a||(l=t[w])<32||l>126&&l<160){this._printHandler(t,T,w),T=w-1;break}if(++w>=a||(l=t[w])<32||l>126&&l<160){this._printHandler(t,T,w),T=w-1;break}}break;case 3:this._executeHandlers[l]?this._executeHandlers[l]():this._executeHandlerFb(l),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:T,code:l,currentState:h,collect:v,params:y,abort:!1}).abort)return;break;case 7:for(var S=this._csiHandlers[v<<8|l],_=S?S.length-1:-1;_>=0&&S[_](y)===!1;_--);_<0&&this._csiHandlerFb(v<<8|l,y),this.precedingCodepoint=0;break;case 8:do switch(l){case 59:y.addParam(0);break;case 58:y.addSubParam(-1);break;default:y.addDigit(l-48)}while(++T47&&l<60);T--;break;case 9:v<<=8,v|=l;break;case 10:for(var I=this._escHandlers[v<<8|l],L=I?I.length-1:-1;L>=0&&I[L]()===!1;L--);L<0&&this._escHandlerFb(v<<8|l),this.precedingCodepoint=0;break;case 11:y.reset(),y.addParam(0),v=0;break;case 12:m.hook(v<<8|l,y);break;case 13:for(var N=T+1;;++N)if(N>=a||(l=t[N])===24||l===26||l===27||l>127&&l<160){m.put(t,T,N),T=N-1;break}break;case 14:m.unhook(l!==24&&l!==26),l===27&&(u|=1),y.reset(),y.addParam(0),v=0,this.precedingCodepoint=0;break;case 4:p.start();break;case 5:for(var D=T+1;;D++)if(D>=a||(l=t[D])<32||l>127&&l<=159){p.put(t,T,D),T=D-1;break}break;case 6:p.end(l!==24&&l!==26),l===27&&(u|=1),y.reset(),y.addParam(0),v=0,this.precedingCodepoint=0}h=15&u}this._collect=v,this.currentState=h},s}(g.Disposable);x.EscapeSequenceParser=n},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(m,v){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,E){y.__proto__=E}||function(y,E){for(var T in E)E.hasOwnProperty(T)&&(y[T]=E[T])})(m,v)},function(p,m){function v(){this.constructor=p}A(p,m),p.prototype=m===null?Object.create(m):(v.prototype=m.prototype,new v)}),g=this&&this.__decorate||function(p,m,v,y){var E,T=arguments.length,w=T<3?m:y===null?y=Object.getOwnPropertyDescriptor(m,v):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(p,m,v,y);else for(var S=p.length-1;S>=0;S--)(E=p[S])&&(w=(T<3?E(w):T>3?E(m,v,w):E(m,v))||w);return T>3&&w&&Object.defineProperty(m,v,w),w},f=this&&this.__param||function(p,m){return function(v,y){m(v,y,p)}};Object.defineProperty(x,"__esModule",{value:!0}),x.Renderer=void 0;var c=C(41),o=C(47),r=C(48),i=C(49),n=C(29),e=C(2),s=C(5),t=C(1),a=C(25),l=C(0),u=1,h=function(p){function m(v,y,E,T,w,S,_,I,L){var N=p.call(this)||this;N._colors=v,N._screenElement=y,N._bufferService=w,N._charSizeService=S,N._optionsService=_,N._id=u++,N._onRequestRedraw=new l.EventEmitter;var D=N._optionsService.options.allowTransparency;return N._characterJoinerRegistry=new n.CharacterJoinerRegistry(N._bufferService),N._renderLayers=[new c.TextRenderLayer(N._screenElement,0,N._colors,N._characterJoinerRegistry,D,N._id,N._bufferService,_),new o.SelectionRenderLayer(N._screenElement,1,N._colors,N._id,N._bufferService,_),new i.LinkRenderLayer(N._screenElement,2,N._colors,N._id,E,T,N._bufferService,_),new r.CursorRenderLayer(N._screenElement,3,N._colors,N._id,N._onRequestRedraw,N._bufferService,_,I,L)],N.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},N._devicePixelRatio=window.devicePixelRatio,N._updateDimensions(),N.onOptionsChanged(),N}return b(m,p),Object.defineProperty(m.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),m.prototype.dispose=function(){for(var v=0,y=this._renderLayers;v0&&y===v[0][0]){T=!0;var S=v.shift();E=new r.JoinedCellData(this._workCell,m.translateToString(!0,S[0],S[1]),S[1]-S[0]),w=S[1]-1}!T&&this._isOverlapping(E)&&wthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[a]=l,l},s}(f.BaseRenderLayer);x.TextRenderLayer=n},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.GridCache=void 0;var A=function(){function b(){this.cache=[]}return b.prototype.resize=function(g,f){for(var c=0;c>>24,R=L.rgba>>>16&255,B=L.rgba>>>8&255,M=0;M=this.capacity)c=this._head,this._unlinkNode(c),delete this._map[c.key],c.key=g,c.value=f,this._map[g]=c;else{var o=this._nodePool;o.length>0?((c=o.pop()).key=g,c.value=f):c={prev:null,next:null,key:g,value:f},this._map[g]=c,this.size++}this._appendNode(c)},b}();x.LRUMap=A},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(c,o){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)i.hasOwnProperty(n)&&(r[n]=i[n])})(c,o)},function(f,c){function o(){this.constructor=f}A(f,c),f.prototype=c===null?Object.create(c):(o.prototype=c.prototype,new o)});Object.defineProperty(x,"__esModule",{value:!0}),x.SelectionRenderLayer=void 0;var g=function(f){function c(o,r,i,n,e,s){var t=f.call(this,o,"selection",r,!0,i,n,e,s)||this;return t._clearState(),t}return b(c,f),c.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},c.prototype.resize=function(o){f.prototype.resize.call(this,o),this._clearState()},c.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},c.prototype.onSelectionChanged=function(o,r,i){if(this._didStateChange(o,r,i,this._bufferService.buffer.ydisp))if(this._clearAll(),o&&r){var n=o[1]-this._bufferService.buffer.ydisp,e=r[1]-this._bufferService.buffer.ydisp,s=Math.max(n,0),t=Math.min(e,this._bufferService.rows-1);if(!(s>=this._bufferService.rows||t<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,i){var a=o[0],l=r[0]-a,u=t-s+1;this._fillCells(a,s,l,u)}else{a=n===s?o[0]:0;var h=s===t?r[0]:this._bufferService.cols;this._fillCells(a,s,h-a,1);var p=Math.max(t-s-1,0);if(this._fillCells(0,s+1,this._bufferService.cols,p),s!==t){var m=e===t?r[0]:this._bufferService.cols;this._fillCells(0,t,m,1)}}this._state.start=[o[0],o[1]],this._state.end=[r[0],r[1]],this._state.columnSelectMode=i,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},c.prototype._didStateChange=function(o,r,i,n){return!this._areCoordinatesEqual(o,this._state.start)||!this._areCoordinatesEqual(r,this._state.end)||i!==this._state.columnSelectMode||n!==this._state.ydisp},c.prototype._areCoordinatesEqual=function(o,r){return!(!o||!r)&&o[0]===r[0]&&o[1]===r[1]},c}(C(13).BaseRenderLayer);x.SelectionRenderLayer=g},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(i,n){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,s){e.__proto__=s}||function(e,s){for(var t in s)s.hasOwnProperty(t)&&(e[t]=s[t])})(i,n)},function(r,i){function n(){this.constructor=r}A(r,i),r.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(x,"__esModule",{value:!0}),x.CursorRenderLayer=void 0;var g=C(13),f=C(4),c=function(r){function i(n,e,s,t,a,l,u,h,p){var m=r.call(this,n,"cursor",e,!0,s,t,l,u)||this;return m._onRequestRedraw=a,m._coreService=h,m._coreBrowserService=p,m._cell=new f.CellData,m._state={x:0,y:0,isFocused:!1,style:"",width:0},m._cursorRenderers={bar:m._renderBarCursor.bind(m),block:m._renderBlockCursor.bind(m),underline:m._renderUnderlineCursor.bind(m)},m}return b(i,r),i.prototype.resize=function(n){r.prototype.resize.call(this,n),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},i.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},i.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onOptionsChanged=function(){var n,e=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new o(this._coreBrowserService.isFocused,function(){e._render(!0)})):((n=this._cursorBlinkStateManager)===null||n===void 0||n.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},i.prototype.onGridChanged=function(n,e){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},i.prototype._render=function(n){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var e=this._bufferService.buffer.ybase+this._bufferService.buffer.y,s=e-this._bufferService.buffer.ydisp;if(s<0||s>=this._bufferService.rows)this._clearCursor();else{var t=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(e).loadCell(t,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var a=this._optionsService.options.cursorStyle;return a&&a!=="block"?this._cursorRenderers[a](t,s,this._cell):this._renderBlurCursor(t,s,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=s,this._state.isFocused=!1,this._state.style=a,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===t&&this._state.y===s&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](t,s,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=s,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},i.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},i.prototype._renderBarCursor=function(n,e,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(n,e,this._optionsService.options.cursorWidth),this._ctx.restore()},i.prototype._renderBlockCursor=function(n,e,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(n,e,s.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(s,n,e),this._ctx.restore()},i.prototype._renderUnderlineCursor=function(n,e,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(n,e),this._ctx.restore()},i.prototype._renderBlurCursor=function(n,e,s){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(n,e,s.getWidth(),1),this._ctx.restore()},i}(g.BaseRenderLayer);x.CursorRenderLayer=c;var o=function(){function r(i,n){this._renderCallback=n,this.isCursorVisible=!0,i&&this._restartInterval()}return Object.defineProperty(r.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),r.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},r.prototype.restartBlinkAnimation=function(){var i=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){i._renderCallback(),i._animationFrame=void 0})))},r.prototype._restartInterval=function(i){var n=this;i===void 0&&(i=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(n._animationTimeRestarted){var e=600-(Date.now()-n._animationTimeRestarted);if(n._animationTimeRestarted=void 0,e>0)return void n._restartInterval(e)}n.isCursorVisible=!1,n._animationFrame=window.requestAnimationFrame(function(){n._renderCallback(),n._animationFrame=void 0}),n._blinkInterval=window.setInterval(function(){if(n._animationTimeRestarted){var s=600-(Date.now()-n._animationTimeRestarted);return n._animationTimeRestarted=void 0,void n._restartInterval(s)}n.isCursorVisible=!n.isCursorVisible,n._animationFrame=window.requestAnimationFrame(function(){n._renderCallback(),n._animationFrame=void 0})},600)},i)},r.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},r.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},r}()},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(i,n){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,s){e.__proto__=s}||function(e,s){for(var t in s)s.hasOwnProperty(t)&&(e[t]=s[t])})(i,n)},function(r,i){function n(){this.constructor=r}A(r,i),r.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(x,"__esModule",{value:!0}),x.LinkRenderLayer=void 0;var g=C(13),f=C(9),c=C(26),o=function(r){function i(n,e,s,t,a,l,u,h){var p=r.call(this,n,"link",e,!0,s,t,u,h)||this;return a.onShowLinkUnderline(function(m){return p._onShowLinkUnderline(m)}),a.onHideLinkUnderline(function(m){return p._onHideLinkUnderline(m)}),l.onShowLinkUnderline(function(m){return p._onShowLinkUnderline(m)}),l.onHideLinkUnderline(function(m){return p._onHideLinkUnderline(m)}),p}return b(i,r),i.prototype.resize=function(n){r.prototype.resize.call(this,n),this._state=void 0},i.prototype.reset=function(){this._clearCurrentLink()},i.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var n=this._state.y2-this._state.y1-1;n>0&&this._clearCells(0,this._state.y1+1,this._state.cols,n),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},i.prototype._onShowLinkUnderline=function(n){if(n.fg===f.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:n.fg&&c.is256Color(n.fg)?this._ctx.fillStyle=this._colors.ansi[n.fg].css:this._ctx.fillStyle=this._colors.foreground.css,n.y1===n.y2)this._fillBottomLineAtCells(n.x1,n.y1,n.x2-n.x1);else{this._fillBottomLineAtCells(n.x1,n.y1,n.cols-n.x1);for(var e=n.y1+1;e=0;l--)(s=r[l])&&(a=(t<3?s(a):t>3?s(i,n,a):s(i,n))||a);return t>3&&a&&Object.defineProperty(i,n,a),a},b=this&&this.__param||function(r,i){return function(n,e){i(n,e,r)}};Object.defineProperty(x,"__esModule",{value:!0}),x.MouseZone=x.Linkifier=void 0;var g=C(0),f=C(1),c=function(){function r(i,n,e){this._bufferService=i,this._logService=n,this._unicodeService=e,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new g.EventEmitter,this._onHideLinkUnderline=new g.EventEmitter,this._onLinkTooltip=new g.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(r.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),r.prototype.attachToDom=function(i,n){this._element=i,this._mouseZoneManager=n},r.prototype.linkifyRows=function(i,n){var e=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=i,this._rowsToLinkify.end=n):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,i),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,n)),this._mouseZoneManager.clearAll(i,n),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return e._linkifyRows()},r._timeBeforeLatency))},r.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var i=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var n=i.ydisp+this._rowsToLinkify.start;if(!(n>=i.lines.length)){for(var e=i.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,s=Math.ceil(2e3/this._bufferService.cols),t=this._bufferService.buffer.iterator(!1,n,e,s,s);t.hasNext();)for(var a=t.next(),l=0;l=0;n--)if(i.priority<=this._linkMatchers[n].priority)return void this._linkMatchers.splice(n+1,0,i);this._linkMatchers.splice(0,0,i)}else this._linkMatchers.push(i)},r.prototype.deregisterLinkMatcher=function(i){for(var n=0;n>9&511:void 0;e.validationCallback?e.validationCallback(m,function(w){t._rowsTimeoutId||w&&t._addLink(v[1],v[0]-t._bufferService.buffer.ydisp,m,e,T)}):h._addLink(v[1],v[0]-h._bufferService.buffer.ydisp,m,e,T)},h=this;(s=a.exec(n))!==null&&!(u()==="break"););},r.prototype._addLink=function(i,n,e,s,t){var a=this;if(this._mouseZoneManager&&this._element){var l=this._unicodeService.getStringCellWidth(e),u=i%this._bufferService.cols,h=n+Math.floor(i/this._bufferService.cols),p=(u+l)%this._bufferService.cols,m=h+Math.floor((u+l)/this._bufferService.cols);p===0&&(p=this._bufferService.cols,m--),this._mouseZoneManager.add(new o(u+1,h+1,p+1,m+1,function(v){if(s.handler)return s.handler(v,e);var y=window.open();y?(y.opener=null,y.location.href=e):console.warn("Opening link blocked as opener could not be cleared")},function(){a._onShowLinkUnderline.fire(a._createLinkHoverEvent(u,h,p,m,t)),a._element.classList.add("xterm-cursor-pointer")},function(v){a._onLinkTooltip.fire(a._createLinkHoverEvent(u,h,p,m,t)),s.hoverTooltipCallback&&s.hoverTooltipCallback(v,e,{start:{x:u,y:h},end:{x:p,y:m}})},function(){a._onHideLinkUnderline.fire(a._createLinkHoverEvent(u,h,p,m,t)),a._element.classList.remove("xterm-cursor-pointer"),s.hoverLeaveCallback&&s.hoverLeaveCallback()},function(v){return!s.willLinkActivate||s.willLinkActivate(v,e)}))}},r.prototype._createLinkHoverEvent=function(i,n,e,s,t){return{x1:i,y1:n,x2:e,y2:s,cols:this._bufferService.cols,fg:t}},r._timeBeforeLatency=200,r=A([b(0,f.IBufferService),b(1,f.ILogService),b(2,f.IUnicodeService)],r)}();x.Linkifier=c;var o=function(i,n,e,s,t,a,l,u,h){this.x1=i,this.y1=n,this.x2=e,this.y2=s,this.clickCallback=t,this.hoverCallback=a,this.tooltipCallback=l,this.leaveCallback=u,this.willLinkActivate=h};x.MouseZone=o},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(m,v){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,E){y.__proto__=E}||function(y,E){for(var T in E)E.hasOwnProperty(T)&&(y[T]=E[T])})(m,v)},function(p,m){function v(){this.constructor=p}A(p,m),p.prototype=m===null?Object.create(m):(v.prototype=m.prototype,new v)}),g=this&&this.__decorate||function(p,m,v,y){var E,T=arguments.length,w=T<3?m:y===null?y=Object.getOwnPropertyDescriptor(m,v):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(p,m,v,y);else for(var S=p.length-1;S>=0;S--)(E=p[S])&&(w=(T<3?E(w):T>3?E(m,v,w):E(m,v))||w);return T>3&&w&&Object.defineProperty(m,v,w),w},f=this&&this.__param||function(p,m){return function(v,y){m(v,y,p)}};Object.defineProperty(x,"__esModule",{value:!0}),x.SelectionService=void 0;var c=C(11),o=C(52),r=C(4),i=C(0),n=C(5),e=C(1),s=C(30),t=C(53),a=C(2),l=String.fromCharCode(160),u=new RegExp(l,"g"),h=function(p){function m(v,y,E,T,w,S,_){var I=p.call(this)||this;return I._element=v,I._screenElement=y,I._bufferService=E,I._coreService=T,I._mouseService=w,I._optionsService=S,I._renderService=_,I._dragScrollAmount=0,I._enabled=!0,I._workCell=new r.CellData,I._mouseDownTimeStamp=0,I._onLinuxMouseSelection=I.register(new i.EventEmitter),I._onRedrawRequest=I.register(new i.EventEmitter),I._onSelectionChange=I.register(new i.EventEmitter),I._onRequestScrollLines=I.register(new i.EventEmitter),I._mouseMoveListener=function(L){return I._onMouseMove(L)},I._mouseUpListener=function(L){return I._onMouseUp(L)},I._coreService.onUserInput(function(){I.hasSelection&&I.clearSelection()}),I._trimListener=I._bufferService.buffer.lines.onTrim(function(L){return I._onTrim(L)}),I.register(I._bufferService.buffers.onBufferActivate(function(L){return I._onBufferActivate(L)})),I.enable(),I._model=new o.SelectionModel(I._bufferService),I._activeSelectionMode=0,I}return b(m,p),Object.defineProperty(m.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),m.prototype.dispose=function(){this._removeMouseDownListeners()},m.prototype.reset=function(){this.clearSelection()},m.prototype.disable=function(){this.clearSelection(),this._enabled=!1},m.prototype.enable=function(){this._enabled=!0},Object.defineProperty(m.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"hasSelection",{get:function(){var y=this._model.finalSelectionStart,E=this._model.finalSelectionEnd;return!(!y||!E)&&(y[0]!==E[0]||y[1]!==E[1])},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"selectionText",{get:function(){var y=this._model.finalSelectionStart,E=this._model.finalSelectionEnd;if(!y||!E)return"";var T=this._bufferService.buffer,w=[];if(this._activeSelectionMode===3){if(y[0]===E[0])return"";for(var S=y[1];S<=E[1];S++){var _=T.translateBufferLineToString(S,!0,y[0],E[0]);w.push(_)}}else{var I=y[1]===E[1]?E[0]:void 0;for(w.push(T.translateBufferLineToString(y[1],!0,y[0],I)),S=y[1]+1;S<=E[1]-1;S++){var L=T.lines.get(S);_=T.translateBufferLineToString(S,!0),L&&L.isWrapped?w[w.length-1]+=_:w.push(_)}y[1]!==E[1]&&(L=T.lines.get(E[1]),_=T.translateBufferLineToString(E[1],!0,0,E[0]),L&&L.isWrapped?w[w.length-1]+=_:w.push(_))}return w.map(function(N){return N.replace(u," ")}).join(c.isWindows?`\r `:` `)},enumerable:!1,configurable:!0}),m.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},m.prototype.refresh=function(v){var y=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return y._refresh()})),c.isLinux&&v)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},m.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},m.prototype.isClickInSelection=function(v){var y=this._getMouseBufferCoords(v),E=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!!(E&&T&&y)&&this._areCoordsInSelection(y,E,T)},m.prototype._areCoordsInSelection=function(v,y,E){return v[1]>y[1]&&v[1]=y[0]&&v[0]=y[0]},m.prototype.selectWordAtCursor=function(v){var y=this._getMouseBufferCoords(v);y&&(this._selectWordAt(y,!1),this._model.selectionEnd=void 0,this.refresh(!0))},m.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},m.prototype.selectLines=function(v,y){this._model.clearSelection(),v=Math.max(v,0),y=Math.min(y,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,v],this._model.selectionEnd=[this._bufferService.cols,y],this.refresh(),this._onSelectionChange.fire()},m.prototype._onTrim=function(v){this._model.onTrim(v)&&this.refresh()},m.prototype._getMouseBufferCoords=function(v){var y=this._mouseService.getCoords(v,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(y)return y[0]--,y[1]--,y[1]+=this._bufferService.buffer.ydisp,y},m.prototype._getMouseEventScrollAmount=function(v){var y=s.getCoordsRelativeToElement(v,this._screenElement)[1],E=this._renderService.dimensions.canvasHeight;return y>=0&&y<=E?0:(y>E&&(y-=E),y=Math.min(Math.max(y,-50),50),(y/=50)/Math.abs(y)+Math.round(14*y))},m.prototype.shouldForceSelection=function(v){return c.isMac?v.altKey&&this._optionsService.options.macOptionClickForcesSelection:v.shiftKey},m.prototype.onMouseDown=function(v){if(this._mouseDownTimeStamp=v.timeStamp,(v.button!==2||!this.hasSelection)&&v.button===0){if(!this._enabled){if(!this.shouldForceSelection(v))return;v.stopPropagation()}v.preventDefault(),this._dragScrollAmount=0,this._enabled&&v.shiftKey?this._onIncrementalClick(v):v.detail===1?this._onSingleClick(v):v.detail===2?this._onDoubleClick(v):v.detail===3&&this._onTripleClick(v),this._addMouseDownListeners(),this.refresh(!0)}},m.prototype._addMouseDownListeners=function(){var v=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return v._dragScroll()},50)},m.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},m.prototype._onIncrementalClick=function(v){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(v))},m.prototype._onSingleClick=function(v){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(v)?3:0,this._model.selectionStart=this._getMouseBufferCoords(v),this._model.selectionStart){this._model.selectionEnd=void 0;var y=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);y&&y.length!==this._model.selectionStart[0]&&y.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},m.prototype._onDoubleClick=function(v){var y=this._getMouseBufferCoords(v);y&&(this._activeSelectionMode=1,this._selectWordAt(y,!0))},m.prototype._onTripleClick=function(v){var y=this._getMouseBufferCoords(v);y&&(this._activeSelectionMode=2,this._selectLineAt(y[1]))},m.prototype.shouldColumnSelect=function(v){return v.altKey&&!(c.isMac&&this._optionsService.options.macOptionClickForcesSelection)},m.prototype._onMouseMove=function(v){if(v.stopImmediatePropagation(),this._model.selectionStart){var y=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(v),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var E=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(v.ydisp+this._bufferService.rows,v.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=v.ydisp),this.refresh()}},m.prototype._onMouseUp=function(v){var y=v.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&y<500&&v.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var E=this._mouseService.getCoords(v,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(E&&E[0]!==void 0&&E[1]!==void 0){var T=t.moveToCellSequence(E[0]-1,E[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(T,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},m.prototype._onBufferActivate=function(v){var y=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=v.activeBuffer.lines.onTrim(function(E){return y._onTrim(E)})},m.prototype._convertViewportColToCharacterIndex=function(v,y){for(var E=y[0],T=0;y[0]>=T;T++){var w=v.loadCell(T,this._workCell).getChars().length;this._workCell.getWidth()===0?E--:w>1&&y[0]!==T&&(E+=w-1)}return E},m.prototype.setSelection=function(v,y,E){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[v,y],this._model.selectionStartLength=E,this.refresh()},m.prototype._getWordAt=function(v,y,E,T){if(E===void 0&&(E=!0),T===void 0&&(T=!0),!(v[0]>=this._bufferService.cols)){var w=this._bufferService.buffer,S=w.lines.get(v[1]);if(S){var _=w.translateBufferLineToString(v[1],!1),I=this._convertViewportColToCharacterIndex(S,v),L=I,N=v[0]-I,D=0,R=0,B=0,M=0;if(_.charAt(I)===" "){for(;I>0&&_.charAt(I-1)===" ";)I--;for(;L<_.length&&_.charAt(L+1)===" ";)L++}else{var U=v[0],F=v[0];S.getWidth(U)===0&&(D++,U--),S.getWidth(F)===2&&(R++,F++);var j=S.getString(F).length;for(j>1&&(M+=j-1,L+=j-1);U>0&&I>0&&!this._isCharWordSeparator(S.loadCell(U-1,this._workCell));){S.loadCell(U-1,this._workCell);var W=this._workCell.getChars().length;this._workCell.getWidth()===0?(D++,U--):W>1&&(B+=W-1,I-=W-1),I--,U--}for(;F1&&(M+=V-1,L+=V-1),L++,F++}}L++;var z=I+N-D+B,J=Math.min(this._bufferService.cols,L-I+D+R-B-M);if(y||_.slice(I,L).trim()!==""){if(E&&z===0&&S.getCodePoint(0)!==32){var $=w.lines.get(v[1]-1);if($&&S.isWrapped&&$.getCodePoint(this._bufferService.cols-1)!==32){var ce=this._getWordAt([this._bufferService.cols-1,v[1]-1],!1,!0,!1);if(ce){var ae=this._bufferService.cols-ce.start;z-=ae,J+=ae}}}if(T&&z+J===this._bufferService.cols&&S.getCodePoint(this._bufferService.cols-1)!==32){var Ae=w.lines.get(v[1]+1);if(Ae&&Ae.isWrapped&&Ae.getCodePoint(0)!==32){var Ie=this._getWordAt([0,v[1]+1],!1,!1,!0);Ie&&(J+=Ie.length)}}return{start:z,length:J}}}}},m.prototype._selectWordAt=function(v,y){var E=this._getWordAt(v,y);if(E){for(;E.start<0;)E.start+=this._bufferService.cols,v[1]--;this._model.selectionStart=[E.start,v[1]],this._model.selectionStartLength=E.length}},m.prototype._selectToWordAt=function(v){var y=this._getWordAt(v,!0);if(y){for(var E=v[1];y.start<0;)y.start+=this._bufferService.cols,E--;if(!this._model.areSelectionValuesReversed())for(;y.start+y.length>this._bufferService.cols;)y.length-=this._bufferService.cols,E++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?y.start:y.start+y.length,E]}},m.prototype._isCharWordSeparator=function(v){return v.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(v.getChars())>=0},m.prototype._selectLineAt=function(v){var y=this._bufferService.buffer.getWrappedRangeForLine(v);this._model.selectionStart=[0,y.first],this._model.selectionEnd=[this._bufferService.cols,y.last],this._model.selectionStartLength=0},m=g([f(2,e.IBufferService),f(3,e.ICoreService),f(4,n.IMouseService),f(5,e.IOptionsService),f(6,n.IRenderService)],m)}(a.Disposable);x.SelectionService=h},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.SelectionModel=void 0;var A=function(){function b(g){this._bufferService=g,this.isSelectAllActive=!1,this.selectionStartLength=0}return b.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(b.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var f=this.selectionStart[0]+this.selectionStartLength;return f>this._bufferService.cols?[f%this._bufferService.cols,this.selectionStart[1]+Math.floor(f/this._bufferService.cols)]:[f,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),b.prototype.areSelectionValuesReversed=function(){var g=this.selectionStart,f=this.selectionEnd;return!(!g||!f)&&(g[1]>f[1]||g[1]===f[1]&&g[0]>f[0])},b.prototype.onTrim=function(g){return this.selectionStart&&(this.selectionStart[1]-=g),this.selectionEnd&&(this.selectionEnd[1]-=g),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},b}();x.SelectionModel=A},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.moveToCellSequence=void 0;var A=C(12);function b(i,n,e,s){var t=i-g(e,i),a=n-g(e,n);return r(Math.abs(t-a)-function(l,u,h){for(var p=0,m=l-g(h,l),v=u-g(h,u),y=0;y=0&&nn?"A":"B"}function c(i,n,e,s,t,a){for(var l=i,u=n,h="";l!==e||u!==s;)l+=t?1:-1,t&&l>a.cols-1?(h+=a.buffer.translateBufferLineToString(u,!1,i,l),l=0,i=0,u++):!t&&l<0&&(h+=a.buffer.translateBufferLineToString(u,!1,0,i+1),i=l=a.cols-1,u--);return h+a.buffer.translateBufferLineToString(u,!1,i,l)}function o(i,n){var e=n?"O":"[";return A.C0.ESC+e+i}function r(i,n){i=Math.floor(i);for(var e="",s=0;s0?v-g(y,v):p;var w=v,S=function(_,I,L,N,D,R){var B;return B=b(L,N,D,R).length>0?N-g(D,N):I,_=L&&Bi?"D":"C",r(Math.abs(a-i),o(t,s));t=l>n?"D":"C";var u=Math.abs(l-n);return r(function(h,p){return p.cols-h}(l>n?i:a,e)+(u-1)*e.cols+1+((l>n?a:i)-1),o(t,s))}},function(O,x,C){"use strict";var A=this&&this.__decorate||function(c,o,r,i){var n,e=arguments.length,s=e<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(c,o,r,i);else for(var t=c.length-1;t>=0;t--)(n=c[t])&&(s=(e<3?n(s):e>3?n(o,r,s):n(o,r))||s);return e>3&&s&&Object.defineProperty(o,r,s),s},b=this&&this.__param||function(c,o){return function(r,i){o(r,i,c)}};Object.defineProperty(x,"__esModule",{value:!0}),x.SoundService=void 0;var g=C(1),f=function(){function c(o){this._optionsService=o}return Object.defineProperty(c,"audioContext",{get:function(){if(!c._audioContext){var r=window.AudioContext||window.webkitAudioContext;if(!r)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;c._audioContext=new r}return c._audioContext},enumerable:!1,configurable:!0}),c.prototype.playBellSound=function(){var o=c.audioContext;if(o){var r=o.createBufferSource();o.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(i){r.buffer=i,r.connect(o.destination),r.start(0)})}},c.prototype._base64ToArrayBuffer=function(o){for(var r=window.atob(o),i=r.length,n=new Uint8Array(i),e=0;e=0;p--)(l=e[p])&&(h=(u<3?l(h):u>3?l(s,t,h):l(s,t))||h);return u>3&&h&&Object.defineProperty(s,t,h),h},f=this&&this.__param||function(e,s){return function(t,a){s(t,a,e)}};Object.defineProperty(x,"__esModule",{value:!0}),x.MouseZoneManager=void 0;var c=C(2),o=C(7),r=C(5),i=C(1),n=function(e){function s(t,a,l,u,h,p){var m=e.call(this)||this;return m._element=t,m._screenElement=a,m._bufferService=l,m._mouseService=u,m._selectionService=h,m._optionsService=p,m._zones=[],m._areZonesActive=!1,m._lastHoverCoords=[void 0,void 0],m._initialSelectionLength=0,m.register(o.addDisposableDomListener(m._element,"mousedown",function(v){return m._onMouseDown(v)})),m._mouseMoveListener=function(v){return m._onMouseMove(v)},m._mouseLeaveListener=function(v){return m._onMouseLeave(v)},m._clickListener=function(v){return m._onClick(v)},m}return b(s,e),s.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},s.prototype.add=function(t){this._zones.push(t),this._zones.length===1&&this._activate()},s.prototype.clearAll=function(t,a){if(this._zones.length!==0){t&&a||(t=0,a=this._bufferService.rows-1);for(var l=0;lt&&u.y1<=a+1||u.y2>t&&u.y2<=a+1||u.y1a+1)&&(this._currentZone&&this._currentZone===u&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(l--,1))}this._zones.length===0&&this._deactivate()}},s.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},s.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},s.prototype._onMouseMove=function(t){this._lastHoverCoords[0]===t.pageX&&this._lastHoverCoords[1]===t.pageY||(this._onHover(t),this._lastHoverCoords=[t.pageX,t.pageY])},s.prototype._onHover=function(t){var a=this,l=this._findZoneEventAt(t);l!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),l&&(this._currentZone=l,l.hoverCallback&&l.hoverCallback(t),this._tooltipTimeout=window.setTimeout(function(){return a._onTooltip(t)},this._optionsService.options.linkTooltipHoverDuration)))},s.prototype._onTooltip=function(t){this._tooltipTimeout=void 0;var a=this._findZoneEventAt(t);a&&a.tooltipCallback&&a.tooltipCallback(t)},s.prototype._onMouseDown=function(t){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var a=this._findZoneEventAt(t);(a==null?void 0:a.willLinkActivate(t))&&(t.preventDefault(),t.stopImmediatePropagation())}},s.prototype._onMouseLeave=function(t){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},s.prototype._onClick=function(t){var a=this._findZoneEventAt(t),l=this._getSelectionLength();a&&l===this._initialSelectionLength&&(a.clickCallback(t),t.preventDefault(),t.stopImmediatePropagation())},s.prototype._getSelectionLength=function(){var t=this._selectionService.selectionText;return t?t.length:0},s.prototype._findZoneEventAt=function(t){var a=this._mouseService.getCoords(t,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(a)for(var l=a[0],u=a[1],h=0;h=p.x1&&l=p.x1||u===p.y2&&lp.y1&&ua;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var a=document.createElement("div");return a.setAttribute("role","listitem"),a.tabIndex=-1,this._refreshRowDimensions(a),a},t.prototype._onTab=function(a){for(var l=0;l0?this._charsToConsume.shift()!==a&&(this._charsToAnnounce+=a):this._charsToAnnounce+=a,a===` `&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=g.tooMuchOutput)),f.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){l._accessibilityTreeRoot.appendChild(l._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,f.isMac&&n.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(a){this._clearLiveRegion(),this._charsToConsume.push(a)},t.prototype._refreshRows=function(a,l){this._renderRowsDebouncer.refresh(a,l,this._terminal.rows)},t.prototype._renderRows=function(a,l){for(var u=this._terminal.buffer,h=u.lines.length.toString(),p=a;p<=l;p++){var m=u.translateBufferLineToString(u.ydisp+p,!0),v=(u.ydisp+p+1).toString(),y=this._rowElements[p];y&&(m.length===0?y.innerHTML=" ":y.textContent=m,y.setAttribute("aria-posinset",v),y.setAttribute("aria-setsize",h))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var a=0;a=0;T--)(v=u[T])&&(E=(y<3?v(E):y>3?v(h,p,E):v(h,p))||E);return y>3&&E&&Object.defineProperty(h,p,E),E},f=this&&this.__param||function(u,h){return function(p,m){h(p,m,u)}};Object.defineProperty(x,"__esModule",{value:!0}),x.DomRenderer=void 0;var c=C(58),o=C(9),r=C(2),i=C(5),n=C(1),e=C(0),s=C(10),t=C(17),a=1,l=function(u){function h(p,m,v,y,E,T,w,S,_){var I=u.call(this)||this;return I._colors=p,I._element=m,I._screenElement=v,I._viewportElement=y,I._linkifier=E,I._linkifier2=T,I._charSizeService=w,I._optionsService=S,I._bufferService=_,I._terminalClass=a++,I._rowElements=[],I._rowContainer=document.createElement("div"),I._rowContainer.classList.add("xterm-rows"),I._rowContainer.style.lineHeight="normal",I._rowContainer.setAttribute("aria-hidden","true"),I._refreshRowElements(I._bufferService.cols,I._bufferService.rows),I._selectionContainer=document.createElement("div"),I._selectionContainer.classList.add("xterm-selection"),I._selectionContainer.setAttribute("aria-hidden","true"),I.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},I._updateDimensions(),I._injectCss(),I._rowFactory=new c.DomRendererRowFactory(document,I._optionsService,I._colors),I._element.classList.add("xterm-dom-renderer-owner-"+I._terminalClass),I._screenElement.appendChild(I._rowContainer),I._screenElement.appendChild(I._selectionContainer),I._linkifier.onShowLinkUnderline(function(L){return I._onLinkHover(L)}),I._linkifier.onHideLinkUnderline(function(L){return I._onLinkLeave(L)}),I._linkifier2.onShowLinkUnderline(function(L){return I._onLinkHover(L)}),I._linkifier2.onHideLinkUnderline(function(L){return I._onLinkLeave(L)}),I}return b(h,u),Object.defineProperty(h.prototype,"onRequestRedraw",{get:function(){return new e.EventEmitter().event},enumerable:!1,configurable:!0}),h.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),t.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),u.prototype.dispose.call(this)},h.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var p=0,m=this._rowElements;pm;)this._rowContainer.removeChild(this._rowElements.pop())},h.prototype.onResize=function(p,m){this._refreshRowElements(p,m),this._updateDimensions()},h.prototype.onCharSizeChanged=function(){this._updateDimensions()},h.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},h.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},h.prototype.onSelectionChanged=function(p,m,v){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(p&&m){var y=p[1]-this._bufferService.buffer.ydisp,E=m[1]-this._bufferService.buffer.ydisp,T=Math.max(y,0),w=Math.min(E,this._bufferService.rows-1);if(!(T>=this._bufferService.rows||w<0)){var S=document.createDocumentFragment();if(v)S.appendChild(this._createSelectionElement(T,p[0],m[0],w-T+1));else{var _=y===T?p[0]:0,I=T===w?m[0]:this._bufferService.cols;S.appendChild(this._createSelectionElement(T,_,I));var L=w-T-1;if(S.appendChild(this._createSelectionElement(T+1,0,this._bufferService.cols,L)),T!==w){var N=E===w?m[0]:this._bufferService.cols;S.appendChild(this._createSelectionElement(w,0,N))}}this._selectionContainer.appendChild(S)}}},h.prototype._createSelectionElement=function(p,m,v,y){y===void 0&&(y=1);var E=document.createElement("div");return E.style.height=y*this.dimensions.actualCellHeight+"px",E.style.top=p*this.dimensions.actualCellHeight+"px",E.style.left=m*this.dimensions.actualCellWidth+"px",E.style.width=this.dimensions.actualCellWidth*(v-m)+"px",E},h.prototype.onCursorMove=function(){},h.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},h.prototype.clear=function(){for(var p=0,m=this._rowElements;p=E&&(p=0,v++)}},h=g([f(6,i.ICharSizeService),f(7,n.IOptionsService),f(8,n.IBufferService)],h)}(r.Disposable);x.DomRenderer=l},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.DomRendererRowFactory=x.CURSOR_STYLE_UNDERLINE_CLASS=x.CURSOR_STYLE_BAR_CLASS=x.CURSOR_STYLE_BLOCK_CLASS=x.CURSOR_BLINK_CLASS=x.CURSOR_CLASS=x.UNDERLINE_CLASS=x.ITALIC_CLASS=x.DIM_CLASS=x.BOLD_CLASS=void 0;var A=C(9),b=C(3),g=C(4),f=C(10);x.BOLD_CLASS="xterm-bold",x.DIM_CLASS="xterm-dim",x.ITALIC_CLASS="xterm-italic",x.UNDERLINE_CLASS="xterm-underline",x.CURSOR_CLASS="xterm-cursor",x.CURSOR_BLINK_CLASS="xterm-cursor-blink",x.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",x.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",x.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var c=function(){function r(i,n,e){this._document=i,this._optionsService=n,this._colors=e,this._workCell=new g.CellData}return r.prototype.setColors=function(i){this._colors=i},r.prototype.createRow=function(i,n,e,s,t,a,l){for(var u=this._document.createDocumentFragment(),h=0,p=Math.min(i.length,l)-1;p>=0;p--)if(i.loadCell(p,this._workCell).getCode()!==b.NULL_CELL_CODE||n&&p===s){h=p+1;break}for(p=0;p1&&(v.style.width=a*m+"px"),n&&p===s)switch(v.classList.add(x.CURSOR_CLASS),t&&v.classList.add(x.CURSOR_BLINK_CLASS),e){case"bar":v.classList.add(x.CURSOR_STYLE_BAR_CLASS);break;case"underline":v.classList.add(x.CURSOR_STYLE_UNDERLINE_CLASS);break;default:v.classList.add(x.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&v.classList.add(x.BOLD_CLASS),this._workCell.isItalic()&&v.classList.add(x.ITALIC_CLASS),this._workCell.isDim()&&v.classList.add(x.DIM_CLASS),this._workCell.isUnderline()&&v.classList.add(x.UNDERLINE_CLASS),this._workCell.isInvisible()?v.textContent=b.WHITESPACE_CELL_CHAR:v.textContent=this._workCell.getChars()||b.WHITESPACE_CELL_CHAR;var y=this._workCell.getFgColor(),E=this._workCell.getFgColorMode(),T=this._workCell.getBgColor(),w=this._workCell.getBgColorMode(),S=!!this._workCell.isInverse();if(S){var _=y;y=T,T=_;var I=E;E=w,w=I}switch(E){case 16777216:case 33554432:this._workCell.isBold()&&y<8&&this._optionsService.options.drawBoldTextInBrightColors&&(y+=8),this._applyMinimumContrast(v,this._colors.background,this._colors.ansi[y])||v.classList.add("xterm-fg-"+y);break;case 50331648:var L=f.rgba.toColor(y>>16&255,y>>8&255,255&y);this._applyMinimumContrast(v,this._colors.background,L)||this._addStyle(v,"color:#"+o(y.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(v,this._colors.background,this._colors.foreground)||S&&v.classList.add("xterm-fg-"+A.INVERTED_DEFAULT_COLOR)}switch(w){case 16777216:case 33554432:v.classList.add("xterm-bg-"+T);break;case 50331648:this._addStyle(v,"background-color:#"+o(T.toString(16),"0",6));break;case 0:default:S&&v.classList.add("xterm-bg-"+A.INVERTED_DEFAULT_COLOR)}u.appendChild(v)}}return u},r.prototype._applyMinimumContrast=function(i,n,e){if(this._optionsService.options.minimumContrastRatio===1)return!1;var s=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return s===void 0&&(s=f.color.ensureContrastRatio(n,e,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,s!=null?s:null)),!!s&&(this._addStyle(i,"color:"+s.css),!0)},r.prototype._addStyle=function(i,n){i.setAttribute("style",""+(i.getAttribute("style")||"")+n+";")},r}();function o(r,i,n){for(;r.length"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};x.evaluateKeyboardEvent=function(g,f,c,o){var r={type:0,cancel:!1,key:void 0},i=(g.shiftKey?1:0)|(g.altKey?2:0)|(g.ctrlKey?4:0)|(g.metaKey?8:0);switch(g.keyCode){case 0:g.key==="UIKeyInputUpArrow"?r.key=f?A.C0.ESC+"OA":A.C0.ESC+"[A":g.key==="UIKeyInputLeftArrow"?r.key=f?A.C0.ESC+"OD":A.C0.ESC+"[D":g.key==="UIKeyInputRightArrow"?r.key=f?A.C0.ESC+"OC":A.C0.ESC+"[C":g.key==="UIKeyInputDownArrow"&&(r.key=f?A.C0.ESC+"OB":A.C0.ESC+"[B");break;case 8:if(g.shiftKey){r.key=A.C0.BS;break}if(g.altKey){r.key=A.C0.ESC+A.C0.DEL;break}r.key=A.C0.DEL;break;case 9:if(g.shiftKey){r.key=A.C0.ESC+"[Z";break}r.key=A.C0.HT,r.cancel=!0;break;case 13:r.key=g.altKey?A.C0.ESC+A.C0.CR:A.C0.CR,r.cancel=!0;break;case 27:r.key=A.C0.ESC,g.altKey&&(r.key=A.C0.ESC+A.C0.ESC),r.cancel=!0;break;case 37:if(g.metaKey)break;i?(r.key=A.C0.ESC+"[1;"+(i+1)+"D",r.key===A.C0.ESC+"[1;3D"&&(r.key=A.C0.ESC+(c?"b":"[1;5D"))):r.key=f?A.C0.ESC+"OD":A.C0.ESC+"[D";break;case 39:if(g.metaKey)break;i?(r.key=A.C0.ESC+"[1;"+(i+1)+"C",r.key===A.C0.ESC+"[1;3C"&&(r.key=A.C0.ESC+(c?"f":"[1;5C"))):r.key=f?A.C0.ESC+"OC":A.C0.ESC+"[C";break;case 38:if(g.metaKey)break;i?(r.key=A.C0.ESC+"[1;"+(i+1)+"A",c||r.key!==A.C0.ESC+"[1;3A"||(r.key=A.C0.ESC+"[1;5A")):r.key=f?A.C0.ESC+"OA":A.C0.ESC+"[A";break;case 40:if(g.metaKey)break;i?(r.key=A.C0.ESC+"[1;"+(i+1)+"B",c||r.key!==A.C0.ESC+"[1;3B"||(r.key=A.C0.ESC+"[1;5B")):r.key=f?A.C0.ESC+"OB":A.C0.ESC+"[B";break;case 45:g.shiftKey||g.ctrlKey||(r.key=A.C0.ESC+"[2~");break;case 46:r.key=i?A.C0.ESC+"[3;"+(i+1)+"~":A.C0.ESC+"[3~";break;case 36:r.key=i?A.C0.ESC+"[1;"+(i+1)+"H":f?A.C0.ESC+"OH":A.C0.ESC+"[H";break;case 35:r.key=i?A.C0.ESC+"[1;"+(i+1)+"F":f?A.C0.ESC+"OF":A.C0.ESC+"[F";break;case 33:g.shiftKey?r.type=2:r.key=A.C0.ESC+"[5~";break;case 34:g.shiftKey?r.type=3:r.key=A.C0.ESC+"[6~";break;case 112:r.key=i?A.C0.ESC+"[1;"+(i+1)+"P":A.C0.ESC+"OP";break;case 113:r.key=i?A.C0.ESC+"[1;"+(i+1)+"Q":A.C0.ESC+"OQ";break;case 114:r.key=i?A.C0.ESC+"[1;"+(i+1)+"R":A.C0.ESC+"OR";break;case 115:r.key=i?A.C0.ESC+"[1;"+(i+1)+"S":A.C0.ESC+"OS";break;case 116:r.key=i?A.C0.ESC+"[15;"+(i+1)+"~":A.C0.ESC+"[15~";break;case 117:r.key=i?A.C0.ESC+"[17;"+(i+1)+"~":A.C0.ESC+"[17~";break;case 118:r.key=i?A.C0.ESC+"[18;"+(i+1)+"~":A.C0.ESC+"[18~";break;case 119:r.key=i?A.C0.ESC+"[19;"+(i+1)+"~":A.C0.ESC+"[19~";break;case 120:r.key=i?A.C0.ESC+"[20;"+(i+1)+"~":A.C0.ESC+"[20~";break;case 121:r.key=i?A.C0.ESC+"[21;"+(i+1)+"~":A.C0.ESC+"[21~";break;case 122:r.key=i?A.C0.ESC+"[23;"+(i+1)+"~":A.C0.ESC+"[23~";break;case 123:r.key=i?A.C0.ESC+"[24;"+(i+1)+"~":A.C0.ESC+"[24~";break;default:if(!g.ctrlKey||g.shiftKey||g.altKey||g.metaKey)if(c&&!o||!g.altKey||g.metaKey)c&&!g.altKey&&!g.ctrlKey&&g.metaKey?g.keyCode===65&&(r.type=1):g.key&&!g.ctrlKey&&!g.altKey&&!g.metaKey&&g.keyCode>=48&&g.key.length===1?r.key=g.key:g.key&&g.ctrlKey&&g.key==="_"&&(r.key=A.C0.US);else{var n=b[g.keyCode],e=n&&n[g.shiftKey?1:0];if(e)r.key=A.C0.ESC+e;else if(g.keyCode>=65&&g.keyCode<=90){var s=g.ctrlKey?g.keyCode-64:g.keyCode+32;r.key=A.C0.ESC+String.fromCharCode(s)}}else g.keyCode>=65&&g.keyCode<=90?r.key=String.fromCharCode(g.keyCode-64):g.keyCode===32?r.key=A.C0.NUL:g.keyCode>=51&&g.keyCode<=55?r.key=String.fromCharCode(g.keyCode-51+27):g.keyCode===56?r.key=A.C0.DEL:g.keyCode===219?r.key=A.C0.ESC:g.keyCode===220?r.key=A.C0.FS:g.keyCode===221&&(r.key=A.C0.GS)}return r}},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(l,u){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var m in p)p.hasOwnProperty(m)&&(h[m]=p[m])})(l,u)},function(a,l){function u(){this.constructor=a}A(a,l),a.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)}),g=this&&this.__decorate||function(a,l,u,h){var p,m=arguments.length,v=m<3?l:h===null?h=Object.getOwnPropertyDescriptor(l,u):h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(a,l,u,h);else for(var y=a.length-1;y>=0;y--)(p=a[y])&&(v=(m<3?p(v):m>3?p(l,u,v):p(l,u))||v);return m>3&&v&&Object.defineProperty(l,u,v),v},f=this&&this.__param||function(a,l){return function(u,h){l(u,h,a)}};Object.defineProperty(x,"__esModule",{value:!0}),x.RenderService=void 0;var c=C(31),o=C(0),r=C(2),i=C(32),n=C(7),e=C(1),s=C(5),t=function(a){function l(u,h,p,m,v,y){var E=a.call(this)||this;if(E._renderer=u,E._rowCount=h,E._isPaused=!1,E._needsFullRefresh=!1,E._isNextRenderRedrawOnly=!0,E._needsSelectionRefresh=!1,E._canvasWidth=0,E._canvasHeight=0,E._selectionState={start:void 0,end:void 0,columnSelectMode:!1},E._onDimensionsChange=new o.EventEmitter,E._onRender=new o.EventEmitter,E._onRefreshRequest=new o.EventEmitter,E.register({dispose:function(){return E._renderer.dispose()}}),E._renderDebouncer=new c.RenderDebouncer(function(w,S){return E._renderRows(w,S)}),E.register(E._renderDebouncer),E._screenDprMonitor=new i.ScreenDprMonitor,E._screenDprMonitor.setListener(function(){return E.onDevicePixelRatioChange()}),E.register(E._screenDprMonitor),E.register(y.onResize(function(w){return E._fullRefresh()})),E.register(m.onOptionChange(function(){return E._renderer.onOptionsChanged()})),E.register(v.onCharSizeChange(function(){return E.onCharSizeChanged()})),E._renderer.onRequestRedraw(function(w){return E.refreshRows(w.start,w.end,!0)}),E.register(n.addDisposableDomListener(window,"resize",function(){return E.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var T=new IntersectionObserver(function(w){return E._onIntersectionChange(w[w.length-1])},{threshold:0});T.observe(p),E.register({dispose:function(){return T.disconnect()}})}return E}return b(l,a),Object.defineProperty(l.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),l.prototype._onIntersectionChange=function(u){this._isPaused=u.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},l.prototype.refreshRows=function(u,h,p){p===void 0&&(p=!1),this._isPaused?this._needsFullRefresh=!0:(p||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(u,h,this._rowCount))},l.prototype._renderRows=function(u,h){this._renderer.renderRows(u,h),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:u,end:h}),this._isNextRenderRedrawOnly=!0},l.prototype.resize=function(u,h){this._rowCount=h,this._fireOnCanvasResize()},l.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},l.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},l.prototype.dispose=function(){a.prototype.dispose.call(this)},l.prototype.setRenderer=function(u){var h=this;this._renderer.dispose(),this._renderer=u,this._renderer.onRequestRedraw(function(p){return h.refreshRows(p.start,p.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},l.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},l.prototype.setColors=function(u){this._renderer.setColors(u),this._fullRefresh()},l.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},l.prototype.onResize=function(u,h){this._renderer.onResize(u,h),this._fullRefresh()},l.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},l.prototype.onBlur=function(){this._renderer.onBlur()},l.prototype.onFocus=function(){this._renderer.onFocus()},l.prototype.onSelectionChanged=function(u,h,p){this._selectionState.start=u,this._selectionState.end=h,this._selectionState.columnSelectMode=p,this._renderer.onSelectionChanged(u,h,p)},l.prototype.onCursorMove=function(){this._renderer.onCursorMove()},l.prototype.clear=function(){this._renderer.clear()},l.prototype.registerCharacterJoiner=function(u){return this._renderer.registerCharacterJoiner(u)},l.prototype.deregisterCharacterJoiner=function(u){return this._renderer.deregisterCharacterJoiner(u)},l=g([f(3,e.IOptionsService),f(4,s.ICharSizeService),f(5,e.IBufferService)],l)}(r.Disposable);x.RenderService=t},function(O,x,C){"use strict";var A=this&&this.__decorate||function(r,i,n,e){var s,t=arguments.length,a=t<3?i:e===null?e=Object.getOwnPropertyDescriptor(i,n):e;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,i,n,e);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(t<3?s(a):t>3?s(i,n,a):s(i,n))||a);return t>3&&a&&Object.defineProperty(i,n,a),a},b=this&&this.__param||function(r,i){return function(n,e){i(n,e,r)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CharSizeService=void 0;var g=C(1),f=C(0),c=function(){function r(i,n,e){this._optionsService=e,this.width=0,this.height=0,this._onCharSizeChange=new f.EventEmitter,this._measureStrategy=new o(i,n,this._optionsService)}return Object.defineProperty(r.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),r.prototype.measure=function(){var i=this._measureStrategy.measure();i.width===this.width&&i.height===this.height||(this.width=i.width,this.height=i.height,this._onCharSizeChange.fire())},r=A([b(2,g.IOptionsService)],r)}();x.CharSizeService=c;var o=function(){function r(i,n,e){this._document=i,this._parentElement=n,this._optionsService=e,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return r.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var i=this._measureElement.getBoundingClientRect();return i.width!==0&&i.height!==0&&(this._result.width=i.width,this._result.height=Math.ceil(i.height)),this._result},r}()},function(O,x,C){"use strict";var A=this&&this.__decorate||function(o,r,i,n){var e,s=arguments.length,t=s<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,i):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(o,r,i,n);else for(var a=o.length-1;a>=0;a--)(e=o[a])&&(t=(s<3?e(t):s>3?e(r,i,t):e(r,i))||t);return s>3&&t&&Object.defineProperty(r,i,t),t},b=this&&this.__param||function(o,r){return function(i,n){r(i,n,o)}};Object.defineProperty(x,"__esModule",{value:!0}),x.MouseService=void 0;var g=C(5),f=C(30),c=function(){function o(r,i){this._renderService=r,this._charSizeService=i}return o.prototype.getCoords=function(r,i,n,e,s){return f.getCoords(r,i,n,e,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,s)},o.prototype.getRawByteCoords=function(r,i,n,e){var s=this.getCoords(r,i,n,e);return f.getRawByteCoords(s)},o=A([b(0,g.IRenderService),b(1,g.ICharSizeService)],o)}();x.MouseService=c},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(s,t){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(s,t)},function(e,s){function t(){this.constructor=e}A(e,s),e.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)}),g=this&&this.__decorate||function(e,s,t,a){var l,u=arguments.length,h=u<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(e,s,t,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(h=(u<3?l(h):u>3?l(s,t,h):l(s,t))||h);return u>3&&h&&Object.defineProperty(s,t,h),h},f=this&&this.__param||function(e,s){return function(t,a){s(t,a,e)}};Object.defineProperty(x,"__esModule",{value:!0}),x.Linkifier2=void 0;var c=C(1),o=C(0),r=C(2),i=C(7),n=function(e){function s(t){var a=e.call(this)||this;return a._bufferService=t,a._linkProviders=[],a._linkCacheDisposables=[],a._isMouseOut=!0,a._activeLine=-1,a._onShowLinkUnderline=a.register(new o.EventEmitter),a._onHideLinkUnderline=a.register(new o.EventEmitter),a.register(r.getDisposeArrayDisposable(a._linkCacheDisposables)),a}return b(s,e),Object.defineProperty(s.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),s.prototype.registerLinkProvider=function(t){var a=this;return this._linkProviders.push(t),{dispose:function(){var u=a._linkProviders.indexOf(t);u!==-1&&a._linkProviders.splice(u,1)}}},s.prototype.attachToDom=function(t,a,l){var u=this;this._element=t,this._mouseService=a,this._renderService=l,this.register(i.addDisposableDomListener(this._element,"mouseleave",function(){u._isMouseOut=!0,u._clearCurrentLink()})),this.register(i.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(i.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},s.prototype._onMouseMove=function(t){if(this._lastMouseEvent=t,this._element&&this._mouseService){var a=this._positionFromMouseEvent(t,this._element,this._mouseService);if(a){this._isMouseOut=!1;for(var l=t.composedPath(),u=0;ut?this._bufferService.cols:m.link.range.end.x,E=v;E<=y;E++){if(l.has(E)){h.splice(p--,1);break}l.add(E)}}},s.prototype._checkLinkProviderResult=function(t,a,l){var u,h=this;if(!this._activeProviderReplies)return l;for(var p=this._activeProviderReplies.get(t),m=!1,v=0;v=t&&this._currentLink.link.range.end.y<=a)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,r.disposeArray(this._linkCacheDisposables))},s.prototype._handleNewLink=function(t){var a=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var l=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);l&&this._linkAtPosition(t.link,l)&&(this._currentLink=t,this._currentLink.state={decorations:{underline:t.link.decorations===void 0||t.link.decorations.underline,pointerCursor:t.link.decorations===void 0||t.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,t.link,this._lastMouseEvent),t.link.decorations={},Object.defineProperties(t.link.decorations,{pointerCursor:{get:function(){var h,p;return(p=(h=a._currentLink)===null||h===void 0?void 0:h.state)===null||p===void 0?void 0:p.decorations.pointerCursor},set:function(h){var p,m;((p=a._currentLink)===null||p===void 0?void 0:p.state)&&a._currentLink.state.decorations.pointerCursor!==h&&(a._currentLink.state.decorations.pointerCursor=h,a._currentLink.state.isHovered&&((m=a._element)===null||m===void 0||m.classList.toggle("xterm-cursor-pointer",h)))}},underline:{get:function(){var h,p;return(p=(h=a._currentLink)===null||h===void 0?void 0:h.state)===null||p===void 0?void 0:p.decorations.underline},set:function(h){var p,m,v;((p=a._currentLink)===null||p===void 0?void 0:p.state)&&((v=(m=a._currentLink)===null||m===void 0?void 0:m.state)===null||v===void 0?void 0:v.decorations.underline)!==h&&(a._currentLink.state.decorations.underline=h,a._currentLink.state.isHovered&&a._fireUnderlineEvent(t.link,h))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(u){var h=u.start===0?0:u.start+1+a._bufferService.buffer.ydisp;a._clearCurrentLink(h,u.end+1+a._bufferService.buffer.ydisp)})))}},s.prototype._linkHover=function(t,a,l){var u;((u=this._currentLink)===null||u===void 0?void 0:u.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(a,!0),this._currentLink.state.decorations.pointerCursor&&t.classList.add("xterm-cursor-pointer")),a.hover&&a.hover(l,a.text)},s.prototype._fireUnderlineEvent=function(t,a){var l=t.range,u=this._bufferService.buffer.ydisp,h=this._createLinkUnderlineEvent(l.start.x-1,l.start.y-u-1,l.end.x,l.end.y-u-1,void 0);(a?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(h)},s.prototype._linkLeave=function(t,a,l){var u;((u=this._currentLink)===null||u===void 0?void 0:u.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(a,!1),this._currentLink.state.decorations.pointerCursor&&t.classList.remove("xterm-cursor-pointer")),a.leave&&a.leave(l,a.text)},s.prototype._linkAtPosition=function(t,a){var l=t.range.start.y===t.range.end.y,u=t.range.start.ya.y;return(l&&t.range.start.x<=a.x&&t.range.end.x>=a.x||u&&t.range.end.x>=a.x||h&&t.range.start.x<=a.x||u&&h)&&t.range.start.y<=a.y&&t.range.end.y>=a.y},s.prototype._positionFromMouseEvent=function(t,a,l){var u=l.getCoords(t,a,this._bufferService.cols,this._bufferService.rows);if(u)return{x:u[0],y:u[1]+this._bufferService.buffer.ydisp}},s.prototype._createLinkUnderlineEvent=function(t,a,l,u,h){return{x1:t,y1:a,x2:l,y2:u,cols:this._bufferService.cols,fg:h}},s=g([f(0,c.IBufferService)],s)}(r.Disposable);x.Linkifier2=n},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CoreBrowserService=void 0;var A=function(){function b(g){this._textarea=g}return Object.defineProperty(b.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),b}();x.CoreBrowserService=A},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(y,E){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,w){T.__proto__=w}||function(T,w){for(var S in w)w.hasOwnProperty(S)&&(T[S]=w[S])})(y,E)},function(v,y){function E(){this.constructor=v}A(v,y),v.prototype=y===null?Object.create(y):(E.prototype=y.prototype,new E)});Object.defineProperty(x,"__esModule",{value:!0}),x.CoreTerminal=void 0;var g=C(2),f=C(1),c=C(66),o=C(67),r=C(68),i=C(74),n=C(75),e=C(0),s=C(76),t=C(77),a=C(78),l=C(80),u=C(81),h=C(19),p=C(82),m=function(v){function y(E){var T=v.call(this)||this;return T._onBinary=new e.EventEmitter,T._onData=new e.EventEmitter,T._onLineFeed=new e.EventEmitter,T._onResize=new e.EventEmitter,T._onScroll=new e.EventEmitter,T._instantiationService=new c.InstantiationService,T.optionsService=new i.OptionsService(E),T._instantiationService.setService(f.IOptionsService,T.optionsService),T._bufferService=T.register(T._instantiationService.createInstance(r.BufferService)),T._instantiationService.setService(f.IBufferService,T._bufferService),T._logService=T._instantiationService.createInstance(o.LogService),T._instantiationService.setService(f.ILogService,T._logService),T._coreService=T.register(T._instantiationService.createInstance(n.CoreService,function(){return T.scrollToBottom()})),T._instantiationService.setService(f.ICoreService,T._coreService),T._coreMouseService=T._instantiationService.createInstance(s.CoreMouseService),T._instantiationService.setService(f.ICoreMouseService,T._coreMouseService),T._dirtyRowService=T._instantiationService.createInstance(t.DirtyRowService),T._instantiationService.setService(f.IDirtyRowService,T._dirtyRowService),T.unicodeService=T._instantiationService.createInstance(a.UnicodeService),T._instantiationService.setService(f.IUnicodeService,T.unicodeService),T._charsetService=T._instantiationService.createInstance(l.CharsetService),T._instantiationService.setService(f.ICharsetService,T._charsetService),T._inputHandler=new h.InputHandler(T._bufferService,T._charsetService,T._coreService,T._dirtyRowService,T._logService,T.optionsService,T._coreMouseService,T.unicodeService),T.register(e.forwardEvent(T._inputHandler.onLineFeed,T._onLineFeed)),T.register(T._inputHandler),T.register(e.forwardEvent(T._bufferService.onResize,T._onResize)),T.register(e.forwardEvent(T._coreService.onData,T._onData)),T.register(e.forwardEvent(T._coreService.onBinary,T._onBinary)),T.register(T.optionsService.onOptionChange(function(w){return T._updateOptions(w)})),T._writeBuffer=new p.WriteBuffer(function(w){return T._inputHandler.parse(w)}),T}return b(y,v),Object.defineProperty(y.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),y.prototype.dispose=function(){var E;this._isDisposed||(v.prototype.dispose.call(this),(E=this._windowsMode)===null||E===void 0||E.dispose(),this._windowsMode=void 0)},y.prototype.write=function(E,T){this._writeBuffer.write(E,T)},y.prototype.writeSync=function(E){this._writeBuffer.writeSync(E)},y.prototype.resize=function(E,T){isNaN(E)||isNaN(T)||(E=Math.max(E,r.MINIMUM_COLS),T=Math.max(T,r.MINIMUM_ROWS),this._bufferService.resize(E,T))},y.prototype.scroll=function(E,T){T===void 0&&(T=!1);var w,S=this._bufferService.buffer;(w=this._cachedBlankLine)&&w.length===this.cols&&w.getFg(0)===E.fg&&w.getBg(0)===E.bg||(w=S.getBlankLine(E,T),this._cachedBlankLine=w),w.isWrapped=T;var _=S.ybase+S.scrollTop,I=S.ybase+S.scrollBottom;if(S.scrollTop===0){var L=S.lines.isFull;I===S.lines.length-1?L?S.lines.recycle().copyFrom(w):S.lines.push(w.clone()):S.lines.splice(I+1,0,w.clone()),L?this._bufferService.isUserScrolling&&(S.ydisp=Math.max(S.ydisp-1,0)):(S.ybase++,this._bufferService.isUserScrolling||S.ydisp++)}else{var N=I-_+1;S.lines.shiftElements(_+1,N-1,-1),S.lines.set(I,w.clone())}this._bufferService.isUserScrolling||(S.ydisp=S.ybase),this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom),this._onScroll.fire(S.ydisp)},y.prototype.scrollLines=function(E,T){var w=this._bufferService.buffer;if(E<0){if(w.ydisp===0)return;this._bufferService.isUserScrolling=!0}else E+w.ydisp>=w.ybase&&(this._bufferService.isUserScrolling=!1);var S=w.ydisp;w.ydisp=Math.max(Math.min(w.ydisp+E,w.ybase),0),S!==w.ydisp&&(T||this._onScroll.fire(w.ydisp))},y.prototype.scrollPages=function(E){this.scrollLines(E*(this.rows-1))},y.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},y.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},y.prototype.scrollToLine=function(E){var T=E-this._bufferService.buffer.ydisp;T!==0&&this.scrollLines(T)},y.prototype.addEscHandler=function(E,T){return this._inputHandler.addEscHandler(E,T)},y.prototype.addDcsHandler=function(E,T){return this._inputHandler.addDcsHandler(E,T)},y.prototype.addCsiHandler=function(E,T){return this._inputHandler.addCsiHandler(E,T)},y.prototype.addOscHandler=function(E,T){return this._inputHandler.addOscHandler(E,T)},y.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},y.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},y.prototype._updateOptions=function(E){var T;switch(E){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)}},y.prototype._enableWindowsMode=function(){var E=this;if(!this._windowsMode){var T=[];T.push(this.onLineFeed(u.updateWindowsModeWrappedState.bind(null,this._bufferService))),T.push(this.addCsiHandler({final:"H"},function(){return u.updateWindowsModeWrappedState(E._bufferService),!1})),this._windowsMode={dispose:function(){for(var S=0,_=T;S<_.length;S++)_[S].dispose()}}}},y}(g.Disposable);x.CoreTerminal=m},function(O,x,C){"use strict";var A=this&&this.__spreadArrays||function(){for(var o=0,r=0,i=arguments.length;r0?e[0].index:i.length;if(i.length!==h)throw new Error("[createInstance] First service dependency of "+r.name+" at position "+(h+1)+" conflicts with "+i.length+" static arguments");return new(r.bind.apply(r,A([void 0],A(i,s))))},o}();x.InstantiationService=c},function(O,x,C){"use strict";var A=this&&this.__decorate||function(i,n,e,s){var t,a=arguments.length,l=a<3?n:s===null?s=Object.getOwnPropertyDescriptor(n,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(i,n,e,s);else for(var u=i.length-1;u>=0;u--)(t=i[u])&&(l=(a<3?t(l):a>3?t(n,e,l):t(n,e))||l);return a>3&&l&&Object.defineProperty(n,e,l),l},b=this&&this.__param||function(i,n){return function(e,s){n(e,s,i)}},g=this&&this.__spreadArrays||function(){for(var i=0,n=0,e=arguments.length;n=0;p--)(l=e[p])&&(h=(u<3?l(h):u>3?l(s,t,h):l(s,t))||h);return u>3&&h&&Object.defineProperty(s,t,h),h},f=this&&this.__param||function(e,s){return function(t,a){s(t,a,e)}};Object.defineProperty(x,"__esModule",{value:!0}),x.BufferService=x.MINIMUM_ROWS=x.MINIMUM_COLS=void 0;var c=C(1),o=C(69),r=C(0),i=C(2);x.MINIMUM_COLS=2,x.MINIMUM_ROWS=1;var n=function(e){function s(t){var a=e.call(this)||this;return a._optionsService=t,a.isUserScrolling=!1,a._onResize=new r.EventEmitter,a.cols=Math.max(t.options.cols,x.MINIMUM_COLS),a.rows=Math.max(t.options.rows,x.MINIMUM_ROWS),a.buffers=new o.BufferSet(t,a),a}return b(s,e),Object.defineProperty(s.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),s.prototype.dispose=function(){e.prototype.dispose.call(this),this.buffers.dispose()},s.prototype.resize=function(t,a){this.cols=t,this.rows=a,this.buffers.resize(t,a),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:t,rows:a})},s.prototype.reset=function(){this.buffers.dispose(),this.buffers=new o.BufferSet(this._optionsService,this),this.isUserScrolling=!1},s=g([f(0,c.IOptionsService)],s)}(i.Disposable);x.BufferService=n},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(r,i){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var s in e)e.hasOwnProperty(s)&&(n[s]=e[s])})(r,i)},function(o,r){function i(){this.constructor=o}A(o,r),o.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)});Object.defineProperty(x,"__esModule",{value:!0}),x.BufferSet=void 0;var g=C(70),f=C(0),c=function(o){function r(i,n){var e=o.call(this)||this;return e._onBufferActivate=e.register(new f.EventEmitter),e._normal=new g.Buffer(!0,i,n),e._normal.fillViewportRows(),e._alt=new g.Buffer(!1,i,n),e._activeBuffer=e._normal,e.setupTabStops(),e}return b(r,o),Object.defineProperty(r.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),r.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},r.prototype.activateAltBuffer=function(i){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(i),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},r.prototype.resize=function(i,n){this._normal.resize(i,n),this._alt.resize(i,n)},r.prototype.setupTabStops=function(i){this._normal.setupTabStops(i),this._alt.setupTabStops(i)},r}(C(2).Disposable);x.BufferSet=c},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.BufferStringIterator=x.Buffer=x.MAX_BUFFER_SIZE=void 0;var A=C(71),b=C(16),g=C(4),f=C(3),c=C(72),o=C(73),r=C(20),i=C(6);x.MAX_BUFFER_SIZE=4294967295;var n=function(){function s(t,a,l){this._hasScrollback=t,this._optionsService=a,this._bufferService=l,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=b.DEFAULT_ATTR_DATA.clone(),this.savedCharset=r.DEFAULT_CHARSET,this.markers=[],this._nullCell=g.CellData.fromCharData([0,f.NULL_CELL_CHAR,f.NULL_CELL_WIDTH,f.NULL_CELL_CODE]),this._whitespaceCell=g.CellData.fromCharData([0,f.WHITESPACE_CELL_CHAR,f.WHITESPACE_CELL_WIDTH,f.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new A.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return s.prototype.getNullCell=function(t){return t?(this._nullCell.fg=t.fg,this._nullCell.bg=t.bg,this._nullCell.extended=t.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new i.ExtendedAttrs),this._nullCell},s.prototype.getWhitespaceCell=function(t){return t?(this._whitespaceCell.fg=t.fg,this._whitespaceCell.bg=t.bg,this._whitespaceCell.extended=t.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new i.ExtendedAttrs),this._whitespaceCell},s.prototype.getBlankLine=function(t,a){return new b.BufferLine(this._bufferService.cols,this.getNullCell(t),a)},Object.defineProperty(s.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isCursorInViewport",{get:function(){var a=this.ybase+this.y-this.ydisp;return a>=0&&ax.MAX_BUFFER_SIZE?x.MAX_BUFFER_SIZE:a},s.prototype.fillViewportRows=function(t){if(this.lines.length===0){t===void 0&&(t=b.DEFAULT_ATTR_DATA);for(var a=this._rows;a--;)this.lines.push(this.getBlankLine(t))}},s.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new A.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},s.prototype.resize=function(t,a){var l=this.getNullCell(b.DEFAULT_ATTR_DATA),u=this._getCorrectBufferLength(a);if(u>this.lines.maxLength&&(this.lines.maxLength=u),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+p+1?(this.ybase--,p++,this.ydisp>0&&this.ydisp--):this.lines.push(new b.BufferLine(t,l)));else for(m=this._rows;m>a;m--)this.lines.length>a+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(u0&&(this.lines.trimStart(v),this.ybase=Math.max(this.ybase-v,0),this.ydisp=Math.max(this.ydisp-v,0),this.savedY=Math.max(this.savedY-v,0)),this.lines.maxLength=u}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,a-1),p&&(this.y+=p),this.savedX=Math.min(this.savedX,t-1),this.scrollTop=0}if(this.scrollBottom=a-1,this._isReflowEnabled&&(this._reflow(t,a),this._cols>t))for(h=0;hthis._cols?this._reflowLarger(t,a):this._reflowSmaller(t,a))},s.prototype._reflowLarger=function(t,a){var l=c.reflowLargerGetLinesToRemove(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(b.DEFAULT_ATTR_DATA));if(l.length>0){var u=c.reflowLargerCreateNewLayout(this.lines,l);c.reflowLargerApplyNewLayout(this.lines,u.layout),this._reflowLargerAdjustViewport(t,a,u.countRemoved)}},s.prototype._reflowLargerAdjustViewport=function(t,a,l){for(var u=this.getNullCell(b.DEFAULT_ATTR_DATA),h=l;h-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length=0;p--){var m=this.lines.get(p);if(!(!m||!m.isWrapped&&m.getTrimmedLength()<=t)){for(var v=[m];m.isWrapped&&p>0;)m=this.lines.get(--p),v.unshift(m);var y=this.ybase+this.y;if(!(y>=p&&y0&&(u.push({start:p+v.length+h,newLines:_}),h+=_.length),v.push.apply(v,_);var N=T.length-1,D=T[N];D===0&&(D=T[--N]);for(var R=v.length-w-1,B=E;R>=0;){var M=Math.min(B,D);if(v[N].copyCellsFrom(v[R],B-M,D-M,M,!0),(D-=M)===0&&(D=T[--N]),(B-=M)===0){R--;var U=Math.max(R,0);B=c.getWrappedLineTrimmedLength(v,U,this._cols)}}for(I=0;I0;)this.ybase===0?this.y0){var j=[],W=[];for(I=0;I=0;I--)if($&&$.start>z+ce){for(var ae=$.newLines.length-1;ae>=0;ae--)this.lines.set(I--,$.newLines[ae]);I++,j.push({index:z+1,amount:$.newLines.length}),ce+=$.newLines.length,$=u[++J]}else this.lines.set(I,W[z--]);var Ae=0;for(I=j.length-1;I>=0;I--)j[I].index+=Ae,this.lines.onInsertEmitter.fire(j[I]),Ae+=j[I].amount;var Ie=Math.max(0,V+h-this.lines.maxLength);Ie>0&&this.lines.onTrimEmitter.fire(Ie)}},s.prototype.stringIndexToBufferIndex=function(t,a,l){for(l===void 0&&(l=!1);a;){var u=this.lines.get(t);if(!u)return[-1,-1];for(var h=l?u.getTrimmedLength():u.length,p=0;p0&&this.lines.get(a).isWrapped;)a--;for(;l+10;);return t>=this._cols?this._cols-1:t<0?0:t},s.prototype.nextStop=function(t){for(t==null&&(t=this.x);!this.tabs[++t]&&t=this._cols?this._cols-1:t<0?0:t},s.prototype.addMarker=function(t){var a=this,l=new o.Marker(t);return this.markers.push(l),l.register(this.lines.onTrim(function(u){l.line-=u,l.line<0&&l.dispose()})),l.register(this.lines.onInsert(function(u){l.line>=u.index&&(l.line+=u.amount)})),l.register(this.lines.onDelete(function(u){l.line>=u.index&&l.lineu.index&&(l.line-=u.amount)})),l.register(l.onDispose(function(){return a._removeMarker(l)})),l},s.prototype._removeMarker=function(t){this.markers.splice(this.markers.indexOf(t),1)},s.prototype.iterator=function(t,a,l,u,h){return new e(this,t,a,l,u,h)},s}();x.Buffer=n;var e=function(){function s(t,a,l,u,h,p){l===void 0&&(l=0),u===void 0&&(u=t.lines.length),h===void 0&&(h=0),p===void 0&&(p=0),this._buffer=t,this._trimRight=a,this._startIndex=l,this._endIndex=u,this._startOverscan=h,this._endOverscan=p,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return s.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(t.last=this._endIndex+this._endOverscan),t.first=Math.max(t.first,0),t.last=Math.min(t.last,this._buffer.lines.length);for(var a="",l=t.first;l<=t.last;++l)a+=this._buffer.translateBufferLineToString(l,this._trimRight);return this._current=t.last+1,{range:t,content:a}},s}();x.BufferStringIterator=e},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CircularList=void 0;var A=C(0),b=function(){function g(f){this._maxLength=f,this.onDeleteEmitter=new A.EventEmitter,this.onInsertEmitter=new A.EventEmitter,this.onTrimEmitter=new A.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(g.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"maxLength",{get:function(){return this._maxLength},set:function(c){if(this._maxLength!==c){for(var o=new Array(c),r=0;rthis._length)for(var o=this._length;o=f;i--)this._array[this._getCyclicIndex(i+o.length)]=this._array[this._getCyclicIndex(i)];for(i=0;ithis._maxLength){var n=this._length+o.length-this._maxLength;this._startIndex+=n,this._length=this._maxLength,this.onTrimEmitter.fire(n)}else this._length+=o.length},g.prototype.trimStart=function(f){f>this._length&&(f=this._length),this._startIndex+=f,this._length-=f,this.onTrimEmitter.fire(f)},g.prototype.shiftElements=function(f,c,o){if(!(c<=0)){if(f<0||f>=this._length)throw new Error("start argument out of range");if(f+o<0)throw new Error("Cannot shift elements in list beyond index 0");if(o>0){for(var r=c-1;r>=0;r--)this.set(f+r+o,this.get(f+r));var i=f+c+o-this._length;if(i>0)for(this._length+=i;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r=i&&c0&&(E>t||s[E].getTrimmedLength()===0);E--)y++;y>0&&(r.push(i+s.length-y),r.push(y)),i+=s.length-1}}}return r},x.reflowLargerCreateNewLayout=function(b,g){for(var f=[],c=0,o=g[c],r=0,i=0;ie&&(r-=e,i++);var s=b[i].getWidth(r-1)===2;s&&r--;var t=s?f-1:f;c.push(t),n+=t}return c},x.getWrappedLineTrimmedLength=A},function(O,x,C){"use strict";var A,b=this&&this.__extends||(A=function(o,r){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var e in n)n.hasOwnProperty(e)&&(i[e]=n[e])})(o,r)},function(c,o){function r(){this.constructor=c}A(c,o),c.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)});Object.defineProperty(x,"__esModule",{value:!0}),x.Marker=void 0;var g=C(0),f=function(c){function o(r){var i=c.call(this)||this;return i.line=r,i._id=o._nextId++,i.isDisposed=!1,i._onDispose=new g.EventEmitter,i}return b(o,c),Object.defineProperty(o.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),o.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},o._nextId=1,o}(C(2).Disposable);x.Marker=f},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.OptionsService=x.DEFAULT_OPTIONS=x.DEFAULT_BELL_SOUND=void 0;var A=C(0),b=C(11),g=C(33);x.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",x.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:x.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:b.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var f=["cols","rows"],c=function(){function o(r){this._onOptionChange=new A.EventEmitter,this.options=g.clone(x.DEFAULT_OPTIONS);for(var i=0,n=Object.keys(r);i=0;v--)(h=t[v])&&(m=(p<3?h(m):p>3?h(a,l,m):h(a,l))||m);return p>3&&m&&Object.defineProperty(a,l,m),m},f=this&&this.__param||function(t,a){return function(l,u){a(l,u,t)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CoreService=void 0;var c=C(1),o=C(0),r=C(33),i=C(2),n=Object.freeze({insertMode:!1}),e=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),s=function(t){function a(l,u,h,p){var m=t.call(this)||this;return m._bufferService=u,m._logService=h,m._optionsService=p,m.isCursorInitialized=!1,m.isCursorHidden=!1,m._onData=m.register(new o.EventEmitter),m._onUserInput=m.register(new o.EventEmitter),m._onBinary=m.register(new o.EventEmitter),m._scrollToBottom=l,m.register({dispose:function(){return m._scrollToBottom=void 0}}),m.modes=r.clone(n),m.decPrivateModes=r.clone(e),m}return b(a,t),Object.defineProperty(a.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),a.prototype.reset=function(){this.modes=r.clone(n),this.decPrivateModes=r.clone(e)},a.prototype.triggerDataEvent=function(l,u){if(u===void 0&&(u=!1),!this._optionsService.options.disableStdin){var h=this._bufferService.buffer;h.ybase!==h.ydisp&&this._scrollToBottom(),u&&this._onUserInput.fire(),this._logService.debug('sending data "'+l+'"',function(){return l.split("").map(function(p){return p.charCodeAt(0)})}),this._onData.fire(l)}},a.prototype.triggerBinaryEvent=function(l){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+l+'"',function(){return l.split("").map(function(u){return u.charCodeAt(0)})}),this._onBinary.fire(l))},a=g([f(1,c.IBufferService),f(2,c.ILogService),f(3,c.IOptionsService)],a)}(i.Disposable);x.CoreService=s},function(O,x,C){"use strict";var A=this&&this.__decorate||function(e,s,t,a){var l,u=arguments.length,h=u<3?s:a===null?a=Object.getOwnPropertyDescriptor(s,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(e,s,t,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(h=(u<3?l(h):u>3?l(s,t,h):l(s,t))||h);return u>3&&h&&Object.defineProperty(s,t,h),h},b=this&&this.__param||function(e,s){return function(t,a){s(t,a,e)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CoreMouseService=void 0;var g=C(1),f=C(0),c={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(s){return s.button!==4&&s.action===1&&(s.ctrl=!1,s.alt=!1,s.shift=!1,!0)}},VT200:{events:19,restrict:function(s){return s.action!==32}},DRAG:{events:23,restrict:function(s){return s.action!==32||s.button!==3}},ANY:{events:31,restrict:function(s){return!0}}};function o(e,s){var t=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return e.button===4?(t|=64,t|=e.action):(t|=3&e.button,4&e.button&&(t|=64),8&e.button&&(t|=128),e.action===32?t|=32:e.action!==0||s||(t|=3)),t}var r=String.fromCharCode,i={DEFAULT:function(s){var t=[o(s,!1)+32,s.col+32,s.row+32];return t[0]>255||t[1]>255||t[2]>255?"":""+r(t[0])+r(t[1])+r(t[2])},SGR:function(s){var t=s.action===0&&s.button!==4?"m":"M";return"[<"+o(s,!0)+";"+s.col+";"+s.row+t}},n=function(){function e(s,t){this._bufferService=s,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new f.EventEmitter,this._lastEvent=null;for(var a=0,l=Object.keys(c);a=this._bufferService.cols||s.row<0||s.row>=this._bufferService.rows)return!1;if(s.button===4&&s.action===32)return!1;if(s.button===3&&s.action!==32)return!1;if(s.button!==4&&(s.action===2||s.action===3))return!1;if(s.col++,s.row++,s.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,s))return!1;if(!this._protocols[this._activeProtocol].restrict(s))return!1;var t=this._encodings[this._activeEncoding](s);return t&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=s,!0},e.prototype.explainEvents=function(s){return{down:!!(1&s),up:!!(2&s),drag:!!(4&s),move:!!(8&s),wheel:!!(16&s)}},e.prototype._compareEvents=function(s,t){return s.col===t.col&&s.row===t.row&&s.button===t.button&&s.action===t.action&&s.ctrl===t.ctrl&&s.alt===t.alt&&s.shift===t.shift},e=A([b(0,g.IBufferService),b(1,g.ICoreService)],e)}();x.CoreMouseService=n},function(O,x,C){"use strict";var A=this&&this.__decorate||function(c,o,r,i){var n,e=arguments.length,s=e<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(c,o,r,i);else for(var t=c.length-1;t>=0;t--)(n=c[t])&&(s=(e<3?n(s):e>3?n(o,r,s):n(o,r))||s);return e>3&&s&&Object.defineProperty(o,r,s),s},b=this&&this.__param||function(c,o){return function(r,i){o(r,i,c)}};Object.defineProperty(x,"__esModule",{value:!0}),x.DirtyRowService=void 0;var g=C(1),f=function(){function c(o){this._bufferService=o,this.clearRange()}return Object.defineProperty(c.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),c.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},c.prototype.markDirty=function(o){othis._end&&(this._end=o)},c.prototype.markRangeDirty=function(o,r){if(o>r){var i=o;o=r,r=i}othis._end&&(this._end=r)},c.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},c=A([b(0,g.IBufferService)],c)}();x.DirtyRowService=f},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.UnicodeService=void 0;var A=C(0),b=C(79),g=function(){function f(){this._providers=Object.create(null),this._active="",this._onChange=new A.EventEmitter;var c=new b.UnicodeV6;this.register(c),this._active=c.version,this._activeProvider=c}return Object.defineProperty(f.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"activeVersion",{get:function(){return this._active},set:function(o){if(!this._providers[o])throw new Error('unknown Unicode version "'+o+'"');this._active=o,this._activeProvider=this._providers[o],this._onChange.fire(o)},enumerable:!1,configurable:!0}),f.prototype.register=function(c){this._providers[c.version]=c},f.prototype.wcwidth=function(c){return this._activeProvider.wcwidth(c)},f.prototype.getStringCellWidth=function(c){for(var o=0,r=c.length,i=0;i=r)return o+this.wcwidth(n);var e=c.charCodeAt(i);56320<=e&&e<=57343?n=1024*(n-55296)+e-56320+65536:o+=this.wcwidth(e)}o+=this.wcwidth(n)}return o},f}();x.UnicodeService=g},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.UnicodeV6=void 0;var A,b=C(15),g=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],f=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],c=function(){function o(){if(this.version="6",!A){A=new Uint8Array(65536),b.fill(A,1),A[0]=0,b.fill(A,0,1,32),b.fill(A,0,127,160),b.fill(A,2,4352,4448),A[9001]=2,A[9002]=2,b.fill(A,2,11904,42192),A[12351]=1,b.fill(A,2,44032,55204),b.fill(A,2,63744,64256),b.fill(A,2,65040,65050),b.fill(A,2,65072,65136),b.fill(A,2,65280,65377),b.fill(A,2,65504,65511);for(var r=0;rn[t][1])return!1;for(;t>=s;)if(i>n[e=s+t>>1][1])s=e+1;else{if(!(i=131072&&r<=196605||r>=196608&&r<=262141?2:1},o}();x.UnicodeV6=c},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CharsetService=void 0;var A=function(){function b(){this.glevel=0,this._charsets=[]}return b.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},b.prototype.setgLevel=function(g){this.glevel=g,this.charset=this._charsets[g]},b.prototype.setgCharset=function(g,f){this._charsets[g]=f,this.glevel===g&&(this.charset=f)},b}();x.CharsetService=A},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.updateWindowsModeWrappedState=void 0;var A=C(3);x.updateWindowsModeWrappedState=function(b){var g=b.buffer.lines.get(b.buffer.ybase+b.buffer.y-1),f=g==null?void 0:g.get(b.cols-1),c=b.buffer.lines.get(b.buffer.ybase+b.buffer.y);c&&f&&(c.isWrapped=f[A.CHAR_DATA_CODE_INDEX]!==A.NULL_CELL_CODE&&f[A.CHAR_DATA_CODE_INDEX]!==A.WHITESPACE_CELL_CODE)}},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.WriteBuffer=void 0;var A=function(){function b(g){this._action=g,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return b.prototype.writeSync=function(g){if(this._writeBuffer.length){for(var f=this._bufferOffset;f5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return c._innerWrite()})),this._pendingData+=g.length,this._writeBuffer.push(g),this._callbacks.push(f)},b.prototype._innerWrite=function(){for(var g=this,f=Date.now();this._writeBuffer.length>this._bufferOffset;){var c=this._writeBuffer[this._bufferOffset],o=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(c),this._pendingData-=c.length,o&&o(),Date.now()-f>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return g._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},b}();x.WriteBuffer=A},function(O,x,C){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.AddonManager=void 0;var A=function(){function b(){this._addons=[]}return b.prototype.dispose=function(){for(var g=this._addons.length-1;g>=0;g--)this._addons[g].instance.dispose()},b.prototype.loadAddon=function(g,f){var c=this,o={instance:f,dispose:f.dispose,isDisposed:!1};this._addons.push(o),f.dispose=function(){return c._wrappedAddonDispose(o)},f.activate(g)},b.prototype._wrappedAddonDispose=function(g){if(!g.isDisposed){for(var f=-1,c=0;ci;)e+=s*360;return[n,e]},coordToPoint:function(b){var g=b[0],f=b[1]/180*Math.PI,c=Math.cos(f)*g+this.cx,o=-Math.sin(f)*g+this.cy;return[c,o]},getArea:function(){var b=this.getAngleAxis(),g=this.getRadiusAxis(),f=g.getExtent().slice();f[0]>f[1]&&f.reverse();var c=b.getExtent(),o=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:f[0],r:f[1],startAngle:-c[0]*o,endAngle:-c[1]*o,clockwise:b.inverse,contain:function(r,i){var n=r-this.cx,e=i-this.cy,s=n*n+e*e,t=this.r,a=this.r0;return s<=t*t&&s>=a*a}}}};var A=C;H.exports=A},"/WM3":function(H,P,d){var O=d("QuXc"),x=d("bYtY"),C=x.isFunction,A={createOnAllSeries:!0,performRawSeries:!0,reset:function(b,g){var f=b.getData(),c=(b.visualColorAccessPath||"itemStyle.color").split("."),o=b.get(c),r=C(o)&&!(o instanceof O)?o:null;(!o||r)&&(o=b.getColorFromPalette(b.name,null,g.getSeriesCount())),f.setVisual("color",o);var i=(b.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),n=b.get(i);if(f.setVisual("borderColor",n),!g.isSeriesFiltered(b)){r&&f.each(function(s){f.setItemVisual(s,"color",r(b.getDataParams(s)))});var e=function(s,t){var a=s.getItemModel(t),l=a.get(c,!0),u=a.get(i,!0);l!=null&&s.setItemVisual(t,"color",l),u!=null&&s.setItemVisual(t,"borderColor",u)};return{dataEach:f.hasItemOption?e:null}}}};H.exports=A},"/d5a":function(H,P){var d={average:function(C){for(var A=0,b=0,g=0;gA&&(A=C[b]);return isFinite(A)?A:NaN},min:function(C){for(var A=Infinity,b=0;b1){var t;typeof c=="string"?t=d[c]:typeof c=="function"&&(t=c),t&&A.setData(f.downSample(f.mapDimension(i.dim),1/s,t,O))}}}}}H.exports=x},"/ezw":function(H,P,d){"use strict";var O=d("lSNA"),x=d.n(O),C=d("pVnL"),A=d.n(C),b=d("cDf5"),g=d.n(b),f=d("q1tI"),c=d("TSYQ"),o=d.n(c),r=function(F){var j=F.prefixCls,W=F.className,V=F.width,z=F.style;return f.createElement("h3",{className:o()(j,W),style:A()({width:V},z)})},i=r,n=d("RIqP"),e=d.n(n),s=function(F){var j=function(ae){var Ae=F.width,Ie=F.rows,De=Ie===void 0?2:Ie;return Array.isArray(Ae)?Ae[ae]:De-1===ae?Ae:void 0},W=F.prefixCls,V=F.className,z=F.style,J=F.rows,$=e()(Array(J)).map(function(ce,ae){return f.createElement("li",{key:ae,style:{width:j(ae)}})});return f.createElement("ul",{className:o()(W,V),style:z},$)},t=s,a=d("H84U"),l=function(F){var j,W,V=F.prefixCls,z=F.className,J=F.style,$=F.size,ce=F.shape,ae=o()((j={},x()(j,"".concat(V,"-lg"),$==="large"),x()(j,"".concat(V,"-sm"),$==="small"),j)),Ae=o()((W={},x()(W,"".concat(V,"-circle"),ce==="circle"),x()(W,"".concat(V,"-square"),ce==="square"),x()(W,"".concat(V,"-round"),ce==="round"),W)),Ie=typeof $=="number"?{width:$,height:$,lineHeight:"".concat($,"px")}:{};return f.createElement("span",{className:o()(V,z,ae,Ae),style:A()(A()({},Ie),J)})},u=l,h=d("BGR+"),p=function(F){var j=function(V){var z=V.getPrefixCls,J=F.prefixCls,$=F.className,ce=F.active,ae=z("skeleton",J),Ae=Object(h.default)(F,["prefixCls"]),Ie=o()(ae,$,"".concat(ae,"-element"),x()({},"".concat(ae,"-active"),ce));return f.createElement("div",{className:Ie},f.createElement(u,A()({prefixCls:"".concat(ae,"-avatar")},Ae)))};return f.createElement(a.a,null,j)};p.defaultProps={size:"default",shape:"circle"};var m=p,v=function(F){var j=function(V){var z=V.getPrefixCls,J=F.prefixCls,$=F.className,ce=F.active,ae=z("skeleton",J),Ae=Object(h.default)(F,["prefixCls"]),Ie=o()(ae,$,"".concat(ae,"-element"),x()({},"".concat(ae,"-active"),ce));return f.createElement("div",{className:Ie},f.createElement(u,A()({prefixCls:"".concat(ae,"-button")},Ae)))};return f.createElement(a.a,null,j)};v.defaultProps={size:"default"};var y=v,E=function(F){var j=function(V){var z=V.getPrefixCls,J=F.prefixCls,$=F.className,ce=F.active,ae=z("skeleton",J),Ae=Object(h.default)(F,["prefixCls"]),Ie=o()(ae,$,"".concat(ae,"-element"),x()({},"".concat(ae,"-active"),ce));return f.createElement("div",{className:Ie},f.createElement(u,A()({prefixCls:"".concat(ae,"-input")},Ae)))};return f.createElement(a.a,null,j)};E.defaultProps={size:"default"};var T=E,w="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",S=function(F){var j=function(V){var z=V.getPrefixCls,J=F.prefixCls,$=F.className,ce=F.style,ae=z("skeleton",J),Ae=o()(ae,$,"".concat(ae,"-element"));return f.createElement("div",{className:Ae},f.createElement("div",{className:o()("".concat(ae,"-image"),$),style:ce},f.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(ae,"-image-svg")},f.createElement("path",{d:w,className:"".concat(ae,"-image-path")}))))};return f.createElement(a.a,null,j)},_=S;function I(U){return U&&g()(U)==="object"?U:{}}function L(U,F){return U&&!F?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function N(U,F){return!U&&F?{width:"38%"}:U&&F?{width:"50%"}:{}}function D(U,F){var j={};return(!U||!F)&&(j.width="61%"),!U&&F?j.rows=3:j.rows=2,j}var R=function(F){var j=function(V){var z=V.getPrefixCls,J=V.direction,$=F.prefixCls,ce=F.loading,ae=F.className,Ae=F.children,Ie=F.avatar,De=F.title,Ke=F.paragraph,me=F.active,Ue=F.round,oe=z("skeleton",$);if(ce||!("loading"in F)){var te,Qe=!!Ie,se=!!De,Y=!!Ke,X;if(Qe){var Q=A()(A()({prefixCls:"".concat(oe,"-avatar")},L(se,Y)),I(Ie));X=f.createElement("div",{className:"".concat(oe,"-header")},f.createElement(u,Q))}var ge;if(se||Y){var de;if(se){var Te=A()(A()({prefixCls:"".concat(oe,"-title")},N(Qe,Y)),I(De));de=f.createElement(i,Te)}var xe;if(Y){var le=A()(A()({prefixCls:"".concat(oe,"-paragraph")},D(Qe,se)),I(Ke));xe=f.createElement(t,le)}ge=f.createElement("div",{className:"".concat(oe,"-content")},de,xe)}var fe=o()(oe,ae,(te={},x()(te,"".concat(oe,"-with-avatar"),Qe),x()(te,"".concat(oe,"-active"),me),x()(te,"".concat(oe,"-rtl"),J==="rtl"),x()(te,"".concat(oe,"-round"),Ue),te));return f.createElement("div",{className:fe},X,ge)}return Ae};return f.createElement(a.a,null,j)};R.defaultProps={avatar:!1,title:!0,paragraph:!0},R.Button=y,R.Avatar=m,R.Input=T,R.Image=_;var B=R,M=P.a=B},"/iHx":function(H,P,d){var O=d("6GrX"),x=d("IwbS"),C=["textStyle","color"],A={getTextColor:function(b){var g=this.ecModel;return this.getShallow("color")||(!b&&g?g.get(C):null)},getFont:function(){return x.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(b){return O.getBoundingRect(b,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};H.exports=A},"/ry/":function(H,P,d){var O=d("bYtY"),x=d("T4UG"),C=d("5GhG"),A=C.seriesModelMixin,b=x.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}});O.mixin(b,A,!0);var g=b;H.exports=g},"/stD":function(H,P,d){var O=d("bYtY"),x=d("IUWy"),C=d("Kagy"),A=C.toolbox.brush;function b(c,o,r){this.model=c,this.ecModel=o,this.api=r,this._brushType,this._brushMode}b.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:O.clone(A.title)};var g=b.prototype;g.render=g.updateView=function(c,o,r){var i,n,e;o.eachComponent({mainType:"brush"},function(s){i=s.brushType,n=s.brushOption.brushMode||"single",e|=s.areas.length}),this._brushType=i,this._brushMode=n,O.each(c.get("type",!0),function(s){c.setIconStatus(s,(s==="keep"?n==="multiple":s==="clear"?e:s===i)?"emphasis":"normal")})},g.getIcons=function(){var c=this.model,o=c.get("icon",!0),r={};return O.each(c.get("type",!0),function(i){o[i]&&(r[i]=o[i])}),r},g.onclick=function(c,o,r){var i=this._brushType,n=this._brushMode;r==="clear"?(o.dispatchAction({type:"axisAreaSelect",intervals:[]}),o.dispatchAction({type:"brush",command:"clear",areas:[]})):o.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:r==="keep"?i:i===r?!1:r,brushMode:r==="keep"?n==="multiple"?"single":"multiple":n}})},x.register("brush",b);var f=b;H.exports=f},"/wGt":function(H,P,d){"use strict";var O=d("lSNA"),x=d.n(O),C=d("pVnL"),A=d.n(C),b=d("lwsE"),g=d.n(b),f=d("W8MJ"),c=d.n(f),o=d("PJYZ"),r=d.n(o),i=d("7W2i"),n=d.n(i),e=d("LQ03"),s=d.n(e),t=d("q1tI"),a=d("Ff2n"),l=d("1OyB"),u=d("vuIU"),h=d("Ji7U"),p=d("md7G"),m=d("foSv"),v=d("1W/9"),y=d("rePB"),E=d("JX7q"),T=d("TSYQ"),w=d.n(T),S=d("qx4F"),_=d("4IlW");function I(de){return Array.isArray(de)?de:[de]}var L={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},N=Object.keys(L).filter(function(de){if(typeof document=="undefined")return!1;var Te=document.getElementsByTagName("html")[0];return de in(Te?Te.style:{})})[0],D=L[N];function R(de,Te,xe,le){de.addEventListener?de.addEventListener(Te,xe,le):de.attachEvent&&de.attachEvent("on".concat(Te),xe)}function B(de,Te,xe,le){de.removeEventListener?de.removeEventListener(Te,xe,le):de.attachEvent&&de.detachEvent("on".concat(Te),xe)}function M(de,Te){var xe=typeof de=="function"?de(Te):de;return Array.isArray(xe)?xe.length===2?xe:[xe[0],xe[1]]:[xe]}var U=function(Te){return!isNaN(parseFloat(Te))&&isFinite(Te)},F=!(typeof window!="undefined"&&window.document&&window.document.createElement),j=function de(Te,xe,le,fe){if(!xe||xe===document||xe instanceof Document)return!1;if(xe===Te.parentNode)return!0;var Ee=Math.max(Math.abs(le),Math.abs(fe))===Math.abs(fe),Ge=Math.max(Math.abs(le),Math.abs(fe))===Math.abs(le),lt=xe.scrollHeight-xe.clientHeight,Je=xe.scrollWidth-xe.clientWidth,Ce=document.defaultView.getComputedStyle(xe),et=Ce.overflowY==="auto"||Ce.overflowY==="scroll",ze=Ce.overflowX==="auto"||Ce.overflowX==="scroll",at=lt&&et,Ct=Je&&ze;return Ee&&(!at||at&&(xe.scrollTop>=lt&&fe<0||xe.scrollTop<=0&&fe>0))||Ge&&(!Ct||Ct&&(xe.scrollLeft>=Je&&le<0||xe.scrollLeft<=0&&le>0))?de(Te,xe.parentNode,le,fe):!1};function W(de){var Te=V();return function(){var le=Object(m.a)(de),fe;if(Te){var Ee=Object(m.a)(this).constructor;fe=Reflect.construct(le,arguments,Ee)}else fe=le.apply(this,arguments);return Object(p.a)(this,fe)}}function V(){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(de){return!1}}var z={},J=function(de){Object(h.a)(xe,de);var Te=W(xe);function xe(le){var fe;return Object(l.a)(this,xe),fe=Te.call(this,le),fe.domFocus=function(){fe.dom&&fe.dom.focus()},fe.removeStartHandler=function(Ee){if(Ee.touches.length>1)return;fe.startPos={x:Ee.touches[0].clientX,y:Ee.touches[0].clientY}},fe.removeMoveHandler=function(Ee){if(Ee.changedTouches.length>1)return;var Ge=Ee.currentTarget,lt=Ee.changedTouches[0].clientX-fe.startPos.x,Je=Ee.changedTouches[0].clientY-fe.startPos.y;(Ge===fe.maskDom||Ge===fe.handlerDom||Ge===fe.contentDom&&j(Ge,Ee.target,lt,Je))&&Ee.cancelable&&Ee.preventDefault()},fe.transitionEnd=function(Ee){var Ge=Ee.target;B(Ge,D,fe.transitionEnd),Ge.style.transition=""},fe.onKeyDown=function(Ee){if(Ee.keyCode===_.a.ESC){var Ge=fe.props.onClose;Ee.stopPropagation(),Ge&&Ge(Ee)}},fe.onWrapperTransitionEnd=function(Ee){var Ge=fe.props,lt=Ge.open,Je=Ge.afterVisibleChange;Ee.target===fe.contentWrapper&&Ee.propertyName.match(/transform$/)&&(fe.dom.style.transition="",!lt&&fe.getCurrentDrawerSome()&&(document.body.style.overflowX="",fe.maskDom&&(fe.maskDom.style.left="",fe.maskDom.style.width="")),Je&&Je(!!lt))},fe.openLevelTransition=function(){var Ee=fe.props,Ge=Ee.open,lt=Ee.width,Je=Ee.height,Ce=fe.getHorizontalBoolAndPlacementName(),et=Ce.isHorizontal,ze=Ce.placementName,at=fe.contentDom?fe.contentDom.getBoundingClientRect()[et?"width":"height"]:0,Ct=(et?lt:Je)||at;fe.setLevelAndScrolling(Ge,ze,Ct)},fe.setLevelTransform=function(Ee,Ge,lt,Je){var Ce=fe.props,et=Ce.placement,ze=Ce.levelMove,at=Ce.duration,Ct=Ce.ease,Tt=Ce.showMask;fe.levelDom.forEach(function(Ot){Ot.style.transition="transform ".concat(at," ").concat(Ct),R(Ot,D,fe.transitionEnd);var Nt=Ee?lt:0;if(ze){var Be=M(ze,{target:Ot,open:Ee});Nt=Ee?Be[0]:Be[1]||0}var ne=typeof Nt=="number"?"".concat(Nt,"px"):Nt,G=et==="left"||et==="top"?ne:"-".concat(ne);G=Tt&&et==="right"&&Je?"calc(".concat(G," + ").concat(Je,"px)"):G,Ot.style.transform=Nt?"".concat(Ge,"(").concat(G,")"):""})},fe.setLevelAndScrolling=function(Ee,Ge,lt){var Je=fe.props.onChange;if(!F){var Ce=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(S.a)(!0):0;fe.setLevelTransform(Ee,Ge,lt,Ce),fe.toggleScrollingToDrawerAndBody(Ce)}Je&&Je(Ee)},fe.toggleScrollingToDrawerAndBody=function(Ee){var Ge=fe.props,lt=Ge.getOpenCount,Je=Ge.getContainer,Ce=Ge.showMask,et=Ge.open,ze=Je&&Je(),at=lt&<();if(ze&&ze.parentNode===document.body&&Ce){var Ct=["touchstart"],Tt=[document.body,fe.maskDom,fe.handlerDom,fe.contentDom];et&&document.body.style.overflow!=="hidden"?(Ee&&fe.addScrollingEffect(Ee),at===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Tt.forEach(function(Ot,Nt){if(!Ot)return;R(Ot,Ct[Nt]||"touchmove",Nt?fe.removeMoveHandler:fe.removeStartHandler,fe.passive)})):fe.getCurrentDrawerSome()&&(at||(document.body.style.overflow=""),document.body.style.touchAction="",Ee&&fe.remScrollingEffect(Ee),Tt.forEach(function(Ot,Nt){if(!Ot)return;B(Ot,Ct[Nt]||"touchmove",Nt?fe.removeMoveHandler:fe.removeStartHandler,fe.passive)}))}},fe.addScrollingEffect=function(Ee){var Ge=fe.props,lt=Ge.placement,Je=Ge.duration,Ce=Ge.ease,et=Ge.getOpenCount,ze=Ge.switchScrollingEffect,at=et&&et();at===1&&ze();var Ct="width ".concat(Je," ").concat(Ce),Tt="transform ".concat(Je," ").concat(Ce);fe.dom.style.transition="none";switch(lt){case"right":fe.dom.style.transform="translateX(-".concat(Ee,"px)");break;case"top":case"bottom":fe.dom.style.width="calc(100% - ".concat(Ee,"px)"),fe.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(fe.timeout),fe.timeout=setTimeout(function(){fe.dom&&(fe.dom.style.transition="".concat(Tt,",").concat(Ct),fe.dom.style.width="",fe.dom.style.transform="")})},fe.remScrollingEffect=function(Ee){var Ge=fe.props,lt=Ge.placement,Je=Ge.duration,Ce=Ge.ease,et=Ge.getOpenCount,ze=Ge.switchScrollingEffect,at=et&&et();at||ze(!0),N&&(document.body.style.overflowX="hidden"),fe.dom.style.transition="none";var Ct,Tt="width ".concat(Je," ").concat(Ce),Ot="transform ".concat(Je," ").concat(Ce);switch(lt){case"left":{fe.dom.style.width="100%",Tt="width 0s ".concat(Ce," ").concat(Je);break}case"right":{fe.dom.style.transform="translateX(".concat(Ee,"px)"),fe.dom.style.width="100%",Tt="width 0s ".concat(Ce," ").concat(Je),fe.maskDom&&(fe.maskDom.style.left="-".concat(Ee,"px"),fe.maskDom.style.width="calc(100% + ".concat(Ee,"px)"));break}case"top":case"bottom":{fe.dom.style.width="calc(100% + ".concat(Ee,"px)"),fe.dom.style.height="100%",fe.dom.style.transform="translateZ(0)",Ct="height 0s ".concat(Ce," ").concat(Je);break}default:break}clearTimeout(fe.timeout),fe.timeout=setTimeout(function(){fe.dom&&(fe.dom.style.transition="".concat(Ot,",").concat(Ct?"".concat(Ct,","):"").concat(Tt),fe.dom.style.transform="",fe.dom.style.width="",fe.dom.style.height="")})},fe.getCurrentDrawerSome=function(){return!Object.keys(z).some(function(Ee){return z[Ee]})},fe.getLevelDom=function(Ee){var Ge=Ee.level,lt=Ee.getContainer;if(F)return;var Je=lt&<(),Ce=Je?Je.parentNode:null;if(fe.levelDom=[],Ge==="all"){var et=Ce?Array.prototype.slice.call(Ce.children):[];et.forEach(function(ze){ze.nodeName!=="SCRIPT"&&ze.nodeName!=="STYLE"&&ze.nodeName!=="LINK"&&ze!==Je&&fe.levelDom.push(ze)})}else Ge&&I(Ge).forEach(function(ze){document.querySelectorAll(ze).forEach(function(at){fe.levelDom.push(at)})})},fe.getHorizontalBoolAndPlacementName=function(){var Ee=fe.props.placement,Ge=Ee==="left"||Ee==="right",lt="translate".concat(Ge?"X":"Y");return{isHorizontal:Ge,placementName:lt}},fe.state={_self:Object(E.a)(fe)},fe}return Object(u.a)(xe,[{key:"componentDidMount",value:function(){var fe=this;if(!F){var Ee=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Ee=!0,null}}))}catch(et){}this.passive=Ee?{passive:!1}:!1}var Ge=this.props,lt=Ge.open,Je=Ge.getContainer,Ce=Je&&Je();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),lt&&(Ce&&Ce.parentNode===document.body&&(z[this.drawerId]=lt),this.openLevelTransition(),this.forceUpdate(function(){fe.domFocus()}))}},{key:"componentDidUpdate",value:function(fe){var Ee=this.props,Ge=Ee.open,lt=Ee.getContainer,Je=lt&<();Ge!==fe.open&&(Ge&&this.domFocus(),Je&&Je.parentNode===document.body&&(z[this.drawerId]=!!Ge),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var fe=this.props,Ee=fe.getOpenCount,Ge=fe.open,lt=fe.switchScrollingEffect,Je=typeof Ee=="function"&&Ee();delete z[this.drawerId],Ge&&(this.setLevelTransform(!1),document.body.style.touchAction=""),Je||(document.body.style.overflow="",lt(!0))}},{key:"render",value:function(){var fe,Ee=this,Ge=this.props,lt=Ge.className,Je=Ge.children,Ce=Ge.style,et=Ge.width,ze=Ge.height,at=Ge.defaultOpen,Ct=Ge.open,Tt=Ge.prefixCls,Ot=Ge.placement,Nt=Ge.level,Be=Ge.levelMove,ne=Ge.ease,G=Ge.duration,Pe=Ge.getContainer,Ne=Ge.handler,q=Ge.onChange,ht=Ge.afterVisibleChange,Pt=Ge.showMask,ct=Ge.maskClosable,Gt=Ge.maskStyle,or=Ge.onClose,Zr=Ge.onHandleClick,ir=Ge.keyboard,dr=Ge.getOpenCount,er=Ge.switchScrollingEffect,Kt=Object(a.a)(Ge,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),dt=this.dom?Ct:!1,Hr=w()(Tt,(fe={},Object(y.a)(fe,"".concat(Tt,"-").concat(Ot),!0),Object(y.a)(fe,"".concat(Tt,"-open"),dt),Object(y.a)(fe,lt||"",!!lt),Object(y.a)(fe,"no-mask",!Pt),fe)),fn=this.getHorizontalBoolAndPlacementName(),Nn=fn.placementName,Vn=Ot==="left"||Ot==="top"?"-100%":"100%",gi=dt?"":"".concat(Nn,"(").concat(Vn,")"),bn=Ne&&t.cloneElement(Ne,{onClick:function(jt){Ne.props.onClick&&Ne.props.onClick(),Zr&&Zr(jt)},ref:function(jt){Ee.handlerDom=jt}});return t.createElement("div",Object.assign({},Kt,{tabIndex:-1,className:Hr,style:Ce,ref:function(jt){Ee.dom=jt},onKeyDown:dt&&ir?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),Pt&&t.createElement("div",{className:"".concat(Tt,"-mask"),onClick:ct?or:void 0,style:Gt,ref:function(jt){Ee.maskDom=jt}}),t.createElement("div",{className:"".concat(Tt,"-content-wrapper"),style:{transform:gi,msTransform:gi,width:U(et)?"".concat(et,"px"):et,height:U(ze)?"".concat(ze,"px"):ze},ref:function(jt){Ee.contentWrapper=jt}},t.createElement("div",{className:"".concat(Tt,"-content"),ref:function(jt){Ee.contentDom=jt},onTouchStart:dt&&Pt?this.removeStartHandler:void 0,onTouchMove:dt&&Pt?this.removeMoveHandler:void 0},Je),bn))}}],[{key:"getDerivedStateFromProps",value:function(fe,Ee){var Ge=Ee.prevProps,lt=Ee._self,Je={prevProps:fe};if(Ge!==void 0){var Ce=fe.placement,et=fe.level;Ce!==Ge.placement&&(lt.contentDom=null),et!==Ge.level&<.getLevelDom(fe)}return Je}}]),xe}(t.Component);J.defaultProps={switchScrollingEffect:function(){}};var $=J;function ce(de){var Te=ae();return function(){var le=Object(m.a)(de),fe;if(Te){var Ee=Object(m.a)(this).constructor;fe=Reflect.construct(le,arguments,Ee)}else fe=le.apply(this,arguments);return Object(p.a)(this,fe)}}function ae(){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(de){return!1}}var Ae=function(de){Object(h.a)(xe,de);var Te=ce(xe);function xe(le){var fe;Object(l.a)(this,xe),fe=Te.call(this,le),fe.onHandleClick=function(Ge){var lt=fe.props,Je=lt.onHandleClick,Ce=lt.open;if(Je&&Je(Ge),typeof Ce=="undefined"){var et=fe.state.open;fe.setState({open:!et})}},fe.onClose=function(Ge){var lt=fe.props,Je=lt.onClose,Ce=lt.open;Je&&Je(Ge),typeof Ce=="undefined"&&fe.setState({open:!1})};var Ee=typeof le.open!="undefined"?le.open:!!le.defaultOpen;return fe.state={open:Ee},"onMaskClick"in le&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),fe}return Object(u.a)(xe,[{key:"render",value:function(){var fe=this,Ee=this.props,Ge=Ee.defaultOpen,lt=Ee.getContainer,Je=Ee.wrapperClassName,Ce=Ee.forceRender,et=Ee.handler,ze=Object(a.a)(Ee,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),at=this.state.open;if(!lt)return t.createElement("div",{className:Je,ref:function(Ot){fe.dom=Ot}},t.createElement($,Object.assign({},ze,{open:at,handler:et,getContainer:function(){return fe.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Ct=!!et||Ce;return t.createElement(v.a,{visible:at,forceRender:Ct,getContainer:lt,wrapperClassName:Je},function(Tt){var Ot=Tt.visible,Nt=Tt.afterClose,Be=Object(a.a)(Tt,["visible","afterClose"]);return t.createElement($,Object.assign({},ze,Be,{open:Ot!==void 0?Ot:at,afterVisibleChange:Nt!==void 0?Nt:ze.afterVisibleChange,handler:et,onClose:fe.onClose,onHandleClick:fe.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(fe,Ee){var Ge=Ee.prevProps,lt={prevProps:fe};return typeof Ge!="undefined"&&fe.open!==Ge.open&&(lt.open=fe.open),lt}}]),xe}(t.Component);Ae.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:t.createElement("div",{className:"drawer-handle"},t.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var Ie=Ae,De=Ie,Ke=d("V/uB"),me=d.n(Ke),Ue=d("BGR+"),oe=d("H84U"),te=d("CWQg"),Qe=function(de,Te){var xe={};for(var le in de)Object.prototype.hasOwnProperty.call(de,le)&&Te.indexOf(le)<0&&(xe[le]=de[le]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,le=Object.getOwnPropertySymbols(de);fe=0&&x.each(m,function(v){t.setIconStatus(v,"normal")})}),t.setIconStatus(s,"emphasis"),n.eachComponent({mainType:"series",query:a==null?null:{seriesIndex:a}},u);var h;if(s==="stack"){var p=l.series&&l.series[0]&&l.series[0].stack===g;h=p?x.merge({stack:b.title.tiled},b.title):x.clone(b.title)}e.dispatchAction({type:"changeMagicType",currentType:s,newOption:l,newTitle:h,featureName:"magicType"})},O.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(n,e){e.mergeOption(n.newOption)}),A.register("magicType",f);var i=f;H.exports=i},"06Qe":function(H,P,d){var O=d("ItGF"),x="urn:schemas-microsoft-com:vml",C=typeof window=="undefined"?null:window,A=!1,b=C&&C.document;function g(o){return f(o)}var f;if(b&&!O.canvasSupported)try{!b.namespaces.zrvml&&b.namespaces.add("zrvml",x),f=function(r){return b.createElement("')}}catch(o){f=function(i){return b.createElement("<"+i+' xmlns="'+x+'" class="zrvml">')}}function c(){if(A||!b)return;A=!0;var o=b.styleSheets;o.length<31?b.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):o[0].addRule(".zrvml","behavior:url(#default#VML)")}P.doc=b,P.createNode=g,P.initVML=c},"09Wf":function(H,P,d){"use strict";d.d(P,"b",function(){return x}),d.d(P,"a",function(){return C});var O=d("CWQg"),x=Object(O.a)("success","processing","error","default","warning"),C=Object(O.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(H,P,d){var O=d("T4UG"),x=d("I3/A"),C=d("7aKB"),A=C.encodeHTML,b=d("Qxkt"),g=d("Tghj"),f=g.__DEV__,c=O.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(r,i){for(var n=r.edges||r.links,e=r.data||r.nodes,s=r.levels,t=this.levelModels={},a=0;a=0&&(t[s[a].depth]=new b(s[a],this,i));if(e&&n){var l=x(e,n,this,!0,u);return l.data}function u(h,p){h.wrapMethod("getItemModel",function(m,v){return m.customizeGetParent(function(y){var E=this.parentModel,T=E.getData().getItemLayout(v).depth,w=E.levelModels[T];return w||this.parentModel}),m}),p.wrapMethod("getItemModel",function(m,v){return m.customizeGetParent(function(y){var E=this.parentModel,T=E.getGraph().getEdgeByIndex(v),w=T.node1.getLayout().depth,S=E.levelModels[w];return S||this.parentModel}),m})}},setNodePosition:function(r,i){var n=this.option.data[r];n.localX=i[0],n.localY=i[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(r,i,n){if(n==="edge"){var e=this.getDataParams(r,n),s=e.data,t=s.source+" -- "+s.target;return e.value&&(t+=" : "+e.value),A(t)}else if(n==="node"){var a=this.getGraph().getNodeByIndex(r),l=a.getLayout().value,u=this.getDataParams(r,n).data.name;if(l)var t=u+" : "+l;return A(t)}return c.superCall(this,"formatTooltip",r,i)},optionUpdated:function(){var r=this.option;r.focusNodeAdjacency===!0&&(r.focusNodeAdjacency="allEdges")},getDataParams:function(r,i){var n=c.superCall(this,"getDataParams",r,i);if(n.value==null&&i==="node"){var e=this.getGraph().getNodeByIndex(r),s=e.getLayout().value;n.value=s}return n},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}}),o=c;H.exports=o},"0HBW":function(H,P,d){var O=d("ProS"),x=d("bYtY");d("Hxpc"),d("7uqq"),d("dmGj"),d("SehX");function C(A,b){b.update="updateView",O.registerAction(b,function(g,f){var c={};return f.eachComponent({mainType:"geo",query:g},function(o){o[A](g.name);var r=o.coordinateSystem;x.each(r.regions,function(i){c[i.name]=o.isSelected(i.name)||!1})}),{selected:c,name:g.name}})}C("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),C("select",{type:"geoSelect",event:"geoselected"}),C("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(H,P,d){var O=d("bYtY"),x=d("+TT/"),C=d("OELB"),A=d("IDmD"),b=864e5;function g(o,r,i){this._model=o}g.prototype={constructor:g,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(o){o=C.parseDate(o);var r=o.getFullYear(),i=o.getMonth()+1;i=i<10?"0"+i:i;var n=o.getDate();n=n<10?"0"+n:n;var e=o.getDay();return e=Math.abs((e+7-this.getFirstDayOfWeek())%7),{y:r,m:i,d:n,day:e,time:o.getTime(),formatedDate:r+"-"+i+"-"+n,date:o}},getNextNDay:function(o,r){return r=r||0,r===0?this.getDateInfo(o):(o=new Date(this.getDateInfo(o).time),o.setDate(o.getDate()+r),this.getDateInfo(o))},update:function(o,r){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,n=["width","height"],e=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[i,7]:[7,i];O.each([0,1],function(h){u(e,h)&&(s[n[h]]=e[h]*t[h])});var a={width:r.getWidth(),height:r.getHeight()},l=this._rect=x.getLayoutRect(s,a);O.each([0,1],function(h){u(e,h)||(e[h]=l[n[h]]/t[h])});function u(h,p){return h[p]!=null&&h[p]!=="auto"}this._sw=e[0],this._sh=e[1]},dataToPoint:function(o,r){O.isArray(o)&&(o=o[0]),r==null&&(r=!0);var i=this.getDateInfo(o),n=this._rangeInfo,e=i.formatedDate;if(r&&!(i.time>=n.start.time&&i.times.end.time&&o.reverse(),o},_getRangeInfo:function(o){o=[this.getDateInfo(o[0]),this.getDateInfo(o[1])];var r;o[0].time>o[1].time&&(r=!0,o.reverse());var i=Math.floor(o[1].time/b)-Math.floor(o[0].time/b)+1,n=new Date(o[0].time),e=n.getDate(),s=o[1].date.getDate();n.setDate(e+i-1);var t=n.getDate();if(t!==s)for(var a=n.getTime()-o[1].time>0?1:-1;(t=n.getDate())!==s&&(n.getTime()-o[1].time)*a>0;)i-=a,n.setDate(t-a);var l=Math.floor((i+o[0].day+6)/7),u=r?-l+1:l-1;return r&&o.reverse(),{range:[o[0].formatedDate,o[1].formatedDate],start:o[0],end:o[1],allDay:i,weeks:l,nthWeek:u,fweek:o[0].day,lweek:o[1].day}},_getDateByWeeksAndDay:function(o,r,i){var n=this._getRangeInfo(i);if(o>n.weeks||o===0&&rn.lweek)return!1;var e=(o-1)*7-n.fweek+r,s=new Date(n.start.time);return s.setDate(n.start.d+e),this.getDateInfo(s)}},g.dimensions=g.prototype.dimensions,g.getDimensionsInfo=g.prototype.getDimensionsInfo,g.create=function(o,r){var i=[];return o.eachComponent("calendar",function(n){var e=new g(n,o,r);i.push(e),n.coordinateSystem=e}),o.eachSeries(function(n){n.get("coordinateSystem")==="calendar"&&(n.coordinateSystem=i[n.get("calendarIndex")||0])}),i};function f(o,r,i,n){var e=i.calendarModel,s=i.seriesModel,t=e?e.coordinateSystem:s?s.coordinateSystem:null;return t===this?t[o](n):null}A.register("calendar",g);var c=g;H.exports=c},"0JQy":function(H,P){var d="\\ud800-\\udfff",O="\\u0300-\\u036f",x="\\ufe20-\\ufe2f",C="\\u20d0-\\u20ff",A=O+x+C,b="\\ufe0e\\ufe0f",g="["+d+"]",f="["+A+"]",c="\\ud83c[\\udffb-\\udfff]",o="(?:"+f+"|"+c+")",r="[^"+d+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",n="[\\ud800-\\udbff][\\udc00-\\udfff]",e="\\u200d",s=o+"?",t="["+b+"]?",a="(?:"+e+"(?:"+[r,i,n].join("|")+")"+t+s+")*",l=t+s+a,u="(?:"+[r+f+"?",f,i,n,g].join("|")+")",h=RegExp(c+"(?="+c+")|"+u+l,"g");function p(m){return m.match(h)||[]}H.exports=p},"0NbB":function(H,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),g=function(o,r){return x.createElement(b.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:A}))};g.displayName="CaretDownOutlined";var f=P.a=x.forwardRef(g)},"0V0F":function(H,P,d){var O=d("bYtY"),x=O.createHashMap,C=O.each;function A(g){var f=x();g.eachSeries(function(c){var o=c.get("stack");if(o){var r=f.get(o)||f.set(o,[]),i=c.getData(),n={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:c};if(!n.stackedDimension||!(n.isStackedByIndex||n.stackedByDimension))return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(n)}}),f.each(b)}function b(g){C(g,function(f,c){var o=[],r=[NaN,NaN],i=[f.stackResultDimension,f.stackedOverDimension],n=f.data,e=f.isStackedByIndex,s=n.map(i,function(t,a,l){var u=n.get(f.stackedDimension,l);if(isNaN(u))return r;var h,p;e?p=n.getRawIndex(l):h=n.get(f.stackedByDimension,l);for(var m=NaN,v=c-1;v>=0;v--){var y=g[v];if(e||(p=y.data.rawIndexOf(y.stackedByDimension,h)),p>=0){var E=y.data.getByRawIndex(y.stackResultDimension,p);if(u>=0&&E>0||u<=0&&E<0){u+=E,m=E;break}}}return o[0]=u,o[1]=m,o});n.hostModel.setData(s),f.data=s})}H.exports=A},"0XgM":function(H,P,d){},"0fbx":function(H,P,d){},"0o9m":function(H,P,d){var O=d("ProS");d("hNWo"),d("RlCK"),d("XpcN");var x=d("kDyi"),C=d("bLfw");O.registerProcessor(O.PRIORITY.PROCESSOR.SERIES_FILTER,x),C.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(H,P,d){var O=d("ProS");O.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),O.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(H,P){var d=arguments[3],O=arguments[4],x=arguments[5],C=JSON.stringify;H.exports=function(A,b){for(var g,f=Object.keys(x),c=0,o=f.length;c=0;v--){var y;if(p[v]!==h&&!p[v].ignore&&(y=e(p[v],l,u))&&(!m.topTarget&&(m.topTarget=p[v]),y!==f)){m.target=p[v];break}}return m},processGesture:function(l,u){this._gestureMgr||(this._gestureMgr=new g);var h=this._gestureMgr;u==="start"&&h.clear();var p=h.recognize(l,this.findHover(l.zrX,l.zrY,null).target,this.proxy.dom);if(u==="end"&&h.clear(),p){var m=p.type;l.gestureEvent=m,this.dispatchToElement({target:p.target},m,p.event)}}},O.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){n.prototype[a]=function(l){var u=l.zrX,h=l.zrY,p=s(this,u,h),m,v;if((a!=="mouseup"||!p)&&(m=this.findHover(u,h),v=m.target),a==="mousedown")this._downEl=v,this._downPoint=[l.zrX,l.zrY],this._upEl=v;else if(a==="mouseup")this._upEl=v;else if(a==="click"){if(this._downEl!==this._upEl||!this._downPoint||x.dist(this._downPoint,[l.zrX,l.zrY])>4)return;this._downPoint=null}this.dispatchToElement(m,a,l)}});function e(a,l,u){if(a[a.rectHover?"rectContain":"contain"](l,u)){for(var h=a,p;h;){if(h.clipPath&&!h.clipPath.contain(l,u))return!1;h.silent&&(p=!0),h=h.parent}return p?f:!0}return!1}function s(a,l,u){var h=a.painter;return l<0||l>h.getWidth()||u<0||u>h.getHeight()}O.mixin(n,A),O.mixin(n,C);var t=n;H.exports=t},"10cm":function(H,P,d){var O=d("ProS"),x=d("2B6p"),C=x.updateCenterAndZoom;d("0qV/");var A={type:"graphRoam",event:"graphRoam",update:"none"};O.registerAction(A,function(b,g){g.eachComponent({mainType:"series",query:b},function(f){var c=f.coordinateSystem,o=C(c,b);f.setCenter&&f.setCenter(o.center),f.setZoom&&f.setZoom(o.zoom)})})},"15/o":function(H,P,d){},"19Vz":function(H,P,d){(function(O){O(d("VrN/"))})(function(O){O.defineOption("placeholder","",function(c,o,r){var i=r&&r!=O.Init;if(o&&!i)c.on("blur",b),c.on("change",g),c.on("swapDoc",g),O.on(c.getInputField(),"compositionupdate",c.state.placeholderCompose=function(){A(c)}),g(c);else if(!o&&i){c.off("blur",b),c.off("change",g),c.off("swapDoc",g),O.off(c.getInputField(),"compositionupdate",c.state.placeholderCompose),x(c);var n=c.getWrapperElement();n.className=n.className.replace(" CodeMirror-empty","")}o&&!c.hasFocus()&&b(c)});function x(c){c.state.placeholder&&(c.state.placeholder.parentNode.removeChild(c.state.placeholder),c.state.placeholder=null)}function C(c){x(c);var o=c.state.placeholder=document.createElement("pre");o.style.cssText="height: 0; overflow: visible",o.style.direction=c.getOption("direction"),o.className="CodeMirror-placeholder CodeMirror-line-like";var r=c.getOption("placeholder");typeof r=="string"&&(r=document.createTextNode(r)),o.appendChild(r),c.display.lineSpace.insertBefore(o,c.display.lineSpace.firstChild)}function A(c){setTimeout(function(){var o=!1,r=c.getInputField();r.nodeName=="TEXTAREA"?o=!r.value:c.lineCount()==1&&(o=!/[^\u200b]/.test(r.querySelector(".CodeMirror-line").textContent)),o?C(c):x(c)},20)}function b(c){f(c)&&C(c)}function g(c){var o=c.getWrapperElement(),r=f(c);o.className=o.className.replace(" CodeMirror-empty","")+(r?" CodeMirror-empty":""),r?C(c):x(c)}function f(c){return c.lineCount()===1&&c.getLine(0)===""}})},"1Jh7":function(H,P,d){var O=d("y+Vt"),x=d("T6xi"),C=O.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(b,g){x.buildPath(b,g,!1)}});H.exports=C},"1LEl":function(H,P,d){var O=d("ProS"),x=d("F9bG"),C=O.extendComponentView({type:"axisPointer",render:function(b,g,f){var c=g.getComponent("tooltip"),o=b.get("triggerOn")||c&&c.get("triggerOn")||"mousemove|click";x.register("axisPointer",f,function(r,i,n){o!=="none"&&(r==="leave"||o.indexOf(r)>=0)&&n({type:"updateAxisPointer",currTrigger:r,x:i&&i.offsetX,y:i&&i.offsetY})})},remove:function(b,g){x.unregister(g.getZr(),"axisPointer"),C.superApply(this._model,"remove",arguments)},dispose:function(b,g){x.unregister("axisPointer",g),C.superApply(this._model,"dispose",arguments)}}),A=C;H.exports=A},"1MYJ":function(H,P,d){var O=d("y+Vt"),x=O.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var A=this.__dirtyPath,b=this.shape.paths,g=0;g=v||L<0)break;if(i(D)){if(_){L+=y;continue}break}if(L===p)u[y>0?"moveTo":"lineTo"](D[0],D[1]);else if(w>0){var R=h[I],B=S==="y"?1:0,M=(D[B]-R[B])*w;f(o,R),o[B]=R[B]+M,f(r,D),r[B]=D[B]-M,u.bezierCurveTo(o[0],o[1],r[0],r[1],D[0],D[1])}else u.lineTo(D[0],D[1]);I=L,L+=y}return N}function s(u,h,p,m,v,y,E,T,w,S,_){for(var I=0,L=p,N=0;N=v||L<0)break;if(i(D)){if(_){L+=y;continue}break}if(L===p)u[y>0?"moveTo":"lineTo"](D[0],D[1]),f(o,D);else if(w>0){var R=L+y,B=h[R];if(_)for(;B&&i(h[R]);)R+=y,B=h[R];var M=.5,U=h[I],B=h[R];if(!B||i(B))f(r,D);else{i(B)&&!_&&(B=D),x.sub(c,B,U);var F,j;if(S==="x"||S==="y"){var W=S==="x"?0:1;F=Math.abs(D[W]-U[W]),j=Math.abs(D[W]-B[W])}else F=x.dist(D,U),j=x.dist(D,B);M=j/(j+F),g(r,D,c,-w*(1-M))}A(o,o,T),b(o,o,E),A(r,r,T),b(r,r,E),u.bezierCurveTo(o[0],o[1],r[0],r[1],D[0],D[1]),g(o,D,c,w*M)}else u.lineTo(D[0],D[1]);I=L,L+=y}return N}function t(u,h){var p=[Infinity,Infinity],m=[-Infinity,-Infinity];if(h)for(var v=0;vm[0]&&(m[0]=y[0]),y[1]>m[1]&&(m[1]=y[1])}return{min:h?p:m,max:h?m:p}}var a=O.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:C(O.prototype.brush),buildPath:function(u,h){var p=h.points,m=0,v=p.length,y=t(p,h.smoothConstraint);if(h.connectNulls){for(;v>0&&i(p[v-1]);v--);for(;m0&&i(p[y-1]);y--);for(;v=this._maxSize&&i>0){var e=c.head;c.remove(e),delete o[e.key],r=e.value,this._lastRemovedEntry=e}n?n.value=f:n=new x(f),n.key=g,c.insertEntry(n),o[g]=n}return r},A.get=function(g){var f=this._map[g],c=this._list;if(f!=null)return f!==c.tail&&(c.remove(f),c.insertEntry(f)),f.value},A.clear=function(){this._list.clear(),this._map={}};var b=C;H.exports=b},"1bdT":function(H,P,d){var O=d("3gBT"),x=d("H6uX"),C=d("DN4a"),A=d("vWvF"),b=d("bYtY"),g=function(o){C.call(this,o),x.call(this,o),A.call(this,o),this.id=o.id||O()};g.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(o,r){switch(this.draggable){case"horizontal":r=0;break;case"vertical":o=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=o,i[5]+=r,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(o,r){},attrKV:function(o,r){if(o==="position"||o==="scale"||o==="origin"){if(r){var i=this[o];i||(i=this[o]=[]),i[0]=r[0],i[1]=r[1]}}else this[o]=r},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(o,r){if(typeof o=="string")this.attrKV(o,r);else if(b.isObject(o))for(var i in o)o.hasOwnProperty(i)&&this.attrKV(i,o[i]);return this.dirty(!1),this},setClipPath:function(o){var r=this.__zr;r&&o.addSelfToZr(r),this.clipPath&&this.clipPath!==o&&this.removeClipPath(),this.clipPath=o,o.__zr=r,o.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var o=this.clipPath;o&&(o.__zr&&o.removeSelfFromZr(o.__zr),o.__zr=null,o.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(o){this.__zr=o;var r=this.animators;if(r)for(var i=0;i> RFB.constructor"),Ee._screen=document.createElement("div"),Ee._screen.style.display="flex",Ee._screen.style.width="100%",Ee._screen.style.height="100%",Ee._screen.style.overflow="auto",Ee._screen.style.background=V,Ee._canvas=document.createElement("canvas"),Ee._canvas.style.margin="auto",Ee._canvas.style.outline="none",Ee._canvas.style.flexShrink="0",Ee._canvas.width=0,Ee._canvas.height=0,Ee._canvas.tabIndex=-1,Ee._screen.appendChild(Ee._canvas),Ee._cursor=new e.default,Ee._cursorImage=Te.cursors.none,Ee._decoders[u.encodings.encodingRaw]=new h.default,Ee._decoders[u.encodings.encodingCopyRect]=new p.default,Ee._decoders[u.encodings.encodingRRE]=new m.default,Ee._decoders[u.encodings.encodingHextile]=new v.default,Ee._decoders[u.encodings.encodingTight]=new y.default,Ee._decoders[u.encodings.encodingTightPNG]=new E.default;try{Ee._display=new c.default(Ee._canvas)}catch(Ge){throw x.Error("Display exception: "+Ge),Ge}return Ee._display.onflush=Ee._onFlush.bind(U(Ee)),Ee._keyboard=new i.default(Ee._canvas),Ee._keyboard.onkeyevent=Ee._handleKeyEvent.bind(U(Ee)),Ee._gestures=new n.default,Ee._sock=new s.default,Ee._sock.on("message",function(){Ee._handleMessage()}),Ee._sock.on("open",function(){Ee._rfbConnectionState==="connecting"&&Ee._rfbInitState===""?(Ee._rfbInitState="ProtocolVersion",x.Debug("Starting VNC handshake")):Ee._fail("Unexpected server connection while "+Ee._rfbConnectionState)}),Ee._sock.on("close",function(Ge){x.Debug("WebSocket on-close event");var lt="";Ge.code&&(lt="(code: "+Ge.code,Ge.reason&&(lt+=", reason: "+Ge.reason),lt+=")");switch(Ee._rfbConnectionState){case"connecting":Ee._fail("Connection closed "+lt);break;case"connected":Ee._updateConnectionState("disconnecting"),Ee._updateConnectionState("disconnected");break;case"disconnecting":Ee._updateConnectionState("disconnected");break;case"disconnected":Ee._fail("Unexpected server disconnect when already disconnected "+lt);break;default:Ee._fail("Unexpected server disconnect before connecting "+lt);break}Ee._sock.off("close")}),Ee._sock.on("error",function(Ge){return x.Warn("WebSocket on-error event")}),setTimeout(Ee._updateConnectionState.bind(U(Ee),"connecting")),x.Debug("<< RFB.constructor"),Ee.dragViewport=!1,Ee.focusOnClick=!0,Ee._viewOnly=!1,Ee._clipViewport=!1,Ee._scaleViewport=!1,Ee._resizeSession=!1,Ee._showDotCursor=!1,fe.showDotCursor!==void 0&&(x.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),Ee._showDotCursor=fe.showDotCursor),Ee._qualityLevel=6,Ee._compressionLevel=2,Ee}return N(Te,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(le){this._rfbCredentials=le,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;x.Info("Sending Ctrl-Alt-Del"),this.sendKey(a.default.XK_Control_L,"ControlLeft",!0),this.sendKey(a.default.XK_Alt_L,"AltLeft",!0),this.sendKey(a.default.XK_Delete,"Delete",!0),this.sendKey(a.default.XK_Delete,"Delete",!1),this.sendKey(a.default.XK_Alt_L,"AltLeft",!1),this.sendKey(a.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(le,fe,Ee){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(Ee===void 0){this.sendKey(le,fe,!0),this.sendKey(le,fe,!1);return}var Ge=l.default[fe];if(this._qemuExtKeyEventSupported&&Ge)le=le||0,x.Info("Sending key ("+(Ee?"down":"up")+"): keysym "+le+", scancode "+Ge),Te.messages.QEMUExtendedKeyEvent(this._sock,le,Ee,Ge);else{if(!le)return;x.Info("Sending keysym ("+(Ee?"down":"up")+"): "+le),Te.messages.keyEvent(this._sock,le,Ee?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(le){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[De]&&this._clipboardServerCapabilitiesActions[Y])this._clipboardText=le,Te.messages.extendedClipboardNotify(this._sock,[De]);else{for(var fe=new Uint8Array(le.length),Ee=0;Ee> RFB.connect"),x.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(le){le.name==="SyntaxError"?this._fail("Invalid host or port ("+le+")"):this._fail("Error when opening socket ("+le+")")}this._target.appendChild(this._screen),this._gestures.attach(this._canvas),this._cursor.attach(this._canvas),this._refreshCursor(),window.addEventListener("resize",this._eventHandlers.windowResize),this._canvas.addEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.addEventListener("touchstart",this._eventHandlers.focusCanvas),this._canvas.addEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.addEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.addEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.addEventListener("click",this._eventHandlers.handleMouse),this._canvas.addEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.addEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.addEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.addEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.addEventListener("gestureend",this._eventHandlers.handleGesture),x.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){x.Debug(">> RFB.disconnect"),this._cursor.detach(),this._canvas.removeEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gestureend",this._eventHandlers.handleGesture),this._canvas.removeEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.removeEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.removeEventListener("click",this._eventHandlers.handleMouse),this._canvas.removeEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.removeEventListener("touchstart",this._eventHandlers.focusCanvas),window.removeEventListener("resize",this._eventHandlers.windowResize),this._keyboard.ungrab(),this._gestures.detach(),this._sock.close();try{this._target.removeChild(this._screen)}catch(le){if(!(le.name==="NotFoundError"))throw le}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),x.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(le){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(le){this._fbName=le,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(le){var fe=this;window.requestAnimationFrame(function(){fe._updateClip(),fe._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var le=this._display.clipViewport,fe=this._clipViewport;if(this._scaleViewport&&(fe=!1),le!==fe&&(this._display.clipViewport=fe),fe){var Ee=this._screenSize();this._display.viewportChangeSize(Ee.w,Ee.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var le=this._screenSize();this._display.autoscale(le.w,le.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var le=this._screenSize();Te.messages.setDesktopSize(this._sock,Math.floor(le.w),Math.floor(le.h),this._screenID,this._screenFlags),x.Debug("Requested new desktop size: "+le.w+"x"+le.h)}},{key:"_screenSize",value:function(){var le=this._screen.getBoundingClientRect();return{w:le.width,h:le.height}}},{key:"_fixScrollbars",value:function(){var le=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=le}},{key:"_updateConnectionState",value:function(le){var fe=this,Ee=this._rfbConnectionState;if(le===Ee){x.Debug("Already in state '"+le+"', ignoring");return}if(Ee==="disconnected"){x.Error("Tried changing state of a disconnected RFB object");return}switch(le){case"connected":if(Ee!=="connecting"){x.Error("Bad transition to connected state, previous connection state: "+Ee);return}break;case"disconnected":if(Ee!=="disconnecting"){x.Error("Bad transition to disconnected state, previous connection state: "+Ee);return}break;case"connecting":if(Ee!==""){x.Error("Bad transition to connecting state, previous connection state: "+Ee);return}break;case"disconnecting":if(Ee!=="connected"&&Ee!=="connecting"){x.Error("Bad transition to disconnecting state, previous connection state: "+Ee);return}break;default:x.Error("Unknown connection state: "+le);return}this._rfbConnectionState=le,x.Debug("New state '"+le+"', was '"+Ee+"'."),this._disconnTimer&&le!=="disconnecting"&&(x.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(le){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){x.Error("Disconnection timed out."),fe._updateConnectionState("disconnected")},W*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(le){switch(this._rfbConnectionState){case"disconnecting":x.Error("Failed when disconnecting: "+le);break;case"connected":x.Error("Failed while connected: "+le);break;case"connecting":x.Error("Failed when connecting: "+le);break;default:x.Error("RFB failure: "+le);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(le,fe){this._capabilities[le]=fe,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){x.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":x.Error("Got data while disconnected");break;case"connected":for(;!this._flushing;){if(!this._normalMsg())break;if(this._sock.rQlen===0)break}break;default:this._initMsg();break}}},{key:"_handleKeyEvent",value:function(le,fe,Ee){this.sendKey(le,fe,Ee)}},{key:"_handleMouse",value:function(le){if(le.type==="click"&&le.target!==this._canvas)return;if(le.stopPropagation(),le.preventDefault(),le.type==="click"||le.type==="contextmenu")return;var fe=(0,b.clientToElement)(le.clientX,le.clientY,this._canvas);switch(le.type){case"mousedown":(0,g.setCapture)(this._canvas),this._handleMouseButton(fe.x,fe.y,!0,1<A.dragThreshold||Math.abs(lt)>A.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:le,y:fe},this._display.viewportChangePos(Ge,lt));return}if(this._mousePos={x:le,y:fe},this._mouseMoveTimer==null){var Je=Date.now()-this._mouseLastMoveTime;Je>z?(this._sendMouse(le,fe,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){Ee._handleDelayedMouseMove()},z-Je)}}},{key:"_handleDelayedMouseMove",value:function(){this._mouseMoveTimer=null,this._sendMouse(this._mousePos.x,this._mousePos.y,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()}},{key:"_sendMouse",value:function(le,fe,Ee){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Te.messages.pointerEvent(this._sock,this._display.absX(le),this._display.absY(fe),Ee)}},{key:"_handleWheel",value:function(le){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;le.stopPropagation(),le.preventDefault();var fe=(0,b.clientToElement)(le.clientX,le.clientY,this._canvas),Ee=le.deltaX,Ge=le.deltaY;le.deltaMode!==0&&(Ee*=$,Ge*=$),this._accumulatedWheelDeltaX+=Ee,this._accumulatedWheelDeltaY+=Ge,Math.abs(this._accumulatedWheelDeltaX)>=J&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(fe.x,fe.y,!0,1<<5),this._handleMouseButton(fe.x,fe.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(fe.x,fe.y,!0,1<<6),this._handleMouseButton(fe.x,fe.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=J&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(fe.x,fe.y,!0,1<<3),this._handleMouseButton(fe.x,fe.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(fe.x,fe.y,!0,1<<4),this._handleMouseButton(fe.x,fe.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(le,fe,Ee){this._handleMouseMove(fe,Ee),this._cursor.move(le.detail.clientX,le.detail.clientY)}},{key:"_handleTapEvent",value:function(le,fe){var Ee=(0,b.clientToElement)(le.detail.clientX,le.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTimeae;)this._handleMouseButton(Ee.x,Ee.y,!0,8),this._handleMouseButton(Ee.x,Ee.y,!1,8),this._gestureLastMagnitudeY+=ae;for(;le.detail.magnitudeY-this._gestureLastMagnitudeY<-ae;)this._handleMouseButton(Ee.x,Ee.y,!0,16),this._handleMouseButton(Ee.x,Ee.y,!1,16),this._gestureLastMagnitudeY-=ae;for(;le.detail.magnitudeX-this._gestureLastMagnitudeX>ae;)this._handleMouseButton(Ee.x,Ee.y,!0,32),this._handleMouseButton(Ee.x,Ee.y,!1,32),this._gestureLastMagnitudeX+=ae;for(;le.detail.magnitudeX-this._gestureLastMagnitudeX<-ae;)this._handleMouseButton(Ee.x,Ee.y,!0,64),this._handleMouseButton(Ee.x,Ee.y,!1,64),this._gestureLastMagnitudeX-=ae;break;case"pinch":if(this._fakeMouseMove(le,Ee.x,Ee.y),fe=Math.hypot(le.detail.magnitudeX,le.detail.magnitudeY),Math.abs(fe-this._gestureLastMagnitudeX)>ce){for(this._handleKeyEvent(a.default.XK_Control_L,"ControlLeft",!0);fe-this._gestureLastMagnitudeX>ce;)this._handleMouseButton(Ee.x,Ee.y,!0,8),this._handleMouseButton(Ee.x,Ee.y,!1,8),this._gestureLastMagnitudeX+=ce;for(;fe-this._gestureLastMagnitudeX<-ce;)this._handleMouseButton(Ee.x,Ee.y,!0,16),this._handleMouseButton(Ee.x,Ee.y,!1,16),this._gestureLastMagnitudeX-=ce}this._handleKeyEvent(a.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(le.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(le,Ee.x,Ee.y),this._handleMouseButton(Ee.x,Ee.y,!1,1);break;case"longpress":this._fakeMouseMove(le,Ee.x,Ee.y),this._handleMouseButton(Ee.x,Ee.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var le=this._sock.rQshiftStr(12).substr(4,7);x.Info("Server ProtocolVersion: "+le);var fe=0;switch(le){case"000.000":fe=1;break;case"003.003":case"003.006":case"003.889":this._rfbVersion=3.3;break;case"003.007":this._rfbVersion=3.7;break;case"003.008":case"004.000":case"004.001":case"005.000":this._rfbVersion=3.8;break;default:return this._fail("Invalid server version "+le)}if(fe){for(var Ee="ID:"+this._repeaterID;Ee.length<250;)Ee+="\0";return this._sock.sendString(Ee),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Ge="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Ge+` `),x.Debug("Sent ProtocolVersion: "+Ge),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function le(Ge,lt){for(var Je=0;Je=3.7){var fe=this._sock.rQshift8();if(this._sock.rQwait("security type",fe,1))return!1;if(fe===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var Ee=this._sock.rQshiftBytes(fe);if(x.Debug("Server security types: "+Ee),le(1,Ee))this._rfbAuthScheme=1;else if(le(22,Ee))this._rfbAuthScheme=22;else if(le(16,Ee))this._rfbAuthScheme=16;else if(le(2,Ee))this._rfbAuthScheme=2;else if(le(19,Ee))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+Ee+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",x.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var le=this._sock.rQshift32(),fe="";if(le>0){if(this._sock.rQwait("reason",le,4))return!1;fe=this._sock.rQshiftStr(le)}return fe!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:fe}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+fe+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var le=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(le),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var le=this._sock.rQshift8(),fe=this._sock.rQshift8();if(!(le==0&&fe==2))return this._fail("Unsupported VeNCrypt version "+le+"."+fe);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var Ee=this._sock.rQshift8();if(Ee!=0)return this._fail("VeNCrypt failure "+Ee);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Ge=this._sock.rQshift8();if(Ge<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Ge,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var lt=[],Je=0;Je0&&this._sock.rQwait("tunnel capabilities",16*le,4))return!1;if(this._rfbTightVNC=!0,le>0)return this._negotiateTightTunnels(le),!1}if(this._sock.rQwait("sub auth count",4))return!1;var fe=this._sock.rQshift32();if(fe===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*fe,4))return!1;for(var Ee={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Ge=[],lt=0;lt=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var le=this._sock.rQshift32();return le===0?(this._rfbInitState="ClientInitialisation",x.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=le,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:le}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var le=this._sock.rQshift16(),fe=this._sock.rQshift16(),Ee=this._sock.rQshift8(),Ge=this._sock.rQshift8(),lt=this._sock.rQshift8(),Je=this._sock.rQshift8(),Ce=this._sock.rQshift16(),et=this._sock.rQshift16(),ze=this._sock.rQshift16(),at=this._sock.rQshift8(),Ct=this._sock.rQshift8(),Tt=this._sock.rQshift8();this._sock.rQskipBytes(3);var Ot=this._sock.rQshift32();if(this._sock.rQwait("server init name",Ot,24))return!1;var Nt=this._sock.rQshiftStr(Ot);if(Nt=(0,C.decodeUTF8)(Nt,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+Ot))return!1;var Be=this._sock.rQshift16(),ne=this._sock.rQshift16(),G=this._sock.rQshift16();this._sock.rQskipBytes(2);var Pe=(Be+ne+G)*16;if(this._sock.rQwait("TightVNC extended server init header",Pe,32+Ot))return!1;this._sock.rQskipBytes(16*Be),this._sock.rQskipBytes(16*ne),this._sock.rQskipBytes(16*G)}return x.Info("Screen: "+le+"x"+fe+", bpp: "+Ee+", depth: "+Ge+", bigEndian: "+lt+", trueColor: "+Je+", redMax: "+Ce+", greenMax: "+et+", blueMax: "+ze+", redShift: "+at+", greenShift: "+Ct+", blueShift: "+Tt),this._setDesktopName(Nt),this._resize(le,fe),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(x.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Te.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Te.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var le=[];le.push(u.encodings.encodingCopyRect),this._fbDepth==24&&(le.push(u.encodings.encodingTight),le.push(u.encodings.encodingTightPNG),le.push(u.encodings.encodingHextile),le.push(u.encodings.encodingRRE)),le.push(u.encodings.encodingRaw),le.push(u.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),le.push(u.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),le.push(u.encodings.pseudoEncodingDesktopSize),le.push(u.encodings.pseudoEncodingLastRect),le.push(u.encodings.pseudoEncodingQEMUExtendedKeyEvent),le.push(u.encodings.pseudoEncodingExtendedDesktopSize),le.push(u.encodings.pseudoEncodingXvp),le.push(u.encodings.pseudoEncodingFence),le.push(u.encodings.pseudoEncodingContinuousUpdates),le.push(u.encodings.pseudoEncodingDesktopName),le.push(u.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(le.push(u.encodings.pseudoEncodingVMwareCursor),le.push(u.encodings.pseudoEncodingCursor)),Te.messages.clientEncodings(this._sock,le)}},{key:"_initMsg",value:function(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}},{key:"_handleSetColourMapMsg",value:function(){return x.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(x.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var le=this._sock.rQshift32();if(le=(0,O.toSigned32bit)(le),this._sock.rQwait("ServerCutText content",Math.abs(le),8))return!1;if(le>=0){var fe=this._sock.rQshiftStr(le);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:fe}}))}else{le=Math.abs(le);var Ee=this._sock.rQshift32(),Ge=Ee&65535,lt=Ee&4278190080,Je=!!(lt&te);if(Je){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Ce=0;Ce<=15;Ce++){var et=1<0&&Nt.charAt(Nt.length-1)==="\0"&&(Nt=Nt.slice(0,-1)),Nt=Nt.replace(`\r `,` `),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Nt}}))}}else return this._fail("Unexpected action in extended clipboard message: "+lt)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var le=this._sock.rQshift32(),fe=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",fe,9))return!1;fe>64&&(x.Warn("Bad payload length ("+fe+") in fence response"),fe=64);var Ee=this._sock.rQshiftStr(fe);return this._supportsFence=!0,le&1<<31?(le&=1<<0|1<<1,Te.messages.clientFence(this._sock,le,Ee),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var le=this._sock.rQshift8(),fe=this._sock.rQshift8();switch(fe){case 0:x.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=le,x.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+fe+")");break}return!0}},{key:"_normalMsg",value:function(){var le;this._FBU.rects>0?le=0:le=this._sock.rQshift8();var fe,Ee;switch(le){case 0:return Ee=this._framebufferUpdate(),Ee&&!this._enabledContinuousUpdates&&Te.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),Ee;case 1:return this._handleSetColourMapMsg();case 2:return x.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return fe=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,fe&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),x.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+le+")"),x.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},{key:"_onFlush",value:function(){this._flushing=!1,this._sock.rQlen>0&&this._handleMessage()}},{key:"_framebufferUpdate",value:function(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush(),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;var le=this._sock.rQshiftBytes(12);this._FBU.x=(le[0]<<8)+le[1],this._FBU.y=(le[2]<<8)+le[3],this._FBU.width=(le[4]<<8)+le[5],this._FBU.height=(le[6]<<8)+le[7],this._FBU.encoding=parseInt((le[8]<<24)+(le[9]<<16)+(le[10]<<8)+le[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case u.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case u.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case u.encodings.pseudoEncodingCursor:return this._handleCursor();case u.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var le=document.createEvent("keyboardEvent");le.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(fe){}return!0;case u.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case u.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case u.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var le=this._FBU.x,fe=this._FBU.y,Ee=this._FBU.width,Ge=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var lt=this._sock.rQshift8();this._sock.rQshift8();var Je,Ce=4;if(lt==0){var et=4294967040|0;if(Je=new Array(Ee*Ge*Ce),this._sock.rQwait("VMware cursor classic encoding",Ee*Ge*Ce*2,2))return!1;for(var ze=new Array(Ee*Ge),at=0;at>8&255,ne=Nt>>16&255,G=Nt>>24&255;Je[Ot*Ce]=Be,Je[Ot*Ce+1]=ne,Je[Ot*Ce+2]=G,Je[Ot*Ce+3]=255}else(ze[Ot]&et)==et?Ct[Ot]==0?(Je[Ot*Ce]=0,Je[Ot*Ce+1]=0,Je[Ot*Ce+2]=0,Je[Ot*Ce+3]=0):((Ct[Ot]&et)==et,Je[Ot*Ce]=0,Je[Ot*Ce+1]=0,Je[Ot*Ce+2]=0,Je[Ot*Ce+3]=255):(Je[Ot*Ce]=0,Je[Ot*Ce+1]=0,Je[Ot*Ce+2]=0,Je[Ot*Ce+3]=255)}else if(lt==1){if(this._sock.rQwait("VMware cursor alpha encoding",Ee*Ge*4,2))return!1;Je=new Array(Ee*Ge*Ce);for(var Pe=0;Pe>24&255,Je[Pe*4+1]=Ne>>16&255,Je[Pe*4+2]=Ne>>8&255,Je[Pe*4+3]=Ne&255}}else return x.Warn("The given cursor type is not supported: "+lt+" given."),!1;return this._updateCursor(Je,le,fe,Ee,Ge),!0}},{key:"_handleCursor",value:function(){var le=this._FBU.x,fe=this._FBU.y,Ee=this._FBU.width,Ge=this._FBU.height,lt=Ee*Ge*4,Je=Math.ceil(Ee/8)*Ge,Ce=lt+Je;if(this._sock.rQwait("cursor encoding",Ce))return!1;for(var et=this._sock.rQshiftBytes(lt),ze=this._sock.rQshiftBytes(Je),at=new Uint8Array(Ee*Ge*4),Ct=0,Tt=0;Tt9){x.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===le)return;this._qualityLevel=le,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(le){if(!Number.isInteger(le)||le<0||le>9){x.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===le)return;this._compressionLevel=le,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(le,fe){var Ee=le.split("").map(function(Ge){return Ge.charCodeAt(0)});return new t.default(Ee).encrypt(fe)}}]),Te}(f.default);P.default=Q,Q.messages={keyEvent:function(de,Te,xe){var le=de._sQ,fe=de._sQlen;le[fe]=4,le[fe+1]=xe,le[fe+2]=0,le[fe+3]=0,le[fe+4]=Te>>24,le[fe+5]=Te>>16,le[fe+6]=Te>>8,le[fe+7]=Te,de._sQlen+=8,de.flush()},QEMUExtendedKeyEvent:function(de,Te,xe,le){function fe(Je){var Ce=le>>8,et=le&255;return Ce===224&&et<127?et|128:Je}var Ee=de._sQ,Ge=de._sQlen;Ee[Ge]=255,Ee[Ge+1]=0,Ee[Ge+2]=xe>>8,Ee[Ge+3]=xe,Ee[Ge+4]=Te>>24,Ee[Ge+5]=Te>>16,Ee[Ge+6]=Te>>8,Ee[Ge+7]=Te;var lt=fe(le);Ee[Ge+8]=lt>>24,Ee[Ge+9]=lt>>16,Ee[Ge+10]=lt>>8,Ee[Ge+11]=lt,de._sQlen+=12,de.flush()},pointerEvent:function(de,Te,xe,le){var fe=de._sQ,Ee=de._sQlen;fe[Ee]=5,fe[Ee+1]=le,fe[Ee+2]=Te>>8,fe[Ee+3]=Te,fe[Ee+4]=xe>>8,fe[Ee+5]=xe,de._sQlen+=6,de.flush()},_buildExtendedClipboardFlags:function(de,Te){for(var xe=new Uint8Array(4),le=0,fe=0,Ee=0;Ee>24,xe[1]=0,xe[2]=0,xe[3]=le,xe},extendedClipboardProvide:function(de,Te,xe){for(var le=new r.default,fe=[],Ee=0;Ee>24&255,Ge.length>>16&255,Ge.length>>8&255,Ge.length&255);for(var lt=0;lt>24,fe[Ee+1]=xe[le[Ge]]>>16,fe[Ee+2]=xe[le[Ge]]>>8,fe[Ee+3]=xe[le[Ge]]>>0,Ee+=4,fe[3]|=1<2&&arguments[2]!==void 0?arguments[2]:!1,le=de._sQ,fe=de._sQlen;le[fe]=6,le[fe+1]=0,le[fe+2]=0,le[fe+3]=0;var Ee;xe?Ee=(0,O.toUnsigned32bit)(-Te.length):Ee=Te.length,le[fe+4]=Ee>>24,le[fe+5]=Ee>>16,le[fe+6]=Ee>>8,le[fe+7]=Ee,de._sQlen+=8;for(var Ge=0,lt=Te.length;lt>0;){for(var Je=Math.min(lt,de._sQbufferSize-de._sQlen),Ce=0;Ce>8,Ee[Ge+3]=Te,Ee[Ge+4]=xe>>8,Ee[Ge+5]=xe,Ee[Ge+6]=1,Ee[Ge+7]=0,Ee[Ge+8]=le>>24,Ee[Ge+9]=le>>16,Ee[Ge+10]=le>>8,Ee[Ge+11]=le,Ee[Ge+12]=0,Ee[Ge+13]=0,Ee[Ge+14]=0,Ee[Ge+15]=0,Ee[Ge+16]=Te>>8,Ee[Ge+17]=Te,Ee[Ge+18]=xe>>8,Ee[Ge+19]=xe,Ee[Ge+20]=fe>>24,Ee[Ge+21]=fe>>16,Ee[Ge+22]=fe>>8,Ee[Ge+23]=fe,de._sQlen+=24,de.flush()},clientFence:function(de,Te,xe){var le=de._sQ,fe=de._sQlen;le[fe]=248,le[fe+1]=0,le[fe+2]=0,le[fe+3]=0,le[fe+4]=Te>>24,le[fe+5]=Te>>16,le[fe+6]=Te>>8,le[fe+7]=Te;var Ee=xe.length;le[fe+8]=Ee;for(var Ge=0;Ge>8,Ge[lt+3]=xe,Ge[lt+4]=le>>8,Ge[lt+5]=le,Ge[lt+6]=fe>>8,Ge[lt+7]=fe,Ge[lt+8]=Ee>>8,Ge[lt+9]=Ee,de._sQlen+=10,de.flush()},pixelFormat:function(de,Te,xe){var le=de._sQ,fe=de._sQlen,Ee;Te>16?Ee=32:Te>8?Ee=16:Ee=8;var Ge=Math.floor(Te/3);le[fe]=0,le[fe+1]=0,le[fe+2]=0,le[fe+3]=0,le[fe+4]=Ee,le[fe+5]=Te,le[fe+6]=0,le[fe+7]=xe?1:0,le[fe+8]=0,le[fe+9]=(1<>8,xe[le+3]=Te.length;for(var fe=le+4,Ee=0;Ee>24,xe[fe+1]=Ge>>16,xe[fe+2]=Ge>>8,xe[fe+3]=Ge,fe+=4}de._sQlen+=fe-le,de.flush()},fbUpdateRequest:function(de,Te,xe,le,fe,Ee){var Ge=de._sQ,lt=de._sQlen;typeof xe=="undefined"&&(xe=0),typeof le=="undefined"&&(le=0),Ge[lt]=3,Ge[lt+1]=Te?1:0,Ge[lt+2]=xe>>8&255,Ge[lt+3]=xe&255,Ge[lt+4]=le>>8&255,Ge[lt+5]=le&255,Ge[lt+6]=fe>>8&255,Ge[lt+7]=fe&255,Ge[lt+8]=Ee>>8&255,Ge[lt+9]=Ee&255,de._sQlen+=10,de.flush()},xvpOp:function(de,Te,xe){var le=de._sQ,fe=de._sQlen;le[fe]=250,le[fe+1]=0,le[fe+2]=Te,le[fe+3]=xe,de._sQlen+=4,de.flush()}},Q.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},"1eCo":function(H,P,d){(function(O){O(d("VrN/"))})(function(O){"use strict";var x={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},C={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};O.defineMode("xml",function(A,b){var g=A.indentUnit,f={},c=b.htmlMode?x:C;for(var o in c)f[o]=c[o];for(var o in b)f[o]=b[o];var r,i;function n(I,L){function N(B){return L.tokenize=B,B(I,L)}var D=I.next();if(D=="<")return I.eat("!")?I.eat("[")?I.match("CDATA[")?N(t("atom","]]>")):null:I.match("--")?N(t("comment","-->")):I.match("DOCTYPE",!0,!0)?(I.eatWhile(/[\w\._\-]/),N(a(1))):null:I.eat("?")?(I.eatWhile(/[\w\._\-]/),L.tokenize=t("meta","?>"),"meta"):(r=I.eat("/")?"closeTag":"openTag",L.tokenize=e,"tag bracket");if(D=="&"){var R;return I.eat("#")?I.eat("x")?R=I.eatWhile(/[a-fA-F\d]/)&&I.eat(";"):R=I.eatWhile(/[\d]/)&&I.eat(";"):R=I.eatWhile(/[\w\.\-:]/)&&I.eat(";"),R?"atom":"error"}else return I.eatWhile(/[^&<]/),null}n.isInText=!0;function e(I,L){var N=I.next();if(N==">"||N=="/"&&I.eat(">"))return L.tokenize=n,r=N==">"?"endTag":"selfcloseTag","tag bracket";if(N=="=")return r="equals",null;if(N=="<"){L.tokenize=n,L.state=p,L.tagName=L.tagStart=null;var D=L.tokenize(I,L);return D?D+" tag error":"tag error"}else return/[\'\"]/.test(N)?(L.tokenize=s(N),L.stringStartCol=I.column(),L.tokenize(I,L)):(I.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function s(I){var L=function(D,R){for(;!D.eol();)if(D.next()==I){R.tokenize=e;break}return"string"};return L.isInAttribute=!0,L}function t(I,L){return function(N,D){for(;!N.eol();){if(N.match(L)){D.tokenize=n;break}N.next()}return I}}function a(I){return function(L,N){for(var D;(D=L.next())!=null;){if(D=="<")return N.tokenize=a(I+1),N.tokenize(L,N);if(D==">")if(I==1){N.tokenize=n;break}else return N.tokenize=a(I-1),N.tokenize(L,N)}return"meta"}}function l(I,L,N){this.prev=I.context,this.tagName=L,this.indent=I.indented,this.startOfLine=N,(f.doNotIndent.hasOwnProperty(L)||I.context&&I.context.noIndent)&&(this.noIndent=!0)}function u(I){I.context&&(I.context=I.context.prev)}function h(I,L){for(var N;;){if(!I.context)return;if(N=I.context.tagName,!f.contextGrabbers.hasOwnProperty(N)||!f.contextGrabbers[N].hasOwnProperty(L))return;u(I)}}function p(I,L,N){return I=="openTag"?(N.tagStart=L.column(),m):I=="closeTag"?v:p}function m(I,L,N){return I=="word"?(N.tagName=L.current(),i="tag",T):f.allowMissingTagName&&I=="endTag"?(i="tag bracket",T(I,L,N)):(i="error",m)}function v(I,L,N){if(I=="word"){var D=L.current();return N.context&&N.context.tagName!=D&&f.implicitlyClosed.hasOwnProperty(N.context.tagName)&&u(N),N.context&&N.context.tagName==D||f.matchClosing===!1?(i="tag",y):(i="tag error",E)}else return f.allowMissingTagName&&I=="endTag"?(i="tag bracket",y(I,L,N)):(i="error",E)}function y(I,L,N){return I!="endTag"?(i="error",y):(u(N),p)}function E(I,L,N){return i="error",y(I,L,N)}function T(I,L,N){if(I=="word")return i="attribute",w;if(I=="endTag"||I=="selfcloseTag"){var D=N.tagName,R=N.tagStart;return N.tagName=N.tagStart=null,I=="selfcloseTag"||f.autoSelfClosers.hasOwnProperty(D)?h(N,D):(h(N,D),N.context=new l(N,D,R==N.indented)),p}return i="error",T}function w(I,L,N){return I=="equals"?S:(f.allowMissing||(i="error"),T(I,L,N))}function S(I,L,N){return I=="string"?_:I=="word"&&f.allowUnquoted?(i="string",T):(i="error",T(I,L,N))}function _(I,L,N){return I=="string"?_:T(I,L,N)}return{startState:function(L){var N={tokenize:n,state:p,indented:L||0,tagName:null,tagStart:null,context:null};return L!=null&&(N.baseIndent=L),N},token:function(L,N){if(!N.tagName&&L.sol()&&(N.indented=L.indentation()),L.eatSpace())return null;r=null;var D=N.tokenize(L,N);return(D||r)&&D!="comment"&&(i=null,N.state=N.state(r||D,L,N),i&&(D=i=="error"?D+" error":i)),D},indent:function(L,N,D){var R=L.context;if(L.tokenize.isInAttribute)return L.tagStart==L.indented?L.stringStartCol+1:L.indented+g;if(R&&R.noIndent)return O.Pass;if(L.tokenize!=e&&L.tokenize!=n)return D?D.match(/^(\s*)/)[0].length:0;if(L.tagName)return f.multilineTagIndentPastTag!==!1?L.tagStart+L.tagName.length+2:L.tagStart+g*(f.multilineTagIndentFactor||1);if(f.alignCDATA&&/$/,blockCommentStart:"",configuration:f.htmlMode?"html":"xml",helperType:f.htmlMode?"html":"xml",skipAttribute:function(L){L.state==S&&(L.state=T)},xmlCurrentTag:function(L){return L.tagName?{name:L.tagName,close:L.type=="closeTag"}:null},xmlCurrentContext:function(L){for(var N=[],D=L.context;D;D=D.prev)D.tagName&&N.push(D.tagName);return N.reverse()}}}),O.defineMIME("text/xml","xml"),O.defineMIME("application/xml","xml"),O.mimeModes.hasOwnProperty("text/html")||O.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1n7x":function(H,P,d){(function(O,x){/*! * html2pdf.js v0.10.1 * Copyright (c) 2021 Erik Koopmans * Released under the MIT License. */(function(A,b){H.exports=b(d("dtIV"),d("wOnQ"))})(self,function(C,A){return function(){var b={"./src/plugin/hyperlinks.js":function(r,i,n){"use strict";n.r(i);var e=n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),s=n.n(e),t=n("./node_modules/core-js/modules/es.string.link.js"),a=n.n(t),l=n("./src/worker.js"),u=n("./src/utils.js"),h=[],p={toContainer:l.default.prototype.toContainer,toPdf:l.default.prototype.toPdf};l.default.prototype.toContainer=function(){return p.toContainer.call(this).then(function(){if(this.opt.enableLinks){var y=this.prop.container,E=y.querySelectorAll("a"),T=(0,u.unitConvert)(y.getBoundingClientRect(),this.prop.pageSize.k);h=[],Array.prototype.forEach.call(E,function(w){for(var S=w.getClientRects(),_=0;_F){var W=j;j=F,F=W}}else if(L==="l"||L==="landscape"){if(L="l",F>j){var W=j;j=F,F=W}}else throw"Invalid orientation: "+L;var V={width:j,height:F,unit:N,k:U};return V},i.default=S.jsPDF},"./src/plugin/pagebreaks.js":function(r,i,n){"use strict";n.r(i);var e=n("./node_modules/core-js/modules/es.array.concat.js"),s=n.n(e),t=n("./node_modules/core-js/modules/es.array.slice.js"),a=n.n(t),l=n("./node_modules/core-js/modules/es.array.join.js"),u=n.n(l),h=n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),p=n.n(h),m=n("./node_modules/core-js/modules/es.object.keys.js"),v=n.n(m),y=n("./src/worker.js"),E=n("./src/utils.js"),T={toContainer:y.default.prototype.toContainer};y.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},y.default.prototype.toContainer=function(){return T.toContainer.call(this).then(function(){var _=this.prop.container,I=this.prop.pageSize.inner.px.height,L=[].concat(this.opt.pagebreak.mode),N={avoidAll:L.indexOf("avoid-all")!==-1,css:L.indexOf("css")!==-1,legacy:L.indexOf("legacy")!==-1},D={},R=this;["before","after","avoid"].forEach(function(U){var F=N.avoidAll&&U==="avoid";D[U]=F?[]:[].concat(R.opt.pagebreak[U]||[]),D[U].length>0&&(D[U]=Array.prototype.slice.call(_.querySelectorAll(D[U].join(", "))))});var B=_.querySelectorAll(".html2pdf__page-break");B=Array.prototype.slice.call(B);var M=_.querySelectorAll("*");Array.prototype.forEach.call(M,function(F){var j={before:!1,after:N.legacy&&B.indexOf(F)!==-1,avoid:N.avoidAll};if(N.css){var W=window.getComputedStyle(F),V=["always","page","left","right"],z=["avoid","avoid-page"];j={before:j.before||V.indexOf(W.breakBefore||W.pageBreakBefore)!==-1,after:j.after||V.indexOf(W.breakAfter||W.pageBreakAfter)!==-1,avoid:j.avoid||z.indexOf(W.breakInside||W.pageBreakInside)!==-1}}Object.keys(j).forEach(function(Ie){j[Ie]=j[Ie]||D[Ie].indexOf(F)!==-1});var J=F.getBoundingClientRect();if(j.avoid&&!j.before){var $=Math.floor(J.top/I),ce=Math.floor(J.bottom/I),ae=Math.abs(J.bottom-J.top)/I;ce!==$&&ae<=1&&(j.before=!0)}if(j.before){var Ae=(0,E.createElement)("div",{style:{display:"block",height:I-J.top%I+"px"}});F.parentNode.insertBefore(Ae,F)}if(j.after){var Ae=(0,E.createElement)("div",{style:{display:"block",height:I-J.bottom%I+"px"}});F.parentNode.insertBefore(Ae,F.nextSibling)}})})}},"./src/utils.js":function(r,i,n){"use strict";n.r(i),n.d(i,{objType:function(){return L},createElement:function(){return N},cloneNode:function(){return D},unitConvert:function(){return R},toPx:function(){return B}});var e=n("./node_modules/core-js/modules/es.number.constructor.js"),s=n.n(e),t=n("./node_modules/core-js/modules/es.symbol.js"),a=n.n(t),l=n("./node_modules/core-js/modules/es.symbol.description.js"),u=n.n(l),h=n("./node_modules/core-js/modules/es.object.to-string.js"),p=n.n(h),m=n("./node_modules/core-js/modules/es.symbol.iterator.js"),v=n.n(m),y=n("./node_modules/core-js/modules/es.array.iterator.js"),E=n.n(y),T=n("./node_modules/core-js/modules/es.string.iterator.js"),w=n.n(T),S=n("./node_modules/core-js/modules/web.dom-collections.iterator.js"),_=n.n(S);function I(M){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(F){return typeof F}:I=function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},I(M)}var L=function(U){var F=I(U);return F==="undefined"?"undefined":F==="string"||U instanceof String?"string":F==="number"||U instanceof Number?"number":F==="function"||U instanceof Function?"function":!!U&&U.constructor===Array?"array":U&&U.nodeType===1?"element":F==="object"?"object":"unknown"},N=function(U,F){var j=document.createElement(U);if(F.className&&(j.className=F.className),F.innerHTML){j.innerHTML=F.innerHTML;for(var W=j.getElementsByTagName("script"),V=W.length;V-- >0;null)W[V].parentNode.removeChild(W[V])}for(var z in F.style)j.style[z]=F.style[z];return j},D=function M(U,F){for(var j=U.nodeType===3?document.createTextNode(U.nodeValue):U.cloneNode(!1),W=U.firstChild;W;W=W.nextSibling)(F===!0||W.nodeType!==1||W.nodeName!=="SCRIPT")&&j.appendChild(M(W,F));return U.nodeType===1&&(U.nodeName==="CANVAS"?(j.width=U.width,j.height=U.height,j.getContext("2d").drawImage(U,0,0)):(U.nodeName==="TEXTAREA"||U.nodeName==="SELECT")&&(j.value=U.value),j.addEventListener("load",function(){j.scrollTop=U.scrollTop,j.scrollLeft=U.scrollLeft},!0)),j},R=function(U,F){if(L(U)==="number")return U*72/96/F;var j={};for(var W in U)j[W]=U[W]*72/96/F;return j},B=function(U,F){return Math.floor(U*F/72*96)}},"./src/worker.js":function(r,i,n){"use strict";n.r(i);var e=n("./node_modules/core-js/modules/es.object.assign.js"),s=n.n(e),t=n("./node_modules/core-js/modules/es.array.map.js"),a=n.n(t),l=n("./node_modules/core-js/modules/es.object.keys.js"),u=n.n(l),h=n("./node_modules/core-js/modules/es.array.concat.js"),p=n.n(h),m=n("./node_modules/core-js/modules/es.object.to-string.js"),v=n.n(m),y=n("./node_modules/core-js/modules/es.regexp.to-string.js"),E=n.n(y),T=n("./node_modules/core-js/modules/es.function.name.js"),w=n.n(T),S=n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),_=n.n(S),I=n("jspdf"),L=n.n(I),N=n("html2canvas"),D=n.n(N),R=n("./src/utils.js"),B=n("./node_modules/es6-promise/dist/es6-promise.js"),M=n.n(B),U=M().Promise,F=function j(W){var V=Object.assign(j.convert(U.resolve()),JSON.parse(JSON.stringify(j.template))),z=j.convert(U.resolve(),V);return z=z.setProgress(1,j,1,[j]),z=z.set(W),z};F.prototype=Object.create(U.prototype),F.prototype.constructor=F,F.convert=function(W,V){return W.__proto__=V||F.prototype,W},F.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:{}}},F.prototype.from=function(W,V){function z(J){switch((0,R.objType)(J)){case"string":return"string";case"element":return J.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){V=V||z(W);switch(V){case"string":return this.set({src:(0,R.createElement)("div",{innerHTML:W})});case"element":return this.set({src:W});case"canvas":return this.set({canvas:W});case"img":return this.set({img:W});default:return this.error("Unknown source type.")}})},F.prototype.to=function(W){switch(W){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.")}},F.prototype.toContainer=function(){var W=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(W).then(function(){var z={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},J={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};z.opacity=0;var $=(0,R.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,R.createElement)("div",{className:"html2pdf__overlay",style:z}),this.prop.container=(0,R.createElement)("div",{className:"html2pdf__container",style:J}),this.prop.container.appendChild($),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},F.prototype.toCanvas=function(){var W=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(W).then(function(){var z=Object.assign({},this.opt.html2canvas);return delete z.onrendered,N(this.prop.container,z)}).then(function(z){var J=this.opt.html2canvas.onrendered||function(){};J(z),this.prop.canvas=z,document.body.removeChild(this.prop.overlay)})},F.prototype.toImg=function(){var W=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(W).then(function(){var z=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=z})},F.prototype.toPdf=function(){var W=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(W).then(function(){var z=this.prop.canvas,J=this.opt,$=z.height,ce=Math.floor(z.width*this.prop.pageSize.inner.ratio),ae=Math.ceil($/ce),Ae=this.prop.pageSize.inner.height,Ie=document.createElement("canvas"),De=Ie.getContext("2d");Ie.width=z.width,Ie.height=ce,this.prop.pdf=this.prop.pdf||new I.jsPDF(J.jsPDF);for(var Ke=0;Ke1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(r,i,n){var e=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/to-length.js"),t=n("./node_modules/core-js/internals/to-absolute-index.js"),a=function(u){return function(h,p,m){var v=e(h),y=s(v.length),E=t(m,y),T;if(u&&p!=p){for(;y>E;)if(T=v[E++],T!=T)return!0}else for(;y>E;E++)if((u||E in v)&&v[E]===p)return u||E||0;return!u&&-1}};r.exports={includes:a(!0),indexOf:a(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(r,i,n){var e=n("./node_modules/core-js/internals/function-bind-context.js"),s=n("./node_modules/core-js/internals/indexed-object.js"),t=n("./node_modules/core-js/internals/to-object.js"),a=n("./node_modules/core-js/internals/to-length.js"),l=n("./node_modules/core-js/internals/array-species-create.js"),u=[].push,h=function(m){var v=m==1,y=m==2,E=m==3,T=m==4,w=m==6,S=m==7,_=m==5||w;return function(I,L,N,D){for(var R=t(I),B=s(R),M=e(L,N,3),U=a(B.length),F=0,j=D||l,W=v?j(I,U):y||S?j(I,0):void 0,V,z;U>F;F++)if((_||F in B)&&(V=B[F],z=M(V,F,R),m))if(v)W[F]=z;else if(z)switch(m){case 3:return!0;case 5:return V;case 6:return F;case 2:u.call(W,V)}else switch(m){case 4:return!1;case 7:u.call(W,V)}return w?-1:E||T?T:W}};r.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(r,i,n){var e=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/well-known-symbol.js"),t=n("./node_modules/core-js/internals/engine-v8-version.js"),a=s("species");r.exports=function(l){return t>=51||!e(function(){var u=[],h=u.constructor={};return h[a]=function(){return{foo:1}},u[l](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/fails.js");r.exports=function(s,t){var a=[][s];return!!a&&e(function(){a.call(null,t||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(r,i,n){var e=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/is-array.js"),t=n("./node_modules/core-js/internals/well-known-symbol.js"),a=t("species");r.exports=function(l){var u;return s(l)&&(u=l.constructor,typeof u=="function"&&(u===Array||s(u.prototype))?u=void 0:e(u)&&(u=u[a],u===null&&(u=void 0))),u===void 0?Array:u}},"./node_modules/core-js/internals/array-species-create.js":function(r,i,n){var e=n("./node_modules/core-js/internals/array-species-constructor.js");r.exports=function(s,t){return new(e(s))(t===0?0:t)}},"./node_modules/core-js/internals/classof-raw.js":function(r){var i={}.toString;r.exports=function(n){return i.call(n).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(r,i,n){var e=n("./node_modules/core-js/internals/to-string-tag-support.js"),s=n("./node_modules/core-js/internals/classof-raw.js"),t=n("./node_modules/core-js/internals/well-known-symbol.js"),a=t("toStringTag"),l=s(function(){return arguments}())=="Arguments",u=function(p,m){try{return p[m]}catch(v){}};r.exports=e?s:function(h){var p,m,v;return h===void 0?"Undefined":h===null?"Null":typeof(m=u(p=Object(h),a))=="string"?m:l?s(p):(v=s(p))=="Object"&&typeof p.callee=="function"?"Arguments":v}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(r,i,n){var e=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/own-keys.js"),t=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=n("./node_modules/core-js/internals/object-define-property.js");r.exports=function(l,u){for(var h=s(u),p=a.f,m=t.f,v=0;v"+p+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,s=n("./node_modules/core-js/internals/object-create.js"),t=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/set-to-string-tag.js"),l=n("./node_modules/core-js/internals/iterators.js"),u=function(){return this};r.exports=function(h,p,m){var v=p+" Iterator";return h.prototype=s(e,{next:t(1,m)}),a(h,v,!1,!0),l[v]=u,h}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(r,i,n){var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/object-define-property.js"),t=n("./node_modules/core-js/internals/create-property-descriptor.js");r.exports=e?function(a,l,u){return s.f(a,l,t(1,u))}:function(a,l,u){return a[l]=u,a}},"./node_modules/core-js/internals/create-property-descriptor.js":function(r){r.exports=function(i,n){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:n}}},"./node_modules/core-js/internals/create-property.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/to-property-key.js"),s=n("./node_modules/core-js/internals/object-define-property.js"),t=n("./node_modules/core-js/internals/create-property-descriptor.js");r.exports=function(a,l,u){var h=e(l);h in a?s.f(a,h,t(0,u)):a[h]=u}},"./node_modules/core-js/internals/define-iterator.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/create-iterator-constructor.js"),t=n("./node_modules/core-js/internals/object-get-prototype-of.js"),a=n("./node_modules/core-js/internals/object-set-prototype-of.js"),l=n("./node_modules/core-js/internals/set-to-string-tag.js"),u=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),h=n("./node_modules/core-js/internals/redefine.js"),p=n("./node_modules/core-js/internals/well-known-symbol.js"),m=n("./node_modules/core-js/internals/is-pure.js"),v=n("./node_modules/core-js/internals/iterators.js"),y=n("./node_modules/core-js/internals/iterators-core.js"),E=y.IteratorPrototype,T=y.BUGGY_SAFARI_ITERATORS,w=p("iterator"),S="keys",_="values",I="entries",L=function(){return this};r.exports=function(N,D,R,B,M,U,F){s(R,D,B);var j=function(Ke){if(Ke===M&&$)return $;if(!T&&Ke in z)return z[Ke];switch(Ke){case S:return function(){return new R(this,Ke)};case _:return function(){return new R(this,Ke)};case I:return function(){return new R(this,Ke)}}return function(){return new R(this)}},W=D+" Iterator",V=!1,z=N.prototype,J=z[w]||z["@@iterator"]||M&&z[M],$=!T&&J||j(M),ce=D=="Array"&&z.entries||J,ae,Ae,Ie;if(ce&&(ae=t(ce.call(new N)),E!==Object.prototype&&ae.next&&(!m&&t(ae)!==E&&(a?a(ae,E):typeof ae[w]!="function"&&u(ae,w,L)),l(ae,W,!0,!0),m&&(v[W]=L))),M==_&&J&&J.name!==_&&(V=!0,$=function(){return J.call(this)}),(!m||F)&&z[w]!==$&&u(z,w,$),v[D]=$,M)if(Ae={values:j(_),keys:U?$:j(S),entries:j(I)},F)for(Ie in Ae)(T||V||!(Ie in z))&&h(z,Ie,Ae[Ie]);else e({target:D,proto:!0,forced:T||V},Ae);return Ae}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(r,i,n){var e=n("./node_modules/core-js/internals/path.js"),s=n("./node_modules/core-js/internals/has.js"),t=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),a=n("./node_modules/core-js/internals/object-define-property.js").f;r.exports=function(l){var u=e.Symbol||(e.Symbol={});s(u,l)||a(u,l,{value:t.f(l)})}},"./node_modules/core-js/internals/descriptors.js":function(r,i,n){var e=n("./node_modules/core-js/internals/fails.js");r.exports=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/is-object.js"),t=e.document,a=s(t)&&s(t.createElement);r.exports=function(l){return a?t.createElement(l):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(r){r.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(r,i,n){var e=n("./node_modules/core-js/internals/get-built-in.js");r.exports=e("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/engine-user-agent.js"),t=e.process,a=e.Deno,l=t&&t.versions||a&&a.version,u=l&&l.v8,h,p;u?(h=u.split("."),p=h[0]<4?1:h[0]+h[1]):s&&(h=s.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=s.match(/Chrome\/(\d+)/),h&&(p=h[1]))),r.exports=p&&+p},"./node_modules/core-js/internals/enum-bug-keys.js":function(r){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,t=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=n("./node_modules/core-js/internals/redefine.js"),l=n("./node_modules/core-js/internals/set-global.js"),u=n("./node_modules/core-js/internals/copy-constructor-properties.js"),h=n("./node_modules/core-js/internals/is-forced.js");r.exports=function(p,m){var v=p.target,y=p.global,E=p.stat,T,w,S,_,I,L;if(y?w=e:E?w=e[v]||l(v,{}):w=(e[v]||{}).prototype,w)for(S in m){if(I=m[S],p.noTargetGet?(L=s(w,S),_=L&&L.value):_=w[S],T=h(y?S:v+(E?".":"#")+S,p.forced),!T&&_!==void 0){if(typeof I===typeof _)continue;u(I,_)}(p.sham||_&&_.sham)&&t(I,"sham",!0),a(w,S,I,p)}}},"./node_modules/core-js/internals/fails.js":function(r){r.exports=function(i){try{return!!i()}catch(n){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(r,i,n){var e=n("./node_modules/core-js/internals/a-function.js");r.exports=function(s,t,a){if(e(s),t===void 0)return s;switch(a){case 0:return function(){return s.call(t)};case 1:return function(l){return s.call(t,l)};case 2:return function(l,u){return s.call(t,l,u)};case 3:return function(l,u,h){return s.call(t,l,u,h)}}return function(){return s.apply(t,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js"),s=function(a){return typeof a=="function"?a:void 0};r.exports=function(t,a){return arguments.length<2?s(e[t]):e[t]&&e[t][a]}},"./node_modules/core-js/internals/global.js":function(r){var i=function(e){return e&&e.Math==Math&&e};r.exports=i(typeof globalThis=="object"&&globalThis)||i(typeof window=="object"&&window)||i(typeof self=="object"&&self)||i(typeof O=="object"&&O)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(r,i,n){var e=n("./node_modules/core-js/internals/to-object.js"),s={}.hasOwnProperty;r.exports=Object.hasOwn||function(a,l){return s.call(e(a),l)}},"./node_modules/core-js/internals/hidden-keys.js":function(r){r.exports={}},"./node_modules/core-js/internals/html.js":function(r,i,n){var e=n("./node_modules/core-js/internals/get-built-in.js");r.exports=e("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(r,i,n){var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/fails.js"),t=n("./node_modules/core-js/internals/document-create-element.js");r.exports=!e&&!s(function(){return Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(r,i,n){var e=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/classof-raw.js"),t="".split;r.exports=e(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return s(a)=="String"?t.call(a,""):Object(a)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(r,i,n){var e=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/object-set-prototype-of.js");r.exports=function(t,a,l){var u,h;return s&&typeof(u=a.constructor)=="function"&&u!==l&&e(h=u.prototype)&&h!==l.prototype&&s(t,h),t}},"./node_modules/core-js/internals/inspect-source.js":function(r,i,n){var e=n("./node_modules/core-js/internals/shared-store.js"),s=Function.toString;typeof e.inspectSource!="function"&&(e.inspectSource=function(t){return s.call(t)}),r.exports=e.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(r,i,n){var e=n("./node_modules/core-js/internals/native-weak-map.js"),s=n("./node_modules/core-js/internals/global.js"),t=n("./node_modules/core-js/internals/is-object.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=n("./node_modules/core-js/internals/has.js"),u=n("./node_modules/core-js/internals/shared-store.js"),h=n("./node_modules/core-js/internals/shared-key.js"),p=n("./node_modules/core-js/internals/hidden-keys.js"),m="Object already initialized",v=s.WeakMap,y,E,T,w=function(B){return T(B)?E(B):y(B,{})},S=function(B){return function(M){var U;if(!t(M)||(U=E(M)).type!==B)throw TypeError("Incompatible receiver, "+B+" required");return U}};if(e||u.state){var _=u.state||(u.state=new v),I=_.get,L=_.has,N=_.set;y=function(B,M){if(L.call(_,B))throw new TypeError(m);return M.facade=B,N.call(_,B,M),M},E=function(B){return I.call(_,B)||{}},T=function(B){return L.call(_,B)}}else{var D=h("state");p[D]=!0,y=function(B,M){if(l(B,D))throw new TypeError(m);return M.facade=B,a(B,D,M),M},E=function(B){return l(B,D)?B[D]:{}},T=function(B){return l(B,D)}}r.exports={set:y,get:E,has:T,enforce:w,getterFor:S}},"./node_modules/core-js/internals/is-array.js":function(r,i,n){var e=n("./node_modules/core-js/internals/classof-raw.js");r.exports=Array.isArray||function(t){return e(t)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(r,i,n){var e=n("./node_modules/core-js/internals/fails.js"),s=/#|\.prototype\./,t=function(m,v){var y=l[a(m)];return y==h?!0:y==u?!1:typeof v=="function"?e(v):!!v},a=t.normalize=function(p){return String(p).replace(s,".").toLowerCase()},l=t.data={},u=t.NATIVE="N",h=t.POLYFILL="P";r.exports=t},"./node_modules/core-js/internals/is-object.js":function(r){r.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},"./node_modules/core-js/internals/is-pure.js":function(r){r.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(r,i,n){var e=n("./node_modules/core-js/internals/get-built-in.js"),s=n("./node_modules/core-js/internals/use-symbol-as-uid.js");r.exports=s?function(t){return typeof t=="symbol"}:function(t){var a=e("Symbol");return typeof a=="function"&&Object(t)instanceof a}},"./node_modules/core-js/internals/iterators-core.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/object-get-prototype-of.js"),t=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=n("./node_modules/core-js/internals/has.js"),l=n("./node_modules/core-js/internals/well-known-symbol.js"),u=n("./node_modules/core-js/internals/is-pure.js"),h=l("iterator"),p=!1,m=function(){return this},v,y,E;[].keys&&(E=[].keys(),"next"in E?(y=s(s(E)),y!==Object.prototype&&(v=y)):p=!0);var T=v==null||e(function(){var w={};return v[h].call(w)!==w});T&&(v={}),(!u||T)&&!a(v,h)&&t(v,h,m),r.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:p}},"./node_modules/core-js/internals/iterators.js":function(r){r.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(r,i,n){var e=n("./node_modules/core-js/internals/engine-v8-version.js"),s=n("./node_modules/core-js/internals/fails.js");r.exports=!!Object.getOwnPropertySymbols&&!s(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})},"./node_modules/core-js/internals/native-weak-map.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/inspect-source.js"),t=e.WeakMap;r.exports=typeof t=="function"&&/native code/.test(s(t))},"./node_modules/core-js/internals/object-assign.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/fails.js"),t=n("./node_modules/core-js/internals/object-keys.js"),a=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),u=n("./node_modules/core-js/internals/to-object.js"),h=n("./node_modules/core-js/internals/indexed-object.js"),p=Object.assign,m=Object.defineProperty;r.exports=!p||s(function(){if(e&&p({b:1},p(m({},"a",{enumerable:!0,get:function(){m(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var v={},y={},E=Symbol(),T="abcdefghijklmnopqrst";return v[E]=7,T.split("").forEach(function(w){y[w]=w}),p({},v)[E]!=7||t(p({},y)).join("")!=T})?function(y,E){for(var T=u(y),w=arguments.length,S=1,_=a.f,I=l.f;w>S;)for(var L=h(arguments[S++]),N=_?t(L).concat(_(L)):t(L),D=N.length,R=0,B;D>R;)B=N[R++],(!e||I.call(L,B))&&(T[B]=L[B]);return T}:p},"./node_modules/core-js/internals/object-create.js":function(r,i,n){var e=n("./node_modules/core-js/internals/an-object.js"),s=n("./node_modules/core-js/internals/object-define-properties.js"),t=n("./node_modules/core-js/internals/enum-bug-keys.js"),a=n("./node_modules/core-js/internals/hidden-keys.js"),l=n("./node_modules/core-js/internals/html.js"),u=n("./node_modules/core-js/internals/document-create-element.js"),h=n("./node_modules/core-js/internals/shared-key.js"),p=">",m="<",v="prototype",y="script",E=h("IE_PROTO"),T=function(){},w=function(D){return m+y+p+D+m+"/"+y+p},S=function(D){D.write(w("")),D.close();var R=D.parentWindow.Object;return D=null,R},_=function(){var D=u("iframe"),R="java"+y+":",B;if(D.style)return D.style.display="none",l.appendChild(D),D.src=String(R),B=D.contentWindow.document,B.open(),B.write(w("document.F=Object")),B.close(),B.F},I,L=function(){try{I=new ActiveXObject("htmlfile")}catch(R){}L=document.domain&&I?S(I):_()||S(I);for(var D=t.length;D--;)delete L[v][t[D]];return L()};a[E]=!0,r.exports=Object.create||function(D,R){var B;return D!==null?(T[v]=e(D),B=new T,T[v]=null,B[E]=D):B=L(),R===void 0?B:s(B,R)}},"./node_modules/core-js/internals/object-define-properties.js":function(r,i,n){var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/object-define-property.js"),t=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/object-keys.js");r.exports=e?Object.defineProperties:function(u,h){t(u);for(var p=a(h),m=p.length,v=0,y;m>v;)s.f(u,y=p[v++],h[y]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(r,i,n){var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/ie8-dom-define.js"),t=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/to-property-key.js"),l=Object.defineProperty;i.f=e?l:function(h,p,m){if(t(h),p=a(p),t(m),s)try{return l(h,p,m)}catch(v){}if("get"in m||"set"in m)throw TypeError("Accessors not supported");return"value"in m&&(h[p]=m.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(r,i,n){var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),t=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/to-indexed-object.js"),l=n("./node_modules/core-js/internals/to-property-key.js"),u=n("./node_modules/core-js/internals/has.js"),h=n("./node_modules/core-js/internals/ie8-dom-define.js"),p=Object.getOwnPropertyDescriptor;i.f=e?p:function(v,y){if(v=a(v),y=l(y),h)try{return p(v,y)}catch(E){}if(u(v,y))return t(!s.f.call(v,y),v[y])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(r,i,n){var e=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,t={}.toString,a=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(h){try{return s(h)}catch(p){return a.slice()}};r.exports.f=function(h){return a&&t.call(h)=="[object Window]"?l(h):s(e(h))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(r,i,n){var e=n("./node_modules/core-js/internals/object-keys-internal.js"),s=n("./node_modules/core-js/internals/enum-bug-keys.js"),t=s.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(l){return e(l,t)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(r,i){i.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(r,i,n){var e=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/to-object.js"),t=n("./node_modules/core-js/internals/shared-key.js"),a=n("./node_modules/core-js/internals/correct-prototype-getter.js"),l=t("IE_PROTO"),u=Object.prototype;r.exports=a?Object.getPrototypeOf:function(h){return h=s(h),e(h,l)?h[l]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(r,i,n){var e=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/to-indexed-object.js"),t=n("./node_modules/core-js/internals/array-includes.js").indexOf,a=n("./node_modules/core-js/internals/hidden-keys.js");r.exports=function(l,u){var h=s(l),p=0,m=[],v;for(v in h)!e(a,v)&&e(h,v)&&m.push(v);for(;u.length>p;)e(h,v=u[p++])&&(~t(m,v)||m.push(v));return m}},"./node_modules/core-js/internals/object-keys.js":function(r,i,n){var e=n("./node_modules/core-js/internals/object-keys-internal.js"),s=n("./node_modules/core-js/internals/enum-bug-keys.js");r.exports=Object.keys||function(a){return e(a,s)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(r,i){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,s=e&&!n.call({1:2},1);i.f=s?function(a){var l=e(this,a);return!!l&&l.enumerable}:n},"./node_modules/core-js/internals/object-set-prototype-of.js":function(r,i,n){var e=n("./node_modules/core-js/internals/an-object.js"),s=n("./node_modules/core-js/internals/a-possible-prototype.js");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),t=a instanceof Array}catch(u){}return function(h,p){return e(h),s(p),t?l.call(h,p):h.__proto__=p,h}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/to-string-tag-support.js"),s=n("./node_modules/core-js/internals/classof.js");r.exports=e?{}.toString:function(){return"[object "+s(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(r,i,n){var e=n("./node_modules/core-js/internals/is-object.js");r.exports=function(s,t){var a,l;if(t==="string"&&typeof(a=s.toString)=="function"&&!e(l=a.call(s)))return l;if(typeof(a=s.valueOf)=="function"&&!e(l=a.call(s)))return l;if(t!=="string"&&typeof(a=s.toString)=="function"&&!e(l=a.call(s)))return l;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(r,i,n){var e=n("./node_modules/core-js/internals/get-built-in.js"),s=n("./node_modules/core-js/internals/object-get-own-property-names.js"),t=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=n("./node_modules/core-js/internals/an-object.js");r.exports=e("Reflect","ownKeys")||function(u){var h=s.f(a(u)),p=t.f;return p?h.concat(p(u)):h}},"./node_modules/core-js/internals/path.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js");r.exports=e},"./node_modules/core-js/internals/redefine.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),t=n("./node_modules/core-js/internals/has.js"),a=n("./node_modules/core-js/internals/set-global.js"),l=n("./node_modules/core-js/internals/inspect-source.js"),u=n("./node_modules/core-js/internals/internal-state.js"),h=u.get,p=u.enforce,m=String(String).split("String");(r.exports=function(v,y,E,T){var w=T?!!T.unsafe:!1,S=T?!!T.enumerable:!1,_=T?!!T.noTargetGet:!1,I;if(typeof E=="function"&&(typeof y=="string"&&!t(E,"name")&&s(E,"name",y),I=p(E),I.source||(I.source=m.join(typeof y=="string"?y:""))),v===e){S?v[y]=E:a(y,E);return}else w?!_&&v[y]&&(S=!0):delete v[y];S?v[y]=E:s(v,y,E)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||l(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/an-object.js");r.exports=function(){var s=e(this),t="";return s.global&&(t+="g"),s.ignoreCase&&(t+="i"),s.multiline&&(t+="m"),s.dotAll&&(t+="s"),s.unicode&&(t+="u"),s.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/require-object-coercible.js":function(r){r.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"./node_modules/core-js/internals/set-global.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js");r.exports=function(s,t){try{Object.defineProperty(e,s,{value:t,configurable:!0,writable:!0})}catch(a){e[s]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js":function(r,i,n){var e=n("./node_modules/core-js/internals/object-define-property.js").f,s=n("./node_modules/core-js/internals/has.js"),t=n("./node_modules/core-js/internals/well-known-symbol.js"),a=t("toStringTag");r.exports=function(l,u,h){l&&!s(l=h?l:l.prototype,a)&&e(l,a,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(r,i,n){var e=n("./node_modules/core-js/internals/shared.js"),s=n("./node_modules/core-js/internals/uid.js"),t=e("keys");r.exports=function(a){return t[a]||(t[a]=s(a))}},"./node_modules/core-js/internals/shared-store.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/set-global.js"),t="__core-js_shared__",a=e[t]||s(t,{});r.exports=a},"./node_modules/core-js/internals/shared.js":function(r,i,n){var e=n("./node_modules/core-js/internals/is-pure.js"),s=n("./node_modules/core-js/internals/shared-store.js");(r.exports=function(t,a){return s[t]||(s[t]=a!==void 0?a:{})})("versions",[]).push({version:"3.16.0",mode:e?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(r,i,n){var e=n("./node_modules/core-js/internals/fails.js");r.exports=function(s){return e(function(){var t=""[s]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(r,i,n){var e=n("./node_modules/core-js/internals/to-integer.js"),s=n("./node_modules/core-js/internals/to-string.js"),t=n("./node_modules/core-js/internals/require-object-coercible.js"),a=function(u){return function(h,p){var m=s(t(h)),v=e(p),y=m.length,E,T;return v<0||v>=y?u?"":void 0:(E=m.charCodeAt(v),E<55296||E>56319||v+1===y||(T=m.charCodeAt(v+1))<56320||T>57343?u?m.charAt(v):E:u?m.slice(v,v+2):(E-55296<<10)+(T-56320)+65536)}};r.exports={codeAt:a(!1),charAt:a(!0)}},"./node_modules/core-js/internals/string-trim.js":function(r,i,n){var e=n("./node_modules/core-js/internals/require-object-coercible.js"),s=n("./node_modules/core-js/internals/to-string.js"),t=n("./node_modules/core-js/internals/whitespaces.js"),a="["+t+"]",l=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),h=function(m){return function(v){var y=s(e(v));return m&1&&(y=y.replace(l,"")),m&2&&(y=y.replace(u,"")),y}};r.exports={start:h(1),end:h(2),trim:h(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(r,i,n){var e=n("./node_modules/core-js/internals/to-integer.js"),s=Math.max,t=Math.min;r.exports=function(a,l){var u=e(a);return u<0?s(u+l,0):t(u,l)}},"./node_modules/core-js/internals/to-indexed-object.js":function(r,i,n){var e=n("./node_modules/core-js/internals/indexed-object.js"),s=n("./node_modules/core-js/internals/require-object-coercible.js");r.exports=function(t){return e(s(t))}},"./node_modules/core-js/internals/to-integer.js":function(r){var i=Math.ceil,n=Math.floor;r.exports=function(e){return isNaN(e=+e)?0:(e>0?n:i)(e)}},"./node_modules/core-js/internals/to-length.js":function(r,i,n){var e=n("./node_modules/core-js/internals/to-integer.js"),s=Math.min;r.exports=function(t){return t>0?s(e(t),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(r,i,n){var e=n("./node_modules/core-js/internals/require-object-coercible.js");r.exports=function(s){return Object(e(s))}},"./node_modules/core-js/internals/to-primitive.js":function(r,i,n){var e=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/is-symbol.js"),t=n("./node_modules/core-js/internals/ordinary-to-primitive.js"),a=n("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toPrimitive");r.exports=function(u,h){if(!e(u)||s(u))return u;var p=u[l],m;if(p!==void 0){if(h===void 0&&(h="default"),m=p.call(u,h),!e(m)||s(m))return m;throw TypeError("Can't convert object to primitive value")}return h===void 0&&(h="number"),t(u,h)}},"./node_modules/core-js/internals/to-property-key.js":function(r,i,n){var e=n("./node_modules/core-js/internals/to-primitive.js"),s=n("./node_modules/core-js/internals/is-symbol.js");r.exports=function(t){var a=e(t,"string");return s(a)?a:String(a)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(r,i,n){var e=n("./node_modules/core-js/internals/well-known-symbol.js"),s=e("toStringTag"),t={};t[s]="z",r.exports=String(t)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(r,i,n){var e=n("./node_modules/core-js/internals/is-symbol.js");r.exports=function(s){if(e(s))throw TypeError("Cannot convert a Symbol value to a string");return String(s)}},"./node_modules/core-js/internals/uid.js":function(r){var i=0,n=Math.random();r.exports=function(e){return"Symbol("+String(e===void 0?"":e)+")_"+(++i+n).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(r,i,n){var e=n("./node_modules/core-js/internals/native-symbol.js");r.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(r,i,n){var e=n("./node_modules/core-js/internals/well-known-symbol.js");i.f=e},"./node_modules/core-js/internals/well-known-symbol.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/shared.js"),t=n("./node_modules/core-js/internals/has.js"),a=n("./node_modules/core-js/internals/uid.js"),l=n("./node_modules/core-js/internals/native-symbol.js"),u=n("./node_modules/core-js/internals/use-symbol-as-uid.js"),h=s("wks"),p=e.Symbol,m=u?p:p&&p.withoutSetter||a;r.exports=function(v){return(!t(h,v)||!(l||typeof h[v]=="string"))&&(l&&t(p,v)?h[v]=p[v]:h[v]=m("Symbol."+v)),h[v]}},"./node_modules/core-js/internals/whitespaces.js":function(r){r.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/fails.js"),t=n("./node_modules/core-js/internals/is-array.js"),a=n("./node_modules/core-js/internals/is-object.js"),l=n("./node_modules/core-js/internals/to-object.js"),u=n("./node_modules/core-js/internals/to-length.js"),h=n("./node_modules/core-js/internals/create-property.js"),p=n("./node_modules/core-js/internals/array-species-create.js"),m=n("./node_modules/core-js/internals/array-method-has-species-support.js"),v=n("./node_modules/core-js/internals/well-known-symbol.js"),y=n("./node_modules/core-js/internals/engine-v8-version.js"),E=v("isConcatSpreadable"),T=9007199254740991,w="Maximum allowed index exceeded",S=y>=51||!s(function(){var N=[];return N[E]=!1,N.concat()[0]!==N}),_=m("concat"),I=function(D){if(!a(D))return!1;var R=D[E];return R!==void 0?!!R:t(D)},L=!S||!_;e({target:"Array",proto:!0,forced:L},{concat:function(D){var R=l(this),B=p(R,0),M=0,U,F,j,W,V;for(U=-1,j=arguments.length;UT)throw TypeError(w);for(F=0;F=T)throw TypeError(w);h(B,M++,V)}return B.length=M,B}})},"./node_modules/core-js/modules/es.array.iterator.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/add-to-unscopables.js"),t=n("./node_modules/core-js/internals/iterators.js"),a=n("./node_modules/core-js/internals/internal-state.js"),l=n("./node_modules/core-js/internals/define-iterator.js"),u="Array Iterator",h=a.set,p=a.getterFor(u);r.exports=l(Array,"Array",function(m,v){h(this,{type:u,target:e(m),index:0,kind:v})},function(){var m=p(this),v=m.target,y=m.kind,E=m.index++;return!v||E>=v.length?(m.target=void 0,{value:void 0,done:!0}):y=="keys"?{value:E,done:!1}:y=="values"?{value:v[E],done:!1}:{value:[E,v[E]],done:!1}},"values"),t.Arguments=t.Array,s("keys"),s("values"),s("entries")},"./node_modules/core-js/modules/es.array.join.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/indexed-object.js"),t=n("./node_modules/core-js/internals/to-indexed-object.js"),a=n("./node_modules/core-js/internals/array-method-is-strict.js"),l=[].join,u=s!=Object,h=a("join",",");e({target:"Array",proto:!0,forced:u||!h},{join:function(m){return l.call(t(this),m===void 0?",":m)}})},"./node_modules/core-js/modules/es.array.map.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/array-iteration.js").map,t=n("./node_modules/core-js/internals/array-method-has-species-support.js"),a=t("map");e({target:"Array",proto:!0,forced:!a},{map:function(u){return s(this,u,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/is-object.js"),t=n("./node_modules/core-js/internals/is-array.js"),a=n("./node_modules/core-js/internals/to-absolute-index.js"),l=n("./node_modules/core-js/internals/to-length.js"),u=n("./node_modules/core-js/internals/to-indexed-object.js"),h=n("./node_modules/core-js/internals/create-property.js"),p=n("./node_modules/core-js/internals/well-known-symbol.js"),m=n("./node_modules/core-js/internals/array-method-has-species-support.js"),v=m("slice"),y=p("species"),E=[].slice,T=Math.max;e({target:"Array",proto:!0,forced:!v},{slice:function(S,_){var I=u(this),L=l(I.length),N=a(S,L),D=a(_===void 0?L:_,L),R,B,M;if(t(I)&&(R=I.constructor,typeof R=="function"&&(R===Array||t(R.prototype))?R=void 0:s(R)&&(R=R[y],R===null&&(R=void 0)),R===Array||R===void 0))return E.call(I,N,D);for(B=new(R===void 0?Array:R)(T(D-N,0)),M=0;N2){if(W=S(W),V=W.charCodeAt(0),V===43||V===45){if(z=W.charCodeAt(2),z===88||z===120)return NaN}else if(V===48){switch(W.charCodeAt(1)){case 66:case 98:J=2,$=49;break;case 79:case 111:J=8,$=55;break;default:return+W}for(ce=W.slice(2),ae=ce.length,Ae=0;Ae$)return NaN;return parseInt(ce,J)}}return+W};if(t(_,!I(" 0o1")||!I("0b1")||I("+0x1"))){for(var R=function(j){var W=arguments.length<1?0:j,V=this;return V instanceof R&&(N?v(function(){L.valueOf.call(V)}):u(V)!=_)?h(new I(D(W)),V,R):D(W)},B=e?E(I):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),M=0,U;B.length>M;M++)l(I,U=B[M])&&!l(R,U)&&w(R,U,T(I,U));R.prototype=L,L.constructor=R,a(s,_,R)}},"./node_modules/core-js/modules/es.object.assign.js":function(r,i,n){var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/object-assign.js");e({target:"Object",stat:!0,forced:Object.assign!==s},{assign:s})},"./node_modules/core-js/modules/es.object.keys.js":function(r,i,n){var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/to-object.js"),t=n("./node_modules/core-js/internals/object-keys.js"),a=n("./node_modules/core-js/internals/fails.js"),l=a(function(){t(1)});e({target:"Object",stat:!0,forced:l},{keys:function(h){return t(s(h))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(r,i,n){var e=n("./node_modules/core-js/internals/to-string-tag-support.js"),s=n("./node_modules/core-js/internals/redefine.js"),t=n("./node_modules/core-js/internals/object-to-string.js");e||s(Object.prototype,"toString",t,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/an-object.js"),t=n("./node_modules/core-js/internals/to-string.js"),a=n("./node_modules/core-js/internals/fails.js"),l=n("./node_modules/core-js/internals/regexp-flags.js"),u="toString",h=RegExp.prototype,p=h[u],m=a(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),v=p.name!=u;(m||v)&&e(RegExp.prototype,u,function(){var E=s(this),T=t(E.source),w=E.flags,S=t(w===void 0&&E instanceof RegExp&&!("flags"in h)?l.call(E):w);return"/"+T+"/"+S},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/string-multibyte.js").charAt,s=n("./node_modules/core-js/internals/to-string.js"),t=n("./node_modules/core-js/internals/internal-state.js"),a=n("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",u=t.set,h=t.getterFor(l);a(String,"String",function(p){u(this,{type:l,string:s(p),index:0})},function(){var m=h(this),v=m.string,y=m.index,E;return y>=v.length?{value:void 0,done:!0}:(E=e(v,y),m.index+=E.length,{value:E,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/create-html.js"),t=n("./node_modules/core-js/internals/string-html-forced.js");e({target:"String",proto:!0,forced:t("link")},{link:function(l){return s(this,"a","href",l)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/descriptors.js"),t=n("./node_modules/core-js/internals/global.js"),a=n("./node_modules/core-js/internals/has.js"),l=n("./node_modules/core-js/internals/is-object.js"),u=n("./node_modules/core-js/internals/object-define-property.js").f,h=n("./node_modules/core-js/internals/copy-constructor-properties.js"),p=t.Symbol;if(s&&typeof p=="function"&&(!("description"in p.prototype)||p().description!==void 0)){var m={},v=function(){var _=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),I=this instanceof v?new p(_):_===void 0?p():p(_);return _===""&&(m[I]=!0),I};h(v,p);var y=v.prototype=p.prototype;y.constructor=v;var E=y.toString,T=String(p("test"))=="Symbol(test)",w=/^Symbol\((.*)\)[^)]+$/;u(y,"description",{configurable:!0,get:function(){var _=l(this)?this.valueOf():this,I=E.call(_);if(a(m,_))return"";var L=T?I.slice(7,-1):I.replace(w,"$1");return L===""?void 0:L}}),e({global:!0,forced:!0},{Symbol:v})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(r,i,n){var e=n("./node_modules/core-js/internals/define-well-known-symbol.js");e("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(r,i,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/global.js"),t=n("./node_modules/core-js/internals/get-built-in.js"),a=n("./node_modules/core-js/internals/is-pure.js"),l=n("./node_modules/core-js/internals/descriptors.js"),u=n("./node_modules/core-js/internals/native-symbol.js"),h=n("./node_modules/core-js/internals/fails.js"),p=n("./node_modules/core-js/internals/has.js"),m=n("./node_modules/core-js/internals/is-array.js"),v=n("./node_modules/core-js/internals/is-object.js"),y=n("./node_modules/core-js/internals/is-symbol.js"),E=n("./node_modules/core-js/internals/an-object.js"),T=n("./node_modules/core-js/internals/to-object.js"),w=n("./node_modules/core-js/internals/to-indexed-object.js"),S=n("./node_modules/core-js/internals/to-property-key.js"),_=n("./node_modules/core-js/internals/to-string.js"),I=n("./node_modules/core-js/internals/create-property-descriptor.js"),L=n("./node_modules/core-js/internals/object-create.js"),N=n("./node_modules/core-js/internals/object-keys.js"),D=n("./node_modules/core-js/internals/object-get-own-property-names.js"),R=n("./node_modules/core-js/internals/object-get-own-property-names-external.js"),B=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),M=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),U=n("./node_modules/core-js/internals/object-define-property.js"),F=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),j=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),W=n("./node_modules/core-js/internals/redefine.js"),V=n("./node_modules/core-js/internals/shared.js"),z=n("./node_modules/core-js/internals/shared-key.js"),J=n("./node_modules/core-js/internals/hidden-keys.js"),$=n("./node_modules/core-js/internals/uid.js"),ce=n("./node_modules/core-js/internals/well-known-symbol.js"),ae=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Ae=n("./node_modules/core-js/internals/define-well-known-symbol.js"),Ie=n("./node_modules/core-js/internals/set-to-string-tag.js"),De=n("./node_modules/core-js/internals/internal-state.js"),Ke=n("./node_modules/core-js/internals/array-iteration.js").forEach,me=z("hidden"),Ue="Symbol",oe="prototype",te=ce("toPrimitive"),Qe=De.set,se=De.getterFor(Ue),Y=Object[oe],X=s.Symbol,Q=t("JSON","stringify"),ge=M.f,de=U.f,Te=R.f,xe=F.f,le=V("symbols"),fe=V("op-symbols"),Ee=V("string-to-symbol-registry"),Ge=V("symbol-to-string-registry"),lt=V("wks"),Je=s.QObject,Ce=!Je||!Je[oe]||!Je[oe].findChild,et=l&&h(function(){return L(de({},"a",{get:function(){return de(this,"a",{value:7}).a}})).a!=7})?function(Pe,Ne,q){var ht=ge(Y,Ne);ht&&delete Y[Ne],de(Pe,Ne,q),ht&&Pe!==Y&&de(Y,Ne,ht)}:de,ze=function(Ne,q){var ht=le[Ne]=L(X[oe]);return Qe(ht,{type:Ue,tag:Ne,description:q}),l||(ht.description=q),ht},at=function(Ne,q,ht){Ne===Y&&at(fe,q,ht),E(Ne);var Pt=S(q);return E(ht),p(le,Pt)?(ht.enumerable?(p(Ne,me)&&Ne[me][Pt]&&(Ne[me][Pt]=!1),ht=L(ht,{enumerable:I(0,!1)})):(p(Ne,me)||de(Ne,me,I(1,{})),Ne[me][Pt]=!0),et(Ne,Pt,ht)):de(Ne,Pt,ht)},Ct=function(Ne,q){E(Ne);var ht=w(q),Pt=N(ht).concat(ne(ht));return Ke(Pt,function(ct){(!l||Ot.call(ht,ct))&&at(Ne,ct,ht[ct])}),Ne},Tt=function(Ne,q){return q===void 0?L(Ne):Ct(L(Ne),q)},Ot=function(Ne){var q=S(Ne),ht=xe.call(this,q);return this===Y&&p(le,q)&&!p(fe,q)?!1:ht||!p(this,q)||!p(le,q)||p(this,me)&&this[me][q]?ht:!0},Nt=function(Ne,q){var ht=w(Ne),Pt=S(q);if(ht===Y&&p(le,Pt)&&!p(fe,Pt))return;var ct=ge(ht,Pt);return ct&&p(le,Pt)&&!(p(ht,me)&&ht[me][Pt])&&(ct.enumerable=!0),ct},Be=function(Ne){var q=Te(w(Ne)),ht=[];return Ke(q,function(Pt){!p(le,Pt)&&!p(J,Pt)&&ht.push(Pt)}),ht},ne=function(Ne){var q=Ne===Y,ht=Te(q?fe:w(Ne)),Pt=[];return Ke(ht,function(ct){p(le,ct)&&(!q||p(Y,ct))&&Pt.push(le[ct])}),Pt};if(u||(X=function(){if(this instanceof X)throw TypeError("Symbol is not a constructor");var Ne=!arguments.length||arguments[0]===void 0?void 0:_(arguments[0]),q=$(Ne),ht=function Pt(ct){this===Y&&Pt.call(fe,ct),p(this,me)&&p(this[me],q)&&(this[me][q]=!1),et(this,q,I(1,ct))};return l&&Ce&&et(Y,q,{configurable:!0,set:ht}),ze(q,Ne)},W(X[oe],"toString",function(){return se(this).tag}),W(X,"withoutSetter",function(Pe){return ze($(Pe),Pe)}),F.f=Ot,U.f=at,M.f=Nt,D.f=R.f=Be,B.f=ne,ae.f=function(Pe){return ze(ce(Pe),Pe)},l&&(de(X[oe],"description",{configurable:!0,get:function(){return se(this).description}}),a||W(Y,"propertyIsEnumerable",Ot,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:X}),Ke(N(lt),function(Pe){Ae(Pe)}),e({target:Ue,stat:!0,forced:!u},{for:function(Ne){var q=_(Ne);if(p(Ee,q))return Ee[q];var ht=X(q);return Ee[q]=ht,Ge[ht]=q,ht},keyFor:function(Ne){if(!y(Ne))throw TypeError(Ne+" is not a symbol");if(p(Ge,Ne))return Ge[Ne]},useSetter:function(){Ce=!0},useSimple:function(){Ce=!1}}),e({target:"Object",stat:!0,forced:!u,sham:!l},{create:Tt,defineProperty:at,defineProperties:Ct,getOwnPropertyDescriptor:Nt}),e({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:Be,getOwnPropertySymbols:ne}),e({target:"Object",stat:!0,forced:h(function(){B.f(1)})},{getOwnPropertySymbols:function(Ne){return B.f(T(Ne))}}),Q){var G=!u||h(function(){var Pe=X();return Q([Pe])!="[null]"||Q({a:Pe})!="{}"||Q(Object(Pe))!="{}"});e({target:"JSON",stat:!0,forced:G},{stringify:function(Ne,q,ht){for(var Pt=[Ne],ct=1,Gt;arguments.length>ct;)Pt.push(arguments[ct++]);return Gt=q,!v(q)&&Ne===void 0||y(Ne)?void 0:(m(q)||(q=function(Zr,ir){if(typeof Gt=="function"&&(ir=Gt.call(this,Zr,ir)),!y(ir))return ir}),Pt[1]=q,Q.apply(null,Pt))}})}X[oe][te]||j(X[oe],te,X[oe].valueOf),Ie(X,Ue),J[me]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/dom-iterables.js"),t=n("./node_modules/core-js/internals/array-for-each.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var l in s){var u=e[l],h=u&&u.prototype;if(h&&h.forEach!==t)try{a(h,"forEach",t)}catch(p){h.forEach=t}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(r,i,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/dom-iterables.js"),t=n("./node_modules/core-js/modules/es.array.iterator.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=n("./node_modules/core-js/internals/well-known-symbol.js"),u=l("iterator"),h=l("toStringTag"),p=t.values;for(var m in s){var v=e[m],y=v&&v.prototype;if(y){if(y[u]!==p)try{a(y,u,p)}catch(T){y[u]=p}if(y[h]||a(y,h,m),s[m]){for(var E in t)if(y[E]!==t[E])try{a(y,E,t[E])}catch(T){y[E]=t[E]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(r){/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.8+1e68dce6 */(function(i,n){r.exports=n()})(this,function(){"use strict";function i(Je){var Ce=typeof Je;return Je!==null&&(Ce==="object"||Ce==="function")}function n(Je){return typeof Je=="function"}var e=void 0;Array.isArray?e=Array.isArray:e=function(Ce){return Object.prototype.toString.call(Ce)==="[object Array]"};var s=e,t=0,a=void 0,l=void 0,u=function(Ce,et){N[t]=Ce,N[t+1]=et,t+=2,t===2&&(l?l(D):B())};function h(Je){l=Je}function p(Je){u=Je}var m=typeof window!="undefined"?window:void 0,v=m||{},y=v.MutationObserver||v.WebKitMutationObserver,E=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",T=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function w(){return function(){return x.nextTick(D)}}function S(){return typeof a!="undefined"?function(){a(D)}:L()}function _(){var Je=0,Ce=new y(D),et=document.createTextNode("");return Ce.observe(et,{characterData:!0}),function(){et.data=Je=++Je%2}}function I(){var Je=new MessageChannel;return Je.port1.onmessage=D,function(){return Je.port2.postMessage(0)}}function L(){var Je=setTimeout;return function(){return Je(D,1)}}var N=new Array(1e3);function D(){for(var Je=0;Je>>1|le<<31)^(xe>>>8|le<<24)^xe>>>7,Ee=(le>>>1|xe<<31)^(le>>>8|xe<<24)^(le>>>7|xe<<25),Ge=i[X-2],lt=Ge.high,Je=Ge.low,Ce=(lt>>>19|Je<<13)^(lt<<3|Je>>>29)^lt>>>6,et=(Je>>>19|lt<<13)^(Je<<3|lt>>>29)^(Je>>>6|lt<<26),ze=i[X-7],at=ze.high,Ct=ze.low,Tt=i[X-16],Ot=Tt.high,Nt=Tt.low;Q=Ee+Ct,ge=fe+at+(Q>>>0>>0?1:0),Q=Q+et,ge=ge+Ce+(Q>>>0>>0?1:0),Q=Q+Nt,ge=ge+Ot+(Q>>>0>>0?1:0),de.high=ge,de.low=Q}var Be=Ke&Ue^~Ke&te,ne=me&oe^~me&Qe,G=z&$^z&ae^$&ae,Pe=J&ce^J&Ae^ce&Ae,Ne=(z>>>28|J<<4)^(z<<30|J>>>2)^(z<<25|J>>>7),q=(J>>>28|z<<4)^(J<<30|z>>>2)^(J<<25|z>>>7),ht=(Ke>>>14|me<<18)^(Ke>>>18|me<<14)^(Ke<<23|me>>>9),Pt=(me>>>14|Ke<<18)^(me>>>18|Ke<<14)^(me<<23|Ke>>>9),ct=r[X],Gt=ct.high,or=ct.low,Zr=Y+Pt,ir=se+ht+(Zr>>>0>>0?1:0),Zr=Zr+ne,ir=ir+Be+(Zr>>>0>>0?1:0),Zr=Zr+or,ir=ir+Gt+(Zr>>>0>>0?1:0),Zr=Zr+Q,ir=ir+ge+(Zr>>>0>>0?1:0),dr=q+Pe,er=Ne+G+(dr>>>0>>0?1:0);se=te,Y=Qe,te=Ue,Qe=oe,Ue=Ke,oe=me,me=De+Zr|0,Ke=Ie+ir+(me>>>0>>0?1:0)|0,Ie=ae,De=Ae,ae=$,Ae=ce,$=z,ce=J,J=Zr+dr|0,z=ir+er+(J>>>0>>0?1:0)|0}w=l.low=w+J,l.high=T+z+(w>>>0>>0?1:0),_=u.low=_+ce,u.high=S+$+(_>>>0>>0?1:0),L=h.low=L+Ae,h.high=I+ae+(L>>>0>>0?1:0),D=p.low=D+De,p.high=N+Ie+(D>>>0>>0?1:0),B=m.low=B+me,m.high=R+Ke+(B>>>0>>0?1:0),U=v.low=U+oe,v.high=M+Ue+(U>>>0>>0?1:0),j=y.low=j+Qe,y.high=F+te+(j>>>0>>0?1:0),V=E.low=V+Y,E.high=W+se+(V>>>0>>0?1:0)},_doFinalize:function(){var s=this._data,t=s.words,a=this._nDataBytes*8,l=s.sigBytes*8;t[l>>>5]|=128<<24-l%32,t[(l+128>>>10<<5)+30]=Math.floor(a/4294967296),t[(l+128>>>10<<5)+31]=a,s.sigBytes=t.length*4,this._process();var u=this._hash.toX32();return u},clone:function(){var s=A.clone.call(this);return s._hash=this._hash.clone(),s},blockSize:1024/32});x.SHA512=A._createHelper(n),x.HmacSHA512=A._createHmacHelper(n)}(),O.SHA512})},"1vzs":function(H,P,d){"use strict";d.d(P,"a",function(){return t});var O=d("q1tI"),x=d.n(O),C=d("HQEm"),A=d.n(C),b=d("gZBC"),g=d.n(b),f=d("NAnI"),c=d.n(f),o=d("V/uB"),r=d.n(o),i=d("kbBi"),n=d.n(i),e=d("w6Tc"),s=d.n(e);function t(a){var l=a.suffixIcon,u=a.clearIcon,h=a.menuItemSelectedIcon,p=a.removeIcon,m=a.loading,v=a.multiple,y=a.prefixCls,E=u;u||(E=O.createElement(n.a,null));var T=null;if(l!==void 0)T=l;else if(m)T=O.createElement(g.a,{spin:!0});else{var w="".concat(y,"-suffix");T=function(L){var N=L.open,D=L.showSearch;return N&&D?O.createElement(s.a,{className:w}):O.createElement(A.a,{className:w})}}var S=null;h!==void 0?S=h:v?S=O.createElement(c.a,null):S=null;var _=null;return p!==void 0?_=p:_=O.createElement(r.a,null),{clearIcon:E,suffixIcon:T,itemIcon:S,removeIcon:_}}},"1xaR":function(H,P,d){var O=d("ProS"),x=d("bYtY");d("qgGe"),d("NA0q"),d("RPvy");var C=d("mOdp"),A=d("y3NT"),b=d("0/Rx");O.registerVisual(x.curry(C,"sunburst")),O.registerLayout(x.curry(A,"sunburst")),O.registerProcessor(x.curry(b,"sunburst"))},"24YM":function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.SensorTabIndex=P.SensorClassName=P.SizeSensorId=void 0;var O="size-sensor-id";P.SizeSensorId=O;var x="size-sensor-object";P.SensorClassName=x;var C="-1";P.SensorTabIndex=C},"2548":function(H,P,d){var O=d("ProS"),x=d("bYtY"),C=d("6GrX"),A=d("IUWy"),b=d("IwbS"),g=d("Qxkt"),f=d("gPAo"),c=d("eRkO"),o=O.extendComponentView({type:"toolbox",render:function(i,n,e,s){var t=this.group;if(t.removeAll(),!i.get("show"))return;var a=+i.get("itemSize"),l=i.get("feature")||{},u=this._features||(this._features={}),h=[];x.each(l,function(v,y){h.push(y)}),new f(this._featureNames||[],h).add(p).update(p).remove(x.curry(p,null)).execute(),this._featureNames=h;function p(v,y){var E=h[v],T=h[y],w=l[E],S=new g(w,i,i.ecModel),_;if(s&&s.newTitle!=null&&s.featureName===E&&(w.title=s.newTitle),E&&!T){if(r(E))_={model:S,onclick:S.option.onclick,featureName:E};else{var I=A.get(E);if(!I)return;_=new I(S,n,e)}u[E]=_}else{if(_=u[T],!_)return;_.model=S,_.ecModel=n,_.api=e}if(!E&&T){_.dispose&&_.dispose(n,e);return}if(!S.get("show")||_.unusable){_.remove&&_.remove(n,e);return}m(S,_,E),S.setIconStatus=function(L,N){var D=this.option,R=this.iconPaths;D.iconStatus=D.iconStatus||{},D.iconStatus[L]=N,R[L]&&R[L].trigger(N)},_.render&&_.render(S,n,e,s)}function m(v,y,E){var T=v.getModel("iconStyle"),w=v.getModel("emphasis.iconStyle"),S=y.getIcons?y.getIcons():v.get("icon"),_=v.get("title")||{};if(typeof S=="string"){var I=S,L=_;S={},_={},S[E]=I,_[E]=L}var N=v.iconPaths={};x.each(S,function(D,R){var B=b.createIcon(D,{},{x:-a/2,y:-a/2,width:a,height:a});B.setStyle(T.getItemStyle()),B.hoverStyle=w.getItemStyle(),B.setStyle({text:_[R],textAlign:w.get("textAlign"),textBorderRadius:w.get("textBorderRadius"),textPadding:w.get("textPadding"),textFill:null});var M=i.getModel("tooltip");M&&M.get("show")&&B.attr("tooltip",x.extend({content:_[R],formatter:M.get("formatter",!0)||function(){return _[R]},formatterParams:{componentType:"toolbox",name:R,title:_[R],$vars:["name","title"]},position:M.get("position",!0)||"bottom"},M.option)),b.setHoverStyle(B),i.get("showTitle")&&(B.__title=_[R],B.on("mouseover",function(){var U=w.getItemStyle(),F=i.get("orient")==="vertical"?i.get("right")==null?"right":"left":i.get("bottom")==null?"bottom":"top";B.setStyle({textFill:w.get("textFill")||U.fill||U.stroke||"#000",textBackgroundColor:w.get("textBackgroundColor"),textPosition:w.get("textPosition")||F})}).on("mouseout",function(){B.setStyle({textFill:null,textBackgroundColor:null})})),B.trigger(v.get("iconStatus."+R)||"normal"),t.add(B),B.on("click",x.bind(y.onclick,y,n,e,R)),N[R]=B})}c.layout(t,i,e),t.add(c.makeBackground(t.getBoundingRect(),i)),t.eachChild(function(v){var y=v.__title,E=v.hoverStyle;if(E&&y){var T=C.getBoundingRect(y,C.makeFont(E)),w=v.position[0]+t.position[0],S=v.position[1]+t.position[1]+a,_=!1;S+T.height>e.getHeight()&&(E.textPosition="top",_=!0);var I=_?-5-T.height:a+8;w+T.width/2>e.getWidth()?(E.textPosition=["100%",I],E.textAlign="right"):w-T.width/2<0&&(E.textPosition=[0,I],E.textAlign="left")}})},updateView:function(i,n,e,s){x.each(this._features,function(t){t.updateView&&t.updateView(t.model,n,e,s)})},remove:function(i,n){x.each(this._features,function(e){e.remove&&e.remove(i,n)}),this.group.removeAll()},dispose:function(i,n){x.each(this._features,function(e){e.dispose&&e.dispose(i,n)})}});function r(i){return i.indexOf("my")===0}H.exports=o},"2B6p":function(H,P){function d(O,x,C){var A=O.getZoom(),b=O.getCenter(),g=x.zoom,f=O.dataToPoint(b);if(x.dx!=null&&x.dy!=null){f[0]-=x.dx,f[1]-=x.dy;var b=O.pointToData(f);O.setCenter(b)}if(g!=null){if(C){var c=C.min||0,o=C.max||Infinity;g=Math.max(Math.min(A*g,o),c)/A}O.scale[0]*=g,O.scale[1]*=g;var r=O.position,i=(x.originX-r[0])*(g-1),n=(x.originY-r[1])*(g-1);r[0]-=i,r[1]-=n,O.updateTransform();var b=O.pointToData(f);O.setCenter(b),O.setZoom(g*A)}return{center:O.getCenter(),zoom:O.getZoom()}}P.updateCenterAndZoom=d},"2BaD":function(H,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),g=function(o,r){return x.createElement(b.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:A}))};g.displayName="CloseCircleOutlined";var f=P.a=x.forwardRef(g)},"2DNl":function(H,P,d){var O=d("IMiH"),x=d("loD1"),C=d("59Ip"),A=d("aKvl"),b=d("n1HI"),g=d("hX1E"),f=g.normalizeRadian,c=d("Sj9i"),o=d("hyiK"),r=O.CMD,i=Math.PI*2,n=1e-4;function e(y,E){return Math.abs(y-E)E&&D>w&&D>_&&D>L||D1&&a(),U=c.cubicAt(E,w,_,L,t[0]),M>1&&(F=c.cubicAt(E,w,_,L,t[1]))),M===2?WE&&L>w&&L>_||L=0&&D<=1){for(var R=0,B=c.quadraticAt(E,w,_,D),M=0;MT||L<-T)return 0;var N=Math.sqrt(T*T-L*L);s[0]=-N,s[1]=N;var D=Math.abs(w-S);if(D<1e-4)return 0;if(D%i<1e-4){w=0,S=i;var R=_?1:-1;return I>=s[0]+y&&I<=s[1]+y?R:0}if(_){var N=w;w=f(S),S=f(N)}else w=f(w),S=f(S);w>S&&(S+=i);for(var B=0,M=0;M<2;M++){var U=s[M];if(U+y>I){var F=Math.atan2(L,U),R=_?1:-1;F<0&&(F=i+F),(F>=w&&F<=S||F+i>=w&&F+i<=S)&&(F>Math.PI/2&&F1&&(T||(_+=o(I,L,N,D,w,S))),R===1&&(I=y[R],L=y[R+1],N=I,D=L);switch(B){case r.M:N=y[R++],D=y[R++],I=N,L=D;break;case r.L:if(T){if(x.containStroke(I,L,y[R],y[R+1],E,w,S))return!0}else _+=o(I,L,y[R],y[R+1],w,S)||0;I=y[R++],L=y[R++];break;case r.C:if(T){if(C.containStroke(I,L,y[R++],y[R++],y[R++],y[R++],y[R],y[R+1],E,w,S))return!0}else _+=l(I,L,y[R++],y[R++],y[R++],y[R++],y[R],y[R+1],w,S)||0;I=y[R++],L=y[R++];break;case r.Q:if(T){if(A.containStroke(I,L,y[R++],y[R++],y[R],y[R+1],E,w,S))return!0}else _+=u(I,L,y[R++],y[R++],y[R],y[R+1],w,S)||0;I=y[R++],L=y[R++];break;case r.A:var M=y[R++],U=y[R++],F=y[R++],j=y[R++],W=y[R++],V=y[R++];R+=1;var z=1-y[R++],J=Math.cos(W)*F+M,$=Math.sin(W)*j+U;R>1?_+=o(I,L,J,$,w,S):(N=J,D=$);var ce=(w-M)*j/F+M;if(T){if(b.containStroke(M,U,j,W,W+V,z,E,ce,S))return!0}else _+=h(M,U,j,W,W+V,z,ce,S);I=Math.cos(W+V)*F+M,L=Math.sin(W+V)*j+U;break;case r.R:N=I=y[R++],D=L=y[R++];var ae=y[R++],Ae=y[R++],J=N+ae,$=D+Ae;if(T){if(x.containStroke(N,D,J,D,E,w,S)||x.containStroke(J,D,J,$,E,w,S)||x.containStroke(J,$,N,$,E,w,S)||x.containStroke(N,$,N,D,E,w,S))return!0}else _+=o(J,D,J,$,w,S),_+=o(N,$,N,D,w,S);break;case r.Z:if(T){if(x.containStroke(I,L,N,D,E,w,S))return!0}else _+=o(I,L,N,D,w,S);I=N,L=D;break}}return!T&&!e(L,D)&&(_+=o(I,L,N,D,w,S)||0),_!==0}function m(y,E,T){return p(y,0,!1,E,T)}function v(y,E,T,w){return p(y,E,!0,T,w)}P.contain=m,P.containStroke=v},"2dDv":function(H,P,d){var O=d("bYtY"),x=d("Fofx"),C=d("+TT/"),A=d("aX7z"),b=d("D1WM"),g=d("IwbS"),f=d("OELB"),c=d("72pK"),o=O.each,r=Math.min,i=Math.max,n=Math.floor,e=Math.ceil,s=f.round,t=Math.PI;function a(m,v,y){this._axesMap=O.createHashMap(),this._axesLayout={},this.dimensions=m.dimensions,this._rect,this._model=m,this._init(m,v,y)}a.prototype={type:"parallel",constructor:a,_init:function(m,v,y){var E=m.dimensions,T=m.parallelAxisIndex;o(E,function(w,S){var _=T[S],I=v.getComponent("parallelAxis",_),L=this._axesMap.set(w,new b(w,A.createScaleByModel(I),[0,0],I.get("type"),_)),N=L.type==="category";L.onBand=N&&I.get("boundaryGap"),L.inverse=I.get("inverse"),I.axis=L,L.model=I,L.coordinateSystem=I.coordinateSystem=this},this)},update:function(m,v){this._updateAxesFromSeries(this._model,m)},containPoint:function(m){var v=this._makeLayoutInfo(),y=v.axisBase,E=v.layoutBase,T=v.pixelDimIndex,w=m[1-T],S=m[T];return w>=y&&w<=y+v.axisLength&&S>=E&&S<=E+v.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(m,v){v.eachSeries(function(y){if(!m.contains(y,v))return;var E=y.getData();o(this.dimensions,function(T){var w=this._axesMap.get(T);w.scale.unionExtentFromData(E,E.mapDimension(T)),A.niceScaleExtent(w.scale,w.model)},this)},this)},resize:function(m,v){this._rect=C.getLayoutRect(m.getBoxLayoutParams(),{width:v.getWidth(),height:v.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var m=this._model,v=this._rect,y=["x","y"],E=["width","height"],T=m.get("layout"),w=T==="horizontal"?0:1,S=v[E[w]],_=[0,S],I=this.dimensions.length,L=l(m.get("axisExpandWidth"),_),N=l(m.get("axisExpandCount")||0,[0,I]),D=m.get("axisExpandable")&&I>3&&I>N&&N>1&&L>0&&S>0,R=m.get("axisExpandWindow"),B;if(R)B=l(R[1]-R[0],_),R[1]=R[0]+B;else{B=l(L*(N-1),_);var M=m.get("axisExpandCenter")||n(I/2);R=[L*M-B/2],R[1]=R[0]+B}var U=(S-B)/(I-N);U<3&&(U=0);var F=[n(s(R[0]/L,1))+1,e(s(R[1]/L,1))-1],j=U/L*R[0];return{layout:T,pixelDimIndex:w,layoutBase:v[y[w]],layoutLength:S,axisBase:v[y[1-w]],axisLength:v[E[1-w]],axisExpandable:D,axisExpandWidth:L,axisCollapseWidth:U,axisExpandWindow:R,axisCount:I,winInnerIndices:F,axisExpandWindow0Pos:j}},_layoutAxes:function(){var m=this._rect,v=this._axesMap,y=this.dimensions,E=this._makeLayoutInfo(),T=E.layout;v.each(function(w){var S=[0,E.axisLength],_=w.inverse?1:0;w.setExtent(S[_],S[1-_])}),o(y,function(w,S){var _=(E.axisExpandable?h:u)(S,E),I={horizontal:{x:_.position,y:E.axisLength},vertical:{x:0,y:_.position}},L={horizontal:t/2,vertical:0},N=[I[T].x+m.x,I[T].y+m.y],D=L[T],R=x.create();x.rotate(R,R,D),x.translate(R,R,N),this._axesLayout[w]={position:N,rotation:D,transform:R,axisNameAvailableWidth:_.axisNameAvailableWidth,axisLabelShow:_.axisLabelShow,nameTruncateMaxWidth:_.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(m){return this._axesMap.get(m)},dataToPoint:function(m,v){return this.axisCoordToPoint(this._axesMap.get(v).dataToCoord(m),v)},eachActiveState:function(m,v,y,E){y==null&&(y=0),E==null&&(E=m.count());var T=this._axesMap,w=this.dimensions,S=[],_=[];O.each(w,function(U){S.push(m.mapDimension(U)),_.push(T.get(U).model)});for(var I=this.hasAxisBrushed(),L=y;LT*(1-N[0])?(I="jump",_=S-T*(1-N[2])):(_=S-T*N[1])>=0&&(_=S-T*(1-N[1]))<=0&&(_=0),_*=v.axisExpandWidth/L,_?c(_,E,w,"all"):I="none";else{var T=E[1]-E[0],R=w[1]*S/T;E=[i(0,R-T/2)],E[1]=r(w[1],E[0]+T),E[0]=E[1]-T}return{axisExpandWindow:E,behavior:I}}};function l(m,v){return r(i(m,v[0]),v[1])}function u(m,v){var y=v.layoutLength/(v.axisCount-1);return{position:y*m,axisNameAvailableWidth:y,axisLabelShow:!0}}function h(m,v){var y=v.layoutLength,E=v.axisExpandWidth,T=v.axisCount,w=v.axisCollapseWidth,S=v.winInnerIndices,_,I=w,L=!1,N;return m1&&arguments[1]!==void 0?arguments[1]:1,ut=$r.length,Jt=0;Jt1&&arguments[1]!==void 0?arguments[1]:!1;return Object(j.a)(_e).map(function(Le,Ze){if(!e.isValidElement(Le)||!Le.type)return null;var nt=Le.type.isSelectOptGroup,ft=Le.key,Dt=Le.props,Ar=Dt.children,Mr=Object(v.a)(Dt,["children"]);return Oe||!nt?W(Le):Object(F.a)(Object(F.a)({key:"__RC_SELECT_GRP__".concat(ft===null?Ze:ft,"__"),label:ft},Mr),{},{options:V(Ar)})}).filter(function(Le){return Le})}var z=d("KQm4"),J=d("T5bk"),$=d("U8pU"),ce=d("Kwbf");function ae(_e){return Array.isArray(_e)?_e:_e!==void 0?[_e]:[]}function Ae(_e,Oe){var Le=Oe.labelInValue,Ze=Oe.combobox;if(_e===void 0||_e===""&&Ze)return[];var nt=Array.isArray(_e)?_e:[_e];return Le?nt.map(function(ft){var Dt=ft.key,Ar=ft.value;return Ar!==void 0?Ar:Dt}):nt}function Ie(_e,Oe){var Le=Oe.optionLabelProp,Ze=Oe.labelInValue,nt=Oe.prevValue,ft=Oe.options,Dt=Oe.getLabeledValue,Ar=_e;return Ze&&(Ar=Ar.map(function(Mr){return Dt(Mr,{options:ft,prevValue:nt,labelInValue:Ze,optionLabelProp:Le})})),Ar}function De(_e,Oe){var Le=Object(z.a)(Oe),Ze;for(Ze=_e.length-1;Ze>=0&&_e[Ze].disabled;Ze-=1);var nt=null;return Ze!==-1&&(nt=Le[Ze],Le.splice(Ze,1)),{values:Le,removedValue:nt}}var Ke=typeof window!="undefined"&&window.document&&window.document.documentElement,me=Ke,Ue=0;function oe(){var _e;return me?(_e=Ue,Ue+=1):_e="TEST_OR_SSR",_e}function te(_e,Oe){var Le=_e.key,Ze;return"value"in _e&&(Ze=_e.value),Le!=null?Le:Ze!==void 0?Ze:"rc-index-key-".concat(Oe)}function Qe(_e){var Oe=[];function Le(Ze,nt){Ze.forEach(function(ft){nt||!("options"in ft)?Oe.push({key:te(ft,Oe.length),groupOption:nt,data:ft}):(Oe.push({key:te(ft,Oe.length),group:!0,data:ft}),Le(ft.options,!0))})}return Le(_e,!1),Oe}function se(_e){var Oe=Object(F.a)({},_e);return"props"in Oe||Object.defineProperty(Oe,"props",{get:function(){return Object(ce.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Oe}}),Oe}function Y(_e,Oe){var Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ze=Le.prevValueOptions,nt=Ze===void 0?[]:Ze,ft=new Map;return Oe.forEach(function(Dt){if(!Dt.group){var Ar=Dt.data;ft.set(Ar.value,Ar)}}),_e.map(function(Dt){var Ar=ft.get(Dt);return Ar||(Ar=Object(F.a)({},nt.find(function(Mr){return Mr._INTERNAL_OPTION_VALUE_===Dt}))),se(Ar)})}var X=function(Oe,Le){var Ze=Le.options,nt=Le.prevValue,ft=Le.labelInValue,Dt=Le.optionLabelProp,Ar=Y([Oe],Ze)[0],Mr={value:Oe},un,Rt=ae(nt);return ft&&(un=Rt.find(function(it){return Object($.a)(it)==="object"&&"value"in it?it.value===Oe:it.key===Oe})),un&&Object($.a)(un)==="object"&&"label"in un?(Mr.label=un.label,Ar&&typeof un.label=="string"&&typeof Ar[Dt]=="string"&&un.label.trim()!==Ar[Dt].trim()&&Object(ce.a)(!1,"`label` of `value` is not same as `label` in Select options.")):Ar&&Dt in Ar?Mr.label=Ar[Dt]:Mr.label=Oe,Mr.key=Mr.value,Mr};function Q(_e){return ae(_e).join("")}function ge(_e){return function(Oe,Le){var Ze=Oe.toLowerCase();if("options"in Le)return Q(Le.label).toLowerCase().includes(Ze);var nt=Le[_e],ft=Q(nt).toLowerCase();return ft.includes(Ze)}}function de(_e,Oe,Le){var Ze=Le.optionFilterProp,nt=Le.filterOption,ft=[],Dt;return nt===!1?Oe:(typeof nt=="function"?Dt=nt:Dt=ge(Ze),Oe.forEach(function(Ar){if("options"in Ar){var Mr=Dt(_e,Ar);if(Mr)ft.push(Ar);else{var un=Ar.options.filter(function(Rt){return Dt(_e,Rt)});un.length&&ft.push(Object(F.a)(Object(F.a)({},Ar),{},{options:un}))}return}Dt(_e,se(Ar))&&ft.push(Ar)}),ft)}function Te(_e,Oe){if(!Oe||!Oe.length)return null;var Le=!1;function Ze(ft,Dt){var Ar=Object(J.a)(Dt),Mr=Ar[0],un=Ar.slice(1);if(!Mr)return[ft];var Rt=ft.split(Mr);return Le=Le||Rt.length>1,Rt.reduce(function(it,st){return[].concat(Object(z.a)(it),Object(z.a)(Ze(st,un)))},[]).filter(function(it){return it})}var nt=Ze(_e,Oe);return Le?nt:null}function xe(_e,Oe){var Le=Y([_e],Oe)[0];return Le.disabled}function le(_e,Oe,Le,Ze){var nt=ae(Oe).slice().sort(),ft=Object(z.a)(_e),Dt=new Set;return _e.forEach(function(Ar){Ar.options?Ar.options.forEach(function(Mr){Dt.add(Mr.value)}):Dt.add(Ar.value)}),nt.forEach(function(Ar){var Mr=Ze?Ar.value:Ar;if(!Dt.has(Mr)){var un;ft.push(Ze?(un={},Object(m.a)(un,Le,Ar.label),Object(m.a)(un,"value",Mr),un):{value:Mr})}}),ft}var fe=d("6cGi"),Ee=d("HTfv"),Ge=d("c+Xe"),lt=function(Oe,Le){var Ze=Oe.prefixCls,nt=Oe.id,ft=Oe.inputElement,Dt=Oe.disabled,Ar=Oe.tabIndex,Mr=Oe.autoFocus,un=Oe.autoComplete,Rt=Oe.editable,it=Oe.accessibilityIndex,st=Oe.value,rr=Oe.onKeyDown,Bt=Oe.onMouseDown,_t=Oe.onChange,Ht=Oe.onPaste,pt=Oe.onCompositionStart,Ut=Oe.onCompositionEnd,Sr=Oe.open,mr=Oe.attrs,vr=ft||e.createElement("input",null),Jr=vr,$r=Jr.ref,Pn=Jr.props,Dn=Pn.onKeyDown,Zn=Pn.onChange,li=Pn.onMouseDown,Ai=Pn.onCompositionStart,Ii=Pn.onCompositionEnd,$e=Pn.style;return vr=e.cloneElement(vr,Object(F.a)(Object(F.a)({id:nt,ref:Object(Ge.a)(Le,$r),disabled:Dt,tabIndex:Ar,autoComplete:un||"off",autoFocus:Mr,className:"".concat(Ze,"-selection-search-input"),style:Object(F.a)(Object(F.a)({},$e),{},{opacity:Rt?null:0}),role:"combobox","aria-expanded":Sr,"aria-haspopup":"listbox","aria-owns":"".concat(nt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(nt,"_list"),"aria-activedescendant":"".concat(nt,"_list_").concat(it)},mr),{},{value:Rt?st:"",readOnly:!Rt,unselectable:Rt?null:"on",onKeyDown:function(Re){rr(Re),Dn&&Dn(Re)},onMouseDown:function(Re){Bt(Re),li&&li(Re)},onChange:function(Re){_t(Re),Zn&&Zn(Re)},onCompositionStart:function(Re){pt(Re),Ai&&Ai(Re)},onCompositionEnd:function(Re){Ut(Re),Ii&&Ii(Re)},onPaste:Ht})),vr},Je=e.forwardRef(lt);Je.displayName="Input";var Ce=Je;function et(_e,Oe){me?e.useLayoutEffect(_e,Oe):e.useEffect(_e,Oe)}var ze="__RC_SELECT_MAX_REST_COUNT__",at=function(Oe){var Le=Oe.id,Ze=Oe.prefixCls,nt=Oe.values,ft=Oe.open,Dt=Oe.searchValue,Ar=Oe.inputRef,Mr=Oe.placeholder,un=Oe.disabled,Rt=Oe.mode,it=Oe.showSearch,st=Oe.autoFocus,rr=Oe.autoComplete,Bt=Oe.accessibilityIndex,_t=Oe.tabIndex,Ht=Oe.removeIcon,pt=Oe.choiceTransitionName,Ut=Oe.maxTagCount,Sr=Oe.maxTagTextLength,mr=Oe.maxTagPlaceholder,vr=mr===void 0?function(pn){return"+ ".concat(pn.length," ...")}:mr,Jr=Oe.tagRender,$r=Oe.onSelect,Pn=Oe.onInputChange,Dn=Oe.onInputPaste,Zn=Oe.onInputKeyDown,li=Oe.onInputMouseDown,Ai=Oe.onInputCompositionStart,Ii=Oe.onInputCompositionEnd,$e=e.useState(!1),Se=Object(y.a)($e,2),Re=Se[0],je=Se[1],Ye=e.useRef(null),Ve=e.useState(0),qe=Object(y.a)(Ve,2),xt=qe[0],ut=qe[1];e.useEffect(function(){je(!0)},[]);var Jt=ft||Rt==="tags"?Dt:"",Rr=Rt==="tags"||ft&⁢et(function(){ut(Ye.current.scrollWidth)},[Jt]);var Ir=nt,Gr;typeof Ut=="number"&&(Gr=nt.length-Ut,Ir=nt.slice(0,Ut)),typeof Sr=="number"&&(Ir=Ir.map(function(pn){var hr=pn.label,mn=Object(v.a)(pn,["label"]),en=hr;if(typeof hr=="string"||typeof hr=="number"){var kr=String(en);kr.length>Sr&&(en="".concat(kr.slice(0,Sr),"..."))}return Object(F.a)(Object(F.a)({},mn),{},{label:en})})),Gr>0&&Ir.push({key:ze,label:typeof vr=="function"?vr(nt.slice(Ut)):vr});var qt=e.createElement(Ee.CSSMotionList,{component:!1,keys:Ir,motionName:pt,motionAppear:Re},function(pn){var hr=pn.key,mn=pn.label,en=pn.value,kr=pn.disabled,Xn=pn.className,di=pn.style,_i=hr||en,Br=hr!==ze&&!kr,sn=function(vt){vt.preventDefault(),vt.stopPropagation()},Sn=function(vt){vt&&vt.stopPropagation(),$r(en,{selected:!1})};return typeof Jr=="function"?e.createElement("span",{key:_i,onMouseDown:sn,className:Xn,style:di},Jr({label:mn,value:en,disabled:kr,closable:Br,onClose:Sn})):e.createElement("span",{key:_i,className:a()(Xn,"".concat(Ze,"-selection-item"),Object(m.a)({},"".concat(Ze,"-selection-item-disabled"),kr)),style:di},e.createElement("span",{className:"".concat(Ze,"-selection-item-content")},mn),Br&&e.createElement(I,{className:"".concat(Ze,"-selection-item-remove"),onMouseDown:sn,onClick:Sn,customizeIcon:Ht},"\xD7"))});return e.createElement(e.Fragment,null,qt,e.createElement("span",{className:"".concat(Ze,"-selection-search"),style:{width:xt}},e.createElement(Ce,{ref:Ar,open:ft,prefixCls:Ze,id:Le,inputElement:null,disabled:un,autoFocus:st,autoComplete:rr,editable:Rr,accessibilityIndex:Bt,value:Jt,onKeyDown:Zn,onMouseDown:li,onChange:Pn,onPaste:Dn,onCompositionStart:Ai,onCompositionEnd:Ii,tabIndex:_t,attrs:Object(T.a)(Oe,!0)}),e.createElement("span",{ref:Ye,className:"".concat(Ze,"-selection-search-mirror"),"aria-hidden":!0},Jt,"\xA0")),!nt.length&&!Jt&&e.createElement("span",{className:"".concat(Ze,"-selection-placeholder")},Mr))},Ct=at,Tt=function(Oe){var Le=Oe.inputElement,Ze=Oe.prefixCls,nt=Oe.id,ft=Oe.inputRef,Dt=Oe.disabled,Ar=Oe.autoFocus,Mr=Oe.autoComplete,un=Oe.accessibilityIndex,Rt=Oe.mode,it=Oe.open,st=Oe.values,rr=Oe.placeholder,Bt=Oe.tabIndex,_t=Oe.showSearch,Ht=Oe.searchValue,pt=Oe.activeValue,Ut=Oe.onInputKeyDown,Sr=Oe.onInputMouseDown,mr=Oe.onInputChange,vr=Oe.onInputPaste,Jr=Oe.onInputCompositionStart,$r=Oe.onInputCompositionEnd,Pn=e.useState(!1),Dn=Object(y.a)(Pn,2),Zn=Dn[0],li=Dn[1],Ai=Rt==="combobox",Ii=Ai||_t&&it,$e=st[0],Se=Ht||"";Ai&&pt&&!Zn&&(Se=pt),e.useEffect(function(){Ai&&li(!1)},[Ai,pt]);var Re=Rt!=="combobox"&&!it?!1:!!Se,je=$e&&(typeof $e.label=="string"||typeof $e.label=="number")?$e.label.toString():void 0;return e.createElement(e.Fragment,null,e.createElement("span",{className:"".concat(Ze,"-selection-search")},e.createElement(Ce,{ref:ft,prefixCls:Ze,id:nt,open:it,inputElement:Le,disabled:Dt,autoFocus:Ar,autoComplete:Mr,editable:Ii,accessibilityIndex:un,value:Se,onKeyDown:Ut,onMouseDown:Sr,onChange:function(Ve){li(!0),mr(Ve)},onPaste:vr,onCompositionStart:Jr,onCompositionEnd:$r,tabIndex:Bt,attrs:Object(T.a)(Oe,!0)})),!Ai&&$e&&!Re&&e.createElement("span",{className:"".concat(Ze,"-selection-item"),title:je},$e.label),!$e&&!Re&&e.createElement("span",{className:"".concat(Ze,"-selection-placeholder")},rr))},Ot=Tt;function Nt(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Oe=e.useRef(null),Le=e.useRef(null);e.useEffect(function(){return function(){window.clearTimeout(Le.current)}},[]);function Ze(nt){(nt||Oe.current===null)&&(Oe.current=nt),window.clearTimeout(Le.current),Le.current=window.setTimeout(function(){Oe.current=null},_e)}return[function(){return Oe.current},Ze]}var Be=function(Oe,Le){var Ze=Object(e.useRef)(null),nt=Object(e.useRef)(!1),ft=Oe.prefixCls,Dt=Oe.multiple,Ar=Oe.open,Mr=Oe.mode,un=Oe.showSearch,Rt=Oe.tokenWithEnter,it=Oe.onSearch,st=Oe.onSearchSubmit,rr=Oe.onToggleOpen,Bt=Oe.onInputKeyDown,_t=Oe.domRef;e.useImperativeHandle(Le,function(){return{focus:function(){Ze.current.focus()},blur:function(){Ze.current.blur()}}});var Ht=Nt(0),pt=Object(y.a)(Ht,2),Ut=pt[0],Sr=pt[1],mr=function(Re){var je=Re.which;(je===E.a.UP||je===E.a.DOWN)&&Re.preventDefault(),Bt&&Bt(Re),je===E.a.ENTER&&Mr==="tags"&&!nt.current&&!Ar&&st(Re.target.value),[E.a.SHIFT,E.a.TAB,E.a.BACKSPACE,E.a.ESC].includes(je)||rr(!0)},vr=function(){Sr(!0)},Jr=Object(e.useRef)(null),$r=function(Re){it(Re,!0,nt.current)!==!1&&rr(!0)},Pn=function(){nt.current=!0},Dn=function(){nt.current=!1},Zn=function(Re){var je=Re.target.value;if(Rt&&Jr.current&&/[\r\n]/.test(Jr.current)){var Ye=Jr.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");je=je.replace(Ye,Jr.current)}Jr.current=null,$r(je)},li=function(Re){var je=Re.clipboardData,Ye=je.getData("text");Jr.current=Ye},Ai=function(Re){var je=Ut();if(Re.target!==Ze.current){je||Re.preventDefault();var Ye=document.body.style.msTouchAction!==void 0;Ye?setTimeout(function(){Ze.current.focus()}):Ze.current.focus()}(Mr!=="combobox"&&(!un||!je)||!Ar)&&(Ar&&it("",!0,!1),rr())},Ii={inputRef:Ze,onInputKeyDown:mr,onInputMouseDown:vr,onInputChange:Zn,onInputPaste:li,onInputCompositionStart:Pn,onInputCompositionEnd:Dn},$e=Dt?e.createElement(Ct,Object.assign({},Oe,Ii)):e.createElement(Ot,Object.assign({},Oe,Ii));return e.createElement("div",{ref:_t,className:"".concat(ft,"-selector"),onMouseDown:Ai},$e)},ne=e.forwardRef(Be);ne.displayName="Selector";var G=ne,Pe=d("Uaa1"),Ne=function(Oe){var Le=typeof Oe!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Le,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Le,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Le,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Le,adjustY:1}}}},q=function(Oe,Le){var Ze=Oe.prefixCls,nt=Oe.disabled,ft=Oe.visible,Dt=Oe.children,Ar=Oe.popupElement,Mr=Oe.containerWidth,un=Oe.animation,Rt=Oe.transitionName,it=Oe.dropdownStyle,st=Oe.dropdownClassName,rr=Oe.direction,Bt=rr===void 0?"ltr":rr,_t=Oe.dropdownMatchSelectWidth,Ht=_t===void 0?!0:_t,pt=Oe.dropdownRender,Ut=Oe.dropdownAlign,Sr=Oe.getPopupContainer,mr=Oe.empty,vr=Oe.getTriggerDOMNode,Jr=Object(v.a)(Oe,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),$r="".concat(Ze,"-dropdown"),Pn=Ar;pt&&(Pn=pt(Ar));var Dn=e.useMemo(function(){return Ne(Ht)},[Ht]),Zn=un?"".concat($r,"-").concat(un):Rt,li=e.useRef(null);e.useImperativeHandle(Le,function(){return{getPopupElement:function(){return li.current}}});var Ai=Object(F.a)({minWidth:Mr},it);return typeof Ht=="number"?Ai.width=Ht:Ht&&(Ai.width=Mr),e.createElement(Pe.a,Object.assign({},Jr,{showAction:[],hideAction:[],popupPlacement:Bt==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:Dn,prefixCls:$r,popupTransitionName:Zn,popup:e.createElement("div",{ref:li},Pn),popupAlign:Ut,popupVisible:ft,getPopupContainer:Sr,popupClassName:a()(st,Object(m.a)({},"".concat($r,"-empty"),mr)),popupStyle:Ai,getTriggerDOMNode:vr}),Dt)},ht=e.forwardRef(q);ht.displayName="SelectTrigger";var Pt=ht,ct="RC_SELECT_INTERNAL_PROPS_MARK";function Gt(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Oe=e.useState(!1),Le=Object(y.a)(Oe,2),Ze=Le[0],nt=Le[1],ft=e.useRef(null),Dt=function(){window.clearTimeout(ft.current)};e.useEffect(function(){return Dt},[]);var Ar=function(un,Rt){Dt(),ft.current=window.setTimeout(function(){nt(un),Rt&&Rt()},_e)};return[Ze,Ar,Dt]}function or(_e,Oe,Le){var Ze=e.useRef(null);Ze.current={elements:_e.filter(function(nt){return nt}),open:Oe,triggerOpen:Le},e.useEffect(function(){function nt(ft){var Dt=ft.target;Ze.current.open&&Ze.current.elements.every(function(Ar){return!Ar.contains(Dt)&&Ar!==Dt})&&Ze.current.triggerOpen(!1)}return window.addEventListener("mousedown",nt),function(){return window.removeEventListener("mousedown",nt)}},[])}function Zr(_e){var Oe=e.useRef(_e),Le=e.useMemo(function(){var Ze=new Map;Oe.current.forEach(function(ft){var Dt=ft.value,Ar=ft.label;Dt!==Ar&&Ze.set(Dt,Ar)});var nt=_e.map(function(ft){var Dt=Ze.get(ft.value);return ft.value===ft.label&&Dt?Object(F.a)(Object(F.a)({},ft),{},{label:Dt}):ft});return Oe.current=nt,nt},[_e]);return Le}function ir(_e,Oe){var Le=e.useRef(null),Ze=e.useMemo(function(){var ft=new Map;return Oe.forEach(function(Dt){var Ar=Dt.data.value;ft.set(Ar,Dt)}),ft},[_e,Oe]);Le.current=Ze;var nt=function(Dt){return Dt.map(function(Ar){return Le.current.get(Ar)}).filter(Boolean)};return nt}var dr=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function er(_e){var Oe=_e.prefixCls,Le=_e.components.optionList,Ze=_e.convertChildrenToData,nt=_e.flattenOptions,ft=_e.getLabeledValue,Dt=_e.filterOptions,Ar=_e.isValueDisabled,Mr=_e.findValueOption,un=_e.warningProps,Rt=_e.fillOptionsWithMissingValue,it=_e.omitDOMProps;function st(Bt,_t){var Ht,pt=Bt.prefixCls,Ut=pt===void 0?Oe:pt,Sr=Bt.className,mr=Bt.id,vr=Bt.open,Jr=Bt.defaultOpen,$r=Bt.options,Pn=Bt.children,Dn=Bt.mode,Zn=Bt.value,li=Bt.defaultValue,Ai=Bt.labelInValue,Ii=Bt.showSearch,$e=Bt.inputValue,Se=Bt.searchValue,Re=Bt.filterOption,je=Bt.optionFilterProp,Ye=je===void 0?"value":je,Ve=Bt.autoClearSearchValue,qe=Ve===void 0?!0:Ve,xt=Bt.onSearch,ut=Bt.allowClear,Jt=Bt.clearIcon,Rr=Bt.showArrow,Ir=Bt.inputIcon,Gr=Bt.menuItemSelectedIcon,qt=Bt.disabled,pn=Bt.loading,hr=Bt.defaultActiveFirstOption,mn=Bt.notFoundContent,en=mn===void 0?"Not Found":mn,kr=Bt.optionLabelProp,Xn=Bt.backfill,di=Bt.getInputElement,_i=Bt.getPopupContainer,Br=Bt.listHeight,sn=Br===void 0?200:Br,Sn=Bt.listItemHeight,kt=Sn===void 0?20:Sn,vt=Bt.animation,Et=Bt.transitionName,Lt=Bt.virtual,Mt=Bt.dropdownStyle,bt=Bt.dropdownClassName,Qt=Bt.dropdownMatchSelectWidth,tr=Bt.dropdownRender,ar=Bt.dropdownAlign,yr=Bt.showAction,xn=yr===void 0?[]:yr,vn=Bt.direction,Wn=Bt.tokenSeparators,Yr=Bt.tagRender,xr=Bt.onPopupScroll,ln=Bt.onDropdownVisibleChange,On=Bt.onFocus,In=Bt.onBlur,Un=Bt.onKeyUp,ti=Bt.onKeyDown,ui=Bt.onMouseDown,si=Bt.onChange,Pi=Bt.onSelect,zi=Bt.onDeselect,Ri=Bt.onClear,Yi=Bt.internalProps,$n=Yi===void 0?{}:Yi,gn=Object(v.a)(Bt,["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"]),mi=$n.mark===ct,Hi=it?it(gn):gn;dr.forEach(function(Wi){delete Hi[Wi]});var Li=Object(e.useRef)(null),Bi=Object(e.useRef)(null),wr=Object(e.useRef)(null),lr=Object(e.useRef)(null),on=Object(e.useMemo)(function(){return(Wn||[]).some(function(Wi){return[` `,`\r `].includes(Wi)})},[Wn]),Zt=Gt(),br=Object(y.a)(Zt,3),Or=br[0],Wr=br[1],An=br[2],wt=Object(e.useState)(),pr=Object(y.a)(wt,2),gr=pr[0],Fr=pr[1];Object(e.useEffect)(function(){Fr("rc_select_".concat(oe()))},[]);var nn=mr||gr,cn=kr;cn===void 0&&(cn=$r?"label":"children");var tn=Dn==="combobox"?!1:Ai,Ln=Dn==="tags"||Dn==="multiple",Tn=Ii!==void 0?Ii:Ln||Dn==="combobox",Gn=Object(e.useRef)(null);e.useImperativeHandle(_t,function(){return{focus:wr.current.focus,blur:wr.current.blur}});var ci=Object(fe.a)(li,{value:Zn}),Jn=Object(y.a)(ci,2),pi=Jn[0],Si=Jn[1],Ni=Object(e.useMemo)(function(){return Ae(pi,{labelInValue:tn,combobox:Dn==="combobox"})},[pi,tn]),xi=Object(e.useMemo)(function(){return new Set(Ni)},[Ni]),yi=Object(e.useState)(null),vi=Object(y.a)(yi,2),Ti=vi[0],Ui=vi[1],$i=Object(e.useState)(""),Di=Object(y.a)($i,2),ua=Di[0],aa=Di[1],Xi=ua;Dn==="combobox"&&pi!==void 0?Xi=pi:Se!==void 0?Xi=Se:$e&&(Xi=$e);var Vi=Object(e.useMemo)(function(){var Wi=$r;return Wi===void 0&&(Wi=Ze(Pn)),Dn==="tags"&&Rt&&(Wi=Rt(Wi,pi,cn,Ai)),Wi||[]},[$r,Pn,Dn,pi]),ta=Object(e.useMemo)(function(){return nt(Vi,Bt)},[Vi]),Gi=ir(Ni,ta),ga=Object(e.useMemo)(function(){if(!Xi||!Tn)return Object(z.a)(Vi);var Wi=Dt(Xi,Vi,{optionFilterProp:Ye,filterOption:Dn==="combobox"&&Re===void 0?function(){return!0}:Re});return Dn==="tags"&&Wi.every(function(qi){return qi[Ye]!==Xi})&&Wi.unshift({value:Xi,label:Xi,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Wi},[Vi,Xi,Dn,Tn]),ra=Object(e.useMemo)(function(){return nt(ga,Bt)},[ga]);Object(e.useEffect)(function(){lr.current&&lr.current.scrollTo&&lr.current.scrollTo(0)},[Xi]);var pa=Object(e.useMemo)(function(){var Wi=Ni.map(function(qi){var ca=Gi([qi]),ma=ft(qi,{options:ca,prevValue:pi,labelInValue:tn,optionLabelProp:cn});return Object(F.a)(Object(F.a)({},ma),{},{disabled:Ar(qi,ca)})});return!Dn&&Wi.length===1&&Wi[0].value===null&&Wi[0].label===null?[]:Wi},[pi,Vi,Dn]);pa=Zr(pa);var _a=function(qi,ca,ma){var ka=Gi([qi]),La=Mr([qi],ka)[0];if(!$n.skipTriggerSelect){var Za=tn?ft(qi,{options:ka,prevValue:pi,labelInValue:tn,optionLabelProp:cn}):qi;ca&&Pi?Pi(Za,La):!ca&&zi&&zi(Za,La)}mi&&(ca&&$n.onRawSelect?$n.onRawSelect(qi,La,ma):!ca&&$n.onRawDeselect&&$n.onRawDeselect(qi,La,ma))},Da=Object(e.useState)([]),Ra=Object(y.a)(Da,2),Ao=Ra[0],ja=Ra[1],Ya=function(qi){if(mi&&$n.skipTriggerChange)return;var ca=Gi(qi),ma=Ie(Array.from(qi),{labelInValue:tn,options:ca,getLabeledValue:ft,prevValue:pi,optionLabelProp:cn}),ka=Ln?ma:ma[0];if(si&&(Ni.length!==0||ma.length!==0)){var La=Mr(qi,ca,{prevValueOptions:Ao});ja(La.map(function(Za,eo){var Po=Object(F.a)({},Za);return Object.defineProperty(Po,"_INTERNAL_OPTION_VALUE_",{get:function(){return qi[eo]}}),Po})),si(ka,Ln?La:La[0])}Si(ka)},Ia=function(qi,ca){var ma=ca.selected,ka=ca.source;if(qt)return;var La;Ln?(La=new Set(Ni),ma?La.add(qi):La.delete(qi)):(La=new Set,La.add(qi)),(Ln||!Ln&&Array.from(Ni)[0]!==qi)&&Ya(Array.from(La)),_a(qi,!Ln||ma,ka),Dn==="combobox"?(aa(String(qi)),Ui("")):(!Ln||qe)&&(aa(""),Ui(""))},Va=function(qi,ca){Ia(qi,Object(F.a)(Object(F.a)({},ca),{},{source:"option"}))},co=function(qi,ca){Ia(qi,Object(F.a)(Object(F.a)({},ca),{},{source:"selection"}))},Ca=Dn==="combobox"&&di&&di()||null,yo=Object(fe.a)(void 0,{defaultValue:Jr,value:vr}),uo=Object(y.a)(yo,2),Xa=uo[0],Oo=uo[1],oa=Xa,qa=!en&&!ga.length;(qt||qa&&oa&&Dn==="combobox")&&(oa=!1);var oo=qa?!1:oa,Ro=function(qi){var ca=qi!==void 0?qi:!oa;Xa!==ca&&!qt&&(Oo(ca),ln&&ln(ca))};or([Li.current,Bi.current&&Bi.current.getPopupElement()],oo,Ro);var Ga=function(qi,ca,ma){var ka=!0,La=qi;Ui(null);var Za=ma?null:Te(qi,Wn),eo=Za;if(Dn==="combobox")ca&&Ya([La]);else if(Za){La="",Dn!=="tags"&&(eo=Za.map(function(jo){var cs=ta.find(function(Mo){var Lo=Mo.data;return Lo[cn]===jo});return cs?cs.data.value:null}).filter(function(jo){return jo!==null}));var Po=Array.from(new Set([].concat(Object(z.a)(Ni),Object(z.a)(eo))));Ya(Po),Po.forEach(function(jo){_a(jo,!0,"input")}),Ro(!1),ka=!1}return aa(La),xt&&Xi!==La&&xt(La),ka},_o=function(qi){var ca=Array.from(new Set([].concat(Object(z.a)(Ni),[qi])));Ya(ca),ca.forEach(function(ma){_a(ma,!0,"input")}),aa("")};Object(e.useEffect)(function(){Xa&&!!qt&&Oo(!1)},[qt]),Object(e.useEffect)(function(){!oa&&!Ln&&Dn!=="combobox"&&Ga("",!1,!1)},[oa]);var go=Nt(),Ja=Object(y.a)(go,2),Fa=Ja[0],ha=Ja[1],rt=function(qi){var ca=Fa(),ma=qi.which;if(!oa&&ma===E.a.ENTER&&Ro(!0),ha(!!Xi),ma===E.a.BACKSPACE&&!ca&&Ln&&!Xi&&Ni.length){var ka=De(pa,Ni);ka.removedValue!==null&&(Ya(ka.values),_a(ka.removedValue,!1,"input"))}for(var La=arguments.length,Za=new Array(La>1?La-1:0),eo=1;eo1?ca-1:0),ka=1;ka1?La-1:0),eo=1;eo>0&3)*255/3,m[v*4+1]=(u[h+v]>>2&3)*255/3,m[v*4+2]=(u[h+v]>>4&3)*255/3,m[v*4+4]=0;u=m,h=0}return n.blitImage(f,a,o,l,u,h),i.rQskipBytes(l*t),this._lines-=l,!(this._lines>0)}}]),b}();P.default=A},"3690":function(H,P,d){"use strict";function O(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(i){return typeof i}:O=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},O(o)}Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var x=A(d("Lo0S"));function C(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return C=function(){return o},o}function A(o){if(o&&o.__esModule)return o;if(o===null||O(o)!=="object"&&typeof o!="function")return{default:o};var r=C();if(r&&r.has(o))return r.get(o);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in o)if(Object.prototype.hasOwnProperty.call(o,e)){var s=n?Object.getOwnPropertyDescriptor(o,e):null;s&&(s.get||s.set)?Object.defineProperty(i,e,s):i[e]=o[e]}return i.default=o,r&&r.set(o,i),i}function b(o,r){if(!(o instanceof r))throw new TypeError("Cannot call a class as a function")}function g(o,r){for(var i=0;i0;){var u=1;if(t.rQwait("HEXTILE",u))return!1;var h=t.rQ,p=t.rQi,m=h[p];if(m>30)throw new Error("Illegal hextile subencoding (subencoding: "+m+")");var v=this._totalTiles-this._tiles,y=v%this._tilesX,E=Math.floor(v/this._tilesX),T=i+y*16,w=n+E*16,S=Math.min(16,i+e-T),_=Math.min(16,n+s-w);if(m&1)u+=S*_*4;else if(m&2&&(u+=4),m&4&&(u+=4),m&8){if(u++,t.rQwait("HEXTILE",u))return!1;var I=h[p+u-1];m&16?u+=I*(4+2):u+=I*2}if(t.rQwait("HEXTILE",u))return!1;if(p++,m===0)this._lastsubencoding&1?x.Debug(" Ignoring blank after RAW"):a.fillRect(T,w,S,_,this._background);else if(m&1)a.blitImage(T,w,S,_,h,p),p+=u-1;else{if(m&2&&(this._background=[h[p],h[p+1],h[p+2],h[p+3]],p+=4),m&4&&(this._foreground=[h[p],h[p+1],h[p+2],h[p+3]],p+=4),a.startTile(T,w,S,_,this._background),m&8){var L=h[p];p++;for(var N=0;N>4,M=R&15,U=h[p];p++;var F=(U>>4)+1,j=(U&15)+1;a.subTile(B,M,F,j,D)}}a.finishTile()}t.rQi=p,this._lastsubencoding=m,this._tiles--}return!0}}]),o}();P.default=c},"3C/r":function(H,P){var d=function(C,A){this.image=C,this.repeat=A,this.type="pattern"};d.prototype.getCanvasPattern=function(x){return x.createPattern(this.image,this.repeat||"repeat")};var O=d;H.exports=O},"3CBa":function(H,P,d){var O=d("hydK"),x=O.createElement,C=d("bYtY"),A=d("SUKs"),b=d("y+Vt"),g=d("Dagg"),f=d("dqUG"),c=d("DBLp"),o=d("sW+o"),r=d("n6Mw"),i=d("vKoX"),n=d("P47w"),e=n.path,s=n.image,t=n.text;function a(S){return parseInt(S,10)}function l(S){return S instanceof b?e:S instanceof g?s:S instanceof f?t:e}function u(S,_){return _&&S&&_.parentNode!==S}function h(S,_,I){if(u(S,_)&&I){var L=I.nextSibling;L?S.insertBefore(_,L):S.appendChild(_)}}function p(S,_){if(u(S,_)){var I=S.firstChild;I?S.insertBefore(_,I):S.appendChild(_)}}function m(S,_){_&&S&&_.parentNode===S&&S.removeChild(_)}function v(S){return S.__textSvgEl}function y(S){return S.__svgEl}var E=function(_,I,L,N){this.root=_,this.storage=I,this._opts=L=C.extend({},L||{});var D=x("svg");D.setAttribute("xmlns","http://www.w3.org/2000/svg"),D.setAttribute("version","1.1"),D.setAttribute("baseProfile","full"),D.style.cssText="user-select:none;position:absolute;left:0;top:0;";var R=x("g");D.appendChild(R);var B=x("g");D.appendChild(B),this.gradientManager=new o(N,B),this.clipPathManager=new r(N,B),this.shadowManager=new i(N,B);var M=document.createElement("div");M.style.cssText="overflow:hidden;position:relative",this._svgDom=D,this._svgRoot=B,this._backgroundRoot=R,this._viewport=M,_.appendChild(M),M.appendChild(D),this.resize(L.width,L.height),this._visibleList=[]};E.prototype={constructor:E,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var _=this.getViewportRoot();if(_)return{offsetLeft:_.offsetLeft||0,offsetTop:_.offsetTop||0}},refresh:function(){var _=this.storage.getDisplayList(!0);this._paintList(_)},setBackgroundColor:function(_){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var I=x("rect");I.setAttribute("width",this.getWidth()),I.setAttribute("height",this.getHeight()),I.setAttribute("x",0),I.setAttribute("y",0),I.setAttribute("id",0),I.style.fill=_,this._backgroundRoot.appendChild(I),this._backgroundNode=I},_paintList:function(_){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var I=this._svgRoot,L=this._visibleList,N=_.length,D=[],R;for(R=0;R=0;--B)if(R[B]===D)return!0;return!1}),L}else return null;else return L[0]},resize:function(_,I){var L=this._viewport;L.style.display="none";var N=this._opts;if(_!=null&&(N.width=_),I!=null&&(N.height=I),_=this._getSize(0),I=this._getSize(1),L.style.display="",this._width!==_||this._height!==I){this._width=_,this._height=I;var D=L.style;D.width=_+"px",D.height=I+"px";var R=this._svgDom;R.setAttribute("width",_),R.setAttribute("height",I)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",_),this._backgroundNode.setAttribute("height",I))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(_){var I=this._opts,L=["width","height"][_],N=["clientWidth","clientHeight"][_],D=["paddingLeft","paddingTop"][_],R=["paddingRight","paddingBottom"][_];if(I[L]!=null&&I[L]!=="auto")return parseFloat(I[L]);var B=this.root,M=document.defaultView.getComputedStyle(B);return(B[N]||a(M[L])||a(B.style[L]))-(a(M[D])||0)-(a(M[R])||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 _=encodeURIComponent(this._svgDom.outerHTML.replace(/> \r<`));return"data:image/svg+xml;charset=UTF-8,"+_}};function T(S){return function(){A('In SVG mode painter not support method "'+S+'"')}}C.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(S){E.prototype[S]=T(S)});var w=E;H.exports=w},"3LNs":function(H,P,d){var O=d("bYtY"),x=d("Yl7c"),C=d("IwbS"),A=d("zTMp"),b=d("YH21"),g=d("iLNv"),f=d("4NO4"),c=f.makeInner,o=c(),r=O.clone,i=O.bind;function n(){}n.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(h,p,m,v){var y=p.get("value"),E=p.get("status");if(this._axisModel=h,this._axisPointerModel=p,this._api=m,!v&&this._lastValue===y&&this._lastStatus===E)return;this._lastValue=y,this._lastStatus=E;var T=this._group,w=this._handle;if(!E||E==="hide"){T&&T.hide(),w&&w.hide();return}T&&T.show(),w&&w.show();var S={};this.makeElOption(S,y,h,p,m);var _=S.graphicKey;_!==this._lastGraphicKey&&this.clear(m),this._lastGraphicKey=_;var I=this._moveAnimation=this.determineAnimation(h,p);if(!T)T=this._group=new C.Group,this.createPointerEl(T,S,h,p),this.createLabelEl(T,S,h,p),m.getZr().add(T);else{var L=O.curry(e,p,I);this.updatePointerEl(T,S,L,p),this.updateLabelEl(T,S,L,p)}l(T,p,!0),this._renderHandle(y)},remove:function(h){this.clear(h)},dispose:function(h){this.clear(h)},determineAnimation:function(h,p){var m=p.get("animation"),v=h.axis,y=v.type==="category",E=p.get("snap");if(!E&&!y)return!1;if(m==="auto"||m==null){var T=this.animationThreshold;if(y&&v.getBandWidth()>T)return!0;if(E){var w=A.getAxisInfo(h).seriesDataCount,S=v.getExtent();return Math.abs(S[0]-S[1])/w>T}return!1}return m===!0},makeElOption:function(h,p,m,v,y){},createPointerEl:function(h,p,m,v){var y=p.pointer;if(y){var E=o(h).pointerEl=new C[y.type](r(p.pointer));h.add(E)}},createLabelEl:function(h,p,m,v){if(p.label){var y=o(h).labelEl=new C.Rect(r(p.label));h.add(y),t(y,v)}},updatePointerEl:function(h,p,m){var v=o(h).pointerEl;v&&p.pointer&&(v.setStyle(p.pointer.style),m(v,{shape:p.pointer.shape}))},updateLabelEl:function(h,p,m,v){var y=o(h).labelEl;y&&(y.setStyle(p.label.style),m(y,{shape:p.label.shape,position:p.label.position}),t(y,v))},_renderHandle:function(h){if(this._dragging||!this.updateHandleTransform)return;var p=this._axisPointerModel,m=this._api.getZr(),v=this._handle,y=p.getModel("handle"),E=p.get("status");if(!y.get("show")||!E||E==="hide"){v&&m.remove(v),this._handle=null;return}var T;this._handle||(T=!0,v=this._handle=C.createIcon(y.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(_){b.stop(_.event)},onmousedown:i(this._onHandleDragMove,this,0,0),drift:i(this._onHandleDragMove,this),ondragend:i(this._onHandleDragEnd,this)}),m.add(v)),l(v,p,!1);var w=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];v.setStyle(y.getItemStyle(null,w));var S=y.get("size");O.isArray(S)||(S=[S,S]),v.attr("scale",[S[0]/2,S[1]/2]),g.createOrUpdate(this,"_doDispatchAxisPointer",y.get("throttle")||0,"fixRate"),this._moveHandleToValue(h,T)},_moveHandleToValue:function(h,p){e(this._axisPointerModel,!p&&this._moveAnimation,this._handle,a(this.getHandleTransform(h,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(h,p){var m=this._handle;if(!m)return;this._dragging=!0;var v=this.updateHandleTransform(a(m),[h,p],this._axisModel,this._axisPointerModel);this._payloadInfo=v,m.stopAnimation(),m.attr(a(v)),o(m).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var h=this._handle;if(!h)return;var p=this._payloadInfo,m=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:p.cursorPoint[0],y:p.cursorPoint[1],tooltipOption:p.tooltipOption,axesInfo:[{axisDim:m.axis.dim,axisIndex:m.componentIndex}]})},_onHandleDragEnd:function(h){this._dragging=!1;var p=this._handle;if(!p)return;var m=this._axisPointerModel.get("value");this._moveHandleToValue(m),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(h){this._lastValue=null,this._lastStatus=null;var p=h.getZr(),m=this._group,v=this._handle;p&&m&&(this._lastGraphicKey=null,m&&p.remove(m),v&&p.remove(v),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(h,p,m){return m=m||0,{x:h[m],y:h[1-m],width:p[m],height:p[1-m]}}},n.prototype.constructor=n;function e(h,p,m,v){s(o(m).lastProp,v)||(o(m).lastProp=v,p?C.updateProps(m,v,h):(m.stopAnimation(),m.attr(v)))}function s(h,p){if(O.isObject(h)&&O.isObject(p)){var m=!0;return O.each(p,function(v,y){m=m&&s(h[y],v)}),!!m}else return h===p}function t(h,p){h[p.get("label.show")?"show":"hide"]()}function a(h){return{position:h.position.slice(),rotation:h.rotation||0}}function l(h,p,m){var v=p.get("z"),y=p.get("zlevel");h&&h.traverse(function(E){E.type!=="group"&&(v!=null&&(E.z=v),y!=null&&(E.zlevel=y),E.silent=m)})}x.enableClassExtend(n);var u=n;H.exports=u},"3OrL":function(H,P,d){var O=d("bYtY"),x=d("6Ic6"),C=d("IwbS"),A=d("y+Vt"),b=["itemStyle"],g=["emphasis","itemStyle"],f=x.extend({type:"boxplot",render:function(e,s,t){var a=e.getData(),l=this.group,u=this._data;this._data||l.removeAll();var h=e.get("layout")==="horizontal"?1:0;a.diff(u).add(function(p){if(a.hasValue(p)){var m=a.getItemLayout(p),v=o(m,a,p,h,!0);a.setItemGraphicEl(p,v),l.add(v)}}).update(function(p,m){var v=u.getItemGraphicEl(m);if(!a.hasValue(p)){l.remove(v);return}var y=a.getItemLayout(p);v?r(y,v,a,p):v=o(y,a,p,h),l.add(v),a.setItemGraphicEl(p,v)}).remove(function(p){var m=u.getItemGraphicEl(p);m&&l.remove(m)}).execute(),this._data=a},remove:function(e){var s=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(a){a&&s.remove(a)})},dispose:O.noop}),c=A.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,s){var t=s.points,a=0;for(e.moveTo(t[a][0],t[a][1]),a++;a<4;a++)e.lineTo(t[a][0],t[a][1]);for(e.closePath();a0&&(nt.deadlineId=setTimeout(function(){nt.onMotionEnd({deadline:!0})},Mr))})},nt.nextFrame=function(ft){nt.cancelNextFrame(),nt.raf=L()(ft)},nt.cancelNextFrame=function(){nt.raf&&(L.a.cancel(nt.raf),nt.raf=null)},nt}return Object(e.a)(Ze,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var ft,Dt=this.state,Ar=Dt.status,Mr=Dt.statusActive,un=Dt.statusStyle,Rt=this.props,it=Rt.children,st=Rt.motionName,rr=Rt.visible,Bt=Rt.removeOnLeave,_t=Rt.leavedClassName,Ht=Rt.eventProps;return it?Ar===ae||!St(this.props)?rr?it(Object(r.a)({},Ht),this.setNodeRef):Bt?null:it(Object(r.a)(Object(r.a)({},Ht),{},{className:_t}),this.setNodeRef):it(Object(r.a)(Object(r.a)({},Ht),{},{className:T()(ce(st,Ar),(ft={},Object(D.a)(ft,ce(st,"".concat(Ar,"-active")),Mr),Object(D.a)(ft,st,typeof st=="string"),ft)),style:un}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(ft,Dt){var Ar=Dt.prevProps,Mr=Dt.status;if(!St(ft))return{};var un=ft.visible,Rt=ft.motionAppear,it=ft.motionEnter,st=ft.motionLeave,rr=ft.motionLeaveImmediately,Bt={prevProps:ft};return(Mr===Ae&&!Rt||Mr===Ie&&!it||Mr===De&&!st)&&(Bt.status=ae,Bt.statusActive=!1,Bt.newStatus=!1),!Ar&&un&&Rt&&(Bt.status=Ae,Bt.statusActive=!1,Bt.newStatus=!0),Ar&&!Ar.visible&&un&&it&&(Bt.status=Ie,Bt.statusActive=!1,Bt.newStatus=!0),(Ar&&Ar.visible&&!un&&st||!Ar&&rr&&!un&&st)&&(Bt.status=De,Bt.statusActive=!1,Bt.newStatus=!0),Bt}}]),Ze}(f.Component);return _e.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},jt?f.forwardRef(function(Oe,Le){return f.createElement(_e,Object.assign({internalRef:Le},Oe))}):_e}var me=Ke($),Ue="add",oe="keep",te="remove",Qe="removed";function se(bn){var Mn;return bn&&Object(o.a)(bn)==="object"&&"key"in bn?Mn=bn:Mn={key:bn},Object(r.a)(Object(r.a)({},Mn),{},{key:String(Mn.key)})}function Y(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return bn.map(se)}function X(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],jt=[],St=0,_e=Mn.length,Oe=Y(bn),Le=Y(Mn);Oe.forEach(function(ft){for(var Dt=!1,Ar=St;Ar<_e;Ar+=1){var Mr=Le[Ar];if(Mr.key===ft.key){St1});return nt.forEach(function(ft){jt=jt.filter(function(Dt){var Ar=Dt.key,Mr=Dt.status;return Ar!==ft||Mr!==te}),jt.forEach(function(Dt){Dt.key===ft&&(Dt.status=oe)})}),jt}var Q=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ge(bn){var Mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:me,jt=function(St){Object(t.a)(Oe,St);var _e=Object(a.a)(Oe);function Oe(){var Le;return Object(n.a)(this,Oe),Le=_e.apply(this,arguments),Le.state={keyEntities:[]},Le.removeKey=function(Ze){Le.setState(function(nt){var ft=nt.keyEntities;return{keyEntities:ft.map(function(Dt){return Dt.key!==Ze?Dt:Object(r.a)(Object(r.a)({},Dt),{},{status:Qe})})}})},Le}return Object(e.a)(Oe,[{key:"render",value:function(){var Ze=this,nt=this.state.keyEntities,ft=this.props,Dt=ft.component,Ar=ft.children,Mr=Object(i.a)(ft,["component","children"]),un=Dt||f.Fragment,Rt={};return Q.forEach(function(it){Rt[it]=Mr[it],delete Mr[it]}),delete Mr.keys,f.createElement(un,Object.assign({},Mr),nt.map(function(it){var st=it.status,rr=Object(i.a)(it,["status"]),Bt=st===Ue||st===oe;return f.createElement(Mn,Object.assign({},Rt,{key:rr.key,visible:Bt,eventProps:rr,onLeaveEnd:function(){Rt.onLeaveEnd&&Rt.onLeaveEnd.apply(Rt,arguments),Ze.removeKey(rr.key)}}),Ar)}))}}],[{key:"getDerivedStateFromProps",value:function(Ze,nt){var ft=Ze.keys,Dt=nt.keyEntities,Ar=Y(ft);if(!bn)return{keyEntities:Ar.map(function(Rt){return Object(r.a)(Object(r.a)({},Rt),{},{status:oe})})};var Mr=X(Dt,Ar),un=Dt.length;return{keyEntities:Mr.filter(function(Rt){for(var it=null,st=0;st1&&(Ar=f.createElement("div",{className:"".concat(St,"-content")},Le)),f.createElement("div",{ref:jt,className:_e,onMouseEnter:Ze,onMouseLeave:nt,onMouseDown:ft,onTouchStart:Dt,style:Oe},Ar)},le=f.forwardRef(xe);le.displayName="PopupInner";var fe=le;function Ee(bn){var Mn=bn.prefixCls,jt=bn.motion,St=bn.animation,_e=bn.transitionName;return jt||(St?{motionName:"".concat(Mn,"-").concat(St)}:_e?{motionName:_e}:null)}function Ge(bn){return bn&&bn.motionName}var lt=function(bn){Object(t.a)(jt,bn);var Mn=Object(a.a)(jt);function jt(){var St;return Object(n.a)(this,jt),St=Mn.apply(this,arguments),St.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},St.popupRef=c.a.createRef(),St.alignRef=c.a.createRef(),St.nextFrameState=null,St.nextFrameId=null,St.onAlign=function(_e,Oe){var Le=St.state.status,Ze=St.props,nt=Ze.getClassNameFromAlign,ft=Ze.onAlign,Dt=nt(Oe);Le==="align"?St.setState({alignClassName:Dt,status:"aligned"},function(){St.alignRef.current.forceAlign()}):Le==="aligned"?(St.setState({alignClassName:Dt,status:"afterAlign"}),ft(_e,Oe)):St.setState({alignClassName:Dt})},St.onMotionEnd=function(){var _e=St.props.visible;St.setState({status:_e?"AfterMotion":"stable",inMotion:!1})},St.setStateOnNextFrame=function(_e){St.cancelFrameState(),St.nextFrameState=Object(r.a)(Object(r.a)({},St.nextFrameState),_e),St.nextFrameId=L()(function(){var Oe=Object(r.a)({},St.nextFrameState);St.nextFrameState=null,St.setState(Oe)})},St.getMotion=function(){return Object(r.a)({},Ee(St.props))},St.getAlignTarget=function(){var _e=St.props,Oe=_e.point,Le=_e.getRootDomNode;return Oe||Le},St.cancelFrameState=function(){L.a.cancel(St.nextFrameId)},St.renderPopupElement=function(){var _e=St.state,Oe=_e.status,Le=_e.targetHeight,Ze=_e.targetWidth,nt=_e.alignClassName,ft=St.props,Dt=ft.prefixCls,Ar=ft.className,Mr=ft.style,un=ft.stretch,Rt=ft.visible,it=ft.align,st=ft.destroyPopupOnHide,rr=ft.onMouseEnter,Bt=ft.onMouseLeave,_t=ft.onMouseDown,Ht=ft.onTouchStart,pt=ft.children,Ut=T()(Dt,Ar,nt),Sr="".concat(Dt,"-hidden"),mr={};un&&(un.indexOf("height")!==-1?mr.height=Le:un.indexOf("minHeight")!==-1&&(mr.minHeight=Le),un.indexOf("width")!==-1?mr.width=Ze:un.indexOf("minWidth")!==-1&&(mr.minWidth=Ze));var vr=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},mr),St.getZIndexStyle()),Mr),{},{opacity:Oe==="stable"||!Rt?void 0:0,pointerEvents:Oe==="stable"||!Rt?void 0:"none"}),Jr=St.getMotion(),$r=Rt;Rt&&Oe!=="beforeMotion"&&Oe!=="motion"&&Oe!=="stable"&&(Jr.motionAppear=!1,Jr.motionEnter=!1,Jr.motionLeave=!1),(Oe==="afterAlign"||Oe==="beforeMotion")&&($r=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(Zn){var li=Jr==null?void 0:Jr[Zn];Jr[Zn]=function(){for(var Ai=arguments.length,Ii=new Array(Ai),$e=0;$e=0||Re.indexOf("Bottom")>=0?Ye.top="".concat(je.height-$e.offset[1],"px"):(Re.indexOf("Top")>=0||Re.indexOf("bottom")>=0)&&(Ye.top="".concat(-$e.offset[1],"px")),Re.indexOf("left")>=0||Re.indexOf("Right")>=0?Ye.left="".concat(je.width-$e.offset[0],"px"):(Re.indexOf("right")>=0||Re.indexOf("Left")>=0)&&(Ye.left="".concat(-$e.offset[0],"px")),Ii.style.transformOrigin="".concat(Ye.left," ").concat(Ye.top)},it=function(){var Ii=bn.title,$e=bn.overlay;return Ii===0?Ii:$e||Ii||""},st=bn.prefixCls,rr=bn.openClassName,Bt=bn.getPopupContainer,_t=bn.getTooltipContainer,Ht=bn.overlayClassName,pt=bn.color,Ut=bn.overlayInnerStyle,Sr=bn.children,mr=Oe("tooltip",st),vr=ft;!("visible"in bn)&&Ar()&&(vr=!1);var Jr=Nn(Object(er.b)(Sr)?Sr:f.createElement("span",null,Sr),mr),$r=Jr.props,Pn=T()($r.className,x()({},rr||"".concat(mr,"-open"),!0)),Dn=T()(Ht,(jt={},x()(jt,"".concat(mr,"-rtl"),Le==="rtl"),x()(jt,"".concat(mr,"-").concat(pt),pt&&fn.test(pt)),jt)),Zn,li;return pt&&!fn.test(pt)&&(Zn=g()(g()({},Ut),{background:pt}),li={background:pt}),f.createElement(ct,g()({},bn,{prefixCls:mr,overlayClassName:Dn,getTooltipContainer:Bt||_t||_e,ref:Mn,builtinPlacements:un(),overlay:it(),visible:vr,onVisibleChange:Mr,onPopupAlign:Rt,overlayInnerStyle:Zn,arrowContent:f.createElement("span",{className:"".concat(mr,"-arrow-content"),style:li})}),vr?Object(er.a)(Jr,{className:Pn}):Jr)});Vn.displayName="Tooltip",Vn.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var gi=P.a=Vn},"3TkU":function(H,P,d){d("aTJb"),d("OlYY"),d("fc+c"),d("QUw5"),d("Swgg"),d("LBfv"),d("noeP")},"3X6L":function(H,P,d){var O=d("bYtY"),x=d("7a+S"),C=d("OKJ2"),A=x.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:[]}});O.mixin(A,C);var b=A;H.exports=b},"3e3G":function(H,P,d){var O=d("bYtY"),x=d("QuXc"),C=function(g,f,c,o,r){this.x=g==null?.5:g,this.y=f==null?.5:f,this.r=c==null?.5:c,this.type="radial",this.global=r||!1,x.call(this,o)};C.prototype={constructor:C},O.inherits(C,x);var A=C;H.exports=A},"3gBT":function(H,P){var d=2311;function O(){return d++}H.exports=O},"3hzK":function(H,P){var d={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")}}};H.exports=d},"3m61":function(H,P){function d(x){return x instanceof Array||(x=[x,x]),x}function O(x){x.eachSeriesByType("graph",function(C){var A=C.getGraph(),b=C.getEdgeData(),g=d(C.get("edgeSymbol")),f=d(C.get("edgeSymbolSize")),c="lineStyle.color".split("."),o="lineStyle.opacity".split(".");b.setVisual("fromSymbol",g&&g[0]),b.setVisual("toSymbol",g&&g[1]),b.setVisual("fromSymbolSize",f&&f[0]),b.setVisual("toSymbolSize",f&&f[1]),b.setVisual("color",C.get(c)),b.setVisual("opacity",C.get(o)),b.each(function(r){var i=b.getItemModel(r),n=A.getEdgeByIndex(r),e=d(i.getShallow("symbol",!0)),s=d(i.getShallow("symbolSize",!0)),t=i.get(c),a=i.get(o);switch(t){case"source":t=n.node1.getVisual("color");break;case"target":t=n.node2.getVisual("color");break}e[0]&&n.setVisual("fromSymbol",e[0]),e[1]&&n.setVisual("toSymbol",e[1]),s[0]&&n.setVisual("fromSymbolSize",s[0]),s[1]&&n.setVisual("toSymbolSize",s[1]),n.setVisual("color",t),n.setVisual("opacity",a)})})}H.exports=O},"3ouR":function(H,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},A=C,b=d("6VBw"),g=function(o,r){return x.createElement(b.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:A}))};g.displayName="CloseSquareOutlined";var f=P.a=x.forwardRef(g)},"3y9D":function(H,P,d){(function(O,x){H.exports=P=x(d("Ib8C"))})(this,function(O){return function(){var x=O,C=x.lib,A=C.WordArray,b=C.Hasher,g=x.algo,f=[],c=g.SHA1=b.extend({_doReset:function(){this._hash=new A.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,i){for(var n=this._hash.words,e=n[0],s=n[1],t=n[2],a=n[3],l=n[4],u=0;u<80;u++){if(u<16)f[u]=r[i+u]|0;else{var h=f[u-3]^f[u-8]^f[u-14]^f[u-16];f[u]=h<<1|h>>>31}var p=(e<<5|e>>>27)+l+f[u];u<20?p+=(s&t|~s&a)+1518500249:u<40?p+=(s^t^a)+1859775393:u<60?p+=(s&t|s&a|t&a)-1894007588:p+=(s^t^a)-899497514,l=a,a=t,t=s<<30|s>>>2,s=e,e=p}n[0]=n[0]+e|0,n[1]=n[1]+s|0,n[2]=n[2]+t|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0},_doFinalize:function(){var r=this._data,i=r.words,n=this._nDataBytes*8,e=r.sigBytes*8;return i[e>>>5]|=128<<24-e%32,i[(e+64>>>9<<4)+14]=Math.floor(n/4294967296),i[(e+64>>>9<<4)+15]=n,r.sigBytes=i.length*4,this._process(),this._hash},clone:function(){var r=b.clone.call(this);return r._hash=this._hash.clone(),r}});x.SHA1=b._createHelper(c),x.HmacSHA1=b._createHmacHelper(c)}(),O.SHA1})},"3zoK":function(H,P,d){var O=d("bYtY"),x=d("bLfw"),C=d("KCsZ"),A=d("nkfE"),b=d("OELB"),g=d("ICMv"),f=x.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return C([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(i){var n=this.activeIntervals=O.clone(i);if(n)for(var e=n.length-1;e>=0;e--)b.asc(n[e])},getActiveState:function(i){var n=this.activeIntervals;if(!n.length)return"normal";if(i==null||isNaN(i))return"inactive";if(n.length===1){var e=n[0];if(e[0]<=i&&i<=e[1])return"active"}else for(var s=0,t=n.length;s40&&(N=Math.max(1,Math.floor(L/40)));for(var D=I[0],R=E.dataToCoord(D+1)-E.dataToCoord(D),B=Math.abs(R*Math.cos(S)),M=Math.abs(R*Math.sin(S)),U=0,F=0;D<=I[1];D+=N){var j=0,W=0,V=x.getBoundingRect(w(D),T.font,"center","top");j=V.width*1.3,W=V.height*1.3,U=Math.max(U,j,7),F=Math.max(F,W,7)}var z=U/B,J=F/M;isNaN(z)&&(z=Infinity),isNaN(J)&&(J=Infinity);var $=Math.max(0,Math.floor(Math.min(z,J))),ce=o(E.model),ae=E.getExtent(),Ae=ce.lastAutoInterval,Ie=ce.lastTickCount;return Ae!=null&&Ie!=null&&Math.abs(Ae-$)<=1&&Math.abs(Ie-L)<=1&&Ae>$&&ce.axisExtend0===ae[0]&&ce.axisExtend1===ae[1]?$=Ae:(ce.lastTickCount=L,ce.lastAutoInterval=$,ce.axisExtend0=ae[0],ce.axisExtend1=ae[1]),$}function m(E){var T=E.getLabelModel();return{axisRotate:E.getRotate?E.getRotate():E.isHorizontal&&!E.isHorizontal()?90:0,labelRotate:T.get("rotate")||0,font:T.getFont()}}function v(E,T,w){var S=g(E),_=E.scale,I=_.getExtent(),L=E.getLabelModel(),N=[],D=Math.max((T||0)+1,1),R=I[0],B=_.count();R!==0&&D>1&&B/D>2&&(R=Math.round(Math.ceil(R/D)*D));var M=c(E),U=L.get("showMinLabel")||M,F=L.get("showMaxLabel")||M;U&&R!==I[0]&&W(I[0]);for(var j=R;j<=I[1];j+=D)W(j);F&&j-D!==I[1]&&W(I[1]);function W(V){N.push(w?V:{formattedLabel:S(V),rawLabel:_.getLabel(V),tickValue:V})}return N}function y(E,T,w){var S=E.scale,_=g(E),I=[];return O.each(S.getTicks(),function(L){var N=S.getLabel(L);T(L,N)&&I.push(w?L:{formattedLabel:_(L),rawLabel:N,tickValue:L})}),I}P.createAxisLabels=r,P.createAxisTicks=i,P.calculateCategoryInterval=p},"4NO4":function(H,P,d){var O=d("bYtY"),x=d("ItGF"),C=O.each,A=O.isObject,b=O.isArray,g="series\0";function f(w){return w instanceof Array?w:w==null?[]:[w]}function c(w,S,_){if(w){w[S]=w[S]||{},w.emphasis=w.emphasis||{},w.emphasis[S]=w.emphasis[S]||{};for(var I=0,L=_.length;I=_.length&&_.push({option:I})}),_}function e(w){var S=O.createHashMap();C(w,function(_,I){var L=_.exist;L&&S.set(L.id,_)}),C(w,function(_,I){var L=_.option;O.assert(!L||L.id==null||!S.get(L.id)||S.get(L.id)===_,"id duplicates: "+(L&&L.id)),L&&L.id!=null&&S.set(L.id,_),!_.keyInfo&&(_.keyInfo={})}),C(w,function(_,I){var L=_.exist,N=_.option,D=_.keyInfo;if(!A(N))return;if(D.name=N.name!=null?N.name+"":L?L.name:g+I,L)D.id=L.id;else if(N.id!=null)D.id=N.id+"";else{var R=0;do D.id="\0"+D.name+"\0"+R++;while(S.get(D.id))}S.set(D.id,_)})}function s(w){var S=w.name;return!!(S&&S.indexOf(g))}function t(w){return A(w)&&w.id&&(w.id+"").indexOf("\0_ec_\0")===0}function a(w,S){var _={},I={};return L(w||[],_),L(S||[],I,_),[N(_),N(I)];function L(D,R,B){for(var M=0,U=D.length;M=b[0]&&A<=b[1]},x.prototype.normalize=function(A){var b=this._extent;return b[1]===b[0]?.5:(A-b[0])/(b[1]-b[0])},x.prototype.scale=function(A){var b=this._extent;return A*(b[1]-b[0])+b[0]},x.prototype.unionExtent=function(A){var b=this._extent;A[0]b[1]&&(b[1]=A[1])},x.prototype.unionExtentFromData=function(A,b){this.unionExtent(A.getApproximateExtent(b))},x.prototype.getExtent=function(){return this._extent.slice()},x.prototype.setExtent=function(A,b){var g=this._extent;isNaN(A)||(g[0]=A),isNaN(b)||(g[1]=b)},x.prototype.isBlank=function(){return this._isBlank},x.prototype.setBlank=function(A){this._isBlank=A},x.prototype.getLabel=null,O.enableClassExtend(x),O.enableClassManagement(x,{registerWhenExtend:!0});var C=x;H.exports=C},"4fz+":function(H,P,d){var O=d("bYtY"),x=d("1bdT"),C=d("mFDi"),A=function(f){f=f||{},x.call(this,f);for(var c in f)f.hasOwnProperty(c)&&(this[c]=f[c]);this._children=[],this.__storage=null,this.__dirty=!0};A.prototype={constructor:A,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(f){return this._children[f]},childOfName:function(f){for(var c=this._children,o=0;o=0&&(o.splice(r,0,f),this._doAdd(f))}return this},_doAdd:function(f){f.parent&&f.parent.remove(f),f.parent=this;var c=this.__storage,o=this.__zr;c&&c!==f.__storage&&(c.addToStorage(f),f instanceof A&&f.addChildrenToStorage(c)),o&&o.refresh()},remove:function(f){var c=this.__zr,o=this.__storage,r=this._children,i=O.indexOf(r,f);return i<0?this:(r.splice(i,1),f.parent=null,o&&(o.delFromStorage(f),f instanceof A&&f.delChildrenFromStorage(o)),c&&c.refresh(),this)},removeAll:function(){var f=this._children,c=this.__storage,o,r;for(r=0;r1e-4){T[0]=u-p,T[1]=h-m,w[0]=u+p,w[1]=h+m;return}if(c[0]=g(v)*p+u,c[1]=b(v)*m+h,o[0]=g(y)*p+u,o[1]=b(y)*m+h,S(T,c,o),_(w,c,o),v=v%f,v<0&&(v=v+f),y=y%f,y<0&&(y=y+f),v>y&&!E?y+=f:vv&&(r[0]=g(N)*p+u,r[1]=b(N)*m+h,S(T,r,T),_(w,r,w))}P.fromPoints=i,P.fromLine=n,P.fromCubic=t,P.fromQuadratic=a,P.fromArc=l},"4vCz":function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("X2/X")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="PlusSquareOutlined";var c=A.forwardRef(f);P.default=c},"4xFK":function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},"56rv":function(H,P,d){var O=d("IwbS"),x=d("x3X8"),C=x.getDefaultLabel;function A(g,f,c,o,r,i,n){var e=c.getModel("label"),s=c.getModel("emphasis.label");O.setLabelStyle(g,f,e,s,{labelFetcher:r,labelDataIndex:i,defaultText:C(r.getData(),i),isRectText:!0,autoColor:o}),b(g),b(f)}function b(g,f){g.textPosition==="outside"&&(g.textPosition=f)}P.setLabel=A},"59Ip":function(H,P,d){var O=d("Sj9i");function x(C,A,b,g,f,c,o,r,i,n,e){if(i===0)return!1;var s=i;if(e>A+s&&e>g+s&&e>c+s&&e>r+s||eC+s&&n>b+s&&n>f+s&&n>o+s||nc)return f[r];return f[o-1]}var g={clearColorPalette:function(){A(this).colorIdx=0,A(this).colorNameMap={}},getColorFromPalette:function(f,c,o){c=c||this;var r=A(c),i=r.colorIdx||0,n=r.colorNameMap=r.colorNameMap||{};if(n.hasOwnProperty(f))return n[f];var e=C(this.get("color",!0)),s=this.get("colorLayer",!0),t=o==null||!s?e:b(s,o);if(t=t||e,!t||!t.length)return;var a=t[i];return f&&(n[f]=a),r.colorIdx=(i+1)%t.length,a}};H.exports=g},"5NDa":function(H,P,d){"use strict";var O=d("cIOH"),x=d.n(O),C=d("OnYD"),A=d.n(C),b=d("+L6B")},"5NHt":function(H,P,d){d("aTJb"),d("OlYY"),d("fc+c"),d("N5BQ"),d("IyUQ"),d("LBfv"),d("noeP")},"5OYt":function(H,P,d){"use strict";var O=d("J4zp"),x=d.n(O),C=d("q1tI"),A=d.n(C),b=d("ACnJ");function g(){var f=Object(C.useState)({}),c=x()(f,2),o=c[0],r=c[1];return Object(C.useEffect)(function(){var i=b.a.subscribe(function(n){r(n)});return function(){return b.a.unsubscribe(i)}},[]),o}P.a=g},"5RzL":function(H,P,d){"use strict";var O=d("pVnL"),x=d.n(O),C=d("lSNA"),A=d.n(C),b=d("lwsE"),g=d.n(b),f=d("W8MJ"),c=d.n(f),o=d("7W2i"),r=d.n(o),i=d("LQ03"),n=d.n(i),e=d("q1tI"),s=d.n(e),t=d("1OyB"),a=d("vuIU"),l=d("Ji7U"),u=d("LK+K"),h=d("KQm4"),p=d("U8pU"),m=d("ODXe"),v=d("VTBJ"),y=d("rePB"),E=d("Ff2n"),T=d("4IlW"),w=d("TSYQ"),S=d.n(w),_=d("6cGi"),I=d("bX4T"),L=d("8XRh"),N=function(lr){var on=lr.className,Zt=lr.customizeIcon,br=lr.customizeIconProps,Or=lr.onMouseDown,Wr=lr.onClick,An=lr.children,wt;return typeof Zt=="function"?wt=Zt(br):wt=Zt,e.createElement("span",{className:on,onMouseDown:function(gr){gr.preventDefault(),Or&&Or(gr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Wr,"aria-hidden":!0},wt!==void 0?wt:e.createElement("span",{className:S()(on.split(/\s+/).map(function(pr){return"".concat(pr,"-icon")}))},An))},D=N,R=d("c+Xe"),B=function(lr,on){var Zt=lr.prefixCls,br=lr.id,Or=lr.inputElement,Wr=lr.disabled,An=lr.tabIndex,wt=lr.autoFocus,pr=lr.autoComplete,gr=lr.editable,Fr=lr.accessibilityIndex,nn=lr.value,cn=lr.maxLength,tn=lr.onKeyDown,Ln=lr.onMouseDown,Tn=lr.onChange,Gn=lr.onPaste,ci=lr.onCompositionStart,Jn=lr.onCompositionEnd,pi=lr.open,Si=lr.attrs,Ni=Or||e.createElement("input",null),xi=Ni,yi=xi.ref,vi=xi.props,Ti=vi.onKeyDown,Ui=vi.onChange,$i=vi.onMouseDown,Di=vi.onCompositionStart,ua=vi.onCompositionEnd,aa=vi.style;return Ni=e.cloneElement(Ni,Object(v.a)(Object(v.a)({id:br,ref:Object(R.a)(on,yi),disabled:Wr,tabIndex:An,autoComplete:pr||"off",type:"search",autoFocus:wt,className:"".concat(Zt,"-selection-search-input"),style:Object(v.a)(Object(v.a)({},aa),{},{opacity:gr?null:0}),role:"combobox","aria-expanded":pi,"aria-haspopup":"listbox","aria-owns":"".concat(br,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(br,"_list"),"aria-activedescendant":"".concat(br,"_list_").concat(Fr)},Si),{},{value:gr?nn:"",maxLength:cn,readOnly:!gr,unselectable:gr?null:"on",onKeyDown:function(Vi){tn(Vi),Ti&&Ti(Vi)},onMouseDown:function(Vi){Ln(Vi),$i&&$i(Vi)},onChange:function(Vi){Tn(Vi),Ui&&Ui(Vi)},onCompositionStart:function(Vi){ci(Vi),Di&&Di(Vi)},onCompositionEnd:function(Vi){Jn(Vi),ua&&ua(Vi)},onPaste:Gn})),Ni},M=e.forwardRef(B);M.displayName="Input";var U=M;function F(wr){return Array.isArray(wr)?wr:wr!==void 0?[wr]:[]}function j(wr,lr){var on=lr.labelInValue,Zt=lr.combobox;if(wr===void 0||wr===""&&Zt)return[];var br=Array.isArray(wr)?wr:[wr];return on?br.map(function(Or){var Wr=Or.key,An=Or.value;return An!==void 0?An:Wr}):br}function W(wr,lr){var on=lr.optionLabelProp,Zt=lr.labelInValue,br=lr.prevValue,Or=lr.options,Wr=lr.getLabeledValue,An=wr;return Zt&&(An=An.map(function(wt){return Wr(wt,{options:Or,prevValue:br,labelInValue:Zt,optionLabelProp:on})})),An}function V(wr,lr){var on=Object(h.a)(lr),Zt;for(Zt=wr.length-1;Zt>=0&&wr[Zt].disabled;Zt-=1);var br=null;return Zt!==-1&&(br=on[Zt],on.splice(Zt,1)),{values:on,removedValue:br}}var z=typeof window!="undefined"&&window.document&&window.document.documentElement,J=z,$=0;function ce(){var wr;return J?(wr=$,$+=1):wr="TEST_OR_SSR",wr}function ae(wr,lr){J?e.useLayoutEffect(wr,lr):e.useEffect(wr,lr)}var Ae="__RC_SELECT_MAX_REST_COUNT__",Ie=function(lr){var on=lr.id,Zt=lr.prefixCls,br=lr.values,Or=lr.open,Wr=lr.searchValue,An=lr.inputRef,wt=lr.placeholder,pr=lr.disabled,gr=lr.mode,Fr=lr.showSearch,nn=lr.autoFocus,cn=lr.autoComplete,tn=lr.accessibilityIndex,Ln=lr.tabIndex,Tn=lr.removeIcon,Gn=lr.choiceTransitionName,ci=lr.maxTagCount,Jn=lr.maxTagTextLength,pi=lr.maxTagPlaceholder,Si=pi===void 0?function(Ca){return"+ ".concat(Ca.length," ...")}:pi,Ni=lr.tagRender,xi=lr.onSelect,yi=lr.onInputChange,vi=lr.onInputPaste,Ti=lr.onInputKeyDown,Ui=lr.onInputMouseDown,$i=lr.onInputCompositionStart,Di=lr.onInputCompositionEnd,ua=Object(e.useState)(!1),aa=Object(m.a)(ua,2),Xi=aa[0],Vi=aa[1],ta=e.useRef(null),Gi=Object(e.useState)(0),ga=Object(m.a)(Gi,2),ra=ga[0],pa=ga[1],_a=Object(e.useState)(!1),Da=Object(m.a)(_a,2),Ra=Da[0],Ao=Da[1];e.useEffect(function(){Vi(!0)},[]);var ja=Or||gr==="tags"?Wr:"",Ya=gr==="tags"||Fr&&(Or||Ra);ae(function(){pa(ta.current.scrollWidth)},[ja]);var Ia=br,Va;typeof ci=="number"&&(Va=br.length-ci,Ia=br.slice(0,ci)),typeof Jn=="number"&&(Ia=Ia.map(function(Ca){var yo=Ca.label,uo=Object(E.a)(Ca,["label"]),Xa=yo;if(typeof yo=="string"||typeof yo=="number"){var Oo=String(Xa);Oo.length>Jn&&(Xa="".concat(Oo.slice(0,Jn),"..."))}return Object(v.a)(Object(v.a)({},uo),{},{label:Xa})})),Va>0&&Ia.push({key:Ae,label:typeof Si=="function"?Si(br.slice(ci)):Si});var co=e.createElement(L.a,{component:!1,keys:Ia,motionName:Gn,motionAppear:Xi},function(Ca){var yo=Ca.key,uo=Ca.label,Xa=Ca.value,Oo=Ca.disabled,oa=Ca.className,qa=Ca.style,oo=yo||Xa,Ro=!pr&&yo!==Ae&&!Oo,Ga=function(Ja){Ja.preventDefault(),Ja.stopPropagation()},_o=function(Ja){Ja&&Ja.stopPropagation(),xi(Xa,{selected:!1})};return typeof Ni=="function"?e.createElement("span",{key:oo,onMouseDown:Ga,className:oa,style:qa},Ni({label:uo,value:Xa,disabled:Oo,closable:Ro,onClose:_o})):e.createElement("span",{key:oo,className:S()(oa,"".concat(Zt,"-selection-item"),Object(y.a)({},"".concat(Zt,"-selection-item-disabled"),Oo)),style:qa},e.createElement("span",{className:"".concat(Zt,"-selection-item-content")},uo),Ro&&e.createElement(D,{className:"".concat(Zt,"-selection-item-remove"),onMouseDown:Ga,onClick:_o,customizeIcon:Tn},"\xD7"))});return e.createElement(e.Fragment,null,co,e.createElement("span",{className:"".concat(Zt,"-selection-search"),style:{width:ra},onFocus:function(){Ao(!0)},onBlur:function(){Ao(!1)}},e.createElement(U,{ref:An,open:Or,prefixCls:Zt,id:on,inputElement:null,disabled:pr,autoFocus:nn,autoComplete:cn,editable:Ya,accessibilityIndex:tn,value:ja,onKeyDown:Ti,onMouseDown:Ui,onChange:yi,onPaste:vi,onCompositionStart:$i,onCompositionEnd:Di,tabIndex:Ln,attrs:Object(I.a)(lr,!0)}),e.createElement("span",{ref:ta,className:"".concat(Zt,"-selection-search-mirror"),"aria-hidden":!0},ja,"\xA0")),!br.length&&!ja&&e.createElement("span",{className:"".concat(Zt,"-selection-placeholder")},wt))},De=Ie,Ke=function(lr){var on=lr.inputElement,Zt=lr.prefixCls,br=lr.id,Or=lr.inputRef,Wr=lr.disabled,An=lr.autoFocus,wt=lr.autoComplete,pr=lr.accessibilityIndex,gr=lr.mode,Fr=lr.open,nn=lr.values,cn=lr.placeholder,tn=lr.tabIndex,Ln=lr.showSearch,Tn=lr.searchValue,Gn=lr.activeValue,ci=lr.maxLength,Jn=lr.onInputKeyDown,pi=lr.onInputMouseDown,Si=lr.onInputChange,Ni=lr.onInputPaste,xi=lr.onInputCompositionStart,yi=lr.onInputCompositionEnd,vi=e.useState(!1),Ti=Object(m.a)(vi,2),Ui=Ti[0],$i=Ti[1],Di=gr==="combobox",ua=Di||Ln,aa=nn[0],Xi=Tn||"";Di&&Gn&&!Ui&&(Xi=Gn),e.useEffect(function(){Di&&$i(!1)},[Di,Gn]);var Vi=gr!=="combobox"&&!Fr?!1:!!Xi,ta=aa&&(typeof aa.label=="string"||typeof aa.label=="number")?aa.label.toString():void 0;return e.createElement(e.Fragment,null,e.createElement("span",{className:"".concat(Zt,"-selection-search")},e.createElement(U,{ref:Or,prefixCls:Zt,id:br,open:Fr,inputElement:on,disabled:Wr,autoFocus:An,autoComplete:wt,editable:ua,accessibilityIndex:pr,value:Xi,onKeyDown:Jn,onMouseDown:pi,onChange:function(ga){$i(!0),Si(ga)},onPaste:Ni,onCompositionStart:xi,onCompositionEnd:yi,tabIndex:tn,attrs:Object(I.a)(lr,!0),maxLength:Di?ci:void 0})),!Di&&aa&&!Vi&&e.createElement("span",{className:"".concat(Zt,"-selection-item"),title:ta},aa.label),!aa&&!Vi&&e.createElement("span",{className:"".concat(Zt,"-selection-placeholder")},cn))},me=Ke;function Ue(){var wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,lr=e.useRef(null),on=e.useRef(null);e.useEffect(function(){return function(){window.clearTimeout(on.current)}},[]);function Zt(br){(br||lr.current===null)&&(lr.current=br),window.clearTimeout(on.current),on.current=window.setTimeout(function(){lr.current=null},wr)}return[function(){return lr.current},Zt]}var oe=function(lr,on){var Zt=Object(e.useRef)(null),br=Object(e.useRef)(!1),Or=lr.prefixCls,Wr=lr.multiple,An=lr.open,wt=lr.mode,pr=lr.showSearch,gr=lr.tokenWithEnter,Fr=lr.onSearch,nn=lr.onSearchSubmit,cn=lr.onToggleOpen,tn=lr.onInputKeyDown,Ln=lr.domRef;e.useImperativeHandle(on,function(){return{focus:function(){Zt.current.focus()},blur:function(){Zt.current.blur()}}});var Tn=Ue(0),Gn=Object(m.a)(Tn,2),ci=Gn[0],Jn=Gn[1],pi=function(Vi){var ta=Vi.which;(ta===T.a.UP||ta===T.a.DOWN)&&Vi.preventDefault(),tn&&tn(Vi),ta===T.a.ENTER&&wt==="tags"&&!br.current&&!An&&nn(Vi.target.value),[T.a.SHIFT,T.a.TAB,T.a.BACKSPACE,T.a.ESC].includes(ta)||cn(!0)},Si=function(){Jn(!0)},Ni=Object(e.useRef)(null),xi=function(Vi){Fr(Vi,!0,br.current)!==!1&&cn(!0)},yi=function(){br.current=!0},vi=function(){br.current=!1},Ti=function(Vi){var ta=Vi.target.value;if(gr&&Ni.current&&/[\r\n]/.test(Ni.current)){var Gi=Ni.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");ta=ta.replace(Gi,Ni.current)}Ni.current=null,xi(ta)},Ui=function(Vi){var ta=Vi.clipboardData,Gi=ta.getData("text");Ni.current=Gi},$i=function(Vi){var ta=Vi.target;if(ta!==Zt.current){var Gi=document.body.style.msTouchAction!==void 0;Gi?setTimeout(function(){Zt.current.focus()}):Zt.current.focus()}},Di=function(Vi){var ta=ci();Vi.target!==Zt.current&&!ta&&Vi.preventDefault(),(wt!=="combobox"&&(!pr||!ta)||!An)&&(An&&Fr("",!0,!1),cn())},ua={inputRef:Zt,onInputKeyDown:pi,onInputMouseDown:Si,onInputChange:Ti,onInputPaste:Ui,onInputCompositionStart:yi,onInputCompositionEnd:vi},aa=Wr?e.createElement(De,Object.assign({},lr,ua)):e.createElement(me,Object.assign({},lr,ua));return e.createElement("div",{ref:Ln,className:"".concat(Or,"-selector"),onClick:$i,onMouseDown:Di},aa)},te=e.forwardRef(oe);te.displayName="Selector";var Qe=te,se=d("uciX"),Y=function(lr){var on=typeof lr!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:on,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:on,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:on,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:on,adjustY:1}}}},X=function(lr,on){var Zt=lr.prefixCls,br=lr.disabled,Or=lr.visible,Wr=lr.children,An=lr.popupElement,wt=lr.containerWidth,pr=lr.animation,gr=lr.transitionName,Fr=lr.dropdownStyle,nn=lr.dropdownClassName,cn=lr.direction,tn=cn===void 0?"ltr":cn,Ln=lr.dropdownMatchSelectWidth,Tn=Ln===void 0?!0:Ln,Gn=lr.dropdownRender,ci=lr.dropdownAlign,Jn=lr.getPopupContainer,pi=lr.empty,Si=lr.getTriggerDOMNode,Ni=Object(E.a)(lr,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),xi="".concat(Zt,"-dropdown"),yi=An;Gn&&(yi=Gn(An));var vi=e.useMemo(function(){return Y(Tn)},[Tn]),Ti=pr?"".concat(xi,"-").concat(pr):gr,Ui=e.useRef(null);e.useImperativeHandle(on,function(){return{getPopupElement:function(){return Ui.current}}});var $i=Object(v.a)({minWidth:wt},Fr);return typeof Tn=="number"?$i.width=Tn:Tn&&($i.width=wt),e.createElement(se.a,Object.assign({},Ni,{showAction:[],hideAction:[],popupPlacement:tn==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:vi,prefixCls:xi,popupTransitionName:Ti,popup:e.createElement("div",{ref:Ui},yi),popupAlign:ci,popupVisible:Or,getPopupContainer:Jn,popupClassName:S()(nn,Object(y.a)({},"".concat(xi,"-empty"),pi)),popupStyle:$i,getTriggerDOMNode:Si}),Wr)},Q=e.forwardRef(X);Q.displayName="SelectTrigger";var ge=Q,de="RC_SELECT_INTERNAL_PROPS_MARK";function Te(){var wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,lr=e.useState(!1),on=Object(m.a)(lr,2),Zt=on[0],br=on[1],Or=e.useRef(null),Wr=function(){window.clearTimeout(Or.current)};e.useEffect(function(){return Wr},[]);var An=function(pr,gr){Wr(),Or.current=window.setTimeout(function(){br(pr),gr&&gr()},wr)};return[Zt,An,Wr]}var xe=d("T5bk"),le=d("Kwbf");function fe(wr,lr){var on=wr.key,Zt;return"value"in wr&&(Zt=wr.value),on!=null?on:Zt!==void 0?Zt:"rc-index-key-".concat(lr)}function Ee(wr){var lr=[];function on(Zt,br){Zt.forEach(function(Or){br||!("options"in Or)?lr.push({key:fe(Or,lr.length),groupOption:br,data:Or}):(lr.push({key:fe(Or,lr.length),group:!0,data:Or}),on(Or.options,!0))})}return on(wr,!1),lr}function Ge(wr){var lr=Object(v.a)({},wr);return"props"in lr||Object.defineProperty(lr,"props",{get:function(){return Object(le.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),lr}}),lr}function lt(wr,lr){var on=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Zt=on.prevValueOptions,br=Zt===void 0?[]:Zt,Or=new Map;return lr.forEach(function(Wr){if(!Wr.group){var An=Wr.data;Or.set(An.value,An)}}),wr.map(function(Wr){var An=Or.get(Wr);return An||(An=Object(v.a)({},br.find(function(wt){return wt._INTERNAL_OPTION_VALUE_===Wr}))),Ge(An)})}var Je=function(lr,on){var Zt=on.options,br=on.prevValue,Or=on.labelInValue,Wr=on.optionLabelProp,An=lt([lr],Zt)[0],wt={value:lr},pr,gr=F(br);return Or&&(pr=gr.find(function(Fr){return Object(p.a)(Fr)==="object"&&"value"in Fr?Fr.value===lr:Fr.key===lr})),pr&&Object(p.a)(pr)==="object"&&"label"in pr?(wt.label=pr.label,An&&typeof pr.label=="string"&&typeof An[Wr]=="string"&&pr.label.trim()!==An[Wr].trim()&&Object(le.a)(!1,"`label` of `value` is not same as `label` in Select options.")):An&&Wr in An?wt.label=An[Wr]:wt.label=lr,wt.key=wt.value,wt};function Ce(wr){return F(wr).join("")}function et(wr){return function(lr,on){var Zt=lr.toLowerCase();if("options"in on)return Ce(on.label).toLowerCase().includes(Zt);var br=on[wr],Or=Ce(br).toLowerCase();return Or.includes(Zt)}}function ze(wr,lr,on){var Zt=on.optionFilterProp,br=on.filterOption,Or=[],Wr;return br===!1?Object(h.a)(lr):(typeof br=="function"?Wr=br:Wr=et(Zt),lr.forEach(function(An){if("options"in An){var wt=Wr(wr,An);if(wt)Or.push(An);else{var pr=An.options.filter(function(gr){return Wr(wr,gr)});pr.length&&Or.push(Object(v.a)(Object(v.a)({},An),{},{options:pr}))}return}Wr(wr,Ge(An))&&Or.push(An)}),Or)}function at(wr,lr){if(!lr||!lr.length)return null;var on=!1;function Zt(Or,Wr){var An=Object(xe.a)(Wr),wt=An[0],pr=An.slice(1);if(!wt)return[Or];var gr=Or.split(wt);return on=on||gr.length>1,gr.reduce(function(Fr,nn){return[].concat(Object(h.a)(Fr),Object(h.a)(Zt(nn,pr)))},[]).filter(function(Fr){return Fr})}var br=Zt(wr,lr);return on?br:null}function Ct(wr,lr){var on=lt([wr],lr)[0];return on.disabled}function Tt(wr,lr,on,Zt){var br=F(lr).slice().sort(),Or=Object(h.a)(wr),Wr=new Set;return wr.forEach(function(An){An.options?An.options.forEach(function(wt){Wr.add(wt.value)}):Wr.add(An.value)}),br.forEach(function(An){var wt=Zt?An.value:An;if(!Wr.has(wt)){var pr;Or.push(Zt?(pr={},Object(y.a)(pr,on,An.label),Object(y.a)(pr,"value",wt),pr):{value:wt})}}),Or}function Ot(wr,lr,on){var Zt=e.useRef(null);Zt.current={elements:wr.filter(function(br){return br}),open:lr,triggerOpen:on},e.useEffect(function(){function br(Or){var Wr=Or.target;Zt.current.open&&Zt.current.elements.every(function(An){return!An.contains(Wr)&&An!==Wr})&&Zt.current.triggerOpen(!1)}return window.addEventListener("mousedown",br),function(){return window.removeEventListener("mousedown",br)}},[])}function Nt(wr){var lr=e.useRef(wr),on=e.useMemo(function(){var Zt=new Map;lr.current.forEach(function(Or){var Wr=Or.value,An=Or.label;Wr!==An&&Zt.set(Wr,An)});var br=wr.map(function(Or){var Wr=Zt.get(Or.value);return Or.value===Or.label&&Wr?Object(v.a)(Object(v.a)({},Or),{},{label:Wr}):Or});return lr.current=br,br},[wr]);return on}function Be(wr,lr){var on=e.useRef(null),Zt=e.useMemo(function(){var Or=new Map;return lr.forEach(function(Wr){var An=Wr.data.value;Or.set(An,Wr)}),Or},[wr,lr]);on.current=Zt;var br=function(Wr){return Wr.map(function(An){return on.current.get(An)}).filter(Boolean)};return br}var ne=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function G(wr){var lr=wr.prefixCls,on=wr.components.optionList,Zt=wr.convertChildrenToData,br=wr.flattenOptions,Or=wr.getLabeledValue,Wr=wr.filterOptions,An=wr.isValueDisabled,wt=wr.findValueOption,pr=wr.warningProps,gr=wr.fillOptionsWithMissingValue,Fr=wr.omitDOMProps;function nn(tn,Ln){var Tn,Gn=tn.prefixCls,ci=Gn===void 0?lr:Gn,Jn=tn.className,pi=tn.id,Si=tn.open,Ni=tn.defaultOpen,xi=tn.options,yi=tn.children,vi=tn.mode,Ti=tn.value,Ui=tn.defaultValue,$i=tn.labelInValue,Di=tn.showSearch,ua=tn.inputValue,aa=tn.searchValue,Xi=tn.filterOption,Vi=tn.filterSort,ta=tn.optionFilterProp,Gi=ta===void 0?"value":ta,ga=tn.autoClearSearchValue,ra=ga===void 0?!0:ga,pa=tn.onSearch,_a=tn.allowClear,Da=tn.clearIcon,Ra=tn.showArrow,Ao=tn.inputIcon,ja=tn.menuItemSelectedIcon,Ya=tn.disabled,Ia=tn.loading,Va=tn.defaultActiveFirstOption,co=tn.notFoundContent,Ca=co===void 0?"Not Found":co,yo=tn.optionLabelProp,uo=tn.backfill,Xa=tn.getInputElement,Oo=tn.getPopupContainer,oa=tn.listHeight,qa=oa===void 0?200:oa,oo=tn.listItemHeight,Ro=oo===void 0?20:oo,Ga=tn.animation,_o=tn.transitionName,go=tn.virtual,Ja=tn.dropdownStyle,Fa=tn.dropdownClassName,ha=tn.dropdownMatchSelectWidth,rt=tn.dropdownRender,cr=tn.dropdownAlign,Pr=tn.showAction,Lr=Pr===void 0?[]:Pr,_n=tn.direction,Vr=tn.tokenSeparators,_r=tn.tagRender,kn=tn.onPopupScroll,Ur=tn.onDropdownVisibleChange,En=tn.onFocus,jn=tn.onBlur,Hn=tn.onKeyUp,Bn=tn.onKeyDown,ri=tn.onMouseDown,Yn=tn.onChange,ii=tn.onSelect,ai=tn.onDeselect,ki=tn.onClear,bi=tn.internalProps,Ki=bi===void 0?{}:bi,Aa=Object(E.a)(tn,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","filterSort","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"]),ea=Ki.mark===de,Ji=Fr?Fr(Aa):Aa;ne.forEach(function(po){delete Ji[po]});var sa=Object(e.useRef)(null),fa=Object(e.useRef)(null),xo=Object(e.useRef)(null),Qa=Object(e.useRef)(null),Wi=Object(e.useMemo)(function(){return(Vr||[]).some(function(po){return[` `,`\r `].includes(po)})},[Vr]),qi=Te(),ca=Object(m.a)(qi,3),ma=ca[0],ka=ca[1],La=ca[2],Za=Object(e.useState)(),eo=Object(m.a)(Za,2),Po=eo[0],jo=eo[1];Object(e.useEffect)(function(){jo("rc_select_".concat(ce()))},[]);var cs=pi||Po,Mo=yo;Mo===void 0&&(Mo=xi?"label":"children");var Lo=vi==="combobox"?!1:$i,Ba=vi==="tags"||vi==="multiple",za=Di!==void 0?Di:Ba||vi==="combobox",Ta=Object(e.useRef)(null);e.useImperativeHandle(Ln,function(){return{focus:xo.current.focus,blur:xo.current.blur}});var ko=Object(_.a)(Ui,{value:Ti}),Qo=Object(m.a)(ko,2),so=Qo[0],Os=Qo[1],ho=Object(e.useMemo)(function(){return j(so,{labelInValue:Lo,combobox:vi==="combobox"})},[so,Lo]),bo=Object(e.useMemo)(function(){return new Set(ho)},[ho]),ds=Object(e.useState)(null),Ho=Object(m.a)(ds,2),zo=Ho[0],rn=Ho[1],es=Object(e.useState)(""),Js=Object(m.a)(es,2),Es=Js[0],gs=Js[1],Ko=Es;vi==="combobox"&&so!==void 0?Ko=so:aa!==void 0?Ko=aa:ua&&(Ko=ua);var hs=Object(e.useMemo)(function(){var po=xi;return po===void 0&&(po=Zt(yi)),vi==="tags"&&gr&&(po=gr(po,so,Mo,$i)),po||[]},[xi,yi,vi,so]),bs=Object(e.useMemo)(function(){return br(hs,tn)},[hs]),ws=Be(ho,bs),qo=Object(e.useMemo)(function(){if(!Ko||!za)return Object(h.a)(hs);var po=Wr(Ko,hs,{optionFilterProp:Gi,filterOption:vi==="combobox"&&Xi===void 0?function(){return!0}:Xi});return vi==="tags"&&po.every(function(Wa){return Wa[Gi]!==Ko})&&po.unshift({value:Ko,label:Ko,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Vi&&Array.isArray(po)?Object(h.a)(po).sort(Vi):po},[hs,Ko,vi,za,Vi]),us=Object(e.useMemo)(function(){return br(qo,tn)},[qo]);Object(e.useEffect)(function(){Qa.current&&Qa.current.scrollTo&&Qa.current.scrollTo(0)},[Ko]);var _s=Object(e.useMemo)(function(){var po=ho.map(function(Wa){var Eo=ws([Wa]),Go=Or(Wa,{options:Eo,prevValue:so,labelInValue:Lo,optionLabelProp:Mo});return Object(v.a)(Object(v.a)({},Go),{},{disabled:An(Wa,Eo)})});return!vi&&po.length===1&&po[0].value===null&&po[0].label===null?[]:po},[so,hs,vi]);_s=Nt(_s);var vs=function(Wa,Eo,Go){var $o=ws([Wa]),Co=wt([Wa],$o)[0];if(!Ki.skipTriggerSelect){var rs=Lo?Or(Wa,{options:$o,prevValue:so,labelInValue:Lo,optionLabelProp:Mo}):Wa;Eo&&ii?ii(rs,Co):!Eo&&ai&&ai(rs,Co)}ea&&(Eo&&Ki.onRawSelect?Ki.onRawSelect(Wa,Co,Go):!Eo&&Ki.onRawDeselect&&Ki.onRawDeselect(Wa,Co,Go))},vo=Object(e.useState)([]),to=Object(m.a)(vo,2),Jo=to[0],ts=to[1],Ha=function(Wa){if(ea&&Ki.skipTriggerChange)return;var Eo=ws(Wa),Go=W(Array.from(Wa),{labelInValue:Lo,options:Eo,getLabeledValue:Or,prevValue:so,optionLabelProp:Mo}),$o=Ba?Go:Go[0];if(Yn&&(ho.length!==0||Go.length!==0)){var Co=wt(Wa,Eo,{prevValueOptions:Jo});ts(Co.map(function(rs,os){var Fs=Object(v.a)({},rs);return Object.defineProperty(Fs,"_INTERNAL_OPTION_VALUE_",{get:function(){return Wa[os]}}),Fs})),Yn($o,Ba?Co:Co[0])}Os($o)},It=function(Wa,Eo){var Go=Eo.selected,$o=Eo.source;if(Ya)return;var Co;Ba?(Co=new Set(ho),Go?Co.add(Wa):Co.delete(Wa)):(Co=new Set,Co.add(Wa)),(Ba||!Ba&&Array.from(ho)[0]!==Wa)&&Ha(Array.from(Co)),vs(Wa,!Ba||Go,$o),vi==="combobox"?(gs(String(Wa)),rn("")):(!Ba||ra)&&(gs(""),rn(""))},Vt=function(Wa,Eo){It(Wa,Object(v.a)(Object(v.a)({},Eo),{},{source:"option"}))},dn=function(Wa,Eo){It(Wa,Object(v.a)(Object(v.a)({},Eo),{},{source:"selection"}))},zn=vi==="combobox"&&Xa&&Xa()||null,At=Object(_.a)(void 0,{defaultValue:Ni,value:Si}),ie=Object(m.a)(At,2),pe=ie[0],be=ie[1],He=pe,yt=!Ca&&!qo.length;(Ya||yt&&He&&vi==="combobox")&&(He=!1);var Xt=yt?!1:He,Dr=function(Wa){var Eo=Wa!==void 0?Wa:!He;pe!==Eo&&!Ya&&(be(Eo),Ur&&Ur(Eo))};Ot([sa.current,fa.current&&fa.current.getPopupElement()],Xt,Dr);var Xr=function(Wa,Eo,Go){var $o=!0,Co=Wa;rn(null);var rs=Go?null:at(Wa,Vr),os=rs;if(vi==="combobox")Eo&&Ha([Co]);else if(rs){Co="",vi!=="tags"&&(os=rs.map(function(ol){var Zs=bs.find(function(dl){var hl=dl.data;return hl[Mo]===ol});return Zs?Zs.data.value:null}).filter(function(ol){return ol!==null}));var Fs=Array.from(new Set([].concat(Object(h.a)(ho),Object(h.a)(os))));Ha(Fs),Fs.forEach(function(ol){vs(ol,!0,"input")}),Dr(!1),$o=!1}return gs(Co),pa&&Ko!==Co&&pa(Co),$o},hn=function(Wa){var Eo=Array.from(new Set([].concat(Object(h.a)(ho),[Wa])));Ha(Eo),Eo.forEach(function(Go){vs(Go,!0,"input")}),gs("")};Object(e.useEffect)(function(){pe&&!!Ya&&be(!1)},[Ya]),Object(e.useEffect)(function(){!He&&!Ba&&vi!=="combobox"&&Xr("",!1,!1)},[He]);var Kn=Ue(),qn=Object(m.a)(Kn,2),Qn=qn[0],Ei=qn[1],Fi=function(Wa){var Eo=Qn(),Go=Wa.which;if(!He&&Go===T.a.ENTER&&Dr(!0),Ei(!!Ko),Go===T.a.BACKSPACE&&!Eo&&Ba&&!Ko&&ho.length){var $o=V(_s,ho);$o.removedValue!==null&&(Ha($o.values),vs($o.removedValue,!1,"input"))}for(var Co=arguments.length,rs=new Array(Co>1?Co-1:0),os=1;os1?Eo-1:0),$o=1;$o1?Co-1:0),os=1;os2&&arguments[2]!==void 0?arguments[2]:{},$o=Go.source,Co=$o===void 0?"keyboard":$o;Ka(Eo),uo&&vi==="combobox"&&Wa!==null&&Co==="keyboard"&&rn(String(Wa))},Xo=Object(e.useState)(null),la=Object(m.a)(Xo,2),Vs=la[0],Hs=la[1],fs=Object(e.useState)({}),as=Object(m.a)(fs,2),Ss=as[1];function xl(){Ss({})}ae(function(){if(Xt){var po=Math.ceil(sa.current.offsetWidth);Vs!==po&&Hs(po)}},[Xt]);var vl=e.createElement(on,{ref:Qa,prefixCls:ci,id:cs,open:He,childrenAsData:!xi,options:qo,flattenOptions:us,multiple:Ba,values:bo,height:qa,itemHeight:Ro,onSelect:Vt,onToggleOpen:Dr,onActiveValue:Is,defaultActiveFirstOption:is,notFoundContent:Ca,onScroll:kn,searchValue:Ko,menuItemSelectedIcon:ja,virtual:go!==!1&&ha!==!1,onMouseEnter:xl}),zs,Zo=function(){ea&&Ki.onClear&&Ki.onClear(),ki&&ki(),Ha([]),Xr("",!1,!1)};!Ya&&_a&&(ho.length||Ko)&&(zs=e.createElement(D,{className:"".concat(ci,"-clear"),onMouseDown:Zo,customizeIcon:Da},"\xD7"));var As=Ra!==void 0?Ra:Ia||!Ba&&vi!=="combobox",nl;As&&(nl=e.createElement(D,{className:S()("".concat(ci,"-arrow"),Object(y.a)({},"".concat(ci,"-arrow-loading"),Ia)),customizeIcon:Ao,customizeIconProps:{loading:Ia,searchValue:Ko,open:He,focused:ma,showSearch:za}}));var Ps=S()(ci,Jn,(Tn={},Object(y.a)(Tn,"".concat(ci,"-focused"),ma),Object(y.a)(Tn,"".concat(ci,"-multiple"),Ba),Object(y.a)(Tn,"".concat(ci,"-single"),!Ba),Object(y.a)(Tn,"".concat(ci,"-allow-clear"),_a),Object(y.a)(Tn,"".concat(ci,"-show-arrow"),As),Object(y.a)(Tn,"".concat(ci,"-disabled"),Ya),Object(y.a)(Tn,"".concat(ci,"-loading"),Ia),Object(y.a)(Tn,"".concat(ci,"-open"),He),Object(y.a)(Tn,"".concat(ci,"-customize-input"),zn),Object(y.a)(Tn,"".concat(ci,"-show-search"),za),Tn));return e.createElement("div",Object.assign({className:Ps},Ji,{ref:sa,onMouseDown:Yo,onKeyDown:Fi,onKeyUp:va,onFocus:fo,onBlur:wo}),ma&&!He&&e.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(ho.join(", "))),e.createElement(ge,{ref:fa,disabled:Ya,prefixCls:ci,visible:Xt,popupElement:vl,containerWidth:Vs,animation:Ga,transitionName:_o,dropdownStyle:Ja,dropdownClassName:Fa,direction:_n,dropdownMatchSelectWidth:ha,dropdownRender:rt,dropdownAlign:cr,getPopupContainer:Oo,empty:!hs.length,getTriggerDOMNode:function(){return Ta.current}},e.createElement(Qe,Object.assign({},tn,{domRef:Ta,prefixCls:ci,inputElement:zn,ref:xo,id:cs,showSearch:za,mode:vi,accessibilityIndex:ao,multiple:Ba,tagRender:_r,values:_s,open:He,onToggleOpen:Dr,searchValue:Ko,activeValue:zo,onSearch:Xr,onSearchSubmit:hn,onSelect:dn,tokenWithEnter:Wi}))),nl,zs)}var cn=e.forwardRef(nn);return cn}var Pe=d("Zm9Q"),Ne=d("JX7q"),q=e.createContext(null),ht=function(lr){var on=lr.prefixCls,Zt=lr.level,br=lr.isStart,Or=lr.isEnd;if(!Zt)return null;for(var Wr="".concat(on,"-indent-unit"),An=[],wt=0;wt=0&&on.splice(Zt,1),on}function Hr(wr,lr){var on=wr.slice();return on.indexOf(lr)===-1&&on.push(lr),on}function fn(wr){return wr.split("-")}function Nn(wr,lr){return"".concat(wr,"-").concat(lr)}function Vn(wr){return wr&&wr.type&&wr.type.isTreeNode}function gi(wr,lr){var on=[wr],Zt=lr[wr];function br(){var Or=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Or.forEach(function(Wr){var An=Wr.key,wt=Wr.children;on.push(An),br(wt)})}return br(Zt.children),on}function bn(wr,lr){var on=wr.clientY,Zt=lr.selectHandle.getBoundingClientRect(),br=Zt.top,Or=Zt.bottom,Wr=Zt.height,An=Math.max(Wr*er,Kt);return on<=br+An?-1:on>=Or-An?1:0}function Mn(wr,lr){if(!wr)return;var on=lr.multiple;return on?wr.slice():wr.length?[wr[0]]:wr}var jt=function(lr){return lr};function St(wr,lr){if(!wr)return[];var on=lr||{},Zt=on.processProps,br=Zt===void 0?jt:Zt,Or=Array.isArray(wr)?wr:[wr];return Or.map(function(Wr){var An=Wr.children,wt=Object(E.a)(Wr,["children"]),pr=St(An,lr);return s.a.createElement(dr,Object.assign({},br(wt)),pr)})}function _e(wr){if(!wr)return null;var lr;if(Array.isArray(wr))lr={checkedKeys:wr,halfCheckedKeys:void 0};else if(Object(p.a)(wr)==="object")lr={checkedKeys:wr.checked||void 0,halfCheckedKeys:wr.halfChecked||void 0};else return Object(le.a)(!1,"`checkedKeys` is not an array or an object"),null;return lr}function Oe(wr,lr){var on=new Set;function Zt(br){if(on.has(br))return;var Or=lr[br];if(!Or)return;on.add(br);var Wr=Or.parent,An=Or.node;if(An.disabled)return;Wr&&Zt(Wr.key)}return(wr||[]).forEach(function(br){Zt(br)}),Object(h.a)(on)}function Le(wr){var lr={};return Object.keys(wr).forEach(function(on){(on.startsWith("data-")||on.startsWith("aria-"))&&(lr[on]=wr[on])}),lr}function Ze(wr,lr){return wr!=null?wr:lr}function nt(){var wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],lr=new Map;function on(Zt){var br=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Zt||[]).forEach(function(Or){var Wr=Or.key,An=Or.children;Object(le.a)(Wr!=null,"Tree node must have a certain key: [".concat(br).concat(Wr,"]"));var wt=String(Wr);Object(le.a)(!lr.has(wt)||Wr===null||Wr===void 0,"Same 'key' exist in the Tree: ".concat(wt)),lr.set(wt,!0),on(An,"".concat(br).concat(wt," > "))})}on(wr)}function ft(wr){function lr(on){var Zt=Object(Pe.a)(on);return Zt.map(function(br){if(!Vn(br))return Object(le.a)(!br,"Tree/TreeNode can only accept TreeNode as children."),null;var Or=br.key,Wr=br.props,An=Wr.children,wt=Object(E.a)(Wr,["children"]),pr=Object(v.a)({key:Or},wt),gr=lr(An);return gr.length&&(pr.children=gr),pr}).filter(function(br){return br})}return lr(wr)}function Dt(){var wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],on=new Set(lr===!0?[]:lr),Zt=[];function br(Or){var Wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Or.map(function(An,wt){var pr=Nn(Wr?Wr.pos:"0",wt),gr=Ze(An.key,pr),Fr=Object(v.a)(Object(v.a)({},An),{},{parent:Wr,pos:pr,children:null,data:An,isStart:[].concat(Object(h.a)(Wr?Wr.isStart:[]),[wt===0]),isEnd:[].concat(Object(h.a)(Wr?Wr.isEnd:[]),[wt===Or.length-1])});return Zt.push(Fr),lr===!0||on.has(gr)?Fr.children=br(An.children||[],Fr):Fr.children=[],Fr})}return br(wr),Zt}function Ar(wr,lr,on){var Zt;on?typeof on=="string"?Zt=function(Wr){return Wr[on]}:typeof on=="function"&&(Zt=function(Wr){return on(Wr)}):Zt=function(Wr,An){return Ze(Wr.key,An)};function br(Or,Wr,An){var wt=Or?Or.children:wr,pr=Or?Nn(An.pos,Wr):"0";if(Or){var gr=Zt(Or,pr),Fr={node:Or,index:Wr,pos:pr,key:gr,parentPos:An.node?An.pos:null,level:An.level+1};lr(Fr)}wt&&wt.forEach(function(nn,cn){br(nn,cn,{node:Or,pos:pr,level:An?An.level+1:-1})})}br(null)}function Mr(wr){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},on=lr.initWrapper,Zt=lr.processEntity,br=lr.onProcessFinished,Or=arguments.length>2?arguments[2]:void 0,Wr={},An={},wt={posEntities:Wr,keyEntities:An};return on&&(wt=on(wt)||wt),Ar(wr,function(pr){var gr=pr.node,Fr=pr.index,nn=pr.pos,cn=pr.key,tn=pr.parentPos,Ln=pr.level,Tn={node:gr,index:Fr,key:cn,pos:nn,level:Ln},Gn=Ze(cn,nn);Wr[nn]=Tn,An[Gn]=Tn,Tn.parent=Wr[tn],Tn.parent&&(Tn.parent.children=Tn.parent.children||[],Tn.parent.children.push(Tn)),Zt&&Zt(Tn,wt)},Or),br&&br(wt),wt}function un(wr,lr){var on=lr.expandedKeys,Zt=lr.selectedKeys,br=lr.loadedKeys,Or=lr.loadingKeys,Wr=lr.checkedKeys,An=lr.halfCheckedKeys,wt=lr.dragOverNodeKey,pr=lr.dropPosition,gr=lr.keyEntities,Fr=gr[wr],nn={eventKey:wr,expanded:on.indexOf(wr)!==-1,selected:Zt.indexOf(wr)!==-1,loaded:br.indexOf(wr)!==-1,loading:Or.indexOf(wr)!==-1,checked:Wr.indexOf(wr)!==-1,halfChecked:An.indexOf(wr)!==-1,pos:String(Fr?Fr.pos:""),dragOver:wt===wr&&pr===0,dragOverGapTop:wt===wr&&pr===-1,dragOverGapBottom:wt===wr&&pr===1};return nn}function Rt(wr){var lr=wr.data,on=wr.expanded,Zt=wr.selected,br=wr.checked,Or=wr.loaded,Wr=wr.loading,An=wr.halfChecked,wt=wr.dragOver,pr=wr.dragOverGapTop,gr=wr.dragOverGapBottom,Fr=wr.pos,nn=wr.active,cn=Object(v.a)(Object(v.a)({},lr),{},{expanded:on,selected:Zt,checked:br,loaded:Or,loading:Wr,halfChecked:An,dragOver:wt,dragOverGapTop:pr,dragOverGapBottom:gr,pos:Fr,active:nn});return"props"in cn||Object.defineProperty(cn,"props",{get:function(){return Object(le.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),wr}}),cn}function it(wr,lr){var on=new Set;return wr.forEach(function(Zt){lr.has(Zt)||on.add(Zt)}),on}function st(wr){var lr=wr||{},on=lr.disabled,Zt=lr.disableCheckbox,br=lr.checkable;return!!(on||Zt)||br===!1}function rr(wr,lr,on,Zt){for(var br=new Set(wr),Or=new Set,Wr=0;Wr<=on;Wr+=1){var An=lr.get(Wr)||new Set;An.forEach(function(Fr){var nn=Fr.key,cn=Fr.node,tn=Fr.children,Ln=tn===void 0?[]:tn;br.has(nn)&&!Zt(cn)&&Ln.filter(function(Tn){return!Zt(Tn.node)}).forEach(function(Tn){br.add(Tn.key)})})}for(var wt=new Set,pr=on;pr>=0;pr-=1){var gr=lr.get(pr)||new Set;gr.forEach(function(Fr){var nn=Fr.parent,cn=Fr.node;if(Zt(cn)||!Fr.parent||wt.has(Fr.parent.key))return;if(Zt(Fr.parent.node)){wt.add(nn.key);return}var tn=!0,Ln=!1;(nn.children||[]).filter(function(Tn){return!Zt(Tn.node)}).forEach(function(Tn){var Gn=Tn.key,ci=br.has(Gn);tn&&!ci&&(tn=!1),!Ln&&(ci||Or.has(Gn))&&(Ln=!0)}),tn&&br.add(nn.key),Ln&&Or.add(nn.key),wt.add(nn.key)})}return{checkedKeys:Array.from(br),halfCheckedKeys:Array.from(it(Or,br))}}function Bt(wr,lr,on,Zt,br){for(var Or=new Set(wr),Wr=new Set(lr),An=0;An<=Zt;An+=1){var wt=on.get(An)||new Set;wt.forEach(function(nn){var cn=nn.key,tn=nn.node,Ln=nn.children,Tn=Ln===void 0?[]:Ln;!Or.has(cn)&&!Wr.has(cn)&&!br(tn)&&Tn.filter(function(Gn){return!br(Gn.node)}).forEach(function(Gn){Or.delete(Gn.key)})})}Wr=new Set;for(var pr=new Set,gr=Zt;gr>=0;gr-=1){var Fr=on.get(gr)||new Set;Fr.forEach(function(nn){var cn=nn.parent,tn=nn.node;if(br(tn)||!nn.parent||pr.has(nn.parent.key))return;if(br(nn.parent.node)){pr.add(cn.key);return}var Ln=!0,Tn=!1;(cn.children||[]).filter(function(Gn){return!br(Gn.node)}).forEach(function(Gn){var ci=Gn.key,Jn=Or.has(ci);Ln&&!Jn&&(Ln=!1),!Tn&&(Jn||Wr.has(ci))&&(Tn=!0)}),Ln||Or.delete(cn.key),Tn&&Wr.add(cn.key),pr.add(cn.key)})}return{checkedKeys:Array.from(Or),halfCheckedKeys:Array.from(it(Wr,Or))}}function _t(wr,lr,on,Zt){var br=[],Or;Zt?Or=Zt:Or=st;var Wr=new Set(wr.filter(function(gr){var Fr=!!on[gr];return Fr||br.push(gr),Fr})),An=new Map,wt=0;Object.keys(on).forEach(function(gr){var Fr=on[gr],nn=Fr.level,cn=An.get(nn);cn||(cn=new Set,An.set(nn,cn)),cn.add(Fr),wt=Math.max(wt,nn)}),Object(le.a)(!br.length,"Tree missing follow keys: ".concat(br.slice(0,100).map(function(gr){return"'".concat(gr,"'")}).join(", ")));var pr;return lr===!0?pr=rr(Wr,An,wt,Or):pr=Bt(Wr,lr.halfCheckedKeys,An,wt,Or),pr}var Ht=d("YrtM"),pt=d("+nKL"),Ut=function(lr,on){var Zt=lr.className,br=lr.style,Or=lr.motion,Wr=lr.motionNodes,An=lr.motionType,wt=lr.onMotionStart,pr=lr.onMotionEnd,gr=lr.active,Fr=lr.treeNodeRequiredProps,nn=Object(E.a)(lr,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),cn=e.useState(!0),tn=Object(m.a)(cn,2),Ln=tn[0],Tn=tn[1],Gn=e.useContext(q),ci=Gn.prefixCls,Jn=e.useRef(!1),pi=function(){Jn.current||pr(),Jn.current=!0};return Object(e.useEffect)(function(){Wr&&An==="hide"&&Ln&&Tn(!1)},[Wr]),Object(e.useEffect)(function(){return Wr&&wt(),function(){Wr&&pi()}},[]),Wr?e.createElement(L.b,Object.assign({ref:on,visible:Ln},Or,{motionAppear:An==="show",onAppearEnd:pi,onLeaveEnd:pi}),function(Si,Ni){var xi=Si.className,yi=Si.style;return e.createElement("div",{ref:Ni,className:S()("".concat(ci,"-treenode-motion"),xi),style:yi},Wr.map(function(vi){var Ti=vi.data,Ui=Ti.key,$i=Object(E.a)(Ti,["key"]),Di=vi.isStart,ua=vi.isEnd;delete $i.children;var aa=un(Ui,Fr);return e.createElement(dr,Object.assign({},$i,aa,{active:gr,data:vi.data,key:Ui,isStart:Di,isEnd:ua}))}))}):e.createElement(dr,Object.assign({domRef:on,className:Zt,style:br},nn,{active:gr}))};Ut.displayName="MotionTreeNode";var Sr=e.forwardRef(Ut),mr=Sr;function vr(){var wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],on=wr.length,Zt=lr.length;if(Math.abs(on-Zt)!==1)return{add:!1,key:null};function br(Or,Wr){var An=new Map;Or.forEach(function(pr){An.set(pr,!0)});var wt=Wr.filter(function(pr){return!An.has(pr)});return wt.length===1?wt[0]:null}return on ").concat(lr);return lr}var Re=function(lr,on){var Zt=lr.prefixCls,br=lr.data,Or=lr.selectable,Wr=lr.checkable,An=lr.expandedKeys,wt=lr.selectedKeys,pr=lr.checkedKeys,gr=lr.loadedKeys,Fr=lr.loadingKeys,nn=lr.halfCheckedKeys,cn=lr.keyEntities,tn=lr.disabled,Ln=lr.dragging,Tn=lr.dragOverNodeKey,Gn=lr.dropPosition,ci=lr.motion,Jn=lr.height,pi=lr.itemHeight,Si=lr.virtual,Ni=lr.focusable,xi=lr.activeItem,yi=lr.focused,vi=lr.tabIndex,Ti=lr.onKeyDown,Ui=lr.onFocus,$i=lr.onBlur,Di=lr.onActiveChange,ua=lr.onListChangeStart,aa=lr.onListChangeEnd,Xi=Object(E.a)(lr,["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"]),Vi=e.useRef(null);e.useImperativeHandle(on,function(){return{scrollTo:function(_o){Vi.current.scrollTo(_o)}}});var ta=e.useState(An),Gi=Object(m.a)(ta,2),ga=Gi[0],ra=Gi[1],pa=e.useState(br),_a=Object(m.a)(pa,2),Da=_a[0],Ra=_a[1],Ao=e.useState(br),ja=Object(m.a)(Ao,2),Ya=ja[0],Ia=ja[1],Va=e.useState([]),co=Object(m.a)(Va,2),Ca=co[0],yo=co[1],uo=e.useState(null),Xa=Object(m.a)(uo,2),Oo=Xa[0],oa=Xa[1];function qa(){Ra(br),Ia(br),yo([]),oa(null),aa()}e.useEffect(function(){ra(An);var Ga=vr(ga,An);if(Ga.key!==null)if(Ga.add){var _o=Da.findIndex(function(cr){var Pr=cr.data.key;return Pr===Ga.key}),go=Ii(Jr(Da,br,Ga.key),Si,Jn,pi),Ja=Da.slice();Ja.splice(_o+1,0,Ai),Ia(Ja),yo(go),oa("show")}else{var Fa=br.findIndex(function(cr){var Pr=cr.data.key;return Pr===Ga.key}),ha=Ii(Jr(br,Da,Ga.key),Si,Jn,pi),rt=br.slice();rt.splice(Fa+1,0,Ai),Ia(rt),yo(ha),oa("hide")}else Da!==br&&(Ra(br),Ia(br))},[An,br]),e.useEffect(function(){Ln||qa()},[Ln]);var oo=ci?Ya:br,Ro={expandedKeys:An,selectedKeys:wt,loadedKeys:gr,loadingKeys:Fr,checkedKeys:pr,halfCheckedKeys:nn,dragOverNodeKey:Tn,dropPosition:Gn,keyEntities:cn};return e.createElement(e.Fragment,null,yi&&xi&&e.createElement("span",{style:$r,"aria-live":"assertive"},Se(xi)),e.createElement("div",{role:"tree"},e.createElement("input",{style:$r,disabled:Ni===!1||tn,tabIndex:Ni!==!1?vi:null,onKeyDown:Ti,onFocus:Ui,onBlur:$i,value:"",onChange:Pn})),e.createElement(pt.a,Object.assign({},Xi,{data:oo,itemKey:$e,height:Jn,fullHeight:!1,virtual:Si,itemHeight:pi,prefixCls:"".concat(Zt,"-list"),ref:Vi}),function(Ga){var _o=Ga.pos,go=Ga.data,Ja=go.key,Fa=Object(E.a)(go,["key"]),ha=Ga.isStart,rt=Ga.isEnd,cr=Ze(Ja,_o);delete Fa.children;var Pr=un(cr,Ro);return e.createElement(mr,Object.assign({},Fa,Pr,{active:xi&&Ja===xi.data.key,pos:_o,data:Ga.data,isStart:ha,isEnd:rt,motion:ci,motionNodes:Ja===Dn?Ca:null,motionType:Oo,onMotionStart:ua,onMotionEnd:qa,treeNodeRequiredProps:Ro,onMouseMove:function(){Di(null)}}))}))},je=e.forwardRef(Re);je.displayName="NodeList";var Ye=je,Ve=function(wr){Object(l.a)(on,wr);var lr=Object(u.a)(on);function on(){var Zt;return Object(t.a)(this,on),Zt=lr.apply(this,arguments),Zt.destroyed=!1,Zt.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},Zt.listRef=e.createRef(),Zt.onNodeDragStart=function(br,Or){var Wr=Zt.state,An=Wr.expandedKeys,wt=Wr.keyEntities,pr=Zt.props.onDragStart,gr=Or.props.eventKey;Zt.dragNode=Or;var Fr=dt(An,gr);Zt.setState({dragging:!0,dragNodesKeys:gi(gr,wt)}),Zt.setExpandedKeys(Fr),pr&&pr({event:br,node:Rt(Or.props)})},Zt.onNodeDragEnter=function(br,Or){var Wr=Zt.state,An=Wr.expandedKeys,wt=Wr.keyEntities,pr=Wr.dragNodesKeys,gr=Zt.props.onDragEnter,Fr=Or.props,nn=Fr.pos,cn=Fr.eventKey;if(!Zt.dragNode||pr.indexOf(cn)!==-1)return;var tn=bn(br,Or);if(Zt.dragNode.props.eventKey===cn&&tn===0){Zt.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){Zt.setState({dragOverNodeKey:cn,dropPosition:tn}),Zt.delayedDragEnterLogic||(Zt.delayedDragEnterLogic={}),Object.keys(Zt.delayedDragEnterLogic).forEach(function(Ln){clearTimeout(Zt.delayedDragEnterLogic[Ln])}),Zt.delayedDragEnterLogic[nn]=window.setTimeout(function(){if(!Zt.state.dragging)return;var Ln=Object(h.a)(An),Tn=wt[cn];Tn&&(Tn.children||[]).length&&(Ln=Hr(An,cn)),"expandedKeys"in Zt.props||Zt.setExpandedKeys(Ln),gr&&gr({event:br,node:Rt(Or.props),expandedKeys:Ln})},400)},0)},Zt.onNodeDragOver=function(br,Or){var Wr=Zt.state.dragNodesKeys,An=Zt.props.onDragOver,wt=Or.props.eventKey;if(Wr.indexOf(wt)!==-1)return;if(Zt.dragNode&&wt===Zt.state.dragOverNodeKey){var pr=bn(br,Or);if(pr===Zt.state.dropPosition)return;Zt.setState({dropPosition:pr})}An&&An({event:br,node:Rt(Or.props)})},Zt.onNodeDragLeave=function(br,Or){var Wr=Zt.props.onDragLeave;Zt.setState({dragOverNodeKey:""}),Wr&&Wr({event:br,node:Rt(Or.props)})},Zt.onNodeDragEnd=function(br,Or){var Wr=Zt.props.onDragEnd;Zt.setState({dragOverNodeKey:""}),Zt.cleanDragState(),Wr&&Wr({event:br,node:Rt(Or.props)}),Zt.dragNode=null},Zt.onNodeDrop=function(br,Or){var Wr=Zt.state,An=Wr.dragNodesKeys,wt=An===void 0?[]:An,pr=Wr.dropPosition,gr=Zt.props.onDrop,Fr=Or.props,nn=Fr.eventKey,cn=Fr.pos;if(Zt.setState({dragOverNodeKey:""}),Zt.cleanDragState(),wt.indexOf(nn)!==-1){Object(le.a)(!1,"Can not drop to dragNode(include it's children node)");return}var tn=fn(cn),Ln={event:br,node:Rt(Or.props),dragNode:Zt.dragNode?Rt(Zt.dragNode.props):null,dragNodesKeys:wt.slice(),dropPosition:pr+Number(tn[tn.length-1]),dropToGap:!1};pr!==0&&(Ln.dropToGap=!0),gr&&gr(Ln),Zt.dragNode=null},Zt.cleanDragState=function(){var br=Zt.state.dragging;br&&Zt.setState({dragging:!1})},Zt.onNodeClick=function(br,Or){var Wr=Zt.props.onClick;Wr&&Wr(br,Or)},Zt.onNodeDoubleClick=function(br,Or){var Wr=Zt.props.onDoubleClick;Wr&&Wr(br,Or)},Zt.onNodeSelect=function(br,Or){var Wr=Zt.state.selectedKeys,An=Zt.state.keyEntities,wt=Zt.props,pr=wt.onSelect,gr=wt.multiple,Fr=Or.selected,nn=Or.key,cn=!Fr;cn?gr?Wr=Hr(Wr,nn):Wr=[nn]:Wr=dt(Wr,nn);var tn=Wr.map(function(Ln){var Tn=An[Ln];return Tn?Tn.node:null}).filter(function(Ln){return Ln});Zt.setUncontrolledState({selectedKeys:Wr}),pr&&pr(Wr,{event:"select",selected:cn,node:Or,selectedNodes:tn,nativeEvent:br.nativeEvent})},Zt.onNodeCheck=function(br,Or,Wr){var An=Zt.state,wt=An.keyEntities,pr=An.checkedKeys,gr=An.halfCheckedKeys,Fr=Zt.props,nn=Fr.checkStrictly,cn=Fr.onCheck,tn=Or.key,Ln,Tn={event:"check",node:Or,checked:Wr,nativeEvent:br.nativeEvent};if(nn){var Gn=Wr?Hr(pr,tn):dt(pr,tn),ci=dt(gr,tn);Ln={checked:Gn,halfChecked:ci},Tn.checkedNodes=Gn.map(function(yi){return wt[yi]}).filter(function(yi){return yi}).map(function(yi){return yi.node}),Zt.setUncontrolledState({checkedKeys:Gn})}else{var Jn=_t([].concat(Object(h.a)(pr),[tn]),!0,wt),pi=Jn.checkedKeys,Si=Jn.halfCheckedKeys;if(!Wr){var Ni=new Set(pi);Ni.delete(tn);var xi=_t(Array.from(Ni),{checked:!1,halfCheckedKeys:Si},wt);pi=xi.checkedKeys,Si=xi.halfCheckedKeys}Ln=pi,Tn.checkedNodes=[],Tn.checkedNodesPositions=[],Tn.halfCheckedKeys=Si,pi.forEach(function(yi){var vi=wt[yi];if(!vi)return;var Ti=vi.node,Ui=vi.pos;Tn.checkedNodes.push(Ti),Tn.checkedNodesPositions.push({node:Ti,pos:Ui})}),Zt.setUncontrolledState({checkedKeys:pi},!1,{halfCheckedKeys:Si})}cn&&cn(Ln,Tn)},Zt.onNodeLoad=function(br){return new Promise(function(Or){Zt.setState(function(Wr){var An=Wr.loadedKeys,wt=An===void 0?[]:An,pr=Wr.loadingKeys,gr=pr===void 0?[]:pr,Fr=Zt.props,nn=Fr.loadData,cn=Fr.onLoad,tn=br.key;if(!nn||wt.indexOf(tn)!==-1||gr.indexOf(tn)!==-1)return{};var Ln=nn(br);return Ln.then(function(){var Tn=Zt.state,Gn=Tn.loadedKeys,ci=Tn.loadingKeys,Jn=Hr(Gn,tn),pi=dt(ci,tn);cn&&cn(Jn,{event:"load",node:br}),Zt.setUncontrolledState({loadedKeys:Jn}),Zt.setState({loadingKeys:pi}),Or()}),{loadingKeys:Hr(gr,tn)}})})},Zt.onNodeMouseEnter=function(br,Or){var Wr=Zt.props.onMouseEnter;Wr&&Wr({event:br,node:Or})},Zt.onNodeMouseLeave=function(br,Or){var Wr=Zt.props.onMouseLeave;Wr&&Wr({event:br,node:Or})},Zt.onNodeContextMenu=function(br,Or){var Wr=Zt.props.onRightClick;Wr&&(br.preventDefault(),Wr({event:br,node:Or}))},Zt.onFocus=function(){var br=Zt.props.onFocus;Zt.setState({focused:!0}),br&&br.apply(void 0,arguments)},Zt.onBlur=function(){var br=Zt.props.onBlur;Zt.setState({focused:!1}),Zt.onActiveChange(null),br&&br.apply(void 0,arguments)},Zt.getTreeNodeRequiredProps=function(){var br=Zt.state,Or=br.expandedKeys,Wr=br.selectedKeys,An=br.loadedKeys,wt=br.loadingKeys,pr=br.checkedKeys,gr=br.halfCheckedKeys,Fr=br.dragOverNodeKey,nn=br.dropPosition,cn=br.keyEntities;return{expandedKeys:Or||[],selectedKeys:Wr||[],loadedKeys:An||[],loadingKeys:wt||[],checkedKeys:pr||[],halfCheckedKeys:gr||[],dragOverNodeKey:Fr,dropPosition:nn,keyEntities:cn}},Zt.setExpandedKeys=function(br){var Or=Zt.state.treeData,Wr=Dt(Or,br);Zt.setUncontrolledState({expandedKeys:br,flattenNodes:Wr},!0)},Zt.onNodeExpand=function(br,Or){var Wr=Zt.state.expandedKeys,An=Zt.state.listChanging,wt=Zt.props,pr=wt.onExpand,gr=wt.loadData,Fr=Or.key,nn=Or.expanded;if(An)return;var cn=Wr.indexOf(Fr),tn=!nn;if(Object(le.a)(nn&&cn!==-1||!nn&&cn===-1,"Expand state not sync with index check"),tn?Wr=Hr(Wr,Fr):Wr=dt(Wr,Fr),Zt.setExpandedKeys(Wr),pr&&pr(Wr,{node:Or,expanded:tn,nativeEvent:br.nativeEvent}),tn&&gr){var Ln=Zt.onNodeLoad(Or);Ln&&Ln.then(function(){var Tn=Dt(Zt.state.treeData,Wr);Zt.setUncontrolledState({flattenNodes:Tn})})}},Zt.onListChangeStart=function(){Zt.setUncontrolledState({listChanging:!0})},Zt.onListChangeEnd=function(){setTimeout(function(){Zt.setUncontrolledState({listChanging:!1})})},Zt.onActiveChange=function(br){var Or=Zt.state.activeKey,Wr=Zt.props.onActiveChange;if(Or===br)return;Zt.setState({activeKey:br}),br!==null&&Zt.scrollTo({key:br}),Wr&&Wr(br)},Zt.getActiveItem=function(){var br=Zt.state,Or=br.activeKey,Wr=br.flattenNodes;return Or===null?null:Wr.find(function(An){var wt=An.data.key;return wt===Or})||null},Zt.offsetActiveKey=function(br){var Or=Zt.state,Wr=Or.flattenNodes,An=Or.activeKey,wt=Wr.findIndex(function(Fr){var nn=Fr.data.key;return nn===An});wt===-1&&br<0&&(wt=Wr.length),wt=(wt+br+Wr.length)%Wr.length;var pr=Wr[wt];if(pr){var gr=pr.data.key;Zt.onActiveChange(gr)}else Zt.onActiveChange(null)},Zt.onKeyDown=function(br){var Or=Zt.state,Wr=Or.activeKey,An=Or.expandedKeys,wt=Or.checkedKeys,pr=Zt.props,gr=pr.onKeyDown,Fr=pr.checkable,nn=pr.selectable;switch(br.which){case T.a.UP:{Zt.offsetActiveKey(-1),br.preventDefault();break}case T.a.DOWN:{Zt.offsetActiveKey(1),br.preventDefault();break}}var cn=Zt.getActiveItem();if(cn&&cn.data){var tn=Zt.getTreeNodeRequiredProps(),Ln=cn.data.isLeaf===!1||!!(cn.data.children||[]).length,Tn=Rt(Object(v.a)(Object(v.a)({},un(Wr,tn)),{},{data:cn.data,active:!0}));switch(br.which){case T.a.LEFT:{Ln&&An.includes(Wr)?Zt.onNodeExpand({},Tn):cn.parent&&Zt.onActiveChange(cn.parent.data.key),br.preventDefault();break}case T.a.RIGHT:{Ln&&!An.includes(Wr)?Zt.onNodeExpand({},Tn):cn.children&&cn.children.length&&Zt.onActiveChange(cn.children[0].data.key),br.preventDefault();break}case T.a.ENTER:case T.a.SPACE:{Fr&&!Tn.disabled&&Tn.checkable!==!1&&!Tn.disableCheckbox?Zt.onNodeCheck({},Tn,!wt.includes(Wr)):!Fr&&nn&&!Tn.disabled&&Tn.selectable!==!1&&Zt.onNodeSelect({},Tn);break}}}gr&&gr(br)},Zt.setUncontrolledState=function(br){var Or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Wr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Zt.destroyed)return;var An=!1,wt=!0,pr={};Object.keys(br).forEach(function(gr){if(gr in Zt.props){wt=!1;return}An=!0,pr[gr]=br[gr]}),An&&(!Or||wt)&&Zt.setState(Object(v.a)(Object(v.a)({},pr),Wr))},Zt.scrollTo=function(br){Zt.listRef.current.scrollTo(br)},Zt}return Object(a.a)(on,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var br,Or=this.state,Wr=Or.focused,An=Or.flattenNodes,wt=Or.keyEntities,pr=Or.dragging,gr=Or.activeKey,Fr=this.props,nn=Fr.prefixCls,cn=Fr.className,tn=Fr.style,Ln=Fr.showLine,Tn=Fr.focusable,Gn=Fr.tabIndex,ci=Gn===void 0?0:Gn,Jn=Fr.selectable,pi=Fr.showIcon,Si=Fr.icon,Ni=Fr.switcherIcon,xi=Fr.draggable,yi=Fr.checkable,vi=Fr.checkStrictly,Ti=Fr.disabled,Ui=Fr.motion,$i=Fr.loadData,Di=Fr.filterTreeNode,ua=Fr.height,aa=Fr.itemHeight,Xi=Fr.virtual,Vi=Fr.titleRender,ta=Fr.onContextMenu,Gi=Le(this.props);return e.createElement(q.Provider,{value:{prefixCls:nn,selectable:Jn,showIcon:pi,icon:Si,switcherIcon:Ni,draggable:xi,checkable:yi,checkStrictly:vi,disabled:Ti,keyEntities:wt,loadData:$i,filterTreeNode:Di,titleRender:Vi,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}},e.createElement("div",{className:S()(nn,cn,(br={},Object(y.a)(br,"".concat(nn,"-show-line"),Ln),Object(y.a)(br,"".concat(nn,"-focused"),Wr),Object(y.a)(br,"".concat(nn,"-active-focused"),gr!==null),br))},e.createElement(Ye,Object.assign({ref:this.listRef,prefixCls:nn,style:tn,data:An,disabled:Ti,selectable:Jn,checkable:!!yi,motion:Ui,dragging:pr,height:ua,itemHeight:aa,virtual:Xi,focusable:Tn,focused:Wr,tabIndex:ci,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ta},this.getTreeNodeRequiredProps(),Gi))))}}],[{key:"getDerivedStateFromProps",value:function(br,Or){var Wr=Or.prevProps,An={prevProps:br};function wt(Si){return!Wr&&Si in br||Wr&&Wr[Si]!==br[Si]}var pr;if(wt("treeData")?pr=br.treeData:wt("children")&&(Object(le.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),pr=ft(br.children)),pr){An.treeData=pr;var gr=Mr(pr);An.keyEntities=Object(v.a)(Object(y.a)({},Dn,li),gr.keyEntities)}var Fr=An.keyEntities||Or.keyEntities;if(wt("expandedKeys")||Wr&&wt("autoExpandParent"))An.expandedKeys=br.autoExpandParent||!Wr&&br.defaultExpandParent?Oe(br.expandedKeys,Fr):br.expandedKeys;else if(!Wr&&br.defaultExpandAll){var nn=Object(v.a)({},Fr);delete nn[Dn],An.expandedKeys=Object.keys(nn).map(function(Si){return nn[Si].key})}else!Wr&&br.defaultExpandedKeys&&(An.expandedKeys=br.autoExpandParent||br.defaultExpandParent?Oe(br.defaultExpandedKeys,Fr):br.defaultExpandedKeys);if(An.expandedKeys||delete An.expandedKeys,pr||An.expandedKeys){var cn=Dt(pr||Or.treeData,An.expandedKeys||Or.expandedKeys);An.flattenNodes=cn}if(br.selectable&&(wt("selectedKeys")?An.selectedKeys=Mn(br.selectedKeys,br):!Wr&&br.defaultSelectedKeys&&(An.selectedKeys=Mn(br.defaultSelectedKeys,br))),br.checkable){var tn;if(wt("checkedKeys")?tn=_e(br.checkedKeys)||{}:!Wr&&br.defaultCheckedKeys?tn=_e(br.defaultCheckedKeys)||{}:pr&&(tn=_e(br.checkedKeys)||{checkedKeys:Or.checkedKeys,halfCheckedKeys:Or.halfCheckedKeys}),tn){var Ln=tn,Tn=Ln.checkedKeys,Gn=Tn===void 0?[]:Tn,ci=Ln.halfCheckedKeys,Jn=ci===void 0?[]:ci;if(!br.checkStrictly){var pi=_t(Gn,!0,Fr);Gn=pi.checkedKeys,Jn=pi.halfCheckedKeys}An.checkedKeys=Gn,An.halfCheckedKeys=Jn}}return wt("loadedKeys")&&(An.loadedKeys=br.loadedKeys),An}}]),on}(e.Component);Ve.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:[]},Ve.TreeNode=dr;var qe=Ve,xt=qe,ut=e.createContext(null);function Jt(wr,lr){if(!wr)return!0;var on=wr.data,Zt=on.disabled,br=on.disableCheckbox;switch(lr){case"select":return Zt;case"checkbox":return Zt||br}return!1}function Rr(wr,lr){var on=e.useCallback(function(br){var Or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Wr=arguments.length>2?arguments[2]:void 0,An=wr.get(br);return!Wr&&Jt(An,Or)?null:An},[wr]),Zt=e.useCallback(function(br){var Or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Wr=arguments.length>2?arguments[2]:void 0,An=lr.get(br);return!Wr&&Jt(An,Or)?null:An},[lr]);return[on,Zt]}function Ir(wr){return e.useMemo(function(){var lr=new Map,on=new Map;return wr.forEach(function(Zt){lr.set(Zt.key,Zt),on.set(Zt.data.value,Zt)}),[lr,on]},[wr])}var Gr={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},qt=function(lr,on){var Zt=lr.prefixCls,br=lr.height,Or=lr.itemHeight,Wr=lr.virtual,An=lr.options,wt=lr.flattenOptions,pr=lr.multiple,gr=lr.searchValue,Fr=lr.onSelect,nn=lr.onToggleOpen,cn=lr.open,tn=lr.notFoundContent,Ln=lr.onMouseEnter,Tn=e.useContext(ut),Gn=Tn.checkable,ci=Tn.checkedKeys,Jn=Tn.halfCheckedKeys,pi=Tn.treeExpandedKeys,Si=Tn.treeDefaultExpandAll,Ni=Tn.treeDefaultExpandedKeys,xi=Tn.onTreeExpand,yi=Tn.treeIcon,vi=Tn.showTreeIcon,Ti=Tn.switcherIcon,Ui=Tn.treeLine,$i=Tn.treeNodeFilterProp,Di=Tn.loadData,ua=Tn.treeLoadedKeys,aa=Tn.treeMotion,Xi=Tn.onTreeLoad,Vi=e.useRef(),ta=Object(Ht.a)(function(){return An},[cn,An],function(Pr,Lr){return Lr[0]&&Pr[1]!==Lr[1]}),Gi=Ir(wt),ga=Object(m.a)(Gi,2),ra=ga[0],pa=ga[1],_a=Rr(ra,pa),Da=Object(m.a)(_a,2),Ra=Da[0],Ao=Da[1],ja=e.useMemo(function(){return ci.map(function(Pr){var Lr=Ao(Pr);return Lr?Lr.key:null})},[ci]),Ya=e.useMemo(function(){return Gn?{checked:ja,halfChecked:Jn}:null},[ja,Jn,Gn]);e.useEffect(function(){if(cn&&!pr&&ja.length){var Pr;(Pr=Vi.current)===null||Pr===void 0||Pr.scrollTo({key:ja[0]})}},[cn]);var Ia=String(gr).toLowerCase(),Va=function(Lr){return Ia?String(Lr[$i]).toLowerCase().includes(Ia):!1},co=e.useState(Ni),Ca=Object(m.a)(co,2),yo=Ca[0],uo=Ca[1],Xa=e.useState(null),Oo=Object(m.a)(Xa,2),oa=Oo[0],qa=Oo[1],oo=e.useMemo(function(){return pi?Object(h.a)(pi):gr?oa:yo},[yo,oa,Ia,pi]);e.useEffect(function(){gr&&qa(wt.map(function(Pr){return Pr.key}))},[gr]);var Ro=function(Lr){uo(Lr),qa(Lr),xi&&xi(Lr)},Ga=function(Lr){Lr.preventDefault()},_o=function(Lr,_n){var Vr=_n.node.key,_r=Ra(Vr,Gn?"checkbox":"select");_r!==null&&Fr(_r.data.value,{selected:!ci.includes(_r.data.value)}),pr||nn(!1)},go=e.useState(null),Ja=Object(m.a)(go,2),Fa=Ja[0],ha=Ja[1],rt=Ra(Fa);if(e.useImperativeHandle(on,function(){return{onKeyDown:function(Lr){var _n,Vr=Lr.which;switch(Vr){case T.a.UP:case T.a.DOWN:case T.a.LEFT:case T.a.RIGHT:(_n=Vi.current)===null||_n===void 0||_n.onKeyDown(Lr);break;case T.a.ENTER:{rt!==null&&_o(null,{node:{key:Fa},selected:!ci.includes(rt.data.value)});break}case T.a.ESC:nn(!1)}},onKeyUp:function(){}}}),ta.length===0)return e.createElement("div",{role:"listbox",className:"".concat(Zt,"-empty"),onMouseDown:Ga},tn);var cr={};return ua&&(cr.loadedKeys=ua),oo&&(cr.expandedKeys=oo),e.createElement("div",{onMouseDown:Ga,onMouseEnter:Ln},rt&&cn&&e.createElement("span",{style:Gr,"aria-live":"assertive"},rt.data.value),e.createElement(xt,Object.assign({ref:Vi,focusable:!1,prefixCls:"".concat(Zt,"-tree"),treeData:ta,height:br,itemHeight:Or,virtual:Wr,multiple:pr,icon:yi,showIcon:vi,switcherIcon:Ti,showLine:Ui,loadData:gr?null:Di,motion:aa,checkable:Gn,checkStrictly:!0,checkedKeys:Ya,selectedKeys:Gn?[]:ja,defaultExpandAll:Si},cr,{onActiveChange:ha,onSelect:_o,onCheck:_o,onExpand:Ro,onLoad:Xi,filterTreeNode:Va})))},pn=e.forwardRef(qt);pn.displayName="OptionList";var hr=pn,mn=function(){return null},en=mn;function kr(wr){return Object(Pe.a)(wr).map(function(lr){if(!e.isValidElement(lr)||!lr.type)return null;var on=lr.key,Zt=lr.props,br=Zt.children,Or=Zt.value,Wr=Object(E.a)(Zt,["children","value"]),An=Object(v.a)({key:on,value:Or},Wr),wt=kr(br);return wt.length&&(An.children=wt),An}).filter(function(lr){return lr})}function Xn(wr){if(!wr)return wr;var lr=Object(v.a)({},wr);return"props"in lr||Object.defineProperty(lr,"props",{get:function(){return Object(le.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),lr}}),lr}function di(wr,lr,on,Zt,br){var Or=null,Wr=null;function An(){function wt(pr){var gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Fr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return pr.map(function(nn,cn){var tn="".concat(gr,"-").concat(cn),Ln=on.includes(nn.value),Tn=wt(nn.children||[],tn,Ln),Gn=e.createElement(en,Object.assign({},nn),Tn.map(function(Jn){return Jn.node}));if(lr===nn.value&&(Or=Gn),Ln){var ci={pos:tn,node:Gn,children:Tn};return Fr||Wr.push(ci),ci}return null}).filter(function(nn){return nn})}Wr||(Wr=[],wt(Zt),Wr.sort(function(pr,gr){var Fr=pr.node.props.value,nn=gr.node.props.value,cn=on.indexOf(Fr),tn=on.indexOf(nn);return cn-tn}))}Object.defineProperty(wr,"triggerNode",{get:function(){return Object(le.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),An(),Or}}),Object.defineProperty(wr,"allCheckedNodes",{get:function(){return Object(le.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),An(),br?Wr:Wr.map(function(pr){var gr=pr.node;return gr})}})}function _i(wr){return Array.isArray(wr)?wr:wr!==void 0?[wr]:[]}function Br(wr,lr){var on=new Map;return lr.forEach(function(Zt){var br=Zt.data;on.set(br.value,br)}),wr.map(function(Zt){return Xn(on.get(Zt))})}function sn(wr,lr){var on=Br([wr],lr)[0];return on?on.disabled:!1}function Sn(wr){return wr.disabled||wr.disableCheckbox||wr.checkable===!1}function kt(wr){for(var lr=wr.parent,on=0,Zt=lr;Zt;)Zt=Zt.parent,on+=1;return on}function vt(wr){function lr(Zt){return(Zt||[]).map(function(br){var Or=br.value,Wr=br.key,An=br.children,wt=Object(v.a)(Object(v.a)({},br),{},{key:"key"in br?Wr:Or});return An&&(wt.children=lr(An)),wt})}var on=Dt(lr(wr),!0);return on.map(function(Zt){return{key:Zt.data.key,data:Zt.data,level:kt(Zt)}})}function Et(wr){return function(lr,on){var Zt=on[wr];return String(Zt).toLowerCase().includes(String(lr).toLowerCase())}}function Lt(wr,lr,on){var Zt=on.optionFilterProp,br=on.filterOption;if(br===!1)return lr;var Or;typeof br=="function"?Or=br:Or=Et(Zt);function Wr(An){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return An.map(function(pr){var gr=pr.children,Fr=wt||Or(wr,Xn(pr)),nn=Wr(gr||[],Fr);return Fr||nn.length?Object(v.a)(Object(v.a)({},pr),{},{children:nn}):null}).filter(function(pr){return pr})}return Wr(lr)}function Mt(wr,lr,on,Zt){var br=new Map;return _i(lr).forEach(function(Or){Or&&Object(p.a)(Or)==="object"&&"value"in Or&&br.set(Or.value,Or)}),wr.map(function(Or){var Wr={value:Or},An=on(Or,"select",!0),wt=An?Zt(An.data):Or;if(br.has(Or)){var pr=br.get(Or);Wr.label="label"in pr?pr.label:wt,"halfChecked"in pr&&(Wr.halfChecked=pr.halfChecked)}else Wr.label=wt;return Wr})}function bt(wr,lr){var on=new Set(wr);return on.add(lr),Array.from(on)}function Qt(wr,lr){var on=new Set(wr);return on.delete(lr),Array.from(on)}function tr(wr){var lr=wr.searchPlaceholder,on=wr.treeCheckStrictly,Zt=wr.treeCheckable,br=wr.labelInValue,Or=wr.value,Wr=wr.multiple;Object(le.a)(!lr,"`searchPlaceholder` has been removed."),on&&br===!1&&Object(le.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(br||on)&&Object(le.a)(_i(Or).every(function(An){return An&&Object(p.a)(An)==="object"&&"value"in An}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),on||Wr||Zt?Object(le.a)(!Or||Array.isArray(Or),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(le.a)(!Array.isArray(Or),"`value` should not be array when `TreeSelect` is single mode.")}var ar=tr,yr=10;function xn(wr,lr){var on=lr.id,Zt=lr.pId,br=lr.rootPId,Or={},Wr=[],An=wr.map(function(wt){var pr=Object(v.a)({},wt),gr=pr[on];return Or[gr]=pr,pr.key=pr.key||gr,pr});return An.forEach(function(wt){var pr=wt[Zt],gr=Or[pr];gr&&(gr.children=gr.children||[],gr.children.push(wt)),(pr===br||!gr&&br===null)&&Wr.push(wt)}),Wr}function vn(wr,lr){var on=0,Zt=new Set;function br(Or){return(Or||[]).map(function(Wr){var An=Wr.key,wt=Wr.value,pr=Wr.children,gr=Object(E.a)(Wr,["key","value","children"]),Fr="value"in Wr?wt:An,nn=Object(v.a)(Object(v.a)({},gr),{},{key:An!=null?An:Fr,value:Fr,title:lr(Wr)});return"children"in Wr&&(nn.children=br(pr)),nn})}return br(wr)}function Wn(wr,lr,on){var Zt=on.getLabelProp,br=on.simpleMode,Or=e.useRef({});return wr?(Or.current.formatTreeData=Or.current.treeData===wr?Or.current.formatTreeData:vn(br?xn(wr,Object(v.a)({id:"id",pId:"pId",rootPId:null},br!==!0?br:{})):wr,Zt),Or.current.treeData=wr):Or.current.formatTreeData=Or.current.children===lr?Or.current.formatTreeData:vn(kr(lr),Zt),Or.current.formatTreeData}var Yr="SHOW_ALL",xr="SHOW_PARENT",ln="SHOW_CHILD";function On(wr,lr,on){var Zt=new Set(wr);return lr===ln?wr.filter(function(br){var Or=on[br];return!(Or&&Or.children&&Or.children.every(function(Wr){var An=Wr.node;return Sn(An)||Zt.has(An.key)}))}):lr===xr?wr.filter(function(br){var Or=on[br],Wr=Or?Or.parent:null;return!(Wr&&!Sn(Wr.node)&&Zt.has(Wr.node.key))}):wr}function In(wr,lr){var on=lr.value,Zt=lr.getEntityByValue,br=lr.getEntityByKey,Or=lr.treeConduction,Wr=lr.showCheckedStrategy,An=lr.conductKeyEntities,wt=lr.getLabelProp;return e.useMemo(function(){var pr=wr;if(Or){var gr=On(wr.map(function(Fr){var nn=Zt(Fr);return nn?nn.key:Fr}),Wr,An);pr=gr.map(function(Fr){var nn=br(Fr);return nn?nn.data.value:Fr})}return Mt(pr,on,Zt,wt)},[wr,on,Or,Wr,Zt])}var Un=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],ti=G({prefixCls:"rc-tree-select",components:{optionList:hr},convertChildrenToData:function(){return null},flattenOptions:vt,getLabeledValue:Je,filterOptions:Lt,isValueDisabled:sn,findValueOption:Br,omitDOMProps:function(lr){var on=Object(v.a)({},lr);return Un.forEach(function(Zt){delete on[Zt]}),on}});ti.displayName="Select";var ui=e.forwardRef(function(wr,lr){var on=wr.multiple,Zt=wr.treeCheckable,br=wr.treeCheckStrictly,Or=wr.showCheckedStrategy,Wr=Or===void 0?"SHOW_CHILD":Or,An=wr.labelInValue,wt=wr.loadData,pr=wr.treeLoadedKeys,gr=wr.treeNodeFilterProp,Fr=gr===void 0?"value":gr,nn=wr.treeNodeLabelProp,cn=wr.treeDataSimpleMode,tn=wr.treeData,Ln=wr.treeExpandedKeys,Tn=wr.treeDefaultExpandedKeys,Gn=wr.treeDefaultExpandAll,ci=wr.children,Jn=wr.treeIcon,pi=wr.showTreeIcon,Si=wr.switcherIcon,Ni=wr.treeLine,xi=wr.treeMotion,yi=wr.filterTreeNode,vi=wr.dropdownPopupAlign,Ti=wr.onChange,Ui=wr.onTreeExpand,$i=wr.onTreeLoad,Di=wr.onDropdownVisibleChange,ua=wr.onSelect,aa=wr.onDeselect,Xi=Zt||br,Vi=on||Xi,ta=Zt&&!br,Gi=br||An,ga=e.useRef(null);e.useImperativeHandle(lr,function(){return{focus:ga.current.focus,blur:ga.current.blur}});var ra=function(Vr){return tn&&Vr.label||Vr.title},pa=function(Vr){return nn?Vr[nn]:ra(Vr)},_a=Wn(tn,ci,{getLabelProp:ra,simpleMode:cn}),Da=Object(e.useMemo)(function(){return vt(_a)},[_a]),Ra=Ir(Da),Ao=Object(m.a)(Ra,2),ja=Ao[0],Ya=Ao[1],Ia=Rr(ja,Ya),Va=Object(m.a)(Ia,2),co=Va[0],Ca=Va[1],yo=Object(e.useMemo)(function(){return ta?Mr(_a):{keyEntities:null}},[_a,Zt,br]),uo=yo.keyEntities,Xa=Object(_.a)(wr.defaultValue,{value:wr.value}),Oo=Object(m.a)(Xa,2),oa=Oo[0],qa=Oo[1],oo=function(Vr){var _r=[],kn=[];return Vr.forEach(function(Ur){Ca(Ur)?kn.push(Ur):_r.push(Ur)}),{missingRawValues:_r,existRawValues:kn}},Ro=Object(e.useMemo)(function(){var _n=[],Vr=[];if(_i(oa).forEach(function(ri){if(ri&&Object(p.a)(ri)==="object"&&"value"in ri)if(ri.halfChecked&&br){var Yn=Ca(ri.value);_n.push(Yn?Yn.key:ri.value)}else Vr.push(ri.value);else Vr.push(ri)}),ta){var _r=oo(Vr),kn=_r.missingRawValues,Ur=_r.existRawValues,En=Ur.map(function(ri){return Ca(ri).key}),jn=_t(En,!0,uo),Hn=jn.checkedKeys,Bn=jn.halfCheckedKeys;return[[].concat(Object(h.a)(kn),Object(h.a)(Hn.map(function(ri){return co(ri).data.value}))),Bn]}return[Vr,_n]},[oa,Vi,Gi,Zt,br]),Ga=Object(m.a)(Ro,2),_o=Ga[0],go=Ga[1],Ja=In(_o,{treeConduction:ta,value:oa,showCheckedStrategy:Wr,conductKeyEntities:uo,getEntityByValue:Ca,getEntityByKey:co,getLabelProp:pa}),Fa=function(Vr,_r,kn){if(qa(Vi?Vr:Vr[0]),Ti){var Ur=Vr;if(ta&&Wr!=="SHOW_ALL"){var En=Vr.map(function(bi){var Ki=Ca(bi);return Ki?Ki.key:bi}),jn=On(En,Wr,uo);Ur=jn.map(function(bi){var Ki=co(bi);return Ki?Ki.data.value:bi})}var Hn=_r||{triggerValue:void 0,selected:void 0},Bn=Hn.triggerValue,ri=Hn.selected,Yn=Gi?Mt(Ur,oa,Ca,pa):Ur;if(br){var ii=go.map(function(bi){var Ki=co(bi);return Ki?Ki.data.value:bi}).filter(function(bi){return!Ur.includes(bi)});Yn=[].concat(Object(h.a)(Yn),Object(h.a)(Mt(ii,oa,Ca,pa)))}var ai={preValue:Ja,triggerValue:Bn},ki=!0;(br||kn==="selection"&&!ri)&&(ki=!1),di(ai,Bn,Vr,_a,ki),Xi?ai.checked=ri:ai.selected=ri,Ti(Vi?Yn:Yn[0],Gi?null:Ur.map(function(bi){var Ki=Ca(bi);return Ki?pa(Ki.data):null}),ai)}},ha=function(Vr,_r,kn){var Ur=Vr;if(!Vi)Fa([Vr],{selected:!0,triggerValue:Vr},kn);else{var En=bt(_o,Vr);if(ta){var jn=oo(En),Hn=jn.missingRawValues,Bn=jn.existRawValues,ri=Bn.map(function(ai){return Ca(ai).key}),Yn=_t(ri,!0,uo),ii=Yn.checkedKeys;En=[].concat(Object(h.a)(Hn),Object(h.a)(ii.map(function(ai){return co(ai).data.value})))}Fa(En,{selected:!0,triggerValue:Vr},kn)}ua&&ua(Ur,_r)},rt=function(Vr,_r,kn){var Ur=Vr,En=Qt(_o,Vr);if(ta){var jn=oo(En),Hn=jn.missingRawValues,Bn=jn.existRawValues,ri=Bn.map(function(ai){return Ca(ai).key}),Yn=_t(ri,{checked:!1,halfCheckedKeys:go},uo),ii=Yn.checkedKeys;En=[].concat(Object(h.a)(Hn),Object(h.a)(ii.map(function(ai){return co(ai).data.value})))}Fa(En,{selected:!1,triggerValue:Vr},kn),aa&&aa(Ur,_r)},cr=function(){Fa([],null,"clear")},Pr=e.useCallback(function(_n){if(Di){var Vr={};Object.defineProperty(Vr,"documentClickClose",{get:function(){return Object(le.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Di(_n,Vr)}},[Di]),Lr={optionLabelProp:null,optionFilterProp:Fr,dropdownAlign:vi,internalProps:{mark:de,onClear:cr,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:ha,onRawDeselect:rt}};return"filterTreeNode"in wr&&(Lr.filterOption=yi),e.createElement(ut.Provider,{value:{checkable:Xi,loadData:wt,treeLoadedKeys:pr,onTreeLoad:$i,checkedKeys:_o,halfCheckedKeys:go,treeDefaultExpandAll:Gn,treeExpandedKeys:Ln,treeDefaultExpandedKeys:Tn,onTreeExpand:Ui,treeIcon:Jn,treeMotion:xi,showTreeIcon:pi,switcherIcon:Si,treeLine:Ni,treeNodeFilterProp:Fr}},e.createElement(ti,Object.assign({ref:ga,mode:Vi?"multiple":null},wr,Lr,{value:Ja,labelInValue:!0,options:_a,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Pr})))}),si=function(wr){Object(l.a)(on,wr);var lr=Object(u.a)(on);function on(){var Zt;return Object(t.a)(this,on),Zt=lr.apply(this,arguments),Zt.selectRef=e.createRef(),Zt.focus=function(){Zt.selectRef.current.focus()},Zt.blur=function(){Zt.selectRef.current.blur()},Zt}return Object(a.a)(on,[{key:"render",value:function(){return e.createElement(ui,Object.assign({ref:this.selectRef},this.props))}}]),on}(e.Component);si.TreeNode=en,si.SHOW_ALL=Yr,si.SHOW_PARENT=xr,si.SHOW_CHILD=ln;var Pi=si,zi=Pi,Ri=d("BGR+"),Yi=d("H84U"),$n=d("uaoM"),gn=d("1vzs"),mi=d("2jpz"),Hi=d("3Nzz"),Li=function(wr){r()(on,wr);var lr=n()(on);function on(Zt){var br;return g()(this,on),br=lr.call(this,Zt),br.selectRef=e.createRef(),br.renderTreeSelect=function(Or){var Wr=Or.getPopupContainer,An=Or.getPrefixCls,wt=Or.renderEmpty,pr=Or.direction,gr=Or.virtual,Fr=Or.dropdownMatchSelectWidth,nn=br.props,cn=nn.prefixCls,tn=nn.size,Ln=nn.className,Tn=nn.treeCheckable,Gn=nn.multiple,ci=nn.listHeight,Jn=ci===void 0?256:ci,pi=nn.listItemHeight,Si=pi===void 0?26:pi,Ni=nn.notFoundContent,xi=nn.switcherIcon,yi=nn.treeLine,vi=nn.getPopupContainer,Ti=nn.dropdownClassName,Ui=nn.bordered,$i=nn.treeIcon,Di=$i===void 0?!1:$i,ua=An("select",cn),aa=An("select-tree",cn),Xi=An("tree-select",cn),Vi=S()(Ti,"".concat(Xi,"-dropdown"),A()({},"".concat(Xi,"-dropdown-rtl"),pr==="rtl")),ta=!!(Tn||Gn),Gi=Object(gn.a)(x()(x()({},br.props),{multiple:ta,prefixCls:ua})),ga=Gi.suffixIcon,ra=Gi.itemIcon,pa=Gi.removeIcon,_a=Gi.clearIcon,Da;Ni!==void 0?Da=Ni:Da=wt("Select");var Ra=Object(Ri.default)(br.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return e.createElement(Hi.b.Consumer,null,function(Ao){var ja,Ya=tn||Ao,Ia=S()(!cn&&Xi,(ja={},A()(ja,"".concat(ua,"-lg"),Ya==="large"),A()(ja,"".concat(ua,"-sm"),Ya==="small"),A()(ja,"".concat(ua,"-rtl"),pr==="rtl"),A()(ja,"".concat(ua,"-borderless"),!Ui),ja),Ln);return e.createElement(zi,x()({virtual:gr,dropdownMatchSelectWidth:Fr},Ra,{ref:br.selectRef,prefixCls:ua,className:Ia,listHeight:Jn,listItemHeight:Si,treeCheckable:Tn&&e.createElement("span",{className:"".concat(ua,"-tree-checkbox-inner")}),inputIcon:ga,menuItemSelectedIcon:ra,removeIcon:pa,clearIcon:_a,switcherIcon:function(co){return Object(mi.a)(aa,xi,yi,co)},showTreeIcon:Di,notFoundContent:Da,getPopupContainer:vi||Wr,treeMotion:null,dropdownClassName:Vi}))})},Object($n.a)(Zt.multiple!==!1||!Zt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),br}return c()(on,[{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 e.createElement(Yi.a,null,this.renderTreeSelect)}}]),on}(e.Component);Li.TreeNode=en,Li.SHOW_ALL=Yr,Li.SHOW_PARENT=xr,Li.SHOW_CHILD=ln,Li.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var Bi=P.a=Li},"5Uyt":function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("KmBX"));function x(A){return A&&A.__esModule?A:{default:A}}var C=O;P.default=C,H.exports=C},"5YOS":function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("xb2K"));function x(A){return A&&A.__esModule?A:{default:A}}var C=O;P.default=C,H.exports=C},"5YgA":function(H,P,d){},"5bA4":function(H,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),g=function(o,r){return x.createElement(b.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:A}))};g.displayName="LeftOutlined";var f=P.a=x.forwardRef(g)},"5hvy":function(H,P,d){(function(O,x,C){H.exports=P=x(d("Ib8C"),d("MlIO"))})(this,function(O){return function(x){var C=O,A=C.lib,b=A.WordArray,g=A.Hasher,f=C.x64,c=f.Word,o=C.algo,r=[],i=[],n=[];(function(){for(var t=1,a=0,l=0;l<24;l++){r[t+5*a]=(l+1)*(l+2)/2%64;var u=a%5,h=(2*t+3*a)%5;t=u,a=h}for(var t=0;t<5;t++)for(var a=0;a<5;a++)i[t+5*a]=a+(2*t+3*a)%5*5;for(var p=1,m=0;m<24;m++){for(var v=0,y=0,E=0;E<7;E++){if(p&1){var T=(1<>>24)&16711935|(m<<24|m>>>8)&4278255360,v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360;var y=u[p];y.high^=v,y.low^=m}for(var E=0;E<24;E++){for(var T=0;T<5;T++){for(var w=0,S=0,_=0;_<5;_++){var y=u[T+5*_];w^=y.high,S^=y.low}var I=e[T];I.high=w,I.low=S}for(var T=0;T<5;T++)for(var L=e[(T+4)%5],N=e[(T+1)%5],D=N.high,R=N.low,w=L.high^(D<<1|R>>>31),S=L.low^(R<<1|D>>>31),_=0;_<5;_++){var y=u[T+5*_];y.high^=w,y.low^=S}for(var B=1;B<25;B++){var w,S,y=u[B],M=y.high,U=y.low,F=r[B];F<32?(w=M<>>32-F,S=U<>>32-F):(w=U<>>64-F,S=M<>>64-F);var j=e[i[B]];j.high=w,j.low=S}var W=e[0],V=u[0];W.high=V.high,W.low=V.low;for(var T=0;T<5;T++)for(var _=0;_<5;_++){var B=T+5*_,y=u[B],z=e[B],J=e[(T+1)%5+5*_],$=e[(T+2)%5+5*_];y.high=z.high^~J.high&$.high,y.low=z.low^~J.low&$.low}var y=u[0],ce=n[E];y.high^=ce.high,y.low^=ce.low}},_doFinalize:function(){var a=this._data,l=a.words,u=this._nDataBytes*8,h=a.sigBytes*8,p=this.blockSize*32;l[h>>>5]|=1<<24-h%32,l[(x.ceil((h+1)/p)*p>>>5)-1]|=128,a.sigBytes=l.length*4,this._process();for(var m=this._state,v=this.cfg.outputLength/8,y=v/8,E=[],T=0;T>>24)&16711935|(S<<24|S>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,E.push(_),E.push(S)}return new b.init(E,v)},clone:function(){for(var a=g.clone.call(this),l=a._state=this._state.slice(0),u=0;u<25;u++)l[u]=l[u].clone();return a}});C.SHA3=g._createHelper(s),C.HmacSHA3=g._createHmacHelper(s)}(Math),O.SHA3})},"5nXd":function(H,P,d){var O=d("MFOe"),x=O.slice,C=O.pluck,A=O.each,b=O.bind,g=O.create,f=O.isList,c=O.isFunction,o=O.isObject;H.exports={createStore:n};var r={version:"2.0.12",enabled:!1,get:function(s,t){var a=this.storage.read(this._namespacePrefix+s);return this._deserialize(a,t)},set:function(s,t){return t===void 0?this.remove(s):(this.storage.write(this._namespacePrefix+s,this._serialize(t)),t)},remove:function(s){this.storage.remove(this._namespacePrefix+s)},each:function(s){var t=this;this.storage.each(function(a,l){s.call(t,t._deserialize(a),(l||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(s){return this._namespacePrefix=="__storejs_"+s+"_"},createStore:function(){return n.apply(this,arguments)},addPlugin:function(s){this._addPlugin(s)},namespace:function(s){return n(this.storage,this.plugins,s)}};function i(){var e=typeof console=="undefined"?null:console;if(!e)return;var s=e.warn?e.warn:e.log;s.apply(e,arguments)}function n(e,s,t){t||(t=""),e&&!f(e)&&(e=[e]),s&&!f(s)&&(s=[s]);var a=t?"__storejs_"+t+"_":"",l=t?new RegExp("^"+a):null,u=/^[a-zA-Z0-9_\-]*$/;if(!u.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:a,_namespaceRegexp:l,_testStorage:function(v){try{var y="__storejs__test__";v.write(y,y);var E=v.read(y)===y;return v.remove(y),E}catch(T){return!1}},_assignPluginFnProp:function(v,y){var E=this[y];this[y]=function(){var w=x(arguments,0),S=this;function _(){return E?(A(arguments,function(L,N){w[N]=L}),E.apply(S,w)):void 0}var I=[_].concat(w);return v.apply(S,I)}},_serialize:function(v){return JSON.stringify(v)},_deserialize:function(v,y){if(!v)return y;var E="";try{E=JSON.parse(v)}catch(T){E=v}return E!==void 0?E:y},_addStorage:function(v){if(this.enabled)return;this._testStorage(v)&&(this.storage=v,this.enabled=!0)},_addPlugin:function(v){var y=this;if(f(v)){A(v,function(w){y._addPlugin(w)});return}var E=C(this.plugins,function(w){return v===w});if(E)return;if(this.plugins.push(v),!c(v))throw new Error("Plugins must be function values that return objects");var T=v.call(this);if(!o(T))throw new Error("Plugins must return an object of function properties");A(T,function(w,S){if(!c(w))throw new Error("Bad plugin property: "+S+" from plugin "+v.name+". Plugins should only return functions.");y._assignPluginFnProp(w,S)})},addStorage:function(v){i("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(v)}},p=g(h,r,{plugins:[]});return p.raw={},A(p,function(m,v){c(m)&&(p.raw[v]=b(p,m))}),A(e,function(m){p._addStorage(m)}),A(s,function(m){p._addPlugin(m)}),p}},"5rEg":function(H,P,d){"use strict";var O=d("pVnL"),x=d.n(O),C=d("lwsE"),A=d.n(C),b=d("W8MJ"),g=d.n(b),f=d("7W2i"),c=d.n(f),o=d("LQ03"),r=d.n(o),i=d("lSNA"),n=d.n(i),e=d("q1tI"),s=d("TSYQ"),t=d.n(s),a=d("BGR+"),l=d("kbBi"),u=d.n(l),h=d("CWQg"),p=d("0n0R"),m=Object(h.a)("text","input");function v(Q){return!!(Q.prefix||Q.suffix||Q.allowClear)}var y=function(Q){c()(de,Q);var ge=r()(de);function de(){var Te;return A()(this,de),Te=ge.apply(this,arguments),Te.containerRef=e.createRef(),Te.onInputMouseUp=function(xe){var le;if((le=Te.containerRef.current)===null||le===void 0?void 0:le.contains(xe.target)){var fe=Te.props.triggerFocus;fe()}},Te}return g()(de,[{key:"renderClearIcon",value:function(xe){var le=this.props,fe=le.allowClear,Ee=le.value,Ge=le.disabled,lt=le.readOnly,Je=le.inputType,Ce=le.handleReset;if(!fe)return null;var et=!Ge&&!lt&&Ee,ze=Je===m[0]?"".concat(xe,"-textarea-clear-icon"):"".concat(xe,"-clear-icon");return e.createElement(u.a,{onClick:Ce,className:t()(ze,n()({},"".concat(ze,"-hidden"),!et)),role:"button"})}},{key:"renderSuffix",value:function(xe){var le=this.props,fe=le.suffix,Ee=le.allowClear;return fe||Ee?e.createElement("span",{className:"".concat(xe,"-suffix")},this.renderClearIcon(xe),fe):null}},{key:"renderLabeledIcon",value:function(xe,le){var fe,Ee=this.props,Ge=Ee.focused,lt=Ee.value,Je=Ee.prefix,Ce=Ee.className,et=Ee.size,ze=Ee.suffix,at=Ee.disabled,Ct=Ee.allowClear,Tt=Ee.direction,Ot=Ee.style,Nt=Ee.readOnly,Be=Ee.bordered,ne=this.renderSuffix(xe);if(!v(this.props))return Object(p.a)(le,{value:lt});var G=Je?e.createElement("span",{className:"".concat(xe,"-prefix")},Je):null,Pe=t()(Ce,"".concat(xe,"-affix-wrapper"),(fe={},n()(fe,"".concat(xe,"-affix-wrapper-focused"),Ge),n()(fe,"".concat(xe,"-affix-wrapper-disabled"),at),n()(fe,"".concat(xe,"-affix-wrapper-sm"),et==="small"),n()(fe,"".concat(xe,"-affix-wrapper-lg"),et==="large"),n()(fe,"".concat(xe,"-affix-wrapper-input-with-clear-btn"),ze&&Ct&<),n()(fe,"".concat(xe,"-affix-wrapper-rtl"),Tt==="rtl"),n()(fe,"".concat(xe,"-affix-wrapper-readonly"),Nt),n()(fe,"".concat(xe,"-affix-wrapper-borderless"),!Be),fe));return e.createElement("span",{ref:this.containerRef,className:Pe,style:Ot,onMouseUp:this.onInputMouseUp},G,Object(p.a)(le,{style:null,value:lt,className:L(xe,Be,et,at)}),ne)}},{key:"renderInputWithLabel",value:function(xe,le){var fe,Ee,Ge=this.props,lt=Ge.addonBefore,Je=Ge.addonAfter,Ce=Ge.style,et=Ge.size,ze=Ge.className,at=Ge.direction;if(!lt&&!Je)return le;var Ct="".concat(xe,"-group"),Tt="".concat(Ct,"-addon"),Ot=lt?e.createElement("span",{className:Tt},lt):null,Nt=Je?e.createElement("span",{className:Tt},Je):null,Be=t()("".concat(xe,"-wrapper"),(fe={},n()(fe,Ct,lt||Je),n()(fe,"".concat(Ct,"-rtl"),at==="rtl"),fe)),ne=t()(ze,"".concat(xe,"-group-wrapper"),(Ee={},n()(Ee,"".concat(xe,"-group-wrapper-sm"),et==="small"),n()(Ee,"".concat(xe,"-group-wrapper-lg"),et==="large"),n()(Ee,"".concat(xe,"-group-wrapper-rtl"),at==="rtl"),Ee));return e.createElement("span",{className:ne,style:Ce},e.createElement("span",{className:Be},Ot,Object(p.a)(le,{style:null}),Nt))}},{key:"renderTextAreaWithClearIcon",value:function(xe,le){var fe,Ee=this.props,Ge=Ee.value,lt=Ee.allowClear,Je=Ee.className,Ce=Ee.style,et=Ee.direction,ze=Ee.bordered;if(!lt)return Object(p.a)(le,{value:Ge});var at=t()(Je,"".concat(xe,"-affix-wrapper"),"".concat(xe,"-affix-wrapper-textarea-with-clear-btn"),(fe={},n()(fe,"".concat(xe,"-affix-wrapper-rtl"),et==="rtl"),n()(fe,"".concat(xe,"-affix-wrapper-borderless"),!ze),fe));return e.createElement("span",{className:at,style:Ce},Object(p.a)(le,{style:null,value:Ge}),this.renderClearIcon(xe))}},{key:"render",value:function(){var xe=this.props,le=xe.prefixCls,fe=xe.inputType,Ee=xe.element;return fe===m[0]?this.renderTextAreaWithClearIcon(le,Ee):this.renderInputWithLabel(le,this.renderLabeledIcon(le,Ee))}}]),de}(e.Component),E=y,T=d("H84U"),w=d("3Nzz"),S=d("uaoM");function _(Q){return typeof Q=="undefined"||Q===null?"":Q}function I(Q,ge,de){if(de){var Te=ge;if(ge.type==="click"){Te=Object.create(ge),Te.target=Q,Te.currentTarget=Q;var xe=Q.value;Q.value="",de(Te),Q.value=xe;return}de(Te)}}function L(Q,ge,de,Te,xe){var le;return t()(Q,(le={},n()(le,"".concat(Q,"-sm"),de==="small"),n()(le,"".concat(Q,"-lg"),de==="large"),n()(le,"".concat(Q,"-disabled"),Te),n()(le,"".concat(Q,"-rtl"),xe==="rtl"),n()(le,"".concat(Q,"-borderless"),!ge),le))}var N=function(Q){c()(de,Q);var ge=r()(de);function de(Te){var xe;A()(this,de),xe=ge.call(this,Te),xe.direction="ltr",xe.focus=function(){xe.input.focus()},xe.saveClearableInput=function(fe){xe.clearableInput=fe},xe.saveInput=function(fe){xe.input=fe},xe.onFocus=function(fe){var Ee=xe.props.onFocus;xe.setState({focused:!0},xe.clearPasswordValueAttribute),Ee&&Ee(fe)},xe.onBlur=function(fe){var Ee=xe.props.onBlur;xe.setState({focused:!1},xe.clearPasswordValueAttribute),Ee&&Ee(fe)},xe.handleReset=function(fe){xe.setValue("",function(){xe.focus()}),I(xe.input,fe,xe.props.onChange)},xe.renderInput=function(fe,Ee,Ge){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Je=xe.props,Ce=Je.className,et=Je.addonBefore,ze=Je.addonAfter,at=Je.size,Ct=Je.disabled,Tt=Object(a.default)(xe.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return e.createElement("input",x()({autoComplete:lt.autoComplete},Tt,{onChange:xe.handleChange,onFocus:xe.onFocus,onBlur:xe.onBlur,onKeyDown:xe.handleKeyDown,className:t()(L(fe,Ge,at||Ee,Ct,xe.direction),n()({},Ce,Ce&&!et&&!ze)),ref:xe.saveInput}))},xe.clearPasswordValueAttribute=function(){xe.removePasswordTimeout=setTimeout(function(){xe.input&&xe.input.getAttribute("type")==="password"&&xe.input.hasAttribute("value")&&xe.input.removeAttribute("value")})},xe.handleChange=function(fe){xe.setValue(fe.target.value,xe.clearPasswordValueAttribute),I(xe.input,fe,xe.props.onChange)},xe.handleKeyDown=function(fe){var Ee=xe.props,Ge=Ee.onPressEnter,lt=Ee.onKeyDown;fe.keyCode===13&&Ge&&Ge(fe),lt&<(fe)},xe.renderComponent=function(fe){var Ee=fe.getPrefixCls,Ge=fe.direction,lt=fe.input,Je=xe.state,Ce=Je.value,et=Je.focused,ze=xe.props,at=ze.prefixCls,Ct=ze.bordered,Tt=Ct===void 0?!0:Ct,Ot=Ee("input",at);return xe.direction=Ge,e.createElement(w.b.Consumer,null,function(Nt){return e.createElement(E,x()({size:Nt},xe.props,{prefixCls:Ot,inputType:"input",value:_(Ce),element:xe.renderInput(Ot,Nt,Tt,lt),handleReset:xe.handleReset,ref:xe.saveClearableInput,direction:Ge,focused:et,triggerFocus:xe.focus,bordered:Tt}))})};var le=typeof Te.value=="undefined"?Te.defaultValue:Te.value;return xe.state={value:le,focused:!1,prevValue:Te.value},xe}return g()(de,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(xe){return v(xe)!==v(this.props)&&Object(S.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(xe,le){this.props.value===void 0&&this.setState({value:xe},le)}},{key:"render",value:function(){return e.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(xe,le){var fe=le.prevValue,Ee={prevValue:xe.value};return(xe.value!==void 0||fe!==xe.value)&&(Ee.value=xe.value),Ee}}]),de}(e.Component);N.defaultProps={type:"text"};var D=N,R=function(ge){return e.createElement(T.a,null,function(de){var Te,xe=de.getPrefixCls,le=de.direction,fe=ge.prefixCls,Ee=ge.className,Ge=Ee===void 0?"":Ee,lt=xe("input-group",fe),Je=t()(lt,(Te={},n()(Te,"".concat(lt,"-lg"),ge.size==="large"),n()(Te,"".concat(lt,"-sm"),ge.size==="small"),n()(Te,"".concat(lt,"-compact"),ge.compact),n()(Te,"".concat(lt,"-rtl"),le==="rtl"),Te),Ge);return e.createElement("span",{className:Je,style:ge.style,onMouseEnter:ge.onMouseEnter,onMouseLeave:ge.onMouseLeave,onFocus:ge.onFocus,onBlur:ge.onBlur},ge.children)})},B=R,M=d("c+Xe"),U=d("w6Tc"),F=d.n(U),j=d("gZBC"),W=d.n(j),V=d("2/Rp"),z=function(Q,ge){var de={};for(var Te in Q)Object.prototype.hasOwnProperty.call(Q,Te)&&ge.indexOf(Te)<0&&(de[Te]=Q[Te]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Te=Object.getOwnPropertySymbols(Q);xe=0&&S<0)&&(w=M,S=B,E=N,T.length=0),g(D,function(U){T.push({seriesIndex:_.seriesIndex,dataIndexInside:U,dataIndex:_.getData().getRawIndex(U)})}))}),{payloadBatch:T,snapToValue:E}}function n(p,m,v,y){p[m.key]={value:v,payloadBatch:y}}function e(p,m,v,y){var E=v.payloadBatch,T=m.axis,w=T.model,S=m.axisPointerModel;if(!m.triggerTooltip||!E.length)return;var _=m.coordSys.model,I=A.makeKey(_),L=p.map[I];L||(L=p.map[I]={coordSysId:_.id,coordSysIndex:_.componentIndex,coordSysType:_.type,coordSysMainType:_.mainType,dataByAxis:[]},p.list.push(L)),L.dataByAxis.push({axisDim:T.dim,axisIndex:w.componentIndex,axisType:w.type,axisId:w.id,value:y,valueLabelOpt:{precision:S.get("label.precision"),formatter:S.get("label.formatter")},seriesDataIndices:E.slice()})}function s(p,m,v){var y=v.axesInfo=[];g(m,function(E,T){var w=E.axisPointerModel.option,S=p[T];S?(!E.useHandle&&(w.status="show"),w.value=S.value,w.seriesDataIndices=(S.payloadBatch||[]).slice()):!E.useHandle&&(w.status="hide"),w.status==="show"&&y.push({axisDim:E.axis.dim,axisIndex:E.axis.model.componentIndex,value:w.value})})}function t(p,m,v,y){if(h(m)||!p.list.length){y({type:"hideTip"});return}var E=((p.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};y({type:"showTip",escapeConnect:!0,x:m[0],y:m[1],tooltipOption:v.tooltipOption,position:v.position,dataIndexInside:E.dataIndexInside,dataIndex:E.dataIndex,seriesIndex:E.seriesIndex,dataByCoordSys:p.list})}function a(p,m,v){var y=v.getZr(),E="axisPointerLastHighlights",T=c(y)[E]||{},w=c(y)[E]={};g(p,function(I,L){var N=I.axisPointerModel.option;N.status==="show"&&g(N.seriesDataIndices,function(D){var R=D.seriesIndex+" | "+D.dataIndex;w[R]=D})});var S=[],_=[];O.each(T,function(I,L){!w[L]&&_.push(I)}),O.each(w,function(I,L){!T[L]&&S.push(I)}),_.length&&v.dispatchAction({type:"downplay",escapeConnect:!0,batch:_}),S.length&&v.dispatchAction({type:"highlight",escapeConnect:!0,batch:S})}function l(p,m){for(var v=0;v<(p||[]).length;v++){var y=p[v];if(m.axis.dim===y.axisDim&&m.axis.model.componentIndex===y.axisIndex)return y}}function u(p){var m=p.axis.model,v={},y=v.axisDim=p.axis.dim;return v.axisIndex=v[y+"AxisIndex"]=m.componentIndex,v.axisName=v[y+"AxisName"]=m.name,v.axisId=v[y+"AxisId"]=m.id,v}function h(p){return!p||p[0]==null||isNaN(p[0])||p[1]==null||isNaN(p[1])}H.exports=o},"6BzB":function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.shrinkBuf=O,P.arraySet=x,P.flattenChunks=C,P.Buf32=P.Buf16=P.Buf8=void 0;function O(f,c){return f.length===c?f:f.subarray?f.subarray(0,c):(f.length=c,f)}function x(f,c,o,r,i){if(c.subarray&&f.subarray){f.set(c.subarray(o,o+r),i);return}for(var n=0;ni&&(r=0,o={}),r++,o[U]=j,j}function l(B,M,U,F,j,W,V,z){return V?h(B,M,U,F,j,W,V,z):u(B,M,U,F,j,W,z)}function u(B,M,U,F,j,W,V){var z=L(B,M,j,W,V),J=a(B,M);j&&(J+=j[1]+j[3]);var $=z.outerHeight,ce=p(0,J,U),ae=m(0,$,F),Ae=new O(ce,ae,J,$);return Ae.lineHeight=z.lineHeight,Ae}function h(B,M,U,F,j,W,V,z){var J=N(B,{rich:V,truncate:z,font:M,textAlign:U,textPadding:j,textLineHeight:W}),$=J.outerWidth,ce=J.outerHeight,ae=p(0,$,U),Ae=m(0,ce,F);return new O(ae,Ae,$,ce)}function p(B,M,U){return U==="right"?B-=M:U==="center"&&(B-=M/2),B}function m(B,M,U){return U==="middle"?B-=M/2:U==="bottom"&&(B-=M),B}function v(B,M,U){var F=M.textPosition,j=M.textDistance,W=U.x,V=U.y;j=j||0;var z=U.height,J=U.width,$=z/2,ce="left",ae="top";switch(F){case"left":W-=j,V+=$,ce="right",ae="middle";break;case"right":W+=j+J,V+=$,ae="middle";break;case"top":W+=J/2,V-=j,ce="center",ae="bottom";break;case"bottom":W+=J/2,V+=z+j,ce="center";break;case"inside":W+=J/2,V+=$,ce="center",ae="middle";break;case"insideLeft":W+=j,V+=$,ae="middle";break;case"insideRight":W+=J-j,V+=$,ce="right",ae="middle";break;case"insideTop":W+=J/2,V+=j,ce="center";break;case"insideBottom":W+=J/2,V+=z-j,ce="center",ae="bottom";break;case"insideTopLeft":W+=j,V+=j;break;case"insideTopRight":W+=J-j,V+=j,ce="right";break;case"insideBottomLeft":W+=j,V+=z-j,ae="bottom";break;case"insideBottomRight":W+=J-j,V+=z-j,ce="right",ae="bottom";break}return B=B||{},B.x=W,B.y=V,B.textAlign=ce,B.textVerticalAlign=ae,B}function y(B,M,U){var F={textPosition:B,textDistance:U};return v({},F,M)}function E(B,M,U,F,j){if(!M)return"";var W=(B+"").split(` `);j=T(M,U,F,j);for(var V=0,z=W.length;V=W;z++)V-=W;var J=a(U,M);return J>V&&(U="",J=0),V=B-J,F.ellipsis=U,F.ellipsisWidth=J,F.contentWidth=V,F.containerWidth=B,F}function w(B,M){var U=M.containerWidth,F=M.font,j=M.contentWidth;if(!U)return"";var W=a(B,F);if(W<=U)return B;for(var V=0;;V++){if(W<=j||V>=M.maxIterations){B+=M.ellipsis;break}var z=V===0?S(B,j,M.ascCharWidth,M.cnCharWidth):W>0?Math.floor(B.length*j/W):0;B=B.substr(0,z),W=a(B,F)}return B===""&&(B=M.placeholder),B}function S(B,M,U,F){for(var j=0,W=0,V=B.length;Wce)B="",V=[];else if(ae!=null)for(var Ae=T(ae-(U?U[1]+U[3]:0),M,j.ellipsis,{minChar:j.minChar,placeholder:j.placeholder}),Ie=0,De=V.length;IeF&&D(U,B.substring(F,W)),D(U,j[2],j[1]),F=n.lastIndex}FIe)return{lines:[],width:0,height:0};te.textWidth=a(te.text,Y);var Q=Qe.textWidth,ge=Q==null||Q==="auto";if(typeof Q=="string"&&Q.charAt(Q.length-1)==="%")te.percentWidth=Q,$.push(te),Q=0;else{if(ge){Q=te.textWidth;var de=Qe.textBackgroundColor,Te=de&&de.image;Te&&(Te=x.findExistImage(Te),x.isImageReady(Te)&&(Q=Math.max(Q,Te.width*X/Te.height)))}var xe=se?se[1]+se[3]:0;Q+=xe;var le=Ae!=null?Ae-Ue:null;le!=null&&le"],x.isArray(u)&&(u=u.slice(),T=!0),w=h?u:T?[S(u[0]),S(u[1])]:S(u),x.isString(E))return E.replace("{value}",T?w[0]:w).replace("{value2}",T?w[1]:w);if(x.isFunction(E))return T?E(u[0],u[1]):E(u);if(T)return u[0]===y[0]?p[0]+" "+w[1]:u[1]===y[1]?p[1]+" "+w[0]:w[0]+" - "+w[1];return w;function S(_){return _===y[0]?"min":_===y[1]?"max":(+_).toFixed(Math.min(v,20))}},resetExtent:function(){var u=this.option,h=e([u.min,u.max]);this._dataExtent=h},getDataDimension:function(u){var h=this.option.dimension,p=u.dimensions;if(h==null&&!p.length)return;if(h!=null)return u.getDimension(h);for(var m=u.dimensions,v=m.length-1;v>=0;v--){var y=m[v],E=u.getDimensionInfo(y);if(!E.isCalculationCoord)return y}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var u=this.ecModel,h=this.option,p={inRange:h.inRange,outOfRange:h.outOfRange},m=h.target||(h.target={}),v=h.controller||(h.controller={});x.merge(m,p),x.merge(v,p);var y=this.isCategory();E.call(this,m),E.call(this,v),T.call(this,m,"inRange","outOfRange"),w.call(this,v);function E(S){i(h.color)&&!S.inRange&&(S.inRange={color:h.color.slice().reverse()}),S.inRange=S.inRange||{color:u.get("gradientColor")},n(this.stateList,function(_){var I=S[_];if(x.isString(I)){var L=A.get(I,"active",y);L?(S[_]={},S[_][I]=L):delete S[_]}},this)}function T(S,_,I){var L=S[_],N=S[I];L&&!N&&(N=S[I]={},n(L,function(D,R){if(!b.isValidType(R))return;var B=A.get(R,"inactive",y);B!=null&&(N[R]=B,R==="color"&&!N.hasOwnProperty("opacity")&&!N.hasOwnProperty("colorAlpha")&&(N.opacity=[0,0]))}))}function w(S){var _=(S.inRange||{}).symbol||(S.outOfRange||{}).symbol,I=(S.inRange||{}).symbolSize||(S.outOfRange||{}).symbolSize,L=this.get("inactiveColor");n(this.stateList,function(N){var D=this.itemSize,R=S[N];R||(R=S[N]={color:y?L:[L]}),R.symbol==null&&(R.symbol=_&&x.clone(_)||(y?"roundRect":["roundRect"])),R.symbolSize==null&&(R.symbolSize=I&&x.clone(I)||(y?D[0]:[D[0],D[0]])),R.symbol=o(R.symbol,function(U){return U==="none"||U==="square"?"roundRect":U});var B=R.symbolSize;if(B!=null){var M=-Infinity;r(B,function(U){U>M&&(M=U)}),R.symbolSize=o(B,function(U){return s(U,[0,M],[0,D[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:t,getValueState:t,getVisualMeta:t}),l=a;H.exports=l},"6usn":function(H,P,d){var O=d("bYtY");function x(A,b){return O.map(["Radius","Angle"],function(g,f){var c=this["get"+g+"Axis"](),o=b[f],r=A[f]/2,i="dataTo"+g,n=c.type==="category"?c.getBandWidth():Math.abs(c[i](o-r)-c[i](o+r));return g==="Angle"&&(n=n*Math.PI/180),n},this)}function C(A){var b=A.getRadiusAxis(),g=A.getAngleAxis(),f=b.getExtent();return f[0]>f[1]&&f.reverse(),{coordSys:{type:"polar",cx:A.cx,cy:A.cy,r:f[1],r0:f[0]},api:{coord:O.bind(function(c){var o=b.dataToRadius(c[0]),r=g.dataToAngle(c[1]),i=A.coordToPoint([o,r]);return i.push(o,r*Math.PI/180),i}),size:O.bind(x,A)}}}H.exports=C},"6xvX":function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("V7ic"));function x(A){return A&&A.__esModule?A:{default:A}}var C=O;P.default=C,H.exports=C},"711d":function(H,P){function d(O){return function(x){return x==null?void 0:x[O]}}H.exports=d},"72pK":function(H,P){function d(C,A,b,g,f,c){C=C||0;var o=b[1]-b[0];if(f!=null&&(f=x(f,[0,o])),c!=null&&(c=Math.max(c,f!=null?f:0)),g==="all"){var r=Math.abs(A[1]-A[0]);r=x(r,[0,o]),f=c=x(r,[f,c]),g=0}A[0]=x(A[0],b),A[1]=x(A[1],b);var i=O(A,g);A[g]+=C;var n=f||0,e=b.slice();i.sign<0?e[0]+=n:e[1]-=n,A[g]=x(A[g],e);var s=O(A,g);f!=null&&(s.sign!==i.sign||s.spanc&&(A[1-g]=A[g]+s.sign*c),A}function O(C,A){var b=C[A]-C[1-A];return{span:Math.abs(b),sign:b>0?-1:b<0?1:A?-1:1}}function x(C,A){return Math.min(A[1]!=null?A[1]:Infinity,Math.max(A[0]!=null?A[0]:-Infinity,C))}H.exports=d},"75ce":function(H,P,d){var O=d("ProS");d("IXuL"),d("8X+K");var x=d("f5Yq"),C=d("h8O9"),A=d("/d5a");d("Ae16"),O.registerVisual(x("line","circle","line")),O.registerLayout(C("line")),O.registerProcessor(O.PRIORITY.PROCESSOR.STATISTIC,A("line"))},"75ev":function(H,P,d){var O=d("ProS");d("IWNH"),d("bNin"),d("v5uJ");var x=d("f5Yq"),C=d("yik8");O.registerVisual(x("tree","circle")),O.registerLayout(C)},"7AJT":function(H,P,d){var O=d("bYtY"),x=d("hM6l"),C=function(b,g,f,c,o){x.call(this,b,g,f),this.type=c||"value",this.position=o||"bottom"};C.prototype={constructor:C,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var b=this.position;return b==="top"||b==="bottom"},getGlobalExtent:function(b){var g=this.getExtent();return g[0]=this.toGlobalCoord(g[0]),g[1]=this.toGlobalCoord(g[1]),b&&g[0]>g[1]&&g.reverse(),g},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(b,g){return this.coordToData(this.toLocalCoord(b[this.dim==="x"?0:1]),g)},toLocalCoord:null,toGlobalCoord:null},O.inherits(C,x);var A=C;H.exports=A},"7Cbv":function(H,P,d){"use strict";var O=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),x=new Uint8Array(16);function C(){if(!O)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return O(x)}var A=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function b(e){return typeof e=="string"&&A.test(e)}for(var g=b,f=[],c=0;c<256;++c)f.push((c+256).toString(16).substr(1));function o(e){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=(f[e[s+0]]+f[e[s+1]]+f[e[s+2]]+f[e[s+3]]+"-"+f[e[s+4]]+f[e[s+5]]+"-"+f[e[s+6]]+f[e[s+7]]+"-"+f[e[s+8]]+f[e[s+9]]+"-"+f[e[s+10]]+f[e[s+11]]+f[e[s+12]]+f[e[s+13]]+f[e[s+14]]+f[e[s+15]]).toLowerCase();if(!g(t))throw TypeError("Stringified UUID is invalid");return t}var r=o;function i(e,s,t){e=e||{};var a=e.random||(e.rng||C)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,s){t=t||0;for(var l=0;l<16;++l)s[t+l]=a[l];return s}return r(a)}var n=P.a=i},"7DRL":function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("bYtY"),A=C.createHashMap,b=C.isString,g=C.isArray,f=C.each,c=C.assert,o=d("MEGo"),r=o.parseXML,i=A(),n={registerMap:function(s,t,a){var l;return g(t)?l=t:t.svg?l=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(a=t.specialAreas,t=t.geoJson),l=[{type:"geoJSON",source:t,specialAreas:a}]),f(l,function(u){var h=u.type;h==="geoJson"&&(h=u.type="geoJSON");var p=e[h];p(u)}),i.set(s,l)},retrieveMap:function(s){return i.get(s)}},e={geoJSON:function(s){var t=s.source;s.geoJSON=b(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(s){s.svgXML=r(s.source)}};H.exports=n},"7G+c":function(H,P,d){var O=d("bYtY"),x=O.createHashMap,C=O.isTypedArray,A=d("Yl7c"),b=A.enableClassCheck,g=d("k9D9"),f=g.SOURCE_FORMAT_ORIGINAL,c=g.SERIES_LAYOUT_BY_COLUMN,o=g.SOURCE_FORMAT_UNKNOWN,r=g.SOURCE_FORMAT_TYPED_ARRAY,i=g.SOURCE_FORMAT_KEYED_COLUMNS;function n(s){this.fromDataset=s.fromDataset,this.data=s.data||(s.sourceFormat===i?{}:[]),this.sourceFormat=s.sourceFormat||o,this.seriesLayoutBy=s.seriesLayoutBy||c,this.dimensionsDefine=s.dimensionsDefine,this.encodeDefine=s.encodeDefine&&x(s.encodeDefine),this.startIndex=s.startIndex||0,this.dimensionsDetectCount=s.dimensionsDetectCount}n.seriesDataToSource=function(s){return new n({data:s,sourceFormat:C(s)?r:f,fromDataset:!1})},b(n);var e=n;H.exports=e},"7Kak":function(H,P,d){"use strict";var O=d("cIOH"),x=d.n(O),C=d("KPFz"),A=d.n(C)},"7Phj":function(H,P,d){var O=d("bYtY"),x=d("OELB"),C=x.parsePercent,A=O.each;function b(o){var r=g(o);A(r,function(i){var n=i.seriesModels;if(!n.length)return;f(i),A(n,function(e,s){c(e,i.boxOffsetList[s],i.boxWidthList[s])})})}function g(o){var r=[],i=[];return o.eachSeriesByType("boxplot",function(n){var e=n.getBaseAxis(),s=O.indexOf(i,e);s<0&&(s=i.length,i[s]=e,r[s]={axis:e,seriesModels:[]}),r[s].seriesModels.push(n)}),r}function f(o){var r,i=o.axis,n=o.seriesModels,e=n.length,s=o.boxWidthList=[],t=o.boxOffsetList=[],a=[],l;if(i.type==="category")l=i.getBandWidth();else{var u=0;A(n,function(y){u=Math.max(u,y.getData().count())}),r=i.getExtent(),Math.abs(r[1]-r[0])/u}A(n,function(y){var E=y.get("boxWidth");O.isArray(E)||(E=[E,E]),a.push([C(E[0],l)||0,C(E[1],l)||0])});var h=l*.8-2,p=h/e*.3,m=(h-p*(e-1))/e,v=m/2-h/2;A(n,function(y,E){t.push(v),v+=p+m,s.push(Math.min(Math.max(m,a[E][0]),a[E][1]))})}function c(o,r,i){var n=o.coordinateSystem,e=o.getData(),s=i/2,t=o.get("layout")==="horizontal"?0:1,a=1-t,l=["x","y"],u=e.mapDimension(l[t]),h=e.mapDimension(l[a],!0);if(u==null||h.length<5)return;for(var p=0;p=0&&_.splice(I,1),w.__hoverMir=null},clearHover:function(w){for(var S=this._hoverElements,_=0;_15)break}}N.__drawIndex=z,N.__drawIndex0&&w>I[0]){for(D=0;Dw);D++);N=_[I[D]]}if(I.splice(D+1,0,w),_[w]=S,!S.virtual)if(N){var B=N.dom;B.nextSibling?R.insertBefore(S.dom,B.nextSibling):R.appendChild(S.dom)}else R.firstChild?R.insertBefore(S.dom,R.firstChild):R.appendChild(S.dom)},eachLayer:function(w,S){var _=this._zlevelList,I,L;for(L=0;L<_.length;L++)I=_[L],w.call(S,this._layers[I],I)},eachBuiltinLayer:function(w,S){var _=this._zlevelList,I,L,N;for(N=0;N<_.length;N++)L=_[N],I=this._layers[L],I.__builtin__&&w.call(S,I,L)},eachOtherLayer:function(w,S){var _=this._zlevelList,I,L,N;for(N=0;N<_.length;N++)L=_[N],I=this._layers[L],I.__builtin__||w.call(S,I,L)},getLayers:function(){return this._layers},_updateLayerStatus:function(w){this.eachBuiltinLayer(function(M,U){M.__dirty=M.__used=!1});function S(M){L&&(L.__endIndex!==M&&(L.__dirty=!0),L.__endIndex=M)}if(this._singleCanvas)for(var _=1;_0?e:0),this._needsManuallyCompositing),B.__builtin__||A("ZLevel "+R+" has been used by unkown layer "+B.id),B!==L&&(B.__used=!0,B.__startIndex!==_&&(B.__dirty=!0),B.__startIndex=_,B.incremental?B.__drawIndex=-1:B.__drawIndex=_,S(_),L=B),I.__dirty&&(B.__dirty=!0,B.incremental&&B.__drawIndex<0&&(B.__drawIndex=_))}S(_),this.eachBuiltinLayer(function(M,U){!M.__used&&M.getElementCount()>0&&(M.__dirty=!0,M.__startIndex=M.__endIndex=M.__drawIndex=0),M.__dirty&&M.__drawIndex<0&&(M.__drawIndex=M.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(w){w.clear()},setBackgroundColor:function(w){this._backgroundColor=w},configLayer:function(w,S){if(S){var _=this._layerConfig;_[w]?C.merge(_[w],S,!0):_[w]=S;for(var I=0;I=c&&(f=c-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,c=f.data||[],o=f.axisType,r=this._names=[];if(o==="category"){var i=[];O.each(c,function(s,t){var a=A.getDataItemValue(s),l;O.isObject(s)?(l=O.clone(s),l.value=t):l=t,i.push(l),!O.isString(a)&&(a==null||isNaN(a))&&(a=""),r.push(a+"")}),c=i}var n={category:"ordinal",time:"time"}[o]||"number",e=this._data=new C([{name:"value",type:n}],this);e.initData(c,r)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),g=b;H.exports=g},"7aKB":function(H,P,d){var O=d("bYtY"),x=d("6GrX"),C=d("OELB");function A(v){return isNaN(v)?"-":(v=(v+"").split("."),v[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(v.length>1?"."+v[1]:""))}function b(v,y){return v=(v||"").toLowerCase().replace(/-(.)/g,function(E,T){return T.toUpperCase()}),y&&v&&(v=v.charAt(0).toUpperCase()+v.slice(1)),v}var g=O.normalizeCssArray,f=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function o(v){return v==null?"":(v+"").replace(f,function(y,E){return c[E]})}var r=["a","b","c","d","e","f","g"],i=function(v,y){return"{"+v+(y==null?"":y)+"}"};function n(v,y,E){O.isArray(y)||(y=[y]);var T=y.length;if(!T)return"";for(var w=y[0].$vars||[],S=0;S':'':{renderMode:w,content:"{marker"+S+"|} ",style:{color:E}}:""}function t(v,y){return v+="","0000".substr(0,y-v.length)+v}function a(v,y,E){(v==="week"||v==="month"||v==="quarter"||v==="half-year"||v==="year")&&(v=`MM-dd yyyy`);var T=C.parseDate(y),w=E?"UTC":"",S=T["get"+w+"FullYear"](),_=T["get"+w+"Month"]()+1,I=T["get"+w+"Date"](),L=T["get"+w+"Hours"](),N=T["get"+w+"Minutes"](),D=T["get"+w+"Seconds"](),R=T["get"+w+"Milliseconds"]();return v=v.replace("MM",t(_,2)).replace("M",_).replace("yyyy",S).replace("yy",S%100).replace("dd",t(I,2)).replace("d",I).replace("hh",t(L,2)).replace("h",L).replace("mm",t(N,2)).replace("m",N).replace("ss",t(D,2)).replace("s",D).replace("SSS",t(R,3)),v}function l(v){return v&&v.charAt(0).toUpperCase()+v.substr(1)}var u=x.truncateText;function h(v){return x.getBoundingRect(v.text,v.font,v.textAlign,v.textVerticalAlign,v.textPadding,v.textLineHeight,v.rich,v.truncate)}function p(v,y,E,T,w,S,_,I){return x.getBoundingRect(v,y,E,T,w,I,S,_)}function m(v,y){if(y==="_blank"||y==="blank"){var E=window.open();E.opener=null,E.location=v}else window.open(v,y)}P.addCommas=A,P.toCamelCase=b,P.normalizeCssArray=g,P.encodeHTML=o,P.formatTpl=n,P.formatTplSimple=e,P.getTooltipMarker=s,P.formatTime=a,P.capitalFirst=l,P.truncateText=u,P.getTextBoundingRect=h,P.getTextRect=p,P.windowOpen=m},"7bkD":function(H,P,d){var O=d("bYtY");function x(C,A){A=A||{};var b=C.coordinateSystem,g=C.axis,f={},c=g.position,o=g.orient,r=b.getRect(),i=[r.x,r.x+r.width,r.y,r.y+r.height],n={horizontal:{top:i[2],bottom:i[3]},vertical:{left:i[0],right:i[1]}};f.position=[o==="vertical"?n.vertical[c]:i[0],o==="horizontal"?n.horizontal[c]:i[3]];var e={horizontal:0,vertical:1};f.rotation=Math.PI/2*e[o];var s={top:-1,bottom:1,right:1,left:-1};f.labelDirection=f.tickDirection=f.nameDirection=s[c],C.get("axisTick.inside")&&(f.tickDirection=-f.tickDirection),O.retrieve(A.labelInside,C.get("axisLabel.inside"))&&(f.labelDirection=-f.labelDirection);var t=A.rotate;return t==null&&(t=C.get("axisLabel.rotate")),f.labelRotation=c==="top"?-t:t,f.z2=1,f}P.layout=x},"7hqr":function(H,P,d){var O=d("bYtY"),x=O.each,C=O.isString;function A(f,c,o){o=o||{};var r=o.byIndex,i=o.stackedCoordDimension,n=!!(f&&f.get("stack")),e,s,t,a;if(x(c,function(p,m){C(p)&&(c[m]=p={name:p}),n&&!p.isExtraCoord&&(!r&&!e&&p.ordinalMeta&&(e=p),!s&&p.type!=="ordinal"&&p.type!=="time"&&(!i||i===p.coordDim)&&(s=p))}),s&&!r&&!e&&(r=!0),s){t="__\0ecstackresult",a="__\0ecstackedover",e&&(e.createInvertedIndices=!0);var l=s.coordDim,u=s.type,h=0;x(c,function(p){p.coordDim===l&&h++}),c.push({name:t,coordDim:l,coordDimIndex:h,type:u,isExtraCoord:!0,isCalculationCoord:!0}),h++,c.push({name:a,coordDim:a,coordDimIndex:h,type:u,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:s&&s.name,stackedByDimension:e&&e.name,isStackedByIndex:r,stackedOverDimension:a,stackResultDimension:t}}function b(f,c){return!!c&&c===f.getCalculationInfo("stackedDimension")}function g(f,c){return b(f,c)?f.getCalculationInfo("stackResultDimension"):c}P.enableDataStack=A,P.isDimensionStacked=b,P.getStackedDimension=g},"7mYs":function(H,P,d){var O=d("ProS"),x=d("bYtY"),C=d("IwbS"),A=d("7aKB"),b=d("OELB"),g={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"]},c=O.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(o,r,i){var n=this.group;n.removeAll();var e=o.coordinateSystem,s=e.getRangeInfo(),t=e.getOrient();this._renderDayRect(o,s,n),this._renderLines(o,s,t,n),this._renderYearText(o,s,t,n),this._renderMonthText(o,t,n),this._renderWeekText(o,s,t,n)},_renderDayRect:function(o,r,i){for(var n=o.coordinateSystem,e=o.getModel("itemStyle").getItemStyle(),s=n.getCellWidth(),t=n.getCellHeight(),a=r.start.time;a<=r.end.time;a=n.getNextNDay(a,1).time){var l=n.dataToRect([a],!1).tl,u=new C.Rect({shape:{x:l[0],y:l[1],width:s,height:t},cursor:"default",style:e});i.add(u)}},_renderLines:function(o,r,i,n){var e=this,s=o.coordinateSystem,t=o.getModel("splitLine.lineStyle").getLineStyle(),a=o.get("splitLine.show"),l=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=r.start,h=0;u.time<=r.end.time;h++){m(u.formatedDate),h===0&&(u=s.getDateInfo(r.start.y+"-"+r.start.m));var p=u.date;p.setMonth(p.getMonth()+1),u=s.getDateInfo(p)}m(s.getNextNDay(r.end.time,1).formatedDate);function m(v){e._firstDayOfMonth.push(s.getDateInfo(v)),e._firstDayPoints.push(s.dataToRect([v],!1).tl);var y=e._getLinePointsOfOneWeek(o,v,i);e._tlpoints.push(y[0]),e._blpoints.push(y[y.length-1]),a&&e._drawSplitline(y,t,n)}a&&this._drawSplitline(e._getEdgesPoints(e._tlpoints,l,i),t,n),a&&this._drawSplitline(e._getEdgesPoints(e._blpoints,l,i),t,n)},_getEdgesPoints:function(o,r,i){var n=[o[0].slice(),o[o.length-1].slice()],e=i==="horizontal"?0:1;return n[0][e]=n[0][e]-r/2,n[1][e]=n[1][e]+r/2,n},_drawSplitline:function(o,r,i){var n=new C.Polyline({z2:20,shape:{points:o},style:r});i.add(n)},_getLinePointsOfOneWeek:function(o,r,i){var n=o.coordinateSystem;r=n.getDateInfo(r);for(var e=[],s=0;s<7;s++){var t=n.getNextNDay(r.time,s),a=n.dataToRect([t.time],!1);e[2*t.day]=a.tl,e[2*t.day+1]=a[i==="horizontal"?"bl":"tr"]}return e},_formatterLabel:function(o,r){return typeof o=="string"&&o?A.formatTplSimple(o,r):typeof o=="function"?o(r):r.nameMap},_yearTextPositionControl:function(o,r,i,n,e){r=r.slice();var s=["center","bottom"];n==="bottom"?(r[1]+=e,s=["center","top"]):n==="left"?r[0]-=e:n==="right"?(r[0]+=e,s=["center","top"]):r[1]-=e;var t=0;return(n==="left"||n==="right")&&(t=Math.PI/2),{rotation:t,position:r,style:{textAlign:s[0],textVerticalAlign:s[1]}}},_renderYearText:function(o,r,i,n){var e=o.getModel("yearLabel");if(!e.get("show"))return;var s=e.get("margin"),t=e.get("position");t||(t=i!=="horizontal"?"top":"left");var a=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(a[0][0]+a[1][0])/2,u=(a[0][1]+a[1][1])/2,h=i==="horizontal"?0:1,p={top:[l,a[h][1]],bottom:[l,a[1-h][1]],left:[a[1-h][0],u],right:[a[h][0],u]},m=r.start.y;+r.end.y>+r.start.y&&(m=m+"-"+r.end.y);var v=e.get("formatter"),y={start:r.start.y,end:r.end.y,nameMap:m},E=this._formatterLabel(v,y),T=new C.Text({z2:30});C.setTextStyle(T.style,e,{text:E}),T.attr(this._yearTextPositionControl(T,p[t],i,t,s)),n.add(T)},_monthTextPositionControl:function(o,r,i,n,e){var s="left",t="top",a=o[0],l=o[1];return i==="horizontal"?(l=l+e,r&&(s="center"),n==="start"&&(t="bottom")):(a=a+e,r&&(t="middle"),n==="start"&&(s="right")),{x:a,y:l,textAlign:s,textVerticalAlign:t}},_renderMonthText:function(o,r,i){var n=o.getModel("monthLabel");if(!n.get("show"))return;var e=n.get("nameMap"),s=n.get("margin"),t=n.get("position"),a=n.get("align"),l=[this._tlpoints,this._blpoints];x.isString(e)&&(e=g[e.toUpperCase()]||[]);var u=t==="start"?0:1,h=r==="horizontal"?0:1;s=t==="start"?-s:s;for(var p=a==="center",m=0;m1?(S.width=v,S.height=v/T):(S.height=v,S.width=v*T),S.y=m[1]-S.height/2,S.x=m[0]-S.width/2}else p=s.getBoxLayoutParams(),p.aspect=T,S=g.getLayoutRect(p,{width:y,height:E});this.setViewRect(S.x,S.y,S.width,S.height),this.setCenter(s.get("center")),this.setZoom(s.get("zoom"))}function i(s,t){A.each(t.get("geoCoord"),function(a,l){s.addGeoCoord(l,a)})}var n={dimensions:b.prototype.dimensions,create:function(s,t){var a=[];s.eachComponent("geo",function(u,h){var p=u.get("map"),m=u.get("aspectScale"),v=!0,y=o.retrieveMap(p);y&&y[0]&&y[0].type==="svg"?(m==null&&(m=1),v=!1):m==null&&(m=.75);var E=new b(p+h,p,u.get("nameMap"),v);E.aspectScale=m,E.zoomLimit=u.get("scaleLimit"),a.push(E),i(E,u),u.coordinateSystem=E,E.model=u,E.resize=r,E.resize(u,t)}),s.eachSeries(function(u){var h=u.get("coordinateSystem");if(h==="geo"){var p=u.get("geoIndex")||0;u.coordinateSystem=a[p]}});var l={};return s.eachSeriesByType("map",function(u){if(!u.getHostGeoModel()){var h=u.getMapType();l[h]=l[h]||[],l[h].push(u)}}),A.each(l,function(u,h){var p=A.map(u,function(v){return v.get("nameMap")}),m=new b(h,h,A.mergeAll(p));m.zoomLimit=A.retrieve.apply(null,A.map(u,function(v){return v.get("scaleLimit")})),a.push(m),m.resize=r,m.aspectScale=u[0].get("aspectScale"),m.resize(u[0],t),A.each(u,function(v){v.coordinateSystem=m,i(m,v)})}),a},getFilledRegions:function(s,t,a){for(var l=(s||[]).slice(),u=A.createHashMap(),h=0;h=32&&A<=255)return A;var b=O[A];return b!==void 0?b:16777216|A}};P.default=x},"8CQX":function(H,P,d){"use strict";function O(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(a){return typeof a}:O=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},O(s)}Object.defineProperty(P,"__esModule",{value:!0}),P.getKeycode=i,P.getKey=n,P.getKeysym=e;var x=r(d("mHUz")),C=r(d("8+yF")),A=r(d("6Qwc")),b=r(d("gIYZ")),g=r(d("mTgk")),f=o(d("GdRQ"));function c(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return c=function(){return s},s}function o(s){if(s&&s.__esModule)return s;if(s===null||O(s)!=="object"&&typeof s!="function")return{default:s};var t=c();if(t&&t.has(s))return t.get(s);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in s)if(Object.prototype.hasOwnProperty.call(s,u)){var h=l?Object.getOwnPropertyDescriptor(s,u):null;h&&(h.get||h.set)?Object.defineProperty(a,u,h):a[u]=s[u]}return a.default=s,t&&t.set(s,a),a}function r(s){return s&&s.__esModule?s:{default:s}}function i(s){if(s.code){switch(s.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return s.code}if(s.type!=="keypress"&&s.keyCode in A.default){var t=A.default[s.keyCode];if(f.isMac()&&t==="ContextMenu"&&(t="MetaRight"),s.location===2)switch(t){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(s.location===3)switch(t){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return t}return"Unidentified"}function n(s){if(s.key!==void 0){switch(s.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return s.char}switch(s.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(s.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(s.key==="\0"&&s.code==="NumpadDecimal")return"Delete";if(!f.isIE()&&!f.isEdge())return s.key;if(s.key.length!==1&&s.key!=="Unidentified")return s.key}var t=i(s);return t in b.default?b.default[t]:s.charCode?String.fromCharCode(s.charCode):"Unidentified"}function e(s){var t=n(s);if(t==="Unidentified")return null;if(t in g.default){var a=s.location;if(t==="Meta"&&a===0&&(a=2),t==="Clear"&&a===3){var l=i(s);l==="NumLock"&&(a=0)}if((a===void 0||a>3)&&(a=0),t==="Meta"){var u=i(s);if(u==="AltLeft")return x.default.XK_Meta_L;if(u==="AltRight")return x.default.XK_Meta_R}if(t==="Clear"){var h=i(s);if(h==="NumLock")return x.default.XK_Num_Lock}return g.default[t][a]}if(t.length!==1)return null;var p=t.charCodeAt();return p?C.default.lookup(p):null}},"8EBN":function(H,P,d){(function(O){O(d("VrN/"))})(function(O){"use strict";O.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var x=0;x-1&&A.substring(f+1,A.length);if(c)return O.findModeByExtension(c)},O.findModeByName=function(A){A=A.toLowerCase();for(var b=0;b>p&1&&(this._zlibs[p].reset(),x.Info("Reset zlib stream "+p));this._ctl=this._ctl>>4}var m;if(this._ctl===8)m=this._fillRect(e,s,t,a,l,u,h);else if(this._ctl===9)m=this._jpegRect(e,s,t,a,l,u,h);else if(this._ctl===10)m=this._pngRect(e,s,t,a,l,u,h);else if((this._ctl&128)==0)m=this._basicRect(this._ctl,e,s,t,a,l,u,h);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return m&&(this._ctl=null),m}},{key:"_fillRect",value:function(e,s,t,a,l,u,h){if(l.rQwait("TIGHT",3))return!1;var p=l.rQi,m=l.rQ;return u.fillRect(e,s,t,a,[m[p+2],m[p+1],m[p]],!1),l.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(e,s,t,a,l,u,h){var p=this._readData(l);return p===null?!1:(u.imageRect(e,s,t,a,"image/jpeg",p),!0)}},{key:"_pngRect",value:function(e,s,t,a,l,u,h){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(e,s,t,a,l,u,h,p){if(this._filter===null)if(e&4){if(u.rQwait("TIGHT",1))return!1;this._filter=u.rQshift8()}else this._filter=0;var m=e&3,v;switch(this._filter){case 0:v=this._copyFilter(m,s,t,a,l,u,h,p);break;case 1:v=this._paletteFilter(m,s,t,a,l,u,h,p);break;case 2:v=this._gradientFilter(m,s,t,a,l,u,h,p);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return v&&(this._filter=null),v}},{key:"_copyFilter",value:function(e,s,t,a,l,u,h,p){var m=a*l*3,v;if(m<12){if(u.rQwait("TIGHT",m))return!1;v=u.rQshiftBytes(m)}else{if(v=this._readData(u),v===null)return!1;this._zlibs[e].setInput(v),v=this._zlibs[e].inflate(m),this._zlibs[e].setInput(null)}return h.blitRgbImage(s,t,a,l,v,0,!1),!0}},{key:"_paletteFilter",value:function(e,s,t,a,l,u,h,p){if(this._numColors===0){if(u.rQwait("TIGHT palette",1))return!1;var m=u.rQpeek8()+1,v=m*3;if(u.rQwait("TIGHT palette",1+v))return!1;this._numColors=m,u.rQskipBytes(1),u.rQshiftTo(this._palette,v)}var y=this._numColors<=2?1:8,E=Math.floor((a*y+7)/8),T=E*l,w;if(T<12){if(u.rQwait("TIGHT",T))return!1;w=u.rQshiftBytes(T)}else{if(w=this._readData(u),w===null)return!1;this._zlibs[e].setInput(w),w=this._zlibs[e].inflate(T),this._zlibs[e].setInput(null)}return this._numColors==2?this._monoRect(s,t,a,l,w,this._palette,h):this._paletteRect(s,t,a,l,w,this._palette,h),this._numColors=0,!0}},{key:"_monoRect",value:function(e,s,t,a,l,u,h){for(var p=this._getScratchBuffer(t*a*4),m=Math.floor((t+7)/8),v=Math.floor(t/8),y=0;y=0;S--)E=(y*t+w*8+7-S)*4,T=(l[y*m+w]>>S&1)*3,p[E]=u[T],p[E+1]=u[T+1],p[E+2]=u[T+2],p[E+3]=255;for(var _=7;_>=8-t%8;_--)E=(y*t+w*8+7-_)*4,T=(l[y*m+w]>>_&1)*3,p[E]=u[T],p[E+1]=u[T+1],p[E+2]=u[T+2],p[E+3]=255}h.blitRgbxImage(e,s,t,a,p,0,!1)}},{key:"_paletteRect",value:function(e,s,t,a,l,u,h){for(var p=this._getScratchBuffer(t*a*4),m=t*a*4,v=0,y=0;v=0;U--){var F=R[U].dimension,j=N.dimensions[F],W=N.getDimensionInfo(j);if(B=W&&W.coordDim,B==="x"||B==="y"){M=R[U];break}}if(!M)return;var V=D.getAxis(B),z=C.map(M.stops,function(Ke){return{coord:V.toGlobalCoord(V.dataToCoord(Ke.value)),color:Ke.color}}),J=z.length,$=M.outerColors.slice();J&&z[0].coord>z[J-1].coord&&(z.reverse(),$.reverse());var ce=10,ae=z[0].coord-ce,Ae=z[J-1].coord+ce,Ie=Ae-ae;if(Ie<.001)return"transparent";C.each(z,function(Ke){Ke.offset=(Ke.coord-ae)/Ie}),z.push({offset:J?z[J-1].offset:.5,color:$[1]||"transparent"}),z.unshift({offset:J?z[0].offset:.5,color:$[0]||"transparent"});var De=new o.LinearGradient(0,0,0,0,z,!0);return De[B]=ae,De[B+"2"]=Ae,De}function S(N,D,R){var B=N.get("showAllSymbol"),M=B==="auto";if(B&&!M)return;var U=R.getAxesByScale("ordinal")[0];if(!U)return;if(M&&_(U,D))return;var F=D.mapDimension(U.dim),j={};return C.each(U.getViewLabels(),function(W){j[W.tickValue]=1}),function(W){return!j.hasOwnProperty(D.get(F,W))}}function _(N,D){var R=N.getExtent(),B=Math.abs(R[1]-R[0])/N.scale.count();isNaN(B)&&(B=0);for(var M=D.count(),U=Math.max(1,Math.round(M/5)),F=0;FB)return!1;return!0}function I(N,D,R){if(N.type==="cartesian2d"){var B=N.getBaseAxis().isHorizontal(),M=h(N,D,R);if(!R.get("clip",!0)){var U=M.shape,F=Math.max(U.width,U.height);B?(U.y-=F,U.height+=F*2):(U.x-=F,U.width+=F*2)}return M}else return p(N,D,R)}var L=s.extend({type:"line",init:function(){var N=new o.Group,D=new g;this.group.add(D.group),this._symbolDraw=D,this._lineGroup=N},render:function(N,D,R){var B=N.coordinateSystem,M=this.group,U=N.getData(),F=N.getModel("lineStyle"),j=N.getModel("areaStyle"),W=U.mapArray(U.getItemLayout),V=B.type==="polar",z=this._coordSys,J=this._symbolDraw,$=this._polyline,ce=this._polygon,ae=this._lineGroup,Ae=N.get("animation"),Ie=!j.isEmpty(),De=j.get("origin"),Ke=a(B,U,De),me=E(B,U,Ke),Ue=N.get("showSymbol"),oe=Ue&&!V&&S(N,U,B),te=this._data;te&&te.eachItemGraphicEl(function(de,Te){de.__temp&&(M.remove(de),te.setItemGraphicEl(Te,null))}),Ue||J.remove(),M.add(ae);var Qe=!V&&N.get("step"),se;B&&B.getArea&&N.get("clip",!0)&&(se=B.getArea(),se.width!=null?(se.x-=.1,se.y-=.1,se.width+=.2,se.height+=.2):se.r0&&(se.r0-=.5,se.r1+=.5)),this._clipShapeForSymbol=se,$&&z.type===B.type&&Qe===this._step?(Ie&&!ce?ce=this._newPolygon(W,me,B,Ae):ce&&!Ie&&(ae.remove(ce),ce=this._polygon=null),ae.setClipPath(I(B,!1,N)),Ue&&J.updateData(U,{isIgnore:oe,clipShape:se}),U.eachItemGraphicEl(function(de){de.stopAnimation(!0)}),(!m(this._stackedOnPoints,me)||!m(this._points,W))&&(Ae?this._updateAnimation(U,me,B,R,Qe,De):(Qe&&(W=T(W,B,Qe),me=T(me,B,Qe)),$.setShape({points:W}),ce&&ce.setShape({points:W,stackedOnPoints:me})))):(Ue&&J.updateData(U,{isIgnore:oe,clipShape:se}),Qe&&(W=T(W,B,Qe),me=T(me,B,Qe)),$=this._newPolyline(W,B,Ae),Ie&&(ce=this._newPolygon(W,me,B,Ae)),ae.setClipPath(I(B,!0,N)));var Y=w(U,B)||U.getVisual("color");$.useStyle(C.defaults(F.getLineStyle(),{fill:"none",stroke:Y,lineJoin:"bevel"}));var X=N.get("smooth");if(X=y(N.get("smooth")),$.setShape({smooth:X,smoothMonotone:N.get("smoothMonotone"),connectNulls:N.get("connectNulls")}),ce){var Q=U.getCalculationInfo("stackedOnSeries"),ge=0;ce.useStyle(C.defaults(j.getAreaStyle(),{fill:Y,opacity:.7,lineJoin:"bevel"})),Q&&(ge=y(Q.get("smooth"))),ce.setShape({smooth:X,stackedOnSmooth:ge,smoothMonotone:N.get("smoothMonotone"),connectNulls:N.get("connectNulls")})}this._data=U,this._coordSys=B,this._stackedOnPoints=me,this._points=W,this._step=Qe,this._valueOrigin=De},dispose:function(){},highlight:function(N,D,R,B){var M=N.getData(),U=r.queryDataIndex(M,B);if(!(U instanceof Array)&&U!=null&&U>=0){var F=M.getItemGraphicEl(U);if(!F){var j=M.getItemLayout(U);if(!j)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(j[0],j[1]))return;F=new f(M,U),F.position=j,F.setZ(N.get("zlevel"),N.get("z")),F.ignore=isNaN(j[0])||isNaN(j[1]),F.__temp=!0,M.setItemGraphicEl(U,F),F.stopSymbolAnimation(!0),this.group.add(F)}F.highlight()}else s.prototype.highlight.call(this,N,D,R,B)},downplay:function(N,D,R,B){var M=N.getData(),U=r.queryDataIndex(M,B);if(U!=null&&U>=0){var F=M.getItemGraphicEl(U);F&&(F.__temp?(M.setItemGraphicEl(U,null),this.group.remove(F)):F.downplay())}else s.prototype.downplay.call(this,N,D,R,B)},_newPolyline:function(N){var D=this._polyline;return D&&this._lineGroup.remove(D),D=new n({shape:{points:N},silent:!0,z2:10}),this._lineGroup.add(D),this._polyline=D,D},_newPolygon:function(N,D){var R=this._polygon;return R&&this._lineGroup.remove(R),R=new e({shape:{points:N,stackedOnPoints:D},silent:!0}),this._lineGroup.add(R),this._polygon=R,R},_updateAnimation:function(N,D,R,B,M,U){var F=this._polyline,j=this._polygon,W=N.hostModel,V=c(this._data,N,this._stackedOnPoints,D,this._coordSys,R,this._valueOrigin,U),z=V.current,J=V.stackedOnCurrent,$=V.next,ce=V.stackedOnNext;if(M&&(z=T(V.current,R,M),J=T(V.stackedOnCurrent,R,M),$=T(V.next,R,M),ce=T(V.stackedOnNext,R,M)),v(z,$)>3e3||j&&v(J,ce)>3e3){F.setShape({points:$}),j&&j.setShape({points:$,stackedOnPoints:ce});return}F.shape.__points=V.current,F.shape.points=z,o.updateProps(F,{shape:{points:$}},W),j&&(j.setShape({points:z,stackedOnPoints:J}),o.updateProps(j,{shape:{points:$,stackedOnPoints:ce}},W));for(var ae=[],Ae=V.status,Ie=0;Ie1&&arguments[1]!==void 0?arguments[1]:2;Ce();var Ct=Object(B.a)(function(){at<=1?ze({isCanceled:function(){return Ct!==Je.current}}):et(ze,at-1)});Je.current=Ct}return b.useEffect(function(){return function(){Ce()}},[]),[et,Ce]},U=Object(r.a)()?b.useLayoutEffect:b.useEffect,F=U,j=[I,L,N,D],W=!1,V=!0;function z(Je){return Je===N||Je===D}var J=function(Je,Ce){var et=Object(R.a)(_),ze=Object(C.a)(et,2),at=ze[0],Ct=ze[1],Tt=M(),Ot=Object(C.a)(Tt,2),Nt=Ot[0],Be=Ot[1];function ne(){Ct(I,!0)}return F(function(){if(at!==_&&at!==D){var G=j.indexOf(at),Pe=j[G+1],Ne=Ce(at);Ne===W?Ct(Pe,!0):Nt(function(q){function ht(){if(q.isCanceled())return;Ct(Pe,!0)}Ne===!0?ht():Promise.resolve(Ne).then(ht)})}},[Je,at]),b.useEffect(function(){return function(){Be()}},[]),[ne,at]},$=function(Je){var Ce=Object(b.useRef)(),et=Object(b.useRef)(Je);et.current=Je;var ze=b.useCallback(function(Tt){et.current(Tt)},[]);function at(Tt){Tt&&(Tt.removeEventListener(v,ze),Tt.removeEventListener(m,ze))}function Ct(Tt){Ce.current&&Ce.current!==Tt&&at(Ce.current),Tt&&Tt!==Ce.current&&(Tt.addEventListener(v,ze),Tt.addEventListener(m,ze),Ce.current=Tt)}return b.useEffect(function(){return function(){at(Ce.current)}},[]),[Ct,at]};function ce(Je,Ce,et,ze){var at=ze.motionEnter,Ct=at===void 0?!0:at,Tt=ze.motionAppear,Ot=Tt===void 0?!0:Tt,Nt=ze.motionLeave,Be=Nt===void 0?!0:Nt,ne=ze.motionDeadline,G=ze.motionLeaveImmediately,Pe=ze.onAppearPrepare,Ne=ze.onEnterPrepare,q=ze.onLeavePrepare,ht=ze.onAppearStart,Pt=ze.onEnterStart,ct=ze.onLeaveStart,Gt=ze.onAppearActive,or=ze.onEnterActive,Zr=ze.onLeaveActive,ir=ze.onAppearEnd,dr=ze.onEnterEnd,er=ze.onLeaveEnd,Kt=ze.onVisibleChanged,dt=Object(R.a)(),Hr=Object(C.a)(dt,2),fn=Hr[0],Nn=Hr[1],Vn=Object(R.a)(E),gi=Object(C.a)(Vn,2),bn=gi[0],Mn=gi[1],jt=Object(R.a)(null),St=Object(C.a)(jt,2),_e=St[0],Oe=St[1],Le=Object(b.useRef)(!1),Ze=Object(b.useRef)(null);function nt(){return et()}var ft=Object(b.useRef)(!1);function Dt(pt){var Ut=nt();if(pt&&!pt.deadline&&pt.target!==Ut)return;var Sr=ft.current,mr;bn===T&&Sr?mr=ir==null?void 0:ir(Ut,pt):bn===w&&Sr?mr=dr==null?void 0:dr(Ut,pt):bn===S&&Sr&&(mr=er==null?void 0:er(Ut,pt)),bn!==E&&Sr&&mr!==!1&&(Mn(E,!0),Oe(null,!0))}var Ar=$(Dt),Mr=Object(C.a)(Ar,1),un=Mr[0],Rt=b.useMemo(function(){var pt,Ut,Sr;switch(bn){case T:return pt={},Object(O.a)(pt,I,Pe),Object(O.a)(pt,L,ht),Object(O.a)(pt,N,Gt),pt;case w:return Ut={},Object(O.a)(Ut,I,Ne),Object(O.a)(Ut,L,Pt),Object(O.a)(Ut,N,or),Ut;case S:return Sr={},Object(O.a)(Sr,I,q),Object(O.a)(Sr,L,ct),Object(O.a)(Sr,N,Zr),Sr;default:return{}}},[bn]),it=J(bn,function(pt){if(pt===I){var Ut=Rt[I];return Ut?Ut(nt()):W}if(Bt in Rt){var Sr;Oe(((Sr=Rt[Bt])===null||Sr===void 0?void 0:Sr.call(Rt,nt(),null))||null)}return Bt===N&&(un(nt()),ne>0&&(clearTimeout(Ze.current),Ze.current=setTimeout(function(){Dt({deadline:!0})},ne))),V}),st=Object(C.a)(it,2),rr=st[0],Bt=st[1],_t=z(Bt);ft.current=_t,F(function(){Nn(Ce);var pt=Le.current;if(Le.current=!0,!Je)return;var Ut;!pt&&Ce&&Ot&&(Ut=T),pt&&Ce&&Ct&&(Ut=w),(pt&&!Ce&&Be||!pt&&G&&!Ce&&Be)&&(Ut=S),Ut&&(Mn(Ut),rr())},[Ce]),Object(b.useEffect)(function(){(bn===T&&!Ot||bn===w&&!Ct||bn===S&&!Be)&&Mn(E)},[Ot,Ct,Be]),Object(b.useEffect)(function(){return function(){Le.current=!1,clearTimeout(Ze.current)}},[]),Object(b.useEffect)(function(){fn!==void 0&&bn===E&&(Kt==null||Kt(fn))},[fn,bn]);var Ht=_e;return Rt[I]&&Bt===L&&(Ht=Object(x.a)({transition:"none"},Ht)),[bn,Bt,Ht,fn!=null?fn:Ce]}var ae=d("1OyB"),Ae=d("vuIU"),Ie=d("Ji7U"),De=d("LK+K"),Ke=function(Je){Object(Ie.a)(et,Je);var Ce=Object(De.a)(et);function et(){return Object(ae.a)(this,et),Ce.apply(this,arguments)}return Object(Ae.a)(et,[{key:"render",value:function(){return this.props.children}}]),et}(b.Component),me=Ke;function Ue(Je){var Ce=Je;Object(A.a)(Je)==="object"&&(Ce=Je.transitionSupport);function et(at){return!!(at.motionName&&Ce)}var ze=b.forwardRef(function(at,Ct){var Tt=at.visible,Ot=Tt===void 0?!0:Tt,Nt=at.removeOnLeave,Be=Nt===void 0?!0:Nt,ne=at.forceRender,G=at.children,Pe=at.motionName,Ne=at.leavedClassName,q=at.eventProps,ht=et(at),Pt=Object(b.useRef)(),ct=Object(b.useRef)();function Gt(){try{return Pt.current instanceof HTMLElement?Pt.current:Object(g.a)(ct.current)}catch(jt){return null}}var or=ce(ht,Ot,Gt,at),Zr=Object(C.a)(or,4),ir=Zr[0],dr=Zr[1],er=Zr[2],Kt=Zr[3],dt=b.useRef(Kt);Kt&&(dt.current=!0);var Hr=b.useCallback(function(jt){Pt.current=jt,Object(f.b)(Ct,jt)},[Ct]),fn,Nn=Object(x.a)(Object(x.a)({},q),{},{visible:Ot});if(!G)fn=null;else if(ir===E||!et(at))Kt?fn=G(Object(x.a)({},Nn),Hr):!Be&&dt.current?fn=G(Object(x.a)(Object(x.a)({},Nn),{},{className:Ne}),Hr):ne?fn=G(Object(x.a)(Object(x.a)({},Nn),{},{style:{display:"none"}}),Hr):fn=null;else{var Vn,gi;dr===I?gi="prepare":z(dr)?gi="active":dr===L&&(gi="start"),fn=G(Object(x.a)(Object(x.a)({},Nn),{},{className:o()(y(Pe,ir),(Vn={},Object(O.a)(Vn,y(Pe,"".concat(ir,"-").concat(gi)),gi),Object(O.a)(Vn,Pe,typeof Pe=="string"),Vn)),style:er}),Hr)}if(b.isValidElement(fn)&&Object(f.c)(fn)){var bn=fn,Mn=bn.ref;Mn||(fn=b.cloneElement(fn,{ref:Hr}))}return b.createElement(me,{ref:ct},fn)});return ze.displayName="CSSMotion",ze}var oe=Ue(p),te=d("wx14"),Qe=d("Ff2n"),se="add",Y="keep",X="remove",Q="removed";function ge(Je){var Ce;return Je&&Object(A.a)(Je)==="object"&&"key"in Je?Ce=Je:Ce={key:Je},Object(x.a)(Object(x.a)({},Ce),{},{key:String(Ce.key)})}function de(){var Je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Je.map(ge)}function Te(){var Je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],et=[],ze=0,at=Ce.length,Ct=de(Je),Tt=de(Ce);Ct.forEach(function(Be){for(var ne=!1,G=ze;G1});return Nt.forEach(function(Be){et=et.filter(function(ne){var G=ne.key,Pe=ne.status;return G!==Be||Pe!==X}),et.forEach(function(ne){ne.key===Be&&(ne.status=Y)})}),et}var xe=["component","children","onVisibleChanged","onAllRemoved"],le=["status"],fe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Ee(Je){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oe,et=function(ze){Object(Ie.a)(Ct,ze);var at=Object(De.a)(Ct);function Ct(){var Tt;Object(ae.a)(this,Ct);for(var Ot=arguments.length,Nt=new Array(Ot),Be=0;Beb)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([c.offsetX,c.offsetY]);n.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(c){if(this._mouseDownPoint||!f(this,"mousemove"))return;var o=this._model,r=o.coordinateSystem.getSlidedAxisExpandWindow([c.offsetX,c.offsetY]),i=r.behavior;i==="jump"&&this._throttledDispatchExpand.debounceNextCall(o.get("axisExpandDebounce")),this._throttledDispatchExpand(i==="none"?null:{axisExpandWindow:r.axisExpandWindow,animation:i==="jump"?null:!1})}};function f(c,o){var r=c._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===o}O.registerPreprocessor(A)},"8x+h":function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("ProS"),A=d("bYtY"),b=d("K4ya"),g=d("Qxkt"),f=["#ddd"],c=C.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(i,n){var e=this.option;!n&&b.replaceVisualOption(e,i,["inBrush","outOfBrush"]);var s=e.inBrush=e.inBrush||{};e.outOfBrush=e.outOfBrush||{color:f},s.hasOwnProperty("liftZ")||(s.liftZ=5)},setAreas:function(i){if(!i)return;this.areas=A.map(i,function(n){return o(this.option,n)},this)},setBrushOption:function(i){this.brushOption=o(this.option,i),this.brushType=this.brushOption.brushType}});function o(i,n){return A.merge({brushType:i.brushType,brushMode:i.brushMode,transformable:i.transformable,brushStyle:new g(i.brushStyle).getItemStyle(),removeOnClick:i.removeOnClick,z:i.z},n,!0)}var r=c;H.exports=r},"8z0m":function(H,P,d){"use strict";var O=d("lSNA"),x=d.n(O),C=d("RIqP"),A=d.n(C),b=d("pVnL"),g=d.n(b),f=d("J4zp"),c=d.n(f),o=d("q1tI"),r=d.n(o),i=d("TSYQ"),n=d.n(i);function e(ir,dr){var er="cannot "+ir.method+" "+ir.action+" "+dr.status+"'",Kt=new Error(er);return Kt.status=dr.status,Kt.method=ir.method,Kt.url=ir.action,Kt}function s(ir){var dr=ir.responseText||ir.response;if(!dr)return dr;try{return JSON.parse(dr)}catch(er){return dr}}function t(ir){var dr=new XMLHttpRequest;ir.onProgress&&dr.upload&&(dr.upload.onprogress=function(Hr){Hr.total>0&&(Hr.percent=Hr.loaded/Hr.total*100),ir.onProgress(Hr)});var er=new FormData;ir.data&&Object.keys(ir.data).forEach(function(dt){var Hr=ir.data[dt];if(Array.isArray(Hr)){Hr.forEach(function(fn){er.append(dt+"[]",fn)});return}er.append(dt,ir.data[dt])}),ir.file instanceof Blob?er.append(ir.filename,ir.file,ir.file.name):er.append(ir.filename,ir.file),dr.onerror=function(Hr){ir.onError(Hr)},dr.onload=function(){return dr.status<200||dr.status>=300?ir.onError(e(ir,dr),s(dr)):ir.onSuccess(s(dr),dr)},dr.open(ir.method,ir.action,!0),ir.withCredentials&&"withCredentials"in dr&&(dr.withCredentials=!0);var Kt=ir.headers||{};return Kt["X-Requested-With"]!==null&&dr.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Kt).forEach(function(dt){Kt[dt]!==null&&dr.setRequestHeader(dt,Kt[dt])}),dr.send(er),{abort:function(){dr.abort()}}}var a=+new Date,l=0;function u(){return"rc-upload-"+a+"-"+ ++l}function h(ir,dr){return ir.indexOf(dr,ir.length-dr.length)!==-1}var p=function(ir,dr){if(ir&&dr){var er=Array.isArray(dr)?dr:dr.split(","),Kt=ir.name||"",dt=ir.type||"",Hr=dt.replace(/\/.*$/,"");return er.some(function(fn){var Nn=fn.trim();return Nn.charAt(0)==="."?h(Kt.toLowerCase(),Nn.toLowerCase()):/\/\*$/.test(Nn)?Hr===Nn.replace(/\/.*$/,""):dt===Nn})}return!0};function m(ir,dr){var er=ir.createReader(),Kt=[];function dt(){er.readEntries(function(Hr){var fn=Array.prototype.slice.apply(Hr);Kt=Kt.concat(fn);var Nn=!fn.length;Nn?dr(Kt):dt()})}dt()}var v=function(dr,er,Kt){var dt=function Hr(fn,Nn){Nn=Nn||"",fn.isFile?fn.file(function(Vn){Kt(Vn)&&(fn.fullPath&&!Vn.webkitRelativePath&&(Object.defineProperties(Vn,{webkitRelativePath:{writable:!0}}),Vn.webkitRelativePath=fn.fullPath.replace(/^\//,""),Object.defineProperties(Vn,{webkitRelativePath:{writable:!1}})),er([Vn]))}):fn.isDirectory&&m(fn,function(Vn){Vn.forEach(function(gi){Hr(gi,""+Nn+fn.name+"/")})})};dr.forEach(function(Hr){dt(Hr.webkitGetAsEntry())})},y=v,E=Object.assign||function(ir){for(var dr=1;dr=0)continue;if(!Object.prototype.hasOwnProperty.call(ir,Kt))continue;er[Kt]=ir[Kt]}return er}function I(ir,dr){if(!(ir instanceof dr))throw new TypeError("Cannot call a class as a function")}function L(ir,dr){if(!ir)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return dr&&(typeof dr=="object"||typeof dr=="function")?dr:ir}function N(ir,dr){if(typeof dr!="function"&&dr!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof dr);ir.prototype=Object.create(dr&&dr.prototype,{constructor:{value:ir,enumerable:!1,writable:!0,configurable:!0}}),dr&&(Object.setPrototypeOf?Object.setPrototypeOf(ir,dr):ir.__proto__=dr)}var D=function(dr){return Object.keys(dr).reduce(function(er,Kt){return(Kt.substr(0,5)==="data-"||Kt.substr(0,5)==="aria-"||Kt==="role")&&(er[Kt]=dr[Kt]),er},{})},R=function(ir){N(dr,ir);function dr(){var er,Kt,dt,Hr;I(this,dr);for(var fn=arguments.length,Nn=Array(fn),Vn=0;Vn0&&arguments[0]!==void 0?arguments[0]:"",er=dr.split("/"),Kt=er[er.length-1],dt=Kt.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(dt)||[""])[0]},Ce=function(dr){return dr.indexOf("image/")===0},et=function(dr){if(dr.type&&!dr.thumbUrl)return Ce(dr.type);var er=dr.thumbUrl||dr.url,Kt=Je(er);return/^data:image\//.test(er)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(Kt)?!0:/^data:/.test(er)?!1:!Kt},ze=200;function at(ir){return new Promise(function(dr){if(!ir.type||!Ce(ir.type)){dr("");return}var er=document.createElement("canvas");er.width=ze,er.height=ze,er.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(ze,"px; height: ").concat(ze,"px; z-index: 9999; display: none;"),document.body.appendChild(er);var Kt=er.getContext("2d"),dt=new Image;dt.onload=function(){var Hr=dt.width,fn=dt.height,Nn=ze,Vn=ze,gi=0,bn=0;Hr=1)&&(I=1),I}var v;(this._dirty||a==="reset")&&(this._dirty=!1,v=i(this,s)),this._modBy=h,this._modDataCount=p;var y=n&&n.step;if(e?this._dueEnd=e._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var E=this._dueIndex,T=Math.min(y!=null?this._dueIndex+y:Infinity,this._dueEnd);if(!s&&(v||E1&&t>0?h:u}};return l;function u(){return e=n?null:p=0;E--){var T=y[E],w=T.node,S=T.width,_=T.text;v>m.width&&(v-=S-h,S=h,_=null);var I=new O.Polygon({shape:{points:r(u,0,S,p,E===y.length-1,E===0)},style:C.defaults(t.getItemStyle(),{lineJoin:"bevel",text:_,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:C.curry(l,w)});this.group.add(I),i(I,e,w),u+=S+f}},remove:function(){this.group.removeAll()}};function r(e,s,t,a,l,u){var h=[[l?e:e-c,s],[e+t,s],[e+t,s+a],[l?e:e-c,s+a]];return!u&&h.splice(2,0,[e+t+c,s+a/2]),!l&&h.push([e,s+a/2]),h}function i(e,s,t){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:s.componentIndex,seriesIndex:s.componentIndex,seriesName:s.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&b(t,s)}}var n=o;H.exports=n},"9u0u":function(H,P,d){var O=d("bYtY");function x(A,b){var g={};return O.each(A,function(f){f.each(f.mapDimension("value"),function(c,o){var r="ec-"+f.getName(o);g[r]=g[r]||[],isNaN(c)||g[r].push(c)})}),A[0].map(A[0].mapDimension("value"),function(f,c){for(var o="ec-"+A[0].getName(c),r=0,i=Infinity,n=-Infinity,e=g[o].length,s=0;s0){var le=Ue==="button"?"".concat(de,"-button"):de;xe=me.map(function(Ge){return typeof Ge=="string"?b.createElement(m,{ref:B,key:Ge,prefixCls:le,disabled:te,value:Ge,checked:z===Ge},Ge):b.createElement(m,{ref:B,key:"radio-group-value-options-".concat(Ge.value),prefixCls:le,disabled:Ge.disabled||te,value:Ge.value,checked:z===Ge.value,style:Ge.style},Ge.label)})}var fe=se||j,Ee=c()(Te,"".concat(Te,"-").concat(oe),(Ae={},x()(Ae,"".concat(Te,"-").concat(fe),fe),x()(Ae,"".concat(Te,"-rtl"),F==="rtl"),Ae),Ke);return b.createElement("div",{className:Ee,style:Y,onMouseEnter:Q,onMouseLeave:ge,id:X},xe)};return b.createElement(i,{value:{onChange:$,value:z,disabled:R.disabled,name:R.name}},ce())});w.defaultProps={buttonStyle:"outline"};var S=b.memo(w),_=function(R,B){var M={};for(var U in R)Object.prototype.hasOwnProperty.call(R,U)&&B.indexOf(U)<0&&(M[U]=R[U]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,U=Object.getOwnPropertySymbols(R);F=d;)n|=i&1,i>>=1;return i+n}function A(i,n,e,s){var t=n+1;if(t===e)return 1;if(s(i[t++],i[n])<0){for(;t=0;)t++;return t-n}function b(i,n,e){for(e--;n>>1,t(a,i[h])<0?u=h:l=h+1;var p=s-l;switch(p){case 3:i[l+3]=i[l+2];case 2:i[l+2]=i[l+1];case 1:i[l+1]=i[l];break;default:for(;p>0;)i[l+p]=i[l+p-1],p--}i[l]=a}}function f(i,n,e,s,t,a){var l=0,u=0,h=1;if(a(i,n[e+t])>0){for(u=s-t;h0;)l=h,h=(h<<1)+1,h<=0&&(h=u);h>u&&(h=u),l+=t,h+=t}else{for(u=t+1;hu&&(h=u);var p=l;l=t-h,h=t-p}for(l++;l>>1);a(i,n[e+m])>0?l=m+1:h=m}return h}function c(i,n,e,s,t,a){var l=0,u=0,h=1;if(a(i,n[e+t])<0){for(u=t+1;hu&&(h=u);var p=l;l=t-h,h=t-p}else{for(u=s-t;h=0;)l=h,h=(h<<1)+1,h<=0&&(h=u);h>u&&(h=u),l+=t,h+=t}for(l++;l>>1);a(i,n[e+m])<0?h=m:l=m+1}return h}function o(i,n){var e=O,s=0,t=x,a=0,l,u,h=0;s=i.length,s<2*x&&(t=s>>>1);var p=[];a=s<120?5:s<1542?10:s<119151?19:40,l=[],u=[];function m(S,_){l[h]=S,u[h]=_,h+=1}function v(){for(;h>1;){var S=h-2;if(S>=1&&u[S-1]<=u[S]+u[S+1]||S>=2&&u[S-2]<=u[S]+u[S-1])u[S-1]u[S+1])break;E(S)}}function y(){for(;h>1;){var S=h-2;S>0&&u[S-1]=O||F>=O);if(j)break;M<0&&(M=0),M+=2}if(e=M,e<1&&(e=1),_===1){for(N=0;N=0;N--)i[U+N]=i[M+N];i[B]=p[R];return}for(var F=e;;){var j=0,W=0,V=!1;do if(n(p[R],i[D])<0){if(i[B--]=i[D--],j++,W=0,--_===0){V=!0;break}}else if(i[B--]=p[R--],W++,j=0,--L===1){V=!0;break}while((j|W)=0;N--)i[U+N]=i[M+N];if(_===0){V=!0;break}}if(i[B--]=p[R--],--L===1){V=!0;break}if(W=L-f(i[D],p,0,L,L-1,n),W!==0){for(B-=W,R-=W,L-=W,U=B+1,M=R+1,N=0;N=O||W>=O);if(V)break;F<0&&(F=0),F+=2}if(e=F,e<1&&(e=1),L===1){for(B-=_,D-=_,U=B+1,M=D+1,N=_-1;N>=0;N--)i[U+N]=i[M+N];i[B]=p[R]}else{if(L===0)throw new Error;for(M=B-(L-1),N=0;Nu&&(h=u),g(i,e,e+h,e+a,n),a=h}l.pushRun(e,a),l.mergeRuns(),t-=a,e+=a}while(t!==0);l.forceMergeRuns()}H.exports=r},Bd2K:function(H,P,d){(function(O){O(d("VrN/"),d("osHv"))})(function(O){O.defineOption("autoCloseTags",!1,function(o,r,i){if(i!=O.Init&&i&&o.removeKeyMap("autoCloseTags"),!r)return;var n={name:"autoCloseTags"};(typeof r!="object"||r.whenClosing!==!1)&&(n["'/'"]=function(e){return g(e)}),(typeof r!="object"||r.whenOpening!==!1)&&(n["'>'"]=function(e){return A(e)}),o.addKeyMap(n)});var x=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],C=["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 A(o){if(o.getOption("disableInput"))return O.Pass;for(var r=o.listSelections(),i=[],n=o.getOption("autoCloseTags"),e=0;es.ch&&(h=h.slice(0,h.length-t.end+s.ch));var y=h.toLowerCase();if(!h||t.type=="string"&&(t.end!=s.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&u.close||t.string.indexOf("/")==s.ch-t.start-1||m&&f(m,y)>-1||c(o,a.mode.xmlCurrentContext&&a.mode.xmlCurrentContext(l)||[],h,s,!0))return O.Pass;var E=typeof n=="object"&&n.emptyTags;if(E&&f(E,h)>-1){i[e]={text:"/>",newPos:O.Pos(s.line,s.ch+2)};continue}var T=v&&f(v,y)>-1;i[e]={indent:T,text:">"+(T?` `:"")+"",newPos:T?O.Pos(s.line+1,0):O.Pos(s.line,s.ch+1)}}for(var w=typeof n=="object"&&n.dontIndentOnAutoClose,e=r.length-1;e>=0;e--){var S=i[e];o.replaceRange(S.text,r[e].head,r[e].anchor,"+insert");var _=o.listSelections().slice(0);_[e]={head:S.newPos,anchor:S.newPos},o.setSelections(_),!w&&S.indent&&(o.indentLine(S.newPos.line,null,!0),o.indentLine(S.newPos.line+1,null,!0))}}function b(o,r){for(var i=o.listSelections(),n=[],e=r?"/":""&&(m+=">"),n[a]=m}if(o.replaceSelections(n),i=o.listSelections(),!t)for(var a=0;a=0&&r[l]==i;l--)++a;n=t.to;for(var l=1;l.5?v:m}function r(m,v,y,E,T){var w=m.length;if(T===1)for(var S=0;ST;if(w)m.length=T;else for(var S=E;S=0&&!(F[ge]<=Q);ge--);ge=Math.min(ge,L-2)}else{for(ge=ae;geQ);ge++);ge=Math.min(ge-1,L-2)}ae=ge,Ae=Q;var de=F[ge+1]-F[ge];if(de===0)return;if(De=(Q-F[ge])/de,I)if(me=j[ge],Ke=j[ge===0?ge:ge-1],Ue=j[ge>L-2?L-1:ge+1],oe=j[ge>L-3?L-1:ge+2],D)e(Ke,me,Ue,oe,De,De*De,De*De*De,S(X,T),M);else{var Te;if(R)Te=e(Ke,me,Ue,oe,De,De*De,De*De*De,te,1),Te=a(te);else{if(B)return o(me,Ue,De);Te=s(Ke,me,Ue,oe,De,De*De,De*De*De)}_(X,T,Te)}else if(D)r(j[ge],j[ge+1],De,S(X,T),M);else{var Te;if(R)r(j[ge],j[ge+1],De,te,1),Te=a(te);else{if(B)return o(j[ge],j[ge+1],De);Te=c(j[ge],j[ge+1],De)}_(X,T,Te)}},se=new O({target:m._target,life:U,loop:m._loop,delay:m._delay,onframe:Qe,ondestroy:y});return v&&v!=="spline"&&(se.easing=v),se}var h=function(v,y,E,T){this._tracks={},this._target=v,this._loop=y||!1,this._getter=E||g,this._setter=T||f,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};h.prototype={when:function(v,y){var E=this._tracks;for(var T in y){if(!y.hasOwnProperty(T))continue;if(!E[T]){E[T]=[];var w=this._getter(this._target,T);if(w==null)continue;v!==0&&E[T].push({time:0,value:t(w)})}E[T].push({time:v,value:y[T]})}return this},during:function(v){return this._onframeList.push(v),this},pause:function(){for(var v=0;vi&&(i=e.height)}this.height=i+1},getNodeById:function(r){if(this.getId()===r)return this;for(var i=0,n=this.children,e=n.length;i=0&&this.hostTree.data.setItemLayout(this.dataIndex,r,i)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(r){if(this.dataIndex<0)return;var i=this.hostTree,n=i.data.getItemModel(this.dataIndex),e=this.getLevelModel();return e?n.getModel(r,e.getModel(r)):n.getModel(r)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(r,i){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,r,i)},getVisual:function(r,i){return this.hostTree.data.getItemVisual(this.dataIndex,r,i)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(r){for(var i=r.parentNode;i;){if(i===this)return!0;i=i.parentNode}return!1},isDescendantOf:function(r){return r!==this&&r.isAncestorOf(this)}};function f(r,i){this.root,this.data,this._nodes=[],this.hostModel=r,this.levelModels=O.map(i||[],function(n){return new x(n,r,r.ecModel)})}f.prototype={constructor:f,type:"tree",eachNode:function(r,i,n){this.root.eachNode(r,i,n)},getNodeByDataIndex:function(r){var i=this.data.getRawIndex(r);return this._nodes[i]},getNodeByName:function(r){return this.root.getNodeByName(r)},update:function(){for(var r=this.data,i=this._nodes,n=0,e=i.length;n0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=C.clone(e)},getValueState:function(e){var s=b.findPieceIndex(e,this._pieceList);return s!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[s])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var s=[];return this.eachTargetSeries(function(t){var a=[],l=t.getData();l.each(this.getDataDimension(l),function(u,h){var p=b.findPieceIndex(u,this._pieceList);p===e&&a.push(h)},this),s.push({seriesId:t.id,dataIndex:a})},this),s},getRepresentValue:function(e){var s;if(this.isCategory())s=e.value;else if(e.value!=null)s=e.value;else{var t=e.interval||[];s=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return s},getVisualMeta:function(e){if(this.isCategory())return;var s=[],t=[],a=this;function l(m,v){var y=a.getRepresentValue({interval:m});v||(v=a.getValueState(y));var E=e(y,v);m[0]===-Infinity?t[0]=E:m[1]===Infinity?t[1]=E:s.push({value:m[0],color:E},{value:m[1],color:E})}var u=this._pieceList.slice();if(!u.length)u.push({interval:[-Infinity,Infinity]});else{var h=u[0].interval[0];h!==-Infinity&&u.unshift({interval:[-Infinity,h]}),h=u[u.length-1].interval[1],h!==Infinity&&u.push({interval:[h,Infinity]})}var p=-Infinity;return C.each(u,function(m){var v=m.interval;v&&(v[0]>p&&l([p,v[0]],"outOfRange"),l(v.slice()),p=v[1])},this),{stops:s,outerColors:t}}}),r={splitNumber:function(){var e=this.option,s=this._pieceList,t=Math.min(e.precision,20),a=this.getExtent(),l=e.splitNumber;l=Math.max(parseInt(l,10),1),e.splitNumber=l;for(var u=(a[1]-a[0])/l;+u.toFixed(t)!==u&&t<5;)t++;e.precision=t,u=+u.toFixed(t),e.minOpen&&s.push({interval:[-Infinity,a[0]],close:[0,0]});for(var h=0,p=a[0];h","\u2265"][a[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,l)},this)}};function i(e,s){var t=e.inverse;(e.orient==="vertical"?!t:t)&&s.reverse()}var n=o;H.exports=n},BvKs:function(H,P,d){"use strict";d.d(P,"a",function(){return Rt});var O=d("pVnL"),x=d.n(O),C=d("lSNA"),A=d.n(C),b=d("lwsE"),g=d.n(b),f=d("W8MJ"),c=d.n(f),o=d("7W2i"),r=d.n(o),i=d("LQ03"),n=d.n(i),e=d("q1tI"),s=d("VTBJ"),t=d("1OyB"),a=d("vuIU"),l=d("JX7q"),u=d("Ji7U"),h=d("LK+K"),p=d("I8Z2"),m=d("BGR+"),v=d("wx14"),y=d("rePB"),E=d("4IlW"),T=d("2GS6"),w=d("Gytx"),S=d.n(w),_=d("TSYQ"),I=d.n(_),L=d("U8pU"),N=d("ODXe"),D=/iPhone/i,R=/iPod/i,B=/iPad/i,M=/\bAndroid(?:.+)Mobile\b/i,U=/Android/i,F=/\bAndroid(?:.+)SD4930UR\b/i,j=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,W=/Windows Phone/i,V=/\bWindows(?:.+)ARM\b/i,z=/BlackBerry/i,J=/BB10/i,$=/Opera Mini/i,ce=/\b(CriOS|Chrome)(?:.+)Mobile/i,ae=/Mobile(?:.+)Firefox\b/i;function Ae(it,st){return it.test(st)}function Ie(it){var st=it||(typeof navigator!="undefined"?navigator.userAgent:""),rr=st.split("[FBAN");if(typeof rr[1]!="undefined"){var Bt=rr,_t=Object(N.a)(Bt,1);st=_t[0]}if(rr=st.split("Twitter"),typeof rr[1]!="undefined"){var Ht=rr,pt=Object(N.a)(Ht,1);st=pt[0]}var Ut={apple:{phone:Ae(D,st)&&!Ae(W,st),ipod:Ae(R,st),tablet:!Ae(D,st)&&Ae(B,st)&&!Ae(W,st),device:(Ae(D,st)||Ae(R,st)||Ae(B,st))&&!Ae(W,st)},amazon:{phone:Ae(F,st),tablet:!Ae(F,st)&&Ae(j,st),device:Ae(F,st)||Ae(j,st)},android:{phone:!Ae(W,st)&&Ae(F,st)||!Ae(W,st)&&Ae(M,st),tablet:!Ae(W,st)&&!Ae(F,st)&&!Ae(M,st)&&(Ae(j,st)||Ae(U,st)),device:!Ae(W,st)&&(Ae(F,st)||Ae(j,st)||Ae(M,st)||Ae(U,st))||Ae(/\bokhttp\b/i,st)},windows:{phone:Ae(W,st),tablet:Ae(V,st),device:Ae(W,st)||Ae(V,st)},other:{blackberry:Ae(z,st),blackberry10:Ae(J,st),opera:Ae($,st),firefox:Ae(ae,st),chrome:Ae(ce,st),device:Ae(z,st)||Ae(J,st)||Ae($,st)||Ae(ae,st)||Ae(ce,st)},any:null,phone:null,tablet:null};return Ut.any=Ut.apple.device||Ut.android.device||Ut.windows.device||Ut.other.device,Ut.phone=Ut.apple.phone||Ut.android.phone||Ut.windows.phone,Ut.tablet=Ut.apple.tablet||Ut.android.tablet||Ut.windows.tablet,Ut}var De=Object(s.a)(Object(s.a)({},Ie()),{},{isMobile:Ie}),Ke=De;function me(){}function Ue(it,st,rr){var Bt=st||"";return it.key||"".concat(Bt,"item_").concat(rr)}function oe(it){return"".concat(it,"-menu-")}function te(it,st){var rr=-1;e.Children.forEach(it,function(Bt){rr+=1,Bt&&Bt.type&&Bt.type.isMenuItemGroup?e.Children.forEach(Bt.props.children,function(_t){rr+=1,st(_t,rr)}):st(Bt,rr)})}function Qe(it,st,rr){if(!it||rr.find)return;e.Children.forEach(it,function(Bt){if(Bt){var _t=Bt.type;if(!_t||!(_t.isSubMenu||_t.isMenuItem||_t.isMenuItemGroup))return;st.indexOf(Bt.key)!==-1?rr.find=!0:Bt.props.children&&Qe(Bt.props.children,st,rr)}})}var se=["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"],Y=function(st){var rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Bt=st&&typeof st.getBoundingClientRect=="function"&&st.getBoundingClientRect().width;if(Bt){if(rr){var _t=getComputedStyle(st),Ht=_t.marginLeft,pt=_t.marginRight;Bt+=+Ht.replace("px","")+ +pt.replace("px","")}Bt=+Bt.toFixed(6)}return Bt||0},X=function(st,rr,Bt){st&&Object(L.a)(st.style)==="object"&&(st.style[rr]=Bt)},Q=function(){return Ke.any},ge=d("KQm4"),de=d("Ff2n"),Te=d("i8i4"),xe=d("bdgK"),le=d("Uaa1"),fe=d("HTfv"),Ee={adjustX:1,adjustY:1},Ge={topLeft:{points:["bl","tl"],overflow:Ee,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ee,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Ee,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Ee,offset:[4,0]}},lt={topLeft:{points:["bl","tl"],overflow:Ee,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ee,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Ee,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Ee,offset:[4,0]}},Je=Ge,Ce=0,et={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},ze=function(st,rr,Bt){var _t=oe(rr),Ht=st.getState();st.setState({defaultActiveFirst:Object(s.a)(Object(s.a)({},Ht.defaultActiveFirst),{},Object(y.a)({},_t,Bt))})},at=function(it){Object(u.a)(rr,it);var st=Object(h.a)(rr);function rr(Bt){var _t;Object(t.a)(this,rr),_t=st.call(this,Bt),_t.onDestroy=function(vr){_t.props.onDestroy(vr)},_t.onKeyDown=function(vr){var Jr=vr.keyCode,$r=_t.menuInstance,Pn=_t.props,Dn=Pn.isOpen,Zn=Pn.store;if(Jr===E.a.ENTER)return _t.onTitleClick(vr),ze(Zn,_t.props.eventKey,!0),!0;if(Jr===E.a.RIGHT)return Dn?$r.onKeyDown(vr):(_t.triggerOpenChange(!0),ze(Zn,_t.props.eventKey,!0)),!0;if(Jr===E.a.LEFT){var li;if(Dn)li=$r.onKeyDown(vr);else return;return li||(_t.triggerOpenChange(!1),li=!0),li}return Dn&&(Jr===E.a.UP||Jr===E.a.DOWN)?$r.onKeyDown(vr):void 0},_t.onOpenChange=function(vr){_t.props.onOpenChange(vr)},_t.onPopupVisibleChange=function(vr){_t.triggerOpenChange(vr,vr?"mouseenter":"mouseleave")},_t.onMouseEnter=function(vr){var Jr=_t.props,$r=Jr.eventKey,Pn=Jr.onMouseEnter,Dn=Jr.store;ze(Dn,_t.props.eventKey,!1),Pn({key:$r,domEvent:vr})},_t.onMouseLeave=function(vr){var Jr=_t.props,$r=Jr.parentMenu,Pn=Jr.eventKey,Dn=Jr.onMouseLeave;$r.subMenuInstance=Object(l.a)(_t),Dn({key:Pn,domEvent:vr})},_t.onTitleMouseEnter=function(vr){var Jr=_t.props,$r=Jr.eventKey,Pn=Jr.onItemHover,Dn=Jr.onTitleMouseEnter;Pn({key:$r,hover:!0}),Dn({key:$r,domEvent:vr})},_t.onTitleMouseLeave=function(vr){var Jr=_t.props,$r=Jr.parentMenu,Pn=Jr.eventKey,Dn=Jr.onItemHover,Zn=Jr.onTitleMouseLeave;$r.subMenuInstance=Object(l.a)(_t),Dn({key:Pn,hover:!1}),Zn({key:Pn,domEvent:vr})},_t.onTitleClick=function(vr){var Jr=Object(l.a)(_t),$r=Jr.props;if($r.onTitleClick({key:$r.eventKey,domEvent:vr}),$r.triggerSubMenuAction==="hover")return;_t.triggerOpenChange(!$r.isOpen,"click"),ze($r.store,_t.props.eventKey,!1)},_t.onSubMenuClick=function(vr){typeof _t.props.onClick=="function"&&_t.props.onClick(_t.addKeyPath(vr))},_t.onSelect=function(vr){_t.props.onSelect(vr)},_t.onDeselect=function(vr){_t.props.onDeselect(vr)},_t.getPrefixCls=function(){return"".concat(_t.props.rootPrefixCls,"-submenu")},_t.getActiveClassName=function(){return"".concat(_t.getPrefixCls(),"-active")},_t.getDisabledClassName=function(){return"".concat(_t.getPrefixCls(),"-disabled")},_t.getSelectedClassName=function(){return"".concat(_t.getPrefixCls(),"-selected")},_t.getOpenClassName=function(){return"".concat(_t.props.rootPrefixCls,"-submenu-open")},_t.saveMenuInstance=function(vr){_t.menuInstance=vr},_t.addKeyPath=function(vr){return Object(s.a)(Object(s.a)({},vr),{},{keyPath:(vr.keyPath||[]).concat(_t.props.eventKey)})},_t.triggerOpenChange=function(vr,Jr){var $r=_t.props.eventKey,Pn=function(){_t.onOpenChange({key:$r,item:Object(l.a)(_t),trigger:Jr,open:vr})};Jr==="mouseenter"?_t.mouseenterTimeout=setTimeout(function(){Pn()},0):Pn()},_t.isChildrenSelected=function(){var vr={find:!1};return Qe(_t.props.children,_t.props.selectedKeys,vr),vr.find},_t.isOpen=function(){return _t.props.openKeys.indexOf(_t.props.eventKey)!==-1},_t.adjustWidth=function(){if(!_t.subMenuTitle||!_t.menuInstance)return;var vr=Te.findDOMNode(_t.menuInstance);if(vr.offsetWidth>=_t.subMenuTitle.offsetWidth)return;vr.style.minWidth="".concat(_t.subMenuTitle.offsetWidth,"px")},_t.saveSubMenuTitle=function(vr){_t.subMenuTitle=vr},_t.getBaseProps=function(){var vr=Object(l.a)(_t),Jr=vr.props;return{mode:Jr.mode==="horizontal"?"vertical":Jr.mode,visible:_t.props.isOpen,level:Jr.level+1,inlineIndent:Jr.inlineIndent,focusable:!1,onClick:_t.onSubMenuClick,onSelect:_t.onSelect,onDeselect:_t.onDeselect,onDestroy:_t.onDestroy,selectedKeys:Jr.selectedKeys,eventKey:"".concat(Jr.eventKey,"-menu-"),openKeys:Jr.openKeys,motion:Jr.motion,onOpenChange:_t.onOpenChange,subMenuOpenDelay:Jr.subMenuOpenDelay,parentMenu:Object(l.a)(_t),subMenuCloseDelay:Jr.subMenuCloseDelay,forceSubMenuRender:Jr.forceSubMenuRender,triggerSubMenuAction:Jr.triggerSubMenuAction,builtinPlacements:Jr.builtinPlacements,defaultActiveFirst:Jr.store.getState().defaultActiveFirst[oe(Jr.eventKey)],multiple:Jr.multiple,prefixCls:Jr.rootPrefixCls,id:_t.internalMenuId,manualRef:_t.saveMenuInstance,itemIcon:Jr.itemIcon,expandIcon:Jr.expandIcon,direction:Jr.direction}},_t.getMotion=function(vr,Jr){var $r=Object(l.a)(_t),Pn=$r.haveRendered,Dn=_t.props,Zn=Dn.motion,li=Dn.rootPrefixCls,Ai=Object(s.a)(Object(s.a)({},Zn),{},{leavedClassName:"".concat(li,"-hidden"),removeOnLeave:!1,motionAppear:Pn||!Jr||vr!=="inline"});return Ai};var Ht=Bt.store,pt=Bt.eventKey,Ut=Ht.getState(),Sr=Ut.defaultActiveFirst;_t.isRootMenu=!1;var mr=!1;return Sr&&(mr=Sr[pt]),ze(Ht,pt,mr),_t}return Object(a.a)(rr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var _t=this,Ht=this.props,pt=Ht.mode,Ut=Ht.parentMenu,Sr=Ht.manualRef;if(Sr&&Sr(this),pt!=="horizontal"||!Ut.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return _t.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var _t=this.props,Ht=_t.onDestroy,pt=_t.eventKey;Ht&&Ht(pt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(_t){var Ht=this,pt=this.getBaseProps(),Ut=this.getMotion(pt.mode,pt.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||pt.visible||pt.forceSubMenuRender,!this.haveOpened)return e.createElement("div",null);var Sr=pt.direction;return e.createElement(fe.default,Object.assign({visible:pt.visible},Ut),function(mr){var vr=mr.className,Jr=mr.style,$r=I()("".concat(pt.prefixCls,"-sub"),vr,Object(y.a)({},"".concat(pt.prefixCls,"-rtl"),Sr==="rtl"));return e.createElement(Gt,Object.assign({},pt,{id:Ht.internalMenuId,className:$r,style:Jr}),_t)})}},{key:"render",value:function(){var _t,Ht=Object(s.a)({},this.props),pt=Ht.isOpen,Ut=this.getPrefixCls(),Sr=Ht.mode==="inline",mr=I()(Ut,"".concat(Ut,"-").concat(Ht.mode),(_t={},Object(y.a)(_t,Ht.className,!!Ht.className),Object(y.a)(_t,this.getOpenClassName(),pt),Object(y.a)(_t,this.getActiveClassName(),Ht.active||pt&&!Sr),Object(y.a)(_t,this.getDisabledClassName(),Ht.disabled),Object(y.a)(_t,this.getSelectedClassName(),this.isChildrenSelected()),_t));this.internalMenuId||(Ht.eventKey?this.internalMenuId="".concat(Ht.eventKey,"$Menu"):(Ce+=1,this.internalMenuId="$__$".concat(Ce,"$Menu")));var vr={},Jr={},$r={};Ht.disabled||(vr={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Jr={onClick:this.onTitleClick},$r={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Pn={},Dn=Ht.direction;Sr&&(Dn==="rtl"?Pn.paddingRight=Ht.inlineIndent*Ht.level:Pn.paddingLeft=Ht.inlineIndent*Ht.level);var Zn={};this.props.isOpen&&(Zn={"aria-owns":this.internalMenuId});var li=null;Ht.mode!=="horizontal"&&(li=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(li=e.createElement(this.props.expandIcon,Object(s.a)({},this.props))));var Ai=e.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Pn,className:"".concat(Ut,"-title"),role:"button"},$r,Jr,{"aria-expanded":pt},Zn,{"aria-haspopup":"true",title:typeof Ht.title=="string"?Ht.title:void 0}),Ht.title,li||e.createElement("i",{className:"".concat(Ut,"-arrow")})),Ii=this.renderChildren(Ht.children),$e=Ht.parentMenu.isRootMenu?Ht.parentMenu.props.getPopupContainer:function(Ir){return Ir.parentNode},Se=et[Ht.mode],Re=Ht.popupOffset?{offset:Ht.popupOffset}:{},je=Ht.mode==="inline"?"":Ht.popupClassName;je+=Dn==="rtl"?" ".concat(Ut,"-rtl"):"";var Ye=Ht.disabled,Ve=Ht.triggerSubMenuAction,qe=Ht.subMenuOpenDelay,xt=Ht.forceSubMenuRender,ut=Ht.subMenuCloseDelay,Jt=Ht.builtinPlacements;se.forEach(function(Ir){return delete Ht[Ir]}),delete Ht.onClick;var Rr=Dn==="rtl"?Object.assign({},lt,Jt):Object.assign({},Ge,Jt);return delete Ht.direction,e.createElement("li",Object.assign({},Ht,vr,{className:mr,role:"menuitem"}),Sr&&Ai,Sr&&Ii,!Sr&&e.createElement(le.a,{prefixCls:Ut,popupClassName:I()("".concat(Ut,"-popup"),je),getPopupContainer:$e,builtinPlacements:Rr,popupPlacement:Se,popupVisible:pt,popupAlign:Re,popup:Ii,action:Ye?[]:[Ve],mouseEnterDelay:qe,mouseLeaveDelay:ut,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:xt},Ai))}}]),rr}(e.Component);at.defaultProps={onMouseEnter:me,onMouseLeave:me,onTitleMouseEnter:me,onTitleMouseLeave:me,onTitleClick:me,manualRef:me,mode:"vertical",title:""};var Ct=Object(p.b)(function(it,st){var rr=it.openKeys,Bt=it.activeKey,_t=it.selectedKeys,Ht=st.eventKey,pt=st.subMenuKey;return{isOpen:rr.indexOf(Ht)>-1,active:Bt[pt]===Ht,selectedKeys:_t}})(at);Ct.isSubMenu=!0;var Tt=Ct,Ot="menuitem-overflowed",Nt=.5,Be=function(it){Object(u.a)(rr,it);var st=Object(h.a)(rr);function rr(){var Bt;return Object(t.a)(this,rr),Bt=st.apply(this,arguments),Bt.resizeObserver=null,Bt.mutationObserver=null,Bt.originalTotalWidth=0,Bt.overflowedItems=[],Bt.menuItemSizes=[],Bt.cancelFrameId=null,Bt.state={lastVisibleIndex:void 0},Bt.getMenuItemNodes=function(){var _t=Bt.props.prefixCls,Ht=Te.findDOMNode(Object(l.a)(Bt));return Ht?[].slice.call(Ht.children).filter(function(pt){return pt.className.split(" ").indexOf("".concat(_t,"-overflowed-submenu"))<0}):[]},Bt.getOverflowedSubMenuItem=function(_t,Ht,pt){var Ut=Bt.props,Sr=Ut.overflowedIndicator,mr=Ut.level,vr=Ut.mode,Jr=Ut.prefixCls,$r=Ut.theme;if(mr!==1||vr!=="horizontal")return null;var Pn=Bt.props.children[0],Dn=Pn.props,Zn=Dn.children,li=Dn.title,Ai=Dn.style,Ii=Object(de.a)(Dn,["children","title","style"]),$e=Object(s.a)({},Ai),Se="".concat(_t,"-overflowed-indicator"),Re="".concat(_t,"-overflowed-indicator");Ht.length===0&&pt!==!0?$e=Object(s.a)(Object(s.a)({},$e),{},{display:"none"}):pt&&($e=Object(s.a)(Object(s.a)({},$e),{},{visibility:"hidden",position:"absolute"}),Se="".concat(Se,"-placeholder"),Re="".concat(Re,"-placeholder"));var je=$r?"".concat(Jr,"-").concat($r):"",Ye={};return se.forEach(function(Ve){Ii[Ve]!==void 0&&(Ye[Ve]=Ii[Ve])}),e.createElement(Tt,Object.assign({title:Sr,className:"".concat(Jr,"-overflowed-submenu"),popupClassName:je},Ye,{key:Se,eventKey:Re,disabled:!1,style:$e}),Ht)},Bt.setChildrenWidthAndResize=function(){if(Bt.props.mode!=="horizontal")return;var _t=Te.findDOMNode(Object(l.a)(Bt));if(!_t)return;var Ht=_t.children;if(!Ht||Ht.length===0)return;var pt=_t.children[Ht.length-1];X(pt,"display","inline-block");var Ut=Bt.getMenuItemNodes(),Sr=Ut.filter(function(mr){return mr.className.split(" ").indexOf(Ot)>=0});Sr.forEach(function(mr){X(mr,"display","inline-block")}),Bt.menuItemSizes=Ut.map(function(mr){return Y(mr,!0)}),Sr.forEach(function(mr){X(mr,"display","none")}),Bt.overflowedIndicatorWidth=Y(_t.children[_t.children.length-1],!0),Bt.originalTotalWidth=Bt.menuItemSizes.reduce(function(mr,vr){return mr+vr},0),Bt.handleResize(),X(pt,"display","none")},Bt.handleResize=function(){if(Bt.props.mode!=="horizontal")return;var _t=Te.findDOMNode(Object(l.a)(Bt));if(!_t)return;var Ht=Y(_t);Bt.overflowedItems=[];var pt=0,Ut;Bt.originalTotalWidth>Ht+Nt&&(Ut=-1,Bt.menuItemSizes.forEach(function(Sr){pt+=Sr,pt+Bt.overflowedIndicatorWidth<=Ht&&(Ut+=1)})),Bt.setState({lastVisibleIndex:Ut})},Bt}return Object(a.a)(rr,[{key:"componentDidMount",value:function(){var _t=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Ht=Te.findDOMNode(this);if(!Ht)return;this.resizeObserver=new xe.default(function(pt){pt.forEach(function(){var Ut=_t.cancelFrameId;cancelAnimationFrame(Ut),_t.cancelFrameId=requestAnimationFrame(_t.setChildrenWidthAndResize)})}),[].slice.call(Ht.children).concat(Ht).forEach(function(pt){_t.resizeObserver.observe(pt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){_t.resizeObserver.disconnect(),[].slice.call(Ht.children).concat(Ht).forEach(function(pt){_t.resizeObserver.observe(pt)}),_t.setChildrenWidthAndResize()}),this.mutationObserver.observe(Ht,{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(_t){var Ht=this,pt=this.state.lastVisibleIndex;return(_t||[]).reduce(function(Ut,Sr,mr){var vr=Sr;if(Ht.props.mode==="horizontal"){var Jr=Ht.getOverflowedSubMenuItem(Sr.props.eventKey,[]);pt!==void 0&&Ht.props.className.indexOf("".concat(Ht.props.prefixCls,"-root"))!==-1&&(mr>pt&&(vr=e.cloneElement(Sr,{style:{display:"none"},eventKey:"".concat(Sr.props.eventKey,"-hidden"),className:"".concat(Ot)})),mr===pt+1&&(Ht.overflowedItems=_t.slice(pt+1).map(function(Pn){return e.cloneElement(Pn,{key:Pn.props.eventKey,mode:"vertical-left"})}),Jr=Ht.getOverflowedSubMenuItem(Sr.props.eventKey,Ht.overflowedItems)));var $r=[].concat(Object(ge.a)(Ut),[Jr,vr]);return mr===_t.length-1&&$r.push(Ht.getOverflowedSubMenuItem(Sr.props.eventKey,[],!0)),$r}return[].concat(Object(ge.a)(Ut),[vr])},[])}},{key:"render",value:function(){var _t=this.props,Ht=_t.visible,pt=_t.prefixCls,Ut=_t.overflowedIndicator,Sr=_t.mode,mr=_t.level,vr=_t.tag,Jr=_t.children,$r=_t.theme,Pn=Object(de.a)(_t,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Dn=vr;return e.createElement(Dn,Object.assign({},Pn),this.renderChildren(Jr))}}]),rr}(e.Component);Be.defaultProps={tag:"div",className:""};var ne=Be;function G(it){return it.length?it.every(function(st){return!!st.props.disabled}):!0}function Pe(it,st,rr){var Bt=it.getState();it.setState({activeKey:Object(s.a)(Object(s.a)({},Bt.activeKey),{},Object(y.a)({},st,rr))})}function Ne(it){return it.eventKey||"0-menu-"}function q(it,st){var rr=st,Bt=it.children,_t=it.eventKey;if(rr){var Ht;if(te(Bt,function(pt,Ut){pt&&pt.props&&!pt.props.disabled&&rr===Ue(pt,_t,Ut)&&(Ht=!0)}),Ht)return rr}return rr=null,it.defaultActiveFirst&&te(Bt,function(pt,Ut){!rr&&pt&&!pt.props.disabled&&(rr=Ue(pt,_t,Ut))}),rr}function ht(it){if(it){var st=this.instanceArray.indexOf(it);st!==-1?this.instanceArray[st]=it:this.instanceArray.push(it)}}var Pt=function(it){Object(u.a)(rr,it);var st=Object(h.a)(rr);function rr(Bt){var _t;return Object(t.a)(this,rr),_t=st.call(this,Bt),_t.onKeyDown=function(Ht,pt){var Ut=Ht.keyCode,Sr;if(_t.getFlatInstanceArray().forEach(function(vr){vr&&vr.props.active&&vr.onKeyDown&&(Sr=vr.onKeyDown(Ht))}),Sr)return 1;var mr=null;return(Ut===E.a.UP||Ut===E.a.DOWN)&&(mr=_t.step(Ut===E.a.UP?-1:1)),mr?(Ht.preventDefault(),Pe(_t.props.store,Ne(_t.props),mr.props.eventKey),typeof pt=="function"&&pt(mr),1):void 0},_t.onItemHover=function(Ht){var pt=Ht.key,Ut=Ht.hover;Pe(_t.props.store,Ne(_t.props),Ut?pt:null)},_t.onDeselect=function(Ht){_t.props.onDeselect(Ht)},_t.onSelect=function(Ht){_t.props.onSelect(Ht)},_t.onClick=function(Ht){_t.props.onClick(Ht)},_t.onOpenChange=function(Ht){_t.props.onOpenChange(Ht)},_t.onDestroy=function(Ht){_t.props.onDestroy(Ht)},_t.getFlatInstanceArray=function(){return _t.instanceArray},_t.step=function(Ht){var pt=_t.getFlatInstanceArray(),Ut=_t.props.store.getState().activeKey[Ne(_t.props)],Sr=pt.length;if(!Sr)return null;Ht<0&&(pt=pt.concat().reverse());var mr=-1;if(pt.every(function(Pn,Dn){return Pn&&Pn.props.eventKey===Ut?(mr=Dn,!1):!0}),!_t.props.defaultActiveFirst&&mr!==-1&&G(pt.slice(mr,Sr-1)))return;var vr=(mr+1)%Sr,Jr=vr;do{var $r=pt[Jr];if(!$r||$r.props.disabled)Jr=(Jr+1)%Sr;else return $r}while(Jr!==vr);return null},_t.renderCommonMenuItem=function(Ht,pt,Ut){var Sr=_t.props.store.getState(),mr=Object(l.a)(_t),vr=mr.props,Jr=Ue(Ht,vr.eventKey,pt),$r=Ht.props;if(!$r||typeof Ht.type=="string")return Ht;var Pn=Jr===Sr.activeKey,Dn=Object(s.a)(Object(s.a)({mode:$r.mode||vr.mode,level:vr.level,inlineIndent:vr.inlineIndent,renderMenuItem:_t.renderMenuItem,rootPrefixCls:vr.prefixCls,index:pt,parentMenu:vr.parentMenu,manualRef:$r.disabled?void 0:Object(T.a)(Ht.ref,ht.bind(Object(l.a)(_t))),eventKey:Jr,active:!$r.disabled&&Pn,multiple:vr.multiple,onClick:function(li){($r.onClick||me)(li),_t.onClick(li)},onItemHover:_t.onItemHover,motion:vr.motion,subMenuOpenDelay:vr.subMenuOpenDelay,subMenuCloseDelay:vr.subMenuCloseDelay,forceSubMenuRender:vr.forceSubMenuRender,onOpenChange:_t.onOpenChange,onDeselect:_t.onDeselect,onSelect:_t.onSelect,builtinPlacements:vr.builtinPlacements,itemIcon:$r.itemIcon||_t.props.itemIcon,expandIcon:$r.expandIcon||_t.props.expandIcon},Ut),{},{direction:vr.direction});return(vr.mode==="inline"||Q())&&(Dn.triggerSubMenuAction="click"),e.cloneElement(Ht,Dn)},_t.renderMenuItem=function(Ht,pt,Ut){if(!Ht)return null;var Sr=_t.props.store.getState(),mr={openKeys:Sr.openKeys,selectedKeys:Sr.selectedKeys,triggerSubMenuAction:_t.props.triggerSubMenuAction,subMenuKey:Ut};return _t.renderCommonMenuItem(Ht,pt,mr)},Bt.store.setState({activeKey:Object(s.a)(Object(s.a)({},Bt.store.getState().activeKey),{},Object(y.a)({},Bt.eventKey,q(Bt,Bt.activeKey)))}),_t.instanceArray=[],_t}return Object(a.a)(rr,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(_t){return this.props.visible||_t.visible||this.props.className!==_t.className||!S()(this.props.style,_t.style)}},{key:"componentDidUpdate",value:function(_t){var Ht=this.props,pt="activeKey"in Ht?Ht.activeKey:Ht.store.getState().activeKey[Ne(Ht)],Ut=q(Ht,pt);if(Ut!==pt)Pe(Ht.store,Ne(Ht),Ut);else if("activeKey"in _t){var Sr=q(_t,_t.activeKey);Ut!==Sr&&Pe(Ht.store,Ne(Ht),Ut)}}},{key:"render",value:function(){var _t=this,Ht=Object(v.a)({},this.props);this.instanceArray=[];var pt=I()(Ht.prefixCls,Ht.className,"".concat(Ht.prefixCls,"-").concat(Ht.mode)),Ut={className:pt,role:Ht.role||"menu"};Ht.id&&(Ut.id=Ht.id),Ht.focusable&&(Ut.tabIndex=0,Ut.onKeyDown=this.onKeyDown);var Sr=Ht.prefixCls,mr=Ht.eventKey,vr=Ht.visible,Jr=Ht.level,$r=Ht.mode,Pn=Ht.overflowedIndicator,Dn=Ht.theme;return se.forEach(function(Zn){return delete Ht[Zn]}),delete Ht.onClick,e.createElement(ne,Object.assign({},Ht,{prefixCls:Sr,mode:$r,tag:"ul",level:Jr,theme:Dn,visible:vr,overflowedIndicator:Pn},Ut),e.Children.map(Ht.children,function(Zn,li){return _t.renderMenuItem(Zn,li,mr||"0-menu-")}))}}]),rr}(e.Component);Pt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:me};var ct=Object(p.b)()(Pt),Gt=ct,or=d("Kwbf");function Zr(it,st,rr){var Bt=it.prefixCls,_t=it.motion,Ht=it.defaultMotions,pt=Ht===void 0?{}:Ht,Ut=it.openAnimation,Sr=it.openTransitionName,mr=st.switchingModeFromInline;if(_t)return _t;if(Object(L.a)(Ut)==="object"&&Ut)Object(or.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Ut=="string")return{motionName:"".concat(Bt,"-open-").concat(Ut)};if(Sr)return{motionName:Sr};var vr=pt[rr];return vr||(mr?null:pt.other)}var ir=function(it){Object(u.a)(rr,it);var st=Object(h.a)(rr);function rr(Bt){var _t;Object(t.a)(this,rr),_t=st.call(this,Bt),_t.inlineOpenKeys=[],_t.onSelect=function(Ut){var Sr=Object(l.a)(_t),mr=Sr.props;if(mr.selectable){var vr=_t.store.getState(),Jr=vr.selectedKeys,$r=Ut.key;mr.multiple?Jr=Jr.concat([$r]):Jr=[$r],"selectedKeys"in mr||_t.store.setState({selectedKeys:Jr}),mr.onSelect(Object(s.a)(Object(s.a)({},Ut),{},{selectedKeys:Jr}))}},_t.onClick=function(Ut){var Sr=_t.getRealMenuMode(),mr=Object(l.a)(_t),vr=mr.store,Jr=mr.props.onOpenChange;Sr!=="inline"&&!("openKeys"in _t.props)&&(vr.setState({openKeys:[]}),Jr([])),_t.props.onClick(Ut)},_t.onKeyDown=function(Ut,Sr){_t.innerMenu.getWrappedInstance().onKeyDown(Ut,Sr)},_t.onOpenChange=function(Ut){var Sr=Object(l.a)(_t),mr=Sr.props,vr=_t.store.getState().openKeys.concat(),Jr=!1,$r=function(Dn){var Zn=!1;if(Dn.open)Zn=vr.indexOf(Dn.key)===-1,Zn&&vr.push(Dn.key);else{var li=vr.indexOf(Dn.key);Zn=li!==-1,Zn&&vr.splice(li,1)}Jr=Jr||Zn};Array.isArray(Ut)?Ut.forEach($r):$r(Ut),Jr&&("openKeys"in _t.props||_t.store.setState({openKeys:vr}),mr.onOpenChange(vr))},_t.onDeselect=function(Ut){var Sr=Object(l.a)(_t),mr=Sr.props;if(mr.selectable){var vr=_t.store.getState().selectedKeys.concat(),Jr=Ut.key,$r=vr.indexOf(Jr);$r!==-1&&vr.splice($r,1),"selectedKeys"in mr||_t.store.setState({selectedKeys:vr}),mr.onDeselect(Object(s.a)(Object(s.a)({},Ut),{},{selectedKeys:vr}))}},_t.onMouseEnter=function(Ut){_t.restoreModeVerticalFromInline();var Sr=_t.props.onMouseEnter;Sr&&Sr(Ut)},_t.onTransitionEnd=function(Ut){var Sr=Ut.propertyName==="width"&&Ut.target===Ut.currentTarget,mr=Ut.target.className,vr=Object.prototype.toString.call(mr)==="[object SVGAnimatedString]"?mr.animVal:mr,Jr=Ut.propertyName==="font-size"&&vr.indexOf("anticon")>=0;(Sr||Jr)&&_t.restoreModeVerticalFromInline()},_t.setInnerMenu=function(Ut){_t.innerMenu=Ut},_t.isRootMenu=!0;var Ht=Bt.defaultSelectedKeys,pt=Bt.defaultOpenKeys;return"selectedKeys"in Bt&&(Ht=Bt.selectedKeys||[]),"openKeys"in Bt&&(pt=Bt.openKeys||[]),_t.store=Object(p.c)({selectedKeys:Ht,openKeys:pt,activeKey:{"0-menu-":q(Bt,Bt.activeKey)}}),_t.state={switchingModeFromInline:!1},_t}return Object(a.a)(rr,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(_t){this.updateOpentKeysWhenSwitchMode(_t),this.updateMiniStore();var Ht=this.props,pt=Ht.siderCollapsed,Ut=Ht.inlineCollapsed,Sr=Ht.onOpenChange;(!_t.inlineCollapsed&&Ut||!_t.siderCollapsed&&pt)&&Sr([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(_t){var Ht=this.props,pt=this.store,Ut=this.inlineOpenKeys,Sr=pt.getState(),mr={};_t.mode==="inline"&&Ht.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in Ht||((Ht.inlineCollapsed&&!_t.inlineCollapsed||Ht.siderCollapsed&&!_t.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=Sr.openKeys.concat(),mr.openKeys=[]),(!Ht.inlineCollapsed&&_t.inlineCollapsed||!Ht.siderCollapsed&&_t.siderCollapsed)&&(mr.openKeys=Ut,this.inlineOpenKeys=[])),Object.keys(mr).length&&pt.setState(mr)}},{key:"updateMenuDisplay",value:function(){var _t=this.props.collapsedWidth,Ht=this.store,pt=this.prevOpenKeys,Ut=this.getInlineCollapsed()&&(_t===0||_t==="0"||_t==="0px");Ut?(this.prevOpenKeys=Ht.getState().openKeys.concat(),this.store.setState({openKeys:[]})):pt&&(this.store.setState({openKeys:pt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var _t=this.props.mode,Ht=this.state.switchingModeFromInline,pt=this.getInlineCollapsed();return Ht&&pt?"inline":pt?"vertical":_t}},{key:"getInlineCollapsed",value:function(){var _t=this.props,Ht=_t.inlineCollapsed,pt=_t.siderCollapsed;return pt!==void 0?pt:Ht}},{key:"restoreModeVerticalFromInline",value:function(){var _t=this.state.switchingModeFromInline;_t&&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 _t=Object(s.a)({},Object(m.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Ht=this.getRealMenuMode();return _t.className+=" ".concat(_t.prefixCls,"-root"),_t.direction==="rtl"&&(_t.className+=" ".concat(_t.prefixCls,"-rtl")),_t=Object(s.a)(Object(s.a)({},_t),{},{mode:Ht,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Zr(this.props,this.state,Ht)}),delete _t.openAnimation,delete _t.openTransitionName,e.createElement(p.a,{store:this.store},e.createElement(Gt,Object.assign({},_t,{ref:this.setInnerMenu}),this.props.children))}}]),rr}(e.Component);ir.defaultProps={selectable:!0,onClick:me,onSelect:me,onOpenChange:me,onDeselect:me,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:e.createElement("span",null,"\xB7\xB7\xB7")};var dr=ir,er=function(it){Object(u.a)(rr,it);var st=Object(h.a)(rr);function rr(){var Bt;return Object(t.a)(this,rr),Bt=st.apply(this,arguments),Bt.onKeyDown=function(_t){var Ht=_t.keyCode;return Ht===E.a.ENTER?(Bt.onClick(_t),!0):void 0},Bt.onMouseLeave=function(_t){var Ht=Bt.props,pt=Ht.eventKey,Ut=Ht.onItemHover,Sr=Ht.onMouseLeave;Ut({key:pt,hover:!1}),Sr({key:pt,domEvent:_t})},Bt.onMouseEnter=function(_t){var Ht=Bt.props,pt=Ht.eventKey,Ut=Ht.onItemHover,Sr=Ht.onMouseEnter;Ut({key:pt,hover:!0}),Sr({key:pt,domEvent:_t})},Bt.onClick=function(_t){var Ht=Bt.props,pt=Ht.eventKey,Ut=Ht.multiple,Sr=Ht.onClick,mr=Ht.onSelect,vr=Ht.onDeselect,Jr=Ht.isSelected,$r={key:pt,keyPath:[pt],item:Object(l.a)(Bt),domEvent:_t};Sr($r),Ut?Jr?vr($r):mr($r):Jr||mr($r)},Bt.saveNode=function(_t){Bt.node=_t},Bt}return Object(a.a)(rr,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var _t=this.props;_t.onDestroy&&_t.onDestroy(_t.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 _t,Ht=Object(s.a)({},this.props),pt=I()(this.getPrefixCls(),Ht.className,(_t={},Object(y.a)(_t,this.getActiveClassName(),!Ht.disabled&&Ht.active),Object(y.a)(_t,this.getSelectedClassName(),Ht.isSelected),Object(y.a)(_t,this.getDisabledClassName(),Ht.disabled),_t)),Ut=Object(s.a)(Object(s.a)({},Ht.attribute),{},{title:typeof Ht.title=="string"?Ht.title:void 0,className:pt,role:Ht.role||"menuitem","aria-disabled":Ht.disabled});Ht.role==="option"?Ut=Object(s.a)(Object(s.a)({},Ut),{},{role:"option","aria-selected":Ht.isSelected}):(Ht.role===null||Ht.role==="none")&&(Ut.role="none");var Sr={onClick:Ht.disabled?null:this.onClick,onMouseLeave:Ht.disabled?null:this.onMouseLeave,onMouseEnter:Ht.disabled?null:this.onMouseEnter},mr=Object(s.a)({},Ht.style);Ht.mode==="inline"&&(Ht.direction==="rtl"?mr.paddingRight=Ht.inlineIndent*Ht.level:mr.paddingLeft=Ht.inlineIndent*Ht.level),se.forEach(function(Jr){return delete Ht[Jr]}),delete Ht.direction;var vr=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(vr=e.createElement(this.props.itemIcon,this.props)),e.createElement("li",Object.assign({},Object(m.default)(Ht,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Ut,Sr,{style:mr,ref:this.saveNode}),Ht.children,vr)}}]),rr}(e.Component);er.isMenuItem=!0,er.defaultProps={onSelect:me,onMouseEnter:me,onMouseLeave:me,manualRef:me};var Kt=Object(p.b)(function(it,st){var rr=it.activeKey,Bt=it.selectedKeys,_t=st.eventKey,Ht=st.subMenuKey;return{active:rr[Ht]===_t,isSelected:Bt.indexOf(_t)!==-1}})(er),dt=Kt,Hr=function(it){Object(u.a)(rr,it);var st=Object(h.a)(rr);function rr(){var Bt;return Object(t.a)(this,rr),Bt=st.apply(this,arguments),Bt.renderInnerMenuItem=function(_t){var Ht=Bt.props,pt=Ht.renderMenuItem,Ut=Ht.index;return pt(_t,Ut,Bt.props.subMenuKey)},Bt}return Object(a.a)(rr,[{key:"render",value:function(){var _t=Object(v.a)({},this.props),Ht=_t.className,pt=Ht===void 0?"":Ht,Ut=_t.rootPrefixCls,Sr="".concat(Ut,"-item-group-title"),mr="".concat(Ut,"-item-group-list"),vr=_t.title,Jr=_t.children;return se.forEach(function($r){return delete _t[$r]}),delete _t.onClick,delete _t.direction,e.createElement("li",Object.assign({},_t,{className:"".concat(pt," ").concat(Ut,"-item-group")}),e.createElement("div",{className:Sr,title:typeof vr=="string"?vr:void 0},vr),e.createElement("ul",{className:mr},e.Children.map(Jr,this.renderInnerMenuItem)))}}]),rr}(e.Component);Hr.isMenuItemGroup=!0,Hr.defaultProps={disabled:!0};var fn=Hr,Nn=function(st){var rr=st.className,Bt=st.rootPrefixCls,_t=st.style;return e.createElement("li",{className:"".concat(rr," ").concat(Bt,"-item-divider"),style:_t})};Nn.defaultProps={disabled:!0,className:"",style:{}};var Vn=Nn,gi=dr,bn=Object(e.createContext)({inlineCollapsed:!1}),Mn=bn,jt=d("0n0R"),St=function(it){r()(rr,it);var st=n()(rr);function rr(){return g()(this,rr),st.apply(this,arguments)}return c()(rr,[{key:"renderTitle",value:function(_t){var Ht=this.props,pt=Ht.icon,Ut=Ht.title,Sr=Ht.level,mr=Ht.rootPrefixCls;if(!pt)return _t&&Sr===1&&Ut&&typeof Ut=="string"?e.createElement("div",{className:"".concat(mr,"-inline-collapsed-noicon")},Ut.charAt(0)):Ut;var vr=Object(jt.b)(Ut)&&Ut.type==="span";return e.createElement(e.Fragment,null,pt,vr?Ut:e.createElement("span",null,Ut))}},{key:"render",value:function(){var _t=this,Ht=this.props,pt=Ht.rootPrefixCls,Ut=Ht.popupClassName;return e.createElement(Mn.Consumer,null,function(Sr){var mr=Sr.inlineCollapsed,vr=Sr.antdMenuTheme;return e.createElement(Tt,x()({},Object(m.default)(_t.props,["icon"]),{title:_t.renderTitle(mr),popupClassName:I()(pt,"".concat(pt,"-").concat(vr),Ut)}))})}}]),rr}(e.Component);St.contextType=Mn,St.isSubMenu=1;var _e=St,Oe=d("Zm9Q"),Le=d("3S7+"),Ze=d("ZX9x"),nt=function(it,st){var rr={};for(var Bt in it)Object.prototype.hasOwnProperty.call(it,Bt)&&st.indexOf(Bt)<0&&(rr[Bt]=it[Bt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,Bt=Object.getOwnPropertySymbols(it);_t1&&i&&i.length>1){var e=C(i)/C(n);!isFinite(e)&&(e=1),o.pinchScale=e;var s=A(i);return o.pinchX=s[0],o.pinchY=s[1],{type:"pinch",target:c[0].target,event:o}}}},g=x;H.exports=g},C0tN:function(H,P,d){d("0o9m"),d("8Uz6"),d("Ducp"),d("6/nd")},CBdT:function(H,P,d){var O=d("ProS");d("8waO"),d("AEZ6"),d("YNf1");var x=d("q3GZ");O.registerVisual(x)},CF2D:function(H,P,d){var O=d("ProS");d("vZI5"),d("GeKi");var x=d("6r85"),C=d("TJmX"),A=d("CbHG");O.registerPreprocessor(x),O.registerVisual(C),O.registerLayout(A)},CFYs:function(H,P,d){"use strict";var O=d("lSNA"),x=d.n(O),C=d("pVnL"),A=d.n(C),b=d("lwsE"),g=d.n(b),f=d("W8MJ"),c=d.n(f),o=d("PJYZ"),r=d.n(o),i=d("7W2i"),n=d.n(i),e=d("LQ03"),s=d.n(e),t=d("q1tI"),a=d.n(t),l=d("TSYQ"),u=d.n(l),h=d("BGR+"),p=d("V/uB"),m=d.n(p),v=d("NAnI"),y=d.n(v),E=d("J84W"),T=d.n(E),w=d("kbBi"),S=d.n(w),_=d("H84U"),I=d("CWQg"),L=d("uaoM"),N=d("Zss7"),D=d.n(N),R=2,B=.16,M=.05,U=.05,F=.15,j=5,W=4,V=[{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 z(ft,Dt,Ar){var Mr;return Math.round(ft.h)>=60&&Math.round(ft.h)<=240?Mr=Ar?Math.round(ft.h)-R*Dt:Math.round(ft.h)+R*Dt:Mr=Ar?Math.round(ft.h)+R*Dt:Math.round(ft.h)-R*Dt,Mr<0?Mr+=360:Mr>=360&&(Mr-=360),Mr}function J(ft,Dt,Ar){if(ft.h===0&&ft.s===0)return ft.s;var Mr;return Ar?Mr=ft.s-B*Dt:Dt===W?Mr=ft.s+B:Mr=ft.s+M*Dt,Mr>1&&(Mr=1),Ar&&Dt===j&&Mr>.1&&(Mr=.1),Mr<.06&&(Mr=.06),Number(Mr.toFixed(2))}function $(ft,Dt,Ar){var Mr;return Ar?Mr=ft.v+U*Dt:Mr=ft.v-F*Dt,Mr>1&&(Mr=1),Number(Mr.toFixed(2))}function ce(ft){for(var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ar=[],Mr=D()(ft),un=j;un>0;un-=1){var Rt=Mr.toHsv(),it=D()({h:z(Rt,un,!0),s:J(Rt,un,!0),v:$(Rt,un,!0)}).toHexString();Ar.push(it)}Ar.push(Mr.toHexString());for(var st=1;st<=W;st+=1){var rr=Mr.toHsv(),Bt=D()({h:z(rr,st),s:J(rr,st),v:$(rr,st)}).toHexString();Ar.push(Bt)}return Dt.theme==="dark"?V.map(function(_t){var Ht=_t.index,pt=_t.opacity,Ut=D.a.mix(Dt.backgroundColor||"#141414",Ar[Ht],pt*100).toHexString();return Ut}):Ar}var ae={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"},Ae={},Ie={};Object.keys(ae).forEach(function(ft){Ae[ft]=ce(ae[ft]),Ae[ft].primary=Ae[ft][5],Ie[ft]=ce(ae[ft],{theme:"dark",backgroundColor:"#141414"}),Ie[ft].primary=Ie[ft][5]});var De=Ae.red,Ke=Ae.volcano,me=Ae.gold,Ue=Ae.orange,oe=Ae.yellow,te=Ae.lime,Qe=Ae.green,se=Ae.cyan,Y=Ae.blue,X=Ae.geekblue,Q=Ae.purple,ge=Ae.magenta,de=Ae.grey;function Te(ft){return!ft||ft<0?0:ft>100?100:ft}function xe(ft){var Dt=ft.success,Ar=ft.successPercent,Mr=Ar;return Dt&&"progress"in Dt&&(Object(L.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Mr=Dt.progress),Dt&&"percent"in Dt&&(Mr=Dt.percent),Mr}var le=function(ft,Dt){var Ar={};for(var Mr in ft)Object.prototype.hasOwnProperty.call(ft,Mr)&&Dt.indexOf(Mr)<0&&(Ar[Mr]=ft[Mr]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Mr=Object.getOwnPropertySymbols(ft);unft.length)&&(Dt=ft.length);for(var Ar=0,Mr=new Array(Dt);Ar=0)continue;if(!Object.prototype.propertyIsEnumerable.call(ft,Mr))continue;Ar[Mr]=ft[Mr]}}return Ar}function ne(ft,Dt){if(ft==null)return{};var Ar={},Mr=Object.keys(ft),un,Rt;for(Rt=0;Rt=0)continue;Ar[un]=ft[un]}return Ar}var G=function(Dt){var Ar=Dt.className,Mr=Dt.percent,un=Dt.prefixCls,Rt=Dt.strokeColor,it=Dt.strokeLinecap,st=Dt.strokeWidth,rr=Dt.style,Bt=Dt.trailColor,_t=Dt.trailWidth,Ht=Dt.transition,pt=Be(Dt,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete pt.gapPosition;var Ut=Array.isArray(Mr)?Mr:[Mr],Sr=Array.isArray(Rt)?Rt:[Rt],mr=Ce(Ut),vr=ze(mr,1),Jr=vr[0],$r=st/2,Pn=100-st/2,Dn="M ".concat(it==="round"?$r:0,",").concat($r,` L `).concat(it==="round"?Pn:100,",").concat($r),Zn="0 0 100 ".concat(st),li=0;return a.a.createElement("svg",et({className:u()("".concat(un,"-line"),Ar),viewBox:Zn,preserveAspectRatio:"none",style:rr},pt),a.a.createElement("path",{className:"".concat(un,"-line-trail"),d:Dn,strokeLinecap:it,stroke:Bt,strokeWidth:_t||st,fillOpacity:"0"}),Ut.map(function(Ai,Ii){var $e={strokeDasharray:"".concat(Ai,"px, 100px"),strokeDashoffset:"-".concat(li,"px"),transition:Ht||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Se=Sr[Ii]||Sr[Sr.length-1];return li+=Ai,a.a.createElement("path",{key:Ii,className:"".concat(un,"-line-path"),d:Dn,strokeLinecap:it,stroke:Se,strokeWidth:st,fillOpacity:"0",ref:Jr[Ii],style:$e})}))};G.defaultProps=Je;var Pe=G;function Ne(){return Ne=Object.assign||function(ft){for(var Dt=1;Dtft.length)&&(Dt=ft.length);for(var Ar=0,Mr=new Array(Dt);Ar=0)continue;if(!Object.prototype.propertyIsEnumerable.call(ft,Mr))continue;Ar[Mr]=ft[Mr]}}return Ar}function ir(ft,Dt){if(ft==null)return{};var Ar={},Mr=Object.keys(ft),un,Rt;for(Rt=0;Rt=0)continue;Ar[un]=ft[un]}return Ar}var dr=0;function er(ft){return+ft.replace("%","")}function Kt(ft){return Array.isArray(ft)?ft:[ft]}function dt(ft,Dt,Ar,Mr){var un=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Rt=arguments.length>5?arguments[5]:void 0,it=50-Mr/2,st=0,rr=-it,Bt=0,_t=-2*it;switch(Rt){case"left":st=-it,rr=0,Bt=2*it,_t=0;break;case"right":st=it,rr=0,Bt=-2*it,_t=0;break;case"bottom":rr=it,_t=2*it;break;default:}var Ht="M 50,50 m ".concat(st,",").concat(rr,` a `).concat(it,",").concat(it," 0 1 1 ").concat(Bt,",").concat(-_t,` a `).concat(it,",").concat(it," 0 1 1 ").concat(-Bt,",").concat(_t),pt=Math.PI*2*it,Ut={stroke:Ar,strokeDasharray:"".concat(Dt/100*(pt-un),"px ").concat(pt,"px"),strokeDashoffset:"-".concat(un/2+ft/100*(pt-un),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Ht,pathStyle:Ut}}var Hr=function(Dt){var Ar=Dt.prefixCls,Mr=Dt.strokeWidth,un=Dt.trailWidth,Rt=Dt.gapDegree,it=Dt.gapPosition,st=Dt.trailColor,rr=Dt.strokeLinecap,Bt=Dt.style,_t=Dt.className,Ht=Dt.strokeColor,pt=Dt.percent,Ut=Zr(Dt,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),Sr=Object(t.useMemo)(function(){return dr+=1,dr},[]),mr=dt(0,100,st,Mr,Rt,it),vr=mr.pathString,Jr=mr.pathStyle,$r=Kt(pt),Pn=Kt(Ht),Dn=Pn.find(function($e){return Object.prototype.toString.call($e)==="[object Object]"}),Zn=Ce($r),li=q(Zn,1),Ai=li[0],Ii=function(){var Se=0;return $r.map(function(Re,je){var Ye=Pn[je]||Pn[Pn.length-1],Ve=Object.prototype.toString.call(Ye)==="[object Object]"?"url(#".concat(Ar,"-gradient-").concat(Sr,")"):"",qe=dt(Se,Re,Ye,Mr,Rt,it);return Se+=Re,a.a.createElement("path",{key:je,className:"".concat(Ar,"-circle-path"),d:qe.pathString,stroke:Ve,strokeLinecap:rr,strokeWidth:Mr,opacity:Re===0?0:1,fillOpacity:"0",style:qe.pathStyle,ref:Ai[je]})})};return a.a.createElement("svg",Ne({className:u()("".concat(Ar,"-circle"),_t),viewBox:"0 0 100 100",style:Bt},Ut),Dn&&a.a.createElement("defs",null,a.a.createElement("linearGradient",{id:"".concat(Ar,"-gradient-").concat(Sr),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Dn).sort(function($e,Se){return er($e)-er(Se)}).map(function($e,Se){return a.a.createElement("stop",{key:Se,offset:$e,stopColor:Dn[$e]})}))),a.a.createElement("path",{className:"".concat(Ar,"-circle-trail"),d:vr,stroke:st,strokeLinecap:rr,strokeWidth:un||Mr,fillOpacity:"0",style:Jr}),Ii().reverse())};Hr.defaultProps=Je;var fn=Hr,Nn={Line:Pe,Circle:fn};function Vn(ft){var Dt=ft.percent,Ar=ft.success,Mr=ft.successPercent,un=Te(Dt),Rt=xe({success:Ar,successPercent:Mr});return Rt?[Te(Rt),Te(un-Te(Rt))]:un}function gi(ft){var Dt=ft.success,Ar=ft.strokeColor,Mr=ft.successPercent,un=Ar||null,Rt=xe({success:Dt,successPercent:Mr});return Rt?[ae.green,un]:un}var bn=function(Dt){var Ar=Dt.prefixCls,Mr=Dt.width,un=Dt.strokeWidth,Rt=Dt.trailColor,it=Dt.strokeLinecap,st=Dt.gapPosition,rr=Dt.gapDegree,Bt=Dt.type,_t=Dt.children,Ht=Mr||120,pt={width:Ht,height:Ht,fontSize:Ht*.15+6},Ut=un||6,Sr=st||Bt==="dashboard"&&"bottom"||"top",mr=function(){return rr||rr===0?rr:Bt==="dashboard"?75:void 0},vr=gi(Dt),Jr=Object.prototype.toString.call(vr)==="[object Object]",$r=u()("".concat(Ar,"-inner"),x()({},"".concat(Ar,"-circle-gradient"),Jr));return t.createElement("div",{className:$r,style:pt},t.createElement(fn,{percent:Vn(Dt),strokeWidth:Ut,trailWidth:Ut,strokeColor:vr,strokeLinecap:it,trailColor:Rt,prefixCls:Ar,gapDegree:mr(),gapPosition:Sr}),_t)},Mn=bn,jt=function(Dt){for(var Ar=Dt.size,Mr=Dt.steps,un=Dt.percent,Rt=un===void 0?0:un,it=Dt.strokeWidth,st=it===void 0?8:it,rr=Dt.strokeColor,Bt=Dt.trailColor,_t=Dt.prefixCls,Ht=Dt.children,pt=Math.floor(Mr*(Rt/100)),Ut=Ar==="small"?2:14,Sr=[],mr=0;mr=100?"success":un||"normal"}},{key:"renderProcessInfo",value:function(un,Rt){var it=this.props,st=it.showInfo,rr=it.format,Bt=it.type,_t=it.percent,Ht=xe(this.props);if(!st)return null;var pt,Ut=rr||function(mr){return"".concat(mr,"%")},Sr=Bt==="line";return rr||Rt!=="exception"&&Rt!=="success"?pt=Ut(Te(_t),Te(Ht)):Rt==="exception"?pt=Sr?t.createElement(S.a,null):t.createElement(m.a,null):Rt==="success"&&(pt=Sr?t.createElement(T.a,null):t.createElement(y.a,null)),t.createElement("span",{className:"".concat(un,"-text"),title:typeof pt=="string"?pt:void 0},pt)}},{key:"render",value:function(){return t.createElement(_.a,null,this.renderProgress)}}]),Ar}(t.Component);Ze.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var nt=P.a=Ze},"CMP+":function(H,P,d){var O=d("bYtY"),x=d("hM6l"),C=function(b,g,f,c){x.call(this,b,g,f),this.type=c||"value",this.model=null};C.prototype={constructor:C,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},O.inherits(C,x);var A=C;H.exports=A},CP8R:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},"CWI+":function(H,P,d){},CbHG:function(H,P,d){var O=d("IwbS"),x=O.subPixelOptimize,C=d("zM3Q"),A=d("OELB"),b=A.parsePercent,g=d("bYtY"),f=g.retrieve2,c=typeof Float32Array!="undefined"?Float32Array:Array,o={seriesType:"candlestick",plan:C(),reset:function(n){var e=n.coordinateSystem,s=n.getData(),t=i(n,s),a=0,l=1,u=["x","y"],h=s.mapDimension(u[a]),p=s.mapDimension(u[l],!0),m=p[0],v=p[1],y=p[2],E=p[3];if(s.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),h==null||p.length<4)return;return{progress:n.pipelineContext.large?w:T};function T(S,_){for(var I;(I=S.next())!=null;){var L=_.get(h,I),N=_.get(m,I),D=_.get(v,I),R=_.get(y,I),B=_.get(E,I),M=Math.min(N,D),U=Math.max(N,D),F=J(M,L),j=J(U,L),W=J(R,L),V=J(B,L),z=[];$(z,j,0),$(z,F,1),z.push(ae(V),ae(j),ae(W),ae(F)),_.setItemLayout(I,{sign:r(_,I,N,D,v),initBaseline:N>D?j[l]:F[l],ends:z,brushRect:ce(R,B,L)})}function J(Ae,Ie){var De=[];return De[a]=Ie,De[l]=Ae,isNaN(Ie)||isNaN(Ae)?[NaN,NaN]:e.dataToPoint(De)}function $(Ae,Ie,De){var Ke=Ie.slice(),me=Ie.slice();Ke[a]=x(Ke[a]+t/2,1,!1),me[a]=x(me[a]-t/2,1,!0),De?Ae.push(Ke,me):Ae.push(me,Ke)}function ce(Ae,Ie,De){var Ke=J(Ae,De),me=J(Ie,De);return Ke[a]-=t/2,me[a]-=t/2,{x:Ke[0],y:Ke[1],width:l?t:me[0]-Ke[0],height:l?me[1]-Ke[1]:t}}function ae(Ae){return Ae[a]=x(Ae[a],1),Ae}}function w(S,_){for(var I=new c(S.count*4),L=0,N,D=[],R=[],B;(B=S.next())!=null;){var M=_.get(h,B),U=_.get(m,B),F=_.get(v,B),j=_.get(y,B),W=_.get(E,B);if(isNaN(M)||isNaN(j)||isNaN(W)){I[L++]=NaN,L+=3;continue}I[L++]=r(_,B,U,F,v),D[a]=M,D[l]=j,N=e.dataToPoint(D,null,R),I[L++]=N?N[0]:NaN,I[L++]=N?N[1]:NaN,D[l]=W,N=e.dataToPoint(D,null,R),I[L++]=N?N[1]:NaN}_.setLayout("largePoints",I)}}};function r(n,e,s,t,a){var l;return s>t?l=-1:s0?n.get(a,e-1)<=t?1:-1:1,l}function i(n,e){var s=n.getBaseAxis(),t,a=s.type==="category"?s.getBandWidth():(t=s.getExtent(),Math.abs(t[1]-t[0])/e.count()),l=b(f(n.get("barMaxWidth"),a),a),u=b(f(n.get("barMinWidth"),1),a),h=n.get("barWidth");return h!=null?b(h,a):Math.max(Math.min(a/2,l),u)}H.exports=o},CiB2:function(H,P,d){"use strict";d.d(P,"a",function(){return O});function O(x){if(x==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(H,P,d){d("5NHt"),d("f3JH")},CrYA:function(H,P,d){var O=d("MFOe"),x=O.Global;H.exports={name:"sessionStorage",read:A,write:b,each:g,remove:f,clearAll:c};function C(){return x.sessionStorage}function A(o){return C().getItem(o)}function b(o,r){return C().setItem(o,r)}function g(o){for(var r=C().length-1;r>=0;r--){var i=C().key(r);o(A(i),i)}}function f(o){return C().removeItem(o)}function c(){return C().clear()}},Csr3:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("4vCz"));function x(A){return A&&A.__esModule?A:{default:A}}var C=O;P.default=C,H.exports=C},D1WM:function(H,P,d){var O=d("bYtY"),x=d("hM6l"),C=function(b,g,f,c,o){x.call(this,b,g,f),this.type=c||"value",this.axisIndex=o};C.prototype={constructor:C,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},O.inherits(C,x);var A=C;H.exports=A},D5nY:function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("4NO4"),A=C.makeInner,b=C.getDataItemValue,g=d("bYtY"),f=g.createHashMap,c=g.each,o=g.map,r=g.isArray,i=g.isString,n=g.isObject,e=g.isTypedArray,s=g.isArrayLike,t=g.extend,a=g.assert,l=d("7G+c"),u=d("k9D9"),h=u.SOURCE_FORMAT_ORIGINAL,p=u.SOURCE_FORMAT_ARRAY_ROWS,m=u.SOURCE_FORMAT_OBJECT_ROWS,v=u.SOURCE_FORMAT_KEYED_COLUMNS,y=u.SOURCE_FORMAT_UNKNOWN,E=u.SOURCE_FORMAT_TYPED_ARRAY,T=u.SERIES_LAYOUT_BY_ROW,w={Must:1,Might:2,Not:3},S=A();function _(z){var J=z.option.source,$=y;if(e(J))$=E;else if(r(J)){J.length===0&&($=p);for(var ce=0,ae=J.length;ce0&&(l=this.getLineLength(s)/h*1e3),l!==this._period||u!==this._loop){s.stopAnimation();var v=p;m&&(v=p(e)),s.__t>0&&(v=-l*s.__t),s.__t=0;var y=s.animate("",u).when(l,{__t:1}).delay(v).during(function(){t.updateSymbolPosition(s)});u||y.done(function(){t.remove(s)}),y.start()}this._period=l,this._loop=u},o.getLineLength=function(i){return g.dist(i.__p1,i.__cp1)+g.dist(i.__cp1,i.__p2)},o.updateAnimationPoints=function(i,n){i.__p1=n[0],i.__p2=n[1],i.__cp1=n[2]||[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2]},o.updateData=function(i,n,e){this.childAt(0).updateData(i,n,e),this._updateEffectSymbol(i,n)},o.updateSymbolPosition=function(i){var n=i.__p1,e=i.__p2,s=i.__cp1,t=i.__t,a=i.position,l=[a[0],a[1]],u=f.quadraticAt,h=f.quadraticDerivativeAt;a[0]=u(n[0],s[0],e[0],t),a[1]=u(n[1],s[1],e[1],t);var p=h(n[0],s[0],e[0],t),m=h(n[1],s[1],e[1],t);if(i.rotation=-Math.atan2(m,p)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(i.__lastT!==void 0&&i.__lastT=r&&t+1>=i){for(var a=[],l=0;l=r&&E+1>=i)return O(o,m.components,f,g);s[p]=m}n++}for(;n<=e;){var h=u();if(h)return h}},pushComponent:function(g,f,c){var o=g[g.length-1];o&&o.added===f&&o.removed===c?g[g.length-1]={count:o.count+1,added:f,removed:c}:g.push({count:1,added:f,removed:c})},extractCommon:function(g,f,c,o){for(var r=f.length,i=c.length,n=g.newPos,e=n-o,s=0;n+1=0)&&(Y=a);var X=new g.Text({position:me(j.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(g.setLabelStyle(X.style,X.hoverStyle={},Ae,Ie,{labelFetcher:Y,labelDataIndex:se,defaultText:j.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!S){var Q=[1/_[0],1/_[1]];g.updateProps(X,{scale:Q},a)}W.add(X)}if(v)v.setItemGraphicEl(De,W);else{var z=a.getRegionModel(j.name);V.eventData={componentType:"geo",componentIndex:a.componentIndex,geoIndex:a.componentIndex,name:j.name,region:z&&z.option||{}}}var ge=W.__regions||(W.__regions=[]);ge.push(j),W.highDownSilentOnTouch=!!a.get("selectedMode"),g.setHoverStyle(W,ae),E.add(W)}),this._updateController(a,l,u),n(this,a,E,u,h),e(a,E)},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(a){var l=a.map;this._mapName!==l&&O.each(f.makeGraphic(l,this.uid),function(u){this._backgroundGroup.add(u)},this),this._mapName=l},_updateController:function(a,l,u){var h=a.coordinateSystem,p=this._controller,m=this._controllerHost;m.zoomLimit=a.get("scaleLimit"),m.zoom=h.getZoom(),p.enable(a.get("roam")||!1);var v=a.mainType;function y(){var E={type:"geoRoam",componentType:v};return E[v+"Id"]=a.id,E}p.off("pan").on("pan",function(E){this._mouseDownFlag=!1,C.updateViewOnPan(m,E.dx,E.dy),u.dispatchAction(O.extend(y(),{dx:E.dx,dy:E.dy}))},this),p.off("zoom").on("zoom",function(E){if(this._mouseDownFlag=!1,C.updateViewOnZoom(m,E.scale,E.originX,E.originY),u.dispatchAction(O.extend(y(),{zoom:E.scale,originX:E.originX,originY:E.originY})),this._updateGroup){var T=this.group.scale;this._regionsGroup.traverse(function(w){w.type==="text"&&w.attr("scale",[1/T[0],1/T[1]])})}},this),p.setPointerChecker(function(E,T,w){return h.getViewRectAfterRoam().contain(T,w)&&!b(E,u,a)})}};var t=s;H.exports=t},DFOY:function(H,P,d){"use strict";var O=d("pVnL"),x=d.n(O),C=d("lSNA"),A=d.n(C),b=d("lwsE"),g=d.n(b),f=d("W8MJ"),c=d.n(f),o=d("PJYZ"),r=d.n(o),i=d("7W2i"),n=d.n(i),e=d("LQ03"),s=d.n(e),t=d("q1tI"),a=d.n(t),l=d("VTBJ"),u=d("1OyB"),h=d("vuIU"),p=d("JX7q"),m=d("Ji7U"),v=d("LK+K"),y=d("i8i4"),E=d.n(y),T=d("l4aY"),w=d("m+aA"),S=d("c+Xe"),_=d("zT1h"),I=d("QC+M"),L=d("TSYQ"),N=d.n(L);function D(kt,vt,Et){return Et?kt[0]===vt[0]:kt[0]===vt[0]&&kt[1]===vt[1]}function R(kt,vt,Et){var Lt=kt[vt]||{};return Object(l.a)(Object(l.a)({},Lt),Et)}function B(kt,vt,Et,Lt){for(var Mt=Et.points,bt=Object.keys(kt),Qt=0;Qt0&&(ar.deadlineId=setTimeout(function(){ar.onMotionEnd({deadline:!0})},Wn))})},ar.nextFrame=function(yr){ar.cancelNextFrame(),ar.raf=F()(yr)},ar.cancelNextFrame=function(){ar.raf&&(F.a.cancel(ar.raf),ar.raf=null)},ar}return Object(h.a)(tr,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var yr,xn=this.state,vn=xn.status,Wn=xn.statusActive,Yr=xn.statusStyle,xr=this.props,ln=xr.children,On=xr.motionName,In=xr.visible,Un=xr.removeOnLeave,ti=xr.leavedClassName,ui=xr.eventProps;return ln?vn===te||!Lt(this.props)?In?ln(Object(l.a)({},ui),this.setNodeRef):Un?null:ln(Object(l.a)(Object(l.a)({},ui),{},{className:ti}),this.setNodeRef):ln(Object(l.a)(Object(l.a)({},ui),{},{className:N()(oe(On,vn),(yr={},Object(W.a)(yr,oe(On,"".concat(vn,"-active")),Wn),Object(W.a)(yr,On,typeof On=="string"),yr)),style:Yr}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(yr,xn){var vn=xn.prevProps,Wn=xn.status;if(!Lt(yr))return{};var Yr=yr.visible,xr=yr.motionAppear,ln=yr.motionEnter,On=yr.motionLeave,In=yr.motionLeaveImmediately,Un={prevProps:yr};return(Wn===Qe&&!xr||Wn===se&&!ln||Wn===Y&&!On)&&(Un.status=te,Un.statusActive=!1,Un.newStatus=!1),!vn&&Yr&&xr&&(Un.status=Qe,Un.statusActive=!1,Un.newStatus=!0),vn&&!vn.visible&&Yr&&ln&&(Un.status=se,Un.statusActive=!1,Un.newStatus=!0),(vn&&vn.visible&&!Yr&&On||!vn&&In&&!Yr&&On)&&(Un.status=Y,Un.statusActive=!1,Un.newStatus=!0),Un}}]),tr}(t.Component);return Mt.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},Et?t.forwardRef(function(bt,Qt){return t.createElement(Mt,Object.assign({internalRef:Qt},bt))}):Mt}var Q=X(Ue),ge="add",de="keep",Te="remove",xe="removed";function le(kt){var vt;return kt&&Object(V.a)(kt)==="object"&&"key"in kt?vt=kt:vt={key:kt},Object(l.a)(Object(l.a)({},vt),{},{key:String(vt.key)})}function fe(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return kt.map(le)}function Ee(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Et=[],Lt=0,Mt=vt.length,bt=fe(kt),Qt=fe(vt);bt.forEach(function(yr){for(var xn=!1,vn=Lt;vn1});return ar.forEach(function(yr){Et=Et.filter(function(xn){var vn=xn.key,Wn=xn.status;return vn!==yr||Wn!==Te}),Et.forEach(function(xn){xn.key===yr&&(xn.status=de)})}),Et}var Ge=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function lt(kt){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q,Et=function(Lt){Object(m.a)(bt,Lt);var Mt=Object(v.a)(bt);function bt(){var Qt;return Object(u.a)(this,bt),Qt=Mt.apply(this,arguments),Qt.state={keyEntities:[]},Qt.removeKey=function(tr){Qt.setState(function(ar){var yr=ar.keyEntities;return{keyEntities:yr.map(function(xn){return xn.key!==tr?xn:Object(l.a)(Object(l.a)({},xn),{},{status:xe})})}})},Qt}return Object(h.a)(bt,[{key:"render",value:function(){var tr=this,ar=this.state.keyEntities,yr=this.props,xn=yr.component,vn=yr.children,Wn=Object(M.a)(yr,["component","children"]),Yr=xn||t.Fragment,xr={};return Ge.forEach(function(ln){xr[ln]=Wn[ln],delete Wn[ln]}),delete Wn.keys,t.createElement(Yr,Object.assign({},Wn),ar.map(function(ln){var On=ln.status,In=Object(M.a)(ln,["status"]),Un=On===ge||On===de;return t.createElement(vt,Object.assign({},xr,{key:In.key,visible:Un,eventProps:In,onLeaveEnd:function(){xr.onLeaveEnd&&xr.onLeaveEnd.apply(xr,arguments),tr.removeKey(In.key)}}),vn)}))}}],[{key:"getDerivedStateFromProps",value:function(tr,ar){var yr=tr.keys,xn=ar.keyEntities,vn=fe(yr);if(!kt)return{keyEntities:vn.map(function(xr){return Object(l.a)(Object(l.a)({},xr),{},{status:de})})};var Wn=Ee(xn,vn),Yr=xn.length;return{keyEntities:Wn.filter(function(xr){for(var ln=null,On=0;On1&&(vn=t.createElement("div",{className:"".concat(Lt,"-content")},Qt)),t.createElement("div",{ref:Et,className:Mt,onMouseEnter:tr,onMouseLeave:ar,onMouseDown:yr,onTouchStart:xn,style:bt},vn)},ze=t.forwardRef(et);ze.displayName="PopupInner";var at=ze;function Ct(kt){var vt=kt.prefixCls,Et=kt.motion,Lt=kt.animation,Mt=kt.transitionName;return Et||(Lt?{motionName:"".concat(vt,"-").concat(Lt)}:Mt?{motionName:Mt}:null)}function Tt(kt){return kt&&kt.motionName}var Ot=function(kt){Object(m.a)(Et,kt);var vt=Object(v.a)(Et);function Et(){var Lt;return Object(u.a)(this,Et),Lt=vt.apply(this,arguments),Lt.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},Lt.popupRef=a.a.createRef(),Lt.alignRef=a.a.createRef(),Lt.nextFrameState=null,Lt.nextFrameId=null,Lt.onAlign=function(Mt,bt){var Qt=Lt.state.status,tr=Lt.props,ar=tr.getClassNameFromAlign,yr=tr.onAlign,xn=ar(bt);Qt==="align"?Lt.setState({alignClassName:xn,status:"aligned"},function(){Lt.alignRef.current.forceAlign()}):Qt==="aligned"?(Lt.setState({alignClassName:xn,status:"afterAlign"}),yr(Mt,bt)):Lt.setState({alignClassName:xn})},Lt.onMotionEnd=function(){var Mt=Lt.props.visible;Lt.setState({status:Mt?"AfterMotion":"stable",inMotion:!1})},Lt.setStateOnNextFrame=function(Mt){Lt.cancelFrameState(),Lt.nextFrameState=Object(l.a)(Object(l.a)({},Lt.nextFrameState),Mt),Lt.nextFrameId=F()(function(){var bt=Object(l.a)({},Lt.nextFrameState);Lt.nextFrameState=null,Lt.setState(bt)})},Lt.getMotion=function(){return Object(l.a)({},Ct(Lt.props))},Lt.getAlignTarget=function(){var Mt=Lt.props,bt=Mt.point,Qt=Mt.getRootDomNode;return bt||Qt},Lt.cancelFrameState=function(){F.a.cancel(Lt.nextFrameId)},Lt.renderPopupElement=function(){var Mt=Lt.state,bt=Mt.status,Qt=Mt.targetHeight,tr=Mt.targetWidth,ar=Mt.alignClassName,yr=Lt.props,xn=yr.prefixCls,vn=yr.className,Wn=yr.style,Yr=yr.stretch,xr=yr.visible,ln=yr.align,On=yr.destroyPopupOnHide,In=yr.onMouseEnter,Un=yr.onMouseLeave,ti=yr.onMouseDown,ui=yr.onTouchStart,si=yr.children,Pi=N()(xn,vn,ar),zi="".concat(xn,"-hidden"),Ri={};Yr&&(Yr.indexOf("height")!==-1?Ri.height=Qt:Yr.indexOf("minHeight")!==-1&&(Ri.minHeight=Qt),Yr.indexOf("width")!==-1?Ri.width=tr:Yr.indexOf("minWidth")!==-1&&(Ri.minWidth=tr));var Yi=Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},Ri),Lt.getZIndexStyle()),Wn),{},{opacity:bt==="stable"||!xr?void 0:0,pointerEvents:bt==="stable"||!xr?void 0:"none"}),$n=Lt.getMotion(),gn=xr;xr&&bt!=="beforeMotion"&&bt!=="motion"&&bt!=="stable"&&($n.motionAppear=!1,$n.motionEnter=!1,$n.motionLeave=!1),(bt==="afterAlign"||bt==="beforeMotion")&&(gn=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(Li){var Bi=$n==null?void 0:$n[Li];$n[Li]=function(){for(var wr=arguments.length,lr=new Array(wr),on=0;on0;(In||bt.isLeaf===!1)&&(ln+=" ".concat(ar,"-menu-item-expand"),bt.loading||(On=t.createElement("span",{className:"".concat(ar,"-menu-item-expand-icon")},xn))),yr==="hover"&&(In||bt.isLeaf===!1)&&(xr={onMouseEnter:this.delayOnSelect.bind(this,Wn),onMouseLeave:this.delayOnSelect.bind(this),onClick:Wn}),this.isActiveOption(bt,Qt)&&(ln+=" ".concat(ar,"-menu-item-active"),xr.ref=this.saveMenuItem(Qt)),bt.disabled&&(ln+=" ".concat(ar,"-menu-item-disabled"));var Un=null;bt.loading&&(ln+=" ".concat(ar,"-menu-item-loading"),Un=vn||null);var ti="";return"title"in bt?ti=bt.title:typeof bt[this.getFieldName("label")]=="string"&&(ti=bt[this.getFieldName("label")]),t.createElement("li",Object.assign({key:bt[this.getFieldName("value")],className:ln,title:ti},xr,{role:"menuitem",onMouseDown:function(si){return si.preventDefault()}}),bt[this.getFieldName("label")],On,Un)}},{key:"getActiveOptions",value:function(bt){var Qt=this,tr=this.props.options,ar=bt||this.props.activeValue;return ir()(tr,function(yr,xn){return yr[Qt.getFieldName("value")]===ar[xn]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var bt=this,Qt=this.props.options,tr=this.getActiveOptions().map(function(ar){return ar[bt.getFieldName("children")]}).filter(function(ar){return!!ar});return tr.unshift(Qt),tr}},{key:"delayOnSelect",value:function(bt){for(var Qt=this,tr=arguments.length,ar=new Array(tr>1?tr-1:0),yr=1;yr=0)continue;if(!Object.prototype.propertyIsEnumerable.call(kt,Lt))continue;Et[Lt]=kt[Lt]}}return Et}function ft(kt,vt){if(kt==null)return{};var Et={},Lt=Object.keys(kt),Mt,bt;for(bt=0;bt=0)continue;Et[Mt]=kt[Mt]}return Et}function Dt(kt){return Rt(kt)||un(kt)||Mr(kt)||Ar()}function Ar(){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 Mr(kt,vt){if(!kt)return;if(typeof kt=="string")return it(kt,vt);var Et=Object.prototype.toString.call(kt).slice(8,-1);if(Et==="Object"&&kt.constructor&&(Et=kt.constructor.name),Et==="Map"||Et==="Set")return Array.from(kt);if(Et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Et))return it(kt,vt)}function un(kt){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(kt))return Array.from(kt)}function Rt(kt){if(Array.isArray(kt))return it(kt)}function it(kt,vt){(vt==null||vt>kt.length)&&(vt=kt.length);for(var Et=0,Lt=new Array(vt);Et=vn.length?0:Yr):(Yr-=1,Yr=Yr<0?vn.length-1:Yr):Yr=0,yr[xn]=vn[Yr][bt.getFieldName("value")]}else if(tr.keyCode===or.a.LEFT||tr.keyCode===or.a.BACKSPACE)tr.preventDefault(),yr.splice(yr.length-1,1);else if(tr.keyCode===or.a.RIGHT)tr.preventDefault(),vn[Wn]&&vn[Wn][bt.getFieldName("children")]&&yr.push(vn[Wn][bt.getFieldName("children")][0][bt.getFieldName("value")]);else if(tr.keyCode===or.a.ESC||tr.keyCode===or.a.TAB){bt.setPopupVisible(!1);return}(!yr||yr.length===0)&&bt.setPopupVisible(!1);var xr=bt.getActiveOptions(yr),ln=xr[xr.length-1];bt.handleMenuSelect(ln,xr.length-1,tr),bt.props.onKeyDown&&bt.props.onKeyDown(tr)},bt.saveTrigger=function(tr){bt.trigger=tr};var Qt=[];return"value"in Mt?Qt=Mt.value||[]:"defaultValue"in Mt&&(Qt=Mt.defaultValue||[]),Gt()(!("filedNames"in Mt),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),bt.state={popupVisible:Mt.popupVisible,activeValue:Qt,value:Qt,prevProps:Mt},bt.defaultFieldNames={label:"label",value:"value",children:"children"},bt}return Bt(Lt,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(bt){var Qt=this.defaultFieldNames,tr=this.props,ar=tr.fieldNames,yr=tr.filedNames;return"filedNames"in this.props?yr[bt]||Qt[bt]:ar[bt]||Qt[bt]}},{key:"getFieldNames",value:function(){var bt=this.props,Qt=bt.fieldNames,tr=bt.filedNames;return"filedNames"in this.props?tr:Qt}},{key:"getCurrentLevelOptions",value:function(){var bt=this,Qt=this.props.options,tr=Qt===void 0?[]:Qt,ar=this.state.activeValue,yr=ar===void 0?[]:ar,xn=ir()(tr,function(vn,Wn){return vn[bt.getFieldName("value")]===yr[Wn]},{childrenKeyName:this.getFieldName("children")});return xn[xn.length-2]?xn[xn.length-2][this.getFieldName("children")]:Dt(tr).filter(function(vn){return!vn.disabled})}},{key:"getActiveOptions",value:function(bt){var Qt=this;return ir()(this.props.options||[],function(tr,ar){return tr[Qt.getFieldName("value")]===bt[ar]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var bt=this.props,Qt=bt.prefixCls,tr=bt.transitionName,ar=bt.popupClassName,yr=bt.options,xn=yr===void 0?[]:yr,vn=bt.disabled,Wn=bt.builtinPlacements,Yr=bt.popupPlacement,xr=bt.children,ln=bt.dropdownRender,On=nt(bt,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),In=t.createElement("div",null),Un="";xn&&xn.length>0?In=t.createElement(_e,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Un=" ".concat(Qt,"-menus-empty");var ti=In;return ln&&(ti=ln(In)),t.createElement(Pt,Object.assign({ref:this.saveTrigger},On,{popupPlacement:Yr,builtinPlacements:Wn,popupTransitionName:tr,action:vn?[]:["click"],popupVisible:vn?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Qt,"-menus"),popupClassName:ar+Un,popup:ti}),t.cloneElement(xr,{onKeyDown:this.handleKeyDown,tabIndex:vn?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(bt,Qt){var tr=Qt.prevProps,ar=tr===void 0?{}:tr,yr={prevProps:bt};return"value"in bt&&!dr(ar.value,bt.value)&&(yr.value=bt.value||[],"loadData"in bt||(yr.activeValue=bt.value||[])),"popupVisible"in bt&&(yr.popupVisible=bt.popupVisible),yr}}]),Lt}(t.Component);return kt.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:Le,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},kt}(),$r=Jr,Pn=$r,Dn=d("BGR+"),Zn=d("kbBi"),li=d.n(Zn),Ai=d("HQEm"),Ii=d.n(Ai),$e=d("fEPi"),Se=d.n($e),Re=d("5YOS"),je=d.n(Re),Ye=d("DFhj"),Ve=d.n(Ye),qe=d("5rEg"),xt=d("H84U"),ut=d("YMnH"),Jt=d("uaoM"),Rr=d("3Nzz"),Ir=d("0n0R"),Gr=function(kt,vt){var Et={};for(var Lt in kt)Object.prototype.hasOwnProperty.call(kt,Lt)&&vt.indexOf(Lt)<0&&(Et[Lt]=kt[Lt]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,Lt=Object.getOwnPropertySymbols(kt);Mt-1})}function mn(kt,vt,Et,Lt){return vt.map(function(Mt,bt){var Qt=Mt[Lt.label],tr=Qt.indexOf(kt)>-1?pn(Qt,kt,Et):Qt;return bt===0?tr:[" / ",tr]})}function en(kt,vt,Et,Lt){function Mt(bt){return bt[Lt.label].indexOf(Et)>-1}return kt.findIndex(Mt)-vt.findIndex(Mt)}function kr(kt){var vt=kt.fieldNames;return vt}function Xn(kt){var vt=kr(kt)||{},Et={children:vt.children||"children",label:vt.label||"label",value:vt.value||"value"};return Et}function di(kt,vt){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Lt=Xn(vt),Mt=[],bt=Lt.children;return kt.forEach(function(Qt){var tr=Et.concat(Qt);(vt.changeOnSelect||!Qt[bt]||!Qt[bt].length)&&Mt.push(tr),Qt[bt]&&(Mt=Mt.concat(di(Qt[bt],vt,tr)))}),Mt}var _i=function(vt){return vt.join(" / ")};function Br(kt){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(kt||[]).forEach(function(Et){var Lt=vt.value||"value";Object(Jt.a)(Lt in Et,"Cascader","Not found `value` in `options`."),Br(Et[vt.children||"children"],vt)})}var sn=function(kt){n()(Et,kt);var vt=s()(Et);function Et(Lt){var Mt;return g()(this,Et),Mt=vt.call(this,Lt),Mt.cachedOptions=[],Mt.setValue=function(bt){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Mt.props||Mt.setState({value:bt});var tr=Mt.props.onChange;tr&&tr(bt,Qt)},Mt.saveInput=function(bt){Mt.input=bt},Mt.handleChange=function(bt,Qt){if(Mt.setState({inputValue:""}),Qt[0].__IS_FILTERED_OPTION){var tr=bt[0],ar=Qt[0].path;Mt.setValue(tr,ar);return}Mt.setValue(bt,Qt)},Mt.handlePopupVisibleChange=function(bt){"popupVisible"in Mt.props||Mt.setState(function(tr){return{popupVisible:bt,inputFocused:bt,inputValue:bt?tr.inputValue:""}});var Qt=Mt.props.onPopupVisibleChange;Qt&&Qt(bt)},Mt.handleInputBlur=function(){Mt.setState({inputFocused:!1})},Mt.handleInputClick=function(bt){var Qt=Mt.state,tr=Qt.inputFocused,ar=Qt.popupVisible;(tr||ar)&&bt.stopPropagation()},Mt.handleKeyDown=function(bt){(bt.keyCode===or.a.BACKSPACE||bt.keyCode===or.a.SPACE)&&bt.stopPropagation()},Mt.handleInputChange=function(bt){var Qt=Mt.state.popupVisible,tr=bt.target.value;Qt||Mt.handlePopupVisibleChange(!0),Mt.setState({inputValue:tr})},Mt.clearSelection=function(bt){var Qt=Mt.state.inputValue;bt.preventDefault(),bt.stopPropagation(),Qt?Mt.setState({inputValue:""}):(Mt.handlePopupVisibleChange(!1),Mt.clearSelectionTimeout=setTimeout(function(){Mt.setValue([])},200))},Mt.renderCascader=function(bt,Qt){var tr=bt.getPopupContainer,ar=bt.getPrefixCls,yr=bt.renderEmpty,xn=bt.direction;return t.createElement(Rr.b.Consumer,null,function(vn){var Wn,Yr,xr,ln,On=r()(Mt),In=On.props,Un=On.state,ti=In.prefixCls,ui=In.inputPrefixCls,si=In.children,Pi=In.placeholder,zi=Pi===void 0?Qt.placeholder||"Please select":Pi,Ri=In.size,Yi=In.disabled,$n=In.className,gn=In.style,mi=In.allowClear,Hi=In.showSearch,Li=Hi===void 0?!1:Hi,Bi=In.suffixIcon,wr=In.expandIcon,lr=In.notFoundContent,on=In.popupClassName,Zt=In.bordered,br=In.dropdownRender,Or=Gr(In,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Wr=Ri||vn,An=Un.value,wt=Un.inputFocused,pr=xn==="rtl",gr=ar("cascader",ti),Fr=ar("input",ui),nn=N()((Wn={},A()(Wn,"".concat(Fr,"-lg"),Wr==="large"),A()(Wn,"".concat(Fr,"-sm"),Wr==="small"),Wn)),cn=mi&&!Yi&&An.length>0||Un.inputValue?t.createElement(li.a,{className:"".concat(gr,"-picker-clear"),onClick:Mt.clearSelection}):null,tn=N()((Yr={},A()(Yr,"".concat(gr,"-picker-arrow"),!0),A()(Yr,"".concat(gr,"-picker-arrow-expand"),Un.popupVisible),Yr)),Ln=N()($n,"".concat(gr,"-picker"),(xr={},A()(xr,"".concat(gr,"-picker-rtl"),pr),A()(xr,"".concat(gr,"-picker-with-value"),Un.inputValue),A()(xr,"".concat(gr,"-picker-disabled"),Yi),A()(xr,"".concat(gr,"-picker-").concat(Wr),!!Wr),A()(xr,"".concat(gr,"-picker-show-search"),!!Li),A()(xr,"".concat(gr,"-picker-focused"),wt),A()(xr,"".concat(gr,"-picker-borderless"),!Zt),xr)),Tn=Object(Dn.default)(Or,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),Gn=In.options,ci=Xn(Mt.props);if(Gn&&Gn.length>0)Un.inputValue&&(Gn=Mt.generateFilteredOptions(gr,yr));else{var Jn;Gn=[(Jn={},A()(Jn,ci.label,lr||yr("Cascader")),A()(Jn,ci.value,"ANT_CASCADER_NOT_FOUND"),Jn)]}Un.popupVisible?Mt.cachedOptions=Gn:Gn=Mt.cachedOptions;var pi={},Si=(Gn||[]).length===1&&Gn[0].isEmptyNode;Si&&(pi.height="auto");var Ni=Li.matchInputWidth!==!1;Ni&&(Un.inputValue||Si)&&Mt.input&&(pi.width=Mt.input.input.offsetWidth);var xi;Bi?xi=Object(Ir.c)(Bi,t.createElement("span",{className:"".concat(gr,"-picker-arrow")},Bi),function(){var ua;return{className:N()((ua={},A()(ua,Bi.props.className,Bi.props.className),A()(ua,"".concat(gr,"-picker-arrow"),!0),ua))}}):xi=t.createElement(Ii.a,{className:tn});var yi=si||t.createElement("span",{style:gn,className:Ln},t.createElement("span",{className:"".concat(gr,"-picker-label")},Mt.getLabel()),t.createElement(qe.a,x()({},Tn,{tabIndex:"-1",ref:Mt.saveInput,prefixCls:Fr,placeholder:An&&An.length>0?void 0:zi,className:"".concat(gr,"-input ").concat(nn),value:Un.inputValue,disabled:Yi,readOnly:!Li,autoComplete:Tn.autoComplete||"off",onClick:Li?Mt.handleInputClick:void 0,onBlur:Li?Mt.handleInputBlur:void 0,onKeyDown:Mt.handleKeyDown,onChange:Li?Mt.handleInputChange:void 0})),cn,xi),vi;wr?vi=wr:vi=pr?t.createElement(Ve.a,null):t.createElement(Se.a,null);var Ti=t.createElement("span",{className:"".concat(gr,"-menu-item-loading-icon")},t.createElement(je.a,{spin:!0})),Ui=In.getPopupContainer||tr,$i=Object(Dn.default)(In,["inputIcon","expandIcon","loadingIcon","bordered"]),Di=N()(on,(ln={},A()(ln,"".concat(gr,"-menu-").concat(xn),xn==="rtl"),A()(ln,"".concat(gr,"-menu-empty"),Gn.length===1&&Gn[0].value==="ANT_CASCADER_NOT_FOUND"),ln));return t.createElement(Pn,x()({},$i,{prefixCls:gr,getPopupContainer:Ui,options:Gn,value:An,popupVisible:Un.popupVisible,onPopupVisibleChange:Mt.handlePopupVisibleChange,onChange:Mt.handleChange,dropdownMenuColumnStyle:pi,expandIcon:vi,loadingIcon:Ti,popupClassName:Di,popupPlacement:Mt.getPopupPlacement(xn),dropdownRender:br}),yi)})},Mt.state={value:Lt.value||Lt.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:Lt.popupVisible,flattenOptions:Lt.showSearch?di(Lt.options,Lt):void 0,prevProps:Lt},Mt}return c()(Et,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Mt=this.props,bt=Mt.options,Qt=Mt.displayRender,tr=Qt===void 0?_i:Qt,ar=Xn(this.props),yr=this.state.value,xn=Array.isArray(yr[0])?yr[0]:yr,vn=ir()(bt,function(Yr,xr){return Yr[ar.value]===xn[xr]},{childrenKeyName:ar.children}),Wn=vn.length?vn.map(function(Yr){return Yr[ar.label]}):yr;return tr(Wn,vn)}},{key:"generateFilteredOptions",value:function(Mt,bt){var Qt=this,tr,ar=this.props,yr=ar.showSearch,xn=ar.notFoundContent,vn=Xn(this.props),Wn=yr.filter,Yr=Wn===void 0?hr:Wn,xr=yr.render,ln=xr===void 0?mn:xr,On=yr.sort,In=On===void 0?en:On,Un=yr.limit,ti=Un===void 0?qt:Un,ui=this.state,si=ui.flattenOptions,Pi=si===void 0?[]:si,zi=ui.inputValue,Ri;if(ti>0){Ri=[];var Yi=0;Pi.some(function($n){var gn=Yr(Qt.state.inputValue,$n,vn);return gn&&(Ri.push($n),Yi+=1),Yi>=ti})}else Object(Jt.a)(typeof ti!="number","Cascader","'limit' of showSearch should be positive number or false."),Ri=Pi.filter(function($n){return Yr(Qt.state.inputValue,$n,vn)});return Ri=Ri.sort(function($n,gn){return In($n,gn,zi,vn)}),Ri.length>0?Ri.map(function($n){var gn;return gn={__IS_FILTERED_OPTION:!0,path:$n},A()(gn,vn.value,$n.map(function(mi){return mi[vn.value]})),A()(gn,vn.label,ln(zi,$n,Mt,vn)),A()(gn,"disabled",$n.some(function(mi){return!!mi.disabled})),A()(gn,"isEmptyNode",!0),gn}):[(tr={},A()(tr,vn.value,"ANT_CASCADER_NOT_FOUND"),A()(tr,vn.label,xn||bt("Cascader")),A()(tr,"disabled",!0),A()(tr,"isEmptyNode",!0),tr)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",bt=this.props.popupPlacement;return bt!==void 0?bt:Mt==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Mt=this;return t.createElement(xt.a,null,function(bt){return t.createElement(ut.a,null,function(Qt){return Mt.renderCascader(bt,Qt)})})}}],[{key:"getDerivedStateFromProps",value:function(Mt,bt){var Qt=bt.prevProps,tr={prevProps:Mt};return"value"in Mt&&(tr.value=Mt.value||[]),"popupVisible"in Mt&&(tr.popupVisible=Mt.popupVisible),Mt.showSearch&&Qt.options!==Mt.options&&(tr.flattenOptions=di(Mt.options,Mt)),tr}}]),Et}(t.Component);sn.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var Sn=P.a=sn},DFhj:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("GGyF"));function x(A){return A&&A.__esModule?A:{default:A}}var C=O;P.default=C,H.exports=C},DL4k:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},DN4a:function(H,P,d){var O=d("Fofx"),x=d("QBsz"),C=O.identity,A=5e-5;function b(n){return n>A||n<-A}var g=function(e){e=e||{},e.position||(this.position=[0,0]),e.rotation==null&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},f=g.prototype;f.transform=null,f.needLocalTransform=function(){return b(this.rotation)||b(this.position[0])||b(this.position[1])||b(this.scale[0]-1)||b(this.scale[1]-1)};var c=[];f.updateTransform=function(){var n=this.parent,e=n&&n.transform,s=this.needLocalTransform(),t=this.transform;if(!(s||e)){t&&C(t);return}t=t||O.create(),s?this.getLocalTransform(t):C(t),e&&(s?O.mul(t,n.transform,t):O.copy(t,n.transform)),this.transform=t;var a=this.globalScaleRatio;if(a!=null&&a!==1){this.getGlobalScale(c);var l=c[0]<0?-1:1,u=c[1]<0?-1:1,h=((c[0]-l)*a+l)/c[0]||0,p=((c[1]-u)*a+u)/c[1]||0;t[0]*=h,t[1]*=h,t[2]*=p,t[3]*=p}this.invTransform=this.invTransform||O.create(),O.invert(this.invTransform,t)},f.getLocalTransform=function(n){return g.getLocalTransform(this,n)},f.setTransform=function(n){var e=this.transform,s=n.dpr||1;e?n.setTransform(s*e[0],s*e[1],s*e[2],s*e[3],s*e[4],s*e[5]):n.setTransform(s,0,0,s,0,0)},f.restoreTransform=function(n){var e=n.dpr||1;n.setTransform(e,0,0,e,0,0)};var o=[],r=O.create();f.setLocalTransform=function(n){if(!n)return;var e=n[0]*n[0]+n[1]*n[1],s=n[2]*n[2]+n[3]*n[3],t=this.position,a=this.scale;b(e-1)&&(e=Math.sqrt(e)),b(s-1)&&(s=Math.sqrt(s)),n[0]<0&&(e=-e),n[3]<0&&(s=-s),t[0]=n[4],t[1]=n[5],a[0]=e,a[1]=s,this.rotation=Math.atan2(-n[1]/s,n[0]/e)},f.decomposeTransform=function(){if(!this.transform)return;var n=this.parent,e=this.transform;n&&n.transform&&(O.mul(o,n.invTransform,e),e=o);var s=this.origin;s&&(s[0]||s[1])&&(r[4]=s[0],r[5]=s[1],O.mul(o,e,r),o[4]-=s[0],o[5]-=s[1],e=o),this.setLocalTransform(e)},f.getGlobalScale=function(n){var e=this.transform;return n=n||[],e?(n[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),n[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(n[0]=-n[0]),e[3]<0&&(n[1]=-n[1]),n):(n[0]=1,n[1]=1,n)},f.transformCoordToLocal=function(n,e){var s=[n,e],t=this.invTransform;return t&&x.applyTransform(s,s,t),s},f.transformCoordToGlobal=function(n,e){var s=[n,e],t=this.transform;return t&&x.applyTransform(s,s,t),s},g.getLocalTransform=function(n,e){e=e||[],C(e);var s=n.origin,t=n.scale||[1,1],a=n.rotation||0,l=n.position||[0,0];return s&&(e[4]-=s[0],e[5]-=s[1]),O.scale(e,e,t),a&&O.rotate(e,e,a),s&&(e[4]+=s[0],e[5]+=s[1]),e[4]+=l[0],e[5]+=l[1],e};var i=g;H.exports=i},DO2E:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},DYRE:function(H,P,d){"use strict";var O=d("cIOH"),x=d.n(O),C=d("OPEp"),A=d.n(C)},DZo9:function(H,P,d){"use strict";var O=d("cIOH"),x=d.n(O),C=d("JGo8"),A=d.n(C),b=d("+L6B"),g=d("MXD1"),f=d("5Dmo")},Dagg:function(H,P,d){var O=d("Gev7"),x=d("mFDi"),C=d("bYtY"),A=d("Xnb7");function b(f){O.call(this,f)}b.prototype={constructor:b,type:"image",brush:function(c,o){var r=this.style,i=r.image;r.bind(c,this,o);var n=this._image=A.createOrUpdateImage(i,this._image,this,this.onload);if(!n||!A.isImageReady(n))return;var e=r.x||0,s=r.y||0,t=r.width,a=r.height,l=n.width/n.height;if(t==null&&a!=null?t=a*l:a==null&&t!=null?a=t/l:t==null&&a==null&&(t=n.width,a=n.height),this.setTransform(c),r.sWidth&&r.sHeight){var u=r.sx||0,h=r.sy||0;c.drawImage(n,u,h,r.sWidth,r.sHeight,e,s,t,a)}else if(r.sx&&r.sy){var u=r.sx,h=r.sy,p=t-u,m=a-h;c.drawImage(n,u,h,p,m,e,s,t,a)}else c.drawImage(n,e,s,t,a);r.text!=null&&(this.restoreTransform(c),this.drawRectText(c,this.getBoundingRect()))},getBoundingRect:function(){var c=this.style;return this._rect||(this._rect=new x(c.x||0,c.y||0,c.width||0,c.height||0)),this._rect}},C.inherits(b,O);var g=b;H.exports=g},Dg8C:function(H,P,d){var O=d("XxSj"),x=d("bYtY");function C(A,b){A.eachSeriesByType("sankey",function(g){var f=g.getGraph(),c=f.nodes;if(c.length){var o=Infinity,r=-Infinity;x.each(c,function(i){var n=i.getLayout().value;nr&&(r=n)}),x.each(c,function(i){var n=new O({type:"color",mappingMethod:"linear",dataExtent:[o,r],visual:g.get("color")}),e=n.mapValueToVisual(i.getLayout().value),s=i.getModel().get("itemStyle.color");s!=null?i.setVisual("color",s):i.setVisual("color",e)})}})}H.exports=C},DjyN:function(H,P,d){"use strict";var O=d("cIOH"),x=d.n(O),C=d("Urep"),A=d.n(C),b=d("OaEy")},DlQD:function(H,P,d){(function(O,x){H.exports=x()})(this,function(){"use strict";function O(Tt,Ot){for(var Nt=0;NtTt.length)&&(Ot=Tt.length);for(var Nt=0,Be=new Array(Ot);Nt=Tt.length?{done:!0}:{done:!1,value:Tt[Be++]}}}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 Nt=Tt[Symbol.iterator](),Nt.next.bind(Nt)}function g(Tt,Ot){return Ot={exports:{}},Tt(Ot,Ot.exports),Ot.exports}var f=g(function(Tt){function Ot(){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 Nt(Be){Tt.exports.defaults=Be}Tt.exports={defaults:Ot(),getDefaults:Ot,changeDefaults:Nt}}),c=f.defaults,o=f.getDefaults,r=f.changeDefaults,i=/[&<>"']/,n=/[&<>"']/g,e=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,t={"&":"&","<":"<",">":">",'"':""","'":"'"},a=function(Ot){return t[Ot]};function l(Tt,Ot){if(Ot){if(i.test(Tt))return Tt.replace(n,a)}else if(e.test(Tt))return Tt.replace(s,a);return Tt}var u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(Tt){return Tt.replace(u,function(Ot,Nt){return Nt=Nt.toLowerCase(),Nt==="colon"?":":Nt.charAt(0)==="#"?Nt.charAt(1)==="x"?String.fromCharCode(parseInt(Nt.substring(2),16)):String.fromCharCode(+Nt.substring(1)):""})}var p=/(^|[^\[])\^/g;function m(Tt,Ot){Tt=Tt.source||Tt,Ot=Ot||"";var Nt={replace:function(ne,G){return G=G.source||G,G=G.replace(p,"$1"),Tt=Tt.replace(ne,G),Nt},getRegex:function(){return new RegExp(Tt,Ot)}};return Nt}var v=/[^\w:]/g,y=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function E(Tt,Ot,Nt){if(Tt){var Be;try{Be=decodeURIComponent(h(Nt)).replace(v,"").toLowerCase()}catch(ne){return null}if(Be.indexOf("javascript:")===0||Be.indexOf("vbscript:")===0||Be.indexOf("data:")===0)return null}Ot&&!y.test(Nt)&&(Nt=I(Ot,Nt));try{Nt=encodeURI(Nt).replace(/%25/g,"%")}catch(ne){return null}return Nt}var T={},w=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function I(Tt,Ot){T[" "+Tt]||(w.test(Tt)?T[" "+Tt]=Tt+"/":T[" "+Tt]=R(Tt,"/",!0)),Tt=T[" "+Tt];var Nt=Tt.indexOf(":")===-1;return Ot.substring(0,2)==="//"?Nt?Ot:Tt.replace(S,"$1")+Ot:Ot.charAt(0)==="/"?Nt?Ot:Tt.replace(_,"$1")+Ot:Tt+Ot}var L={exec:function(){}};function N(Tt){for(var Ot=1,Nt,Be;Ot=0&&Ne[ht]==="\\";)q=!q;return q?"|":" |"}),Be=Nt.split(/ \|/),ne=0;if(Be.length>Ot)Be.splice(Ot);else for(;Be.length=Be.length?ne.slice(Be.length):ne}).join(` `)}var ce=function(){function Tt(Nt){this.options=Nt||F}var Ot=Tt.prototype;return Ot.space=function(Be){var ne=this.rules.block.newline.exec(Be);if(ne)return ne[0].length>1?{type:"space",raw:ne[0]}:{raw:` `}},Ot.code=function(Be,ne){var G=this.rules.block.code.exec(Be);if(G){var Pe=ne[ne.length-1];if(Pe&&Pe.type==="paragraph")return{raw:G[0],text:G[0].trimRight()};var Ne=G[0].replace(/^ {4}/gm,"");return{type:"code",raw:G[0],codeBlockStyle:"indented",text:this.options.pedantic?Ne:j(Ne,` `)}}},Ot.fences=function(Be){var ne=this.rules.block.fences.exec(Be);if(ne){var G=ne[0],Pe=$(G,ne[3]||"");return{type:"code",raw:G,lang:ne[2]?ne[2].trim():ne[2],text:Pe}}},Ot.heading=function(Be){var ne=this.rules.block.heading.exec(Be);if(ne)return{type:"heading",raw:ne[0],depth:ne[1].length,text:ne[2]}},Ot.nptable=function(Be){var ne=this.rules.block.nptable.exec(Be);if(ne){var G={type:"table",header:W(ne[1].replace(/^ *| *\| *$/g,"")),align:ne[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ne[3]?ne[3].replace(/\n$/,"").split(` `):[],raw:ne[0]};if(G.header.length===G.align.length){var Pe=G.align.length,Ne;for(Ne=0;Ne ?/gm,"");return{type:"blockquote",raw:ne[0],text:G}}},Ot.list=function(Be){var ne=this.rules.block.list.exec(Be);if(ne){for(var G=ne[0],Pe=ne[2],Ne=Pe.length>1,q=Pe[Pe.length-1]===")",ht={type:"list",raw:G,ordered:Ne,start:Ne?+Pe.slice(0,-1):"",loose:!1,items:[]},Pt=ne[0].match(this.rules.block.item),ct=!1,Gt,or,Zr,ir,dr,er,Kt,dt=Pt.length,Hr=0;Hr1||this.options.smartLists&&Zr!==Pe)&&(ir=Pt.slice(Hr+1).join(` `),ht.raw=ht.raw.substring(0,ht.raw.length-ir.length),Hr=dt-1)),dr=ct||/\n\n(?!\s*$)/.test(Gt),Hr!==dt-1&&(ct=Gt.charAt(Gt.length-1)===` `,dr||(dr=ct)),dr&&(ht.loose=!0),er=/^\[[ xX]\] /.test(Gt),Kt=void 0,er&&(Kt=Gt[1]!==" ",Gt=Gt.replace(/^\[[ xX]\] +/,"")),ht.items.push({type:"list_item",raw:G,task:er,checked:Kt,loose:dr,text:Gt});return ht}},Ot.html=function(Be){var ne=this.rules.block.html.exec(Be);if(ne)return{type:this.options.sanitize?"paragraph":"html",raw:ne[0],pre:!this.options.sanitizer&&(ne[1]==="pre"||ne[1]==="script"||ne[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ne[0]):V(ne[0]):ne[0]}},Ot.def=function(Be){var ne=this.rules.block.def.exec(Be);if(ne){ne[3]&&(ne[3]=ne[3].substring(1,ne[3].length-1));var G=ne[1].toLowerCase().replace(/\s+/g," ");return{tag:G,raw:ne[0],href:ne[2],title:ne[3]}}},Ot.table=function(Be){var ne=this.rules.block.table.exec(Be);if(ne){var G={type:"table",header:W(ne[1].replace(/^ *| *\| *$/g,"")),align:ne[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ne[3]?ne[3].replace(/\n$/,"").split(` `):[]};if(G.header.length===G.align.length){G.raw=ne[0];var Pe=G.align.length,Ne;for(Ne=0;Ne/i.test(Pe[0])&&(ne=!1),!G&&/^<(pre|code|kbd|script)(\s|>)/i.test(Pe[0])?G=!0:G&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Pe[0])&&(G=!1),{type:this.options.sanitize?"text":"html",raw:Pe[0],inLink:ne,inRawBlock:G,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Pe[0]):V(Pe[0]):Pe[0]}},Ot.link=function(Be){var ne=this.rules.inline.link.exec(Be);if(ne){var G=z(ne[2],"()");if(G>-1){var Pe=ne[0].indexOf("!")===0?5:4,Ne=Pe+ne[1].length+G;ne[2]=ne[2].substring(0,G),ne[0]=ne[0].substring(0,Ne).trim(),ne[3]=""}var q=ne[2],ht="";if(this.options.pedantic){var Pt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(q);Pt?(q=Pt[1],ht=Pt[3]):ht=""}else ht=ne[3]?ne[3].slice(1,-1):"";q=q.trim().replace(/^<([\s\S]*)>$/,"$1");var ct=J(ne,{href:q&&q.replace(this.rules.inline._escapes,"$1"),title:ht&&ht.replace(this.rules.inline._escapes,"$1")},ne[0]);return ct}},Ot.reflink=function(Be,ne){var G;if((G=this.rules.inline.reflink.exec(Be))||(G=this.rules.inline.nolink.exec(Be))){var Pe=(G[2]||G[1]).replace(/\s+/g," ");if(Pe=ne[Pe.toLowerCase()],!Pe||!Pe.href){var Ne=G[0].charAt(0);return{type:"text",raw:Ne,text:Ne}}var q=J(G,Pe,G[0]);return q}},Ot.strong=function(Be,ne,G){G===void 0&&(G="");var Pe=this.rules.inline.strong.start.exec(Be);if(Pe&&(!Pe[1]||Pe[1]&&(G===""||this.rules.inline.punctuation.exec(G)))){ne=ne.slice(-1*Be.length);var Ne=Pe[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Ne.lastIndex=0;for(var q;(Pe=Ne.exec(ne))!=null;)if(q=this.rules.inline.strong.middle.exec(ne.slice(0,Pe.index+3)),q)return{type:"strong",raw:Be.slice(0,q[0].length),text:Be.slice(2,q[0].length-2)}}},Ot.em=function(Be,ne,G){G===void 0&&(G="");var Pe=this.rules.inline.em.start.exec(Be);if(Pe&&(!Pe[1]||Pe[1]&&(G===""||this.rules.inline.punctuation.exec(G)))){ne=ne.slice(-1*Be.length);var Ne=Pe[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Ne.lastIndex=0;for(var q;(Pe=Ne.exec(ne))!=null;)if(q=this.rules.inline.em.middle.exec(ne.slice(0,Pe.index+2)),q)return{type:"em",raw:Be.slice(0,q[0].length),text:Be.slice(1,q[0].length-1)}}},Ot.codespan=function(Be){var ne=this.rules.inline.code.exec(Be);if(ne){var G=ne[2].replace(/\n/g," "),Pe=/[^ ]/.test(G),Ne=G.startsWith(" ")&&G.endsWith(" ");return Pe&&Ne&&(G=G.substring(1,G.length-1)),G=V(G,!0),{type:"codespan",raw:ne[0],text:G}}},Ot.br=function(Be){var ne=this.rules.inline.br.exec(Be);if(ne)return{type:"br",raw:ne[0]}},Ot.del=function(Be){var ne=this.rules.inline.del.exec(Be);if(ne)return{type:"del",raw:ne[0],text:ne[1]}},Ot.autolink=function(Be,ne){var G=this.rules.inline.autolink.exec(Be);if(G){var Pe,Ne;return G[2]==="@"?(Pe=V(this.options.mangle?ne(G[1]):G[1]),Ne="mailto:"+Pe):(Pe=V(G[1]),Ne=Pe),{type:"link",raw:G[0],text:Pe,href:Ne,tokens:[{type:"text",raw:Pe,text:Pe}]}}},Ot.url=function(Be,ne){var G;if(G=this.rules.inline.url.exec(Be)){var Pe,Ne;if(G[2]==="@")Pe=V(this.options.mangle?ne(G[0]):G[0]),Ne="mailto:"+Pe;else{var q;do q=G[0],G[0]=this.rules.inline._backpedal.exec(G[0])[0];while(q!==G[0]);Pe=V(G[0]),G[1]==="www."?Ne="http://"+Pe:Ne=Pe}return{type:"link",raw:G[0],text:Pe,href:Ne,tokens:[{type:"text",raw:Pe,text:Pe}]}}},Ot.inlineText=function(Be,ne,G){var Pe=this.rules.inline.text.exec(Be);if(Pe){var Ne;return ne?Ne=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Pe[0]):V(Pe[0]):Pe[0]:Ne=V(this.options.smartypants?G(Pe[0]):Pe[0]),{type:"text",raw:Pe[0],text:Ne}}},Tt}(),ae=U.noopTest,Ae=U.edit,Ie=U.merge,De={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]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:ae,table:ae,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};De._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,De._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,De.def=Ae(De.def).replace("label",De._label).replace("title",De._title).getRegex(),De.bullet=/(?:[*+-]|\d{1,9}[.)])/,De.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,De.item=Ae(De.item,"gm").replace(/bull/g,De.bullet).getRegex(),De.list=Ae(De.list).replace(/bull/g,De.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+De.def.source+")").getRegex(),De._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",De._comment=//,De.html=Ae(De.html,"i").replace("comment",De._comment).replace("tag",De._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),De.paragraph=Ae(De._paragraph).replace("hr",De.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",")|<(?:script|pre|style|!--)").replace("tag",De._tag).getRegex(),De.blockquote=Ae(De.blockquote).replace("paragraph",De.paragraph).getRegex(),De.normal=Ie({},De),De.gfm=Ie({},De.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*|$)"}),De.gfm.nptable=Ae(De.gfm.nptable).replace("hr",De.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",")|<(?:script|pre|style|!--)").replace("tag",De._tag).getRegex(),De.gfm.table=Ae(De.gfm.table).replace("hr",De.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",")|<(?:script|pre|style|!--)").replace("tag",De._tag).getRegex(),De.pedantic=Ie({},De.normal,{html:Ae(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",De._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:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:ae,paragraph:Ae(De.normal._paragraph).replace("hr",De.hr).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",De.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Ke={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ae,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\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:ae,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",Ke.punctuation=Ae(Ke.punctuation).replace(/punctuation/g,Ke._punctuation).getRegex(),Ke._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Ke._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Ke.em.start=Ae(Ke.em.start).replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.em.middle=Ae(Ke.em.middle).replace(/punctuation/g,Ke._punctuation).replace(/overlapSkip/g,Ke._overlapSkip).getRegex(),Ke.em.endAst=Ae(Ke.em.endAst,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.em.endUnd=Ae(Ke.em.endUnd,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.strong.start=Ae(Ke.strong.start).replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.strong.middle=Ae(Ke.strong.middle).replace(/punctuation/g,Ke._punctuation).replace(/blockSkip/g,Ke._blockSkip).getRegex(),Ke.strong.endAst=Ae(Ke.strong.endAst,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.strong.endUnd=Ae(Ke.strong.endUnd,"g").replace(/punctuation/g,Ke._punctuation).getRegex(),Ke.blockSkip=Ae(Ke._blockSkip,"g").getRegex(),Ke.overlapSkip=Ae(Ke._overlapSkip,"g").getRegex(),Ke._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Ke._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Ke._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])?)+(?![-_])/,Ke.autolink=Ae(Ke.autolink).replace("scheme",Ke._scheme).replace("email",Ke._email).getRegex(),Ke._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Ke.tag=Ae(Ke.tag).replace("comment",De._comment).replace("attribute",Ke._attribute).getRegex(),Ke._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ke._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Ke._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Ke.link=Ae(Ke.link).replace("label",Ke._label).replace("href",Ke._href).replace("title",Ke._title).getRegex(),Ke.reflink=Ae(Ke.reflink).replace("label",Ke._label).getRegex(),Ke.reflinkSearch=Ae(Ke.reflinkSearch,"g").replace("reflink",Ke.reflink).replace("nolink",Ke.nolink).getRegex(),Ke.normal=Ie({},Ke),Ke.pedantic=Ie({},Ke.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:Ae(/^!?\[(label)\]\((.*?)\)/).replace("label",Ke._label).getRegex(),reflink:Ae(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ke._label).getRegex()}),Ke.gfm=Ie({},Ke.normal,{escape:Ae(Ke.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]*?(?:(?=[\\.5&&(Be="x"+Be.toString(16)),Ot+="&#"+Be+";";return Ot}var Y=function(){function Tt(Nt){this.tokens=[],this.tokens.links=Object.create(null),this.options=Nt||Ue,this.options.tokenizer=this.options.tokenizer||new ce,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Be={block:oe.normal,inline:te.normal};this.options.pedantic?(Be.block=oe.pedantic,Be.inline=te.pedantic):this.options.gfm&&(Be.block=oe.gfm,this.options.breaks?Be.inline=te.breaks:Be.inline=te.gfm),this.tokenizer.rules=Be}Tt.lex=function(Be,ne){var G=new Tt(ne);return G.lex(Be)};var Ot=Tt.prototype;return Ot.lex=function(Be){return Be=Be.replace(/\r\n|\r/g,` `).replace(/\t/g," "),this.blockTokens(Be,this.tokens,!0),this.inline(this.tokens),this.tokens},Ot.blockTokens=function(Be,ne,G){ne===void 0&&(ne=[]),G===void 0&&(G=!0),Be=Be.replace(/^ +$/gm,"");for(var Pe,Ne,q,ht;Be;){if(Pe=this.tokenizer.space(Be)){Be=Be.substring(Pe.raw.length),Pe.type&&ne.push(Pe);continue}if(Pe=this.tokenizer.code(Be,ne)){Be=Be.substring(Pe.raw.length),Pe.type?ne.push(Pe):(ht=ne[ne.length-1],ht.raw+=` `+Pe.raw,ht.text+=` `+Pe.text);continue}if(Pe=this.tokenizer.fences(Be)){Be=Be.substring(Pe.raw.length),ne.push(Pe);continue}if(Pe=this.tokenizer.heading(Be)){Be=Be.substring(Pe.raw.length),ne.push(Pe);continue}if(Pe=this.tokenizer.nptable(Be)){Be=Be.substring(Pe.raw.length),ne.push(Pe);continue}if(Pe=this.tokenizer.hr(Be)){Be=Be.substring(Pe.raw.length),ne.push(Pe);continue}if(Pe=this.tokenizer.blockquote(Be)){Be=Be.substring(Pe.raw.length),Pe.tokens=this.blockTokens(Pe.text,[],G),ne.push(Pe);continue}if(Pe=this.tokenizer.list(Be)){for(Be=Be.substring(Pe.raw.length),q=Pe.items.length,Ne=0;Ne0)for(;(Pt=this.tokenizer.rules.inline.reflinkSearch.exec(ht))!=null;)ct.includes(Pt[0].slice(Pt[0].lastIndexOf("[")+1,-1))&&(ht=ht.slice(0,Pt.index)+"["+"a".repeat(Pt[0].length-2)+"]"+ht.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Pt=this.tokenizer.rules.inline.blockSkip.exec(ht))!=null;)ht=ht.slice(0,Pt.index)+"["+"a".repeat(Pt[0].length-2)+"]"+ht.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Be;){if(q=this.tokenizer.escape(Be)){Be=Be.substring(q.raw.length),ne.push(q);continue}if(q=this.tokenizer.tag(Be,G,Pe)){Be=Be.substring(q.raw.length),G=q.inLink,Pe=q.inRawBlock,ne.push(q);continue}if(q=this.tokenizer.link(Be)){Be=Be.substring(q.raw.length),q.type==="link"&&(q.tokens=this.inlineTokens(q.text,[],!0,Pe)),ne.push(q);continue}if(q=this.tokenizer.reflink(Be,this.tokens.links)){Be=Be.substring(q.raw.length),q.type==="link"&&(q.tokens=this.inlineTokens(q.text,[],!0,Pe)),ne.push(q);continue}if(q=this.tokenizer.strong(Be,ht,Ne)){Be=Be.substring(q.raw.length),q.tokens=this.inlineTokens(q.text,[],G,Pe),ne.push(q);continue}if(q=this.tokenizer.em(Be,ht,Ne)){Be=Be.substring(q.raw.length),q.tokens=this.inlineTokens(q.text,[],G,Pe),ne.push(q);continue}if(q=this.tokenizer.codespan(Be)){Be=Be.substring(q.raw.length),ne.push(q);continue}if(q=this.tokenizer.br(Be)){Be=Be.substring(q.raw.length),ne.push(q);continue}if(q=this.tokenizer.del(Be)){Be=Be.substring(q.raw.length),q.tokens=this.inlineTokens(q.text,[],G,Pe),ne.push(q);continue}if(q=this.tokenizer.autolink(Be,se)){Be=Be.substring(q.raw.length),ne.push(q);continue}if(!G&&(q=this.tokenizer.url(Be,se))){Be=Be.substring(q.raw.length),ne.push(q);continue}if(q=this.tokenizer.inlineText(Be,Pe,Qe)){Be=Be.substring(q.raw.length),Ne=q.raw.slice(-1),ne.push(q);continue}if(Be){var Gt="Infinite loop on byte: "+Be.charCodeAt(0);if(this.options.silent){console.error(Gt);break}else throw new Error(Gt)}}return ne},x(Tt,null,[{key:"rules",get:function(){return{block:oe,inline:te}}}]),Tt}(),X=f.defaults,Q=U.cleanUrl,ge=U.escape,de=function(){function Tt(Nt){this.options=Nt||X}var Ot=Tt.prototype;return Ot.code=function(Be,ne,G){var Pe=(ne||"").match(/\S*/)[0];if(this.options.highlight){var Ne=this.options.highlight(Be,Pe);Ne!=null&&Ne!==Be&&(G=!0,Be=Ne)}return Pe?'
'+(G?Be:ge(Be,!0))+`
`:"
"+(G?Be:ge(Be,!0))+`
`},Ot.blockquote=function(Be){return`
`+Be+`
`},Ot.html=function(Be){return Be},Ot.heading=function(Be,ne,G,Pe){return this.options.headerIds?"'+Be+" `:""+Be+" `},Ot.hr=function(){return this.options.xhtml?`
`:`
`},Ot.list=function(Be,ne,G){var Pe=ne?"ol":"ul",Ne=ne&&G!==1?' start="'+G+'"':"";return"<"+Pe+Ne+`> `+Be+" `},Ot.listitem=function(Be){return"
  • "+Be+`
  • `},Ot.checkbox=function(Be){return" "},Ot.paragraph=function(Be){return"

    "+Be+`

    `},Ot.table=function(Be,ne){return ne&&(ne=""+ne+""),` `+Be+` `+ne+`
    `},Ot.tablerow=function(Be){return` `+Be+` `},Ot.tablecell=function(Be,ne){var G=ne.header?"th":"td",Pe=ne.align?"<"+G+' align="'+ne.align+'">':"<"+G+">";return Pe+Be+" `},Ot.strong=function(Be){return""+Be+""},Ot.em=function(Be){return""+Be+""},Ot.codespan=function(Be){return""+Be+""},Ot.br=function(){return this.options.xhtml?"
    ":"
    "},Ot.del=function(Be){return""+Be+""},Ot.link=function(Be,ne,G){if(Be=Q(this.options.sanitize,this.options.baseUrl,Be),Be===null)return G;var Pe='",Pe},Ot.image=function(Be,ne,G){if(Be=Q(this.options.sanitize,this.options.baseUrl,Be),Be===null)return G;var Pe=''+G+'":">",Pe},Ot.text=function(Be){return Be},Tt}(),Te=function(){function Tt(){}var Ot=Tt.prototype;return Ot.strong=function(Be){return Be},Ot.em=function(Be){return Be},Ot.codespan=function(Be){return Be},Ot.del=function(Be){return Be},Ot.html=function(Be){return Be},Ot.text=function(Be){return Be},Ot.link=function(Be,ne,G){return""+G},Ot.image=function(Be,ne,G){return""+G},Ot.br=function(){return""},Tt}(),xe=function(){function Tt(){this.seen={}}var Ot=Tt.prototype;return Ot.slug=function(Be){var ne=Be.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(ne)){var G=ne;do this.seen[G]++,ne=G+"-"+this.seen[G];while(this.seen.hasOwnProperty(ne))}return this.seen[ne]=0,ne},Tt}(),le=f.defaults,fe=U.unescape,Ee=function(){function Tt(Nt){this.options=Nt||le,this.options.renderer=this.options.renderer||new de,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Te,this.slugger=new xe}Tt.parse=function(Be,ne){var G=new Tt(ne);return G.parse(Be)};var Ot=Tt.prototype;return Ot.parse=function(Be,ne){ne===void 0&&(ne=!0);var G="",Pe,Ne,q,ht,Pt,ct,Gt,or,Zr,ir,dr,er,Kt,dt,Hr,fn,Nn,Vn,gi=Be.length;for(Pe=0;Pe0&&Hr.tokens[0].type==="text"?(Hr.tokens[0].text=Vn+" "+Hr.tokens[0].text,Hr.tokens[0].tokens&&Hr.tokens[0].tokens.length>0&&Hr.tokens[0].tokens[0].type==="text"&&(Hr.tokens[0].tokens[0].text=Vn+" "+Hr.tokens[0].tokens[0].text)):Hr.tokens.unshift({type:"text",text:Vn}):dt+=Vn),dt+=this.parse(Hr.tokens,Kt),Zr+=this.renderer.listitem(dt,Nn,fn);G+=this.renderer.list(Zr,dr,er);continue}case"html":{G+=this.renderer.html(ir.text);continue}case"paragraph":{G+=this.renderer.paragraph(this.parseInline(ir.tokens));continue}case"text":{for(Zr=ir.tokens?this.parseInline(ir.tokens):ir.text;Pe+1An error occurred:

    "+Je(q.message+"",!0)+"
    ";throw q}}at.options=at.setOptions=function(Tt){return Ge(at.defaults,Tt),et(at.defaults),at},at.getDefaults=Ce,at.defaults=ze,at.use=function(Tt){var Ot=Ge({},Tt);if(Tt.renderer&&function(){var Be=at.defaults.renderer||new de,ne=function(Ne){var q=Be[Ne];Be[Ne]=function(){for(var ht=arguments.length,Pt=new Array(ht),ct=0;ct=0;e--){if(!C(n[e]))continue;var s=n[e].split("="),t=unescape(s[0]),a=unescape(s[1]);i(a,t)}}function f(i,n){if(!i)return;A.cookie=escape(i)+"="+escape(n)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function c(i){if(!i||!r(i))return;A.cookie=escape(i)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function o(){g(function(i,n){c(n)})}function r(i){return new RegExp("(?:^|;\\s*)"+escape(i).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(A.cookie)}},Ducp:function(H,P,d){var O=d("bYtY"),x=d("IwbS"),C=d("+TT/"),A=d("XpcN"),b=x.Group,g=["width","height"],f=["x","y"],c=A.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new b),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new b),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(r,i,n,e,s,t,a){var l=this;c.superCall(this,"renderInner",r,i,n,e,s,t,a);var u=this._controllerGroup,h=i.get("pageIconSize",!0);O.isArray(h)||(h=[h,h]),m("pagePrev",0);var p=i.getModel("pageTextStyle");u.add(new x.Text({name:"pageText",style:{textFill:p.getTextColor(),font:p.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),m("pageNext",1);function m(v,y){var E=v+"DataIndex",T=x.createIcon(i.get("pageIcons",!0)[i.getOrient().name][y],{onclick:O.bind(l._pageGo,l,E,i,e)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});T.name=v,u.add(T)}},layoutInner:function(r,i,n,e,s,t){var a=this.getSelectorGroup(),l=r.getOrient().index,u=g[l],h=f[l],p=g[1-l],m=f[1-l];s&&C.box("horizontal",a,r.get("selectorItemGap",!0));var v=r.get("selectorButtonGap",!0),y=a.getBoundingRect(),E=[-y.x,-y.y],T=O.clone(n);s&&(T[u]=n[u]-y[u]-v);var w=this._layoutContentAndController(r,e,T,l,u,p,m);if(s){if(t==="end")E[l]+=w[u]+v;else{var S=y[u]+v;E[l]-=S,w[h]-=S}w[u]+=y[u]+v,E[1-l]+=w[m]+w[p]/2-y[p]/2,w[p]=Math.max(w[p],y[p]),w[m]=Math.min(w[m],y[m]+E[1-l]),a.attr("position",E)}return w},_layoutContentAndController:function(r,i,n,e,s,t,a){var l=this.getContentGroup(),u=this._containerGroup,h=this._controllerGroup;C.box(r.get("orient"),l,r.get("itemGap"),e?n.width:null,e?null:n.height),C.box("horizontal",h,r.get("pageButtonItemGap",!0));var p=l.getBoundingRect(),m=h.getBoundingRect(),v=this._showController=p[s]>n[s],y=[-p.x,-p.y];i||(y[e]=l.position[e]);var E=[0,0],T=[-m.x,-m.y],w=O.retrieve2(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(v){var S=r.get("pageButtonPosition",!0);S==="end"?T[e]+=n[s]-m[s]:E[e]+=m[s]+w}T[1-e]+=p[t]/2-m[t]/2,l.attr("position",y),u.attr("position",E),h.attr("position",T);var _={x:0,y:0};if(_[s]=v?n[s]:p[s],_[t]=Math.max(p[t],m[t]),_[a]=Math.min(0,m[a]+T[1-e]),u.__rectSize=n[s],v){var I={x:0,y:0};I[s]=Math.max(n[s]-m[s]-w,0),I[t]=_[t],u.setClipPath(new x.Rect({shape:I})),u.__rectSize=I[s]}else h.eachChild(function(N){N.attr({invisible:!0,silent:!0})});var L=this._getPageInfo(r);return L.pageIndex!=null&&x.updateProps(l,{position:L.contentPosition},v?r:!1),this._updatePageInfoView(r,L),_},_pageGo:function(r,i,n){var e=this._getPageInfo(i)[r];e!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:e,legendId:i.id})},_updatePageInfoView:function(r,i){var n=this._controllerGroup;O.each(["pagePrev","pageNext"],function(u){var h=i[u+"DataIndex"]!=null,p=n.childOfName(u);p&&(p.setStyle("fill",h?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),p.cursor=h?"pointer":"default")});var e=n.childOfName("pageText"),s=r.get("pageFormatter"),t=i.pageIndex,a=t!=null?t+1:0,l=i.pageCount;e&&s&&e.setStyle("text",O.isString(s)?s.replace("{current}",a).replace("{total}",l):s({current:a,total:l}))},_getPageInfo:function(r){var i=r.get("scrollDataIndex",!0),n=this.getContentGroup(),e=this._containerGroup.__rectSize,s=r.getOrient().index,t=g[s],a=f[s],l=this._findTargetItemIndex(i),u=n.children(),h=u[l],p=u.length,m=p?1:0,v={contentPosition:n.position.slice(),pageCount:m,pageIndex:m-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return v;var y=_(h);v.contentPosition[s]=-y.s;for(var E=l+1,T=y,w=y,S=null;E<=p;++E)S=_(u[E]),(!S&&w.e>T.s+e||S&&!I(S,T.s))&&(w.i>T.i?T=w:T=S,T&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=T.i),++v.pageCount)),w=S;for(var E=l-1,T=y,w=y,S=null;E>=-1;--E)S=_(u[E]),(!S||!I(w,S.s))&&T.i=N&&L.s<=N+e}},_findTargetItemIndex:function(r){if(!this._showController)return 0;var i,n=this.getContentGroup(),e;return n.eachChild(function(s,t){var a=s.__legendDataIndex;e==null&&a!=null&&(e=t),a===r&&(i=t)}),i!=null?i:e}}),o=c;H.exports=o},"E/ki":function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},E2g8:function(H,P,d){(function(O,x){/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.8+1e68dce6 */(function(C,A){H.exports=A()})(this,function(){"use strict";function C(de){var Te=typeof de;return de!==null&&(Te==="object"||Te==="function")}function A(de){return typeof de=="function"}var b=void 0;Array.isArray?b=Array.isArray:b=function(Te){return Object.prototype.toString.call(Te)==="[object Array]"};var g=b,f=0,c=void 0,o=void 0,r=function(Te,xe){y[f]=Te,y[f+1]=xe,f+=2,f===2&&(o?o(E):w())};function i(de){o=de}function n(de){r=de}var e=typeof window!="undefined"?window:void 0,s=e||{},t=s.MutationObserver||s.WebKitMutationObserver,a=typeof self=="undefined"&&typeof O!="undefined"&&{}.toString.call(O)==="[object process]",l=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function u(){return function(){return O.nextTick(E)}}function h(){return typeof c!="undefined"?function(){c(E)}:v()}function p(){var de=0,Te=new t(E),xe=document.createTextNode("");return Te.observe(xe,{characterData:!0}),function(){xe.data=de=++de%2}}function m(){var de=new MessageChannel;return de.port1.onmessage=E,function(){return de.port2.postMessage(0)}}function v(){var de=setTimeout;return function(){return de(E,1)}}var y=new Array(1e3);function E(){for(var de=0;de>>24)&16711935|(n[s]<<24|n[s]>>>8)&4278255360;var t=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],a=this._C=[n[2]<<16|n[2]>>>16,n[0]&4294901760|n[1]&65535,n[3]<<16|n[3]>>>16,n[1]&4294901760|n[2]&65535,n[0]<<16|n[0]>>>16,n[2]&4294901760|n[3]&65535,n[1]<<16|n[1]>>>16,n[3]&4294901760|n[0]&65535];this._b=0;for(var s=0;s<4;s++)r.call(this);for(var s=0;s<8;s++)a[s]^=t[s+4&7];if(e){var l=e.words,u=l[0],h=l[1],p=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360,m=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,v=p>>>16|m&4294901760,y=m<<16|p&65535;a[0]^=p,a[1]^=v,a[2]^=m,a[3]^=y,a[4]^=p,a[5]^=v,a[6]^=m,a[7]^=y;for(var s=0;s<4;s++)r.call(this)}},_doProcessBlock:function(n,e){var s=this._X;r.call(this),g[0]=s[0]^s[5]>>>16^s[3]<<16,g[1]=s[2]^s[7]>>>16^s[5]<<16,g[2]=s[4]^s[1]>>>16^s[7]<<16,g[3]=s[6]^s[3]>>>16^s[1]<<16;for(var t=0;t<4;t++)g[t]=(g[t]<<8|g[t]>>>24)&16711935|(g[t]<<24|g[t]>>>8)&4278255360,n[e+t]^=g[t]},blockSize:128/32,ivSize:64/32});function r(){for(var i=this._X,n=this._C,e=0;e<8;e++)f[e]=n[e];n[0]=n[0]+1295307597+this._b|0,n[1]=n[1]+3545052371+(n[0]>>>0>>0?1:0)|0,n[2]=n[2]+886263092+(n[1]>>>0>>0?1:0)|0,n[3]=n[3]+1295307597+(n[2]>>>0>>0?1:0)|0,n[4]=n[4]+3545052371+(n[3]>>>0>>0?1:0)|0,n[5]=n[5]+886263092+(n[4]>>>0>>0?1:0)|0,n[6]=n[6]+1295307597+(n[5]>>>0>>0?1:0)|0,n[7]=n[7]+3545052371+(n[6]>>>0>>0?1:0)|0,this._b=n[7]>>>0>>0?1:0;for(var e=0;e<8;e++){var s=i[e]+n[e],t=s&65535,a=s>>>16,l=((t*t>>>17)+t*a>>>15)+a*a,u=((s&4294901760)*s|0)+((s&65535)*s|0);c[e]=l^u}i[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,i[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,i[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,i[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,i[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,i[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,i[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,i[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}x.Rabbit=A._createHelper(o)}(),O.Rabbit})},E9nw:function(H,P){H.exports=function(){var d=document.getSelection();if(!d.rangeCount)return function(){};for(var O=document.activeElement,x=[],C=0;C`,triples:"",explode:"[]{}"},C=O.Pos;O.defineOption("autoCloseBrackets",!1,function(t,a,l){l&&l!=O.Init&&(t.removeKeyMap(b),t.state.closeBrackets=null),a&&(g(A(a,"pairs")),t.state.closeBrackets=a,t.addKeyMap(b))});function A(t,a){return a=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[a]!=null?t[a]:x[a]}var b={Backspace:o,Enter:r};function g(t){for(var a=0;a=0;h--){var m=u[h].head;t.replaceRange("",C(m.line,m.ch-1),C(m.line,m.ch+1),"+delete")}}function r(t){var a=c(t),l=a&&A(a,"explode");if(!l||t.getOption("disableInput"))return O.Pass;for(var u=t.listSelections(),h=0;h0;return{anchor:new C(t.anchor.line,t.anchor.ch+(a?-1:1)),head:new C(t.head.line,t.head.ch+(a?1:-1))}}function n(t,a){var l=c(t);if(!l||t.getOption("disableInput"))return O.Pass;var u=A(l,"pairs"),h=u.indexOf(a);if(h==-1)return O.Pass;for(var p=A(l,"closeBefore"),m=A(l,"triples"),v=u.charAt(h+1)==a,y=t.listSelections(),E=h%2==0,T,w=0;w=0&&t.getRange(_,C(_.line,_.ch+3))==a+a+a?I="skipThree":I="skip";else if(v&&_.ch>1&&m.indexOf(a)>=0&&t.getRange(C(_.line,_.ch-2),_)==a+a){if(_.ch>2&&/\bstring/.test(t.getTokenTypeAt(C(_.line,_.ch-2))))return O.Pass;I="addFour"}else if(v){var N=_.ch==0?" ":t.getRange(C(_.line,_.ch-1),_);if(!O.isWordChar(L)&&N!=a&&!O.isWordChar(N))I="both";else return O.Pass}else if(E&&(L.length===0||/\s/.test(L)||p.indexOf(L)>-1))I="both";else return O.Pass;if(!T)T=I;else if(T!=I)return O.Pass}var D=h%2?u.charAt(h-1):a,R=h%2?a:u.charAt(h+1);t.operation(function(){if(T=="skip")t.execCommand("goCharRight");else if(T=="skipThree")for(var B=0;B<3;B++)t.execCommand("goCharRight");else if(T=="surround"){for(var M=t.getSelections(),B=0;B>>24)&16711935|(w<<24|w>>>8)&4278255360}var S=this._hash.words,_=n.words,I=e.words,L=c.words,N=o.words,D=r.words,R=i.words,B,M,U,F,j,W,V,z,J,$;W=B=S[0],V=M=S[1],z=U=S[2],J=F=S[3],$=j=S[4];for(var ce,E=0;E<80;E+=1)ce=B+v[y+L[E]]|0,E<16?ce+=t(M,U,F)+_[0]:E<32?ce+=a(M,U,F)+_[1]:E<48?ce+=l(M,U,F)+_[2]:E<64?ce+=u(M,U,F)+_[3]:ce+=h(M,U,F)+_[4],ce=ce|0,ce=p(ce,D[E]),ce=ce+j|0,B=j,j=F,F=p(U,10),U=M,M=ce,ce=W+v[y+N[E]]|0,E<16?ce+=h(V,z,J)+I[0]:E<32?ce+=u(V,z,J)+I[1]:E<48?ce+=l(V,z,J)+I[2]:E<64?ce+=a(V,z,J)+I[3]:ce+=t(V,z,J)+I[4],ce=ce|0,ce=p(ce,R[E]),ce=ce+$|0,W=$,$=J,J=p(z,10),z=V,V=ce;ce=S[1]+U+J|0,S[1]=S[2]+F+$|0,S[2]=S[3]+j+W|0,S[3]=S[4]+B+V|0,S[4]=S[0]+M+z|0,S[0]=ce},_doFinalize:function(){var v=this._data,y=v.words,E=this._nDataBytes*8,T=v.sigBytes*8;y[T>>>5]|=128<<24-T%32,y[(T+64>>>9<<4)+14]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,v.sigBytes=(y.length+1)*4,this._process();for(var w=this._hash,S=w.words,_=0;_<5;_++){var I=S[_];S[_]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return w},clone:function(){var v=g.clone.call(this);return v._hash=this._hash.clone(),v}});function t(m,v,y){return m^v^y}function a(m,v,y){return m&v|~m&y}function l(m,v,y){return(m|~v)^y}function u(m,v,y){return m&y|v&~y}function h(m,v,y){return m^(v|~y)}function p(m,v){return m<>>32-v}C.RIPEMD160=g._createHelper(s),C.HmacRIPEMD160=g._createHmacHelper(s)}(Math),O.RIPEMD160})},EMyp:function(H,P,d){var O=d("ProS"),x=d("bYtY"),C=d("mFDi"),A=d("K4ya"),b=d("qJCg"),g=d("iLNv"),f=d("vZ6x"),c=["inBrush","outOfBrush"],o="__ecBrushSelect",r="__ecInBrushSelectEvent",i=O.PRIORITY.VISUAL.BRUSH;O.registerLayout(i,function(m,v,y){m.eachComponent({mainType:"brush"},function(E){y&&y.type==="takeGlobalCursor"&&E.setBrushOption(y.key==="brush"?y.brushOption:{brushType:!1})}),n(m)});function n(m){m.eachComponent({mainType:"brush"},function(v){var y=v.brushTargetManager=new f(v.option,m);y.setInputRanges(v.areas,m)})}O.registerVisual(i,function(m,v,y){var E=[],T,w;m.eachComponent({mainType:"brush"},function(S,_){var I={brushId:S.id,brushIndex:_,brushName:S.name,areas:x.clone(S.areas),selected:[]};E.push(I);var L=S.option,N=L.brushLink,D=[],R=[],B=[],M=0;_||(T=L.throttleType,w=L.throttleDelay);var U=x.map(S.areas,function(J){return u(x.defaults({boundingRect:h[J.brushType](J)},J))}),F=A.createVisualMappings(S.option,c,function(J){J.mappingMethod="fixed"});x.isArray(N)&&x.each(N,function(J){D[J]=1});function j(J){return N==="all"||D[J]}function W(J){return!!J.length}m.eachSeries(function(J,$){var ce=B[$]=[];J.subType==="parallel"?V(J,$,ce):z(J,$,ce)});function V(J,$){var ce=J.coordinateSystem;M|=ce.hasAxisBrushed(),j($)&&ce.eachActiveState(J.getData(),function(ae,Ae){ae==="active"&&(R[Ae]=1)})}function z(J,$,ce){var ae=a(J);if(!ae||l(S,$))return;if(x.each(U,function(Ie){ae[Ie.brushType]&&S.brushTargetManager.controlSeries(Ie,J,m)&&ce.push(Ie),M|=W(ce)}),j($)&&W(ce)){var Ae=J.getData();Ae.each(function(Ie){t(ae,ce,Ae,Ie)&&(R[Ie]=1)})}}m.eachSeries(function(J,$){var ce={seriesId:J.id,seriesIndex:$,seriesName:J.name,dataIndex:[]};I.selected.push(ce);var ae=a(J),Ae=B[$],Ie=J.getData(),De=j($)?function(Ke){return R[Ke]?(ce.dataIndex.push(Ie.getRawIndex(Ke)),"inBrush"):"outOfBrush"}:function(Ke){return t(ae,Ae,Ie,Ke)?(ce.dataIndex.push(Ie.getRawIndex(Ke)),"inBrush"):"outOfBrush"};(j($)?M:W(Ae))&&A.applyVisual(c,F,Ie,De)})}),e(v,T,w,E,y)});function e(m,v,y,E,T){if(!T)return;var w=m.getZr();if(w[r])return;w[o]||(w[o]=s);var S=g.createOrUpdate(w,o,y,v);S(m,E)}function s(m,v){if(!m.isDisposed()){var y=m.getZr();y[r]=!0,m.dispatchAction({type:"brushSelect",batch:v}),y[r]=!1}}function t(m,v,y,E){for(var T=0,w=v.length;Tv[0][1]&&(v[0][1]=w[0]),w[1]v[1][1]&&(v[1][1]=w[1])}return v&&p(v)}};function p(m){return new C(m[0][0],m[1][0],m[0][1]-m[0][0],m[1][1]-m[1][0])}P.layoutCovers=n},ERHi:function(H,P,d){var O=d("ProS");d("Z6js"),d("R4Th");var x=d("f5Yq"),C=d("h8O9");O.registerVisual(x("effectScatter","circle")),O.registerLayout(C("effectScatter"))},ETIr:function(H,P,d){(function(O,x){H.exports=P=x(d("Ib8C"))})(this,function(O){return function(){var x=O,C=x.lib,A=C.WordArray,b=x.enc,g=b.Base64={stringify:function(o){var r=o.words,i=o.sigBytes,n=this._map;o.clamp();for(var e=[],s=0;s>>2]>>>24-s%4*8&255,a=r[s+1>>>2]>>>24-(s+1)%4*8&255,l=r[s+2>>>2]>>>24-(s+2)%4*8&255,u=t<<16|a<<8|l,h=0;h<4&&s+h*.75>>6*(3-h)&63));var p=n.charAt(64);if(p)for(;e.length%4;)e.push(p);return e.join("")},parse:function(o){var r=o.length,i=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var e=0;e>>6-e%4*2,a=s|t;i[n>>>2]|=a<<24-n%4*8,n++}return A.create(i,n)}}(),O.enc.Base64})},EXcs:function(H,P,d){"use strict";var O=function(){return{height:0,opacity:0}},x=function(f){return{height:f.scrollHeight,opacity:1}},C=function(f){return{height:f.offsetHeight}},A=function(f,c){return c.propertyName==="height"},b={motionName:"ant-motion-collapse",onAppearStart:O,onEnterStart:O,onAppearActive:x,onEnterActive:x,onLeaveStart:C,onLeaveActive:O,onAppearEnd:A,onEnterEnd:A,onLeaveEnd:A,motionDeadline:500};P.a=b},Em2t:function(H,P,d){var O=d("bahg"),x=d("quyA"),C=d("0JQy");function A(b){return x(b)?C(b):O(b)}H.exports=A},Ez2D:function(H,P,d){var O=d("bYtY"),x=d("4NO4");function C(A,b){var g=[],f=A.seriesIndex,c;if(f==null||!(c=b.getSeriesByIndex(f)))return{point:[]};var o=c.getData(),r=x.queryDataIndex(o,A);if(r==null||r<0||O.isArray(r))return{point:[]};var i=o.getItemGraphicEl(r),n=c.coordinateSystem;if(c.getTooltipPosition)g=c.getTooltipPosition(r)||[];else if(n&&n.dataToPoint)g=n.dataToPoint(o.getValues(O.map(n.dimensions,function(s){return o.mapDimension(s)}),r,!0))||[];else if(i){var e=i.getBoundingRect().clone();e.applyTransform(i.transform),g=[e.x+e.width/2,e.y+e.height/2]}return{point:g,el:i}}H.exports=C},"F+F2":function(H,P,d){(function(O,x){H.exports=P=x(d("Ib8C"))})(this,function(O){return function(){if(typeof ArrayBuffer!="function")return;var x=O,C=x.lib,A=C.WordArray,b=A.init,g=A.init=function(f){if(f instanceof ArrayBuffer&&(f=new Uint8Array(f)),(f instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&f instanceof Uint8ClampedArray||f instanceof Int16Array||f instanceof Uint16Array||f instanceof Int32Array||f instanceof Uint32Array||f instanceof Float32Array||f instanceof Float64Array)&&(f=new Uint8Array(f.buffer,f.byteOffset,f.byteLength)),f instanceof Uint8Array){for(var c=f.byteLength,o=[],r=0;r>>2]|=f[r]<<24-r%4*8;b.call(this,o,c)}else b.apply(this,arguments)};g.prototype=A}(),O.lib.WordArray})},F0hE:function(H,P,d){var O=d("ProS"),x=d("bYtY"),C=d("ca2m"),A=d("Qxkt"),b=d("ICMv"),g=C.valueAxis;function f(r,i){return x.defaults({show:i},r)}var c=O.extendComponentModel({type:"radar",optionUpdated:function(){var r=this.get("boundaryGap"),i=this.get("splitNumber"),n=this.get("scale"),e=this.get("axisLine"),s=this.get("axisTick"),t=this.get("axisType"),a=this.get("axisLabel"),l=this.get("name"),u=this.get("name.show"),h=this.get("name.formatter"),p=this.get("nameGap"),m=this.get("triggerEvent"),v=x.map(this.get("indicator")||[],function(y){y.max!=null&&y.max>0&&!y.min?y.min=0:y.min!=null&&y.min<0&&!y.max&&(y.max=0);var E=l;if(y.color!=null&&(E=x.defaults({color:y.color},l)),y=x.merge(x.clone(y),{boundaryGap:r,splitNumber:i,scale:n,axisLine:e,axisTick:s,axisType:t,axisLabel:a,name:y.text,nameLocation:"end",nameGap:p,nameTextStyle:E,triggerEvent:m},!1),u||(y.name=""),typeof h=="string"){var T=y.name;y.name=h.replace("{value}",T!=null?T:"")}else typeof h=="function"&&(y.name=h(y.name,y));var w=x.extend(new A(y,null,this.ecModel),b);return w.mainType="radar",w.componentIndex=this.componentIndex,w},this);this.getIndicatorModels=function(){return v}},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:x.merge({lineStyle:{color:"#bbb"}},g.axisLine),axisLabel:f(g.axisLabel,!1),axisTick:f(g.axisTick,!1),axisType:"interval",splitLine:f(g.splitLine,!0),splitArea:f(g.splitArea,!0),indicator:[]}}),o=c;H.exports=o},F5Ls:function(H,P){var d={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function O(x,C){if(x==="china"){var A=d[C.name];if(A){var b=C.center;b[0]+=A[0]/10.5,b[1]+=-A[1]/(10.5/.75)}}}H.exports=O},F7hV:function(H,P,d){var O=d("MBQ8"),x=O.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var C=this.get("progressiveThreshold"),A=this.get("largeThreshold");return A>C&&(C=A),C},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}}});H.exports=x},F9bG:function(H,P,d){var O=d("bYtY"),x=d("ItGF"),C=d("4NO4"),A=C.makeInner,b=A(),g=O.each;function f(s,t,a){if(x.node)return;var l=t.getZr();b(l).records||(b(l).records={}),c(l,t);var u=b(l).records[s]||(b(l).records[s]={});u.handler=a}function c(s,t){if(b(s).initialized)return;b(s).initialized=!0,a("click",O.curry(i,"click")),a("mousemove",O.curry(i,"mousemove")),a("globalout",r);function a(l,u){s.on(l,function(h){var p=n(t);g(b(s).records,function(m){m&&u(m,h,p.dispatchAction)}),o(p.pendings,t)})}}function o(s,t){var a=s.showTip.length,l=s.hideTip.length,u;a?u=s.showTip[a-1]:l&&(u=s.hideTip[l-1]),u&&(u.dispatchAction=null,t.dispatchAction(u))}function r(s,t,a){s.handler("leave",null,a)}function i(s,t,a,l){t.handler(s,a,l)}function n(s){var t={showTip:[],hideTip:[]},a=function(l){var u=t[l.type];u?u.push(l):(l.dispatchAction=a,s.dispatchAction(l))};return{dispatchAction:a,pendings:t}}function e(s,t){if(x.node)return;var a=t.getZr(),l=(b(a).records||{})[s];l&&(b(a).records[s]=null)}P.register=f,P.unregister=e},FBjb:function(H,P,d){var O=d("bYtY"),x=d("oVpE"),C=x.createSymbol,A=d("IwbS"),b=d("OELB"),g=b.parsePercent,f=d("x3X8"),c=f.getDefaultLabel;function o(p,m,v){A.Group.call(this),this.updateData(p,m,v)}var r=o.prototype,i=o.getSymbolSize=function(p,m){var v=p.getItemVisual(m,"symbolSize");return v instanceof Array?v.slice():[+v,+v]};function n(p){return[p[0]/2,p[1]/2]}function e(p,m){this.parent.drift(p,m)}r._createSymbol=function(p,m,v,y,E){this.removeAll();var T=m.getItemVisual(v,"color"),w=C(p,-1,-1,2,2,T,E);w.attr({z2:100,culling:!0,scale:n(y)}),w.drift=e,this._symbolType=p,this.add(w)},r.stopSymbolAnimation=function(p){this.childAt(0).stopAnimation(p)},r.getSymbolPath=function(){return this.childAt(0)},r.getScale=function(){return this.childAt(0).scale},r.highlight=function(){this.childAt(0).trigger("emphasis")},r.downplay=function(){this.childAt(0).trigger("normal")},r.setZ=function(p,m){var v=this.childAt(0);v.zlevel=p,v.z=m},r.setDraggable=function(p){var m=this.childAt(0);m.draggable=p,m.cursor=p?"move":m.cursor},r.updateData=function(p,m,v){this.silent=!1;var y=p.getItemVisual(m,"symbol")||"circle",E=p.hostModel,T=i(p,m),w=y!==this._symbolType;if(w){var S=p.getItemVisual(m,"symbolKeepAspect");this._createSymbol(y,p,m,T,S)}else{var _=this.childAt(0);_.silent=!1,A.updateProps(_,{scale:n(T)},E,m)}if(this._updateCommon(p,m,T,v),w){var _=this.childAt(0),I=v&&v.fadeIn,L={scale:_.scale.slice()};I&&(L.style={opacity:_.style.opacity}),_.scale=[0,0],I&&(_.style.opacity=0),A.initProps(_,L,E,m)}this._seriesModel=E};var s=["itemStyle"],t=["emphasis","itemStyle"],a=["label"],l=["emphasis","label"];r._updateCommon=function(p,m,v,y){var E=this.childAt(0),T=p.hostModel,w=p.getItemVisual(m,"color");E.type!=="image"?E.useStyle({strokeNoScale:!0}):E.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var S=y&&y.itemStyle,_=y&&y.hoverItemStyle,I=y&&y.symbolOffset,L=y&&y.labelModel,N=y&&y.hoverLabelModel,D=y&&y.hoverAnimation,R=y&&y.cursorStyle;if(!y||p.hasItemOption){var B=y&&y.itemModel?y.itemModel:p.getItemModel(m);S=B.getModel(s).getItemStyle(["color"]),_=B.getModel(t).getItemStyle(),I=B.getShallow("symbolOffset"),L=B.getModel(a),N=B.getModel(l),D=B.getShallow("hoverAnimation"),R=B.getShallow("cursor")}else _=O.extend({},_);var M=E.style,U=p.getItemVisual(m,"symbolRotate");E.attr("rotation",(U||0)*Math.PI/180||0),I&&E.attr("position",[g(I[0],v[0]),g(I[1],v[1])]),R&&E.attr("cursor",R),E.setColor(w,y&&y.symbolInnerColor),E.setStyle(S);var F=p.getItemVisual(m,"opacity");F!=null&&(M.opacity=F);var j=p.getItemVisual(m,"liftZ"),W=E.__z2Origin;j!=null?W==null&&(E.__z2Origin=E.z2,E.z2+=j):W!=null&&(E.z2=W,E.__z2Origin=null);var V=y&&y.useNameLabel;A.setLabelStyle(M,_,L,N,{labelFetcher:T,labelDataIndex:m,defaultText:z,isRectText:!0,autoColor:w});function z(J,$){return V?p.getName(J):c(p,J)}E.__symbolOriginalScale=n(v),E.hoverStyle=_,E.highDownOnUpdate=D&&T.isAnimationEnabled()?u:null,A.setHoverStyle(E)};function u(p,m){if(this.incremental||this.useHoverLayer)return;if(m==="emphasis"){var v=this.__symbolOriginalScale,y=v[1]/v[0],E={scale:[Math.max(v[0]*1.1,v[0]+3),Math.max(v[1]*1.1,v[1]+3*y)]};this.animateTo(E,400,"elasticOut")}else m==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}r.fadeOut=function(p,m){var v=this.childAt(0);this.silent=v.silent=!0,!(m&&m.keepLabel)&&(v.style.text=null),A.updateProps(v,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,p)},O.inherits(o,A.Group);var h=o;H.exports=h},FGaS:function(H,P,d){var O=d("ProS"),x=d("IwbS"),C=d("bYtY"),A=d("oVpE");function b(f){return C.isArray(f)||(f=[+f,+f]),f}var g=O.extendChartView({type:"radar",render:function(f,c,o){var r=f.coordinateSystem,i=this.group,n=f.getData(),e=this._data;function s(l,u){var h=l.getItemVisual(u,"symbol")||"circle",p=l.getItemVisual(u,"color");if(h==="none")return;var m=b(l.getItemVisual(u,"symbolSize")),v=A.createSymbol(h,-1,-1,2,2,p);return v.attr({style:{strokeNoScale:!0},z2:100,scale:[m[0]/2,m[1]/2]}),v}function t(l,u,h,p,m,v){h.removeAll();for(var y=0;y=48&&a.keyCode<=57)l=a.keyCode;else if(a.keyCode>=65&&a.keyCode<=90){var h=String.fromCharCode(a.keyCode);a.shiftKey?h=h.toUpperCase():h=h.toLowerCase(),l=h.charCodeAt()}else l=0;this._sendKeyEvent(l,u,!0)}},{key:"_handleKeyUp",value:function(a){(0,C.stopEvent)(a);var l=this._getKeyCode(a);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(b.default.XK_Control_L,"ControlLeft",!0)),(g.isMac()||g.isIOS())&&l==="CapsLock"){this._sendKeyEvent(b.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(b.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[l],l,!1),g.isWindows()&&(l==="ShiftLeft"||l==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(b.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){x.Debug(">> Keyboard.allKeysUp");for(var a in this._keyDownList)this._sendKeyEvent(this._keyDownList[a],a,!1);x.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(a){if(a.skipCheckAlt)return;if(a.altKey)return;var l=this._target,u=this._keyDownList;["AltLeft","AltRight"].forEach(function(h){if(!(h in u))return;var p=new KeyboardEvent("keyup",{key:u[h],code:h});p.skipCheckAlt=!0,l.dispatchEvent(p)})}},{key:"grab",value:function(){if(this._target.addEventListener("keydown",this._eventHandlers.keydown),this._target.addEventListener("keyup",this._eventHandlers.keyup),this._target.addEventListener("keypress",this._eventHandlers.keypress),window.addEventListener("blur",this._eventHandlers.blur),g.isWindows()&&g.isFirefox()){var a=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(l){return document.addEventListener(l,a,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(g.isWindows()&&g.isFirefox()){var a=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(l){return document.removeEventListener(l,a)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),s}();P.default=e},FxDU:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.createSensor=void 0;var O=d("QO+J"),x=d("j5sG"),C=typeof ResizeObserver!="undefined"?x.createSensor:O.createSensor;P.createSensor=C},GGyF:function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("wgjA")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="LeftOutlined";var c=A.forwardRef(f);P.default=c},GIiI:function(H,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),C={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"},A=C,b=d("6VBw"),g=function(o,r){return x.createElement(b.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:A}))};g.displayName="PoweroffOutlined";var f=P.a=x.forwardRef(g)},GMDS:function(H,P,d){var O=d("bYtY"),x=d("4NgU"),C=d("jkPA"),A=x.prototype,b=x.extend({type:"ordinal",init:function(f,c){(!f||O.isArray(f))&&(f=new C({categories:f})),this._ordinalMeta=f,this._extent=c||[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),A.contain.call(this,f)&&this._ordinalMeta.categories[f]!=null},normalize:function(f){return A.normalize.call(this,this.parse(f))},scale:function(f){return Math.round(A.scale.call(this,f))},getTicks:function(){for(var f=[],c=this._extent,o=c[0];o<=c[1];)f.push(o),o++;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,c){this.unionExtent(f.getApproximateExtent(c))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:O.noop,niceExtent:O.noop});b.create=function(){return new b};var g=b;H.exports=g},GQ8N:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.toUnsigned32bit=O,P.toSigned32bit=x;function O(C){return C>>>0}function x(C){return C|0}},GRuw:function(H,P,d){(function(O,x,C){H.exports=P=x(d("Ib8C"),d("lPiR"))})(this,function(O){return function(){var x=O,C=x.lib,A=C.WordArray,b=x.algo,g=b.SHA256,f=b.SHA224=g.extend({_doReset:function(){this._hash=new A.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=g._doFinalize.call(this);return o.sigBytes-=4,o}});x.SHA224=g._createHelper(f),x.HmacSHA224=g._createHmacHelper(f)}(),O.SHA224})},GUcZ:function(H,P,d){"use strict";var O=d("fWQN"),x=d("mtLc"),C=function(){function jt(){Object(O.a)(this,jt)}return Object(x.a)(jt,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(_e,Oe){return _e.__proto__=Oe,_e},Object.assign=Object.assign||function(_e){if(_e==null)throw new TypeError("Cannot convert undefined or null to object");for(var Oe=Object(_e),Le=1;Le ").concat(Oe);if(jt.ENABLE_CALLBACK&&jt.emitter.emit("log","error",Le),!jt.ENABLE_ERROR)return;console.error?console.error(Le):console.warn?console.warn(Le):console.log(Le)}},{key:"i",value:function(_e,Oe){(!_e||jt.FORCE_GLOBAL_TAG)&&(_e=jt.GLOBAL_TAG);var Le="[".concat(_e,"] > ").concat(Oe);if(jt.ENABLE_CALLBACK&&jt.emitter.emit("log","info",Le),!jt.ENABLE_INFO)return;console.info?console.info(Le):console.log(Le)}},{key:"w",value:function(_e,Oe){(!_e||jt.FORCE_GLOBAL_TAG)&&(_e=jt.GLOBAL_TAG);var Le="[".concat(_e,"] > ").concat(Oe);if(jt.ENABLE_CALLBACK&&jt.emitter.emit("log","warn",Le),!jt.ENABLE_WARN)return;console.warn?console.warn(Le):console.log(Le)}},{key:"d",value:function(_e,Oe){(!_e||jt.FORCE_GLOBAL_TAG)&&(_e=jt.GLOBAL_TAG);var Le="[".concat(_e,"] > ").concat(Oe);if(jt.ENABLE_CALLBACK&&jt.emitter.emit("log","debug",Le),!jt.ENABLE_DEBUG)return;console.debug?console.debug(Le):console.log(Le)}},{key:"v",value:function(_e,Oe){(!_e||jt.FORCE_GLOBAL_TAG)&&(_e=jt.GLOBAL_TAG);var Le="[".concat(_e,"] > ").concat(Oe);if(jt.ENABLE_CALLBACK&&jt.emitter.emit("log","verbose",Le),!jt.ENABLE_VERBOSE)return;console.log(Le)}}]),jt}();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 g.a;var c=f,o=function(){function jt(){Object(O.a)(this,jt),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(x.a)(jt,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(_e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=_e,this._totalBytes+=_e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=_e,this._totalBytes+=_e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=_e,this._totalBytes+=_e,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var _e=(this._now()-this._lastCheckpoint)/1e3;return _e==0&&(_e=1),this._intervalBytes/_e/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 _e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/_e/1024}}]),jt}(),r=o,i=d("yKVA"),n=d("879j"),e=function(){function jt(St){Object(O.a)(this,jt),this._message=St}return Object(x.a)(jt,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),jt}(),s=function(jt){Object(i.a)(_e,jt);var St=Object(n.a)(_e);function _e(Oe){return Object(O.a)(this,_e),St.call(this,Oe)}return Object(x.a)(_e,[{key:"name",get:function(){return"IllegalStateException"}}]),_e}(e),t=function(jt){Object(i.a)(_e,jt);var St=Object(n.a)(_e);function _e(Oe){return Object(O.a)(this,_e),St.call(this,Oe)}return Object(x.a)(_e,[{key:"name",get:function(){return"InvalidArgumentException"}}]),_e}(e),a=function(jt){Object(i.a)(_e,jt);var St=Object(n.a)(_e);function _e(Oe){return Object(O.a)(this,_e),St.call(this,Oe)}return Object(x.a)(_e,[{key:"name",get:function(){return"NotImplementedException"}}]),_e}(e),l={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},u={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},h=function(){function jt(St){Object(O.a)(this,jt),this._type=St||"undefined",this._status=l.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(x.a)(jt,[{key:"destroy",value:function(){this._status=l.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===l.kConnecting||this._status===l.kBuffering}},{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(_e){this._onContentLengthKnown=_e}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(_e){this._onURLRedirect=_e}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(_e){this._onDataArrival=_e}},{key:"onError",get:function(){return this._onError},set:function(_e){this._onError=_e}},{key:"onComplete",get:function(){return this._onComplete},set:function(_e){this._onComplete=_e}},{key:"open",value:function(_e,Oe){throw new a("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new a("Unimplemented abstract function!")}}]),jt}(),p=d("w4Tj"),m=d("oZsa"),v={};function y(){var jt=self.navigator.userAgent.toLowerCase(),St=/(edge)\/([\w.]+)/.exec(jt)||/(opr)[\/]([\w.]+)/.exec(jt)||/(chrome)[ \/]([\w.]+)/.exec(jt)||/(iemobile)[\/]([\w.]+)/.exec(jt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(jt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(jt)||/(webkit)[ \/]([\w.]+)/.exec(jt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(jt)||/(msie) ([\w.]+)/.exec(jt)||jt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(jt)||jt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(jt)||[],_e=/(ipad)/.exec(jt)||/(ipod)/.exec(jt)||/(windows phone)/.exec(jt)||/(iphone)/.exec(jt)||/(kindle)/.exec(jt)||/(android)/.exec(jt)||/(windows)/.exec(jt)||/(mac)/.exec(jt)||/(linux)/.exec(jt)||/(cros)/.exec(jt)||[],Oe={browser:St[5]||St[3]||St[1]||"",version:St[2]||St[4]||"0",majorVersion:St[4]||St[2]||"0",platform:_e[0]||""},Le={};if(Oe.browser){Le[Oe.browser]=!0;var Ze=Oe.majorVersion.split(".");Le.version={major:parseInt(Oe.majorVersion,10),string:Oe.version},Ze.length>1&&(Le.version.minor=parseInt(Ze[1],10)),Ze.length>2&&(Le.version.build=parseInt(Ze[2],10))}if(Oe.platform&&(Le[Oe.platform]=!0),(Le.chrome||Le.opr||Le.safari)&&(Le.webkit=!0),Le.rv||Le.iemobile){Le.rv&&delete Le.rv;var nt="msie";Oe.browser=nt,Le[nt]=!0}if(Le.edge){delete Le.edge;var ft="msedge";Oe.browser=ft,Le[ft]=!0}if(Le.opr){var Dt="opera";Oe.browser=Dt,Le[Dt]=!0}if(Le.safari&&Le.android){var Ar="android";Oe.browser=Ar,Le[Ar]=!0}Le.name=Oe.browser,Le.platform=Oe.platform;for(var Mr in v)v.hasOwnProperty(Mr)&&delete v[Mr];Object.assign(v,Le)}y();var E=v,T=function(jt){Object(i.a)(_e,jt);var St=Object(n.a)(_e);function _e(Oe,Le){var Ze;return Object(O.a)(this,_e),Ze=St.call(this,"fetch-stream-loader"),Ze.TAG="FetchStreamLoader",Ze._seekHandler=Oe,Ze._config=Le,Ze._needStash=!0,Ze._requestAbort=!1,Ze._contentLength=null,Ze._receivedLength=0,Ze}return Object(x.a)(_e,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(p.a)(Object(m.a)(_e.prototype),"destroy",this).call(this)}},{key:"open",value:function(Le,Ze){var nt=this;this._dataSource=Le,this._range=Ze;var ft=Le.url;this._config.reuseRedirectedURL&&Le.redirectedURL!=null&&(ft=Le.redirectedURL);var Dt=this._seekHandler.getConfig(ft,Ze),Ar=new self.Headers;if(typeof Dt.headers=="object"){var Mr=Dt.headers;for(var un in Mr)Mr.hasOwnProperty(un)&&Ar.append(un,Mr[un])}var Rt={method:"GET",headers:Ar,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var it in this._config.headers)Ar.append(it,this._config.headers[it]);Le.cors===!1&&(Rt.mode="same-origin"),Le.withCredentials&&(Rt.credentials="include"),Le.referrerPolicy&&(Rt.referrerPolicy=Le.referrerPolicy),this._status=l.kConnecting,self.fetch(Dt.url,Rt).then(function(st){if(nt._requestAbort){nt._requestAbort=!1,nt._status=l.kIdle;return}if(st.ok&&st.status>=200&&st.status<=299){if(st.url!==Dt.url&&nt._onURLRedirect){var rr=nt._seekHandler.removeURLParameters(st.url);nt._onURLRedirect(rr)}var Bt=st.headers.get("Content-Length");return Bt!=null&&(nt._contentLength=parseInt(Bt),nt._contentLength!==0&&(nt._onContentLengthKnown&&nt._onContentLengthKnown(nt._contentLength))),nt._pump.call(nt,st.body.getReader())}else if(nt._status=l.kError,nt._onError)nt._onError(u.HTTP_STATUS_CODE_INVALID,{code:st.status,msg:st.statusText});else throw new e("FetchStreamLoader: Http code invalid, "+st.status+" "+st.statusText)}).catch(function(st){if(nt._status=l.kError,nt._onError)nt._onError(u.EXCEPTION,{code:-1,msg:st.message});else throw st})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Le){var Ze=this;return Le.read().then(function(nt){if(nt.done)if(Ze._contentLength!==null&&Ze._receivedLength=15048,Ze=E.msedge?Le:!0;return self.fetch&&self.ReadableStream&&Ze}catch(nt){return!1}}}]),_e}(h),w=T,S=function(jt){Object(i.a)(_e,jt);var St=Object(n.a)(_e);function _e(Oe,Le){var Ze;return Object(O.a)(this,_e),Ze=St.call(this,"xhr-moz-chunked-loader"),Ze.TAG="MozChunkedLoader",Ze._seekHandler=Oe,Ze._config=Le,Ze._needStash=!0,Ze._xhr=null,Ze._requestAbort=!1,Ze._contentLength=null,Ze._receivedLength=0,Ze}return Object(x.a)(_e,[{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),Object(p.a)(Object(m.a)(_e.prototype),"destroy",this).call(this)}},{key:"open",value:function(Le,Ze){this._dataSource=Le,this._range=Ze;var nt=Le.url;this._config.reuseRedirectedURL&&Le.redirectedURL!=null&&(nt=Le.redirectedURL);var ft=this._seekHandler.getConfig(nt,Ze);this._requestURL=ft.url;var Dt=this._xhr=new XMLHttpRequest;if(Dt.open("GET",ft.url,!0),Dt.responseType="moz-chunked-arraybuffer",Dt.onreadystatechange=this._onReadyStateChange.bind(this),Dt.onprogress=this._onProgress.bind(this),Dt.onloadend=this._onLoadEnd.bind(this),Dt.onerror=this._onXhrError.bind(this),Le.withCredentials&&(Dt.withCredentials=!0),typeof ft.headers=="object"){var Ar=ft.headers;for(var Mr in Ar)Ar.hasOwnProperty(Mr)&&Dt.setRequestHeader(Mr,Ar[Mr])}if(typeof this._config.headers=="object"){var un=this._config.headers;for(var Rt in un)un.hasOwnProperty(Rt)&&Dt.setRequestHeader(Rt,un[Rt])}this._status=l.kConnecting,Dt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=l.kComplete}},{key:"_onReadyStateChange",value:function(Le){var Ze=Le.target;if(Ze.readyState===2){if(Ze.responseURL!=null&&Ze.responseURL!==this._requestURL&&this._onURLRedirect){var nt=this._seekHandler.removeURLParameters(Ze.responseURL);this._onURLRedirect(nt)}if(Ze.status!==0&&(Ze.status<200||Ze.status>299))if(this._status=l.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:Ze.status,msg:Ze.statusText});else throw new e("MozChunkedLoader: Http code invalid, "+Ze.status+" "+Ze.statusText);else this._status=l.kBuffering}}},{key:"_onProgress",value:function(Le){if(this._status===l.kError)return;this._contentLength===null&&(Le.total!==null&&Le.total!==0&&(this._contentLength=Le.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var Ze=Le.target.response,nt=this._range.from+this._receivedLength;this._receivedLength+=Ze.byteLength,this._onDataArrival&&this._onDataArrival(Ze,nt,this._receivedLength)}},{key:"_onLoadEnd",value:function(Le){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===l.kError)return;this._status=l.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(Le){this._status=l.kError;var Ze=0,nt=null;if(this._contentLength&&Le.loaded=200&&Ze.status<=299){if(this._status=l.kBuffering,Ze.responseURL!=null){var nt=this._seekHandler.removeURLParameters(Ze.responseURL);Ze.responseURL!==this._currentRequestURL&&nt!==this._currentRedirectedURL&&(this._currentRedirectedURL=nt,this._onURLRedirect&&this._onURLRedirect(nt))}var ft=Ze.getResponseHeader("Content-Length");if(ft!=null&&this._contentLength==null){var Dt=parseInt(ft);Dt>0&&(this._contentLength=Dt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=l.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:Ze.status,msg:Ze.statusText});else throw new e("MSStreamLoader: Http code invalid, "+Ze.status+" "+Ze.statusText);else if(Ze.readyState===3&&(Ze.status>=200&&Ze.status<=299)){this._status=l.kBuffering;var Ar=Ze.response;this._reader.readAsArrayBuffer(Ar)}}},{key:"_xhrOnError",value:function(Le){this._status=l.kError;var Ze=u.EXCEPTION,nt={code:-1,msg:Le.constructor.name+" "+Le.type};if(this._onError)this._onError(Ze,nt);else throw new e(nt.msg)}},{key:"_msrOnProgress",value:function(Le){var Ze=Le.target,nt=Ze.result;if(nt==null){this._doReconnectIfNeeded();return}var ft=nt.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=nt.byteLength;var Dt=this._totalRange.from+this._receivedLength;this._receivedLength+=ft.byteLength,this._onDataArrival&&this._onDataArrival(ft,Dt,this._receivedLength),nt.byteLength>=this._bufferLimit&&(c.v(this.TAG,"MSStream buffer exceeded max size near ".concat(Dt+ft.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(nt=this._range.from+this._contentLength-1)),this._currentRequestRange={from:Ze,to:nt},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Le,Ze){this._lastTimeLoaded=0;var nt=Le.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?nt=this._currentRedirectedURL:Le.redirectedURL!=null&&(nt=Le.redirectedURL));var ft=this._seekHandler.getConfig(nt,Ze);this._currentRequestURL=ft.url;var Dt=this._xhr=new XMLHttpRequest;if(Dt.open("GET",ft.url,!0),Dt.responseType="arraybuffer",Dt.onreadystatechange=this._onReadyStateChange.bind(this),Dt.onprogress=this._onProgress.bind(this),Dt.onload=this._onLoad.bind(this),Dt.onerror=this._onXhrError.bind(this),Le.withCredentials&&(Dt.withCredentials=!0),typeof ft.headers=="object"){var Ar=ft.headers;for(var Mr in Ar)Ar.hasOwnProperty(Mr)&&Dt.setRequestHeader(Mr,Ar[Mr])}if(typeof this._config.headers=="object"){var un=this._config.headers;for(var Rt in un)un.hasOwnProperty(Rt)&&Dt.setRequestHeader(Rt,un[Rt])}Dt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=l.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(Le){var Ze=Le.target;if(Ze.readyState===2){if(Ze.responseURL!=null){var nt=this._seekHandler.removeURLParameters(Ze.responseURL);Ze.responseURL!==this._currentRequestURL&&nt!==this._currentRedirectedURL&&(this._currentRedirectedURL=nt,this._onURLRedirect&&this._onURLRedirect(nt))}if(Ze.status>=200&&Ze.status<=299){if(this._waitForTotalLength)return;this._status=l.kBuffering}else if(this._status=l.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:Ze.status,msg:Ze.statusText});else throw new e("RangeLoader: Http code invalid, "+Ze.status+" "+Ze.statusText)}}},{key:"_onProgress",value:function(Le){if(this._status===l.kError)return;if(this._contentLength===null){var Ze=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,Ze=!0;var nt=Le.total;this._internalAbort(),nt!=null&nt!==0&&(this._totalLength=nt)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,Ze){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var ft=Le.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Le.loaded,this._speedSampler.addBytes(ft)}},{key:"_normalizeSpeed",value:function(Le){var Ze=this._chunkSizeKBList,nt=Ze.length-1,ft=0,Dt=0,Ar=nt;if(Le=Ze[ft]&&Le=3&&(Ze=this._speedSampler.currentKBps)),Ze!==0){var nt=this._normalizeSpeed(Ze);this._currentSpeedNormalized!==nt&&(this._currentSpeedNormalized=nt,this._currentChunkSizeKB=nt)}var ft=Le.target.response,Dt=this._range.from+this._receivedLength;this._receivedLength+=ft.byteLength;var Ar=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength0)for(var ft=Le.split("&"),Dt=0;Dt0;Ar[0]!==this._startName&&Ar[0]!==this._endName&&(Mr&&(nt+="&"),nt+=ft[Dt])}return nt.length===0?Oe:Oe+"?"+nt}}]),jt}(),j=F,W=function(){function jt(St,_e,Oe){Object(O.a)(this,jt),this.TAG="IOController",this._config=_e,this._extraData=Oe,this._stashInitialSize=1024*384,_e.stashInitialSize!=null&&_e.stashInitialSize>0&&(this._stashInitialSize=_e.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,_e.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=St,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(St.url),this._refTotalLength=St.filesize?St.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new r,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(x.a)(jt,[{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:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(_e){this._extraData=_e}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(_e){this._onDataArrival=_e}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(_e){this._onSeeked=_e}},{key:"onError",get:function(){return this._onError},set:function(_e){this._onError=_e}},{key:"onComplete",get:function(){return this._onComplete},set:function(_e){this._onComplete=_e}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(_e){this._onRedirect=_e}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(_e){this._onRecoveredEarlyEof=_e}},{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===D?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var _e=this._config;if(_e.seekType==="range")this._seekHandler=new U(this._config.rangeLoadZeroStart);else if(_e.seekType==="param"){var Oe=_e.seekParamStart||"bstart",Le=_e.seekParamEnd||"bend";this._seekHandler=new j(Oe,Le)}else if(_e.seekType==="custom"){if(typeof _e.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new _e.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(_e.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=B;else if(w.isSupported())this._loaderClass=w;else if(_.isSupported())this._loaderClass=_;else if(D.isSupported())this._loaderClass=D;else throw new e("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(_e){this._currentRange={from:0,to:-1},_e&&(this._currentRange.from=_e),this._speedSampler.reset(),_e||(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 _e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(_e,!0)}}},{key:"seek",value:function(_e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(_e,!0)}},{key:"_internalSeek",value:function(_e,Oe){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(Oe),this._loader.destroy(),this._loader=null;var Le={from:_e,to:-1};this._currentRange={from:Le.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Le),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(_e){if(!_e||typeof _e!="string"||_e.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=_e}},{key:"_expandBuffer",value:function(_e){for(var Oe=this._stashSize;Oe+1024*1024*1<_e;)Oe*=2;if(Oe+=1024*1024*1,Oe===this._bufferSize)return;var Le=new ArrayBuffer(Oe);if(this._stashUsed>0){var Ze=new Uint8Array(this._stashBuffer,0,this._stashUsed),nt=new Uint8Array(Le,0,Oe);nt.set(Ze,0)}this._stashBuffer=Le,this._bufferSize=Oe}},{key:"_normalizeSpeed",value:function(_e){var Oe=this._speedNormalizeList,Le=Oe.length-1,Ze=0,nt=0,ft=Le;if(_e=Oe[Ze]&&_e=512&&_e<=1024?Oe=Math.floor(_e*1.5):Oe=_e*2,Oe>8192&&(Oe=8192);var Le=Oe*1024+1024*1024*1;this._bufferSize0){var rr=this._stashBuffer.slice(0,this._stashUsed),Bt=this._dispatchChunks(rr,this._stashByteStart);if(Bt0){var _t=new Uint8Array(rr,Bt);st.set(_t,0),this._stashUsed=_t.byteLength,this._stashByteStart+=Bt}}else this._stashUsed=0,this._stashByteStart+=Bt;this._stashUsed+_e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+_e.byteLength),st=new Uint8Array(this._stashBuffer,0,this._bufferSize)),st.set(new Uint8Array(_e),this._stashUsed),this._stashUsed+=_e.byteLength}else{var Ht=this._dispatchChunks(_e,Oe);if(Ht<_e.byteLength){var pt=_e.byteLength-Ht;pt>this._bufferSize&&(this._expandBuffer(pt),st=new Uint8Array(this._stashBuffer,0,this._bufferSize)),st.set(new Uint8Array(_e,Ht),0),this._stashUsed+=pt,this._stashByteStart=Oe+Ht}}}else if(this._stashUsed===0){var ft=this._dispatchChunks(_e,Oe);if(ft<_e.byteLength){var Dt=_e.byteLength-ft;Dt>this._bufferSize&&this._expandBuffer(Dt);var Ar=new Uint8Array(this._stashBuffer,0,this._bufferSize);Ar.set(new Uint8Array(_e,ft),0),this._stashUsed+=Dt,this._stashByteStart=Oe+ft}}else{this._stashUsed+_e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+_e.byteLength);var Mr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Mr.set(new Uint8Array(_e),this._stashUsed),this._stashUsed+=_e.byteLength;var un=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(un0){var Rt=new Uint8Array(this._stashBuffer,un);Mr.set(Rt,0)}this._stashUsed-=un,this._stashByteStart+=un}}},{key:"_flushStashBuffer",value:function(_e){if(this._stashUsed>0){var Oe=this._stashBuffer.slice(0,this._stashUsed),Le=this._dispatchChunks(Oe,this._stashByteStart),Ze=Oe.byteLength-Le;if(Le0){var nt=new Uint8Array(this._stashBuffer,0,this._bufferSize),ft=new Uint8Array(Oe,Le);nt.set(ft,0),this._stashUsed=ft.byteLength,this._stashByteStart+=Le}return 0}return this._stashUsed=0,this._stashByteStart=0,Ze}return 0}},{key:"_onLoaderComplete",value:function(_e,Oe){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(_e,Oe){c.e(this.TAG,"Loader error, code = ".concat(Oe.code,", msg = ").concat(Oe.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,_e=u.UNRECOVERABLE_EARLY_EOF);switch(_e){case u.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Le=this._currentRange.to+1;Le0){var Oe=jt.getConfig();_e.emit("change",Oe)}}},{key:"registerListener",value:function(_e){jt.emitter.addListener("change",_e)}},{key:"removeListener",value:function(_e){jt.emitter.removeListener("change",_e)}},{key:"addLogListener",value:function(_e){c.emitter.addListener("log",_e),c.emitter.listenerCount("log")>0&&(c.ENABLE_CALLBACK=!0,jt._notifyChange())}},{key:"removeLogListener",value:function(_e){c.emitter.removeListener("log",_e),c.emitter.listenerCount("log")===0&&(c.ENABLE_CALLBACK=!1,jt._notifyChange())}}]),jt}();Ie.emitter=new g.a;var De=Ie,Ke=function(){function jt(){Object(O.a)(this,jt),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(x.a)(jt,[{key:"isComplete",value:function(){var _e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,Oe=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&&_e&&Oe}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(_e){if(this.keyframesIndex==null)return null;var Oe=this.keyframesIndex,Le=this._search(Oe.times,_e);return{index:Le,milliseconds:Oe.times[Le],fileposition:Oe.filepositions[Le]}}},{key:"_search",value:function(_e,Oe){var Le=0,Ze=_e.length-1,nt=0,ft=0,Dt=Ze;for(Oe<_e[0]&&(Le=0,ft=Dt+1);ft<=Dt;)if(nt=ft+Math.floor((Dt-ft)/2),nt===Ze||Oe>=_e[nt]&&Oe<_e[nt+1]){Le=nt;break}else _e[nt]=128){St.push(String.fromCharCode(Ze&65535)),Oe+=2;continue}}}else if(_e[Oe]<240){if(Ue(_e,Oe,2)){var nt=(_e[Oe]&15)<<12|(_e[Oe+1]&63)<<6|_e[Oe+2]&63;if(nt>=2048&&(nt&63488)!==55296){St.push(String.fromCharCode(nt&65535)),Oe+=3;continue}}}else if(_e[Oe]<248&&Ue(_e,Oe,3)){var ft=(_e[Oe]&7)<<18|(_e[Oe+1]&63)<<12|(_e[Oe+2]&63)<<6|_e[Oe+3]&63;if(ft>65536&&ft<1114112){ft-=65536,St.push(String.fromCharCode(ft>>>10|55296)),St.push(String.fromCharCode(ft&1023|56320)),Oe+=4;continue}}}St.push(String.fromCharCode(65533)),++Oe}return St.join("")}var te=oe,Qe=function(){var jt=new ArrayBuffer(2);return new DataView(jt).setInt16(0,256,!0),new Int16Array(jt)[0]===256}(),se=function(){function jt(){Object(O.a)(this,jt)}return Object(x.a)(jt,null,[{key:"parseScriptData",value:function(_e,Oe,Le){var Ze={};try{var nt=jt.parseValue(_e,Oe,Le),ft=jt.parseValue(_e,Oe+nt.size,Le-nt.size);Ze[nt.data]=ft.data}catch(Dt){c.e("AMF",Dt.toString())}return Ze}},{key:"parseObject",value:function(_e,Oe,Le){if(Le<3)throw new s("Data not enough when parse ScriptDataObject");var Ze=jt.parseString(_e,Oe,Le),nt=jt.parseValue(_e,Oe+Ze.size,Le-Ze.size),ft=nt.objectEnd;return{data:{name:Ze.data,value:nt.data},size:Ze.size+nt.size,objectEnd:ft}}},{key:"parseVariable",value:function(_e,Oe,Le){return jt.parseObject(_e,Oe,Le)}},{key:"parseString",value:function(_e,Oe,Le){if(Le<2)throw new s("Data not enough when parse String");var Ze=new DataView(_e,Oe,Le),nt=Ze.getUint16(0,!Qe),ft;return nt>0?ft=te(new Uint8Array(_e,Oe+2,nt)):ft="",{data:ft,size:2+nt}}},{key:"parseLongString",value:function(_e,Oe,Le){if(Le<4)throw new s("Data not enough when parse LongString");var Ze=new DataView(_e,Oe,Le),nt=Ze.getUint32(0,!Qe),ft;return nt>0?ft=te(new Uint8Array(_e,Oe+4,nt)):ft="",{data:ft,size:4+nt}}},{key:"parseDate",value:function(_e,Oe,Le){if(Le<10)throw new s("Data size invalid when parse Date");var Ze=new DataView(_e,Oe,Le),nt=Ze.getFloat64(0,!Qe),ft=Ze.getInt16(8,!Qe);return nt+=ft*60*1e3,{data:new Date(nt),size:8+2}}},{key:"parseValue",value:function(_e,Oe,Le){if(Le<1)throw new s("Data not enough when parse Value");var Ze=new DataView(_e,Oe,Le),nt=1,ft=Ze.getUint8(0),Dt,Ar=!1;try{switch(ft){case 0:Dt=Ze.getFloat64(1,!Qe),nt+=8;break;case 1:{var Mr=Ze.getUint8(1);Dt=!!Mr,nt+=1;break}case 2:{var un=jt.parseString(_e,Oe+1,Le-1);Dt=un.data,nt+=un.size;break}case 3:{Dt={};var Rt=0;for((Ze.getUint32(Le-4,!Qe)&16777215)===9&&(Rt=3);nt32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(_e<=this._current_word_bits_left){var Oe=this._current_word>>>32-_e;return this._current_word<<=_e,this._current_word_bits_left-=_e,Oe}var Le=this._current_word_bits_left?this._current_word:0;Le=Le>>>32-this._current_word_bits_left;var Ze=_e-this._current_word_bits_left;this._fillCurrentWord();var nt=Math.min(Ze,this._current_word_bits_left),ft=this._current_word>>>32-nt;return this._current_word<<=nt,this._current_word_bits_left-=nt,Le=Le<>>_e)!==0)return this._current_word<<=_e,this._current_word_bits_left-=_e,_e;return this._fillCurrentWord(),_e+this._skipLeadingZero()}},{key:"readUEG",value:function(){var _e=this._skipLeadingZero();return this.readBits(_e+1)-1}},{key:"readSEG",value:function(){var _e=this.readUEG();return _e&1?_e+1>>>1:-1*(_e>>>1)}}]),jt}(),Q=X,ge=function(){function jt(){Object(O.a)(this,jt)}return Object(x.a)(jt,null,[{key:"_ebsp2rbsp",value:function(_e){for(var Oe=_e,Le=Oe.byteLength,Ze=new Uint8Array(Le),nt=0,ft=0;ft=2&&(Oe[ft]===3&&Oe[ft-1]===0&&Oe[ft-2]===0))continue;Ze[nt]=Oe[ft],nt++}return new Uint8Array(Ze.buffer,0,nt)}},{key:"parseSPS",value:function(_e){var Oe=jt._ebsp2rbsp(_e),Le=new Q(Oe);Le.readByte();var Ze=Le.readByte();Le.readByte();var nt=Le.readByte();Le.readUEG();var ft=jt.getProfileString(Ze),Dt=jt.getLevelString(nt),Ar=1,Mr=420,un=[0,420,422,444],Rt=8;if((Ze===100||Ze===110||Ze===122||Ze===244||Ze===44||Ze===83||Ze===86||Ze===118||Ze===128||Ze===138||Ze===144)&&(Ar=Le.readUEG(),Ar===3&&Le.readBits(1),Ar<=3&&(Mr=un[Ar]),Rt=Le.readUEG()+8,Le.readUEG(),Le.readBits(1),Le.readBool()))for(var it=Ar!==3?8:12,st=0;st0&&Re<16?(Dn=je[Re-1],Zn=Ye[Re-1]):Re===255&&(Dn=Le.readByte()<<8|Le.readByte(),Zn=Le.readByte()<<8|Le.readByte())}if(Le.readBool()&&Le.readBool(),Le.readBool()&&(Le.readBits(4),Le.readBool()&&Le.readBits(24)),Le.readBool()&&(Le.readUEG(),Le.readUEG()),Le.readBool()){var Ve=Le.readBits(32),qe=Le.readBits(32);Ai=Le.readBool(),Ii=qe,$e=Ve*2,li=Ii/$e}}var xt=1;(Dn!==1||Zn!==1)&&(xt=Dn/Zn);var ut=0,Jt=0;if(Ar===0)ut=1,Jt=2-Sr;else{var Rr=Ar===3?1:2,Ir=Ar===1?2:1;ut=Rr,Jt=Ir*(2-Sr)}var Gr=(pt+1)*16,qt=(2-Sr)*((Ut+1)*16);Gr-=(mr+vr)*ut,qt-=(Jr+$r)*Jt;var pn=Math.ceil(Gr*xt);return Le.destroy(),Le=null,{profile_string:ft,level_string:Dt,bit_depth:Rt,ref_frames:Ht,chroma_format:Mr,chroma_format_string:jt.getChromaFormatString(Mr),frame_rate:{fixed:Ai,fps:li,fps_den:$e,fps_num:Ii},sar_ratio:{width:Dn,height:Zn},codec_size:{width:Gr,height:qt},present_size:{width:pn,height:qt}}}},{key:"_skipScalingList",value:function(_e,Oe){for(var Le=8,Ze=8,nt=0,ft=0;ft>>8&255|(jt&255)<<8}function fe(jt){return(jt&4278190080)>>>24|(jt&16711680)>>>8|(jt&65280)<<8|(jt&255)<<24}function Ee(jt,St){return jt[St]<<24|jt[St+1]<<16|jt[St+2]<<8|jt[St+3]}var Ge=function(){function jt(St,_e){Object(O.a)(this,jt),this.TAG="FLVDemuxer",this._config=_e,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=St.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=St.hasAudioTrack,this._hasVideo=St.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new me,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 Oe=new ArrayBuffer(2);return new DataView(Oe).setInt16(0,256,!0),new Int16Array(Oe)[0]===256}()}return Object(x.a)(jt,[{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(_e){return _e.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(_e){this._onTrackMetadata=_e}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(_e){this._onMediaInfo=_e}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(_e){this._onMetaDataArrived=_e}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(_e){this._onScriptDataArrived=_e}},{key:"onError",get:function(){return this._onError},set:function(_e){this._onError=_e}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(_e){this._onDataAvailable=_e}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(_e){this._timestampBase=_e}},{key:"overridedDuration",get:function(){return this._duration},set:function(_e){this._durationOverrided=!0,this._duration=_e,this._mediaInfo.duration=_e}},{key:"overridedHasAudio",set:function(_e){this._hasAudioFlagOverrided=!0,this._hasAudio=_e,this._mediaInfo.hasAudio=_e}},{key:"overridedHasVideo",set:function(_e){this._hasVideoFlagOverrided=!0,this._hasVideo=_e,this._mediaInfo.hasVideo=_e}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new me}},{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(_e,Oe){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new s("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Le=0,Ze=this._littleEndian;if(Oe===0)if(_e.byteLength>13){var nt=jt.probe(_e);Le=nt.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,Oe+Le!==this._dataOffset&&c.w(this.TAG,"First time parsing but chunk byteStart invalid!");var ft=new DataView(_e,Le),Dt=ft.getUint32(0,!Ze);Dt!==0&&c.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Le+=4}for(;Le<_e.byteLength;){this._dispatch=!0;var Ar=new DataView(_e,Le);if(Le+11+4>_e.byteLength)break;var Mr=Ar.getUint8(0),un=Ar.getUint32(0,!Ze)&16777215;if(Le+11+un+4>_e.byteLength)break;if(Mr!==8&&Mr!==9&&Mr!==18){c.w(this.TAG,"Unsupported tag type ".concat(Mr,", skipped")),Le+=11+un+4;continue}var Rt=Ar.getUint8(4),it=Ar.getUint8(5),st=Ar.getUint8(6),rr=Ar.getUint8(7),Bt=st|it<<8|Rt<<16|rr<<24,_t=Ar.getUint32(7,!Ze)&16777215;_t!==0&&c.w(this.TAG,"Meet tag which has StreamID != 0!");var Ht=Le+11;switch(Mr){case 8:this._parseAudioData(_e,Ht,un,Bt);break;case 9:this._parseVideoData(_e,Ht,un,Bt,Oe+Le);break;case 18:this._parseScriptData(_e,Ht,un);break}var pt=Ar.getUint32(11+un,!Ze);pt!==11+un&&c.w(this.TAG,"Invalid PrevTagSize ".concat(pt)),Le+=11+un+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Le}},{key:"_parseScriptData",value:function(_e,Oe,Le){var Ze=Y.parseScriptData(_e,Oe,Le);if(Ze.hasOwnProperty("onMetaData")){if(Ze.onMetaData==null||typeof Ze.onMetaData!="object"){c.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&c.w(this.TAG,"Found another onMetaData tag!"),this._metadata=Ze;var nt=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},nt)),typeof nt.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=nt.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof nt.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=nt.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof nt.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=nt.audiodatarate),typeof nt.videodatarate=="number"&&(this._mediaInfo.videoDataRate=nt.videodatarate),typeof nt.width=="number"&&(this._mediaInfo.width=nt.width),typeof nt.height=="number"&&(this._mediaInfo.height=nt.height),typeof nt.duration=="number"){if(!this._durationOverrided){var ft=Math.floor(nt.duration*this._timescale);this._duration=ft,this._mediaInfo.duration=ft}}else this._mediaInfo.duration=0;if(typeof nt.framerate=="number"){var Dt=Math.floor(nt.framerate*1e3);if(Dt>0){var Ar=Dt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Ar,this._referenceFrameRate.fps_num=Dt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Ar}}if(typeof nt.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var Mr=nt.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Mr),nt.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=nt,c.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(Ze).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},Ze)))}},{key:"_parseKeyframesIndex",value:function(_e){for(var Oe=[],Le=[],Ze=1;Ze<_e.times.length;Ze++){var nt=this._timestampBase+Math.floor(_e.times[Ze]*1e3);Oe.push(nt),Le.push(_e.filepositions[Ze])}return{times:Oe,filepositions:Le}}},{key:"_parseAudioData",value:function(_e,Oe,Le,Ze){if(Le<=1){c.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var nt=this._littleEndian,ft=new DataView(_e,Oe,Le),Dt=ft.getUint8(0),Ar=Dt>>>4;if(Ar!==2&&Ar!==10){this._onError(xe.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Ar);return}var Mr=0,un=(Dt&12)>>>2;if(un>=0&&un<=4)Mr=this._flvSoundRateTable[un];else{this._onError(xe.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+un);return}var Rt=(Dt&2)>>>1,it=Dt&1,st=this._audioMetadata,rr=this._audioTrack;if(st||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),st=this._audioMetadata={},st.type="audio",st.id=rr.id,st.timescale=this._timescale,st.duration=this._duration,st.audioSampleRate=Mr,st.channelCount=it===0?1:2),Ar===10){var Bt=this._parseAACAudioData(_e,Oe+1,Le-1);if(Bt==null)return;if(Bt.packetType===0){st.config&&c.w(this.TAG,"Found another AudioSpecificConfig!");var _t=Bt.data;st.audioSampleRate=_t.samplingRate,st.channelCount=_t.channelCount,st.codec=_t.codec,st.originalCodec=_t.originalCodec,st.config=_t.config,st.refSampleDuration=1024/st.audioSampleRate*st.timescale,c.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",st);var Ht=this._mediaInfo;Ht.audioCodec=st.originalCodec,Ht.audioSampleRate=st.audioSampleRate,Ht.audioChannelCount=st.channelCount,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)}else if(Bt.packetType===1){var pt=this._timestampBase+Ze,Ut={unit:Bt.data,length:Bt.data.byteLength,dts:pt,pts:pt};rr.samples.push(Ut),rr.length+=Bt.data.length}else c.e(this.TAG,"Flv: Unsupported AAC data type ".concat(Bt.packetType))}else if(Ar===2){if(!st.codec){var Sr=this._parseMP3AudioData(_e,Oe+1,Le-1,!0);if(Sr==null)return;st.audioSampleRate=Sr.samplingRate,st.channelCount=Sr.channelCount,st.codec=Sr.codec,st.originalCodec=Sr.originalCodec,st.refSampleDuration=1152/st.audioSampleRate*st.timescale,c.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",st);var mr=this._mediaInfo;mr.audioCodec=st.codec,mr.audioSampleRate=st.audioSampleRate,mr.audioChannelCount=st.channelCount,mr.audioDataRate=Sr.bitRate,mr.hasVideo?mr.videoCodec!=null&&(mr.mimeType='video/x-flv; codecs="'+mr.videoCodec+","+mr.audioCodec+'"'):mr.mimeType='video/x-flv; codecs="'+mr.audioCodec+'"',mr.isComplete()&&this._onMediaInfo(mr)}var vr=this._parseMP3AudioData(_e,Oe+1,Le-1,!1);if(vr==null)return;var Jr=this._timestampBase+Ze,$r={unit:vr,length:vr.byteLength,dts:Jr,pts:Jr};rr.samples.push($r),rr.length+=vr.length}}},{key:"_parseAACAudioData",value:function(_e,Oe,Le){if(Le<=1){c.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var Ze={},nt=new Uint8Array(_e,Oe,Le);return Ze.packetType=nt[0],nt[0]===0?Ze.data=this._parseAACAudioSpecificConfig(_e,Oe+1,Le-1):Ze.data=nt.subarray(1),Ze}},{key:"_parseAACAudioSpecificConfig",value:function(_e,Oe,Le){var Ze=new Uint8Array(_e,Oe,Le),nt=null,ft=0,Dt=0,Ar=null,Mr=0,un=null;if(ft=Dt=Ze[0]>>>3,Mr=(Ze[0]&7)<<1|Ze[1]>>>7,Mr<0||Mr>=this._mpegSamplingRates.length){this._onError(xe.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Rt=this._mpegSamplingRates[Mr],it=(Ze[1]&120)>>>3;if(it<0||it>=8){this._onError(xe.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}ft===5&&(un=(Ze[1]&7)<<1|Ze[2]>>>7,Ar=(Ze[2]&124)>>>2);var st=self.navigator.userAgent.toLowerCase();return st.indexOf("firefox")!==-1?Mr>=6?(ft=5,nt=new Array(4),un=Mr-3):(ft=2,nt=new Array(2),un=Mr):st.indexOf("android")!==-1?(ft=2,nt=new Array(2),un=Mr):(ft=5,un=Mr,nt=new Array(4),Mr>=6?un=Mr-3:it===1&&(ft=2,nt=new Array(2),un=Mr)),nt[0]=ft<<3,nt[0]|=(Mr&15)>>>1,nt[1]=(Mr&15)<<7,nt[1]|=(it&15)<<3,ft===5&&(nt[1]|=(un&15)>>>1,nt[2]=(un&1)<<7,nt[2]|=2<<2,nt[3]=0),{config:nt,samplingRate:Rt,channelCount:it,codec:"mp4a.40."+ft,originalCodec:"mp4a.40."+Dt}}},{key:"_parseMP3AudioData",value:function(_e,Oe,Le,Ze){if(Le<4){c.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var nt=this._littleEndian,ft=new Uint8Array(_e,Oe,Le),Dt=null;if(Ze){if(ft[0]!==255)return;var Ar=ft[1]>>>3&3,Mr=(ft[1]&6)>>1,un=(ft[2]&240)>>>4,Rt=(ft[2]&12)>>>2,it=ft[3]>>>6&3,st=it!==3?2:1,rr=0,Bt=0,_t=34,Ht="mp3";switch(Ar){case 0:rr=this._mpegAudioV25SampleRateTable[Rt];break;case 2:rr=this._mpegAudioV20SampleRateTable[Rt];break;case 3:rr=this._mpegAudioV10SampleRateTable[Rt];break}switch(Mr){case 1:_t=34,un>>4,Ar=ft&15;if(Ar!==7){this._onError(xe.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Ar));return}this._parseAVCVideoPacket(_e,Oe+1,Le-1,Ze,nt,Dt)}},{key:"_parseAVCVideoPacket",value:function(_e,Oe,Le,Ze,nt,ft){if(Le<4){c.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var Dt=this._littleEndian,Ar=new DataView(_e,Oe,Le),Mr=Ar.getUint8(0),un=Ar.getUint32(0,!Dt)&16777215,Rt=un<<8>>8;if(Mr===0)this._parseAVCDecoderConfigurationRecord(_e,Oe+4,Le-4);else if(Mr===1)this._parseAVCVideoData(_e,Oe+4,Le-4,Ze,nt,ft,Rt);else if(!(Mr===2)){this._onError(xe.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(Mr));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(_e,Oe,Le){if(Le<7){c.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var Ze=this._videoMetadata,nt=this._videoTrack,ft=this._littleEndian,Dt=new DataView(_e,Oe,Le);Ze?typeof Ze.avcc!="undefined"&&c.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),Ze=this._videoMetadata={},Ze.type="video",Ze.id=nt.id,Ze.timescale=this._timescale,Ze.duration=this._duration);var Ar=Dt.getUint8(0),Mr=Dt.getUint8(1),un=Dt.getUint8(2),Rt=Dt.getUint8(3);if(Ar!==1||Mr===0){this._onError(xe.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(Dt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(xe.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var it=Dt.getUint8(5)&31;if(it===0){this._onError(xe.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else it>1&&c.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(it));for(var st=6,rr=0;rr1&&c.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Pn));st++;for(var Dn=0;Dn=Le){c.w(this.TAG,"Malformed Nalu near timestamp ".concat(rr,", offset = ").concat(it,", dataSize = ").concat(Le));break}var _t=Mr.getUint32(it,!Ar);if(st===3&&(_t>>>=8),_t>Le-st){c.w(this.TAG,"Malformed Nalus near timestamp ".concat(rr,", NaluSize > DataSize!"));return}var Ht=Mr.getUint8(it+st)&31;Ht===5&&(Bt=!0);var pt=new Uint8Array(_e,Oe+it,st+_t),Ut={type:Ht,data:pt};un.push(Ut),Rt+=pt.byteLength,it+=st+_t}if(un.length){var Sr=this._videoTrack,mr={units:un,length:Rt,isKeyframe:Bt,dts:rr,cts:Dt,pts:rr+Dt};Bt&&(mr.fileposition=nt),Sr.samples.push(mr),Sr.length+=Rt}}}],[{key:"probe",value:function(_e){var Oe=new Uint8Array(_e),Le={match:!1};if(Oe[0]!==70||Oe[1]!==76||Oe[2]!==86||Oe[3]!==1)return Le;var Ze=(Oe[4]&4)>>>2!==0,nt=(Oe[4]&1)!==0,ft=Ee(Oe,5);return ft<9?Le:{match:!0,consumed:ft,dataOffset:ft,hasAudioTrack:Ze,hasVideoTrack:nt}}}]),jt}(),lt=Ge,Je=function(){function jt(){Object(O.a)(this,jt)}return Object(x.a)(jt,null,[{key:"init",value:function(){jt.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 _e in jt.types)jt.types.hasOwnProperty(_e)&&(jt.types[_e]=[_e.charCodeAt(0),_e.charCodeAt(1),_e.charCodeAt(2),_e.charCodeAt(3)]);var Oe=jt.constants={};Oe.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),Oe.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),Oe.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),Oe.STSC=Oe.STCO=Oe.STTS,Oe.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Oe.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]),Oe.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]),Oe.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Oe.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Oe.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(_e){for(var Oe=8,Le=null,Ze=Array.prototype.slice.call(arguments,1),nt=Ze.length,ft=0;ft>>24&255,Le[1]=Oe>>>16&255,Le[2]=Oe>>>8&255,Le[3]=Oe&255,Le.set(_e,4);for(var Dt=8,Ar=0;Ar>>24&255,_e>>>16&255,_e>>>8&255,_e&255,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&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(_e){return jt.box(jt.types.trak,jt.tkhd(_e),jt.mdia(_e))}},{key:"tkhd",value:function(_e){var Oe=_e.id,Le=_e.duration,Ze=_e.presentWidth,nt=_e.presentHeight;return jt.box(jt.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255,0,0,0,0,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&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,Ze>>>8&255,Ze&255,0,0,nt>>>8&255,nt&255,0,0]))}},{key:"mdia",value:function(_e){return jt.box(jt.types.mdia,jt.mdhd(_e),jt.hdlr(_e),jt.minf(_e))}},{key:"mdhd",value:function(_e){var Oe=_e.timescale,Le=_e.duration;return jt.box(jt.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255,85,196,0,0]))}},{key:"hdlr",value:function(_e){var Oe=null;return _e.type==="audio"?Oe=jt.constants.HDLR_AUDIO:Oe=jt.constants.HDLR_VIDEO,jt.box(jt.types.hdlr,Oe)}},{key:"minf",value:function(_e){var Oe=null;return _e.type==="audio"?Oe=jt.box(jt.types.smhd,jt.constants.SMHD):Oe=jt.box(jt.types.vmhd,jt.constants.VMHD),jt.box(jt.types.minf,Oe,jt.dinf(),jt.stbl(_e))}},{key:"dinf",value:function(){var _e=jt.box(jt.types.dinf,jt.box(jt.types.dref,jt.constants.DREF));return _e}},{key:"stbl",value:function(_e){var Oe=jt.box(jt.types.stbl,jt.stsd(_e),jt.box(jt.types.stts,jt.constants.STTS),jt.box(jt.types.stsc,jt.constants.STSC),jt.box(jt.types.stsz,jt.constants.STSZ),jt.box(jt.types.stco,jt.constants.STCO));return Oe}},{key:"stsd",value:function(_e){return _e.type==="audio"?_e.codec==="mp3"?jt.box(jt.types.stsd,jt.constants.STSD_PREFIX,jt.mp3(_e)):jt.box(jt.types.stsd,jt.constants.STSD_PREFIX,jt.mp4a(_e)):jt.box(jt.types.stsd,jt.constants.STSD_PREFIX,jt.avc1(_e))}},{key:"mp3",value:function(_e){var Oe=_e.channelCount,Le=_e.audioSampleRate,Ze=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Oe,0,16,0,0,0,0,Le>>>8&255,Le&255,0,0]);return jt.box(jt.types[".mp3"],Ze)}},{key:"mp4a",value:function(_e){var Oe=_e.channelCount,Le=_e.audioSampleRate,Ze=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Oe,0,16,0,0,0,0,Le>>>8&255,Le&255,0,0]);return jt.box(jt.types.mp4a,Ze,jt.esds(_e))}},{key:"esds",value:function(_e){var Oe=_e.config||[],Le=Oe.length,Ze=new Uint8Array([0,0,0,0,3,23+Le,0,1,0,4,15+Le,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Le]).concat(Oe).concat([6,1,2]));return jt.box(jt.types.esds,Ze)}},{key:"avc1",value:function(_e){var Oe=_e.avcc,Le=_e.codecWidth,Ze=_e.codecHeight,nt=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,Le>>>8&255,Le&255,Ze>>>8&255,Ze&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 jt.box(jt.types.avc1,nt,jt.box(jt.types.avcC,Oe))}},{key:"mvex",value:function(_e){return jt.box(jt.types.mvex,jt.trex(_e))}},{key:"trex",value:function(_e){var Oe=_e.id,Le=new Uint8Array([0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return jt.box(jt.types.trex,Le)}},{key:"moof",value:function(_e,Oe){return jt.box(jt.types.moof,jt.mfhd(_e.sequenceNumber),jt.traf(_e,Oe))}},{key:"mfhd",value:function(_e){var Oe=new Uint8Array([0,0,0,0,_e>>>24&255,_e>>>16&255,_e>>>8&255,_e&255]);return jt.box(jt.types.mfhd,Oe)}},{key:"traf",value:function(_e,Oe){var Le=_e.id,Ze=jt.box(jt.types.tfhd,new Uint8Array([0,0,0,0,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255])),nt=jt.box(jt.types.tfdt,new Uint8Array([0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255])),ft=jt.sdtp(_e),Dt=jt.trun(_e,ft.byteLength+16+16+8+16+8+8);return jt.box(jt.types.traf,Ze,nt,Dt,ft)}},{key:"sdtp",value:function(_e){for(var Oe=_e.samples||[],Le=Oe.length,Ze=new Uint8Array(4+Le),nt=0;nt>>24&255,Ze>>>16&255,Ze>>>8&255,Ze&255,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255],0);for(var Dt=0;Dt>>24&255,Ar>>>16&255,Ar>>>8&255,Ar&255,Mr>>>24&255,Mr>>>16&255,Mr>>>8&255,Mr&255,un.isLeading<<2|un.dependsOn,un.isDependedOn<<6|un.hasRedundancy<<4|un.isNonSync,0,0,Rt>>>24&255,Rt>>>16&255,Rt>>>8&255,Rt&255],12+16*Dt)}return jt.box(jt.types.trun,ft)}},{key:"mdat",value:function(_e){return jt.box(jt.types.mdat,_e)}}]),jt}();Je.init();var Ce=Je,et=function(){function jt(){Object(O.a)(this,jt)}return Object(x.a)(jt,null,[{key:"getSilentFrame",value:function(_e,Oe){if(_e==="mp4a.40.2"){if(Oe===1)return new Uint8Array([0,200,0,128,35,128]);if(Oe===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(Oe===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(Oe===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(Oe===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(Oe===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(Oe===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(Oe===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(Oe===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}}]),jt}(),ze=et,at=Object(x.a)(function jt(St,_e,Oe,Le,Ze){Object(O.a)(this,jt),this.dts=St,this.pts=_e,this.duration=Oe,this.originalDts=Le,this.isSyncPoint=Ze,this.fileposition=null}),Ct=function(){function jt(){Object(O.a)(this,jt),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(x.a)(jt,[{key:"appendSyncPoint",value:function(_e){_e.isSyncPoint=!0,this.syncPoints.push(_e)}}]),jt}(),Tt=function(){function jt(){Object(O.a)(this,jt),this._list=[]}return Object(x.a)(jt,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(_e){var Oe=this._list;if(_e.length===0)return;Oe.length>0&&_e[0].originalDts=Oe[nt].dts&&_eOe[Ze].lastSample.originalDts&&_e=Oe[Ze].lastSample.originalDts&&(Ze===Oe.length-1||Ze0&&(nt=this._searchNearestSegmentBefore(Le.originalBeginDts)+1),this._lastAppendLocation=nt,this._list.splice(nt,0,Le)}},{key:"getLastSegmentBefore",value:function(_e){var Oe=this._searchNearestSegmentBefore(_e);return Oe>=0?this._list[Oe]:null}},{key:"getLastSampleBefore",value:function(_e){var Oe=this.getLastSegmentBefore(_e);return Oe!=null?Oe.lastSample:null}},{key:"getLastSyncPointBefore",value:function(_e){for(var Oe=this._searchNearestSegmentBefore(_e),Le=this._list[Oe].syncPoints;Le.length===0&&Oe>0;)Oe--,Le=this._list[Oe].syncPoints;return Le.length>0?Le[Le.length-1]:null}}]),jt}(),Nt=function(){function jt(St){Object(O.a)(this,jt),this.TAG="MP4Remuxer",this._config=St,this._isLive=St.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new Ot("audio"),this._videoSegmentInfoList=new Ot("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(E.chrome&&(E.version.major<50||E.version.major===50&&E.version.build<2661)),this._fillSilentAfterSeek=E.msedge||E.msie,this._mp3UseMpegAudio=!E.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(x.a)(jt,[{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(_e){return _e.onDataAvailable=this.remux.bind(this),_e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(_e){this._onInitSegment=_e}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(_e){this._onMediaSegment=_e}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(_e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(_e,Oe){if(!this._onMediaSegment)throw new s("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(_e,Oe),this._remuxVideo(Oe),this._remuxAudio(_e)}},{key:"_onTrackMetadataReceived",value:function(_e,Oe){var Le=null,Ze="mp4",nt=Oe.codec;if(_e==="audio")this._audioMeta=Oe,Oe.codec==="mp3"&&this._mp3UseMpegAudio?(Ze="mpeg",nt="",Le=new Uint8Array):Le=Ce.generateInitSegment(Oe);else if(_e==="video")this._videoMeta=Oe,Le=Ce.generateInitSegment(Oe);else return;if(!this._onInitSegment)throw new s("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(_e,{type:_e,data:Le.buffer,codec:nt,container:"".concat(_e,"/").concat(Ze),mediaDuration:Oe.duration})}},{key:"_calculateDtsBase",value:function(_e,Oe){if(this._dtsBaseInited)return;_e.samples&&_e.samples.length&&(this._audioDtsBase=_e.samples[0].dts),Oe.samples&&Oe.samples.length&&(this._videoDtsBase=Oe.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var _e=this._videoStashedLastSample,Oe=this._audioStashedLastSample,Le={type:"video",id:1,sequenceNumber:0,samples:[],length:0};_e!=null&&(Le.samples.push(_e),Le.length=_e.length);var Ze={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};Oe!=null&&(Ze.samples.push(Oe),Ze.length=Oe.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Le,!0),this._remuxAudio(Ze,!0)}},{key:"_remuxAudio",value:function(_e,Oe){if(this._audioMeta==null)return;var Le=_e,Ze=Le.samples,nt=void 0,ft=-1,Dt=-1,Ar=-1,Mr=this._audioMeta.refSampleDuration,un=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Rt=this._dtsBaseInited&&this._audioNextDts===void 0,it=!1;if(!Ze||Ze.length===0)return;if(Ze.length===1&&!Oe)return;var st=0,rr=null,Bt=0;un?(st=0,Bt=Le.length):(st=8,Bt=8+Le.length);var _t=null;if(Ze.length>1&&(_t=Ze.pop(),Bt-=_t.length),this._audioStashedLastSample!=null){var Ht=this._audioStashedLastSample;this._audioStashedLastSample=null,Ze.unshift(Ht),Bt+=Ht.length}_t!=null&&(this._audioStashedLastSample=_t);var pt=Ze[0].dts-this._dtsBase;if(this._audioNextDts)nt=pt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())nt=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(it=!0));else{var Ut=this._audioSegmentInfoList.getLastSampleBefore(pt);if(Ut!=null){var Sr=pt-(Ut.originalDts+Ut.duration);Sr<=3&&(Sr=0);var mr=Ut.dts+Ut.duration+Sr;nt=pt-mr}else nt=0}if(it){var vr=pt-nt,Jr=this._videoSegmentInfoList.getLastSegmentBefore(pt);if(Jr!=null&&Jr.beginDts=1?Re=Zn[Zn.length-1].duration:Re=Math.floor(Mr);var Ve=!1,qe=null;if(Re>Mr*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!E.safari){Ve=!0;var xt=Math.abs(Re-Mr),ut=Math.ceil(xt/Mr),Jt=Se+Mr;c.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. `+"dts: ".concat(Se+Re," ms, expected: ").concat(Se+Math.round(Mr)," ms, ")+"delta: ".concat(Math.round(xt)," ms, generate: ").concat(ut," frames"));var Rr=ze.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);Rr==null&&(c.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),Rr=Ii),qe=[];for(var Ir=0;Ir0){var qt=qe[qe.length-1];qt.duration=Gr-qt.dts}var pn={dts:Gr,pts:Gr,cts:0,unit:Rr,size:Rr.byteLength,duration:0,originalDts:$e,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};qe.push(pn),Bt+=pn.size,Jt+=Mr}var hr=qe[qe.length-1];hr.duration=Se+Re-hr.dts,Re=Math.round(Mr)}Zn.push({dts:Se,pts:Se,cts:0,unit:Ai.unit,size:Ai.unit.byteLength,duration:Re,originalDts:$e,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Ve&&Zn.push.apply(Zn,qe)}un?rr=new Uint8Array(Bt):(rr=new Uint8Array(Bt),rr[0]=Bt>>>24&255,rr[1]=Bt>>>16&255,rr[2]=Bt>>>8&255,rr[3]=Bt&255,rr.set(Ce.types.mdat,4));for(var mn=0;mn1&&(st=Ze.pop(),it-=st.length),this._videoStashedLastSample!=null){var rr=this._videoStashedLastSample;this._videoStashedLastSample=null,Ze.unshift(rr),it+=rr.length}st!=null&&(this._videoStashedLastSample=st);var Bt=Ze[0].dts-this._dtsBase;if(this._videoNextDts)nt=Bt-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())nt=0;else{var _t=this._videoSegmentInfoList.getLastSampleBefore(Bt);if(_t!=null){var Ht=Bt-(_t.originalDts+_t.duration);Ht<=3&&(Ht=0);var pt=_t.dts+_t.duration+Ht;nt=Bt-pt}else nt=0}for(var Ut=new Ct,Sr=[],mr=0;mr=1?li=Sr[Sr.length-1].duration:li=Math.floor(this._videoMeta.refSampleDuration);if($r){var $e=new at(Pn,Zn,li,vr.dts,!0);$e.fileposition=vr.fileposition,Ut.appendSyncPoint($e)}Sr.push({dts:Pn,pts:Zn,cts:Dn,units:vr.units,size:vr.length,isKeyframe:$r,duration:li,originalDts:Jr,flags:{isLeading:0,dependsOn:$r?2:1,isDependedOn:$r?1:0,hasRedundancy:0,isNonSync:$r?0:1}})}Rt=new Uint8Array(it),Rt[0]=it>>>24&255,Rt[1]=it>>>16&255,Rt[2]=it>>>8&255,Rt[3]=it&255,Rt.set(Ce.types.mdat,4);for(var Se=0;Se0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,nt=this._demuxer.parseChunks(_e,Oe);else if((Ze=lt.probe(_e)).match){this._demuxer=new lt(Ze,this._config),this._remuxer||(this._remuxer=new Be(this._config));var ft=this._mediaDataSource;ft.duration!=null&&!isNaN(ft.duration)&&(this._demuxer.overridedDuration=ft.duration),typeof ft.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=ft.hasAudio),typeof ft.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=ft.hasVideo),this._demuxer.timestampBase=ft.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),nt=this._demuxer.parseChunks(_e,Oe)}else Ze=null,c.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Le._internalAbort()}),this._emitter.emit(G.DEMUX_ERROR,xe.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),nt=0;return nt}},{key:"_onMediaInfo",value:function(_e){var Oe=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},_e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,me.prototype));var Le=Object.assign({},_e);Object.setPrototypeOf(Le,me.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Le,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var Ze=Oe._pendingSeekTime;Oe._pendingSeekTime=null,Oe.seek(Ze)})}},{key:"_onMetaDataArrived",value:function(_e){this._emitter.emit(G.METADATA_ARRIVED,_e)}},{key:"_onScriptDataArrived",value:function(_e){this._emitter.emit(G.SCRIPTDATA_ARRIVED,_e)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(_e){var Oe=_e,Le=Oe+1;Le0&&Le[0].originalDts===Ze&&(Ze=Le[0].pts),this._emitter.emit(G.RECOMMEND_SEEKPOINT,Ze)}}},{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(_e){var Oe=this._mediaInfo.segments[_e],Le=Object.assign({},Oe);Le.duration=this._mediaInfo.duration,Le.segmentCount=this._mediaInfo.segmentCount,delete Le.segments,delete Le.keyframesIndex,this._emitter.emit(G.MEDIA_INFO,Le)}},{key:"_reportStatisticsInfo",value:function(){var _e={};_e.url=this._ioctl.currentURL,_e.hasRedirect=this._ioctl.hasRedirect,_e.hasRedirect&&(_e.redirectedURL=this._ioctl.currentRedirectedURL),_e.speed=this._ioctl.currentSpeed,_e.loaderType=this._ioctl.loaderType,_e.currentSegmentIndex=this._currentSegmentIndex,_e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(G.STATISTICS_INFO,_e)}}]),jt}(),Ne=Pe,q=function(St){var _e="TransmuxingWorker",Oe=null,Le=Bt.bind(this);A.install(),St.addEventListener("message",function(_t){switch(_t.data.cmd){case"init":Oe=new Ne(_t.data.param[0],_t.data.param[1]),Oe.on(G.IO_ERROR,it.bind(this)),Oe.on(G.DEMUX_ERROR,st.bind(this)),Oe.on(G.INIT_SEGMENT,Ze.bind(this)),Oe.on(G.MEDIA_SEGMENT,nt.bind(this)),Oe.on(G.LOADING_COMPLETE,ft.bind(this)),Oe.on(G.RECOVERED_EARLY_EOF,Dt.bind(this)),Oe.on(G.MEDIA_INFO,Ar.bind(this)),Oe.on(G.METADATA_ARRIVED,Mr.bind(this)),Oe.on(G.SCRIPTDATA_ARRIVED,un.bind(this)),Oe.on(G.STATISTICS_INFO,Rt.bind(this)),Oe.on(G.RECOMMEND_SEEKPOINT,rr.bind(this));break;case"destroy":Oe&&(Oe.destroy(),Oe=null),St.postMessage({msg:"destroyed"});break;case"start":Oe.start();break;case"stop":Oe.stop();break;case"seek":Oe.seek(_t.data.param);break;case"pause":Oe.pause();break;case"resume":Oe.resume();break;case"logging_config":{var Ht=_t.data.param;De.applyConfig(Ht),Ht.enableCallback===!0?De.addLogListener(Le):De.removeLogListener(Le);break}}});function Ze(_t,Ht){var pt={msg:G.INIT_SEGMENT,data:{type:_t,data:Ht}};St.postMessage(pt,[Ht.data])}function nt(_t,Ht){var pt={msg:G.MEDIA_SEGMENT,data:{type:_t,data:Ht}};St.postMessage(pt,[Ht.data])}function ft(){var _t={msg:G.LOADING_COMPLETE};St.postMessage(_t)}function Dt(){var _t={msg:G.RECOVERED_EARLY_EOF};St.postMessage(_t)}function Ar(_t){var Ht={msg:G.MEDIA_INFO,data:_t};St.postMessage(Ht)}function Mr(_t){var Ht={msg:G.METADATA_ARRIVED,data:_t};St.postMessage(Ht)}function un(_t){var Ht={msg:G.SCRIPTDATA_ARRIVED,data:_t};St.postMessage(Ht)}function Rt(_t){var Ht={msg:G.STATISTICS_INFO,data:_t};St.postMessage(Ht)}function it(_t,Ht){St.postMessage({msg:G.IO_ERROR,data:{type:_t,info:Ht}})}function st(_t,Ht){St.postMessage({msg:G.DEMUX_ERROR,data:{type:_t,info:Ht}})}function rr(_t){St.postMessage({msg:G.RECOMMEND_SEEKPOINT,data:_t})}function Bt(_t,Ht){St.postMessage({msg:"logcat_callback",data:{type:_t,logcat:Ht}})}},ht=q,Pt=function(){function jt(St,_e){if(Object(O.a)(this,jt),this.TAG="Transmuxer",this._emitter=new g.a,_e.enableWorker&&typeof Worker!="undefined")try{var Oe=d("0r65");this._worker=Oe(ht),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[St,_e]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},De.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:De.getConfig()})}catch(Ze){c.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Ne(St,_e)}else this._controller=new Ne(St,_e);if(this._controller){var Le=this._controller;Le.on(G.IO_ERROR,this._onIOError.bind(this)),Le.on(G.DEMUX_ERROR,this._onDemuxError.bind(this)),Le.on(G.INIT_SEGMENT,this._onInitSegment.bind(this)),Le.on(G.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Le.on(G.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Le.on(G.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Le.on(G.MEDIA_INFO,this._onMediaInfo.bind(this)),Le.on(G.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Le.on(G.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Le.on(G.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Le.on(G.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(x.a)(jt,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),De.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(_e,Oe){this._emitter.addListener(_e,Oe)}},{key:"off",value:function(_e,Oe){this._emitter.removeListener(_e,Oe)}},{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(_e){this._worker?this._worker.postMessage({cmd:"seek",param:_e}):this._controller.seek(_e)}},{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(_e,Oe){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(G.INIT_SEGMENT,_e,Oe)})}},{key:"_onMediaSegment",value:function(_e,Oe){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(G.MEDIA_SEGMENT,_e,Oe)})}},{key:"_onLoadingComplete",value:function(){var _e=this;Promise.resolve().then(function(){_e._emitter.emit(G.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var _e=this;Promise.resolve().then(function(){_e._emitter.emit(G.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(_e){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(G.MEDIA_INFO,_e)})}},{key:"_onMetaDataArrived",value:function(_e){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(G.METADATA_ARRIVED,_e)})}},{key:"_onScriptDataArrived",value:function(_e){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(G.SCRIPTDATA_ARRIVED,_e)})}},{key:"_onStatisticsInfo",value:function(_e){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(G.STATISTICS_INFO,_e)})}},{key:"_onIOError",value:function(_e,Oe){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(G.IO_ERROR,_e,Oe)})}},{key:"_onDemuxError",value:function(_e,Oe){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(G.DEMUX_ERROR,_e,Oe)})}},{key:"_onRecommendSeekpoint",value:function(_e){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(G.RECOMMEND_SEEKPOINT,_e)})}},{key:"_onLoggingConfigChanged",value:function(_e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:_e})}},{key:"_onWorkerMessage",value:function(_e){var Oe=_e.data,Le=Oe.data;if(Oe.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(Oe.msg){case G.INIT_SEGMENT:case G.MEDIA_SEGMENT:this._emitter.emit(Oe.msg,Le.type,Le.data);break;case G.LOADING_COMPLETE:case G.RECOVERED_EARLY_EOF:this._emitter.emit(Oe.msg);break;case G.MEDIA_INFO:Object.setPrototypeOf(Le,me.prototype),this._emitter.emit(Oe.msg,Le);break;case G.METADATA_ARRIVED:case G.SCRIPTDATA_ARRIVED:case G.STATISTICS_INFO:this._emitter.emit(Oe.msg,Le);break;case G.IO_ERROR:case G.DEMUX_ERROR:this._emitter.emit(Oe.msg,Le.type,Le.info);break;case G.RECOMMEND_SEEKPOINT:this._emitter.emit(Oe.msg,Le);break;case"logcat_callback":c.emitter.emit("log",Le.type,Le.logcat);break;default:break}}}]),jt}(),ct=Pt,Gt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},or=Gt,Zr=function(){function jt(St){Object(O.a)(this,jt),this.TAG="MSEController",this._config=St,this._emitter=new g.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new Tt}return Object(x.a)(jt,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(_e,Oe){this._emitter.addListener(_e,Oe)}},{key:"off",value:function(_e,Oe){this._emitter.removeListener(_e,Oe)}},{key:"attachMediaElement",value:function(_e){if(this._mediaSource)throw new s("MediaSource has been attached to an HTMLMediaElement!");var Oe=this._mediaSource=new window.MediaSource;Oe.addEventListener("sourceopen",this.e.onSourceOpen),Oe.addEventListener("sourceended",this.e.onSourceEnded),Oe.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=_e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),_e.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var _e=this._mediaSource;for(var Oe in this._sourceBuffers){var Le=this._pendingSegments[Oe];Le.splice(0,Le.length),this._pendingSegments[Oe]=null,this._pendingRemoveRanges[Oe]=null,this._lastInitSegments[Oe]=null;var Ze=this._sourceBuffers[Oe];if(Ze){if(_e.readyState!=="closed"){try{_e.removeSourceBuffer(Ze)}catch(nt){c.e(this.TAG,nt.message)}Ze.removeEventListener("error",this.e.onSourceBufferError),Ze.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[Oe]=null,this._sourceBuffers[Oe]=null}}if(_e.readyState==="open")try{_e.endOfStream()}catch(nt){c.e(this.TAG,nt.message)}_e.removeEventListener("sourceopen",this.e.onSourceOpen),_e.removeEventListener("sourceended",this.e.onSourceEnded),_e.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(_e,Oe){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(_e),this._pendingSegments[_e.type].push(_e);return}var Le=_e,Ze="".concat(Le.container);Le.codec&&Le.codec.length>0&&(Ze+=";codecs=".concat(Le.codec));var nt=!1;if(c.v(this.TAG,"Received Initialization Segment, mimeType: "+Ze),this._lastInitSegments[Le.type]=Le,Ze!==this._mimeTypes[Le.type]){if(this._mimeTypes[Le.type])c.v(this.TAG,"Notice: ".concat(Le.type," mimeType changed, origin: ").concat(this._mimeTypes[Le.type],", target: ").concat(Ze));else{nt=!0;try{var ft=this._sourceBuffers[Le.type]=this._mediaSource.addSourceBuffer(Ze);ft.addEventListener("error",this.e.onSourceBufferError),ft.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(Dt){c.e(this.TAG,Dt.message),this._emitter.emit(or.ERROR,{code:Dt.code,msg:Dt.message});return}}this._mimeTypes[Le.type]=Ze}Oe||this._pendingSegments[Le.type].push(Le),nt||this._sourceBuffers[Le.type]&&!this._sourceBuffers[Le.type].updating&&this._doAppendSegments(),E.safari&&Le.container==="audio/mpeg"&&Le.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Le.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(_e){var Oe=_e;this._pendingSegments[Oe.type].push(Oe),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Le=this._sourceBuffers[Oe.type];Le&&!Le.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(_e){for(var Oe in this._sourceBuffers){if(!this._sourceBuffers[Oe])continue;var Le=this._sourceBuffers[Oe];if(this._mediaSource.readyState==="open")try{Le.abort()}catch(Mr){c.e(this.TAG,Mr.message)}this._idrList.clear();var Ze=this._pendingSegments[Oe];if(Ze.splice(0,Ze.length),this._mediaSource.readyState==="closed")continue;for(var nt=0;nt=1&&_e-Ze.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var _e=this._mediaElement.currentTime;for(var Oe in this._sourceBuffers){var Le=this._sourceBuffers[Oe];if(Le){for(var Ze=Le.buffered,nt=!1,ft=0;ft=this._config.autoCleanupMaxBackwardDuration){nt=!0;var Mr=_e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[Oe].push({start:Dt,end:Mr})}}else Ar<_e&&(nt=!0,this._pendingRemoveRanges[Oe].push({start:Dt,end:Ar}))}nt&&!Le.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var _e=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(_e.video&&_e.video.updating||_e.audio&&_e.audio.updating)return;var Oe=this._mediaSource.duration,Le=this._pendingMediaDuration;Le>0&&(isNaN(Oe)||Le>Oe)&&(c.v(this.TAG,"Update MediaSource duration from ".concat(Oe," to ").concat(Le)),this._mediaSource.duration=Le),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var _e in this._pendingRemoveRanges){if(!this._sourceBuffers[_e]||this._sourceBuffers[_e].updating)continue;for(var Oe=this._sourceBuffers[_e],Le=this._pendingRemoveRanges[_e];Le.length&&!Oe.updating;){var Ze=Le.shift();Oe.remove(Ze.start,Ze.end)}}}},{key:"_doAppendSegments",value:function(){var _e=this._pendingSegments;for(var Oe in _e){if(!this._sourceBuffers[Oe]||this._sourceBuffers[Oe].updating)continue;if(_e[Oe].length>0){var Le=_e[Oe].shift();if(Le.timestampOffset){var Ze=this._sourceBuffers[Oe].timestampOffset,nt=Le.timestampOffset/1e3,ft=Math.abs(Ze-nt);ft>.1&&(c.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(Ze," to ").concat(nt)),this._sourceBuffers[Oe].timestampOffset=nt),delete Le.timestampOffset}if(!Le.data||Le.data.byteLength===0)continue;try{this._sourceBuffers[Oe].appendBuffer(Le.data),this._isBufferFull=!1,Oe==="video"&&Le.hasOwnProperty("info")&&this._idrList.appendArray(Le.info.syncPoints)}catch(Dt){this._pendingSegments[Oe].unshift(Le),Dt.code===22?(this._isBufferFull||this._emitter.emit(or.BUFFER_FULL),this._isBufferFull=!0):(c.e(this.TAG,Dt.message),this._emitter.emit(or.ERROR,{code:Dt.code,msg:Dt.message}))}}}}},{key:"_onSourceOpen",value:function(){if(c.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var _e=this._pendingSourceBufferInit;_e.length;){var Oe=_e.shift();this.appendInitSegment(Oe,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(or.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){c.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){c.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 _e=this._pendingSegments;return _e.video.length>0||_e.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var _e=this._pendingRemoveRanges;return _e.video.length>0||_e.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(or.UPDATE_END)}},{key:"_onSourceBufferError",value:function(_e){c.e(this.TAG,"SourceBuffer Error: ".concat(_e))}}]),jt}(),ir=Zr,dr={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},er={NETWORK_EXCEPTION:u.EXCEPTION,NETWORK_STATUS_CODE_INVALID:u.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:u.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:u.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:xe.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:xe.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:xe.CODEC_UNSUPPORTED},Kt=function(){function jt(St,_e){if(Object(O.a)(this,jt),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new g.a,this._config=J(),typeof _e=="object"&&Object.assign(this._config,_e),St.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");St.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=St,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 Oe=E.chrome&&(E.version.major<50||E.version.major===50&&E.version.build<2661);this._alwaysSeekKeyframe=!!(Oe||E.msedge||E.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(x.a)(jt,[{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(_e,Oe){var Le=this;_e===Ae.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Le._emitter.emit(Ae.MEDIA_INFO,Le.mediaInfo)}):_e===Ae.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Le._emitter.emit(Ae.STATISTICS_INFO,Le.statisticsInfo)})),this._emitter.addListener(_e,Oe)}},{key:"off",value:function(_e,Oe){this._emitter.removeListener(_e,Oe)}},{key:"attachMediaElement",value:function(_e){var Oe=this;if(this._mediaElement=_e,_e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),_e.addEventListener("seeking",this.e.onvSeeking),_e.addEventListener("canplay",this.e.onvCanPlay),_e.addEventListener("stalled",this.e.onvStalled),_e.addEventListener("progress",this.e.onvProgress),this._msectl=new ir(this._config),this._msectl.on(or.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(or.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(or.SOURCE_OPEN,function(){Oe._mseSourceOpened=!0,Oe._hasPendingLoad&&(Oe._hasPendingLoad=!1,Oe.load())}),this._msectl.on(or.ERROR,function(Le){Oe._emitter.emit(Ae.ERROR,dr.MEDIA_ERROR,er.MEDIA_MSE_ERROR,Le)}),this._msectl.attachMediaElement(_e),this._pendingSeekTime!=null)try{_e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Le){}}},{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 _e=this;if(!this._mediaElement)throw new s("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new s("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 ct(this._mediaDataSource,this._config),this._transmuxer.on(G.INIT_SEGMENT,function(Oe,Le){_e._msectl.appendInitSegment(Le)}),this._transmuxer.on(G.MEDIA_SEGMENT,function(Oe,Le){if(_e._msectl.appendMediaSegment(Le),_e._config.lazyLoad&&!_e._config.isLive){var Ze=_e._mediaElement.currentTime;Le.info.endDts>=(Ze+_e._config.lazyLoadMaxDuration)*1e3&&(_e._progressChecker==null&&(c.v(_e.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),_e._suspendTransmuxer()))}}),this._transmuxer.on(G.LOADING_COMPLETE,function(){_e._msectl.endOfStream(),_e._emitter.emit(Ae.LOADING_COMPLETE)}),this._transmuxer.on(G.RECOVERED_EARLY_EOF,function(){_e._emitter.emit(Ae.RECOVERED_EARLY_EOF)}),this._transmuxer.on(G.IO_ERROR,function(Oe,Le){_e._emitter.emit(Ae.ERROR,dr.NETWORK_ERROR,Oe,Le)}),this._transmuxer.on(G.DEMUX_ERROR,function(Oe,Le){_e._emitter.emit(Ae.ERROR,dr.MEDIA_ERROR,Oe,{code:-1,msg:Le})}),this._transmuxer.on(G.MEDIA_INFO,function(Oe){_e._mediaInfo=Oe,_e._emitter.emit(Ae.MEDIA_INFO,Object.assign({},Oe))}),this._transmuxer.on(G.METADATA_ARRIVED,function(Oe){_e._emitter.emit(Ae.METADATA_ARRIVED,Oe)}),this._transmuxer.on(G.SCRIPTDATA_ARRIVED,function(Oe){_e._emitter.emit(Ae.SCRIPTDATA_ARRIVED,Oe)}),this._transmuxer.on(G.STATISTICS_INFO,function(Oe){_e._statisticsInfo=_e._fillStatisticsInfo(Oe),_e._emitter.emit(Ae.STATISTICS_INFO,Object.assign({},_e._statisticsInfo))}),this._transmuxer.on(G.RECOMMEND_SEEKPOINT,function(Oe){_e._mediaElement&&!_e._config.accurateSeek&&(_e._requestSetTime=!0,_e._mediaElement.currentTime=Oe/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:"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(_e){this._mediaElement.volume=_e}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(_e){this._mediaElement.muted=_e}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(_e){this._mediaElement?this._internalSeek(_e):this._pendingSeekTime=_e}},{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)}},{key:"_fillStatisticsInfo",value:function(_e){if(_e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return _e;var Oe=!0,Le=0,Ze=0;if(this._mediaElement.getVideoPlaybackQuality){var nt=this._mediaElement.getVideoPlaybackQuality();Le=nt.totalVideoFrames,Ze=nt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Le=this._mediaElement.webkitDecodedFrameCount,Ze=this._mediaElement.webkitDroppedFrameCount):Oe=!1;return Oe&&(_e.decodedFrames=Le,_e.droppedFrames=Ze),_e}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var _e=this._mediaElement.buffered,Oe=this._mediaElement.currentTime,Le=0,Ze=0,nt=0;nt<_e.length;nt++){var ft=_e.start(nt),Dt=_e.end(nt);if(ft<=Oe&&Oe=Oe+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(c.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){c.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 _e=this._mediaElement.currentTime,Oe=this._mediaElement.buffered,Le=!1,Ze=0;Ze=nt&&_e=ft-this._config.lazyLoadRecoverDuration&&(Le=!0);break}}Le&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Le&&(c.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(_e){for(var Oe=this._mediaElement.buffered,Le=0;Le=Ze&&_e0){var nt=this._mediaElement.buffered.start(0);(nt<1&&_e0&&Oe.currentTime0){var Ze=Le.start(0);if(Ze<1&&Oe0&&(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:"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(_e){this._mediaElement.volume=_e}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(_e){this._mediaElement.muted=_e}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(_e){this._mediaElement?this._mediaElement.currentTime=_e:this._pendingSeekTime=_e}},{key:"mediaInfo",get:function(){var _e=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",Oe={mimeType:_e+this._mediaDataSource.type};return this._mediaElement&&(Oe.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(Oe.width=this._mediaElement.videoWidth,Oe.height=this._mediaElement.videoHeight)),Oe}},{key:"statisticsInfo",get:function(){var _e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return _e;var Oe=!0,Le=0,Ze=0;if(this._mediaElement.getVideoPlaybackQuality){var nt=this._mediaElement.getVideoPlaybackQuality();Le=nt.totalVideoFrames,Ze=nt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Le=this._mediaElement.webkitDecodedFrameCount,Ze=this._mediaElement.webkitDroppedFrameCount):Oe=!1;return Oe&&(_e.decodedFrames=Le,_e.droppedFrames=Ze),_e}},{key:"_onvLoadedMetadata",value:function(_e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Ae.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(Ae.STATISTICS_INFO,this.statisticsInfo)}}]),jt}(),fn=Hr;A.install();function Nn(jt,St){var _e=jt;if(_e==null||typeof _e!="object")throw new t("MediaDataSource must be an javascript object!");if(!_e.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(_e.type){case"flv":return new dt(_e,St);default:return new fn(_e,St)}}function Vn(){return ce.supportMSEH264Playback()}function gi(){return ce.getFeatureList()}var bn={};bn.createPlayer=Nn,bn.isSupported=Vn,bn.getFeatureList=gi,bn.BaseLoader=h,bn.LoaderStatus=l,bn.LoaderErrors=u,bn.Events=Ae,bn.ErrorTypes=dr,bn.ErrorDetails=er,bn.FlvPlayer=dt,bn.NativePlayer=fn,bn.LoggingControl=De,Object.defineProperty(bn,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Mn=P.a=bn},GVMX:function(H,P,d){var O=d("JEkh"),x=O.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"}});H.exports=x},GdRQ:function(H,P,d){"use strict";function O(E){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(w){return typeof w}:O=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},O(E)}Object.defineProperty(P,"__esModule",{value:!0}),P.isMac=l,P.isWindows=u,P.isIOS=h,P.isSafari=p,P.isIE=m,P.isEdge=v,P.isFirefox=y,P.hasScrollbarGutter=P.supportsImageMetadata=P.supportsCursorURIs=P.dragThreshold=P.isTouchDevice=void 0;var x=A(d("Lo0S"));function C(){if(typeof WeakMap!="function")return null;var E=new WeakMap;return C=function(){return E},E}function A(E){if(E&&E.__esModule)return E;if(E===null||O(E)!=="object"&&typeof E!="function")return{default:E};var T=C();if(T&&T.has(E))return T.get(E);var w={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in E)if(Object.prototype.hasOwnProperty.call(E,_)){var I=S?Object.getOwnPropertyDescriptor(E,_):null;I&&(I.get||I.set)?Object.defineProperty(w,_,I):w[_]=E[_]}return w.default=E,T&&T.set(E,w),w}var b="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;P.isTouchDevice=b,window.addEventListener("touchstart",function E(){P.isTouchDevice=b=!0,window.removeEventListener("touchstart",E,!1)},!1);var g=10*(window.devicePixelRatio||1);P.dragThreshold=g;var f=!1;try{var c=document.createElement("canvas");c.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',c.style.cursor.indexOf("url")===0?(x.Info("Data URI scheme cursor supported"),f=!0):x.Warn("Data URI scheme cursor not supported")}catch(E){x.Error("Data URI scheme cursor test exception: "+E)}var o=f;P.supportsCursorURIs=o;var r=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),r=!0}catch(E){}var i=r;P.supportsImageMetadata=i;var n=!0;try{var e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",document.body.appendChild(e);var s=document.createElement("div");e.appendChild(s);var t=e.offsetWidth-s.offsetWidth;e.parentNode.removeChild(e),n=t!=0}catch(E){x.Error("Scrollbar test exception: "+E)}var a=n;P.hasScrollbarGutter=a;function l(){return navigator&&!!/mac/i.exec(navigator.platform)}function u(){return navigator&&!!/win/i.exec(navigator.platform)}function h(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function p(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function m(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function v(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function y(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(H,P,d){var O=d("bYtY"),x=d("6Ic6"),C=d("IwbS"),A=d("y+Vt"),b=d("sK/D"),g=b.createClipPath,f=["itemStyle"],c=["emphasis","itemStyle"],o=["color","color0","borderColor","borderColor0"],r=x.extend({type:"candlestick",render:function(p,m,v){this.group.removeClipPath(),this._updateDrawMode(p),this._isLargeDraw?this._renderLarge(p):this._renderNormal(p)},incrementalPrepareRender:function(p,m,v){this._clear(),this._updateDrawMode(p)},incrementalRender:function(p,m,v,y){this._isLargeDraw?this._incrementalRenderLarge(p,m):this._incrementalRenderNormal(p,m)},_updateDrawMode:function(p){var m=p.pipelineContext.large;(this._isLargeDraw==null||m^this._isLargeDraw)&&(this._isLargeDraw=m,this._clear())},_renderNormal:function(p){var m=p.getData(),v=this._data,y=this.group,E=m.getLayout("isSimpleBox"),T=p.get("clip",!0),w=p.coordinateSystem,S=w.getArea&&w.getArea();this._data||y.removeAll(),m.diff(v).add(function(_){if(m.hasValue(_)){var I,L=m.getItemLayout(_);if(T&&e(S,L))return;I=n(L,_,!0),C.initProps(I,{shape:{points:L.ends}},p,_),s(I,m,_,E),y.add(I),m.setItemGraphicEl(_,I)}}).update(function(_,I){var L=v.getItemGraphicEl(I);if(!m.hasValue(_)){y.remove(L);return}var N=m.getItemLayout(_);if(T&&e(S,N)){y.remove(L);return}L?C.updateProps(L,{shape:{points:N.ends}},p,_):L=n(N,_),s(L,m,_,E),y.add(L),m.setItemGraphicEl(_,L)}).remove(function(_){var I=v.getItemGraphicEl(_);I&&y.remove(I)}).execute(),this._data=m},_renderLarge:function(p){this._clear(),l(p,this.group);var m=p.get("clip",!0)?g(p.coordinateSystem,!1,p):null;m?this.group.setClipPath(m):this.group.removeClipPath()},_incrementalRenderNormal:function(p,m){for(var v=m.getData(),y=v.getLayout("isSimpleBox"),E;(E=p.next())!=null;){var T,w=v.getItemLayout(E);T=n(w,E),s(T,v,E,y),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(p,m){l(m,this.group,!0)},remove:function(p){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:O.noop}),i=A.extend({type:"normalCandlestickBox",shape:{},buildPath:function(p,m){var v=m.points;this.__simpleBox?(p.moveTo(v[4][0],v[4][1]),p.lineTo(v[6][0],v[6][1])):(p.moveTo(v[0][0],v[0][1]),p.lineTo(v[1][0],v[1][1]),p.lineTo(v[2][0],v[2][1]),p.lineTo(v[3][0],v[3][1]),p.closePath(),p.moveTo(v[4][0],v[4][1]),p.lineTo(v[5][0],v[5][1]),p.moveTo(v[6][0],v[6][1]),p.lineTo(v[7][0],v[7][1]))}});function n(p,m,v){var y=p.ends;return new i({shape:{points:v?t(y,p):y},z2:100})}function e(p,m){for(var v=!0,y=0;y0?"P":"N",T=y.getVisual("borderColor"+E)||y.getVisual("color"+E),w=v.getModel(f).getItemStyle(o);m.useStyle(w),m.style.fill=null,m.style.stroke=T}var h=r;H.exports=h},Gev7:function(H,P,d){var O=d("bYtY"),x=d("K2GJ"),C=d("1bdT"),A=d("ni6a");function b(f){f=f||{},C.call(this,f);for(var c in f)f.hasOwnProperty(c)&&c!=="style"&&(this[c]=f[c]);this.style=new x(f.style,this),this._rect=null,this.__clipPaths=null}b.prototype={constructor:b,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(c){},afterBrush:function(c){},brush:function(c,o){},getBoundingRect:function(){},contain:function(c,o){return this.rectContain(c,o)},traverse:function(c,o){c.call(o,this)},rectContain:function(c,o){var r=this.transformCoordToLocal(c,o),i=this.getBoundingRect();return i.contain(r[0],r[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(c){return this.animate("style",c)},attrKV:function(c,o){c!=="style"?C.prototype.attrKV.call(this,c,o):this.style.set(o)},setStyle:function(c,o){return this.style.set(c,o),this.dirty(!1),this},useStyle:function(c){return this.style=new x(c,this),this.dirty(!1),this},calculateTextPosition:null},O.inherits(b,C),O.mixin(b,A);var g=b;H.exports=g},GrNh:function(H,P,d){var O=d("bYtY"),x=d("IwbS"),C=d("6Ic6");function A(r,i,n,e){var s=i.getData(),t=this.dataIndex,a=s.getName(t),l=i.get("selectedOffset");e.dispatchAction({type:"pieToggleSelect",from:r,name:a,seriesId:i.id}),s.each(function(u){b(s.getItemGraphicEl(u),s.getItemLayout(u),i.isSelected(s.getName(u)),l,n)})}function b(r,i,n,e,s){var t=(i.startAngle+i.endAngle)/2,a=Math.cos(t),l=Math.sin(t),u=n?e:0,h=[a*u,l*u];s?r.animate().when(200,{position:h}).start("bounceOut"):r.attr("position",h)}function g(r,i){x.Group.call(this);var n=new x.Sector({z2:2}),e=new x.Polyline,s=new x.Text;this.add(n),this.add(e),this.add(s),this.updateData(r,i,!0)}var f=g.prototype;f.updateData=function(r,i,n){var e=this.childAt(0),s=this.childAt(1),t=this.childAt(2),a=r.hostModel,l=r.getItemModel(i),u=r.getItemLayout(i),h=O.extend({},u);h.label=null;var p=a.getShallow("animationTypeUpdate");if(n){e.setShape(h);var m=a.getShallow("animationType");m==="scale"?(e.shape.r=u.r0,x.initProps(e,{shape:{r:u.r}},a,i)):(e.shape.endAngle=u.startAngle,x.updateProps(e,{shape:{endAngle:u.endAngle}},a,i))}else p==="expansion"?e.setShape(h):x.updateProps(e,{shape:h},a,i);var v=r.getItemVisual(i,"color");e.useStyle(O.defaults({lineJoin:"bevel",fill:v},l.getModel("itemStyle").getItemStyle())),e.hoverStyle=l.getModel("emphasis.itemStyle").getItemStyle();var y=l.getShallow("cursor");y&&e.attr("cursor",y),b(this,r.getItemLayout(i),a.isSelected(r.getName(i)),a.get("selectedOffset"),a.get("animation"));var E=!n&&p==="transition";this._updateLabel(r,i,E),this.highDownOnUpdate=a.get("silent")?null:function(T,w){var S=a.isAnimationEnabled()&&l.get("hoverAnimation");w==="emphasis"?(s.ignore=s.hoverIgnore,t.ignore=t.hoverIgnore,S&&(e.stopAnimation(!0),e.animateTo({shape:{r:u.r+a.get("hoverOffset")}},300,"elasticOut"))):(s.ignore=s.normalIgnore,t.ignore=t.normalIgnore,S&&(e.stopAnimation(!0),e.animateTo({shape:{r:u.r}},300,"elasticOut")))},x.setHoverStyle(this)},f._updateLabel=function(r,i,n){var e=this.childAt(1),s=this.childAt(2),t=r.hostModel,a=r.getItemModel(i),l=r.getItemLayout(i),u=l.label,h=r.getItemVisual(i,"color");if(!u||isNaN(u.x)||isNaN(u.y)){s.ignore=s.normalIgnore=s.hoverIgnore=e.ignore=e.normalIgnore=e.hoverIgnore=!0;return}var p={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},m={x:u.x,y:u.y};n?(x.updateProps(e,{shape:p},t,i),x.updateProps(s,{style:m},t,i)):(e.attr({shape:p}),s.attr({style:m})),s.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var v=a.getModel("label"),y=a.getModel("emphasis.label"),E=a.getModel("labelLine"),T=a.getModel("emphasis.labelLine"),h=r.getItemVisual(i,"color");x.setLabelStyle(s.style,s.hoverStyle={},v,y,{labelFetcher:r.hostModel,labelDataIndex:i,defaultText:u.text,autoColor:h,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:r.getItemVisual(i,"opacity")}),s.ignore=s.normalIgnore=!v.get("show"),s.hoverIgnore=!y.get("show"),e.ignore=e.normalIgnore=!E.get("show"),e.hoverIgnore=!T.get("show"),e.setStyle({stroke:h,opacity:r.getItemVisual(i,"opacity")}),e.setStyle(E.getModel("lineStyle").getLineStyle()),e.hoverStyle=T.getModel("lineStyle").getLineStyle();var w=E.get("smooth");w&&w===!0&&(w=.4),e.setShape({smooth:w})},O.inherits(g,x.Group);var c=C.extend({type:"pie",init:function(){var r=new x.Group;this._sectorGroup=r},render:function(r,i,n,e){if(e&&e.from===this.uid)return;var s=r.getData(),t=this._data,a=this.group,l=i.get("animation"),u=!t,h=r.get("animationType"),p=r.get("animationTypeUpdate"),m=O.curry(A,this.uid,r,l,n),v=r.get("selectedMode");if(s.diff(t).add(function(S){var _=new g(s,S);u&&h!=="scale"&&_.eachChild(function(I){I.stopAnimation(!0)}),v&&_.on("click",m),s.setItemGraphicEl(S,_),a.add(_)}).update(function(S,_){var I=t.getItemGraphicEl(_);!u&&p!=="transition"&&I.eachChild(function(L){L.stopAnimation(!0)}),I.updateData(s,S),I.off("click"),v&&I.on("click",m),a.add(I),s.setItemGraphicEl(S,I)}).remove(function(S){var _=t.getItemGraphicEl(S);a.remove(_)}).execute(),l&&s.count()>0&&(u?h!=="scale":p!=="transition")){for(var y=s.getItemLayout(0),E=1;isNaN(y.startAngle)&&E=e.r0}}}),o=c;H.exports=o},Gytx:function(H,P){H.exports=function(O,x,C,A){var b=C?C.call(A,O,x):void 0;if(b!==void 0)return!!b;if(O===x)return!0;if(typeof O!="object"||!O||typeof x!="object"||!x)return!1;var g=Object.keys(O),f=Object.keys(x);if(g.length!==f.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(x),o=0;o=Ae&&$De?"true":"false","aria-posinset":De+1,"aria-setsize":Ke,tabIndex:ce?-1:0},A.a.createElement("div",{className:"".concat(ae,"-first")},Ue),A.a.createElement("div",{className:"".concat(ae,"-second")},Ue)));return Ie&&(oe=Ie(oe,this.props)),oe}}]),j}(A.a.Component);function m(U,F){var j=Object.keys(U);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(U);F&&(W=W.filter(function(V){return Object.getOwnPropertyDescriptor(U,V).enumerable})),j.push.apply(j,W)}return j}function v(U){for(var F=1;F0&&!Ke||$===s.a.RIGHT&&me>0&&Ke?(Ae?me-=.5:me-=1,V.changeValue(me),J.preventDefault()):$===s.a.LEFT&&meKe/2||!ae&&z-De3&&(o=d.call(o,1));for(var i=f.length,n=0;n4&&(o=d.call(o,1,o.length-1));for(var i=o[o.length-1],n=f.length,e=0;e0)throw new Error("Invalid string. Length must be a multiple of 4");var a=s.indexOf("=");a===-1&&(a=t);var l=a===t?0:4-a%4;return[a,l]}function c(s){var t=f(s),a=t[0],l=t[1];return(a+l)*3/4-l}function o(s,t,a){return(t+a)*3/4-a}function r(s){var t,a=f(s),l=a[0],u=a[1],h=new C(o(s,l,u)),p=0,m=u>0?l-4:l,v;for(v=0;v>16&255,h[p++]=t>>8&255,h[p++]=t&255;return u===2&&(t=x[s.charCodeAt(v)]<<2|x[s.charCodeAt(v+1)]>>4,h[p++]=t&255),u===1&&(t=x[s.charCodeAt(v)]<<10|x[s.charCodeAt(v+1)]<<4|x[s.charCodeAt(v+2)]>>2,h[p++]=t>>8&255,h[p++]=t&255),h}function i(s){return O[s>>18&63]+O[s>>12&63]+O[s>>6&63]+O[s&63]}function n(s,t,a){for(var l,u=[],h=t;hm?m:p+h));return l===1?(t=s[a-1],u.push(O[t>>2]+O[t<<4&63]+"==")):l===2&&(t=(s[a-2]<<8)+s[a-1],u.push(O[t>>10]+O[t>>4&63]+O[t<<2&63]+"=")),u.join("")}},HBhm:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},HDXh:function(H,P,d){"use strict";(function(O){/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */var x=d("H7XF"),C=d("kVK+"),A=d("49sm");P.Buffer=c,P.SlowBuffer=u,P.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=O.TYPED_ARRAY_SUPPORT!==void 0?O.TYPED_ARRAY_SUPPORT:b(),P.kMaxLength=g();function b(){try{var se=new Uint8Array(1);return se.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},se.foo()===42&&typeof se.subarray=="function"&&se.subarray(1,1).byteLength===0}catch(Y){return!1}}function g(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(se,Y){if(g()=g())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g().toString(16)+" bytes");return se|0}function u(se){return+se!=se&&(se=0),c.alloc(+se)}c.isBuffer=function(Y){return!!(Y!=null&&Y._isBuffer)},c.compare=function(Y,X){if(!c.isBuffer(Y)||!c.isBuffer(X))throw new TypeError("Arguments must be Buffers");if(Y===X)return 0;for(var Q=Y.length,ge=X.length,de=0,Te=Math.min(Q,ge);de>>1;case"base64":return oe(se).length;default:if(Q)return Ke(se).length;Y=(""+Y).toLowerCase(),Q=!0}}c.byteLength=h;function p(se,Y,X){var Q=!1;if((Y===void 0||Y<0)&&(Y=0),Y>this.length)return"";if((X===void 0||X>this.length)&&(X=this.length),X<=0)return"";if(X>>>=0,Y>>>=0,X<=Y)return"";for(se||(se="utf8");;)switch(se){case"hex":return U(this,Y,X);case"utf8":case"utf-8":return N(this,Y,X);case"ascii":return B(this,Y,X);case"latin1":case"binary":return M(this,Y,X);case"base64":return L(this,Y,X);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,Y,X);default:if(Q)throw new TypeError("Unknown encoding: "+se);se=(se+"").toLowerCase(),Q=!0}}c.prototype._isBuffer=!0;function m(se,Y,X){var Q=se[Y];se[Y]=se[X],se[X]=Q}c.prototype.swap16=function(){var Y=this.length;if(Y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var X=0;X0&&(Y=this.toString("hex",0,X).match(/.{2}/g).join(" "),this.length>X&&(Y+=" ... ")),""},c.prototype.compare=function(Y,X,Q,ge,de){if(!c.isBuffer(Y))throw new TypeError("Argument must be a Buffer");if(X===void 0&&(X=0),Q===void 0&&(Q=Y?Y.length:0),ge===void 0&&(ge=0),de===void 0&&(de=this.length),X<0||Q>Y.length||ge<0||de>this.length)throw new RangeError("out of range index");if(ge>=de&&X>=Q)return 0;if(ge>=de)return-1;if(X>=Q)return 1;if(X>>>=0,Q>>>=0,ge>>>=0,de>>>=0,this===Y)return 0;for(var Te=de-ge,xe=Q-X,le=Math.min(Te,xe),fe=this.slice(ge,de),Ee=Y.slice(X,Q),Ge=0;Ge2147483647?X=2147483647:X<-2147483648&&(X=-2147483648),X=+X,isNaN(X)&&(X=ge?0:se.length-1),X<0&&(X=se.length+X),X>=se.length){if(ge)return-1;X=se.length-1}else if(X<0)if(ge)X=0;else return-1;if(typeof Y=="string"&&(Y=c.from(Y,Q)),c.isBuffer(Y))return Y.length===0?-1:y(se,Y,X,Q,ge);if(typeof Y=="number")return Y=Y&255,c.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ge?Uint8Array.prototype.indexOf.call(se,Y,X):Uint8Array.prototype.lastIndexOf.call(se,Y,X):y(se,[Y],X,Q,ge);throw new TypeError("val must be string, number or Buffer")}function y(se,Y,X,Q,ge){var de=1,Te=se.length,xe=Y.length;if(Q!==void 0&&(Q=String(Q).toLowerCase(),Q==="ucs2"||Q==="ucs-2"||Q==="utf16le"||Q==="utf-16le")){if(se.length<2||Y.length<2)return-1;de=2,Te/=2,xe/=2,X/=2}function le(Je,Ce){return de===1?Je[Ce]:Je.readUInt16BE(Ce*de)}var fe;if(ge){var Ee=-1;for(fe=X;feTe&&(X=Te-xe),fe=X;fe>=0;fe--){for(var Ge=!0,lt=0;ltge&&(Q=ge)):Q=ge;var de=Y.length;if(de%2!==0)throw new TypeError("Invalid hex string");Q>de/2&&(Q=de/2);for(var Te=0;Tede)&&(Q=de),Y.length>0&&(Q<0||X<0)||X>this.length)throw new RangeError("Attempt to write outside buffer bounds");ge||(ge="utf8");for(var Te=!1;;)switch(ge){case"hex":return E(this,Y,X,Q);case"utf8":case"utf-8":return T(this,Y,X,Q);case"ascii":return w(this,Y,X,Q);case"latin1":case"binary":return S(this,Y,X,Q);case"base64":return _(this,Y,X,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,Y,X,Q);default:if(Te)throw new TypeError("Unknown encoding: "+ge);ge=(""+ge).toLowerCase(),Te=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function L(se,Y,X){return Y===0&&X===se.length?x.fromByteArray(se):x.fromByteArray(se.slice(Y,X))}function N(se,Y,X){X=Math.min(se.length,X);for(var Q=[],ge=Y;ge239?4:de>223?3:de>191?2:1;if(ge+xe<=X){var le,fe,Ee,Ge;switch(xe){case 1:de<128&&(Te=de);break;case 2:le=se[ge+1],(le&192)===128&&(Ge=(de&31)<<6|le&63,Ge>127&&(Te=Ge));break;case 3:le=se[ge+1],fe=se[ge+2],(le&192)===128&&(fe&192)===128&&(Ge=(de&15)<<12|(le&63)<<6|fe&63,Ge>2047&&(Ge<55296||Ge>57343)&&(Te=Ge));break;case 4:le=se[ge+1],fe=se[ge+2],Ee=se[ge+3],(le&192)===128&&(fe&192)===128&&(Ee&192)===128&&(Ge=(de&15)<<18|(le&63)<<12|(fe&63)<<6|Ee&63,Ge>65535&&Ge<1114112&&(Te=Ge))}}Te===null?(Te=65533,xe=1):Te>65535&&(Te-=65536,Q.push(Te>>>10&1023|55296),Te=56320|Te&1023),Q.push(Te),ge+=xe}return R(Q)}var D=4096;function R(se){var Y=se.length;if(Y<=D)return String.fromCharCode.apply(String,se);for(var X="",Q=0;QQ)&&(X=Q);for(var ge="",de=Y;deQ&&(Y=Q),X<0?(X+=Q,X<0&&(X=0)):X>Q&&(X=Q),XX)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUIntLE=function(Y,X,Q){Y=Y|0,X=X|0,Q||j(Y,X,this.length);for(var ge=this[Y],de=1,Te=0;++Te0&&(de*=256);)ge+=this[Y+--X]*de;return ge},c.prototype.readUInt8=function(Y,X){return X||j(Y,1,this.length),this[Y]},c.prototype.readUInt16LE=function(Y,X){return X||j(Y,2,this.length),this[Y]|this[Y+1]<<8},c.prototype.readUInt16BE=function(Y,X){return X||j(Y,2,this.length),this[Y]<<8|this[Y+1]},c.prototype.readUInt32LE=function(Y,X){return X||j(Y,4,this.length),(this[Y]|this[Y+1]<<8|this[Y+2]<<16)+this[Y+3]*16777216},c.prototype.readUInt32BE=function(Y,X){return X||j(Y,4,this.length),this[Y]*16777216+(this[Y+1]<<16|this[Y+2]<<8|this[Y+3])},c.prototype.readIntLE=function(Y,X,Q){Y=Y|0,X=X|0,Q||j(Y,X,this.length);for(var ge=this[Y],de=1,Te=0;++Te=de&&(ge-=Math.pow(2,8*X)),ge},c.prototype.readIntBE=function(Y,X,Q){Y=Y|0,X=X|0,Q||j(Y,X,this.length);for(var ge=X,de=1,Te=this[Y+--ge];ge>0&&(de*=256);)Te+=this[Y+--ge]*de;return de*=128,Te>=de&&(Te-=Math.pow(2,8*X)),Te},c.prototype.readInt8=function(Y,X){return X||j(Y,1,this.length),this[Y]&128?(255-this[Y]+1)*-1:this[Y]},c.prototype.readInt16LE=function(Y,X){X||j(Y,2,this.length);var Q=this[Y]|this[Y+1]<<8;return Q&32768?Q|4294901760:Q},c.prototype.readInt16BE=function(Y,X){X||j(Y,2,this.length);var Q=this[Y+1]|this[Y]<<8;return Q&32768?Q|4294901760:Q},c.prototype.readInt32LE=function(Y,X){return X||j(Y,4,this.length),this[Y]|this[Y+1]<<8|this[Y+2]<<16|this[Y+3]<<24},c.prototype.readInt32BE=function(Y,X){return X||j(Y,4,this.length),this[Y]<<24|this[Y+1]<<16|this[Y+2]<<8|this[Y+3]},c.prototype.readFloatLE=function(Y,X){return X||j(Y,4,this.length),C.read(this,Y,!0,23,4)},c.prototype.readFloatBE=function(Y,X){return X||j(Y,4,this.length),C.read(this,Y,!1,23,4)},c.prototype.readDoubleLE=function(Y,X){return X||j(Y,8,this.length),C.read(this,Y,!0,52,8)},c.prototype.readDoubleBE=function(Y,X){return X||j(Y,8,this.length),C.read(this,Y,!1,52,8)};function W(se,Y,X,Q,ge,de){if(!c.isBuffer(se))throw new TypeError('"buffer" argument must be a Buffer instance');if(Y>ge||Yse.length)throw new RangeError("Index out of range")}c.prototype.writeUIntLE=function(Y,X,Q,ge){if(Y=+Y,X=X|0,Q=Q|0,!ge){var de=Math.pow(2,8*Q)-1;W(this,Y,X,Q,de,0)}var Te=1,xe=0;for(this[X]=Y&255;++xe=0&&(xe*=256);)this[X+Te]=Y/xe&255;return X+Q},c.prototype.writeUInt8=function(Y,X,Q){return Y=+Y,X=X|0,Q||W(this,Y,X,1,255,0),c.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),this[X]=Y&255,X+1};function V(se,Y,X,Q){Y<0&&(Y=65535+Y+1);for(var ge=0,de=Math.min(se.length-X,2);ge>>(Q?ge:1-ge)*8}c.prototype.writeUInt16LE=function(Y,X,Q){return Y=+Y,X=X|0,Q||W(this,Y,X,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[X]=Y&255,this[X+1]=Y>>>8):V(this,Y,X,!0),X+2},c.prototype.writeUInt16BE=function(Y,X,Q){return Y=+Y,X=X|0,Q||W(this,Y,X,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[X]=Y>>>8,this[X+1]=Y&255):V(this,Y,X,!1),X+2};function z(se,Y,X,Q){Y<0&&(Y=4294967295+Y+1);for(var ge=0,de=Math.min(se.length-X,4);ge>>(Q?ge:3-ge)*8&255}c.prototype.writeUInt32LE=function(Y,X,Q){return Y=+Y,X=X|0,Q||W(this,Y,X,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[X+3]=Y>>>24,this[X+2]=Y>>>16,this[X+1]=Y>>>8,this[X]=Y&255):z(this,Y,X,!0),X+4},c.prototype.writeUInt32BE=function(Y,X,Q){return Y=+Y,X=X|0,Q||W(this,Y,X,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[X]=Y>>>24,this[X+1]=Y>>>16,this[X+2]=Y>>>8,this[X+3]=Y&255):z(this,Y,X,!1),X+4},c.prototype.writeIntLE=function(Y,X,Q,ge){if(Y=+Y,X=X|0,!ge){var de=Math.pow(2,8*Q-1);W(this,Y,X,Q,de-1,-de)}var Te=0,xe=1,le=0;for(this[X]=Y&255;++Te>0)-le&255;return X+Q},c.prototype.writeIntBE=function(Y,X,Q,ge){if(Y=+Y,X=X|0,!ge){var de=Math.pow(2,8*Q-1);W(this,Y,X,Q,de-1,-de)}var Te=Q-1,xe=1,le=0;for(this[X+Te]=Y&255;--Te>=0&&(xe*=256);)Y<0&&le===0&&this[X+Te+1]!==0&&(le=1),this[X+Te]=(Y/xe>>0)-le&255;return X+Q},c.prototype.writeInt8=function(Y,X,Q){return Y=+Y,X=X|0,Q||W(this,Y,X,1,127,-128),c.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),Y<0&&(Y=255+Y+1),this[X]=Y&255,X+1},c.prototype.writeInt16LE=function(Y,X,Q){return Y=+Y,X=X|0,Q||W(this,Y,X,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[X]=Y&255,this[X+1]=Y>>>8):V(this,Y,X,!0),X+2},c.prototype.writeInt16BE=function(Y,X,Q){return Y=+Y,X=X|0,Q||W(this,Y,X,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[X]=Y>>>8,this[X+1]=Y&255):V(this,Y,X,!1),X+2},c.prototype.writeInt32LE=function(Y,X,Q){return Y=+Y,X=X|0,Q||W(this,Y,X,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[X]=Y&255,this[X+1]=Y>>>8,this[X+2]=Y>>>16,this[X+3]=Y>>>24):z(this,Y,X,!0),X+4},c.prototype.writeInt32BE=function(Y,X,Q){return Y=+Y,X=X|0,Q||W(this,Y,X,4,2147483647,-2147483648),Y<0&&(Y=4294967295+Y+1),c.TYPED_ARRAY_SUPPORT?(this[X]=Y>>>24,this[X+1]=Y>>>16,this[X+2]=Y>>>8,this[X+3]=Y&255):z(this,Y,X,!1),X+4};function J(se,Y,X,Q,ge,de){if(X+Q>se.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("Index out of range")}function $(se,Y,X,Q,ge){return ge||J(se,Y,X,4,34028234663852886e22,-34028234663852886e22),C.write(se,Y,X,Q,23,4),X+4}c.prototype.writeFloatLE=function(Y,X,Q){return $(this,Y,X,!0,Q)},c.prototype.writeFloatBE=function(Y,X,Q){return $(this,Y,X,!1,Q)};function ce(se,Y,X,Q,ge){return ge||J(se,Y,X,8,17976931348623157e292,-17976931348623157e292),C.write(se,Y,X,Q,52,8),X+8}c.prototype.writeDoubleLE=function(Y,X,Q){return ce(this,Y,X,!0,Q)},c.prototype.writeDoubleBE=function(Y,X,Q){return ce(this,Y,X,!1,Q)},c.prototype.copy=function(Y,X,Q,ge){if(Q||(Q=0),!ge&&ge!==0&&(ge=this.length),X>=Y.length&&(X=Y.length),X||(X=0),ge>0&&ge=this.length)throw new RangeError("sourceStart out of bounds");if(ge<0)throw new RangeError("sourceEnd out of bounds");ge>this.length&&(ge=this.length),Y.length-X=0;--Te)Y[Te+X]=this[Te+Q];else if(de<1e3||!c.TYPED_ARRAY_SUPPORT)for(Te=0;Te>>0,Q=Q===void 0?this.length:Q>>>0,Y||(Y=0);var Te;if(typeof Y=="number")for(Te=X;Te55295&&X<57344){if(!ge){if(X>56319){(Y-=3)>-1&&de.push(239,191,189);continue}else if(Te+1===Q){(Y-=3)>-1&&de.push(239,191,189);continue}ge=X;continue}if(X<56320){(Y-=3)>-1&&de.push(239,191,189),ge=X;continue}X=(ge-55296<<10|X-56320)+65536}else ge&&((Y-=3)>-1&&de.push(239,191,189));if(ge=null,X<128){if((Y-=1)<0)break;de.push(X)}else if(X<2048){if((Y-=2)<0)break;de.push(X>>6|192,X&63|128)}else if(X<65536){if((Y-=3)<0)break;de.push(X>>12|224,X>>6&63|128,X&63|128)}else if(X<1114112){if((Y-=4)<0)break;de.push(X>>18|240,X>>12&63|128,X>>6&63|128,X&63|128)}else throw new Error("Invalid code point")}return de}function me(se){for(var Y=[],X=0;X>8,ge=X%256,de.push(ge),de.push(Q);return de}function oe(se){return x.toByteArray(Ae(se))}function te(se,Y,X,Q){for(var ge=0;ge=Y.length||ge>=se.length);++ge)Y[ge+X]=se[ge];return ge}function Qe(se){return se!==se}}).call(this,d("yLpj"))},"HF/U":function(H,P,d){var O=d("QBsz");function x(A){var b=A.coordinateSystem;if(b&&b.type!=="view")return;var g=A.getGraph();g.eachNode(function(f){var c=f.getModel();f.setLayout([+c.get("x"),+c.get("y")])}),C(g)}function C(A){A.eachEdge(function(b){var g=b.getModel().get("lineStyle.curveness")||0,f=O.clone(b.node1.getLayout()),c=O.clone(b.node2.getLayout()),o=[f,c];+g&&o.push([(f[0]+c[0])/2-(f[1]-c[1])*g,(f[1]+c[1])/2-(c[0]-f[0])*g]),b.setLayout(o)})}P.simpleLayout=x,P.simpleLayoutEdge=C},"HM/N":function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("bYtY"),A=d("/SeX"),b=d("OELB"),g=b.parsePercent,f=d("aX7z"),c=f.createScaleByModel,o=f.niceScaleExtent,r=d("IDmD"),i=d("7hqr"),n=i.getStackedDimension;d("ePAk");function e(l,u,h){var p=u.get("center"),m=h.getWidth(),v=h.getHeight();l.cx=g(p[0],m),l.cy=g(p[1],v);var y=l.getRadiusAxis(),E=Math.min(m,v)/2,T=u.get("radius");T==null?T=[0,"100%"]:C.isArray(T)||(T=[0,T]),T=[g(T[0],E),g(T[1],E)],y.inverse?y.setExtent(T[1],T[0]):y.setExtent(T[0],T[1])}function s(l,u){var h=this,p=h.getAngleAxis(),m=h.getRadiusAxis();if(p.scale.setExtent(Infinity,-Infinity),m.scale.setExtent(Infinity,-Infinity),l.eachSeries(function(E){if(E.coordinateSystem===h){var T=E.getData();C.each(T.mapDimension("radius",!0),function(w){m.scale.unionExtentFromData(T,n(T,w))}),C.each(T.mapDimension("angle",!0),function(w){p.scale.unionExtentFromData(T,n(T,w))})}}),o(p.scale,p.model),o(m.scale,m.model),p.type==="category"&&!p.onBand){var v=p.getExtent(),y=360/p.scale.count();p.inverse?v[1]+=y:v[1]-=y,p.setExtent(v[0],v[1])}}function t(l,u){if(l.type=u.get("type"),l.scale=c(u),l.onBand=u.get("boundaryGap")&&l.type==="category",l.inverse=u.get("inverse"),u.mainType==="angleAxis"){l.inverse^=u.get("clockwise");var h=u.get("startAngle");l.setExtent(h,h+(l.inverse?-360:360))}u.axis=l,l.model=u}var a={dimensions:A.prototype.dimensions,create:function(l,u){var h=[];return l.eachComponent("polar",function(p,m){var v=new A(m);v.update=s;var y=v.getRadiusAxis(),E=v.getAngleAxis(),T=p.findAxisModel("radiusAxis"),w=p.findAxisModel("angleAxis");t(y,T),t(E,w),e(v,p,u),h.push(v),p.coordinateSystem=v,v.model=p}),l.eachSeries(function(p){if(p.get("coordinateSystem")==="polar"){var m=l.queryComponents({mainType:"polar",index:p.get("polarIndex"),id:p.get("polarId")})[0];p.coordinateSystem=m.coordinateSystem}}),h}};r.register("polar",a)},HQEm:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("Sj0X"));function x(A){return A&&A.__esModule?A:{default:A}}var C=O;P.default=C,H.exports=C},HjIi:function(H,P,d){var O=d("bYtY"),x=d("OELB"),C=x.parsePercent,A=d("7hqr"),b=A.isDimensionStacked;function g(i){return i.get("stack")||"__ec_stack_"+i.seriesIndex}function f(i,n){return n.dim+i.model.componentIndex}function c(i,n,e){var s={},t=o(O.filter(n.getSeriesByType(i),function(a){return!n.isSeriesFiltered(a)&&a.coordinateSystem&&a.coordinateSystem.type==="polar"}));n.eachSeriesByType(i,function(a){if(a.coordinateSystem.type!=="polar")return;var l=a.getData(),u=a.coordinateSystem,h=u.getBaseAxis(),p=f(u,h),m=g(a),v=t[p][m],y=v.offset,E=v.width,T=u.getOtherAxis(h),w=a.coordinateSystem.cx,S=a.coordinateSystem.cy,_=a.get("barMinHeight")||0,I=a.get("barMinAngle")||0;s[m]=s[m]||[];for(var L=l.mapDimension(T.dim),N=l.mapDimension(h.dim),D=b(l,L),R=h.dim!=="radius"||!a.get("roundCap",!0),B=T.getExtent()[0],M=0,U=l.count();M=0?"p":"n",V=B;D&&(s[m][j]||(s[m][j]={p:B,n:B}),V=s[m][j][W]);var z,J,$,ce;if(T.dim==="radius"){var ae=T.dataToRadius(F)-B,Ae=h.dataToAngle(j);Math.abs(ae)<_&&(ae=(ae<0?-1:1)*_),z=V,J=V+ae,$=Ae-y,ce=$-E,D&&(s[m][j][W]=J)}else{var Ie=T.dataToAngle(F,R)-B,De=h.dataToRadius(j);Math.abs(Ie)=f/3?1:2),i=A.y-g(o)*c*(c>=f/3?1:2);o=A.angle-Math.PI/2,C.moveTo(r,i),C.lineTo(A.x+b(o)*c,A.y+g(o)*c),C.lineTo(A.x+b(A.angle)*f,A.y+g(A.angle)*f),C.lineTo(A.x-b(o)*c,A.y-g(o)*c),C.lineTo(r,i);return}});H.exports=x},Hxpc:function(H,P,d){var O=d("bYtY"),x=d("4NO4"),C=d("bLfw"),A=d("Qxkt"),b=d("cCMj"),g=d("7uqq"),f=C.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(o){C.prototype.init.apply(this,arguments),x.defaultEmphasis(o,"label",["show"])},optionUpdated:function(){var o=this.option,r=this;o.regions=g.getFilledRegions(o.regions,o.map,o.nameMap),this._optionModelMap=O.reduce(o.regions||[],function(i,n){return n.name&&i.set(n.name,new A(n,r)),i},O.createHashMap()),this.updateSelectedMap(o.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(o){return this._optionModelMap.get(o)||new A(null,this,this.ecModel)},getFormattedLabel:function(o,r){var i=this.getRegionModel(o),n=i.get("label"+(r==="normal"?".":r+".")+"formatter"),e={name:o};if(typeof n=="function")return e.status=r,n(e);if(typeof n=="string")return n.replace("{a}",o!=null?o:"")},setZoom:function(o){this.option.zoom=o},setCenter:function(o){this.option.center=o}});O.mixin(f,b);var c=f;H.exports=c},"I+77":function(H,P,d){var O=d("ProS");d("h54F"),d("lwQL"),d("10cm");var x=d("Z1r0"),C=d("f5Yq"),A=d("KUOm"),b=d("3m61"),g=d("01d+"),f=d("rdor"),c=d("WGYa"),o=d("ewwo");O.registerProcessor(x),O.registerVisual(C("graph","circle",null)),O.registerVisual(A),O.registerVisual(b),O.registerLayout(g),O.registerLayout(O.PRIORITY.VISUAL.POST_CHART_LAYOUT,f),O.registerLayout(c),O.registerCoordinateSystem("graphView",{create:o})},"I+Bx":function(H,P,d){var O=d("bYtY"),x=d("eIcI"),C=d("ieMj"),A=d("OELB"),b=d("aX7z"),g=b.getScaleExtent,f=b.niceScaleExtent,c=d("IDmD"),o=d("jCoz");function r(n,e,s){this._model=n,this.dimensions=[],this._indicatorAxes=O.map(n.getIndicatorModels(),function(t,a){var l="indicator_"+a,u=new x(l,t.get("axisType")==="log"?new o:new C);return u.name=t.get("name"),u.model=t,t.axis=u,this.dimensions.push(l),u},this),this.resize(n,s),this.cx,this.cy,this.r,this.r0,this.startAngle}r.prototype.getIndicatorAxes=function(){return this._indicatorAxes},r.prototype.dataToPoint=function(n,e){var s=this._indicatorAxes[e];return this.coordToPoint(s.dataToCoord(n),e)},r.prototype.coordToPoint=function(n,e){var s=this._indicatorAxes[e],t=s.angle,a=this.cx+n*Math.cos(t),l=this.cy-n*Math.sin(t);return[a,l]},r.prototype.pointToData=function(n){var e=n[0]-this.cx,s=n[1]-this.cy,t=Math.sqrt(e*e+s*s);e/=t,s/=t;for(var a=Math.atan2(-s,e),l=Infinity,u,h=-1,p=0;pp[0]&&isFinite(S)&&isFinite(p[0]))}else{var _=v.getTicks().length-1;_>a&&(T=l(T));var w=Math.ceil(p[1]/T)*T,S=A.round(w-T*a);v.setExtent(S,w),v.setInterval(T)}})},r.dimensions=[],r.create=function(n,e){var s=[];return n.eachComponent("radar",function(t){var a=new r(t,n,e);s.push(a),t.coordinateSystem=a}),n.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=s[t.get("radarIndex")||0])}),s},c.register("radar",r);var i=r;H.exports=i},"I3/A":function(H,P,d){var O=d("bYtY"),x=d("YXkt"),C=d("c2i1"),A=d("Mdki"),b=d("sdST"),g=d("IDmD"),f=d("MwEJ");function c(o,r,i,n,e){for(var s=new C(n),t=0;t "+m)),u++)}var v=i.get("coordinateSystem"),y;if(v==="cartesian2d"||v==="polar")y=f(o,i);else{var E=g.get(v),T=E&&E.type!=="view"?E.dimensions||[]:[];O.indexOf(T,"value")<0&&T.concat(["value"]);var w=b(o,{coordDimensions:T});y=new x(w,i),y.initData(o)}var S=new x(["value"],i);return S.initData(l,a),e&&e(y,S),A({mainData:y,struct:s,structAttr:"graph",datas:{node:y,edge:S},datasAttr:{node:"data",edge:"edgeData"}}),s.update(),s}H.exports=c},I8Z2:function(H,P,d){"use strict";d.d(P,"a",function(){return A}),d.d(P,"b",function(){return e}),d.d(P,"c",function(){return t});var O=d("q1tI"),x=function(){var a=function(u,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,m){p.__proto__=m}||function(p,m){for(var v in m)m.hasOwnProperty(v)&&(p[v]=m[v])},a(u,h)};return function(l,u){a(l,u);function h(){this.constructor=l}l.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}}(),C=O.createContext(null),A=function(a){x(l,a);function l(){return a!==null&&a.apply(this,arguments)||this}return l.prototype.render=function(){return O.createElement(C.Provider,{value:this.props.store},this.props.children)},l}(O.Component),b=d("Gytx"),g=d.n(b),f=d("2mql"),c=d.n(f),o=function(){var a=function(u,h){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,m){p.__proto__=m}||function(p,m){for(var v in m)m.hasOwnProperty(v)&&(p[v]=m[v])},a(u,h)};return function(l,u){a(l,u);function h(){this.constructor=l}l.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}}(),r=function(){return r=Object.assign||function(a){for(var l,u=1,h=arguments.length;uthis._ux||l(y-this._yi)>this._uy||this._len<5;return this.addData(f.L,v,y),this._ctx&&E&&(this._needsDash()?this._dashedLineTo(v,y):this._ctx.lineTo(v,y)),E&&(this._xi=v,this._yi=y),this},bezierCurveTo:function(v,y,E,T,w,S){return this.addData(f.C,v,y,E,T,w,S),this._ctx&&(this._needsDash()?this._dashedBezierTo(v,y,E,T,w,S):this._ctx.bezierCurveTo(v,y,E,T,w,S)),this._xi=w,this._yi=S,this},quadraticCurveTo:function(v,y,E,T){return this.addData(f.Q,v,y,E,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(v,y,E,T):this._ctx.quadraticCurveTo(v,y,E,T)),this._xi=E,this._yi=T,this},arc:function(v,y,E,T,w,S){return this.addData(f.A,v,y,E,E,T,w-T,0,S?0:1),this._ctx&&this._ctx.arc(v,y,E,T,w,S),this._xi=s(w)*E+v,this._yi=t(w)*E+y,this},arcTo:function(v,y,E,T,w){return this._ctx&&this._ctx.arcTo(v,y,E,T,w),this},rect:function(v,y,E,T){return this._ctx&&this._ctx.rect(v,y,E,T),this.addData(f.R,v,y,E,T),this},closePath:function(){this.addData(f.Z);var v=this._ctx,y=this._x0,E=this._y0;return v&&(this._needsDash()&&this._dashedLineTo(y,E),v.closePath()),this._xi=y,this._yi=E,this},fill:function(v){v&&v.fill(),this.toStatic()},stroke:function(v){v&&v.stroke(),this.toStatic()},setLineDash:function(v){if(v instanceof Array){this._lineDash=v,this._dashIdx=0;for(var y=0,E=0;Ey.length&&(this._expandData(),y=this.data);for(var E=0;E0&&R<=v||L<0&&R>=v||L===0&&(N>0&&B<=y||N<0&&B>=y);){if(F=this._dashIdx,M=w[F],R+=L*M,B+=N*M,this._dashIdx=(F+1)%U,L>0&&R<_||L<0&&R>_||N>0&&BI)continue;S[F%2?"moveTo":"lineTo"](L>=0?n(R,v):e(R,v),N>=0?n(B,y):e(B,y))}L=R-v,N=B-y,this._dashOffset=-a(L*L+N*N)},_dashedBezierTo:function(v,y,E,T,w,S){var _=this._dashSum,I=this._dashOffset,L=this._lineDash,N=this._ctx,D=this._xi,R=this._yi,B,M,U,F=O.cubicAt,j=0,W=this._dashIdx,V=L.length,z,J,$=0;for(I<0&&(I=_+I),I%=_,B=0;B<1;B+=.1)M=F(D,v,E,w,B+.1)-F(D,v,E,w,B),U=F(R,y,T,S,B+.1)-F(R,y,T,S,B),j+=a(M*M+U*U);for(;WI);W++);for(B=($-I)/j;B<=1;)z=F(D,v,E,w,B),J=F(R,y,T,S,B),W%2?N.moveTo(z,J):N.lineTo(z,J),B+=L[W]/j,W=(W+1)%V;W%2!==0&&N.lineTo(w,S),M=w-z,U=S-J,this._dashOffset=-a(M*M+U*U)},_dashedQuadraticTo:function(v,y,E,T){var w=E,S=T;E=(E+2*v)/3,T=(T+2*y)/3,v=(this._xi+2*v)/3,y=(this._yi+2*y)/3,this._dashedBezierTo(v,y,E,T,w,S)},toStatic:function(){var v=this.data;v instanceof Array&&(v.length=this._len,u&&(this.data=new Float32Array(v)))},getBoundingRect:function(){c[0]=c[1]=r[0]=r[1]=Number.MAX_VALUE,o[0]=o[1]=i[0]=i[1]=-Number.MAX_VALUE;for(var v=this.data,y=0,E=0,T=0,w=0,S=0;SL||l(I-S)>N||R===D-1)&&(v.lineTo(_,I),w=_,S=I);break;case f.C:v.bezierCurveTo(y[R++],y[R++],y[R++],y[R++],y[R++],y[R++]),w=y[R-2],S=y[R-1];break;case f.Q:v.quadraticCurveTo(y[R++],y[R++],y[R++],y[R++]),w=y[R-2],S=y[R-1];break;case f.A:var M=y[R++],U=y[R++],F=y[R++],j=y[R++],W=y[R++],V=y[R++],z=y[R++],J=y[R++],$=F>j?F:j,ce=F>j?1:F/j,ae=F>j?j/F:1,Ae=Math.abs(F-j)>.001,Ie=W+V;Ae?(v.translate(M,U),v.rotate(z),v.scale(ce,ae),v.arc(0,0,$,W,Ie,1-J),v.scale(1/ce,1/ae),v.rotate(-z),v.translate(-M,-U)):v.arc(M,U,$,W,Ie,1-J),R===1&&(E=s(W)*F+M,T=t(W)*j+U),w=s(Ie)*F+M,S=t(Ie)*j+U;break;case f.R:E=w=y[R],T=S=y[R+1],v.rect(y[R++],y[R++],y[R++],y[R++]);break;case f.Z:v.closePath(),w=E,S=T}}}},h.CMD=f;var p=h;H.exports=p},IUWy:function(H,P){var d={};function O(C,A){d[C]=A}function x(C){return d[C]}P.register=O,P.get=x},IWNH:function(H,P,d){var O=d("T4UG"),x=d("Bsck"),C=d("7aKB"),A=C.encodeHTML,b=d("Qxkt"),g=O.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(f){var c={name:f.name,children:f.data},o=f.leaves||{},r=new b(o,this,this.ecModel),i=x.createTree(c,this,{},n);function n(a){a.wrapMethod("getItemModel",function(l,u){var h=i.getNodeByDataIndex(u);return(!h.children.length||!h.isExpand)&&(l.parentModel=r),l})}var e=0;i.eachNode("preorder",function(a){a.depth>e&&(e=a.depth)});var s=f.expandAndCollapse,t=s&&f.initialTreeDepth>=0?f.initialTreeDepth:e;return i.root.eachNode("preorder",function(a){var l=a.hostTree.data.getRawDataItem(a.dataIndex);a.isExpand=l&&l.collapsed!=null?!l.collapsed:a.depth<=t}),i.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 c=this.getData().tree,o=c.root.children[0],r=c.getNodeByDataIndex(f),i=r.getValue(),n=r.name;r&&r!==o;)n=r.parentNode.name+"."+n,r=r.parentNode;return A(n+(isNaN(i)||i==null?"":" : "+i))},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}});H.exports=g},IWp7:function(H,P,d){var O=d("bYtY"),x=d("OELB"),C=d("7aKB"),A=d("lE7J"),b=d("ieMj"),g=b.prototype,f=Math.ceil,c=Math.floor,o=1e3,r=o*60,i=r*60,n=i*24,e=function(l,u,h,p){for(;h>>1;l[m][1]h&&(v=h);var y=t.length,E=e(t,v,0,y),T=t[Math.min(E,y-1)],w=T[1];if(T[0]==="year"){var S=m/w,_=x.nice(S/l,!0);w*=_}var I=this.getSetting("useUTC")?0:new Date(+p[0]||+p[1]).getTimezoneOffset()*60*1e3,L=[Math.round(f((p[0]-I)/w)*w+I),Math.round(c((p[1]-I)/w)*w+I)];A.fixExtent(L,p),this._stepLvl=T,this._interval=w,this._niceExtent=L},parse:function(l){return+x.parseDate(l)}});O.each(["contain","normalize"],function(l){s.prototype[l]=function(u){return g[l].call(this,this.parse(u))}});var t=[["hh:mm:ss",o],["hh:mm:ss",o*5],["hh:mm:ss",o*10],["hh:mm:ss",o*15],["hh:mm:ss",o*30],[`hh:mm MM-dd`,r],[`hh:mm MM-dd`,r*5],[`hh:mm MM-dd`,r*10],[`hh:mm MM-dd`,r*15],[`hh:mm MM-dd`,r*30],[`hh:mm MM-dd`,i],[`hh:mm MM-dd`,i*2],[`hh:mm MM-dd`,i*6],[`hh:mm MM-dd`,i*12],[`MM-dd yyyy`,n],[`MM-dd yyyy`,n*2],[`MM-dd yyyy`,n*3],[`MM-dd yyyy`,n*4],[`MM-dd yyyy`,n*5],[`MM-dd yyyy`,n*6],["week",n*7],[`MM-dd yyyy`,n*10],["week",n*14],["week",n*21],["month",n*31],["week",n*42],["month",n*62],["week",n*70],["quarter",n*95],["month",n*31*4],["month",n*31*5],["half-year",n*380/2],["month",n*31*8],["month",n*31*10],["year",n*380]];s.create=function(l){return new s({useUTC:l.ecModel.get("useUTC")})};var a=s;H.exports=a},IXuL:function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("MwEJ"),A=d("T4UG"),b=A.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(g,f){return C(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}});H.exports=b},IXyC:function(H,P,d){var O=d("bYtY"),x=d("bLfw");d("3zoK");var C=x.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(){x.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(A){var b=this.option;A&&O.merge(b,A,!0),this._initDimensions()},contains:function(A,b){var g=A.get("parallelIndex");return g!=null&&b.getComponent("parallel",g)===this},setAxisExpand:function(A){O.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(b){A.hasOwnProperty(b)&&(this.option[b]=A[b])},this)},_initDimensions:function(){var A=this.dimensions=[],b=this.parallelAxisIndex=[],g=O.filter(this.dependentModels.parallelAxis,function(f){return(f.get("parallelIndex")||0)===this.componentIndex},this);O.each(g,function(f){A.push("dim"+f.get("dim")),b.push(f.componentIndex)})}});H.exports=C},Ib8C:function(H,P,d){(function(O){(function(x,C){H.exports=P=C()})(this,function(){var x=x||function(C,A){var b;if(typeof window!="undefined"&&window.crypto&&(b=window.crypto),typeof self!="undefined"&&self.crypto&&(b=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(b=globalThis.crypto),!b&&typeof window!="undefined"&&window.msCrypto&&(b=window.msCrypto),!b&&typeof O!="undefined"&&O.crypto&&(b=O.crypto),!b&&!0)try{b=d(4)}catch(h){}var g=function(){if(b){if(typeof b.getRandomValues=="function")try{return b.getRandomValues(new Uint32Array(1))[0]}catch(p){}if(typeof b.randomBytes=="function")try{return b.randomBytes(4).readInt32LE()}catch(p){}}throw new Error("Native crypto module could not be used to get secure random number.")},f=Object.create||function(){function h(){}return function(p){var m;return h.prototype=p,m=new h,h.prototype=null,m}}(),c={},o=c.lib={},r=o.Base=function(){return{extend:function(p){var m=f(this);return p&&m.mixIn(p),(!m.hasOwnProperty("init")||this.init===m.init)&&(m.init=function(){m.$super.init.apply(this,arguments)}),m.init.prototype=m,m.$super=this,m},create:function(){var p=this.extend();return p.init.apply(p,arguments),p},init:function(){},mixIn:function(p){for(var m in p)p.hasOwnProperty(m)&&(this[m]=p[m]);p.hasOwnProperty("toString")&&(this.toString=p.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),i=o.WordArray=r.extend({init:function(p,m){p=this.words=p||[],m!=A?this.sigBytes=m:this.sigBytes=p.length*4},toString:function(p){return(p||e).stringify(this)},concat:function(p){var m=this.words,v=p.words,y=this.sigBytes,E=p.sigBytes;if(this.clamp(),y%4)for(var T=0;T>>2]>>>24-T%4*8&255;m[y+T>>>2]|=w<<24-(y+T)%4*8}else for(var S=0;S>>2]=v[S>>>2];return this.sigBytes+=E,this},clamp:function(){var p=this.words,m=this.sigBytes;p[m>>>2]&=4294967295<<32-m%4*8,p.length=C.ceil(m/4)},clone:function(){var p=r.clone.call(this);return p.words=this.words.slice(0),p},random:function(p){for(var m=[],v=0;v>>2]>>>24-E%4*8&255;y.push((T>>>4).toString(16)),y.push((T&15).toString(16))}return y.join("")},parse:function(p){for(var m=p.length,v=[],y=0;y>>3]|=parseInt(p.substr(y,2),16)<<24-y%8*4;return new i.init(v,m/2)}},s=n.Latin1={stringify:function(p){for(var m=p.words,v=p.sigBytes,y=[],E=0;E>>2]>>>24-E%4*8&255;y.push(String.fromCharCode(T))}return y.join("")},parse:function(p){for(var m=p.length,v=[],y=0;y>>2]|=(p.charCodeAt(y)&255)<<24-y%4*8;return new i.init(v,m)}},t=n.Utf8={stringify:function(p){try{return decodeURIComponent(escape(s.stringify(p)))}catch(m){throw new Error("Malformed UTF-8 data")}},parse:function(p){return s.parse(unescape(encodeURIComponent(p)))}},a=o.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(p){typeof p=="string"&&(p=t.parse(p)),this._data.concat(p),this._nDataBytes+=p.sigBytes},_process:function(p){var m,v=this._data,y=v.words,E=v.sigBytes,T=this.blockSize,w=T*4,S=E/w;p?S=C.ceil(S):S=C.max((S|0)-this._minBufferSize,0);var _=S*T,I=C.min(_*4,E);if(_){for(var L=0;L<_;L+=T)this._doProcessBlock(y,L);m=y.splice(0,_),v.sigBytes-=I}return new i.init(m,I)},clone:function(){var p=r.clone.call(this);return p._data=this._data.clone(),p},_minBufferSize:0}),l=o.Hasher=a.extend({cfg:r.extend(),init:function(p){this.cfg=this.cfg.extend(p),this.reset()},reset:function(){a.reset.call(this),this._doReset()},update:function(p){return this._append(p),this._process(),this},finalize:function(p){p&&this._append(p);var m=this._doFinalize();return m},blockSize:512/32,_createHelper:function(p){return function(m,v){return new p.init(v).finalize(m)}},_createHmacHelper:function(p){return function(m,v){return new u.HMAC.init(p,v).finalize(m)}}}),u=c.algo={};return c}(Math);return x})}).call(this,d("yLpj"))},ItGF:function(H,P){var d={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?d={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?d={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?d={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:d=x(navigator.userAgent);var O=d;function x(C){var A={},b={},g=C.match(/Firefox\/([\d.]+)/),f=C.match(/MSIE\s([\d.]+)/)||C.match(/Trident\/.+?rv:(([\d.]+))/),c=C.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(C);return g&&(b.firefox=!0,b.version=g[1]),f&&(b.ie=!0,b.version=f[1]),c&&(b.edge=!0,b.version=c[1]),o&&(b.weChat=!0),{browser:b,os:A,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!b.ie&&!b.edge,pointerEventsSupported:"onpointerdown"in window&&(b.edge||b.ie&&b.version>=11),domSupported:typeof document!="undefined"}}H.exports=O},ItS6:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=d("eP3c"),x=C(d("1q3G"));function C(c){return c&&c.__esModule?c:{default:c}}function A(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a class as a function")}function b(c,o){for(var r=0;rthis.chunkSize&&(this.chunkSize=r,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=r;var i=(0,O.inflate)(this.strm,0);if(i<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=r)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,O.inflateReset)(this.strm)}}]),c}();P.default=f},Itpr:function(H,P,d){var O=d("+TT/");function x(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var a=[t],l,u;l=a.pop();)if(u=l.children,l.isExpand&&u.length)for(var h=u.length,p=h-1;p>=0;p--){var m=u[p];m.hierNode={defaultAncestor:null,ancestor:m,prelim:0,modifier:0,change:0,shift:0,i:p,thread:null},a.push(m)}}function C(t,a){var l=t.isExpand?t.children:[],u=t.parentNode.children,h=t.hierNode.i?u[t.hierNode.i-1]:null;if(l.length){c(t);var p=(l[0].hierNode.prelim+l[l.length-1].hierNode.prelim)/2;h?(t.hierNode.prelim=h.hierNode.prelim+a(t,h),t.hierNode.modifier=t.hierNode.prelim-p):t.hierNode.prelim=p}else h&&(t.hierNode.prelim=h.hierNode.prelim+a(t,h));t.parentNode.hierNode.defaultAncestor=o(t,h,t.parentNode.hierNode.defaultAncestor||u[0],a)}function A(t){var a=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:a},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function b(t){return arguments.length?t:s}function g(t,a){var l={};return t-=Math.PI/2,l.x=a*Math.cos(t),l.y=a*Math.sin(t),l}function f(t,a){return O.getLayoutRect(t.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})}function c(t){for(var a=t.children,l=a.length,u=0,h=0;--l>=0;){var p=a[l];p.hierNode.prelim+=u,p.hierNode.modifier+=u,h+=p.hierNode.change,u+=p.hierNode.shift+h}}function o(t,a,l,u){if(a){for(var h=t,p=t,m=p.parentNode.children[0],v=a,y=h.hierNode.modifier,E=p.hierNode.modifier,T=m.hierNode.modifier,w=v.hierNode.modifier;v=r(v),p=i(p),v&&p;){h=r(h),m=i(m),h.hierNode.ancestor=t;var S=v.hierNode.prelim+w-p.hierNode.prelim-E+u(v,p);S>0&&(e(n(v,t,l),t,S),E+=S,y+=S),w+=v.hierNode.modifier,E+=p.hierNode.modifier,y+=h.hierNode.modifier,T+=m.hierNode.modifier}v&&!r(h)&&(h.hierNode.thread=v,h.hierNode.modifier+=w-y),p&&!i(m)&&(m.hierNode.thread=p,m.hierNode.modifier+=E-T,l=t)}return l}function r(t){var a=t.children;return a.length&&t.isExpand?a[a.length-1]:t.hierNode.thread}function i(t){var a=t.children;return a.length&&t.isExpand?a[0]:t.hierNode.thread}function n(t,a,l){return t.hierNode.ancestor.parentNode===a.parentNode?t.hierNode.ancestor:l}function e(t,a,l){var u=l/(a.hierNode.i-t.hierNode.i);a.hierNode.change-=u,a.hierNode.shift+=l,a.hierNode.modifier+=l,a.hierNode.prelim+=l,t.hierNode.change+=u}function s(t,a){return t.parentNode===a.parentNode?1:2}P.init=x,P.firstWalk=C,P.secondWalk=A,P.separation=b,P.radialCoordinate=g,P.getViewRect=f},IwbS:function(H,P,d){var O=d("bYtY"),x=d("NC18"),C=d("Qe9p"),A=d("Fofx"),b=d("QBsz"),g=d("y+Vt"),f=d("DN4a"),c=d("Dagg");P.Image=c;var o=d("4fz+");P.Group=o;var r=d("dqUG");P.Text=r;var i=d("2fw6");P.Circle=i;var n=d("SqI9");P.Sector=n;var e=d("RXMa");P.Ring=e;var s=d("h7HQ");P.Polygon=s;var t=d("1Jh7");P.Polyline=t;var a=d("x6Kt");P.Rect=a;var l=d("yxFR");P.Line=l;var u=d("rA99");P.BezierCurve=u;var h=d("jTL6");P.Arc=h;var p=d("1MYJ");P.CompoundPath=p;var m=d("SKnc");P.LinearGradient=m;var v=d("3e3G");P.RadialGradient=v;var y=d("mFDi");P.BoundingRect=y;var E=d("OS9S");P.IncrementalDisplayable=E;var T=d("nPnh"),w=Math.max,S=Math.min,_={},I=1,L={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},N="emphasis",D="normal",R=1,B={},M={};function U(Kt){return g.extend(Kt)}function F(Kt,dt){return x.extendFromString(Kt,dt)}function j(Kt,dt){M[Kt]=dt}function W(Kt){if(M.hasOwnProperty(Kt))return M[Kt]}function V(Kt,dt,Hr,fn){var Nn=x.createFromString(Kt,dt);return Hr&&(fn==="center"&&(Hr=J(Hr,Nn.getBoundingRect())),ce(Nn,Hr)),Nn}function z(Kt,dt,Hr){var fn=new c({style:{image:Kt,x:dt.x,y:dt.y,width:dt.width,height:dt.height},onload:function(Nn){if(Hr==="center"){var Vn={width:Nn.width,height:Nn.height};fn.setStyle(J(dt,Vn))}}});return fn}function J(Kt,dt){var Hr=dt.width/dt.height,fn=Kt.height*Hr,Nn;fn<=Kt.width?Nn=Kt.height:(fn=Kt.width,Nn=fn/Hr);var Vn=Kt.x+Kt.width/2,gi=Kt.y+Kt.height/2;return{x:Vn-fn/2,y:gi-Nn/2,width:fn,height:Nn}}var $=x.mergePath;function ce(Kt,dt){if(!Kt.applyTransform)return;var Hr=Kt.getBoundingRect(),fn=Hr.calculateTransform(dt);Kt.applyTransform(fn)}function ae(Kt){return T.subPixelOptimizeLine(Kt.shape,Kt.shape,Kt.style),Kt}function Ae(Kt){return T.subPixelOptimizeRect(Kt.shape,Kt.shape,Kt.style),Kt}var Ie=T.subPixelOptimize;function De(Kt){return Kt!=null&&Kt!=="none"}var Ke=O.createHashMap(),me=0;function Ue(Kt){if(typeof Kt!="string")return Kt;var dt=Ke.get(Kt);return dt||(dt=C.lift(Kt,-.1),me<1e4&&(Ke.set(Kt,dt),me++)),dt}function oe(Kt){if(!Kt.__hoverStlDirty)return;Kt.__hoverStlDirty=!1;var dt=Kt.__hoverStl;if(!dt){Kt.__cachedNormalStl=Kt.__cachedNormalZ2=null;return}var Hr=Kt.__cachedNormalStl={};Kt.__cachedNormalZ2=Kt.z2;var fn=Kt.style;for(var Nn in dt)dt[Nn]!=null&&(Hr[Nn]=fn[Nn]);Hr.fill=fn.fill,Hr.stroke=fn.stroke}function te(Kt){var dt=Kt.__hoverStl;if(!dt||Kt.__highlighted)return;var Hr=Kt.__zr,fn=Kt.useHoverLayer&&Hr&&Hr.painter.type==="canvas";if(Kt.__highlighted=fn?"layer":"plain",Kt.isGroup||!Hr&&Kt.useHoverLayer)return;var Nn=Kt,Vn=Kt.style;fn&&(Nn=Hr.addHover(Kt),Vn=Nn.style),Nt(Vn),fn||oe(Nn),Vn.extendFrom(dt),Qe(Vn,dt,"fill"),Qe(Vn,dt,"stroke"),Ot(Vn),fn||(Kt.dirty(!1),Kt.z2+=I)}function Qe(Kt,dt,Hr){!De(dt[Hr])&&De(Kt[Hr])&&(Kt[Hr]=Ue(Kt[Hr]))}function se(Kt){var dt=Kt.__highlighted;if(!dt)return;if(Kt.__highlighted=!1,Kt.isGroup)return;if(dt==="layer")Kt.__zr&&Kt.__zr.removeHover(Kt);else{var Hr=Kt.style,fn=Kt.__cachedNormalStl;fn&&(Nt(Hr),Kt.setStyle(fn),Ot(Hr));var Nn=Kt.__cachedNormalZ2;Nn!=null&&Kt.z2-Nn===I&&(Kt.z2=Nn)}}function Y(Kt,dt,Hr){var fn=D,Nn=D,Vn;Kt.__highlighted&&(fn=N,Vn=!0),dt(Kt,Hr),Kt.__highlighted&&(Nn=N,Vn=!0),Kt.isGroup&&Kt.traverse(function(gi){!gi.isGroup&&dt(gi,Hr)}),Vn&&Kt.__highDownOnUpdate&&Kt.__highDownOnUpdate(fn,Nn)}function X(Kt,dt){dt=Kt.__hoverStl=dt!==!1&&(Kt.hoverStyle||dt||{}),Kt.__hoverStlDirty=!0,Kt.__highlighted&&(Kt.__cachedNormalStl=null,se(Kt),te(Kt))}function Q(Kt){!xe(this,Kt)&&!this.__highByOuter&&Y(this,te)}function ge(Kt){!xe(this,Kt)&&!this.__highByOuter&&Y(this,se)}function de(Kt){this.__highByOuter|=1<<(Kt||0),Y(this,te)}function Te(Kt){!(this.__highByOuter&=~(1<<(Kt||0)))&&Y(this,se)}function xe(Kt,dt){return Kt.__highDownSilentOnTouch&&dt.zrByTouch}function le(Kt,dt){fe(Kt,!0),Y(Kt,X,dt)}function fe(Kt,dt){var Hr=dt===!1;if(Kt.__highDownSilentOnTouch=Kt.highDownSilentOnTouch,Kt.__highDownOnUpdate=Kt.highDownOnUpdate,!Hr||Kt.__highDownDispatcher){var fn=Hr?"off":"on";Kt[fn]("mouseover",Q)[fn]("mouseout",ge),Kt[fn]("emphasis",de)[fn]("normal",Te),Kt.__highByOuter=Kt.__highByOuter||0,Kt.__highDownDispatcher=!Hr}}function Ee(Kt){return!!(Kt&&Kt.__highDownDispatcher)}function Ge(Kt){var dt=B[Kt];return dt==null&&R<=32&&(dt=B[Kt]=R++),dt}function lt(Kt,dt,Hr,fn,Nn,Vn,gi){Nn=Nn||_;var bn=Nn.labelFetcher,Mn=Nn.labelDataIndex,jt=Nn.labelDimIndex,St=Nn.labelProp,_e=Hr.getShallow("show"),Oe=fn.getShallow("show"),Le;(_e||Oe)&&(bn&&(Le=bn.getFormattedLabel(Mn,"normal",null,jt,St)),Le==null&&(Le=O.isFunction(Nn.defaultText)?Nn.defaultText(Mn,Nn):Nn.defaultText));var Ze=_e?Le:null,nt=Oe?O.retrieve2(bn?bn.getFormattedLabel(Mn,"emphasis",null,jt,St):null,Le):null;(Ze!=null||nt!=null)&&(Ce(Kt,Hr,Vn,Nn),Ce(dt,fn,gi,Nn,!0)),Kt.text=Ze,dt.text=nt}function Je(Kt,dt,Hr){var fn=Kt.style;dt&&(Nt(fn),Kt.setStyle(dt),Ot(fn)),fn=Kt.__hoverStl,Hr&&fn&&(Nt(fn),O.extend(fn,Hr),Ot(fn))}function Ce(Kt,dt,Hr,fn,Nn){return ze(Kt,dt,fn,Nn),Hr&&O.extend(Kt,Hr),Kt}function et(Kt,dt,Hr){var fn={isRectText:!0},Nn;Hr===!1?Nn=!0:fn.autoColor=Hr,ze(Kt,dt,fn,Nn)}function ze(Kt,dt,Hr,fn){if(Hr=Hr||_,Hr.isRectText){var Nn;Hr.getTextPosition?Nn=Hr.getTextPosition(dt,fn):(Nn=dt.getShallow("position")||(fn?null:"inside"),Nn==="outside"&&(Nn="top")),Kt.textPosition=Nn,Kt.textOffset=dt.getShallow("offset");var Vn=dt.getShallow("rotate");Vn!=null&&(Vn*=Math.PI/180),Kt.textRotation=Vn,Kt.textDistance=O.retrieve2(dt.getShallow("distance"),fn?null:5)}var gi=dt.ecModel,bn=gi&&gi.option.textStyle,Mn=at(dt),jt;if(Mn){jt={};for(var St in Mn)if(Mn.hasOwnProperty(St)){var _e=dt.getModel(["rich",St]);Ct(jt[St]={},_e,bn,Hr,fn)}}return Kt.rich=jt,Ct(Kt,dt,bn,Hr,fn,!0),Hr.forceRich&&!Hr.textStyle&&(Hr.textStyle={}),Kt}function at(Kt){for(var dt;Kt&&Kt!==Kt.ecModel;){var Hr=(Kt.option||_).rich;if(Hr){dt=dt||{};for(var fn in Hr)Hr.hasOwnProperty(fn)&&(dt[fn]=1)}Kt=Kt.parentModel}return dt}function Ct(Kt,dt,Hr,fn,Nn,Vn){Hr=!Nn&&Hr||_,Kt.textFill=Tt(dt.getShallow("color"),fn)||Hr.color,Kt.textStroke=Tt(dt.getShallow("textBorderColor"),fn)||Hr.textBorderColor,Kt.textStrokeWidth=O.retrieve2(dt.getShallow("textBorderWidth"),Hr.textBorderWidth),Nn||(Vn&&(Kt.insideRollbackOpt=fn,Ot(Kt)),Kt.textFill==null&&(Kt.textFill=fn.autoColor)),Kt.fontStyle=dt.getShallow("fontStyle")||Hr.fontStyle,Kt.fontWeight=dt.getShallow("fontWeight")||Hr.fontWeight,Kt.fontSize=dt.getShallow("fontSize")||Hr.fontSize,Kt.fontFamily=dt.getShallow("fontFamily")||Hr.fontFamily,Kt.textAlign=dt.getShallow("align"),Kt.textVerticalAlign=dt.getShallow("verticalAlign")||dt.getShallow("baseline"),Kt.textLineHeight=dt.getShallow("lineHeight"),Kt.textWidth=dt.getShallow("width"),Kt.textHeight=dt.getShallow("height"),Kt.textTag=dt.getShallow("tag"),(!Vn||!fn.disableBox)&&(Kt.textBackgroundColor=Tt(dt.getShallow("backgroundColor"),fn),Kt.textPadding=dt.getShallow("padding"),Kt.textBorderColor=Tt(dt.getShallow("borderColor"),fn),Kt.textBorderWidth=dt.getShallow("borderWidth"),Kt.textBorderRadius=dt.getShallow("borderRadius"),Kt.textBoxShadowColor=dt.getShallow("shadowColor"),Kt.textBoxShadowBlur=dt.getShallow("shadowBlur"),Kt.textBoxShadowOffsetX=dt.getShallow("shadowOffsetX"),Kt.textBoxShadowOffsetY=dt.getShallow("shadowOffsetY")),Kt.textShadowColor=dt.getShallow("textShadowColor")||Hr.textShadowColor,Kt.textShadowBlur=dt.getShallow("textShadowBlur")||Hr.textShadowBlur,Kt.textShadowOffsetX=dt.getShallow("textShadowOffsetX")||Hr.textShadowOffsetX,Kt.textShadowOffsetY=dt.getShallow("textShadowOffsetY")||Hr.textShadowOffsetY}function Tt(Kt,dt){return Kt!=="auto"?Kt:dt&&dt.autoColor?dt.autoColor:null}function Ot(Kt){var dt=Kt.textPosition,Hr=Kt.insideRollbackOpt,fn;if(Hr&&Kt.textFill==null){var Nn=Hr.autoColor,Vn=Hr.isRectText,gi=Hr.useInsideStyle,bn=gi!==!1&&(gi===!0||Vn&&dt&&typeof dt=="string"&&dt.indexOf("inside")>=0),Mn=!bn&&Nn!=null;(bn||Mn)&&(fn={textFill:Kt.textFill,textStroke:Kt.textStroke,textStrokeWidth:Kt.textStrokeWidth}),bn&&(Kt.textFill="#fff",Kt.textStroke==null&&(Kt.textStroke=Nn,Kt.textStrokeWidth==null&&(Kt.textStrokeWidth=2))),Mn&&(Kt.textFill=Nn)}Kt.insideRollback=fn}function Nt(Kt){var dt=Kt.insideRollback;dt&&(Kt.textFill=dt.textFill,Kt.textStroke=dt.textStroke,Kt.textStrokeWidth=dt.textStrokeWidth,Kt.insideRollback=null)}function Be(Kt,dt){var Hr=dt&&dt.getModel("textStyle");return O.trim([Kt.fontStyle||Hr&&Hr.getShallow("fontStyle")||"",Kt.fontWeight||Hr&&Hr.getShallow("fontWeight")||"",(Kt.fontSize||Hr&&Hr.getShallow("fontSize")||12)+"px",Kt.fontFamily||Hr&&Hr.getShallow("fontFamily")||"sans-serif"].join(" "))}function ne(Kt,dt,Hr,fn,Nn,Vn){typeof Nn=="function"&&(Vn=Nn,Nn=null);var gi=fn&&fn.isAnimationEnabled();if(gi){var bn=Kt?"Update":"",Mn=fn.getShallow("animationDuration"+bn),jt=fn.getShallow("animationEasing"+bn),St=fn.getShallow("animationDelay"+bn);typeof St=="function"&&(St=St(Nn,fn.getAnimationDelayParams?fn.getAnimationDelayParams(dt,Nn):null)),typeof Mn=="function"&&(Mn=Mn(Nn)),Mn>0?dt.animateTo(Hr,Mn,St||0,jt,Vn,!!Vn):(dt.stopAnimation(),dt.attr(Hr),Vn&&Vn())}else dt.stopAnimation(),dt.attr(Hr),Vn&&Vn()}function G(Kt,dt,Hr,fn,Nn){ne(!0,Kt,dt,Hr,fn,Nn)}function Pe(Kt,dt,Hr,fn,Nn){ne(!1,Kt,dt,Hr,fn,Nn)}function Ne(Kt,dt){for(var Hr=A.identity([]);Kt&&Kt!==dt;)A.mul(Hr,Kt.getLocalTransform(),Hr),Kt=Kt.parent;return Hr}function q(Kt,dt,Hr){return dt&&!O.isArrayLike(dt)&&(dt=f.getLocalTransform(dt)),Hr&&(dt=A.invert([],dt)),b.applyTransform([],Kt,dt)}function ht(Kt,dt,Hr){var fn=dt[4]===0||dt[5]===0||dt[0]===0?1:Math.abs(2*dt[4]/dt[0]),Nn=dt[4]===0||dt[5]===0||dt[2]===0?1:Math.abs(2*dt[4]/dt[2]),Vn=[Kt==="left"?-fn:Kt==="right"?fn:0,Kt==="top"?-Nn:Kt==="bottom"?Nn:0];return Vn=q(Vn,dt,Hr),Math.abs(Vn[0])>Math.abs(Vn[1])?Vn[0]>0?"right":"left":Vn[1]>0?"bottom":"top"}function Pt(Kt,dt,Hr,fn){if(!Kt||!dt)return;function Nn(bn){var Mn={};return bn.traverse(function(jt){!jt.isGroup&&jt.anid&&(Mn[jt.anid]=jt)}),Mn}function Vn(bn){var Mn={position:b.clone(bn.position),rotation:bn.rotation};return bn.shape&&(Mn.shape=O.extend({},bn.shape)),Mn}var gi=Nn(Kt);dt.traverse(function(bn){if(!bn.isGroup&&bn.anid){var Mn=gi[bn.anid];if(Mn){var jt=Vn(bn);bn.attr(Vn(Mn)),G(bn,jt,Hr,bn.dataIndex)}}})}function ct(Kt,dt){return O.map(Kt,function(Hr){var fn=Hr[0];fn=w(fn,dt.x),fn=S(fn,dt.x+dt.width);var Nn=Hr[1];return Nn=w(Nn,dt.y),Nn=S(Nn,dt.y+dt.height),[fn,Nn]})}function Gt(Kt,dt){var Hr=w(Kt.x,dt.x),fn=S(Kt.x+Kt.width,dt.x+dt.width),Nn=w(Kt.y,dt.y),Vn=S(Kt.y+Kt.height,dt.y+dt.height);if(fn>=Hr&&Vn>=Nn)return{x:Hr,y:Nn,width:fn-Hr,height:Vn-Nn}}function or(Kt,dt,Hr){dt=O.extend({rectHover:!0},dt);var fn=dt.style={strokeNoScale:!0};if(Hr=Hr||{x:-1,y:-1,width:2,height:2},Kt)return Kt.indexOf("image://")===0?(fn.image=Kt.slice(8),O.defaults(fn,Hr),new c(dt)):V(Kt.replace("path://",""),dt,Hr,"center")}function Zr(Kt,dt,Hr,fn,Nn){for(var Vn=0,gi=Nn[Nn.length-1];Vn1)return!1;var ft=dr(Le,Ze,St,_e)/Oe;return!(ft<0||ft>1)}function dr(Kt,dt,Hr,fn){return Kt*fn-Hr*dt}function er(Kt){return Kt<=1e-6&&Kt>=-1e-6}j("circle",i),j("sector",n),j("ring",e),j("polygon",s),j("polyline",t),j("rect",a),j("line",l),j("bezierCurve",u),j("arc",h),P.Z2_EMPHASIS_LIFT=I,P.CACHED_LABEL_STYLE_PROPERTIES=L,P.extendShape=U,P.extendPath=F,P.registerShape=j,P.getShapeClass=W,P.makePath=V,P.makeImage=z,P.mergePath=$,P.resizePath=ce,P.subPixelOptimizeLine=ae,P.subPixelOptimizeRect=Ae,P.subPixelOptimize=Ie,P.setElementHoverStyle=X,P.setHoverStyle=le,P.setAsHighDownDispatcher=fe,P.isHighDownDispatcher=Ee,P.getHighlightDigit=Ge,P.setLabelStyle=lt,P.modifyLabelStyle=Je,P.setTextStyle=Ce,P.setText=et,P.getFont=Be,P.updateProps=G,P.initProps=Pe,P.getTransform=Ne,P.applyTransform=q,P.transformDirection=ht,P.groupTransition=Pt,P.clipPointsByRect=ct,P.clipRectByRect=Gt,P.createIcon=or,P.linePolygonIntersect=Zr,P.lineLineIntersect=ir},IyUQ:function(H,P,d){var O=d("bYtY"),x=d("YH21"),C=d("IwbS"),A=d("iLNv"),b=d("fc+c"),g=d("OELB"),f=d("+TT/"),c=d("72pK"),o=C.Rect,r=g.linearMap,i=g.asc,n=O.bind,e=O.each,s=7,t=1,a=30,l="horizontal",u="vertical",h=5,p=["line","bar","candlestick","scatter"],m=b.extend({type:"dataZoom.slider",init:function(T,w){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=w},render:function(T,w,S,_){if(m.superApply(this,"render",arguments),A.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=T.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!_||_.type!=="dataZoom"||_.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){m.superApply(this,"remove",arguments),A.clear(this,"_dispatchZoomAction")},dispose:function(){m.superApply(this,"dispose",arguments),A.clear(this,"_dispatchZoomAction")},_buildView:function(){var T=this.group;T.removeAll(),this._resetLocation(),this._resetInterval();var w=this._displayables.barGroup=new C.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),T.add(w),this._positionGroup()},_resetLocation:function(){var T=this.dataZoomModel,w=this.api,S=this._findCoordRect(),_={width:w.getWidth(),height:w.getHeight()},I=this._orient===l?{right:_.width-S.x-S.width,top:_.height-a-s,width:S.width,height:a}:{right:s,top:S.y,width:a,height:S.height},L=f.getLayoutParams(T.option);O.each(["right","top","width","height"],function(D){L[D]==="ph"&&(L[D]=I[D])});var N=f.getLayoutRect(L,_,T.padding);this._location={x:N.x,y:N.y},this._size=[N.width,N.height],this._orient===u&&this._size.reverse()},_positionGroup:function(){var T=this.group,w=this._location,S=this._orient,_=this.dataZoomModel.getFirstTargetAxisModel(),I=_&&_.get("inverse"),L=this._displayables.barGroup,N=(this._dataShadowInfo||{}).otherAxisInverse;L.attr(S===l&&!I?{scale:N?[1,1]:[1,-1]}:S===l&&I?{scale:N?[-1,1]:[-1,-1]}:S===u&&!I?{scale:N?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:N?[-1,-1]:[-1,1],rotation:Math.PI/2});var D=T.getBoundingRect([L]);T.attr("position",[w.x-D.x,w.y-D.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,w=this._size,S=this._displayables.barGroup;S.add(new o({silent:!0,shape:{x:0,y:0,width:w[0],height:w[1]},style:{fill:T.get("backgroundColor")},z2:-40})),S.add(new o({shape:{x:0,y:0,width:w[0],height:w[1]},style:{fill:"transparent"},z2:0,onclick:O.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var T=this._dataShadowInfo=this._prepareDataShadowInfo();if(!T)return;var w=this._size,S=T.series,_=S.getRawData(),I=S.getShadowDim?S.getShadowDim():T.otherDim;if(I==null)return;var L=_.getDataExtent(I),N=(L[1]-L[0])*.3;L=[L[0]-N,L[1]+N];var D=[0,w[1]],R=[0,w[0]],B=[[w[0],0],[0,0]],M=[],U=R[1]/(_.count()-1),F=0,j=Math.round(_.count()/w[0]),W;_.each([I],function(z,J){if(j>0&&J%j){F+=U;return}var $=z==null||isNaN(z)||z==="",ce=$?0:r(z,L,D,!0);$&&!W&&J?(B.push([B[B.length-1][0],0]),M.push([M[M.length-1][0],0])):!$&&W&&(B.push([F,0]),M.push([F,0])),B.push([F,ce]),M.push([F,ce]),F+=U,W=$});var V=this.dataZoomModel;this._displayables.barGroup.add(new C.Polygon({shape:{points:B},style:O.defaults({fill:V.get("dataBackgroundColor")},V.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new C.Polyline({shape:{points:M},style:V.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var T=this.dataZoomModel,w=T.get("showDataShadow");if(w===!1)return;var S,_=this.ecModel;return T.eachTargetAxis(function(I,L){var N=T.getAxisProxy(I.name,L).getTargetSeriesModels();O.each(N,function(D){if(S)return;if(w!==!0&&O.indexOf(p,D.get("type"))<0)return;var R=_.getComponent(I.axis,L).axis,B=v(I.name),M,U=D.coordinateSystem;B!=null&&U.getOtherAxis&&(M=U.getOtherAxis(R).inverse),B=D.getData().mapDimension(B),S={thisAxis:R,series:D,thisDim:I.name,otherDim:B,otherAxisInverse:M}},this)},this),S},_renderHandle:function(){var T=this._displayables,w=T.handles=[],S=T.handleLabels=[],_=this._displayables.barGroup,I=this._size,L=this.dataZoomModel;_.add(T.filler=new o({draggable:!0,cursor:y(this._orient),drift:n(this._onDragMove,this,"all"),ondragstart:n(this._showDataInfo,this,!0),ondragend:n(this._onDragEnd,this),onmouseover:n(this._showDataInfo,this,!0),onmouseout:n(this._showDataInfo,this,!1),style:{fill:L.get("fillerColor"),textPosition:"inside"}})),_.add(new o({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:I[0],height:I[1]},style:{stroke:L.get("dataBackgroundColor")||L.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),e([0,1],function(N){var D=C.createIcon(L.get("handleIcon"),{cursor:y(this._orient),draggable:!0,drift:n(this._onDragMove,this,N),ondragend:n(this._onDragEnd,this),onmouseover:n(this._showDataInfo,this,!0),onmouseout:n(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),R=D.getBoundingRect();this._handleHeight=g.parsePercent(L.get("handleSize"),this._size[1]),this._handleWidth=R.width/R.height*this._handleHeight,D.setStyle(L.getModel("handleStyle").getItemStyle());var B=L.get("handleColor");B!=null&&(D.style.fill=B),_.add(w[N]=D);var M=L.textStyleModel;this.group.add(S[N]=new C.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:M.getTextColor(),textFont:M.getFont()},z2:10}))},this)},_resetInterval:function(){var T=this._range=this.dataZoomModel.getPercentRange(),w=this._getViewExtent();this._handleEnds=[r(T[0],[0,100],w,!0),r(T[1],[0,100],w,!0)]},_updateInterval:function(T,w){var S=this.dataZoomModel,_=this._handleEnds,I=this._getViewExtent(),L=S.findRepresentativeAxisProxy().getMinMaxSpan(),N=[0,100];c(w,_,I,S.get("zoomLock")?"all":T,L.minSpan!=null?r(L.minSpan,N,I,!0):null,L.maxSpan!=null?r(L.maxSpan,N,I,!0):null);var D=this._range,R=this._range=i([r(_[0],I,N,!0),r(_[1],I,N,!0)]);return!D||D[0]!==R[0]||D[1]!==R[1]},_updateView:function(T){var w=this._displayables,S=this._handleEnds,_=i(S.slice()),I=this._size;e([0,1],function(L){var N=w.handles[L],D=this._handleHeight;N.attr({scale:[D/2,D/2],position:[S[L],I[1]/2-D/2]})},this),w.filler.setShape({x:_[0],y:0,width:_[1]-_[0],height:I[1]}),this._updateDataInfo(T)},_updateDataInfo:function(T){var w=this.dataZoomModel,S=this._displayables,_=S.handleLabels,I=this._orient,L=["",""];if(w.get("showDetail")){var N=w.findRepresentativeAxisProxy();if(N){var D=N.getAxisModel().axis,R=this._range,B=T?N.calculateDataWindow({start:R[0],end:R[1]}).valueWindow:N.getDataValueWindow();L=[this._formatLabel(B[0],D),this._formatLabel(B[1],D)]}}var M=i(this._handleEnds.slice());U.call(this,0),U.call(this,1);function U(F){var j=C.getTransform(S.handles[F].parent,this.group),W=C.transformDirection(F===0?"right":"left",j),V=this._handleWidth/2+h,z=C.applyTransform([M[F]+(F===0?-V:V),this._size[1]/2],j);_[F].setStyle({x:z[0],y:z[1],textVerticalAlign:I===l?"middle":W,textAlign:I===l?W:"center",text:L[F]})}},_formatLabel:function(T,w){var S=this.dataZoomModel,_=S.get("labelFormatter"),I=S.get("labelPrecision");(I==null||I==="auto")&&(I=w.getPixelPrecision());var L=T==null||isNaN(T)?"":w.type==="category"||w.type==="time"?w.scale.getLabel(Math.round(T)):T.toFixed(Math.min(I,20));return O.isFunction(_)?_(T,L):O.isString(_)?_.replace("{value}",L):L},_showDataInfo:function(T){T=this._dragging||T;var w=this._displayables.handleLabels;w[0].attr("invisible",!T),w[1].attr("invisible",!T)},_onDragMove:function(T,w,S,_){this._dragging=!0,x.stop(_.event);var I=this._displayables.barGroup.getLocalTransform(),L=C.applyTransform([w,S],I,!0),N=this._updateInterval(T,L[0]),D=this.dataZoomModel.get("realtime");this._updateView(!D),N&&D&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var T=this.dataZoomModel.get("realtime");!T&&this._dispatchZoomAction()},_onClickPanelClick:function(T){var w=this._size,S=this._displayables.barGroup.transformCoordToLocal(T.offsetX,T.offsetY);if(S[0]<0||S[0]>w[0]||S[1]<0||S[1]>w[1])return;var _=this._handleEnds,I=(_[0]+_[1])/2,L=this._updateInterval("all",S[0]-I);this._updateView(),L&&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(e(this.getTargetCoordInfo(),function(_){if(!T&&_.length){var I=_[0].model.coordinateSystem;T=I.getRect&&I.getRect()}}),!T){var w=this.api.getWidth(),S=this.api.getHeight();T={x:w*.2,y:S*.2,width:w*.6,height:S*.6}}return T}});function v(T){var w={x:"y",y:"x",radius:"angle",angle:"radius"};return w[T]}function y(T){return T==="vertical"?"ns-resize":"ew-resize"}var E=m;H.exports=E},IzEo:function(H,P,d){"use strict";var O=d("cIOH"),x=d.n(O),C=d("lnY3"),A=d.n(C),b=d("Znn+"),g=d("14J3"),f=d("jCWc")},J66h:function(H,P,d){(function(O){var x,C;(function(A,b){H.exports=b(A)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof O!="undefined"?O:this,function(A){"use strict";A=A||{};var b=A.Base64,g="2.6.4",f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=function(D){for(var R={},B=0,M=D.length;B>>6)+o(128|B&63):o(224|B>>>12&15)+o(128|B>>>6&63)+o(128|B&63)}else{var B=65536+(R.charCodeAt(0)-55296)*1024+(R.charCodeAt(1)-56320);return o(240|B>>>18&7)+o(128|B>>>12&63)+o(128|B>>>6&63)+o(128|B&63)}},i=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,n=function(R){return R.replace(i,r)},e=function(R){var B=[0,2,1][R.length%3],M=R.charCodeAt(0)<<16|(R.length>1?R.charCodeAt(1):0)<<8|(R.length>2?R.charCodeAt(2):0),U=[f.charAt(M>>>18),f.charAt(M>>>12&63),B>=2?"=":f.charAt(M>>>6&63),B>=1?"=":f.charAt(M&63)];return U.join("")},s=A.btoa&&typeof A.btoa=="function"?function(D){return A.btoa(D)}:function(D){if(D.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return D.replace(/[\s\S]{1,3}/g,e)},t=function(R){return s(n(String(R)))},a=function(R){return R.replace(/[+\/]/g,function(B){return B=="+"?"-":"_"}).replace(/=/g,"")},l=function(R,B){return B?a(t(R)):t(R)},u=function(R){return l(R,!0)},h;A.Uint8Array&&(h=function(R,B){for(var M="",U=0,F=R.length;U>>18)+f.charAt(z>>>12&63)+(typeof W!="undefined"?f.charAt(z>>>6&63):"=")+(typeof V!="undefined"?f.charAt(z&63):"=")}return B?a(M):M});var p=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,m=function(R){switch(R.length){case 4:var B=(7&R.charCodeAt(0))<<18|(63&R.charCodeAt(1))<<12|(63&R.charCodeAt(2))<<6|63&R.charCodeAt(3),M=B-65536;return o((M>>>10)+55296)+o((M&1023)+56320);case 3:return o((15&R.charCodeAt(0))<<12|(63&R.charCodeAt(1))<<6|63&R.charCodeAt(2));default:return o((31&R.charCodeAt(0))<<6|63&R.charCodeAt(1))}},v=function(R){return R.replace(p,m)},y=function(R){var B=R.length,M=B%4,U=(B>0?c[R.charAt(0)]<<18:0)|(B>1?c[R.charAt(1)]<<12:0)|(B>2?c[R.charAt(2)]<<6:0)|(B>3?c[R.charAt(3)]:0),F=[o(U>>>16),o(U>>>8&255),o(U&255)];return F.length-=[0,0,2,1][M],F.join("")},E=A.atob&&typeof A.atob=="function"?function(D){return A.atob(D)}:function(D){return D.replace(/\S{1,4}/g,y)},T=function(R){return E(String(R).replace(/[^A-Za-z0-9\+\/]/g,""))},w=function(R){return v(E(R))},S=function(R){return String(R).replace(/[-_]/g,function(B){return B=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},_=function(R){return w(S(R))},I;A.Uint8Array&&(I=function(R){return Uint8Array.from(T(S(R)),function(B){return B.charCodeAt(0)})});var L=function(){var R=A.Base64;return A.Base64=b,R};if(A.Base64={VERSION:g,atob:T,btoa:s,fromBase64:_,toBase64:l,utob:n,encode:l,encodeURI:u,btou:v,decode:_,noConflict:L,fromUint8Array:h,toUint8Array:I},typeof Object.defineProperty=="function"){var N=function(R){return{value:R,enumerable:!1,writable:!0,configurable:!0}};A.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",N(function(){return _(this)})),Object.defineProperty(String.prototype,"toBase64",N(function(D){return l(this,D)})),Object.defineProperty(String.prototype,"toBase64URI",N(function(){return l(this,!0)}))}}return A.Meteor&&(Base64=A.Base64),H.exports?H.exports.Base64=A.Base64:!(x=[],C=function(){return A.Base64}.apply(P,x),C!==void 0&&(H.exports=C)),{Base64:A.Base64}})}).call(this,d("yLpj"))},JEkh:function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("ProS"),A=d("bYtY"),b=d("ItGF"),g=d("4NO4"),f=d("7aKB"),c=d("OKJ2"),o=f.addCommas,r=f.encodeHTML;function i(s){g.defaultEmphasis(s,"label",["show"])}var n=C.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(s,t,a){this.mergeDefaultAndTheme(s,a),this._mergeOption(s,a,!1,!0)},isAnimationEnabled:function(){if(b.node)return!1;var s=this.__hostSeries;return this.getShallow("animation")&&s&&s.isAnimationEnabled()},mergeOption:function(s,t){this._mergeOption(s,t,!1,!1)},_mergeOption:function(s,t,a,l){var u=this.constructor,h=this.mainType+"Model";a||t.eachSeries(function(p){var m=p.get(this.mainType,!0),v=p[h];if(!m||!m.data){p[h]=null;return}v?v._mergeOption(m,t,!0):(l&&i(m),A.each(m.data,function(y){y instanceof Array?(i(y[0]),i(y[1])):i(y)}),v=new u(m,this,t),A.extend(v,{mainType:this.mainType,seriesIndex:p.seriesIndex,name:p.name,createdBySelf:!0}),v.__hostSeries=p),p[h]=v},this)},formatTooltip:function(s){var t=this.getData(),a=this.getRawValue(s),l=A.isArray(a)?A.map(a,o).join(", "):o(a),u=t.getName(s),h=r(this.name);return(a!=null||u)&&(h+="
    "),u&&(h+=r(u),a!=null&&(h+=" : ")),a!=null&&(h+=r(l)),h},getData:function(){return this._data},setData:function(s){this._data=s}});A.mixin(n,c);var e=n;H.exports=e},JGo8:function(H,P,d){},JLnu:function(H,P,d){var O=d("+TT/"),x=d("OELB"),C=x.parsePercent,A=x.linearMap;function b(o,r){return O.getLayoutRect(o.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function g(o,r){for(var i=o.mapDimension("value"),n=o.mapArray(i,function(l){return l}),e=[],s=r==="ascending",t=0,a=o.count();t=1&&!($[_]!==0);_--);if(I>_&&(I=_),_===0)return p[m++]=1<<24|64<<16|0,p[m++]=1<<24|64<<16|0,y.bits=1,0;for(S=1;S<_&&!($[S]!==0);S++);for(I0&&(a===c||_!==1))return-1;for(ce[1]=0,T=1;Tg||a===r&&R>f)return 1;for(;;){Ie=T-N,v[w]J?(De=ae[Ae+v[w]],Ke=V[z+v[w]]):(De=32+64,Ke=0),M=1<>N)+U]=Ie<<24|De<<16|Ke|0;while(U!==0);for(M=1<>=1;if(M!==0?(B&=M-1,B+=M):B=0,w++,--$[T]===0){if(T===_)break;T=l[u+v[w]]}if(T>I&&(B&j)!==F){for(N===0&&(N=I),W+=S,L=T-N,D=1<g||a===r&&R>f)return 1;F=B&j,p[F]=I<<24|L<<16|W-m|0}}return B!==0&&(p[W+B]=T-N<<24|64<<16|0),y.bits=I,0}},JVwQ:function(H,P,d){var O=d("ProS"),x=d("1NG9"),C=x.Polygon,A=d("IwbS"),b=d("bYtY"),g=b.bind,f=b.extend,c=d("gPAo"),o=O.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(i,n,e){var s=i.getData(),t=this.group,a=i.getLayerSeries(),l=s.getLayout("layoutInfo"),u=l.rect,h=l.boundaryGap;t.attr("position",[0,u.y+h[0]]);function p(E){return E.name}var m=new c(this._layersSeries||[],a,p,p),v={};m.add(g(y,this,"add")).update(g(y,this,"update")).remove(g(y,this,"remove")).execute();function y(E,T,w){var S=this._layers;if(E==="remove"){t.remove(S[T]);return}for(var _=[],I=[],L,N=a[T].indices,D=0;D1)Object(L.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(at.length===0)return Object(L.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var Ct=at[0];if(t.isValidElement(Ct)&&Object(N.c)(Ct)){var Tt=Ct.ref;at[0]=t.cloneElement(Ct,{ref:Object(N.a)(Tt,this.setChildNode)})}return at.length===1?at[0]:at.map(function(Ot,Nt){return!t.isValidElement(Ot)||"key"in Ot&&Ot.key!==null?Ot:t.cloneElement(Ot,{key:"".concat(R,"-").concat(Nt)})})}}]),Ce}(t.Component);B.displayName="ResizeObserver";var M=B,U=d("H84U"),F=d("RIqP"),j=d.n(F),W=d("xEkU"),V=d.n(W);function z(lt){var Je,Ce=function(at){return function(){Je=null,lt.apply(void 0,j()(at))}},et=function(){if(Je==null){for(var at=arguments.length,Ct=new Array(at),Tt=0;Ttlt.top-Ce?Ce+Je.top:void 0}function ae(lt,Je,Ce){if(Ce!==void 0&&Je.bottom=0;Tt--)(Ct=lt[Tt])&&(at=(ze<3?Ct(at):ze>3?Ct(Je,Ce,at):Ct(Je,Ce))||at);return ze>3&&at&&Object.defineProperty(Je,Ce,at),at};function oe(){return typeof window!="undefined"?window:null}var te;(function(lt){lt[lt.None=0]="None",lt[lt.Prepare=1]="Prepare"})(te||(te={}));var Qe=function(lt){n()(Ce,lt);var Je=s()(Ce);function Ce(){var et;return g()(this,Ce),et=Je.apply(this,arguments),et.state={status:te.None,lastAffix:!1,prevTarget:null},et.getOffsetTop=function(){var ze=et.props.offsetBottom,at=et.props.offsetTop;return ze===void 0&&at===void 0&&(at=0),at},et.getOffsetBottom=function(){return et.props.offsetBottom},et.savePlaceholderNode=function(ze){et.placeholderNode=ze},et.saveFixedNode=function(ze){et.fixedNode=ze},et.measure=function(){var ze=et.state,at=ze.status,Ct=ze.lastAffix,Tt=et.props.onChange,Ot=et.getTargetFunc();if(at!==te.Prepare||!et.fixedNode||!et.placeholderNode||!Ot)return;var Nt=et.getOffsetTop(),Be=et.getOffsetBottom(),ne=Ot();if(!ne)return;var G={status:te.None},Pe=$(ne),Ne=$(et.placeholderNode),q=ce(Ne,Pe,Nt),ht=ae(Ne,Pe,Be);q!==void 0?(G.affixStyle={position:"fixed",top:q,width:Ne.width,height:Ne.height},G.placeholderStyle={width:Ne.width,height:Ne.height}):ht!==void 0&&(G.affixStyle={position:"fixed",bottom:ht,width:Ne.width,height:Ne.height},G.placeholderStyle={width:Ne.width,height:Ne.height}),G.lastAffix=!!G.affixStyle,Tt&&Ct!==G.lastAffix&&Tt(G.lastAffix),et.setState(G)},et.prepareMeasure=function(){if(et.setState({status:te.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var ze},et.render=function(){var ze=et.context.getPrefixCls,at=et.state,Ct=at.affixStyle,Tt=at.placeholderStyle,Ot=et.props,Nt=Ot.prefixCls,Be=Ot.children,ne=u()(A()({},ze("affix",Nt),Ct)),G=Object(v.default)(et.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return t.createElement(M,{onResize:function(){et.updatePosition()}},t.createElement("div",x()({},G,{ref:et.savePlaceholderNode}),Ct&&t.createElement("div",{style:Tt,"aria-hidden":"true"}),t.createElement("div",{className:ne,ref:et.saveFixedNode,style:Ct},t.createElement(M,{onResize:function(){et.updatePosition()}},Be))))},et}return c()(Ce,[{key:"getTargetFunc",value:function(){var ze=this.context.getTargetContainer,at=this.props.target;return at!==void 0?at:ze||oe}},{key:"componentDidMount",value:function(){var ze=this,at=this.getTargetFunc();at&&(this.timeout=setTimeout(function(){Ke(at(),ze),ze.updatePosition()}))}},{key:"componentDidUpdate",value:function(ze){var at=this.state.prevTarget,Ct=this.getTargetFunc(),Tt=null;Ct&&(Tt=Ct()||null),at!==Tt&&(me(this),Tt&&(Ke(Tt,this),this.updatePosition()),this.setState({prevTarget:Tt})),(ze.offsetTop!==this.props.offsetTop||ze.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),me(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var ze=this.getTargetFunc(),at=this.state.affixStyle;if(ze&&at){var Ct=this.getOffsetTop(),Tt=this.getOffsetBottom(),Ot=ze();if(Ot&&this.placeholderNode){var Nt=$(Ot),Be=$(this.placeholderNode),ne=ce(Be,Nt,Ct),G=ae(Be,Nt,Tt);if(ne!==void 0&&at.top===ne||G!==void 0&&at.bottom===G)return}}this.prepareMeasure()}}]),Ce}(t.Component);Qe.contextType=U.b,Ue([J()],Qe.prototype,"updatePosition",null),Ue([J()],Qe.prototype,"lazyUpdatePosition",null);var se=Qe,Y=d("zAh6"),X=d("i6bk"),Q=t.createContext(null),ge=Q;function de(){return window}function Te(lt,Je){if(!lt.getClientRects().length)return 0;var Ce=lt.getBoundingClientRect();return Ce.width||Ce.height?Je===window?(Je=lt.ownerDocument.documentElement,Ce.top-Je.clientTop):Ce.top-Je.getBoundingClientRect().top:Ce.top}var xe=/#(\S+)$/,le=function(lt){n()(Ce,lt);var Je=s()(Ce);function Ce(){var et;return g()(this,Ce),et=Je.apply(this,arguments),et.state={activeLink:null},et.links=[],et.registerLink=function(ze){et.links.includes(ze)||et.links.push(ze)},et.unregisterLink=function(ze){var at=et.links.indexOf(ze);at!==-1&&et.links.splice(at,1)},et.getContainer=function(){var ze=et.context.getTargetContainer,at=et.props.getContainer,Ct=at||ze||de;return Ct()},et.handleScrollTo=function(ze){var at=et.props,Ct=at.offsetTop,Tt=at.targetOffset;et.setCurrentActiveLink(ze);var Ot=et.getContainer(),Nt=Object(X.a)(Ot,!0),Be=xe.exec(ze);if(!Be)return;var ne=document.getElementById(Be[1]);if(!ne)return;var G=Te(ne,Ot),Pe=Nt+G;Pe-=Tt!==void 0?Tt:Ct||0,et.animating=!0,Object(Y.a)(Pe,{callback:function(){et.animating=!1},getContainer:et.getContainer})},et.saveInkNode=function(ze){et.inkNode=ze},et.setCurrentActiveLink=function(ze){var at=et.state.activeLink,Ct=et.props.onChange;at!==ze&&(et.setState({activeLink:ze}),Ct&&Ct(ze))},et.handleScroll=function(){if(et.animating)return;var ze=et.props,at=ze.offsetTop,Ct=ze.bounds,Tt=ze.targetOffset,Ot=et.getCurrentAnchor(Tt!==void 0?Tt:at||0,Ct);et.setCurrentActiveLink(Ot)},et.updateInk=function(){var ze=r()(et),at=ze.prefixCls,Ct=a.findDOMNode(r()(et)),Tt=Ct.getElementsByClassName("".concat(at,"-link-title-active"))[0];Tt&&(et.inkNode.style.top="".concat(Tt.offsetTop+Tt.clientHeight/2-4.5,"px"))},et.render=function(){var ze=et.context,at=ze.getPrefixCls,Ct=ze.direction,Tt=et.props,Ot=Tt.prefixCls,Nt=Tt.className,Be=Nt===void 0?"":Nt,ne=Tt.style,G=Tt.offsetTop,Pe=Tt.affix,Ne=Tt.showInkInFixed,q=Tt.children,ht=et.state.activeLink,Pt=at("anchor",Ot);et.prefixCls=Pt;var ct=u()("".concat(Pt,"-ink-ball"),{visible:ht}),Gt=u()(Be,"".concat(Pt,"-wrapper"),A()({},"".concat(Pt,"-rtl"),Ct==="rtl")),or=u()(Pt,{fixed:!Pe&&!Ne}),Zr=x()({maxHeight:G?"calc(100vh - ".concat(G,"px)"):"100vh"},ne),ir=t.createElement("div",{className:Gt,style:Zr},t.createElement("div",{className:or},t.createElement("div",{className:"".concat(Pt,"-ink")},t.createElement("span",{className:ct,ref:et.saveInkNode})),q));return t.createElement(ge.Provider,{value:{registerLink:et.registerLink,unregisterLink:et.unregisterLink,activeLink:et.state.activeLink,scrollTo:et.handleScrollTo,onClick:et.props.onClick}},Pe?t.createElement(se,{offsetTop:G,target:et.getContainer},ir):ir)},et}return c()(Ce,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(h.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var ze=this.getContainer();this.scrollContainer!==ze&&(this.scrollContainer=ze,this.scrollEvent.remove(),this.scrollEvent=Object(h.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,Ct=this.props.getCurrentAnchor;if(typeof Ct=="function")return Ct();var Tt=[],Ot=this.getContainer();if(this.links.forEach(function(Be){var ne=xe.exec(Be.toString());if(!ne)return;var G=document.getElementById(ne[1]);if(G){var Pe=Te(G,Ot);PeBe.top?ne:Be});return Nt.link}return""}}]),Ce}(t.Component);le.defaultProps={affix:!0,showInkInFixed:!1},le.contextType=U.b;var fe=function(lt){n()(Ce,lt);var Je=s()(Ce);function Ce(){var et;return g()(this,Ce),et=Je.apply(this,arguments),et.handleClick=function(ze){var at=et.context,Ct=at.scrollTo,Tt=at.onClick,Ot=et.props,Nt=Ot.href,Be=Ot.title;Tt&&Tt(ze,{title:Be,href:Nt}),Ct(Nt)},et.renderAnchorLink=function(ze){var at=ze.getPrefixCls,Ct=et.props,Tt=Ct.prefixCls,Ot=Ct.href,Nt=Ct.title,Be=Ct.children,ne=Ct.className,G=Ct.target,Pe=at("anchor",Tt),Ne=et.context.activeLink===Ot,q=u()(ne,"".concat(Pe,"-link"),A()({},"".concat(Pe,"-link-active"),Ne)),ht=u()("".concat(Pe,"-link-title"),A()({},"".concat(Pe,"-link-title-active"),Ne));return t.createElement("div",{className:q},t.createElement("a",{className:ht,href:Ot,title:typeof Nt=="string"?Nt:"",target:G,onClick:et.handleClick},Nt),Be)},et}return c()(Ce,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(ze){var at=ze.href,Ct=this.props.href;at!==Ct&&(this.context.unregisterLink(at),this.context.registerLink(Ct))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return t.createElement(U.a,null,this.renderAnchorLink)}}]),Ce}(t.Component);fe.defaultProps={href:"#"},fe.contextType=ge;var Ee=fe;le.Link=Ee;var Ge=P.a=le},JuEJ:function(H,P,d){var O=d("bYtY"),x=d("4NO4"),C=O.each,A=O.isObject,b=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function g(t){var a=t&&t.itemStyle;if(!a)return;for(var l=0,u=b.length;l0},extendFrom:function(e,s){if(e)for(var t in e)e.hasOwnProperty(t)&&(s===!0||(s===!1?!this.hasOwnProperty(t):e[t]!=null))&&(this[t]=e[t])},set:function(e,s){typeof e=="string"?this[e]=s:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,s,t){for(var a=s.type==="radial"?f:g,l=a(e,s,t),u=s.colorStops,h=0;h=0||f&&O.indexOf(f,r)<0)continue;var i=b.getShallow(r);i!=null&&(c[C[o][0]]=i)}return c}}H.exports=x},KPFz:function(H,P,d){},KQeH:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},KS52:function(H,P,d){var O=d("OELB"),x=O.parsePercent,C=O.linearMap,A=d("+TT/"),b=d("u3DP"),g=d("bYtY"),f=Math.PI*2,c=Math.PI/180;function o(i,n){return A.getLayoutRect(i.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function r(i,n,e,s){n.eachSeriesByType(i,function(t){var a=t.getData(),l=a.mapDimension("value"),u=o(t,e),h=t.get("center"),p=t.get("radius");g.isArray(p)||(p=[0,p]),g.isArray(h)||(h=[h,h]);var m=x(u.width,e.getWidth()),v=x(u.height,e.getHeight()),y=Math.min(m,v),E=x(h[0],m)+u.x,T=x(h[1],v)+u.y,w=x(p[0],y/2),S=x(p[1],y/2),_=-t.get("startAngle")*c,I=t.get("minAngle")*c,L=0;a.each(l,function(J){!isNaN(J)&&L++});var N=a.getSum(l),D=Math.PI/(N||L)*2,R=t.get("clockwise"),B=t.get("roseType"),M=t.get("stillShowZeroSum"),U=a.getDataExtent(l);U[0]=0;var F=f,j=0,W=_,V=R?1:-1;if(a.each(l,function(J,$){var ce;if(isNaN(J)){a.setItemLayout($,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:R,cx:E,cy:T,r0:w,r:B?NaN:S,viewRect:u});return}B!=="area"?ce=N===0&&M?D:J*D:ce=f/L,ce=0;b--)if(A[b>>>2]>>>24-b%4*8&255){C.sigBytes=b+1;break}}},O.pad.ZeroPadding})},"KpQ+":function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("E/ki")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="ClockCircleOutlined";var c=A.forwardRef(f);P.default=c},KrTs:function(H,P,d){"use strict";var O=d("lSNA"),x=d.n(O),C=d("cDf5"),A=d.n(C),b=d("pVnL"),g=d.n(b),f=d("q1tI"),c=d("UmKh"),o=d("TSYQ"),r=d.n(o),i=d("J4zp"),n=d.n(i),e=d("H84U"),s=d("0n0R"),t=function(S,_){var I={};for(var L in S)Object.prototype.hasOwnProperty.call(S,L)&&_.indexOf(L)<0&&(I[L]=S[L]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,L=Object.getOwnPropertySymbols(S);Nlt?Je>=Ce?10+fe:20+fe:Je<=Ce?10+fe:fe},de=function(fe,Ee){if(typeof fe=="number"){var Ge=ge(fe,Ee),lt=J||a(Qe)[Ee]===void 0;return f.createElement("span",{className:"".concat(Q,"-only"),style:{transition:lt?"none":void 0,msTransform:"translateY(".concat(-Ge*100,"%)"),WebkitTransform:"translateY(".concat(-Ge*100,"%)"),transform:"translateY(".concat(-Ge*100,"%)")},key:Ee},l(Ge,"".concat(Q,"-only-unit")))}return f.createElement("span",{key:"symbol",className:"".concat(Q,"-symbol")},fe)},Te=function(){return Ae&&Number(Ae)%1===0?a(Ae).map(function(fe,Ee){return de(fe,Ee)}).reverse():Ae},xe=g()(g()({},W),{style:D,className:r()(Q,N),title:R});return D&&D.borderColor&&(xe.style=g()(g()({},D),{boxShadow:"0 0 0 1px ".concat(D.borderColor," inset")})),U?Object(s.a)(U,{className:r()("".concat(Q,"-custom-component"),U.props&&U.props.className)}):f.createElement(M,xe,Te())},h=u,p=d("09Wf");function m(S){return p.a.indexOf(S)!==-1}var v=function(_){var I,L=_.className,N=_.prefixCls,D=_.style,R=_.color,B=_.children,M=_.text,U=_.placement,F=U===void 0?"end":U,j=f.useContext(e.b),W=j.getPrefixCls,V=j.direction,z=W("ribbon",N),J=m(R),$=r()(z,L,"".concat(z,"-placement-").concat(F),(I={},x()(I,"".concat(z,"-rtl"),V==="rtl"),x()(I,"".concat(z,"-color-").concat(R),J),I)),ce={},ae={};return R&&!J&&(ce.background=R,ae.color=R),f.createElement("div",{className:"".concat(z,"-wrapper")},B,f.createElement("div",{className:$,style:g()(g()({},ce),D)},M,f.createElement("div",{className:"".concat(z,"-corner"),style:ae})))},y=v,E=function(S,_){var I={};for(var L in S)Object.prototype.hasOwnProperty.call(S,L)&&_.indexOf(L)<0&&(I[L]=S[L]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,L=Object.getOwnPropertySymbols(S);NV?"".concat(V,"+"):j;return Ct},X=function(){return!!B||!!U},Q=function(){var Ct=Y();return Ct==="0"||Ct===0},ge=function(){return J&&!Q()||X()},de=function(){return ge()?"":Y()},Te=function(){return ae||(typeof j=="string"||typeof j=="number"?j:void 0)},xe=function(){return Qe==="rtl"?Ae?g()({left:parseInt(Ae[0],10),marginTop:Ae[1]},Ie):Ie:Ae?g()({right:-parseInt(Ae[0],10),marginTop:Ae[1]},Ie):Ie},le=function(){var Ct=de(),Tt=Ct==null||Ct==="";return(Tt||Q()&&!me)&&!ge()},fe=function(){var Ct=le();return Ct||!M?null:f.createElement("span",{className:"".concat(se,"-status-text")},M)},Ee=function(){var Ct=j;return!Ct||A()(Ct)!=="object"?void 0:Object(s.a)(Ct,{style:g()(g()({},xe()),Ct.props&&Ct.props.style)})},Ge=function(){var Ct,Tt=te("scroll-number",D),Ot=de(),Nt=ge(),Be=le(),ne=r()((Ct={},x()(Ct,"".concat(se,"-dot"),Nt),x()(Ct,"".concat(se,"-count"),!Nt),x()(Ct,"".concat(se,"-count-sm"),ce==="small"),x()(Ct,"".concat(se,"-multiple-words"),!Nt&&j&&j.toString&&j.toString().length>1),x()(Ct,"".concat(se,"-status-").concat(B),!!B),x()(Ct,"".concat(se,"-status-").concat(U),m(U)),Ct)),G=xe();return U&&!m(U)&&(G=G||{},G.background=U),Be?null:f.createElement(h,{prefixCls:Tt,"data-show":!Be,className:ne,count:Ot,displayComponent:Ee(),title:Te(),style:G,key:"scrollNumber"})},lt=r()((I={},x()(I,"".concat(se,"-status-dot"),X()),x()(I,"".concat(se,"-status-").concat(B),!!B),x()(I,"".concat(se,"-status-").concat(U),m(U)),I)),Je={};U&&!m(U)&&(Je.background=U);var Ce=r()(De,se,(L={},x()(L,"".concat(se,"-status"),X()),x()(L,"".concat(se,"-not-a-wrapper"),!R),x()(L,"".concat(se,"-rtl"),Qe==="rtl"),L));if(!R&&X()){var et=xe(),ze=et&&et.color;return f.createElement("span",g()({},Ue,{className:Ce,style:et}),f.createElement("span",{className:lt,style:Je}),f.createElement("span",{style:{color:ze},className:"".concat(se,"-status-text")},M))}return f.createElement("span",g()({},Ue,{className:Ce}),R,f.createElement(c.a,{component:"",showProp:"data-show",transitionName:R?"".concat(se,"-zoom"):"",transitionAppear:!0},Ge()),fe())};T.Ribbon=y;var w=P.a=T},Kvyg:function(H,P,d){},KxBF:function(H,P){function d(O,x,C){var A=-1,b=O.length;x<0&&(x=-x>b?0:b+x),C=C>b?b:C,C<0&&(C+=b),b=x>C?0:C-x>>>0,x>>>=0;for(var g=Array(b);++A0&&Date.now()-this._tracked[0].started>t){this._state=A,this._ignored.push(v);return}if(this._waitingRelease){this._state=A,this._ignored.push(v);return}this._tracked.push({id:v,started:Date.now(),active:!0,firstX:y,firstY:E,lastX:y,lastY:E,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(b|c|o),this._stopLongpressTimeout();break;case 3:this._state&=~(g|r|i);break;default:this._state=A}}},{key:"_touchMove",value:function(v,y,E){var T=this._tracked.find(function(N){return N.id===v});if(T===void 0)return;T.lastX=y,T.lastY=E;var w=y-T.firstX,S=E-T.firstY;if((T.firstX!==T.lastX||T.firstY!==T.lastY)&&(T.angle=Math.atan2(S,w)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(w,S)e){var L=Math.abs(T.angle-_.angle);L=Math.abs((L+180)%360-180),L>s?this._state&=~r:this._state&=~i,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(v,y,E){if(this._ignored.indexOf(v)!==-1){this._ignored.splice(this._ignored.indexOf(v),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=n,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=A),!this._hasDetectedGesture()&&(this._state&=~(c|r|i),this._state&=~o,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(g|f);break;case 2:this._state&=~(b|f);break}}if(this._waitingRelease){Date.now()-this._releaseStart>t&&(this._state=A),this._tracked.some(function(S){return Date.now()-S.started>a})&&(this._state=A);var T=this._tracked.find(function(S){return S.id===v});if(T.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==A)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var w=0;w=0)continue;if(!Object.prototype.hasOwnProperty.call(n,t))continue;s[t]=n[t]}return s}function c(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function o(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function r(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}var i=function(n){r(e,n);function e(s){c(this,e);var t=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,s));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return O(e,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var t=!1,a={get passive(){t=!0}};try{document.addEventListener("test",null,a),document.removeEventListener("test",null,a)}catch(l){}return t}},{key:"eventListenerOptions",value:function(){var t=this.props.useCapture;return this.isPassiveSupported()&&(t={useCapture:this.props.useCapture,passive:!0}),t}},{key:"setDefaultLoader",value:function(t){this.defaultLoader=t}},{key:"detachMousewheelListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.scrollComponent.parentNode),t.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.getParentElement(this.scrollComponent)),t.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(t){var a=this.props.getScrollParent&&this.props.getScrollParent();return a!=null?a:t&&t.parentNode}},{key:"filterProps",value:function(t){return t}},{key:"attachScrollListener",value:function(){var t=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!t)return;var a=window;this.props.useWindow===!1&&(a=t),a.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),a.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(t){t.deltaY===1&&!this.isPassiveSupported()&&t.preventDefault()}},{key:"scrollListener",value:function(){var t=this.scrollComponent,a=window,l=this.getParentElement(t),u=void 0;if(this.props.useWindow){var h=document.documentElement||document.body.parentNode||document.body,p=a.pageYOffset!==void 0?a.pageYOffset:h.scrollTop;this.props.isReverse?u=p:u=this.calculateOffset(t,p)}else this.props.isReverse?u=l.scrollTop:u=t.scrollHeight-l.scrollTop-l.clientHeight;u=4&&(De={x:parseFloat(me[0]||0),y:parseFloat(me[1]||0),width:parseFloat(me[2]),height:parseFloat(me[3])})}if(De&&ae!=null&&Ae!=null&&(Ke=j(De,ae,Ae),!z.ignoreViewBox)){var Ue=$;$=new O,$.add(Ue),Ue.scale=Ke.scale.slice(),Ue.position=Ke.position.slice()}return!z.ignoreRootClip&&ae!=null&&Ae!=null&&$.setClipPath(new b({shape:{x:0,y:0,width:ae,height:Ae}})),{root:$,width:ae,height:Ae,viewBoxRect:De,viewBoxTransform:Ke}},E.prototype._parseNode=function(V,z){var J=V.nodeName.toLowerCase();J==="defs"?this._isDefine=!0:J==="text"&&(this._isText=!0);var $;if(this._isDefine){var ce=w[J];if(ce){var ae=ce.call(this,V),Ae=V.getAttribute("id");Ae&&(this._defs[Ae]=ae)}}else{var ce=T[J];ce&&($=ce.call(this,V,z),z.add($))}for(var Ie=V.firstChild;Ie;)Ie.nodeType===1&&this._parseNode(Ie,$),Ie.nodeType===3&&this._isText&&this._parseText(Ie,$),Ie=Ie.nextSibling;J==="defs"?this._isDefine=!1:J==="text"&&(this._isText=!1)},E.prototype._parseText=function(V,z){if(V.nodeType===1){var J=V.getAttribute("dx")||0,$=V.getAttribute("dy")||0;this._textX+=parseFloat(J),this._textY+=parseFloat($)}var ce=new C({style:{text:V.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});_(z,ce),N(V,ce,this._defs);var ae=ce.style.fontSize;ae&&ae<9&&(ce.style.fontSize=9,ce.scale=ce.scale||[1,1],ce.scale[0]*=ae/9,ce.scale[1]*=ae/9);var Ae=ce.getBoundingRect();return this._textX+=Ae.width,z.add(ce),ce};var T={g:function(z,J){var $=new O;return _(J,$),N(z,$,this._defs),$},rect:function(z,J){var $=new b;return _(J,$),N(z,$,this._defs),$.setShape({x:parseFloat(z.getAttribute("x")||0),y:parseFloat(z.getAttribute("y")||0),width:parseFloat(z.getAttribute("width")||0),height:parseFloat(z.getAttribute("height")||0)}),$},circle:function(z,J){var $=new A;return _(J,$),N(z,$,this._defs),$.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),r:parseFloat(z.getAttribute("r")||0)}),$},line:function(z,J){var $=new f;return _(J,$),N(z,$,this._defs),$.setShape({x1:parseFloat(z.getAttribute("x1")||0),y1:parseFloat(z.getAttribute("y1")||0),x2:parseFloat(z.getAttribute("x2")||0),y2:parseFloat(z.getAttribute("y2")||0)}),$},ellipse:function(z,J){var $=new g;return _(J,$),N(z,$,this._defs),$.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),rx:parseFloat(z.getAttribute("rx")||0),ry:parseFloat(z.getAttribute("ry")||0)}),$},polygon:function(z,J){var $=z.getAttribute("points");$&&($=I($));var ce=new o({shape:{points:$||[]}});return _(J,ce),N(z,ce,this._defs),ce},polyline:function(z,J){var $=new c;_(J,$),N(z,$,this._defs);var ce=z.getAttribute("points");ce&&(ce=I(ce));var ae=new r({shape:{points:ce||[]}});return ae},image:function(z,J){var $=new x;return _(J,$),N(z,$,this._defs),$.setStyle({image:z.getAttribute("xlink:href"),x:z.getAttribute("x"),y:z.getAttribute("y"),width:z.getAttribute("width"),height:z.getAttribute("height")}),$},text:function(z,J){var $=z.getAttribute("x")||0,ce=z.getAttribute("y")||0,ae=z.getAttribute("dx")||0,Ae=z.getAttribute("dy")||0;this._textX=parseFloat($)+parseFloat(ae),this._textY=parseFloat(ce)+parseFloat(Ae);var Ie=new O;return _(J,Ie),N(z,Ie,this._defs),Ie},tspan:function(z,J){var $=z.getAttribute("x"),ce=z.getAttribute("y");$!=null&&(this._textX=parseFloat($)),ce!=null&&(this._textY=parseFloat(ce));var ae=z.getAttribute("dx")||0,Ae=z.getAttribute("dy")||0,Ie=new O;return _(J,Ie),N(z,Ie,this._defs),this._textX+=ae,this._textY+=Ae,Ie},path:function(z,J){var $=z.getAttribute("d")||"",ce=t($);return _(J,ce),N(z,ce,this._defs),ce}},w={lineargradient:function(z){var J=parseInt(z.getAttribute("x1")||0,10),$=parseInt(z.getAttribute("y1")||0,10),ce=parseInt(z.getAttribute("x2")||10,10),ae=parseInt(z.getAttribute("y2")||0,10),Ae=new i(J,$,ce,ae);return S(z,Ae),Ae},radialgradient:function(z){}};function S(V,z){for(var J=V.firstChild;J;){if(J.nodeType===1){var $=J.getAttribute("offset");$.indexOf("%")>0?$=parseInt($,10)/100:$?$=parseFloat($):$=0;var ce=J.getAttribute("stop-color")||"#000000";z.addColorStop($,ce)}J=J.nextSibling}}function _(V,z){V&&V.__inheritedStyle&&(z.__inheritedStyle||(z.__inheritedStyle={}),h(z.__inheritedStyle,V.__inheritedStyle))}function I(V){for(var z=p(V).split(v),J=[],$=0;$0;ae-=2){var Ae=ce[ae],Ie=ce[ae-1];$=$||e.create();switch(Ie){case"translate":Ae=p(Ae).split(v),e.translate($,$,[parseFloat(Ae[0]),parseFloat(Ae[1]||0)]);break;case"scale":Ae=p(Ae).split(v),e.scale($,$,[parseFloat(Ae[0]),parseFloat(Ae[1]||Ae[0])]);break;case"rotate":Ae=p(Ae).split(v),e.rotate($,$,parseFloat(Ae[0]));break;case"skew":Ae=p(Ae).split(v),console.warn("Skew transform is not supported yet");break;case"matrix":var Ae=p(Ae).split(v);$[0]=parseFloat(Ae[0]),$[1]=parseFloat(Ae[1]),$[2]=parseFloat(Ae[2]),$[3]=parseFloat(Ae[3]),$[4]=parseFloat(Ae[4]),$[5]=parseFloat(Ae[5]);break}}z.setLocalTransform($)}}var U=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F(V){var z=V.getAttribute("style"),J={};if(!z)return J;var $={};U.lastIndex=0;for(var ce;(ce=U.exec(z))!=null;)$[ce[1]]=ce[2];for(var ae in L)L.hasOwnProperty(ae)&&$[ae]!=null&&(J[L[ae]]=$[ae]);return J}function j(V,z,J){var $=z/V.width,ce=J/V.height,ae=Math.min($,ce),Ae=[ae,ae],Ie=[-(V.x+V.width/2)*ae+z/2,-(V.y+V.height/2)*ae+J/2];return{scale:Ae,position:Ie}}function W(V,z){var J=new E;return J.parse(V,z)}P.parseXML=y,P.makeViewBoxTransform=j,P.parseSVG=W},MFOe:function(H,P,d){(function(O){var x=g(),C=f(),A=c(),b=typeof window!="undefined"?window:O;H.exports={assign:x,create:C,trim:A,bind:o,slice:r,each:i,map:n,pluck:e,isList:s,isFunction:t,isObject:a,Global:b};function g(){return Object.assign?Object.assign:function(u,h,p,m){for(var v=1;v=0&&typeof y=="number"&&(y=+y.toFixed(Math.min(L,20))),_.coord[w]=I.coord[w]=y,h=[_,I,{type:m,valueIndex:h.valueIndex,value:y}]}return h=[A.dataTransform(a,h[0]),A.dataTransform(a,h[1]),O.extend({},h[2])],h[2].type=h[2].type||"",O.merge(h[2],h[0]),O.merge(h[2],h[1]),h};function r(a){return!isNaN(a)&&!isFinite(a)}function i(a,l,u,h){var p=1-a,m=h.dimensions[a];return r(l[p])&&r(u[p])&&l[a]===u[a]&&h.getAxis(m).containData(l[a])}function n(a,l){if(a.type==="cartesian2d"){var u=l[0].coord,h=l[1].coord;if(u&&h&&(i(1,u,h,a)||i(0,u,h,a)))return!0}return A.dataFilter(a,l[0])&&A.dataFilter(a,l[1])}function e(a,l,u,h,p){var m=h.coordinateSystem,v=a.getItemModel(l),y,E=C.parsePercent(v.get("x"),p.getWidth()),T=C.parsePercent(v.get("y"),p.getHeight());if(!isNaN(E)&&!isNaN(T))y=[E,T];else{if(h.getMarkerPosition)y=h.getMarkerPosition(a.getValues(a.dimensions,l));else{var w=m.dimensions,S=a.get(w[0],l),_=a.get(w[1],l);y=m.dataToPoint([S,_])}if(m.type==="cartesian2d"){var I=m.getAxis("x"),L=m.getAxis("y"),w=m.dimensions;r(a.get(w[0],l))?y[0]=I.toGlobalCoord(I.getExtent()[u?0:1]):r(a.get(w[1],l))&&(y[1]=L.toGlobalCoord(L.getExtent()[u?0:1]))}isNaN(E)||(y[0]=E),isNaN(T)||(y[1]=T)}a.setItemLayout(l,y)}var s=g.extend({type:"markLine",updateTransform:function(a,l,u){l.eachSeries(function(h){var p=h.markLineModel;if(p){var m=p.getData(),v=p.__from,y=p.__to;v.each(function(E){e(v,E,!0,h,u),e(y,E,!1,h,u)}),m.each(function(E){m.setItemLayout(E,[v.getItemLayout(E),y.getItemLayout(E)])}),this.markerGroupMap.get(h.id).updateLayout()}},this)},renderSeries:function(a,l,u,h){var p=a.coordinateSystem,m=a.id,v=a.getData(),y=this.markerGroupMap,E=y.get(m)||y.set(m,new b);this.group.add(E.group);var T=t(p,a,l),w=T.from,S=T.to,_=T.line;l.__from=w,l.__to=S,l.setData(_);var I=l.get("symbol"),L=l.get("symbolSize");O.isArray(I)||(I=[I,I]),typeof L=="number"&&(L=[L,L]),T.from.each(function(D){N(w,D,!0),N(S,D,!1)}),_.each(function(D){var R=_.getItemModel(D).get("lineStyle.color");_.setItemVisual(D,{color:R||w.getItemVisual(D,"color")}),_.setItemLayout(D,[w.getItemLayout(D),S.getItemLayout(D)]),_.setItemVisual(D,{fromSymbolSize:w.getItemVisual(D,"symbolSize"),fromSymbol:w.getItemVisual(D,"symbol"),toSymbolSize:S.getItemVisual(D,"symbolSize"),toSymbol:S.getItemVisual(D,"symbol")})}),E.updateData(_),T.line.eachItemGraphicEl(function(D,R){D.traverse(function(B){B.dataModel=l})});function N(D,R,B){var M=D.getItemModel(R);e(D,R,B,a,h),D.setItemVisual(R,{symbolSize:M.get("symbolSize")||L[B?0:1],symbol:M.get("symbol",!0)||I[B?0:1],color:M.get("itemStyle.color")||v.getVisual("color")})}E.__keep=!0,E.group.silent=l.get("silent")||a.get("silent")}});function t(a,l,u){var h;a?h=O.map(a&&a.dimensions,function(T){var w=l.getData().getDimensionInfo(l.getData().mapDimension(T))||{};return O.defaults({name:T},w)}):h=[{name:"value",type:"float"}];var p=new x(h,u),m=new x(h,u),v=new x([],u),y=O.map(u.get("data"),O.curry(o,l,a,u));a&&(y=O.filter(y,O.curry(n,a)));var E=a?A.dimValueGetter:function(T){return T.value};return p.initData(O.map(y,function(T){return T[0]}),null,E),m.initData(O.map(y,function(T){return T[1]}),null,E),v.initData(O.map(y,function(T){return T[2]})),v.hasItemOption=!0,{from:p,to:m,line:v}}H.exports=s},MHoB:function(H,P,d){var O=d("bYtY"),x=d("6uqw"),C=d("OELB"),A=[20,140],b=x.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(c,o){b.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(r){r.mappingMethod="linear",r.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){b.superApply(this,"resetItemSize",arguments);var c=this.itemSize;this._orient==="horizontal"&&c.reverse(),(c[0]==null||isNaN(c[0]))&&(c[0]=A[0]),(c[1]==null||isNaN(c[1]))&&(c[1]=A[1])},_resetRange:function(){var c=this.getExtent(),o=this.option.range;!o||o.auto?(c.auto=1,this.option.range=c):O.isArray(o)&&(o[0]>o[1]&&o.reverse(),o[0]=Math.max(o[0],c[0]),o[1]=Math.min(o[1],c[1]))},completeVisualOption:function(){x.prototype.completeVisualOption.apply(this,arguments),O.each(this.stateList,function(c){var o=this.option.controller[c].symbolSize;o&&o[0]!==o[1]&&(o[0]=0)},this)},setSelected:function(c){this.option.range=c.slice(),this._resetRange()},getSelected:function(){var c=this.getExtent(),o=C.asc((this.get("range")||[]).slice());return o[0]>c[1]&&(o[0]=c[1]),o[1]>c[1]&&(o[1]=c[1]),o[0]=r[1]||c<=o[1])?"inRange":"outOfRange"},findTargetDataIndices:function(c){var o=[];return this.eachTargetSeries(function(r){var i=[],n=r.getData();n.each(this.getDataDimension(n),function(e,s){c[0]<=e&&e<=c[1]&&i.push(s)},this),o.push({seriesId:r.id,dataIndex:i})},this),o},getVisualMeta:function(c){var o=g(this,"outOfRange",this.getExtent()),r=g(this,"inRange",this.option.range.slice()),i=[];function n(h,p){i.push({value:h,color:c(h,p)})}for(var e=0,s=0,t=r.length,a=o.length;s0&&arguments[0]!==void 0?arguments[0]:[],Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Nt=Tt.length,Be=Ot.length;if(Math.abs(Nt-Be)!==1)return{add:!1,key:null};function ne(G,Pe){var Ne=new Map;G.forEach(function(ht){Ne.set(ht,!0)});var q=Pe.filter(function(ht){return!Ne.has(ht)});return q.length===1?q[0]:null}return Nt ").concat(Ot);return Ot}var W=function(Ot,Nt){var Be=Ot.prefixCls,ne=Ot.data,G=Ot.selectable,Pe=Ot.checkable,Ne=Ot.expandedKeys,q=Ot.selectedKeys,ht=Ot.checkedKeys,Pt=Ot.loadedKeys,ct=Ot.loadingKeys,Gt=Ot.halfCheckedKeys,or=Ot.keyEntities,Zr=Ot.disabled,ir=Ot.dragging,dr=Ot.dragOverNodeKey,er=Ot.dropPosition,Kt=Ot.motion,dt=Ot.height,Hr=Ot.itemHeight,fn=Ot.virtual,Nn=Ot.focusable,Vn=Ot.activeItem,gi=Ot.focused,bn=Ot.tabIndex,Mn=Ot.onKeyDown,jt=Ot.onFocus,St=Ot.onBlur,_e=Ot.onActiveChange,Oe=Ot.onListChangeStart,Le=Ot.onListChangeEnd,Ze=Object(m.a)(Ot,["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"]),nt=b.useRef(null);b.useImperativeHandle(Nt,function(){return{scrollTo:function(Ii){nt.current.scrollTo(Ii)}}});var ft=b.useState(Ne),Dt=Object(p.a)(ft,2),Ar=Dt[0],Mr=Dt[1],un=b.useState(ne),Rt=Object(p.a)(un,2),it=Rt[0],st=Rt[1],rr=b.useState(ne),Bt=Object(p.a)(rr,2),_t=Bt[0],Ht=Bt[1],pt=b.useState([]),Ut=Object(p.a)(pt,2),Sr=Ut[0],mr=Ut[1],vr=b.useState(null),Jr=Object(p.a)(vr,2),$r=Jr[0],Pn=Jr[1];function Dn(){st(ne),Ht(ne),mr([]),Pn(null),Le()}b.useEffect(function(){Mr(Ne);var Ai=_(Ar,Ne);if(Ai.key!==null)if(Ai.add){var Ii=it.findIndex(function(Ve){var qe=Ve.data.key;return qe===Ai.key}),$e=U(I(it,ne,Ai.key),fn,dt,Hr),Se=it.slice();Se.splice(Ii+1,0,M),Ht(Se),mr($e),Pn("show")}else{var Re=ne.findIndex(function(Ve){var qe=Ve.data.key;return qe===Ai.key}),je=U(I(ne,it,Ai.key),fn,dt,Hr),Ye=ne.slice();Ye.splice(Re+1,0,M),Ht(Ye),mr(je),Pn("hide")}else it!==ne&&(st(ne),Ht(ne))},[Ne,ne]),b.useEffect(function(){ir||Dn()},[ir]);var Zn=Kt?_t:ne,li={expandedKeys:Ne,selectedKeys:q,loadedKeys:Pt,loadingKeys:ct,checkedKeys:ht,halfCheckedKeys:Gt,dragOverNodeKey:dr,dropPosition:er,keyEntities:or};return b.createElement(b.Fragment,null,gi&&Vn&&b.createElement("span",{style:L,"aria-live":"assertive"},j(Vn)),b.createElement("div",{role:"tree"},b.createElement("input",{style:L,disabled:Nn===!1||Zr,tabIndex:Nn!==!1?bn:null,onKeyDown:Mn,onFocus:jt,onBlur:St,value:"",onChange:N})),b.createElement(v.a,Object.assign({},Ze,{data:Zn,itemKey:F,height:dt,fullHeight:!1,virtual:fn,itemHeight:Hr,prefixCls:"".concat(Be,"-list"),ref:nt}),function(Ai){var Ii=Ai.pos,$e=Ai.data,Se=$e.key,Re=Object(m.a)($e,["key"]),je=Ai.isStart,Ye=Ai.isEnd,Ve=Object(h.e)(Se,Ii);delete Re.children;var qe=Object(h.f)(Ve,li);return b.createElement(S,Object.assign({},Re,qe,{active:Vn&&Se===Vn.data.key,pos:Ii,data:Ai.data,isStart:je,isEnd:Ye,motion:Kt,motionNodes:Se===D?Sr:null,motionType:$r,onMotionStart:Oe,onMotionEnd:Dn,treeNodeRequiredProps:li,onMouseMove:function(){_e(null)}}))}))},V=b.forwardRef(W);V.displayName="NodeList";var z=V,J=d("qOx5"),$=function(Tt){Object(i.a)(Nt,Tt);var Ot=Object(n.a)(Nt);function Nt(){var Be;return Object(o.a)(this,Nt),Be=Ot.apply(this,arguments),Be.destroyed=!1,Be.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},Be.listRef=b.createRef(),Be.onNodeDragStart=function(ne,G){var Pe=Be.state,Ne=Pe.expandedKeys,q=Pe.keyEntities,ht=Be.props.onDragStart,Pt=G.props.eventKey;Be.dragNode=G;var ct=Object(u.b)(Ne,Pt);Be.setState({dragging:!0,dragNodesKeys:Object(u.g)(Pt,q)}),Be.setExpandedKeys(ct),ht&&ht({event:ne,node:Object(h.b)(G.props)})},Be.onNodeDragEnter=function(ne,G){var Pe=Be.state,Ne=Pe.expandedKeys,q=Pe.keyEntities,ht=Pe.dragNodesKeys,Pt=Be.props.onDragEnter,ct=G.props,Gt=ct.pos,or=ct.eventKey;if(!Be.dragNode||ht.indexOf(or)!==-1)return;var Zr=Object(u.c)(ne,G);if(Be.dragNode.props.eventKey===or&&Zr===0){Be.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){Be.setState({dragOverNodeKey:or,dropPosition:Zr}),Be.delayedDragEnterLogic||(Be.delayedDragEnterLogic={}),Object.keys(Be.delayedDragEnterLogic).forEach(function(ir){clearTimeout(Be.delayedDragEnterLogic[ir])}),Be.delayedDragEnterLogic[Gt]=window.setTimeout(function(){if(!Be.state.dragging)return;var ir=Object(c.a)(Ne),dr=q[or];dr&&(dr.children||[]).length&&(ir=Object(u.a)(Ne,or)),"expandedKeys"in Be.props||Be.setExpandedKeys(ir),Pt&&Pt({event:ne,node:Object(h.b)(G.props),expandedKeys:ir})},400)},0)},Be.onNodeDragOver=function(ne,G){var Pe=Be.state.dragNodesKeys,Ne=Be.props.onDragOver,q=G.props.eventKey;if(Pe.indexOf(q)!==-1)return;if(Be.dragNode&&q===Be.state.dragOverNodeKey){var ht=Object(u.c)(ne,G);if(ht===Be.state.dropPosition)return;Be.setState({dropPosition:ht})}Ne&&Ne({event:ne,node:Object(h.b)(G.props)})},Be.onNodeDragLeave=function(ne,G){var Pe=Be.props.onDragLeave;Be.setState({dragOverNodeKey:""}),Pe&&Pe({event:ne,node:Object(h.b)(G.props)})},Be.onNodeDragEnd=function(ne,G){var Pe=Be.props.onDragEnd;Be.setState({dragOverNodeKey:""}),Be.cleanDragState(),Pe&&Pe({event:ne,node:Object(h.b)(G.props)}),Be.dragNode=null},Be.onNodeDrop=function(ne,G){var Pe=Be.state,Ne=Pe.dragNodesKeys,q=Ne===void 0?[]:Ne,ht=Pe.dropPosition,Pt=Be.props.onDrop,ct=G.props,Gt=ct.eventKey,or=ct.pos;if(Be.setState({dragOverNodeKey:""}),Be.cleanDragState(),q.indexOf(Gt)!==-1){Object(s.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Zr=Object(u.k)(or),ir={event:ne,node:Object(h.b)(G.props),dragNode:Be.dragNode?Object(h.b)(Be.dragNode.props):null,dragNodesKeys:q.slice(),dropPosition:ht+Number(Zr[Zr.length-1]),dropToGap:!1};ht!==0&&(ir.dropToGap=!0),Pt&&Pt(ir),Be.dragNode=null},Be.cleanDragState=function(){var ne=Be.state.dragging;ne&&Be.setState({dragging:!1})},Be.onNodeClick=function(ne,G){var Pe=Be.props.onClick;Pe&&Pe(ne,G)},Be.onNodeDoubleClick=function(ne,G){var Pe=Be.props.onDoubleClick;Pe&&Pe(ne,G)},Be.onNodeSelect=function(ne,G){var Pe=Be.state.selectedKeys,Ne=Be.state.keyEntities,q=Be.props,ht=q.onSelect,Pt=q.multiple,ct=G.selected,Gt=G.key,or=!ct;or?Pt?Pe=Object(u.a)(Pe,Gt):Pe=[Gt]:Pe=Object(u.b)(Pe,Gt);var Zr=Pe.map(function(ir){var dr=Ne[ir];return dr?dr.node:null}).filter(function(ir){return ir});Be.setUncontrolledState({selectedKeys:Pe}),ht&&ht(Pe,{event:"select",selected:or,node:G,selectedNodes:Zr,nativeEvent:ne.nativeEvent})},Be.onNodeCheck=function(ne,G,Pe){var Ne=Be.state,q=Ne.keyEntities,ht=Ne.checkedKeys,Pt=Ne.halfCheckedKeys,ct=Be.props,Gt=ct.checkStrictly,or=ct.onCheck,Zr=G.key,ir,dr={event:"check",node:G,checked:Pe,nativeEvent:ne.nativeEvent};if(Gt){var er=Pe?Object(u.a)(ht,Zr):Object(u.b)(ht,Zr),Kt=Object(u.b)(Pt,Zr);ir={checked:er,halfChecked:Kt},dr.checkedNodes=er.map(function(gi){return q[gi]}).filter(function(gi){return gi}).map(function(gi){return gi.node}),Be.setUncontrolledState({checkedKeys:er})}else{var dt=Object(J.a)([].concat(Object(c.a)(ht),[Zr]),!0,q),Hr=dt.checkedKeys,fn=dt.halfCheckedKeys;if(!Pe){var Nn=new Set(Hr);Nn.delete(Zr);var Vn=Object(J.a)(Array.from(Nn),{checked:!1,halfCheckedKeys:fn},q);Hr=Vn.checkedKeys,fn=Vn.halfCheckedKeys}ir=Hr,dr.checkedNodes=[],dr.checkedNodesPositions=[],dr.halfCheckedKeys=fn,Hr.forEach(function(gi){var bn=q[gi];if(!bn)return;var Mn=bn.node,jt=bn.pos;dr.checkedNodes.push(Mn),dr.checkedNodesPositions.push({node:Mn,pos:jt})}),Be.setUncontrolledState({checkedKeys:Hr},!1,{halfCheckedKeys:fn})}or&&or(ir,dr)},Be.onNodeLoad=function(ne){return new Promise(function(G){Be.setState(function(Pe){var Ne=Pe.loadedKeys,q=Ne===void 0?[]:Ne,ht=Pe.loadingKeys,Pt=ht===void 0?[]:ht,ct=Be.props,Gt=ct.loadData,or=ct.onLoad,Zr=ne.key;if(!Gt||q.indexOf(Zr)!==-1||Pt.indexOf(Zr)!==-1)return{};var ir=Gt(ne);return ir.then(function(){var dr=Be.state,er=dr.loadedKeys,Kt=dr.loadingKeys,dt=Object(u.a)(er,Zr),Hr=Object(u.b)(Kt,Zr);or&&or(dt,{event:"load",node:ne}),Be.setUncontrolledState({loadedKeys:dt}),Be.setState({loadingKeys:Hr}),G()}),{loadingKeys:Object(u.a)(Pt,Zr)}})})},Be.onNodeMouseEnter=function(ne,G){var Pe=Be.props.onMouseEnter;Pe&&Pe({event:ne,node:G})},Be.onNodeMouseLeave=function(ne,G){var Pe=Be.props.onMouseLeave;Pe&&Pe({event:ne,node:G})},Be.onNodeContextMenu=function(ne,G){var Pe=Be.props.onRightClick;Pe&&(ne.preventDefault(),Pe({event:ne,node:G}))},Be.onFocus=function(){var ne=Be.props.onFocus;Be.setState({focused:!0}),ne&&ne.apply(void 0,arguments)},Be.onBlur=function(){var ne=Be.props.onBlur;Be.setState({focused:!1}),Be.onActiveChange(null),ne&&ne.apply(void 0,arguments)},Be.getTreeNodeRequiredProps=function(){var ne=Be.state,G=ne.expandedKeys,Pe=ne.selectedKeys,Ne=ne.loadedKeys,q=ne.loadingKeys,ht=ne.checkedKeys,Pt=ne.halfCheckedKeys,ct=ne.dragOverNodeKey,Gt=ne.dropPosition,or=ne.keyEntities;return{expandedKeys:G||[],selectedKeys:Pe||[],loadedKeys:Ne||[],loadingKeys:q||[],checkedKeys:ht||[],halfCheckedKeys:Pt||[],dragOverNodeKey:ct,dropPosition:Gt,keyEntities:or}},Be.setExpandedKeys=function(ne){var G=Be.state.treeData,Pe=Object(h.d)(G,ne);Be.setUncontrolledState({expandedKeys:ne,flattenNodes:Pe},!0)},Be.onNodeExpand=function(ne,G){var Pe=Be.state.expandedKeys,Ne=Be.state.listChanging,q=Be.props,ht=q.onExpand,Pt=q.loadData,ct=G.key,Gt=G.expanded;if(Ne)return;var or=Pe.indexOf(ct),Zr=!Gt;if(Object(s.a)(Gt&&or!==-1||!Gt&&or===-1,"Expand state not sync with index check"),Zr?Pe=Object(u.a)(Pe,ct):Pe=Object(u.b)(Pe,ct),Be.setExpandedKeys(Pe),ht&&ht(Pe,{node:G,expanded:Zr,nativeEvent:ne.nativeEvent}),Zr&&Pt){var ir=Be.onNodeLoad(G);ir&&ir.then(function(){var dr=Object(h.d)(Be.state.treeData,Pe);Be.setUncontrolledState({flattenNodes:dr})})}},Be.onListChangeStart=function(){Be.setUncontrolledState({listChanging:!0})},Be.onListChangeEnd=function(){setTimeout(function(){Be.setUncontrolledState({listChanging:!1})})},Be.onActiveChange=function(ne){var G=Be.state.activeKey,Pe=Be.props.onActiveChange;if(G===ne)return;Be.setState({activeKey:ne}),ne!==null&&Be.scrollTo({key:ne}),Pe&&Pe(ne)},Be.getActiveItem=function(){var ne=Be.state,G=ne.activeKey,Pe=ne.flattenNodes;return G===null?null:Pe.find(function(Ne){var q=Ne.data.key;return q===G})||null},Be.offsetActiveKey=function(ne){var G=Be.state,Pe=G.flattenNodes,Ne=G.activeKey,q=Pe.findIndex(function(ct){var Gt=ct.data.key;return Gt===Ne});q===-1&&ne<0&&(q=Pe.length),q=(q+ne+Pe.length)%Pe.length;var ht=Pe[q];if(ht){var Pt=ht.data.key;Be.onActiveChange(Pt)}else Be.onActiveChange(null)},Be.onKeyDown=function(ne){var G=Be.state,Pe=G.activeKey,Ne=G.expandedKeys,q=G.checkedKeys,ht=Be.props,Pt=ht.onKeyDown,ct=ht.checkable,Gt=ht.selectable;switch(ne.which){case e.a.UP:{Be.offsetActiveKey(-1),ne.preventDefault();break}case e.a.DOWN:{Be.offsetActiveKey(1),ne.preventDefault();break}}var or=Be.getActiveItem();if(or&&or.data){var Zr=Be.getTreeNodeRequiredProps(),ir=or.data.isLeaf===!1||!!(or.data.children||[]).length,dr=Object(h.b)(Object(f.a)(Object(f.a)({},Object(h.f)(Pe,Zr)),{},{data:or.data,active:!0}));switch(ne.which){case e.a.LEFT:{ir&&Ne.includes(Pe)?Be.onNodeExpand({},dr):or.parent&&Be.onActiveChange(or.parent.data.key),ne.preventDefault();break}case e.a.RIGHT:{ir&&!Ne.includes(Pe)?Be.onNodeExpand({},dr):or.children&&or.children.length&&Be.onActiveChange(or.children[0].data.key),ne.preventDefault();break}case e.a.ENTER:case e.a.SPACE:{ct&&!dr.disabled&&dr.checkable!==!1&&!dr.disableCheckbox?Be.onNodeCheck({},dr,!q.includes(Pe)):!ct&&Gt&&!dr.disabled&&dr.selectable!==!1&&Be.onNodeSelect({},dr);break}}}Pt&&Pt(ne)},Be.setUncontrolledState=function(ne){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Be.destroyed)return;var Ne=!1,q=!0,ht={};Object.keys(ne).forEach(function(Pt){if(Pt in Be.props){q=!1;return}Ne=!0,ht[Pt]=ne[Pt]}),Ne&&(!G||q)&&Be.setState(Object(f.a)(Object(f.a)({},ht),Pe))},Be.scrollTo=function(ne){Be.listRef.current.scrollTo(ne)},Be}return Object(r.a)(Nt,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var ne,G=this.state,Pe=G.focused,Ne=G.flattenNodes,q=G.keyEntities,ht=G.dragging,Pt=G.activeKey,ct=this.props,Gt=ct.prefixCls,or=ct.className,Zr=ct.style,ir=ct.showLine,dr=ct.focusable,er=ct.tabIndex,Kt=er===void 0?0:er,dt=ct.selectable,Hr=ct.showIcon,fn=ct.icon,Nn=ct.switcherIcon,Vn=ct.draggable,gi=ct.checkable,bn=ct.checkStrictly,Mn=ct.disabled,jt=ct.motion,St=ct.loadData,_e=ct.filterTreeNode,Oe=ct.height,Le=ct.itemHeight,Ze=ct.virtual,nt=ct.titleRender,ft=ct.onContextMenu,Dt=Object(u.f)(this.props);return b.createElement(l.a.Provider,{value:{prefixCls:Gt,selectable:dt,showIcon:Hr,icon:fn,switcherIcon:Nn,draggable:Vn,checkable:gi,checkStrictly:bn,disabled:Mn,keyEntities:q,loadData:St,filterTreeNode:_e,titleRender:nt,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}},b.createElement("div",{className:a()(Gt,or,(ne={},Object(g.a)(ne,"".concat(Gt,"-show-line"),ir),Object(g.a)(ne,"".concat(Gt,"-focused"),Pe),Object(g.a)(ne,"".concat(Gt,"-active-focused"),Pt!==null),ne))},b.createElement(z,Object.assign({ref:this.listRef,prefixCls:Gt,style:Zr,data:Ne,disabled:Mn,selectable:dt,checkable:!!gi,motion:jt,dragging:ht,height:Oe,itemHeight:Le,virtual:Ze,focusable:dr,focused:Pe,tabIndex:Kt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ft},this.getTreeNodeRequiredProps(),Dt))))}}],[{key:"getDerivedStateFromProps",value:function(ne,G){var Pe=G.prevProps,Ne={prevProps:ne};function q(fn){return!Pe&&fn in ne||Pe&&Pe[fn]!==ne[fn]}var ht;if(q("treeData")?ht=ne.treeData:q("children")&&(Object(s.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ht=Object(h.c)(ne.children)),ht){Ne.treeData=ht;var Pt=Object(h.a)(ht);Ne.keyEntities=Object(f.a)(Object(g.a)({},D,B),Pt.keyEntities)}var ct=Ne.keyEntities||G.keyEntities;if(q("expandedKeys")||Pe&&q("autoExpandParent"))Ne.expandedKeys=ne.autoExpandParent||!Pe&&ne.defaultExpandParent?Object(u.e)(ne.expandedKeys,ct):ne.expandedKeys;else if(!Pe&&ne.defaultExpandAll){var Gt=Object(f.a)({},ct);delete Gt[D],Ne.expandedKeys=Object.keys(Gt).map(function(fn){return Gt[fn].key})}else!Pe&&ne.defaultExpandedKeys&&(Ne.expandedKeys=ne.autoExpandParent||ne.defaultExpandParent?Object(u.e)(ne.defaultExpandedKeys,ct):ne.defaultExpandedKeys);if(Ne.expandedKeys||delete Ne.expandedKeys,ht||Ne.expandedKeys){var or=Object(h.d)(ht||G.treeData,Ne.expandedKeys||G.expandedKeys);Ne.flattenNodes=or}if(ne.selectable&&(q("selectedKeys")?Ne.selectedKeys=Object(u.d)(ne.selectedKeys,ne):!Pe&&ne.defaultSelectedKeys&&(Ne.selectedKeys=Object(u.d)(ne.defaultSelectedKeys,ne))),ne.checkable){var Zr;if(q("checkedKeys")?Zr=Object(u.j)(ne.checkedKeys)||{}:!Pe&&ne.defaultCheckedKeys?Zr=Object(u.j)(ne.defaultCheckedKeys)||{}:ht&&(Zr=Object(u.j)(ne.checkedKeys)||{checkedKeys:G.checkedKeys,halfCheckedKeys:G.halfCheckedKeys}),Zr){var ir=Zr,dr=ir.checkedKeys,er=dr===void 0?[]:dr,Kt=ir.halfCheckedKeys,dt=Kt===void 0?[]:Kt;if(!ne.checkStrictly){var Hr=Object(J.a)(er,!0,ct);er=Hr.checkedKeys,dt=Hr.halfCheckedKeys}Ne.checkedKeys=er,Ne.halfCheckedKeys=dt}}return q("loadedKeys")&&(Ne.loadedKeys=ne.loadedKeys),Ne}}]),Nt}(b.Component);$.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:[]},$.TreeNode=E.a;var ce=$,ae=ce,Ae=d("RIqP"),Ie=d.n(Ae),De=d("J4zp"),Ke=d.n(De),me=d("sEfC"),Ue=d.n(me),oe=d("vk+C"),te=d.n(oe),Qe=d("Vy0f"),se=d.n(Qe),Y=d("kGiB"),X=d.n(Y),Q=d("H84U"),ge;(function(Tt){Tt[Tt.None=0]="None",Tt[Tt.Start=1]="Start",Tt[Tt.End=2]="End"})(ge||(ge={}));function de(Tt,Ot){function Nt(Be){var ne=Be.key,G=Be.children;Ot(ne,Be)!==!1&&de(G||[],Ot)}Tt.forEach(Nt)}function Te(Tt){var Ot=Tt.treeData,Nt=Tt.expandedKeys,Be=Tt.startKey,ne=Tt.endKey,G=[],Pe=ge.None;if(Be&&Be===ne)return[Be];if(!Be||!ne)return[];function Ne(q){return q===Be||q===ne}return de(Ot,function(q){if(Pe===ge.End)return!1;if(Ne(q)){if(G.push(q),Pe===ge.None)Pe=ge.Start;else if(Pe===ge.Start)return Pe=ge.End,!1}else Pe===ge.Start&&G.push(q);return!(Nt.indexOf(q)===-1)}),G}function xe(Tt,Ot){var Nt=Ie()(Ot),Be=[];return de(Tt,function(ne,G){var Pe=Nt.indexOf(ne);return Pe!==-1&&(Be.push(G),Nt.splice(Pe,1)),!!Nt.length}),Be}var le=function(Tt,Ot){var Nt={};for(var Be in Tt)Object.prototype.hasOwnProperty.call(Tt,Be)&&Ot.indexOf(Be)<0&&(Nt[Be]=Tt[Be]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,Be=Object.getOwnPropertySymbols(Tt);ne=0&&this._clips.splice(r,1)},removeAnimator:function(o){for(var r=o.getClips(),i=0;i> Display.constructor"),this._target=s,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},x.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),x.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return i(e,[{key:"viewportChangePos",value:function(t,a){var l=this._viewportLoc;t=Math.floor(t),a=Math.floor(a),this._clipViewport||(t=-l.w,a=-l.h);var u=l.x+l.w-1,h=l.y+l.h-1;if(t<0&&l.x+t<0&&(t=-l.x),u+t>=this._fbWidth&&(t-=u+t-this._fbWidth+1),l.y+a<0&&(a=-l.y),h+a>=this._fbHeight&&(a-=h+a-this._fbHeight+1),t===0&&a===0)return;x.Debug("viewportChange deltaX: "+t+", deltaY: "+a),l.x+=t,l.y+=a,this._damage(l.x,l.y,l.w,l.h),this.flip()}},{key:"viewportChangeSize",value:function(t,a){(!this._clipViewport||typeof t=="undefined"||typeof a=="undefined")&&(x.Debug("Setting viewport to full display region"),t=this._fbWidth,a=this._fbHeight),t=Math.floor(t),a=Math.floor(a),t>this._fbWidth&&(t=this._fbWidth),a>this._fbHeight&&(a=this._fbHeight);var l=this._viewportLoc;if(l.w!==t||l.h!==a){l.w=t,l.h=a;var u=this._target;u.width=t,u.height=a,this.viewportChangePos(0,0),this._damage(l.x,l.y,l.w,l.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(t){return this._scale===0?0:(0,b.toSigned32bit)(t/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(t){return this._scale===0?0:(0,b.toSigned32bit)(t/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(t,a){this._prevDrawStyle="",this._fbWidth=t,this._fbHeight=a;var l=this._backbuffer;if(l.width!==t||l.height!==a){var u=null;l.width>0&&l.height>0&&(u=this._drawCtx.getImageData(0,0,l.width,l.height)),l.width!==t&&(l.width=t),l.height!==a&&(l.height=a),u&&this._drawCtx.putImageData(u,0,0)}var h=this._viewportLoc;this.viewportChangeSize(h.w,h.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(t,a,l,u){tthis._damageBounds.right&&(this._damageBounds.right=t+l),a+u>this._damageBounds.bottom&&(this._damageBounds.bottom=a+u)}},{key:"flip",value:function(t){if(this._renderQ.length!==0&&!t)this._renderQPush({type:"flip"});else{var a=this._damageBounds.left,l=this._damageBounds.top,u=this._damageBounds.right-a,h=this._damageBounds.bottom-l,p=a-this._viewportLoc.x,m=l-this._viewportLoc.y;p<0&&(u+=p,a-=p,p=0),m<0&&(h+=m,l-=m,m=0),p+u>this._viewportLoc.w&&(u=this._viewportLoc.w-p),m+h>this._viewportLoc.h&&(h=this._viewportLoc.h-m),u>0&&h>0&&this._targetCtx.drawImage(this._backbuffer,a,l,u,h,p,m,u,h),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(t,a,l,u,h,p){this._renderQ.length!==0&&!p?this._renderQPush({type:"fill",x:t,y:a,width:l,height:u,color:h}):(this._setFillColor(h),this._drawCtx.fillRect(t,a,l,u),this._damage(t,a,l,u))}},{key:"copyImage",value:function(t,a,l,u,h,p,m){this._renderQ.length!==0&&!m?this._renderQPush({type:"copy",oldX:t,oldY:a,x:l,y:u,width:h,height:p}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,t,a,h,p,l,u,h,p),this._damage(l,u,h,p))}},{key:"imageRect",value:function(t,a,l,u,h,p){if(l===0||u===0)return;var m=new Image;m.src="data: "+h+";base64,"+C.default.encode(p),this._renderQPush({type:"img",img:m,x:t,y:a,width:l,height:u})}},{key:"startTile",value:function(t,a,l,u,h){this._tileX=t,this._tileY=a,l===16&&u===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(l,u);for(var p=h[2],m=h[1],v=h[0],y=this._tile.data,E=0;E=h?l=t/u.w:l=a/u.h}this._rescale(l)}},{key:"_rescale",value:function(t){this._scale=t;var a=this._viewportLoc,l=t*a.w+"px",u=t*a.h+"px";(this._target.style.width!==l||this._target.style.height!==u)&&(this._target.style.width=l,this._target.style.height=u)}},{key:"_setFillColor",value:function(t){var a="rgb("+t[2]+","+t[1]+","+t[0]+")";a!==this._prevDrawStyle&&(this._drawCtx.fillStyle=a,this._prevDrawStyle=a)}},{key:"_rgbImageData",value:function(t,a,l,u,h,p){for(var m=this._drawCtx.createImageData(l,u),v=m.data,y=0,E=p;y0;){var a=this._renderQ[0];switch(a.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(a.oldX,a.oldY,a.x,a.y,a.width,a.height,!0);break;case"fill":this.fillRect(a.x,a.y,a.width,a.height,a.color,!0);break;case"blit":this.blitImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"blitRgb":this.blitRgbImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"img":if(a.img.complete&&a.img.width!==0&&a.img.height!==0){if(a.img.width!==a.width||a.img.height!==a.height){x.Error("Decoded image has incorrect dimensions. Got "+a.img.width+"x"+a.img.height+". Expected "+a.width+"x"+a.height+".");return}this.drawImage(a.img,a.x,a.y)}else a.img._noVNCDisplay=this,a.img.addEventListener("load",this._resumeRenderQ),t=!1;break}t&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(t){this._rescale(t)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(t){this._clipViewport=t;var a=this._viewportLoc;this.viewportChangeSize(a.w,a.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),e}();P.default=n},Mdki:function(H,P,d){var O=d("bYtY"),x=O.each,C="\0__link_datas",A="\0__link_mainData";function b(s){var t=s.mainData,a=s.datas;a||(a={main:t},s.datasAttr={main:"data"}),s.datas=s.mainData=null,i(t,a,s),x(a,function(l){x(t.TRANSFERABLE_METHODS,function(u){l.wrapMethod(u,O.curry(g,s))})}),t.wrapMethod("cloneShallow",O.curry(c,s)),x(t.CHANGABLE_METHODS,function(l){t.wrapMethod(l,O.curry(f,s))}),O.assert(a[t.dataType]===t)}function g(s,t){if(r(this)){var a=O.extend({},this[C]);a[this.dataType]=t,i(t,a,s)}else n(t,this.dataType,this[A],s);return t}function f(s,t){return s.struct&&s.struct.update(this),t}function c(s,t){return x(t[C],function(a,l){a!==t&&n(a.cloneShallow(),l,t,s)}),t}function o(s){var t=this[A];return s==null||t==null?t:t[C][s]}function r(s){return s[A]===s}function i(s,t,a){s[C]={},x(t,function(l,u){n(l,u,s,a)})}function n(s,t,a,l){a[C][t]=s,s[A]=a,s.dataType=t,l.struct&&(s[l.structAttr]=l.struct,l.struct[l.datasAttr[t]]=s),s.getLinkedData=o}var e=b;H.exports=e},Mds0:function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("8IMR")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="StarFilled";var c=A.forwardRef(f);P.default=c},Mgri:function(H,P,d){for(var O=d("bYtY"),x=d("8nly"),C=[126,25],A=[[[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]]],b=0;b=0;t--)s+=this._rQ[this._rQi++]<1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+e,s-e)}},{key:"rQwait",value:function(e,s,t){if(this.rQlen0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(e){this._sQ.set(e,this._sQlen),this._sQlen+=e.length,this.flush()}},{key:"sendString",value:function(e){this.send(e.split("").map(function(s){return s.charCodeAt(0)}))}},{key:"off",value:function(e){this._eventHandlers[e]=function(){}}},{key:"on",value:function(e,s){this._eventHandlers[e]=s}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(e,s){var t=this;this.init(),this._websocket=new WebSocket(e,s),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){x.Debug(">> WebSock.onopen"),t._websocket.protocol&&x.Info("Server choose sub-protocol: "+t._websocket.protocol),t._eventHandlers.open(),x.Debug("<< WebSock.onopen")},this._websocket.onclose=function(a){x.Debug(">> WebSock.onclose"),t._eventHandlers.close(a),x.Debug("<< WebSock.onclose")},this._websocket.onerror=function(a){x.Debug(">> WebSock.onerror: "+a),t._eventHandlers.error(a),x.Debug("<< WebSock.onerror: "+a)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(x.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(e){var s=(this._rQlen-this._rQi+e)*8,t=this._rQbufferSizeo&&(this._rQbufferSize=o,this._rQbufferSize-this.rQlenthis._rQbufferSize-this._rQlen&&this._expandCompactRQ(s.length),this._rQ.set(s,this._rQlen),this._rQlen+=s.length}},{key:"_recvMessage",value:function(e){this._DecodeMessage(e.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):x.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(e){this._rQi=e}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),i}();P.default=r},MqEG:function(H,P,d){var O=d("bYtY"),x=d("fc+c"),C=d("72pK"),A=d("VXYp"),b=O.bind,g=x.extend({type:"dataZoom.inside",init:function(i,n){this._range},render:function(i,n,e,s){g.superApply(this,"render",arguments),this._range=i.getPercentRange(),O.each(this.getTargetCoordInfo(),function(t,a){var l=O.map(t,function(u){return A.generateCoordId(u.model)});O.each(t,function(u){var h=u.model,p={};O.each(["pan","zoom","scrollMove"],function(m){p[m]=b(f[m],this,u,a)},this),A.register(e,{coordId:A.generateCoordId(h),allCoordIds:l,containsPoint:function(m,v,y){return h.coordinateSystem.containPoint([v,y])},dataZoomId:i.id,dataZoomModel:i,getRange:p})},this)},this)},dispose:function(){A.unregister(this.api,this.dataZoomModel.id),g.superApply(this,"dispose",arguments),this._range=null}}),f={zoom:function(i,n,e,s){var t=this._range,a=t.slice(),l=i.axisModels[0];if(!l)return;var u=o[n](null,[s.originX,s.originY],l,e,i),h=(u.signal>0?u.pixelStart+u.pixelLength-u.pixel:u.pixel-u.pixelStart)/u.pixelLength*(a[1]-a[0])+a[0],p=Math.max(1/s.scale,0);a[0]=(a[0]-h)*p+h,a[1]=(a[1]-h)*p+h;var m=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(C(0,a,[0,100],0,m.minSpan,m.maxSpan),this._range=a,t[0]!==a[0]||t[1]!==a[1])return a},pan:c(function(i,n,e,s,t,a){var l=o[s]([a.oldX,a.oldY],[a.newX,a.newY],n,t,e);return l.signal*(i[1]-i[0])*l.pixel/l.pixelLength}),scrollMove:c(function(i,n,e,s,t,a){var l=o[s]([0,0],[a.scrollDelta,a.scrollDelta],n,t,e);return l.signal*(i[1]-i[0])*a.scrollDelta})};function c(i){return function(n,e,s,t){var a=this._range,l=a.slice(),u=n.axisModels[0];if(!u)return;var h=i(l,u,n,e,s,t);if(C(h,l,[0,100],"all"),this._range=l,a[0]!==l[0]||a[1]!==l[1])return l}}var o={grid:function(i,n,e,s,t){var a=e.axis,l={},u=t.model.coordinateSystem.getRect();return i=i||[0,0],a.dim==="x"?(l.pixel=n[0]-i[0],l.pixelLength=u.width,l.pixelStart=u.x,l.signal=a.inverse?1:-1):(l.pixel=n[1]-i[1],l.pixelLength=u.height,l.pixelStart=u.y,l.signal=a.inverse?-1:1),l},polar:function(i,n,e,s,t){var a=e.axis,l={},u=t.model.coordinateSystem,h=u.getRadiusAxis().getExtent(),p=u.getAngleAxis().getExtent();return i=i?u.pointToCoord(i):[0,0],n=u.pointToCoord(n),e.mainType==="radiusAxis"?(l.pixel=n[0]-i[0],l.pixelLength=h[1]-h[0],l.pixelStart=h[0],l.signal=a.inverse?1:-1):(l.pixel=n[1]-i[1],l.pixelLength=p[1]-p[0],l.pixelStart=p[0],l.signal=a.inverse?-1:1),l},singleAxis:function(i,n,e,s,t){var a=e.axis,l=t.model.coordinateSystem.getRect(),u={};return i=i||[0,0],a.orient==="horizontal"?(u.pixel=n[0]-i[0],u.pixelLength=l.width,u.pixelStart=l.x,u.signal=a.inverse?1:-1):(u.pixel=n[1]-i[1],u.pixelLength=l.height,u.pixelStart=l.y,u.signal=a.inverse?-1:1),u}},r=g;H.exports=r},MwEJ:function(H,P,d){var O=d("bYtY"),x=d("YXkt"),C=d("sdST"),A=d("k9D9"),b=A.SOURCE_FORMAT_ORIGINAL,g=d("L0Ub"),f=g.getDimensionTypeByAxis,c=d("4NO4"),o=c.getDataItemValue,r=d("IDmD"),i=d("i38C"),n=i.getCoordSysInfoBySeries,e=d("7G+c"),s=d("7hqr"),t=s.enableDataStack,a=d("D5nY"),l=a.makeSeriesEncodeForAxisCoordSys;function u(v,y,E){E=E||{},e.isInstance(v)||(v=e.seriesDataToSource(v));var T=y.get("coordinateSystem"),w=r.get(T),S=n(y),_;S&&(_=O.map(S.coordSysDims,function(M){var U={name:M},F=S.axisMap.get(M);if(F){var j=F.get("type");U.type=f(j)}return U})),_||(_=w&&(w.getDimensionsInfo?w.getDimensionsInfo():w.dimensions.slice())||["x","y"]);var I=C(v,{coordDimensions:_,generateCoord:E.generateCoord,encodeDefaulter:E.useEncodeDefaulter?O.curry(l,_,y):null}),L,N;S&&O.each(I,function(M,U){var F=M.coordDim,j=S.categoryAxisMap.get(F);j&&(L==null&&(L=U),M.ordinalMeta=j.getOrdinalMeta()),M.otherDims.itemName!=null&&(N=!0)}),!N&&L!=null&&(I[L].otherDims.itemName=0);var D=t(y,I),R=new x(I,y);R.setCalculationInfo(D);var B=L!=null&&h(v)?function(M,U,F,j){return j===L?F:this.defaultDimValueGetter(M,U,F,j)}:null;return R.hasItemOption=!1,R.initData(v,null,B),R}function h(v){if(v.sourceFormat===b){var y=p(v.data||[]);return y!=null&&!O.isArray(o(y))}}function p(v){for(var y=0;y0?1:Ke<0?-1:0}function l(W,V){return W.toGlobalCoord(W.dataToCoord(W.scale.parse(V)))}function u(W,V,z,J,$,ce,ae,Ae,Ie,De){var Ke=Ie.valueDim,me=Ie.categoryDim,Ue=Math.abs(z[me.wh]),oe=W.getItemVisual(V,"symbolSize");x.isArray(oe)?oe=oe.slice():(oe==null&&(oe="100%"),oe=[oe,oe]),oe[me.index]=f(oe[me.index],Ue),oe[Ke.index]=f(oe[Ke.index],J?Ue:Math.abs(ce)),De.symbolSize=oe;var te=De.symbolScale=[oe[0]/Ae,oe[1]/Ae];te[Ke.index]*=(Ie.isHorizontal?-1:1)*ae}function h(W,V,z,J,$){var ce=W.get(i)||0;ce&&(e.attr({scale:V.slice(),rotation:z}),e.updateTransform(),ce/=e.getLineScale(),ce*=V[J.valueDim.index]),$.valueLineWidth=ce}function p(W,V,z,J,$,ce,ae,Ae,Ie,De,Ke,me){var Ue=Ke.categoryDim,oe=Ke.valueDim,te=me.pxSign,Qe=Math.max(V[oe.index]+Ae,0),se=Qe;if(J){var Y=Math.abs(Ie),X=x.retrieve(W.get("symbolMargin"),"15%")+"",Q=!1;X.lastIndexOf("!")===X.length-1&&(Q=!0,X=X.slice(0,X.length-1)),X=f(X,V[oe.index]);var ge=Math.max(Qe+X*2,0),de=Q?0:X*2,Te=c(J),xe=Te?J:F((Y+de)/ge),le=Y-xe*Qe;X=le/2/(Q?xe:xe-1),ge=Qe+X*2,de=Q?0:X*2,!Te&&J!=="fixed"&&(xe=De?F((Math.abs(De)+de)/ge):0),se=xe*ge-de,me.repeatTimes=xe,me.symbolMargin=X}var fe=te*(se/2),Ee=me.pathPosition=[];Ee[Ue.index]=z[Ue.wh]/2,Ee[oe.index]=ae==="start"?fe:ae==="end"?Ie-fe:Ie/2,ce&&(Ee[0]+=ce[0],Ee[1]+=ce[1]);var Ge=me.bundlePosition=[];Ge[Ue.index]=z[Ue.xy],Ge[oe.index]=z[oe.xy];var lt=me.barRectShape=x.extend({},z);lt[oe.wh]=te*Math.max(Math.abs(z[oe.wh]),Math.abs(Ee[oe.index]+fe)),lt[Ue.wh]=z[Ue.wh];var Je=me.clipShape={};Je[Ue.xy]=-z[Ue.xy],Je[Ue.wh]=Ke.ecSize[Ue.wh],Je[oe.xy]=0,Je[oe.wh]=z[oe.wh]}function m(W){var V=W.symbolPatternSize,z=b(W.symbolType,-V/2,-V/2,V,V,W.color);return z.attr({culling:!0}),z.type!=="image"&&z.setStyle({strokeNoScale:!0}),z}function v(W,V,z,J){var $=W.__pictorialBundle,ce=z.symbolSize,ae=z.valueLineWidth,Ae=z.pathPosition,Ie=V.valueDim,De=z.repeatTimes||0,Ke=0,me=ce[V.valueDim.index]+ae+z.symbolMargin*2;for(B(W,function(Y){Y.__pictorialAnimationIndex=Ke,Y.__pictorialRepeatTimes=De,Ke0:Q<0)&&(ge=De-1-Y),X[Ie.index]=me*(ge-De/2+.5)+Ae[Ie.index],{position:X,scale:z.symbolScale.slice(),rotation:z.rotation}}function Qe(){B(W,function(Y){Y.trigger("emphasis")})}function se(){B(W,function(Y){Y.trigger("normal")})}}function y(W,V,z,J){var $=W.__pictorialBundle,ce=W.__pictorialMainPath;ce?M(ce,null,{position:z.pathPosition.slice(),scale:z.symbolScale.slice(),rotation:z.rotation},z,J):(ce=W.__pictorialMainPath=m(z),$.add(ce),M(ce,{position:z.pathPosition.slice(),scale:[0,0],rotation:z.rotation},{scale:z.symbolScale.slice()},z,J),ce.on("mouseover",ae).on("mouseout",Ae)),I(ce,z);function ae(){this.trigger("emphasis")}function Ae(){this.trigger("normal")}}function E(W,V,z){var J=x.extend({},V.barRectShape),$=W.__pictorialBarRect;$?M($,null,{shape:J},V,z):($=W.__pictorialBarRect=new C.Rect({z2:2,shape:J,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),W.add($))}function T(W,V,z,J){if(z.symbolClip){var $=W.__pictorialClipPath,ce=x.extend({},z.clipShape),ae=V.valueDim,Ae=z.animationModel,Ie=z.dataIndex;if($)C.updateProps($,{shape:ce},Ae,Ie);else{ce[ae.wh]=0,$=new C.Rect({shape:ce}),W.__pictorialBundle.setClipPath($),W.__pictorialClipPath=$;var De={};De[ae.wh]=z.clipShape[ae.wh],C[J?"updateProps":"initProps"]($,{shape:De},Ae,Ie)}}}function w(W,V){var z=W.getItemModel(V);return z.getAnimationDelayParams=S,z.isAnimationEnabled=_,z}function S(W){return{index:W.__pictorialAnimationIndex,count:W.__pictorialRepeatTimes}}function _(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function I(W,V){W.off("emphasis").off("normal");var z=V.symbolScale.slice();V.hoverAnimation&&W.on("emphasis",function(){this.animateTo({scale:[z[0]*1.1,z[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:z.slice()},400,"elasticOut")})}function L(W,V,z,J){var $=new C.Group,ce=new C.Group;return $.add(ce),$.__pictorialBundle=ce,ce.attr("position",z.bundlePosition.slice()),z.symbolRepeat?v($,V,z):y($,V,z),E($,z,J),T($,V,z,J),$.__pictorialShapeStr=R(W,z),$.__pictorialSymbolMeta=z,$}function N(W,V,z){var J=z.animationModel,$=z.dataIndex,ce=W.__pictorialBundle;C.updateProps(ce,{position:z.bundlePosition.slice()},J,$),z.symbolRepeat?v(W,V,z,!0):y(W,V,z,!0),E(W,z,!0),T(W,V,z,!0)}function D(W,V,z,J){var $=J.__pictorialBarRect;$&&($.style.text=null);var ce=[];B(J,function(ae){ce.push(ae)}),J.__pictorialMainPath&&ce.push(J.__pictorialMainPath),J.__pictorialClipPath&&(z=null),x.each(ce,function(ae){C.updateProps(ae,{scale:[0,0]},z,V,function(){J.parent&&J.parent.remove(J)})}),W.setItemGraphicEl(V,null)}function R(W,V){return[W.getItemVisual(V.dataIndex,"symbol")||"none",!!V.symbolRepeat,!!V.symbolClip].join(":")}function B(W,V,z){x.each(W.__pictorialBundle.children(),function(J){J!==W.__pictorialBarRect&&V.call(z,J)})}function M(W,V,z,J,$,ce){V&&W.attr(V),J.symbolClip&&!$?z&&W.attr(z):z&&C[$?"updateProps":"initProps"](W,z,J.animationModel,J.dataIndex,ce)}function U(W,V,z){var J=z.color,$=z.dataIndex,ce=z.itemModel,ae=ce.getModel("itemStyle").getItemStyle(["color"]),Ae=ce.getModel("emphasis.itemStyle").getItemStyle(),Ie=ce.getShallow("cursor");B(W,function(Ue){Ue.setColor(J),Ue.setStyle(x.defaults({fill:J,opacity:z.opacity},ae)),C.setHoverStyle(Ue,Ae),Ie&&(Ue.cursor=Ie),Ue.z2=z.z2});var De={},Ke=V.valueDim.posDesc[+(z.boundingLength>0)],me=W.__pictorialBarRect;r(me.style,De,ce,J,V.seriesModel,$,Ke),C.setHoverStyle(me,De)}function F(W){var V=Math.round(W);return Math.abs(W-V)<1e-4?V:Math.ceil(W)}var j=s;H.exports=j},"N/zr":function(H,P,d){"use strict";function O(g){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(c){return typeof c}:O=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},O(g)}Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var x=A(d("Lo0S"));function C(){if(typeof WeakMap!="function")return null;var g=new WeakMap;return C=function(){return g},g}function A(g){if(g&&g.__esModule)return g;if(g===null||O(g)!=="object"&&typeof g!="function")return{default:g};var f=C();if(f&&f.has(g))return f.get(g);var c={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in g)if(Object.prototype.hasOwnProperty.call(g,r)){var i=o?Object.getOwnPropertyDescriptor(g,r):null;i&&(i.get||i.set)?Object.defineProperty(c,r,i):c[r]=g[r]}return c.default=g,f&&f.set(g,c),c}var b={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(f){"use strict";for(var c="",o=f.length,r=o%3,i=0;i>2],c+=this.toBase64Table[((f[i]&3)<<4)+(f[i+1]>>4)],c+=this.toBase64Table[((f[i+1]&15)<<2)+(f[i+2]>>6)],c+=this.toBase64Table[f[i+2]&63];var n=o-r;return r===2?(c+=this.toBase64Table[f[n]>>2],c+=this.toBase64Table[((f[n]&3)<<4)+(f[n+1]>>4)],c+=this.toBase64Table[(f[n+1]&15)<<2],c+=this.toBase64Table[64]):r===1&&(c+=this.toBase64Table[f[n]>>2],c+=this.toBase64Table[(f[n]&3)<<4],c+=this.toBase64Table[64],c+=this.toBase64Table[64]),c},toBinaryTable:[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],decode:function(f){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=f.indexOf("=")-c;o<0&&(o=f.length-c);for(var r=(o>>2)*3+Math.floor(o%4/1.5),i=new Array(r),n=0,e=0,s=0,t=c;t=8&&(n-=8,l||(i[s++]=e>>n&255),e&=(1<0){s.virtualPiece?s.virtualPiece.updateData(!1,_,"normal",r,i):(s.virtualPiece=new C(_,r,i),u.add(s.virtualPiece)),I.piece._onclickEvent&&I.piece.off("click",I.piece._onclickEvent);var L=function(N){s._rootToNode(I.parentNode)};I.piece._onclickEvent=L,s.virtualPiece.on("click",L)}else s.virtualPiece&&(u.remove(s.virtualPiece),s.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var r=this,i=function(n){var e=!1,s=r.seriesModel.getViewRoot();s.eachNode(function(t){if(!e&&t.piece&&t.piece.childAt(0)===n.target){var a=t.getModel().get("nodeClick");if(a==="rootToNode")r._rootToNode(t);else if(a==="link"){var l=t.getModel(),u=l.get("link");if(u){var h=l.get("target",!0)||"_blank";g(u,h)}}e=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",i),this.group._onclickEvent=i},_rootToNode:function(r){r!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:f,from:this.uid,seriesId:this.seriesModel.id,targetNode:r})},containPoint:function(r,i){var n=i.getData(),e=n.getItemLayout(0);if(e){var s=r[0]-e.cx,t=r[1]-e.cy,a=Math.sqrt(s*s+t*t);return a<=e.r&&a>=e.r0}}}),o=c;H.exports=o},NAnI:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("wXyp"));function x(A){return A&&A.__esModule?A:{default:A}}var C=O;P.default=C,H.exports=C},NBmB:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.encodingName=x,P.encodings=void 0;var O={encodingRaw:0,encodingCopyRect:1,encodingRRE:2,encodingHextile:5,encodingTight:7,encodingTightPNG:-260,pseudoEncodingQualityLevel9:-23,pseudoEncodingQualityLevel0:-32,pseudoEncodingDesktopSize:-223,pseudoEncodingLastRect:-224,pseudoEncodingCursor:-239,pseudoEncodingQEMUExtendedKeyEvent:-258,pseudoEncodingDesktopName:-307,pseudoEncodingExtendedDesktopSize:-308,pseudoEncodingXvp:-309,pseudoEncodingFence:-312,pseudoEncodingContinuousUpdates:-313,pseudoEncodingCompressLevel9:-247,pseudoEncodingCompressLevel0:-256,pseudoEncodingVMwareCursor:1464686180,pseudoEncodingExtendedClipboard:3231835598};P.encodings=O;function x(C){switch(C){case O.encodingRaw:return"Raw";case O.encodingCopyRect:return"CopyRect";case O.encodingRRE:return"RRE";case O.encodingHextile:return"Hextile";case O.encodingTight:return"Tight";case O.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+C+"]"}}},NC18:function(H,P,d){var O=d("y+Vt"),x=d("IMiH"),C=d("7oTu"),A=Math.sqrt,b=Math.sin,g=Math.cos,f=Math.PI,c=function(p){return Math.sqrt(p[0]*p[0]+p[1]*p[1])},o=function(p,m){return(p[0]*m[0]+p[1]*m[1])/(c(p)*c(m))},r=function(p,m){return(p[0]*m[1]1&&(T*=A(R),w*=A(R));var B=(y===E?-1:1)*A((T*T*(w*w)-T*T*(D*D)-w*w*(N*N))/(T*T*(D*D)+w*w*(N*N)))||0,M=B*T*D/w,U=B*-w*N/T,F=(h+m)/2+g(L)*M-b(L)*U,j=(p+v)/2+b(L)*M+g(L)*U,W=r([1,0],[(N-M)/T,(D-U)/w]),V=[(N-M)/T,(D-U)/w],z=[(-1*N-M)/T,(-1*D-U)/w],J=r(V,z);o(V,z)<=-1&&(J=f),o(V,z)>=1&&(J=0),E===0&&J>0&&(J=J-2*f),E===1&&J<0&&(J=J+2*f),I.addData(_,F,j,T,w,W,J,L,E)}var n=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,e=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function s(h){if(!h)return new x;for(var p=0,m=0,v=p,y=m,E,T=new x,w=x.CMD,S=h.match(n),_=0;_=0||E==="+"?"left":"right"},_={horizontal:E>=0||E==="+"?"top":"bottom",vertical:"middle"},I={horizontal:0,vertical:a/2},L=T==="vertical"?w.height:w.width,N=v.getModel("controlStyle"),D=N.get("show",!0),R=D?N.get("itemSize"):0,B=D?N.get("itemGap"):0,M=R+B,U=v.get("label.rotate")||0;U=U*a/180;var F,j,W,V,z=N.get("position",!0),J=D&&N.get("showPlayBtn",!0),$=D&&N.get("showPrevBtn",!0),ce=D&&N.get("showNextBtn",!0),ae=0,Ae=L;return z==="left"||z==="bottom"?(J&&(F=[0,0],ae+=M),$&&(j=[ae,0],ae+=M),ce&&(W=[Ae-R,0],Ae-=M)):(J&&(F=[Ae-R,0],Ae-=M),$&&(j=[0,0],ae+=M),ce&&(W=[Ae-R,0],Ae-=M)),V=[ae,Ae],v.get("inverse")&&V.reverse(),{viewRect:w,mainLength:L,orient:T,rotation:I[T],labelRotation:U,labelPosOpt:E,labelAlign:v.get("label.align")||S[T],labelBaseline:v.get("label.verticalAlign")||v.get("label.baseline")||_[T],playPosition:F,prevBtnPosition:j,nextBtnPosition:W,axisExtent:V,controlSize:R,controlGap:B}},_position:function(v,y){var E=this._mainGroup,T=this._labelGroup,w=v.viewRect;if(v.orient==="vertical"){var S=C.create(),_=w.x,I=w.y+w.height;C.translate(S,S,[-_,-I]),C.rotate(S,S,-a/2),C.translate(S,S,[_,I]),w=w.clone(),w.applyTransform(S)}var L=j(w),N=j(E.getBoundingRect()),D=j(T.getBoundingRect()),R=E.position,B=T.position;B[0]=R[0]=L[0][0];var M=v.labelPosOpt;if(isNaN(M)){var U=M==="+"?0:1;W(R,N,L,1,U),W(B,D,L,1,1-U)}else{var U=M>=0?0:1;W(R,N,L,1,U),B[1]=R[1]+M}E.attr("position",R),T.attr("position",B),E.rotation=T.rotation=v.rotation,F(E),F(T);function F(V){var z=V.position;V.origin=[L[0][0]-z[0],L[1][0]-z[1]]}function j(V){return[[V.x,V.x+V.width],[V.y,V.y+V.height]]}function W(V,z,J,$,ce){V[$]+=J[$][ce]-z[$][ce]}},_createAxis:function(v,y){var E=y.getData(),T=y.get("axisType"),w=r.createScaleByModel(y,T);w.getTicks=function(){return E.mapArray(["value"],function(I){return I})};var S=E.getDataExtent("value");w.setExtent(S[0],S[1]),w.niceTicks();var _=new f("value",w,v.axisExtent,T);return _.model=y,_},_createGroup:function(v){var y=this["_"+v]=new A.Group;return this.group.add(y),y},_renderAxisLine:function(v,y,E,T){var w=E.getExtent();if(!T.get("lineStyle.show"))return;y.add(new A.Line({shape:{x1:w[0],y1:0,x2:w[1],y2:0},style:O.extend({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(v,y,E,T){var w=T.getData(),S=E.scale.getTicks();t(S,function(_){var I=E.dataToCoord(_),L=w.getItemModel(_),N=L.getModel("itemStyle"),D=L.getModel("emphasis.itemStyle"),R={position:[I,0],onclick:s(this._changeTimeline,this,_)},B=p(L,N,y,R);A.setHoverStyle(B,D.getItemStyle()),L.get("tooltip")?(B.dataIndex=_,B.dataModel=T):B.dataIndex=B.dataModel=null},this)},_renderAxisLabel:function(v,y,E,T){var w=E.getLabelModel();if(!w.get("show"))return;var S=T.getData(),_=E.getViewLabels();t(_,function(I){var L=I.tickValue,N=S.getItemModel(L),D=N.getModel("label"),R=N.getModel("emphasis.label"),B=E.dataToCoord(I.tickValue),M=new A.Text({position:[B,0],rotation:v.labelRotation-v.rotation,onclick:s(this._changeTimeline,this,L),silent:!1});A.setTextStyle(M.style,D,{text:I.formattedLabel,textAlign:v.labelAlign,textVerticalAlign:v.labelBaseline}),y.add(M),A.setHoverStyle(M,A.setTextStyle({},R))},this)},_renderControl:function(v,y,E,T){var w=v.controlSize,S=v.rotation,_=T.getModel("controlStyle").getItemStyle(),I=T.getModel("emphasis.controlStyle").getItemStyle(),L=[0,-w/2,w,w],N=T.getPlayState(),D=T.get("inverse",!0);R(v.nextBtnPosition,"controlStyle.nextIcon",s(this._changeTimeline,this,D?"-":"+")),R(v.prevBtnPosition,"controlStyle.prevIcon",s(this._changeTimeline,this,D?"+":"-")),R(v.playPosition,"controlStyle."+(N?"stopIcon":"playIcon"),s(this._handlePlayClick,this,!N),!0);function R(B,M,U,F){if(!B)return;var j={position:B,origin:[w/2,0],rotation:F?-S:0,rectHover:!0,style:_,onclick:U},W=h(T,M,L,j);y.add(W),A.setHoverStyle(W,I)}},_renderCurrentPointer:function(v,y,E,T){var w=T.getData(),S=T.getCurrentIndex(),_=w.getItemModel(S).getModel("checkpointStyle"),I=this,L={onCreate:function(N){N.draggable=!0,N.drift=s(I._handlePointerDrag,I),N.ondragend=s(I._handlePointerDragend,I),m(N,S,E,T,!0)},onUpdate:function(N){m(N,S,E,T)}};this._currentPointer=p(_,_,this._mainGroup,{},this._currentPointer,L)},_handlePlayClick:function(v){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:v,from:this.uid})},_handlePointerDrag:function(v,y,E){this._clearTimer(),this._pointerChangeTimeline([E.offsetX,E.offsetY])},_handlePointerDragend:function(v){this._pointerChangeTimeline([v.offsetX,v.offsetY],!0)},_pointerChangeTimeline:function(v,y){var E=this._toAxisCoord(v)[0],T=this._axis,w=i.asc(T.getExtent().slice());E>w[1]&&(E=w[1]),E=0||Qe.relatedTarget.className.indexOf("".concat(Q,"-next"))>=0))return;me.setState({goInputText:""}),X(me.getValidValue())},me.go=function(Qe){var se=me.state.goInputText;if(se==="")return;(Qe.keyCode===u.ENTER||Qe.type==="click")&&(me.setState({goInputText:""}),me.props.quickGo(me.getValidValue()))},me}return Object(i.a)(Ke,[{key:"getValidValue",value:function(){var Ue=this.state,oe=Ue.goInputText,te=Ue.current;return!oe||isNaN(oe)?te:Number(oe)}},{key:"getPageSizeOptions",value:function(){var Ue=this.props,oe=Ue.pageSize,te=Ue.pageSizeOptions;return te.some(function(Qe){return Qe.toString()===oe.toString()})?te:te.concat([oe.toString()]).sort(function(Qe,se){var Y=isNaN(Number(Qe))?0:Number(Qe),X=isNaN(Number(se))?0:Number(se);return Y-X})}},{key:"render",value:function(){var Ue=this,oe=this.props,te=oe.pageSize,Qe=oe.locale,se=oe.rootPrefixCls,Y=oe.changeSize,X=oe.quickGo,Q=oe.goButton,ge=oe.selectComponentClass,de=oe.buildOptionText,Te=oe.selectPrefixCls,xe=oe.disabled,le=this.state.goInputText,fe="".concat(se,"-options"),Ee=ge,Ge=null,lt=null,Je=null;if(!Y&&!X)return null;var Ce=this.getPageSizeOptions();if(Y&&Ee){var et=Ce.map(function(ze,at){return g.a.createElement(Ee.Option,{key:at,value:ze.toString()},(de||Ue.buildOptionText)(ze))});Ge=g.a.createElement(Ee,{disabled:xe,prefixCls:Te,showSearch:!1,className:"".concat(fe,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(te||Ce[0]).toString(),onChange:this.changeSize,getPopupContainer:function(at){return at.parentNode}},et)}return X&&(Q&&(Je=typeof Q=="boolean"?g.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:xe,className:"".concat(fe,"-quick-jumper-button")},Qe.jump_to_confirm):g.a.createElement("span",{onClick:this.go,onKeyUp:this.go},Q)),lt=g.a.createElement("div",{className:"".concat(fe,"-quick-jumper")},Qe.jump_to,g.a.createElement("input",{disabled:xe,type:"text",value:le,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Qe.page,Je)),g.a.createElement("li",{className:"".concat(fe)},Ge,lt)}}]),Ke}(g.a.Component);h.defaultProps={pageSizeOptions:["10","20","50","100"]};var p=h,m=d("N2Kk");function v(){}function y(Ie){return typeof Ie=="number"&&isFinite(Ie)&&Math.floor(Ie)===Ie}function E(Ie,De,Ke){return Ke}function T(Ie,De,Ke){var me=typeof Ie=="undefined"?De.pageSize:Ie;return Math.floor((Ke.total-1)/me)+1}var w=function(Ie){Object(n.a)(Ke,Ie);var De=Object(e.a)(Ke);function Ke(me){var Ue;Object(r.a)(this,Ke),Ue=De.call(this,me),Ue.getJumpPrevPage=function(){return Math.max(1,Ue.state.current-(Ue.props.showLessItems?3:5))},Ue.getJumpNextPage=function(){return Math.min(T(void 0,Ue.state,Ue.props),Ue.state.current+(Ue.props.showLessItems?3:5))},Ue.getItemIcon=function(Y,X){var Q=Ue.props.prefixCls,ge=Y||g.a.createElement("button",{type:"button","aria-label":X,className:"".concat(Q,"-item-link")});return typeof Y=="function"&&(ge=g.a.createElement(Y,Object(o.a)({},Ue.props))),ge},Ue.savePaginationNode=function(Y){Ue.paginationNode=Y},Ue.isValid=function(Y){return y(Y)&&Y!==Ue.state.current},Ue.shouldDisplayQuickJumper=function(){var Y=Ue.props,X=Y.showQuickJumper,Q=Y.pageSize,ge=Y.total;return ge<=Q?!1:X},Ue.handleKeyDown=function(Y){(Y.keyCode===u.ARROW_UP||Y.keyCode===u.ARROW_DOWN)&&Y.preventDefault()},Ue.handleKeyUp=function(Y){var X=Ue.getValidValue(Y),Q=Ue.state.currentInputValue;X!==Q&&Ue.setState({currentInputValue:X}),Y.keyCode===u.ENTER?Ue.handleChange(X):Y.keyCode===u.ARROW_UP?Ue.handleChange(X-1):Y.keyCode===u.ARROW_DOWN&&Ue.handleChange(X+1)},Ue.changePageSize=function(Y){var X=Ue.state.current,Q=T(Y,Ue.state,Ue.props);X=X>Q?Q:X,Q===0&&(X=Ue.state.current),typeof Y=="number"&&("pageSize"in Ue.props||Ue.setState({pageSize:Y}),"current"in Ue.props||Ue.setState({current:X,currentInputValue:X})),Ue.props.onShowSizeChange(X,Y),"onChange"in Ue.props&&Ue.props.onChange&&Ue.props.onChange(X,Y)},Ue.handleChange=function(Y){var X=Ue.props.disabled,Q=Y;if(Ue.isValid(Q)&&!X){var ge=T(void 0,Ue.state,Ue.props);Q>ge?Q=ge:Q<1&&(Q=1),"current"in Ue.props||Ue.setState({current:Q,currentInputValue:Q});var de=Ue.state.pageSize;return Ue.props.onChange(Q,de),Q}return Ue.state.current},Ue.prev=function(){Ue.hasPrev()&&Ue.handleChange(Ue.state.current-1)},Ue.next=function(){Ue.hasNext()&&Ue.handleChange(Ue.state.current+1)},Ue.jumpPrev=function(){Ue.handleChange(Ue.getJumpPrevPage())},Ue.jumpNext=function(){Ue.handleChange(Ue.getJumpNextPage())},Ue.hasPrev=function(){return Ue.state.current>1},Ue.hasNext=function(){return Ue.state.current2?Q-2:0),de=2;de=te?se=te:se=Number(oe),se}},{key:"getShowSizeChanger",value:function(){var Ue=this.props,oe=Ue.showSizeChanger,te=Ue.total,Qe=Ue.totalBoundaryShowSizeChanger;return typeof oe!="undefined"?oe:te>Qe}},{key:"renderPrev",value:function(Ue){var oe=this.props,te=oe.prevIcon,Qe=oe.itemRender,se=Qe(Ue,"prev",this.getItemIcon(te,"prev page")),Y=!this.hasPrev();return Object(b.isValidElement)(se)?Object(b.cloneElement)(se,{disabled:Y}):se}},{key:"renderNext",value:function(Ue){var oe=this.props,te=oe.nextIcon,Qe=oe.itemRender,se=Qe(Ue,"next",this.getItemIcon(te,"next page")),Y=!this.hasNext();return Object(b.isValidElement)(se)?Object(b.cloneElement)(se,{disabled:Y}):se}},{key:"render",value:function(){var Ue=this,oe=this.props,te=oe.prefixCls,Qe=oe.className,se=oe.style,Y=oe.disabled,X=oe.hideOnSinglePage,Q=oe.total,ge=oe.locale,de=oe.showQuickJumper,Te=oe.showLessItems,xe=oe.showTitle,le=oe.showTotal,fe=oe.simple,Ee=oe.itemRender,Ge=oe.showPrevNextJumpers,lt=oe.jumpPrevIcon,Je=oe.jumpNextIcon,Ce=oe.selectComponentClass,et=oe.selectPrefixCls,ze=oe.pageSizeOptions,at=this.state,Ct=at.current,Tt=at.pageSize,Ot=at.currentInputValue;if(X===!0&&Q<=Tt)return null;var Nt=T(void 0,this.state,this.props),Be=[],ne=null,G=null,Pe=null,Ne=null,q=null,ht=de&&de.goButton,Pt=Te?1:2,ct=Ct-1>0?Ct-1:0,Gt=Ct+1=Pt*2&&Ct!==1+2&&(Be[0]=Object(b.cloneElement)(Be[0],{className:"".concat(te,"-item-after-jump-prev")}),Be.unshift(ne)),Nt-Ct>=Pt*2&&Ct!==Nt-2&&(Be[Be.length-1]=Object(b.cloneElement)(Be[Be.length-1],{className:"".concat(te,"-item-before-jump-next")}),Be.push(G)),dt!==1&&Be.unshift(Pe),Hr!==Nt&&Be.push(Ne)}var Vn=null;le&&(Vn=g.a.createElement("li",{className:"".concat(te,"-total-text")},le(Q,[Q===0?0:(Ct-1)*Tt+1,Ct*Tt>Q?Q:Ct*Tt])));var gi=!this.hasPrev()||!Nt,bn=!this.hasNext()||!Nt;return g.a.createElement("ul",Object(f.a)({className:t()(te,Qe,Object(c.a)({},"".concat(te,"-disabled"),Y)),style:se,unselectable:"unselectable",ref:this.savePaginationNode},or),Vn,g.a.createElement("li",{title:xe?ge.prev_page:null,onClick:this.prev,tabIndex:gi?null:0,onKeyPress:this.runIfEnterPrev,className:t()("".concat(te,"-prev"),Object(c.a)({},"".concat(te,"-disabled"),gi)),"aria-disabled":gi},this.renderPrev(ct)),Be,g.a.createElement("li",{title:xe?ge.next_page:null,onClick:this.next,tabIndex:bn?null:0,onKeyPress:this.runIfEnterNext,className:t()("".concat(te,"-next"),Object(c.a)({},"".concat(te,"-disabled"),bn)),"aria-disabled":bn},this.renderNext(Gt)),g.a.createElement(p,{disabled:Y,locale:ge,rootPrefixCls:te,selectComponentClass:Ce,selectPrefixCls:et,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Ct,pageSize:Tt,pageSizeOptions:ze,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:ht}))}}],[{key:"getDerivedStateFromProps",value:function(Ue,oe){var te={};if("current"in Ue&&(te.current=Ue.current,Ue.current!==oe.current&&(te.currentInputValue=te.current)),"pageSize"in Ue&&Ue.pageSize!==oe.pageSize){var Qe=oe.current,se=T(Ue.pageSize,oe,Ue);Qe=Qe>se?se:Qe,"current"in Ue||(te.current=Qe,te.currentInputValue=Qe),te.pageSize=Ue.pageSize}return te}}]),Ke}(g.a.Component);w.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:v,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:v,locale:m.a,style:{},itemRender:E,totalBoundaryShowSizeChanger:50};var S=w,_=d("H4fg"),I=d("DFhj"),L=d.n(I),N=d("fEPi"),D=d.n(N),R=d("u9fO"),B=d.n(R),M=d("mO/d"),U=d.n(M),F=d("2fM7"),j=function(De){return b.createElement(F.a,A()({size:"small"},De))};j.Option=F.a.Option;var W=j,V=d("YMnH"),z=d("H84U"),J=d("5OYt"),$=function(Ie,De){var Ke={};for(var me in Ie)Object.prototype.hasOwnProperty.call(Ie,me)&&De.indexOf(me)<0&&(Ke[me]=Ie[me]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,me=Object.getOwnPropertySymbols(Ie);Ue1&&arguments[1]!==void 0?arguments[1]:60,b=null;return function(){for(var g=this,f=arguments.length,c=new Array(f),o=0;o0){if(y<=E[0])return T[0];if(y>=E[1])return T[1]}else{if(y>=E[0])return T[0];if(y<=E[1])return T[1]}else{if(y===E[0])return T[0];if(y===E[1])return T[1]}return(y-E[0])/S*_+T[0]}function b(y,E){switch(y){case"center":case"middle":y="50%";break;case"left":case"top":y="0%";break;case"right":case"bottom":y="100%";break}return typeof y=="string"?C(y).match(/%$/)?parseFloat(y)/100*E:parseFloat(y):y==null?NaN:+y}function g(y,E,T){return E==null&&(E=10),E=Math.min(Math.max(0,E),20),y=(+y).toFixed(E),T?y:+y}function f(y){return y.sort(function(E,T){return E-T}),y}function c(y){if(y=+y,isNaN(y))return 0;for(var E=1,T=0;Math.round(y*E)/E!==y;)E*=10,T++;return T}function o(y){var E=y.toString(),T=E.indexOf("e");if(T>0){var w=+E.slice(T+1);return w<0?-w:0}else{var S=E.indexOf(".");return S<0?0:E.length-1-S}}function r(y,E){var T=Math.log,w=Math.LN10,S=Math.floor(T(y[1]-y[0])/w),_=Math.round(T(Math.abs(E[1]-E[0]))/w),I=Math.min(Math.max(-S+_,0),20);return isFinite(I)?I:20}function i(y,E,T){if(!y[E])return 0;var w=O.reduce(y,function(F,j){return F+(isNaN(j)?0:j)},0);if(w===0)return 0;for(var S=Math.pow(10,T),_=O.map(y,function(F){return(isNaN(F)?0:F)/w*S*100}),I=S*100,L=O.map(_,function(F){return Math.floor(F)}),N=O.reduce(L,function(F,j){return F+j},0),D=O.map(_,function(F,j){return F-L[j]});NR&&(R=D[M],B=M);++L[B],D[B]=0,++N}return L[E]/S}var n=9007199254740991;function e(y){var E=Math.PI*2;return(y%E+E)%E}function s(y){return y>-x&&y=10&&E++,E}function h(y,E){var T=u(y),w=Math.pow(10,T),S=y/w,_;return E?S<1.5?_=1:S<2.5?_=2:S<4?_=3:S<7?_=5:_=10:S<1?_=1:S<2?_=2:S<3?_=3:S<5?_=5:_=10,y=_*w,T>=-20?+y.toFixed(T<0?-T:0):y}function p(y,E){var T=(y.length-1)*E+1,w=Math.floor(T),S=+y[w-1],_=T-w;return _?S+_*(y[w]-S):S}function m(y){y.sort(function(N,D){return L(N,D,0)?-1:1});for(var E=-Infinity,T=1,w=0;w=0}P.linearMap=A,P.parsePercent=b,P.round=g,P.asc=f,P.getPrecision=c,P.getPrecisionSafe=o,P.getPixelPrecision=r,P.getPercentWithPrecision=i,P.MAX_SAFE_INTEGER=n,P.remRadian=e,P.isRadianAroundZero=s,P.parseDate=a,P.quantity=l,P.quantityExponent=u,P.nice=h,P.quantile=p,P.reformIntervals=m,P.isNumeric=v},OKJ2:function(H,P,d){var O=d("KxfA"),x=O.retrieveRawValue,C=d("7aKB"),A=C.getTooltipMarker,b=C.formatTpl,g=d("4NO4"),f=g.getTooltipRenderMode,c=/\{@(.+?)\}/g,o={getDataParams:function(r,i){var n=this.getData(i),e=this.getRawValue(r,i),s=n.getRawIndex(r),t=n.getName(r),a=n.getRawDataItem(r),l=n.getItemVisual(r,"color"),u=n.getItemVisual(r,"borderColor"),h=this.ecModel.getComponent("tooltip"),p=h&&h.get("renderMode"),m=f(p),v=this.mainType,y=v==="series",E=n.userOutput;return{componentType:v,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:y?this.subType:null,seriesIndex:this.seriesIndex,seriesId:y?this.id:null,seriesName:y?this.name:null,name:t,dataIndex:s,data:a,dataType:i,value:e,color:l,borderColor:u,dimensionNames:E?E.dimensionNames:null,encode:E?E.encode:null,marker:A({color:l,renderMode:m}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(r,i,n,e,s){i=i||"normal";var t=this.getData(n),a=t.getItemModel(r),l=this.getDataParams(r,n);e!=null&&l.value instanceof Array&&(l.value=l.value[e]);var u=a.get(i==="normal"?[s||"label","formatter"]:[i,s||"label","formatter"]);if(typeof u=="function")return l.status=i,l.dimensionIndex=e,u(l);if(typeof u=="string"){var h=b(u,l);return h.replace(c,function(p,m){var v=m.length;return m.charAt(0)==="["&&m.charAt(v-1)==="]"&&(m=+m.slice(1,v-1)),x(t,r,m)})}},getRawValue:function(r,i){return x(this.getData(i),r)},formatTooltip:function(){}};H.exports=o},OLod:function(H,P,d){(function(O,x,C){H.exports=P=x(d("Ib8C"),d("K3mO"))})(this,function(O){O.lib.Cipher||function(x){var C=O,A=C.lib,b=A.Base,g=A.WordArray,f=A.BufferedBlockAlgorithm,c=C.enc,o=c.Utf8,r=c.Base64,i=C.algo,n=i.EvpKDF,e=A.Cipher=f.extend({cfg:b.extend(),createEncryptor:function(I,L){return this.create(this._ENC_XFORM_MODE,I,L)},createDecryptor:function(I,L){return this.create(this._DEC_XFORM_MODE,I,L)},init:function(I,L,N){this.cfg=this.cfg.extend(N),this._xformMode=I,this._key=L,this.reset()},reset:function(){f.reset.call(this),this._doReset()},process:function(I){return this._append(I),this._process()},finalize:function(I){I&&this._append(I);var L=this._doFinalize();return L},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function _(I){return typeof I=="string"?S:E}return function(I){return{encrypt:function(N,D,R){return _(D).encrypt(I,N,D,R)},decrypt:function(N,D,R){return _(D).decrypt(I,N,D,R)}}}}()}),s=A.StreamCipher=e.extend({_doFinalize:function(){var I=this._process(!0);return I},blockSize:1}),t=C.mode={},a=A.BlockCipherMode=b.extend({createEncryptor:function(I,L){return this.Encryptor.create(I,L)},createDecryptor:function(I,L){return this.Decryptor.create(I,L)},init:function(I,L){this._cipher=I,this._iv=L}}),l=t.CBC=function(){var _=a.extend();_.Encryptor=_.extend({processBlock:function(N,D){var R=this._cipher,B=R.blockSize;I.call(this,N,D,B),R.encryptBlock(N,D),this._prevBlock=N.slice(D,D+B)}}),_.Decryptor=_.extend({processBlock:function(N,D){var R=this._cipher,B=R.blockSize,M=N.slice(D,D+B);R.decryptBlock(N,D),I.call(this,N,D,B),this._prevBlock=M}});function I(L,N,D){var R,B=this._iv;B?(R=B,this._iv=x):R=this._prevBlock;for(var M=0;M>>2]&255;I.sigBytes-=L}},p=A.BlockCipher=e.extend({cfg:e.cfg.extend({mode:l,padding:h}),reset:function(){var I;e.reset.call(this);var L=this.cfg,N=L.iv,D=L.mode;this._xformMode==this._ENC_XFORM_MODE?I=D.createEncryptor:(I=D.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==I?this._mode.init(this,N&&N.words):(this._mode=I.call(D,this,N&&N.words),this._mode.__creator=I)},_doProcessBlock:function(I,L){this._mode.processBlock(I,L)},_doFinalize:function(){var I,L=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(L.pad(this._data,this.blockSize),I=this._process(!0)):(I=this._process(!0),L.unpad(I)),I},blockSize:128/32}),m=A.CipherParams=b.extend({init:function(I){this.mixIn(I)},toString:function(I){return(I||this.formatter).stringify(this)}}),v=C.format={},y=v.OpenSSL={stringify:function(I){var L,N=I.ciphertext,D=I.salt;return D?L=g.create([1398893684,1701076831]).concat(D).concat(N):L=N,L.toString(r)},parse:function(I){var L,N=r.parse(I),D=N.words;return D[0]==1398893684&&D[1]==1701076831&&(L=g.create(D.slice(2,4)),D.splice(0,4),N.sigBytes-=16),m.create({ciphertext:N,salt:L})}},E=A.SerializableCipher=b.extend({cfg:b.extend({format:y}),encrypt:function(I,L,N,D){D=this.cfg.extend(D);var R=I.createEncryptor(N,D),B=R.finalize(L),M=R.cfg;return m.create({ciphertext:B,key:N,iv:M.iv,algorithm:I,mode:M.mode,padding:M.padding,blockSize:I.blockSize,formatter:D.format})},decrypt:function(I,L,N,D){D=this.cfg.extend(D),L=this._parse(L,D.format);var R=I.createDecryptor(N,D).finalize(L.ciphertext);return R},_parse:function(I,L){return typeof I=="string"?L.parse(I,this):I}}),T=C.kdf={},w=T.OpenSSL={execute:function(I,L,N,D){D||(D=g.random(64/8));var R=n.create({keySize:L+N}).compute(I,D),B=g.create(R.words.slice(L),N*4);return R.sigBytes=L*4,m.create({key:R,iv:B,salt:D})}},S=A.PasswordBasedCipher=E.extend({cfg:E.cfg.extend({kdf:w}),encrypt:function(I,L,N,D){D=this.cfg.extend(D);var R=D.kdf.execute(N,I.keySize,I.ivSize);D.iv=R.iv;var B=E.encrypt.call(this,I,L,R.key,D);return B.mixIn(R),B},decrypt:function(I,L,N,D){D=this.cfg.extend(D),L=this._parse(L,D.format);var R=D.kdf.execute(N,I.keySize,I.ivSize,L.salt);D.iv=R.iv;var B=E.decrypt.call(this,I,L,R.key,D);return B}})}()})},OPEp:function(H,P,d){},OQFs:function(H,P,d){var O=d("KCsZ"),x=O([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C={getLineStyle:function(A){var b=x(this,A);return b.lineDash=this.getLineDash(b.lineWidth),b},getLineDash:function(A){A==null&&(A=1);var b=this.get("type"),g=Math.max(A,2),f=A*4;return b==="solid"||b==null?!1:b==="dashed"?[f,f]:[g,g]}};H.exports=C},OS9S:function(H,P,d){var O=d("bYtY"),x=O.inherits,C=d("Gev7"),A=d("mFDi");function b(c){C.call(this,c),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}b.prototype.incremental=!0,b.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},b.prototype.addDisplayable=function(c,o){o?this._temporaryDisplayables.push(c):this._displayables.push(c),this.dirty()},b.prototype.addDisplayables=function(c,o){o=o||!1;for(var r=0;r0?100:20}},getFirstTargetAxisModel:function(){var t;return r(function(a){if(t==null){var l=this.get(a.axisIndex);l.length&&(t=this.dependentModels[a.axis][l[0]])}},this),t},eachTargetAxis:function(t,a){var l=this.ecModel;r(function(u){o(this.get(u.axisIndex),function(h){t.call(a,u,h,this,l)},this)},this)},getAxisProxy:function(t,a){return this._axisProxies[t+"_"+a]},getAxisModel:function(t,a){var l=this.getAxisProxy(t,a);return l&&l.getAxisModel()},setRawRange:function(t){var a=this.option,l=this.settledOption;o([["start","startValue"],["end","endValue"]],function(u){(t[u[0]]!=null||t[u[1]]!=null)&&(a[u[0]]=l[u[0]]=t[u[0]],a[u[1]]=l[u[1]]=t[u[1]])},this),e(this,t)},setCalculatedRange:function(t){var a=this.option;o(["start","startValue","end","endValue"],function(l){a[l]=t[l]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,a){if(t==null&&a==null){var l=this.findRepresentativeAxisProxy();if(l)return l.getDataValueWindow()}else return this.getAxisProxy(t,a).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var a=this._axisProxies;for(var l in a)if(a.hasOwnProperty(l)&&a[l].hostedBy(this))return a[l];for(var l in a)if(a.hasOwnProperty(l)&&!a[l].hostedBy(this))return a[l]},getRangePropMode:function(){return this._rangePropMode.slice()}});function n(t){var a={};return o(["start","end","startValue","endValue","throttle"],function(l){t.hasOwnProperty(l)&&(a[l]=t[l])}),a}function e(t,a){var l=t._rangePropMode,u=t.get("rangeMode");o([["start","startValue"],["end","endValue"]],function(h,p){var m=a[h[0]]!=null,v=a[h[1]]!=null;m&&!v?l[p]="percent":!m&&v?l[p]="value":u?l[p]=u[p]:m&&(l[p]="percent")})}var s=i;H.exports=s},OnYD:function(H,P,d){},"Oy/b":function(H,P,d){(function(x,C){H.exports=C()})(typeof self!="undefined"?self:this,function(){return function(O){var x={};function C(A){if(x[A])return x[A].exports;var b=x[A]={i:A,l:!1,exports:{}};return O[A].call(b.exports,b,b.exports,C),b.l=!0,b.exports}return C.m=O,C.c=x,C.d=function(A,b,g){C.o(A,b)||Object.defineProperty(A,b,{enumerable:!0,get:g})},C.r=function(A){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},C.t=function(A,b){if(b&1&&(A=C(A)),b&8)return A;if(b&4&&typeof A=="object"&&A&&A.__esModule)return A;var g=Object.create(null);if(C.r(g),Object.defineProperty(g,"default",{enumerable:!0,value:A}),b&2&&typeof A!="string")for(var f in A)C.d(g,f,function(c){return A[c]}.bind(null,f));return g},C.n=function(A){var b=A&&A.__esModule?function(){return A.default}:function(){return A};return C.d(b,"a",b),b},C.o=function(A,b){return Object.prototype.hasOwnProperty.call(A,b)},C.p="",C(C.s=1)}([function(O,x,C){},function(O,x,C){"use strict";C.r(x);var A=C(0),b=function(){function At(ie,pe,be){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=ie,this.start=pe,this.end=be}return At.range=function(pe,be){return be?!pe||!pe.loc||!be.loc||pe.loc.lexer!==be.loc.lexer?null:new At(pe.loc.lexer,pe.loc.start,be.loc.end):pe&&pe.loc},At}(),g=function(){function At(pe,be){this.text=void 0,this.loc=void 0,this.text=pe,this.loc=be}var ie=At.prototype;return ie.range=function(be,He){return new At(He,b.range(this,be))},At}(),f=function At(ie,pe){this.position=void 0;var be="KaTeX parse error: "+ie,He,yt=pe&&pe.loc;if(yt&&yt.start<=yt.end){var Xt=yt.lexer.input;He=yt.start;var Dr=yt.end;He===Xt.length?be+=" at end of input: ":be+=" at position "+(He+1)+": ";var Xr=Xt.slice(He,Dr).replace(/[^]/g,"$&\u0332"),hn;He>15?hn="\u2026"+Xt.slice(He-15,He):hn=Xt.slice(0,He);var Kn;Dr+15":">","<":"<",'"':""","'":"'"},s=/[&><"']/g;function t(At){return String(At).replace(s,function(ie){return e[ie]})}var a=function At(ie){return ie.type==="ordgroup"||ie.type==="color"?ie.body.length===1?At(ie.body[0]):ie:ie.type==="font"?At(ie.body):ie},l=function(ie){var pe=a(ie);return pe.type==="mathord"||pe.type==="textord"||pe.type==="atom"},u=function(ie){if(!ie)throw new Error("Expected non-null, but got "+String(ie));return ie},h=function(ie){var pe=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(ie);return pe!=null?pe[1]:"_relative"},p={contains:o,deflt:r,escape:t,hyphenate:n,getBaseElem:a,isCharacterBox:l,protocolFromUrl:h},m=function(){function At(pe){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,pe=pe||{},this.displayMode=p.deflt(pe.displayMode,!1),this.output=p.deflt(pe.output,"htmlAndMathml"),this.leqno=p.deflt(pe.leqno,!1),this.fleqn=p.deflt(pe.fleqn,!1),this.throwOnError=p.deflt(pe.throwOnError,!0),this.errorColor=p.deflt(pe.errorColor,"#cc0000"),this.macros=pe.macros||{},this.minRuleThickness=Math.max(0,p.deflt(pe.minRuleThickness,0)),this.colorIsTextColor=p.deflt(pe.colorIsTextColor,!1),this.strict=p.deflt(pe.strict,"warn"),this.trust=p.deflt(pe.trust,!1),this.maxSize=Math.max(0,p.deflt(pe.maxSize,Infinity)),this.maxExpand=Math.max(0,p.deflt(pe.maxExpand,1e3))}var ie=At.prototype;return ie.reportNonstrict=function(be,He,yt){var Xt=this.strict;if(typeof Xt=="function"&&(Xt=Xt(be,He,yt)),!Xt||Xt==="ignore")return;if(Xt===!0||Xt==="error")throw new c("LaTeX-incompatible input and strict mode is set to 'error': "+(He+" ["+be+"]"),yt);Xt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(He+" ["+be+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Xt+"': "+He+" ["+be+"]"))},ie.useStrictBehavior=function(be,He,yt){var Xt=this.strict;if(typeof Xt=="function")try{Xt=Xt(be,He,yt)}catch(Dr){Xt="error"}return!Xt||Xt==="ignore"?!1:Xt===!0||Xt==="error"?!0:Xt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(He+" ["+be+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Xt+"': "+He+" ["+be+"]")),!1)},ie.isTrusted=function(be){be.url&&!be.protocol&&(be.protocol=p.protocolFromUrl(be.url));var He=typeof this.trust=="function"?this.trust(be):this.trust;return Boolean(He)},At}(),v=function(){function At(pe,be,He){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=pe,this.size=be,this.cramped=He}var ie=At.prototype;return ie.sup=function(){return N[D[this.id]]},ie.sub=function(){return N[R[this.id]]},ie.fracNum=function(){return N[B[this.id]]},ie.fracDen=function(){return N[M[this.id]]},ie.cramp=function(){return N[U[this.id]]},ie.text=function(){return N[F[this.id]]},ie.isTight=function(){return this.size>=2},At}(),y=0,E=1,T=2,w=3,S=4,_=5,I=6,L=7,N=[new v(y,0,!1),new v(E,0,!0),new v(T,1,!1),new v(w,1,!0),new v(S,2,!1),new v(_,2,!0),new v(I,3,!1),new v(L,3,!0)],D=[S,_,S,_,I,L,I,L],R=[_,_,_,_,L,L,L,L],B=[T,w,S,_,I,L,I,L],M=[w,w,_,_,L,L,L,L],U=[E,E,w,w,_,_,L,L],F=[y,E,T,w,T,w,T,w],j={DISPLAY:N[y],TEXT:N[T],SCRIPT:N[S],SCRIPTSCRIPT:N[I]},W=[{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 V(At){for(var ie=0;ie=He[0]&&At<=He[1])return pe.name}return null}var z=[];W.forEach(function(At){return At.blocks.forEach(function(ie){return z.push.apply(z,ie)})});function J(At){for(var ie=0;ie=z[ie]&&At<=z[ie+1])return!0;return!1}var $=80,ce=function(ie,pe){return"M95,"+(622+ie+pe)+` 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`+ie/2.075+" -"+ie+` c5.3,-9.3,12,-14,20,-14 H400000v`+(40+ie)+`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+ie)+" "+pe+"h400000v"+(40+ie)+"h-400000z"},ae=function(ie,pe){return"M263,"+(601+ie+pe)+`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`+ie/2.084+" -"+ie+` c4.7,-7.3,11,-11,19,-11 H40000v`+(40+ie)+`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+ie)+" "+pe+"h400000v"+(40+ie)+"h-400000z"},Ae=function(ie,pe){return"M983 "+(10+ie+pe)+` l`+ie/3.13+" -"+ie+` c4,-6.7,10,-10,18,-10 H400000v`+(40+ie)+` 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+ie)+" "+pe+"h400000v"+(40+ie)+"h-400000z"},Ie=function(ie,pe){return"M424,"+(2398+ie+pe)+` 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`+ie/4.223+" -"+ie+`c4,-6.7,10,-10,18,-10 H400000 v`+(40+ie)+`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+ie)+" "+pe+` h400000v`+(40+ie)+"h-400000z"},De=function(ie,pe){return"M473,"+(2713+ie+pe)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+ie/5.298+" -"+ie+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+ie)+`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+ie)+" "+pe+"h400000v"+(40+ie)+"H1017.7z"},Ke=function(ie,pe,be){var He=be-54-pe-ie;return"M702 "+(ie+pe)+"H400000"+(40+ie)+` H742v`+He+`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 `+pe+"H400000v"+(40+ie)+"H742z"},me=function(ie,pe,be){pe=1e3*pe;var He="";switch(ie){case"sqrtMain":He=ce(pe,$);break;case"sqrtSize1":He=ae(pe,$);break;case"sqrtSize2":He=Ae(pe,$);break;case"sqrtSize3":He=Ie(pe,$);break;case"sqrtSize4":He=De(pe,$);break;case"sqrtTall":He=Ke(pe,$,be)}return He},Ue={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`},oe=function(){function At(pe){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=pe,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var ie=At.prototype;return ie.hasClass=function(be){return p.contains(this.classes,be)},ie.toNode=function(){for(var be=document.createDocumentFragment(),He=0;He",pe},X=function(){function At(pe,be,He,yt){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,Qe.call(this,pe,He,yt),this.children=be||[]}var ie=At.prototype;return ie.setAttribute=function(be,He){this.attributes[be]=He},ie.hasClass=function(be){return p.contains(this.classes,be)},ie.toNode=function(){return se.call(this,"span")},ie.toMarkup=function(){return Y.call(this,"span")},At}(),Q=function(){function At(pe,be,He,yt){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,Qe.call(this,be,yt),this.children=He||[],this.setAttribute("href",pe)}var ie=At.prototype;return ie.setAttribute=function(be,He){this.attributes[be]=He},ie.hasClass=function(be){return p.contains(this.classes,be)},ie.toNode=function(){return se.call(this,"a")},ie.toMarkup=function(){return Y.call(this,"a")},At}(),ge=function(){function At(pe,be,He){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=be,this.src=pe,this.classes=["mord"],this.style=He}var ie=At.prototype;return ie.hasClass=function(be){return p.contains(this.classes,be)},ie.toNode=function(){var be=document.createElement("img");be.src=this.src,be.alt=this.alt,be.className="mord";for(var He in this.style)this.style.hasOwnProperty(He)&&(be.style[He]=this.style[He]);return be},ie.toMarkup=function(){var be=""+this.alt+"0&&(He=document.createElement("span"),He.style.marginRight=this.italic+"em"),this.classes.length>0&&(He=He||document.createElement("span"),He.className=te(this.classes));for(var yt in this.style)this.style.hasOwnProperty(yt)&&(He=He||document.createElement("span"),He.style[yt]=this.style[yt]);return He?(He.appendChild(be),He):be},ie.toMarkup=function(){var be=!1,He="0&&(yt+="margin-right:"+this.italic+"em;");for(var Xt in this.style)this.style.hasOwnProperty(Xt)&&(yt+=p.hyphenate(Xt)+":"+this.style[Xt]+";");yt&&(be=!0,He+=' style="'+p.escape(yt)+'"');var Dr=p.escape(this.text);return be?(He+=">",He+=Dr,He+="",He):Dr},At}(),xe=function(){function At(pe,be){this.children=void 0,this.attributes=void 0,this.children=pe||[],this.attributes=be||{}}var ie=At.prototype;return ie.toNode=function(){var be="http://www.w3.org/2000/svg",He=document.createElementNS(be,"svg");for(var yt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,yt)&&He.setAttribute(yt,this.attributes[yt]);for(var Xt=0;Xt":""},At}(),fe=function(){function At(pe){this.attributes=void 0,this.attributes=pe||{}}var ie=At.prototype;return ie.toNode=function(){var be="http://www.w3.org/2000/svg",He=document.createElementNS(be,"line");for(var yt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,yt)&&He.setAttribute(yt,this.attributes[yt]);return He},ie.toMarkup=function(){var be=" but got "+String(At)+".")}var lt={"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]}},Je={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]},Ce={\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 et(At,ie){lt[At]=ie}function ze(At,ie,pe){if(!lt[ie])throw new Error("Font metrics not found for font: "+ie+".");var be=At.charCodeAt(0),He=lt[ie][be];if(!He&&At[0]in Ce&&(be=Ce[At[0]].charCodeAt(0),He=lt[ie][be]),!He&&pe==="text"&&(J(be)&&(He=lt[ie][77])),He)return{depth:He[0],height:He[1],italic:He[2],skew:He[3],width:He[4]}}var at={};function Ct(At){var ie;if(At>=5?ie=0:At>=3?ie=1:ie=2,!at[ie]){var pe=at[ie]={cssEmPerMu:Je.quad[ie]/18};for(var be in Je)Je.hasOwnProperty(be)&&(pe[be]=Je[be][ie])}return at[ie]}var Tt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ot={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Nt={math:{},text:{}},Be=Nt;function ne(At,ie,pe,be,He,yt){Nt[At][He]={font:ie,group:pe,replace:be},yt&&be&&(Nt[At][be]=Nt[At][He])}var G="math",Pe="text",Ne="main",q="ams",ht="accent-token",Pt="bin",ct="close",Gt="inner",or="mathord",Zr="op-token",ir="open",dr="punct",er="rel",Kt="spacing",dt="textord";ne(G,Ne,er,"\u2261","\\equiv",!0),ne(G,Ne,er,"\u227A","\\prec",!0),ne(G,Ne,er,"\u227B","\\succ",!0),ne(G,Ne,er,"\u223C","\\sim",!0),ne(G,Ne,er,"\u22A5","\\perp"),ne(G,Ne,er,"\u2AAF","\\preceq",!0),ne(G,Ne,er,"\u2AB0","\\succeq",!0),ne(G,Ne,er,"\u2243","\\simeq",!0),ne(G,Ne,er,"\u2223","\\mid",!0),ne(G,Ne,er,"\u226A","\\ll",!0),ne(G,Ne,er,"\u226B","\\gg",!0),ne(G,Ne,er,"\u224D","\\asymp",!0),ne(G,Ne,er,"\u2225","\\parallel"),ne(G,Ne,er,"\u22C8","\\bowtie",!0),ne(G,Ne,er,"\u2323","\\smile",!0),ne(G,Ne,er,"\u2291","\\sqsubseteq",!0),ne(G,Ne,er,"\u2292","\\sqsupseteq",!0),ne(G,Ne,er,"\u2250","\\doteq",!0),ne(G,Ne,er,"\u2322","\\frown",!0),ne(G,Ne,er,"\u220B","\\ni",!0),ne(G,Ne,er,"\u221D","\\propto",!0),ne(G,Ne,er,"\u22A2","\\vdash",!0),ne(G,Ne,er,"\u22A3","\\dashv",!0),ne(G,Ne,er,"\u220B","\\owns"),ne(G,Ne,dr,".","\\ldotp"),ne(G,Ne,dr,"\u22C5","\\cdotp"),ne(G,Ne,dt,"#","\\#"),ne(Pe,Ne,dt,"#","\\#"),ne(G,Ne,dt,"&","\\&"),ne(Pe,Ne,dt,"&","\\&"),ne(G,Ne,dt,"\u2135","\\aleph",!0),ne(G,Ne,dt,"\u2200","\\forall",!0),ne(G,Ne,dt,"\u210F","\\hbar",!0),ne(G,Ne,dt,"\u2203","\\exists",!0),ne(G,Ne,dt,"\u2207","\\nabla",!0),ne(G,Ne,dt,"\u266D","\\flat",!0),ne(G,Ne,dt,"\u2113","\\ell",!0),ne(G,Ne,dt,"\u266E","\\natural",!0),ne(G,Ne,dt,"\u2663","\\clubsuit",!0),ne(G,Ne,dt,"\u2118","\\wp",!0),ne(G,Ne,dt,"\u266F","\\sharp",!0),ne(G,Ne,dt,"\u2662","\\diamondsuit",!0),ne(G,Ne,dt,"\u211C","\\Re",!0),ne(G,Ne,dt,"\u2661","\\heartsuit",!0),ne(G,Ne,dt,"\u2111","\\Im",!0),ne(G,Ne,dt,"\u2660","\\spadesuit",!0),ne(Pe,Ne,dt,"\xA7","\\S",!0),ne(Pe,Ne,dt,"\xB6","\\P",!0),ne(G,Ne,dt,"\u2020","\\dag"),ne(Pe,Ne,dt,"\u2020","\\dag"),ne(Pe,Ne,dt,"\u2020","\\textdagger"),ne(G,Ne,dt,"\u2021","\\ddag"),ne(Pe,Ne,dt,"\u2021","\\ddag"),ne(Pe,Ne,dt,"\u2021","\\textdaggerdbl"),ne(G,Ne,ct,"\u23B1","\\rmoustache",!0),ne(G,Ne,ir,"\u23B0","\\lmoustache",!0),ne(G,Ne,ct,"\u27EF","\\rgroup",!0),ne(G,Ne,ir,"\u27EE","\\lgroup",!0),ne(G,Ne,Pt,"\u2213","\\mp",!0),ne(G,Ne,Pt,"\u2296","\\ominus",!0),ne(G,Ne,Pt,"\u228E","\\uplus",!0),ne(G,Ne,Pt,"\u2293","\\sqcap",!0),ne(G,Ne,Pt,"\u2217","\\ast"),ne(G,Ne,Pt,"\u2294","\\sqcup",!0),ne(G,Ne,Pt,"\u25EF","\\bigcirc"),ne(G,Ne,Pt,"\u2219","\\bullet"),ne(G,Ne,Pt,"\u2021","\\ddagger"),ne(G,Ne,Pt,"\u2240","\\wr",!0),ne(G,Ne,Pt,"\u2A3F","\\amalg"),ne(G,Ne,Pt,"&","\\And"),ne(G,Ne,er,"\u27F5","\\longleftarrow",!0),ne(G,Ne,er,"\u21D0","\\Leftarrow",!0),ne(G,Ne,er,"\u27F8","\\Longleftarrow",!0),ne(G,Ne,er,"\u27F6","\\longrightarrow",!0),ne(G,Ne,er,"\u21D2","\\Rightarrow",!0),ne(G,Ne,er,"\u27F9","\\Longrightarrow",!0),ne(G,Ne,er,"\u2194","\\leftrightarrow",!0),ne(G,Ne,er,"\u27F7","\\longleftrightarrow",!0),ne(G,Ne,er,"\u21D4","\\Leftrightarrow",!0),ne(G,Ne,er,"\u27FA","\\Longleftrightarrow",!0),ne(G,Ne,er,"\u21A6","\\mapsto",!0),ne(G,Ne,er,"\u27FC","\\longmapsto",!0),ne(G,Ne,er,"\u2197","\\nearrow",!0),ne(G,Ne,er,"\u21A9","\\hookleftarrow",!0),ne(G,Ne,er,"\u21AA","\\hookrightarrow",!0),ne(G,Ne,er,"\u2198","\\searrow",!0),ne(G,Ne,er,"\u21BC","\\leftharpoonup",!0),ne(G,Ne,er,"\u21C0","\\rightharpoonup",!0),ne(G,Ne,er,"\u2199","\\swarrow",!0),ne(G,Ne,er,"\u21BD","\\leftharpoondown",!0),ne(G,Ne,er,"\u21C1","\\rightharpoondown",!0),ne(G,Ne,er,"\u2196","\\nwarrow",!0),ne(G,Ne,er,"\u21CC","\\rightleftharpoons",!0),ne(G,q,er,"\u226E","\\nless",!0),ne(G,q,er,"\uE010","\\@nleqslant"),ne(G,q,er,"\uE011","\\@nleqq"),ne(G,q,er,"\u2A87","\\lneq",!0),ne(G,q,er,"\u2268","\\lneqq",!0),ne(G,q,er,"\uE00C","\\@lvertneqq"),ne(G,q,er,"\u22E6","\\lnsim",!0),ne(G,q,er,"\u2A89","\\lnapprox",!0),ne(G,q,er,"\u2280","\\nprec",!0),ne(G,q,er,"\u22E0","\\npreceq",!0),ne(G,q,er,"\u22E8","\\precnsim",!0),ne(G,q,er,"\u2AB9","\\precnapprox",!0),ne(G,q,er,"\u2241","\\nsim",!0),ne(G,q,er,"\uE006","\\@nshortmid"),ne(G,q,er,"\u2224","\\nmid",!0),ne(G,q,er,"\u22AC","\\nvdash",!0),ne(G,q,er,"\u22AD","\\nvDash",!0),ne(G,q,er,"\u22EA","\\ntriangleleft"),ne(G,q,er,"\u22EC","\\ntrianglelefteq",!0),ne(G,q,er,"\u228A","\\subsetneq",!0),ne(G,q,er,"\uE01A","\\@varsubsetneq"),ne(G,q,er,"\u2ACB","\\subsetneqq",!0),ne(G,q,er,"\uE017","\\@varsubsetneqq"),ne(G,q,er,"\u226F","\\ngtr",!0),ne(G,q,er,"\uE00F","\\@ngeqslant"),ne(G,q,er,"\uE00E","\\@ngeqq"),ne(G,q,er,"\u2A88","\\gneq",!0),ne(G,q,er,"\u2269","\\gneqq",!0),ne(G,q,er,"\uE00D","\\@gvertneqq"),ne(G,q,er,"\u22E7","\\gnsim",!0),ne(G,q,er,"\u2A8A","\\gnapprox",!0),ne(G,q,er,"\u2281","\\nsucc",!0),ne(G,q,er,"\u22E1","\\nsucceq",!0),ne(G,q,er,"\u22E9","\\succnsim",!0),ne(G,q,er,"\u2ABA","\\succnapprox",!0),ne(G,q,er,"\u2246","\\ncong",!0),ne(G,q,er,"\uE007","\\@nshortparallel"),ne(G,q,er,"\u2226","\\nparallel",!0),ne(G,q,er,"\u22AF","\\nVDash",!0),ne(G,q,er,"\u22EB","\\ntriangleright"),ne(G,q,er,"\u22ED","\\ntrianglerighteq",!0),ne(G,q,er,"\uE018","\\@nsupseteqq"),ne(G,q,er,"\u228B","\\supsetneq",!0),ne(G,q,er,"\uE01B","\\@varsupsetneq"),ne(G,q,er,"\u2ACC","\\supsetneqq",!0),ne(G,q,er,"\uE019","\\@varsupsetneqq"),ne(G,q,er,"\u22AE","\\nVdash",!0),ne(G,q,er,"\u2AB5","\\precneqq",!0),ne(G,q,er,"\u2AB6","\\succneqq",!0),ne(G,q,er,"\uE016","\\@nsubseteqq"),ne(G,q,Pt,"\u22B4","\\unlhd"),ne(G,q,Pt,"\u22B5","\\unrhd"),ne(G,q,er,"\u219A","\\nleftarrow",!0),ne(G,q,er,"\u219B","\\nrightarrow",!0),ne(G,q,er,"\u21CD","\\nLeftarrow",!0),ne(G,q,er,"\u21CF","\\nRightarrow",!0),ne(G,q,er,"\u21AE","\\nleftrightarrow",!0),ne(G,q,er,"\u21CE","\\nLeftrightarrow",!0),ne(G,q,er,"\u25B3","\\vartriangle"),ne(G,q,dt,"\u210F","\\hslash"),ne(G,q,dt,"\u25BD","\\triangledown"),ne(G,q,dt,"\u25CA","\\lozenge"),ne(G,q,dt,"\u24C8","\\circledS"),ne(G,q,dt,"\xAE","\\circledR"),ne(Pe,q,dt,"\xAE","\\circledR"),ne(G,q,dt,"\u2221","\\measuredangle",!0),ne(G,q,dt,"\u2204","\\nexists"),ne(G,q,dt,"\u2127","\\mho"),ne(G,q,dt,"\u2132","\\Finv",!0),ne(G,q,dt,"\u2141","\\Game",!0),ne(G,q,dt,"\u2035","\\backprime"),ne(G,q,dt,"\u25B2","\\blacktriangle"),ne(G,q,dt,"\u25BC","\\blacktriangledown"),ne(G,q,dt,"\u25A0","\\blacksquare"),ne(G,q,dt,"\u29EB","\\blacklozenge"),ne(G,q,dt,"\u2605","\\bigstar"),ne(G,q,dt,"\u2222","\\sphericalangle",!0),ne(G,q,dt,"\u2201","\\complement",!0),ne(G,q,dt,"\xF0","\\eth",!0),ne(G,q,dt,"\u2571","\\diagup"),ne(G,q,dt,"\u2572","\\diagdown"),ne(G,q,dt,"\u25A1","\\square"),ne(G,q,dt,"\u25A1","\\Box"),ne(G,q,dt,"\u25CA","\\Diamond"),ne(G,q,dt,"\xA5","\\yen",!0),ne(Pe,q,dt,"\xA5","\\yen",!0),ne(G,q,dt,"\u2713","\\checkmark",!0),ne(Pe,q,dt,"\u2713","\\checkmark"),ne(G,q,dt,"\u2136","\\beth",!0),ne(G,q,dt,"\u2138","\\daleth",!0),ne(G,q,dt,"\u2137","\\gimel",!0),ne(G,q,dt,"\u03DD","\\digamma",!0),ne(G,q,dt,"\u03F0","\\varkappa"),ne(G,q,ir,"\u250C","\\ulcorner",!0),ne(G,q,ct,"\u2510","\\urcorner",!0),ne(G,q,ir,"\u2514","\\llcorner",!0),ne(G,q,ct,"\u2518","\\lrcorner",!0),ne(G,q,er,"\u2266","\\leqq",!0),ne(G,q,er,"\u2A7D","\\leqslant",!0),ne(G,q,er,"\u2A95","\\eqslantless",!0),ne(G,q,er,"\u2272","\\lesssim",!0),ne(G,q,er,"\u2A85","\\lessapprox",!0),ne(G,q,er,"\u224A","\\approxeq",!0),ne(G,q,Pt,"\u22D6","\\lessdot"),ne(G,q,er,"\u22D8","\\lll",!0),ne(G,q,er,"\u2276","\\lessgtr",!0),ne(G,q,er,"\u22DA","\\lesseqgtr",!0),ne(G,q,er,"\u2A8B","\\lesseqqgtr",!0),ne(G,q,er,"\u2251","\\doteqdot"),ne(G,q,er,"\u2253","\\risingdotseq",!0),ne(G,q,er,"\u2252","\\fallingdotseq",!0),ne(G,q,er,"\u223D","\\backsim",!0),ne(G,q,er,"\u22CD","\\backsimeq",!0),ne(G,q,er,"\u2AC5","\\subseteqq",!0),ne(G,q,er,"\u22D0","\\Subset",!0),ne(G,q,er,"\u228F","\\sqsubset",!0),ne(G,q,er,"\u227C","\\preccurlyeq",!0),ne(G,q,er,"\u22DE","\\curlyeqprec",!0),ne(G,q,er,"\u227E","\\precsim",!0),ne(G,q,er,"\u2AB7","\\precapprox",!0),ne(G,q,er,"\u22B2","\\vartriangleleft"),ne(G,q,er,"\u22B4","\\trianglelefteq"),ne(G,q,er,"\u22A8","\\vDash",!0),ne(G,q,er,"\u22AA","\\Vvdash",!0),ne(G,q,er,"\u2323","\\smallsmile"),ne(G,q,er,"\u2322","\\smallfrown"),ne(G,q,er,"\u224F","\\bumpeq",!0),ne(G,q,er,"\u224E","\\Bumpeq",!0),ne(G,q,er,"\u2267","\\geqq",!0),ne(G,q,er,"\u2A7E","\\geqslant",!0),ne(G,q,er,"\u2A96","\\eqslantgtr",!0),ne(G,q,er,"\u2273","\\gtrsim",!0),ne(G,q,er,"\u2A86","\\gtrapprox",!0),ne(G,q,Pt,"\u22D7","\\gtrdot"),ne(G,q,er,"\u22D9","\\ggg",!0),ne(G,q,er,"\u2277","\\gtrless",!0),ne(G,q,er,"\u22DB","\\gtreqless",!0),ne(G,q,er,"\u2A8C","\\gtreqqless",!0),ne(G,q,er,"\u2256","\\eqcirc",!0),ne(G,q,er,"\u2257","\\circeq",!0),ne(G,q,er,"\u225C","\\triangleq",!0),ne(G,q,er,"\u223C","\\thicksim"),ne(G,q,er,"\u2248","\\thickapprox"),ne(G,q,er,"\u2AC6","\\supseteqq",!0),ne(G,q,er,"\u22D1","\\Supset",!0),ne(G,q,er,"\u2290","\\sqsupset",!0),ne(G,q,er,"\u227D","\\succcurlyeq",!0),ne(G,q,er,"\u22DF","\\curlyeqsucc",!0),ne(G,q,er,"\u227F","\\succsim",!0),ne(G,q,er,"\u2AB8","\\succapprox",!0),ne(G,q,er,"\u22B3","\\vartriangleright"),ne(G,q,er,"\u22B5","\\trianglerighteq"),ne(G,q,er,"\u22A9","\\Vdash",!0),ne(G,q,er,"\u2223","\\shortmid"),ne(G,q,er,"\u2225","\\shortparallel"),ne(G,q,er,"\u226C","\\between",!0),ne(G,q,er,"\u22D4","\\pitchfork",!0),ne(G,q,er,"\u221D","\\varpropto"),ne(G,q,er,"\u25C0","\\blacktriangleleft"),ne(G,q,er,"\u2234","\\therefore",!0),ne(G,q,er,"\u220D","\\backepsilon"),ne(G,q,er,"\u25B6","\\blacktriangleright"),ne(G,q,er,"\u2235","\\because",!0),ne(G,q,er,"\u22D8","\\llless"),ne(G,q,er,"\u22D9","\\gggtr"),ne(G,q,Pt,"\u22B2","\\lhd"),ne(G,q,Pt,"\u22B3","\\rhd"),ne(G,q,er,"\u2242","\\eqsim",!0),ne(G,Ne,er,"\u22C8","\\Join"),ne(G,q,er,"\u2251","\\Doteq",!0),ne(G,q,Pt,"\u2214","\\dotplus",!0),ne(G,q,Pt,"\u2216","\\smallsetminus"),ne(G,q,Pt,"\u22D2","\\Cap",!0),ne(G,q,Pt,"\u22D3","\\Cup",!0),ne(G,q,Pt,"\u2A5E","\\doublebarwedge",!0),ne(G,q,Pt,"\u229F","\\boxminus",!0),ne(G,q,Pt,"\u229E","\\boxplus",!0),ne(G,q,Pt,"\u22C7","\\divideontimes",!0),ne(G,q,Pt,"\u22C9","\\ltimes",!0),ne(G,q,Pt,"\u22CA","\\rtimes",!0),ne(G,q,Pt,"\u22CB","\\leftthreetimes",!0),ne(G,q,Pt,"\u22CC","\\rightthreetimes",!0),ne(G,q,Pt,"\u22CF","\\curlywedge",!0),ne(G,q,Pt,"\u22CE","\\curlyvee",!0),ne(G,q,Pt,"\u229D","\\circleddash",!0),ne(G,q,Pt,"\u229B","\\circledast",!0),ne(G,q,Pt,"\u22C5","\\centerdot"),ne(G,q,Pt,"\u22BA","\\intercal",!0),ne(G,q,Pt,"\u22D2","\\doublecap"),ne(G,q,Pt,"\u22D3","\\doublecup"),ne(G,q,Pt,"\u22A0","\\boxtimes",!0),ne(G,q,er,"\u21E2","\\dashrightarrow",!0),ne(G,q,er,"\u21E0","\\dashleftarrow",!0),ne(G,q,er,"\u21C7","\\leftleftarrows",!0),ne(G,q,er,"\u21C6","\\leftrightarrows",!0),ne(G,q,er,"\u21DA","\\Lleftarrow",!0),ne(G,q,er,"\u219E","\\twoheadleftarrow",!0),ne(G,q,er,"\u21A2","\\leftarrowtail",!0),ne(G,q,er,"\u21AB","\\looparrowleft",!0),ne(G,q,er,"\u21CB","\\leftrightharpoons",!0),ne(G,q,er,"\u21B6","\\curvearrowleft",!0),ne(G,q,er,"\u21BA","\\circlearrowleft",!0),ne(G,q,er,"\u21B0","\\Lsh",!0),ne(G,q,er,"\u21C8","\\upuparrows",!0),ne(G,q,er,"\u21BF","\\upharpoonleft",!0),ne(G,q,er,"\u21C3","\\downharpoonleft",!0),ne(G,q,er,"\u22B8","\\multimap",!0),ne(G,q,er,"\u21AD","\\leftrightsquigarrow",!0),ne(G,q,er,"\u21C9","\\rightrightarrows",!0),ne(G,q,er,"\u21C4","\\rightleftarrows",!0),ne(G,q,er,"\u21A0","\\twoheadrightarrow",!0),ne(G,q,er,"\u21A3","\\rightarrowtail",!0),ne(G,q,er,"\u21AC","\\looparrowright",!0),ne(G,q,er,"\u21B7","\\curvearrowright",!0),ne(G,q,er,"\u21BB","\\circlearrowright",!0),ne(G,q,er,"\u21B1","\\Rsh",!0),ne(G,q,er,"\u21CA","\\downdownarrows",!0),ne(G,q,er,"\u21BE","\\upharpoonright",!0),ne(G,q,er,"\u21C2","\\downharpoonright",!0),ne(G,q,er,"\u21DD","\\rightsquigarrow",!0),ne(G,q,er,"\u21DD","\\leadsto"),ne(G,q,er,"\u21DB","\\Rrightarrow",!0),ne(G,q,er,"\u21BE","\\restriction"),ne(G,Ne,dt,"\u2018","`"),ne(G,Ne,dt,"$","\\$"),ne(Pe,Ne,dt,"$","\\$"),ne(Pe,Ne,dt,"$","\\textdollar"),ne(G,Ne,dt,"%","\\%"),ne(Pe,Ne,dt,"%","\\%"),ne(G,Ne,dt,"_","\\_"),ne(Pe,Ne,dt,"_","\\_"),ne(Pe,Ne,dt,"_","\\textunderscore"),ne(G,Ne,dt,"\u2220","\\angle",!0),ne(G,Ne,dt,"\u221E","\\infty",!0),ne(G,Ne,dt,"\u2032","\\prime"),ne(G,Ne,dt,"\u25B3","\\triangle"),ne(G,Ne,dt,"\u0393","\\Gamma",!0),ne(G,Ne,dt,"\u0394","\\Delta",!0),ne(G,Ne,dt,"\u0398","\\Theta",!0),ne(G,Ne,dt,"\u039B","\\Lambda",!0),ne(G,Ne,dt,"\u039E","\\Xi",!0),ne(G,Ne,dt,"\u03A0","\\Pi",!0),ne(G,Ne,dt,"\u03A3","\\Sigma",!0),ne(G,Ne,dt,"\u03A5","\\Upsilon",!0),ne(G,Ne,dt,"\u03A6","\\Phi",!0),ne(G,Ne,dt,"\u03A8","\\Psi",!0),ne(G,Ne,dt,"\u03A9","\\Omega",!0),ne(G,Ne,dt,"A","\u0391"),ne(G,Ne,dt,"B","\u0392"),ne(G,Ne,dt,"E","\u0395"),ne(G,Ne,dt,"Z","\u0396"),ne(G,Ne,dt,"H","\u0397"),ne(G,Ne,dt,"I","\u0399"),ne(G,Ne,dt,"K","\u039A"),ne(G,Ne,dt,"M","\u039C"),ne(G,Ne,dt,"N","\u039D"),ne(G,Ne,dt,"O","\u039F"),ne(G,Ne,dt,"P","\u03A1"),ne(G,Ne,dt,"T","\u03A4"),ne(G,Ne,dt,"X","\u03A7"),ne(G,Ne,dt,"\xAC","\\neg",!0),ne(G,Ne,dt,"\xAC","\\lnot"),ne(G,Ne,dt,"\u22A4","\\top"),ne(G,Ne,dt,"\u22A5","\\bot"),ne(G,Ne,dt,"\u2205","\\emptyset"),ne(G,q,dt,"\u2205","\\varnothing"),ne(G,Ne,or,"\u03B1","\\alpha",!0),ne(G,Ne,or,"\u03B2","\\beta",!0),ne(G,Ne,or,"\u03B3","\\gamma",!0),ne(G,Ne,or,"\u03B4","\\delta",!0),ne(G,Ne,or,"\u03F5","\\epsilon",!0),ne(G,Ne,or,"\u03B6","\\zeta",!0),ne(G,Ne,or,"\u03B7","\\eta",!0),ne(G,Ne,or,"\u03B8","\\theta",!0),ne(G,Ne,or,"\u03B9","\\iota",!0),ne(G,Ne,or,"\u03BA","\\kappa",!0),ne(G,Ne,or,"\u03BB","\\lambda",!0),ne(G,Ne,or,"\u03BC","\\mu",!0),ne(G,Ne,or,"\u03BD","\\nu",!0),ne(G,Ne,or,"\u03BE","\\xi",!0),ne(G,Ne,or,"\u03BF","\\omicron",!0),ne(G,Ne,or,"\u03C0","\\pi",!0),ne(G,Ne,or,"\u03C1","\\rho",!0),ne(G,Ne,or,"\u03C3","\\sigma",!0),ne(G,Ne,or,"\u03C4","\\tau",!0),ne(G,Ne,or,"\u03C5","\\upsilon",!0),ne(G,Ne,or,"\u03D5","\\phi",!0),ne(G,Ne,or,"\u03C7","\\chi",!0),ne(G,Ne,or,"\u03C8","\\psi",!0),ne(G,Ne,or,"\u03C9","\\omega",!0),ne(G,Ne,or,"\u03B5","\\varepsilon",!0),ne(G,Ne,or,"\u03D1","\\vartheta",!0),ne(G,Ne,or,"\u03D6","\\varpi",!0),ne(G,Ne,or,"\u03F1","\\varrho",!0),ne(G,Ne,or,"\u03C2","\\varsigma",!0),ne(G,Ne,or,"\u03C6","\\varphi",!0),ne(G,Ne,Pt,"\u2217","*"),ne(G,Ne,Pt,"+","+"),ne(G,Ne,Pt,"\u2212","-"),ne(G,Ne,Pt,"\u22C5","\\cdot",!0),ne(G,Ne,Pt,"\u2218","\\circ"),ne(G,Ne,Pt,"\xF7","\\div",!0),ne(G,Ne,Pt,"\xB1","\\pm",!0),ne(G,Ne,Pt,"\xD7","\\times",!0),ne(G,Ne,Pt,"\u2229","\\cap",!0),ne(G,Ne,Pt,"\u222A","\\cup",!0),ne(G,Ne,Pt,"\u2216","\\setminus"),ne(G,Ne,Pt,"\u2227","\\land"),ne(G,Ne,Pt,"\u2228","\\lor"),ne(G,Ne,Pt,"\u2227","\\wedge",!0),ne(G,Ne,Pt,"\u2228","\\vee",!0),ne(G,Ne,dt,"\u221A","\\surd"),ne(G,Ne,ir,"(","("),ne(G,Ne,ir,"[","["),ne(G,Ne,ir,"\u27E8","\\langle",!0),ne(G,Ne,ir,"\u2223","\\lvert"),ne(G,Ne,ir,"\u2225","\\lVert"),ne(G,Ne,ct,")",")"),ne(G,Ne,ct,"]","]"),ne(G,Ne,ct,"?","?"),ne(G,Ne,ct,"!","!"),ne(G,Ne,ct,"\u27E9","\\rangle",!0),ne(G,Ne,ct,"\u2223","\\rvert"),ne(G,Ne,ct,"\u2225","\\rVert"),ne(G,Ne,er,"=","="),ne(G,Ne,er,"<","<"),ne(G,Ne,er,">",">"),ne(G,Ne,er,":",":"),ne(G,Ne,er,"\u2248","\\approx",!0),ne(G,Ne,er,"\u2245","\\cong",!0),ne(G,Ne,er,"\u2265","\\ge"),ne(G,Ne,er,"\u2265","\\geq",!0),ne(G,Ne,er,"\u2190","\\gets"),ne(G,Ne,er,">","\\gt"),ne(G,Ne,er,"\u2208","\\in",!0),ne(G,Ne,er,"\uE020","\\@not"),ne(G,Ne,er,"\u2282","\\subset",!0),ne(G,Ne,er,"\u2283","\\supset",!0),ne(G,Ne,er,"\u2286","\\subseteq",!0),ne(G,Ne,er,"\u2287","\\supseteq",!0),ne(G,q,er,"\u2288","\\nsubseteq",!0),ne(G,q,er,"\u2289","\\nsupseteq",!0),ne(G,Ne,er,"\u22A8","\\models"),ne(G,Ne,er,"\u2190","\\leftarrow",!0),ne(G,Ne,er,"\u2264","\\le"),ne(G,Ne,er,"\u2264","\\leq",!0),ne(G,Ne,er,"<","\\lt"),ne(G,Ne,er,"\u2192","\\rightarrow",!0),ne(G,Ne,er,"\u2192","\\to"),ne(G,q,er,"\u2271","\\ngeq",!0),ne(G,q,er,"\u2270","\\nleq",!0),ne(G,Ne,Kt,"\xA0","\\ "),ne(G,Ne,Kt,"\xA0","~"),ne(G,Ne,Kt,"\xA0","\\space"),ne(G,Ne,Kt,"\xA0","\\nobreakspace"),ne(Pe,Ne,Kt,"\xA0","\\ "),ne(Pe,Ne,Kt,"\xA0","~"),ne(Pe,Ne,Kt,"\xA0","\\space"),ne(Pe,Ne,Kt,"\xA0","\\nobreakspace"),ne(G,Ne,Kt,null,"\\nobreak"),ne(G,Ne,Kt,null,"\\allowbreak"),ne(G,Ne,dr,",",","),ne(G,Ne,dr,";",";"),ne(G,q,Pt,"\u22BC","\\barwedge",!0),ne(G,q,Pt,"\u22BB","\\veebar",!0),ne(G,Ne,Pt,"\u2299","\\odot",!0),ne(G,Ne,Pt,"\u2295","\\oplus",!0),ne(G,Ne,Pt,"\u2297","\\otimes",!0),ne(G,Ne,dt,"\u2202","\\partial",!0),ne(G,Ne,Pt,"\u2298","\\oslash",!0),ne(G,q,Pt,"\u229A","\\circledcirc",!0),ne(G,q,Pt,"\u22A1","\\boxdot",!0),ne(G,Ne,Pt,"\u25B3","\\bigtriangleup"),ne(G,Ne,Pt,"\u25BD","\\bigtriangledown"),ne(G,Ne,Pt,"\u2020","\\dagger"),ne(G,Ne,Pt,"\u22C4","\\diamond"),ne(G,Ne,Pt,"\u22C6","\\star"),ne(G,Ne,Pt,"\u25C3","\\triangleleft"),ne(G,Ne,Pt,"\u25B9","\\triangleright"),ne(G,Ne,ir,"{","\\{"),ne(Pe,Ne,dt,"{","\\{"),ne(Pe,Ne,dt,"{","\\textbraceleft"),ne(G,Ne,ct,"}","\\}"),ne(Pe,Ne,dt,"}","\\}"),ne(Pe,Ne,dt,"}","\\textbraceright"),ne(G,Ne,ir,"{","\\lbrace"),ne(G,Ne,ct,"}","\\rbrace"),ne(G,Ne,ir,"[","\\lbrack"),ne(Pe,Ne,dt,"[","\\lbrack"),ne(G,Ne,ct,"]","\\rbrack"),ne(Pe,Ne,dt,"]","\\rbrack"),ne(G,Ne,ir,"(","\\lparen"),ne(G,Ne,ct,")","\\rparen"),ne(Pe,Ne,dt,"<","\\textless"),ne(Pe,Ne,dt,">","\\textgreater"),ne(G,Ne,ir,"\u230A","\\lfloor",!0),ne(G,Ne,ct,"\u230B","\\rfloor",!0),ne(G,Ne,ir,"\u2308","\\lceil",!0),ne(G,Ne,ct,"\u2309","\\rceil",!0),ne(G,Ne,dt,"\\","\\backslash"),ne(G,Ne,dt,"\u2223","|"),ne(G,Ne,dt,"\u2223","\\vert"),ne(Pe,Ne,dt,"|","\\textbar"),ne(G,Ne,dt,"\u2225","\\|"),ne(G,Ne,dt,"\u2225","\\Vert"),ne(Pe,Ne,dt,"\u2225","\\textbardbl"),ne(Pe,Ne,dt,"~","\\textasciitilde"),ne(Pe,Ne,dt,"\\","\\textbackslash"),ne(Pe,Ne,dt,"^","\\textasciicircum"),ne(G,Ne,er,"\u2191","\\uparrow",!0),ne(G,Ne,er,"\u21D1","\\Uparrow",!0),ne(G,Ne,er,"\u2193","\\downarrow",!0),ne(G,Ne,er,"\u21D3","\\Downarrow",!0),ne(G,Ne,er,"\u2195","\\updownarrow",!0),ne(G,Ne,er,"\u21D5","\\Updownarrow",!0),ne(G,Ne,Zr,"\u2210","\\coprod"),ne(G,Ne,Zr,"\u22C1","\\bigvee"),ne(G,Ne,Zr,"\u22C0","\\bigwedge"),ne(G,Ne,Zr,"\u2A04","\\biguplus"),ne(G,Ne,Zr,"\u22C2","\\bigcap"),ne(G,Ne,Zr,"\u22C3","\\bigcup"),ne(G,Ne,Zr,"\u222B","\\int"),ne(G,Ne,Zr,"\u222B","\\intop"),ne(G,Ne,Zr,"\u222C","\\iint"),ne(G,Ne,Zr,"\u222D","\\iiint"),ne(G,Ne,Zr,"\u220F","\\prod"),ne(G,Ne,Zr,"\u2211","\\sum"),ne(G,Ne,Zr,"\u2A02","\\bigotimes"),ne(G,Ne,Zr,"\u2A01","\\bigoplus"),ne(G,Ne,Zr,"\u2A00","\\bigodot"),ne(G,Ne,Zr,"\u222E","\\oint"),ne(G,Ne,Zr,"\u222F","\\oiint"),ne(G,Ne,Zr,"\u2230","\\oiiint"),ne(G,Ne,Zr,"\u2A06","\\bigsqcup"),ne(G,Ne,Zr,"\u222B","\\smallint"),ne(Pe,Ne,Gt,"\u2026","\\textellipsis"),ne(G,Ne,Gt,"\u2026","\\mathellipsis"),ne(Pe,Ne,Gt,"\u2026","\\ldots",!0),ne(G,Ne,Gt,"\u2026","\\ldots",!0),ne(G,Ne,Gt,"\u22EF","\\@cdots",!0),ne(G,Ne,Gt,"\u22F1","\\ddots",!0),ne(G,Ne,dt,"\u22EE","\\varvdots"),ne(G,Ne,ht,"\u02CA","\\acute"),ne(G,Ne,ht,"\u02CB","\\grave"),ne(G,Ne,ht,"\xA8","\\ddot"),ne(G,Ne,ht,"~","\\tilde"),ne(G,Ne,ht,"\u02C9","\\bar"),ne(G,Ne,ht,"\u02D8","\\breve"),ne(G,Ne,ht,"\u02C7","\\check"),ne(G,Ne,ht,"^","\\hat"),ne(G,Ne,ht,"\u20D7","\\vec"),ne(G,Ne,ht,"\u02D9","\\dot"),ne(G,Ne,ht,"\u02DA","\\mathring"),ne(G,Ne,or,"\u0131","\\imath",!0),ne(G,Ne,or,"\u0237","\\jmath",!0),ne(Pe,Ne,dt,"\u0131","\\i",!0),ne(Pe,Ne,dt,"\u0237","\\j",!0),ne(Pe,Ne,dt,"\xDF","\\ss",!0),ne(Pe,Ne,dt,"\xE6","\\ae",!0),ne(Pe,Ne,dt,"\xE6","\\ae",!0),ne(Pe,Ne,dt,"\u0153","\\oe",!0),ne(Pe,Ne,dt,"\xF8","\\o",!0),ne(Pe,Ne,dt,"\xC6","\\AE",!0),ne(Pe,Ne,dt,"\u0152","\\OE",!0),ne(Pe,Ne,dt,"\xD8","\\O",!0),ne(Pe,Ne,ht,"\u02CA","\\'"),ne(Pe,Ne,ht,"\u02CB","\\`"),ne(Pe,Ne,ht,"\u02C6","\\^"),ne(Pe,Ne,ht,"\u02DC","\\~"),ne(Pe,Ne,ht,"\u02C9","\\="),ne(Pe,Ne,ht,"\u02D8","\\u"),ne(Pe,Ne,ht,"\u02D9","\\."),ne(Pe,Ne,ht,"\u02DA","\\r"),ne(Pe,Ne,ht,"\u02C7","\\v"),ne(Pe,Ne,ht,"\xA8",'\\"'),ne(Pe,Ne,ht,"\u02DD","\\H"),ne(Pe,Ne,ht,"\u25EF","\\textcircled");var Hr={"--":!0,"---":!0,"``":!0,"''":!0};ne(Pe,Ne,dt,"\u2013","--"),ne(Pe,Ne,dt,"\u2013","\\textendash"),ne(Pe,Ne,dt,"\u2014","---"),ne(Pe,Ne,dt,"\u2014","\\textemdash"),ne(Pe,Ne,dt,"\u2018","`"),ne(Pe,Ne,dt,"\u2018","\\textquoteleft"),ne(Pe,Ne,dt,"\u2019","'"),ne(Pe,Ne,dt,"\u2019","\\textquoteright"),ne(Pe,Ne,dt,"\u201C","``"),ne(Pe,Ne,dt,"\u201C","\\textquotedblleft"),ne(Pe,Ne,dt,"\u201D","''"),ne(Pe,Ne,dt,"\u201D","\\textquotedblright"),ne(G,Ne,dt,"\xB0","\\degree",!0),ne(Pe,Ne,dt,"\xB0","\\degree"),ne(Pe,Ne,dt,"\xB0","\\textdegree",!0),ne(G,Ne,or,"\xA3","\\pounds"),ne(G,Ne,or,"\xA3","\\mathsterling",!0),ne(Pe,Ne,or,"\xA3","\\pounds"),ne(Pe,Ne,or,"\xA3","\\textsterling",!0),ne(G,q,dt,"\u2720","\\maltese"),ne(Pe,q,dt,"\u2720","\\maltese"),ne(Pe,Ne,Kt,"\xA0","\\ "),ne(Pe,Ne,Kt,"\xA0"," "),ne(Pe,Ne,Kt,"\xA0","~");for(var fn='0123456789/@."',Nn=0;Nnpe&&(pe=Xt.height),Xt.depth>be&&(be=Xt.depth),Xt.maxFontSize>He&&(He=Xt.maxFontSize)}ie.height=pe,ie.depth=be,ie.maxFontSize=He},Re=function(ie,pe,be,He){var yt=new X(ie,pe,be,He);return Se(yt),yt},je=function(ie,pe,be,He){return new X(ie,pe,be,He)},Ye=function(ie,pe,be){var He=Re([ie],[],pe);return He.height=Math.max(be||pe.fontMetrics().defaultRuleThickness,pe.minRuleThickness),He.style.borderBottomWidth=He.height+"em",He.maxFontSize=1,He},Ve=function(ie,pe,be,He){var yt=new Q(ie,pe,be,He);return Se(yt),yt},qe=function(ie){var pe=new oe(ie);return Se(pe),pe},xt=function(ie,pe){return ie instanceof oe?Re([],[ie],pe):ie},ut=function(ie){if(ie.positionType==="individualShift"){for(var pe=ie.children,be=[pe[0]],He=-pe[0].shift-pe[0].elem.depth,yt=He,Xt=1;Xt0&&(He.push(ui(yt,ie)),yt=[]),He.push(be[Xt]));yt.length>0&&He.push(ui(yt,ie));var Xr;pe&&(Xr=ui(Yr(pe,ie,!0)),Xr.classes=["tag"],He.push(Xr));var hn=ar(["katex-html"],He);if(hn.setAttribute("aria-hidden","true"),Xr){var Kn=Xr.children[0];Kn.style.height=hn.height+hn.depth+"em",Kn.style.verticalAlign=-hn.depth+"em"}return hn}function Pi(At){return new oe(At)}var zi=function(){function At(pe,be){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=pe,this.attributes={},this.children=be||[]}var ie=At.prototype;return ie.setAttribute=function(be,He){this.attributes[be]=He},ie.getAttribute=function(be){return this.attributes[be]},ie.toNode=function(){var be=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var He in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,He)&&be.setAttribute(He,this.attributes[He]);for(var yt=0;yt",be},ie.toText=function(){return this.children.map(function(be){return be.toText()}).join("")},At}(),Ri=function(){function At(pe){this.text=void 0,this.text=pe}var ie=At.prototype;return ie.toNode=function(){return document.createTextNode(this.text)},ie.toMarkup=function(){return p.escape(this.toText())},ie.toText=function(){return this.text},At}(),Yi=function(){function At(pe){this.width=void 0,this.character=void 0,this.width=pe,pe>=.05555&&pe<=.05556?this.character="\u200A":pe>=.1666&&pe<=.1667?this.character="\u2009":pe>=.2222&&pe<=.2223?this.character="\u2005":pe>=.2777&&pe<=.2778?this.character="\u2005\u200A":pe>=-.05556&&pe<=-.05555?this.character="\u200A\u2063":pe>=-.1667&&pe<=-.1666?this.character="\u2009\u2063":pe>=-.2223&&pe<=-.2222?this.character="\u205F\u2063":pe>=-.2778&&pe<=-.2777?this.character="\u2005\u2063":this.character=null}var ie=At.prototype;return ie.toNode=function(){if(this.character)return document.createTextNode(this.character);var be=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return be.setAttribute("width",this.width+"em"),be},ie.toMarkup=function(){return this.character?""+this.character+"":''},ie.toText=function(){return this.character?this.character:" "},At}(),$n={MathNode:zi,TextNode:Ri,SpaceNode:Yi,newDocumentFragment:Pi},gn=function(ie,pe,be){return Be[pe][ie]&&Be[pe][ie].replace&&ie.charCodeAt(0)!==55349&&!(Hr.hasOwnProperty(ie)&&be&&(be.fontFamily&&be.fontFamily.substr(4,2)==="tt"||be.font&&be.font.substr(4,2)==="tt"))&&(ie=Be[pe][ie].replace),new $n.TextNode(ie)},mi=function(ie){return ie.length===1?ie[0]:new $n.MathNode("mrow",ie)},Hi=function(ie,pe){if(pe.fontFamily==="texttt")return"monospace";if(pe.fontFamily==="textsf")return pe.fontShape==="textit"&&pe.fontWeight==="textbf"?"sans-serif-bold-italic":pe.fontShape==="textit"?"sans-serif-italic":pe.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(pe.fontShape==="textit"&&pe.fontWeight==="textbf")return"bold-italic";if(pe.fontShape==="textit")return"italic";if(pe.fontWeight==="textbf")return"bold";var be=pe.font;if(!be||be==="mathnormal")return null;var He=ie.mode;if(be==="mathit")return"italic";if(be==="boldsymbol")return"bold-italic";if(be==="mathbf")return"bold";if(be==="mathbb")return"double-struck";if(be==="mathfrak")return"fraktur";if(be==="mathscr"||be==="mathcal")return"script";if(be==="mathsf")return"sans-serif";if(be==="mathtt")return"monospace";var yt=ie.text;if(p.contains(["\\imath","\\jmath"],yt))return null;Be[He][yt]&&Be[He][yt].replace&&(yt=Be[He][yt].replace);var Xt=hr.fontMap[be].fontName;return ze(yt,Xt,He)?hr.fontMap[be].variant:null},Li=function(ie,pe,be){if(ie.length===1){var He=wr(ie[0],pe);return be&&He instanceof zi&&He.type==="mo"&&(He.setAttribute("lspace","0em"),He.setAttribute("rspace","0em")),[He]}for(var yt=[],Xt,Dr=0;Dr0&&(Fi.text=Fi.text.slice(0,1)+"\u0338"+Fi.text.slice(1),yt.pop())}}}yt.push(Xr),Xt=Xr}return yt},Bi=function(ie,pe,be){return mi(Li(ie,pe,be))},wr=function(ie,pe){if(!ie)return new $n.MathNode("mrow");if(Mt[ie.type]){var be=Mt[ie.type](ie,pe);return be}else throw new c("Got group of unknown type: '"+ie.type+"'")};function lr(At,ie,pe,be){var He=Li(At,pe),yt;He.length===1&&He[0]instanceof zi&&p.contains(["mrow","mtable"],He[0].type)?yt=He[0]:yt=new $n.MathNode("mrow",He);var Xt=new $n.MathNode("annotation",[new $n.TextNode(ie)]);Xt.setAttribute("encoding","application/x-tex");var Dr=new $n.MathNode("semantics",[yt,Xt]),Xr=new $n.MathNode("math",[Dr]);Xr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var hn=be?"katex":"katex-mathml";return hr.makeSpan([hn],[Xr])}var on=function(ie){return new Ht({style:ie.displayMode?j.DISPLAY:j.TEXT,maxSize:ie.maxSize,minRuleThickness:ie.minRuleThickness})},Zt=function(ie,pe){if(pe.displayMode){var be=["katex-display"];pe.leqno&&be.push("leqno"),pe.fleqn&&be.push("fleqn"),ie=hr.makeSpan(be,[ie])}return ie},br=function(ie,pe,be){var He=on(be),yt;if(be.output==="mathml")return lr(ie,pe,He,!0);if(be.output==="html"){var Xt=si(ie,He);yt=hr.makeSpan(["katex"],[Xt])}else{var Dr=lr(ie,pe,He,!1),Xr=si(ie,He);yt=hr.makeSpan(["katex"],[Dr,Xr])}return Zt(yt,be)},Or=function(ie,pe,be){var He=on(be),yt=si(ie,He),Xt=hr.makeSpan(["katex"],[yt]);return Zt(Xt,be)},Wr=br,An={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"},wt=function(ie){var pe=new $n.MathNode("mo",[new $n.TextNode(An[ie.substr(1)])]);return pe.setAttribute("stretchy","true"),pe},pr={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]},gr=function(ie){return ie.type==="ordgroup"?ie.body.length:1},Fr=function(ie,pe){function be(){var Xr=4e5,hn=ie.label.substr(1);if(p.contains(["widehat","widecheck","widetilde","utilde"],hn)){var Kn=ie,qn=gr(Kn.base),Qn,Ei,Fi;if(qn>5)hn==="widehat"||hn==="widecheck"?(Qn=420,Xr=2364,Fi=.42,Ei=hn+"4"):(Qn=312,Xr=2340,Fi=.34,Ei="tilde4");else{var va=[1,1,2,2,3,3][qn];hn==="widehat"||hn==="widecheck"?(Xr=[0,1062,2364,2364,2364][va],Qn=[0,239,300,360,420][va],Fi=[0,.24,.3,.3,.36,.42][va],Ei=hn+va):(Xr=[0,600,1033,2339,2340][va],Qn=[0,260,286,306,312][va],Fi=[0,.26,.286,.3,.306,.34][va],Ei="tilde"+va)}var Oa=new le(Ei),fo=new xe([Oa],{width:"100%",height:Fi+"em",viewBox:"0 0 "+Xr+" "+Qn,preserveAspectRatio:"none"});return{span:hr.makeSvgSpan([],[fo],pe),minWidth:0,height:Fi}}else{var wo=[],lo=pr[hn],Yo=lo[0],Vo=lo[1],No=lo[2],ao=No/1e3,Ka=Yo.length,is,Is;if(Ka===1){var Xo=lo[3];is=["hide-tail"],Is=[Xo]}else if(Ka===2)is=["halfarrow-left","halfarrow-right"],Is=["xMinYMin","xMaxYMin"];else if(Ka===3)is=["brace-left","brace-center","brace-right"],Is=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+Ka+" children.");for(var la=0;la0&&(yt.style.minWidth=Xt+"em"),yt},nn=function(ie,pe,be,He){var yt,Xt=ie.height+ie.depth+2*be;if(/fbox|color/.test(pe)){if(yt=hr.makeSpan(["stretchy",pe],[],He),pe==="fbox"){var Dr=He.color&&He.getColor();Dr&&(yt.style.borderColor=Dr)}}else{var Xr=[];/^[bx]cancel$/.test(pe)&&Xr.push(new fe({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(pe)&&Xr.push(new fe({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var hn=new xe(Xr,{width:"100%",height:Xt+"em"});yt=hr.makeSvgSpan([],[hn],He)}return yt.height=Xt,yt.style.height=Xt+"em",yt},cn={encloseSpan:nn,mathMLnode:wt,svgSpan:Fr},tn=function(ie,pe){var be,He,yt=en(ie,"supsub"),Xt;yt?(He=mn(yt.base,"accent"),be=He.base,yt.base=be,Xt=Ge(ti(yt,pe)),yt.base=He):(He=mn(ie,"accent"),be=He.base);var Dr=ti(be,pe.havingCrampedStyle()),Xr=He.isShifty&&p.isCharacterBox(be),hn=0;if(Xr){var Kn=p.getBaseElem(be),qn=ti(Kn,pe.havingCrampedStyle());hn=Ee(qn).skew}var Qn=Math.min(Dr.height,pe.fontMetrics().xHeight),Ei;if(He.isStretchy)Ei=cn.svgSpan(He,pe),Ei=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Dr},{type:"elem",elem:Ei,wrapperClasses:["svg-align"],wrapperStyle:hn>0?{width:"calc(100% - "+2*hn+"em)",marginLeft:2*hn+"em"}:void 0}]},pe);else{var Fi,va;He.label==="\\vec"?(Fi=hr.staticSvg("vec",pe),va=hr.svgData.vec[1]):(Fi=hr.makeOrd({mode:He.mode,text:He.label},pe,"textord"),Fi=Ee(Fi),Fi.italic=0,va=Fi.width),Ei=hr.makeSpan(["accent-body"],[Fi]);var Oa=He.label==="\\textcircled";Oa&&(Ei.classes.push("accent-full"),Qn=Dr.height);var fo=hn;Oa||(fo-=va/2),Ei.style.left=fo+"em",He.label==="\\textcircled"&&(Ei.style.top=".2em"),Ei=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Dr},{type:"kern",size:-Qn},{type:"elem",elem:Ei}]},pe)}var wo=hr.makeSpan(["mord","accent"],[Ei],pe);return Xt?(Xt.children[0]=wo,Xt.height=Math.max(wo.height,Xt.height),Xt.classes[0]="mord",Xt):wo},Ln=function(ie,pe){var be=ie.isStretchy?cn.mathMLnode(ie.label):new $n.MathNode("mo",[gn(ie.label,ie.mode)]),He=new $n.MathNode("mover",[wr(ie.base,pe),be]);return He.setAttribute("accent","true"),He},Tn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(At){return"\\"+At}).join("|"));bt({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(ie,pe){var be=pe[0],He=!Tn.test(ie.funcName),yt=!He||ie.funcName==="\\widehat"||ie.funcName==="\\widetilde"||ie.funcName==="\\widecheck";return{type:"accent",mode:ie.parser.mode,label:ie.funcName,isStretchy:He,isShifty:yt,base:be}},htmlBuilder:tn,mathmlBuilder:Ln}),bt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(ie,pe){var be=pe[0];return{type:"accent",mode:ie.parser.mode,label:ie.funcName,isStretchy:!1,isShifty:!0,base:be}},htmlBuilder:tn,mathmlBuilder:Ln}),bt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(ie,pe){var be=ie.parser,He=ie.funcName,yt=pe[0];return{type:"accentUnder",mode:be.mode,label:He,base:yt}},htmlBuilder:function(ie,pe){var be=ti(ie.base,pe),He=cn.svgSpan(ie,pe),yt=ie.label==="\\utilde"?.12:0,Xt=hr.makeVList({positionType:"bottom",positionData:He.height+yt,children:[{type:"elem",elem:He,wrapperClasses:["svg-align"]},{type:"kern",size:yt},{type:"elem",elem:be}]},pe);return hr.makeSpan(["mord","accentunder"],[Xt],pe)},mathmlBuilder:function(ie,pe){var be=cn.mathMLnode(ie.label),He=new $n.MathNode("munder",[wr(ie.base,pe),be]);return He.setAttribute("accentunder","true"),He}});var Gn=function(ie){var pe=new $n.MathNode("mpadded",ie?[ie]:[]);return pe.setAttribute("width","+0.6em"),pe.setAttribute("lspace","0.3em"),pe};bt({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(ie,pe,be){var He=ie.parser,yt=ie.funcName;return{type:"xArrow",mode:He.mode,label:yt,body:pe[0],below:be[0]}},htmlBuilder:function(ie,pe){var be=pe.style,He=pe.havingStyle(be.sup()),yt=hr.wrapFragment(ti(ie.body,He,pe),pe);yt.classes.push("x-arrow-pad");var Xt;ie.below&&(He=pe.havingStyle(be.sub()),Xt=hr.wrapFragment(ti(ie.below,He,pe),pe),Xt.classes.push("x-arrow-pad"));var Dr=cn.svgSpan(ie,pe),Xr=-pe.fontMetrics().axisHeight+.5*Dr.height,hn=-pe.fontMetrics().axisHeight-.5*Dr.height-.111;(yt.depth>.25||ie.label==="\\xleftequilibrium")&&(hn-=yt.depth);var Kn;if(Xt){var qn=-pe.fontMetrics().axisHeight+Xt.height+.5*Dr.height+.111;Kn=hr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:yt,shift:hn},{type:"elem",elem:Dr,shift:Xr},{type:"elem",elem:Xt,shift:qn}]},pe)}else Kn=hr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:yt,shift:hn},{type:"elem",elem:Dr,shift:Xr}]},pe);return Kn.children[0].children[0].children[1].classes.push("svg-align"),hr.makeSpan(["mrel","x-arrow"],[Kn],pe)},mathmlBuilder:function(ie,pe){var be=cn.mathMLnode(ie.label),He;if(ie.body){var yt=Gn(wr(ie.body,pe));if(ie.below){var Xt=Gn(wr(ie.below,pe));He=new $n.MathNode("munderover",[be,Xt,yt])}else He=new $n.MathNode("mover",[be,yt])}else if(ie.below){var Dr=Gn(wr(ie.below,pe));He=new $n.MathNode("munder",[be,Dr])}else He=Gn(),He=new $n.MathNode("mover",[be,He]);return He}}),bt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(ie,pe){for(var be=ie.parser,He=mn(pe[0],"ordgroup"),yt=He.body,Xt="",Dr=0;Dr","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ga=[0,1.2,1.8,2.4,3],ra=function(ie,pe,be,He,yt){if(ie==="<"||ie==="\\lt"||ie==="\u27E8"?ie="\\langle":(ie===">"||ie==="\\gt"||ie==="\u27E9")&&(ie="\\rangle"),p.contains(Vi,ie)||p.contains(Gi,ie))return vi(ie,pe,!1,be,He,yt);if(p.contains(ta,ie))return $i(ie,ga[pe],!1,be,He,yt);throw new c("Illegal delimiter: '"+ie+"'")},pa=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],_a=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"stack"}],Da=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ra=function(ie){if(ie.type==="small")return"Main-Regular";if(ie.type==="large")return"Size"+ie.size+"-Regular";if(ie.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+ie.type+"' here.")},Ao=function(ie,pe,be,He){for(var yt=Math.min(2,3-He.style.size),Xt=yt;Xtpe)return be[Xt]}return be[be.length-1]},ja=function(ie,pe,be,He,yt,Xt){ie==="<"||ie==="\\lt"||ie==="\u27E8"?ie="\\langle":(ie===">"||ie==="\\gt"||ie==="\u27E9")&&(ie="\\rangle");var Dr;p.contains(Gi,ie)?Dr=pa:p.contains(Vi,ie)?Dr=Da:Dr=_a;var Xr=Ao(ie,pe,Dr,He);return Xr.type==="small"?xi(ie,Xr.style,be,He,yt,Xt):Xr.type==="large"?vi(ie,Xr.size,be,He,yt,Xt):$i(ie,pe,be,He,yt,Xt)},Ya=function(ie,pe,be,He,yt,Xt){var Dr=He.fontMetrics().axisHeight*He.sizeMultiplier,Xr=901,hn=5/He.fontMetrics().ptPerEm,Kn=Math.max(pe-Dr,be+Dr),qn=Math.max(Kn/500*Xr,2*Kn-hn);return ja(ie,qn,!0,He,yt,Xt)},Ia={sqrtImage:Xi,sizedDelim:ra,customSizedDelim:ja,leftRightDelim:Ya},Va={"\\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}},co=["(","\\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 Ca(At,ie){var pe=_i(At);if(pe&&p.contains(co,pe.text))return pe;throw new c("Invalid delimiter: '"+(pe?pe.text:JSON.stringify(At))+"' after '"+ie.funcName+"'",At)}bt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(ie,pe){var be=Ca(pe[0],ie);return{type:"delimsizing",mode:ie.parser.mode,size:Va[ie.funcName].size,mclass:Va[ie.funcName].mclass,delim:be.text}},htmlBuilder:function(ie,pe){return ie.delim==="."?hr.makeSpan([ie.mclass]):Ia.sizedDelim(ie.delim,ie.size,pe,ie.mode,[ie.mclass])},mathmlBuilder:function(ie){var pe=[];ie.delim!=="."&&pe.push(gn(ie.delim,ie.mode));var be=new $n.MathNode("mo",pe);return ie.mclass==="mopen"||ie.mclass==="mclose"?be.setAttribute("fence","true"):be.setAttribute("fence","false"),be}});function yo(At){if(!At.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}bt({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(ie,pe){var be=ie.parser.gullet.macros.get("\\current@color");if(be&&typeof be!="string")throw new c("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:ie.parser.mode,delim:Ca(pe[0],ie).text,color:be}}}),bt({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(ie,pe){var be=Ca(pe[0],ie),He=ie.parser;++He.leftrightDepth;var yt=He.parseExpression(!1);--He.leftrightDepth,He.expect("\\right",!1);var Xt=mn(He.parseFunction(),"leftright-right");return{type:"leftright",mode:He.mode,body:yt,left:be.text,right:Xt.delim,rightColor:Xt.color}},htmlBuilder:function(ie,pe){yo(ie);for(var be=Yr(ie.body,pe,!0,["mopen","mclose"]),He=0,yt=0,Xt=!1,Dr=0;Dr-1?"mpadded":"menclose",[wr(ie.body,pe)]);switch(ie.label){case"\\cancel":He.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":He.setAttribute("notation","downdiagonalstrike");break;case"\\sout":He.setAttribute("notation","horizontalstrike");break;case"\\fbox":He.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(be=pe.fontMetrics().fboxsep*pe.fontMetrics().ptPerEm,He.setAttribute("width","+"+2*be+"pt"),He.setAttribute("height","+"+2*be+"pt"),He.setAttribute("lspace",be+"pt"),He.setAttribute("voffset",be+"pt"),ie.label==="\\fcolorbox"){var yt=Math.max(pe.fontMetrics().fboxrule,pe.minRuleThickness);He.setAttribute("style","border: "+yt+"em solid "+String(ie.borderColor))}break;case"\\xcancel":He.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return ie.backgroundColor&&He.setAttribute("mathbackground",ie.backgroundColor),He};bt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(ie,pe,be){var He=ie.parser,yt=ie.funcName,Xt=mn(pe[0],"color-token").color,Dr=pe[1];return{type:"enclose",mode:He.mode,label:yt,backgroundColor:Xt,body:Dr}},htmlBuilder:uo,mathmlBuilder:Xa}),bt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(ie,pe,be){var He=ie.parser,yt=ie.funcName,Xt=mn(pe[0],"color-token").color,Dr=mn(pe[1],"color-token").color,Xr=pe[2];return{type:"enclose",mode:He.mode,label:yt,backgroundColor:Dr,borderColor:Xt,body:Xr}},htmlBuilder:uo,mathmlBuilder:Xa}),bt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(ie,pe){var be=ie.parser;return{type:"enclose",mode:be.mode,label:"\\fbox",body:pe[0]}}}),bt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(ie,pe,be){var He=ie.parser,yt=ie.funcName,Xt=pe[0];return{type:"enclose",mode:He.mode,label:yt,body:Xt}},htmlBuilder:uo,mathmlBuilder:Xa});var Oo={};function oa(At){for(var ie=At.type,pe=At.names,be=At.props,He=At.handler,yt=At.htmlBuilder,Xt=At.mathmlBuilder,Dr={type:ie,numArgs:be.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:He},Xr=0;Xr0&&(lo+=.25),hn.push({pos:lo,isDashed:rs[os]})}for(Yo(Xt[0]),be=0;be0&&(Xo+=wo,ao=Dr)continue;var Zo=void 0;(He>0||ie.hskipBeforeAndAfter)&&(Zo=p.deflt(Ss.pregap,Qn),Zo!==0&&(fs=hr.makeSpan(["arraycolsep"],[]),fs.style.width=Zo+"em",Hs.push(fs)));var As=[];for(be=0;be0){for(var Wa=hr.makeLineSpan("hline",pe,Kn),Eo=hr.makeLineSpan("hdashline",pe,Kn),Go=[{type:"elem",elem:Xr,shift:0}];hn.length>0;){var $o=hn.pop(),Co=$o.pos-la;$o.isDashed?Go.push({type:"elem",elem:Eo,shift:Co}):Go.push({type:"elem",elem:Wa,shift:Co})}Xr=hr.makeVList({positionType:"individualShift",children:Go},pe)}return hr.makeSpan(["mord"],[Xr],pe)},_o={c:"center ",l:"left ",r:"right "},go=function(ie,pe){var be=new $n.MathNode("mtable",ie.body.map(function(lo){return new $n.MathNode("mtr",lo.map(function(Yo){return new $n.MathNode("mtd",[wr(Yo,pe)])}))})),He=ie.arraystretch===.5?.1:.16+ie.arraystretch-1+(ie.addJot?.09:0);be.setAttribute("rowspacing",He+"em");var yt="",Xt="";if(ie.cols){var Dr=ie.cols,Xr="",hn=!1,Kn=0,qn=Dr.length;Dr[0].type==="separator"&&(yt+="top ",Kn=1),Dr[Dr.length-1].type==="separator"&&(yt+="bottom ",qn-=1);for(var Qn=Kn;Qn0?"left ":"",yt+=fo[fo.length-1].length>0?"right ":"";for(var wo=1;wo0&&Qn&&(va=1),be[Ei]={type:"align",align:Fi,pregap:va,postgap:0}}return He.colSeparationType=Qn?"align":"alignat",He};oa({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(ie,pe){var be=_i(pe[0]),He=be?[pe[0]]:mn(pe[0],"ordgroup").body,yt=He.map(function(Dr){var Xr=di(Dr),hn=Xr.text;if("lcr".indexOf(hn)!==-1)return{type:"align",align:hn};if(hn==="|")return{type:"separator",separator:"|"};if(hn===":")return{type:"separator",separator:":"};throw new c("Unknown column alignment: "+hn,Dr)}),Xt={cols:yt,hskipBeforeAndAfter:!0};return oo(ie.parser,Xt,Ro(ie.envName))},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(ie){var pe={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[ie.envName],be={hskipBeforeAndAfter:!1},He=oo(ie.parser,be,Ro(ie.envName));return pe?{type:"leftright",mode:ie.mode,body:[He],left:pe[0],right:pe[1],rightColor:void 0}:He},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(ie){var pe={arraystretch:.5},be=oo(ie.parser,pe,"script");return be.colSeparationType="small",be},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["subarray"],props:{numArgs:1},handler:function(ie,pe){var be=_i(pe[0]),He=be?[pe[0]]:mn(pe[0],"ordgroup").body,yt=He.map(function(Dr){var Xr=di(Dr),hn=Xr.text;if("lc".indexOf(hn)!==-1)return{type:"align",align:hn};throw new c("Unknown column alignment: "+hn,Dr)});if(yt.length>1)throw new c("{subarray} can contain only one column");var Xt={cols:yt,hskipBeforeAndAfter:!1,arraystretch:.5};if(Xt=oo(ie.parser,Xt,"script"),Xt.body[0].length>1)throw new c("{subarray} can contain only one column");return Xt},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(ie){var pe={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},be=oo(ie.parser,pe,Ro(ie.envName));return{type:"leftright",mode:ie.mode,body:[be],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["aligned"],props:{numArgs:0},handler:Ja,htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["gathered"],props:{numArgs:0},handler:function(ie){var pe={cols:[{type:"align",align:"c"}],addJot:!0};return oo(ie.parser,pe,"display")},htmlBuilder:Ga,mathmlBuilder:go}),oa({type:"array",names:["alignedat"],props:{numArgs:1},handler:Ja,htmlBuilder:Ga,mathmlBuilder:go}),bt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(ie,pe){throw new c(ie.funcName+" valid only within array environment")}});var Fa=Oo,ha=Fa;bt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(ie,pe){var be=ie.parser,He=ie.funcName,yt=pe[0];if(yt.type!=="ordgroup")throw new c("Invalid environment name",yt);for(var Xt="",Dr=0;Dr=j.SCRIPT.id?be.text():j.DISPLAY:ie==="text"&&be.size===j.DISPLAY.size?be=j.TEXT:ie==="script"?be=j.SCRIPT:ie==="scriptscript"&&(be=j.SCRIPTSCRIPT),be},Ur=function(ie,pe){var be=kn(ie.size,pe.style),He=be.fracNum(),yt=be.fracDen(),Xt;Xt=pe.havingStyle(He);var Dr=ti(ie.numer,Xt,pe);if(ie.continued){var Xr=8.5/pe.fontMetrics().ptPerEm,hn=3.5/pe.fontMetrics().ptPerEm;Dr.height=Dr.height0?va=3*Ei:va=7*Ei,Oa=pe.fontMetrics().denom1):(Qn>0?(Fi=pe.fontMetrics().num2,va=Ei):(Fi=pe.fontMetrics().num3,va=3*Ei),Oa=pe.fontMetrics().denom2);var fo;if(qn){var lo=pe.fontMetrics().axisHeight;Fi-Dr.depth-(lo+.5*Qn)0&&(pe=ie,pe=pe==="."?null:pe),pe};bt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(ie,pe){var be=ie.parser,He=pe[4],yt=pe[5],Xt=en(pe[0],"atom");Xt&&(Xt=kr(pe[0],"open"));var Dr=Xt?Hn(Xt.text):null,Xr=en(pe[1],"atom");Xr&&(Xr=kr(pe[1],"close"));var hn=Xr?Hn(Xr.text):null,Kn=mn(pe[2],"size"),qn,Qn=null;Kn.isBlank?qn=!0:(Qn=Kn.value,qn=Qn.number>0);var Ei="auto",Fi=en(pe[3],"ordgroup");if(Fi){if(Fi.body.length>0){var va=mn(Fi.body[0],"textord");Ei=jn[Number(va.text)]}}else Fi=mn(pe[3],"textord"),Ei=jn[Number(Fi.text)];return{type:"genfrac",mode:be.mode,numer:He,denom:yt,continued:!1,hasBarLine:qn,barSize:Qn,leftDelim:Dr,rightDelim:hn,size:Ei}},htmlBuilder:Ur,mathmlBuilder:En}),bt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(ie,pe){var be=ie.parser,He=ie.funcName,yt=ie.token;return{type:"infix",mode:be.mode,replaceWith:"\\\\abovefrac",size:mn(pe[0],"size").value,token:yt}}}),bt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(ie,pe){var be=ie.parser,He=ie.funcName,yt=pe[0],Xt=u(mn(pe[1],"infix").size),Dr=pe[2],Xr=Xt.number>0;return{type:"genfrac",mode:be.mode,numer:yt,denom:Dr,continued:!1,hasBarLine:Xr,barSize:Xt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ur,mathmlBuilder:En});var Bn=function(ie,pe){var be=pe.style,He,yt,Xt=en(ie,"supsub");Xt?(He=Xt.sup?ti(Xt.sup,pe.havingStyle(be.sup()),pe):ti(Xt.sub,pe.havingStyle(be.sub()),pe),yt=mn(Xt.base,"horizBrace")):yt=mn(ie,"horizBrace");var Dr=ti(yt.base,pe.havingBaseStyle(j.DISPLAY)),Xr=cn.svgSpan(yt,pe),hn;if(yt.isOver?(hn=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Dr},{type:"kern",size:.1},{type:"elem",elem:Xr}]},pe),hn.children[0].children[0].children[1].classes.push("svg-align")):(hn=hr.makeVList({positionType:"bottom",positionData:Dr.depth+.1+Xr.height,children:[{type:"elem",elem:Xr},{type:"kern",size:.1},{type:"elem",elem:Dr}]},pe),hn.children[0].children[0].children[0].classes.push("svg-align")),He){var Kn=hr.makeSpan(["mord",yt.isOver?"mover":"munder"],[hn],pe);yt.isOver?hn=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Kn},{type:"kern",size:.2},{type:"elem",elem:He}]},pe):hn=hr.makeVList({positionType:"bottom",positionData:Kn.depth+.2+He.height+He.depth,children:[{type:"elem",elem:He},{type:"kern",size:.2},{type:"elem",elem:Kn}]},pe)}return hr.makeSpan(["mord",yt.isOver?"mover":"munder"],[hn],pe)},ri=function(ie,pe){var be=cn.mathMLnode(ie.label);return new $n.MathNode(ie.isOver?"mover":"munder",[wr(ie.base,pe),be])};bt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(ie,pe){var be=ie.parser,He=ie.funcName;return{type:"horizBrace",mode:be.mode,label:He,isOver:/^\\over/.test(He),base:pe[0]}},htmlBuilder:Bn,mathmlBuilder:ri}),bt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(ie,pe){var be=ie.parser,He=pe[1],yt=mn(pe[0],"url").url;return be.settings.isTrusted({command:"\\href",url:yt})?{type:"href",mode:be.mode,href:yt,body:tr(He)}:be.formatUnsupportedCmd("\\href")},htmlBuilder:function(ie,pe){var be=Yr(ie.body,pe,!1);return hr.makeAnchor(ie.href,[],be,pe)},mathmlBuilder:function(ie,pe){var be=Bi(ie.body,pe);return be instanceof zi||(be=new zi("mrow",[be])),be.setAttribute("href",ie.href),be}}),bt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(ie,pe){var be=ie.parser,He=mn(pe[0],"url").url;if(!be.settings.isTrusted({command:"\\url",url:He}))return be.formatUnsupportedCmd("\\url");for(var yt=[],Xt=0;Xt0&&(He=mr(ie.totalheight,pe)-be,He=Number(He.toFixed(2)));var yt=0;ie.width.number>0&&(yt=mr(ie.width,pe));var Xt={height:be+He+"em"};yt>0&&(Xt.width=yt+"em"),He>0&&(Xt.verticalAlign=-He+"em");var Dr=new ge(ie.src,ie.alt,Xt);return Dr.height=be,Dr.depth=He,Dr},mathmlBuilder:function(ie,pe){var be=new $n.MathNode("mglyph",[]);be.setAttribute("alt",ie.alt);var He=mr(ie.height,pe),yt=0;if(ie.totalheight.number>0&&(yt=mr(ie.totalheight,pe)-He,yt=yt.toFixed(2),be.setAttribute("valign","-"+yt+"em")),be.setAttribute("height",He+yt+"em"),ie.width.number>0){var Xt=mr(ie.width,pe);be.setAttribute("width",Xt+"em")}return be.setAttribute("src",ie.src),be}}),bt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ie,pe){var be=ie.parser,He=ie.funcName,yt=mn(pe[0],"size");if(be.settings.strict){var Xt=He[1]==="m",Dr=yt.value.unit==="mu";Xt?(Dr||be.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+He+" supports only mu units, "+("not "+yt.value.unit+" units")),be.mode!=="math"&&be.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+He+" works only in math mode")):Dr&&be.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+He+" doesn't support mu units")}return{type:"kern",mode:be.mode,dimension:yt.value}},htmlBuilder:function(ie,pe){return hr.makeGlue(ie.dimension,pe)},mathmlBuilder:function(ie,pe){var be=mr(ie.dimension,pe);return new $n.SpaceNode(be)}}),bt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(ie,pe){var be=ie.parser,He=ie.funcName,yt=pe[0];return{type:"lap",mode:be.mode,alignment:He.slice(5),body:yt}},htmlBuilder:function(ie,pe){var be;ie.alignment==="clap"?(be=hr.makeSpan([],[ti(ie.body,pe)]),be=hr.makeSpan(["inner"],[be],pe)):be=hr.makeSpan(["inner"],[ti(ie.body,pe)]);var He=hr.makeSpan(["fix"],[]),yt=hr.makeSpan([ie.alignment],[be,He],pe),Xt=hr.makeSpan(["strut"]);return Xt.style.height=yt.height+yt.depth+"em",Xt.style.verticalAlign=-yt.depth+"em",yt.children.unshift(Xt),yt=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:yt}]},pe),hr.makeSpan(["mord"],[yt],pe)},mathmlBuilder:function(ie,pe){var be=new $n.MathNode("mpadded",[wr(ie.body,pe)]);if(ie.alignment!=="rlap"){var He=ie.alignment==="llap"?"-1":"-0.5";be.setAttribute("lspace",He+"width")}return be.setAttribute("width","0px"),be}}),bt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ie,pe){var be=ie.funcName,He=ie.parser,yt=He.mode;He.switchMode("math");var Xt=be==="\\("?"\\)":"$",Dr=He.parseExpression(!1,Xt);return He.expect(Xt),He.switchMode(yt),{type:"styling",mode:He.mode,style:"text",body:Dr}}}),bt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ie,pe){throw new c("Mismatched "+ie.funcName)}});var ii=function(ie,pe){switch(pe.style.size){case j.DISPLAY.size:return ie.display;case j.TEXT.size:return ie.text;case j.SCRIPT.size:return ie.script;case j.SCRIPTSCRIPT.size:return ie.scriptscript;default:return ie.text}};bt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(ie,pe){var be=ie.parser;return{type:"mathchoice",mode:be.mode,display:tr(pe[0]),text:tr(pe[1]),script:tr(pe[2]),scriptscript:tr(pe[3])}},htmlBuilder:function(ie,pe){var be=ii(ie,pe),He=Yr(be,pe,!1);return hr.makeFragment(He)},mathmlBuilder:function(ie,pe){var be=ii(ie,pe);return Bi(be,pe)}});var ai=function(ie,pe,be,He,yt,Xt,Dr){ie=hr.makeSpan([],[ie]);var Xr,hn;if(pe){var Kn=ti(pe,He.havingStyle(yt.sup()),He);hn={elem:Kn,kern:Math.max(He.fontMetrics().bigOpSpacing1,He.fontMetrics().bigOpSpacing3-Kn.depth)}}if(be){var qn=ti(be,He.havingStyle(yt.sub()),He);Xr={elem:qn,kern:Math.max(He.fontMetrics().bigOpSpacing2,He.fontMetrics().bigOpSpacing4-qn.height)}}var Qn;if(hn&&Xr){var Ei=He.fontMetrics().bigOpSpacing5+Xr.elem.height+Xr.elem.depth+Xr.kern+ie.depth+Dr;Qn=hr.makeVList({positionType:"bottom",positionData:Ei,children:[{type:"kern",size:He.fontMetrics().bigOpSpacing5},{type:"elem",elem:Xr.elem,marginLeft:-Xt+"em"},{type:"kern",size:Xr.kern},{type:"elem",elem:ie},{type:"kern",size:hn.kern},{type:"elem",elem:hn.elem,marginLeft:Xt+"em"},{type:"kern",size:He.fontMetrics().bigOpSpacing5}]},He)}else if(Xr){var Fi=ie.height-Dr;Qn=hr.makeVList({positionType:"top",positionData:Fi,children:[{type:"kern",size:He.fontMetrics().bigOpSpacing5},{type:"elem",elem:Xr.elem,marginLeft:-Xt+"em"},{type:"kern",size:Xr.kern},{type:"elem",elem:ie}]},He)}else if(hn){var va=ie.depth+Dr;Qn=hr.makeVList({positionType:"bottom",positionData:va,children:[{type:"elem",elem:ie},{type:"kern",size:hn.kern},{type:"elem",elem:hn.elem,marginLeft:Xt+"em"},{type:"kern",size:He.fontMetrics().bigOpSpacing5}]},He)}else return ie;return hr.makeSpan(["mop","op-limits"],[Qn],He)},ki=["\\smallint"],bi=function(ie,pe){var be,He,yt=!1,Xt,Dr=en(ie,"supsub");Dr?(be=Dr.sup,He=Dr.sub,Xt=mn(Dr.base,"op"),yt=!0):Xt=mn(ie,"op");var Xr=pe.style,hn=!1;Xr.size===j.DISPLAY.size&&Xt.symbol&&!p.contains(ki,Xt.name)&&(hn=!0);var Kn;if(Xt.symbol){var qn=hn?"Size2-Regular":"Size1-Regular",Qn="";if((Xt.name==="\\oiint"||Xt.name==="\\oiiint")&&(Qn=Xt.name.substr(1),Xt.name=Qn==="oiint"?"\\iint":"\\iiint"),Kn=hr.makeSymbol(Xt.name,qn,"math",pe,["mop","op-symbol",hn?"large-op":"small-op"]),Qn.length>0){var Ei=Kn.italic,Fi=hr.staticSvg(Qn+"Size"+(hn?"2":"1"),pe);Kn=hr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Kn,shift:0},{type:"elem",elem:Fi,shift:hn?.08:0}]},pe),Xt.name="\\"+Qn,Kn.classes.unshift("mop"),Kn.italic=Ei}}else if(Xt.body){var va=Yr(Xt.body,pe,!0);va.length===1&&va[0]instanceof Te?(Kn=va[0],Kn.classes[0]="mop"):Kn=hr.makeSpan(["mop"],hr.tryCombineChars(va),pe)}else{for(var Oa=[],fo=1;fo0){for(var hn=Xt.body.map(function(Ei){var Fi=Ei.text;return typeof Fi=="string"?{type:"textord",mode:Ei.mode,text:Fi}:Ei}),Kn=Yr(hn,pe.withFont("mathrm"),!0),qn=0;qn=0?Xr.setAttribute("height","+"+yt+"em"):(Xr.setAttribute("height",yt+"em"),Xr.setAttribute("depth","+"+-yt+"em")),Xr.setAttribute("voffset",yt+"em"),Xr}});function fa(At,ie,pe){for(var be=Yr(At,ie,!1),He=ie.sizeMultiplier/pe.sizeMultiplier,yt=0;ytbe.height+be.depth+Dr&&(Dr=(Dr+Ei-be.height-be.depth)/2);var Fi=Kn.height-be.height-Dr-qn;be.style.paddingLeft=Qn+"em";var va=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:be,wrapperClasses:["svg-align"]},{type:"kern",size:-(be.height+Fi)},{type:"elem",elem:Kn},{type:"kern",size:qn}]},pe);if(ie.index){var Oa=pe.havingStyle(j.SCRIPTSCRIPT),fo=ti(ie.index,Oa,pe),wo=.6*(va.height-va.depth),lo=hr.makeVList({positionType:"shift",positionData:-wo,children:[{type:"elem",elem:fo}]},pe),Yo=hr.makeSpan(["root"],[lo]);return hr.makeSpan(["mord","sqrt"],[Yo,va],pe)}else return hr.makeSpan(["mord","sqrt"],[va],pe)},mathmlBuilder:function(ie,pe){var be=ie.body,He=ie.index;return He?new $n.MathNode("mroot",[wr(be,pe),wr(He,pe)]):new $n.MathNode("msqrt",[wr(be,pe)])}});var Wi={display:j.DISPLAY,text:j.TEXT,script:j.SCRIPT,scriptscript:j.SCRIPTSCRIPT};bt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(ie,pe){var be=ie.breakOnTokenText,He=ie.funcName,yt=ie.parser,Xt=yt.parseExpression(!0,be),Dr=He.slice(1,He.length-5);return{type:"styling",mode:yt.mode,style:Dr,body:Xt}},htmlBuilder:function(ie,pe){var be=Wi[ie.style],He=pe.havingStyle(be).withFont("");return fa(ie.body,He,pe)},mathmlBuilder:function(ie,pe){var be=Wi[ie.style],He=pe.havingStyle(be),yt=Li(ie.body,He),Xt=new $n.MathNode("mstyle",yt),Dr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Xr=Dr[ie.style];return Xt.setAttribute("scriptlevel",Xr[0]),Xt.setAttribute("displaystyle",Xr[1]),Xt}});var qi=function(ie,pe){var be=ie.base;if(be)if(be.type==="op"){var He=be.limits&&(pe.style.size===j.DISPLAY.size||be.alwaysHandleSupSub);return He?bi:null}else if(be.type==="operatorname"){var yt=be.alwaysHandleSupSub&&(pe.style.size===j.DISPLAY.size||be.limits);return yt?Ji:null}else{if(be.type==="accent")return p.isCharacterBox(be.base)?tn:null;if(be.type==="horizBrace"){var Xt=!ie.sub;return Xt===be.isOver?Bn:null}else return null}else return null};Qt({type:"supsub",htmlBuilder:function(ie,pe){var be=qi(ie,pe);if(be)return be(ie,pe);var He=ie.base,yt=ie.sup,Xt=ie.sub,Dr=ti(He,pe),Xr,hn,Kn=pe.fontMetrics(),qn=0,Qn=0,Ei=He&&p.isCharacterBox(He);if(yt){var Fi=pe.havingStyle(pe.style.sup());Xr=ti(yt,Fi,pe),Ei||(qn=Dr.height-Fi.fontMetrics().supDrop*Fi.sizeMultiplier/pe.sizeMultiplier)}if(Xt){var va=pe.havingStyle(pe.style.sub());hn=ti(Xt,va,pe),Ei||(Qn=Dr.depth+va.fontMetrics().subDrop*va.sizeMultiplier/pe.sizeMultiplier)}var Oa;pe.style===j.DISPLAY?Oa=Kn.sup1:pe.style.cramped?Oa=Kn.sup3:Oa=Kn.sup2;var fo=pe.sizeMultiplier,wo=.5/Kn.ptPerEm/fo+"em",lo=null;if(hn){var Yo=ie.base&&ie.base.type==="op"&&ie.base.name&&(ie.base.name==="\\oiint"||ie.base.name==="\\oiiint");(Dr instanceof Te||Yo)&&(lo=-Dr.italic+"em")}var Vo;if(Xr&&hn){qn=Math.max(qn,Oa,Xr.depth+.25*Kn.xHeight),Qn=Math.max(Qn,Kn.sub2);var No=Kn.defaultRuleThickness,ao=4*No;if(qn-Xr.depth-(hn.height-Qn)0&&(qn+=Ka,Qn-=Ka)}var is=[{type:"elem",elem:hn,shift:Qn,marginRight:wo,marginLeft:lo},{type:"elem",elem:Xr,shift:-qn,marginRight:wo}];Vo=hr.makeVList({positionType:"individualShift",children:is},pe)}else if(hn){Qn=Math.max(Qn,Kn.sub1,hn.height-.8*Kn.xHeight);var Is=[{type:"elem",elem:hn,marginLeft:lo,marginRight:wo}];Vo=hr.makeVList({positionType:"shift",positionData:Qn,children:Is},pe)}else if(Xr)qn=Math.max(qn,Oa,Xr.depth+.25*Kn.xHeight),Vo=hr.makeVList({positionType:"shift",positionData:-qn,children:[{type:"elem",elem:Xr,marginRight:wo}]},pe);else throw new Error("supsub must have either sup or sub.");var Xo=In(Dr,"right")||"mord";return hr.makeSpan([Xo],[Dr,hr.makeSpan(["msupsub"],[Vo])],pe)},mathmlBuilder:function(ie,pe){var be=!1,He,yt,Xt=en(ie.base,"horizBrace");Xt&&(yt=!!ie.sup,yt===Xt.isOver&&(be=!0,He=Xt.isOver)),ie.base&&(ie.base.type==="op"||ie.base.type==="operatorname")&&(ie.base.parentIsSupSub=!0);var Dr=[wr(ie.base,pe)];ie.sub&&Dr.push(wr(ie.sub,pe)),ie.sup&&Dr.push(wr(ie.sup,pe));var Xr;if(be)Xr=He?"mover":"munder";else if(ie.sub)if(ie.sup){var qn=ie.base;qn&&qn.type==="op"&&qn.limits&&pe.style===j.DISPLAY||qn&&qn.type==="operatorname"&&qn.alwaysHandleSupSub&&(pe.style===j.DISPLAY||qn.limits)?Xr="munderover":Xr="msubsup"}else{var Kn=ie.base;Kn&&Kn.type==="op"&&Kn.limits&&(pe.style===j.DISPLAY||Kn.alwaysHandleSupSub)||Kn&&Kn.type==="operatorname"&&Kn.alwaysHandleSupSub&&(Kn.limits||pe.style===j.DISPLAY)?Xr="munder":Xr="msub"}else{var hn=ie.base;hn&&hn.type==="op"&&hn.limits&&(pe.style===j.DISPLAY||hn.alwaysHandleSupSub)||hn&&hn.type==="operatorname"&&hn.alwaysHandleSupSub&&(hn.limits||pe.style===j.DISPLAY)?Xr="mover":Xr="msup"}var Qn=new $n.MathNode(Xr,Dr);return Qn}}),Qt({type:"atom",htmlBuilder:function(ie,pe){return hr.mathsym(ie.text,ie.mode,pe,["m"+ie.family])},mathmlBuilder:function(ie,pe){var be=new $n.MathNode("mo",[gn(ie.text,ie.mode)]);if(ie.family==="bin"){var He=Hi(ie,pe);He==="bold-italic"&&be.setAttribute("mathvariant",He)}else ie.family==="punct"?be.setAttribute("separator","true"):(ie.family==="open"||ie.family==="close")&&be.setAttribute("stretchy","false");return be}});var ca={mi:"italic",mn:"normal",mtext:"normal"};Qt({type:"mathord",htmlBuilder:function(ie,pe){return hr.makeOrd(ie,pe,"mathord")},mathmlBuilder:function(ie,pe){var be=new $n.MathNode("mi",[gn(ie.text,ie.mode,pe)]),He=Hi(ie,pe)||"italic";return He!==ca[be.type]&&be.setAttribute("mathvariant",He),be}}),Qt({type:"textord",htmlBuilder:function(ie,pe){return hr.makeOrd(ie,pe,"textord")},mathmlBuilder:function(ie,pe){var be=gn(ie.text,ie.mode,pe),He=Hi(ie,pe)||"normal",yt;return ie.mode==="text"?yt=new $n.MathNode("mtext",[be]):/[0-9]/.test(ie.text)?yt=new $n.MathNode("mn",[be]):ie.text==="\\prime"?yt=new $n.MathNode("mo",[be]):yt=new $n.MathNode("mi",[be]),He!==ca[yt.type]&&yt.setAttribute("mathvariant",He),yt}});var ma={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ka={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Qt({type:"spacing",htmlBuilder:function(ie,pe){if(ka.hasOwnProperty(ie.text)){var be=ka[ie.text].className||"";if(ie.mode==="text"){var He=hr.makeOrd(ie,pe,"textord");return He.classes.push(be),He}else return hr.makeSpan(["mspace",be],[hr.mathsym(ie.text,ie.mode,pe)],pe)}else{if(ma.hasOwnProperty(ie.text))return hr.makeSpan(["mspace",ma[ie.text]],[],pe);throw new c('Unknown type of space "'+ie.text+'"')}},mathmlBuilder:function(ie,pe){var be;if(ka.hasOwnProperty(ie.text))be=new $n.MathNode("mtext",[new $n.TextNode("\xA0")]);else{if(ma.hasOwnProperty(ie.text))return new $n.MathNode("mspace");throw new c('Unknown type of space "'+ie.text+'"')}return be}});var La=function(){var ie=new $n.MathNode("mtd",[]);return ie.setAttribute("width","50%"),ie};Qt({type:"tag",mathmlBuilder:function(ie,pe){var be=new $n.MathNode("mtable",[new $n.MathNode("mtr",[La(),new $n.MathNode("mtd",[Bi(ie.body,pe)]),La(),new $n.MathNode("mtd",[Bi(ie.tag,pe)])])]);return be.setAttribute("width","100%"),be}});var Za={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},eo={"\\textbf":"textbf","\\textmd":"textmd"},Po={"\\textit":"textit","\\textup":"textup"},jo=function(ie,pe){var be=ie.font;return be?Za[be]?pe.withTextFontFamily(Za[be]):eo[be]?pe.withTextFontWeight(eo[be]):pe.withTextFontShape(Po[be]):pe};bt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(ie,pe){var be=ie.parser,He=ie.funcName,yt=pe[0];return{type:"text",mode:be.mode,body:tr(yt),font:He}},htmlBuilder:function(ie,pe){var be=jo(ie,pe),He=Yr(ie.body,be,!0);return hr.makeSpan(["mord","text"],hr.tryCombineChars(He),be)},mathmlBuilder:function(ie,pe){var be=jo(ie,pe);return Bi(ie.body,be)}}),bt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(ie,pe){var be=ie.parser;return{type:"underline",mode:be.mode,body:pe[0]}},htmlBuilder:function(ie,pe){var be=ti(ie.body,pe),He=hr.makeLineSpan("underline-line",pe),yt=pe.fontMetrics().defaultRuleThickness,Xt=hr.makeVList({positionType:"top",positionData:be.height,children:[{type:"kern",size:yt},{type:"elem",elem:He},{type:"kern",size:3*yt},{type:"elem",elem:be}]},pe);return hr.makeSpan(["mord","underline"],[Xt],pe)},mathmlBuilder:function(ie,pe){var be=new $n.MathNode("mo",[new $n.TextNode("\u203E")]);be.setAttribute("stretchy","true");var He=new $n.MathNode("munder",[wr(ie.body,pe),be]);return He.setAttribute("accentunder","true"),He}}),bt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(ie,pe,be){throw new c("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(ie,pe){for(var be=cs(ie),He=[],yt=pe.havingStyle(pe.style.text()),Xt=0;Xt0&&(this.undefStack[this.undefStack.length-1][be]=He)}else{var Dr=this.undefStack[this.undefStack.length-1];Dr&&!Dr.hasOwnProperty(be)&&(Dr[be]=this.current[be])}this.current[be]=He},At}(),Ho={},zo=Ho;function rn(At,ie){Ho[At]=ie}rn("\\@firstoftwo",function(At){var ie=At.consumeArgs(2);return{tokens:ie[0],numArgs:0}}),rn("\\@secondoftwo",function(At){var ie=At.consumeArgs(2);return{tokens:ie[1],numArgs:0}}),rn("\\@ifnextchar",function(At){var ie=At.consumeArgs(3),pe=At.future();return ie[0].length===1&&ie[0][0].text===pe.text?{tokens:ie[1],numArgs:0}:{tokens:ie[2],numArgs:0}}),rn("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),rn("\\TextOrMath",function(At){var ie=At.consumeArgs(2);return At.mode==="text"?{tokens:ie[0],numArgs:0}:{tokens:ie[1],numArgs:0}});var es={"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};rn("\\char",function(At){var ie=At.popToken(),pe,be="";if(ie.text==="'")pe=8,ie=At.popToken();else if(ie.text==='"')pe=16,ie=At.popToken();else if(ie.text==="`")if(ie=At.popToken(),ie.text[0]==="\\")be=ie.text.charCodeAt(1);else{if(ie.text==="EOF")throw new c("\\char` missing argument");be=ie.text.charCodeAt(0)}else pe=10;if(pe){if(be=es[ie.text],be==null||be>=pe)throw new c("Invalid base-"+pe+" digit "+ie.text);for(var He;(He=es[At.future().text])!=null&&He":"\\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"};rn("\\dots",function(At){var ie="\\dotso",pe=At.expandAfterFuture().text;return pe in gs?ie=gs[pe]:pe.substr(0,4)==="\\not"?ie="\\dotsb":pe in Be.math&&(p.contains(["bin","rel"],Be.math[pe].group)&&(ie="\\dotsb")),ie});var Ko={")":!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};rn("\\dotso",function(At){var ie=At.future().text;return ie in Ko?"\\ldots\\,":"\\ldots"}),rn("\\dotsc",function(At){var ie=At.future().text;return ie in Ko&&ie!==","?"\\ldots\\,":"\\ldots"}),rn("\\cdots",function(At){var ie=At.future().text;return ie in Ko?"\\@cdots\\,":"\\@cdots"}),rn("\\dotsb","\\cdots"),rn("\\dotsm","\\cdots"),rn("\\dotsi","\\!\\cdots"),rn("\\dotsx","\\ldots\\,"),rn("\\DOTSI","\\relax"),rn("\\DOTSB","\\relax"),rn("\\DOTSX","\\relax"),rn("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),rn("\\,","\\tmspace+{3mu}{.1667em}"),rn("\\thinspace","\\,"),rn("\\>","\\mskip{4mu}"),rn("\\:","\\tmspace+{4mu}{.2222em}"),rn("\\medspace","\\:"),rn("\\;","\\tmspace+{5mu}{.2777em}"),rn("\\thickspace","\\;"),rn("\\!","\\tmspace-{3mu}{.1667em}"),rn("\\negthinspace","\\!"),rn("\\negmedspace","\\tmspace-{4mu}{.2222em}"),rn("\\negthickspace","\\tmspace-{5mu}{.277em}"),rn("\\enspace","\\kern.5em "),rn("\\enskip","\\hskip.5em\\relax"),rn("\\quad","\\hskip1em\\relax"),rn("\\qquad","\\hskip2em\\relax"),rn("\\tag","\\@ifstar\\tag@literal\\tag@paren"),rn("\\tag@paren","\\tag@literal{({#1})}"),rn("\\tag@literal",function(At){if(At.macros.get("\\df@tag"))throw new c("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),rn("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),rn("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),rn("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),rn("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),rn("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),rn("\\\\","\\newline"),rn("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var hs=lt["Main-Regular"]["T".charCodeAt(0)][1]-.7*lt["Main-Regular"]["A".charCodeAt(0)][1]+"em";rn("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+hs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),rn("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+hs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),rn("\\hspace","\\@ifstar\\@hspacer\\@hspace"),rn("\\@hspace","\\hskip #1\\relax"),rn("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),rn("\\ordinarycolon",":"),rn("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),rn("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),rn("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),rn("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),rn("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),rn("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),rn("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),rn("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),rn("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),rn("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),rn("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),rn("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),rn("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),rn("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),rn("\u2237","\\dblcolon"),rn("\u2239","\\eqcolon"),rn("\u2254","\\coloneqq"),rn("\u2255","\\eqqcolon"),rn("\u2A74","\\Coloneqq"),rn("\\ratio","\\vcentcolon"),rn("\\coloncolon","\\dblcolon"),rn("\\colonequals","\\coloneqq"),rn("\\coloncolonequals","\\Coloneqq"),rn("\\equalscolon","\\eqqcolon"),rn("\\equalscoloncolon","\\Eqqcolon"),rn("\\colonminus","\\coloneq"),rn("\\coloncolonminus","\\Coloneq"),rn("\\minuscolon","\\eqcolon"),rn("\\minuscoloncolon","\\Eqcolon"),rn("\\coloncolonapprox","\\Colonapprox"),rn("\\coloncolonsim","\\Colonsim"),rn("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),rn("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),rn("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),rn("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),rn("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),rn("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),rn("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),rn("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),rn("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),rn("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),rn("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),rn("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),rn("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),rn("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),rn("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),rn("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),rn("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),rn("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),rn("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),rn("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),rn("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),rn("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),rn("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),rn("\u27E6","\\llbracket"),rn("\u27E7","\\rrbracket"),rn("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),rn("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),rn("\u2983","\\lBrace"),rn("\u2984","\\rBrace"),rn("\\darr","\\downarrow"),rn("\\dArr","\\Downarrow"),rn("\\Darr","\\Downarrow"),rn("\\lang","\\langle"),rn("\\rang","\\rangle"),rn("\\uarr","\\uparrow"),rn("\\uArr","\\Uparrow"),rn("\\Uarr","\\Uparrow"),rn("\\N","\\mathbb{N}"),rn("\\R","\\mathbb{R}"),rn("\\Z","\\mathbb{Z}"),rn("\\alef","\\aleph"),rn("\\alefsym","\\aleph"),rn("\\Alpha","\\mathrm{A}"),rn("\\Beta","\\mathrm{B}"),rn("\\bull","\\bullet"),rn("\\Chi","\\mathrm{X}"),rn("\\clubs","\\clubsuit"),rn("\\cnums","\\mathbb{C}"),rn("\\Complex","\\mathbb{C}"),rn("\\Dagger","\\ddagger"),rn("\\diamonds","\\diamondsuit"),rn("\\empty","\\emptyset"),rn("\\Epsilon","\\mathrm{E}"),rn("\\Eta","\\mathrm{H}"),rn("\\exist","\\exists"),rn("\\harr","\\leftrightarrow"),rn("\\hArr","\\Leftrightarrow"),rn("\\Harr","\\Leftrightarrow"),rn("\\hearts","\\heartsuit"),rn("\\image","\\Im"),rn("\\infin","\\infty"),rn("\\Iota","\\mathrm{I}"),rn("\\isin","\\in"),rn("\\Kappa","\\mathrm{K}"),rn("\\larr","\\leftarrow"),rn("\\lArr","\\Leftarrow"),rn("\\Larr","\\Leftarrow"),rn("\\lrarr","\\leftrightarrow"),rn("\\lrArr","\\Leftrightarrow"),rn("\\Lrarr","\\Leftrightarrow"),rn("\\Mu","\\mathrm{M}"),rn("\\natnums","\\mathbb{N}"),rn("\\Nu","\\mathrm{N}"),rn("\\Omicron","\\mathrm{O}"),rn("\\plusmn","\\pm"),rn("\\rarr","\\rightarrow"),rn("\\rArr","\\Rightarrow"),rn("\\Rarr","\\Rightarrow"),rn("\\real","\\Re"),rn("\\reals","\\mathbb{R}"),rn("\\Reals","\\mathbb{R}"),rn("\\Rho","\\mathrm{P}"),rn("\\sdot","\\cdot"),rn("\\sect","\\S"),rn("\\spades","\\spadesuit"),rn("\\sub","\\subset"),rn("\\sube","\\subseteq"),rn("\\supe","\\supseteq"),rn("\\Tau","\\mathrm{T}"),rn("\\thetasym","\\vartheta"),rn("\\weierp","\\wp"),rn("\\Zeta","\\mathrm{Z}"),rn("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),rn("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),rn("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),rn("\\blue","\\textcolor{##6495ed}{#1}"),rn("\\orange","\\textcolor{##ffa500}{#1}"),rn("\\pink","\\textcolor{##ff00af}{#1}"),rn("\\red","\\textcolor{##df0030}{#1}"),rn("\\green","\\textcolor{##28ae7b}{#1}"),rn("\\gray","\\textcolor{gray}{#1}"),rn("\\purple","\\textcolor{##9d38bd}{#1}"),rn("\\blueA","\\textcolor{##ccfaff}{#1}"),rn("\\blueB","\\textcolor{##80f6ff}{#1}"),rn("\\blueC","\\textcolor{##63d9ea}{#1}"),rn("\\blueD","\\textcolor{##11accd}{#1}"),rn("\\blueE","\\textcolor{##0c7f99}{#1}"),rn("\\tealA","\\textcolor{##94fff5}{#1}"),rn("\\tealB","\\textcolor{##26edd5}{#1}"),rn("\\tealC","\\textcolor{##01d1c1}{#1}"),rn("\\tealD","\\textcolor{##01a995}{#1}"),rn("\\tealE","\\textcolor{##208170}{#1}"),rn("\\greenA","\\textcolor{##b6ffb0}{#1}"),rn("\\greenB","\\textcolor{##8af281}{#1}"),rn("\\greenC","\\textcolor{##74cf70}{#1}"),rn("\\greenD","\\textcolor{##1fab54}{#1}"),rn("\\greenE","\\textcolor{##0d923f}{#1}"),rn("\\goldA","\\textcolor{##ffd0a9}{#1}"),rn("\\goldB","\\textcolor{##ffbb71}{#1}"),rn("\\goldC","\\textcolor{##ff9c39}{#1}"),rn("\\goldD","\\textcolor{##e07d10}{#1}"),rn("\\goldE","\\textcolor{##a75a05}{#1}"),rn("\\redA","\\textcolor{##fca9a9}{#1}"),rn("\\redB","\\textcolor{##ff8482}{#1}"),rn("\\redC","\\textcolor{##f9685d}{#1}"),rn("\\redD","\\textcolor{##e84d39}{#1}"),rn("\\redE","\\textcolor{##bc2612}{#1}"),rn("\\maroonA","\\textcolor{##ffbde0}{#1}"),rn("\\maroonB","\\textcolor{##ff92c6}{#1}"),rn("\\maroonC","\\textcolor{##ed5fa6}{#1}"),rn("\\maroonD","\\textcolor{##ca337c}{#1}"),rn("\\maroonE","\\textcolor{##9e034e}{#1}"),rn("\\purpleA","\\textcolor{##ddd7ff}{#1}"),rn("\\purpleB","\\textcolor{##c6b9fc}{#1}"),rn("\\purpleC","\\textcolor{##aa87ff}{#1}"),rn("\\purpleD","\\textcolor{##7854ab}{#1}"),rn("\\purpleE","\\textcolor{##543b78}{#1}"),rn("\\mintA","\\textcolor{##f5f9e8}{#1}"),rn("\\mintB","\\textcolor{##edf2df}{#1}"),rn("\\mintC","\\textcolor{##e0e5cc}{#1}"),rn("\\grayA","\\textcolor{##f6f7f7}{#1}"),rn("\\grayB","\\textcolor{##f0f1f2}{#1}"),rn("\\grayC","\\textcolor{##e3e5e6}{#1}"),rn("\\grayD","\\textcolor{##d6d8da}{#1}"),rn("\\grayE","\\textcolor{##babec2}{#1}"),rn("\\grayF","\\textcolor{##888d93}{#1}"),rn("\\grayG","\\textcolor{##626569}{#1}"),rn("\\grayH","\\textcolor{##3b3e40}{#1}"),rn("\\grayI","\\textcolor{##21242c}{#1}"),rn("\\kaBlue","\\textcolor{##314453}{#1}"),rn("\\kaGreen","\\textcolor{##71B307}{#1}");var bs={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ws=function(){function At(pe,be,He){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=be,this.expansionCount=0,this.feed(pe),this.macros=new ds(zo,be.macros),this.mode=He,this.stack=[]}var ie=At.prototype;return ie.feed=function(be){this.lexer=new bo(be,this.settings)},ie.switchMode=function(be){this.mode=be},ie.beginGroup=function(){this.macros.beginGroup()},ie.endGroup=function(){this.macros.endGroup()},ie.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},ie.popToken=function(){return this.future(),this.stack.pop()},ie.pushToken=function(be){this.stack.push(be)},ie.pushTokens=function(be){var He;(He=this.stack).push.apply(He,be)},ie.consumeSpaces=function(){for(;;){var be=this.future();if(be.text===" ")this.stack.pop();else break}},ie.consumeArgs=function(be){for(var He=[],yt=0;ytthis.settings.maxExpand)throw new c("Too many expansions: infinite loop or need to increase maxExpand setting");var Xt=yt.tokens;if(yt.numArgs){var Dr=this.consumeArgs(yt.numArgs);Xt=Xt.slice();for(var Xr=Xt.length-1;Xr>=0;--Xr){var hn=Xt[Xr];if(hn.text==="#"){if(Xr===0)throw new c("Incomplete placeholder at end of macro body",hn);if(hn=Xt[--Xr],hn.text==="#")Xt.splice(Xr+1,1);else if(/^[1-9]$/.test(hn.text)){var Kn;(Kn=Xt).splice.apply(Kn,[Xr,2].concat(Dr[+hn.text-1]))}else throw new c("Not a valid argument number",hn)}}}return this.pushTokens(Xt),Xt},ie.expandAfterFuture=function(){return this.expandOnce(),this.future()},ie.expandNextToken=function(){for(;;){var be=this.expandOnce();if(be instanceof g)if(be.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},ie.expandMacro=function(be){if(!this.macros.get(be))return;var He=[],yt=this.stack.length;for(this.pushToken(new g(be));this.stack.length>yt;){var Xt=this.expandOnce();Xt instanceof g&&He.push(this.stack.pop())}return He},ie.expandMacroAsText=function(be){var He=this.expandMacro(be);return He&&He.map(function(yt){return yt.text}).join("")},ie._getExpansion=function(be){var He=this.macros.get(be);if(He==null)return He;var yt=typeof He=="function"?He(this):He;if(typeof yt=="string"){var Xt=0;if(yt.indexOf("#")!==-1)for(var Dr=yt.replace(/##/g,"");Dr.indexOf("#"+(Xt+1))!==-1;)++Xt;for(var Xr=new bo(yt,this.settings),hn=[],Kn=Xr.lex();Kn.text!=="EOF";)hn.push(Kn),Kn=Xr.lex();hn.reverse();var qn={tokens:hn,numArgs:Xt};return qn}return yt},ie.isDefined=function(be){return this.macros.has(be)||Lo.hasOwnProperty(be)||Be.math.hasOwnProperty(be)||Be.text.hasOwnProperty(be)||bs.hasOwnProperty(be)},At}(),qo={"\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"}},us={\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"},_s=function(){function At(pe,be){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 ws(pe,be,this.mode),this.settings=be,this.leftrightDepth=0}var ie=At.prototype;return ie.expect=function(be,He){if(He===void 0&&(He=!0),this.fetch().text!==be)throw new c("Expected '"+be+"', got '"+this.fetch().text+"'",this.fetch());He&&this.consume()},ie.consume=function(){this.nextToken=null},ie.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},ie.switchMode=function(be){this.mode=be,this.gullet.switchMode(be)},ie.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var be=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),be},ie.parseExpression=function(be,He){for(var yt=[];;){this.mode==="math"&&this.consumeSpaces();var Xt=this.fetch();if(At.endOfExpression.indexOf(Xt.text)!==-1)break;if(He&&Xt.text===He)break;if(be&&Lo[Xt.text]&&Lo[Xt.text].infix)break;var Dr=this.parseAtom(He);if(!Dr)break;yt.push(Dr)}return this.mode==="text"&&this.formLigatures(yt),this.handleInfixNodes(yt)},ie.handleInfixNodes=function(be){for(var He=-1,yt,Xt=0;Xt0&&!qn||hn===0&&!qn&&this.mode==="math",Ei=this.parseGroupOfType("argument to '"+be+"'",Kn,qn,Xt,Qn);if(!Ei){if(qn){Xr.push(null);continue}throw new c("Expected group after '"+be+"'",this.fetch())}(qn?Xr:Dr).push(Ei)}return{args:Dr,optArgs:Xr}},ie.parseGroupOfType=function(be,He,yt,Xt,Dr){switch(He){case"color":return Dr&&this.consumeSpaces(),this.parseColorGroup(yt);case"size":return Dr&&this.consumeSpaces(),this.parseSizeGroup(yt);case"url":return this.parseUrlGroup(yt,Dr);case"math":case"text":return this.parseGroup(be,yt,Xt,void 0,He,Dr);case"hbox":{var Xr=this.parseGroup(be,yt,Xt,void 0,"text",Dr);if(!Xr)return Xr;var hn={type:"styling",mode:Xr.mode,body:[Xr],style:"text"};return hn}case"raw":{if(Dr&&this.consumeSpaces(),yt&&this.fetch().text==="{")return null;var Kn=this.parseStringGroup("raw",yt,!0);if(Kn)return{type:"raw",mode:"text",string:Kn.text};throw new c("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(be,yt,Xt,void 0,void 0,Dr);default:throw new c("Unknown group type as "+be,this.fetch())}},ie.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},ie.parseStringGroup=function(be,He,yt){var Xt=He?"[":"{",Dr=He?"]":"}",Xr=this.fetch();if(Xr.text!==Xt){if(He)return null;if(yt&&Xr.text!=="EOF"&&/[^{}[\]]/.test(Xr.text))return this.consume(),Xr}var hn=this.mode;this.mode="text",this.expect(Xt);for(var Kn="",qn=this.fetch(),Qn=0,Ei=qn,Fi;(Fi=this.fetch()).text!==Dr||yt&&Qn>0;){switch(Fi.text){case"EOF":throw new c("Unexpected end of input in "+be,qn.range(Ei,Kn));case Xt:Qn++;break;case Dr:Qn--;break}Ei=Fi,Kn+=Ei.text,this.consume()}return this.expect(Dr),this.mode=hn,qn.range(Ei,Kn)},ie.parseRegexGroup=function(be,He){var yt=this.mode;this.mode="text";for(var Xt=this.fetch(),Dr=Xt,Xr="",hn;(hn=this.fetch()).text!=="EOF"&&be.test(Xr+hn.text);)Dr=hn,Xr+=Dr.text,this.consume();if(Xr==="")throw new c("Invalid "+He+": '"+Xt.text+"'",Xt);return this.mode=yt,Xt.range(Dr,Xr)},ie.parseColorGroup=function(be){var He=this.parseStringGroup("color",be);if(!He)return null;var yt=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(He.text);if(!yt)throw new c("Invalid color: '"+He.text+"'",He);var Xt=yt[0];return/^[0-9a-f]{6}$/i.test(Xt)&&(Xt="#"+Xt),{type:"color-token",mode:this.mode,color:Xt}},ie.parseSizeGroup=function(be){var He,yt=!1;if(!be&&this.fetch().text!=="{"?He=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):He=this.parseStringGroup("size",be),!He)return null;!be&&He.text.length===0&&(He.text="0pt",yt=!0);var Xt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(He.text);if(!Xt)throw new c("Invalid size: '"+He.text+"'",He);var Dr={number:+(Xt[1]+Xt[2]),unit:Xt[3]};if(!Sr(Dr))throw new c("Invalid unit: '"+Dr.unit+"'",He);return{type:"size",mode:this.mode,value:Dr,isBlank:yt}},ie.parseUrlGroup=function(be,He){this.gullet.lexer.setCatcode("%",13);var yt=this.parseStringGroup("url",be,!0);if(this.gullet.lexer.setCatcode("%",14),!yt)return null;var Xt=yt.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Xt}},ie.parseGroup=function(be,He,yt,Xt,Dr,Xr){var hn=this.mode;Dr&&this.switchMode(Dr),Xr&&this.consumeSpaces();var Kn=this.fetch(),qn=Kn.text,Qn;if(He?qn==="[":qn==="{"||qn==="\\begingroup"){this.consume();var Ei=At.endOfGroup[qn];this.gullet.beginGroup();var Fi=this.parseExpression(!1,Ei),va=this.fetch();this.expect(Ei),this.gullet.endGroup(),Qn={type:"ordgroup",mode:this.mode,loc:b.range(Kn,va),body:Fi,semisimple:qn==="\\begingroup"||void 0}}else if(He)Qn=null;else if(Qn=this.parseFunction(Xt,be,yt)||this.parseSymbol(),Qn==null&&qn[0]==="\\"&&!bs.hasOwnProperty(qn)){if(this.settings.throwOnError)throw new c("Undefined control sequence: "+qn,Kn);Qn=this.formatUnsupportedCmd(qn),this.consume()}return Dr&&this.switchMode(hn),Qn},ie.formLigatures=function(be){for(var He=be.length-1,yt=0;yt=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+He[0]+'" used in math mode',be);var hn=Be[this.mode][He].group,Kn=b.range(be),qn;if(Tt.hasOwnProperty(hn)){var Qn=hn;qn={type:"atom",mode:this.mode,family:Qn,loc:Kn,text:He}}else qn={type:hn,mode:this.mode,loc:Kn,text:He};Xr=qn}else if(He.charCodeAt(0)>=128)this.settings.strict&&(J(He.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+He[0]+'" used in math mode',be):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+He[0]+'"'+(" ("+He.charCodeAt(0)+")"),be)),Xr={type:"textord",mode:"text",loc:b.range(be),text:He};else return null;if(this.consume(),Dr)for(var Ei=0;Ei-u}function m(V,z){var J=z?V.textFill:V.fill;return J!=null&&J!==i}function v(V,z){var J=z?V.textStroke:V.stroke;return J!=null&&J!==i}function y(V,z){z&&E(V,"transform","matrix("+r.call(z,",")+")")}function E(V,z,J){(!J||J.type!=="linear"&&J.type!=="radial")&&V.setAttribute(z,J)}function T(V,z,J){V.setAttributeNS("http://www.w3.org/1999/xlink",z,J)}function w(V,z,J,$){if(m(z,J)){var ce=J?z.textFill:z.fill;ce=ce==="transparent"?i:ce,E(V,"fill",ce),E(V,"fill-opacity",z.fillOpacity!=null?z.fillOpacity*z.opacity:z.opacity)}else E(V,"fill",i);if(v(z,J)){var ae=J?z.textStroke:z.stroke;ae=ae==="transparent"?i:ae,E(V,"stroke",ae);var Ae=J?z.textStrokeWidth:z.lineWidth,Ie=!J&&z.strokeNoScale?$.getLineScale():1;E(V,"stroke-width",Ae/Ie),E(V,"paint-order",J?"stroke":"fill"),E(V,"stroke-opacity",z.strokeOpacity!=null?z.strokeOpacity:z.opacity);var De=z.lineDash;De?(E(V,"stroke-dasharray",z.lineDash.join(",")),E(V,"stroke-dashoffset",n(z.lineDashOffset||0))):E(V,"stroke-dasharray",""),z.lineCap&&E(V,"stroke-linecap",z.lineCap),z.lineJoin&&E(V,"stroke-linejoin",z.lineJoin),z.miterLimit&&E(V,"stroke-miterlimit",z.miterLimit)}else E(V,"stroke",i)}function S(V){for(var z=[],J=V.data,$=V.len(),ce=0;ce<$;){var ae=J[ce++],Ae="",Ie=0;switch(ae){case o.M:Ae="M",Ie=2;break;case o.L:Ae="L",Ie=2;break;case o.Q:Ae="Q",Ie=4;break;case o.C:Ae="C",Ie=6;break;case o.A:var De=J[ce++],Ke=J[ce++],me=J[ce++],Ue=J[ce++],oe=J[ce++],te=J[ce++],Qe=J[ce++],se=J[ce++],Y=Math.abs(te),X=p(Y-a)||(se?te>=a:-te>=a),Q=te>0?te%a:te%a+a,ge=!1;X?ge=!0:p(Y)?ge=!1:ge=Q>=t===!!se;var de=h(De+me*s(oe)),Te=h(Ke+Ue*e(oe));X&&(se?te=a-1e-4:te=-a+1e-4,ge=!0,ce===9&&z.push("M",de,Te));var xe=h(De+me*s(oe+te)),le=h(Ke+Ue*e(oe+te));z.push("A",h(me),h(Ue),n(Qe*l),+ge,+se,xe,le);break;case o.Z:Ae="Z";break;case o.R:var xe=h(J[ce++]),le=h(J[ce++]),fe=h(J[ce++]),Ee=h(J[ce++]);z.push("M",xe,le,"L",xe+fe,le,"L",xe+fe,le+Ee,"L",xe,le+Ee,"L",xe,le);break}Ae&&z.push(Ae);for(var Ge=0;GeJe){for(;Ge0?"-".concat(v):v,L=!!E,N=c()(y,_,"".concat(_,"-").concat(p),(t={},A()(t,"".concat(_,"-with-text"),L),A()(t,"".concat(_,"-with-text").concat(I),L),A()(t,"".concat(_,"-dashed"),!!T),A()(t,"".concat(_,"-plain"),!!w),A()(t,"".concat(_,"-rtl"),l==="rtl"),t));return b.createElement("div",x()({className:N},S,{role:"separator"}),E&&b.createElement("span",{className:"".concat(_,"-inner-text")},E))})};P.a=i},PD8m:function(H,P){H.exports={name:"memoryStorage",read:O,write:x,each:C,remove:A,clearAll:b};var d={};function O(g){return d[g]}function x(g,f){d[g]=f}function C(g){for(var f in d)d.hasOwnProperty(f)&&g(d[f],f)}function A(g){delete d[g]}function b(g){d={}}},PKem:function(H,P,d){"use strict";d.d(P,"a",function(){return m});var O=d("RIqP"),x=d.n(O),C=d("lSNA"),A=d.n(C),b=d("pVnL"),g=d.n(b),f=d("lwsE"),c=d.n(f),o=d("W8MJ"),r=d.n(o),i=d("7W2i"),n=d.n(i),e=d("LQ03"),s=d.n(e),t=d("q1tI"),a=d.n(t),l=d("TSYQ"),u=d.n(l),h=d("H84U"),p=function(I,L){var N={};for(var D in I)Object.prototype.hasOwnProperty.call(I,D)&&L.indexOf(D)<0&&(N[D]=I[D]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,D=Object.getOwnPropertySymbols(I);R0),A()(B,"".concat(F,"-rtl"),M==="rtl"),B),j);return t.createElement(m.Provider,{value:{siderHook:D.getSiderHook()}},t.createElement(z,g()({className:$},J),W))},D}return r()(N,[{key:"getSiderHook",value:function(){var R=this;return{addSider:function(M){R.setState(function(U){return{siders:[].concat(x()(U.siders),[M])}})},removeSider:function(M){R.setState(function(U){return{siders:U.siders.filter(function(F){return F!==M})}})}}}},{key:"render",value:function(){return t.createElement(h.a,null,this.renderComponent)}}]),N}(t.Component),T=v({suffixCls:"layout",tagName:"section",displayName:"Layout"})(E),w=v({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(y),S=v({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(y),_=v({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(y);T.Header=w,T.Footer=S,T.Content=_,P.b=T},PNag:function(H,P,d){var O=d("bYtY"),x=d("SKnc"),C=d("YH21"),A=d("crZl"),b=d("IwbS"),g=d("OELB"),f=d("72pK"),c=d("y7Aq"),o=d("4NO4"),r=g.linearMap,i=O.each,n=Math.min,e=Math.max,s=12,t=6,a=A.extend({type:"visualMap.continuous",init:function(){a.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(E,T,w,S){(!S||S.type!=="selectDataRange"||S.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var E=this.visualMapModel,T=this.group;this._orient=E.get("orient"),this._useHandle=E.get("calculable"),this._resetInterval(),this._renderBar(T);var w=E.get("text");this._renderEndsText(T,w,0),this._renderEndsText(T,w,1),this._updateView(!0),this.renderBackground(T),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(T)},_renderEndsText:function(E,T,w){if(!T)return;var S=T[1-w];S=S!=null?S+"":"";var _=this.visualMapModel,I=_.get("textGap"),L=_.itemSize,N=this._shapes.barGroup,D=this._applyTransform([L[0]/2,w===0?-I:L[1]+I],N),R=this._applyTransform(w===0?"bottom":"top",N),B=this._orient,M=this.visualMapModel.textStyleModel;this.group.add(new b.Text({style:{x:D[0],y:D[1],textVerticalAlign:B==="horizontal"?"middle":R,textAlign:B==="horizontal"?R:"center",text:S,textFont:M.getFont(),textFill:M.getTextColor()}}))},_renderBar:function(E){var T=this.visualMapModel,w=this._shapes,S=T.itemSize,_=this._orient,I=this._useHandle,L=c.getItemAlign(T,this.api,S),N=w.barGroup=this._createBarGroup(L);N.add(w.outOfRange=l()),N.add(w.inRange=l(null,I?v(this._orient):null,O.bind(this._dragHandle,this,"all",!1),O.bind(this._dragHandle,this,"all",!0)));var D=T.textStyleModel.getTextRect("\u56FD"),R=e(D.width,D.height);I&&(w.handleThumbs=[],w.handleLabels=[],w.handleLabelPoints=[],this._createHandle(N,0,S,R,_,L),this._createHandle(N,1,S,R,_,L)),this._createIndicator(N,S,R,_),E.add(N)},_createHandle:function(E,T,w,S,_){var I=O.bind(this._dragHandle,this,T,!1),L=O.bind(this._dragHandle,this,T,!0),N=l(u(T,S),v(this._orient),I,L);N.position[0]=w[0],E.add(N);var D=this.visualMapModel.textStyleModel,R=new b.Text({draggable:!0,drift:I,onmousemove:function(U){C.stop(U.event)},ondragend:L,style:{x:0,y:0,text:"",textFont:D.getFont(),textFill:D.getTextColor()}});this.group.add(R);var B=[_==="horizontal"?S/2:S*1.5,_==="horizontal"?T===0?-(S*1.5):S*1.5:T===0?-S/2:S/2],M=this._shapes;M.handleThumbs[T]=N,M.handleLabelPoints[T]=B,M.handleLabels[T]=R},_createIndicator:function(E,T,w,S){var _=l([[0,0]],"move");_.position[0]=T[0],_.attr({invisible:!0,silent:!0}),E.add(_);var I=this.visualMapModel.textStyleModel,L=new b.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:I.getFont(),textFill:I.getTextColor()}});this.group.add(L);var N=[S==="horizontal"?w/2:t+3,0],D=this._shapes;D.indicator=_,D.indicatorLabel=L,D.indicatorLabelPoint=N},_dragHandle:function(E,T,w,S){if(!this._useHandle)return;if(this._dragging=!T,!T){var _=this._applyTransform([w,S],this._shapes.barGroup,!0);this._updateInterval(E,_[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():m(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[E],!1)},_resetInterval:function(){var E=this.visualMapModel,T=this._dataInterval=E.getSelected(),w=E.getExtent(),S=[0,E.itemSize[1]];this._handleEnds=[r(T[0],w,S,!0),r(T[1],w,S,!0)]},_updateInterval:function(E,T){T=T||0;var w=this.visualMapModel,S=this._handleEnds,_=[0,w.itemSize[1]];f(T,S,_,E,0);var I=w.getExtent();this._dataInterval=[r(S[0],_,I,!0),r(S[1],_,I,!0)]},_updateView:function(E){var T=this.visualMapModel,w=T.getExtent(),S=this._shapes,_=[0,T.itemSize[1]],I=E?_:this._handleEnds,L=this._createBarVisual(this._dataInterval,w,I,"inRange"),N=this._createBarVisual(w,w,_,"outOfRange");S.inRange.setStyle({fill:L.barColor,opacity:L.opacity}).setShape("points",L.barPoints),S.outOfRange.setStyle({fill:N.barColor,opacity:N.opacity}).setShape("points",N.barPoints),this._updateHandle(I,L)},_createBarVisual:function(E,T,w,S){var _={forceState:S,convertOpacityToAlpha:!0},I=this._makeColorGradient(E,_),L=[this.getControllerVisual(E[0],"symbolSize",_),this.getControllerVisual(E[1],"symbolSize",_)],N=this._createBarPoints(w,L);return{barColor:new x(0,0,0,1,I),barPoints:N,handlesColor:[I[0].color,I[I.length-1].color]}},_makeColorGradient:function(E,T){var w=100,S=[],_=(E[1]-E[0])/w;S.push({color:this.getControllerVisual(E[0],"color",T),offset:0});for(var I=1;IE[1])break;S.push({color:this.getControllerVisual(L,"color",T),offset:I/w})}return S.push({color:this.getControllerVisual(E[1],"color",T),offset:1}),S},_createBarPoints:function(E,T){var w=this.visualMapModel.itemSize;return[[w[0]-T[0],E[0]],[w[0],E[0]],[w[0],E[1]],[w[0]-T[1],E[1]]]},_createBarGroup:function(E){var T=this._orient,w=this.visualMapModel.get("inverse");return new b.Group(T==="horizontal"&&!w?{scale:E==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:T==="horizontal"&&w?{scale:E==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:T==="vertical"&&!w?{scale:E==="left"?[1,-1]:[-1,-1]}:{scale:E==="left"?[1,1]:[-1,1]})},_updateHandle:function(E,T){if(!this._useHandle)return;var w=this._shapes,S=this.visualMapModel,_=w.handleThumbs,I=w.handleLabels;i([0,1],function(L){var N=_[L];N.setStyle("fill",T.handlesColor[L]),N.position[1]=E[L];var D=b.applyTransform(w.handleLabelPoints[L],b.getTransform(N,this.group));I[L].setStyle({x:D[0],y:D[1],text:S.formatValueText(this._dataInterval[L]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?L===0?"bottom":"top":"left",w.barGroup)})},this)},_showIndicator:function(E,T,w,S){var _=this.visualMapModel,I=_.getExtent(),L=_.itemSize,N=[0,L[1]],D=r(E,I,N,!0),R=this._shapes,B=R.indicator;if(!B)return;B.position[1]=D,B.attr("invisible",!1),B.setShape("points",h(!!w,S,D,L[1]));var M={convertOpacityToAlpha:!0},U=this.getControllerVisual(E,"color",M);B.setStyle("fill",U);var F=b.applyTransform(R.indicatorLabelPoint,b.getTransform(B,this.group)),j=R.indicatorLabel;j.attr("invisible",!1);var W=this._applyTransform("left",R.barGroup),V=this._orient;j.setStyle({text:(w||"")+_.formatValueText(T),textVerticalAlign:V==="horizontal"?W:"middle",textAlign:V==="horizontal"?"center":W,x:F[0],y:F[1]})},_enableHoverLinkToSeries:function(){var E=this;this._shapes.barGroup.on("mousemove",function(T){if(E._hovering=!0,!E._dragging){var w=E.visualMapModel.itemSize,S=E._applyTransform([T.offsetX,T.offsetY],E._shapes.barGroup,!0,!0);S[1]=n(e(0,S[1]),w[1]),E._doHoverLinkToSeries(S[1],0<=S[0]&&S[0]<=w[0])}}).on("mouseout",function(){E._hovering=!1,!E._dragging&&E._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var E=this.api.getZr();this.visualMapModel.option.hoverLink?(E.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),E.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(E,T){var w=this.visualMapModel,S=w.itemSize;if(!w.option.hoverLink)return;var _=[0,S[1]],I=w.getExtent();E=n(e(_[0],E),_[1]);var L=p(w,I,_),N=[E-L,E+L],D=r(E,_,I,!0),R=[r(N[0],_,I,!0),r(N[1],_,I,!0)];N[0]<_[0]&&(R[0]=-Infinity),N[1]>_[1]&&(R[1]=Infinity),T&&(R[0]===-Infinity?this._showIndicator(D,R[1],"< ",L):R[1]===Infinity?this._showIndicator(D,R[0],"> ",L):this._showIndicator(D,D,"\u2248 ",L));var B=this._hoverLinkDataIndices,M=[];(T||m(w))&&(M=this._hoverLinkDataIndices=w.findTargetDataIndices(R));var U=o.compressBatches(B,M);this._dispatchHighDown("downplay",c.makeHighDownBatch(U[0],w)),this._dispatchHighDown("highlight",c.makeHighDownBatch(U[1],w))},_hoverLinkFromSeriesMouseOver:function(E){var T=E.target,w=this.visualMapModel;if(!T||T.dataIndex==null)return;var S=this.ecModel.getSeriesByIndex(T.seriesIndex);if(!w.isTargetSeries(S))return;var _=S.getData(T.dataType),I=_.get(w.getDataDimension(_),T.dataIndex,!0);isNaN(I)||this._showIndicator(I,I)},_hideIndicator:function(){var E=this._shapes;E.indicator&&E.indicator.attr("invisible",!0),E.indicatorLabel&&E.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var E=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(E,this.visualMapModel)),E.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var E=this.api.getZr();E.off("mouseover",this._hoverLinkFromSeriesMouseOver),E.off("mouseout",this._hideIndicator)},_applyTransform:function(E,T,w,S){var _=b.getTransform(T,S?null:this.group);return b[O.isArray(E)?"applyTransform":"transformDirection"](E,_,w)},_dispatchHighDown:function(E,T){T&&T.length&&this.api.dispatchAction({type:E,batch:T})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function l(E,T,w,S){return new b.Polygon({shape:{points:E},draggable:!!w,cursor:T,drift:w,onmousemove:function(_){C.stop(_.event)},ondragend:S})}function u(E,T){return E===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function h(E,T,w,S){return E?[[0,-n(T,e(w,0))],[t,0],[0,n(T,e(S-w,0))]]:[[0,0],[5,-5],[5,5]]}function p(E,T,w){var S=s/2,_=E.get("hoverLinkDataSize");return _&&(S=r(_,T,w,!0)/2),S}function m(E){var T=E.get("hoverLinkOnHandle");return!!(T==null?E.get("realtime"):T)}function v(E){return E==="vertical"?"ns-resize":"ew-resize"}var y=a;H.exports=y},PQMj:function(H,P,d){},PSzr:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},PVpz:function(H,P,d){(function(O,x,C){H.exports=P=x(d("Ib8C"),d("ETIr"),d("cv67"),d("K3mO"),d("OLod"))})(this,function(O){return function(){var x=O,C=x.lib,A=C.StreamCipher,b=x.algo,g=[],f=[],c=[],o=b.RabbitLegacy=A.extend({_doReset:function(){var n=this._key.words,e=this.cfg.iv,s=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],t=this._C=[n[2]<<16|n[2]>>>16,n[0]&4294901760|n[1]&65535,n[3]<<16|n[3]>>>16,n[1]&4294901760|n[2]&65535,n[0]<<16|n[0]>>>16,n[2]&4294901760|n[3]&65535,n[1]<<16|n[1]>>>16,n[3]&4294901760|n[0]&65535];this._b=0;for(var a=0;a<4;a++)r.call(this);for(var a=0;a<8;a++)t[a]^=s[a+4&7];if(e){var l=e.words,u=l[0],h=l[1],p=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360,m=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,v=p>>>16|m&4294901760,y=m<<16|p&65535;t[0]^=p,t[1]^=v,t[2]^=m,t[3]^=y,t[4]^=p,t[5]^=v,t[6]^=m,t[7]^=y;for(var a=0;a<4;a++)r.call(this)}},_doProcessBlock:function(n,e){var s=this._X;r.call(this),g[0]=s[0]^s[5]>>>16^s[3]<<16,g[1]=s[2]^s[7]>>>16^s[5]<<16,g[2]=s[4]^s[1]>>>16^s[7]<<16,g[3]=s[6]^s[3]>>>16^s[1]<<16;for(var t=0;t<4;t++)g[t]=(g[t]<<8|g[t]>>>24)&16711935|(g[t]<<24|g[t]>>>8)&4278255360,n[e+t]^=g[t]},blockSize:128/32,ivSize:64/32});function r(){for(var i=this._X,n=this._C,e=0;e<8;e++)f[e]=n[e];n[0]=n[0]+1295307597+this._b|0,n[1]=n[1]+3545052371+(n[0]>>>0>>0?1:0)|0,n[2]=n[2]+886263092+(n[1]>>>0>>0?1:0)|0,n[3]=n[3]+1295307597+(n[2]>>>0>>0?1:0)|0,n[4]=n[4]+3545052371+(n[3]>>>0>>0?1:0)|0,n[5]=n[5]+886263092+(n[4]>>>0>>0?1:0)|0,n[6]=n[6]+1295307597+(n[5]>>>0>>0?1:0)|0,n[7]=n[7]+3545052371+(n[6]>>>0>>0?1:0)|0,this._b=n[7]>>>0>>0?1:0;for(var e=0;e<8;e++){var s=i[e]+n[e],t=s&65535,a=s>>>16,l=((t*t>>>17)+t*a>>>15)+a*a,u=((s&4294901760)*s|0)+((s&65535)*s|0);c[e]=l^u}i[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,i[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,i[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,i[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,i[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,i[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,i[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,i[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}x.RabbitLegacy=A._createHelper(o)}(),O.RabbitLegacy})},ProS:function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("aX58"),A=d("bYtY"),b=d("Qe9p"),g=d("ItGF"),f=d("BPZU"),c=d("H6uX"),o=d("fmMI"),r=d("hD7B"),i=d("IDmD"),n=d("ypgQ"),e=d("+wW9"),s=d("0V0F"),t=d("bLfw"),a=d("T4UG"),l=d("sS/r"),u=d("6Ic6"),h=d("IwbS"),p=d("4NO4"),m=d("iLNv"),v=m.throttle,y=d("/WM3"),E=d("uAnK"),T=d("mYwL"),w=d("af/B"),S=d("xTNl"),_=d("8hn6");d("A1Ka");var I=d("7DRL"),L=A.assert,N=A.each,D=A.isFunction,R=A.isObject,B=t.parseClassType,M="4.8.0",U={zrender:"4.3.1"},F=1,j=1e3,W=800,V=900,z=5e3,J=1e3,$=1100,ce=2e3,ae=3e3,Ae=3500,Ie=4e3,De=5e3,Ke={PROCESSOR:{FILTER:j,SERIES_FILTER:W,STATISTIC:z},VISUAL:{LAYOUT:J,PROGRESSIVE_LAYOUT:$,GLOBAL:ce,CHART:ae,POST_CHART_LAYOUT:Ae,COMPONENT:Ie,BRUSH:De}},me="__flagInMainProcess",Ue="__optionUpdated",oe=/^[a-zA-Z0-9_]+$/;function te(pt,Ut){return function(Sr,mr,vr){if(!Ut&&this._disposed){Ct(this.id);return}Sr=Sr&&Sr.toLowerCase(),c.prototype[pt].call(this,Sr,mr,vr)}}function Qe(){c.call(this)}Qe.prototype.on=te("on",!0),Qe.prototype.off=te("off",!0),Qe.prototype.one=te("one",!0),A.mixin(Qe,c);function se(pt,Ut,Sr){Sr=Sr||{},typeof Ut=="string"&&(Ut=ct[Ut]),this.id,this.group,this._dom=pt;var mr="canvas",vr=this._zr=C.init(pt,{renderer:Sr.renderer||mr,devicePixelRatio:Sr.devicePixelRatio,width:Sr.width,height:Sr.height});this._throttledZrFlush=v(A.bind(vr.flush,vr),17);var Ut=A.clone(Ut);Ut&&e(Ut,!0),this._theme=Ut,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new i;var Jr=this._api=Be(this);function $r(Pn,Dn){return Pn.__prio-Dn.__prio}f(Pt,$r),f(Ne,$r),this._scheduler=new w(this,Jr,Ne,Pt),c.call(this,this._ecEventProcessor=new ne),this._messageCenter=new Qe,this._initEvents(),this.resize=A.bind(this.resize,this),this._pendingActions=[],vr.animation.on("frame",this._onframe,this),Ee(vr,this),A.setAsPrimitive(this)}var Y=se.prototype;Y._onframe=function(){if(this._disposed)return;var pt=this._scheduler;if(this[Ue]){var Ut=this[Ue].silent;this[me]=!0,ge(this),Q.update.call(this),this[me]=!1,this[Ue]=!1,le.call(this,Ut),fe.call(this,Ut)}else if(pt.unfinished){var Sr=F,mr=this._model,vr=this._api;pt.unfinished=!1;do{var Jr=+new Date;pt.performSeriesTasks(mr),pt.performDataProcessorTasks(mr),Te(this,mr),pt.performVisualTasks(mr),et(this,this._model,vr,"remain"),Sr-=+new Date-Jr}while(Sr>0&&pt.unfinished);pt.unfinished||this._zr.flush()}},Y.getDom=function(){return this._dom},Y.getZr=function(){return this._zr},Y.setOption=function(pt,Ut,Sr){if(this._disposed){Ct(this.id);return}var mr;if(R(Ut)&&(Sr=Ut.lazyUpdate,mr=Ut.silent,Ut=Ut.notMerge),this[me]=!0,!this._model||Ut){var vr=new n(this._api),Jr=this._theme,$r=this._model=new o;$r.scheduler=this._scheduler,$r.init(null,null,Jr,vr)}this._model.setOption(pt,q),Sr?(this[Ue]={silent:mr},this[me]=!1):(ge(this),Q.update.call(this),this._zr.flush(),this[Ue]=!1,this[me]=!1,le.call(this,mr),fe.call(this,mr))},Y.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Y.getModel=function(){return this._model},Y.getOption=function(){return this._model&&this._model.getOption()},Y.getWidth=function(){return this._zr.getWidth()},Y.getHeight=function(){return this._zr.getHeight()},Y.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Y.getRenderedCanvas=function(pt){if(!g.canvasSupported)return;pt=pt||{},pt.pixelRatio=pt.pixelRatio||1,pt.backgroundColor=pt.backgroundColor||this._model.get("backgroundColor");var Ut=this._zr;return Ut.painter.getRenderedCanvas(pt)},Y.getSvgDataURL=function(){if(!g.svgSupported)return;var pt=this._zr,Ut=pt.storage.getDisplayList();return A.each(Ut,function(Sr){Sr.stopAnimation(!0)}),pt.painter.toDataURL()},Y.getDataURL=function(pt){if(this._disposed){Ct(this.id);return}pt=pt||{};var Ut=pt.excludeComponents,Sr=this._model,mr=[],vr=this;N(Ut,function($r){Sr.eachComponent({mainType:$r},function(Pn){var Dn=vr._componentsMap[Pn.__viewId];Dn.group.ignore||(mr.push(Dn),Dn.group.ignore=!0)})});var Jr=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(pt).toDataURL("image/"+(pt&&pt.type||"png"));return N(mr,function($r){$r.group.ignore=!1}),Jr},Y.getConnectedDataURL=function(pt){if(this._disposed){Ct(this.id);return}if(!g.canvasSupported)return;var Ut=pt.type==="svg",Sr=this.group,mr=Math.min,vr=Math.max,Jr=Infinity;if(Zr[Sr]){var $r=Jr,Pn=Jr,Dn=-Jr,Zn=-Jr,li=[],Ai=pt&&pt.pixelRatio||1;A.each(or,function(Ye,Ve){if(Ye.group===Sr){var qe=Ut?Ye.getZr().painter.getSvgDom().innerHTML:Ye.getRenderedCanvas(A.clone(pt)),xt=Ye.getDom().getBoundingClientRect();$r=mr(xt.left,$r),Pn=mr(xt.top,Pn),Dn=vr(xt.right,Dn),Zn=vr(xt.bottom,Zn),li.push({dom:qe,left:xt.left,top:xt.top})}}),$r*=Ai,Pn*=Ai,Dn*=Ai,Zn*=Ai;var Ii=Dn-$r,$e=Zn-Pn,Se=A.createCanvas(),Re=C.init(Se,{renderer:Ut?"svg":"canvas"});if(Re.resize({width:Ii,height:$e}),Ut){var je="";return N(li,function(Ye){var Ve=Ye.left-$r,qe=Ye.top-Pn;je+=''+Ye.dom+""}),Re.painter.getSvgRoot().innerHTML=je,pt.connectedBackgroundColor&&Re.painter.setBackgroundColor(pt.connectedBackgroundColor),Re.refreshImmediately(),Re.painter.toDataURL()}else return pt.connectedBackgroundColor&&Re.add(new h.Rect({shape:{x:0,y:0,width:Ii,height:$e},style:{fill:pt.connectedBackgroundColor}})),N(li,function(Ye){var Ve=new h.Image({style:{x:Ye.left*Ai-$r,y:Ye.top*Ai-Pn,image:Ye.dom}});Re.add(Ve)}),Re.refreshImmediately(),Se.toDataURL("image/"+(pt&&pt.type||"png"))}else return this.getDataURL(pt)},Y.convertToPixel=A.curry(X,"convertToPixel"),Y.convertFromPixel=A.curry(X,"convertFromPixel");function X(pt,Ut,Sr){if(this._disposed){Ct(this.id);return}var mr=this._model,vr=this._coordSysMgr.getCoordinateSystems(),Jr;Ut=p.parseFinder(mr,Ut);for(var $r=0;$r=0&&A.each(vr,function($r){var Pn=$r.coordinateSystem;if(Pn&&Pn.containPoint)mr|=!!Pn.containPoint(Ut);else if(Jr==="seriesModels"){var Dn=this._chartsMap[$r.__viewId];Dn&&Dn.containPoint&&(mr|=Dn.containPoint(Ut,$r))}},this)},this),!!mr},Y.getVisual=function(pt,Ut){var Sr=this._model;pt=p.parseFinder(Sr,pt,{defaultMainType:"series"});var mr=pt.seriesModel,vr=mr.getData(),Jr=pt.hasOwnProperty("dataIndexInside")?pt.dataIndexInside:pt.hasOwnProperty("dataIndex")?vr.indexOfRawIndex(pt.dataIndex):null;return Jr!=null?vr.getItemVisual(Jr,Ut):vr.getVisual(Ut)},Y.getViewOfComponentModel=function(pt){return this._componentsMap[pt.__viewId]},Y.getViewOfSeriesModel=function(pt){return this._chartsMap[pt.__viewId]};var Q={prepareAndUpdate:function(pt){ge(this),Q.update.call(this,pt)},update:function(pt){var Ut=this._model,Sr=this._api,mr=this._zr,vr=this._coordSysMgr,Jr=this._scheduler;if(!Ut)return;Jr.restoreData(Ut,pt),Jr.performSeriesTasks(Ut),vr.create(Ut,Sr),Jr.performDataProcessorTasks(Ut,pt),Te(this,Ut),vr.update(Ut,Sr),lt(Ut),Jr.performVisualTasks(Ut,pt),Je(this,Ut,Sr,pt);var $r=Ut.get("backgroundColor")||"transparent";if(g.canvasSupported)mr.setBackgroundColor($r);else{var Pn=b.parse($r);$r=b.stringify(Pn,"rgb"),Pn[3]===0&&($r="transparent")}ze(Ut,Sr)},updateTransform:function(pt){var Ut=this._model,Sr=this,mr=this._api;if(!Ut)return;var vr=[];Ut.eachComponent(function($r,Pn){var Dn=Sr.getViewOfComponentModel(Pn);if(Dn&&Dn.__alive)if(Dn.updateTransform){var Zn=Dn.updateTransform(Pn,Ut,mr,pt);Zn&&Zn.update&&vr.push(Dn)}else vr.push(Dn)});var Jr=A.createHashMap();Ut.eachSeries(function($r){var Pn=Sr._chartsMap[$r.__viewId];if(Pn.updateTransform){var Dn=Pn.updateTransform($r,Ut,mr,pt);Dn&&Dn.update&&Jr.set($r.uid,1)}else Jr.set($r.uid,1)}),lt(Ut),this._scheduler.performVisualTasks(Ut,pt,{setDirty:!0,dirtyMap:Jr}),et(Sr,Ut,mr,pt,Jr),ze(Ut,this._api)},updateView:function(pt){var Ut=this._model;if(!Ut)return;u.markUpdateMethod(pt,"updateView"),lt(Ut),this._scheduler.performVisualTasks(Ut,pt,{setDirty:!0}),Je(this,this._model,this._api,pt),ze(Ut,this._api)},updateVisual:function(pt){Q.update.call(this,pt)},updateLayout:function(pt){Q.update.call(this,pt)}};function ge(pt){var Ut=pt._model,Sr=pt._scheduler;Sr.restorePipelines(Ut),Sr.prepareStageTasks(),Ge(pt,"component",Ut,Sr),Ge(pt,"chart",Ut,Sr),Sr.plan()}function de(pt,Ut,Sr,mr,vr){var Jr=pt._model;if(!mr){N(pt._componentsViews.concat(pt._chartsViews),Zn);return}var $r={};$r[mr+"Id"]=Sr[mr+"Id"],$r[mr+"Index"]=Sr[mr+"Index"],$r[mr+"Name"]=Sr[mr+"Name"];var Pn={mainType:mr,query:$r};vr&&(Pn.subType=vr);var Dn=Sr.excludeSeriesId;Dn!=null&&(Dn=A.createHashMap(p.normalizeToArray(Dn))),Jr&&Jr.eachComponent(Pn,function(li){(!Dn||Dn.get(li.id)==null)&&Zn(pt[mr==="series"?"_chartsMap":"_componentsMap"][li.__viewId])},pt);function Zn(li){li&&li.__alive&&li[Ut]&&li[Ut](li.__model,Jr,pt._api,Sr)}}Y.resize=function(pt){if(this._disposed){Ct(this.id);return}this._zr.resize(pt);var Ut=this._model;if(this._loadingFX&&this._loadingFX.resize(),!Ut)return;var Sr=Ut.resetOption("media"),mr=pt&&pt.silent;this[me]=!0,Sr&&ge(this),Q.update.call(this),this[me]=!1,le.call(this,mr),fe.call(this,mr)};function Te(pt,Ut){var Sr=pt._chartsMap,mr=pt._scheduler;Ut.eachSeries(function(vr){mr.updateStreamModes(vr,Sr[vr.__viewId])})}Y.showLoading=function(pt,Ut){if(this._disposed){Ct(this.id);return}if(R(pt)&&(Ut=pt,pt=""),pt=pt||"default",this.hideLoading(),!Gt[pt])return;var Sr=Gt[pt](this._api,Ut),mr=this._zr;this._loadingFX=Sr,mr.add(Sr)},Y.hideLoading=function(){if(this._disposed){Ct(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},Y.makeActionFromEvent=function(pt){var Ut=A.extend({},pt);return Ut.type=Pe[pt.type],Ut},Y.dispatchAction=function(pt,Ut){if(this._disposed){Ct(this.id);return}if(R(Ut)||(Ut={silent:!!Ut}),!G[pt.type])return;if(!this._model)return;if(this[me]){this._pendingActions.push(pt);return}xe.call(this,pt,Ut.silent),Ut.flush?this._zr.flush(!0):Ut.flush!==!1&&g.browser.weChat&&this._throttledZrFlush(),le.call(this,Ut.silent),fe.call(this,Ut.silent)};function xe(pt,Ut){var Sr=pt.type,mr=pt.escapeConnect,vr=G[Sr],Jr=vr.actionInfo,$r=(Jr.update||"update").split(":"),Pn=$r.pop();$r=$r[0]!=null&&B($r[0]),this[me]=!0;var Dn=[pt],Zn=!1;pt.batch&&(Zn=!0,Dn=A.map(pt.batch,function($e){return $e=A.defaults(A.extend({},$e),pt),$e.batch=null,$e}));var li=[],Ai,Ii=Sr==="highlight"||Sr==="downplay";N(Dn,function($e){Ai=vr.action($e,this._model,this._api),Ai=Ai||A.extend({},$e),Ai.type=Jr.event||Ai.type,li.push(Ai),Ii?de(this,Pn,$e,"series"):$r&&de(this,Pn,$e,$r.main,$r.sub)},this),Pn!=="none"&&!Ii&&!$r&&(this[Ue]?(ge(this),Q.update.call(this,pt),this[Ue]=!1):Q[Pn].call(this,pt)),Zn?Ai={type:Jr.event||Sr,escapeConnect:mr,batch:li}:Ai=li[0],this[me]=!1,!Ut&&this._messageCenter.trigger(Ai.type,Ai)}function le(pt){for(var Ut=this._pendingActions;Ut.length;){var Sr=Ut.shift();xe.call(this,Sr,pt)}}function fe(pt){!pt&&this.trigger("updated")}function Ee(pt,Ut){pt.on("rendered",function(){Ut.trigger("rendered"),pt.animation.isFinished()&&!Ut[Ue]&&!Ut._scheduler.unfinished&&!Ut._pendingActions.length&&Ut.trigger("finished")})}Y.appendData=function(pt){if(this._disposed){Ct(this.id);return}var Ut=pt.seriesIndex,Sr=this.getModel(),mr=Sr.getSeriesByIndex(Ut);mr.appendData(pt),this._scheduler.unfinished=!0},Y.on=te("on",!1),Y.off=te("off",!1),Y.one=te("one",!1);function Ge(pt,Ut,Sr,mr){for(var vr=Ut==="component",Jr=vr?pt._componentsViews:pt._chartsViews,$r=vr?pt._componentsMap:pt._chartsMap,Pn=pt._zr,Dn=pt._api,Zn=0;ZnUt.get("hoverLayerThreshold")&&!g.node&&Ut.eachSeries(function(Jr){if(Jr.preventUsingHoverLayer)return;var $r=pt._chartsMap[Jr.__viewId];$r.__alive&&$r.group.traverse(function(Pn){Pn.useHoverLayer=!0})})}function Ot(pt,Ut){var Sr=pt.get("blendMode")||null;Ut.group.traverse(function(mr){mr.isGroup||mr.style.blend!==Sr&&mr.setStyle("blend",Sr),mr.eachPendingDisplayable&&mr.eachPendingDisplayable(function(vr){vr.setStyle("blend",Sr)})})}function Nt(pt,Ut){var Sr=pt.get("z"),mr=pt.get("zlevel");Ut.group.traverse(function(vr){vr.type!=="group"&&(Sr!=null&&(vr.z=Sr),mr!=null&&(vr.zlevel=mr))})}function Be(pt){var Ut=pt._coordSysMgr;return A.extend(new r(pt),{getCoordinateSystems:A.bind(Ut.getCoordinateSystems,Ut),getComponentByElement:function(Sr){for(;Sr;){var mr=Sr.__ecComponentInfo;if(mr!=null)return pt._model.getComponent(mr.mainType,mr.index);Sr=Sr.parent}}})}function ne(){this.eventInfo}ne.prototype={constructor:ne,normalizeQuery:function(pt){var Ut={},Sr={},mr={};if(A.isString(pt)){var vr=B(pt);Ut.mainType=vr.main||null,Ut.subType=vr.sub||null}else{var Jr=["Index","Name","Id"],$r={name:1,dataIndex:1,dataType:1};A.each(pt,function(Pn,Dn){for(var Zn=!1,li=0;li0&&Ii===Dn.length-Ai.length){var $e=Dn.slice(0,Ii);$e!=="data"&&(Ut.mainType=$e,Ut[Ai.toLowerCase()]=Pn,Zn=!0)}}$r.hasOwnProperty(Dn)&&(Sr[Dn]=Pn,Zn=!0),Zn||(mr[Dn]=Pn)})}return{cptQuery:Ut,dataQuery:Sr,otherQuery:mr}},filter:function(pt,Ut,Sr){var mr=this.eventInfo;if(!mr)return!0;var vr=mr.targetEl,Jr=mr.packedEvent,$r=mr.model,Pn=mr.view;if(!$r||!Pn)return!0;var Dn=Ut.cptQuery,Zn=Ut.dataQuery;return li(Dn,$r,"mainType")&&li(Dn,$r,"subType")&&li(Dn,$r,"index","componentIndex")&&li(Dn,$r,"name")&&li(Dn,$r,"id")&&li(Zn,Jr,"name")&&li(Zn,Jr,"dataIndex")&&li(Zn,Jr,"dataType")&&(!Pn.filterForExposedEvent||Pn.filterForExposedEvent(pt,Ut.otherQuery,vr,Jr));function li(Ai,Ii,$e,Se){return Ai[$e]==null||Ii[Se||$e]===Ai[$e]}},afterTrigger:function(){this.eventInfo=null}};var G={},Pe={},Ne=[],q=[],ht=[],Pt=[],ct={},Gt={},or={},Zr={},ir=new Date-0,dr=new Date-0,er="_echarts_instance_";function Kt(pt){var Ut=0,Sr=1,mr=2,vr="__connectUpdateStatus";function Jr($r,Pn){for(var Dn=0;Dn<$r.length;Dn++){var Zn=$r[Dn];Zn[vr]=Pn}}N(Pe,function($r,Pn){pt._messageCenter.on(Pn,function(Dn){if(Zr[pt.group]&&pt[vr]!==Ut){if(Dn&&Dn.escapeConnect)return;var Zn=pt.makeActionFromEvent(Dn),li=[];N(or,function(Ai){Ai!==pt&&Ai.group===pt.group&&li.push(Ai)}),Jr(li,Ut),N(li,function(Ai){Ai[vr]!==Sr&&Ai.dispatchAction(Zn)}),Jr(li,mr)}})})}function dt(pt,Ut,Sr){var mr=gi(pt);if(mr)return mr;var vr=new se(pt,Ut,Sr);return vr.id="ec_"+ir++,or[vr.id]=vr,p.setAttribute(pt,er,vr.id),Kt(vr),vr}function Hr(pt){if(A.isArray(pt)){var Ut=pt;pt=null,N(Ut,function(Sr){Sr.group!=null&&(pt=Sr.group)}),pt=pt||"g_"+dr++,N(Ut,function(Sr){Sr.group=pt})}return Zr[pt]=!0,pt}function fn(pt){Zr[pt]=!1}var Nn=fn;function Vn(pt){typeof pt=="string"?pt=or[pt]:pt instanceof se||(pt=gi(pt)),pt instanceof se&&!pt.isDisposed()&&pt.dispose()}function gi(pt){return or[p.getAttribute(pt,er)]}function bn(pt){return or[pt]}function Mn(pt,Ut){ct[pt]=Ut}function jt(pt){q.push(pt)}function St(pt,Ut){Dt(Ne,pt,Ut,j)}function _e(pt){ht.push(pt)}function Oe(pt,Ut,Sr){typeof Ut=="function"&&(Sr=Ut,Ut="");var mr=R(pt)?pt.type:[pt,pt={event:Ut}][0];pt.event=(pt.event||mr).toLowerCase(),Ut=pt.event,L(oe.test(mr)&&oe.test(Ut)),G[mr]||(G[mr]={action:Sr,actionInfo:pt}),Pe[Ut]=mr}function Le(pt,Ut){i.register(pt,Ut)}function Ze(pt){var Ut=i.get(pt);if(Ut)return Ut.getDimensionsInfo?Ut.getDimensionsInfo():Ut.dimensions.slice()}function nt(pt,Ut){Dt(Pt,pt,Ut,J,"layout")}function ft(pt,Ut){Dt(Pt,pt,Ut,ae,"visual")}function Dt(pt,Ut,Sr,mr,vr){(D(Ut)||R(Ut))&&(Sr=Ut,Ut=mr);var Jr=w.wrapStageHandler(Sr,vr);return Jr.__prio=Ut,Jr.__raw=Sr,pt.push(Jr),Jr}function Ar(pt,Ut){Gt[pt]=Ut}function Mr(pt){return t.extend(pt)}function un(pt){return l.extend(pt)}function Rt(pt){return a.extend(pt)}function it(pt){return u.extend(pt)}function st(pt){A.$override("createCanvas",pt)}function rr(pt,Ut,Sr){I.registerMap(pt,Ut,Sr)}function Bt(pt){var Ut=I.retrieveMap(pt);return Ut&&Ut[0]&&{geoJson:Ut[0].geoJSON,specialAreas:Ut[0].specialAreas}}ft(ce,y),jt(e),St(V,s),Ar("default",T),Oe({type:"highlight",event:"highlight",update:"highlight"},A.noop),Oe({type:"downplay",event:"downplay",update:"downplay"},A.noop),Mn("light",S),Mn("dark",_);var _t={};P.version=M,P.dependencies=U,P.PRIORITY=Ke,P.init=dt,P.connect=Hr,P.disConnect=fn,P.disconnect=Nn,P.dispose=Vn,P.getInstanceByDom=gi,P.getInstanceById=bn,P.registerTheme=Mn,P.registerPreprocessor=jt,P.registerProcessor=St,P.registerPostUpdate=_e,P.registerAction=Oe,P.registerCoordinateSystem=Le,P.getCoordinateSystemDimensions=Ze,P.registerLayout=nt,P.registerVisual=ft,P.registerLoading=Ar,P.extendComponentModel=Mr,P.extendComponentView=un,P.extendSeriesModel=Rt,P.extendChartView=it,P.setCanvasCreator=st,P.registerMap=rr,P.getMap=Bt,P.dataTool=_t;var Ht=d("txkQ");(function(){for(var pt in Ht)Ht.hasOwnProperty(pt)&&(P[pt]=Ht[pt])})()},Pw59:function(H,P,d){"use strict";var O=d("q1tI"),x=d.n(O),C=Object(O.createContext)({});P.a=C},Q7if:function(H,P,d){var O=d("JEkh"),x=O.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"}}}});H.exports=x},Q9mQ:function(H,P,d){"use strict";var O=d("cIOH"),x=d.n(O),C=d("UADf"),A=d.n(C)},"QB+1":function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("Ywus"));function x(A){return A&&A.__esModule?A:{default:A}}var C=O;P.default=C,H.exports=C},QBsz:function(H,P){var d=typeof Float32Array=="undefined"?Array:Float32Array;function O(w,S){var _=new d(2);return w==null&&(w=0),S==null&&(S=0),_[0]=w,_[1]=S,_}function x(w,S){return w[0]=S[0],w[1]=S[1],w}function C(w){var S=new d(2);return S[0]=w[0],S[1]=w[1],S}function A(w,S,_){return w[0]=S,w[1]=_,w}function b(w,S,_){return w[0]=S[0]+_[0],w[1]=S[1]+_[1],w}function g(w,S,_,I){return w[0]=S[0]+_[0]*I,w[1]=S[1]+_[1]*I,w}function f(w,S,_){return w[0]=S[0]-_[0],w[1]=S[1]-_[1],w}function c(w){return Math.sqrt(r(w))}var o=c;function r(w){return w[0]*w[0]+w[1]*w[1]}var i=r;function n(w,S,_){return w[0]=S[0]*_[0],w[1]=S[1]*_[1],w}function e(w,S,_){return w[0]=S[0]/_[0],w[1]=S[1]/_[1],w}function s(w,S){return w[0]*S[0]+w[1]*S[1]}function t(w,S,_){return w[0]=S[0]*_,w[1]=S[1]*_,w}function a(w,S){var _=c(S);return _===0?(w[0]=0,w[1]=0):(w[0]=S[0]/_,w[1]=S[1]/_),w}function l(w,S){return Math.sqrt((w[0]-S[0])*(w[0]-S[0])+(w[1]-S[1])*(w[1]-S[1]))}var u=l;function h(w,S){return(w[0]-S[0])*(w[0]-S[0])+(w[1]-S[1])*(w[1]-S[1])}var p=h;function m(w,S){return w[0]=-S[0],w[1]=-S[1],w}function v(w,S,_,I){return w[0]=S[0]+I*(_[0]-S[0]),w[1]=S[1]+I*(_[1]-S[1]),w}function y(w,S,_){var I=S[0],L=S[1];return w[0]=_[0]*I+_[2]*L+_[4],w[1]=_[1]*I+_[3]*L+_[5],w}function E(w,S,_){return w[0]=Math.min(S[0],_[0]),w[1]=Math.min(S[1],_[1]),w}function T(w,S,_){return w[0]=Math.max(S[0],_[0]),w[1]=Math.max(S[1],_[1]),w}P.create=O,P.copy=x,P.clone=C,P.set=A,P.add=b,P.scaleAndAdd=g,P.sub=f,P.len=c,P.length=o,P.lenSquare=r,P.lengthSquare=i,P.mul=n,P.div=e,P.dot=s,P.scale=t,P.normalize=a,P.distance=l,P.dist=u,P.distanceSquare=h,P.distSquare=p,P.negate=m,P.lerp=v,P.applyTransform=y,P.min=E,P.max=T},"QO+J":function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.createSensor=void 0;var O=C(d("NohK")),x=d("24YM");function C(b){return b&&b.__esModule?b:{default:b}}var A=function(g){var f=void 0,c=[],o=function(){getComputedStyle(g).position==="static"&&(g.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",r),r()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class",x.SensorClassName),t.setAttribute("tabindex",x.SensorTabIndex),t.type="text/html",g.appendChild(t),t.data="about:blank",t},r=(0,O.default)(function(){c.forEach(function(s){s(g)})}),i=function(t){f||(f=o()),c.indexOf(t)===-1&&c.push(t)},n=function(){f&&f.parentNode&&(f.contentDocument&&f.contentDocument.defaultView.removeEventListener("resize",r),f.parentNode.removeChild(f),f=void 0,c=[])},e=function(t){var a=c.indexOf(t);a!==-1&&c.splice(a,1),c.length===0&&f&&n()};return{element:g,bind:i,destroy:n,unbind:e}};P.createSensor=A},"QQZ/":function(H,P,d){var O=d("Sq3C"),x=d("Z1HP"),C=d("Sxd8"),A=d("dt0z");function b(g,f,c){g=A(g),f=C(f);var o=f?x(g):0;return f&&o>>1:A>>>1;b[g]=A}return b}var x=O();function C(A,b,g,f){var c=x,o=f+g;A^=-1;for(var r=f;r>>8^c[(A^b[r])&255];return A^-1}},QbM5:function(H,P,d){},Qe9p:function(H,P,d){var O=d("1RvN"),x={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 C(S){return S=Math.round(S),S<0?0:S>255?255:S}function A(S){return S=Math.round(S),S<0?0:S>360?360:S}function b(S){return S<0?0:S>1?1:S}function g(S){return S.length&&S.charAt(S.length-1)==="%"?C(parseFloat(S)/100*255):C(parseInt(S,10))}function f(S){return S.length&&S.charAt(S.length-1)==="%"?b(parseFloat(S)/100):b(parseFloat(S))}function c(S,_,I){return I<0?I+=1:I>1&&(I-=1),I*6<1?S+(_-S)*I*6:I*2<1?_:I*3<2?S+(_-S)*(2/3-I)*6:S}function o(S,_,I){return S+(_-S)*I}function r(S,_,I,L,N){return S[0]=_,S[1]=I,S[2]=L,S[3]=N,S}function i(S,_){return S[0]=_[0],S[1]=_[1],S[2]=_[2],S[3]=_[3],S}var n=new O(20),e=null;function s(S,_){e&&i(e,_),e=n.put(S,e||_.slice())}function t(S,_){if(!S)return;_=_||[];var I=n.get(S);if(I)return i(_,I);S=S+"";var L=S.replace(/ /g,"").toLowerCase();if(L in x)return i(_,x[L]),s(S,_),_;if(L.charAt(0)==="#"){if(L.length===4){var N=parseInt(L.substr(1),16);if(!(N>=0&&N<=4095)){r(_,0,0,0,1);return}return r(_,(N&3840)>>4|(N&3840)>>8,N&240|(N&240)>>4,N&15|(N&15)<<4,1),s(S,_),_}else if(L.length===7){var N=parseInt(L.substr(1),16);if(!(N>=0&&N<=16777215)){r(_,0,0,0,1);return}return r(_,(N&16711680)>>16,(N&65280)>>8,N&255,1),s(S,_),_}return}var D=L.indexOf("("),R=L.indexOf(")");if(D!==-1&&R+1===L.length){var B=L.substr(0,D),M=L.substr(D+1,R-(D+1)).split(","),U=1;switch(B){case"rgba":if(M.length!==4){r(_,0,0,0,1);return}U=f(M.pop());case"rgb":if(M.length!==3){r(_,0,0,0,1);return}return r(_,g(M[0]),g(M[1]),g(M[2]),U),s(S,_),_;case"hsla":if(M.length!==4){r(_,0,0,0,1);return}return M[3]=f(M[3]),a(M,_),s(S,_),_;case"hsl":if(M.length!==3){r(_,0,0,0,1);return}return a(M,_),s(S,_),_;default:return}}r(_,0,0,0,1);return}function a(S,_){var I=(parseFloat(S[0])%360+360)%360/360,L=f(S[1]),N=f(S[2]),D=N<=.5?N*(L+1):N+L-N*L,R=N*2-D;return _=_||[],r(_,C(c(R,D,I+1/3)*255),C(c(R,D,I)*255),C(c(R,D,I-1/3)*255),1),S.length===4&&(_[3]=S[3]),_}function l(S){if(!S)return;var _=S[0]/255,I=S[1]/255,L=S[2]/255,N=Math.min(_,I,L),D=Math.max(_,I,L),R=D-N,B=(D+N)/2,M,U;if(R===0)M=0,U=0;else{B<.5?U=R/(D+N):U=R/(2-D-N);var F=((D-_)/6+R/2)/R,j=((D-I)/6+R/2)/R,W=((D-L)/6+R/2)/R;_===D?M=W-j:I===D?M=1/3+F-W:L===D&&(M=2/3+j-F),M<0&&(M+=1),M>1&&(M-=1)}var V=[M*360,U,B];return S[3]!=null&&V.push(S[3]),V}function u(S,_){var I=t(S);if(I){for(var L=0;L<3;L++)_<0?I[L]=I[L]*(1-_)|0:I[L]=(255-I[L])*_+I[L]|0,I[L]>255?I[L]=255:S[L]<0&&(I[L]=0);return w(I,I.length===4?"rgba":"rgb")}}function h(S){var _=t(S);if(_)return((1<<24)+(_[0]<<16)+(_[1]<<8)+ +_[2]).toString(16).slice(1)}function p(S,_,I){if(!(_&&_.length)||!(S>=0&&S<=1))return;I=I||[];var L=S*(_.length-1),N=Math.floor(L),D=Math.ceil(L),R=_[N],B=_[D],M=L-N;return I[0]=C(o(R[0],B[0],M)),I[1]=C(o(R[1],B[1],M)),I[2]=C(o(R[2],B[2],M)),I[3]=b(o(R[3],B[3],M)),I}var m=p;function v(S,_,I){if(!(_&&_.length)||!(S>=0&&S<=1))return;var L=S*(_.length-1),N=Math.floor(L),D=Math.ceil(L),R=t(_[N]),B=t(_[D]),M=L-N,U=w([C(o(R[0],B[0],M)),C(o(R[1],B[1],M)),C(o(R[2],B[2],M)),b(o(R[3],B[3],M))],"rgba");return I?{color:U,leftIndex:N,rightIndex:D,value:L}:U}var y=v;function E(S,_,I,L){if(S=t(S),S)return S=l(S),_!=null&&(S[0]=A(_)),I!=null&&(S[1]=f(I)),L!=null&&(S[2]=f(L)),w(a(S),"rgba")}function T(S,_){if(S=t(S),S&&_!=null)return S[3]=b(_),w(S,"rgba")}function w(S,_){if(!S||!S.length)return;var I=S[0]+","+S[1]+","+S[2];return(_==="rgba"||_==="hsva"||_==="hsla")&&(I+=","+S[3]),_+"("+I+")"}P.parse=t,P.lift=u,P.toHex=h,P.fastLerp=p,P.fastMapToColor=m,P.lerp=v,P.mapToColor=y,P.modifyHSL=E,P.modifyAlpha=T,P.stringify=w},Qi1f:function(H,P,d){"use strict";d.d(P,"g",function(){return l}),d.d(P,"c",function(){return u}),d.d(P,"a",function(){return p}),d.d(P,"b",function(){return m}),d.d(P,"d",function(){return v}),d.d(P,"e",function(){return y}),d.d(P,"f",function(){return T});var O=d("VTBJ"),x=d("U8pU"),C=d("AJpP"),A=d("q1tI"),b=d.n(A),g=d("Kwbf"),f=d("MNnm"),c="rc-util-key";function o(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},S=w.mark;return S?S.startsWith("data-")?S:"data-".concat(S):c}function r(w){if(w.attachTo)return w.attachTo;var S=document.querySelector("head");return S||document.body}function i(w){var S,_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(f.a)())return null;var I=document.createElement("style");if((S=_.csp)===null||S===void 0?void 0:S.nonce){var L;I.nonce=(L=_.csp)===null||L===void 0?void 0:L.nonce}I.innerHTML=w;var N=r(_),D=N.firstChild;return _.prepend&&N.prepend?N.prepend(I):_.prepend&&D?N.insertBefore(I,D):N.appendChild(I),I}var n=new Map;function e(w){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_=r(S);return Array.from(n.get(_).children).find(function(I){return I.tagName==="STYLE"&&I.getAttribute(o(S))===w})}function s(w){var S,_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=e(w,_);I==null||((S=I.parentNode)===null||S===void 0)||S.removeChild(I)}function t(w,S){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},I=r(_);if(!n.has(I)){var L=i("",_),N=L.parentNode;n.set(I,N),N.removeChild(L)}var D=e(S,_);if(D){var R,B;if(((R=_.csp)===null||R===void 0?void 0:R.nonce)&&D.nonce!==((B=_.csp)===null||B===void 0?void 0:B.nonce)){var M;D.nonce=(M=_.csp)===null||M===void 0?void 0:M.nonce}return D.innerHTML!==w&&(D.innerHTML=w),D}var U=i(w,_);return U.setAttribute(o(_),S),U}var a=d("Pw59");function l(w,S){Object(g.a)(w,"[@ant-design/icons] ".concat(S))}function u(w){return Object(x.a)(w)==="object"&&typeof w.name=="string"&&typeof w.theme=="string"&&(Object(x.a)(w.icon)==="object"||typeof w.icon=="function")}function h(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(w).reduce(function(S,_){var I=w[_];switch(_){case"class":S.className=I,delete S.class;break;default:S[_]=I}return S},{})}function p(w,S,_){return _?b.a.createElement(w.tag,Object(O.a)(Object(O.a)({key:S},h(w.attrs)),_),(w.children||[]).map(function(I,L){return p(I,"".concat(S,"-").concat(w.tag,"-").concat(L))})):b.a.createElement(w.tag,Object(O.a)({key:S},h(w.attrs)),(w.children||[]).map(function(I,L){return p(I,"".concat(S,"-").concat(w.tag,"-").concat(L))}))}function m(w){return Object(C.generate)(w)[0]}function v(w){return w?Array.isArray(w)?w:[w]:[]}var y={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},E=` .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); } } `,T=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E,_=Object(A.useContext)(a.a),I=_.csp;Object(A.useEffect)(function(){t(S,"@ant-design-icons",{prepend:!0,csp:I})},[])}},Qs3X:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("X+im"));function x(A){return A&&A.__esModule?A:{default:A}}var C=O;P.default=C,H.exports=C},Qs9O:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},QuXc:function(H,P){var d=function(C){this.colorStops=C||[]};d.prototype={constructor:d,addColorStop:function(C,A){this.colorStops.push({offset:C,color:A})}};var O=d;H.exports=O},Qvb6:function(H,P,d){var O=d("ProS"),x=d("bYtY"),C=d("ItGF"),A=d("B9fm"),b=d("gvm7"),g=d("7aKB"),f=d("OELB"),c=d("IwbS"),o=d("Ez2D"),r=d("+TT/"),i=d("Qxkt"),n=d("F9bG"),e=d("aX7z"),s=d("/y7N"),t=d("4NO4"),a=t.getTooltipRenderMode,l=x.bind,u=x.each,h=f.parsePercent,p=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),m=O.extendComponentView({type:"tooltip",init:function(_,I){if(C.node)return;var L=_.getComponent("tooltip"),N=L.get("renderMode");this._renderMode=a(N);var D;this._renderMode==="html"?(D=new A(I.getDom(),I,{appendToBody:L.get("appendToBody",!0)}),this._newLine="
    "):(D=new b(I),this._newLine=` `),this._tooltipContent=D},render:function(_,I,L){if(C.node)return;this.group.removeAll(),this._tooltipModel=_,this._ecModel=I,this._api=L,this._lastDataByCoordSys=null,this._alwaysShowContent=_.get("alwaysShowContent");var N=this._tooltipContent;N.update(),N.setEnterable(_.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var _=this._tooltipModel,I=_.get("triggerOn");n.register("itemTooltip",this._api,l(function(L,N,D){I!=="none"&&(I.indexOf(L)>=0?this._tryShow(N,D):L==="leave"&&this._hide(D))},this))},_keepShow:function(){var _=this._tooltipModel,I=this._ecModel,L=this._api;if(this._lastX!=null&&this._lastY!=null&&_.get("triggerOn")!=="none"){var N=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!L.isDisposed()&&N.manuallyShowTip(_,I,L,{x:N._lastX,y:N._lastY})})}},manuallyShowTip:function(_,I,L,N){if(N.from===this.uid||C.node)return;var D=y(N,L);this._ticket="";var R=N.dataByCoordSys;if(N.tooltip&&N.x!=null&&N.y!=null){var B=p;B.position=[N.x,N.y],B.update(),B.tooltip=N.tooltip,this._tryShow({offsetX:N.x,offsetY:N.y,target:B},D)}else if(R)this._tryShow({offsetX:N.x,offsetY:N.y,position:N.position,dataByCoordSys:N.dataByCoordSys,tooltipOption:N.tooltipOption},D);else if(N.seriesIndex!=null){if(this._manuallyAxisShowTip(_,I,L,N))return;var M=o(N,I),U=M.point[0],F=M.point[1];U!=null&&F!=null&&this._tryShow({offsetX:U,offsetY:F,position:N.position,target:M.el},D)}else N.x!=null&&N.y!=null&&(L.dispatchAction({type:"updateAxisPointer",x:N.x,y:N.y}),this._tryShow({offsetX:N.x,offsetY:N.y,position:N.position,target:L.getZr().findHover(N.x,N.y).target},D))},manuallyHideTip:function(_,I,L,N){var D=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&D.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,N.from!==this.uid&&this._hide(y(N,L))},_manuallyAxisShowTip:function(_,I,L,N){var D=N.seriesIndex,R=N.dataIndex,B=I.getComponent("axisPointer").coordSysAxesInfo;if(D==null||R==null||B==null)return;var M=I.getSeriesByIndex(D);if(!M)return;var U=M.getData(),_=v([U.getItemModel(R),M,(M.coordinateSystem||{}).model,_]);return _.get("trigger")!=="axis"?void 0:(L.dispatchAction({type:"updateAxisPointer",seriesIndex:D,dataIndex:R,position:N.position}),!0)},_tryShow:function(_,I){var L=_.target,N=this._tooltipModel;if(!N)return;this._lastX=_.offsetX,this._lastY=_.offsetY;var D=_.dataByCoordSys;D&&D.length?this._showAxisTooltip(D,_):L&&L.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(_,L,I)):L&&L.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(_,L,I)):(this._lastDataByCoordSys=null,this._hide(I))},_showOrMove:function(_,I){var L=_.get("showDelay");I=x.bind(I,this),clearTimeout(this._showTimout),L>0?this._showTimout=setTimeout(I,L):I()},_showAxisTooltip:function(_,I){var L=this._ecModel,N=this._tooltipModel,D=[I.offsetX,I.offsetY],R=[],B=[],M=v([I.tooltipOption,N]),U=this._renderMode,F=this._newLine,j={};u(_,function(V){u(V.dataByAxis,function(z){var J=L.getComponent(z.axisDim+"Axis",z.axisIndex),$=z.value,ce=[];if(!J||$==null)return;var ae=s.getValueLabel($,J.axis,L,z.seriesDataIndices,z.valueLabelOpt);x.each(z.seriesDataIndices,function(Ie){var De=L.getSeriesByIndex(Ie.seriesIndex),Ke=Ie.dataIndexInside,me=De&&De.getDataParams(Ke);if(me.axisDim=z.axisDim,me.axisIndex=z.axisIndex,me.axisType=z.axisType,me.axisId=z.axisId,me.axisValue=e.getAxisRawValue(J.axis,$),me.axisValueLabel=ae,me){B.push(me);var Ue=De.formatTooltip(Ke,!0,null,U),oe;if(x.isObject(Ue)){oe=Ue.html;var te=Ue.markers;x.merge(j,te)}else oe=Ue;ce.push(oe)}});var Ae=ae;U!=="html"?R.push(ce.join(F)):R.push((Ae?g.encodeHTML(Ae)+F:"")+ce.join(F))})},this),R.reverse(),R=R.join(this._newLine+this._newLine);var W=I.position;this._showOrMove(M,function(){this._updateContentNotChangedOnAxis(_)?this._updatePosition(M,W,D[0],D[1],this._tooltipContent,B):this._showTooltipContent(M,R,B,Math.random(),D[0],D[1],W,void 0,j)})},_showSeriesItemTooltip:function(_,I,L){var N=this._ecModel,D=I.seriesIndex,R=N.getSeriesByIndex(D),B=I.dataModel||R,M=I.dataIndex,U=I.dataType,F=B.getData(U),j=v([F.getItemModel(M),B,R&&(R.coordinateSystem||{}).model,this._tooltipModel]),W=j.get("trigger");if(W!=null&&W!=="item")return;var V=B.getDataParams(M,U),z=B.formatTooltip(M,!1,U,this._renderMode),J,$;x.isObject(z)?(J=z.html,$=z.markers):(J=z,$=null);var ce="item_"+B.name+"_"+M;this._showOrMove(j,function(){this._showTooltipContent(j,J,V,ce,_.offsetX,_.offsetY,_.position,_.target,$)}),L({type:"showTip",dataIndexInside:M,dataIndex:F.getRawIndex(M),seriesIndex:D,from:this.uid})},_showComponentItemTooltip:function(_,I,L){var N=I.tooltip;if(typeof N=="string"){var D=N;N={content:D,formatter:D}}var R=new i(N,this._tooltipModel,this._ecModel),B=R.get("content"),M=Math.random();this._showOrMove(R,function(){this._showTooltipContent(R,B,R.get("formatterParams")||{},M,_.offsetX,_.offsetY,_.position,I)}),L({type:"showTip",from:this.uid})},_showTooltipContent:function(_,I,L,N,D,R,B,M,U){if(this._ticket="",!_.get("showContent")||!_.get("show"))return;var F=this._tooltipContent,j=_.get("formatter");B=B||_.get("position");var W=I;if(j&&typeof j=="string")W=g.formatTpl(j,L,!0);else if(typeof j=="function"){var V=l(function(z,J){z===this._ticket&&(F.setContent(J,U,_),this._updatePosition(_,B,D,R,F,L,M))},this);this._ticket=N,W=j(L,N,V)}F.setContent(W,U,_),F.show(_),this._updatePosition(_,B,D,R,F,L,M)},_updatePosition:function(_,I,L,N,D,R,B){var M=this._api.getWidth(),U=this._api.getHeight();I=I||_.get("position");var F=D.getSize(),j=_.get("align"),W=_.get("verticalAlign"),V=B&&B.getBoundingRect().clone();if(B&&V.applyTransform(B.transform),typeof I=="function"&&(I=I([L,N],R,D.el,V,{viewSize:[M,U],contentSize:F.slice()})),x.isArray(I))L=h(I[0],M),N=h(I[1],U);else if(x.isObject(I)){I.width=F[0],I.height=F[1];var z=r.getLayoutRect(I,{width:M,height:U});L=z.x,N=z.y,j=null,W=null}else if(typeof I=="string"&&B){var J=w(I,V,F);L=J[0],N=J[1]}else{var J=E(L,N,D,M,U,j?null:20,W?null:20);L=J[0],N=J[1]}if(j&&(L-=S(j)?F[0]/2:j==="right"?F[0]:0),W&&(N-=S(W)?F[1]/2:W==="bottom"?F[1]:0),_.get("confine")){var J=T(L,N,D,M,U);L=J[0],N=J[1]}D.moveTo(L,N)},_updateContentNotChangedOnAxis:function(_){var I=this._lastDataByCoordSys,L=!!I&&I.length===_.length;return L&&u(I,function(N,D){var R=N.dataByAxis||{},B=_[D]||{},M=B.dataByAxis||[];L&=R.length===M.length,L&&u(R,function(U,F){var j=M[F]||{},W=U.seriesDataIndices||[],V=j.seriesDataIndices||[];L&=U.value===j.value&&U.axisType===j.axisType&&U.axisId===j.axisId&&W.length===V.length,L&&u(W,function(z,J){var $=V[J];L&=z.seriesIndex===$.seriesIndex&&z.dataIndex===$.dataIndex})})}),this._lastDataByCoordSys=_,!!L},_hide:function(_){this._lastDataByCoordSys=null,_({type:"hideTip",from:this.uid})},dispose:function(_,I){if(C.node)return;this._tooltipContent.dispose(),n.unregister("itemTooltip",I)}});function v(_){for(var I=_.pop();_.length;){var L=_.pop();L&&(i.isInstance(L)&&(L=L.get("tooltip",!0)),typeof L=="string"&&(L={formatter:L}),I=new i(L,I,I.ecModel))}return I}function y(_,I){return _.dispatchAction||x.bind(I.dispatchAction,I)}function E(_,I,L,N,D,R,B){var M=L.getOuterSize(),U=M.width,F=M.height;return R!=null&&(_+U+R>N?_-=U+R:_+=R),B!=null&&(I+F+B>D?I-=F+B:I+=B),[_,I]}function T(_,I,L,N,D){var R=L.getOuterSize(),B=R.width,M=R.height;return _=Math.min(_+B,N)-B,I=Math.min(I+M,D)-M,_=Math.max(_,0),I=Math.max(I,0),[_,I]}function w(_,I,L){var N=L[0],D=L[1],R=5,B=0,M=0,U=I.width,F=I.height;switch(_){case"inside":B=I.x+U/2-N/2,M=I.y+F/2-D/2;break;case"top":B=I.x+U/2-N/2,M=I.y-D-R;break;case"bottom":B=I.x+U/2-N/2,M=I.y+F+R;break;case"left":B=I.x-N-R,M=I.y+F/2-D/2;break;case"right":B=I.x+U+R,M=I.y+F/2-D/2}return[B,M]}function S(_){return _==="center"||_==="middle"}H.exports=m},Qxkt:function(H,P,d){var O=d("bYtY"),x=d("ItGF"),C=d("4NO4"),A=C.makeInner,b=d("Yl7c"),g=b.enableClassExtend,f=b.enableClassCheck,c=d("OQFs"),o=d("m9t5"),r=d("/iHx"),i=d("VR9l"),n=O.mixin,e=A();function s(u,h,p){this.parentModel=h,this.ecModel=p,this.option=u}s.prototype={constructor:s,init:null,mergeOption:function(u){O.merge(this.option,u,!0)},get:function(u,h){return u==null?this.option:t(this.option,this.parsePath(u),!h&&a(this,u))},getShallow:function(u,h){var p=this.option,m=p==null?p:p[u],v=!h&&a(this,u);return m==null&&v&&(m=v.getShallow(u)),m},getModel:function(u,h){var p=u==null?this.option:t(this.option,u=this.parsePath(u)),m;return h=h||(m=a(this,u))&&m.getModel(u),new s(p,h,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var u=this.constructor;return new u(O.clone(this.option))},setReadOnly:function(u){},parsePath:function(u){return typeof u=="string"&&(u=u.split(".")),u},customizeGetParent:function(u){e(this).getParent=u},isAnimationEnabled:function(){if(!x.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(u,h,p){for(var m=0;m=0;u--){var h=l[u];t(a.getAttribute(h.name),h.name)}})}function r(t){var a=e(t);b(function(l){l.removeAttribute(a),l.save(C)})}function i(){b(function(t){var a=t.XMLDocument.documentElement.attributes;t.load(C);for(var l=a.length-1;l>=0;l--)t.removeAttribute(a[l].name);t.save(C)})}var n=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function e(t){return t.replace(/^\d/,"___$&").replace(n,"___")}function s(){if(!A||!A.documentElement||!A.documentElement.addBehavior)return null;var t="script",a,l,u;try{l=new ActiveXObject("htmlfile"),l.open(),l.write("<"+t+">document.w=window'),l.close(),a=l.w.frames[0].document,u=a.createElement("div")}catch(h){u=A.createElement("div"),a=A.body}return function(h){var p=[].slice.call(arguments,0);p.unshift(u),a.appendChild(u),u.addBehavior("#default#userData"),u.load(C),h.apply(this,p),a.removeChild(u);return}}},RPvy:function(H,P,d){var O=d("ProS"),x=d("VaxA"),C="sunburstRootToNode";O.registerAction({type:C,update:"updateView"},function(g,f){f.eachComponent({mainType:"series",subType:"sunburst",query:g},c);function c(o,r){var i=x.retrieveTargetInfo(g,[C],o);if(i){var n=o.getViewRoot();n&&(g.direction=x.aboveViewRoot(n,i.node)?"rollUp":"drillDown"),o.resetViewRoot(i.node)}}});var A="sunburstHighlight";O.registerAction({type:A,update:"updateView"},function(g,f){f.eachComponent({mainType:"series",subType:"sunburst",query:g},c);function c(o,r){var i=x.retrieveTargetInfo(g,[A],o);i&&(g.highlight=i.node)}});var b="sunburstUnhighlight";O.registerAction({type:b,update:"updateView"},function(g,f){f.eachComponent({mainType:"series",subType:"sunburst",query:g},c);function c(o,r){g.unhighlight=!0}})},RSch:function(H,P,d){var O=d("IwbS"),x=d("bYtY");function C(g,f,c){O.Group.call(this),this._createPolyline(g,f,c)}var A=C.prototype;A._createPolyline=function(g,f,c){var o=g.getItemLayout(f),r=new O.Polyline({shape:{points:o}});this.add(r),this._updateCommonStl(g,f,c)},A.updateData=function(g,f,c){var o=g.hostModel,r=this.childAt(0),i={shape:{points:g.getItemLayout(f)}};O.updateProps(r,i,o,f),this._updateCommonStl(g,f,c)},A._updateCommonStl=function(g,f,c){var o=this.childAt(0),r=g.getItemModel(f),i=g.getItemVisual(f,"color"),n=c&&c.lineStyle,e=c&&c.hoverLineStyle;(!c||g.hasItemOption)&&(n=r.getModel("lineStyle").getLineStyle(),e=r.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(x.defaults({strokeNoScale:!0,fill:"none",stroke:i},n)),o.hoverStyle=e,O.setHoverStyle(this)},A.updateLayout=function(g,f){var c=this.childAt(0);c.setShape("points",g.getItemLayout(f))},x.inherits(C,O.Group);var b=C;H.exports=b},RXMa:function(H,P,d){var O=d("y+Vt"),x=O.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(A,b){var g=b.cx,f=b.cy,c=Math.PI*2;A.moveTo(g+b.r,f),A.arc(g,f,b.r,0,c,!1),A.moveTo(g+b.r0,f),A.arc(g,f,b.r0,0,c,!0)}});H.exports=x},RZPm:function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("JgUQ")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="FileOutlined";var c=A.forwardRef(f);P.default=c},RlCK:function(H,P,d){var O=d("ProS"),x=d("bYtY");function C(A,b,g){var f={},c=A==="toggleSelected",o;return g.eachComponent("legend",function(r){c&&o!=null?r[o?"select":"unSelect"](b.name):A==="allSelect"||A==="inverseSelect"?r[A]():(r[A](b.name),o=r.isSelected(b.name));var i=r.getData();x.each(i,function(n){var e=n.get("name");if(e===` `||e==="")return;var s=r.isSelected(e);f.hasOwnProperty(e)?f[e]=f[e]&&s:f[e]=s})}),A==="allSelect"||A==="inverseSelect"?{selected:f}:{name:b.name,selected:f}}O.registerAction("legendToggleSelect","legendselectchanged",x.curry(C,"toggleSelected")),O.registerAction("legendAllSelect","legendselectall",x.curry(C,"allSelect")),O.registerAction("legendInverseSelect","legendinverseselect",x.curry(C,"inverseSelect")),O.registerAction("legendSelect","legendselected",x.curry(C,"select")),O.registerAction("legendUnSelect","legendunselected",x.curry(C,"unSelect"))},RotF:function(H,P,d){H.exports=d("LSTS")},Rx6q:function(H,P){function d(O){var x=O.getRect(),C=O.getRangeInfo();return{coordSys:{type:"calendar",x:x.x,y:x.y,width:x.width,height:x.height,cellWidth:O.getCellWidth(),cellHeight:O.getCellHeight(),rangeInfo:{start:C.start,end:C.end,weeks:C.weeks,dayCount:C.allDay}},api:{coord:function(A,b){return O.dataToPoint(A,b)}}}}H.exports=d},"S/Yl":function(H,P,d){var O=d("Zvw2"),x=d("aX7z"),C=d("+TT/"),A=C.getLayoutRect,b=d("bYtY"),g=b.each;function f(o,r,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(o,r,i),this.model=o}f.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:f,_init:function(o,r,i){var n=this.dimension,e=new O(n,x.createScaleByModel(o),[0,0],o.get("type"),o.get("position")),s=e.type==="category";e.onBand=s&&o.get("boundaryGap"),e.inverse=o.get("inverse"),e.orient=o.get("orient"),o.axis=e,e.model=o,e.coordinateSystem=this,this._axis=e},update:function(o,r){o.eachSeries(function(i){if(i.coordinateSystem===this){var n=i.getData();g(n.mapDimension(this.dimension,!0),function(e){this._axis.scale.unionExtentFromData(n,e)},this),x.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(o,r){this._rect=A({left:o.get("left"),top:o.get("top"),right:o.get("right"),bottom:o.get("bottom"),width:o.get("width"),height:o.get("height")},{width:r.getWidth(),height:r.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var o=this._rect,r=this._axis,i=r.isHorizontal(),n=i?[0,o.width]:[0,o.height],e=r.reverse?1:0;r.setExtent(n[e],n[1-e]),this._updateAxisTransform(r,i?o.x:o.y)},_updateAxisTransform:function(o,r){var i=o.getExtent(),n=i[0]+i[1],e=o.isHorizontal();o.toGlobalCoord=e?function(s){return s+r}:function(s){return n-s+r},o.toLocalCoord=e?function(s){return s-r}:function(s){return n-s+r}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(o){var r=this.getRect(),i=this.getAxis(),n=i.orient;return n==="horizontal"?i.contain(i.toLocalCoord(o[0]))&&o[1]>=r.y&&o[1]<=r.y+r.height:i.contain(i.toLocalCoord(o[1]))&&o[0]>=r.y&&o[0]<=r.y+r.height},pointToData:function(o){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(o[r.orient==="horizontal"?0:1]))]},dataToPoint:function(o){var r=this.getAxis(),i=this.getRect(),n=[],e=r.orient==="horizontal"?0:1;return o instanceof Array&&(o=o[0]),n[e]=r.toGlobalCoord(r.dataToCoord(+o)),n[1-e]=e===0?i.y+i.height/2:i.x+i.width/2,n}};var c=f;H.exports=c},S6kV:function(H,P,d){(function(O,x,C){H.exports=P=x(d("Ib8C"),d("OLod"))})(this,function(O){return O.mode.OFB=function(){var x=O.lib.BlockCipherMode.extend(),C=x.Encryptor=x.extend({processBlock:function(b,g){var f=this._cipher,c=f.blockSize,o=this._iv,r=this._keystream;o&&(r=this._keystream=o.slice(0),this._iv=void 0),f.encryptBlock(r,0);for(var i=0;i=0;u--){var h=n[u].interval;if(h[0]<=l&&l<=h[1]){a=u;break}}return u>=0&&u=n[0]&&s<=n[1]}}function o(i){var n=i.dimensions;return n[0]==="lng"&&n[1]==="lat"}var r=C.extendChartView({type:"heatmap",render:function(i,n,e){var s;n.eachComponent("visualMap",function(a){a.eachTargetSeries(function(l){l===i&&(s=a)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=i.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(i,e,0,i.getData().count()):o(t)&&this._renderOnGeo(t,i,s,e)},incrementalPrepareRender:function(i,n,e){this.group.removeAll()},incrementalRender:function(i,n,e,s){var t=n.coordinateSystem;t&&this._renderOnCartesianAndCalendar(n,s,i.start,i.end,!0)},_renderOnCartesianAndCalendar:function(i,n,e,s,t){var a=i.coordinateSystem,l,u;if(a.type==="cartesian2d"){var h=a.getAxis("x"),p=a.getAxis("y");l=h.getBandWidth(),u=p.getBandWidth()}for(var m=this.group,v=i.getData(),y="itemStyle",E="emphasis.itemStyle",T="label",w="emphasis.label",S=i.getModel(y).getItemStyle(["color"]),_=i.getModel(E).getItemStyle(),I=i.getModel(T),L=i.getModel(w),N=a.type,D=N==="cartesian2d"?[v.mapDimension("x"),v.mapDimension("y"),v.mapDimension("value")]:[v.mapDimension("time"),v.mapDimension("value")],R=e;R=0?p=p+v:p=p-v:S>=0?p=p-v:p=p+v}return p}function n(e,s){var t=[],a=O.quadraticSubdivide,l=[[],[],[]],u=[[],[]],h=[];s/=2,e.eachEdge(function(p,m){var v=p.getLayout(),y=p.getVisual("fromSymbol"),E=p.getVisual("toSymbol");v.__original||(v.__original=[x.clone(v[0]),x.clone(v[1])],v[2]&&v.__original.push(x.clone(v[2])));var T=v.__original;if(v[2]!=null){if(x.copy(l[0],T[0]),x.copy(l[1],T[2]),x.copy(l[2],T[1]),y&&y!=="none"){var w=A(p.node1),S=i(l,T[0],w*s);a(l[0][0],l[1][0],l[2][0],S,t),l[0][0]=t[3],l[1][0]=t[4],a(l[0][1],l[1][1],l[2][1],S,t),l[0][1]=t[3],l[1][1]=t[4]}if(E&&E!=="none"){var w=A(p.node2),S=i(l,T[1],w*s);a(l[0][0],l[1][0],l[2][0],S,t),l[1][0]=t[1],l[2][0]=t[2],a(l[0][1],l[1][1],l[2][1],S,t),l[1][1]=t[1],l[2][1]=t[2]}x.copy(v[0],l[0]),x.copy(v[1],l[2]),x.copy(v[2],l[1])}else{if(x.copy(u[0],T[0]),x.copy(u[1],T[1]),x.sub(h,u[1],u[0]),x.normalize(h,h),y&&y!=="none"){var w=A(p.node1);x.scaleAndAdd(u[0],u[0],h,w*s)}if(E&&E!=="none"){var w=A(p.node2);x.scaleAndAdd(u[1],u[1],h,-w*s)}x.copy(v[0],u[0]),x.copy(v[1],u[1])}})}H.exports=n},SJMd:function(H,P){/** * @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 d,O,x,C=!1,A,b;window.PR_SHOULD_USE_CONTINUATION=!0;var g,f;(function(){var c=window,o=["break,continue,do,else,for,if,return,while"],r=[o,"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"],i=[r,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],n=[i,"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"],e=[i,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],s=[i,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],t="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",a=[i,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="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",u=[o,"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"],h=[o,"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"],p=[o,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],m=[n,s,e,a,l,u,h,p],v=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,y="str",E="kwd",T="com",w="typ",S="lit",_="pun",I="pln",L="tag",N="dec",D="src",R="atn",B="atv",M="nocode",U="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function F(se){for(var Y=0,X=!1,Q=!1,ge=0,de=se.length;ge122||(Be<65||Nt>90||et.push([Math.max(65,Nt)|32,Math.min(Be,90)|32]),Be<97||Nt>122||et.push([Math.max(97,Nt)&~32,Math.min(Be,122)&~32]))}}et.sort(function(Ne,q){return Ne[0]-q[0]||q[1]-Ne[1]});for(var ne=[],G=[],Ct=0;CtPe[0]&&(Pe[1]+1>Pe[0]&&at.push("-"),at.push(fe(Pe[1])))}return at.push("]"),at.join("")}function Ge(Je){for(var Ce=Je.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")),et=Ce.length,ze=[],at=0,Ct=0;at=2&&Nt==="["?Ce[at]=Ee(Tt):Nt!=="\\"&&(Ce[at]=Tt.replace(/[a-zA-Z]/g,function(G){var Pe=G.charCodeAt(0);return"["+String.fromCharCode(Pe&~32,Pe|32)+"]"}))}return Ce.join("")}for(var lt=[],ge=0,de=se.length;ge=0;)X[lt.charAt(Je)]=Ge;var Ce=Ge[1],et=""+Ce;le.hasOwnProperty(et)||(xe.push(Ce),le[et]=null)}xe.push(/[\0-\uffff]/),Q=F(xe)})();var ge=Y.length,de=function Te(xe){for(var le=xe.sourceCode,fe=xe.basePos,Ee=xe.sourceNode,Ge=[fe,I],lt=0,Je=le.match(Q)||[],Ce={},et=0,ze=Je.length;et=5&&Ct.substring(0,5)==="lang-",Ot&&!(Tt&&typeof Tt[1]=="string")&&(Ot=!1,Ct=D),Ot||(Ce[at]=Ct)}var ne=lt;if(lt+=at.length,!Ot)Ge.push(fe+ne,Ct);else{var G=Tt[1],Pe=at.indexOf(G),Ne=Pe+G.length;Tt[2]&&(Ne=at.length-Tt[2].length,Pe=Ne-G.length);var q=Ct.substring(5);W(Ee,fe+ne,at.substring(0,Pe),Te,Ge),W(Ee,fe+ne+Pe,G,Ke(q,G),Ge),W(Ee,fe+ne+Ne,at.substring(Ne),Te,Ge)}}xe.decorations=Ge};return de}function $(se){var Y=[],X=[];se.tripleQuotedStrings?Y.push([y,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):se.multiLineStrings?Y.push([y,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Y.push([y,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),se.verbatimStrings&&X.push([y,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Q=se.hashComments;Q&&(se.cStyleComments?(Q>1?Y.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Y.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),X.push([y,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Y.push([T,/^#[^\r\n]*/,null,"#"])),se.cStyleComments&&(X.push([T,/^\/\/[^\r\n]*/,null]),X.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var ge=se.regexLiterals;if(ge){var de=ge>1?"":` \r`,Te=de?".":"[\\S\\s]",xe="/(?=[^/*"+de+"])(?:[^/\\x5B\\x5C"+de+"]|\\x5C"+Te+"|\\x5B(?:[^\\x5C\\x5D"+de+"]|\\x5C"+Te+")*(?:\\x5D|$))+/";X.push(["lang-regex",RegExp("^"+U+"("+xe+")")])}var le=se.types;le&&X.push([w,le]);var fe=(""+se.keywords).replace(/^ | $/g,"");fe.length&&X.push([E,new RegExp("^(?:"+fe.replace(/[\s,]+/g,"|")+")\\b"),null]),Y.push([I,/^\s+/,null,` \r \xA0`]);var Ee="^.[^\\s\\w.$@'\"`/\\\\]*";return se.regexLiterals&&(Ee+="(?!s*/)"),X.push([S,/^@[a-z_$][a-z_$@0-9]*/i,null],[w,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[I,/^[a-z_$][a-z_$@0-9]*/i,null],[S,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[I,/^\\[\s\S]?/,null],[_,new RegExp(Ee),null]),J(Y,X)}var ce=$({keywords:m,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function ae(se,Y,X){for(var Q=/(?:^|\s)nocode(?:\s|$)/,ge=/\r\n?|\n/,de=se.ownerDocument,Te=de.createElement("li");se.firstChild;)Te.appendChild(se.firstChild);var xe=[Te];function le(Ce){var et=Ce.nodeType;if(et==1&&!Q.test(Ce.className))if(Ce.nodeName==="br")fe(Ce),Ce.parentNode&&Ce.parentNode.removeChild(Ce);else for(var ze=Ce.firstChild;ze;ze=ze.nextSibling)le(ze);else if((et==3||et==4)&&X){var at=Ce.nodeValue,Ct=at.match(ge);if(Ct){var Tt=at.substring(0,Ct.index);Ce.nodeValue=Tt;var Ot=at.substring(Ct.index+Ct[0].length);if(Ot){var Nt=Ce.parentNode;Nt.insertBefore(de.createTextNode(Ot),Ce.nextSibling)}fe(Ce),Tt||Ce.parentNode.removeChild(Ce)}}}function fe(Ce){for(;!Ce.nextSibling;)if(Ce=Ce.parentNode,!Ce)return;function et(Ct,Tt){var Ot=Tt?Ct.cloneNode(!1):Ct,Nt=Ct.parentNode;if(Nt){var Be=et(Nt,1),ne=Ct.nextSibling;Be.appendChild(Ot);for(var G=ne;G;G=ne)ne=G.nextSibling,Be.appendChild(G)}return Ot}for(var ze=et(Ce.nextSibling,0),at;(at=ze.parentNode)&&at.nodeType===1;)ze=at;xe.push(ze)}for(var Ee=0;Ee=Nt&&(le+=2),de>=Be&&(Ge+=2)}}finally{at&&(at.style.display=Ct)}}var Ie={};function De(se,Y){for(var X=Y.length;--X>=0;){var Q=Y[X];Ie.hasOwnProperty(Q)?c.console&&console.warn("cannot override language handler %s",Q):Ie[Q]=se}}function Ke(se,Y){return se&&Ie.hasOwnProperty(se)||(se=/^\s*]*(?:>|$)/],[T,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[_,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),De(J([[I,/^[\s]+/,null,` \r `],[B,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[L,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[R,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[_,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),De(J([],[[B,/^[\s\S]+/]]),["uq.val"]),De($({keywords:n,hashComments:!0,cStyleComments:!0,types:v}),["c","cc","cpp","cxx","cyc","m"]),De($({keywords:"null,true,false"}),["json"]),De($({keywords:s,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:v}),["cs"]),De($({keywords:e,cStyleComments:!0}),["java"]),De($({keywords:p,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),De($({keywords:u,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),De($({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),De($({keywords:h,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),De($({keywords:a,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),De($({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),De(J([],[[y,/^[\s\S]+/]]),["regex"]);function me(se){var Y=se.langExtension;try{var X=j(se.sourceNode,se.pre),Q=X.sourceCode;se.sourceCode=Q,se.spans=X.spans,se.basePos=0,Ke(Y,Q)(se),Ae(se)}catch(ge){c.console&&console.log(ge&&ge.stack||ge)}}function Ue(se,Y,X){var Q=X||!1,ge=Y||null,de=document.createElement("div");de.innerHTML="
    "+se+"
    ",de=de.firstChild,Q&&ae(de,Q,!0);var Te={langExtension:ge,numberLines:Q,sourceNode:de,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return me(Te),de.innerHTML}function oe(se,Y){var X=Y||document.body,Q=X.ownerDocument||document;function ge(Ot){return X.getElementsByTagName(Ot)}for(var de=[ge("pre"),ge("code"),ge("xmp")],Te=[],xe=0;xe=b.right?g.x=b.width-1:g.x=x-b.left,C=b.bottom?g.y=b.height-1:g.y=C-b.top,g}},Sdc0:function(H,P,d){"use strict";var O=d("pVnL"),x=d.n(O),C=d("lSNA"),A=d.n(C),b=d("q1tI"),g=d("rePB"),f=d("ODXe"),c=d("Ff2n"),o=d("TSYQ"),r=d.n(o),i=d("6cGi"),n=d("4IlW"),e=b.forwardRef(function(E,T){var w,S=E.prefixCls,_=S===void 0?"rc-switch":S,I=E.className,L=E.checked,N=E.defaultChecked,D=E.disabled,R=E.loadingIcon,B=E.checkedChildren,M=E.unCheckedChildren,U=E.onClick,F=E.onChange,j=E.onKeyDown,W=Object(c.a)(E,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),V=Object(i.a)(!1,{value:L,defaultValue:N}),z=Object(f.a)(V,2),J=z[0],$=z[1];function ce(De,Ke){var me=J;return D||(me=De,$(me),F==null||F(me,Ke)),me}function ae(De){De.which===n.a.LEFT?ce(!1,De):De.which===n.a.RIGHT&&ce(!0,De),j==null||j(De)}function Ae(De){var Ke=ce(!J,De);U==null||U(Ke,De)}var Ie=r()(_,I,(w={},Object(g.a)(w,"".concat(_,"-checked"),J),Object(g.a)(w,"".concat(_,"-disabled"),D),w));return b.createElement("button",Object.assign({},W,{type:"button",role:"switch","aria-checked":J,disabled:D,className:Ie,ref:T,onKeyDown:ae,onClick:Ae}),R,b.createElement("span",{className:"".concat(_,"-inner")},J?B:M))});e.displayName="Switch";var s=e,t=d("gZBC"),a=d.n(t),l=d("g0mS"),u=d("H84U"),h=d("3Nzz"),p=d("uaoM"),m=function(E,T){var w={};for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&T.indexOf(S)<0&&(w[S]=E[S]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,S=Object.getOwnPropertySymbols(E);_3?1.4:h>1?1.2:1.1,y=u>0?v:1/v;i(this,"zoom","zoomOnMouseWheel",t,{scale:y,originX:p,originY:m})}if(l){var E=Math.abs(u),T=(u>0?1:-1)*(E>3?.4:E>1?.15:.05);i(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:T,originX:p,originY:m})}}function r(t){if(A.isTaken(this._zr,"globalPan"))return;var a=t.pinchScale>1?1.1:1/1.1;i(this,"zoom",null,t,{scale:a,originX:t.pinchX,originY:t.pinchY})}function i(t,a,l,u,h){t.pointerChecker&&t.pointerChecker(u,h.originX,h.originY)&&(C.stop(u.event),n(t,a,l,u,h))}function n(t,a,l,u,h){h.isAvailableBehavior=O.bind(e,null,l,u),t.trigger(a,h)}function e(t,a,l){var u=l[t];return!t||u&&(!O.isString(u)||a.event[u+"Key"])}var s=b;H.exports=s},SgaC:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;function O(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function x(b,g){for(var f=0;f0;){if(i.rQwait("RRE",4+8))return!1;var t=i.rQshiftBytes(4),a=i.rQshift16(),l=i.rQshift16(),u=i.rQshift16(),h=i.rQshift16();n.fillRect(f+a,c+l,u,h,t),this._subrects--}return!0}}]),b}();P.default=A},Sj0X:function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("XuBP")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="DownOutlined";var c=A.forwardRef(f);P.default=c},Sj9i:function(H,P,d){var O=d("QBsz"),x=O.create,C=O.distSquare,A=Math.pow,b=Math.sqrt,g=1e-8,f=1e-4,c=b(3),o=1/3,r=x(),i=x(),n=x();function e(S){return S>-g&&Sg||S<-g}function t(S,_,I,L,N){var D=1-N;return D*D*(D*S+3*N*_)+N*N*(N*L+3*D*I)}function a(S,_,I,L,N){var D=1-N;return 3*(((_-S)*D+2*(I-_)*N)*D+(L-I)*N*N)}function l(S,_,I,L,N,D){var R=L+3*(_-I)-S,B=3*(I-_*2+S),M=3*(_-S),U=S-N,F=B*B-3*R*M,j=B*M-9*R*U,W=M*M-3*B*U,V=0;if(e(F)&&e(j))if(e(B))D[0]=0;else{var z=-M/B;z>=0&&z<=1&&(D[V++]=z)}else{var J=j*j-4*F*W;if(e(J)){var $=j/F,z=-B/R+$,ce=-$/2;z>=0&&z<=1&&(D[V++]=z),ce>=0&&ce<=1&&(D[V++]=ce)}else if(J>0){var ae=b(J),Ae=F*B+1.5*R*(-j+ae),Ie=F*B+1.5*R*(-j-ae);Ae<0?Ae=-A(-Ae,o):Ae=A(Ae,o),Ie<0?Ie=-A(-Ie,o):Ie=A(Ie,o);var z=(-B-(Ae+Ie))/(3*R);z>=0&&z<=1&&(D[V++]=z)}else{var De=(2*F*B-3*R*j)/(2*b(F*F*F)),Ke=Math.acos(De)/3,me=b(F),Ue=Math.cos(Ke),z=(-B-2*me*Ue)/(3*R),ce=(-B+me*(Ue+c*Math.sin(Ke)))/(3*R),oe=(-B+me*(Ue-c*Math.sin(Ke)))/(3*R);z>=0&&z<=1&&(D[V++]=z),ce>=0&&ce<=1&&(D[V++]=ce),oe>=0&&oe<=1&&(D[V++]=oe)}}return V}function u(S,_,I,L,N){var D=6*I-12*_+6*S,R=9*_+3*L-3*S-9*I,B=3*_-3*S,M=0;if(e(R)){if(s(D)){var U=-B/D;U>=0&&U<=1&&(N[M++]=U)}}else{var F=D*D-4*R*B;if(e(F))N[0]=-D/(2*R);else if(F>0){var j=b(F),U=(-D+j)/(2*R),W=(-D-j)/(2*R);U>=0&&U<=1&&(N[M++]=U),W>=0&&W<=1&&(N[M++]=W)}}return M}function h(S,_,I,L,N,D){var R=(_-S)*N+S,B=(I-_)*N+_,M=(L-I)*N+I,U=(B-R)*N+R,F=(M-B)*N+B,j=(F-U)*N+U;D[0]=S,D[1]=R,D[2]=U,D[3]=j,D[4]=j,D[5]=F,D[6]=M,D[7]=L}function p(S,_,I,L,N,D,R,B,M,U,F){var j,W=.005,V=Infinity,z,J,$,ce;r[0]=M,r[1]=U;for(var ae=0;ae<1;ae+=.05)i[0]=t(S,I,N,R,ae),i[1]=t(_,L,D,B,ae),$=C(r,i),$=0&&$=0&&U<=1&&(N[M++]=U)}}else{var F=R*R-4*D*B;if(e(F)){var U=-R/(2*D);U>=0&&U<=1&&(N[M++]=U)}else if(F>0){var j=b(F),U=(-R+j)/(2*D),W=(-R-j)/(2*D);U>=0&&U<=1&&(N[M++]=U),W>=0&&W<=1&&(N[M++]=W)}}return M}function E(S,_,I){var L=S+I-2*_;return L===0?.5:(S-_)/L}function T(S,_,I,L,N){var D=(_-S)*L+S,R=(I-_)*L+_,B=(R-D)*L+D;N[0]=S,N[1]=D,N[2]=B,N[3]=B,N[4]=R,N[5]=I}function w(S,_,I,L,N,D,R,B,M){var U,F=.005,j=Infinity;r[0]=R,r[1]=B;for(var W=0;W<1;W+=.05){i[0]=m(S,I,N,W),i[1]=m(_,L,D,W);var V=C(r,i);V=0&&V=0;--p)if(h[p]===u)return!0;return!1}),l):null:l[0]},e.prototype.update=function(t,a){if(!t)return;var l=this.getDefs(!1);if(t[this._domName]&&l.contains(t[this._domName]))typeof a=="function"&&a(t);else{var u=this.add(t);u&&(t[this._domName]=u)}},e.prototype.addDom=function(t){var a=this.getDefs(!0);a.appendChild(t)},e.prototype.removeDom=function(t){var a=this.getDefs(!1);a&&t[this._domName]&&(a.removeChild(t[this._domName]),t[this._domName]=null)},e.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var a=[];return C.each(this._tagNames,function(l){var u=t.getElementsByTagName(l);a=a.concat([].slice.call(u))}),a},e.prototype.markAllUnused=function(){var t=this.getDoms(),a=this;C.each(t,function(l){l[a._markLabel]=i})},e.prototype.markUsed=function(t){t&&(t[this._markLabel]=n)},e.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var a=this.getDoms(),l=this;C.each(a,function(u){u[l._markLabel]!==n&&t.removeChild(u)})},e.prototype.getSvgProxy=function(t){return t instanceof A?c:t instanceof b?o:t instanceof g?r:c},e.prototype.getTextSvgElement=function(t){return t.__textSvgEl},e.prototype.getSvgElement=function(t){return t.__svgEl};var s=e;H.exports=s},Swgg:function(H,P,d){var O=d("fc+c"),x=O.extend({type:"dataZoom.select"});H.exports=x},Sxd8:function(H,P,d){var O=d("ZCgT");function x(C){var A=O(C),b=A%1;return A===A?b?A-b:A:0}H.exports=x},T1rO:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("zdCA"));function x(A){return A&&A.__esModule?A:{default:A}}var C=O;P.default=C,H.exports=C},T4UG:function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("bYtY"),A=d("ItGF"),b=d("7aKB"),g=b.formatTime,f=b.encodeHTML,c=b.addCommas,o=b.getTooltipMarker,r=d("4NO4"),i=d("bLfw"),n=d("5Hur"),e=d("OKJ2"),s=d("+TT/"),t=s.getLayoutParams,a=s.mergeLayoutParam,l=d("9H2F"),u=l.createTask,h=d("D5nY"),p=h.prepareSource,m=h.getSource,v=d("KxfA"),y=v.retrieveRawValue,E=r.makeInner(),T=i.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(M,U,F,j){this.seriesIndex=this.componentIndex,this.dataTask=u({count:_,reset:I}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(M,F),p(this);var W=this.getInitialData(M,F);N(W,this),this.dataTask.context.data=W,E(this).dataBeforeProcessed=W,w(this)},mergeDefaultAndTheme:function(M,U){var F=this.layoutMode,j=F?t(M):{},W=this.subType;i.hasClass(W)&&(W+="Series"),C.merge(M,U.getTheme().get(this.subType)),C.merge(M,this.getDefaultOption()),r.defaultEmphasis(M,"label",["show"]),this.fillDataTextStyle(M.data),F&&a(M,j,F)},mergeOption:function(M,U){M=C.merge(this.option,M,!0),this.fillDataTextStyle(M.data);var F=this.layoutMode;F&&a(this.option,M,F),p(this);var j=this.getInitialData(M,U);N(j,this),this.dataTask.dirty(),this.dataTask.context.data=j,E(this).dataBeforeProcessed=j,w(this)},fillDataTextStyle:function(M){if(M&&!C.isTypedArray(M))for(var U=["show"],F=0;F":` `,z=j==="richText",J={},$=0;function ce(de){var Te=C.reduce(de,function(Ge,lt,Je){var Ce=Ae.getDimensionInfo(Je);return Ge|=Ce&&Ce.tooltip!==!1&&Ce.displayName!=null},0),xe=[];Ie.length?C.each(Ie,function(Ge){le(y(Ae,M,Ge),Ge)}):C.each(de,le);function le(Ge,lt){var Je=Ae.getDimensionInfo(lt);if(!Je||Je.otherDims.tooltip===!1)return;var Ce=Je.type,et="sub"+W.seriesIndex+"at"+$,ze=o({color:Ue,type:"subItem",renderMode:j,markerId:et}),at=typeof ze=="string"?ze:ze.content,Ct=(Te?at+f(Je.displayName||"-")+": ":"")+f(Ce==="ordinal"?Ge+"":Ce==="time"?U?"":g("yyyy/MM/dd hh:mm:ss",Ge):c(Ge));Ct&&xe.push(Ct),z&&(J[et]=Ue,++$)}var fe=Te?z?` `:"
    ":"",Ee=fe+xe.join(fe||", ");return{renderMode:j,content:Ee,style:J}}function ae(de){return{renderMode:j,content:f(c(de)),style:J}}var Ae=this.getData(),Ie=Ae.mapDimension("defaultedTooltip",!0),De=Ie.length,Ke=this.getRawValue(M),me=C.isArray(Ke),Ue=Ae.getItemVisual(M,"color");C.isObject(Ue)&&Ue.colorStops&&(Ue=(Ue.colorStops[0]||{}).color),Ue=Ue||"transparent";var oe=De>1||me&&!De?ce(Ke):ae(De?y(Ae,M,Ie[0]):me?Ke[0]:Ke),te=oe.content,Qe=W.seriesIndex+"at"+$,se=o({color:Ue,type:"item",renderMode:j,markerId:Qe});J[Qe]=Ue,++$;var Y=Ae.getName(M),X=this.name;r.isNameSpecified(this)||(X=""),X=X?f(X)+(U?": ":V):"";var Q=typeof se=="string"?se:se.content,ge=U?Q+X+te:X+Q+(Y?f(Y)+": "+te:te);return{html:ge,markers:J}},isAnimationEnabled:function(){if(A.node)return!1;var M=this.getShallow("animation");return M&&(this.getData().count()>this.getShallow("animationThreshold")&&(M=!1)),M},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(M,U,F){var j=this.ecModel,W=n.getColorFromPalette.call(this,M,U,F);return W||(W=j.getColorFromPalette(M,U,F)),W},coordDimToDataDim:function(M){return this.getRawData().mapDimension(M,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});C.mixin(T,e),C.mixin(T,n);function w(M){var U=M.name;r.isNameSpecified(M)||(M.name=S(M)||U)}function S(M){var U=M.getRawData(),F=U.mapDimension("seriesName",!0),j=[];return C.each(F,function(W){var V=U.getDimensionInfo(W);V.displayName&&j.push(V.displayName)}),j.join(" ")}function _(M){return M.model.getRawData().count()}function I(M){var U=M.model;return U.setData(U.getRawData().cloneShallow()),L}function L(M,U){U.outputData&&M.end>U.outputData.count()&&U.model.getRawData().cloneShallow(U.outputData)}function N(M,U){C.each(M.CHANGABLE_METHODS,function(F){M.wrapMethod(F,C.curry(D,U))})}function D(M){var U=R(M);U&&U.setOutputEnd(this.count())}function R(M){var U=(M.ecModel||{}).scheduler,F=U&&U.getPipeline(M.uid);if(F){var j=F.currentTask;if(j){var W=j.agentStubMap;W&&(j=W.get(M.uid))}return j}}var B=T;H.exports=B},T6xi:function(H,P,d){var O=d("YgsL"),x=d("nCxF");function C(A,b,g){var f=b.points,c=b.smooth;if(f&&f.length>=2){if(c&&c!=="spline"){var o=x(f,c,g,b.smoothConstraint);A.moveTo(f[0][0],f[0][1]);for(var r=f.length,i=0;i<(g?r:r-1);i++){var n=o[i*2],e=o[i*2+1],s=f[(i+1)%r];A.bezierCurveTo(n[0],n[1],e[0],e[1],s[0],s[1])}}else{c==="spline"&&(f=O(f,g)),A.moveTo(f[0][0],f[0][1]);for(var i=1,t=f.length;i0?A:b)}function e(s,t){return t.get(s>0?x:C)}}};H.exports=g},TNol:function(H,P,d){"use strict";var O=d("q1tI"),x=d.n(O),C=d("MNnm"),A=Object(C.a)()?O.useLayoutEffect:O.useEffect;P.a=A},TWL2:function(H,P,d){var O=d("IwbS"),x=d("bYtY"),C=d("6Ic6");function A(o,r){O.Group.call(this);var i=new O.Polygon,n=new O.Polyline,e=new O.Text;this.add(i),this.add(n),this.add(e),this.highDownOnUpdate=function(s,t){t==="emphasis"?(n.ignore=n.hoverIgnore,e.ignore=e.hoverIgnore):(n.ignore=n.normalIgnore,e.ignore=e.normalIgnore)},this.updateData(o,r,!0)}var b=A.prototype,g=["itemStyle","opacity"];b.updateData=function(o,r,i){var n=this.childAt(0),e=o.hostModel,s=o.getItemModel(r),t=o.getItemLayout(r),a=o.getItemModel(r).get(g);a=a==null?1:a,n.useStyle({}),i?(n.setShape({points:t.points}),n.setStyle({opacity:0}),O.initProps(n,{style:{opacity:a}},e,r)):O.updateProps(n,{style:{opacity:a},shape:{points:t.points}},e,r);var l=s.getModel("itemStyle"),u=o.getItemVisual(r,"color");n.setStyle(x.defaults({lineJoin:"round",fill:u},l.getItemStyle(["opacity"]))),n.hoverStyle=l.getModel("emphasis").getItemStyle(),this._updateLabel(o,r),O.setHoverStyle(this)},b._updateLabel=function(o,r){var i=this.childAt(1),n=this.childAt(2),e=o.hostModel,s=o.getItemModel(r),t=o.getItemLayout(r),a=t.label,l=o.getItemVisual(r,"color");O.updateProps(i,{shape:{points:a.linePoints||a.linePoints}},e,r),O.updateProps(n,{style:{x:a.x,y:a.y}},e,r),n.attr({rotation:a.rotation,origin:[a.x,a.y],z2:10});var u=s.getModel("label"),h=s.getModel("emphasis.label"),p=s.getModel("labelLine"),m=s.getModel("emphasis.labelLine"),l=o.getItemVisual(r,"color");O.setLabelStyle(n.style,n.hoverStyle={},u,h,{labelFetcher:o.hostModel,labelDataIndex:r,defaultText:o.getName(r),autoColor:l,useInsideStyle:!!a.inside},{textAlign:a.textAlign,textVerticalAlign:a.verticalAlign}),n.ignore=n.normalIgnore=!u.get("show"),n.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!p.get("show"),i.hoverIgnore=!m.get("show"),i.setStyle({stroke:l}),i.setStyle(p.getModel("lineStyle").getLineStyle()),i.hoverStyle=m.getModel("lineStyle").getLineStyle()},x.inherits(A,O.Group);var f=C.extend({type:"funnel",render:function(o,r,i){var n=o.getData(),e=this._data,s=this.group;n.diff(e).add(function(t){var a=new A(n,t);n.setItemGraphicEl(t,a),s.add(a)}).update(function(t,a){var l=e.getItemGraphicEl(a);l.updateData(n,t),s.add(l),n.setItemGraphicEl(t,l)}).remove(function(t){var a=e.getItemGraphicEl(t);s.remove(a)}).execute(),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=f;H.exports=c},TYVI:function(H,P,d){var O=d("5GtS"),x=d("T4UG"),C=x.extend({type:"series.gauge",getInitialData:function(b,g){return O(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}}}),A=C;H.exports=A},Tghj:function(H,P,d){(function(O){var x;typeof window!="undefined"?x=window.__DEV__:typeof O!="undefined"&&(x=O.__DEV__),typeof x=="undefined"&&(x=!0);var C=x;P.__DEV__=C}).call(this,d("yLpj"))},ThAp:function(H,P,d){var O=d("bYtY"),x=d("5GtS"),C=d("T4UG"),A=d("7aKB"),b=A.encodeHTML,g=A.addCommas,f=d("cCMj"),c=d("KxfA"),o=c.retrieveRawAttr,r=d("W4dC"),i=d("D5nY"),n=i.makeSeriesEncodeForNameBased,e=C.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var a=x(this,{coordDimensions:["value"],encodeDefaulter:O.curry(n,this)}),l=a.mapDimension("value"),u=O.createHashMap(),h=[],p=[],m=0,v=a.count();m"+b(u+" : "+l)},getTooltipPosition:function(t){if(t!=null){var a=this.getData().getName(t),l=this.coordinateSystem,u=l.getRegion(a);return u&&l.dataToPoint(u.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});O.mixin(e,f);var s=e;H.exports=s},TkdX:function(H,P,d){var O=d("bYtY"),x=d("IwbS"),C={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},A=2,b=4;function g(e,s,t){x.Group.call(this);var a=new x.Sector({z2:A});a.seriesIndex=s.seriesIndex;var l=new x.Text({z2:b,silent:e.getModel("label").get("silent")});this.add(a),this.add(l),this.updateData(!0,e,"normal",s,t);function u(){l.ignore=l.hoverIgnore}function h(){l.ignore=l.normalIgnore}this.on("emphasis",u).on("normal",h).on("mouseover",u).on("mouseout",h)}var f=g.prototype;f.updateData=function(e,s,t,a,l){this.node=s,s.piece=this,a=a||this._seriesModel,l=l||this._ecModel;var u=this.childAt(0);u.dataIndex=s.dataIndex;var h=s.getModel(),p=s.getLayout(),m=O.extend({},p);m.label=null;var v=o(s,a,l);n(s,a,v);var y=h.getModel("itemStyle").getItemStyle(),E;if(t==="normal")E=y;else{var T=h.getModel(t+".itemStyle").getItemStyle();E=O.merge(T,y)}E=O.defaults({lineJoin:"bevel",fill:E.fill||v},E),e?(u.setShape(m),u.shape.r=p.r0,x.updateProps(u,{shape:{r:p.r}},a,s.dataIndex),u.useStyle(E)):typeof E.fill=="object"&&E.fill.type||typeof u.style.fill=="object"&&u.style.fill.type?(x.updateProps(u,{shape:m},a),u.useStyle(E)):x.updateProps(u,{shape:m,style:E},a),this._updateLabel(a,v,t);var w=h.getShallow("cursor");if(w&&u.attr("cursor",w),e){var S=a.getShallow("highlightPolicy");this._initEvents(u,s,a,S)}this._seriesModel=a||this._seriesModel,this._ecModel=l||this._ecModel,x.setHoverStyle(this)},f.onEmphasis=function(e){var s=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(s.node===t?t.piece.updateData(!1,t,"emphasis"):i(t,s.node,e)?t.piece.childAt(0).trigger("highlight"):e!==C.NONE&&t.piece.childAt(0).trigger("downplay"))})},f.onNormal=function(){this.node.hostTree.root.eachNode(function(e){e.piece&&e.piece.updateData(!1,e,"normal")})},f.onHighlight=function(){this.updateData(!1,this.node,"highlight")},f.onDownplay=function(){this.updateData(!1,this.node,"downplay")},f._updateLabel=function(e,s,t){var a=this.node.getModel(),l=a.getModel("label"),u=t==="normal"||t==="emphasis"?l:a.getModel(t+".label"),h=a.getModel("emphasis.label"),p=O.retrieve(e.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);U("show")===!1&&(p="");var m=this.node.getLayout(),v=u.get("minAngle");v==null&&(v=l.get("minAngle")),v=v/180*Math.PI;var y=m.endAngle-m.startAngle;v!=null&&Math.abs(y)Math.PI/2?"right":"left"):!N||N==="center"?(_=(m.r+m.r0)/2,N="center"):N==="left"?(_=m.r0+L,T>Math.PI/2&&(N="right")):N==="right"&&(_=m.r-L,T>Math.PI/2&&(N="left")),E.attr("style",{text:p,textAlign:N,textVerticalAlign:U("verticalAlign")||"middle",opacity:U("opacity")});var D=_*w+m.cx,R=_*S+m.cy;E.attr("position",[D,R]);var B=U("rotate"),M=0;B==="radial"?(M=-T,M<-Math.PI/2&&(M+=Math.PI)):B==="tangential"?(M=Math.PI/2-T,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):typeof B=="number"&&(M=B*Math.PI/180),E.attr("rotation",M);function U(F){var j=u.get(F);return j==null?l.get(F):j}},f._initEvents=function(e,s,t,a){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var l=this,u=function(){l.onEmphasis(a)},h=function(){l.onNormal()},p=function(){l.onDownplay()},m=function(){l.onHighlight()};t.isAnimationEnabled()&&e.on("mouseover",u).on("mouseout",h).on("emphasis",u).on("normal",h).on("downplay",p).on("highlight",m)},O.inherits(g,x.Group);var c=g;function o(e,s,t){var a=e.getVisual("color"),l=e.getVisual("visualMeta");(!l||l.length===0)&&(a=null);var u=e.getModel("itemStyle").get("color");if(u)return u;if(a)return a;if(e.depth===0)return t.option.color[0];var h=t.option.color.length;return u=t.option.color[r(e)%h],u}function r(e){for(var s=e;s.depth>1;)s=s.parentNode;var t=e.getAncestors()[0];return O.indexOf(t.children,s)}function i(e,s,t){return t===C.NONE?!1:t===C.SELF?e===s:t===C.ANCESTOR?e===s||e.isAncestorOf(s):e===s||e.isDescendantOf(s)}function n(e,s,t){var a=s.getData();a.setItemVisual(e.dataIndex,"color",t)}H.exports=c},Tp9H:function(H,P,d){var O=d("ItGF"),x=d("Kagy"),C=d("IUWy"),A=x.toolbox.saveAsImage;function b(c){this.model=c}b.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:A.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:A.lang.slice()},b.prototype.unusable=!O.canvasSupported;var g=b.prototype;g.onclick=function(c,o){var r=this.model,i=r.get("name")||c.get("title.0.text")||"echarts",n=o.getZr().painter.getType()==="svg",e=n?"svg":r.get("type",!0)||"png",s=o.getConnectedDataURL({type:e,backgroundColor:r.get("backgroundColor",!0)||c.get("backgroundColor")||"#fff",connectedBackgroundColor:r.get("connectedBackgroundColor"),excludeComponents:r.get("excludeComponents"),pixelRatio:r.get("pixelRatio")});if(typeof MouseEvent=="function"&&!O.browser.ie&&!O.browser.edge){var t=document.createElement("a");t.download=i+"."+e,t.target="_blank",t.href=s;var a=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(a)}else if(window.navigator.msSaveOrOpenBlob){for(var l=atob(s.split(",")[1]),u=l.length,h=new Uint8Array(u);u--;)h[u]=l.charCodeAt(u);var p=new Blob([h]);window.navigator.msSaveOrOpenBlob(p,i+"."+e)}else{var m=r.get("lang"),v='',y=window.open();y.document.write(v)}},C.register("saveAsImage",b);var f=b;H.exports=f},"U/Mo":function(H,P){function d(x){var C=x.coordinateSystem;if(C.type!=="view")return 1;var A=x.option.nodeScaleRatio,b=C.scale,g=b&&b[0]||1,f=C.getZoom(),c=(f-1)*A+1;return c/g}function O(x){var C=x.getVisual("symbolSize");return C instanceof Array&&(C=(C[0]+C[1])/2),+C}P.getNodeGlobalScale=d,P.getSymbolSize=O},UADf:function(H,P,d){},UESt:function(H,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},A=C,b=d("6VBw"),g=function(o,r){return x.createElement(b.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:A}))};g.displayName="RightOutlined";var f=P.a=x.forwardRef(g)},UOVi:function(H,P,d){var O=d("bYtY"),x=d("7aKB"),C=["x","y","z","radius","angle","single"],A=["cartesian2d","polar","singleAxis"];function b(o){return O.indexOf(A,o)>=0}function g(o,r){o=o.slice();var i=O.map(o,x.capitalFirst);r=(r||[]).slice();var n=O.map(r,x.capitalFirst);return function(e,s){O.each(o,function(t,a){for(var l={name:t,capital:i[a]},u=0;u=0}function e(t,a){var l=!1;return r(function(u){O.each(i(t,u)||[],function(h){a.records[u.name][h]&&(l=!0)})}),l}function s(t,a){a.nodes.push(t),r(function(l){O.each(i(t,l)||[],function(u){a.records[l.name][u]=!0})})}}P.isCoordSupported=b,P.createNameEach=g,P.eachAxisDim=f,P.createLinkedNodesFinder=c},Uc92:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},UnoB:function(H,P,d){var O=d("bYtY"),x=d("OELB");function C(g,f){g.eachSeriesByType("themeRiver",function(c){var o=c.getData(),r=c.coordinateSystem,i={},n=r.getRect();i.rect=n;var e=c.get("boundaryGap"),s=r.getAxis();if(i.boundaryGap=e,s.orient==="horizontal"){e[0]=x.parsePercent(e[0],n.height),e[1]=x.parsePercent(e[1],n.height);var t=n.height-e[0]-e[1];A(o,c,t)}else{e[0]=x.parsePercent(e[0],n.width),e[1]=x.parsePercent(e[1],n.width);var a=n.width-e[0]-e[1];A(o,c,a)}o.setLayout("layoutInfo",i)})}function A(g,f,c){if(!g.count())return;for(var o=f.coordinateSystem,r=f.getLayerSeries(),i=g.mapDimension("single"),n=g.mapDimension("value"),e=O.map(r,function(v){return O.map(v.indices,function(y){var E=o.dataToPoint(g.get(i,y));return E[1]=g.get(n,y),E})}),s=b(e),t=s.y0,a=c/s.max,l=r.length,u=r[0].indices.length,h,p=0;pi&&(i=n),o.push(n)}for(var a=0;ai&&(i=u)}return e.y0=r,e.max=i,e}H.exports=C},Urep:function(H,P,d){},V7ic:function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("digP")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="FileTwoTone";var c=A.forwardRef(f);P.default=c},VFCP:function(H,P,d){d("dBmv"),d("KamJ")},VPsl:function(H,P){function d(O){O.eachSeriesByType("map",function(x){var C=x.get("color"),A=x.getModel("itemStyle"),b=A.get("areaColor"),g=A.get("color")||C[x.seriesIndex%C.length];x.getData().setVisual({areaColor:b,color:g})})}H.exports=d},VR9l:function(H,P,d){var O=d("KCsZ"),x=O([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),C={getItemStyle:function(A,b){var g=x(this,A,b),f=this.getBorderLineDash();return f&&(g.lineDash=f),g},getBorderLineDash:function(){var A=this.get("borderType");return A==="solid"||A==null?null:A==="dashed"?[5,5]:[1,1]}};H.exports=C},VSLf:function(H,P,d){d("I+Bx"),d("F0hE"),d("bBKM")},VSMT:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.decodeUTF8=O,P.encodeUTF8=x;function O(C){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(C))}catch(b){if(b instanceof URIError&&A)return C;throw b}}function x(C){return unescape(encodeURIComponent(C))}},VXYp:function(H,P,d){var O=d("bYtY"),x=d("SgGq"),C=d("iLNv"),A="\0_ec_dataZoom_roams";function b(e,s){var t=c(e),a=s.dataZoomId,l=s.coordId;O.each(t,function(p,m){var v=p.dataZoomInfos;v[a]&&O.indexOf(s.allCoordIds,l)<0&&(delete v[a],p.count--)}),r(t);var u=t[l];u||(u=t[l]={coordId:l,dataZoomInfos:{},count:0},u.controller=o(e,u),u.dispatchAction=O.curry(i,e)),!u.dataZoomInfos[a]&&u.count++,u.dataZoomInfos[a]=s;var h=n(u.dataZoomInfos);u.controller.enable(h.controlType,h.opt),u.controller.setPointerChecker(s.containsPoint),C.createOrUpdate(u,"dispatchAction",s.dataZoomModel.get("throttle",!0),"fixRate")}function g(e,s){var t=c(e);O.each(t,function(a){a.controller.dispose();var l=a.dataZoomInfos;l[s]&&(delete l[s],a.count--)}),r(t)}function f(e){return e.type+"\0_"+e.id}function c(e){var s=e.getZr();return s[A]||(s[A]={})}function o(e,s){var t=new x(e.getZr());return O.each(["pan","zoom","scrollMove"],function(a){t.on(a,function(l){var u=[];O.each(s.dataZoomInfos,function(h){if(!l.isAvailableBehavior(h.dataZoomModel.option))return;var p=(h.getRange||{})[a],m=p&&p(s.controller,l);!h.dataZoomModel.get("disabled",!0)&&m&&u.push({dataZoomId:h.dataZoomId,start:m[0],end:m[1]})}),u.length&&s.dispatchAction(u)})}),t}function r(e){O.each(e,function(s,t){s.count||(s.controller.dispose(),delete e[t])})}function i(e,s){e.dispatchAction({type:"dataZoom",batch:s})}function n(e){var s,t="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},l=!0;return O.each(e,function(u){var h=u.dataZoomModel,p=h.get("disabled",!0)?!1:h.get("zoomLock",!0)?"move":!0;a[t+p]>a[t+s]&&(s=p),l&=h.get("preventDefaultMouseMove",!0)}),{controlType:s,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!l}}}P.register=b,P.unregister=g,P.generateCoordId=f},VaxA:function(H,P,d){var O=d("bYtY");function x(g,f,c){if(g&&O.indexOf(f,g.type)>=0){var o=c.getData().tree.root,r=g.targetNode;if(typeof r=="string"&&(r=o.getNodeById(r)),r&&o.contains(r))return{node:r};var i=g.targetNodeId;if(i!=null&&(r=o.getNodeById(i)))return{node:r}}}function C(g){for(var f=[];g;)g=g.parentNode,g&&f.push(g);return f.reverse()}function A(g,f){var c=C(g);return O.indexOf(c,f)>=0}function b(g,f){for(var c=[];g;){var o=g.dataIndex;c.push({name:g.name,dataIndex:o,value:f.getRawValue(o)}),g=g.parentNode}return c.reverse(),c}P.retrieveTargetInfo=x,P.getPathToRoot=C,P.aboveViewRoot=A,P.wrapTreePathInfo=b},Vi4m:function(H,P,d){var O=d("bYtY");function x(A){A!=null&&O.extend(this,A),this.otherDims={}}var C=x;H.exports=C},Vl3Y:function(H,P,d){"use strict";var O=d("pVnL"),x=d.n(O),C=d("J4zp"),A=d.n(C),b=d("lSNA"),g=d.n(b),f=d("q1tI"),c=d("TSYQ"),o=d.n(c),r=d("85Yc"),i=d("H84U"),n=d("BGR+"),e=f.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),s=f.createContext({updateItemErrors:function(){}}),t=function(ht){var Pt=Object(n.default)(ht,["prefixCls"]);return f.createElement(r.FormProvider,Pt)};function a(q){return typeof q=="object"&&q!=null&&q.nodeType===1}function l(q,ht){return(!ht||q!=="hidden")&&q!=="visible"&&q!=="clip"}function u(q,ht){if(q.clientHeightht||or>q&&Zr=ht&&ir>=Pt?or-q-ct:Zr>ht&&irPt?Zr-ht+Gt:0}var p=function(q,ht){var Pt=window,ct=ht.scrollMode,Gt=ht.block,or=ht.inline,Zr=ht.boundary,ir=ht.skipOverflowHiddenElements,dr=typeof Zr=="function"?Zr:function(Dn){return Dn!==Zr};if(!a(q))throw new TypeError("Invalid target");for(var er=document.scrollingElement||document.documentElement,Kt=[],dt=q;a(dt)&&dr(dt);){if((dt=dt.parentElement)===er){Kt.push(dt);break}dt!=null&&dt===document.body&&u(dt)&&!u(document.documentElement)||dt!=null&&u(dt,ir)&&Kt.push(dt)}for(var Hr=Pt.visualViewport?Pt.visualViewport.width:innerWidth,fn=Pt.visualViewport?Pt.visualViewport.height:innerHeight,Nn=window.scrollX||pageXOffset,Vn=window.scrollY||pageYOffset,gi=q.getBoundingClientRect(),bn=gi.height,Mn=gi.width,jt=gi.top,St=gi.right,_e=gi.bottom,Oe=gi.left,Le=Gt==="start"||Gt==="nearest"?jt:Gt==="end"?_e:jt+bn/2,Ze=or==="center"?Oe+Mn/2:or==="end"?St:Oe,nt=[],ft=0;ft=0&&Oe>=0&&_e<=fn&&St<=Hr&&jt>=Rt&&_e<=st&&Oe>=rr&&St<=it)return nt;var Bt=getComputedStyle(Dt),_t=parseInt(Bt.borderLeftWidth,10),Ht=parseInt(Bt.borderTopWidth,10),pt=parseInt(Bt.borderRightWidth,10),Ut=parseInt(Bt.borderBottomWidth,10),Sr=0,mr=0,vr="offsetWidth"in Dt?Dt.offsetWidth-Dt.clientWidth-_t-pt:0,Jr="offsetHeight"in Dt?Dt.offsetHeight-Dt.clientHeight-Ht-Ut:0;if(er===Dt)Sr=Gt==="start"?Le:Gt==="end"?Le-fn:Gt==="nearest"?h(Vn,Vn+fn,fn,Ht,Ut,Vn+Le,Vn+Le+bn,bn):Le-fn/2,mr=or==="start"?Ze:or==="center"?Ze-Hr/2:or==="end"?Ze-Hr:h(Nn,Nn+Hr,Hr,_t,pt,Nn+Ze,Nn+Ze+Mn,Mn),Sr=Math.max(0,Sr+Vn),mr=Math.max(0,mr+Nn);else{Sr=Gt==="start"?Le-Rt-Ht:Gt==="end"?Le-st+Ut+Jr:Gt==="nearest"?h(Rt,st,Mr,Ht,Ut+Jr,Le,Le+bn,bn):Le-(Rt+Mr/2)+Jr/2,mr=or==="start"?Ze-rr-_t:or==="center"?Ze-(rr+un/2)+vr/2:or==="end"?Ze-it+pt+vr:h(rr,it,un,_t,pt+vr,Ze,Ze+Mn,Mn);var $r=Dt.scrollLeft,Pn=Dt.scrollTop;Le+=Pn-(Sr=Math.max(0,Math.min(Pn+Sr,Dt.scrollHeight-Mr+Jr))),Ze+=$r-(mr=Math.max(0,Math.min($r+mr,Dt.scrollWidth-un+vr)))}nt.push({el:Dt,top:Sr,left:mr})}return nt};function m(q){return q===Object(q)&&Object.keys(q).length!==0}function v(q,ht){ht===void 0&&(ht="auto");var Pt="scrollBehavior"in document.body.style;q.forEach(function(ct){var Gt=ct.el,or=ct.top,Zr=ct.left;Gt.scroll&&Pt?Gt.scroll({top:or,left:Zr,behavior:ht}):(Gt.scrollTop=or,Gt.scrollLeft=Zr)})}function y(q){return q===!1?{block:"end",inline:"nearest"}:m(q)?q:{block:"start",inline:"nearest"}}function E(q,ht){var Pt=q.isConnected||q.ownerDocument.documentElement.contains(q);if(m(ht)&&typeof ht.behavior=="function")return ht.behavior(Pt?p(q,ht):[]);if(!Pt)return;var ct=y(ht);return v(p(q,ct),ct.behavior)}var T=E;function w(q){return q===void 0||q===!1?[]:Array.isArray(q)?q:[q]}function S(q,ht){if(!q.length)return;var Pt=q.join("_");return ht?"".concat(ht,"_").concat(Pt):Pt}function _(q){var ht=w(q);return ht.join("_")}function I(q){var ht=Object(r.useForm)(),Pt=A()(ht,1),ct=Pt[0],Gt=Object(f.useRef)({}),or=Object(f.useMemo)(function(){return q||x()(x()({},ct),{__INTERNAL__:{itemRef:function(ir){return function(dr){var er=_(ir);dr?Gt.current[er]=dr:delete Gt.current[er]}}},scrollToField:function(ir){var dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},er=w(ir),Kt=S(er,or.__INTERNAL__.name),dt=Kt?document.getElementById(Kt):null;dt&&T(dt,x()({scrollMode:"if-needed",block:"nearest"},dr))},getFieldInstance:function(ir){var dr=_(ir);return Gt.current[dr]}})},[q,ct]);return[or]}var L=d("3Nzz"),N=function(q,ht){var Pt={};for(var ct in q)Object.prototype.hasOwnProperty.call(q,ct)&&ht.indexOf(ct)<0&&(Pt[ct]=q[ct]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,ct=Object.getOwnPropertySymbols(q);Gt0&&arguments[0]!==void 0?arguments[0]:{};return V()(Re[$e],Se)?Re:x()(x()({},Re),g()({},$e,Se))})},Dn=et();function Zn($e,Se,Re,je){var Ye,Ve;if(ct&&!jt)return $e;var qe=[];Object.keys(_t).forEach(function(Rr){qe=[].concat(j()(qe),j()(_t[Rr]||[]))});var xt;Kt!=null?xt=w(Kt):(xt=Re?Re.errors:[],xt=[].concat(j()(xt),j()(qe)));var ut="";Hr!==void 0?ut=Hr:(Re==null?void 0:Re.validating)?ut="validating":((Ve=Re==null?void 0:Re.errors)===null||Ve===void 0?void 0:Ve.length)||qe.length?ut="error":(Re==null?void 0:Re.touched)&&(ut="success"),Rt&&Kt&&(st.current=ut);var Jt=(Ye={},g()(Ye,"".concat($r,"-item"),!0),g()(Ye,"".concat($r,"-item-with-help"),Rt||Kt),g()(Ye,"".concat(ir),!!ir),g()(Ye,"".concat($r,"-item-has-feedback"),ut&&er),g()(Ye,"".concat($r,"-item-has-success"),ut==="success"),g()(Ye,"".concat($r,"-item-has-warning"),ut==="warning"),g()(Ye,"".concat($r,"-item-has-error"),ut==="error"),g()(Ye,"".concat($r,"-item-has-error-leave"),!Kt&&Rt&&st.current==="error"),g()(Ye,"".concat($r,"-item-is-validating"),ut==="validating"),g()(Ye,"".concat($r,"-item-hidden"),jt),Ye);return f.createElement($.a,x()({className:o()(Jt),style:Zr,key:"row"},Object(n.default)(St,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),f.createElement(me,x()({htmlFor:Se,required:je,requiredMark:ft},q,{prefixCls:$r})),f.createElement(Ee,x()({},q,Re,{errors:xt,prefixCls:$r,onDomErrorVisibleChange:mr,validateStatus:ut}),f.createElement(s.Provider,{value:{updateItemErrors:Pn}},$e)))}var li=typeof fn=="function",Ai=f.useRef(0);if(Ai.current+=1,!vr&&!li&&!Gt)return Zn(fn);var Ii={};return typeof Vn=="string"&&(Ii.label=Vn),f.createElement(r.Field,x()({},q,{messageVariables:Ii,trigger:bn,validateTrigger:Sr,onReset:function(){mr(!1)}}),function($e,Se,Re){var je=Se.errors,Ye=w(ht).length&&Se?Se.name:[],Ve=S(Ye,nt);if(ct){if(Jr.current=j()(Ye),Pt){var qe=Array.isArray(Pt)?Pt:[Pt];Jr.current=[].concat(j()(Ye.slice(0,-1)),j()(qe))}Ar(Jr.current.join("__SPLIT__"),je)}var xt=Nn!==void 0?Nn:!!(dt&&dt.some(function(Gr){if(Gr&&U()(Gr)==="object"&&Gr.required)return!0;if(typeof Gr=="function"){var qt=Gr(Re);return qt&&qt.required}return!1})),ut=x()({},$e),Jt=null;if(Object(ae.a)(!(dr&&Gt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(fn)&&vr)Object(ae.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),Jt=fn;else if(li&&(!(dr||Gt)||vr))Object(ae.a)(!!(dr||Gt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(ae.a)(!vr,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(Gt&&!li&&!vr)Object(ae.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Ge.b)(fn)){Object(ae.a)(fn.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Rr=x()(x()({},fn.props),ut);Rr.id||(Rr.id=Ve),Object(J.c)(fn)&&(Rr.ref=Dn(Ye,fn));var Ir=new Set([].concat(j()(w(bn)),j()(w(Sr))));Ir.forEach(function(Gr){Rr[Gr]=function(){for(var qt,pn,hr,mn,en,kr=arguments.length,Xn=new Array(kr),di=0;dib&&(n=c+o,c*=b/n,o*=b/n),r+i>b&&(n=r+i,r*=b/n,i*=b/n),o+r>g&&(n=o+r,o*=g/n,r*=g/n),c+i>g&&(n=c+i,c*=g/n,i*=g/n),O.moveTo(C+c,A),O.lineTo(C+b-o,A),o!==0&&O.arc(C+b-o,A+o,o,-Math.PI/2,0),O.lineTo(C+b,A+g-r),r!==0&&O.arc(C+b-r,A+g-r,r,0,Math.PI/2),O.lineTo(C+i,A+g),i!==0&&O.arc(C+i,A+g-i,i,Math.PI/2,Math.PI),O.lineTo(C,A+c),c!==0&&O.arc(C+c,A+c,c,Math.PI,Math.PI*1.5)}P.buildPath=d},"VrN/":function(H,P,d){(function(O,x){H.exports=x()})(this,function(){"use strict";var O=navigator.userAgent,x=navigator.platform,C=/gecko\/\d/i.test(O),A=/MSIE \d/.test(O),b=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(O),g=/Edge\/(\d+)/.exec(O),f=A||b||g,c=f&&(A?document.documentMode||6:+(g||b)[1]),o=!g&&/WebKit\//.test(O),r=o&&/Qt\/\d+\.\d+/.test(O),i=!g&&/Chrome\//.test(O),n=/Opera\//.test(O),e=/Apple Computer/.test(navigator.vendor),s=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(O),t=/PhantomJS/.test(O),a=!g&&/AppleWebKit/.test(O)&&/Mobile\/\w+/.test(O),l=/Android/.test(O),u=a||l||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(O),h=a||/Mac/.test(x),p=/\bCrOS\b/.test(O),m=/win/i.test(x),v=n&&O.match(/Version\/(\d*\.\d*)/);v&&(v=Number(v[1])),v&&v>=15&&(n=!1,o=!0);var y=h&&(r||n&&(v==null||v<12.11)),E=C||f&&c>=9;function T(k){return new RegExp("(^|\\s)"+k+"(?:$|\\s)\\s*")}var w=function(K,Z){var re=K.className,ue=T(Z).exec(re);if(ue){var Fe=re.slice(ue.index+ue[0].length);K.className=re.slice(0,ue.index)+(Fe?ue[1]+Fe:"")}};function S(k){for(var K=k.childNodes.length;K>0;--K)k.removeChild(k.firstChild);return k}function _(k,K){return S(k).appendChild(K)}function I(k,K,Z,re){var ue=document.createElement(k);if(Z&&(ue.className=Z),re&&(ue.style.cssText=re),typeof K=="string")ue.appendChild(document.createTextNode(K));else if(K)for(var Fe=0;Fe=K)return gt+(K-Fe);gt+=Wt-Fe,gt+=Z-gt%Z,Fe=Wt+1}}var V=function(){this.id=null,this.f=null,this.time=0,this.handler=F(this.onTimeout,this)};V.prototype.onTimeout=function(k){k.id=0,k.time<=+new Date?k.f():setTimeout(k.handler,k.time-+new Date)},V.prototype.set=function(k,K){this.f=K;var Z=+new Date+k;(!this.id||Z=K)return re+Math.min(gt,K-ue);if(ue+=Fe-re,ue+=Z-ue%Z,re=Fe+1,ue>=K)return re}}var De=[""];function Ke(k){for(;De.length<=k;)De.push(me(De)+" ");return De[k]}function me(k){return k[k.length-1]}function Ue(k,K){for(var Z=[],re=0;re"\x80"&&(k.toUpperCase()!=k.toLowerCase()||se.test(k))}function X(k,K){return K?K.source.indexOf("\\w")>-1&&Y(k)?!0:K.test(k):Y(k)}function Q(k){for(var K in k)if(k.hasOwnProperty(K)&&k[K])return!1;return!0}var ge=/[\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 de(k){return k.charCodeAt(0)>=768&&ge.test(k)}function Te(k,K,Z){for(;(Z<0?K>0:KZ?-1:1;;){if(K==Z)return K;var ue=(K+Z)/2,Fe=re<0?Math.ceil(ue):Math.floor(ue);if(Fe==K)return k(Fe)?K:Z;k(Fe)?Z=Fe:K=Fe+re}}function le(k,K,Z,re){if(!k)return re(K,Z,"ltr",0);for(var ue=!1,Fe=0;FeK||K==Z&>.to==K)&&(re(Math.max(gt.from,K),Math.min(gt.to,Z),gt.level==1?"rtl":"ltr",Fe),ue=!0)}ue||re(K,Z,"ltr")}var fe=null;function Ee(k,K,Z){var re;fe=null;for(var ue=0;ueK)return ue;Fe.to==K&&(Fe.from!=Fe.to&&Z=="before"?re=ue:fe=ue),Fe.from==K&&(Fe.from!=Fe.to&&Z!="before"?re=ue:fe=ue)}return re!=null?re:fe}var Ge=function(){var k="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",K="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function Z(fr){return fr<=247?k.charAt(fr):1424<=fr&&fr<=1524?"R":1536<=fr&&fr<=1785?K.charAt(fr-1536):1774<=fr&&fr<=2220?"r":8192<=fr&&fr<=8203?"w":fr==8204?"b":"L"}var re=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ue=/[stwN]/,Fe=/[LRr]/,gt=/[Lb1n]/,Wt=/[1n]/;function sr(fr,wn,Rn){this.level=fr,this.from=wn,this.to=Rn}return function(fr,wn){var Rn=wn=="ltr"?"L":"R";if(fr.length==0||wn=="ltr"&&!re.test(fr))return!1;for(var ei=fr.length,ni=[],Mi=0;Mi-1&&(re[K]=ue.slice(0,Fe).concat(ue.slice(Fe+1)))}}}function at(k,K){var Z=et(k,K);if(!Z.length)return;for(var re=Array.prototype.slice.call(arguments,2),ue=0;ue0}function Nt(k){k.prototype.on=function(K,Z){Ce(this,K,Z)},k.prototype.off=function(K,Z){ze(this,K,Z)}}function Be(k){k.preventDefault?k.preventDefault():k.returnValue=!1}function ne(k){k.stopPropagation?k.stopPropagation():k.cancelBubble=!0}function G(k){return k.defaultPrevented!=null?k.defaultPrevented:k.returnValue==!1}function Pe(k){Be(k),ne(k)}function Ne(k){return k.target||k.srcElement}function q(k){var K=k.which;return K==null&&(k.button&1?K=1:k.button&2?K=3:k.button&4&&(K=2)),h&&k.ctrlKey&&K==1&&(K=3),K}var ht=function(){if(f&&c<9)return!1;var k=I("div");return"draggable"in k||"dragDrop"in k}(),Pt;function ct(k){if(Pt==null){var K=I("span","\u200B");_(k,I("span",[K,document.createTextNode("x")])),k.firstChild.offsetHeight!=0&&(Pt=K.offsetWidth<=1&&K.offsetHeight>2&&!(f&&c<8))}var Z=Pt?I("span","\u200B"):I("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return Z.setAttribute("cm-text",""),Z}var Gt;function or(k){if(Gt!=null)return Gt;var K=_(k,document.createTextNode("A\u062EA")),Z=N(K,0,1).getBoundingClientRect(),re=N(K,1,2).getBoundingClientRect();return S(k),!Z||Z.left==Z.right?!1:Gt=re.right-Z.right<3}var Zr=` b`.split(/\n/).length!=3?function(k){for(var K=0,Z=[],re=k.length;K<=re;){var ue=k.indexOf(` `,K);ue==-1&&(ue=k.length);var Fe=k.slice(K,k.charAt(ue-1)=="\r"?ue-1:ue),gt=Fe.indexOf("\r");gt!=-1?(Z.push(Fe.slice(0,gt)),K+=gt+1):(Z.push(Fe),K=ue+1)}return Z}:function(k){return k.split(/\r\n?|\n/)},ir=window.getSelection?function(k){try{return k.selectionStart!=k.selectionEnd}catch(K){return!1}}:function(k){var K;try{K=k.ownerDocument.selection.createRange()}catch(Z){}return!K||K.parentElement()!=k?!1:K.compareEndPoints("StartToEnd",K)!=0},dr=function(){var k=I("div");return"oncopy"in k?!0:(k.setAttribute("oncopy","return;"),typeof k.oncopy=="function")}(),er=null;function Kt(k){if(er!=null)return er;var K=_(k,I("span","x")),Z=K.getBoundingClientRect(),re=N(K,0,1).getBoundingClientRect();return er=Math.abs(Z.left-re.left)>1}var dt={},Hr={};function fn(k,K){arguments.length>2&&(K.dependencies=Array.prototype.slice.call(arguments,2)),dt[k]=K}function Nn(k,K){Hr[k]=K}function Vn(k){if(typeof k=="string"&&Hr.hasOwnProperty(k))k=Hr[k];else if(k&&typeof k.name=="string"&&Hr.hasOwnProperty(k.name)){var K=Hr[k.name];typeof K=="string"&&(K={name:K}),k=Qe(K,k),k.name=K.name}else{if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(k))return Vn("application/xml");if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(k))return Vn("application/json")}return typeof k=="string"?{name:k}:k||{name:"null"}}function gi(k,K){K=Vn(K);var Z=dt[K.name];if(!Z)return gi(k,"text/plain");var re=Z(k,K);if(bn.hasOwnProperty(K.name)){var ue=bn[K.name];for(var Fe in ue){if(!ue.hasOwnProperty(Fe))continue;re.hasOwnProperty(Fe)&&(re["_"+Fe]=re[Fe]),re[Fe]=ue[Fe]}}if(re.name=K.name,K.helperType&&(re.helperType=K.helperType),K.modeProps)for(var gt in K.modeProps)re[gt]=K.modeProps[gt];return re}var bn={};function Mn(k,K){var Z=bn.hasOwnProperty(k)?bn[k]:bn[k]={};j(K,Z)}function jt(k,K){if(K===!0)return K;if(k.copyState)return k.copyState(K);var Z={};for(var re in K){var ue=K[re];ue instanceof Array&&(ue=ue.concat([])),Z[re]=ue}return Z}function St(k,K){for(var Z;k.innerMode&&!(Z=k.innerMode(K),!Z||Z.mode==k);)K=Z.state,k=Z.mode;return Z||{mode:k,state:K}}function _e(k,K,Z){return k.startState?k.startState(K,Z):!0}var Oe=function(K,Z,re){this.pos=this.start=0,this.string=K,this.tabSize=Z||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=re};Oe.prototype.eol=function(){return this.pos>=this.string.length},Oe.prototype.sol=function(){return this.pos==this.lineStart},Oe.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Oe.prototype.next=function(){if(this.posK},Oe.prototype.eatSpace=function(){for(var k=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>k},Oe.prototype.skipToEnd=function(){this.pos=this.string.length},Oe.prototype.skipTo=function(k){var K=this.string.indexOf(k,this.pos);if(K>-1)return this.pos=K,!0},Oe.prototype.backUp=function(k){this.pos-=k},Oe.prototype.column=function(){return this.lastColumnPos0?null:(Fe&&K!==!1&&(this.pos+=Fe[0].length),Fe)}},Oe.prototype.current=function(){return this.string.slice(this.start,this.pos)},Oe.prototype.hideFirstChars=function(k,K){this.lineStart+=k;try{return K()}finally{this.lineStart-=k}},Oe.prototype.lookAhead=function(k){var K=this.lineOracle;return K&&K.lookAhead(k)},Oe.prototype.baseToken=function(){var k=this.lineOracle;return k&&k.baseToken(this.pos)};function Le(k,K){if(K-=k.first,K<0||K>=k.size)throw new Error("There is no line "+(K+k.first)+" in the document.");for(var Z=k;!Z.lines;)for(var re=0;;++re){var ue=Z.children[re],Fe=ue.chunkSize();if(K=k.first&&KZ?Rt(Z,Le(k,Z).text.length):Ut(K,Le(k,K.line).text.length)}function Ut(k,K){var Z=k.ch;return Z==null||Z>K?Rt(k.line,K):Z<0?Rt(k.line,0):k}function Sr(k,K){for(var Z=[],re=0;rethis.maxLookAhead&&(this.maxLookAhead=k),K},vr.prototype.baseToken=function(k){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=k;)this.baseTokenPos+=2;var K=this.baseTokens[this.baseTokenPos+1];return{type:K&&K.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-k}},vr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},vr.fromSaved=function(k,K,Z){return K instanceof mr?new vr(k,jt(k.mode,K.state),Z,K.lookAhead):new vr(k,jt(k.mode,K),Z)},vr.prototype.save=function(k){var K=k!==!1?jt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new mr(K,this.maxLookAhead):K};function Jr(k,K,Z,re){var ue=[k.state.modeGen],Fe={};Se(k,K.text,k.doc.mode,Z,function(fr,wn){return ue.push(fr,wn)},Fe,re);for(var gt=Z.state,Wt=function(wn){Z.baseTokens=ue;var Rn=k.state.overlays[wn],ei=1,ni=0;Z.state=!0,Se(k,K.text,Rn.mode,Z,function(Mi,Zi){for(var da=ei;niMi&&ue.splice(ei,1,Mi,ue[ei+1],ia),ei+=2,ni=Math.min(Mi,ia)}if(!Zi)return;if(Rn.opaque)ue.splice(da,ei-da,Mi,"overlay "+Zi),ei=da+2;else for(;dak.options.maxHighlightLength&&jt(k.doc.mode,re.state),Fe=Jr(k,K,re);ue&&(re.state=ue),K.stateAfter=re.save(!ue),K.styles=Fe.styles,Fe.classes?K.styleClasses=Fe.classes:K.styleClasses&&(K.styleClasses=null),Z===k.doc.highlightFrontier&&(k.doc.modeFrontier=Math.max(k.doc.modeFrontier,++k.doc.highlightFrontier))}return K.styles}function Pn(k,K,Z){var re=k.doc,ue=k.display;if(!re.mode.startState)return new vr(re,!0,K);var Fe=Re(k,K,Z),gt=Fe>re.first&&Le(re,Fe-1).stateAfter,Wt=gt?vr.fromSaved(re,gt,Fe):new vr(re,_e(re.mode),Fe);return re.iter(Fe,K,function(sr){Dn(k,sr.text,Wt);var fr=Wt.line;sr.stateAfter=fr==K-1||fr%5==0||fr>=ue.viewFrom&&frK.start)return Fe}throw new Error("Mode "+k.name+" failed to advance stream.")}var Ai=function(K,Z,re){this.start=K.start,this.end=K.pos,this.string=K.current(),this.type=Z||null,this.state=re};function Ii(k,K,Z,re){var ue=k.doc,Fe=ue.mode,gt;K=pt(ue,K);var Wt=Le(ue,K.line),sr=Pn(k,K.line,Z),fr=new Oe(Wt.text,k.options.tabSize,sr),wn;for(re&&(wn=[]);(re||fr.posk.options.maxHighlightLength?(Wt=!1,gt&&Dn(k,K,re,wn.pos),wn.pos=K.length,Rn=null):Rn=$e(li(Z,wn,re.state,ei),Fe),ei){var ni=ei[0].name;ni&&(Rn="m-"+(Rn?ni+" "+Rn:ni))}if(!Wt||fr!=Rn){for(;srgt;--Wt){if(Wt<=Fe.first)return Fe.first;var sr=Le(Fe,Wt-1),fr=sr.stateAfter;if(fr&&(!Z||Wt+(fr instanceof mr?fr.lookAhead:0)<=Fe.modeFrontier))return Wt;var wn=W(sr.text,null,k.options.tabSize);(ue==null||re>wn)&&(ue=Wt-1,re=wn)}return ue}function je(k,K){if(k.modeFrontier=Math.min(k.modeFrontier,K),k.highlightFrontierZ;re--){var ue=Le(k,re).stateAfter;if(ue&&(!(ue instanceof mr)||re+ue.lookAhead=K:Fe.to>K);(re||(re=[])).push(new ut(gt,Fe.from,sr?null:Fe.to))}}return re}function qt(k,K,Z){var re;if(k)for(var ue=0;ue=K:Fe.to>K);if(Wt||Fe.from==K&>.type=="bookmark"&&(!Z||Fe.marker.insertLeft)){var sr=Fe.from==null||(gt.inclusiveLeft?Fe.from<=K:Fe.from0&&Wt)for(var Ma=0;Ma0)continue;var wn=[sr,1],Rn=it(fr.from,Wt.from),ei=it(fr.to,Wt.to);(Rn<0||!gt.inclusiveLeft&&!Rn)&&wn.push({from:fr.from,to:Wt.from}),(ei>0||!gt.inclusiveRight&&!ei)&&wn.push({from:Wt.to,to:fr.to}),ue.splice.apply(ue,wn),sr+=wn.length-3}return ue}function en(k){var K=k.markedSpans;if(!K)return;for(var Z=0;ZK)&&(!re||_i(re,Fe.marker)<0)&&(re=Fe.marker)}return re}function vt(k,K,Z,re,ue){var Fe=Le(k,K),gt=Ve&&Fe.markedSpans;if(gt)for(var Wt=0;Wt=0&&Rn<=0||wn<=0&&Rn>=0)continue;if(wn<=0&&(sr.marker.inclusiveRight&&ue.inclusiveLeft?it(fr.to,Z)>=0:it(fr.to,Z)>0)||wn>=0&&(sr.marker.inclusiveRight&&ue.inclusiveLeft?it(fr.from,re)<=0:it(fr.from,re)<0))return!0}}function Et(k){for(var K;K=sn(k);)k=K.find(-1,!0).line;return k}function Lt(k){for(var K;K=Sn(k);)k=K.find(1,!0).line;return k}function Mt(k){for(var K,Z;K=Sn(k);)k=K.find(1,!0).line,(Z||(Z=[])).push(k);return Z}function bt(k,K){var Z=Le(k,K),re=Et(Z);return Z==re?K:Dt(re)}function Qt(k,K){if(K>k.lastLine())return K;var Z=Le(k,K),re;if(!tr(k,Z))return K;for(;re=Sn(Z);)Z=re.find(1,!0).line;return Dt(Z)+1}function tr(k,K){var Z=Ve&&K.markedSpans;if(Z)for(var re=void 0,ue=0;ueK.maxLineLength&&(K.maxLineLength=ue,K.maxLine=re)})}var Wn=function(K,Z,re){this.text=K,kr(this,Z),this.height=re?re(this):1};Wn.prototype.lineNo=function(){return Dt(this)},Nt(Wn);function Yr(k,K,Z,re){k.text=K,k.stateAfter&&(k.stateAfter=null),k.styles&&(k.styles=null),k.order!=null&&(k.order=null),en(k),kr(k,Z);var ue=re?re(k):1;ue!=k.height&&ft(k,ue)}function xr(k){k.parent=null,en(k)}var ln={},On={};function In(k,K){if(!k||/^\s*$/.test(k))return null;var Z=K.addModeClass?On:ln;return Z[k]||(Z[k]=k.replace(/\S+/g,"cm-$&"))}function Un(k,K){var Z=L("span",null,null,o?"padding-right: .1px":null),re={pre:L("pre",[Z],"CodeMirror-line"),content:Z,col:0,pos:0,cm:k,trailingSpace:!1,splitSpaces:k.getOption("lineWrapping")};K.measure={};for(var ue=0;ue<=(K.rest?K.rest.length:0);ue++){var Fe=ue?K.rest[ue-1]:K.line,gt=void 0;re.pos=0,re.addToken=ui,or(k.display.measure)&&(gt=lt(Fe,k.doc.direction))&&(re.addToken=Pi(re.addToken,gt)),re.map=[];var Wt=K!=k.display.externalMeasured&&Dt(Fe);Ri(Fe,re,$r(k,Fe,Wt)),Fe.styleClasses&&(Fe.styleClasses.bgClass&&(re.bgClass=M(Fe.styleClasses.bgClass,re.bgClass||"")),Fe.styleClasses.textClass&&(re.textClass=M(Fe.styleClasses.textClass,re.textClass||""))),re.map.length==0&&re.map.push(0,0,re.content.appendChild(ct(k.display.measure))),ue==0?(K.measure.map=re.map,K.measure.cache={}):((K.measure.maps||(K.measure.maps=[])).push(re.map),(K.measure.caches||(K.measure.caches=[])).push({}))}if(o){var sr=re.content.lastChild;(/\bcm-tab\b/.test(sr.className)||sr.querySelector&&sr.querySelector(".cm-tab"))&&(re.content.className="cm-tab-wrap-hack")}return at(k,"renderLine",k,K.line,re.pre),re.pre.className&&(re.textClass=M(re.pre.className,re.textClass||"")),re}function ti(k){var K=I("span","\u2022","cm-invalidchar");return K.title="\\u"+k.charCodeAt(0).toString(16),K.setAttribute("aria-label",K.title),K}function ui(k,K,Z,re,ue,Fe,gt){if(!K)return;var Wt=k.splitSpaces?si(K,k.trailingSpace):K,sr=k.cm.state.specialChars,fr=!1,wn;if(!sr.test(K))k.col+=K.length,wn=document.createTextNode(Wt),k.map.push(k.pos,k.pos+K.length,wn),f&&c<9&&(fr=!0),k.pos+=K.length;else{wn=document.createDocumentFragment();for(var Rn=0;;){sr.lastIndex=Rn;var ei=sr.exec(K),ni=ei?ei.index-Rn:K.length-Rn;if(ni){var Mi=document.createTextNode(Wt.slice(Rn,Rn+ni));f&&c<9?wn.appendChild(I("span",[Mi])):wn.appendChild(Mi),k.map.push(k.pos,k.pos+ni,Mi),k.col+=ni,k.pos+=ni}if(!ei)break;Rn+=ni+1;var Zi=void 0;if(ei[0]==" "){var da=k.cm.options.tabSize,ia=da-k.col%da;Zi=wn.appendChild(I("span",Ke(ia),"cm-tab")),Zi.setAttribute("role","presentation"),Zi.setAttribute("cm-text"," "),k.col+=ia}else ei[0]=="\r"||ei[0]==` `?(Zi=wn.appendChild(I("span",ei[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Zi.setAttribute("cm-text",ei[0]),k.col+=1):(Zi=k.cm.options.specialCharPlaceholder(ei[0]),Zi.setAttribute("cm-text",ei[0]),f&&c<9?wn.appendChild(I("span",[Zi])):wn.appendChild(Zi),k.col+=1);k.map.push(k.pos,k.pos+1,Zi),k.pos++}}if(k.trailingSpace=Wt.charCodeAt(K.length-1)==32,Z||re||ue||fr||Fe||gt){var na=Z||"";re&&(na+=re),ue&&(na+=ue);var xa=I("span",[wn],na,Fe);if(gt)for(var Ma in gt)gt.hasOwnProperty(Ma)&&Ma!="style"&&Ma!="class"&&xa.setAttribute(Ma,gt[Ma]);return k.content.appendChild(xa)}k.content.appendChild(wn)}function si(k,K){if(k.length>1&&!/ /.test(k))return k;for(var Z=K,re="",ue=0;uefr&&Rn.from<=fr);ei++);if(Rn.to>=wn)return k(Z,re,ue,Fe,gt,Wt,sr);k(Z,re.slice(0,Rn.to-fr),ue,Fe,null,Wt,sr),Fe=null,re=re.slice(Rn.to-fr),fr=Rn.to}}}function zi(k,K,Z,re){var ue=!re&&Z.widgetNode;ue&&k.map.push(k.pos,k.pos+K,ue),!re&&k.cm.display.input.needsContentAttribute&&(ue||(ue=k.content.appendChild(document.createElement("span"))),ue.setAttribute("cm-marker",Z.id)),ue&&(k.cm.display.input.setUneditable(ue),k.content.appendChild(ue)),k.pos+=K,k.trailingSpace=!1}function Ri(k,K,Z){var re=k.markedSpans,ue=k.text,Fe=0;if(!re){for(var gt=1;gtsr||Wo.collapsed&&no.to==sr&&no.from==sr)){if(no.to!=null&&no.to!=sr&&ni>no.to&&(ni=no.to,Zi=""),Wo.className&&(Mi+=" "+Wo.className),Wo.css&&(ei=(ei?ei+";":"")+Wo.css),Wo.startStyle&&no.from==sr&&(da+=" "+Wo.startStyle),Wo.endStyle&&no.to==ni&&(Ma||(Ma=[])).push(Wo.endStyle,no.to),Wo.title&&((na||(na={})).title=Wo.title),Wo.attributes)for(var ps in Wo.attributes)(na||(na={}))[ps]=Wo.attributes[ps];Wo.collapsed&&(!ia||_i(ia.marker,Wo)<0)&&(ia=no)}else no.from>sr&&ni>no.from&&(ni=no.from)}if(Ma)for(var Us=0;Us=Wt)break;for(var tl=Math.min(Wt,ni);;){if(wn){var ul=sr+wn.length;if(!ia){var Xs=ul>tl?wn.slice(0,tl-sr):wn;K.addToken(K,Xs,Rn?Rn+Mi:Mi,da,sr+Xs.length==ni?Zi:"",ei,na)}if(ul>=tl){wn=wn.slice(tl-sr),sr=tl;break}sr=ul,da=""}wn=ue.slice(Fe,Fe=Z[fr++]),Rn=In(Z[fr++],K.cm.options)}}}function Yi(k,K,Z){this.line=K,this.rest=Mt(K),this.size=this.rest?Dt(me(this.rest))-Z+1:1,this.node=this.text=null,this.hidden=tr(k,K)}function $n(k,K,Z){for(var re=[],ue,Fe=K;Fe2&&Fe.push((sr.bottom+fr.top)/2-Z.top)}}Fe.push(Z.bottom-Z.top)}}function xi(k,K,Z){if(k.line==K)return{map:k.measure.map,cache:k.measure.cache};for(var re=0;reZ)return{map:k.measure.maps[ue],cache:k.measure.caches[ue],before:!0}}function yi(k,K){K=Et(K);var Z=Dt(K),re=k.display.externalMeasured=new Yi(k.doc,K,Z);re.lineN=Z;var ue=re.built=Un(k,re);return re.text=ue.pre,_(k.display.lineMeasure,ue.pre),re}function vi(k,K,Z,re){return $i(k,Ui(k,K),Z,re)}function Ti(k,K){if(K>=k.display.viewFrom&&K=Z.lineN&&KK)&&(Fe=sr-Wt,ue=Fe-1,K>=sr&&(gt="right")),ue!=null){if(re=k[fr+2],Wt==sr&&Z==(re.insertLeft?"left":"right")&&(gt=Z),Z=="left"&&ue==0)for(;fr&&k[fr-2]==k[fr-3]&&k[fr-1].insertLeft;)re=k[(fr-=3)+2],gt="left";if(Z=="right"&&ue==sr-Wt)for(;fr=0&&!((Z=k[ue]).left!=Z.right);ue--);return Z}function Xi(k,K,Z,re){var ue=ua(K.map,Z,re),Fe=ue.node,gt=ue.start,Wt=ue.end,sr=ue.collapse,fr;if(Fe.nodeType==3){for(var wn=0;wn<4;wn++){for(;gt&&de(K.line.text.charAt(ue.coverStart+gt));)--gt;for(;ue.coverStart+Wt0&&(sr=re="right");var Rn;k.options.lineWrapping&&(Rn=Fe.getClientRects()).length>1?fr=Rn[re=="right"?Rn.length-1:0]:fr=Fe.getBoundingClientRect()}if(f&&c<9&&!gt&&(!fr||!fr.left&&!fr.right)){var ei=Fe.parentNode.getClientRects()[0];ei?fr={left:ei.left,right:ei.left+oo(k.display),top:ei.top,bottom:ei.bottom}:fr=Di}for(var ni=fr.top-K.rect.top,Mi=fr.bottom-K.rect.top,Zi=(ni+Mi)/2,da=K.view.measure.heights,ia=0;ia=re.text.length?(sr=re.text.length,fr="before"):sr<=0&&(sr=0,fr="after"),!Wt)return gt(fr=="before"?sr-1:sr,fr=="before");function wn(Mi,Zi,da){var ia=Wt[Zi],na=ia.level==1;return gt(da?Mi-1:Mi,na!=da)}var Rn=Ee(Wt,sr,fr),ei=fe,ni=wn(sr,Rn,fr=="before");return ei!=null&&(ni.other=wn(sr,ei,fr!="before")),ni}function Ya(k,K){var Z=0;K=pt(k.doc,K),k.options.lineWrapping||(Z=oo(k.display)*K.ch);var re=Le(k.doc,K.line),ue=yr(re)+Tn(k.display);return{left:Z,right:Z,top:ue,bottom:ue+re.height}}function Ia(k,K,Z,re,ue){var Fe=Rt(k,K,Z);return Fe.xRel=ue,re&&(Fe.outside=re),Fe}function Va(k,K,Z){var re=k.doc;if(Z+=k.display.viewOffset,Z<0)return Ia(re.first,0,null,-1,-1);var ue=Ar(re,Z),Fe=re.first+re.size-1;if(ue>Fe)return Ia(re.first+re.size-1,Le(re,Fe).text.length,null,1,1);K<0&&(K=0);for(var gt=Le(re,ue);;){var Wt=uo(k,gt,ue,K,Z),sr=kt(gt,Wt.ch+(Wt.xRel>0||Wt.outside>0?1:0));if(!sr)return Wt;var fr=sr.find(1);if(fr.line==ue)return fr;gt=Le(re,ue=fr.line)}}function co(k,K,Z,re){re-=_a(K);var ue=K.text.length,Fe=xe(function(gt){return $i(k,Z,gt-1).bottom<=re},ue,0);return ue=xe(function(gt){return $i(k,Z,gt).top>re},Fe,ue),{begin:Fe,end:ue}}function Ca(k,K,Z,re){Z||(Z=Ui(k,K));var ue=Da(k,K,$i(k,Z,re),"line").top;return co(k,K,Z,ue)}function yo(k,K,Z,re){return k.bottom<=Z?!1:k.top>Z?!0:(re?k.left:k.right)>K}function uo(k,K,Z,re,ue){ue-=yr(K);var Fe=Ui(k,K),gt=_a(K),Wt=0,sr=K.text.length,fr=!0,wn=lt(K,k.doc.direction);if(wn){var Rn=(k.options.lineWrapping?Oo:Xa)(k,K,Z,Fe,wn,re,ue);fr=Rn.level!=1,Wt=fr?Rn.from:Rn.to-1,sr=fr?Rn.to:Rn.from-1}var ei=null,ni=null,Mi=xe(function(To){var no=$i(k,Fe,To);return no.top+=gt,no.bottom+=gt,yo(no,re,ue,!1)?(no.top<=ue&&no.left<=re&&(ei=To,ni=no),!0):!1},Wt,sr),Zi,da,ia=!1;if(ni){var na=re-ni.left=Ma.bottom?1:0}return Mi=Te(K.text,Mi,1),Ia(Z,Mi,da,ia,re-Zi)}function Xa(k,K,Z,re,ue,Fe,gt){var Wt=xe(function(Rn){var ei=ue[Rn],ni=ei.level!=1;return yo(ja(k,Rt(Z,ni?ei.to:ei.from,ni?"before":"after"),"line",K,re),Fe,gt,!0)},0,ue.length-1),sr=ue[Wt];if(Wt>0){var fr=sr.level!=1,wn=ja(k,Rt(Z,fr?sr.from:sr.to,fr?"after":"before"),"line",K,re);yo(wn,Fe,gt,!0)&&wn.top>gt&&(sr=ue[Wt-1])}return sr}function Oo(k,K,Z,re,ue,Fe,gt){var Wt=co(k,K,re,gt),sr=Wt.begin,fr=Wt.end;/\s/.test(K.text.charAt(fr-1))&&fr--;for(var wn=null,Rn=null,ei=0;ei=fr||ni.to<=sr)continue;var Mi=ni.level!=1,Zi=$i(k,re,Mi?Math.min(fr,ni.to)-1:Math.max(sr,ni.from)).right,da=Zida)&&(wn=ni,Rn=da)}return wn||(wn=ue[ue.length-1]),wn.fromfr&&(wn={from:wn.from,to:fr,level:wn.level}),wn}var oa;function qa(k){if(k.cachedTextHeight!=null)return k.cachedTextHeight;if(oa==null){oa=I("pre",null,"CodeMirror-line-like");for(var K=0;K<49;++K)oa.appendChild(document.createTextNode("x")),oa.appendChild(I("br"));oa.appendChild(document.createTextNode("x"))}_(k.measure,oa);var Z=oa.offsetHeight/50;return Z>3&&(k.cachedTextHeight=Z),S(k.measure),Z||1}function oo(k){if(k.cachedCharWidth!=null)return k.cachedCharWidth;var K=I("span","xxxxxxxxxx"),Z=I("pre",[K],"CodeMirror-line-like");_(k.measure,Z);var re=K.getBoundingClientRect(),ue=(re.right-re.left)/10;return ue>2&&(k.cachedCharWidth=ue),ue||10}function Ro(k){for(var K=k.display,Z={},re={},ue=K.gutters.clientLeft,Fe=K.gutters.firstChild,gt=0;Fe;Fe=Fe.nextSibling,++gt){var Wt=k.display.gutterSpecs[gt].className;Z[Wt]=Fe.offsetLeft+Fe.clientLeft+ue,re[Wt]=Fe.clientWidth}return{fixedPos:Ga(K),gutterTotalWidth:K.gutters.offsetWidth,gutterLeft:Z,gutterWidth:re,wrapperWidth:K.wrapper.clientWidth}}function Ga(k){return k.scroller.getBoundingClientRect().left-k.sizer.getBoundingClientRect().left}function _o(k){var K=qa(k.display),Z=k.options.lineWrapping,re=Z&&Math.max(5,k.display.scroller.clientWidth/oo(k.display)-3);return function(ue){if(tr(k.doc,ue))return 0;var Fe=0;if(ue.widgets)for(var gt=0;gt0&&(fr=Le(k.doc,sr.line).text).length==sr.ch){var wn=W(fr,fr.length,k.options.tabSize)-fr.length;sr=Rt(sr.line,Math.max(0,Math.round((Fe-ci(k.display).left)/oo(k.display))-wn))}return sr}function Fa(k,K){if(K>=k.display.viewTo)return null;if(K-=k.display.viewFrom,K<0)return null;for(var Z=k.display.view,re=0;reK)&&(ue.updateLineNumbers=K),k.curOp.viewChanged=!0,K>=ue.viewTo)Ve&&bt(k.doc,K)ue.viewFrom?cr(k):(ue.viewFrom+=re,ue.viewTo+=re);else if(K<=ue.viewFrom&&Z>=ue.viewTo)cr(k);else if(K<=ue.viewFrom){var Fe=Pr(k,Z,Z+re,1);Fe?(ue.view=ue.view.slice(Fe.index),ue.viewFrom=Fe.lineN,ue.viewTo+=re):cr(k)}else if(Z>=ue.viewTo){var gt=Pr(k,K,K,-1);gt?(ue.view=ue.view.slice(0,gt.index),ue.viewTo=gt.lineN):cr(k)}else{var Wt=Pr(k,K,K,-1),sr=Pr(k,Z,Z+re,1);Wt&&sr?(ue.view=ue.view.slice(0,Wt.index).concat($n(k,Wt.lineN,sr.lineN)).concat(ue.view.slice(sr.index)),ue.viewTo+=re):cr(k)}var fr=ue.externalMeasured;fr&&(Z=ue.lineN&&K=re.viewTo)return;var Fe=re.view[Fa(k,K)];if(Fe.node==null)return;var gt=Fe.changes||(Fe.changes=[]);z(gt,Z)==-1&>.push(Z)}function cr(k){k.display.viewFrom=k.display.viewTo=k.doc.first,k.display.view=[],k.display.viewOffset=0}function Pr(k,K,Z,re){var ue=Fa(k,K),Fe,gt=k.display.view;if(!Ve||Z==k.doc.first+k.doc.size)return{index:ue,lineN:Z};for(var Wt=k.display.viewFrom,sr=0;sr0){if(ue==gt.length-1)return null;Fe=Wt+gt[ue].size-K,ue++}else Fe=Wt-K;K+=Fe,Z+=Fe}for(;bt(k.doc,Z)!=Z;){if(ue==(re<0?0:gt.length-1))return null;Z+=re*gt[ue-(re<0?1:0)].size,ue+=re}return{index:ue,lineN:Z}}function Lr(k,K,Z){var re=k.display,ue=re.view;ue.length==0||K>=re.viewTo||Z<=re.viewFrom?(re.view=$n(k,K,Z),re.viewFrom=K):(re.viewFrom>K?re.view=$n(k,K,re.viewFrom).concat(re.view):re.viewFromZ&&(re.view=re.view.slice(0,Fa(k,Z)))),re.viewTo=Z}function _n(k){for(var K=k.display.view,Z=0,re=0;re=k.display.viewTo||Wt.to().line0?K.blinker=setInterval(function(){k.hasFocus()||Yn(k),K.cursorDiv.style.visibility=(Z=!Z)?"":"hidden"},k.options.cursorBlinkRate):k.options.cursorBlinkRate<0&&(K.cursorDiv.style.visibility="hidden")}function Hn(k){k.state.focused||(k.display.input.focus(),ri(k))}function Bn(k){k.state.delayingBlurEvent=!0,setTimeout(function(){k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1,Yn(k))},100)}function ri(k,K){if(k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1),k.options.readOnly=="nocursor")return;k.state.focused||(at(k,"focus",k,K),k.state.focused=!0,B(k.display.wrapper,"CodeMirror-focused"),!k.curOp&&k.display.selForContextMenu!=k.doc.sel&&(k.display.input.reset(),o&&setTimeout(function(){return k.display.input.reset(!0)},20)),k.display.input.receivedFocus()),jn(k)}function Yn(k,K){if(k.state.delayingBlurEvent)return;k.state.focused&&(at(k,"blur",k,K),k.state.focused=!1,w(k.display.wrapper,"CodeMirror-focused")),clearInterval(k.display.blinker),setTimeout(function(){k.state.focused||(k.display.shift=!1)},150)}function ii(k){for(var K=k.display,Z=K.lineDiv.offsetTop,re=0;re.005||wn<-.005)&&(ft(ue.line,gt),ai(ue.line),ue.rest))for(var Rn=0;Rnk.display.sizerWidth){var ei=Math.ceil(Wt/oo(k.display));ei>k.display.maxLineLength&&(k.display.maxLineLength=ei,k.display.maxLine=ue.line,k.display.maxLineChanged=!0)}}}function ai(k){if(k.widgets)for(var K=0;K=gt&&(Fe=Ar(K,yr(Le(K,sr))-k.wrapper.clientHeight),gt=sr)}return{from:Fe,to:Math.max(gt,Fe+1)}}function bi(k,K){if(Ct(k,"scrollCursorIntoView"))return;var Z=k.display,re=Z.sizer.getBoundingClientRect(),ue=null;if(K.top+re.top<0?ue=!0:K.bottom+re.top>(window.innerHeight||document.documentElement.clientHeight)&&(ue=!1),ue!=null&&!t){var Fe=I("div","\u200B",null,`position: absolute; top: `+(K.top-Z.viewOffset-Tn(k.display))+`px; height: `+(K.bottom-K.top+Jn(k)+Z.barHeight)+`px; left: `+K.left+"px; width: "+Math.max(2,K.right-K.left)+"px;");k.display.lineSpace.appendChild(Fe),Fe.scrollIntoView(ue),k.display.lineSpace.removeChild(Fe)}}function Ki(k,K,Z,re){re==null&&(re=0);var ue;!k.options.lineWrapping&&K==Z&&(K=K.ch?Rt(K.line,K.sticky=="before"?K.ch-1:K.ch,"after"):K,Z=K.sticky=="before"?Rt(K.line,K.ch+1,"before"):K);for(var Fe=0;Fe<5;Fe++){var gt=!1,Wt=ja(k,K),sr=!Z||Z==K?Wt:ja(k,Z);ue={left:Math.min(Wt.left,sr.left),top:Math.min(Wt.top,sr.top)-re,right:Math.max(Wt.left,sr.left),bottom:Math.max(Wt.bottom,sr.bottom)+re};var fr=ea(k,ue),wn=k.doc.scrollTop,Rn=k.doc.scrollLeft;if(fr.scrollTop!=null&&(qi(k,fr.scrollTop),Math.abs(k.doc.scrollTop-wn)>1&&(gt=!0)),fr.scrollLeft!=null&&(ma(k,fr.scrollLeft),Math.abs(k.doc.scrollLeft-Rn)>1&&(gt=!0)),!gt)break}return ue}function Aa(k,K){var Z=ea(k,K);Z.scrollTop!=null&&qi(k,Z.scrollTop),Z.scrollLeft!=null&&ma(k,Z.scrollLeft)}function ea(k,K){var Z=k.display,re=qa(k.display);K.top<0&&(K.top=0);var ue=k.curOp&&k.curOp.scrollTop!=null?k.curOp.scrollTop:Z.scroller.scrollTop,Fe=Si(k),gt={};K.bottom-K.top>Fe&&(K.bottom=K.top+Fe);var Wt=k.doc.height+Gn(Z),sr=K.topWt-re;if(K.topue+Fe){var wn=Math.min(K.top,(fr?Wt:K.bottom)-Fe);wn!=ue&&(gt.scrollTop=wn)}var Rn=k.options.fixedGutter?0:Z.gutters.offsetWidth,ei=k.curOp&&k.curOp.scrollLeft!=null?k.curOp.scrollLeft:Z.scroller.scrollLeft-Rn,ni=pi(k)-Z.gutters.offsetWidth,Mi=K.right-K.left>ni;return Mi&&(K.right=K.left+ni),K.left<10?gt.scrollLeft=0:K.leftni+ei-3&&(gt.scrollLeft=K.right+(Mi?0:10)-ni),gt}function Ji(k,K){if(K==null)return;Qa(k),k.curOp.scrollTop=(k.curOp.scrollTop==null?k.doc.scrollTop:k.curOp.scrollTop)+K}function sa(k){Qa(k);var K=k.getCursor();k.curOp.scrollToPos={from:K,to:K,margin:k.options.cursorScrollMargin}}function fa(k,K,Z){(K!=null||Z!=null)&&Qa(k),K!=null&&(k.curOp.scrollLeft=K),Z!=null&&(k.curOp.scrollTop=Z)}function xo(k,K){Qa(k),k.curOp.scrollToPos=K}function Qa(k){var K=k.curOp.scrollToPos;if(K){k.curOp.scrollToPos=null;var Z=Ya(k,K.from),re=Ya(k,K.to);Wi(k,Z,re,K.margin)}}function Wi(k,K,Z,re){var ue=ea(k,{left:Math.min(K.left,Z.left),top:Math.min(K.top,Z.top)-re,right:Math.max(K.right,Z.right),bottom:Math.max(K.bottom,Z.bottom)+re});fa(k,ue.scrollLeft,ue.scrollTop)}function qi(k,K){if(Math.abs(k.doc.scrollTop-K)<2)return;C||bs(k,{top:K}),ca(k,K,!0),C&&bs(k),zo(k,100)}function ca(k,K,Z){if(K=Math.max(0,Math.min(k.display.scroller.scrollHeight-k.display.scroller.clientHeight,K)),k.display.scroller.scrollTop==K&&!Z)return;k.doc.scrollTop=K,k.display.scrollbars.setScrollTop(K),k.display.scroller.scrollTop!=K&&(k.display.scroller.scrollTop=K)}function ma(k,K,Z,re){if(K=Math.max(0,Math.min(K,k.display.scroller.scrollWidth-k.display.scroller.clientWidth)),(Z?K==k.doc.scrollLeft:Math.abs(k.doc.scrollLeft-K)<2)&&!re)return;k.doc.scrollLeft=K,_s(k),k.display.scroller.scrollLeft!=K&&(k.display.scroller.scrollLeft=K),k.display.scrollbars.setScrollLeft(K)}function ka(k){var K=k.display,Z=K.gutters.offsetWidth,re=Math.round(k.doc.height+Gn(k.display));return{clientHeight:K.scroller.clientHeight,viewHeight:K.wrapper.clientHeight,scrollWidth:K.scroller.scrollWidth,clientWidth:K.scroller.clientWidth,viewWidth:K.wrapper.clientWidth,barLeft:k.options.fixedGutter?Z:0,docHeight:re,scrollHeight:re+Jn(k)+K.barHeight,nativeBarWidth:K.nativeBarWidth,gutterWidth:Z}}var La=function(K,Z,re){this.cm=re;var ue=this.vert=I("div",[I("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Fe=this.horiz=I("div",[I("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ue.tabIndex=Fe.tabIndex=-1,K(ue),K(Fe),Ce(ue,"scroll",function(){ue.clientHeight&&Z(ue.scrollTop,"vertical")}),Ce(Fe,"scroll",function(){Fe.clientWidth&&Z(Fe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,f&&c<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};La.prototype.update=function(k){var K=k.scrollWidth>k.clientWidth+1,Z=k.scrollHeight>k.clientHeight+1,re=k.nativeBarWidth;if(Z){this.vert.style.display="block",this.vert.style.bottom=K?re+"px":"0";var ue=k.viewHeight-(K?re:0);this.vert.firstChild.style.height=Math.max(0,k.scrollHeight-k.clientHeight+ue)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(K){this.horiz.style.display="block",this.horiz.style.right=Z?re+"px":"0",this.horiz.style.left=k.barLeft+"px";var Fe=k.viewWidth-k.barLeft-(Z?re:0);this.horiz.firstChild.style.width=Math.max(0,k.scrollWidth-k.clientWidth+Fe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&k.clientHeight>0&&(re==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Z?re:0,bottom:K?re:0}},La.prototype.setScrollLeft=function(k){this.horiz.scrollLeft!=k&&(this.horiz.scrollLeft=k),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},La.prototype.setScrollTop=function(k){this.vert.scrollTop!=k&&(this.vert.scrollTop=k),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},La.prototype.zeroWidthHack=function(){var k=h&&!s?"12px":"18px";this.horiz.style.height=this.vert.style.width=k,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new V,this.disableVert=new V},La.prototype.enableZeroWidthBar=function(k,K,Z){k.style.pointerEvents="auto";function re(){var ue=k.getBoundingClientRect(),Fe=Z=="vert"?document.elementFromPoint(ue.right-1,(ue.top+ue.bottom)/2):document.elementFromPoint((ue.right+ue.left)/2,ue.bottom-1);Fe!=k?k.style.pointerEvents="none":K.set(1e3,re)}K.set(1e3,re)},La.prototype.clear=function(){var k=this.horiz.parentNode;k.removeChild(this.horiz),k.removeChild(this.vert)};var Za=function(){};Za.prototype.update=function(){return{bottom:0,right:0}},Za.prototype.setScrollLeft=function(){},Za.prototype.setScrollTop=function(){},Za.prototype.clear=function(){};function eo(k,K){K||(K=ka(k));var Z=k.display.barWidth,re=k.display.barHeight;Po(k,K);for(var ue=0;ue<4&&Z!=k.display.barWidth||re!=k.display.barHeight;ue++)Z!=k.display.barWidth&&k.options.lineWrapping&&ii(k),Po(k,ka(k)),Z=k.display.barWidth,re=k.display.barHeight}function Po(k,K){var Z=k.display,re=Z.scrollbars.update(K);Z.sizer.style.paddingRight=(Z.barWidth=re.right)+"px",Z.sizer.style.paddingBottom=(Z.barHeight=re.bottom)+"px",Z.heightForcer.style.borderBottom=re.bottom+"px solid transparent",re.right&&re.bottom?(Z.scrollbarFiller.style.display="block",Z.scrollbarFiller.style.height=re.bottom+"px",Z.scrollbarFiller.style.width=re.right+"px"):Z.scrollbarFiller.style.display="",re.bottom&&k.options.coverGutterNextToScrollbar&&k.options.fixedGutter?(Z.gutterFiller.style.display="block",Z.gutterFiller.style.height=re.bottom+"px",Z.gutterFiller.style.width=K.gutterWidth+"px"):Z.gutterFiller.style.display=""}var jo={native:La,null:Za};function cs(k){k.display.scrollbars&&(k.display.scrollbars.clear(),k.display.scrollbars.addClass&&w(k.display.wrapper,k.display.scrollbars.addClass)),k.display.scrollbars=new jo[k.options.scrollbarStyle](function(K){k.display.wrapper.insertBefore(K,k.display.scrollbarFiller),Ce(K,"mousedown",function(){k.state.focused&&setTimeout(function(){return k.display.input.focus()},0)}),K.setAttribute("cm-not-content","true")},function(K,Z){Z=="horizontal"?ma(k,K):qi(k,K)},k),k.display.scrollbars.addClass&&B(k.display.wrapper,k.display.scrollbars.addClass)}var Mo=0;function Lo(k){k.curOp={cm:k,viewChanged:!1,startHeight:k.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:++Mo},mi(k.curOp)}function Ba(k){var K=k.curOp;K&&Li(K,function(Z){for(var re=0;re=Z.viewTo)||Z.maxLineChanged&&K.options.lineWrapping,k.update=k.mustUpdate&&new es(K,k.mustUpdate&&{top:k.scrollTop,ensure:k.scrollToPos},k.forceUpdate)}function ko(k){k.updatedDisplay=k.mustUpdate&&Ko(k.cm,k.update)}function Qo(k){var K=k.cm,Z=K.display;k.updatedDisplay&&ii(K),k.barMeasure=ka(K),Z.maxLineChanged&&!K.options.lineWrapping&&(k.adjustWidthTo=vi(K,Z.maxLine,Z.maxLine.text.length).left+3,K.display.sizerWidth=k.adjustWidthTo,k.barMeasure.scrollWidth=Math.max(Z.scroller.clientWidth,Z.sizer.offsetLeft+k.adjustWidthTo+Jn(K)+K.display.barWidth),k.maxScrollLeft=Math.max(0,Z.sizer.offsetLeft+k.adjustWidthTo-pi(K))),(k.updatedDisplay||k.selectionChanged)&&(k.preparedSelection=Z.input.prepareSelection())}function so(k){var K=k.cm;k.adjustWidthTo!=null&&(K.display.sizer.style.minWidth=k.adjustWidthTo+"px",k.maxScrollLeft=k.display.viewTo)return;var Z=+new Date+k.options.workTime,re=Pn(k,K.highlightFrontier),ue=[];K.iter(re.line,Math.min(K.first+K.size,k.display.viewTo+500),function(Fe){if(re.line>=k.display.viewFrom){var gt=Fe.styles,Wt=Fe.text.length>k.options.maxHighlightLength?jt(K.mode,re.state):null,sr=Jr(k,Fe,re,!0);Wt&&(re.state=Wt),Fe.styles=sr.styles;var fr=Fe.styleClasses,wn=sr.classes;wn?Fe.styleClasses=wn:fr&&(Fe.styleClasses=null);for(var Rn=!gt||gt.length!=Fe.styles.length||fr!=wn&&(!fr||!wn||fr.bgClass!=wn.bgClass||fr.textClass!=wn.textClass),ei=0;!Rn&&eiZ)return zo(k,k.options.workDelay),!0}),K.highlightFrontier=re.line,K.modeFrontier=Math.max(K.modeFrontier,re.line),ue.length&&ho(k,function(){for(var Fe=0;Fe=Z.viewFrom&&K.visible.to<=Z.viewTo&&(Z.updateLineNumbers==null||Z.updateLineNumbers>=Z.viewTo)&&Z.renderedView==Z.view&&_n(k)==0)return!1;vs(k)&&(cr(k),K.dims=Ro(k));var ue=re.first+re.size,Fe=Math.max(K.visible.from-k.options.viewportMargin,re.first),gt=Math.min(ue,K.visible.to+k.options.viewportMargin);Z.viewFromgt&&Z.viewTo-gt<20&&(gt=Math.min(ue,Z.viewTo)),Ve&&(Fe=bt(k.doc,Fe),gt=Qt(k.doc,gt));var Wt=Fe!=Z.viewFrom||gt!=Z.viewTo||Z.lastWrapHeight!=K.wrapperHeight||Z.lastWrapWidth!=K.wrapperWidth;Lr(k,Fe,gt),Z.viewOffset=yr(Le(k.doc,Z.viewFrom)),k.display.mover.style.top=Z.viewOffset+"px";var sr=_n(k);if(!Wt&&sr==0&&!K.force&&Z.renderedView==Z.view&&(Z.updateLineNumbers==null||Z.updateLineNumbers>=Z.viewTo))return!1;var fr=Es(k);return sr>4&&(Z.lineDiv.style.display="none"),ws(k,Z.updateLineNumbers,K.dims),sr>4&&(Z.lineDiv.style.display=""),Z.renderedView=Z.view,gs(fr),S(Z.cursorDiv),S(Z.selectionDiv),Z.gutters.style.height=Z.sizer.style.minHeight=0,Wt&&(Z.lastWrapHeight=K.wrapperHeight,Z.lastWrapWidth=K.wrapperWidth,zo(k,400)),Z.updateLineNumbers=null,!0}function hs(k,K){for(var Z=K.viewport,re=!0;;re=!1){if(!re||!k.options.lineWrapping||K.oldDisplayWidth==pi(k)){if(Z&&Z.top!=null&&(Z={top:Math.min(k.doc.height+Gn(k.display)-Si(k),Z.top)}),K.visible=ki(k.display,k.doc,Z),K.visible.from>=k.display.viewFrom&&K.visible.to<=k.display.viewTo)break}else re&&(K.visible=ki(k.display,k.doc,Z));if(!Ko(k,K))break;ii(k);var ue=ka(k);Vr(k),eo(k,ue),us(k,ue),K.force=!1}K.signal(k,"update",k),(k.display.viewFrom!=k.display.reportedViewFrom||k.display.viewTo!=k.display.reportedViewTo)&&(K.signal(k,"viewportChange",k,k.display.viewFrom,k.display.viewTo),k.display.reportedViewFrom=k.display.viewFrom,k.display.reportedViewTo=k.display.viewTo)}function bs(k,K){var Z=new es(k,K);if(Ko(k,Z)){ii(k),hs(k,Z);var re=ka(k);Vr(k),eo(k,re),us(k,re),Z.finish()}}function ws(k,K,Z){var re=k.display,ue=k.options.lineNumbers,Fe=re.lineDiv,gt=Fe.firstChild;function Wt(Mi){var Zi=Mi.nextSibling;return o&&h&&k.display.currentWheelTarget==Mi?Mi.style.display="none":Mi.parentNode.removeChild(Mi),Zi}for(var sr=re.view,fr=re.viewFrom,wn=0;wn-1&&(ni=!1),on(k,Rn,fr,Z)),ni&&(S(Rn.lineNumber),Rn.lineNumber.appendChild(document.createTextNode(un(k.options,fr)))),gt=Rn.node.nextSibling}fr+=Rn.size}for(;gt;)gt=Wt(gt)}function qo(k){var K=k.gutters.offsetWidth;k.sizer.style.marginLeft=K+"px"}function us(k,K){k.display.sizer.style.minHeight=K.docHeight+"px",k.display.heightForcer.style.top=K.docHeight+"px",k.display.gutters.style.height=K.docHeight+k.display.barHeight+Jn(k)+"px"}function _s(k){var K=k.display,Z=K.view;if(!K.alignWidgets&&(!K.gutters.firstChild||!k.options.fixedGutter))return;for(var re=Ga(K)-K.scroller.scrollLeft+k.doc.scrollLeft,ue=K.gutters.offsetWidth,Fe=re+"px",gt=0;gtgt.clientWidth,sr=gt.scrollHeight>gt.clientHeight;if(!(re&&Wt||ue&&sr))return;if(ue&&h&&o){e:for(var fr=K.target,wn=Fe.view;fr!=gt;fr=fr.parentNode)for(var Rn=0;Rn=0&&it(k,re.to())<=0)return Z}return-1};var ie=function(K,Z){this.anchor=K,this.head=Z};ie.prototype.from=function(){return _t(this.anchor,this.head)},ie.prototype.to=function(){return Bt(this.anchor,this.head)},ie.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function pe(k,K,Z){var re=k&&k.options.selectionsMayTouch,ue=K[Z];K.sort(function(ei,ni){return it(ei.from(),ni.from())}),Z=z(K,ue);for(var Fe=1;Fe0:sr>=0){var fr=_t(Wt.from(),gt.from()),wn=Bt(Wt.to(),gt.to()),Rn=Wt.empty()?gt.from()==gt.head:Wt.from()==Wt.head;Fe<=Z&&--Z,K.splice(--Fe,2,new ie(Rn?wn:fr,Rn?fr:wn))}}return new At(K,Z)}function be(k,K){return new At([new ie(k,K||k)],0)}function He(k){return k.text?Rt(k.from.line+k.text.length-1,me(k.text).length+(k.text.length==1?k.from.ch:0)):k.to}function yt(k,K){if(it(k,K.from)<0)return k;if(it(k,K.to)<=0)return He(K);var Z=k.line+K.text.length-(K.to.line-K.from.line)-1,re=k.ch;return k.line==K.to.line&&(re+=He(K).ch-K.to.ch),Rt(Z,re)}function Xt(k,K){for(var Z=[],re=0;re1&&k.remove(Wt.line+1,Mi-1),k.insert(Wt.line+1,ia)}wr(k,"change",k,K)}function Ei(k,K,Z){function re(ue,Fe,gt){if(ue.linked)for(var Wt=0;Wt1&&!k.done[k.done.length-2].ranges)return k.done.pop(),me(k.done)}function Vo(k,K,Z,re){var ue=k.history;ue.undone.length=0;var Fe=+new Date,gt,Wt;if((ue.lastOp==re||ue.lastOrigin==K.origin&&K.origin&&(K.origin.charAt(0)=="+"&&ue.lastModTime>Fe-(k.cm?k.cm.options.historyEventDelay:500)||K.origin.charAt(0)=="*"))&&(gt=Yo(ue,ue.lastOp==re)))Wt=me(gt.changes),it(K.from,K.to)==0&&it(K.from,Wt.to)==0?Wt.to=He(K):gt.changes.push(wo(k,K));else{var sr=me(ue.done);for((!sr||!sr.ranges)&&Ka(k.sel,ue.done),gt={changes:[wo(k,K)],generation:ue.generation},ue.done.push(gt);ue.done.length>ue.undoDepth;)ue.done.shift(),ue.done[0].ranges||ue.done.shift()}ue.done.push(Z),ue.generation=++ue.maxGeneration,ue.lastModTime=ue.lastSelTime=Fe,ue.lastOp=ue.lastSelOp=re,ue.lastOrigin=ue.lastSelOrigin=K.origin,Wt||at(k,"historyAdded")}function No(k,K,Z,re){var ue=K.charAt(0);return ue=="*"||ue=="+"&&Z.ranges.length==re.ranges.length&&Z.somethingSelected()==re.somethingSelected()&&new Date-k.history.lastSelTime<=(k.cm?k.cm.options.historyEventDelay:500)}function ao(k,K,Z,re){var ue=k.history,Fe=re&&re.origin;Z==ue.lastSelOp||Fe&&ue.lastSelOrigin==Fe&&(ue.lastModTime==ue.lastSelTime&&ue.lastOrigin==Fe||No(k,Fe,me(ue.done),K))?ue.done[ue.done.length-1]=K:Ka(K,ue.done),ue.lastSelTime=+new Date,ue.lastSelOrigin=Fe,ue.lastSelOp=Z,re&&re.clearRedo!==!1&&lo(ue.undone)}function Ka(k,K){var Z=me(K);Z&&Z.ranges&&Z.equals(k)||K.push(k)}function is(k,K,Z,re){var ue=K["spans_"+k.id],Fe=0;k.iter(Math.max(k.first,Z),Math.min(k.first+k.size,re),function(gt){gt.markedSpans&&((ue||(ue=K["spans_"+k.id]={}))[Fe]=gt.markedSpans),++Fe})}function Is(k){if(!k)return null;for(var K,Z=0;Z-1&&(me(Wt)[Rn]=fr[Rn],delete fr[Rn]))}}return re}function Hs(k,K,Z,re){if(re){var ue=k.anchor;if(Z){var Fe=it(K,ue)<0;Fe!=it(Z,ue)<0?(ue=K,K=Z):Fe!=it(K,Z)<0&&(K=Z)}return new ie(ue,K)}else return new ie(Z||K,K)}function fs(k,K,Z,re,ue){ue==null&&(ue=k.cm&&(k.cm.display.shift||k.extend)),Zo(k,new At([Hs(k.sel.primary(),K,Z,ue)],0),re)}function as(k,K,Z){for(var re=[],ue=k.cm&&(k.cm.display.shift||k.extend),Fe=0;Fe=K.ch:Wt.to>K.ch))){if(ue&&(at(sr,"beforeCursorEnter"),sr.explicitlyCleared))if(Fe.markedSpans){--gt;continue}else break;if(!sr.atomic)continue;if(Z){var Rn=sr.find(re<0?1:-1),ei=void 0;if((re<0?wn:fr)&&(Rn=Go(k,Rn,-re,Rn&&Rn.line==K.line?Fe:null)),Rn&&Rn.line==K.line&&(ei=it(Rn,Z))&&(re<0?ei<0:ei>0))return Wa(k,Rn,K,re,ue)}var ni=sr.find(re<0?-1:1);return(re<0?fr:wn)&&(ni=Go(k,ni,re,ni.line==K.line?Fe:null)),ni?Wa(k,ni,K,re,ue):null}}return K}function Eo(k,K,Z,re,ue){var Fe=re||1,gt=Wa(k,K,Z,Fe,ue)||!ue&&Wa(k,K,Z,Fe,!0)||Wa(k,K,Z,-Fe,ue)||!ue&&Wa(k,K,Z,-Fe,!0);return gt||(k.cantEdit=!0,Rt(k.first,0))}function Go(k,K,Z,re){return Z<0&&K.ch==0?K.line>k.first?pt(k,Rt(K.line-1)):null:Z>0&&K.ch==(re||Le(k,K.line)).text.length?K.line=0;--ue)os(k,{from:re[ue].from,to:re[ue].to,text:ue?[""]:K.text,origin:K.origin});else os(k,K)}function os(k,K){if(K.text.length==1&&K.text[0]==""&&it(K.from,K.to)==0)return;var Z=Xt(k,K);Vo(k,K,Z,k.cm?k.cm.curOp.id:NaN),Zs(k,K,Z,pn(k,K));var re=[];Ei(k,function(ue,Fe){!Fe&&z(re,ue.history)==-1&&(Ns(ue.history,K),re.push(ue.history)),Zs(ue,K,null,pn(ue,K))})}function Fs(k,K,Z){var re=k.cm&&k.cm.state.suppressEdits;if(re&&!Z)return;for(var ue=k.history,Fe,gt=k.sel,Wt=K=="undo"?ue.done:ue.undone,sr=K=="undo"?ue.undone:ue.done,fr=0;fr=0;--ni){var Mi=ei(ni);if(Mi)return Mi.v}}function ol(k,K){if(K==0)return;if(k.first+=K,k.sel=new At(Ue(k.sel.ranges,function(ue){return new ie(Rt(ue.anchor.line+K,ue.anchor.ch),Rt(ue.head.line+K,ue.head.ch))}),k.sel.primIndex),k.cm){ha(k.cm,k.first,k.first-K,K);for(var Z=k.cm.display,re=Z.viewFrom;rek.lastLine())return;if(K.from.lineFe&&(K={from:K.from,to:Rt(Fe,Le(k,Fe).text.length),text:[K.text[0]],origin:K.origin}),K.removed=Ze(k,K.from,K.to),Z||(Z=Xt(k,K)),k.cm?dl(k.cm,K,re):Qn(k,K,re),As(k,Z,ce),k.cantEdit&&Eo(k,Rt(k.firstLine(),0))&&(k.cantEdit=!1)}function dl(k,K,Z){var re=k.doc,ue=k.display,Fe=K.from,gt=K.to,Wt=!1,sr=Fe.line;k.options.lineWrapping||(sr=Dt(Et(Le(re,Fe.line))),re.iter(sr,gt.line+1,function(ni){if(ni==ue.maxLine)return Wt=!0,!0})),re.sel.contains(K.from,K.to)>-1&&Tt(k),Qn(re,K,Z,_o(k)),k.options.lineWrapping||(re.iter(sr,Fe.line+K.text.length,function(ni){var Mi=xn(ni);Mi>ue.maxLineLength&&(ue.maxLine=ni,ue.maxLineLength=Mi,ue.maxLineChanged=!0,Wt=!1)}),Wt&&(k.curOp.updateMaxLine=!0)),je(re,Fe.line),zo(k,400);var fr=K.text.length-(gt.line-Fe.line)-1;K.full?ha(k):Fe.line==gt.line&&K.text.length==1&&!qn(k.doc,K)?rt(k,Fe.line,"text"):ha(k,Fe.line,gt.line+1,fr);var wn=Ot(k,"changes"),Rn=Ot(k,"change");if(Rn||wn){var ei={from:Fe,to:gt,text:K.text,removed:K.removed,origin:K.origin};Rn&&wr(k,"change",k,ei),wn&&(k.curOp.changeObjs||(k.curOp.changeObjs=[])).push(ei)}k.display.selForContextMenu=null}function hl(k,K,Z,re,ue){var Fe;re||(re=Z),it(re,Z)<0&&(Fe=[re,Z],Z=Fe[0],re=Fe[1]),typeof K=="string"&&(K=k.splitLines(K)),rs(k,{from:Z,to:re,text:K,origin:ue})}function sl(k,K,Z,re){Z1||!(this.children[0]instanceof Ds))){var sr=[];this.collapse(sr),this.children=[new Ds(sr)],this.children[0].parent=this}},collapse:function(K){for(var Z=0;Z50){for(var Wt=Fe.lines.length%25+25,sr=Wt;sr10);K.parent.maybeSpill()},iterN:function(K,Z,re){for(var ue=0;uek.display.maxLineLength&&(k.display.maxLine=fr,k.display.maxLineLength=wn,k.display.maxLineChanged=!0)}re!=null&&k&&this.collapsed&&ha(k,re,ue+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,k&&Ps(k.doc)),k&&wr(k,"markerCleared",k,this,re,ue),K&&Ba(k),this.parent&&this.parent.clear()},$s.prototype.find=function(k,K){k==null&&this.type=="bookmark"&&(k=1);for(var Z,re,ue=0;ue0||gt==0&&Fe.clearWhenEmpty!==!1)return Fe;if(Fe.replacedWith&&(Fe.collapsed=!0,Fe.widgetNode=L("span",[Fe.replacedWith],"CodeMirror-widget"),re.handleMouseEvents||Fe.widgetNode.setAttribute("cm-ignore-events","true"),re.insertLeft&&(Fe.widgetNode.insertLeft=!0)),Fe.collapsed){if(vt(k,K.line,K,Z,Fe)||K.line!=Z.line&&vt(k,Z.line,K,Z,Fe))throw new Error("Inserting collapsed marker partially overlapping an existing one");xt()}Fe.addToHistory&&Vo(k,{from:K,to:Z,origin:"markText"},k.sel,NaN);var Wt=K.line,sr=k.cm,fr;if(k.iter(Wt,Z.line+1,function(Rn){sr&&Fe.collapsed&&!sr.options.lineWrapping&&Et(Rn)==sr.display.maxLine&&(fr=!0),Fe.collapsed&&Wt!=K.line&&ft(Rn,0),Ir(Rn,new ut(Fe,Wt==K.line?K.ch:null,Wt==Z.line?Z.ch:null)),++Wt}),Fe.collapsed&&k.iter(K.line,Z.line+1,function(Rn){tr(k,Rn)&&ft(Rn,0)}),Fe.clearOnEnter&&Ce(Fe,"beforeCursorEnter",function(){return Fe.clear()}),Fe.readOnly&&(qe(),(k.history.done.length||k.history.undone.length)&&k.clearHistory()),Fe.collapsed&&(Fe.id=++jl,Fe.atomic=!0),sr){if(fr&&(sr.curOp.updateMaxLine=!0),Fe.collapsed)ha(sr,K.line,Z.line+1);else if(Fe.className||Fe.startStyle||Fe.endStyle||Fe.css||Fe.attributes||Fe.title)for(var wn=K.line;wn<=Z.line;wn++)rt(sr,wn,"text");Fe.atomic&&Ps(sr.doc),wr(sr,"markerAdded",sr,Fe)}return Fe}var kl=function(K,Z){this.markers=K,this.primary=Z;for(var re=0;re=0;sr--)rs(this,re[sr]);Wt?zs(this,Wt):this.cm&&sa(this.cm)}),undo:Ho(function(){Fs(this,"undo")}),redo:Ho(function(){Fs(this,"redo")}),undoSelection:Ho(function(){Fs(this,"undo",!0)}),redoSelection:Ho(function(){Fs(this,"redo",!0)}),setExtending:function(K){this.extend=K},getExtending:function(){return this.extend},historySize:function(){for(var K=this.history,Z=0,re=0,ue=0;ue=K.ch)&&Z.push(Fe.marker.parent||Fe.marker)}return Z},findMarks:function(K,Z,re){K=pt(this,K),Z=pt(this,Z);var ue=[],Fe=K.line;return this.iter(K.line,Z.line+1,function(gt){var Wt=gt.markedSpans;if(Wt)for(var sr=0;sr=fr.to||fr.from==null&&Fe!=K.line||fr.from!=null&&Fe==Z.line&&fr.from>=Z.ch)&&(!re||re(fr.marker))&&ue.push(fr.marker.parent||fr.marker)}++Fe}),ue},getAllMarks:function(){var K=[];return this.iter(function(Z){var re=Z.markedSpans;if(re)for(var ue=0;ueK)return Z=K,!0;K-=gt,++re}),pt(this,Rt(re,Z))},indexFromPos:function(K){K=pt(this,K);var Z=K.ch;if(K.lineZ&&(Z=K.from),K.to!=null&&K.to-1){K.state.draggingText(k),setTimeout(function(){return K.display.input.focus()},20);return}try{var wn=k.dataTransfer.getData("Text");if(wn){var Rn;if(K.state.draggingText&&!K.state.draggingText.copy&&(Rn=K.listSelections()),As(K.doc,be(Z,Z)),Rn)for(var ei=0;ei=0;Wt--)hl(k.doc,"",re[Wt].from,re[Wt].to,"+delete");sa(k)})}function Bl(k,K,Z){var re=Te(k.text,K+Z,Z);return re<0||re>k.text.length?null:re}function wu(k,K,Z){var re=Bl(k,K.ch,Z);return re==null?null:new Rt(K.line,re,Z<0?"after":"before")}function fu(k,K,Z,re,ue){if(k){K.doc.direction=="rtl"&&(ue=-ue);var Fe=lt(Z,K.doc.direction);if(Fe){var gt=ue<0?me(Fe):Fe[0],Wt=ue<0==(gt.level==1),sr=Wt?"after":"before",fr;if(gt.level>0||K.doc.direction=="rtl"){var wn=Ui(K,Z);fr=ue<0?Z.text.length-1:0;var Rn=$i(K,wn,fr).top;fr=xe(function(ei){return $i(K,wn,ei).top==Rn},ue<0==(gt.level==1)?gt.from:gt.to-1,fr),sr=="before"&&(fr=Bl(Z,fr,1))}else fr=ue<0?gt.to:gt.from;return new Rt(re,fr,sr)}}return new Rt(re,ue<0?Z.text.length:0,ue<0?"before":"after")}function Gl(k,K,Z,re){var ue=lt(K,k.doc.direction);if(!ue)return wu(K,Z,re);Z.ch>=K.text.length?(Z.ch=K.text.length,Z.sticky="before"):Z.ch<=0&&(Z.ch=0,Z.sticky="after");var Fe=Ee(ue,Z.ch,Z.sticky),gt=ue[Fe];if(k.doc.direction=="ltr"&>.level%2==0&&(re>0?gt.to>Z.ch:gt.from=gt.from&&ei>=wn.begin)){var ni=Rn?"before":"after";return new Rt(Z.line,ei,ni)}}var Mi=function(na,xa,Ma){for(var To=function(Ts,tl){return tl?new Rt(Z.line,Wt(Ts,1),"before"):new Rt(Z.line,Ts,"after")};na>=0&&na0==(no.level!=1),ps=Wo?Ma.begin:Wt(Ma.end,-1);if(no.from<=ps&&ps0?wn.end:Wt(wn.begin,-1);return da!=null&&!(re>0&&da==K.text.length)&&(Zi=Mi(re>0?0:ue.length-1,re,fr(da)),Zi)?Zi:null}var Kl={selectAll:$o,singleSelection:function(K){return K.setSelection(K.getCursor("anchor"),K.getCursor("head"),ce)},killLine:function(K){return el(K,function(Z){if(Z.empty()){var re=Le(K.doc,Z.head.line).text.length;return Z.head.ch==re&&Z.head.line0)Fe=new Rt(Fe.line,Fe.ch+1),K.replaceRange(gt.charAt(Fe.ch-1)+gt.charAt(Fe.ch-2),Rt(Fe.line,Fe.ch-2),Fe,"+transpose");else if(Fe.line>K.doc.first){var Wt=Le(K.doc,Fe.line-1).text;Wt&&(Fe=new Rt(Fe.line,1),K.replaceRange(gt.charAt(0)+K.doc.lineSeparator()+Wt.charAt(Wt.length-1),Rt(Fe.line-1,Wt.length-1),Fe,"+transpose"))}}re.push(new ie(Fe,Fe))}K.setSelections(re)})},newlineAndIndent:function(K){return ho(K,function(){for(var Z=K.listSelections(),re=Z.length-1;re>=0;re--)K.replaceRange(K.doc.lineSeparator(),Z[re].anchor,Z[re].head,"+input");Z=K.listSelections();for(var ue=0;uek&&it(K,this.pos)==0&&Z==this.button};var Ks,Yl;function gu(k,K){var Z=+new Date;return Yl&&Yl.compare(Z,k,K)?(Ks=Yl=null,"triple"):Ks&&Ks.compare(Z,k,K)?(Yl=new Ll(Z,k,K),Ks=null,"double"):(Ks=new Ll(Z,k,K),Yl=null,"single")}function uu(k){var K=this,Z=K.display;if(Ct(K,k)||Z.activeTouch&&Z.input.supportsTouch())return;if(Z.input.ensurePolled(),Z.shift=k.shiftKey,Ln(Z,k)){o||(Z.scroller.draggable=!1,setTimeout(function(){return Z.scroller.draggable=!0},100));return}if(Uu(K,k))return;var re=Ja(K,k),ue=q(k),Fe=re?gu(re,ue):"single";if(window.focus(),ue==1&&K.state.selectingText&&K.state.selectingText(k),re&&Ou(K,ue,re,Fe,k))return;ue==1?re?Fu(K,re,Fe,k):Ne(k)==Z.scroller&&Be(k):ue==2?(re&&fs(K.doc,re),setTimeout(function(){return Z.input.focus()},20)):ue==3&&(E?K.display.input.onContextMenu(k):Bn(K))}function Ou(k,K,Z,re,ue){var Fe="Click";return re=="double"?Fe="Double"+Fe:re=="triple"&&(Fe="Triple"+Fe),Fe=(K==1?"Left":K==2?"Middle":"Right")+Fe,Bo(k,hu(Fe,ue),ue,function(gt){if(typeof gt=="string"&&(gt=Kl[gt]),!gt)return!1;var Wt=!1;try{k.isReadOnly()&&(k.state.suppressEdits=!0),Wt=gt(k,Z)!=$}finally{k.state.suppressEdits=!1}return Wt})}function Vu(k,K,Z){var re=k.getOption("configureMouse"),ue=re?re(k,K,Z):{};if(ue.unit==null){var Fe=p?Z.shiftKey&&Z.metaKey:Z.altKey;ue.unit=Fe?"rectangle":K=="single"?"char":K=="double"?"word":"line"}return(ue.extend==null||k.doc.extend)&&(ue.extend=k.doc.extend||Z.shiftKey),ue.addNew==null&&(ue.addNew=h?Z.metaKey:Z.ctrlKey),ue.moveOnDrag==null&&(ue.moveOnDrag=!(h?Z.altKey:Z.ctrlKey)),ue}function Fu(k,K,Z,re){f?setTimeout(F(Hn,k),0):k.curOp.focus=R();var ue=Vu(k,Z,re),Fe=k.doc.sel,gt;k.options.dragDrop&&ht&&!k.isReadOnly()&&Z=="single"&&(gt=Fe.contains(K))>-1&&(it((gt=Fe.ranges[gt]).from(),K)<0||K.xRel>0)&&(it(gt.to(),K)>0||K.xRel<0)?ec(k,re,K,ue):Xu(k,re,K,ue)}function ec(k,K,Z,re){var ue=k.display,Fe=!1,gt=bo(k,function(fr){o&&(ue.scroller.draggable=!1),k.state.draggingText=!1,ze(ue.wrapper.ownerDocument,"mouseup",gt),ze(ue.wrapper.ownerDocument,"mousemove",Wt),ze(ue.scroller,"dragstart",sr),ze(ue.scroller,"drop",gt),Fe||(Be(fr),re.addNew||fs(k.doc,Z,null,null,re.extend),o&&!e||f&&c==9?setTimeout(function(){ue.wrapper.ownerDocument.body.focus({preventScroll:!0}),ue.input.focus()},20):ue.input.focus())}),Wt=function(wn){Fe=Fe||Math.abs(K.clientX-wn.clientX)+Math.abs(K.clientY-wn.clientY)>=10},sr=function(){return Fe=!0};o&&(ue.scroller.draggable=!0),k.state.draggingText=gt,gt.copy=!re.moveOnDrag,ue.scroller.dragDrop&&ue.scroller.dragDrop(),Ce(ue.wrapper.ownerDocument,"mouseup",gt),Ce(ue.wrapper.ownerDocument,"mousemove",Wt),Ce(ue.scroller,"dragstart",sr),Ce(ue.scroller,"drop",gt),Bn(k),setTimeout(function(){return ue.input.focus()},20)}function Bu(k,K,Z){if(Z=="char")return new ie(K,K);if(Z=="word")return k.findWordAt(K);if(Z=="line")return new ie(Rt(K.line,0),pt(k.doc,Rt(K.line+1,0)));var re=Z(k,K);return new ie(re.from,re.to)}function Xu(k,K,Z,re){var ue=k.display,Fe=k.doc;Be(K);var gt,Wt,sr=Fe.sel,fr=sr.ranges;if(re.addNew&&!re.extend?(Wt=Fe.sel.contains(Z),Wt>-1?gt=fr[Wt]:gt=new ie(Z,Z)):(gt=Fe.sel.primary(),Wt=Fe.sel.primIndex),re.unit=="rectangle")re.addNew||(gt=new ie(Z,Z)),Z=Ja(k,K,!0,!0),Wt=-1;else{var wn=Bu(k,Z,re.unit);re.extend?gt=Hs(gt,wn.anchor,wn.head,re.extend):gt=wn}re.addNew?Wt==-1?(Wt=fr.length,Zo(Fe,pe(k,fr.concat([gt]),Wt),{scroll:!1,origin:"*mouse"})):fr.length>1&&fr[Wt].empty()&&re.unit=="char"&&!re.extend?(Zo(Fe,pe(k,fr.slice(0,Wt).concat(fr.slice(Wt+1)),0),{scroll:!1,origin:"*mouse"}),sr=Fe.sel):Ss(Fe,Wt,gt,ae):(Wt=0,Zo(Fe,new At([gt],0),ae),sr=Fe.sel);var Rn=Z;function ei(xa){if(it(Rn,xa)==0)return;if(Rn=xa,re.unit=="rectangle"){for(var Ma=[],To=k.options.tabSize,no=W(Le(Fe,Z.line).text,Z.ch,To),Wo=W(Le(Fe,xa.line).text,xa.ch,To),ps=Math.min(no,Wo),Us=Math.max(no,Wo),Ts=Math.min(Z.line,xa.line),tl=Math.min(k.lastLine(),Math.max(Z.line,xa.line));Ts<=tl;Ts++){var ul=Le(Fe,Ts).text,Xs=Ie(ul,ps,To);ps==Us?Ma.push(new ie(Rt(Ts,Xs),Rt(Ts,Xs))):ul.length>Xs&&Ma.push(new ie(Rt(Ts,Xs),Rt(Ts,Ie(ul,Us,To))))}Ma.length||Ma.push(new ie(Z,Z)),Zo(Fe,pe(k,sr.ranges.slice(0,Wt).concat(Ma),Wt),{origin:"*mouse",scroll:!1}),k.scrollIntoView(xa)}else{var cl=gt,rl=Bu(k,xa,re.unit),ya=cl.anchor,Ms;it(rl.anchor,ya)>0?(Ms=rl.head,ya=_t(cl.from(),rl.anchor)):(Ms=rl.anchor,ya=Bt(cl.to(),rl.head));var Ls=sr.ranges.slice(0);Ls[Wt]=Gu(k,new ie(pt(Fe,ya),Ms)),Zo(Fe,pe(k,Ls,Wt),ae)}}var ni=ue.wrapper.getBoundingClientRect(),Mi=0;function Zi(xa){var Ma=++Mi,To=Ja(k,xa,!0,re.unit=="rectangle");if(!To)return;if(it(To,Rn)!=0){k.curOp.focus=R(),ei(To);var no=ki(ue,Fe);(To.line>=no.to||To.lineni.bottom?20:0;Wo&&setTimeout(bo(k,function(){if(Mi!=Ma)return;ue.scroller.scrollTop+=Wo,Zi(xa)}),50)}}function da(xa){k.state.selectingText=!1,Mi=Infinity,xa&&(Be(xa),ue.input.focus()),ze(ue.wrapper.ownerDocument,"mousemove",ia),ze(ue.wrapper.ownerDocument,"mouseup",na),Fe.history.lastSelOrigin=null}var ia=bo(k,function(xa){xa.buttons===0||!q(xa)?da(xa):Zi(xa)}),na=bo(k,da);k.state.selectingText=na,Ce(ue.wrapper.ownerDocument,"mousemove",ia),Ce(ue.wrapper.ownerDocument,"mouseup",na)}function Gu(k,K){var Z=K.anchor,re=K.head,ue=Le(k.doc,Z.line);if(it(Z,re)==0&&Z.sticky==re.sticky)return K;var Fe=lt(ue);if(!Fe)return K;var gt=Ee(Fe,Z.ch,Z.sticky),Wt=Fe[gt];if(Wt.from!=Z.ch&&Wt.to!=Z.ch)return K;var sr=gt+(Wt.from==Z.ch==(Wt.level!=1)?0:1);if(sr==0||sr==Fe.length)return K;var fr;if(re.line!=Z.line)fr=(re.line-Z.line)*(k.doc.direction=="ltr"?1:-1)>0;else{var wn=Ee(Fe,re.ch,re.sticky),Rn=wn-gt||(re.ch-Z.ch)*(Wt.level==1?-1:1);wn==sr-1||wn==sr?fr=Rn<0:fr=Rn>0}var ei=Fe[sr+(fr?-1:0)],ni=fr==(ei.level==1),Mi=ni?ei.from:ei.to,Zi=ni?"after":"before";return Z.ch==Mi&&Z.sticky==Zi?K:new ie(new Rt(Z.line,Mi,Zi),re)}function Yu(k,K,Z,re){var ue,Fe;if(K.touches)ue=K.touches[0].clientX,Fe=K.touches[0].clientY;else try{ue=K.clientX,Fe=K.clientY}catch(ei){return!1}if(ue>=Math.floor(k.display.gutters.getBoundingClientRect().right))return!1;re&&Be(K);var gt=k.display,Wt=gt.lineDiv.getBoundingClientRect();if(Fe>Wt.bottom||!Ot(k,Z))return G(K);Fe-=Wt.top-gt.viewOffset;for(var sr=0;sr=ue){var wn=Ar(k.doc,Fe),Rn=k.display.gutterSpecs[sr];return at(k,Z,k,wn,Rn.className,K),G(K)}}}function Uu(k,K){return Yu(k,K,"gutterClick",!0)}function _u(k,K){if(Ln(k.display,K)||Ul(k,K))return;if(Ct(k,K,"contextmenu"))return;E||k.display.input.onContextMenu(K)}function Ul(k,K){return Ot(k,"gutterContextMenu")?Yu(k,K,"gutterContextMenu",!1):!1}function Iu(k){k.display.wrapper.className=k.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+k.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ga(k)}var Wl={toString:function(){return"CodeMirror.Init"}},Su={},ve={};function We(k){var K=k.optionHandlers;function Z(re,ue,Fe,gt){k.defaults[re]=ue,Fe&&(K[re]=gt?function(Wt,sr,fr){fr!=Wl&&Fe(Wt,sr,fr)}:Fe)}k.defineOption=Z,k.Init=Wl,Z("value","",function(re,ue){return re.setValue(ue)},!0),Z("mode",null,function(re,ue){re.doc.modeOption=ue,hn(re)},!0),Z("indentUnit",2,hn,!0),Z("indentWithTabs",!1),Z("smartIndent",!0),Z("tabSize",4,function(re){Kn(re),ga(re),ha(re)},!0),Z("lineSeparator",null,function(re,ue){if(re.doc.lineSep=ue,!ue)return;var Fe=[],gt=re.doc.first;re.doc.iter(function(sr){for(var fr=0;;){var wn=sr.text.indexOf(ue,fr);if(wn==-1)break;fr=wn+ue.length,Fe.push(Rt(gt,wn))}gt++});for(var Wt=Fe.length-1;Wt>=0;Wt--)hl(re.doc,ue,Fe[Wt],Rt(Fe[Wt].line,Fe[Wt].ch+ue.length))}),Z("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(re,ue,Fe){re.state.specialChars=new RegExp(ue.source+(ue.test(" ")?"":"| "),"g"),Fe!=Wl&&re.refresh()}),Z("specialCharPlaceholder",ti,function(re){return re.refresh()},!0),Z("electricChars",!0),Z("inputStyle",u?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Z("spellcheck",!1,function(re,ue){return re.getInputField().spellcheck=ue},!0),Z("autocorrect",!1,function(re,ue){return re.getInputField().autocorrect=ue},!0),Z("autocapitalize",!1,function(re,ue){return re.getInputField().autocapitalize=ue},!0),Z("rtlMoveVisually",!m),Z("wholeLineUpdateBefore",!0),Z("theme","default",function(re){Iu(re),Jo(re)},!0),Z("keyMap","default",function(re,ue,Fe){var gt=Rs(ue),Wt=Fe!=Wl&&Rs(Fe);Wt&&Wt.detach&&Wt.detach(re,gt),gt.attach&>.attach(re,Wt||null)}),Z("extraKeys",null),Z("configureMouse",null),Z("lineWrapping",!1,nr,!0),Z("gutters",[],function(re,ue){re.display.gutterSpecs=vo(ue,re.options.lineNumbers),Jo(re)},!0),Z("fixedGutter",!0,function(re,ue){re.display.gutters.style.left=ue?Ga(re.display)+"px":"0",re.refresh()},!0),Z("coverGutterNextToScrollbar",!1,function(re){return eo(re)},!0),Z("scrollbarStyle","native",function(re){cs(re),eo(re),re.display.scrollbars.setScrollTop(re.doc.scrollTop),re.display.scrollbars.setScrollLeft(re.doc.scrollLeft)},!0),Z("lineNumbers",!1,function(re,ue){re.display.gutterSpecs=vo(re.options.gutters,ue),Jo(re)},!0),Z("firstLineNumber",1,Jo,!0),Z("lineNumberFormatter",function(re){return re},Jo,!0),Z("showCursorWhenSelecting",!1,Vr,!0),Z("resetSelectionOnContextMenu",!0),Z("lineWiseCopyCut",!0),Z("pasteLinesPerSelection",!0),Z("selectionsMayTouch",!1),Z("readOnly",!1,function(re,ue){ue=="nocursor"&&(Yn(re),re.display.input.blur()),re.display.input.readOnlyChanged(ue)}),Z("screenReaderLabel",null,function(re,ue){ue=ue===""?null:ue,re.display.input.screenReaderLabelChanged(ue)}),Z("disableInput",!1,function(re,ue){ue||re.display.input.reset()},!0),Z("dragDrop",!0,mt),Z("allowDropFileTypes",null),Z("cursorBlinkRate",530),Z("cursorScrollMargin",0),Z("cursorHeight",1,Vr,!0),Z("singleCursorHeightPerLine",!0,Vr,!0),Z("workTime",100),Z("workDelay",100),Z("flattenSpans",!0,Kn,!0),Z("addModeClass",!1,Kn,!0),Z("pollInterval",100),Z("undoDepth",200,function(re,ue){return re.doc.history.undoDepth=ue}),Z("historyEventDelay",1250),Z("viewportMargin",10,function(re){return re.refresh()},!0),Z("maxHighlightLength",1e4,Kn,!0),Z("moveInputWithCursor",!0,function(re,ue){ue||re.display.input.resetPosition()}),Z("tabindex",null,function(re,ue){return re.display.input.getField().tabIndex=ue||""}),Z("autofocus",null),Z("direction","ltr",function(re,ue){return re.doc.setDirection(ue)},!0),Z("phrases",null)}function mt(k,K,Z){var re=Z&&Z!=Wl;if(!K!=!re){var ue=k.display.dragFunctions,Fe=K?Ce:ze;Fe(k.display.scroller,"dragstart",ue.start),Fe(k.display.scroller,"dragenter",ue.enter),Fe(k.display.scroller,"dragover",ue.over),Fe(k.display.scroller,"dragleave",ue.leave),Fe(k.display.scroller,"drop",ue.drop)}}function nr(k){k.options.lineWrapping?(B(k.display.wrapper,"CodeMirror-wrap"),k.display.sizer.style.minWidth="",k.display.sizerWidth=null):(w(k.display.wrapper,"CodeMirror-wrap"),vn(k)),go(k),ha(k),ga(k),setTimeout(function(){return eo(k)},100)}function Tr(k,K){var Z=this;if(!(this instanceof Tr))return new Tr(k,K);this.options=K=K?j(K):{},j(Su,K,!1);var re=K.value;typeof re=="string"?re=new Ys(re,K.mode,null,K.lineSeparator,K.direction):K.mode&&(re.modeOption=K.mode),this.doc=re;var ue=new Tr.inputStyles[K.inputStyle](this),Fe=this.display=new ts(k,re,ue,K);Fe.wrapper.CodeMirror=this,Iu(this),K.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),cs(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 V,keySeq:null,specialChars:null},K.autofocus&&!u&&Fe.input.focus(),f&&c<11&&setTimeout(function(){return Z.display.input.reset(!0)},20),zr(this),iu(),Lo(this),this.curOp.forceUpdate=!0,Fi(this,re),K.autofocus&&!u||this.hasFocus()?setTimeout(function(){Z.hasFocus()&&!Z.state.focused&&ri(Z)},20):Yn(this);for(var gt in ve)ve.hasOwnProperty(gt)&&ve[gt](this,K[gt],Wl);vs(this),K.finishInit&&K.finishInit(this);for(var Wt=0;Wt20*20}Ce(K.scroller,"touchstart",function(sr){if(!Ct(k,sr)&&!Fe(sr)&&!Uu(k,sr)){K.input.ensurePolled(),clearTimeout(Z);var fr=+new Date;K.activeTouch={start:fr,moved:!1,prev:fr-re.end<=300?re:null},sr.touches.length==1&&(K.activeTouch.left=sr.touches[0].pageX,K.activeTouch.top=sr.touches[0].pageY)}}),Ce(K.scroller,"touchmove",function(){K.activeTouch&&(K.activeTouch.moved=!0)}),Ce(K.scroller,"touchend",function(sr){var fr=K.activeTouch;if(fr&&!Ln(K,sr)&&fr.left!=null&&!fr.moved&&new Date-fr.start<300){var wn=k.coordsChar(K.activeTouch,"page"),Rn;!fr.prev||gt(fr,fr.prev)?Rn=new ie(wn,wn):!fr.prev.prev||gt(fr,fr.prev.prev)?Rn=k.findWordAt(wn):Rn=new ie(Rt(wn.line,0),pt(k.doc,Rt(wn.line+1,0))),k.setSelection(Rn.anchor,Rn.head),k.focus(),Be(sr)}ue()}),Ce(K.scroller,"touchcancel",ue),Ce(K.scroller,"scroll",function(){K.scroller.clientHeight&&(qi(k,K.scroller.scrollTop),ma(k,K.scroller.scrollLeft,!0),at(k,"scroll",k))}),Ce(K.scroller,"mousewheel",function(sr){return zn(k,sr)}),Ce(K.scroller,"DOMMouseScroll",function(sr){return zn(k,sr)}),Ce(K.wrapper,"scroll",function(){return K.wrapper.scrollTop=K.wrapper.scrollLeft=0}),K.dragFunctions={enter:function(fr){Ct(k,fr)||Pe(fr)},over:function(fr){Ct(k,fr)||(du(k,fr),Pe(fr))},start:function(fr){return Pl(k,fr)},drop:bo(k,fl),leave:function(fr){Ct(k,fr)||ru(k)}};var Wt=K.input.getField();Ce(Wt,"keyup",function(sr){return ml.call(k,sr)}),Ce(Wt,"keydown",bo(k,Ol)),Ce(Wt,"keypress",bo(k,Al)),Ce(Wt,"focus",function(sr){return ri(k,sr)}),Ce(Wt,"blur",function(sr){return Yn(k,sr)})}var Me=[];Tr.defineInitHook=function(k){return Me.push(k)};function ee(k,K,Z,re){var ue=k.doc,Fe;Z==null&&(Z="add"),Z=="smart"&&(ue.mode.indent?Fe=Pn(k,K).state:Z="prev");var gt=k.options.tabSize,Wt=Le(ue,K),sr=W(Wt.text,null,gt);Wt.stateAfter&&(Wt.stateAfter=null);var fr=Wt.text.match(/^\s*/)[0],wn;if(!re&&!/\S/.test(Wt.text))wn=0,Z="not";else if(Z=="smart"&&(wn=ue.mode.indent(Fe,Wt.text.slice(fr.length),Wt.text),wn==$||wn>150)){if(!re)return;Z="prev"}Z=="prev"?K>ue.first?wn=W(Le(ue,K-1).text,null,gt):wn=0:Z=="add"?wn=sr+k.options.indentUnit:Z=="subtract"?wn=sr-k.options.indentUnit:typeof Z=="number"&&(wn=sr+Z),wn=Math.max(0,wn);var Rn="",ei=0;if(k.options.indentWithTabs)for(var ni=Math.floor(wn/gt);ni;--ni)ei+=gt,Rn+=" ";if(eigt,sr=Zr(K),fr=null;if(Wt&&re.ranges.length>1)if(ye&&ye.text.join(` `)==K){if(re.ranges.length%ye.text.length==0){fr=[];for(var wn=0;wn=0;ei--){var ni=re.ranges[ei],Mi=ni.from(),Zi=ni.to();ni.empty()&&(Z&&Z>0?Mi=Rt(Mi.line,Mi.ch-Z):k.state.overwrite&&!Wt?Zi=Rt(Zi.line,Math.min(Le(Fe,Zi.line).text.length,Zi.ch+me(sr).length)):Wt&&ye&&ye.lineWise&&ye.text.join(` `)==sr.join(` `)&&(Mi=Zi=Rt(Mi.line,0)));var da={from:Mi,to:Zi,text:fr?fr[ei%fr.length]:sr,origin:ue||(Wt?"paste":k.state.cutIncoming>gt?"cut":"+input")};rs(k.doc,da),wr(k,"inputRead",k,da)}K&&!Wt&&zt(k,K),sa(k),k.curOp.updateInput<2&&(k.curOp.updateInput=Rn),k.curOp.typing=!0,k.state.pasteIncoming=k.state.cutIncoming=-1}function Ft(k,K){var Z=k.clipboardData&&k.clipboardData.getData("Text");if(Z)return k.preventDefault(),!K.isReadOnly()&&!K.options.disableInput&&ho(K,function(){return ot(K,Z,0,null,"paste")}),!0}function zt(k,K){if(!k.options.electricChars||!k.options.smartIndent)return;for(var Z=k.doc.sel,re=Z.ranges.length-1;re>=0;re--){var ue=Z.ranges[re];if(ue.head.ch>100||re&&Z.ranges[re-1].head.line==ue.head.line)continue;var Fe=k.getModeAt(ue.head),gt=!1;if(Fe.electricChars){for(var Wt=0;Wt-1){gt=ee(k,ue.head.line,"smart");break}}else Fe.electricInput&&(Fe.electricInput.test(Le(k.doc,ue.head.line).text.slice(0,ue.head.ch))&&(gt=ee(k,ue.head.line,"smart")));gt&&wr(k,"electricInput",k,ue.head.line)}}function Yt(k){for(var K=[],Z=[],re=0;reFe&&(ee(this,Wt.head.line,re,!0),Fe=Wt.head.line,gt==this.doc.sel.primIndex&&sa(this));else{var sr=Wt.from(),fr=Wt.to(),wn=Math.max(Fe,sr.line);Fe=Math.min(this.lastLine(),fr.line-(fr.ch?0:1))+1;for(var Rn=wn;Rn0&&Ss(this.doc,gt,new ie(sr,ei[gt].to()),ce)}}}),getTokenAt:function(ue,Fe){return Ii(this,ue,Fe)},getLineTokens:function(ue,Fe){return Ii(this,Rt(ue),Fe,!0)},getTokenTypeAt:function(ue){ue=pt(this.doc,ue);var Fe=$r(this,Le(this.doc,ue.line)),gt=0,Wt=(Fe.length-1)/2,sr=ue.ch,fr;if(sr==0)fr=Fe[2];else for(;;){var wn=gt+Wt>>1;if((wn?Fe[wn*2-1]:0)>=sr)Wt=wn;else if(Fe[wn*2+1]fr&&(ue=fr,Wt=!0),sr=Le(this.doc,ue)}else sr=ue;return Da(this,sr,{top:0,left:0},Fe||"page",gt||Wt).top+(Wt?this.doc.height-yr(sr):0)},defaultTextHeight:function(){return qa(this.display)},defaultCharWidth:function(){return oo(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ue,Fe,gt,Wt,sr){var fr=this.display;ue=ja(this,pt(this.doc,ue));var wn=ue.bottom,Rn=ue.left;if(Fe.style.position="absolute",Fe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Fe),fr.sizer.appendChild(Fe),Wt=="over")wn=ue.top;else if(Wt=="above"||Wt=="near"){var ei=Math.max(fr.wrapper.clientHeight,this.doc.height),ni=Math.max(fr.sizer.clientWidth,fr.lineSpace.clientWidth);(Wt=="above"||ue.bottom+Fe.offsetHeight>ei)&&ue.top>Fe.offsetHeight?wn=ue.top-Fe.offsetHeight:ue.bottom+Fe.offsetHeight<=ei&&(wn=ue.bottom),Rn+Fe.offsetWidth>ni&&(Rn=ni-Fe.offsetWidth)}Fe.style.top=wn+"px",Fe.style.left=Fe.style.right="",sr=="right"?(Rn=fr.sizer.clientWidth-Fe.offsetWidth,Fe.style.right="0px"):(sr=="left"?Rn=0:sr=="middle"&&(Rn=(fr.sizer.clientWidth-Fe.offsetWidth)/2),Fe.style.left=Rn+"px"),gt&&Aa(this,{left:Rn,top:wn,right:Rn+Fe.offsetWidth,bottom:wn+Fe.offsetHeight})},triggerOnKeyDown:ds(Ol),triggerOnKeyPress:ds(Al),triggerOnKeyUp:ml,triggerOnMouseDown:ds(uu),execCommand:function(ue){if(Kl.hasOwnProperty(ue))return Kl[ue].call(null,this)},triggerElectric:ds(function(re){zt(this,re)}),findPosH:function(ue,Fe,gt,Wt){var sr=1;Fe<0&&(sr=-1,Fe=-Fe);for(var fr=pt(this.doc,ue),wn=0;wn0&&Rn(gt.charAt(Wt-1));)--Wt;for(;sr.5||this.options.lineWrapping)&&go(this),at(this,"refresh",this)}),swapDoc:ds(function(re){var ue=this.doc;return ue.cm=null,this.state.selectingText&&this.state.selectingText(),Fi(this,re),ga(this),this.display.input.reset(),fa(this,re.scrollLeft,re.scrollTop),this.curOp.forceScroll=!0,wr(this,"swapDoc",this,ue),ue}),phrase:function(ue){var Fe=this.options.phrases;return Fe&&Object.prototype.hasOwnProperty.call(Fe,ue)?Fe[ue]:ue},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}},Nt(k),k.registerHelper=function(re,ue,Fe){Z.hasOwnProperty(re)||(Z[re]=k[re]={_global:[]}),Z[re][ue]=Fe},k.registerGlobalHelper=function(re,ue,Fe,gt){k.registerHelper(re,ue,gt),Z[re]._global.push({pred:Fe,val:gt})}}function Er(k,K,Z,re,ue){var Fe=K,gt=Z,Wt=Le(k,K.line),sr=ue&&k.direction=="rtl"?-Z:Z;function fr(){var na=K.line+sr;return na=k.first+k.size?!1:(K=new Rt(na,K.ch,K.sticky),Wt=Le(k,na))}function wn(na){var xa;if(re=="codepoint"){var Ma=Wt.text.charCodeAt(K.ch+(re>0?0:-1));isNaN(Ma)?xa=null:xa=new Rt(K.line,Math.max(0,Math.min(Wt.text.length,K.ch+Z*(Ma>=55296&&Ma<56320?2:1))),-Z)}else ue?xa=Gl(k.cm,Wt,K,Z):xa=wu(Wt,K,Z);if(xa==null)if(!na&&fr())K=fu(ue,k.cm,Wt,K.line,sr);else return!1;else K=xa;return!0}if(re=="char"||re=="codepoint")wn();else if(re=="column")wn(!0);else if(re=="word"||re=="group")for(var Rn=null,ei=re=="group",ni=k.cm&&k.cm.getHelper(K,"wordChars"),Mi=!0;!(Z<0&&!wn(!Mi));Mi=!1){var Zi=Wt.text.charAt(K.ch)||` `,da=X(Zi,ni)?"w":ei&&Zi==` `?"n":!ei||/\s/.test(Zi)?null:"p";if(ei&&!Mi&&!da&&(da="s"),Rn&&Rn!=da){Z<0&&(Z=1,wn(),K.sticky="after");break}if(da&&(Rn=da),Z>0&&!wn(!Mi))break}var ia=Eo(k,K,Fe,gt,!0);return st(Fe,ia)&&(ia.hitSide=!0),ia}function Kr(k,K,Z,re){var ue=k.doc,Fe=K.left,gt;if(re=="page"){var Wt=Math.min(k.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),sr=Math.max(Wt-.5*qa(k.display),3);gt=(Z>0?K.bottom:K.top)+Z*sr}else re=="line"&&(gt=Z>0?K.bottom+3:K.top-3);for(var fr;!(fr=Va(k,Fe,gt),!fr.outside);){if(Z<0?gt<=0:gt>=ue.height){fr.hitSide=!0;break}gt+=Z*5}return fr}var qr=function(K){this.cm=K,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};qr.prototype.init=function(k){var K=this,Z=this,re=Z.cm,ue=Z.div=k.lineDiv;Nr(ue,re.options.spellcheck,re.options.autocorrect,re.options.autocapitalize);function Fe(Wt){for(var sr=Wt.target;sr;sr=sr.parentNode){if(sr==ue)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(sr.className))break}return!1}Ce(ue,"paste",function(Wt){if(!Fe(Wt)||Ct(re,Wt)||Ft(Wt,re))return;c<=11&&setTimeout(bo(re,function(){return K.updateFromDOM()}),20)}),Ce(ue,"compositionstart",function(Wt){K.composing={data:Wt.data,done:!1}}),Ce(ue,"compositionupdate",function(Wt){K.composing||(K.composing={data:Wt.data,done:!1})}),Ce(ue,"compositionend",function(Wt){K.composing&&(Wt.data!=K.composing.data&&K.readFromDOMSoon(),K.composing.done=!0)}),Ce(ue,"touchstart",function(){return Z.forceCompositionEnd()}),Ce(ue,"input",function(){K.composing||K.readFromDOMSoon()});function gt(Wt){if(!Fe(Wt)||Ct(re,Wt))return;if(re.somethingSelected())Xe({lineWise:!1,text:re.getSelections()}),Wt.type=="cut"&&re.replaceSelection("",null,"cut");else if(re.options.lineWiseCopyCut){var sr=Yt(re);Xe({lineWise:!0,text:sr.text}),Wt.type=="cut"&&re.operation(function(){re.setSelections(sr.ranges,0,ce),re.replaceSelection("",null,"cut")})}else return;if(Wt.clipboardData){Wt.clipboardData.clearData();var fr=ye.text.join(` `);if(Wt.clipboardData.setData("Text",fr),Wt.clipboardData.getData("Text")==fr){Wt.preventDefault();return}}var wn=Qr(),Rn=wn.firstChild;re.display.lineSpace.insertBefore(wn,re.display.lineSpace.firstChild),Rn.value=ye.text.join(` `);var ei=document.activeElement;U(Rn),setTimeout(function(){re.display.lineSpace.removeChild(wn),ei.focus(),ei==ue&&Z.showPrimarySelection()},50)}Ce(ue,"copy",gt),Ce(ue,"cut",gt)},qr.prototype.screenReaderLabelChanged=function(k){k?this.div.setAttribute("aria-label",k):this.div.removeAttribute("aria-label")},qr.prototype.prepareSelection=function(){var k=_r(this.cm,!1);return k.focus=document.activeElement==this.div,k},qr.prototype.showSelection=function(k,K){if(!k||!this.cm.display.view.length)return;(k.focus||K)&&this.showPrimarySelection(),this.showMultipleSelections(k)},qr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},qr.prototype.showPrimarySelection=function(){var k=this.getSelection(),K=this.cm,Z=K.doc.sel.primary(),re=Z.from(),ue=Z.to();if(K.display.viewTo==K.display.viewFrom||re.line>=K.display.viewTo||ue.line=K.display.viewFrom&&Cn(K,re)||{node:Wt[0].measure.map[2],offset:0},fr=ue.linek.firstLine()&&(re=Rt(re.line-1,Le(k.doc,re.line-1).length)),ue.ch==Le(k.doc,ue.line).text.length&&ue.lineK.viewTo-1)return!1;var Fe,gt,Wt;re.line==K.viewFrom||(Fe=Fa(k,re.line))==0?(gt=Dt(K.view[0].line),Wt=K.view[0].node):(gt=Dt(K.view[Fe].line),Wt=K.view[Fe-1].node.nextSibling);var sr=Fa(k,ue.line),fr,wn;if(sr==K.view.length-1?(fr=K.viewTo-1,wn=K.lineDiv.lastChild):(fr=Dt(K.view[sr+1].line)-1,wn=K.view[sr+1].node.previousSibling),!Wt)return!1;for(var Rn=k.doc.splitLines(ji(k,Wt,wn,gt,fr)),ei=Ze(k.doc,Rt(gt,0),Rt(fr,Le(k.doc,fr).text.length));Rn.length>1&&ei.length>1;)if(me(Rn)==me(ei))Rn.pop(),ei.pop(),fr--;else if(Rn[0]==ei[0])Rn.shift(),ei.shift(),gt++;else break;for(var ni=0,Mi=0,Zi=Rn[0],da=ei[0],ia=Math.min(Zi.length,da.length);nire.ch&&na.charCodeAt(na.length-Mi-1)==xa.charCodeAt(xa.length-Mi-1);)ni--,Mi++;Rn[Rn.length-1]=na.slice(0,na.length-Mi).replace(/^\u200b+/,""),Rn[0]=Rn[0].slice(ni).replace(/\u200b+$/,"");var To=Rt(gt,ni),no=Rt(fr,ei.length?me(ei).length-Mi:0);if(Rn.length>1||Rn[0]||it(To,no))return hl(k.doc,Rn,To,no,"+input"),!0},qr.prototype.ensurePolled=function(){this.forceCompositionEnd()},qr.prototype.reset=function(){this.forceCompositionEnd()},qr.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},qr.prototype.readFromDOMSoon=function(){var k=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(k.readDOMTimeout=null,k.composing)if(k.composing.done)k.composing=null;else return;k.updateFromDOM()},80)},qr.prototype.updateFromDOM=function(){var k=this;(this.cm.isReadOnly()||!this.pollContent())&&ho(this.cm,function(){return ha(k.cm)})},qr.prototype.setUneditable=function(k){k.contentEditable="false"},qr.prototype.onKeyPress=function(k){if(k.charCode==0||this.composing)return;k.preventDefault(),this.cm.isReadOnly()||bo(this.cm,ot)(this.cm,String.fromCharCode(k.charCode==null?k.keyCode:k.charCode),0)},qr.prototype.readOnlyChanged=function(k){this.div.contentEditable=String(k!="nocursor")},qr.prototype.onContextMenu=function(){},qr.prototype.resetPosition=function(){},qr.prototype.needsContentAttribute=!0;function Cn(k,K){var Z=Ti(k,K.line);if(!Z||Z.hidden)return null;var re=Le(k.doc,K.line),ue=xi(Z,re,K.line),Fe=lt(re,k.doc.direction),gt="left";if(Fe){var Wt=Ee(Fe,K.ch);gt=Wt%2?"right":"left"}var sr=ua(ue.map,K.ch,gt);return sr.offset=sr.collapse=="right"?sr.end:sr.start,sr}function oi(k){for(var K=k;K;K=K.parentNode)if(/CodeMirror-gutter-wrapper/.test(K.className))return!0;return!1}function hi(k,K){return K&&(k.bad=!0),k}function ji(k,K,Z,re,ue){var Fe="",gt=!1,Wt=k.doc.lineSeparator(),sr=!1;function fr(ni){return function(Mi){return Mi.id==ni}}function wn(){gt&&(Fe+=Wt,sr&&(Fe+=Wt),gt=sr=!1)}function Rn(ni){ni&&(wn(),Fe+=ni)}function ei(ni){if(ni.nodeType==1){var Mi=ni.getAttribute("cm-text");if(Mi){Rn(Mi);return}var Zi=ni.getAttribute("cm-marker"),da;if(Zi){var ia=k.findMarks(Rt(re,0),Rt(ue+1,0),fr(+Zi));ia.length&&(da=ia[0].find(0))&&Rn(Ze(k.doc,da.from,da.to).join(Wt));return}if(ni.getAttribute("contenteditable")=="false")return;var na=/^(pre|div|p|li|table|br)$/i.test(ni.nodeName);if(!/^br$/i.test(ni.nodeName)&&ni.textContent.length==0)return;na&&wn();for(var xa=0;xa=9&&K.hasSelection&&(K.hasSelection=null),Z.poll()}),Ce(ue,"paste",function(gt){if(Ct(re,gt)||Ft(gt,re))return;re.state.pasteIncoming=+new Date,Z.fastPoll()});function Fe(gt){if(Ct(re,gt))return;if(re.somethingSelected())Xe({lineWise:!1,text:re.getSelections()});else if(re.options.lineWiseCopyCut){var Wt=Yt(re);Xe({lineWise:!0,text:Wt.text}),gt.type=="cut"?re.setSelections(Wt.ranges,null,ce):(Z.prevInput="",ue.value=Wt.text.join(` `),U(ue))}else return;gt.type=="cut"&&(re.state.cutIncoming=+new Date)}Ce(ue,"cut",Fe),Ce(ue,"copy",Fe),Ce(k.scroller,"paste",function(gt){if(Ln(k,gt)||Ct(re,gt))return;if(!ue.dispatchEvent){re.state.pasteIncoming=+new Date,Z.focus();return}var Wt=new Event("paste");Wt.clipboardData=gt.clipboardData,ue.dispatchEvent(Wt)}),Ce(k.lineSpace,"selectstart",function(gt){Ln(k,gt)||Be(gt)}),Ce(ue,"compositionstart",function(){var gt=re.getCursor("from");Z.composing&&Z.composing.range.clear(),Z.composing={start:gt,range:re.markText(gt,re.getCursor("to"),{className:"CodeMirror-composing"})}}),Ce(ue,"compositionend",function(){Z.composing&&(Z.poll(),Z.composing.range.clear(),Z.composing=null)})},Qi.prototype.createField=function(k){this.wrapper=Qr(),this.textarea=this.wrapper.firstChild},Qi.prototype.screenReaderLabelChanged=function(k){k?this.textarea.setAttribute("aria-label",k):this.textarea.removeAttribute("aria-label")},Qi.prototype.prepareSelection=function(){var k=this.cm,K=k.display,Z=k.doc,re=_r(k);if(k.options.moveInputWithCursor){var ue=ja(k,Z.sel.primary().head,"div"),Fe=K.wrapper.getBoundingClientRect(),gt=K.lineDiv.getBoundingClientRect();re.teTop=Math.max(0,Math.min(K.wrapper.clientHeight-10,ue.top+gt.top-Fe.top)),re.teLeft=Math.max(0,Math.min(K.wrapper.clientWidth-10,ue.left+gt.left-Fe.left))}return re},Qi.prototype.showSelection=function(k){var K=this.cm,Z=K.display;_(Z.cursorDiv,k.cursors),_(Z.selectionDiv,k.selection),k.teTop!=null&&(this.wrapper.style.top=k.teTop+"px",this.wrapper.style.left=k.teLeft+"px")},Qi.prototype.reset=function(k){if(this.contextMenuPending||this.composing)return;var K=this.cm;if(K.somethingSelected()){this.prevInput="";var Z=K.getSelection();this.textarea.value=Z,K.state.focused&&U(this.textarea),f&&c>=9&&(this.hasSelection=Z)}else k||(this.prevInput=this.textarea.value="",f&&c>=9&&(this.hasSelection=null))},Qi.prototype.getField=function(){return this.textarea},Qi.prototype.supportsTouch=function(){return!1},Qi.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!u||R()!=this.textarea))try{this.textarea.focus()}catch(k){}},Qi.prototype.blur=function(){this.textarea.blur()},Qi.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Qi.prototype.receivedFocus=function(){this.slowPoll()},Qi.prototype.slowPoll=function(){var k=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){k.poll(),k.cm.state.focused&&k.slowPoll()})},Qi.prototype.fastPoll=function(){var k=!1,K=this;K.pollingFast=!0;function Z(){var re=K.poll();!re&&!k?(k=!0,K.polling.set(60,Z)):(K.pollingFast=!1,K.slowPoll())}K.polling.set(20,Z)},Qi.prototype.poll=function(){var k=this,K=this.cm,Z=this.textarea,re=this.prevInput;if(this.contextMenuPending||!K.state.focused||ir(Z)&&!re&&!this.composing||K.isReadOnly()||K.options.disableInput||K.state.keySeq)return!1;var ue=Z.value;if(ue==re&&!K.somethingSelected())return!1;if(f&&c>=9&&this.hasSelection===ue||h&&/[\uf700-\uf7ff]/.test(ue))return K.display.input.reset(),!1;if(K.doc.sel==K.display.selForContextMenu){var Fe=ue.charCodeAt(0);if(Fe==8203&&!re&&(re="\u200B"),Fe==8666)return this.reset(),this.cm.execCommand("undo")}for(var gt=0,Wt=Math.min(re.length,ue.length);gt1e3||ue.indexOf(` `)>-1?Z.value=k.prevInput="":k.prevInput=ue,k.composing&&(k.composing.range.clear(),k.composing.range=K.markText(k.composing.start,K.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Qi.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Qi.prototype.onKeyPress=function(){f&&c>=9&&(this.hasSelection=null),this.fastPoll()},Qi.prototype.onContextMenu=function(k){var K=this,Z=K.cm,re=Z.display,ue=K.textarea;K.contextMenuPending&&K.contextMenuPending();var Fe=Ja(Z,k),gt=re.scroller.scrollTop;if(!Fe||n)return;var Wt=Z.options.resetSelectionOnContextMenu;Wt&&Z.doc.sel.contains(Fe)==-1&&bo(Z,Zo)(Z.doc,be(Fe),ce);var sr=ue.style.cssText,fr=K.wrapper.style.cssText,wn=K.wrapper.offsetParent.getBoundingClientRect();K.wrapper.style.cssText="position: static",ue.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(k.clientY-wn.top-5)+"px; left: "+(k.clientX-wn.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 Rn;o&&(Rn=window.scrollY),re.input.focus(),o&&window.scrollTo(null,Rn),re.input.reset(),Z.somethingSelected()||(ue.value=K.prevInput=" "),K.contextMenuPending=ni,re.selForContextMenu=Z.doc.sel,clearTimeout(re.detectingSelectAll);function ei(){if(ue.selectionStart!=null){var Zi=Z.somethingSelected(),da="\u200B"+(Zi?ue.value:"");ue.value="\u21DA",ue.value=da,K.prevInput=Zi?"":"\u200B",ue.selectionStart=1,ue.selectionEnd=da.length,re.selForContextMenu=Z.doc.sel}}function ni(){if(K.contextMenuPending!=ni)return;if(K.contextMenuPending=!1,K.wrapper.style.cssText=fr,ue.style.cssText=sr,f&&c<9&&re.scrollbars.setScrollTop(re.scroller.scrollTop=gt),ue.selectionStart!=null){(!f||f&&c<9)&&ei();var Zi=0,da=function ia(){re.selForContextMenu==Z.doc.sel&&ue.selectionStart==0&&ue.selectionEnd>0&&K.prevInput=="\u200B"?bo(Z,$o)(Z):Zi++<10?re.detectingSelectAll=setTimeout(ia,500):(re.selForContextMenu=null,re.input.reset())};re.detectingSelectAll=setTimeout(da,200)}}if(f&&c>=9&&ei(),E){Pe(k);var Mi=function Zi(){ze(window,"mouseup",Zi),setTimeout(ni,20)};Ce(window,"mouseup",Mi)}else setTimeout(ni,50)},Qi.prototype.readOnlyChanged=function(k){k||this.reset(),this.textarea.disabled=k=="nocursor",this.textarea.readOnly=!!k},Qi.prototype.setUneditable=function(){},Qi.prototype.needsContentAttribute=!1;function Ua(k,K){if(K=K?j(K):{},K.value=k.value,!K.tabindex&&k.tabIndex&&(K.tabindex=k.tabIndex),!K.placeholder&&k.placeholder&&(K.placeholder=k.placeholder),K.autofocus==null){var Z=R();K.autofocus=Z==k||k.getAttribute("autofocus")!=null&&Z==document.body}function re(){k.value=Wt.getValue()}var ue;if(k.form&&(Ce(k.form,"submit",re),!K.leaveSubmitMethodAlone)){var Fe=k.form;ue=Fe.submit;try{var gt=Fe.submit=function(){re(),Fe.submit=ue,Fe.submit(),Fe.submit=gt}}catch(sr){}}K.finishInit=function(sr){sr.save=re,sr.getTextArea=function(){return k},sr.toTextArea=function(){sr.toTextArea=isNaN,re(),k.parentNode.removeChild(sr.getWrapperElement()),k.style.display="",k.form&&(ze(k.form,"submit",re),!K.leaveSubmitMethodAlone&&typeof k.form.submit=="function"&&(k.form.submit=ue))}},k.style.display="none";var Wt=Tr(function(sr){return k.parentNode.insertBefore(sr,k.nextSibling)},K);return Wt}function Sa(k){k.off=ze,k.on=Ce,k.wheelEventPixels=dn,k.Doc=Ys,k.splitLines=Zr,k.countColumn=W,k.findColumn=Ie,k.isWordChar=Y,k.Pass=$,k.signal=at,k.Line=Wn,k.changeEnd=He,k.scrollbarModel=jo,k.Pos=Rt,k.cmpPos=it,k.modes=dt,k.mimeModes=Hr,k.resolveMode=Vn,k.getMode=gi,k.modeExtensions=bn,k.extendMode=Mn,k.copyState=jt,k.startState=_e,k.innerMode=St,k.commands=Kl,k.keyMap=Tl,k.keyName=su,k.isModifierKey=ou,k.lookupKey=Cl,k.normalizeKeyMap=Cu,k.StringStream=Oe,k.SharedTextMarker=kl,k.TextMarker=$s,k.LineWidget=Gs,k.e_preventDefault=Be,k.e_stopPropagation=ne,k.e_stop=Pe,k.addClass=B,k.contains=D,k.rmClass=w,k.keyNames=bl}We(Tr),Cr(Tr);var So="iter insert remove copy getEditor constructor".split(" ");for(var Fo in Ys.prototype)Ys.prototype.hasOwnProperty(Fo)&&z(So,Fo)<0&&(Tr.prototype[Fo]=function(k){return function(){return k.apply(this.doc,arguments)}}(Ys.prototype[Fo]));return Nt(Ys),Tr.inputStyles={textarea:Qi,contenteditable:qr},Tr.defineMode=function(k){!Tr.defaults.mode&&k!="null"&&(Tr.defaults.mode=k),fn.apply(this,arguments)},Tr.defineMIME=Nn,Tr.defineMode("null",function(){return{token:function(K){return K.skipToEnd()}}}),Tr.defineMIME("text/plain","null"),Tr.defineExtension=function(k,K){Tr.prototype[k]=K},Tr.defineDocExtension=function(k,K){Ys.prototype[k]=K},Tr.fromTextArea=Ua,Sa(Tr),Tr.version="5.58.2",Tr})},Vy0f:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("iYpf"));function x(A){return A&&A.__esModule?A:{default:A}}var C=O;P.default=C,H.exports=C},W2nI:function(H,P,d){var O=d("IwbS"),x=d("ProS"),C=d("bYtY"),A=["itemStyle","opacity"],b=["emphasis","itemStyle","opacity"],g=["lineStyle","opacity"],f=["emphasis","lineStyle","opacity"];function c(s,t){return s.getVisual("opacity")||s.getModel().get(t)}function o(s,t,a){var l=s.getGraphicEl(),u=c(s,t);a!=null&&(u==null&&(u=1),u*=a),l.downplay&&l.downplay(),l.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",u)})}function r(s,t){var a=c(s,t),l=s.getGraphicEl();l.traverse(function(u){u.type!=="group"&&u.setStyle("opacity",a)}),l.highlight&&l.highlight()}var i=O.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(s,t){var a=t.extent;s.moveTo(t.x1,t.y1),s.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(s.lineTo(t.x2+a,t.y2),s.bezierCurveTo(t.cpx2+a,t.cpy2,t.cpx1+a,t.cpy1,t.x1+a,t.y1)):(s.lineTo(t.x2,t.y2+a),s.bezierCurveTo(t.cpx2,t.cpy2+a,t.cpx1,t.cpy1+a,t.x1,t.y1+a)),s.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),n=x.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(s,t,a){var l=this,u=s.getGraph(),h=this.group,p=s.layoutInfo,m=p.width,v=p.height,y=s.getData(),E=s.getData("edge"),T=s.get("orient");this._model=s,h.removeAll(),h.attr("position",[p.x,p.y]),u.eachEdge(function(w){var S=new i;S.dataIndex=w.dataIndex,S.seriesIndex=s.seriesIndex,S.dataType="edge";var _=w.getModel("lineStyle"),I=_.get("curveness"),L=w.node1.getLayout(),N=w.node1.getModel(),D=N.get("localX"),R=N.get("localY"),B=w.node2.getLayout(),M=w.node2.getModel(),U=M.get("localX"),F=M.get("localY"),j=w.getLayout(),W,V,z,J,$,ce,ae,Ae;S.shape.extent=Math.max(1,j.dy),S.shape.orient=T,T==="vertical"?(W=(D!=null?D*m:L.x)+j.sy,V=(R!=null?R*v:L.y)+L.dy,z=(U!=null?U*m:B.x)+j.ty,J=F!=null?F*v:B.y,$=W,ce=V*(1-I)+J*I,ae=z,Ae=V*I+J*(1-I)):(W=(D!=null?D*m:L.x)+L.dx,V=(R!=null?R*v:L.y)+j.sy,z=U!=null?U*m:B.x,J=(F!=null?F*v:B.y)+j.ty,$=W*(1-I)+z*I,ce=V,ae=W*I+z*(1-I),Ae=J),S.setShape({x1:W,y1:V,x2:z,y2:J,cpx1:$,cpy1:ce,cpx2:ae,cpy2:Ae}),S.setStyle(_.getItemStyle());switch(S.style.fill){case"source":S.style.fill=w.node1.getVisual("color");break;case"target":S.style.fill=w.node2.getVisual("color");break}O.setHoverStyle(S,w.getModel("emphasis.lineStyle").getItemStyle()),h.add(S),E.setItemGraphicEl(w.dataIndex,S)}),u.eachNode(function(w){var S=w.getLayout(),_=w.getModel(),I=_.get("localX"),L=_.get("localY"),N=_.getModel("label"),D=_.getModel("emphasis.label"),R=new O.Rect({shape:{x:I!=null?I*m:S.x,y:L!=null?L*v:S.y,width:S.dx,height:S.dy},style:_.getModel("itemStyle").getItemStyle()}),B=w.getModel("emphasis.itemStyle").getItemStyle();O.setLabelStyle(R.style,B,N,D,{labelFetcher:s,labelDataIndex:w.dataIndex,defaultText:w.id,isRectText:!0}),R.setStyle("fill",w.getVisual("color")),O.setHoverStyle(R,B),h.add(R),y.setItemGraphicEl(w.dataIndex,R),R.dataType="node"}),y.eachItemGraphicEl(function(w,S){var _=y.getItemModel(S);_.get("draggable")&&(w.drift=function(I,L){l._focusAdjacencyDisabled=!0,this.shape.x+=I,this.shape.y+=L,this.dirty(),a.dispatchAction({type:"dragNode",seriesId:s.id,dataIndex:y.getRawIndex(S),localX:this.shape.x/m,localY:this.shape.y/v})},w.ondragend=function(){l._focusAdjacencyDisabled=!1},w.draggable=!0,w.cursor="move"),w.highlight=function(){this.trigger("emphasis")},w.downplay=function(){this.trigger("normal")},w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),_.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){l._focusAdjacencyDisabled||(l._clearTimer(),a.dispatchAction({type:"focusNodeAdjacency",seriesId:s.id,dataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){l._focusAdjacencyDisabled||l._dispatchUnfocus(a)}))}),E.eachItemGraphicEl(function(w,S){var _=E.getItemModel(S);w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),_.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){l._focusAdjacencyDisabled||(l._clearTimer(),a.dispatchAction({type:"focusNodeAdjacency",seriesId:s.id,edgeDataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){l._focusAdjacencyDisabled||l._dispatchUnfocus(a)}))}),!this._data&&s.get("animation")&&h.setClipPath(e(h.getBoundingRect(),s,function(){h.removeClipPath()})),this._data=s.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(s){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,s.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(s,t,a,l){var u=s.getData(),h=u.graph,p=l.dataIndex,m=u.getItemModel(p),v=l.edgeDataIndex;if(p==null&&v==null)return;var y=h.getNodeByIndex(p),E=h.getEdgeByIndex(v);if(h.eachNode(function(w){o(w,A,.1)}),h.eachEdge(function(w){o(w,g,.1)}),y){r(y,b);var T=m.get("focusNodeAdjacency");T==="outEdges"?C.each(y.outEdges,function(w){if(w.dataIndex<0)return;r(w,f),r(w.node2,b)}):T==="inEdges"?C.each(y.inEdges,function(w){if(w.dataIndex<0)return;r(w,f),r(w.node1,b)}):T==="allEdges"&&C.each(y.edges,function(w){if(w.dataIndex<0)return;r(w,f),w.node1!==y&&r(w.node1,b),w.node2!==y&&r(w.node2,b)})}E&&(r(E,f),r(E.node1,b),r(E.node2,b))},unfocusNodeAdjacency:function(s,t,a,l){var u=s.getGraph();u.eachNode(function(h){o(h,A)}),u.eachEdge(function(h){o(h,g)})}});function e(s,t,a){var l=new O.Rect({shape:{x:s.x-10,y:s.y-10,width:0,height:s.height+20}});return O.initProps(l,{shape:{width:s.width+20}},t,a),l}H.exports=n},W4dC:function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("bYtY"),A=C.each,b=C.createHashMap,g=d("7DRL"),f=d("TIY9"),c=d("yS9w"),o=d("mFDi"),r={geoJSON:f,svg:c},i={load:function(t,a,l){var u=[],h=b(),p=b(),m,v=s(t);return A(v,function(y){var E=r[y.type].load(t,y,l);A(E.regions,function(w){var S=w.name;a&&a.hasOwnProperty(S)&&(w=w.cloneShallow(S=a[S])),u.push(w),h.set(S,w),p.set(S,w.center)});var T=E.boundingRect;T&&(m?m.union(T):m=T.clone())}),{regions:u,regionsMap:h,nameCoordMap:p,boundingRect:m||new o(0,0,0,0)}},makeGraphic:n("makeGraphic"),removeGraphic:n("removeGraphic")};function n(t){return function(a,l){var u=s(a),h=[];return A(u,function(p){var m=r[p.type][t];m&&h.push(m(a,p,l))}),h}}function e(t){}function s(t){var a=g.retrieveMap(t)||[];return a}H.exports=i},WGYa:function(H,P,d){var O=d("7yuC"),x=O.forceLayout,C=d("HF/U"),A=C.simpleLayout,b=d("lOQZ"),g=b.circularLayout,f=d("OELB"),c=f.linearMap,o=d("QBsz"),r=d("bYtY");function i(n){n.eachSeriesByType("graph",function(e){var s=e.coordinateSystem;if(s&&s.type!=="view")return;if(e.get("layout")==="force"){var t=e.preservedPoints||{},a=e.getGraph(),l=a.data,u=a.edgeData,h=e.getModel("force"),p=h.get("initLayout");e.preservedPoints?l.each(function(N){var D=l.getId(N);l.setItemLayout(N,t[D]||[NaN,NaN])}):!p||p==="none"?A(e):p==="circular"&&g(e,"value");var m=l.getDataExtent("value"),v=u.getDataExtent("value"),y=h.get("repulsion"),E=h.get("edgeLength");r.isArray(y)||(y=[y,y]),r.isArray(E)||(E=[E,E]),E=[E[1],E[0]];var T=l.mapArray("value",function(N,D){var R=l.getItemLayout(D),B=c(N,m,y);return isNaN(B)&&(B=(y[0]+y[1])/2),{w:B,rep:B,fixed:l.getItemModel(D).get("fixed"),p:!R||isNaN(R[0])||isNaN(R[1])?null:R}}),w=u.mapArray("value",function(N,D){var R=a.getEdgeByIndex(D),B=c(N,v,E);isNaN(B)&&(B=(E[0]+E[1])/2);var M=R.getModel();return{n1:T[R.node1.dataIndex],n2:T[R.node2.dataIndex],d:B,curveness:M.get("lineStyle.curveness")||0,ignoreForceLayout:M.get("ignoreForceLayout")}}),s=e.coordinateSystem,S=s.getBoundingRect(),_=x(T,w,{rect:S,gravity:h.get("gravity"),friction:h.get("friction")}),I=_.step;_.step=function(N){for(var D=0,R=T.length;De&&(i=r.finalize(i)),i.clamp();for(var s=this._oKey=i.clone(),t=this._iKey=i.clone(),a=s.words,l=t.words,u=0;u=0;I--)w[I]==null&&(delete S[T[I]],T.pop())}function n(E,T){var w=E.visual,S=[];O.isObject(w)?b(w,function(I){S.push(I)}):w!=null&&S.push(w);var _={color:1,symbol:1};!T&&S.length===1&&!_.hasOwnProperty(E.type)&&(S[1]=S[0]),p(E,S)}function e(E){return{applyVisual:function(T,w,S){T=this.mapValueToVisual(T),S("color",E(w("color"),T))},_doMap:u([0,1])}}function s(E){var T=this.option.visual;return T[Math.round(A(E,[0,1],[0,T.length-1],!0))]||{}}function t(E){return function(T,w,S){S(E,this.mapValueToVisual(T))}}function a(E){var T=this.option.visual;return T[this.option.loop&&E!==f?E%T.length:E]}function l(){return this.option.visual[0]}function u(E){return{linear:function(T){return A(T,E,this.option.visual,!0)},category:a,piecewise:function(T,w){var S=h.call(this,w);return S==null&&(S=A(T,E,this.option.visual,!0)),S},fixed:l}}function h(E){var T=this.option,w=T.pieceList;if(T.hasSpecialVisual){var S=c.findPieceIndex(E,w),_=w[S];if(_&&_.visual)return _.visual[this.type]}}function p(E,T){return E.visual=T,E.type==="color"&&(E.parsedVisual=O.map(T,function(w){return x.parse(w)})),T}var m={linear:function(E){return A(E,this.option.dataExtent,[0,1],!0)},piecewise:function(E){var T=this.option.pieceList,w=c.findPieceIndex(E,T,!0);if(w!=null)return A(w,[0,T.length-1],[0,1],!0)},category:function(E){var T=this.option.categories?this.option.categoryMap[E]:E;return T==null?f:T},fixed:O.noop};c.listVisualTypes=function(){var E=[];return O.each(o,function(T,w){E.push(w)}),E},c.addVisualHandler=function(E,T){o[E]=T},c.isValidType=function(E){return o.hasOwnProperty(E)},c.eachVisual=function(E,T,w){O.isObject(E)?O.each(E,T,w):T.call(w,E)},c.mapVisual=function(E,T,w){var S,_=O.isArray(E)?[]:O.isObject(E)?{}:(S=!0,null);return c.eachVisual(E,function(I,L){var N=T.call(w,I,L);S?_=N:_[L]=N}),_},c.retrieveVisuals=function(E){var T={},w;return E&&b(o,function(S,_){E.hasOwnProperty(_)&&(T[_]=E[_],w=!0)}),w?T:null},c.prepareVisualTypes=function(E){if(g(E)){var T=[];b(E,function(w,S){T.push(S)}),E=T}else if(O.isArray(E))E=E.slice();else return[];return E.sort(function(w,S){return S==="color"&&w!=="color"&&w.indexOf("color")===0?1:-1}),E},c.dependsOn=function(E,T){return T==="color"?!!(E&&E.indexOf(T)===0):E===T},c.findPieceIndex=function(E,T,w){for(var S,_=Infinity,I=0,L=T.length;I1&&arguments[1]!==void 0?arguments[1]:!1,_=w.getAttribute("id")||w.getAttribute("data-reactid")||w.getAttribute("name");if(S&&t[_])return t[_];var I=window.getComputedStyle(w),L=I.getPropertyValue("box-sizing")||I.getPropertyValue("-moz-box-sizing")||I.getPropertyValue("-webkit-box-sizing"),N=parseFloat(I.getPropertyValue("padding-bottom"))+parseFloat(I.getPropertyValue("padding-top")),D=parseFloat(I.getPropertyValue("border-bottom-width"))+parseFloat(I.getPropertyValue("border-top-width")),R=s.map(function(M){return"".concat(M,":").concat(I.getPropertyValue(M))}).join(";"),B={sizingStyle:R,paddingSize:N,borderSize:D,boxSizing:L};return S&&_&&(t[_]=B),B}function u(w){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;a||(a=document.createElement("textarea"),a.setAttribute("tab-index","-1"),a.setAttribute("aria-hidden","true"),document.body.appendChild(a)),w.getAttribute("wrap")?a.setAttribute("wrap",w.getAttribute("wrap")):a.removeAttribute("wrap");var L=l(w,S),N=L.paddingSize,D=L.borderSize,R=L.boxSizing,B=L.sizingStyle;a.setAttribute("style","".concat(B,";").concat(e)),a.value=w.value||w.placeholder||"";var M=Number.MIN_SAFE_INTEGER,U=Number.MAX_SAFE_INTEGER,F=a.scrollHeight,j;if(R==="border-box"?F+=D:R==="content-box"&&(F-=N),_!==null||I!==null){a.value=" ";var W=a.scrollHeight-N;_!==null&&(M=W*_,R==="border-box"&&(M=M+N+D),F=Math.max(M,F)),I!==null&&(U=W*I,R==="border-box"&&(U=U+N+D),j=F>U?"":"hidden",F=Math.min(U,F))}return{height:F,minHeight:M,maxHeight:U,overflowY:j,resize:"none"}}var h=d("Gytx"),p=d.n(h),m;(function(w){w[w.NONE=0]="NONE",w[w.RESIZING=1]="RESIZING",w[w.RESIZED=2]="RESIZED"})(m||(m={}));var v=function(w){Object(A.a)(_,w);var S=Object(b.a)(_);function _(I){var L;return Object(x.a)(this,_),L=S.call(this,I),L.nextFrameActionId=void 0,L.resizeFrameId=void 0,L.textArea=void 0,L.saveTextArea=function(N){L.textArea=N},L.handleResize=function(N){var D=L.state.resizeStatus,R=L.props,B=R.autoSize,M=R.onResize;if(D!==m.NONE)return;typeof M=="function"&&M(N),B&&L.resizeOnNextFrame()},L.resizeOnNextFrame=function(){cancelAnimationFrame(L.nextFrameActionId),L.nextFrameActionId=requestAnimationFrame(L.resizeTextarea)},L.resizeTextarea=function(){var N=L.props.autoSize;if(!N||!L.textArea)return;var D=N.minRows,R=N.maxRows,B=u(L.textArea,!1,D,R);L.setState({textareaStyles:B,resizeStatus:m.RESIZING},function(){cancelAnimationFrame(L.resizeFrameId),L.resizeFrameId=requestAnimationFrame(function(){L.setState({resizeStatus:m.RESIZED},function(){L.resizeFrameId=requestAnimationFrame(function(){L.setState({resizeStatus:m.NONE}),L.fixFirefoxAutoScroll()})})})})},L.renderTextArea=function(){var N=L.props,D=N.prefixCls,R=D===void 0?"rc-textarea":D,B=N.autoSize,M=N.onResize,U=N.className,F=N.disabled,j=L.state,W=j.textareaStyles,V=j.resizeStatus,z=Object(r.a)(L.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),J=n()(R,U,Object(c.a)({},"".concat(R,"-disabled"),F));"value"in z&&(z.value=z.value||"");var $=Object(f.a)(Object(f.a)(Object(f.a)({},L.props.style),W),V===m.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return g.createElement(o.a,{onResize:L.handleResize,disabled:!(B||M)},g.createElement("textarea",Object(O.a)({},z,{className:J,style:$,ref:L.saveTextArea})))},L.state={textareaStyles:{},resizeStatus:m.NONE},L}return Object(C.a)(_,[{key:"componentDidUpdate",value:function(L){(L.value!==this.props.value||!p()(L.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var L=this.textArea.selectionStart,N=this.textArea.selectionEnd;this.textArea.setSelectionRange(L,N)}}catch(D){}}},{key:"render",value:function(){return this.renderTextArea()}}]),_}(g.Component),y=v,E=function(w){Object(A.a)(_,w);var S=Object(b.a)(_);function _(I){var L;Object(x.a)(this,_),L=S.call(this,I),L.resizableTextArea=void 0,L.focus=function(){L.resizableTextArea.textArea.focus()},L.saveTextArea=function(D){L.resizableTextArea=D},L.handleChange=function(D){var R=L.props.onChange;L.setValue(D.target.value,function(){L.resizableTextArea.resizeTextarea()}),R&&R(D)},L.handleKeyDown=function(D){var R=L.props,B=R.onPressEnter,M=R.onKeyDown;D.keyCode===13&&B&&B(D),M&&M(D)};var N=typeof I.value=="undefined"||I.value===null?I.defaultValue:I.value;return L.state={value:N},L}return Object(C.a)(_,[{key:"setValue",value:function(L,N){"value"in this.props||this.setState({value:L},N)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return g.createElement(y,Object(O.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(L){return"value"in L?{value:L.value}:null}}]),_}(g.Component),T=P.default=E},YH21:function(H,P,d){var O=d("H6uX");P.Dispatcher=O;var x=d("ItGF"),C=d("Ze12"),A=C.isCanvasEl,b=C.transformCoordWithViewport,g=typeof window!="undefined"&&!!window.addEventListener,f=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[];function o(u,h,p,m){return p=p||{},m||!x.canvasSupported?r(u,h,p):x.browser.firefox&&h.layerX!=null&&h.layerX!==h.offsetX?(p.zrX=h.layerX,p.zrY=h.layerY):h.offsetX!=null?(p.zrX=h.offsetX,p.zrY=h.offsetY):r(u,h,p),p}function r(u,h,p){if(x.domSupported&&u.getBoundingClientRect){var m=h.clientX,v=h.clientY;if(A(u)){var y=u.getBoundingClientRect();p.zrX=m-y.left,p.zrY=v-y.top;return}else if(b(c,u,m,v)){p.zrX=c[0],p.zrY=c[1];return}}p.zrX=p.zrY=0}function i(u){return u||window.event}function n(u,h,p){if(h=i(h),h.zrX!=null)return h;var m=h.type,v=m&&m.indexOf("touch")>=0;if(!v)o(u,h,h,p),h.zrDelta=h.wheelDelta?h.wheelDelta/120:-(h.detail||0)/3;else{var y=m!=="touchend"?h.targetTouches[0]:h.changedTouches[0];y&&o(u,y,h,p)}var E=h.button;return h.which==null&&E!==void 0&&f.test(h.type)&&(h.which=E&1?1:E&2?3:E&4?2:0),h}function e(u,h,p,m){g?u.addEventListener(h,p,m):u.attachEvent("on"+h,p)}function s(u,h,p,m){g?u.removeEventListener(h,p,m):u.detachEvent("on"+h,p)}var t=g?function(u){u.preventDefault(),u.stopPropagation(),u.cancelBubble=!0}:function(u){u.returnValue=!1,u.cancelBubble=!0};function a(u){return u.which===2||u.which===3}function l(u){return u.which>1}P.clientToLocal=o,P.getNativeEvent=i,P.normalizeEvent=n,P.addEventListener=e,P.removeEventListener=s,P.stop=t,P.isMiddleOrRightButtonOnMouseUpDown=a,P.notLeftMouse=l},YJ9k:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;function O(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function x(b,g){for(var f=0;f0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[fe].sort(m)}}]),xe}();function m(xe,le){var fe=xe.node.sortableInfo.index,Ee=le.node.sortableInfo.index;return fe-Ee}function v(xe,le,fe){return xe=xe.slice(),xe.splice(fe<0?xe.length+fe:fe,0,xe.splice(le,1)[0]),xe}function y(xe,le){return Object.keys(xe).reduce(function(fe,Ee){return le.indexOf(Ee)===-1&&(fe[Ee]=xe[Ee]),fe},{})}var E={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var xe=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],le=(Array.prototype.slice.call(xe).join("").match(/-(moz|webkit|ms)-/)||xe.OLink===""&&["","o"])[1];switch(le){case"ms":return"ms";default:return le&&le.length?le[0].toUpperCase()+le.substr(1):""}}();function w(xe,le){Object.keys(le).forEach(function(fe){xe.style[fe]=le[fe]})}function S(xe,le){xe.style["".concat(T,"Transform")]=le==null?"":"translate3d(".concat(le.x,"px,").concat(le.y,"px,0)")}function _(xe,le){xe.style["".concat(T,"TransitionDuration")]=le==null?"":"".concat(le,"ms")}function I(xe,le){for(;xe;){if(le(xe))return xe;xe=xe.parentNode}return null}function L(xe,le,fe){return Math.max(xe,Math.min(fe,le))}function N(xe){return xe.substr(-2)==="px"?parseFloat(xe):0}function D(xe){var le=window.getComputedStyle(xe);return{bottom:N(le.marginBottom),left:N(le.marginLeft),right:N(le.marginRight),top:N(le.marginTop)}}function R(xe,le){var fe=le.displayName||le.name;return fe?"".concat(xe,"(").concat(fe,")"):xe}function B(xe,le){var fe=xe.getBoundingClientRect();return{top:fe.top+le.top,left:fe.left+le.left}}function M(xe){return xe.touches&&xe.touches.length?{x:xe.touches[0].pageX,y:xe.touches[0].pageY}:xe.changedTouches&&xe.changedTouches.length?{x:xe.changedTouches[0].pageX,y:xe.changedTouches[0].pageY}:{x:xe.pageX,y:xe.pageY}}function U(xe){return xe.touches&&xe.touches.length||xe.changedTouches&&xe.changedTouches.length}function F(xe,le){var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!xe)return;var Ee={left:fe.left+xe.offsetLeft,top:fe.top+xe.offsetTop};return xe.parentNode===le?Ee:F(xe.parentNode,le,Ee)}function j(xe,le,fe){return xele?xe-1:xe>fe&&xe0&&fe[Je].height>0){var Ce=lt.getContext("2d");Ce.drawImage(fe[Je],0,0)}}),Ee}function Ie(xe){var le,fe,Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=le=function(Ge){Object(c.a)(lt,Ge);function lt(){return Object(A.a)(this,lt),Object(g.a)(this,Object(f.a)(lt).apply(this,arguments))}return Object(b.a)(lt,[{key:"componentDidMount",value:function(){var Ce=Object(t.findDOMNode)(this);Ce.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return u()(Ee.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 Ce=Ee.withRef?"wrappedInstance":null;return Object(i.createElement)(xe,Object(O.a)({ref:Ce},this.props))}}]),lt}(i.Component),Object(r.a)(le,"displayName",R("sortableHandle",xe)),fe}function De(xe){return xe.sortableHandle!=null}var Ke=function(){function xe(le,fe){Object(A.a)(this,xe),this.container=le,this.onScrollCallback=fe}return Object(b.a)(xe,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(fe){var Ee=this,Ge=fe.translate,lt=fe.minTranslate,Je=fe.maxTranslate,Ce=fe.width,et=fe.height,ze={x:0,y:0},at={x:1,y:1},Ct={x:10,y:10},Tt=this.container,Ot=Tt.scrollTop,Nt=Tt.scrollLeft,Be=Tt.scrollHeight,ne=Tt.scrollWidth,G=Tt.clientHeight,Pe=Tt.clientWidth,Ne=Ot===0,q=Be-Ot-G===0,ht=Nt===0,Pt=ne-Nt-Pe===0;Ge.y>=Je.y-et/2&&!q?(ze.y=1,at.y=Ct.y*Math.abs((Je.y-et/2-Ge.y)/et)):Ge.x>=Je.x-Ce/2&&!Pt?(ze.x=1,at.x=Ct.x*Math.abs((Je.x-Ce/2-Ge.x)/Ce)):Ge.y<=lt.y+et/2&&!Ne?(ze.y=-1,at.y=Ct.y*Math.abs((Ge.y-et/2-lt.y)/et)):Ge.x<=lt.x+Ce/2&&!ht&&(ze.x=-1,at.x=Ct.x*Math.abs((Ge.x-Ce/2-lt.x)/Ce)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(ze.x!==0||ze.y!==0)&&(this.interval=setInterval(function(){Ee.isAutoScrolling=!0;var ct={left:at.x*ze.x,top:at.y*ze.y};Ee.container.scrollTop+=ct.top,Ee.container.scrollLeft+=ct.left,Ee.onScrollCallback(ct)},5))}}]),xe}();function me(xe){var le=xe.node;return{height:le.offsetHeight,width:le.offsetWidth}}function Ue(xe){var le=[ae.Input,ae.Textarea,ae.Select,ae.Option,ae.Button];return le.indexOf(xe.target.tagName)!==-1?!0:!!I(xe.target,function(fe){return fe.contentEditable==="true"})}var oe={axis:s.a.oneOf(["x","y","xy"]),contentWindow:s.a.any,disableAutoscroll:s.a.bool,distance:s.a.number,getContainer:s.a.func,getHelperDimensions:s.a.func,helperClass:s.a.string,helperContainer:s.a.oneOfType([s.a.func,typeof HTMLElement=="undefined"?s.a.any:s.a.instanceOf(HTMLElement)]),hideSortableGhost:s.a.bool,keyboardSortingTransitionDuration:s.a.number,lockAxis:s.a.string,lockOffset:s.a.oneOfType([s.a.number,s.a.string,s.a.arrayOf(s.a.oneOfType([s.a.number,s.a.string]))]),lockToContainerEdges:s.a.bool,onSortEnd:s.a.func,onSortMove:s.a.func,onSortOver:s.a.func,onSortStart:s.a.func,pressDelay:s.a.number,pressThreshold:s.a.number,keyCodes:s.a.shape({lift:s.a.arrayOf(s.a.number),drop:s.a.arrayOf(s.a.number),cancel:s.a.arrayOf(s.a.number),up:s.a.arrayOf(s.a.number),down:s.a.arrayOf(s.a.number)}),shouldCancelStart:s.a.func,transitionDuration:s.a.number,updateBeforeSortStart:s.a.func,useDragHandle:s.a.bool,useWindowAsScrollContainer:s.a.bool},te={lift:[ce.SPACE],drop:[ce.SPACE],cancel:[ce.ESC],up:[ce.UP,ce.LEFT],down:[ce.DOWN,ce.RIGHT]},Qe={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:me,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:te,shouldCancelStart:Ue,transitionDuration:300,useWindowAsScrollContainer:!1},se=Object.keys(oe);function Y(xe){u()(!(xe.distance&&xe.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 X(xe,le){try{var fe=xe()}catch(Ee){return le(!0,Ee)}return fe&&fe.then?fe.then(le.bind(null,!1),le.bind(null,!0)):le(!1,value)}function Q(xe){var le,fe,Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=le=function(Ge){Object(c.a)(lt,Ge);function lt(Je){var Ce;return Object(A.a)(this,lt),Ce=Object(g.a)(this,Object(f.a)(lt).call(this,Je)),Object(r.a)(Object(o.a)(Object(o.a)(Ce)),"state",{}),Object(r.a)(Object(o.a)(Object(o.a)(Ce)),"handleStart",function(et){var ze=Ce.props,at=ze.distance,Ct=ze.shouldCancelStart;if(et.button===2||Ct(et))return;Ce.touched=!0,Ce.position=M(et);var Tt=I(et.target,function(Pe){return Pe.sortableInfo!=null});if(Tt&&Tt.sortableInfo&&Ce.nodeIsChild(Tt)&&!Ce.state.sorting){var Ot=Ce.props.useDragHandle,Nt=Tt.sortableInfo,Be=Nt.index,ne=Nt.collection,G=Nt.disabled;if(G)return;if(Ot&&!I(et.target,De))return;Ce.manager.active={collection:ne,index:Be},!U(et)&&et.target.tagName===ae.Anchor&&et.preventDefault(),at||(Ce.props.pressDelay===0?Ce.handlePress(et):Ce.pressTimer=setTimeout(function(){return Ce.handlePress(et)},Ce.props.pressDelay))}}),Object(r.a)(Object(o.a)(Object(o.a)(Ce)),"nodeIsChild",function(et){return et.sortableInfo.manager===Ce.manager}),Object(r.a)(Object(o.a)(Object(o.a)(Ce)),"handleMove",function(et){var ze=Ce.props,at=ze.distance,Ct=ze.pressThreshold;if(!Ce.state.sorting&&Ce.touched&&!Ce._awaitingUpdateBeforeSortStart){var Tt=M(et),Ot={x:Ce.position.x-Tt.x,y:Ce.position.y-Tt.y},Nt=Math.abs(Ot.x)+Math.abs(Ot.y);Ce.delta=Ot,!at&&(!Ct||Nt>=Ct)?(clearTimeout(Ce.cancelTimer),Ce.cancelTimer=setTimeout(Ce.cancel,0)):at&&Nt>=at&&Ce.manager.isActive()&&Ce.handlePress(et)}}),Object(r.a)(Object(o.a)(Object(o.a)(Ce)),"handleEnd",function(){Ce.touched=!1,Ce.cancel()}),Object(r.a)(Object(o.a)(Object(o.a)(Ce)),"cancel",function(){var et=Ce.props.distance,ze=Ce.state.sorting;ze||(et||clearTimeout(Ce.pressTimer),Ce.manager.active=null)}),Object(r.a)(Object(o.a)(Object(o.a)(Ce)),"handlePress",function(et){try{var ze=Ce.manager.getActive(),at=function(){if(ze){var Ct=function(){var or=q.sortableInfo.index,Zr=D(q),ir=$(Ce.container),dr=Ce.scrollContainer.getBoundingClientRect(),er=Nt({index:or,node:q,collection:ht});if(Ce.node=q,Ce.margin=Zr,Ce.gridGap=ir,Ce.width=er.width,Ce.height=er.height,Ce.marginOffset={x:Ce.margin.left+Ce.margin.right+Ce.gridGap.x,y:Math.max(Ce.margin.top,Ce.margin.bottom,Ce.gridGap.y)},Ce.boundingClientRect=q.getBoundingClientRect(),Ce.containerBoundingRect=dr,Ce.index=or,Ce.newIndex=or,Ce.axis={x:Ot.indexOf("x")>=0,y:Ot.indexOf("y")>=0},Ce.offsetEdge=F(q,Ce.container),Pt?Ce.initialOffset=M(Object(C.a)({},et,{pageX:Ce.boundingClientRect.left,pageY:Ce.boundingClientRect.top})):Ce.initialOffset=M(et),Ce.initialScroll={left:Ce.scrollContainer.scrollLeft,top:Ce.scrollContainer.scrollTop},Ce.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Ce.helper=Ce.helperContainer.appendChild(Ae(q)),w(Ce.helper,{boxSizing:"border-box",height:"".concat(Ce.height,"px"),left:"".concat(Ce.boundingClientRect.left-Zr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Ce.boundingClientRect.top-Zr.top,"px"),width:"".concat(Ce.width,"px")}),Pt&&Ce.helper.focus(),ne&&(Ce.sortableGhost=q,w(q,{opacity:0,visibility:"hidden"})),Ce.minTranslate={},Ce.maxTranslate={},Pt){var Kt=Ne?{top:0,left:0,width:Ce.contentWindow.innerWidth,height:Ce.contentWindow.innerHeight}:Ce.containerBoundingRect,dt=Kt.top,Hr=Kt.left,fn=Kt.width,Nn=Kt.height,Vn=dt+Nn,gi=Hr+fn;Ce.axis.x&&(Ce.minTranslate.x=Hr-Ce.boundingClientRect.left,Ce.maxTranslate.x=gi-(Ce.boundingClientRect.left+Ce.width)),Ce.axis.y&&(Ce.minTranslate.y=dt-Ce.boundingClientRect.top,Ce.maxTranslate.y=Vn-(Ce.boundingClientRect.top+Ce.height))}else Ce.axis.x&&(Ce.minTranslate.x=(Ne?0:dr.left)-Ce.boundingClientRect.left-Ce.width/2,Ce.maxTranslate.x=(Ne?Ce.contentWindow.innerWidth:dr.left+dr.width)-Ce.boundingClientRect.left-Ce.width/2),Ce.axis.y&&(Ce.minTranslate.y=(Ne?0:dr.top)-Ce.boundingClientRect.top-Ce.height/2,Ce.maxTranslate.y=(Ne?Ce.contentWindow.innerHeight:dr.top+dr.height)-Ce.boundingClientRect.top-Ce.height/2);Be&&Be.split(" ").forEach(function(bn){return Ce.helper.classList.add(bn)}),Ce.listenerNode=et.touches?q:Ce.contentWindow,Pt?(Ce.listenerNode.addEventListener("wheel",Ce.handleKeyEnd,!0),Ce.listenerNode.addEventListener("mousedown",Ce.handleKeyEnd,!0),Ce.listenerNode.addEventListener("keydown",Ce.handleKeyDown)):(E.move.forEach(function(bn){return Ce.listenerNode.addEventListener(bn,Ce.handleSortMove,!1)}),E.end.forEach(function(bn){return Ce.listenerNode.addEventListener(bn,Ce.handleSortEnd,!1)})),Ce.setState({sorting:!0,sortingIndex:or}),Pe&&Pe({node:q,index:or,collection:ht,isKeySorting:Pt,nodes:Ce.manager.getOrderedRefs(),helper:Ce.helper},et),Pt&&Ce.keyMove(0)},Tt=Ce.props,Ot=Tt.axis,Nt=Tt.getHelperDimensions,Be=Tt.helperClass,ne=Tt.hideSortableGhost,G=Tt.updateBeforeSortStart,Pe=Tt.onSortStart,Ne=Tt.useWindowAsScrollContainer,q=ze.node,ht=ze.collection,Pt=Ce.manager.isKeySorting,ct=function(){if(typeof G=="function"){Ce._awaitingUpdateBeforeSortStart=!0;var Gt=X(function(){var or=q.sortableInfo.index;return Promise.resolve(G({collection:ht,index:or,node:q,isKeySorting:Pt},et)).then(function(){})},function(or,Zr){if(Ce._awaitingUpdateBeforeSortStart=!1,or)throw Zr;return Zr});if(Gt&&Gt.then)return Gt.then(function(){})}}();return ct&&ct.then?ct.then(Ct):Ct(ct)}}();return Promise.resolve(at&&at.then?at.then(function(){}):void 0)}catch(Ct){return Promise.reject(Ct)}}),Object(r.a)(Object(o.a)(Object(o.a)(Ce)),"handleSortMove",function(et){var ze=Ce.props.onSortMove;typeof et.preventDefault=="function"&&et.preventDefault(),Ce.updateHelperPosition(et),Ce.animateNodes(),Ce.autoscroll(),ze&&ze(et)}),Object(r.a)(Object(o.a)(Object(o.a)(Ce)),"handleSortEnd",function(et){var ze=Ce.props,at=ze.hideSortableGhost,Ct=ze.onSortEnd,Tt=Ce.manager,Ot=Tt.active.collection,Nt=Tt.isKeySorting,Be=Ce.manager.getOrderedRefs();Ce.listenerNode&&(Nt?(Ce.listenerNode.removeEventListener("wheel",Ce.handleKeyEnd,!0),Ce.listenerNode.removeEventListener("mousedown",Ce.handleKeyEnd,!0),Ce.listenerNode.removeEventListener("keydown",Ce.handleKeyDown)):(E.move.forEach(function(q){return Ce.listenerNode.removeEventListener(q,Ce.handleSortMove)}),E.end.forEach(function(q){return Ce.listenerNode.removeEventListener(q,Ce.handleSortEnd)}))),Ce.helper.parentNode.removeChild(Ce.helper),at&&Ce.sortableGhost&&w(Ce.sortableGhost,{opacity:"",visibility:""});for(var ne=0,G=Be.length;neat)return;Ce.prevIndex=Tt,Ce.newIndex=Ct;var Ot=j(Ce.newIndex,Ce.prevIndex,Ce.index),Nt=ze.find(function(Pt){var ct=Pt.node;return ct.sortableInfo.index===Ot}),Be=Nt.node,ne=Ce.containerScrollDelta,G=Nt.boundingClientRect||B(Be,ne),Pe=Nt.translate||{x:0,y:0},Ne={top:G.top+Pe.y-ne.top,left:G.left+Pe.x-ne.left},q=TtPt?Pt/2:this.height/2,width:this.width>ht?ht/2:this.width/2},Gt=Be&&q>this.index&&q<=ne,or=Be&&q=ne,Zr={x:0,y:0},ir=Ot[G].edgeOffset;ir||(ir=F(Ne,this.container),Ot[G].edgeOffset=ir,Be&&(Ot[G].boundingClientRect=B(Ne,Ct)));var dr=G0&&Ot[G-1];if(dr&&!dr.edgeOffset&&(dr.edgeOffset=F(dr.node,this.container),Be&&(dr.boundingClientRect=B(dr.node,Ct))),q===this.index){ze&&(this.sortableGhost=Ne,w(Ne,{opacity:0,visibility:"hidden"}));continue}et&&_(Ne,et),this.axis.x?this.axis.y?or||qthis.containerBoundingRect.width-ct.width&&(dr&&(Zr.x=dr.edgeOffset.left-ir.left,Zr.y=dr.edgeOffset.top-ir.top)),this.newIndex===null&&(this.newIndex=q)):(Gt||q>this.index&&(Nt.left+Tt.left+ct.width>=ir.left&&Nt.top+Tt.top+ct.height>=ir.top||Nt.top+Tt.top+ct.height>=ir.top+Pt))&&(Zr.x=-(this.width+this.marginOffset.x),ir.left+Zr.xthis.index&&Nt.left+Tt.left+ct.width>=ir.left?(Zr.x=-(this.width+this.marginOffset.x),this.newIndex=q):(or||qthis.index&&Nt.top+Tt.top+ct.height>=ir.top?(Zr.y=-(this.height+this.marginOffset.y),this.newIndex=q):(or||q1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=le=function(Ge){Object(c.a)(lt,Ge);function lt(){return Object(A.a)(this,lt),Object(g.a)(this,Object(f.a)(lt).apply(this,arguments))}return Object(b.a)(lt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Ce){this.node&&(Ce.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Ce.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Ce.collection!==this.props.collection&&(this.unregister(Ce.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Ce=this.props,et=Ce.collection,ze=Ce.disabled,at=Ce.index,Ct=Object(t.findDOMNode)(this);Ct.sortableInfo={collection:et,disabled:ze,index:at,manager:this.context.manager},this.node=Ct,this.ref={node:Ct},this.context.manager.add(et,this.ref)}},{key:"unregister",value:function(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Ce,this.ref)}},{key:"getWrappedInstance",value:function(){return u()(Ee.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 Ce=Ee.withRef?"wrappedInstance":null;return Object(i.createElement)(xe,Object(O.a)({ref:Ce},y(this.props,de)))}}]),lt}(i.Component),Object(r.a)(le,"displayName",R("sortableElement",xe)),Object(r.a)(le,"contextTypes",{manager:s.a.object.isRequired}),Object(r.a)(le,"propTypes",ge),Object(r.a)(le,"defaultProps",{collection:0}),fe}},YNAk:function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("QyFq")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="CaretDownFilled";var c=A.forwardRef(f);P.default=c},YNf1:function(H,P,d){var O=d("IwbS"),x=d("6Ic6"),C=.3,A=x.extend({type:"parallel",init:function(){this._dataGroup=new O.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(n,e,s,t){var a=this._dataGroup,l=n.getData(),u=this._data,h=n.coordinateSystem,p=h.dimensions,m=c(n);l.diff(u).add(v).update(y).remove(E).execute();function v(w){var S=f(l,a,w,p,h);o(S,l,w,m)}function y(w,S){var _=u.getItemGraphicEl(S),I=g(l,w,p,h);l.setItemGraphicEl(w,_);var L=t&&t.animation===!1?null:n;O.updateProps(_,{shape:{points:I}},L,w),o(_,l,w,m)}function E(w){var S=u.getItemGraphicEl(w);a.remove(S)}if(!this._initialized){this._initialized=!0;var T=b(h,n,function(){setTimeout(function(){a.removeClipPath()})});a.setClipPath(T)}this._data=l},incrementalPrepareRender:function(n,e,s){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(n,e,s){for(var t=e.getData(),a=e.coordinateSystem,l=a.dimensions,u=c(e),h=n.start;h65535?u:p}function v(z){var J=z.constructor;return J===Array?z.slice():new J(z)}var y=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],E=["_extent","_approximateExtent","_rawExtent"];function T(z,J){C.each(y.concat(J.__wrappedMethods||[]),function($){J.hasOwnProperty($)&&(z[$]=J[$])}),z.__wrappedMethods=J.__wrappedMethods,C.each(E,function($){z[$]=C.clone(J[$])}),z._calculationInfo=C.extend(J._calculationInfo)}var w=function(z,J){z=z||["x","y"];for(var $={},ce=[],ae={},Ae=0;Aede[1]&&(de[1]=ge)}J&&(this._nameList[Qe]=J[se])}this._rawCount=this._count=Ke,this._extent={},I(this)},S._initDataFromProvider=function(z,J){if(z>=J)return;for(var $=this._chunkSize,ce=this._rawData,ae=this._storage,Ae=this.dimensions,Ie=Ae.length,De=this._dimensionInfos,Ke=this._nameList,me=this._idList,Ue=this._rawExtent,oe=this._nameRepeatCount={},te,Qe=this._chunkCount,se=0;seEe[1]&&(Ee[1]=fe)}if(!ce.pure){var Ge=Ke[ge];if(Q&&Ge==null){if(Q.name!=null)Ke[ge]=Ge=Q.name;else if(te!=null){var lt=Ae[te],Je=ae[lt][de];if(Je){Ge=Je[Te];var Ce=De[lt].ordinalMeta;Ce&&Ce.categories.length&&(Ge=Ce.categories[Ge])}}}var et=Q==null?null:Q.id;et==null&&Ge!=null&&(oe[Ge]=oe[Ge]||0,et=Ge,oe[Ge]>0&&(et+="__ec__"+oe[Ge]),oe[Ge]++),et!=null&&(me[ge]=et)}}!ce.persistent&&ce.clean&&ce.clean(),this._rawCount=this._count=J,this._extent={},I(this)};function _(z,J,$,ce,ae){var Ae=l[J.type],Ie=ce-1,De=J.name,Ke=z[De][Ie];if(Ke&&Ke.length<$){for(var me=new Ae(Math.min(ae-Ie*$,$)),Ue=0;Ue=0&&J=0&&JDe&&(De=me)}return Ae=[Ie,De],this._extent[z]=Ae,Ae},S.getApproximateExtent=function(z){return z=this.getDimension(z),this._approximateExtent[z]||this.getDataExtent(z)},S.setApproximateExtent=function(z,J){J=this.getDimension(J),this._approximateExtent[J]=z.slice()},S.getCalculationInfo=function(z){return this._calculationInfo[z]},S.setCalculationInfo=function(z,J){e(z)?C.extend(this._calculationInfo,z):this._calculationInfo[z]=J},S.getSum=function(z){var J=this._storage[z],$=0;if(J)for(var ce=0,ae=this.count();ce=this._rawCount||z<0)return-1;if(!this._indices)return z;var J=this._indices,$=J[z];if($!=null&&$z)ae=Ae-1;else return Ae}return-1},S.indicesOfNearest=function(z,J,$){var ce=this._storage,ae=ce[z],Ae=[];if(!ae)return Ae;$==null&&($=Infinity);for(var Ie=Infinity,De=-1,Ke=0,me=0,Ue=this.count();me=0&&De<0)&&(Ie=te,De=oe,Ke=0),oe===De&&(Ae[Ke++]=me))}return Ae.length=Ke,Ae},S.getRawIndex=N;function N(z){return z}function D(z){return z=0?this._indices[z]:-1}S.getRawDataItem=function(z){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(z));for(var J=[],$=0;$=me&&ge<=Ue||isNaN(ge))&&(Ie[De++]=te),te++}oe=!0}else if(ce===2){for(var Qe=this._storage[Ke],de=this._storage[J[1]],Te=z[J[1]][0],xe=z[J[1]][1],se=0;se=me&&ge<=Ue||isNaN(ge))&&(fe>=Te&&fe<=xe||isNaN(fe))&&(Ie[De++]=te),te++}oe=!0}}if(!oe)if(ce===1)for(var Q=0;Q=me&&ge<=Ue||isNaN(ge))&&(Ie[De++]=Ee)}else for(var Q=0;Qz[lt][1])&&(Ge=!1)}Ge&&(Ie[De++]=this.getRawIndex(Q))}return De=0?(ae[De]=F(Ae[De]),ce._rawExtent[De]=j(),ce._extent[De]=null):ae[De]=Ae[De])}return ce}function F(z){for(var J=new Array(z.length),$=0;$xe[1]&&(xe[1]=Te)}}}return ae},S.downSample=function(z,J,$,ce){for(var ae=U(this,[z]),Ae=ae._storage,Ie=[],De=Math.floor(1/J),Ke=Ae[z],me=this.count(),Ue=this._chunkSize,oe=ae._rawExtent[z],te=new(m(this))(me),Qe=0,se=0;seme-se&&(De=me-se,Ie.length=De);for(var Y=0;Yoe[1]&&(oe[1]=de),te[Qe++]=Te}return ae._count=Qe,ae._indices=te,ae.getRawIndex=D,ae},S.getItemModel=function(z){var J=this.hostModel;return new A(this.getRawDataItem(z),J,J&&J.ecModel)},S.diff=function(z){var J=this;return new b(z?z.getIndices():[],this.getIndices(),function($){return R(z,$)},function($){return R(J,$)})},S.getVisual=function(z){var J=this._visual;return J&&J[z]},S.setVisual=function(z,J){if(e(z)){for(var $ in z)z.hasOwnProperty($)&&this.setVisual($,z[$]);return}this._visual=this._visual||{},this._visual[z]=J},S.setLayout=function(z,J){if(e(z)){for(var $ in z)z.hasOwnProperty($)&&this.setLayout($,z[$]);return}this._layout[z]=J},S.getLayout=function(z){return this._layout[z]},S.getItemLayout=function(z){return this._itemLayouts[z]},S.setItemLayout=function(z,J,$){this._itemLayouts[z]=$?C.extend(this._itemLayouts[z]||{},J):J},S.clearItemLayouts=function(){this._itemLayouts.length=0},S.getItemVisual=function(z,J,$){var ce=this._itemVisuals[z],ae=ce&&ce[J];return ae==null&&!$?this.getVisual(J):ae},S.setItemVisual=function(z,J,$){var ce=this._itemVisuals[z]||{},ae=this.hasItemVisual;if(this._itemVisuals[z]=ce,e(J)){for(var Ae in J)J.hasOwnProperty(Ae)&&(ce[Ae]=J[Ae],ae[Ae]=!0);return}ce[J]=$,ae[J]=!0},S.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var W=function(z){z.seriesIndex=this.seriesIndex,z.dataIndex=this.dataIndex,z.dataType=this.dataType};S.setItemGraphicEl=function(z,J){var $=this.hostModel;J&&(J.dataIndex=z,J.dataType=this.dataType,J.seriesIndex=$&&$.seriesIndex,J.type==="group"&&J.traverse(W,J)),this._graphicEls[z]=J},S.getItemGraphicEl=function(z){return this._graphicEls[z]},S.eachItemGraphicEl=function(z,J){C.each(this._graphicEls,function($,ce){$&&(z&&z.call(J,$,ce))})},S.cloneShallow=function(z){if(!z){var J=C.map(this.dimensions,this.getDimensionInfo,this);z=new w(J,this.hostModel)}if(z._storage=this._storage,T(z,this),this._indices){var $=this._indices.constructor;z._indices=new $(this._indices)}else z._indices=null;return z.getRawIndex=z._indices?D:N,z},S.wrapMethod=function(z,J){var $=this[z];if(typeof $!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(z),this[z]=function(){var ce=$.apply(this,arguments);return J.apply(this,[ce].concat(C.slice(arguments)))}},S.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],S.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=w;H.exports=V},YgsL:function(H,P,d){var O=d("QBsz"),x=O.distance;function C(b,g,f,c,o,r,i){var n=(f-b)*.5,e=(c-g)*.5;return(2*(g-f)+n+e)*i+(-3*(g-f)-2*n-e)*r+n*o+g}function A(b,g){for(var f=b.length,c=[],o=0,r=1;rf-2?f-1:e+1],u=b[e>f-3?f-1:e+2]);var h=s*s,p=s*h;c.push([C(t[0],a[0],l[0],u[0],s,h,p),C(t[1],a[1],l[1],u[1],s,h,p)])}return c}H.exports=A},Yl7c:function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("bYtY"),A=".",b="___EC__COMPONENT__CONTAINER___";function g(t){var a={main:"",sub:""};return t&&(t=t.split(A),a.main=t[0]||"",a.sub=t[1]||""),a}function f(t){C.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function c(t,a){t.$constructor=t,t.extend=function(l){var u=this,h=function(){l.$constructor?l.$constructor.apply(this,arguments):u.apply(this,arguments)};return C.extend(h.prototype,l),h.extend=this.extend,h.superCall=i,h.superApply=n,C.inherits(h,this),h.superClass=u,h}}var o=0;function r(t){var a=["__\0is_clz",o++,Math.random().toFixed(3)].join("_");t.prototype[a]=!0,t.isInstance=function(l){return!!(l&&l[a])}}function i(t,a){var l=C.slice(arguments,2);return this.superClass.prototype[a].apply(t,l)}function n(t,a,l){return this.superClass.prototype[a].apply(t,l)}function e(t,a){a=a||{};var l={};t.registerClass=function(p,m){if(m){if(f(m),m=g(m),!m.sub)l[m.main]=p;else if(m.sub!==b){var v=u(m);v[m.sub]=p}}return p},t.getClass=function(p,m,v){var y=l[p];if(y&&y[b]&&(y=m?y[m]:null),v&&!y)throw new Error(m?"Component "+p+"."+(m||"")+" not exists. Load it first.":p+".type should be specified.");return y},t.getClassesByMainType=function(p){p=g(p);var m=[],v=l[p.main];return v&&v[b]?C.each(v,function(y,E){E!==b&&m.push(y)}):m.push(v),m},t.hasClass=function(p){return p=g(p),!!l[p.main]},t.getAllClassMainTypes=function(){var p=[];return C.each(l,function(m,v){p.push(v)}),p},t.hasSubTypes=function(p){p=g(p);var m=l[p.main];return m&&m[b]},t.parseClassType=g;function u(p){var m=l[p.main];return(!m||!m[b])&&(m=l[p.main]={},m[b]=!0),m}if(a.registerWhenExtend){var h=t.extend;h&&(t.extend=function(p){var m=h.call(this,p);return t.registerClass(m,p.type)})}return t}function s(t,a){}P.parseClassType=g,P.enableClassExtend=c,P.enableClassCheck=r,P.enableClassManagement=e,P.setReadOnly=s},Ynxi:function(H,P,d){var O=d("bYtY"),x=d("ProS"),C=d("IwbS"),A=d("+TT/"),b=A.getLayoutRect,g=d("7aKB"),f=g.windowOpen;x.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"}}}),x.extendComponentView({type:"title",render:function(c,o,r){if(this.group.removeAll(),!c.get("show"))return;var i=this.group,n=c.getModel("textStyle"),e=c.getModel("subtextStyle"),s=c.get("textAlign"),t=O.retrieve2(c.get("textBaseline"),c.get("textVerticalAlign")),a=new C.Text({style:C.setTextStyle({},n,{text:c.get("text"),textFill:n.getTextColor()},{disableBox:!0}),z2:10}),l=a.getBoundingRect(),u=c.get("subtext"),h=new C.Text({style:C.setTextStyle({},e,{text:u,textFill:e.getTextColor(),y:l.height+c.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),p=c.get("link"),m=c.get("sublink"),v=c.get("triggerEvent",!0);a.silent=!p&&!v,h.silent=!m&&!v,p&&a.on("click",function(){f(p,"_"+c.get("target"))}),m&&h.on("click",function(){f(p,"_"+c.get("subtarget"))}),a.eventData=h.eventData=v?{componentType:"title",componentIndex:c.componentIndex}:null,i.add(a),u&&i.add(h);var y=i.getBoundingRect(),E=c.getBoxLayoutParams();E.width=y.width,E.height=y.height;var T=b(E,{width:r.getWidth(),height:r.getHeight()},c.get("padding"));s||(s=c.get("left")||c.get("right"),s==="middle"&&(s="center"),s==="right"?T.x+=T.width:s==="center"&&(T.x+=T.width/2)),t||(t=c.get("top")||c.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?T.y+=T.height:t==="middle"&&(T.y+=T.height/2),t=t||"top"),i.attr("position",[T.x,T.y]);var w={textAlign:s,textVerticalAlign:t};a.setStyle(w),h.setStyle(w),y=i.getBoundingRect();var S=T.margin,_=c.getItemStyle(["color","opacity"]);_.fill=c.get("backgroundColor");var I=new C.Rect({shape:{x:y.x-S[3],y:y.y-S[0],width:y.width+S[1]+S[3],height:y.height+S[0]+S[2],r:c.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(I)}})},Ywus:function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("DO2E")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="DeleteOutlined";var c=A.forwardRef(f);P.default=c},Z0Lh:function(H,P,d){"use strict";var O=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var x=O(d("pVnL")),C=O(d("HjOm")),A=O(d("Z6rY")),b={lang:(0,x.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"]},C.default),timePickerLocale:(0,x.default)({},A.default)};b.lang.ok="\u786E \u5B9A";var g=b;P.default=g},Z1HP:function(H,P,d){var O=d("ycre"),x=d("quyA"),C=d("q4HE");function A(b){return x(b)?C(b):O(b)}H.exports=A},Z1r0:function(H,P){function d(O){var x=O.findComponents({mainType:"legend"});if(!x||!x.length)return;O.eachSeriesByType("graph",function(C){var A=C.getCategoriesData(),b=C.getGraph(),g=b.data,f=A.mapArray(A.getName);g.filterSelf(function(c){var o=g.getItemModel(c),r=o.getShallow("category");if(r!=null){typeof r=="number"&&(r=f[r]);for(var i=0;i0?1:-1,ae=J.height>0?1:-1;return{x:J.x+ce*$/2,y:J.y+ae*$/2,width:J.width-ce*$,height:J.height-ae*$}},polar:function(W,V,z){var J=W.getItemLayout(V);return{cx:J.cx,cy:J.cy,r0:J.r0,r:J.r,startAngle:J.startAngle,endAngle:J.endAngle}}};function _(W){return W.startAngle!=null&&W.endAngle!=null&&W.startAngle===W.endAngle}function I(W,V,z,J,$,ce,ae,Ae){var Ie=V.getItemVisual(z,"color"),De=V.getItemVisual(z,"opacity"),Ke=V.getVisual("borderColor"),me=J.getModel("itemStyle"),Ue=J.getModel("emphasis.itemStyle").getBarItemStyle();Ae||W.setShape("r",me.get("barBorderRadius")||0),W.useStyle(A.defaults({stroke:_($)?"none":Ke,fill:_($)?"none":Ie,opacity:De},me.getBarItemStyle()));var oe=J.getShallow("cursor");oe&&W.attr("cursor",oe);var te=ae?$.height>0?"bottom":"top":$.width>0?"left":"right";Ae||f(W.style,Ue,J,Ie,ce,z,te),_($)&&(Ue.fill=Ue.stroke="none"),b.setHoverStyle(W,Ue)}function L(W,V){var z=W.get(l)||0,J=isNaN(V.width)?Number.MAX_VALUE:Math.abs(V.width),$=isNaN(V.height)?Number.MAX_VALUE:Math.abs(V.height);return Math.min(z,J,$)}var N=r.extend({type:"largeBar",shape:{points:[]},buildPath:function(W,V){for(var z=V.points,J=this.__startPoint,$=this.__baseDimIdx,ce=0;ce=0?z:null},30,!1);function B(W,V,z){var J=W.__baseDimIdx,$=1-J,ce=W.shape.points,ae=W.__largeDataIndices,Ae=Math.abs(W.__barWidth/2),Ie=W.__startPoint[$];u[0]=V,u[1]=z;for(var De=u[J],Ke=u[1-J],me=De-Ae,Ue=De+Ae,oe=0,te=ce.length/2;oe=me&&se<=Ue&&(Ie<=Y?Ke>=Ie&&Ke<=Y:Ke>=Y&&Ke<=Ie))return ae[oe]}return-1}function M(W,V,z){var J=z.getVisual("borderColor")||z.getVisual("color"),$=V.getModel("itemStyle").getItemStyle(["color","borderColor"]);W.useStyle($),W.style.fill=null,W.style.stroke=J,W.style.lineWidth=z.getLayout("barWidth")}function U(W,V,z){var J=V.get("borderColor")||V.get("color"),$=V.getItemStyle(["color","borderColor"]);W.useStyle($),W.style.fill=null,W.style.stroke=J,W.style.lineWidth=z.getLayout("barWidth")}function F(W,V,z){var J,$=z.type==="polar";return $?J=z.getArea():J=z.grid.getRect(),$?{cx:J.cx,cy:J.cy,r0:W?J.r0:V.r0,r:W?J.r:V.r,startAngle:W?V.startAngle:0,endAngle:W?V.endAngle:Math.PI*2}:{x:W?V.x:J.x,y:W?J.y:V.y,width:W?V.width:J.width,height:W?J.height:V.height}}function j(W,V,z){var J=W.type==="polar"?b.Sector:b.Rect;return new J({shape:F(V,z,W),silent:!0,z2:0})}H.exports=p},ZCgT:function(H,P,d){var O=d("tLB3"),x=1/0,C=17976931348623157e292;function A(b){if(!b)return b===0?b:0;if(b=O(b),b===x||b===-x){var g=b<0?-1:1;return g*C}return b===b?b:0}H.exports=A},ZLWo:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},ZMnZ:function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("2oIt")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="UpOutlined";var c=A.forwardRef(f);P.default=c},ZTPi:function(H,P,d){"use strict";var O=d("pVnL"),x=d.n(O),C=d("lSNA"),A=d.n(C),b=d("q1tI"),g=d("rePB"),f=d("ODXe"),c=d("Ff2n"),o=d("VTBJ"),r=d("TSYQ"),i=d.n(r),n=d("Zm9Q"),e=d("6cGi"),s=d("KQm4"),t=d("xEkU"),a=d.n(t),l=d("1OyB"),u=d("vuIU"),h=d("Ji7U"),p=d("LK+K"),m=d("m+aA"),v=d("Kwbf"),y=d("c+Xe"),E=d("bdgK"),T="rc-observer-key",w=function(Br){Object(h.a)(Sn,Br);var sn=Object(p.a)(Sn);function Sn(){var kt;return Object(l.a)(this,Sn),kt=sn.apply(this,arguments),kt.resizeObserver=null,kt.childNode=null,kt.currentElement=null,kt.state={width:0,height:0,offsetHeight:0,offsetWidth:0},kt.onResize=function(vt){var Et=kt.props.onResize,Lt=vt[0].target,Mt=Lt.getBoundingClientRect(),bt=Mt.width,Qt=Mt.height,tr=Lt.offsetWidth,ar=Lt.offsetHeight,yr=Math.floor(bt),xn=Math.floor(Qt);if(kt.state.width!==yr||kt.state.height!==xn||kt.state.offsetWidth!==tr||kt.state.offsetHeight!==ar){var vn={width:yr,height:xn,offsetWidth:tr,offsetHeight:ar};kt.setState(vn),Et&&Promise.resolve().then(function(){Et(Object(o.a)(Object(o.a)({},vn),{},{offsetWidth:tr,offsetHeight:ar}))})}},kt.setChildNode=function(vt){kt.childNode=vt},kt}return Object(u.a)(Sn,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var vt=this.props.disabled;if(vt){this.destroyObserver();return}var Et=Object(m.a)(this.childNode||this),Lt=Et!==this.currentElement;Lt&&(this.destroyObserver(),this.currentElement=Et),!this.resizeObserver&&Et&&(this.resizeObserver=new E.default(this.onResize),this.resizeObserver.observe(Et))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var vt=this.props.children,Et=Object(n.a)(vt);if(Et.length>1)Object(v.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(Et.length===0)return Object(v.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var Lt=Et[0];if(b.isValidElement(Lt)&&Object(y.c)(Lt)){var Mt=Lt.ref;Et[0]=b.cloneElement(Lt,{ref:Object(y.a)(Mt,this.setChildNode)})}return Et.length===1?Et[0]:Et.map(function(bt,Qt){return!b.isValidElement(bt)||"key"in bt&&bt.key!==null?bt:b.cloneElement(bt,{key:"".concat(T,"-").concat(Qt)})})}}]),Sn}(b.Component);w.displayName="ResizeObserver";var S=w;function _(Br){var sn=Object(b.useRef)(),Sn=Object(b.useRef)(!1);function kt(){for(var vt=arguments.length,Et=new Array(vt),Lt=0;Ltar&&(vn=ar-xn),Object(b.useMemo)(function(){if(!Et.length)return[0,0];for(var Wn=Et.length,Yr=Wn,xr=0;xrtr+vn){Yr=xr-1;break}}for(var On=0,In=Wn-1;In>=0;In-=1){var Un=Br.get(Et[In].key)||M;if(Un[Qt]1&&arguments[1]!==void 0?arguments[1]:!1,kt=sn&&typeof sn.getBoundingClientRect=="function"&&sn.getBoundingClientRect().width;if(kt){if(Sn){var vt=getComputedStyle(sn),Et=vt.marginLeft,Lt=vt.marginRight;kt+=+Et.replace("px","")+ +Lt.replace("px","")}kt=+kt.toFixed(6)}return kt||0},et=function(sn,Sn,kt){sn&&Object(ce.a)(sn.style)==="object"&&(sn.style[Sn]=kt)},ze=function(){return xe.any},at=d("i8i4"),Ct=d("uciX"),Tt=d("wgJM"),Ot=d("8XRh"),Nt={adjustX:1,adjustY:1},Be={topLeft:{points:["bl","tl"],overflow:Nt,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Nt,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Nt,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Nt,offset:[4,0]}},ne={topLeft:{points:["bl","tl"],overflow:Nt,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Nt,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Nt,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Nt,offset:[4,0]}},G=Be,Pe=0,Ne={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},q=function(sn,Sn,kt){var vt=Ee(Sn),Et=sn.getState();sn.setState({defaultActiveFirst:Object(o.a)(Object(o.a)({},Et.defaultActiveFirst),{},Object(g.a)({},vt,kt))})},ht=function(Br){Object(h.a)(Sn,Br);var sn=Object(p.a)(Sn);function Sn(kt){var vt;Object(l.a)(this,Sn),vt=sn.call(this,kt),vt.onDestroy=function(tr){vt.props.onDestroy(tr)},vt.onKeyDown=function(tr){var ar=tr.keyCode,yr=vt.menuInstance,xn=vt.props.store,vn=vt.getVisible();if(ar===L.a.ENTER)return vt.onTitleClick(tr),q(xn,vt.props.eventKey,!0),!0;if(ar===L.a.RIGHT)return vn?yr.onKeyDown(tr):(vt.triggerOpenChange(!0),q(xn,vt.props.eventKey,!0)),!0;if(ar===L.a.LEFT){var Wn;if(vn)Wn=yr.onKeyDown(tr);else return;return Wn||(vt.triggerOpenChange(!1),Wn=!0),Wn}return vn&&(ar===L.a.UP||ar===L.a.DOWN)?yr.onKeyDown(tr):void 0},vt.onOpenChange=function(tr){vt.props.onOpenChange(tr)},vt.onPopupVisibleChange=function(tr){vt.triggerOpenChange(tr,tr?"mouseenter":"mouseleave")},vt.onMouseEnter=function(tr){var ar=vt.props,yr=ar.eventKey,xn=ar.onMouseEnter,vn=ar.store;q(vn,vt.props.eventKey,!1),xn({key:yr,domEvent:tr})},vt.onMouseLeave=function(tr){var ar=vt.props,yr=ar.parentMenu,xn=ar.eventKey,vn=ar.onMouseLeave;yr.subMenuInstance=Object(j.a)(vt),vn({key:xn,domEvent:tr})},vt.onTitleMouseEnter=function(tr){var ar=vt.props,yr=ar.eventKey,xn=ar.onItemHover,vn=ar.onTitleMouseEnter;xn({key:yr,hover:!0}),vn({key:yr,domEvent:tr})},vt.onTitleMouseLeave=function(tr){var ar=vt.props,yr=ar.parentMenu,xn=ar.eventKey,vn=ar.onItemHover,Wn=ar.onTitleMouseLeave;yr.subMenuInstance=Object(j.a)(vt),vn({key:xn,hover:!1}),Wn({key:xn,domEvent:tr})},vt.onTitleClick=function(tr){var ar=Object(j.a)(vt),yr=ar.props;if(yr.onTitleClick({key:yr.eventKey,domEvent:tr}),yr.triggerSubMenuAction==="hover")return;vt.triggerOpenChange(!vt.getVisible(),"click"),q(yr.store,vt.props.eventKey,!1)},vt.onSubMenuClick=function(tr){typeof vt.props.onClick=="function"&&vt.props.onClick(vt.addKeyPath(tr))},vt.onSelect=function(tr){vt.props.onSelect(tr)},vt.onDeselect=function(tr){vt.props.onDeselect(tr)},vt.getPrefixCls=function(){return"".concat(vt.props.rootPrefixCls,"-submenu")},vt.getActiveClassName=function(){return"".concat(vt.getPrefixCls(),"-active")},vt.getDisabledClassName=function(){return"".concat(vt.getPrefixCls(),"-disabled")},vt.getSelectedClassName=function(){return"".concat(vt.getPrefixCls(),"-selected")},vt.getOpenClassName=function(){return"".concat(vt.props.rootPrefixCls,"-submenu-open")},vt.getVisible=function(){return vt.state.isOpen},vt.getMode=function(){return vt.state.mode},vt.saveMenuInstance=function(tr){vt.menuInstance=tr},vt.addKeyPath=function(tr){return Object(o.a)(Object(o.a)({},tr),{},{keyPath:(tr.keyPath||[]).concat(vt.props.eventKey)})},vt.triggerOpenChange=function(tr,ar){var yr=vt.props.eventKey,xn=function(){vt.onOpenChange({key:yr,item:Object(j.a)(vt),trigger:ar,open:tr})};ar==="mouseenter"?vt.mouseenterTimeout=setTimeout(function(){xn()},0):xn()},vt.isChildrenSelected=function(){var tr={find:!1};return lt(vt.props.children,vt.props.selectedKeys,tr),tr.find},vt.isInlineMode=function(){return vt.getMode()==="inline"},vt.adjustWidth=function(){if(!vt.subMenuTitle||!vt.menuInstance)return;var tr=at.findDOMNode(vt.menuInstance);if(tr.offsetWidth>=vt.subMenuTitle.offsetWidth)return;tr.style.minWidth="".concat(vt.subMenuTitle.offsetWidth,"px")},vt.saveSubMenuTitle=function(tr){vt.subMenuTitle=tr},vt.getBaseProps=function(){var tr=Object(j.a)(vt),ar=tr.props,yr=vt.getMode();return{mode:yr==="horizontal"?"vertical":yr,visible:vt.getVisible(),level:ar.level+1,inlineIndent:ar.inlineIndent,focusable:!1,onClick:vt.onSubMenuClick,onSelect:vt.onSelect,onDeselect:vt.onDeselect,onDestroy:vt.onDestroy,selectedKeys:ar.selectedKeys,eventKey:"".concat(ar.eventKey,"-menu-"),openKeys:ar.openKeys,motion:ar.motion,onOpenChange:vt.onOpenChange,subMenuOpenDelay:ar.subMenuOpenDelay,parentMenu:Object(j.a)(vt),subMenuCloseDelay:ar.subMenuCloseDelay,forceSubMenuRender:ar.forceSubMenuRender,triggerSubMenuAction:ar.triggerSubMenuAction,builtinPlacements:ar.builtinPlacements,defaultActiveFirst:ar.store.getState().defaultActiveFirst[Ee(ar.eventKey)],multiple:ar.multiple,prefixCls:ar.rootPrefixCls,id:vt.internalMenuId,manualRef:vt.saveMenuInstance,itemIcon:ar.itemIcon,expandIcon:ar.expandIcon,direction:ar.direction}},vt.getMotion=function(tr,ar){var yr=Object(j.a)(vt),xn=yr.haveRendered,vn=vt.props,Wn=vn.motion,Yr=vn.rootPrefixCls,xr=Object(o.a)(Object(o.a)({},Wn),{},{leavedClassName:"".concat(Yr,"-hidden"),removeOnLeave:!1,motionAppear:xn||!ar||tr!=="inline"});return xr};var Et=kt.store,Lt=kt.eventKey,Mt=Et.getState(),bt=Mt.defaultActiveFirst;vt.isRootMenu=!1;var Qt=!1;return bt&&(Qt=bt[Lt]),q(Et,Lt,Qt),vt.state={mode:kt.mode,isOpen:kt.isOpen},vt}return Object(u.a)(Sn,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var vt=this,Et=this.props,Lt=Et.mode,Mt=Et.parentMenu,bt=Et.manualRef,Qt=Et.isOpen,tr=function(){vt.setState({mode:Lt,isOpen:Qt})},ar=Qt!==this.state.isOpen,yr=Lt!==this.state.mode;if((yr||ar)&&(Tt.a.cancel(this.updateStateRaf),yr?this.updateStateRaf=Object(Tt.a)(tr):tr()),bt&&bt(this),Lt!=="horizontal"||!(Mt==null?void 0:Mt.isRootMenu)||!Qt)return;this.minWidthTimeout=setTimeout(function(){return vt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var vt=this.props,Et=vt.onDestroy,Lt=vt.eventKey;Et&&Et(Lt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Tt.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(vt,Et){var Lt=this.getBaseProps();return b.createElement(Vn,Object(F.a)({},Lt,{id:this.internalMenuId,className:vt,style:Et}),this.props.children)}},{key:"renderChildren",value:function(){var vt=this,Et=this.getBaseProps(),Lt=Et.mode,Mt=Et.visible,bt=Et.forceSubMenuRender,Qt=Et.direction,tr=this.getMotion(Lt,Mt);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||Mt||bt,!this.haveOpened)return b.createElement("div",null);var ar=i()("".concat(Et.prefixCls,"-sub"),Object(g.a)({},"".concat(Et.prefixCls,"-rtl"),Qt==="rtl"));return this.isInlineMode()?b.createElement(Ot.b,Object(F.a)({visible:Et.visible,forceRender:bt},tr),function(yr){var xn=yr.className,vn=yr.style,Wn=i()(ar,xn);return vt.renderPopupMenu(Wn,vn)}):this.renderPopupMenu(ar)}},{key:"render",value:function(){var vt,Et,Lt,Mt=Object(o.a)({},this.props),bt=this.getVisible(),Qt=this.getPrefixCls(),tr=this.isInlineMode(),ar=this.getMode(),yr=i()(Qt,"".concat(Qt,"-").concat(ar),(vt={},Object(g.a)(vt,Mt.className,!!Mt.className),Object(g.a)(vt,this.getOpenClassName(),bt),Object(g.a)(vt,this.getActiveClassName(),Mt.active||bt&&!tr),Object(g.a)(vt,this.getDisabledClassName(),Mt.disabled),Object(g.a)(vt,this.getSelectedClassName(),this.isChildrenSelected()),vt));this.internalMenuId||(Mt.eventKey?this.internalMenuId="".concat(Mt.eventKey,"$Menu"):(Pe+=1,this.internalMenuId="$__$".concat(Pe,"$Menu")));var xn={},vn={},Wn={};Mt.disabled||(xn={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},vn={onClick:this.onTitleClick},Wn={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Yr={},xr=Mt.direction,ln=xr==="rtl";tr&&(ln?Yr.paddingRight=Mt.inlineIndent*Mt.level:Yr.paddingLeft=Mt.inlineIndent*Mt.level);var On={};this.getVisible()&&(On={"aria-owns":this.internalMenuId});var In=null;ar!=="horizontal"&&(In=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(In=b.createElement(this.props.expandIcon,Object(o.a)({},this.props))));var Un=b.createElement("div",Object(F.a)({ref:this.saveSubMenuTitle,style:Yr,className:"".concat(Qt,"-title"),role:"button"},Wn,vn,{"aria-expanded":bt},On,{"aria-haspopup":"true",title:typeof Mt.title=="string"?Mt.title:void 0}),Mt.title,In||b.createElement("i",{className:"".concat(Qt,"-arrow")})),ti=this.renderChildren(),ui=((Et=Mt.parentMenu)===null||Et===void 0?void 0:Et.isRootMenu)?Mt.parentMenu.props.getPopupContainer:function(lr){return lr.parentNode},si=Ne[ar],Pi=Mt.popupOffset?{offset:Mt.popupOffset}:{},zi=i()((Lt={},Object(g.a)(Lt,Mt.popupClassName,Mt.popupClassName&&!tr),Object(g.a)(Lt,"".concat(Qt,"-rtl"),ln),Lt)),Ri=Mt.disabled,Yi=Mt.triggerSubMenuAction,$n=Mt.subMenuOpenDelay,gn=Mt.forceSubMenuRender,mi=Mt.subMenuCloseDelay,Hi=Mt.builtinPlacements;Je.forEach(function(lr){return delete Mt[lr]}),delete Mt.onClick;var Li=ln?Object(o.a)(Object(o.a)({},ne),Hi):Object(o.a)(Object(o.a)({},Be),Hi);delete Mt.direction;var Bi=this.getBaseProps(),wr=tr?null:this.getMotion(Bi.mode,Bi.visible);return b.createElement("li",Object(F.a)({},Mt,xn,{className:yr,role:"menuitem"}),b.createElement(Ct.a,{prefixCls:Qt,popupClassName:i()("".concat(Qt,"-popup"),zi),getPopupContainer:ui,builtinPlacements:Li,popupPlacement:si,popupVisible:tr?!1:bt,popupAlign:Pi,popup:tr?null:ti,action:Ri||tr?[]:[Yi],mouseEnterDelay:$n,mouseLeaveDelay:mi,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:gn,popupMotion:wr},Un),tr?ti:null)}}]),Sn}(b.Component);ht.defaultProps={onMouseEnter:le,onMouseLeave:le,onTitleMouseEnter:le,onTitleMouseLeave:le,onTitleClick:le,manualRef:le,mode:"vertical",title:""};var Pt=Object(W.b)(function(Br,sn){var Sn=Br.openKeys,kt=Br.activeKey,vt=Br.selectedKeys,Et=sn.eventKey,Lt=sn.subMenuKey;return{isOpen:Sn.indexOf(Et)>-1,active:kt[Lt]===Et,selectedKeys:vt}})(ht);Pt.isSubMenu=!0;var ct=Pt,Gt="menuitem-overflowed",or=.5,Zr=function(Br){Object(h.a)(Sn,Br);var sn=Object(p.a)(Sn);function Sn(){var kt;return Object(l.a)(this,Sn),kt=sn.apply(this,arguments),kt.resizeObserver=null,kt.mutationObserver=null,kt.originalTotalWidth=0,kt.overflowedItems=[],kt.menuItemSizes=[],kt.cancelFrameId=null,kt.state={lastVisibleIndex:void 0},kt.childRef=b.createRef(),kt.getMenuItemNodes=function(){var vt=kt.props.prefixCls,Et=kt.childRef.current;return Et?[].slice.call(Et.children).filter(function(Lt){return Lt.className.split(" ").indexOf("".concat(vt,"-overflowed-submenu"))<0}):[]},kt.getOverflowedSubMenuItem=function(vt,Et,Lt){var Mt=kt.props,bt=Mt.overflowedIndicator,Qt=Mt.level,tr=Mt.mode,ar=Mt.prefixCls,yr=Mt.theme;if(Qt!==1||tr!=="horizontal")return null;var xn=kt.props.children[0],vn=xn.props,Wn=vn.children,Yr=vn.title,xr=vn.style,ln=Object(c.a)(vn,["children","title","style"]),On=Object(o.a)({},xr),In="".concat(vt,"-overflowed-indicator"),Un="".concat(vt,"-overflowed-indicator");Et.length===0&&Lt!==!0?On=Object(o.a)(Object(o.a)({},On),{},{display:"none"}):Lt&&(On=Object(o.a)(Object(o.a)({},On),{},{visibility:"hidden",position:"absolute"}),In="".concat(In,"-placeholder"),Un="".concat(Un,"-placeholder"));var ti=yr?"".concat(ar,"-").concat(yr):"",ui={};return Je.forEach(function(si){ln[si]!==void 0&&(ui[si]=ln[si])}),b.createElement(ct,Object(F.a)({title:bt,className:"".concat(ar,"-overflowed-submenu"),popupClassName:ti},ui,{key:In,eventKey:Un,disabled:!1,style:On}),Et)},kt.setChildrenWidthAndResize=function(){if(kt.props.mode!=="horizontal")return;var vt=kt.childRef.current;if(!vt)return;var Et=vt.children;if(!Et||Et.length===0)return;var Lt=vt.children[Et.length-1];et(Lt,"display","inline-block");var Mt=kt.getMenuItemNodes(),bt=Mt.filter(function(Qt){return Qt.className.split(" ").indexOf(Gt)>=0});bt.forEach(function(Qt){et(Qt,"display","inline-block")}),kt.menuItemSizes=Mt.map(function(Qt){return Ce(Qt,!0)}),bt.forEach(function(Qt){et(Qt,"display","none")}),kt.overflowedIndicatorWidth=Ce(vt.children[vt.children.length-1],!0),kt.originalTotalWidth=kt.menuItemSizes.reduce(function(Qt,tr){return Qt+tr},0),kt.handleResize(),et(Lt,"display","none")},kt.handleResize=function(){if(kt.props.mode!=="horizontal")return;var vt=kt.childRef.current;if(!vt)return;var Et=Ce(vt);kt.overflowedItems=[];var Lt=0,Mt;kt.originalTotalWidth>Et+or&&(Mt=-1,kt.menuItemSizes.forEach(function(bt){Lt+=bt,Lt+kt.overflowedIndicatorWidth<=Et&&(Mt+=1)})),kt.setState({lastVisibleIndex:Mt})},kt}return Object(u.a)(Sn,[{key:"componentDidMount",value:function(){var vt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Et=this.childRef.current;if(!Et)return;this.resizeObserver=new E.default(function(Lt){Lt.forEach(function(){var Mt=vt.cancelFrameId;cancelAnimationFrame(Mt),vt.cancelFrameId=requestAnimationFrame(vt.setChildrenWidthAndResize)})}),[].slice.call(Et.children).concat(Et).forEach(function(Lt){vt.resizeObserver.observe(Lt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){vt.resizeObserver.disconnect(),[].slice.call(Et.children).concat(Et).forEach(function(Lt){vt.resizeObserver.observe(Lt)}),vt.setChildrenWidthAndResize()}),this.mutationObserver.observe(Et,{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(vt){var Et=this,Lt=this.state.lastVisibleIndex;return(vt||[]).reduce(function(Mt,bt,Qt){var tr=bt;if(Et.props.mode==="horizontal"){var ar=Et.getOverflowedSubMenuItem(bt.props.eventKey,[]);Lt!==void 0&&Et.props.className.indexOf("".concat(Et.props.prefixCls,"-root"))!==-1&&(Qt>Lt&&(tr=b.cloneElement(bt,{style:{display:"none"},eventKey:"".concat(bt.props.eventKey,"-hidden"),className:"".concat(Gt)})),Qt===Lt+1&&(Et.overflowedItems=vt.slice(Lt+1).map(function(xn){return b.cloneElement(xn,{key:xn.props.eventKey,mode:"vertical-left"})}),ar=Et.getOverflowedSubMenuItem(bt.props.eventKey,Et.overflowedItems)));var yr=[].concat(Object(s.a)(Mt),[ar,tr]);return Qt===vt.length-1&&yr.push(Et.getOverflowedSubMenuItem(bt.props.eventKey,[],!0)),yr}return[].concat(Object(s.a)(Mt),[tr])},[])}},{key:"render",value:function(){var vt=this.props,Et=vt.visible,Lt=vt.prefixCls,Mt=vt.overflowedIndicator,bt=vt.mode,Qt=vt.level,tr=vt.tag,ar=vt.children,yr=vt.theme,xn=Object(c.a)(vt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),vn=tr;return b.createElement(vn,Object(F.a)({ref:this.childRef},xn),this.renderChildren(ar))}}]),Sn}(b.Component);Zr.defaultProps={tag:"div",className:""};var ir=Zr;function dr(Br){return Br.length?Br.every(function(sn){return!!sn.props.disabled}):!0}function er(Br,sn,Sn){var kt=Br.getState();Br.setState({activeKey:Object(o.a)(Object(o.a)({},kt.activeKey),{},Object(g.a)({},sn,Sn))})}function Kt(Br){return Br.eventKey||"0-menu-"}function dt(Br,sn){var Sn=sn,kt=Br.children,vt=Br.eventKey;if(Sn){var Et;if(Ge(kt,function(Lt,Mt){Lt&&Lt.props&&!Lt.props.disabled&&Sn===fe(Lt,vt,Mt)&&(Et=!0)}),Et)return Sn}return Sn=null,Br.defaultActiveFirst&&Ge(kt,function(Lt,Mt){!Sn&&Lt&&!Lt.props.disabled&&(Sn=fe(Lt,vt,Mt))}),Sn}function Hr(Br){if(!Br)return;var sn=this.instanceArray.indexOf(Br);sn!==-1?this.instanceArray[sn]=Br:this.instanceArray.push(Br)}var fn=function(Br){Object(h.a)(Sn,Br);var sn=Object(p.a)(Sn);function Sn(kt){var vt;return Object(l.a)(this,Sn),vt=sn.call(this,kt),vt.onKeyDown=function(Et,Lt){var Mt=Et.keyCode,bt;if(vt.getFlatInstanceArray().forEach(function(tr){tr&&tr.props.active&&tr.onKeyDown&&(bt=tr.onKeyDown(Et))}),bt)return 1;var Qt=null;return(Mt===L.a.UP||Mt===L.a.DOWN)&&(Qt=vt.step(Mt===L.a.UP?-1:1)),Qt?(Et.preventDefault(),er(vt.props.store,Kt(vt.props),Qt.props.eventKey),typeof Lt=="function"&&Lt(Qt),1):void 0},vt.onItemHover=function(Et){var Lt=Et.key,Mt=Et.hover;er(vt.props.store,Kt(vt.props),Mt?Lt:null)},vt.onDeselect=function(Et){vt.props.onDeselect(Et)},vt.onSelect=function(Et){vt.props.onSelect(Et)},vt.onClick=function(Et){vt.props.onClick(Et)},vt.onOpenChange=function(Et){vt.props.onOpenChange(Et)},vt.onDestroy=function(Et){vt.props.onDestroy(Et)},vt.getFlatInstanceArray=function(){return vt.instanceArray},vt.step=function(Et){var Lt=vt.getFlatInstanceArray(),Mt=vt.props.store.getState().activeKey[Kt(vt.props)],bt=Lt.length;if(!bt)return null;Et<0&&(Lt=Lt.concat().reverse());var Qt=-1;if(Lt.every(function(xn,vn){return xn&&xn.props.eventKey===Mt?(Qt=vn,!1):!0}),!vt.props.defaultActiveFirst&&Qt!==-1&&dr(Lt.slice(Qt,bt-1)))return;var tr=(Qt+1)%bt,ar=tr;do{var yr=Lt[ar];if(!yr||yr.props.disabled)ar=(ar+1)%bt;else return yr}while(ar!==tr);return null},vt.renderCommonMenuItem=function(Et,Lt,Mt){var bt=vt.props.store.getState(),Qt=Object(j.a)(vt),tr=Qt.props,ar=fe(Et,tr.eventKey,Lt),yr=Et.props;if(!yr||typeof Et.type=="string")return Et;var xn=ar===bt.activeKey,vn=Object(o.a)(Object(o.a)({mode:yr.mode||tr.mode,level:tr.level,inlineIndent:tr.inlineIndent,renderMenuItem:vt.renderMenuItem,rootPrefixCls:tr.prefixCls,index:Lt,parentMenu:tr.parentMenu,manualRef:yr.disabled?void 0:Object(z.a)(Et.ref,Hr.bind(Object(j.a)(vt))),eventKey:ar,active:!yr.disabled&&xn,multiple:tr.multiple,onClick:function(Yr){(yr.onClick||le)(Yr),vt.onClick(Yr)},onItemHover:vt.onItemHover,motion:tr.motion,subMenuOpenDelay:tr.subMenuOpenDelay,subMenuCloseDelay:tr.subMenuCloseDelay,forceSubMenuRender:tr.forceSubMenuRender,onOpenChange:vt.onOpenChange,onDeselect:vt.onDeselect,onSelect:vt.onSelect,builtinPlacements:tr.builtinPlacements,itemIcon:yr.itemIcon||vt.props.itemIcon,expandIcon:yr.expandIcon||vt.props.expandIcon},Mt),{},{direction:tr.direction});return(tr.mode==="inline"||ze())&&(vn.triggerSubMenuAction="click"),b.cloneElement(Et,Object(o.a)(Object(o.a)({},vn),{},{key:ar||Lt}))},vt.renderMenuItem=function(Et,Lt,Mt){if(!Et)return null;var bt=vt.props.store.getState(),Qt={openKeys:bt.openKeys,selectedKeys:bt.selectedKeys,triggerSubMenuAction:vt.props.triggerSubMenuAction,subMenuKey:Mt};return vt.renderCommonMenuItem(Et,Lt,Qt)},kt.store.setState({activeKey:Object(o.a)(Object(o.a)({},kt.store.getState().activeKey),{},Object(g.a)({},kt.eventKey,dt(kt,kt.activeKey)))}),vt.instanceArray=[],vt}return Object(u.a)(Sn,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(vt){return this.props.visible||vt.visible||this.props.className!==vt.className||!$()(this.props.style,vt.style)}},{key:"componentDidUpdate",value:function(vt){var Et=this.props,Lt="activeKey"in Et?Et.activeKey:Et.store.getState().activeKey[Kt(Et)],Mt=dt(Et,Lt);if(Mt!==Lt)er(Et.store,Kt(Et),Mt);else if("activeKey"in vt){var bt=dt(vt,vt.activeKey);Mt!==bt&&er(Et.store,Kt(Et),Mt)}}},{key:"render",value:function(){var vt=this,Et=Object(F.a)({},this.props);this.instanceArray=[];var Lt=i()(Et.prefixCls,Et.className,"".concat(Et.prefixCls,"-").concat(Et.mode)),Mt={className:Lt,role:Et.role||"menu"};Et.id&&(Mt.id=Et.id),Et.focusable&&(Mt.tabIndex=0,Mt.onKeyDown=this.onKeyDown);var bt=Et.prefixCls,Qt=Et.eventKey,tr=Et.visible,ar=Et.level,yr=Et.mode,xn=Et.overflowedIndicator,vn=Et.theme;return Je.forEach(function(Wn){return delete Et[Wn]}),delete Et.onClick,b.createElement(ir,Object(F.a)({},Et,{prefixCls:bt,mode:yr,tag:"ul",level:ar,theme:vn,visible:tr,overflowedIndicator:xn},Mt),Object(n.a)(Et.children).map(function(Wn,Yr){return vt.renderMenuItem(Wn,Yr,Qt||"0-menu-")}))}}]),Sn}(b.Component);fn.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:le};var Nn=Object(W.b)()(fn),Vn=Nn;function gi(Br,sn,Sn){var kt=Br.prefixCls,vt=Br.motion,Et=Br.defaultMotions,Lt=Et===void 0?{}:Et,Mt=Br.openAnimation,bt=Br.openTransitionName,Qt=sn.switchingModeFromInline;if(vt)return vt;if(Object(ce.a)(Mt)==="object"&&Mt)Object(v.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Mt=="string")return{motionName:"".concat(kt,"-open-").concat(Mt)};if(bt)return{motionName:bt};var tr=Lt[Sn];return tr||(Qt?null:Lt.other)}var bn=function(Br){Object(h.a)(Sn,Br);var sn=Object(p.a)(Sn);function Sn(kt){var vt;Object(l.a)(this,Sn),vt=sn.call(this,kt),vt.onSelect=function(Mt){var bt=Object(j.a)(vt),Qt=bt.props;if(Qt.selectable){var tr=vt.store.getState(),ar=tr.selectedKeys,yr=Mt.key;Qt.multiple?ar=ar.concat([yr]):ar=[yr],"selectedKeys"in Qt||vt.store.setState({selectedKeys:ar}),Qt.onSelect(Object(o.a)(Object(o.a)({},Mt),{},{selectedKeys:ar}))}},vt.onClick=function(Mt){var bt=vt.getRealMenuMode(),Qt=Object(j.a)(vt),tr=Qt.store,ar=Qt.props.onOpenChange;bt!=="inline"&&!("openKeys"in vt.props)&&(tr.setState({openKeys:[]}),ar([])),vt.props.onClick(Mt)},vt.onKeyDown=function(Mt,bt){vt.innerMenu.getWrappedInstance().onKeyDown(Mt,bt)},vt.onOpenChange=function(Mt){var bt=Object(j.a)(vt),Qt=bt.props,tr=vt.store.getState().openKeys.concat(),ar=!1,yr=function(vn){var Wn=!1;if(vn.open)Wn=tr.indexOf(vn.key)===-1,Wn&&tr.push(vn.key);else{var Yr=tr.indexOf(vn.key);Wn=Yr!==-1,Wn&&tr.splice(Yr,1)}ar=ar||Wn};Array.isArray(Mt)?Mt.forEach(yr):yr(Mt),ar&&("openKeys"in vt.props||vt.store.setState({openKeys:tr}),Qt.onOpenChange(tr))},vt.onDeselect=function(Mt){var bt=Object(j.a)(vt),Qt=bt.props;if(Qt.selectable){var tr=vt.store.getState().selectedKeys.concat(),ar=Mt.key,yr=tr.indexOf(ar);yr!==-1&&tr.splice(yr,1),"selectedKeys"in Qt||vt.store.setState({selectedKeys:tr}),Qt.onDeselect(Object(o.a)(Object(o.a)({},Mt),{},{selectedKeys:tr}))}},vt.onMouseEnter=function(Mt){vt.restoreModeVerticalFromInline();var bt=vt.props.onMouseEnter;bt&&bt(Mt)},vt.onTransitionEnd=function(Mt){var bt=Mt.propertyName==="width"&&Mt.target===Mt.currentTarget,Qt=Mt.target.className,tr=Object.prototype.toString.call(Qt)==="[object SVGAnimatedString]"?Qt.animVal:Qt,ar=Mt.propertyName==="font-size"&&tr.indexOf("anticon")>=0;(bt||ar)&&vt.restoreModeVerticalFromInline()},vt.setInnerMenu=function(Mt){vt.innerMenu=Mt},vt.isRootMenu=!0;var Et=kt.defaultSelectedKeys,Lt=kt.defaultOpenKeys;return"selectedKeys"in kt&&(Et=kt.selectedKeys||[]),"openKeys"in kt&&(Lt=kt.openKeys||[]),vt.store=Object(W.c)({selectedKeys:Et,openKeys:Lt,activeKey:{"0-menu-":dt(kt,kt.activeKey)}}),vt.state={switchingModeFromInline:!1,prevProps:kt,inlineOpenKeys:[],store:vt.store},vt}return Object(u.a)(Sn,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(vt){var Et=this.props,Lt=Et.siderCollapsed,Mt=Et.inlineCollapsed,bt=Et.onOpenChange;(!vt.inlineCollapsed&&Mt||!vt.siderCollapsed&&Lt)&&bt([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var vt=this.props.collapsedWidth,Et=this.store,Lt=this.prevOpenKeys,Mt=this.getInlineCollapsed()&&(vt===0||vt==="0"||vt==="0px");Mt?(this.prevOpenKeys=Et.getState().openKeys.concat(),this.store.setState({openKeys:[]})):Lt&&(this.store.setState({openKeys:Lt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var vt=this.props.mode,Et=this.state.switchingModeFromInline,Lt=this.getInlineCollapsed();return Et&&Lt?"inline":Lt?"vertical":vt}},{key:"getInlineCollapsed",value:function(){var vt=this.props,Et=vt.inlineCollapsed,Lt=vt.siderCollapsed;return Lt!==void 0?Lt:Et}},{key:"restoreModeVerticalFromInline",value:function(){var vt=this.state.switchingModeFromInline;vt&&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 vt=Object(o.a)({},Object(V.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Et=this.getRealMenuMode();return vt.className+=" ".concat(vt.prefixCls,"-root"),vt.direction==="rtl"&&(vt.className+=" ".concat(vt.prefixCls,"-rtl")),vt=Object(o.a)(Object(o.a)({},vt),{},{mode:Et,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:gi(this.props,this.state,Et)}),delete vt.openAnimation,delete vt.openTransitionName,b.createElement(W.a,{store:this.store},b.createElement(Vn,Object(F.a)({},vt,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(vt,Et){var Lt=Et.prevProps,Mt=Et.store,bt=Mt.getState(),Qt={},tr={prevProps:vt};return Lt.mode==="inline"&&vt.mode!=="inline"&&(tr.switchingModeFromInline=!0),"openKeys"in vt?Qt.openKeys=vt.openKeys||[]:((vt.inlineCollapsed&&!Lt.inlineCollapsed||vt.siderCollapsed&&!Lt.siderCollapsed)&&(tr.switchingModeFromInline=!0,tr.inlineOpenKeys=bt.openKeys,Qt.openKeys=[]),(!vt.inlineCollapsed&&Lt.inlineCollapsed||!vt.siderCollapsed&&Lt.siderCollapsed)&&(Qt.openKeys=Et.inlineOpenKeys,tr.inlineOpenKeys=[])),Object.keys(Qt).length&&Mt.setState(Qt),tr}}]),Sn}(b.Component);bn.defaultProps={selectable:!0,onClick:le,onSelect:le,onOpenChange:le,onDeselect:le,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:b.createElement("span",null,"\xB7\xB7\xB7")};var Mn=bn,jt=function(Br){Object(h.a)(Sn,Br);var sn=Object(p.a)(Sn);function Sn(){var kt;return Object(l.a)(this,Sn),kt=sn.apply(this,arguments),kt.onKeyDown=function(vt){var Et=vt.keyCode;return Et===L.a.ENTER?(kt.onClick(vt),!0):void 0},kt.onMouseLeave=function(vt){var Et=kt.props,Lt=Et.eventKey,Mt=Et.onItemHover,bt=Et.onMouseLeave;Mt({key:Lt,hover:!1}),bt({key:Lt,domEvent:vt})},kt.onMouseEnter=function(vt){var Et=kt.props,Lt=Et.eventKey,Mt=Et.onItemHover,bt=Et.onMouseEnter;Mt({key:Lt,hover:!0}),bt({key:Lt,domEvent:vt})},kt.onClick=function(vt){var Et=kt.props,Lt=Et.eventKey,Mt=Et.multiple,bt=Et.onClick,Qt=Et.onSelect,tr=Et.onDeselect,ar=Et.isSelected,yr={key:Lt,keyPath:[Lt],item:Object(j.a)(kt),domEvent:vt};bt(yr),Mt?ar?tr(yr):Qt(yr):ar||Qt(yr)},kt.saveNode=function(vt){kt.node=vt},kt}return Object(u.a)(Sn,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var vt=this.props;vt.onDestroy&&vt.onDestroy(vt.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 vt,Et=Object(o.a)({},this.props),Lt=i()(this.getPrefixCls(),Et.className,(vt={},Object(g.a)(vt,this.getActiveClassName(),!Et.disabled&&Et.active),Object(g.a)(vt,this.getSelectedClassName(),Et.isSelected),Object(g.a)(vt,this.getDisabledClassName(),Et.disabled),vt)),Mt=Object(o.a)(Object(o.a)({},Et.attribute),{},{title:typeof Et.title=="string"?Et.title:void 0,className:Lt,role:Et.role||"menuitem","aria-disabled":Et.disabled});Et.role==="option"?Mt=Object(o.a)(Object(o.a)({},Mt),{},{role:"option","aria-selected":Et.isSelected}):(Et.role===null||Et.role==="none")&&(Mt.role="none");var bt={onClick:Et.disabled?null:this.onClick,onMouseLeave:Et.disabled?null:this.onMouseLeave,onMouseEnter:Et.disabled?null:this.onMouseEnter},Qt=Object(o.a)({},Et.style);Et.mode==="inline"&&(Et.direction==="rtl"?Qt.paddingRight=Et.inlineIndent*Et.level:Qt.paddingLeft=Et.inlineIndent*Et.level),Je.forEach(function(ar){return delete Et[ar]}),delete Et.direction;var tr=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(tr=b.createElement(this.props.itemIcon,this.props)),b.createElement("li",Object(F.a)({},Object(V.a)(Et,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Mt,bt,{style:Qt,ref:this.saveNode}),Et.children,tr)}}]),Sn}(b.Component);jt.isMenuItem=!0,jt.defaultProps={onSelect:le,onMouseEnter:le,onMouseLeave:le,manualRef:le};var St=Object(W.b)(function(Br,sn){var Sn=Br.activeKey,kt=Br.selectedKeys,vt=sn.eventKey,Et=sn.subMenuKey;return{active:Sn[Et]===vt,isSelected:Array.isArray(kt)?kt.indexOf(vt)!==-1:kt===vt}})(jt),_e=St,Oe=function(Br){Object(h.a)(Sn,Br);var sn=Object(p.a)(Sn);function Sn(){var kt;return Object(l.a)(this,Sn),kt=sn.apply(this,arguments),kt.renderInnerMenuItem=function(vt){var Et=kt.props,Lt=Et.renderMenuItem,Mt=Et.index;return Lt(vt,Mt,kt.props.subMenuKey)},kt}return Object(u.a)(Sn,[{key:"render",value:function(){var vt=Object(F.a)({},this.props),Et=vt.className,Lt=Et===void 0?"":Et,Mt=vt.rootPrefixCls,bt="".concat(Mt,"-item-group-title"),Qt="".concat(Mt,"-item-group-list"),tr=vt.title,ar=vt.children;return Je.forEach(function(yr){return delete vt[yr]}),delete vt.direction,b.createElement("li",Object(F.a)({},vt,{onClick:function(xn){return xn.stopPropagation()},className:"".concat(Lt," ").concat(Mt,"-item-group")}),b.createElement("div",{className:bt,title:typeof tr=="string"?tr:void 0},tr),b.createElement("ul",{className:Qt},b.Children.map(ar,this.renderInnerMenuItem)))}}]),Sn}(b.Component);Oe.isMenuItemGroup=!0,Oe.defaultProps={disabled:!0};var Le=Oe,Ze=function(sn){var Sn=sn.className,kt=sn.rootPrefixCls,vt=sn.style;return b.createElement("li",{className:"".concat(Sn," ").concat(kt,"-item-divider"),style:vt})};Ze.defaultProps={disabled:!0,className:"",style:{}};var nt=Ze,ft=Mn,Dt={adjustX:1,adjustY:1},Ar=[0,0],Mr={topLeft:{points:["bl","tl"],overflow:Dt,offset:[0,-4],targetOffset:Ar},topCenter:{points:["bc","tc"],overflow:Dt,offset:[0,-4],targetOffset:Ar},topRight:{points:["br","tr"],overflow:Dt,offset:[0,-4],targetOffset:Ar},bottomLeft:{points:["tl","bl"],overflow:Dt,offset:[0,4],targetOffset:Ar},bottomCenter:{points:["tc","bc"],overflow:Dt,offset:[0,4],targetOffset:Ar},bottomRight:{points:["tr","br"],overflow:Dt,offset:[0,4],targetOffset:Ar}},un=Mr,Rt=L.a.ESC,it=L.a.TAB;function st(Br){var sn=Br.visible,Sn=Br.setTriggerVisible,kt=Br.triggerRef,vt=Br.menuRef,Et=Br.onVisibleChange,Lt=Br.autoFocus,Mt=b.useRef(!1),bt=function(){if(sn&&kt.current){var yr,xn,vn,Wn;(yr=kt.current)===null||yr===void 0||((xn=yr.triggerRef)===null||xn===void 0||((vn=xn.current)===null||vn===void 0||((Wn=vn.focus)===null||Wn===void 0)))||Wn.call(vn),Sn(!1),typeof Et=="function"&&Et(!1)}},Qt=function(){var yr,xn;(yr=vt.current)===null||yr===void 0||((xn=yr.focus)===null||xn===void 0)||xn.call(yr),Mt.current=!0},tr=function(yr){var xn;switch(yr.keyCode){case Rt:bt();break;case it:!Mt.current&&((xn=vt.current)===null||xn===void 0?void 0:xn.focus)?(yr.preventDefault(),Qt()):bt();break}};b.useEffect(function(){return sn?(window.addEventListener("keydown",tr),Lt&&Object(Tt.a)(Qt,3),function(){window.removeEventListener("keydown",tr),Mt.current=!1}):function(){Mt.current=!1}},[sn])}var rr=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function Bt(Br,sn){var Sn=Br.arrow,kt=Sn===void 0?!1:Sn,vt=Br.prefixCls,Et=vt===void 0?"rc-dropdown":vt,Lt=Br.transitionName,Mt=Br.animation,bt=Br.align,Qt=Br.placement,tr=Qt===void 0?"bottomLeft":Qt,ar=Br.placements,yr=ar===void 0?un:ar,xn=Br.getPopupContainer,vn=Br.showAction,Wn=Br.hideAction,Yr=Br.overlayClassName,xr=Br.overlayStyle,ln=Br.visible,On=Br.trigger,In=On===void 0?["hover"]:On,Un=Br.autoFocus,ti=Object(c.a)(Br,rr),ui=b.useState(),si=Object(f.a)(ui,2),Pi=si[0],zi=si[1],Ri="visible"in Br?ln:Pi,Yi=b.useRef(null);b.useImperativeHandle(sn,function(){return Yi.current});var $n=b.useRef(null),gn="".concat(Et,"-menu");st({visible:Ri,setTriggerVisible:zi,triggerRef:Yi,menuRef:$n,onVisibleChange:Br.onVisibleChange,autoFocus:Un});var mi=function(){var Wr=Br.overlay,An;return typeof Wr=="function"?An=Wr():An=Wr,An},Hi=function(Wr){var An=Br.onOverlayClick,wt=mi().props;zi(!1),An&&An(Wr),wt.onClick&&wt.onClick(Wr)},Li=function(Wr){var An=Br.onVisibleChange;zi(Wr),typeof An=="function"&&An(Wr)},Bi=function(){var Wr,An=mi(),wt=Object(y.a)($n,An.ref),pr=(Wr={prefixCls:gn},Object(g.a)(Wr,"data-dropdown-inject",!0),Object(g.a)(Wr,"onClick",Hi),Object(g.a)(Wr,"ref",Object(y.c)(An)?wt:void 0),Wr);return typeof An.type=="string"&&(delete pr.prefixCls,delete pr["data-dropdown-inject"]),b.createElement(b.Fragment,null,kt&&b.createElement("div",{className:"".concat(Et,"-arrow")}),b.cloneElement(An,pr))},wr=function(){var Wr=Br.overlay;return typeof Wr=="function"?Bi:Bi()},lr=function(){var Wr=Br.minOverlayWidthMatchTrigger,An=Br.alignPoint;return"minOverlayWidthMatchTrigger"in Br?Wr:!An},on=function(){var Wr=Br.openClassName;return Wr!==void 0?Wr:"".concat(Et,"-open")},Zt=function(){var Wr=Br.children,An=Wr.props?Wr.props:{},wt=i()(An.className,on());return Ri&&Wr?b.cloneElement(Wr,{className:wt}):Wr},br=Wn;return!br&&In.indexOf("contextMenu")!==-1&&(br=["click"]),b.createElement(Ct.a,Object(o.a)(Object(o.a)({builtinPlacements:yr},ti),{},{prefixCls:Et,ref:Yi,popupClassName:i()(Yr,Object(g.a)({},"".concat(Et,"-show-arrow"),kt)),popupStyle:xr,action:In,showAction:vn,hideAction:br||[],popupPlacement:tr,popupAlign:bt,popupTransitionName:Lt,popupAnimation:Mt,popupVisible:Ri,stretch:lr()?"minWidth":"",popup:wr(),onPopupVisibleChange:Li,getPopupContainer:xn}),Zt())}var _t=b.forwardRef(Bt),Ht=_t;function pt(Br,sn){var Sn=Br.prefixCls,kt=Br.editable,vt=Br.locale,Et=Br.style;return!kt||kt.showAdd===!1?null:b.createElement("button",{ref:sn,type:"button",className:"".concat(Sn,"-nav-add"),style:Et,"aria-label":(vt==null?void 0:vt.addAriaLabel)||"Add tab",onClick:function(Mt){kt.onEdit("add",{event:Mt})}},kt.addIcon||"+")}var Ut=b.forwardRef(pt);function Sr(Br,sn){var Sn=Br.prefixCls,kt=Br.id,vt=Br.tabs,Et=Br.locale,Lt=Br.mobile,Mt=Br.moreIcon,bt=Mt===void 0?"More":Mt,Qt=Br.moreTransitionName,tr=Br.style,ar=Br.className,yr=Br.editable,xn=Br.tabBarGutter,vn=Br.rtl,Wn=Br.onTabClick,Yr=Object(b.useState)(!1),xr=Object(f.a)(Yr,2),ln=xr[0],On=xr[1],In=Object(b.useState)(null),Un=Object(f.a)(In,2),ti=Un[0],ui=Un[1],si="".concat(kt,"-more-popup"),Pi="".concat(Sn,"-dropdown"),zi=ti!==null?"".concat(si,"-").concat(ti):null,Ri=Et==null?void 0:Et.dropdownAriaLabel,Yi=b.createElement(ft,{onClick:function(wr){var lr=wr.key,on=wr.domEvent;Wn(lr,on),On(!1)},id:si,tabIndex:-1,role:"listbox","aria-activedescendant":zi,selectedKeys:[ti],"aria-label":Ri!==void 0?Ri:"expanded dropdown"},vt.map(function(Bi){return b.createElement(_e,{key:Bi.key,id:"".concat(si,"-").concat(Bi.key),role:"option","aria-controls":kt&&"".concat(kt,"-panel-").concat(Bi.key),disabled:Bi.disabled},Bi.tab)}));function $n(Bi){for(var wr=vt.filter(function(Or){return!Or.disabled}),lr=wr.findIndex(function(Or){return Or.key===ti})||0,on=wr.length,Zt=0;ZtHi?(gn=Yi,si.current="x"):(gn=$n,si.current="y");var Li=Date.now();Li-ti.current>100&&(ui.current=!1),(sn(-gn,-gn)||ui.current)&&(Ri.preventDefault(),ui.current=!0),ti.current=Li}var zi=Object(b.useRef)(null);zi.current={onTouchStart:On,onTouchMove:In,onTouchEnd:Un,onWheel:Pi},b.useEffect(function(){function Ri(mi){zi.current.onTouchStart(mi)}function Yi(mi){zi.current.onTouchMove(mi)}function $n(mi){zi.current.onTouchEnd(mi)}function gn(mi){zi.current.onWheel(mi)}return document.addEventListener("touchmove",Yi,{passive:!1}),document.addEventListener("touchend",$n,{passive:!1}),Br.current.addEventListener("touchstart",Ri,{passive:!1}),Br.current.addEventListener("wheel",gn),function(){document.removeEventListener("touchmove",Yi),document.removeEventListener("touchend",$n)}},[])}function Ai(){var Br=Object(b.useRef)(new Map);function sn(kt){return Br.current.has(kt)||Br.current.set(kt,b.createRef()),Br.current.get(kt)}function Sn(kt){Br.current.delete(kt)}return[sn,Sn]}function Ii(Br,sn){var Sn=b.useRef(Br),kt=b.useState({}),vt=Object(f.a)(kt,2),Et=vt[1];function Lt(Mt){var bt=typeof Mt=="function"?Mt(Sn.current):Mt;bt!==Sn.current&&sn(bt,Sn.current),Sn.current=bt,Et({})}return[Sn.current,Lt]}var $e=function(sn){var Sn=sn.position,kt=sn.prefixCls,vt=sn.extra;if(!vt)return null;var Et,Lt=vt;return Sn==="right"&&(Et=Lt.right||!Lt.left&&Lt||null),Sn==="left"&&(Et=Lt.left||null),Et?b.createElement("div",{className:"".concat(kt,"-extra-content")},Et):null};function Se(Br,sn){var Sn,kt=b.useContext(vr),vt=kt.prefixCls,Et=kt.tabs,Lt=Br.className,Mt=Br.style,bt=Br.id,Qt=Br.animated,tr=Br.activeKey,ar=Br.rtl,yr=Br.extra,xn=Br.editable,vn=Br.locale,Wn=Br.tabPosition,Yr=Br.tabBarGutter,xr=Br.children,ln=Br.onTabClick,On=Br.onTabScroll,In=Object(b.useRef)(),Un=Object(b.useRef)(),ti=Object(b.useRef)(),ui=Object(b.useRef)(),si=Ai(),Pi=Object(f.a)(si,2),zi=Pi[0],Ri=Pi[1],Yi=Wn==="top"||Wn==="bottom",$n=Ii(0,function(jn,Hn){Yi&&On&&On({direction:jn>Hn?"left":"right"})}),gn=Object(f.a)($n,2),mi=gn[0],Hi=gn[1],Li=Ii(0,function(jn,Hn){!Yi&&On&&On({direction:jn>Hn?"top":"bottom"})}),Bi=Object(f.a)(Li,2),wr=Bi[0],lr=Bi[1],on=Object(b.useState)(0),Zt=Object(f.a)(on,2),br=Zt[0],Or=Zt[1],Wr=Object(b.useState)(0),An=Object(f.a)(Wr,2),wt=An[0],pr=An[1],gr=Object(b.useState)(0),Fr=Object(f.a)(gr,2),nn=Fr[0],cn=Fr[1],tn=Object(b.useState)(0),Ln=Object(f.a)(tn,2),Tn=Ln[0],Gn=Ln[1],ci=Object(b.useState)(null),Jn=Object(f.a)(ci,2),pi=Jn[0],Si=Jn[1],Ni=Object(b.useState)(null),xi=Object(f.a)(Ni,2),yi=xi[0],vi=xi[1],Ti=Object(b.useState)(0),Ui=Object(f.a)(Ti,2),$i=Ui[0],Di=Ui[1],ua=Object(b.useState)(0),aa=Object(f.a)(ua,2),Xi=aa[0],Vi=aa[1],ta=I(new Map),Gi=Object(f.a)(ta,2),ga=Gi[0],ra=Gi[1],pa=B(Et,ga,br),_a="".concat(vt,"-nav-operations-hidden"),Da=0,Ra=0;Yi?ar?(Da=0,Ra=Math.max(0,br-pi)):(Da=Math.min(0,pi-br),Ra=0):(Da=Math.min(0,yi-wt),Ra=0);function Ao(jn){return jnRa?[Ra,!1]:[jn,!0]}var ja=Object(b.useRef)(),Ya=Object(b.useState)(),Ia=Object(f.a)(Ya,2),Va=Ia[0],co=Ia[1];function Ca(){co(Date.now())}function yo(){window.clearTimeout(ja.current)}li(In,function(jn,Hn){var Bn=!1;function ri(Yn,ii){Yn(function(ai){var ki=Ao(ai+ii),bi=Object(f.a)(ki,2),Ki=bi[0],Aa=bi[1];return Bn=Aa,Ki})}if(Yi){if(pi>=br)return Bn;ri(Hi,jn)}else{if(yi>=wt)return Bn;ri(lr,Hn)}return yo(),Ca(),Bn}),Object(b.useEffect)(function(){return yo(),Va&&(ja.current=window.setTimeout(function(){co(0)},100)),yo},[Va]);function uo(){var jn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tr,Hn=pa.get(jn);if(!Hn)return;if(Yi){var Bn=mi;ar?Hn.rightmi+pi&&(Bn=Hn.right+Hn.width-pi):Hn.left<-mi?Bn=-Hn.left:Hn.left+Hn.width>-mi+pi&&(Bn=-(Hn.left+Hn.width-pi)),lr(0),Hi(Ao(Bn)[0])}else{var ri=wr;Hn.top<-wr?ri=-Hn.top:Hn.top+Hn.height>-wr+yi&&(ri=-(Hn.top+Hn.height-yi)),Hi(0),lr(Ao(ri)[0])}}var Xa=U(pa,{width:pi,height:yi,left:mi,top:wr},{width:nn,height:Tn},{width:$i,height:Xi},Object(o.a)(Object(o.a)({},Br),{},{tabs:Et})),Oo=Object(f.a)(Xa,2),oa=Oo[0],qa=Oo[1],oo=Et.map(function(jn){var Hn=jn.key;return b.createElement(D,{id:bt,prefixCls:vt,key:Hn,rtl:ar,tab:jn,closable:jn.closable,editable:xn,active:Hn===tr,tabPosition:Wn,tabBarGutter:Yr,renderWrapper:xr,removeAriaLabel:vn==null?void 0:vn.removeAriaLabel,ref:zi(Hn),onClick:function(ri){ln(Hn,ri)},onRemove:function(){Ri(Hn)},onFocus:function(){uo(Hn),Ca(),ar||(In.current.scrollLeft=0),In.current.scrollTop=0}})}),Ro=_(function(){var jn,Hn,Bn,ri,Yn,ii,ai,ki,bi,Ki=((jn=In.current)===null||jn===void 0?void 0:jn.offsetWidth)||0,Aa=((Hn=In.current)===null||Hn===void 0?void 0:Hn.offsetHeight)||0,ea=((Bn=ui.current)===null||Bn===void 0?void 0:Bn.offsetWidth)||0,Ji=((ri=ui.current)===null||ri===void 0?void 0:ri.offsetHeight)||0,sa=((Yn=ti.current)===null||Yn===void 0?void 0:Yn.offsetWidth)||0,fa=((ii=ti.current)===null||ii===void 0?void 0:ii.offsetHeight)||0;Si(Ki),vi(Aa),Di(ea),Vi(Ji);var xo=(((ai=Un.current)===null||ai===void 0?void 0:ai.offsetWidth)||0)-ea,Qa=(((ki=Un.current)===null||ki===void 0?void 0:ki.offsetHeight)||0)-Ji;Or(xo),pr(Qa);var Wi=(bi=ti.current)===null||bi===void 0?void 0:bi.className.includes(_a);cn(xo-(Wi?0:sa)),Gn(Qa-(Wi?0:fa)),ra(function(){var qi=new Map;return Et.forEach(function(ca){var ma=ca.key,ka=zi(ma).current;ka&&qi.set(ma,{width:ka.offsetWidth,height:ka.offsetHeight,left:ka.offsetLeft,top:ka.offsetTop})}),qi})}),Ga=Et.slice(0,oa),_o=Et.slice(qa+1),go=[].concat(Object(s.a)(Ga),Object(s.a)(_o)),Ja=Object(b.useState)(),Fa=Object(f.a)(Ja,2),ha=Fa[0],rt=Fa[1],cr=pa.get(tr),Pr=Object(b.useRef)();function Lr(){a.a.cancel(Pr.current)}Object(b.useEffect)(function(){var jn={};return cr&&(Yi?(ar?jn.right=cr.right:jn.left=cr.left,jn.width=cr.width):(jn.top=cr.top,jn.height=cr.height)),Lr(),Pr.current=a()(function(){rt(jn)}),Lr},[cr,Yi,ar]),Object(b.useEffect)(function(){uo()},[tr,cr,pa,Yi]),Object(b.useEffect)(function(){Ro()},[ar,Yr,tr,Et.map(function(jn){return jn.key}).join("_")]);var _n=!!go.length,Vr="".concat(vt,"-nav-wrap"),_r,kn,Ur,En;return Yi?ar?(kn=mi>0,_r=mi+pi0&&arguments[0]!==void 0?arguments[0]:"";return R+=1,"".concat(B).concat(R)}}(),N=function(R){r()(M,R);var B=n()(M);function M(U){var F;g()(this,M),F=B.call(this,U),F.responsiveHandler=function(V){F.setState({below:V.matches});var z=F.props.onBreakpoint,J=F.state.collapsed;z&&z(V.matches),J!==V.matches&&F.setCollapsed(V.matches,"responsive")},F.setCollapsed=function(V,z){"collapsed"in F.props||F.setState({collapsed:V});var J=F.props.onCollapse;J&&J(V,z)},F.toggle=function(){var V=!F.state.collapsed;F.setCollapsed(V,"clickTrigger")},F.renderSider=function(V){var z,J=V.getPrefixCls,$=F.props,ce=$.prefixCls,ae=$.className,Ae=$.theme,Ie=$.collapsible,De=$.reverseArrow,Ke=$.trigger,me=$.style,Ue=$.width,oe=$.collapsedWidth,te=$.zeroWidthTriggerStyle,Qe=$.children,se=S($,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),Y=F.state,X=Y.collapsed,Q=Y.below,ge=J("layout-sider",ce),de=Object(a.default)(se,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Te=X?oe:Ue,xe=w(Te)?"".concat(Te,"px"):String(Te),le=parseFloat(String(oe||0))===0?e.createElement("span",{onClick:F.toggle,className:t()("".concat(ge,"-zero-width-trigger"),"".concat(ge,"-zero-width-trigger-").concat(De?"right":"left")),style:te},Ke||e.createElement(u.a,null)):null,fe={expanded:De?e.createElement(p.a,null):e.createElement(v.a,null),collapsed:De?e.createElement(v.a,null):e.createElement(p.a,null)},Ee=X?"collapsed":"expanded",Ge=fe[Ee],lt=Ke!==null?le||e.createElement("div",{className:"".concat(ge,"-trigger"),onClick:F.toggle,style:{width:xe}},Ke||Ge):null,Je=A()(A()({},me),{flex:"0 0 ".concat(xe),maxWidth:xe,minWidth:xe,width:xe}),Ce=t()(ae,ge,"".concat(ge,"-").concat(Ae),(z={},x()(z,"".concat(ge,"-collapsed"),!!X),x()(z,"".concat(ge,"-has-trigger"),Ie&&Ke!==null&&!le),x()(z,"".concat(ge,"-below"),!!Q),x()(z,"".concat(ge,"-zero-width"),parseFloat(xe)===0),z));return e.createElement("aside",A()({className:Ce},de,{style:Je}),e.createElement("div",{className:"".concat(ge,"-children")},Qe),Ie||Q&&le?lt:null)},F.uniqueId=L("ant-sider-");var j;typeof window!="undefined"&&(j=window.matchMedia),j&&U.breakpoint&&U.breakpoint in _&&(F.mql=j("(max-width: ".concat(_[U.breakpoint],")")));var W;return"collapsed"in U?W=U.collapsed:W=U.defaultCollapsed,F.state={collapsed:W,below:!1},F}return c()(M,[{key:"componentDidMount",value:function(){var F;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(F=this.props)===null||F===void 0||F.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var F,j;(F=this===null||this===void 0?void 0:this.mql)===null||F===void 0||F.removeListener(this.responsiveHandler),(j=this.props)===null||j===void 0||j.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var F=this.state.collapsed,j=this.props.collapsedWidth;return e.createElement(I.Provider,{value:{siderCollapsed:F,collapsedWidth:j}},e.createElement(E.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(F){return"collapsed"in F?{collapsed:F.collapsed}:null}}]),M}(e.Component);N.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var D=function(R){r()(M,R);var B=n()(M);function M(){return g()(this,M),B.apply(this,arguments)}return c()(M,[{key:"render",value:function(){var F=this;return e.createElement(y.a.Consumer,null,function(j){return e.createElement(N,A()({},j,F.props))})}}]),M}(e.Component)},ZYIC:function(H,P,d){var O=d("zM3Q"),x={seriesType:"lines",plan:O(),reset:function(C){var A=C.coordinateSystem,b=C.get("polyline"),g=C.pipelineContext.large;function f(c,o){var r=[];if(g){var i,n=c.end-c.start;if(b){for(var e=0,s=c.start;s>1)%2;u.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",s[h]+":0",t[p]+":0",s[1-h]+":auto",t[1-p]+":auto",""].join("!important;"),i.appendChild(l),e.push(l)}return e}function o(i,n,e){for(var s=e?"invTrans":"trans",t=n[s],a=n.srcCoords,l=!0,u=[],h=[],p=0;p<4;p++){var m=i[p].getBoundingClientRect(),v=2*p,y=m.left,E=m.top;u.push(y,E),l=l&&a&&y===a[v]&&E===a[v+1],h.push(i[p].offsetLeft,i[p].offsetTop)}return l&&t?t:(n.srcCoords=u,n[s]=e?C(h,u):C(u,h))}function r(i){return i.nodeName.toUpperCase()==="CANVAS"}P.transformLocalCoord=g,P.transformCoordWithViewport=f,P.isCanvasEl=r},Znkb:function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("ProS"),A=d("zTMp"),b=C.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(r,i,n,e){this.axisPointerClass&&A.fixValue(r),b.superApply(this,"render",arguments),g(this,r,i,n,e,!0)},updateAxisPointer:function(r,i,n,e,s){g(this,r,i,n,e,!1)},remove:function(r,i){var n=this._axisPointer;n&&n.remove(i),b.superApply(this,"remove",arguments)},dispose:function(r,i){f(this,i),b.superApply(this,"dispose",arguments)}});function g(r,i,n,e,s,t){var a=b.getAxisPointerClass(r.axisPointerClass);if(!a)return;var l=A.getAxisPointerModel(i);l?(r._axisPointer||(r._axisPointer=new a)).render(i,l,e,t):f(r,e)}function f(r,i,n){var e=r._axisPointer;e&&e.dispose(i,n),r._axisPointer=null}var c=[];b.registerAxisPointerClass=function(r,i){c[r]=i},b.getAxisPointerClass=function(r){return r&&c[r]};var o=b;H.exports=o},"Znn+":function(H,P,d){"use strict";var O=d("cIOH"),x=d.n(O),C=d("9ama"),A=d.n(C)},ZqQs:function(H,P,d){var O=d("bYtY");function x(g){var f=g&&g.timeline;O.isArray(f)||(f=f?[f]:[]),O.each(f,function(c){if(!c)return;C(c)})}function C(g){var f=g.type,c={number:"value",time:"time"};if(c[f]&&(g.axisType=c[f],delete g.type),A(g),b(g,"controlPosition")){var o=g.controlStyle||(g.controlStyle={});b(o,"position")||(o.position=g.controlPosition),o.position==="none"&&!b(o,"show")&&(o.show=!1,delete o.position),delete g.controlPosition}O.each(g.data||[],function(r){O.isObject(r)&&!O.isArray(r)&&(!b(r,"value")&&b(r,"name")&&(r.value=r.name),A(r))})}function A(g){var f=g.itemStyle||(g.itemStyle={}),c=f.emphasis||(f.emphasis={}),o=g.label||g.label||{},r=o.normal||(o.normal={}),i={normal:1,emphasis:1};O.each(o,function(n,e){!i[e]&&!b(r,e)&&(r[e]=n)}),c.label&&!b(o,"emphasis")&&(o.emphasis=c.label,delete c.label)}function b(g,f){return g.hasOwnProperty(f)}H.exports=x},Zss7:function(H,P,d){var O;(function(x){var C=/^\s+/,A=/\s+$/,b=0,g=x.round,f=x.min,c=x.max,o=x.random;function r(me,Ue){if(me=me||"",Ue=Ue||{},me instanceof r)return me;if(!(this instanceof r))return new r(me,Ue);var oe=i(me);this._originalInput=me,this._r=oe.r,this._g=oe.g,this._b=oe.b,this._a=oe.a,this._roundA=g(100*this._a)/100,this._format=Ue.format||oe.format,this._gradientType=Ue.gradientType,this._r<1&&(this._r=g(this._r)),this._g<1&&(this._g=g(this._g)),this._b<1&&(this._b=g(this._b)),this._ok=oe.ok,this._tc_id=b++}r.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Ue=this.toRgb();return(Ue.r*299+Ue.g*587+Ue.b*114)/1e3},getLuminance:function(){var Ue=this.toRgb(),oe,te,Qe,se,Y,X;return oe=Ue.r/255,te=Ue.g/255,Qe=Ue.b/255,oe<=.03928?se=oe/12.92:se=x.pow((oe+.055)/1.055,2.4),te<=.03928?Y=te/12.92:Y=x.pow((te+.055)/1.055,2.4),Qe<=.03928?X=Qe/12.92:X=x.pow((Qe+.055)/1.055,2.4),.2126*se+.7152*Y+.0722*X},setAlpha:function(Ue){return this._a=U(Ue),this._roundA=g(100*this._a)/100,this},toHsv:function(){var Ue=t(this._r,this._g,this._b);return{h:Ue.h*360,s:Ue.s,v:Ue.v,a:this._a}},toHsvString:function(){var Ue=t(this._r,this._g,this._b),oe=g(Ue.h*360),te=g(Ue.s*100),Qe=g(Ue.v*100);return this._a==1?"hsv("+oe+", "+te+"%, "+Qe+"%)":"hsva("+oe+", "+te+"%, "+Qe+"%, "+this._roundA+")"},toHsl:function(){var Ue=e(this._r,this._g,this._b);return{h:Ue.h*360,s:Ue.s,l:Ue.l,a:this._a}},toHslString:function(){var Ue=e(this._r,this._g,this._b),oe=g(Ue.h*360),te=g(Ue.s*100),Qe=g(Ue.l*100);return this._a==1?"hsl("+oe+", "+te+"%, "+Qe+"%)":"hsla("+oe+", "+te+"%, "+Qe+"%, "+this._roundA+")"},toHex:function(Ue){return l(this._r,this._g,this._b,Ue)},toHexString:function(Ue){return"#"+this.toHex(Ue)},toHex8:function(Ue){return u(this._r,this._g,this._b,this._a,Ue)},toHex8String:function(Ue){return"#"+this.toHex8(Ue)},toRgb:function(){return{r:g(this._r),g:g(this._g),b:g(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+g(this._r)+", "+g(this._g)+", "+g(this._b)+")":"rgba("+g(this._r)+", "+g(this._g)+", "+g(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:g(F(this._r,255)*100)+"%",g:g(F(this._g,255)*100)+"%",b:g(F(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+g(F(this._r,255)*100)+"%, "+g(F(this._g,255)*100)+"%, "+g(F(this._b,255)*100)+"%)":"rgba("+g(F(this._r,255)*100)+"%, "+g(F(this._g,255)*100)+"%, "+g(F(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:B[l(this._r,this._g,this._b,!0)]||!1},toFilter:function(Ue){var oe="#"+h(this._r,this._g,this._b,this._a),te=oe,Qe=this._gradientType?"GradientType = 1, ":"";if(Ue){var se=r(Ue);te="#"+h(se._r,se._g,se._b,se._a)}return"progid:DXImageTransform.Microsoft.gradient("+Qe+"startColorstr="+oe+",endColorstr="+te+")"},toString:function(Ue){var oe=!!Ue;Ue=Ue||this._format;var te=!1,Qe=this._a<1&&this._a>=0,se=!oe&&Qe&&(Ue==="hex"||Ue==="hex6"||Ue==="hex3"||Ue==="hex4"||Ue==="hex8"||Ue==="name");return se?Ue==="name"&&this._a===0?this.toName():this.toRgbString():(Ue==="rgb"&&(te=this.toRgbString()),Ue==="prgb"&&(te=this.toPercentageRgbString()),(Ue==="hex"||Ue==="hex6")&&(te=this.toHexString()),Ue==="hex3"&&(te=this.toHexString(!0)),Ue==="hex4"&&(te=this.toHex8String(!0)),Ue==="hex8"&&(te=this.toHex8String()),Ue==="name"&&(te=this.toName()),Ue==="hsl"&&(te=this.toHslString()),Ue==="hsv"&&(te=this.toHsvString()),te||this.toHexString())},clone:function(){return r(this.toString())},_applyModification:function(Ue,oe){var te=Ue.apply(null,[this].concat([].slice.call(oe)));return this._r=te._r,this._g=te._g,this._b=te._b,this.setAlpha(te._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(E,arguments)},darken:function(){return this._applyModification(T,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(Ue,oe){return Ue.apply(null,[this].concat([].slice.call(oe)))},analogous:function(){return this._applyCombination(N,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(D,arguments)},splitcomplement:function(){return this._applyCombination(L,arguments)},triad:function(){return this._applyCombination(_,arguments)},tetrad:function(){return this._applyCombination(I,arguments)}},r.fromRatio=function(me,Ue){if(typeof me=="object"){var oe={};for(var te in me)me.hasOwnProperty(te)&&(te==="a"?oe[te]=me[te]:oe[te]=$(me[te]));me=oe}return r(me,Ue)};function i(me){var Ue={r:0,g:0,b:0},oe=1,te=null,Qe=null,se=null,Y=!1,X=!1;return typeof me=="string"&&(me=De(me)),typeof me=="object"&&(Ie(me.r)&&Ie(me.g)&&Ie(me.b)?(Ue=n(me.r,me.g,me.b),Y=!0,X=String(me.r).substr(-1)==="%"?"prgb":"rgb"):Ie(me.h)&&Ie(me.s)&&Ie(me.v)?(te=$(me.s),Qe=$(me.v),Ue=a(me.h,te,Qe),Y=!0,X="hsv"):Ie(me.h)&&Ie(me.s)&&Ie(me.l)&&(te=$(me.s),se=$(me.l),Ue=s(me.h,te,se),Y=!0,X="hsl"),me.hasOwnProperty("a")&&(oe=me.a)),oe=U(oe),{ok:Y,format:me.format||X,r:f(255,c(Ue.r,0)),g:f(255,c(Ue.g,0)),b:f(255,c(Ue.b,0)),a:oe}}function n(me,Ue,oe){return{r:F(me,255)*255,g:F(Ue,255)*255,b:F(oe,255)*255}}function e(me,Ue,oe){me=F(me,255),Ue=F(Ue,255),oe=F(oe,255);var te=c(me,Ue,oe),Qe=f(me,Ue,oe),se,Y,X=(te+Qe)/2;if(te==Qe)se=Y=0;else{var Q=te-Qe;Y=X>.5?Q/(2-te-Qe):Q/(te+Qe);switch(te){case me:se=(Ue-oe)/Q+(Ue1&&(Te-=1),Te<1/6?ge+(de-ge)*6*Te:Te<1/2?de:Te<2/3?ge+(de-ge)*(2/3-Te)*6:ge}if(Ue===0)te=Qe=se=oe;else{var X=oe<.5?oe*(1+Ue):oe+Ue-oe*Ue,Q=2*oe-X;te=Y(Q,X,me+1/3),Qe=Y(Q,X,me),se=Y(Q,X,me-1/3)}return{r:te*255,g:Qe*255,b:se*255}}function t(me,Ue,oe){me=F(me,255),Ue=F(Ue,255),oe=F(oe,255);var te=c(me,Ue,oe),Qe=f(me,Ue,oe),se,Y,X=te,Q=te-Qe;if(Y=te===0?0:Q/te,te==Qe)se=0;else{switch(te){case me:se=(Ue-oe)/Q+(Ue>1)+720)%360;--Ue;)te.h=(te.h+Qe)%360,se.push(r(te));return se}function D(me,Ue){Ue=Ue||6;for(var oe=r(me).toHsv(),te=oe.h,Qe=oe.s,se=oe.v,Y=[],X=1/Ue;Ue--;)Y.push(r({h:te,s:Qe,v:se})),se=(se+X)%1;return Y}r.mix=function(me,Ue,oe){oe=oe===0?0:oe||50;var te=r(me).toRgb(),Qe=r(Ue).toRgb(),se=oe/100,Y={r:(Qe.r-te.r)*se+te.r,g:(Qe.g-te.g)*se+te.g,b:(Qe.b-te.b)*se+te.b,a:(Qe.a-te.a)*se+te.a};return r(Y)},r.readability=function(me,Ue){var oe=r(me),te=r(Ue);return(x.max(oe.getLuminance(),te.getLuminance())+.05)/(x.min(oe.getLuminance(),te.getLuminance())+.05)},r.isReadable=function(me,Ue,oe){var te=r.readability(me,Ue),Qe,se;se=!1,Qe=Ke(oe);switch(Qe.level+Qe.size){case"AAsmall":case"AAAlarge":se=te>=4.5;break;case"AAlarge":se=te>=3;break;case"AAAsmall":se=te>=7;break}return se},r.mostReadable=function(me,Ue,oe){var te=null,Qe=0,se,Y,X,Q;oe=oe||{},Y=oe.includeFallbackColors,X=oe.level,Q=oe.size;for(var ge=0;geQe&&(Qe=se,te=r(Ue[ge]));return r.isReadable(me,te,{level:X,size:Q})||!Y?te:(oe.includeFallbackColors=!1,r.mostReadable(me,["#fff","#000"],oe))};var R=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",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",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",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:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},B=r.hexNames=M(R);function M(me){var Ue={};for(var oe in me)me.hasOwnProperty(oe)&&(Ue[me[oe]]=oe);return Ue}function U(me){return me=parseFloat(me),(isNaN(me)||me<0||me>1)&&(me=1),me}function F(me,Ue){V(me)&&(me="100%");var oe=z(me);return me=f(Ue,c(0,parseFloat(me))),oe&&(me=parseInt(me*Ue,10)/100),x.abs(me-Ue)<1e-6?1:me%Ue/parseFloat(Ue)}function j(me){return f(1,c(0,me))}function W(me){return parseInt(me,16)}function V(me){return typeof me=="string"&&me.indexOf(".")!=-1&&parseFloat(me)===1}function z(me){return typeof me=="string"&&me.indexOf("%")!=-1}function J(me){return me.length==1?"0"+me:""+me}function $(me){return me<=1&&(me=me*100+"%"),me}function ce(me){return x.round(parseFloat(me)*255).toString(16)}function ae(me){return W(me)/255}var Ae=function(){var me="[-\\+]?\\d+%?",Ue="[-\\+]?\\d*\\.\\d+%?",oe="(?:"+Ue+")|(?:"+me+")",te="[\\s|\\(]+("+oe+")[,|\\s]+("+oe+")[,|\\s]+("+oe+")\\s*\\)?",Qe="[\\s|\\(]+("+oe+")[,|\\s]+("+oe+")[,|\\s]+("+oe+")[,|\\s]+("+oe+")\\s*\\)?";return{CSS_UNIT:new RegExp(oe),rgb:new RegExp("rgb"+te),rgba:new RegExp("rgba"+Qe),hsl:new RegExp("hsl"+te),hsla:new RegExp("hsla"+Qe),hsv:new RegExp("hsv"+te),hsva:new RegExp("hsva"+Qe),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Ie(me){return!!Ae.CSS_UNIT.exec(me)}function De(me){me=me.replace(C,"").replace(A,"").toLowerCase();var Ue=!1;if(R[me])me=R[me],Ue=!0;else if(me=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var oe;return(oe=Ae.rgb.exec(me))?{r:oe[1],g:oe[2],b:oe[3]}:(oe=Ae.rgba.exec(me))?{r:oe[1],g:oe[2],b:oe[3],a:oe[4]}:(oe=Ae.hsl.exec(me))?{h:oe[1],s:oe[2],l:oe[3]}:(oe=Ae.hsla.exec(me))?{h:oe[1],s:oe[2],l:oe[3],a:oe[4]}:(oe=Ae.hsv.exec(me))?{h:oe[1],s:oe[2],v:oe[3]}:(oe=Ae.hsva.exec(me))?{h:oe[1],s:oe[2],v:oe[3],a:oe[4]}:(oe=Ae.hex8.exec(me))?{r:W(oe[1]),g:W(oe[2]),b:W(oe[3]),a:ae(oe[4]),format:Ue?"name":"hex8"}:(oe=Ae.hex6.exec(me))?{r:W(oe[1]),g:W(oe[2]),b:W(oe[3]),format:Ue?"name":"hex"}:(oe=Ae.hex4.exec(me))?{r:W(oe[1]+""+oe[1]),g:W(oe[2]+""+oe[2]),b:W(oe[3]+""+oe[3]),a:ae(oe[4]+""+oe[4]),format:Ue?"name":"hex8"}:(oe=Ae.hex3.exec(me))?{r:W(oe[1]+""+oe[1]),g:W(oe[2]+""+oe[2]),b:W(oe[3]+""+oe[3]),format:Ue?"name":"hex"}:!1}function Ke(me){var Ue,oe;return me=me||{level:"AA",size:"small"},Ue=(me.level||"AA").toUpperCase(),oe=(me.size||"small").toLowerCase(),Ue!=="AA"&&Ue!=="AAA"&&(Ue="AA"),oe!=="small"&&oe!=="large"&&(oe="small"),{level:Ue,size:oe}}H.exports?H.exports=r:!(O=function(){return r}.call(P,d,P,H),O!==void 0&&(H.exports=O))})(Math)},Zvw2:function(H,P,d){var O=d("bYtY"),x=d("hM6l"),C=function(b,g,f,c,o){x.call(this,b,g,f),this.type=c||"value",this.position=o||"bottom",this.orient=null};C.prototype={constructor:C,model:null,isHorizontal:function(){var b=this.position;return b==="top"||b==="bottom"},pointToData:function(b,g){return this.coordinateSystem.pointToData(b,g)[0]},toGlobalCoord:null,toLocalCoord:null},O.inherits(C,x);var A=C;H.exports=A},a7Wl:function(H,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={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"};P.default=O},a9QJ:function(H,P){var d={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function O(x,C){if(x==="world"){var A=d[C.name];if(A){var b=C.center;b[0]=A[0],b[1]=A[1]}}}H.exports=O},aHsQ:function(H,P,d){"use strict";var O=d("cIOH"),x=d.n(O),C=d("6D9b"),A=d.n(C)},aKvl:function(H,P,d){var O=d("Sj9i"),x=O.quadraticProjectPoint;function C(A,b,g,f,c,o,r,i,n){if(r===0)return!1;var e=r;if(n>b+e&&n>f+e&&n>o+e||nA+e&&i>g+e&&i>c+e||i0&&_>0&&!R&&(S=0),S<0&&_<0&&!B&&(_=0));var M=T.ecModel;if(M&&w==="time"){var U=o("bar",M),F;if(C.each(U,function(V){F|=V.getBaseAxis()===T.axis}),F){var j=r(U),W=s(S,_,T,j);S=W.min,_=W.max}}return{extent:[S,_],fixMin:R,fixMax:B}}function s(E,T,w,S){var _=w.axis.getExtent(),I=_[1]-_[0],L=i(S,w.axis);if(L===void 0)return{min:E,max:T};var N=Infinity;C.each(L,function(F){N=Math.min(F.offset,N)});var D=-Infinity;C.each(L,function(F){D=Math.max(F.offset+F.width,D)}),N=Math.abs(N),D=Math.abs(D);var R=N+D,B=T-E,M=1-(N+D)/I,U=B/M-B;return T+=U*(D/R),E-=U*(N/R),{min:E,max:T}}function t(E,T){var w=e(E,T),S=w.extent,_=T.get("splitNumber");E.type==="log"&&(E.base=T.get("logBase"));var I=E.type;E.setExtent(S[0],S[1]),E.niceExtent({splitNumber:_,fixMin:w.fixMin,fixMax:w.fixMax,minInterval:I==="interval"||I==="time"?T.get("minInterval"):null,maxInterval:I==="interval"||I==="time"?T.get("maxInterval"):null});var L=T.get("interval");L!=null&&(E.setInterval&&E.setInterval(L))}function a(E,T){if(T=T||E.get("type"),T)switch(T){case"category":return new A(E.getOrdinalMeta?E.getOrdinalMeta():E.getCategories(),[Infinity,-Infinity]);case"value":return new b;default:return(g.getClass(T)||b).create(E)}}function l(E){var T=E.scale.getExtent(),w=T[0],S=T[1];return!(w>0&&S>0||w<0&&S<0)}function u(E){var T=E.getLabelModel().get("formatter"),w=E.type==="category"?E.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(S){return function(_){return _=E.scale.getLabel(_),S.replace("{value}",_!=null?_:"")}}(T),T):typeof T=="function"?function(S,_){return w!=null&&(_=S-w),T(h(E,S),_)}:function(S){return E.scale.getLabel(S)}}function h(E,T){return E.type==="category"?E.scale.getLabel(T):T}function p(E){var T=E.model,w=E.scale;if(!T.get("axisLabel.show")||w.isBlank())return;var S=E.type==="category",_,I,L=w.getExtent();S?I=w.count():(_=w.getTicks(),I=_.length);var N=E.getLabelModel(),D=u(E),R,B=1;I>40&&(B=Math.ceil(I/40));for(var M=0;MW.blockIndex,J=z?W.step:null,$=V&&V.modDataCount,ce=$!=null?Math.ceil($/J):null;return{step:J,modBy:ce,modDataCount:$}},a.getPipeline=function(F){return this._pipelineMap.get(F)},a.updateStreamModes=function(F,j){var W=this._pipelineMap.get(F.uid),V=F.getData(),z=V.count(),J=W.progressiveEnabled&&j.incrementalPrepareRender&&z>=W.threshold,$=F.get("large")&&z>=F.get("largeThreshold"),ce=F.get("progressiveChunkMode")==="mod"?z:null;F.pipelineContext=W.context={progressiveRender:J,modDataCount:ce,large:$}},a.restorePipelines=function(F){var j=this,W=j._pipelineMap=b();F.eachSeries(function(V){var z=V.getProgressive(),J=V.uid;W.set(J,{id:J,head:null,tail:null,threshold:V.getProgressiveThreshold(),progressiveEnabled:z&&!(V.preventIncremental&&V.preventIncremental()),blockIndex:-1,step:Math.round(z||700),count:0}),L(j,V,V.dataTask)})},a.prepareStageTasks=function(){var F=this._stageTaskMap,j=this.ecInstance.getModel(),W=this.api;x(this._allHandlers,function(V){var z=F.get(V.uid)||F.set(V.uid,[]);V.reset&&h(this,V,z,j,W),V.overallReset&&p(this,V,z,j,W)},this)},a.prepareView=function(F,j,W,V){var z=F.renderTask,J=z.context;J.model=j,J.ecModel=W,J.api=V,z.__block=!F.incrementalPrepareRender,L(this,j,z)},a.performDataProcessorTasks=function(F,j){l(this,this._dataProcessorHandlers,F,j,{block:!0})},a.performVisualTasks=function(F,j,W){l(this,this._visualHandlers,F,j,W)};function l(F,j,W,V,z){z=z||{};var J;x(j,function(ce,ae){if(z.visualType&&z.visualType!==ce.visualType)return;var Ae=F._stageTaskMap.get(ce.uid),Ie=Ae.seriesTaskMap,De=Ae.overallTask;if(De){var Ke,me=De.agentStubMap;me.each(function(oe){$(z,oe)&&(oe.dirty(),Ke=!0)}),Ke&&De.dirty(),u(De,V);var Ue=F.getPerformArgs(De,z.block);me.each(function(oe){oe.perform(Ue)}),J|=De.perform(Ue)}else Ie&&Ie.each(function(oe,te){$(z,oe)&&oe.dirty();var Qe=F.getPerformArgs(oe,z.block);Qe.skip=!ce.performRawSeries&&W.isSeriesFiltered(oe.context.model),u(oe,V),J|=oe.perform(Qe)})});function $(ce,ae){return ce.setDirty&&(!ce.dirtyMap||ce.dirtyMap.get(ae.__pipeline.id))}F.unfinished|=J}a.performSeriesTasks=function(F){var j;F.eachSeries(function(W){j|=W.dataTask.perform()}),this.unfinished|=j},a.plan=function(){this._pipelineMap.each(function(F){var j=F.tail;do{if(j.__block){F.blockIndex=j.__idxInPipeline;break}j=j.getUpstream()}while(j)})};var u=a.updatePayload=function(F,j){j!=="remain"&&(F.context.payload=j)};function h(F,j,W,V,z){var J=W.seriesTaskMap||(W.seriesTaskMap=b()),$=j.seriesType,ce=j.getTargetSeries;j.createOnAllSeries?V.eachRawSeries(ae):$?V.eachRawSeriesByType($,ae):ce&&ce(V,z).each(ae);function ae(Ie){var De=Ie.uid,Ke=J.get(De)||J.set(De,c({plan:T,reset:w,count:I}));Ke.context={model:Ie,ecModel:V,api:z,useClearVisual:j.isVisual&&!j.isLayout,plan:j.plan,reset:j.reset,scheduler:F},L(F,Ie,Ke)}var Ae=F._pipelineMap;J.each(function(Ie,De){Ae.get(De)||(Ie.dispose(),J.removeKey(De))})}function p(F,j,W,V,z){var J=W.overallTask=W.overallTask||c({reset:m});J.context={ecModel:V,api:z,overallReset:j.overallReset,scheduler:F};var $=J.agentStubMap=J.agentStubMap||b(),ce=j.seriesType,ae=j.getTargetSeries,Ae=!0,Ie=j.modifyOutputEnd;ce?V.eachRawSeriesByType(ce,De):ae?ae(V,z).each(De):(Ae=!1,x(V.getSeries(),De));function De(me){var Ue=me.uid,oe=$.get(Ue);oe||(oe=$.set(Ue,c({reset:v,onDirty:E})),J.dirty()),oe.context={model:me,overallProgress:Ae,modifyOutputEnd:Ie},oe.agent=J,oe.__block=Ae,L(F,me,oe)}var Ke=F._pipelineMap;$.each(function(me,Ue){Ke.get(Ue)||(me.dispose(),J.dirty(),$.removeKey(Ue))})}function m(F){F.overallReset(F.ecModel,F.api,F.payload)}function v(F,j){return F.overallProgress&&y}function y(){this.agent.dirty(),this.getDownstream().dirty()}function E(){this.agent&&this.agent.dirty()}function T(F){return F.plan&&F.plan(F.model,F.ecModel,F.api,F.payload)}function w(F){F.useClearVisual&&F.data.clearAllVisual();var j=F.resetDefines=s(F.reset(F.model,F.ecModel,F.api,F.payload));return j.length>1?C(j,function(W,V){return _(V)}):S}var S=_(0);function _(F){return function(j,W){var V=W.data,z=W.resetDefines[F];if(z&&z.dataEach)for(var J=j.start;J=0&&!(i[s]<=o);s--);s=Math.min(s,n-2)}else{for(var s=e;so);s++);s=Math.min(s-1,n-2)}A.lerp(c.position,r[s],r[s+1],(o-i[s])/(i[s+1]-i[s]));var a=r[s+1][0]-r[s][0],l=r[s+1][1]-r[s][1];c.rotation=-Math.atan2(l,a)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=o,c.ignore=!1},x.inherits(b,C);var f=b;H.exports=f},apAg:function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("bsht")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="SearchOutlined";var c=A.forwardRef(f);P.default=c},as94:function(H,P,d){var O=d("7aKB"),x=d("3LNs"),C=d("IwbS"),A=d("/y7N"),b=d("Fofx"),g=d("+rIm"),f=d("Znkb"),c=x.extend({makeElOption:function(n,e,s,t,a){var l=s.axis;l.dim==="angle"&&(this.animationThreshold=Math.PI/18);var u=l.polar,h=u.getOtherAxis(l),p=h.getExtent(),m;m=l["dataTo"+O.capitalFirst(l.dim)](e);var v=t.get("type");if(v&&v!=="none"){var y=A.buildElStyle(t),E=r[v](l,u,m,p,y);E.style=y,n.graphicKey=E.type,n.pointer=E}var T=t.get("label.margin"),w=o(e,s,t,u,T);A.buildLabelElOption(n,s,t,a,w)}});function o(n,e,s,t,a){var l=e.axis,u=l.dataToCoord(n),h=t.getAngleAxis().getExtent()[0];h=h/180*Math.PI;var p=t.getRadiusAxis().getExtent(),m,v,y;if(l.dim==="radius"){var E=b.create();b.rotate(E,E,h),b.translate(E,E,[t.cx,t.cy]),m=C.applyTransform([u,-a],E);var T=e.getModel("axisLabel").get("rotate")||0,w=g.innerTextLayout(h,T*Math.PI/180,-1);v=w.textAlign,y=w.textVerticalAlign}else{var S=p[1];m=t.coordToPoint([S+a,u]);var _=t.cx,I=t.cy;v=Math.abs(m[0]-_)/S<.3?"center":m[0]>_?"left":"right",y=Math.abs(m[1]-I)/S<.3?"middle":m[1]>I?"top":"bottom"}return{position:m,align:v,verticalAlign:y}}var r={line:function(n,e,s,t,a){return n.dim==="angle"?{type:"Line",shape:A.makeLineShape(e.coordToPoint([t[0],s]),e.coordToPoint([t[1],s]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:s}}},shadow:function(n,e,s,t,a){var l=Math.max(1,n.getBandWidth()),u=Math.PI/180;return n.dim==="angle"?{type:"Sector",shape:A.makeSectorShape(e.cx,e.cy,t[0],t[1],(-s-l/2)*u,(-s+l/2)*u)}:{type:"Sector",shape:A.makeSectorShape(e.cx,e.cy,s-l/2,s+l/2,0,Math.PI*2)}}};f.registerAxisPointerClass("PolarAxisPointer",c);var i=c;H.exports=i},b56q:function(H,P,d){},b80e:function(H,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var C=x(d("3tO9")),A=O(d("q1tI")),b=x(d("gKaM")),g=x(d("KQxl")),f=function(r,i){return A.createElement(g.default,(0,C.default)((0,C.default)({},r),{},{ref:i,icon:b.default}))};f.displayName="DoubleLeftOutlined";var c=A.forwardRef(f);P.default=c},b9oc:function(H,P,d){var O=d("bYtY"),x=O.each,C="\0_ec_hist_store";function A(o,r){var i=c(o);x(r,function(n,e){for(var s=i.length-1;s>=0;s--){var t=i[s];if(t[e])break}if(s<0){var a=o.queryComponents({mainType:"dataZoom",subType:"select",id:e})[0];if(a){var l=a.getPercentRange();i[0][e]={dataZoomId:e,start:l[0],end:l[1]}}}}),i.push(r)}function b(o){var r=c(o),i=r[r.length-1];r.length>1&&r.pop();var n={};return x(i,function(e,s){for(var t=r.length-1;t>=0;t--){var e=r[t][s];if(e){n[s]=e;break}}}),n}function g(o){o[C]=null}function f(o){return c(o).length}function c(o){var r=o[C];return r||(r=o[C]=[{}]),r}P.push=A,P.pop=b,P.clear=g,P.count=f},bBKM:function(H,P,d){var O=d("Tghj"),x=O.__DEV__,C=d("ProS"),A=d("bYtY"),b=d("+rIm"),g=d("IwbS"),f=["axisLine","axisTickLabel","axisName"],c=C.extendComponentView({type:"radar",render:function(o,r,i){var n=this.group;n.removeAll(),this._buildAxes(o),this._buildSplitLineAndArea(o)},_buildAxes:function(o){var r=o.coordinateSystem,i=r.getIndicatorAxes(),n=A.map(i,function(e){var s=new b(e.model,{position:[r.cx,r.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return s});A.each(n,function(e){A.each(f,e.add,e),this.group.add(e.getGroup())},this)},_buildSplitLineAndArea:function(o){var r=o.coordinateSystem,i=r.getIndicatorAxes();if(!i.length)return;var n=o.get("shape"),e=o.getModel("splitLine"),s=o.getModel("splitArea"),t=e.getModel("lineStyle"),a=s.getModel("areaStyle"),l=e.get("show"),u=s.get("show"),h=t.get("color"),p=a.get("color");h=A.isArray(h)?h:[h],p=A.isArray(p)?p:[p];var m=[],v=[];function y(U,F,j){var W=j%F.length;return U[W]=U[W]||[],W}if(n==="circle")for(var E=i[0].getTicksCoords(),T=r.cx,w=r.cy,S=0;S1&&arguments[1]!==void 0?arguments[1]:"",B=arguments.length>2?arguments[2]:void 0,M=g()(D),U=w(R,B);return U&&M.push(U),M},_=function(D){var R=D.prefixCls,B=D.separator,M=B===void 0?"/":B,U=D.style,F=D.className,j=D.routes,W=D.children,V=D.itemRender,z=V===void 0?T:V,J=D.params,$=J===void 0?{}:J,ce=y(D,["prefixCls","separator","style","className","routes","children","itemRender","params"]),ae=f.useContext(s.b),Ae=ae.getPrefixCls,Ie=ae.direction,De,Ke=Ae("breadcrumb",R);if(j&&j.length>0){var me=[];De=j.map(function(oe){var te=w(oe.path,$);te&&me.push(te);var Qe;return oe.children&&oe.children.length&&(Qe=f.createElement(p.a,null,oe.children.map(function(se){return f.createElement(p.a.Item,{key:se.path||se.breadcrumbName},z(se,$,j,S(me,se.path,$)))}))),f.createElement(l,{overlay:Qe,separator:M,key:te||oe.breadcrumbName},z(oe,$,j,me))})}else W&&(De=Object(r.a)(W).map(function(oe,te){return oe&&(Object(m.a)(oe.type&&(oe.type.__ANT_BREADCRUMB_ITEM===!0||oe.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(v.a)(oe,{separator:M,key:te}))}));var Ue=o()(F,Ke,A()({},"".concat(Ke,"-rtl"),Ie==="rtl"));return f.createElement("div",x()({className:Ue,style:U},ce),De)};_.Item=l,_.Separator=h;var I=_,L=P.a=I},bKJz:function(H,P,d){},bLfw:function(H,P,d){var O=d("bYtY"),x=d("Qxkt"),C=d("iRjW"),A=d("Yl7c"),b=A.enableClassManagement,g=A.parseClassType,f=d("4NO4"),c=f.makeInner,o=d("+TT/"),r=d("3hzK"),i=c(),n=x.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,a,l,u){x.call(this,t,a,l,u),this.uid=C.getUID("ec_cpt_model")},init:function(t,a,l,u){this.mergeDefaultAndTheme(t,l)},mergeDefaultAndTheme:function(t,a){var l=this.layoutMode,u=l?o.getLayoutParams(t):{},h=a.getTheme();O.merge(t,h.get(this.mainType)),O.merge(t,this.getDefaultOption()),l&&o.mergeLayoutParam(t,u,l)},mergeOption:function(t,a){O.merge(this.option,t,!0);var l=this.layoutMode;l&&o.mergeLayoutParam(this.option,t,l)},optionUpdated:function(t,a){},getDefaultOption:function(){var t=i(this);if(!t.defaultOption){for(var a=[],l=this.constructor;l;){var u=l.prototype.defaultOption;u&&a.push(u),l=l.superClass}for(var h={},p=a.length-1;p>=0;p--)h=O.merge(h,a[p],!0);t.defaultOption=h}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});b(n,{registerWhenExtend:!0}),C.enableSubTypeDefaulter(n),C.enableTopologicalTravel(n,e);function e(t){var a=[];return O.each(n.getClassesByMainType(t),function(l){a=a.concat(l.prototype.dependencies||[])}),a=O.map(a,function(l){return g(l).main}),t!=="dataset"&&O.indexOf(a,"dataset")<=0&&a.unshift("dataset"),a}O.mixin(n,r);var s=n;H.exports=s},bMXI:function(H,P,d){var O=d("bYtY"),x=d("QBsz"),C=d("Fofx"),A=d("mFDi"),b=d("DN4a"),g=x.applyTransform;function f(){b.call(this)}O.mixin(f,b);function c(i){this.name=i,this.zoomLimit,b.call(this),this._roamTransformable=new f,this._rawTransformable=new f,this._center,this._zoom}c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(i,n,e,s){return this._rect=new A(i,n,e,s),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(i,n,e,s){this.transformTo(i,n,e,s),this._viewRect=new A(i,n,e,s)},transformTo:function(i,n,e,s){var t=this.getBoundingRect(),a=this._rawTransformable;a.transform=t.calculateTransform(new A(i,n,e,s)),a.decomposeTransform(),this._updateTransform()},setCenter:function(i){if(!i)return;this._center=i,this._updateCenterAndZoom()},setZoom:function(i){i=i||1;var n=this.zoomLimit;n&&(n.max!=null&&(i=Math.min(n.max,i)),n.min!=null&&(i=Math.max(n.min,i))),this._zoom=i,this._updateCenterAndZoom()},getDefaultCenter:function(){var i=this.getBoundingRect(),n=i.x+i.width/2,e=i.y+i.height/2;return[n,e]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var i=this._rawTransformable.getLocalTransform(),n=this._roamTransformable,e=this.getDefaultCenter(),s=this.getCenter(),t=this.getZoom();s=x.applyTransform([],s,i),e=x.applyTransform([],e,i),n.origin=s,n.position=[e[0]-s[0],e[1]-s[1]],n.scale=[t,t],this._updateTransform()},_updateTransform:function(){var i=this._roamTransformable,n=this._rawTransformable;n.parent=i,i.updateTransform(),n.updateTransform(),C.copy(this.transform||(this.transform=[]),n.transform||C.create()),this._rawTransform=n.getLocalTransform(),this.invTransform=this.invTransform||[],C.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var i=this._roamTransformable.transform,n=this._rawTransformable;return{roamTransform:i?O.slice(i):C.create(),rawScale:O.slice(n.scale),rawPosition:O.slice(n.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var i=this.getBoundingRect().clone();return i.applyTransform(this.transform),i},dataToPoint:function(i,n,e){var s=n?this._rawTransform:this.transform;return e=e||[],s?g(e,i,s):x.copy(e,i)},pointToData:function(i){var n=this.invTransform;return n?g([],i,n):[i[0],i[1]]},convertToPixel:O.curry(o,"dataToPoint"),convertFromPixel:O.curry(o,"pointToData"),containPoint:function(i){return this.getViewRectAfterRoam().contain(i[0],i[1])}},O.mixin(c,b);function o(i,n,e,s){var t=e.seriesModel,a=t?t.coordinateSystem:null;return a===this?a[i](s):null}var r=c;H.exports=r},bNin:function(H,P,d){var O=d("bYtY"),x=d("IwbS"),C=d("FBjb"),A=d("Itpr"),b=A.radialCoordinate,g=d("ProS"),f=d("4mN7"),c=d("bMXI"),o=d("Ae+d"),r=d("SgGq"),i=d("xSat"),n=i.onIrrelevantElement,e=d("Tghj"),s=e.__DEV__,t=d("OELB"),a=t.parsePercent,l=x.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,w){var S=w.childPoints,_=S.length,I=w.parentPoint,L=S[0],N=S[_-1];if(_===1){T.moveTo(I[0],I[1]),T.lineTo(L[0],L[1]);return}var D=w.orient,R=D==="TB"||D==="BT"?0:1,B=1-R,M=a(w.forkPosition,1),U=[];U[R]=I[R],U[B]=I[B]+(N[B]-I[B])*M,T.moveTo(I[0],I[1]),T.lineTo(U[0],U[1]),T.moveTo(L[0],L[1]),U[R]=L[R],T.lineTo(U[0],U[1]),U[R]=N[R],T.lineTo(U[0],U[1]),T.lineTo(N[0],N[1]);for(var F=1;F<_-1;F++){var j=S[F];T.moveTo(j[0],j[1]),U[R]=j[R],T.lineTo(U[0],U[1])}}}),u=g.extendChartView({type:"tree",init:function(T,w){this._oldTree,this._mainGroup=new x.Group,this._controller=new r(w.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(T,w,S,_){var I=T.getData(),L=T.layoutInfo,N=this._mainGroup,D=T.get("layout");D==="radial"?N.attr("position",[L.x+L.width/2,L.y+L.height/2]):N.attr("position",[L.x,L.y]),this._updateViewCoordSys(T,L,D),this._updateController(T,w,S);var R=this._data,B={expandAndCollapse:T.get("expandAndCollapse"),layout:D,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};I.diff(R).add(function(M){h(I,M)&&m(I,M,null,N,T,B)}).update(function(M,U){var F=R.getItemGraphicEl(U);if(!h(I,M)){F&&y(R,U,F,N,T,B);return}m(I,M,F,N,T,B)}).remove(function(M){var U=R.getItemGraphicEl(M);U&&y(R,M,U,N,T,B)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),B.expandAndCollapse===!0&&I.eachItemGraphicEl(function(M,U){M.off("click").on("click",function(){S.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:U})})}),this._data=I},_updateViewCoordSys:function(T){var w=T.getData(),S=[];w.each(function(R){var B=w.getItemLayout(R);B&&!isNaN(B.x)&&!isNaN(B.y)&&S.push([+B.x,+B.y])});var _=[],I=[];f.fromPoints(S,_,I);var L=this._min,N=this._max;I[0]-_[0]===0&&(_[0]=L?L[0]:_[0]-1,I[0]=N?N[0]:I[0]+1),I[1]-_[1]===0&&(_[1]=L?L[1]:_[1]-1,I[1]=N?N[1]:I[1]+1);var D=T.coordinateSystem=new c;D.zoomLimit=T.get("scaleLimit"),D.setBoundingRect(_[0],_[1],I[0]-_[0],I[1]-_[1]),D.setCenter(T.get("center")),D.setZoom(T.get("zoom")),this.group.attr({position:D.position,scale:D.scale}),this._viewCoordSys=D,this._min=_,this._max=I},_updateController:function(T,w,S){var _=this._controller,I=this._controllerHost,L=this.group;_.setPointerChecker(function(N,D,R){var B=L.getBoundingRect();return B.applyTransform(L.transform),B.contain(D,R)&&!n(N,S,T)}),_.enable(T.get("roam")),I.zoomLimit=T.get("scaleLimit"),I.zoom=T.coordinateSystem.getZoom(),_.off("pan").off("zoom").on("pan",function(N){o.updateViewOnPan(I,N.dx,N.dy),S.dispatchAction({seriesId:T.id,type:"treeRoam",dx:N.dx,dy:N.dy})},this).on("zoom",function(N){o.updateViewOnZoom(I,N.scale,N.originX,N.originY),S.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:N.scale,originX:N.originX,originY:N.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var w=T.getData(),S=this._getNodeGlobalScale(T),_=[S,S];w.eachItemGraphicEl(function(I,L){I.attr("scale",_)})},_getNodeGlobalScale:function(T){var w=T.coordinateSystem;if(w.type!=="view")return 1;var S=this._nodeScaleRatio,_=w.scale,I=_&&_[0]||1,L=w.getZoom(),N=(L-1)*S+1;return N/I},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function h(T,w){var S=T.getItemLayout(w);return S&&!isNaN(S.x)&&!isNaN(S.y)&&T.getItemVisual(w,"symbol")!=="none"}function p(T,w,S){return S.itemModel=w,S.itemStyle=w.getModel("itemStyle").getItemStyle(),S.hoverItemStyle=w.getModel("emphasis.itemStyle").getItemStyle(),S.lineStyle=w.getModel("lineStyle").getLineStyle(),S.labelModel=w.getModel("label"),S.hoverLabelModel=w.getModel("emphasis.label"),T.isExpand===!1&&T.children.length!==0?S.symbolInnerColor=S.itemStyle.fill:S.symbolInnerColor="#fff",S}function m(T,w,S,_,I,L){var N=!S,D=T.tree.getNodeByDataIndex(w),R=D.getModel(),L=p(D,R,L),B=T.tree.root,M=D.parentNode===B?D:D.parentNode||D,U=T.getItemGraphicEl(M.dataIndex),F=M.getLayout(),j=U?{x:U.position[0],y:U.position[1],rawX:U.__radialOldRawX,rawY:U.__radialOldRawY}:F,W=D.getLayout();N?(S=new C(T,w,L),S.attr("position",[j.x,j.y])):S.updateData(T,w,L),S.__radialOldRawX=S.__radialRawX,S.__radialOldRawY=S.__radialRawY,S.__radialRawX=W.rawX,S.__radialRawY=W.rawY,_.add(S),T.setItemGraphicEl(w,S),x.updateProps(S,{position:[W.x,W.y]},I);var V=S.getSymbolPath();if(L.layout==="radial"){var z=B.children[0],J=z.getLayout(),$=z.children.length,ce,ae;if(W.x===J.x&&D.isExpand===!0){var Ae={};Ae.x=(z.children[0].getLayout().x+z.children[$-1].getLayout().x)/2,Ae.y=(z.children[0].getLayout().y+z.children[$-1].getLayout().y)/2,ce=Math.atan2(Ae.y-J.y,Ae.x-J.x),ce<0&&(ce=Math.PI*2+ce),ae=Ae.xJ.x,ae||(ce=ce-Math.PI));var Ie=ae?"left":"right",De=L.labelModel.get("rotate"),Ke=De*(Math.PI/180);V.setStyle({textPosition:L.labelModel.get("position")||Ie,textRotation:De==null?-ce:Ke,textOrigin:"center",verticalAlign:"middle"})}v(I,D,B,S,j,F,W,_,L)}function v(T,w,S,_,I,L,N,D,R){var B=R.edgeShape,M=_.__edge;if(B==="curve")w.parentNode&&w.parentNode!==S&&(M||(M=_.__edge=new x.BezierCurve({shape:E(R,I,I),style:O.defaults({opacity:0,strokeNoScale:!0},R.lineStyle)})),x.updateProps(M,{shape:E(R,L,N),style:{opacity:1}},T));else if(B==="polyline"&&(R.layout==="orthogonal"&&(w!==S&&w.children&&w.children.length!==0&&w.isExpand===!0))){for(var U=w.children,F=[],j=0;j