|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6Fa":function(J,B,e){"use strict";var d=e("wx14"),x=e("Ff2n"),g=e("rePB"),p=e("1OyB"),v=e("vuIU"),b=e("Ji7U"),f=e("md7G"),i=e("foSv"),r=e("q1tI"),a=e.n(r),s=e("TSYQ"),l=e.n(s);function n(h,A){var y=Object.keys(h);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(h);A&&(O=O.filter(function(S){return Object.getOwnPropertyDescriptor(h,S).enumerable})),y.push.apply(y,O)}return y}function u(h){for(var A=1;A<arguments.length;A++){var y=arguments[A]!=null?arguments[A]:{};A%2?n(Object(y),!0).forEach(function(O){Object(g.a)(h,O,y[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(y)):n(Object(y)).forEach(function(O){Object.defineProperty(h,O,Object.getOwnPropertyDescriptor(y,O))})}return h}function t(h){var A=c();return function(){var O=Object(i.a)(h),S;if(A){var E=Object(i.a)(this).constructor;S=Reflect.construct(O,arguments,E)}else S=O.apply(this,arguments);return Object(f.a)(this,S)}}function c(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(h){return!1}}var o=function(h){Object(b.a)(y,h);var A=t(y);function y(O){var S;Object(p.a)(this,y),S=A.call(this,O),S.handleChange=function(C){var T=S.props,w=T.disabled,L=T.onChange;if(w)return;"checked"in S.props||S.setState({checked:C.target.checked}),L&&L({target:u(u({},S.props),{},{checked:C.target.checked}),stopPropagation:function(){C.stopPropagation()},preventDefault:function(){C.preventDefault()},nativeEvent:C.nativeEvent})},S.saveInput=function(C){S.input=C};var E="checked"in O?O.checked:O.defaultChecked;return S.state={checked:E},S}return Object(v.a)(y,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var S,E=this.props,C=E.prefixCls,T=E.className,w=E.style,L=E.name,N=E.id,D=E.type,F=E.disabled,R=E.readOnly,U=E.tabIndex,M=E.onClick,j=E.onFocus,P=E.onBlur,K=E.autoFocus,H=E.value,_=E.required,Z=Object(x.a)(E,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value","required"]),Y=Object.keys(Z).reduce(function(X,he){return(he.substr(0,5)==="aria-"||he.substr(0,5)==="data-"||he==="role")&&(X[he]=Z[he]),X},{}),k=this.state.checked,Q=l()(C,T,(S={},Object(g.a)(S,"".concat(C,"-checked"),k),Object(g.a)(S,"".concat(C,"-disabled"),F),S));return a.a.createElement("span",{className:Q,style:w},a.a.createElement("input",Object(d.a)({name:L,id:N,type:D,required:_,readOnly:R,disabled:F,tabIndex:U,className:"".concat(C,"-input"),checked:!!k,onClick:M,onFocus:j,onBlur:P,onChange:this.handleChange,autoFocus:K,ref:this.saveInput,value:H},Y)),a.a.createElement("span",{className:"".concat(C,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(S,E){return"checked"in S?u(u({},E),{},{checked:S.checked}):null}}]),y}(r.Component);o.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},B.a=o},"+6XX":function(J,B,e){var d=e("y1pI");function x(g){return d(this.__data__,g)>-1}J.exports=x},"+BJd":function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("6MrE"),p=e.n(g)},"+QRC":function(J,B,e){"use strict";var d=e("E9nw"),x={"text/plain":"Text","text/html":"Url",default:"Text"},g="Copy to clipboard: #{key}, Enter";function p(b){var f=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return b.replace(/#{\s*key\s*}/g,f)}function v(b,f){var i,r,a,s,l,n,u=!1;f||(f={}),i=f.debug||!1;try{a=d(),s=document.createRange(),l=document.getSelection(),n=document.createElement("span"),n.textContent=b,n.style.all="unset",n.style.position="fixed",n.style.top=0,n.style.clip="rect(0, 0, 0, 0)",n.style.whiteSpace="pre",n.style.webkitUserSelect="text",n.style.MozUserSelect="text",n.style.msUserSelect="text",n.style.userSelect="text",n.addEventListener("copy",function(c){if(c.stopPropagation(),f.format)if(c.preventDefault(),typeof c.clipboardData=="undefined"){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=x[f.format]||x.default;window.clipboardData.setData(o,b)}else c.clipboardData.clearData(),c.clipboardData.setData(f.format,b);f.onCopy&&(c.preventDefault(),f.onCopy(c.clipboardData))}),document.body.appendChild(n),s.selectNodeContents(n),l.addRange(s);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");u=!0}catch(c){i&&console.error("unable to copy using execCommand: ",c),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(f.format||"text",b),f.onCopy&&f.onCopy(window.clipboardData),u=!0}catch(o){i&&console.error("unable to copy using clipboardData: ",o),i&&console.error("falling back to prompt"),r=p("message"in f?f.message:g),window.prompt(r,b)}}finally{l&&(typeof l.removeRange=="function"?l.removeRange(s):l.removeAllRanges()),n&&document.body.removeChild(n),a()}return u}J.exports=v},"+TT/":function(J,B,e){var d=e("bYtY"),x=e("mFDi"),g=e("OELB"),p=g.parsePercent,v=e("7aKB"),b=d.each,f=["left","right","top","bottom","width","height"],i=[["width","left","right"],["height","top","bottom"]];function r(y,O,S,E,C){var T=0,w=0;E==null&&(E=Infinity),C==null&&(C=Infinity);var L=0;O.eachChild(function(N,D){var F=N.position,R=N.getBoundingRect(),U=O.childAt(D+1),M=U&&U.getBoundingRect(),j,P;if(y==="horizontal"){var K=R.width+(M?-M.x+R.x:0);j=T+K,j>E||N.newline?(T=0,j=K,w+=L+S,L=R.height):L=Math.max(L,R.height)}else{var H=R.height+(M?-M.y+R.y:0);P=w+H,P>C||N.newline?(T+=L+S,w=0,P=H,L=R.width):L=Math.max(L,R.width)}if(N.newline)return;F[0]=T,F[1]=w,y==="horizontal"?T=j+S:w=P+S})}var a=r,s=d.curry(r,"vertical"),l=d.curry(r,"horizontal");function n(y,O,S){var E=O.width,C=O.height,T=p(y.x,E),w=p(y.y,C),L=p(y.x2,E),N=p(y.y2,C);return(isNaN(T)||isNaN(parseFloat(y.x)))&&(T=0),(isNaN(L)||isNaN(parseFloat(y.x2)))&&(L=E),(isNaN(w)||isNaN(parseFloat(y.y)))&&(w=0),(isNaN(N)||isNaN(parseFloat(y.y2)))&&(N=C),S=v.normalizeCssArray(S||0),{width:Math.max(L-T-S[1]-S[3],0),height:Math.max(N-w-S[0]-S[2],0)}}function u(y,O,S){S=v.normalizeCssArray(S||0);var E=O.width,C=O.height,T=p(y.left,E),w=p(y.top,C),L=p(y.right,E),N=p(y.bottom,C),D=p(y.width,E),F=p(y.height,C),R=S[2]+S[0],U=S[1]+S[3],M=y.aspect;isNaN(D)&&(D=E-L-U-T),isNaN(F)&&(F=C-N-R-w),M!=null&&(isNaN(D)&&isNaN(F)&&(M>E/C?D=E*.8:F=C*.8),isNaN(D)&&(D=M*F),isNaN(F)&&(F=D/M)),isNaN(T)&&(T=E-L-D-U),isNaN(w)&&(w=C-N-F-R);switch(y.left||y.right){case"center":T=E/2-D/2-S[3];break;case"right":T=E-D-U;break}switch(y.top||y.bottom){case"middle":case"center":w=C/2-F/2-S[0];break;case"bottom":w=C-F-R;break}T=T||0,w=w||0,isNaN(D)&&(D=E-U-T-(L||0)),isNaN(F)&&(F=C-R-w-(N||0));var j=new x(T+S[3],w+S[0],D,F);return j.margin=S,j}function t(y,O,S,E,C){var T=!C||!C.hv||C.hv[0],w=!C||!C.hv||C.hv[1],L=C&&C.boundingMode||"all";if(!T&&!w)return;var N;if(L==="raw")N=y.type==="group"?new x(0,0,+O.width||0,+O.height||0):y.getBoundingRect();else if(N=y.getBoundingRect(),y.needLocalTransform()){var D=y.getLocalTransform();N=N.clone(),N.applyTransform(D)}O=u(d.defaults({width:N.width,height:N.height},O),S,E);var F=y.position,R=T?O.x-N.x:0,U=w?O.y-N.y:0;y.attr("position",L==="raw"?[R,U]:[F[0]+R,F[1]+U])}function c(y,O){return y[i[O][0]]!=null||y[i[O][1]]!=null&&y[i[O][2]]!=null}function o(y,O,S){!d.isObject(S)&&(S={});var E=S.ignoreSize;!d.isArray(E)&&(E=[E,E]);var C=w(i[0],0),T=w(i[1],1);D(i[0],y,C),D(i[1],y,T);function w(F,R){var U={},M=0,j={},P=0,K=2;if(b(F,function(Z){j[Z]=y[Z]}),b(F,function(Z){L(O,Z)&&(U[Z]=j[Z]=O[Z]),N(U,Z)&&M++,N(j,Z)&&P++}),E[R])return N(O,F[1])?j[F[2]]=null:N(O,F[2])&&(j[F[1]]=null),j;if(P===K||!M)return j;if(M>=K)return U;for(var H=0;H<F.length;H++){var _=F[H];if(!L(U,_)&&L(y,_)){U[_]=y[_];break}}return U}function L(F,R){return F.hasOwnProperty(R)}function N(F,R){return F[R]!=null&&F[R]!=="auto"}function D(F,R,U){b(F,function(M){R[M]=U[M]})}}function h(y){return A({},y)}function A(y,O){return O&&y&&b(f,function(S){O.hasOwnProperty(S)&&(y[S]=O[S])}),y}B.LOCATION_PARAMS=f,B.HV_NAMES=i,B.box=a,B.vbox=s,B.hbox=l,B.getAvailableSize=n,B.getLayoutRect=u,B.positionElement=t,B.sizeCalculable=c,B.mergeLayoutParam=o,B.getLayoutParams=h,B.copyLayoutParams=A},"+Zaj":function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("ugBc")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="CalendarOutlined";var f=g.forwardRef(b);B.default=f},"+d4F":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("y3Yb"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},"+eQT":function(J,B,e){"use strict";var d=e("wd/R"),x=e.n(d),g=e("Kwbf"),p={getNow:function(){return x()()},getWeekDay:function(Rt){var Xt=Rt.clone().locale("en_US");return Xt.weekday()+Xt.localeData().firstDayOfWeek()},getYear:function(Rt){return Rt.year()},getMonth:function(Rt){return Rt.month()},getDate:function(Rt){return Rt.date()},getHour:function(Rt){return Rt.hour()},getMinute:function(Rt){return Rt.minute()},getSecond:function(Rt){return Rt.second()},addYear:function(Rt,Xt){var tr=Rt.clone();return tr.add(Xt,"year")},addMonth:function(Rt,Xt){var tr=Rt.clone();return tr.add(Xt,"month")},addDate:function(Rt,Xt){var tr=Rt.clone();return tr.add(Xt,"day")},setYear:function(Rt,Xt){var tr=Rt.clone();return tr.year(Xt)},setMonth:function(Rt,Xt){var tr=Rt.clone();return tr.month(Xt)},setDate:function(Rt,Xt){var tr=Rt.clone();return tr.date(Xt)},setHour:function(Rt,Xt){var tr=Rt.clone();return tr.hour(Xt)},setMinute:function(Rt,Xt){var tr=Rt.clone();return tr.minute(Xt)},setSecond:function(Rt,Xt){var tr=Rt.clone();return tr.second(Xt)},isAfter:function(Rt,Xt){return Rt.isAfter(Xt)},isValidate:function(Rt){return Rt.isValid()},locale:{getWeekFirstDay:function(Rt){var Xt=x()().locale(Rt);return Xt.localeData().firstDayOfWeek()},getWeek:function(Rt,Xt){var tr=Xt.clone(),Or=tr.locale(Rt);return Or.week()},getShortWeekDays:function(Rt){var Xt=x()().locale(Rt);return Xt.localeData().weekdaysMin()},getShortMonths:function(Rt){var Xt=x()().locale(Rt);return Xt.localeData().monthsShort()},format:function(Rt,Xt,tr){var Or=Xt.clone(),br=Or.locale(Rt);return br.format(tr)},parse:function(Rt,Xt,tr){for(var Or=[],br=0;br<tr.length;br+=1){var xr=tr[br],Wr=Xt;if(xr.includes("wo")||xr.includes("Wo")){xr=xr.replace(/wo/g,"w").replace(/Wo/g,"W");var Zr=xr.match(/[-YyMmDdHhSsWwGg]+/g),$r=Wr.match(/[-\d]+/g);Zr&&$r?(xr=Zr.join(""),Wr=$r.join("")):Or.push(xr.replace(/o/g,""))}var an=x()(Wr,xr,Rt,!0);if(an.isValid())return an}for(var rt=0;rt<Or.length;rt+=1){var jt=x()(Xt,Or[rt],Rt,!1);if(jt.isValid())return Object(g.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),jt}return null}}},v=p,b=e("pVnL"),f=e.n(b),i=e("q1tI"),r=e("2/Rp");function a(Fe){return i.createElement(r.a,f()({size:"small",type:"primary"},Fe))}var s=e("mr32");function l(Fe){return i.createElement(s.a,f()({color:"blue"},Fe))}var n=e("lSNA"),u=e.n(n),t=e("lwsE"),c=e.n(t),o=e("W8MJ"),h=e.n(o),A=e("7W2i"),y=e.n(A),O=e("LQ03"),S=e.n(O),E=e("TSYQ"),C=e.n(E),T=e("r/2G"),w=e.n(T),L=e("XzQk"),N=e.n(L),D=e("kbBi"),F=e.n(D),R=e("1OyB"),U=e("vuIU"),M=e("Ji7U"),j=e("LK+K"),P=e("rePB"),K=e("VTBJ"),H=e("ODXe"),_=e("6cGi"),Z=e("U8pU"),Y=e("4IlW"),k=i.createContext({}),Q=k,X={visibility:"hidden"};function he(Fe){var Rt=Fe.prefixCls,Xt=Fe.prevIcon,tr=Xt===void 0?"\u2039":Xt,Or=Fe.nextIcon,br=Or===void 0?"\u203A":Or,xr=Fe.superPrevIcon,Wr=xr===void 0?"\xAB":xr,Zr=Fe.superNextIcon,$r=Zr===void 0?"\xBB":Zr,an=Fe.onSuperPrev,rt=Fe.onSuperNext,jt=Fe.onPrev,ir=Fe.onNext,yr=Fe.children,Br=i.useContext(Q),Dr=Br.hideNextBtn,rn=Br.hidePrevBtn;return i.createElement("div",{className:Rt},an&&i.createElement("button",{type:"button",onClick:an,tabIndex:-1,className:"".concat(Rt,"-super-prev-btn"),style:rn?X:{}},Wr),jt&&i.createElement("button",{type:"button",onClick:jt,tabIndex:-1,className:"".concat(Rt,"-prev-btn"),style:rn?X:{}},tr),i.createElement("div",{className:"".concat(Rt,"-view")},yr),ir&&i.createElement("button",{type:"button",onClick:ir,tabIndex:-1,className:"".concat(Rt,"-next-btn"),style:Dr?X:{}},br),rt&&i.createElement("button",{type:"button",onClick:rt,tabIndex:-1,className:"".concat(Rt,"-super-next-btn"),style:Dr?X:{}},$r))}var te=he;function pe(Fe){var Rt=i.useContext(Q),Xt=Rt.hideHeader;if(Xt)return null;var tr=Fe.prefixCls,Or=Fe.generateConfig,br=Fe.locale,xr=Fe.value,Wr=Fe.format,Zr="".concat(tr,"-header");return i.createElement(te,{prefixCls:Zr},xr?Or.locale.format(br.locale,xr,Wr):"\xA0")}var Se=pe,we=e("YrtM"),We=e("KQm4"),qe=new Map;function yt(Fe,Rt,Xt){if(qe.get(Fe)&&cancelAnimationFrame(qe.get(Fe)),Xt<=0){qe.set(Fe,requestAnimationFrame(function(){Fe.scrollTop=Rt}));return}var tr=Rt-Fe.scrollTop,Or=tr/Xt*10;qe.set(Fe,requestAnimationFrame(function(){Fe.scrollTop+=Or,Fe.scrollTop!==Rt&&yt(Fe,Rt,Xt-10)}))}function _e(Fe,Rt){var Xt=Rt.onLeftRight,tr=Rt.onCtrlLeftRight,Or=Rt.onUpDown,br=Rt.onPageUpDown,xr=Rt.onEnter,Wr=Fe.which,Zr=Fe.ctrlKey,$r=Fe.metaKey;switch(Wr){case Y.a.LEFT:if(Zr||$r){if(tr)return tr(-1),!0}else if(Xt)return Xt(-1),!0;break;case Y.a.RIGHT:if(Zr||$r){if(tr)return tr(1),!0}else if(Xt)return Xt(1),!0;break;case Y.a.UP:if(Or)return Or(-1),!0;break;case Y.a.DOWN:if(Or)return Or(1),!0;break;case Y.a.PAGE_UP:if(br)return br(-1),!0;break;case Y.a.PAGE_DOWN:if(br)return br(1),!0;break;case Y.a.ENTER:if(xr)return xr(),!0;break}return!1}function je(Fe,Rt,Xt,tr){var Or=Fe;if(!Or)switch(Rt){case"time":Or=tr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Or="gggg-wo";break;case"month":Or="YYYY-MM";break;case"quarter":Or="YYYY-[Q]Q";break;case"year":Or="YYYY";break;default:Or=Xt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Or}function Ct(Fe,Rt){var Xt=Fe==="time"?8:10;return Math.max(Xt,Rt.length)+2}var ct=null,nt=new Set;function bt(Fe){return!ct&&typeof window!="undefined"&&window.addEventListener&&(ct=function(Xt){Object(We.a)(nt).forEach(function(tr){tr(Xt)})},window.addEventListener("mousedown",ct)),nt.add(Fe),function(){nt.delete(Fe),nt.size===0&&(window.removeEventListener("mousedown",ct),ct=null)}}var dt=function(Rt){return Rt==="month"||Rt==="date"?"year":Rt},vt=function(Rt){return Rt==="date"?"month":Rt},Qe=function(Rt){return Rt==="month"||Rt==="date"?"quarter":Rt},mt=function(Rt){return Rt==="date"?"week":Rt},Pe={year:dt,month:vt,quarter:Qe,week:mt,time:null,date:null};function De(Fe,Rt){return Fe.some(function(Xt){return Xt&&Xt.contains(Rt)})}function Ie(Fe){var Rt=Fe.prefixCls,Xt=Fe.units,tr=Fe.onSelect,Or=Fe.value,br=Fe.active,xr=Fe.hideDisabledOptions,Wr="".concat(Rt,"-cell"),Zr=i.useContext(Q),$r=Zr.open,an=i.useRef(null),rt=i.useRef(new Map);return i.useLayoutEffect(function(){var jt=rt.current.get(Or);jt&&$r!==!1&&yt(an.current,jt.offsetTop,120)},[Or]),i.useLayoutEffect(function(){if($r){var jt=rt.current.get(Or);jt&&yt(an.current,jt.offsetTop,0)}},[$r]),i.createElement("ul",{className:C()("".concat(Rt,"-column"),Object(P.a)({},"".concat(Rt,"-column-active"),br)),ref:an,style:{position:"relative"}},Xt.map(function(jt){var ir;return xr&&jt.disabled?null:i.createElement("li",{key:jt.value,ref:function(Br){rt.current.set(jt.value,Br)},className:C()(Wr,(ir={},Object(P.a)(ir,"".concat(Wr,"-disabled"),jt.disabled),Object(P.a)(ir,"".concat(Wr,"-selected"),Or===jt.value),ir)),onClick:function(){if(jt.disabled)return;tr(jt.value)}},i.createElement("div",{className:"".concat(Wr,"-inner")},jt.label))}))}var ot=Ie;function wt(Fe,Rt){for(var Xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",tr=String(Fe);tr.length<Rt;)tr="".concat(Xt).concat(Fe);return tr}var Bt=function(){for(var Rt=arguments.length,Xt=new Array(Rt),tr=0;tr<Rt;tr++)Xt[tr]=arguments[tr];return Xt};function _t(Fe){return Fe==null?[]:Array.isArray(Fe)?Fe:[Fe]}function Ue(Fe){var Rt={};return Object.keys(Fe).forEach(function(Xt){(Xt.substr(0,5)==="data-"||Xt.substr(0,5)==="aria-"||Xt==="role"||Xt==="name")&&Xt.substr(0,7)!=="data-__"&&(Rt[Xt]=Fe[Xt])}),Rt}function zt(Fe,Rt){return Fe?Fe[Rt]:null}function xt(Fe,Rt,Xt){var tr=[zt(Fe,0),zt(Fe,1)];return tr[Xt]=typeof Rt=="function"?Rt(tr[Xt]):Rt,!tr[0]&&!tr[1]?null:tr}function Pt(Fe,Rt,Xt,tr,Or){var br=Fe.setHour(Rt,Xt);return br=Fe.setMinute(br,tr),br=Fe.setSecond(br,Or),br}function Ke(Fe,Rt,Xt,tr,Or,br){var xr=Math.floor(Fe/tr)*tr;if(xr<Fe)return[xr,60-Or,60-br];var Wr=Math.floor(Rt/Or)*Or;if(Wr<Rt)return[xr,Wr,60-br];var Zr=Math.floor(Xt/br)*br;return[xr,Wr,Zr]}function Ye(Fe,Rt){if(Fe.length!==Rt.length)return!0;for(var Xt=0;Xt<Fe.length;Xt+=1)if(Fe[Xt].disabled!==Rt[Xt].disabled)return!0;return!1}function $e(Fe,Rt,Xt,tr){for(var Or=[],br=Fe;br<=Rt;br+=Xt)Or.push({label:wt(br,2),value:br,disabled:(tr||[]).includes(br)});return Or}function ut(Fe){var Rt=Fe.generateConfig,Xt=Fe.prefixCls,tr=Fe.operationRef,Or=Fe.activeColumnIndex,br=Fe.value,xr=Fe.showHour,Wr=Fe.showMinute,Zr=Fe.showSecond,$r=Fe.use12Hours,an=Fe.hourStep,rt=an===void 0?1:an,jt=Fe.minuteStep,ir=jt===void 0?1:jt,yr=Fe.secondStep,Br=yr===void 0?1:yr,Dr=Fe.disabledHours,rn=Fe.disabledMinutes,fn=Fe.disabledSeconds,wn=Fe.hideDisabledOptions,Hn=Fe.onSelect,Sn=[],bn="".concat(Xt,"-content"),Bn="".concat(Xt,"-time-panel"),vn,Mn=br?Rt.getHour(br):-1,En=br?Rt.getMinute(br):-1,Tn=br?Rt.getSecond(br):-1,Yn=function(hi,Ji,va,Ea){var Aa=br||Rt.getNow(),oa=Math.max(0,Ji),sa=Math.max(0,va),Di=Math.max(0,Ea);return Aa=Pt(Rt,Aa,!$r||!hi?oa:oa+12,sa,Di),Aa},ai=$e(0,23,rt,Dr&&Dr()),ri=Object(we.a)(function(){return ai},ai,Ye);$r&&(vn=Mn>=12,Mn%=12);var Ri=i.useMemo(function(){if(!$r)return[!1,!1];var mi=[!0,!0];return ri.forEach(function(hi){var Ji=hi.disabled,va=hi.value;if(Ji)return;va>=12?mi[1]=!1:mi[0]=!1}),mi},[$r,ri]),Ai=Object(H.a)(Ri,2),xi=Ai[0],Oi=Ai[1],_n=i.useMemo(function(){return $r?ri.filter(vn?function(mi){return mi.value>=12}:function(mi){return mi.value<12}).map(function(mi){var hi=mi.value%12,Ji=hi===0?"12":wt(hi,2);return Object(K.a)(Object(K.a)({},mi),{},{label:Ji,value:hi})}):ri},[$r,ri]),Mi=$e(0,59,ir,rn&&rn(Mn)),fa=$e(0,59,Br,fn&&fn(Mn,En));tr.current={onUpDown:function(hi){var Ji=Sn[Or];if(Ji)for(var va=Ji.units.findIndex(function(sa){return sa.value===Ji.value}),Ea=Ji.units.length,Aa=1;Aa<Ea;Aa+=1){var oa=Ji.units[(va+hi*Aa+Ea)%Ea];if(oa.disabled!==!0){Ji.onSelect(oa.value);break}}}};function _i(mi,hi,Ji,va,Ea){mi!==!1&&Sn.push({node:i.cloneElement(hi,{prefixCls:Bn,value:Ji,active:Or===Sn.length,onSelect:Ea,units:va,hideDisabledOptions:wn}),onSelect:Ea,value:Ji,units:va})}_i(xr,i.createElement(ot,{key:"hour"}),Mn,_n,function(mi){Hn(Yn(vn,mi,En,Tn),"mouse")}),_i(Wr,i.createElement(ot,{key:"minute"}),En,Mi,function(mi){Hn(Yn(vn,Mn,mi,Tn),"mouse")}),_i(Zr,i.createElement(ot,{key:"second"}),Tn,fa,function(mi){Hn(Yn(vn,Mn,En,mi),"mouse")});var Bi=-1;return typeof vn=="boolean"&&(Bi=vn?1:0),_i($r===!0,i.createElement(ot,{key:"12hours"}),Bi,[{label:"AM",value:0,disabled:xi},{label:"PM",value:1,disabled:Oi}],function(mi){Hn(Yn(!!mi,Mn,En,Tn),"mouse")}),i.createElement("div",{className:bn},Sn.map(function(mi){var hi=mi.node;return hi}))}var et=ut,oe=function(Rt){return Rt.filter(function(Xt){return Xt!==!1}).length};function me(Fe){var Rt=Fe.generateConfig,Xt=Fe.format,tr=Xt===void 0?"HH:mm:ss":Xt,Or=Fe.prefixCls,br=Fe.active,xr=Fe.operationRef,Wr=Fe.showHour,Zr=Fe.showMinute,$r=Fe.showSecond,an=Fe.use12Hours,rt=an===void 0?!1:an,jt=Fe.onSelect,ir=Fe.value,yr="".concat(Or,"-time-panel"),Br=i.useRef(),Dr=i.useState(-1),rn=Object(H.a)(Dr,2),fn=rn[0],wn=rn[1],Hn=oe([Wr,Zr,$r,rt]);return xr.current={onKeyDown:function(bn){return _e(bn,{onLeftRight:function(vn){wn((fn+vn+Hn)%Hn)},onUpDown:function(vn){fn===-1?wn(0):Br.current&&Br.current.onUpDown(vn)},onEnter:function(){jt(ir||Rt.getNow(),"key"),wn(-1)}})},onBlur:function(){wn(-1)}},i.createElement("div",{className:C()(yr,Object(P.a)({},"".concat(yr,"-active"),br))},i.createElement(Se,Object.assign({},Fe,{format:tr,prefixCls:Or})),i.createElement(et,Object.assign({},Fe,{prefixCls:Or,activeColumnIndex:fn,operationRef:Br})))}var it=me,Be=7;function ht(Fe,Rt){return!Fe&&!Rt?!0:!Fe||!Rt?!1:void 0}function Mr(Fe,Rt,Xt){var tr=ht(Rt,Xt);if(typeof tr=="boolean")return tr;var Or=Math.floor(Fe.getYear(Rt)/10),br=Math.floor(Fe.getYear(Xt)/10);return Or===br}function Lt(Fe,Rt,Xt){var tr=ht(Rt,Xt);return typeof tr=="boolean"?tr:Fe.getYear(Rt)===Fe.getYear(Xt)}function or(Fe,Rt){var Xt=Math.floor(Fe.getMonth(Rt)/3);return Xt+1}function Qt(Fe,Rt,Xt){var tr=ht(Rt,Xt);return typeof tr=="boolean"?tr:Lt(Fe,Rt,Xt)&&or(Fe,Rt)===or(Fe,Xt)}function qt(Fe,Rt,Xt){var tr=ht(Rt,Xt);return typeof tr=="boolean"?tr:Lt(Fe,Rt,Xt)&&Fe.getMonth(Rt)===Fe.getMonth(Xt)}function hr(Fe,Rt,Xt){var tr=ht(Rt,Xt);return typeof tr=="boolean"?tr:Fe.getYear(Rt)===Fe.getYear(Xt)&&Fe.getMonth(Rt)===Fe.getMonth(Xt)&&Fe.getDate(Rt)===Fe.getDate(Xt)}function Gt(Fe,Rt,Xt){var tr=ht(Rt,Xt);return typeof tr=="boolean"?tr:Fe.getHour(Rt)===Fe.getHour(Xt)&&Fe.getMinute(Rt)===Fe.getMinute(Xt)&&Fe.getSecond(Rt)===Fe.getSecond(Xt)}function de(Fe,Rt,Xt,tr){var Or=ht(Xt,tr);return typeof Or=="boolean"?Or:Fe.locale.getWeek(Rt,Xt)===Fe.locale.getWeek(Rt,tr)}function ue(Fe,Rt,Xt){return hr(Fe,Rt,Xt)&&Gt(Fe,Rt,Xt)}function se(Fe,Rt,Xt,tr){return!Rt||!Xt||!tr?!1:!hr(Fe,Rt,tr)&&!hr(Fe,Xt,tr)&&Fe.isAfter(tr,Rt)&&Fe.isAfter(Xt,tr)}function ae(Fe,Rt,Xt){var tr=Rt.locale.getWeekFirstDay(Fe),Or=Rt.setDate(Xt,1),br=Rt.getWeekDay(Or),xr=Rt.addDate(Or,tr-br);return Rt.getMonth(xr)===Rt.getMonth(Xt)&&Rt.getDate(xr)>1&&(xr=Rt.addDate(xr,-7)),xr}function ye(Fe,Rt,Xt){var tr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Rt){case"year":return Xt.addYear(Fe,tr*10);case"quarter":case"month":return Xt.addYear(Fe,tr);default:return Xt.addMonth(Fe,tr)}}var Ce=i.createContext({}),Oe=Ce;function Te(Fe){var Rt=Fe.cellPrefixCls,Xt=Fe.generateConfig,tr=Fe.rangedValue,Or=Fe.hoverRangedValue,br=Fe.isInView,xr=Fe.isSameCell,Wr=Fe.offsetCell,Zr=Fe.today,$r=Fe.value;function an(rt){var jt,ir=Wr(rt,-1),yr=Wr(rt,1),Br=zt(tr,0),Dr=zt(tr,1),rn=zt(Or,0),fn=zt(Or,1),wn=se(Xt,rn,fn,rt);function Hn(En){return xr(Br,En)}function Sn(En){return xr(Dr,En)}var bn=xr(rn,rt),Bn=xr(fn,rt),vn=(wn||Bn)&&(!br(ir)||Sn(ir)),Mn=(wn||bn)&&(!br(yr)||Hn(yr));return jt={},Object(P.a)(jt,"".concat(Rt,"-in-view"),br(rt)),Object(P.a)(jt,"".concat(Rt,"-in-range"),se(Xt,Br,Dr,rt)),Object(P.a)(jt,"".concat(Rt,"-range-start"),Hn(rt)),Object(P.a)(jt,"".concat(Rt,"-range-end"),Sn(rt)),Object(P.a)(jt,"".concat(Rt,"-range-start-single"),Hn(rt)&&!Dr),Object(P.a)(jt,"".concat(Rt,"-range-end-single"),Sn(rt)&&!Br),Object(P.a)(jt,"".concat(Rt,"-range-start-near-hover"),Hn(rt)&&(xr(ir,rn)||se(Xt,rn,fn,ir))),Object(P.a)(jt,"".concat(Rt,"-range-end-near-hover"),Sn(rt)&&(xr(yr,fn)||se(Xt,rn,fn,yr))),Object(P.a)(jt,"".concat(Rt,"-range-hover"),wn),Object(P.a)(jt,"".concat(Rt,"-range-hover-start"),bn),Object(P.a)(jt,"".concat(Rt,"-range-hover-end"),Bn),Object(P.a)(jt,"".concat(Rt,"-range-hover-edge-start"),vn),Object(P.a)(jt,"".concat(Rt,"-range-hover-edge-end"),Mn),Object(P.a)(jt,"".concat(Rt,"-range-hover-edge-start-near-range"),vn&&xr(ir,Dr)),Object(P.a)(jt,"".concat(Rt,"-range-hover-edge-end-near-range"),Mn&&xr(yr,Br)),Object(P.a)(jt,"".concat(Rt,"-today"),xr(Zr,rt)),Object(P.a)(jt,"".concat(Rt,"-selected"),xr($r,rt)),jt}return an}function xe(Fe){for(var Rt=Fe.prefixCls,Xt=Fe.disabledDate,tr=Fe.onSelect,Or=Fe.rowNum,br=Fe.colNum,xr=Fe.prefixColumn,Wr=Fe.rowClassName,Zr=Fe.baseDate,$r=Fe.getCellClassName,an=Fe.getCellText,rt=Fe.getCellNode,jt=Fe.getCellDate,ir=Fe.titleCell,yr=Fe.headerCells,Br=i.useContext(Q),Dr=Br.onDateMouseEnter,rn=Br.onDateMouseLeave,fn="".concat(Rt,"-cell"),wn=[],Hn=0;Hn<Or;Hn+=1){for(var Sn=[],bn=void 0,Bn=function(En){var Tn=Hn*br+En,Yn=jt(Zr,Tn),ai=Xt&&Xt(Yn);En===0&&(bn=Yn,xr&&Sn.push(xr(bn))),Sn.push(i.createElement("td",{key:En,title:ir&&ir(Yn),className:C()(fn,Object(K.a)(Object(P.a)({},"".concat(fn,"-disabled"),ai),$r(Yn))),onClick:function(){ai||tr(Yn)},onMouseEnter:function(){!ai&&Dr&&Dr(Yn)},onMouseLeave:function(){!ai&&rn&&rn(Yn)}},rt?rt(Yn):i.createElement("div",{className:"".concat(fn,"-inner")},an(Yn))))},vn=0;vn<br;vn+=1)Bn(vn);wn.push(i.createElement("tr",{key:Hn,className:Wr&&Wr(bn)},Sn))}return i.createElement("div",{className:"".concat(Rt,"-body")},i.createElement("table",{className:"".concat(Rt,"-content")},yr&&i.createElement("thead",null,i.createElement("tr",null,yr)),i.createElement("tbody",null,wn)))}function ke(Fe){var Rt=Fe.prefixCls,Xt=Fe.generateConfig,tr=Fe.prefixColumn,Or=Fe.locale,br=Fe.rowCount,xr=Fe.viewDate,Wr=Fe.value,Zr=Fe.dateRender,$r=i.useContext(Oe),an=$r.rangedValue,rt=$r.hoverRangedValue,jt=ae(Or.locale,Xt,xr),ir="".concat(Rt,"-cell"),yr=Xt.locale.getWeekFirstDay(Or.locale),Br=Xt.getNow(),Dr=[],rn=Or.shortWeekDays||(Xt.locale.getShortWeekDays?Xt.locale.getShortWeekDays(Or.locale):[]);tr&&Dr.push(i.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var fn=0;fn<Be;fn+=1)Dr.push(i.createElement("th",{key:fn},rn[(fn+yr)%Be]));var wn=Te({cellPrefixCls:ir,today:Br,value:Wr,generateConfig:Xt,rangedValue:tr?null:an,hoverRangedValue:tr?null:rt,isSameCell:function(bn,Bn){return hr(Xt,bn,Bn)},isInView:function(bn){return qt(Xt,bn,xr)},offsetCell:function(bn,Bn){return Xt.addDate(bn,Bn)}}),Hn=Zr?function(Sn){return Zr(Sn,Br)}:void 0;return i.createElement(xe,Object.assign({},Fe,{rowNum:br,colNum:Be,baseDate:jt,getCellNode:Hn,getCellText:Xt.getDate,getCellClassName:wn,getCellDate:Xt.addDate,titleCell:function(bn){return Xt.locale.format(Or.locale,bn,"YYYY-MM-DD")},headerCells:Dr}))}var lt=ke;function At(Fe){var Rt=Fe.prefixCls,Xt=Fe.generateConfig,tr=Fe.locale,Or=Fe.viewDate,br=Fe.onNextMonth,xr=Fe.onPrevMonth,Wr=Fe.onNextYear,Zr=Fe.onPrevYear,$r=Fe.onYearClick,an=Fe.onMonthClick,rt=i.useContext(Q),jt=rt.hideHeader;if(jt)return null;var ir="".concat(Rt,"-header"),yr=tr.shortMonths||(Xt.locale.getShortMonths?Xt.locale.getShortMonths(tr.locale):[]),Br=Xt.getMonth(Or),Dr=i.createElement("button",{type:"button",key:"year",onClick:$r,tabIndex:-1,className:"".concat(Rt,"-year-btn")},Xt.locale.format(tr.locale,Or,tr.yearFormat)),rn=i.createElement("button",{type:"button",key:"month",onClick:an,tabIndex:-1,className:"".concat(Rt,"-month-btn")},tr.monthFormat?Xt.locale.format(tr.locale,Or,tr.monthFormat):yr[Br]),fn=tr.monthBeforeYear?[rn,Dr]:[Dr,rn];return i.createElement(te,Object.assign({},Fe,{prefixCls:ir,onSuperPrev:Zr,onPrev:xr,onNext:br,onSuperNext:Wr}),fn)}var ee=At,ie=6;function z(Fe){var Rt=Fe.prefixCls,Xt=Fe.panelName,tr=Xt===void 0?"date":Xt,Or=Fe.keyboardConfig,br=Fe.active,xr=Fe.operationRef,Wr=Fe.generateConfig,Zr=Fe.value,$r=Fe.viewDate,an=Fe.onViewDateChange,rt=Fe.onPanelChange,jt=Fe.onSelect,ir="".concat(Rt,"-").concat(tr,"-panel");xr.current={onKeyDown:function(rn){return _e(rn,Object(K.a)({onLeftRight:function(wn){jt(Wr.addDate(Zr||$r,wn),"key")},onCtrlLeftRight:function(wn){jt(Wr.addYear(Zr||$r,wn),"key")},onUpDown:function(wn){jt(Wr.addDate(Zr||$r,wn*Be),"key")},onPageUpDown:function(wn){jt(Wr.addMonth(Zr||$r,wn),"key")}},Or))}};var yr=function(rn){var fn=Wr.addYear($r,rn);an(fn),rt(null,fn)},Br=function(rn){var fn=Wr.addMonth($r,rn);an(fn),rt(null,fn)};return i.createElement("div",{className:C()(ir,Object(P.a)({},"".concat(ir,"-active"),br))},i.createElement(ee,Object.assign({},Fe,{prefixCls:Rt,value:Zr,viewDate:$r,onPrevYear:function(){yr(-1)},onNextYear:function(){yr(1)},onPrevMonth:function(){Br(-1)},onNextMonth:function(){Br(1)},onMonthClick:function(){rt("month",$r)},onYearClick:function(){rt("year",$r)}})),i.createElement(lt,Object.assign({},Fe,{onSelect:function(rn){return jt(rn,"mouse")},prefixCls:Rt,value:Zr,viewDate:$r,rowCount:ie})))}var $=z;function le(Fe,Rt,Xt){if(!Xt)return Rt;var tr=Rt;return tr=Fe.setHour(tr,Fe.getHour(Xt)),tr=Fe.setMinute(tr,Fe.getMinute(Xt)),tr=Fe.setSecond(tr,Fe.getSecond(Xt)),tr}var ge=Bt("date","time");function Ae(Fe){var Rt=Fe.prefixCls,Xt=Fe.operationRef,tr=Fe.generateConfig,Or=Fe.value,br=Fe.defaultValue,xr=Fe.disabledTime,Wr=Fe.showTime,Zr=Fe.onSelect,$r="".concat(Rt,"-datetime-panel"),an=i.useState(null),rt=Object(H.a)(an,2),jt=rt[0],ir=rt[1],yr=i.useRef({}),Br=i.useRef({}),Dr=Object(Z.a)(Wr)==="object"?Object(K.a)({},Wr):{};function rn(Sn){var bn=ge.indexOf(jt)+Sn,Bn=ge[bn]||null;return Bn}var fn=function(bn){Br.current.onBlur&&Br.current.onBlur(bn),ir(null)};Xt.current={onKeyDown:function(bn){if(bn.which===Y.a.TAB){var Bn=rn(bn.shiftKey?-1:1);return ir(Bn),Bn&&bn.preventDefault(),!0}if(jt){var vn=jt==="date"?yr:Br;return vn.current&&vn.current.onKeyDown&&vn.current.onKeyDown(bn),!0}return[Y.a.LEFT,Y.a.RIGHT,Y.a.UP,Y.a.DOWN].includes(bn.which)?(ir("date"),!0):!1},onBlur:fn,onClose:fn};var wn=function(bn,Bn){var vn=bn;Bn==="date"&&!Or&&Dr.defaultValue?(vn=tr.setHour(vn,tr.getHour(Dr.defaultValue)),vn=tr.setMinute(vn,tr.getMinute(Dr.defaultValue)),vn=tr.setSecond(vn,tr.getSecond(Dr.defaultValue))):Bn==="time"&&!Or&&br&&(vn=tr.setYear(vn,tr.getYear(br)),vn=tr.setMonth(vn,tr.getMonth(br)),vn=tr.setDate(vn,tr.getDate(br))),Zr&&Zr(vn,"mouse")},Hn=xr?xr(Or||null):{};return i.createElement("div",{className:C()($r,Object(P.a)({},"".concat($r,"-active"),jt))},i.createElement($,Object.assign({},Fe,{operationRef:yr,active:jt==="date",onSelect:function(bn){wn(le(tr,bn,Wr&&Object(Z.a)(Wr)==="object"?Wr.defaultValue:null),"date")}})),i.createElement(it,Object.assign({},Fe,{format:void 0},Dr,Hn,{defaultValue:void 0,operationRef:Br,active:jt==="time",onSelect:function(bn){wn(bn,"time")}})))}var Me=Ae;function Ze(Fe){var Rt=Fe.prefixCls,Xt=Fe.generateConfig,tr=Fe.locale,Or=Fe.value,br="".concat(Rt,"-cell"),xr=function(an){return i.createElement("td",{key:"week",className:C()(br,"".concat(br,"-week"))},Xt.locale.getWeek(tr.locale,an))},Wr="".concat(Rt,"-week-panel-row"),Zr=function(an){return C()(Wr,Object(P.a)({},"".concat(Wr,"-selected"),de(Xt,tr.locale,Or,an)))};return i.createElement($,Object.assign({},Fe,{panelName:"week",prefixColumn:xr,rowClassName:Zr,keyboardConfig:{onLeftRight:null}}))}var kt=Ze;function Jt(Fe){var Rt=Fe.prefixCls,Xt=Fe.generateConfig,tr=Fe.locale,Or=Fe.viewDate,br=Fe.onNextYear,xr=Fe.onPrevYear,Wr=Fe.onYearClick,Zr=i.useContext(Q),$r=Zr.hideHeader;if($r)return null;var an="".concat(Rt,"-header");return i.createElement(te,Object.assign({},Fe,{prefixCls:an,onSuperPrev:xr,onSuperNext:br}),i.createElement("button",{type:"button",onClick:Wr,className:"".concat(Rt,"-year-btn")},Xt.locale.format(tr.locale,Or,tr.yearFormat)))}var Et=Jt,Ft=3,Kt=4;function Vt(Fe){var Rt=Fe.prefixCls,Xt=Fe.locale,tr=Fe.value,Or=Fe.viewDate,br=Fe.generateConfig,xr=Fe.monthCellRender,Wr=i.useContext(Oe),Zr=Wr.rangedValue,$r=Wr.hoverRangedValue,an="".concat(Rt,"-cell"),rt=Te({cellPrefixCls:an,value:tr,generateConfig:br,rangedValue:Zr,hoverRangedValue:$r,isSameCell:function(Dr,rn){return qt(br,Dr,rn)},isInView:function(){return!0},offsetCell:function(Dr,rn){return br.addMonth(Dr,rn)}}),jt=Xt.shortMonths||(br.locale.getShortMonths?br.locale.getShortMonths(Xt.locale):[]),ir=br.setMonth(Or,0),yr=xr?function(Br){return xr(Br,Xt)}:void 0;return i.createElement(xe,Object.assign({},Fe,{rowNum:Kt,colNum:Ft,baseDate:ir,getCellNode:yr,getCellText:function(Dr){return Xt.monthFormat?br.locale.format(Xt.locale,Dr,Xt.monthFormat):jt[br.getMonth(Dr)]},getCellClassName:rt,getCellDate:br.addMonth,titleCell:function(Dr){return br.locale.format(Xt.locale,Dr,"YYYY-MM")}}))}var Ot=Vt;function ur(Fe){var Rt=Fe.prefixCls,Xt=Fe.operationRef,tr=Fe.onViewDateChange,Or=Fe.generateConfig,br=Fe.value,xr=Fe.viewDate,Wr=Fe.onPanelChange,Zr=Fe.onSelect,$r="".concat(Rt,"-month-panel");Xt.current={onKeyDown:function(jt){return _e(jt,{onLeftRight:function(yr){Zr(Or.addMonth(br||xr,yr),"key")},onCtrlLeftRight:function(yr){Zr(Or.addYear(br||xr,yr),"key")},onUpDown:function(yr){Zr(Or.addMonth(br||xr,yr*Ft),"key")},onEnter:function(){Wr("date",br||xr)}})}};var an=function(jt){var ir=Or.addYear(xr,jt);tr(ir),Wr(null,ir)};return i.createElement("div",{className:$r},i.createElement(Et,Object.assign({},Fe,{prefixCls:Rt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){Wr("year",xr)}})),i.createElement(Ot,Object.assign({},Fe,{prefixCls:Rt,onSelect:function(jt){Zr(jt,"mouse"),Wr("date",jt)}})))}var Zt=ur;function ze(Fe){var Rt=Fe.prefixCls,Xt=Fe.generateConfig,tr=Fe.locale,Or=Fe.viewDate,br=Fe.onNextYear,xr=Fe.onPrevYear,Wr=Fe.onYearClick,Zr=i.useContext(Q),$r=Zr.hideHeader;if($r)return null;var an="".concat(Rt,"-header");return i.createElement(te,Object.assign({},Fe,{prefixCls:an,onSuperPrev:xr,onSuperNext:br}),i.createElement("button",{type:"button",onClick:Wr,className:"".concat(Rt,"-year-btn")},Xt.locale.format(tr.locale,Or,tr.yearFormat)))}var at=ze,Ve=4,Xe=1;function gt(Fe){var Rt=Fe.prefixCls,Xt=Fe.locale,tr=Fe.value,Or=Fe.viewDate,br=Fe.generateConfig,xr=i.useContext(Oe),Wr=xr.rangedValue,Zr=xr.hoverRangedValue,$r="".concat(Rt,"-cell"),an=Te({cellPrefixCls:$r,value:tr,generateConfig:br,rangedValue:Wr,hoverRangedValue:Zr,isSameCell:function(ir,yr){return Qt(br,ir,yr)},isInView:function(){return!0},offsetCell:function(ir,yr){return br.addMonth(ir,yr*3)}}),rt=br.setDate(br.setMonth(Or,0),1);return i.createElement(xe,Object.assign({},Fe,{rowNum:Xe,colNum:Ve,baseDate:rt,getCellText:function(ir){return br.locale.format(Xt.locale,ir,Xt.quarterFormat||"[Q]Q")},getCellClassName:an,getCellDate:function(ir,yr){return br.addMonth(ir,yr*3)},titleCell:function(ir){return br.locale.format(Xt.locale,ir,"YYYY-[Q]Q")}}))}var ft=gt;function Ge(Fe){var Rt=Fe.prefixCls,Xt=Fe.operationRef,tr=Fe.onViewDateChange,Or=Fe.generateConfig,br=Fe.value,xr=Fe.viewDate,Wr=Fe.onPanelChange,Zr=Fe.onSelect,$r="".concat(Rt,"-quarter-panel");Xt.current={onKeyDown:function(jt){return _e(jt,{onLeftRight:function(yr){Zr(Or.addMonth(br||xr,yr*3),"key")},onCtrlLeftRight:function(yr){Zr(Or.addYear(br||xr,yr),"key")},onUpDown:function(yr){Zr(Or.addYear(br||xr,yr),"key")}})}};var an=function(jt){var ir=Or.addYear(xr,jt);tr(ir),Wr(null,ir)};return i.createElement("div",{className:$r},i.createElement(at,Object.assign({},Fe,{prefixCls:Rt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){Wr("year",xr)}})),i.createElement(ft,Object.assign({},Fe,{prefixCls:Rt,onSelect:function(jt){Zr(jt,"mouse")}})))}var Mt=Ge;function It(Fe){var Rt=Fe.prefixCls,Xt=Fe.generateConfig,tr=Fe.viewDate,Or=Fe.onPrevDecade,br=Fe.onNextDecade,xr=Fe.onDecadeClick,Wr=i.useContext(Q),Zr=Wr.hideHeader;if(Zr)return null;var $r="".concat(Rt,"-header"),an=Xt.getYear(tr),rt=Math.floor(an/Fr)*Fr,jt=rt+Fr-1;return i.createElement(te,Object.assign({},Fe,{prefixCls:$r,onSuperPrev:Or,onSuperNext:br}),i.createElement("button",{type:"button",onClick:xr,className:"".concat(Rt,"-decade-btn")},rt,"-",jt))}var rr=It,Ht=3,pr=4;function Ar(Fe){var Rt=Fe.prefixCls,Xt=Fe.value,tr=Fe.viewDate,Or=Fe.locale,br=Fe.generateConfig,xr=i.useContext(Oe),Wr=xr.rangedValue,Zr=xr.hoverRangedValue,$r="".concat(Rt,"-cell"),an=br.getYear(tr),rt=Math.floor(an/Fr)*Fr,jt=rt+Fr-1,ir=br.setYear(tr,rt-Math.ceil((Ht*pr-Fr)/2)),yr=function(rn){var fn=br.getYear(rn);return rt<=fn&&fn<=jt},Br=Te({cellPrefixCls:$r,value:Xt,generateConfig:br,rangedValue:Wr,hoverRangedValue:Zr,isSameCell:function(rn,fn){return Lt(br,rn,fn)},isInView:yr,offsetCell:function(rn,fn){return br.addYear(rn,fn)}});return i.createElement(xe,Object.assign({},Fe,{rowNum:pr,colNum:Ht,baseDate:ir,getCellText:br.getYear,getCellClassName:Br,getCellDate:br.addYear,titleCell:function(rn){return br.locale.format(Or.locale,rn,"YYYY")}}))}var Nr=Ar,Fr=10;function tn(Fe){var Rt=Fe.prefixCls,Xt=Fe.operationRef,tr=Fe.onViewDateChange,Or=Fe.generateConfig,br=Fe.value,xr=Fe.viewDate,Wr=Fe.sourceMode,Zr=Fe.onSelect,$r=Fe.onPanelChange,an="".concat(Rt,"-year-panel");Xt.current={onKeyDown:function(ir){return _e(ir,{onLeftRight:function(Br){Zr(Or.addYear(br||xr,Br),"key")},onCtrlLeftRight:function(Br){Zr(Or.addYear(br||xr,Br*Fr),"key")},onUpDown:function(Br){Zr(Or.addYear(br||xr,Br*Ht),"key")},onEnter:function(){$r(Wr==="date"?"date":"month",br||xr)}})}};var rt=function(ir){var yr=Or.addYear(xr,ir*10);tr(yr),$r(null,yr)};return i.createElement("div",{className:an},i.createElement(rr,Object.assign({},Fe,{prefixCls:Rt,onPrevDecade:function(){rt(-1)},onNextDecade:function(){rt(1)},onDecadeClick:function(){$r("decade",xr)}})),i.createElement(Nr,Object.assign({},Fe,{prefixCls:Rt,onSelect:function(ir){$r(Wr==="date"?"date":"month",ir),Zr(ir,"mouse")}})))}var Jr=tn;function Lr(Fe){var Rt=Fe.prefixCls,Xt=Fe.generateConfig,tr=Fe.viewDate,Or=Fe.onPrevDecades,br=Fe.onNextDecades,xr=i.useContext(Q),Wr=xr.hideHeader;if(Wr)return null;var Zr="".concat(Rt,"-header"),$r=Xt.getYear(tr),an=Math.floor($r/Sr)*Sr,rt=an+Sr-1;return i.createElement(te,Object.assign({},Fe,{prefixCls:Zr,onSuperPrev:Or,onSuperNext:br}),an,"-",rt)}var Xr=Lr,Tr=3,lr=4;function fr(Fe){var Rt=dr-1,Xt=Fe.prefixCls,tr=Fe.viewDate,Or=Fe.generateConfig,br=Fe.disabledDate,xr="".concat(Xt,"-cell"),Wr=Or.getYear(tr),Zr=Math.floor(Wr/dr)*dr,$r=Math.floor(Wr/Sr)*Sr,an=$r+Sr-1,rt=Or.setYear(tr,$r-Math.ceil((Tr*lr*dr-Sr)/2)),jt=function(yr){var Br,Dr=br&&br(yr),rn=Or.getYear(yr),fn=rn+Rt;return Br={},Object(P.a)(Br,"".concat(xr,"-disabled"),Dr),Object(P.a)(Br,"".concat(xr,"-in-view"),$r<=rn&&fn<=an),Object(P.a)(Br,"".concat(xr,"-selected"),rn===Zr),Br};return i.createElement(xe,Object.assign({},Fe,{rowNum:lr,colNum:Tr,baseDate:rt,getCellText:function(yr){var Br=Or.getYear(yr);return"".concat(Br,"-").concat(Br+Rt)},getCellClassName:jt,getCellDate:function(yr,Br){return Or.addYear(yr,Br*dr)}}))}var sr=fr,dr=10,Sr=dr*10;function Qr(Fe){var Rt=Fe.prefixCls,Xt=Fe.onViewDateChange,tr=Fe.generateConfig,Or=Fe.viewDate,br=Fe.operationRef,xr=Fe.onSelect,Wr=Fe.onPanelChange,Zr="".concat(Rt,"-decade-panel");br.current={onKeyDown:function(jt){return _e(jt,{onLeftRight:function(yr){xr(tr.addYear(Or,yr*dr),"key")},onCtrlLeftRight:function(yr){xr(tr.addYear(Or,yr*Sr),"key")},onUpDown:function(yr){xr(tr.addYear(Or,yr*dr*Tr),"key")},onEnter:function(){Wr("year",Or)}})}};var $r=function(jt){var ir=tr.addYear(Or,jt*Sr);Xt(ir),Wr(null,ir)},an=function(jt){xr(jt,"mouse"),Wr("year",jt)};return i.createElement("div",{className:Zr},i.createElement(Xr,Object.assign({},Fe,{prefixCls:Rt,onPrevDecades:function(){$r(-1)},onNextDecades:function(){$r(1)}})),i.createElement(sr,Object.assign({},Fe,{prefixCls:Rt,onSelect:an})))}var cn=Qr;function Dn(Fe,Rt,Xt){return Xt?i.createElement("div",{className:"".concat(Fe,"-footer-extra")},Xt(Rt)):null}function jr(Fe){var Rt=Fe.prefixCls,Xt=Fe.rangeList,tr=Xt===void 0?[]:Xt,Or=Fe.components,br=Or===void 0?{}:Or,xr=Fe.needConfirmButton,Wr=Fe.onNow,Zr=Fe.onOk,$r=Fe.okDisabled,an=Fe.showNow,rt=Fe.locale,jt,ir;if(tr.length){var yr=br.rangeItem||"span";jt=i.createElement(i.Fragment,null,tr.map(function(Dr){var rn=Dr.label,fn=Dr.onClick,wn=Dr.onMouseEnter,Hn=Dr.onMouseLeave;return i.createElement("li",{key:rn,className:"".concat(Rt,"-preset")},i.createElement(yr,{onClick:fn,onMouseEnter:wn,onMouseLeave:Hn},rn))}))}if(xr){var Br=br.button||"button";Wr&&!jt&&an!==!1&&(jt=i.createElement("li",{className:"".concat(Rt,"-now")},i.createElement("a",{className:"".concat(Rt,"-now-btn"),onClick:Wr},rt.now))),ir=xr&&i.createElement("li",{className:"".concat(Rt,"-ok")},i.createElement(Br,{disabled:$r,onClick:Zr},rt.ok))}return!jt&&!ir?null:i.createElement("ul",{className:"".concat(Rt,"-ranges")},jt,ir)}function Ln(Fe){var Rt,Xt=Fe.prefixCls,tr=Xt===void 0?"rc-picker":Xt,Or=Fe.className,br=Fe.style,xr=Fe.locale,Wr=Fe.generateConfig,Zr=Fe.value,$r=Fe.defaultValue,an=Fe.pickerValue,rt=Fe.defaultPickerValue,jt=Fe.disabledDate,ir=Fe.mode,yr=Fe.picker,Br=yr===void 0?"date":yr,Dr=Fe.tabIndex,rn=Dr===void 0?0:Dr,fn=Fe.showNow,wn=Fe.showTime,Hn=Fe.showToday,Sn=Fe.renderExtraFooter,bn=Fe.hideHeader,Bn=Fe.onSelect,vn=Fe.onChange,Mn=Fe.onPanelChange,En=Fe.onMouseDown,Tn=Fe.onPickerValueChange,Yn=Fe.onOk,ai=Fe.components,ri=Fe.direction,Ri=Fe.hourStep,Ai=Ri===void 0?1:Ri,xi=Fe.minuteStep,Oi=xi===void 0?1:xi,_n=Fe.secondStep,Mi=_n===void 0?1:_n,fa=Br==="date"&&!!wn||Br==="time",_i=24%Ai===0,Bi=60%Oi===0,mi=60%Mi===0,hi=i.useContext(Q),Ji=hi.operationRef,va=hi.panelRef,Ea=hi.onSelect,Aa=hi.hideRanges,oa=hi.defaultOpenValue,sa=i.useContext(Oe),Di=sa.inRange,qn=sa.panelPosition,yi=sa.rangedValue,Ti=sa.hoverRangedValue,Vi=i.useRef({}),Yi=i.useRef(!0),bi=Object(_.a)(null,{value:Zr,defaultValue:$r,postState:function(pi){return!pi&&oa&&Br==="time"?oa:pi}}),ya=Object(H.a)(bi,2),ua=ya[0],la=ya[1],gi=Object(_.a)(null,{value:an,defaultValue:rt||ua,postState:function(pi){return pi||Wr.getNow()}}),Ua=Object(H.a)(gi,2),Ba=Ua[0],ra=Ua[1],Qi=function(pi){ra(pi),Tn&&Tn(pi)},Ya=function(pi){var Gi=Pe[Br];return Gi?Gi(pi):pi},zi=Object(_.a)(function(){return Br==="time"?"time":Ya("date")},{value:ir}),Wi=Object(H.a)(zi,2),ba=Wi[0],_a=Wi[1];i.useEffect(function(){_a(Br)},[Br]);var wa=i.useState(function(){return ba}),vi=Object(H.a)(wa,2),Qa=vi[0],za=vi[1],pa=function(pi,Gi){var oo=Ya(pi||ba);za(ba),_a(oo),Mn&&(ba!==oo||ue(Wr,Ba,Ba))&&Mn(Gi,oo)},Ii=function(pi,Gi){var oo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(ba===Br||oo)&&(la(pi),Bn&&Bn(pi),Ea&&Ea(pi,Gi),vn&&!ue(Wr,pi,ua)&&vn(pi))},So=function(pi){return Vi.current&&Vi.current.onKeyDown?([Y.a.LEFT,Y.a.RIGHT,Y.a.UP,Y.a.DOWN,Y.a.PAGE_UP,Y.a.PAGE_DOWN,Y.a.ENTER].includes(pi.which)&&pi.preventDefault(),Vi.current.onKeyDown(pi)):(Object(g.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Wa=function(pi){Vi.current&&Vi.current.onBlur&&Vi.current.onBlur(pi)};Ji&&qn!=="right"&&(Ji.current={onKeyDown:So,onClose:function(){Vi.current&&Vi.current.onClose&&Vi.current.onClose()}}),i.useEffect(function(){Zr&&!Yi.current&&ra(Zr)},[Zr]),i.useEffect(function(){Yi.current=!1},[]);var ja,Ja=Object(K.a)(Object(K.a)({},Fe),{},{operationRef:Vi,prefixCls:tr,viewDate:Ba,value:ua,onViewDateChange:Qi,sourceMode:Qa,onPanelChange:pa,disabledDate:ba!=="decade"?jt:void 0});delete Ja.onChange,delete Ja.onSelect;switch(ba){case"decade":ja=i.createElement(cn,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"year":ja=i.createElement(Jr,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"month":ja=i.createElement(Zt,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"quarter":ja=i.createElement(Mt,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"week":ja=i.createElement(kt,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"time":delete Ja.showTime,ja=i.createElement(it,Object.assign({},Ja,Object(Z.a)(wn)==="object"?wn:null,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;default:wn?ja=i.createElement(Me,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}})):ja=i.createElement($,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}))}var ho,Ca,to=function(){var pi=Wr.getNow(),Gi=Ke(Wr.getHour(pi),Wr.getMinute(pi),Wr.getSecond(pi),_i?Ai:1,Bi?Oi:1,mi?Mi:1),oo=Pt(Wr,pi,Gi[0],Gi[1],Gi[2]);Ii(oo,"submit")};Aa||(ho=Dn(tr,ba,Sn),Ca=jr({prefixCls:tr,components:ai,needConfirmButton:fa,okDisabled:!ua||jt&&jt(ua),locale:xr,showNow:fn,onNow:fa&&to,onOk:function(){ua&&(Ii(ua,"submit",!0),Yn&&Yn(ua))}}));var Oo;if(Hn&&ba==="date"&&Br==="date"&&!wn){var Ta=Wr.getNow(),Fi="".concat(tr,"-today-btn"),Za=jt&&jt(Ta);Oo=i.createElement("a",{className:C()(Fi,Za&&"".concat(Fi,"-disabled")),"aria-disabled":Za,onClick:function(){Za||Ii(Ta,"mouse",!0)}},xr.today)}return i.createElement(Q.Provider,{value:Object(K.a)(Object(K.a)({},hi),{},{hideHeader:"hideHeader"in Fe?bn:hi.hideHeader,hidePrevBtn:Di&&qn==="right",hideNextBtn:Di&&qn==="left"})},i.createElement("div",{tabIndex:rn,className:C()("".concat(tr,"-panel"),Or,(Rt={},Object(P.a)(Rt,"".concat(tr,"-panel-has-range"),yi&&yi[0]&&yi[1]),Object(P.a)(Rt,"".concat(tr,"-panel-has-range-hover"),Ti&&Ti[0]&&Ti[1]),Object(P.a)(Rt,"".concat(tr,"-panel-rtl"),ri==="rtl"),Rt)),style:br,onKeyDown:So,onBlur:Wa,onMouseDown:En,ref:va},ja,ho||Ca||Oo?i.createElement("div",{className:"".concat(tr,"-footer")},ho,Ca,Oo):null))}var gn=Ln,Un=e("uciX"),Wn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Jn(Fe){var Rt,Xt=Fe.prefixCls,tr=Fe.popupElement,Or=Fe.popupStyle,br=Fe.visible,xr=Fe.dropdownClassName,Wr=Fe.dropdownAlign,Zr=Fe.transitionName,$r=Fe.getPopupContainer,an=Fe.children,rt=Fe.range,jt=Fe.popupPlacement,ir=Fe.direction,yr="".concat(Xt,"-dropdown"),Br=function(){return jt!==void 0?jt:ir==="rtl"?"bottomRight":"bottomLeft"};return i.createElement(Un.a,{showAction:[],hideAction:[],popupPlacement:Br(),builtinPlacements:Wn,prefixCls:yr,popupTransitionName:Zr,popup:tr,popupAlign:Wr,popupVisible:br,popupClassName:C()(xr,(Rt={},Object(P.a)(Rt,"".concat(yr,"-range"),rt),Object(P.a)(Rt,"".concat(yr,"-rtl"),ir==="rtl"),Rt)),popupStyle:Or,getPopupContainer:$r},an)}var Qn=Jn;function Vn(Fe){var Rt=Fe.open,Xt=Fe.value,tr=Fe.isClickOutside,Or=Fe.triggerOpen,br=Fe.forwardKeyDown,xr=Fe.blurToCancel,Wr=Fe.onSubmit,Zr=Fe.onCancel,$r=Fe.onFocus,an=Fe.onBlur,rt=Object(i.useState)(!1),jt=Object(H.a)(rt,2),ir=jt[0],yr=jt[1],Br=Object(i.useState)(!1),Dr=Object(H.a)(Br,2),rn=Dr[0],fn=Dr[1],wn=Object(i.useRef)(!1),Hn=Object(i.useRef)(!1),Sn={onMouseDown:function(){yr(!0),Or(!0)},onKeyDown:function(Bn){switch(Bn.which){case Y.a.ENTER:{Rt?Wr()!==!1&&yr(!0):Or(!0),Bn.preventDefault();return}case Y.a.TAB:{ir&&Rt&&!Bn.shiftKey?(yr(!1),Bn.preventDefault()):!ir&&Rt&&(!br(Bn)&&Bn.shiftKey&&(yr(!0),Bn.preventDefault()));return}case Y.a.ESC:{yr(!0),Zr();return}}!Rt&&![Y.a.SHIFT].includes(Bn.which)?Or(!0):ir||br(Bn)},onFocus:function(Bn){yr(!0),fn(!0),$r&&$r(Bn)},onBlur:function(Bn){if(wn.current||!tr(document.activeElement)){wn.current=!1;return}xr?setTimeout(function(){tr(document.activeElement)&&Zr()},0):Rt&&(Or(!1),Hn.current&&Wr()),fn(!1),an&&an(Bn)}};return Object(i.useEffect)(function(){Hn.current=!1},[Rt]),Object(i.useEffect)(function(){Hn.current=!0},[Xt]),Object(i.useEffect)(function(){return bt(function(bn){var Bn=bn.target;Rt&&(tr(Bn)?rn||Or(!1):(wn.current=!0,requestAnimationFrame(function(){wn.current=!1})))})}),[Sn,{focused:rn,typing:ir}]}function yn(Fe){var Rt=Fe.valueTexts,Xt=Fe.onTextChange,tr=i.useState(""),Or=Object(H.a)(tr,2),br=Or[0],xr=Or[1],Wr=i.useRef([]);Wr.current=Rt;function Zr(an){xr(an),Xt(an)}function $r(){xr(Wr.current[0])}return i.useEffect(function(){Rt.every(function(an){return an!==br})&&$r()},[Rt.join("||")]),[br,Zr,$r]}var on=e("Gytx"),ia=e.n(on);function xa(Fe,Rt){var Xt=Rt.formatList,tr=Rt.generateConfig,Or=Rt.locale;return Object(we.a)(function(){if(!Fe)return[[""],""];for(var br="",xr=[],Wr=0;Wr<Xt.length;Wr+=1){var Zr=Xt[Wr],$r=tr.locale.format(Or.locale,Fe,Zr);xr.push($r),Wr===0&&(br=$r)}return[xr,br]},[Fe,Xt],function(br,xr){return br[0]!==xr[0]||!ia()(br[1],xr[1])})}function ta(Fe,Rt){var Xt=Rt.formatList,tr=Rt.generateConfig,Or=Rt.locale,br=Object(i.useState)(null),xr=Object(H.a)(br,2),Wr=xr[0],Zr=xr[1],$r=xa(Wr,{formatList:Xt,generateConfig:tr,locale:Or}),an=Object(H.a)($r,2),rt=an[1];function jt(yr){Zr(yr)}function ir(){Zr(null)}return Object(i.useEffect)(function(){ir()},[Fe]),[rt,jt,ir]}function Ni(Fe){var Rt,Xt=Fe.prefixCls,tr=Xt===void 0?"rc-picker":Xt,Or=Fe.id,br=Fe.tabIndex,xr=Fe.style,Wr=Fe.className,Zr=Fe.dropdownClassName,$r=Fe.dropdownAlign,an=Fe.popupStyle,rt=Fe.transitionName,jt=Fe.generateConfig,ir=Fe.locale,yr=Fe.inputReadOnly,Br=Fe.allowClear,Dr=Fe.autoFocus,rn=Fe.showTime,fn=Fe.picker,wn=fn===void 0?"date":fn,Hn=Fe.format,Sn=Fe.use12Hours,bn=Fe.value,Bn=Fe.defaultValue,vn=Fe.open,Mn=Fe.defaultOpen,En=Fe.defaultOpenValue,Tn=Fe.suffixIcon,Yn=Fe.clearIcon,ai=Fe.disabled,ri=Fe.disabledDate,Ri=Fe.placeholder,Ai=Fe.getPopupContainer,xi=Fe.pickerRef,Oi=Fe.panelRender,_n=Fe.onChange,Mi=Fe.onOpenChange,fa=Fe.onFocus,_i=Fe.onBlur,Bi=Fe.onMouseDown,mi=Fe.onMouseUp,hi=Fe.onMouseEnter,Ji=Fe.onMouseLeave,va=Fe.onContextMenu,Ea=Fe.onClick,Aa=Fe.direction,oa=Fe.autoComplete,sa=oa===void 0?"off":oa,Di=i.useRef(null),qn=wn==="date"&&!!rn||wn==="time",yi=_t(je(Hn,wn,rn,Sn)),Ti=i.useRef(null),Vi=i.useRef(null),Yi=Object(_.a)(null,{value:bn,defaultValue:Bn}),bi=Object(H.a)(Yi,2),ya=bi[0],ua=bi[1],la=i.useState(ya),gi=Object(H.a)(la,2),Ua=gi[0],Ba=gi[1],ra=i.useRef(null),Qi=Object(_.a)(!1,{value:vn,defaultValue:Mn,postState:function($i){return ai?!1:$i},onChange:function($i){Mi&&Mi($i),!$i&&ra.current&&ra.current.onClose&&ra.current.onClose()}}),Ya=Object(H.a)(Qi,2),zi=Ya[0],Wi=Ya[1],ba=xa(Ua,{formatList:yi,generateConfig:jt,locale:ir}),_a=Object(H.a)(ba,2),wa=_a[0],vi=_a[1],Qa=yn({valueTexts:wa,onTextChange:function($i){var xo=jt.locale.parse(ir.locale,$i,yi);xo&&(!ri||!ri(xo))&&Ba(xo)}}),za=Object(H.a)(Qa,3),pa=za[0],Ii=za[1],So=za[2],Wa=function($i){Ba($i),ua($i),_n&&!ue(jt,ya,$i)&&_n($i,$i?jt.locale.format(ir.locale,$i,yi[0]):"")},ja=function($i){if(ai&&$i)return;Wi($i)},Ja=function($i){return zi&&ra.current&&ra.current.onKeyDown?ra.current.onKeyDown($i):(Object(g.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ho=function(){mi&&mi.apply(void 0,arguments),Di.current&&(Di.current.focus(),ja(!0))},Ca=Vn({blurToCancel:qn,open:zi,value:pa,triggerOpen:ja,forwardKeyDown:Ja,isClickOutside:function($i){return!De([Ti.current,Vi.current],$i)},onSubmit:function(){return ri&&ri(Ua)?!1:(Wa(Ua),ja(!1),So(),!0)},onCancel:function(){ja(!1),Ba(ya),So()},onFocus:fa,onBlur:_i}),to=Object(H.a)(Ca,2),Oo=to[0],Ta=to[1],Fi=Ta.focused,Za=Ta.typing;i.useEffect(function(){zi||(Ba(ya),!wa.length||wa[0]===""?Ii(""):vi!==pa&&So())},[zi,wa]),i.useEffect(function(){zi||So()},[wn]),i.useEffect(function(){Ba(ya)},[ya]),xi&&(xi.current={focus:function(){Di.current&&Di.current.focus()},blur:function(){Di.current&&Di.current.blur()}});var Ra=Object(K.a)(Object(K.a)({},Fe),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),pi=i.createElement(gn,Object.assign({},Ra,{generateConfig:jt,className:C()(Object(P.a)({},"".concat(tr,"-panel-focused"),!Za)),value:Ua,locale:ir,tabIndex:-1,onChange:Ba,direction:Aa}));Oi&&(pi=Oi(pi));var Gi=i.createElement("div",{className:"".concat(tr,"-panel-container"),onMouseDown:function($i){$i.preventDefault()}},pi),oo;Tn&&(oo=i.createElement("span",{className:"".concat(tr,"-suffix")},Tn));var go;Br&&ya&&!ai&&(go=i.createElement("span",{onMouseDown:function($i){$i.preventDefault(),$i.stopPropagation()},onMouseUp:function($i){$i.preventDefault(),$i.stopPropagation(),Wa(null),ja(!1)},className:"".concat(tr,"-clear")},Yn||i.createElement("span",{className:"".concat(tr,"-clear-btn")})));var fo=function($i,xo){(xo==="submit"||xo!=="key"&&!qn)&&(Wa($i),ja(!1))},La=Aa==="rtl"?"bottomRight":"bottomLeft",Pi=ta(pa,{formatList:yi,generateConfig:jt,locale:ir}),Ma=Object(H.a)(Pi,3),Vo=Ma[0],ro=Ma[1],vo=Ma[2];return i.createElement(Q.Provider,{value:{operationRef:ra,hideHeader:wn==="time",panelRef:Ti,onSelect:fo,open:zi,defaultOpenValue:En,onDateMouseEnter:ro,onDateMouseLeave:vo}},i.createElement(Qn,{visible:zi,popupElement:Gi,popupStyle:an,prefixCls:tr,dropdownClassName:Zr,dropdownAlign:$r,getPopupContainer:Ai,transitionName:rt,popupPlacement:La,direction:Aa},i.createElement("div",{className:C()(tr,Wr,(Rt={},Object(P.a)(Rt,"".concat(tr,"-disabled"),ai),Object(P.a)(Rt,"".concat(tr,"-focused"),Fi),Object(P.a)(Rt,"".concat(tr,"-rtl"),Aa==="rtl"),Rt)),style:xr,onMouseDown:Bi,onMouseUp:ho,onMouseEnter:hi,onMouseLeave:Ji,onContextMenu:va,onClick:Ea},i.createElement("div",{className:C()("".concat(tr,"-input"),Object(P.a)({},"".concat(tr,"-input-placeholder"),!!Vo)),ref:Vi},i.createElement("input",Object.assign({id:Or,tabIndex:br,disabled:ai,readOnly:yr||!Za,value:Vo||pa,onChange:function($i){Ii($i.target.value)},autoFocus:Dr,placeholder:Ri,ref:Di,title:pa},Oo,{size:Ct(wn,yi[0])},Ue(Fe),{autoComplete:sa})),oo,go))))}var Ci=function(Fe){Object(M.a)(Xt,Fe);var Rt=Object(j.a)(Xt);function Xt(){var tr;return Object(R.a)(this,Xt),tr=Rt.apply(this,arguments),tr.pickerRef=i.createRef(),tr.focus=function(){tr.pickerRef.current&&tr.pickerRef.current.focus()},tr.blur=function(){tr.pickerRef.current&&tr.pickerRef.current.blur()},tr}return Object(U.a)(Xt,[{key:"render",value:function(){return i.createElement(Ni,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Xt}(i.Component),Gn=Ci;function Ia(Fe,Rt,Xt){var tr=Fe.picker,Or=Fe.locale,br=Fe.selectedValue,xr=Fe.disabledDate,Wr=Fe.disabled,Zr=Fe.generateConfig,$r=zt(br,0),an=zt(br,1);function rt(Dr){var rn=Zr.getYear(Dr),fn=Zr.locale.getWeek(Or.locale,Dr);return rn*100+fn}function jt(Dr){var rn=Zr.getYear(Dr),fn=Zr.getMonth(Dr);return rn*100+fn}function ir(Dr){var rn=Zr.getYear(Dr),fn=or(Zr,Dr);return rn*10+fn}var yr=i.useCallback(function(Dr){if(xr&&xr(Dr))return!0;if(Wr[1]&&an)return!hr(Zr,Dr,an)&&Zr.isAfter(Dr,an);if(Rt&&an)switch(tr){case"quarter":return ir(Dr)>ir(an);case"month":return jt(Dr)>jt(an);case"week":return rt(Dr)>rt(an);default:return!hr(Zr,Dr,an)&&Zr.isAfter(Dr,an)}return!1},[xr,Wr[1],an,Rt]),Br=i.useCallback(function(Dr){if(xr&&xr(Dr))return!0;if(Wr[0]&&$r)return!hr(Zr,Dr,an)&&Zr.isAfter($r,Dr);if(Xt&&$r)switch(tr){case"quarter":return ir(Dr)<ir($r);case"month":return jt(Dr)<jt($r);case"week":return rt(Dr)<rt($r);default:return!hr(Zr,Dr,$r)&&Zr.isAfter($r,Dr)}return!1},[xr,Wr[0],$r,Xt]);return[yr,Br]}function mn(Fe,Rt,Xt,tr){var Or=ye(Fe,Xt,tr,1);function br(xr){return xr(Fe,Rt)?"same":xr(Or,Rt)?"closing":"far"}switch(Xt){case"year":return br(function(xr,Wr){return Mr(tr,xr,Wr)});case"quarter":case"month":return br(function(xr,Wr){return Lt(tr,xr,Wr)});default:return br(function(xr,Wr){return qt(tr,xr,Wr)})}}function In(Fe,Rt,Xt,tr){var Or=zt(Fe,0),br=zt(Fe,1);if(Rt===0)return Or;if(Or&&br){var xr=mn(Or,br,Xt,tr);switch(xr){case"same":return Or;case"closing":return Or;default:return ye(br,Xt,tr,-1)}}return Or}function On(Fe){var Rt=Fe.values,Xt=Fe.picker,tr=Fe.defaultDates,Or=Fe.generateConfig,br=i.useState(function(){return[zt(tr,0),zt(tr,1)]}),xr=Object(H.a)(br,2),Wr=xr[0],Zr=xr[1],$r=i.useState(null),an=Object(H.a)($r,2),rt=an[0],jt=an[1],ir=zt(Rt,0),yr=zt(Rt,1);function Br(rn){return Wr[rn]?Wr[rn]:zt(rt,rn)||In(Rt,rn,Xt,Or)||ir||yr||Or.getNow()}function Dr(rn,fn){if(rn){var wn=xt(rt,rn,fn);Zr(xt(Wr,null,fn)||[null,null]);var Hn=(fn+1)%2;zt(Rt,Hn)||(wn=xt(wn,rn,Hn)),jt(wn)}else(ir||yr)&&jt(null)}return[Br,Dr]}function Nn(Fe,Rt){return Fe&&Fe[0]&&Fe[1]&&Rt.isAfter(Fe[0],Fe[1])?[Fe[1],Fe[0]]:Fe}function jn(Fe,Rt,Xt,tr){return Fe||tr&&tr[Rt]?!0:!!Xt[(Rt+1)%2]}function ni(Fe){var Rt,Xt,tr,Or=Fe.prefixCls,br=Or===void 0?"rc-picker":Or,xr=Fe.id,Wr=Fe.style,Zr=Fe.className,$r=Fe.popupStyle,an=Fe.dropdownClassName,rt=Fe.transitionName,jt=Fe.dropdownAlign,ir=Fe.getPopupContainer,yr=Fe.generateConfig,Br=Fe.locale,Dr=Fe.placeholder,rn=Fe.autoFocus,fn=Fe.disabled,wn=Fe.format,Hn=Fe.picker,Sn=Hn===void 0?"date":Hn,bn=Fe.showTime,Bn=Fe.use12Hours,vn=Fe.separator,Mn=vn===void 0?"~":vn,En=Fe.value,Tn=Fe.defaultValue,Yn=Fe.defaultPickerValue,ai=Fe.open,ri=Fe.defaultOpen,Ri=Fe.disabledDate,Ai=Fe.disabledTime,xi=Fe.dateRender,Oi=Fe.panelRender,_n=Fe.ranges,Mi=Fe.allowEmpty,fa=Fe.allowClear,_i=Fe.suffixIcon,Bi=Fe.clearIcon,mi=Fe.pickerRef,hi=Fe.inputReadOnly,Ji=Fe.mode,va=Fe.renderExtraFooter,Ea=Fe.onChange,Aa=Fe.onOpenChange,oa=Fe.onPanelChange,sa=Fe.onCalendarChange,Di=Fe.onFocus,qn=Fe.onBlur,yi=Fe.onOk,Ti=Fe.components,Vi=Fe.order,Yi=Fe.direction,bi=Fe.activePickerIndex,ya=Fe.autoComplete,ua=ya===void 0?"off":ya,la=Sn==="date"&&!!bn||Sn==="time",gi=Object(i.useRef)({}),Ua=Object(i.useRef)(null),Ba=Object(i.useRef)(null),ra=Object(i.useRef)(null),Qi=Object(i.useRef)(null),Ya=Object(i.useRef)(null),zi=Object(i.useRef)(null),Wi=Object(i.useRef)(null),ba=_t(je(wn,Sn,bn,Bn)),_a=Object(_.a)(0,{value:bi}),wa=Object(H.a)(_a,2),vi=wa[0],Qa=wa[1],za=Object(i.useRef)(null),pa=i.useMemo(function(){return Array.isArray(fn)?fn:[fn||!1,fn||!1]},[fn]),Ii=Object(_.a)(null,{value:En,defaultValue:Tn,postState:function(ci){return Sn==="time"&&!Vi?ci:Nn(ci,yr)}}),So=Object(H.a)(Ii,2),Wa=So[0],ja=So[1],Ja=On({values:Wa,picker:Sn,defaultDates:Yn,generateConfig:yr}),ho=Object(H.a)(Ja,2),Ca=ho[0],to=ho[1],Oo=Object(_.a)(Wa,{postState:function(ci){var ki=ci;if(pa[0]&&pa[1])return ki;for(var Kn=0;Kn<2;Kn+=1)pa[Kn]&&!zt(ki,Kn)&&!zt(Mi,Kn)&&(ki=xt(ki,yr.getNow(),Kn));return ki}}),Ta=Object(H.a)(Oo,2),Fi=Ta[0],Za=Ta[1],Ra=Object(_.a)([Sn,Sn],{value:Ji}),pi=Object(H.a)(Ra,2),Gi=pi[0],oo=pi[1];Object(i.useEffect)(function(){oo([Sn,Sn])},[Sn]);var go=function(ci,ki){oo(ci),oa&&oa(ki,ci)},fo=Ia({picker:Sn,selectedValue:Fi,locale:Br,disabled:pa,disabledDate:Ri,generateConfig:yr},gi.current[1],gi.current[0]),La=Object(H.a)(fo,2),Pi=La[0],Ma=La[1],Vo=Object(_.a)(!1,{value:ai,defaultValue:ri,postState:function(ci){return pa[vi]?!1:ci},onChange:function(ci){Aa&&Aa(ci),!ci&&za.current&&za.current.onClose&&za.current.onClose()}}),ro=Object(H.a)(Vo,2),vo=ro[0],po=ro[1],$i=vo&&vi===0,xo=vo&&vi===1,is=Object(i.useState)(0),Zo=Object(H.a)(is,2),Ns=Zo[0],Cs=Zo[1];Object(i.useEffect)(function(){!vo&&Ua.current&&Cs(Ua.current.offsetWidth)},[vo]);var Ls=i.useRef();function Go(ca,ci){if(ca)clearTimeout(Ls.current),gi.current[ci]=!0,Qa(ci),po(ca),vo||to(null,ci);else if(vi===ci){po(ca);var ki=gi.current;Ls.current=setTimeout(function(){ki===gi.current&&(gi.current={})})}}function bo(ca){Go(!0,ca),setTimeout(function(){var ci=[zi,Wi][ca];ci.current&&ci.current.focus()},0)}function $a(ca,ci){var ki=ca,Kn=zt(ki,0),io=zt(ki,1);Kn&&io&&yr.isAfter(Kn,io)&&(Sn==="week"&&!de(yr,Br.locale,Kn,io)||Sn==="quarter"&&!Qt(yr,Kn,io)||Sn!=="week"&&Sn!=="quarter"&&Sn!=="time"&&!hr(yr,Kn,io)?(ci===0?(ki=[Kn,null],io=null):(Kn=null,ki=[null,io]),gi.current=Object(P.a)({},ci,!0)):(Sn!=="time"||Vi!==!1)&&(ki=Nn(ki,yr))),Za(ki);var Jo=ki&&ki[0]?yr.locale.format(Br.locale,ki[0],ba[0]):"",gs=ki&&ki[1]?yr.locale.format(Br.locale,ki[1],ba[0]):"";if(sa){var os={range:ci===0?"start":"end"};sa(ki,[Jo,gs],os)}var $o=jn(Kn,0,pa,Mi),qo=jn(io,1,pa,Mi),ws=ki===null||$o&&qo;ws&&(ja(ki),Ea&&(!ue(yr,zt(Wa,0),Kn)||!ue(yr,zt(Wa,1),io))&&Ea(ki,[Jo,gs]));var Ho=null;ci===0&&!pa[1]?Ho=1:ci===1&&!pa[0]&&(Ho=0),Ho!==null&&Ho!==vi&&(!gi.current[Ho]||!zt(ki,Ho))&&zt(ki,ci)?bo(Ho):Go(!1,ci)}var Ga=function(ci){return vo&&za.current&&za.current.onKeyDown?za.current.onKeyDown(ci):(Object(g.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},so={formatList:ba,generateConfig:yr,locale:Br},ps=xa(zt(Fi,0),so),wr=Object(H.a)(ps,2),Yo=wr[0],ss=wr[1],Os=xa(zt(Fi,1),so),Fa=Object(H.a)(Os,2),Oa=Fa[0],Io=Fa[1],To=function(ci,ki){var Kn=yr.locale.parse(Br.locale,ci,ba),io=ki===0?Pi:Ma;Kn&&!io(Kn)&&(Za(xt(Fi,Kn,ki)),to(Kn,ki))},ts=yn({valueTexts:Yo,onTextChange:function(ci){return To(ci,0)}}),ko=Object(H.a)(ts,3),rs=ko[0],ms=ko[1],ls=ko[2],Ds=yn({valueTexts:Oa,onTextChange:function(ci){return To(ci,1)}}),Rs=Object(H.a)(Ds,3),as=Rs[0],$s=Rs[1],us=Rs[2],Bo=Object(i.useState)(null),Rn=Object(H.a)(Bo,2),Vs=Rn[0],Is=Rn[1],Nt=Object(i.useState)(null),re=Object(H.a)(Nt,2),ce=re[0],fe=re[1],Le=ta(rs,{formatList:ba,generateConfig:yr,locale:Br}),st=Object(H.a)(Le,3),Dt=st[0],cr=st[1],mr=st[2],Rr=ta(as,{formatList:ba,generateConfig:yr,locale:Br}),qr=Object(H.a)(Rr,3),ln=qr[0],An=qr[1],Cn=qr[2],Xn=function(ci){fe(xt(Fi,ci,vi)),vi===0?cr(ci):An(ci)},ti=function(){fe(xt(Fi,null,vi)),vi===0?mr(null):Cn(null)},wi=function(ci,ki){return{blurToCancel:la,forwardKeyDown:Ga,onBlur:qn,isClickOutside:function(io){return!De([Ba.current,ra.current,Qi.current],io)},onFocus:function(io){Qa(ci),Di&&Di(io)},triggerOpen:function(io){Go(io,ci)},onSubmit:function(){$a(Fi,ci),ki()},onCancel:function(){Go(!1,ci),Za(Wa),ki()}}},ea=Vn(Object(K.a)(Object(K.a)({},wi(0,ls)),{},{open:$i,value:rs})),ji=Object(H.a)(ea,2),Sa=ji[0],lo=ji[1],Ka=lo.focused,Ao=lo.typing,yo=Vn(Object(K.a)(Object(K.a)({},wi(1,us)),{},{open:xo,value:as})),qa=Object(H.a)(yo,2),Fo=qa[0],Do=qa[1],Ha=Do.focused,jo=Do.typing,Po=function(ci){!vo&&!zi.current.contains(ci.target)&&!Wi.current.contains(ci.target)&&(pa[0]?pa[1]||bo(1):bo(0))},Xo=function(ci){vo&&(Ka||Ha)&&!zi.current.contains(ci.target)&&!Wi.current.contains(ci.target)&&ci.preventDefault()},wo=Wa&&Wa[0]?yr.locale.format(Br.locale,Wa[0],"YYYYMMDDHHmmss"):"",cs=Wa&&Wa[1]?yr.locale.format(Br.locale,Wa[1],"YYYYMMDDHHmmss"):"";Object(i.useEffect)(function(){vo||(Za(Wa),!Yo.length||Yo[0]===""?ms(""):ss!==rs&&ls(),!Oa.length||Oa[0]===""?$s(""):Io!==as&&us())},[vo,Yo,Oa]),Object(i.useEffect)(function(){Za(Wa)},[wo,cs]),mi&&(mi.current={focus:function(){zi.current&&zi.current.focus()},blur:function(){zi.current&&zi.current.blur(),Wi.current&&Wi.current.blur()}});var ns=Object.keys(_n||{}),Ys=ns.map(function(ca){var ci=_n[ca],ki=typeof ci=="function"?ci():ci;return{label:ca,onClick:function(){$a(ki,null),Go(!1,vi)},onMouseEnter:function(){Is(ki)},onMouseLeave:function(){Is(null)}}});function Qs(){var ca=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ci=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ki=null;vo&&ce&&ce[0]&&ce[1]&&yr.isAfter(ce[1],ce[0])&&(ki=ce);var Kn=bn;if(bn&&Object(Z.a)(bn)==="object"&&bn.defaultValue){var io=bn.defaultValue;Kn=Object(K.a)(Object(K.a)({},bn),{},{defaultValue:zt(io,vi)||void 0})}var Jo=null;return xi&&(Jo=function(os,$o){return xi(os,$o,{range:vi?"end":"start"})}),i.createElement(Oe.Provider,{value:{inRange:!0,panelPosition:ca,rangedValue:Vs||Fi,hoverRangedValue:ki}},i.createElement(gn,Object.assign({},Fe,ci,{dateRender:Jo,showTime:Kn,mode:Gi[vi],generateConfig:yr,style:void 0,direction:Yi,disabledDate:vi===0?Pi:Ma,disabledTime:function(os){return Ai?Ai(os,vi===0?"start":"end"):!1},className:C()(Object(P.a)({},"".concat(br,"-panel-focused"),vi===0?!Ao:!jo)),value:zt(Fi,vi),locale:Br,tabIndex:-1,onPanelChange:function(os,$o){go(xt(Gi,$o,vi),xt(Fi,os,vi));var qo=os;ca==="right"&&Gi[vi]===$o&&(qo=ye(qo,$o,yr,-1)),to(qo,vi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Qo=0,Eo=0;vi&&ra.current&&Ya.current&&Ba.current&&(Qo=ra.current.offsetWidth+Ya.current.offsetWidth,Ba.current.offsetWidth&&Qo>Ba.current.offsetWidth&&(Eo=Qo));var ds=Yi==="rtl"?{right:Qo}:{left:Qo};function hs(){var ca,ci=Dn(br,Gi[vi],va),ki=jr({prefixCls:br,components:Ti,needConfirmButton:la,okDisabled:!zt(Fi,vi)||Ri&&Ri(Fi[vi]),locale:Br,rangeList:Ys,onOk:function(){zt(Fi,vi)&&($a(Fi,vi),yi&&yi(Fi))}});if(Sn!=="time"&&!bn){var Kn=Ca(vi),io=ye(Kn,Sn,yr),Jo=Gi[vi],gs=Jo===Sn,os=Qs(gs?"left":!1,{pickerValue:Kn,onPickerValueChange:function(Ho){to(Ho,vi)}}),$o=Qs("right",{pickerValue:io,onPickerValueChange:function(Ho){to(ye(Ho,Sn,yr,-1),vi)}});Yi==="rtl"?ca=i.createElement(i.Fragment,null,$o,gs&&os):ca=i.createElement(i.Fragment,null,os,gs&&$o)}else ca=Qs();var qo=i.createElement(i.Fragment,null,i.createElement("div",{className:"".concat(br,"-panels")},ca),(ci||ki)&&i.createElement("div",{className:"".concat(br,"-footer")},ci,ki));return Oi&&(qo=Oi(qo)),i.createElement("div",{className:"".concat(br,"-panel-container"),style:{marginLeft:Eo},ref:Ba,onMouseDown:function(Ho){Ho.preventDefault()}},qo)}var Ms=i.createElement("div",{className:C()("".concat(br,"-range-wrapper"),"".concat(br,"-").concat(Sn,"-range-wrapper")),style:{minWidth:Ns}},i.createElement("div",{className:"".concat(br,"-range-arrow"),style:ds}),hs()),Ro;_i&&(Ro=i.createElement("span",{className:"".concat(br,"-suffix")},_i));var As;fa&&(zt(Wa,0)&&!pa[0]||zt(Wa,1)&&!pa[1])&&(As=i.createElement("span",{onMouseDown:function(ci){ci.preventDefault(),ci.stopPropagation()},onMouseUp:function(ci){ci.preventDefault(),ci.stopPropagation();var ki=Wa;pa[0]||(ki=xt(ki,null,0)),pa[1]||(ki=xt(ki,null,1)),$a(ki,null),Go(!1,vi)},className:"".concat(br,"-clear")},Bi||i.createElement("span",{className:"".concat(br,"-clear-btn")})));var Bs={size:Ct(Sn,ba[0])},ys=0,Fs=0;ra.current&&Qi.current&&Ya.current&&(vi===0?Fs=ra.current.offsetWidth:(ys=Qo,Fs=Qi.current.offsetWidth));var Hs=Yi==="rtl"?{right:ys}:{left:ys},bs=function(ci,ki){var Kn=xt(Fi,ci,vi);ki==="submit"||ki!=="key"&&!la?$a(Kn,vi):Za(Kn)};return i.createElement(Q.Provider,{value:{operationRef:za,hideHeader:Sn==="time",onDateMouseEnter:Xn,onDateMouseLeave:ti,hideRanges:!0,onSelect:bs,open:vo}},i.createElement(Qn,{visible:vo,popupElement:Ms,popupStyle:$r,prefixCls:br,dropdownClassName:an,dropdownAlign:jt,getPopupContainer:ir,transitionName:rt,range:!0,direction:Yi},i.createElement("div",Object.assign({ref:Ua,className:C()(br,"".concat(br,"-range"),Zr,(Rt={},Object(P.a)(Rt,"".concat(br,"-disabled"),pa[0]&&pa[1]),Object(P.a)(Rt,"".concat(br,"-focused"),vi===0?Ka:Ha),Object(P.a)(Rt,"".concat(br,"-rtl"),Yi==="rtl"),Rt)),style:Wr,onClick:Po,onMouseDown:Xo},Ue(Fe)),i.createElement("div",{className:C()("".concat(br,"-input"),(Xt={},Object(P.a)(Xt,"".concat(br,"-input-active"),vi===0),Object(P.a)(Xt,"".concat(br,"-input-placeholder"),!!Dt),Xt)),ref:ra},i.createElement("input",Object.assign({id:xr,disabled:pa[0],readOnly:hi||!Ao,value:Dt||rs,onChange:function(ci){ms(ci.target.value)},autoFocus:rn,placeholder:zt(Dr,0)||"",ref:zi},Sa,Bs,{autoComplete:ua}))),i.createElement("div",{className:"".concat(br,"-range-separator"),ref:Ya},Mn),i.createElement("div",{className:C()("".concat(br,"-input"),(tr={},Object(P.a)(tr,"".concat(br,"-input-active"),vi===1),Object(P.a)(tr,"".concat(br,"-input-placeholder"),!!ln),tr)),ref:Qi},i.createElement("input",Object.assign({disabled:pa[1],readOnly:hi||!jo,value:ln||as,onChange:function(ci){$s(ci.target.value)},placeholder:zt(Dr,1)||"",ref:Wi},Fo,Bs,{autoComplete:ua}))),i.createElement("div",{className:"".concat(br,"-active-bar"),style:Object(K.a)(Object(K.a)({},Hs),{},{width:Fs,position:"absolute"})}),Ro,As)))}var di=function(Fe){Object(M.a)(Xt,Fe);var Rt=Object(j.a)(Xt);function Xt(){var tr;return Object(R.a)(this,Xt),tr=Rt.apply(this,arguments),tr.pickerRef=i.createRef(),tr.focus=function(){tr.pickerRef.current&&tr.pickerRef.current.focus()},tr.blur=function(){tr.pickerRef.current&&tr.pickerRef.current.blur()},tr}return Object(U.a)(Xt,[{key:"render",value:function(){return i.createElement(ni,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Xt}(i.Component),Da=di,Xi=Gn,ma=e("61s2");function ka(Fe,Rt,Xt){return Xt!==void 0?Xt:Fe==="year"&&Rt.lang.yearPlaceholder?Rt.lang.yearPlaceholder:Fe==="quarter"&&Rt.lang.quarterPlaceholder?Rt.lang.quarterPlaceholder:Fe==="month"&&Rt.lang.monthPlaceholder?Rt.lang.monthPlaceholder:Fe==="week"&&Rt.lang.weekPlaceholder?Rt.lang.weekPlaceholder:Fe==="time"&&Rt.timePickerLocale.placeholder?Rt.timePickerLocale.placeholder:Rt.lang.placeholder}function Xa(Fe,Rt,Xt){return Xt!==void 0?Xt:Fe==="year"&&Rt.lang.yearPlaceholder?Rt.lang.rangeYearPlaceholder:Fe==="month"&&Rt.lang.monthPlaceholder?Rt.lang.rangeMonthPlaceholder:Fe==="week"&&Rt.lang.weekPlaceholder?Rt.lang.rangeWeekPlaceholder:Fe==="time"&&Rt.timePickerLocale.placeholder?Rt.timePickerLocale.rangePlaceholder:Rt.lang.rangePlaceholder}var Ki=e("uaoM"),Co=e("H84U"),aa=e("YMnH"),Hi=e("3Nzz"),ga=function(Fe,Rt){var Xt={};for(var tr in Fe)Object.prototype.hasOwnProperty.call(Fe,tr)&&Rt.indexOf(tr)<0&&(Xt[tr]=Fe[tr]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,tr=Object.getOwnPropertySymbols(Fe);Or<tr.length;Or++)Rt.indexOf(tr[Or])<0&&Object.prototype.propertyIsEnumerable.call(Fe,tr[Or])&&(Xt[tr[Or]]=Fe[tr[Or]]);return Xt};function ha(Fe){function Rt(Zr,$r){var an=function(rt){y()(ir,rt);var jt=S()(ir);function ir(yr){var Br;return c()(this,ir),Br=jt.call(this,yr),Br.pickerRef=i.createRef(),Br.focus=function(){Br.pickerRef.current&&Br.pickerRef.current.focus()},Br.blur=function(){Br.pickerRef.current&&Br.pickerRef.current.blur()},Br.getDefaultLocale=function(){var Dr=Br.props.locale,rn=f()(f()({},ma.a),Dr);return rn.lang=f()(f()({},rn.lang),(Dr||{}).lang),rn},Br.renderPicker=function(Dr){var rn=Br.context,fn=rn.getPrefixCls,wn=rn.direction,Hn=rn.getPopupContainer,Sn=Br.props,bn=Sn.prefixCls,Bn=Sn.getPopupContainer,vn=Sn.className,Mn=Sn.size,En=Sn.bordered,Tn=En===void 0?!0:En,Yn=Sn.placeholder,ai=ga(Sn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),ri=Br.props,Ri=ri.format,Ai=ri.showTime,xi=fn("picker",bn),Oi={showToday:!0},_n={};Zr&&(_n.picker=Zr);var Mi=Zr||Br.props.picker;return _n=f()(f()(f()({},_n),Ai?er(f()({format:Ri,picker:Mi},Ai)):{}),Mi==="time"?er(f()(f()({format:Ri},Br.props),{picker:Mi})):{}),i.createElement(Hi.b.Consumer,null,function(fa){var _i,Bi=Mn||fa;return i.createElement(Xi,f()({ref:Br.pickerRef,placeholder:ka(Mi,Dr,Yn),suffixIcon:Mi==="time"?i.createElement(N.a,null):i.createElement(w.a,null),clearIcon:i.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},Oi,ai,_n,{locale:Dr.lang,className:C()(vn,(_i={},u()(_i,"".concat(xi,"-").concat(Bi),Bi),u()(_i,"".concat(xi,"-borderless"),!Tn),_i)),prefixCls:xi,getPopupContainer:Bn||Hn,generateConfig:Fe,prevIcon:i.createElement("span",{className:"".concat(xi,"-prev-icon")}),nextIcon:i.createElement("span",{className:"".concat(xi,"-next-icon")}),superPrevIcon:i.createElement("span",{className:"".concat(xi,"-super-prev-icon")}),superNextIcon:i.createElement("span",{className:"".concat(xi,"-super-next-icon")}),components:Lo,direction:wn}))})},Object(Ki.a)(Zr!=="quarter",$r,"DatePicker.".concat($r," is legacy usage. Please use DatePicker[picker='").concat(Zr,"'] directly.")),Br}return h()(ir,[{key:"render",value:function(){return i.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),ir}(i.Component);return an.contextType=Co.b,$r&&(an.displayName=$r),an}var Xt=Rt(),tr=Rt("week","WeekPicker"),Or=Rt("month","MonthPicker"),br=Rt("year","YearPicker"),xr=Rt("time","TimePicker"),Wr=Rt("quarter","QuarterPicker");return{DatePicker:Xt,WeekPicker:tr,MonthPicker:Or,YearPicker:br,TimePicker:xr,QuarterPicker:Wr}}var mo=e("8ISB"),Pn=e.n(mo),qi=function(Fe,Rt){var Xt={};for(var tr in Fe)Object.prototype.hasOwnProperty.call(Fe,tr)&&Rt.indexOf(tr)<0&&(Xt[tr]=Fe[tr]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,tr=Object.getOwnPropertySymbols(Fe);Or<tr.length;Or++)Rt.indexOf(tr[Or])<0&&Object.prototype.propertyIsEnumerable.call(Fe,tr[Or])&&(Xt[tr[Or]]=Fe[tr[Or]]);return Xt};function eo(Fe){var Rt=function(Xt){y()(Or,Xt);var tr=S()(Or);function Or(){var br;return c()(this,Or),br=tr.apply(this,arguments),br.pickerRef=i.createRef(),br.focus=function(){br.pickerRef.current&&br.pickerRef.current.focus()},br.blur=function(){br.pickerRef.current&&br.pickerRef.current.blur()},br.getDefaultLocale=function(){var xr=br.props.locale,Wr=f()(f()({},ma.a),xr);return Wr.lang=f()(f()({},Wr.lang),(xr||{}).lang),Wr},br.renderPicker=function(xr){var Wr=br.context,Zr=Wr.getPrefixCls,$r=Wr.direction,an=Wr.getPopupContainer,rt=br.props,jt=rt.prefixCls,ir=rt.getPopupContainer,yr=rt.className,Br=rt.size,Dr=rt.bordered,rn=Dr===void 0?!0:Dr,fn=rt.placeholder,wn=qi(rt,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Hn=br.props,Sn=Hn.format,bn=Hn.showTime,Bn=Hn.picker,vn=Zr("picker",jt),Mn={};return Mn=f()(f()(f()({},Mn),bn?er(f()({format:Sn,picker:Bn},bn)):{}),Bn==="time"?er(f()(f()({format:Sn},br.props),{picker:Bn})):{}),i.createElement(Hi.b.Consumer,null,function(En){var Tn,Yn=Br||En;return i.createElement(Da,f()({separator:i.createElement("span",{"aria-label":"to",className:"".concat(vn,"-separator")},i.createElement(Pn.a,null)),ref:br.pickerRef,placeholder:Xa(Bn,xr,fn),suffixIcon:Bn==="time"?i.createElement(N.a,null):i.createElement(w.a,null),clearIcon:i.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},wn,Mn,{className:C()(yr,(Tn={},u()(Tn,"".concat(vn,"-").concat(Yn),Yn),u()(Tn,"".concat(vn,"-borderless"),!rn),Tn)),locale:xr.lang,prefixCls:vn,getPopupContainer:ir||an,generateConfig:Fe,prevIcon:i.createElement("span",{className:"".concat(vn,"-prev-icon")}),nextIcon:i.createElement("span",{className:"".concat(vn,"-next-icon")}),superPrevIcon:i.createElement("span",{className:"".concat(vn,"-super-prev-icon")}),superNextIcon:i.createElement("span",{className:"".concat(vn,"-super-next-icon")}),components:Lo,direction:$r}))})},br}return h()(Or,[{key:"render",value:function(){return i.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Or}(i.Component);return Rt.contextType=Co.b,Rt}var Lo={button:a,rangeItem:l};function co(Fe){return Fe?Array.isArray(Fe)?Fe:[Fe]:[]}function er(Fe){var Rt=Fe.format,Xt=Fe.picker,tr=Fe.showHour,Or=Fe.showMinute,br=Fe.showSecond,xr=Fe.use12Hours,Wr=co(Rt)[0],Zr=f()({},Fe);return Wr&&(!Wr.includes("s")&&br===void 0&&(Zr.showSecond=!1),!Wr.includes("m")&&Or===void 0&&(Zr.showMinute=!1),!Wr.includes("H")&&!Wr.includes("h")&&tr===void 0&&(Zr.showHour=!1),(Wr.includes("a")||Wr.includes("A"))&&xr===void 0&&(Zr.use12Hours=!0)),Xt==="time"?Zr:{showTime:Zr}}function Cr(Fe){var Rt=ha(Fe),Xt=Rt.DatePicker,tr=Rt.WeekPicker,Or=Rt.MonthPicker,br=Rt.YearPicker,xr=Rt.TimePicker,Wr=Rt.QuarterPicker,Zr=eo(Fe),$r=Xt;return $r.WeekPicker=tr,$r.MonthPicker=Or,$r.YearPicker=br,$r.RangePicker=Zr,$r.TimePicker=xr,$r.QuarterPicker=Wr,$r}var Ur=Cr,Kr=Ur(v),hn=B.a=Kr},"+lIL":function(J,B,e){var d=e("ProS");e("/ry/"),e("3OrL");var x=e("L5E0"),g=e("7Phj");d.registerVisual(x),d.registerLayout(g)},"+nKL":function(J,B,e){"use strict";var d=e("q1tI"),x=e("TSYQ"),g=e.n(x),p=e("t23M");function v(Ke,Ye){var $e=Object.keys(Ke);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(Ke);Ye&&(ut=ut.filter(function(et){return Object.getOwnPropertyDescriptor(Ke,et).enumerable})),$e.push.apply($e,ut)}return $e}function b(Ke){for(var Ye=1;Ye<arguments.length;Ye++){var $e=arguments[Ye]!=null?arguments[Ye]:{};Ye%2?v(Object($e),!0).forEach(function(ut){f(Ke,ut,$e[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors($e)):v(Object($e)).forEach(function(ut){Object.defineProperty(Ke,ut,Object.getOwnPropertyDescriptor($e,ut))})}return Ke}function f(Ke,Ye,$e){return Ye in Ke?Object.defineProperty(Ke,Ye,{value:$e,enumerable:!0,configurable:!0,writable:!0}):Ke[Ye]=$e,Ke}var i=function(Ye){var $e=Ye.height,ut=Ye.offset,et=Ye.children,oe=Ye.prefixCls,me=Ye.onInnerResize,it={},Be={display:"flex",flexDirection:"column"};return ut!==void 0&&(it={height:$e,position:"relative",overflow:"hidden"},Be=b(b({},Be),{},{transform:"translateY(".concat(ut,"px)"),position:"absolute",left:0,right:0,top:0})),d.createElement("div",{style:it},d.createElement(p.a,{onResize:function(Mr){var Lt=Mr.offsetHeight;Lt&&me()}},d.createElement("div",{style:Be,className:g()(f({},"".concat(oe,"-holder-inner"),oe))},et)))},r=i,a=e("wgJM");function s(Ke){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function($e){return typeof $e}:s=function($e){return $e&&typeof Symbol=="function"&&$e.constructor===Symbol&&$e!==Symbol.prototype?"symbol":typeof $e},s(Ke)}function l(Ke,Ye,$e){return Ye in Ke?Object.defineProperty(Ke,Ye,{value:$e,enumerable:!0,configurable:!0,writable:!0}):Ke[Ye]=$e,Ke}function n(Ke,Ye){if(!(Ke instanceof Ye))throw new TypeError("Cannot call a class as a function")}function u(Ke,Ye){for(var $e=0;$e<Ye.length;$e++){var ut=Ye[$e];ut.enumerable=ut.enumerable||!1,ut.configurable=!0,"value"in ut&&(ut.writable=!0),Object.defineProperty(Ke,ut.key,ut)}}function t(Ke,Ye,$e){return Ye&&u(Ke.prototype,Ye),$e&&u(Ke,$e),Ke}function c(Ke,Ye){if(typeof Ye!="function"&&Ye!==null)throw new TypeError("Super expression must either be null or a function");Ke.prototype=Object.create(Ye&&Ye.prototype,{constructor:{value:Ke,writable:!0,configurable:!0}}),Ye&&o(Ke,Ye)}function o(Ke,Ye){return o=Object.setPrototypeOf||function(ut,et){return ut.__proto__=et,ut},o(Ke,Ye)}function h(Ke){var Ye=O();return function(){var ut=S(Ke),et;if(Ye){var oe=S(this).constructor;et=Reflect.construct(ut,arguments,oe)}else et=ut.apply(this,arguments);return A(this,et)}}function A(Ke,Ye){return Ye&&(s(Ye)==="object"||typeof Ye=="function")?Ye:y(Ke)}function y(Ke){if(Ke===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ke}function O(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ke){return!1}}function S(Ke){return S=Object.setPrototypeOf?Object.getPrototypeOf:function($e){return $e.__proto__||Object.getPrototypeOf($e)},S(Ke)}var E=20,C=function(Ke){c($e,Ke);var Ye=h($e);function $e(){var ut;return n(this,$e),ut=Ye.apply(this,arguments),ut.moveRaf=null,ut.visibleTimeout=null,ut.state={dragging:!1,pageY:null,startTop:null,visible:!1},ut.delayHidden=function(){clearTimeout(ut.visibleTimeout),ut.setState({visible:!0}),ut.visibleTimeout=setTimeout(function(){ut.setState({visible:!1})},2e3)},ut.patchEvents=function(){window.addEventListener("mousemove",ut.onMouseMove),window.addEventListener("mouseup",ut.onMouseUp)},ut.removeEvents=function(){window.removeEventListener("mousemove",ut.onMouseMove),window.removeEventListener("mouseup",ut.onMouseUp),a.a.cancel(ut.moveRaf)},ut.onContainerMouseDown=function(et){et.stopPropagation(),et.preventDefault()},ut.onMouseDown=function(et){var oe=ut.props.onStartMove;ut.setState({dragging:!0,pageY:et.pageY,startTop:ut.getTop()}),oe(),ut.patchEvents(),et.stopPropagation(),et.preventDefault()},ut.onMouseMove=function(et){var oe=ut.state,me=oe.dragging,it=oe.pageY,Be=oe.startTop,ht=ut.props.onScroll;if(a.a.cancel(ut.moveRaf),me){var Mr=et.pageY-it,Lt=Be+Mr,or=ut.getEnableScrollRange(),Qt=ut.getEnableHeightRange(),qt=Lt/Qt,hr=Math.ceil(qt*or);ut.moveRaf=Object(a.a)(function(){ht(hr)})}},ut.onMouseUp=function(){var et=ut.props.onStopMove;ut.setState({dragging:!1}),et(),ut.removeEvents()},ut.getSpinHeight=function(){var et=ut.props,oe=et.height,me=et.count,it=oe/me*10;return it=Math.max(it,E),it=Math.min(it,oe/2),Math.floor(it)},ut.getEnableScrollRange=function(){var et=ut.props,oe=et.scrollHeight,me=et.height;return oe-me},ut.getEnableHeightRange=function(){var et=ut.props.height,oe=ut.getSpinHeight();return et-oe},ut.getTop=function(){var et=ut.props.scrollTop,oe=ut.getEnableScrollRange(),me=ut.getEnableHeightRange(),it=et/oe;return it*me},ut}return t($e,[{key:"componentDidUpdate",value:function(et){et.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var et=this.state,oe=et.visible,me=et.dragging,it=this.props.prefixCls,Be=this.getSpinHeight(),ht=this.getTop();return d.createElement("div",{className:"".concat(it,"-scrollbar"),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:oe?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},d.createElement("div",{className:g()("".concat(it,"-scrollbar-thumb"),l({},"".concat(it,"-scrollbar-thumb-moving"),me)),style:{width:"100%",height:Be,top:ht,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),$e}(d.Component);function T(Ke){var Ye=Ke.children,$e=Ke.setRef,ut=d.useCallback(function(et){$e(et)},[]);return d.cloneElement(Ye,{ref:ut})}function w(Ke,Ye,$e,ut,et,oe){var me=oe.getKey;return Ke.slice(Ye,$e+1).map(function(it,Be){var ht=Ye+Be,Mr=et(it,ht,{}),Lt=me(it);return d.createElement(T,{key:Lt,setRef:function(Qt){return ut(it,Qt)}},Mr)})}var L=e("m+aA");function N(Ke,Ye){if(!(Ke instanceof Ye))throw new TypeError("Cannot call a class as a function")}function D(Ke,Ye){for(var $e=0;$e<Ye.length;$e++){var ut=Ye[$e];ut.enumerable=ut.enumerable||!1,ut.configurable=!0,"value"in ut&&(ut.writable=!0),Object.defineProperty(Ke,ut.key,ut)}}function F(Ke,Ye,$e){return Ye&&D(Ke.prototype,Ye),$e&&D(Ke,$e),Ke}var R=function(){function Ke(){N(this,Ke),this.maps={},this.maps.prototype=null}return F(Ke,[{key:"set",value:function($e,ut){this.maps[$e]=ut}},{key:"get",value:function($e){return this.maps[$e]}}]),Ke}(),U=R;function M(Ke,Ye){return _(Ke)||H(Ke,Ye)||P(Ke,Ye)||j()}function j(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function P(Ke,Ye){if(!Ke)return;if(typeof Ke=="string")return K(Ke,Ye);var $e=Object.prototype.toString.call(Ke).slice(8,-1);if($e==="Object"&&Ke.constructor&&($e=Ke.constructor.name),$e==="Map"||$e==="Set")return Array.from(Ke);if($e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($e))return K(Ke,Ye)}function K(Ke,Ye){(Ye==null||Ye>Ke.length)&&(Ye=Ke.length);for(var $e=0,ut=new Array(Ye);$e<Ye;$e++)ut[$e]=Ke[$e];return ut}function H(Ke,Ye){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ke)))return;var $e=[],ut=!0,et=!1,oe=void 0;try{for(var me=Ke[Symbol.iterator](),it;!(ut=(it=me.next()).done)&&!($e.push(it.value),Ye&&$e.length===Ye);ut=!0);}catch(Be){et=!0,oe=Be}finally{try{!ut&&me.return!=null&&me.return()}finally{if(et)throw oe}}return $e}function _(Ke){if(Array.isArray(Ke))return Ke}function Z(Ke,Ye,$e){var ut=d.useState(0),et=M(ut,2),oe=et[0],me=et[1],it=Object(d.useRef)(new Map),Be=Object(d.useRef)(new U);function ht(Lt,or){var Qt=Ke(Lt),qt=it.current.get(Qt);or?it.current.set(Qt,or):it.current.delete(Qt),!qt!==!or&&(or?Ye==null||Ye(Lt):$e==null||$e(Lt))}function Mr(){var Lt=!1;it.current.forEach(function(or,Qt){if(or&&or.offsetParent){var qt=Object(L.a)(or),hr=qt.offsetHeight;Be.current.get(Qt)!==hr&&(Lt=!0,Be.current.set(Qt,qt.offsetHeight))}}),Lt&&me(function(or){return or+1})}return[ht,Mr,Be.current,oe]}function Y(Ke,Ye){var $e=Object(d.useRef)(),ut=Object(d.useRef)();return $e.current=Ke,ut.current=Ye,function(et){var oe=Math.max(et,0),me=$e.current-ut.current;return Number.isNaN(me)||(oe=Math.min(oe,me)),oe}}function k(Ke){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function($e){return typeof $e}:k=function($e){return $e&&typeof Symbol=="function"&&$e.constructor===Symbol&&$e!==Symbol.prototype?"symbol":typeof $e},k(Ke)}function Q(Ke,Ye,$e,ut,et,oe,me){var it=d.useRef();return function(Be){if(a.a.cancel(it.current),typeof Be=="number")me(Be);else if(Be&&k(Be)==="object"){var ht,Mr=Be.align;"index"in Be?ht=Be.index:ht=Ye.findIndex(function(or){return et(or)===Be.key});var Lt=function or(Qt,qt){if(Qt<0||!Ke.current)return;var hr=Ke.current.clientHeight,Gt=!1,de=qt;if(hr){for(var ue=qt||Mr,se=0,ae=0,ye=0,Ce=0;Ce<=ht;Ce+=1){var Oe=et(Ye[Ce]);ae=se;var Te=$e.get(Oe);ye=ae+(Te===void 0?ut:Te),se=ye,Ce===ht&&Te===void 0&&(Gt=!0)}var xe=null;switch(ue){case"top":xe=ae;break;case"bottom":xe=ye-hr;break;default:{var ke=Ke.current.scrollTop,lt=ke+hr;ae<ke?de="top":ye>lt&&(de="bottom")}}xe!==null&&xe!==Ke.current.scrollTop&&me(xe)}it.current=Object(a.a)(function(){Gt&&oe(),or(Qt-1,de)})};Lt(3)}}}function X(Ke,Ye,$e,ut){var et=$e-Ke,oe=Ye-$e,me=Math.min(et,oe)*2;if(ut<=me){var it=Math.floor(ut/2);return ut%2?$e+it+1:$e-it}return et>oe?$e-(ut-oe):$e+(ut-et)}function he(Ke,Ye,$e){var ut=Ke.length,et=Ye.length,oe,me;if(ut===0&&et===0)return null;ut<et?(oe=Ke,me=Ye):(oe=Ye,me=Ke);var it={__EMPTY_ITEM__:!0};function Be(qt){return qt!==void 0?$e(qt):it}for(var ht=null,Mr=Math.abs(ut-et)!==1,Lt=0;Lt<me.length;Lt+=1){var or=Be(oe[Lt]),Qt=Be(me[Lt]);if(or!==Qt){ht=Lt,Mr=Mr||or!==Be(me[Lt+1]);break}}return ht===null?null:{index:ht,multiple:Mr}}function te(Ke,Ye){return qe(Ke)||We(Ke,Ye)||Se(Ke,Ye)||pe()}function pe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Se(Ke,Ye){if(!Ke)return;if(typeof Ke=="string")return we(Ke,Ye);var $e=Object.prototype.toString.call(Ke).slice(8,-1);if($e==="Object"&&Ke.constructor&&($e=Ke.constructor.name),$e==="Map"||$e==="Set")return Array.from(Ke);if($e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($e))return we(Ke,Ye)}function we(Ke,Ye){(Ye==null||Ye>Ke.length)&&(Ye=Ke.length);for(var $e=0,ut=new Array(Ye);$e<Ye;$e++)ut[$e]=Ke[$e];return ut}function We(Ke,Ye){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ke)))return;var $e=[],ut=!0,et=!1,oe=void 0;try{for(var me=Ke[Symbol.iterator](),it;!(ut=(it=me.next()).done)&&!($e.push(it.value),Ye&&$e.length===Ye);ut=!0);}catch(Be){et=!0,oe=Be}finally{try{!ut&&me.return!=null&&me.return()}finally{if(et)throw oe}}return $e}function qe(Ke){if(Array.isArray(Ke))return Ke}function yt(Ke,Ye,$e){var ut=d.useState(Ke),et=te(ut,2),oe=et[0],me=et[1],it=d.useState(null),Be=te(it,2),ht=Be[0],Mr=Be[1];return d.useEffect(function(){var Lt=he(oe||[],Ke||[],Ye);(Lt==null?void 0:Lt.index)!==void 0&&($e==null||$e(Lt.index),Mr(Ke[Lt.index])),me(Ke)},[Ke]),[ht]}function _e(Ke){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_e=function($e){return typeof $e}:_e=function($e){return $e&&typeof Symbol=="function"&&$e.constructor===Symbol&&$e!==Symbol.prototype?"symbol":typeof $e},_e(Ke)}var je=(typeof navigator=="undefined"?"undefined":_e(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Ct=je;function ct(Ke,Ye){var $e=Object(d.useRef)(0),ut=Object(d.useRef)(null),et=Object(d.useRef)(null),oe=Object(d.useRef)(!1);function me(Be){if(!Ke)return;Ct||Be.preventDefault(),a.a.cancel(ut.current),$e.current+=Be.deltaY,et.current=Be.deltaY,ut.current=Object(a.a)(function(){var ht=oe.current?10:1;Ye($e.current*ht),$e.current=0})}function it(Be){if(!Ke)return;Be.preventDefault(),oe.current=Be.detail===et.current}return[me,it]}function nt(Ke,Ye){var $e=Object.keys(Ke);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(Ke);Ye&&(ut=ut.filter(function(et){return Object.getOwnPropertyDescriptor(Ke,et).enumerable})),$e.push.apply($e,ut)}return $e}function bt(Ke){for(var Ye=1;Ye<arguments.length;Ye++){var $e=arguments[Ye]!=null?arguments[Ye]:{};Ye%2?nt(Object($e),!0).forEach(function(ut){dt(Ke,ut,$e[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors($e)):nt(Object($e)).forEach(function(ut){Object.defineProperty(Ke,ut,Object.getOwnPropertyDescriptor($e,ut))})}return Ke}function dt(Ke,Ye,$e){return Ye in Ke?Object.defineProperty(Ke,Ye,{value:$e,enumerable:!0,configurable:!0,writable:!0}):Ke[Ye]=$e,Ke}function vt(Ke,Ye){return Ie(Ke)||De(Ke,Ye)||mt(Ke,Ye)||Qe()}function Qe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mt(Ke,Ye){if(!Ke)return;if(typeof Ke=="string")return Pe(Ke,Ye);var $e=Object.prototype.toString.call(Ke).slice(8,-1);if($e==="Object"&&Ke.constructor&&($e=Ke.constructor.name),$e==="Map"||$e==="Set")return Array.from(Ke);if($e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($e))return Pe(Ke,Ye)}function Pe(Ke,Ye){(Ye==null||Ye>Ke.length)&&(Ye=Ke.length);for(var $e=0,ut=new Array(Ye);$e<Ye;$e++)ut[$e]=Ke[$e];return ut}function De(Ke,Ye){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ke)))return;var $e=[],ut=!0,et=!1,oe=void 0;try{for(var me=Ke[Symbol.iterator](),it;!(ut=(it=me.next()).done)&&!($e.push(it.value),Ye&&$e.length===Ye);ut=!0);}catch(Be){et=!0,oe=Be}finally{try{!ut&&me.return!=null&&me.return()}finally{if(et)throw oe}}return $e}function Ie(Ke){if(Array.isArray(Ke))return Ke}function ot(Ke,Ye){if(Ke==null)return{};var $e=wt(Ke,Ye),ut,et;if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(Ke);for(et=0;et<oe.length;et++){if(ut=oe[et],Ye.indexOf(ut)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ke,ut))continue;$e[ut]=Ke[ut]}}return $e}function wt(Ke,Ye){if(Ke==null)return{};var $e={},ut=Object.keys(Ke),et,oe;for(oe=0;oe<ut.length;oe++){if(et=ut[oe],Ye.indexOf(et)>=0)continue;$e[et]=Ke[et]}return $e}var Bt=[],_t={overflowY:"auto",overflowAnchor:"none"};function Ue(Ke,Ye){var $e=Ke.prefixCls,ut=$e===void 0?"rc-virtual-list":$e,et=Ke.className,oe=Ke.height,me=Ke.itemHeight,it=Ke.fullHeight,Be=it===void 0?!0:it,ht=Ke.style,Mr=Ke.data,Lt=Ke.children,or=Ke.itemKey,Qt=Ke.virtual,qt=Ke.component,hr=qt===void 0?"div":qt,Gt=Ke.onScroll,de=ot(Ke,["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll"]),ue=Qt!==!1&&oe&&me&&Mr&&me*Mr.length>oe,se=d.useState(0),ae=vt(se,2),ye=ae[0],Ce=ae[1],Oe=d.useState(!1),Te=vt(Oe,2),xe=Te[0],ke=Te[1],lt=g()(ut,et),At=Mr||Bt,ee=Object(d.useRef)(),ie=d.useCallback(function(Ar){return typeof or=="function"?or(Ar):Ar[or]},[or]),z={getKey:ie};function $(Ar){Ce(function(Nr){var Fr;return typeof Ar=="function"?Fr=Ar(Nr):Fr=Ar,ee.current.scrollTop=Fr,Fr})}var le=Object(d.useRef)({start:0,end:At.length}),ge=Object(d.useRef)(),Ae=yt(At,ie),Me=vt(Ae,1),Ze=Me[0];ge.current=Ze;var kt=Z(ie,null,null),Jt=vt(kt,4),Et=Jt[0],Ft=Jt[1],Kt=Jt[2],Vt=Jt[3],Ot=d.useMemo(function(){if(!ue)return{scrollHeight:void 0,start:0,end:At.length-1,offset:void 0};for(var Ar=0,Nr,Fr,tn,Jr=At.length,Lr=0;Lr<Jr;Lr+=1){var Xr=At[Lr],Tr=ie(Xr),lr=Kt.get(Tr),fr=Ar+(lr===void 0?me:lr);fr>=ye&&Nr===void 0&&(Nr=Lr,Fr=Ar),fr>ye+oe&&tn===void 0&&(tn=Lr),Ar=fr}return Nr===void 0&&(Nr=0,Fr=0),tn===void 0&&(tn=At.length-1),tn=Math.min(tn+1,At.length),{scrollHeight:Ar,start:Nr,end:tn,offset:Fr}},[ue,ye,At,Vt,oe]),ur=Ot.scrollHeight,Zt=Ot.start,ze=Ot.end,at=Ot.offset;le.current.start=Zt,le.current.end=ze;var Ve=Y(ur,oe);function Xe(Ar){var Nr=Ve(Ar);Nr!==ye&&$(Nr)}function gt(Ar){var Nr=Ar.currentTarget.scrollTop;Nr!==ye&&$(Nr),Gt==null||Gt(Ar)}var ft=ct(ue,function(Ar){$(function(Nr){var Fr=Ve(Nr+Ar);return Fr})}),Ge=vt(ft,2),Mt=Ge[0],It=Ge[1];d.useEffect(function(){return ee.current.addEventListener("wheel",Mt),ee.current.addEventListener("DOMMouseScroll",It),function(){ee.current.removeEventListener("wheel",Mt),ee.current.removeEventListener("DOMMouseScroll",It)}},[ue]);var rr=Q(ee,At,Kt,me,ie,Ft,$);d.useImperativeHandle(Ye,function(){return{scrollTo:rr}});var Ht=w(At,Zt,ze,Et,Lt,z),pr=null;return oe&&(pr=bt(dt({},Be?"height":"maxHeight",oe),_t),ue&&(pr.overflowY="hidden",xe&&(pr.pointerEvents="none"))),d.createElement("div",Object.assign({style:bt(bt({},ht),{},{position:"relative"}),className:lt},de),d.createElement(hr,{className:"".concat(ut,"-holder"),style:pr,ref:ee,onScroll:gt},d.createElement(r,{prefixCls:ut,height:ur,offset:at,onInnerResize:Ft},Ht)),ue&&d.createElement(C,{prefixCls:ut,scrollTop:ye,height:oe,scrollHeight:ur,count:At.length,onScroll:Xe,onStartMove:function(){ke(!0)},onStopMove:function(){ke(!1)}}))}var zt=d.forwardRef(Ue);zt.displayName="List";var xt=zt,Pt=B.a=xt},"+rIm":function(J,B,e){var d=e("bYtY"),x=d.retrieve,g=d.defaults,p=d.extend,v=d.each,b=e("7aKB"),f=e("IwbS"),i=e("Qxkt"),r=e("OELB"),a=r.isRadianAroundZero,s=r.remRadian,l=e("oVpE"),n=l.createSymbol,u=e("Fofx"),t=e("QBsz"),c=t.applyTransform,o=e("aX7z"),h=o.shouldShowAllLabels,A=Math.PI,y=function(P,K){this.opt=K,this.axisModel=P,g(K,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new f.Group;var H=new f.Group({position:K.position.slice(),rotation:K.rotation});H.updateTransform(),this._transform=H.transform,this._dumbGroup=H};y.prototype={constructor:y,hasBuilder:function(P){return!!O[P]},add:function(P){O[P].call(this)},getGroup:function(){return this.group}};var O={axisLine:function(){var P=this.opt,K=this.axisModel;if(!K.get("axisLine.show"))return;var H=this.axisModel.axis.getExtent(),_=this._transform,Z=[H[0],0],Y=[H[1],0];_&&(c(Z,Z,_),c(Y,Y,_));var k=p({lineCap:"round"},K.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new f.Line({anid:"line",subPixelOptimize:!0,shape:{x1:Z[0],y1:Z[1],x2:Y[0],y2:Y[1]},style:k,strokeContainThreshold:P.strokeContainThreshold||5,silent:!0,z2:1}));var Q=K.get("axisLine.symbol"),X=K.get("axisLine.symbolSize"),he=K.get("axisLine.symbolOffset")||0;if(typeof he=="number"&&(he=[he,he]),Q!=null){typeof Q=="string"&&(Q=[Q,Q]),(typeof X=="string"||typeof X=="number")&&(X=[X,X]);var te=X[0],pe=X[1];v([{rotate:P.rotation+Math.PI/2,offset:he[0],r:0},{rotate:P.rotation-Math.PI/2,offset:he[1],r:Math.sqrt((Z[0]-Y[0])*(Z[0]-Y[0])+(Z[1]-Y[1])*(Z[1]-Y[1]))}],function(Se,we){if(Q[we]!=="none"&&Q[we]!=null){var We=n(Q[we],-te/2,-pe/2,te,pe,k.stroke,!0),qe=Se.r+Se.offset,yt=[Z[0]+qe*Math.cos(P.rotation),Z[1]-qe*Math.sin(P.rotation)];We.attr({rotation:Se.rotate,position:yt,silent:!0,z2:11}),this.group.add(We)}},this)}},axisTickLabel:function(){var P=this.axisModel,K=this.opt,H=R(this,P,K),_=M(this,P,K);w(P,_,H),U(this,P,K)},axisName:function(){var P=this.opt,K=this.axisModel,H=x(P.axisName,K.get("name"));if(!H)return;var _=K.get("nameLocation"),Z=P.nameDirection,Y=K.getModel("nameTextStyle"),k=K.get("nameGap")||0,Q=this.axisModel.axis.getExtent(),X=Q[0]>Q[1]?-1:1,he=[_==="start"?Q[0]-X*k:_==="end"?Q[1]+X*k:(Q[0]+Q[1])/2,D(_)?P.labelOffset+Z*k:0],te,pe=K.get("nameRotate");pe!=null&&(pe=pe*A/180);var Se;D(_)?te=E(P.rotation,pe!=null?pe:P.rotation,Z):(te=C(P,_,pe||0,Q),Se=P.axisNameAvailableWidth,Se!=null&&(Se=Math.abs(Se/Math.sin(te.rotation)),!isFinite(Se)&&(Se=null)));var we=Y.getFont(),We=K.get("nameTruncate",!0)||{},qe=We.ellipsis,yt=x(P.nameTruncateMaxWidth,We.maxWidth,Se),_e=qe!=null&&yt!=null?b.truncateText(H,yt,we,qe,{minChar:2,placeholder:We.placeholder}):H,je=K.get("tooltip",!0),Ct=K.mainType,ct={componentType:Ct,name:H,$vars:["name"]};ct[Ct+"Index"]=K.componentIndex;var nt=new f.Text({anid:"name",__fullText:H,__truncatedText:_e,position:he,rotation:te.rotation,silent:T(K),z2:1,tooltip:je&&je.show?p({content:H,formatter:function(){return H},formatterParams:ct},je):null});f.setTextStyle(nt.style,Y,{text:_e,textFont:we,textFill:Y.getTextColor()||K.get("axisLine.lineStyle.color"),textAlign:Y.get("align")||te.textAlign,textVerticalAlign:Y.get("verticalAlign")||te.textVerticalAlign}),K.get("triggerEvent")&&(nt.eventData=S(K),nt.eventData.targetType="axisName",nt.eventData.name=H),this._dumbGroup.add(nt),nt.updateTransform(),this.group.add(nt),nt.decomposeTransform()}},S=y.makeAxisEventDataBase=function(P){var K={componentType:P.mainType,componentIndex:P.componentIndex};return K[P.mainType+"Index"]=P.componentIndex,K},E=y.innerTextLayout=function(P,K,H){var _=s(K-P),Z,Y;return a(_)?(Y=H>0?"top":"bottom",Z="center"):a(_-A)?(Y=H>0?"bottom":"top",Z="center"):(Y="middle",_>0&&_<A?Z=H>0?"right":"left":Z=H>0?"left":"right"),{rotation:_,textAlign:Z,textVerticalAlign:Y}};function C(P,K,H,_){var Z=s(H-P.rotation),Y,k,Q=_[0]>_[1],X=K==="start"&&!Q||K!=="start"&&Q;return a(Z-A/2)?(k=X?"bottom":"top",Y="center"):a(Z-A*1.5)?(k=X?"top":"bottom",Y="center"):(k="middle",Z<A*1.5&&Z>A/2?Y=X?"left":"right":Y=X?"right":"left"),{rotation:Z,textAlign:Y,textVerticalAlign:k}}var T=y.isLabelSilent=function(P){var K=P.get("tooltip");return P.get("silent")||!(P.get("triggerEvent")||K&&K.show)};function w(P,K,H){if(h(P.axis))return;var _=P.get("axisLabel.showMinLabel"),Z=P.get("axisLabel.showMaxLabel");K=K||[],H=H||[];var Y=K[0],k=K[1],Q=K[K.length-1],X=K[K.length-2],he=H[0],te=H[1],pe=H[H.length-1],Se=H[H.length-2];_===!1?(L(Y),L(he)):N(Y,k)&&(_?(L(k),L(te)):(L(Y),L(he))),Z===!1?(L(Q),L(pe)):N(X,Q)&&(Z?(L(X),L(Se)):(L(Q),L(pe)))}function L(P){P&&(P.ignore=!0)}function N(P,K,H){var _=P&&P.getBoundingRect().clone(),Z=K&&K.getBoundingRect().clone();if(!_||!Z)return;var Y=u.identity([]);return u.rotate(Y,Y,-P.rotation),_.applyTransform(u.mul([],Y,P.getLocalTransform())),Z.applyTransform(u.mul([],Y,K.getLocalTransform())),_.intersect(Z)}function D(P){return P==="middle"||P==="center"}function F(P,K,H,_,Z){for(var Y=[],k=[],Q=[],X=0;X<P.length;X++){var he=P[X].coord;k[0]=he,k[1]=0,Q[0]=he,Q[1]=H,K&&(c(k,k,K),c(Q,Q,K));var te=new f.Line({anid:Z+"_"+P[X].tickValue,subPixelOptimize:!0,shape:{x1:k[0],y1:k[1],x2:Q[0],y2:Q[1]},style:_,z2:2,silent:!0});Y.push(te)}return Y}function R(P,K,H){var _=K.axis,Z=K.getModel("axisTick");if(!Z.get("show")||_.scale.isBlank())return;for(var Y=Z.getModel("lineStyle"),k=H.tickDirection*Z.get("length"),Q=_.getTicksCoords(),X=F(Q,P._transform,k,g(Y.getLineStyle(),{stroke:K.get("axisLine.lineStyle.color")}),"ticks"),he=0;he<X.length;he++)P.group.add(X[he]);return X}function U(P,K,H){var _=K.axis,Z=K.getModel("minorTick");if(!Z.get("show")||_.scale.isBlank())return;var Y=_.getMinorTicksCoords();if(!Y.length)return;for(var k=Z.getModel("lineStyle"),Q=H.tickDirection*Z.get("length"),X=g(k.getLineStyle(),g(K.getModel("axisTick").getLineStyle(),{stroke:K.get("axisLine.lineStyle.color")})),he=0;he<Y.length;he++)for(var te=F(Y[he],P._transform,Q,X,"minorticks_"+he),pe=0;pe<te.length;pe++)P.group.add(te[pe])}function M(P,K,H){var _=K.axis,Z=x(H.axisLabelShow,K.get("axisLabel.show"));if(!Z||_.scale.isBlank())return;var Y=K.getModel("axisLabel"),k=Y.get("margin"),Q=_.getViewLabels(),X=(x(H.labelRotate,Y.get("rotate"))||0)*A/180,he=E(H.rotation,X,H.labelDirection),te=K.getCategories&&K.getCategories(!0),pe=[],Se=T(K),we=K.get("triggerEvent");return v(Q,function(We,qe){var yt=We.tickValue,_e=We.formattedLabel,je=We.rawLabel,Ct=Y;te&&te[yt]&&te[yt].textStyle&&(Ct=new i(te[yt].textStyle,Y,K.ecModel));var ct=Ct.getTextColor()||K.get("axisLine.lineStyle.color"),nt=_.dataToCoord(yt),bt=[nt,H.labelOffset+H.labelDirection*k],dt=new f.Text({anid:"label_"+yt,position:bt,rotation:he.rotation,silent:Se,z2:10});f.setTextStyle(dt.style,Ct,{text:_e,textAlign:Ct.getShallow("align",!0)||he.textAlign,textVerticalAlign:Ct.getShallow("verticalAlign",!0)||Ct.getShallow("baseline",!0)||he.textVerticalAlign,textFill:typeof ct=="function"?ct(_.type==="category"?je:_.type==="value"?yt+"":yt,qe):ct}),we&&(dt.eventData=S(K),dt.eventData.targetType="axisLabel",dt.eventData.value=je),P._dumbGroup.add(dt),dt.updateTransform(),pe.push(dt),P.group.add(dt),dt.decomposeTransform()}),pe}var j=y;J.exports=j},"+wW9":function(J,B,e){var d=e("bYtY"),x=d.each,g=d.isArray,p=d.isObject,v=e("JuEJ"),b=e("4NO4"),f=b.normalizeToArray;function i(u,t){t=t.split(",");for(var c=u,o=0;o<t.length&&!(c=c&&c[t[o]],c==null);o++);return c}function r(u,t,c,o){t=t.split(",");for(var h=u,A,y=0;y<t.length-1;y++)A=t[y],h[A]==null&&(h[A]={}),h=h[A];(o||h[t[y]]==null)&&(h[t[y]]=c)}function a(u){x(s,function(t){t[0]in u&&!(t[1]in u)&&(u[t[1]]=u[t[0]])})}var s=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],l=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function n(u,t){v(u,t),u.series=f(u.series),x(u.series,function(c){if(!p(c))return;var o=c.type;if(o==="line")c.clipOverflow!=null&&(c.clip=c.clipOverflow);else if(o==="pie"||o==="gauge")c.clockWise!=null&&(c.clockwise=c.clockWise);else if(o==="gauge"){var h=i(c,"pointer.color");h!=null&&r(c,"itemStyle.color",h)}a(c)}),u.dataRange&&(u.visualMap=u.dataRange),x(l,function(c){var o=u[c];o&&(g(o)||(o=[o]),x(o,function(h){a(h)}))})}J.exports=n},"/IIm":function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=e("H6uX"),v=e("IwbS"),b=e("pP6R"),f=e("gPAo"),i=g.curry,r=g.each,a=g.map,s=Math.min,l=Math.max,n=Math.pow,u=1e4,t=6,c=6,o="globalPan",h={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},A={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},y={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},O=0;function S(De){p.call(this),this._zr=De,this.group=new v.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+O++,this._handlers={},r(bt,function(Ie,ot){this._handlers[ot]=g.bind(Ie,this)},this)}S.prototype={constructor:S,enableBrush:function(De){return this._brushType&&C(this),De.brushType&&E(this,De),this},setPanels:function(De){if(De&&De.length){var Ie=this._panels={};g.each(De,function(ot){Ie[ot.panelId]=g.clone(ot)})}else this._panels=null;return this},mount:function(De){De=De||{},this._enableGlobalPan=De.enableGlobalPan;var Ie=this.group;return this._zr.add(Ie),Ie.attr({position:De.position||[0,0],rotation:De.rotation||0,scale:De.scale||[1,1]}),this._transform=Ie.getLocalTransform(),this},eachCover:function(De,Ie){r(this._covers,De,Ie)},updateCovers:function(De){De=g.map(De,function(Ke){return g.merge(g.clone(y),Ke,!0)});var Ie="\0-brush-index-",ot=this._covers,wt=this._covers=[],Bt=this,_t=this._creatingCover;return new f(ot,De,zt,Ue).add(xt).update(xt).remove(Pt).execute(),this;function Ue(Ke,Ye){return(Ke.id!=null?Ke.id:Ie+Ye)+"-"+Ke.brushType}function zt(Ke,Ye){return Ue(Ke.__brushOption,Ye)}function xt(Ke,Ye){var $e=De[Ke];if(Ye!=null&&ot[Ye]===_t)wt[Ke]=ot[Ye];else{var ut=wt[Ke]=Ye!=null?(ot[Ye].__brushOption=$e,ot[Ye]):N(Bt,L(Bt,$e));R(Bt,ut)}}function Pt(Ke){ot[Ke]!==_t&&Bt.group.remove(ot[Ke])}},unmount:function(){return this.enableBrush(!1),P(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},g.mixin(S,p);function E(De,Ie){var ot=De._zr;De._enableGlobalPan||b.take(ot,o,De._uid),T(ot,De._handlers),De._brushType=Ie.brushType,De._brushOption=g.merge(g.clone(y),Ie,!0)}function C(De){var Ie=De._zr;b.release(Ie,o,De._uid),w(Ie,De._handlers),De._brushType=De._brushOption=null}function T(De,Ie){r(Ie,function(ot,wt){De.on(wt,ot)})}function w(De,Ie){r(Ie,function(ot,wt){De.off(wt,ot)})}function L(De,Ie){var ot=Qe[Ie.brushType].createCover(De,Ie);return ot.__brushOption=Ie,F(ot,Ie),De.group.add(ot),ot}function N(De,Ie){var ot=U(Ie);return ot.endCreating&&(ot.endCreating(De,Ie),F(Ie,Ie.__brushOption)),Ie}function D(De,Ie){var ot=Ie.__brushOption;U(Ie).updateCoverShape(De,Ie,ot.range,ot)}function F(De,Ie){var ot=Ie.z;ot==null&&(ot=u),De.traverse(function(wt){wt.z=ot,wt.z2=ot})}function R(De,Ie){U(Ie).updateCommon(De,Ie),D(De,Ie)}function U(De){return Qe[De.__brushOption.brushType]}function M(De,Ie,ot){var wt=De._panels;if(!wt)return!0;var Bt,_t=De._transform;return r(wt,function(Ue){Ue.isTargetByCursor(Ie,ot,_t)&&(Bt=Ue)}),Bt}function j(De,Ie){var ot=De._panels;if(!ot)return!0;var wt=Ie.__brushOption.panelId;return wt!=null?ot[wt]:!0}function P(De){var Ie=De._covers,ot=Ie.length;return r(Ie,function(wt){De.group.remove(wt)},De),Ie.length=0,!!ot}function K(De,Ie){var ot=a(De._covers,function(wt){var Bt=wt.__brushOption,_t=g.clone(Bt.range);return{brushType:Bt.brushType,panelId:Bt.panelId,range:_t}});De.trigger("brush",ot,{isEnd:!!Ie.isEnd,removeOnClick:!!Ie.removeOnClick})}function H(De){var Ie=De._track;if(!Ie.length)return!1;var ot=Ie[Ie.length-1],wt=Ie[0],Bt=ot[0]-wt[0],_t=ot[1]-wt[1],Ue=n(Bt*Bt+_t*_t,.5);return Ue>t}function _(De){var Ie=De.length-1;return Ie<0&&(Ie=0),[De[0],De[Ie]]}function Z(De,Ie,ot,wt){var Bt=new v.Group;return Bt.add(new v.Rect({name:"main",style:X(ot),silent:!0,draggable:!0,cursor:"move",drift:i(De,Ie,Bt,"nswe"),ondragend:i(K,Ie,{isEnd:!0})})),r(wt,function(_t){Bt.add(new v.Rect({name:_t,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:i(De,Ie,Bt,_t),ondragend:i(K,Ie,{isEnd:!0})}))}),Bt}function Y(De,Ie,ot,wt){var Bt=wt.brushStyle.lineWidth||0,_t=l(Bt,c),Ue=ot[0][0],zt=ot[1][0],xt=Ue-Bt/2,Pt=zt-Bt/2,Ke=ot[0][1],Ye=ot[1][1],$e=Ke-_t+Bt/2,ut=Ye-_t+Bt/2,et=Ke-Ue,oe=Ye-zt,me=et+Bt,it=oe+Bt;Q(De,Ie,"main",Ue,zt,et,oe),wt.transformable&&(Q(De,Ie,"w",xt,Pt,_t,it),Q(De,Ie,"e",$e,Pt,_t,it),Q(De,Ie,"n",xt,Pt,me,_t),Q(De,Ie,"s",xt,ut,me,_t),Q(De,Ie,"nw",xt,Pt,_t,_t),Q(De,Ie,"ne",$e,Pt,_t,_t),Q(De,Ie,"sw",xt,ut,_t,_t),Q(De,Ie,"se",$e,ut,_t,_t))}function k(De,Ie){var ot=Ie.__brushOption,wt=ot.transformable,Bt=Ie.childAt(0);Bt.useStyle(X(ot)),Bt.attr({silent:!wt,cursor:wt?"move":"default"}),r(["w","e","n","s","se","sw","ne","nw"],function(_t){var Ue=Ie.childOfName(_t),zt=pe(De,_t);Ue&&Ue.attr({silent:!wt,invisible:!wt,cursor:wt?A[zt]+"-resize":null})})}function Q(De,Ie,ot,wt,Bt,_t,Ue){var zt=Ie.childOfName(ot);zt&&zt.setShape(yt(qe(De,Ie,[[wt,Bt],[wt+_t,Bt+Ue]])))}function X(De){return g.defaults({strokeNoScale:!0},De.brushStyle)}function he(De,Ie,ot,wt){var Bt=[s(De,ot),s(Ie,wt)],_t=[l(De,ot),l(Ie,wt)];return[[Bt[0],_t[0]],[Bt[1],_t[1]]]}function te(De){return v.getTransform(De.group)}function pe(De,Ie){if(Ie.length>1){Ie=Ie.split("");var ot=[pe(De,Ie[0]),pe(De,Ie[1])];return(ot[0]==="e"||ot[0]==="w")&&ot.reverse(),ot.join("")}else{var wt={w:"left",e:"right",n:"top",s:"bottom"},Bt={left:"w",right:"e",top:"n",bottom:"s"},ot=v.transformDirection(wt[Ie],te(De));return Bt[ot]}}function Se(De,Ie,ot,wt,Bt,_t,Ue,zt){var xt=wt.__brushOption,Pt=De(xt.range),Ke=We(ot,_t,Ue);r(Bt.split(""),function(Ye){var $e=h[Ye];Pt[$e[0]][$e[1]]+=Ke[$e[0]]}),xt.range=Ie(he(Pt[0][0],Pt[1][0],Pt[0][1],Pt[1][1])),R(ot,wt),K(ot,{isEnd:!1})}function we(De,Ie,ot,wt,Bt){var _t=Ie.__brushOption.range,Ue=We(De,ot,wt);r(_t,function(zt){zt[0]+=Ue[0],zt[1]+=Ue[1]}),R(De,Ie),K(De,{isEnd:!1})}function We(De,Ie,ot){var wt=De.group,Bt=wt.transformCoordToLocal(Ie,ot),_t=wt.transformCoordToLocal(0,0);return[Bt[0]-_t[0],Bt[1]-_t[1]]}function qe(De,Ie,ot){var wt=j(De,Ie);return wt&&wt!==!0?wt.clipPath(ot,De._transform):g.clone(ot)}function yt(De){var Ie=s(De[0][0],De[1][0]),ot=s(De[0][1],De[1][1]),wt=l(De[0][0],De[1][0]),Bt=l(De[0][1],De[1][1]);return{x:Ie,y:ot,width:wt-Ie,height:Bt-ot}}function _e(De,Ie,ot){if(!De._brushType||vt(De,Ie))return;var wt=De._zr,Bt=De._covers,_t=M(De,Ie,ot);if(!De._dragging)for(var Ue=0;Ue<Bt.length;Ue++){var zt=Bt[Ue].__brushOption;if(_t&&(_t===!0||zt.panelId===_t.panelId)&&Qe[zt.brushType].contain(Bt[Ue],ot[0],ot[1]))return}_t&&wt.setCursorStyle("crosshair")}function je(De){var Ie=De.event;Ie.preventDefault&&Ie.preventDefault()}function Ct(De,Ie,ot){return De.childOfName("main").contain(Ie,ot)}function ct(De,Ie,ot,wt){var Bt=De._creatingCover,_t=De._creatingPanel,Ue=De._brushOption,zt;if(De._track.push(ot.slice()),H(De)||Bt){if(_t&&!Bt){Ue.brushMode==="single"&&P(De);var xt=g.clone(Ue);xt.brushType=nt(xt.brushType,_t),xt.panelId=_t===!0?null:_t.panelId,Bt=De._creatingCover=L(De,xt),De._covers.push(Bt)}if(Bt){var Pt=Qe[nt(De._brushType,_t)],Ke=Bt.__brushOption;Ke.range=Pt.getCreatingRange(qe(De,Bt,De._track)),wt&&(N(De,Bt),Pt.updateCommon(De,Bt)),D(De,Bt),zt={isEnd:wt}}}else wt&&Ue.brushMode==="single"&&Ue.removeOnClick&&(M(De,Ie,ot)&&P(De)&&(zt={isEnd:wt,removeOnClick:!0}));return zt}function nt(De,Ie){return De==="auto"?Ie.defaultBrushType:De}var bt={mousedown:function(De){if(this._dragging)dt(this,De);else if(!De.target||!De.target.draggable){je(De);var Ie=this.group.transformCoordToLocal(De.offsetX,De.offsetY);this._creatingCover=null;var ot=this._creatingPanel=M(this,De,Ie);ot&&(this._dragging=!0,this._track=[Ie.slice()])}},mousemove:function(De){var Ie=De.offsetX,ot=De.offsetY,wt=this.group.transformCoordToLocal(Ie,ot);if(_e(this,De,wt),this._dragging){je(De);var Bt=ct(this,De,wt,!1);Bt&&K(this,Bt)}},mouseup:function(De){dt(this,De)}};function dt(De,Ie){if(De._dragging){je(Ie);var ot=Ie.offsetX,wt=Ie.offsetY,Bt=De.group.transformCoordToLocal(ot,wt),_t=ct(De,Ie,Bt,!0);De._dragging=!1,De._track=[],De._creatingCover=null,_t&&K(De,_t)}}function vt(De,Ie,ot){var wt=De._zr;return Ie<0||Ie>wt.getWidth()||ot<0||ot>wt.getHeight()}var Qe={lineX:mt(0),lineY:mt(1),rect:{createCover:function(De,Ie){return Z(i(Se,function(ot){return ot},function(ot){return ot}),De,Ie,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(De){var Ie=_(De);return he(Ie[1][0],Ie[1][1],Ie[0][0],Ie[0][1])},updateCoverShape:function(De,Ie,ot,wt){Y(De,Ie,ot,wt)},updateCommon:k,contain:Ct},polygon:{createCover:function(De,Ie){var ot=new v.Group;return ot.add(new v.Polyline({name:"main",style:X(Ie),silent:!0})),ot},getCreatingRange:function(De){return De},endCreating:function(De,Ie){Ie.remove(Ie.childAt(0)),Ie.add(new v.Polygon({name:"main",draggable:!0,drift:i(we,De,Ie),ondragend:i(K,De,{isEnd:!0})}))},updateCoverShape:function(De,Ie,ot,wt){Ie.childAt(0).setShape({points:qe(De,Ie,ot)})},updateCommon:k,contain:Ct}};function mt(De){return{createCover:function(Ie,ot){return Z(i(Se,function(wt){var Bt=[wt,[0,100]];return De&&Bt.reverse(),Bt},function(wt){return wt[De]}),Ie,ot,[["w","e"],["n","s"]][De])},getCreatingRange:function(Ie){var ot=_(Ie),wt=s(ot[0][De],ot[1][De]),Bt=l(ot[0][De],ot[1][De]);return[wt,Bt]},updateCoverShape:function(Ie,ot,wt,Bt){var _t,Ue=j(Ie,ot);if(Ue!==!0&&Ue.getLinearBrushOtherExtent)_t=Ue.getLinearBrushOtherExtent(De,Ie._transform);else{var zt=Ie._zr;_t=[0,[zt.getWidth(),zt.getHeight()][1-De]]}var xt=[wt,_t];De&&xt.reverse(),Y(Ie,ot,xt,Bt)},updateCommon:k,contain:Ct}}var Pe=S;J.exports=Pe},"/MfK":function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="DeleteOutlined";var b=B.a=d.forwardRef(v)},"/SeX":function(J,B,e){var d=e("knOB"),x=e("qZFw"),g=function(v){this.name=v||"",this.cx=0,this.cy=0,this._radiusAxis=new d,this._angleAxis=new x,this._radiusAxis.polar=this._angleAxis.polar=this};g.prototype={type:"polar",axisPointerEnabled:!0,constructor:g,dimensions:["radius","angle"],model:null,containPoint:function(v){var b=this.pointToCoord(v);return this._radiusAxis.contain(b[0])&&this._angleAxis.contain(b[1])},containData:function(v){return this._radiusAxis.containData(v[0])&&this._angleAxis.containData(v[1])},getAxis:function(v){return this["_"+v+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(v){var b=[],f=this._angleAxis,i=this._radiusAxis;return f.scale.type===v&&b.push(f),i.scale.type===v&&b.push(i),b},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(v){var b=this._angleAxis;return v===b?this._radiusAxis:b},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(v){var b=v!=null&&v!=="auto"?this.getAxis(v):this.getBaseAxis();return{baseAxes:[b],otherAxes:[this.getOtherAxis(b)]}},dataToPoint:function(v,b){return this.coordToPoint([this._radiusAxis.dataToRadius(v[0],b),this._angleAxis.dataToAngle(v[1],b)])},pointToData:function(v,b){var f=this.pointToCoord(v);return[this._radiusAxis.radiusToData(f[0],b),this._angleAxis.angleToData(f[1],b)]},pointToCoord:function(v){var b=v[0]-this.cx,f=v[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),a=Math.min(r[0],r[1]),s=Math.max(r[0],r[1]);i.inverse?a=s-360:s=a+360;var l=Math.sqrt(b*b+f*f);b/=l,f/=l;for(var n=Math.atan2(-f,b)/Math.PI*180,u=n<a?1:-1;n<a||n>s;)n+=u*360;return[l,n]},coordToPoint:function(v){var b=v[0],f=v[1]/180*Math.PI,i=Math.cos(f)*b+this.cx,r=-Math.sin(f)*b+this.cy;return[i,r]},getArea:function(){var v=this.getAngleAxis(),b=this.getRadiusAxis(),f=b.getExtent().slice();f[0]>f[1]&&f.reverse();var i=v.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:f[0],r:f[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:v.inverse,contain:function(a,s){var l=a-this.cx,n=s-this.cy,u=l*l+n*n,t=this.r,c=this.r0;return u<=t*t&&u>=c*c}}}};var p=g;J.exports=p},"/WM3":function(J,B,e){var d=e("QuXc"),x=e("bYtY"),g=x.isFunction,p={createOnAllSeries:!0,performRawSeries:!0,reset:function(v,b){var f=v.getData(),i=(v.visualColorAccessPath||"itemStyle.color").split("."),r=v.get(i),a=g(r)&&!(r instanceof d)?r:null;(!r||a)&&(r=v.getColorFromPalette(v.name,null,b.getSeriesCount())),f.setVisual("color",r);var s=(v.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),l=v.get(s);if(f.setVisual("borderColor",l),!b.isSeriesFiltered(v)){a&&f.each(function(u){f.setItemVisual(u,"color",a(v.getDataParams(u)))});var n=function(u,t){var c=u.getItemModel(t),o=c.get(i,!0),h=c.get(s,!0);o!=null&&u.setItemVisual(t,"color",o),h!=null&&u.setItemVisual(t,"borderColor",h)};return{dataEach:f.hasItemOption?n:null}}}};J.exports=p},"/d5a":function(J,B){var e={average:function(g){for(var p=0,v=0,b=0;b<g.length;b++)isNaN(g[b])||(p+=g[b],v++);return v===0?NaN:p/v},sum:function(g){for(var p=0,v=0;v<g.length;v++)p+=g[v]||0;return p},max:function(g){for(var p=-Infinity,v=0;v<g.length;v++)g[v]>p&&(p=g[v]);return isFinite(p)?p:NaN},min:function(g){for(var p=Infinity,v=0;v<g.length;v++)g[v]<p&&(p=g[v]);return isFinite(p)?p:NaN},nearest:function(g){return g[0]}},d=function(g,p){return Math.round(g.length/2)};function x(g){return{seriesType:g,modifyOutputEnd:!0,reset:function(p,v,b){var f=p.getData(),i=p.get("sampling"),r=p.coordinateSystem;if(r.type==="cartesian2d"&&i){var a=r.getBaseAxis(),s=r.getOtherAxis(a),l=a.getExtent(),n=l[1]-l[0],u=Math.round(f.count()/n);if(u>1){var t;typeof i=="string"?t=e[i]:typeof i=="function"&&(t=i),t&&p.setData(f.downSample(f.mapDimension(s.dim),1/u,t,d))}}}}}J.exports=x},"/ezw":function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("cDf5"),b=e.n(v),f=e("q1tI"),i=e("TSYQ"),r=e.n(i),a=function(H){var _=H.prefixCls,Z=H.className,Y=H.width,k=H.style;return f.createElement("h3",{className:r()(_,Z),style:p()({width:Y},k)})},s=a,l=e("RIqP"),n=e.n(l),u=function(H){var _=function(te){var pe=H.width,Se=H.rows,we=Se===void 0?2:Se;return Array.isArray(pe)?pe[te]:we-1===te?pe:void 0},Z=H.prefixCls,Y=H.className,k=H.style,Q=H.rows,X=n()(Array(Q)).map(function(he,te){return f.createElement("li",{key:te,style:{width:_(te)}})});return f.createElement("ul",{className:r()(Z,Y),style:k},X)},t=u,c=e("H84U"),o=function(H){var _,Z,Y=H.prefixCls,k=H.className,Q=H.style,X=H.size,he=H.shape,te=r()((_={},x()(_,"".concat(Y,"-lg"),X==="large"),x()(_,"".concat(Y,"-sm"),X==="small"),_)),pe=r()((Z={},x()(Z,"".concat(Y,"-circle"),he==="circle"),x()(Z,"".concat(Y,"-square"),he==="square"),x()(Z,"".concat(Y,"-round"),he==="round"),Z)),Se=typeof X=="number"?{width:X,height:X,lineHeight:"".concat(X,"px")}:{};return f.createElement("span",{className:r()(Y,k,te,pe),style:p()(p()({},Se),Q)})},h=o,A=e("BGR+"),y=function(H){var _=function(Y){var k=Y.getPrefixCls,Q=H.prefixCls,X=H.className,he=H.active,te=k("skeleton",Q),pe=Object(A.default)(H,["prefixCls"]),Se=r()(te,X,"".concat(te,"-element"),x()({},"".concat(te,"-active"),he));return f.createElement("div",{className:Se},f.createElement(h,p()({prefixCls:"".concat(te,"-avatar")},pe)))};return f.createElement(c.a,null,_)};y.defaultProps={size:"default",shape:"circle"};var O=y,S=function(H){var _=function(Y){var k=Y.getPrefixCls,Q=H.prefixCls,X=H.className,he=H.active,te=k("skeleton",Q),pe=Object(A.default)(H,["prefixCls"]),Se=r()(te,X,"".concat(te,"-element"),x()({},"".concat(te,"-active"),he));return f.createElement("div",{className:Se},f.createElement(h,p()({prefixCls:"".concat(te,"-button")},pe)))};return f.createElement(c.a,null,_)};S.defaultProps={size:"default"};var E=S,C=function(H){var _=function(Y){var k=Y.getPrefixCls,Q=H.prefixCls,X=H.className,he=H.active,te=k("skeleton",Q),pe=Object(A.default)(H,["prefixCls"]),Se=r()(te,X,"".concat(te,"-element"),x()({},"".concat(te,"-active"),he));return f.createElement("div",{className:Se},f.createElement(h,p()({prefixCls:"".concat(te,"-input")},pe)))};return f.createElement(c.a,null,_)};C.defaultProps={size:"default"};var T=C,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",L=function(H){var _=function(Y){var k=Y.getPrefixCls,Q=H.prefixCls,X=H.className,he=H.style,te=k("skeleton",Q),pe=r()(te,X,"".concat(te,"-element"));return f.createElement("div",{className:pe},f.createElement("div",{className:r()("".concat(te,"-image"),X),style:he},f.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(te,"-image-svg")},f.createElement("path",{d:w,className:"".concat(te,"-image-path")}))))};return f.createElement(c.a,null,_)},N=L;function D(K){return K&&b()(K)==="object"?K:{}}function F(K,H){return K&&!H?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function R(K,H){return!K&&H?{width:"38%"}:K&&H?{width:"50%"}:{}}function U(K,H){var _={};return(!K||!H)&&(_.width="61%"),!K&&H?_.rows=3:_.rows=2,_}var M=function(H){var _=function(Y){var k=Y.getPrefixCls,Q=Y.direction,X=H.prefixCls,he=H.loading,te=H.className,pe=H.children,Se=H.avatar,we=H.title,We=H.paragraph,qe=H.active,yt=H.round,_e=k("skeleton",X);if(he||!("loading"in H)){var je,Ct=!!Se,ct=!!we,nt=!!We,bt;if(Ct){var dt=p()(p()({prefixCls:"".concat(_e,"-avatar")},F(ct,nt)),D(Se));bt=f.createElement("div",{className:"".concat(_e,"-header")},f.createElement(h,dt))}var vt;if(ct||nt){var Qe;if(ct){var mt=p()(p()({prefixCls:"".concat(_e,"-title")},R(Ct,nt)),D(we));Qe=f.createElement(s,mt)}var Pe;if(nt){var De=p()(p()({prefixCls:"".concat(_e,"-paragraph")},U(Ct,ct)),D(We));Pe=f.createElement(t,De)}vt=f.createElement("div",{className:"".concat(_e,"-content")},Qe,Pe)}var Ie=r()(_e,te,(je={},x()(je,"".concat(_e,"-with-avatar"),Ct),x()(je,"".concat(_e,"-active"),qe),x()(je,"".concat(_e,"-rtl"),Q==="rtl"),x()(je,"".concat(_e,"-round"),yt),je));return f.createElement("div",{className:Ie},bt,vt)}return pe};return f.createElement(c.a,null,_)};M.defaultProps={avatar:!1,title:!0,paragraph:!0},M.Button=E,M.Avatar=O,M.Input=T,M.Image=N;var j=M,P=B.a=j},"/iHx":function(J,B,e){var d=e("6GrX"),x=e("IwbS"),g=["textStyle","color"],p={getTextColor:function(v){var b=this.ecModel;return this.getShallow("color")||(!v&&b?b.get(g):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(v){return d.getBoundingRect(v,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};J.exports=p},"/kpp":function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("cDf5"),b=e.n(v),f=e("q1tI"),i=e.n(f),r=e("TSYQ"),a=e.n(r),s=e("o/2+"),l=e("H84U"),n=function(c,o){var h={};for(var A in c)Object.prototype.hasOwnProperty.call(c,A)&&o.indexOf(A)<0&&(h[A]=c[A]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,A=Object.getOwnPropertySymbols(c);y<A.length;y++)o.indexOf(A[y])<0&&Object.prototype.propertyIsEnumerable.call(c,A[y])&&(h[A[y]]=c[A[y]]);return h};function u(c){return typeof c=="number"?"".concat(c," ").concat(c," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(c)?"0 0 ".concat(c):c}var t=f.forwardRef(function(c,o){var h=function(y){var O,S=y.getPrefixCls,E=y.direction,C=c.prefixCls,T=c.span,w=c.order,L=c.offset,N=c.push,D=c.pull,F=c.className,R=c.children,U=c.flex,M=c.style,j=n(c,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),P=S("col",C),K={};["xs","sm","md","lg","xl","xxl"].forEach(function(_){var Z,Y={},k=c[_];typeof k=="number"?Y.span=k:b()(k)==="object"&&(Y=k||{}),delete j[_],K=p()(p()({},K),(Z={},x()(Z,"".concat(P,"-").concat(_,"-").concat(Y.span),Y.span!==void 0),x()(Z,"".concat(P,"-").concat(_,"-order-").concat(Y.order),Y.order||Y.order===0),x()(Z,"".concat(P,"-").concat(_,"-offset-").concat(Y.offset),Y.offset||Y.offset===0),x()(Z,"".concat(P,"-").concat(_,"-push-").concat(Y.push),Y.push||Y.push===0),x()(Z,"".concat(P,"-").concat(_,"-pull-").concat(Y.pull),Y.pull||Y.pull===0),x()(Z,"".concat(P,"-rtl"),E==="rtl"),Z))});var H=a()(P,(O={},x()(O,"".concat(P,"-").concat(T),T!==void 0),x()(O,"".concat(P,"-order-").concat(w),w),x()(O,"".concat(P,"-offset-").concat(L),L),x()(O,"".concat(P,"-push-").concat(N),N),x()(O,"".concat(P,"-pull-").concat(D),D),O),F,K);return f.createElement(s.a.Consumer,null,function(_){var Z=_.gutter,Y=p()({},M);return Z&&(Y=p()(p()(p()({},Z[0]>0?{paddingLeft:Z[0]/2,paddingRight:Z[0]/2}:{}),Z[1]>0?{paddingTop:Z[1]/2,paddingBottom:Z[1]/2}:{}),Y)),U&&(Y.flex=u(U)),f.createElement("div",p()({},j,{style:Y,className:H,ref:o}),R)})};return f.createElement(l.a,null,h)});t.displayName="Col",B.a=t},"/ry/":function(J,B,e){var d=e("bYtY"),x=e("T4UG"),g=e("5GhG"),p=g.seriesModelMixin,v=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}});d.mixin(v,p,!0);var b=v;J.exports=b},"/stD":function(J,B,e){var d=e("bYtY"),x=e("IUWy"),g=e("Kagy"),p=g.toolbox.brush;function v(i,r,a){this.model=i,this.ecModel=r,this.api=a,this._brushType,this._brushMode}v.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:d.clone(p.title)};var b=v.prototype;b.render=b.updateView=function(i,r,a){var s,l,n;r.eachComponent({mainType:"brush"},function(u){s=u.brushType,l=u.brushOption.brushMode||"single",n|=u.areas.length}),this._brushType=s,this._brushMode=l,d.each(i.get("type",!0),function(u){i.setIconStatus(u,(u==="keep"?l==="multiple":u==="clear"?n:u===s)?"emphasis":"normal")})},b.getIcons=function(){var i=this.model,r=i.get("icon",!0),a={};return d.each(i.get("type",!0),function(s){r[s]&&(a[s]=r[s])}),a},b.onclick=function(i,r,a){var s=this._brushType,l=this._brushMode;a==="clear"?(r.dispatchAction({type:"axisAreaSelect",intervals:[]}),r.dispatchAction({type:"brush",command:"clear",areas:[]})):r.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:a==="keep"?s:s===a?!1:a,brushMode:a==="keep"?l==="multiple"?"single":"multiple":l}})},x.register("brush",v);var f=v;J.exports=f},"/wGt":function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("lwsE"),b=e.n(v),f=e("W8MJ"),i=e.n(f),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e("Ff2n"),o=e("1OyB"),h=e("vuIU"),A=e("Ji7U"),y=e("md7G"),O=e("foSv"),S=e("1W/9"),E=e("rePB"),C=e("JX7q"),T=e("TSYQ"),w=e.n(T),L=e("qx4F"),N=e("4IlW");function D(Qe){return Array.isArray(Qe)?Qe:[Qe]}var F={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},R=Object.keys(F).filter(function(Qe){if(typeof document=="undefined")return!1;var mt=document.getElementsByTagName("html")[0];return Qe in(mt?mt.style:{})})[0],U=F[R];function M(Qe,mt,Pe,De){Qe.addEventListener?Qe.addEventListener(mt,Pe,De):Qe.attachEvent&&Qe.attachEvent("on".concat(mt),Pe)}function j(Qe,mt,Pe,De){Qe.removeEventListener?Qe.removeEventListener(mt,Pe,De):Qe.attachEvent&&Qe.detachEvent("on".concat(mt),Pe)}function P(Qe,mt){var Pe=typeof Qe=="function"?Qe(mt):Qe;return Array.isArray(Pe)?Pe.length===2?Pe:[Pe[0],Pe[1]]:[Pe]}var K=function(mt){return!isNaN(parseFloat(mt))&&isFinite(mt)},H=!(typeof window!="undefined"&&window.document&&window.document.createElement),_=function Qe(mt,Pe,De,Ie){if(!Pe||Pe===document||Pe instanceof Document)return!1;if(Pe===mt.parentNode)return!0;var ot=Math.max(Math.abs(De),Math.abs(Ie))===Math.abs(Ie),wt=Math.max(Math.abs(De),Math.abs(Ie))===Math.abs(De),Bt=Pe.scrollHeight-Pe.clientHeight,_t=Pe.scrollWidth-Pe.clientWidth,Ue=document.defaultView.getComputedStyle(Pe),zt=Ue.overflowY==="auto"||Ue.overflowY==="scroll",xt=Ue.overflowX==="auto"||Ue.overflowX==="scroll",Pt=Bt&&zt,Ke=_t&&xt;return ot&&(!Pt||Pt&&(Pe.scrollTop>=Bt&&Ie<0||Pe.scrollTop<=0&&Ie>0))||wt&&(!Ke||Ke&&(Pe.scrollLeft>=_t&&De<0||Pe.scrollLeft<=0&&De>0))?Qe(mt,Pe.parentNode,De,Ie):!1};function Z(Qe){var mt=Y();return function(){var De=Object(O.a)(Qe),Ie;if(mt){var ot=Object(O.a)(this).constructor;Ie=Reflect.construct(De,arguments,ot)}else Ie=De.apply(this,arguments);return Object(y.a)(this,Ie)}}function Y(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Qe){return!1}}var k={},Q=function(Qe){Object(A.a)(Pe,Qe);var mt=Z(Pe);function Pe(De){var Ie;return Object(o.a)(this,Pe),Ie=mt.call(this,De),Ie.domFocus=function(){Ie.dom&&Ie.dom.focus()},Ie.removeStartHandler=function(ot){if(ot.touches.length>1)return;Ie.startPos={x:ot.touches[0].clientX,y:ot.touches[0].clientY}},Ie.removeMoveHandler=function(ot){if(ot.changedTouches.length>1)return;var wt=ot.currentTarget,Bt=ot.changedTouches[0].clientX-Ie.startPos.x,_t=ot.changedTouches[0].clientY-Ie.startPos.y;(wt===Ie.maskDom||wt===Ie.handlerDom||wt===Ie.contentDom&&_(wt,ot.target,Bt,_t))&&ot.cancelable&&ot.preventDefault()},Ie.transitionEnd=function(ot){var wt=ot.target;j(wt,U,Ie.transitionEnd),wt.style.transition=""},Ie.onKeyDown=function(ot){if(ot.keyCode===N.a.ESC){var wt=Ie.props.onClose;ot.stopPropagation(),wt&&wt(ot)}},Ie.onWrapperTransitionEnd=function(ot){var wt=Ie.props,Bt=wt.open,_t=wt.afterVisibleChange;ot.target===Ie.contentWrapper&&ot.propertyName.match(/transform$/)&&(Ie.dom.style.transition="",!Bt&&Ie.getCurrentDrawerSome()&&(document.body.style.overflowX="",Ie.maskDom&&(Ie.maskDom.style.left="",Ie.maskDom.style.width="")),_t&&_t(!!Bt))},Ie.openLevelTransition=function(){var ot=Ie.props,wt=ot.open,Bt=ot.width,_t=ot.height,Ue=Ie.getHorizontalBoolAndPlacementName(),zt=Ue.isHorizontal,xt=Ue.placementName,Pt=Ie.contentDom?Ie.contentDom.getBoundingClientRect()[zt?"width":"height"]:0,Ke=(zt?Bt:_t)||Pt;Ie.setLevelAndScrolling(wt,xt,Ke)},Ie.setLevelTransform=function(ot,wt,Bt,_t){var Ue=Ie.props,zt=Ue.placement,xt=Ue.levelMove,Pt=Ue.duration,Ke=Ue.ease,Ye=Ue.showMask;Ie.levelDom.forEach(function($e){$e.style.transition="transform ".concat(Pt," ").concat(Ke),M($e,U,Ie.transitionEnd);var ut=ot?Bt:0;if(xt){var et=P(xt,{target:$e,open:ot});ut=ot?et[0]:et[1]||0}var oe=typeof ut=="number"?"".concat(ut,"px"):ut,me=zt==="left"||zt==="top"?oe:"-".concat(oe);me=Ye&&zt==="right"&&_t?"calc(".concat(me," + ").concat(_t,"px)"):me,$e.style.transform=ut?"".concat(wt,"(").concat(me,")"):""})},Ie.setLevelAndScrolling=function(ot,wt,Bt){var _t=Ie.props.onChange;if(!H){var Ue=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(L.a)(!0):0;Ie.setLevelTransform(ot,wt,Bt,Ue),Ie.toggleScrollingToDrawerAndBody(Ue)}_t&&_t(ot)},Ie.toggleScrollingToDrawerAndBody=function(ot){var wt=Ie.props,Bt=wt.getOpenCount,_t=wt.getContainer,Ue=wt.showMask,zt=wt.open,xt=_t&&_t(),Pt=Bt&&Bt();if(xt&&xt.parentNode===document.body&&Ue){var Ke=["touchstart"],Ye=[document.body,Ie.maskDom,Ie.handlerDom,Ie.contentDom];zt&&document.body.style.overflow!=="hidden"?(ot&&Ie.addScrollingEffect(ot),Pt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Ye.forEach(function($e,ut){if(!$e)return;M($e,Ke[ut]||"touchmove",ut?Ie.removeMoveHandler:Ie.removeStartHandler,Ie.passive)})):Ie.getCurrentDrawerSome()&&(Pt||(document.body.style.overflow=""),document.body.style.touchAction="",ot&&Ie.remScrollingEffect(ot),Ye.forEach(function($e,ut){if(!$e)return;j($e,Ke[ut]||"touchmove",ut?Ie.removeMoveHandler:Ie.removeStartHandler,Ie.passive)}))}},Ie.addScrollingEffect=function(ot){var wt=Ie.props,Bt=wt.placement,_t=wt.duration,Ue=wt.ease,zt=wt.getOpenCount,xt=wt.switchScrollingEffect,Pt=zt&&zt();Pt===1&&xt();var Ke="width ".concat(_t," ").concat(Ue),Ye="transform ".concat(_t," ").concat(Ue);Ie.dom.style.transition="none";switch(Bt){case"right":Ie.dom.style.transform="translateX(-".concat(ot,"px)");break;case"top":case"bottom":Ie.dom.style.width="calc(100% - ".concat(ot,"px)"),Ie.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(Ie.timeout),Ie.timeout=setTimeout(function(){Ie.dom&&(Ie.dom.style.transition="".concat(Ye,",").concat(Ke),Ie.dom.style.width="",Ie.dom.style.transform="")})},Ie.remScrollingEffect=function(ot){var wt=Ie.props,Bt=wt.placement,_t=wt.duration,Ue=wt.ease,zt=wt.getOpenCount,xt=wt.switchScrollingEffect,Pt=zt&&zt();Pt||xt(!0),R&&(document.body.style.overflowX="hidden"),Ie.dom.style.transition="none";var Ke,Ye="width ".concat(_t," ").concat(Ue),$e="transform ".concat(_t," ").concat(Ue);switch(Bt){case"left":{Ie.dom.style.width="100%",Ye="width 0s ".concat(Ue," ").concat(_t);break}case"right":{Ie.dom.style.transform="translateX(".concat(ot,"px)"),Ie.dom.style.width="100%",Ye="width 0s ".concat(Ue," ").concat(_t),Ie.maskDom&&(Ie.maskDom.style.left="-".concat(ot,"px"),Ie.maskDom.style.width="calc(100% + ".concat(ot,"px)"));break}case"top":case"bottom":{Ie.dom.style.width="calc(100% + ".concat(ot,"px)"),Ie.dom.style.height="100%",Ie.dom.style.transform="translateZ(0)",Ke="height 0s ".concat(Ue," ").concat(_t);break}default:break}clearTimeout(Ie.timeout),Ie.timeout=setTimeout(function(){Ie.dom&&(Ie.dom.style.transition="".concat($e,",").concat(Ke?"".concat(Ke,","):"").concat(Ye),Ie.dom.style.transform="",Ie.dom.style.width="",Ie.dom.style.height="")})},Ie.getCurrentDrawerSome=function(){return!Object.keys(k).some(function(ot){return k[ot]})},Ie.getLevelDom=function(ot){var wt=ot.level,Bt=ot.getContainer;if(H)return;var _t=Bt&&Bt(),Ue=_t?_t.parentNode:null;if(Ie.levelDom=[],wt==="all"){var zt=Ue?Array.prototype.slice.call(Ue.children):[];zt.forEach(function(xt){xt.nodeName!=="SCRIPT"&&xt.nodeName!=="STYLE"&&xt.nodeName!=="LINK"&&xt!==_t&&Ie.levelDom.push(xt)})}else wt&&D(wt).forEach(function(xt){document.querySelectorAll(xt).forEach(function(Pt){Ie.levelDom.push(Pt)})})},Ie.getHorizontalBoolAndPlacementName=function(){var ot=Ie.props.placement,wt=ot==="left"||ot==="right",Bt="translate".concat(wt?"X":"Y");return{isHorizontal:wt,placementName:Bt}},Ie.state={_self:Object(C.a)(Ie)},Ie}return Object(h.a)(Pe,[{key:"componentDidMount",value:function(){var Ie=this;if(!H){var ot=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return ot=!0,null}}))}catch(zt){}this.passive=ot?{passive:!1}:!1}var wt=this.props,Bt=wt.open,_t=wt.getContainer,Ue=_t&&_t();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),Bt&&(Ue&&Ue.parentNode===document.body&&(k[this.drawerId]=Bt),this.openLevelTransition(),this.forceUpdate(function(){Ie.domFocus()}))}},{key:"componentDidUpdate",value:function(Ie){var ot=this.props,wt=ot.open,Bt=ot.getContainer,_t=Bt&&Bt();wt!==Ie.open&&(wt&&this.domFocus(),_t&&_t.parentNode===document.body&&(k[this.drawerId]=!!wt),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var Ie=this.props,ot=Ie.getOpenCount,wt=Ie.open,Bt=Ie.switchScrollingEffect,_t=typeof ot=="function"&&ot();delete k[this.drawerId],wt&&(this.setLevelTransform(!1),document.body.style.touchAction=""),_t||(document.body.style.overflow="",Bt(!0))}},{key:"render",value:function(){var Ie,ot=this,wt=this.props,Bt=wt.className,_t=wt.children,Ue=wt.style,zt=wt.width,xt=wt.height,Pt=wt.defaultOpen,Ke=wt.open,Ye=wt.prefixCls,$e=wt.placement,ut=wt.level,et=wt.levelMove,oe=wt.ease,me=wt.duration,it=wt.getContainer,Be=wt.handler,ht=wt.onChange,Mr=wt.afterVisibleChange,Lt=wt.showMask,or=wt.maskClosable,Qt=wt.maskStyle,qt=wt.onClose,hr=wt.onHandleClick,Gt=wt.keyboard,de=wt.getOpenCount,ue=wt.switchScrollingEffect,se=Object(c.a)(wt,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),ae=this.dom?Ke:!1,ye=w()(Ye,(Ie={},Object(E.a)(Ie,"".concat(Ye,"-").concat($e),!0),Object(E.a)(Ie,"".concat(Ye,"-open"),ae),Object(E.a)(Ie,Bt||"",!!Bt),Object(E.a)(Ie,"no-mask",!Lt),Ie)),Ce=this.getHorizontalBoolAndPlacementName(),Oe=Ce.placementName,Te=$e==="left"||$e==="top"?"-100%":"100%",xe=ae?"":"".concat(Oe,"(").concat(Te,")"),ke=Be&&t.cloneElement(Be,{onClick:function(At){Be.props.onClick&&Be.props.onClick(),hr&&hr(At)},ref:function(At){ot.handlerDom=At}});return t.createElement("div",Object.assign({},se,{tabIndex:-1,className:ye,style:Ue,ref:function(At){ot.dom=At},onKeyDown:ae&&Gt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),Lt&&t.createElement("div",{className:"".concat(Ye,"-mask"),onClick:or?qt:void 0,style:Qt,ref:function(At){ot.maskDom=At}}),t.createElement("div",{className:"".concat(Ye,"-content-wrapper"),style:{transform:xe,msTransform:xe,width:K(zt)?"".concat(zt,"px"):zt,height:K(xt)?"".concat(xt,"px"):xt},ref:function(At){ot.contentWrapper=At}},t.createElement("div",{className:"".concat(Ye,"-content"),ref:function(At){ot.contentDom=At},onTouchStart:ae&&Lt?this.removeStartHandler:void 0,onTouchMove:ae&&Lt?this.removeMoveHandler:void 0},_t),ke))}}],[{key:"getDerivedStateFromProps",value:function(Ie,ot){var wt=ot.prevProps,Bt=ot._self,_t={prevProps:Ie};if(wt!==void 0){var Ue=Ie.placement,zt=Ie.level;Ue!==wt.placement&&(Bt.contentDom=null),zt!==wt.level&&Bt.getLevelDom(Ie)}return _t}}]),Pe}(t.Component);Q.defaultProps={switchScrollingEffect:function(){}};var X=Q;function he(Qe){var mt=te();return function(){var De=Object(O.a)(Qe),Ie;if(mt){var ot=Object(O.a)(this).constructor;Ie=Reflect.construct(De,arguments,ot)}else Ie=De.apply(this,arguments);return Object(y.a)(this,Ie)}}function te(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Qe){return!1}}var pe=function(Qe){Object(A.a)(Pe,Qe);var mt=he(Pe);function Pe(De){var Ie;Object(o.a)(this,Pe),Ie=mt.call(this,De),Ie.onHandleClick=function(wt){var Bt=Ie.props,_t=Bt.onHandleClick,Ue=Bt.open;if(_t&&_t(wt),typeof Ue=="undefined"){var zt=Ie.state.open;Ie.setState({open:!zt})}},Ie.onClose=function(wt){var Bt=Ie.props,_t=Bt.onClose,Ue=Bt.open;_t&&_t(wt),typeof Ue=="undefined"&&Ie.setState({open:!1})};var ot=typeof De.open!="undefined"?De.open:!!De.defaultOpen;return Ie.state={open:ot},"onMaskClick"in De&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),Ie}return Object(h.a)(Pe,[{key:"render",value:function(){var Ie=this,ot=this.props,wt=ot.defaultOpen,Bt=ot.getContainer,_t=ot.wrapperClassName,Ue=ot.forceRender,zt=ot.handler,xt=Object(c.a)(ot,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),Pt=this.state.open;if(!Bt)return t.createElement("div",{className:_t,ref:function($e){Ie.dom=$e}},t.createElement(X,Object.assign({},xt,{open:Pt,handler:zt,getContainer:function(){return Ie.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Ke=!!zt||Ue;return t.createElement(S.a,{visible:Pt,forceRender:Ke,getContainer:Bt,wrapperClassName:_t},function(Ye){var $e=Ye.visible,ut=Ye.afterClose,et=Object(c.a)(Ye,["visible","afterClose"]);return t.createElement(X,Object.assign({},xt,et,{open:$e!==void 0?$e:Pt,afterVisibleChange:ut!==void 0?ut:xt.afterVisibleChange,handler:zt,onClose:Ie.onClose,onHandleClick:Ie.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(Ie,ot){var wt=ot.prevProps,Bt={prevProps:Ie};return typeof wt!="undefined"&&Ie.open!==wt.open&&(Bt.open=Ie.open),Bt}}]),Pe}(t.Component);pe.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler: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 Se=pe,we=Se,We=e("V/uB"),qe=e.n(We),yt=e("BGR+"),_e=e("H84U"),je=e("CWQg"),Ct=function(Qe,mt){var Pe={};for(var De in Qe)Object.prototype.hasOwnProperty.call(Qe,De)&&mt.indexOf(De)<0&&(Pe[De]=Qe[De]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,De=Object.getOwnPropertySymbols(Qe);Ie<De.length;Ie++)mt.indexOf(De[Ie])<0&&Object.prototype.propertyIsEnumerable.call(Qe,De[Ie])&&(Pe[De[Ie]]=Qe[De[Ie]]);return Pe},ct=t.createContext(null),nt=Object(je.a)("top","right","bottom","left"),bt={distance:180},dt=function(Qe){l()(Pe,Qe);var mt=u()(Pe);function Pe(){var De;return b()(this,Pe),De=mt.apply(this,arguments),De.state={push:!1},De.push=function(){De.props.push&&De.setState({push:!0})},De.pull=function(){De.props.push&&De.setState({push:!1})},De.onDestroyTransitionEnd=function(){var Ie=De.getDestroyOnClose();if(!Ie)return;De.props.visible||(De.destroyClose=!0,De.forceUpdate())},De.getDestroyOnClose=function(){return De.props.destroyOnClose&&!De.props.visible},De.getPushDistance=function(){var Ie=De.props.push,ot;return typeof Ie=="boolean"?ot=Ie?bt.distance:0:ot=Ie.distance,parseFloat(String(ot||0))},De.getPushTransform=function(Ie){var ot=De.getPushDistance();if(Ie==="left"||Ie==="right")return"translateX(".concat(Ie==="left"?ot:-ot,"px)");if(Ie==="top"||Ie==="bottom")return"translateY(".concat(Ie==="top"?ot:-ot,"px)")},De.getRcDrawerStyle=function(){var Ie=De.props,ot=Ie.zIndex,wt=Ie.placement,Bt=Ie.mask,_t=Ie.style,Ue=De.state.push,zt=Bt?{}:De.getOffsetStyle();return p()(p()({zIndex:ot,transform:Ue?De.getPushTransform(wt):void 0},zt),_t)},De.renderBody=function(){var Ie=De.props,ot=Ie.bodyStyle,wt=Ie.drawerStyle,Bt=Ie.prefixCls,_t=Ie.visible;if(De.destroyClose&&!_t)return null;De.destroyClose=!1;var Ue={},zt=De.getDestroyOnClose();return zt&&(Ue.opacity=0,Ue.transition="opacity .3s"),t.createElement("div",{className:"".concat(Bt,"-wrapper-body"),style:p()(p()({},Ue),wt),onTransitionEnd:De.onDestroyTransitionEnd},De.renderHeader(),t.createElement("div",{className:"".concat(Bt,"-body"),style:ot},De.props.children),De.renderFooter())},De.renderProvider=function(Ie){return De.parentDrawer=Ie,t.createElement(_e.a,null,function(ot){var wt=ot.getPopupContainer,Bt=ot.getPrefixCls,_t=De.props,Ue=_t.prefixCls,zt=_t.placement,xt=_t.className,Pt=_t.mask,Ke=_t.direction,Ye=_t.visible,$e=Ct(_t,["prefixCls","placement","className","mask","direction","visible"]),ut=Bt("select",Ue),et=w()(xt,x()({"no-mask":!Pt},"".concat(ut,"-rtl"),Ke==="rtl")),oe=Pt?De.getOffsetStyle():{};return t.createElement(ct.Provider,{value:a()(De)},t.createElement(we,p()({handler:!1},Object(yt.default)($e,["zIndex","style","closable","closeIcon","destroyOnClose","drawerStyle","headerStyle","bodyStyle","footerStyle","footer","locale","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton","width","height","dropdownMatchSelectWidth","getTargetContainer"]),{getContainer:$e.getContainer===void 0&&wt?function(){return wt(document.body)}:$e.getContainer},oe,{prefixCls:ut,open:Ye,showMask:Pt,placement:zt,style:De.getRcDrawerStyle(),className:et}),De.renderBody()))})},De}return i()(Pe,[{key:"componentDidMount",value:function(){var Ie=this.props.visible;Ie&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(Ie){var ot=this.props.visible;Ie.visible!==ot&&this.parentDrawer&&(ot?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var Ie=this.props,ot=Ie.placement,wt=Ie.width,Bt=Ie.height,_t=Ie.visible,Ue=Ie.mask;if(!_t&&!Ue)return{};var zt={};return ot==="left"||ot==="right"?zt.width=wt:zt.height=Bt,zt}},{key:"renderHeader",value:function(){var Ie=this.props,ot=Ie.title,wt=Ie.prefixCls,Bt=Ie.closable,_t=Ie.headerStyle;if(!ot&&!Bt)return null;var Ue=ot?"".concat(wt,"-header"):"".concat(wt,"-header-no-title");return t.createElement("div",{className:Ue,style:_t},ot&&t.createElement("div",{className:"".concat(wt,"-title")},ot),Bt&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var Ie=this.props,ot=Ie.footer,wt=Ie.footerStyle,Bt=Ie.prefixCls;if(!ot)return null;var _t="".concat(Bt,"-footer");return t.createElement("div",{className:_t,style:wt},ot)}},{key:"renderCloseIcon",value:function(){var Ie=this.props,ot=Ie.closable,wt=Ie.closeIcon,Bt=wt===void 0?t.createElement(qe.a,null):wt,_t=Ie.prefixCls,Ue=Ie.onClose;return ot&&t.createElement("button",{onClick:Ue,"aria-label":"Close",className:"".concat(_t,"-close"),style:{"--scroll-bar":"".concat(Object(L.a)(),"px")}},Bt)}},{key:"render",value:function(){return t.createElement(ct.Consumer,null,this.renderProvider)}}]),Pe}(t.Component);dt.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:bt};var vt=B.a=Object(_e.c)({prefixCls:"drawer"})(dt)},"/y7N":function(J,B,e){var d=e("bYtY"),x=e("IwbS"),g=e("6GrX"),p=e("7aKB"),v=e("Fofx"),b=e("aX7z"),f=e("+rIm");function i(o){var h=o.get("type"),A=o.getModel(h+"Style"),y;return h==="line"?(y=A.getLineStyle(),y.fill=null):h==="shadow"&&(y=A.getAreaStyle(),y.stroke=null),y}function r(o,h,A,y,O){var S=A.get("value"),E=s(S,h.axis,h.ecModel,A.get("seriesDataIndices"),{precision:A.get("label.precision"),formatter:A.get("label.formatter")}),C=A.getModel("label"),T=p.normalizeCssArray(C.get("padding")||0),w=C.getFont(),L=g.getBoundingRect(E,w),N=O.position,D=L.width+T[1]+T[3],F=L.height+T[0]+T[2],R=O.align;R==="right"&&(N[0]-=D),R==="center"&&(N[0]-=D/2);var U=O.verticalAlign;U==="bottom"&&(N[1]-=F),U==="middle"&&(N[1]-=F/2),a(N,D,F,y);var M=C.get("backgroundColor");(!M||M==="auto")&&(M=h.get("axisLine.lineStyle.color")),o.label={shape:{x:0,y:0,width:D,height:F,r:C.get("borderRadius")},position:N.slice(),style:{text:E,textFont:w,textFill:C.getTextColor(),textPosition:"inside",textPadding:T,fill:M,stroke:C.get("borderColor")||"transparent",lineWidth:C.get("borderWidth")||0,shadowBlur:C.get("shadowBlur"),shadowColor:C.get("shadowColor"),shadowOffsetX:C.get("shadowOffsetX"),shadowOffsetY:C.get("shadowOffsetY")},z2:10}}function a(o,h,A,y){var O=y.getWidth(),S=y.getHeight();o[0]=Math.min(o[0]+h,O)-h,o[1]=Math.min(o[1]+A,S)-A,o[0]=Math.max(o[0],0),o[1]=Math.max(o[1],0)}function s(o,h,A,y,O){o=h.scale.parse(o);var S=h.scale.getLabel(o,{precision:O.precision}),E=O.formatter;if(E){var C={value:b.getAxisRawValue(h,o),axisDimension:h.dim,axisIndex:h.index,seriesData:[]};d.each(y,function(T){var w=A.getSeriesByIndex(T.seriesIndex),L=T.dataIndexInside,N=w&&w.getDataParams(L);N&&C.seriesData.push(N)}),d.isString(E)?S=E.replace("{value}",S):d.isFunction(E)&&(S=E(C))}return S}function l(o,h,A){var y=v.create();return v.rotate(y,y,A.rotation),v.translate(y,y,A.position),x.applyTransform([o.dataToCoord(h),(A.labelOffset||0)+(A.labelDirection||1)*(A.labelMargin||0)],y)}function n(o,h,A,y,O,S){var E=f.innerTextLayout(A.rotation,0,A.labelDirection);A.labelMargin=O.get("label.margin"),r(h,y,O,S,{position:l(y.axis,o,A),align:E.textAlign,verticalAlign:E.textVerticalAlign})}function u(o,h,A){return A=A||0,{x1:o[A],y1:o[1-A],x2:h[A],y2:h[1-A]}}function t(o,h,A){return A=A||0,{x:o[A],y:o[1-A],width:h[A],height:h[1-A]}}function c(o,h,A,y,O,S){return{cx:o,cy:h,r0:A,r:y,startAngle:O,endAngle:S,clockwise:!0}}B.buildElStyle=i,B.buildLabelElOption=r,B.getValueLabel=s,B.getTransformedPosition=l,B.buildCartesianSingleLabelElOption=n,B.makeLineShape=u,B.makeRectShape=t,B.makeSectorShape=c},"/zsF":function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("bE4E"),p=e.n(g)},"0/Rx":function(J,B){function e(d){return{seriesType:d,reset:function(x,g){var p=g.findComponents({mainType:"legend"});if(!p||!p.length)return;var v=x.getData();v.filterSelf(function(b){for(var f=v.getName(b),i=0;i<p.length;i++)if(!p[i].isSelected(f))return!1;return!0})}}}J.exports=e},"01d+":function(J,B,e){var d=e("bYtY"),x=d.each,g=e("HF/U"),p=g.simpleLayout,v=g.simpleLayoutEdge;function b(f,i){f.eachSeriesByType("graph",function(r){var a=r.get("layout"),s=r.coordinateSystem;if(s&&s.type!=="view"){var l=r.getData(),n=[];x(s.dimensions,function(A){n=n.concat(l.mapDimension(A,!0))});for(var u=0;u<l.count();u++){for(var t=[],c=!1,o=0;o<n.length;o++){var h=l.get(n[o],u);isNaN(h)||(c=!0),t.push(h)}c?l.setItemLayout(u,s.dataToPoint(t)):l.setItemLayout(u,[NaN,NaN])}v(l.graph)}else(!a||a==="none")&&p(r)})}J.exports=b},"03A+":function(J,B,e){var d=e("JTzB"),x=e("ExA7"),g=Object.prototype,p=g.hasOwnProperty,v=g.propertyIsEnumerable,b=d(function(){return arguments}())?d:function(f){return x(f)&&p.call(f,"callee")&&!v.call(f,"callee")};J.exports=b},"06DH":function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("Kagy"),p=e("IUWy"),v=g.toolbox.magicType,b="__ec_magicType_stack__";function f(l){this.model=l}f.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:x.clone(v.title),option:{},seriesIndex:{}};var i=f.prototype;i.getIcons=function(){var l=this.model,n=l.get("icon"),u={};return x.each(l.get("type"),function(t){n[t]&&(u[t]=n[t])}),u};var r={line:function(l,n,u,t){if(l==="bar")return x.merge({id:n,type:"line",data:u.get("data"),stack:u.get("stack"),markPoint:u.get("markPoint"),markLine:u.get("markLine")},t.get("option.line")||{},!0)},bar:function(l,n,u,t){if(l==="line")return x.merge({id:n,type:"bar",data:u.get("data"),stack:u.get("stack"),markPoint:u.get("markPoint"),markLine:u.get("markLine")},t.get("option.bar")||{},!0)},stack:function(l,n,u,t){var c=u.get("stack")===b;if(l==="line"||l==="bar")return t.setIconStatus("stack",c?"normal":"emphasis"),x.merge({id:n,stack:c?"":b},t.get("option.stack")||{},!0)}},a=[["line","bar"],["stack"]];i.onclick=function(l,n,u){var t=this.model,c=t.get("seriesIndex."+u);if(!r[u])return;var o={series:[]},h=function(O){var S=O.subType,E=O.id,C=r[u](S,E,O,t);C&&(x.defaults(C,O.option),o.series.push(C));var T=O.coordinateSystem;if(T&&T.type==="cartesian2d"&&(u==="line"||u==="bar")){var w=T.getAxesByScale("ordinal")[0];if(w){var L=w.dim,N=L+"Axis",D=l.queryComponents({mainType:N,index:O.get(name+"Index"),id:O.get(name+"Id")})[0],F=D.componentIndex;o[N]=o[N]||[];for(var R=0;R<=F;R++)o[N][F]=o[N][F]||{};o[N][F].boundaryGap=u==="bar"}}};x.each(a,function(O){x.indexOf(O,u)>=0&&x.each(O,function(S){t.setIconStatus(S,"normal")})}),t.setIconStatus(u,"emphasis"),l.eachComponent({mainType:"series",query:c==null?null:{seriesIndex:c}},h);var A;if(u==="stack"){var y=o.series&&o.series[0]&&o.series[0].stack===b;A=y?x.merge({stack:v.title.tiled},v.title):x.clone(v.title)}n.dispatchAction({type:"changeMagicType",currentType:u,newOption:o,newTitle:A,featureName:"magicType"})},d.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(l,n){n.mergeOption(l.newOption)}),p.register("magicType",f);var s=f;J.exports=s},"06Qe":function(J,B,e){var d=e("ItGF"),x="urn:schemas-microsoft-com:vml",g=typeof window=="undefined"?null:window,p=!1,v=g&&g.document;function b(r){return f(r)}var f;if(v&&!d.canvasSupported)try{!v.namespaces.zrvml&&v.namespaces.add("zrvml",x),f=function(a){return v.createElement("<zrvml:"+a+' class="zrvml">')}}catch(r){f=function(s){return v.createElement("<"+s+' xmlns="'+x+'" class="zrvml">')}}function i(){if(p||!v)return;p=!0;var r=v.styleSheets;r.length<31?v.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):r[0].addRule(".zrvml","behavior:url(#default#VML)")}B.doc=v,B.createNode=b,B.initVML=i},"09Wf":function(J,B,e){"use strict";e.d(B,"b",function(){return x}),e.d(B,"a",function(){return g});var d=e("CWQg"),x=Object(d.a)("success","processing","error","default","warning"),g=Object(d.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(J,B,e){var d=e("T4UG"),x=e("I3/A"),g=e("7aKB"),p=g.encodeHTML,v=e("Qxkt"),b=e("Tghj"),f=b.__DEV__,i=d.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(a,s){for(var l=a.edges||a.links,n=a.data||a.nodes,u=a.levels,t=this.levelModels={},c=0;c<u.length;c++)u[c].depth!=null&&u[c].depth>=0&&(t[u[c].depth]=new v(u[c],this,s));if(n&&l){var o=x(n,l,this,!0,h);return o.data}function h(A,y){A.wrapMethod("getItemModel",function(O,S){return O.customizeGetParent(function(E){var C=this.parentModel,T=C.getData().getItemLayout(S).depth,w=C.levelModels[T];return w||this.parentModel}),O}),y.wrapMethod("getItemModel",function(O,S){return O.customizeGetParent(function(E){var C=this.parentModel,T=C.getGraph().getEdgeByIndex(S),w=T.node1.getLayout().depth,L=C.levelModels[w];return L||this.parentModel}),O})}},setNodePosition:function(a,s){var l=this.option.data[a];l.localX=s[0],l.localY=s[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(a,s,l){if(l==="edge"){var n=this.getDataParams(a,l),u=n.data,t=u.source+" -- "+u.target;return n.value&&(t+=" : "+n.value),p(t)}else if(l==="node"){var c=this.getGraph().getNodeByIndex(a),o=c.getLayout().value,h=this.getDataParams(a,l).data.name;if(o)var t=h+" : "+o;return p(t)}return i.superCall(this,"formatTooltip",a,s)},optionUpdated:function(){var a=this.option;a.focusNodeAdjacency===!0&&(a.focusNodeAdjacency="allEdges")},getDataParams:function(a,s){var l=i.superCall(this,"getDataParams",a,s);if(l.value==null&&s==="node"){var n=this.getGraph().getNodeByIndex(a),u=n.getLayout().value;l.value=u}return l},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),r=i;J.exports=r},"0Cz8":function(J,B,e){var d=e("Xi7e"),x=e("ebwN"),g=e("e4Nc"),p=200;function v(b,f){var i=this.__data__;if(i instanceof d){var r=i.__data__;if(!x||r.length<p-1)return r.push([b,f]),this.size=++i.size,this;i=this.__data__=new g(r)}return i.set(b,f),this.size=i.size,this}J.exports=v},"0HBW":function(J,B,e){var d=e("ProS"),x=e("bYtY");e("Hxpc"),e("7uqq"),e("dmGj"),e("SehX");function g(p,v){v.update="updateView",d.registerAction(v,function(b,f){var i={};return f.eachComponent({mainType:"geo",query:b},function(r){r[p](b.name);var a=r.coordinateSystem;x.each(a.regions,function(s){i[s.name]=r.isSelected(s.name)||!1})}),{selected:i,name:b.name}})}g("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),g("select",{type:"geoSelect",event:"geoselected"}),g("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(J,B,e){var d=e("bYtY"),x=e("+TT/"),g=e("OELB"),p=e("IDmD"),v=864e5;function b(r,a,s){this._model=r}b.prototype={constructor:b,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(r){r=g.parseDate(r);var a=r.getFullYear(),s=r.getMonth()+1;s=s<10?"0"+s:s;var l=r.getDate();l=l<10?"0"+l:l;var n=r.getDay();return n=Math.abs((n+7-this.getFirstDayOfWeek())%7),{y:a,m:s,d:l,day:n,time:r.getTime(),formatedDate:a+"-"+s+"-"+l,date:r}},getNextNDay:function(r,a){return a=a||0,a===0?this.getDateInfo(r):(r=new Date(this.getDateInfo(r).time),r.setDate(r.getDate()+a),this.getDateInfo(r))},update:function(r,a){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var s=this._rangeInfo.weeks||1,l=["width","height"],n=this._model.get("cellSize").slice(),u=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[s,7]:[7,s];d.each([0,1],function(A){h(n,A)&&(u[l[A]]=n[A]*t[A])});var c={width:a.getWidth(),height:a.getHeight()},o=this._rect=x.getLayoutRect(u,c);d.each([0,1],function(A){h(n,A)||(n[A]=o[l[A]]/t[A])});function h(A,y){return A[y]!=null&&A[y]!=="auto"}this._sw=n[0],this._sh=n[1]},dataToPoint:function(r,a){d.isArray(r)&&(r=r[0]),a==null&&(a=!0);var s=this.getDateInfo(r),l=this._rangeInfo,n=s.formatedDate;if(a&&!(s.time>=l.start.time&&s.time<l.end.time+v))return[NaN,NaN];var u=s.day,t=this._getRangeInfo([l.start.time,n]).nthWeek;return this._orient==="vertical"?[this._rect.x+u*this._sw+this._sw/2,this._rect.y+t*this._sh+this._sh/2]:[this._rect.x+t*this._sw+this._sw/2,this._rect.y+u*this._sh+this._sh/2]},pointToData:function(r){var a=this.pointToDate(r);return a&&a.time},dataToRect:function(r,a){var s=this.dataToPoint(r,a);return{contentShape:{x:s[0]-(this._sw-this._lineWidth)/2,y:s[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:s,tl:[s[0]-this._sw/2,s[1]-this._sh/2],tr:[s[0]+this._sw/2,s[1]-this._sh/2],br:[s[0]+this._sw/2,s[1]+this._sh/2],bl:[s[0]-this._sw/2,s[1]+this._sh/2]}},pointToDate:function(r){var a=Math.floor((r[0]-this._rect.x)/this._sw)+1,s=Math.floor((r[1]-this._rect.y)/this._sh)+1,l=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(s,a-1,l):this._getDateByWeeksAndDay(a,s-1,l)},convertToPixel:d.curry(f,"dataToPoint"),convertFromPixel:d.curry(f,"pointToData"),_initRangeOption:function(){var r=this._model.get("range"),a=r;if(d.isArray(a)&&a.length===1&&(a=a[0]),/^\d{4}$/.test(a)&&(r=[a+"-01-01",a+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(a)){var s=this.getDateInfo(a),l=s.date;l.setMonth(l.getMonth()+1);var n=this.getNextNDay(l,-1);r=[s.formatedDate,n.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(a)&&(r=[a,a]);var u=this._getRangeInfo(r);return u.start.time>u.end.time&&r.reverse(),r},_getRangeInfo:function(r){r=[this.getDateInfo(r[0]),this.getDateInfo(r[1])];var a;r[0].time>r[1].time&&(a=!0,r.reverse());var s=Math.floor(r[1].time/v)-Math.floor(r[0].time/v)+1,l=new Date(r[0].time),n=l.getDate(),u=r[1].date.getDate();l.setDate(n+s-1);var t=l.getDate();if(t!==u)for(var c=l.getTime()-r[1].time>0?1:-1;(t=l.getDate())!==u&&(l.getTime()-r[1].time)*c>0;)s-=c,l.setDate(t-c);var o=Math.floor((s+r[0].day+6)/7),h=a?-o+1:o-1;return a&&r.reverse(),{range:[r[0].formatedDate,r[1].formatedDate],start:r[0],end:r[1],allDay:s,weeks:o,nthWeek:h,fweek:r[0].day,lweek:r[1].day}},_getDateByWeeksAndDay:function(r,a,s){var l=this._getRangeInfo(s);if(r>l.weeks||r===0&&a<l.fweek||r===l.weeks&&a>l.lweek)return!1;var n=(r-1)*7-l.fweek+a,u=new Date(l.start.time);return u.setDate(l.start.d+n),this.getDateInfo(u)}},b.dimensions=b.prototype.dimensions,b.getDimensionsInfo=b.prototype.getDimensionsInfo,b.create=function(r,a){var s=[];return r.eachComponent("calendar",function(l){var n=new b(l,r,a);s.push(n),l.coordinateSystem=n}),r.eachSeries(function(l){l.get("coordinateSystem")==="calendar"&&(l.coordinateSystem=s[l.get("calendarIndex")||0])}),s};function f(r,a,s,l){var n=s.calendarModel,u=s.seriesModel,t=n?n.coordinateSystem:u?u.coordinateSystem:null;return t===this?t[r](l):null}p.register("calendar",b);var i=b;J.exports=i},"0JQy":function(J,B){var e="\\ud800-\\udfff",d="\\u0300-\\u036f",x="\\ufe20-\\ufe2f",g="\\u20d0-\\u20ff",p=d+x+g,v="\\ufe0e\\ufe0f",b="["+e+"]",f="["+p+"]",i="\\ud83c[\\udffb-\\udfff]",r="(?:"+f+"|"+i+")",a="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",u=r+"?",t="["+v+"]?",c="(?:"+n+"(?:"+[a,s,l].join("|")+")"+t+u+")*",o=t+u+c,h="(?:"+[a+f+"?",f,s,l,b].join("|")+")",A=RegExp(i+"(?="+i+")|"+h+o,"g");function y(O){return O.match(A)||[]}J.exports=y},"0NbB":function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="CaretDownOutlined";var b=B.a=d.forwardRef(v)},"0V0F":function(J,B,e){var d=e("bYtY"),x=d.createHashMap,g=d.each;function p(b){var f=x();b.eachSeries(function(i){var r=i.get("stack");if(r){var a=f.get(r)||f.set(r,[]),s=i.getData(),l={stackResultDimension:s.getCalculationInfo("stackResultDimension"),stackedOverDimension:s.getCalculationInfo("stackedOverDimension"),stackedDimension:s.getCalculationInfo("stackedDimension"),stackedByDimension:s.getCalculationInfo("stackedByDimension"),isStackedByIndex:s.getCalculationInfo("isStackedByIndex"),data:s,seriesModel:i};if(!l.stackedDimension||!(l.isStackedByIndex||l.stackedByDimension))return;a.length&&s.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(l)}}),f.each(v)}function v(b){g(b,function(f,i){var r=[],a=[NaN,NaN],s=[f.stackResultDimension,f.stackedOverDimension],l=f.data,n=f.isStackedByIndex,u=l.map(s,function(t,c,o){var h=l.get(f.stackedDimension,o);if(isNaN(h))return a;var A,y;n?y=l.getRawIndex(o):A=l.get(f.stackedByDimension,o);for(var O=NaN,S=i-1;S>=0;S--){var E=b[S];if(n||(y=E.data.rawIndexOf(E.stackedByDimension,A)),y>=0){var C=E.data.getByRawIndex(E.stackResultDimension,y);if(h>=0&&C>0||h<=0&&C<0){h+=C,O=C;break}}}return r[0]=h,r[1]=O,r});l.hostModel.setData(u),f.data=u})}J.exports=p},"0XgM":function(J,B,e){},"0fbx":function(J,B,e){},"0o9m":function(J,B,e){var d=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var x=e("kDyi"),g=e("bLfw");d.registerProcessor(d.PRIORITY.PROCESSOR.SERIES_FILTER,x),g.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(J,B,e){var d=e("ProS");d.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),d.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(J,B){var e=arguments[3],d=arguments[4],x=arguments[5],g=JSON.stringify;J.exports=function(p,v){for(var b,f=Object.keys(x),i=0,r=f.length;i<r;i++){var a=f[i],s=x[a].exports;if(s===p||s&&s.default===p){b=a;break}}if(!b){b=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var l={},i=0,r=f.length;i<r;i++){var a=f[i];l[a]=a}d[b]=["function(require,module,exports){"+p+"(self); }",l]}var n=Math.floor(Math.pow(16,8)*Math.random()).toString(16),u={};u[b]=b,d[n]=["function(require,module,exports){var f = require("+g(b)+");(f.default ? f.default : f)(self);}",u];var t={};c(n);function c(S){t[S]=!0;for(var E in d[S][1]){var C=d[S][1][E];t[C]||c(C)}}var o="("+e+")({"+Object.keys(t).map(function(S){return g(S)+":["+d[S][0]+","+g(d[S][1])+"]"}).join(",")+"},{},["+g(n)+"])",h=window.URL||window.webkitURL||window.mozURL||window.msURL,A=new Blob([o],{type:"text/javascript"});if(v&&v.bare)return A;var y=h.createObjectURL(A),O=new Worker(y);return O.objectURL=y,O}},"0s+r":function(J,B,e){var d=e("bYtY"),x=e("QBsz"),g=e("y23F"),p=e("H6uX"),v=e("YH21"),b=e("C0SR"),f="silent";function i(c,o,h){return{type:c,event:h,target:o.target,topTarget:o.topTarget,cancelBubble:!1,offsetX:h.zrX,offsetY:h.zrY,gestureEvent:h.gestureEvent,pinchX:h.pinchX,pinchY:h.pinchY,pinchScale:h.pinchScale,wheelDelta:h.zrDelta,zrByTouch:h.zrByTouch,which:h.which,stop:r}}function r(){v.stop(this.event)}function a(){}a.prototype.dispose=function(){};var s=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],l=function(o,h,A,y){p.call(this),this.storage=o,this.painter=h,this.painterRoot=y,A=A||new a,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,g.call(this),this.setHandlerProxy(A)};l.prototype={constructor:l,setHandlerProxy:function(o){this.proxy&&this.proxy.dispose(),o&&(d.each(s,function(h){o.on&&o.on(h,this[h],this)},this),o.handler=this),this.proxy=o},mousemove:function(o){var h=o.zrX,A=o.zrY,y=u(this,h,A),O=this._hovered,S=O.target;S&&!S.__zr&&(O=this.findHover(O.x,O.y),S=O.target);var E=this._hovered=y?{x:h,y:A}:this.findHover(h,A),C=E.target,T=this.proxy;T.setCursor&&T.setCursor(C?C.cursor:"default"),S&&C!==S&&this.dispatchToElement(O,"mouseout",o),this.dispatchToElement(E,"mousemove",o),C&&C!==S&&this.dispatchToElement(E,"mouseover",o)},mouseout:function(o){var h=o.zrEventControl,A=o.zrIsToLocalDOM;h!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",o),h!=="no_globalout"&&(!A&&this.trigger("globalout",{type:"globalout",event:o}))},resize:function(o){this._hovered={}},dispatch:function(o,h){var A=this[o];A&&A.call(this,h)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(o){var h=this.proxy;h.setCursor&&h.setCursor(o)},dispatchToElement:function(o,h,A){o=o||{};var y=o.target;if(y&&y.silent)return;for(var O="on"+h,S=i(h,o,A);y&&!(y[O]&&(S.cancelBubble=y[O].call(y,S)),y.trigger(h,S),y=y.parent,S.cancelBubble););S.cancelBubble||(this.trigger(h,S),this.painter&&this.painter.eachOtherLayer(function(E){typeof E[O]=="function"&&E[O].call(E,S),E.trigger&&E.trigger(h,S)}))},findHover:function(o,h,A){for(var y=this.storage.getDisplayList(),O={x:o,y:h},S=y.length-1;S>=0;S--){var E;if(y[S]!==A&&!y[S].ignore&&(E=n(y[S],o,h))&&(!O.topTarget&&(O.topTarget=y[S]),E!==f)){O.target=y[S];break}}return O},processGesture:function(o,h){this._gestureMgr||(this._gestureMgr=new b);var A=this._gestureMgr;h==="start"&&A.clear();var y=A.recognize(o,this.findHover(o.zrX,o.zrY,null).target,this.proxy.dom);if(h==="end"&&A.clear(),y){var O=y.type;o.gestureEvent=O,this.dispatchToElement({target:y.target},O,y.event)}}},d.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(c){l.prototype[c]=function(o){var h=o.zrX,A=o.zrY,y=u(this,h,A),O,S;if((c!=="mouseup"||!y)&&(O=this.findHover(h,A),S=O.target),c==="mousedown")this._downEl=S,this._downPoint=[o.zrX,o.zrY],this._upEl=S;else if(c==="mouseup")this._upEl=S;else if(c==="click"){if(this._downEl!==this._upEl||!this._downPoint||x.dist(this._downPoint,[o.zrX,o.zrY])>4)return;this._downPoint=null}this.dispatchToElement(O,c,o)}});function n(c,o,h){if(c[c.rectHover?"rectContain":"contain"](o,h)){for(var A=c,y;A;){if(A.clipPath&&!A.clipPath.contain(o,h))return!1;A.silent&&(y=!0),A=A.parent}return y?f:!0}return!1}function u(c,o,h){var A=c.painter;return o<0||o>A.getWidth()||h<0||h>A.getHeight()}d.mixin(l,p),d.mixin(l,g);var t=l;J.exports=t},"0ycA":function(J,B){function e(){return[]}J.exports=e},"10cm":function(J,B,e){var d=e("ProS"),x=e("2B6p"),g=x.updateCenterAndZoom;e("0qV/");var p={type:"graphRoam",event:"graphRoam",update:"none"};d.registerAction(p,function(v,b){b.eachComponent({mainType:"series",query:v},function(f){var i=f.coordinateSystem,r=g(i,v);f.setCenter&&f.setCenter(r.center),f.setZoom&&f.setZoom(r.zoom)})})},"14J3":function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("1GLa")},"15/o":function(J,B,e){},"19Vz":function(J,B,e){(function(d){d(e("VrN/"))})(function(d){d.defineOption("placeholder","",function(i,r,a){var s=a&&a!=d.Init;if(r&&!s)i.on("blur",v),i.on("change",b),i.on("swapDoc",b),d.on(i.getInputField(),"compositionupdate",i.state.placeholderCompose=function(){p(i)}),b(i);else if(!r&&s){i.off("blur",v),i.off("change",b),i.off("swapDoc",b),d.off(i.getInputField(),"compositionupdate",i.state.placeholderCompose),x(i);var l=i.getWrapperElement();l.className=l.className.replace(" CodeMirror-empty","")}r&&!i.hasFocus()&&v(i)});function x(i){i.state.placeholder&&(i.state.placeholder.parentNode.removeChild(i.state.placeholder),i.state.placeholder=null)}function g(i){x(i);var r=i.state.placeholder=document.createElement("pre");r.style.cssText="height: 0; overflow: visible",r.style.direction=i.getOption("direction"),r.className="CodeMirror-placeholder CodeMirror-line-like";var a=i.getOption("placeholder");typeof a=="string"&&(a=document.createTextNode(a)),r.appendChild(a),i.display.lineSpace.insertBefore(r,i.display.lineSpace.firstChild)}function p(i){setTimeout(function(){var r=!1,a=i.getInputField();a.nodeName=="TEXTAREA"?r=!a.value:i.lineCount()==1&&(r=!/[^\u200b]/.test(a.querySelector(".CodeMirror-line").textContent)),r?g(i):x(i)},20)}function v(i){f(i)&&g(i)}function b(i){var r=i.getWrapperElement(),a=f(i);r.className=r.className.replace(" CodeMirror-empty","")+(a?" CodeMirror-empty":""),a?g(i):x(i)}function f(i){return i.lineCount()===1&&i.getLine(0)===""}})},"1GLa":function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("FIfw"),p=e.n(g)},"1Jh7":function(J,B,e){var d=e("y+Vt"),x=e("T6xi"),g=d.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(v,b){x.buildPath(v,b,!1)}});J.exports=g},"1LEl":function(J,B,e){var d=e("ProS"),x=e("F9bG"),g=d.extendComponentView({type:"axisPointer",render:function(v,b,f){var i=b.getComponent("tooltip"),r=v.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";x.register("axisPointer",f,function(a,s,l){r!=="none"&&(a==="leave"||r.indexOf(a)>=0)&&l({type:"updateAxisPointer",currTrigger:a,x:s&&s.offsetX,y:s&&s.offsetY})})},remove:function(v,b){x.unregister(b.getZr(),"axisPointer"),g.superApply(this._model,"remove",arguments)},dispose:function(v,b){x.unregister("axisPointer",b),g.superApply(this._model,"dispose",arguments)}}),p=g;J.exports=p},"1MYJ":function(J,B,e){var d=e("y+Vt"),x=d.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var p=this.__dirtyPath,v=this.shape.paths,b=0;b<v.length;b++)p=p||v[b].__dirtyPath;this.__dirtyPath=p,this.__dirty=this.__dirty||p},beforeBrush:function(){this._updatePathDirty();for(var p=this.shape.paths||[],v=this.getGlobalScale(),b=0;b<p.length;b++)p[b].path||p[b].createPathProxy(),p[b].path.setScale(v[0],v[1],p[b].segmentIgnoreThreshold)},buildPath:function(p,v){for(var b=v.paths||[],f=0;f<b.length;f++)b[f].buildPath(p,b[f].shape,!0)},afterBrush:function(){for(var p=this.shape.paths||[],v=0;v<p.length;v++)p[v].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),d.prototype.getBoundingRect.call(this)}});J.exports=x},"1NG9":function(J,B,e){var d=e("y+Vt"),x=e("QBsz"),g=e("iXp4"),p=x.min,v=x.max,b=x.scaleAndAdd,f=x.copy,i=[],r=[],a=[];function s(h){return isNaN(h[0])||isNaN(h[1])}function l(h,A,y,O,S,E,C,T,w,L,N){return L==="none"||!L?u.apply(this,arguments):n.apply(this,arguments)}function n(h,A,y,O,S,E,C,T,w,L,N){for(var D=0,F=y,R=0;R<O;R++){var U=A[F];if(F>=S||F<0)break;if(s(U)){if(N){F+=E;continue}break}if(F===y)h[E>0?"moveTo":"lineTo"](U[0],U[1]);else if(w>0){var M=A[D],j=L==="y"?1:0,P=(U[j]-M[j])*w;f(r,M),r[j]=M[j]+P,f(a,U),a[j]=U[j]-P,h.bezierCurveTo(r[0],r[1],a[0],a[1],U[0],U[1])}else h.lineTo(U[0],U[1]);D=F,F+=E}return R}function u(h,A,y,O,S,E,C,T,w,L,N){for(var D=0,F=y,R=0;R<O;R++){var U=A[F];if(F>=S||F<0)break;if(s(U)){if(N){F+=E;continue}break}if(F===y)h[E>0?"moveTo":"lineTo"](U[0],U[1]),f(r,U);else if(w>0){var M=F+E,j=A[M];if(N)for(;j&&s(A[M]);)M+=E,j=A[M];var P=.5,K=A[D],j=A[M];if(!j||s(j))f(a,U);else{s(j)&&!N&&(j=U),x.sub(i,j,K);var H,_;if(L==="x"||L==="y"){var Z=L==="x"?0:1;H=Math.abs(U[Z]-K[Z]),_=Math.abs(U[Z]-j[Z])}else H=x.dist(U,K),_=x.dist(U,j);P=_/(_+H),b(a,U,i,-w*(1-P))}p(r,r,T),v(r,r,C),p(a,a,T),v(a,a,C),h.bezierCurveTo(r[0],r[1],a[0],a[1],U[0],U[1]),b(r,U,i,w*P)}else h.lineTo(U[0],U[1]);D=F,F+=E}return R}function t(h,A){var y=[Infinity,Infinity],O=[-Infinity,-Infinity];if(A)for(var S=0;S<h.length;S++){var E=h[S];E[0]<y[0]&&(y[0]=E[0]),E[1]<y[1]&&(y[1]=E[1]),E[0]>O[0]&&(O[0]=E[0]),E[1]>O[1]&&(O[1]=E[1])}return{min:A?y:O,max:A?O:y}}var c=d.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:g(d.prototype.brush),buildPath:function(h,A){var y=A.points,O=0,S=y.length,E=t(y,A.smoothConstraint);if(A.connectNulls){for(;S>0&&s(y[S-1]);S--);for(;O<S&&s(y[O]);O++);}for(;O<S;)O+=l(h,y,O,S,S,1,E.min,E.max,A.smooth,A.smoothMonotone,A.connectNulls)+1}}),o=d.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:g(d.prototype.brush),buildPath:function(h,A){var y=A.points,O=A.stackedOnPoints,S=0,E=y.length,C=A.smoothMonotone,T=t(y,A.smoothConstraint),w=t(O,A.smoothConstraint);if(A.connectNulls){for(;E>0&&s(y[E-1]);E--);for(;S<E&&s(y[S]);S++);}for(;S<E;){var L=l(h,y,S,E,E,1,T.min,T.max,A.smooth,C,A.connectNulls);l(h,O,S+L-1,L,E,-1,w.min,w.max,A.stackedOnSmooth,C,A.connectNulls),S+=L+1,h.closePath()}}});B.Polyline=c,B.Polygon=o},"1RvN":function(J,B){var e=function(){this.head=null,this.tail=null,this._len=0},d=e.prototype;d.insert=function(b){var f=new x(b);return this.insertEntry(f),f},d.insertEntry=function(b){this.head?(this.tail.next=b,b.prev=this.tail,b.next=null,this.tail=b):this.head=this.tail=b,this._len++},d.remove=function(b){var f=b.prev,i=b.next;f?f.next=i:this.head=i,i?i.prev=f:this.tail=f,b.next=b.prev=null,this._len--},d.len=function(){return this._len},d.clear=function(){this.head=this.tail=null,this._len=0};var x=function(f){this.value=f,this.next,this.prev},g=function(f){this._list=new e,this._map={},this._maxSize=f||10,this._lastRemovedEntry=null},p=g.prototype;p.put=function(b,f){var i=this._list,r=this._map,a=null;if(r[b]==null){var s=i.len(),l=this._lastRemovedEntry;if(s>=this._maxSize&&s>0){var n=i.head;i.remove(n),delete r[n.key],a=n.value,this._lastRemovedEntry=n}l?l.value=f:l=new x(f),l.key=b,i.insertEntry(l),r[b]=l}return a},p.get=function(b){var f=this._map[b],i=this._list;if(f!=null)return f!==i.tail&&(i.remove(f),i.insertEntry(f)),f.value},p.clear=function(){this._list.clear(),this._map={}};var v=g;J.exports=v},"1bdT":function(J,B,e){var d=e("3gBT"),x=e("H6uX"),g=e("DN4a"),p=e("vWvF"),v=e("bYtY"),b=function(r){g.call(this,r),x.call(this,r),p.call(this,r),this.id=r.id||d()};b.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(r,a){switch(this.draggable){case"horizontal":a=0;break;case"vertical":r=0;break}var s=this.transform;s||(s=this.transform=[1,0,0,1,0,0]),s[4]+=r,s[5]+=a,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(r,a){},attrKV:function(r,a){if(r==="position"||r==="scale"||r==="origin"){if(a){var s=this[r];s||(s=this[r]=[]),s[0]=a[0],s[1]=a[1]}}else this[r]=a},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(r,a){if(typeof r=="string")this.attrKV(r,a);else if(v.isObject(r))for(var s in r)r.hasOwnProperty(s)&&this.attrKV(s,r[s]);return this.dirty(!1),this},setClipPath:function(r){var a=this.__zr;a&&r.addSelfToZr(a),this.clipPath&&this.clipPath!==r&&this.removeClipPath(),this.clipPath=r,r.__zr=a,r.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var r=this.clipPath;r&&(r.__zr&&r.removeSelfFromZr(r.__zr),r.__zr=null,r.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(r){this.__zr=r;var a=this.animators;if(a)for(var s=0;s<a.length;s++)r.animation.addAnimator(a[s]);this.clipPath&&this.clipPath.addSelfToZr(r)},removeSelfFromZr:function(r){this.__zr=null;var a=this.animators;if(a)for(var s=0;s<a.length;s++)r.animation.removeAnimator(a[s]);this.clipPath&&this.clipPath.removeSelfFromZr(r)}},v.mixin(b,p),v.mixin(b,g),v.mixin(b,x);var f=b;J.exports=f},"1eCo":function(J,B,e){(function(d){d(e("VrN/"))})(function(d){"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},g={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};d.defineMode("xml",function(p,v){var b=p.indentUnit,f={},i=v.htmlMode?x:g;for(var r in i)f[r]=i[r];for(var r in v)f[r]=v[r];var a,s;function l(D,F){function R(j){return F.tokenize=j,j(D,F)}var U=D.next();if(U=="<")return D.eat("!")?D.eat("[")?D.match("CDATA[")?R(t("atom","]]>")):null:D.match("--")?R(t("comment","-->")):D.match("DOCTYPE",!0,!0)?(D.eatWhile(/[\w\._\-]/),R(c(1))):null:D.eat("?")?(D.eatWhile(/[\w\._\-]/),F.tokenize=t("meta","?>"),"meta"):(a=D.eat("/")?"closeTag":"openTag",F.tokenize=n,"tag bracket");if(U=="&"){var M;return D.eat("#")?D.eat("x")?M=D.eatWhile(/[a-fA-F\d]/)&&D.eat(";"):M=D.eatWhile(/[\d]/)&&D.eat(";"):M=D.eatWhile(/[\w\.\-:]/)&&D.eat(";"),M?"atom":"error"}else return D.eatWhile(/[^&<]/),null}l.isInText=!0;function n(D,F){var R=D.next();if(R==">"||R=="/"&&D.eat(">"))return F.tokenize=l,a=R==">"?"endTag":"selfcloseTag","tag bracket";if(R=="=")return a="equals",null;if(R=="<"){F.tokenize=l,F.state=y,F.tagName=F.tagStart=null;var U=F.tokenize(D,F);return U?U+" tag error":"tag error"}else return/[\'\"]/.test(R)?(F.tokenize=u(R),F.stringStartCol=D.column(),F.tokenize(D,F)):(D.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function u(D){var F=function(U,M){for(;!U.eol();)if(U.next()==D){M.tokenize=n;break}return"string"};return F.isInAttribute=!0,F}function t(D,F){return function(R,U){for(;!R.eol();){if(R.match(F)){U.tokenize=l;break}R.next()}return D}}function c(D){return function(F,R){for(var U;(U=F.next())!=null;){if(U=="<")return R.tokenize=c(D+1),R.tokenize(F,R);if(U==">")if(D==1){R.tokenize=l;break}else return R.tokenize=c(D-1),R.tokenize(F,R)}return"meta"}}function o(D,F,R){this.prev=D.context,this.tagName=F,this.indent=D.indented,this.startOfLine=R,(f.doNotIndent.hasOwnProperty(F)||D.context&&D.context.noIndent)&&(this.noIndent=!0)}function h(D){D.context&&(D.context=D.context.prev)}function A(D,F){for(var R;;){if(!D.context)return;if(R=D.context.tagName,!f.contextGrabbers.hasOwnProperty(R)||!f.contextGrabbers[R].hasOwnProperty(F))return;h(D)}}function y(D,F,R){return D=="openTag"?(R.tagStart=F.column(),O):D=="closeTag"?S:y}function O(D,F,R){return D=="word"?(R.tagName=F.current(),s="tag",T):f.allowMissingTagName&&D=="endTag"?(s="tag bracket",T(D,F,R)):(s="error",O)}function S(D,F,R){if(D=="word"){var U=F.current();return R.context&&R.context.tagName!=U&&f.implicitlyClosed.hasOwnProperty(R.context.tagName)&&h(R),R.context&&R.context.tagName==U||f.matchClosing===!1?(s="tag",E):(s="tag error",C)}else return f.allowMissingTagName&&D=="endTag"?(s="tag bracket",E(D,F,R)):(s="error",C)}function E(D,F,R){return D!="endTag"?(s="error",E):(h(R),y)}function C(D,F,R){return s="error",E(D,F,R)}function T(D,F,R){if(D=="word")return s="attribute",w;if(D=="endTag"||D=="selfcloseTag"){var U=R.tagName,M=R.tagStart;return R.tagName=R.tagStart=null,D=="selfcloseTag"||f.autoSelfClosers.hasOwnProperty(U)?A(R,U):(A(R,U),R.context=new o(R,U,M==R.indented)),y}return s="error",T}function w(D,F,R){return D=="equals"?L:(f.allowMissing||(s="error"),T(D,F,R))}function L(D,F,R){return D=="string"?N:D=="word"&&f.allowUnquoted?(s="string",T):(s="error",T(D,F,R))}function N(D,F,R){return D=="string"?N:T(D,F,R)}return{startState:function(F){var R={tokenize:l,state:y,indented:F||0,tagName:null,tagStart:null,context:null};return F!=null&&(R.baseIndent=F),R},token:function(F,R){if(!R.tagName&&F.sol()&&(R.indented=F.indentation()),F.eatSpace())return null;a=null;var U=R.tokenize(F,R);return(U||a)&&U!="comment"&&(s=null,R.state=R.state(a||U,F,R),s&&(U=s=="error"?U+" error":s)),U},indent:function(F,R,U){var M=F.context;if(F.tokenize.isInAttribute)return F.tagStart==F.indented?F.stringStartCol+1:F.indented+b;if(M&&M.noIndent)return d.Pass;if(F.tokenize!=n&&F.tokenize!=l)return U?U.match(/^(\s*)/)[0].length:0;if(F.tagName)return f.multilineTagIndentPastTag!==!1?F.tagStart+F.tagName.length+2:F.tagStart+b*(f.multilineTagIndentFactor||1);if(f.alignCDATA&&/<!\[CDATA\[/.test(R))return 0;var j=R&&/^<(\/)?([\w_:\.-]*)/.exec(R);if(j&&j[1])for(;M;)if(M.tagName==j[2]){M=M.prev;break}else if(f.implicitlyClosed.hasOwnProperty(M.tagName))M=M.prev;else break;else if(j)for(;M;){var P=f.contextGrabbers[M.tagName];if(P&&P.hasOwnProperty(j[2]))M=M.prev;else break}for(;M&&M.prev&&!M.startOfLine;)M=M.prev;return M?M.indent+b:F.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:f.htmlMode?"html":"xml",helperType:f.htmlMode?"html":"xml",skipAttribute:function(F){F.state==L&&(F.state=T)},xmlCurrentTag:function(F){return F.tagName?{name:F.tagName,close:F.type=="closeTag"}:null},xmlCurrentContext:function(F){for(var R=[],U=F.context;U;U=U.prev)U.tagName&&R.push(U.tagName);return R.reverse()}}}),d.defineMIME("text/xml","xml"),d.defineMIME("application/xml","xml"),d.mimeModes.hasOwnProperty("text/html")||d.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1hJj":function(J,B,e){var d=e("e4Nc"),x=e("ftKO"),g=e("3A9y");function p(v){var b=-1,f=v==null?0:v.length;for(this.__data__=new d;++b<f;)this.add(v[b])}p.prototype.add=p.prototype.push=x,p.prototype.has=g,J.exports=p},"1j5w":function(J,B,e){"use strict";e.d(B,"e",function(){return Ke}),e.d(B,"b",function(){return se}),e.d(B,"d",function(){return se}),e.d(B,"c",function(){return ye}),e.d(B,"a",function(){return Oe});var d=e("VTBJ"),x=e("1OyB"),g=e("vuIU"),p=e("JX7q"),v=e("Ji7U"),b=e("LK+K"),f=e("q1tI"),i=function(){var xe=function(lt,At){return xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,ie){ee.__proto__=ie}||function(ee,ie){for(var z in ie)ie.hasOwnProperty(z)&&(ee[z]=ie[z])},xe(lt,At)};return function(ke,lt){xe(ke,lt);function At(){this.constructor=ke}ke.prototype=lt===null?Object.create(lt):(At.prototype=lt.prototype,new At)}}(),r=f.createContext(null),a=function(xe){i(ke,xe);function ke(){return xe!==null&&xe.apply(this,arguments)||this}return ke.prototype.render=function(){return f.createElement(r.Provider,{value:this.props.store},this.props.children)},ke}(f.Component),s=e("Gytx"),l=e.n(s),n=e("2mql"),u=e.n(n),t=function(){var xe=function(lt,At){return xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,ie){ee.__proto__=ie}||function(ee,ie){for(var z in ie)ie.hasOwnProperty(z)&&(ee[z]=ie[z])},xe(lt,At)};return function(ke,lt){xe(ke,lt);function At(){this.constructor=ke}ke.prototype=lt===null?Object.create(lt):(At.prototype=lt.prototype,new At)}}(),c=function(){return c=Object.assign||function(xe){for(var ke,lt=1,At=arguments.length;lt<At;lt++){ke=arguments[lt];for(var ee in ke)Object.prototype.hasOwnProperty.call(ke,ee)&&(xe[ee]=ke[ee])}return xe},c.apply(this,arguments)};function o(xe){return xe.displayName||xe.name||"Component"}var h=function(){return{}};function A(xe,ke){ke===void 0&&(ke={});var lt=!!xe,At=xe||h;return function(ie){var z=function(le){t(ge,le);function ge(Ae,Me){var Ze=le.call(this,Ae,Me)||this;return Ze.unsubscribe=null,Ze.handleChange=function(){if(!Ze.unsubscribe)return;var kt=At(Ze.store.getState(),Ze.props);Ze.setState({subscribed:kt})},Ze.store=Ze.context,Ze.state={subscribed:At(Ze.store.getState(),Ae),store:Ze.store,props:Ae},Ze}return ge.getDerivedStateFromProps=function(Ae,Me){return xe&&xe.length===2&&Ae!==Me.props?{subscribed:At(Me.store.getState(),Ae),props:Ae}:{props:Ae}},ge.prototype.componentDidMount=function(){this.trySubscribe()},ge.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},ge.prototype.shouldComponentUpdate=function(Ae,Me){return!l()(this.props,Ae)||!l()(this.state.subscribed,Me.subscribed)},ge.prototype.trySubscribe=function(){lt&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},ge.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},ge.prototype.render=function(){var Ae=c(c(c({},this.props),this.state.subscribed),{store:this.store});return f.createElement(ie,c({},Ae,{ref:this.props.miniStoreForwardedRef}))},ge.displayName="Connect("+o(ie)+")",ge.contextType=r,ge}(f.Component);if(ke.forwardRef){var $=f.forwardRef(function(le,ge){return f.createElement(z,c({},le,{miniStoreForwardedRef:ge}))});return u()($,ie)}return u()(z,ie)}}var y=function(){return y=Object.assign||function(xe){for(var ke,lt=1,At=arguments.length;lt<At;lt++){ke=arguments[lt];for(var ee in ke)Object.prototype.hasOwnProperty.call(ke,ee)&&(xe[ee]=ke[ee])}return xe},y.apply(this,arguments)};function O(xe){var ke=xe,lt=[];function At(z){ke=y(y({},ke),z);for(var $=0;$<lt.length;$++)lt[$]()}function ee(){return ke}function ie(z){return lt.push(z),function(){var le=lt.indexOf(z);lt.splice(le,1)}}return{setState:At,getState:ee,subscribe:ie}}var S=e("BGR+"),E=e("wx14"),C=e("rePB"),T=e("4IlW"),w=e("2GS6"),L=e("TSYQ"),N=e.n(L),D=e("U8pU"),F=e("ODXe"),R=/iPhone/i,U=/iPod/i,M=/iPad/i,j=/\bAndroid(?:.+)Mobile\b/i,P=/Android/i,K=/\bAndroid(?:.+)SD4930UR\b/i,H=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,_=/Windows Phone/i,Z=/\bWindows(?:.+)ARM\b/i,Y=/BlackBerry/i,k=/BB10/i,Q=/Opera Mini/i,X=/\b(CriOS|Chrome)(?:.+)Mobile/i,he=/Mobile(?:.+)Firefox\b/i;function te(xe,ke){return xe.test(ke)}function pe(xe){var ke=xe||(typeof navigator!="undefined"?navigator.userAgent:""),lt=ke.split("[FBAN");if(typeof lt[1]!="undefined"){var At=lt,ee=Object(F.a)(At,1);ke=ee[0]}if(lt=ke.split("Twitter"),typeof lt[1]!="undefined"){var ie=lt,z=Object(F.a)(ie,1);ke=z[0]}var $={apple:{phone:te(R,ke)&&!te(_,ke),ipod:te(U,ke),tablet:!te(R,ke)&&te(M,ke)&&!te(_,ke),device:(te(R,ke)||te(U,ke)||te(M,ke))&&!te(_,ke)},amazon:{phone:te(K,ke),tablet:!te(K,ke)&&te(H,ke),device:te(K,ke)||te(H,ke)},android:{phone:!te(_,ke)&&te(K,ke)||!te(_,ke)&&te(j,ke),tablet:!te(_,ke)&&!te(K,ke)&&!te(j,ke)&&(te(H,ke)||te(P,ke)),device:!te(_,ke)&&(te(K,ke)||te(H,ke)||te(j,ke)||te(P,ke))||te(/\bokhttp\b/i,ke)},windows:{phone:te(_,ke),tablet:te(Z,ke),device:te(_,ke)||te(Z,ke)},other:{blackberry:te(Y,ke),blackberry10:te(k,ke),opera:te(Q,ke),firefox:te(he,ke),chrome:te(X,ke),device:te(Y,ke)||te(k,ke)||te(Q,ke)||te(he,ke)||te(X,ke)},any:null,phone:null,tablet:null};return $.any=$.apple.device||$.android.device||$.windows.device||$.other.device,$.phone=$.apple.phone||$.android.phone||$.windows.phone,$.tablet=$.apple.tablet||$.android.tablet||$.windows.tablet,$}var Se=Object(d.a)(Object(d.a)({},pe()),{},{isMobile:pe}),we=Se;function We(){}function qe(xe,ke,lt){var At=ke||"";return xe.key||"".concat(At,"item_").concat(lt)}function yt(xe){return"".concat(xe,"-menu-")}function _e(xe,ke){var lt=-1;f.Children.forEach(xe,function(At){lt+=1,At&&At.type&&At.type.isMenuItemGroup?f.Children.forEach(At.props.children,function(ee){lt+=1,ke(ee,lt)}):ke(At,lt)})}function je(xe,ke,lt){if(!xe||lt.find)return;f.Children.forEach(xe,function(At){if(At){var ee=At.type;if(!ee||!(ee.isSubMenu||ee.isMenuItem||ee.isMenuItemGroup))return;ke.indexOf(At.key)!==-1?lt.find=!0:At.props.children&&je(At.props.children,ke,lt)}})}var Ct=["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"],ct=function(ke){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,At=ke&&typeof ke.getBoundingClientRect=="function"&&ke.getBoundingClientRect().width;if(At){if(lt){var ee=getComputedStyle(ke),ie=ee.marginLeft,z=ee.marginRight;At+=+ie.replace("px","")+ +z.replace("px","")}At=+At.toFixed(6)}return At||0},nt=function(ke,lt,At){ke&&Object(D.a)(ke.style)==="object"&&(ke.style[lt]=At)},bt=function(){return we.any},dt=e("KQm4"),vt=e("Ff2n"),Qe=e("i8i4"),mt=e("bdgK"),Pe=e("uciX"),De=e("8XRh"),Ie={adjustX:1,adjustY:1},ot={topLeft:{points:["bl","tl"],overflow:Ie,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ie,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Ie,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Ie,offset:[4,0]}},wt={topLeft:{points:["bl","tl"],overflow:Ie,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Ie,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Ie,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Ie,offset:[4,0]}},Bt=ot,_t=0,Ue={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},zt=function(ke,lt,At){var ee=yt(lt),ie=ke.getState();ke.setState({defaultActiveFirst:Object(d.a)(Object(d.a)({},ie.defaultActiveFirst),{},Object(C.a)({},ee,At))})},xt=function(xe){Object(v.a)(lt,xe);var ke=Object(b.a)(lt);function lt(At){var ee;Object(x.a)(this,lt),ee=ke.call(this,At),ee.onDestroy=function(Ae){ee.props.onDestroy(Ae)},ee.onKeyDown=function(Ae){var Me=Ae.keyCode,Ze=ee.menuInstance,kt=ee.props,Jt=kt.isOpen,Et=kt.store;if(Me===T.a.ENTER)return ee.onTitleClick(Ae),zt(Et,ee.props.eventKey,!0),!0;if(Me===T.a.RIGHT)return Jt?Ze.onKeyDown(Ae):(ee.triggerOpenChange(!0),zt(Et,ee.props.eventKey,!0)),!0;if(Me===T.a.LEFT){var Ft;if(Jt)Ft=Ze.onKeyDown(Ae);else return;return Ft||(ee.triggerOpenChange(!1),Ft=!0),Ft}return Jt&&(Me===T.a.UP||Me===T.a.DOWN)?Ze.onKeyDown(Ae):void 0},ee.onOpenChange=function(Ae){ee.props.onOpenChange(Ae)},ee.onPopupVisibleChange=function(Ae){ee.triggerOpenChange(Ae,Ae?"mouseenter":"mouseleave")},ee.onMouseEnter=function(Ae){var Me=ee.props,Ze=Me.eventKey,kt=Me.onMouseEnter,Jt=Me.store;zt(Jt,ee.props.eventKey,!1),kt({key:Ze,domEvent:Ae})},ee.onMouseLeave=function(Ae){var Me=ee.props,Ze=Me.parentMenu,kt=Me.eventKey,Jt=Me.onMouseLeave;Ze.subMenuInstance=Object(p.a)(ee),Jt({key:kt,domEvent:Ae})},ee.onTitleMouseEnter=function(Ae){var Me=ee.props,Ze=Me.eventKey,kt=Me.onItemHover,Jt=Me.onTitleMouseEnter;kt({key:Ze,hover:!0}),Jt({key:Ze,domEvent:Ae})},ee.onTitleMouseLeave=function(Ae){var Me=ee.props,Ze=Me.parentMenu,kt=Me.eventKey,Jt=Me.onItemHover,Et=Me.onTitleMouseLeave;Ze.subMenuInstance=Object(p.a)(ee),Jt({key:kt,hover:!1}),Et({key:kt,domEvent:Ae})},ee.onTitleClick=function(Ae){var Me=Object(p.a)(ee),Ze=Me.props;if(Ze.onTitleClick({key:Ze.eventKey,domEvent:Ae}),Ze.triggerSubMenuAction==="hover")return;ee.triggerOpenChange(!Ze.isOpen,"click"),zt(Ze.store,ee.props.eventKey,!1)},ee.onSubMenuClick=function(Ae){typeof ee.props.onClick=="function"&&ee.props.onClick(ee.addKeyPath(Ae))},ee.onSelect=function(Ae){ee.props.onSelect(Ae)},ee.onDeselect=function(Ae){ee.props.onDeselect(Ae)},ee.getPrefixCls=function(){return"".concat(ee.props.rootPrefixCls,"-submenu")},ee.getActiveClassName=function(){return"".concat(ee.getPrefixCls(),"-active")},ee.getDisabledClassName=function(){return"".concat(ee.getPrefixCls(),"-disabled")},ee.getSelectedClassName=function(){return"".concat(ee.getPrefixCls(),"-selected")},ee.getOpenClassName=function(){return"".concat(ee.props.rootPrefixCls,"-submenu-open")},ee.saveMenuInstance=function(Ae){ee.menuInstance=Ae},ee.addKeyPath=function(Ae){return Object(d.a)(Object(d.a)({},Ae),{},{keyPath:(Ae.keyPath||[]).concat(ee.props.eventKey)})},ee.triggerOpenChange=function(Ae,Me){var Ze=ee.props.eventKey,kt=function(){ee.onOpenChange({key:Ze,item:Object(p.a)(ee),trigger:Me,open:Ae})};Me==="mouseenter"?ee.mouseenterTimeout=setTimeout(function(){kt()},0):kt()},ee.isChildrenSelected=function(){var Ae={find:!1};return je(ee.props.children,ee.props.selectedKeys,Ae),Ae.find},ee.isOpen=function(){return ee.props.openKeys.indexOf(ee.props.eventKey)!==-1},ee.adjustWidth=function(){if(!ee.subMenuTitle||!ee.menuInstance)return;var Ae=Qe.findDOMNode(ee.menuInstance);if(Ae.offsetWidth>=ee.subMenuTitle.offsetWidth)return;Ae.style.minWidth="".concat(ee.subMenuTitle.offsetWidth,"px")},ee.saveSubMenuTitle=function(Ae){ee.subMenuTitle=Ae},ee.getBaseProps=function(){var Ae=Object(p.a)(ee),Me=Ae.props;return{mode:Me.mode==="horizontal"?"vertical":Me.mode,visible:ee.props.isOpen,level:Me.level+1,inlineIndent:Me.inlineIndent,focusable:!1,onClick:ee.onSubMenuClick,onSelect:ee.onSelect,onDeselect:ee.onDeselect,onDestroy:ee.onDestroy,selectedKeys:Me.selectedKeys,eventKey:"".concat(Me.eventKey,"-menu-"),openKeys:Me.openKeys,motion:Me.motion,onOpenChange:ee.onOpenChange,subMenuOpenDelay:Me.subMenuOpenDelay,parentMenu:Object(p.a)(ee),subMenuCloseDelay:Me.subMenuCloseDelay,forceSubMenuRender:Me.forceSubMenuRender,triggerSubMenuAction:Me.triggerSubMenuAction,builtinPlacements:Me.builtinPlacements,defaultActiveFirst:Me.store.getState().defaultActiveFirst[yt(Me.eventKey)],multiple:Me.multiple,prefixCls:Me.rootPrefixCls,id:ee.internalMenuId,manualRef:ee.saveMenuInstance,itemIcon:Me.itemIcon,expandIcon:Me.expandIcon,direction:Me.direction}},ee.getMotion=function(Ae,Me){var Ze=Object(p.a)(ee),kt=Ze.haveRendered,Jt=ee.props,Et=Jt.motion,Ft=Jt.rootPrefixCls,Kt=Object(d.a)(Object(d.a)({},Et),{},{leavedClassName:"".concat(Ft,"-hidden"),removeOnLeave:!1,motionAppear:kt||!Me||Ae!=="inline"});return Kt};var ie=At.store,z=At.eventKey,$=ie.getState(),le=$.defaultActiveFirst;ee.isRootMenu=!1;var ge=!1;return le&&(ge=le[z]),zt(ie,z,ge),ee}return Object(g.a)(lt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ee=this,ie=this.props,z=ie.mode,$=ie.parentMenu,le=ie.manualRef;if(le&&le(this),z!=="horizontal"||!$.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return ee.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ee=this.props,ie=ee.onDestroy,z=ee.eventKey;ie&&ie(z),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(ee){var ie=this,z=this.getBaseProps(),$=this.getMotion(z.mode,z.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||z.visible||z.forceSubMenuRender,!this.haveOpened)return f.createElement("div",null);var le=z.direction;return f.createElement(De.default,Object.assign({visible:z.visible},$),function(ge){var Ae=ge.className,Me=ge.style,Ze=N()("".concat(z.prefixCls,"-sub"),Ae,Object(C.a)({},"".concat(z.prefixCls,"-rtl"),le==="rtl"));return f.createElement(or,Object.assign({},z,{id:ie.internalMenuId,className:Ze,style:Me}),ee)})}},{key:"render",value:function(){var ee,ie=Object(d.a)({},this.props),z=ie.isOpen,$=this.getPrefixCls(),le=ie.mode==="inline",ge=N()($,"".concat($,"-").concat(ie.mode),(ee={},Object(C.a)(ee,ie.className,!!ie.className),Object(C.a)(ee,this.getOpenClassName(),z),Object(C.a)(ee,this.getActiveClassName(),ie.active||z&&!le),Object(C.a)(ee,this.getDisabledClassName(),ie.disabled),Object(C.a)(ee,this.getSelectedClassName(),this.isChildrenSelected()),ee));this.internalMenuId||(ie.eventKey?this.internalMenuId="".concat(ie.eventKey,"$Menu"):(_t+=1,this.internalMenuId="$__$".concat(_t,"$Menu")));var Ae={},Me={},Ze={};ie.disabled||(Ae={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Me={onClick:this.onTitleClick},Ze={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var kt={},Jt=ie.direction;le&&(Jt==="rtl"?kt.paddingRight=ie.inlineIndent*ie.level:kt.paddingLeft=ie.inlineIndent*ie.level);var Et={};this.props.isOpen&&(Et={"aria-owns":this.internalMenuId});var Ft=null;ie.mode!=="horizontal"&&(Ft=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Ft=f.createElement(this.props.expandIcon,Object(d.a)({},this.props))));var Kt=f.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:kt,className:"".concat($,"-title"),role:"button"},Ze,Me,{"aria-expanded":z},Et,{"aria-haspopup":"true",title:typeof ie.title=="string"?ie.title:void 0}),ie.title,Ft||f.createElement("i",{className:"".concat($,"-arrow")})),Vt=this.renderChildren(ie.children),Ot=ie.parentMenu.isRootMenu?ie.parentMenu.props.getPopupContainer:function(It){return It.parentNode},ur=Ue[ie.mode],Zt=ie.popupOffset?{offset:ie.popupOffset}:{},ze=ie.mode==="inline"?"":ie.popupClassName;ze+=Jt==="rtl"?" ".concat($,"-rtl"):"";var at=ie.disabled,Ve=ie.triggerSubMenuAction,Xe=ie.subMenuOpenDelay,gt=ie.forceSubMenuRender,ft=ie.subMenuCloseDelay,Ge=ie.builtinPlacements;Ct.forEach(function(It){return delete ie[It]}),delete ie.onClick;var Mt=Jt==="rtl"?Object.assign({},wt,Ge):Object.assign({},ot,Ge);return delete ie.direction,f.createElement("li",Object.assign({},ie,Ae,{className:ge,role:"menuitem"}),le&&Kt,le&&Vt,!le&&f.createElement(Pe.a,{prefixCls:$,popupClassName:N()("".concat($,"-popup"),ze),getPopupContainer:Ot,builtinPlacements:Mt,popupPlacement:ur,popupVisible:z,popupAlign:Zt,popup:Vt,action:at?[]:[Ve],mouseEnterDelay:Xe,mouseLeaveDelay:ft,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:gt},Kt))}}]),lt}(f.Component);xt.defaultProps={onMouseEnter:We,onMouseLeave:We,onTitleMouseEnter:We,onTitleMouseLeave:We,onTitleClick:We,manualRef:We,mode:"vertical",title:""};var Pt=A(function(xe,ke){var lt=xe.openKeys,At=xe.activeKey,ee=xe.selectedKeys,ie=ke.eventKey,z=ke.subMenuKey;return{isOpen:lt.indexOf(ie)>-1,active:At[z]===ie,selectedKeys:ee}})(xt);Pt.isSubMenu=!0;var Ke=Pt,Ye="menuitem-overflowed",$e=.5,ut=function(xe){Object(v.a)(lt,xe);var ke=Object(b.a)(lt);function lt(){var At;return Object(x.a)(this,lt),At=ke.apply(this,arguments),At.resizeObserver=null,At.mutationObserver=null,At.originalTotalWidth=0,At.overflowedItems=[],At.menuItemSizes=[],At.cancelFrameId=null,At.state={lastVisibleIndex:void 0},At.getMenuItemNodes=function(){var ee=At.props.prefixCls,ie=Qe.findDOMNode(Object(p.a)(At));return ie?[].slice.call(ie.children).filter(function(z){return z.className.split(" ").indexOf("".concat(ee,"-overflowed-submenu"))<0}):[]},At.getOverflowedSubMenuItem=function(ee,ie,z){var $=At.props,le=$.overflowedIndicator,ge=$.level,Ae=$.mode,Me=$.prefixCls,Ze=$.theme;if(ge!==1||Ae!=="horizontal")return null;var kt=At.props.children[0],Jt=kt.props,Et=Jt.children,Ft=Jt.title,Kt=Jt.style,Vt=Object(vt.a)(Jt,["children","title","style"]),Ot=Object(d.a)({},Kt),ur="".concat(ee,"-overflowed-indicator"),Zt="".concat(ee,"-overflowed-indicator");ie.length===0&&z!==!0?Ot=Object(d.a)(Object(d.a)({},Ot),{},{display:"none"}):z&&(Ot=Object(d.a)(Object(d.a)({},Ot),{},{visibility:"hidden",position:"absolute"}),ur="".concat(ur,"-placeholder"),Zt="".concat(Zt,"-placeholder"));var ze=Ze?"".concat(Me,"-").concat(Ze):"",at={};return Ct.forEach(function(Ve){Vt[Ve]!==void 0&&(at[Ve]=Vt[Ve])}),f.createElement(Ke,Object.assign({title:le,className:"".concat(Me,"-overflowed-submenu"),popupClassName:ze},at,{key:ur,eventKey:Zt,disabled:!1,style:Ot}),ie)},At.setChildrenWidthAndResize=function(){if(At.props.mode!=="horizontal")return;var ee=Qe.findDOMNode(Object(p.a)(At));if(!ee)return;var ie=ee.children;if(!ie||ie.length===0)return;var z=ee.children[ie.length-1];nt(z,"display","inline-block");var $=At.getMenuItemNodes(),le=$.filter(function(ge){return ge.className.split(" ").indexOf(Ye)>=0});le.forEach(function(ge){nt(ge,"display","inline-block")}),At.menuItemSizes=$.map(function(ge){return ct(ge,!0)}),le.forEach(function(ge){nt(ge,"display","none")}),At.overflowedIndicatorWidth=ct(ee.children[ee.children.length-1],!0),At.originalTotalWidth=At.menuItemSizes.reduce(function(ge,Ae){return ge+Ae},0),At.handleResize(),nt(z,"display","none")},At.handleResize=function(){if(At.props.mode!=="horizontal")return;var ee=Qe.findDOMNode(Object(p.a)(At));if(!ee)return;var ie=ct(ee);At.overflowedItems=[];var z=0,$;At.originalTotalWidth>ie+$e&&($=-1,At.menuItemSizes.forEach(function(le){z+=le,z+At.overflowedIndicatorWidth<=ie&&($+=1)})),At.setState({lastVisibleIndex:$})},At}return Object(g.a)(lt,[{key:"componentDidMount",value:function(){var ee=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var ie=Qe.findDOMNode(this);if(!ie)return;this.resizeObserver=new mt.default(function(z){z.forEach(function(){var $=ee.cancelFrameId;cancelAnimationFrame($),ee.cancelFrameId=requestAnimationFrame(ee.setChildrenWidthAndResize)})}),[].slice.call(ie.children).concat(ie).forEach(function(z){ee.resizeObserver.observe(z)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ee.resizeObserver.disconnect(),[].slice.call(ie.children).concat(ie).forEach(function(z){ee.resizeObserver.observe(z)}),ee.setChildrenWidthAndResize()}),this.mutationObserver.observe(ie,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(ee){var ie=this,z=this.state.lastVisibleIndex;return(ee||[]).reduce(function($,le,ge){var Ae=le;if(ie.props.mode==="horizontal"){var Me=ie.getOverflowedSubMenuItem(le.props.eventKey,[]);z!==void 0&&ie.props.className.indexOf("".concat(ie.props.prefixCls,"-root"))!==-1&&(ge>z&&(Ae=f.cloneElement(le,{style:{display:"none"},eventKey:"".concat(le.props.eventKey,"-hidden"),className:"".concat(Ye)})),ge===z+1&&(ie.overflowedItems=ee.slice(z+1).map(function(kt){return f.cloneElement(kt,{key:kt.props.eventKey,mode:"vertical-left"})}),Me=ie.getOverflowedSubMenuItem(le.props.eventKey,ie.overflowedItems)));var Ze=[].concat(Object(dt.a)($),[Me,Ae]);return ge===ee.length-1&&Ze.push(ie.getOverflowedSubMenuItem(le.props.eventKey,[],!0)),Ze}return[].concat(Object(dt.a)($),[Ae])},[])}},{key:"render",value:function(){var ee=this.props,ie=ee.visible,z=ee.prefixCls,$=ee.overflowedIndicator,le=ee.mode,ge=ee.level,Ae=ee.tag,Me=ee.children,Ze=ee.theme,kt=Object(vt.a)(ee,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Jt=Ae;return f.createElement(Jt,Object.assign({},kt),this.renderChildren(Me))}}]),lt}(f.Component);ut.defaultProps={tag:"div",className:""};var et=ut;function oe(xe){return xe.length?xe.every(function(ke){return!!ke.props.disabled}):!0}function me(xe,ke,lt){var At=xe.getState();xe.setState({activeKey:Object(d.a)(Object(d.a)({},At.activeKey),{},Object(C.a)({},ke,lt))})}function it(xe){return xe.eventKey||"0-menu-"}function Be(xe,ke){var lt=ke,At=xe.children,ee=xe.eventKey;if(lt){var ie;if(_e(At,function(z,$){z&&z.props&&!z.props.disabled&<===qe(z,ee,$)&&(ie=!0)}),ie)return lt}return lt=null,xe.defaultActiveFirst&&_e(At,function(z,$){!lt&&z&&!z.props.disabled&&(lt=qe(z,ee,$))}),lt}function ht(xe){if(xe){var ke=this.instanceArray.indexOf(xe);ke!==-1?this.instanceArray[ke]=xe:this.instanceArray.push(xe)}}var Mr=function(xe){Object(v.a)(lt,xe);var ke=Object(b.a)(lt);function lt(At){var ee;return Object(x.a)(this,lt),ee=ke.call(this,At),ee.onKeyDown=function(ie,z){var $=ie.keyCode,le;if(ee.getFlatInstanceArray().forEach(function(Ae){Ae&&Ae.props.active&&Ae.onKeyDown&&(le=Ae.onKeyDown(ie))}),le)return 1;var ge=null;return($===T.a.UP||$===T.a.DOWN)&&(ge=ee.step($===T.a.UP?-1:1)),ge?(ie.preventDefault(),me(ee.props.store,it(ee.props),ge.props.eventKey),typeof z=="function"&&z(ge),1):void 0},ee.onItemHover=function(ie){var z=ie.key,$=ie.hover;me(ee.props.store,it(ee.props),$?z:null)},ee.onDeselect=function(ie){ee.props.onDeselect(ie)},ee.onSelect=function(ie){ee.props.onSelect(ie)},ee.onClick=function(ie){ee.props.onClick(ie)},ee.onOpenChange=function(ie){ee.props.onOpenChange(ie)},ee.onDestroy=function(ie){ee.props.onDestroy(ie)},ee.getFlatInstanceArray=function(){return ee.instanceArray},ee.step=function(ie){var z=ee.getFlatInstanceArray(),$=ee.props.store.getState().activeKey[it(ee.props)],le=z.length;if(!le)return null;ie<0&&(z=z.concat().reverse());var ge=-1;if(z.every(function(kt,Jt){return kt&&kt.props.eventKey===$?(ge=Jt,!1):!0}),!ee.props.defaultActiveFirst&&ge!==-1&&oe(z.slice(ge,le-1)))return;var Ae=(ge+1)%le,Me=Ae;do{var Ze=z[Me];if(!Ze||Ze.props.disabled)Me=(Me+1)%le;else return Ze}while(Me!==Ae);return null},ee.renderCommonMenuItem=function(ie,z,$){var le=ee.props.store.getState(),ge=Object(p.a)(ee),Ae=ge.props,Me=qe(ie,Ae.eventKey,z),Ze=ie.props;if(!Ze||typeof ie.type=="string")return ie;var kt=Me===le.activeKey,Jt=Object(d.a)(Object(d.a)({mode:Ze.mode||Ae.mode,level:Ae.level,inlineIndent:Ae.inlineIndent,renderMenuItem:ee.renderMenuItem,rootPrefixCls:Ae.prefixCls,index:z,parentMenu:Ae.parentMenu,manualRef:Ze.disabled?void 0:Object(w.a)(ie.ref,ht.bind(Object(p.a)(ee))),eventKey:Me,active:!Ze.disabled&&kt,multiple:Ae.multiple,onClick:function(Ft){(Ze.onClick||We)(Ft),ee.onClick(Ft)},onItemHover:ee.onItemHover,motion:Ae.motion,subMenuOpenDelay:Ae.subMenuOpenDelay,subMenuCloseDelay:Ae.subMenuCloseDelay,forceSubMenuRender:Ae.forceSubMenuRender,onOpenChange:ee.onOpenChange,onDeselect:ee.onDeselect,onSelect:ee.onSelect,builtinPlacements:Ae.builtinPlacements,itemIcon:Ze.itemIcon||ee.props.itemIcon,expandIcon:Ze.expandIcon||ee.props.expandIcon},$),{},{direction:Ae.direction});return(Ae.mode==="inline"||bt())&&(Jt.triggerSubMenuAction="click"),f.cloneElement(ie,Jt)},ee.renderMenuItem=function(ie,z,$){if(!ie)return null;var le=ee.props.store.getState(),ge={openKeys:le.openKeys,selectedKeys:le.selectedKeys,triggerSubMenuAction:ee.props.triggerSubMenuAction,subMenuKey:$};return ee.renderCommonMenuItem(ie,z,ge)},At.store.setState({activeKey:Object(d.a)(Object(d.a)({},At.store.getState().activeKey),{},Object(C.a)({},At.eventKey,Be(At,At.activeKey)))}),ee.instanceArray=[],ee}return Object(g.a)(lt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(ee){return this.props.visible||ee.visible||this.props.className!==ee.className||!l()(this.props.style,ee.style)}},{key:"componentDidUpdate",value:function(ee){var ie=this.props,z="activeKey"in ie?ie.activeKey:ie.store.getState().activeKey[it(ie)],$=Be(ie,z);if($!==z)me(ie.store,it(ie),$);else if("activeKey"in ee){var le=Be(ee,ee.activeKey);$!==le&&me(ie.store,it(ie),$)}}},{key:"render",value:function(){var ee=this,ie=Object(E.a)({},this.props);this.instanceArray=[];var z=N()(ie.prefixCls,ie.className,"".concat(ie.prefixCls,"-").concat(ie.mode)),$={className:z,role:ie.role||"menu"};ie.id&&($.id=ie.id),ie.focusable&&($.tabIndex=0,$.onKeyDown=this.onKeyDown);var le=ie.prefixCls,ge=ie.eventKey,Ae=ie.visible,Me=ie.level,Ze=ie.mode,kt=ie.overflowedIndicator,Jt=ie.theme;return Ct.forEach(function(Et){return delete ie[Et]}),delete ie.onClick,f.createElement(et,Object.assign({},ie,{prefixCls:le,mode:Ze,tag:"ul",level:Me,theme:Jt,visible:Ae,overflowedIndicator:kt},$),f.Children.map(ie.children,function(Et,Ft){return ee.renderMenuItem(Et,Ft,ge||"0-menu-")}))}}]),lt}(f.Component);Mr.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:We};var Lt=A()(Mr),or=Lt,Qt=e("Kwbf");function qt(xe,ke,lt){var At=xe.prefixCls,ee=xe.motion,ie=xe.defaultMotions,z=ie===void 0?{}:ie,$=xe.openAnimation,le=xe.openTransitionName,ge=ke.switchingModeFromInline;if(ee)return ee;if(Object(D.a)($)==="object"&&$)Object(Qt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof $=="string")return{motionName:"".concat(At,"-open-").concat($)};if(le)return{motionName:le};var Ae=z[lt];return Ae||(ge?null:z.other)}var hr=function(xe){Object(v.a)(lt,xe);var ke=Object(b.a)(lt);function lt(At){var ee;Object(x.a)(this,lt),ee=ke.call(this,At),ee.inlineOpenKeys=[],ee.onSelect=function($){var le=Object(p.a)(ee),ge=le.props;if(ge.selectable){var Ae=ee.store.getState(),Me=Ae.selectedKeys,Ze=$.key;ge.multiple?Me=Me.concat([Ze]):Me=[Ze],"selectedKeys"in ge||ee.store.setState({selectedKeys:Me}),ge.onSelect(Object(d.a)(Object(d.a)({},$),{},{selectedKeys:Me}))}},ee.onClick=function($){var le=ee.getRealMenuMode(),ge=Object(p.a)(ee),Ae=ge.store,Me=ge.props.onOpenChange;le!=="inline"&&!("openKeys"in ee.props)&&(Ae.setState({openKeys:[]}),Me([])),ee.props.onClick($)},ee.onKeyDown=function($,le){ee.innerMenu.getWrappedInstance().onKeyDown($,le)},ee.onOpenChange=function($){var le=Object(p.a)(ee),ge=le.props,Ae=ee.store.getState().openKeys.concat(),Me=!1,Ze=function(Jt){var Et=!1;if(Jt.open)Et=Ae.indexOf(Jt.key)===-1,Et&&Ae.push(Jt.key);else{var Ft=Ae.indexOf(Jt.key);Et=Ft!==-1,Et&&Ae.splice(Ft,1)}Me=Me||Et};Array.isArray($)?$.forEach(Ze):Ze($),Me&&("openKeys"in ee.props||ee.store.setState({openKeys:Ae}),ge.onOpenChange(Ae))},ee.onDeselect=function($){var le=Object(p.a)(ee),ge=le.props;if(ge.selectable){var Ae=ee.store.getState().selectedKeys.concat(),Me=$.key,Ze=Ae.indexOf(Me);Ze!==-1&&Ae.splice(Ze,1),"selectedKeys"in ge||ee.store.setState({selectedKeys:Ae}),ge.onDeselect(Object(d.a)(Object(d.a)({},$),{},{selectedKeys:Ae}))}},ee.onMouseEnter=function($){ee.restoreModeVerticalFromInline();var le=ee.props.onMouseEnter;le&&le($)},ee.onTransitionEnd=function($){var le=$.propertyName==="width"&&$.target===$.currentTarget,ge=$.target.className,Ae=Object.prototype.toString.call(ge)==="[object SVGAnimatedString]"?ge.animVal:ge,Me=$.propertyName==="font-size"&&Ae.indexOf("anticon")>=0;(le||Me)&&ee.restoreModeVerticalFromInline()},ee.setInnerMenu=function($){ee.innerMenu=$},ee.isRootMenu=!0;var ie=At.defaultSelectedKeys,z=At.defaultOpenKeys;return"selectedKeys"in At&&(ie=At.selectedKeys||[]),"openKeys"in At&&(z=At.openKeys||[]),ee.store=O({selectedKeys:ie,openKeys:z,activeKey:{"0-menu-":Be(At,At.activeKey)}}),ee.state={switchingModeFromInline:!1},ee}return Object(g.a)(lt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ee){this.updateOpentKeysWhenSwitchMode(ee),this.updateMiniStore();var ie=this.props,z=ie.siderCollapsed,$=ie.inlineCollapsed,le=ie.onOpenChange;(!ee.inlineCollapsed&&$||!ee.siderCollapsed&&z)&&le([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(ee){var ie=this.props,z=this.store,$=this.inlineOpenKeys,le=z.getState(),ge={};ee.mode==="inline"&&ie.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in ie||((ie.inlineCollapsed&&!ee.inlineCollapsed||ie.siderCollapsed&&!ee.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=le.openKeys.concat(),ge.openKeys=[]),(!ie.inlineCollapsed&&ee.inlineCollapsed||!ie.siderCollapsed&&ee.siderCollapsed)&&(ge.openKeys=$,this.inlineOpenKeys=[])),Object.keys(ge).length&&z.setState(ge)}},{key:"updateMenuDisplay",value:function(){var ee=this.props.collapsedWidth,ie=this.store,z=this.prevOpenKeys,$=this.getInlineCollapsed()&&(ee===0||ee==="0"||ee==="0px");$?(this.prevOpenKeys=ie.getState().openKeys.concat(),this.store.setState({openKeys:[]})):z&&(this.store.setState({openKeys:z}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ee=this.props.mode,ie=this.state.switchingModeFromInline,z=this.getInlineCollapsed();return ie&&z?"inline":z?"vertical":ee}},{key:"getInlineCollapsed",value:function(){var ee=this.props,ie=ee.inlineCollapsed,z=ee.siderCollapsed;return z!==void 0?z:ie}},{key:"restoreModeVerticalFromInline",value:function(){var ee=this.state.switchingModeFromInline;ee&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var ee=Object(d.a)({},Object(S.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),ie=this.getRealMenuMode();return ee.className+=" ".concat(ee.prefixCls,"-root"),ee.direction==="rtl"&&(ee.className+=" ".concat(ee.prefixCls,"-rtl")),ee=Object(d.a)(Object(d.a)({},ee),{},{mode:ie,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:qt(this.props,this.state,ie)}),delete ee.openAnimation,delete ee.openTransitionName,f.createElement(a,{store:this.store},f.createElement(or,Object.assign({},ee,{ref:this.setInnerMenu}),this.props.children))}}]),lt}(f.Component);hr.defaultProps={selectable:!0,onClick:We,onSelect:We,onOpenChange:We,onDeselect:We,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:f.createElement("span",null,"\xB7\xB7\xB7")};var Gt=hr,de=function(xe){Object(v.a)(lt,xe);var ke=Object(b.a)(lt);function lt(){var At;return Object(x.a)(this,lt),At=ke.apply(this,arguments),At.onKeyDown=function(ee){var ie=ee.keyCode;return ie===T.a.ENTER?(At.onClick(ee),!0):void 0},At.onMouseLeave=function(ee){var ie=At.props,z=ie.eventKey,$=ie.onItemHover,le=ie.onMouseLeave;$({key:z,hover:!1}),le({key:z,domEvent:ee})},At.onMouseEnter=function(ee){var ie=At.props,z=ie.eventKey,$=ie.onItemHover,le=ie.onMouseEnter;$({key:z,hover:!0}),le({key:z,domEvent:ee})},At.onClick=function(ee){var ie=At.props,z=ie.eventKey,$=ie.multiple,le=ie.onClick,ge=ie.onSelect,Ae=ie.onDeselect,Me=ie.isSelected,Ze={key:z,keyPath:[z],item:Object(p.a)(At),domEvent:ee};le(Ze),$?Me?Ae(Ze):ge(Ze):Me||ge(Ze)},At.saveNode=function(ee){At.node=ee},At}return Object(g.a)(lt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var ee=this.props;ee.onDestroy&&ee.onDestroy(ee.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var ee,ie=Object(d.a)({},this.props),z=N()(this.getPrefixCls(),ie.className,(ee={},Object(C.a)(ee,this.getActiveClassName(),!ie.disabled&&ie.active),Object(C.a)(ee,this.getSelectedClassName(),ie.isSelected),Object(C.a)(ee,this.getDisabledClassName(),ie.disabled),ee)),$=Object(d.a)(Object(d.a)({},ie.attribute),{},{title:typeof ie.title=="string"?ie.title:void 0,className:z,role:ie.role||"menuitem","aria-disabled":ie.disabled});ie.role==="option"?$=Object(d.a)(Object(d.a)({},$),{},{role:"option","aria-selected":ie.isSelected}):(ie.role===null||ie.role==="none")&&($.role="none");var le={onClick:ie.disabled?null:this.onClick,onMouseLeave:ie.disabled?null:this.onMouseLeave,onMouseEnter:ie.disabled?null:this.onMouseEnter},ge=Object(d.a)({},ie.style);ie.mode==="inline"&&(ie.direction==="rtl"?ge.paddingRight=ie.inlineIndent*ie.level:ge.paddingLeft=ie.inlineIndent*ie.level),Ct.forEach(function(Me){return delete ie[Me]}),delete ie.direction;var Ae=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Ae=f.createElement(this.props.itemIcon,this.props)),f.createElement("li",Object.assign({},Object(S.default)(ie,["onClick","onMouseEnter","onMouseLeave","onSelect"]),$,le,{style:ge,ref:this.saveNode}),ie.children,Ae)}}]),lt}(f.Component);de.isMenuItem=!0,de.defaultProps={onSelect:We,onMouseEnter:We,onMouseLeave:We,manualRef:We};var ue=A(function(xe,ke){var lt=xe.activeKey,At=xe.selectedKeys,ee=ke.eventKey,ie=ke.subMenuKey;return{active:lt[ie]===ee,isSelected:At.indexOf(ee)!==-1}})(de),se=ue,ae=function(xe){Object(v.a)(lt,xe);var ke=Object(b.a)(lt);function lt(){var At;return Object(x.a)(this,lt),At=ke.apply(this,arguments),At.renderInnerMenuItem=function(ee){var ie=At.props,z=ie.renderMenuItem,$=ie.index;return z(ee,$,At.props.subMenuKey)},At}return Object(g.a)(lt,[{key:"render",value:function(){var ee=Object(E.a)({},this.props),ie=ee.className,z=ie===void 0?"":ie,$=ee.rootPrefixCls,le="".concat($,"-item-group-title"),ge="".concat($,"-item-group-list"),Ae=ee.title,Me=ee.children;return Ct.forEach(function(Ze){return delete ee[Ze]}),delete ee.onClick,delete ee.direction,f.createElement("li",Object.assign({},ee,{className:"".concat(z," ").concat($,"-item-group")}),f.createElement("div",{className:le,title:typeof Ae=="string"?Ae:void 0},Ae),f.createElement("ul",{className:ge},f.Children.map(Me,this.renderInnerMenuItem)))}}]),lt}(f.Component);ae.isMenuItemGroup=!0,ae.defaultProps={disabled:!0};var ye=ae,Ce=function(ke){var lt=ke.className,At=ke.rootPrefixCls,ee=ke.style;return f.createElement("li",{className:"".concat(lt," ").concat(At,"-item-divider"),style:ee})};Ce.defaultProps={disabled:!0,className:"",style:{}};var Oe=Ce,Te=B.f=Gt},"1n7x":function(J,B,e){(function(d,x){(function(g,p){J.exports=p(e("5RHE"),e("wOnQ"))})(this,function(g,p){"use strict";g=g&&g.hasOwnProperty("default")?g.default:g,p=p&&p.hasOwnProperty("default")?p.default:p;var v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},b=Object.assign||function(S){for(var E=1;E<arguments.length;E++){var C=arguments[E];for(var T in C)Object.prototype.hasOwnProperty.call(C,T)&&(S[T]=C[T])}return S},f=function(E){var C=typeof E=="undefined"?"undefined":v(E);return C==="undefined"?"undefined":C==="string"||E instanceof String?"string":C==="number"||E instanceof Number?"number":C==="function"||E instanceof Function?"function":!!E&&E.constructor===Array?"array":E&&E.nodeType===1?"element":C==="object"?"object":"unknown"},i=function(E,C){var T=document.createElement(E);if(C.className&&(T.className=C.className),C.innerHTML){T.innerHTML=C.innerHTML;for(var w=T.getElementsByTagName("script"),L=w.length;L-- >0;null)w[L].parentNode.removeChild(w[L])}for(var N in C.style)T.style[N]=C.style[N];return T},r=function S(E,C){for(var T=E.nodeType===3?document.createTextNode(E.nodeValue):E.cloneNode(!1),w=E.firstChild;w;w=w.nextSibling)(C===!0||w.nodeType!==1||w.nodeName!=="SCRIPT")&&T.appendChild(S(w,C));return E.nodeType===1&&(E.nodeName==="CANVAS"?(T.width=E.width,T.height=E.height,T.getContext("2d").drawImage(E,0,0)):(E.nodeName==="TEXTAREA"||E.nodeName==="SELECT")&&(T.value=E.value),T.addEventListener("load",function(){T.scrollTop=E.scrollTop,T.scrollLeft=E.scrollLeft},!0)),T},a=function(E,C){if(f(E)==="number")return E*72/96/C;var T={};for(var w in E)T[w]=E[w]*72/96/C;return T},s=function(E,C){return Math.floor(E*C/72*96)},l=typeof window!="undefined"?window:typeof d!="undefined"?d:typeof self!="undefined"?self:{};function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function u(S,E){return E={exports:{}},S(E,E.exports),E.exports}var t=u(function(S,E){/*!
|
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
|
* @license Licensed under MIT license
|
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
|
* @version v4.2.5+7f2b526d
|
|
|
*/(function(C,T){S.exports=T()})(l,function(){function C(Lt){var or=typeof Lt;return Lt!==null&&(or==="object"||or==="function")}function T(Lt){return typeof Lt=="function"}var w=void 0;Array.isArray?w=Array.isArray:w=function(or){return Object.prototype.toString.call(or)==="[object Array]"};var L=w,N=0,D=void 0,F=void 0,R=function(or,Qt){he[N]=or,he[N+1]=Qt,N+=2,N===2&&(F?F(te):Se())};function U(Lt){F=Lt}function M(Lt){R=Lt}var j=typeof window!="undefined"?window:void 0,P=j||{},K=P.MutationObserver||P.WebKitMutationObserver,H=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",_=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Z(){return function(){return x.nextTick(te)}}function Y(){return typeof D!="undefined"?function(){D(te)}:X()}function k(){var Lt=0,or=new K(te),Qt=document.createTextNode("");return or.observe(Qt,{characterData:!0}),function(){Qt.data=Lt=++Lt%2}}function Q(){var Lt=new MessageChannel;return Lt.port1.onmessage=te,function(){return Lt.port2.postMessage(0)}}function X(){var Lt=setTimeout;return function(){return Lt(te,1)}}var he=new Array(1e3);function te(){for(var Lt=0;Lt<N;Lt+=2){var or=he[Lt],Qt=he[Lt+1];or(Qt),he[Lt]=void 0,he[Lt+1]=void 0}N=0}function pe(){try{var Lt=Function("return this")().require("vertx");return D=Lt.runOnLoop||Lt.runOnContext,Y()}catch(or){return X()}}var Se=void 0;H?Se=Z():K?Se=k():_?Se=Q():j===void 0&&typeof n=="function"?Se=pe():Se=X();function we(Lt,or){var Qt=this,qt=new this.constructor(yt);qt[qe]===void 0&&Ye(qt);var hr=Qt._state;if(hr){var Gt=arguments[hr-1];R(function(){return zt(hr,qt,Gt,Qt._result)})}else Bt(Qt,qt,Lt,or);return qt}function We(Lt){var or=this;if(Lt&&typeof Lt=="object"&&Lt.constructor===or)return Lt;var Qt=new or(yt);return De(Qt,Lt),Qt}var qe=Math.random().toString(36).substring(2);function yt(){}var _e=void 0,je=1,Ct=2,ct={error:null};function nt(){return new TypeError("You cannot resolve a promise with itself")}function bt(){return new TypeError("A promises callback cannot return that same promise.")}function dt(Lt){try{return Lt.then}catch(or){return ct.error=or,ct}}function vt(Lt,or,Qt,qt){try{Lt.call(or,Qt,qt)}catch(hr){return hr}}function Qe(Lt,or,Qt){R(function(qt){var hr=!1,Gt=vt(Qt,or,function(de){if(hr)return;hr=!0,or!==de?De(qt,de):ot(qt,de)},function(de){if(hr)return;hr=!0,wt(qt,de)},"Settle: "+(qt._label||" unknown promise"));!hr&&Gt&&(hr=!0,wt(qt,Gt))},Lt)}function mt(Lt,or){or._state===je?ot(Lt,or._result):or._state===Ct?wt(Lt,or._result):Bt(or,void 0,function(Qt){return De(Lt,Qt)},function(Qt){return wt(Lt,Qt)})}function Pe(Lt,or,Qt){or.constructor===Lt.constructor&&Qt===we&&or.constructor.resolve===We?mt(Lt,or):Qt===ct?(wt(Lt,ct.error),ct.error=null):Qt===void 0?ot(Lt,or):T(Qt)?Qe(Lt,or,Qt):ot(Lt,or)}function De(Lt,or){Lt===or?wt(Lt,nt()):C(or)?Pe(Lt,or,dt(or)):ot(Lt,or)}function Ie(Lt){Lt._onerror&&Lt._onerror(Lt._result),_t(Lt)}function ot(Lt,or){if(Lt._state!==_e)return;Lt._result=or,Lt._state=je,Lt._subscribers.length!==0&&R(_t,Lt)}function wt(Lt,or){if(Lt._state!==_e)return;Lt._state=Ct,Lt._result=or,R(Ie,Lt)}function Bt(Lt,or,Qt,qt){var hr=Lt._subscribers,Gt=hr.length;Lt._onerror=null,hr[Gt]=or,hr[Gt+je]=Qt,hr[Gt+Ct]=qt,Gt===0&&Lt._state&&R(_t,Lt)}function _t(Lt){var or=Lt._subscribers,Qt=Lt._state;if(or.length===0)return;for(var qt=void 0,hr=void 0,Gt=Lt._result,de=0;de<or.length;de+=3)qt=or[de],hr=or[de+Qt],qt?zt(Qt,qt,hr,Gt):hr(Gt);Lt._subscribers.length=0}function Ue(Lt,or){try{return Lt(or)}catch(Qt){return ct.error=Qt,ct}}function zt(Lt,or,Qt,qt){var hr=T(Qt),Gt=void 0,de=void 0,ue=void 0,se=void 0;if(hr){if(Gt=Ue(Qt,qt),Gt===ct?(se=!0,de=Gt.error,Gt.error=null):ue=!0,or===Gt){wt(or,bt());return}}else Gt=qt,ue=!0;or._state!==_e||(hr&&ue?De(or,Gt):se?wt(or,de):Lt===je?ot(or,Gt):Lt===Ct&&wt(or,Gt))}function xt(Lt,or){try{or(function(qt){De(Lt,qt)},function(qt){wt(Lt,qt)})}catch(Qt){wt(Lt,Qt)}}var Pt=0;function Ke(){return Pt++}function Ye(Lt){Lt[qe]=Pt++,Lt._state=void 0,Lt._result=void 0,Lt._subscribers=[]}function $e(){return new Error("Array Methods must be provided an Array")}var ut=function(){function Lt(or,Qt){this._instanceConstructor=or,this.promise=new or(yt),this.promise[qe]||Ye(this.promise),L(Qt)?(this.length=Qt.length,this._remaining=Qt.length,this._result=new Array(this.length),this.length===0?ot(this.promise,this._result):(this.length=this.length||0,this._enumerate(Qt),this._remaining===0&&ot(this.promise,this._result))):wt(this.promise,$e())}return Lt.prototype._enumerate=function(Qt){for(var qt=0;this._state===_e&&qt<Qt.length;qt++)this._eachEntry(Qt[qt],qt)},Lt.prototype._eachEntry=function(Qt,qt){var hr=this._instanceConstructor,Gt=hr.resolve;if(Gt===We){var de=dt(Qt);if(de===we&&Qt._state!==_e)this._settledAt(Qt._state,qt,Qt._result);else if(typeof de!="function")this._remaining--,this._result[qt]=Qt;else if(hr===ht){var ue=new hr(yt);Pe(ue,Qt,de),this._willSettleAt(ue,qt)}else this._willSettleAt(new hr(function(se){return se(Qt)}),qt)}else this._willSettleAt(Gt(Qt),qt)},Lt.prototype._settledAt=function(Qt,qt,hr){var Gt=this.promise;Gt._state===_e&&(this._remaining--,Qt===Ct?wt(Gt,hr):this._result[qt]=hr),this._remaining===0&&ot(Gt,this._result)},Lt.prototype._willSettleAt=function(Qt,qt){var hr=this;Bt(Qt,void 0,function(Gt){return hr._settledAt(je,qt,Gt)},function(Gt){return hr._settledAt(Ct,qt,Gt)})},Lt}();function et(Lt){return new ut(this,Lt).promise}function oe(Lt){var or=this;return L(Lt)?new or(function(Qt,qt){for(var hr=Lt.length,Gt=0;Gt<hr;Gt++)or.resolve(Lt[Gt]).then(Qt,qt)}):new or(function(Qt,qt){return qt(new TypeError("You must pass an array to race."))})}function me(Lt){var or=this,Qt=new or(yt);return wt(Qt,Lt),Qt}function it(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Be(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ht=function(){function Lt(or){this[qe]=Ke(),this._result=this._state=void 0,this._subscribers=[],yt!==or&&(typeof or!="function"&&it(),this instanceof Lt?xt(this,or):Be())}return Lt.prototype.catch=function(Qt){return this.then(null,Qt)},Lt.prototype.finally=function(Qt){var qt=this,hr=qt.constructor;return T(Qt)?qt.then(function(Gt){return hr.resolve(Qt()).then(function(){return Gt})},function(Gt){return hr.resolve(Qt()).then(function(){throw Gt})}):qt.then(Qt,Qt)},Lt}();ht.prototype.then=we,ht.all=et,ht.race=oe,ht.resolve=We,ht.reject=me,ht._setScheduler=U,ht._setAsap=M,ht._asap=R;function Mr(){var Lt=void 0;if(typeof l!="undefined")Lt=l;else if(typeof self!="undefined")Lt=self;else try{Lt=Function("return this")()}catch(qt){throw new Error("polyfill failed because global object is unavailable in this environment")}var or=Lt.Promise;if(or){var Qt=null;try{Qt=Object.prototype.toString.call(or.resolve())}catch(qt){}if(Qt==="[object Promise]"&&!or.cast)return}Lt.Promise=ht}return ht.polyfill=Mr,ht.Promise=ht,ht})}),c=t.Promise,o=function S(E){var C=b(S.convert(c.resolve()),JSON.parse(JSON.stringify(S.template))),T=S.convert(c.resolve(),C);return T=T.setProgress(1,S,1,[S]),T=T.set(E),T};o.prototype=Object.create(c.prototype),o.prototype.constructor=o,o.convert=function(E,C){return E.__proto__=C||o.prototype,E},o.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:{}}},o.prototype.from=function(E,C){function T(w){switch(f(w)){case"string":return"string";case"element":return w.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){C=C||T(E);switch(C){case"string":return this.set({src:i("div",{innerHTML:E})});case"element":return this.set({src:E});case"canvas":return this.set({canvas:E});case"img":return this.set({img:E});default:return this.error("Unknown source type.")}})},o.prototype.to=function(E){switch(E){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},o.prototype.toContainer=function(){var E=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(E).then(function(){var T={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},w={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};T.opacity=0;var L=r(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=i("div",{className:"html2pdf__overlay",style:T}),this.prop.container=i("div",{className:"html2pdf__container",style:w}),this.prop.container.appendChild(L),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},o.prototype.toCanvas=function(){var E=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(E).then(function(){var T=b({},this.opt.html2canvas);return delete T.onrendered,p(this.prop.container,T)}).then(function(T){var w=this.opt.html2canvas.onrendered||function(){};w(T),this.prop.canvas=T,document.body.removeChild(this.prop.overlay)})},o.prototype.toImg=function(){var E=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(E).then(function(){var T=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=T})},o.prototype.toPdf=function(){var E=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(E).then(function(){var T=this.prop.canvas,w=this.opt,L=T.height,N=Math.floor(T.width*this.prop.pageSize.inner.ratio),D=Math.ceil(L/N),F=this.prop.pageSize.inner.height,R=document.createElement("canvas"),U=R.getContext("2d");R.width=T.width,R.height=N,this.prop.pdf=this.prop.pdf||new g(w.jsPDF);for(var M=0;M<D;M++){M===D-1&&L%N!==0&&(R.height=L%N,F=R.height*this.prop.pageSize.inner.width/R.width);var j=R.width,P=R.height;U.fillStyle="white",U.fillRect(0,0,j,P),U.drawImage(T,0,M*N,j,P,0,0,j,P),M&&this.prop.pdf.addPage();var K=R.toDataURL("image/"+w.image.type,w.image.quality);this.prop.pdf.addImage(K,w.image.type,w.margin[1],w.margin[0],this.prop.pageSize.inner.width,F)}})},o.prototype.output=function(E,C,T){return T=T||"pdf",T.toLowerCase()==="img"||T.toLowerCase()==="image"?this.outputImg(E,C):this.outputPdf(E,C)},o.prototype.outputPdf=function(E,C){var T=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(T).then(function(){return this.prop.pdf.output(E,C)})},o.prototype.outputImg=function(E,C){var T=[function(){return this.prop.img||this.toImg()}];return this.thenList(T).then(function(){switch(E){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+E+'" is not supported.'}})},o.prototype.save=function(E){var C=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(C).set(E?{filename:E}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},o.prototype.set=function(E){if(f(E)!=="object")return this;var C=Object.keys(E||{}).map(function(T){if(T in o.template.prop)return function(){this.prop[T]=E[T]};switch(T){case"margin":return this.setMargin.bind(this,E.margin);case"jsPDF":return function(){return this.opt.jsPDF=E.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,E.pageSize);default:return function(){this.opt[T]=E[T]}}},this);return this.then(function(){return this.thenList(C)})},o.prototype.get=function(E,C){return this.then(function(){var w=E in o.template.prop?this.prop[E]:this.opt[E];return C?C(w):w})},o.prototype.setMargin=function(E){return this.then(function(){switch(f(E)){case"number":E=[E,E,E,E];case"array":if(E.length===2&&(E=[E[0],E[1],E[0],E[1]]),E.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=E}).then(this.setPageSize)},o.prototype.setPageSize=function(E){return this.then(function(){E=E||g.getPageSize(this.opt.jsPDF),E.hasOwnProperty("inner")||(E.inner={width:E.width-this.opt.margin[1]-this.opt.margin[3],height:E.height-this.opt.margin[0]-this.opt.margin[2]},E.inner.px={width:s(E.inner.width,E.k),height:s(E.inner.height,E.k)},E.inner.ratio=E.inner.height/E.inner.width),this.prop.pageSize=E})},o.prototype.setProgress=function(E,C,T,w){return E!=null&&(this.progress.val=E),C!=null&&(this.progress.state=C),T!=null&&(this.progress.n=T),w!=null&&(this.progress.stack=w),this.progress.ratio=this.progress.val/this.progress.state,this},o.prototype.updateProgress=function(E,C,T,w){return this.setProgress(E?this.progress.val+E:null,C||null,T?this.progress.n+T:null,w?this.progress.stack.concat(w):null)},o.prototype.then=function(E,C){var T=this;return this.thenCore(E,C,function(L,N){return T.updateProgress(null,null,1,[L]),c.prototype.then.call(this,function(F){return T.updateProgress(null,L),F}).then(L,N).then(function(F){return T.updateProgress(1),F})})},o.prototype.thenCore=function(E,C,T){T=T||c.prototype.then;var w=this;E&&(E=E.bind(w)),C&&(C=C.bind(w));var L=c.toString().indexOf("[native code]")!==-1&&c.name==="Promise",N=L?w:o.convert(b({},w),c.prototype),D=T.call(N,E,C);return o.convert(D,w.__proto__)},o.prototype.thenExternal=function(E,C){return c.prototype.then.call(this,E,C)},o.prototype.thenList=function(E){var C=this;return E.forEach(function(w){C=C.thenCore(w)}),C},o.prototype.catch=function(S){S&&(S=S.bind(this));var E=c.prototype.catch.call(this,S);return o.convert(E,this)},o.prototype.catchExternal=function(E){return c.prototype.catch.call(this,E)},o.prototype.error=function(E){return this.then(function(){throw new Error(E)})},o.prototype.using=o.prototype.set,o.prototype.saveAs=o.prototype.save,o.prototype.export=o.prototype.output,o.prototype.run=o.prototype.then,g.getPageSize=function(S,E,C){if((typeof S=="undefined"?"undefined":v(S))==="object"){var T=S;S=T.orientation,E=T.unit||E,C=T.format||C}E=E||"mm",C=C||"a4",S=(""+(S||"P")).toLowerCase();var w=(""+C).toLowerCase(),L={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(E){case"pt":var N=1;break;case"mm":var N=72/25.4;break;case"cm":var N=72/2.54;break;case"in":var N=72;break;case"px":var N=72/96;break;case"pc":var N=12;break;case"em":var N=12;break;case"ex":var N=6;break;default:throw"Invalid unit: "+E}if(L.hasOwnProperty(w))var D=L[w][1]/N,F=L[w][0]/N;else try{var D=C[1],F=C[0]}catch(M){throw new Error("Invalid format: "+C)}if(S==="p"||S==="portrait"){if(S="p",F>D){var R=F;F=D,D=R}}else if(S==="l"||S==="landscape"){if(S="l",D>F){var R=F;F=D,D=R}}else throw"Invalid orientation: "+S;var U={width:F,height:D,unit:E,k:N};return U};var h={toContainer:o.prototype.toContainer};o.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},o.prototype.toContainer=function(){return h.toContainer.call(this).then(function(){var C=this.prop.container,T=this.prop.pageSize.inner.px.height,w=[].concat(this.opt.pagebreak.mode),L={avoidAll:w.indexOf("avoid-all")!==-1,css:w.indexOf("css")!==-1,legacy:w.indexOf("legacy")!==-1},N={},D=this;["before","after","avoid"].forEach(function(U){var M=L.avoidAll&&U==="avoid";N[U]=M?[]:[].concat(D.opt.pagebreak[U]||[]),N[U].length>0&&(N[U]=Array.prototype.slice.call(C.querySelectorAll(N[U].join(", "))))});var F=C.querySelectorAll(".html2pdf__page-break");F=Array.prototype.slice.call(F);var R=C.querySelectorAll("*");Array.prototype.forEach.call(R,function(M){var j={before:!1,after:L.legacy&&F.indexOf(M)!==-1,avoid:L.avoidAll};if(L.css){var P=window.getComputedStyle(M),K=["always","page","left","right"],H=["avoid","avoid-page"];j={before:j.before||K.indexOf(P.breakBefore||P.pageBreakBefore)!==-1,after:j.after||K.indexOf(P.breakAfter||P.pageBreakAfter)!==-1,avoid:j.avoid||H.indexOf(P.breakInside||P.pageBreakInside)!==-1}}Object.keys(j).forEach(function(X){j[X]=j[X]||N[X].indexOf(M)!==-1});var _=M.getBoundingClientRect();if(j.avoid&&!j.before){var Z=Math.floor(_.top/T),Y=Math.floor(_.bottom/T),k=Math.abs(_.bottom-_.top)/T;Y!==Z&&k<=1&&(j.before=!0)}if(j.before){var Q=i("div",{style:{display:"block",height:T-_.top%T+"px"}});M.parentNode.insertBefore(Q,M)}if(j.after){var Q=i("div",{style:{display:"block",height:T-_.bottom%T+"px"}});M.parentNode.insertBefore(Q,M.nextSibling)}})})};var A=[],y={toContainer:o.prototype.toContainer,toPdf:o.prototype.toPdf};o.prototype.toContainer=function(){return y.toContainer.call(this).then(function(){if(this.opt.enableLinks){var C=this.prop.container,T=C.querySelectorAll("a"),w=a(C.getBoundingClientRect(),this.prop.pageSize.k);A=[],Array.prototype.forEach.call(T,function(L){for(var N=L.getClientRects(),D=0;D<N.length;D++){var F=a(N[D],this.prop.pageSize.k);F.left-=w.left,F.top-=w.top;var R=Math.floor(F.top/this.prop.pageSize.inner.height)+1,U=this.opt.margin[0]+F.top%this.prop.pageSize.inner.height,M=this.opt.margin[1]+F.left;A.push({page:R,top:U,left:M,clientRect:F,link:L})}},this)}})},o.prototype.toPdf=function(){return y.toPdf.call(this).then(function(){if(this.opt.enableLinks){A.forEach(function(T){this.prop.pdf.setPage(T.page),this.prop.pdf.link(T.left,T.top,T.clientRect.width,T.clientRect.height,{url:T.link.href})},this);var C=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(C)}})};var O=function S(E,C){var T=new S.Worker(C);return E?T.from(E).save():T};return O.Worker=o,O})}).call(this,e("yLpj"),e("Q2Ig"))},"1tlw":function(J,B,e){var d=e("MBQ8"),x=d.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(p){return p.stack=null,x.superApply(this,"getInitialData",arguments)}}),g=x;J.exports=g},"1u/T":function(J,B,e){var d=e("ProS"),x={type:"selectDataRange",event:"dataRangeSelected",update:"update"};d.registerAction(x,function(g,p){p.eachComponent({mainType:"visualMap",query:g},function(v){v.setSelected(g.selected)})})},"1vzs":function(J,B,e){"use strict";e.d(B,"a",function(){return t});var d=e("q1tI"),x=e.n(d),g=e("HQEm"),p=e.n(g),v=e("gZBC"),b=e.n(v),f=e("NAnI"),i=e.n(f),r=e("V/uB"),a=e.n(r),s=e("kbBi"),l=e.n(s),n=e("w6Tc"),u=e.n(n);function t(c){var o=c.suffixIcon,h=c.clearIcon,A=c.menuItemSelectedIcon,y=c.removeIcon,O=c.loading,S=c.multiple,E=c.prefixCls,C=h;h||(C=d.createElement(l.a,null));var T=null;if(o!==void 0)T=o;else if(O)T=d.createElement(b.a,{spin:!0});else{var w="".concat(E,"-suffix");T=function(F){var R=F.open,U=F.showSearch;return R&&U?d.createElement(u.a,{className:w}):d.createElement(p.a,{className:w})}}var L=null;A!==void 0?L=A:S?L=d.createElement(i.a,null):L=null;var N=null;return y!==void 0?N=y:N=d.createElement(a.a,null),{clearIcon:C,suffixIcon:T,itemIcon:L,removeIcon:N}}},"1xaR":function(J,B,e){var d=e("ProS"),x=e("bYtY");e("qgGe"),e("NA0q"),e("RPvy");var g=e("mOdp"),p=e("y3NT"),v=e("0/Rx");d.registerVisual(x.curry(g,"sunburst")),d.registerLayout(x.curry(p,"sunburst")),d.registerProcessor(x.curry(v,"sunburst"))},"24YM":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.SensorTabIndex=B.SensorClassName=B.SizeSensorId=void 0;var d="size-sensor-id";B.SizeSensorId=d;var x="size-sensor-object";B.SensorClassName=x;var g="-1";B.SensorTabIndex=g},"2548":function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("6GrX"),p=e("IUWy"),v=e("IwbS"),b=e("Qxkt"),f=e("gPAo"),i=e("eRkO"),r=d.extendComponentView({type:"toolbox",render:function(s,l,n,u){var t=this.group;if(t.removeAll(),!s.get("show"))return;var c=+s.get("itemSize"),o=s.get("feature")||{},h=this._features||(this._features={}),A=[];x.each(o,function(S,E){A.push(E)}),new f(this._featureNames||[],A).add(y).update(y).remove(x.curry(y,null)).execute(),this._featureNames=A;function y(S,E){var C=A[S],T=A[E],w=o[C],L=new b(w,s,s.ecModel),N;if(u&&u.newTitle!=null&&u.featureName===C&&(w.title=u.newTitle),C&&!T){if(a(C))N={model:L,onclick:L.option.onclick,featureName:C};else{var D=p.get(C);if(!D)return;N=new D(L,l,n)}h[C]=N}else{if(N=h[T],!N)return;N.model=L,N.ecModel=l,N.api=n}if(!C&&T){N.dispose&&N.dispose(l,n);return}if(!L.get("show")||N.unusable){N.remove&&N.remove(l,n);return}O(L,N,C),L.setIconStatus=function(F,R){var U=this.option,M=this.iconPaths;U.iconStatus=U.iconStatus||{},U.iconStatus[F]=R,M[F]&&M[F].trigger(R)},N.render&&N.render(L,l,n,u)}function O(S,E,C){var T=S.getModel("iconStyle"),w=S.getModel("emphasis.iconStyle"),L=E.getIcons?E.getIcons():S.get("icon"),N=S.get("title")||{};if(typeof L=="string"){var D=L,F=N;L={},N={},L[C]=D,N[C]=F}var R=S.iconPaths={};x.each(L,function(U,M){var j=v.createIcon(U,{},{x:-c/2,y:-c/2,width:c,height:c});j.setStyle(T.getItemStyle()),j.hoverStyle=w.getItemStyle(),j.setStyle({text:N[M],textAlign:w.get("textAlign"),textBorderRadius:w.get("textBorderRadius"),textPadding:w.get("textPadding"),textFill:null});var P=s.getModel("tooltip");P&&P.get("show")&&j.attr("tooltip",x.extend({content:N[M],formatter:P.get("formatter",!0)||function(){return N[M]},formatterParams:{componentType:"toolbox",name:M,title:N[M],$vars:["name","title"]},position:P.get("position",!0)||"bottom"},P.option)),v.setHoverStyle(j),s.get("showTitle")&&(j.__title=N[M],j.on("mouseover",function(){var K=w.getItemStyle(),H=s.get("orient")==="vertical"?s.get("right")==null?"right":"left":s.get("bottom")==null?"bottom":"top";j.setStyle({textFill:w.get("textFill")||K.fill||K.stroke||"#000",textBackgroundColor:w.get("textBackgroundColor"),textPosition:w.get("textPosition")||H})}).on("mouseout",function(){j.setStyle({textFill:null,textBackgroundColor:null})})),j.trigger(S.get("iconStatus."+M)||"normal"),t.add(j),j.on("click",x.bind(E.onclick,E,l,n,M)),R[M]=j})}i.layout(t,s,n),t.add(i.makeBackground(t.getBoundingRect(),s)),t.eachChild(function(S){var E=S.__title,C=S.hoverStyle;if(C&&E){var T=g.getBoundingRect(E,g.makeFont(C)),w=S.position[0]+t.position[0],L=S.position[1]+t.position[1]+c,N=!1;L+T.height>n.getHeight()&&(C.textPosition="top",N=!0);var D=N?-5-T.height:c+8;w+T.width/2>n.getWidth()?(C.textPosition=["100%",D],C.textAlign="right"):w-T.width/2<0&&(C.textPosition=[0,D],C.textAlign="left")}})},updateView:function(s,l,n,u){x.each(this._features,function(t){t.updateView&&t.updateView(t.model,l,n,u)})},remove:function(s,l){x.each(this._features,function(n){n.remove&&n.remove(s,l)}),this.group.removeAll()},dispose:function(s,l){x.each(this._features,function(n){n.dispose&&n.dispose(s,l)})}});function a(s){return s.indexOf("my")===0}J.exports=r},"2B6p":function(J,B){function e(d,x,g){var p=d.getZoom(),v=d.getCenter(),b=x.zoom,f=d.dataToPoint(v);if(x.dx!=null&&x.dy!=null){f[0]-=x.dx,f[1]-=x.dy;var v=d.pointToData(f);d.setCenter(v)}if(b!=null){if(g){var i=g.min||0,r=g.max||Infinity;b=Math.max(Math.min(p*b,r),i)/p}d.scale[0]*=b,d.scale[1]*=b;var a=d.position,s=(x.originX-a[0])*(b-1),l=(x.originY-a[1])*(b-1);a[0]-=s,a[1]-=l,d.updateTransform();var v=d.pointToData(f);d.setCenter(v),d.setZoom(b*p)}return{center:d.getCenter(),zoom:d.getZoom()}}B.updateCenterAndZoom=e},"2BaD":function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="CloseCircleOutlined";var b=B.a=d.forwardRef(v)},"2DNl":function(J,B,e){var d=e("IMiH"),x=e("loD1"),g=e("59Ip"),p=e("aKvl"),v=e("n1HI"),b=e("hX1E"),f=b.normalizeRadian,i=e("Sj9i"),r=e("hyiK"),a=d.CMD,s=Math.PI*2,l=1e-4;function n(E,C){return Math.abs(E-C)<l}var u=[-1,-1,-1],t=[-1,-1];function c(){var E=t[0];t[0]=t[1],t[1]=E}function o(E,C,T,w,L,N,D,F,R,U){if(U>C&&U>w&&U>N&&U>F||U<C&&U<w&&U<N&&U<F)return 0;var M=i.cubicRootAt(C,w,N,F,U,u);if(M===0)return 0;for(var j=0,P=-1,K,H,_=0;_<M;_++){var Z=u[_],Y=Z===0||Z===1?.5:1,k=i.cubicAt(E,T,L,D,Z);if(k<R)continue;P<0&&(P=i.cubicExtrema(C,w,N,F,t),t[1]<t[0]&&P>1&&c(),K=i.cubicAt(C,w,N,F,t[0]),P>1&&(H=i.cubicAt(C,w,N,F,t[1]))),P===2?Z<t[0]?j+=K<C?Y:-Y:Z<t[1]?j+=H<K?Y:-Y:j+=F<H?Y:-Y:Z<t[0]?j+=K<C?Y:-Y:j+=F<K?Y:-Y}return j}function h(E,C,T,w,L,N,D,F){if(F>C&&F>w&&F>N||F<C&&F<w&&F<N)return 0;var R=i.quadraticRootAt(C,w,N,F,u);if(R===0)return 0;var U=i.quadraticExtremum(C,w,N);if(U>=0&&U<=1){for(var M=0,j=i.quadraticAt(C,w,N,U),P=0;P<R;P++){var K=u[P]===0||u[P]===1?.5:1,H=i.quadraticAt(E,T,L,u[P]);if(H<D)continue;u[P]<U?M+=j<C?K:-K:M+=N<j?K:-K}return M}else{var K=u[0]===0||u[0]===1?.5:1,H=i.quadraticAt(E,T,L,u[0]);return H<D?0:N<C?K:-K}}function A(E,C,T,w,L,N,D,F){if(F-=C,F>T||F<-T)return 0;var R=Math.sqrt(T*T-F*F);u[0]=-R,u[1]=R;var U=Math.abs(w-L);if(U<1e-4)return 0;if(U%s<1e-4){w=0,L=s;var M=N?1:-1;return D>=u[0]+E&&D<=u[1]+E?M:0}if(N){var R=w;w=f(L),L=f(R)}else w=f(w),L=f(L);w>L&&(L+=s);for(var j=0,P=0;P<2;P++){var K=u[P];if(K+E>D){var H=Math.atan2(F,K),M=N?1:-1;H<0&&(H=s+H),(H>=w&&H<=L||H+s>=w&&H+s<=L)&&(H>Math.PI/2&&H<Math.PI*1.5&&(M=-M),j+=M)}}return j}function y(E,C,T,w,L){for(var N=0,D=0,F=0,R=0,U=0,M=0;M<E.length;){var j=E[M++];j===a.M&&M>1&&(T||(N+=r(D,F,R,U,w,L))),M===1&&(D=E[M],F=E[M+1],R=D,U=F);switch(j){case a.M:R=E[M++],U=E[M++],D=R,F=U;break;case a.L:if(T){if(x.containStroke(D,F,E[M],E[M+1],C,w,L))return!0}else N+=r(D,F,E[M],E[M+1],w,L)||0;D=E[M++],F=E[M++];break;case a.C:if(T){if(g.containStroke(D,F,E[M++],E[M++],E[M++],E[M++],E[M],E[M+1],C,w,L))return!0}else N+=o(D,F,E[M++],E[M++],E[M++],E[M++],E[M],E[M+1],w,L)||0;D=E[M++],F=E[M++];break;case a.Q:if(T){if(p.containStroke(D,F,E[M++],E[M++],E[M],E[M+1],C,w,L))return!0}else N+=h(D,F,E[M++],E[M++],E[M],E[M+1],w,L)||0;D=E[M++],F=E[M++];break;case a.A:var P=E[M++],K=E[M++],H=E[M++],_=E[M++],Z=E[M++],Y=E[M++];M+=1;var k=1-E[M++],Q=Math.cos(Z)*H+P,X=Math.sin(Z)*_+K;M>1?N+=r(D,F,Q,X,w,L):(R=Q,U=X);var he=(w-P)*_/H+P;if(T){if(v.containStroke(P,K,_,Z,Z+Y,k,C,he,L))return!0}else N+=A(P,K,_,Z,Z+Y,k,he,L);D=Math.cos(Z+Y)*H+P,F=Math.sin(Z+Y)*_+K;break;case a.R:R=D=E[M++],U=F=E[M++];var te=E[M++],pe=E[M++],Q=R+te,X=U+pe;if(T){if(x.containStroke(R,U,Q,U,C,w,L)||x.containStroke(Q,U,Q,X,C,w,L)||x.containStroke(Q,X,R,X,C,w,L)||x.containStroke(R,X,R,U,C,w,L))return!0}else N+=r(Q,U,Q,X,w,L),N+=r(R,X,R,U,w,L);break;case a.Z:if(T){if(x.containStroke(D,F,R,U,C,w,L))return!0}else N+=r(D,F,R,U,w,L);D=R,F=U;break}}return!T&&!n(F,U)&&(N+=r(D,F,R,U,w,L)||0),N!==0}function O(E,C,T){return y(E,0,!1,C,T)}function S(E,C,T,w){return y(E,C,!0,T,w)}B.contain=O,B.containStroke=S},"2Qr1":function(J,B,e){"use strict";e.d(B,"d",function(){return n}),e.d(B,"c",function(){return t}),e.d(B,"e",function(){return c}),e.d(B,"b",function(){return A}),e.d(B,"f",function(){return y}),e.d(B,"g",function(){return O}),e.d(B,"a",function(){return S});var d=e("rePB"),x=e("KQm4"),g=e("DSFK"),p=e("25BE"),v=e("BsWD"),b=e("PYwp");function f(E){return Object(g.a)(E)||Object(p.a)(E)||Object(v.a)(E)||Object(b.a)()}var i=e("U8pU"),r=e("VTBJ"),a=e("Kwbf"),s=e("WKfj");function l(E,C){var T=E.key,w;return"value"in E&&(w=E.value),T!=null?T:w!==void 0?w:"rc-index-key-".concat(C)}function n(E){var C=[];function T(w,L){w.forEach(function(N){L||!("options"in N)?C.push({key:l(N,C.length),groupOption:L,data:N}):(C.push({key:l(N,C.length),group:!0,data:N}),T(N.options,!0))})}return T(E,!1),C}function u(E){var C=Object(r.a)({},E);return"props"in C||Object.defineProperty(C,"props",{get:function(){return Object(a.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),C}}),C}function t(E,C){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=T.prevValueOptions,L=w===void 0?[]:w,N=new Map;return C.forEach(function(D){if(!D.group){var F=D.data;N.set(F.value,F)}}),E.map(function(D){var F=N.get(D);return F||(F=Object(r.a)({},L.find(function(R){return R._INTERNAL_OPTION_VALUE_===D}))),u(F)})}var c=function(C,T){var w=T.options,L=T.prevValue,N=T.labelInValue,D=T.optionLabelProp,F=t([C],w)[0],R={value:C},U,M=Object(s.d)(L);return N&&(U=M.find(function(j){return Object(i.a)(j)==="object"&&"value"in j?j.value===C:j.key===C})),U&&Object(i.a)(U)==="object"&&"label"in U?(R.label=U.label,F&&typeof U.label=="string"&&typeof F[D]=="string"&&U.label.trim()!==F[D].trim()&&Object(a.a)(!1,"`label` of `value` is not same as `label` in Select options.")):F&&D in F?R.label=F[D]:R.label=C,R.key=R.value,R};function o(E){return Object(s.d)(E).join("")}function h(E){return function(C,T){var w=C.toLowerCase();if("options"in T)return o(T.label).toLowerCase().includes(w);var L=T[E],N=o(L).toLowerCase();return N.includes(w)&&!T.disabled}}function A(E,C,T){var w=T.optionFilterProp,L=T.filterOption,N=[],D;return L===!1?C:(typeof L=="function"?D=L:D=h(w),C.forEach(function(F){if("options"in F){var R=D(E,F);if(R)N.push(F);else{var U=F.options.filter(function(M){return D(E,M)});U.length&&N.push(Object(r.a)(Object(r.a)({},F),{},{options:U}))}return}D(E,u(F))&&N.push(F)}),N)}function y(E,C){if(!C||!C.length)return null;var T=!1;function w(N,D){var F=f(D),R=F[0],U=F.slice(1);if(!R)return[N];var M=N.split(R);return T=T||M.length>1,M.reduce(function(j,P){return[].concat(Object(x.a)(j),Object(x.a)(w(P,U)))},[]).filter(function(j){return j})}var L=w(E,C);return T?L:null}function O(E,C){var T=t([E],C)[0];return T.disabled}function S(E,C,T,w){var L=Object(s.d)(C).slice().sort(),N=Object(x.a)(E),D=new Set;return E.forEach(function(F){F.options?F.options.forEach(function(R){D.add(R.value)}):D.add(F.value)}),L.forEach(function(F){var R=w?F.value:F;if(!D.has(R)){var U;N.push(w?(U={},Object(d.a)(U,T,F.label),Object(d.a)(U,"value",R),U):{value:R})}}),N}},"2dDv":function(J,B,e){var d=e("bYtY"),x=e("Fofx"),g=e("+TT/"),p=e("aX7z"),v=e("D1WM"),b=e("IwbS"),f=e("OELB"),i=e("72pK"),r=d.each,a=Math.min,s=Math.max,l=Math.floor,n=Math.ceil,u=f.round,t=Math.PI;function c(O,S,E){this._axesMap=d.createHashMap(),this._axesLayout={},this.dimensions=O.dimensions,this._rect,this._model=O,this._init(O,S,E)}c.prototype={type:"parallel",constructor:c,_init:function(O,S,E){var C=O.dimensions,T=O.parallelAxisIndex;r(C,function(w,L){var N=T[L],D=S.getComponent("parallelAxis",N),F=this._axesMap.set(w,new v(w,p.createScaleByModel(D),[0,0],D.get("type"),N)),R=F.type==="category";F.onBand=R&&D.get("boundaryGap"),F.inverse=D.get("inverse"),D.axis=F,F.model=D,F.coordinateSystem=D.coordinateSystem=this},this)},update:function(O,S){this._updateAxesFromSeries(this._model,O)},containPoint:function(O){var S=this._makeLayoutInfo(),E=S.axisBase,C=S.layoutBase,T=S.pixelDimIndex,w=O[1-T],L=O[T];return w>=E&&w<=E+S.axisLength&&L>=C&&L<=C+S.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(O,S){S.eachSeries(function(E){if(!O.contains(E,S))return;var C=E.getData();r(this.dimensions,function(T){var w=this._axesMap.get(T);w.scale.unionExtentFromData(C,C.mapDimension(T)),p.niceScaleExtent(w.scale,w.model)},this)},this)},resize:function(O,S){this._rect=g.getLayoutRect(O.getBoxLayoutParams(),{width:S.getWidth(),height:S.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var O=this._model,S=this._rect,E=["x","y"],C=["width","height"],T=O.get("layout"),w=T==="horizontal"?0:1,L=S[C[w]],N=[0,L],D=this.dimensions.length,F=o(O.get("axisExpandWidth"),N),R=o(O.get("axisExpandCount")||0,[0,D]),U=O.get("axisExpandable")&&D>3&&D>R&&R>1&&F>0&&L>0,M=O.get("axisExpandWindow"),j;if(M)j=o(M[1]-M[0],N),M[1]=M[0]+j;else{j=o(F*(R-1),N);var P=O.get("axisExpandCenter")||l(D/2);M=[F*P-j/2],M[1]=M[0]+j}var K=(L-j)/(D-R);K<3&&(K=0);var H=[l(u(M[0]/F,1))+1,n(u(M[1]/F,1))-1],_=K/F*M[0];return{layout:T,pixelDimIndex:w,layoutBase:S[E[w]],layoutLength:L,axisBase:S[E[1-w]],axisLength:S[C[1-w]],axisExpandable:U,axisExpandWidth:F,axisCollapseWidth:K,axisExpandWindow:M,axisCount:D,winInnerIndices:H,axisExpandWindow0Pos:_}},_layoutAxes:function(){var O=this._rect,S=this._axesMap,E=this.dimensions,C=this._makeLayoutInfo(),T=C.layout;S.each(function(w){var L=[0,C.axisLength],N=w.inverse?1:0;w.setExtent(L[N],L[1-N])}),r(E,function(w,L){var N=(C.axisExpandable?A:h)(L,C),D={horizontal:{x:N.position,y:C.axisLength},vertical:{x:0,y:N.position}},F={horizontal:t/2,vertical:0},R=[D[T].x+O.x,D[T].y+O.y],U=F[T],M=x.create();x.rotate(M,M,U),x.translate(M,M,R),this._axesLayout[w]={position:R,rotation:U,transform:M,axisNameAvailableWidth:N.axisNameAvailableWidth,axisLabelShow:N.axisLabelShow,nameTruncateMaxWidth:N.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(O){return this._axesMap.get(O)},dataToPoint:function(O,S){return this.axisCoordToPoint(this._axesMap.get(S).dataToCoord(O),S)},eachActiveState:function(O,S,E,C){E==null&&(E=0),C==null&&(C=O.count());var T=this._axesMap,w=this.dimensions,L=[],N=[];d.each(w,function(K){L.push(O.mapDimension(K)),N.push(T.get(K).model)});for(var D=this.hasAxisBrushed(),F=E;F<C;F++){var R;if(!D)R="normal";else{R="active";for(var U=O.getValues(L,F),M=0,j=w.length;M<j;M++){var P=N[M].getActiveState(U[M]);if(P==="inactive"){R="inactive";break}}}S(R,F)}},hasAxisBrushed:function(){for(var O=this.dimensions,S=this._axesMap,E=!1,C=0,T=O.length;C<T;C++)S.get(O[C]).model.getActiveState()!=="normal"&&(E=!0);return E},axisCoordToPoint:function(O,S){var E=this._axesLayout[S];return b.applyTransform([O,0],E.transform)},getAxisLayout:function(O){return d.clone(this._axesLayout[O])},getSlidedAxisExpandWindow:function(O){var S=this._makeLayoutInfo(),E=S.pixelDimIndex,C=S.axisExpandWindow.slice(),T=C[1]-C[0],w=[0,S.axisExpandWidth*(S.axisCount-1)];if(!this.containPoint(O))return{behavior:"none",axisExpandWindow:C};var L=O[E]-S.layoutBase-S.axisExpandWindow0Pos,N,D="slide",F=S.axisCollapseWidth,R=this._model.get("axisExpandSlideTriggerArea"),U=R[0]!=null;if(F)U&&F&&L<T*R[0]?(D="jump",N=L-T*R[2]):U&&F&&L>T*(1-R[0])?(D="jump",N=L-T*(1-R[2])):(N=L-T*R[1])>=0&&(N=L-T*(1-R[1]))<=0&&(N=0),N*=S.axisExpandWidth/F,N?i(N,C,w,"all"):D="none";else{var T=C[1]-C[0],M=w[1]*L/T;C=[s(0,M-T/2)],C[1]=a(w[1],C[0]+T),C[0]=C[1]-T}return{axisExpandWindow:C,behavior:D}}};function o(O,S){return a(s(O,S[0]),S[1])}function h(O,S){var E=S.layoutLength/(S.axisCount-1);return{position:E*O,axisNameAvailableWidth:E,axisLabelShow:!0}}function A(O,S){var E=S.layoutLength,C=S.axisExpandWidth,T=S.axisCount,w=S.axisCollapseWidth,L=S.winInnerIndices,N,D=w,F=!1,R;return O<L[0]?(N=O*w,R=w):O<=L[1]?(N=S.axisExpandWindow0Pos+O*C-S.axisExpandWindow[0],D=C,F=!0):(N=E-(T-1-O)*w,R=w),{position:N,axisNameAvailableWidth:D,axisLabelShow:F,nameTruncateMaxWidth:R}}var y=c;J.exports=y},"2fGM":function(J,B,e){var d=e("bYtY"),x=e("bLfw"),g=e("nkfE"),p=e("ICMv"),v=x.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});d.merge(v.prototype,p);var b={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function f(i,r){return r.type||(r.data?"category":"value")}g("angle",v,f,b.angle),g("radius",v,f,b.radius)},"2fM7":function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("lwsE"),b=e.n(v),f=e("W8MJ"),i=e.n(f),r=e("7W2i"),a=e.n(r),s=e("LQ03"),l=e.n(s),n=e("q1tI"),u=e("BGR+"),t=e("TSYQ"),c=e.n(t),o=e("1OyB"),h=e("vuIU"),A=e("Ji7U"),y=e("LK+K"),O=e("rePB"),S=e("Ff2n"),E=e("ODXe"),C=e("4IlW"),T=e("bX4T"),w=e("YrtM"),L=e("+nKL"),N=e("8OUc"),D=function(bt,dt){var vt=bt.prefixCls,Qe=bt.id,mt=bt.flattenOptions,Pe=bt.childrenAsData,De=bt.values,Ie=bt.searchValue,ot=bt.multiple,wt=bt.defaultActiveFirstOption,Bt=bt.height,_t=bt.itemHeight,Ue=bt.notFoundContent,zt=bt.open,xt=bt.menuItemSelectedIcon,Pt=bt.virtual,Ke=bt.onSelect,Ye=bt.onToggleOpen,$e=bt.onActiveValue,ut=bt.onScroll,et=bt.onMouseEnter,oe="".concat(vt,"-item"),me=Object(w.a)(function(){return mt},[zt,mt],function(ue,se){return se[0]&&ue[1]!==se[1]}),it=n.useRef(null),Be=function(se){se.preventDefault()},ht=function(se){it.current&&it.current.scrollTo({index:se})},Mr=function(se){for(var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ye=me.length,Ce=0;Ce<ye;Ce+=1){var Oe=(se+Ce*ae+ye)%ye,Te=me[Oe],xe=Te.group,ke=Te.data;if(!xe&&!ke.disabled)return Oe}return-1},Lt=n.useState(function(){return Mr(0)}),or=Object(E.a)(Lt,2),Qt=or[0],qt=or[1],hr=function(se){qt(se);var ae=me[se];if(!ae){$e(null,-1);return}$e(ae.data.value,se)};n.useEffect(function(){hr(wt!==!1?Mr(0):-1)},[me.length,Ie]),n.useEffect(function(){var ue=setTimeout(function(){if(!ot&&zt&&De.size===1){var se=Array.from(De)[0],ae=me.findIndex(function(ye){var Ce=ye.data;return Ce.value===se});hr(ae),ht(ae)}});return function(){return clearTimeout(ue)}},[zt]);var Gt=function(se){se!==void 0&&Ke(se,{selected:!De.has(se)}),ot||Ye(!1)};if(n.useImperativeHandle(dt,function(){return{onKeyDown:function(se){var ae=se.which;switch(ae){case C.a.UP:case C.a.DOWN:{var ye=0;if(ae===C.a.UP?ye=-1:ae===C.a.DOWN&&(ye=1),ye!==0){var Ce=Mr(Qt+ye,ye);ht(Ce),hr(Ce)}break}case C.a.ENTER:{var Oe=me[Qt];Oe&&!Oe.data.disabled?Gt(Oe.data.value):Gt(void 0),zt&&se.preventDefault();break}case C.a.ESC:Ye(!1)}},onKeyUp:function(){},scrollTo:function(se){ht(se)}}}),me.length===0)return n.createElement("div",{role:"listbox",id:"".concat(Qe,"_list"),className:"".concat(oe,"-empty"),onMouseDown:Be},Ue);function de(ue){var se=me[ue];if(!se)return null;var ae=se.data||{},ye=ae.value,Ce=ae.label,Oe=ae.children,Te=Object(T.a)(ae,!0),xe=Pe?Oe:Ce;return se?n.createElement("div",Object.assign({"aria-label":typeof xe=="string"?xe:null},Te,{key:ue,role:"option",id:"".concat(Qe,"_list_").concat(ue),"aria-selected":De.has(ye)}),ye):null}return n.createElement(n.Fragment,null,n.createElement("div",{role:"listbox",id:"".concat(Qe,"_list"),style:{height:0,width:0,overflow:"hidden"}},de(Qt-1),de(Qt),de(Qt+1)),n.createElement(L.a,{itemKey:"key",ref:it,data:me,height:Bt,itemHeight:_t,fullHeight:!1,onMouseDown:Be,onScroll:ut,virtual:Pt,onMouseEnter:et},function(ue,se){var ae,ye=ue.group,Ce=ue.groupOption,Oe=ue.data,Te=Oe.label,xe=Oe.key;if(ye)return n.createElement("div",{className:c()(oe,"".concat(oe,"-group"))},Te!==void 0?Te:xe);var ke=Oe.disabled,lt=Oe.value,At=Oe.title,ee=Oe.children,ie=Oe.style,z=Oe.className,$=Object(S.a)(Oe,["disabled","value","title","children","style","className"]),le=De.has(lt),ge="".concat(oe,"-option"),Ae=c()(oe,ge,z,(ae={},Object(O.a)(ae,"".concat(ge,"-grouped"),Ce),Object(O.a)(ae,"".concat(ge,"-active"),Qt===se&&!ke),Object(O.a)(ae,"".concat(ge,"-disabled"),ke),Object(O.a)(ae,"".concat(ge,"-selected"),le),ae)),Me=Pe?ee:Te,Ze=!xt||typeof xt=="function"||le;return n.createElement("div",Object.assign({},$,{"aria-selected":le,className:Ae,title:At,onMouseMove:function(){if(Qt===se||ke)return;hr(se)},onClick:function(){ke||Gt(lt)},style:ie}),n.createElement("div",{className:"".concat(ge,"-content")},Me||lt),n.isValidElement(xt)||le,Ze&&n.createElement(N.a,{className:"".concat(oe,"-option-state"),customizeIcon:xt,customizeIconProps:{isSelected:le}},le?"\u2713":null))}))},F=n.forwardRef(D);F.displayName="OptionList";var R=F,U=function(){return null};U.isSelectOption=!0;var M=U,j=function(){return null};j.isSelectOptGroup=!0;var P=j,K=e("VTBJ"),H=e("Zm9Q");function _(nt){var bt=nt.key,dt=nt.props,vt=dt.children,Qe=dt.value,mt=Object(S.a)(dt,["children","value"]);return Object(K.a)({key:bt,value:Qe!==void 0?Qe:bt,children:vt},mt)}function Z(nt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(H.a)(nt).map(function(dt,vt){if(!n.isValidElement(dt)||!dt.type)return null;var Qe=dt.type.isSelectOptGroup,mt=dt.key,Pe=dt.props,De=Pe.children,Ie=Object(S.a)(Pe,["children"]);return bt||!Qe?_(dt):Object(K.a)(Object(K.a)({key:"__RC_SELECT_GRP__".concat(mt===null?vt:mt,"__"),label:mt},Ie),{},{options:Z(De)})}).filter(function(dt){return dt})}var Y=e("2Qr1"),k=e("qNPg"),Q=e("U8pU"),X=e("Kwbf"),he=e("WKfj");function te(nt){var bt=nt.mode,dt=nt.options,vt=nt.children,Qe=nt.backfill,mt=nt.allowClear,Pe=nt.placeholder,De=nt.getInputElement,Ie=nt.showSearch,ot=nt.onSearch,wt=nt.defaultOpen,Bt=nt.autoFocus,_t=nt.labelInValue,Ue=nt.value,zt=nt.inputValue,xt=nt.optionLabelProp,Pt=bt==="multiple"||bt==="tags",Ke=Ie!==void 0?Ie:Pt||bt==="combobox",Ye=dt||Z(vt);if(Object(X.a)(bt!=="tags"||Ye.every(function(oe){return!oe.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),bt==="tags"||bt==="combobox"){var $e=Ye.some(function(oe){return oe.options?oe.options.some(function(me){return typeof("value"in me?me.value:me.key)=="number"}):typeof("value"in oe?oe.value:oe.key)=="number"});Object(X.a)(!$e,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(X.a)(bt!=="combobox"||!xt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(X.a)(bt==="combobox"||!Qe,"`backfill` only works with `combobox` mode."),Object(X.a)(bt==="combobox"||!De,"`getInputElement` only work with `combobox` mode."),Object(X.b)(bt!=="combobox"||!De||!mt||!Pe,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ot&&!Ke&&bt!=="combobox"&&bt!=="tags"&&Object(X.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(X.b)(!wt||Bt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ue!=null){var ut=Object(he.d)(Ue);Object(X.a)(!_t||ut.every(function(oe){return Object(Q.a)(oe)==="object"&&("key"in oe||"value"in oe)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(X.a)(!Pt||Array.isArray(Ue),"`value` should be array when `mode` is `multiple` or `tags`")}if(vt){var et=null;Object(H.a)(vt).some(function(oe){if(!n.isValidElement(oe)||!oe.type)return!1;var me=oe.type;if(me.isSelectOption)return!1;if(me.isSelectOptGroup){var it=Object(H.a)(oe.props.children).every(function(Be){return!n.isValidElement(Be)||!oe.type||Be.type.isSelectOption?!0:(et=Be.type,!1)});return!it}return et=me,!0}),et&&Object(X.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(et.displayName||et.name||et,"`.")),Object(X.a)(zt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var pe=te,Se=Object(k.a)({prefixCls:"rc-select",components:{optionList:R},convertChildrenToData:Z,flattenOptions:Y.d,getLabeledValue:Y.e,filterOptions:Y.b,isValueDisabled:Y.g,findValueOption:Y.c,warningProps:pe,fillOptionsWithMissingValue:Y.a}),we=function(nt){Object(A.a)(dt,nt);var bt=Object(y.a)(dt);function dt(){var vt;return Object(o.a)(this,dt),vt=bt.apply(this,arguments),vt.selectRef=n.createRef(),vt.focus=function(){vt.selectRef.current.focus()},vt.blur=function(){vt.selectRef.current.blur()},vt}return Object(h.a)(dt,[{key:"render",value:function(){return n.createElement(Se,Object.assign({ref:this.selectRef},this.props))}}]),dt}(n.Component);we.Option=M,we.OptGroup=P;var We=we,qe=We,yt=e("H84U"),_e=e("1vzs"),je=e("3Nzz"),Ct=function(nt){a()(dt,nt);var bt=l()(dt);function dt(){var vt;return b()(this,dt),vt=bt.apply(this,arguments),vt.selectRef=n.createRef(),vt.focus=function(){vt.selectRef.current&&vt.selectRef.current.focus()},vt.blur=function(){vt.selectRef.current&&vt.selectRef.current.blur()},vt.getMode=function(){var Qe=vt.props.mode;return Qe==="combobox"?void 0:Qe===dt.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":Qe},vt.renderSelect=function(Qe){var mt=Qe.getPopupContainer,Pe=Qe.getPrefixCls,De=Qe.renderEmpty,Ie=Qe.direction,ot=Qe.virtual,wt=Qe.dropdownMatchSelectWidth,Bt=vt.props,_t=Bt.prefixCls,Ue=Bt.notFoundContent,zt=Bt.className,xt=Bt.size,Pt=Bt.listHeight,Ke=Pt===void 0?256:Pt,Ye=Bt.listItemHeight,$e=Ye===void 0?24:Ye,ut=Bt.getPopupContainer,et=Bt.dropdownClassName,oe=Bt.bordered,me=Pe("select",_t),it=vt.getMode(),Be=it==="multiple"||it==="tags",ht;Ue!==void 0?ht=Ue:it==="combobox"?ht=null:ht=De("Select");var Mr=Object(_e.a)(p()(p()({},vt.props),{multiple:Be,prefixCls:me})),Lt=Mr.suffixIcon,or=Mr.itemIcon,Qt=Mr.removeIcon,qt=Mr.clearIcon,hr=Object(u.default)(vt.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Gt=c()(et,x()({},"".concat(me,"-dropdown-").concat(Ie),Ie==="rtl"));return n.createElement(je.b.Consumer,null,function(de){var ue,se=xt||de,ae=c()(zt,(ue={},x()(ue,"".concat(me,"-lg"),se==="large"),x()(ue,"".concat(me,"-sm"),se==="small"),x()(ue,"".concat(me,"-rtl"),Ie==="rtl"),x()(ue,"".concat(me,"-borderless"),!oe),ue));return n.createElement(qe,p()({ref:vt.selectRef,virtual:ot,dropdownMatchSelectWidth:wt},hr,{listHeight:Ke,listItemHeight:$e,mode:it,prefixCls:me,direction:Ie,inputIcon:Lt,menuItemSelectedIcon:or,removeIcon:Qt,clearIcon:qt,notFoundContent:ht,className:ae,getPopupContainer:ut||mt,dropdownClassName:Gt}))})},vt}return i()(dt,[{key:"render",value:function(){return n.createElement(yt.a,null,this.renderSelect)}}]),dt}(n.Component);Ct.Option=M,Ct.OptGroup=P,Ct.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ct.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ct=B.a=Ct},"2fw6":function(J,B,e){var d=e("y+Vt"),x=d.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(p,v,b){b&&p.moveTo(v.cx+v.r,v.cy),p.arc(v.cx,v.cy,v.r,0,Math.PI*2,!0)}});J.exports=x},"2gN3":function(J,B,e){var d=e("Kz5y"),x=d["__core-js_shared__"];J.exports=x},"2jpz":function(J,B,e){"use strict";e.d(B,"a",function(){return h});var d=e("cDf5"),x=e.n(d),g=e("q1tI"),p=e.n(g),v=e("TSYQ"),b=e.n(v),f=e("gZBC"),i=e.n(f),r=e("vk+C"),a=e.n(r),s=e("pG52"),l=e.n(s),n=e("Csr3"),u=e.n(n),t=e("e5VY"),c=e.n(t),o=e("0n0R");function h(A,y,O,S){var E=S.isLeaf,C=S.expanded,T=S.loading;if(T)return g.createElement(i.a,{className:"".concat(A,"-switcher-loading-icon")});var w;if(O&&x()(O)==="object"&&(w=O.showLeafIcon),E)return O?x()(O)==="object"&&!w?g.createElement("span",{className:"".concat(A,"-switcher-leaf-line")}):g.createElement(a.a,{className:"".concat(A,"-switcher-line-icon")}):null;var L="".concat(A,"-switcher-icon");return Object(o.b)(y)?Object(o.a)(y,{className:b()(y.props.className||"",L)}):y||(O?C?g.createElement(l.a,{className:"".concat(A,"-switcher-line-icon")}):g.createElement(u.a,{className:"".concat(A,"-switcher-line-icon")}):g.createElement(c.a,{className:L}))}},"2oIt":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};B.default=d},"2uGb":function(J,B,e){var d=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var x=e("kMLO"),g=e("nKiI");d.registerVisual(x),d.registerLayout(g)},"2w7y":function(J,B,e){var d=e("ProS");e("qMZE"),e("g0SD"),d.registerPreprocessor(function(x){x.markPoint=x.markPoint||{}})},"33Ds":function(J,B,e){var d=e("ProS"),x=e("b9oc"),g=e("Kagy"),p=e("IUWy"),v=g.toolbox.restore;function b(r){this.model=r}b.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:v.title};var f=b.prototype;f.onclick=function(r,a,s){x.clear(r),a.dispatchAction({type:"restore",from:this.uid})},p.register("restore",b),d.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,a){a.resetOption("recreate")});var i=b;J.exports=i},"3A9y":function(J,B){function e(d){return this.__data__.has(d)}J.exports=e},"3C/r":function(J,B){var e=function(g,p){this.image=g,this.repeat=p,this.type="pattern"};e.prototype.getCanvasPattern=function(x){return x.createPattern(this.image,this.repeat||"repeat")};var d=e;J.exports=d},"3CBa":function(J,B,e){var d=e("hydK"),x=d.createElement,g=e("bYtY"),p=e("SUKs"),v=e("y+Vt"),b=e("Dagg"),f=e("dqUG"),i=e("DBLp"),r=e("sW+o"),a=e("n6Mw"),s=e("vKoX"),l=e("P47w"),n=l.path,u=l.image,t=l.text;function c(L){return parseInt(L,10)}function o(L){return L instanceof v?n:L instanceof b?u:L instanceof f?t:n}function h(L,N){return N&&L&&N.parentNode!==L}function A(L,N,D){if(h(L,N)&&D){var F=D.nextSibling;F?L.insertBefore(N,F):L.appendChild(N)}}function y(L,N){if(h(L,N)){var D=L.firstChild;D?L.insertBefore(N,D):L.appendChild(N)}}function O(L,N){N&&L&&N.parentNode===L&&L.removeChild(N)}function S(L){return L.__textSvgEl}function E(L){return L.__svgEl}var C=function(N,D,F,R){this.root=N,this.storage=D,this._opts=F=g.extend({},F||{});var U=x("svg");U.setAttribute("xmlns","http://www.w3.org/2000/svg"),U.setAttribute("version","1.1"),U.setAttribute("baseProfile","full"),U.style.cssText="user-select:none;position:absolute;left:0;top:0;";var M=x("g");U.appendChild(M);var j=x("g");U.appendChild(j),this.gradientManager=new r(R,j),this.clipPathManager=new a(R,j),this.shadowManager=new s(R,j);var P=document.createElement("div");P.style.cssText="overflow:hidden;position:relative",this._svgDom=U,this._svgRoot=j,this._backgroundRoot=M,this._viewport=P,N.appendChild(P),P.appendChild(U),this.resize(F.width,F.height),this._visibleList=[]};C.prototype={constructor:C,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var N=this.getViewportRoot();if(N)return{offsetLeft:N.offsetLeft||0,offsetTop:N.offsetTop||0}},refresh:function(){var N=this.storage.getDisplayList(!0);this._paintList(N)},setBackgroundColor:function(N){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var D=x("rect");D.setAttribute("width",this.getWidth()),D.setAttribute("height",this.getHeight()),D.setAttribute("x",0),D.setAttribute("y",0),D.setAttribute("id",0),D.style.fill=N,this._backgroundRoot.appendChild(D),this._backgroundNode=D},_paintList:function(N){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var D=this._svgRoot,F=this._visibleList,R=N.length,U=[],M;for(M=0;M<R;M++){var j=N[M],P=o(j),K=E(j)||S(j);j.invisible||(j.__dirty&&(P&&P.brush(j),this.clipPathManager.update(j),j.style&&(this.gradientManager.update(j.style.fill),this.gradientManager.update(j.style.stroke),this.shadowManager.update(K,j)),j.__dirty=!1),U.push(j))}var H=i(F,U),_;for(M=0;M<H.length;M++){var Z=H[M];if(Z.removed)for(var Y=0;Y<Z.count;Y++){var j=F[Z.indices[Y]],K=E(j),k=S(j);O(D,K),O(D,k)}}for(M=0;M<H.length;M++){var Z=H[M];if(Z.added)for(var Y=0;Y<Z.count;Y++){var j=U[Z.indices[Y]],K=E(j),k=S(j);_?A(D,K,_):y(D,K),K?A(D,k,K):_?A(D,k,_):y(D,k),A(D,k,K),_=k||K||_,this.gradientManager.addWithoutUpdate(K||k,j),this.shadowManager.addWithoutUpdate(K||k,j),this.clipPathManager.markUsed(j)}else if(!Z.removed)for(var Y=0;Y<Z.count;Y++){var j=U[Z.indices[Y]],K=E(j),k=S(j),K=E(j),k=S(j);this.gradientManager.markUsed(j),this.gradientManager.addWithoutUpdate(K||k,j),this.shadowManager.markUsed(j),this.shadowManager.addWithoutUpdate(K||k,j),this.clipPathManager.markUsed(j),k&&A(D,k,K),_=K||k||_}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=U},_getDefs:function(N){var D=this._svgDom,F=D.getElementsByTagName("defs");if(F.length===0)if(N){var F=D.insertBefore(x("defs"),D.firstChild);return F.contains||(F.contains=function(U){var M=F.children;if(!M)return!1;for(var j=M.length-1;j>=0;--j)if(M[j]===U)return!0;return!1}),F}else return null;else return F[0]},resize:function(N,D){var F=this._viewport;F.style.display="none";var R=this._opts;if(N!=null&&(R.width=N),D!=null&&(R.height=D),N=this._getSize(0),D=this._getSize(1),F.style.display="",this._width!==N||this._height!==D){this._width=N,this._height=D;var U=F.style;U.width=N+"px",U.height=D+"px";var M=this._svgDom;M.setAttribute("width",N),M.setAttribute("height",D)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",N),this._backgroundNode.setAttribute("height",D))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(N){var D=this._opts,F=["width","height"][N],R=["clientWidth","clientHeight"][N],U=["paddingLeft","paddingTop"][N],M=["paddingRight","paddingBottom"][N];if(D[F]!=null&&D[F]!=="auto")return parseFloat(D[F]);var j=this.root,P=document.defaultView.getComputedStyle(j);return(j[R]||c(P[F])||c(j.style[F]))-(c(P[U])||0)-(c(P[M])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var N=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
|
|
\r<`));return"data:image/svg+xml;charset=UTF-8,"+N}};function T(L){return function(){p('In SVG mode painter not support method "'+L+'"')}}g.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(L){C.prototype[L]=T(L)});var w=C;J.exports=w},"3Fdi":function(J,B){var e=Function.prototype,d=e.toString;function x(g){if(g!=null){try{return d.call(g)}catch(p){}try{return g+""}catch(p){}}return""}J.exports=x},"3LNs":function(J,B,e){var d=e("bYtY"),x=e("Yl7c"),g=e("IwbS"),p=e("zTMp"),v=e("YH21"),b=e("iLNv"),f=e("4NO4"),i=f.makeInner,r=i(),a=d.clone,s=d.bind;function l(){}l.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(A,y,O,S){var E=y.get("value"),C=y.get("status");if(this._axisModel=A,this._axisPointerModel=y,this._api=O,!S&&this._lastValue===E&&this._lastStatus===C)return;this._lastValue=E,this._lastStatus=C;var T=this._group,w=this._handle;if(!C||C==="hide"){T&&T.hide(),w&&w.hide();return}T&&T.show(),w&&w.show();var L={};this.makeElOption(L,E,A,y,O);var N=L.graphicKey;N!==this._lastGraphicKey&&this.clear(O),this._lastGraphicKey=N;var D=this._moveAnimation=this.determineAnimation(A,y);if(!T)T=this._group=new g.Group,this.createPointerEl(T,L,A,y),this.createLabelEl(T,L,A,y),O.getZr().add(T);else{var F=d.curry(n,y,D);this.updatePointerEl(T,L,F,y),this.updateLabelEl(T,L,F,y)}o(T,y,!0),this._renderHandle(E)},remove:function(A){this.clear(A)},dispose:function(A){this.clear(A)},determineAnimation:function(A,y){var O=y.get("animation"),S=A.axis,E=S.type==="category",C=y.get("snap");if(!C&&!E)return!1;if(O==="auto"||O==null){var T=this.animationThreshold;if(E&&S.getBandWidth()>T)return!0;if(C){var w=p.getAxisInfo(A).seriesDataCount,L=S.getExtent();return Math.abs(L[0]-L[1])/w>T}return!1}return O===!0},makeElOption:function(A,y,O,S,E){},createPointerEl:function(A,y,O,S){var E=y.pointer;if(E){var C=r(A).pointerEl=new g[E.type](a(y.pointer));A.add(C)}},createLabelEl:function(A,y,O,S){if(y.label){var E=r(A).labelEl=new g.Rect(a(y.label));A.add(E),t(E,S)}},updatePointerEl:function(A,y,O){var S=r(A).pointerEl;S&&y.pointer&&(S.setStyle(y.pointer.style),O(S,{shape:y.pointer.shape}))},updateLabelEl:function(A,y,O,S){var E=r(A).labelEl;E&&(E.setStyle(y.label.style),O(E,{shape:y.label.shape,position:y.label.position}),t(E,S))},_renderHandle:function(A){if(this._dragging||!this.updateHandleTransform)return;var y=this._axisPointerModel,O=this._api.getZr(),S=this._handle,E=y.getModel("handle"),C=y.get("status");if(!E.get("show")||!C||C==="hide"){S&&O.remove(S),this._handle=null;return}var T;this._handle||(T=!0,S=this._handle=g.createIcon(E.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(N){v.stop(N.event)},onmousedown:s(this._onHandleDragMove,this,0,0),drift:s(this._onHandleDragMove,this),ondragend:s(this._onHandleDragEnd,this)}),O.add(S)),o(S,y,!1);var w=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];S.setStyle(E.getItemStyle(null,w));var L=E.get("size");d.isArray(L)||(L=[L,L]),S.attr("scale",[L[0]/2,L[1]/2]),b.createOrUpdate(this,"_doDispatchAxisPointer",E.get("throttle")||0,"fixRate"),this._moveHandleToValue(A,T)},_moveHandleToValue:function(A,y){n(this._axisPointerModel,!y&&this._moveAnimation,this._handle,c(this.getHandleTransform(A,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(A,y){var O=this._handle;if(!O)return;this._dragging=!0;var S=this.updateHandleTransform(c(O),[A,y],this._axisModel,this._axisPointerModel);this._payloadInfo=S,O.stopAnimation(),O.attr(c(S)),r(O).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var A=this._handle;if(!A)return;var y=this._payloadInfo,O=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:y.cursorPoint[0],y:y.cursorPoint[1],tooltipOption:y.tooltipOption,axesInfo:[{axisDim:O.axis.dim,axisIndex:O.componentIndex}]})},_onHandleDragEnd:function(A){this._dragging=!1;var y=this._handle;if(!y)return;var O=this._axisPointerModel.get("value");this._moveHandleToValue(O),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(A){this._lastValue=null,this._lastStatus=null;var y=A.getZr(),O=this._group,S=this._handle;y&&O&&(this._lastGraphicKey=null,O&&y.remove(O),S&&y.remove(S),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(A,y,O){return O=O||0,{x:A[O],y:A[1-O],width:y[O],height:y[1-O]}}},l.prototype.constructor=l;function n(A,y,O,S){u(r(O).lastProp,S)||(r(O).lastProp=S,y?g.updateProps(O,S,A):(O.stopAnimation(),O.attr(S)))}function u(A,y){if(d.isObject(A)&&d.isObject(y)){var O=!0;return d.each(y,function(S,E){O=O&&u(A[E],S)}),!!O}else return A===y}function t(A,y){A[y.get("label.show")?"show":"hide"]()}function c(A){return{position:A.position.slice(),rotation:A.rotation||0}}function o(A,y,O){var S=y.get("z"),E=y.get("zlevel");A&&A.traverse(function(C){C.type!=="group"&&(S!=null&&(C.z=S),E!=null&&(C.zlevel=E),C.silent=O)})}x.enableClassExtend(l);var h=l;J.exports=h},"3OrL":function(J,B,e){var d=e("bYtY"),x=e("6Ic6"),g=e("IwbS"),p=e("y+Vt"),v=["itemStyle"],b=["emphasis","itemStyle"],f=x.extend({type:"boxplot",render:function(n,u,t){var c=n.getData(),o=this.group,h=this._data;this._data||o.removeAll();var A=n.get("layout")==="horizontal"?1:0;c.diff(h).add(function(y){if(c.hasValue(y)){var O=c.getItemLayout(y),S=r(O,c,y,A,!0);c.setItemGraphicEl(y,S),o.add(S)}}).update(function(y,O){var S=h.getItemGraphicEl(O);if(!c.hasValue(y)){o.remove(S);return}var E=c.getItemLayout(y);S?a(E,S,c,y):S=r(E,c,y,A),o.add(S),c.setItemGraphicEl(y,S)}).remove(function(y){var O=h.getItemGraphicEl(y);O&&o.remove(O)}).execute(),this._data=c},remove:function(n){var u=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(c){c&&u.remove(c)})},dispose:d.noop}),i=p.extend({type:"boxplotBoxPath",shape:{},buildPath:function(n,u){var t=u.points,c=0;for(n.moveTo(t[c][0],t[c][1]),c++;c<4;c++)n.lineTo(t[c][0],t[c][1]);for(n.closePath();c<t.length;c++)n.moveTo(t[c][0],t[c][1]),c++,n.lineTo(t[c][0],t[c][1])}});function r(n,u,t,c,o){var h=n.ends,A=new i({shape:{points:o?s(h,c,n):h}});return a(n,A,u,t,o),A}function a(n,u,t,c,o){var h=t.hostModel,A=g[o?"initProps":"updateProps"];A(u,{shape:{points:n.ends}},h,c);var y=t.getItemModel(c),O=y.getModel(v),S=t.getItemVisual(c,"color"),E=O.getItemStyle(["borderColor"]);E.stroke=S,E.strokeNoScale=!0,u.useStyle(E),u.z2=100;var C=y.getModel(b).getItemStyle();g.setHoverStyle(u,C)}function s(n,u,t){return d.map(n,function(c){return c=c.slice(),c[u]=t.initBaseline,c})}var l=f;J.exports=l},"3S7+":function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("J4zp"),p=e.n(g),v=e("pVnL"),b=e.n(v),f=e("q1tI"),i=e.n(f),r=e("uciX"),a={adjustX:1,adjustY:1},s=[0,0],l={left:{points:["cr","cl"],overflow:a,offset:[-4,0],targetOffset:s},right:{points:["cl","cr"],overflow:a,offset:[4,0],targetOffset:s},top:{points:["bc","tc"],overflow:a,offset:[0,-4],targetOffset:s},bottom:{points:["tc","bc"],overflow:a,offset:[0,4],targetOffset:s},topLeft:{points:["bl","tl"],overflow:a,offset:[0,-4],targetOffset:s},leftTop:{points:["tr","tl"],overflow:a,offset:[-4,0],targetOffset:s},topRight:{points:["br","tr"],overflow:a,offset:[0,-4],targetOffset:s},rightTop:{points:["tl","tr"],overflow:a,offset:[4,0],targetOffset:s},bottomRight:{points:["tr","br"],overflow:a,offset:[0,4],targetOffset:s},rightBottom:{points:["bl","br"],overflow:a,offset:[4,0],targetOffset:s},bottomLeft:{points:["tl","bl"],overflow:a,offset:[0,4],targetOffset:s},leftBottom:{points:["br","bl"],overflow:a,offset:[-4,0],targetOffset:s}},n=l,u=function(k){var Q=k.overlay,X=k.prefixCls,he=k.id,te=k.overlayInnerStyle;return i.a.createElement("div",{className:"".concat(X,"-inner"),id:he,role:"tooltip",style:te},typeof Q=="function"?Q():Q)},t=u;function c(Y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(Q){return typeof Q}:c=function(Q){return Q&&typeof Symbol=="function"&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q},c(Y)}function o(Y,k){var Q=Object.keys(Y);if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(Y);k&&(X=X.filter(function(he){return Object.getOwnPropertyDescriptor(Y,he).enumerable})),Q.push.apply(Q,X)}return Q}function h(Y){for(var k=1;k<arguments.length;k++){var Q=arguments[k]!=null?arguments[k]:{};k%2?o(Object(Q),!0).forEach(function(X){A(Y,X,Q[X])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(Q)):o(Object(Q)).forEach(function(X){Object.defineProperty(Y,X,Object.getOwnPropertyDescriptor(Q,X))})}return Y}function A(Y,k,Q){return k in Y?Object.defineProperty(Y,k,{value:Q,enumerable:!0,configurable:!0,writable:!0}):Y[k]=Q,Y}function y(Y,k){if(Y==null)return{};var Q=O(Y,k),X,he;if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(Y);for(he=0;he<te.length;he++){if(X=te[he],k.indexOf(X)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Y,X))continue;Q[X]=Y[X]}}return Q}function O(Y,k){if(Y==null)return{};var Q={},X=Object.keys(Y),he,te;for(te=0;te<X.length;te++){if(he=X[te],k.indexOf(he)>=0)continue;Q[he]=Y[he]}return Q}var S=function(k,Q){var X=k.overlayClassName,he=k.trigger,te=he===void 0?["hover"]:he,pe=k.mouseEnterDelay,Se=pe===void 0?0:pe,we=k.mouseLeaveDelay,We=we===void 0?.1:we,qe=k.overlayStyle,yt=k.prefixCls,_e=yt===void 0?"rc-tooltip":yt,je=k.children,Ct=k.onVisibleChange,ct=k.afterVisibleChange,nt=k.transitionName,bt=k.animation,dt=k.placement,vt=dt===void 0?"right":dt,Qe=k.align,mt=Qe===void 0?{}:Qe,Pe=k.destroyTooltipOnHide,De=Pe===void 0?!1:Pe,Ie=k.defaultVisible,ot=k.getTooltipContainer,wt=k.overlayInnerStyle,Bt=y(k,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),_t=Object(f.useRef)(null);Object(f.useImperativeHandle)(Q,function(){return _t.current});var Ue=h({},Bt);"visible"in k&&(Ue.popupVisible=k.visible);var zt=function(){var $e=k.arrowContent,ut=$e===void 0?null:$e,et=k.overlay,oe=k.id;return[i.a.createElement("div",{className:"".concat(_e,"-arrow"),key:"arrow"},ut),i.a.createElement(t,{key:"content",prefixCls:_e,id:oe,overlay:et,overlayInnerStyle:wt})]},xt=!1,Pt=!1;if(typeof De=="boolean")xt=De;else if(De&&c(De)==="object"){var Ke=De.keepParent;xt=Ke===!0,Pt=Ke===!1}return i.a.createElement(r.a,Object.assign({popupClassName:X,prefixCls:_e,popup:zt,action:te,builtinPlacements:l,popupPlacement:vt,ref:_t,popupAlign:mt,getPopupContainer:ot,onPopupVisibleChange:Ct,afterPopupVisibleChange:ct,popupTransitionName:nt,popupAnimation:bt,defaultPopupVisible:Ie,destroyPopupOnHide:xt,autoDestroy:Pt,mouseLeaveDelay:We,popupStyle:qe,mouseEnterDelay:Se},Ue),je)},E=Object(f.forwardRef)(S),C=E,T=e("TSYQ"),w=e.n(T),L={adjustX:1,adjustY:1},N={adjustX:0,adjustY:0},D=[0,0];function F(Y){return typeof Y=="boolean"?Y?L:N:b()(b()({},N),Y)}function R(Y){var k=Y.arrowWidth,Q=k===void 0?5:k,X=Y.horizontalArrowShift,he=X===void 0?16:X,te=Y.verticalArrowShift,pe=te===void 0?8:te,Se=Y.autoAdjustOverflow,we={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(he+Q),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(pe+Q)]},topRight:{points:["br","tc"],offset:[he+Q,-4]},rightTop:{points:["tl","cr"],offset:[4,-(pe+Q)]},bottomRight:{points:["tr","bc"],offset:[he+Q,4]},rightBottom:{points:["bl","cr"],offset:[4,pe+Q]},bottomLeft:{points:["tl","bc"],offset:[-(he+Q),4]},leftBottom:{points:["br","cl"],offset:[-4,pe+Q]}};return Object.keys(we).forEach(function(We){we[We]=Y.arrowPointAtCenter?b()(b()({},we[We]),{overflow:F(Se),targetOffset:D}):b()(b()({},l[We]),{overflow:F(Se)}),we[We].ignoreShake=!0}),we}var U=e("0n0R"),M=e("H84U"),j=e("09Wf"),P=function(k,Q){var X={},he=b()({},k);return Q.forEach(function(te){k&&te in k&&(X[te]=k[te],delete he[te])}),{picked:X,omitted:he}},K=new RegExp("^(".concat(j.a.join("|"),")(-inverse)?$"));function H(Y,k){var Q=Y.type;if((Q.__ANT_BUTTON===!0||Q.__ANT_SWITCH===!0||Q.__ANT_CHECKBOX===!0||Y.type==="button")&&Y.props.disabled){var X=P(Y.props.style,["position","left","right","top","bottom","float","display","zIndex"]),he=X.picked,te=X.omitted,pe=b()(b()({display:"inline-block"},he),{cursor:"not-allowed",width:Y.props.block?"100%":null}),Se=b()(b()({},te),{pointerEvents:"none"}),we=Object(U.a)(Y,{style:Se,className:null});return f.createElement("span",{style:pe,className:w()(Y.props.className,"".concat(k,"-disabled-compatible-wrapper"))},we)}return Y}var _=f.forwardRef(function(Y,k){var Q,X=f.useContext(M.b),he=X.getPopupContainer,te=X.getPrefixCls,pe=X.direction,Se=f.useState(!!Y.visible||!!Y.defaultVisible),we=p()(Se,2),We=we[0],qe=we[1];f.useEffect(function(){"visible"in Y&&qe(Y.visible)},[Y.visible]);var yt=function(){var Ke=Y.title,Ye=Y.overlay;return!Ke&&!Ye&&Ke!==0},_e=function(Ke){"visible"in Y||qe(yt()?!1:Ke),Y.onVisibleChange&&!yt()&&Y.onVisibleChange(Ke)},je=function(){var Ke=Y.builtinPlacements,Ye=Y.arrowPointAtCenter,$e=Y.autoAdjustOverflow;return Ke||R({arrowPointAtCenter:Ye,autoAdjustOverflow:$e})},Ct=function(Ke,Ye){var $e=je(),ut=Object.keys($e).filter(function(me){return $e[me].points[0]===Ye.points[0]&&$e[me].points[1]===Ye.points[1]})[0];if(!ut)return;var et=Ke.getBoundingClientRect(),oe={top:"50%",left:"50%"};ut.indexOf("top")>=0||ut.indexOf("Bottom")>=0?oe.top="".concat(et.height-Ye.offset[1],"px"):(ut.indexOf("Top")>=0||ut.indexOf("bottom")>=0)&&(oe.top="".concat(-Ye.offset[1],"px")),ut.indexOf("left")>=0||ut.indexOf("Right")>=0?oe.left="".concat(et.width-Ye.offset[0],"px"):(ut.indexOf("right")>=0||ut.indexOf("Left")>=0)&&(oe.left="".concat(-Ye.offset[0],"px")),Ke.style.transformOrigin="".concat(oe.left," ").concat(oe.top)},ct=function(){var Ke=Y.title,Ye=Y.overlay;return Ke===0?Ke:Ye||Ke||""},nt=Y.prefixCls,bt=Y.openClassName,dt=Y.getPopupContainer,vt=Y.getTooltipContainer,Qe=Y.overlayClassName,mt=Y.color,Pe=Y.overlayInnerStyle,De=Y.children,Ie=te("tooltip",nt),ot=We;!("visible"in Y)&&yt()&&(ot=!1);var wt=H(Object(U.b)(De)?De:f.createElement("span",null,De),Ie),Bt=wt.props,_t=w()(Bt.className,x()({},bt||"".concat(Ie,"-open"),!0)),Ue=w()(Qe,(Q={},x()(Q,"".concat(Ie,"-rtl"),pe==="rtl"),x()(Q,"".concat(Ie,"-").concat(mt),mt&&K.test(mt)),Q)),zt,xt;return mt&&!K.test(mt)&&(zt=b()(b()({},Pe),{background:mt}),xt={background:mt}),f.createElement(C,b()({},Y,{prefixCls:Ie,overlayClassName:Ue,getTooltipContainer:dt||vt||he,ref:k,builtinPlacements:je(),overlay:ct(),visible:ot,onVisibleChange:_e,onPopupAlign:Ct,overlayInnerStyle:zt,arrowContent:f.createElement("span",{className:"".concat(Ie,"-arrow-content"),style:xt})}),ot?Object(U.a)(wt,{className:_t}):wt)});_.displayName="Tooltip",_.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var Z=B.a=_},"3TkU":function(J,B,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(J,B,e){var d=e("bYtY"),x=e("7a+S"),g=e("OKJ2"),p=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:[]}});d.mixin(p,g);var v=p;J.exports=v},"3e3G":function(J,B,e){var d=e("bYtY"),x=e("QuXc"),g=function(b,f,i,r,a){this.x=b==null?.5:b,this.y=f==null?.5:f,this.r=i==null?.5:i,this.type="radial",this.global=a||!1,x.call(this,r)};g.prototype={constructor:g},d.inherits(g,x);var p=g;J.exports=p},"3gBT":function(J,B){var e=2311;function d(){return e++}J.exports=d},"3hzK":function(J,B){var e={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};J.exports=e},"3m61":function(J,B){function e(x){return x instanceof Array||(x=[x,x]),x}function d(x){x.eachSeriesByType("graph",function(g){var p=g.getGraph(),v=g.getEdgeData(),b=e(g.get("edgeSymbol")),f=e(g.get("edgeSymbolSize")),i="lineStyle.color".split("."),r="lineStyle.opacity".split(".");v.setVisual("fromSymbol",b&&b[0]),v.setVisual("toSymbol",b&&b[1]),v.setVisual("fromSymbolSize",f&&f[0]),v.setVisual("toSymbolSize",f&&f[1]),v.setVisual("color",g.get(i)),v.setVisual("opacity",g.get(r)),v.each(function(a){var s=v.getItemModel(a),l=p.getEdgeByIndex(a),n=e(s.getShallow("symbol",!0)),u=e(s.getShallow("symbolSize",!0)),t=s.get(i),c=s.get(r);switch(t){case"source":t=l.node1.getVisual("color");break;case"target":t=l.node2.getVisual("color");break}n[0]&&l.setVisual("fromSymbol",n[0]),n[1]&&l.setVisual("toSymbol",n[1]),u[0]&&l.setVisual("fromSymbolSize",u[0]),u[1]&&l.setVisual("toSymbolSize",u[1]),l.setVisual("color",t),l.setVisual("opacity",c)})})}J.exports=d},"3zoK":function(J,B,e){var d=e("bYtY"),x=e("bLfw"),g=e("KCsZ"),p=e("nkfE"),v=e("OELB"),b=e("ICMv"),f=x.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return g([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(s){var l=this.activeIntervals=d.clone(s);if(l)for(var n=l.length-1;n>=0;n--)v.asc(l[n])},getActiveState:function(s){var l=this.activeIntervals;if(!l.length)return"normal";if(s==null||isNaN(s))return"inactive";if(l.length===1){var n=l[0];if(n[0]<=s&&s<=n[1])return"active"}else for(var u=0,t=l.length;u<t;u++)if(l[u][0]<=s&&s<=l[u][1])return"active";return"inactive"}}),i={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};d.merge(f.prototype,b);function r(s,l){return l.type||(l.data?"category":"value")}p("parallel",f,r,i);var a=f;J.exports=a},"4Feb":function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=e("IwbS"),v=e("x3X8"),b=v.getDefaultLabel,f=e("MwEJ"),i=e("nVfU"),r=i.getLayoutOnAxis,a=e("gPAo"),s=e("T4UG"),l=e("Qxkt"),n=e("6Ic6"),u=e("sK/D"),t=u.createClipPath,c=e("qj72"),o=e("ANjR"),h=e("MHtr"),A=e("6usn"),y=e("Rx6q"),O=p.CACHED_LABEL_STYLE_PROPERTIES,S=["itemStyle"],E=["emphasis","itemStyle"],C=["label"],T=["emphasis","label"],w="e\0\0",L={cartesian2d:c,geo:o,singleAxis:h,polar:A,calendar:y};s.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(te,pe){return f(this.getSource(),this)},getDataParams:function(te,pe,Se){var we=s.prototype.getDataParams.apply(this,arguments);return Se&&(we.info=Se.info),we}}),n.extend({type:"custom",_data:null,render:function(te,pe,Se,we){var We=this._data,qe=te.getData(),yt=this.group,_e=R(te,qe,pe,Se);qe.diff(We).add(function(Ct){M(null,Ct,_e(Ct,we),te,yt,qe)}).update(function(Ct,ct){var nt=We.getItemGraphicEl(ct);M(nt,Ct,_e(Ct,we),te,yt,qe)}).remove(function(Ct){var ct=We.getItemGraphicEl(Ct);ct&&yt.remove(ct)}).execute();var je=te.get("clip",!0)?t(te.coordinateSystem,!1,te):null;je?yt.setClipPath(je):yt.removeClipPath(),this._data=qe},incrementalPrepareRender:function(te,pe,Se){this.group.removeAll(),this._data=null},incrementalRender:function(te,pe,Se,we,We){var qe=pe.getData(),yt=R(pe,qe,Se,we);function _e(ct){ct.isGroup||(ct.incremental=!0,ct.useHoverLayer=!0)}for(var je=te.start;je<te.end;je++){var Ct=M(null,je,yt(je,We),pe,this.group,qe);Ct.traverse(_e)}},dispose:g.noop,filterForExposedEvent:function(te,pe,Se,we){var We=pe.element;if(We==null||Se.name===We)return!0;for(;(Se=Se.parent)&&Se!==this.group;)if(Se.name===We)return!0;return!1}});function N(te){var pe=te.type,Se;if(pe==="path"){var we=te.shape,We=we.width!=null&&we.height!=null?{x:we.x||0,y:we.y||0,width:we.width,height:we.height}:null,qe=Q(we);Se=p.makePath(qe,null,We,we.layout||"center"),Se.__customPathData=qe}else if(pe==="image")Se=new p.Image({}),Se.__customImagePath=te.style.image;else if(pe==="text")Se=new p.Text({}),Se.__customText=te.style.text;else if(pe==="group")Se=new p.Group;else{if(pe==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var yt=p.getShapeClass(pe);Se=new yt}return Se.__customGraphicType=pe,Se.name=te.name,Se}function D(te,pe,Se,we,We,qe,yt){var _e={},je=Se.style||{};if(Se.shape&&(_e.shape=g.clone(Se.shape)),Se.position&&(_e.position=Se.position.slice()),Se.scale&&(_e.scale=Se.scale.slice()),Se.origin&&(_e.origin=Se.origin.slice()),Se.rotation&&(_e.rotation=Se.rotation),te.type==="image"&&Se.style){var Ct=_e.style={};g.each(["x","y","width","height"],function(bt){F(bt,Ct,je,te.style,qe)})}if(te.type==="text"&&Se.style){var Ct=_e.style={};g.each(["x","y"],function(dt){F(dt,Ct,je,te.style,qe)}),!je.hasOwnProperty("textFill")&&je.fill&&(je.textFill=je.fill),!je.hasOwnProperty("textStroke")&&je.stroke&&(je.textStroke=je.stroke)}if(te.type!=="group"&&(te.useStyle(je),qe)){te.style.opacity=0;var ct=je.opacity;ct==null&&(ct=1),p.initProps(te,{style:{opacity:ct}},we,pe)}qe?te.attr(_e):p.updateProps(te,_e,we,pe),Se.hasOwnProperty("z2")&&te.attr("z2",Se.z2||0),Se.hasOwnProperty("silent")&&te.attr("silent",Se.silent),Se.hasOwnProperty("invisible")&&te.attr("invisible",Se.invisible),Se.hasOwnProperty("ignore")&&te.attr("ignore",Se.ignore),Se.hasOwnProperty("info")&&te.attr("info",Se.info);var nt=Se.styleEmphasis;p.setElementHoverStyle(te,nt),yt&&p.setAsHighDownDispatcher(te,nt!==!1)}function F(te,pe,Se,we,We){Se[te]!=null&&!We&&(pe[te]=Se[te],Se[te]=we[te])}function R(te,pe,Se,we){var We=te.get("renderItem"),qe=te.coordinateSystem,yt={};qe&&(yt=qe.prepareCustoms?qe.prepareCustoms():L[qe.type](qe));var _e=g.defaults({getWidth:we.getWidth,getHeight:we.getHeight,getZr:we.getZr,getDevicePixelRatio:we.getDevicePixelRatio,value:mt,style:Pe,styleEmphasis:De,visual:Ie,barLayout:ot,currentSeriesIndices:wt,font:Bt},yt.api||{}),je={context:{},seriesId:te.id,seriesName:te.name,seriesIndex:te.seriesIndex,coordSys:yt.coordSys,dataInsideLength:pe.count(),encode:U(te.getData())},Ct,ct=!0,nt,bt,dt,vt;return function(_t,Ue){return Ct=_t,ct=!0,We&&We(g.defaults({dataIndexInside:_t,dataIndex:pe.getRawIndex(_t),actionType:Ue?Ue.type:null},je),_e)};function Qe(_t){_t==null&&(_t=Ct),ct&&(nt=pe.getItemModel(_t),bt=nt.getModel(C),dt=nt.getModel(T),vt=pe.getItemVisual(_t,"color"),ct=!1)}function mt(_t,Ue){return Ue==null&&(Ue=Ct),pe.get(pe.getDimension(_t||0),Ue)}function Pe(_t,Ue){Ue==null&&(Ue=Ct),Qe(Ue);var zt=nt.getModel(S).getItemStyle();vt!=null&&(zt.fill=vt);var xt=pe.getItemVisual(Ue,"opacity");xt!=null&&(zt.opacity=xt);var Pt=_t?Z(_t,bt):bt;return p.setTextStyle(zt,Pt,null,{autoColor:vt,isRectText:!0}),zt.text=Pt.getShallow("show")?g.retrieve2(te.getFormattedLabel(Ue,"normal"),b(pe,Ue)):null,_t&&Y(zt,_t),zt}function De(_t,Ue){Ue==null&&(Ue=Ct),Qe(Ue);var zt=nt.getModel(E).getItemStyle(),xt=_t?Z(_t,dt):dt;return p.setTextStyle(zt,xt,null,{isRectText:!0},!0),zt.text=xt.getShallow("show")?g.retrieve3(te.getFormattedLabel(Ue,"emphasis"),te.getFormattedLabel(Ue,"normal"),b(pe,Ue)):null,_t&&Y(zt,_t),zt}function Ie(_t,Ue){return Ue==null&&(Ue=Ct),pe.getItemVisual(Ue,_t)}function ot(_t){if(qe.getBaseAxis){var Ue=qe.getBaseAxis();return r(g.defaults({axis:Ue},_t),we)}}function wt(){return Se.getCurrentSeriesIndices()}function Bt(_t){return p.getFont(_t,Se)}}function U(te){var pe={};return g.each(te.dimensions,function(Se,we){var We=te.getDimensionInfo(Se);if(!We.isExtraCoord){var qe=We.coordDim,yt=pe[qe]=pe[qe]||[];yt[We.coordDimIndex]=we}}),pe}function M(te,pe,Se,we,We,qe){return te=j(te,pe,Se,we,We,qe,!0),te&&qe.setItemGraphicEl(pe,te),te}function j(te,pe,Se,we,We,qe,yt){var _e=!Se;Se=Se||{};var je=Se.type,Ct=Se.shape,ct=Se.style;if(te&&(_e||je!=null&&je!==te.__customGraphicType||je==="path"&&X(Ct)&&Q(Ct)!==te.__customPathData||je==="image"&&he(ct,"image")&&ct.image!==te.__customImagePath||je==="text"&&he(Ct,"text")&&ct.text!==te.__customText)&&(We.remove(te),te=null),_e)return;var nt=!te;return!te&&(te=N(Se)),D(te,pe,Se,we,qe,nt,yt),je==="group"&&P(te,pe,Se,we,qe),We.add(te),te}function P(te,pe,Se,we,We){var qe=Se.children,yt=qe?qe.length:0,_e=Se.$mergeChildren,je=_e==="byName"||Se.diffChildrenByName,Ct=_e===!1;if(!yt&&!je&&!Ct)return;if(je){K({oldChildren:te.children()||[],newChildren:qe||[],dataIndex:pe,animatableModel:we,group:te,data:We});return}Ct&&te.removeAll();for(var ct=0;ct<yt;ct++)qe[ct]&&j(te.childAt(ct),pe,qe[ct],we,te,We)}function K(te){new a(te.oldChildren,te.newChildren,H,H,te).add(_).update(_).remove(k).execute()}function H(te,pe){var Se=te&&te.name;return Se!=null?Se:w+pe}function _(te,pe){var Se=this.context,we=te!=null?Se.newChildren[te]:null,We=pe!=null?Se.oldChildren[pe]:null;j(We,Se.dataIndex,we,Se.animatableModel,Se.group,Se.data)}function Z(te,pe){var Se=new l({},pe);return g.each(O,function(we,We){te.hasOwnProperty(we)&&(Se.option[We]=te[we])}),Se}function Y(te,pe){for(var Se in pe)(pe.hasOwnProperty(Se)||!O.hasOwnProperty(Se))&&(te[Se]=pe[Se])}function k(te){var pe=this.context,Se=pe.oldChildren[te];Se&&pe.group.remove(Se)}function Q(te){return te&&(te.pathData||te.d)}function X(te){return te&&(te.hasOwnProperty("pathData")||te.hasOwnProperty("d"))}function he(te,pe){return te&&te.hasOwnProperty(pe)}},"4HMb":function(J,B,e){var d=e("bYtY"),x=e("6GrX"),g=e("4NO4"),p=g.makeInner,v=e("aX7z"),b=v.makeLabelFormatter,f=v.getOptionCategoryInterval,i=v.shouldShowAllLabels,r=p();function a(C){return C.type==="category"?l(C):t(C)}function s(C,T){return C.type==="category"?u(C,T):{ticks:C.scale.getTicks()}}function l(C){var T=C.getLabelModel(),w=n(C,T);return!T.get("show")||C.scale.isBlank()?{labels:[],labelCategoryInterval:w.labelCategoryInterval}:w}function n(C,T){var w=c(C,"labels"),L=f(T),N=o(w,L);if(N)return N;var D,F;return d.isFunction(L)?D=E(C,L):(F=L==="auto"?A(C):L,D=S(C,F)),h(w,L,{labels:D,labelCategoryInterval:F})}function u(C,T){var w=c(C,"ticks"),L=f(T),N=o(w,L);if(N)return N;var D,F;if((!T.get("show")||C.scale.isBlank())&&(D=[]),d.isFunction(L))D=E(C,L,!0);else if(L==="auto"){var R=n(C,C.getLabelModel());F=R.labelCategoryInterval,D=d.map(R.labels,function(U){return U.tickValue})}else F=L,D=S(C,F,!0);return h(w,L,{ticks:D,tickCategoryInterval:F})}function t(C){var T=C.scale.getTicks(),w=b(C);return{labels:d.map(T,function(L,N){return{formattedLabel:w(L,N),rawLabel:C.scale.getLabel(L),tickValue:L}})}}function c(C,T){return r(C)[T]||(r(C)[T]=[])}function o(C,T){for(var w=0;w<C.length;w++)if(C[w].key===T)return C[w].value}function h(C,T,w){return C.push({key:T,value:w}),w}function A(C){var T=r(C).autoInterval;return T!=null?T:r(C).autoInterval=C.calculateCategoryInterval()}function y(C){var T=O(C),w=b(C),L=(T.axisRotate-T.labelRotate)/180*Math.PI,N=C.scale,D=N.getExtent(),F=N.count();if(D[1]-D[0]<1)return 0;var R=1;F>40&&(R=Math.max(1,Math.floor(F/40)));for(var U=D[0],M=C.dataToCoord(U+1)-C.dataToCoord(U),j=Math.abs(M*Math.cos(L)),P=Math.abs(M*Math.sin(L)),K=0,H=0;U<=D[1];U+=R){var _=0,Z=0,Y=x.getBoundingRect(w(U),T.font,"center","top");_=Y.width*1.3,Z=Y.height*1.3,K=Math.max(K,_,7),H=Math.max(H,Z,7)}var k=K/j,Q=H/P;isNaN(k)&&(k=Infinity),isNaN(Q)&&(Q=Infinity);var X=Math.max(0,Math.floor(Math.min(k,Q))),he=r(C.model),te=C.getExtent(),pe=he.lastAutoInterval,Se=he.lastTickCount;return pe!=null&&Se!=null&&Math.abs(pe-X)<=1&&Math.abs(Se-F)<=1&&pe>X&&he.axisExtend0===te[0]&&he.axisExtend1===te[1]?X=pe:(he.lastTickCount=F,he.lastAutoInterval=X,he.axisExtend0=te[0],he.axisExtend1=te[1]),X}function O(C){var T=C.getLabelModel();return{axisRotate:C.getRotate?C.getRotate():C.isHorizontal&&!C.isHorizontal()?90:0,labelRotate:T.get("rotate")||0,font:T.getFont()}}function S(C,T,w){var L=b(C),N=C.scale,D=N.getExtent(),F=C.getLabelModel(),R=[],U=Math.max((T||0)+1,1),M=D[0],j=N.count();M!==0&&U>1&&j/U>2&&(M=Math.round(Math.ceil(M/U)*U));var P=i(C),K=F.get("showMinLabel")||P,H=F.get("showMaxLabel")||P;K&&M!==D[0]&&Z(D[0]);for(var _=M;_<=D[1];_+=U)Z(_);H&&_-U!==D[1]&&Z(D[1]);function Z(Y){R.push(w?Y:{formattedLabel:L(Y),rawLabel:N.getLabel(Y),tickValue:Y})}return R}function E(C,T,w){var L=C.scale,N=b(C),D=[];return d.each(L.getTicks(),function(F){var R=L.getLabel(F);T(F,R)&&D.push(w?F:{formattedLabel:N(F),rawLabel:R,tickValue:F})}),D}B.createAxisLabels=a,B.createAxisTicks=s,B.calculateCategoryInterval=y},"4NO4":function(J,B,e){var d=e("bYtY"),x=e("ItGF"),g=d.each,p=d.isObject,v=d.isArray,b="series\0";function f(w){return w instanceof Array?w:w==null?[]:[w]}function i(w,L,N){if(w){w[L]=w[L]||{},w.emphasis=w.emphasis||{},w.emphasis[L]=w.emphasis[L]||{};for(var D=0,F=N.length;D<F;D++){var R=N[D];!w.emphasis[L].hasOwnProperty(R)&&w[L].hasOwnProperty(R)&&(w.emphasis[L][R]=w[L][R])}}}var r=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function a(w){return p(w)&&!v(w)&&!(w instanceof Date)?w.value:w}function s(w){return p(w)&&!(w instanceof Array)}function l(w,L){L=(L||[]).slice();var N=d.map(w||[],function(D,F){return{exist:D}});return g(L,function(D,F){if(!p(D))return;for(var R=0;R<N.length;R++)if(!N[R].option&&D.id!=null&&N[R].exist.id===D.id+""){N[R].option=D,L[F]=null;return}for(var R=0;R<N.length;R++){var U=N[R].exist;if(!N[R].option&&(U.id==null||D.id==null)&&D.name!=null&&!t(D)&&!t(U)&&U.name===D.name+""){N[R].option=D,L[F]=null;return}}}),g(L,function(D,F){if(!p(D))return;for(var R=0;R<N.length;R++){var U=N[R].exist;if(!N[R].option&&!t(U)&&D.id==null){N[R].option=D;break}}R>=N.length&&N.push({option:D})}),N}function n(w){var L=d.createHashMap();g(w,function(N,D){var F=N.exist;F&&L.set(F.id,N)}),g(w,function(N,D){var F=N.option;d.assert(!F||F.id==null||!L.get(F.id)||L.get(F.id)===N,"id duplicates: "+(F&&F.id)),F&&F.id!=null&&L.set(F.id,N),!N.keyInfo&&(N.keyInfo={})}),g(w,function(N,D){var F=N.exist,R=N.option,U=N.keyInfo;if(!p(R))return;if(U.name=R.name!=null?R.name+"":F?F.name:b+D,F)U.id=F.id;else if(R.id!=null)U.id=R.id+"";else{var M=0;do U.id="\0"+U.name+"\0"+M++;while(L.get(U.id))}L.set(U.id,N)})}function u(w){var L=w.name;return!!(L&&L.indexOf(b))}function t(w){return p(w)&&w.id&&(w.id+"").indexOf("\0_ec_\0")===0}function c(w,L){var N={},D={};return F(w||[],N),F(L||[],D,N),[R(N),R(D)];function F(U,M,j){for(var P=0,K=U.length;P<K;P++)for(var H=U[P].seriesId,_=f(U[P].dataIndex),Z=j&&j[H],Y=0,k=_.length;Y<k;Y++){var Q=_[Y];Z&&Z[Q]?Z[Q]=null:(M[H]||(M[H]={}))[Q]=1}}function R(U,M){var j=[];for(var P in U)if(U.hasOwnProperty(P)&&U[P]!=null)if(M)j.push(+P);else{var K=R(U[P],!0);K.length&&j.push({seriesId:P,dataIndex:K})}return j}}function o(w,L){if(L.dataIndexInside!=null)return L.dataIndexInside;if(L.dataIndex!=null)return d.isArray(L.dataIndex)?d.map(L.dataIndex,function(N){return w.indexOfRawIndex(N)}):w.indexOfRawIndex(L.dataIndex);if(L.name!=null)return d.isArray(L.name)?d.map(L.name,function(N){return w.indexOfName(N)}):w.indexOfName(L.name)}function h(){var w="__\0ec_inner_"+A+++"_"+Math.random().toFixed(5);return function(L){return L[w]||(L[w]={})}}var A=0;function y(w,L,N){if(d.isString(L)){var D={};D[L+"Index"]=0,L=D}var F=N&&N.defaultMainType;F&&!O(L,F+"Index")&&!O(L,F+"Id")&&!O(L,F+"Name")&&(L[F+"Index"]=0);var R={};return g(L,function(U,M){var U=L[M];if(M==="dataIndex"||M==="dataIndexInside"){R[M]=U;return}var j=M.match(/^(\w+)(Index|Id|Name)$/)||[],P=j[1],K=(j[2]||"").toLowerCase();if(!P||!K||U==null||K==="index"&&U==="none"||N&&N.includeMainTypes&&d.indexOf(N.includeMainTypes,P)<0)return;var H={mainType:P};(K!=="index"||U!=="all")&&(H[K]=U);var _=w.queryComponents(H);R[P+"Models"]=_,R[P+"Model"]=_[0]}),R}function O(w,L){return w&&w.hasOwnProperty(L)}function S(w,L,N){w.setAttribute?w.setAttribute(L,N):w[L]=N}function E(w,L){return w.getAttribute?w.getAttribute(L):w[L]}function C(w){return w==="auto"?x.domSupported?"html":"richText":w||"html"}function T(w,L){var N=d.createHashMap(),D=[];return d.each(w,function(F){var R=L(F);(N.get(R)||(D.push(R),N.set(R,[]))).push(F)}),{keys:D,buckets:N}}B.normalizeToArray=f,B.defaultEmphasis=i,B.TEXT_STYLE_OPTIONS=r,B.getDataItemValue=a,B.isDataItemOption=s,B.mappingToExists=l,B.makeIdAndName=n,B.isNameSpecified=u,B.isIdInner=t,B.compressBatches=c,B.queryDataIndex=o,B.makeInner=h,B.parseFinder=y,B.setAttribute=S,B.getAttribute=E,B.getTooltipRenderMode=C,B.groupData=T},"4NgU":function(J,B,e){var d=e("Yl7c");function x(p){this._setting=p||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}x.prototype.parse=function(p){return p},x.prototype.getSetting=function(p){return this._setting[p]},x.prototype.contain=function(p){var v=this._extent;return p>=v[0]&&p<=v[1]},x.prototype.normalize=function(p){var v=this._extent;return v[1]===v[0]?.5:(p-v[0])/(v[1]-v[0])},x.prototype.scale=function(p){var v=this._extent;return p*(v[1]-v[0])+v[0]},x.prototype.unionExtent=function(p){var v=this._extent;p[0]<v[0]&&(v[0]=p[0]),p[1]>v[1]&&(v[1]=p[1])},x.prototype.unionExtentFromData=function(p,v){this.unionExtent(p.getApproximateExtent(v))},x.prototype.getExtent=function(){return this._extent.slice()},x.prototype.setExtent=function(p,v){var b=this._extent;isNaN(p)||(b[0]=p),isNaN(v)||(b[1]=v)},x.prototype.isBlank=function(){return this._isBlank},x.prototype.setBlank=function(p){this._isBlank=p},x.prototype.getLabel=null,d.enableClassExtend(x),d.enableClassManagement(x,{registerWhenExtend:!0});var g=x;J.exports=g},"4fz+":function(J,B,e){var d=e("bYtY"),x=e("1bdT"),g=e("mFDi"),p=function(f){f=f||{},x.call(this,f);for(var i in f)f.hasOwnProperty(i)&&(this[i]=f[i]);this._children=[],this.__storage=null,this.__dirty=!0};p.prototype={constructor:p,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(f){return this._children[f]},childOfName:function(f){for(var i=this._children,r=0;r<i.length;r++)if(i[r].name===f)return i[r]},childCount:function(){return this._children.length},add:function(f){return f&&f!==this&&f.parent!==this&&(this._children.push(f),this._doAdd(f)),this},addBefore:function(f,i){if(f&&f!==this&&f.parent!==this&&i&&i.parent===this){var r=this._children,a=r.indexOf(i);a>=0&&(r.splice(a,0,f),this._doAdd(f))}return this},_doAdd:function(f){f.parent&&f.parent.remove(f),f.parent=this;var i=this.__storage,r=this.__zr;i&&i!==f.__storage&&(i.addToStorage(f),f instanceof p&&f.addChildrenToStorage(i)),r&&r.refresh()},remove:function(f){var i=this.__zr,r=this.__storage,a=this._children,s=d.indexOf(a,f);return s<0?this:(a.splice(s,1),f.parent=null,r&&(r.delFromStorage(f),f instanceof p&&f.delChildrenFromStorage(r)),i&&i.refresh(),this)},removeAll:function(){var f=this._children,i=this.__storage,r,a;for(a=0;a<f.length;a++)r=f[a],i&&(i.delFromStorage(r),r instanceof p&&r.delChildrenFromStorage(i)),r.parent=null;return f.length=0,this},eachChild:function(f,i){for(var r=this._children,a=0;a<r.length;a++){var s=r[a];f.call(i,s,a)}return this},traverse:function(f,i){for(var r=0;r<this._children.length;r++){var a=this._children[r];f.call(i,a),a.type==="group"&&a.traverse(f,i)}return this},addChildrenToStorage:function(f){for(var i=0;i<this._children.length;i++){var r=this._children[i];f.addToStorage(r),r instanceof p&&r.addChildrenToStorage(f)}},delChildrenFromStorage:function(f){for(var i=0;i<this._children.length;i++){var r=this._children[i];f.delFromStorage(r),r instanceof p&&r.delChildrenFromStorage(f)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(f){for(var i=null,r=new g(0,0,0,0),a=f||this._children,s=[],l=0;l<a.length;l++){var n=a[l];if(n.ignore||n.invisible)continue;var u=n.getBoundingRect(),t=n.getLocalTransform(s);t?(r.copy(u),r.applyTransform(t),i=i||r.clone(),i.union(r)):(i=i||u.clone(),i.union(u))}return i||r}},d.inherits(p,x);var v=p;J.exports=v},"4i/N":function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="CloseOutlined";var b=B.a=d.forwardRef(v)},"4kuk":function(J,B,e){var d=e("SfRM"),x=e("Hvzi"),g=e("u8Dt"),p=e("ekgI"),v=e("JSQU");function b(f){var i=-1,r=f==null?0:f.length;for(this.clear();++i<r;){var a=f[i];this.set(a[0],a[1])}}b.prototype.clear=d,b.prototype.delete=x,b.prototype.get=g,b.prototype.has=p,b.prototype.set=v,J.exports=b},"4mN7":function(J,B,e){var d=e("QBsz"),x=e("Sj9i"),g=Math.min,p=Math.max,v=Math.sin,b=Math.cos,f=Math.PI*2,i=d.create(),r=d.create(),a=d.create();function s(h,A,y){if(h.length===0)return;var O=h[0],S=O[0],E=O[0],C=O[1],T=O[1],w;for(w=1;w<h.length;w++)O=h[w],S=g(S,O[0]),E=p(E,O[0]),C=g(C,O[1]),T=p(T,O[1]);A[0]=S,A[1]=C,y[0]=E,y[1]=T}function l(h,A,y,O,S,E){S[0]=g(h,y),S[1]=g(A,O),E[0]=p(h,y),E[1]=p(A,O)}var n=[],u=[];function t(h,A,y,O,S,E,C,T,w,L){var N=x.cubicExtrema,D=x.cubicAt,F,R=N(h,y,S,C,n);for(w[0]=Infinity,w[1]=Infinity,L[0]=-Infinity,L[1]=-Infinity,F=0;F<R;F++){var U=D(h,y,S,C,n[F]);w[0]=g(U,w[0]),L[0]=p(U,L[0])}for(R=N(A,O,E,T,u),F=0;F<R;F++){var M=D(A,O,E,T,u[F]);w[1]=g(M,w[1]),L[1]=p(M,L[1])}w[0]=g(h,w[0]),L[0]=p(h,L[0]),w[0]=g(C,w[0]),L[0]=p(C,L[0]),w[1]=g(A,w[1]),L[1]=p(A,L[1]),w[1]=g(T,w[1]),L[1]=p(T,L[1])}function c(h,A,y,O,S,E,C,T){var w=x.quadraticExtremum,L=x.quadraticAt,N=p(g(w(h,y,S),1),0),D=p(g(w(A,O,E),1),0),F=L(h,y,S,N),R=L(A,O,E,D);C[0]=g(h,S,F),C[1]=g(A,E,R),T[0]=p(h,S,F),T[1]=p(A,E,R)}function o(h,A,y,O,S,E,C,T,w){var L=d.min,N=d.max,D=Math.abs(S-E);if(D%f<1e-4&&D>1e-4){T[0]=h-y,T[1]=A-O,w[0]=h+y,w[1]=A+O;return}if(i[0]=b(S)*y+h,i[1]=v(S)*O+A,r[0]=b(E)*y+h,r[1]=v(E)*O+A,L(T,i,r),N(w,i,r),S=S%f,S<0&&(S=S+f),E=E%f,E<0&&(E=E+f),S>E&&!C?E+=f:S<E&&C&&(S+=f),C){var F=E;E=S,S=F}for(var R=0;R<E;R+=Math.PI/2)R>S&&(a[0]=b(R)*y+h,a[1]=v(R)*O+A,L(T,a,T),N(w,a,w))}B.fromPoints=s,B.fromLine=l,B.fromCubic=t,B.fromQuadratic=c,B.fromArc=o},"4vCz":function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("X2/X")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="PlusSquareOutlined";var f=g.forwardRef(b);B.default=f},"4xFK":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};B.default=d},"56rv":function(J,B,e){var d=e("IwbS"),x=e("x3X8"),g=x.getDefaultLabel;function p(b,f,i,r,a,s,l){var n=i.getModel("label"),u=i.getModel("emphasis.label");d.setLabelStyle(b,f,n,u,{labelFetcher:a,labelDataIndex:s,defaultText:g(a.getData(),s),isRectText:!0,autoColor:r}),v(b),v(f)}function v(b,f){b.textPosition==="outside"&&(b.textPosition=f)}B.setLabel=p},"59Ip":function(J,B,e){var d=e("Sj9i");function x(g,p,v,b,f,i,r,a,s,l,n){if(s===0)return!1;var u=s;if(n>p+u&&n>b+u&&n>i+u&&n>a+u||n<p-u&&n<b-u&&n<i-u&&n<a-u||l>g+u&&l>v+u&&l>f+u&&l>r+u||l<g-u&&l<v-u&&l<f-u&&l<r-u)return!1;var t=d.cubicProjectPoint(g,p,v,b,f,i,r,a,l,n,null);return t<=u/2}B.containStroke=x},"5Dmo":function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("5YgA"),p=e.n(g)},"5GOC":function(J,B,e){"use strict";var d=e("cIOH"),x=e("b56q"),g=e("15/o")},"5GhG":function(J,B,e){var d=e("5GtS"),x=e("bYtY"),g=e("L0Ub"),p=g.getDimensionTypeByAxis,v=e("D5nY"),b=v.makeSeriesEncodeForAxisCoordSys,f={_baseAxisDim:null,getInitialData:function(i,r){var a,s=r.getComponent("xAxis",this.get("xAxisIndex")),l=r.getComponent("yAxis",this.get("yAxisIndex")),n=s.get("type"),u=l.get("type"),t;n==="category"?(i.layout="horizontal",a=s.getOrdinalMeta(),t=!0):u==="category"?(i.layout="vertical",a=l.getOrdinalMeta(),t=!0):i.layout=i.layout||"horizontal";var c=["x","y"],o=i.layout==="horizontal"?0:1,h=this._baseAxisDim=c[o],A=c[1-o],y=[s,l],O=y[o].get("type"),S=y[1-o].get("type"),E=i.data;if(E&&t){var C=[];x.each(E,function(L,N){var D;L.value&&x.isArray(L.value)?(D=L.value.slice(),L.value.unshift(N)):x.isArray(L)?(D=L.slice(),L.unshift(N)):D=L,C.push(D)}),i.data=C}var T=this.defaultValueDimensions,w=[{name:h,type:p(O),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:A,type:p(S),dimsDef:T.slice()}];return d(this,{coordDimensions:w,dimensionsCount:T.length+1,encodeDefaulter:x.curry(b,w,this)})},getBaseAxis:function(){var i=this._baseAxisDim;return this.ecModel.getComponent(i+"Axis",this.get(i+"AxisIndex")).axis}};B.seriesModelMixin=f},"5GtS":function(J,B,e){var d=e("sdST"),x=e("YXkt"),g=e("bYtY"),p=g.extend,v=g.isArray;function b(f,i,r){i=v(i)&&{coordDimensions:i}||p({},i);var a=f.getSource(),s=d(a,i),l=new x(s,f);return l.initData(a,r),l}J.exports=b},"5Hur":function(J,B,e){var d=e("4NO4"),x=d.makeInner,g=d.normalizeToArray,p=x();function v(f,i){for(var r=f.length,a=0;a<r;a++)if(f[a].length>i)return f[a];return f[r-1]}var b={clearColorPalette:function(){p(this).colorIdx=0,p(this).colorNameMap={}},getColorFromPalette:function(f,i,r){i=i||this;var a=p(i),s=a.colorIdx||0,l=a.colorNameMap=a.colorNameMap||{};if(l.hasOwnProperty(f))return l[f];var n=g(this.get("color",!0)),u=this.get("colorLayer",!0),t=r==null||!u?n:v(u,r);if(t=t||n,!t||!t.length)return;var c=t[s];return f&&(l[f]=c),a.colorIdx=(s+1)%t.length,c}};J.exports=b},"5NDa":function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("OnYD"),p=e.n(g),v=e("+L6B")},"5NHt":function(J,B,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(J,B,e){"use strict";var d=e("J4zp"),x=e.n(d),g=e("q1tI"),p=e.n(g),v=e("ACnJ");function b(){var f=Object(g.useState)({}),i=x()(f,2),r=i[0],a=i[1];return Object(g.useEffect)(function(){var s=v.a.subscribe(function(l){a(l)});return function(){return v.a.unsubscribe(s)}},[]),r}B.a=b},"5RHE":function(J,B,e){(function(d){var x,g,g;!function(p){!(x=p,g=typeof x=="function"?x.call(B,e,B,J):x,g!==void 0&&(J.exports=g))}(function(){"use strict";/** @license
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 1.5.3 Built on 2018-12-27T14:11:42.696Z
|
|
|
* CommitID d93d28db14
|
|
|
*
|
|
|
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
|
* 2010 Aaron Spike, https://github.com/acspike
|
|
|
* 2012 Willow Systems Corporation, willow-systems.com
|
|
|
* 2012 Pablo Hess, https://github.com/pablohess
|
|
|
* 2012 Florian Jenett, https://github.com/fjenett
|
|
|
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
|
* 2013 Youssef Beddad, https://github.com/lifof
|
|
|
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
|
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
|
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
|
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
|
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
|
* 2014 James Makes, https://github.com/dollaruw
|
|
|
* 2014 Diego Casorran, https://github.com/diegocr
|
|
|
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
|
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
|
*
|
|
|
* Licensed under the MIT License
|
|
|
*
|
|
|
* Contributor(s):
|
|
|
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
|
* kim3er, mfo, alnorth, Flamenco
|
|
|
*/function p(de){return(p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ue){return typeof ue}:function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue})(de)}!function(de){if(p(de.console)!=="object"){de.console={};for(var ue,se,ae=de.console,ye=function(){},Ce=["memory"],Oe="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");ue=Ce.pop();)ae[ue]||(ae[ue]={});for(;se=Oe.pop();)ae[se]||(ae[se]=ye)}var Te,xe,ke,lt,At="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";de.btoa===void 0&&(de.btoa=function(ee){var ie,z,$,le,ge,Ae=0,Me=0,Ze="",kt=[];if(!ee)return ee;for(;ie=(ge=ee.charCodeAt(Ae++)<<16|ee.charCodeAt(Ae++)<<8|ee.charCodeAt(Ae++))>>18&63,z=ge>>12&63,$=ge>>6&63,le=63&ge,kt[Me++]=At.charAt(ie)+At.charAt(z)+At.charAt($)+At.charAt(le),Ae<ee.length;);Ze=kt.join("");var Jt=ee.length%3;return(Jt?Ze.slice(0,Jt-3):Ze)+"===".slice(Jt||3)}),de.atob===void 0&&(de.atob=function(ee){var ie,z,$,le,ge,Ae,Me=0,Ze=0,kt=[];if(!ee)return ee;for(ee+="";ie=(Ae=At.indexOf(ee.charAt(Me++))<<18|At.indexOf(ee.charAt(Me++))<<12|(le=At.indexOf(ee.charAt(Me++)))<<6|(ge=At.indexOf(ee.charAt(Me++))))>>16&255,z=Ae>>8&255,$=255&Ae,kt[Ze++]=le==64?String.fromCharCode(ie):ge==64?String.fromCharCode(ie,z):String.fromCharCode(ie,z,$),Me<ee.length;);return kt.join("")}),Array.prototype.map||(Array.prototype.map=function(ee){if(this==null||typeof ee!="function")throw new TypeError;for(var ie=Object(this),z=ie.length>>>0,$=new Array(z),le=1<arguments.length?arguments[1]:void 0,ge=0;ge<z;ge++)ge in ie&&($[ge]=ee.call(le,ie[ge],ge,ie));return $}),Array.isArray||(Array.isArray=function(ee){return Object.prototype.toString.call(ee)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(ee,ie){if(this==null||typeof ee!="function")throw new TypeError;for(var z=Object(this),$=z.length>>>0,le=0;le<$;le++)le in z&&ee.call(ie,z[le],le,z)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(ie){if(this==null)throw new TypeError('"this" is null or not defined');var z=Object(this),$=z.length>>>0;if(typeof ie!="function")throw new TypeError("predicate must be a function");for(var le=arguments[1],ge=0;ge<$;){var Ae=z[ge];if(ie.call(le,Ae,ge,z))return Ae;ge++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(Te=Object.prototype.hasOwnProperty,xe=!{toString:null}.propertyIsEnumerable("toString"),lt=(ke=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(ee){if(p(ee)!=="object"&&(typeof ee!="function"||ee===null))throw new TypeError;var ie,z,$=[];for(ie in ee)Te.call(ee,ie)&&$.push(ie);if(xe)for(z=0;z<lt;z++)Te.call(ee,ke[z])&&$.push(ke[z]);return $})),typeof Object.assign!="function"&&(Object.assign=function(ee){if(ee==null)throw new TypeError("Cannot convert undefined or null to object");ee=Object(ee);for(var ie=1;ie<arguments.length;ie++){var z=arguments[ie];if(z!=null)for(var $ in z)Object.prototype.hasOwnProperty.call(z,$)&&(ee[$]=z[$])}return ee}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")}),Number.isInteger=Number.isInteger||function(ee){return typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")());var v,b,f,i,r,a,s,l,n,u,t,c,o,h,A,y,O,S,E,C,T,w,L,N,D,F,R,U,M,j,P,K,H,_,Z,Y,k,Q,X,he,te,pe,Se,we,We,qe,yt,_e,je,Ct,ct,nt,bt,dt,vt,Qe,mt,Pe,De,Ie,ot,wt,Bt=function(de){function ue(ae){if(p(ae)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var ye={};this.subscribe=function(Ce,Oe,Te){if(Te=Te||!1,typeof Ce!="string"||typeof Oe!="function"||typeof Te!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");ye.hasOwnProperty(Ce)||(ye[Ce]={});var xe=Math.random().toString(35);return ye[Ce][xe]=[Oe,!!Te],xe},this.unsubscribe=function(Ce){for(var Oe in ye)if(ye[Oe][Ce])return delete ye[Oe][Ce],Object.keys(ye[Oe]).length===0&&delete ye[Oe],!0;return!1},this.publish=function(Ce){if(ye.hasOwnProperty(Ce)){var Oe=Array.prototype.slice.call(arguments,1),Te=[];for(var xe in ye[Ce]){var ke=ye[Ce][xe];try{ke[0].apply(ae,Oe)}catch(lt){de.console&&console.error("jsPDF PubSub Error",lt.message,lt)}ke[1]&&Te.push(xe)}Te.length&&Te.forEach(this.unsubscribe)}},this.getTopics=function(){return ye}}function se(ae,ye,Ce,Oe){var Te={},xe=[],ke=1;p(ae)==="object"&&(ae=(Te=ae).orientation,ye=Te.unit||ye,Ce=Te.format||Ce,Oe=Te.compress||Te.compressPdf||Oe,xe=Te.filters||(Oe===!0?["FlateEncode"]:xe),ke=typeof Te.userUnit=="number"?Math.abs(Te.userUnit):1),ye=ye||"mm",ae=(""+(ae||"P")).toLowerCase();var lt=Te.putOnlyUsedFonts||!0,At={},ee={internal:{},__private__:{}};ee.__private__.PubSub=ue;var ie="1.3",z=ee.__private__.getPdfVersion=function(){return ie},$=(ee.__private__.setPdfVersion=function(rt){ie=rt},{a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]}),le=(ee.__private__.getPageFormats=function(){return $},ee.__private__.getPageFormat=function(rt){return $[rt]});typeof Ce=="string"&&(Ce=le(Ce)),Ce=Ce||le("a4");var ge,Ae=ee.f2=ee.__private__.f2=function(rt){if(isNaN(rt))throw new Error("Invalid argument passed to jsPDF.f2");return rt.toFixed(2)},Me=ee.__private__.f3=function(rt){if(isNaN(rt))throw new Error("Invalid argument passed to jsPDF.f3");return rt.toFixed(3)},Ze="00000000000000000000000000000000",kt=ee.__private__.getFileId=function(){return Ze},Jt=ee.__private__.setFileId=function(rt){return rt=rt||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ze=rt};ee.setFileId=function(rt){return Jt(rt),this},ee.getFileId=function(){return kt()};var Et=ee.__private__.convertDateToPDFDate=function(rt){var jt=rt.getTimezoneOffset(),ir=jt<0?"+":"-",yr=Math.floor(Math.abs(jt/60)),Br=Math.abs(jt%60),Dr=[ir,ft(yr),"'",ft(Br),"'"].join("");return["D:",rt.getFullYear(),ft(rt.getMonth()+1),ft(rt.getDate()),ft(rt.getHours()),ft(rt.getMinutes()),ft(rt.getSeconds()),Dr].join("")},Ft=ee.__private__.convertPDFDateToDate=function(rt){var jt=parseInt(rt.substr(2,4),10),ir=parseInt(rt.substr(6,2),10)-1,yr=parseInt(rt.substr(8,2),10),Br=parseInt(rt.substr(10,2),10),Dr=parseInt(rt.substr(12,2),10),rn=parseInt(rt.substr(14,2),10);return parseInt(rt.substr(16,2),10),parseInt(rt.substr(20,2),10),new Date(jt,ir,yr,Br,Dr,rn,0)},Kt=ee.__private__.setCreationDate=function(rt){var jt;if(rt===void 0&&(rt=new Date),p(rt)==="object"&&Object.prototype.toString.call(rt)==="[object Date]")jt=Et(rt);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|\-0[0-9]|\-1[0-1])\'(0[0-9]|[1-5][0-9])\'?$/.test(rt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");jt=rt}return ge=jt},Vt=ee.__private__.getCreationDate=function(rt){var jt=ge;return rt==="jsDate"&&(jt=Ft(ge)),jt};ee.setCreationDate=function(rt){return Kt(rt),this},ee.getCreationDate=function(rt){return Vt(rt)};var Ot,ur,Zt,ze,at,Ve,Xe,gt,ft=ee.__private__.padd2=function(rt){return("0"+parseInt(rt)).slice(-2)},Ge=!1,Mt=[],It=[],rr=0,Ht=(ee.__private__.setCustomOutputDestination=function(rt){ur=rt},ee.__private__.resetCustomOutputDestination=function(rt){ur=void 0},ee.__private__.out=function(rt){var jt;return rt=typeof rt=="string"?rt:rt.toString(),(jt=ur===void 0?Ge?Mt[Ot]:It:ur).push(rt),Ge||(rr+=rt.length+1),jt}),pr=ee.__private__.write=function(rt){return Ht(arguments.length===1?rt.toString():Array.prototype.join.call(arguments," "))},Ar=ee.__private__.getArrayBuffer=function(rt){for(var jt=rt.length,ir=new ArrayBuffer(jt),yr=new Uint8Array(ir);jt--;)yr[jt]=rt.charCodeAt(jt);return ir},Nr=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]],Fr=(ee.__private__.getStandardFonts=function(rt){return Nr},Te.fontSize||16),tn=(ee.__private__.setFontSize=ee.setFontSize=function(rt){return Fr=rt,this},ee.__private__.getFontSize=ee.getFontSize=function(){return Fr}),Jr=Te.R2L||!1,Lr=(ee.__private__.setR2L=ee.setR2L=function(rt){return Jr=rt,this},ee.__private__.getR2L=ee.getR2L=function(rt){return Jr},ee.__private__.setZoomMode=function(rt){var jt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(rt))Zt=rt;else if(isNaN(rt)){if(jt.indexOf(rt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+rt+'" is not recognized.');Zt=rt}else Zt=parseInt(rt,10)}),Xr=(ee.__private__.getZoomMode=function(){return Zt},ee.__private__.setPageMode=function(rt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(rt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+rt+'" is not recognized.');ze=rt}),Tr=(ee.__private__.getPageMode=function(){return ze},ee.__private__.setLayoutMode=function(rt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(rt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+rt+'" is not recognized.');at=rt}),lr=(ee.__private__.getLayoutMode=function(){return at},ee.__private__.setDisplayMode=ee.setDisplayMode=function(rt,jt,ir){return Lr(rt),Tr(jt),Xr(ir),this},{title:"",subject:"",author:"",keywords:"",creator:""}),fr=(ee.__private__.getDocumentProperty=function(rt){if(Object.keys(lr).indexOf(rt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return lr[rt]},ee.__private__.getDocumentProperties=function(rt){return lr},ee.__private__.setDocumentProperties=ee.setProperties=ee.setDocumentProperties=function(rt){for(var jt in lr)lr.hasOwnProperty(jt)&&rt[jt]&&(lr[jt]=rt[jt]);return this},ee.__private__.setDocumentProperty=function(rt,jt){if(Object.keys(lr).indexOf(rt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return lr[rt]=jt},0),sr=[],dr={},Sr={},Qr=0,cn=[],Dn=[],jr=new ue(ee),Ln=Te.hotfixes||[],gn=ee.__private__.newObject=function(){var rt=Un();return Wn(rt,!0),rt},Un=ee.__private__.newObjectDeferred=function(){return sr[++fr]=function(){return rr},fr},Wn=function(jt,ir){return ir=typeof ir=="boolean"&&ir,sr[jt]=rr,ir&&Ht(jt+" 0 obj"),jt},Jn=ee.__private__.newAdditionalObject=function(){var rt={objId:Un(),content:""};return Dn.push(rt),rt},Qn=Un(),Vn=Un(),yn=ee.__private__.decodeColorString=function(rt){var jt=rt.split(" ");if(jt.length===2&&(jt[1]==="g"||jt[1]==="G")){var ir=parseFloat(jt[0]);jt=[ir,ir,ir,"r"]}for(var yr="#",Br=0;Br<3;Br++)yr+=("0"+Math.floor(255*parseFloat(jt[Br])).toString(16)).slice(-2);return yr},on=ee.__private__.encodeColorString=function(rt){var jt;typeof rt=="string"&&(rt={ch1:rt});var ir=rt.ch1,yr=rt.ch2,Br=rt.ch3,Dr=rt.ch4,rn=(rt.precision,rt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof ir=="string"&&ir.charAt(0)!=="#"){var fn=new RGBColor(ir);if(fn.ok)ir=fn.toHex();else if(!/^\d*\.?\d*$/.test(ir))throw new Error('Invalid color "'+ir+'" passed to jsPDF.encodeColorString.')}if(typeof ir=="string"&&/^#[0-9A-Fa-f]{3}$/.test(ir)&&(ir="#"+ir[1]+ir[1]+ir[2]+ir[2]+ir[3]+ir[3]),typeof ir=="string"&&/^#[0-9A-Fa-f]{6}$/.test(ir)){var wn=parseInt(ir.substr(1),16);ir=wn>>16&255,yr=wn>>8&255,Br=255&wn}if(yr===void 0||Dr===void 0&&ir===yr&&yr===Br)if(typeof ir=="string")jt=ir+" "+rn[0];else switch(rt.precision){case 2:jt=Ae(ir/255)+" "+rn[0];break;case 3:default:jt=Me(ir/255)+" "+rn[0]}else if(Dr===void 0||p(Dr)==="object"){if(Dr&&!isNaN(Dr.a)&&Dr.a===0)return jt=["1.000","1.000","1.000",rn[1]].join(" ");if(typeof ir=="string")jt=[ir,yr,Br,rn[1]].join(" ");else switch(rt.precision){case 2:jt=[Ae(ir/255),Ae(yr/255),Ae(Br/255),rn[1]].join(" ");break;default:case 3:jt=[Me(ir/255),Me(yr/255),Me(Br/255),rn[1]].join(" ")}}else if(typeof ir=="string")jt=[ir,yr,Br,Dr,rn[2]].join(" ");else switch(rt.precision){case 2:jt=[Ae(ir/255),Ae(yr/255),Ae(Br/255),Ae(Dr/255),rn[2]].join(" ");break;case 3:default:jt=[Me(ir/255),Me(yr/255),Me(Br/255),Me(Dr/255),rn[2]].join(" ")}return jt},ia=ee.__private__.getFilters=function(){return xe},xa=ee.__private__.putStream=function(rt){var jt=(rt=rt||{}).data||"",ir=rt.filters||ia(),yr=rt.alreadyAppliedFilters||[],Br=rt.addLength1||!1,Dr=jt.length,rn={};ir===!0&&(ir=["FlateEncode"]);var fn=rt.additionalKeyValues||[],wn=(rn=se.API.processDataByFilters!==void 0?se.API.processDataByFilters(jt,ir):{data:jt,reverseChain:[]}).reverseChain+(Array.isArray(yr)?yr.join(" "):yr.toString());rn.data.length!==0&&(fn.push({key:"Length",value:rn.data.length}),Br===!0&&fn.push({key:"Length1",value:Dr})),wn.length!=0&&(wn.split("/").length-1==1?fn.push({key:"Filter",value:wn}):fn.push({key:"Filter",value:"["+wn+"]"})),Ht("<<");for(var Hn=0;Hn<fn.length;Hn++)Ht("/"+fn[Hn].key+" "+fn[Hn].value);Ht(">>"),rn.data.length!==0&&(Ht("stream"),Ht(rn.data),Ht("endstream"))},ta=ee.__private__.putPage=function(rt){rt.mediaBox;var jt=rt.number,ir=rt.data,yr=rt.objId,Br=rt.contentsObjId;Wn(yr,!0),cn[Ot].mediaBox.topRightX,cn[Ot].mediaBox.bottomLeftX,cn[Ot].mediaBox.topRightY,cn[Ot].mediaBox.bottomLeftY,Ht("<</Type /Page"),Ht("/Parent "+rt.rootDictionaryObjId+" 0 R"),Ht("/Resources "+rt.resourceDictionaryObjId+" 0 R"),Ht("/MediaBox ["+parseFloat(Ae(rt.mediaBox.bottomLeftX))+" "+parseFloat(Ae(rt.mediaBox.bottomLeftY))+" "+Ae(rt.mediaBox.topRightX)+" "+Ae(rt.mediaBox.topRightY)+"]"),rt.cropBox!==null&&Ht("/CropBox ["+Ae(rt.cropBox.bottomLeftX)+" "+Ae(rt.cropBox.bottomLeftY)+" "+Ae(rt.cropBox.topRightX)+" "+Ae(rt.cropBox.topRightY)+"]"),rt.bleedBox!==null&&Ht("/BleedBox ["+Ae(rt.bleedBox.bottomLeftX)+" "+Ae(rt.bleedBox.bottomLeftY)+" "+Ae(rt.bleedBox.topRightX)+" "+Ae(rt.bleedBox.topRightY)+"]"),rt.trimBox!==null&&Ht("/TrimBox ["+Ae(rt.trimBox.bottomLeftX)+" "+Ae(rt.trimBox.bottomLeftY)+" "+Ae(rt.trimBox.topRightX)+" "+Ae(rt.trimBox.topRightY)+"]"),rt.artBox!==null&&Ht("/ArtBox ["+Ae(rt.artBox.bottomLeftX)+" "+Ae(rt.artBox.bottomLeftY)+" "+Ae(rt.artBox.topRightX)+" "+Ae(rt.artBox.topRightY)+"]"),typeof rt.userUnit=="number"&&rt.userUnit!==1&&Ht("/UserUnit "+rt.userUnit),jr.publish("putPage",{objId:yr,pageContext:cn[jt],pageNumber:jt,page:ir}),Ht("/Contents "+Br+" 0 R"),Ht(">>"),Ht("endobj");var Dr=ir.join(`
|
|
|
`);return Wn(Br,!0),xa({data:Dr,filters:ia()}),Ht("endobj"),yr},Ni=ee.__private__.putPages=function(){var rt,jt,ir=[];for(rt=1;rt<=Qr;rt++)cn[rt].objId=Un(),cn[rt].contentsObjId=Un();for(rt=1;rt<=Qr;rt++)ir.push(ta({number:rt,data:Mt[rt],objId:cn[rt].objId,contentsObjId:cn[rt].contentsObjId,mediaBox:cn[rt].mediaBox,cropBox:cn[rt].cropBox,bleedBox:cn[rt].bleedBox,trimBox:cn[rt].trimBox,artBox:cn[rt].artBox,userUnit:cn[rt].userUnit,rootDictionaryObjId:Qn,resourceDictionaryObjId:Vn}));Wn(Qn,!0),Ht("<</Type /Pages");var yr="/Kids [";for(jt=0;jt<Qr;jt++)yr+=ir[jt]+" 0 R ";Ht(yr+"]"),Ht("/Count "+Qr),Ht(">>"),Ht("endobj"),jr.publish("postPutPages")},Ci=function(){!function(){for(var jt in dr)dr.hasOwnProperty(jt)&&(lt===!1||lt===!0&&At.hasOwnProperty(jt))&&(ir=dr[jt],jr.publish("putFont",{font:ir,out:Ht,newObject:gn,putStream:xa}),ir.isAlreadyPutted!==!0&&(ir.objectNumber=gn(),Ht("<<"),Ht("/Type /Font"),Ht("/BaseFont /"+ir.postScriptName),Ht("/Subtype /Type1"),typeof ir.encoding=="string"&&Ht("/Encoding /"+ir.encoding),Ht("/FirstChar 32"),Ht("/LastChar 255"),Ht(">>"),Ht("endobj")));var ir}(),jr.publish("putResources"),Wn(Vn,!0),Ht("<<"),function(){for(var jt in Ht("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Ht("/Font <<"),dr)dr.hasOwnProperty(jt)&&(lt===!1||lt===!0&&At.hasOwnProperty(jt))&&Ht("/"+jt+" "+dr[jt].objectNumber+" 0 R");Ht(">>"),Ht("/XObject <<"),jr.publish("putXobjectDict"),Ht(">>")}(),Ht(">>"),Ht("endobj"),jr.publish("postPutResources")},Gn=function(jt,ir,yr){Sr.hasOwnProperty(ir)||(Sr[ir]={}),Sr[ir][yr]=jt},Ia=function(jt,ir,yr,Br,Dr){Dr=Dr||!1;var rn="F"+(Object.keys(dr).length+1).toString(10),fn={id:rn,postScriptName:jt,fontName:ir,fontStyle:yr,encoding:Br,isStandardFont:Dr,metadata:{}};return jr.publish("addFont",{font:fn,instance:this}),rn!==void 0&&(dr[rn]=fn,Gn(rn,ir,yr)),rn},mn=ee.__private__.pdfEscape=ee.pdfEscape=function(rt,jt){return function(ir,yr){var Br,Dr,rn,fn,wn,Hn,Sn,bn,Bn;if(rn=(yr=yr||{}).sourceEncoding||"Unicode",wn=yr.outputEncoding,(yr.autoencode||wn)&&dr[Ve].metadata&&dr[Ve].metadata[rn]&&dr[Ve].metadata[rn].encoding&&(fn=dr[Ve].metadata[rn].encoding,!wn&&dr[Ve].encoding&&(wn=dr[Ve].encoding),!wn&&fn.codePages&&(wn=fn.codePages[0]),typeof wn=="string"&&(wn=fn[wn]),wn)){for(Sn=!1,Hn=[],Br=0,Dr=ir.length;Br<Dr;Br++)(bn=wn[ir.charCodeAt(Br)])?Hn.push(String.fromCharCode(bn)):Hn.push(ir[Br]),Hn[Br].charCodeAt(0)>>8&&(Sn=!0);ir=Hn.join("")}for(Br=ir.length;Sn===void 0&&Br!==0;)ir.charCodeAt(Br-1)>>8&&(Sn=!0),Br--;if(!Sn)return ir;for(Hn=yr.noBOM?[]:[254,255],Br=0,Dr=ir.length;Br<Dr;Br++){if((Bn=(bn=ir.charCodeAt(Br))>>8)>>8)throw new Error("Character at position "+Br+" of string '"+ir+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Hn.push(Bn),Hn.push(bn-(Bn<<8))}return String.fromCharCode.apply(void 0,Hn)}(rt,jt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},In=ee.__private__.beginPage=function(rt,jt){var ir,yr=typeof jt=="string"&&jt.toLowerCase();if(typeof rt=="string"&&(ir=le(rt.toLowerCase()))&&(rt=ir[0],jt=ir[1]),Array.isArray(rt)&&(jt=rt[1],rt=rt[0]),(isNaN(rt)||isNaN(jt))&&(rt=Ce[0],jt=Ce[1]),yr){switch(yr.substr(0,1)){case"l":rt<jt&&(yr="s");break;case"p":jt<rt&&(yr="s")}yr==="s"&&(ir=rt,rt=jt,jt=ir)}(14400<rt||14400<jt)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),rt=Math.min(14400,rt),jt=Math.min(14400,jt)),Ce=[rt,jt],Ge=!0,Mt[++Qr]=[],cn[Qr]={objId:0,contentsObjId:0,userUnit:Number(ke),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(rt),topRightY:Number(jt)}},Nn(Qr)},On=function(){In.apply(this,arguments),Lo(eo),Ht(Rt),Wr!==0&&Ht(Wr+" J"),$r!==0&&Ht($r+" j"),jr.publish("addPage",{pageNumber:Qr})},Nn=function(jt){0<jt&&jt<=Qr&&(Ot=jt)},jn=ee.__private__.getNumberOfPages=ee.getNumberOfPages=function(){return Mt.length-1},ni=function(jt,ir,yr){var Br,Dr=void 0;return yr=yr||{},jt=jt!==void 0?jt:dr[Ve].fontName,ir=ir!==void 0?ir:dr[Ve].fontStyle,Br=jt.toLowerCase(),Sr[Br]!==void 0&&Sr[Br][ir]!==void 0?Dr=Sr[Br][ir]:Sr[jt]!==void 0&&Sr[jt][ir]!==void 0?Dr=Sr[jt][ir]:yr.disableWarning===!1&&console.warn("Unable to look up font label for font '"+jt+"', '"+ir+"'. Refer to getFontList() for available fonts."),Dr||yr.noFallback||(Dr=Sr.times[ir])==null&&(Dr=Sr.times.normal),Dr},di=ee.__private__.putInfo=function(){for(var rt in gn(),Ht("<<"),Ht("/Producer (jsPDF "+se.version+")"),lr)lr.hasOwnProperty(rt)&&lr[rt]&&Ht("/"+rt.substr(0,1).toUpperCase()+rt.substr(1)+" ("+mn(lr[rt])+")");Ht("/CreationDate ("+ge+")"),Ht(">>"),Ht("endobj")},Da=ee.__private__.putCatalog=function(rt){var jt=(rt=rt||{}).rootDictionaryObjId||Qn;switch(gn(),Ht("<<"),Ht("/Type /Catalog"),Ht("/Pages "+jt+" 0 R"),Zt||(Zt="fullwidth"),Zt){case"fullwidth":Ht("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Ht("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Ht("/OpenAction [3 0 R /Fit]");break;case"original":Ht("/OpenAction [3 0 R /XYZ null null 1]");break;default:var ir=""+Zt;ir.substr(ir.length-1)==="%"&&(Zt=parseInt(Zt)/100),typeof Zt=="number"&&Ht("/OpenAction [3 0 R /XYZ null null "+Ae(Zt)+"]")}switch(at||(at="continuous"),at){case"continuous":Ht("/PageLayout /OneColumn");break;case"single":Ht("/PageLayout /SinglePage");break;case"two":case"twoleft":Ht("/PageLayout /TwoColumnLeft");break;case"tworight":Ht("/PageLayout /TwoColumnRight")}ze&&Ht("/PageMode /"+ze),jr.publish("putCatalog"),Ht(">>"),Ht("endobj")},Xi=ee.__private__.putTrailer=function(){Ht("trailer"),Ht("<<"),Ht("/Size "+(fr+1)),Ht("/Root "+fr+" 0 R"),Ht("/Info "+(fr-1)+" 0 R"),Ht("/ID [ <"+Ze+"> <"+Ze+"> ]"),Ht(">>")},ma=ee.__private__.putHeader=function(){Ht("%PDF-"+ie),Ht("%\xBA\xDF\xAC\xE0")},ka=ee.__private__.putXRef=function(){var rt=1,jt="0000000000";for(Ht("xref"),Ht("0 "+(fr+1)),Ht("0000000000 65535 f "),rt=1;rt<=fr;rt++)typeof sr[rt]=="function"?Ht((jt+sr[rt]()).slice(-10)+" 00000 n "):sr[rt]!==void 0?Ht((jt+sr[rt]).slice(-10)+" 00000 n "):Ht("0000000000 00000 n ")},Xa=ee.__private__.buildDocument=function(){Ge=!1,rr=fr=0,It=[],sr=[],Dn=[],Qn=Un(),Vn=Un(),jr.publish("buildDocument"),ma(),Ni(),function(){jr.publish("putAdditionalObjects");for(var jt=0;jt<Dn.length;jt++){var ir=Dn[jt];Wn(ir.objId,!0),Ht(ir.content),Ht("endobj")}jr.publish("postPutAdditionalObjects")}(),Ci(),di(),Da();var rt=rr;return ka(),Xi(),Ht("startxref"),Ht(""+rt),Ht("%%EOF"),Ge=!0,It.join(`
|
|
|
`)},Ki=ee.__private__.getBlob=function(rt){return new Blob([Ar(rt)],{type:"application/pdf"})},Co=ee.output=ee.__private__.output=((gt=function(jt,ir){ir=ir||{};var yr=Xa();switch(typeof ir=="string"?ir={filename:ir}:ir.filename=ir.filename||"generated.pdf",jt){case void 0:return yr;case"save":ee.save(ir.filename);break;case"arraybuffer":return Ar(yr);case"blob":return Ki(yr);case"bloburi":case"bloburl":if(de.URL!==void 0&&typeof de.URL.createObjectURL=="function")return de.URL&&de.URL.createObjectURL(Ki(yr))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+ir.filename+";base64,"+btoa(yr);case"dataurlnewwindow":var Br='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring")+'"></iframe></body></html>',Dr=de.open();if(Dr!==null&&Dr.document.write(Br),Dr||typeof safari=="undefined")return Dr;case"datauri":case"dataurl":return de.document.location.href="data:application/pdf;filename="+ir.filename+";base64,"+btoa(yr);default:return null}}).foo=function(){try{return gt.apply(this,arguments)}catch(ir){var rt=ir.stack||"";~rt.indexOf(" at ")&&(rt=rt.split(" at ")[1]);var jt="Error in function "+rt.split(`
|
|
|
`)[0].split("<")[0]+": "+ir.message;if(!de.console)throw new Error(jt);de.console.error(jt,ir),de.alert&&alert(jt)}},(gt.foo.bar=gt).foo),aa=function(jt){return Array.isArray(Ln)===!0&&-1<Ln.indexOf(jt)};switch(ye){case"pt":Xe=1;break;case"mm":Xe=72/25.4;break;case"cm":Xe=72/2.54;break;case"in":Xe=72;break;case"px":Xe=aa("px_scaling")==1?.75:96/72;break;case"pc":case"em":Xe=12;break;case"ex":Xe=6;break;default:throw new Error("Invalid unit: "+ye)}Kt(),Jt();var Hi=ee.__private__.getPageInfo=function(rt){if(isNaN(rt)||rt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:cn[rt].objId,pageNumber:rt,pageContext:cn[rt]}},ga=ee.__private__.getPageInfoByObjId=function(rt){for(var jt in cn)if(cn[jt].objId===rt)break;if(isNaN(rt)||rt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return Hi(jt)},ha=ee.__private__.getCurrentPageInfo=function(){return{objId:cn[Ot].objId,pageNumber:Ot,pageContext:cn[Ot]}};ee.addPage=function(){return On.apply(this,arguments),this},ee.setPage=function(){return Nn.apply(this,arguments),this},ee.insertPage=function(rt){return this.addPage(),this.movePage(Ot,rt),this},ee.movePage=function(rt,jt){if(jt<rt){for(var ir=Mt[rt],yr=cn[rt],Br=rt;jt<Br;Br--)Mt[Br]=Mt[Br-1],cn[Br]=cn[Br-1];Mt[jt]=ir,cn[jt]=yr,this.setPage(jt)}else if(rt<jt){for(ir=Mt[rt],yr=cn[rt],Br=rt;Br<jt;Br++)Mt[Br]=Mt[Br+1],cn[Br]=cn[Br+1];Mt[jt]=ir,cn[jt]=yr,this.setPage(jt)}return this},ee.deletePage=function(){return function(rt){0<rt&&rt<=Qr&&(Mt.splice(rt,1),--Qr<Ot&&(Ot=Qr),this.setPage(Ot))}.apply(this,arguments),this},ee.__private__.text=ee.text=function(rt,jt,ir,yr){var Br;typeof rt!="number"||typeof jt!="number"||typeof ir!="string"&&!Array.isArray(ir)||(Br=ir,ir=jt,jt=rt,rt=Br);var Dr=arguments[3],rn=arguments[4],fn=arguments[5];if(p(Dr)==="object"&&Dr!==null||(typeof rn=="string"&&(fn=rn,rn=null),typeof Dr=="string"&&(fn=Dr,Dr=null),typeof Dr=="number"&&(rn=Dr,Dr=null),yr={flags:Dr,angle:rn,align:fn}),(Dr=Dr||{}).noBOM=Dr.noBOM||!0,Dr.autoencode=Dr.autoencode||!0,isNaN(jt)||isNaN(ir)||rt==null)throw new Error("Invalid arguments passed to jsPDF.text");if(rt.length===0)return bn;var wn,Hn="",Sn=typeof yr.lineHeightFactor=="number"?yr.lineHeightFactor:qi,bn=yr.scope||this;function Bn(ra){for(var Qi,Ya=ra.concat(),zi=[],Wi=Ya.length;Wi--;)typeof(Qi=Ya.shift())=="string"?zi.push(Qi):Array.isArray(ra)&&Qi.length===1?zi.push(Qi[0]):zi.push([Qi[0],Qi[1],Qi[2]]);return zi}function vn(ra,Qi){var Ya;if(typeof ra=="string")Ya=Qi(ra)[0];else if(Array.isArray(ra)){for(var zi,Wi,ba=ra.concat(),_a=[],wa=ba.length;wa--;)typeof(zi=ba.shift())=="string"?_a.push(Qi(zi)[0]):Array.isArray(zi)&&zi[0]==="string"&&(Wi=Qi(zi[0],zi[1],zi[2]),_a.push([Wi[0],Wi[1],Wi[2]]));Ya=_a}return Ya}var Mn=!1,En=!0;if(typeof rt=="string")Mn=!0;else if(Array.isArray(rt)){for(var Tn,Yn=rt.concat(),ai=[],ri=Yn.length;ri--;)(typeof(Tn=Yn.shift())!="string"||Array.isArray(Tn)&&typeof Tn[0]!="string")&&(En=!1);Mn=En}if(Mn===!1)throw new Error('Type of text must be string or Array. "'+rt+'" is not recognized.');var Ri=dr[Ve].encoding;Ri!=="WinAnsiEncoding"&&Ri!=="StandardEncoding"||(rt=vn(rt,function(ra,Qi,Ya){return[(zi=ra,zi=zi.split(" ").join(Array(yr.TabLen||9).join(" ")),mn(zi,Dr)),Qi,Ya];var zi})),typeof rt=="string"&&(rt=rt.match(/[\r?\n]/)?rt.split(/\r\n|\r|\n/g):[rt]);var Ai=Fr/bn.internal.scaleFactor,xi=Ai*(qi-1);switch(yr.baseline){case"bottom":ir-=xi;break;case"top":ir+=Ai-xi;break;case"hanging":ir+=Ai-2*xi;break;case"middle":ir+=Ai/2-xi}0<(sa=yr.maxWidth||0)&&(typeof rt=="string"?rt=bn.splitTextToSize(rt,sa):Object.prototype.toString.call(rt)==="[object Array]"&&(rt=bn.splitTextToSize(rt.join(" "),sa)));var Oi={text:rt,x:jt,y:ir,options:yr,mutex:{pdfEscape:mn,activeFontKey:Ve,fonts:dr,activeFontSize:Fr}};jr.publish("preProcessText",Oi),rt=Oi.text,rn=(yr=Oi.options).angle;var _n=bn.internal.scaleFactor,Mi=[];if(rn){rn*=Math.PI/180;var fa=Math.cos(rn),_i=Math.sin(rn);Mi=[Ae(fa),Ae(_i),Ae(-1*_i),Ae(fa)]}(oa=yr.charSpace)!==void 0&&(Hn+=Me(oa*_n)+` Tc
|
|
|
`),yr.lang;var Bi=-1,mi=yr.renderingMode!==void 0?yr.renderingMode:yr.stroke,hi=bn.internal.getCurrentPageInfo().pageContext;switch(mi){case 0:case!1:case"fill":Bi=0;break;case 1:case!0:case"stroke":Bi=1;break;case 2:case"fillThenStroke":Bi=2;break;case 3:case"invisible":Bi=3;break;case 4:case"fillAndAddForClipping":Bi=4;break;case 5:case"strokeAndAddPathForClipping":Bi=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Bi=6;break;case 7:case"addToPathForClipping":Bi=7}var Ji=hi.usedRenderingMode!==void 0?hi.usedRenderingMode:-1;Bi!==-1?Hn+=Bi+` Tr
|
|
|
`:Ji!==-1&&(Hn+=`0 Tr
|
|
|
`),Bi!==-1&&(hi.usedRenderingMode=Bi),fn=yr.align||"left";var va=Fr*Sn,Ea=bn.internal.pageSize.getWidth(),Aa=(_n=bn.internal.scaleFactor,dr[Ve]),oa=yr.charSpace||br,sa=yr.maxWidth||0,Di=(Dr={},[]);if(Object.prototype.toString.call(rt)==="[object Array]"){var qn,yi;ai=Bn(rt),fn!=="left"&&(yi=ai.map(function(ra){return bn.getStringUnitWidth(ra,{font:Aa,charSpace:oa,fontSize:Fr})*Fr/_n}));var Ti,Vi=Math.max.apply(Math,yi),Yi=0;if(fn==="right"){jt-=yi[0],rt=[];var bi=0;for(ri=ai.length;bi<ri;bi++)Vi-yi[bi],qn=bi===0?(Ti=Ur(jt),Kr(ir)):(Ti=(Yi-yi[bi])*_n,-va),rt.push([ai[bi],Ti,qn]),Yi=yi[bi]}else if(fn==="center")for(jt-=yi[0]/2,rt=[],bi=0,ri=ai.length;bi<ri;bi++)(Vi-yi[bi])/2,qn=bi===0?(Ti=Ur(jt),Kr(ir)):(Ti=(Yi-yi[bi])/2*_n,-va),rt.push([ai[bi],Ti,qn]),Yi=yi[bi];else if(fn==="left")for(rt=[],bi=0,ri=ai.length;bi<ri;bi++)qn=bi===0?Kr(ir):-va,Ti=bi===0?Ur(jt):0,rt.push(ai[bi]);else{if(fn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(rt=[],sa=sa!==0?sa:Ea,bi=0,ri=ai.length;bi<ri;bi++)qn=bi===0?Kr(ir):-va,Ti=bi===0?Ur(jt):0,bi<ri-1&&Di.push(((sa-yi[bi])/(ai[bi].split(" ").length-1)*_n).toFixed(2)),rt.push([ai[bi],Ti,qn])}}(typeof yr.R2L=="boolean"?yr.R2L:Jr)===!0&&(rt=vn(rt,function(ra,Qi,Ya){return[ra.split("").reverse().join(""),Qi,Ya]})),Oi={text:rt,x:jt,y:ir,options:yr,mutex:{pdfEscape:mn,activeFontKey:Ve,fonts:dr,activeFontSize:Fr}},jr.publish("postProcessText",Oi),rt=Oi.text,wn=Oi.mutex.isHex,ai=Bn(rt),rt=[];var ya,ua,la,gi=0,Ua=(ri=ai.length,"");for(bi=0;bi<ri;bi++)Ua="",Array.isArray(ai[bi])?(ya=parseFloat(ai[bi][1]),ua=parseFloat(ai[bi][2]),la=(wn?"<":"(")+ai[bi][0]+(wn?">":")"),gi=1):(ya=Ur(jt),ua=Kr(ir),la=(wn?"<":"(")+ai[bi]+(wn?">":")")),Di!==void 0&&Di[bi]!==void 0&&(Ua=Di[bi]+` Tw
|
|
|
`),Mi.length!==0&&bi===0?rt.push(Ua+Mi.join(" ")+" "+ya.toFixed(2)+" "+ua.toFixed(2)+` Tm
|
|
|
`+la):gi===1||gi===0&&bi===0?rt.push(Ua+ya.toFixed(2)+" "+ua.toFixed(2)+` Td
|
|
|
`+la):rt.push(Ua+la);rt=gi===0?rt.join(` Tj
|
|
|
T* `):rt.join(` Tj
|
|
|
`),rt+=` Tj
|
|
|
`;var Ba=`BT
|
|
|
/`+Ve+" "+Fr+` Tf
|
|
|
`+(Fr*Sn).toFixed(2)+` TL
|
|
|
`+tr+`
|
|
|
`;return Ba+=Hn,Ba+=rt,Ht(Ba+="ET"),At[Ve]=!0,bn},ee.__private__.lstext=ee.lstext=function(rt,jt,ir,yr){return console.warn("jsPDF.lstext is deprecated"),this.text(rt,jt,ir,{charSpace:yr})},ee.__private__.clip=ee.clip=function(rt){Ht(rt==="evenodd"?"W*":"W"),Ht("n")},ee.__private__.clip_fixed=ee.clip_fixed=function(rt){console.log("clip_fixed is deprecated"),ee.clip(rt)};var mo=ee.__private__.isValidStyle=function(rt){var jt=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(rt)!==-1&&(jt=!0),jt},Pn=ee.__private__.getStyle=function(rt){var jt="S";return rt==="F"?jt="f":rt==="FD"||rt==="DF"?jt="B":rt!=="f"&&rt!=="f*"&&rt!=="B"&&rt!=="B*"||(jt=rt),jt};ee.__private__.line=ee.line=function(rt,jt,ir,yr){if(isNaN(rt)||isNaN(jt)||isNaN(ir)||isNaN(yr))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[ir-rt,yr-jt]],rt,jt)},ee.__private__.lines=ee.lines=function(rt,jt,ir,yr,Br,Dr){var rn,fn,wn,Hn,Sn,bn,Bn,vn,Mn,En,Tn,Yn;if(typeof rt=="number"&&(Yn=ir,ir=jt,jt=rt,rt=Yn),yr=yr||[1,1],Dr=Dr||!1,isNaN(jt)||isNaN(ir)||!Array.isArray(rt)||!Array.isArray(yr)||!mo(Br)||typeof Dr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Ht(Me(Ur(jt))+" "+Me(Kr(ir))+" m "),rn=yr[0],fn=yr[1],Hn=rt.length,En=jt,Tn=ir,wn=0;wn<Hn;wn++)(Sn=rt[wn]).length===2?(En=Sn[0]*rn+En,Tn=Sn[1]*fn+Tn,Ht(Me(Ur(En))+" "+Me(Kr(Tn))+" l")):(bn=Sn[0]*rn+En,Bn=Sn[1]*fn+Tn,vn=Sn[2]*rn+En,Mn=Sn[3]*fn+Tn,En=Sn[4]*rn+En,Tn=Sn[5]*fn+Tn,Ht(Me(Ur(bn))+" "+Me(Kr(Bn))+" "+Me(Ur(vn))+" "+Me(Kr(Mn))+" "+Me(Ur(En))+" "+Me(Kr(Tn))+" c"));return Dr&&Ht(" h"),Br!==null&&Ht(Pn(Br)),this},ee.__private__.rect=ee.rect=function(rt,jt,ir,yr,Br){if(isNaN(rt)||isNaN(jt)||isNaN(ir)||isNaN(yr)||!mo(Br))throw new Error("Invalid arguments passed to jsPDF.rect");return Ht([Ae(Ur(rt)),Ae(Kr(jt)),Ae(ir*Xe),Ae(-yr*Xe),"re"].join(" ")),Br!==null&&Ht(Pn(Br)),this},ee.__private__.triangle=ee.triangle=function(rt,jt,ir,yr,Br,Dr,rn){if(isNaN(rt)||isNaN(jt)||isNaN(ir)||isNaN(yr)||isNaN(Br)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[ir-rt,yr-jt],[Br-ir,Dr-yr],[rt-Br,jt-Dr]],rt,jt,[1,1],rn,!0),this},ee.__private__.roundedRect=ee.roundedRect=function(rt,jt,ir,yr,Br,Dr,rn){if(isNaN(rt)||isNaN(jt)||isNaN(ir)||isNaN(yr)||isNaN(Br)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var fn=4/3*(Math.SQRT2-1);return this.lines([[ir-2*Br,0],[Br*fn,0,Br,Dr-Dr*fn,Br,Dr],[0,yr-2*Dr],[0,Dr*fn,-Br*fn,Dr,-Br,Dr],[2*Br-ir,0],[-Br*fn,0,-Br,-Dr*fn,-Br,-Dr],[0,2*Dr-yr],[0,-Dr*fn,Br*fn,-Dr,Br,-Dr]],rt+Br,jt,[1,1],rn),this},ee.__private__.ellipse=ee.ellipse=function(rt,jt,ir,yr,Br){if(isNaN(rt)||isNaN(jt)||isNaN(ir)||isNaN(yr)||!mo(Br))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Dr=4/3*(Math.SQRT2-1)*ir,rn=4/3*(Math.SQRT2-1)*yr;return Ht([Ae(Ur(rt+ir)),Ae(Kr(jt)),"m",Ae(Ur(rt+ir)),Ae(Kr(jt-rn)),Ae(Ur(rt+Dr)),Ae(Kr(jt-yr)),Ae(Ur(rt)),Ae(Kr(jt-yr)),"c"].join(" ")),Ht([Ae(Ur(rt-Dr)),Ae(Kr(jt-yr)),Ae(Ur(rt-ir)),Ae(Kr(jt-rn)),Ae(Ur(rt-ir)),Ae(Kr(jt)),"c"].join(" ")),Ht([Ae(Ur(rt-ir)),Ae(Kr(jt+rn)),Ae(Ur(rt-Dr)),Ae(Kr(jt+yr)),Ae(Ur(rt)),Ae(Kr(jt+yr)),"c"].join(" ")),Ht([Ae(Ur(rt+Dr)),Ae(Kr(jt+yr)),Ae(Ur(rt+ir)),Ae(Kr(jt+rn)),Ae(Ur(rt+ir)),Ae(Kr(jt)),"c"].join(" ")),Br!==null&&Ht(Pn(Br)),this},ee.__private__.circle=ee.circle=function(rt,jt,ir,yr){if(isNaN(rt)||isNaN(jt)||isNaN(ir)||!mo(yr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(rt,jt,ir,ir,yr)},ee.setFont=function(rt,jt){return Ve=ni(rt,jt,{disableWarning:!1}),this},ee.setFontStyle=ee.setFontType=function(rt){return Ve=ni(void 0,rt),this},ee.__private__.getFontList=ee.getFontList=function(){var rt,jt,ir,yr={};for(rt in Sr)if(Sr.hasOwnProperty(rt))for(jt in yr[rt]=ir=[],Sr[rt])Sr[rt].hasOwnProperty(jt)&&ir.push(jt);return yr},ee.addFont=function(rt,jt,ir,yr){Ia.call(this,rt,jt,ir,yr=yr||"Identity-H")};var qi,eo=Te.lineWidth||.200025,Lo=ee.__private__.setLineWidth=ee.setLineWidth=function(rt){return Ht((rt*Xe).toFixed(2)+" w"),this},co=(ee.__private__.setLineDash=se.API.setLineDash=function(rt,jt){if(rt=rt||[],jt=jt||0,isNaN(jt)||!Array.isArray(rt))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return rt=rt.map(function(ir){return(ir*Xe).toFixed(3)}).join(" "),jt=parseFloat((jt*Xe).toFixed(3)),Ht("["+rt+"] "+jt+" d"),this},ee.__private__.getLineHeight=ee.getLineHeight=function(){return Fr*qi}),er=(co=ee.__private__.getLineHeight=ee.getLineHeight=function(){return Fr*qi},ee.__private__.setLineHeightFactor=ee.setLineHeightFactor=function(rt){return typeof(rt=rt||1.15)=="number"&&(qi=rt),this}),Cr=ee.__private__.getLineHeightFactor=ee.getLineHeightFactor=function(){return qi};er(Te.lineHeight);var Ur=ee.__private__.getHorizontalCoordinate=function(rt){return rt*Xe},Kr=ee.__private__.getVerticalCoordinate=function(rt){return cn[Ot].mediaBox.topRightY-cn[Ot].mediaBox.bottomLeftY-rt*Xe},hn=ee.__private__.getHorizontalCoordinateString=function(rt){return Ae(rt*Xe)},Fe=ee.__private__.getVerticalCoordinateString=function(rt){return Ae(cn[Ot].mediaBox.topRightY-cn[Ot].mediaBox.bottomLeftY-rt*Xe)},Rt=Te.strokeColor||"0 G",Xt=(ee.__private__.getStrokeColor=ee.getDrawColor=function(){return yn(Rt)},ee.__private__.setStrokeColor=ee.setDrawColor=function(rt,jt,ir,yr){return Rt=on({ch1:rt,ch2:jt,ch3:ir,ch4:yr,pdfColorType:"draw",precision:2}),Ht(Rt),this},Te.fillColor||"0 g"),tr=(ee.__private__.getFillColor=ee.getFillColor=function(){return yn(Xt)},ee.__private__.setFillColor=ee.setFillColor=function(rt,jt,ir,yr){return Xt=on({ch1:rt,ch2:jt,ch3:ir,ch4:yr,pdfColorType:"fill",precision:2}),Ht(Xt),this},Te.textColor||"0 g"),Or=ee.__private__.getTextColor=ee.getTextColor=function(){return yn(tr)},br=(ee.__private__.setTextColor=ee.setTextColor=function(rt,jt,ir,yr){return tr=on({ch1:rt,ch2:jt,ch3:ir,ch4:yr,pdfColorType:"text",precision:3}),this},Te.charSpace||0),xr=ee.__private__.getCharSpace=ee.getCharSpace=function(){return br},Wr=(ee.__private__.setCharSpace=ee.setCharSpace=function(rt){if(isNaN(rt))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return br=rt,this},0);ee.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},ee.__private__.setLineCap=ee.setLineCap=function(rt){var jt=ee.CapJoinStyles[rt];if(jt===void 0)throw new Error("Line cap style of '"+rt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ht((Wr=jt)+" J"),this};var Zr,$r=0;ee.__private__.setLineJoin=ee.setLineJoin=function(rt){var jt=ee.CapJoinStyles[rt];if(jt===void 0)throw new Error("Line join style of '"+rt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ht(($r=jt)+" j"),this},ee.__private__.setMiterLimit=ee.setMiterLimit=function(rt){if(rt=rt||0,isNaN(rt))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return Zr=parseFloat(Ae(rt*Xe)),Ht(Zr+" M"),this};for(var an in ee.save=function(rt,jt){if(rt=rt||"generated.pdf",(jt=jt||{}).returnPromise=jt.returnPromise||!1,jt.returnPromise!==!1)return new Promise(function(ir,yr){try{var Br=Mr(Ki(Xa()),rt);typeof Mr.unload=="function"&&de.setTimeout&&setTimeout(Mr.unload,911),ir(Br)}catch(Dr){yr(Dr.message)}});Mr(Ki(Xa()),rt),typeof Mr.unload=="function"&&de.setTimeout&&setTimeout(Mr.unload,911)},se.API)se.API.hasOwnProperty(an)&&(an==="events"&&se.API.events.length?function(rt,jt){var ir,yr,Br;for(Br=jt.length-1;Br!==-1;Br--)ir=jt[Br][0],yr=jt[Br][1],rt.subscribe.apply(rt,[ir].concat(typeof yr=="function"?[yr]:yr))}(jr,se.API.events):ee[an]=se.API[an]);return ee.internal={pdfEscape:mn,getStyle:Pn,getFont:function(){return dr[ni.apply(ee,arguments)]},getFontSize:tn,getCharSpace:xr,getTextColor:Or,getLineHeight:co,getLineHeightFactor:Cr,write:pr,getHorizontalCoordinate:Ur,getVerticalCoordinate:Kr,getCoordinateString:hn,getVerticalCoordinateString:Fe,collections:{},newObject:gn,newAdditionalObject:Jn,newObjectDeferred:Un,newObjectDeferredBegin:Wn,getFilters:ia,putStream:xa,events:jr,scaleFactor:Xe,pageSize:{getWidth:function(){return(cn[Ot].mediaBox.topRightX-cn[Ot].mediaBox.bottomLeftX)/Xe},setWidth:function(jt){cn[Ot].mediaBox.topRightX=jt*Xe+cn[Ot].mediaBox.bottomLeftX},getHeight:function(){return(cn[Ot].mediaBox.topRightY-cn[Ot].mediaBox.bottomLeftY)/Xe},setHeight:function(jt){cn[Ot].mediaBox.topRightY=jt*Xe+cn[Ot].mediaBox.bottomLeftY}},output:Co,getNumberOfPages:jn,pages:Mt,out:Ht,f2:Ae,f3:Me,getPageInfo:Hi,getPageInfoByObjId:ga,getCurrentPageInfo:ha,getPDFVersion:z,hasHotfix:aa},Object.defineProperty(ee.internal.pageSize,"width",{get:function(){return(cn[Ot].mediaBox.topRightX-cn[Ot].mediaBox.bottomLeftX)/Xe},set:function(jt){cn[Ot].mediaBox.topRightX=jt*Xe+cn[Ot].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(ee.internal.pageSize,"height",{get:function(){return(cn[Ot].mediaBox.topRightY-cn[Ot].mediaBox.bottomLeftY)/Xe},set:function(jt){cn[Ot].mediaBox.topRightY=jt*Xe+cn[Ot].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(rt){for(var jt=0,ir=Nr.length;jt<ir;jt++){var yr=Ia(rt[jt][0],rt[jt][1],rt[jt][2],Nr[jt][3],!0);At[yr]=!0;var Br=rt[jt][0].split("-");Gn(yr,Br[0],Br[1]||"")}jr.publish("addFonts",{fonts:dr,dictionary:Sr})}(Nr),Ve="F1",On(Ce,ae),jr.publish("initialized"),ee}return se.API={events:[]},se.version="1.5.3",!(g=function(){return se}.call(B,e,B,J),g!==void 0&&(J.exports=g)),se}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")());/**
|
|
|
* @license
|
|
|
* Copyright (c) 2016 Alexander Weidt,
|
|
|
* https://github.com/BiggA94
|
|
|
*
|
|
|
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
|
|
|
*/(function(de,ue){var se,ae=1,ye=function(lr){return lr.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ce=function(lr){return lr.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Oe=function(lr){if(isNaN(lr))throw new Error("Invalid argument passed to jsPDF.f2");return lr.toFixed(2)},Te=function(lr){if(isNaN(lr))throw new Error("Invalid argument passed to jsPDF.f2");return lr.toFixed(5)};de.__acroform__={};var xe=function(lr,fr){lr.prototype=Object.create(fr.prototype),lr.prototype.constructor=lr},ke=function(lr){return lr*ae},lt=function(lr){return lr/ae},At=function(lr){var fr=new Xe,sr=Lr.internal.getHeight(lr)||0,dr=Lr.internal.getWidth(lr)||0;return fr.BBox=[0,0,Number(Oe(dr)),Number(Oe(sr))],fr},ee=de.__acroform__.setBit=function(Tr,lr){if(Tr=Tr||0,lr=lr||0,isNaN(Tr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Tr|=1<<lr},ie=de.__acroform__.clearBit=function(Tr,lr){if(Tr=Tr||0,lr=lr||0,isNaN(Tr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Tr&=~(1<<lr)},z=de.__acroform__.getBit=function(Tr,lr){if(isNaN(Tr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Tr&1<<lr)==0?0:1},$=de.__acroform__.getBitForPdf=function(Tr,lr){if(isNaN(Tr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return z(Tr,lr-1)},le=de.__acroform__.setBitForPdf=function(Tr,lr){if(isNaN(Tr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return ee(Tr,lr-1)},ge=de.__acroform__.clearBitForPdf=function(Tr,lr,fr){if(isNaN(Tr)||isNaN(lr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return ie(Tr,lr-1)},Ae=de.__acroform__.calculateCoordinates=function(Tr){var lr=this.internal.getHorizontalCoordinate,fr=this.internal.getVerticalCoordinate,sr=Tr[0],dr=Tr[1],Sr=Tr[2],Qr=Tr[3],cn={};return cn.lowerLeft_X=lr(sr)||0,cn.lowerLeft_Y=fr(dr+Qr)||0,cn.upperRight_X=lr(sr+Sr)||0,cn.upperRight_Y=fr(dr)||0,[Number(Oe(cn.lowerLeft_X)),Number(Oe(cn.lowerLeft_Y)),Number(Oe(cn.upperRight_X)),Number(Oe(cn.upperRight_Y))]},Me=function(lr){if(lr.appearanceStreamContent)return lr.appearanceStreamContent;if(lr.V||lr.DV){var fr=[],sr=lr.V||lr.DV,dr=Ze(lr,sr),Sr=se.internal.getFont(lr.fontName,lr.fontStyle).id;fr.push("/Tx BMC"),fr.push("q"),fr.push("BT"),fr.push(se.__private__.encodeColorString(lr.color)),fr.push("/"+Sr+" "+Oe(dr.fontSize)+" Tf"),fr.push("1 0 0 1 0 0 Tm"),fr.push(dr.text),fr.push("ET"),fr.push("Q"),fr.push("EMC");var Qr=new At(lr);return Qr.stream=fr.join(`
|
|
|
`),Qr}},Ze=function(lr,fr){var sr=lr.maxFontSize||12,dr=(lr.fontName,{text:"",fontSize:""}),Sr=(fr=(fr=fr.substr(0,1)=="("?fr.substr(1):fr).substr(fr.length-1)==")"?fr.substr(0,fr.length-1):fr).split(" "),Qr=(se.__private__.encodeColorString(lr.color),sr),cn=Lr.internal.getHeight(lr)||0;cn=cn<0?-cn:cn;var Dn=Lr.internal.getWidth(lr)||0;Dn=Dn<0?-Dn:Dn;var jr=function(mn,In,On){if(mn+1<Sr.length){var Nn=In+" "+Sr[mn+1];return kt(Nn,lr,On).width<=Dn-4}return!1};Qr++;e:for(;;){fr="";var Ln=kt("3",lr,--Qr).height,gn=lr.multiline?cn-Qr:(cn-Ln)/2,Un=-2,Wn=gn+=2,Jn=0,Qn=0,Vn=0;if(Qr<=0){fr=`(...) Tj
|
|
|
`,fr+="% Width of Text: "+kt(fr,lr,Qr=12).width+", FieldWidth:"+Dn+`
|
|
|
`;break}Vn=kt(Sr[0]+" ",lr,Qr).width;var yn="",on=0;for(var ia in Sr)if(Sr.hasOwnProperty(ia)){yn=(yn+=Sr[ia]+" ").substr(yn.length-1)==" "?yn.substr(0,yn.length-1):yn;var xa=parseInt(ia);Vn=kt(yn+" ",lr,Qr).width;var ta=jr(xa,yn,Qr),Ni=ia>=Sr.length-1;if(ta&&!Ni){yn+=" ";continue}if(ta||Ni){if(Ni)Qn=xa;else if(lr.multiline&&cn<(Ln+2)*(on+2)+2)continue e}else{if(!lr.multiline)continue e;if(cn<(Ln+2)*(on+2)+2)continue e;Qn=xa}for(var Ci="",Gn=Jn;Gn<=Qn;Gn++)Ci+=Sr[Gn]+" ";switch(Ci=Ci.substr(Ci.length-1)==" "?Ci.substr(0,Ci.length-1):Ci,Vn=kt(Ci,lr,Qr).width,lr.textAlign){case"right":Un=Dn-Vn-2;break;case"center":Un=(Dn-Vn)/2;break;case"left":default:Un=2}fr+=Oe(Un)+" "+Oe(Wn)+` Td
|
|
|
`,fr+="("+ye(Ci)+`) Tj
|
|
|
`,fr+=-Oe(Un)+` 0 Td
|
|
|
`,Wn=-(Qr+2),Vn=0,Jn=Qn+1,on++,yn=""}break}return dr.text=fr,dr.fontSize=Qr,dr},kt=function(lr,fr,sr){var dr=se.internal.getFont(fr.fontName,fr.fontStyle),Sr=se.getStringUnitWidth(lr,{font:dr,fontSize:parseFloat(sr),charSpace:0})*parseFloat(sr);return{height:se.getStringUnitWidth("3",{font:dr,fontSize:parseFloat(sr),charSpace:0})*parseFloat(sr)*1.5,width:Sr}},Jt={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Et=function(){se.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var lr=se.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var fr in lr)if(lr.hasOwnProperty(fr)){var sr=lr[fr];sr.objId=void 0,sr.hasAnnotation&&Ft.call(se,sr)}},Ft=function(lr){var fr={type:"reference",object:lr};se.internal.getPageInfo(lr.page).pageContext.annotations.find(function(sr){return sr.type===fr.type&&sr.object===fr.object})===void 0&&se.internal.getPageInfo(lr.page).pageContext.annotations.push(fr)},Kt=function(){if(se.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");se.internal.write("/AcroForm "+se.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},Vt=function(){se.internal.events.unsubscribe(se.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete se.internal.acroformPlugin.acroFormDictionaryRoot._eventID,se.internal.acroformPlugin.printedOut=!0},Ot=function(lr){var fr=!lr;lr||(se.internal.newObjectDeferredBegin(se.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),se.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),lr=lr||se.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var sr in lr)if(lr.hasOwnProperty(sr)){var dr=lr[sr],Sr=[],Qr=dr.Rect;if(dr.Rect&&(dr.Rect=Ae.call(this,dr.Rect)),se.internal.newObjectDeferredBegin(dr.objId,!0),dr.DA=Lr.createDefaultAppearanceStream(dr),p(dr)==="object"&&typeof dr.getKeyValueListForStream=="function"&&(Sr=dr.getKeyValueListForStream()),dr.Rect=Qr,dr.hasAppearanceStream&&!dr.appearanceStreamContent){var cn=Me.call(this,dr);Sr.push({key:"AP",value:"<</N "+cn+">>"}),se.internal.acroformPlugin.xForms.push(cn)}if(dr.appearanceStreamContent){var Dn="";for(var jr in dr.appearanceStreamContent)if(dr.appearanceStreamContent.hasOwnProperty(jr)){var Ln=dr.appearanceStreamContent[jr];if(Dn+="/"+jr+" ",Dn+="<<",1<=Object.keys(Ln).length||Array.isArray(Ln))for(var sr in Ln){var gn;Ln.hasOwnProperty(sr)&&(typeof(gn=Ln[sr])=="function"&&(gn=gn.call(this,dr)),Dn+="/"+sr+" "+gn+" ",0<=se.internal.acroformPlugin.xForms.indexOf(gn)||se.internal.acroformPlugin.xForms.push(gn))}else typeof(gn=Ln)=="function"&&(gn=gn.call(this,dr)),Dn+="/"+sr+" "+gn,0<=se.internal.acroformPlugin.xForms.indexOf(gn)||se.internal.acroformPlugin.xForms.push(gn);Dn+=">>"}Sr.push({key:"AP",value:`<<
|
|
|
`+Dn+">>"})}se.internal.putStream({additionalKeyValues:Sr}),se.internal.out("endobj")}fr&&ur.call(this,se.internal.acroformPlugin.xForms)},ur=function(lr){for(var fr in lr)if(lr.hasOwnProperty(fr)){var sr=fr,dr=lr[fr];se.internal.newObjectDeferredBegin(dr&&dr.objId,!0),p(dr)==="object"&&typeof dr.putStream=="function"&&dr.putStream(),delete lr[sr]}},Zt=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(se=this,ft.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(Jt)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");ae=se.internal.scaleFactor,se.internal.acroformPlugin.acroFormDictionaryRoot=new gt,se.internal.acroformPlugin.acroFormDictionaryRoot._eventID=se.internal.events.subscribe("postPutResources",Vt),se.internal.events.subscribe("buildDocument",Et),se.internal.events.subscribe("putCatalog",Kt),se.internal.events.subscribe("postPutPages",Ot),se.internal.acroformPlugin.isInitialized=!0}},ze=de.__acroform__.arrayToPdfArray=function(Tr){if(Array.isArray(Tr)){for(var lr="[",fr=0;fr<Tr.length;fr++)switch(fr!==0&&(lr+=" "),p(Tr[fr])){case"boolean":case"number":case"object":lr+=Tr[fr].toString();break;case"string":Tr[fr].substr(0,1)!=="/"?lr+="("+ye(Tr[fr].toString())+")":lr+=Tr[fr].toString()}return lr+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},at=function(lr){return(lr=lr||"").toString(),lr="("+ye(lr)+")"},Ve=function(){var lr;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(lr||(lr=se.internal.newObjectDeferred()),!lr)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return lr},set:function(sr){lr=sr}})};Ve.prototype.toString=function(){return this.objId+" 0 R"},Ve.prototype.putStream=function(){var Tr=this.getKeyValueListForStream();se.internal.putStream({data:this.stream,additionalKeyValues:Tr}),se.internal.out("endobj")},Ve.prototype.getKeyValueListForStream=function(){return function(Tr){var lr=[],fr=Object.getOwnPropertyNames(Tr).filter(function(Qr){return Qr!="content"&&Qr!="appearanceStreamContent"&&Qr.substring(0,1)!="_"});for(var sr in fr)if(Object.getOwnPropertyDescriptor(Tr,fr[sr]).configurable===!1){var dr=fr[sr],Sr=Tr[dr];Sr&&(Array.isArray(Sr)?lr.push({key:dr,value:ze(Sr)}):Sr instanceof Ve?lr.push({key:dr,value:Sr.objId+" 0 R"}):typeof Sr!="function"&&lr.push({key:dr,value:Sr}))}return lr}(this)};var Xe=function(){Ve.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var lr,fr=[];Object.defineProperty(this,"BBox",{configurable:!1,writeable:!0,get:function(){return fr},set:function(dr){fr=dr}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writeable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(dr){lr=dr.trim()},get:function(){return lr||null}})};xe(Xe,Ve);var gt=function(){Ve.call(this);var lr,fr=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<fr.length?fr:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return fr}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(lr)return"("+lr+")"},set:function(dr){lr=dr}})};xe(gt,Ve);var ft=function Tr(){Ve.call(this);var lr=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return lr},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute F supplied.');lr=on}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean($(lr,3))},set:function(on){Boolean(on)===!0?this.F=le(lr,3):this.F=ge(lr,3)}});var fr=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return fr},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute Ff supplied.');fr=on}});var sr=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(sr.length!==0)return sr},set:function(on){sr=on!==void 0?on:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!sr||isNaN(sr[0])?0:lt(sr[0])},set:function(on){sr[0]=ke(on)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!sr||isNaN(sr[1])?0:lt(sr[1])},set:function(on){sr[1]=ke(on)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!sr||isNaN(sr[2])?0:lt(sr[2])},set:function(on){sr[2]=ke(on)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!sr||isNaN(sr[3])?0:lt(sr[3])},set:function(on){sr[3]=ke(on)}});var dr="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return dr},set:function(on){switch(on){case"/Btn":case"/Tx":case"/Ch":case"/Sig":dr=on;break;default:throw new Error('Invalid value "'+on+'" for attribute FT supplied.')}}});var Sr=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!Sr||Sr.length<1){if(this instanceof Nr)return;Sr="FieldObject"+Tr.FieldNum++}return"("+ye(Sr)+")"},set:function(on){Sr=on.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return Sr},set:function(on){Sr=on}});var Qr="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Qr},set:function(on){Qr=on}});var cn="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return cn},set:function(on){cn=on}});var Dn=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return lt(Dn)},set:function(on){Dn=ke(on)}});var jr=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return lt(jr)},set:function(on){jr=ke(on)}});var Ln="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Ln},set:function(on){Ln=on}});var gn="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!gn||this instanceof Nr||this instanceof tn))return at(gn)},set:function(on){on=on.toString(),gn=on}});var Un=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Un)return this instanceof Ht==!1?at(Un):Un},set:function(on){on=on.toString(),Un=this instanceof Ht==!1?on.substr(0,1)==="("?Ce(on.substr(1,on.length-2)):Ce(on):on}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ht==!0?Ce(Un.substr(1,Un.length-1)):Un},set:function(on){on=on.toString(),Un=this instanceof Ht==!0?"/"+on:on}});var Wn=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Wn)return this instanceof Ht==!1?at(Wn):Wn},set:function(on){on=on.toString(),Wn=this instanceof Ht==!1?on.substr(0,1)==="("?Ce(on.substr(1,on.length-2)):Ce(on):on}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Ht==!0?Ce(Wn.substr(1,Wn.length-1)):Wn},set:function(on){on=on.toString(),Wn=this instanceof Ht==!0?"/"+on:on}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var Jn,Qn=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return Qn},set:function(on){on=Boolean(on),Qn=on}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(Jn)return Jn},set:function(on){Jn=on}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,1))},set:function(on){Boolean(on)===!0?this.Ff=le(this.Ff,1):this.Ff=ge(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,2))},set:function(on){Boolean(on)===!0?this.Ff=le(this.Ff,2):this.Ff=ge(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,3))},set:function(on){Boolean(on)===!0?this.Ff=le(this.Ff,3):this.Ff=ge(this.Ff,3)}});var Vn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Vn!==null)return Vn},set:function(on){if([0,1,2].indexOf(on)===-1)throw new Error('Invalid value "'+on+'" for attribute Q supplied.');Vn=on}}),Object.defineProperty(this,"textAlign",{get:function(){var on="left";switch(Vn){case 0:default:on="left";break;case 1:on="center";break;case 2:on="right"}return on},configurable:!0,enumerable:!0,set:function(on){switch(on){case"right":case 2:Vn=2;break;case"center":case 1:Vn=1;break;case"left":case 0:default:Vn=0}}})};xe(ft,Ve);var Ge=function(){ft.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var lr=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return lr},set:function(dr){lr=dr}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return lr},set:function(dr){lr=dr}});var fr=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ze(fr)},set:function(dr){var Sr,Qr;Qr=[],typeof(Sr=dr)=="string"&&(Qr=function(cn,Dn,jr){jr||(jr=1);for(var Ln,gn=[];Ln=Dn.exec(cn);)gn.push(Ln[jr]);return gn}(Sr,/\((.*?)\)/g)),fr=Qr}}),this.getOptions=function(){return fr},this.setOptions=function(sr){fr=sr,this.sort&&fr.sort()},this.addOption=function(sr){sr=(sr=sr||"").toString(),fr.push(sr),this.sort&&fr.sort()},this.removeOption=function(sr,dr){for(dr=dr||!1,sr=(sr=sr||"").toString();fr.indexOf(sr)!==-1&&(fr.splice(fr.indexOf(sr),1),dr!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,18))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,18):this.Ff=ge(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,19))},set:function(dr){this.combo===!0&&(Boolean(dr)===!0?this.Ff=le(this.Ff,19):this.Ff=ge(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,20))},set:function(dr){Boolean(dr)===!0?(this.Ff=le(this.Ff,20),fr.sort()):this.Ff=ge(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,22))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,22):this.Ff=ge(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,23))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,23):this.Ff=ge(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,27))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,27):this.Ff=ge(this.Ff,27)}}),this.hasAppearanceStream=!1};xe(Ge,ft);var Mt=function(){Ge.call(this),this.fontName="helvetica",this.combo=!1};xe(Mt,Ge);var It=function(){Mt.call(this),this.combo=!0};xe(It,Mt);var rr=function(){It.call(this),this.edit=!0};xe(rr,It);var Ht=function(){ft.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,15))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,15):this.Ff=ge(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,16))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,16):this.Ff=ge(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,17))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,17):this.Ff=ge(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,26))},set:function(dr){Boolean(dr)===!0?this.Ff=le(this.Ff,26):this.Ff=ge(this.Ff,26)}});var lr,fr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){if(Object.keys(fr).length!==0){var dr,Sr=[];for(dr in Sr.push("<<"),fr)Sr.push("/"+dr+" ("+fr[dr]+")");return Sr.push(">>"),Sr.join(`
|
|
|
`)}},set:function(dr){p(dr)==="object"&&(fr=dr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return fr.CA||""},set:function(dr){typeof dr=="string"&&(fr.CA=dr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return lr},set:function(dr){lr=dr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return lr.substr(1,lr.length-1)},set:function(dr){lr="/"+dr}})};xe(Ht,ft);var pr=function(){Ht.call(this),this.pushButton=!0};xe(pr,Ht);var Ar=function(){Ht.call(this),this.radio=!0,this.pushButton=!1;var lr=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return lr},set:function(sr){lr=sr!==void 0?sr:[]}})};xe(Ar,Ht);var Nr=function(){var lr,fr;ft.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return lr},set:function(Qr){lr=Qr}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return fr},set:function(Qr){fr=Qr}});var sr,dr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Qr,cn=[];for(Qr in cn.push("<<"),dr)cn.push("/"+Qr+" ("+dr[Qr]+")");return cn.push(">>"),cn.join(`
|
|
|
`)},set:function(Qr){p(Qr)==="object"&&(dr=Qr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return dr.CA||""},set:function(Qr){typeof Qr=="string"&&(dr.CA=Qr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return sr},set:function(Qr){sr=Qr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return sr.substr(1,sr.length-1)},set:function(Qr){sr="/"+Qr}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=Lr.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};xe(Nr,ft),Ar.prototype.setAppearance=function(Tr){if(!("createAppearanceStream"in Tr&&"getCA"in Tr))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var lr in this.Kids)if(this.Kids.hasOwnProperty(lr)){var fr=this.Kids[lr];fr.appearanceStreamContent=Tr.createAppearanceStream(fr.optionName),fr.caption=Tr.getCA()}},Ar.prototype.createOption=function(Tr){this.Kids.length;var lr=new Nr;return lr.Parent=this,lr.optionName=Tr,this.Kids.push(lr),Xr.call(this,lr),lr};var Fr=function(){Ht.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Lr.CheckBox.createAppearanceStream()};xe(Fr,Ht);var tn=function(){ft.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,13))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,13):this.Ff=ge(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,21))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,21):this.Ff=ge(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,23))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,23):this.Ff=ge(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,24))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,24):this.Ff=ge(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,25))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,25):this.Ff=ge(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,26))},set:function(sr){Boolean(sr)===!0?this.Ff=le(this.Ff,26):this.Ff=ge(this.Ff,26)}});var lr=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return lr},set:function(sr){lr=sr}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return lr},set:function(sr){Number.isInteger(sr)&&(lr=sr)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};xe(tn,ft);var Jr=function(){tn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,14))},set:function(fr){Boolean(fr)===!0?this.Ff=le(this.Ff,14):this.Ff=ge(this.Ff,14)}}),this.password=!0};xe(Jr,tn);var Lr={CheckBox:{createAppearanceStream:function(){return{N:{On:Lr.CheckBox.YesNormal},D:{On:Lr.CheckBox.YesPushDown,Off:Lr.CheckBox.OffPushDown}}},YesPushDown:function(lr){var fr=At(lr),sr=[],dr=se.internal.getFont(lr.fontName,lr.fontStyle).id,Sr=se.__private__.encodeColorString(lr.color),Qr=Ze(lr,lr.caption);return sr.push("0.749023 g"),sr.push("0 0 "+Oe(Lr.internal.getWidth(lr))+" "+Oe(Lr.internal.getHeight(lr))+" re"),sr.push("f"),sr.push("BMC"),sr.push("q"),sr.push("0 0 1 rg"),sr.push("/"+dr+" "+Oe(Qr.fontSize)+" Tf "+Sr),sr.push("BT"),sr.push(Qr.text),sr.push("ET"),sr.push("Q"),sr.push("EMC"),fr.stream=sr.join(`
|
|
|
`),fr},YesNormal:function(lr){var fr=At(lr),sr=se.internal.getFont(lr.fontName,lr.fontStyle).id,dr=se.__private__.encodeColorString(lr.color),Sr=[],Qr=Lr.internal.getHeight(lr),cn=Lr.internal.getWidth(lr),Dn=Ze(lr,lr.caption);return Sr.push("1 g"),Sr.push("0 0 "+Oe(cn)+" "+Oe(Qr)+" re"),Sr.push("f"),Sr.push("q"),Sr.push("0 0 1 rg"),Sr.push("0 0 "+Oe(cn-1)+" "+Oe(Qr-1)+" re"),Sr.push("W"),Sr.push("n"),Sr.push("0 g"),Sr.push("BT"),Sr.push("/"+sr+" "+Oe(Dn.fontSize)+" Tf "+dr),Sr.push(Dn.text),Sr.push("ET"),Sr.push("Q"),fr.stream=Sr.join(`
|
|
|
`),fr},OffPushDown:function(lr){var fr=At(lr),sr=[];return sr.push("0.749023 g"),sr.push("0 0 "+Oe(Lr.internal.getWidth(lr))+" "+Oe(Lr.internal.getHeight(lr))+" re"),sr.push("f"),fr.stream=sr.join(`
|
|
|
`),fr}},RadioButton:{Circle:{createAppearanceStream:function(lr){var fr={D:{Off:Lr.RadioButton.Circle.OffPushDown},N:{}};return fr.N[lr]=Lr.RadioButton.Circle.YesNormal,fr.D[lr]=Lr.RadioButton.Circle.YesPushDown,fr},getCA:function(){return"l"},YesNormal:function(lr){var fr=At(lr),sr=[],dr=Lr.internal.getWidth(lr)<=Lr.internal.getHeight(lr)?Lr.internal.getWidth(lr)/4:Lr.internal.getHeight(lr)/4;dr=Number((.9*dr).toFixed(5));var Sr=Lr.internal.Bezier_C,Qr=Number((dr*Sr).toFixed(5));return sr.push("q"),sr.push("1 0 0 1 "+Te(Lr.internal.getWidth(lr)/2)+" "+Te(Lr.internal.getHeight(lr)/2)+" cm"),sr.push(dr+" 0 m"),sr.push(dr+" "+Qr+" "+Qr+" "+dr+" 0 "+dr+" c"),sr.push("-"+Qr+" "+dr+" -"+dr+" "+Qr+" -"+dr+" 0 c"),sr.push("-"+dr+" -"+Qr+" -"+Qr+" -"+dr+" 0 -"+dr+" c"),sr.push(Qr+" -"+dr+" "+dr+" -"+Qr+" "+dr+" 0 c"),sr.push("f"),sr.push("Q"),fr.stream=sr.join(`
|
|
|
`),fr},YesPushDown:function(lr){var fr=At(lr),sr=[],dr=Lr.internal.getWidth(lr)<=Lr.internal.getHeight(lr)?Lr.internal.getWidth(lr)/4:Lr.internal.getHeight(lr)/4,Sr=(dr=Number((.9*dr).toFixed(5)),Number((2*dr).toFixed(5))),Qr=Number((Sr*Lr.internal.Bezier_C).toFixed(5)),cn=Number((dr*Lr.internal.Bezier_C).toFixed(5));return sr.push("0.749023 g"),sr.push("q"),sr.push("1 0 0 1 "+Te(Lr.internal.getWidth(lr)/2)+" "+Te(Lr.internal.getHeight(lr)/2)+" cm"),sr.push(Sr+" 0 m"),sr.push(Sr+" "+Qr+" "+Qr+" "+Sr+" 0 "+Sr+" c"),sr.push("-"+Qr+" "+Sr+" -"+Sr+" "+Qr+" -"+Sr+" 0 c"),sr.push("-"+Sr+" -"+Qr+" -"+Qr+" -"+Sr+" 0 -"+Sr+" c"),sr.push(Qr+" -"+Sr+" "+Sr+" -"+Qr+" "+Sr+" 0 c"),sr.push("f"),sr.push("Q"),sr.push("0 g"),sr.push("q"),sr.push("1 0 0 1 "+Te(Lr.internal.getWidth(lr)/2)+" "+Te(Lr.internal.getHeight(lr)/2)+" cm"),sr.push(dr+" 0 m"),sr.push(dr+" "+cn+" "+cn+" "+dr+" 0 "+dr+" c"),sr.push("-"+cn+" "+dr+" -"+dr+" "+cn+" -"+dr+" 0 c"),sr.push("-"+dr+" -"+cn+" -"+cn+" -"+dr+" 0 -"+dr+" c"),sr.push(cn+" -"+dr+" "+dr+" -"+cn+" "+dr+" 0 c"),sr.push("f"),sr.push("Q"),fr.stream=sr.join(`
|
|
|
`),fr},OffPushDown:function(lr){var fr=At(lr),sr=[],dr=Lr.internal.getWidth(lr)<=Lr.internal.getHeight(lr)?Lr.internal.getWidth(lr)/4:Lr.internal.getHeight(lr)/4,Sr=(dr=Number((.9*dr).toFixed(5)),Number((2*dr).toFixed(5))),Qr=Number((Sr*Lr.internal.Bezier_C).toFixed(5));return sr.push("0.749023 g"),sr.push("q"),sr.push("1 0 0 1 "+Te(Lr.internal.getWidth(lr)/2)+" "+Te(Lr.internal.getHeight(lr)/2)+" cm"),sr.push(Sr+" 0 m"),sr.push(Sr+" "+Qr+" "+Qr+" "+Sr+" 0 "+Sr+" c"),sr.push("-"+Qr+" "+Sr+" -"+Sr+" "+Qr+" -"+Sr+" 0 c"),sr.push("-"+Sr+" -"+Qr+" -"+Qr+" -"+Sr+" 0 -"+Sr+" c"),sr.push(Qr+" -"+Sr+" "+Sr+" -"+Qr+" "+Sr+" 0 c"),sr.push("f"),sr.push("Q"),fr.stream=sr.join(`
|
|
|
`),fr}},Cross:{createAppearanceStream:function(lr){var fr={D:{Off:Lr.RadioButton.Cross.OffPushDown},N:{}};return fr.N[lr]=Lr.RadioButton.Cross.YesNormal,fr.D[lr]=Lr.RadioButton.Cross.YesPushDown,fr},getCA:function(){return"8"},YesNormal:function(lr){var fr=At(lr),sr=[],dr=Lr.internal.calculateCross(lr);return sr.push("q"),sr.push("1 1 "+Oe(Lr.internal.getWidth(lr)-2)+" "+Oe(Lr.internal.getHeight(lr)-2)+" re"),sr.push("W"),sr.push("n"),sr.push(Oe(dr.x1.x)+" "+Oe(dr.x1.y)+" m"),sr.push(Oe(dr.x2.x)+" "+Oe(dr.x2.y)+" l"),sr.push(Oe(dr.x4.x)+" "+Oe(dr.x4.y)+" m"),sr.push(Oe(dr.x3.x)+" "+Oe(dr.x3.y)+" l"),sr.push("s"),sr.push("Q"),fr.stream=sr.join(`
|
|
|
`),fr},YesPushDown:function(lr){var fr=At(lr),sr=Lr.internal.calculateCross(lr),dr=[];return dr.push("0.749023 g"),dr.push("0 0 "+Oe(Lr.internal.getWidth(lr))+" "+Oe(Lr.internal.getHeight(lr))+" re"),dr.push("f"),dr.push("q"),dr.push("1 1 "+Oe(Lr.internal.getWidth(lr)-2)+" "+Oe(Lr.internal.getHeight(lr)-2)+" re"),dr.push("W"),dr.push("n"),dr.push(Oe(sr.x1.x)+" "+Oe(sr.x1.y)+" m"),dr.push(Oe(sr.x2.x)+" "+Oe(sr.x2.y)+" l"),dr.push(Oe(sr.x4.x)+" "+Oe(sr.x4.y)+" m"),dr.push(Oe(sr.x3.x)+" "+Oe(sr.x3.y)+" l"),dr.push("s"),dr.push("Q"),fr.stream=dr.join(`
|
|
|
`),fr},OffPushDown:function(lr){var fr=At(lr),sr=[];return sr.push("0.749023 g"),sr.push("0 0 "+Oe(Lr.internal.getWidth(lr))+" "+Oe(Lr.internal.getHeight(lr))+" re"),sr.push("f"),fr.stream=sr.join(`
|
|
|
`),fr}}},createDefaultAppearanceStream:function(lr){var fr=se.internal.getFont(lr.fontName,lr.fontStyle).id,sr=se.__private__.encodeColorString(lr.color);return"/"+fr+" "+lr.fontSize+" Tf "+sr}};Lr.internal={Bezier_C:.551915024494,calculateCross:function(lr){var fr=Lr.internal.getWidth(lr),sr=Lr.internal.getHeight(lr),dr=Math.min(fr,sr);return{x1:{x:(fr-dr)/2,y:(sr-dr)/2+dr},x2:{x:(fr-dr)/2+dr,y:(sr-dr)/2},x3:{x:(fr-dr)/2,y:(sr-dr)/2},x4:{x:(fr-dr)/2+dr,y:(sr-dr)/2+dr}}}},Lr.internal.getWidth=function(Tr){var lr=0;return p(Tr)==="object"&&(lr=ke(Tr.Rect[2])),lr},Lr.internal.getHeight=function(Tr){var lr=0;return p(Tr)==="object"&&(lr=ke(Tr.Rect[3])),lr};var Xr=de.addField=function(Tr){if(Zt.call(this),!(Tr instanceof ft))throw new Error("Invalid argument passed to jsPDF.addField.");return function(lr){se.internal.acroformPlugin.printedOut&&(se.internal.acroformPlugin.printedOut=!1,se.internal.acroformPlugin.acroFormDictionaryRoot=null),se.internal.acroformPlugin.acroFormDictionaryRoot||Zt.call(se),se.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(lr)}.call(this,Tr),Tr.page=se.internal.getCurrentPageInfo().pageNumber,this};de.addButton=function(Tr){if(Tr instanceof Ht==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return Xr.call(this,Tr)},de.addTextField=function(Tr){if(Tr instanceof tn==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Xr.call(this,Tr)},de.addChoiceField=function(Tr){if(Tr instanceof Ge==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Xr.call(this,Tr)},p(ue)=="object"&&ue.ChoiceField===void 0&&ue.ListBox===void 0&&ue.ComboBox===void 0&&ue.EditBox===void 0&&ue.Button===void 0&&ue.PushButton===void 0&&ue.RadioButton===void 0&&ue.CheckBox===void 0&&ue.TextField===void 0&&ue.PasswordField===void 0?(ue.ChoiceField=Ge,ue.ListBox=Mt,ue.ComboBox=It,ue.EditBox=rr,ue.Button=Ht,ue.PushButton=pr,ue.RadioButton=Ar,ue.CheckBox=Fr,ue.TextField=tn,ue.PasswordField=Jr,ue.AcroForm={Appearance:Lr}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),de.AcroFormChoiceField=Ge,de.AcroFormListBox=Mt,de.AcroFormComboBox=It,de.AcroFormEditBox=rr,de.AcroFormButton=Ht,de.AcroFormPushButton=pr,de.AcroFormRadioButton=Ar,de.AcroFormCheckBox=Fr,de.AcroFormTextField=tn,de.AcroFormPasswordField=Jr,de.AcroFormAppearance=Lr,de.AcroForm={ChoiceField:Ge,ListBox:Mt,ComboBox:It,EditBox:rr,Button:Ht,PushButton:pr,RadioButton:Ar,CheckBox:Fr,TextField:tn,PasswordField:Jr,Appearance:Lr}})((window.tmp=Bt).API,typeof window!="undefined"&&window||typeof d!="undefined"&&d),function(de){var ue="addImage_",se={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},ae=de.getImageFileTypeByImageData=function(ee,ie){var z,$;ie=ie||"UNKNOWN";var le,ge,Ae,Me="UNKNOWN";for(Ae in de.isArrayBufferView(ee)&&(ee=de.arrayBufferToBinaryString(ee)),se)for(le=se[Ae],z=0;z<le.length;z+=1){for(ge=!0,$=0;$<le[z].length;$+=1)if(le[z][$]!==void 0&&le[z][$]!==ee.charCodeAt($)){ge=!1;break}if(ge===!0){Me=Ae;break}}return Me==="UNKNOWN"&&ie!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+ie+'".'),Me=ie),Me},ye=function ee(ie){for(var z=this.internal.newObject(),$=this.internal.write,le=this.internal.putStream,ge=(0,this.internal.getFilters)();ge.indexOf("FlateEncode")!==-1;)ge.splice(ge.indexOf("FlateEncode"),1);ie.n=z;var Ae=[];if(Ae.push({key:"Type",value:"/XObject"}),Ae.push({key:"Subtype",value:"/Image"}),Ae.push({key:"Width",value:ie.w}),Ae.push({key:"Height",value:ie.h}),ie.cs===this.color_spaces.INDEXED?Ae.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(ie.pal.length/3-1)+" "+("smask"in ie?z+2:z+1)+" 0 R]"}):(Ae.push({key:"ColorSpace",value:"/"+ie.cs}),ie.cs===this.color_spaces.DEVICE_CMYK&&Ae.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Ae.push({key:"BitsPerComponent",value:ie.bpc}),"dp"in ie&&Ae.push({key:"DecodeParms",value:"<<"+ie.dp+">>"}),"trns"in ie&&ie.trns.constructor==Array){for(var Me="",Ze=0,kt=ie.trns.length;Ze<kt;Ze++)Me+=ie.trns[Ze]+" "+ie.trns[Ze]+" ";Ae.push({key:"Mask",value:"["+Me+"]"})}"smask"in ie&&Ae.push({key:"SMask",value:z+1+" 0 R"});var Jt=ie.f!==void 0?["/"+ie.f]:void 0;if(le({data:ie.data,additionalKeyValues:Ae,alreadyAppliedFilters:Jt}),$("endobj"),"smask"in ie){var Et="/Predictor "+ie.p+" /Colors 1 /BitsPerComponent "+ie.bpc+" /Columns "+ie.w,Ft={w:ie.w,h:ie.h,cs:"DeviceGray",bpc:ie.bpc,dp:Et,data:ie.smask};"f"in ie&&(Ft.f=ie.f),ee.call(this,Ft)}ie.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),le({data:this.arrayBufferToBinaryString(new Uint8Array(ie.pal))}),$("endobj"))},Ce=function(){var ie=this.internal.collections[ue+"images"];for(var z in ie)ye.call(this,ie[z])},Oe=function(){var ie,z=this.internal.collections[ue+"images"],$=this.internal.write;for(var le in z)$("/I"+(ie=z[le]).i,ie.n,"0","R")},Te=function(ie){return typeof de["process"+ie.toUpperCase()]=="function"},xe=function(ie){return p(ie)==="object"&&ie.nodeType===1},ke=function(ie,z){if(ie.nodeName==="IMG"&&ie.hasAttribute("src")){var $=""+ie.getAttribute("src");if($.indexOf("data:image/")===0)return unescape($);var le=de.loadFile($);if(le!==void 0)return btoa(le)}if(ie.nodeName==="CANVAS"){var ge=ie;return ie.toDataURL("image/jpeg",1)}(ge=document.createElement("canvas")).width=ie.clientWidth||ie.width,ge.height=ie.clientHeight||ie.height;var Ae=ge.getContext("2d");if(!Ae)throw"addImage requires canvas to be supported by browser.";return Ae.drawImage(ie,0,0,ge.width,ge.height),ge.toDataURL((""+z).toLowerCase()=="png"?"image/png":"image/jpeg")},lt=function(ie,z){var $;if(z){for(var le in z)if(ie===z[le].alias){$=z[le];break}}return $};de.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},de.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},de.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},de.sHashCode=function(ee){var ie,z=0;if((ee=ee||"").length===0)return z;for(ie=0;ie<ee.length;ie++)z=(z<<5)-z+ee.charCodeAt(ie),z|=0;return z},de.isString=function(ee){return typeof ee=="string"},de.validateStringAsBase64=function(ee){(ee=ee||"").toString().trim();var ie=!0;return ee.length===0&&(ie=!1),ee.length%4!=0&&(ie=!1),/^[A-Za-z0-9+\/]+$/.test(ee.substr(0,ee.length-2))===!1&&(ie=!1),/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(ee.substr(-2))===!1&&(ie=!1),ie},de.extractInfoFromBase64DataURI=function(ee){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(ee)},de.extractImageFromDataUrl=function(ee){var ie=(ee=ee||"").split("base64,"),z=null;if(ie.length===2){var $=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(ie[0]);Array.isArray($)&&(z={mimeType:$[1],charset:$[2],data:ie[1]})}return z},de.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},de.isArrayBuffer=function(ee){return!!this.supportsArrayBuffer()&&ee instanceof ArrayBuffer},de.isArrayBufferView=function(ee){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(ee instanceof Int8Array||ee instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&ee instanceof Uint8ClampedArray||ee instanceof Int16Array||ee instanceof Uint16Array||ee instanceof Int32Array||ee instanceof Uint32Array||ee instanceof Float32Array||ee instanceof Float64Array)},de.binaryStringToUint8Array=function(ee){for(var ie=ee.length,z=new Uint8Array(ie),$=0;$<ie;$++)z[$]=ee.charCodeAt($);return z},de.arrayBufferToBinaryString=function(ee){if(typeof atob=="function")return atob(this.arrayBufferToBase64(ee))},de.arrayBufferToBase64=function(ee){for(var ie,z="",$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=new Uint8Array(ee),ge=le.byteLength,Ae=ge%3,Me=ge-Ae,Ze=0;Ze<Me;Ze+=3)z+=$[(16515072&(ie=le[Ze]<<16|le[Ze+1]<<8|le[Ze+2]))>>18]+$[(258048&ie)>>12]+$[(4032&ie)>>6]+$[63&ie];return Ae==1?z+=$[(252&(ie=le[Me]))>>2]+$[(3&ie)<<4]+"==":Ae==2&&(z+=$[(64512&(ie=le[Me]<<8|le[Me+1]))>>10]+$[(1008&ie)>>4]+$[(15&ie)<<2]+"="),z},de.createImageInfo=function(ee,ie,z,$,le,ge,Ae,Me,Ze,kt,Jt,Et,Ft){var Kt={alias:Me,w:ie,h:z,cs:$,bpc:le,i:Ae,data:ee};return ge&&(Kt.f=ge),Ze&&(Kt.dp=Ze),kt&&(Kt.trns=kt),Jt&&(Kt.pal=Jt),Et&&(Kt.smask=Et),Ft&&(Kt.p=Ft),Kt},de.addImage=function(ee,ie,z,$,le,ge,Ae,Me,Ze){var kt="";if(typeof ie!="string"){var Jt=ge;ge=le,le=$,$=z,z=ie,ie=Jt}if(p(ee)==="object"&&!xe(ee)&&"imageData"in ee){var Et=ee;ee=Et.imageData,ie=Et.format||ie||"UNKNOWN",z=Et.x||z||0,$=Et.y||$||0,le=Et.w||le,ge=Et.h||ge,Ae=Et.alias||Ae,Me=Et.compression||Me,Ze=Et.rotation||Et.angle||Ze}var Ft=this.internal.getFilters();if(Me===void 0&&Ft.indexOf("FlateEncode")!==-1&&(Me="SLOW"),typeof ee=="string"&&(ee=unescape(ee)),isNaN(z)||isNaN($))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Kt,Vt,Ot,ur,Zt,ze,at,Ve=function(){var Xe=this.internal.collections[ue+"images"];return Xe||(this.internal.collections[ue+"images"]=Xe={},this.internal.events.subscribe("putResources",Ce),this.internal.events.subscribe("putXobjectDict",Oe)),Xe}.call(this);if(!((Kt=lt(ee,Ve))||(xe(ee)&&(ee=ke(ee,ie)),((at=Ae)==null||at.length===0)&&(Ae=typeof(ze=ee)=="string"?de.sHashCode(ze):de.isArrayBufferView(ze)?de.sHashCode(de.arrayBufferToBinaryString(ze)):null),Kt=lt(Ae,Ve)))){if(this.isString(ee)&&((kt=this.convertStringToImageData(ee))!==""||(kt=de.loadFile(ee))!==void 0)&&(ee=kt),ie=this.getImageFileTypeByImageData(ee,ie),!Te(ie))throw new Error("addImage does not support files of type '"+ie+"', please ensure that a plugin for '"+ie+"' support is added.");if(this.supportsArrayBuffer()&&(ee instanceof Uint8Array||(Vt=ee,ee=this.binaryStringToUint8Array(ee))),!(Kt=this["process"+ie.toUpperCase()](ee,(Zt=0,(ur=Ve)&&(Zt=Object.keys?Object.keys(ur).length:function(Xe){var gt=0;for(var ft in Xe)Xe.hasOwnProperty(ft)&>++;return gt}(ur)),Zt),Ae,((Ot=Me)&&typeof Ot=="string"&&(Ot=Ot.toUpperCase()),Ot in de.image_compression?Ot:de.image_compression.NONE),Vt)))throw new Error("An unknown error occurred whilst processing the image")}return function(Xe,gt,ft,Ge,Mt,It,rr,Ht){var pr=function(Xr,Tr,lr){return Xr||Tr||(Tr=Xr=-96),Xr<0&&(Xr=-1*lr.w*72/Xr/this.internal.scaleFactor),Tr<0&&(Tr=-1*lr.h*72/Tr/this.internal.scaleFactor),Xr===0&&(Xr=Tr*lr.w/lr.h),Tr===0&&(Tr=Xr*lr.h/lr.w),[Xr,Tr]}.call(this,ft,Ge,Mt),Ar=this.internal.getCoordinateString,Nr=this.internal.getVerticalCoordinateString;if(ft=pr[0],Ge=pr[1],rr[It]=Mt,Ht){Ht*=Math.PI/180;var Fr=Math.cos(Ht),tn=Math.sin(Ht),Jr=function(Tr){return Tr.toFixed(4)},Lr=[Jr(Fr),Jr(tn),Jr(-1*tn),Jr(Fr),0,0,"cm"]}this.internal.write("q"),Ht?(this.internal.write([1,"0","0",1,Ar(Xe),Nr(gt+Ge),"cm"].join(" ")),this.internal.write(Lr.join(" ")),this.internal.write([Ar(ft),"0","0",Ar(Ge),"0","0","cm"].join(" "))):this.internal.write([Ar(ft),"0","0",Ar(Ge),Ar(Xe),Nr(gt+Ge),"cm"].join(" ")),this.internal.write("/I"+Mt.i+" Do"),this.internal.write("Q")}.call(this,z,$,le,ge,Kt,Kt.i,Ve,Ze),this},de.convertStringToImageData=function(ee){var ie,z="";if(this.isString(ee)){var $;ie=($=this.extractImageFromDataUrl(ee))!==null?$.data:ee;try{z=atob(ie)}catch(le){throw de.validateStringAsBase64(ie)?new Error("atob-Error in jsPDF.convertStringToImageData "+le.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return z};var At=function(ie,z){return ie.subarray(z,z+5)};de.processJPEG=function(ee,ie,z,$,le,ge){var Ae,Me=this.decode.DCT_DECODE;if(!this.isString(ee)&&!this.isArrayBuffer(ee)&&!this.isArrayBufferView(ee))return null;if(this.isString(ee)&&(Ae=function(Ze){var kt;if(ae(Ze)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var Jt=256*Ze.charCodeAt(4)+Ze.charCodeAt(5),Et=4,Ft=Ze.length;Et<Ft;){if(Et+=Jt,Ze.charCodeAt(Et)!==255)throw new Error("getJpegSize could not find the size of the image");if(Ze.charCodeAt(Et+1)===192||Ze.charCodeAt(Et+1)===193||Ze.charCodeAt(Et+1)===194||Ze.charCodeAt(Et+1)===195||Ze.charCodeAt(Et+1)===196||Ze.charCodeAt(Et+1)===197||Ze.charCodeAt(Et+1)===198||Ze.charCodeAt(Et+1)===199)return kt=256*Ze.charCodeAt(Et+5)+Ze.charCodeAt(Et+6),[256*Ze.charCodeAt(Et+7)+Ze.charCodeAt(Et+8),kt,Ze.charCodeAt(Et+9)];Et+=2,Jt=256*Ze.charCodeAt(Et)+Ze.charCodeAt(Et+1)}}(ee)),this.isArrayBuffer(ee)&&(ee=new Uint8Array(ee)),this.isArrayBufferView(ee)&&(Ae=function(Ze){if((Ze[0]<<8|Ze[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var kt,Jt=Ze.length,Et=(Ze[4]<<8)+Ze[5],Ft=4;Ft<Jt;){if(Et=((kt=At(Ze,Ft+=Et))[2]<<8)+kt[3],(kt[1]===192||kt[1]===194)&&kt[0]===255&&7<Et)return{width:((kt=At(Ze,Ft+5))[2]<<8)+kt[3],height:(kt[0]<<8)+kt[1],numcomponents:kt[4]};Ft+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(ee),ee=le||this.arrayBufferToBinaryString(ee)),ge===void 0)switch(Ae.numcomponents){case 1:ge=this.color_spaces.DEVICE_GRAY;break;case 4:ge=this.color_spaces.DEVICE_CMYK;break;default:case 3:ge=this.color_spaces.DEVICE_RGB}return this.createImageInfo(ee,Ae.width,Ae.height,ge,8,Me,ie,z)},de.processJPG=function(){return this.processJPEG.apply(this,arguments)},de.getImageProperties=function(ee){var ie,z,$="";if(xe(ee)&&(ee=ke(ee)),this.isString(ee)&&(($=this.convertStringToImageData(ee))!==""||($=de.loadFile(ee))!==void 0)&&(ee=$),z=this.getImageFileTypeByImageData(ee),!Te(z))throw new Error("addImage does not support files of type '"+z+"', please ensure that a plugin for '"+z+"' support is added.");if(this.supportsArrayBuffer()&&(ee instanceof Uint8Array||(ee=this.binaryStringToUint8Array(ee))),!(ie=this["process"+z.toUpperCase()](ee)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:z,width:ie.w,height:ie.h,colorSpace:ie.cs,compressionMode:ie.f,bitsPerComponent:ie.bpc}}}(Bt.API),v=Bt.API,Bt.API.events.push(["addPage",function(de){this.internal.getPageInfo(de.pageNumber).pageContext.annotations=[]}]),v.events.push(["putPage",function(de){for(var ue=this.internal.getPageInfoByObjId(de.objId),se=de.pageContext.annotations,ae=function(Me){if(Me!==void 0&&Me!="")return!0},ye=!1,Ce=0;Ce<se.length&&!ye;Ce++)switch((xe=se[Ce]).type){case"link":if(ae(xe.options.url)||ae(xe.options.pageNumber)){ye=!0;break}case"reference":case"text":case"freetext":ye=!0}if(ye!=0){this.internal.write("/Annots ["),this.internal.pageSize.height;var Oe=this.internal.getCoordinateString,Te=this.internal.getVerticalCoordinateString;for(Ce=0;Ce<se.length;Ce++){var xe;switch((xe=se[Ce]).type){case"reference":this.internal.write(" "+xe.object.objId+" 0 R ");break;case"text":var ke=this.internal.newAdditionalObject(),lt=this.internal.newAdditionalObject(),At=xe.title||"Note";le="<</Type /Annot /Subtype /Text "+(ie="/Rect ["+Oe(xe.bounds.x)+" "+Te(xe.bounds.y+xe.bounds.h)+" "+Oe(xe.bounds.x+xe.bounds.w)+" "+Te(xe.bounds.y)+"] ")+"/Contents ("+xe.contents+")",le+=" /Popup "+lt.objId+" 0 R",le+=" /P "+ue.objId+" 0 R",le+=" /T ("+At+") >>",ke.content=le;var ee=ke.objId+" 0 R";le="<</Type /Annot /Subtype /Popup "+(ie="/Rect ["+Oe(xe.bounds.x+30)+" "+Te(xe.bounds.y+xe.bounds.h)+" "+Oe(xe.bounds.x+xe.bounds.w+30)+" "+Te(xe.bounds.y)+"] ")+" /Parent "+ee,xe.open&&(le+=" /Open true"),le+=" >>",lt.content=le,this.internal.write(ke.objId,"0 R",lt.objId,"0 R");break;case"freetext":var ie="/Rect ["+Oe(xe.bounds.x)+" "+Te(xe.bounds.y)+" "+Oe(xe.bounds.x+xe.bounds.w)+" "+Te(xe.bounds.y+xe.bounds.h)+"] ",z=xe.color||"#000000";le="<</Type /Annot /Subtype /FreeText "+ie+"/Contents ("+xe.contents+")",le+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+z+")",le+=" /Border [0 0 0]",le+=" >>",this.internal.write(le);break;case"link":if(xe.options.name){var $=this.annotations._nameMap[xe.options.name];xe.options.pageNumber=$.page,xe.options.top=$.y}else xe.options.top||(xe.options.top=0);ie="/Rect ["+Oe(xe.x)+" "+Te(xe.y)+" "+Oe(xe.x+xe.w)+" "+Te(xe.y+xe.h)+"] ";var le="";if(xe.options.url)le="<</Type /Annot /Subtype /Link "+ie+"/Border [0 0 0] /A <</S /URI /URI ("+xe.options.url+") >>";else if(xe.options.pageNumber)switch(le="<</Type /Annot /Subtype /Link "+ie+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(xe.options.pageNumber).objId+" 0 R",xe.options.magFactor=xe.options.magFactor||"XYZ",xe.options.magFactor){case"Fit":le+=" /Fit]";break;case"FitH":le+=" /FitH "+xe.options.top+"]";break;case"FitV":xe.options.left=xe.options.left||0,le+=" /FitV "+xe.options.left+"]";break;case"XYZ":default:var ge=Te(xe.options.top);xe.options.left=xe.options.left||0,xe.options.zoom===void 0&&(xe.options.zoom=0),le+=" /XYZ "+xe.options.left+" "+ge+" "+xe.options.zoom+"]"}le!=""&&(le+=" >>",this.internal.write(le))}}this.internal.write("]")}}]),v.createAnnotation=function(de){var ue=this.internal.getCurrentPageInfo();switch(de.type){case"link":this.link(de.bounds.x,de.bounds.y,de.bounds.w,de.bounds.h,de);break;case"text":case"freetext":ue.pageContext.annotations.push(de)}},v.link=function(de,ue,se,ae,ye){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:de,y:ue,w:se,h:ae,options:ye,type:"link"})},v.textWithLink=function(de,ue,se,ae){var ye=this.getTextWidth(de),Ce=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(de,ue,se),se+=.2*Ce,this.link(ue,se-Ce,ye,Ce,ae),ye},v.getTextWidth=function(de){var ue=this.internal.getFontSize();return this.getStringUnitWidth(de)*ue/this.internal.scaleFactor},function(de){var ue={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},se={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},ae={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},ye=[1570,1571,1573,1575];de.__arabicParser__={};var Ce=de.__arabicParser__.isInArabicSubstitutionA=function(z){return ue[z.charCodeAt(0)]!==void 0},Oe=de.__arabicParser__.isArabicLetter=function(z){return typeof z=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(z)},Te=de.__arabicParser__.isArabicEndLetter=function(z){return Oe(z)&&Ce(z)&&ue[z.charCodeAt(0)].length<=2},xe=de.__arabicParser__.isArabicAlfLetter=function(z){return Oe(z)&&0<=ye.indexOf(z.charCodeAt(0))},ke=(de.__arabicParser__.arabicLetterHasIsolatedForm=function(z){return Oe(z)&&Ce(z)&&1<=ue[z.charCodeAt(0)].length},de.__arabicParser__.arabicLetterHasFinalForm=function(z){return Oe(z)&&Ce(z)&&2<=ue[z.charCodeAt(0)].length}),lt=(de.__arabicParser__.arabicLetterHasInitialForm=function(z){return Oe(z)&&Ce(z)&&3<=ue[z.charCodeAt(0)].length},de.__arabicParser__.arabicLetterHasMedialForm=function(z){return Oe(z)&&Ce(z)&&ue[z.charCodeAt(0)].length==4}),At=de.__arabicParser__.resolveLigatures=function(z){var $=0,le=se,ge=0,Ae="",Me=0;for($=0;$<z.length;$+=1)le[z.charCodeAt($)]!==void 0?(Me++,typeof(le=le[z.charCodeAt($)])=="number"&&(ge=(ge=ee(z.charAt($),z.charAt($-Me),z.charAt($+1)))!==-1?ge:0,Ae+=String.fromCharCode(le),le=se,Me=0),$===z.length-1&&(le=se,Ae+=z.charAt($-(Me-1)),$-=Me-1,Me=0)):(le=se,Ae+=z.charAt($-Me),$-=Me,Me=0);return Ae},ee=(de.__arabicParser__.isArabicDiacritic=function(z){return z!==void 0&&ae[z.charCodeAt(0)]!==void 0},de.__arabicParser__.getCorrectForm=function(z,$,le){return Oe(z)?Ce(z)===!1?-1:!ke(z)||!Oe($)&&!Oe(le)||!Oe(le)&&Te($)||Te(z)&&!Oe($)||Te(z)&&xe($)||Te(z)&&Te($)?0:lt(z)&&Oe($)&&!Te($)&&Oe(le)&&ke(le)?3:Te(z)||!Oe(le)?1:2:-1}),ie=de.__arabicParser__.processArabic=de.processArabic=function(z){var $=0,le=0,ge=0,Ae="",Me="",Ze="",kt=(z=z||"").split("\\s+"),Jt=[];for($=0;$<kt.length;$+=1){for(Jt.push(""),le=0;le<kt[$].length;le+=1)Ae=kt[$][le],Me=kt[$][le-1],Ze=kt[$][le+1],Oe(Ae)?(ge=ee(Ae,Me,Ze),Jt[$]+=ge!==-1?String.fromCharCode(ue[Ae.charCodeAt(0)][ge]):Ae):Jt[$]+=Ae;Jt[$]=At(Jt[$])}return Jt.join(" ")};de.events.push(["preProcessText",function(z){var $=z.text,le=(z.x,z.y,z.options||{}),ge=(z.mutex,le.lang,[]);if(Object.prototype.toString.call($)==="[object Array]"){var Ae=0;for(ge=[],Ae=0;Ae<$.length;Ae+=1)Object.prototype.toString.call($[Ae])==="[object Array]"?ge.push([ie($[Ae][0]),$[Ae][1],$[Ae][2]]):ge.push([ie($[Ae])]);z.text=ge}else z.text=ie($)}])}(Bt.API),Bt.API.autoPrint=function(de){var ue;switch((de=de||{}).variant=de.variant||"non-conform",de.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){ue=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+ue+" 0 R")})}return this},b=Bt.API,(f=function(){var ue=void 0;Object.defineProperty(this,"pdf",{get:function(){return ue},set:function(Te){ue=Te}});var se=150;Object.defineProperty(this,"width",{get:function(){return se},set:function(Te){se=isNaN(Te)||Number.isInteger(Te)===!1||Te<0?150:Te,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=se+1)}});var ae=300;Object.defineProperty(this,"height",{get:function(){return ae},set:function(Te){ae=isNaN(Te)||Number.isInteger(Te)===!1||Te<0?300:Te,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ae+1)}});var ye=[];Object.defineProperty(this,"childNodes",{get:function(){return ye},set:function(Te){ye=Te}});var Ce={};Object.defineProperty(this,"style",{get:function(){return Ce},set:function(Te){Ce=Te}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(de,ue){var se;if((de=de||"2d")!=="2d")return null;for(se in ue)this.pdf.context2d.hasOwnProperty(se)&&(this.pdf.context2d[se]=ue[se]);return(this.pdf.context2d._canvas=this).pdf.context2d},f.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},b.events.push(["initialized",function(){this.canvas=new f,this.canvas.pdf=this}]),i=Bt.API,a={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1,l=function(ue,se,ae,ye,Ce){a={x:ue,y:se,w:ae,h:ye,ln:Ce}},n=function(){return a},u={left:0,top:0,bottom:0},i.setHeaderFunction=function(de){r=de},i.getTextDimensions=function(de,ue){var se=this.table_font_size||this.internal.getFontSize(),ae=(this.internal.getFont().fontStyle,(ue=ue||{}).scaleFactor||this.internal.scaleFactor),ye=0,Ce=0,Oe=0;if(typeof de=="string")(ye=this.getStringUnitWidth(de)*se)!=0&&(Ce=1);else{if(Object.prototype.toString.call(de)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var Te=0;Te<de.length;Te++)ye<(Oe=this.getStringUnitWidth(de[Te])*se)&&(ye=Oe);ye!==0&&(Ce=de.length)}return{w:ye/=ae,h:Math.max((Ce*se*this.getLineHeightFactor()-se*(this.getLineHeightFactor()-1))/ae,0)}},i.cellAddPage=function(){var de=this.margins||u;this.addPage(),l(de.left,de.top,void 0,void 0),s+=1},i.cellInitialize=function(){a={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1},i.cell=function(de,ue,se,ae,ye,Ce,Oe){var Te=n(),xe=!1;if(Te.ln!==void 0)if(Te.ln===Ce)de=Te.x+Te.w,ue=Te.y;else{var ke=this.margins||u;Te.y+Te.h+ae+13>=this.internal.pageSize.getHeight()-ke.bottom&&(this.cellAddPage(),xe=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(Ce,!0)),ue=n().y+n().h,xe&&(ue=23)}if(ye[0]!==void 0)if(this.printingHeaderRow?this.rect(de,ue,se,ae,"FD"):this.rect(de,ue,se,ae),Oe==="right"){ye instanceof Array||(ye=[ye]);for(var lt=0;lt<ye.length;lt++){var At=ye[lt],ee=this.getStringUnitWidth(At)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(At,de+se-ee-3,ue+this.internal.getLineHeight()*(lt+1))}}else this.text(ye,de+3,ue+this.internal.getLineHeight());return l(de,ue,se,ae,Ce),this},i.arrayMax=function(de,ue){var se,ae,ye,Ce=de[0];for(se=0,ae=de.length;se<ae;se+=1)ye=de[se],ue?ue(Ce,ye)===-1&&(Ce=ye):Ce<ye&&(Ce=ye);return Ce},i.table=function(de,ue,se,ae,ye){if(!se)throw"No data for PDF table";var Ce,Oe,Te,xe,ke,lt,At,ee,ie,z,$=[],le=[],ge={},Ae={},Me=[],Ze=[],kt=!1,Jt=!0,Et=12,Ft=u;if(Ft.width=this.internal.pageSize.getWidth(),ye&&(ye.autoSize===!0&&(kt=!0),ye.printHeaders===!1&&(Jt=!1),ye.fontSize&&(Et=ye.fontSize),ye.css&&ye.css["font-size"]!==void 0&&(Et=16*ye.css["font-size"]),ye.margins&&(Ft=ye.margins)),this.lnMod=0,a={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1,this.printHeaders=Jt,this.margins=Ft,this.setFontSize(Et),this.table_font_size=Et,ae==null)$=Object.keys(se[0]);else if(ae[0]&&typeof ae[0]!="string")for(Oe=0,Te=ae.length;Oe<Te;Oe+=1)Ce=ae[Oe],$.push(Ce.name),le.push(Ce.prompt),Ae[Ce.name]=Ce.width*(19.049976/25.4);else $=ae;if(kt)for(z=function(Ot){return Ot[Ce]},Oe=0,Te=$.length;Oe<Te;Oe+=1){for(ge[Ce=$[Oe]]=se.map(z),Me.push(this.getTextDimensions(le[Oe]||Ce,{scaleFactor:1}).w),At=0,xe=(lt=ge[Ce]).length;At<xe;At+=1)ke=lt[At],Me.push(this.getTextDimensions(ke,{scaleFactor:1}).w);Ae[Ce]=i.arrayMax(Me),Me=[]}if(Jt){var Kt=this.calculateLineHeight($,Ae,le.length?le:$);for(Oe=0,Te=$.length;Oe<Te;Oe+=1)Ce=$[Oe],Ze.push([de,ue,Ae[Ce],Kt,String(le.length?le[Oe]:Ce)]);this.setTableHeaderRow(Ze),this.printHeaderRow(1,!1)}for(Oe=0,Te=se.length;Oe<Te;Oe+=1)for(ee=se[Oe],Kt=this.calculateLineHeight($,Ae,ee),At=0,ie=$.length;At<ie;At+=1)Ce=$[At],this.cell(de,ue,Ae[Ce],Kt,ee[Ce],Oe+2,Ce.align);return this.lastCellPos=a,this.table_x=de,this.table_y=ue,this},i.calculateLineHeight=function(de,ue,se){for(var ae,ye=0,Ce=0;Ce<de.length;Ce++){se[ae=de[Ce]]=this.splitTextToSize(String(se[ae]),ue[ae]-3);var Oe=this.internal.getLineHeight()*se[ae].length+3;ye<Oe&&(ye=Oe)}return ye},i.setTableHeaderRow=function(de){this.tableHeaderRow=de},i.printHeaderRow=function(de,ue){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var se,ae,ye,Ce;if(this.printingHeaderRow=!0,r!==void 0){var Oe=r(this,s);l(Oe[0],Oe[1],Oe[2],Oe[3],-1)}this.setFontStyle("bold");var Te=[];for(ye=0,Ce=this.tableHeaderRow.length;ye<Ce;ye+=1)this.setFillColor(200,200,200),se=this.tableHeaderRow[ye],ue&&(this.margins.top=13,se[1]=this.margins&&this.margins.top||0,Te.push(se)),ae=[].concat(se),this.cell.apply(this,ae.concat(de));0<Te.length&&this.setTableHeaderRow(Te),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(de,ue){var se,ae,ye,Ce,Oe,Te=function(Ge){return Ge=Ge||{},this.isStrokeTransparent=Ge.isStrokeTransparent||!1,this.strokeOpacity=Ge.strokeOpacity||1,this.strokeStyle=Ge.strokeStyle||"#000000",this.fillStyle=Ge.fillStyle||"#000000",this.isFillTransparent=Ge.isFillTransparent||!1,this.fillOpacity=Ge.fillOpacity||1,this.font=Ge.font||"10px sans-serif",this.textBaseline=Ge.textBaseline||"alphabetic",this.textAlign=Ge.textAlign||"left",this.lineWidth=Ge.lineWidth||1,this.lineJoin=Ge.lineJoin||"miter",this.lineCap=Ge.lineCap||"butt",this.path=Ge.path||[],this.transform=Ge.transform!==void 0?Ge.transform.clone():new gt,this.globalCompositeOperation=Ge.globalCompositeOperation||"normal",this.globalAlpha=Ge.globalAlpha||1,this.clip_path=Ge.clip_path||[],this.currentPoint=Ge.currentPoint||new Ve,this.miterLimit=Ge.miterLimit||10,this.lastPoint=Ge.lastPoint||new Ve,this.ignoreClearRect=typeof Ge.ignoreClearRect!="boolean"||Ge.ignoreClearRect,this};de.events.push(["initialized",function(){this.context2d=new xe(this),se=this.internal.f2,this.internal.f3,ae=this.internal.getCoordinateString,ye=this.internal.getVerticalCoordinateString,Ce=this.internal.getHorizontalCoordinate,Oe=this.internal.getVerticalCoordinate}]);var xe=function(Ge){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return Ge}});var Mt=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Mt},set:function(Lr){Mt=Boolean(Lr)}});var It=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return It},set:function(Lr){It=Boolean(Lr)}});var rr=0;Object.defineProperty(this,"posX",{get:function(){return rr},set:function(Lr){isNaN(Lr)||(rr=Lr)}});var Ht=0;Object.defineProperty(this,"posY",{get:function(){return Ht},set:function(Lr){isNaN(Lr)||(Ht=Lr)}});var pr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return pr},set:function(Lr){pr=Boolean(Lr)}});var Ar=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ar},set:function(Lr){Ar=Lr}});var Nr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Nr},set:function(Lr){Nr=Lr}});var Fr=new Te;Object.defineProperty(this,"ctx",{get:function(){return Fr},set:function(Lr){Lr instanceof Te&&(Fr=Lr)}}),Object.defineProperty(this,"path",{get:function(){return Fr.path},set:function(Lr){Fr.path=Lr}});var tn=[];Object.defineProperty(this,"ctxStack",{get:function(){return tn},set:function(Lr){tn=Lr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Lr){var Xr;Xr=ke(Lr),this.ctx.fillStyle=Xr.style,this.ctx.isFillTransparent=Xr.a===0,this.ctx.fillOpacity=Xr.a,this.pdf.setFillColor(Xr.r,Xr.g,Xr.b,{a:Xr.a}),this.pdf.setTextColor(Xr.r,Xr.g,Xr.b,{a:Xr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Lr){var Xr=ke(Lr);this.ctx.strokeStyle=Xr.style,this.ctx.isStrokeTransparent=Xr.a===0,this.ctx.strokeOpacity=Xr.a,Xr.a===0?this.pdf.setDrawColor(255,255,255):(Xr.a,this.pdf.setDrawColor(Xr.r,Xr.g,Xr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Lr){["butt","round","square"].indexOf(Lr)!==-1&&(this.ctx.lineCap=Lr,this.pdf.setLineCap(Lr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Lr){isNaN(Lr)||(this.ctx.lineWidth=Lr,this.pdf.setLineWidth(Lr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Lr){["bevel","round","miter"].indexOf(Lr)!==-1&&(this.ctx.lineJoin=Lr,this.pdf.setLineJoin(Lr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Lr){isNaN(Lr)||(this.ctx.miterLimit=Lr,this.pdf.setMiterLimit(Lr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Lr){this.ctx.textBaseline=Lr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Lr){["right","end","center","left","start"].indexOf(Lr)!==-1&&(this.ctx.textAlign=Lr)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Lr){var Xr;if(this.ctx.font=Lr,(Xr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(Lr))!==null){var Tr=Xr[1],lr=(Xr[2],Xr[3]),fr=Xr[4],sr=Xr[5],dr=Xr[6];fr=sr==="px"?Math.floor(parseFloat(fr)):sr==="em"?Math.floor(parseFloat(fr)*this.pdf.getFontSize()):Math.floor(parseFloat(fr)),this.pdf.setFontSize(fr);var Sr="";(lr==="bold"||700<=parseInt(lr,10)||Tr==="bold")&&(Sr="bold"),Tr==="italic"&&(Sr+="italic"),Sr.length===0&&(Sr="normal");for(var Qr="",cn=dr.toLowerCase().replace(/"|'/g,"").split(/\s*,\s*/),Dn={arial:"Helvetica",verdana:"Helvetica",helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",courier:"Courier",times:"Times",cursive:"Times",fantasy:"Times",serif:"Times"},jr=0;jr<cn.length;jr++){if(this.pdf.internal.getFont(cn[jr],Sr,{noFallback:!0,disableWarning:!0})!==void 0){Qr=cn[jr];break}if(Sr==="bolditalic"&&this.pdf.internal.getFont(cn[jr],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Qr=cn[jr],Sr="bold";else if(this.pdf.internal.getFont(cn[jr],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Qr=cn[jr],Sr="normal";break}}if(Qr===""){for(jr=0;jr<cn.length;jr++)if(Dn[cn[jr]]){Qr=Dn[cn[jr]];break}}Qr=Qr===""?"Times":Qr,this.pdf.setFont(Qr,Sr)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Lr){this.ctx.globalCompositeOperation=Lr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Lr){this.ctx.globalAlpha=Lr}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Lr){this.ctx.ignoreClearRect=Boolean(Lr)}})};xe.prototype.fill=function(){$.call(this,"fill",!1)},xe.prototype.stroke=function(){$.call(this,"stroke",!1)},xe.prototype.beginPath=function(){this.path=[{type:"begin"}]},xe.prototype.moveTo=function(ft,Ge){if(isNaN(ft)||isNaN(Ge))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Mt=this.ctx.transform.applyToPoint(new Ve(ft,Ge));this.path.push({type:"mt",x:Mt.x,y:Mt.y}),this.ctx.lastPoint=new Ve(ft,Ge)},xe.prototype.closePath=function(){var ft=new Ve(0,0),Ge=0;for(Ge=this.path.length-1;Ge!==-1;Ge--)if(this.path[Ge].type==="begin"&&p(this.path[Ge+1])==="object"&&typeof this.path[Ge+1].x=="number"){ft=new Ve(this.path[Ge+1].x,this.path[Ge+1].y),this.path.push({type:"lt",x:ft.x,y:ft.y});break}p(this.path[Ge+2])==="object"&&typeof this.path[Ge+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[Ge+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new Ve(ft.x,ft.y)},xe.prototype.lineTo=function(ft,Ge){if(isNaN(ft)||isNaN(Ge))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Mt=this.ctx.transform.applyToPoint(new Ve(ft,Ge));this.path.push({type:"lt",x:Mt.x,y:Mt.y}),this.ctx.lastPoint=new Ve(Mt.x,Mt.y)},xe.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),$.call(this,null,!0)},xe.prototype.quadraticCurveTo=function(ft,Ge,Mt,It){if(isNaN(Mt)||isNaN(It)||isNaN(ft)||isNaN(Ge))throw console.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var rr=this.ctx.transform.applyToPoint(new Ve(Mt,It)),Ht=this.ctx.transform.applyToPoint(new Ve(ft,Ge));this.path.push({type:"qct",x1:Ht.x,y1:Ht.y,x:rr.x,y:rr.y}),this.ctx.lastPoint=new Ve(rr.x,rr.y)},xe.prototype.bezierCurveTo=function(ft,Ge,Mt,It,rr,Ht){if(isNaN(rr)||isNaN(Ht)||isNaN(ft)||isNaN(Ge)||isNaN(Mt)||isNaN(It))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var pr=this.ctx.transform.applyToPoint(new Ve(rr,Ht)),Ar=this.ctx.transform.applyToPoint(new Ve(ft,Ge)),Nr=this.ctx.transform.applyToPoint(new Ve(Mt,It));this.path.push({type:"bct",x1:Ar.x,y1:Ar.y,x2:Nr.x,y2:Nr.y,x:pr.x,y:pr.y}),this.ctx.lastPoint=new Ve(pr.x,pr.y)},xe.prototype.arc=function(ft,Ge,Mt,It,rr,Ht){if(isNaN(ft)||isNaN(Ge)||isNaN(Mt)||isNaN(It)||isNaN(rr))throw console.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Ht=Boolean(Ht),!this.ctx.transform.isIdentity){var pr=this.ctx.transform.applyToPoint(new Ve(ft,Ge));ft=pr.x,Ge=pr.y;var Ar=this.ctx.transform.applyToPoint(new Ve(0,Mt)),Nr=this.ctx.transform.applyToPoint(new Ve(0,0));Mt=Math.sqrt(Math.pow(Ar.x-Nr.x,2)+Math.pow(Ar.y-Nr.y,2))}Math.abs(rr-It)>=2*Math.PI&&(It=0,rr=2*Math.PI),this.path.push({type:"arc",x:ft,y:Ge,radius:Mt,startAngle:It,endAngle:rr,counterclockwise:Ht})},xe.prototype.arcTo=function(ft,Ge,Mt,It,rr){throw new Error("arcTo not implemented.")},xe.prototype.rect=function(ft,Ge,Mt,It){if(isNaN(ft)||isNaN(Ge)||isNaN(Mt)||isNaN(It))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ft,Ge),this.lineTo(ft+Mt,Ge),this.lineTo(ft+Mt,Ge+It),this.lineTo(ft,Ge+It),this.lineTo(ft,Ge),this.lineTo(ft+Mt,Ge),this.lineTo(ft,Ge)},xe.prototype.fillRect=function(ft,Ge,Mt,It){if(isNaN(ft)||isNaN(Ge)||isNaN(Mt)||isNaN(It))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!lt.call(this)){var rr={};this.lineCap!=="butt"&&(rr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(rr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ft,Ge,Mt,It),this.fill(),rr.hasOwnProperty("lineCap")&&(this.lineCap=rr.lineCap),rr.hasOwnProperty("lineJoin")&&(this.lineJoin=rr.lineJoin)}},xe.prototype.strokeRect=function(ft,Ge,Mt,It){if(isNaN(ft)||isNaN(Ge)||isNaN(Mt)||isNaN(It))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");At.call(this)||(this.beginPath(),this.rect(ft,Ge,Mt,It),this.stroke())},xe.prototype.clearRect=function(ft,Ge,Mt,It){if(isNaN(ft)||isNaN(Ge)||isNaN(Mt)||isNaN(It))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ft,Ge,Mt,It))},xe.prototype.save=function(ft){ft=typeof ft!="boolean"||ft;for(var Ge=this.pdf.internal.getCurrentPageInfo().pageNumber,Mt=0;Mt<this.pdf.internal.getNumberOfPages();Mt++)this.pdf.setPage(Mt+1),this.pdf.internal.out("q");if(this.pdf.setPage(Ge),ft){this.ctx.fontSize=this.pdf.internal.getFontSize();var It=new Te(this.ctx);this.ctxStack.push(this.ctx),this.ctx=It}},xe.prototype.restore=function(ft){ft=typeof ft!="boolean"||ft;for(var Ge=this.pdf.internal.getCurrentPageInfo().pageNumber,Mt=0;Mt<this.pdf.internal.getNumberOfPages();Mt++)this.pdf.setPage(Mt+1),this.pdf.internal.out("Q");this.pdf.setPage(Ge),ft&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},xe.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var ke=function(Ge){var Mt,It,rr,Ht;if(Ge.isCanvasGradient===!0&&(Ge=Ge.getColor()),!Ge)return{r:0,g:0,b:0,a:0,style:Ge};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Ge))Ht=rr=It=Mt=0;else{var pr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Ge);if(pr!==null)Mt=parseInt(pr[1]),It=parseInt(pr[2]),rr=parseInt(pr[3]),Ht=1;else if((pr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(Ge))!==null)Mt=parseInt(pr[1]),It=parseInt(pr[2]),rr=parseInt(pr[3]),Ht=parseFloat(pr[4]);else{if(Ht=1,typeof Ge=="string"&&Ge.charAt(0)!=="#"){var Ar=new RGBColor(Ge);Ge=Ar.ok?Ar.toHex():"#000000"}Ge.length===4?(Mt=Ge.substring(1,2),Mt+=Mt,It=Ge.substring(2,3),It+=It,rr=Ge.substring(3,4),rr+=rr):(Mt=Ge.substring(1,3),It=Ge.substring(3,5),rr=Ge.substring(5,7)),Mt=parseInt(Mt,16),It=parseInt(It,16),rr=parseInt(rr,16)}}return{r:Mt,g:It,b:rr,a:Ht,style:Ge}},lt=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},At=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};xe.prototype.fillText=function(ft,Ge,Mt,It){if(isNaN(Ge)||isNaN(Mt)||typeof ft!="string")throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(It=isNaN(It)?void 0:It,!lt.call(this)){Mt=ge.call(this,Mt);var rr=ur(this.ctx.transform.rotation),Ht=this.ctx.transform.scaleX;Jt.call(this,{text:ft,x:Ge,y:Mt,scale:Ht,angle:rr,align:this.textAlign,maxWidth:It})}},xe.prototype.strokeText=function(ft,Ge,Mt,It){if(isNaN(Ge)||isNaN(Mt)||typeof ft!="string")throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!At.call(this)){It=isNaN(It)?void 0:It,Mt=ge.call(this,Mt);var rr=ur(this.ctx.transform.rotation),Ht=this.ctx.transform.scaleX;Jt.call(this,{text:ft,x:Ge,y:Mt,scale:Ht,renderingMode:"stroke",angle:rr,align:this.textAlign,maxWidth:It})}},xe.prototype.measureText=function(ft){if(typeof ft!="string")throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Ge=this.pdf,Mt=this.pdf.internal.scaleFactor,It=Ge.internal.getFontSize(),rr=Ge.getStringUnitWidth(ft)*It/Ge.internal.scaleFactor;return new function(Ht){var pr=(Ht=Ht||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return pr}}),this}({width:rr*=Math.round(96*Mt/72*1e4)/1e4})},xe.prototype.scale=function(ft,Ge){if(isNaN(ft)||isNaN(Ge))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Mt=new gt(ft,0,0,Ge,0,0);this.ctx.transform=this.ctx.transform.multiply(Mt)},xe.prototype.rotate=function(ft){if(isNaN(ft))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Ge=new gt(Math.cos(ft),Math.sin(ft),-Math.sin(ft),Math.cos(ft),0,0);this.ctx.transform=this.ctx.transform.multiply(Ge)},xe.prototype.translate=function(ft,Ge){if(isNaN(ft)||isNaN(Ge))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Mt=new gt(1,0,0,1,ft,Ge);this.ctx.transform=this.ctx.transform.multiply(Mt)},xe.prototype.transform=function(ft,Ge,Mt,It,rr,Ht){if(isNaN(ft)||isNaN(Ge)||isNaN(Mt)||isNaN(It)||isNaN(rr)||isNaN(Ht))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var pr=new gt(ft,Ge,Mt,It,rr,Ht);this.ctx.transform=this.ctx.transform.multiply(pr)},xe.prototype.setTransform=function(ft,Ge,Mt,It,rr,Ht){ft=isNaN(ft)?1:ft,Ge=isNaN(Ge)?0:Ge,Mt=isNaN(Mt)?0:Mt,It=isNaN(It)?1:It,rr=isNaN(rr)?0:rr,Ht=isNaN(Ht)?0:Ht,this.ctx.transform=new gt(ft,Ge,Mt,It,rr,Ht)},xe.prototype.drawImage=function(ft,Ge,Mt,It,rr,Ht,pr,Ar,Nr){var Fr=this.pdf.getImageProperties(ft),tn=1,Jr=1,Lr=1,Xr=1;It!==void 0&&Ar!==void 0&&(Lr=Ar/It,Xr=Nr/rr,tn=Fr.width/It*Ar/It,Jr=Fr.height/rr*Nr/rr),Ht===void 0&&(Ht=Ge,pr=Mt,Mt=Ge=0),It!==void 0&&Ar===void 0&&(Ar=It,Nr=rr),It===void 0&&Ar===void 0&&(Ar=Fr.width,Nr=Fr.height);var Tr=this.ctx.transform.decompose(),lr=ur(Tr.rotate.shx);Tr.scale.sx,Tr.scale.sy;for(var fr,sr=new gt,dr=((sr=(sr=(sr=sr.multiply(Tr.translate)).multiply(Tr.skew)).multiply(Tr.scale)).applyToPoint(new Ve(Ar,Nr)),sr.applyToRectangle(new Xe(Ht-Ge*Lr,pr-Mt*Xr,It*tn,rr*Jr))),Sr=ee.call(this,dr),Qr=[],cn=0;cn<Sr.length;cn+=1)Qr.indexOf(Sr[cn])===-1&&Qr.push(Sr[cn]);if(Qr.sort(),this.autoPaging)for(var Dn=Qr[0],jr=Qr[Qr.length-1],Ln=Dn;Ln<jr+1;Ln++){if(this.pdf.setPage(Ln),this.ctx.clip_path.length!==0){var gn=this.path;fr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=z(fr,this.posX,-1*this.pdf.internal.pageSize.height*(Ln-1)+this.posY),le.call(this,"fill",!0),this.path=gn}var Un=JSON.parse(JSON.stringify(dr));Un=z([Un],this.posX,-1*this.pdf.internal.pageSize.height*(Ln-1)+this.posY)[0],this.pdf.addImage(ft,"jpg",Un.x,Un.y,Un.w,Un.h,null,null,lr)}else this.pdf.addImage(ft,"jpg",dr.x,dr.y,dr.w,dr.h,null,null,lr)};var ee=function(Ge,Mt,It){var rr=[];switch(Mt=Mt||this.pdf.internal.pageSize.width,It=It||this.pdf.internal.pageSize.height,Ge.type){default:case"mt":case"lt":rr.push(Math.floor((Ge.y+this.posY)/It)+1);break;case"arc":rr.push(Math.floor((Ge.y+this.posY-Ge.radius)/It)+1),rr.push(Math.floor((Ge.y+this.posY+Ge.radius)/It)+1);break;case"qct":var Ht=ze(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ge.x1,Ge.y1,Ge.x,Ge.y);rr.push(Math.floor(Ht.y/It)+1),rr.push(Math.floor((Ht.y+Ht.h)/It)+1);break;case"bct":var pr=at(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ge.x1,Ge.y1,Ge.x2,Ge.y2,Ge.x,Ge.y);rr.push(Math.floor(pr.y/It)+1),rr.push(Math.floor((pr.y+pr.h)/It)+1);break;case"rect":rr.push(Math.floor((Ge.y+this.posY)/It)+1),rr.push(Math.floor((Ge.y+Ge.h+this.posY)/It)+1)}for(var Ar=0;Ar<rr.length;Ar+=1)for(;this.pdf.internal.getNumberOfPages()<rr[Ar];)ie.call(this);return rr},ie=function(){var Ge=this.fillStyle,Mt=this.strokeStyle,It=this.font,rr=this.lineCap,Ht=this.lineWidth,pr=this.lineJoin;this.pdf.addPage(),this.fillStyle=Ge,this.strokeStyle=Mt,this.font=It,this.lineCap=rr,this.lineWidth=Ht,this.lineJoin=pr},z=function(Ge,Mt,It){for(var rr=0;rr<Ge.length;rr++)switch(Ge[rr].type){case"bct":Ge[rr].x2+=Mt,Ge[rr].y2+=It;case"qct":Ge[rr].x1+=Mt,Ge[rr].y1+=It;case"mt":case"lt":case"arc":default:Ge[rr].x+=Mt,Ge[rr].y+=It}return Ge},$=function(Ge,Mt){for(var It,rr,Ht=this.fillStyle,pr=this.strokeStyle,Ar=(this.font,this.lineCap),Nr=this.lineWidth,Fr=this.lineJoin,tn=JSON.parse(JSON.stringify(this.path)),Jr=JSON.parse(JSON.stringify(this.path)),Lr=[],Xr=0;Xr<Jr.length;Xr++)if(Jr[Xr].x!==void 0)for(var Tr=ee.call(this,Jr[Xr]),lr=0;lr<Tr.length;lr+=1)Lr.indexOf(Tr[lr])===-1&&Lr.push(Tr[lr]);for(Xr=0;Xr<Lr.length;Xr++)for(;this.pdf.internal.getNumberOfPages()<Lr[Xr];)ie.call(this);if(Lr.sort(),this.autoPaging){var fr=Lr[0],sr=Lr[Lr.length-1];for(Xr=fr;Xr<sr+1;Xr++){if(this.pdf.setPage(Xr),this.fillStyle=Ht,this.strokeStyle=pr,this.lineCap=Ar,this.lineWidth=Nr,this.lineJoin=Fr,this.ctx.clip_path.length!==0){var dr=this.path;It=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=z(It,this.posX,-1*this.pdf.internal.pageSize.height*(Xr-1)+this.posY),le.call(this,Ge,!0),this.path=dr}rr=JSON.parse(JSON.stringify(tn)),this.path=z(rr,this.posX,-1*this.pdf.internal.pageSize.height*(Xr-1)+this.posY),Mt!==!1&&Xr!==0||le.call(this,Ge,Mt)}}else le.call(this,Ge,Mt);this.path=tn},le=function(Ge,Mt){if((Ge!=="stroke"||Mt||!At.call(this))&&(Ge==="stroke"||Mt||!lt.call(this))){var It=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var rr,Ht=this.path,pr=0;pr<Ht.length;pr++){var Ar=Ht[pr];switch(Ar.type){case"begin":It.push({begin:!0});break;case"close":It.push({close:!0});break;case"mt":It.push({start:Ar,deltas:[],abs:[]});break;case"lt":var Nr=It.length;if(!isNaN(Ht[pr-1].x)){var Fr=[Ar.x-Ht[pr-1].x,Ar.y-Ht[pr-1].y];if(0<Nr){for(;0<=Nr;Nr--)if(It[Nr-1].close!==!0&&It[Nr-1].begin!==!0){It[Nr-1].deltas.push(Fr),It[Nr-1].abs.push(Ar);break}}}break;case"bct":Fr=[Ar.x1-Ht[pr-1].x,Ar.y1-Ht[pr-1].y,Ar.x2-Ht[pr-1].x,Ar.y2-Ht[pr-1].y,Ar.x-Ht[pr-1].x,Ar.y-Ht[pr-1].y],It[It.length-1].deltas.push(Fr);break;case"qct":var tn=Ht[pr-1].x+2/3*(Ar.x1-Ht[pr-1].x),Jr=Ht[pr-1].y+2/3*(Ar.y1-Ht[pr-1].y),Lr=Ar.x+2/3*(Ar.x1-Ar.x),Xr=Ar.y+2/3*(Ar.y1-Ar.y),Tr=Ar.x,lr=Ar.y;Fr=[tn-Ht[pr-1].x,Jr-Ht[pr-1].y,Lr-Ht[pr-1].x,Xr-Ht[pr-1].y,Tr-Ht[pr-1].x,lr-Ht[pr-1].y],It[It.length-1].deltas.push(Fr);break;case"arc":It.push({deltas:[],abs:[],arc:!0}),Array.isArray(It[It.length-1].abs)&&It[It.length-1].abs.push(Ar)}}for(rr=Mt?null:Ge==="stroke"?"stroke":"fill",pr=0;pr<It.length;pr++){if(It[pr].arc)for(var fr=It[pr].abs,sr=0;sr<fr.length;sr++){var dr=fr[sr];if(dr.startAngle!==void 0){var Sr=ur(dr.startAngle),Qr=ur(dr.endAngle),cn=dr.x,Dn=dr.y;Ae.call(this,cn,Dn,dr.radius,Sr,Qr,dr.counterclockwise,rr,Mt)}else Et.call(this,dr.x,dr.y)}!It[pr].arc&&It[pr].close!==!0&&It[pr].begin!==!0&&(cn=It[pr].start.x,Dn=It[pr].start.y,Ft.call(this,It[pr].deltas,cn,Dn,null,null))}rr&&Me.call(this,rr),Mt&&Ze.call(this)}},ge=function(Ge){var Mt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,It=Mt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Ge-It;case"top":return Ge+Mt-It;case"hanging":return Ge+Mt-2*It;case"middle":return Ge+Mt/2-It;case"ideographic":return Ge;case"alphabetic":default:return Ge}};xe.prototype.createLinearGradient=function(){var ft=function(){};return ft.colorStops=[],ft.addColorStop=function(Ge,Mt){this.colorStops.push([Ge,Mt])},ft.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},ft.isCanvasGradient=!0,ft},xe.prototype.createPattern=function(){return this.createLinearGradient()},xe.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Ae=function(Ge,Mt,It,rr,Ht,pr,Ar,Nr){this.pdf.internal.scaleFactor;for(var Fr=Zt(rr),tn=Zt(Ht),Jr=Vt.call(this,It,Fr,tn,pr),Lr=0;Lr<Jr.length;Lr++){var Xr=Jr[Lr];Lr===0&&kt.call(this,Xr.x1+Ge,Xr.y1+Mt),Kt.call(this,Ge,Mt,Xr.x2,Xr.y2,Xr.x3,Xr.y3,Xr.x4,Xr.y4)}Nr?Ze.call(this):Me.call(this,Ar)},Me=function(Ge){switch(Ge){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Ze=function(){this.pdf.clip()},kt=function(Ge,Mt){this.pdf.internal.out(ae(Ge)+" "+ye(Mt)+" m")},Jt=function(Ge){var Mt;switch(Ge.align){case"right":case"end":Mt="right";break;case"center":Mt="center";break;case"left":case"start":default:Mt="left"}var It=this.ctx.transform.applyToPoint(new Ve(Ge.x,Ge.y)),rr=this.ctx.transform.decompose(),Ht=new gt;Ht=(Ht=(Ht=Ht.multiply(rr.translate)).multiply(rr.skew)).multiply(rr.scale);for(var pr,Ar=this.pdf.getTextDimensions(Ge.text),Nr=this.ctx.transform.applyToRectangle(new Xe(Ge.x,Ge.y,Ar.w,Ar.h)),Fr=Ht.applyToRectangle(new Xe(Ge.x,Ge.y-Ar.h,Ar.w,Ar.h)),tn=ee.call(this,Fr),Jr=[],Lr=0;Lr<tn.length;Lr+=1)Jr.indexOf(tn[Lr])===-1&&Jr.push(tn[Lr]);if(Jr.sort(),this.autoPaging===!0)for(var Xr=Jr[0],Tr=Jr[Jr.length-1],lr=Xr;lr<Tr+1;lr++){if(this.pdf.setPage(lr),this.ctx.clip_path.length!==0){var fr=this.path;pr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=z(pr,this.posX,-1*this.pdf.internal.pageSize.height*(lr-1)+this.posY),le.call(this,"fill",!0),this.path=fr}var sr=JSON.parse(JSON.stringify(Nr));if(sr=z([sr],this.posX,-1*this.pdf.internal.pageSize.height*(lr-1)+this.posY)[0],.01<=Ge.scale){var dr=this.pdf.internal.getFontSize();this.pdf.setFontSize(dr*Ge.scale)}this.pdf.text(Ge.text,sr.x,sr.y,{angle:Ge.angle,align:Mt,renderingMode:Ge.renderingMode,maxWidth:Ge.maxWidth}),.01<=Ge.scale&&this.pdf.setFontSize(dr)}else .01<=Ge.scale&&(dr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(dr*Ge.scale)),this.pdf.text(Ge.text,It.x+this.posX,It.y+this.posY,{angle:Ge.angle,align:Mt,renderingMode:Ge.renderingMode,maxWidth:Ge.maxWidth}),.01<=Ge.scale&&this.pdf.setFontSize(dr)},Et=function(Ge,Mt,It,rr){It=It||0,rr=rr||0,this.pdf.internal.out(ae(Ge+It)+" "+ye(Mt+rr)+" l")},Ft=function(Ge,Mt,It){return this.pdf.lines(Ge,Mt,It,null,null)},Kt=function(Ge,Mt,It,rr,Ht,pr,Ar,Nr){this.pdf.internal.out([se(Ce(It+Ge)),se(Oe(rr+Mt)),se(Ce(Ht+Ge)),se(Oe(pr+Mt)),se(Ce(Ar+Ge)),se(Oe(Nr+Mt)),"c"].join(" "))},Vt=function(Ge,Mt,It,rr){var Ht=2*Math.PI,pr=Mt;(pr<Ht||Ht<pr)&&(pr%=Ht);var Ar=It;(Ar<Ht||Ht<Ar)&&(Ar%=Ht);for(var Nr=[],Fr=Math.PI/2,tn=rr?-1:1,Jr=Mt,Lr=Math.min(Ht,Math.abs(Ar-pr));1e-5<Lr;){var Xr=Jr+tn*Math.min(Lr,Fr);Nr.push(Ot.call(this,Ge,Jr,Xr)),Lr-=Math.abs(Xr-Jr),Jr=Xr}return Nr},Ot=function(Ge,Mt,It){var rr=(It-Mt)/2,Ht=Ge*Math.cos(rr),pr=Ge*Math.sin(rr),Ar=Ht,Nr=-pr,Fr=Ar*Ar+Nr*Nr,tn=Fr+Ar*Ht+Nr*pr,Jr=4/3*(Math.sqrt(2*Fr*tn)-tn)/(Ar*pr-Nr*Ht),Lr=Ar-Jr*Nr,Xr=Nr+Jr*Ar,Tr=Lr,lr=-Xr,fr=rr+Mt,sr=Math.cos(fr),dr=Math.sin(fr);return{x1:Ge*Math.cos(Mt),y1:Ge*Math.sin(Mt),x2:Lr*sr-Xr*dr,y2:Lr*dr+Xr*sr,x3:Tr*sr-lr*dr,y3:Tr*dr+lr*sr,x4:Ge*Math.cos(It),y4:Ge*Math.sin(It)}},ur=function(Ge){return 180*Ge/Math.PI},Zt=function(Ge){return Ge*Math.PI/180},ze=function(Ge,Mt,It,rr,Ht,pr){var Ar=Ge+.5*(It-Ge),Nr=Mt+.5*(rr-Mt),Fr=Ht+.5*(It-Ht),tn=pr+.5*(rr-pr),Jr=Math.min(Ge,Ht,Ar,Fr),Lr=Math.max(Ge,Ht,Ar,Fr),Xr=Math.min(Mt,pr,Nr,tn),Tr=Math.max(Mt,pr,Nr,tn);return new Xe(Jr,Xr,Lr-Jr,Tr-Xr)},at=function(Ge,Mt,It,rr,Ht,pr,Ar,Nr){for(var Fr,tn,Jr,Lr,Xr,Tr,lr,fr,sr,dr,Sr,Qr,cn,Dn=It-Ge,jr=rr-Mt,Ln=Ht-It,gn=pr-rr,Un=Ar-Ht,Wn=Nr-pr,Jn=0;Jn<41;Jn++)fr=(Tr=(tn=Ge+(Fr=Jn/40)*Dn)+Fr*((Lr=It+Fr*Ln)-tn))+Fr*(Lr+Fr*(Ht+Fr*Un-Lr)-Tr),sr=(lr=(Jr=Mt+Fr*jr)+Fr*((Xr=rr+Fr*gn)-Jr))+Fr*(Xr+Fr*(pr+Fr*Wn-Xr)-lr),cn=Jn==0?(Qr=dr=fr,Sr=sr):(dr=Math.min(dr,fr),Sr=Math.min(Sr,sr),Qr=Math.max(Qr,fr),Math.max(cn,sr));return new Xe(Math.round(dr),Math.round(Sr),Math.round(Qr-dr),Math.round(cn-Sr))},Ve=function(Ge,Mt){var It=Ge||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return It},set:function(Ar){isNaN(Ar)||(It=parseFloat(Ar))}});var rr=Mt||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return rr},set:function(Ar){isNaN(Ar)||(rr=parseFloat(Ar))}});var Ht="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Ht},set:function(Ar){Ht=Ar.toString()}}),this},Xe=function(Ge,Mt,It,rr){Ve.call(this,Ge,Mt),this.type="rect";var Ht=It||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Ht},set:function(Nr){isNaN(Nr)||(Ht=parseFloat(Nr))}});var pr=rr||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return pr},set:function(Nr){isNaN(Nr)||(pr=parseFloat(Nr))}}),this},gt=function(Ge,Mt,It,rr,Ht,pr){var Ar=[];return Object.defineProperty(this,"sx",{get:function(){return Ar[0]},set:function(Fr){Ar[0]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return Ar[1]},set:function(Fr){Ar[1]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return Ar[2]},set:function(Fr){Ar[2]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return Ar[3]},set:function(Fr){Ar[3]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return Ar[4]},set:function(Fr){Ar[4]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return Ar[5]},set:function(Fr){Ar[5]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(this,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(this,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(this,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),this.sx=isNaN(Ge)?1:Ge,this.shy=isNaN(Mt)?0:Mt,this.shx=isNaN(It)?0:It,this.sy=isNaN(rr)?1:rr,this.tx=isNaN(Ht)?0:Ht,this.ty=isNaN(pr)?0:pr,this};gt.prototype.multiply=function(ft){var Ge=ft.sx*this.sx+ft.shy*this.shx,Mt=ft.sx*this.shy+ft.shy*this.sy,It=ft.shx*this.sx+ft.sy*this.shx,rr=ft.shx*this.shy+ft.sy*this.sy,Ht=ft.tx*this.sx+ft.ty*this.shx+this.tx,pr=ft.tx*this.shy+ft.ty*this.sy+this.ty;return new gt(Ge,Mt,It,rr,Ht,pr)},gt.prototype.decompose=function(){var ft=this.sx,Ge=this.shy,Mt=this.shx,It=this.sy,rr=this.tx,Ht=this.ty,pr=Math.sqrt(ft*ft+Ge*Ge),Ar=(ft/=pr)*Mt+(Ge/=pr)*It;Mt-=ft*Ar,It-=Ge*Ar;var Nr=Math.sqrt(Mt*Mt+It*It);return Ar/=Nr,ft*(It/=Nr)<Ge*(Mt/=Nr)&&(ft=-ft,Ge=-Ge,Ar=-Ar,pr=-pr),{scale:new gt(pr,0,0,Nr,0,0),translate:new gt(1,0,0,1,rr,Ht),rotate:new gt(ft,Ge,-Ge,ft,0,0),skew:new gt(1,0,Ar,1,0,0)}},gt.prototype.applyToPoint=function(ft){var Ge=ft.x*this.sx+ft.y*this.shx+this.tx,Mt=ft.x*this.shy+ft.y*this.sy+this.ty;return new Ve(Ge,Mt)},gt.prototype.applyToRectangle=function(ft){var Ge=this.applyToPoint(ft),Mt=this.applyToPoint(new Ve(ft.x+ft.w,ft.y+ft.h));return new Xe(Ge.x,Ge.y,Mt.x-Ge.x,Mt.y-Ge.y)},gt.prototype.clone=function(){var ft=this.sx,Ge=this.shy,Mt=this.shx,It=this.sy,rr=this.tx,Ht=this.ty;return new gt(ft,Ge,Mt,It,rr,Ht)}}(Bt.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")()),t=Bt.API,c=function(ue){var se,ae,ye,Ce,Oe,Te,xe,ke,lt,At;for(/[^\x00-\xFF]/.test(ue),ae=[],ye=0,Ce=(ue+=se="\0\0\0\0".slice(ue.length%4||4)).length;ye<Ce;ye+=4)(Oe=(ue.charCodeAt(ye)<<24)+(ue.charCodeAt(ye+1)<<16)+(ue.charCodeAt(ye+2)<<8)+ue.charCodeAt(ye+3))!==0?(Te=(Oe=((Oe=((Oe=((Oe=(Oe-(At=Oe%85))/85)-(lt=Oe%85))/85)-(ke=Oe%85))/85)-(xe=Oe%85))/85)%85,ae.push(Te+33,xe+33,ke+33,lt+33,At+33)):ae.push(122);return function(ee,ie){for(var z=se.length;0<z;z--)ee.pop()}(ae),String.fromCharCode.apply(String,ae)+"~>"},o=function(ue){var se,ae,ye,Ce,Oe,Te=String,xe="length",ke="charCodeAt",lt="slice",At="replace";for(ue[lt](-2),ue=ue[lt](0,-2)[At](/\s/g,"")[At]("z","!!!!!"),ye=[],Ce=0,Oe=(ue+=se="uuuuu"[lt](ue[xe]%5||5))[xe];Ce<Oe;Ce+=5)ae=52200625*(ue[ke](Ce)-33)+614125*(ue[ke](Ce+1)-33)+7225*(ue[ke](Ce+2)-33)+85*(ue[ke](Ce+3)-33)+(ue[ke](Ce+4)-33),ye.push(255&ae>>24,255&ae>>16,255&ae>>8,255&ae);return function(ee,ie){for(var z=se[xe];0<z;z--)ee.pop()}(ye),Te.fromCharCode.apply(Te,ye)},h=function(ue){for(var se="",ae=0;ae<ue.length;ae+=1)se+=("0"+ue.charCodeAt(ae).toString(16)).slice(-2);return se+=">"},A=function(ue){var se=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ue=ue.replace(/\s/g,"")).indexOf(">")!==-1&&(ue=ue.substr(0,ue.indexOf(">"))),ue.length%2&&(ue+="0"),se.test(ue)===!1)return"";for(var ae="",ye=0;ye<ue.length;ye+=2)ae+=String.fromCharCode("0x"+(ue[ye]+ue[ye+1]));return ae},y=function(ue,se){se=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},se);for(var ae,ye,Ce=[],Oe=ue.length;Oe--;)Ce[Oe]=ue.charCodeAt(Oe);return ae=t.adler32cs.from(ue),(ye=new Deflater(6)).append(new Uint8Array(Ce)),ue=ye.flush(),(Ce=new Uint8Array(ue.length+6)).set(new Uint8Array([120,156])),Ce.set(ue,2),Ce.set(new Uint8Array([255&ae,ae>>8&255,ae>>16&255,ae>>24&255]),ue.length+2),ue=String.fromCharCode.apply(null,Ce)},t.processDataByFilters=function(de,ue){var se=0,ae=de||"",ye=[];for(typeof(ue=ue||[])=="string"&&(ue=[ue]),se=0;se<ue.length;se+=1)switch(ue[se]){case"ASCII85Decode":case"/ASCII85Decode":ae=o(ae),ye.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":ae=c(ae),ye.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":ae=A(ae),ye.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":ae=h(ae),ye.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":ae=y(ae),ye.push("/FlateDecode");break;default:throw'The filter: "'+ue[se]+'" is not implemented'}return{data:ae,reverseChain:ye.reverse().join(" ")}},(O=Bt.API).loadFile=function(de,ue,se){var ae;ue=ue||!0,se=se||function(){};try{ae=function(ye,Ce,Oe){var Te=new XMLHttpRequest,xe=[],ke=0,lt=function(ee){var ie=ee.length,z=String.fromCharCode;for(ke=0;ke<ie;ke+=1)xe.push(z(255&ee.charCodeAt(ke)));return xe.join("")};if(Te.open("GET",ye,!Ce),Te.overrideMimeType("text/plain; charset=x-user-defined"),Ce===!1&&(Te.onload=function(){return lt(this.responseText)}),Te.send(null),Te.status===200)return Ce?lt(Te.responseText):void 0;console.warn('Unable to load file "'+ye+'"')}(de,ue)}catch(ye){ae=void 0}return ae},O.loadImageFile=O.loadFile,S=Bt.API,E=typeof window!="undefined"&&window||typeof d!="undefined"&&d,C=function(ue){var se=p(ue);return se==="undefined"?"undefined":se==="string"||ue instanceof String?"string":se==="number"||ue instanceof Number?"number":se==="function"||ue instanceof Function?"function":ue&&ue.constructor===Array?"array":ue&&ue.nodeType===1?"element":se==="object"?"object":"unknown"},T=function(ue,se){var ae=document.createElement(ue);if(se.className&&(ae.className=se.className),se.innerHTML){ae.innerHTML=se.innerHTML;for(var ye=ae.getElementsByTagName("script"),Ce=ye.length;0<Ce--;null)ye[Ce].parentNode.removeChild(ye[Ce])}for(var Oe in se.style)ae.style[Oe]=se.style[Oe];return ae},(((w=function de(ue){var se=Object.assign(de.convert(Promise.resolve()),JSON.parse(JSON.stringify(de.template))),ae=de.convert(Promise.resolve(),se);return ae=(ae=ae.setProgress(1,de,1,[de])).set(ue)}).prototype=Object.create(Promise.prototype)).constructor=w).convert=function(de,ue){return de.__proto__=ue||w.prototype,de},w.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{}}},w.prototype.from=function(de,ue){return this.then(function(){switch(ue=ue||function(se){switch(C(se)){case"string":return"string";case"element":return se.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}(de)){case"string":return this.set({src:T("div",{innerHTML:de})});case"element":return this.set({src:de});case"canvas":return this.set({canvas:de});case"img":return this.set({img:de});default:return this.error("Unknown source type.")}})},w.prototype.to=function(de){switch(de){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.")}},w.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var de={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:"white"},ue=function se(ae,ye){for(var Ce=ae.nodeType===3?document.createTextNode(ae.nodeValue):ae.cloneNode(!1),Oe=ae.firstChild;Oe;Oe=Oe.nextSibling)ye!==!0&&Oe.nodeType===1&&Oe.nodeName==="SCRIPT"||Ce.appendChild(se(Oe,ye));return ae.nodeType===1&&(ae.nodeName==="CANVAS"?(Ce.width=ae.width,Ce.height=ae.height,Ce.getContext("2d").drawImage(ae,0,0)):ae.nodeName!=="TEXTAREA"&&ae.nodeName!=="SELECT"||(Ce.value=ae.value),Ce.addEventListener("load",function(){Ce.scrollTop=ae.scrollTop,Ce.scrollLeft=ae.scrollLeft},!0)),Ce}(this.prop.src,this.opt.html2canvas.javascriptEnabled);ue.tagName==="BODY"&&(de.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=T("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=T("div",{className:"html2pdf__container",style:de}),this.prop.container.appendChild(ue),this.prop.container.firstChild.appendChild(T("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},w.prototype.toCanvas=function(){var de=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(de).then(function(){var ue=Object.assign({},this.opt.html2canvas);if(delete ue.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,ue)}).then(function(ue){(this.opt.html2canvas.onrendered||function(){})(ue),this.prop.canvas=ue,document.body.removeChild(this.prop.overlay)})},w.prototype.toContext2d=function(){var de=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(de).then(function(){var ue=this.opt.jsPDF,se=Object.assign({async:!0,allowTaint:!0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete se.onrendered,ue.context2d.autoPaging=!0,ue.context2d.posX=this.opt.x,ue.context2d.posY=this.opt.y,se.windowHeight=se.windowHeight||0,se.windowHeight=se.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):se.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,se)}).then(function(ue){(this.opt.html2canvas.onrendered||function(){})(ue),this.prop.canvas=ue,document.body.removeChild(this.prop.overlay)})},w.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var de=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=de})},w.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},w.prototype.output=function(de,ue,se){return(se=se||"pdf").toLowerCase()==="img"||se.toLowerCase()==="image"?this.outputImg(de,ue):this.outputPdf(de,ue)},w.prototype.outputPdf=function(de,ue){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(de,ue)})},w.prototype.outputImg=function(de,ue){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(de){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+de+'" is not supported.'}})},w.prototype.isHtml2CanvasLoaded=function(){var de=E.html2canvas!==void 0;return de||console.error("html2canvas not loaded."),de},w.prototype.save=function(de){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(de?{filename:de}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},w.prototype.doCallback=function(de){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},w.prototype.set=function(de){if(C(de)!=="object")return this;var ue=Object.keys(de||{}).map(function(se){if(se in w.template.prop)return function(){this.prop[se]=de[se]};switch(se){case"margin":return this.setMargin.bind(this,de.margin);case"jsPDF":return function(){return this.opt.jsPDF=de.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,de.pageSize);default:return function(){this.opt[se]=de[se]}}},this);return this.then(function(){return this.thenList(ue)})},w.prototype.get=function(de,ue){return this.then(function(){var se=de in w.template.prop?this.prop[de]:this.opt[de];return ue?ue(se):se})},w.prototype.setMargin=function(de){return this.then(function(){switch(C(de)){case"number":de=[de,de,de,de];case"array":if(de.length===2&&(de=[de[0],de[1],de[0],de[1]]),de.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=de}).then(this.setPageSize)},w.prototype.setPageSize=function(de){function ue(se,ae){return Math.floor(se*ae/72*96)}return this.then(function(){(de=de||Bt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(de.inner={width:de.width-this.opt.margin[1]-this.opt.margin[3],height:de.height-this.opt.margin[0]-this.opt.margin[2]},de.inner.px={width:ue(de.inner.width,de.k),height:ue(de.inner.height,de.k)},de.inner.ratio=de.inner.height/de.inner.width),this.prop.pageSize=de})},w.prototype.setProgress=function(de,ue,se,ae){return de!=null&&(this.progress.val=de),ue!=null&&(this.progress.state=ue),se!=null&&(this.progress.n=se),ae!=null&&(this.progress.stack=ae),this.progress.ratio=this.progress.val/this.progress.state,this},w.prototype.updateProgress=function(de,ue,se,ae){return this.setProgress(de?this.progress.val+de:null,ue||null,se?this.progress.n+se:null,ae?this.progress.stack.concat(ae):null)},w.prototype.then=function(de,ue){var se=this;return this.thenCore(de,ue,function(ae,ye){return se.updateProgress(null,null,1,[ae]),Promise.prototype.then.call(this,function(Ce){return se.updateProgress(null,ae),Ce}).then(ae,ye).then(function(Ce){return se.updateProgress(1),Ce})})},w.prototype.thenCore=function(de,ue,se){se=se||Promise.prototype.then;var ae=this;de&&(de=de.bind(ae)),ue&&(ue=ue.bind(ae));var ye=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?ae:w.convert(Object.assign({},ae),Promise.prototype),Ce=se.call(ye,de,ue);return w.convert(Ce,ae.__proto__)},w.prototype.thenExternal=function(de,ue){return Promise.prototype.then.call(this,de,ue)},w.prototype.thenList=function(de){var ue=this;return de.forEach(function(se){ue=ue.thenCore(se)}),ue},w.prototype.catch=function(de){de&&(de=de.bind(this));var ue=Promise.prototype.catch.call(this,de);return w.convert(ue,this)},w.prototype.catchExternal=function(de){return Promise.prototype.catch.call(this,de)},w.prototype.error=function(de){return this.then(function(){throw new Error(de)})},w.prototype.using=w.prototype.set,w.prototype.saveAs=w.prototype.save,w.prototype.export=w.prototype.output,w.prototype.run=w.prototype.then,Bt.getPageSize=function(de,ue,se){if(p(de)==="object"){var ae=de;de=ae.orientation,ue=ae.unit||ue,se=ae.format||se}ue=ue||"mm",se=se||"a4",de=(""+(de||"P")).toLowerCase();var ye=(""+se).toLowerCase(),Ce={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(ue){case"pt":var Oe=1;break;case"mm":Oe=72/25.4;break;case"cm":Oe=72/2.54;break;case"in":Oe=72;break;case"px":Oe=.75;break;case"pc":case"em":Oe=12;break;case"ex":Oe=6;break;default:throw"Invalid unit: "+ue}if(Ce.hasOwnProperty(ye))var Te=Ce[ye][1]/Oe,xe=Ce[ye][0]/Oe;else try{Te=se[1],xe=se[0]}catch(lt){throw new Error("Invalid format: "+se)}if(de==="p"||de==="portrait"){if(de="p",Te<xe){var ke=xe;xe=Te,Te=ke}}else{if(de!=="l"&&de!=="landscape")throw"Invalid orientation: "+de;de="l",xe<Te&&(ke=xe,xe=Te,Te=ke)}return{width:xe,height:Te,unit:ue,k:Oe}},S.html=function(de,ue){(ue=ue||{}).callback=ue.callback||function(){},ue.html2canvas=ue.html2canvas||{},ue.html2canvas.canvas=ue.html2canvas.canvas||this.canvas,ue.jsPDF=ue.jsPDF||this,ue.jsPDF;var se=new w(ue);return ue.worker?se:se.from(de).doCallback()},Bt.API.addJS=function(de){return D=de,this.internal.events.subscribe("postPutResources",function(ue){L=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(L+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),N=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+D+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){L!==void 0&&N!==void 0&&this.internal.out("/Names <</JavaScript "+L+" 0 R>>")}),this},(F=Bt.API).events.push(["postPutResources",function(){var de=this,ue=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var se=de.outline.render().split(/\r\n/),ae=0;ae<se.length;ae++){var ye=se[ae],Ce=ue.exec(ye);if(Ce!=null){var Oe=Ce[1];de.internal.newObjectDeferredBegin(Oe,!1)}de.internal.write(ye)}if(this.outline.createNamedDestinations){var Te=this.internal.pages.length,xe=[];for(ae=0;ae<Te;ae++){var ke=de.internal.newObject();xe.push(ke);var lt=de.internal.getPageInfo(ae+1);de.internal.write("<< /D["+lt.objId+" 0 R /XYZ null null null]>> endobj")}var At=de.internal.newObject();for(de.internal.write("<< /Names [ "),ae=0;ae<xe.length;ae++)de.internal.write("(page_"+(ae+1)+")"+xe[ae]+" 0 R");de.internal.write(" ] >>","endobj"),de.internal.newObject(),de.internal.write("<< /Dests "+At+" 0 R"),de.internal.write(">>","endobj")}}]),F.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),F.events.push(["initialized",function(){var de=this;de.outline={createNamedDestinations:!1,root:{children:[]}},de.outline.add=function(ue,se,ae){var ye={title:se,options:ae,children:[]};return ue==null&&(ue=this.root),ue.children.push(ye),ye},de.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=de,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},de.outline.genIds_r=function(ue){ue.id=de.internal.newObjectDeferred();for(var se=0;se<ue.children.length;se++)this.genIds_r(ue.children[se])},de.outline.renderRoot=function(ue){this.objStart(ue),this.line("/Type /Outlines"),0<ue.children.length&&(this.line("/First "+this.makeRef(ue.children[0])),this.line("/Last "+this.makeRef(ue.children[ue.children.length-1]))),this.line("/Count "+this.count_r({count:0},ue)),this.objEnd()},de.outline.renderItems=function(ue){this.ctx.pdf.internal.getCoordinateString;for(var se=this.ctx.pdf.internal.getVerticalCoordinateString,ae=0;ae<ue.children.length;ae++){var ye=ue.children[ae];this.objStart(ye),this.line("/Title "+this.makeString(ye.title)),this.line("/Parent "+this.makeRef(ue)),0<ae&&this.line("/Prev "+this.makeRef(ue.children[ae-1])),ae<ue.children.length-1&&this.line("/Next "+this.makeRef(ue.children[ae+1])),0<ye.children.length&&(this.line("/First "+this.makeRef(ye.children[0])),this.line("/Last "+this.makeRef(ye.children[ye.children.length-1])));var Ce=this.count=this.count_r({count:0},ye);if(0<Ce&&this.line("/Count "+Ce),ye.options&&ye.options.pageNumber){var Oe=de.internal.getPageInfo(ye.options.pageNumber);this.line("/Dest ["+Oe.objId+" 0 R /XYZ 0 "+se(0)+" 0]")}this.objEnd()}for(ae=0;ae<ue.children.length;ae++)ye=ue.children[ae],this.renderItems(ye)},de.outline.line=function(ue){this.ctx.val+=ue+`\r
|
|
|
`},de.outline.makeRef=function(ue){return ue.id+" 0 R"},de.outline.makeString=function(ue){return"("+de.internal.pdfEscape(ue)+")"},de.outline.objStart=function(ue){this.ctx.val+=`\r
|
|
|
`+ue.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},de.outline.objEnd=function(ue){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},de.outline.count_r=function(ue,se){for(var ae=0;ae<se.children.length;ae++)ue.count++,this.count_r(ue,se.children[ae]);return ue.count}}]),R=Bt.API,U=function(){var ue=typeof Deflater=="function";if(!ue)throw new Error("requires deflate.js for compression");return ue},M=function(ue,se,ae,ye){var Ce=5,Oe=Z;switch(ye){case R.image_compression.FAST:Ce=3,Oe=_;break;case R.image_compression.MEDIUM:Ce=6,Oe=Y;break;case R.image_compression.SLOW:Ce=9,Oe=k}ue=K(ue,se,ae,Oe);var Te=new Uint8Array(j(Ce)),xe=P(ue),ke=new Deflater(Ce),lt=ke.append(ue),At=ke.flush(),ee=Te.length+lt.length+At.length,ie=new Uint8Array(ee+4);return ie.set(Te),ie.set(lt,Te.length),ie.set(At,Te.length+lt.length),ie[ee++]=xe>>>24&255,ie[ee++]=xe>>>16&255,ie[ee++]=xe>>>8&255,ie[ee++]=255&xe,R.arrayBufferToBinaryString(ie)},j=function(ue,se){var ae=Math.LOG2E*Math.log(32768)-8<<4|8,ye=ae<<8;return ye|=Math.min(3,(se-1&255)>>1)<<6,ye|=0,[ae,255&(ye+=31-ye%31)]},P=function(ue,se){for(var ae,ye=1,Ce=0,Oe=ue.length,Te=0;0<Oe;){for(Oe-=ae=se<Oe?se:Oe;Ce+=ye+=ue[Te++],--ae;);ye%=65521,Ce%=65521}return(Ce<<16|ye)>>>0},K=function(ue,se,ae,ye){for(var Ce,Oe,Te,xe=ue.length/se,ke=new Uint8Array(ue.length+xe),lt=X(),At=0;At<xe;At++){if(Te=At*se,Ce=ue.subarray(Te,Te+se),ye)ke.set(ye(Ce,ae,Oe),Te+At);else{for(var ee=0,ie=lt.length,z=[];ee<ie;ee++)z[ee]=lt[ee](Ce,ae,Oe);var $=he(z.concat());ke.set(z[$],Te+At)}Oe=Ce}return ke},H=function(ue,se,ae){var ye=Array.apply([],ue);return ye.unshift(0),ye},_=function(ue,se,ae){var ye,Ce=[],Oe=0,Te=ue.length;for(Ce[0]=1;Oe<Te;Oe++)ye=ue[Oe-se]||0,Ce[Oe+1]=ue[Oe]-ye+256&255;return Ce},Z=function(ue,se,ae){var ye,Ce=[],Oe=0,Te=ue.length;for(Ce[0]=2;Oe<Te;Oe++)ye=ae&&ae[Oe]||0,Ce[Oe+1]=ue[Oe]-ye+256&255;return Ce},Y=function(ue,se,ae){var ye,Ce,Oe=[],Te=0,xe=ue.length;for(Oe[0]=3;Te<xe;Te++)ye=ue[Te-se]||0,Ce=ae&&ae[Te]||0,Oe[Te+1]=ue[Te]+256-(ye+Ce>>>1)&255;return Oe},k=function(ue,se,ae){var ye,Ce,Oe,Te,xe=[],ke=0,lt=ue.length;for(xe[0]=4;ke<lt;ke++)ye=ue[ke-se]||0,Ce=ae&&ae[ke]||0,Oe=ae&&ae[ke-se]||0,Te=Q(ye,Ce,Oe),xe[ke+1]=ue[ke]-Te+256&255;return xe},Q=function(ue,se,ae){var ye=ue+se-ae,Ce=Math.abs(ye-ue),Oe=Math.abs(ye-se),Te=Math.abs(ye-ae);return Ce<=Oe&&Ce<=Te?ue:Oe<=Te?se:ae},X=function(){return[H,_,Z,Y,k]},he=function(ue){for(var se,ae,ye,Ce=0,Oe=ue.length;Ce<Oe;)((se=te(ue[Ce].slice(1)))<ae||!ae)&&(ae=se,ye=Ce),Ce++;return ye},te=function(ue){for(var se=0,ae=ue.length,ye=0;se<ae;)ye+=Math.abs(ue[se++]);return ye},R.processPNG=function(de,ue,se,ae,ye){var Ce,Oe,Te,xe,ke,lt,At=this.color_spaces.DEVICE_RGB,ee=this.decode.FLATE_DECODE,ie=8;if(this.isArrayBuffer(de)&&(de=new Uint8Array(de)),this.isArrayBufferView(de)){if(typeof PNG!="function"||typeof Gt!="function")throw new Error("PNG support requires png.js and zlib.js");if(de=(Ce=new PNG(de)).imgData,ie=Ce.bits,At=Ce.colorSpace,xe=Ce.colors,[4,6].indexOf(Ce.colorType)!==-1){if(Ce.bits===8)for(var z,$=(Vt=Ce.pixelBitlength==32?new Uint32Array(Ce.decodePixels().buffer):Ce.pixelBitlength==16?new Uint16Array(Ce.decodePixels().buffer):new Uint8Array(Ce.decodePixels().buffer)).length,le=new Uint8Array($*Ce.colors),ge=new Uint8Array($),Ae=Ce.pixelBitlength-Ce.bits,Me=0,Ze=0;Me<$;Me++){for(kt=Vt[Me],z=0;z<Ae;)le[Ze++]=kt>>>z&255,z+=Ce.bits;ge[Me]=kt>>>z&255}if(Ce.bits===16){$=(Vt=new Uint32Array(Ce.decodePixels().buffer)).length,le=new Uint8Array($*(32/Ce.pixelBitlength)*Ce.colors),ge=new Uint8Array($*(32/Ce.pixelBitlength));for(var kt,Jt=1<Ce.colors,Et=Ze=Me=0;Me<$;)kt=Vt[Me++],le[Ze++]=kt>>>0&255,Jt&&(le[Ze++]=kt>>>16&255,kt=Vt[Me++],le[Ze++]=kt>>>0&255),ge[Et++]=kt>>>16&255;ie=8}ae!==R.image_compression.NONE&&U()?(de=M(le,Ce.width*Ce.colors,Ce.colors,ae),lt=M(ge,Ce.width,1,ae)):(de=le,lt=ge,ee=null)}if(Ce.colorType===3&&(At=this.color_spaces.INDEXED,ke=Ce.palette,Ce.transparency.indexed)){var Ft=Ce.transparency.indexed,Kt=0;for(Me=0,$=Ft.length;Me<$;++Me)Kt+=Ft[Me];if((Kt/=255)==$-1&&Ft.indexOf(0)!==-1)Te=[Ft.indexOf(0)];else if(Kt!==$){var Vt=Ce.decodePixels();for(ge=new Uint8Array(Vt.length),Me=0,$=Vt.length;Me<$;Me++)ge[Me]=Ft[Vt[Me]];lt=M(ge,Ce.width,1)}}var Ot=function(ur){var Zt;switch(ur){case R.image_compression.FAST:Zt=11;break;case R.image_compression.MEDIUM:Zt=13;break;case R.image_compression.SLOW:Zt=14;break;default:Zt=12}return Zt}(ae);return Oe=ee===this.decode.FLATE_DECODE?"/Predictor "+Ot+" /Colors "+xe+" /BitsPerComponent "+ie+" /Columns "+Ce.width:"/Colors "+xe+" /BitsPerComponent "+ie+" /Columns "+Ce.width,(this.isArrayBuffer(de)||this.isArrayBufferView(de))&&(de=this.arrayBufferToBinaryString(de)),(lt&&this.isArrayBuffer(lt)||this.isArrayBufferView(lt))&&(lt=this.arrayBufferToBinaryString(lt)),this.createImageInfo(de,Ce.width,Ce.height,At,ie,ee,ue,se,Oe,Te,ke,lt,Ot)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(pe=Bt.API).processGIF89A=function(de,ue,se,ae,ye){var Ce=new Lt(de),Oe=Ce.width,Te=Ce.height,xe=[];Ce.decodeAndBlitFrameRGBA(0,xe);var ke={data:xe,width:Oe,height:Te},lt=new Qt(100).encode(ke,100);return pe.processJPEG.call(this,lt,ue,se,ae)},pe.processGIF87A=pe.processGIF89A,(Se=Bt.API).processBMP=function(de,ue,se,ae,ye){var Ce=new qt(de,!1),Oe=Ce.width,Te=Ce.height,xe={data:Ce.getData(),width:Oe,height:Te},ke=new Qt(100).encode(xe,100);return Se.processJPEG.call(this,ke,ue,se,ae)},Bt.API.setLanguage=function(de){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[de]!==void 0&&(this.internal.languageSettings.languageCode=de,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},we=Bt.API,We=we.getCharWidthsArray=function(de,ue){var se,ae,ye,Ce=(ue=ue||{}).font||this.internal.getFont(),Oe=ue.fontSize||this.internal.getFontSize(),Te=ue.charSpace||this.internal.getCharSpace(),xe=ue.widths?ue.widths:Ce.metadata.Unicode.widths,ke=xe.fof?xe.fof:1,lt=ue.kerning?ue.kerning:Ce.metadata.Unicode.kerning,At=lt.fof?lt.fof:1,ee=0,ie=xe[0]||ke,z=[];for(se=0,ae=de.length;se<ae;se++)ye=de.charCodeAt(se),typeof Ce.metadata.widthOfString=="function"?z.push((Ce.metadata.widthOfGlyph(Ce.metadata.characterToGlyph(ye))+Te*(1e3/Oe)||0)/1e3):z.push((xe[ye]||ie)/ke+(lt[ye]&<[ye][ee]||0)/At),ee=ye;return z},qe=we.getArraySum=function(de){for(var ue=de.length,se=0;ue;)se+=de[--ue];return se},yt=we.getStringUnitWidth=function(de,ue){var se=(ue=ue||{}).fontSize||this.internal.getFontSize(),ae=ue.font||this.internal.getFont(),ye=ue.charSpace||this.internal.getCharSpace();return typeof ae.metadata.widthOfString=="function"?ae.metadata.widthOfString(de,se,ye)/se:qe(We.apply(this,arguments))},_e=function(ue,se,ae,ye){for(var Ce=[],Oe=0,Te=ue.length,xe=0;Oe!==Te&&xe+se[Oe]<ae;)xe+=se[Oe],Oe++;Ce.push(ue.slice(0,Oe));var ke=Oe;for(xe=0;Oe!==Te;)xe+se[Oe]>ye&&(Ce.push(ue.slice(ke,Oe)),xe=0,ke=Oe),xe+=se[Oe],Oe++;return ke!==Oe&&Ce.push(ue.slice(ke,Oe)),Ce},je=function(ue,se,ae){ae||(ae={});var ye,Ce,Oe,Te,xe,ke,lt=[],At=[lt],ee=ae.textIndent||0,ie=0,z=0,$=ue.split(" "),le=We.apply(this,[" ",ae])[0];if(ke=ae.lineIndent===-1?$[0].length+2:ae.lineIndent||0){var ge=Array(ke).join(" "),Ae=[];$.map(function(kt){1<(kt=kt.split(/\s*\n/)).length?Ae=Ae.concat(kt.map(function(Jt,Et){return(Et&&Jt.length?`
|
|
|
`:"")+Jt})):Ae.push(kt[0])}),$=Ae,ke=yt.apply(this,[ge,ae])}for(Oe=0,Te=$.length;Oe<Te;Oe++){var Me=0;if(ye=$[Oe],ke&&ye[0]==`
|
|
|
`&&(ye=ye.substr(1),Me=1),Ce=We.apply(this,[ye,ae]),se<ee+ie+(z=qe(Ce))||Me){if(se<z){for(xe=_e.apply(this,[ye,Ce,se-(ee+ie),se]),lt.push(xe.shift()),lt=[xe.pop()];xe.length;)At.push([xe.shift()]);z=qe(Ce.slice(ye.length-(lt[0]?lt[0].length:0)))}else lt=[ye];At.push(lt),ee=z+ke,ie=le}else lt.push(ye),ee+=ie+z,ie=le}if(ke)var Ze=function(Jt,Et){return(Et?ge:"")+Jt.join(" ")};else Ze=function(Jt){return Jt.join(" ")};return At.map(Ze)},we.splitTextToSize=function(de,ue,se){var ae,ye=(se=se||{}).fontSize||this.internal.getFontSize(),Ce=function(lt){var At={0:1},ee={};if(lt.widths&<.kerning)return{widths:lt.widths,kerning:lt.kerning};var ie=this.internal.getFont(lt.fontName,lt.fontStyle),z="Unicode";return ie.metadata[z]?{widths:ie.metadata[z].widths||At,kerning:ie.metadata[z].kerning||ee}:{font:ie.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,se);ae=Array.isArray(de)?de:de.split(/\r?\n/);var Oe=1*this.internal.scaleFactor*ue/ye;Ce.textIndent=se.textIndent?1*se.textIndent*this.internal.scaleFactor/ye:0,Ce.lineIndent=se.lineIndent;var Te,xe,ke=[];for(Te=0,xe=ae.length;Te<xe;Te++)ke=ke.concat(je.apply(this,[ae[Te],Oe,Ce]));return ke},Ct=Bt.API,nt={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(ct=function(ue){for(var se="klmnopqrstuvwxyz",ae={},ye=0;ye<se.length;ye++)ae[se[ye]]="0123456789abcdef"[ye];var Ce,Oe,Te,xe,ke,lt={},At=1,ee=lt,ie=[],z="",$="",le=ue.length-1;for(ye=1;ye!=le;)ke=ue[ye],ye+=1,ke=="'"?Oe=Oe?(xe=Oe.join(""),Ce):[]:Oe?Oe.push(ke):ke=="{"?(ie.push([ee,xe]),ee={},xe=Ce):ke=="}"?((Te=ie.pop())[0][Te[1]]=ee,xe=Ce,ee=Te[0]):ke=="-"?At=-1:xe===Ce?ae.hasOwnProperty(ke)?(z+=ae[ke],xe=parseInt(z,16)*At,At=1,z=""):z+=ke:ae.hasOwnProperty(ke)?($+=ae[ke],ee[xe]=parseInt($,16)*At,At=1,xe=Ce,$=""):$+=ke;return lt})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},bt={Unicode:{Courier:nt,"Courier-Bold":nt,"Courier-BoldOblique":nt,"Courier-Oblique":nt,Helvetica:nt,"Helvetica-Bold":nt,"Helvetica-BoldOblique":nt,"Helvetica-Oblique":nt,"Times-Roman":nt,"Times-Bold":nt,"Times-BoldItalic":nt,"Times-Italic":nt}},dt={Unicode:{"Courier-Oblique":ct("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":ct("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":ct("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:ct("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":ct("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":ct("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:ct("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:ct("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":ct("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:ct("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":ct("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":ct("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":ct("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":ct("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}},Ct.events.push(["addFont",function(de){var ue,se,ae,ye=de.font,Ce="Unicode";(ue=dt[Ce][ye.postScriptName])&&((se=ye.metadata[Ce]?ye.metadata[Ce]:ye.metadata[Ce]={}).widths=ue.widths,se.kerning=ue.kerning),(ae=bt[Ce][ye.postScriptName])&&((se=ye.metadata[Ce]?ye.metadata[Ce]:ye.metadata[Ce]={}).encoding=ae).codePages&&ae.codePages.length&&(ye.encoding=ae.codePages[0])}]),vt=Bt,typeof self!="undefined"&&self||typeof d!="undefined"&&d||typeof window!="undefined"&&window||Function("return this")(),vt.API.events.push(["addFont",function(de){var ue=de.font,se=de.instance;if(se!==void 0&&se.existsFileInVFS(ue.postScriptName)){var ae=se.getFileFromVFS(ue.postScriptName);if(typeof ae!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+ue.postScriptName+"').");ue.metadata=vt.API.TTFFont.open(ue.postScriptName,ue.fontName,ae,ue.encoding),ue.metadata.Unicode=ue.metadata.Unicode||{encoding:{},kerning:{},widths:[]},ue.metadata.glyIdsUsed=[0]}else if(ue.isStandardFont===!1)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+ue.postScriptName+"').")}]),(Qe=Bt.API).addSvg=function(de,ue,se,ae,ye){if(ue===void 0||se===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function Ce(Ft){for(var Kt=parseFloat(Ft[1]),Vt=parseFloat(Ft[2]),Ot=[],ur=3,Zt=Ft.length;ur<Zt;)Ft[ur]==="c"?(Ot.push([parseFloat(Ft[ur+1]),parseFloat(Ft[ur+2]),parseFloat(Ft[ur+3]),parseFloat(Ft[ur+4]),parseFloat(Ft[ur+5]),parseFloat(Ft[ur+6])]),ur+=7):Ft[ur]==="l"?(Ot.push([parseFloat(Ft[ur+1]),parseFloat(Ft[ur+2])]),ur+=3):ur+=1;return[Kt,Vt,Ot]}var Oe,Te,xe,ke,lt,At,ee,ie,z=(ke=document,ie=ke.createElement("iframe"),lt=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(ee=(At=ke).createElement("style")).type="text/css",ee.styleSheet?ee.styleSheet.cssText=lt:ee.appendChild(At.createTextNode(lt)),At.getElementsByTagName("head")[0].appendChild(ee),ie.name="childframe",ie.setAttribute("width",0),ie.setAttribute("height",0),ie.setAttribute("frameborder","0"),ie.setAttribute("scrolling","no"),ie.setAttribute("seamless","seamless"),ie.setAttribute("class","jsPDF_sillysvg_iframe"),ke.body.appendChild(ie),ie),$=(Oe=de,(xe=((Te=z).contentWindow||Te.contentDocument).document).write(Oe),xe.close(),xe.getElementsByTagName("svg")[0]),le=[1,1],ge=parseFloat($.getAttribute("width")),Ae=parseFloat($.getAttribute("height"));ge&&Ae&&(ae&&ye?le=[ae/ge,ye/Ae]:ae?le=[ae/ge,ae/ge]:ye&&(le=[ye/Ae,ye/Ae]));var Me,Ze,kt,Jt,Et=$.childNodes;for(Me=0,Ze=Et.length;Me<Ze;Me++)(kt=Et[Me]).tagName&&kt.tagName.toUpperCase()==="PATH"&&((Jt=Ce(kt.getAttribute("d").split(" ")))[0]=Jt[0]*le[0]+ue,Jt[1]=Jt[1]*le[1]+se,this.lines.call(this,Jt[2],Jt[0],Jt[1],le));return this},Qe.addSVG=Qe.addSvg,Qe.addSvgAsImage=function(de,ue,se,ae,ye,Ce,Oe,Te){if(isNaN(ue)||isNaN(se))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(ae)||isNaN(ye))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var xe=document.createElement("canvas");xe.width=ae,xe.height=ye;var ke=xe.getContext("2d");return ke.fillStyle="#fff",ke.fillRect(0,0,xe.width,xe.height),canvg(xe,de,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(xe.toDataURL("image/jpeg",1),ue,se,ae,ye,Oe,Te),this},Bt.API.putTotalPages=function(de){var ue,se=0;se=parseInt(this.internal.getFont().id.substr(1),10)<15?(ue=new RegExp(de,"g"),this.internal.getNumberOfPages()):(ue=new RegExp(this.pdfEscape16(de,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var ae=1;ae<=this.internal.getNumberOfPages();ae++)for(var ye=0;ye<this.internal.pages[ae].length;ye++)this.internal.pages[ae][ye]=this.internal.pages[ae][ye].replace(ue,se);return this},Bt.API.viewerPreferences=function(de,ue){var se;de=de||{},ue=ue||!1;var ae,ye,Ce={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},Oe=Object.keys(Ce),Te=[],xe=0,ke=0,lt=0,At=!0;function ee(z,$){var le,ge=!1;for(le=0;le<z.length;le+=1)z[le]===$&&(ge=!0);return ge}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Ce)),this.internal.viewerpreferences.isSubscribed=!1),se=this.internal.viewerpreferences.configuration,de==="reset"||ue===!0){var ie=Oe.length;for(lt=0;lt<ie;lt+=1)se[Oe[lt]].value=se[Oe[lt]].defaultValue,se[Oe[lt]].explicitSet=!1}if(p(de)==="object"){for(ae in de)if(ye=de[ae],ee(Oe,ae)&&ye!==void 0){if(se[ae].type==="boolean"&&typeof ye=="boolean")se[ae].value=ye;else if(se[ae].type==="name"&&ee(se[ae].valueSet,ye))se[ae].value=ye;else if(se[ae].type==="integer"&&Number.isInteger(ye))se[ae].value=ye;else if(se[ae].type==="array"){for(xe=0;xe<ye.length;xe+=1)if(At=!0,ye[xe].length===1&&typeof ye[xe][0]=="number")Te.push(String(ye[xe]-1));else if(1<ye[xe].length){for(ke=0;ke<ye[xe].length;ke+=1)typeof ye[xe][ke]!="number"&&(At=!1);At===!0&&Te.push([ye[xe][0]-1,ye[xe][1]-1].join(" "))}se[ae].value="["+Te.join(" ")+"]"}else se[ae].value=se[ae].defaultValue;se[ae].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var z,$=[];for(z in se)se[z].explicitSet===!0&&(se[z].type==="name"?$.push("/"+z+" /"+se[z].value):$.push("/"+z+" "+se[z].value));$.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+$.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=se,this},mt=Bt.API,Ie=De=Pe="",mt.addMetadata=function(de,ue){return De=ue||"http://jspdf.default.namespaceuri/",Pe=de,this.internal.events.subscribe("postPutResources",function(){if(Pe){var se='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+De+'"><jspdf:metadata>',ae=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),ye=unescape(encodeURIComponent(se)),Ce=unescape(encodeURIComponent(Pe)),Oe=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Te=unescape(encodeURIComponent("</x:xmpmeta>")),xe=ye.length+Ce.length+Oe.length+ae.length+Te.length;Ie=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+xe+" >>"),this.internal.write("stream"),this.internal.write(ae+ye+Ce+Oe+Te),this.internal.write("endstream"),this.internal.write("endobj")}else Ie=""}),this.internal.events.subscribe("putCatalog",function(){Ie&&this.internal.write("/Metadata "+Ie+" 0 R")}),this},function(de,ue){var se=de.API,ae=se.pdfEscape16=function(Oe,Te){for(var xe,ke=Te.metadata.Unicode.widths,lt=["","0","00","000","0000"],At=[""],ee=0,ie=Oe.length;ee<ie;++ee){if(xe=Te.metadata.characterToGlyph(Oe.charCodeAt(ee)),Te.metadata.glyIdsUsed.push(xe),Te.metadata.toUnicode[xe]=Oe.charCodeAt(ee),ke.indexOf(xe)==-1&&(ke.push(xe),ke.push([parseInt(Te.metadata.widthOfGlyph(xe),10)])),xe=="0")return At.join("");xe=xe.toString(16),At.push(lt[4-xe.length],xe)}return At.join("")},ye=function(Te){var xe,ke,lt,At,ee,ie,z;for(ee=`/CIDInit /ProcSet findresource begin
|
|
|
12 dict begin
|
|
|
begincmap
|
|
|
/CIDSystemInfo <<
|
|
|
/Registry (Adobe)
|
|
|
/Ordering (UCS)
|
|
|
/Supplement 0
|
|
|
>> def
|
|
|
/CMapName /Adobe-Identity-UCS def
|
|
|
/CMapType 2 def
|
|
|
1 begincodespacerange
|
|
|
<0000><ffff>
|
|
|
endcodespacerange`,lt=[],ie=0,z=(ke=Object.keys(Te).sort(function($,le){return $-le})).length;ie<z;ie++)xe=ke[ie],100<=lt.length&&(ee+=`
|
|
|
`+lt.length+` beginbfchar
|
|
|
`+lt.join(`
|
|
|
`)+`
|
|
|
endbfchar`,lt=[]),At=("0000"+Te[xe].toString(16)).slice(-4),xe=("0000"+(+xe).toString(16)).slice(-4),lt.push("<"+xe+"><"+At+">");return lt.length&&(ee+=`
|
|
|
`+lt.length+` beginbfchar
|
|
|
`+lt.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),ee+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};se.events.push(["putFont",function(Oe){!function(Te,xe,ke,lt){if(Te.metadata instanceof de.API.TTFFont&&Te.encoding==="Identity-H"){for(var At=Te.metadata.Unicode.widths,ee=Te.metadata.subset.encode(Te.metadata.glyIdsUsed,1),ie="",z=0;z<ee.length;z++)ie+=String.fromCharCode(ee[z]);var $=ke();lt({data:ie,addLength1:!0}),xe("endobj");var le=ke();lt({data:ye(Te.metadata.toUnicode),addLength1:!0}),xe("endobj");var ge=ke();xe("<<"),xe("/Type /FontDescriptor"),xe("/FontName /"+Te.fontName),xe("/FontFile2 "+$+" 0 R"),xe("/FontBBox "+de.API.PDFObject.convert(Te.metadata.bbox)),xe("/Flags "+Te.metadata.flags),xe("/StemV "+Te.metadata.stemV),xe("/ItalicAngle "+Te.metadata.italicAngle),xe("/Ascent "+Te.metadata.ascender),xe("/Descent "+Te.metadata.decender),xe("/CapHeight "+Te.metadata.capHeight),xe(">>"),xe("endobj");var Ae=ke();xe("<<"),xe("/Type /Font"),xe("/BaseFont /"+Te.fontName),xe("/FontDescriptor "+ge+" 0 R"),xe("/W "+de.API.PDFObject.convert(At)),xe("/CIDToGIDMap /Identity"),xe("/DW 1000"),xe("/Subtype /CIDFontType2"),xe("/CIDSystemInfo"),xe("<<"),xe("/Supplement 0"),xe("/Registry (Adobe)"),xe("/Ordering ("+Te.encoding+")"),xe(">>"),xe(">>"),xe("endobj"),Te.objectNumber=ke(),xe("<<"),xe("/Type /Font"),xe("/Subtype /Type0"),xe("/ToUnicode "+le+" 0 R"),xe("/BaseFont /"+Te.fontName),xe("/Encoding /"+Te.encoding),xe("/DescendantFonts ["+Ae+" 0 R]"),xe(">>"),xe("endobj"),Te.isAlreadyPutted=!0}}(Oe.font,Oe.out,Oe.newObject,Oe.putStream)}]),se.events.push(["putFont",function(Oe){!function(Te,xe,ke,lt){if(Te.metadata instanceof de.API.TTFFont&&Te.encoding==="WinAnsiEncoding"){Te.metadata.Unicode.widths;for(var At=Te.metadata.rawData,ee="",ie=0;ie<At.length;ie++)ee+=String.fromCharCode(At[ie]);var z=ke();lt({data:ee,addLength1:!0}),xe("endobj");var $=ke();lt({data:ye(Te.metadata.toUnicode),addLength1:!0}),xe("endobj");var le=ke();for(xe("<<"),xe("/Descent "+Te.metadata.decender),xe("/CapHeight "+Te.metadata.capHeight),xe("/StemV "+Te.metadata.stemV),xe("/Type /FontDescriptor"),xe("/FontFile2 "+z+" 0 R"),xe("/Flags 96"),xe("/FontBBox "+de.API.PDFObject.convert(Te.metadata.bbox)),xe("/FontName /"+Te.fontName),xe("/ItalicAngle "+Te.metadata.italicAngle),xe("/Ascent "+Te.metadata.ascender),xe(">>"),xe("endobj"),Te.objectNumber=ke(),ie=0;ie<Te.metadata.hmtx.widths.length;ie++)Te.metadata.hmtx.widths[ie]=parseInt(Te.metadata.hmtx.widths[ie]*(1e3/Te.metadata.head.unitsPerEm));xe("<</Subtype/TrueType/Type/Font/ToUnicode "+$+" 0 R/BaseFont/"+Te.fontName+"/FontDescriptor "+le+" 0 R/Encoding/"+Te.encoding+" /FirstChar 29 /LastChar 255 /Widths "+de.API.PDFObject.convert(Te.metadata.hmtx.widths)+">>"),xe("endobj"),Te.isAlreadyPutted=!0}}(Oe.font,Oe.out,Oe.newObject,Oe.putStream)}]);var Ce=function(Te){var xe,ke,lt=Te.text||"",At=Te.x,ee=Te.y,ie=Te.options||{},z=Te.mutex||{},$=z.pdfEscape,le=z.activeFontKey,ge=z.fonts,Ae=(z.activeFontSize,""),Me=0,Ze="",kt=ge[ke=le].encoding;if(ge[ke].encoding!=="Identity-H")return{text:lt,x:At,y:ee,options:ie,mutex:z};for(Ze=lt,ke=le,Object.prototype.toString.call(lt)==="[object Array]"&&(Ze=lt[0]),Me=0;Me<Ze.length;Me+=1)ge[ke].metadata.hasOwnProperty("cmap")&&(xe=ge[ke].metadata.cmap.unicode.codeMap[Ze[Me].charCodeAt(0)]),xe||Ze[Me].charCodeAt(0)<256&&ge[ke].metadata.hasOwnProperty("Unicode")?Ae+=Ze[Me]:Ae+="";var Jt="";return parseInt(ke.slice(1))<14||kt==="WinAnsiEncoding"?Jt=function(Et){for(var Ft="",Kt=0;Kt<Et.length;Kt++)Ft+=""+Et.charCodeAt(Kt).toString(16);return Ft}($(Ae,ke)):kt==="Identity-H"&&(Jt=ae(Ae,ge[ke])),z.isHex=!0,{text:Jt,x:At,y:ee,options:ie,mutex:z}};se.events.push(["postProcessText",function(Oe){var Te=Oe.text||"",xe=Oe.x,ke=Oe.y,lt=Oe.options,At=Oe.mutex,ee=(lt.lang,[]),ie={text:Te,x:xe,y:ke,options:lt,mutex:At};if(Object.prototype.toString.call(Te)==="[object Array]"){var z=0;for(z=0;z<Te.length;z+=1)Object.prototype.toString.call(Te[z])==="[object Array]"&&Te[z].length===3?ee.push([Ce(Object.assign({},ie,{text:Te[z][0]})).text,Te[z][1],Te[z][2]]):ee.push(Ce(Object.assign({},ie,{text:Te[z]})).text);Oe.text=ee}else Oe.text=Ce(Object.assign({},ie,{text:Te})).text}])}(Bt,typeof self!="undefined"&&self||typeof d!="undefined"&&d||typeof window!="undefined"&&window||Function("return this")()),ot=Bt.API,wt=function(ue){return ue!==void 0&&(ue.vFS===void 0&&(ue.vFS={}),!0)},ot.existsFileInVFS=function(de){return!!wt(this.internal)&&this.internal.vFS[de]!==void 0},ot.addFileToVFS=function(de,ue){return wt(this.internal),this.internal.vFS[de]=ue,this},ot.getFileFromVFS=function(de){return wt(this.internal),this.internal.vFS[de]!==void 0?this.internal.vFS[de]:null},Bt.API.addHTML=function(de,ue,se,ae,ye){if(typeof html2canvas=="undefined"&&typeof rasterizeHTML=="undefined")throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");typeof ue!="number"&&(ae=ue,ye=se),typeof ae=="function"&&(ye=ae,ae=null),typeof ye!="function"&&(ye=function(){});var Ce=this.internal,Oe=Ce.scaleFactor,Te=Ce.pageSize.getWidth(),xe=Ce.pageSize.getHeight();if((ae=ae||{}).onrendered=function(lt){ue=parseInt(ue)||0,se=parseInt(se)||0;var At=ae.dim||{},ee=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},ae.margin),ie=At.h||Math.min(xe,lt.height/Oe),z=At.w||Math.min(Te,lt.width/Oe)-ue,$=ae.format||"JPEG",le=ae.imageCompression||"SLOW";if(lt.height>xe-ee.top-ee.bottom&&ae.pagesplit){var ge=function(Et,Ft,Kt,Vt,Ot){var ur=document.createElement("canvas");ur.height=Ot,ur.width=Vt;var Zt=ur.getContext("2d");return Zt.mozImageSmoothingEnabled=!1,Zt.webkitImageSmoothingEnabled=!1,Zt.msImageSmoothingEnabled=!1,Zt.imageSmoothingEnabled=!1,Zt.fillStyle=ae.backgroundColor||"#ffffff",Zt.fillRect(0,0,Vt,Ot),Zt.drawImage(Et,Ft,Kt,Vt,Ot,0,0,Vt,Ot),ur},Ae=function(){for(var Jt,Et,Ft=0,Kt=0,Vt={},Ot=!1;;){var ur;if(Kt=0,Vt.top=Ft!==0?ee.top:se,Vt.left=Ft!==0?ee.left:ue,Ot=(Te-ee.left-ee.right)*Oe<lt.width,ee.useFor==="content"?Ft===0?(Jt=Math.min((Te-ee.left)*Oe,lt.width),Et=Math.min((xe-ee.top)*Oe,lt.height-Ft)):(Jt=Math.min(Te*Oe,lt.width),Et=Math.min(xe*Oe,lt.height-Ft),Vt.top=0):(Jt=Math.min((Te-ee.left-ee.right)*Oe,lt.width),Et=Math.min((xe-ee.bottom-ee.top)*Oe,lt.height-Ft)),Ot)for(;;){ee.useFor==="content"&&(Kt===0?Jt=Math.min((Te-ee.left)*Oe,lt.width):(Jt=Math.min(Te*Oe,lt.width-Kt),Vt.left=0));var Zt=[ur=ge(lt,Kt,Ft,Jt,Et),Vt.left,Vt.top,ur.width/Oe,ur.height/Oe,$,null,le];if(this.addImage.apply(this,Zt),(Kt+=Jt)>=lt.width)break;this.addPage()}else Zt=[ur=ge(lt,0,Ft,Jt,Et),Vt.left,Vt.top,ur.width/Oe,ur.height/Oe,$,null,le],this.addImage.apply(this,Zt);if((Ft+=Et)>=lt.height)break;this.addPage()}ye(z,Ft,null,Zt)}.bind(this);if(lt.nodeName==="CANVAS"){var Me=new Image;Me.onload=Ae,Me.src=lt.toDataURL("image/png"),lt=Me}else Ae()}else{var Ze=Math.random().toString(35),kt=[lt,ue,se,z,ie,$,Ze,le];this.addImage.apply(this,kt),ye(z,ie,Ze,kt)}}.bind(this),typeof html2canvas!="undefined"&&!ae.rstz)return html2canvas(de,ae);if(typeof rasterizeHTML=="undefined")return null;var ke="drawDocument";return typeof de=="string"&&(ke=/^http/.test(de)?"drawURL":"drawHTML"),ae.width=ae.width||Te*Oe,rasterizeHTML[ke](de,void 0,ae).then(function(lt){ae.onrendered(lt.image)},function(lt){ye(null,lt)})},function(de){var ue,se,ae,ye,Ce,Oe,Te,xe,ke,lt,At,ee,ie,z,$,le,ge,Ae,Me,Ze;ue=function(){return function(Ft){return Et.prototype=Ft,new Et};function Et(){}}(),lt=function(Ft){var Kt,Vt,Ot,ur,Zt,ze,at;for(Vt=0,Ot=Ft.length,Kt=void 0,ze=ur=!1;!ur&&Vt!==Ot;)(Kt=Ft[Vt]=Ft[Vt].trimLeft())&&(ur=!0),Vt++;for(Vt=Ot-1;Ot&&!ze&&Vt!==-1;)(Kt=Ft[Vt]=Ft[Vt].trimRight())&&(ze=!0),Vt--;for(Zt=/\s+$/g,at=!0,Vt=0;Vt!==Ot;)Ft[Vt]!="\u2028"&&(Kt=Ft[Vt].replace(/\s+/g," "),at&&(Kt=Kt.trimLeft()),Kt&&(at=Zt.test(Kt)),Ft[Vt]=Kt),Vt++;return Ft},ee=function(Ft){var Kt,Vt,Ot;for(Kt=void 0,Vt=(Ot=Ft.split(",")).shift();!Kt&&Vt;)Kt=ae[Vt.trim().toLowerCase()],Vt=Ot.shift();return Kt},ie=function(Ft){var Kt;return-1<(Ft=Ft==="auto"?"0px":Ft).indexOf("em")&&!isNaN(Number(Ft.replace("em","")))&&(Ft=18.719*Number(Ft.replace("em",""))+"px"),-1<Ft.indexOf("pt")&&!isNaN(Number(Ft.replace("pt","")))&&(Ft=1.333*Number(Ft.replace("pt",""))+"px"),(Kt=z[Ft])?Kt:(Kt={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[Ft])!==void 0||(Kt=parseFloat(Ft))?z[Ft]=Kt/16:(Kt=Ft.match(/([\d\.]+)(px)/),Array.isArray(Kt)&&Kt.length===3?z[Ft]=parseFloat(Kt[1])/16:z[Ft]=1)},ke=function(Ft){var Kt,Vt,Ot,ur,Zt;return Zt=Ft,ur=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(Zt,null):Zt.currentStyle?Zt.currentStyle:Zt.style,Vt=void 0,(Kt={})["font-family"]=ee((Ot=function(at){return at=at.replace(/-\D/g,function(Ve){return Ve.charAt(1).toUpperCase()}),ur[at]})("font-family"))||"times",Kt["font-style"]=ye[Ot("font-style")]||"normal",Kt["text-align"]=Ce[Ot("text-align")]||"left",(Vt=Oe[Ot("font-weight")]||"normal")==="bold"&&(Kt["font-style"]==="normal"?Kt["font-style"]=Vt:Kt["font-style"]=Vt+Kt["font-style"]),Kt["font-size"]=ie(Ot("font-size"))||1,Kt["line-height"]=ie(Ot("line-height"))||1,Kt.display=Ot("display")==="inline"?"inline":"block",Vt=Kt.display==="block",Kt["margin-top"]=Vt&&ie(Ot("margin-top"))||0,Kt["margin-bottom"]=Vt&&ie(Ot("margin-bottom"))||0,Kt["padding-top"]=Vt&&ie(Ot("padding-top"))||0,Kt["padding-bottom"]=Vt&&ie(Ot("padding-bottom"))||0,Kt["margin-left"]=Vt&&ie(Ot("margin-left"))||0,Kt["margin-right"]=Vt&&ie(Ot("margin-right"))||0,Kt["padding-left"]=Vt&&ie(Ot("padding-left"))||0,Kt["padding-right"]=Vt&&ie(Ot("padding-right"))||0,Kt["page-break-before"]=Ot("page-break-before")||"auto",Kt.float=Te[Ot("cssFloat")]||"none",Kt.clear=xe[Ot("clear")]||"none",Kt.color=Ot("color"),Kt},$=function(Ft,Kt,Vt){var Ot,ur,Zt,ze,at;if(Zt=!1,ze=ur=void 0,Ot=Vt["#"+Ft.id])if(typeof Ot=="function")Zt=Ot(Ft,Kt);else for(ur=0,ze=Ot.length;!Zt&&ur!==ze;)Zt=Ot[ur](Ft,Kt),ur++;if(Ot=Vt[Ft.nodeName],!Zt&&Ot)if(typeof Ot=="function")Zt=Ot(Ft,Kt);else for(ur=0,ze=Ot.length;!Zt&&ur!==ze;)Zt=Ot[ur](Ft,Kt),ur++;for(at=typeof Ft.className=="string"?Ft.className.split(" "):[],ur=0;ur<at.length;ur++)if(Ot=Vt["."+at[ur]],!Zt&&Ot)if(typeof Ot=="function")Zt=Ot(Ft,Kt);else for(ur=0,ze=Ot.length;!Zt&&ur!==ze;)Zt=Ot[ur](Ft,Kt),ur++;return Zt},Ze=function(Ft,Kt){var Vt,Ot,ur,Zt,ze,at,Ve,Xe,gt;for(Vt=[],Ot=[],ur=0,gt=Ft.rows[0].cells.length,Ve=Ft.clientWidth;ur<gt;)Xe=Ft.rows[0].cells[ur],Ot[ur]={name:Xe.textContent.toLowerCase().replace(/\s+/g,""),prompt:Xe.textContent.replace(/\r?\n/g,""),width:Xe.clientWidth/Ve*Kt.pdf.internal.pageSize.getWidth()},ur++;for(ur=1;ur<Ft.rows.length;){for(at=Ft.rows[ur],ze={},Zt=0;Zt<at.cells.length;)ze[Ot[Zt].name]=at.cells[Zt].textContent.replace(/\r?\n/g,""),Zt++;Vt.push(ze),ur++}return{rows:Vt,headers:Ot}};var kt={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},Jt=1;se=function(Ft,Kt,Vt){var Ot,ur,Zt,ze,at,Ve,Xe,gt;for(ur=Ft.childNodes,Ot=void 0,(at=(Zt=ke(Ft)).display==="block")&&(Kt.setBlockBoundary(),Kt.setBlockStyle(Zt)),ze=0,Ve=ur.length;ze<Ve;){if(p(Ot=ur[ze])==="object"){if(Kt.executeWatchFunctions(Ot),Ot.nodeType===1&&Ot.nodeName==="HEADER"){var ft=Ot,Ge=Kt.pdf.margins_doc.top;Kt.pdf.internal.events.subscribe("addPage",function(sr){Kt.y=Ge,se(ft,Kt,Vt),Kt.pdf.margins_doc.top=Kt.y+10,Kt.y+=10},!1)}if(Ot.nodeType===8&&Ot.nodeName==="#comment")~Ot.textContent.indexOf("ADD_PAGE")&&(Kt.pdf.addPage(),Kt.y=Kt.pdf.margins_doc.top);else if(Ot.nodeType!==1||kt[Ot.nodeName])if(Ot.nodeType===3){var Mt=Ot.nodeValue;if(Ot.nodeValue&&Ot.parentNode.nodeName==="LI")if(Ot.parentNode.parentNode.nodeName==="OL")Mt=Jt+++". "+Mt;else{var It=Zt["font-size"],rr=(3-.75*It)*Kt.pdf.internal.scaleFactor,Ht=.75*It*Kt.pdf.internal.scaleFactor,pr=1.74*It/Kt.pdf.internal.scaleFactor;gt=function(dr,Sr){this.pdf.circle(dr+rr,Sr+Ht,pr,"FD")}}16&Ot.ownerDocument.body.compareDocumentPosition(Ot)&&Kt.addText(Mt,Zt)}else typeof Ot=="string"&&Kt.addText(Ot,Zt);else{var Ar;if(Ot.nodeName==="IMG"){var Nr=Ot.getAttribute("src");Ar=le[Kt.pdf.sHashCode(Nr)||Nr]}if(Ar){Kt.pdf.internal.pageSize.getHeight()-Kt.pdf.margins_doc.bottom<Kt.y+Ot.height&&Kt.y>Kt.pdf.margins_doc.top&&(Kt.pdf.addPage(),Kt.y=Kt.pdf.margins_doc.top,Kt.executeWatchFunctions(Ot));var Fr=ke(Ot),tn=Kt.x,Jr=12/Kt.pdf.internal.scaleFactor,Lr=(Fr["margin-left"]+Fr["padding-left"])*Jr,Xr=(Fr["margin-right"]+Fr["padding-right"])*Jr,Tr=(Fr["margin-top"]+Fr["padding-top"])*Jr,lr=(Fr["margin-bottom"]+Fr["padding-bottom"])*Jr;Fr.float!==void 0&&Fr.float==="right"?tn+=Kt.settings.width-Ot.width-Xr:tn+=Lr,Kt.pdf.addImage(Ar,tn,Kt.y+Tr,Ot.width,Ot.height),Ar=void 0,Fr.float==="right"||Fr.float==="left"?(Kt.watchFunctions.push(function(sr,dr,Sr,Qr){return Kt.y>=dr?(Kt.x+=sr,Kt.settings.width+=Sr,!0):!!(Qr&&Qr.nodeType===1&&!kt[Qr.nodeName]&&Kt.x+Qr.width>Kt.pdf.margins_doc.left+Kt.pdf.margins_doc.width)&&(Kt.x+=sr,Kt.y=dr,Kt.settings.width+=Sr,!0)}.bind(this,Fr.float==="left"?-Ot.width-Lr-Xr:0,Kt.y+Ot.height+Tr+lr,Ot.width)),Kt.watchFunctions.push(function(sr,dr,Sr){return!(Kt.y<sr&&dr===Kt.pdf.internal.getNumberOfPages())||Sr.nodeType===1&&ke(Sr).clear==="both"&&(Kt.y=sr,!0)}.bind(this,Kt.y+Ot.height,Kt.pdf.internal.getNumberOfPages())),Kt.settings.width-=Ot.width+Lr+Xr,Fr.float==="left"&&(Kt.x+=Ot.width+Lr+Xr)):Kt.y+=Ot.height+Tr+lr}else if(Ot.nodeName==="TABLE")Xe=Ze(Ot,Kt),Kt.y+=10,Kt.pdf.table(Kt.x,Kt.y,Xe.rows,Xe.headers,{autoSize:!1,printHeaders:Vt.printHeaders,margins:Kt.pdf.margins_doc,css:ke(Ot)}),Kt.y=Kt.pdf.lastCellPos.y+Kt.pdf.lastCellPos.h+20;else if(Ot.nodeName==="OL"||Ot.nodeName==="UL")Jt=1,$(Ot,Kt,Vt)||se(Ot,Kt,Vt),Kt.y+=10;else if(Ot.nodeName==="LI"){var fr=Kt.x;Kt.x+=20/Kt.pdf.internal.scaleFactor,Kt.y+=3,$(Ot,Kt,Vt)||se(Ot,Kt,Vt),Kt.x=fr}else Ot.nodeName==="BR"?(Kt.y+=Zt["font-size"]*Kt.pdf.internal.scaleFactor,Kt.addText("\u2028",ue(Zt))):$(Ot,Kt,Vt)||se(Ot,Kt,Vt)}}ze++}if(Vt.outY=Kt.y,at)return Kt.setBlockBoundary(gt)},le={},ge=function(Ft,Kt,Vt,Ot){var ur,Zt=Ft.getElementsByTagName("img"),ze=Zt.length,at=0;function Ve(){Kt.pdf.internal.events.publish("imagesLoaded"),Ot(ur)}function Xe(gt,ft,Ge){if(gt){var Mt=new Image;ur=++at,Mt.crossOrigin="",Mt.onerror=Mt.onload=function(){if(Mt.complete&&(Mt.src.indexOf("data:image/")===0&&(Mt.width=ft||Mt.width||0,Mt.height=Ge||Mt.height||0),Mt.width+Mt.height)){var It=Kt.pdf.sHashCode(gt)||gt;le[It]=le[It]||Mt}--at||Ve()},Mt.src=gt}}for(;ze--;)Xe(Zt[ze].getAttribute("src"),Zt[ze].width,Zt[ze].height);return at||Ve()},Ae=function(Ft,Kt,Vt){var Ot=Ft.getElementsByTagName("footer");if(0<Ot.length){Ot=Ot[0];var ur=Kt.pdf.internal.write,Zt=Kt.y;Kt.pdf.internal.write=function(){},se(Ot,Kt,Vt);var ze=Math.ceil(Kt.y-Zt)+5;Kt.y=Zt,Kt.pdf.internal.write=ur,Kt.pdf.margins_doc.bottom+=ze;for(var at=function(ft){var Ge=ft!==void 0?ft.pageNumber:1,Mt=Kt.y;Kt.y=Kt.pdf.internal.pageSize.getHeight()-Kt.pdf.margins_doc.bottom,Kt.pdf.margins_doc.bottom-=ze;for(var It=Ot.getElementsByTagName("span"),rr=0;rr<It.length;++rr)-1<(" "+It[rr].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(It[rr].innerHTML=Ge),-1<(" "+It[rr].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(It[rr].innerHTML="###jsPDFVarTotalPages###");se(Ot,Kt,Vt),Kt.pdf.margins_doc.bottom+=ze,Kt.y=Mt},Ve=Ot.getElementsByTagName("span"),Xe=0;Xe<Ve.length;++Xe)-1<(" "+Ve[Xe].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&Kt.pdf.internal.events.subscribe("htmlRenderingFinished",Kt.pdf.putTotalPages.bind(Kt.pdf,"###jsPDFVarTotalPages###"),!0);Kt.pdf.internal.events.subscribe("addPage",at,!1),at(),kt.FOOTER=1}},Me=function(Ft,Kt,Vt,Ot,ur,Zt){if(!Kt)return!1;var ze,at,Ve,Xe;typeof Kt=="string"||Kt.parentNode||(Kt=""+Kt.innerHTML),typeof Kt=="string"&&(ze=Kt.replace(/<\/?script[^>]*?>/gi,""),Xe="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(Ve=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",Ve.innerHTML='<iframe style="height:1px;width:1px" name="'+Xe+'" />',document.body.appendChild(Ve),(at=window.frames[Xe]).document.open(),at.document.writeln(ze),at.document.close(),Kt=at.document.body);var gt,ft=new At(Ft,Vt,Ot,ur);return ge.call(this,Kt,ft,ur.elementHandlers,function(Ge){Ae(Kt,ft,ur.elementHandlers),se(Kt,ft,ur.elementHandlers),ft.pdf.internal.events.publish("htmlRenderingFinished"),gt=ft.dispose(),typeof Zt=="function"?Zt(gt):Ge&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),gt||{x:ft.x,y:ft.y}},(At=function(Ft,Kt,Vt,Ot){return this.pdf=Ft,this.x=Kt,this.y=Vt,this.settings=Ot,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},At.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},At.prototype.executeWatchFunctions=function(Et){var Ft=!1,Kt=[];if(0<this.watchFunctions.length){for(var Vt=0;Vt<this.watchFunctions.length;++Vt)this.watchFunctions[Vt](Et)===!0?Ft=!0:Kt.push(this.watchFunctions[Vt]);this.watchFunctions=Kt}return Ft},At.prototype.splitFragmentsIntoLines=function(Et,Ft){var Kt,Vt,Ot,ur,Zt,ze,at,Ve,Xe,gt,ft,Ge,Mt,It;for(gt=this.pdf.internal.scaleFactor,ur={},ze=at=Ve=It=Zt=Ot=Xe=Vt=void 0,Ge=[ft=[]],Kt=0,Mt=this.settings.width;Et.length;)if(Zt=Et.shift(),It=Ft.shift(),Zt)if((Ot=ur[(Vt=It["font-family"])+(Xe=It["font-style"])])||(Ot=this.pdf.internal.getFont(Vt,Xe).metadata.Unicode,ur[Vt+Xe]=Ot),Ve={widths:Ot.widths,kerning:Ot.kerning,fontSize:12*It["font-size"],textIndent:Kt},at=this.pdf.getStringUnitWidth(Zt,Ve)*Ve.fontSize/gt,Zt=="\u2028")ft=[],Ge.push(ft);else if(Mt<Kt+at){for(ze=this.pdf.splitTextToSize(Zt,Mt,Ve),ft.push([ze.shift(),It]);ze.length;)ft=[[ze.shift(),It]],Ge.push(ft);Kt=this.pdf.getStringUnitWidth(ft[0][0],Ve)*Ve.fontSize/gt}else ft.push([Zt,It]),Kt+=at;if(It["text-align"]!==void 0&&(It["text-align"]==="center"||It["text-align"]==="right"||It["text-align"]==="justify"))for(var rr=0;rr<Ge.length;++rr){var Ht=this.pdf.getStringUnitWidth(Ge[rr][0][0],Ve)*Ve.fontSize/gt;0<rr&&(Ge[rr][0][1]=ue(Ge[rr][0][1]));var pr=Mt-Ht;if(It["text-align"]==="right")Ge[rr][0][1]["margin-left"]=pr;else if(It["text-align"]==="center")Ge[rr][0][1]["margin-left"]=pr/2;else if(It["text-align"]==="justify"){var Ar=Ge[rr][0][0].split(" ").length-1;Ge[rr][0][1]["word-spacing"]=pr/Ar,rr===Ge.length-1&&(Ge[rr][0][1]["word-spacing"]=0)}}return Ge},At.prototype.RenderTextFragment=function(Et,Ft){var Kt,Vt;Vt=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(Ft.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Vt=Math.max(Vt,Ft["line-height"],Ft["font-size"]),this.pdf.internal.write(0,(-12*Vt).toFixed(2),"Td")),Kt=this.pdf.internal.getFont(Ft["font-family"],Ft["font-style"]);var Ot=this.getPdfColor(Ft.color);Ot!==this.lastTextColor&&(this.pdf.internal.write(Ot),this.lastTextColor=Ot),Ft["word-spacing"]!==void 0&&0<Ft["word-spacing"]&&this.pdf.internal.write(Ft["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+Kt.id,(12*Ft["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(Et)+") Tj"),Ft["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},At.prototype.getPdfColor=function(Et){var Ft,Kt,Vt,Ot=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(Et);if(Ot!=null)Ft=parseInt(Ot[1]),Kt=parseInt(Ot[2]),Vt=parseInt(Ot[3]);else{if(typeof Et=="string"&&Et.charAt(0)!="#"){var ur=new RGBColor(Et);Et=ur.ok?ur.toHex():"#000000"}Ft=Et.substring(1,3),Ft=parseInt(Ft,16),Kt=Et.substring(3,5),Kt=parseInt(Kt,16),Vt=Et.substring(5,7),Vt=parseInt(Vt,16)}if(typeof Ft=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Ft)){var Zt=parseInt(Ft.substr(1),16);Ft=Zt>>16&255,Kt=Zt>>8&255,Vt=255&Zt}var ze=this.f3;return Ft===0&&Kt===0&&Vt===0||Kt===void 0?ze(Ft/255)+" g":[ze(Ft/255),ze(Kt/255),ze(Vt/255),"rg"].join(" ")},At.prototype.f3=function(Et){return Et.toFixed(3)},At.prototype.renderParagraph=function(Et){var Ft,Kt,Vt,Ot,ur,Zt,ze,at,Ve,Xe,gt,ft,Ge;if(Vt=lt(this.paragraph.text),ft=this.paragraph.style,Ft=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:Ft},Vt.join("").trim()){ze=this.splitFragmentsIntoLines(Vt,ft),at=Zt=void 0,Kt=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,gt=(Math.max((Ft["margin-top"]||0)-this.priorMarginBottom,0)+(Ft["padding-top"]||0))*Kt,Xe=((Ft["margin-bottom"]||0)+(Ft["padding-bottom"]||0))*Kt,this.priorMarginBottom=Ft["margin-bottom"]||0,Ft["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,gt=((Ft["margin-top"]||0)+(Ft["padding-top"]||0))*Kt),Ve=this.pdf.internal.write,ur=Ot=void 0,this.y+=gt,Ve("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var Mt=0;ze.length;){for(Ot=at=0,ur=(Zt=ze.shift()).length;Ot!==ur;)Zt[Ot][0].trim()&&(at=Math.max(at,Zt[Ot][1]["line-height"],Zt[Ot][1]["font-size"]),Ge=7*Zt[Ot][1]["font-size"]),Ot++;var It=0,rr=0;for(Zt[0][1]["margin-left"]!==void 0&&0<Zt[0][1]["margin-left"]&&(It=(rr=this.pdf.internal.getCoordinateString(Zt[0][1]["margin-left"]))-Mt,Mt=rr),Ve(It+Math.max(Ft["margin-left"]||0,0)*Kt,(-12*at).toFixed(2),"Td"),Ot=0,ur=Zt.length;Ot!==ur;)Zt[Ot][0]&&this.RenderTextFragment(Zt[Ot][0],Zt[Ot][1]),Ot++;if(this.y+=at*Kt,this.executeWatchFunctions(Zt[0][1])&&0<ze.length){var Ht=[],pr=[];ze.forEach(function(Ar){for(var Nr=0,Fr=Ar.length;Nr!==Fr;)Ar[Nr][0]&&(Ht.push(Ar[Nr][0]+" "),pr.push(Ar[Nr][1])),++Nr}),ze=this.splitFragmentsIntoLines(lt(Ht),pr),Ve("ET","Q"),Ve("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return Et&&typeof Et=="function"&&Et.call(this,this.x-9,this.y-Ge/2),Ve("ET","Q"),this.y+=Xe}},At.prototype.setBlockBoundary=function(Et){return this.renderParagraph(Et)},At.prototype.setBlockStyle=function(Et){return this.paragraph.blockstyle=Et},At.prototype.addText=function(Et,Ft){return this.paragraph.text.push(Et),this.paragraph.style.push(Ft)},ae={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},Oe={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},ye={normal:"normal",italic:"italic",oblique:"italic"},Ce={left:"left",right:"right",center:"center",justify:"justify"},Te={none:"none",right:"right",left:"left"},xe={none:"none",both:"both"},z={normal:1},de.fromHTML=function(Et,Ft,Kt,Vt,Ot,ur){return this.margins_doc=ur||{top:0,bottom:0},Vt||(Vt={}),Vt.elementHandlers||(Vt.elementHandlers={}),Me(this,Et,isNaN(Ft)?4:Ft,isNaN(Kt)?4:Kt,Vt,Ot)}}(Bt.API),Bt.API,(typeof window!="undefined"&&window||typeof d!="undefined"&&d).html2pdf=function(de,ue,se){var ae=ue.canvas;if(ae){var ye,Ce;if((ae.pdf=ue).annotations={_nameMap:[],createAnnotation:function(At,ee){var ie,z=ue.context2d._wrapX(ee.left),$=ue.context2d._wrapY(ee.top),le=(ue.context2d._page(ee.top),At.indexOf("#"));ie=0<=le?{name:At.substring(le+1)}:{url:At},ue.link(z,$,ee.right-ee.left,ee.bottom-ee.top,ie)},setName:function(At,ee){var ie=ue.context2d._wrapX(ee.left),z=ue.context2d._wrapY(ee.top),$=ue.context2d._page(ee.top);this._nameMap[At]={page:$,x:ie,y:z}}},ae.annotations=ue.annotations,ue.context2d._pageBreakAt=function(lt){this.pageBreaks.push(lt)},ue.context2d._gotoPage=function(lt){for(;ue.internal.getNumberOfPages()<lt;)ue.addPage();ue.setPage(lt)},typeof de=="string"){de=de.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var Oe,Te,xe=document.createElement("iframe");document.body.appendChild(xe),(Oe=xe.contentDocument)!=null&&Oe!=null||(Oe=xe.contentWindow.document),Oe.open(),Oe.write(de),Oe.close(),ye=Oe.body,Te=Oe.body||{},de=Oe.documentElement||{},Ce=Math.max(Te.scrollHeight,Te.offsetHeight,de.clientHeight,de.scrollHeight,de.offsetHeight)}else Te=(ye=de).body||{},Ce=Math.max(Te.scrollHeight,Te.offsetHeight,de.clientHeight,de.scrollHeight,de.offsetHeight);var ke={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:ae,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:Ce=ue.internal.pageSize.getHeight(),scrollY:Ce};ue.context2d.pageWrapYEnabled=!0,ue.context2d.pageWrapY=ue.internal.pageSize.getHeight(),html2canvas(ye,ke).then(function(lt){se&&(xe&&xe.parentElement.removeChild(xe),se(ue))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(de){var ue=de.BlobBuilder||de.WebKitBlobBuilder||de.MSBlobBuilder||de.MozBlobBuilder;de.URL=de.URL||de.webkitURL||function(z,$){return($=document.createElement("a")).href=z,$};var se=de.Blob,ae=URL.createObjectURL,ye=URL.revokeObjectURL,Ce=de.Symbol&&de.Symbol.toStringTag,Oe=!1,Te=!1,xe=!!de.ArrayBuffer,ke=ue&&ue.prototype.append&&ue.prototype.getBlob;try{Oe=new Blob(["\xE4"]).size===2,Te=new Blob([new Uint8Array([1,2])]).size===2}catch(z){}function lt(z){return z.map(function($){if($.buffer instanceof ArrayBuffer){var le=$.buffer;if($.byteLength!==le.byteLength){var ge=new Uint8Array($.byteLength);ge.set(new Uint8Array(le,$.byteOffset,$.byteLength)),le=ge.buffer}return le}return $})}function At(z,$){$=$||{};var le=new ue;return lt(z).forEach(function(ge){le.append(ge)}),$.type?le.getBlob($.type):le.getBlob()}function ee(z,$){return new se(lt(z),$||{})}if(de.Blob&&(At.prototype=Blob.prototype,ee.prototype=Blob.prototype),Ce)try{File.prototype[Ce]="File",Blob.prototype[Ce]="Blob",FileReader.prototype[Ce]="FileReader"}catch(z){}function ie(){var z=!!de.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,$=de.XMLHttpRequest&&de.XMLHttpRequest.prototype.send;z&&$&&(XMLHttpRequest.prototype.send=function(ge){ge instanceof Blob&&this.setRequestHeader("Content-Type",ge.type),$.call(this,ge)});try{new File([],"")}catch(ge){try{var le=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();de.File=le}catch(Ae){le=function(Ze,kt,Jt){var Et=new Blob(Ze,Jt),Ft=Jt&&Jt.lastModified!==void 0?new Date(Jt.lastModified):new Date;return Et.name=kt,Et.lastModifiedDate=Ft,Et.lastModified=+Ft,Et.toString=function(){return"[object File]"},Ce&&(Et[Ce]="File"),Et},de.File=le}}}Oe?(ie(),de.Blob=Te?de.Blob:ee):ke?(ie(),de.Blob=At):function(){function z(Vt){for(var Ot=[],ur=0;ur<Vt.length;ur++){var Zt=Vt.charCodeAt(ur);Zt<128?Ot.push(Zt):Zt<2048?Ot.push(192|Zt>>6,128|63&Zt):Zt<55296||57344<=Zt?Ot.push(224|Zt>>12,128|Zt>>6&63,128|63&Zt):(ur++,Zt=65536+((1023&Zt)<<10|1023&Vt.charCodeAt(ur)),Ot.push(240|Zt>>18,128|Zt>>12&63,128|Zt>>6&63,128|63&Zt))}return Ot}function $(Vt){var Ot,ur,Zt,ze,at,Ve;for(Ot="",Zt=Vt.length,ur=0;ur<Zt;)switch((ze=Vt[ur++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:Ot+=String.fromCharCode(ze);break;case 12:case 13:at=Vt[ur++],Ot+=String.fromCharCode((31&ze)<<6|63&at);break;case 14:at=Vt[ur++],Ve=Vt[ur++],Ot+=String.fromCharCode((15&ze)<<12|(63&at)<<6|(63&Ve)<<0)}return Ot}function le(Vt){for(var Ot=new Array(Vt.byteLength),ur=new Uint8Array(Vt),Zt=Ot.length;Zt--;)Ot[Zt]=ur[Zt];return Ot}function ge(Vt){for(var Ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",ur=[],Zt=0;Zt<Vt.length;Zt+=3){var ze=Vt[Zt],at=Zt+1<Vt.length,Ve=at?Vt[Zt+1]:0,Xe=Zt+2<Vt.length,gt=Xe?Vt[Zt+2]:0,ft=ze>>2,Ge=(3&ze)<<4|Ve>>4,Mt=(15&Ve)<<2|gt>>6,It=63>Xe||(It=64,at||(Mt=64)),ur.push(Ot[ft],Ot[Ge],Ot[Mt],Ot[It])}return ur.join("")}var Ae=Object.create||function(Vt){function Ot(){}return Ot.prototype=Vt,new Ot};if(xe)var Me=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Ze=ArrayBuffer.isView||function(Vt){return Vt&&-1<Me.indexOf(Object.prototype.toString.call(Vt))};function kt(Vt,Ot){for(var ur=0,Zt=(Vt=Vt||[]).length;ur<Zt;ur++){var ze=Vt[ur];ze instanceof kt?Vt[ur]=ze._buffer:typeof ze=="string"?Vt[ur]=z(ze):xe&&(ArrayBuffer.prototype.isPrototypeOf(ze)||Ze(ze))?Vt[ur]=le(ze):xe&&(at=ze)&&DataView.prototype.isPrototypeOf(at)?Vt[ur]=le(ze.buffer):Vt[ur]=z(String(ze))}var at;this._buffer=[].concat.apply([],Vt),this.size=this._buffer.length,this.type=Ot&&Ot.type||""}function Jt(Vt,Ot,ur){var Zt=kt.call(this,Vt,ur=ur||{})||this;return Zt.name=Ot,Zt.lastModifiedDate=ur.lastModified?new Date(ur.lastModified):new Date,Zt.lastModified=+Zt.lastModifiedDate,Zt}if(kt.prototype.slice=function(Vt,Ot,ur){return new kt([this._buffer.slice(Vt||0,Ot||this._buffer.length)],{type:ur})},kt.prototype.toString=function(){return"[object Blob]"},(Jt.prototype=Ae(kt.prototype)).constructor=Jt,Object.setPrototypeOf)Object.setPrototypeOf(Jt,kt);else try{Jt.__proto__=kt}catch(Vt){}function Et(){if(!(this instanceof Et))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var Vt=document.createDocumentFragment();this.addEventListener=Vt.addEventListener,this.dispatchEvent=function(Ot){var ur=this["on"+Ot.type];typeof ur=="function"&&ur(Ot),Vt.dispatchEvent(Ot)},this.removeEventListener=Vt.removeEventListener}function Ft(Vt,Ot,ur){if(!(Ot instanceof kt))throw new TypeError("Failed to execute '"+ur+"' on 'FileReader': parameter 1 is not of type 'Blob'.");Vt.result="",setTimeout(function(){this.readyState=Et.LOADING,Vt.dispatchEvent(new Event("load")),Vt.dispatchEvent(new Event("loadend"))})}Jt.prototype.toString=function(){return"[object File]"},Et.EMPTY=0,Et.LOADING=1,Et.DONE=2,Et.prototype.error=null,Et.prototype.onabort=null,Et.prototype.onerror=null,Et.prototype.onload=null,Et.prototype.onloadend=null,Et.prototype.onloadstart=null,Et.prototype.onprogress=null,Et.prototype.readAsDataURL=function(Vt){Ft(this,Vt,"readAsDataURL"),this.result="data:"+Vt.type+";base64,"+ge(Vt._buffer)},Et.prototype.readAsText=function(Vt){Ft(this,Vt,"readAsText"),this.result=$(Vt._buffer)},Et.prototype.readAsArrayBuffer=function(Vt){Ft(this,Vt,"readAsText"),this.result=Vt._buffer.slice()},Et.prototype.abort=function(){},URL.createObjectURL=function(Vt){return Vt instanceof kt?"data:"+Vt.type+";base64,"+ge(Vt._buffer):ae.call(URL,Vt)},URL.revokeObjectURL=function(Vt){ye&&ye.call(URL,Vt)};var Kt=de.XMLHttpRequest&&de.XMLHttpRequest.prototype.send;Kt&&(XMLHttpRequest.prototype.send=function(Vt){Vt instanceof kt?(this.setRequestHeader("Content-Type",Vt.type),Kt.call(this,$(Vt._buffer))):Kt.call(this,Vt)}),de.FileReader=Et,de.File=Jt,de.Blob=kt}()}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")());var _t,Ue,zt,xt,Pt,Ke,Ye,$e,ut,et,oe,me,it,Be,ht,Mr=Mr||function(de){if(!(de===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var ue=de.document,se=function(){return de.URL||de.webkitURL||de},ae=ue.createElementNS("http://www.w3.org/1999/xhtml","a"),ye="download"in ae,Ce=/constructor/i.test(de.HTMLElement)||de.safari,Oe=/CriOS\/[\d]+/.test(navigator.userAgent),Te=de.setImmediate||de.setTimeout,xe=function(z){Te(function(){throw z},0)},ke=function(z){setTimeout(function(){typeof z=="string"?se().revokeObjectURL(z):z.remove()},4e4)},lt=function(z){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(z.type)?new Blob([String.fromCharCode(65279),z],{type:z.type}):z},At=function(z,$,le){le||(z=lt(z));var ge,Ae=this,Me=z.type==="application/octet-stream",Ze=function(){!function(Jt,Et,Ft){for(var Kt=(Et=[].concat(Et)).length;Kt--;){var Vt=Jt["on"+Et[Kt]];if(typeof Vt=="function")try{Vt.call(Jt,Ft||Jt)}catch(Ot){xe(Ot)}}}(Ae,"writestart progress write writeend".split(" "))};if(Ae.readyState=Ae.INIT,ye)return ge=se().createObjectURL(z),void Te(function(){var kt,Jt;ae.href=ge,ae.download=$,kt=ae,Jt=new MouseEvent("click"),kt.dispatchEvent(Jt),Ze(),ke(ge),Ae.readyState=Ae.DONE},0);!function(){if((Oe||Me&&Ce)&&de.FileReader){var kt=new FileReader;return kt.onloadend=function(){var Jt=Oe?kt.result:kt.result.replace(/^data:[^;]*;/,"data:attachment/file;");de.open(Jt,"_blank")||(de.location.href=Jt),Jt=void 0,Ae.readyState=Ae.DONE,Ze()},kt.readAsDataURL(z),Ae.readyState=Ae.INIT}ge||(ge=se().createObjectURL(z)),Me?de.location.href=ge:de.open(ge,"_blank")||(de.location.href=ge),Ae.readyState=Ae.DONE,Ze(),ke(ge)}()},ee=At.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(ie,z,$){return z=z||ie.name||"download",$||(ie=lt(ie)),navigator.msSaveOrOpenBlob(ie,z)}:(ee.abort=function(){},ee.readyState=ee.INIT=0,ee.WRITING=1,ee.DONE=2,ee.error=ee.onwritestart=ee.onprogress=ee.onwrite=ee.onabort=ee.onerror=ee.onwriteend=null,function(ie,z,$){return new At(ie,z||ie.name||"download",$)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||void 0);function Lt(de){var ue=0;if(de[ue++]!==71||de[ue++]!==73||de[ue++]!==70||de[ue++]!==56||(de[ue++]+1&253)!=56||de[ue++]!==97)throw"Invalid GIF 87a/89a header.";var se=de[ue++]|de[ue++]<<8,ae=de[ue++]|de[ue++]<<8,ye=de[ue++],Ce=ye>>7,Oe=1<<(7&ye)+1;de[ue++],de[ue++];var Te=null;Ce&&(Te=ue,ue+=3*Oe);var xe=!0,ke=[],lt=0,At=null,ee=0,ie=null;for(this.width=se,this.height=ae;xe&&ue<de.length;)switch(de[ue++]){case 33:switch(de[ue++]){case 255:if(de[ue]!==11||de[ue+1]==78&&de[ue+2]==69&&de[ue+3]==84&&de[ue+4]==83&&de[ue+5]==67&&de[ue+6]==65&&de[ue+7]==80&&de[ue+8]==69&&de[ue+9]==50&&de[ue+10]==46&&de[ue+11]==48&&de[ue+12]==3&&de[ue+13]==1&&de[ue+16]==0)ue+=14,ie=de[ue++]|de[ue++]<<8,ue++;else for(ue+=12;!((Ft=de[ue++])===0);)ue+=Ft;break;case 249:if(de[ue++]!==4||de[ue+4]!==0)throw"Invalid graphics extension block.";var z=de[ue++];lt=de[ue++]|de[ue++]<<8,At=de[ue++],(1&z)==0&&(At=null),ee=z>>2&7,ue++;break;case 254:for(;!((Ft=de[ue++])===0);)ue+=Ft;break;default:throw"Unknown graphic control label: 0x"+de[ue-1].toString(16)}break;case 44:var $=de[ue++]|de[ue++]<<8,le=de[ue++]|de[ue++]<<8,ge=de[ue++]|de[ue++]<<8,Ae=de[ue++]|de[ue++]<<8,Me=de[ue++],Ze=Me>>6&1,kt=Te,Jt=!1;Me>>7&&(Jt=!0,kt=ue,ue+=3*(1<<(7&Me)+1));var Et=ue;for(ue++;;){var Ft;if((Ft=de[ue++])===0)break;ue+=Ft}ke.push({x:$,y:le,width:ge,height:Ae,has_local_palette:Jt,palette_offset:kt,data_offset:Et,data_length:ue-Et,transparent_index:At,interlaced:!!Ze,delay:lt,disposal:ee});break;case 59:xe=!1;break;default:throw"Unknown gif block: 0x"+de[ue-1].toString(16)}this.numFrames=function(){return ke.length},this.loopCount=function(){return ie},this.frameInfo=function(Kt){if(Kt<0||Kt>=ke.length)throw"Frame index out of range.";return ke[Kt]},this.decodeAndBlitFrameBGRA=function(Kt,Vt){var Ot=this.frameInfo(Kt),ur=Ot.width*Ot.height,Zt=new Uint8Array(ur);or(de,Ot.data_offset,Zt,ur);var ze=Ot.palette_offset,at=Ot.transparent_index;at===null&&(at=256);var Ve=Ot.width,Xe=se-Ve,gt=Ve,ft=4*(Ot.y*se+Ot.x),Ge=4*((Ot.y+Ot.height)*se+Ot.x),Mt=ft,It=4*Xe;Ot.interlaced===!0&&(It+=4*(Ve+Xe)*7);for(var rr=8,Ht=0,pr=Zt.length;Ht<pr;++Ht){var Ar=Zt[Ht];if(gt===0&&(gt=Ve,Ge<=(Mt+=It)&&(It=Xe+4*(Ve+Xe)*(rr-1),Mt=ft+(Ve+Xe)*(rr<<1),rr>>=1)),Ar===at)Mt+=4;else{var Nr=de[ze+3*Ar],Fr=de[ze+3*Ar+1],tn=de[ze+3*Ar+2];Vt[Mt++]=tn,Vt[Mt++]=Fr,Vt[Mt++]=Nr,Vt[Mt++]=255}--gt}},this.decodeAndBlitFrameRGBA=function(Kt,Vt){var Ot=this.frameInfo(Kt),ur=Ot.width*Ot.height,Zt=new Uint8Array(ur);or(de,Ot.data_offset,Zt,ur);var ze=Ot.palette_offset,at=Ot.transparent_index;at===null&&(at=256);var Ve=Ot.width,Xe=se-Ve,gt=Ve,ft=4*(Ot.y*se+Ot.x),Ge=4*((Ot.y+Ot.height)*se+Ot.x),Mt=ft,It=4*Xe;Ot.interlaced===!0&&(It+=4*(Ve+Xe)*7);for(var rr=8,Ht=0,pr=Zt.length;Ht<pr;++Ht){var Ar=Zt[Ht];if(gt===0&&(gt=Ve,Ge<=(Mt+=It)&&(It=Xe+4*(Ve+Xe)*(rr-1),Mt=ft+(Ve+Xe)*(rr<<1),rr>>=1)),Ar===at)Mt+=4;else{var Nr=de[ze+3*Ar],Fr=de[ze+3*Ar+1],tn=de[ze+3*Ar+2];Vt[Mt++]=Nr,Vt[Mt++]=Fr,Vt[Mt++]=tn,Vt[Mt++]=255}--gt}}}function or(de,ue,se,ae){for(var ye=de[ue++],Ce=1<<ye,Oe=Ce+1,Te=Oe+1,xe=ye+1,ke=(1<<xe)-1,lt=0,At=0,ee=0,ie=de[ue++],z=new Int32Array(4096),$=null;;){for(;lt<16&&ie!==0;)At|=de[ue++]<<lt,lt+=8,ie===1?ie=de[ue++]:--ie;if(lt<xe)break;var le=At&ke;if(At>>=xe,lt-=xe,le!==Ce){if(le===Oe)break;for(var ge=le<Te?le:$,Ae=0,Me=ge;Ce<Me;)Me=z[Me]>>8,++Ae;var Ze=Me;if(ae<ee+Ae+(ge!==le?1:0))return void console.log("Warning, gif stream longer than expected.");se[ee++]=Ze;var kt=ee+=Ae;for(ge!==le&&(se[ee++]=Ze),Me=ge;Ae--;)Me=z[Me],se[--kt]=255&Me,Me>>=8;$!==null&&Te<4096&&(z[Te++]=$<<8|Ze,ke+1<=Te&&xe<12&&(++xe,ke=ke<<1|1)),$=le}else Te=Oe+1,ke=(1<<(xe=ye+1))-1,$=null}return ee!==ae&&console.log("Warning, gif stream shorter than expected."),se}try{B.GifWriter=function(de,ue,se,ae){var ye=0,Ce=(ae=ae===void 0?{}:ae).loop===void 0?null:ae.loop,Oe=ae.palette===void 0?null:ae.palette;if(ue<=0||se<=0||65535<ue||65535<se)throw"Width/Height invalid.";function Te($){var le=$.length;if(le<2||256<le||le&le-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return le}de[ye++]=71,de[ye++]=73,de[ye++]=70,de[ye++]=56,de[ye++]=57,de[ye++]=97;var xe=0,ke=0;if(Oe!==null){for(var lt=Te(Oe);lt>>=1;)++xe;if(lt=1<<xe,--xe,ae.background!==void 0){if(lt<=(ke=ae.background))throw"Background index out of range.";if(ke===0)throw"Background index explicitly passed as 0."}}if(de[ye++]=255&ue,de[ye++]=ue>>8&255,de[ye++]=255&se,de[ye++]=se>>8&255,de[ye++]=(Oe!==null?128:0)|xe,de[ye++]=ke,de[ye++]=0,Oe!==null)for(var At=0,ee=Oe.length;At<ee;++At){var ie=Oe[At];de[ye++]=ie>>16&255,de[ye++]=ie>>8&255,de[ye++]=255&ie}if(Ce!==null){if(Ce<0||65535<Ce)throw"Loop count invalid.";de[ye++]=33,de[ye++]=255,de[ye++]=11,de[ye++]=78,de[ye++]=69,de[ye++]=84,de[ye++]=83,de[ye++]=67,de[ye++]=65,de[ye++]=80,de[ye++]=69,de[ye++]=50,de[ye++]=46,de[ye++]=48,de[ye++]=3,de[ye++]=1,de[ye++]=255&Ce,de[ye++]=Ce>>8&255,de[ye++]=0}var z=!1;this.addFrame=function($,le,ge,Ae,Me,Ze){if(z===!0&&(--ye,z=!1),Ze=Ze===void 0?{}:Ze,$<0||le<0||65535<$||65535<le)throw"x/y invalid.";if(ge<=0||Ae<=0||65535<ge||65535<Ae)throw"Width/Height invalid.";if(Me.length<ge*Ae)throw"Not enough pixels for the frame size.";var kt=!0,Jt=Ze.palette;if(Jt==null&&(kt=!1,Jt=Oe),Jt==null)throw"Must supply either a local or global palette.";for(var Et=Te(Jt),Ft=0;Et>>=1;)++Ft;Et=1<<Ft;var Kt=Ze.delay===void 0?0:Ze.delay,Vt=Ze.disposal===void 0?0:Ze.disposal;if(Vt<0||3<Vt)throw"Disposal out of range.";var Ot=!1,ur=0;if(Ze.transparent!==void 0&&Ze.transparent!==null&&(Ot=!0,(ur=Ze.transparent)<0||Et<=ur))throw"Transparent color index.";if((Vt!==0||Ot||Kt!==0)&&(de[ye++]=33,de[ye++]=249,de[ye++]=4,de[ye++]=Vt<<2|(Ot===!0?1:0),de[ye++]=255&Kt,de[ye++]=Kt>>8&255,de[ye++]=ur,de[ye++]=0),de[ye++]=44,de[ye++]=255&$,de[ye++]=$>>8&255,de[ye++]=255&le,de[ye++]=le>>8&255,de[ye++]=255&ge,de[ye++]=ge>>8&255,de[ye++]=255&Ae,de[ye++]=Ae>>8&255,de[ye++]=kt===!0?128|Ft-1:0,kt===!0)for(var Zt=0,ze=Jt.length;Zt<ze;++Zt){var at=Jt[Zt];de[ye++]=at>>16&255,de[ye++]=at>>8&255,de[ye++]=255&at}ye=function(Ve,Xe,gt,ft){Ve[Xe++]=gt;var Ge=Xe++,Mt=1<<gt,It=Mt-1,rr=Mt+1,Ht=rr+1,pr=gt+1,Ar=0,Nr=0;function Fr(dr){for(;dr<=Ar;)Ve[Xe++]=255&Nr,Nr>>=8,Ar-=8,Xe===Ge+256&&(Ve[Ge]=255,Ge=Xe++)}function tn(dr){Nr|=dr<<Ar,Ar+=pr,Fr(8)}var Jr=ft[0]&It,Lr={};tn(Mt);for(var Xr=1,Tr=ft.length;Xr<Tr;++Xr){var lr=ft[Xr]&It,fr=Jr<<8|lr,sr=Lr[fr];if(sr===void 0){for(Nr|=Jr<<Ar,Ar+=pr;8<=Ar;)Ve[Xe++]=255&Nr,Nr>>=8,Ar-=8,Xe===Ge+256&&(Ve[Ge]=255,Ge=Xe++);Ht===4096?(tn(Mt),Ht=rr+1,pr=gt+1,Lr={}):(1<<pr<=Ht&&++pr,Lr[fr]=Ht++),Jr=lr}else Jr=sr}return tn(Jr),tn(rr),Fr(1),Ge+1===Xe?Ve[Ge]=0:(Ve[Ge]=Xe-Ge-1,Ve[Xe++]=0),Xe}(de,ye,Ft<2?2:Ft,Me)},this.end=function(){return z===!1&&(de[ye++]=59,z=!0),ye}},B.GifReader=Lt}catch(de){}function Qt(de){var ue,se,ae,ye,Ce,Oe=Math.floor,Te=new Array(64),xe=new Array(64),ke=new Array(64),lt=new Array(64),At=new Array(65535),ee=new Array(65535),ie=new Array(64),z=new Array(64),$=[],le=0,ge=7,Ae=new Array(64),Me=new Array(64),Ze=new Array(64),kt=new Array(256),Jt=new Array(2048),Et=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ft=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Kt=[0,1,2,3,4,5,6,7,8,9,10,11],Vt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Ot=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],ur=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Zt=[0,1,2,3,4,5,6,7,8,9,10,11],ze=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],at=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Ve(It,rr){for(var Ht=0,pr=0,Ar=new Array,Nr=1;Nr<=16;Nr++){for(var Fr=1;Fr<=It[Nr];Fr++)Ar[rr[pr]]=[],Ar[rr[pr]][0]=Ht,Ar[rr[pr]][1]=Nr,pr++,Ht++;Ht*=2}return Ar}function Xe(It){for(var rr=It[0],Ht=It[1]-1;0<=Ht;)rr&1<<Ht&&(le|=1<<ge),Ht--,--ge<0&&(le==255?(gt(255),gt(0)):gt(le),ge=7,le=0)}function gt(It){$.push(It)}function ft(It){gt(It>>8&255),gt(255&It)}function Ge(It,rr,Ht,pr,Ar){for(var Nr,Fr=Ar[0],tn=Ar[240],Jr=function(Qr,cn){var Dn,jr,Ln,gn,Un,Wn,Jn,Qn,Vn,yn,on=0;for(Vn=0;Vn<8;++Vn){Dn=Qr[on],jr=Qr[on+1],Ln=Qr[on+2],gn=Qr[on+3],Un=Qr[on+4],Wn=Qr[on+5],Jn=Qr[on+6];var ia=Dn+(Qn=Qr[on+7]),xa=Dn-Qn,ta=jr+Jn,Ni=jr-Jn,Ci=Ln+Wn,Gn=Ln-Wn,Ia=gn+Un,mn=gn-Un,In=ia+Ia,On=ia-Ia,Nn=ta+Ci,jn=ta-Ci;Qr[on]=In+Nn,Qr[on+4]=In-Nn;var ni=.707106781*(jn+On);Qr[on+2]=On+ni,Qr[on+6]=On-ni;var di=.382683433*((In=mn+Gn)-(jn=Ni+xa)),Da=.5411961*In+di,Xi=1.306562965*jn+di,ma=.707106781*(Nn=Gn+Ni),ka=xa+ma,Xa=xa-ma;Qr[on+5]=Xa+Da,Qr[on+3]=Xa-Da,Qr[on+1]=ka+Xi,Qr[on+7]=ka-Xi,on+=8}for(Vn=on=0;Vn<8;++Vn){Dn=Qr[on],jr=Qr[on+8],Ln=Qr[on+16],gn=Qr[on+24],Un=Qr[on+32],Wn=Qr[on+40],Jn=Qr[on+48];var Ki=Dn+(Qn=Qr[on+56]),Co=Dn-Qn,aa=jr+Jn,Hi=jr-Jn,ga=Ln+Wn,ha=Ln-Wn,mo=gn+Un,Pn=gn-Un,qi=Ki+mo,eo=Ki-mo,Lo=aa+ga,co=aa-ga;Qr[on]=qi+Lo,Qr[on+32]=qi-Lo;var er=.707106781*(co+eo);Qr[on+16]=eo+er,Qr[on+48]=eo-er;var Cr=.382683433*((qi=Pn+ha)-(co=Hi+Co)),Ur=.5411961*qi+Cr,Kr=1.306562965*co+Cr,hn=.707106781*(Lo=ha+Hi),Fe=Co+hn,Rt=Co-hn;Qr[on+40]=Rt+Ur,Qr[on+24]=Rt-Ur,Qr[on+8]=Fe+Kr,Qr[on+56]=Fe-Kr,on++}for(Vn=0;Vn<64;++Vn)yn=Qr[Vn]*cn[Vn],ie[Vn]=0<yn?yn+.5|0:yn-.5|0;return ie}(It,rr),Lr=0;Lr<64;++Lr)z[Et[Lr]]=Jr[Lr];var Xr=z[0]-Ht;Ht=z[0],Xr==0?Xe(pr[0]):(Xe(pr[ee[Nr=32767+Xr]]),Xe(At[Nr]));for(var Tr=63;0<Tr&&z[Tr]==0;Tr--);if(Tr==0)return Xe(Fr),Ht;for(var lr,fr=1;fr<=Tr;){for(var sr=fr;z[fr]==0&&fr<=Tr;++fr);var dr=fr-sr;if(16<=dr){lr=dr>>4;for(var Sr=1;Sr<=lr;++Sr)Xe(tn);dr&=15}Nr=32767+z[fr],Xe(Ar[(dr<<4)+ee[Nr]]),Xe(At[Nr]),fr++}return Tr!=63&&Xe(Fr),Ht}function Mt(It){(It<=0&&(It=1),100<It&&(It=100),Ce!=It)&&(function(rr){for(var Ht=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],pr=0;pr<64;pr++){var Ar=Oe((Ht[pr]*rr+50)/100);Ar<1?Ar=1:255<Ar&&(Ar=255),Te[Et[pr]]=Ar}for(var Nr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Fr=0;Fr<64;Fr++){var tn=Oe((Nr[Fr]*rr+50)/100);tn<1?tn=1:255<tn&&(tn=255),xe[Et[Fr]]=tn}for(var Jr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Lr=0,Xr=0;Xr<8;Xr++)for(var Tr=0;Tr<8;Tr++)ke[Lr]=1/(Te[Et[Lr]]*Jr[Xr]*Jr[Tr]*8),lt[Lr]=1/(xe[Et[Lr]]*Jr[Xr]*Jr[Tr]*8),Lr++}(It<50?Math.floor(5e3/It):Math.floor(200-2*It)),Ce=It)}this.encode=function(It,rr){var Ht,pr;new Date().getTime(),rr&&Mt(rr),$=new Array,le=0,ge=7,ft(65496),ft(65504),ft(16),gt(74),gt(70),gt(73),gt(70),gt(0),gt(1),gt(1),gt(0),ft(1),ft(1),gt(0),gt(0),function(){ft(65499),ft(132),gt(0);for(var gn=0;gn<64;gn++)gt(Te[gn]);gt(1);for(var Un=0;Un<64;Un++)gt(xe[Un])}(),Ht=It.width,pr=It.height,ft(65472),ft(17),gt(8),ft(pr),ft(Ht),gt(3),gt(1),gt(17),gt(0),gt(2),gt(17),gt(1),gt(3),gt(17),gt(1),function(){ft(65476),ft(418),gt(0);for(var gn=0;gn<16;gn++)gt(Ft[gn+1]);for(var Un=0;Un<=11;Un++)gt(Kt[Un]);gt(16);for(var Wn=0;Wn<16;Wn++)gt(Vt[Wn+1]);for(var Jn=0;Jn<=161;Jn++)gt(Ot[Jn]);gt(1);for(var Qn=0;Qn<16;Qn++)gt(ur[Qn+1]);for(var Vn=0;Vn<=11;Vn++)gt(Zt[Vn]);gt(17);for(var yn=0;yn<16;yn++)gt(ze[yn+1]);for(var on=0;on<=161;on++)gt(at[on])}(),ft(65498),ft(12),gt(3),gt(1),gt(0),gt(2),gt(17),gt(3),gt(17),gt(0),gt(63),gt(0);var Ar=0,Nr=0,Fr=0;le=0,ge=7,this.encode.displayName="_encode_";for(var tn,Jr,Lr,Xr,Tr,lr,fr,sr,dr,Sr=It.data,Qr=It.width,cn=It.height,Dn=4*Qr,jr=0;jr<cn;){for(tn=0;tn<Dn;){for(lr=Tr=Dn*jr+tn,fr=-1,dr=sr=0;dr<64;dr++)lr=Tr+(sr=dr>>3)*Dn+(fr=4*(7&dr)),cn<=jr+sr&&(lr-=Dn*(jr+1+sr-cn)),Dn<=tn+fr&&(lr-=tn+fr-Dn+4),Jr=Sr[lr++],Lr=Sr[lr++],Xr=Sr[lr++],Ae[dr]=(Jt[Jr]+Jt[Lr+256>>0]+Jt[Xr+512>>0]>>16)-128,Me[dr]=(Jt[Jr+768>>0]+Jt[Lr+1024>>0]+Jt[Xr+1280>>0]>>16)-128,Ze[dr]=(Jt[Jr+1280>>0]+Jt[Lr+1536>>0]+Jt[Xr+1792>>0]>>16)-128;Ar=Ge(Ae,ke,Ar,ue,ae),Nr=Ge(Me,lt,Nr,se,ye),Fr=Ge(Ze,lt,Fr,se,ye),tn+=32}jr+=8}if(0<=ge){var Ln=[];Ln[1]=ge+1,Ln[0]=(1<<ge+1)-1,Xe(Ln)}return ft(65497),new Uint8Array($)},function(){new Date().getTime(),de||(de=50),function(){for(var It=String.fromCharCode,rr=0;rr<256;rr++)kt[rr]=It(rr)}(),ue=Ve(Ft,Kt),se=Ve(ur,Zt),ae=Ve(Vt,Ot),ye=Ve(ze,at),function(){for(var It=1,rr=2,Ht=1;Ht<=15;Ht++){for(var pr=It;pr<rr;pr++)ee[32767+pr]=Ht,At[32767+pr]=[],At[32767+pr][1]=Ht,At[32767+pr][0]=pr;for(var Ar=-(rr-1);Ar<=-It;Ar++)ee[32767+Ar]=Ht,At[32767+Ar]=[],At[32767+Ar][1]=Ht,At[32767+Ar][0]=rr-1+Ar;It<<=1,rr<<=1}}(),function(){for(var It=0;It<256;It++)Jt[It]=19595*It,Jt[It+256>>0]=38470*It,Jt[It+512>>0]=7471*It+32768,Jt[It+768>>0]=-11059*It,Jt[It+1024>>0]=-21709*It,Jt[It+1280>>0]=32768*It+8421375,Jt[It+1536>>0]=-27439*It,Jt[It+1792>>0]=-5329*It}(),Mt(de),new Date().getTime()}()}function qt(de,ue){if(this.pos=0,this.buffer=de,this.datav=new DataView(de.buffer),this.is_with_alpha=!!ue,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}window.tmp=Lt,Bt.API.adler32cs=(Ke=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",Ye=null,$e=function(){if(!Ke)return function(){return!1};try{var de={};typeof de.Buffer=="function"&&(Ye=de.Buffer)}catch(ue){}return function(ue){return ue instanceof ArrayBuffer||Ye!==null&&ue instanceof Ye}}(),ut=Ye!==null?function(de){return new Ye(de,"utf8").toString("binary")}:function(de){return unescape(encodeURIComponent(de))},et=function(ue,se){for(var ae=65535&ue,ye=ue>>>16,Ce=0,Oe=se.length;Ce<Oe;Ce++)ae=(ae+(255&se.charCodeAt(Ce)))%65521,ye=(ye+ae)%65521;return(ye<<16|ae)>>>0},oe=function(ue,se){for(var ae=65535&ue,ye=ue>>>16,Ce=0,Oe=se.length;Ce<Oe;Ce++)ae=(ae+se[Ce])%65521,ye=(ye+ae)%65521;return(ye<<16|ae)>>>0},it=(me={}).Adler32=(((Pt=(xt=function(ue){if(!(this instanceof xt))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(ue=ue==null?1:+ue))throw new Error("First arguments needs to be a finite number.");this.checksum=ue>>>0}).prototype={}).constructor=xt).from=((_t=function(ue){if(!(this instanceof xt))throw new TypeError("Constructor cannot called be as a function.");if(ue==null)throw new Error("First argument needs to be a string.");this.checksum=et(1,ue.toString())}).prototype=Pt,_t),xt.fromUtf8=((Ue=function(ue){if(!(this instanceof xt))throw new TypeError("Constructor cannot called be as a function.");if(ue==null)throw new Error("First argument needs to be a string.");var se=ut(ue.toString());this.checksum=et(1,se)}).prototype=Pt,Ue),Ke&&(xt.fromBuffer=((zt=function(ue){if(!(this instanceof xt))throw new TypeError("Constructor cannot called be as a function.");if(!$e(ue))throw new Error("First argument needs to be ArrayBuffer.");var se=new Uint8Array(ue);return this.checksum=oe(1,se)}).prototype=Pt,zt)),Pt.update=function(de){if(de==null)throw new Error("First argument needs to be a string.");return de=de.toString(),this.checksum=et(this.checksum,de)},Pt.updateUtf8=function(de){if(de==null)throw new Error("First argument needs to be a string.");var ue=ut(de.toString());return this.checksum=et(this.checksum,ue)},Ke&&(Pt.updateBuffer=function(de){if(!$e(de))throw new Error("First argument needs to be ArrayBuffer.");var ue=new Uint8Array(de);return this.checksum=oe(this.checksum,ue)}),Pt.clone=function(){return new it(this.checksum)},xt),me.from=function(de){if(de==null)throw new Error("First argument needs to be a string.");return et(1,de.toString())},me.fromUtf8=function(de){if(de==null)throw new Error("First argument needs to be a string.");var ue=ut(de.toString());return et(1,ue)},Ke&&(me.fromBuffer=function(de){if(!$e(de))throw new Error("First argument need to be ArrayBuffer.");var ue=new Uint8Array(de);return oe(1,ue)}),me),function(de){de.__bidiEngine__=de.prototype.__bidiEngine__=function(ae){var ye,Ce,Oe,Te,xe,ke,lt,At=ue,ee=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],ie=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],z={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},$={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},le=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],ge=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),Ae=!1,Me=0;this.__bidiEngine__={};var Ze=function(ur){var Zt=ur.charCodeAt(),ze=Zt>>8,at=$[ze];return at!==void 0?At[256*at+(255&Zt)]:ze===252||ze===253?"AL":ge.test(ze)?"L":ze===8?"R":"N"},kt=function(ur){for(var Zt,ze=0;ze<ur.length;ze++){if((Zt=Ze(ur.charAt(ze)))==="L")return!1;if(Zt==="R")return!0}return!1},Jt=function(ur,Zt,ze,at){var Ve,Xe,gt,ft,Ge=Zt[at];switch(Ge){case"L":case"R":Ae=!1;break;case"N":case"AN":break;case"EN":Ae&&(Ge="AN");break;case"AL":Ae=!0,Ge="R";break;case"WS":Ge="N";break;case"CS":at<1||at+1>=Zt.length||(Ve=ze[at-1])!=="EN"&&Ve!=="AN"||(Xe=Zt[at+1])!=="EN"&&Xe!=="AN"?Ge="N":Ae&&(Xe="AN"),Ge=Xe===Ve?Xe:"N";break;case"ES":Ge=(Ve=0<at?ze[at-1]:"B")==="EN"&&at+1<Zt.length&&Zt[at+1]==="EN"?"EN":"N";break;case"ET":if(0<at&&ze[at-1]==="EN"){Ge="EN";break}if(Ae){Ge="N";break}for(gt=at+1,ft=Zt.length;gt<ft&&Zt[gt]==="ET";)gt++;Ge=gt<ft&&Zt[gt]==="EN"?"EN":"N";break;case"NSM":if(Oe&&!Te){for(ft=Zt.length,gt=at+1;gt<ft&&Zt[gt]==="NSM";)gt++;if(gt<ft){var Mt=ur[at],It=1425<=Mt&&Mt<=2303||Mt===64286;if(Ve=Zt[gt],It&&(Ve==="R"||Ve==="AL")){Ge="R";break}}}Ge=at<1||(Ve=Zt[at-1])==="B"?"N":ze[at-1];break;case"B":ye=!(Ae=!1),Ge=Me;break;case"S":Ce=!0,Ge="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Ae=!1;break;case"BN":Ge="N"}return Ge},Et=function(ur,Zt,ze){var at=ur.split("");return ze&&Ft(at,ze,{hiLevel:Me}),at.reverse(),Zt&&Zt.reverse(),at.join("")},Ft=function(ur,Zt,ze){var at,Ve,Xe,gt,ft,Ge=-1,Mt=ur.length,It=0,rr=[],Ht=Me?ie:ee,pr=[];for(Ce=ye=Ae=!1,Ve=0;Ve<Mt;Ve++)pr[Ve]=Ze(ur[Ve]);for(Xe=0;Xe<Mt;Xe++){if(ft=It,rr[Xe]=Jt(ur,pr,rr,Xe),at=240&(It=Ht[ft][z[rr[Xe]]]),It&=15,Zt[Xe]=gt=Ht[It][5],0<at)if(at===16){for(Ve=Ge;Ve<Xe;Ve++)Zt[Ve]=1;Ge=-1}else Ge=-1;if(Ht[It][6])Ge===-1&&(Ge=Xe);else if(-1<Ge){for(Ve=Ge;Ve<Xe;Ve++)Zt[Ve]=gt;Ge=-1}pr[Xe]==="B"&&(Zt[Xe]=0),ze.hiLevel|=gt}Ce&&function(Ar,Nr,Fr){for(var tn=0;tn<Fr;tn++)if(Ar[tn]==="S"){Nr[tn]=Me;for(var Jr=tn-1;0<=Jr&&Ar[Jr]==="WS";Jr--)Nr[Jr]=Me}}(pr,Zt,Mt)},Kt=function(ur,Zt,ze,at,Ve){if(!(Ve.hiLevel<ur)){if(ur===1&&Me===1&&!ye)return Zt.reverse(),void(ze&&ze.reverse());for(var Xe,gt,ft,Ge,Mt=Zt.length,It=0;It<Mt;){if(at[It]>=ur){for(ft=It+1;ft<Mt&&at[ft]>=ur;)ft++;for(Ge=It,gt=ft-1;Ge<gt;Ge++,gt--)Xe=Zt[Ge],Zt[Ge]=Zt[gt],Zt[gt]=Xe,ze&&(Xe=ze[Ge],ze[Ge]=ze[gt],ze[gt]=Xe);It=ft}It++}}},Vt=function(ur,Zt,ze){var at=ur.split(""),Ve={hiLevel:Me};return ze||(ze=[]),Ft(at,ze,Ve),function(Xe,gt,ft){if(ft.hiLevel!==0&<)for(var Ge,Mt=0;Mt<Xe.length;Mt++)gt[Mt]===1&&0<=(Ge=le.indexOf(Xe[Mt]))&&(Xe[Mt]=le[Ge+1])}(at,ze,Ve),Kt(2,at,Zt,ze,Ve),Kt(1,at,Zt,ze,Ve),at.join("")};return this.__bidiEngine__.doBidiReorder=function(Ot,ur,Zt){if(function(at,Ve){if(Ve)for(var Xe=0;Xe<at.length;Xe++)Ve[Xe]=Xe;Te===void 0&&(Te=kt(at)),ke===void 0&&(ke=kt(at))}(Ot,ur),Oe||!xe||ke)if(Oe&&xe&&Te^ke)Me=Te?1:0,Ot=Et(Ot,ur,Zt);else if(!Oe&&xe&&ke)Me=Te?1:0,Ot=Vt(Ot,ur,Zt),Ot=Et(Ot,ur);else if(!Oe||Te||xe||ke){if(Oe&&!xe&&Te^ke)Ot=Et(Ot,ur),Ot=Te?(Me=0,Vt(Ot,ur,Zt)):(Me=1,Ot=Vt(Ot,ur,Zt),Et(Ot,ur));else if(Oe&&Te&&!xe&&ke)Me=1,Ot=Vt(Ot,ur,Zt),Ot=Et(Ot,ur);else if(!Oe&&!xe&&Te^ke){var ze=lt;Te?(Me=1,Ot=Vt(Ot,ur,Zt),Me=0,lt=!1,Ot=Vt(Ot,ur,Zt),lt=ze):(Me=0,Ot=Vt(Ot,ur,Zt),Ot=Et(Ot,ur),lt=!(Me=1),Ot=Vt(Ot,ur,Zt),lt=ze,Ot=Et(Ot,ur))}}else Me=0,Ot=Vt(Ot,ur,Zt);else Me=Te?1:0,Ot=Vt(Ot,ur,Zt);return Ot},this.__bidiEngine__.setOptions=function(Ot){Ot&&(Oe=Ot.isInputVisual,xe=Ot.isOutputVisual,Te=Ot.isInputRtl,ke=Ot.isOutputRtl,lt=Ot.isSymmetricSwapping)},this.__bidiEngine__.setOptions(ae),this.__bidiEngine__};var ue=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],se=new de.__bidiEngine__({isInputVisual:!0});de.API.events.push(["postProcessText",function(ae){var ye=ae.text,Ce=(ae.x,ae.y,ae.options||{}),Oe=(ae.mutex,Ce.lang,[]);if(Object.prototype.toString.call(ye)==="[object Array]"){var Te=0;for(Oe=[],Te=0;Te<ye.length;Te+=1)Object.prototype.toString.call(ye[Te])==="[object Array]"?Oe.push([se.doBidiReorder(ye[Te][0]),ye[Te][1],ye[Te][2]]):Oe.push([se.doBidiReorder(ye[Te])]);ae.text=Oe}else ae.text=se.doBidiReorder(ye)}])}(Bt),window.tmp=Qt,qt.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var de=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(de);for(var ue=0;ue<de;ue++){var se=this.datav.getUint8(this.pos++,!0),ae=this.datav.getUint8(this.pos++,!0),ye=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0);this.palette[ue]={red:ye,green:ae,blue:se,quad:Ce}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},qt.prototype.parseBGR=function(){this.pos=this.offset;try{var de="bit"+this.bitPP,ue=this.width*this.height*4;this.data=new Uint8Array(ue),this[de]()}catch(se){console.log("bit decode error:"+se)}},qt.prototype.bit1=function(){var de=Math.ceil(this.width/8),ue=de%4,se=0<=this.height?this.height-1:-this.height;for(se=this.height-1;0<=se;se--){for(var ae=this.bottom_up?se:this.height-1-se,ye=0;ye<de;ye++)for(var Ce=this.datav.getUint8(this.pos++,!0),Oe=ae*this.width*4+8*ye*4,Te=0;Te<8&&8*ye+Te<this.width;Te++){var xe=this.palette[Ce>>7-Te&1];this.data[Oe+4*Te]=xe.blue,this.data[Oe+4*Te+1]=xe.green,this.data[Oe+4*Te+2]=xe.red,this.data[Oe+4*Te+3]=255}ue!=0&&(this.pos+=4-ue)}},qt.prototype.bit4=function(){for(var de=Math.ceil(this.width/2),ue=de%4,se=this.height-1;0<=se;se--){for(var ae=this.bottom_up?se:this.height-1-se,ye=0;ye<de;ye++){var Ce=this.datav.getUint8(this.pos++,!0),Oe=ae*this.width*4+2*ye*4,Te=Ce>>4,xe=15&Ce,ke=this.palette[Te];if(this.data[Oe]=ke.blue,this.data[Oe+1]=ke.green,this.data[Oe+2]=ke.red,this.data[Oe+3]=255,2*ye+1>=this.width)break;ke=this.palette[xe],this.data[Oe+4]=ke.blue,this.data[Oe+4+1]=ke.green,this.data[Oe+4+2]=ke.red,this.data[Oe+4+3]=255}ue!=0&&(this.pos+=4-ue)}},qt.prototype.bit8=function(){for(var de=this.width%4,ue=this.height-1;0<=ue;ue--){for(var se=this.bottom_up?ue:this.height-1-ue,ae=0;ae<this.width;ae++){var ye=this.datav.getUint8(this.pos++,!0),Ce=se*this.width*4+4*ae;if(ye<this.palette.length){var Oe=this.palette[ye];this.data[Ce]=Oe.red,this.data[Ce+1]=Oe.green,this.data[Ce+2]=Oe.blue,this.data[Ce+3]=255}else this.data[Ce]=255,this.data[Ce+1]=255,this.data[Ce+2]=255,this.data[Ce+3]=255}de!=0&&(this.pos+=4-de)}},qt.prototype.bit15=function(){for(var de=this.width%3,ue=parseInt("11111",2),se=this.height-1;0<=se;se--){for(var ae=this.bottom_up?se:this.height-1-se,ye=0;ye<this.width;ye++){var Ce=this.datav.getUint16(this.pos,!0);this.pos+=2;var Oe=(Ce&ue)/ue*255|0,Te=(Ce>>5&ue)/ue*255|0,xe=(Ce>>10&ue)/ue*255|0,ke=Ce>>15?255:0,lt=ae*this.width*4+4*ye;this.data[lt]=xe,this.data[lt+1]=Te,this.data[lt+2]=Oe,this.data[lt+3]=ke}this.pos+=de}},qt.prototype.bit16=function(){for(var de=this.width%3,ue=parseInt("11111",2),se=parseInt("111111",2),ae=this.height-1;0<=ae;ae--){for(var ye=this.bottom_up?ae:this.height-1-ae,Ce=0;Ce<this.width;Ce++){var Oe=this.datav.getUint16(this.pos,!0);this.pos+=2;var Te=(Oe&ue)/ue*255|0,xe=(Oe>>5&se)/se*255|0,ke=(Oe>>11)/ue*255|0,lt=ye*this.width*4+4*Ce;this.data[lt]=ke,this.data[lt+1]=xe,this.data[lt+2]=Te,this.data[lt+3]=255}this.pos+=de}},qt.prototype.bit24=function(){for(var de=this.height-1;0<=de;de--){for(var ue=this.bottom_up?de:this.height-1-de,se=0;se<this.width;se++){var ae=this.datav.getUint8(this.pos++,!0),ye=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0),Oe=ue*this.width*4+4*se;this.data[Oe]=Ce,this.data[Oe+1]=ye,this.data[Oe+2]=ae,this.data[Oe+3]=255}this.pos+=this.width%4}},qt.prototype.bit32=function(){for(var de=this.height-1;0<=de;de--)for(var ue=this.bottom_up?de:this.height-1-de,se=0;se<this.width;se++){var ae=this.datav.getUint8(this.pos++,!0),ye=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0),Oe=this.datav.getUint8(this.pos++,!0),Te=ue*this.width*4+4*se;this.data[Te]=Ce,this.data[Te+1]=ye,this.data[Te+2]=ae,this.data[Te+3]=Oe}},qt.prototype.getData=function(){return this.data},window.tmp=qt,function(de){var ue=15,se=573,ae=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function ye(){var ie=this;function z($,le){for(var ge=0;ge|=1&$,$>>>=1,ge<<=1,0<--le;);return ge>>>1}ie.build_tree=function($){var le,ge,Ae,Me=ie.dyn_tree,Ze=ie.stat_desc.static_tree,kt=ie.stat_desc.elems,Jt=-1;for($.heap_len=0,$.heap_max=se,le=0;le<kt;le++)Me[2*le]!==0?($.heap[++$.heap_len]=Jt=le,$.depth[le]=0):Me[2*le+1]=0;for(;$.heap_len<2;)Me[2*(Ae=$.heap[++$.heap_len]=Jt<2?++Jt:0)]=1,$.depth[Ae]=0,$.opt_len--,Ze&&($.static_len-=Ze[2*Ae+1]);for(ie.max_code=Jt,le=Math.floor($.heap_len/2);1<=le;le--)$.pqdownheap(Me,le);for(Ae=kt;le=$.heap[1],$.heap[1]=$.heap[$.heap_len--],$.pqdownheap(Me,1),ge=$.heap[1],$.heap[--$.heap_max]=le,$.heap[--$.heap_max]=ge,Me[2*Ae]=Me[2*le]+Me[2*ge],$.depth[Ae]=Math.max($.depth[le],$.depth[ge])+1,Me[2*le+1]=Me[2*ge+1]=Ae,$.heap[1]=Ae++,$.pqdownheap(Me,1),2<=$.heap_len;);$.heap[--$.heap_max]=$.heap[1],function(Et){var Ft,Kt,Vt,Ot,ur,Zt,ze=ie.dyn_tree,at=ie.stat_desc.static_tree,Ve=ie.stat_desc.extra_bits,Xe=ie.stat_desc.extra_base,gt=ie.stat_desc.max_length,ft=0;for(Ot=0;Ot<=ue;Ot++)Et.bl_count[Ot]=0;for(ze[2*Et.heap[Et.heap_max]+1]=0,Ft=Et.heap_max+1;Ft<se;Ft++)gt<(Ot=ze[2*ze[2*(Kt=Et.heap[Ft])+1]+1]+1)&&(Ot=gt,ft++),ze[2*Kt+1]=Ot,Kt>ie.max_code||(Et.bl_count[Ot]++,ur=0,Xe<=Kt&&(ur=Ve[Kt-Xe]),Zt=ze[2*Kt],Et.opt_len+=Zt*(Ot+ur),at&&(Et.static_len+=Zt*(at[2*Kt+1]+ur)));if(ft!==0){do{for(Ot=gt-1;Et.bl_count[Ot]===0;)Ot--;Et.bl_count[Ot]--,Et.bl_count[Ot+1]+=2,Et.bl_count[gt]--,ft-=2}while(0<ft);for(Ot=gt;Ot!==0;Ot--)for(Kt=Et.bl_count[Ot];Kt!==0;)(Vt=Et.heap[--Ft])>ie.max_code||(ze[2*Vt+1]!=Ot&&(Et.opt_len+=(Ot-ze[2*Vt+1])*ze[2*Vt],ze[2*Vt+1]=Ot),Kt--)}}($),function(Et,Ft,Kt){var Vt,Ot,ur,Zt=[],ze=0;for(Vt=1;Vt<=ue;Vt++)Zt[Vt]=ze=ze+Kt[Vt-1]<<1;for(Ot=0;Ot<=Ft;Ot++)(ur=Et[2*Ot+1])!==0&&(Et[2*Ot]=z(Zt[ur]++,ur))}(Me,ie.max_code,$.bl_count)}}function Ce(ie,z,$,le,ge){this.static_tree=ie,this.extra_bits=z,this.extra_base=$,this.elems=le,this.max_length=ge}ye._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],ye.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],ye.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],ye.d_code=function(ie){return ie<256?ae[ie]:ae[256+(ie>>>7)]},ye.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ye.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ye.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ye.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ce.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],Ce.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],Ce.static_l_desc=new Ce(Ce.static_ltree,ye.extra_lbits,257,286,ue),Ce.static_d_desc=new Ce(Ce.static_dtree,ye.extra_dbits,0,30,ue),Ce.static_bl_desc=new Ce(null,ye.extra_blbits,0,19,7);function Oe(ie,z,$,le,ge){this.good_length=ie,this.max_lazy=z,this.nice_length=$,this.max_chain=le,this.func=ge}var Te=[new Oe(0,0,0,0,0),new Oe(4,4,8,4,1),new Oe(4,5,16,8,1),new Oe(4,6,32,32,1),new Oe(4,4,16,16,2),new Oe(8,16,32,32,2),new Oe(8,16,128,128,2),new Oe(8,32,128,256,2),new Oe(32,128,258,1024,2),new Oe(32,258,258,4096,2)],xe=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function ke(ie,z,$,le){var ge=ie[2*z],Ae=ie[2*$];return ge<Ae||ge==Ae&&le[z]<=le[$]}function lt(){var ie,z,$,le,ge,Ae,Me,Ze,kt,Jt,Et,Ft,Kt,Vt,Ot,ur,Zt,ze,at,Ve,Xe,gt,ft,Ge,Mt,It,rr,Ht,pr,Ar,Nr,Fr,tn,Jr,Lr,Xr,Tr,lr,fr,sr,dr,Sr=this,Qr=new ye,cn=new ye,Dn=new ye;function jr(){var mn;for(mn=0;mn<286;mn++)Nr[2*mn]=0;for(mn=0;mn<30;mn++)Fr[2*mn]=0;for(mn=0;mn<19;mn++)tn[2*mn]=0;Nr[512]=1,Sr.opt_len=Sr.static_len=0,Xr=lr=0}function Ln(mn,In){var On,Nn,jn=-1,ni=mn[1],di=0,Da=7,Xi=4;for(ni===0&&(Da=138,Xi=3),mn[2*(In+1)+1]=65535,On=0;On<=In;On++)Nn=ni,ni=mn[2*(On+1)+1],++di<Da&&Nn==ni||(di<Xi?tn[2*Nn]+=di:Nn!==0?(Nn!=jn&&tn[2*Nn]++,tn[32]++):di<=10?tn[34]++:tn[36]++,jn=Nn,Xi=(di=0)===ni?(Da=138,3):Nn==ni?(Da=6,3):(Da=7,4))}function gn(mn){Sr.pending_buf[Sr.pending++]=mn}function Un(mn){gn(255&mn),gn(mn>>>8&255)}function Wn(mn,In){var On,Nn=In;16-Nn<dr?(Un(sr|=(On=mn)<<dr&65535),sr=On>>>16-dr,dr+=Nn-16):(sr|=mn<<dr&65535,dr+=Nn)}function Jn(mn,In){var On=2*mn;Wn(65535&In[On],65535&In[On+1])}function Qn(mn,In){var On,Nn,jn=-1,ni=mn[1],di=0,Da=7,Xi=4;for(ni===0&&(Da=138,Xi=3),On=0;On<=In;On++)if(Nn=ni,ni=mn[2*(On+1)+1],!(++di<Da&&Nn==ni)){if(di<Xi)for(;Jn(Nn,tn),--di!=0;);else Nn!==0?(Nn!=jn&&(Jn(Nn,tn),di--),Jn(16,tn),Wn(di-3,2)):di<=10?(Jn(17,tn),Wn(di-3,3)):(Jn(18,tn),Wn(di-11,7));jn=Nn,Xi=(di=0)===ni?(Da=138,3):Nn==ni?(Da=6,3):(Da=7,4)}}function Vn(){dr==16?(Un(sr),dr=sr=0):8<=dr&&(gn(255&sr),sr>>>=8,dr-=8)}function yn(mn,In){var On,Nn,jn;if(Sr.pending_buf[Tr+2*Xr]=mn>>>8&255,Sr.pending_buf[Tr+2*Xr+1]=255&mn,Sr.pending_buf[Jr+Xr]=255&In,Xr++,mn===0?Nr[2*In]++:(lr++,mn--,Nr[2*(ye._length_code[In]+256+1)]++,Fr[2*ye.d_code(mn)]++),(8191&Xr)==0&&2<rr){for(On=8*Xr,Nn=Xe-Zt,jn=0;jn<30;jn++)On+=Fr[2*jn]*(5+ye.extra_dbits[jn]);if(On>>>=3,lr<Math.floor(Xr/2)&&On<Math.floor(Nn/2))return!0}return Xr==Lr-1}function on(mn,In){var On,Nn,jn,ni,di=0;if(Xr!==0)for(;On=Sr.pending_buf[Tr+2*di]<<8&65280|255&Sr.pending_buf[Tr+2*di+1],Nn=255&Sr.pending_buf[Jr+di],di++,On===0?Jn(Nn,mn):(Jn((jn=ye._length_code[Nn])+256+1,mn),(ni=ye.extra_lbits[jn])!==0&&Wn(Nn-=ye.base_length[jn],ni),Jn(jn=ye.d_code(--On),In),(ni=ye.extra_dbits[jn])!==0&&Wn(On-=ye.base_dist[jn],ni)),di<Xr;);Jn(256,mn),fr=mn[513]}function ia(){8<dr?Un(sr):0<dr&&gn(255&sr),dr=sr=0}function xa(mn,In,On){var Nn,jn,ni;Wn(0+(On?1:0),3),Nn=mn,jn=In,ni=!0,ia(),fr=8,ni&&(Un(jn),Un(~jn)),Sr.pending_buf.set(Ze.subarray(Nn,Nn+jn),Sr.pending),Sr.pending+=jn}function ta(mn,In,On){var Nn,jn,ni=0;0<rr?(Qr.build_tree(Sr),cn.build_tree(Sr),ni=function(){var di;for(Ln(Nr,Qr.max_code),Ln(Fr,cn.max_code),Dn.build_tree(Sr),di=18;3<=di&&tn[2*ye.bl_order[di]+1]===0;di--);return Sr.opt_len+=3*(di+1)+5+5+4,di}(),Nn=Sr.opt_len+3+7>>>3,(jn=Sr.static_len+3+7>>>3)<=Nn&&(Nn=jn)):Nn=jn=In+5,In+4<=Nn&&mn!=-1?xa(mn,In,On):jn==Nn?(Wn(2+(On?1:0),3),on(Ce.static_ltree,Ce.static_dtree)):(Wn(4+(On?1:0),3),function(di,Da,Xi){var ma;for(Wn(di-257,5),Wn(Da-1,5),Wn(Xi-4,4),ma=0;ma<Xi;ma++)Wn(tn[2*ye.bl_order[ma]+1],3);Qn(Nr,di-1),Qn(Fr,Da-1)}(Qr.max_code+1,cn.max_code+1,ni+1),on(Nr,Fr)),jr(),On&&ia()}function Ni(mn){ta(0<=Zt?Zt:-1,Xe-Zt,mn),Zt=Xe,ie.flush_pending()}function Ci(){var mn,In,On,Nn;do{if((Nn=kt-ft-Xe)===0&&Xe===0&&ft===0)Nn=ge;else if(Nn==-1)Nn--;else if(ge+ge-262<=Xe){for(Ze.set(Ze.subarray(ge,ge+ge),0),gt-=ge,Xe-=ge,Zt-=ge,On=mn=Kt;In=65535&Et[--On],Et[On]=ge<=In?In-ge:0,--mn!=0;);for(On=mn=ge;In=65535&Jt[--On],Jt[On]=ge<=In?In-ge:0,--mn!=0;);Nn+=ge}if(ie.avail_in===0)return;mn=ie.read_buf(Ze,Xe+ft,Nn),3<=(ft+=mn)&&(Ft=((Ft=255&Ze[Xe])<<ur^255&Ze[Xe+1])&Ot)}while(ft<262&&ie.avail_in!==0)}function Gn(mn){var In,On,Nn=Mt,jn=Xe,ni=Ge,di=ge-262<Xe?Xe-(ge-262):0,Da=Ar,Xi=Me,ma=Xe+258,ka=Ze[jn+ni-1],Xa=Ze[jn+ni];pr<=Ge&&(Nn>>=2),ft<Da&&(Da=ft);do if(Ze[(In=mn)+ni]==Xa&&Ze[In+ni-1]==ka&&Ze[In]==Ze[jn]&&Ze[++In]==Ze[jn+1]){jn+=2,In++;do;while(Ze[++jn]==Ze[++In]&&Ze[++jn]==Ze[++In]&&Ze[++jn]==Ze[++In]&&Ze[++jn]==Ze[++In]&&Ze[++jn]==Ze[++In]&&Ze[++jn]==Ze[++In]&&Ze[++jn]==Ze[++In]&&Ze[++jn]==Ze[++In]&&jn<ma);if(On=258-(ma-jn),jn=ma-258,ni<On){if(gt=mn,Da<=(ni=On))break;ka=Ze[jn+ni-1],Xa=Ze[jn+ni]}}while((mn=65535&Jt[mn&Xi])>di&&--Nn!=0);return ni<=ft?ni:ft}function Ia(mn){return mn.total_in=mn.total_out=0,mn.msg=null,Sr.pending=0,Sr.pending_out=0,z=113,le=0,Qr.dyn_tree=Nr,Qr.stat_desc=Ce.static_l_desc,cn.dyn_tree=Fr,cn.stat_desc=Ce.static_d_desc,Dn.dyn_tree=tn,Dn.stat_desc=Ce.static_bl_desc,dr=sr=0,fr=8,jr(),function(){var In;for(kt=2*ge,In=Et[Kt-1]=0;In<Kt-1;In++)Et[In]=0;It=Te[rr].max_lazy,pr=Te[rr].good_length,Ar=Te[rr].nice_length,Mt=Te[rr].max_chain,ze=Ge=2,Ft=Ve=ft=Zt=Xe=0}(),0}Sr.depth=[],Sr.bl_count=[],Sr.heap=[],Nr=[],Fr=[],tn=[],Sr.pqdownheap=function(mn,In){for(var On=Sr.heap,Nn=On[In],jn=In<<1;jn<=Sr.heap_len&&(jn<Sr.heap_len&&ke(mn,On[jn+1],On[jn],Sr.depth)&&jn++,!ke(mn,Nn,On[jn],Sr.depth));)On[In]=On[jn],In=jn,jn<<=1;On[In]=Nn},Sr.deflateInit=function(mn,In,On,Nn,jn,ni){return Nn||(Nn=8),jn||(jn=8),ni||(ni=0),mn.msg=null,In==-1&&(In=6),jn<1||9<jn||Nn!=8||On<9||15<On||In<0||9<In||ni<0||2<ni?-2:(mn.dstate=Sr,Me=(ge=1<<(Ae=On))-1,Ot=(Kt=1<<(Vt=jn+7))-1,ur=Math.floor((Vt+3-1)/3),Ze=new Uint8Array(2*ge),Jt=[],Et=[],Lr=1<<jn+6,Sr.pending_buf=new Uint8Array(4*Lr),$=4*Lr,Tr=Math.floor(Lr/2),Jr=3*Lr,rr=In,Ht=ni,Ia(mn))},Sr.deflateEnd=function(){return z!=42&&z!=113&&z!=666?-2:(Sr.pending_buf=null,Ze=Jt=Et=null,Sr.dstate=null,z==113?-3:0)},Sr.deflateParams=function(mn,In,On){var Nn=0;return In==-1&&(In=6),In<0||9<In||On<0||2<On?-2:(Te[rr].func!=Te[In].func&&mn.total_in!==0&&(Nn=mn.deflate(1)),rr!=In&&(It=Te[rr=In].max_lazy,pr=Te[rr].good_length,Ar=Te[rr].nice_length,Mt=Te[rr].max_chain),Ht=On,Nn)},Sr.deflateSetDictionary=function(mn,In,On){var Nn,jn=On,ni=0;if(!In||z!=42)return-2;if(jn<3)return 0;for(ge-262<jn&&(ni=On-(jn=ge-262)),Ze.set(In.subarray(ni,ni+jn),0),Zt=Xe=jn,Ft=((Ft=255&Ze[0])<<ur^255&Ze[1])&Ot,Nn=0;Nn<=jn-3;Nn++)Ft=(Ft<<ur^255&Ze[Nn+2])&Ot,Jt[Nn&Me]=Et[Ft],Et[Ft]=Nn;return 0},Sr.deflate=function(mn,In){var On,Nn,jn,ni,di,Da;if(4<In||In<0)return-2;if(!mn.next_out||!mn.next_in&&mn.avail_in!==0||z==666&&In!=4)return mn.msg=xe[4],-2;if(mn.avail_out===0)return mn.msg=xe[7],-5;if(ie=mn,ni=le,le=In,z==42&&(Nn=8+(Ae-8<<4)<<8,3<(jn=(rr-1&255)>>1)&&(jn=3),Nn|=jn<<6,Xe!==0&&(Nn|=32),z=113,gn((Da=Nn+=31-Nn%31)>>8&255),gn(255&Da)),Sr.pending!==0){if(ie.flush_pending(),ie.avail_out===0)return le=-1,0}else if(ie.avail_in===0&&In<=ni&&In!=4)return ie.msg=xe[7],-5;if(z==666&&ie.avail_in!==0)return mn.msg=xe[7],-5;if(ie.avail_in!==0||ft!==0||In!=0&&z!=666){switch(di=-1,Te[rr].func){case 0:di=function(Xi){var ma,ka=65535;for($-5<ka&&(ka=$-5);;){if(ft<=1){if(Ci(),ft===0&&Xi==0)return 0;if(ft===0)break}if(Xe+=ft,ma=Zt+ka,((ft=0)===Xe||ma<=Xe)&&(ft=Xe-ma,Xe=ma,Ni(!1),ie.avail_out===0))return 0;if(ge-262<=Xe-Zt&&(Ni(!1),ie.avail_out===0))return 0}return Ni(Xi==4),ie.avail_out===0?Xi==4?2:0:Xi==4?3:1}(In);break;case 1:di=function(Xi){for(var ma,ka=0;;){if(ft<262){if(Ci(),ft<262&&Xi==0)return 0;if(ft===0)break}if(3<=ft&&(Ft=(Ft<<ur^255&Ze[Xe+2])&Ot,ka=65535&Et[Ft],Jt[Xe&Me]=Et[Ft],Et[Ft]=Xe),ka!==0&&(Xe-ka&65535)<=ge-262&&Ht!=2&&(ze=Gn(ka)),3<=ze)if(ma=yn(Xe-gt,ze-3),ft-=ze,ze<=It&&3<=ft){for(ze--;Ft=(Ft<<ur^255&Ze[++Xe+2])&Ot,ka=65535&Et[Ft],Jt[Xe&Me]=Et[Ft],Et[Ft]=Xe,--ze!=0;);Xe++}else Xe+=ze,ze=0,Ft=((Ft=255&Ze[Xe])<<ur^255&Ze[Xe+1])&Ot;else ma=yn(0,255&Ze[Xe]),ft--,Xe++;if(ma&&(Ni(!1),ie.avail_out===0))return 0}return Ni(Xi==4),ie.avail_out===0?Xi==4?2:0:Xi==4?3:1}(In);break;case 2:di=function(Xi){for(var ma,ka,Xa=0;;){if(ft<262){if(Ci(),ft<262&&Xi==0)return 0;if(ft===0)break}if(3<=ft&&(Ft=(Ft<<ur^255&Ze[Xe+2])&Ot,Xa=65535&Et[Ft],Jt[Xe&Me]=Et[Ft],Et[Ft]=Xe),Ge=ze,at=gt,ze=2,Xa!==0&&Ge<It&&(Xe-Xa&65535)<=ge-262&&(Ht!=2&&(ze=Gn(Xa)),ze<=5&&(Ht==1||ze==3&&4096<Xe-gt)&&(ze=2)),3<=Ge&&ze<=Ge){for(ka=Xe+ft-3,ma=yn(Xe-1-at,Ge-3),ft-=Ge-1,Ge-=2;++Xe<=ka&&(Ft=(Ft<<ur^255&Ze[Xe+2])&Ot,Xa=65535&Et[Ft],Jt[Xe&Me]=Et[Ft],Et[Ft]=Xe),--Ge!=0;);if(Ve=0,ze=2,Xe++,ma&&(Ni(!1),ie.avail_out===0))return 0}else if(Ve!==0){if((ma=yn(0,255&Ze[Xe-1]))&&Ni(!1),Xe++,ft--,ie.avail_out===0)return 0}else Ve=1,Xe++,ft--}return Ve!==0&&(ma=yn(0,255&Ze[Xe-1]),Ve=0),Ni(Xi==4),ie.avail_out===0?Xi==4?2:0:Xi==4?3:1}(In)}if(di!=2&&di!=3||(z=666),di==0||di==2)return ie.avail_out===0&&(le=-1),0;if(di==1){if(In==1)Wn(2,3),Jn(256,Ce.static_ltree),Vn(),1+fr+10-dr<9&&(Wn(2,3),Jn(256,Ce.static_ltree),Vn()),fr=7;else if(xa(0,0,!1),In==3)for(On=0;On<Kt;On++)Et[On]=0;if(ie.flush_pending(),ie.avail_out===0)return le=-1,0}}return In!=4?0:1}}function At(){this.next_in_index=0,this.next_out_index=0,this.avail_in=0,this.total_in=0,this.avail_out=0,this.total_out=0}At.prototype={deflateInit:function(z,$){return this.dstate=new lt,$||($=ue),this.dstate.deflateInit(this,z,$)},deflate:function(z){return this.dstate?this.dstate.deflate(this,z):-2},deflateEnd:function(){if(!this.dstate)return-2;var z=this.dstate.deflateEnd();return this.dstate=null,z},deflateParams:function(z,$){return this.dstate?this.dstate.deflateParams(this,z,$):-2},deflateSetDictionary:function(z,$){return this.dstate?this.dstate.deflateSetDictionary(this,z,$):-2},read_buf:function(z,$,le){var ge=this.avail_in;return le<ge&&(ge=le),ge===0?0:(this.avail_in-=ge,z.set(this.next_in.subarray(this.next_in_index,this.next_in_index+ge),$),this.next_in_index+=ge,this.total_in+=ge,ge)},flush_pending:function(){var z=this,$=z.dstate.pending;$>z.avail_out&&($=z.avail_out),$!==0&&(z.next_out.set(z.dstate.pending_buf.subarray(z.dstate.pending_out,z.dstate.pending_out+$),z.next_out_index),z.next_out_index+=$,z.dstate.pending_out+=$,z.total_out+=$,z.avail_out-=$,z.dstate.pending-=$,z.dstate.pending===0&&(z.dstate.pending_out=0))}};var ee=de.zip||de;ee.Deflater=ee._jzlib_Deflater=function(ie){var z=new At,$=new Uint8Array(512),le=ie?ie.level:-1;le===void 0&&(le=-1),z.deflateInit(le),z.next_out=$,this.append=function(ge,Ae){var Me,Ze=[],kt=0,Jt=0,Et=0;if(ge.length){z.next_in_index=0,z.next_in=ge,z.avail_in=ge.length;do{if(z.next_out_index=0,z.avail_out=512,z.deflate(0)!=0)throw new Error("deflating: "+z.msg);z.next_out_index&&(z.next_out_index==512?Ze.push(new Uint8Array($)):Ze.push(new Uint8Array($.subarray(0,z.next_out_index)))),Et+=z.next_out_index,Ae&&0<z.next_in_index&&z.next_in_index!=kt&&(Ae(z.next_in_index),kt=z.next_in_index)}while(0<z.avail_in||z.avail_out===0);return Me=new Uint8Array(Et),Ze.forEach(function(Ft){Me.set(Ft,Jt),Jt+=Ft.length}),Me}},this.flush=function(){var ge,Ae,Me=[],Ze=0,kt=0;do{if(z.next_out_index=0,z.avail_out=512,(ge=z.deflate(4))!=1&&ge!=0)throw new Error("deflating: "+z.msg);0<512-z.avail_out&&Me.push(new Uint8Array($.subarray(0,z.next_out_index))),kt+=z.next_out_index}while(0<z.avail_in||z.avail_out===0);return z.deflateEnd(),Ae=new Uint8Array(kt),Me.forEach(function(Jt){Ae.set(Jt,Ze),Ze+=Jt.length}),Ae}}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")()),(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(de){var ue;de=de||"",this.ok=!1,de.charAt(0)=="#"&&(de=de.substr(1,6)),de=(de=de.replace(/ /g,"")).toLowerCase();var se={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var ae in se)de==ae&&(de=se[ae]);for(var ye=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(lt){return[parseInt(lt[1]),parseInt(lt[2]),parseInt(lt[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(lt){return[parseInt(lt[1],16),parseInt(lt[2],16),parseInt(lt[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(lt){return[parseInt(lt[1]+lt[1],16),parseInt(lt[2]+lt[2],16),parseInt(lt[3]+lt[3],16)]}}],Ce=0;Ce<ye.length;Ce++){var Oe=ye[Ce].re,Te=ye[Ce].process,xe=Oe.exec(de);xe&&(ue=Te(xe),this.r=ue[0],this.g=ue[1],this.b=ue[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var ke=this.r.toString(16),lt=this.g.toString(16),At=this.b.toString(16);return ke.length==1&&(ke="0"+ke),lt.length==1&&(lt="0"+lt),At.length==1&&(At="0"+At),"#"+ke+lt+At}},function(de){var ue="+".charCodeAt(0),se="/".charCodeAt(0),ae="0".charCodeAt(0),ye="a".charCodeAt(0),Ce="A".charCodeAt(0),Oe="-".charCodeAt(0),Te="_".charCodeAt(0),xe=function(at){var Ve=at.charCodeAt(0);return Ve===ue||Ve===Oe?62:Ve===se||Ve===Te?63:Ve<ae?-1:Ve<ae+10?Ve-ae+26+26:Ve<Ce+26?Ve-Ce:Ve<ye+26?Ve-ye+26:void 0};de.API.TTFFont=function(){function ze(at,Ve,Xe){var gt;if(this.rawData=at,gt=this.contents=new lt(at),this.contents.pos=4,gt.readString(4)==="ttcf")throw Ve?new Error("Font "+Ve+" not found in TTC file."):new Error("Must specify a font name for TTC files.");gt.pos=0,this.parse(),this.subset=new Zt(this),this.registerTTF()}return ze.open=function(at,Ve,Xe,gt){if(typeof Xe!="string")throw new Error("Invalid argument supplied in TTFFont.open");return new ze(function(ft){var Ge,Mt,It,rr,Ht,pr;if(0<ft.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var Ar=ft.length;Ht=ft.charAt(Ar-2)==="="?2:ft.charAt(Ar-1)==="="?1:0,pr=new Uint8Array(3*ft.length/4-Ht),It=0<Ht?ft.length-4:ft.length;var Nr=0;function Fr(tn){pr[Nr++]=tn}for(Mt=Ge=0;Ge<It;Ge+=4,Mt+=3)Fr((16711680&(rr=xe(ft.charAt(Ge))<<18|xe(ft.charAt(Ge+1))<<12|xe(ft.charAt(Ge+2))<<6|xe(ft.charAt(Ge+3))))>>16),Fr((65280&rr)>>8),Fr(255&rr);return Ht===2?Fr(255&(rr=xe(ft.charAt(Ge))<<2|xe(ft.charAt(Ge+1))>>4)):Ht===1&&(Fr((rr=xe(ft.charAt(Ge))<<10|xe(ft.charAt(Ge+1))<<4|xe(ft.charAt(Ge+2))>>2)>>8&255),Fr(255&rr)),pr}(Xe),Ve,gt)},ze.prototype.parse=function(){return this.directory=new At(this.contents),this.head=new z(this),this.name=new kt(this),this.cmap=new le(this),this.toUnicode=new Map,this.hhea=new ge(this),this.maxp=new Jt(this),this.hmtx=new Et(this),this.post=new Me(this),this.os2=new Ae(this),this.loca=new ur(this),this.glyf=new Kt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},ze.prototype.registerTTF=function(){var at,Ve,Xe,gt,ft;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Ge,Mt,It,rr;for(rr=[],Ge=0,Mt=(It=this.bbox).length;Ge<Mt;Ge++)at=It[Ge],rr.push(Math.round(at*this.scaleFactor));return rr}.call(this),this.stemV=0,this.post.exists?(Xe=255&(gt=this.post.italic_angle),!0&(Ve=gt>>16)&&(Ve=-(1+(65535^Ve))),this.italicAngle=+(Ve+"."+Xe)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(ft=this.familyClass)===1||ft===2||ft===3||ft===4||ft===5||ft===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},ze.prototype.characterToGlyph=function(at){var Ve;return((Ve=this.cmap.unicode)!=null?Ve.codeMap[at]:void 0)||0},ze.prototype.widthOfGlyph=function(at){var Ve;return Ve=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(at).advance*Ve},ze.prototype.widthOfString=function(at,Ve,Xe){var gt,ft,Ge,Mt,It;for(ft=Mt=Ge=0,It=(at=""+at).length;0<=It?Mt<It:It<Mt;ft=0<=It?++Mt:--Mt)gt=at.charCodeAt(ft),Ge+=this.widthOfGlyph(this.characterToGlyph(gt))+Xe*(1e3/Ve)||0;return Ge*(Ve/1e3)},ze.prototype.lineHeight=function(at,Ve){var Xe;return Ve==null&&(Ve=!1),Xe=Ve?this.lineGap:0,(this.ascender+Xe-this.decender)/1e3*at},ze}();var ke,lt=function(){function ze(at){this.data=at!=null?at:[],this.pos=0,this.length=this.data.length}return ze.prototype.readByte=function(){return this.data[this.pos++]},ze.prototype.writeByte=function(at){return this.data[this.pos++]=at},ze.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},ze.prototype.writeUInt32=function(at){return this.writeByte(at>>>24&255),this.writeByte(at>>16&255),this.writeByte(at>>8&255),this.writeByte(255&at)},ze.prototype.readInt32=function(){var at;return 2147483648<=(at=this.readUInt32())?at-4294967296:at},ze.prototype.writeInt32=function(at){return at<0&&(at+=4294967296),this.writeUInt32(at)},ze.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},ze.prototype.writeUInt16=function(at){return this.writeByte(at>>8&255),this.writeByte(255&at)},ze.prototype.readInt16=function(){var at;return 32768<=(at=this.readUInt16())?at-65536:at},ze.prototype.writeInt16=function(at){return at<0&&(at+=65536),this.writeUInt16(at)},ze.prototype.readString=function(at){var Ve,Xe,gt;for(Xe=[],Ve=gt=0;0<=at?gt<at:at<gt;Ve=0<=at?++gt:--gt)Xe[Ve]=String.fromCharCode(this.readByte());return Xe.join("")},ze.prototype.writeString=function(at){var Ve,Xe,gt,ft;for(ft=[],Ve=Xe=0,gt=at.length;0<=gt?Xe<gt:gt<Xe;Ve=0<=gt?++Xe:--Xe)ft.push(this.writeByte(at.charCodeAt(Ve)));return ft},ze.prototype.readShort=function(){return this.readInt16()},ze.prototype.writeShort=function(at){return this.writeInt16(at)},ze.prototype.readLongLong=function(){var at,Ve,Xe,gt,ft,Ge,Mt,It;return at=this.readByte(),Ve=this.readByte(),Xe=this.readByte(),gt=this.readByte(),ft=this.readByte(),Ge=this.readByte(),Mt=this.readByte(),It=this.readByte(),128&at?-1*(72057594037927940*(255^at)+281474976710656*(255^Ve)+1099511627776*(255^Xe)+4294967296*(255^gt)+16777216*(255^ft)+65536*(255^Ge)+256*(255^Mt)+(255^It)+1):72057594037927940*at+281474976710656*Ve+1099511627776*Xe+4294967296*gt+16777216*ft+65536*Ge+256*Mt+It},ze.prototype.writeLongLong=function(at){var Ve,Xe;return Ve=Math.floor(at/4294967296),Xe=4294967295&at,this.writeByte(Ve>>24&255),this.writeByte(Ve>>16&255),this.writeByte(Ve>>8&255),this.writeByte(255&Ve),this.writeByte(Xe>>24&255),this.writeByte(Xe>>16&255),this.writeByte(Xe>>8&255),this.writeByte(255&Xe)},ze.prototype.readInt=function(){return this.readInt32()},ze.prototype.writeInt=function(at){return this.writeInt32(at)},ze.prototype.read=function(at){var Ve,Xe;for(Ve=[],Xe=0;0<=at?Xe<at:at<Xe;0<=at?++Xe:--Xe)Ve.push(this.readByte());return Ve},ze.prototype.write=function(at){var Ve,Xe,gt,ft;for(ft=[],Xe=0,gt=at.length;Xe<gt;Xe++)Ve=at[Xe],ft.push(this.writeByte(Ve));return ft},ze}(),At=function(){var ze;function at(Ve){var Xe,gt,ft;for(this.scalarType=Ve.readInt(),this.tableCount=Ve.readShort(),this.searchRange=Ve.readShort(),this.entrySelector=Ve.readShort(),this.rangeShift=Ve.readShort(),this.tables={},gt=0,ft=this.tableCount;0<=ft?gt<ft:ft<gt;0<=ft?++gt:--gt)Xe={tag:Ve.readString(4),checksum:Ve.readInt(),offset:Ve.readInt(),length:Ve.readInt()},this.tables[Xe.tag]=Xe}return at.prototype.encode=function(Ve){var Xe,gt,ft,Ge,Mt,It,rr,Ht,pr,Ar,Nr,Fr,tn;for(tn in Nr=Object.keys(Ve).length,It=Math.log(2),pr=16*Math.floor(Math.log(Nr)/It),Ge=Math.floor(pr/It),Ht=16*Nr-pr,(gt=new lt).writeInt(this.scalarType),gt.writeShort(Nr),gt.writeShort(pr),gt.writeShort(Ge),gt.writeShort(Ht),ft=16*Nr,rr=gt.pos+ft,Mt=null,Fr=[],Ve)for(Ar=Ve[tn],gt.writeString(tn),gt.writeInt(ze(Ar)),gt.writeInt(rr),gt.writeInt(Ar.length),Fr=Fr.concat(Ar),tn==="head"&&(Mt=rr),rr+=Ar.length;rr%4;)Fr.push(0),rr++;return gt.write(Fr),Xe=2981146554-ze(gt.data),gt.pos=Mt+8,gt.writeUInt32(Xe),gt.data},ze=function(Xe){var gt,ft,Ge,Mt;for(Xe=Ft.call(Xe);Xe.length%4;)Xe.push(0);for(ft=new lt(Xe),Ge=gt=0,Mt=Xe.length;Ge<Mt;Ge+=4)gt+=ft.readUInt32();return 4294967295>},at}(),ee={}.hasOwnProperty,ie=function(at,Ve){for(var Xe in Ve)ee.call(Ve,Xe)&&(at[Xe]=Ve[Xe]);function gt(){this.constructor=at}return gt.prototype=Ve.prototype,at.prototype=new gt,at.__super__=Ve.prototype,at};ke=function(){function ze(at){var Ve;this.file=at,Ve=this.file.directory.tables[this.tag],this.exists=!!Ve,Ve&&(this.offset=Ve.offset,this.length=Ve.length,this.parse(this.file.contents))}return ze.prototype.parse=function(){},ze.prototype.encode=function(){},ze.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},ze}();var z=function(ze){function at(){return at.__super__.constructor.apply(this,arguments)}return ie(at,ke),at.prototype.tag="head",at.prototype.parse=function(Ve){return Ve.pos=this.offset,this.version=Ve.readInt(),this.revision=Ve.readInt(),this.checkSumAdjustment=Ve.readInt(),this.magicNumber=Ve.readInt(),this.flags=Ve.readShort(),this.unitsPerEm=Ve.readShort(),this.created=Ve.readLongLong(),this.modified=Ve.readLongLong(),this.xMin=Ve.readShort(),this.yMin=Ve.readShort(),this.xMax=Ve.readShort(),this.yMax=Ve.readShort(),this.macStyle=Ve.readShort(),this.lowestRecPPEM=Ve.readShort(),this.fontDirectionHint=Ve.readShort(),this.indexToLocFormat=Ve.readShort(),this.glyphDataFormat=Ve.readShort()},at.prototype.encode=function(Ve){var Xe;return(Xe=new lt).writeInt(this.version),Xe.writeInt(this.revision),Xe.writeInt(this.checkSumAdjustment),Xe.writeInt(this.magicNumber),Xe.writeShort(this.flags),Xe.writeShort(this.unitsPerEm),Xe.writeLongLong(this.created),Xe.writeLongLong(this.modified),Xe.writeShort(this.xMin),Xe.writeShort(this.yMin),Xe.writeShort(this.xMax),Xe.writeShort(this.yMax),Xe.writeShort(this.macStyle),Xe.writeShort(this.lowestRecPPEM),Xe.writeShort(this.fontDirectionHint),Xe.writeShort(Ve),Xe.writeShort(this.glyphDataFormat),Xe.data},at}(),$=function(){function ze(at,Ve){var Xe,gt,ft,Ge,Mt,It,rr,Ht,pr,Ar,Nr,Fr,tn,Jr,Lr,Xr,Tr,lr;switch(this.platformID=at.readUInt16(),this.encodingID=at.readShort(),this.offset=Ve+at.readInt(),pr=at.pos,at.pos=this.offset,this.format=at.readUInt16(),this.length=at.readUInt16(),this.language=at.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(It=Lr=0;Lr<256;It=++Lr)this.codeMap[It]=at.readByte();break;case 4:for(Nr=at.readUInt16(),Ar=Nr/2,at.pos+=6,ft=function(){var fr,sr;for(sr=[],It=fr=0;0<=Ar?fr<Ar:Ar<fr;It=0<=Ar?++fr:--fr)sr.push(at.readUInt16());return sr}(),at.pos+=2,tn=function(){var fr,sr;for(sr=[],It=fr=0;0<=Ar?fr<Ar:Ar<fr;It=0<=Ar?++fr:--fr)sr.push(at.readUInt16());return sr}(),rr=function(){var fr,sr;for(sr=[],It=fr=0;0<=Ar?fr<Ar:Ar<fr;It=0<=Ar?++fr:--fr)sr.push(at.readUInt16());return sr}(),Ht=function(){var fr,sr;for(sr=[],It=fr=0;0<=Ar?fr<Ar:Ar<fr;It=0<=Ar?++fr:--fr)sr.push(at.readUInt16());return sr}(),gt=(this.length-at.pos+this.offset)/2,Mt=function(){var fr,sr;for(sr=[],It=fr=0;0<=gt?fr<gt:gt<fr;It=0<=gt?++fr:--fr)sr.push(at.readUInt16());return sr}(),It=Xr=0,lr=ft.length;Xr<lr;It=++Xr)for(Jr=ft[It],Xe=Tr=Fr=tn[It];Fr<=Jr?Tr<=Jr:Jr<=Tr;Xe=Fr<=Jr?++Tr:--Tr)Ht[It]===0?Ge=Xe+rr[It]:(Ge=Mt[Ht[It]/2+(Xe-Fr)-(Ar-It)]||0)!==0&&(Ge+=rr[It]),this.codeMap[Xe]=65535&Ge}at.pos=pr}return ze.encode=function(at,Ve){var Xe,gt,ft,Ge,Mt,It,rr,Ht,pr,Ar,Nr,Fr,tn,Jr,Lr,Xr,Tr,lr,fr,sr,dr,Sr,Qr,cn,Dn,jr,Ln,gn,Un,Wn,Jn,Qn,Vn,yn,on,ia,xa,ta,Ni,Ci,Gn,Ia,mn,In,On,Nn;switch(gn=new lt,Ge=Object.keys(at).sort(function(jn,ni){return jn-ni}),Ve){case"macroman":for(tn=0,Jr=function(){var jn,ni;for(ni=[],Fr=jn=0;jn<256;Fr=++jn)ni.push(0);return ni}(),Xr={0:0},ft={},Un=0,Vn=Ge.length;Un<Vn;Un++)Xr[mn=at[gt=Ge[Un]]]==null&&(Xr[mn]=++tn),ft[gt]={old:at[gt],new:Xr[at[gt]]},Jr[gt]=Xr[at[gt]];return gn.writeUInt16(1),gn.writeUInt16(0),gn.writeUInt32(12),gn.writeUInt16(0),gn.writeUInt16(262),gn.writeUInt16(0),gn.write(Jr),{charMap:ft,subtable:gn.data,maxGlyphID:tn+1};case"unicode":for(jr=[],pr=[],Xr={},Xe={},Lr=rr=null,Wn=Tr=0,yn=Ge.length;Wn<yn;Wn++)Xr[fr=at[gt=Ge[Wn]]]==null&&(Xr[fr]=++Tr),Xe[gt]={old:fr,new:Xr[fr]},Mt=Xr[fr]-gt,Lr!=null&&Mt===rr||(Lr&&pr.push(Lr),jr.push(gt),rr=Mt),Lr=gt;for(Lr&&pr.push(Lr),pr.push(65535),jr.push(65535),cn=2*(Qr=jr.length),Sr=2*Math.pow(Math.log(Qr)/Math.LN2,2),Ar=Math.log(Sr/2)/Math.LN2,dr=2*Qr-Sr,It=[],sr=[],Nr=[],Fr=Jn=0,on=jr.length;Jn<on;Fr=++Jn){if(Dn=jr[Fr],Ht=pr[Fr],Dn===65535){It.push(0),sr.push(0);break}if(32768<=Dn-(Ln=Xe[Dn].new))for(It.push(0),sr.push(2*(Nr.length+Qr-Fr)),gt=Qn=Dn;Dn<=Ht?Qn<=Ht:Ht<=Qn;gt=Dn<=Ht?++Qn:--Qn)Nr.push(Xe[gt].new);else It.push(Ln-Dn),sr.push(0)}for(gn.writeUInt16(3),gn.writeUInt16(1),gn.writeUInt32(12),gn.writeUInt16(4),gn.writeUInt16(16+8*Qr+2*Nr.length),gn.writeUInt16(0),gn.writeUInt16(cn),gn.writeUInt16(Sr),gn.writeUInt16(Ar),gn.writeUInt16(dr),Gn=0,ia=pr.length;Gn<ia;Gn++)gt=pr[Gn],gn.writeUInt16(gt);for(gn.writeUInt16(0),Ia=0,xa=jr.length;Ia<xa;Ia++)gt=jr[Ia],gn.writeUInt16(gt);for(In=0,ta=It.length;In<ta;In++)Mt=It[In],gn.writeUInt16(Mt);for(On=0,Ni=sr.length;On<Ni;On++)lr=sr[On],gn.writeUInt16(lr);for(Nn=0,Ci=Nr.length;Nn<Ci;Nn++)tn=Nr[Nn],gn.writeUInt16(tn);return{charMap:Xe,subtable:gn.data,maxGlyphID:Tr+1}}},ze}(),le=function(ze){function at(){return at.__super__.constructor.apply(this,arguments)}return ie(at,ke),at.prototype.tag="cmap",at.prototype.parse=function(Ve){var Xe,gt,ft;for(Ve.pos=this.offset,this.version=Ve.readUInt16(),gt=Ve.readUInt16(),this.tables=[],this.unicode=null,ft=0;0<=gt?ft<gt:gt<ft;0<=gt?++ft:--ft)Xe=new $(Ve,this.offset),this.tables.push(Xe),Xe.isUnicode&&this.unicode==null&&(this.unicode=Xe);return!0},at.encode=function(Ve,Xe){var gt,ft;return Xe==null&&(Xe="macroman"),gt=$.encode(Ve,Xe),(ft=new lt).writeUInt16(0),ft.writeUInt16(1),gt.table=ft.data.concat(gt.subtable),gt},at}(),ge=function(ze){function at(){return at.__super__.constructor.apply(this,arguments)}return ie(at,ke),at.prototype.tag="hhea",at.prototype.parse=function(Ve){return Ve.pos=this.offset,this.version=Ve.readInt(),this.ascender=Ve.readShort(),this.decender=Ve.readShort(),this.lineGap=Ve.readShort(),this.advanceWidthMax=Ve.readShort(),this.minLeftSideBearing=Ve.readShort(),this.minRightSideBearing=Ve.readShort(),this.xMaxExtent=Ve.readShort(),this.caretSlopeRise=Ve.readShort(),this.caretSlopeRun=Ve.readShort(),this.caretOffset=Ve.readShort(),Ve.pos+=8,this.metricDataFormat=Ve.readShort(),this.numberOfMetrics=Ve.readUInt16()},at}(),Ae=function(ze){function at(){return at.__super__.constructor.apply(this,arguments)}return ie(at,ke),at.prototype.tag="OS/2",at.prototype.parse=function(Ve){if(Ve.pos=this.offset,this.version=Ve.readUInt16(),this.averageCharWidth=Ve.readShort(),this.weightClass=Ve.readUInt16(),this.widthClass=Ve.readUInt16(),this.type=Ve.readShort(),this.ySubscriptXSize=Ve.readShort(),this.ySubscriptYSize=Ve.readShort(),this.ySubscriptXOffset=Ve.readShort(),this.ySubscriptYOffset=Ve.readShort(),this.ySuperscriptXSize=Ve.readShort(),this.ySuperscriptYSize=Ve.readShort(),this.ySuperscriptXOffset=Ve.readShort(),this.ySuperscriptYOffset=Ve.readShort(),this.yStrikeoutSize=Ve.readShort(),this.yStrikeoutPosition=Ve.readShort(),this.familyClass=Ve.readShort(),this.panose=function(){var Xe,gt;for(gt=[],Xe=0;Xe<10;++Xe)gt.push(Ve.readByte());return gt}(),this.charRange=function(){var Xe,gt;for(gt=[],Xe=0;Xe<4;++Xe)gt.push(Ve.readInt());return gt}(),this.vendorID=Ve.readString(4),this.selection=Ve.readShort(),this.firstCharIndex=Ve.readShort(),this.lastCharIndex=Ve.readShort(),0<this.version&&(this.ascent=Ve.readShort(),this.descent=Ve.readShort(),this.lineGap=Ve.readShort(),this.winAscent=Ve.readShort(),this.winDescent=Ve.readShort(),this.codePageRange=function(){var Xe,gt;for(gt=[],Xe=0;Xe<2;++Xe)gt.push(Ve.readInt());return gt}(),1<this.version))return this.xHeight=Ve.readShort(),this.capHeight=Ve.readShort(),this.defaultChar=Ve.readShort(),this.breakChar=Ve.readShort(),this.maxContext=Ve.readShort()},at}(),Me=function(ze){function at(){return at.__super__.constructor.apply(this,arguments)}return ie(at,ke),at.prototype.tag="post",at.prototype.parse=function(Ve){var Xe,gt,ft,Ge;switch(Ve.pos=this.offset,this.format=Ve.readInt(),this.italicAngle=Ve.readInt(),this.underlinePosition=Ve.readShort(),this.underlineThickness=Ve.readShort(),this.isFixedPitch=Ve.readInt(),this.minMemType42=Ve.readInt(),this.maxMemType42=Ve.readInt(),this.minMemType1=Ve.readInt(),this.maxMemType1=Ve.readInt(),this.format){case 65536:break;case 131072:for(gt=Ve.readUInt16(),this.glyphNameIndex=[],ft=0;0<=gt?ft<gt:gt<ft;0<=gt?++ft:--ft)this.glyphNameIndex.push(Ve.readUInt16());for(this.names=[],Ge=[];Ve.pos<this.offset+this.length;)Xe=Ve.readByte(),Ge.push(this.names.push(Ve.readString(Xe)));return Ge;case 151552:return gt=Ve.readUInt16(),this.offsets=Ve.read(gt);case 196608:break;case 262144:return this.map=function(){var Mt,It,rr;for(rr=[],Mt=0,It=this.file.maxp.numGlyphs;0<=It?Mt<It:It<Mt;0<=It?++Mt:--Mt)rr.push(Ve.readUInt32());return rr}.call(this)}},at}(),Ze=function(at,Ve){this.raw=at,this.length=at.length,this.platformID=Ve.platformID,this.encodingID=Ve.encodingID,this.languageID=Ve.languageID},kt=function(ze){function at(){return at.__super__.constructor.apply(this,arguments)}return ie(at,ke),at.prototype.tag="name",at.prototype.parse=function(Ve){var Xe,gt,ft,Ge,Mt,It,rr,Ht,pr,Ar,Nr,Fr;for(Ve.pos=this.offset,Ve.readShort(),Xe=Ve.readShort(),It=Ve.readShort(),gt=[],Ge=pr=0;0<=Xe?pr<Xe:Xe<pr;Ge=0<=Xe?++pr:--pr)gt.push({platformID:Ve.readShort(),encodingID:Ve.readShort(),languageID:Ve.readShort(),nameID:Ve.readShort(),length:Ve.readShort(),offset:this.offset+It+Ve.readShort()});for(rr={},Ge=Ar=0,Nr=gt.length;Ar<Nr;Ge=++Ar)ft=gt[Ge],Ve.pos=ft.offset,Ht=Ve.readString(ft.length),Mt=new Ze(Ht,ft),rr[Fr=ft.nameID]==null&&(rr[Fr]=[]),rr[ft.nameID].push(Mt);this.strings=rr,this.copyright=rr[0],this.fontFamily=rr[1],this.fontSubfamily=rr[2],this.uniqueSubfamily=rr[3],this.fontName=rr[4],this.version=rr[5];try{this.postscriptName=rr[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(tn){this.postscriptName=rr[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=rr[7],this.manufacturer=rr[8],this.designer=rr[9],this.description=rr[10],this.vendorUrl=rr[11],this.designerUrl=rr[12],this.license=rr[13],this.licenseUrl=rr[14],this.preferredFamily=rr[15],this.preferredSubfamily=rr[17],this.compatibleFull=rr[18],this.sampleText=rr[19]},at}(),Jt=function(ze){function at(){return at.__super__.constructor.apply(this,arguments)}return ie(at,ke),at.prototype.tag="maxp",at.prototype.parse=function(Ve){return Ve.pos=this.offset,this.version=Ve.readInt(),this.numGlyphs=Ve.readUInt16(),this.maxPoints=Ve.readUInt16(),this.maxContours=Ve.readUInt16(),this.maxCompositePoints=Ve.readUInt16(),this.maxComponentContours=Ve.readUInt16(),this.maxZones=Ve.readUInt16(),this.maxTwilightPoints=Ve.readUInt16(),this.maxStorage=Ve.readUInt16(),this.maxFunctionDefs=Ve.readUInt16(),this.maxInstructionDefs=Ve.readUInt16(),this.maxStackElements=Ve.readUInt16(),this.maxSizeOfInstructions=Ve.readUInt16(),this.maxComponentElements=Ve.readUInt16(),this.maxComponentDepth=Ve.readUInt16()},at}(),Et=function(ze){function at(){return at.__super__.constructor.apply(this,arguments)}return ie(at,ke),at.prototype.tag="hmtx",at.prototype.parse=function(Ve){var Xe,gt,ft,Ge,Mt,It,rr;for(Ve.pos=this.offset,this.metrics=[],Ge=0,It=this.file.hhea.numberOfMetrics;0<=It?Ge<It:It<Ge;0<=It?++Ge:--Ge)this.metrics.push({advance:Ve.readUInt16(),lsb:Ve.readInt16()});for(gt=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ht,pr;for(pr=[],Ht=0;0<=gt?Ht<gt:gt<Ht;0<=gt?++Ht:--Ht)pr.push(Ve.readInt16());return pr}(),this.widths=function(){var Ht,pr,Ar,Nr;for(Nr=[],Ht=0,pr=(Ar=this.metrics).length;Ht<pr;Ht++)ft=Ar[Ht],Nr.push(ft.advance);return Nr}.call(this),Xe=this.widths[this.widths.length-1],rr=[],Mt=0;0<=gt?Mt<gt:gt<Mt;0<=gt?++Mt:--Mt)rr.push(this.widths.push(Xe));return rr},at.prototype.forGlyph=function(Ve){return Ve in this.metrics?this.metrics[Ve]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Ve-this.metrics.length]}},at}(),Ft=[].slice,Kt=function(ze){function at(){return at.__super__.constructor.apply(this,arguments)}return ie(at,ke),at.prototype.tag="glyf",at.prototype.parse=function(Ve){return this.cache={}},at.prototype.glyphFor=function(Ve){var Xe,gt,ft,Ge,Mt,It,rr,Ht,pr,Ar;return(Ve=Ve)in this.cache?this.cache[Ve]:(Ge=this.file.loca,Xe=this.file.contents,gt=Ge.indexOf(Ve),(ft=Ge.lengthOf(Ve))===0?this.cache[Ve]=null:(Xe.pos=this.offset+gt,Mt=(It=new lt(Xe.read(ft))).readShort(),Ht=It.readShort(),Ar=It.readShort(),rr=It.readShort(),pr=It.readShort(),this.cache[Ve]=Mt===-1?new Ot(It,Ht,Ar,rr,pr):new Vt(It,Mt,Ht,Ar,rr,pr),this.cache[Ve]))},at.prototype.encode=function(Ve,Xe,gt){var ft,Ge,Mt,It,rr;for(Mt=[],Ge=[],It=0,rr=Xe.length;It<rr;It++)ft=Ve[Xe[It]],Ge.push(Mt.length),ft&&(Mt=Mt.concat(ft.encode(gt)));return Ge.push(Mt.length),{table:Mt,offsets:Ge}},at}(),Vt=function(){function ze(at,Ve,Xe,gt,ft,Ge){this.raw=at,this.numberOfContours=Ve,this.xMin=Xe,this.yMin=gt,this.xMax=ft,this.yMax=Ge,this.compound=!1}return ze.prototype.encode=function(){return this.raw.data},ze}(),Ot=function(){function ze(at,Ve,Xe,gt,ft){var Ge,Mt;for(this.raw=at,this.xMin=Ve,this.yMin=Xe,this.xMax=gt,this.yMax=ft,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Ge=this.raw;Mt=Ge.readShort(),this.glyphOffsets.push(Ge.pos),this.glyphIDs.push(Ge.readShort()),32&Mt;)Ge.pos+=1&Mt?4:2,128&Mt?Ge.pos+=8:64&Mt?Ge.pos+=4:8&Mt&&(Ge.pos+=2)}return ze.prototype.encode=function(at){var Ve,Xe,gt,ft,Ge;for(Xe=new lt(Ft.call(this.raw.data)),Ve=gt=0,ft=(Ge=this.glyphIDs).length;gt<ft;Ve=++gt)Ge[Ve],Xe.pos=this.glyphOffsets[Ve];return Xe.data},ze}(),ur=function(ze){function at(){return at.__super__.constructor.apply(this,arguments)}return ie(at,ke),at.prototype.tag="loca",at.prototype.parse=function(Ve){var Xe;return Ve.pos=this.offset,Xe=this.file.head.indexToLocFormat,this.offsets=Xe===0?function(){var gt,ft,Ge;for(Ge=[],gt=0,ft=this.length;gt<ft;gt+=2)Ge.push(2*Ve.readUInt16());return Ge}.call(this):function(){var gt,ft,Ge;for(Ge=[],gt=0,ft=this.length;gt<ft;gt+=4)Ge.push(Ve.readUInt32());return Ge}.call(this)},at.prototype.indexOf=function(Ve){return this.offsets[Ve]},at.prototype.lengthOf=function(Ve){return this.offsets[Ve+1]-this.offsets[Ve]},at.prototype.encode=function(Ve,Xe){for(var gt=new Uint32Array(this.offsets.length),ft=0,Ge=0,Mt=0;Mt<gt.length;++Mt)if(gt[Mt]=ft,Ge<Xe.length&&Xe[Ge]==Mt){++Ge,gt[Mt]=ft;var It=this.offsets[Mt],rr=this.offsets[Mt+1]-It;0<rr&&(ft+=rr)}for(var Ht=new Array(4*gt.length),pr=0;pr<gt.length;++pr)Ht[4*pr+3]=255>[pr],Ht[4*pr+2]=(65280>[pr])>>8,Ht[4*pr+1]=(16711680>[pr])>>16,Ht[4*pr]=(4278190080>[pr])>>24;return Ht},at}(),Zt=function(){function ze(at){this.font=at,this.subset={},this.unicodes={},this.next=33}return ze.prototype.generateCmap=function(){var at,Ve,Xe,gt,ft;for(Ve in gt=this.font.cmap.tables[0].codeMap,at={},ft=this.subset)Xe=ft[Ve],at[Ve]=gt[Xe];return at},ze.prototype.glyphsFor=function(at){var Ve,Xe,gt,ft,Ge,Mt,It;for(gt={},Ge=0,Mt=at.length;Ge<Mt;Ge++)gt[ft=at[Ge]]=this.font.glyf.glyphFor(ft);for(ft in Ve=[],gt)((Xe=gt[ft])!=null?Xe.compound:void 0)&&Ve.push.apply(Ve,Xe.glyphIDs);if(0<Ve.length)for(ft in It=this.glyphsFor(Ve))Xe=It[ft],gt[ft]=Xe;return gt},ze.prototype.encode=function(at,Ve){var Xe,gt,ft,Ge,Mt,It,rr,Ht,pr,Ar,Nr,Fr,tn,Jr,Lr;for(gt in Xe=le.encode(this.generateCmap(),"unicode"),Ge=this.glyphsFor(at),Nr={0:0},Lr=Xe.charMap)Nr[(It=Lr[gt]).old]=It.new;for(Fr in Ar=Xe.maxGlyphID,Ge)Fr in Nr||(Nr[Fr]=Ar++);return Ht=function(Xr){var Tr,lr;for(Tr in lr={},Xr)lr[Xr[Tr]]=Tr;return lr}(Nr),pr=Object.keys(Ht).sort(function(Xr,Tr){return Xr-Tr}),tn=function(){var Xr,Tr,lr;for(lr=[],Xr=0,Tr=pr.length;Xr<Tr;Xr++)Mt=pr[Xr],lr.push(Ht[Mt]);return lr}(),ft=this.font.glyf.encode(Ge,tn,Nr),rr=this.font.loca.encode(ft.offsets,tn),Jr={cmap:this.font.cmap.raw(),glyf:ft.table,loca:rr,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(Ve)},this.font.os2.exists&&(Jr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Jr)},ze}();de.API.PDFObject=function(){var ze;function at(){}return ze=function(Xe,gt){return(Array(gt+1).join("0")+Xe).slice(-gt)},at.convert=function(Ve){var Xe,gt,ft,Ge;if(Array.isArray(Ve))return"["+function(){var Mt,It,rr;for(rr=[],Mt=0,It=Ve.length;Mt<It;Mt++)Xe=Ve[Mt],rr.push(at.convert(Xe));return rr}().join(" ")+"]";if(typeof Ve=="string")return"/"+Ve;if(Ve!=null?Ve.isString:void 0)return"("+Ve+")";if(Ve instanceof Date)return"(D:"+ze(Ve.getUTCFullYear(),4)+ze(Ve.getUTCMonth(),2)+ze(Ve.getUTCDate(),2)+ze(Ve.getUTCHours(),2)+ze(Ve.getUTCMinutes(),2)+ze(Ve.getUTCSeconds(),2)+"Z)";if({}.toString.call(Ve)!=="[object Object]")return""+Ve;for(gt in ft=["<<"],Ve)Ge=Ve[gt],ft.push("/"+gt+" "+at.convert(Ge));return ft.push(">>"),ft.join(`
|
|
|
`)},at}()}(Bt),Be=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof d!="undefined"&&d||Function('return typeof this === "object" && this.content')()||Function("return this")(),ht=function(){var de,ue,se;function ae(ye){var Ce,Oe,Te,xe,ke,lt,At,ee,ie,z,$,le,ge,Ae;for(this.data=ye,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},lt=null;;){switch(Ce=this.readUInt32(),ie=function(){var Me,Ze;for(Ze=[],Me=0;Me<4;++Me)Ze.push(String.fromCharCode(this.data[this.pos++]));return Ze}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(Ce);break;case"fcTL":lt&&this.animation.frames.push(lt),this.pos+=4,lt={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},ke=this.readUInt16(),xe=this.readUInt16()||100,lt.delay=1e3*ke/xe,lt.disposeOp=this.data[this.pos++],lt.blendOp=this.data[this.pos++],lt.data=[];break;case"IDAT":case"fdAT":for(ie==="fdAT"&&(this.pos+=4,Ce-=4),ye=(lt!=null?lt.data:void 0)||this.imgData,le=0;0<=Ce?le<Ce:Ce<le;0<=Ce?++le:--le)ye.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Te=this.palette.length/3,this.transparency.indexed=this.read(Ce),this.transparency.indexed.length>Te)throw new Error("More transparent colors than palette size");if(0<(z=Te-this.transparency.indexed.length))for(ge=0;0<=z?ge<z:z<ge;0<=z?++ge:--ge)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Ce)[0];break;case 2:this.transparency.rgb=this.read(Ce)}break;case"tEXt":At=($=this.read(Ce)).indexOf(0),ee=String.fromCharCode.apply(String,$.slice(0,At)),this.text[ee]=String.fromCharCode.apply(String,$.slice(At+1));break;case"IEND":return lt&&this.animation.frames.push(lt),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Ae=this.colorType)===4||Ae===6,Oe=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Oe,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=Ce}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}ae.load=function(ye,Ce,Oe){var Te;return typeof Ce=="function"&&(Oe=Ce),(Te=new XMLHttpRequest).open("GET",ye,!0),Te.responseType="arraybuffer",Te.onload=function(){var xe;return xe=new ae(new Uint8Array(Te.response||Te.mozResponseArrayBuffer)),typeof(Ce!=null?Ce.getContext:void 0)=="function"&&xe.render(Ce),typeof Oe=="function"?Oe(xe):void 0},Te.send(null)},ae.prototype.read=function(ye){var Ce,Oe;for(Oe=[],Ce=0;0<=ye?Ce<ye:ye<Ce;0<=ye?++Ce:--Ce)Oe.push(this.data[this.pos++]);return Oe},ae.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},ae.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},ae.prototype.decodePixels=function(ye){var Ce=this.pixelBitlength/8,Oe=new Uint8Array(this.width*this.height*Ce),Te=0,xe=this;if(ye==null&&(ye=this.imgData),ye.length===0)return new Uint8Array(0);function ke(lt,At,ee,ie){var z,$,le,ge,Ae,Me,Ze,kt,Jt,Et,Ft,Kt,Vt,Ot,ur,Zt,ze,at,Ve,Xe,gt,ft=Math.ceil((xe.width-lt)/ee),Ge=Math.ceil((xe.height-At)/ie),Mt=xe.width==ft&&xe.height==Ge;for(Ot=Ce*ft,Kt=Mt?Oe:new Uint8Array(Ot*Ge),Me=ye.length,$=Vt=0;Vt<Ge&&Te<Me;){switch(ye[Te++]){case 0:for(ge=ze=0;ze<Ot;ge=ze+=1)Kt[$++]=ye[Te++];break;case 1:for(ge=at=0;at<Ot;ge=at+=1)z=ye[Te++],Ae=ge<Ce?0:Kt[$-Ce],Kt[$++]=(z+Ae)%256;break;case 2:for(ge=Ve=0;Ve<Ot;ge=Ve+=1)z=ye[Te++],le=(ge-ge%Ce)/Ce,ur=Vt&&Kt[(Vt-1)*Ot+le*Ce+ge%Ce],Kt[$++]=(ur+z)%256;break;case 3:for(ge=Xe=0;Xe<Ot;ge=Xe+=1)z=ye[Te++],le=(ge-ge%Ce)/Ce,Ae=ge<Ce?0:Kt[$-Ce],ur=Vt&&Kt[(Vt-1)*Ot+le*Ce+ge%Ce],Kt[$++]=(z+Math.floor((Ae+ur)/2))%256;break;case 4:for(ge=gt=0;gt<Ot;ge=gt+=1)z=ye[Te++],le=(ge-ge%Ce)/Ce,Ae=ge<Ce?0:Kt[$-Ce],Vt===0?ur=Zt=0:(ur=Kt[(Vt-1)*Ot+le*Ce+ge%Ce],Zt=le&&Kt[(Vt-1)*Ot+(le-1)*Ce+ge%Ce]),Ze=Ae+ur-Zt,kt=Math.abs(Ze-Ae),Et=Math.abs(Ze-ur),Ft=Math.abs(Ze-Zt),Jt=kt<=Et&&kt<=Ft?Ae:Et<=Ft?ur:Zt,Kt[$++]=(z+Jt)%256;break;default:throw new Error("Invalid filter algorithm: "+ye[Te-1])}if(!Mt){var It=((At+Vt*ie)*xe.width+lt)*Ce,rr=Vt*Ot;for(ge=0;ge<ft;ge+=1){for(var Ht=0;Ht<Ce;Ht+=1)Oe[It++]=Kt[rr++];It+=(ee-1)*Ce}}Vt++}}return ye=(ye=new Gt(ye)).getBytes(),xe.interlaceMethod==1?(ke(0,0,8,8),ke(4,0,8,8),ke(0,4,4,8),ke(2,0,4,4),ke(0,2,2,4),ke(1,0,2,2),ke(0,1,1,2)):ke(0,0,1,1),Oe},ae.prototype.decodePalette=function(){var ye,Ce,Oe,Te,xe,ke,lt,At,ee;for(Oe=this.palette,ke=this.transparency.indexed||[],xe=new Uint8Array((ke.length||0)+Oe.length),Te=0,Oe.length,Ce=lt=ye=0,At=Oe.length;lt<At;Ce=lt+=3)xe[Te++]=Oe[Ce],xe[Te++]=Oe[Ce+1],xe[Te++]=Oe[Ce+2],xe[Te++]=(ee=ke[ye++])!=null?ee:255;return xe},ae.prototype.copyToImageData=function(ye,Ce){var Oe,Te,xe,ke,lt,At,ee,ie,z,$,le;if(Te=this.colors,z=null,Oe=this.hasAlphaChannel,this.palette.length&&(z=(le=this._decodedPalette)!=null?le:this._decodedPalette=this.decodePalette(),Te=4,Oe=!0),ie=(xe=ye.data||ye).length,lt=z||Ce,ke=At=0,Te===1)for(;ke<ie;)ee=z?4*Ce[ke/4]:At,$=lt[ee++],xe[ke++]=$,xe[ke++]=$,xe[ke++]=$,xe[ke++]=Oe?lt[ee++]:255,At=ee;else for(;ke<ie;)ee=z?4*Ce[ke/4]:At,xe[ke++]=lt[ee++],xe[ke++]=lt[ee++],xe[ke++]=lt[ee++],xe[ke++]=Oe?lt[ee++]:255,At=ee},ae.prototype.decode=function(){var ye;return ye=new Uint8Array(this.width*this.height*4),this.copyToImageData(ye,this.decodePixels()),ye};try{ue=Be.document.createElement("canvas"),se=ue.getContext("2d")}catch(ye){return-1}return de=function(Ce){var Oe;return se.width=Ce.width,se.height=Ce.height,se.clearRect(0,0,Ce.width,Ce.height),se.putImageData(Ce,0,0),(Oe=new Image).src=ue.toDataURL(),Oe},ae.prototype.decodeFrames=function(ye){var Ce,Oe,Te,xe,ke,lt,At,ee;if(this.animation){for(ee=[],Oe=ke=0,lt=(At=this.animation.frames).length;ke<lt;Oe=++ke)Ce=At[Oe],Te=ye.createImageData(Ce.width,Ce.height),xe=this.decodePixels(new Uint8Array(Ce.data)),this.copyToImageData(Te,xe),Ce.imageData=Te,ee.push(Ce.image=de(Te));return ee}},ae.prototype.renderFrame=function(ye,Ce){var Oe,Te,xe;return Oe=(Te=this.animation.frames)[Ce],xe=Te[Ce-1],Ce===0&&ye.clearRect(0,0,this.width,this.height),(xe!=null?xe.disposeOp:void 0)===1?ye.clearRect(xe.xOffset,xe.yOffset,xe.width,xe.height):(xe!=null?xe.disposeOp:void 0)===2&&ye.putImageData(xe.imageData,xe.xOffset,xe.yOffset),Oe.blendOp===0&&ye.clearRect(Oe.xOffset,Oe.yOffset,Oe.width,Oe.height),ye.drawImage(Oe.image,Oe.xOffset,Oe.yOffset)},ae.prototype.animate=function(ye){var Ce,Oe,Te,xe,ke,lt,At=this;return Oe=0,lt=this.animation,xe=lt.numFrames,Te=lt.frames,ke=lt.numPlays,(Ce=function(){var ie,z;if(ie=Oe++%xe,z=Te[ie],At.renderFrame(ye,ie),1<xe&&Oe/xe<ke)return At.animation._timeout=setTimeout(Ce,z.delay)})()},ae.prototype.stopAnimation=function(){var ye;return clearTimeout((ye=this.animation)!=null?ye._timeout:void 0)},ae.prototype.render=function(ye){var Ce,Oe;return ye._png&&ye._png.stopAnimation(),ye._png=this,ye.width=this.width,ye.height=this.height,Ce=ye.getContext("2d"),this.animation?(this.decodeFrames(Ce),this.animate(Ce)):(Oe=Ce.createImageData(this.width,this.height),this.copyToImageData(Oe,this.decodePixels()),Ce.putImageData(Oe,0,0))},ae}(),Be.PNG=ht;var hr=function(){function de(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return de.prototype={ensureBuffer:function(se){var ae=this.buffer,ye=ae?ae.byteLength:0;if(se<ye)return ae;for(var Ce=512;Ce<se;)Ce<<=1;for(var Oe=new Uint8Array(Ce),Te=0;Te<ye;++Te)Oe[Te]=ae[Te];return this.buffer=Oe},getByte:function(){for(var se=this.pos;this.bufferLength<=se;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(se){var ae=this.pos;if(se){this.ensureBuffer(ae+se);for(var ye=ae+se;!this.eof&&this.bufferLength<ye;)this.readBlock();var Ce=this.bufferLength;Ce<ye&&(ye=Ce)}else{for(;!this.eof;)this.readBlock();ye=this.bufferLength}return this.pos=ye,this.buffer.subarray(ae,ye)},lookChar:function(){for(var se=this.pos;this.bufferLength<=se;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var se=this.pos;this.bufferLength<=se;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(se,ae,ye){for(var Ce=se+ae;this.bufferLength<=Ce&&!this.eof;)this.readBlock();return new Stream(this.buffer,se,ae,ye)},skip:function(se){se||(se=1),this.pos+=se},reset:function(){this.pos=0}},de}(),Gt=function(){if(typeof Uint32Array!="undefined"){var de=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ue=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),se=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),ae=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],ye=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(Oe.prototype=Object.create(hr.prototype)).getBits=function(Te){for(var xe,ke=this.codeSize,lt=this.codeBuf,At=this.bytes,ee=this.bytesPos;ke<Te;)(xe=At[ee++])===void 0&&Ce("Bad encoding in flate stream"),lt|=xe<<ke,ke+=8;return xe=lt&(1<<Te)-1,this.codeBuf=lt>>Te,this.codeSize=ke-=Te,this.bytesPos=ee,xe},Oe.prototype.getCode=function(Te){for(var xe=Te[0],ke=Te[1],lt=this.codeSize,At=this.codeBuf,ee=this.bytes,ie=this.bytesPos;lt<ke;){var z;(z=ee[ie++])===void 0&&Ce("Bad encoding in flate stream"),At|=z<<lt,lt+=8}var $=xe[At&(1<<ke)-1],le=$>>16,ge=65535&$;return(lt==0||lt<le||le==0)&&Ce("Bad encoding in flate stream"),this.codeBuf=At>>le,this.codeSize=lt-le,this.bytesPos=ie,ge},Oe.prototype.generateHuffmanTable=function(Te){for(var xe=Te.length,ke=0,lt=0;lt<xe;++lt)Te[lt]>ke&&(ke=Te[lt]);for(var At=1<<ke,ee=new Uint32Array(At),ie=1,z=0,$=2;ie<=ke;++ie,z<<=1,$<<=1)for(var le=0;le<xe;++le)if(Te[le]==ie){var ge=0,Ae=z;for(lt=0;lt<ie;++lt)ge=ge<<1|1&Ae,Ae>>=1;for(lt=ge;lt<At;lt+=$)ee[lt]=ie<<16|le;++z}return[ee,ke]},Oe.prototype.readBlock=function(){function Te(Ge,Mt,It,rr,Ht){for(var pr=Ge.getBits(It)+rr;0<pr--;)Mt[$++]=Ht}var xe=this.getBits(3);if(1&xe&&(this.eof=!0),(xe>>=1)!=0){var ke,lt;if(xe==1)ke=ae,lt=ye;else if(xe==2){for(var At=this.getBits(5)+257,ee=this.getBits(5)+1,ie=this.getBits(4)+4,z=Array(de.length),$=0;$<ie;)z[de[$++]]=this.getBits(3);for(var le=this.generateHuffmanTable(z),ge=0,Ae=($=0,At+ee),Me=new Array(Ae);$<Ae;){var Ze=this.getCode(le);Ze==16?Te(this,Me,2,3,ge):Ze==17?Te(this,Me,3,3,ge=0):Ze==18?Te(this,Me,7,11,ge=0):Me[$++]=ge=Ze}ke=this.generateHuffmanTable(Me.slice(0,At)),lt=this.generateHuffmanTable(Me.slice(At,Ae))}else Ce("Unknown block type in flate stream");for(var kt=(Xe=this.buffer)?Xe.length:0,Jt=this.bufferLength;;){var Et=this.getCode(ke);if(Et<256)kt<=Jt+1&&(kt=(Xe=this.ensureBuffer(Jt+1)).length),Xe[Jt++]=Et;else{if(Et==256)return void(this.bufferLength=Jt);var Ft=(Et=ue[Et-=257])>>16;0<Ft&&(Ft=this.getBits(Ft)),ge=(65535&Et)+Ft,Et=this.getCode(lt),0<(Ft=(Et=se[Et])>>16)&&(Ft=this.getBits(Ft));var Kt=(65535&Et)+Ft;kt<=Jt+ge&&(kt=(Xe=this.ensureBuffer(Jt+ge)).length);for(var Vt=0;Vt<ge;++Vt,++Jt)Xe[Jt]=Xe[Jt-Kt]}}}else{var Ot,ur=this.bytes,Zt=this.bytesPos;(Ot=ur[Zt++])===void 0&&Ce("Bad block header in flate stream");var ze=Ot;(Ot=ur[Zt++])===void 0&&Ce("Bad block header in flate stream"),ze|=Ot<<8,(Ot=ur[Zt++])===void 0&&Ce("Bad block header in flate stream");var at=Ot;(Ot=ur[Zt++])===void 0&&Ce("Bad block header in flate stream"),(at|=Ot<<8)!=(65535&~ze)&&Ce("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var Ve=this.bufferLength,Xe=this.ensureBuffer(Ve+ze),gt=Ve+ze;this.bufferLength=gt;for(var ft=Ve;ft<gt;++ft){if((Ot=ur[Zt++])===void 0){this.eof=!0;break}Xe[ft]=Ot}this.bytesPos=Zt}},Oe}function Ce(Te){throw new Error(Te)}function Oe(Te){var xe=0,ke=Te[xe++],lt=Te[xe++];ke!=-1&<!=-1||Ce("Invalid header in flate stream"),(15&ke)!=8&&Ce("Unknown compression method in flate stream"),((ke<<8)+lt)%31!=0&&Ce("Bad FCHECK in flate stream"),32<&&Ce("FDICT bit set in flate stream"),this.bytes=Te,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,hr.call(this)}}();window.tmp=Gt});try{J.exports=jsPDF}catch(p){}}).call(this,e("yLpj"))},"5RzL":function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("lwsE"),b=e.n(v),f=e("W8MJ"),i=e.n(f),r=e("7W2i"),a=e.n(r),s=e("LQ03"),l=e.n(s),n=e("q1tI"),u=e.n(n),t=e("1OyB"),c=e("vuIU"),o=e("Ji7U"),h=e("LK+K"),A=e("KQm4"),y=e("U8pU"),O=e("ODXe"),S=e("VTBJ"),E=e("qNPg"),C=e("2Qr1"),T=e("815F"),w=e("NvD2"),L=e("wPlo"),N=e("6cGi"),D=e("Kwbf"),F=e("4IlW"),R=e("YrtM"),U=e("fAei"),M=u.a.createContext(null);function j(Qt,qt){if(!Qt)return!0;var hr=Qt.data,Gt=hr.disabled,de=hr.disableCheckbox;switch(qt){case"select":return Gt;case"checkbox":return Gt||de}return!1}function P(Qt,qt){var hr=u.a.useCallback(function(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",se=arguments.length>2?arguments[2]:void 0,ae=Qt.get(de);return!se&&j(ae,ue)?null:ae},[Qt]),Gt=u.a.useCallback(function(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",se=arguments.length>2?arguments[2]:void 0,ae=qt.get(de);return!se&&j(ae,ue)?null:ae},[qt]);return[hr,Gt]}function K(Qt){return u.a.useMemo(function(){var qt=new Map,hr=new Map;return Qt.forEach(function(Gt){qt.set(Gt.key,Gt),hr.set(Gt.data.value,Gt)}),[qt,hr]},[Qt])}var H={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},_=function(qt,hr){var Gt=qt.prefixCls,de=qt.height,ue=qt.itemHeight,se=qt.virtual,ae=qt.options,ye=qt.flattenOptions,Ce=qt.multiple,Oe=qt.searchValue,Te=qt.onSelect,xe=qt.onToggleOpen,ke=qt.open,lt=qt.notFoundContent,At=qt.onMouseEnter,ee=u.a.useContext(M),ie=ee.checkable,z=ee.checkedKeys,$=ee.halfCheckedKeys,le=ee.treeExpandedKeys,ge=ee.treeDefaultExpandAll,Ae=ee.treeDefaultExpandedKeys,Me=ee.onTreeExpand,Ze=ee.treeIcon,kt=ee.showTreeIcon,Jt=ee.switcherIcon,Et=ee.treeLine,Ft=ee.treeNodeFilterProp,Kt=ee.loadData,Vt=ee.treeLoadedKeys,Ot=ee.treeMotion,ur=ee.onTreeLoad,Zt=u.a.useRef(),ze=Object(R.a)(function(){return ae},[ke,ae],function(Un,Wn){return Wn[0]&&Un[1]!==Wn[1]}),at=K(ye),Ve=Object(O.a)(at,2),Xe=Ve[0],gt=Ve[1],ft=P(Xe,gt),Ge=Object(O.a)(ft,2),Mt=Ge[0],It=Ge[1],rr=u.a.useMemo(function(){return z.map(function(Un){var Wn=It(Un);return Wn?Wn.key:null})},[z]),Ht=u.a.useMemo(function(){return ie?{checked:rr,halfChecked:$}:null},[rr,$,ie]);u.a.useEffect(function(){if(ke&&!Ce&&rr.length){var Un;(Un=Zt.current)===null||Un===void 0||Un.scrollTo({key:rr[0]})}},[ke]);var pr=String(Oe).toLowerCase(),Ar=function(Wn){return pr?String(Wn[Ft]).toLowerCase().includes(pr):!1},Nr=u.a.useState(Ae),Fr=Object(O.a)(Nr,2),tn=Fr[0],Jr=Fr[1],Lr=u.a.useState(null),Xr=Object(O.a)(Lr,2),Tr=Xr[0],lr=Xr[1],fr=u.a.useMemo(function(){return le?Object(A.a)(le):Oe?Tr:tn},[tn,Tr,pr,le]);u.a.useEffect(function(){Oe&&lr(ye.map(function(Un){return Un.key}))},[Oe]);var sr=function(Wn){Jr(Wn),lr(Wn),Me&&Me(Wn)},dr=function(Wn){Wn.preventDefault()},Sr=function(Wn,Jn){var Qn=Jn.node.key,Vn=Mt(Qn,ie?"checkbox":"select");Vn!==null&&Te(Vn.data.value,{selected:!z.includes(Vn.data.value)}),Ce||xe(!1)},Qr=u.a.useState(null),cn=Object(O.a)(Qr,2),Dn=cn[0],jr=cn[1],Ln=Mt(Dn);if(u.a.useImperativeHandle(hr,function(){return{onKeyDown:function(Wn){var Jn,Qn=Wn.which;switch(Qn){case F.a.UP:case F.a.DOWN:case F.a.LEFT:case F.a.RIGHT:(Jn=Zt.current)===null||Jn===void 0||Jn.onKeyDown(Wn);break;case F.a.ENTER:{Ln!==null&&Sr(null,{node:{key:Dn},selected:!z.includes(Ln.data.value)});break}case F.a.ESC:xe(!1)}},onKeyUp:function(){}}}),ze.length===0)return u.a.createElement("div",{role:"listbox",className:"".concat(Gt,"-empty"),onMouseDown:dr},lt);var gn={};return Vt&&(gn.loadedKeys=Vt),fr&&(gn.expandedKeys=fr),u.a.createElement("div",{onMouseDown:dr,onMouseEnter:At},Ln&&ke&&u.a.createElement("span",{style:H,"aria-live":"assertive"},Ln.data.value),u.a.createElement(U.b,Object.assign({ref:Zt,focusable:!1,prefixCls:"".concat(Gt,"-tree"),treeData:ze,height:de,itemHeight:ue,virtual:se,multiple:Ce,icon:Ze,showIcon:kt,switcherIcon:Jt,showLine:Et,loadData:Oe?null:Kt,motion:Ot,checkable:ie,checkStrictly:!0,checkedKeys:Ht,selectedKeys:ie?[]:rr,defaultExpandAll:ge},gn,{onActiveChange:jr,onSelect:Sr,onCheck:Sr,onExpand:sr,onLoad:ur,filterTreeNode:Ar})))},Z=u.a.forwardRef(_);Z.displayName="OptionList";var Y=Z,k=function(){return null},Q=k,X=e("Ff2n"),he=e("Zm9Q");function te(Qt){return Object(he.a)(Qt).map(function(qt){if(!u.a.isValidElement(qt)||!qt.type)return null;var hr=qt.key,Gt=qt.props,de=Gt.children,ue=Gt.value,se=Object(X.a)(Gt,["children","value"]),ae=Object(S.a)({key:hr,value:ue},se),ye=te(de);return ye.length&&(ae.children=ye),ae}).filter(function(qt){return qt})}function pe(Qt){if(!Qt)return Qt;var qt=Object(S.a)({},Qt);return"props"in qt||Object.defineProperty(qt,"props",{get:function(){return Object(D.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),qt}}),qt}function Se(Qt,qt,hr,Gt,de){var ue=null,se=null;function ae(){function ye(Ce){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Ce.map(function(xe,ke){var lt="".concat(Oe,"-").concat(ke),At=hr.includes(xe.value),ee=ye(xe.children||[],lt,At),ie=u.a.createElement(Q,Object.assign({},xe),ee.map(function($){return $.node}));if(qt===xe.value&&(ue=ie),At){var z={pos:lt,node:ie,children:ee};return Te||se.push(z),z}return null}).filter(function(xe){return xe})}se||(se=[],ye(Gt),se.sort(function(Ce,Oe){var Te=Ce.node.props.value,xe=Oe.node.props.value,ke=hr.indexOf(Te),lt=hr.indexOf(xe);return ke-lt}))}Object.defineProperty(Qt,"triggerNode",{get:function(){return Object(D.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),ae(),ue}}),Object.defineProperty(Qt,"allCheckedNodes",{get:function(){return Object(D.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),ae(),de?se:se.map(function(Ce){var Oe=Ce.node;return Oe})}})}function we(Qt){return Array.isArray(Qt)?Qt:Qt!==void 0?[Qt]:[]}function We(Qt,qt){var hr=new Map;return qt.forEach(function(Gt){var de=Gt.data;hr.set(de.value,de)}),Qt.map(function(Gt){return pe(hr.get(Gt))})}function qe(Qt,qt){var hr=We([Qt],qt)[0];return hr?hr.disabled:!1}function yt(Qt){return Qt.disabled||Qt.disableCheckbox||Qt.checkable===!1}function _e(Qt){for(var qt=Qt.parent,hr=0,Gt=qt;Gt;)Gt=Gt.parent,hr+=1;return hr}function je(Qt){function qt(Gt){return(Gt||[]).map(function(de){var ue=de.value,se=de.key,ae=de.children,ye=Object(S.a)(Object(S.a)({},de),{},{key:"key"in de?se:ue});return ae&&(ye.children=qt(ae)),ye})}var hr=Object(T.d)(qt(Qt),!0);return hr.map(function(Gt){return{key:Gt.data.key,data:Gt.data,level:_e(Gt)}})}function Ct(Qt){return function(qt,hr){var Gt=hr[Qt];return String(Gt).toLowerCase().includes(String(qt).toLowerCase())}}function ct(Qt,qt,hr){var Gt=hr.optionFilterProp,de=hr.filterOption;if(de===!1)return qt;var ue;typeof de=="function"?ue=de:ue=Ct(Gt);function se(ae){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ae.map(function(Ce){var Oe=Ce.children,Te=ye||ue(Qt,pe(Ce)),xe=se(Oe||[],Te);return Te||xe.length?Object(S.a)(Object(S.a)({},Ce),{},{children:xe}):null}).filter(function(Ce){return Ce})}return se(qt)}function nt(Qt,qt,hr,Gt){var de=new Map;return we(qt).forEach(function(ue){ue&&Object(y.a)(ue)==="object"&&"value"in ue&&de.set(ue.value,ue)}),Qt.map(function(ue){var se={value:ue},ae=hr(ue,"select",!0),ye=ae?Gt(ae.data):ue;if(de.has(ue)){var Ce=de.get(ue);se.label="label"in Ce?Ce.label:ye,"halfChecked"in Ce&&(se.halfChecked=Ce.halfChecked)}else se.label=ye;return se})}function bt(Qt,qt){var hr=new Set(Qt);return hr.add(qt),Array.from(hr)}function dt(Qt,qt){var hr=new Set(Qt);return hr.delete(qt),Array.from(hr)}function vt(Qt){var qt=Qt.searchPlaceholder,hr=Qt.treeCheckStrictly,Gt=Qt.treeCheckable,de=Qt.labelInValue,ue=Qt.value,se=Qt.multiple;Object(D.a)(!qt,"`searchPlaceholder` has been removed."),hr&&de===!1&&Object(D.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(de||hr)&&Object(D.a)(we(ue).every(function(ae){return ae&&Object(y.a)(ae)==="object"&&"value"in ae}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),hr||se||Gt?Object(D.a)(!ue||Array.isArray(ue),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(D.a)(!Array.isArray(ue),"`value` should not be array when `TreeSelect` is single mode.")}var Qe=vt,mt=10;function Pe(Qt,qt){var hr=qt.id,Gt=qt.pId,de=qt.rootPId,ue={},se=[],ae=Qt.map(function(ye){var Ce=Object(S.a)({},ye),Oe=Ce[hr];return ue[Oe]=Ce,Ce.key=Ce.key||Oe,Ce});return ae.forEach(function(ye){var Ce=ye[Gt],Oe=ue[Ce];Oe&&(Oe.children=Oe.children||[],Oe.children.push(ye)),(Ce===de||!Oe&&de===null)&&se.push(ye)}),se}function De(Qt,qt){var hr=0,Gt=new Set;function de(ue){return(ue||[]).map(function(se){var ae=se.key,ye=se.value,Ce=se.children,Oe=Object(X.a)(se,["key","value","children"]),Te="value"in se?ye:ae,xe=Object(S.a)(Object(S.a)({},Oe),{},{key:ae!=null?ae:Te,value:Te,title:qt(se)});return"children"in se&&(xe.children=de(Ce)),xe})}return de(Qt)}function Ie(Qt,qt,hr){var Gt=hr.getLabelProp,de=hr.simpleMode,ue=u.a.useRef({});return Qt?(ue.current.formatTreeData=ue.current.treeData===Qt?ue.current.formatTreeData:De(de?Pe(Qt,Object(S.a)({id:"id",pId:"pId",rootPId:null},de!==!0?de:{})):Qt,Gt),ue.current.treeData=Qt):ue.current.formatTreeData=ue.current.children===qt?ue.current.formatTreeData:De(te(qt),Gt),ue.current.formatTreeData}var ot="SHOW_ALL",wt="SHOW_PARENT",Bt="SHOW_CHILD";function _t(Qt,qt,hr){var Gt=new Set(Qt);return qt===Bt?Qt.filter(function(de){var ue=hr[de];return!(ue&&ue.children&&ue.children.every(function(se){var ae=se.node;return yt(ae)||Gt.has(ae.key)}))}):qt===wt?Qt.filter(function(de){var ue=hr[de],se=ue?ue.parent:null;return!(se&&!yt(se.node)&&Gt.has(se.node.key))}):Qt}function Ue(Qt,qt){var hr=qt.value,Gt=qt.getEntityByValue,de=qt.getEntityByKey,ue=qt.treeConduction,se=qt.showCheckedStrategy,ae=qt.conductKeyEntities,ye=qt.getLabelProp;return u.a.useMemo(function(){var Ce=Qt;if(ue){var Oe=_t(Qt.map(function(Te){var xe=Gt(Te);return xe?xe.key:Te}),se,ae);Ce=Oe.map(function(Te){var xe=de(Te);return xe?xe.data.value:Te})}return nt(Ce,hr,Gt,ye)},[Qt,hr,ue,se,Gt])}var zt=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],xt=Object(E.a)({prefixCls:"rc-tree-select",components:{optionList:Y},convertChildrenToData:function(){return null},flattenOptions:je,getLabeledValue:C.e,filterOptions:ct,isValueDisabled:qe,findValueOption:We,omitDOMProps:function(qt){var hr=Object(S.a)({},qt);return zt.forEach(function(Gt){delete hr[Gt]}),hr}});xt.displayName="Select";var Pt=n.forwardRef(function(Qt,qt){var hr=Qt.multiple,Gt=Qt.treeCheckable,de=Qt.treeCheckStrictly,ue=Qt.showCheckedStrategy,se=ue===void 0?"SHOW_CHILD":ue,ae=Qt.labelInValue,ye=Qt.loadData,Ce=Qt.treeLoadedKeys,Oe=Qt.treeNodeFilterProp,Te=Oe===void 0?"value":Oe,xe=Qt.treeNodeLabelProp,ke=Qt.treeDataSimpleMode,lt=Qt.treeData,At=Qt.treeExpandedKeys,ee=Qt.treeDefaultExpandedKeys,ie=Qt.treeDefaultExpandAll,z=Qt.children,$=Qt.treeIcon,le=Qt.showTreeIcon,ge=Qt.switcherIcon,Ae=Qt.treeLine,Me=Qt.treeMotion,Ze=Qt.filterTreeNode,kt=Qt.dropdownPopupAlign,Jt=Qt.onChange,Et=Qt.onTreeExpand,Ft=Qt.onTreeLoad,Kt=Qt.onDropdownVisibleChange,Vt=Qt.onSelect,Ot=Qt.onDeselect,ur=Gt||de,Zt=hr||ur,ze=Gt&&!de,at=de||ae,Ve=n.useRef(null);n.useImperativeHandle(qt,function(){return{focus:Ve.current.focus,blur:Ve.current.blur}});var Xe=function(Qn){return lt&&Qn.label||Qn.title},gt=function(Qn){return xe?Qn[xe]:Xe(Qn)},ft=Ie(lt,z,{getLabelProp:Xe,simpleMode:ke}),Ge=Object(n.useMemo)(function(){return je(ft)},[ft]),Mt=K(Ge),It=Object(O.a)(Mt,2),rr=It[0],Ht=It[1],pr=P(rr,Ht),Ar=Object(O.a)(pr,2),Nr=Ar[0],Fr=Ar[1],tn=Object(n.useMemo)(function(){return ze?Object(T.a)(ft):{keyEntities:null}},[ft,Gt,de]),Jr=tn.keyEntities,Lr=Object(N.a)(Qt.defaultValue,{value:Qt.value}),Xr=Object(O.a)(Lr,2),Tr=Xr[0],lr=Xr[1],fr=function(Qn){var Vn=[],yn=[];return Qn.forEach(function(on){Fr(on)?yn.push(on):Vn.push(on)}),{missingRawValues:Vn,existRawValues:yn}},sr=Object(n.useMemo)(function(){var Jn=[],Qn=[];if(we(Tr).forEach(function(Ci){if(Ci&&Object(y.a)(Ci)==="object"&&"value"in Ci)if(Ci.halfChecked&&de){var Gn=Fr(Ci.value);Jn.push(Gn?Gn.key:Ci.value)}else Qn.push(Ci.value);else Qn.push(Ci)}),ze){var Vn=fr(Qn),yn=Vn.missingRawValues,on=Vn.existRawValues,ia=on.map(function(Ci){return Fr(Ci).key}),xa=Object(w.a)(ia,!0,Jr),ta=xa.checkedKeys,Ni=xa.halfCheckedKeys;return[[].concat(Object(A.a)(yn),Object(A.a)(ta.map(function(Ci){return Nr(Ci).data.value}))),Ni]}return[Qn,Jn]},[Tr,Zt,at,Gt,de]),dr=Object(O.a)(sr,2),Sr=dr[0],Qr=dr[1],cn=Ue(Sr,{treeConduction:ze,value:Tr,showCheckedStrategy:se,conductKeyEntities:Jr,getEntityByValue:Fr,getEntityByKey:Nr,getLabelProp:gt}),Dn=function(Qn,Vn,yn){if(lr(Zt?Qn:Qn[0]),Jt){var on=Qn;if(ze&&se!=="SHOW_ALL"){var ia=Qn.map(function(On){var Nn=Fr(On);return Nn?Nn.key:On}),xa=_t(ia,se,Jr);on=xa.map(function(On){var Nn=Nr(On);return Nn?Nn.data.value:On})}var ta=Vn||{triggerValue:void 0,selected:void 0},Ni=ta.triggerValue,Ci=ta.selected,Gn=at?nt(on,Tr,Fr,gt):on;if(de){var Ia=Qr.map(function(On){var Nn=Nr(On);return Nn?Nn.data.value:On}).filter(function(On){return!on.includes(On)});Gn=[].concat(Object(A.a)(Gn),Object(A.a)(nt(Ia,Tr,Fr,gt)))}var mn={preValue:cn,triggerValue:Ni},In=!0;(de||yn==="selection"&&!Ci)&&(In=!1),Se(mn,Ni,Qn,ft,In),ur?mn.checked=Ci:mn.selected=Ci,Jt(Zt?Gn:Gn[0],at?null:on.map(function(On){var Nn=Fr(On);return Nn?gt(Nn.data):null}),mn)}},jr=function(Qn,Vn,yn){var on=Qn;if(!Zt)Dn([Qn],{selected:!0,triggerValue:Qn},yn);else{var ia=bt(Sr,Qn);if(ze){var xa=fr(ia),ta=xa.missingRawValues,Ni=xa.existRawValues,Ci=Ni.map(function(mn){return Fr(mn).key}),Gn=Object(w.a)(Ci,!0,Jr),Ia=Gn.checkedKeys;ia=[].concat(Object(A.a)(ta),Object(A.a)(Ia.map(function(mn){return Nr(mn).data.value})))}Dn(ia,{selected:!0,triggerValue:Qn},yn)}Vt&&Vt(on,Vn)},Ln=function(Qn,Vn,yn){var on=Qn,ia=dt(Sr,Qn);if(ze){var xa=fr(ia),ta=xa.missingRawValues,Ni=xa.existRawValues,Ci=Ni.map(function(mn){return Fr(mn).key}),Gn=Object(w.a)(Ci,{checked:!1,halfCheckedKeys:Qr},Jr),Ia=Gn.checkedKeys;ia=[].concat(Object(A.a)(ta),Object(A.a)(Ia.map(function(mn){return Nr(mn).data.value})))}Dn(ia,{selected:!1,triggerValue:Qn},yn),Ot&&Ot(on,Vn)},gn=function(){Dn([],null,"clear")},Un=n.useCallback(function(Jn){if(Kt){var Qn={};Object.defineProperty(Qn,"documentClickClose",{get:function(){return Object(D.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Kt(Jn,Qn)}},[Kt]),Wn={optionLabelProp:null,optionFilterProp:Te,dropdownAlign:kt,internalProps:{mark:L.a,onClear:gn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:jr,onRawDeselect:Ln}};return"filterTreeNode"in Qt&&(Wn.filterOption=Ze),n.createElement(M.Provider,{value:{checkable:ur,loadData:ye,treeLoadedKeys:Ce,onTreeLoad:Ft,checkedKeys:Sr,halfCheckedKeys:Qr,treeDefaultExpandAll:ie,treeExpandedKeys:At,treeDefaultExpandedKeys:ee,onTreeExpand:Et,treeIcon:$,treeMotion:Me,showTreeIcon:le,switcherIcon:ge,treeLine:Ae,treeNodeFilterProp:Te}},n.createElement(xt,Object.assign({ref:Ve,mode:Zt?"multiple":null},Qt,Wn,{value:cn,labelInValue:!0,options:ft,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Un})))}),Ke=function(Qt){Object(o.a)(hr,Qt);var qt=Object(h.a)(hr);function hr(){var Gt;return Object(t.a)(this,hr),Gt=qt.apply(this,arguments),Gt.selectRef=n.createRef(),Gt.focus=function(){Gt.selectRef.current.focus()},Gt.blur=function(){Gt.selectRef.current.blur()},Gt}return Object(c.a)(hr,[{key:"render",value:function(){return n.createElement(Pt,Object.assign({ref:this.selectRef},this.props))}}]),hr}(n.Component);Ke.TreeNode=Q,Ke.SHOW_ALL=ot,Ke.SHOW_PARENT=wt,Ke.SHOW_CHILD=Bt;var Ye=Ke,$e=Ye,ut=e("TSYQ"),et=e.n(ut),oe=e("BGR+"),me=e("H84U"),it=e("uaoM"),Be=e("1vzs"),ht=e("2jpz"),Mr=e("3Nzz"),Lt=function(Qt){a()(hr,Qt);var qt=l()(hr);function hr(Gt){var de;return b()(this,hr),de=qt.call(this,Gt),de.selectRef=n.createRef(),de.renderTreeSelect=function(ue){var se=ue.getPopupContainer,ae=ue.getPrefixCls,ye=ue.renderEmpty,Ce=ue.direction,Oe=ue.virtual,Te=ue.dropdownMatchSelectWidth,xe=de.props,ke=xe.prefixCls,lt=xe.size,At=xe.className,ee=xe.treeCheckable,ie=xe.multiple,z=xe.listHeight,$=z===void 0?256:z,le=xe.listItemHeight,ge=le===void 0?26:le,Ae=xe.notFoundContent,Me=xe.switcherIcon,Ze=xe.treeLine,kt=xe.getPopupContainer,Jt=xe.dropdownClassName,Et=xe.bordered,Ft=xe.treeIcon,Kt=Ft===void 0?!1:Ft,Vt=ae("select",ke),Ot=ae("select-tree",ke),ur=ae("tree-select",ke),Zt=et()(Jt,"".concat(ur,"-dropdown"),p()({},"".concat(ur,"-dropdown-rtl"),Ce==="rtl")),ze=!!(ee||ie),at=Object(Be.a)(x()(x()({},de.props),{multiple:ze,prefixCls:Vt})),Ve=at.suffixIcon,Xe=at.itemIcon,gt=at.removeIcon,ft=at.clearIcon,Ge;Ae!==void 0?Ge=Ae:Ge=ye("Select");var Mt=Object(oe.default)(de.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return n.createElement(Mr.b.Consumer,null,function(It){var rr,Ht=lt||It,pr=et()(!ke&&ur,(rr={},p()(rr,"".concat(Vt,"-lg"),Ht==="large"),p()(rr,"".concat(Vt,"-sm"),Ht==="small"),p()(rr,"".concat(Vt,"-rtl"),Ce==="rtl"),p()(rr,"".concat(Vt,"-borderless"),!Et),rr),At);return n.createElement($e,x()({virtual:Oe,dropdownMatchSelectWidth:Te},Mt,{ref:de.selectRef,prefixCls:Vt,className:pr,listHeight:$,listItemHeight:ge,treeCheckable:ee&&n.createElement("span",{className:"".concat(Vt,"-tree-checkbox-inner")}),inputIcon:Ve,menuItemSelectedIcon:Xe,removeIcon:gt,clearIcon:ft,switcherIcon:function(Nr){return Object(ht.a)(Ot,Me,Ze,Nr)},showTreeIcon:Kt,notFoundContent:Ge,getPopupContainer:kt||se,treeMotion:null,dropdownClassName:Zt}))})},Object(it.a)(Gt.multiple!==!1||!Gt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),de}return i()(hr,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return n.createElement(me.a,null,this.renderTreeSelect)}}]),hr}(n.Component);Lt.TreeNode=Q,Lt.SHOW_ALL=ot,Lt.SHOW_PARENT=wt,Lt.SHOW_CHILD=Bt,Lt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var or=B.a=Lt},"5Uyt":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("KmBX"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},"5YOS":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("xb2K"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},"5YgA":function(J,B,e){},"5bA4":function(J,B,e){"use strict";var d=e("q1tI"),x={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"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="LeftOutlined";var b=B.a=d.forwardRef(v)},"5nXd":function(J,B,e){var d=e("MFOe"),x=d.slice,g=d.pluck,p=d.each,v=d.bind,b=d.create,f=d.isList,i=d.isFunction,r=d.isObject;J.exports={createStore:l};var a={version:"2.0.12",enabled:!1,get:function(u,t){var c=this.storage.read(this._namespacePrefix+u);return this._deserialize(c,t)},set:function(u,t){return t===void 0?this.remove(u):(this.storage.write(this._namespacePrefix+u,this._serialize(t)),t)},remove:function(u){this.storage.remove(this._namespacePrefix+u)},each:function(u){var t=this;this.storage.each(function(c,o){u.call(t,t._deserialize(c),(o||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(u){return this._namespacePrefix=="__storejs_"+u+"_"},createStore:function(){return l.apply(this,arguments)},addPlugin:function(u){this._addPlugin(u)},namespace:function(u){return l(this.storage,this.plugins,u)}};function s(){var n=typeof console=="undefined"?null:console;if(!n)return;var u=n.warn?n.warn:n.log;u.apply(n,arguments)}function l(n,u,t){t||(t=""),n&&!f(n)&&(n=[n]),u&&!f(u)&&(u=[u]);var c=t?"__storejs_"+t+"_":"",o=t?new RegExp("^"+c):null,h=/^[a-zA-Z0-9_\-]*$/;if(!h.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var A={_namespacePrefix:c,_namespaceRegexp:o,_testStorage:function(S){try{var E="__storejs__test__";S.write(E,E);var C=S.read(E)===E;return S.remove(E),C}catch(T){return!1}},_assignPluginFnProp:function(S,E){var C=this[E];this[E]=function(){var w=x(arguments,0),L=this;function N(){return C?(p(arguments,function(F,R){w[R]=F}),C.apply(L,w)):void 0}var D=[N].concat(w);return S.apply(L,D)}},_serialize:function(S){return JSON.stringify(S)},_deserialize:function(S,E){if(!S)return E;var C="";try{C=JSON.parse(S)}catch(T){C=S}return C!==void 0?C:E},_addStorage:function(S){if(this.enabled)return;this._testStorage(S)&&(this.storage=S,this.enabled=!0)},_addPlugin:function(S){var E=this;if(f(S)){p(S,function(w){E._addPlugin(w)});return}var C=g(this.plugins,function(w){return S===w});if(C)return;if(this.plugins.push(S),!i(S))throw new Error("Plugins must be function values that return objects");var T=S.call(this);if(!r(T))throw new Error("Plugins must return an object of function properties");p(T,function(w,L){if(!i(w))throw new Error("Bad plugin property: "+L+" from plugin "+S.name+". Plugins should only return functions.");E._assignPluginFnProp(w,L)})},addStorage:function(S){s("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(S)}},y=b(A,a,{plugins:[]});return y.raw={},p(y,function(O,S){i(O)&&(y.raw[S]=v(y,O))}),p(n,function(O){y._addStorage(O)}),p(u,function(O){y._addPlugin(O)}),y}},"5rEg":function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("lwsE"),p=e.n(g),v=e("W8MJ"),b=e.n(v),f=e("7W2i"),i=e.n(f),r=e("LQ03"),a=e.n(r),s=e("lSNA"),l=e.n(s),n=e("q1tI"),u=e("TSYQ"),t=e.n(u),c=e("BGR+"),o=e("kbBi"),h=e.n(o),A=e("CWQg"),y=e("0n0R"),O=Object(A.a)("text","input");function S(dt){return!!(dt.prefix||dt.suffix||dt.allowClear)}var E=function(dt){i()(Qe,dt);var vt=a()(Qe);function Qe(){var mt;return p()(this,Qe),mt=vt.apply(this,arguments),mt.containerRef=n.createRef(),mt.onInputMouseUp=function(Pe){var De;if((De=mt.containerRef.current)===null||De===void 0?void 0:De.contains(Pe.target)){var Ie=mt.props.triggerFocus;Ie()}},mt}return b()(Qe,[{key:"renderClearIcon",value:function(Pe){var De=this.props,Ie=De.allowClear,ot=De.value,wt=De.disabled,Bt=De.readOnly,_t=De.inputType,Ue=De.handleReset;if(!Ie)return null;var zt=!wt&&!Bt&&ot,xt=_t===O[0]?"".concat(Pe,"-textarea-clear-icon"):"".concat(Pe,"-clear-icon");return n.createElement(h.a,{onClick:Ue,className:t()(xt,l()({},"".concat(xt,"-hidden"),!zt)),role:"button"})}},{key:"renderSuffix",value:function(Pe){var De=this.props,Ie=De.suffix,ot=De.allowClear;return Ie||ot?n.createElement("span",{className:"".concat(Pe,"-suffix")},this.renderClearIcon(Pe),Ie):null}},{key:"renderLabeledIcon",value:function(Pe,De){var Ie,ot=this.props,wt=ot.focused,Bt=ot.value,_t=ot.prefix,Ue=ot.className,zt=ot.size,xt=ot.suffix,Pt=ot.disabled,Ke=ot.allowClear,Ye=ot.direction,$e=ot.style,ut=ot.readOnly,et=ot.bordered,oe=this.renderSuffix(Pe);if(!S(this.props))return Object(y.a)(De,{value:Bt});var me=_t?n.createElement("span",{className:"".concat(Pe,"-prefix")},_t):null,it=t()(Ue,"".concat(Pe,"-affix-wrapper"),(Ie={},l()(Ie,"".concat(Pe,"-affix-wrapper-focused"),wt),l()(Ie,"".concat(Pe,"-affix-wrapper-disabled"),Pt),l()(Ie,"".concat(Pe,"-affix-wrapper-sm"),zt==="small"),l()(Ie,"".concat(Pe,"-affix-wrapper-lg"),zt==="large"),l()(Ie,"".concat(Pe,"-affix-wrapper-input-with-clear-btn"),xt&&Ke&&Bt),l()(Ie,"".concat(Pe,"-affix-wrapper-rtl"),Ye==="rtl"),l()(Ie,"".concat(Pe,"-affix-wrapper-readonly"),ut),l()(Ie,"".concat(Pe,"-affix-wrapper-borderless"),!et),Ie));return n.createElement("span",{ref:this.containerRef,className:it,style:$e,onMouseUp:this.onInputMouseUp},me,Object(y.a)(De,{style:null,value:Bt,className:F(Pe,et,zt,Pt)}),oe)}},{key:"renderInputWithLabel",value:function(Pe,De){var Ie,ot,wt=this.props,Bt=wt.addonBefore,_t=wt.addonAfter,Ue=wt.style,zt=wt.size,xt=wt.className,Pt=wt.direction;if(!Bt&&!_t)return De;var Ke="".concat(Pe,"-group"),Ye="".concat(Ke,"-addon"),$e=Bt?n.createElement("span",{className:Ye},Bt):null,ut=_t?n.createElement("span",{className:Ye},_t):null,et=t()("".concat(Pe,"-wrapper"),(Ie={},l()(Ie,Ke,Bt||_t),l()(Ie,"".concat(Ke,"-rtl"),Pt==="rtl"),Ie)),oe=t()(xt,"".concat(Pe,"-group-wrapper"),(ot={},l()(ot,"".concat(Pe,"-group-wrapper-sm"),zt==="small"),l()(ot,"".concat(Pe,"-group-wrapper-lg"),zt==="large"),l()(ot,"".concat(Pe,"-group-wrapper-rtl"),Pt==="rtl"),ot));return n.createElement("span",{className:oe,style:Ue},n.createElement("span",{className:et},$e,Object(y.a)(De,{style:null}),ut))}},{key:"renderTextAreaWithClearIcon",value:function(Pe,De){var Ie,ot=this.props,wt=ot.value,Bt=ot.allowClear,_t=ot.className,Ue=ot.style,zt=ot.direction,xt=ot.bordered;if(!Bt)return Object(y.a)(De,{value:wt});var Pt=t()(_t,"".concat(Pe,"-affix-wrapper"),"".concat(Pe,"-affix-wrapper-textarea-with-clear-btn"),(Ie={},l()(Ie,"".concat(Pe,"-affix-wrapper-rtl"),zt==="rtl"),l()(Ie,"".concat(Pe,"-affix-wrapper-borderless"),!xt),Ie));return n.createElement("span",{className:Pt,style:Ue},Object(y.a)(De,{style:null,value:wt}),this.renderClearIcon(Pe))}},{key:"render",value:function(){var Pe=this.props,De=Pe.prefixCls,Ie=Pe.inputType,ot=Pe.element;return Ie===O[0]?this.renderTextAreaWithClearIcon(De,ot):this.renderInputWithLabel(De,this.renderLabeledIcon(De,ot))}}]),Qe}(n.Component),C=E,T=e("H84U"),w=e("3Nzz"),L=e("uaoM");function N(dt){return typeof dt=="undefined"||dt===null?"":dt}function D(dt,vt,Qe){if(Qe){var mt=vt;if(vt.type==="click"){mt=Object.create(vt),mt.target=dt,mt.currentTarget=dt;var Pe=dt.value;dt.value="",Qe(mt),dt.value=Pe;return}Qe(mt)}}function F(dt,vt,Qe,mt,Pe){var De;return t()(dt,(De={},l()(De,"".concat(dt,"-sm"),Qe==="small"),l()(De,"".concat(dt,"-lg"),Qe==="large"),l()(De,"".concat(dt,"-disabled"),mt),l()(De,"".concat(dt,"-rtl"),Pe==="rtl"),l()(De,"".concat(dt,"-borderless"),!vt),De))}var R=function(dt){i()(Qe,dt);var vt=a()(Qe);function Qe(mt){var Pe;p()(this,Qe),Pe=vt.call(this,mt),Pe.direction="ltr",Pe.focus=function(){Pe.input.focus()},Pe.saveClearableInput=function(Ie){Pe.clearableInput=Ie},Pe.saveInput=function(Ie){Pe.input=Ie},Pe.onFocus=function(Ie){var ot=Pe.props.onFocus;Pe.setState({focused:!0},Pe.clearPasswordValueAttribute),ot&&ot(Ie)},Pe.onBlur=function(Ie){var ot=Pe.props.onBlur;Pe.setState({focused:!1},Pe.clearPasswordValueAttribute),ot&&ot(Ie)},Pe.handleReset=function(Ie){Pe.setValue("",function(){Pe.focus()}),D(Pe.input,Ie,Pe.props.onChange)},Pe.renderInput=function(Ie,ot,wt){var Bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},_t=Pe.props,Ue=_t.className,zt=_t.addonBefore,xt=_t.addonAfter,Pt=_t.size,Ke=_t.disabled,Ye=Object(c.default)(Pe.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return n.createElement("input",x()({autoComplete:Bt.autoComplete},Ye,{onChange:Pe.handleChange,onFocus:Pe.onFocus,onBlur:Pe.onBlur,onKeyDown:Pe.handleKeyDown,className:t()(F(Ie,wt,Pt||ot,Ke,Pe.direction),l()({},Ue,Ue&&!zt&&!xt)),ref:Pe.saveInput}))},Pe.clearPasswordValueAttribute=function(){Pe.removePasswordTimeout=setTimeout(function(){Pe.input&&Pe.input.getAttribute("type")==="password"&&Pe.input.hasAttribute("value")&&Pe.input.removeAttribute("value")})},Pe.handleChange=function(Ie){Pe.setValue(Ie.target.value,Pe.clearPasswordValueAttribute),D(Pe.input,Ie,Pe.props.onChange)},Pe.handleKeyDown=function(Ie){var ot=Pe.props,wt=ot.onPressEnter,Bt=ot.onKeyDown;Ie.keyCode===13&&wt&&wt(Ie),Bt&&Bt(Ie)},Pe.renderComponent=function(Ie){var ot=Ie.getPrefixCls,wt=Ie.direction,Bt=Ie.input,_t=Pe.state,Ue=_t.value,zt=_t.focused,xt=Pe.props,Pt=xt.prefixCls,Ke=xt.bordered,Ye=Ke===void 0?!0:Ke,$e=ot("input",Pt);return Pe.direction=wt,n.createElement(w.b.Consumer,null,function(ut){return n.createElement(C,x()({size:ut},Pe.props,{prefixCls:$e,inputType:"input",value:N(Ue),element:Pe.renderInput($e,ut,Ye,Bt),handleReset:Pe.handleReset,ref:Pe.saveClearableInput,direction:wt,focused:zt,triggerFocus:Pe.focus,bordered:Ye}))})};var De=typeof mt.value=="undefined"?mt.defaultValue:mt.value;return Pe.state={value:De,focused:!1,prevValue:mt.value},Pe}return b()(Qe,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Pe){return S(Pe)!==S(this.props)&&Object(L.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(Pe,De){this.props.value===void 0&&this.setState({value:Pe},De)}},{key:"render",value:function(){return n.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Pe,De){var Ie=De.prevValue,ot={prevValue:Pe.value};return(Pe.value!==void 0||Ie!==Pe.value)&&(ot.value=Pe.value),ot}}]),Qe}(n.Component);R.defaultProps={type:"text"};var U=R,M=function(vt){return n.createElement(T.a,null,function(Qe){var mt,Pe=Qe.getPrefixCls,De=Qe.direction,Ie=vt.prefixCls,ot=vt.className,wt=ot===void 0?"":ot,Bt=Pe("input-group",Ie),_t=t()(Bt,(mt={},l()(mt,"".concat(Bt,"-lg"),vt.size==="large"),l()(mt,"".concat(Bt,"-sm"),vt.size==="small"),l()(mt,"".concat(Bt,"-compact"),vt.compact),l()(mt,"".concat(Bt,"-rtl"),De==="rtl"),mt),wt);return n.createElement("span",{className:_t,style:vt.style,onMouseEnter:vt.onMouseEnter,onMouseLeave:vt.onMouseLeave,onFocus:vt.onFocus,onBlur:vt.onBlur},vt.children)})},j=M,P=e("c+Xe"),K=e("w6Tc"),H=e.n(K),_=e("gZBC"),Z=e.n(_),Y=e("2/Rp"),k=function(dt,vt){var Qe={};for(var mt in dt)Object.prototype.hasOwnProperty.call(dt,mt)&&vt.indexOf(mt)<0&&(Qe[mt]=dt[mt]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,mt=Object.getOwnPropertySymbols(dt);Pe<mt.length;Pe++)vt.indexOf(mt[Pe])<0&&Object.prototype.propertyIsEnumerable.call(dt,mt[Pe])&&(Qe[mt[Pe]]=dt[mt[Pe]]);return Qe},Q=n.forwardRef(function(dt,vt){var Qe=n.useRef(null),mt=function(Ue){var zt=dt.onChange,xt=dt.onSearch;Ue&&Ue.target&&Ue.type==="click"&&xt&&xt(Ue.target.value,Ue),zt&&zt(Ue)},Pe=function(Ue){var zt;document.activeElement===((zt=Qe.current)===null||zt===void 0?void 0:zt.input)&&Ue.preventDefault()},De=function(Ue){var zt,xt=dt.onSearch,Pt=dt.loading,Ke=dt.disabled;if(Pt||Ke)return;xt&&xt((zt=Qe.current)===null||zt===void 0?void 0:zt.input.value,Ue)},Ie=function(Ue){var zt=dt.enterButton,xt=dt.size;return zt?n.createElement(w.b.Consumer,{key:"enterButton"},function(Pt){return n.createElement(Y.a,{className:"".concat(Ue,"-button"),type:"primary",size:xt||Pt},n.createElement(Z.a,null))}):n.createElement(Z.a,{className:"".concat(Ue,"-icon"),key:"loadingIcon"})},ot=function(Ue){var zt=dt.suffix,xt=dt.enterButton,Pt=dt.loading;if(Pt&&!xt)return[zt,Ie(Ue)];if(xt)return zt;var Ke=n.createElement(H.a,{className:"".concat(Ue,"-icon"),key:"searchIcon",onClick:De});return zt?[Object(y.c)(zt,null,{key:"suffix"}),Ke]:Ke},wt=function(Ue,zt){var xt=dt.enterButton,Pt=dt.disabled,Ke=dt.addonAfter,Ye=dt.loading,$e="".concat(Ue,"-button");if(Ye&&xt)return[Ie(Ue),Ke];if(!xt)return Ke;var ut,et=xt,oe=et.type&&et.type.__ANT_BUTTON===!0;return oe||et.type==="button"?ut=Object(y.a)(et,x()({onMouseDown:Pe,onClick:De,key:"enterButton"},oe?{className:$e,size:zt}:{})):ut=n.createElement(Y.a,{className:$e,type:"primary",size:zt,disabled:Pt,key:"enterButton",onMouseDown:Pe,onClick:De},xt===!0?n.createElement(H.a,null):xt),Ke?[ut,Object(y.c)(Ke,null,{key:"addonAfter"})]:ut},Bt=function(Ue){var zt=Ue.getPrefixCls,xt=Ue.direction,Pt=dt.prefixCls,Ke=dt.inputPrefixCls,Ye=dt.enterButton,$e=dt.className,ut=dt.size,et=k(dt,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete et.onSearch,delete et.loading;var oe=zt("input-search",Pt),me=zt("input",Ke),it=function(ht){var Mr;if(Ye){var Lt;Mr=t()(oe,$e,(Lt={},l()(Lt,"".concat(oe,"-rtl"),xt==="rtl"),l()(Lt,"".concat(oe,"-enter-button"),!!Ye),l()(Lt,"".concat(oe,"-").concat(ht),!!ht),Lt))}else Mr=t()(oe,$e,l()({},"".concat(oe,"-rtl"),xt==="rtl"));return Mr};return n.createElement(w.b.Consumer,null,function(Be){return n.createElement(U,x()({ref:Object(P.a)(Qe,vt),onPressEnter:De},et,{size:ut||Be,prefixCls:me,addonAfter:wt(oe,ut||Be),suffix:ot(oe),onChange:mt,className:it(ut||Be)}))})};return n.createElement(T.a,null,Bt)});Q.defaultProps={enterButton:!1},Q.displayName="Search";var X=Q,he=e("Y1PL"),te=function(dt){i()(Qe,dt);var vt=a()(Qe);function Qe(mt){var Pe;p()(this,Qe),Pe=vt.call(this,mt),Pe.focus=function(){Pe.resizableTextArea.textArea.focus()},Pe.saveTextArea=function(Ie){Pe.resizableTextArea=Ie==null?void 0:Ie.resizableTextArea},Pe.saveClearableInput=function(Ie){Pe.clearableInput=Ie},Pe.handleChange=function(Ie){Pe.setValue(Ie.target.value),D(Pe.resizableTextArea.textArea,Ie,Pe.props.onChange)},Pe.handleReset=function(Ie){Pe.setValue("",function(){Pe.focus()}),D(Pe.resizableTextArea.textArea,Ie,Pe.props.onChange)},Pe.renderTextArea=function(Ie,ot){return n.createElement(he.default,x()({},Object(c.default)(Pe.props,["allowClear","bordered"]),{className:t()(Pe.props.className,l()({},"".concat(Ie,"-borderless"),!ot)),prefixCls:Ie,onChange:Pe.handleChange,ref:Pe.saveTextArea}))},Pe.renderComponent=function(Ie){var ot=Ie.getPrefixCls,wt=Ie.direction,Bt=Pe.state.value,_t=Pe.props,Ue=_t.prefixCls,zt=_t.bordered,xt=zt===void 0?!0:zt,Pt=ot("input",Ue);return n.createElement(C,x()({},Pe.props,{prefixCls:Pt,direction:wt,inputType:"text",value:N(Bt),element:Pe.renderTextArea(Pt,xt),handleReset:Pe.handleReset,ref:Pe.saveClearableInput,triggerFocus:Pe.focus,bordered:xt}))};var De=typeof mt.value=="undefined"?mt.defaultValue:mt.value;return Pe.state={value:De},Pe}return b()(Qe,[{key:"setValue",value:function(Pe,De){this.props.value===void 0&&this.setState({value:Pe},De)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return n.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Pe){return Pe.value!==void 0?{value:Pe.value}:null}}]),Qe}(n.Component),pe=te,Se=e("J4zp"),we=e.n(Se),We=e("qPY4"),qe=e.n(We),yt=e("fUL4"),_e=e.n(yt),je=function(dt,vt){var Qe={};for(var mt in dt)Object.prototype.hasOwnProperty.call(dt,mt)&&vt.indexOf(mt)<0&&(Qe[mt]=dt[mt]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,mt=Object.getOwnPropertySymbols(dt);Pe<mt.length;Pe++)vt.indexOf(mt[Pe])<0&&Object.prototype.propertyIsEnumerable.call(dt,mt[Pe])&&(Qe[mt[Pe]]=dt[mt[Pe]]);return Qe},Ct={click:"onClick",hover:"onMouseOver"},ct=n.forwardRef(function(dt,vt){var Qe=Object(n.useState)(!1),mt=we()(Qe,2),Pe=mt[0],De=mt[1],Ie=function(){var _t=dt.disabled;if(_t)return;De(!Pe)},ot=function(_t){var Ue,zt=dt.action,xt=dt.iconRender,Pt=xt===void 0?function(){return null}:xt,Ke=Ct[zt]||"",Ye=Pt(Pe),$e=(Ue={},l()(Ue,Ke,Ie),l()(Ue,"className","".concat(_t,"-icon")),l()(Ue,"key","passwordIcon"),l()(Ue,"onMouseDown",function(et){et.preventDefault()}),l()(Ue,"onMouseUp",function(et){et.preventDefault()}),Ue);return n.cloneElement(n.isValidElement(Ye)?Ye:n.createElement("span",null,Ye),$e)},wt=function(_t){var Ue=_t.getPrefixCls,zt=dt.className,xt=dt.prefixCls,Pt=dt.inputPrefixCls,Ke=dt.size,Ye=dt.visibilityToggle,$e=je(dt,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),ut=Ue("input",Pt),et=Ue("input-password",xt),oe=Ye&&ot(et),me=t()(et,zt,l()({},"".concat(et,"-").concat(Ke),!!Ke)),it=x()(x()({},Object(c.default)($e,["suffix","iconRender"])),{type:Pe?"text":"password",className:me,prefixCls:ut,suffix:oe});return Ke&&(it.size=Ke),n.createElement(U,x()({ref:vt},it))};return n.createElement(T.a,null,wt)});ct.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(vt){return vt?n.createElement(qe.a,null):n.createElement(_e.a,null)}},ct.displayName="Password";var nt=ct;U.Group=j,U.Search=X,U.TextArea=pe,U.Password=nt;var bt=B.a=U},"5s0K":function(J,B,e){var d=e("bYtY");function x(){var g=[],p={},v;return{add:function(b,f,i,r,a){return d.isString(r)&&(a=r,r=0),p[b.id]?!1:(p[b.id]=1,g.push({el:b,target:f,time:i,delay:r,easing:a}),!0)},done:function(b){return v=b,this},start:function(){for(var b=g.length,f=0,i=g.length;f<i;f++){var r=g[f];r.el.animateTo(r.target,r.time,r.delay,r.easing,a)}return this;function a(){b--,b||(g.length=0,p={},v&&v())}}}}B.createWrap=x},"5yev":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};B.default=d},"6/nd":function(J,B,e){var d=e("ProS");d.registerAction("legendScroll","legendscroll",function(x,g){var p=x.scrollDataIndex;p!=null&&g.eachComponent({mainType:"legend",subType:"scroll",query:x},function(v){v.setScrollDataIndex(p)})})},"62sa":function(J,B,e){var d=e("bYtY"),x=e("4NO4"),g=x.makeInner,p=e("zTMp"),v=e("Ez2D"),b=d.each,f=d.curry,i=g();function r(y,O,S){var E=y.currTrigger,C=[y.x,y.y],T=y,w=y.dispatchAction||d.bind(S.dispatchAction,S),L=O.getComponent("axisPointer").coordSysAxesInfo;if(!L)return;A(C)&&(C=v({seriesIndex:T.seriesIndex,dataIndex:T.dataIndex},O).point);var N=A(C),D=T.axesInfo,F=L.axesInfo,R=E==="leave"||A(C),U={},M={},j={list:[],map:{}},P={showPointer:f(l,M),showTooltip:f(n,j)};b(L.coordSysMap,function(H,_){var Z=N||H.containPoint(C);b(L.coordSysAxesInfo[_],function(Y,k){var Q=Y.axis,X=o(D,Y);if(!R&&Z&&(!D||X)){var he=X&&X.value;he==null&&!N&&(he=Q.pointToData(C)),he!=null&&a(Y,he,P,!1,U)}})});var K={};return b(F,function(H,_){var Z=H.linkGroup;Z&&!M[_]&&b(Z.axesInfo,function(Y,k){var Q=M[k];if(Y!==H&&Q){var X=Q.value;Z.mapper&&(X=H.axis.scale.parse(Z.mapper(X,h(Y),h(H)))),K[H.key]=X}})}),b(K,function(H,_){a(F[_],H,P,!0,U)}),u(M,F,U),t(j,C,y,w),c(F,w,S),U}function a(y,O,S,E,C){var T=y.axis;if(T.scale.isBlank()||!T.containData(O))return;if(!y.involveSeries){S.showPointer(y,O);return}var w=s(O,y),L=w.payloadBatch,N=w.snapToValue;L[0]&&C.seriesIndex==null&&d.extend(C,L[0]),!E&&y.snap&&(T.containData(N)&&N!=null&&(O=N)),S.showPointer(y,O,L,C),S.showTooltip(y,w,N)}function s(y,O){var S=O.axis,E=S.dim,C=y,T=[],w=Number.MAX_VALUE,L=-1;return b(O.seriesModels,function(N,D){var F=N.getData().mapDimension(E,!0),R,U;if(N.getAxisTooltipData){var M=N.getAxisTooltipData(F,y,S);U=M.dataIndices,R=M.nestestValue}else{if(U=N.getData().indicesOfNearest(F[0],y,S.type==="category"?.5:null),!U.length)return;R=N.getData().get(F[0],U[0])}if(R==null||!isFinite(R))return;var j=y-R,P=Math.abs(j);P<=w&&((P<w||j>=0&&L<0)&&(w=P,L=j,C=R,T.length=0),b(U,function(K){T.push({seriesIndex:N.seriesIndex,dataIndexInside:K,dataIndex:N.getData().getRawIndex(K)})}))}),{payloadBatch:T,snapToValue:C}}function l(y,O,S,E){y[O.key]={value:S,payloadBatch:E}}function n(y,O,S,E){var C=S.payloadBatch,T=O.axis,w=T.model,L=O.axisPointerModel;if(!O.triggerTooltip||!C.length)return;var N=O.coordSys.model,D=p.makeKey(N),F=y.map[D];F||(F=y.map[D]={coordSysId:N.id,coordSysIndex:N.componentIndex,coordSysType:N.type,coordSysMainType:N.mainType,dataByAxis:[]},y.list.push(F)),F.dataByAxis.push({axisDim:T.dim,axisIndex:w.componentIndex,axisType:w.type,axisId:w.id,value:E,valueLabelOpt:{precision:L.get("label.precision"),formatter:L.get("label.formatter")},seriesDataIndices:C.slice()})}function u(y,O,S){var E=S.axesInfo=[];b(O,function(C,T){var w=C.axisPointerModel.option,L=y[T];L?(!C.useHandle&&(w.status="show"),w.value=L.value,w.seriesDataIndices=(L.payloadBatch||[]).slice()):!C.useHandle&&(w.status="hide"),w.status==="show"&&E.push({axisDim:C.axis.dim,axisIndex:C.axis.model.componentIndex,value:w.value})})}function t(y,O,S,E){if(A(O)||!y.list.length){E({type:"hideTip"});return}var C=((y.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};E({type:"showTip",escapeConnect:!0,x:O[0],y:O[1],tooltipOption:S.tooltipOption,position:S.position,dataIndexInside:C.dataIndexInside,dataIndex:C.dataIndex,seriesIndex:C.seriesIndex,dataByCoordSys:y.list})}function c(y,O,S){var E=S.getZr(),C="axisPointerLastHighlights",T=i(E)[C]||{},w=i(E)[C]={};b(y,function(D,F){var R=D.axisPointerModel.option;R.status==="show"&&b(R.seriesDataIndices,function(U){var M=U.seriesIndex+" | "+U.dataIndex;w[M]=U})});var L=[],N=[];d.each(T,function(D,F){!w[F]&&N.push(D)}),d.each(w,function(D,F){!T[F]&&L.push(D)}),N.length&&S.dispatchAction({type:"downplay",escapeConnect:!0,batch:N}),L.length&&S.dispatchAction({type:"highlight",escapeConnect:!0,batch:L})}function o(y,O){for(var S=0;S<(y||[]).length;S++){var E=y[S];if(O.axis.dim===E.axisDim&&O.axis.model.componentIndex===E.axisIndex)return E}}function h(y){var O=y.axis.model,S={},E=S.axisDim=y.axis.dim;return S.axisIndex=S[E+"AxisIndex"]=O.componentIndex,S.axisName=S[E+"AxisName"]=O.name,S.axisId=S[E+"AxisId"]=O.id,S}function A(y){return!y||y[0]==null||isNaN(y[0])||y[1]==null||isNaN(y[1])}J.exports=r},"6D9b":function(J,B,e){},"6GrX":function(J,B,e){var d=e("mFDi"),x=e("Xnb7"),g=e("bYtY"),p=g.getContext,v=g.extend,b=g.retrieve2,f=g.retrieve3,i=g.trim,r={},a=0,s=5e3,l=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,n="12px sans-serif",u={};function t(j,P){u[j]=P}function c(j,P){P=P||n;var K=j+":"+P;if(r[K])return r[K];for(var H=(j+"").split(`
|
|
|
`),_=0,Z=0,Y=H.length;Z<Y;Z++)_=Math.max(D(H[Z],P).width,_);return a>s&&(a=0,r={}),a++,r[K]=_,_}function o(j,P,K,H,_,Z,Y,k){return Y?A(j,P,K,H,_,Z,Y,k):h(j,P,K,H,_,Z,k)}function h(j,P,K,H,_,Z,Y){var k=F(j,P,_,Z,Y),Q=c(j,P);_&&(Q+=_[1]+_[3]);var X=k.outerHeight,he=y(0,Q,K),te=O(0,X,H),pe=new d(he,te,Q,X);return pe.lineHeight=k.lineHeight,pe}function A(j,P,K,H,_,Z,Y,k){var Q=R(j,{rich:Y,truncate:k,font:P,textAlign:K,textPadding:_,textLineHeight:Z}),X=Q.outerWidth,he=Q.outerHeight,te=y(0,X,K),pe=O(0,he,H);return new d(te,pe,X,he)}function y(j,P,K){return K==="right"?j-=P:K==="center"&&(j-=P/2),j}function O(j,P,K){return K==="middle"?j-=P/2:K==="bottom"&&(j-=P),j}function S(j,P,K){var H=P.textPosition,_=P.textDistance,Z=K.x,Y=K.y;_=_||0;var k=K.height,Q=K.width,X=k/2,he="left",te="top";switch(H){case"left":Z-=_,Y+=X,he="right",te="middle";break;case"right":Z+=_+Q,Y+=X,te="middle";break;case"top":Z+=Q/2,Y-=_,he="center",te="bottom";break;case"bottom":Z+=Q/2,Y+=k+_,he="center";break;case"inside":Z+=Q/2,Y+=X,he="center",te="middle";break;case"insideLeft":Z+=_,Y+=X,te="middle";break;case"insideRight":Z+=Q-_,Y+=X,he="right",te="middle";break;case"insideTop":Z+=Q/2,Y+=_,he="center";break;case"insideBottom":Z+=Q/2,Y+=k-_,he="center",te="bottom";break;case"insideTopLeft":Z+=_,Y+=_;break;case"insideTopRight":Z+=Q-_,Y+=_,he="right";break;case"insideBottomLeft":Z+=_,Y+=k-_,te="bottom";break;case"insideBottomRight":Z+=Q-_,Y+=k-_,he="right",te="bottom";break}return j=j||{},j.x=Z,j.y=Y,j.textAlign=he,j.textVerticalAlign=te,j}function E(j,P,K){var H={textPosition:j,textDistance:K};return S({},H,P)}function C(j,P,K,H,_){if(!P)return"";var Z=(j+"").split(`
|
|
|
`);_=T(P,K,H,_);for(var Y=0,k=Z.length;Y<k;Y++)Z[Y]=w(Z[Y],_);return Z.join(`
|
|
|
`)}function T(j,P,K,H){H=v({},H),H.font=P;var K=b(K,"...");H.maxIterations=b(H.maxIterations,2);var _=H.minChar=b(H.minChar,0);H.cnCharWidth=c("\u56FD",P);var Z=H.ascCharWidth=c("a",P);H.placeholder=b(H.placeholder,"");for(var Y=j=Math.max(0,j-1),k=0;k<_&&Y>=Z;k++)Y-=Z;var Q=c(K,P);return Q>Y&&(K="",Q=0),Y=j-Q,H.ellipsis=K,H.ellipsisWidth=Q,H.contentWidth=Y,H.containerWidth=j,H}function w(j,P){var K=P.containerWidth,H=P.font,_=P.contentWidth;if(!K)return"";var Z=c(j,H);if(Z<=K)return j;for(var Y=0;;Y++){if(Z<=_||Y>=P.maxIterations){j+=P.ellipsis;break}var k=Y===0?L(j,_,P.ascCharWidth,P.cnCharWidth):Z>0?Math.floor(j.length*_/Z):0;j=j.substr(0,k),Z=c(j,H)}return j===""&&(j=P.placeholder),j}function L(j,P,K,H){for(var _=0,Z=0,Y=j.length;Z<Y&&_<P;Z++){var k=j.charCodeAt(Z);_+=0<=k&&k<=127?K:H}return Z}function N(j){return c("\u56FD",j)}function D(j,P){return u.measureText(j,P)}u.measureText=function(j,P){var K=p();return K.font=P||n,K.measureText(j)};function F(j,P,K,H,_){j!=null&&(j+="");var Z=b(H,N(P)),Y=j?j.split(`
|
|
|
`):[],k=Y.length*Z,Q=k,X=!0;if(K&&(Q+=K[0]+K[2]),j&&_){X=!1;var he=_.outerHeight,te=_.outerWidth;if(he!=null&&Q>he)j="",Y=[];else if(te!=null)for(var pe=T(te-(K?K[1]+K[3]:0),P,_.ellipsis,{minChar:_.minChar,placeholder:_.placeholder}),Se=0,we=Y.length;Se<we;Se++)Y[Se]=w(Y[Se],pe)}return{lines:Y,height:k,outerHeight:Q,lineHeight:Z,canCacheByTextString:X}}function R(j,P){var K={lines:[],width:0,height:0};if(j!=null&&(j+=""),!j)return K;for(var H=l.lastIndex=0,_;(_=l.exec(j))!=null;){var Z=_.index;Z>H&&U(K,j.substring(H,Z)),U(K,_[2],_[1]),H=l.lastIndex}H<j.length&&U(K,j.substring(H,j.length));var Y=K.lines,k=0,Q=0,X=[],he=P.textPadding,te=P.truncate,pe=te&&te.outerWidth,Se=te&&te.outerHeight;he&&(pe!=null&&(pe-=he[1]+he[3]),Se!=null&&(Se-=he[0]+he[2]));for(var we=0;we<Y.length;we++){for(var We=Y[we],qe=0,yt=0,_e=0;_e<We.tokens.length;_e++){var je=We.tokens[_e],Ct=je.styleName&&P.rich[je.styleName]||{},ct=je.textPadding=Ct.textPadding,nt=je.font=Ct.font||P.font,bt=je.textHeight=b(Ct.textHeight,N(nt));if(ct&&(bt+=ct[0]+ct[2]),je.height=bt,je.lineHeight=f(Ct.textLineHeight,P.textLineHeight,bt),je.textAlign=Ct&&Ct.textAlign||P.textAlign,je.textVerticalAlign=Ct&&Ct.textVerticalAlign||"middle",Se!=null&&k+je.lineHeight>Se)return{lines:[],width:0,height:0};je.textWidth=c(je.text,nt);var dt=Ct.textWidth,vt=dt==null||dt==="auto";if(typeof dt=="string"&&dt.charAt(dt.length-1)==="%")je.percentWidth=dt,X.push(je),dt=0;else{if(vt){dt=je.textWidth;var Qe=Ct.textBackgroundColor,mt=Qe&&Qe.image;mt&&(mt=x.findExistImage(mt),x.isImageReady(mt)&&(dt=Math.max(dt,mt.width*bt/mt.height)))}var Pe=ct?ct[1]+ct[3]:0;dt+=Pe;var De=pe!=null?pe-yt:null;De!=null&&De<dt&&(!vt||De<Pe?(je.text="",je.textWidth=dt=0):(je.text=C(je.text,De-Pe,nt,te.ellipsis,{minChar:te.minChar}),je.textWidth=c(je.text,nt),dt=je.textWidth+Pe))}yt+=je.width=dt,Ct&&(qe=Math.max(qe,je.lineHeight))}We.width=yt,We.lineHeight=qe,k+=qe,Q=Math.max(Q,yt)}K.outerWidth=K.width=b(P.textWidth,Q),K.outerHeight=K.height=b(P.textHeight,k),he&&(K.outerWidth+=he[1]+he[3],K.outerHeight+=he[0]+he[2]);for(var we=0;we<X.length;we++){var je=X[we],Ie=je.percentWidth;je.width=parseInt(Ie,10)/100*Q}return K}function U(j,P,K){for(var H=P==="",_=P.split(`
|
|
|
`),Z=j.lines,Y=0;Y<_.length;Y++){var k=_[Y],Q={styleName:K,text:k,isLineHolder:!k&&!H};if(Y)Z.push({tokens:[Q]});else{var X=(Z[Z.length-1]||(Z[0]={tokens:[]})).tokens,he=X.length;he===1&&X[0].isLineHolder?X[0]=Q:(k||!he||H)&&X.push(Q)}}}function M(j){var P=(j.fontSize||j.fontFamily)&&[j.fontStyle,j.fontWeight,(j.fontSize||12)+"px",j.fontFamily||"sans-serif"].join(" ");return P&&i(P)||j.textFont||j.font}B.DEFAULT_FONT=n,B.$override=t,B.getWidth=c,B.getBoundingRect=o,B.adjustTextX=y,B.adjustTextY=O,B.calculateTextPosition=S,B.adjustTextPositionOnRect=E,B.truncateText=C,B.getLineHeight=N,B.measureText=D,B.parsePlainText=F,B.parseRichText=R,B.makeFont=M},"6Hfg":function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("FhB9")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="SwapRightOutlined";var f=g.forwardRef(b);B.default=f},"6Ic6":function(J,B,e){var d=e("bYtY"),x=d.each,g=e("4fz+"),p=e("iRjW"),v=e("Yl7c"),b=e("4NO4"),f=e("IwbS"),i=e("9H2F"),r=i.createTask,a=e("zM3Q"),s=b.makeInner(),l=a();function n(){this.group=new g,this.uid=p.getUID("viewChart"),this.renderTask=r({plan:o,reset:h}),this.renderTask.context={view:this}}n.prototype={type:"chart",init:function(O,S){},render:function(O,S,E,C){},highlight:function(O,S,E,C){c(O.getData(),C,"emphasis")},downplay:function(O,S,E,C){c(O.getData(),C,"normal")},remove:function(O,S){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var u=n.prototype;u.updateView=u.updateLayout=u.updateVisual=function(O,S,E,C){this.render(O,S,E,C)};function t(O,S,E){if(O&&(O.trigger(S,E),O.isGroup&&!f.isHighDownDispatcher(O)))for(var C=0,T=O.childCount();C<T;C++)t(O.childAt(C),S,E)}function c(O,S,E){var C=b.queryDataIndex(O,S),T=S&&S.highlightKey!=null?f.getHighlightDigit(S.highlightKey):null;C!=null?x(b.normalizeToArray(C),function(w){t(O.getItemGraphicEl(w),E,T)}):O.eachItemGraphicEl(function(w){t(w,E,T)})}v.enableClassExtend(n,["dispose"]),v.enableClassManagement(n,{registerWhenExtend:!0}),n.markUpdateMethod=function(O,S){s(O).updateMethod=S};function o(O){return l(O.model)}function h(O){var S=O.model,E=O.ecModel,C=O.api,T=O.payload,w=S.pipelineContext.progressiveRender,L=O.view,N=T&&s(T).updateMethod,D=w?"incrementalPrepareRender":N&&L[N]?N:"render";return D!=="render"&&L[D](S,E,C,T),A[D]}var A={incrementalPrepareRender:{progress:function(O,S){S.view.incrementalRender(O,S.model,S.ecModel,S.api,S.payload)}},render:{forceFirstProgress:!0,progress:function(O,S){S.view.render(S.model,S.ecModel,S.api,S.payload)}}},y=n;J.exports=y},"6MrE":function(J,B,e){},"6SEX":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("qWUW"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},"6UJt":function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("v56E"),p=e.n(g),v=e("R9oj"),b=e("5NDa")},"6VBw":function(J,B,e){"use strict";var d=e("ODXe"),x=e("rePB"),g=e("Ff2n"),p=e("q1tI"),v=e("TSYQ"),b=e.n(v),f=e("VTBJ"),i=e("Qi1f"),r={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function a(h){var A=h.primaryColor,y=h.secondaryColor;r.primaryColor=A,r.secondaryColor=y||Object(i.b)(A),r.calculated=!!y}function s(){return Object(f.a)({},r)}var l=function(A){var y=A.icon,O=A.className,S=A.onClick,E=A.style,C=A.primaryColor,T=A.secondaryColor,w=Object(g.a)(A,["icon","className","onClick","style","primaryColor","secondaryColor"]),L=r;if(C&&(L={primaryColor:C,secondaryColor:T||Object(i.b)(C)}),Object(i.f)(),Object(i.g)(Object(i.c)(y),"icon should be icon definiton, but got ".concat(y)),!Object(i.c)(y))return null;var N=y;return N&&typeof N.icon=="function"&&(N=Object(f.a)(Object(f.a)({},N),{},{icon:N.icon(L.primaryColor,L.secondaryColor)})),Object(i.a)(N.icon,"svg-".concat(N.name),Object(f.a)({className:O,onClick:S,style:E,"data-icon":N.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},w))};l.displayName="IconReact",l.getTwoToneColors=s,l.setTwoToneColors=a;var n=l;function u(h){var A=Object(i.d)(h),y=Object(d.a)(A,2),O=y[0],S=y[1];return n.setTwoToneColors({primaryColor:O,secondaryColor:S})}function t(){var h=n.getTwoToneColors();return h.calculated?[h.primaryColor,h.secondaryColor]:h.primaryColor}u("#1890ff");var c=p.forwardRef(function(h,A){var y=h.className,O=h.icon,S=h.spin,E=h.rotate,C=h.tabIndex,T=h.onClick,w=h.twoToneColor,L=Object(g.a)(h,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),N=b()("anticon",Object(x.a)({},"anticon-".concat(O.name),Boolean(O.name)),y),D=b()({"anticon-spin":!!S||O.name==="loading"}),F=C;F===void 0&&T&&(F=-1);var R=E?{msTransform:"rotate(".concat(E,"deg)"),transform:"rotate(".concat(E,"deg)")}:void 0,U=Object(i.d)(w),M=Object(d.a)(U,2),j=M[0],P=M[1];return p.createElement("span",Object.assign({role:"img","aria-label":O.name},L,{ref:A,tabIndex:F,onClick:T,className:N}),p.createElement(n,{className:D,icon:O,primaryColor:j,secondaryColor:P,style:R}))});c.displayName="AntdIcon",c.getTwoToneColor=t,c.setTwoToneColor=u;var o=B.a=c},"6cGi":function(J,B,e){"use strict";e.d(B,"a",function(){return r});var d=e("q1tI"),x=e.n(d);function g(a,s){return i(a)||f(a,s)||v(a,s)||p()}function p(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v(a,s){if(!a)return;if(typeof a=="string")return b(a,s);var l=Object.prototype.toString.call(a).slice(8,-1);if(l==="Object"&&a.constructor&&(l=a.constructor.name),l==="Map"||l==="Set")return Array.from(a);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return b(a,s)}function b(a,s){(s==null||s>a.length)&&(s=a.length);for(var l=0,n=new Array(s);l<s;l++)n[l]=a[l];return n}function f(a,s){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(a)))return;var l=[],n=!0,u=!1,t=void 0;try{for(var c=a[Symbol.iterator](),o;!(n=(o=c.next()).done)&&!(l.push(o.value),s&&l.length===s);n=!0);}catch(h){u=!0,t=h}finally{try{!n&&c.return!=null&&c.return()}finally{if(u)throw t}}return l}function i(a){if(Array.isArray(a))return a}function r(a,s){var l=s||{},n=l.defaultValue,u=l.value,t=l.onChange,c=l.postState,o=d.useState(function(){return u!==void 0?u:n!==void 0?typeof n=="function"?n():n:typeof a=="function"?a():a}),h=g(o,2),A=h[0],y=h[1],O=u!==void 0?u:A;c&&(O=c(O));function S(C){y(C),O!==C&&t&&t(C,O)}var E=d.useRef(!0);return d.useEffect(function(){if(E.current){E.current=!1;return}u===void 0&&y(u)},[u]),[O,S]}},"6fms":function(J,B,e){var d=e("SUKs"),x=e("06Qe"),g=e("bYtY"),p=g.each;function v(r){return parseInt(r,10)}function b(r,a){x.initVML(),this.root=r,this.storage=a;var s=document.createElement("div"),l=document.createElement("div");s.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",l.style.cssText="position:absolute;left:0;top:0;",r.appendChild(s),this._vmlRoot=l,this._vmlViewport=s,this.resize();var n=a.delFromStorage,u=a.addToStorage;a.delFromStorage=function(t){n.call(a,t),t&&(t.onRemove&&t.onRemove(l))},a.addToStorage=function(t){t.onAdd&&t.onAdd(l),u.call(a,t)},this._firstPaint=!0}b.prototype={constructor:b,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var a=this.getViewportRoot();if(a)return{offsetLeft:a.offsetLeft||0,offsetTop:a.offsetTop||0}},refresh:function(){var a=this.storage.getDisplayList(!0,!0);this._paintList(a)},_paintList:function(a){for(var s=this._vmlRoot,l=0;l<a.length;l++){var n=a[l];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(s),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(s),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,s),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(s),this._firstPaint=!1)},resize:function(a,s){var a=a==null?this._getWidth():a,s=s==null?this._getHeight():s;if(this._width!==a||this._height!==s){this._width=a,this._height=s;var l=this._vmlViewport.style;l.width=a+"px",l.height=s+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var a=this.root,s=a.currentStyle;return(a.clientWidth||v(s.width))-v(s.paddingLeft)-v(s.paddingRight)|0},_getHeight:function(){var a=this.root,s=a.currentStyle;return(a.clientHeight||v(s.height))-v(s.paddingTop)-v(s.paddingBottom)|0}};function f(r){return function(){d('In IE8.0 VML mode painter not support method "'+r+'"')}}p(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(r){b.prototype[r]=f(r)});var i=b;J.exports=i},"6r85":function(J,B,e){var d=e("bYtY");function x(g){if(!g||!d.isArray(g.series))return;d.each(g.series,function(p){d.isObject(p)&&p.type==="k"&&(p.type="candlestick")})}J.exports=x},"6sVZ":function(J,B){var e=Object.prototype;function d(x){var g=x&&x.constructor,p=typeof g=="function"&&g.prototype||e;return x===p}J.exports=d},"6uqw":function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("ItGF"),p=e("YOMW"),v=e("XxSj"),b=e("K4ya"),f=e("4NO4"),i=e("OELB"),r=v.mapVisual,a=v.eachVisual,s=x.isArray,l=x.each,n=i.asc,u=i.linearMap,t=x.noop,c=d.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-Infinity,Infinity],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(h,A,y){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(h,y)},optionUpdated:function(h,A){var y=this.option;g.canvasSupported||(y.realtime=!1),!A&&b.replaceVisualOption(y,h,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(h){var A=this.stateList;h=x.bind(h,this),this.controllerVisuals=b.createVisualMappings(this.option.controller,A,h),this.targetVisuals=b.createVisualMappings(this.option.target,A,h)},getTargetSeriesIndices:function(){var h=this.option.seriesIndex,A=[];return h==null||h==="all"?this.ecModel.eachSeries(function(y,O){A.push(O)}):A=f.normalizeToArray(h),A},eachTargetSeries:function(h,A){x.each(this.getTargetSeriesIndices(),function(y){h.call(A,this.ecModel.getSeriesByIndex(y))},this)},isTargetSeries:function(h){var A=!1;return this.eachTargetSeries(function(y){y===h&&(A=!0)}),A},formatValueText:function(h,A,y){var O=this.option,S=O.precision,E=this.dataBound,C=O.formatter,T,w;if(y=y||["<",">"],x.isArray(h)&&(h=h.slice(),T=!0),w=A?h:T?[L(h[0]),L(h[1])]:L(h),x.isString(C))return C.replace("{value}",T?w[0]:w).replace("{value2}",T?w[1]:w);if(x.isFunction(C))return T?C(h[0],h[1]):C(h);if(T)return h[0]===E[0]?y[0]+" "+w[1]:h[1]===E[1]?y[1]+" "+w[0]:w[0]+" - "+w[1];return w;function L(N){return N===E[0]?"min":N===E[1]?"max":(+N).toFixed(Math.min(S,20))}},resetExtent:function(){var h=this.option,A=n([h.min,h.max]);this._dataExtent=A},getDataDimension:function(h){var A=this.option.dimension,y=h.dimensions;if(A==null&&!y.length)return;if(A!=null)return h.getDimension(A);for(var O=h.dimensions,S=O.length-1;S>=0;S--){var E=O[S],C=h.getDimensionInfo(E);if(!C.isCalculationCoord)return E}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var h=this.ecModel,A=this.option,y={inRange:A.inRange,outOfRange:A.outOfRange},O=A.target||(A.target={}),S=A.controller||(A.controller={});x.merge(O,y),x.merge(S,y);var E=this.isCategory();C.call(this,O),C.call(this,S),T.call(this,O,"inRange","outOfRange"),w.call(this,S);function C(L){s(A.color)&&!L.inRange&&(L.inRange={color:A.color.slice().reverse()}),L.inRange=L.inRange||{color:h.get("gradientColor")},l(this.stateList,function(N){var D=L[N];if(x.isString(D)){var F=p.get(D,"active",E);F?(L[N]={},L[N][D]=F):delete L[N]}},this)}function T(L,N,D){var F=L[N],R=L[D];F&&!R&&(R=L[D]={},l(F,function(U,M){if(!v.isValidType(M))return;var j=p.get(M,"inactive",E);j!=null&&(R[M]=j,M==="color"&&!R.hasOwnProperty("opacity")&&!R.hasOwnProperty("colorAlpha")&&(R.opacity=[0,0]))}))}function w(L){var N=(L.inRange||{}).symbol||(L.outOfRange||{}).symbol,D=(L.inRange||{}).symbolSize||(L.outOfRange||{}).symbolSize,F=this.get("inactiveColor");l(this.stateList,function(R){var U=this.itemSize,M=L[R];M||(M=L[R]={color:E?F:[F]}),M.symbol==null&&(M.symbol=N&&x.clone(N)||(E?"roundRect":["roundRect"])),M.symbolSize==null&&(M.symbolSize=D&&x.clone(D)||(E?U[0]:[U[0],U[0]])),M.symbol=r(M.symbol,function(K){return K==="none"||K==="square"?"roundRect":K});var j=M.symbolSize;if(j!=null){var P=-Infinity;a(j,function(K){K>P&&(P=K)}),M.symbolSize=r(j,function(K){return u(K,[0,P],[0,U[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}),o=c;J.exports=o},"6usn":function(J,B,e){var d=e("bYtY");function x(p,v){return d.map(["Radius","Angle"],function(b,f){var i=this["get"+b+"Axis"](),r=v[f],a=p[f]/2,s="dataTo"+b,l=i.type==="category"?i.getBandWidth():Math.abs(i[s](r-a)-i[s](r+a));return b==="Angle"&&(l=l*Math.PI/180),l},this)}function g(p){var v=p.getRadiusAxis(),b=p.getAngleAxis(),f=v.getExtent();return f[0]>f[1]&&f.reverse(),{coordSys:{type:"polar",cx:p.cx,cy:p.cy,r:f[1],r0:f[0]},api:{coord:d.bind(function(i){var r=v.dataToRadius(i[0]),a=b.dataToAngle(i[1]),s=p.coordToPoint([r,a]);return s.push(r,a*Math.PI/180),s}),size:d.bind(x,p)}}}J.exports=g},"6xvX":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("V7ic"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},"711d":function(J,B){function e(d){return function(x){return x==null?void 0:x[d]}}J.exports=e},"72pK":function(J,B){function e(g,p,v,b,f,i){g=g||0;var r=v[1]-v[0];if(f!=null&&(f=x(f,[0,r])),i!=null&&(i=Math.max(i,f!=null?f:0)),b==="all"){var a=Math.abs(p[1]-p[0]);a=x(a,[0,r]),f=i=x(a,[f,i]),b=0}p[0]=x(p[0],v),p[1]=x(p[1],v);var s=d(p,b);p[b]+=g;var l=f||0,n=v.slice();s.sign<0?n[0]+=l:n[1]-=l,p[b]=x(p[b],n);var u=d(p,b);f!=null&&(u.sign!==s.sign||u.span<f)&&(p[1-b]=p[b]+s.sign*f);var u=d(p,b);return i!=null&&u.span>i&&(p[1-b]=p[b]+u.sign*i),p}function d(g,p){var v=g[p]-g[1-p];return{span:Math.abs(v),sign:v>0?-1:v<0?1:p?-1:1}}function x(g,p){return Math.min(p[1]!=null?p[1]:Infinity,Math.max(p[0]!=null?p[0]:-Infinity,g))}J.exports=e},"75ce":function(J,B,e){var d=e("ProS");e("IXuL"),e("8X+K");var x=e("f5Yq"),g=e("h8O9"),p=e("/d5a");e("Ae16"),d.registerVisual(x("line","circle","line")),d.registerLayout(g("line")),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,p("line"))},"75ev":function(J,B,e){var d=e("ProS");e("IWNH"),e("bNin"),e("v5uJ");var x=e("f5Yq"),g=e("yik8");d.registerVisual(x("tree","circle")),d.registerLayout(g)},"77Zs":function(J,B,e){var d=e("Xi7e");function x(){this.__data__=new d,this.size=0}J.exports=x},"7AJT":function(J,B,e){var d=e("bYtY"),x=e("hM6l"),g=function(v,b,f,i,r){x.call(this,v,b,f),this.type=i||"value",this.position=r||"bottom"};g.prototype={constructor:g,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},getGlobalExtent:function(v){var b=this.getExtent();return b[0]=this.toGlobalCoord(b[0]),b[1]=this.toGlobalCoord(b[1]),v&&b[0]>b[1]&&b.reverse(),b},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(v,b){return this.coordToData(this.toLocalCoord(v[this.dim==="x"?0:1]),b)},toLocalCoord:null,toGlobalCoord:null},d.inherits(g,x);var p=g;J.exports=p},"7DRL":function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=g.createHashMap,v=g.isString,b=g.isArray,f=g.each,i=g.assert,r=e("MEGo"),a=r.parseXML,s=p(),l={registerMap:function(u,t,c){var o;return b(t)?o=t:t.svg?o=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(c=t.specialAreas,t=t.geoJson),o=[{type:"geoJSON",source:t,specialAreas:c}]),f(o,function(h){var A=h.type;A==="geoJson"&&(A=h.type="geoJSON");var y=n[A];y(h)}),s.set(u,o)},retrieveMap:function(u){return s.get(u)}},n={geoJSON:function(u){var t=u.source;u.geoJSON=v(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(u){u.svgXML=a(u.source)}};J.exports=l},"7G+c":function(J,B,e){var d=e("bYtY"),x=d.createHashMap,g=d.isTypedArray,p=e("Yl7c"),v=p.enableClassCheck,b=e("k9D9"),f=b.SOURCE_FORMAT_ORIGINAL,i=b.SERIES_LAYOUT_BY_COLUMN,r=b.SOURCE_FORMAT_UNKNOWN,a=b.SOURCE_FORMAT_TYPED_ARRAY,s=b.SOURCE_FORMAT_KEYED_COLUMNS;function l(u){this.fromDataset=u.fromDataset,this.data=u.data||(u.sourceFormat===s?{}:[]),this.sourceFormat=u.sourceFormat||r,this.seriesLayoutBy=u.seriesLayoutBy||i,this.dimensionsDefine=u.dimensionsDefine,this.encodeDefine=u.encodeDefine&&x(u.encodeDefine),this.startIndex=u.startIndex||0,this.dimensionsDetectCount=u.dimensionsDetectCount}l.seriesDataToSource=function(u){return new l({data:u,sourceFormat:g(u)?a:f,fromDataset:!1})},v(l);var n=l;J.exports=n},"7GkX":function(J,B,e){var d=e("b80T"),x=e("A90E"),g=e("MMmD");function p(v){return g(v)?d(v):x(v)}J.exports=p},"7Kak":function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("KPFz"),p=e.n(g)},"7Phj":function(J,B,e){var d=e("bYtY"),x=e("OELB"),g=x.parsePercent,p=d.each;function v(r){var a=b(r);p(a,function(s){var l=s.seriesModels;if(!l.length)return;f(s),p(l,function(n,u){i(n,s.boxOffsetList[u],s.boxWidthList[u])})})}function b(r){var a=[],s=[];return r.eachSeriesByType("boxplot",function(l){var n=l.getBaseAxis(),u=d.indexOf(s,n);u<0&&(u=s.length,s[u]=n,a[u]={axis:n,seriesModels:[]}),a[u].seriesModels.push(l)}),a}function f(r){var a,s=r.axis,l=r.seriesModels,n=l.length,u=r.boxWidthList=[],t=r.boxOffsetList=[],c=[],o;if(s.type==="category")o=s.getBandWidth();else{var h=0;p(l,function(E){h=Math.max(h,E.getData().count())}),a=s.getExtent(),Math.abs(a[1]-a[0])/h}p(l,function(E){var C=E.get("boxWidth");d.isArray(C)||(C=[C,C]),c.push([g(C[0],o)||0,g(C[1],o)||0])});var A=o*.8-2,y=A/n*.3,O=(A-y*(n-1))/n,S=O/2-A/2;p(l,function(E,C){t.push(S),S+=y+O,u.push(Math.min(Math.max(O,c[C][0]),c[C][1]))})}function i(r,a,s){var l=r.coordinateSystem,n=r.getData(),u=s/2,t=r.get("layout")==="horizontal"?0:1,c=1-t,o=["x","y"],h=n.mapDimension(o[t]),A=n.mapDimension(o[c],!0);if(h==null||A.length<5)return;for(var y=0;y<n.count();y++){var O=n.get(h,y),S=N(O,A[2],y),E=N(O,A[0],y),C=N(O,A[1],y),T=N(O,A[3],y),w=N(O,A[4],y),L=[];D(L,C,0),D(L,T,1),L.push(E,C,w,T),F(L,E),F(L,w),F(L,S),n.setItemLayout(y,{initBaseline:S[c],ends:L})}function N(R,U,M){var j=n.get(U,M),P=[];P[t]=R,P[c]=j;var K;return isNaN(R)||isNaN(j)?K=[NaN,NaN]:(K=l.dataToPoint(P),K[t]+=a),K}function D(R,U,M){var j=U.slice(),P=U.slice();j[t]+=u,P[t]-=u,M?R.push(j,P):R.push(P,j)}function F(R,U){var M=U.slice(),j=U.slice();M[t]-=u,j[t]+=u,R.push(M,j)}}J.exports=v},"7SHv":function(J,B,e){var d=e("LPTA"),x=d.devicePixelRatio,g=e("bYtY"),p=e("SUKs"),v=e("mFDi"),b=e("BPZU"),f=e("Xmg4"),i=e("mLcG"),r=e("Dagg"),a=e("ItGF"),s=1e5,l=314159,n=.01,u=.001;function t(T){return parseInt(T,10)}function c(T){return T?T.__builtin__?!0:!(typeof T.resize!="function"||typeof T.refresh!="function"):!1}var o=new v(0,0,0,0),h=new v(0,0,0,0);function A(T,w,L){return o.copy(T.getBoundingRect()),T.transform&&o.applyTransform(T.transform),h.width=w,h.height=L,!o.intersect(h)}function y(T,w){if(T===w)return!1;if(!T||!w||T.length!==w.length)return!0;for(var L=0;L<T.length;L++)if(T[L]!==w[L])return!0;return!1}function O(T,w){for(var L=0;L<T.length;L++){var N=T[L];N.setTransform(w),w.beginPath(),N.buildPath(w,N.shape),w.clip(),N.restoreTransform(w)}}function S(T,w){var L=document.createElement("div");return L.style.cssText=["position:relative","width:"+T+"px","height:"+w+"px","padding:0","margin:0","border-width:0"].join(";")+";",L}var E=function(w,L,N){this.type="canvas";var D=!w.nodeName||w.nodeName.toUpperCase()==="CANVAS";this._opts=N=g.extend({},N||{}),this.dpr=N.devicePixelRatio||x,this._singleCanvas=D,this.root=w;var F=w.style;F&&(F["-webkit-tap-highlight-color"]="transparent",F["-webkit-user-select"]=F["user-select"]=F["-webkit-touch-callout"]="none",w.innerHTML=""),this.storage=L;var R=this._zlevelList=[],U=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,D){var j=w.width,P=w.height;N.width!=null&&(j=N.width),N.height!=null&&(P=N.height),this.dpr=N.devicePixelRatio||1,w.width=j*this.dpr,w.height=P*this.dpr,this._width=j,this._height=P;var K=new f(w,this,this.dpr);K.__builtin__=!0,K.initContext(),U[l]=K,K.zlevel=l,R.push(l),this._domRoot=w}else{this._width=this._getSize(0),this._height=this._getSize(1);var M=this._domRoot=S(this._width,this._height);w.appendChild(M)}this._hoverlayer=null,this._hoverElements=[]};E.prototype={constructor:E,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var w=this.getViewportRoot();if(w)return{offsetLeft:w.offsetLeft||0,offsetTop:w.offsetTop||0}},refresh:function(w){var L=this.storage.getDisplayList(!0),N=this._zlevelList;this._redrawId=Math.random(),this._paintList(L,w,this._redrawId);for(var D=0;D<N.length;D++){var F=N[D],R=this._layers[F];if(!R.__builtin__&&R.refresh){var U=D===0?this._backgroundColor:null;R.refresh(U)}}return this.refreshHover(),this},addHover:function(w,L){if(w.__hoverMir)return;var N=new w.constructor({style:w.style,shape:w.shape,z:w.z,z2:w.z2,silent:w.silent});return N.__from=w,w.__hoverMir=N,L&&N.setStyle(L),this._hoverElements.push(N),N},removeHover:function(w){var L=w.__hoverMir,N=this._hoverElements,D=g.indexOf(N,L);D>=0&&N.splice(D,1),w.__hoverMir=null},clearHover:function(w){for(var L=this._hoverElements,N=0;N<L.length;N++){var D=L[N].__from;D&&(D.__hoverMir=null)}L.length=0},refreshHover:function(){var w=this._hoverElements,L=w.length,N=this._hoverlayer;if(N&&N.clear(),!L)return;b(w,this.storage.displayableSortFunc),N||(N=this._hoverlayer=this.getLayer(s));var D={};N.ctx.save();for(var F=0;F<L;){var R=w[F],U=R.__from;if(!(U&&U.__zr)){w.splice(F,1),U.__hoverMir=null,L--;continue}F++,U.invisible||(R.transform=U.transform,R.invTransform=U.invTransform,R.__clipPaths=U.__clipPaths,this._doPaintEl(R,N,!0,D))}N.ctx.restore()},getHoverLayer:function(){return this.getLayer(s)},_paintList:function(w,L,N){if(this._redrawId!==N)return;L=L||!1,this._updateLayerStatus(w);var D=this._doPaintList(w,L);if(this._needsManuallyCompositing&&this._compositeManually(),!D){var F=this;i(function(){F._paintList(w,L,N)})}},_compositeManually:function(){var w=this.getLayer(l).ctx,L=this._domRoot.width,N=this._domRoot.height;w.clearRect(0,0,L,N),this.eachBuiltinLayer(function(D){D.virtual&&w.drawImage(D.dom,0,0,L,N)})},_doPaintList:function(w,L){for(var N=[],D=0;D<this._zlevelList.length;D++){var F=this._zlevelList[D],R=this._layers[F];R.__builtin__&&R!==this._hoverlayer&&(R.__dirty||L)&&N.push(R)}for(var U=!0,M=0;M<N.length;M++){var R=N[M],j=R.ctx,P={};j.save();var K=L?R.__startIndex:R.__drawIndex,H=!L&&R.incremental&&Date.now,_=H&&Date.now(),Z=R.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(R.__startIndex===R.__endIndex)R.clear(!1,Z);else if(K===R.__startIndex){var Y=w[K];(!Y.incremental||!Y.notClear||L)&&R.clear(!1,Z)}K===-1&&(console.error("For some unknown reason. drawIndex is -1"),K=R.__startIndex);for(var k=K;k<R.__endIndex;k++){var Q=w[k];if(this._doPaintEl(Q,R,L,P),Q.__dirty=Q.__dirtyText=!1,H){var X=Date.now()-_;if(X>15)break}}R.__drawIndex=k,R.__drawIndex<R.__endIndex&&(U=!1),P.prevElClipPaths&&j.restore(),j.restore()}return a.wxa&&g.each(this._layers,function(he){he&&he.ctx&&he.ctx.draw&&he.ctx.draw()}),U},_doPaintEl:function(w,L,N,D){var F=L.ctx,R=w.transform;if((L.__dirty||N)&&!w.invisible&&w.style.opacity!==0&&!(R&&!R[0]&&!R[3])&&!(w.culling&&A(w,this._width,this._height))){var U=w.__clipPaths,M=D.prevElClipPaths;(!M||y(U,M))&&(M&&(F.restore(),D.prevElClipPaths=null,D.prevEl=null),U&&(F.save(),O(U,F),D.prevElClipPaths=U)),w.beforeBrush&&w.beforeBrush(F),w.brush(F,D.prevEl||null),D.prevEl=w,w.afterBrush&&w.afterBrush(F)}},getLayer:function(w,L){this._singleCanvas&&!this._needsManuallyCompositing&&(w=l);var N=this._layers[w];return N||(N=new f("zr_"+w,this,this.dpr),N.zlevel=w,N.__builtin__=!0,this._layerConfig[w]?g.merge(N,this._layerConfig[w],!0):this._layerConfig[w-n]&&g.merge(N,this._layerConfig[w-n],!0),L&&(N.virtual=L),this.insertLayer(w,N),N.initContext()),N},insertLayer:function(w,L){var N=this._layers,D=this._zlevelList,F=D.length,R=null,U=-1,M=this._domRoot;if(N[w]){p("ZLevel "+w+" has been used already");return}if(!c(L)){p("Layer of zlevel "+w+" is not valid");return}if(F>0&&w>D[0]){for(U=0;U<F-1&&!(D[U]<w&&D[U+1]>w);U++);R=N[D[U]]}if(D.splice(U+1,0,w),N[w]=L,!L.virtual)if(R){var j=R.dom;j.nextSibling?M.insertBefore(L.dom,j.nextSibling):M.appendChild(L.dom)}else M.firstChild?M.insertBefore(L.dom,M.firstChild):M.appendChild(L.dom)},eachLayer:function(w,L){var N=this._zlevelList,D,F;for(F=0;F<N.length;F++)D=N[F],w.call(L,this._layers[D],D)},eachBuiltinLayer:function(w,L){var N=this._zlevelList,D,F,R;for(R=0;R<N.length;R++)F=N[R],D=this._layers[F],D.__builtin__&&w.call(L,D,F)},eachOtherLayer:function(w,L){var N=this._zlevelList,D,F,R;for(R=0;R<N.length;R++)F=N[R],D=this._layers[F],D.__builtin__||w.call(L,D,F)},getLayers:function(){return this._layers},_updateLayerStatus:function(w){this.eachBuiltinLayer(function(P,K){P.__dirty=P.__used=!1});function L(P){F&&(F.__endIndex!==P&&(F.__dirty=!0),F.__endIndex=P)}if(this._singleCanvas)for(var N=1;N<w.length;N++){var D=w[N];if(D.zlevel!==w[N-1].zlevel||D.incremental){this._needsManuallyCompositing=!0;break}}for(var F=null,R=0,U,N=0;N<w.length;N++){var D=w[N],M=D.zlevel,j;U!==M&&(U=M,R=0),D.incremental?(j=this.getLayer(M+u,this._needsManuallyCompositing),j.incremental=!0,R=1):j=this.getLayer(M+(R>0?n:0),this._needsManuallyCompositing),j.__builtin__||p("ZLevel "+M+" has been used by unkown layer "+j.id),j!==F&&(j.__used=!0,j.__startIndex!==N&&(j.__dirty=!0),j.__startIndex=N,j.incremental?j.__drawIndex=-1:j.__drawIndex=N,L(N),F=j),D.__dirty&&(j.__dirty=!0,j.incremental&&j.__drawIndex<0&&(j.__drawIndex=N))}L(N),this.eachBuiltinLayer(function(P,K){!P.__used&&P.getElementCount()>0&&(P.__dirty=!0,P.__startIndex=P.__endIndex=P.__drawIndex=0),P.__dirty&&P.__drawIndex<0&&(P.__drawIndex=P.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(w){w.clear()},setBackgroundColor:function(w){this._backgroundColor=w},configLayer:function(w,L){if(L){var N=this._layerConfig;N[w]?g.merge(N[w],L,!0):N[w]=L;for(var D=0;D<this._zlevelList.length;D++){var F=this._zlevelList[D];if(F===w||F===w+n){var R=this._layers[F];g.merge(R,N[w],!0)}}}},delLayer:function(w){var L=this._layers,N=this._zlevelList,D=L[w];if(!D)return;D.dom.parentNode.removeChild(D.dom),delete L[w],N.splice(g.indexOf(N,w),1)},resize:function(w,L){if(this._domRoot.style){var N=this._domRoot;N.style.display="none";var D=this._opts;if(w!=null&&(D.width=w),L!=null&&(D.height=L),w=this._getSize(0),L=this._getSize(1),N.style.display="",this._width!==w||L!==this._height){N.style.width=w+"px",N.style.height=L+"px";for(var F in this._layers)this._layers.hasOwnProperty(F)&&this._layers[F].resize(w,L);g.each(this._progressiveLayers,function(R){R.resize(w,L)}),this.refresh(!0)}this._width=w,this._height=L}else{if(w==null||L==null)return;this._width=w,this._height=L,this.getLayer(l).resize(w,L)}return this},clearLayer:function(w){var L=this._layers[w];L&&L.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(w){if(w=w||{},this._singleCanvas&&!this._compositeManually)return this._layers[l].dom;var L=new f("image",this,w.pixelRatio||this.dpr);if(L.initContext(),L.clear(!1,w.backgroundColor||this._backgroundColor),w.pixelRatio<=this.dpr){this.refresh();var N=L.dom.width,D=L.dom.height,F=L.ctx;this.eachLayer(function(P){P.__builtin__?F.drawImage(P.dom,0,0,N,D):P.renderToCanvas&&(L.ctx.save(),P.renderToCanvas(L.ctx),L.ctx.restore())})}else for(var R={},U=this.storage.getDisplayList(!0),M=0;M<U.length;M++){var j=U[M];this._doPaintEl(j,L,!0,R)}return L.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(w){var L=this._opts,N=["width","height"][w],D=["clientWidth","clientHeight"][w],F=["paddingLeft","paddingTop"][w],R=["paddingRight","paddingBottom"][w];if(L[N]!=null&&L[N]!=="auto")return parseFloat(L[N]);var U=this.root,M=document.defaultView.getComputedStyle(U);return(U[D]||t(M[N])||t(U.style[N]))-(t(M[F])||0)-(t(M[R])||0)|0},pathToImage:function(w,L){L=L||this.dpr;var N=document.createElement("canvas"),D=N.getContext("2d"),F=w.getBoundingRect(),R=w.style,U=R.shadowBlur*L,M=R.shadowOffsetX*L,j=R.shadowOffsetY*L,P=R.hasStroke()?R.lineWidth:0,K=Math.max(P/2,-M+U),H=Math.max(P/2,M+U),_=Math.max(P/2,-j+U),Z=Math.max(P/2,j+U),Y=F.width+K+H,k=F.height+_+Z;N.width=Y*L,N.height=k*L,D.scale(L,L),D.clearRect(0,0,Y,k),D.dpr=L;var Q={position:w.position,rotation:w.rotation,scale:w.scale};w.position=[K-F.x,_-F.y],w.rotation=0,w.scale=[1,1],w.updateTransform(),w&&w.brush(D);var X=r,he=new X({style:{x:0,y:0,image:N}});return Q.position!=null&&(he.position=w.position=Q.position),Q.rotation!=null&&(he.rotation=w.rotation=Q.rotation),Q.scale!=null&&(he.scale=w.scale=Q.scale),he}};var C=E;J.exports=C},"7a+S":function(J,B,e){var d=e("bYtY"),x=e("bLfw"),g=e("YXkt"),p=e("4NO4"),v=x.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(f,i,r){this._data,this._names,this.mergeDefaultAndTheme(f,r),this._initData()},mergeOption:function(f){v.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(f){f==null&&(f=this.option.currentIndex);var i=this._data.count();this.option.loop?f=(f%i+i)%i:(f>=i&&(f=i-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,i=f.data||[],r=f.axisType,a=this._names=[];if(r==="category"){var s=[];d.each(i,function(u,t){var c=p.getDataItemValue(u),o;d.isObject(u)?(o=d.clone(u),o.value=t):o=t,s.push(o),!d.isString(c)&&(c==null||isNaN(c))&&(c=""),a.push(c+"")}),i=s}var l={category:"ordinal",time:"time"}[r]||"number",n=this._data=new g([{name:"value",type:l}],this);n.initData(i,a)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),b=v;J.exports=b},"7aKB":function(J,B,e){var d=e("bYtY"),x=e("6GrX"),g=e("OELB");function p(S){return isNaN(S)?"-":(S=(S+"").split("."),S[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(S.length>1?"."+S[1]:""))}function v(S,E){return S=(S||"").toLowerCase().replace(/-(.)/g,function(C,T){return T.toUpperCase()}),E&&S&&(S=S.charAt(0).toUpperCase()+S.slice(1)),S}var b=d.normalizeCssArray,f=/([&<>"'])/g,i={"&":"&","<":"<",">":">",'"':""","'":"'"};function r(S){return S==null?"":(S+"").replace(f,function(E,C){return i[C]})}var a=["a","b","c","d","e","f","g"],s=function(S,E){return"{"+S+(E==null?"":E)+"}"};function l(S,E,C){d.isArray(E)||(E=[E]);var T=E.length;if(!T)return"";for(var w=E[0].$vars||[],L=0;L<w.length;L++){var N=a[L];S=S.replace(s(N),s(N,0))}for(var D=0;D<T;D++)for(var F=0;F<w.length;F++){var R=E[D][w[F]];S=S.replace(s(a[F],D),C?r(R):R)}return S}function n(S,E,C){return d.each(E,function(T,w){S=S.replace("{"+w+"}",C?r(T):T)}),S}function u(S,E){S=d.isString(S)?{color:S,extraCssText:E}:S||{};var C=S.color,T=S.type,E=S.extraCssText,w=S.renderMode||"html",L=S.markerId||"X";return C?w==="html"?T==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+r(C)+";"+(E||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+r(C)+";"+(E||"")+'"></span>':{renderMode:w,content:"{marker"+L+"|} ",style:{color:C}}:""}function t(S,E){return S+="","0000".substr(0,E-S.length)+S}function c(S,E,C){(S==="week"||S==="month"||S==="quarter"||S==="half-year"||S==="year")&&(S=`MM-dd
|
|
|
yyyy`);var T=g.parseDate(E),w=C?"UTC":"",L=T["get"+w+"FullYear"](),N=T["get"+w+"Month"]()+1,D=T["get"+w+"Date"](),F=T["get"+w+"Hours"](),R=T["get"+w+"Minutes"](),U=T["get"+w+"Seconds"](),M=T["get"+w+"Milliseconds"]();return S=S.replace("MM",t(N,2)).replace("M",N).replace("yyyy",L).replace("yy",L%100).replace("dd",t(D,2)).replace("d",D).replace("hh",t(F,2)).replace("h",F).replace("mm",t(R,2)).replace("m",R).replace("ss",t(U,2)).replace("s",U).replace("SSS",t(M,3)),S}function o(S){return S&&S.charAt(0).toUpperCase()+S.substr(1)}var h=x.truncateText;function A(S){return x.getBoundingRect(S.text,S.font,S.textAlign,S.textVerticalAlign,S.textPadding,S.textLineHeight,S.rich,S.truncate)}function y(S,E,C,T,w,L,N,D){return x.getBoundingRect(S,E,C,T,w,D,L,N)}function O(S,E){if(E==="_blank"||E==="blank"){var C=window.open();C.opener=null,C.location=S}else window.open(S,E)}B.addCommas=p,B.toCamelCase=v,B.normalizeCssArray=b,B.encodeHTML=r,B.formatTpl=l,B.formatTplSimple=n,B.getTooltipMarker=u,B.formatTime=c,B.capitalFirst=o,B.truncateText=h,B.getTextBoundingRect=A,B.getTextRect=y,B.windowOpen=O},"7bkD":function(J,B,e){var d=e("bYtY");function x(g,p){p=p||{};var v=g.coordinateSystem,b=g.axis,f={},i=b.position,r=b.orient,a=v.getRect(),s=[a.x,a.x+a.width,a.y,a.y+a.height],l={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};f.position=[r==="vertical"?l.vertical[i]:s[0],r==="horizontal"?l.horizontal[i]:s[3]];var n={horizontal:0,vertical:1};f.rotation=Math.PI/2*n[r];var u={top:-1,bottom:1,right:1,left:-1};f.labelDirection=f.tickDirection=f.nameDirection=u[i],g.get("axisTick.inside")&&(f.tickDirection=-f.tickDirection),d.retrieve(p.labelInside,g.get("axisLabel.inside"))&&(f.labelDirection=-f.labelDirection);var t=p.rotate;return t==null&&(t=g.get("axisLabel.rotate")),f.labelRotation=i==="top"?-t:t,f.z2=1,f}B.layout=x},"7fqy":function(J,B){function e(d){var x=-1,g=Array(d.size);return d.forEach(function(p,v){g[++x]=[v,p]}),g}J.exports=e},"7hqr":function(J,B,e){var d=e("bYtY"),x=d.each,g=d.isString;function p(f,i,r){r=r||{};var a=r.byIndex,s=r.stackedCoordDimension,l=!!(f&&f.get("stack")),n,u,t,c;if(x(i,function(y,O){g(y)&&(i[O]=y={name:y}),l&&!y.isExtraCoord&&(!a&&!n&&y.ordinalMeta&&(n=y),!u&&y.type!=="ordinal"&&y.type!=="time"&&(!s||s===y.coordDim)&&(u=y))}),u&&!a&&!n&&(a=!0),u){t="__\0ecstackresult",c="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var o=u.coordDim,h=u.type,A=0;x(i,function(y){y.coordDim===o&&A++}),i.push({name:t,coordDim:o,coordDimIndex:A,type:h,isExtraCoord:!0,isCalculationCoord:!0}),A++,i.push({name:c,coordDim:c,coordDimIndex:A,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:u&&u.name,stackedByDimension:n&&n.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:t}}function v(f,i){return!!i&&i===f.getCalculationInfo("stackedDimension")}function b(f,i){return v(f,i)?f.getCalculationInfo("stackResultDimension"):i}B.enableDataStack=p,B.isDimensionStacked=v,B.getStackedDimension=b},"7mYs":function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("IwbS"),p=e("7aKB"),v=e("OELB"),b={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"]},i=d.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(r,a,s){var l=this.group;l.removeAll();var n=r.coordinateSystem,u=n.getRangeInfo(),t=n.getOrient();this._renderDayRect(r,u,l),this._renderLines(r,u,t,l),this._renderYearText(r,u,t,l),this._renderMonthText(r,t,l),this._renderWeekText(r,u,t,l)},_renderDayRect:function(r,a,s){for(var l=r.coordinateSystem,n=r.getModel("itemStyle").getItemStyle(),u=l.getCellWidth(),t=l.getCellHeight(),c=a.start.time;c<=a.end.time;c=l.getNextNDay(c,1).time){var o=l.dataToRect([c],!1).tl,h=new g.Rect({shape:{x:o[0],y:o[1],width:u,height:t},cursor:"default",style:n});s.add(h)}},_renderLines:function(r,a,s,l){var n=this,u=r.coordinateSystem,t=r.getModel("splitLine.lineStyle").getLineStyle(),c=r.get("splitLine.show"),o=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=a.start,A=0;h.time<=a.end.time;A++){O(h.formatedDate),A===0&&(h=u.getDateInfo(a.start.y+"-"+a.start.m));var y=h.date;y.setMonth(y.getMonth()+1),h=u.getDateInfo(y)}O(u.getNextNDay(a.end.time,1).formatedDate);function O(S){n._firstDayOfMonth.push(u.getDateInfo(S)),n._firstDayPoints.push(u.dataToRect([S],!1).tl);var E=n._getLinePointsOfOneWeek(r,S,s);n._tlpoints.push(E[0]),n._blpoints.push(E[E.length-1]),c&&n._drawSplitline(E,t,l)}c&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,o,s),t,l),c&&this._drawSplitline(n._getEdgesPoints(n._blpoints,o,s),t,l)},_getEdgesPoints:function(r,a,s){var l=[r[0].slice(),r[r.length-1].slice()],n=s==="horizontal"?0:1;return l[0][n]=l[0][n]-a/2,l[1][n]=l[1][n]+a/2,l},_drawSplitline:function(r,a,s){var l=new g.Polyline({z2:20,shape:{points:r},style:a});s.add(l)},_getLinePointsOfOneWeek:function(r,a,s){var l=r.coordinateSystem;a=l.getDateInfo(a);for(var n=[],u=0;u<7;u++){var t=l.getNextNDay(a.time,u),c=l.dataToRect([t.time],!1);n[2*t.day]=c.tl,n[2*t.day+1]=c[s==="horizontal"?"bl":"tr"]}return n},_formatterLabel:function(r,a){return typeof r=="string"&&r?p.formatTplSimple(r,a):typeof r=="function"?r(a):a.nameMap},_yearTextPositionControl:function(r,a,s,l,n){a=a.slice();var u=["center","bottom"];l==="bottom"?(a[1]+=n,u=["center","top"]):l==="left"?a[0]-=n:l==="right"?(a[0]+=n,u=["center","top"]):a[1]-=n;var t=0;return(l==="left"||l==="right")&&(t=Math.PI/2),{rotation:t,position:a,style:{textAlign:u[0],textVerticalAlign:u[1]}}},_renderYearText:function(r,a,s,l){var n=r.getModel("yearLabel");if(!n.get("show"))return;var u=n.get("margin"),t=n.get("position");t||(t=s!=="horizontal"?"top":"left");var c=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],o=(c[0][0]+c[1][0])/2,h=(c[0][1]+c[1][1])/2,A=s==="horizontal"?0:1,y={top:[o,c[A][1]],bottom:[o,c[1-A][1]],left:[c[1-A][0],h],right:[c[A][0],h]},O=a.start.y;+a.end.y>+a.start.y&&(O=O+"-"+a.end.y);var S=n.get("formatter"),E={start:a.start.y,end:a.end.y,nameMap:O},C=this._formatterLabel(S,E),T=new g.Text({z2:30});g.setTextStyle(T.style,n,{text:C}),T.attr(this._yearTextPositionControl(T,y[t],s,t,u)),l.add(T)},_monthTextPositionControl:function(r,a,s,l,n){var u="left",t="top",c=r[0],o=r[1];return s==="horizontal"?(o=o+n,a&&(u="center"),l==="start"&&(t="bottom")):(c=c+n,a&&(t="middle"),l==="start"&&(u="right")),{x:c,y:o,textAlign:u,textVerticalAlign:t}},_renderMonthText:function(r,a,s){var l=r.getModel("monthLabel");if(!l.get("show"))return;var n=l.get("nameMap"),u=l.get("margin"),t=l.get("position"),c=l.get("align"),o=[this._tlpoints,this._blpoints];x.isString(n)&&(n=b[n.toUpperCase()]||[]);var h=t==="start"?0:1,A=a==="horizontal"?0:1;u=t==="start"?-u:u;for(var y=c==="center",O=0;O<o[h].length-1;O++){var S=o[h][O].slice(),E=this._firstDayOfMonth[O];if(y){var C=this._firstDayPoints[O];S[A]=(C[A]+o[0][O+1][A])/2}var T=l.get("formatter"),w=n[+E.m-1],L={yyyy:E.y,yy:(E.y+"").slice(2),MM:E.m,M:+E.m,nameMap:w},N=this._formatterLabel(T,L),D=new g.Text({z2:30});x.extend(g.setTextStyle(D.style,l,{text:N}),this._monthTextPositionControl(S,y,a,t,u)),s.add(D)}},_weekTextPositionControl:function(r,a,s,l,n){var u="center",t="middle",c=r[0],o=r[1],h=s==="start";return a==="horizontal"?(c=c+l+(h?1:-1)*n[0]/2,u=h?"right":"left"):(o=o+l+(h?1:-1)*n[1]/2,t=h?"bottom":"top"),{x:c,y:o,textAlign:u,textVerticalAlign:t}},_renderWeekText:function(r,a,s,l){var n=r.getModel("dayLabel");if(!n.get("show"))return;var u=r.coordinateSystem,t=n.get("position"),c=n.get("nameMap"),o=n.get("margin"),h=u.getFirstDayOfWeek();x.isString(c)&&(c=f[c.toUpperCase()]||[]);var A=u.getNextNDay(a.end.time,7-a.lweek).time,y=[u.getCellWidth(),u.getCellHeight()];o=v.parsePercent(o,y[s==="horizontal"?0:1]),t==="start"&&(A=u.getNextNDay(a.start.time,-(7+a.fweek)).time,o=-o);for(var O=0;O<7;O++){var S=u.getNextNDay(A,O),E=u.dataToRect([S.time],!1).center,C=O;C=Math.abs((O+h)%7);var T=new g.Text({z2:30});x.extend(g.setTextStyle(T.style,n,{text:c[C]}),this._weekTextPositionControl(E,s,t,o,y)),l.add(T)}}});J.exports=i},"7oTu":function(J,B,e){var d=e("IMiH"),x=e("QBsz"),g=x.applyTransform,p=d.CMD,v=[[],[],[]],b=Math.sqrt,f=Math.atan2;function i(r,a){var s=r.data,l,n,u,t,c,o,h=p.M,A=p.C,y=p.L,O=p.R,S=p.A,E=p.Q;for(u=0,t=0;u<s.length;){l=s[u++],t=u,n=0;switch(l){case h:n=1;break;case y:n=1;break;case A:n=3;break;case E:n=2;break;case S:var C=a[4],T=a[5],w=b(a[0]*a[0]+a[1]*a[1]),L=b(a[2]*a[2]+a[3]*a[3]),N=f(-a[1]/L,a[0]/w);s[u]*=w,s[u++]+=C,s[u]*=L,s[u++]+=T,s[u++]*=w,s[u++]*=L,s[u++]+=N,s[u++]+=N,u+=2,t=u;break;case O:o[0]=s[u++],o[1]=s[u++],g(o,o,a),s[t++]=o[0],s[t++]=o[1],o[0]+=s[u++],o[1]+=s[u++],g(o,o,a),s[t++]=o[0],s[t++]=o[1]}for(c=0;c<n;c++){var o=v[c];o[0]=s[u++],o[1]=s[u++],g(o,o,a),s[t++]=o[0],s[t++]=o[1]}}}J.exports=i},"7pVf":function(J,B,e){var d=e("ProS"),x=e("ZqQs");e("oE7X"),e("OUJF"),e("3X6L"),e("NH9N"),d.registerPreprocessor(x)},"7ph2":function(J,B){function e(g){return g instanceof Array||(g=[g,g]),g}var d="lineStyle.opacity".split("."),x={seriesType:"lines",reset:function(g,p,v){var b=e(g.get("symbol")),f=e(g.get("symbolSize")),i=g.getData();i.setVisual("fromSymbol",b&&b[0]),i.setVisual("toSymbol",b&&b[1]),i.setVisual("fromSymbolSize",f&&f[0]),i.setVisual("toSymbolSize",f&&f[1]),i.setVisual("opacity",g.get(d));function r(a,s){var l=a.getItemModel(s),n=e(l.getShallow("symbol",!0)),u=e(l.getShallow("symbolSize",!0)),t=l.get(d);n[0]&&a.setItemVisual(s,"fromSymbol",n[0]),n[1]&&a.setItemVisual(s,"toSymbol",n[1]),u[0]&&a.setItemVisual(s,"fromSymbolSize",u[0]),u[1]&&a.setItemVisual(s,"toSymbolSize",u[1]),a.setItemVisual(s,"opacity",t)}return{dataEach:i.hasItemOption?r:null}}};J.exports=x},"7uqq":function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("ProS"),p=e("bYtY"),v=e("AUH6"),b=e("+TT/"),f=e("OELB"),i=e("W4dC"),r=e("7DRL");function a(u,t){var c=u.get("boundingCoords");if(c!=null){var o=c[0],h=c[1];isNaN(o[0])||isNaN(o[1])||isNaN(h[0])||isNaN(h[1])||this.setBoundingRect(o[0],o[1],h[0]-o[0],h[1]-o[1])}var A=this.getBoundingRect(),y,O=u.get("layoutCenter"),S=u.get("layoutSize"),E=t.getWidth(),C=t.getHeight(),T=A.width/A.height*this.aspectScale,w=!1;O&&S&&(O=[f.parsePercent(O[0],E),f.parsePercent(O[1],C)],S=f.parsePercent(S,Math.min(E,C)),!isNaN(O[0])&&!isNaN(O[1])&&!isNaN(S)&&(w=!0));var L;if(w){var L={};T>1?(L.width=S,L.height=S/T):(L.height=S,L.width=S*T),L.y=O[1]-L.height/2,L.x=O[0]-L.width/2}else y=u.getBoxLayoutParams(),y.aspect=T,L=b.getLayoutRect(y,{width:E,height:C});this.setViewRect(L.x,L.y,L.width,L.height),this.setCenter(u.get("center")),this.setZoom(u.get("zoom"))}function s(u,t){p.each(t.get("geoCoord"),function(c,o){u.addGeoCoord(o,c)})}var l={dimensions:v.prototype.dimensions,create:function(u,t){var c=[];u.eachComponent("geo",function(h,A){var y=h.get("map"),O=h.get("aspectScale"),S=!0,E=r.retrieveMap(y);E&&E[0]&&E[0].type==="svg"?(O==null&&(O=1),S=!1):O==null&&(O=.75);var C=new v(y+A,y,h.get("nameMap"),S);C.aspectScale=O,C.zoomLimit=h.get("scaleLimit"),c.push(C),s(C,h),h.coordinateSystem=C,C.model=h,C.resize=a,C.resize(h,t)}),u.eachSeries(function(h){var A=h.get("coordinateSystem");if(A==="geo"){var y=h.get("geoIndex")||0;h.coordinateSystem=c[y]}});var o={};return u.eachSeriesByType("map",function(h){if(!h.getHostGeoModel()){var A=h.getMapType();o[A]=o[A]||[],o[A].push(h)}}),p.each(o,function(h,A){var y=p.map(h,function(S){return S.get("nameMap")}),O=new v(A,A,p.mergeAll(y));O.zoomLimit=p.retrieve.apply(null,p.map(h,function(S){return S.get("scaleLimit")})),c.push(O),O.resize=a,O.aspectScale=h[0].get("aspectScale"),O.resize(h[0],t),p.each(h,function(S){S.coordinateSystem=O,s(O,S)})}),c},getFilledRegions:function(u,t,c){for(var o=(u||[]).slice(),h=p.createHashMap(),A=0;A<o.length;A++)h.set(o[A].name,o[A]);var y=i.load(t,c);return p.each(y.regions,function(O){var S=O.name;!h.get(S)&&o.push({name:S})}),o}};g.registerCoordinateSystem("geo",l);var n=l;J.exports=n},"7yuC":function(J,B,e){var d=e("QBsz"),x=d.scaleAndAdd;function g(p,v,b){for(var f=b.rect,i=f.width,r=f.height,a=[f.x+i/2,f.y+r/2],s=b.gravity==null?.1:b.gravity,l=0;l<p.length;l++){var n=p[l];n.p||(n.p=d.create(i*(Math.random()-.5)+a[0],r*(Math.random()-.5)+a[1])),n.pp=d.clone(n.p),n.edges=null}var u=b.friction==null?.6:b.friction,t=u;return{warmUp:function(){t=u*.8},setFixed:function(c){p[c].fixed=!0},setUnfixed:function(c){p[c].fixed=!1},step:function(c){for(var o=[],h=p.length,A=0;A<v.length;A++){var y=v[A];if(y.ignoreForceLayout)continue;var O=y.n1,S=y.n2;d.sub(o,S.p,O.p);var E=d.len(o)-y.d,C=S.w/(O.w+S.w);isNaN(C)&&(C=0),d.normalize(o,o),!O.fixed&&x(O.p,O.p,o,C*E*t),!S.fixed&&x(S.p,S.p,o,-(1-C)*E*t)}for(var A=0;A<h;A++){var T=p[A];T.fixed||(d.sub(o,a,T.p),x(T.p,T.p,o,s*t))}for(var A=0;A<h;A++)for(var O=p[A],w=A+1;w<h;w++){var S=p[w];d.sub(o,S.p,O.p);var E=d.len(o);E===0&&(d.set(o,Math.random()-.5,Math.random()-.5),E=1);var L=(O.rep+S.rep)/E/E;!O.fixed&&x(O.pp,O.pp,o,L),!S.fixed&&x(S.pp,S.pp,o,-L)}for(var N=[],A=0;A<h;A++){var T=p[A];T.fixed||(d.sub(N,T.p,T.pp),x(T.p,T.p,N,t),d.copy(T.pp,T.p))}t=t*.992,c&&c(p,v,t<.01)}}}B.forceLayout=g},"815F":function(J,B,e){"use strict";e.d(B,"e",function(){return f}),e.d(B,"c",function(){return r}),e.d(B,"d",function(){return a}),e.d(B,"a",function(){return l}),e.d(B,"f",function(){return n}),e.d(B,"b",function(){return u});var d=e("KQm4"),x=e("VTBJ"),g=e("Ff2n"),p=e("Zm9Q"),v=e("Kwbf"),b=e("OZM5");function f(t,c){return t!=null?t:c}function i(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=new Map;function o(h){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(h||[]).forEach(function(y){var O=y.key,S=y.children;Object(v.a)(O!=null,"Tree node must have a certain key: [".concat(A).concat(O,"]"));var E=String(O);Object(v.a)(!c.has(E)||O===null||O===void 0,"Same 'key' exist in the Tree: ".concat(E)),c.set(E,!0),o(S,"".concat(A).concat(E," > "))})}o(t)}function r(t){function c(o){var h=Object(p.a)(o);return h.map(function(A){if(!Object(b.i)(A))return Object(v.a)(!A,"Tree/TreeNode can only accept TreeNode as children."),null;var y=A.key,O=A.props,S=O.children,E=Object(g.a)(O,["children"]),C=Object(x.a)({key:y},E),T=c(S);return T.length&&(C.children=T),C}).filter(function(A){return A})}return c(t)}function a(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],o=new Set(c===!0?[]:c),h=[];function A(y){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return y.map(function(S,E){var C=Object(b.h)(O?O.pos:"0",E),T=f(S.key,C),w=Object(x.a)(Object(x.a)({},S),{},{parent:O,pos:C,children:null,data:S,isStart:[].concat(Object(d.a)(O?O.isStart:[]),[E===0]),isEnd:[].concat(Object(d.a)(O?O.isEnd:[]),[E===y.length-1])});return h.push(w),c===!0||o.has(T)?w.children=A(S.children||[],w):w.children=[],w})}return A(t),h}function s(t,c,o){var h;o?typeof o=="string"?h=function(O){return O[o]}:typeof o=="function"&&(h=function(O){return o(O)}):h=function(O,S){return f(O.key,S)};function A(y,O,S){var E=y?y.children:t,C=y?Object(b.h)(S.pos,O):"0";if(y){var T=h(y,C),w={node:y,index:O,pos:C,key:T,parentPos:S.node?S.pos:null,level:S.level+1};c(w)}E&&E.forEach(function(L,N){A(L,N,{node:y,pos:C,level:S?S.level+1:-1})})}A(null)}function l(t){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=c.initWrapper,h=c.processEntity,A=c.onProcessFinished,y=arguments.length>2?arguments[2]:void 0,O={},S={},E={posEntities:O,keyEntities:S};return o&&(E=o(E)||E),s(t,function(C){var T=C.node,w=C.index,L=C.pos,N=C.key,D=C.parentPos,F=C.level,R={node:T,index:w,key:N,pos:L,level:F},U=f(N,L);O[L]=R,S[U]=R,R.parent=O[D],R.parent&&(R.parent.children=R.parent.children||[],R.parent.children.push(R)),h&&h(R,E)},y),A&&A(E),E}function n(t,c){var o=c.expandedKeys,h=c.selectedKeys,A=c.loadedKeys,y=c.loadingKeys,O=c.checkedKeys,S=c.halfCheckedKeys,E=c.dragOverNodeKey,C=c.dropPosition,T=c.keyEntities,w=T[t],L={eventKey:t,expanded:o.indexOf(t)!==-1,selected:h.indexOf(t)!==-1,loaded:A.indexOf(t)!==-1,loading:y.indexOf(t)!==-1,checked:O.indexOf(t)!==-1,halfChecked:S.indexOf(t)!==-1,pos:String(w?w.pos:""),dragOver:E===t&&C===0,dragOverGapTop:E===t&&C===-1,dragOverGapBottom:E===t&&C===1};return L}function u(t){var c=t.data,o=t.expanded,h=t.selected,A=t.checked,y=t.loaded,O=t.loading,S=t.halfChecked,E=t.dragOver,C=t.dragOverGapTop,T=t.dragOverGapBottom,w=t.pos,L=t.active,N=Object(x.a)(Object(x.a)({},c),{},{expanded:o,selected:h,checked:A,loaded:y,loading:O,halfChecked:S,dragOver:E,dragOverGapTop:C,dragOverGapBottom:T,pos:w,active:L});return"props"in N||Object.defineProperty(N,"props",{get:function(){return Object(v.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),t}}),N}},"8EBN":function(J,B,e){(function(d){d(e("VrN/"))})(function(d){"use strict";d.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var x=0;x<d.modeInfo.length;x++){var g=d.modeInfo[x];g.mimes&&(g.mime=g.mimes[0])}d.findModeByMIME=function(p){p=p.toLowerCase();for(var v=0;v<d.modeInfo.length;v++){var b=d.modeInfo[v];if(b.mime==p)return b;if(b.mimes){for(var f=0;f<b.mimes.length;f++)if(b.mimes[f]==p)return b}}if(/\+xml$/.test(p))return d.findModeByMIME("application/xml");if(/\+json$/.test(p))return d.findModeByMIME("application/json")},d.findModeByExtension=function(p){p=p.toLowerCase();for(var v=0;v<d.modeInfo.length;v++){var b=d.modeInfo[v];if(b.ext){for(var f=0;f<b.ext.length;f++)if(b.ext[f]==p)return b}}},d.findModeByFileName=function(p){for(var v=0;v<d.modeInfo.length;v++){var b=d.modeInfo[v];if(b.file&&b.file.test(p))return b}var f=p.lastIndexOf("."),i=f>-1&&p.substring(f+1,p.length);if(i)return d.findModeByExtension(i)},d.findModeByName=function(p){p=p.toLowerCase();for(var v=0;v<d.modeInfo.length;v++){var b=d.modeInfo[v];if(b.name.toLowerCase()==p)return b;if(b.alias){for(var f=0;f<b.alias.length;f++)if(b.alias[f].toLowerCase()==p)return b}}}})},"8IMR":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};B.default=d},"8ISB":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("6Hfg"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},"8OUc":function(J,B,e){"use strict";var d=e("q1tI"),x=e.n(d),g=e("TSYQ"),p=e.n(g),v=function(f){var i=f.className,r=f.customizeIcon,a=f.customizeIconProps,s=f.onMouseDown,l=f.onClick,n=f.children,u;return typeof r=="function"?u=r(a):u=r,d.createElement("span",{className:i,onMouseDown:function(c){c.preventDefault(),s&&s(c)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},u!==void 0?u:d.createElement("span",{className:p()(i.split(/\s+/).map(function(t){return"".concat(t,"-icon")}))},n))};B.a=v},"8SMY":function(J,B,e){var d=e("n4Lv"),x=d.prepareDataCoordInfo,g=d.getStackedOnPoint;function p(b,f){var i=[];return f.diff(b).add(function(r){i.push({cmd:"+",idx:r})}).update(function(r,a){i.push({cmd:"=",idx:a,idx1:r})}).remove(function(r){i.push({cmd:"-",idx:r})}).execute(),i}function v(b,f,i,r,a,s,l,n){for(var u=p(b,f),t=[],c=[],o=[],h=[],A=[],y=[],O=[],S=x(a,f,l),E=x(s,b,n),C=0;C<u.length;C++){var T=u[C],w=!0;switch(T.cmd){case"=":var L=b.getItemLayout(T.idx),N=f.getItemLayout(T.idx1);(isNaN(L[0])||isNaN(L[1]))&&(L=N.slice()),t.push(L),c.push(N),o.push(i[T.idx]),h.push(r[T.idx1]),O.push(f.getRawIndex(T.idx1));break;case"+":var D=T.idx;t.push(a.dataToPoint([f.get(S.dataDimsForPoint[0],D),f.get(S.dataDimsForPoint[1],D)])),c.push(f.getItemLayout(D).slice()),o.push(g(S,a,f,D)),h.push(r[D]),O.push(f.getRawIndex(D));break;case"-":var D=T.idx,F=b.getRawIndex(D);F!==D?(t.push(b.getItemLayout(D)),c.push(s.dataToPoint([b.get(E.dataDimsForPoint[0],D),b.get(E.dataDimsForPoint[1],D)])),o.push(i[D]),h.push(g(E,s,b,D)),O.push(F)):w=!1}w&&(A.push(T),y.push(y.length))}y.sort(function(K,H){return O[K]-O[H]});for(var R=[],U=[],M=[],j=[],P=[],C=0;C<y.length;C++){var D=y[C];R[C]=t[D],U[C]=c[D],M[C]=o[D],j[C]=h[D],P[C]=A[D]}return{current:R,next:U,stackedOnCurrent:M,stackedOnNext:j,status:P}}J.exports=v},"8Skl":function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="DownOutlined";var b=B.a=d.forwardRef(v)},"8Th4":function(J,B,e){var d=e("3LNs"),x=e("/y7N"),g=e("7bkD"),p=e("Znkb"),v=["x","y"],b=["width","height"],f=d.extend({makeElOption:function(l,n,u,t,c){var o=u.axis,h=o.coordinateSystem,A=a(h,1-r(o)),y=h.dataToPoint(n)[0],O=t.get("type");if(O&&O!=="none"){var S=x.buildElStyle(t),E=i[O](o,y,A);E.style=S,l.graphicKey=E.type,l.pointer=E}var C=g.layout(u);x.buildCartesianSingleLabelElOption(n,l,C,u,t,c)},getHandleTransform:function(l,n,u){var t=g.layout(n,{labelInside:!1});return t.labelMargin=u.get("handle.margin"),{position:x.getTransformedPosition(n.axis,l,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(l,n,u,t){var c=u.axis,o=c.coordinateSystem,h=r(c),A=a(o,h),y=l.position;y[h]+=n[h],y[h]=Math.min(A[1],y[h]),y[h]=Math.max(A[0],y[h]);var O=a(o,1-h),S=(O[1]+O[0])/2,E=[S,S];return E[h]=y[h],{position:y,rotation:l.rotation,cursorPoint:E,tooltipOption:{verticalAlign:"middle"}}}}),i={line:function(l,n,u){var t=x.makeLineShape([n,u[0]],[n,u[1]],r(l));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(l,n,u){var t=l.getBandWidth(),c=u[1]-u[0];return{type:"Rect",shape:x.makeRectShape([n-t/2,u[0]],[t,c],r(l))}}};function r(l){return l.isHorizontal()?0:1}function a(l,n){var u=l.getRect();return[u[v[n]],u[v[n]]+u[b[n]]]}p.registerAxisPointerClass("SingleAxisPointer",f);var s=f;J.exports=s},"8Uz6":function(J,B,e){var d=e("hNWo"),x=e("+TT/"),g=x.mergeLayoutParam,p=x.getLayoutParams,v=d.extend({type:"legend.scroll",setScrollDataIndex:function(i){this.option.scrollDataIndex=i},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(i,r,a,s){var l=p(i);v.superCall(this,"init",i,r,a,s),b(this,i,l)},mergeOption:function(i,r){v.superCall(this,"mergeOption",i,r),b(this,this.option,i)}});function b(i,r,a){var s=i.getOrient(),l=[1,1];l[s.index]=0,g(r,a,{type:"box",ignoreSize:l})}var f=v;J.exports=f},"8X+K":function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=e("4mN7"),v=p.fromPoints,b=e("9wZj"),f=e("FBjb"),i=e("8SMY"),r=e("IwbS"),a=e("4NO4"),s=e("1NG9"),l=s.Polyline,n=s.Polygon,u=e("6Ic6"),t=e("n4Lv"),c=t.prepareDataCoordInfo,o=t.getStackedOnPoint,h=e("sK/D"),A=h.createGridClipPath,y=h.createPolarClipPath;function O(R,U){if(R.length!==U.length)return;for(var M=0;M<R.length;M++){var j=R[M],P=U[M];if(j[0]!==P[0]||j[1]!==P[1])return}return!0}function S(R,U){var M=[],j=[],P=[],K=[];return v(R,M,j),v(U,P,K),Math.max(Math.abs(M[0]-P[0]),Math.abs(M[1]-P[1]),Math.abs(j[0]-K[0]),Math.abs(j[1]-K[1]))}function E(R){return typeof R=="number"?R:R?.5:0}function C(R,U,M){if(!M.valueDim)return[];for(var j=[],P=0,K=U.count();P<K;P++)j.push(o(M,R,U,P));return j}function T(R,U,M){for(var j=U.getBaseAxis(),P=j.dim==="x"||j.dim==="radius"?0:1,K=[],H=0;H<R.length-1;H++){var _=R[H+1],Z=R[H];K.push(Z);var Y=[];switch(M){case"end":Y[P]=_[P],Y[1-P]=Z[1-P],K.push(Y);break;case"middle":var k=(Z[P]+_[P])/2,Q=[];Y[P]=Q[P]=k,Y[1-P]=Z[1-P],Q[1-P]=_[1-P],K.push(Y),K.push(Q);break;default:Y[P]=Z[P],Y[1-P]=_[1-P],K.push(Y)}}return R[H]&&K.push(R[H]),K}function w(R,U){var M=R.getVisual("visualMeta");if(!M||!M.length||!R.count())return;if(U.type!=="cartesian2d")return;for(var j,P,K=M.length-1;K>=0;K--){var H=M[K].dimension,_=R.dimensions[H],Z=R.getDimensionInfo(_);if(j=Z&&Z.coordDim,j==="x"||j==="y"){P=M[K];break}}if(!P)return;var Y=U.getAxis(j),k=g.map(P.stops,function(We){return{coord:Y.toGlobalCoord(Y.dataToCoord(We.value)),color:We.color}}),Q=k.length,X=P.outerColors.slice();Q&&k[0].coord>k[Q-1].coord&&(k.reverse(),X.reverse());var he=10,te=k[0].coord-he,pe=k[Q-1].coord+he,Se=pe-te;if(Se<.001)return"transparent";g.each(k,function(We){We.offset=(We.coord-te)/Se}),k.push({offset:Q?k[Q-1].offset:.5,color:X[1]||"transparent"}),k.unshift({offset:Q?k[0].offset:.5,color:X[0]||"transparent"});var we=new r.LinearGradient(0,0,0,0,k,!0);return we[j]=te,we[j+"2"]=pe,we}function L(R,U,M){var j=R.get("showAllSymbol"),P=j==="auto";if(j&&!P)return;var K=M.getAxesByScale("ordinal")[0];if(!K)return;if(P&&N(K,U))return;var H=U.mapDimension(K.dim),_={};return g.each(K.getViewLabels(),function(Z){_[Z.tickValue]=1}),function(Z){return!_.hasOwnProperty(U.get(H,Z))}}function N(R,U){var M=R.getExtent(),j=Math.abs(M[1]-M[0])/R.scale.count();isNaN(j)&&(j=0);for(var P=U.count(),K=Math.max(1,Math.round(P/5)),H=0;H<P;H+=K)if(f.getSymbolSize(U,H)[R.isHorizontal()?1:0]*1.5>j)return!1;return!0}function D(R,U,M){if(R.type==="cartesian2d"){var j=R.getBaseAxis().isHorizontal(),P=A(R,U,M);if(!M.get("clip",!0)){var K=P.shape,H=Math.max(K.width,K.height);j?(K.y-=H,K.height+=H*2):(K.x-=H,K.width+=H*2)}return P}else return y(R,U,M)}var F=u.extend({type:"line",init:function(){var R=new r.Group,U=new b;this.group.add(U.group),this._symbolDraw=U,this._lineGroup=R},render:function(R,U,M){var j=R.coordinateSystem,P=this.group,K=R.getData(),H=R.getModel("lineStyle"),_=R.getModel("areaStyle"),Z=K.mapArray(K.getItemLayout),Y=j.type==="polar",k=this._coordSys,Q=this._symbolDraw,X=this._polyline,he=this._polygon,te=this._lineGroup,pe=R.get("animation"),Se=!_.isEmpty(),we=_.get("origin"),We=c(j,K,we),qe=C(j,K,We),yt=R.get("showSymbol"),_e=yt&&!Y&&L(R,K,j),je=this._data;je&&je.eachItemGraphicEl(function(Qe,mt){Qe.__temp&&(P.remove(Qe),je.setItemGraphicEl(mt,null))}),yt||Q.remove(),P.add(te);var Ct=!Y&&R.get("step"),ct;j&&j.getArea&&R.get("clip",!0)&&(ct=j.getArea(),ct.width!=null?(ct.x-=.1,ct.y-=.1,ct.width+=.2,ct.height+=.2):ct.r0&&(ct.r0-=.5,ct.r1+=.5)),this._clipShapeForSymbol=ct,X&&k.type===j.type&&Ct===this._step?(Se&&!he?he=this._newPolygon(Z,qe,j,pe):he&&!Se&&(te.remove(he),he=this._polygon=null),te.setClipPath(D(j,!1,R)),yt&&Q.updateData(K,{isIgnore:_e,clipShape:ct}),K.eachItemGraphicEl(function(Qe){Qe.stopAnimation(!0)}),(!O(this._stackedOnPoints,qe)||!O(this._points,Z))&&(pe?this._updateAnimation(K,qe,j,M,Ct,we):(Ct&&(Z=T(Z,j,Ct),qe=T(qe,j,Ct)),X.setShape({points:Z}),he&&he.setShape({points:Z,stackedOnPoints:qe})))):(yt&&Q.updateData(K,{isIgnore:_e,clipShape:ct}),Ct&&(Z=T(Z,j,Ct),qe=T(qe,j,Ct)),X=this._newPolyline(Z,j,pe),Se&&(he=this._newPolygon(Z,qe,j,pe)),te.setClipPath(D(j,!0,R)));var nt=w(K,j)||K.getVisual("color");X.useStyle(g.defaults(H.getLineStyle(),{fill:"none",stroke:nt,lineJoin:"bevel"}));var bt=R.get("smooth");if(bt=E(R.get("smooth")),X.setShape({smooth:bt,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")}),he){var dt=K.getCalculationInfo("stackedOnSeries"),vt=0;he.useStyle(g.defaults(_.getAreaStyle(),{fill:nt,opacity:.7,lineJoin:"bevel"})),dt&&(vt=E(dt.get("smooth"))),he.setShape({smooth:bt,stackedOnSmooth:vt,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")})}this._data=K,this._coordSys=j,this._stackedOnPoints=qe,this._points=Z,this._step=Ct,this._valueOrigin=we},dispose:function(){},highlight:function(R,U,M,j){var P=R.getData(),K=a.queryDataIndex(P,j);if(!(K instanceof Array)&&K!=null&&K>=0){var H=P.getItemGraphicEl(K);if(!H){var _=P.getItemLayout(K);if(!_)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(_[0],_[1]))return;H=new f(P,K),H.position=_,H.setZ(R.get("zlevel"),R.get("z")),H.ignore=isNaN(_[0])||isNaN(_[1]),H.__temp=!0,P.setItemGraphicEl(K,H),H.stopSymbolAnimation(!0),this.group.add(H)}H.highlight()}else u.prototype.highlight.call(this,R,U,M,j)},downplay:function(R,U,M,j){var P=R.getData(),K=a.queryDataIndex(P,j);if(K!=null&&K>=0){var H=P.getItemGraphicEl(K);H&&(H.__temp?(P.setItemGraphicEl(K,null),this.group.remove(H)):H.downplay())}else u.prototype.downplay.call(this,R,U,M,j)},_newPolyline:function(R){var U=this._polyline;return U&&this._lineGroup.remove(U),U=new l({shape:{points:R},silent:!0,z2:10}),this._lineGroup.add(U),this._polyline=U,U},_newPolygon:function(R,U){var M=this._polygon;return M&&this._lineGroup.remove(M),M=new n({shape:{points:R,stackedOnPoints:U},silent:!0}),this._lineGroup.add(M),this._polygon=M,M},_updateAnimation:function(R,U,M,j,P,K){var H=this._polyline,_=this._polygon,Z=R.hostModel,Y=i(this._data,R,this._stackedOnPoints,U,this._coordSys,M,this._valueOrigin,K),k=Y.current,Q=Y.stackedOnCurrent,X=Y.next,he=Y.stackedOnNext;if(P&&(k=T(Y.current,M,P),Q=T(Y.stackedOnCurrent,M,P),X=T(Y.next,M,P),he=T(Y.stackedOnNext,M,P)),S(k,X)>3e3||_&&S(Q,he)>3e3){H.setShape({points:X}),_&&_.setShape({points:X,stackedOnPoints:he});return}H.shape.__points=Y.current,H.shape.points=k,r.updateProps(H,{shape:{points:X}},Z),_&&(_.setShape({points:k,stackedOnPoints:Q}),r.updateProps(_,{shape:{points:X,stackedOnPoints:he}},Z));for(var te=[],pe=Y.status,Se=0;Se<pe.length;Se++){var we=pe[Se].cmd;if(we==="="){var We=R.getItemGraphicEl(pe[Se].idx1);We&&te.push({el:We,ptIdx:Se})}}H.animators&&H.animators.length&&H.animators[0].during(function(){for(var qe=0;qe<te.length;qe++){var yt=te[qe].el;yt.attr("position",H.shape.__points[te[qe].ptIdx])}})},remove:function(R){var U=this.group,M=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),M&&M.eachItemGraphicEl(function(j,P){j.__temp&&(U.remove(j),M.setItemGraphicEl(P,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});J.exports=F},"8XDt":function(J,B,e){e("qH13");var d=e("aX58"),x=d.registerPainter,g=e("6fms");x("vml",g)},"8hn6":function(J,B){var e="#eee",d=function(){return{axisLine:{lineStyle:{color:e}},axisTick:{lineStyle:{color:e}},axisLabel:{textStyle:{color:e}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:e}}}},x=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],g={color:x,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:e},crossStyle:{color:e},label:{color:"#000"}}},legend:{textStyle:{color:e}},textStyle:{color:e},title:{textStyle:{color:e}},toolbox:{iconStyle:{normal:{borderColor:e}}},dataZoom:{textStyle:{color:e}},visualMap:{textStyle:{color:e}},timeline:{lineStyle:{color:e},itemStyle:{normal:{color:x[1]}},label:{normal:{textStyle:{color:e}}},controlStyle:{normal:{color:e,borderColor:e}}},timeAxis:d(),logAxis:d(),valueAxis:d(),categoryAxis:d(),line:{symbol:"circle"},graph:{color:x},gauge:{title:{textStyle:{color:e}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};g.categoryAxis.splitLine.show=!1;var p=g;J.exports=p},"8nMs":function(J,B,e){var d=e("bYtY"),x=e("IwbS"),g=e("+rIm"),p=e("Znkb"),v=e("AVZG"),b=e("WN+l"),f=b.rectCoordAxisBuildSplitArea,i=b.rectCoordAxisHandleRemove,r=["axisLine","axisTickLabel","axisName"],a=["splitArea","splitLine","minorSplitLine"],s=p.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(l,n,u,t){this.group.removeAll();var c=this._axisGroup;if(this._axisGroup=new x.Group,this.group.add(this._axisGroup),!l.get("show"))return;var o=l.getCoordSysModel(),h=v.layout(o,l),A=new g(l,h);d.each(r,A.add,A),this._axisGroup.add(A.getGroup()),d.each(a,function(y){l.get(y+".show")&&this["_"+y](l,o)},this),x.groupTransition(c,this._axisGroup,l),s.superCall(this,"render",l,n,u,t)},remove:function(){i(this)},_splitLine:function(l,n){var u=l.axis;if(u.scale.isBlank())return;var t=l.getModel("splitLine"),c=t.getModel("lineStyle"),o=c.get("color");o=d.isArray(o)?o:[o];for(var h=n.coordinateSystem.getRect(),A=u.isHorizontal(),y=0,O=u.getTicksCoords({tickModel:t}),S=[],E=[],C=c.getLineStyle(),T=0;T<O.length;T++){var w=u.toGlobalCoord(O[T].coord);A?(S[0]=w,S[1]=h.y,E[0]=w,E[1]=h.y+h.height):(S[0]=h.x,S[1]=w,E[0]=h.x+h.width,E[1]=w);var L=y++%o.length,N=O[T].tickValue;this._axisGroup.add(new x.Line({anid:N!=null?"line_"+O[T].tickValue:null,subPixelOptimize:!0,shape:{x1:S[0],y1:S[1],x2:E[0],y2:E[1]},style:d.defaults({stroke:o[L]},C),silent:!0}))}},_minorSplitLine:function(l,n){var u=l.axis,t=l.getModel("minorSplitLine"),c=t.getModel("lineStyle"),o=n.coordinateSystem.getRect(),h=u.isHorizontal(),A=u.getMinorTicksCoords();if(!A.length)return;for(var y=[],O=[],S=c.getLineStyle(),E=0;E<A.length;E++)for(var C=0;C<A[E].length;C++){var T=u.toGlobalCoord(A[E][C].coord);h?(y[0]=T,y[1]=o.y,O[0]=T,O[1]=o.y+o.height):(y[0]=o.x,y[1]=T,O[0]=o.x+o.width,O[1]=T),this._axisGroup.add(new x.Line({anid:"minor_line_"+A[E][C].tickValue,subPixelOptimize:!0,shape:{x1:y[0],y1:y[1],x2:O[0],y2:O[1]},style:S,silent:!0}))}},_splitArea:function(l,n){f(this,this._axisGroup,l,n)}});s.extend({type:"xAxis"}),s.extend({type:"yAxis"})},"8nly":function(J,B,e){var d=e("mFDi"),x=e("4mN7"),g=e("QBsz"),p=e("BlVb");function v(f,i,r){if(this.name=f,this.geometries=i,r)r=[r[0],r[1]];else{var a=this.getBoundingRect();r=[a.x+a.width/2,a.y+a.height/2]}this.center=r}v.prototype={constructor:v,properties:null,getBoundingRect:function(){var f=this._rect;if(f)return f;for(var i=Number.MAX_VALUE,r=[i,i],a=[-i,-i],s=[],l=[],n=this.geometries,u=0;u<n.length;u++){if(n[u].type!=="polygon")continue;var t=n[u].exterior;x.fromPoints(t,s,l),g.min(r,r,s),g.max(a,a,l)}return u===0&&(r[0]=r[1]=a[0]=a[1]=0),this._rect=new d(r[0],r[1],a[0]-r[0],a[1]-r[1])},contain:function(f){var i=this.getBoundingRect(),r=this.geometries;if(!i.contain(f[0],f[1]))return!1;e:for(var a=0,s=r.length;a<s;a++){if(r[a].type!=="polygon")continue;var l=r[a].exterior,n=r[a].interiors;if(p.contain(l,f[0],f[1])){for(var u=0;u<(n?n.length:0);u++)if(p.contain(n[u]))continue e;return!0}}return!1},transformTo:function(f,i,r,a){var s=this.getBoundingRect(),l=s.width/s.height;r?a||(a=r/l):r=l*a;for(var n=new d(f,i,r,a),u=s.calculateTransform(n),t=this.geometries,c=0;c<t.length;c++){if(t[c].type!=="polygon")continue;for(var o=t[c].exterior,h=t[c].interiors,A=0;A<o.length;A++)g.applyTransform(o[A],o[A],u);for(var y=0;y<(h?h.length:0);y++)for(var A=0;A<h[y].length;A++)g.applyTransform(h[y][A],h[y][A],u)}s=this._rect,s.copy(n),this.center=[s.x+s.width/2,s.y+s.height/2]},cloneShallow:function(f){f==null&&(f=this.name);var i=new v(f,this.geometries,this.center);return i._rect=this._rect,i.transformTo=null,i}};var b=v;J.exports=b},"8waO":function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("iLNv"),p=e("ZWlE");e("hJvP"),e("IXyC"),e("xRUu");var v=5;d.extendComponentView({type:"parallel",render:function(i,r,a){this._model=i,this._api=a,this._handlers||(this._handlers={},x.each(b,function(s,l){a.getZr().on(l,this._handlers[l]=x.bind(s,this))},this)),g.createOrUpdate(this,"_throttledDispatchExpand",i.get("axisExpandRate"),"fixRate")},dispose:function(i,r){x.each(this._handlers,function(a,s){r.getZr().off(s,a)}),this._handlers=null},_throttledDispatchExpand:function(i){this._dispatchExpand(i)},_dispatchExpand:function(i){i&&this._api.dispatchAction(x.extend({type:"parallelAxisExpand"},i))}});var b={mousedown:function(i){f(this,"click")&&(this._mouseDownPoint=[i.offsetX,i.offsetY])},mouseup:function(i){var r=this._mouseDownPoint;if(f(this,"click")&&r){var a=[i.offsetX,i.offsetY],s=Math.pow(r[0]-a[0],2)+Math.pow(r[1]-a[1],2);if(s>v)return;var l=this._model.coordinateSystem.getSlidedAxisExpandWindow([i.offsetX,i.offsetY]);l.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:l.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(i){if(this._mouseDownPoint||!f(this,"mousemove"))return;var r=this._model,a=r.coordinateSystem.getSlidedAxisExpandWindow([i.offsetX,i.offsetY]),s=a.behavior;s==="jump"&&this._throttledDispatchExpand.debounceNextCall(r.get("axisExpandDebounce")),this._throttledDispatchExpand(s==="none"?null:{axisExpandWindow:a.axisExpandWindow,animation:s==="jump"?null:!1})}};function f(i,r){var a=i._model;return a.get("axisExpandable")&&a.get("axisExpandTriggerOn")===r}d.registerPreprocessor(p)},"8x+h":function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("ProS"),p=e("bYtY"),v=e("K4ya"),b=e("Qxkt"),f=["#ddd"],i=g.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(s,l){var n=this.option;!l&&v.replaceVisualOption(n,s,["inBrush","outOfBrush"]);var u=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:f},u.hasOwnProperty("liftZ")||(u.liftZ=5)},setAreas:function(s){if(!s)return;this.areas=p.map(s,function(l){return r(this.option,l)},this)},setBrushOption:function(s){this.brushOption=r(this.option,s),this.brushType=this.brushOption.brushType}});function r(s,l){return p.merge({brushType:s.brushType,brushMode:s.brushMode,transformable:s.transformable,brushStyle:new b(s.brushStyle).getItemStyle(),removeOnClick:s.removeOnClick,z:s.z},l,!0)}var a=i;J.exports=a},"8z0m":function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("RIqP"),p=e.n(g),v=e("pVnL"),b=e.n(v),f=e("J4zp"),i=e.n(f),r=e("q1tI"),a=e.n(r),s=e("TSYQ"),l=e.n(s);function n(Gt,de){var ue="cannot "+Gt.method+" "+Gt.action+" "+de.status+"'",se=new Error(ue);return se.status=de.status,se.method=Gt.method,se.url=Gt.action,se}function u(Gt){var de=Gt.responseText||Gt.response;if(!de)return de;try{return JSON.parse(de)}catch(ue){return de}}function t(Gt){var de=new XMLHttpRequest;Gt.onProgress&&de.upload&&(de.upload.onprogress=function(ye){ye.total>0&&(ye.percent=ye.loaded/ye.total*100),Gt.onProgress(ye)});var ue=new FormData;Gt.data&&Object.keys(Gt.data).forEach(function(ae){var ye=Gt.data[ae];if(Array.isArray(ye)){ye.forEach(function(Ce){ue.append(ae+"[]",Ce)});return}ue.append(ae,Gt.data[ae])}),Gt.file instanceof Blob?ue.append(Gt.filename,Gt.file,Gt.file.name):ue.append(Gt.filename,Gt.file),de.onerror=function(ye){Gt.onError(ye)},de.onload=function(){return de.status<200||de.status>=300?Gt.onError(n(Gt,de),u(de)):Gt.onSuccess(u(de),de)},de.open(Gt.method,Gt.action,!0),Gt.withCredentials&&"withCredentials"in de&&(de.withCredentials=!0);var se=Gt.headers||{};return se["X-Requested-With"]!==null&&de.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(se).forEach(function(ae){se[ae]!==null&&de.setRequestHeader(ae,se[ae])}),de.send(ue),{abort:function(){de.abort()}}}var c=+new Date,o=0;function h(){return"rc-upload-"+c+"-"+ ++o}function A(Gt,de){return Gt.indexOf(de,Gt.length-de.length)!==-1}var y=function(Gt,de){if(Gt&&de){var ue=Array.isArray(de)?de:de.split(","),se=Gt.name||"",ae=Gt.type||"",ye=ae.replace(/\/.*$/,"");return ue.some(function(Ce){var Oe=Ce.trim();return Oe.charAt(0)==="."?A(se.toLowerCase(),Oe.toLowerCase()):/\/\*$/.test(Oe)?ye===Oe.replace(/\/.*$/,""):ae===Oe})}return!0};function O(Gt,de){var ue=Gt.createReader(),se=[];function ae(){ue.readEntries(function(ye){var Ce=Array.prototype.slice.apply(ye);se=se.concat(Ce);var Oe=!Ce.length;Oe?de(se):ae()})}ae()}var S=function(de,ue,se){var ae=function ye(Ce,Oe){Oe=Oe||"",Ce.isFile?Ce.file(function(Te){se(Te)&&(Ce.fullPath&&!Te.webkitRelativePath&&(Object.defineProperties(Te,{webkitRelativePath:{writable:!0}}),Te.webkitRelativePath=Ce.fullPath.replace(/^\//,""),Object.defineProperties(Te,{webkitRelativePath:{writable:!1}})),ue([Te]))}):Ce.isDirectory&&O(Ce,function(Te){Te.forEach(function(xe){ye(xe,""+Oe+Ce.name+"/")})})};de.forEach(function(ye){ae(ye.webkitGetAsEntry())})},E=S,C=Object.assign||function(Gt){for(var de=1;de<arguments.length;de++){var ue=arguments[de];for(var se in ue)Object.prototype.hasOwnProperty.call(ue,se)&&(Gt[se]=ue[se])}return Gt},T=function(){function Gt(de,ue){var se=[],ae=!0,ye=!1,Ce=void 0;try{for(var Oe=de[Symbol.iterator](),Te;!(ae=(Te=Oe.next()).done)&&!(se.push(Te.value),ue&&se.length===ue);ae=!0);}catch(xe){ye=!0,Ce=xe}finally{try{!ae&&Oe.return&&Oe.return()}finally{if(ye)throw Ce}}return se}return function(de,ue){if(Array.isArray(de))return de;if(Symbol.iterator in Object(de))return Gt(de,ue);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),w=function(){function Gt(de,ue){for(var se=0;se<ue.length;se++){var ae=ue[se];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(de,ae.key,ae)}}return function(de,ue,se){return ue&&Gt(de.prototype,ue),se&&Gt(de,se),de}}();function L(Gt,de,ue){return de in Gt?Object.defineProperty(Gt,de,{value:ue,enumerable:!0,configurable:!0,writable:!0}):Gt[de]=ue,Gt}function N(Gt,de){var ue={};for(var se in Gt){if(de.indexOf(se)>=0)continue;if(!Object.prototype.hasOwnProperty.call(Gt,se))continue;ue[se]=Gt[se]}return ue}function D(Gt,de){if(!(Gt instanceof de))throw new TypeError("Cannot call a class as a function")}function F(Gt,de){if(!Gt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return de&&(typeof de=="object"||typeof de=="function")?de:Gt}function R(Gt,de){if(typeof de!="function"&&de!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof de);Gt.prototype=Object.create(de&&de.prototype,{constructor:{value:Gt,enumerable:!1,writable:!0,configurable:!0}}),de&&(Object.setPrototypeOf?Object.setPrototypeOf(Gt,de):Gt.__proto__=de)}var U=function(de){return Object.keys(de).reduce(function(ue,se){return(se.substr(0,5)==="data-"||se.substr(0,5)==="aria-"||se==="role")&&(ue[se]=de[se]),ue},{})},M=function(Gt){R(de,Gt);function de(){var ue,se,ae,ye;D(this,de);for(var Ce=arguments.length,Oe=Array(Ce),Te=0;Te<Ce;Te++)Oe[Te]=arguments[Te];return ye=(se=(ae=F(this,(ue=de.__proto__||Object.getPrototypeOf(de)).call.apply(ue,[this].concat(Oe))),ae),ae.state={uid:h()},ae.reqs={},ae.onChange=function(xe){var ke=xe.target.files;ae.uploadFiles(ke),ae.reset()},ae.onClick=function(xe){var ke=ae.fileInput;if(!ke)return;var lt=ae.props,At=lt.children,ee=lt.onClick;At&&At.type==="button"&&(ke.parentNode.focus(),ke.parentNode.querySelector("button").blur()),ke.click(),ee&&ee(xe)},ae.onKeyDown=function(xe){xe.key==="Enter"&&ae.onClick()},ae.onFileDrop=function(xe){var ke=ae.props.multiple;if(xe.preventDefault(),xe.type==="dragover")return;if(ae.props.directory)E(Array.prototype.slice.call(xe.dataTransfer.items),ae.uploadFiles,function(At){return y(At,ae.props.accept)});else{var lt=Array.prototype.slice.call(xe.dataTransfer.files).filter(function(At){return y(At,ae.props.accept)});ke===!1&&(lt=lt.slice(0,1)),ae.uploadFiles(lt)}},ae.uploadFiles=function(xe){var ke=Array.prototype.slice.call(xe);ke.map(function(lt){return lt.uid=h(),lt}).forEach(function(lt){ae.upload(lt,ke)})},ae.saveFileInput=function(xe){ae.fileInput=xe},se),F(ae,ye)}return w(de,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(se,ae){var ye=this,Ce=this.props;if(!Ce.beforeUpload)return setTimeout(function(){return ye.post(se)},0);var Oe=Ce.beforeUpload(se,ae);Oe&&Oe.then?Oe.then(function(Te){var xe=Object.prototype.toString.call(Te);return xe==="[object File]"||xe==="[object Blob]"?ye.post(Te):ye.post(se)}).catch(function(Te){console.log(Te)}):Oe!==!1&&setTimeout(function(){return ye.post(se)},0);return}},{key:"post",value:function(se){var ae=this;if(!this._isMounted)return;var ye=this.props,Ce=ye.onStart,Oe=ye.onProgress,Te=ye.transformFile,xe=Te===void 0?function(ke){return ke}:Te;new Promise(function(ke){var lt=ye.action;return typeof lt=="function"&&(lt=lt(se)),ke(lt)}).then(function(ke){var lt=se.uid,At=ye.customRequest||t,ee=Promise.resolve(xe(se)).then(function(ie){var z=ye.data;return typeof z=="function"&&(z=z(ie)),Promise.all([ie,z])}).catch(function(ie){console.error(ie)});ee.then(function(ie){var z=T(ie,2),$=z[0],le=z[1],ge={action:ke,filename:ye.name,data:le,file:$,headers:ye.headers,withCredentials:ye.withCredentials,method:ye.method||"post",onProgress:Oe?function(Ae){Oe(Ae,se)}:null,onSuccess:function(Me,Ze){delete ae.reqs[lt],ye.onSuccess(Me,se,Ze)},onError:function(Me,Ze){delete ae.reqs[lt],ye.onError(Me,Ze,se)}};ae.reqs[lt]=At(ge),Ce(se)})})}},{key:"reset",value:function(){this.setState({uid:h()})}},{key:"abort",value:function(se){var ae=this.reqs;if(se){var ye=se;se&&se.uid&&(ye=se.uid),ae[ye]&&ae[ye].abort&&ae[ye].abort(),delete ae[ye]}else Object.keys(ae).forEach(function(Ce){ae[Ce]&&ae[Ce].abort&&ae[Ce].abort(),delete ae[Ce]})}},{key:"render",value:function(){var se,ae=this.props,ye=ae.component,Ce=ae.prefixCls,Oe=ae.className,Te=ae.disabled,xe=ae.id,ke=ae.style,lt=ae.multiple,At=ae.accept,ee=ae.children,ie=ae.directory,z=ae.openFileDialogOnClick,$=ae.onMouseEnter,le=ae.onMouseLeave,ge=N(ae,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Ae=l()((se={},L(se,Ce,!0),L(se,Ce+"-disabled",Te),L(se,Oe,Oe),se)),Me=Te?{}:{onClick:z?this.onClick:function(){},onKeyDown:z?this.onKeyDown:function(){},onMouseEnter:$,onMouseLeave:le,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(ye,C({},Me,{className:Ae,role:"button",style:ke}),a.a.createElement("input",C({},U(ge),{id:xe,type:"file",ref:this.saveFileInput,onClick:function(kt){return kt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:At,directory:ie?"directory":null,webkitdirectory:ie?"webkitdirectory":null,multiple:lt,onChange:this.onChange})),ee)}}]),de}(r.Component),j=M,P=Object.assign||function(Gt){for(var de=1;de<arguments.length;de++){var ue=arguments[de];for(var se in ue)Object.prototype.hasOwnProperty.call(ue,se)&&(Gt[se]=ue[se])}return Gt},K=function(){function Gt(de,ue){for(var se=0;se<ue.length;se++){var ae=ue[se];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(de,ae.key,ae)}}return function(de,ue,se){return ue&&Gt(de.prototype,ue),se&&Gt(de,se),de}}();function H(Gt,de){if(!(Gt instanceof de))throw new TypeError("Cannot call a class as a function")}function _(Gt,de){if(!Gt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return de&&(typeof de=="object"||typeof de=="function")?de:Gt}function Z(Gt,de){if(typeof de!="function"&&de!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof de);Gt.prototype=Object.create(de&&de.prototype,{constructor:{value:Gt,enumerable:!1,writable:!0,configurable:!0}}),de&&(Object.setPrototypeOf?Object.setPrototypeOf(Gt,de):Gt.__proto__=de)}function Y(){}var k=function(Gt){Z(de,Gt);function de(){var ue,se,ae,ye;H(this,de);for(var Ce=arguments.length,Oe=Array(Ce),Te=0;Te<Ce;Te++)Oe[Te]=arguments[Te];return ye=(se=(ae=_(this,(ue=de.__proto__||Object.getPrototypeOf(de)).call.apply(ue,[this].concat(Oe))),ae),ae.saveUploader=function(xe){ae.uploader=xe},se),_(ae,ye)}return K(de,[{key:"abort",value:function(se){this.uploader.abort(se)}},{key:"render",value:function(){return a.a.createElement(j,P({},this.props,{ref:this.saveUploader}))}}]),de}(r.Component);k.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Y,onError:Y,onSuccess:Y,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Q=k,X=Q,he=function(Gt,de){var ue={};for(var se in Gt)Object.prototype.hasOwnProperty.call(Gt,se)&&de.indexOf(se)<0&&(ue[se]=Gt[se]);if(Gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,se=Object.getOwnPropertySymbols(Gt);ae<se.length;ae++)de.indexOf(se[ae])<0&&Object.prototype.propertyIsEnumerable.call(Gt,se[ae])&&(ue[se[ae]]=Gt[se[ae]]);return ue},te=function(de,ue){var se=de.style,ae=de.height,ye=he(de,["style","height"]);return r.createElement(qt,b()({ref:ue},ye,{type:"drag",style:b()(b()({},se),{height:ae})}))},pe=r.forwardRef(te);pe.displayName="Dragger";var Se=pe,we=e("UmKh"),We=e("gZBC"),qe=e.n(We),yt=e("+d4F"),_e=e.n(yt),je=e("XAae"),Ct=e.n(je),ct=e("6xvX"),nt=e.n(ct),bt=e("qPY4"),dt=e.n(bt),vt=e("QB+1"),Qe=e.n(vt),mt=e("Qs3X"),Pe=e.n(mt),De=e("0n0R");function Ie(){return!0}function ot(Gt){return b()(b()({},Gt),{lastModified:Gt.lastModified,lastModifiedDate:Gt.lastModifiedDate,name:Gt.name,size:Gt.size,type:Gt.type,uid:Gt.uid,percent:0,originFileObj:Gt})}function wt(Gt,de){var ue=Gt.uid!==void 0?"uid":"name";return de.filter(function(se){return se[ue]===Gt[ue]})[0]}function Bt(Gt,de){var ue=Gt.uid!==void 0?"uid":"name",se=de.filter(function(ae){return ae[ue]!==Gt[ue]});return se.length===de.length?null:se}var _t=function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",ue=de.split("/"),se=ue[ue.length-1],ae=se.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(ae)||[""])[0]},Ue=function(de){return de.indexOf("image/")===0},zt=function(de){if(de.type&&!de.thumbUrl)return Ue(de.type);var ue=de.thumbUrl||de.url,se=_t(ue);return/^data:image\//.test(ue)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(se)?!0:/^data:/.test(ue)?!1:!se},xt=200;function Pt(Gt){return new Promise(function(de){if(!Gt.type||!Ue(Gt.type)){de("");return}var ue=document.createElement("canvas");ue.width=xt,ue.height=xt,ue.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(xt,"px; height: ").concat(xt,"px; z-index: 9999; display: none;"),document.body.appendChild(ue);var se=ue.getContext("2d"),ae=new Image;ae.onload=function(){var ye=ae.width,Ce=ae.height,Oe=xt,Te=xt,xe=0,ke=0;ye<Ce?(Te=Ce*(xt/ye),ke=-(Te-Oe)/2):(Oe=ye*(xt/Ce),xe=-(Oe-Te)/2),se.drawImage(ae,xe,ke,Oe,Te);var lt=ue.toDataURL();document.body.removeChild(ue),de(lt)},ae.src=window.URL.createObjectURL(Gt)})}var Ke=e("3S7+"),Ye=e("CFYs"),$e=e("H84U"),ut=e("2/Rp"),et=e("hkKa"),oe=function(de,ue){var se,ae=de.listType,ye=de.previewFile,Ce=de.onPreview,Oe=de.onDownload,Te=de.onRemove,xe=de.locale,ke=de.iconRender,lt=de.isImageUrl,At=de.prefixCls,ee=de.items,ie=ee===void 0?[]:ee,z=de.showPreviewIcon,$=de.showRemoveIcon,le=de.showDownloadIcon,ge=de.removeIcon,Ae=de.downloadIcon,Me=de.progress,Ze=Object(et.a)();r.useEffect(function(){if(ae!=="picture"&&ae!=="picture-card")return;(ie||[]).forEach(function(Xe){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Xe.originFileObj instanceof File||Xe.originFileObj instanceof Blob)||Xe.thumbUrl!==void 0)return;Xe.thumbUrl="",ye&&ye(Xe.originFileObj).then(function(gt){Xe.thumbUrl=gt||"",Ze()})})},[ae,ie,ye]);var kt=function(gt,ft){return Ce?(ft.preventDefault(),Ce(gt)):void 0},Jt=function(gt){typeof Oe=="function"?Oe(gt):gt.url&&window.open(gt.url)},Et=function(gt){Te&&Te(gt)},Ft=function(gt){if(ke)return ke(gt,ae);var ft=gt.status==="uploading",Ge=lt&<(gt)?r.createElement(Ct.a,null):r.createElement(nt.a,null),Mt=ft?r.createElement(qe.a,null):r.createElement(_e.a,null);return ae==="picture"?Mt=ft?r.createElement(qe.a,null):Ge:ae==="picture-card"&&(Mt=ft?xe.uploading:Ge),Mt},Kt=function(gt,ft,Ge,Mt){var It={type:"text",size:"small",title:Mt,onClick:function(pr){ft(),Object(De.b)(gt)&>.props.onClick&>.props.onClick(pr)},className:"".concat(Ge,"-list-item-card-actions-btn")};if(Object(De.b)(gt)){var rr=Object(De.a)(gt,b()(b()({},gt.props),{onClick:function(){}}));return r.createElement(ut.a,b()({},It,{icon:rr}))}return r.createElement(ut.a,It,r.createElement("span",null,gt))};r.useImperativeHandle(ue,function(){return{handlePreview:kt,handleDownload:Jt}});var Vt=r.useContext($e.b),Ot=Vt.getPrefixCls,ur=Vt.direction,Zt=Ot("upload",At),ze=ie.map(function(Xe){var gt,ft,Ge,Mt=Ft(Xe),It=r.createElement("div",{className:"".concat(Zt,"-text-icon")},Mt);if(ae==="picture"||ae==="picture-card")if(Xe.status==="uploading"||!Xe.thumbUrl&&!Xe.url){var rr,Ht=l()((rr={},x()(rr,"".concat(Zt,"-list-item-thumbnail"),!0),x()(rr,"".concat(Zt,"-list-item-file"),Xe.status!=="uploading"),rr));It=r.createElement("div",{className:Ht},Mt)}else{var pr,Ar=lt&<(Xe)?r.createElement("img",{src:Xe.thumbUrl||Xe.url,alt:Xe.name,className:"".concat(Zt,"-list-item-image")}):Mt,Nr=l()((pr={},x()(pr,"".concat(Zt,"-list-item-thumbnail"),!0),x()(pr,"".concat(Zt,"-list-item-file"),lt&&!lt(Xe)),pr));It=r.createElement("a",{className:Nr,onClick:function(gn){return kt(Xe,gn)},href:Xe.url||Xe.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ar)}if(Xe.status==="uploading"){var Fr="percent"in Xe?r.createElement(Ye.a,b()({},Me,{type:"line",percent:Xe.percent})):null;Ge=r.createElement("div",{className:"".concat(Zt,"-list-item-progress"),key:"progress"},Fr)}var tn=l()((gt={},x()(gt,"".concat(Zt,"-list-item"),!0),x()(gt,"".concat(Zt,"-list-item-").concat(Xe.status),!0),x()(gt,"".concat(Zt,"-list-item-list-type-").concat(ae),!0),gt)),Jr=typeof Xe.linkProps=="string"?JSON.parse(Xe.linkProps):Xe.linkProps,Lr=$?Kt(ge||r.createElement(Qe.a,null),function(){return Et(Xe)},Zt,xe.removeFile):null,Xr=le&&Xe.status==="done"?Kt(Ae||r.createElement(Pe.a,null),function(){return Jt(Xe)},Zt,xe.downloadFile):null,Tr=ae!=="picture-card"&&r.createElement("span",{key:"download-delete",className:"".concat(Zt,"-list-item-card-actions ").concat(ae==="picture"?"picture":"")},Xr,Lr),lr=l()((ft={},x()(ft,"".concat(Zt,"-list-item-name"),!0),x()(ft,"".concat(Zt,"-list-item-name-icon-count-").concat([Xr,Lr].filter(function(Ln){return Ln}).length),!0),ft)),fr=Xe.url?[r.createElement("a",b()({key:"view",target:"_blank",rel:"noopener noreferrer",className:lr,title:Xe.name},Jr,{href:Xe.url,onClick:function(gn){return kt(Xe,gn)}}),Xe.name),Tr]:[r.createElement("span",{key:"view",className:lr,onClick:function(gn){return kt(Xe,gn)},title:Xe.name},Xe.name),Tr],sr={pointerEvents:"none",opacity:.5},dr=z?r.createElement("a",{href:Xe.url||Xe.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Xe.url||Xe.thumbUrl?void 0:sr,onClick:function(gn){return kt(Xe,gn)},title:xe.previewFile},r.createElement(dt.a,null)):null,Sr=ae==="picture-card"&&Xe.status!=="uploading"&&r.createElement("span",{className:"".concat(Zt,"-list-item-actions")},dr,Xe.status==="done"&&Xr,Lr),Qr;Xe.response&&typeof Xe.response=="string"?Qr=Xe.response:Qr=Xe.error&&Xe.error.statusText||xe.uploadError;var cn=r.createElement("span",null,It,fr),Dn=r.createElement("div",{className:tn},r.createElement("div",{className:"".concat(Zt,"-list-item-info")},cn),Sr,r.createElement(we.a,{transitionName:"fade",component:""},Ge)),jr=l()(x()({},"".concat(Zt,"-list-picture-card-container"),ae==="picture-card"));return r.createElement("div",{key:Xe.uid,className:jr},Xe.status==="error"?r.createElement(Ke.a,{title:Qr,getPopupContainer:function(gn){return gn.parentNode}},Dn):r.createElement("span",null,Dn))}),at=l()((se={},x()(se,"".concat(Zt,"-list"),!0),x()(se,"".concat(Zt,"-list-").concat(ae),!0),x()(se,"".concat(Zt,"-list-rtl"),ur==="rtl"),se)),Ve=ae==="picture-card"?"animate-inline":"animate";return r.createElement(we.a,{transitionName:"".concat(Zt,"-").concat(Ve),component:"div",className:at},ze)},me=r.forwardRef(oe);me.displayName="UploadList",me.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:Pt,isImageUrl:zt};var it=me,Be=e("YMnH"),ht=e("ZvpZ"),Mr=e("uaoM"),Lt=e("sPtV"),or=function(de,ue){var se,ae=de.fileList,ye=de.defaultFileList,Ce=de.onRemove,Oe=de.showUploadList,Te=de.listType,xe=de.onPreview,ke=de.onDownload,lt=de.previewFile,At=de.disabled,ee=de.locale,ie=de.iconRender,z=de.isImageUrl,$=de.progress,le=de.prefixCls,ge=de.className,Ae=de.type,Me=de.children,Ze=de.style,kt=Object(Lt.a)(ae||ye||[]),Jt=i()(kt,2),Et=Jt[0],Ft=Jt[1],Kt=r.useState("drop"),Vt=i()(Kt,2),Ot=Vt[0],ur=Vt[1],Zt=r.useRef();r.useEffect(function(){Ft(ae||ye||[]),Object(Mr.a)("fileList"in de||!("value"in de),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),r.useEffect(function(){"fileList"in de&&Ft(ae||[])},[ae]);var ze=function(fr){"fileList"in de||Ft(fr.fileList);var sr=de.onChange;sr&&sr(b()(b()({},fr),{fileList:p()(fr.fileList)}))},at=function(fr){var sr=ot(fr);sr.status="uploading";var dr=Et().concat(),Sr=dr.findIndex(function(Qr){var cn=Qr.uid;return cn===sr.uid});Sr===-1?dr.push(sr):dr[Sr]=sr,ze({file:sr,fileList:dr})},Ve=function(fr,sr,dr){try{typeof fr=="string"&&(fr=JSON.parse(fr))}catch(Qr){}var Sr=wt(sr,Et());if(!Sr)return;Sr.status="done",Sr.response=fr,Sr.xhr=dr,ze({file:b()({},Sr),fileList:Et().concat()})},Xe=function(fr,sr){var dr=wt(sr,Et());if(!dr)return;dr.percent=fr.percent,ze({event:fr,file:b()({},dr),fileList:Et().concat()})},gt=function(fr,sr,dr){var Sr=wt(dr,Et());if(!Sr)return;Sr.error=fr,Sr.response=sr,Sr.status="error",ze({file:b()({},Sr),fileList:Et().concat()})},ft=function(fr){Promise.resolve(typeof Ce=="function"?Ce(fr):Ce).then(function(sr){if(sr===!1)return;var dr=Bt(fr,Et());dr&&(fr.status="removed",Zt.current&&Zt.current.abort(fr),ze({file:fr,fileList:dr}))})},Ge=function(fr){ur(fr.type)},Mt=function(fr,sr){var dr=de.beforeUpload;if(!dr)return!0;var Sr=dr(fr,sr);if(Sr===!1){var Qr=[];return Et().concat(sr.map(ot)).forEach(function(cn){Qr.every(function(Dn){return Dn.uid!==cn.uid})&&Qr.push(cn)}),ze({file:fr,fileList:Qr}),!1}return Sr&&Sr.then?Sr:!0},It=Object(et.a)();r.useImperativeHandle(ue,function(){return{onStart:at,onSuccess:Ve,onProgress:Xe,onError:gt,fileList:Et(),upload:Zt.current,forceUpdate:It}});var rr=function(fr){var sr=Oe.showRemoveIcon,dr=Oe.showPreviewIcon,Sr=Oe.showDownloadIcon,Qr=Oe.removeIcon,cn=Oe.downloadIcon;return r.createElement(it,{listType:Te,items:Et(),previewFile:lt,onPreview:xe,onDownload:ke,onRemove:ft,showRemoveIcon:!At&&sr,showPreviewIcon:dr,showDownloadIcon:Sr,removeIcon:Qr,downloadIcon:cn,iconRender:ie,locale:b()(b()({},fr),ee),isImageUrl:z,progress:$})},Ht=r.useContext($e.b),pr=Ht.getPrefixCls,Ar=Ht.direction,Nr=pr("upload",le),Fr=b()(b()({onStart:at,onError:gt,onProgress:Xe,onSuccess:Ve},de),{prefixCls:Nr,beforeUpload:Mt});delete Fr.className,delete Fr.style,(!Me||At)&&delete Fr.id;var tn=Oe?r.createElement(Be.a,{componentName:"Upload",defaultLocale:ht.a.Upload},rr):null;if(Ae==="drag"){var Jr,Lr=l()(Nr,(Jr={},x()(Jr,"".concat(Nr,"-drag"),!0),x()(Jr,"".concat(Nr,"-drag-uploading"),Et().some(function(lr){return lr.status==="uploading"})),x()(Jr,"".concat(Nr,"-drag-hover"),Ot==="dragover"),x()(Jr,"".concat(Nr,"-disabled"),At),x()(Jr,"".concat(Nr,"-rtl"),Ar==="rtl"),Jr),ge);return r.createElement("span",null,r.createElement("div",{className:Lr,onDrop:Ge,onDragOver:Ge,onDragLeave:Ge,style:Ze},r.createElement(X,b()({},Fr,{ref:Zt,className:"".concat(Nr,"-btn")}),r.createElement("div",{className:"".concat(Nr,"-drag-container")},Me))),tn)}var Xr=l()(Nr,(se={},x()(se,"".concat(Nr,"-select"),!0),x()(se,"".concat(Nr,"-select-").concat(Te),!0),x()(se,"".concat(Nr,"-disabled"),At),x()(se,"".concat(Nr,"-rtl"),Ar==="rtl"),se)),Tr=r.createElement("div",{className:Xr,style:Me?void 0:{display:"none"}},r.createElement(X,b()({},Fr,{ref:Zt})));return Te==="picture-card"?r.createElement("span",{className:l()(ge,"".concat(Nr,"-picture-card-wrapper"))},tn,Tr):r.createElement("span",{className:ge},Tr,tn)},Qt=r.forwardRef(or);Qt.Dragger=Se,Qt.displayName="Upload",Qt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:Ie,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var qt=Qt;qt.Dragger=Se;var hr=B.a=qt},"98bh":function(J,B,e){var d=e("ProS"),x=e("5GtS"),g=e("bYtY"),p=e("4NO4"),v=e("OELB"),b=v.getPercentWithPrecision,f=e("cCMj"),i=e("KxfA"),r=i.retrieveRawAttr,a=e("D5nY"),s=a.makeSeriesEncodeForNameBased,l=e("xKMd"),n=d.extendSeriesModel({type:"series.pie",init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new l(g.bind(this.getData,this),g.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){n.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,c){return x(this,{coordDimensions:["value"],encodeDefaulter:g.curry(s,this)})},_createSelectableList:function(){for(var t=this.getRawData(),c=t.mapDimension("value"),o=[],h=0,A=t.count();h<A;h++)o.push({name:t.getName(h),value:t.get(c,h),selected:r(t,h,"selected")});return o},getDataParams:function(t){var c=this.getData(),o=n.superCall(this,"getDataParams",t),h=[];return c.each(c.mapDimension("value"),function(A){h.push(A)}),o.percent=b(h,t,c.hostModel.get("percentPrecision")),o.$vars.push("percent"),o},_defaultLabelLine:function(t){p.defaultEmphasis(t,"labelLine",["show"]);var c=t.labelLine,o=t.emphasis.labelLine;c.show=c.show&&t.label.show,o.show=o.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});g.mixin(n,f);var u=n;J.exports=u},"9H2F":function(J,B,e){var d=e("bYtY"),x=d.assert,g=d.isArray,p=e("Tghj"),v=p.__DEV__;function b(l){return new f(l)}function f(l){l=l||{},this._reset=l.reset,this._plan=l.plan,this._count=l.count,this._onDirty=l.onDirty,this._dirty=!0,this.context}var i=f.prototype;i.perform=function(l){var n=this._upstream,u=l&&l.skip;if(this._dirty&&n){var t=this.context;t.data=t.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var c;this._plan&&!u&&(c=this._plan(this.context));var o=O(this._modBy),h=this._modDataCount||0,A=O(l&&l.modBy),y=l&&l.modDataCount||0;(o!==A||h!==y)&&(c="reset");function O(D){return!(D>=1)&&(D=1),D}var S;(this._dirty||c==="reset")&&(this._dirty=!1,S=s(this,u)),this._modBy=A,this._modDataCount=y;var E=l&&l.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var C=this._dueIndex,T=Math.min(E!=null?this._dueIndex+E:Infinity,this._dueEnd);if(!u&&(S||C<T)){var w=this._progress;if(g(w))for(var L=0;L<w.length;L++)a(this,w[L],C,T,A,y);else a(this,w,C,T,A,y)}this._dueIndex=T;var N=this._settedOutputEnd!=null?this._settedOutputEnd:T;this._outputDueEnd=N}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var r=function(){var l,n,u,t,c,o={reset:function(y,O,S,E){n=y,l=O,u=S,t=E,c=Math.ceil(t/u),o.next=u>1&&t>0?A:h}};return o;function h(){return n<l?n++:null}function A(){var y=n%c*u+Math.ceil(n/c),O=n>=l?null:y<t?y:n;return n++,O}}();i.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function a(l,n,u,t,c,o){r.reset(u,t,c,o),l._callingProgress=n,l._callingProgress({start:u,end:t,count:t-u,next:r.next},l.context)}function s(l,n){l._dueIndex=l._outputDueEnd=l._dueEnd=0,l._settedOutputEnd=null;var u,t;!n&&l._reset&&(u=l._reset(l.context),u&&u.progress&&(t=u.forceFirstProgress,u=u.progress),g(u)&&!u.length&&(u=null)),l._progress=u,l._modBy=l._modDataCount=null;var c=l._downstream;return c&&c.dirty(),t}i.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},i.pipe=function(l){(this._downstream!==l||this._dirty)&&(this._downstream=l,l._upstream=this,l.dirty())},i.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},i.getUpstream=function(){return this._upstream},i.getDownstream=function(){return this._downstream},i.setOutputEnd=function(l){this._outputDueEnd=this._settedOutputEnd=l},B.createTask=b},"9KIM":function(J,B,e){var d=e("mFDi"),x=e("xSat"),g=x.onIrrelevantElement,p=e("IwbS");function v(r){return r=i(r),function(a,s){return p.clipPointsByRect(a,r)}}function b(r,a){return r=i(r),function(s){var l=a!=null?a:s,n=l?r.width:r.height,u=l?r.x:r.y;return[u,u+(n||0)]}}function f(r,a,s){return r=i(r),function(l,n,u){return r.contain(n[0],n[1])&&!g(l,a,s)}}function i(r){return d.create(r)}B.makeRectPanelClipPath=v,B.makeLinearBrushOtherExtent=b,B.makeRectIsTargetByCursor=f},"9ama":function(J,B,e){},"9eas":function(J,B,e){e("HM/N"),e("tBnm")},"9hCq":function(J,B,e){var d=e("IwbS"),x=e("+TT/"),g=e("bYtY"),p=e("VaxA"),v=p.wrapTreePathInfo,b=8,f=8,i=5;function r(n){this.group=new d.Group,n.add(this.group)}r.prototype={constructor:r,render:function(n,u,t,c){var o=n.getModel("breadcrumb"),h=this.group;if(h.removeAll(),!o.get("show")||!t)return;var A=o.getModel("itemStyle"),y=A.getModel("textStyle"),O={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:u.getWidth(),height:u.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(t,O,y),this._renderContent(n,O,A,y,c),x.positionElement(h,O.pos,O.box)},_prepare:function(n,u,t){for(var c=n;c;c=c.parentNode){var o=c.getModel().get("name"),h=t.getTextRect(o),A=Math.max(h.width+b*2,u.emptyItemWidth);u.totalWidth+=A+f,u.renderList.push({node:c,text:o,width:A})}},_renderContent:function(n,u,t,c,o){for(var h=0,A=u.emptyItemWidth,y=n.get("breadcrumb.height"),O=x.getAvailableSize(u.pos,u.box),S=u.totalWidth,E=u.renderList,C=E.length-1;C>=0;C--){var T=E[C],w=T.node,L=T.width,N=T.text;S>O.width&&(S-=L-A,L=A,N=null);var D=new d.Polygon({shape:{points:a(h,0,L,y,C===E.length-1,C===0)},style:g.defaults(t.getItemStyle(),{lineJoin:"bevel",text:N,textFill:c.getTextColor(),textFont:c.getFont()}),z:10,onclick:g.curry(o,w)});this.group.add(D),s(D,n,w),h+=L+f}},remove:function(){this.group.removeAll()}};function a(n,u,t,c,o,h){var A=[[o?n:n-i,u],[n+t,u],[n+t,u+c],[o?n:n-i,u+c]];return!h&&A.splice(2,0,[n+t+i,u+c/2]),!o&&A.push([n,u+c/2]),A}function s(n,u,t){n.eventData={componentType:"series",componentSubType:"treemap",componentIndex:u.componentIndex,seriesIndex:u.componentIndex,seriesName:u.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&v(t,u)}}var l=r;J.exports=l},"9u0u":function(J,B,e){var d=e("bYtY");function x(p,v){var b={};return d.each(p,function(f){f.each(f.mapDimension("value"),function(i,r){var a="ec-"+f.getName(r);b[a]=b[a]||[],isNaN(i)||b[a].push(i)})}),p[0].map(p[0].mapDimension("value"),function(f,i){for(var r="ec-"+p[0].getName(i),a=0,s=Infinity,l=-Infinity,n=b[r].length,u=0;u<n;u++)s=Math.min(s,b[r][u]),l=Math.max(l,b[r][u]),a+=b[r][u];var t;return v==="min"?t=s:v==="max"?t=l:v==="average"?t=a/n:t=a,n===0?NaN:t})}function g(p){var v={};p.eachSeriesByType("map",function(b){var f=b.getHostGeoModel(),i=f?"o"+f.id:"i"+b.getMapType();(v[i]=v[i]||[]).push(b)}),d.each(v,function(b,f){for(var i=x(d.map(b,function(a){return a.getData()}),b[0].get("mapValueCalculation")),r=0;r<b.length;r++)b[r].originalData=b[r].getData();for(var r=0;r<b.length;r++)b[r].seriesGroup=b,b[r].needsDrawMap=r===0&&!b[r].getHostGeoModel(),b[r].setData(i.cloneShallow()),b[r].mainSeries=b[0]})}J.exports=g},"9wZj":function(J,B,e){var d=e("IwbS"),x=e("FBjb"),g=e("bYtY"),p=g.isObject;function v(s){this.group=new d.Group,this._symbolCtor=s||x}var b=v.prototype;function f(s,l,n,u){return l&&!isNaN(l[0])&&!isNaN(l[1])&&!(u.isIgnore&&u.isIgnore(n))&&!(u.clipShape&&!u.clipShape.contain(l[0],l[1]))&&s.getItemVisual(n,"symbol")!=="none"}b.updateData=function(s,l){l=i(l);var n=this.group,u=s.hostModel,t=this._data,c=this._symbolCtor,o=r(s);t||n.removeAll(),s.diff(t).add(function(h){var A=s.getItemLayout(h);if(f(s,A,h,l)){var y=new c(s,h,o);y.attr("position",A),s.setItemGraphicEl(h,y),n.add(y)}}).update(function(h,A){var y=t.getItemGraphicEl(A),O=s.getItemLayout(h);if(!f(s,O,h,l)){n.remove(y);return}y?(y.updateData(s,h,o),d.updateProps(y,{position:O},u)):(y=new c(s,h),y.attr("position",O)),n.add(y),s.setItemGraphicEl(h,y)}).remove(function(h){var A=t.getItemGraphicEl(h);A&&A.fadeOut(function(){n.remove(A)})}).execute(),this._data=s},b.isPersistent=function(){return!0},b.updateLayout=function(){var s=this._data;s&&s.eachItemGraphicEl(function(l,n){var u=s.getItemLayout(n);l.attr("position",u)})},b.incrementalPrepareUpdate=function(s){this._seriesScope=r(s),this._data=null,this.group.removeAll()},b.incrementalUpdate=function(s,l,n){n=i(n);function u(h){h.isGroup||(h.incremental=h.useHoverLayer=!0)}for(var t=s.start;t<s.end;t++){var c=l.getItemLayout(t);if(f(l,c,t,n)){var o=new this._symbolCtor(l,t,this._seriesScope);o.traverse(u),o.attr("position",c),this.group.add(o),l.setItemGraphicEl(t,o)}}};function i(s){return s!=null&&!p(s)&&(s={isIgnore:s}),s||{}}b.remove=function(s){var l=this.group,n=this._data;n&&s?n.eachItemGraphicEl(function(u){u.fadeOut(function(){l.remove(u)})}):l.removeAll()};function r(s){var l=s.hostModel;return{itemStyle:l.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:l.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:l.get("symbolRotate"),symbolOffset:l.get("symbolOffset"),hoverAnimation:l.get("hoverAnimation"),labelModel:l.getModel("label"),hoverLabelModel:l.getModel("emphasis.label"),cursorStyle:l.get("cursor")}}var a=v;J.exports=a},"9yH6":function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("q1tI"),b=e("+6Fa"),f=e("TSYQ"),i=e.n(f),r=e("H84U"),a=v.createContext(null),s=a.Provider,l=a,n=e("cDf5"),u=e.n(n);function t(M,j){typeof M=="function"?M(j):u()(M)==="object"&&M&&"current"in M&&(M.current=j)}function c(){for(var M=arguments.length,j=new Array(M),P=0;P<M;P++)j[P]=arguments[P];return function(K){j.forEach(function(H){t(H,K)})}}var o=e("uaoM"),h=function(M,j){var P={};for(var K in M)Object.prototype.hasOwnProperty.call(M,K)&&j.indexOf(K)<0&&(P[K]=M[K]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,K=Object.getOwnPropertySymbols(M);H<K.length;H++)j.indexOf(K[H])<0&&Object.prototype.propertyIsEnumerable.call(M,K[H])&&(P[K[H]]=M[K[H]]);return P},A=function(j,P){var K,H=v.useContext(l),_=v.useContext(r.b),Z=_.getPrefixCls,Y=_.direction,k=v.useRef(),Q=c(P,k);v.useEffect(function(){Object(o.a)(!("optionType"in j),"Radio","`optionType` is only support in Radio.Group.")},[]);var X=function(je){j.onChange&&j.onChange(je),(H==null?void 0:H.onChange)&&H.onChange(je)},he=j.prefixCls,te=j.className,pe=j.children,Se=j.style,we=h(j,["prefixCls","className","children","style"]),We=Z("radio",he),qe=p()({},we);H&&(qe.name=H.name,qe.onChange=X,qe.checked=j.value===H.value,qe.disabled=j.disabled||H.disabled);var yt=i()(te,(K={},x()(K,"".concat(We,"-wrapper"),!0),x()(K,"".concat(We,"-wrapper-checked"),qe.checked),x()(K,"".concat(We,"-wrapper-disabled"),qe.disabled),x()(K,"".concat(We,"-wrapper-rtl"),Y==="rtl"),K));return v.createElement("label",{className:yt,style:Se,onMouseEnter:j.onMouseEnter,onMouseLeave:j.onMouseLeave},v.createElement(b.a,p()({},qe,{prefixCls:We,ref:Q})),pe!==void 0?v.createElement("span",null,pe):null)},y=v.forwardRef(A);y.displayName="Radio",y.defaultProps={type:"radio"};var O=y,S=e("J4zp"),E=e.n(S),C=e("6cGi"),T=e("3Nzz"),w=v.forwardRef(function(M,j){var P=v.useContext(r.b),K=P.getPrefixCls,H=P.direction,_=v.useContext(T.b),Z=Object(C.a)(M.defaultValue,{value:M.value}),Y=E()(Z,2),k=Y[0],Q=Y[1],X=function(pe){var Se=k,we=pe.target.value;"value"in M||Q(we);var We=M.onChange;We&&we!==Se&&We(pe)},he=function(){var pe,Se=M.prefixCls,we=M.className,We=we===void 0?"":we,qe=M.options,yt=M.optionType,_e=M.buttonStyle,je=M.disabled,Ct=M.children,ct=M.size,nt=M.style,bt=M.id,dt=M.onMouseEnter,vt=M.onMouseLeave,Qe=K("radio",Se),mt="".concat(Qe,"-group"),Pe=Ct;if(qe&&qe.length>0){var De=yt==="button"?"".concat(Qe,"-button"):Qe;Pe=qe.map(function(wt){return typeof wt=="string"?v.createElement(O,{ref:j,key:wt,prefixCls:De,disabled:je,value:wt,checked:k===wt},wt):v.createElement(O,{ref:j,key:"radio-group-value-options-".concat(wt.value),prefixCls:De,disabled:wt.disabled||je,value:wt.value,checked:k===wt.value,style:wt.style},wt.label)})}var Ie=ct||_,ot=i()(mt,"".concat(mt,"-").concat(_e),(pe={},x()(pe,"".concat(mt,"-").concat(Ie),Ie),x()(pe,"".concat(mt,"-rtl"),H==="rtl"),pe),We);return v.createElement("div",{className:ot,style:nt,onMouseEnter:dt,onMouseLeave:vt,id:bt},Pe)};return v.createElement(s,{value:{onChange:X,value:k,disabled:M.disabled,name:M.name}},he())});w.defaultProps={buttonStyle:"outline"};var L=v.memo(w),N=function(M,j){var P={};for(var K in M)Object.prototype.hasOwnProperty.call(M,K)&&j.indexOf(K)<0&&(P[K]=M[K]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,K=Object.getOwnPropertySymbols(M);H<K.length;H++)j.indexOf(K[H])<0&&Object.prototype.propertyIsEnumerable.call(M,K[H])&&(P[K[H]]=M[K[H]]);return P},D=function(j,P){var K=v.useContext(l),H=v.useContext(r.b),_=H.getPrefixCls,Z=j.prefixCls,Y=N(j,["prefixCls"]),k=_("radio-button",Z);return K&&(Y.checked=j.value===K.value,Y.disabled=j.disabled||K.disabled),v.createElement(O,p()({prefixCls:k},Y,{type:"radio",ref:P}))},F=v.forwardRef(D),R=O;R.Button=F,R.Group=L;var U=B.a=R},A1Ka:function(J,B,e){var d=e("bLfw"),x=e("sS/r"),g=e("D5nY"),p=g.detectSourceFormat,v=e("k9D9"),b=v.SERIES_LAYOUT_BY_COLUMN;d.extend({type:"dataset",defaultOption:{seriesLayoutBy:b,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){p(this)}}),x.extend({type:"dataset"})},A90E:function(J,B,e){var d=e("6sVZ"),x=e("V6Ve"),g=Object.prototype,p=g.hasOwnProperty;function v(b){if(!d(b))return x(b);var f=[];for(var i in Object(b))p.call(b,i)&&i!="constructor"&&f.push(i);return f}J.exports=v},ABKa:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("Qs9O")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="FolderOutlined";var f=g.forwardRef(b);B.default=f},ACnJ:function(J,B,e){"use strict";e.d(B,"b",function(){return v});var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=["xxl","xl","lg","md","sm","xs"],b={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},f=new Map,i=-1,r={},a={matchHandlers:{},dispatch:function(l){return r=l,f.forEach(function(n){return n(r)}),f.size>=1},subscribe:function(l){return f.size||this.register(),i+=1,f.set(i,l),l(r),i},unsubscribe:function(l){f.delete(l),f.size||this.unregister()},unregister:function(){var l=this;Object.keys(b).forEach(function(n){var u=b[n],t=l.matchHandlers[u];t==null||t.mql.removeListener(t==null?void 0:t.listener)}),f.clear()},register:function(){var l=this;Object.keys(b).forEach(function(n){var u=b[n],t=function(h){var A=h.matches;l.dispatch(p()(p()({},r),x()({},n,A)))},c=window.matchMedia(u);c.addListener(t),l.matchHandlers[u]={mql:c,listener:t},t(c)})}};B.a=a},AE9C:function(J,B,e){var d=e("bYtY"),x=e("crZl"),g=e("IwbS"),p=e("oVpE"),v=p.createSymbol,b=e("+TT/"),f=e("y7Aq"),i=x.extend({type:"visualMap.piecewise",doRender:function(){var a=this.group;a.removeAll();var s=this.visualMapModel,l=s.get("textGap"),n=s.textStyleModel,u=n.getFont(),t=n.getTextColor(),c=this._getItemAlign(),o=s.itemSize,h=this._getViewData(),A=h.endsText,y=d.retrieve(s.get("showLabel",!0),!A);A&&this._renderEndsText(a,A[0],o,y,c),d.each(h.viewPieceList,O,this),A&&this._renderEndsText(a,A[1],o,y,c),b.box(s.get("orient"),a,s.get("itemGap")),this.renderBackground(a),this.positionGroup(a);function O(S){var E=S.piece,C=new g.Group;C.onclick=d.bind(this._onItemClick,this,E),this._enableHoverLink(C,S.indexInModelPieceList);var T=s.getRepresentValue(E);if(this._createItemSymbol(C,T,[0,0,o[0],o[1]]),y){var w=this.visualMapModel.getValueState(T);C.add(new g.Text({style:{x:c==="right"?-l:o[0]+l,y:o[1]/2,text:E.text,textVerticalAlign:"middle",textAlign:c,textFont:u,textFill:t,opacity:w==="outOfRange"?.5:1}}))}a.add(C)}},_enableHoverLink:function(a,s){a.on("mouseover",d.bind(l,this,"highlight")).on("mouseout",d.bind(l,this,"downplay"));function l(n){var u=this.visualMapModel;u.option.hoverLink&&this.api.dispatchAction({type:n,batch:f.makeHighDownBatch(u.findTargetDataIndices(s),u)})}},_getItemAlign:function(){var a=this.visualMapModel,s=a.option;if(s.orient==="vertical")return f.getItemAlign(a,this.api,a.itemSize);var l=s.align;return(!l||l==="auto")&&(l="left"),l},_renderEndsText:function(a,s,l,n,u){if(!s)return;var t=new g.Group,c=this.visualMapModel.textStyleModel;t.add(new g.Text({style:{x:n?u==="right"?l[0]:0:l[0]/2,y:l[1]/2,textVerticalAlign:"middle",textAlign:n?u:"center",text:s,textFont:c.getFont(),textFill:c.getTextColor()}})),a.add(t)},_getViewData:function(){var a=this.visualMapModel,s=d.map(a.getPieceList(),function(t,c){return{piece:t,indexInModelPieceList:c}}),l=a.get("text"),n=a.get("orient"),u=a.get("inverse");return(n==="horizontal"?u:!u)?s.reverse():l&&(l=l.slice().reverse()),{viewPieceList:s,endsText:l}},_createItemSymbol:function(a,s,l){a.add(v(this.getControllerVisual(s,"symbol"),l[0],l[1],l[2],l[3],this.getControllerVisual(s,"color")))},_onItemClick:function(a){var s=this.visualMapModel,l=s.option,n=d.clone(l.selected),u=s.getSelectedMapKey(a);l.selectedMode==="single"?(n[u]=!0,d.each(n,function(t,c){n[c]=c===u})):n[u]=!n[u],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}}),r=i;J.exports=r},AEZ6:function(J,B,e){var d=e("bYtY"),x=d.each,g=d.createHashMap,p=e("T4UG"),v=e("MwEJ"),b=p.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(r,a){var s=this.getSource();return f(s,this),v(s,this)},getRawIndicesByActiveState:function(r){var a=this.coordinateSystem,s=this.getData(),l=[];return a.eachActiveState(s,function(n,u){r===n&&l.push(s.getRawIndex(u))}),l},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function f(r,a){if(r.encodeDefine)return;var s=a.ecModel.getComponent("parallel",a.get("parallelIndex"));if(!s)return;var l=r.encodeDefine=g();x(s.dimensions,function(n){var u=i(n);l.set(n,u)})}function i(r){return+r.replace("dim","")}J.exports=b},AH3D:function(J,B,e){var d=e("ProS");e("y4/Y"),e("qWt2"),e("Qvb6"),d.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),d.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("5GtS"),p=e("4NO4"),v=p.defaultEmphasis,b=e("D5nY"),f=b.makeSeriesEncodeForNameBased,i=e("xKMd"),r=d.extendSeriesModel({type:"series.funnel",init:function(s){r.superApply(this,"init",arguments),this.legendVisualProvider=new i(x.bind(this.getData,this),x.bind(this.getRawData,this)),this._defaultLabelLine(s)},getInitialData:function(s,l){return g(this,{coordDimensions:["value"],encodeDefaulter:x.curry(f,this)})},_defaultLabelLine:function(s){v(s,"labelLine",["show"]);var l=s.labelLine,n=s.emphasis.labelLine;l.show=l.show&&s.label.show,n.show=n.show&&s.emphasis.label.show},getDataParams:function(s){var l=this.getData(),n=r.superCall(this,"getDataParams",s),u=l.mapDimension("value"),t=l.getSum(u);return n.percent=t?+(l.get(u,s)/t*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),a=r;J.exports=a},ANhw:function(J,B){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d={rotl:function(g,p){return g<<p|g>>>32-p},rotr:function(g,p){return g<<32-p|g>>>p},endian:function(g){if(g.constructor==Number)return d.rotl(g,8)&16711935|d.rotl(g,24)&4278255360;for(var p=0;p<g.length;p++)g[p]=d.endian(g[p]);return g},randomBytes:function(g){for(var p=[];g>0;g--)p.push(Math.floor(Math.random()*256));return p},bytesToWords:function(g){for(var p=[],v=0,b=0;v<g.length;v++,b+=8)p[b>>>5]|=g[v]<<24-b%32;return p},wordsToBytes:function(g){for(var p=[],v=0;v<g.length*32;v+=8)p.push(g[v>>>5]>>>24-v%32&255);return p},bytesToHex:function(g){for(var p=[],v=0;v<g.length;v++)p.push((g[v]>>>4).toString(16)),p.push((g[v]&15).toString(16));return p.join("")},hexToBytes:function(g){for(var p=[],v=0;v<g.length;v+=2)p.push(parseInt(g.substr(v,2),16));return p},bytesToBase64:function(g){for(var p=[],v=0;v<g.length;v+=3)for(var b=g[v]<<16|g[v+1]<<8|g[v+2],f=0;f<4;f++)v*8+f*6<=g.length*8?p.push(e.charAt(b>>>6*(3-f)&63)):p.push("=");return p.join("")},base64ToBytes:function(g){g=g.replace(/[^A-Z0-9+\/]/ig,"");for(var p=[],v=0,b=0;v<g.length;b=++v%4){if(b==0)continue;p.push((e.indexOf(g.charAt(v-1))&Math.pow(2,-2*b+8)-1)<<b*2|e.indexOf(g.charAt(v))>>>6-b*2)}return p}};J.exports=d})()},ANjR:function(J,B,e){var d=e("bYtY");function x(p,v){return v=v||[0,0],d.map([0,1],function(b){var f=v[b],i=p[b]/2,r=[],a=[];return r[b]=f-i,a[b]=f+i,r[1-b]=a[1-b]=v[1-b],Math.abs(this.dataToPoint(r)[b]-this.dataToPoint(a)[b])},this)}function g(p){var v=p.getBoundingRect();return{coordSys:{type:"geo",x:v.x,y:v.y,width:v.width,height:v.height,zoom:p.getZoom()},api:{coord:function(b){return p.dataToPoint(b)},size:d.bind(x,p)}}}J.exports=g},AOa7:function(J,B,e){},AUH6:function(J,B,e){var d=e("bYtY"),x=e("mFDi"),g=e("bMXI"),p=e("W4dC");function v(i,r,a,s){g.call(this,i),this.map=r;var l=p.load(r,a);this._nameCoordMap=l.nameCoordMap,this._regionsMap=l.regionsMap,this._invertLongitute=s==null?!0:s,this.regions=l.regions,this._rect=l.boundingRect}v.prototype={constructor:v,type:"geo",dimensions:["lng","lat"],containCoord:function(i){for(var r=this.regions,a=0;a<r.length;a++)if(r[a].contain(i))return!0;return!1},transformTo:function(i,r,a,s){var l=this.getBoundingRect(),n=this._invertLongitute;l=l.clone(),n&&(l.y=-l.y-l.height);var u=this._rawTransformable;if(u.transform=l.calculateTransform(new x(i,r,a,s)),u.decomposeTransform(),n){var t=u.scale;t[1]=-t[1]}u.updateTransform(),this._updateTransform()},getRegion:function(i){return this._regionsMap.get(i)},getRegionByCoord:function(i){for(var r=this.regions,a=0;a<r.length;a++)if(r[a].contain(i))return r[a]},addGeoCoord:function(i,r){this._nameCoordMap.set(i,r)},getGeoCoord:function(i){return this._nameCoordMap.get(i)},getBoundingRect:function(){return this._rect},dataToPoint:function(i,r,a){if(typeof i=="string"&&(i=this.getGeoCoord(i)),i)return g.prototype.dataToPoint.call(this,i,r,a)},convertToPixel:d.curry(b,"dataToPoint"),convertFromPixel:d.curry(b,"pointToData")},d.mixin(v,g);function b(i,r,a,s){var l=a.geoModel,n=a.seriesModel,u=l?l.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return u===this?u[i](s):null}var f=v;J.exports=f},AVZG:function(J,B,e){var d=e("bYtY");function x(g,p,v){v=v||{};var b=g.coordinateSystem,f=p.axis,i={},r=f.getAxesOnZeroOf()[0],a=f.position,s=r?"onZero":a,l=f.dim,n=b.getRect(),u=[n.x,n.x+n.width,n.y,n.y+n.height],t={left:0,right:1,top:0,bottom:1,onZero:2},c=p.get("offset")||0,o=l==="x"?[u[2]-c,u[3]+c]:[u[0]-c,u[1]+c];if(r){var h=r.toGlobalCoord(r.dataToCoord(0));o[t.onZero]=Math.max(Math.min(h,o[1]),o[0])}i.position=[l==="y"?o[t[s]]:u[0],l==="x"?o[t[s]]:u[3]],i.rotation=Math.PI/2*(l==="x"?0:1);var A={top:-1,bottom:1,left:-1,right:1};i.labelDirection=i.tickDirection=i.nameDirection=A[a],i.labelOffset=r?o[t[a]]-o[t.onZero]:0,p.get("axisTick.inside")&&(i.tickDirection=-i.tickDirection),d.retrieve(v.labelInside,p.get("axisLabel.inside"))&&(i.labelDirection=-i.labelDirection);var y=p.get("axisLabel.rotate");return i.labelRotate=s==="top"?-y:y,i.z2=1,i}B.layout=x},"Ae+d":function(J,B){function e(x,g,p){var v=x.target,b=v.position;b[0]+=g,b[1]+=p,v.dirty()}function d(x,g,p,v){var b=x.target,f=x.zoomLimit,i=b.position,r=b.scale,a=x.zoom=x.zoom||1;if(a*=g,f){var s=f.min||0,l=f.max||Infinity;a=Math.max(Math.min(l,a),s)}var n=a/x.zoom;x.zoom=a,i[0]-=(p-i[0])*(n-1),i[1]-=(v-i[1])*(n-1),r[0]*=n,r[1]*=n,b.dirty()}B.updateViewOnPan=e,B.updateViewOnZoom=d},Ae16:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("IwbS");e("Wqna"),e("rySg"),d.extendComponentView({type:"grid",render:function(p,v){this.group.removeAll(),p.get("show")&&this.group.add(new g.Rect({shape:p.coordinateSystem.getRect(),style:x.defaults({fill:p.get("backgroundColor")},p.getItemStyle()),silent:!0,z2:-1}))}}),d.registerPreprocessor(function(p){p.xAxis&&p.yAxis&&!p.grid&&(p.grid={})})},Awhp:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("PQMj"),p=e.n(g)},"B+YJ":function(J,B,e){e("TYVI"),e("p1MT")},"B6l+":function(J,B,e){var d=e("Sq3C"),x=e("Z1HP"),g=e("Sxd8"),p=e("dt0z");function v(b,f,i){b=p(b),f=g(f);var r=f?x(b):0;return f&&r<f?b+d(f-r,i):b}J.exports=v},B8du:function(J,B){function e(){return!1}J.exports=e},B9cy:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("0XgM"),p=e.n(g)},B9fm:function(J,B,e){var d=e("bYtY"),x=e("Qe9p"),g=e("YH21"),p=e("Ze12"),v=e("ItGF"),b=e("7aKB"),f=d.each,i=b.toCamelCase,r=["","-webkit-","-moz-","-o-"],a="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function s(o){var h="cubic-bezier(0.23, 1, 0.32, 1)",A="left "+o+"s "+h+",top "+o+"s "+h;return d.map(r,function(y){return y+"transition:"+A}).join(";")}function l(o){var h=[],A=o.get("fontSize"),y=o.getTextColor();return y&&h.push("color:"+y),h.push("font:"+o.getFont()),A&&h.push("line-height:"+Math.round(A*3/2)+"px"),f(["decoration","align"],function(O){var S=o.get(O);S&&h.push("text-"+O+":"+S)}),h.join(";")}function n(o){var h=[],A=o.get("transitionDuration"),y=o.get("backgroundColor"),O=o.getModel("textStyle"),S=o.get("padding");return A&&h.push(s(A)),y&&(v.canvasSupported?h.push("background-Color:"+y):(h.push("background-Color:#"+x.toHex(y)),h.push("filter:alpha(opacity=70)"))),f(["width","color","radius"],function(E){var C="border-"+E,T=i(C),w=o.get(T);w!=null&&h.push(C+":"+w+(E==="color"?"":"px"))}),h.push(l(O)),S!=null&&h.push("padding:"+b.normalizeCssArray(S).join("px ")+"px"),h.join(";")+";"}function u(o,h,A,y,O){var S=h&&h.painter;if(A){var E=S&&S.getViewportRoot();E&&p.transformLocalCoord(o,E,document.body,y,O)}else{o[0]=y,o[1]=O;var C=S&&S.getViewportRootOffset();C&&(o[0]+=C.offsetLeft,o[1]+=C.offsetTop)}}function t(o,h,A){if(v.wxa)return null;var y=document.createElement("div");y.domBelongToZr=!0,this.el=y;var O=this._zr=h.getZr(),S=this._appendToBody=A&&A.appendToBody;this._styleCoord=[0,0],u(this._styleCoord,O,S,h.getWidth()/2,h.getHeight()/2),S?document.body.appendChild(y):o.appendChild(y),this._container=o,this._show=!1,this._hideTimeout;var E=this;y.onmouseenter=function(){E._enterable&&(clearTimeout(E._hideTimeout),E._show=!0),E._inContent=!0},y.onmousemove=function(C){if(C=C||window.event,!E._enterable){var T=O.handler,w=O.painter.getViewportRoot();g.normalizeEvent(w,C,!0),T.dispatch("mousemove",C)}},y.onmouseleave=function(){E._enterable&&(E._show&&E.hideLater(E._hideDelay)),E._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var o=this._container,h=o.currentStyle||document.defaultView.getComputedStyle(o),A=o.style;A.position!=="absolute"&&h.position!=="absolute"&&(A.position="relative")},show:function(o){clearTimeout(this._hideTimeout);var h=this.el,A=this._styleCoord;h.style.cssText=a+n(o)+";left:"+A[0]+"px;top:"+A[1]+"px;"+(o.get("extraCssText")||""),h.style.display=h.innerHTML?"block":"none",h.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(o){this.el.innerHTML=o==null?"":o},setEnterable:function(o){this._enterable=o},getSize:function(){var o=this.el;return[o.clientWidth,o.clientHeight]},moveTo:function(o,h){var A=this._styleCoord;u(A,this._zr,this._appendToBody,o,h);var y=this.el.style;y.left=A[0]+"px",y.top=A[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(o){this._show&&!(this._inContent&&this._enterable)&&(o?(this._hideDelay=o,this._show=!1,this._hideTimeout=setTimeout(d.bind(this.hide,this),o)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var o=this.el.clientWidth,h=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var A=document.defaultView.getComputedStyle(this.el);A&&(o+=parseInt(A.borderLeftWidth,10)+parseInt(A.borderRightWidth,10),h+=parseInt(A.borderTopWidth,10)+parseInt(A.borderBottomWidth,10))}return{width:o,height:h}}};var c=t;J.exports=c},BEtg:function(J,B){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/J.exports=function(x){return x!=null&&(e(x)||d(x)||!!x._isBuffer)};function e(x){return!!x.constructor&&typeof x.constructor.isBuffer=="function"&&x.constructor.isBuffer(x)}function d(x){return typeof x.readFloatLE=="function"&&typeof x.slice=="function"&&e(x.slice(0,0))}},BMrR:function(J,B,e){"use strict";var d=e("qrJ5");B.a=d.a},BPZU:function(J,B){var e=32,d=7,x=256;function g(s){for(var l=0;s>=e;)l|=s&1,s>>=1;return s+l}function p(s,l,n,u){var t=l+1;if(t===n)return 1;if(u(s[t++],s[l])<0){for(;t<n&&u(s[t],s[t-1])<0;)t++;v(s,l,t)}else for(;t<n&&u(s[t],s[t-1])>=0;)t++;return t-l}function v(s,l,n){for(n--;l<n;){var u=s[l];s[l++]=s[n],s[n--]=u}}function b(s,l,n,u,t){for(u===l&&u++;u<n;u++){for(var c=s[u],o=l,h=u,A;o<h;)A=o+h>>>1,t(c,s[A])<0?h=A:o=A+1;var y=u-o;switch(y){case 3:s[o+3]=s[o+2];case 2:s[o+2]=s[o+1];case 1:s[o+1]=s[o];break;default:for(;y>0;)s[o+y]=s[o+y-1],y--}s[o]=c}}function f(s,l,n,u,t,c){var o=0,h=0,A=1;if(c(s,l[n+t])>0){for(h=u-t;A<h&&c(s,l[n+t+A])>0;)o=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h),o+=t,A+=t}else{for(h=t+1;A<h&&c(s,l[n+t-A])<=0;)o=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h);var y=o;o=t-A,A=t-y}for(o++;o<A;){var O=o+(A-o>>>1);c(s,l[n+O])>0?o=O+1:A=O}return A}function i(s,l,n,u,t,c){var o=0,h=0,A=1;if(c(s,l[n+t])<0){for(h=t+1;A<h&&c(s,l[n+t-A])<0;)o=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h);var y=o;o=t-A,A=t-y}else{for(h=u-t;A<h&&c(s,l[n+t+A])>=0;)o=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h),o+=t,A+=t}for(o++;o<A;){var O=o+(A-o>>>1);c(s,l[n+O])<0?A=O:o=O+1}return A}function r(s,l){var n=d,u=0,t=x,c=0,o,h,A=0;u=s.length,u<2*x&&(t=u>>>1);var y=[];c=u<120?5:u<1542?10:u<119151?19:40,o=[],h=[];function O(L,N){o[A]=L,h[A]=N,A+=1}function S(){for(;A>1;){var L=A-2;if(L>=1&&h[L-1]<=h[L]+h[L+1]||L>=2&&h[L-2]<=h[L]+h[L-1])h[L-1]<h[L+1]&&L--;else if(h[L]>h[L+1])break;C(L)}}function E(){for(;A>1;){var L=A-2;L>0&&h[L-1]<h[L+1]&&L--,C(L)}}function C(L){var N=o[L],D=h[L],F=o[L+1],R=h[L+1];h[L]=D+R,L===A-3&&(o[L+1]=o[L+2],h[L+1]=h[L+2]),A--;var U=i(s[F],s,N,D,0,l);if(N+=U,D-=U,D===0)return;if(R=f(s[N+D-1],s,F,R,R-1,l),R===0)return;D<=R?T(N,D,F,R):w(N,D,F,R)}function T(L,N,D,F){var R=0;for(R=0;R<N;R++)y[R]=s[L+R];var U=0,M=D,j=L;if(s[j++]=s[M++],--F===0){for(R=0;R<N;R++)s[j+R]=y[U+R];return}if(N===1){for(R=0;R<F;R++)s[j+R]=s[M+R];s[j+F]=y[U];return}for(var P=n,K,H,_;;){K=0,H=0,_=!1;do if(l(s[M],y[U])<0){if(s[j++]=s[M++],H++,K=0,--F===0){_=!0;break}}else if(s[j++]=y[U++],K++,H=0,--N===1){_=!0;break}while((K|H)<P);if(_)break;do{if(K=i(s[M],y,U,N,0,l),K!==0){for(R=0;R<K;R++)s[j+R]=y[U+R];if(j+=K,U+=K,N-=K,N<=1){_=!0;break}}if(s[j++]=s[M++],--F===0){_=!0;break}if(H=f(y[U],s,M,F,0,l),H!==0){for(R=0;R<H;R++)s[j+R]=s[M+R];if(j+=H,M+=H,F-=H,F===0){_=!0;break}}if(s[j++]=y[U++],--N===1){_=!0;break}P--}while(K>=d||H>=d);if(_)break;P<0&&(P=0),P+=2}if(n=P,n<1&&(n=1),N===1){for(R=0;R<F;R++)s[j+R]=s[M+R];s[j+F]=y[U]}else{if(N===0)throw new Error;for(R=0;R<N;R++)s[j+R]=y[U+R]}}function w(L,N,D,F){var R=0;for(R=0;R<F;R++)y[R]=s[D+R];var U=L+N-1,M=F-1,j=D+F-1,P=0,K=0;if(s[j--]=s[U--],--N===0){for(P=j-(F-1),R=0;R<F;R++)s[P+R]=y[R];return}if(F===1){for(j-=N,U-=N,K=j+1,P=U+1,R=N-1;R>=0;R--)s[K+R]=s[P+R];s[j]=y[M];return}for(var H=n;;){var _=0,Z=0,Y=!1;do if(l(y[M],s[U])<0){if(s[j--]=s[U--],_++,Z=0,--N===0){Y=!0;break}}else if(s[j--]=y[M--],Z++,_=0,--F===1){Y=!0;break}while((_|Z)<H);if(Y)break;do{if(_=N-i(y[M],s,L,N,N-1,l),_!==0){for(j-=_,U-=_,N-=_,K=j+1,P=U+1,R=_-1;R>=0;R--)s[K+R]=s[P+R];if(N===0){Y=!0;break}}if(s[j--]=y[M--],--F===1){Y=!0;break}if(Z=F-f(s[U],y,0,F,F-1,l),Z!==0){for(j-=Z,M-=Z,F-=Z,K=j+1,P=M+1,R=0;R<Z;R++)s[K+R]=y[P+R];if(F<=1){Y=!0;break}}if(s[j--]=s[U--],--N===0){Y=!0;break}H--}while(_>=d||Z>=d);if(Y)break;H<0&&(H=0),H+=2}if(n=H,n<1&&(n=1),F===1){for(j-=N,U-=N,K=j+1,P=U+1,R=N-1;R>=0;R--)s[K+R]=s[P+R];s[j]=y[M]}else{if(F===0)throw new Error;for(P=j-(F-1),R=0;R<F;R++)s[P+R]=y[R]}}this.mergeRuns=S,this.forceMergeRuns=E,this.pushRun=O}function a(s,l,n,u){n||(n=0),u||(u=s.length);var t=u-n;if(t<2)return;var c=0;if(t<e){c=p(s,n,u,l),b(s,n,u,n+c,l);return}var o=new r(s,l),h=g(t);do{if(c=p(s,n,u,l),c<h){var A=t;A>h&&(A=h),b(s,n,n+A,n+c,l),c=A}o.pushRun(n,c),o.mergeRuns(),t-=c,n+=c}while(t!==0);o.forceMergeRuns()}J.exports=a},Bd2K:function(J,B,e){(function(d){d(e("VrN/"),e("osHv"))})(function(d){d.defineOption("autoCloseTags",!1,function(r,a,s){if(s!=d.Init&&s&&r.removeKeyMap("autoCloseTags"),!a)return;var l={name:"autoCloseTags"};(typeof a!="object"||a.whenClosing!==!1)&&(l["'/'"]=function(n){return b(n)}),(typeof a!="object"||a.whenOpening!==!1)&&(l["'>'"]=function(n){return p(n)}),r.addKeyMap(l)});var x=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],g=["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 p(r){if(r.getOption("disableInput"))return d.Pass;for(var a=r.listSelections(),s=[],l=r.getOption("autoCloseTags"),n=0;n<a.length;n++){if(!a[n].empty())return d.Pass;var u=a[n].head,t=r.getTokenAt(u),c=d.innerMode(r.getMode(),t.state),o=c.state,h=c.mode.xmlCurrentTag&&c.mode.xmlCurrentTag(o),A=h&&h.name;if(!A)return d.Pass;var y=c.mode.configuration=="html",O=typeof l=="object"&&l.dontCloseTags||y&&x,S=typeof l=="object"&&l.indentTags||y&&g;t.end>u.ch&&(A=A.slice(0,A.length-t.end+u.ch));var E=A.toLowerCase();if(!A||t.type=="string"&&(t.end!=u.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&h.close||t.string.indexOf("/")==u.ch-t.start-1||O&&f(O,E)>-1||i(r,c.mode.xmlCurrentContext&&c.mode.xmlCurrentContext(o)||[],A,u,!0))return d.Pass;var C=typeof l=="object"&&l.emptyTags;if(C&&f(C,A)>-1){s[n]={text:"/>",newPos:d.Pos(u.line,u.ch+2)};continue}var T=S&&f(S,E)>-1;s[n]={indent:T,text:">"+(T?`
|
|
|
|
|
|
`:"")+"</"+A+">",newPos:T?d.Pos(u.line+1,0):d.Pos(u.line,u.ch+1)}}for(var w=typeof l=="object"&&l.dontIndentOnAutoClose,n=a.length-1;n>=0;n--){var L=s[n];r.replaceRange(L.text,a[n].head,a[n].anchor,"+insert");var N=r.listSelections().slice(0);N[n]={head:L.newPos,anchor:L.newPos},r.setSelections(N),!w&&L.indent&&(r.indentLine(L.newPos.line,null,!0),r.indentLine(L.newPos.line+1,null,!0))}}function v(r,a){for(var s=r.listSelections(),l=[],n=a?"/":"</",u=r.getOption("autoCloseTags"),t=typeof u=="object"&&u.dontIndentOnSlash,c=0;c<s.length;c++){if(!s[c].empty())return d.Pass;var o=s[c].head,h=r.getTokenAt(o),A=d.innerMode(r.getMode(),h.state),y=A.state;if(a&&(h.type=="string"||h.string.charAt(0)!="<"||h.start!=o.ch-1))return d.Pass;var O,S=A.mode.name!="xml"&&r.getMode().name=="htmlmixed";if(S&&A.mode.name=="javascript")O=n+"script";else if(S&&A.mode.name=="css")O=n+"style";else{var E=A.mode.xmlCurrentContext&&A.mode.xmlCurrentContext(y);if(!E||E.length&&i(r,E,E[E.length-1],o))return d.Pass;O=n+E[E.length-1]}r.getLine(o.line).charAt(h.end)!=">"&&(O+=">"),l[c]=O}if(r.replaceSelections(l),s=r.listSelections(),!t)for(var c=0;c<s.length;c++)(c==s.length-1||s[c].head.line<s[c+1].head.line)&&r.indentLine(s[c].head.line)}function b(r){return r.getOption("disableInput")?d.Pass:v(r,!0)}d.commands.closeTag=function(r){return v(r)};function f(r,a){if(r.indexOf)return r.indexOf(a);for(var s=0,l=r.length;s<l;++s)if(r[s]==a)return s;return-1}function i(r,a,s,l,n){if(!d.scanForClosingTag)return!1;var u=Math.min(r.lastLine()+1,l.line+500),t=d.scanForClosingTag(r,l,null,u);if(!t||t.tag!=s)return!1;for(var c=n?1:0,o=a.length-1;o>=0&&a[o]==s;o--)++c;l=t.to;for(var o=1;o<c;o++){var h=d.scanForClosingTag(r,l,null,u);if(!h||h.tag!=s)return!1;l=h.to}return!0}})},BlVb:function(J,B,e){var d=e("hyiK"),x=1e-8;function g(v,b){return Math.abs(v-b)<x}function p(v,b,f){var i=0,r=v[0];if(!r)return!1;for(var a=1;a<v.length;a++){var s=v[a];i+=d(r[0],r[1],s[0],s[1],b,f),r=s}var l=v[0];return(!g(r[0],l[0])||!g(r[1],l[1]))&&(i+=d(r[0],r[1],l[0],l[1],b,f)),i!==0}B.contain=p},BoS7:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("czTT"),p=e.n(g)},Bq2U:function(J,B,e){var d=e("RDYZ"),x=e("Qe9p"),g=e("bYtY"),p=g.isArrayLike,v=Array.prototype.slice;function b(O,S){return O[S]}function f(O,S,E){O[S]=E}function i(O,S,E){return(S-O)*E+O}function r(O,S,E){return E>.5?S:O}function a(O,S,E,C,T){var w=O.length;if(T===1)for(var L=0;L<w;L++)C[L]=i(O[L],S[L],E);else for(var N=w&&O[0].length,L=0;L<w;L++)for(var D=0;D<N;D++)C[L][D]=i(O[L][D],S[L][D],E)}function s(O,S,E){var C=O.length,T=S.length;if(C!==T){var w=C>T;if(w)O.length=T;else for(var L=C;L<T;L++)O.push(E===1?S[L]:v.call(S[L]))}for(var N=O[0]&&O[0].length,L=0;L<O.length;L++)if(E===1)isNaN(O[L])&&(O[L]=S[L]);else for(var D=0;D<N;D++)isNaN(O[L][D])&&(O[L][D]=S[L][D])}function l(O,S,E){if(O===S)return!0;var C=O.length;if(C!==S.length)return!1;if(E===1){for(var T=0;T<C;T++)if(O[T]!==S[T])return!1}else for(var w=O[0].length,T=0;T<C;T++)for(var L=0;L<w;L++)if(O[T][L]!==S[T][L])return!1;return!0}function n(O,S,E,C,T,w,L,N,D){var F=O.length;if(D===1)for(var R=0;R<F;R++)N[R]=u(O[R],S[R],E[R],C[R],T,w,L);else for(var U=O[0].length,R=0;R<F;R++)for(var M=0;M<U;M++)N[R][M]=u(O[R][M],S[R][M],E[R][M],C[R][M],T,w,L)}function u(O,S,E,C,T,w,L){var N=(E-O)*.5,D=(C-S)*.5;return(2*(S-E)+N+D)*L+(-3*(S-E)-2*N-D)*w+N*T+S}function t(O){if(p(O)){var S=O.length;if(p(O[0])){for(var E=[],C=0;C<S;C++)E.push(v.call(O[C]));return E}return v.call(O)}return O}function c(O){return O[0]=Math.floor(O[0]),O[1]=Math.floor(O[1]),O[2]=Math.floor(O[2]),"rgba("+O.join(",")+")"}function o(O){var S=O[O.length-1].value;return p(S&&S[0])?2:1}function h(O,S,E,C,T,w){var L=O._getter,N=O._setter,D=S==="spline",F=C.length;if(!F)return;var R=C[0].value,U=p(R),M=!1,j=!1,P=U?o(C):0,K;C.sort(function(nt,bt){return nt.time-bt.time}),K=C[F-1].time;for(var H=[],_=[],Z=C[0].value,Y=!0,k=0;k<F;k++){H.push(C[k].time/K);var Q=C[k].value;if(U&&l(Q,Z,P)||!U&&Q===Z||(Y=!1),Z=Q,typeof Q=="string"){var X=x.parse(Q);X?(Q=X,M=!0):j=!0}_.push(Q)}if(!w&&Y)return;for(var he=_[F-1],k=0;k<F-1;k++)U?s(_[k],he,P):isNaN(_[k])&&!isNaN(he)&&!j&&!M&&(_[k]=he);U&&s(L(O._target,T),he,P);var te=0,pe=0,Se,we,We,qe,yt,_e;if(M)var je=[0,0,0,0];var Ct=function(bt,dt){var vt;if(dt<0)vt=0;else if(dt<pe){for(Se=Math.min(te+1,F-1),vt=Se;vt>=0&&!(H[vt]<=dt);vt--);vt=Math.min(vt,F-2)}else{for(vt=te;vt<F&&!(H[vt]>dt);vt++);vt=Math.min(vt-1,F-2)}te=vt,pe=dt;var Qe=H[vt+1]-H[vt];if(Qe===0)return;if(we=(dt-H[vt])/Qe,D)if(qe=_[vt],We=_[vt===0?vt:vt-1],yt=_[vt>F-2?F-1:vt+1],_e=_[vt>F-3?F-1:vt+2],U)n(We,qe,yt,_e,we,we*we,we*we*we,L(bt,T),P);else{var mt;if(M)mt=n(We,qe,yt,_e,we,we*we,we*we*we,je,1),mt=c(je);else{if(j)return r(qe,yt,we);mt=u(We,qe,yt,_e,we,we*we,we*we*we)}N(bt,T,mt)}else if(U)a(_[vt],_[vt+1],we,L(bt,T),P);else{var mt;if(M)a(_[vt],_[vt+1],we,je,1),mt=c(je);else{if(j)return r(_[vt],_[vt+1],we);mt=i(_[vt],_[vt+1],we)}N(bt,T,mt)}},ct=new d({target:O._target,life:K,loop:O._loop,delay:O._delay,onframe:Ct,ondestroy:E});return S&&S!=="spline"&&(ct.easing=S),ct}var A=function(S,E,C,T){this._tracks={},this._target=S,this._loop=E||!1,this._getter=C||b,this._setter=T||f,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};A.prototype={when:function(S,E){var C=this._tracks;for(var T in E){if(!E.hasOwnProperty(T))continue;if(!C[T]){C[T]=[];var w=this._getter(this._target,T);if(w==null)continue;S!==0&&C[T].push({time:0,value:t(w)})}C[T].push({time:S,value:E[T]})}return this},during:function(S){return this._onframeList.push(S),this},pause:function(){for(var S=0;S<this._clipList.length;S++)this._clipList[S].pause();this._paused=!0},resume:function(){for(var S=0;S<this._clipList.length;S++)this._clipList[S].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var S=this._doneList,E=S.length,C=0;C<E;C++)S[C].call(this)},start:function(S,E){var C=this,T=0,w=function(){T--,T||C._doneCallback()},L;for(var N in this._tracks){if(!this._tracks.hasOwnProperty(N))continue;var D=h(this,S,w,this._tracks[N],N,E);D&&(this._clipList.push(D),T++,this.animation&&this.animation.addClip(D),L=D)}if(L){var F=L.onframe;L.onframe=function(R,U){F(R,U);for(var M=0;M<C._onframeList.length;M++)C._onframeList[M](R,U)}}return T||this._doneCallback(),this},stop:function(S){for(var E=this._clipList,C=this.animation,T=0;T<E.length;T++){var w=E[T];S&&w.onframe(this._target,1),C&&C.removeClip(w)}E.length=0},delay:function(S){return this._delay=S,this},done:function(S){return S&&this._doneList.push(S),this},getClips:function(){return this._clipList}};var y=A;J.exports=y},Bqw1:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};B.default=d},Bsck:function(J,B,e){var d=e("bYtY"),x=e("Qxkt"),g=e("Mdki"),p=e("YXkt"),v=e("sdST"),b=function(a,s){this.name=a||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=s};b.prototype={constructor:b,isRemoved:function(){return this.dataIndex<0},eachNode:function(a,s,l){typeof a=="function"&&(l=s,s=a,a=null),a=a||{},d.isString(a)&&(a={order:a});var n=a.order||"preorder",u=this[a.attr||"children"],t;n==="preorder"&&(t=s.call(l,this));for(var c=0;!t&&c<u.length;c++)u[c].eachNode(a,s,l);n==="postorder"&&s.call(l,this)},updateDepthAndHeight:function(a){var s=0;this.depth=a;for(var l=0;l<this.children.length;l++){var n=this.children[l];n.updateDepthAndHeight(a+1),n.height>s&&(s=n.height)}this.height=s+1},getNodeById:function(a){if(this.getId()===a)return this;for(var s=0,l=this.children,n=l.length;s<n;s++){var u=l[s].getNodeById(a);if(u)return u}},contains:function(a){if(a===this)return!0;for(var s=0,l=this.children,n=l.length;s<n;s++){var u=l[s].contains(a);if(u)return u}},getAncestors:function(a){for(var s=[],l=a?this:this.parentNode;l;)s.push(l),l=l.parentNode;return s.reverse(),s},getValue:function(a){var s=this.hostTree.data;return s.get(s.getDimension(a||"value"),this.dataIndex)},setLayout:function(a,s){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,a,s)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(a){if(this.dataIndex<0)return;var s=this.hostTree,l=s.data.getItemModel(this.dataIndex),n=this.getLevelModel();return n?l.getModel(a,n.getModel(a)):l.getModel(a)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(a,s){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,a,s)},getVisual:function(a,s){return this.hostTree.data.getItemVisual(this.dataIndex,a,s)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(a){for(var s=a.parentNode;s;){if(s===this)return!0;s=s.parentNode}return!1},isDescendantOf:function(a){return a!==this&&a.isAncestorOf(this)}};function f(a,s){this.root,this.data,this._nodes=[],this.hostModel=a,this.levelModels=d.map(s||[],function(l){return new x(l,a,a.ecModel)})}f.prototype={constructor:f,type:"tree",eachNode:function(a,s,l){this.root.eachNode(a,s,l)},getNodeByDataIndex:function(a){var s=this.data.getRawIndex(a);return this._nodes[s]},getNodeByName:function(a){return this.root.getNodeByName(a)},update:function(){for(var a=this.data,s=this._nodes,l=0,n=s.length;l<n;l++)s[l].dataIndex=-1;for(var l=0,n=a.count();l<n;l++)s[a.getRawIndex(l)].dataIndex=l},clearLayouts:function(){this.data.clearItemLayouts()}},f.createTree=function(a,s,l,n){var u=new f(s,l&&l.levels),t=[],c=1;o(a);function o(y,O){var S=y.value;c=Math.max(c,d.isArray(S)?S.length:1),t.push(y);var E=new b(y.name,u);O?i(E,O):u.root=E,u._nodes.push(E);var C=y.children;if(C)for(var T=0;T<C.length;T++)o(C[T],E)}u.root.updateDepthAndHeight(0);var h=v(t,{coordDimensions:["value"],dimensionsCount:c}),A=new p(h,s);return A.initData(t),n&&n(A),g({mainData:A,struct:u,structAttr:"tree"}),u.update(),u};function i(a,s){var l=s.children;if(a.parentNode===s)return;l.push(a),a.parentNode=s}var r=f;J.exports=r},BtR2:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="LikeOutlined";var b=B.a=d.forwardRef(v)},BuqR:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=e("6uqw"),v=e("XxSj"),b=e("YOMW"),f=e("OELB"),i=f.reformIntervals,r=p.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(n,u){r.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var t=this._mode=this._determineMode();a[this._mode].call(this),this._resetSelected(n,u);var c=this.option.categories;this.resetVisual(function(o,h){t==="categories"?(o.mappingMethod="category",o.categories=g.clone(c)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=g.map(this._pieceList,function(A){var A=g.clone(A);return h!=="inRange"&&(A.visual=null),A}))})},completeVisualOption:function(){var n=this.option,u={},t=v.listVisualTypes(),c=this.isCategory();g.each(n.pieces,function(h){g.each(t,function(A){h.hasOwnProperty(A)&&(u[A]=1)})}),g.each(u,function(h,A){var y=0;g.each(this.stateList,function(O){y|=o(n,O,A)||o(n.target,O,A)},this),!y&&g.each(this.stateList,function(O){(n[O]||(n[O]={}))[A]=b.get(A,O==="inRange"?"active":"inactive",c)})},this);function o(h,A,y){return h&&h[A]&&(g.isObject(h[A])?h[A].hasOwnProperty(y):h[A]===y)}p.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(n,u){var t=this.option,c=this._pieceList,o=(u?t:n).selected||{};if(t.selected=o,g.each(c,function(A,y){var O=this.getSelectedMapKey(A);o.hasOwnProperty(O)||(o[O]=!0)},this),t.selectedMode==="single"){var h=!1;g.each(c,function(A,y){var O=this.getSelectedMapKey(A);o[O]&&(h?o[O]=!1:h=!0)},this)}},getSelectedMapKey:function(n){return this._mode==="categories"?n.value+"":n.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(n){this.option.selected=g.clone(n)},getValueState:function(n){var u=v.findPieceIndex(n,this._pieceList);return u!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[u])]?"inRange":"outOfRange"},findTargetDataIndices:function(n){var u=[];return this.eachTargetSeries(function(t){var c=[],o=t.getData();o.each(this.getDataDimension(o),function(h,A){var y=v.findPieceIndex(h,this._pieceList);y===n&&c.push(A)},this),u.push({seriesId:t.id,dataIndex:c})},this),u},getRepresentValue:function(n){var u;if(this.isCategory())u=n.value;else if(n.value!=null)u=n.value;else{var t=n.interval||[];u=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return u},getVisualMeta:function(n){if(this.isCategory())return;var u=[],t=[],c=this;function o(O,S){var E=c.getRepresentValue({interval:O});S||(S=c.getValueState(E));var C=n(E,S);O[0]===-Infinity?t[0]=C:O[1]===Infinity?t[1]=C:u.push({value:O[0],color:C},{value:O[1],color:C})}var h=this._pieceList.slice();if(!h.length)h.push({interval:[-Infinity,Infinity]});else{var A=h[0].interval[0];A!==-Infinity&&h.unshift({interval:[-Infinity,A]}),A=h[h.length-1].interval[1],A!==Infinity&&h.push({interval:[A,Infinity]})}var y=-Infinity;return g.each(h,function(O){var S=O.interval;S&&(S[0]>y&&o([y,S[0]],"outOfRange"),o(S.slice()),y=S[1])},this),{stops:u,outerColors:t}}}),a={splitNumber:function(){var n=this.option,u=this._pieceList,t=Math.min(n.precision,20),c=this.getExtent(),o=n.splitNumber;o=Math.max(parseInt(o,10),1),n.splitNumber=o;for(var h=(c[1]-c[0])/o;+h.toFixed(t)!==h&&t<5;)t++;n.precision=t,h=+h.toFixed(t),n.minOpen&&u.push({interval:[-Infinity,c[0]],close:[0,0]});for(var A=0,y=c[0];A<o;y+=h,A++){var O=A===o-1?c[1]:y+h;u.push({interval:[y,O],close:[1,1]})}n.maxOpen&&u.push({interval:[c[1],Infinity],close:[0,0]}),i(u),g.each(u,function(S,E){S.index=E,S.text=this.formatValueText(S.interval)},this)},categories:function(){var n=this.option;g.each(n.categories,function(u){this._pieceList.push({text:this.formatValueText(u,!0),value:u})},this),s(n,this._pieceList)},pieces:function(){var n=this.option,u=this._pieceList;g.each(n.pieces,function(t,c){g.isObject(t)||(t={value:t});var o={text:"",index:c};if(t.label!=null&&(o.text=t.label),t.hasOwnProperty("value")){var h=o.value=t.value;o.interval=[h,h],o.close=[1,1]}else{for(var A=o.interval=[],y=o.close=[0,0],O=[1,0,1],S=[-Infinity,Infinity],E=[],C=0;C<2;C++){for(var T=[["gte","gt","min"],["lte","lt","max"]][C],w=0;w<3&&A[C]==null;w++)A[C]=t[T[w]],y[C]=O[w],E[C]=w===2;A[C]==null&&(A[C]=S[C])}E[0]&&A[1]===Infinity&&(y[0]=0),E[1]&&A[0]===-Infinity&&(y[1]=0),A[0]===A[1]&&y[0]&&y[1]&&(o.value=A[0])}o.visual=v.retrieveVisuals(t),u.push(o)},this),s(n,u),i(u),g.each(u,function(t){var c=t.close,o=[["<","\u2264"][c[1]],[">","\u2265"][c[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,o)},this)}};function s(n,u){var t=n.inverse;(n.orient==="vertical"?!t:t)&&u.reverse()}var l=r;J.exports=l},BvKs:function(J,B,e){"use strict";e.d(B,"a",function(){return U});var d=e("pVnL"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("lwsE"),b=e.n(v),f=e("W8MJ"),i=e.n(f),r=e("7W2i"),a=e.n(r),s=e("LQ03"),l=e.n(s),n=e("q1tI"),u=e("1j5w"),t=e("TSYQ"),c=e.n(t),o=e("BGR+"),h=Object(n.createContext)({inlineCollapsed:!1}),A=h,y=e("0n0R"),O=function(M){a()(P,M);var j=l()(P);function P(){return b()(this,P),j.apply(this,arguments)}return i()(P,[{key:"renderTitle",value:function(H){var _=this.props,Z=_.icon,Y=_.title,k=_.level,Q=_.rootPrefixCls;if(!Z)return H&&k===1&&Y&&typeof Y=="string"?n.createElement("div",{className:"".concat(Q,"-inline-collapsed-noicon")},Y.charAt(0)):Y;var X=Object(y.b)(Y)&&Y.type==="span";return n.createElement(n.Fragment,null,Z,X?Y:n.createElement("span",null,Y))}},{key:"render",value:function(){var H=this,_=this.props,Z=_.rootPrefixCls,Y=_.popupClassName;return n.createElement(A.Consumer,null,function(k){var Q=k.inlineCollapsed,X=k.antdMenuTheme;return n.createElement(u.e,x()({},Object(o.default)(H.props,["icon"]),{title:H.renderTitle(Q),popupClassName:c()(Z,"".concat(Z,"-").concat(X),Y)}))})}}]),P}(n.Component);O.contextType=A,O.isSubMenu=1;var S=O,E=e("Zm9Q"),C=e("3S7+"),T=e("ZX9x"),w=function(M,j){var P={};for(var K in M)Object.prototype.hasOwnProperty.call(M,K)&&j.indexOf(K)<0&&(P[K]=M[K]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,K=Object.getOwnPropertySymbols(M);H<K.length;H++)j.indexOf(K[H])<0&&Object.prototype.propertyIsEnumerable.call(M,K[H])&&(P[K[H]]=M[K[H]]);return P},L=function(M){a()(P,M);var j=l()(P);function P(){var K;return b()(this,P),K=j.apply(this,arguments),K.renderItem=function(H){var _=H.siderCollapsed,Z=K.props,Y=Z.level,k=Z.className,Q=Z.children,X=Z.rootPrefixCls,he=K.props,te=he.title,pe=he.icon,Se=he.danger,we=w(he,["title","icon","danger"]);return n.createElement(A.Consumer,null,function(We){var qe,yt=We.inlineCollapsed,_e=We.direction,je=te;typeof te=="undefined"?je=Y===1?Q:"":te===!1&&(je="");var Ct={title:je};!_&&!yt&&(Ct.title=null,Ct.visible=!1);var ct=Object(E.a)(Q).length;return n.createElement(C.a,x()({},Ct,{placement:_e==="rtl"?"left":"right",overlayClassName:"".concat(X,"-inline-collapsed-tooltip")}),n.createElement(u.b,x()({},we,{className:c()(k,(qe={},p()(qe,"".concat(X,"-item-danger"),Se),p()(qe,"".concat(X,"-item-only-child"),(pe?ct+1:ct)===1),qe)),title:te}),pe,K.renderItemChildren(yt)))})},K}return i()(P,[{key:"renderItemChildren",value:function(H){var _=this.props,Z=_.icon,Y=_.children,k=_.level,Q=_.rootPrefixCls;return!Z||Object(y.b)(Y)&&Y.type==="span"?Y&&H&&k===1&&typeof Y=="string"?n.createElement("div",{className:"".concat(Q,"-inline-collapsed-noicon")},Y.charAt(0)):Y:n.createElement("span",null,Y)}},{key:"render",value:function(){return n.createElement(T.a.Consumer,null,this.renderItem)}}]),P}(n.Component);L.isMenuItem=!0;var N=e("H84U"),D=e("uaoM"),F=e("EXcs"),R=function(M){a()(P,M);var j=l()(P);function P(K){var H;return b()(this,P),H=j.call(this,K),H.renderMenu=function(_){var Z=_.getPopupContainer,Y=_.getPrefixCls,k=_.direction,Q=H.props,X=Q.prefixCls,he=Q.className,te=Q.theme,pe={horizontal:{motionName:"slide-up"},inline:F.a,other:{motionName:"zoom-big"}},Se=Y("menu",X),we=c()(he,"".concat(Se,"-").concat(te),p()({},"".concat(Se,"-inline-collapsed"),H.getInlineCollapsed()));return n.createElement(A.Provider,{value:{inlineCollapsed:H.getInlineCollapsed()||!1,antdMenuTheme:te,direction:k}},n.createElement(u.f,x()({getPopupContainer:Z},H.props,{className:we,prefixCls:Se,direction:k,defaultMotions:pe})))},Object(D.a)(!("inlineCollapsed"in K&&K.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(D.a)(!(K.siderCollapsed!==void 0&&"inlineCollapsed"in K),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),H}return i()(P,[{key:"getInlineCollapsed",value:function(){var H=this.props,_=H.inlineCollapsed,Z=H.siderCollapsed;return Z!==void 0?Z:_}},{key:"render",value:function(){return n.createElement(N.a,null,this.renderMenu)}}]),P}(n.Component);R.defaultProps={className:"",theme:"light",focusable:!1};var U=function(M){a()(P,M);var j=l()(P);function P(){return b()(this,P),j.apply(this,arguments)}return i()(P,[{key:"render",value:function(){var H=this;return n.createElement(T.a.Consumer,null,function(_){return n.createElement(R,x()({},H.props,_))})}}]),P}(n.Component);U.Divider=u.a,U.Item=L,U.SubMenu=S,U.ItemGroup=u.c},C0SR:function(J,B,e){var d=e("YH21"),x=function(){this._track=[]};x.prototype={constructor:x,recognize:function(i,r,a){return this._doTrack(i,r,a),this._recognize(i)},clear:function(){return this._track.length=0,this},_doTrack:function(i,r,a){var s=i.touches;if(!s)return;for(var l={points:[],touches:[],target:r,event:i},n=0,u=s.length;n<u;n++){var t=s[n],c=d.clientToLocal(a,t,{});l.points.push([c.zrX,c.zrY]),l.touches.push(t)}this._track.push(l)},_recognize:function(i){for(var r in v)if(v.hasOwnProperty(r)){var a=v[r](this._track,i);if(a)return a}}};function g(f){var i=f[1][0]-f[0][0],r=f[1][1]-f[0][1];return Math.sqrt(i*i+r*r)}function p(f){return[(f[0][0]+f[1][0])/2,(f[0][1]+f[1][1])/2]}var v={pinch:function(i,r){var a=i.length;if(!a)return;var s=(i[a-1]||{}).points,l=(i[a-2]||{}).points||s;if(l&&l.length>1&&s&&s.length>1){var n=g(s)/g(l);!isFinite(n)&&(n=1),r.pinchScale=n;var u=p(s);return r.pinchX=u[0],r.pinchY=u[1],{type:"pinch",target:i[0].target,event:r}}}},b=x;J.exports=b},C0tN:function(J,B,e){e("0o9m"),e("8Uz6"),e("Ducp"),e("6/nd")},CBdT:function(J,B,e){var d=e("ProS");e("8waO"),e("AEZ6"),e("YNf1");var x=e("q3GZ");d.registerVisual(x)},CF2D:function(J,B,e){var d=e("ProS");e("vZI5"),e("GeKi");var x=e("6r85"),g=e("TJmX"),p=e("CbHG");d.registerPreprocessor(x),d.registerVisual(g),d.registerLayout(p)},CFYs:function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("lwsE"),b=e.n(v),f=e("W8MJ"),i=e.n(f),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e.n(t),o=e("TSYQ"),h=e.n(o),A=e("BGR+"),y=e("V/uB"),O=e.n(y),S=e("NAnI"),E=e.n(S),C=e("J84W"),T=e.n(C),w=e("kbBi"),L=e.n(w),N=e("H84U"),D=e("CWQg"),F=e("uaoM"),R=e("Zss7"),U=e.n(R),M=2,j=.16,P=.05,K=.05,H=.15,_=5,Z=4,Y=[{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 k(Ae,Me,Ze){var kt;return Math.round(Ae.h)>=60&&Math.round(Ae.h)<=240?kt=Ze?Math.round(Ae.h)-M*Me:Math.round(Ae.h)+M*Me:kt=Ze?Math.round(Ae.h)+M*Me:Math.round(Ae.h)-M*Me,kt<0?kt+=360:kt>=360&&(kt-=360),kt}function Q(Ae,Me,Ze){if(Ae.h===0&&Ae.s===0)return Ae.s;var kt;return Ze?kt=Ae.s-j*Me:Me===Z?kt=Ae.s+j:kt=Ae.s+P*Me,kt>1&&(kt=1),Ze&&Me===_&&kt>.1&&(kt=.1),kt<.06&&(kt=.06),Number(kt.toFixed(2))}function X(Ae,Me,Ze){var kt;return Ze?kt=Ae.v+K*Me:kt=Ae.v-H*Me,kt>1&&(kt=1),Number(kt.toFixed(2))}function he(Ae){for(var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ze=[],kt=U()(Ae),Jt=_;Jt>0;Jt-=1){var Et=kt.toHsv(),Ft=U()({h:k(Et,Jt,!0),s:Q(Et,Jt,!0),v:X(Et,Jt,!0)}).toHexString();Ze.push(Ft)}Ze.push(kt.toHexString());for(var Kt=1;Kt<=Z;Kt+=1){var Vt=kt.toHsv(),Ot=U()({h:k(Vt,Kt),s:Q(Vt,Kt),v:X(Vt,Kt)}).toHexString();Ze.push(Ot)}return Me.theme==="dark"?Y.map(function(ur){var Zt=ur.index,ze=ur.opacity,at=U.a.mix(Me.backgroundColor||"#141414",Ze[Zt],ze*100).toHexString();return at}):Ze}var te={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},pe={},Se={};Object.keys(te).forEach(function(Ae){pe[Ae]=he(te[Ae]),pe[Ae].primary=pe[Ae][5],Se[Ae]=he(te[Ae],{theme:"dark",backgroundColor:"#141414"}),Se[Ae].primary=Se[Ae][5]});var we=pe.red,We=pe.volcano,qe=pe.gold,yt=pe.orange,_e=pe.yellow,je=pe.lime,Ct=pe.green,ct=pe.cyan,nt=pe.blue,bt=pe.geekblue,dt=pe.purple,vt=pe.magenta,Qe=pe.grey;function mt(Ae){return!Ae||Ae<0?0:Ae>100?100:Ae}function Pe(Ae){var Me=Ae.success,Ze=Ae.successPercent,kt=Ze;return Me&&"progress"in Me&&(Object(F.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),kt=Me.progress),Me&&"percent"in Me&&(kt=Me.percent),kt}var De=function(Ae,Me){var Ze={};for(var kt in Ae)Object.prototype.hasOwnProperty.call(Ae,kt)&&Me.indexOf(kt)<0&&(Ze[kt]=Ae[kt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jt=0,kt=Object.getOwnPropertySymbols(Ae);Jt<kt.length;Jt++)Me.indexOf(kt[Jt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,kt[Jt])&&(Ze[kt[Jt]]=Ae[kt[Jt]]);return Ze},Ie=function(Me){var Ze=[];return Object.keys(Me).forEach(function(kt){var Jt=parseFloat(kt.replace(/%/g,""));isNaN(Jt)||Ze.push({key:Jt,value:Me[kt]})}),Ze=Ze.sort(function(kt,Jt){return kt.key-Jt.key}),Ze.map(function(kt){var Jt=kt.key,Et=kt.value;return"".concat(Et," ").concat(Jt,"%")}).join(", ")},ot=function(Me){var Ze=Me.from,kt=Ze===void 0?te.blue:Ze,Jt=Me.to,Et=Jt===void 0?te.blue:Jt,Ft=Me.direction,Kt=Ft===void 0?"to right":Ft,Vt=De(Me,["from","to","direction"]);if(Object.keys(Vt).length!==0){var Ot=Ie(Vt);return{backgroundImage:"linear-gradient(".concat(Kt,", ").concat(Ot,")")}}return{backgroundImage:"linear-gradient(".concat(Kt,", ").concat(kt,", ").concat(Et,")")}},wt=function(Me){var Ze=Me.prefixCls,kt=Me.percent,Jt=Me.strokeWidth,Et=Me.size,Ft=Me.strokeColor,Kt=Me.strokeLinecap,Vt=Me.children,Ot=Me.trailColor,ur=Me.success,Zt=Ft&&typeof Ft!="string"?ot(Ft):{background:Ft},ze=Ot?{backgroundColor:Ot}:void 0,at=p()({width:"".concat(mt(kt),"%"),height:Jt||(Et==="small"?6:8),borderRadius:Kt==="square"?0:""},Zt),Ve=Pe(Me),Xe={width:"".concat(mt(Ve),"%"),height:Jt||(Et==="small"?6:8),borderRadius:Kt==="square"?0:"",backgroundColor:ur==null?void 0:ur.strokeColor},gt=Ve!==void 0?t.createElement("div",{className:"".concat(Ze,"-success-bg"),style:Xe}):null;return t.createElement(t.Fragment,null,t.createElement("div",{className:"".concat(Ze,"-outer")},t.createElement("div",{className:"".concat(Ze,"-inner"),style:ze},t.createElement("div",{className:"".concat(Ze,"-bg"),style:at}),gt)),Vt)},Bt=wt,_t={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Ue=function(Me){var Ze=Me.map(function(){return Object(t.useRef)()}),kt=Object(t.useRef)();return Object(t.useEffect)(function(){var Jt=Date.now(),Et=!1;Object.keys(Ze).forEach(function(Ft){var Kt=Ze[Ft].current;if(!Kt)return;Et=!0;var Vt=Kt.style;Vt.transitionDuration=".3s, .3s, .3s, .06s",kt.current&&Jt-kt.current<100&&(Vt.transitionDuration="0s, 0s")}),Et&&(kt.current=Date.now())}),[Ze]};function zt(){return zt=Object.assign||function(Ae){for(var Me=1;Me<arguments.length;Me++){var Ze=arguments[Me];for(var kt in Ze)Object.prototype.hasOwnProperty.call(Ze,kt)&&(Ae[kt]=Ze[kt])}return Ae},zt.apply(this,arguments)}function xt(Ae,Me){return ut(Ae)||$e(Ae,Me)||Ke(Ae,Me)||Pt()}function Pt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ke(Ae,Me){if(!Ae)return;if(typeof Ae=="string")return Ye(Ae,Me);var Ze=Object.prototype.toString.call(Ae).slice(8,-1);if(Ze==="Object"&&Ae.constructor&&(Ze=Ae.constructor.name),Ze==="Map"||Ze==="Set")return Array.from(Ae);if(Ze==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ze))return Ye(Ae,Me)}function Ye(Ae,Me){(Me==null||Me>Ae.length)&&(Me=Ae.length);for(var Ze=0,kt=new Array(Me);Ze<Me;Ze++)kt[Ze]=Ae[Ze];return kt}function $e(Ae,Me){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ae)))return;var Ze=[],kt=!0,Jt=!1,Et=void 0;try{for(var Ft=Ae[Symbol.iterator](),Kt;!(kt=(Kt=Ft.next()).done)&&!(Ze.push(Kt.value),Me&&Ze.length===Me);kt=!0);}catch(Vt){Jt=!0,Et=Vt}finally{try{!kt&&Ft.return!=null&&Ft.return()}finally{if(Jt)throw Et}}return Ze}function ut(Ae){if(Array.isArray(Ae))return Ae}function et(Ae,Me){if(Ae==null)return{};var Ze=oe(Ae,Me),kt,Jt;if(Object.getOwnPropertySymbols){var Et=Object.getOwnPropertySymbols(Ae);for(Jt=0;Jt<Et.length;Jt++){if(kt=Et[Jt],Me.indexOf(kt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ae,kt))continue;Ze[kt]=Ae[kt]}}return Ze}function oe(Ae,Me){if(Ae==null)return{};var Ze={},kt=Object.keys(Ae),Jt,Et;for(Et=0;Et<kt.length;Et++){if(Jt=kt[Et],Me.indexOf(Jt)>=0)continue;Ze[Jt]=Ae[Jt]}return Ze}var me=function(Me){var Ze=Me.className,kt=Me.percent,Jt=Me.prefixCls,Et=Me.strokeColor,Ft=Me.strokeLinecap,Kt=Me.strokeWidth,Vt=Me.style,Ot=Me.trailColor,ur=Me.trailWidth,Zt=Me.transition,ze=et(Me,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete ze.gapPosition;var at=Array.isArray(kt)?kt:[kt],Ve=Array.isArray(Et)?Et:[Et],Xe=Ue(at),gt=xt(Xe,1),ft=gt[0],Ge=Kt/2,Mt=100-Kt/2,It="M ".concat(Ft==="round"?Ge:0,",").concat(Ge,`
|
|
|
L `).concat(Ft==="round"?Mt:100,",").concat(Ge),rr="0 0 100 ".concat(Kt),Ht=0;return c.a.createElement("svg",zt({className:h()("".concat(Jt,"-line"),Ze),viewBox:rr,preserveAspectRatio:"none",style:Vt},ze),c.a.createElement("path",{className:"".concat(Jt,"-line-trail"),d:It,strokeLinecap:Ft,stroke:Ot,strokeWidth:ur||Kt,fillOpacity:"0"}),at.map(function(pr,Ar){var Nr={strokeDasharray:"".concat(pr,"px, 100px"),strokeDashoffset:"-".concat(Ht,"px"),transition:Zt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Fr=Ve[Ar]||Ve[Ve.length-1];return Ht+=pr,c.a.createElement("path",{key:Ar,className:"".concat(Jt,"-line-path"),d:It,strokeLinecap:Ft,stroke:Fr,strokeWidth:Kt,fillOpacity:"0",ref:ft[Ar],style:Nr})}))};me.defaultProps=_t;var it=me;function Be(){return Be=Object.assign||function(Ae){for(var Me=1;Me<arguments.length;Me++){var Ze=arguments[Me];for(var kt in Ze)Object.prototype.hasOwnProperty.call(Ze,kt)&&(Ae[kt]=Ze[kt])}return Ae},Be.apply(this,arguments)}function ht(Ae,Me){return qt(Ae)||Qt(Ae,Me)||Lt(Ae,Me)||Mr()}function Mr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lt(Ae,Me){if(!Ae)return;if(typeof Ae=="string")return or(Ae,Me);var Ze=Object.prototype.toString.call(Ae).slice(8,-1);if(Ze==="Object"&&Ae.constructor&&(Ze=Ae.constructor.name),Ze==="Map"||Ze==="Set")return Array.from(Ae);if(Ze==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ze))return or(Ae,Me)}function or(Ae,Me){(Me==null||Me>Ae.length)&&(Me=Ae.length);for(var Ze=0,kt=new Array(Me);Ze<Me;Ze++)kt[Ze]=Ae[Ze];return kt}function Qt(Ae,Me){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ae)))return;var Ze=[],kt=!0,Jt=!1,Et=void 0;try{for(var Ft=Ae[Symbol.iterator](),Kt;!(kt=(Kt=Ft.next()).done)&&!(Ze.push(Kt.value),Me&&Ze.length===Me);kt=!0);}catch(Vt){Jt=!0,Et=Vt}finally{try{!kt&&Ft.return!=null&&Ft.return()}finally{if(Jt)throw Et}}return Ze}function qt(Ae){if(Array.isArray(Ae))return Ae}function hr(Ae,Me){if(Ae==null)return{};var Ze=Gt(Ae,Me),kt,Jt;if(Object.getOwnPropertySymbols){var Et=Object.getOwnPropertySymbols(Ae);for(Jt=0;Jt<Et.length;Jt++){if(kt=Et[Jt],Me.indexOf(kt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ae,kt))continue;Ze[kt]=Ae[kt]}}return Ze}function Gt(Ae,Me){if(Ae==null)return{};var Ze={},kt=Object.keys(Ae),Jt,Et;for(Et=0;Et<kt.length;Et++){if(Jt=kt[Et],Me.indexOf(Jt)>=0)continue;Ze[Jt]=Ae[Jt]}return Ze}var de=0;function ue(Ae){return+Ae.replace("%","")}function se(Ae){return Array.isArray(Ae)?Ae:[Ae]}function ae(Ae,Me,Ze,kt){var Jt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Et=arguments.length>5?arguments[5]:void 0,Ft=50-kt/2,Kt=0,Vt=-Ft,Ot=0,ur=-2*Ft;switch(Et){case"left":Kt=-Ft,Vt=0,Ot=2*Ft,ur=0;break;case"right":Kt=Ft,Vt=0,Ot=-2*Ft,ur=0;break;case"bottom":Vt=Ft,ur=2*Ft;break;default:}var Zt="M 50,50 m ".concat(Kt,",").concat(Vt,`
|
|
|
a `).concat(Ft,",").concat(Ft," 0 1 1 ").concat(Ot,",").concat(-ur,`
|
|
|
a `).concat(Ft,",").concat(Ft," 0 1 1 ").concat(-Ot,",").concat(ur),ze=Math.PI*2*Ft,at={stroke:Ze,strokeDasharray:"".concat(Me/100*(ze-Jt),"px ").concat(ze,"px"),strokeDashoffset:"-".concat(Jt/2+Ae/100*(ze-Jt),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Zt,pathStyle:at}}var ye=function(Me){var Ze=Me.prefixCls,kt=Me.strokeWidth,Jt=Me.trailWidth,Et=Me.gapDegree,Ft=Me.gapPosition,Kt=Me.trailColor,Vt=Me.strokeLinecap,Ot=Me.style,ur=Me.className,Zt=Me.strokeColor,ze=Me.percent,at=hr(Me,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),Ve=Object(t.useMemo)(function(){return de+=1,de},[]),Xe=ae(0,100,Kt,kt,Et,Ft),gt=Xe.pathString,ft=Xe.pathStyle,Ge=se(ze),Mt=se(Zt),It=Mt.find(function(Nr){return Object.prototype.toString.call(Nr)==="[object Object]"}),rr=Ue(Ge),Ht=ht(rr,1),pr=Ht[0],Ar=function(){var Fr=0;return Ge.map(function(tn,Jr){var Lr=Mt[Jr]||Mt[Mt.length-1],Xr=Object.prototype.toString.call(Lr)==="[object Object]"?"url(#".concat(Ze,"-gradient-").concat(Ve,")"):"",Tr=ae(Fr,tn,Lr,kt,Et,Ft);return Fr+=tn,c.a.createElement("path",{key:Jr,className:"".concat(Ze,"-circle-path"),d:Tr.pathString,stroke:Xr,strokeLinecap:Vt,strokeWidth:kt,opacity:tn===0?0:1,fillOpacity:"0",style:Tr.pathStyle,ref:pr[Jr]})})};return c.a.createElement("svg",Be({className:h()("".concat(Ze,"-circle"),ur),viewBox:"0 0 100 100",style:Ot},at),It&&c.a.createElement("defs",null,c.a.createElement("linearGradient",{id:"".concat(Ze,"-gradient-").concat(Ve),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(It).sort(function(Nr,Fr){return ue(Nr)-ue(Fr)}).map(function(Nr,Fr){return c.a.createElement("stop",{key:Fr,offset:Nr,stopColor:It[Nr]})}))),c.a.createElement("path",{className:"".concat(Ze,"-circle-trail"),d:gt,stroke:Kt,strokeLinecap:Vt,strokeWidth:Jt||kt,fillOpacity:"0",style:ft}),Ar().reverse())};ye.defaultProps=_t;var Ce=ye,Oe={Line:it,Circle:Ce};function Te(Ae){var Me=Ae.percent,Ze=Ae.success,kt=Ae.successPercent,Jt=mt(Me),Et=Pe({success:Ze,successPercent:kt});return Et?[mt(Et),mt(Jt-mt(Et))]:Jt}function xe(Ae){var Me=Ae.success,Ze=Ae.strokeColor,kt=Ae.successPercent,Jt=Ze||null,Et=Pe({success:Me,successPercent:kt});return Et?[te.green,Jt]:Jt}var ke=function(Me){var Ze=Me.prefixCls,kt=Me.width,Jt=Me.strokeWidth,Et=Me.trailColor,Ft=Me.strokeLinecap,Kt=Me.gapPosition,Vt=Me.gapDegree,Ot=Me.type,ur=Me.children,Zt=kt||120,ze={width:Zt,height:Zt,fontSize:Zt*.15+6},at=Jt||6,Ve=Kt||Ot==="dashboard"&&"bottom"||"top",Xe=function(){return Vt||Vt===0?Vt:Ot==="dashboard"?75:void 0},gt=xe(Me),ft=Object.prototype.toString.call(gt)==="[object Object]",Ge=h()("".concat(Ze,"-inner"),x()({},"".concat(Ze,"-circle-gradient"),ft));return t.createElement("div",{className:Ge,style:ze},t.createElement(Ce,{percent:Te(Me),strokeWidth:at,trailWidth:at,strokeColor:gt,strokeLinecap:Ft,trailColor:Et,prefixCls:Ze,gapDegree:Xe(),gapPosition:Ve}),ur)},lt=ke,At=function(Me){for(var Ze=Me.size,kt=Me.steps,Jt=Me.percent,Et=Jt===void 0?0:Jt,Ft=Me.strokeWidth,Kt=Ft===void 0?8:Ft,Vt=Me.strokeColor,Ot=Me.trailColor,ur=Me.prefixCls,Zt=Me.children,ze=Math.floor(kt*(Et/100)),at=Ze==="small"?2:14,Ve=[],Xe=0;Xe<kt;Xe+=1)Ve.push(t.createElement("div",{key:Xe,className:h()("".concat(ur,"-steps-item"),x()({},"".concat(ur,"-steps-item-active"),Xe<=ze-1)),style:{backgroundColor:Xe<=ze-1?Vt:Ot,width:at,height:Kt}}));return t.createElement("div",{className:"".concat(ur,"-steps-outer")},Ve,Zt)},ee=At,ie=function(Ae,Me){var Ze={};for(var kt in Ae)Object.prototype.hasOwnProperty.call(Ae,kt)&&Me.indexOf(kt)<0&&(Ze[kt]=Ae[kt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jt=0,kt=Object.getOwnPropertySymbols(Ae);Jt<kt.length;Jt++)Me.indexOf(kt[Jt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,kt[Jt])&&(Ze[kt[Jt]]=Ae[kt[Jt]]);return Ze},z=Object(D.a)("line","circle","dashboard"),$=Object(D.a)("normal","exception","active","success"),le=function(Ae){l()(Ze,Ae);var Me=u()(Ze);function Ze(){var kt;return b()(this,Ze),kt=Me.apply(this,arguments),kt.renderProgress=function(Jt){var Et,Ft=Jt.getPrefixCls,Kt=Jt.direction,Vt=a()(kt),Ot=Vt.props,ur=Ot.prefixCls,Zt=Ot.className,ze=Ot.size,at=Ot.type,Ve=Ot.steps,Xe=Ot.showInfo,gt=Ot.strokeColor,ft=ie(Ot,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),Ge=Ft("progress",ur),Mt=kt.getProgressStatus(),It=kt.renderProcessInfo(Ge,Mt);Object(F.a)(!("successPercent"in Ot),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var rr;at==="line"?rr=Ve?t.createElement(ee,p()({},kt.props,{strokeColor:typeof gt=="string"?gt:void 0,prefixCls:Ge,steps:Ve}),It):t.createElement(Bt,p()({},kt.props,{prefixCls:Ge}),It):(at==="circle"||at==="dashboard")&&(rr=t.createElement(lt,p()({},kt.props,{prefixCls:Ge,progressStatus:Mt}),It));var Ht=h()(Ge,(Et={},x()(Et,"".concat(Ge,"-").concat(at==="dashboard"&&"circle"||Ve&&"steps"||at),!0),x()(Et,"".concat(Ge,"-status-").concat(Mt),!0),x()(Et,"".concat(Ge,"-show-info"),Xe),x()(Et,"".concat(Ge,"-").concat(ze),ze),x()(Et,"".concat(Ge,"-rtl"),Kt==="rtl"),Et),Zt);return t.createElement("div",p()({},Object(A.default)(ft,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Ht}),rr)},kt}return i()(Ze,[{key:"getPercentNumber",value:function(){var Jt=this.props.percent,Et=Jt===void 0?0:Jt,Ft=Pe(this.props);return parseInt(Ft!==void 0?Ft.toString():Et.toString(),10)}},{key:"getProgressStatus",value:function(){var Jt=this.props.status;return $.indexOf(Jt)<0&&this.getPercentNumber()>=100?"success":Jt||"normal"}},{key:"renderProcessInfo",value:function(Jt,Et){var Ft=this.props,Kt=Ft.showInfo,Vt=Ft.format,Ot=Ft.type,ur=Ft.percent,Zt=Pe(this.props);if(!Kt)return null;var ze,at=Vt||function(Xe){return"".concat(Xe,"%")},Ve=Ot==="line";return Vt||Et!=="exception"&&Et!=="success"?ze=at(mt(ur),mt(Zt)):Et==="exception"?ze=Ve?t.createElement(L.a,null):t.createElement(O.a,null):Et==="success"&&(ze=Ve?t.createElement(T.a,null):t.createElement(E.a,null)),t.createElement("span",{className:"".concat(Jt,"-text"),title:typeof ze=="string"?ze:void 0},ze)}},{key:"render",value:function(){return t.createElement(N.a,null,this.renderProgress)}}]),Ze}(t.Component);le.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var ge=B.a=le},CH3K:function(J,B){function e(d,x){for(var g=-1,p=x.length,v=d.length;++g<p;)d[v+g]=x[g];return d}J.exports=e},"CMP+":function(J,B,e){var d=e("bYtY"),x=e("hM6l"),g=function(v,b,f,i){x.call(this,v,b,f),this.type=i||"value",this.model=null};g.prototype={constructor:g,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},d.inherits(g,x);var p=g;J.exports=p},CP8R:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};B.default=d},"CWI+":function(J,B,e){},CbHG:function(J,B,e){var d=e("IwbS"),x=d.subPixelOptimize,g=e("zM3Q"),p=e("OELB"),v=p.parsePercent,b=e("bYtY"),f=b.retrieve2,i=typeof Float32Array!="undefined"?Float32Array:Array,r={seriesType:"candlestick",plan:g(),reset:function(l){var n=l.coordinateSystem,u=l.getData(),t=s(l,u),c=0,o=1,h=["x","y"],A=u.mapDimension(h[c]),y=u.mapDimension(h[o],!0),O=y[0],S=y[1],E=y[2],C=y[3];if(u.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),A==null||y.length<4)return;return{progress:l.pipelineContext.large?w:T};function T(L,N){for(var D;(D=L.next())!=null;){var F=N.get(A,D),R=N.get(O,D),U=N.get(S,D),M=N.get(E,D),j=N.get(C,D),P=Math.min(R,U),K=Math.max(R,U),H=Q(P,F),_=Q(K,F),Z=Q(M,F),Y=Q(j,F),k=[];X(k,_,0),X(k,H,1),k.push(te(Y),te(_),te(Z),te(H)),N.setItemLayout(D,{sign:a(N,D,R,U,S),initBaseline:R>U?_[o]:H[o],ends:k,brushRect:he(M,j,F)})}function Q(pe,Se){var we=[];return we[c]=Se,we[o]=pe,isNaN(Se)||isNaN(pe)?[NaN,NaN]:n.dataToPoint(we)}function X(pe,Se,we){var We=Se.slice(),qe=Se.slice();We[c]=x(We[c]+t/2,1,!1),qe[c]=x(qe[c]-t/2,1,!0),we?pe.push(We,qe):pe.push(qe,We)}function he(pe,Se,we){var We=Q(pe,we),qe=Q(Se,we);return We[c]-=t/2,qe[c]-=t/2,{x:We[0],y:We[1],width:o?t:qe[0]-We[0],height:o?qe[1]-We[1]:t}}function te(pe){return pe[c]=x(pe[c],1),pe}}function w(L,N){for(var D=new i(L.count*4),F=0,R,U=[],M=[],j;(j=L.next())!=null;){var P=N.get(A,j),K=N.get(O,j),H=N.get(S,j),_=N.get(E,j),Z=N.get(C,j);if(isNaN(P)||isNaN(_)||isNaN(Z)){D[F++]=NaN,F+=3;continue}D[F++]=a(N,j,K,H,S),U[c]=P,U[o]=_,R=n.dataToPoint(U,null,M),D[F++]=R?R[0]:NaN,D[F++]=R?R[1]:NaN,U[o]=Z,R=n.dataToPoint(U,null,M),D[F++]=R?R[1]:NaN}N.setLayout("largePoints",D)}}};function a(l,n,u,t,c){var o;return u>t?o=-1:u<t?o=1:o=n>0?l.get(c,n-1)<=t?1:-1:1,o}function s(l,n){var u=l.getBaseAxis(),t,c=u.type==="category"?u.getBandWidth():(t=u.getExtent(),Math.abs(t[1]-t[0])/n.count()),o=v(f(l.get("barMaxWidth"),c),c),h=v(f(l.get("barMinWidth"),1),c),A=l.get("barWidth");return A!=null?v(A,c):Math.max(Math.min(c/2,o),h)}J.exports=r},CiB2:function(J,B,e){"use strict";e.d(B,"a",function(){return d});function d(x){if(x==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(J,B,e){e("5NHt"),e("f3JH")},CrYA:function(J,B,e){var d=e("MFOe"),x=d.Global;J.exports={name:"sessionStorage",read:p,write:v,each:b,remove:f,clearAll:i};function g(){return x.sessionStorage}function p(r){return g().getItem(r)}function v(r,a){return g().setItem(r,a)}function b(r){for(var a=g().length-1;a>=0;a--){var s=g().key(a);r(p(s),s)}}function f(r){return g().removeItem(r)}function i(){return g().clear()}},Csr3:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("4vCz"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},Cwc5:function(J,B,e){var d=e("NKxu"),x=e("Npjl");function g(p,v){var b=x(p,v);return d(b)?b:void 0}J.exports=g},D1WM:function(J,B,e){var d=e("bYtY"),x=e("hM6l"),g=function(v,b,f,i,r){x.call(this,v,b,f),this.type=i||"value",this.axisIndex=r};g.prototype={constructor:g,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},d.inherits(g,x);var p=g;J.exports=p},D5nY:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("4NO4"),p=g.makeInner,v=g.getDataItemValue,b=e("bYtY"),f=b.createHashMap,i=b.each,r=b.map,a=b.isArray,s=b.isString,l=b.isObject,n=b.isTypedArray,u=b.isArrayLike,t=b.extend,c=b.assert,o=e("7G+c"),h=e("k9D9"),A=h.SOURCE_FORMAT_ORIGINAL,y=h.SOURCE_FORMAT_ARRAY_ROWS,O=h.SOURCE_FORMAT_OBJECT_ROWS,S=h.SOURCE_FORMAT_KEYED_COLUMNS,E=h.SOURCE_FORMAT_UNKNOWN,C=h.SOURCE_FORMAT_TYPED_ARRAY,T=h.SERIES_LAYOUT_BY_ROW,w={Must:1,Might:2,Not:3},L=p();function N(k){var Q=k.option.source,X=E;if(n(Q))X=C;else if(a(Q)){Q.length===0&&(X=y);for(var he=0,te=Q.length;he<te;he++){var pe=Q[he];if(pe==null)continue;if(a(pe)){X=y;break}else if(l(pe)){X=O;break}}}else if(l(Q)){for(var Se in Q)if(Q.hasOwnProperty(Se)&&u(Q[Se])){X=S;break}}else if(Q!=null)throw new Error("Invalid data");L(k).sourceFormat=X}function D(k){return L(k).source}function F(k){L(k).datasetMap=f()}function R(k){var Q=k.option,X=Q.data,he=n(X)?C:A,te=!1,pe=Q.seriesLayoutBy,Se=Q.sourceHeader,we=Q.dimensions,We=_(k);if(We){var qe=We.option;X=qe.source,he=L(We).sourceFormat,te=!0,pe=pe||qe.seriesLayoutBy,Se==null&&(Se=qe.sourceHeader),we=we||qe.dimensions}var yt=U(X,he,pe,Se,we);L(k).source=new o({data:X,fromDataset:te,seriesLayoutBy:pe,sourceFormat:he,dimensionsDefine:yt.dimensionsDefine,startIndex:yt.startIndex,dimensionsDetectCount:yt.dimensionsDetectCount,encodeDefine:Q.encode})}function U(k,Q,X,he,te){if(!k)return{dimensionsDefine:M(te)};var pe,Se;if(Q===y)he==="auto"||he==null?j(function(We){We!=null&&We!=="-"&&(s(We)?Se==null&&(Se=1):Se=0)},X,k,10):Se=he?1:0,!te&&Se===1&&(te=[],j(function(We,qe){te[qe]=We!=null?We:""},X,k)),pe=te?te.length:X===T?k.length:k[0]?k[0].length:null;else if(Q===O)te||(te=P(k));else if(Q===S)te||(te=[],i(k,function(We,qe){te.push(qe)}));else if(Q===A){var we=v(k[0]);pe=a(we)&&we.length||1}else Q===C;return{startIndex:Se,dimensionsDefine:M(te),dimensionsDetectCount:pe}}function M(k){if(!k)return;var Q=f();return r(k,function(X,he){if(X=t({},l(X)?X:{name:X}),X.name==null)return X;X.name+="",X.displayName==null&&(X.displayName=X.name);var te=Q.get(X.name);return te?X.name+="-"+te.count++:Q.set(X.name,{count:1}),X})}function j(k,Q,X,he){if(he==null&&(he=Infinity),Q===T)for(var te=0;te<X.length&&te<he;te++)k(X[te]?X[te][0]:null,te);else for(var pe=X[0]||[],te=0;te<pe.length&&te<he;te++)k(pe[te],te)}function P(k){for(var Q=0,X;Q<k.length&&!(X=k[Q++]););if(X){var he=[];return i(X,function(te,pe){he.push(pe)}),he}}function K(k,Q,X){var he={},te=_(Q);if(!te||!k)return he;var pe=[],Se=[],we=Q.ecModel,We=L(we).datasetMap,qe=te.uid+"_"+X.seriesLayoutBy,yt,_e;k=k.slice(),i(k,function(nt,bt){!l(nt)&&(k[bt]={name:nt}),nt.type==="ordinal"&&yt==null&&(yt=bt,_e=ct(k[bt])),he[nt.name]=[]});var je=We.get(qe)||We.set(qe,{categoryWayDim:_e,valueWayDim:0});i(k,function(nt,bt){var dt=nt.name,vt=ct(nt);if(yt==null){var Qe=je.valueWayDim;Ct(he[dt],Qe,vt),Ct(Se,Qe,vt),je.valueWayDim+=vt}else if(yt===bt)Ct(he[dt],0,vt),Ct(pe,0,vt);else{var Qe=je.categoryWayDim;Ct(he[dt],Qe,vt),Ct(Se,Qe,vt),je.categoryWayDim+=vt}});function Ct(nt,bt,dt){for(var vt=0;vt<dt;vt++)nt.push(bt+vt)}function ct(nt){var bt=nt.dimsDef;return bt?bt.length:1}return pe.length&&(he.itemName=pe),Se.length&&(he.seriesName=Se),he}function H(k,Q,X){var he={},te=_(k);if(!te)return he;var pe=Q.sourceFormat,Se=Q.dimensionsDefine,we;(pe===O||pe===S)&&i(Se,function(yt,_e){(l(yt)?yt.name:yt)==="name"&&(we=_e)});var We=function(){for(var yt={},_e={},je=[],Ct=0,ct=Math.min(5,X);Ct<ct;Ct++){var nt=Y(Q.data,pe,Q.seriesLayoutBy,Se,Q.startIndex,Ct);je.push(nt);var bt=nt===w.Not;if(bt&&yt.v==null&&Ct!==we&&(yt.v=Ct),(yt.n==null||yt.n===yt.v||!bt&&je[yt.n]===w.Not)&&(yt.n=Ct),dt(yt)&&je[yt.n]!==w.Not)return yt;bt||(nt===w.Might&&_e.v==null&&Ct!==we&&(_e.v=Ct),(_e.n==null||_e.n===_e.v)&&(_e.n=Ct))}function dt(vt){return vt.v!=null&&vt.n!=null}return dt(yt)?yt:dt(_e)?_e:null}();if(We){he.value=We.v;var qe=we!=null?we:We.n;he.itemName=[qe],he.seriesName=[qe]}return he}function _(k){var Q=k.option,X=Q.data;if(!X)return k.ecModel.getComponent("dataset",Q.datasetIndex||0)}function Z(k,Q){return Y(k.data,k.sourceFormat,k.seriesLayoutBy,k.dimensionsDefine,k.startIndex,Q)}function Y(k,Q,X,he,te,pe){var Se,we=5;if(n(k))return w.Not;var We,qe;if(he){var yt=he[pe];l(yt)?(We=yt.name,qe=yt.type):s(yt)&&(We=yt)}if(qe!=null)return qe==="ordinal"?w.Must:w.Not;if(Q===y)if(X===T){for(var _e=k[pe],je=0;je<(_e||[]).length&&je<we;je++)if((Se=bt(_e[te+je]))!=null)return Se}else for(var je=0;je<k.length&&je<we;je++){var Ct=k[te+je];if(Ct&&(Se=bt(Ct[pe]))!=null)return Se}else if(Q===O){if(!We)return w.Not;for(var je=0;je<k.length&&je<we;je++){var ct=k[je];if(ct&&(Se=bt(ct[We]))!=null)return Se}}else if(Q===S){if(!We)return w.Not;var _e=k[We];if(!_e||n(_e))return w.Not;for(var je=0;je<_e.length&&je<we;je++)if((Se=bt(_e[je]))!=null)return Se}else if(Q===A)for(var je=0;je<k.length&&je<we;je++){var ct=k[je],nt=v(ct);if(!a(nt))return w.Not;if((Se=bt(nt[pe]))!=null)return Se}function bt(dt){var vt=s(dt);if(dt!=null&&isFinite(dt)&&dt!=="")return vt?w.Might:w.Not;if(vt&&dt!=="-")return w.Must}return w.Not}B.BE_ORDINAL=w,B.detectSourceFormat=N,B.getSource=D,B.resetSourceDefaulter=F,B.prepareSource=R,B.makeSeriesEncodeForAxisCoordSys=K,B.makeSeriesEncodeForNameBased=H,B.guessOrdinal=Z},D9ME:function(J,B,e){var d=e("IwbS"),x=e("fls0"),g=e("bYtY"),p=e("oVpE"),v=p.createSymbol,b=e("QBsz"),f=e("Sj9i");function i(s,l,n){d.Group.call(this),this.add(this.createLine(s,l,n)),this._updateEffectSymbol(s,l)}var r=i.prototype;r.createLine=function(s,l,n){return new x(s,l,n)},r._updateEffectSymbol=function(s,l){var n=s.getItemModel(l),u=n.getModel("effect"),t=u.get("symbolSize"),c=u.get("symbol");g.isArray(t)||(t=[t,t]);var o=u.get("color")||s.getItemVisual(l,"color"),h=this.childAt(1);if(this._symbolType!==c&&(this.remove(h),h=v(c,-.5,-.5,1,1,o),h.z2=100,h.culling=!0,this.add(h)),!h)return;h.setStyle("shadowColor",o),h.setStyle(u.getItemStyle(["color"])),h.attr("scale",t),h.setColor(o),h.attr("scale",t),this._symbolType=c,this._symbolScale=t,this._updateEffectAnimation(s,u,l)},r._updateEffectAnimation=function(s,l,n){var u=this.childAt(1);if(!u)return;var t=this,c=s.getItemLayout(n),o=l.get("period")*1e3,h=l.get("loop"),A=l.get("constantSpeed"),y=g.retrieve(l.get("delay"),function(C){return C/s.count()*o/3}),O=typeof y=="function";if(u.ignore=!0,this.updateAnimationPoints(u,c),A>0&&(o=this.getLineLength(u)/A*1e3),o!==this._period||h!==this._loop){u.stopAnimation();var S=y;O&&(S=y(n)),u.__t>0&&(S=-o*u.__t),u.__t=0;var E=u.animate("",h).when(o,{__t:1}).delay(S).during(function(){t.updateSymbolPosition(u)});h||E.done(function(){t.remove(u)}),E.start()}this._period=o,this._loop=h},r.getLineLength=function(s){return b.dist(s.__p1,s.__cp1)+b.dist(s.__cp1,s.__p2)},r.updateAnimationPoints=function(s,l){s.__p1=l[0],s.__p2=l[1],s.__cp1=l[2]||[(l[0][0]+l[1][0])/2,(l[0][1]+l[1][1])/2]},r.updateData=function(s,l,n){this.childAt(0).updateData(s,l,n),this._updateEffectSymbol(s,l)},r.updateSymbolPosition=function(s){var l=s.__p1,n=s.__p2,u=s.__cp1,t=s.__t,c=s.position,o=[c[0],c[1]],h=f.quadraticAt,A=f.quadraticDerivativeAt;c[0]=h(l[0],u[0],n[0],t),c[1]=h(l[1],u[1],n[1],t);var y=A(l[0],u[0],n[0],t),O=A(l[1],u[1],n[1],t);if(s.rotation=-Math.atan2(O,y)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(s.__lastT!==void 0&&s.__lastT<s.__t){var S=b.dist(o,c)*1.05;s.attr("scale",[s.scale[0],S]),t===1&&(c[0]=o[0]+(c[0]-o[0])/2,c[1]=o[1]+(c[1]-o[1])/2)}else if(s.__lastT===1){var S=2*b.dist(l,c);s.attr("scale",[s.scale[0],S])}else s.attr("scale",this._symbolScale);s.__lastT=s.__t,s.ignore=!1},r.updateLayout=function(s,l){this.childAt(0).updateLayout(s,l);var n=s.getItemModel(l).getModel("effect");this._updateEffectAnimation(s,n,l)},g.inherits(i,d.Group);var a=i;J.exports=a},DBLp:function(J,B){function e(){}e.prototype={diff:function(b,f,i){i||(i=function(O,S){return O===S}),this.equals=i;var r=this;b=b.slice(),f=f.slice();var a=f.length,s=b.length,l=1,n=a+s,u=[{newPos:-1,components:[]}],t=this.extractCommon(u[0],f,b,0);if(u[0].newPos+1>=a&&t+1>=s){for(var c=[],o=0;o<f.length;o++)c.push(o);return[{indices:c,count:f.length}]}function h(){for(var y=-1*l;y<=l;y+=2){var O,S=u[y-1],E=u[y+1],C=(E?E.newPos:0)-y;S&&(u[y-1]=void 0);var T=S&&S.newPos+1<a,w=E&&0<=C&&C<s;if(!T&&!w){u[y]=void 0;continue}if(!T||w&&S.newPos<E.newPos?(O=x(E),r.pushComponent(O.components,void 0,!0)):(O=S,O.newPos++,r.pushComponent(O.components,!0,void 0)),C=r.extractCommon(O,f,b,y),O.newPos+1>=a&&C+1>=s)return d(r,O.components,f,b);u[y]=O}l++}for(;l<=n;){var A=h();if(A)return A}},pushComponent:function(b,f,i){var r=b[b.length-1];r&&r.added===f&&r.removed===i?b[b.length-1]={count:r.count+1,added:f,removed:i}:b.push({count:1,added:f,removed:i})},extractCommon:function(b,f,i,r){for(var a=f.length,s=i.length,l=b.newPos,n=l-r,u=0;l+1<a&&n+1<s&&this.equals(f[l+1],i[n+1]);)l++,n++,u++;return u&&b.components.push({count:u}),b.newPos=l,n},tokenize:function(b){return b.slice()},join:function(b){return b.slice()}};function d(v,b,f,i){for(var r=0,a=b.length,s=0,l=0;r<a;r++){var n=b[r];if(n.removed){for(var u=[],t=l;t<l+n.count;t++)u.push(t);n.indices=u,l+=n.count}else{for(var u=[],t=s;t<s+n.count;t++)u.push(t);n.indices=u,s+=n.count,n.added||(l+=n.count)}}return b}function x(v){return{newPos:v.newPos,components:v.components.slice(0)}}var g=new e;function p(v,b,f){return g.diff(v,b,f)}J.exports=p},DEFe:function(J,B,e){var d=e("bYtY"),x=e("SgGq"),g=e("Ae+d"),p=e("xSat"),v=p.onIrrelevantElement,b=e("IwbS"),f=e("W4dC"),i=e("iRjW"),r=i.getUID,a=e("DN4a");function s(c){var o=c.getItemStyle(),h=c.get("areaColor");return h!=null&&(o.fill=h),o}function l(c,o,h,A,y){h.off("click"),h.off("mousedown"),o.get("selectedMode")&&(h.on("mousedown",function(){c._mouseDownFlag=!0}),h.on("click",function(O){if(!c._mouseDownFlag)return;c._mouseDownFlag=!1;for(var S=O.target;!S.__regions;)S=S.parent;if(!S)return;var E={type:(o.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:d.map(S.__regions,function(C){return{name:C.name,from:y.uid}})};E[o.mainType+"Id"]=o.id,A.dispatchAction(E),n(o,h)}))}function n(c,o){o.eachChild(function(h){d.each(h.__regions,function(A){h.trigger(c.isSelected(A.name)?"emphasis":"normal")})})}function u(c,o){var h=new b.Group;this.uid=r("ec_map_draw"),this._controller=new x(c.getZr()),this._controllerHost={target:o?h:null},this.group=h,this._updateGroup=o,this._mouseDownFlag,this._mapName,this._initialized,h.add(this._regionsGroup=new b.Group),h.add(this._backgroundGroup=new b.Group)}u.prototype={constructor:u,draw:function(c,o,h,A,y){var O=c.mainType==="geo",S=c.getData&&c.getData();O&&o.eachComponent({mainType:"series",subType:"map"},function(_){!S&&_.getHostGeoModel()===c&&(S=_.getData())});var E=c.coordinateSystem;this._updateBackground(E);var C=this._regionsGroup,T=this.group,w=E.getTransformInfo(),L=!C.childAt(0)||y,N;if(L)T.transform=w.roamTransform,T.decomposeTransform(),T.dirty();else{var D=new a;D.transform=w.roamTransform,D.decomposeTransform();var F={scale:D.scale,position:D.position};N=D.scale,b.updateProps(T,F,c)}var R=w.rawScale,U=w.rawPosition;C.removeAll();var M=["itemStyle"],j=["emphasis","itemStyle"],P=["label"],K=["emphasis","label"],H=d.createHashMap();d.each(E.regions,function(_){var Z=H.get(_.name)||H.set(_.name,new b.Group),Y=new b.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});Z.add(Y);var k=c.getRegionModel(_.name)||c,Q=k.getModel(M),X=k.getModel(j),he=s(Q),te=s(X),pe=k.getModel(P),Se=k.getModel(K),we;if(S){we=S.indexOfName(_.name);var We=S.getItemVisual(we,"color",!0);We&&(he.fill=We)}var qe=function(Qe){return[Qe[0]*R[0]+U[0],Qe[1]*R[1]+U[1]]};d.each(_.geometries,function(Qe){if(Qe.type!=="polygon")return;for(var mt=[],Pe=0;Pe<Qe.exterior.length;++Pe)mt.push(qe(Qe.exterior[Pe]));Y.shape.paths.push(new b.Polygon({segmentIgnoreThreshold:1,shape:{points:mt}}));for(var Pe=0;Pe<(Qe.interiors?Qe.interiors.length:0);++Pe){for(var De=Qe.interiors[Pe],mt=[],Ie=0;Ie<De.length;++Ie)mt.push(qe(De[Ie]));Y.shape.paths.push(new b.Polygon({segmentIgnoreThreshold:1,shape:{points:mt}}))}}),Y.setStyle(he),Y.style.strokeNoScale=!0,Y.culling=!0;var yt=pe.get("show"),_e=Se.get("show"),je=S&&isNaN(S.get(S.mapDimension("value"),we)),Ct=S&&S.getItemLayout(we);if(O||je&&(yt||_e)||Ct&&Ct.showLabel){var ct=O?_.name:we,nt;(!S||we>=0)&&(nt=c);var bt=new b.Text({position:qe(_.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(b.setLabelStyle(bt.style,bt.hoverStyle={},pe,Se,{labelFetcher:nt,labelDataIndex:ct,defaultText:_.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!L){var dt=[1/N[0],1/N[1]];b.updateProps(bt,{scale:dt},c)}Z.add(bt)}if(S)S.setItemGraphicEl(we,Z);else{var k=c.getRegionModel(_.name);Y.eventData={componentType:"geo",componentIndex:c.componentIndex,geoIndex:c.componentIndex,name:_.name,region:k&&k.option||{}}}var vt=Z.__regions||(Z.__regions=[]);vt.push(_),Z.highDownSilentOnTouch=!!c.get("selectedMode"),b.setHoverStyle(Z,te),C.add(Z)}),this._updateController(c,o,h),l(this,c,C,h,A),n(c,C)},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(c){var o=c.map;this._mapName!==o&&d.each(f.makeGraphic(o,this.uid),function(h){this._backgroundGroup.add(h)},this),this._mapName=o},_updateController:function(c,o,h){var A=c.coordinateSystem,y=this._controller,O=this._controllerHost;O.zoomLimit=c.get("scaleLimit"),O.zoom=A.getZoom(),y.enable(c.get("roam")||!1);var S=c.mainType;function E(){var C={type:"geoRoam",componentType:S};return C[S+"Id"]=c.id,C}y.off("pan").on("pan",function(C){this._mouseDownFlag=!1,g.updateViewOnPan(O,C.dx,C.dy),h.dispatchAction(d.extend(E(),{dx:C.dx,dy:C.dy}))},this),y.off("zoom").on("zoom",function(C){if(this._mouseDownFlag=!1,g.updateViewOnZoom(O,C.scale,C.originX,C.originY),h.dispatchAction(d.extend(E(),{zoom:C.scale,originX:C.originX,originY:C.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),y.setPointerChecker(function(C,T,w){return A.getViewRectAfterRoam().contain(T,w)&&!v(C,h,c)})}};var t=u;J.exports=t},DFOY:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("lwsE"),b=e.n(v),f=e("W8MJ"),i=e.n(f),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e("uciX"),o=e("2W6z"),h=e.n(o),A=e("4IlW"),y=e("uK0f"),O=e.n(y);function S(se,ae){if(se===ae)return!0;if(!se||!ae)return!1;var ye=se.length;if(ae.length!==ye)return!1;for(var Ce=0;Ce<ye;Ce++)if(se[Ce]!==ae[Ce])return!1;return!0}function E(se){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(ye){return typeof ye}:E=function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},E(se)}function C(se,ae){if(!(se instanceof ae))throw new TypeError("Cannot call a class as a function")}function T(se,ae){for(var ye=0;ye<ae.length;ye++){var Ce=ae[ye];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(se,Ce.key,Ce)}}function w(se,ae,ye){return ae&&T(se.prototype,ae),ye&&T(se,ye),se}function L(se,ae){if(typeof ae!="function"&&ae!==null)throw new TypeError("Super expression must either be null or a function");se.prototype=Object.create(ae&&ae.prototype,{constructor:{value:se,writable:!0,configurable:!0}}),ae&&N(se,ae)}function N(se,ae){return N=Object.setPrototypeOf||function(Ce,Oe){return Ce.__proto__=Oe,Ce},N(se,ae)}function D(se){var ae=U();return function(){var ye=M(se),Ce;if(ae){var Oe=M(this).constructor;Ce=Reflect.construct(ye,arguments,Oe)}else Ce=ye.apply(this,arguments);return F(this,Ce)}}function F(se,ae){return ae&&(E(ae)==="object"||typeof ae=="function")?ae:R(se)}function R(se){if(se===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return se}function U(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(se){return!1}}function M(se){return M=Object.setPrototypeOf?Object.getPrototypeOf:function(ye){return ye.__proto__||Object.getPrototypeOf(ye)},M(se)}var j=function(){var se=function(ae){L(Ce,ae);var ye=D(Ce);function Ce(){var Oe;return C(this,Ce),Oe=ye.apply(this,arguments),Oe.menuItems={},Oe.saveMenuItem=function(Te){return function(xe){Oe.menuItems[Te]=xe}},Oe}return w(Ce,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(Te){!Te.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(Te){var xe=this.props,ke=xe.fieldNames,lt=xe.defaultFieldNames;return ke[Te]||lt[Te]}},{key:"getOption",value:function(Te,xe){var ke=this.props,lt=ke.prefixCls,At=ke.expandTrigger,ee=ke.expandIcon,ie=ke.loadingIcon,z=this.props.onSelect.bind(this,Te,xe),$=this.props.onItemDoubleClick.bind(this,Te,xe),le={onClick:z,onDoubleClick:$},ge="".concat(lt,"-menu-item"),Ae=null,Me=Te[this.getFieldName("children")]&&Te[this.getFieldName("children")].length>0;(Me||Te.isLeaf===!1)&&(ge+=" ".concat(lt,"-menu-item-expand"),Te.loading||(Ae=t.createElement("span",{className:"".concat(lt,"-menu-item-expand-icon")},ee))),At==="hover"&&(Me||Te.isLeaf===!1)&&(le={onMouseEnter:this.delayOnSelect.bind(this,z),onMouseLeave:this.delayOnSelect.bind(this),onClick:z}),this.isActiveOption(Te,xe)&&(ge+=" ".concat(lt,"-menu-item-active"),le.ref=this.saveMenuItem(xe)),Te.disabled&&(ge+=" ".concat(lt,"-menu-item-disabled"));var Ze=null;Te.loading&&(ge+=" ".concat(lt,"-menu-item-loading"),Ze=ie||null);var kt="";return"title"in Te?kt=Te.title:typeof Te[this.getFieldName("label")]=="string"&&(kt=Te[this.getFieldName("label")]),t.createElement("li",Object.assign({key:Te[this.getFieldName("value")],className:ge,title:kt},le,{role:"menuitem",onMouseDown:function(Et){return Et.preventDefault()}}),Te[this.getFieldName("label")],Ae,Ze)}},{key:"getActiveOptions",value:function(Te){var xe=this,ke=this.props.options,lt=Te||this.props.activeValue;return O()(ke,function(At,ee){return At[xe.getFieldName("value")]===lt[ee]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var Te=this,xe=this.props.options,ke=this.getActiveOptions().map(function(lt){return lt[Te.getFieldName("children")]}).filter(function(lt){return!!lt});return ke.unshift(xe),ke}},{key:"delayOnSelect",value:function(Te){for(var xe=this,ke=arguments.length,lt=new Array(ke>1?ke-1:0),At=1;At<ke;At++)lt[At-1]=arguments[At];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof Te=="function"&&(this.delayTimer=window.setTimeout(function(){Te(lt),xe.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var Te=this.getShowOptions().length,xe=0;xe<Te;xe++){var ke=this.menuItems[xe];ke&&ke.parentElement&&(ke.parentElement.scrollTop=ke.offsetTop)}}},{key:"isActiveOption",value:function(Te,xe){var ke=this.props.activeValue,lt=ke===void 0?[]:ke;return lt[xe]===Te[this.getFieldName("value")]}},{key:"render",value:function(){var Te=this,xe=this.props,ke=xe.prefixCls,lt=xe.dropdownMenuColumnStyle;return t.createElement("div",null,this.getShowOptions().map(function(At,ee){return t.createElement("ul",{className:"".concat(ke,"-menu"),key:ee,style:lt},At.map(function(ie){return Te.getOption(ie,ee)}))}))}}]),Ce}(t.Component);return se.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},se}(),P=j,K={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},H=K;function _(se){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(ye){return typeof ye}:_=function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},_(se)}function Z(se,ae){if(se==null)return{};var ye=Y(se,ae),Ce,Oe;if(Object.getOwnPropertySymbols){var Te=Object.getOwnPropertySymbols(se);for(Oe=0;Oe<Te.length;Oe++){if(Ce=Te[Oe],ae.indexOf(Ce)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(se,Ce))continue;ye[Ce]=se[Ce]}}return ye}function Y(se,ae){if(se==null)return{};var ye={},Ce=Object.keys(se),Oe,Te;for(Te=0;Te<Ce.length;Te++){if(Oe=Ce[Te],ae.indexOf(Oe)>=0)continue;ye[Oe]=se[Oe]}return ye}function k(se){return te(se)||he(se)||X(se)||Q()}function Q(){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 X(se,ae){if(!se)return;if(typeof se=="string")return pe(se,ae);var ye=Object.prototype.toString.call(se).slice(8,-1);if(ye==="Object"&&se.constructor&&(ye=se.constructor.name),ye==="Map"||ye==="Set")return Array.from(se);if(ye==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ye))return pe(se,ae)}function he(se){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(se))return Array.from(se)}function te(se){if(Array.isArray(se))return pe(se)}function pe(se,ae){(ae==null||ae>se.length)&&(ae=se.length);for(var ye=0,Ce=new Array(ae);ye<ae;ye++)Ce[ye]=se[ye];return Ce}function Se(se,ae){if(!(se instanceof ae))throw new TypeError("Cannot call a class as a function")}function we(se,ae){for(var ye=0;ye<ae.length;ye++){var Ce=ae[ye];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(se,Ce.key,Ce)}}function We(se,ae,ye){return ae&&we(se.prototype,ae),ye&&we(se,ye),se}function qe(se,ae){if(typeof ae!="function"&&ae!==null)throw new TypeError("Super expression must either be null or a function");se.prototype=Object.create(ae&&ae.prototype,{constructor:{value:se,writable:!0,configurable:!0}}),ae&&yt(se,ae)}function yt(se,ae){return yt=Object.setPrototypeOf||function(Ce,Oe){return Ce.__proto__=Oe,Ce},yt(se,ae)}function _e(se){var ae=ct();return function(){var ye=nt(se),Ce;if(ae){var Oe=nt(this).constructor;Ce=Reflect.construct(ye,arguments,Oe)}else Ce=ye.apply(this,arguments);return je(this,Ce)}}function je(se,ae){return ae&&(_(ae)==="object"||typeof ae=="function")?ae:Ct(se)}function Ct(se){if(se===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return se}function ct(){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(se){return!1}}function nt(se){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(ye){return ye.__proto__||Object.getPrototypeOf(ye)},nt(se)}var bt=function(){var se=function(ae){qe(Ce,ae);var ye=_e(Ce);function Ce(Oe){var Te;Se(this,Ce),Te=ye.call(this,Oe),Te.setPopupVisible=function(ke){var lt=Te.state.value;"popupVisible"in Te.props||Te.setState({popupVisible:ke}),ke&&!Te.state.popupVisible&&Te.setState({activeValue:lt}),Te.props.onPopupVisibleChange(ke)},Te.handleChange=function(ke,lt,At){var ee=lt.visible;(At.type!=="keydown"||At.keyCode===A.a.ENTER)&&(Te.props.onChange(ke.map(function(ie){return ie[Te.getFieldName("value")]}),ke),Te.setPopupVisible(ee))},Te.handlePopupVisibleChange=function(ke){Te.setPopupVisible(ke)},Te.handleMenuSelect=function(ke,lt,At){var ee=Te.trigger.getRootDomNode();ee&&ee.focus&&ee.focus();var ie=Te.props,z=ie.changeOnSelect,$=ie.loadData,le=ie.expandTrigger;if(!ke||ke.disabled)return;var ge=Te.state.activeValue;ge=ge.slice(0,lt+1),ge[lt]=ke[Te.getFieldName("value")];var Ae=Te.getActiveOptions(ge);if(ke.isLeaf===!1&&!ke[Te.getFieldName("children")]&&$){z&&Te.handleChange(Ae,{visible:!0},At),Te.setState({activeValue:ge}),$(Ae);return}var Me={};!ke[Te.getFieldName("children")]||!ke[Te.getFieldName("children")].length?(Te.handleChange(Ae,{visible:!1},At),Me.value=ge):z&&(At.type==="click"||At.type==="keydown")&&(le==="hover"?Te.handleChange(Ae,{visible:!1},At):Te.handleChange(Ae,{visible:!0},At),Me.value=ge),Me.activeValue=ge,("value"in Te.props||At.type==="keydown"&&At.keyCode!==A.a.ENTER)&&delete Me.value,Te.setState(Me)},Te.handleItemDoubleClick=function(){var ke=Te.props.changeOnSelect;ke&&Te.setPopupVisible(!1)},Te.handleKeyDown=function(ke){var lt=Te.props.children;if(lt&<.props.onKeyDown){lt.props.onKeyDown(ke);return}var At=k(Te.state.activeValue),ee=At.length-1<0?0:At.length-1,ie=Te.getCurrentLevelOptions(),z=ie.map(function(Ae){return Ae[Te.getFieldName("value")]}).indexOf(At[ee]);if(ke.keyCode!==A.a.DOWN&&ke.keyCode!==A.a.UP&&ke.keyCode!==A.a.LEFT&&ke.keyCode!==A.a.RIGHT&&ke.keyCode!==A.a.ENTER&&ke.keyCode!==A.a.SPACE&&ke.keyCode!==A.a.BACKSPACE&&ke.keyCode!==A.a.ESC&&ke.keyCode!==A.a.TAB)return;if(!Te.state.popupVisible&&ke.keyCode!==A.a.BACKSPACE&&ke.keyCode!==A.a.LEFT&&ke.keyCode!==A.a.RIGHT&&ke.keyCode!==A.a.ESC&&ke.keyCode!==A.a.TAB){Te.setPopupVisible(!0);return}if(ke.keyCode===A.a.DOWN||ke.keyCode===A.a.UP){ke.preventDefault();var $=z;$!==-1?ke.keyCode===A.a.DOWN?($+=1,$=$>=ie.length?0:$):($-=1,$=$<0?ie.length-1:$):$=0,At[ee]=ie[$][Te.getFieldName("value")]}else if(ke.keyCode===A.a.LEFT||ke.keyCode===A.a.BACKSPACE)ke.preventDefault(),At.splice(At.length-1,1);else if(ke.keyCode===A.a.RIGHT)ke.preventDefault(),ie[z]&&ie[z][Te.getFieldName("children")]&&At.push(ie[z][Te.getFieldName("children")][0][Te.getFieldName("value")]);else if(ke.keyCode===A.a.ESC||ke.keyCode===A.a.TAB){Te.setPopupVisible(!1);return}(!At||At.length===0)&&Te.setPopupVisible(!1);var le=Te.getActiveOptions(At),ge=le[le.length-1];Te.handleMenuSelect(ge,le.length-1,ke),Te.props.onKeyDown&&Te.props.onKeyDown(ke)},Te.saveTrigger=function(ke){Te.trigger=ke};var xe=[];return"value"in Oe?xe=Oe.value||[]:"defaultValue"in Oe&&(xe=Oe.defaultValue||[]),h()(!("filedNames"in Oe),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),Te.state={popupVisible:Oe.popupVisible,activeValue:xe,value:xe,prevProps:Oe},Te.defaultFieldNames={label:"label",value:"value",children:"children"},Te}return We(Ce,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(Te){var xe=this.defaultFieldNames,ke=this.props,lt=ke.fieldNames,At=ke.filedNames;return"filedNames"in this.props?At[Te]||xe[Te]:lt[Te]||xe[Te]}},{key:"getFieldNames",value:function(){var Te=this.props,xe=Te.fieldNames,ke=Te.filedNames;return"filedNames"in this.props?ke:xe}},{key:"getCurrentLevelOptions",value:function(){var Te=this,xe=this.props.options,ke=xe===void 0?[]:xe,lt=this.state.activeValue,At=lt===void 0?[]:lt,ee=O()(ke,function(ie,z){return ie[Te.getFieldName("value")]===At[z]},{childrenKeyName:this.getFieldName("children")});return ee[ee.length-2]?ee[ee.length-2][this.getFieldName("children")]:k(ke).filter(function(ie){return!ie.disabled})}},{key:"getActiveOptions",value:function(Te){var xe=this;return O()(this.props.options||[],function(ke,lt){return ke[xe.getFieldName("value")]===Te[lt]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var Te=this.props,xe=Te.prefixCls,ke=Te.transitionName,lt=Te.popupClassName,At=Te.options,ee=At===void 0?[]:At,ie=Te.disabled,z=Te.builtinPlacements,$=Te.popupPlacement,le=Te.children,ge=Te.dropdownRender,Ae=Z(Te,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),Me=t.createElement("div",null),Ze="";ee&&ee.length>0?Me=t.createElement(P,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Ze=" ".concat(xe,"-menus-empty");var kt=Me;return ge&&(kt=ge(Me)),t.createElement(c.a,Object.assign({ref:this.saveTrigger},Ae,{popupPlacement:$,builtinPlacements:z,popupTransitionName:ke,action:ie?[]:["click"],popupVisible:ie?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(xe,"-menus"),popupClassName:lt+Ze,popup:kt}),t.cloneElement(le,{onKeyDown:this.handleKeyDown,tabIndex:ie?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(Te,xe){var ke=xe.prevProps,lt=ke===void 0?{}:ke,At={prevProps:Te};return"value"in Te&&!S(lt.value,Te.value)&&(At.value=Te.value||[],"loadData"in Te||(At.activeValue=Te.value||[])),"popupVisible"in Te&&(At.popupVisible=Te.popupVisible),At}}]),Ce}(t.Component);return se.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:H,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},se}(),dt=bt,vt=dt,Qe=e("TSYQ"),mt=e.n(Qe),Pe=e("BGR+"),De=e("kbBi"),Ie=e.n(De),ot=e("HQEm"),wt=e.n(ot),Bt=e("fEPi"),_t=e.n(Bt),Ue=e("5YOS"),zt=e.n(Ue),xt=e("DFhj"),Pt=e.n(xt),Ke=e("5rEg"),Ye=e("H84U"),$e=e("YMnH"),ut=e("uaoM"),et=e("3Nzz"),oe=e("0n0R"),me=function(se,ae){var ye={};for(var Ce in se)Object.prototype.hasOwnProperty.call(se,Ce)&&ae.indexOf(Ce)<0&&(ye[Ce]=se[Ce]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ce=Object.getOwnPropertySymbols(se);Oe<Ce.length;Oe++)ae.indexOf(Ce[Oe])<0&&Object.prototype.propertyIsEnumerable.call(se,Ce[Oe])&&(ye[Ce[Oe]]=se[Ce[Oe]]);return ye},it=50;function Be(se,ae,ye){return se.split(ae).map(function(Ce,Oe){return Oe===0?Ce:[t.createElement("span",{className:"".concat(ye,"-menu-item-keyword"),key:"seperator"},ae),Ce]})}function ht(se,ae,ye){return ae.some(function(Ce){return Ce[ye.label].indexOf(se)>-1})}function Mr(se,ae,ye,Ce){return ae.map(function(Oe,Te){var xe=Oe[Ce.label],ke=xe.indexOf(se)>-1?Be(xe,se,ye):xe;return Te===0?ke:[" / ",ke]})}function Lt(se,ae,ye,Ce){function Oe(Te){return Te[Ce.label].indexOf(ye)>-1}return se.findIndex(Oe)-ae.findIndex(Oe)}function or(se){var ae=se.fieldNames;return ae}function Qt(se){var ae=or(se)||{},ye={children:ae.children||"children",label:ae.label||"label",value:ae.value||"value"};return ye}function qt(se,ae){var ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ce=Qt(ae),Oe=[],Te=Ce.children;return se.forEach(function(xe){var ke=ye.concat(xe);(ae.changeOnSelect||!xe[Te]||!xe[Te].length)&&Oe.push(ke),xe[Te]&&(Oe=Oe.concat(qt(xe[Te],ae,ke)))}),Oe}var hr=function(ae){return ae.join(" / ")};function Gt(se){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(se||[]).forEach(function(ye){var Ce=ae.value||"value";Object(ut.a)(Ce in ye,"Cascader","Not found `value` in `options`."),Gt(ye[ae.children||"children"],ae)})}var de=function(se){l()(ye,se);var ae=u()(ye);function ye(Ce){var Oe;return b()(this,ye),Oe=ae.call(this,Ce),Oe.cachedOptions=[],Oe.setValue=function(Te){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Oe.props||Oe.setState({value:Te});var ke=Oe.props.onChange;ke&&ke(Te,xe)},Oe.saveInput=function(Te){Oe.input=Te},Oe.handleChange=function(Te,xe){if(Oe.setState({inputValue:""}),xe[0].__IS_FILTERED_OPTION){var ke=Te[0],lt=xe[0].path;Oe.setValue(ke,lt);return}Oe.setValue(Te,xe)},Oe.handlePopupVisibleChange=function(Te){"popupVisible"in Oe.props||Oe.setState(function(ke){return{popupVisible:Te,inputFocused:Te,inputValue:Te?ke.inputValue:""}});var xe=Oe.props.onPopupVisibleChange;xe&&xe(Te)},Oe.handleInputBlur=function(){Oe.setState({inputFocused:!1})},Oe.handleInputClick=function(Te){var xe=Oe.state,ke=xe.inputFocused,lt=xe.popupVisible;(ke||lt)&&Te.stopPropagation()},Oe.handleKeyDown=function(Te){(Te.keyCode===A.a.BACKSPACE||Te.keyCode===A.a.SPACE)&&Te.stopPropagation()},Oe.handleInputChange=function(Te){var xe=Oe.state.popupVisible,ke=Te.target.value;xe||Oe.handlePopupVisibleChange(!0),Oe.setState({inputValue:ke})},Oe.clearSelection=function(Te){var xe=Oe.state.inputValue;Te.preventDefault(),Te.stopPropagation(),xe?Oe.setState({inputValue:""}):(Oe.handlePopupVisibleChange(!1),Oe.clearSelectionTimeout=setTimeout(function(){Oe.setValue([])},200))},Oe.renderCascader=function(Te,xe){var ke=Te.getPopupContainer,lt=Te.getPrefixCls,At=Te.renderEmpty,ee=Te.direction;return t.createElement(et.b.Consumer,null,function(ie){var z,$,le,ge,Ae=a()(Oe),Me=Ae.props,Ze=Ae.state,kt=Me.prefixCls,Jt=Me.inputPrefixCls,Et=Me.children,Ft=Me.placeholder,Kt=Ft===void 0?xe.placeholder||"Please select":Ft,Vt=Me.size,Ot=Me.disabled,ur=Me.className,Zt=Me.style,ze=Me.allowClear,at=Me.showSearch,Ve=at===void 0?!1:at,Xe=Me.suffixIcon,gt=Me.expandIcon,ft=Me.notFoundContent,Ge=Me.popupClassName,Mt=Me.bordered,It=Me.dropdownRender,rr=me(Me,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Ht=Vt||ie,pr=Ze.value,Ar=Ze.inputFocused,Nr=ee==="rtl",Fr=lt("cascader",kt),tn=lt("input",Jt),Jr=mt()((z={},p()(z,"".concat(tn,"-lg"),Ht==="large"),p()(z,"".concat(tn,"-sm"),Ht==="small"),z)),Lr=ze&&!Ot&&pr.length>0||Ze.inputValue?t.createElement(Ie.a,{className:"".concat(Fr,"-picker-clear"),onClick:Oe.clearSelection}):null,Xr=mt()(($={},p()($,"".concat(Fr,"-picker-arrow"),!0),p()($,"".concat(Fr,"-picker-arrow-expand"),Ze.popupVisible),$)),Tr=mt()(ur,"".concat(Fr,"-picker"),(le={},p()(le,"".concat(Fr,"-picker-rtl"),Nr),p()(le,"".concat(Fr,"-picker-with-value"),Ze.inputValue),p()(le,"".concat(Fr,"-picker-disabled"),Ot),p()(le,"".concat(Fr,"-picker-").concat(Ht),!!Ht),p()(le,"".concat(Fr,"-picker-show-search"),!!Ve),p()(le,"".concat(Fr,"-picker-focused"),Ar),p()(le,"".concat(Fr,"-picker-borderless"),!Mt),le)),lr=Object(Pe.default)(rr,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),fr=Me.options,sr=Qt(Oe.props);if(fr&&fr.length>0)Ze.inputValue&&(fr=Oe.generateFilteredOptions(Fr,At));else{var dr;fr=[(dr={},p()(dr,sr.label,ft||At("Cascader")),p()(dr,sr.value,"ANT_CASCADER_NOT_FOUND"),dr)]}Ze.popupVisible?Oe.cachedOptions=fr:fr=Oe.cachedOptions;var Sr={},Qr=(fr||[]).length===1&&fr[0].isEmptyNode;Qr&&(Sr.height="auto");var cn=Ve.matchInputWidth!==!1;cn&&(Ze.inputValue||Qr)&&Oe.input&&(Sr.width=Oe.input.input.offsetWidth);var Dn;Xe?Dn=Object(oe.c)(Xe,t.createElement("span",{className:"".concat(Fr,"-picker-arrow")},Xe),function(){var Qn;return{className:mt()((Qn={},p()(Qn,Xe.props.className,Xe.props.className),p()(Qn,"".concat(Fr,"-picker-arrow"),!0),Qn))}}):Dn=t.createElement(wt.a,{className:Xr});var jr=Et||t.createElement("span",{style:Zt,className:Tr},t.createElement("span",{className:"".concat(Fr,"-picker-label")},Oe.getLabel()),t.createElement(Ke.a,x()({},lr,{tabIndex:"-1",ref:Oe.saveInput,prefixCls:tn,placeholder:pr&&pr.length>0?void 0:Kt,className:"".concat(Fr,"-input ").concat(Jr),value:Ze.inputValue,disabled:Ot,readOnly:!Ve,autoComplete:lr.autoComplete||"off",onClick:Ve?Oe.handleInputClick:void 0,onBlur:Ve?Oe.handleInputBlur:void 0,onKeyDown:Oe.handleKeyDown,onChange:Ve?Oe.handleInputChange:void 0})),Lr,Dn),Ln;gt?Ln=gt:Ln=Nr?t.createElement(Pt.a,null):t.createElement(_t.a,null);var gn=t.createElement("span",{className:"".concat(Fr,"-menu-item-loading-icon")},t.createElement(zt.a,{spin:!0})),Un=Me.getPopupContainer||ke,Wn=Object(Pe.default)(Me,["inputIcon","expandIcon","loadingIcon","bordered"]),Jn=mt()(Ge,(ge={},p()(ge,"".concat(Fr,"-menu-").concat(ee),ee==="rtl"),p()(ge,"".concat(Fr,"-menu-empty"),fr.length===1&&fr[0].value==="ANT_CASCADER_NOT_FOUND"),ge));return t.createElement(vt,x()({},Wn,{prefixCls:Fr,getPopupContainer:Un,options:fr,value:pr,popupVisible:Ze.popupVisible,onPopupVisibleChange:Oe.handlePopupVisibleChange,onChange:Oe.handleChange,dropdownMenuColumnStyle:Sr,expandIcon:Ln,loadingIcon:gn,popupClassName:Jn,popupPlacement:Oe.getPopupPlacement(ee),dropdownRender:It}),jr)})},Oe.state={value:Ce.value||Ce.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:Ce.popupVisible,flattenOptions:Ce.showSearch?qt(Ce.options,Ce):void 0,prevProps:Ce},Oe}return i()(ye,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Oe=this.props,Te=Oe.options,xe=Oe.displayRender,ke=xe===void 0?hr:xe,lt=Qt(this.props),At=this.state.value,ee=Array.isArray(At[0])?At[0]:At,ie=O()(Te,function($,le){return $[lt.value]===ee[le]},{childrenKeyName:lt.children}),z=ie.length?ie.map(function($){return $[lt.label]}):At;return ke(z,ie)}},{key:"generateFilteredOptions",value:function(Oe,Te){var xe=this,ke,lt=this.props,At=lt.showSearch,ee=lt.notFoundContent,ie=Qt(this.props),z=At.filter,$=z===void 0?ht:z,le=At.render,ge=le===void 0?Mr:le,Ae=At.sort,Me=Ae===void 0?Lt:Ae,Ze=At.limit,kt=Ze===void 0?it:Ze,Jt=this.state,Et=Jt.flattenOptions,Ft=Et===void 0?[]:Et,Kt=Jt.inputValue,Vt;if(kt>0){Vt=[];var Ot=0;Ft.some(function(ur){var Zt=$(xe.state.inputValue,ur,ie);return Zt&&(Vt.push(ur),Ot+=1),Ot>=kt})}else Object(ut.a)(typeof kt!="number","Cascader","'limit' of showSearch should be positive number or false."),Vt=Ft.filter(function(ur){return $(xe.state.inputValue,ur,ie)});return Vt=Vt.sort(function(ur,Zt){return Me(ur,Zt,Kt,ie)}),Vt.length>0?Vt.map(function(ur){var Zt;return Zt={__IS_FILTERED_OPTION:!0,path:ur},p()(Zt,ie.value,ur.map(function(ze){return ze[ie.value]})),p()(Zt,ie.label,ge(Kt,ur,Oe,ie)),p()(Zt,"disabled",ur.some(function(ze){return!!ze.disabled})),p()(Zt,"isEmptyNode",!0),Zt}):[(ke={},p()(ke,ie.value,"ANT_CASCADER_NOT_FOUND"),p()(ke,ie.label,ee||Te("Cascader")),p()(ke,"disabled",!0),p()(ke,"isEmptyNode",!0),ke)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",Te=this.props.popupPlacement;return Te!==void 0?Te:Oe==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Oe=this;return t.createElement(Ye.a,null,function(Te){return t.createElement($e.a,null,function(xe){return Oe.renderCascader(Te,xe)})})}}],[{key:"getDerivedStateFromProps",value:function(Oe,Te){var xe=Te.prevProps,ke={prevProps:Oe};return"value"in Oe&&(ke.value=Oe.value||[]),"popupVisible"in Oe&&(ke.popupVisible=Oe.popupVisible),Oe.showSearch&&xe.options!==Oe.options&&(ke.flattenOptions=qt(Oe.options,Oe)),ke}}]),ye}(t.Component);de.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var ue=B.a=de},DFhj:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("GGyF"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},DL4k:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};B.default=d},DN4a:function(J,B,e){var d=e("Fofx"),x=e("QBsz"),g=d.identity,p=5e-5;function v(l){return l>p||l<-p}var b=function(n){n=n||{},n.position||(this.position=[0,0]),n.rotation==null&&(this.rotation=0),n.scale||(this.scale=[1,1]),this.origin=this.origin||null},f=b.prototype;f.transform=null,f.needLocalTransform=function(){return v(this.rotation)||v(this.position[0])||v(this.position[1])||v(this.scale[0]-1)||v(this.scale[1]-1)};var i=[];f.updateTransform=function(){var l=this.parent,n=l&&l.transform,u=this.needLocalTransform(),t=this.transform;if(!(u||n)){t&&g(t);return}t=t||d.create(),u?this.getLocalTransform(t):g(t),n&&(u?d.mul(t,l.transform,t):d.copy(t,l.transform)),this.transform=t;var c=this.globalScaleRatio;if(c!=null&&c!==1){this.getGlobalScale(i);var o=i[0]<0?-1:1,h=i[1]<0?-1:1,A=((i[0]-o)*c+o)/i[0]||0,y=((i[1]-h)*c+h)/i[1]||0;t[0]*=A,t[1]*=A,t[2]*=y,t[3]*=y}this.invTransform=this.invTransform||d.create(),d.invert(this.invTransform,t)},f.getLocalTransform=function(l){return b.getLocalTransform(this,l)},f.setTransform=function(l){var n=this.transform,u=l.dpr||1;n?l.setTransform(u*n[0],u*n[1],u*n[2],u*n[3],u*n[4],u*n[5]):l.setTransform(u,0,0,u,0,0)},f.restoreTransform=function(l){var n=l.dpr||1;l.setTransform(n,0,0,n,0,0)};var r=[],a=d.create();f.setLocalTransform=function(l){if(!l)return;var n=l[0]*l[0]+l[1]*l[1],u=l[2]*l[2]+l[3]*l[3],t=this.position,c=this.scale;v(n-1)&&(n=Math.sqrt(n)),v(u-1)&&(u=Math.sqrt(u)),l[0]<0&&(n=-n),l[3]<0&&(u=-u),t[0]=l[4],t[1]=l[5],c[0]=n,c[1]=u,this.rotation=Math.atan2(-l[1]/u,l[0]/n)},f.decomposeTransform=function(){if(!this.transform)return;var l=this.parent,n=this.transform;l&&l.transform&&(d.mul(r,l.invTransform,n),n=r);var u=this.origin;u&&(u[0]||u[1])&&(a[4]=u[0],a[5]=u[1],d.mul(r,n,a),r[4]-=u[0],r[5]-=u[1],n=r),this.setLocalTransform(n)},f.getGlobalScale=function(l){var n=this.transform;return l=l||[],n?(l[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),l[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(l[0]=-l[0]),n[3]<0&&(l[1]=-l[1]),l):(l[0]=1,l[1]=1,l)},f.transformCoordToLocal=function(l,n){var u=[l,n],t=this.invTransform;return t&&x.applyTransform(u,u,t),u},f.transformCoordToGlobal=function(l,n){var u=[l,n],t=this.transform;return t&&x.applyTransform(u,u,t),u},b.getLocalTransform=function(l,n){n=n||[],g(n);var u=l.origin,t=l.scale||[1,1],c=l.rotation||0,o=l.position||[0,0];return u&&(n[4]-=u[0],n[5]-=u[1]),d.scale(n,n,t),c&&d.rotate(n,n,c),u&&(n[4]+=u[0],n[5]+=u[1]),n[4]+=o[0],n[5]+=o[1],n};var s=b;J.exports=s},DO2E:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};B.default=d},DSRE:function(J,B,e){(function(d){var x=e("Kz5y"),g=e("B8du"),p=B&&!B.nodeType&&B,v=p&&typeof d=="object"&&d&&!d.nodeType&&d,b=v&&v.exports===p,f=b?x.Buffer:void 0,i=f?f.isBuffer:void 0,r=i||g;d.exports=r}).call(this,e("YuTi")(J))},DYRE:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("OPEp"),p=e.n(g)},DZo9:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("JGo8"),p=e.n(g),v=e("+L6B"),b=e("MXD1"),f=e("5Dmo")},Dagg:function(J,B,e){var d=e("Gev7"),x=e("mFDi"),g=e("bYtY"),p=e("Xnb7");function v(f){d.call(this,f)}v.prototype={constructor:v,type:"image",brush:function(i,r){var a=this.style,s=a.image;a.bind(i,this,r);var l=this._image=p.createOrUpdateImage(s,this._image,this,this.onload);if(!l||!p.isImageReady(l))return;var n=a.x||0,u=a.y||0,t=a.width,c=a.height,o=l.width/l.height;if(t==null&&c!=null?t=c*o:c==null&&t!=null?c=t/o:t==null&&c==null&&(t=l.width,c=l.height),this.setTransform(i),a.sWidth&&a.sHeight){var h=a.sx||0,A=a.sy||0;i.drawImage(l,h,A,a.sWidth,a.sHeight,n,u,t,c)}else if(a.sx&&a.sy){var h=a.sx,A=a.sy,y=t-h,O=c-A;i.drawImage(l,h,A,y,O,n,u,t,c)}else i.drawImage(l,n,u,t,c);a.text!=null&&(this.restoreTransform(i),this.drawRectText(i,this.getBoundingRect()))},getBoundingRect:function(){var i=this.style;return this._rect||(this._rect=new x(i.x||0,i.y||0,i.width||0,i.height||0)),this._rect}},g.inherits(v,d);var b=v;J.exports=b},Dg8C:function(J,B,e){var d=e("XxSj"),x=e("bYtY");function g(p,v){p.eachSeriesByType("sankey",function(b){var f=b.getGraph(),i=f.nodes;if(i.length){var r=Infinity,a=-Infinity;x.each(i,function(s){var l=s.getLayout().value;l<r&&(r=l),l>a&&(a=l)}),x.each(i,function(s){var l=new d({type:"color",mappingMethod:"linear",dataExtent:[r,a],visual:b.get("color")}),n=l.mapValueToVisual(s.getLayout().value),u=s.getModel().get("itemStyle.color");u!=null?s.setVisual("color",u):s.setVisual("color",n)})}})}J.exports=g},DjyN:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("Urep"),p=e.n(g),v=e("OaEy")},DlQD:function(J,B,e){(function(d,x){J.exports=x()})(this,function(){"use strict";function d(Ye,$e){for(var ut=0;ut<$e.length;ut++){var et=$e[ut];et.enumerable=et.enumerable||!1,et.configurable=!0,"value"in et&&(et.writable=!0),Object.defineProperty(Ye,et.key,et)}}function x(Ye,$e,ut){return $e&&d(Ye.prototype,$e),ut&&d(Ye,ut),Ye}function g(Ye,$e){if(!Ye)return;if(typeof Ye=="string")return p(Ye,$e);var ut=Object.prototype.toString.call(Ye).slice(8,-1);if(ut==="Object"&&Ye.constructor&&(ut=Ye.constructor.name),ut==="Map"||ut==="Set")return Array.from(Ye);if(ut==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ut))return p(Ye,$e)}function p(Ye,$e){($e==null||$e>Ye.length)&&($e=Ye.length);for(var ut=0,et=new Array($e);ut<$e;ut++)et[ut]=Ye[ut];return et}function v(Ye,$e){var ut;if(typeof Symbol=="undefined"||Ye[Symbol.iterator]==null){if(Array.isArray(Ye)||(ut=g(Ye))||$e&&Ye&&typeof Ye.length=="number"){ut&&(Ye=ut);var et=0;return function(){return et>=Ye.length?{done:!0}:{done:!1,value:Ye[et++]}}}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 ut=Ye[Symbol.iterator](),ut.next.bind(ut)}function b(Ye,$e){return $e={exports:{}},Ye($e,$e.exports),$e.exports}var f=b(function(Ye){function $e(){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 ut(et){Ye.exports.defaults=et}Ye.exports={defaults:$e(),getDefaults:$e,changeDefaults:ut}}),i=f.defaults,r=f.getDefaults,a=f.changeDefaults,s=/[&<>"']/,l=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,t={"&":"&","<":"<",">":">",'"':""","'":"'"},c=function($e){return t[$e]};function o(Ye,$e){if($e){if(s.test(Ye))return Ye.replace(l,c)}else if(n.test(Ye))return Ye.replace(u,c);return Ye}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function A(Ye){return Ye.replace(h,function($e,ut){return ut=ut.toLowerCase(),ut==="colon"?":":ut.charAt(0)==="#"?ut.charAt(1)==="x"?String.fromCharCode(parseInt(ut.substring(2),16)):String.fromCharCode(+ut.substring(1)):""})}var y=/(^|[^\[])\^/g;function O(Ye,$e){Ye=Ye.source||Ye,$e=$e||"";var ut={replace:function(oe,me){return me=me.source||me,me=me.replace(y,"$1"),Ye=Ye.replace(oe,me),ut},getRegex:function(){return new RegExp(Ye,$e)}};return ut}var S=/[^\w:]/g,E=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function C(Ye,$e,ut){if(Ye){var et;try{et=decodeURIComponent(A(ut)).replace(S,"").toLowerCase()}catch(oe){return null}if(et.indexOf("javascript:")===0||et.indexOf("vbscript:")===0||et.indexOf("data:")===0)return null}$e&&!E.test(ut)&&(ut=D($e,ut));try{ut=encodeURI(ut).replace(/%25/g,"%")}catch(oe){return null}return ut}var T={},w=/^[^:]+:\/*[^/]*$/,L=/^([^:]+:)[\s\S]*$/,N=/^([^:]+:\/*[^/]*)[\s\S]*$/;function D(Ye,$e){T[" "+Ye]||(w.test(Ye)?T[" "+Ye]=Ye+"/":T[" "+Ye]=M(Ye,"/",!0)),Ye=T[" "+Ye];var ut=Ye.indexOf(":")===-1;return $e.substring(0,2)==="//"?ut?$e:Ye.replace(L,"$1")+$e:$e.charAt(0)==="/"?ut?$e:Ye.replace(N,"$1")+$e:Ye+$e}var F={exec:function(){}};function R(Ye){for(var $e=1,ut,et;$e<arguments.length;$e++){ut=arguments[$e];for(et in ut)Object.prototype.hasOwnProperty.call(ut,et)&&(Ye[et]=ut[et])}return Ye}function U(Ye,$e){var ut=Ye.replace(/\|/g,function(me,it,Be){for(var ht=!1,Mr=it;--Mr>=0&&Be[Mr]==="\\";)ht=!ht;return ht?"|":" |"}),et=ut.split(/ \|/),oe=0;if(et.length>$e)et.splice($e);else for(;et.length<$e;)et.push("");for(;oe<et.length;oe++)et[oe]=et[oe].trim().replace(/\\\|/g,"|");return et}function M(Ye,$e,ut){var et=Ye.length;if(et===0)return"";for(var oe=0;oe<et;){var me=Ye.charAt(et-oe-1);if(me===$e&&!ut)oe++;else if(me!==$e&&ut)oe++;else break}return Ye.substr(0,et-oe)}function j(Ye,$e){if(Ye.indexOf($e[1])===-1)return-1;for(var ut=Ye.length,et=0,oe=0;oe<ut;oe++)if(Ye[oe]==="\\")oe++;else if(Ye[oe]===$e[0])et++;else if(Ye[oe]===$e[1]&&(et--,et<0))return oe;return-1}function P(Ye){Ye&&Ye.sanitize&&!Ye.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var K={escape:o,unescape:A,edit:O,cleanUrl:C,resolveUrl:D,noopTest:F,merge:R,splitCells:U,rtrim:M,findClosingBracket:j,checkSanitizeDeprecation:P},H=f.defaults,_=K.rtrim,Z=K.splitCells,Y=K.escape,k=K.findClosingBracket;function Q(Ye,$e,ut){var et=$e.href,oe=$e.title?Y($e.title):null,me=Ye[1].replace(/\\([\[\]])/g,"$1");return Ye[0].charAt(0)!=="!"?{type:"link",raw:ut,href:et,title:oe,text:me}:{type:"image",raw:ut,href:et,title:oe,text:Y(me)}}function X(Ye,$e){var ut=Ye.match(/^(\s+)(?:```)/);if(ut===null)return $e;var et=ut[1];return $e.split(`
|
|
|
`).map(function(oe){var me=oe.match(/^\s+/);if(me===null)return oe;var it=me[0];return it.length>=et.length?oe.slice(et.length):oe}).join(`
|
|
|
`)}var he=function(){function Ye(ut){this.options=ut||H}var $e=Ye.prototype;return $e.space=function(et){var oe=this.rules.block.newline.exec(et);if(oe)return oe[0].length>1?{type:"space",raw:oe[0]}:{raw:`
|
|
|
`}},$e.code=function(et,oe){var me=this.rules.block.code.exec(et);if(me){var it=oe[oe.length-1];if(it&&it.type==="paragraph")return{raw:me[0],text:me[0].trimRight()};var Be=me[0].replace(/^ {4}/gm,"");return{type:"code",raw:me[0],codeBlockStyle:"indented",text:this.options.pedantic?Be:_(Be,`
|
|
|
`)}}},$e.fences=function(et){var oe=this.rules.block.fences.exec(et);if(oe){var me=oe[0],it=X(me,oe[3]||"");return{type:"code",raw:me,lang:oe[2]?oe[2].trim():oe[2],text:it}}},$e.heading=function(et){var oe=this.rules.block.heading.exec(et);if(oe)return{type:"heading",raw:oe[0],depth:oe[1].length,text:oe[2]}},$e.nptable=function(et){var oe=this.rules.block.nptable.exec(et);if(oe){var me={type:"table",header:Z(oe[1].replace(/^ *| *\| *$/g,"")),align:oe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:oe[3]?oe[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:oe[0]};if(me.header.length===me.align.length){var it=me.align.length,Be;for(Be=0;Be<it;Be++)/^ *-+: *$/.test(me.align[Be])?me.align[Be]="right":/^ *:-+: *$/.test(me.align[Be])?me.align[Be]="center":/^ *:-+ *$/.test(me.align[Be])?me.align[Be]="left":me.align[Be]=null;for(it=me.cells.length,Be=0;Be<it;Be++)me.cells[Be]=Z(me.cells[Be],me.header.length);return me}}},$e.hr=function(et){var oe=this.rules.block.hr.exec(et);if(oe)return{type:"hr",raw:oe[0]}},$e.blockquote=function(et){var oe=this.rules.block.blockquote.exec(et);if(oe){var me=oe[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:oe[0],text:me}}},$e.list=function(et){var oe=this.rules.block.list.exec(et);if(oe){for(var me=oe[0],it=oe[2],Be=it.length>1,ht=it[it.length-1]===")",Mr={type:"list",raw:me,ordered:Be,start:Be?+it.slice(0,-1):"",loose:!1,items:[]},Lt=oe[0].match(this.rules.block.item),or=!1,Qt,qt,hr,Gt,de,ue,se,ae=Lt.length,ye=0;ye<ae;ye++)Qt=Lt[ye],me=Qt,qt=Qt.length,Qt=Qt.replace(/^ *([*+-]|\d+[.)]) */,""),~Qt.indexOf(`
|
|
|
`)&&(qt-=Qt.length,Qt=this.options.pedantic?Qt.replace(/^ {1,4}/gm,""):Qt.replace(new RegExp("^ {1,"+qt+"}","gm"),"")),ye!==ae-1&&(hr=this.rules.block.bullet.exec(Lt[ye+1])[0],(Be?hr.length===1||!ht&&hr[hr.length-1]===")":hr.length>1||this.options.smartLists&&hr!==it)&&(Gt=Lt.slice(ye+1).join(`
|
|
|
`),Mr.raw=Mr.raw.substring(0,Mr.raw.length-Gt.length),ye=ae-1)),de=or||/\n\n(?!\s*$)/.test(Qt),ye!==ae-1&&(or=Qt.charAt(Qt.length-1)===`
|
|
|
`,de||(de=or)),de&&(Mr.loose=!0),ue=/^\[[ xX]\] /.test(Qt),se=void 0,ue&&(se=Qt[1]!==" ",Qt=Qt.replace(/^\[[ xX]\] +/,"")),Mr.items.push({type:"list_item",raw:me,task:ue,checked:se,loose:de,text:Qt});return Mr}},$e.html=function(et){var oe=this.rules.block.html.exec(et);if(oe)return{type:this.options.sanitize?"paragraph":"html",raw:oe[0],pre:!this.options.sanitizer&&(oe[1]==="pre"||oe[1]==="script"||oe[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(oe[0]):Y(oe[0]):oe[0]}},$e.def=function(et){var oe=this.rules.block.def.exec(et);if(oe){oe[3]&&(oe[3]=oe[3].substring(1,oe[3].length-1));var me=oe[1].toLowerCase().replace(/\s+/g," ");return{tag:me,raw:oe[0],href:oe[2],title:oe[3]}}},$e.table=function(et){var oe=this.rules.block.table.exec(et);if(oe){var me={type:"table",header:Z(oe[1].replace(/^ *| *\| *$/g,"")),align:oe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:oe[3]?oe[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(me.header.length===me.align.length){me.raw=oe[0];var it=me.align.length,Be;for(Be=0;Be<it;Be++)/^ *-+: *$/.test(me.align[Be])?me.align[Be]="right":/^ *:-+: *$/.test(me.align[Be])?me.align[Be]="center":/^ *:-+ *$/.test(me.align[Be])?me.align[Be]="left":me.align[Be]=null;for(it=me.cells.length,Be=0;Be<it;Be++)me.cells[Be]=Z(me.cells[Be].replace(/^ *\| *| *\| *$/g,""),me.header.length);return me}}},$e.lheading=function(et){var oe=this.rules.block.lheading.exec(et);if(oe)return{type:"heading",raw:oe[0],depth:oe[2].charAt(0)==="="?1:2,text:oe[1]}},$e.paragraph=function(et){var oe=this.rules.block.paragraph.exec(et);if(oe)return{type:"paragraph",raw:oe[0],text:oe[1].charAt(oe[1].length-1)===`
|
|
|
`?oe[1].slice(0,-1):oe[1]}},$e.text=function(et,oe){var me=this.rules.block.text.exec(et);if(me){var it=oe[oe.length-1];return it&&it.type==="text"?{raw:me[0],text:me[0]}:{type:"text",raw:me[0],text:me[0]}}},$e.escape=function(et){var oe=this.rules.inline.escape.exec(et);if(oe)return{type:"escape",raw:oe[0],text:Y(oe[1])}},$e.tag=function(et,oe,me){var it=this.rules.inline.tag.exec(et);if(it)return!oe&&/^<a /i.test(it[0])?oe=!0:oe&&/^<\/a>/i.test(it[0])&&(oe=!1),!me&&/^<(pre|code|kbd|script)(\s|>)/i.test(it[0])?me=!0:me&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(it[0])&&(me=!1),{type:this.options.sanitize?"text":"html",raw:it[0],inLink:oe,inRawBlock:me,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(it[0]):Y(it[0]):it[0]}},$e.link=function(et){var oe=this.rules.inline.link.exec(et);if(oe){var me=k(oe[2],"()");if(me>-1){var it=oe[0].indexOf("!")===0?5:4,Be=it+oe[1].length+me;oe[2]=oe[2].substring(0,me),oe[0]=oe[0].substring(0,Be).trim(),oe[3]=""}var ht=oe[2],Mr="";if(this.options.pedantic){var Lt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ht);Lt?(ht=Lt[1],Mr=Lt[3]):Mr=""}else Mr=oe[3]?oe[3].slice(1,-1):"";ht=ht.trim().replace(/^<([\s\S]*)>$/,"$1");var or=Q(oe,{href:ht&&ht.replace(this.rules.inline._escapes,"$1"),title:Mr&&Mr.replace(this.rules.inline._escapes,"$1")},oe[0]);return or}},$e.reflink=function(et,oe){var me;if((me=this.rules.inline.reflink.exec(et))||(me=this.rules.inline.nolink.exec(et))){var it=(me[2]||me[1]).replace(/\s+/g," ");if(it=oe[it.toLowerCase()],!it||!it.href){var Be=me[0].charAt(0);return{type:"text",raw:Be,text:Be}}var ht=Q(me,it,me[0]);return ht}},$e.strong=function(et,oe,me){me===void 0&&(me="");var it=this.rules.inline.strong.start.exec(et);if(it&&(!it[1]||it[1]&&(me===""||this.rules.inline.punctuation.exec(me)))){oe=oe.slice(-1*et.length);var Be=it[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Be.lastIndex=0;for(var ht;(it=Be.exec(oe))!=null;)if(ht=this.rules.inline.strong.middle.exec(oe.slice(0,it.index+3)),ht)return{type:"strong",raw:et.slice(0,ht[0].length),text:et.slice(2,ht[0].length-2)}}},$e.em=function(et,oe,me){me===void 0&&(me="");var it=this.rules.inline.em.start.exec(et);if(it&&(!it[1]||it[1]&&(me===""||this.rules.inline.punctuation.exec(me)))){oe=oe.slice(-1*et.length);var Be=it[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Be.lastIndex=0;for(var ht;(it=Be.exec(oe))!=null;)if(ht=this.rules.inline.em.middle.exec(oe.slice(0,it.index+2)),ht)return{type:"em",raw:et.slice(0,ht[0].length),text:et.slice(1,ht[0].length-1)}}},$e.codespan=function(et){var oe=this.rules.inline.code.exec(et);if(oe){var me=oe[2].replace(/\n/g," "),it=/[^ ]/.test(me),Be=me.startsWith(" ")&&me.endsWith(" ");return it&&Be&&(me=me.substring(1,me.length-1)),me=Y(me,!0),{type:"codespan",raw:oe[0],text:me}}},$e.br=function(et){var oe=this.rules.inline.br.exec(et);if(oe)return{type:"br",raw:oe[0]}},$e.del=function(et){var oe=this.rules.inline.del.exec(et);if(oe)return{type:"del",raw:oe[0],text:oe[1]}},$e.autolink=function(et,oe){var me=this.rules.inline.autolink.exec(et);if(me){var it,Be;return me[2]==="@"?(it=Y(this.options.mangle?oe(me[1]):me[1]),Be="mailto:"+it):(it=Y(me[1]),Be=it),{type:"link",raw:me[0],text:it,href:Be,tokens:[{type:"text",raw:it,text:it}]}}},$e.url=function(et,oe){var me;if(me=this.rules.inline.url.exec(et)){var it,Be;if(me[2]==="@")it=Y(this.options.mangle?oe(me[0]):me[0]),Be="mailto:"+it;else{var ht;do ht=me[0],me[0]=this.rules.inline._backpedal.exec(me[0])[0];while(ht!==me[0]);it=Y(me[0]),me[1]==="www."?Be="http://"+it:Be=it}return{type:"link",raw:me[0],text:it,href:Be,tokens:[{type:"text",raw:it,text:it}]}}},$e.inlineText=function(et,oe,me){var it=this.rules.inline.text.exec(et);if(it){var Be;return oe?Be=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(it[0]):Y(it[0]):it[0]:Be=Y(this.options.smartypants?me(it[0]):it[0]),{type:"text",raw:it[0],text:Be}}},Ye}(),te=K.noopTest,pe=K.edit,Se=K.merge,we={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:te,table:te,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};we._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,we._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,we.def=pe(we.def).replace("label",we._label).replace("title",we._title).getRegex(),we.bullet=/(?:[*+-]|\d{1,9}[.)])/,we.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,we.item=pe(we.item,"gm").replace(/bull/g,we.bullet).getRegex(),we.list=pe(we.list).replace(/bull/g,we.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+we.def.source+")").getRegex(),we._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",we._comment=/<!--(?!-?>)[\s\S]*?-->/,we.html=pe(we.html,"i").replace("comment",we._comment).replace("tag",we._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),we.paragraph=pe(we._paragraph).replace("hr",we.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",we._tag).getRegex(),we.blockquote=pe(we.blockquote).replace("paragraph",we.paragraph).getRegex(),we.normal=Se({},we),we.gfm=Se({},we.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*|$)"}),we.gfm.nptable=pe(we.gfm.nptable).replace("hr",we.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",we._tag).getRegex(),we.gfm.table=pe(we.gfm.table).replace("hr",we.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",we._tag).getRegex(),we.pedantic=Se({},we.normal,{html:pe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",we._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:te,paragraph:pe(we.normal._paragraph).replace("hr",we.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",we.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var We={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:te,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:te,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};We._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",We.punctuation=pe(We.punctuation).replace(/punctuation/g,We._punctuation).getRegex(),We._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",We._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",We.em.start=pe(We.em.start).replace(/punctuation/g,We._punctuation).getRegex(),We.em.middle=pe(We.em.middle).replace(/punctuation/g,We._punctuation).replace(/overlapSkip/g,We._overlapSkip).getRegex(),We.em.endAst=pe(We.em.endAst,"g").replace(/punctuation/g,We._punctuation).getRegex(),We.em.endUnd=pe(We.em.endUnd,"g").replace(/punctuation/g,We._punctuation).getRegex(),We.strong.start=pe(We.strong.start).replace(/punctuation/g,We._punctuation).getRegex(),We.strong.middle=pe(We.strong.middle).replace(/punctuation/g,We._punctuation).replace(/blockSkip/g,We._blockSkip).getRegex(),We.strong.endAst=pe(We.strong.endAst,"g").replace(/punctuation/g,We._punctuation).getRegex(),We.strong.endUnd=pe(We.strong.endUnd,"g").replace(/punctuation/g,We._punctuation).getRegex(),We.blockSkip=pe(We._blockSkip,"g").getRegex(),We.overlapSkip=pe(We._overlapSkip,"g").getRegex(),We._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,We._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,We._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])?)+(?![-_])/,We.autolink=pe(We.autolink).replace("scheme",We._scheme).replace("email",We._email).getRegex(),We._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,We.tag=pe(We.tag).replace("comment",we._comment).replace("attribute",We._attribute).getRegex(),We._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,We._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,We._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,We.link=pe(We.link).replace("label",We._label).replace("href",We._href).replace("title",We._title).getRegex(),We.reflink=pe(We.reflink).replace("label",We._label).getRegex(),We.reflinkSearch=pe(We.reflinkSearch,"g").replace("reflink",We.reflink).replace("nolink",We.nolink).getRegex(),We.normal=Se({},We),We.pedantic=Se({},We.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:pe(/^!?\[(label)\]\((.*?)\)/).replace("label",We._label).getRegex(),reflink:pe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",We._label).getRegex()}),We.gfm=Se({},We.normal,{escape:pe(We.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),We.gfm.url=pe(We.gfm.url,"i").replace("email",We.gfm._extended_email).getRegex(),We.breaks=Se({},We.gfm,{br:pe(We.br).replace("{2,}","*").getRegex(),text:pe(We.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var qe={block:we,inline:We},yt=f.defaults,_e=qe.block,je=qe.inline;function Ct(Ye){return Ye.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function ct(Ye){var $e="",ut,et,oe=Ye.length;for(ut=0;ut<oe;ut++)et=Ye.charCodeAt(ut),Math.random()>.5&&(et="x"+et.toString(16)),$e+="&#"+et+";";return $e}var nt=function(){function Ye(ut){this.tokens=[],this.tokens.links=Object.create(null),this.options=ut||yt,this.options.tokenizer=this.options.tokenizer||new he,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var et={block:_e.normal,inline:je.normal};this.options.pedantic?(et.block=_e.pedantic,et.inline=je.pedantic):this.options.gfm&&(et.block=_e.gfm,this.options.breaks?et.inline=je.breaks:et.inline=je.gfm),this.tokenizer.rules=et}Ye.lex=function(et,oe){var me=new Ye(oe);return me.lex(et)};var $e=Ye.prototype;return $e.lex=function(et){return et=et.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(et,this.tokens,!0),this.inline(this.tokens),this.tokens},$e.blockTokens=function(et,oe,me){oe===void 0&&(oe=[]),me===void 0&&(me=!0),et=et.replace(/^ +$/gm,"");for(var it,Be,ht,Mr;et;){if(it=this.tokenizer.space(et)){et=et.substring(it.raw.length),it.type&&oe.push(it);continue}if(it=this.tokenizer.code(et,oe)){et=et.substring(it.raw.length),it.type?oe.push(it):(Mr=oe[oe.length-1],Mr.raw+=`
|
|
|
`+it.raw,Mr.text+=`
|
|
|
`+it.text);continue}if(it=this.tokenizer.fences(et)){et=et.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.heading(et)){et=et.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.nptable(et)){et=et.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.hr(et)){et=et.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.blockquote(et)){et=et.substring(it.raw.length),it.tokens=this.blockTokens(it.text,[],me),oe.push(it);continue}if(it=this.tokenizer.list(et)){for(et=et.substring(it.raw.length),ht=it.items.length,Be=0;Be<ht;Be++)it.items[Be].tokens=this.blockTokens(it.items[Be].text,[],!1);oe.push(it);continue}if(it=this.tokenizer.html(et)){et=et.substring(it.raw.length),oe.push(it);continue}if(me&&(it=this.tokenizer.def(et))){et=et.substring(it.raw.length),this.tokens.links[it.tag]||(this.tokens.links[it.tag]={href:it.href,title:it.title});continue}if(it=this.tokenizer.table(et)){et=et.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.lheading(et)){et=et.substring(it.raw.length),oe.push(it);continue}if(me&&(it=this.tokenizer.paragraph(et))){et=et.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.text(et,oe)){et=et.substring(it.raw.length),it.type?oe.push(it):(Mr=oe[oe.length-1],Mr.raw+=`
|
|
|
`+it.raw,Mr.text+=`
|
|
|
`+it.text);continue}if(et){var Lt="Infinite loop on byte: "+et.charCodeAt(0);if(this.options.silent){console.error(Lt);break}else throw new Error(Lt)}}return oe},$e.inline=function(et){var oe,me,it,Be,ht,Mr,Lt=et.length;for(oe=0;oe<Lt;oe++){Mr=et[oe];switch(Mr.type){case"paragraph":case"text":case"heading":{Mr.tokens=[],this.inlineTokens(Mr.text,Mr.tokens);break}case"table":{for(Mr.tokens={header:[],cells:[]},Be=Mr.header.length,me=0;me<Be;me++)Mr.tokens.header[me]=[],this.inlineTokens(Mr.header[me],Mr.tokens.header[me]);for(Be=Mr.cells.length,me=0;me<Be;me++)for(ht=Mr.cells[me],Mr.tokens.cells[me]=[],it=0;it<ht.length;it++)Mr.tokens.cells[me][it]=[],this.inlineTokens(ht[it],Mr.tokens.cells[me][it]);break}case"blockquote":{this.inline(Mr.tokens);break}case"list":{for(Be=Mr.items.length,me=0;me<Be;me++)this.inline(Mr.items[me].tokens);break}}}return et},$e.inlineTokens=function(et,oe,me,it,Be){oe===void 0&&(oe=[]),me===void 0&&(me=!1),it===void 0&&(it=!1),Be===void 0&&(Be="");var ht,Mr=et,Lt;if(this.tokens.links){var or=Object.keys(this.tokens.links);if(or.length>0)for(;(Lt=this.tokenizer.rules.inline.reflinkSearch.exec(Mr))!=null;)or.includes(Lt[0].slice(Lt[0].lastIndexOf("[")+1,-1))&&(Mr=Mr.slice(0,Lt.index)+"["+"a".repeat(Lt[0].length-2)+"]"+Mr.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Lt=this.tokenizer.rules.inline.blockSkip.exec(Mr))!=null;)Mr=Mr.slice(0,Lt.index)+"["+"a".repeat(Lt[0].length-2)+"]"+Mr.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;et;){if(ht=this.tokenizer.escape(et)){et=et.substring(ht.raw.length),oe.push(ht);continue}if(ht=this.tokenizer.tag(et,me,it)){et=et.substring(ht.raw.length),me=ht.inLink,it=ht.inRawBlock,oe.push(ht);continue}if(ht=this.tokenizer.link(et)){et=et.substring(ht.raw.length),ht.type==="link"&&(ht.tokens=this.inlineTokens(ht.text,[],!0,it)),oe.push(ht);continue}if(ht=this.tokenizer.reflink(et,this.tokens.links)){et=et.substring(ht.raw.length),ht.type==="link"&&(ht.tokens=this.inlineTokens(ht.text,[],!0,it)),oe.push(ht);continue}if(ht=this.tokenizer.strong(et,Mr,Be)){et=et.substring(ht.raw.length),ht.tokens=this.inlineTokens(ht.text,[],me,it),oe.push(ht);continue}if(ht=this.tokenizer.em(et,Mr,Be)){et=et.substring(ht.raw.length),ht.tokens=this.inlineTokens(ht.text,[],me,it),oe.push(ht);continue}if(ht=this.tokenizer.codespan(et)){et=et.substring(ht.raw.length),oe.push(ht);continue}if(ht=this.tokenizer.br(et)){et=et.substring(ht.raw.length),oe.push(ht);continue}if(ht=this.tokenizer.del(et)){et=et.substring(ht.raw.length),ht.tokens=this.inlineTokens(ht.text,[],me,it),oe.push(ht);continue}if(ht=this.tokenizer.autolink(et,ct)){et=et.substring(ht.raw.length),oe.push(ht);continue}if(!me&&(ht=this.tokenizer.url(et,ct))){et=et.substring(ht.raw.length),oe.push(ht);continue}if(ht=this.tokenizer.inlineText(et,it,Ct)){et=et.substring(ht.raw.length),Be=ht.raw.slice(-1),oe.push(ht);continue}if(et){var Qt="Infinite loop on byte: "+et.charCodeAt(0);if(this.options.silent){console.error(Qt);break}else throw new Error(Qt)}}return oe},x(Ye,null,[{key:"rules",get:function(){return{block:_e,inline:je}}}]),Ye}(),bt=f.defaults,dt=K.cleanUrl,vt=K.escape,Qe=function(){function Ye(ut){this.options=ut||bt}var $e=Ye.prototype;return $e.code=function(et,oe,me){var it=(oe||"").match(/\S*/)[0];if(this.options.highlight){var Be=this.options.highlight(et,it);Be!=null&&Be!==et&&(me=!0,et=Be)}return it?'<pre><code class="'+this.options.langPrefix+vt(it,!0)+'">'+(me?et:vt(et,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(me?et:vt(et,!0))+`</code></pre>
|
|
|
`},$e.blockquote=function(et){return`<blockquote>
|
|
|
`+et+`</blockquote>
|
|
|
`},$e.html=function(et){return et},$e.heading=function(et,oe,me,it){return this.options.headerIds?"<h"+oe+' id="'+this.options.headerPrefix+it.slug(me)+'">'+et+"</h"+oe+`>
|
|
|
`:"<h"+oe+">"+et+"</h"+oe+`>
|
|
|
`},$e.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},$e.list=function(et,oe,me){var it=oe?"ol":"ul",Be=oe&&me!==1?' start="'+me+'"':"";return"<"+it+Be+`>
|
|
|
`+et+"</"+it+`>
|
|
|
`},$e.listitem=function(et){return"<li>"+et+`</li>
|
|
|
`},$e.checkbox=function(et){return"<input "+(et?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},$e.paragraph=function(et){return"<p>"+et+`</p>
|
|
|
`},$e.table=function(et,oe){return oe&&(oe="<tbody>"+oe+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+et+`</thead>
|
|
|
`+oe+`</table>
|
|
|
`},$e.tablerow=function(et){return`<tr>
|
|
|
`+et+`</tr>
|
|
|
`},$e.tablecell=function(et,oe){var me=oe.header?"th":"td",it=oe.align?"<"+me+' align="'+oe.align+'">':"<"+me+">";return it+et+"</"+me+`>
|
|
|
`},$e.strong=function(et){return"<strong>"+et+"</strong>"},$e.em=function(et){return"<em>"+et+"</em>"},$e.codespan=function(et){return"<code>"+et+"</code>"},$e.br=function(){return this.options.xhtml?"<br/>":"<br>"},$e.del=function(et){return"<del>"+et+"</del>"},$e.link=function(et,oe,me){if(et=dt(this.options.sanitize,this.options.baseUrl,et),et===null)return me;var it='<a href="'+vt(et)+'"';return oe&&(it+=' title="'+oe+'"'),it+=">"+me+"</a>",it},$e.image=function(et,oe,me){if(et=dt(this.options.sanitize,this.options.baseUrl,et),et===null)return me;var it='<img src="'+et+'" alt="'+me+'"';return oe&&(it+=' title="'+oe+'"'),it+=this.options.xhtml?"/>":">",it},$e.text=function(et){return et},Ye}(),mt=function(){function Ye(){}var $e=Ye.prototype;return $e.strong=function(et){return et},$e.em=function(et){return et},$e.codespan=function(et){return et},$e.del=function(et){return et},$e.html=function(et){return et},$e.text=function(et){return et},$e.link=function(et,oe,me){return""+me},$e.image=function(et,oe,me){return""+me},$e.br=function(){return""},Ye}(),Pe=function(){function Ye(){this.seen={}}var $e=Ye.prototype;return $e.slug=function(et){var oe=et.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(oe)){var me=oe;do this.seen[me]++,oe=me+"-"+this.seen[me];while(this.seen.hasOwnProperty(oe))}return this.seen[oe]=0,oe},Ye}(),De=f.defaults,Ie=K.unescape,ot=function(){function Ye(ut){this.options=ut||De,this.options.renderer=this.options.renderer||new Qe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new mt,this.slugger=new Pe}Ye.parse=function(et,oe){var me=new Ye(oe);return me.parse(et)};var $e=Ye.prototype;return $e.parse=function(et,oe){oe===void 0&&(oe=!0);var me="",it,Be,ht,Mr,Lt,or,Qt,qt,hr,Gt,de,ue,se,ae,ye,Ce,Oe,Te,xe=et.length;for(it=0;it<xe;it++){Gt=et[it];switch(Gt.type){case"space":continue;case"hr":{me+=this.renderer.hr();continue}case"heading":{me+=this.renderer.heading(this.parseInline(Gt.tokens),Gt.depth,Ie(this.parseInline(Gt.tokens,this.textRenderer)),this.slugger);continue}case"code":{me+=this.renderer.code(Gt.text,Gt.lang,Gt.escaped);continue}case"table":{for(qt="",Qt="",Mr=Gt.header.length,Be=0;Be<Mr;Be++)Qt+=this.renderer.tablecell(this.parseInline(Gt.tokens.header[Be]),{header:!0,align:Gt.align[Be]});for(qt+=this.renderer.tablerow(Qt),hr="",Mr=Gt.cells.length,Be=0;Be<Mr;Be++){for(or=Gt.tokens.cells[Be],Qt="",Lt=or.length,ht=0;ht<Lt;ht++)Qt+=this.renderer.tablecell(this.parseInline(or[ht]),{header:!1,align:Gt.align[ht]});hr+=this.renderer.tablerow(Qt)}me+=this.renderer.table(qt,hr);continue}case"blockquote":{hr=this.parse(Gt.tokens),me+=this.renderer.blockquote(hr);continue}case"list":{for(de=Gt.ordered,ue=Gt.start,se=Gt.loose,Mr=Gt.items.length,hr="",Be=0;Be<Mr;Be++)ye=Gt.items[Be],Ce=ye.checked,Oe=ye.task,ae="",ye.task&&(Te=this.renderer.checkbox(Ce),se?ye.tokens.length>0&&ye.tokens[0].type==="text"?(ye.tokens[0].text=Te+" "+ye.tokens[0].text,ye.tokens[0].tokens&&ye.tokens[0].tokens.length>0&&ye.tokens[0].tokens[0].type==="text"&&(ye.tokens[0].tokens[0].text=Te+" "+ye.tokens[0].tokens[0].text)):ye.tokens.unshift({type:"text",text:Te}):ae+=Te),ae+=this.parse(ye.tokens,se),hr+=this.renderer.listitem(ae,Oe,Ce);me+=this.renderer.list(hr,de,ue);continue}case"html":{me+=this.renderer.html(Gt.text);continue}case"paragraph":{me+=this.renderer.paragraph(this.parseInline(Gt.tokens));continue}case"text":{for(hr=Gt.tokens?this.parseInline(Gt.tokens):Gt.text;it+1<xe&&et[it+1].type==="text";)Gt=et[++it],hr+=`
|
|
|
`+(Gt.tokens?this.parseInline(Gt.tokens):Gt.text);me+=oe?this.renderer.paragraph(hr):hr;continue}default:{var ke='Token with "'+Gt.type+'" type was not found.';if(this.options.silent){console.error(ke);return}else throw new Error(ke)}}}return me},$e.parseInline=function(et,oe){oe=oe||this.renderer;var me="",it,Be,ht=et.length;for(it=0;it<ht;it++){Be=et[it];switch(Be.type){case"escape":{me+=oe.text(Be.text);break}case"html":{me+=oe.html(Be.text);break}case"link":{me+=oe.link(Be.href,Be.title,this.parseInline(Be.tokens,oe));break}case"image":{me+=oe.image(Be.href,Be.title,Be.text);break}case"strong":{me+=oe.strong(this.parseInline(Be.tokens,oe));break}case"em":{me+=oe.em(this.parseInline(Be.tokens,oe));break}case"codespan":{me+=oe.codespan(Be.text);break}case"br":{me+=oe.br();break}case"del":{me+=oe.del(this.parseInline(Be.tokens,oe));break}case"text":{me+=oe.text(Be.text);break}default:{var Mr='Token with "'+Be.type+'" type was not found.';if(this.options.silent){console.error(Mr);return}else throw new Error(Mr)}}}return me},Ye}(),wt=K.merge,Bt=K.checkSanitizeDeprecation,_t=K.escape,Ue=f.getDefaults,zt=f.changeDefaults,xt=f.defaults;function Pt(Ye,$e,ut){if(typeof Ye=="undefined"||Ye===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Ye!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Ye)+", string expected");if(typeof $e=="function"&&(ut=$e,$e=null),$e=wt({},Pt.defaults,$e||{}),Bt($e),ut){var et=$e.highlight,oe;try{oe=nt.lex(Ye,$e)}catch(ht){return ut(ht)}var me=function(Mr){var Lt;if(!Mr)try{Lt=ot.parse(oe,$e)}catch(or){Mr=or}return $e.highlight=et,Mr?ut(Mr):ut(null,Lt)};if(!et||et.length<3)return me();if(delete $e.highlight,!oe.length)return me();var it=0;Pt.walkTokens(oe,function(ht){ht.type==="code"&&(it++,setTimeout(function(){et(ht.text,ht.lang,function(Mr,Lt){if(Mr)return me(Mr);Lt!=null&&Lt!==ht.text&&(ht.text=Lt,ht.escaped=!0),it--,it===0&&me()})},0))}),it===0&&me();return}try{var Be=nt.lex(Ye,$e);return $e.walkTokens&&Pt.walkTokens(Be,$e.walkTokens),ot.parse(Be,$e)}catch(ht){if(ht.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,$e.silent)return"<p>An error occurred:</p><pre>"+_t(ht.message+"",!0)+"</pre>";throw ht}}Pt.options=Pt.setOptions=function(Ye){return wt(Pt.defaults,Ye),zt(Pt.defaults),Pt},Pt.getDefaults=Ue,Pt.defaults=xt,Pt.use=function(Ye){var $e=wt({},Ye);if(Ye.renderer&&function(){var et=Pt.defaults.renderer||new Qe,oe=function(Be){var ht=et[Be];et[Be]=function(){for(var Mr=arguments.length,Lt=new Array(Mr),or=0;or<Mr;or++)Lt[or]=arguments[or];var Qt=Ye.renderer[Be].apply(et,Lt);return Qt===!1&&(Qt=ht.apply(et,Lt)),Qt}};for(var me in Ye.renderer)oe(me);$e.renderer=et}(),Ye.tokenizer&&function(){var et=Pt.defaults.tokenizer||new he,oe=function(Be){var ht=et[Be];et[Be]=function(){for(var Mr=arguments.length,Lt=new Array(Mr),or=0;or<Mr;or++)Lt[or]=arguments[or];var Qt=Ye.tokenizer[Be].apply(et,Lt);return Qt===!1&&(Qt=ht.apply(et,Lt)),Qt}};for(var me in Ye.tokenizer)oe(me);$e.tokenizer=et}(),Ye.walkTokens){var ut=Pt.defaults.walkTokens;$e.walkTokens=function(et){Ye.walkTokens(et),ut&&ut(et)}}Pt.setOptions($e)},Pt.walkTokens=function(Ye,$e){for(var ut=v(Ye),et;!(et=ut()).done;){var oe=et.value;$e(oe);switch(oe.type){case"table":{for(var me=v(oe.tokens.header),it;!(it=me()).done;){var Be=it.value;Pt.walkTokens(Be,$e)}for(var ht=v(oe.tokens.cells),Mr;!(Mr=ht()).done;)for(var Lt=Mr.value,or=v(Lt),Qt;!(Qt=or()).done;){var qt=Qt.value;Pt.walkTokens(qt,$e)}break}case"list":{Pt.walkTokens(oe.items,$e);break}default:oe.tokens&&Pt.walkTokens(oe.tokens,$e)}}},Pt.Parser=ot,Pt.parser=ot.parse,Pt.Renderer=Qe,Pt.TextRenderer=mt,Pt.Lexer=nt,Pt.lexer=nt.lex,Pt.Tokenizer=he,Pt.Slugger=Pe,Pt.parse=Pt;var Ke=Pt;return Ke})},"DlR+":function(J,B,e){var d=e("MFOe"),x=d.Global,g=d.trim;J.exports={name:"cookieStorage",read:v,write:f,each:b,remove:i,clearAll:r};var p=x.document;function v(s){if(!s||!a(s))return null;var l="(?:^|.*;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(p.cookie.replace(new RegExp(l),"$1"))}function b(s){for(var l=p.cookie.split(/; ?/g),n=l.length-1;n>=0;n--){if(!g(l[n]))continue;var u=l[n].split("="),t=unescape(u[0]),c=unescape(u[1]);s(c,t)}}function f(s,l){if(!s)return;p.cookie=escape(s)+"="+escape(l)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function i(s){if(!s||!a(s))return;p.cookie=escape(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function r(){b(function(s,l){i(l)})}function a(s){return new RegExp("(?:^|;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(p.cookie)}},Ducp:function(J,B,e){var d=e("bYtY"),x=e("IwbS"),g=e("+TT/"),p=e("XpcN"),v=x.Group,b=["width","height"],f=["x","y"],i=p.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){i.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new v),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new v),this._showController},resetInner:function(){i.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(a,s,l,n,u,t,c){var o=this;i.superCall(this,"renderInner",a,s,l,n,u,t,c);var h=this._controllerGroup,A=s.get("pageIconSize",!0);d.isArray(A)||(A=[A,A]),O("pagePrev",0);var y=s.getModel("pageTextStyle");h.add(new x.Text({name:"pageText",style:{textFill:y.getTextColor(),font:y.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),O("pageNext",1);function O(S,E){var C=S+"DataIndex",T=x.createIcon(s.get("pageIcons",!0)[s.getOrient().name][E],{onclick:d.bind(o._pageGo,o,C,s,n)},{x:-A[0]/2,y:-A[1]/2,width:A[0],height:A[1]});T.name=S,h.add(T)}},layoutInner:function(a,s,l,n,u,t){var c=this.getSelectorGroup(),o=a.getOrient().index,h=b[o],A=f[o],y=b[1-o],O=f[1-o];u&&g.box("horizontal",c,a.get("selectorItemGap",!0));var S=a.get("selectorButtonGap",!0),E=c.getBoundingRect(),C=[-E.x,-E.y],T=d.clone(l);u&&(T[h]=l[h]-E[h]-S);var w=this._layoutContentAndController(a,n,T,o,h,y,O);if(u){if(t==="end")C[o]+=w[h]+S;else{var L=E[h]+S;C[o]-=L,w[A]-=L}w[h]+=E[h]+S,C[1-o]+=w[O]+w[y]/2-E[y]/2,w[y]=Math.max(w[y],E[y]),w[O]=Math.min(w[O],E[O]+C[1-o]),c.attr("position",C)}return w},_layoutContentAndController:function(a,s,l,n,u,t,c){var o=this.getContentGroup(),h=this._containerGroup,A=this._controllerGroup;g.box(a.get("orient"),o,a.get("itemGap"),n?l.width:null,n?null:l.height),g.box("horizontal",A,a.get("pageButtonItemGap",!0));var y=o.getBoundingRect(),O=A.getBoundingRect(),S=this._showController=y[u]>l[u],E=[-y.x,-y.y];s||(E[n]=o.position[n]);var C=[0,0],T=[-O.x,-O.y],w=d.retrieve2(a.get("pageButtonGap",!0),a.get("itemGap",!0));if(S){var L=a.get("pageButtonPosition",!0);L==="end"?T[n]+=l[u]-O[u]:C[n]+=O[u]+w}T[1-n]+=y[t]/2-O[t]/2,o.attr("position",E),h.attr("position",C),A.attr("position",T);var N={x:0,y:0};if(N[u]=S?l[u]:y[u],N[t]=Math.max(y[t],O[t]),N[c]=Math.min(0,O[c]+T[1-n]),h.__rectSize=l[u],S){var D={x:0,y:0};D[u]=Math.max(l[u]-O[u]-w,0),D[t]=N[t],h.setClipPath(new x.Rect({shape:D})),h.__rectSize=D[u]}else A.eachChild(function(R){R.attr({invisible:!0,silent:!0})});var F=this._getPageInfo(a);return F.pageIndex!=null&&x.updateProps(o,{position:F.contentPosition},S?a:!1),this._updatePageInfoView(a,F),N},_pageGo:function(a,s,l){var n=this._getPageInfo(s)[a];n!=null&&l.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:s.id})},_updatePageInfoView:function(a,s){var l=this._controllerGroup;d.each(["pagePrev","pageNext"],function(h){var A=s[h+"DataIndex"]!=null,y=l.childOfName(h);y&&(y.setStyle("fill",A?a.get("pageIconColor",!0):a.get("pageIconInactiveColor",!0)),y.cursor=A?"pointer":"default")});var n=l.childOfName("pageText"),u=a.get("pageFormatter"),t=s.pageIndex,c=t!=null?t+1:0,o=s.pageCount;n&&u&&n.setStyle("text",d.isString(u)?u.replace("{current}",c).replace("{total}",o):u({current:c,total:o}))},_getPageInfo:function(a){var s=a.get("scrollDataIndex",!0),l=this.getContentGroup(),n=this._containerGroup.__rectSize,u=a.getOrient().index,t=b[u],c=f[u],o=this._findTargetItemIndex(s),h=l.children(),A=h[o],y=h.length,O=y?1:0,S={contentPosition:l.position.slice(),pageCount:O,pageIndex:O-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!A)return S;var E=N(A);S.contentPosition[u]=-E.s;for(var C=o+1,T=E,w=E,L=null;C<=y;++C)L=N(h[C]),(!L&&w.e>T.s+n||L&&!D(L,T.s))&&(w.i>T.i?T=w:T=L,T&&(S.pageNextDataIndex==null&&(S.pageNextDataIndex=T.i),++S.pageCount)),w=L;for(var C=o-1,T=E,w=E,L=null;C>=-1;--C)L=N(h[C]),(!L||!D(w,L.s))&&T.i<w.i&&(w=T,S.pagePrevDataIndex==null&&(S.pagePrevDataIndex=T.i),++S.pageCount,++S.pageIndex),T=L;return S;function N(F){if(F){var R=F.getBoundingRect(),U=R[c]+F.position[u];return{s:U,e:U+R[t],i:F.__legendDataIndex}}}function D(F,R){return F.e>=R&&F.s<=R+n}},_findTargetItemIndex:function(a){if(!this._showController)return 0;var s,l=this.getContentGroup(),n;return l.eachChild(function(u,t){var c=u.__legendDataIndex;n==null&&c!=null&&(n=t),c===a&&(s=t)}),s!=null?s:n}}),r=i;J.exports=r},"E/ki":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};B.default=d},E2g8:function(J,B,e){(function(d,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(g,p){J.exports=p()})(this,function(){"use strict";function g(Qe){var mt=typeof Qe;return Qe!==null&&(mt==="object"||mt==="function")}function p(Qe){return typeof Qe=="function"}var v=void 0;Array.isArray?v=Array.isArray:v=function(mt){return Object.prototype.toString.call(mt)==="[object Array]"};var b=v,f=0,i=void 0,r=void 0,a=function(mt,Pe){E[f]=mt,E[f+1]=Pe,f+=2,f===2&&(r?r(C):w())};function s(Qe){r=Qe}function l(Qe){a=Qe}var n=typeof window!="undefined"?window:void 0,u=n||{},t=u.MutationObserver||u.WebKitMutationObserver,c=typeof self=="undefined"&&typeof d!="undefined"&&{}.toString.call(d)==="[object process]",o=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function h(){return function(){return d.nextTick(C)}}function A(){return typeof i!="undefined"?function(){i(C)}:S()}function y(){var Qe=0,mt=new t(C),Pe=document.createTextNode("");return mt.observe(Pe,{characterData:!0}),function(){Pe.data=Qe=++Qe%2}}function O(){var Qe=new MessageChannel;return Qe.port1.onmessage=C,function(){return Qe.port2.postMessage(0)}}function S(){var Qe=setTimeout;return function(){return Qe(C,1)}}var E=new Array(1e3);function C(){for(var Qe=0;Qe<f;Qe+=2){var mt=E[Qe],Pe=E[Qe+1];mt(Pe),E[Qe]=void 0,E[Qe+1]=void 0}f=0}function T(){try{var Qe=Function("return this")().require("vertx");return i=Qe.runOnLoop||Qe.runOnContext,A()}catch(mt){return S()}}var w=void 0;c?w=h():t?w=y():o?w=O():n===void 0&&!0?w=T():w=S();function L(Qe,mt){var Pe=this,De=new this.constructor(F);De[D]===void 0&&qe(De);var Ie=Pe._state;if(Ie){var ot=arguments[Ie-1];a(function(){return pe(Ie,De,ot,Pe._result)})}else he(Pe,De,Qe,mt);return De}function N(Qe){var mt=this;if(Qe&&typeof Qe=="object"&&Qe.constructor===mt)return Qe;var Pe=new mt(F);return Y(Pe,Qe),Pe}var D=Math.random().toString(36).substring(2);function F(){}var R=void 0,U=1,M=2;function j(){return new TypeError("You cannot resolve a promise with itself")}function P(){return new TypeError("A promises callback cannot return that same promise.")}function K(Qe,mt,Pe,De){try{Qe.call(mt,Pe,De)}catch(Ie){return Ie}}function H(Qe,mt,Pe){a(function(De){var Ie=!1,ot=K(Pe,mt,function(wt){if(Ie)return;Ie=!0,mt!==wt?Y(De,wt):Q(De,wt)},function(wt){if(Ie)return;Ie=!0,X(De,wt)},"Settle: "+(De._label||" unknown promise"));!Ie&&ot&&(Ie=!0,X(De,ot))},Qe)}function _(Qe,mt){mt._state===U?Q(Qe,mt._result):mt._state===M?X(Qe,mt._result):he(mt,void 0,function(Pe){return Y(Qe,Pe)},function(Pe){return X(Qe,Pe)})}function Z(Qe,mt,Pe){mt.constructor===Qe.constructor&&Pe===L&&mt.constructor.resolve===N?_(Qe,mt):Pe===void 0?Q(Qe,mt):p(Pe)?H(Qe,mt,Pe):Q(Qe,mt)}function Y(Qe,mt){if(Qe===mt)X(Qe,j());else if(g(mt)){var Pe=void 0;try{Pe=mt.then}catch(De){X(Qe,De);return}Z(Qe,mt,Pe)}else Q(Qe,mt)}function k(Qe){Qe._onerror&&Qe._onerror(Qe._result),te(Qe)}function Q(Qe,mt){if(Qe._state!==R)return;Qe._result=mt,Qe._state=U,Qe._subscribers.length!==0&&a(te,Qe)}function X(Qe,mt){if(Qe._state!==R)return;Qe._state=M,Qe._result=mt,a(k,Qe)}function he(Qe,mt,Pe,De){var Ie=Qe._subscribers,ot=Ie.length;Qe._onerror=null,Ie[ot]=mt,Ie[ot+U]=Pe,Ie[ot+M]=De,ot===0&&Qe._state&&a(te,Qe)}function te(Qe){var mt=Qe._subscribers,Pe=Qe._state;if(mt.length===0)return;for(var De=void 0,Ie=void 0,ot=Qe._result,wt=0;wt<mt.length;wt+=3)De=mt[wt],Ie=mt[wt+Pe],De?pe(Pe,De,Ie,ot):Ie(ot);Qe._subscribers.length=0}function pe(Qe,mt,Pe,De){var Ie=p(Pe),ot=void 0,wt=void 0,Bt=!0;if(Ie){try{ot=Pe(De)}catch(_t){Bt=!1,wt=_t}if(mt===ot){X(mt,P());return}}else ot=De;mt._state!==R||(Ie&&Bt?Y(mt,ot):Bt===!1?X(mt,wt):Qe===U?Q(mt,ot):Qe===M&&X(mt,ot))}function Se(Qe,mt){try{mt(function(De){Y(Qe,De)},function(De){X(Qe,De)})}catch(Pe){X(Qe,Pe)}}var we=0;function We(){return we++}function qe(Qe){Qe[D]=we++,Qe._state=void 0,Qe._result=void 0,Qe._subscribers=[]}function yt(){return new Error("Array Methods must be provided an Array")}var _e=function(){function Qe(mt,Pe){this._instanceConstructor=mt,this.promise=new mt(F),this.promise[D]||qe(this.promise),b(Pe)?(this.length=Pe.length,this._remaining=Pe.length,this._result=new Array(this.length),this.length===0?Q(this.promise,this._result):(this.length=this.length||0,this._enumerate(Pe),this._remaining===0&&Q(this.promise,this._result))):X(this.promise,yt())}return Qe.prototype._enumerate=function(Pe){for(var De=0;this._state===R&&De<Pe.length;De++)this._eachEntry(Pe[De],De)},Qe.prototype._eachEntry=function(Pe,De){var Ie=this._instanceConstructor,ot=Ie.resolve;if(ot===N){var wt=void 0,Bt=void 0,_t=!1;try{wt=Pe.then}catch(zt){_t=!0,Bt=zt}if(wt===L&&Pe._state!==R)this._settledAt(Pe._state,De,Pe._result);else if(typeof wt!="function")this._remaining--,this._result[De]=Pe;else if(Ie===dt){var Ue=new Ie(F);_t?X(Ue,Bt):Z(Ue,Pe,wt),this._willSettleAt(Ue,De)}else this._willSettleAt(new Ie(function(zt){return zt(Pe)}),De)}else this._willSettleAt(ot(Pe),De)},Qe.prototype._settledAt=function(Pe,De,Ie){var ot=this.promise;ot._state===R&&(this._remaining--,Pe===M?X(ot,Ie):this._result[De]=Ie),this._remaining===0&&Q(ot,this._result)},Qe.prototype._willSettleAt=function(Pe,De){var Ie=this;he(Pe,void 0,function(ot){return Ie._settledAt(U,De,ot)},function(ot){return Ie._settledAt(M,De,ot)})},Qe}();function je(Qe){return new _e(this,Qe).promise}function Ct(Qe){var mt=this;return b(Qe)?new mt(function(Pe,De){for(var Ie=Qe.length,ot=0;ot<Ie;ot++)mt.resolve(Qe[ot]).then(Pe,De)}):new mt(function(Pe,De){return De(new TypeError("You must pass an array to race."))})}function ct(Qe){var mt=this,Pe=new mt(F);return X(Pe,Qe),Pe}function nt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function bt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var dt=function(){function Qe(mt){this[D]=We(),this._result=this._state=void 0,this._subscribers=[],F!==mt&&(typeof mt!="function"&&nt(),this instanceof Qe?Se(this,mt):bt())}return Qe.prototype.catch=function(Pe){return this.then(null,Pe)},Qe.prototype.finally=function(Pe){var De=this,Ie=De.constructor;return p(Pe)?De.then(function(ot){return Ie.resolve(Pe()).then(function(){return ot})},function(ot){return Ie.resolve(Pe()).then(function(){throw ot})}):De.then(Pe,Pe)},Qe}();dt.prototype.then=L,dt.all=je,dt.race=Ct,dt.resolve=N,dt.reject=ct,dt._setScheduler=s,dt._setAsap=l,dt._asap=a;function vt(){var Qe=void 0;if(typeof x!="undefined")Qe=x;else if(typeof self!="undefined")Qe=self;else try{Qe=Function("return this")()}catch(De){throw new Error("polyfill failed because global object is unavailable in this environment")}var mt=Qe.Promise;if(mt){var Pe=null;try{Pe=Object.prototype.toString.call(mt.resolve())}catch(De){}if(Pe==="[object Promise]"&&!mt.cast)return}Qe.Promise=dt}return dt.polyfill=vt,dt.Promise=dt,dt})}).call(this,e("Q2Ig"),e("yLpj"))},E2jh:function(J,B,e){var d=e("2gN3"),x=function(){var p=/[^.]+$/.exec(d&&d.keys&&d.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}();function g(p){return!!x&&x in p}J.exports=g},E9nw:function(J,B){J.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var d=document.activeElement,x=[],g=0;g<e.rangeCount;g++)x.push(e.getRangeAt(g));switch(d.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":d.blur();break;default:d=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||x.forEach(function(p){e.addRange(p)}),d&&d.focus()}}},ELLl:function(J,B,e){(function(d){d(e("VrN/"))})(function(d){var x={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},g=d.Pos;d.defineOption("autoCloseBrackets",!1,function(t,c,o){o&&o!=d.Init&&(t.removeKeyMap(v),t.state.closeBrackets=null),c&&(b(p(c,"pairs")),t.state.closeBrackets=c,t.addKeyMap(v))});function p(t,c){return c=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[c]!=null?t[c]:x[c]}var v={Backspace:r,Enter:a};function b(t){for(var c=0;c<t.length;c++){var o=t.charAt(c),h="'"+o+"'";v[h]||(v[h]=f(o))}}b(x.pairs+"`");function f(t){return function(c){return l(c,t)}}function i(t){var c=t.state.closeBrackets;if(!c||c.override)return c;var o=t.getModeAt(t.getCursor());return o.closeBrackets||c}function r(t){var c=i(t);if(!c||t.getOption("disableInput"))return d.Pass;for(var o=p(c,"pairs"),h=t.listSelections(),A=0;A<h.length;A++){if(!h[A].empty())return d.Pass;var y=n(t,h[A].head);if(!y||o.indexOf(y)%2!=0)return d.Pass}for(var A=h.length-1;A>=0;A--){var O=h[A].head;t.replaceRange("",g(O.line,O.ch-1),g(O.line,O.ch+1),"+delete")}}function a(t){var c=i(t),o=c&&p(c,"explode");if(!o||t.getOption("disableInput"))return d.Pass;for(var h=t.listSelections(),A=0;A<h.length;A++){if(!h[A].empty())return d.Pass;var y=n(t,h[A].head);if(!y||o.indexOf(y)%2!=0)return d.Pass}t.operation(function(){var O=t.lineSeparator()||`
|
|
|
`;t.replaceSelection(O+O,null),t.execCommand("goCharLeft"),h=t.listSelections();for(var S=0;S<h.length;S++){var E=h[S].head.line;t.indentLine(E,null,!0),t.indentLine(E+1,null,!0)}})}function s(t){var c=d.cmpPos(t.anchor,t.head)>0;return{anchor:new g(t.anchor.line,t.anchor.ch+(c?-1:1)),head:new g(t.head.line,t.head.ch+(c?1:-1))}}function l(t,c){var o=i(t);if(!o||t.getOption("disableInput"))return d.Pass;var h=p(o,"pairs"),A=h.indexOf(c);if(A==-1)return d.Pass;for(var y=p(o,"closeBefore"),O=p(o,"triples"),S=h.charAt(A+1)==c,E=t.listSelections(),C=A%2==0,T,w=0;w<E.length;w++){var L=E[w],N=L.head,D,F=t.getRange(N,g(N.line,N.ch+1));if(C&&!L.empty())D="surround";else if((S||!C)&&F==c)S&&u(t,N)?D="both":O.indexOf(c)>=0&&t.getRange(N,g(N.line,N.ch+3))==c+c+c?D="skipThree":D="skip";else if(S&&N.ch>1&&O.indexOf(c)>=0&&t.getRange(g(N.line,N.ch-2),N)==c+c){if(N.ch>2&&/\bstring/.test(t.getTokenTypeAt(g(N.line,N.ch-2))))return d.Pass;D="addFour"}else if(S){var R=N.ch==0?" ":t.getRange(g(N.line,N.ch-1),N);if(!d.isWordChar(F)&&R!=c&&!d.isWordChar(R))D="both";else return d.Pass}else if(C&&(F.length===0||/\s/.test(F)||y.indexOf(F)>-1))D="both";else return d.Pass;if(!T)T=D;else if(T!=D)return d.Pass}var U=A%2?h.charAt(A-1):c,M=A%2?c:h.charAt(A+1);t.operation(function(){if(T=="skip")t.execCommand("goCharRight");else if(T=="skipThree")for(var j=0;j<3;j++)t.execCommand("goCharRight");else if(T=="surround"){for(var P=t.getSelections(),j=0;j<P.length;j++)P[j]=U+P[j]+M;t.replaceSelections(P,"around"),P=t.listSelections().slice();for(var j=0;j<P.length;j++)P[j]=s(P[j]);t.setSelections(P)}else T=="both"?(t.replaceSelection(U+M,null),t.triggerElectric(U+M),t.execCommand("goCharLeft")):T=="addFour"&&(t.replaceSelection(U+U+U+U,"before"),t.execCommand("goCharRight"))})}function n(t,c){var o=t.getRange(g(c.line,c.ch-1),g(c.line,c.ch+1));return o.length==2?o:null}function u(t,c){var o=t.getTokenAt(g(c.line,c.ch+1));return/\bstring/.test(o.type)&&o.start==c.ch&&(c.ch==0||!/\bstring/.test(t.getTokenTypeAt(c)))}})},EMyp:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("mFDi"),p=e("K4ya"),v=e("qJCg"),b=e("iLNv"),f=e("vZ6x"),i=["inBrush","outOfBrush"],r="__ecBrushSelect",a="__ecInBrushSelectEvent",s=d.PRIORITY.VISUAL.BRUSH;d.registerLayout(s,function(O,S,E){O.eachComponent({mainType:"brush"},function(C){E&&E.type==="takeGlobalCursor"&&C.setBrushOption(E.key==="brush"?E.brushOption:{brushType:!1})}),l(O)});function l(O){O.eachComponent({mainType:"brush"},function(S){var E=S.brushTargetManager=new f(S.option,O);E.setInputRanges(S.areas,O)})}d.registerVisual(s,function(O,S,E){var C=[],T,w;O.eachComponent({mainType:"brush"},function(L,N){var D={brushId:L.id,brushIndex:N,brushName:L.name,areas:x.clone(L.areas),selected:[]};C.push(D);var F=L.option,R=F.brushLink,U=[],M=[],j=[],P=0;N||(T=F.throttleType,w=F.throttleDelay);var K=x.map(L.areas,function(Q){return h(x.defaults({boundingRect:A[Q.brushType](Q)},Q))}),H=p.createVisualMappings(L.option,i,function(Q){Q.mappingMethod="fixed"});x.isArray(R)&&x.each(R,function(Q){U[Q]=1});function _(Q){return R==="all"||U[Q]}function Z(Q){return!!Q.length}O.eachSeries(function(Q,X){var he=j[X]=[];Q.subType==="parallel"?Y(Q,X,he):k(Q,X,he)});function Y(Q,X){var he=Q.coordinateSystem;P|=he.hasAxisBrushed(),_(X)&&he.eachActiveState(Q.getData(),function(te,pe){te==="active"&&(M[pe]=1)})}function k(Q,X,he){var te=c(Q);if(!te||o(L,X))return;if(x.each(K,function(Se){te[Se.brushType]&&L.brushTargetManager.controlSeries(Se,Q,O)&&he.push(Se),P|=Z(he)}),_(X)&&Z(he)){var pe=Q.getData();pe.each(function(Se){t(te,he,pe,Se)&&(M[Se]=1)})}}O.eachSeries(function(Q,X){var he={seriesId:Q.id,seriesIndex:X,seriesName:Q.name,dataIndex:[]};D.selected.push(he);var te=c(Q),pe=j[X],Se=Q.getData(),we=_(X)?function(We){return M[We]?(he.dataIndex.push(Se.getRawIndex(We)),"inBrush"):"outOfBrush"}:function(We){return t(te,pe,Se,We)?(he.dataIndex.push(Se.getRawIndex(We)),"inBrush"):"outOfBrush"};(_(X)?P:Z(pe))&&p.applyVisual(i,H,Se,we)})}),n(S,T,w,C,E)});function n(O,S,E,C,T){if(!T)return;var w=O.getZr();if(w[a])return;w[r]||(w[r]=u);var L=b.createOrUpdate(w,r,E,S);L(O,C)}function u(O,S){if(!O.isDisposed()){var E=O.getZr();E[a]=!0,O.dispatchAction({type:"brushSelect",batch:S}),E[a]=!1}}function t(O,S,E,C){for(var T=0,w=S.length;T<w;T++){var L=S[T];if(O[L.brushType](C,E,L.selectors,L))return!0}}function c(O){var S=O.brushSelector;if(x.isString(S)){var E=[];return x.each(v,function(T,w){E[w]=function(L,N,D,F){var R=N.getItemLayout(L);return T[S](R,D,F)}}),E}else if(x.isFunction(S)){var C={};return x.each(v,function(T,w){C[w]=S}),C}return S}function o(O,S){var E=O.option.seriesIndex;return E!=null&&E!=="all"&&(x.isArray(E)?x.indexOf(E,S)<0:S!==E)}function h(O){var S=O.selectors={};return x.each(v[O.brushType],function(E,C){S[C]=function(T){return E(T,S,O)}}),O}var A={lineX:x.noop,lineY:x.noop,rect:function(O){return y(O.range)},polygon:function(O){for(var S,E=O.range,C=0,T=E.length;C<T;C++){S=S||[[Infinity,-Infinity],[Infinity,-Infinity]];var w=E[C];w[0]<S[0][0]&&(S[0][0]=w[0]),w[0]>S[0][1]&&(S[0][1]=w[0]),w[1]<S[1][0]&&(S[1][0]=w[1]),w[1]>S[1][1]&&(S[1][1]=w[1])}return S&&y(S)}};function y(O){return new g(O[0][0],O[1][0],O[0][1]-O[0][0],O[1][1]-O[1][0])}B.layoutCovers=l},ERHi:function(J,B,e){var d=e("ProS");e("Z6js"),e("R4Th");var x=e("f5Yq"),g=e("h8O9");d.registerVisual(x("effectScatter","circle")),d.registerLayout(g("effectScatter"))},EXcs:function(J,B,e){"use strict";var d=function(){return{height:0,opacity:0}},x=function(f){return{height:f.scrollHeight,opacity:1}},g=function(f){return{height:f.offsetHeight}},p=function(f,i){return i.propertyName==="height"},v={motionName:"ant-motion-collapse",onAppearStart:d,onEnterStart:d,onAppearActive:x,onEnterActive:x,onLeaveStart:g,onLeaveActive:d,onAppearEnd:p,onEnterEnd:p,onLeaveEnd:p,motionDeadline:500};B.a=v},Em2t:function(J,B,e){var d=e("bahg"),x=e("quyA"),g=e("0JQy");function p(v){return x(v)?g(v):d(v)}J.exports=p},EpBk:function(J,B){function e(d){var x=typeof d;return x=="string"||x=="number"||x=="symbol"||x=="boolean"?d!=="__proto__":d===null}J.exports=e},Ez2D:function(J,B,e){var d=e("bYtY"),x=e("4NO4");function g(p,v){var b=[],f=p.seriesIndex,i;if(f==null||!(i=v.getSeriesByIndex(f)))return{point:[]};var r=i.getData(),a=x.queryDataIndex(r,p);if(a==null||a<0||d.isArray(a))return{point:[]};var s=r.getItemGraphicEl(a),l=i.coordinateSystem;if(i.getTooltipPosition)b=i.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)b=l.dataToPoint(r.getValues(d.map(l.dimensions,function(u){return r.mapDimension(u)}),a,!0))||[];else if(s){var n=s.getBoundingRect().clone();n.applyTransform(s.transform),b=[n.x+n.width/2,n.y+n.height/2]}return{point:b,el:s}}J.exports=g},F0hE:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("ca2m"),p=e("Qxkt"),v=e("ICMv"),b=g.valueAxis;function f(a,s){return x.defaults({show:s},a)}var i=d.extendComponentModel({type:"radar",optionUpdated:function(){var a=this.get("boundaryGap"),s=this.get("splitNumber"),l=this.get("scale"),n=this.get("axisLine"),u=this.get("axisTick"),t=this.get("axisType"),c=this.get("axisLabel"),o=this.get("name"),h=this.get("name.show"),A=this.get("name.formatter"),y=this.get("nameGap"),O=this.get("triggerEvent"),S=x.map(this.get("indicator")||[],function(E){E.max!=null&&E.max>0&&!E.min?E.min=0:E.min!=null&&E.min<0&&!E.max&&(E.max=0);var C=o;if(E.color!=null&&(C=x.defaults({color:E.color},o)),E=x.merge(x.clone(E),{boundaryGap:a,splitNumber:s,scale:l,axisLine:n,axisTick:u,axisType:t,axisLabel:c,name:E.text,nameLocation:"end",nameGap:y,nameTextStyle:C,triggerEvent:O},!1),h||(E.name=""),typeof A=="string"){var T=E.name;E.name=A.replace("{value}",T!=null?T:"")}else typeof A=="function"&&(E.name=A(E.name,E));var w=x.extend(new p(E,null,this.ecModel),v);return w.mainType="radar",w.componentIndex=this.componentIndex,w},this);this.getIndicatorModels=function(){return S}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:x.merge({lineStyle:{color:"#bbb"}},b.axisLine),axisLabel:f(b.axisLabel,!1),axisTick:f(b.axisTick,!1),axisType:"interval",splitLine:f(b.splitLine,!0),splitArea:f(b.splitArea,!0),indicator:[]}}),r=i;J.exports=r},F5Ls:function(J,B){var e={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function d(x,g){if(x==="china"){var p=e[g.name];if(p){var v=g.center;v[0]+=p[0]/10.5,v[1]+=-p[1]/(10.5/.75)}}}J.exports=d},F7hV:function(J,B,e){var d=e("MBQ8"),x=d.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var g=this.get("progressiveThreshold"),p=this.get("largeThreshold");return p>g&&(g=p),g},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}}});J.exports=x},F9bG:function(J,B,e){var d=e("bYtY"),x=e("ItGF"),g=e("4NO4"),p=g.makeInner,v=p(),b=d.each;function f(u,t,c){if(x.node)return;var o=t.getZr();v(o).records||(v(o).records={}),i(o,t);var h=v(o).records[u]||(v(o).records[u]={});h.handler=c}function i(u,t){if(v(u).initialized)return;v(u).initialized=!0,c("click",d.curry(s,"click")),c("mousemove",d.curry(s,"mousemove")),c("globalout",a);function c(o,h){u.on(o,function(A){var y=l(t);b(v(u).records,function(O){O&&h(O,A,y.dispatchAction)}),r(y.pendings,t)})}}function r(u,t){var c=u.showTip.length,o=u.hideTip.length,h;c?h=u.showTip[c-1]:o&&(h=u.hideTip[o-1]),h&&(h.dispatchAction=null,t.dispatchAction(h))}function a(u,t,c){u.handler("leave",null,c)}function s(u,t,c,o){t.handler(u,c,o)}function l(u){var t={showTip:[],hideTip:[]},c=function(o){var h=t[o.type];h?h.push(o):(o.dispatchAction=c,u.dispatchAction(o))};return{dispatchAction:c,pendings:t}}function n(u,t){if(x.node)return;var c=t.getZr(),o=(v(c).records||{})[u];o&&(v(c).records[u]=null)}B.register=f,B.unregister=n},FBjb:function(J,B,e){var d=e("bYtY"),x=e("oVpE"),g=x.createSymbol,p=e("IwbS"),v=e("OELB"),b=v.parsePercent,f=e("x3X8"),i=f.getDefaultLabel;function r(y,O,S){p.Group.call(this),this.updateData(y,O,S)}var a=r.prototype,s=r.getSymbolSize=function(y,O){var S=y.getItemVisual(O,"symbolSize");return S instanceof Array?S.slice():[+S,+S]};function l(y){return[y[0]/2,y[1]/2]}function n(y,O){this.parent.drift(y,O)}a._createSymbol=function(y,O,S,E,C){this.removeAll();var T=O.getItemVisual(S,"color"),w=g(y,-1,-1,2,2,T,C);w.attr({z2:100,culling:!0,scale:l(E)}),w.drift=n,this._symbolType=y,this.add(w)},a.stopSymbolAnimation=function(y){this.childAt(0).stopAnimation(y)},a.getSymbolPath=function(){return this.childAt(0)},a.getScale=function(){return this.childAt(0).scale},a.highlight=function(){this.childAt(0).trigger("emphasis")},a.downplay=function(){this.childAt(0).trigger("normal")},a.setZ=function(y,O){var S=this.childAt(0);S.zlevel=y,S.z=O},a.setDraggable=function(y){var O=this.childAt(0);O.draggable=y,O.cursor=y?"move":O.cursor},a.updateData=function(y,O,S){this.silent=!1;var E=y.getItemVisual(O,"symbol")||"circle",C=y.hostModel,T=s(y,O),w=E!==this._symbolType;if(w){var L=y.getItemVisual(O,"symbolKeepAspect");this._createSymbol(E,y,O,T,L)}else{var N=this.childAt(0);N.silent=!1,p.updateProps(N,{scale:l(T)},C,O)}if(this._updateCommon(y,O,T,S),w){var N=this.childAt(0),D=S&&S.fadeIn,F={scale:N.scale.slice()};D&&(F.style={opacity:N.style.opacity}),N.scale=[0,0],D&&(N.style.opacity=0),p.initProps(N,F,C,O)}this._seriesModel=C};var u=["itemStyle"],t=["emphasis","itemStyle"],c=["label"],o=["emphasis","label"];a._updateCommon=function(y,O,S,E){var C=this.childAt(0),T=y.hostModel,w=y.getItemVisual(O,"color");C.type!=="image"?C.useStyle({strokeNoScale:!0}):C.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var L=E&&E.itemStyle,N=E&&E.hoverItemStyle,D=E&&E.symbolOffset,F=E&&E.labelModel,R=E&&E.hoverLabelModel,U=E&&E.hoverAnimation,M=E&&E.cursorStyle;if(!E||y.hasItemOption){var j=E&&E.itemModel?E.itemModel:y.getItemModel(O);L=j.getModel(u).getItemStyle(["color"]),N=j.getModel(t).getItemStyle(),D=j.getShallow("symbolOffset"),F=j.getModel(c),R=j.getModel(o),U=j.getShallow("hoverAnimation"),M=j.getShallow("cursor")}else N=d.extend({},N);var P=C.style,K=y.getItemVisual(O,"symbolRotate");C.attr("rotation",(K||0)*Math.PI/180||0),D&&C.attr("position",[b(D[0],S[0]),b(D[1],S[1])]),M&&C.attr("cursor",M),C.setColor(w,E&&E.symbolInnerColor),C.setStyle(L);var H=y.getItemVisual(O,"opacity");H!=null&&(P.opacity=H);var _=y.getItemVisual(O,"liftZ"),Z=C.__z2Origin;_!=null?Z==null&&(C.__z2Origin=C.z2,C.z2+=_):Z!=null&&(C.z2=Z,C.__z2Origin=null);var Y=E&&E.useNameLabel;p.setLabelStyle(P,N,F,R,{labelFetcher:T,labelDataIndex:O,defaultText:k,isRectText:!0,autoColor:w});function k(Q,X){return Y?y.getName(Q):i(y,Q)}C.__symbolOriginalScale=l(S),C.hoverStyle=N,C.highDownOnUpdate=U&&T.isAnimationEnabled()?h:null,p.setHoverStyle(C)};function h(y,O){if(this.incremental||this.useHoverLayer)return;if(O==="emphasis"){var S=this.__symbolOriginalScale,E=S[1]/S[0],C={scale:[Math.max(S[0]*1.1,S[0]+3),Math.max(S[1]*1.1,S[1]+3*E)]};this.animateTo(C,400,"elasticOut")}else O==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}a.fadeOut=function(y,O){var S=this.childAt(0);this.silent=S.silent=!0,!(O&&O.keepLabel)&&(S.style.text=null),p.updateProps(S,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,y)},d.inherits(r,p.Group);var A=r;J.exports=A},FGaS:function(J,B,e){var d=e("ProS"),x=e("IwbS"),g=e("bYtY"),p=e("oVpE");function v(f){return g.isArray(f)||(f=[+f,+f]),f}var b=d.extendChartView({type:"radar",render:function(f,i,r){var a=f.coordinateSystem,s=this.group,l=f.getData(),n=this._data;function u(o,h){var A=o.getItemVisual(h,"symbol")||"circle",y=o.getItemVisual(h,"color");if(A==="none")return;var O=v(o.getItemVisual(h,"symbolSize")),S=p.createSymbol(A,-1,-1,2,2,y);return S.attr({style:{strokeNoScale:!0},z2:100,scale:[O[0]/2,O[1]/2]}),S}function t(o,h,A,y,O,S){A.removeAll();for(var E=0;E<h.length-1;E++){var C=u(y,O);C&&(C.__dimIdx=E,o[E]?(C.attr("position",o[E]),x[S?"initProps":"updateProps"](C,{position:h[E]},f,O)):C.attr("position",h[E]),A.add(C))}}function c(o){return g.map(o,function(h){return[a.cx,a.cy]})}l.diff(n).add(function(o){var h=l.getItemLayout(o);if(!h)return;var A=new x.Polygon,y=new x.Polyline,O={shape:{points:h}};A.shape.points=c(h),y.shape.points=c(h),x.initProps(A,O,f,o),x.initProps(y,O,f,o);var S=new x.Group,E=new x.Group;S.add(y),S.add(A),S.add(E),t(y.shape.points,h,E,l,o,!0),l.setItemGraphicEl(o,S)}).update(function(o,h){var A=n.getItemGraphicEl(h),y=A.childAt(0),O=A.childAt(1),S=A.childAt(2),E={shape:{points:l.getItemLayout(o)}};if(!E.shape.points)return;t(y.shape.points,E.shape.points,S,l,o,!1),x.updateProps(y,E,f),x.updateProps(O,E,f),l.setItemGraphicEl(o,A)}).remove(function(o){s.remove(n.getItemGraphicEl(o))}).execute(),l.eachItemGraphicEl(function(o,h){var A=l.getItemModel(h),y=o.childAt(0),O=o.childAt(1),S=o.childAt(2),E=l.getItemVisual(h,"color");s.add(o),y.useStyle(g.defaults(A.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:E})),y.hoverStyle=A.getModel("emphasis.lineStyle").getLineStyle();var C=A.getModel("areaStyle"),T=A.getModel("emphasis.areaStyle"),w=C.isEmpty()&&C.parentModel.isEmpty(),L=T.isEmpty()&&T.parentModel.isEmpty();L=L&&w,O.ignore=w,O.useStyle(g.defaults(C.getAreaStyle(),{fill:E,opacity:.7})),O.hoverStyle=T.getAreaStyle();var N=A.getModel("itemStyle").getItemStyle(["color"]),D=A.getModel("emphasis.itemStyle").getItemStyle(),F=A.getModel("label"),R=A.getModel("emphasis.label");S.eachChild(function(U){U.setStyle(N),U.hoverStyle=g.clone(D);var M=l.get(l.dimensions[U.__dimIdx],h);(M==null||isNaN(M))&&(M=""),x.setLabelStyle(U.style,U.hoverStyle,F,R,{labelFetcher:l.hostModel,labelDataIndex:h,labelDimIndex:U.__dimIdx,defaultText:M,autoColor:E,isRectText:!0})}),o.highDownOnUpdate=function(U,M){O.attr("ignore",M==="emphasis"?L:w)},x.setHoverStyle(o)}),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});J.exports=b},FH2Y:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("ZMnZ"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},FIfw:function(J,B,e){},FNN5:function(J,B,e){var d=e("bYtY"),x=e("IwbS"),g=e("+rIm"),p=e("Znkb"),v=["axisLine","axisTickLabel","axisName"],b=["splitLine","splitArea","minorSplitLine"],f=p.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(r,a){if(this.group.removeAll(),!r.get("show"))return;var s=r.axis,l=s.polar,n=l.getAngleAxis(),u=s.getTicksCoords(),t=s.getMinorTicksCoords(),c=n.getExtent()[0],o=s.getExtent(),h=i(l,r,c),A=new g(r,h);d.each(v,A.add,A),this.group.add(A.getGroup()),d.each(b,function(y){r.get(y+".show")&&!s.scale.isBlank()&&this["_"+y](r,l,c,o,u,t)},this)},_splitLine:function(r,a,s,l,n){var u=r.getModel("splitLine"),t=u.getModel("lineStyle"),c=t.get("color"),o=0;c=c instanceof Array?c:[c];for(var h=[],A=0;A<n.length;A++){var y=o++%c.length;h[y]=h[y]||[],h[y].push(new x.Circle({shape:{cx:a.cx,cy:a.cy,r:n[A].coord}}))}for(var A=0;A<h.length;A++)this.group.add(x.mergePath(h[A],{style:d.defaults({stroke:c[A%c.length],fill:null},t.getLineStyle()),silent:!0}))},_minorSplitLine:function(r,a,s,l,n,u){if(!u.length)return;for(var t=r.getModel("minorSplitLine"),c=t.getModel("lineStyle"),o=[],h=0;h<u.length;h++)for(var A=0;A<u[h].length;A++)o.push(new x.Circle({shape:{cx:a.cx,cy:a.cy,r:u[h][A].coord}}));this.group.add(x.mergePath(o,{style:d.defaults({fill:null},c.getLineStyle()),silent:!0}))},_splitArea:function(r,a,s,l,n){if(!n.length)return;var u=r.getModel("splitArea"),t=u.getModel("areaStyle"),c=t.get("color"),o=0;c=c instanceof Array?c:[c];for(var h=[],A=n[0].coord,y=1;y<n.length;y++){var O=o++%c.length;h[O]=h[O]||[],h[O].push(new x.Sector({shape:{cx:a.cx,cy:a.cy,r0:A,r:n[y].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),A=n[y].coord}for(var y=0;y<h.length;y++)this.group.add(x.mergePath(h[y],{style:d.defaults({fill:c[y%c.length]},t.getAreaStyle()),silent:!0}))}});function i(r,a,s){return{position:[r.cx,r.cy],rotation:s/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:a.getModel("axisLabel").get("rotate"),z2:1}}J.exports=f},FUi9:function(J,B,e){var d=e("bYtY"),x=e("MwEJ"),g=e("aX7z"),p=e("ICMv"),v=e("Qxkt"),b=e("+TT/"),f=b.getLayoutRect;B.getLayoutRect=b.getLayoutRect;var i=e("7hqr"),r=i.enableDataStack,a=i.isDimensionStacked,s=i.getStackedDimension,l=e("hi0g");B.completeDimensions=l;var n=e("sdST");B.createDimensions=n;var u=e("oVpE");B.createSymbol=u.createSymbol;function t(A){return x(A.getSource(),A)}var c={isDimensionStacked:a,enableDataStack:r,getStackedDimension:s};function o(A,y){var O=y;v.isInstance(y)||(O=new v(y),d.mixin(O,p));var S=g.createScaleByModel(O);return S.setExtent(A[0],A[1]),g.niceScaleExtent(S,O),S}function h(A){d.mixin(A,p)}B.createList=t,B.dataStack=c,B.createScale=o,B.mixinAxisModelCommonMethods=h},"Fa/5":function(J,B,e){var d=e("ProS");e("y2l5"),e("q/+u");var x=e("f5Yq"),g=e("h8O9");e("Ae16"),d.registerVisual(x("scatter","circle")),d.registerLayout(g("scatter"))},FhB9:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};B.default=d},"Fm1+":function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("a7Wl")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="CaretUpOutlined";var f=g.forwardRef(b);B.default=f},Fofx:function(J,B){var e=typeof Float32Array=="undefined"?Array:Float32Array;function d(){var a=new e(6);return x(a),a}function x(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=1,a[4]=0,a[5]=0,a}function g(a,s){return a[0]=s[0],a[1]=s[1],a[2]=s[2],a[3]=s[3],a[4]=s[4],a[5]=s[5],a}function p(a,s,l){var n=s[0]*l[0]+s[2]*l[1],u=s[1]*l[0]+s[3]*l[1],t=s[0]*l[2]+s[2]*l[3],c=s[1]*l[2]+s[3]*l[3],o=s[0]*l[4]+s[2]*l[5]+s[4],h=s[1]*l[4]+s[3]*l[5]+s[5];return a[0]=n,a[1]=u,a[2]=t,a[3]=c,a[4]=o,a[5]=h,a}function v(a,s,l){return a[0]=s[0],a[1]=s[1],a[2]=s[2],a[3]=s[3],a[4]=s[4]+l[0],a[5]=s[5]+l[1],a}function b(a,s,l){var n=s[0],u=s[2],t=s[4],c=s[1],o=s[3],h=s[5],A=Math.sin(l),y=Math.cos(l);return a[0]=n*y+c*A,a[1]=-n*A+c*y,a[2]=u*y+o*A,a[3]=-u*A+y*o,a[4]=y*t+A*h,a[5]=y*h-A*t,a}function f(a,s,l){var n=l[0],u=l[1];return a[0]=s[0]*n,a[1]=s[1]*u,a[2]=s[2]*n,a[3]=s[3]*u,a[4]=s[4]*n,a[5]=s[5]*u,a}function i(a,s){var l=s[0],n=s[2],u=s[4],t=s[1],c=s[3],o=s[5],h=l*c-t*n;return h?(h=1/h,a[0]=c*h,a[1]=-t*h,a[2]=-n*h,a[3]=l*h,a[4]=(n*o-c*u)*h,a[5]=(t*u-l*o)*h,a):null}function r(a){var s=d();return g(s,a),s}B.create=d,B.identity=x,B.copy=g,B.mul=p,B.translate=v,B.rotate=b,B.scale=f,B.invert=i,B.clone=r},FxDU:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.createSensor=void 0;var d=e("QO+J"),x=e("j5sG"),g=typeof ResizeObserver!="undefined"?x.createSensor:d.createSensor;B.createSensor=g},GGyF:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("wgjA")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="LeftOutlined";var f=g.forwardRef(b);B.default=f},GIiI:function(J,B,e){"use strict";var d=e("q1tI"),x={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"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="PoweroffOutlined";var b=B.a=d.forwardRef(v)},GMDS:function(J,B,e){var d=e("bYtY"),x=e("4NgU"),g=e("jkPA"),p=x.prototype,v=x.extend({type:"ordinal",init:function(f,i){(!f||d.isArray(f))&&(f=new g({categories:f})),this._ordinalMeta=f,this._extent=i||[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),p.contain.call(this,f)&&this._ordinalMeta.categories[f]!=null},normalize:function(f){return p.normalize.call(this,this.parse(f))},scale:function(f){return Math.round(p.scale.call(this,f))},getTicks:function(){for(var f=[],i=this._extent,r=i[0];r<=i[1];)f.push(r),r++;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,i){this.unionExtent(f.getApproximateExtent(i))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:d.noop,niceExtent:d.noop});v.create=function(){return new v};var b=v;J.exports=b},GUcZ:function(J,B,e){"use strict";var d=e("fWQN"),x=e("mtLc"),g=function(){function ee(){Object(d.a)(this,ee)}return Object(x.a)(ee,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(z,$){return z.__proto__=$,z},Object.assign=Object.assign||function(z){if(z==null)throw new TypeError("Cannot convert undefined or null to object");for(var $=Object(z),le=1;le<arguments.length;le++){var ge=arguments[le];if(ge!=null)for(var Ae in ge)ge.hasOwnProperty(Ae)&&($[Ae]=ge[Ae])}return $},typeof self.Promise!="function"&&e("E2g8").polyfill()}}]),ee}();g.install();var p=g,v=e("+qE3"),b=e.n(v),f=function(){function ee(){Object(d.a)(this,ee)}return Object(x.a)(ee,null,[{key:"e",value:function(z,$){(!z||ee.FORCE_GLOBAL_TAG)&&(z=ee.GLOBAL_TAG);var le="[".concat(z,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","error",le),!ee.ENABLE_ERROR)return;console.error?console.error(le):console.warn?console.warn(le):console.log(le)}},{key:"i",value:function(z,$){(!z||ee.FORCE_GLOBAL_TAG)&&(z=ee.GLOBAL_TAG);var le="[".concat(z,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","info",le),!ee.ENABLE_INFO)return;console.info?console.info(le):console.log(le)}},{key:"w",value:function(z,$){(!z||ee.FORCE_GLOBAL_TAG)&&(z=ee.GLOBAL_TAG);var le="[".concat(z,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","warn",le),!ee.ENABLE_WARN)return;console.warn?console.warn(le):console.log(le)}},{key:"d",value:function(z,$){(!z||ee.FORCE_GLOBAL_TAG)&&(z=ee.GLOBAL_TAG);var le="[".concat(z,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","debug",le),!ee.ENABLE_DEBUG)return;console.debug?console.debug(le):console.log(le)}},{key:"v",value:function(z,$){(!z||ee.FORCE_GLOBAL_TAG)&&(z=ee.GLOBAL_TAG);var le="[".concat(z,"] > ").concat($);if(ee.ENABLE_CALLBACK&&ee.emitter.emit("log","verbose",le),!ee.ENABLE_VERBOSE)return;console.log(le)}}]),ee}();f.GLOBAL_TAG="flv.js",f.FORCE_GLOBAL_TAG=!1,f.ENABLE_ERROR=!0,f.ENABLE_INFO=!0,f.ENABLE_WARN=!0,f.ENABLE_DEBUG=!0,f.ENABLE_VERBOSE=!0,f.ENABLE_CALLBACK=!1,f.emitter=new b.a;var i=f,r=function(){function ee(){Object(d.a)(this,ee),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(x.a)(ee,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(z){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=z,this._totalBytes+=z):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=z,this._totalBytes+=z):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=z,this._totalBytes+=z,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var z=(this._now()-this._lastCheckpoint)/1e3;return z==0&&(z=1),this._intervalBytes/z/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 z=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/z/1024}}]),ee}(),a=r,s=e("yKVA"),l=e("879j"),n=function(){function ee(ie){Object(d.a)(this,ee),this._message=ie}return Object(x.a)(ee,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),ee}(),u=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);function z($){return Object(d.a)(this,z),ie.call(this,$)}return Object(x.a)(z,[{key:"name",get:function(){return"IllegalStateException"}}]),z}(n),t=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);function z($){return Object(d.a)(this,z),ie.call(this,$)}return Object(x.a)(z,[{key:"name",get:function(){return"InvalidArgumentException"}}]),z}(n),c=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);function z($){return Object(d.a)(this,z),ie.call(this,$)}return Object(x.a)(z,[{key:"name",get:function(){return"NotImplementedException"}}]),z}(n),o={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},h={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},A=function(){function ee(ie){Object(d.a)(this,ee),this._type=ie||"undefined",this._status=o.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(x.a)(ee,[{key:"destroy",value:function(){this._status=o.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===o.kConnecting||this._status===o.kBuffering}},{key:"open",value:function(z,$){throw new c("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new c("Unimplemented abstract function!")}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(z){this._onContentLengthKnown=z}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(z){this._onURLRedirect=z}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(z){this._onDataArrival=z}},{key:"onError",get:function(){return this._onError},set:function(z){this._onError=z}},{key:"onComplete",get:function(){return this._onComplete},set:function(z){this._onComplete=z}}]),ee}(),y=e("oZsa");function O(ee,ie){for(;!Object.prototype.hasOwnProperty.call(ee,ie)&&!(ee=Object(y.a)(ee),ee===null););return ee}function S(ee,ie,z){return typeof Reflect!="undefined"&&Reflect.get?S=Reflect.get:S=function(le,ge,Ae){var Me=O(le,ge);if(!Me)return;var Ze=Object.getOwnPropertyDescriptor(Me,ge);return Ze.get?Ze.get.call(Ae):Ze.value},S(ee,ie,z||ee)}var E={};function C(){var ee=self.navigator.userAgent.toLowerCase(),ie=/(edge)\/([\w.]+)/.exec(ee)||/(opr)[\/]([\w.]+)/.exec(ee)||/(chrome)[ \/]([\w.]+)/.exec(ee)||/(iemobile)[\/]([\w.]+)/.exec(ee)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ee)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ee)||/(webkit)[ \/]([\w.]+)/.exec(ee)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ee)||/(msie) ([\w.]+)/.exec(ee)||ee.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(ee)||ee.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(ee)||[],z=/(ipad)/.exec(ee)||/(ipod)/.exec(ee)||/(windows phone)/.exec(ee)||/(iphone)/.exec(ee)||/(kindle)/.exec(ee)||/(android)/.exec(ee)||/(windows)/.exec(ee)||/(mac)/.exec(ee)||/(linux)/.exec(ee)||/(cros)/.exec(ee)||[],$={browser:ie[5]||ie[3]||ie[1]||"",version:ie[2]||ie[4]||"0",majorVersion:ie[4]||ie[2]||"0",platform:z[0]||""},le={};if($.browser){le[$.browser]=!0;var ge=$.majorVersion.split(".");le.version={major:parseInt($.majorVersion,10),string:$.version},ge.length>1&&(le.version.minor=parseInt(ge[1],10)),ge.length>2&&(le.version.build=parseInt(ge[2],10))}if($.platform&&(le[$.platform]=!0),(le.chrome||le.opr||le.safari)&&(le.webkit=!0),le.rv||le.iemobile){le.rv&&delete le.rv;var Ae="msie";$.browser=Ae,le[Ae]=!0}if(le.edge){delete le.edge;var Me="msedge";$.browser=Me,le[Me]=!0}if(le.opr){var Ze="opera";$.browser=Ze,le[Ze]=!0}if(le.safari&&le.android){var kt="android";$.browser=kt,le[kt]=!0}le.name=$.browser,le.platform=$.platform;for(var Jt in E)E.hasOwnProperty(Jt)&&delete E[Jt];Object.assign(E,le)}C();var T=E,w=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);Object(x.a)(z,null,[{key:"isSupported",value:function(){try{var le=T.msedge&&T.version.minor>=15048,ge=T.msedge?le:!0;return self.fetch&&self.ReadableStream&&ge}catch(Ae){return!1}}}]);function z($,le){var ge;return Object(d.a)(this,z),ge=ie.call(this,"fetch-stream-loader"),ge.TAG="FetchStreamLoader",ge._seekHandler=$,ge._config=le,ge._needStash=!0,ge._requestAbort=!1,ge._contentLength=null,ge._receivedLength=0,ge}return Object(x.a)(z,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),S(Object(y.a)(z.prototype),"destroy",this).call(this)}},{key:"open",value:function(le,ge){var Ae=this;this._dataSource=le,this._range=ge;var Me=le.url;this._config.reuseRedirectedURL&&le.redirectedURL!=null&&(Me=le.redirectedURL);var Ze=this._seekHandler.getConfig(Me,ge),kt=new self.Headers;if(typeof Ze.headers=="object"){var Jt=Ze.headers;for(var Et in Jt)Jt.hasOwnProperty(Et)&&kt.append(Et,Jt[Et])}var Ft={method:"GET",headers:kt,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var Kt in this._config.headers)kt.append(Kt,this._config.headers[Kt]);le.cors===!1&&(Ft.mode="same-origin"),le.withCredentials&&(Ft.credentials="include"),le.referrerPolicy&&(Ft.referrerPolicy=le.referrerPolicy),this._status=o.kConnecting,self.fetch(Ze.url,Ft).then(function(Vt){if(Ae._requestAbort){Ae._requestAbort=!1,Ae._status=o.kIdle;return}if(Vt.ok&&Vt.status>=200&&Vt.status<=299){if(Vt.url!==Ze.url&&Ae._onURLRedirect){var Ot=Ae._seekHandler.removeURLParameters(Vt.url);Ae._onURLRedirect(Ot)}var ur=Vt.headers.get("Content-Length");return ur!=null&&(Ae._contentLength=parseInt(ur),Ae._contentLength!==0&&(Ae._onContentLengthKnown&&Ae._onContentLengthKnown(Ae._contentLength))),Ae._pump.call(Ae,Vt.body.getReader())}else if(Ae._status=o.kError,Ae._onError)Ae._onError(h.HTTP_STATUS_CODE_INVALID,{code:Vt.status,msg:Vt.statusText});else throw new n("FetchStreamLoader: Http code invalid, "+Vt.status+" "+Vt.statusText)}).catch(function(Vt){if(Ae._status=o.kError,Ae._onError)Ae._onError(h.EXCEPTION,{code:-1,msg:Vt.message});else throw Vt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(le){var ge=this;return le.read().then(function(Ae){if(Ae.done)if(ge._contentLength!==null&&ge._receivedLength<ge._contentLength){ge._status=o.kError;var Me=h.EARLY_EOF,Ze={code:-1,msg:"Fetch stream meet Early-EOF"};if(ge._onError)ge._onError(Me,Ze);else throw new n(Ze.msg)}else ge._status=o.kComplete,ge._onComplete&&ge._onComplete(ge._range.from,ge._range.from+ge._receivedLength-1);else{if(ge._requestAbort===!0)return ge._requestAbort=!1,ge._status=o.kComplete,le.cancel();ge._status=o.kBuffering;var kt=Ae.value.buffer,Jt=ge._range.from+ge._receivedLength;ge._receivedLength+=kt.byteLength,ge._onDataArrival&&ge._onDataArrival(kt,Jt,ge._receivedLength),ge._pump(le)}}).catch(function(Ae){if(Ae.code===11&&T.msedge)return;ge._status=o.kError;var Me=0,Ze=null;if((Ae.code===19||Ae.message==="network error")&&(ge._contentLength===null||ge._contentLength!==null&&ge._receivedLength<ge._contentLength)?(Me=h.EARLY_EOF,Ze={code:Ae.code,msg:"Fetch stream meet Early-EOF"}):(Me=h.EXCEPTION,Ze={code:Ae.code,msg:Ae.message}),ge._onError)ge._onError(Me,Ze);else throw new n(Ze.msg)})}}]),z}(A),L=w,N=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);Object(x.a)(z,null,[{key:"isSupported",value:function(){try{var le=new XMLHttpRequest;return le.open("GET","https://example.com",!0),le.responseType="moz-chunked-arraybuffer",le.responseType==="moz-chunked-arraybuffer"}catch(ge){return i.w("MozChunkedLoader",ge.message),!1}}}]);function z($,le){var ge;return Object(d.a)(this,z),ge=ie.call(this,"xhr-moz-chunked-loader"),ge.TAG="MozChunkedLoader",ge._seekHandler=$,ge._config=le,ge._needStash=!0,ge._xhr=null,ge._requestAbort=!1,ge._contentLength=null,ge._receivedLength=0,ge}return Object(x.a)(z,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),S(Object(y.a)(z.prototype),"destroy",this).call(this)}},{key:"open",value:function(le,ge){this._dataSource=le,this._range=ge;var Ae=le.url;this._config.reuseRedirectedURL&&le.redirectedURL!=null&&(Ae=le.redirectedURL);var Me=this._seekHandler.getConfig(Ae,ge);this._requestURL=Me.url;var Ze=this._xhr=new XMLHttpRequest;if(Ze.open("GET",Me.url,!0),Ze.responseType="moz-chunked-arraybuffer",Ze.onreadystatechange=this._onReadyStateChange.bind(this),Ze.onprogress=this._onProgress.bind(this),Ze.onloadend=this._onLoadEnd.bind(this),Ze.onerror=this._onXhrError.bind(this),le.withCredentials&&(Ze.withCredentials=!0),typeof Me.headers=="object"){var kt=Me.headers;for(var Jt in kt)kt.hasOwnProperty(Jt)&&Ze.setRequestHeader(Jt,kt[Jt])}if(typeof this._config.headers=="object"){var Et=this._config.headers;for(var Ft in Et)Et.hasOwnProperty(Ft)&&Ze.setRequestHeader(Ft,Et[Ft])}this._status=o.kConnecting,Ze.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=o.kComplete}},{key:"_onReadyStateChange",value:function(le){var ge=le.target;if(ge.readyState===2){if(ge.responseURL!=null&&ge.responseURL!==this._requestURL&&this._onURLRedirect){var Ae=this._seekHandler.removeURLParameters(ge.responseURL);this._onURLRedirect(Ae)}if(ge.status!==0&&(ge.status<200||ge.status>299))if(this._status=o.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:ge.status,msg:ge.statusText});else throw new n("MozChunkedLoader: Http code invalid, "+ge.status+" "+ge.statusText);else this._status=o.kBuffering}}},{key:"_onProgress",value:function(le){if(this._status===o.kError)return;this._contentLength===null&&(le.total!==null&&le.total!==0&&(this._contentLength=le.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var ge=le.target.response,Ae=this._range.from+this._receivedLength;this._receivedLength+=ge.byteLength,this._onDataArrival&&this._onDataArrival(ge,Ae,this._receivedLength)}},{key:"_onLoadEnd",value:function(le){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===o.kError)return;this._status=o.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(le){this._status=o.kError;var ge=0,Ae=null;if(this._contentLength&&le.loaded<this._contentLength?(ge=h.EARLY_EOF,Ae={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(ge=h.EXCEPTION,Ae={code:-1,msg:le.constructor.name+" "+le.type}),this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}}]),z}(A),D=N,F=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);Object(x.a)(z,null,[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var le=new XMLHttpRequest;return le.open("GET","https://example.com",!0),le.responseType="ms-stream",le.responseType==="ms-stream"}catch(ge){return i.w("MSStreamLoader",ge.message),!1}}}]);function z($,le){var ge;return Object(d.a)(this,z),ge=ie.call(this,"xhr-msstream-loader"),ge.TAG="MSStreamLoader",ge._seekHandler=$,ge._config=le,ge._needStash=!0,ge._xhr=null,ge._reader=null,ge._totalRange=null,ge._currentRange=null,ge._currentRequestURL=null,ge._currentRedirectedURL=null,ge._contentLength=null,ge._receivedLength=0,ge._bufferLimit=16*1024*1024,ge._lastTimeBufferSize=0,ge._isReconnecting=!1,ge}return Object(x.a)(z,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),S(Object(y.a)(z.prototype),"destroy",this).call(this)}},{key:"open",value:function(le,ge){this._internalOpen(le,ge,!1)}},{key:"_internalOpen",value:function(le,ge,Ae){this._dataSource=le,Ae?this._currentRange=ge:this._totalRange=ge;var Me=le.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Me=this._currentRedirectedURL:le.redirectedURL!=null&&(Me=le.redirectedURL));var Ze=this._seekHandler.getConfig(Me,ge);this._currentRequestURL=Ze.url;var kt=this._reader=new self.MSStreamReader;kt.onprogress=this._msrOnProgress.bind(this),kt.onload=this._msrOnLoad.bind(this),kt.onerror=this._msrOnError.bind(this);var Jt=this._xhr=new XMLHttpRequest;if(Jt.open("GET",Ze.url,!0),Jt.responseType="ms-stream",Jt.onreadystatechange=this._xhrOnReadyStateChange.bind(this),Jt.onerror=this._xhrOnError.bind(this),le.withCredentials&&(Jt.withCredentials=!0),typeof Ze.headers=="object"){var Et=Ze.headers;for(var Ft in Et)Et.hasOwnProperty(Ft)&&Jt.setRequestHeader(Ft,Et[Ft])}if(typeof this._config.headers=="object"){var Kt=this._config.headers;for(var Vt in Kt)Kt.hasOwnProperty(Vt)&&Jt.setRequestHeader(Vt,Kt[Vt])}this._isReconnecting?this._isReconnecting=!1:this._status=o.kConnecting,Jt.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=o.kComplete}},{key:"_internalAbort",value:function(){this._reader&&(this._reader.readyState===1&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}},{key:"_xhrOnReadyStateChange",value:function(le){var ge=le.target;if(ge.readyState===2)if(ge.status>=200&&ge.status<=299){if(this._status=o.kBuffering,ge.responseURL!=null){var Ae=this._seekHandler.removeURLParameters(ge.responseURL);ge.responseURL!==this._currentRequestURL&&Ae!==this._currentRedirectedURL&&(this._currentRedirectedURL=Ae,this._onURLRedirect&&this._onURLRedirect(Ae))}var Me=ge.getResponseHeader("Content-Length");if(Me!=null&&this._contentLength==null){var Ze=parseInt(Me);Ze>0&&(this._contentLength=Ze,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=o.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:ge.status,msg:ge.statusText});else throw new n("MSStreamLoader: Http code invalid, "+ge.status+" "+ge.statusText);else if(ge.readyState===3&&(ge.status>=200&&ge.status<=299)){this._status=o.kBuffering;var kt=ge.response;this._reader.readAsArrayBuffer(kt)}}},{key:"_xhrOnError",value:function(le){this._status=o.kError;var ge=h.EXCEPTION,Ae={code:-1,msg:le.constructor.name+" "+le.type};if(this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}},{key:"_msrOnProgress",value:function(le){var ge=le.target,Ae=ge.result;if(Ae==null){this._doReconnectIfNeeded();return}var Me=Ae.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Ae.byteLength;var Ze=this._totalRange.from+this._receivedLength;this._receivedLength+=Me.byteLength,this._onDataArrival&&this._onDataArrival(Me,Ze,this._receivedLength),Ae.byteLength>=this._bufferLimit&&(i.v(this.TAG,"MSStream buffer exceeded max size near ".concat(Ze+Me.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength<this._contentLength){this._isReconnecting=!0,this._lastTimeBufferSize=0,this._internalAbort();var le={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,le,!0)}}},{key:"_msrOnLoad",value:function(le){this._status=o.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(le){this._status=o.kError;var ge=0,Ae=null;if(this._contentLength&&this._receivedLength<this._contentLength?(ge=h.EARLY_EOF,Ae={code:-1,msg:"MSStream meet Early-Eof"}):(ge=h.EARLY_EOF,Ae={code:-1,msg:le.constructor.name+" "+le.type}),this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}}]),z}(A),R=F,U=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);Object(x.a)(z,null,[{key:"isSupported",value:function(){try{var le=new XMLHttpRequest;return le.open("GET","https://example.com",!0),le.responseType="arraybuffer",le.responseType==="arraybuffer"}catch(ge){return i.w("RangeLoader",ge.message),!1}}}]);function z($,le){var ge;return Object(d.a)(this,z),ge=ie.call(this,"xhr-range-loader"),ge.TAG="RangeLoader",ge._seekHandler=$,ge._config=le,ge._needStash=!1,ge._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],ge._currentChunkSizeKB=384,ge._currentSpeedNormalized=0,ge._zeroSpeedChunkCount=0,ge._xhr=null,ge._speedSampler=new a,ge._requestAbort=!1,ge._waitForTotalLength=!1,ge._totalLengthReceived=!1,ge._currentRequestURL=null,ge._currentRedirectedURL=null,ge._currentRequestRange=null,ge._totalLength=null,ge._contentLength=null,ge._receivedLength=0,ge._lastTimeLoaded=0,ge}return Object(x.a)(z,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),S(Object(y.a)(z.prototype),"destroy",this).call(this)}},{key:"open",value:function(le,ge){this._dataSource=le,this._range=ge,this._status=o.kConnecting;var Ae=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Ae=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Ae?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var le=this._currentChunkSizeKB*1024,ge=this._range.from+this._receivedLength,Ae=ge+le;this._contentLength!=null&&(Ae-this._range.from>=this._contentLength&&(Ae=this._range.from+this._contentLength-1)),this._currentRequestRange={from:ge,to:Ae},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(le,ge){this._lastTimeLoaded=0;var Ae=le.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Ae=this._currentRedirectedURL:le.redirectedURL!=null&&(Ae=le.redirectedURL));var Me=this._seekHandler.getConfig(Ae,ge);this._currentRequestURL=Me.url;var Ze=this._xhr=new XMLHttpRequest;if(Ze.open("GET",Me.url,!0),Ze.responseType="arraybuffer",Ze.onreadystatechange=this._onReadyStateChange.bind(this),Ze.onprogress=this._onProgress.bind(this),Ze.onload=this._onLoad.bind(this),Ze.onerror=this._onXhrError.bind(this),le.withCredentials&&(Ze.withCredentials=!0),typeof Me.headers=="object"){var kt=Me.headers;for(var Jt in kt)kt.hasOwnProperty(Jt)&&Ze.setRequestHeader(Jt,kt[Jt])}if(typeof this._config.headers=="object"){var Et=this._config.headers;for(var Ft in Et)Et.hasOwnProperty(Ft)&&Ze.setRequestHeader(Ft,Et[Ft])}Ze.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=o.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 ge=le.target;if(ge.readyState===2){if(ge.responseURL!=null){var Ae=this._seekHandler.removeURLParameters(ge.responseURL);ge.responseURL!==this._currentRequestURL&&Ae!==this._currentRedirectedURL&&(this._currentRedirectedURL=Ae,this._onURLRedirect&&this._onURLRedirect(Ae))}if(ge.status>=200&&ge.status<=299){if(this._waitForTotalLength)return;this._status=o.kBuffering}else if(this._status=o.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:ge.status,msg:ge.statusText});else throw new n("RangeLoader: Http code invalid, "+ge.status+" "+ge.statusText)}}},{key:"_onProgress",value:function(le){if(this._status===o.kError)return;if(this._contentLength===null){var ge=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,ge=!0;var Ae=le.total;this._internalAbort(),Ae!=null&Ae!==0&&(this._totalLength=Ae)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,ge){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var Me=le.loaded-this._lastTimeLoaded;this._lastTimeLoaded=le.loaded,this._speedSampler.addBytes(Me)}},{key:"_normalizeSpeed",value:function(le){var ge=this._chunkSizeKBList,Ae=ge.length-1,Me=0,Ze=0,kt=Ae;if(le<ge[0])return ge[0];for(;Ze<=kt;){if(Me=Ze+Math.floor((kt-Ze)/2),Me===Ae||le>=ge[Me]&&le<ge[Me+1])return ge[Me];ge[Me]<le?Ze=Me+1:kt=Me-1}}},{key:"_onLoad",value:function(le){if(this._status===o.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var ge=this._speedSampler.lastSecondKBps;if(ge===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(ge=this._speedSampler.currentKBps)),ge!==0){var Ae=this._normalizeSpeed(ge);this._currentSpeedNormalized!==Ae&&(this._currentSpeedNormalized=Ae,this._currentChunkSizeKB=Ae)}var Me=le.target.response,Ze=this._range.from+this._receivedLength;this._receivedLength+=Me.byteLength;var kt=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():kt=!0,this._onDataArrival&&this._onDataArrival(Me,Ze,this._receivedLength),kt&&(this._status=o.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(le){this._status=o.kError;var ge=0,Ae=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(ge=h.EARLY_EOF,Ae={code:-1,msg:"RangeLoader meet Early-Eof"}):(ge=h.EXCEPTION,Ae={code:-1,msg:le.constructor.name+" "+le.type}),this._onError)this._onError(ge,Ae);else throw new n(Ae.msg)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}}]),z}(A),M=U,j=function(ee){Object(s.a)(z,ee);var ie=Object(l.a)(z);Object(x.a)(z,null,[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(le){return!1}}}]);function z(){var $;return Object(d.a)(this,z),$=ie.call(this,"websocket-loader"),$.TAG="WebSocketLoader",$._needStash=!0,$._ws=null,$._requestAbort=!1,$._receivedLength=0,$}return Object(x.a)(z,[{key:"destroy",value:function(){this._ws&&this.abort(),S(Object(y.a)(z.prototype),"destroy",this).call(this)}},{key:"open",value:function(le){try{var ge=this._ws=new self.WebSocket(le.url);ge.binaryType="arraybuffer",ge.onopen=this._onWebSocketOpen.bind(this),ge.onclose=this._onWebSocketClose.bind(this),ge.onmessage=this._onWebSocketMessage.bind(this),ge.onerror=this._onWebSocketError.bind(this),this._status=o.kConnecting}catch(Me){this._status=o.kError;var Ae={code:Me.code,msg:Me.message};if(this._onError)this._onError(h.EXCEPTION,Ae);else throw new n(Ae.msg)}}},{key:"abort",value:function(){var le=this._ws;le&&(le.readyState===0||le.readyState===1)&&(this._requestAbort=!0,le.close()),this._ws=null,this._status=o.kComplete}},{key:"_onWebSocketOpen",value:function(le){this._status=o.kBuffering}},{key:"_onWebSocketClose",value:function(le){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=o.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(le){var ge=this;if(le.data instanceof ArrayBuffer)this._dispatchArrayBuffer(le.data);else if(le.data instanceof Blob){var Ae=new FileReader;Ae.onload=function(){ge._dispatchArrayBuffer(Ae.result)},Ae.readAsArrayBuffer(le.data)}else{this._status=o.kError;var Me={code:-1,msg:"Unsupported WebSocket message type: "+le.data.constructor.name};if(this._onError)this._onError(h.EXCEPTION,Me);else throw new n(Me.msg)}}},{key:"_dispatchArrayBuffer",value:function(le){var ge=le,Ae=this._receivedLength;this._receivedLength+=ge.byteLength,this._onDataArrival&&this._onDataArrival(ge,Ae,this._receivedLength)}},{key:"_onWebSocketError",value:function(le){this._status=o.kError;var ge={code:le.code,msg:le.message};if(this._onError)this._onError(h.EXCEPTION,ge);else throw new n(ge.msg)}}]),z}(A),P=j,K=function(){function ee(ie){Object(d.a)(this,ee),this._zeroStart=ie||!1}return Object(x.a)(ee,[{key:"getConfig",value:function(z,$){var le={};if($.from!==0||$.to!==-1){var ge;$.to!==-1?ge="bytes=".concat($.from.toString(),"-").concat($.to.toString()):ge="bytes=".concat($.from.toString(),"-"),le.Range=ge}else this._zeroStart&&(le.Range="bytes=0-");return{url:z,headers:le}}},{key:"removeURLParameters",value:function(z){return z}}]),ee}(),H=K,_=function(){function ee(ie,z){Object(d.a)(this,ee),this._startName=ie,this._endName=z}return Object(x.a)(ee,[{key:"getConfig",value:function(z,$){var le=z;if($.from!==0||$.to!==-1){var ge=!0;le.indexOf("?")===-1&&(le+="?",ge=!1),ge&&(le+="&"),le+="".concat(this._startName,"=").concat($.from.toString()),$.to!==-1&&(le+="&".concat(this._endName,"=").concat($.to.toString()))}return{url:le,headers:{}}}},{key:"removeURLParameters",value:function(z){var $=z.split("?")[0],le=void 0,ge=z.indexOf("?");ge!==-1&&(le=z.substring(ge+1));var Ae="";if(le!=null&&le.length>0)for(var Me=le.split("&"),Ze=0;Ze<Me.length;Ze++){var kt=Me[Ze].split("="),Jt=Ze>0;kt[0]!==this._startName&&kt[0]!==this._endName&&(Jt&&(Ae+="&"),Ae+=Me[Ze])}return Ae.length===0?$:$+"?"+Ae}}]),ee}(),Z=_,Y=function(){function ee(ie,z,$){Object(d.a)(this,ee),this.TAG="IOController",this._config=z,this._extraData=$,this._stashInitialSize=1024*384,z.stashInitialSize!=null&&z.stashInitialSize>0&&(this._stashInitialSize=z.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,z.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=ie,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(ie.url),this._refTotalLength=ie.filesize?ie.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new a,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)(ee,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"_selectSeekHandler",value:function(){var z=this._config;if(z.seekType==="range")this._seekHandler=new H(this._config.rangeLoadZeroStart);else if(z.seekType==="param"){var $=z.seekParamStart||"bstart",le=z.seekParamEnd||"bend";this._seekHandler=new Z($,le)}else if(z.seekType==="custom"){if(typeof z.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new z.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(z.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=P;else if(L.isSupported())this._loaderClass=L;else if(D.isSupported())this._loaderClass=D;else if(M.isSupported())this._loaderClass=M;else throw new n("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(z){this._currentRange={from:0,to:-1},z&&(this._currentRange.from=z),this._speedSampler.reset(),z||(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 z=this._resumeFrom;this._resumeFrom=0,this._internalSeek(z,!0)}}},{key:"seek",value:function(z){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(z,!0)}},{key:"_internalSeek",value:function(z,$){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer($),this._loader.destroy(),this._loader=null;var le={from:z,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(z){if(!z||typeof z!="string"||z.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=z}},{key:"_expandBuffer",value:function(z){for(var $=this._stashSize;$+1024*1024*1<z;)$*=2;if($+=1024*1024*1,$===this._bufferSize)return;var le=new ArrayBuffer($);if(this._stashUsed>0){var ge=new Uint8Array(this._stashBuffer,0,this._stashUsed),Ae=new Uint8Array(le,0,$);Ae.set(ge,0)}this._stashBuffer=le,this._bufferSize=$}},{key:"_normalizeSpeed",value:function(z){var $=this._speedNormalizeList,le=$.length-1,ge=0,Ae=0,Me=le;if(z<$[0])return $[0];for(;Ae<=Me;){if(ge=Ae+Math.floor((Me-Ae)/2),ge===le||z>=$[ge]&&z<$[ge+1])return $[ge];$[ge]<z?Ae=ge+1:Me=ge-1}}},{key:"_adjustStashSize",value:function(z){var $=0;this._config.isLive||z<512?$=z:z>=512&&z<=1024?$=Math.floor(z*1.5):$=z*2,$>8192&&($=8192);var le=$*1024+1024*1024*1;this._bufferSize<le&&this._expandBuffer(le),this._stashSize=$*1024}},{key:"_dispatchChunks",value:function(z,$){return this._currentRange.to=$+z.byteLength-1,this._onDataArrival(z,$)}},{key:"_onURLRedirect",value:function(z){this._redirectedURL=z,this._onRedirect&&this._onRedirect(z)}},{key:"_onContentLengthKnown",value:function(z){z&&this._fullRequestFlag&&(this._totalLength=z,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(z,$,le){if(!this._onDataArrival)throw new u("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(z.byteLength);var ge=this._speedSampler.lastSecondKBps;if(ge!==0){var Ae=this._normalizeSpeed(ge);this._speedNormalized!==Ae&&(this._speedNormalized=Ae,this._adjustStashSize(Ae))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=$),this._stashUsed+z.byteLength<=this._stashSize){var Kt=new Uint8Array(this._stashBuffer,0,this._stashSize);Kt.set(new Uint8Array(z),this._stashUsed),this._stashUsed+=z.byteLength}else{var Vt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Ot=this._stashBuffer.slice(0,this._stashUsed),ur=this._dispatchChunks(Ot,this._stashByteStart);if(ur<Ot.byteLength){if(ur>0){var Zt=new Uint8Array(Ot,ur);Vt.set(Zt,0),this._stashUsed=Zt.byteLength,this._stashByteStart+=ur}}else this._stashUsed=0,this._stashByteStart+=ur;this._stashUsed+z.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+z.byteLength),Vt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Vt.set(new Uint8Array(z),this._stashUsed),this._stashUsed+=z.byteLength}else{var ze=this._dispatchChunks(z,$);if(ze<z.byteLength){var at=z.byteLength-ze;at>this._bufferSize&&(this._expandBuffer(at),Vt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Vt.set(new Uint8Array(z,ze),0),this._stashUsed+=at,this._stashByteStart=$+ze}}}else if(this._stashUsed===0){var Me=this._dispatchChunks(z,$);if(Me<z.byteLength){var Ze=z.byteLength-Me;Ze>this._bufferSize&&this._expandBuffer(Ze);var kt=new Uint8Array(this._stashBuffer,0,this._bufferSize);kt.set(new Uint8Array(z,Me),0),this._stashUsed+=Ze,this._stashByteStart=$+Me}}else{this._stashUsed+z.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+z.byteLength);var Jt=new Uint8Array(this._stashBuffer,0,this._bufferSize);Jt.set(new Uint8Array(z),this._stashUsed),this._stashUsed+=z.byteLength;var Et=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Et<this._stashUsed&&Et>0){var Ft=new Uint8Array(this._stashBuffer,Et);Jt.set(Ft,0)}this._stashUsed-=Et,this._stashByteStart+=Et}}},{key:"_flushStashBuffer",value:function(z){if(this._stashUsed>0){var $=this._stashBuffer.slice(0,this._stashUsed),le=this._dispatchChunks($,this._stashByteStart),ge=$.byteLength-le;if(le<$.byteLength)if(z)i.w(this.TAG,"".concat(ge," bytes unconsumed data remain when flush buffer, dropped"));else{if(le>0){var Ae=new Uint8Array(this._stashBuffer,0,this._bufferSize),Me=new Uint8Array($,le);Ae.set(Me,0),this._stashUsed=Me.byteLength,this._stashByteStart+=le}return 0}return this._stashUsed=0,this._stashByteStart=0,ge}return 0}},{key:"_onLoaderComplete",value:function(z,$){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(z,$){i.e(this.TAG,"Loader error, code = ".concat($.code,", msg = ").concat($.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,z=h.UNRECOVERABLE_EARLY_EOF);switch(z){case h.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var le=this._currentRange.to+1;le<this._totalLength&&(i.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(le,!1));return}z=h.UNRECOVERABLE_EARLY_EOF;break}case h.UNRECOVERABLE_EARLY_EOF:case h.CONNECTING_TIMEOUT:case h.HTTP_STATUS_CODE_INVALID:case h.EXCEPTION:break}if(this._onError)this._onError(z,$);else throw new n("IOException: "+$.msg)}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(z){this._extraData=z}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(z){this._onDataArrival=z}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(z){this._onSeeked=z}},{key:"onError",get:function(){return this._onError},set:function(z){this._onError=z}},{key:"onComplete",get:function(){return this._onComplete},set:function(z){this._onComplete=z}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(z){this._onRedirect=z}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(z){this._onRecoveredEarlyEof=z}},{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===M?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}}]),ee}(),k=Y,Q={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:3*60,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:3*60,autoCleanupMinBackwardDuration:2*60,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1,headers:void 0,customLoader:void 0};function X(){return Object.assign({},Q)}var he=function(){function ee(){Object(d.a)(this,ee)}return Object(x.a)(ee,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var z=new k({},X()),$=z.loaderType;return z.destroy(),$=="fetch-stream-loader"||$=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var z=new k({},X()),$=z.loaderType;return z.destroy(),$}},{key:"supportNativeMediaPlayback",value:function(z){ee.videoElement==null&&(ee.videoElement=window.document.createElement("video"));var $=ee.videoElement.canPlayType(z);return $==="probably"||$=="maybe"}},{key:"getFeatureList",value:function(){var z={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return z.mseFlvPlayback=ee.supportMSEH264Playback(),z.networkStreamIO=ee.supportNetworkStreamIO(),z.networkLoaderName=ee.getNetworkLoaderTypeName(),z.mseLiveFlvPlayback=z.mseFlvPlayback&&z.networkStreamIO,z.nativeMP4H264Playback=ee.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),z.nativeWebmVP8Playback=ee.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),z.nativeWebmVP9Playback=ee.supportNativeMediaPlayback('video/webm; codecs="vp9"'),z}}]),ee}(),te=he,pe={ERROR:"error",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info"},Se=pe,we=function(){function ee(){Object(d.a)(this,ee)}return Object(x.a)(ee,null,[{key:"getConfig",value:function(){return{globalTag:i.GLOBAL_TAG,forceGlobalTag:i.FORCE_GLOBAL_TAG,enableVerbose:i.ENABLE_VERBOSE,enableDebug:i.ENABLE_DEBUG,enableInfo:i.ENABLE_INFO,enableWarn:i.ENABLE_WARN,enableError:i.ENABLE_ERROR,enableCallback:i.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(z){i.GLOBAL_TAG=z.globalTag,i.FORCE_GLOBAL_TAG=z.forceGlobalTag,i.ENABLE_VERBOSE=z.enableVerbose,i.ENABLE_DEBUG=z.enableDebug,i.ENABLE_INFO=z.enableInfo,i.ENABLE_WARN=z.enableWarn,i.ENABLE_ERROR=z.enableError,i.ENABLE_CALLBACK=z.enableCallback}},{key:"_notifyChange",value:function(){var z=ee.emitter;if(z.listenerCount("change")>0){var $=ee.getConfig();z.emit("change",$)}}},{key:"registerListener",value:function(z){ee.emitter.addListener("change",z)}},{key:"removeListener",value:function(z){ee.emitter.removeListener("change",z)}},{key:"addLogListener",value:function(z){i.emitter.addListener("log",z),i.emitter.listenerCount("log")>0&&(i.ENABLE_CALLBACK=!0,ee._notifyChange())}},{key:"removeLogListener",value:function(z){i.emitter.removeListener("log",z),i.emitter.listenerCount("log")===0&&(i.ENABLE_CALLBACK=!1,ee._notifyChange())}},{key:"forceGlobalTag",get:function(){return i.FORCE_GLOBAL_TAG},set:function(z){i.FORCE_GLOBAL_TAG=z,ee._notifyChange()}},{key:"globalTag",get:function(){return i.GLOBAL_TAG},set:function(z){i.GLOBAL_TAG=z,ee._notifyChange()}},{key:"enableAll",get:function(){return i.ENABLE_VERBOSE&&i.ENABLE_DEBUG&&i.ENABLE_INFO&&i.ENABLE_WARN&&i.ENABLE_ERROR},set:function(z){i.ENABLE_VERBOSE=z,i.ENABLE_DEBUG=z,i.ENABLE_INFO=z,i.ENABLE_WARN=z,i.ENABLE_ERROR=z,ee._notifyChange()}},{key:"enableDebug",get:function(){return i.ENABLE_DEBUG},set:function(z){i.ENABLE_DEBUG=z,ee._notifyChange()}},{key:"enableVerbose",get:function(){return i.ENABLE_VERBOSE},set:function(z){i.ENABLE_VERBOSE=z,ee._notifyChange()}},{key:"enableInfo",get:function(){return i.ENABLE_INFO},set:function(z){i.ENABLE_INFO=z,ee._notifyChange()}},{key:"enableWarn",get:function(){return i.ENABLE_WARN},set:function(z){i.ENABLE_WARN=z,ee._notifyChange()}},{key:"enableError",get:function(){return i.ENABLE_ERROR},set:function(z){i.ENABLE_ERROR=z,ee._notifyChange()}}]),ee}();we.emitter=new b.a;var We=we,qe=function(){function ee(){Object(d.a)(this,ee),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(x.a)(ee,[{key:"isComplete",value:function(){var z=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,$=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&z&&$}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(z){if(this.keyframesIndex==null)return null;var $=this.keyframesIndex,le=this._search($.times,z);return{index:le,milliseconds:$.times[le],fileposition:$.filepositions[le]}}},{key:"_search",value:function(z,$){var le=0,ge=z.length-1,Ae=0,Me=0,Ze=ge;for($<z[0]&&(le=0,Me=Ze+1);Me<=Ze;)if(Ae=Me+Math.floor((Ze-Me)/2),Ae===ge||$>=z[Ae]&&$<z[Ae+1]){le=Ae;break}else z[Ae]<$?Me=Ae+1:Ze=Ae-1;return le}}]),ee}(),yt=qe;function _e(ee,ie,z){var $=ee;if(ie+z<$.length){for(;z--;)if(($[++ie]&192)!==128)return!1;return!0}else return!1}function je(ee){for(var ie=[],z=ee,$=0,le=ee.length;$<le;){if(z[$]<128){ie.push(String.fromCharCode(z[$])),++$;continue}else if(!(z[$]<192)){if(z[$]<224){if(_e(z,$,1)){var ge=(z[$]&31)<<6|z[$+1]&63;if(ge>=128){ie.push(String.fromCharCode(ge&65535)),$+=2;continue}}}else if(z[$]<240){if(_e(z,$,2)){var Ae=(z[$]&15)<<12|(z[$+1]&63)<<6|z[$+2]&63;if(Ae>=2048&&(Ae&63488)!==55296){ie.push(String.fromCharCode(Ae&65535)),$+=3;continue}}}else if(z[$]<248&&_e(z,$,3)){var Me=(z[$]&7)<<18|(z[$+1]&63)<<12|(z[$+2]&63)<<6|z[$+3]&63;if(Me>65536&&Me<1114112){Me-=65536,ie.push(String.fromCharCode(Me>>>10|55296)),ie.push(String.fromCharCode(Me&1023|56320)),$+=4;continue}}}ie.push(String.fromCharCode(65533)),++$}return ie.join("")}var Ct=je,ct=function(){var ee=new ArrayBuffer(2);return new DataView(ee).setInt16(0,256,!0),new Int16Array(ee)[0]===256}(),nt=function(){function ee(){Object(d.a)(this,ee)}return Object(x.a)(ee,null,[{key:"parseScriptData",value:function(z,$,le){var ge={};try{var Ae=ee.parseValue(z,$,le),Me=ee.parseValue(z,$+Ae.size,le-Ae.size);ge[Ae.data]=Me.data}catch(Ze){i.e("AMF",Ze.toString())}return ge}},{key:"parseObject",value:function(z,$,le){if(le<3)throw new u("Data not enough when parse ScriptDataObject");var ge=ee.parseString(z,$,le),Ae=ee.parseValue(z,$+ge.size,le-ge.size),Me=Ae.objectEnd;return{data:{name:ge.data,value:Ae.data},size:ge.size+Ae.size,objectEnd:Me}}},{key:"parseVariable",value:function(z,$,le){return ee.parseObject(z,$,le)}},{key:"parseString",value:function(z,$,le){if(le<2)throw new u("Data not enough when parse String");var ge=new DataView(z,$,le),Ae=ge.getUint16(0,!ct),Me;return Ae>0?Me=Ct(new Uint8Array(z,$+2,Ae)):Me="",{data:Me,size:2+Ae}}},{key:"parseLongString",value:function(z,$,le){if(le<4)throw new u("Data not enough when parse LongString");var ge=new DataView(z,$,le),Ae=ge.getUint32(0,!ct),Me;return Ae>0?Me=Ct(new Uint8Array(z,$+4,Ae)):Me="",{data:Me,size:4+Ae}}},{key:"parseDate",value:function(z,$,le){if(le<10)throw new u("Data size invalid when parse Date");var ge=new DataView(z,$,le),Ae=ge.getFloat64(0,!ct),Me=ge.getInt16(8,!ct);return Ae+=Me*60*1e3,{data:new Date(Ae),size:8+2}}},{key:"parseValue",value:function(z,$,le){if(le<1)throw new u("Data not enough when parse Value");var ge=new DataView(z,$,le),Ae=1,Me=ge.getUint8(0),Ze,kt=!1;try{switch(Me){case 0:Ze=ge.getFloat64(1,!ct),Ae+=8;break;case 1:{var Jt=ge.getUint8(1);Ze=!!Jt,Ae+=1;break}case 2:{var Et=ee.parseString(z,$+1,le-1);Ze=Et.data,Ae+=Et.size;break}case 3:{Ze={};var Ft=0;for((ge.getUint32(le-4,!ct)&16777215)===9&&(Ft=3);Ae<le-4;){var Kt=ee.parseObject(z,$+Ae,le-Ae-Ft);if(Kt.objectEnd)break;Ze[Kt.data.name]=Kt.data.value,Ae+=Kt.size}if(Ae<=le-3){var Vt=ge.getUint32(Ae-1,!ct)&16777215;Vt===9&&(Ae+=3)}break}case 8:{Ze={},Ae+=4;var Ot=0;for((ge.getUint32(le-4,!ct)&16777215)===9&&(Ot=3);Ae<le-8;){var ur=ee.parseVariable(z,$+Ae,le-Ae-Ot);if(ur.objectEnd)break;Ze[ur.data.name]=ur.data.value,Ae+=ur.size}if(Ae<=le-3){var Zt=ge.getUint32(Ae-1,!ct)&16777215;Zt===9&&(Ae+=3)}break}case 9:Ze=void 0,Ae=1,kt=!0;break;case 10:{Ze=[];var ze=ge.getUint32(1,!ct);Ae+=4;for(var at=0;at<ze;at++){var Ve=ee.parseValue(z,$+Ae,le-Ae);Ze.push(Ve.data),Ae+=Ve.size}break}case 11:{var Xe=ee.parseDate(z,$+1,le-1);Ze=Xe.data,Ae+=Xe.size;break}case 12:{var gt=ee.parseString(z,$+1,le-1);Ze=gt.data,Ae+=gt.size;break}default:Ae=le,i.w("AMF","Unsupported AMF value type "+Me)}}catch(ft){i.e("AMF",ft.toString())}return{data:Ze,size:Ae,objectEnd:kt}}}]),ee}(),bt=nt,dt=function(){function ee(ie){Object(d.a)(this,ee),this.TAG="ExpGolomb",this._buffer=ie,this._buffer_index=0,this._total_bytes=ie.byteLength,this._total_bits=ie.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(x.a)(ee,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var z=this._total_bytes-this._buffer_index;if(z<=0)throw new u("ExpGolomb: _fillCurrentWord() but no bytes available");var $=Math.min(4,z),le=new Uint8Array(4);le.set(this._buffer.subarray(this._buffer_index,this._buffer_index+$)),this._current_word=new DataView(le.buffer).getUint32(0,!1),this._buffer_index+=$,this._current_word_bits_left=$*8}},{key:"readBits",value:function(z){if(z>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(z<=this._current_word_bits_left){var $=this._current_word>>>32-z;return this._current_word<<=z,this._current_word_bits_left-=z,$}var le=this._current_word_bits_left?this._current_word:0;le=le>>>32-this._current_word_bits_left;var ge=z-this._current_word_bits_left;this._fillCurrentWord();var Ae=Math.min(ge,this._current_word_bits_left),Me=this._current_word>>>32-Ae;return this._current_word<<=Ae,this._current_word_bits_left-=Ae,le=le<<Ae|Me,le}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var z;for(z=0;z<this._current_word_bits_left;z++)if((this._current_word&2147483648>>>z)!==0)return this._current_word<<=z,this._current_word_bits_left-=z,z;return this._fillCurrentWord(),z+this._skipLeadingZero()}},{key:"readUEG",value:function(){var z=this._skipLeadingZero();return this.readBits(z+1)-1}},{key:"readSEG",value:function(){var z=this.readUEG();return z&1?z+1>>>1:-1*(z>>>1)}}]),ee}(),vt=dt,Qe=function(){function ee(){Object(d.a)(this,ee)}return Object(x.a)(ee,null,[{key:"_ebsp2rbsp",value:function(z){for(var $=z,le=$.byteLength,ge=new Uint8Array(le),Ae=0,Me=0;Me<le;Me++){if(Me>=2&&($[Me]===3&&$[Me-1]===0&&$[Me-2]===0))continue;ge[Ae]=$[Me],Ae++}return new Uint8Array(ge.buffer,0,Ae)}},{key:"parseSPS",value:function(z){var $=ee._ebsp2rbsp(z),le=new vt($);le.readByte();var ge=le.readByte();le.readByte();var Ae=le.readByte();le.readUEG();var Me=ee.getProfileString(ge),Ze=ee.getLevelString(Ae),kt=1,Jt=420,Et=[0,420,422,444],Ft=8;if((ge===100||ge===110||ge===122||ge===244||ge===44||ge===83||ge===86||ge===118||ge===128||ge===138||ge===144)&&(kt=le.readUEG(),kt===3&&le.readBits(1),kt<=3&&(Jt=Et[kt]),Ft=le.readUEG()+8,le.readUEG(),le.readBits(1),le.readBool()))for(var Kt=kt!==3?8:12,Vt=0;Vt<Kt;Vt++)le.readBool()&&(Vt<6?ee._skipScalingList(le,16):ee._skipScalingList(le,64));le.readUEG();var Ot=le.readUEG();if(Ot===0)le.readUEG();else if(Ot===1){le.readBits(1),le.readSEG(),le.readSEG();for(var ur=le.readUEG(),Zt=0;Zt<ur;Zt++)le.readSEG()}var ze=le.readUEG();le.readBits(1);var at=le.readUEG(),Ve=le.readUEG(),Xe=le.readBits(1);Xe===0&&le.readBits(1),le.readBits(1);var gt=0,ft=0,Ge=0,Mt=0,It=le.readBool();It&&(gt=le.readUEG(),ft=le.readUEG(),Ge=le.readUEG(),Mt=le.readUEG());var rr=1,Ht=1,pr=0,Ar=!0,Nr=0,Fr=0,tn=le.readBool();if(tn){if(le.readBool()){var Jr=le.readByte(),Lr=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Xr=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Jr>0&&Jr<16?(rr=Lr[Jr-1],Ht=Xr[Jr-1]):Jr===255&&(rr=le.readByte()<<8|le.readByte(),Ht=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 Tr=le.readBits(32),lr=le.readBits(32);Ar=le.readBool(),Nr=lr,Fr=Tr*2,pr=Nr/Fr}}var fr=1;(rr!==1||Ht!==1)&&(fr=rr/Ht);var sr=0,dr=0;if(kt===0)sr=1,dr=2-Xe;else{var Sr=kt===3?1:2,Qr=kt===1?2:1;sr=Sr,dr=Qr*(2-Xe)}var cn=(at+1)*16,Dn=(2-Xe)*((Ve+1)*16);cn-=(gt+ft)*sr,Dn-=(Ge+Mt)*dr;var jr=Math.ceil(cn*fr);return le.destroy(),le=null,{profile_string:Me,level_string:Ze,bit_depth:Ft,ref_frames:ze,chroma_format:Jt,chroma_format_string:ee.getChromaFormatString(Jt),frame_rate:{fixed:Ar,fps:pr,fps_den:Fr,fps_num:Nr},sar_ratio:{width:rr,height:Ht},codec_size:{width:cn,height:Dn},present_size:{width:jr,height:Dn}}}},{key:"_skipScalingList",value:function(z,$){for(var le=8,ge=8,Ae=0,Me=0;Me<$;Me++)ge!==0&&(Ae=z.readSEG(),ge=(le+Ae+256)%256),le=ge===0?le:ge}},{key:"getProfileString",value:function(z){switch(z){case 66:return"Baseline";case 77:return"Main";case 88:return"Extended";case 100:return"High";case 110:return"High10";case 122:return"High422";case 244:return"High444";default:return"Unknown"}}},{key:"getLevelString",value:function(z){return(z/10).toFixed(1)}},{key:"getChromaFormatString",value:function(z){switch(z){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),ee}(),mt=Qe,Pe={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},De=Pe;function Ie(ee){return ee>>>8&255|(ee&255)<<8}function ot(ee){return(ee&4278190080)>>>24|(ee&16711680)>>>8|(ee&65280)<<8|(ee&255)<<24}function wt(ee,ie){return ee[ie]<<24|ee[ie+1]<<16|ee[ie+2]<<8|ee[ie+3]}var Bt=function(){function ee(ie,z){Object(d.a)(this,ee),this.TAG="FLVDemuxer",this._config=z,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=ie.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=ie.hasAudioTrack,this._hasVideo=ie.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new yt,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var $=new ArrayBuffer(2);return new DataView($).setInt16(0,256,!0),new Int16Array($)[0]===256}()}return Object(x.a)(ee,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}},{key:"bindDataSource",value:function(z){return z.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new yt}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}},{key:"parseChunks",value:function(z,$){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new u("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var le=0,ge=this._littleEndian;if($===0)if(z.byteLength>13){var Ae=ee.probe(z);le=Ae.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,$+le!==this._dataOffset&&i.w(this.TAG,"First time parsing but chunk byteStart invalid!");var Me=new DataView(z,le),Ze=Me.getUint32(0,!ge);Ze!==0&&i.w(this.TAG,"PrevTagSize0 !== 0 !!!"),le+=4}for(;le<z.byteLength;){this._dispatch=!0;var kt=new DataView(z,le);if(le+11+4>z.byteLength)break;var Jt=kt.getUint8(0),Et=kt.getUint32(0,!ge)&16777215;if(le+11+Et+4>z.byteLength)break;if(Jt!==8&&Jt!==9&&Jt!==18){i.w(this.TAG,"Unsupported tag type ".concat(Jt,", skipped")),le+=11+Et+4;continue}var Ft=kt.getUint8(4),Kt=kt.getUint8(5),Vt=kt.getUint8(6),Ot=kt.getUint8(7),ur=Vt|Kt<<8|Ft<<16|Ot<<24,Zt=kt.getUint32(7,!ge)&16777215;Zt!==0&&i.w(this.TAG,"Meet tag which has StreamID != 0!");var ze=le+11;switch(Jt){case 8:this._parseAudioData(z,ze,Et,ur);break;case 9:this._parseVideoData(z,ze,Et,ur,$+le);break;case 18:this._parseScriptData(z,ze,Et);break}var at=kt.getUint32(11+Et,!ge);at!==11+Et&&i.w(this.TAG,"Invalid PrevTagSize ".concat(at)),le+=11+Et+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),le}},{key:"_parseScriptData",value:function(z,$,le){var ge=bt.parseScriptData(z,$,le);if(ge.hasOwnProperty("onMetaData")){if(ge.onMetaData==null||typeof ge.onMetaData!="object"){i.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&i.w(this.TAG,"Found another onMetaData tag!"),this._metadata=ge;var Ae=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Ae)),typeof Ae.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Ae.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Ae.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Ae.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Ae.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Ae.audiodatarate),typeof Ae.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Ae.videodatarate),typeof Ae.width=="number"&&(this._mediaInfo.width=Ae.width),typeof Ae.height=="number"&&(this._mediaInfo.height=Ae.height),typeof Ae.duration=="number"){if(!this._durationOverrided){var Me=Math.floor(Ae.duration*this._timescale);this._duration=Me,this._mediaInfo.duration=Me}}else this._mediaInfo.duration=0;if(typeof Ae.framerate=="number"){var Ze=Math.floor(Ae.framerate*1e3);if(Ze>0){var kt=Ze/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=kt,this._referenceFrameRate.fps_num=Ze,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=kt}}if(typeof Ae.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var Jt=Ae.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Jt),Ae.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Ae,i.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(ge).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},ge)))}},{key:"_parseKeyframesIndex",value:function(z){for(var $=[],le=[],ge=1;ge<z.times.length;ge++){var Ae=this._timestampBase+Math.floor(z.times[ge]*1e3);$.push(Ae),le.push(z.filepositions[ge])}return{times:$,filepositions:le}}},{key:"_parseAudioData",value:function(z,$,le,ge){if(le<=1){i.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Ae=this._littleEndian,Me=new DataView(z,$,le),Ze=Me.getUint8(0),kt=Ze>>>4;if(kt!==2&&kt!==10){this._onError(De.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+kt);return}var Jt=0,Et=(Ze&12)>>>2;if(Et>=0&&Et<=4)Jt=this._flvSoundRateTable[Et];else{this._onError(De.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Et);return}var Ft=(Ze&2)>>>1,Kt=Ze&1,Vt=this._audioMetadata,Ot=this._audioTrack;if(Vt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Vt=this._audioMetadata={},Vt.type="audio",Vt.id=Ot.id,Vt.timescale=this._timescale,Vt.duration=this._duration,Vt.audioSampleRate=Jt,Vt.channelCount=Kt===0?1:2),kt===10){var ur=this._parseAACAudioData(z,$+1,le-1);if(ur==null)return;if(ur.packetType===0){Vt.config&&i.w(this.TAG,"Found another AudioSpecificConfig!");var Zt=ur.data;Vt.audioSampleRate=Zt.samplingRate,Vt.channelCount=Zt.channelCount,Vt.codec=Zt.codec,Vt.originalCodec=Zt.originalCodec,Vt.config=Zt.config,Vt.refSampleDuration=1024/Vt.audioSampleRate*Vt.timescale,i.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",Vt);var ze=this._mediaInfo;ze.audioCodec=Vt.originalCodec,ze.audioSampleRate=Vt.audioSampleRate,ze.audioChannelCount=Vt.channelCount,ze.hasVideo?ze.videoCodec!=null&&(ze.mimeType='video/x-flv; codecs="'+ze.videoCodec+","+ze.audioCodec+'"'):ze.mimeType='video/x-flv; codecs="'+ze.audioCodec+'"',ze.isComplete()&&this._onMediaInfo(ze)}else if(ur.packetType===1){var at=this._timestampBase+ge,Ve={unit:ur.data,length:ur.data.byteLength,dts:at,pts:at};Ot.samples.push(Ve),Ot.length+=ur.data.length}else i.e(this.TAG,"Flv: Unsupported AAC data type ".concat(ur.packetType))}else if(kt===2){if(!Vt.codec){var Xe=this._parseMP3AudioData(z,$+1,le-1,!0);if(Xe==null)return;Vt.audioSampleRate=Xe.samplingRate,Vt.channelCount=Xe.channelCount,Vt.codec=Xe.codec,Vt.originalCodec=Xe.originalCodec,Vt.refSampleDuration=1152/Vt.audioSampleRate*Vt.timescale,i.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Vt);var gt=this._mediaInfo;gt.audioCodec=Vt.codec,gt.audioSampleRate=Vt.audioSampleRate,gt.audioChannelCount=Vt.channelCount,gt.audioDataRate=Xe.bitRate,gt.hasVideo?gt.videoCodec!=null&&(gt.mimeType='video/x-flv; codecs="'+gt.videoCodec+","+gt.audioCodec+'"'):gt.mimeType='video/x-flv; codecs="'+gt.audioCodec+'"',gt.isComplete()&&this._onMediaInfo(gt)}var ft=this._parseMP3AudioData(z,$+1,le-1,!1);if(ft==null)return;var Ge=this._timestampBase+ge,Mt={unit:ft,length:ft.byteLength,dts:Ge,pts:Ge};Ot.samples.push(Mt),Ot.length+=ft.length}}},{key:"_parseAACAudioData",value:function(z,$,le){if(le<=1){i.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var ge={},Ae=new Uint8Array(z,$,le);return ge.packetType=Ae[0],Ae[0]===0?ge.data=this._parseAACAudioSpecificConfig(z,$+1,le-1):ge.data=Ae.subarray(1),ge}},{key:"_parseAACAudioSpecificConfig",value:function(z,$,le){var ge=new Uint8Array(z,$,le),Ae=null,Me=0,Ze=0,kt=null,Jt=0,Et=null;if(Me=Ze=ge[0]>>>3,Jt=(ge[0]&7)<<1|ge[1]>>>7,Jt<0||Jt>=this._mpegSamplingRates.length){this._onError(De.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Ft=this._mpegSamplingRates[Jt],Kt=(ge[1]&120)>>>3;if(Kt<0||Kt>=8){this._onError(De.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Me===5&&(Et=(ge[1]&7)<<1|ge[2]>>>7,kt=(ge[2]&124)>>>2);var Vt=self.navigator.userAgent.toLowerCase();return Vt.indexOf("firefox")!==-1?Jt>=6?(Me=5,Ae=new Array(4),Et=Jt-3):(Me=2,Ae=new Array(2),Et=Jt):Vt.indexOf("android")!==-1?(Me=2,Ae=new Array(2),Et=Jt):(Me=5,Et=Jt,Ae=new Array(4),Jt>=6?Et=Jt-3:Kt===1&&(Me=2,Ae=new Array(2),Et=Jt)),Ae[0]=Me<<3,Ae[0]|=(Jt&15)>>>1,Ae[1]=(Jt&15)<<7,Ae[1]|=(Kt&15)<<3,Me===5&&(Ae[1]|=(Et&15)>>>1,Ae[2]=(Et&1)<<7,Ae[2]|=2<<2,Ae[3]=0),{config:Ae,samplingRate:Ft,channelCount:Kt,codec:"mp4a.40."+Me,originalCodec:"mp4a.40."+Ze}}},{key:"_parseMP3AudioData",value:function(z,$,le,ge){if(le<4){i.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Ae=this._littleEndian,Me=new Uint8Array(z,$,le),Ze=null;if(ge){if(Me[0]!==255)return;var kt=Me[1]>>>3&3,Jt=(Me[1]&6)>>1,Et=(Me[2]&240)>>>4,Ft=(Me[2]&12)>>>2,Kt=Me[3]>>>6&3,Vt=Kt!==3?2:1,Ot=0,ur=0,Zt=34,ze="mp3";switch(kt){case 0:Ot=this._mpegAudioV25SampleRateTable[Ft];break;case 2:Ot=this._mpegAudioV20SampleRateTable[Ft];break;case 3:Ot=this._mpegAudioV10SampleRateTable[Ft];break}switch(Jt){case 1:Zt=34,Et<this._mpegAudioL3BitRateTable.length&&(ur=this._mpegAudioL3BitRateTable[Et]);break;case 2:Zt=33,Et<this._mpegAudioL2BitRateTable.length&&(ur=this._mpegAudioL2BitRateTable[Et]);break;case 3:Zt=32,Et<this._mpegAudioL1BitRateTable.length&&(ur=this._mpegAudioL1BitRateTable[Et]);break}Ze={bitRate:ur,samplingRate:Ot,channelCount:Vt,codec:ze,originalCodec:ze}}else Ze=Me;return Ze}},{key:"_parseVideoData",value:function(z,$,le,ge,Ae){if(le<=1){i.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var Me=new Uint8Array(z,$,le)[0],Ze=(Me&240)>>>4,kt=Me&15;if(kt!==7){this._onError(De.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(kt));return}this._parseAVCVideoPacket(z,$+1,le-1,ge,Ae,Ze)}},{key:"_parseAVCVideoPacket",value:function(z,$,le,ge,Ae,Me){if(le<4){i.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var Ze=this._littleEndian,kt=new DataView(z,$,le),Jt=kt.getUint8(0),Et=kt.getUint32(0,!Ze)&16777215,Ft=Et<<8>>8;if(Jt===0)this._parseAVCDecoderConfigurationRecord(z,$+4,le-4);else if(Jt===1)this._parseAVCVideoData(z,$+4,le-4,ge,Ae,Me,Ft);else if(!(Jt===2)){this._onError(De.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(Jt));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(z,$,le){if(le<7){i.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var ge=this._videoMetadata,Ae=this._videoTrack,Me=this._littleEndian,Ze=new DataView(z,$,le);ge?typeof ge.avcc!="undefined"&&i.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),ge=this._videoMetadata={},ge.type="video",ge.id=Ae.id,ge.timescale=this._timescale,ge.duration=this._duration);var kt=Ze.getUint8(0),Jt=Ze.getUint8(1),Et=Ze.getUint8(2),Ft=Ze.getUint8(3);if(kt!==1||Jt===0){this._onError(De.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(Ze.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(De.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Kt=Ze.getUint8(5)&31;if(Kt===0){this._onError(De.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Kt>1&&i.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Kt));for(var Vt=6,Ot=0;Ot<Kt;Ot++){var ur=Ze.getUint16(Vt,!Me);if(Vt+=2,ur===0)continue;var Zt=new Uint8Array(z,$+Vt,ur);Vt+=ur;var ze=mt.parseSPS(Zt);if(Ot!==0)continue;ge.codecWidth=ze.codec_size.width,ge.codecHeight=ze.codec_size.height,ge.presentWidth=ze.present_size.width,ge.presentHeight=ze.present_size.height,ge.profile=ze.profile_string,ge.level=ze.level_string,ge.bitDepth=ze.bit_depth,ge.chromaFormat=ze.chroma_format,ge.sarRatio=ze.sar_ratio,ge.frameRate=ze.frame_rate,(ze.frame_rate.fixed===!1||ze.frame_rate.fps_num===0||ze.frame_rate.fps_den===0)&&(ge.frameRate=this._referenceFrameRate);var at=ge.frameRate.fps_den,Ve=ge.frameRate.fps_num;ge.refSampleDuration=ge.timescale*(at/Ve);for(var Xe=Zt.subarray(1,4),gt="avc1.",ft=0;ft<3;ft++){var Ge=Xe[ft].toString(16);Ge.length<2&&(Ge="0"+Ge),gt+=Ge}ge.codec=gt;var Mt=this._mediaInfo;Mt.width=ge.codecWidth,Mt.height=ge.codecHeight,Mt.fps=ge.frameRate.fps,Mt.profile=ge.profile,Mt.level=ge.level,Mt.refFrames=ze.ref_frames,Mt.chromaFormat=ze.chroma_format_string,Mt.sarNum=ge.sarRatio.width,Mt.sarDen=ge.sarRatio.height,Mt.videoCodec=gt,Mt.hasAudio?Mt.audioCodec!=null&&(Mt.mimeType='video/x-flv; codecs="'+Mt.videoCodec+","+Mt.audioCodec+'"'):Mt.mimeType='video/x-flv; codecs="'+Mt.videoCodec+'"',Mt.isComplete()&&this._onMediaInfo(Mt)}var It=Ze.getUint8(Vt);if(It===0){this._onError(De.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else It>1&&i.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(It));Vt++;for(var rr=0;rr<It;rr++){var Ht=Ze.getUint16(Vt,!Me);if(Vt+=2,Ht===0)continue;Vt+=Ht}ge.avcc=new Uint8Array(le),ge.avcc.set(new Uint8Array(z,$,le),0),i.v(this.TAG,"Parsed AVCDecoderConfigurationRecord"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._videoInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("video",ge)}},{key:"_parseAVCVideoData",value:function(z,$,le,ge,Ae,Me,Ze){for(var kt=this._littleEndian,Jt=new DataView(z,$,le),Et=[],Ft=0,Kt=0,Vt=this._naluLengthSize,Ot=this._timestampBase+ge,ur=Me===1;Kt<le;){if(Kt+4>=le){i.w(this.TAG,"Malformed Nalu near timestamp ".concat(Ot,", offset = ").concat(Kt,", dataSize = ").concat(le));break}var Zt=Jt.getUint32(Kt,!kt);if(Vt===3&&(Zt>>>=8),Zt>le-Vt){i.w(this.TAG,"Malformed Nalus near timestamp ".concat(Ot,", NaluSize > DataSize!"));return}var ze=Jt.getUint8(Kt+Vt)&31;ze===5&&(ur=!0);var at=new Uint8Array(z,$+Kt,Vt+Zt),Ve={type:ze,data:at};Et.push(Ve),Ft+=at.byteLength,Kt+=Vt+Zt}if(Et.length){var Xe=this._videoTrack,gt={units:Et,length:Ft,isKeyframe:ur,dts:Ot,cts:Ze,pts:Ot+Ze};ur&&(gt.fileposition=Ae),Xe.samples.push(gt),Xe.length+=Ft}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(z){this._onTrackMetadata=z}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(z){this._onMediaInfo=z}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(z){this._onMetaDataArrived=z}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(z){this._onScriptDataArrived=z}},{key:"onError",get:function(){return this._onError},set:function(z){this._onError=z}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(z){this._onDataAvailable=z}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(z){this._timestampBase=z}},{key:"overridedDuration",get:function(){return this._duration},set:function(z){this._durationOverrided=!0,this._duration=z,this._mediaInfo.duration=z}},{key:"overridedHasAudio",set:function(z){this._hasAudioFlagOverrided=!0,this._hasAudio=z,this._mediaInfo.hasAudio=z}},{key:"overridedHasVideo",set:function(z){this._hasVideoFlagOverrided=!0,this._hasVideo=z,this._mediaInfo.hasVideo=z}}],[{key:"probe",value:function(z){var $=new Uint8Array(z),le={match:!1};if($[0]!==70||$[1]!==76||$[2]!==86||$[3]!==1)return le;var ge=($[4]&4)>>>2!==0,Ae=($[4]&1)!==0,Me=wt($,5);return Me<9?le:{match:!0,consumed:Me,dataOffset:Me,hasAudioTrack:ge,hasVideoTrack:Ae}}}]),ee}(),_t=Bt,Ue=function(){function ee(){Object(d.a)(this,ee)}return Object(x.a)(ee,null,[{key:"init",value:function(){ee.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(var z in ee.types)ee.types.hasOwnProperty(z)&&(ee.types[z]=[z.charCodeAt(0),z.charCodeAt(1),z.charCodeAt(2),z.charCodeAt(3)]);var $=ee.constants={};$.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),$.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),$.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),$.STSC=$.STCO=$.STTS,$.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),$.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),$.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),$.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),$.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),$.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(z){for(var $=8,le=null,ge=Array.prototype.slice.call(arguments,1),Ae=ge.length,Me=0;Me<Ae;Me++)$+=ge[Me].byteLength;le=new Uint8Array($),le[0]=$>>>24&255,le[1]=$>>>16&255,le[2]=$>>>8&255,le[3]=$&255,le.set(z,4);for(var Ze=8,kt=0;kt<Ae;kt++)le.set(ge[kt],Ze),Ze+=ge[kt].byteLength;return le}},{key:"generateInitSegment",value:function(z){var $=ee.box(ee.types.ftyp,ee.constants.FTYP),le=ee.moov(z),ge=new Uint8Array($.byteLength+le.byteLength);return ge.set($,0),ge.set(le,$.byteLength),ge}},{key:"moov",value:function(z){var $=ee.mvhd(z.timescale,z.duration),le=ee.trak(z),ge=ee.mvex(z);return ee.box(ee.types.moov,$,le,ge)}},{key:"mvhd",value:function(z,$){return ee.box(ee.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255,$>>>24&255,$>>>16&255,$>>>8&255,$&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}},{key:"trak",value:function(z){return ee.box(ee.types.trak,ee.tkhd(z),ee.mdia(z))}},{key:"tkhd",value:function(z){var $=z.id,le=z.duration,ge=z.presentWidth,Ae=z.presentHeight;return ee.box(ee.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255,0,0,0,0,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,ge>>>8&255,ge&255,0,0,Ae>>>8&255,Ae&255,0,0]))}},{key:"mdia",value:function(z){return ee.box(ee.types.mdia,ee.mdhd(z),ee.hdlr(z),ee.minf(z))}},{key:"mdhd",value:function(z){var $=z.timescale,le=z.duration;return ee.box(ee.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255,le>>>24&255,le>>>16&255,le>>>8&255,le&255,85,196,0,0]))}},{key:"hdlr",value:function(z){var $=null;return z.type==="audio"?$=ee.constants.HDLR_AUDIO:$=ee.constants.HDLR_VIDEO,ee.box(ee.types.hdlr,$)}},{key:"minf",value:function(z){var $=null;return z.type==="audio"?$=ee.box(ee.types.smhd,ee.constants.SMHD):$=ee.box(ee.types.vmhd,ee.constants.VMHD),ee.box(ee.types.minf,$,ee.dinf(),ee.stbl(z))}},{key:"dinf",value:function(){var z=ee.box(ee.types.dinf,ee.box(ee.types.dref,ee.constants.DREF));return z}},{key:"stbl",value:function(z){var $=ee.box(ee.types.stbl,ee.stsd(z),ee.box(ee.types.stts,ee.constants.STTS),ee.box(ee.types.stsc,ee.constants.STSC),ee.box(ee.types.stsz,ee.constants.STSZ),ee.box(ee.types.stco,ee.constants.STCO));return $}},{key:"stsd",value:function(z){return z.type==="audio"?z.codec==="mp3"?ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.mp3(z)):ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.mp4a(z)):ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.avc1(z))}},{key:"mp3",value:function(z){var $=z.channelCount,le=z.audioSampleRate,ge=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,$,0,16,0,0,0,0,le>>>8&255,le&255,0,0]);return ee.box(ee.types[".mp3"],ge)}},{key:"mp4a",value:function(z){var $=z.channelCount,le=z.audioSampleRate,ge=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,$,0,16,0,0,0,0,le>>>8&255,le&255,0,0]);return ee.box(ee.types.mp4a,ge,ee.esds(z))}},{key:"esds",value:function(z){var $=z.config||[],le=$.length,ge=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($).concat([6,1,2]));return ee.box(ee.types.esds,ge)}},{key:"avc1",value:function(z){var $=z.avcc,le=z.codecWidth,ge=z.codecHeight,Ae=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,le>>>8&255,le&255,ge>>>8&255,ge&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return ee.box(ee.types.avc1,Ae,ee.box(ee.types.avcC,$))}},{key:"mvex",value:function(z){return ee.box(ee.types.mvex,ee.trex(z))}},{key:"trex",value:function(z){var $=z.id,le=new Uint8Array([0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return ee.box(ee.types.trex,le)}},{key:"moof",value:function(z,$){return ee.box(ee.types.moof,ee.mfhd(z.sequenceNumber),ee.traf(z,$))}},{key:"mfhd",value:function(z){var $=new Uint8Array([0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255]);return ee.box(ee.types.mfhd,$)}},{key:"traf",value:function(z,$){var le=z.id,ge=ee.box(ee.types.tfhd,new Uint8Array([0,0,0,0,le>>>24&255,le>>>16&255,le>>>8&255,le&255])),Ae=ee.box(ee.types.tfdt,new Uint8Array([0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255])),Me=ee.sdtp(z),Ze=ee.trun(z,Me.byteLength+16+16+8+16+8+8);return ee.box(ee.types.traf,ge,Ae,Ze,Me)}},{key:"sdtp",value:function(z){for(var $=z.samples||[],le=$.length,ge=new Uint8Array(4+le),Ae=0;Ae<le;Ae++){var Me=$[Ae].flags;ge[Ae+4]=Me.isLeading<<6|Me.dependsOn<<4|Me.isDependedOn<<2|Me.hasRedundancy}return ee.box(ee.types.sdtp,ge)}},{key:"trun",value:function(z,$){var le=z.samples||[],ge=le.length,Ae=12+16*ge,Me=new Uint8Array(Ae);$+=8+Ae,Me.set([0,0,15,1,ge>>>24&255,ge>>>16&255,ge>>>8&255,ge&255,$>>>24&255,$>>>16&255,$>>>8&255,$&255],0);for(var Ze=0;Ze<ge;Ze++){var kt=le[Ze].duration,Jt=le[Ze].size,Et=le[Ze].flags,Ft=le[Ze].cts;Me.set([kt>>>24&255,kt>>>16&255,kt>>>8&255,kt&255,Jt>>>24&255,Jt>>>16&255,Jt>>>8&255,Jt&255,Et.isLeading<<2|Et.dependsOn,Et.isDependedOn<<6|Et.hasRedundancy<<4|Et.isNonSync,0,0,Ft>>>24&255,Ft>>>16&255,Ft>>>8&255,Ft&255],12+16*Ze)}return ee.box(ee.types.trun,Me)}},{key:"mdat",value:function(z){return ee.box(ee.types.mdat,z)}}]),ee}();Ue.init();var zt=Ue,xt=function(){function ee(){Object(d.a)(this,ee)}return Object(x.a)(ee,null,[{key:"getSilentFrame",value:function(z,$){if(z==="mp4a.40.2"){if($===1)return new Uint8Array([0,200,0,128,35,128]);if($===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if($===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if($===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if($===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if($===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if($===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if($===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if($===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}]),ee}(),Pt=xt,Ke=function ee(ie,z,$,le,ge){Object(d.a)(this,ee),this.dts=ie,this.pts=z,this.duration=$,this.originalDts=le,this.isSyncPoint=ge,this.fileposition=null},Ye=function(){function ee(){Object(d.a)(this,ee),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(x.a)(ee,[{key:"appendSyncPoint",value:function(z){z.isSyncPoint=!0,this.syncPoints.push(z)}}]),ee}(),$e=function(){function ee(){Object(d.a)(this,ee),this._list=[]}return Object(x.a)(ee,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(z){var $=this._list;if(z.length===0)return;$.length>0&&z[0].originalDts<$[$.length-1].originalDts&&this.clear(),Array.prototype.push.apply($,z)}},{key:"getLastSyncPointBeforeDts",value:function(z){if(this._list.length==0)return null;var $=this._list,le=0,ge=$.length-1,Ae=0,Me=0,Ze=ge;for(z<$[0].dts&&(le=0,Me=Ze+1);Me<=Ze;)if(Ae=Me+Math.floor((Ze-Me)/2),Ae===ge||z>=$[Ae].dts&&z<$[Ae+1].dts){le=Ae;break}else $[Ae].dts<z?Me=Ae+1:Ze=Ae-1;return this._list[le]}}]),ee}(),ut=function(){function ee(ie){Object(d.a)(this,ee),this._type=ie,this._list=[],this._lastAppendLocation=-1}return Object(x.a)(ee,[{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(z){var $=this._list;if($.length===0)return-2;var le=$.length-1,ge=0,Ae=0,Me=le,Ze=0;if(z<$[0].originalBeginDts)return Ze=-1,Ze;for(;Ae<=Me;)if(ge=Ae+Math.floor((Me-Ae)/2),ge===le||z>$[ge].lastSample.originalDts&&z<$[ge+1].originalBeginDts){Ze=ge;break}else $[ge].originalBeginDts<z?Ae=ge+1:Me=ge-1;return Ze}},{key:"_searchNearestSegmentAfter",value:function(z){return this._searchNearestSegmentBefore(z)+1}},{key:"append",value:function(z){var $=this._list,le=z,ge=this._lastAppendLocation,Ae=0;ge!==-1&&ge<$.length&&le.originalBeginDts>=$[ge].lastSample.originalDts&&(ge===$.length-1||ge<$.length-1&&le.originalBeginDts<$[ge+1].originalBeginDts)?Ae=ge+1:$.length>0&&(Ae=this._searchNearestSegmentBefore(le.originalBeginDts)+1),this._lastAppendLocation=Ae,this._list.splice(Ae,0,le)}},{key:"getLastSegmentBefore",value:function(z){var $=this._searchNearestSegmentBefore(z);return $>=0?this._list[$]:null}},{key:"getLastSampleBefore",value:function(z){var $=this.getLastSegmentBefore(z);return $!=null?$.lastSample:null}},{key:"getLastSyncPointBefore",value:function(z){for(var $=this._searchNearestSegmentBefore(z),le=this._list[$].syncPoints;le.length===0&&$>0;)$--,le=this._list[$].syncPoints;return le.length>0?le[le.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),ee}(),et=function(){function ee(ie){Object(d.a)(this,ee),this.TAG="MP4Remuxer",this._config=ie,this._isLive=ie.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 ut("audio"),this._videoSegmentInfoList=new ut("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661)),this._fillSilentAfterSeek=T.msedge||T.msie,this._mp3UseMpegAudio=!T.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(x.a)(ee,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function(z){return z.onDataAvailable=this.remux.bind(this),z.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(z){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(z,$){if(!this._onMediaSegment)throw new u("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(z,$),this._remuxVideo($),this._remuxAudio(z)}},{key:"_onTrackMetadataReceived",value:function(z,$){var le=null,ge="mp4",Ae=$.codec;if(z==="audio")this._audioMeta=$,$.codec==="mp3"&&this._mp3UseMpegAudio?(ge="mpeg",Ae="",le=new Uint8Array):le=zt.generateInitSegment($);else if(z==="video")this._videoMeta=$,le=zt.generateInitSegment($);else return;if(!this._onInitSegment)throw new u("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(z,{type:z,data:le.buffer,codec:Ae,container:"".concat(z,"/").concat(ge),mediaDuration:$.duration})}},{key:"_calculateDtsBase",value:function(z,$){if(this._dtsBaseInited)return;z.samples&&z.samples.length&&(this._audioDtsBase=z.samples[0].dts),$.samples&&$.samples.length&&(this._videoDtsBase=$.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var z=this._videoStashedLastSample,$=this._audioStashedLastSample,le={type:"video",id:1,sequenceNumber:0,samples:[],length:0};z!=null&&(le.samples.push(z),le.length=z.length);var ge={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};$!=null&&(ge.samples.push($),ge.length=$.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(le,!0),this._remuxAudio(ge,!0)}},{key:"_remuxAudio",value:function(z,$){if(this._audioMeta==null)return;var le=z,ge=le.samples,Ae=void 0,Me=-1,Ze=-1,kt=-1,Jt=this._audioMeta.refSampleDuration,Et=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ft=this._dtsBaseInited&&this._audioNextDts===void 0,Kt=!1;if(!ge||ge.length===0)return;if(ge.length===1&&!$)return;var Vt=0,Ot=null,ur=0;Et?(Vt=0,ur=le.length):(Vt=8,ur=8+le.length);var Zt=null;if(ge.length>1&&(Zt=ge.pop(),ur-=Zt.length),this._audioStashedLastSample!=null){var ze=this._audioStashedLastSample;this._audioStashedLastSample=null,ge.unshift(ze),ur+=ze.length}Zt!=null&&(this._audioStashedLastSample=Zt);var at=ge[0].dts-this._dtsBase;if(this._audioNextDts)Ae=at-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Ae=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Kt=!0));else{var Ve=this._audioSegmentInfoList.getLastSampleBefore(at);if(Ve!=null){var Xe=at-(Ve.originalDts+Ve.duration);Xe<=3&&(Xe=0);var gt=Ve.dts+Ve.duration+Xe;Ae=at-gt}else Ae=0}if(Kt){var ft=at-Ae,Ge=this._videoSegmentInfoList.getLastSegmentBefore(at);if(Ge!=null&&Ge.beginDts<ft){var Mt=Pt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Mt){var It=Ge.beginDts,rr=ft-Ge.beginDts;i.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(It,", duration: ").concat(rr)),ge.unshift({unit:Mt,dts:It,pts:It}),ur+=Mt.byteLength}}else Kt=!1}for(var Ht=[],pr=0;pr<ge.length;pr++){var Ar=ge[pr],Nr=Ar.unit,Fr=Ar.dts-this._dtsBase,tn=Fr-Ae;Me===-1&&(Me=tn);var Jr=0;if(pr!==ge.length-1){var Lr=ge[pr+1].dts-this._dtsBase-Ae;Jr=Lr-tn}else if(Zt!=null){var Xr=Zt.dts-this._dtsBase-Ae;Jr=Xr-tn}else Ht.length>=1?Jr=Ht[Ht.length-1].duration:Jr=Math.floor(Jt);var Tr=!1,lr=null;if(Jr>Jt*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!T.safari){Tr=!0;var fr=Math.abs(Jr-Jt),sr=Math.ceil(fr/Jt),dr=tn+Jt;i.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
|
|
`+"dts: ".concat(tn+Jr," ms, expected: ").concat(tn+Math.round(Jt)," ms, ")+"delta: ".concat(Math.round(fr)," ms, generate: ").concat(sr," frames"));var Sr=Pt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);Sr==null&&(i.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),Sr=Nr),lr=[];for(var Qr=0;Qr<sr;Qr++){var cn=Math.round(dr);if(lr.length>0){var Dn=lr[lr.length-1];Dn.duration=cn-Dn.dts}var jr={dts:cn,pts:cn,cts:0,unit:Sr,size:Sr.byteLength,duration:0,originalDts:Fr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};lr.push(jr),ur+=jr.size,dr+=Jt}var Ln=lr[lr.length-1];Ln.duration=tn+Jr-Ln.dts,Jr=Math.round(Jt)}Ht.push({dts:tn,pts:tn,cts:0,unit:Ar.unit,size:Ar.unit.byteLength,duration:Jr,originalDts:Fr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Tr&&Ht.push.apply(Ht,lr)}Et?Ot=new Uint8Array(ur):(Ot=new Uint8Array(ur),Ot[0]=ur>>>24&255,Ot[1]=ur>>>16&255,Ot[2]=ur>>>8&255,Ot[3]=ur&255,Ot.set(zt.types.mdat,4));for(var gn=0;gn<Ht.length;gn++){var Un=Ht[gn].unit;Ot.set(Un,Vt),Vt+=Un.byteLength}var Wn=Ht[Ht.length-1];Ze=Wn.dts+Wn.duration,this._audioNextDts=Ze;var Jn=new Ye;Jn.beginDts=Me,Jn.endDts=Ze,Jn.beginPts=Me,Jn.endPts=Ze,Jn.originalBeginDts=Ht[0].originalDts,Jn.originalEndDts=Wn.originalDts+Wn.duration,Jn.firstSample=new Ke(Ht[0].dts,Ht[0].pts,Ht[0].duration,Ht[0].originalDts,!1),Jn.lastSample=new Ke(Wn.dts,Wn.pts,Wn.duration,Wn.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(Jn),le.samples=Ht,le.sequenceNumber++;var Qn=null;Et?Qn=new Uint8Array:Qn=zt.moof(le,Me),le.samples=[],le.length=0;var Vn={type:"audio",data:this._mergeBoxes(Qn,Ot).buffer,sampleCount:Ht.length,info:Jn};Et&&Ft&&(Vn.timestampOffset=Me),this._onMediaSegment("audio",Vn)}},{key:"_remuxVideo",value:function(z,$){if(this._videoMeta==null)return;var le=z,ge=le.samples,Ae=void 0,Me=-1,Ze=-1,kt=-1,Jt=-1;if(!ge||ge.length===0)return;if(ge.length===1&&!$)return;var Et=8,Ft=null,Kt=8+z.length,Vt=null;if(ge.length>1&&(Vt=ge.pop(),Kt-=Vt.length),this._videoStashedLastSample!=null){var Ot=this._videoStashedLastSample;this._videoStashedLastSample=null,ge.unshift(Ot),Kt+=Ot.length}Vt!=null&&(this._videoStashedLastSample=Vt);var ur=ge[0].dts-this._dtsBase;if(this._videoNextDts)Ae=ur-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Ae=0;else{var Zt=this._videoSegmentInfoList.getLastSampleBefore(ur);if(Zt!=null){var ze=ur-(Zt.originalDts+Zt.duration);ze<=3&&(ze=0);var at=Zt.dts+Zt.duration+ze;Ae=ur-at}else Ae=0}for(var Ve=new Ye,Xe=[],gt=0;gt<ge.length;gt++){var ft=ge[gt],Ge=ft.dts-this._dtsBase,Mt=ft.isKeyframe,It=Ge-Ae,rr=ft.cts,Ht=It+rr;Me===-1&&(Me=It,kt=Ht);var pr=0;if(gt!==ge.length-1){var Ar=ge[gt+1].dts-this._dtsBase-Ae;pr=Ar-It}else if(Vt!=null){var Nr=Vt.dts-this._dtsBase-Ae;pr=Nr-It}else Xe.length>=1?pr=Xe[Xe.length-1].duration:pr=Math.floor(this._videoMeta.refSampleDuration);if(Mt){var Fr=new Ke(It,Ht,pr,ft.dts,!0);Fr.fileposition=ft.fileposition,Ve.appendSyncPoint(Fr)}Xe.push({dts:It,pts:Ht,cts:rr,units:ft.units,size:ft.length,isKeyframe:Mt,duration:pr,originalDts:Ge,flags:{isLeading:0,dependsOn:Mt?2:1,isDependedOn:Mt?1:0,hasRedundancy:0,isNonSync:Mt?0:1}})}Ft=new Uint8Array(Kt),Ft[0]=Kt>>>24&255,Ft[1]=Kt>>>16&255,Ft[2]=Kt>>>8&255,Ft[3]=Kt&255,Ft.set(zt.types.mdat,4);for(var tn=0;tn<Xe.length;tn++)for(var Jr=Xe[tn].units;Jr.length;){var Lr=Jr.shift(),Xr=Lr.data;Ft.set(Xr,Et),Et+=Xr.byteLength}var Tr=Xe[Xe.length-1];if(Ze=Tr.dts+Tr.duration,Jt=Tr.pts+Tr.duration,this._videoNextDts=Ze,Ve.beginDts=Me,Ve.endDts=Ze,Ve.beginPts=kt,Ve.endPts=Jt,Ve.originalBeginDts=Xe[0].originalDts,Ve.originalEndDts=Tr.originalDts+Tr.duration,Ve.firstSample=new Ke(Xe[0].dts,Xe[0].pts,Xe[0].duration,Xe[0].originalDts,Xe[0].isKeyframe),Ve.lastSample=new Ke(Tr.dts,Tr.pts,Tr.duration,Tr.originalDts,Tr.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Ve),le.samples=Xe,le.sequenceNumber++,this._forceFirstIDR){var lr=Xe[0].flags;lr.dependsOn=2,lr.isNonSync=0}var fr=zt.moof(le,Me);le.samples=[],le.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(fr,Ft).buffer,sampleCount:Xe.length,info:Ve})}},{key:"_mergeBoxes",value:function(z,$){var le=new Uint8Array(z.byteLength+$.byteLength);return le.set(z,0),le.set($,z.byteLength),le}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(z){this._onInitSegment=z}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(z){this._onMediaSegment=z}}]),ee}(),oe=et,me={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"},it=me,Be=function(){function ee(ie,z){Object(d.a)(this,ee),this.TAG="TransmuxingController",this._emitter=new b.a,this._config=z,ie.segments||(ie.segments=[{duration:ie.duration,filesize:ie.filesize,url:ie.url}]),typeof ie.cors!="boolean"&&(ie.cors=!0),typeof ie.withCredentials!="boolean"&&(ie.withCredentials=!1),this._mediaDataSource=ie,this._currentSegmentIndex=0;var $=0;this._mediaDataSource.segments.forEach(function(le){le.timestampBase=$,$+=le.duration,le.cors=ie.cors,le.withCredentials=ie.withCredentials,z.referrerPolicy&&(le.referrerPolicy=z.referrerPolicy)}),!isNaN($)&&this._mediaDataSource.duration!==$&&(this._mediaDataSource.duration=$),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(x.a)(ee,[{key:"destroy",value:function(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(z,$){this._emitter.addListener(z,$)}},{key:"off",value:function(z,$){this._emitter.removeListener(z,$)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(z,$){this._currentSegmentIndex=z;var le=this._mediaDataSource.segments[z],ge=this._ioctl=new k(le,this._config,z);ge.onError=this._onIOException.bind(this),ge.onSeeked=this._onIOSeeked.bind(this),ge.onComplete=this._onIOComplete.bind(this),ge.onRedirect=this._onIORedirect.bind(this),ge.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),$?this._demuxer.bindDataSource(this._ioctl):ge.onDataArrival=this._onInitChunkArrival.bind(this),ge.open($)}},{key:"stop",value:function(){this._internalAbort(),this._disableStatisticsReporter()}},{key:"_internalAbort",value:function(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}},{key:"pause",value:function(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}},{key:"resume",value:function(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}},{key:"seek",value:function(z){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var $=this._searchSegmentIndexContains(z);if($===this._currentSegmentIndex){var le=this._mediaInfo.segments[$];if(le==null)this._pendingSeekTime=z;else{var ge=le.getNearestKeyframe(z);this._remuxer.seek(ge.milliseconds),this._ioctl.seek(ge.fileposition),this._pendingResolveSeekPoint=ge.milliseconds}}else{var Ae=this._mediaInfo.segments[$];if(Ae==null)this._pendingSeekTime=z,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment($);else{var Me=Ae.getNearestKeyframe(z);this._internalAbort(),this._remuxer.seek(z),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[$].timestampBase,this._loadSegment($,Me.fileposition),this._pendingResolveSeekPoint=Me.milliseconds,this._reportSegmentMediaInfo($)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(z){for(var $=this._mediaDataSource.segments,le=$.length-1,ge=0;ge<$.length;ge++)if(z<$[ge].timestampBase){le=ge-1;break}return le}},{key:"_onInitChunkArrival",value:function(z,$){var le=this,ge=null,Ae=0;if($>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Ae=this._demuxer.parseChunks(z,$);else if((ge=_t.probe(z)).match){this._demuxer=new _t(ge,this._config),this._remuxer||(this._remuxer=new oe(this._config));var Me=this._mediaDataSource;Me.duration!=null&&!isNaN(Me.duration)&&(this._demuxer.overridedDuration=Me.duration),typeof Me.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Me.hasAudio),typeof Me.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Me.hasVideo),this._demuxer.timestampBase=Me.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),Ae=this._demuxer.parseChunks(z,$)}else ge=null,i.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){le._internalAbort()}),this._emitter.emit(it.DEMUX_ERROR,De.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Ae=0;return Ae}},{key:"_onMediaInfo",value:function(z){var $=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},z),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,yt.prototype));var le=Object.assign({},z);Object.setPrototypeOf(le,yt.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=le,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var ge=$._pendingSeekTime;$._pendingSeekTime=null,$.seek(ge)})}},{key:"_onMetaDataArrived",value:function(z){this._emitter.emit(it.METADATA_ARRIVED,z)}},{key:"_onScriptDataArrived",value:function(z){this._emitter.emit(it.SCRIPTDATA_ARRIVED,z)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(z){var $=z,le=$+1;le<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(le)):(this._remuxer.flushStashedSamples(),this._emitter.emit(it.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(z){var $=this._ioctl.extraData;this._mediaDataSource.segments[$].redirectedURL=z}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(it.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(z,$){i.e(this.TAG,"IOException: type = ".concat(z,", code = ").concat($.code,", msg = ").concat($.msg)),this._emitter.emit(it.IO_ERROR,z,$),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(z,$){i.e(this.TAG,"DemuxException: type = ".concat(z,", info = ").concat($)),this._emitter.emit(it.DEMUX_ERROR,z,$)}},{key:"_onRemuxerInitSegmentArrival",value:function(z,$){this._emitter.emit(it.INIT_SEGMENT,z,$)}},{key:"_onRemuxerMediaSegmentArrival",value:function(z,$){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(it.MEDIA_SEGMENT,z,$),this._pendingResolveSeekPoint!=null&&z==="video"){var le=$.info.syncPoints,ge=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,T.safari&&le.length>0&&le[0].originalDts===ge&&(ge=le[0].pts),this._emitter.emit(it.RECOMMEND_SEEKPOINT,ge)}}},{key:"_enableStatisticsReporter",value:function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}},{key:"_disableStatisticsReporter",value:function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"_reportSegmentMediaInfo",value:function(z){var $=this._mediaInfo.segments[z],le=Object.assign({},$);le.duration=this._mediaInfo.duration,le.segmentCount=this._mediaInfo.segmentCount,delete le.segments,delete le.keyframesIndex,this._emitter.emit(it.MEDIA_INFO,le)}},{key:"_reportStatisticsInfo",value:function(){var z={};z.url=this._ioctl.currentURL,z.hasRedirect=this._ioctl.hasRedirect,z.hasRedirect&&(z.redirectedURL=this._ioctl.currentRedirectedURL),z.speed=this._ioctl.currentSpeed,z.loaderType=this._ioctl.loaderType,z.currentSegmentIndex=this._currentSegmentIndex,z.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(it.STATISTICS_INFO,z)}}]),ee}(),ht=Be,Mr=function(ie){var z="TransmuxingWorker",$=null,le=ur.bind(this);p.install(),ie.addEventListener("message",function(Zt){switch(Zt.data.cmd){case"init":$=new ht(Zt.data.param[0],Zt.data.param[1]),$.on(it.IO_ERROR,Kt.bind(this)),$.on(it.DEMUX_ERROR,Vt.bind(this)),$.on(it.INIT_SEGMENT,ge.bind(this)),$.on(it.MEDIA_SEGMENT,Ae.bind(this)),$.on(it.LOADING_COMPLETE,Me.bind(this)),$.on(it.RECOVERED_EARLY_EOF,Ze.bind(this)),$.on(it.MEDIA_INFO,kt.bind(this)),$.on(it.METADATA_ARRIVED,Jt.bind(this)),$.on(it.SCRIPTDATA_ARRIVED,Et.bind(this)),$.on(it.STATISTICS_INFO,Ft.bind(this)),$.on(it.RECOMMEND_SEEKPOINT,Ot.bind(this));break;case"destroy":$&&($.destroy(),$=null),ie.postMessage({msg:"destroyed"});break;case"start":$.start();break;case"stop":$.stop();break;case"seek":$.seek(Zt.data.param);break;case"pause":$.pause();break;case"resume":$.resume();break;case"logging_config":{var ze=Zt.data.param;We.applyConfig(ze),ze.enableCallback===!0?We.addLogListener(le):We.removeLogListener(le);break}}});function ge(Zt,ze){var at={msg:it.INIT_SEGMENT,data:{type:Zt,data:ze}};ie.postMessage(at,[ze.data])}function Ae(Zt,ze){var at={msg:it.MEDIA_SEGMENT,data:{type:Zt,data:ze}};ie.postMessage(at,[ze.data])}function Me(){var Zt={msg:it.LOADING_COMPLETE};ie.postMessage(Zt)}function Ze(){var Zt={msg:it.RECOVERED_EARLY_EOF};ie.postMessage(Zt)}function kt(Zt){var ze={msg:it.MEDIA_INFO,data:Zt};ie.postMessage(ze)}function Jt(Zt){var ze={msg:it.METADATA_ARRIVED,data:Zt};ie.postMessage(ze)}function Et(Zt){var ze={msg:it.SCRIPTDATA_ARRIVED,data:Zt};ie.postMessage(ze)}function Ft(Zt){var ze={msg:it.STATISTICS_INFO,data:Zt};ie.postMessage(ze)}function Kt(Zt,ze){ie.postMessage({msg:it.IO_ERROR,data:{type:Zt,info:ze}})}function Vt(Zt,ze){ie.postMessage({msg:it.DEMUX_ERROR,data:{type:Zt,info:ze}})}function Ot(Zt){ie.postMessage({msg:it.RECOMMEND_SEEKPOINT,data:Zt})}function ur(Zt,ze){ie.postMessage({msg:"logcat_callback",data:{type:Zt,logcat:ze}})}},Lt=Mr,or=function(){function ee(ie,z){if(Object(d.a)(this,ee),this.TAG="Transmuxer",this._emitter=new b.a,z.enableWorker&&typeof Worker!="undefined")try{var $=e("0r65");this._worker=$(Lt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[ie,z]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},We.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:We.getConfig()})}catch(ge){i.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new ht(ie,z)}else this._controller=new ht(ie,z);if(this._controller){var le=this._controller;le.on(it.IO_ERROR,this._onIOError.bind(this)),le.on(it.DEMUX_ERROR,this._onDemuxError.bind(this)),le.on(it.INIT_SEGMENT,this._onInitSegment.bind(this)),le.on(it.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),le.on(it.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),le.on(it.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),le.on(it.MEDIA_INFO,this._onMediaInfo.bind(this)),le.on(it.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),le.on(it.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),le.on(it.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),le.on(it.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(x.a)(ee,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),We.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(z,$){this._emitter.addListener(z,$)}},{key:"off",value:function(z,$){this._emitter.removeListener(z,$)}},{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(z){this._worker?this._worker.postMessage({cmd:"seek",param:z}):this._controller.seek(z)}},{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(z,$){var le=this;Promise.resolve().then(function(){le._emitter.emit(it.INIT_SEGMENT,z,$)})}},{key:"_onMediaSegment",value:function(z,$){var le=this;Promise.resolve().then(function(){le._emitter.emit(it.MEDIA_SEGMENT,z,$)})}},{key:"_onLoadingComplete",value:function(){var z=this;Promise.resolve().then(function(){z._emitter.emit(it.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var z=this;Promise.resolve().then(function(){z._emitter.emit(it.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(z){var $=this;Promise.resolve().then(function(){$._emitter.emit(it.MEDIA_INFO,z)})}},{key:"_onMetaDataArrived",value:function(z){var $=this;Promise.resolve().then(function(){$._emitter.emit(it.METADATA_ARRIVED,z)})}},{key:"_onScriptDataArrived",value:function(z){var $=this;Promise.resolve().then(function(){$._emitter.emit(it.SCRIPTDATA_ARRIVED,z)})}},{key:"_onStatisticsInfo",value:function(z){var $=this;Promise.resolve().then(function(){$._emitter.emit(it.STATISTICS_INFO,z)})}},{key:"_onIOError",value:function(z,$){var le=this;Promise.resolve().then(function(){le._emitter.emit(it.IO_ERROR,z,$)})}},{key:"_onDemuxError",value:function(z,$){var le=this;Promise.resolve().then(function(){le._emitter.emit(it.DEMUX_ERROR,z,$)})}},{key:"_onRecommendSeekpoint",value:function(z){var $=this;Promise.resolve().then(function(){$._emitter.emit(it.RECOMMEND_SEEKPOINT,z)})}},{key:"_onLoggingConfigChanged",value:function(z){this._worker&&this._worker.postMessage({cmd:"logging_config",param:z})}},{key:"_onWorkerMessage",value:function(z){var $=z.data,le=$.data;if($.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch($.msg){case it.INIT_SEGMENT:case it.MEDIA_SEGMENT:this._emitter.emit($.msg,le.type,le.data);break;case it.LOADING_COMPLETE:case it.RECOVERED_EARLY_EOF:this._emitter.emit($.msg);break;case it.MEDIA_INFO:Object.setPrototypeOf(le,yt.prototype),this._emitter.emit($.msg,le);break;case it.METADATA_ARRIVED:case it.SCRIPTDATA_ARRIVED:case it.STATISTICS_INFO:this._emitter.emit($.msg,le);break;case it.IO_ERROR:case it.DEMUX_ERROR:this._emitter.emit($.msg,le.type,le.info);break;case it.RECOMMEND_SEEKPOINT:this._emitter.emit($.msg,le);break;case"logcat_callback":i.emitter.emit("log",le.type,le.logcat);break;default:break}}}]),ee}(),Qt=or,qt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},hr=qt,Gt=function(){function ee(ie){Object(d.a)(this,ee),this.TAG="MSEController",this._config=ie,this._emitter=new b.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 $e}return Object(x.a)(ee,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(z,$){this._emitter.addListener(z,$)}},{key:"off",value:function(z,$){this._emitter.removeListener(z,$)}},{key:"attachMediaElement",value:function(z){if(this._mediaSource)throw new u("MediaSource has been attached to an HTMLMediaElement!");var $=this._mediaSource=new window.MediaSource;$.addEventListener("sourceopen",this.e.onSourceOpen),$.addEventListener("sourceended",this.e.onSourceEnded),$.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=z,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),z.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var z=this._mediaSource;for(var $ in this._sourceBuffers){var le=this._pendingSegments[$];le.splice(0,le.length),this._pendingSegments[$]=null,this._pendingRemoveRanges[$]=null,this._lastInitSegments[$]=null;var ge=this._sourceBuffers[$];if(ge){if(z.readyState!=="closed"){try{z.removeSourceBuffer(ge)}catch(Ae){i.e(this.TAG,Ae.message)}ge.removeEventListener("error",this.e.onSourceBufferError),ge.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[$]=null,this._sourceBuffers[$]=null}}if(z.readyState==="open")try{z.endOfStream()}catch(Ae){i.e(this.TAG,Ae.message)}z.removeEventListener("sourceopen",this.e.onSourceOpen),z.removeEventListener("sourceended",this.e.onSourceEnded),z.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(z,$){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(z),this._pendingSegments[z.type].push(z);return}var le=z,ge="".concat(le.container);le.codec&&le.codec.length>0&&(ge+=";codecs=".concat(le.codec));var Ae=!1;if(i.v(this.TAG,"Received Initialization Segment, mimeType: "+ge),this._lastInitSegments[le.type]=le,ge!==this._mimeTypes[le.type]){if(this._mimeTypes[le.type])i.v(this.TAG,"Notice: ".concat(le.type," mimeType changed, origin: ").concat(this._mimeTypes[le.type],", target: ").concat(ge));else{Ae=!0;try{var Me=this._sourceBuffers[le.type]=this._mediaSource.addSourceBuffer(ge);Me.addEventListener("error",this.e.onSourceBufferError),Me.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(Ze){i.e(this.TAG,Ze.message),this._emitter.emit(hr.ERROR,{code:Ze.code,msg:Ze.message});return}}this._mimeTypes[le.type]=ge}$||this._pendingSegments[le.type].push(le),Ae||this._sourceBuffers[le.type]&&!this._sourceBuffers[le.type].updating&&this._doAppendSegments(),T.safari&&le.container==="audio/mpeg"&&le.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=le.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(z){var $=z;this._pendingSegments[$.type].push($),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var le=this._sourceBuffers[$.type];le&&!le.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(z){for(var $ in this._sourceBuffers){if(!this._sourceBuffers[$])continue;var le=this._sourceBuffers[$];if(this._mediaSource.readyState==="open")try{le.abort()}catch(Jt){i.e(this.TAG,Jt.message)}this._idrList.clear();var ge=this._pendingSegments[$];if(ge.splice(0,ge.length),this._mediaSource.readyState==="closed")continue;for(var Ae=0;Ae<le.buffered.length;Ae++){var Me=le.buffered.start(Ae),Ze=le.buffered.end(Ae);this._pendingRemoveRanges[$].push({start:Me,end:Ze})}if(le.updating||this._doRemoveRanges(),T.safari){var kt=this._lastInitSegments[$];kt&&(this._pendingSegments[$].push(kt),le.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var z=this._mediaSource,$=this._sourceBuffers;if(!z||z.readyState!=="open"){z&&z.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}$.video&&$.video.updating||$.audio&&$.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,z.endOfStream())}},{key:"getNearestKeyframe",value:function(z){return this._idrList.getLastSyncPointBeforeDts(z)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var z=this._mediaElement.currentTime;for(var $ in this._sourceBuffers){var le=this._sourceBuffers[$];if(le){var ge=le.buffered;if(ge.length>=1&&z-ge.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var z=this._mediaElement.currentTime;for(var $ in this._sourceBuffers){var le=this._sourceBuffers[$];if(le){for(var ge=le.buffered,Ae=!1,Me=0;Me<ge.length;Me++){var Ze=ge.start(Me),kt=ge.end(Me);if(Ze<=z&&z<kt+3){if(z-Ze>=this._config.autoCleanupMaxBackwardDuration){Ae=!0;var Jt=z-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[$].push({start:Ze,end:Jt})}}else kt<z&&(Ae=!0,this._pendingRemoveRanges[$].push({start:Ze,end:kt}))}Ae&&!le.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var z=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(z.video&&z.video.updating||z.audio&&z.audio.updating)return;var $=this._mediaSource.duration,le=this._pendingMediaDuration;le>0&&(isNaN($)||le>$)&&(i.v(this.TAG,"Update MediaSource duration from ".concat($," to ").concat(le)),this._mediaSource.duration=le),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var z in this._pendingRemoveRanges){if(!this._sourceBuffers[z]||this._sourceBuffers[z].updating)continue;for(var $=this._sourceBuffers[z],le=this._pendingRemoveRanges[z];le.length&&!$.updating;){var ge=le.shift();$.remove(ge.start,ge.end)}}}},{key:"_doAppendSegments",value:function(){var z=this._pendingSegments;for(var $ in z){if(!this._sourceBuffers[$]||this._sourceBuffers[$].updating)continue;if(z[$].length>0){var le=z[$].shift();if(le.timestampOffset){var ge=this._sourceBuffers[$].timestampOffset,Ae=le.timestampOffset/1e3,Me=Math.abs(ge-Ae);Me>.1&&(i.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(ge," to ").concat(Ae)),this._sourceBuffers[$].timestampOffset=Ae),delete le.timestampOffset}if(!le.data||le.data.byteLength===0)continue;try{this._sourceBuffers[$].appendBuffer(le.data),this._isBufferFull=!1,$==="video"&&le.hasOwnProperty("info")&&this._idrList.appendArray(le.info.syncPoints)}catch(Ze){this._pendingSegments[$].unshift(le),Ze.code===22?(this._isBufferFull||this._emitter.emit(hr.BUFFER_FULL),this._isBufferFull=!0):(i.e(this.TAG,Ze.message),this._emitter.emit(hr.ERROR,{code:Ze.code,msg:Ze.message}))}}}}},{key:"_onSourceOpen",value:function(){if(i.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var z=this._pendingSourceBufferInit;z.length;){var $=z.shift();this.appendInitSegment($,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(hr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){i.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){i.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 z=this._pendingSegments;return z.video.length>0||z.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var z=this._pendingRemoveRanges;return z.video.length>0||z.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(hr.UPDATE_END)}},{key:"_onSourceBufferError",value:function(z){i.e(this.TAG,"SourceBuffer Error: ".concat(z))}}]),ee}(),de=Gt,ue={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},se={NETWORK_EXCEPTION:h.EXCEPTION,NETWORK_STATUS_CODE_INVALID:h.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:h.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:h.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:De.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:De.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:De.CODEC_UNSUPPORTED},ae=function(){function ee(ie,z){if(Object(d.a)(this,ee),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new b.a,this._config=X(),typeof z=="object"&&Object.assign(this._config,z),ie.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");ie.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=ie,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var $=T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661);this._alwaysSeekKeyframe=!!($||T.msedge||T.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(x.a)(ee,[{key:"destroy",value:function(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(z,$){var le=this;z===Se.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){le._emitter.emit(Se.MEDIA_INFO,le.mediaInfo)}):z===Se.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){le._emitter.emit(Se.STATISTICS_INFO,le.statisticsInfo)})),this._emitter.addListener(z,$)}},{key:"off",value:function(z,$){this._emitter.removeListener(z,$)}},{key:"attachMediaElement",value:function(z){var $=this;if(this._mediaElement=z,z.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),z.addEventListener("seeking",this.e.onvSeeking),z.addEventListener("canplay",this.e.onvCanPlay),z.addEventListener("stalled",this.e.onvStalled),z.addEventListener("progress",this.e.onvProgress),this._msectl=new de(this._config),this._msectl.on(hr.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(hr.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(hr.SOURCE_OPEN,function(){$._mseSourceOpened=!0,$._hasPendingLoad&&($._hasPendingLoad=!1,$.load())}),this._msectl.on(hr.ERROR,function(le){$._emitter.emit(Se.ERROR,ue.MEDIA_ERROR,se.MEDIA_MSE_ERROR,le)}),this._msectl.attachMediaElement(z),this._pendingSeekTime!=null)try{z.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 z=this;if(!this._mediaElement)throw new u("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new u("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new Qt(this._mediaDataSource,this._config),this._transmuxer.on(it.INIT_SEGMENT,function($,le){z._msectl.appendInitSegment(le)}),this._transmuxer.on(it.MEDIA_SEGMENT,function($,le){if(z._msectl.appendMediaSegment(le),z._config.lazyLoad&&!z._config.isLive){var ge=z._mediaElement.currentTime;le.info.endDts>=(ge+z._config.lazyLoadMaxDuration)*1e3&&(z._progressChecker==null&&(i.v(z.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),z._suspendTransmuxer()))}}),this._transmuxer.on(it.LOADING_COMPLETE,function(){z._msectl.endOfStream(),z._emitter.emit(Se.LOADING_COMPLETE)}),this._transmuxer.on(it.RECOVERED_EARLY_EOF,function(){z._emitter.emit(Se.RECOVERED_EARLY_EOF)}),this._transmuxer.on(it.IO_ERROR,function($,le){z._emitter.emit(Se.ERROR,ue.NETWORK_ERROR,$,le)}),this._transmuxer.on(it.DEMUX_ERROR,function($,le){z._emitter.emit(Se.ERROR,ue.MEDIA_ERROR,$,{code:-1,msg:le})}),this._transmuxer.on(it.MEDIA_INFO,function($){z._mediaInfo=$,z._emitter.emit(Se.MEDIA_INFO,Object.assign({},$))}),this._transmuxer.on(it.METADATA_ARRIVED,function($){z._emitter.emit(Se.METADATA_ARRIVED,$)}),this._transmuxer.on(it.SCRIPTDATA_ARRIVED,function($){z._emitter.emit(Se.SCRIPTDATA_ARRIVED,$)}),this._transmuxer.on(it.STATISTICS_INFO,function($){z._statisticsInfo=z._fillStatisticsInfo($),z._emitter.emit(Se.STATISTICS_INFO,Object.assign({},z._statisticsInfo))}),this._transmuxer.on(it.RECOMMEND_SEEKPOINT,function($){z._mediaElement&&!z._config.accurateSeek&&(z._requestSetTime=!0,z._mediaElement.currentTime=$/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_fillStatisticsInfo",value:function(z){if(z.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return z;var $=!0,le=0,ge=0;if(this._mediaElement.getVideoPlaybackQuality){var Ae=this._mediaElement.getVideoPlaybackQuality();le=Ae.totalVideoFrames,ge=Ae.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(le=this._mediaElement.webkitDecodedFrameCount,ge=this._mediaElement.webkitDroppedFrameCount):$=!1;return $&&(z.decodedFrames=le,z.droppedFrames=ge),z}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var z=this._mediaElement.buffered,$=this._mediaElement.currentTime,le=0,ge=0,Ae=0;Ae<z.length;Ae++){var Me=z.start(Ae),Ze=z.end(Ae);if(Me<=$&&$<Ze){le=Me,ge=Ze;break}}ge>=$+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(i.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){i.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 z=this._mediaElement.currentTime,$=this._mediaElement.buffered,le=!1,ge=0;ge<$.length;ge++){var Ae=$.start(ge),Me=$.end(ge);if(z>=Ae&&z<Me){z>=Me-this._config.lazyLoadRecoverDuration&&(le=!0);break}}le&&(window.clearInterval(this._progressChecker),this._progressChecker=null,le&&(i.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(z){for(var $=this._mediaElement.buffered,le=0;le<$.length;le++){var ge=$.start(le),Ae=$.end(le);if(z>=ge&&z<Ae)return!0}return!1}},{key:"_internalSeek",value:function(z){var $=this._isTimepointBuffered(z),le=!1,ge=0;if(z<1&&this._mediaElement.buffered.length>0){var Ae=this._mediaElement.buffered.start(0);(Ae<1&&z<Ae||T.safari)&&(le=!0,ge=T.safari?.1:Ae)}if(le)this._requestSetTime=!0,this._mediaElement.currentTime=ge;else if($){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=z;else{var Me=this._msectl.getNearestKeyframe(Math.floor(z*1e3));this._requestSetTime=!0,Me!=null?this._mediaElement.currentTime=Me.dts/1e3:this._mediaElement.currentTime=z}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(z),this._transmuxer.seek(Math.floor(z*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=z)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var z=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(z)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(z),this._transmuxer.seek(Math.floor(z*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=z))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(z){var $=this._mediaElement;if(z||!this._receivedCanPlay||$.readyState<2){var le=$.buffered;le.length>0&&$.currentTime<le.start(0)&&(i.w(this.TAG,"Playback seems stuck at ".concat($.currentTime,", seek to ").concat(le.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=le.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(z){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(z){var $=this._mediaElement.currentTime,le=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if($<1&&le.length>0){var ge=le.start(0);if(ge<1&&$<ge||T.safari){this._requestSetTime=!0,this._mediaElement.currentTime=T.safari?.1:ge;return}}if(this._isTimepointBuffered($)){if(this._alwaysSeekKeyframe){var Ae=this._msectl.getNearestKeyframe(Math.floor($*1e3));Ae!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Ae.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:$,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(z){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(z){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(z){this._checkAndResumeStuckPlayback()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(z){this._mediaElement.volume=z}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(z){this._mediaElement.muted=z}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(z){this._mediaElement?this._internalSeek(z):this._pendingSeekTime=z}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}}]),ee}(),ye=ae,Ce=function(){function ee(ie,z){if(Object(d.a)(this,ee),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new b.a,this._config=X(),typeof z=="object"&&Object.assign(this._config,z),ie.type.toLowerCase()==="flv")throw new t("NativePlayer does't support flv MediaDataSource input!");if(ie.hasOwnProperty("segments"))throw new t("NativePlayer(".concat(ie.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=ie,this._mediaElement=null}return Object(x.a)(ee,[{key:"destroy",value:function(){this._mediaElement&&(this.unload(),this.detachMediaElement()),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(z,$){var le=this;z===Se.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){le._emitter.emit(Se.MEDIA_INFO,le.mediaInfo)}):z===Se.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){le._emitter.emit(Se.STATISTICS_INFO,le.statisticsInfo)})),this._emitter.addListener(z,$)}},{key:"off",value:function(z,$){this._emitter.removeListener(z,$)}},{key:"attachMediaElement",value:function(z){if(this._mediaElement=z,z.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{z.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch($){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new u("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_onvLoadedMetadata",value:function(z){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Se.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(Se.STATISTICS_INFO,this.statisticsInfo)}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(z){this._mediaElement.volume=z}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(z){this._mediaElement.muted=z}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(z){this._mediaElement?this._mediaElement.currentTime=z:this._pendingSeekTime=z}},{key:"mediaInfo",get:function(){var z=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",$={mimeType:z+this._mediaDataSource.type};return this._mediaElement&&($.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&($.width=this._mediaElement.videoWidth,$.height=this._mediaElement.videoHeight)),$}},{key:"statisticsInfo",get:function(){var z={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return z;var $=!0,le=0,ge=0;if(this._mediaElement.getVideoPlaybackQuality){var Ae=this._mediaElement.getVideoPlaybackQuality();le=Ae.totalVideoFrames,ge=Ae.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(le=this._mediaElement.webkitDecodedFrameCount,ge=this._mediaElement.webkitDroppedFrameCount):$=!1;return $&&(z.decodedFrames=le,z.droppedFrames=ge),z}}]),ee}(),Oe=Ce;p.install();function Te(ee,ie){var z=ee;if(z==null||typeof z!="object")throw new t("MediaDataSource must be an javascript object!");if(!z.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(z.type){case"flv":return new ye(z,ie);default:return new Oe(z,ie)}}function xe(){return te.supportMSEH264Playback()}function ke(){return te.getFeatureList()}var lt={};lt.createPlayer=Te,lt.isSupported=xe,lt.getFeatureList=ke,lt.BaseLoader=A,lt.LoaderStatus=o,lt.LoaderErrors=h,lt.Events=Se,lt.ErrorTypes=ue,lt.ErrorDetails=se,lt.FlvPlayer=ye,lt.NativePlayer=Oe,lt.LoggingControl=We,Object.defineProperty(lt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var At=B.a=lt},GVMX:function(J,B,e){var d=e("JEkh"),x=d.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});J.exports=x},GeKi:function(J,B,e){var d=e("bYtY"),x=e("6Ic6"),g=e("IwbS"),p=e("y+Vt"),v=e("sK/D"),b=v.createClipPath,f=["itemStyle"],i=["emphasis","itemStyle"],r=["color","color0","borderColor","borderColor0"],a=x.extend({type:"candlestick",render:function(y,O,S){this.group.removeClipPath(),this._updateDrawMode(y),this._isLargeDraw?this._renderLarge(y):this._renderNormal(y)},incrementalPrepareRender:function(y,O,S){this._clear(),this._updateDrawMode(y)},incrementalRender:function(y,O,S,E){this._isLargeDraw?this._incrementalRenderLarge(y,O):this._incrementalRenderNormal(y,O)},_updateDrawMode:function(y){var O=y.pipelineContext.large;(this._isLargeDraw==null||O^this._isLargeDraw)&&(this._isLargeDraw=O,this._clear())},_renderNormal:function(y){var O=y.getData(),S=this._data,E=this.group,C=O.getLayout("isSimpleBox"),T=y.get("clip",!0),w=y.coordinateSystem,L=w.getArea&&w.getArea();this._data||E.removeAll(),O.diff(S).add(function(N){if(O.hasValue(N)){var D,F=O.getItemLayout(N);if(T&&n(L,F))return;D=l(F,N,!0),g.initProps(D,{shape:{points:F.ends}},y,N),u(D,O,N,C),E.add(D),O.setItemGraphicEl(N,D)}}).update(function(N,D){var F=S.getItemGraphicEl(D);if(!O.hasValue(N)){E.remove(F);return}var R=O.getItemLayout(N);if(T&&n(L,R)){E.remove(F);return}F?g.updateProps(F,{shape:{points:R.ends}},y,N):F=l(R,N),u(F,O,N,C),E.add(F),O.setItemGraphicEl(N,F)}).remove(function(N){var D=S.getItemGraphicEl(N);D&&E.remove(D)}).execute(),this._data=O},_renderLarge:function(y){this._clear(),o(y,this.group);var O=y.get("clip",!0)?b(y.coordinateSystem,!1,y):null;O?this.group.setClipPath(O):this.group.removeClipPath()},_incrementalRenderNormal:function(y,O){for(var S=O.getData(),E=S.getLayout("isSimpleBox"),C;(C=y.next())!=null;){var T,w=S.getItemLayout(C);T=l(w,C),u(T,S,C,E),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(y,O){o(O,this.group,!0)},remove:function(y){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:d.noop}),s=p.extend({type:"normalCandlestickBox",shape:{},buildPath:function(y,O){var S=O.points;this.__simpleBox?(y.moveTo(S[4][0],S[4][1]),y.lineTo(S[6][0],S[6][1])):(y.moveTo(S[0][0],S[0][1]),y.lineTo(S[1][0],S[1][1]),y.lineTo(S[2][0],S[2][1]),y.lineTo(S[3][0],S[3][1]),y.closePath(),y.moveTo(S[4][0],S[4][1]),y.lineTo(S[5][0],S[5][1]),y.moveTo(S[6][0],S[6][1]),y.lineTo(S[7][0],S[7][1]))}});function l(y,O,S){var E=y.ends;return new s({shape:{points:S?t(E,y):E},z2:100})}function n(y,O){for(var S=!0,E=0;E<O.ends.length;E++)if(y.contain(O.ends[E][0],O.ends[E][1])){S=!1;break}return S}function u(y,O,S,E){var C=O.getItemModel(S),T=C.getModel(f),w=O.getItemVisual(S,"color"),L=O.getItemVisual(S,"borderColor")||w,N=T.getItemStyle(r);y.useStyle(N),y.style.strokeNoScale=!0,y.style.fill=w,y.style.stroke=L,y.__simpleBox=E;var D=C.getModel(i).getItemStyle();g.setHoverStyle(y,D)}function t(y,O){return d.map(y,function(S){return S=S.slice(),S[1]=O.initBaseline,S})}var c=p.extend({type:"largeCandlestickBox",shape:{},buildPath:function(y,O){for(var S=O.points,E=0;E<S.length;)if(this.__sign===S[E++]){var C=S[E++];y.moveTo(C,S[E++]),y.lineTo(C,S[E++])}else E+=3}});function o(y,O,S){var E=y.getData(),C=E.getLayout("largePoints"),T=new c({shape:{points:C},__sign:1});O.add(T);var w=new c({shape:{points:C},__sign:-1});O.add(w),h(1,T,y,E),h(-1,w,y,E),S&&(T.incremental=!0,w.incremental=!0)}function h(y,O,S,E){var C=y>0?"P":"N",T=E.getVisual("borderColor"+C)||E.getVisual("color"+C),w=S.getModel(f).getItemStyle(r);O.useStyle(w),O.style.fill=null,O.style.stroke=T}var A=a;J.exports=A},Gev7:function(J,B,e){var d=e("bYtY"),x=e("K2GJ"),g=e("1bdT"),p=e("ni6a");function v(f){f=f||{},g.call(this,f);for(var i in f)f.hasOwnProperty(i)&&i!=="style"&&(this[i]=f[i]);this.style=new x(f.style,this),this._rect=null,this.__clipPaths=null}v.prototype={constructor:v,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(i){},afterBrush:function(i){},brush:function(i,r){},getBoundingRect:function(){},contain:function(i,r){return this.rectContain(i,r)},traverse:function(i,r){i.call(r,this)},rectContain:function(i,r){var a=this.transformCoordToLocal(i,r),s=this.getBoundingRect();return s.contain(a[0],a[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(i){return this.animate("style",i)},attrKV:function(i,r){i!=="style"?g.prototype.attrKV.call(this,i,r):this.style.set(r)},setStyle:function(i,r){return this.style.set(i,r),this.dirty(!1),this},useStyle:function(i){return this.style=new x(i,this),this.dirty(!1),this},calculateTextPosition:null},d.inherits(v,g),d.mixin(v,p);var b=v;J.exports=b},GrNh:function(J,B,e){var d=e("bYtY"),x=e("IwbS"),g=e("6Ic6");function p(a,s,l,n){var u=s.getData(),t=this.dataIndex,c=u.getName(t),o=s.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:a,name:c,seriesId:s.id}),u.each(function(h){v(u.getItemGraphicEl(h),u.getItemLayout(h),s.isSelected(u.getName(h)),o,l)})}function v(a,s,l,n,u){var t=(s.startAngle+s.endAngle)/2,c=Math.cos(t),o=Math.sin(t),h=l?n:0,A=[c*h,o*h];u?a.animate().when(200,{position:A}).start("bounceOut"):a.attr("position",A)}function b(a,s){x.Group.call(this);var l=new x.Sector({z2:2}),n=new x.Polyline,u=new x.Text;this.add(l),this.add(n),this.add(u),this.updateData(a,s,!0)}var f=b.prototype;f.updateData=function(a,s,l){var n=this.childAt(0),u=this.childAt(1),t=this.childAt(2),c=a.hostModel,o=a.getItemModel(s),h=a.getItemLayout(s),A=d.extend({},h);A.label=null;var y=c.getShallow("animationTypeUpdate");if(l){n.setShape(A);var O=c.getShallow("animationType");O==="scale"?(n.shape.r=h.r0,x.initProps(n,{shape:{r:h.r}},c,s)):(n.shape.endAngle=h.startAngle,x.updateProps(n,{shape:{endAngle:h.endAngle}},c,s))}else y==="expansion"?n.setShape(A):x.updateProps(n,{shape:A},c,s);var S=a.getItemVisual(s,"color");n.useStyle(d.defaults({lineJoin:"bevel",fill:S},o.getModel("itemStyle").getItemStyle())),n.hoverStyle=o.getModel("emphasis.itemStyle").getItemStyle();var E=o.getShallow("cursor");E&&n.attr("cursor",E),v(this,a.getItemLayout(s),c.isSelected(a.getName(s)),c.get("selectedOffset"),c.get("animation"));var C=!l&&y==="transition";this._updateLabel(a,s,C),this.highDownOnUpdate=c.get("silent")?null:function(T,w){var L=c.isAnimationEnabled()&&o.get("hoverAnimation");w==="emphasis"?(u.ignore=u.hoverIgnore,t.ignore=t.hoverIgnore,L&&(n.stopAnimation(!0),n.animateTo({shape:{r:h.r+c.get("hoverOffset")}},300,"elasticOut"))):(u.ignore=u.normalIgnore,t.ignore=t.normalIgnore,L&&(n.stopAnimation(!0),n.animateTo({shape:{r:h.r}},300,"elasticOut")))},x.setHoverStyle(this)},f._updateLabel=function(a,s,l){var n=this.childAt(1),u=this.childAt(2),t=a.hostModel,c=a.getItemModel(s),o=a.getItemLayout(s),h=o.label,A=a.getItemVisual(s,"color");if(!h||isNaN(h.x)||isNaN(h.y)){u.ignore=u.normalIgnore=u.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;return}var y={points:h.linePoints||[[h.x,h.y],[h.x,h.y],[h.x,h.y]]},O={x:h.x,y:h.y};l?(x.updateProps(n,{shape:y},t,s),x.updateProps(u,{style:O},t,s)):(n.attr({shape:y}),u.attr({style:O})),u.attr({rotation:h.rotation,origin:[h.x,h.y],z2:10});var S=c.getModel("label"),E=c.getModel("emphasis.label"),C=c.getModel("labelLine"),T=c.getModel("emphasis.labelLine"),A=a.getItemVisual(s,"color");x.setLabelStyle(u.style,u.hoverStyle={},S,E,{labelFetcher:a.hostModel,labelDataIndex:s,defaultText:h.text,autoColor:A,useInsideStyle:!!h.inside},{textAlign:h.textAlign,textVerticalAlign:h.verticalAlign,opacity:a.getItemVisual(s,"opacity")}),u.ignore=u.normalIgnore=!S.get("show"),u.hoverIgnore=!E.get("show"),n.ignore=n.normalIgnore=!C.get("show"),n.hoverIgnore=!T.get("show"),n.setStyle({stroke:A,opacity:a.getItemVisual(s,"opacity")}),n.setStyle(C.getModel("lineStyle").getLineStyle()),n.hoverStyle=T.getModel("lineStyle").getLineStyle();var w=C.get("smooth");w&&w===!0&&(w=.4),n.setShape({smooth:w})},d.inherits(b,x.Group);var i=g.extend({type:"pie",init:function(){var a=new x.Group;this._sectorGroup=a},render:function(a,s,l,n){if(n&&n.from===this.uid)return;var u=a.getData(),t=this._data,c=this.group,o=s.get("animation"),h=!t,A=a.get("animationType"),y=a.get("animationTypeUpdate"),O=d.curry(p,this.uid,a,o,l),S=a.get("selectedMode");if(u.diff(t).add(function(L){var N=new b(u,L);h&&A!=="scale"&&N.eachChild(function(D){D.stopAnimation(!0)}),S&&N.on("click",O),u.setItemGraphicEl(L,N),c.add(N)}).update(function(L,N){var D=t.getItemGraphicEl(N);!h&&y!=="transition"&&D.eachChild(function(F){F.stopAnimation(!0)}),D.updateData(u,L),D.off("click"),S&&D.on("click",O),c.add(D),u.setItemGraphicEl(L,D)}).remove(function(L){var N=t.getItemGraphicEl(L);c.remove(N)}).execute(),o&&u.count()>0&&(h?A!=="scale":y!=="transition")){for(var E=u.getItemLayout(0),C=1;isNaN(E.startAngle)&&C<u.count();++C)E=u.getItemLayout(C);var T=Math.max(l.getWidth(),l.getHeight())/2,w=d.bind(c.removeClipPath,c);c.setClipPath(this._createClipPath(E.cx,E.cy,T,E.startAngle,E.clockwise,w,a,h))}else c.removeClipPath();this._data=u},dispose:function(){},_createClipPath:function(a,s,l,n,u,t,c,o){var h=new x.Sector({shape:{cx:a,cy:s,r0:0,r:l,startAngle:n,endAngle:n,clockwise:u}}),A=o?x.initProps:x.updateProps;return A(h,{shape:{endAngle:n+(u?1:-1)*Math.PI*2}},c,t),h},containPoint:function(a,s){var l=s.getData(),n=l.getItemLayout(0);if(n){var u=a[0]-n.cx,t=a[1]-n.cy,c=Math.sqrt(u*u+t*t);return c<=n.r&&c>=n.r0}}}),r=i;J.exports=r},Gytx:function(J,B){J.exports=function(d,x,g,p){var v=g?g.call(p,d,x):void 0;if(v!==void 0)return!!v;if(d===x)return!0;if(typeof d!="object"||!d||typeof x!="object"||!x)return!1;var b=Object.keys(d),f=Object.keys(x);if(b.length!==f.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(x),r=0;r<b.length;r++){var a=b[r];if(!i(a))return!1;var s=d[a],l=x[a];if(v=g?g.call(p,s,l,a):void 0,v===!1||v===void 0&&s!==l)return!1}return!0}},GzdX:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("q1tI"),p=e.n(g),v=e("rePB"),b=e("1OyB"),f=e("vuIU"),i=e("Ji7U"),r=e("md7G"),a=e("foSv"),s=e("m+aA"),l=e("TSYQ"),n=e.n(l),u=e("4IlW");function t(K){var H=K.pageXOffset,_="scrollLeft";if(typeof H!="number"){var Z=K.document;H=Z.documentElement[_],typeof H!="number"&&(H=Z.body[_])}return H}function c(K){var H,_,Z=K.ownerDocument,Y=Z.body,k=Z&&Z.documentElement,Q=K.getBoundingClientRect();return H=Q.left,_=Q.top,H-=k.clientLeft||Y.clientLeft||0,_-=k.clientTop||Y.clientTop||0,{left:H,top:_}}function o(K){var H=c(K),_=K.ownerDocument,Z=_.defaultView||_.parentWindow;return H.left+=t(Z),H.left}function h(K){var H=A();return function(){var Z=Object(a.a)(K),Y;if(H){var k=Object(a.a)(this).constructor;Y=Reflect.construct(Z,arguments,k)}else Y=Z.apply(this,arguments);return Object(r.a)(this,Y)}}function A(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(K){return!1}}var y=function(K){Object(i.a)(_,K);var H=h(_);function _(){var Z;return Object(b.a)(this,_),Z=H.apply(this,arguments),Z.onHover=function(Y){var k=Z.props,Q=k.onHover,X=k.index;Q(Y,X)},Z.onClick=function(Y){var k=Z.props,Q=k.onClick,X=k.index;Q(Y,X)},Z.onKeyDown=function(Y){var k=Z.props,Q=k.onClick,X=k.index;Y.keyCode===13&&Q(Y,X)},Z}return Object(f.a)(_,[{key:"getClassName",value:function(){var Y=this.props,k=Y.prefixCls,Q=Y.index,X=Y.value,he=Y.allowHalf,te=Y.focused,pe=Q+1,Se=k;return X===0&&Q===0&&te?Se+=" ".concat(k,"-focused"):he&&X+.5>=pe&&X<pe?(Se+=" ".concat(k,"-half ").concat(k,"-active"),te&&(Se+=" ".concat(k,"-focused"))):(Se+=pe<=X?" ".concat(k,"-full"):" ".concat(k,"-zero"),pe===X&&te&&(Se+=" ".concat(k,"-focused"))),Se}},{key:"render",value:function(){var Y=this.onHover,k=this.onClick,Q=this.onKeyDown,X=this.props,he=X.disabled,te=X.prefixCls,pe=X.character,Se=X.characterRender,we=X.index,We=X.count,qe=X.value,yt=typeof pe=="function"?pe(this.props):pe,_e=p.a.createElement("li",{className:this.getClassName()},p.a.createElement("div",{onClick:he?null:k,onKeyDown:he?null:Q,onMouseMove:he?null:Y,role:"radio","aria-checked":qe>we?"true":"false","aria-posinset":we+1,"aria-setsize":We,tabIndex:he?-1:0},p.a.createElement("div",{className:"".concat(te,"-first")},yt),p.a.createElement("div",{className:"".concat(te,"-second")},yt)));return Se&&(_e=Se(_e,this.props)),_e}}]),_}(p.a.Component);function O(K,H){var _=Object.keys(K);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(K);H&&(Z=Z.filter(function(Y){return Object.getOwnPropertyDescriptor(K,Y).enumerable})),_.push.apply(_,Z)}return _}function S(K){for(var H=1;H<arguments.length;H++){var _=arguments[H]!=null?arguments[H]:{};H%2?O(Object(_),!0).forEach(function(Z){Object(v.a)(K,Z,_[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(K,Object.getOwnPropertyDescriptors(_)):O(Object(_)).forEach(function(Z){Object.defineProperty(K,Z,Object.getOwnPropertyDescriptor(_,Z))})}return K}function E(K){var H=C();return function(){var Z=Object(a.a)(K),Y;if(H){var k=Object(a.a)(this).constructor;Y=Reflect.construct(Z,arguments,k)}else Y=Z.apply(this,arguments);return Object(r.a)(this,Y)}}function C(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(K){return!1}}function T(){}var w=function(K){Object(i.a)(_,K);var H=E(_);function _(Z){var Y;Object(b.a)(this,_),Y=H.call(this,Z),Y.onHover=function(Q,X){var he=Y.props.onHoverChange,te=Y.getStarValue(X,Q.pageX),pe=Y.state.cleanedValue;te!==pe&&Y.setState({hoverValue:te,cleanedValue:null}),he(te)},Y.onMouseLeave=function(){var Q=Y.props.onHoverChange;Y.setState({hoverValue:void 0,cleanedValue:null}),Q(void 0)},Y.onClick=function(Q,X){var he=Y.props.allowClear,te=Y.state.value,pe=Y.getStarValue(X,Q.pageX),Se=!1;he&&(Se=pe===te),Y.onMouseLeave(),Y.changeValue(Se?0:pe),Y.setState({cleanedValue:Se?pe:null})},Y.onFocus=function(){var Q=Y.props.onFocus;Y.setState({focused:!0}),Q&&Q()},Y.onBlur=function(){var Q=Y.props.onBlur;Y.setState({focused:!1}),Q&&Q()},Y.onKeyDown=function(Q){var X=Q.keyCode,he=Y.props,te=he.count,pe=he.allowHalf,Se=he.onKeyDown,we=he.direction,We=we==="rtl",qe=Y.state.value;X===u.a.RIGHT&&qe<te&&!We?(pe?qe+=.5:qe+=1,Y.changeValue(qe),Q.preventDefault()):X===u.a.LEFT&&qe>0&&!We||X===u.a.RIGHT&&qe>0&&We?(pe?qe-=.5:qe-=1,Y.changeValue(qe),Q.preventDefault()):X===u.a.LEFT&&qe<te&&We&&(pe?qe+=.5:qe+=1,Y.changeValue(qe),Q.preventDefault()),Se&&Se(Q)},Y.saveRef=function(Q){return function(X){Y.stars[Q]=X}},Y.saveRate=function(Q){Y.rate=Q};var k=Z.value;return k===void 0&&(k=Z.defaultValue),Y.stars={},Y.state={value:k,focused:!1,cleanedValue:null},Y}return Object(f.a)(_,[{key:"componentDidMount",value:function(){var Y=this.props,k=Y.autoFocus,Q=Y.disabled;k&&!Q&&this.focus()}},{key:"getStarDOM",value:function(Y){return Object(s.a)(this.stars[Y])}},{key:"getStarValue",value:function(Y,k){var Q=this.props,X=Q.allowHalf,he=Q.direction,te=he==="rtl",pe=Y+1;if(X){var Se=this.getStarDOM(Y),we=o(Se),We=Se.clientWidth;(te&&k-we>We/2||!te&&k-we<We/2)&&(pe-=.5)}return pe}},{key:"focus",value:function(){var Y=this.props.disabled;Y||this.rate.focus()}},{key:"blur",value:function(){var Y=this.props.disabled;Y||this.rate.blur()}},{key:"changeValue",value:function(Y){var k=this.props.onChange;"value"in this.props||this.setState({value:Y}),k(Y)}},{key:"render",value:function(){for(var Y=this.props,k=Y.count,Q=Y.allowHalf,X=Y.style,he=Y.prefixCls,te=Y.disabled,pe=Y.className,Se=Y.character,we=Y.characterRender,We=Y.tabIndex,qe=Y.direction,yt=this.state,_e=yt.value,je=yt.hoverValue,Ct=yt.focused,ct=[],nt=te?"".concat(he,"-disabled"):"",bt=0;bt<k;bt+=1)ct.push(p.a.createElement(y,{ref:this.saveRef(bt),index:bt,count:k,disabled:te,prefixCls:"".concat(he,"-star"),allowHalf:Q,value:je===void 0?_e:je,onClick:this.onClick,onHover:this.onHover,key:bt,character:Se,characterRender:we,focused:Ct}));var dt=n()(he,nt,pe,Object(v.a)({},"".concat(he,"-rtl"),qe==="rtl"));return p.a.createElement("ul",{className:dt,style:X,onMouseLeave:te?null:this.onMouseLeave,tabIndex:te?-1:We,onFocus:te?null:this.onFocus,onBlur:te?null:this.onBlur,onKeyDown:te?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},ct)}}],[{key:"getDerivedStateFromProps",value:function(Y,k){return"value"in Y&&Y.value!==void 0?S(S({},k),{},{value:Y.value}):k}}]),_}(p.a.Component);w.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:T,character:"\u2605",onHoverChange:T,tabIndex:0,direction:"ltr"};var L=w,N=L,D=e("Lerx"),F=e.n(D),R=e("3S7+"),U=e("H84U"),M=function(K,H){var _={};for(var Z in K)Object.prototype.hasOwnProperty.call(K,Z)&&H.indexOf(Z)<0&&(_[Z]=K[Z]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,Z=Object.getOwnPropertySymbols(K);Y<Z.length;Y++)H.indexOf(Z[Y])<0&&Object.prototype.propertyIsEnumerable.call(K,Z[Y])&&(_[Z[Y]]=K[Z[Y]]);return _},j=g.forwardRef(function(K,H){var _=K.prefixCls,Z=K.tooltips,Y=M(K,["prefixCls","tooltips"]),k=function(Se,we){var We=we.index;return Z?g.createElement(R.a,{title:Z[We]},Se):Se},Q=g.useContext(U.b),X=Q.getPrefixCls,he=Q.direction,te=X("rate",_);return g.createElement(N,x()({ref:H,characterRender:k},Y,{prefixCls:te,direction:he}))});j.displayName="Rate",j.defaultProps={character:g.createElement(F.a,null)};var P=B.a=j},H6uX:function(J,B){var e=Array.prototype.slice,d=function(b){this._$handlers={},this._$eventProcessor=b};d.prototype={constructor:d,one:function(b,f,i,r){return g(this,b,f,i,r,!0)},on:function(b,f,i,r){return g(this,b,f,i,r,!1)},isSilent:function(b){var f=this._$handlers;return!f[b]||!f[b].length},off:function(b,f){var i=this._$handlers;if(!b)return this._$handlers={},this;if(f){if(i[b]){for(var r=[],a=0,s=i[b].length;a<s;a++)i[b][a].h!==f&&r.push(i[b][a]);i[b]=r}i[b]&&i[b].length===0&&delete i[b]}else delete i[b];return this},trigger:function(b){var f=this._$handlers[b],i=this._$eventProcessor;if(f){var r=arguments,a=r.length;a>3&&(r=e.call(r,1));for(var s=f.length,l=0;l<s;){var n=f[l];if(i&&i.filter&&n.query!=null&&!i.filter(b,n.query)){l++;continue}switch(a){case 1:n.h.call(n.ctx);break;case 2:n.h.call(n.ctx,r[1]);break;case 3:n.h.call(n.ctx,r[1],r[2]);break;default:n.h.apply(n.ctx,r);break}n.one?(f.splice(l,1),s--):l++}}return i&&i.afterTrigger&&i.afterTrigger(b),this},triggerWithContext:function(b){var f=this._$handlers[b],i=this._$eventProcessor;if(f){var r=arguments,a=r.length;a>4&&(r=e.call(r,1,r.length-1));for(var s=r[r.length-1],l=f.length,n=0;n<l;){var u=f[n];if(i&&i.filter&&u.query!=null&&!i.filter(b,u.query)){n++;continue}switch(a){case 1:u.h.call(s);break;case 2:u.h.call(s,r[1]);break;case 3:u.h.call(s,r[1],r[2]);break;default:u.h.apply(s,r);break}u.one?(f.splice(n,1),l--):n++}}return i&&i.afterTrigger&&i.afterTrigger(b),this}};function x(v,b){var f=v._$eventProcessor;return b!=null&&f&&f.normalizeQuery&&(b=f.normalizeQuery(b)),b}function g(v,b,f,i,r,a){var s=v._$handlers;if(typeof f=="function"&&(r=i,i=f,f=null),!i||!b)return v;f=x(v,f),s[b]||(s[b]=[]);for(var l=0;l<s[b].length;l++)if(s[b][l].h===i)return v;var n={h:i,one:a,query:f,ctx:r||v,callAtLast:i.zrEventfulCallAtLast},u=s[b].length-1,t=s[b][u];return t&&t.callAtLast?s[b].splice(u,0,n):s[b].push(n),v}var p=d;J.exports=p},H8j4:function(J,B,e){var d=e("QkVE");function x(g,p){var v=d(this,g),b=v.size;return v.set(g,p),this.size+=v.size==b?0:1,this}J.exports=x},HBhm:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};B.default=d},HDyB:function(J,B,e){var d=e("nmnc"),x=e("JHRd"),g=e("ljhN"),p=e("or5M"),v=e("7fqy"),b=e("rEGp"),f=1,i=2,r="[object Boolean]",a="[object Date]",s="[object Error]",l="[object Map]",n="[object Number]",u="[object RegExp]",t="[object Set]",c="[object String]",o="[object Symbol]",h="[object ArrayBuffer]",A="[object DataView]",y=d?d.prototype:void 0,O=y?y.valueOf:void 0;function S(E,C,T,w,L,N,D){switch(T){case A:if(E.byteLength!=C.byteLength||E.byteOffset!=C.byteOffset)return!1;E=E.buffer,C=C.buffer;case h:return!(E.byteLength!=C.byteLength||!N(new x(E),new x(C)));case r:case a:case n:return g(+E,+C);case s:return E.name==C.name&&E.message==C.message;case u:case c:return E==C+"";case l:var F=v;case t:var R=w&f;if(F||(F=b),E.size!=C.size&&!R)return!1;var U=D.get(E);if(U)return U==C;w|=i,D.set(E,C);var M=p(F(E),F(C),w,L,N,D);return D.delete(E),M;case o:if(O)return O.call(E)==O.call(C)}return!1}J.exports=S},"HF/U":function(J,B,e){var d=e("QBsz");function x(p){var v=p.coordinateSystem;if(v&&v.type!=="view")return;var b=p.getGraph();b.eachNode(function(f){var i=f.getModel();f.setLayout([+i.get("x"),+i.get("y")])}),g(b)}function g(p){p.eachEdge(function(v){var b=v.getModel().get("lineStyle.curveness")||0,f=d.clone(v.node1.getLayout()),i=d.clone(v.node2.getLayout()),r=[f,i];+b&&r.push([(f[0]+i[0])/2-(f[1]-i[1])*b,(f[1]+i[1])/2-(i[0]-f[0])*b]),v.setLayout(r)})}B.simpleLayout=x,B.simpleLayoutEdge=g},"HM/N":function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=e("/SeX"),v=e("OELB"),b=v.parsePercent,f=e("aX7z"),i=f.createScaleByModel,r=f.niceScaleExtent,a=e("IDmD"),s=e("7hqr"),l=s.getStackedDimension;e("ePAk");function n(o,h,A){var y=h.get("center"),O=A.getWidth(),S=A.getHeight();o.cx=b(y[0],O),o.cy=b(y[1],S);var E=o.getRadiusAxis(),C=Math.min(O,S)/2,T=h.get("radius");T==null?T=[0,"100%"]:g.isArray(T)||(T=[0,T]),T=[b(T[0],C),b(T[1],C)],E.inverse?E.setExtent(T[1],T[0]):E.setExtent(T[0],T[1])}function u(o,h){var A=this,y=A.getAngleAxis(),O=A.getRadiusAxis();if(y.scale.setExtent(Infinity,-Infinity),O.scale.setExtent(Infinity,-Infinity),o.eachSeries(function(C){if(C.coordinateSystem===A){var T=C.getData();g.each(T.mapDimension("radius",!0),function(w){O.scale.unionExtentFromData(T,l(T,w))}),g.each(T.mapDimension("angle",!0),function(w){y.scale.unionExtentFromData(T,l(T,w))})}}),r(y.scale,y.model),r(O.scale,O.model),y.type==="category"&&!y.onBand){var S=y.getExtent(),E=360/y.scale.count();y.inverse?S[1]+=E:S[1]-=E,y.setExtent(S[0],S[1])}}function t(o,h){if(o.type=h.get("type"),o.scale=i(h),o.onBand=h.get("boundaryGap")&&o.type==="category",o.inverse=h.get("inverse"),h.mainType==="angleAxis"){o.inverse^=h.get("clockwise");var A=h.get("startAngle");o.setExtent(A,A+(o.inverse?-360:360))}h.axis=o,o.model=h}var c={dimensions:p.prototype.dimensions,create:function(o,h){var A=[];return o.eachComponent("polar",function(y,O){var S=new p(O);S.update=u;var E=S.getRadiusAxis(),C=S.getAngleAxis(),T=y.findAxisModel("radiusAxis"),w=y.findAxisModel("angleAxis");t(E,T),t(C,w),n(S,y,h),A.push(S),y.coordinateSystem=S,S.model=y}),o.eachSeries(function(y){if(y.get("coordinateSystem")==="polar"){var O=o.queryComponents({mainType:"polar",index:y.get("polarIndex"),id:y.get("polarId")})[0];y.coordinateSystem=O.coordinateSystem}}),A}};a.register("polar",c)},HOxn:function(J,B,e){var d=e("Cwc5"),x=e("Kz5y"),g=d(x,"Promise");J.exports=g},HQEm:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("Sj0X"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},HjIi:function(J,B,e){var d=e("bYtY"),x=e("OELB"),g=x.parsePercent,p=e("7hqr"),v=p.isDimensionStacked;function b(s){return s.get("stack")||"__ec_stack_"+s.seriesIndex}function f(s,l){return l.dim+s.model.componentIndex}function i(s,l,n){var u={},t=r(d.filter(l.getSeriesByType(s),function(c){return!l.isSeriesFiltered(c)&&c.coordinateSystem&&c.coordinateSystem.type==="polar"}));l.eachSeriesByType(s,function(c){if(c.coordinateSystem.type!=="polar")return;var o=c.getData(),h=c.coordinateSystem,A=h.getBaseAxis(),y=f(h,A),O=b(c),S=t[y][O],E=S.offset,C=S.width,T=h.getOtherAxis(A),w=c.coordinateSystem.cx,L=c.coordinateSystem.cy,N=c.get("barMinHeight")||0,D=c.get("barMinAngle")||0;u[O]=u[O]||[];for(var F=o.mapDimension(T.dim),R=o.mapDimension(A.dim),U=v(o,F),M=A.dim!=="radius"||!c.get("roundCap",!0),j=T.getExtent()[0],P=0,K=o.count();P<K;P++){var H=o.get(F,P),_=o.get(R,P),Z=H>=0?"p":"n",Y=j;U&&(u[O][_]||(u[O][_]={p:j,n:j}),Y=u[O][_][Z]);var k,Q,X,he;if(T.dim==="radius"){var te=T.dataToRadius(H)-j,pe=A.dataToAngle(_);Math.abs(te)<N&&(te=(te<0?-1:1)*N),k=Y,Q=Y+te,X=pe-E,he=X-C,U&&(u[O][_][Z]=Q)}else{var Se=T.dataToAngle(H,M)-j,we=A.dataToRadius(_);Math.abs(Se)<D&&(Se=(Se<0?-1:1)*D),k=we+E,Q=k+C,X=Y,he=Y+Se,U&&(u[O][_][Z]=he)}o.setItemLayout(P,{cx:w,cy:L,r0:k,r:Q,startAngle:-X*Math.PI/180,endAngle:-he*Math.PI/180})}},this)}function r(s,l){var n={};d.each(s,function(t,c){var o=t.getData(),h=t.coordinateSystem,A=h.getBaseAxis(),y=f(h,A),O=A.getExtent(),S=A.type==="category"?A.getBandWidth():Math.abs(O[1]-O[0])/o.count(),E=n[y]||{bandWidth:S,remainedWidth:S,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},C=E.stacks;n[y]=E;var T=b(t);C[T]||E.autoWidthCount++,C[T]=C[T]||{width:0,maxWidth:0};var w=g(t.get("barWidth"),S),L=g(t.get("barMaxWidth"),S),N=t.get("barGap"),D=t.get("barCategoryGap");w&&!C[T].width&&(w=Math.min(E.remainedWidth,w),C[T].width=w,E.remainedWidth-=w),L&&(C[T].maxWidth=L),N!=null&&(E.gap=N),D!=null&&(E.categoryGap=D)});var u={};return d.each(n,function(t,c){u[c]={};var o=t.stacks,h=t.bandWidth,A=g(t.categoryGap,h),y=g(t.gap,1),O=t.remainedWidth,S=t.autoWidthCount,E=(O-A)/(S+(S-1)*y);E=Math.max(E,0),d.each(o,function(L,N){var D=L.maxWidth;D&&D<E&&(D=Math.min(D,O),L.width&&(D=Math.min(D,L.width)),O-=D,L.width=D,S--)}),E=(O-A)/(S+(S-1)*y),E=Math.max(E,0);var C=0,T;d.each(o,function(L,N){L.width||(L.width=E),T=L,C+=L.width*(1+y)}),T&&(C-=T.width*y);var w=-C/2;d.each(o,function(L,N){u[c][N]=u[c][N]||{offset:w,width:L.width},w+=L.width*(1+y)})}),u}var a=i;J.exports=a},HjOm:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},x=d;B.default=x},Hvzi:function(J,B){function e(d){var x=this.has(d)&&delete this.__data__[d];return this.size-=x?1:0,x}J.exports=e},Hw7h:function(J,B,e){var d=e("y+Vt"),x=d.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(g,p){var v=Math.cos,b=Math.sin,f=p.r,i=p.width,r=p.angle,a=p.x-v(r)*i*(i>=f/3?1:2),s=p.y-b(r)*i*(i>=f/3?1:2);r=p.angle-Math.PI/2,g.moveTo(a,s),g.lineTo(p.x+v(r)*i,p.y+b(r)*i),g.lineTo(p.x+v(p.angle)*f,p.y+b(p.angle)*f),g.lineTo(p.x-v(r)*i,p.y-b(r)*i),g.lineTo(a,s);return}});J.exports=x},Hxpc:function(J,B,e){var d=e("bYtY"),x=e("4NO4"),g=e("bLfw"),p=e("Qxkt"),v=e("cCMj"),b=e("7uqq"),f=g.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(r){g.prototype.init.apply(this,arguments),x.defaultEmphasis(r,"label",["show"])},optionUpdated:function(){var r=this.option,a=this;r.regions=b.getFilledRegions(r.regions,r.map,r.nameMap),this._optionModelMap=d.reduce(r.regions||[],function(s,l){return l.name&&s.set(l.name,new p(l,a)),s},d.createHashMap()),this.updateSelectedMap(r.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(r){return this._optionModelMap.get(r)||new p(null,this,this.ecModel)},getFormattedLabel:function(r,a){var s=this.getRegionModel(r),l=s.get("label"+(a==="normal"?".":a+".")+"formatter"),n={name:r};if(typeof l=="function")return n.status=a,l(n);if(typeof l=="string")return l.replace("{a}",r!=null?r:"")},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r}});d.mixin(f,v);var i=f;J.exports=i},"I+77":function(J,B,e){var d=e("ProS");e("h54F"),e("lwQL"),e("10cm");var x=e("Z1r0"),g=e("f5Yq"),p=e("KUOm"),v=e("3m61"),b=e("01d+"),f=e("rdor"),i=e("WGYa"),r=e("ewwo");d.registerProcessor(x),d.registerVisual(g("graph","circle",null)),d.registerVisual(p),d.registerVisual(v),d.registerLayout(b),d.registerLayout(d.PRIORITY.VISUAL.POST_CHART_LAYOUT,f),d.registerLayout(i),d.registerCoordinateSystem("graphView",{create:r})},"I+Bx":function(J,B,e){var d=e("bYtY"),x=e("eIcI"),g=e("ieMj"),p=e("OELB"),v=e("aX7z"),b=v.getScaleExtent,f=v.niceScaleExtent,i=e("IDmD"),r=e("jCoz");function a(l,n,u){this._model=l,this.dimensions=[],this._indicatorAxes=d.map(l.getIndicatorModels(),function(t,c){var o="indicator_"+c,h=new x(o,t.get("axisType")==="log"?new r:new g);return h.name=t.get("name"),h.model=t,t.axis=h,this.dimensions.push(o),h},this),this.resize(l,u),this.cx,this.cy,this.r,this.r0,this.startAngle}a.prototype.getIndicatorAxes=function(){return this._indicatorAxes},a.prototype.dataToPoint=function(l,n){var u=this._indicatorAxes[n];return this.coordToPoint(u.dataToCoord(l),n)},a.prototype.coordToPoint=function(l,n){var u=this._indicatorAxes[n],t=u.angle,c=this.cx+l*Math.cos(t),o=this.cy-l*Math.sin(t);return[c,o]},a.prototype.pointToData=function(l){var n=l[0]-this.cx,u=l[1]-this.cy,t=Math.sqrt(n*n+u*u);n/=t,u/=t;for(var c=Math.atan2(-u,n),o=Infinity,h,A=-1,y=0;y<this._indicatorAxes.length;y++){var O=this._indicatorAxes[y],S=Math.abs(c-O.angle);S<o&&(h=O,A=y,o=S)}return[A,+(h&&h.coordToData(t))]},a.prototype.resize=function(l,n){var u=l.get("center"),t=n.getWidth(),c=n.getHeight(),o=Math.min(t,c)/2;this.cx=p.parsePercent(u[0],t),this.cy=p.parsePercent(u[1],c),this.startAngle=l.get("startAngle")*Math.PI/180;var h=l.get("radius");(typeof h=="string"||typeof h=="number")&&(h=[0,h]),this.r0=p.parsePercent(h[0],o),this.r=p.parsePercent(h[1],o),d.each(this._indicatorAxes,function(A,y){A.setExtent(this.r0,this.r);var O=this.startAngle+y*Math.PI*2/this._indicatorAxes.length;O=Math.atan2(Math.sin(O),Math.cos(O)),A.angle=O},this)},a.prototype.update=function(l,n){var u=this._indicatorAxes,t=this._model;d.each(u,function(h){h.scale.setExtent(Infinity,-Infinity)}),l.eachSeriesByType("radar",function(h,A){if(h.get("coordinateSystem")!=="radar"||l.getComponent("radar",h.get("radarIndex"))!==t)return;var y=h.getData();d.each(u,function(O){O.scale.unionExtentFromData(y,y.mapDimension(O.dim))})},this);var c=t.get("splitNumber");function o(h){var A=Math.pow(10,Math.floor(Math.log(h)/Math.LN10)),y=h/A;return y===2?y=5:y*=2,y*A}d.each(u,function(h,A){var y=b(h.scale,h.model).extent;f(h.scale,h.model);var O=h.model,S=h.scale,E=O.getMin(),C=O.getMax(),T=S.getInterval();if(E!=null&&C!=null)S.setExtent(+E,+C),S.setInterval((C-E)/c);else if(E!=null){var w;do w=E+T*c,S.setExtent(+E,w),S.setInterval(T),T=o(T);while(w<y[1]&&isFinite(w)&&isFinite(y[1]))}else if(C!=null){var L;do L=C-T*c,S.setExtent(L,+C),S.setInterval(T),T=o(T);while(L>y[0]&&isFinite(L)&&isFinite(y[0]))}else{var N=S.getTicks().length-1;N>c&&(T=o(T));var w=Math.ceil(y[1]/T)*T,L=p.round(w-T*c);S.setExtent(L,w),S.setInterval(T)}})},a.dimensions=[],a.create=function(l,n){var u=[];return l.eachComponent("radar",function(t){var c=new a(t,l,n);u.push(c),t.coordinateSystem=c}),l.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=u[t.get("radarIndex")||0])}),u},i.register("radar",a);var s=a;J.exports=s},"I3/A":function(J,B,e){var d=e("bYtY"),x=e("YXkt"),g=e("c2i1"),p=e("Mdki"),v=e("sdST"),b=e("IDmD"),f=e("MwEJ");function i(r,a,s,l,n){for(var u=new g(l),t=0;t<r.length;t++)u.addNode(d.retrieve(r[t].id,r[t].name,t),t);for(var c=[],o=[],h=0,t=0;t<a.length;t++){var A=a[t],y=A.source,O=A.target;u.addEdge(y,O,h)&&(o.push(A),c.push(d.retrieve(A.id,y+" > "+O)),h++)}var S=s.get("coordinateSystem"),E;if(S==="cartesian2d"||S==="polar")E=f(r,s);else{var C=b.get(S),T=C&&C.type!=="view"?C.dimensions||[]:[];d.indexOf(T,"value")<0&&T.concat(["value"]);var w=v(r,{coordDimensions:T});E=new x(w,s),E.initData(r)}var L=new x(["value"],s);return L.initData(o,c),n&&n(E,L),p({mainData:E,struct:u,structAttr:"graph",datas:{node:E,edge:L},datasAttr:{node:"data",edge:"edgeData"}}),u.update(),u}J.exports=i},"I9Y+":function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("4xFK")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="DoubleRightOutlined";var f=g.forwardRef(b);B.default=f},ICMv:function(J,B,e){var d=e("bYtY"),x={getMin:function(g){var p=this.option,v=!g&&p.rangeStart!=null?p.rangeStart:p.min;return this.axis&&v!=null&&v!=="dataMin"&&typeof v!="function"&&!d.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getMax:function(g){var p=this.option,v=!g&&p.rangeEnd!=null?p.rangeEnd:p.max;return this.axis&&v!=null&&v!=="dataMax"&&typeof v!="function"&&!d.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getNeedCrossZero:function(){var g=this.option;return g.rangeStart!=null||g.rangeEnd!=null?!1:!g.scale},getCoordSysModel:d.noop,setRange:function(g,p){this.option.rangeStart=g,this.option.rangeEnd=p},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};J.exports=x},IDmD:function(J,B,e){var d=e("bYtY"),x={};function g(){this._coordinateSystems=[]}g.prototype={constructor:g,create:function(v,b){var f=[];d.each(x,function(i,r){var a=i.create(v,b);f=f.concat(a||[])}),this._coordinateSystems=f},update:function(v,b){d.each(this._coordinateSystems,function(f){f.update&&f.update(v,b)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},g.register=function(v,b){x[v]=b},g.get=function(v){return x[v]};var p=g;J.exports=p},IMiH:function(J,B,e){var d=e("Sj9i"),x=e("QBsz"),g=e("4mN7"),p=e("mFDi"),v=e("LPTA"),b=v.devicePixelRatio,f={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},i=[],r=[],a=[],s=[],l=Math.min,n=Math.max,u=Math.cos,t=Math.sin,c=Math.sqrt,o=Math.abs,h=typeof Float32Array!="undefined",A=function(S){this._saveData=!(S||!1),this._saveData&&(this.data=[]),this._ctx=null};A.prototype={constructor:A,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(S,E,C){C=C||0,this._ux=o(C/b/S)||0,this._uy=o(C/b/E)||0},getContext:function(){return this._ctx},beginPath:function(S){return this._ctx=S,S&&S.beginPath(),S&&(this.dpr=S.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(S,E){return this.addData(f.M,S,E),this._ctx&&this._ctx.moveTo(S,E),this._x0=S,this._y0=E,this._xi=S,this._yi=E,this},lineTo:function(S,E){var C=o(S-this._xi)>this._ux||o(E-this._yi)>this._uy||this._len<5;return this.addData(f.L,S,E),this._ctx&&C&&(this._needsDash()?this._dashedLineTo(S,E):this._ctx.lineTo(S,E)),C&&(this._xi=S,this._yi=E),this},bezierCurveTo:function(S,E,C,T,w,L){return this.addData(f.C,S,E,C,T,w,L),this._ctx&&(this._needsDash()?this._dashedBezierTo(S,E,C,T,w,L):this._ctx.bezierCurveTo(S,E,C,T,w,L)),this._xi=w,this._yi=L,this},quadraticCurveTo:function(S,E,C,T){return this.addData(f.Q,S,E,C,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(S,E,C,T):this._ctx.quadraticCurveTo(S,E,C,T)),this._xi=C,this._yi=T,this},arc:function(S,E,C,T,w,L){return this.addData(f.A,S,E,C,C,T,w-T,0,L?0:1),this._ctx&&this._ctx.arc(S,E,C,T,w,L),this._xi=u(w)*C+S,this._yi=t(w)*C+E,this},arcTo:function(S,E,C,T,w){return this._ctx&&this._ctx.arcTo(S,E,C,T,w),this},rect:function(S,E,C,T){return this._ctx&&this._ctx.rect(S,E,C,T),this.addData(f.R,S,E,C,T),this},closePath:function(){this.addData(f.Z);var S=this._ctx,E=this._x0,C=this._y0;return S&&(this._needsDash()&&this._dashedLineTo(E,C),S.closePath()),this._xi=E,this._yi=C,this},fill:function(S){S&&S.fill(),this.toStatic()},stroke:function(S){S&&S.stroke(),this.toStatic()},setLineDash:function(S){if(S instanceof Array){this._lineDash=S,this._dashIdx=0;for(var E=0,C=0;C<S.length;C++)E+=S[C];this._dashSum=E}return this},setLineDashOffset:function(S){return this._dashOffset=S,this},len:function(){return this._len},setData:function(S){var E=S.length;!(this.data&&this.data.length===E)&&h&&(this.data=new Float32Array(E));for(var C=0;C<E;C++)this.data[C]=S[C];this._len=E},appendPath:function(S){S instanceof Array||(S=[S]);for(var E=S.length,C=0,T=this._len,w=0;w<E;w++)C+=S[w].len();h&&this.data instanceof Float32Array&&(this.data=new Float32Array(T+C));for(var w=0;w<E;w++)for(var L=S[w].data,N=0;N<L.length;N++)this.data[T++]=L[N];this._len=T},addData:function(S){if(!this._saveData)return;var E=this.data;this._len+arguments.length>E.length&&(this._expandData(),E=this.data);for(var C=0;C<arguments.length;C++)E[this._len++]=arguments[C];this._prevCmd=S},_expandData:function(){if(!(this.data instanceof Array)){for(var S=[],E=0;E<this._len;E++)S[E]=this.data[E];this.data=S}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(S,E){var C=this._dashSum,T=this._dashOffset,w=this._lineDash,L=this._ctx,N=this._xi,D=this._yi,F=S-N,R=E-D,U=c(F*F+R*R),M=N,j=D,P,K=w.length,H;for(F/=U,R/=U,T<0&&(T=C+T),T%=C,M-=T*F,j-=T*R;F>0&&M<=S||F<0&&M>=S||F===0&&(R>0&&j<=E||R<0&&j>=E);){if(H=this._dashIdx,P=w[H],M+=F*P,j+=R*P,this._dashIdx=(H+1)%K,F>0&&M<N||F<0&&M>N||R>0&&j<D||R<0&&j>D)continue;L[H%2?"moveTo":"lineTo"](F>=0?l(M,S):n(M,S),R>=0?l(j,E):n(j,E))}F=M-S,R=j-E,this._dashOffset=-c(F*F+R*R)},_dashedBezierTo:function(S,E,C,T,w,L){var N=this._dashSum,D=this._dashOffset,F=this._lineDash,R=this._ctx,U=this._xi,M=this._yi,j,P,K,H=d.cubicAt,_=0,Z=this._dashIdx,Y=F.length,k,Q,X=0;for(D<0&&(D=N+D),D%=N,j=0;j<1;j+=.1)P=H(U,S,C,w,j+.1)-H(U,S,C,w,j),K=H(M,E,T,L,j+.1)-H(M,E,T,L,j),_+=c(P*P+K*K);for(;Z<Y&&!(X+=F[Z],X>D);Z++);for(j=(X-D)/_;j<=1;)k=H(U,S,C,w,j),Q=H(M,E,T,L,j),Z%2?R.moveTo(k,Q):R.lineTo(k,Q),j+=F[Z]/_,Z=(Z+1)%Y;Z%2!==0&&R.lineTo(w,L),P=w-k,K=L-Q,this._dashOffset=-c(P*P+K*K)},_dashedQuadraticTo:function(S,E,C,T){var w=C,L=T;C=(C+2*S)/3,T=(T+2*E)/3,S=(this._xi+2*S)/3,E=(this._yi+2*E)/3,this._dashedBezierTo(S,E,C,T,w,L)},toStatic:function(){var S=this.data;S instanceof Array&&(S.length=this._len,h&&(this.data=new Float32Array(S)))},getBoundingRect:function(){i[0]=i[1]=a[0]=a[1]=Number.MAX_VALUE,r[0]=r[1]=s[0]=s[1]=-Number.MAX_VALUE;for(var S=this.data,E=0,C=0,T=0,w=0,L=0;L<S.length;){var N=S[L++];L===1&&(E=S[L],C=S[L+1],T=E,w=C);switch(N){case f.M:T=S[L++],w=S[L++],E=T,C=w,a[0]=T,a[1]=w,s[0]=T,s[1]=w;break;case f.L:g.fromLine(E,C,S[L],S[L+1],a,s),E=S[L++],C=S[L++];break;case f.C:g.fromCubic(E,C,S[L++],S[L++],S[L++],S[L++],S[L],S[L+1],a,s),E=S[L++],C=S[L++];break;case f.Q:g.fromQuadratic(E,C,S[L++],S[L++],S[L],S[L+1],a,s),E=S[L++],C=S[L++];break;case f.A:var D=S[L++],F=S[L++],R=S[L++],U=S[L++],M=S[L++],j=S[L++]+M;L+=1;var P=1-S[L++];L===1&&(T=u(M)*R+D,w=t(M)*U+F),g.fromArc(D,F,R,U,M,j,P,a,s),E=u(j)*R+D,C=t(j)*U+F;break;case f.R:T=E=S[L++],w=C=S[L++];var K=S[L++],H=S[L++];g.fromLine(T,w,T+K,w+H,a,s);break;case f.Z:E=T,C=w;break}x.min(i,i,a),x.max(r,r,s)}return L===0&&(i[0]=i[1]=r[0]=r[1]=0),new p(i[0],i[1],r[0]-i[0],r[1]-i[1])},rebuildPath:function(S){for(var E=this.data,C,T,w,L,N,D,F=this._ux,R=this._uy,U=this._len,M=0;M<U;){var j=E[M++];M===1&&(w=E[M],L=E[M+1],C=w,T=L);switch(j){case f.M:C=w=E[M++],T=L=E[M++],S.moveTo(w,L);break;case f.L:N=E[M++],D=E[M++],(o(N-w)>F||o(D-L)>R||M===U-1)&&(S.lineTo(N,D),w=N,L=D);break;case f.C:S.bezierCurveTo(E[M++],E[M++],E[M++],E[M++],E[M++],E[M++]),w=E[M-2],L=E[M-1];break;case f.Q:S.quadraticCurveTo(E[M++],E[M++],E[M++],E[M++]),w=E[M-2],L=E[M-1];break;case f.A:var P=E[M++],K=E[M++],H=E[M++],_=E[M++],Z=E[M++],Y=E[M++],k=E[M++],Q=E[M++],X=H>_?H:_,he=H>_?1:H/_,te=H>_?_/H:1,pe=Math.abs(H-_)>.001,Se=Z+Y;pe?(S.translate(P,K),S.rotate(k),S.scale(he,te),S.arc(0,0,X,Z,Se,1-Q),S.scale(1/he,1/te),S.rotate(-k),S.translate(-P,-K)):S.arc(P,K,X,Z,Se,1-Q),M===1&&(C=u(Z)*H+P,T=t(Z)*_+K),w=u(Se)*H+P,L=t(Se)*_+K;break;case f.R:C=w=E[M],T=L=E[M+1],S.rect(E[M++],E[M++],E[M++],E[M++]);break;case f.Z:S.closePath(),w=C,L=T}}}},A.CMD=f;var y=A;J.exports=y},IUWy:function(J,B){var e={};function d(g,p){e[g]=p}function x(g){return e[g]}B.register=d,B.get=x},IWNH:function(J,B,e){var d=e("T4UG"),x=e("Bsck"),g=e("7aKB"),p=g.encodeHTML,v=e("Qxkt"),b=d.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(f){var i={name:f.name,children:f.data},r=f.leaves||{},a=new v(r,this,this.ecModel),s=x.createTree(i,this,{},l);function l(c){c.wrapMethod("getItemModel",function(o,h){var A=s.getNodeByDataIndex(h);return(!A.children.length||!A.isExpand)&&(o.parentModel=a),o})}var n=0;s.eachNode("preorder",function(c){c.depth>n&&(n=c.depth)});var u=f.expandAndCollapse,t=u&&f.initialTreeDepth>=0?f.initialTreeDepth:n;return s.root.eachNode("preorder",function(c){var o=c.hostTree.data.getRawDataItem(c.dataIndex);c.isExpand=o&&o.collapsed!=null?!o.collapsed:c.depth<=t}),s.data},getOrient:function(){var f=this.get("orient");return f==="horizontal"?f="LR":f==="vertical"&&(f="TB"),f},setZoom:function(f){this.option.zoom=f},setCenter:function(f){this.option.center=f},formatTooltip:function(f){for(var i=this.getData().tree,r=i.root.children[0],a=i.getNodeByDataIndex(f),s=a.getValue(),l=a.name;a&&a!==r;)l=a.parentNode.name+"."+l,a=a.parentNode;return p(l+(isNaN(s)||s==null?"":" : "+s))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});J.exports=b},IWp7:function(J,B,e){var d=e("bYtY"),x=e("OELB"),g=e("7aKB"),p=e("lE7J"),v=e("ieMj"),b=v.prototype,f=Math.ceil,i=Math.floor,r=1e3,a=r*60,s=a*60,l=s*24,n=function(o,h,A,y){for(;A<y;){var O=A+y>>>1;o[O][1]<h?A=O+1:y=O}return A},u=v.extend({type:"time",getLabel:function(o){var h=this._stepLvl,A=new Date(o);return g.formatTime(h[0],A,this.getSetting("useUTC"))},niceExtent:function(o){var h=this._extent;if(h[0]===h[1]&&(h[0]-=l,h[1]+=l),h[1]===-Infinity&&h[0]===Infinity){var A=new Date;h[1]=+new Date(A.getFullYear(),A.getMonth(),A.getDate()),h[0]=h[1]-l}this.niceTicks(o.splitNumber,o.minInterval,o.maxInterval);var y=this._interval;o.fixMin||(h[0]=x.round(i(h[0]/y)*y)),o.fixMax||(h[1]=x.round(f(h[1]/y)*y))},niceTicks:function(o,h,A){o=o||10;var y=this._extent,O=y[1]-y[0],S=O/o;h!=null&&S<h&&(S=h),A!=null&&S>A&&(S=A);var E=t.length,C=n(t,S,0,E),T=t[Math.min(C,E-1)],w=T[1];if(T[0]==="year"){var L=O/w,N=x.nice(L/o,!0);w*=N}var D=this.getSetting("useUTC")?0:new Date(+y[0]||+y[1]).getTimezoneOffset()*60*1e3,F=[Math.round(f((y[0]-D)/w)*w+D),Math.round(i((y[1]-D)/w)*w+D)];p.fixExtent(F,y),this._stepLvl=T,this._interval=w,this._niceExtent=F},parse:function(o){return+x.parseDate(o)}});d.each(["contain","normalize"],function(o){u.prototype[o]=function(h){return b[o].call(this,this.parse(h))}});var t=[["hh:mm:ss",r],["hh:mm:ss",r*5],["hh:mm:ss",r*10],["hh:mm:ss",r*15],["hh:mm:ss",r*30],[`hh:mm
|
|
|
MM-dd`,a],[`hh:mm
|
|
|
MM-dd`,a*5],[`hh:mm
|
|
|
MM-dd`,a*10],[`hh:mm
|
|
|
MM-dd`,a*15],[`hh:mm
|
|
|
MM-dd`,a*30],[`hh:mm
|
|
|
MM-dd`,s],[`hh:mm
|
|
|
MM-dd`,s*2],[`hh:mm
|
|
|
MM-dd`,s*6],[`hh:mm
|
|
|
MM-dd`,s*12],[`MM-dd
|
|
|
yyyy`,l],[`MM-dd
|
|
|
yyyy`,l*2],[`MM-dd
|
|
|
yyyy`,l*3],[`MM-dd
|
|
|
yyyy`,l*4],[`MM-dd
|
|
|
yyyy`,l*5],[`MM-dd
|
|
|
yyyy`,l*6],["week",l*7],[`MM-dd
|
|
|
yyyy`,l*10],["week",l*14],["week",l*21],["month",l*31],["week",l*42],["month",l*62],["week",l*70],["quarter",l*95],["month",l*31*4],["month",l*31*5],["half-year",l*380/2],["month",l*31*8],["month",l*31*10],["year",l*380]];u.create=function(o){return new u({useUTC:o.ecModel.get("useUTC")})};var c=u;J.exports=c},IXuL:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("MwEJ"),p=e("T4UG"),v=p.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(b,f){return g(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}});J.exports=v},IXyC:function(J,B,e){var d=e("bYtY"),x=e("bLfw");e("3zoK");var g=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(p){var v=this.option;p&&d.merge(v,p,!0),this._initDimensions()},contains:function(p,v){var b=p.get("parallelIndex");return b!=null&&v.getComponent("parallel",b)===this},setAxisExpand:function(p){d.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(v){p.hasOwnProperty(v)&&(this.option[v]=p[v])},this)},_initDimensions:function(){var p=this.dimensions=[],v=this.parallelAxisIndex=[],b=d.filter(this.dependentModels.parallelAxis,function(f){return(f.get("parallelIndex")||0)===this.componentIndex},this);d.each(b,function(f){p.push("dim"+f.get("dim")),v.push(f.componentIndex)})}});J.exports=g},ItGF:function(J,B){var e={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?e={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?e={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?e={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:e=x(navigator.userAgent);var d=e;function x(g){var p={},v={},b=g.match(/Firefox\/([\d.]+)/),f=g.match(/MSIE\s([\d.]+)/)||g.match(/Trident\/.+?rv:(([\d.]+))/),i=g.match(/Edge\/([\d.]+)/),r=/micromessenger/i.test(g);return b&&(v.firefox=!0,v.version=b[1]),f&&(v.ie=!0,v.version=f[1]),i&&(v.edge=!0,v.version=i[1]),r&&(v.weChat=!0),{browser:v,os:p,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!v.ie&&!v.edge,pointerEventsSupported:"onpointerdown"in window&&(v.edge||v.ie&&v.version>=11),domSupported:typeof document!="undefined"}}J.exports=d},Itpr:function(J,B,e){var d=e("+TT/");function x(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var c=[t],o,h;o=c.pop();)if(h=o.children,o.isExpand&&h.length)for(var A=h.length,y=A-1;y>=0;y--){var O=h[y];O.hierNode={defaultAncestor:null,ancestor:O,prelim:0,modifier:0,change:0,shift:0,i:y,thread:null},c.push(O)}}function g(t,c){var o=t.isExpand?t.children:[],h=t.parentNode.children,A=t.hierNode.i?h[t.hierNode.i-1]:null;if(o.length){i(t);var y=(o[0].hierNode.prelim+o[o.length-1].hierNode.prelim)/2;A?(t.hierNode.prelim=A.hierNode.prelim+c(t,A),t.hierNode.modifier=t.hierNode.prelim-y):t.hierNode.prelim=y}else A&&(t.hierNode.prelim=A.hierNode.prelim+c(t,A));t.parentNode.hierNode.defaultAncestor=r(t,A,t.parentNode.hierNode.defaultAncestor||h[0],c)}function p(t){var c=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:c},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function v(t){return arguments.length?t:u}function b(t,c){var o={};return t-=Math.PI/2,o.x=c*Math.cos(t),o.y=c*Math.sin(t),o}function f(t,c){return d.getLayoutRect(t.getBoxLayoutParams(),{width:c.getWidth(),height:c.getHeight()})}function i(t){for(var c=t.children,o=c.length,h=0,A=0;--o>=0;){var y=c[o];y.hierNode.prelim+=h,y.hierNode.modifier+=h,A+=y.hierNode.change,h+=y.hierNode.shift+A}}function r(t,c,o,h){if(c){for(var A=t,y=t,O=y.parentNode.children[0],S=c,E=A.hierNode.modifier,C=y.hierNode.modifier,T=O.hierNode.modifier,w=S.hierNode.modifier;S=a(S),y=s(y),S&&y;){A=a(A),O=s(O),A.hierNode.ancestor=t;var L=S.hierNode.prelim+w-y.hierNode.prelim-C+h(S,y);L>0&&(n(l(S,t,o),t,L),C+=L,E+=L),w+=S.hierNode.modifier,C+=y.hierNode.modifier,E+=A.hierNode.modifier,T+=O.hierNode.modifier}S&&!a(A)&&(A.hierNode.thread=S,A.hierNode.modifier+=w-E),y&&!s(O)&&(O.hierNode.thread=y,O.hierNode.modifier+=C-T,o=t)}return o}function a(t){var c=t.children;return c.length&&t.isExpand?c[c.length-1]:t.hierNode.thread}function s(t){var c=t.children;return c.length&&t.isExpand?c[0]:t.hierNode.thread}function l(t,c,o){return t.hierNode.ancestor.parentNode===c.parentNode?t.hierNode.ancestor:o}function n(t,c,o){var h=o/(c.hierNode.i-t.hierNode.i);c.hierNode.change-=h,c.hierNode.shift+=o,c.hierNode.modifier+=o,c.hierNode.prelim+=o,t.hierNode.change+=h}function u(t,c){return t.parentNode===c.parentNode?1:2}B.init=x,B.firstWalk=g,B.secondWalk=p,B.separation=v,B.radialCoordinate=b,B.getViewRect=f},IwbS:function(J,B,e){var d=e("bYtY"),x=e("NC18"),g=e("Qe9p"),p=e("Fofx"),v=e("QBsz"),b=e("y+Vt"),f=e("DN4a"),i=e("Dagg");B.Image=i;var r=e("4fz+");B.Group=r;var a=e("dqUG");B.Text=a;var s=e("2fw6");B.Circle=s;var l=e("SqI9");B.Sector=l;var n=e("RXMa");B.Ring=n;var u=e("h7HQ");B.Polygon=u;var t=e("1Jh7");B.Polyline=t;var c=e("x6Kt");B.Rect=c;var o=e("yxFR");B.Line=o;var h=e("rA99");B.BezierCurve=h;var A=e("jTL6");B.Arc=A;var y=e("1MYJ");B.CompoundPath=y;var O=e("SKnc");B.LinearGradient=O;var S=e("3e3G");B.RadialGradient=S;var E=e("mFDi");B.BoundingRect=E;var C=e("OS9S");B.IncrementalDisplayable=C;var T=e("nPnh"),w=Math.max,L=Math.min,N={},D=1,F={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},R="emphasis",U="normal",M=1,j={},P={};function K(se){return b.extend(se)}function H(se,ae){return x.extendFromString(se,ae)}function _(se,ae){P[se]=ae}function Z(se){if(P.hasOwnProperty(se))return P[se]}function Y(se,ae,ye,Ce){var Oe=x.createFromString(se,ae);return ye&&(Ce==="center"&&(ye=Q(ye,Oe.getBoundingRect())),he(Oe,ye)),Oe}function k(se,ae,ye){var Ce=new i({style:{image:se,x:ae.x,y:ae.y,width:ae.width,height:ae.height},onload:function(Oe){if(ye==="center"){var Te={width:Oe.width,height:Oe.height};Ce.setStyle(Q(ae,Te))}}});return Ce}function Q(se,ae){var ye=ae.width/ae.height,Ce=se.height*ye,Oe;Ce<=se.width?Oe=se.height:(Ce=se.width,Oe=Ce/ye);var Te=se.x+se.width/2,xe=se.y+se.height/2;return{x:Te-Ce/2,y:xe-Oe/2,width:Ce,height:Oe}}var X=x.mergePath;function he(se,ae){if(!se.applyTransform)return;var ye=se.getBoundingRect(),Ce=ye.calculateTransform(ae);se.applyTransform(Ce)}function te(se){return T.subPixelOptimizeLine(se.shape,se.shape,se.style),se}function pe(se){return T.subPixelOptimizeRect(se.shape,se.shape,se.style),se}var Se=T.subPixelOptimize;function we(se){return se!=null&&se!=="none"}var We=d.createHashMap(),qe=0;function yt(se){if(typeof se!="string")return se;var ae=We.get(se);return ae||(ae=g.lift(se,-.1),qe<1e4&&(We.set(se,ae),qe++)),ae}function _e(se){if(!se.__hoverStlDirty)return;se.__hoverStlDirty=!1;var ae=se.__hoverStl;if(!ae){se.__cachedNormalStl=se.__cachedNormalZ2=null;return}var ye=se.__cachedNormalStl={};se.__cachedNormalZ2=se.z2;var Ce=se.style;for(var Oe in ae)ae[Oe]!=null&&(ye[Oe]=Ce[Oe]);ye.fill=Ce.fill,ye.stroke=Ce.stroke}function je(se){var ae=se.__hoverStl;if(!ae||se.__highlighted)return;var ye=se.__zr,Ce=se.useHoverLayer&&ye&&ye.painter.type==="canvas";if(se.__highlighted=Ce?"layer":"plain",se.isGroup||!ye&&se.useHoverLayer)return;var Oe=se,Te=se.style;Ce&&(Oe=ye.addHover(se),Te=Oe.style),ut(Te),Ce||_e(Oe),Te.extendFrom(ae),Ct(Te,ae,"fill"),Ct(Te,ae,"stroke"),$e(Te),Ce||(se.dirty(!1),se.z2+=D)}function Ct(se,ae,ye){!we(ae[ye])&&we(se[ye])&&(se[ye]=yt(se[ye]))}function ct(se){var ae=se.__highlighted;if(!ae)return;if(se.__highlighted=!1,se.isGroup)return;if(ae==="layer")se.__zr&&se.__zr.removeHover(se);else{var ye=se.style,Ce=se.__cachedNormalStl;Ce&&(ut(ye),se.setStyle(Ce),$e(ye));var Oe=se.__cachedNormalZ2;Oe!=null&&se.z2-Oe===D&&(se.z2=Oe)}}function nt(se,ae,ye){var Ce=U,Oe=U,Te;se.__highlighted&&(Ce=R,Te=!0),ae(se,ye),se.__highlighted&&(Oe=R,Te=!0),se.isGroup&&se.traverse(function(xe){!xe.isGroup&&ae(xe,ye)}),Te&&se.__highDownOnUpdate&&se.__highDownOnUpdate(Ce,Oe)}function bt(se,ae){ae=se.__hoverStl=ae!==!1&&(se.hoverStyle||ae||{}),se.__hoverStlDirty=!0,se.__highlighted&&(se.__cachedNormalStl=null,ct(se),je(se))}function dt(se){!Pe(this,se)&&!this.__highByOuter&&nt(this,je)}function vt(se){!Pe(this,se)&&!this.__highByOuter&&nt(this,ct)}function Qe(se){this.__highByOuter|=1<<(se||0),nt(this,je)}function mt(se){!(this.__highByOuter&=~(1<<(se||0)))&&nt(this,ct)}function Pe(se,ae){return se.__highDownSilentOnTouch&&ae.zrByTouch}function De(se,ae){Ie(se,!0),nt(se,bt,ae)}function Ie(se,ae){var ye=ae===!1;if(se.__highDownSilentOnTouch=se.highDownSilentOnTouch,se.__highDownOnUpdate=se.highDownOnUpdate,!ye||se.__highDownDispatcher){var Ce=ye?"off":"on";se[Ce]("mouseover",dt)[Ce]("mouseout",vt),se[Ce]("emphasis",Qe)[Ce]("normal",mt),se.__highByOuter=se.__highByOuter||0,se.__highDownDispatcher=!ye}}function ot(se){return!!(se&&se.__highDownDispatcher)}function wt(se){var ae=j[se];return ae==null&&M<=32&&(ae=j[se]=M++),ae}function Bt(se,ae,ye,Ce,Oe,Te,xe){Oe=Oe||N;var ke=Oe.labelFetcher,lt=Oe.labelDataIndex,At=Oe.labelDimIndex,ee=Oe.labelProp,ie=ye.getShallow("show"),z=Ce.getShallow("show"),$;(ie||z)&&(ke&&($=ke.getFormattedLabel(lt,"normal",null,At,ee)),$==null&&($=d.isFunction(Oe.defaultText)?Oe.defaultText(lt,Oe):Oe.defaultText));var le=ie?$:null,ge=z?d.retrieve2(ke?ke.getFormattedLabel(lt,"emphasis",null,At,ee):null,$):null;(le!=null||ge!=null)&&(Ue(se,ye,Te,Oe),Ue(ae,Ce,xe,Oe,!0)),se.text=le,ae.text=ge}function _t(se,ae,ye){var Ce=se.style;ae&&(ut(Ce),se.setStyle(ae),$e(Ce)),Ce=se.__hoverStl,ye&&Ce&&(ut(Ce),d.extend(Ce,ye),$e(Ce))}function Ue(se,ae,ye,Ce,Oe){return xt(se,ae,Ce,Oe),ye&&d.extend(se,ye),se}function zt(se,ae,ye){var Ce={isRectText:!0},Oe;ye===!1?Oe=!0:Ce.autoColor=ye,xt(se,ae,Ce,Oe)}function xt(se,ae,ye,Ce){if(ye=ye||N,ye.isRectText){var Oe;ye.getTextPosition?Oe=ye.getTextPosition(ae,Ce):(Oe=ae.getShallow("position")||(Ce?null:"inside"),Oe==="outside"&&(Oe="top")),se.textPosition=Oe,se.textOffset=ae.getShallow("offset");var Te=ae.getShallow("rotate");Te!=null&&(Te*=Math.PI/180),se.textRotation=Te,se.textDistance=d.retrieve2(ae.getShallow("distance"),Ce?null:5)}var xe=ae.ecModel,ke=xe&&xe.option.textStyle,lt=Pt(ae),At;if(lt){At={};for(var ee in lt)if(lt.hasOwnProperty(ee)){var ie=ae.getModel(["rich",ee]);Ke(At[ee]={},ie,ke,ye,Ce)}}return se.rich=At,Ke(se,ae,ke,ye,Ce,!0),ye.forceRich&&!ye.textStyle&&(ye.textStyle={}),se}function Pt(se){for(var ae;se&&se!==se.ecModel;){var ye=(se.option||N).rich;if(ye){ae=ae||{};for(var Ce in ye)ye.hasOwnProperty(Ce)&&(ae[Ce]=1)}se=se.parentModel}return ae}function Ke(se,ae,ye,Ce,Oe,Te){ye=!Oe&&ye||N,se.textFill=Ye(ae.getShallow("color"),Ce)||ye.color,se.textStroke=Ye(ae.getShallow("textBorderColor"),Ce)||ye.textBorderColor,se.textStrokeWidth=d.retrieve2(ae.getShallow("textBorderWidth"),ye.textBorderWidth),Oe||(Te&&(se.insideRollbackOpt=Ce,$e(se)),se.textFill==null&&(se.textFill=Ce.autoColor)),se.fontStyle=ae.getShallow("fontStyle")||ye.fontStyle,se.fontWeight=ae.getShallow("fontWeight")||ye.fontWeight,se.fontSize=ae.getShallow("fontSize")||ye.fontSize,se.fontFamily=ae.getShallow("fontFamily")||ye.fontFamily,se.textAlign=ae.getShallow("align"),se.textVerticalAlign=ae.getShallow("verticalAlign")||ae.getShallow("baseline"),se.textLineHeight=ae.getShallow("lineHeight"),se.textWidth=ae.getShallow("width"),se.textHeight=ae.getShallow("height"),se.textTag=ae.getShallow("tag"),(!Te||!Ce.disableBox)&&(se.textBackgroundColor=Ye(ae.getShallow("backgroundColor"),Ce),se.textPadding=ae.getShallow("padding"),se.textBorderColor=Ye(ae.getShallow("borderColor"),Ce),se.textBorderWidth=ae.getShallow("borderWidth"),se.textBorderRadius=ae.getShallow("borderRadius"),se.textBoxShadowColor=ae.getShallow("shadowColor"),se.textBoxShadowBlur=ae.getShallow("shadowBlur"),se.textBoxShadowOffsetX=ae.getShallow("shadowOffsetX"),se.textBoxShadowOffsetY=ae.getShallow("shadowOffsetY")),se.textShadowColor=ae.getShallow("textShadowColor")||ye.textShadowColor,se.textShadowBlur=ae.getShallow("textShadowBlur")||ye.textShadowBlur,se.textShadowOffsetX=ae.getShallow("textShadowOffsetX")||ye.textShadowOffsetX,se.textShadowOffsetY=ae.getShallow("textShadowOffsetY")||ye.textShadowOffsetY}function Ye(se,ae){return se!=="auto"?se:ae&&ae.autoColor?ae.autoColor:null}function $e(se){var ae=se.textPosition,ye=se.insideRollbackOpt,Ce;if(ye&&se.textFill==null){var Oe=ye.autoColor,Te=ye.isRectText,xe=ye.useInsideStyle,ke=xe!==!1&&(xe===!0||Te&&ae&&typeof ae=="string"&&ae.indexOf("inside")>=0),lt=!ke&&Oe!=null;(ke||lt)&&(Ce={textFill:se.textFill,textStroke:se.textStroke,textStrokeWidth:se.textStrokeWidth}),ke&&(se.textFill="#fff",se.textStroke==null&&(se.textStroke=Oe,se.textStrokeWidth==null&&(se.textStrokeWidth=2))),lt&&(se.textFill=Oe)}se.insideRollback=Ce}function ut(se){var ae=se.insideRollback;ae&&(se.textFill=ae.textFill,se.textStroke=ae.textStroke,se.textStrokeWidth=ae.textStrokeWidth,se.insideRollback=null)}function et(se,ae){var ye=ae&&ae.getModel("textStyle");return d.trim([se.fontStyle||ye&&ye.getShallow("fontStyle")||"",se.fontWeight||ye&&ye.getShallow("fontWeight")||"",(se.fontSize||ye&&ye.getShallow("fontSize")||12)+"px",se.fontFamily||ye&&ye.getShallow("fontFamily")||"sans-serif"].join(" "))}function oe(se,ae,ye,Ce,Oe,Te){typeof Oe=="function"&&(Te=Oe,Oe=null);var xe=Ce&&Ce.isAnimationEnabled();if(xe){var ke=se?"Update":"",lt=Ce.getShallow("animationDuration"+ke),At=Ce.getShallow("animationEasing"+ke),ee=Ce.getShallow("animationDelay"+ke);typeof ee=="function"&&(ee=ee(Oe,Ce.getAnimationDelayParams?Ce.getAnimationDelayParams(ae,Oe):null)),typeof lt=="function"&&(lt=lt(Oe)),lt>0?ae.animateTo(ye,lt,ee||0,At,Te,!!Te):(ae.stopAnimation(),ae.attr(ye),Te&&Te())}else ae.stopAnimation(),ae.attr(ye),Te&&Te()}function me(se,ae,ye,Ce,Oe){oe(!0,se,ae,ye,Ce,Oe)}function it(se,ae,ye,Ce,Oe){oe(!1,se,ae,ye,Ce,Oe)}function Be(se,ae){for(var ye=p.identity([]);se&&se!==ae;)p.mul(ye,se.getLocalTransform(),ye),se=se.parent;return ye}function ht(se,ae,ye){return ae&&!d.isArrayLike(ae)&&(ae=f.getLocalTransform(ae)),ye&&(ae=p.invert([],ae)),v.applyTransform([],se,ae)}function Mr(se,ae,ye){var Ce=ae[4]===0||ae[5]===0||ae[0]===0?1:Math.abs(2*ae[4]/ae[0]),Oe=ae[4]===0||ae[5]===0||ae[2]===0?1:Math.abs(2*ae[4]/ae[2]),Te=[se==="left"?-Ce:se==="right"?Ce:0,se==="top"?-Oe:se==="bottom"?Oe:0];return Te=ht(Te,ae,ye),Math.abs(Te[0])>Math.abs(Te[1])?Te[0]>0?"right":"left":Te[1]>0?"bottom":"top"}function Lt(se,ae,ye,Ce){if(!se||!ae)return;function Oe(ke){var lt={};return ke.traverse(function(At){!At.isGroup&&At.anid&&(lt[At.anid]=At)}),lt}function Te(ke){var lt={position:v.clone(ke.position),rotation:ke.rotation};return ke.shape&&(lt.shape=d.extend({},ke.shape)),lt}var xe=Oe(se);ae.traverse(function(ke){if(!ke.isGroup&&ke.anid){var lt=xe[ke.anid];if(lt){var At=Te(ke);ke.attr(Te(lt)),me(ke,At,ye,ke.dataIndex)}}})}function or(se,ae){return d.map(se,function(ye){var Ce=ye[0];Ce=w(Ce,ae.x),Ce=L(Ce,ae.x+ae.width);var Oe=ye[1];return Oe=w(Oe,ae.y),Oe=L(Oe,ae.y+ae.height),[Ce,Oe]})}function Qt(se,ae){var ye=w(se.x,ae.x),Ce=L(se.x+se.width,ae.x+ae.width),Oe=w(se.y,ae.y),Te=L(se.y+se.height,ae.y+ae.height);if(Ce>=ye&&Te>=Oe)return{x:ye,y:Oe,width:Ce-ye,height:Te-Oe}}function qt(se,ae,ye){ae=d.extend({rectHover:!0},ae);var Ce=ae.style={strokeNoScale:!0};if(ye=ye||{x:-1,y:-1,width:2,height:2},se)return se.indexOf("image://")===0?(Ce.image=se.slice(8),d.defaults(Ce,ye),new i(ae)):Y(se.replace("path://",""),ae,ye,"center")}function hr(se,ae,ye,Ce,Oe){for(var Te=0,xe=Oe[Oe.length-1];Te<Oe.length;Te++){var ke=Oe[Te];if(Gt(se,ae,ye,Ce,ke[0],ke[1],xe[0],xe[1]))return!0;xe=ke}}function Gt(se,ae,ye,Ce,Oe,Te,xe,ke){var lt=ye-se,At=Ce-ae,ee=xe-Oe,ie=ke-Te,z=de(ee,ie,lt,At);if(ue(z))return!1;var $=se-Oe,le=ae-Te,ge=de($,le,lt,At)/z;if(ge<0||ge>1)return!1;var Ae=de($,le,ee,ie)/z;return!(Ae<0||Ae>1)}function de(se,ae,ye,Ce){return se*Ce-ye*ae}function ue(se){return se<=1e-6&&se>=-1e-6}_("circle",s),_("sector",l),_("ring",n),_("polygon",u),_("polyline",t),_("rect",c),_("line",o),_("bezierCurve",h),_("arc",A),B.Z2_EMPHASIS_LIFT=D,B.CACHED_LABEL_STYLE_PROPERTIES=F,B.extendShape=K,B.extendPath=H,B.registerShape=_,B.getShapeClass=Z,B.makePath=Y,B.makeImage=k,B.mergePath=X,B.resizePath=he,B.subPixelOptimizeLine=te,B.subPixelOptimizeRect=pe,B.subPixelOptimize=Se,B.setElementHoverStyle=bt,B.setHoverStyle=De,B.setAsHighDownDispatcher=Ie,B.isHighDownDispatcher=ot,B.getHighlightDigit=wt,B.setLabelStyle=Bt,B.modifyLabelStyle=_t,B.setTextStyle=Ue,B.setText=zt,B.getFont=et,B.updateProps=me,B.initProps=it,B.getTransform=Be,B.applyTransform=ht,B.transformDirection=Mr,B.groupTransition=Lt,B.clipPointsByRect=or,B.clipRectByRect=Qt,B.createIcon=qt,B.linePolygonIntersect=hr,B.lineLineIntersect=Gt},IyUQ:function(J,B,e){var d=e("bYtY"),x=e("YH21"),g=e("IwbS"),p=e("iLNv"),v=e("fc+c"),b=e("OELB"),f=e("+TT/"),i=e("72pK"),r=g.Rect,a=b.linearMap,s=b.asc,l=d.bind,n=d.each,u=7,t=1,c=30,o="horizontal",h="vertical",A=5,y=["line","bar","candlestick","scatter"],O=v.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,L,N){if(O.superApply(this,"render",arguments),p.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=T.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!N||N.type!=="dataZoom"||N.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){O.superApply(this,"remove",arguments),p.clear(this,"_dispatchZoomAction")},dispose:function(){O.superApply(this,"dispose",arguments),p.clear(this,"_dispatchZoomAction")},_buildView:function(){var T=this.group;T.removeAll(),this._resetLocation(),this._resetInterval();var w=this._displayables.barGroup=new g.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),T.add(w),this._positionGroup()},_resetLocation:function(){var T=this.dataZoomModel,w=this.api,L=this._findCoordRect(),N={width:w.getWidth(),height:w.getHeight()},D=this._orient===o?{right:N.width-L.x-L.width,top:N.height-c-u,width:L.width,height:c}:{right:u,top:L.y,width:c,height:L.height},F=f.getLayoutParams(T.option);d.each(["right","top","width","height"],function(U){F[U]==="ph"&&(F[U]=D[U])});var R=f.getLayoutRect(F,N,T.padding);this._location={x:R.x,y:R.y},this._size=[R.width,R.height],this._orient===h&&this._size.reverse()},_positionGroup:function(){var T=this.group,w=this._location,L=this._orient,N=this.dataZoomModel.getFirstTargetAxisModel(),D=N&&N.get("inverse"),F=this._displayables.barGroup,R=(this._dataShadowInfo||{}).otherAxisInverse;F.attr(L===o&&!D?{scale:R?[1,1]:[1,-1]}:L===o&&D?{scale:R?[-1,1]:[-1,-1]}:L===h&&!D?{scale:R?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:R?[-1,-1]:[-1,1],rotation:Math.PI/2});var U=T.getBoundingRect([F]);T.attr("position",[w.x-U.x,w.y-U.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,w=this._size,L=this._displayables.barGroup;L.add(new r({silent:!0,shape:{x:0,y:0,width:w[0],height:w[1]},style:{fill:T.get("backgroundColor")},z2:-40})),L.add(new r({shape:{x:0,y:0,width:w[0],height:w[1]},style:{fill:"transparent"},z2:0,onclick:d.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var T=this._dataShadowInfo=this._prepareDataShadowInfo();if(!T)return;var w=this._size,L=T.series,N=L.getRawData(),D=L.getShadowDim?L.getShadowDim():T.otherDim;if(D==null)return;var F=N.getDataExtent(D),R=(F[1]-F[0])*.3;F=[F[0]-R,F[1]+R];var U=[0,w[1]],M=[0,w[0]],j=[[w[0],0],[0,0]],P=[],K=M[1]/(N.count()-1),H=0,_=Math.round(N.count()/w[0]),Z;N.each([D],function(k,Q){if(_>0&&Q%_){H+=K;return}var X=k==null||isNaN(k)||k==="",he=X?0:a(k,F,U,!0);X&&!Z&&Q?(j.push([j[j.length-1][0],0]),P.push([P[P.length-1][0],0])):!X&&Z&&(j.push([H,0]),P.push([H,0])),j.push([H,he]),P.push([H,he]),H+=K,Z=X});var Y=this.dataZoomModel;this._displayables.barGroup.add(new g.Polygon({shape:{points:j},style:d.defaults({fill:Y.get("dataBackgroundColor")},Y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new g.Polyline({shape:{points:P},style:Y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var T=this.dataZoomModel,w=T.get("showDataShadow");if(w===!1)return;var L,N=this.ecModel;return T.eachTargetAxis(function(D,F){var R=T.getAxisProxy(D.name,F).getTargetSeriesModels();d.each(R,function(U){if(L)return;if(w!==!0&&d.indexOf(y,U.get("type"))<0)return;var M=N.getComponent(D.axis,F).axis,j=S(D.name),P,K=U.coordinateSystem;j!=null&&K.getOtherAxis&&(P=K.getOtherAxis(M).inverse),j=U.getData().mapDimension(j),L={thisAxis:M,series:U,thisDim:D.name,otherDim:j,otherAxisInverse:P}},this)},this),L},_renderHandle:function(){var T=this._displayables,w=T.handles=[],L=T.handleLabels=[],N=this._displayables.barGroup,D=this._size,F=this.dataZoomModel;N.add(T.filler=new r({draggable:!0,cursor:E(this._orient),drift:l(this._onDragMove,this,"all"),ondragstart:l(this._showDataInfo,this,!0),ondragend:l(this._onDragEnd,this),onmouseover:l(this._showDataInfo,this,!0),onmouseout:l(this._showDataInfo,this,!1),style:{fill:F.get("fillerColor"),textPosition:"inside"}})),N.add(new r({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:D[0],height:D[1]},style:{stroke:F.get("dataBackgroundColor")||F.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),n([0,1],function(R){var U=g.createIcon(F.get("handleIcon"),{cursor:E(this._orient),draggable:!0,drift:l(this._onDragMove,this,R),ondragend:l(this._onDragEnd,this),onmouseover:l(this._showDataInfo,this,!0),onmouseout:l(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),M=U.getBoundingRect();this._handleHeight=b.parsePercent(F.get("handleSize"),this._size[1]),this._handleWidth=M.width/M.height*this._handleHeight,U.setStyle(F.getModel("handleStyle").getItemStyle());var j=F.get("handleColor");j!=null&&(U.style.fill=j),N.add(w[R]=U);var P=F.textStyleModel;this.group.add(L[R]=new g.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:P.getTextColor(),textFont:P.getFont()},z2:10}))},this)},_resetInterval:function(){var T=this._range=this.dataZoomModel.getPercentRange(),w=this._getViewExtent();this._handleEnds=[a(T[0],[0,100],w,!0),a(T[1],[0,100],w,!0)]},_updateInterval:function(T,w){var L=this.dataZoomModel,N=this._handleEnds,D=this._getViewExtent(),F=L.findRepresentativeAxisProxy().getMinMaxSpan(),R=[0,100];i(w,N,D,L.get("zoomLock")?"all":T,F.minSpan!=null?a(F.minSpan,R,D,!0):null,F.maxSpan!=null?a(F.maxSpan,R,D,!0):null);var U=this._range,M=this._range=s([a(N[0],D,R,!0),a(N[1],D,R,!0)]);return!U||U[0]!==M[0]||U[1]!==M[1]},_updateView:function(T){var w=this._displayables,L=this._handleEnds,N=s(L.slice()),D=this._size;n([0,1],function(F){var R=w.handles[F],U=this._handleHeight;R.attr({scale:[U/2,U/2],position:[L[F],D[1]/2-U/2]})},this),w.filler.setShape({x:N[0],y:0,width:N[1]-N[0],height:D[1]}),this._updateDataInfo(T)},_updateDataInfo:function(T){var w=this.dataZoomModel,L=this._displayables,N=L.handleLabels,D=this._orient,F=["",""];if(w.get("showDetail")){var R=w.findRepresentativeAxisProxy();if(R){var U=R.getAxisModel().axis,M=this._range,j=T?R.calculateDataWindow({start:M[0],end:M[1]}).valueWindow:R.getDataValueWindow();F=[this._formatLabel(j[0],U),this._formatLabel(j[1],U)]}}var P=s(this._handleEnds.slice());K.call(this,0),K.call(this,1);function K(H){var _=g.getTransform(L.handles[H].parent,this.group),Z=g.transformDirection(H===0?"right":"left",_),Y=this._handleWidth/2+A,k=g.applyTransform([P[H]+(H===0?-Y:Y),this._size[1]/2],_);N[H].setStyle({x:k[0],y:k[1],textVerticalAlign:D===o?"middle":Z,textAlign:D===o?Z:"center",text:F[H]})}},_formatLabel:function(T,w){var L=this.dataZoomModel,N=L.get("labelFormatter"),D=L.get("labelPrecision");(D==null||D==="auto")&&(D=w.getPixelPrecision());var F=T==null||isNaN(T)?"":w.type==="category"||w.type==="time"?w.scale.getLabel(Math.round(T)):T.toFixed(Math.min(D,20));return d.isFunction(N)?N(T,F):d.isString(N)?N.replace("{value}",F):F},_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,L,N){this._dragging=!0,x.stop(N.event);var D=this._displayables.barGroup.getLocalTransform(),F=g.applyTransform([w,L],D,!0),R=this._updateInterval(T,F[0]),U=this.dataZoomModel.get("realtime");this._updateView(!U),R&&U&&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,L=this._displayables.barGroup.transformCoordToLocal(T.offsetX,T.offsetY);if(L[0]<0||L[0]>w[0]||L[1]<0||L[1]>w[1])return;var N=this._handleEnds,D=(N[0]+N[1])/2,F=this._updateInterval("all",L[0]-D);this._updateView(),F&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var T=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:T[0],end:T[1]})},_findCoordRect:function(){var T;if(n(this.getTargetCoordInfo(),function(N){if(!T&&N.length){var D=N[0].model.coordinateSystem;T=D.getRect&&D.getRect()}}),!T){var w=this.api.getWidth(),L=this.api.getHeight();T={x:w*.2,y:L*.2,width:w*.6,height:L*.6}}return T}});function S(T){var w={x:"y",y:"x",radius:"angle",angle:"radius"};return w[T]}function E(T){return T==="vertical"?"ns-resize":"ew-resize"}var C=O;J.exports=C},IzEo:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("lnY3"),p=e.n(g),v=e("Znn+"),b=e("14J3"),f=e("jCWc")},J66h:function(J,B,e){(function(d){var x,g;(function(p,v){J.exports=v(p)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof d!="undefined"?d:this,function(p){"use strict";p=p||{};var v=p.Base64,b="2.6.4",f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=function(U){for(var M={},j=0,P=U.length;j<P;j++)M[U.charAt(j)]=j;return M}(f),r=String.fromCharCode,a=function(M){if(M.length<2){var j=M.charCodeAt(0);return j<128?M:j<2048?r(192|j>>>6)+r(128|j&63):r(224|j>>>12&15)+r(128|j>>>6&63)+r(128|j&63)}else{var j=65536+(M.charCodeAt(0)-55296)*1024+(M.charCodeAt(1)-56320);return r(240|j>>>18&7)+r(128|j>>>12&63)+r(128|j>>>6&63)+r(128|j&63)}},s=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,l=function(M){return M.replace(s,a)},n=function(M){var j=[0,2,1][M.length%3],P=M.charCodeAt(0)<<16|(M.length>1?M.charCodeAt(1):0)<<8|(M.length>2?M.charCodeAt(2):0),K=[f.charAt(P>>>18),f.charAt(P>>>12&63),j>=2?"=":f.charAt(P>>>6&63),j>=1?"=":f.charAt(P&63)];return K.join("")},u=p.btoa&&typeof p.btoa=="function"?function(U){return p.btoa(U)}:function(U){if(U.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return U.replace(/[\s\S]{1,3}/g,n)},t=function(M){return u(l(String(M)))},c=function(M){return M.replace(/[+\/]/g,function(j){return j=="+"?"-":"_"}).replace(/=/g,"")},o=function(M,j){return j?c(t(M)):t(M)},h=function(M){return o(M,!0)},A;p.Uint8Array&&(A=function(M,j){for(var P="",K=0,H=M.length;K<H;K+=3){var _=M[K],Z=M[K+1],Y=M[K+2],k=_<<16|Z<<8|Y;P+=f.charAt(k>>>18)+f.charAt(k>>>12&63)+(typeof Z!="undefined"?f.charAt(k>>>6&63):"=")+(typeof Y!="undefined"?f.charAt(k&63):"=")}return j?c(P):P});var y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,O=function(M){switch(M.length){case 4:var j=(7&M.charCodeAt(0))<<18|(63&M.charCodeAt(1))<<12|(63&M.charCodeAt(2))<<6|63&M.charCodeAt(3),P=j-65536;return r((P>>>10)+55296)+r((P&1023)+56320);case 3:return r((15&M.charCodeAt(0))<<12|(63&M.charCodeAt(1))<<6|63&M.charCodeAt(2));default:return r((31&M.charCodeAt(0))<<6|63&M.charCodeAt(1))}},S=function(M){return M.replace(y,O)},E=function(M){var j=M.length,P=j%4,K=(j>0?i[M.charAt(0)]<<18:0)|(j>1?i[M.charAt(1)]<<12:0)|(j>2?i[M.charAt(2)]<<6:0)|(j>3?i[M.charAt(3)]:0),H=[r(K>>>16),r(K>>>8&255),r(K&255)];return H.length-=[0,0,2,1][P],H.join("")},C=p.atob&&typeof p.atob=="function"?function(U){return p.atob(U)}:function(U){return U.replace(/\S{1,4}/g,E)},T=function(M){return C(String(M).replace(/[^A-Za-z0-9\+\/]/g,""))},w=function(M){return S(C(M))},L=function(M){return String(M).replace(/[-_]/g,function(j){return j=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},N=function(M){return w(L(M))},D;p.Uint8Array&&(D=function(M){return Uint8Array.from(T(L(M)),function(j){return j.charCodeAt(0)})});var F=function(){var M=p.Base64;return p.Base64=v,M};if(p.Base64={VERSION:b,atob:T,btoa:u,fromBase64:N,toBase64:o,utob:l,encode:o,encodeURI:h,btou:S,decode:N,noConflict:F,fromUint8Array:A,toUint8Array:D},typeof Object.defineProperty=="function"){var R=function(M){return{value:M,enumerable:!1,writable:!0,configurable:!0}};p.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",R(function(){return N(this)})),Object.defineProperty(String.prototype,"toBase64",R(function(U){return o(this,U)})),Object.defineProperty(String.prototype,"toBase64URI",R(function(){return o(this,!0)}))}}return p.Meteor&&(Base64=p.Base64),J.exports?J.exports.Base64=p.Base64:!(x=[],g=function(){return p.Base64}.apply(B,x),g!==void 0&&(J.exports=g)),{Base64:p.Base64}})}).call(this,e("yLpj"))},JEkh:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("ProS"),p=e("bYtY"),v=e("ItGF"),b=e("4NO4"),f=e("7aKB"),i=e("OKJ2"),r=f.addCommas,a=f.encodeHTML;function s(u){b.defaultEmphasis(u,"label",["show"])}var l=g.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(u,t,c){this.mergeDefaultAndTheme(u,c),this._mergeOption(u,c,!1,!0)},isAnimationEnabled:function(){if(v.node)return!1;var u=this.__hostSeries;return this.getShallow("animation")&&u&&u.isAnimationEnabled()},mergeOption:function(u,t){this._mergeOption(u,t,!1,!1)},_mergeOption:function(u,t,c,o){var h=this.constructor,A=this.mainType+"Model";c||t.eachSeries(function(y){var O=y.get(this.mainType,!0),S=y[A];if(!O||!O.data){y[A]=null;return}S?S._mergeOption(O,t,!0):(o&&s(O),p.each(O.data,function(E){E instanceof Array?(s(E[0]),s(E[1])):s(E)}),S=new h(O,this,t),p.extend(S,{mainType:this.mainType,seriesIndex:y.seriesIndex,name:y.name,createdBySelf:!0}),S.__hostSeries=y),y[A]=S},this)},formatTooltip:function(u){var t=this.getData(),c=this.getRawValue(u),o=p.isArray(c)?p.map(c,r).join(", "):r(c),h=t.getName(u),A=a(this.name);return(c!=null||h)&&(A+="<br />"),h&&(A+=a(h),c!=null&&(A+=" : ")),c!=null&&(A+=a(o)),A},getData:function(){return this._data},setData:function(u){this._data=u}});p.mixin(l,i);var n=l;J.exports=n},JGo8:function(J,B,e){},JHRd:function(J,B,e){var d=e("Kz5y"),x=d.Uint8Array;J.exports=x},JHgL:function(J,B,e){var d=e("QkVE");function x(g){return d(this,g).get(g)}J.exports=x},JLnu:function(J,B,e){var d=e("+TT/"),x=e("OELB"),g=x.parsePercent,p=x.linearMap;function v(r,a){return d.getLayoutRect(r.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})}function b(r,a){for(var s=r.mapDimension("value"),l=r.mapArray(s,function(o){return o}),n=[],u=a==="ascending",t=0,c=r.count();t<c;t++)n[t]=t;return typeof a=="function"?n.sort(a):a!=="none"&&n.sort(function(o,h){return u?l[o]-l[h]:l[h]-l[o]}),n}function f(r){r.each(function(a){var s=r.getItemModel(a),l=s.getModel("label"),n=l.get("position"),u=s.getModel("labelLine"),t=r.getItemLayout(a),c=t.points,o=n==="inner"||n==="inside"||n==="center"||n==="insideLeft"||n==="insideRight",h,A,y,O;if(o)n==="insideLeft"?(A=(c[0][0]+c[3][0])/2+5,y=(c[0][1]+c[3][1])/2,h="left"):n==="insideRight"?(A=(c[1][0]+c[2][0])/2-5,y=(c[1][1]+c[2][1])/2,h="right"):(A=(c[0][0]+c[1][0]+c[2][0]+c[3][0])/4,y=(c[0][1]+c[1][1]+c[2][1]+c[3][1])/4,h="center"),O=[[A,y],[A,y]];else{var S,E,C,T=u.get("length");n==="left"?(S=(c[3][0]+c[0][0])/2,E=(c[3][1]+c[0][1])/2,C=S-T,A=C-5,h="right"):n==="right"?(S=(c[1][0]+c[2][0])/2,E=(c[1][1]+c[2][1])/2,C=S+T,A=C+5,h="left"):n==="rightTop"?(S=c[1][0],E=c[1][1],C=S+T,A=C+5,h="top"):n==="rightBottom"?(S=c[2][0],E=c[2][1],C=S+T,A=C+5,h="bottom"):n==="leftTop"?(S=c[0][0],E=c[1][1],C=S-T,A=C-5,h="right"):n==="leftBottom"?(S=c[3][0],E=c[2][1],C=S-T,A=C-5,h="right"):(S=(c[1][0]+c[2][0])/2,E=(c[1][1]+c[2][1])/2,C=S+T,A=C+5,h="left");var w=E;O=[[S,E],[C,w]],y=w}t.label={linePoints:O,x:A,y,verticalAlign:"middle",textAlign:h,inside:o}})}function i(r,a,s){r.eachSeriesByType("funnel",function(l){var n=l.getData(),u=n.mapDimension("value"),t=l.get("sort"),c=v(l,a),o=b(n,t),h=[g(l.get("minSize"),c.width),g(l.get("maxSize"),c.width)],A=n.getDataExtent(u),y=l.get("min"),O=l.get("max");y==null&&(y=Math.min(A[0],0)),O==null&&(O=A[1]);var S=l.get("funnelAlign"),E=l.get("gap"),C=(c.height-E*(n.count()-1))/n.count(),T=c.y,w=function(j,P){var K=n.get(u,j)||0,H=p(K,[y,O],h,!0),_;switch(S){case"left":_=c.x;break;case"center":_=c.x+(c.width-H)/2;break;case"right":_=c.x+c.width-H;break}return[[_,P],[_+H,P]]};t==="ascending"&&(C=-C,E=-E,T+=c.height,o=o.reverse());for(var L=0;L<o.length;L++){var N=o[L],D=o[L+1],F=n.getItemModel(N),R=F.get("itemStyle.height");R==null?R=C:(R=g(R,c.height),t==="ascending"&&(R=-R));var U=w(N,T),M=w(D,T+R);T+=R+E,n.setItemLayout(N,{points:U.concat(M.slice().reverse())})}f(n)})}J.exports=i},JSQU:function(J,B,e){var d=e("YESw"),x="__lodash_hash_undefined__";function g(p,v){var b=this.__data__;return this.size+=this.has(p)?0:1,b[p]=d&&v===void 0?x:v,this}J.exports=g},JTzB:function(J,B,e){var d=e("NykK"),x=e("ExA7"),g="[object Arguments]";function p(v){return x(v)&&d(v)==g}J.exports=p},JVwQ:function(J,B,e){var d=e("ProS"),x=e("1NG9"),g=x.Polygon,p=e("IwbS"),v=e("bYtY"),b=v.bind,f=v.extend,i=e("gPAo"),r=d.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(s,l,n){var u=s.getData(),t=this.group,c=s.getLayerSeries(),o=u.getLayout("layoutInfo"),h=o.rect,A=o.boundaryGap;t.attr("position",[0,h.y+A[0]]);function y(C){return C.name}var O=new i(this._layersSeries||[],c,y,y),S={};O.add(b(E,this,"add")).update(b(E,this,"update")).remove(b(E,this,"remove")).execute();function E(C,T,w){var L=this._layers;if(C==="remove"){t.remove(L[T]);return}for(var N=[],D=[],F,R=c[T].indices,U=0;U<R.length;U++){var M=u.getItemLayout(R[U]),j=M.x,P=M.y0,K=M.y;N.push([j,P]),D.push([j,P+K]),F=u.getItemVisual(R[U],"color")}var H,_,Z=u.getItemLayout(R[0]),Y=u.getItemModel(R[U-1]),k=Y.getModel("label"),Q=k.get("margin");if(C==="add"){var X=S[T]=new p.Group;H=new g({shape:{points:N,stackedOnPoints:D,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),_=new p.Text({style:{x:Z.x-Q,y:Z.y0+Z.y/2}}),X.add(H),X.add(_),t.add(X),H.setClipPath(a(H.getBoundingRect(),s,function(){H.removeClipPath()}))}else{var X=L[w];H=X.childAt(0),_=X.childAt(1),t.add(X),S[T]=X,p.updateProps(H,{shape:{points:N,stackedOnPoints:D}},s),p.updateProps(_,{style:{x:Z.x-Q,y:Z.y0+Z.y/2}},s)}var he=Y.getModel("emphasis.itemStyle"),te=Y.getModel("itemStyle");p.setTextStyle(_.style,k,{text:k.get("show")?s.getFormattedLabel(R[U-1],"normal")||u.getName(R[U-1]):null,textVerticalAlign:"middle"}),H.setStyle(f({fill:F},te.getItemStyle(["color"]))),p.setHoverStyle(H,he.getItemStyle())}this._layersSeries=c,this._layers=S},dispose:function(){}});function a(s,l,n){var u=new p.Rect({shape:{x:s.x-10,y:s.y-10,width:0,height:s.height+20}});return p.initProps(u,{shape:{width:s.width+20,height:s.height+20}},l,n),u}J.exports=r},JgUQ:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};B.default=d},JsLm:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("lwsE"),b=e.n(v),f=e("W8MJ"),i=e.n(f),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e("i8i4"),o=e("TSYQ"),h=e.n(o),A=e("zT1h"),y=e("cDf5"),O=e.n(y),S=e("BGR+"),E=e("t23M"),C=e("H84U"),T=e("PEeC");function w(qe){return qe!==window?qe.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function L(qe,yt,_e){return _e!==void 0&&yt.top>qe.top-_e?_e+yt.top:void 0}function N(qe,yt,_e){if(_e!==void 0&&yt.bottom<qe.bottom+_e){var je=window.innerHeight-yt.bottom;return _e+je}return}var D=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],F=[];function R(){return F}function U(qe,yt){if(!qe)return;var _e=F.find(function(je){return je.target===qe});_e?_e.affixList.push(yt):(_e={target:qe,affixList:[yt],eventHandlers:{}},F.push(_e),D.forEach(function(je){_e.eventHandlers[je]=Object(A.a)(qe,je,function(){_e.affixList.forEach(function(Ct){Ct.lazyUpdatePosition()})})}))}function M(qe){var yt=F.find(function(_e){var je=_e.affixList.some(function(Ct){return Ct===qe});return je&&(_e.affixList=_e.affixList.filter(function(Ct){return Ct!==qe})),je});yt&&yt.affixList.length===0&&(F=F.filter(function(_e){return _e!==yt}),D.forEach(function(_e){var je=yt.eventHandlers[_e];je&&je.remove&&je.remove()}))}var j=function(qe,yt,_e,je){var Ct=arguments.length,ct=Ct<3?yt:je===null?je=Object.getOwnPropertyDescriptor(yt,_e):je,nt;if((typeof Reflect=="undefined"?"undefined":O()(Reflect))==="object"&&typeof Reflect.decorate=="function")ct=Reflect.decorate(qe,yt,_e,je);else for(var bt=qe.length-1;bt>=0;bt--)(nt=qe[bt])&&(ct=(Ct<3?nt(ct):Ct>3?nt(yt,_e,ct):nt(yt,_e))||ct);return Ct>3&&ct&&Object.defineProperty(yt,_e,ct),ct};function P(){return typeof window!="undefined"?window:null}var K;(function(qe){qe[qe.None=0]="None",qe[qe.Prepare=1]="Prepare"})(K||(K={}));var H=function(qe){l()(_e,qe);var yt=u()(_e);function _e(){var je;return b()(this,_e),je=yt.apply(this,arguments),je.state={status:K.None,lastAffix:!1,prevTarget:null},je.getOffsetTop=function(){var Ct=je.props.offsetBottom,ct=je.props.offsetTop;return Ct===void 0&&ct===void 0&&(ct=0),ct},je.getOffsetBottom=function(){return je.props.offsetBottom},je.savePlaceholderNode=function(Ct){je.placeholderNode=Ct},je.saveFixedNode=function(Ct){je.fixedNode=Ct},je.measure=function(){var Ct=je.state,ct=Ct.status,nt=Ct.lastAffix,bt=je.props.onChange,dt=je.getTargetFunc();if(ct!==K.Prepare||!je.fixedNode||!je.placeholderNode||!dt)return;var vt=je.getOffsetTop(),Qe=je.getOffsetBottom(),mt=dt();if(!mt)return;var Pe={status:K.None},De=w(mt),Ie=w(je.placeholderNode),ot=L(Ie,De,vt),wt=N(Ie,De,Qe);ot!==void 0?(Pe.affixStyle={position:"fixed",top:ot,width:Ie.width,height:Ie.height},Pe.placeholderStyle={width:Ie.width,height:Ie.height}):wt!==void 0&&(Pe.affixStyle={position:"fixed",bottom:wt,width:Ie.width,height:Ie.height},Pe.placeholderStyle={width:Ie.width,height:Ie.height}),Pe.lastAffix=!!Pe.affixStyle,bt&&nt!==Pe.lastAffix&&bt(Pe.lastAffix),je.setState(Pe)},je.prepareMeasure=function(){if(je.setState({status:K.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var Ct},je.render=function(){var Ct=je.context.getPrefixCls,ct=je.state,nt=ct.affixStyle,bt=ct.placeholderStyle,dt=je.props,vt=dt.prefixCls,Qe=dt.children,mt=h()(p()({},Ct("affix",vt),nt)),Pe=Object(S.default)(je.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return t.createElement(E.a,{onResize:function(){je.updatePosition()}},t.createElement("div",x()({},Pe,{ref:je.savePlaceholderNode}),nt&&t.createElement("div",{style:bt,"aria-hidden":"true"}),t.createElement("div",{className:mt,ref:je.saveFixedNode,style:nt},t.createElement(E.a,{onResize:function(){je.updatePosition()}},Qe))))},je}return i()(_e,[{key:"getTargetFunc",value:function(){var Ct=this.context.getTargetContainer,ct=this.props.target;return ct!==void 0?ct:Ct||P}},{key:"componentDidMount",value:function(){var Ct=this,ct=this.getTargetFunc();ct&&(this.timeout=setTimeout(function(){U(ct(),Ct),Ct.updatePosition()}))}},{key:"componentDidUpdate",value:function(Ct){var ct=this.state.prevTarget,nt=this.getTargetFunc(),bt=null;nt&&(bt=nt()||null),ct!==bt&&(M(this),bt&&(U(bt,this),this.updatePosition()),this.setState({prevTarget:bt})),(Ct.offsetTop!==this.props.offsetTop||Ct.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),M(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var Ct=this.getTargetFunc(),ct=this.state.affixStyle;if(Ct&&ct){var nt=this.getOffsetTop(),bt=this.getOffsetBottom(),dt=Ct();if(dt&&this.placeholderNode){var vt=w(dt),Qe=w(this.placeholderNode),mt=L(Qe,vt,nt),Pe=N(Qe,vt,bt);if(mt!==void 0&&ct.top===mt||Pe!==void 0&&ct.bottom===Pe)return}}this.prepareMeasure()}}]),_e}(t.Component);H.contextType=C.b,j([Object(T.b)()],H.prototype,"updatePosition",null),j([Object(T.b)()],H.prototype,"lazyUpdatePosition",null);var _=H,Z=e("zAh6"),Y=e("i6bk"),k=t.createContext(null),Q=k;function X(){return window}function he(qe,yt){if(!qe.getClientRects().length)return 0;var _e=qe.getBoundingClientRect();return _e.width||_e.height?yt===window?(yt=qe.ownerDocument.documentElement,_e.top-yt.clientTop):_e.top-yt.getBoundingClientRect().top:_e.top}var te=/#(\S+)$/,pe=function(qe){l()(_e,qe);var yt=u()(_e);function _e(){var je;return b()(this,_e),je=yt.apply(this,arguments),je.state={activeLink:null},je.links=[],je.registerLink=function(Ct){je.links.includes(Ct)||je.links.push(Ct)},je.unregisterLink=function(Ct){var ct=je.links.indexOf(Ct);ct!==-1&&je.links.splice(ct,1)},je.getContainer=function(){var Ct=je.context.getTargetContainer,ct=je.props.getContainer,nt=ct||Ct||X;return nt()},je.handleScrollTo=function(Ct){var ct=je.props,nt=ct.offsetTop,bt=ct.targetOffset;je.setCurrentActiveLink(Ct);var dt=je.getContainer(),vt=Object(Y.a)(dt,!0),Qe=te.exec(Ct);if(!Qe)return;var mt=document.getElementById(Qe[1]);if(!mt)return;var Pe=he(mt,dt),De=vt+Pe;De-=bt!==void 0?bt:nt||0,je.animating=!0,Object(Z.a)(De,{callback:function(){je.animating=!1},getContainer:je.getContainer})},je.saveInkNode=function(Ct){je.inkNode=Ct},je.setCurrentActiveLink=function(Ct){var ct=je.state.activeLink,nt=je.props.onChange;ct!==Ct&&(je.setState({activeLink:Ct}),nt&&nt(Ct))},je.handleScroll=function(){if(je.animating)return;var Ct=je.props,ct=Ct.offsetTop,nt=Ct.bounds,bt=Ct.targetOffset,dt=je.getCurrentAnchor(bt!==void 0?bt:ct||0,nt);je.setCurrentActiveLink(dt)},je.updateInk=function(){var Ct=a()(je),ct=Ct.prefixCls,nt=c.findDOMNode(a()(je)),bt=nt.getElementsByClassName("".concat(ct,"-link-title-active"))[0];bt&&(je.inkNode.style.top="".concat(bt.offsetTop+bt.clientHeight/2-4.5,"px"))},je.render=function(){var Ct=je.context,ct=Ct.getPrefixCls,nt=Ct.direction,bt=je.props,dt=bt.prefixCls,vt=bt.className,Qe=vt===void 0?"":vt,mt=bt.style,Pe=bt.offsetTop,De=bt.affix,Ie=bt.showInkInFixed,ot=bt.children,wt=je.state.activeLink,Bt=ct("anchor",dt);je.prefixCls=Bt;var _t=h()("".concat(Bt,"-ink-ball"),{visible:wt}),Ue=h()(Qe,"".concat(Bt,"-wrapper"),p()({},"".concat(Bt,"-rtl"),nt==="rtl")),zt=h()(Bt,{fixed:!De&&!Ie}),xt=x()({maxHeight:Pe?"calc(100vh - ".concat(Pe,"px)"):"100vh"},mt),Pt=t.createElement("div",{className:Ue,style:xt},t.createElement("div",{className:zt},t.createElement("div",{className:"".concat(Bt,"-ink")},t.createElement("span",{className:_t,ref:je.saveInkNode})),ot));return t.createElement(Q.Provider,{value:{registerLink:je.registerLink,unregisterLink:je.unregisterLink,activeLink:je.state.activeLink,scrollTo:je.handleScrollTo,onClick:je.props.onClick}},De?t.createElement(_,{offsetTop:Pe,target:je.getContainer},Pt):Pt)},je}return i()(_e,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(A.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var Ct=this.getContainer();this.scrollContainer!==Ct&&(this.scrollContainer=Ct,this.scrollEvent.remove(),this.scrollEvent=Object(A.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var Ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,nt=this.props.getCurrentAnchor;if(typeof nt=="function")return nt();var bt=[],dt=this.getContainer();if(this.links.forEach(function(Qe){var mt=te.exec(Qe.toString());if(!mt)return;var Pe=document.getElementById(mt[1]);if(Pe){var De=he(Pe,dt);De<Ct+ct&&bt.push({link:Qe,top:De})}}),bt.length){var vt=bt.reduce(function(Qe,mt){return mt.top>Qe.top?mt:Qe});return vt.link}return""}}]),_e}(t.Component);pe.defaultProps={affix:!0,showInkInFixed:!1},pe.contextType=C.b;var Se=function(qe){l()(_e,qe);var yt=u()(_e);function _e(){var je;return b()(this,_e),je=yt.apply(this,arguments),je.handleClick=function(Ct){var ct=je.context,nt=ct.scrollTo,bt=ct.onClick,dt=je.props,vt=dt.href,Qe=dt.title;bt&&bt(Ct,{title:Qe,href:vt}),nt(vt)},je.renderAnchorLink=function(Ct){var ct=Ct.getPrefixCls,nt=je.props,bt=nt.prefixCls,dt=nt.href,vt=nt.title,Qe=nt.children,mt=nt.className,Pe=nt.target,De=ct("anchor",bt),Ie=je.context.activeLink===dt,ot=h()(mt,"".concat(De,"-link"),p()({},"".concat(De,"-link-active"),Ie)),wt=h()("".concat(De,"-link-title"),p()({},"".concat(De,"-link-title-active"),Ie));return t.createElement("div",{className:ot},t.createElement("a",{className:wt,href:dt,title:typeof vt=="string"?vt:"",target:Pe,onClick:je.handleClick},vt),Qe)},je}return i()(_e,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(Ct){var ct=Ct.href,nt=this.props.href;ct!==nt&&(this.context.unregisterLink(ct),this.context.registerLink(nt))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return t.createElement(C.a,null,this.renderAnchorLink)}}]),_e}(t.Component);Se.defaultProps={href:"#"},Se.contextType=Q;var we=Se;pe.Link=we;var We=B.a=pe},JuEJ:function(J,B,e){var d=e("bYtY"),x=e("4NO4"),g=d.each,p=d.isObject,v=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function b(t){var c=t&&t.itemStyle;if(!c)return;for(var o=0,h=v.length;o<h;o++){var A=v[o],y=c.normal,O=c.emphasis;y&&y[A]&&(t[A]=t[A]||{},t[A].normal?d.merge(t[A].normal,y[A]):t[A].normal=y[A],y[A]=null),O&&O[A]&&(t[A]=t[A]||{},t[A].emphasis?d.merge(t[A].emphasis,O[A]):t[A].emphasis=O[A],O[A]=null)}}function f(t,c,o){if(t&&t[c]&&(t[c].normal||t[c].emphasis)){var h=t[c].normal,A=t[c].emphasis;h&&(o?(t[c].normal=t[c].emphasis=null,d.defaults(t[c],h)):t[c]=h),A&&(t.emphasis=t.emphasis||{},t.emphasis[c]=A)}}function i(t){f(t,"itemStyle"),f(t,"lineStyle"),f(t,"areaStyle"),f(t,"label"),f(t,"labelLine"),f(t,"upperLabel"),f(t,"edgeLabel")}function r(t,c){var o=p(t)&&t[c],h=p(o)&&o.textStyle;if(h)for(var A=0,y=x.TEXT_STYLE_OPTIONS.length;A<y;A++){var c=x.TEXT_STYLE_OPTIONS[A];h.hasOwnProperty(c)&&(o[c]=h[c])}}function a(t){t&&(i(t),r(t,"label"),t.emphasis&&r(t.emphasis,"label"))}function s(t){if(!p(t))return;b(t),i(t),r(t,"label"),r(t,"upperLabel"),r(t,"edgeLabel"),t.emphasis&&(r(t.emphasis,"label"),r(t.emphasis,"upperLabel"),r(t.emphasis,"edgeLabel"));var c=t.markPoint;c&&(b(c),a(c));var o=t.markLine;o&&(b(o),a(o));var h=t.markArea;h&&a(h);var A=t.data;if(t.type==="graph"){A=A||t.nodes;var y=t.links||t.edges;if(y&&!d.isTypedArray(y))for(var O=0;O<y.length;O++)a(y[O]);d.each(t.categories,function(C){i(C)})}if(A&&!d.isTypedArray(A))for(var O=0;O<A.length;O++)a(A[O]);var c=t.markPoint;if(c&&c.data)for(var S=c.data,O=0;O<S.length;O++)a(S[O]);var o=t.markLine;if(o&&o.data)for(var E=o.data,O=0;O<E.length;O++)d.isArray(E[O])?(a(E[O][0]),a(E[O][1])):a(E[O]);t.type==="gauge"?(r(t,"axisLabel"),r(t,"title"),r(t,"detail")):t.type==="treemap"?(f(t.breadcrumb,"itemStyle"),d.each(t.levels,function(C){i(C)})):t.type==="tree"&&i(t.leaves)}function l(t){return d.isArray(t)?t:t?[t]:[]}function n(t){return(d.isArray(t)?t[0]:t)||{}}function u(t,c){g(l(t.series),function(h){p(h)&&s(h)});var o=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];c&&o.push("valueAxis","categoryAxis","logAxis","timeAxis"),g(o,function(h){g(l(t[h]),function(A){A&&(r(A,"axisLabel"),r(A.axisPointer,"label"))})}),g(l(t.parallel),function(h){var A=h&&h.parallelAxisDefault;r(A,"axisLabel"),r(A&&A.axisPointer,"label")}),g(l(t.calendar),function(h){f(h,"itemStyle"),r(h,"dayLabel"),r(h,"monthLabel"),r(h,"yearLabel")}),g(l(t.radar),function(h){r(h,"name")}),g(l(t.geo),function(h){p(h)&&(a(h),g(l(h.regions),function(A){a(A)}))}),g(l(t.timeline),function(h){a(h),f(h,"label"),f(h,"itemStyle"),f(h,"controlStyle",!0);var A=h.data;d.isArray(A)&&d.each(A,function(y){d.isObject(y)&&(f(y,"label"),f(y,"itemStyle"))})}),g(l(t.toolbox),function(h){f(h,"iconStyle"),g(h.feature,function(A){f(A,"iconStyle")})}),r(n(t.axisPointer),"label"),r(n(t.tooltip).axisPointer,"label")}J.exports=u},K2GJ:function(J,B,e){var d=e("fW2E"),x=e("gut8"),g=x.ContextCachedBy,p=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],v=function(n){this.extendFrom(n,!1)};function b(l,n,u){var t=n.x==null?0:n.x,c=n.x2==null?1:n.x2,o=n.y==null?0:n.y,h=n.y2==null?0:n.y2;n.global||(t=t*u.width+u.x,c=c*u.width+u.x,o=o*u.height+u.y,h=h*u.height+u.y),t=isNaN(t)?0:t,c=isNaN(c)?1:c,o=isNaN(o)?0:o,h=isNaN(h)?0:h;var A=l.createLinearGradient(t,o,c,h);return A}function f(l,n,u){var t=u.width,c=u.height,o=Math.min(t,c),h=n.x==null?.5:n.x,A=n.y==null?.5:n.y,y=n.r==null?.5:n.r;n.global||(h=h*t+u.x,A=A*c+u.y,y=y*o);var O=l.createRadialGradient(h,A,0,h,A,y);return O}v.prototype={constructor:v,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(n,u,t){var c=this,o=t&&t.style,h=!o||n.__attrCachedBy!==g.STYLE_BIND;n.__attrCachedBy=g.STYLE_BIND;for(var A=0;A<p.length;A++){var y=p[A],O=y[0];(h||c[O]!==o[O])&&(n[O]=d(n,O,c[O]||y[1]))}if((h||c.fill!==o.fill)&&(n.fillStyle=c.fill),(h||c.stroke!==o.stroke)&&(n.strokeStyle=c.stroke),(h||c.opacity!==o.opacity)&&(n.globalAlpha=c.opacity==null?1:c.opacity),(h||c.blend!==o.blend)&&(n.globalCompositeOperation=c.blend||"source-over"),this.hasStroke()){var S=c.lineWidth;n.lineWidth=S/(this.strokeNoScale&&u&&u.getLineScale?u.getLineScale():1)}},hasFill:function(){var n=this.fill;return n!=null&&n!=="none"},hasStroke:function(){var n=this.stroke;return n!=null&&n!=="none"&&this.lineWidth>0},extendFrom:function(n,u){if(n)for(var t in n)n.hasOwnProperty(t)&&(u===!0||(u===!1?!this.hasOwnProperty(t):n[t]!=null))&&(this[t]=n[t])},set:function(n,u){typeof n=="string"?this[n]=u:this.extendFrom(n,!0)},clone:function(){var n=new this.constructor;return n.extendFrom(this,!0),n},getGradient:function(n,u,t){for(var c=u.type==="radial"?f:b,o=c(n,u,t),h=u.colorStops,A=0;A<h.length;A++)o.addColorStop(h[A].offset,h[A].color);return o}};for(var i=v.prototype,r=0;r<p.length;r++){var a=p[r];a[0]in i||(i[a[0]]=a[1])}v.getGradient=i.getGradient;var s=v;J.exports=s},K4ya:function(J,B,e){var d=e("bYtY"),x=e("XxSj"),g=d.each;function p(r){if(r){for(var a in r)if(r.hasOwnProperty(a))return!0}}function v(r,a,s){var l={};return g(a,function(u){var t=l[u]=n();g(r[u],function(c,o){if(!x.isValidType(o))return;var h={type:o,visual:c};s&&s(h,u),t[o]=new x(h),o==="opacity"&&(h=d.clone(h),h.type="colorAlpha",t.__hidden.__alphaForOpacity=new x(h))})}),l;function n(){var u=function(){};u.prototype.__hidden=u.prototype;var t=new u;return t}}function b(r,a,s){var l;d.each(s,function(n){a.hasOwnProperty(n)&&p(a[n])&&(l=!0)}),l&&d.each(s,function(n){a.hasOwnProperty(n)&&p(a[n])?r[n]=d.clone(a[n]):delete r[n]})}function f(r,a,s,l,n,u){var t={};d.each(r,function(y){var O=x.prepareVisualTypes(a[y]);t[y]=O});var c;function o(y){return s.getItemVisual(c,y)}function h(y,O){s.setItemVisual(c,y,O)}u==null?s.each(A):s.each([u],A);function A(y,O){c=u==null?y:O;var S=s.getRawDataItem(c);if(S&&S.visualMap===!1)return;for(var E=l.call(n,y),C=a[E],T=t[E],w=0,L=T.length;w<L;w++){var N=T[w];C[N]&&C[N].applyVisual(y,o,h)}}}function i(r,a,s,l){var n={};d.each(r,function(t){var c=x.prepareVisualTypes(a[t]);n[t]=c});function u(t,c){l!=null&&(l=c.getDimension(l));function o(N){return c.getItemVisual(A,N)}function h(N,D){c.setItemVisual(A,N,D)}for(var A;(A=t.next())!=null;){var y=c.getRawDataItem(A);if(y&&y.visualMap===!1)continue;for(var O=l!=null?c.get(l,A,!0):A,S=s(O),E=a[S],C=n[S],T=0,w=C.length;T<w;T++){var L=C[T];E[L]&&E[L].applyVisual(O,o,h)}}}return{progress:u}}B.createVisualMappings=v,B.replaceVisualOption=b,B.applyVisual=f,B.incrementalApplyVisual=i},KCY9:function(J,B,e){},KCsZ:function(J,B,e){var d=e("bYtY");function x(g){for(var p=0;p<g.length;p++)g[p][1]||(g[p][1]=g[p][0]);return function(v,b,f){for(var i={},r=0;r<g.length;r++){var a=g[r][1];if(b&&d.indexOf(b,a)>=0||f&&d.indexOf(f,a)<0)continue;var s=v.getShallow(a);s!=null&&(i[g[r][0]]=s)}return i}}J.exports=x},KMkd:function(J,B){function e(){this.__data__=[],this.size=0}J.exports=e},KPFz:function(J,B,e){},KQeH:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};B.default=d},KS52:function(J,B,e){var d=e("OELB"),x=d.parsePercent,g=d.linearMap,p=e("+TT/"),v=e("u3DP"),b=e("bYtY"),f=Math.PI*2,i=Math.PI/180;function r(s,l){return p.getLayoutRect(s.getBoxLayoutParams(),{width:l.getWidth(),height:l.getHeight()})}function a(s,l,n,u){l.eachSeriesByType(s,function(t){var c=t.getData(),o=c.mapDimension("value"),h=r(t,n),A=t.get("center"),y=t.get("radius");b.isArray(y)||(y=[0,y]),b.isArray(A)||(A=[A,A]);var O=x(h.width,n.getWidth()),S=x(h.height,n.getHeight()),E=Math.min(O,S),C=x(A[0],O)+h.x,T=x(A[1],S)+h.y,w=x(y[0],E/2),L=x(y[1],E/2),N=-t.get("startAngle")*i,D=t.get("minAngle")*i,F=0;c.each(o,function(Q){!isNaN(Q)&&F++});var R=c.getSum(o),U=Math.PI/(R||F)*2,M=t.get("clockwise"),j=t.get("roseType"),P=t.get("stillShowZeroSum"),K=c.getDataExtent(o);K[0]=0;var H=f,_=0,Z=N,Y=M?1:-1;if(c.each(o,function(Q,X){var he;if(isNaN(Q)){c.setItemLayout(X,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:C,cy:T,r0:w,r:j?NaN:L,viewRect:h});return}j!=="area"?he=R===0&&P?U:Q*U:he=f/F,he<D?(he=D,H-=D):_+=Q;var te=Z+Y*he;c.setItemLayout(X,{angle:he,startAngle:Z,endAngle:te,clockwise:M,cx:C,cy:T,r0:w,r:j?g(Q,K,[w,L]):L,viewRect:h}),Z=te}),H<f&&F)if(H<=.001){var k=f/F;c.each(o,function(Q,X){if(!isNaN(Q)){var he=c.getItemLayout(X);he.angle=k,he.startAngle=N+Y*X*k,he.endAngle=N+Y*(X+1)*k}})}else U=H/_,Z=N,c.each(o,function(Q,X){if(!isNaN(Q)){var he=c.getItemLayout(X),te=he.angle===D?D:Q*U;he.startAngle=Z,he.endAngle=Z+Y*te,Z+=Y*te}});v(t,L,h.width,h.height,h.x,h.y)})}J.exports=a},KUOm:function(J,B){function e(d){var x={};d.eachSeriesByType("graph",function(g){var p=g.getCategoriesData(),v=g.getData(),b={};p.each(function(f){var i=p.getName(f);b["ec-"+i]=f;var r=p.getItemModel(f),a=r.get("itemStyle.color")||g.getColorFromPalette(i,x);p.setItemVisual(f,"color",a);for(var s=["opacity","symbol","symbolSize","symbolKeepAspect"],l=0;l<s.length;l++){var n=r.getShallow(s[l],!0);n!=null&&p.setItemVisual(f,s[l],n)}}),p.count()&&v.each(function(f){var i=v.getItemModel(f),r=i.getShallow("category");if(r!=null){typeof r=="string"&&(r=b["ec-"+r]);for(var a=["color","opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)v.getItemVisual(f,a[s],!0)==null&&v.setItemVisual(f,a[s],p.getItemVisual(r,a[s]))}})})}J.exports=e},Kagy:function(J,B){var e={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};J.exports=e},KamJ:function(J,B,e){var d=e("ProS"),x=e("szbU");e("vF/C"),e("qwVE"),e("BuqR"),e("AE9C"),e("1u/T"),d.registerPreprocessor(x)},KmBX:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("CP8R")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="FilterFilled";var f=g.forwardRef(b);B.default=f},"KpQ+":function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("E/ki")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="ClockCircleOutlined";var f=g.forwardRef(b);B.default=f},KrTs:function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("cDf5"),p=e.n(g),v=e("pVnL"),b=e.n(v),f=e("q1tI"),i=e("UmKh"),r=e("TSYQ"),a=e.n(r),s=e("J4zp"),l=e.n(s),n=e("H84U"),u=e("0n0R"),t=function(L,N){var D={};for(var F in L)Object.prototype.hasOwnProperty.call(L,F)&&N.indexOf(F)<0&&(D[F]=L[F]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,F=Object.getOwnPropertySymbols(L);R<F.length;R++)N.indexOf(F[R])<0&&Object.prototype.propertyIsEnumerable.call(L,F[R])&&(D[F[R]]=L[F[R]]);return D};function c(L){return L?L.toString().split("").reverse().map(function(N){var D=Number(N);return isNaN(D)?N:D}):[]}function o(L,N){for(var D=[],F=0;F<30;F++)D.push(f.createElement("p",{key:F.toString(),className:a()(N,{current:L===F})},F%10));return D}var h=function(N){var D=N.prefixCls,F=N.count,R=N.className,U=N.style,M=N.title,j=N.component,P=j===void 0?"sup":j,K=N.displayComponent,H=N.onAnimated,_=H===void 0?function(){}:H,Z=t(N,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),Y=f.useState(!0),k=l()(Y,2),Q=k[0],X=k[1],he=f.useState(F),te=l()(he,2),pe=te[0],Se=te[1],we=f.useState(F),We=l()(we,2),qe=We[0],yt=We[1],_e=f.useState(F),je=l()(_e,2),Ct=je[0],ct=je[1],nt=f.useContext(n.b),bt=nt.getPrefixCls,dt=bt("scroll-number",D);qe!==F&&(X(!0),yt(F)),f.useEffect(function(){ct(pe);var De;return Q&&(De=setTimeout(function(){X(!1),Se(F),_()})),function(){De&&clearTimeout(De)}},[Q,F,_]);var vt=function(Ie,ot){var wt=Math.abs(Number(pe)),Bt=Math.abs(Number(Ct)),_t=Math.abs(c(pe)[ot]),Ue=Math.abs(c(Bt)[ot]);return Q?10+Ie:wt>Bt?_t>=Ue?10+Ie:20+Ie:_t<=Ue?10+Ie:Ie},Qe=function(Ie,ot){if(typeof Ie=="number"){var wt=vt(Ie,ot),Bt=Q||c(Ct)[ot]===void 0;return f.createElement("span",{className:"".concat(dt,"-only"),style:{transition:Bt?"none":void 0,msTransform:"translateY(".concat(-wt*100,"%)"),WebkitTransform:"translateY(".concat(-wt*100,"%)"),transform:"translateY(".concat(-wt*100,"%)")},key:ot},o(wt,"".concat(dt,"-only-unit")))}return f.createElement("span",{key:"symbol",className:"".concat(dt,"-symbol")},Ie)},mt=function(){return pe&&Number(pe)%1===0?c(pe).map(function(Ie,ot){return Qe(Ie,ot)}).reverse():pe},Pe=b()(b()({},Z),{style:U,className:a()(dt,R),title:M});return U&&U.borderColor&&(Pe.style=b()(b()({},U),{boxShadow:"0 0 0 1px ".concat(U.borderColor," inset")})),K?Object(u.a)(K,{className:a()("".concat(dt,"-custom-component"),K.props&&K.props.className)}):f.createElement(P,Pe,mt())},A=h,y=e("09Wf");function O(L){return y.a.indexOf(L)!==-1}var S=function(N){var D,F=N.className,R=N.prefixCls,U=N.style,M=N.color,j=N.children,P=N.text,K=N.placement,H=K===void 0?"end":K,_=f.useContext(n.b),Z=_.getPrefixCls,Y=_.direction,k=Z("ribbon",R),Q=O(M),X=a()(k,F,"".concat(k,"-placement-").concat(H),(D={},x()(D,"".concat(k,"-rtl"),Y==="rtl"),x()(D,"".concat(k,"-color-").concat(M),Q),D)),he={},te={};return M&&!Q&&(he.background=M,te.color=M),f.createElement("div",{className:"".concat(k,"-wrapper")},j,f.createElement("div",{className:X,style:b()(b()({},he),U)},P,f.createElement("div",{className:"".concat(k,"-corner"),style:te})))},E=S,C=function(L,N){var D={};for(var F in L)Object.prototype.hasOwnProperty.call(L,F)&&N.indexOf(F)<0&&(D[F]=L[F]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,F=Object.getOwnPropertySymbols(L);R<F.length;R++)N.indexOf(F[R])<0&&Object.prototype.propertyIsEnumerable.call(L,F[R])&&(D[F[R]]=L[F[R]]);return D},T=function(N){var D,F,R=N.prefixCls,U=N.scrollNumberPrefixCls,M=N.children,j=N.status,P=N.text,K=N.color,H=N.count,_=H===void 0?null:H,Z=N.overflowCount,Y=Z===void 0?99:Z,k=N.dot,Q=k===void 0?!1:k,X=N.size,he=X===void 0?"default":X,te=N.title,pe=N.offset,Se=N.style,we=N.className,We=N.showZero,qe=We===void 0?!1:We,yt=C(N,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),_e=f.useContext(n.b),je=_e.getPrefixCls,Ct=_e.direction,ct=je("badge",R),nt=function(){var Ke=_>Y?"".concat(Y,"+"):_;return Ke},bt=function(){return!!j||!!K},dt=function(){var Ke=nt();return Ke==="0"||Ke===0},vt=function(){return Q&&!dt()||bt()},Qe=function(){return vt()?"":nt()},mt=function(){return te||(typeof _=="string"||typeof _=="number"?_:void 0)},Pe=function(){return Ct==="rtl"?pe?b()({left:parseInt(pe[0],10),marginTop:pe[1]},Se):Se:pe?b()({right:-parseInt(pe[0],10),marginTop:pe[1]},Se):Se},De=function(){var Ke=Qe(),Ye=Ke==null||Ke==="";return(Ye||dt()&&!qe)&&!vt()},Ie=function(){var Ke=De();return Ke||!P?null:f.createElement("span",{className:"".concat(ct,"-status-text")},P)},ot=function(){var Ke=_;return!Ke||p()(Ke)!=="object"?void 0:Object(u.a)(Ke,{style:b()(b()({},Pe()),Ke.props&&Ke.props.style)})},wt=function(){var Ke,Ye=je("scroll-number",U),$e=Qe(),ut=vt(),et=De(),oe=a()((Ke={},x()(Ke,"".concat(ct,"-dot"),ut),x()(Ke,"".concat(ct,"-count"),!ut),x()(Ke,"".concat(ct,"-count-sm"),he==="small"),x()(Ke,"".concat(ct,"-multiple-words"),!ut&&_&&_.toString&&_.toString().length>1),x()(Ke,"".concat(ct,"-status-").concat(j),!!j),x()(Ke,"".concat(ct,"-status-").concat(K),O(K)),Ke)),me=Pe();return K&&!O(K)&&(me=me||{},me.background=K),et?null:f.createElement(A,{prefixCls:Ye,"data-show":!et,className:oe,count:$e,displayComponent:ot(),title:mt(),style:me,key:"scrollNumber"})},Bt=a()((D={},x()(D,"".concat(ct,"-status-dot"),bt()),x()(D,"".concat(ct,"-status-").concat(j),!!j),x()(D,"".concat(ct,"-status-").concat(K),O(K)),D)),_t={};K&&!O(K)&&(_t.background=K);var Ue=a()(we,ct,(F={},x()(F,"".concat(ct,"-status"),bt()),x()(F,"".concat(ct,"-not-a-wrapper"),!M),x()(F,"".concat(ct,"-rtl"),Ct==="rtl"),F));if(!M&&bt()){var zt=Pe(),xt=zt&&zt.color;return f.createElement("span",b()({},yt,{className:Ue,style:zt}),f.createElement("span",{className:Bt,style:_t}),f.createElement("span",{style:{color:xt},className:"".concat(ct,"-status-text")},P))}return f.createElement("span",b()({},yt,{className:Ue}),M,f.createElement(i.a,{component:"",showProp:"data-show",transitionName:M?"".concat(ct,"-zoom"):"",transitionAppear:!0},wt()),Ie())};T.Ribbon=E;var w=B.a=T},Kvyg:function(J,B,e){},KxBF:function(J,B){function e(d,x,g){var p=-1,v=d.length;x<0&&(x=-x>v?0:v+x),g=g>v?v:g,g<0&&(g+=v),v=x>g?0:g-x>>>0,x>>>=0;for(var b=Array(v);++p<v;)b[p]=d[p+x];return b}J.exports=e},KxFI:function(J,B,e){},KxfA:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=g.isTypedArray,v=g.extend,b=g.assert,f=g.each,i=g.isObject,r=e("4NO4"),a=r.getDataItemValue,s=r.isDataItemOption,l=e("OELB"),n=l.parseDate,u=e("7G+c"),t=e("k9D9"),c=t.SOURCE_FORMAT_TYPED_ARRAY,o=t.SOURCE_FORMAT_ARRAY_ROWS,h=t.SOURCE_FORMAT_ORIGINAL,A=t.SOURCE_FORMAT_OBJECT_ROWS;function y(M,j){u.isInstance(M)||(M=u.seriesDataToSource(M)),this._source=M;var P=this._data=M.data,K=M.sourceFormat;K===c&&(this._offset=0,this._dimSize=j,this._data=P);var H=S[K===o?K+"_"+M.seriesLayoutBy:K];v(this,H)}var O=y.prototype;O.pure=!1,O.persistent=!0,O.getSource=function(){return this._source};var S={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(M){return this._data[M+this._source.startIndex]},appendData:T},arrayRows_row:{pure:!0,count:function(){var M=this._data[0];return M?Math.max(0,M.length-this._source.startIndex):0},getItem:function(M){M+=this._source.startIndex;for(var j=[],P=this._data,K=0;K<P.length;K++){var H=P[K];j.push(H?H[M]:null)}return j},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:E,getItem:C,appendData:T},keyedColumns:{pure:!0,count:function(){var M=this._source.dimensionsDefine[0].name,j=this._data[M];return j?j.length:0},getItem:function(M){for(var j=[],P=this._source.dimensionsDefine,K=0;K<P.length;K++){var H=this._data[P[K].name];j.push(H?H[M]:null)}return j},appendData:function(M){var j=this._data;f(M,function(P,K){for(var H=j[K]||(j[K]=[]),_=0;_<(P||[]).length;_++)H.push(P[_])})}},original:{count:E,getItem:C,appendData:T},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(M,j){M=M-this._offset,j=j||[];for(var P=this._dimSize*M,K=0;K<this._dimSize;K++)j[K]=this._data[P+K];return j},appendData:function(M){this._data=M},clean:function(){this._offset+=this.count(),this._data=null}}};function E(){return this._data.length}function C(M){return this._data[M]}function T(M){for(var j=0;j<M.length;j++)this._data.push(M[j])}var w={arrayRows:L,objectRows:function(M,j,P,K){return P!=null?M[K]:M},keyedColumns:L,original:function(M,j,P,K){var H=a(M);return P==null||!(H instanceof Array)?H:H[P]},typedArray:L};function L(M,j,P,K){return P!=null?M[P]:M}var N={arrayRows:D,objectRows:function(M,j,P,K){return F(M[j],this._dimensionInfos[j])},keyedColumns:D,original:function(M,j,P,K){var H=M&&(M.value==null?M:M.value);return!this._rawData.pure&&s(M)&&(this.hasItemOption=!0),F(H instanceof Array?H[K]:H,this._dimensionInfos[j])},typedArray:function(M,j,P,K){return M[K]}};function D(M,j,P,K){return F(M[K],this._dimensionInfos[j])}function F(M,j){var P=j&&j.type;if(P==="ordinal"){var K=j&&j.ordinalMeta;return K?K.parseAndCollect(M):M}return P==="time"&&typeof M!="number"&&M!=null&&M!=="-"&&(M=+n(M)),M==null||M===""?NaN:+M}function R(M,j,P){if(!M)return;var K=M.getRawDataItem(j);if(K==null)return;var H=M.getProvider().getSource().sourceFormat,_,Z,Y=M.getDimensionInfo(P);return Y&&(_=Y.name,Z=Y.index),w[H](K,j,Z,_)}function U(M,j,P){if(!M)return;var K=M.getProvider().getSource().sourceFormat;if(K!==h&&K!==A)return;var H=M.getRawDataItem(j);if(K===h&&!i(H)&&(H=null),H)return H[P]}B.DefaultDataProvider=y,B.defaultDimValueGetters=N,B.retrieveRawValue=R,B.retrieveRawAttr=U},L0Ub:function(J,B,e){var d=e("bYtY"),x=d.each,g=d.createHashMap,p=d.assert,v=e("Tghj"),b=v.__DEV__,f=g(["tooltip","label","itemName","itemId","seriesName"]);function i(l){var n={},u=n.encode={},t=g(),c=[],o=[],h=n.userOutput={dimensionNames:l.dimensions.slice(),encode:{}};x(l.dimensions,function(E){var C=l.getDimensionInfo(E),T=C.coordDim;if(T){var w=C.coordDimIndex;r(u,T)[w]=E,C.isExtraCoord||(t.set(T,1),s(C.type)&&(c[0]=E),r(h.encode,T)[w]=C.index),C.defaultTooltip&&o.push(E)}f.each(function(L,N){var D=r(u,N),F=C.otherDims[N];F!=null&&F!==!1&&(D[F]=C.name)})});var A=[],y={};t.each(function(E,C){var T=u[C];y[C]=T[0],A=A.concat(T)}),n.dataDimsOnCoord=A,n.encodeFirstDimNotExtra=y;var O=u.label;O&&O.length&&(c=O.slice());var S=u.tooltip;return S&&S.length?o=S.slice():o.length||(o=c.slice()),u.defaultedLabel=c,u.defaultedTooltip=o,n}function r(l,n){return l.hasOwnProperty(n)||(l[n]=[]),l[n]}function a(l){return l==="category"?"ordinal":l==="time"?"time":"float"}function s(l){return!(l==="ordinal"||l==="time")}B.OTHER_DIMENSIONS=f,B.summarizeDimensions=i,B.getDimensionTypeByAxis=a},L3Oj:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("HjIi");e("HM/N"),e("9eas"),e("eS4l"),e("y4/Y"),e("as94"),d.registerLayout(x.curry(g,"bar")),d.extendComponentView({type:"polar"})},L5E0:function(J,B){var e=["itemStyle","borderColor"];function d(x,g){var p=x.get("color");x.eachRawSeriesByType("boxplot",function(v){var b=p[v.seriesIndex%p.length],f=v.getData();f.setVisual({legendSymbol:"roundRect",color:v.get(e)||b}),x.isSeriesFiltered(v)||f.each(function(i){var r=f.getItemModel(i);f.setItemVisual(i,{color:r.get(e,!0)})})})}J.exports=d},L8xA:function(J,B){function e(d){var x=this.__data__,g=x.delete(d);return this.size=x.size,g}J.exports=e},LBfv:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=x.createHashMap,p=x.each;d.registerProcessor({getTargetSeries:function(v){var b=g();return v.eachComponent("dataZoom",function(f){f.eachTargetAxis(function(i,r,a){var s=a.getAxisProxy(i.name,r);p(s.getTargetSeriesModels(),function(l){b.set(l.uid,l)})})}),b},modifyOutputEnd:!0,overallReset:function(v,b){v.eachComponent("dataZoom",function(f){f.eachTargetAxis(function(i,r,a){a.getAxisProxy(i.name,r).reset(a,b)}),f.eachTargetAxis(function(i,r,a){a.getAxisProxy(i.name,r).filterData(a,b)})}),v.eachComponent("dataZoom",function(f){var i=f.findRepresentativeAxisProxy(),r=i.getDataPercentWindow(),a=i.getDataValueWindow();f.setCalculatedRange({start:r[0],end:r[1],startValue:a[0],endValue:a[1]})})}})},LPTA:function(J,B){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var d=0,x=e;B.debugMode=d,B.devicePixelRatio=x},LPzL:function(J,B,e){var d=e("ProS");e("QzjZ"),e("vL6D"),e("xiyX"),e("y4/Y"),e("8Th4"),d.extendComponentView({type:"single"})},LSTS:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d=function(){function l(n,u){for(var t=0;t<u.length;t++){var c=u[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,c.key,c)}}return function(n,u,t){return u&&l(n.prototype,u),t&&l(n,t),n}}(),x=e("q1tI"),g=b(x),p=e("17x9"),v=b(p);function b(l){return l&&l.__esModule?l:{default:l}}function f(l,n){var u={};for(var t in l){if(n.indexOf(t)>=0)continue;if(!Object.prototype.hasOwnProperty.call(l,t))continue;u[t]=l[t]}return u}function i(l,n){if(!(l instanceof n))throw new TypeError("Cannot call a class as a function")}function r(l,n){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:l}function a(l,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);l.prototype=Object.create(n&&n.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(l,n):l.__proto__=n)}var s=function(l){a(n,l);function n(u){i(this,n);var t=r(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,u));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return d(n,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var 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,c={get passive(){t=!0}};try{document.addEventListener("test",null,c),document.removeEventListener("test",null,c)}catch(o){}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 c=this.props.getScrollParent&&this.props.getScrollParent();return c!=null?c: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 c=window;this.props.useWindow===!1&&(c=t),c.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),c.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),c.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,c=window,o=this.getParentElement(t),h=void 0;if(this.props.useWindow){var A=document.documentElement||document.body.parentNode||document.body,y=c.pageYOffset!==void 0?c.pageYOffset:A.scrollTop;this.props.isReverse?h=y:h=this.calculateOffset(t,y)}else this.props.isReverse?h=o.scrollTop:h=t.scrollHeight-o.scrollTop-o.clientHeight;h<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=o.scrollHeight,this.beforeScrollTop=o.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(t,c){return t?this.calculateTopPosition(t)+(t.offsetHeight-c-window.innerHeight):0}},{key:"calculateTopPosition",value:function(t){return t?t.offsetTop+this.calculateTopPosition(t.offsetParent):0}},{key:"render",value:function(){var t=this,c=this.filterProps(this.props),o=c.children,h=c.element,A=c.hasMore,y=c.initialLoad,O=c.isReverse,S=c.loader,E=c.loadMore,C=c.pageStart,T=c.ref,w=c.threshold,L=c.useCapture,N=c.useWindow,D=c.getScrollParent,F=f(c,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);F.ref=function(U){t.scrollComponent=U,T&&T(U)};var R=[o];return A&&(S?O?R.unshift(S):R.push(S):this.defaultLoader&&(O?R.unshift(this.defaultLoader):R.push(this.defaultLoader))),g.default.createElement(h,F,R)}}]),n}(x.Component);s.propTypes={children:v.default.node.isRequired,element:v.default.node,hasMore:v.default.bool,initialLoad:v.default.bool,isReverse:v.default.bool,loader:v.default.node,loadMore:v.default.func.isRequired,pageStart:v.default.number,ref:v.default.func,getScrollParent:v.default.func,threshold:v.default.number,useCapture:v.default.bool,useWindow:v.default.bool},s.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},B.default=s,J.exports=B.default},LXxW:function(J,B){function e(d,x){for(var g=-1,p=d==null?0:d.length,v=0,b=[];++g<p;){var f=d[g];x(f,g,d)&&(b[v++]=f)}return b}J.exports=e},Lerx:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("Mds0"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},Llu2:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="DeliveredProcedureOutlined";var b=B.a=d.forwardRef(v)},LtfV:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="InboxOutlined";var b=B.a=d.forwardRef(v)},Lyp1:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="QuestionCircleOutlined";var b=B.a=d.forwardRef(v)},LzGr:function(J,B,e){var d=e("ProS"),x=e("rnVJ");e("EMyp"),e("8x+h"),e("wt3j"),e("uOyE"),e("/stD"),d.registerPreprocessor(x)},MBQ8:function(J,B,e){var d=e("T4UG"),x=e("MwEJ"),g=d.extend({type:"series.__base_bar__",getInitialData:function(p,v){return x(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(p){var v=this.coordinateSystem;if(v){var b=v.dataToPoint(v.clampData(p)),f=this.getData(),i=f.getLayout("offset"),r=f.getLayout("size"),a=v.getBaseAxis().isHorizontal()?0:1;return b[a]+=i+r/2,b}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});J.exports=g},MEGo:function(J,B,e){var d=e("4fz+"),x=e("Dagg"),g=e("dqUG"),p=e("2fw6"),v=e("x6Kt"),b=e("rmlV"),f=e("yxFR"),i=e("y+Vt"),r=e("h7HQ"),a=e("1Jh7"),s=e("SKnc"),l=e("K2GJ"),n=e("Fofx"),u=e("NC18"),t=u.createFromString,c=e("bYtY"),o=c.isString,h=c.extend,A=c.defaults,y=c.trim,O=c.each,S=/[\s,]+/;function E(Y){if(o(Y)){var k=new DOMParser;Y=k.parseFromString(Y,"text/xml")}for(Y.nodeType===9&&(Y=Y.firstChild);Y.nodeName.toLowerCase()!=="svg"||Y.nodeType!==1;)Y=Y.nextSibling;return Y}function C(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}C.prototype.parse=function(Y,k){k=k||{};var Q=E(Y);if(!Q)throw new Error("Illegal svg");var X=new d;this._root=X;var he=Q.getAttribute("viewBox")||"",te=parseFloat(Q.getAttribute("width")||k.width),pe=parseFloat(Q.getAttribute("height")||k.height);isNaN(te)&&(te=null),isNaN(pe)&&(pe=null),R(Q,X,null,!0);for(var Se=Q.firstChild;Se;)this._parseNode(Se,X),Se=Se.nextSibling;var we,We;if(he){var qe=y(he).split(S);qe.length>=4&&(we={x:parseFloat(qe[0]||0),y:parseFloat(qe[1]||0),width:parseFloat(qe[2]),height:parseFloat(qe[3])})}if(we&&te!=null&&pe!=null&&(We=_(we,te,pe),!k.ignoreViewBox)){var yt=X;X=new d,X.add(yt),yt.scale=We.scale.slice(),yt.position=We.position.slice()}return!k.ignoreRootClip&&te!=null&&pe!=null&&X.setClipPath(new v({shape:{x:0,y:0,width:te,height:pe}})),{root:X,width:te,height:pe,viewBoxRect:we,viewBoxTransform:We}},C.prototype._parseNode=function(Y,k){var Q=Y.nodeName.toLowerCase();Q==="defs"?this._isDefine=!0:Q==="text"&&(this._isText=!0);var X;if(this._isDefine){var he=w[Q];if(he){var te=he.call(this,Y),pe=Y.getAttribute("id");pe&&(this._defs[pe]=te)}}else{var he=T[Q];he&&(X=he.call(this,Y,k),k.add(X))}for(var Se=Y.firstChild;Se;)Se.nodeType===1&&this._parseNode(Se,X),Se.nodeType===3&&this._isText&&this._parseText(Se,X),Se=Se.nextSibling;Q==="defs"?this._isDefine=!1:Q==="text"&&(this._isText=!1)},C.prototype._parseText=function(Y,k){if(Y.nodeType===1){var Q=Y.getAttribute("dx")||0,X=Y.getAttribute("dy")||0;this._textX+=parseFloat(Q),this._textY+=parseFloat(X)}var he=new g({style:{text:Y.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});N(k,he),R(Y,he,this._defs);var te=he.style.fontSize;te&&te<9&&(he.style.fontSize=9,he.scale=he.scale||[1,1],he.scale[0]*=te/9,he.scale[1]*=te/9);var pe=he.getBoundingRect();return this._textX+=pe.width,k.add(he),he};var T={g:function(k,Q){var X=new d;return N(Q,X),R(k,X,this._defs),X},rect:function(k,Q){var X=new v;return N(Q,X),R(k,X,this._defs),X.setShape({x:parseFloat(k.getAttribute("x")||0),y:parseFloat(k.getAttribute("y")||0),width:parseFloat(k.getAttribute("width")||0),height:parseFloat(k.getAttribute("height")||0)}),X},circle:function(k,Q){var X=new p;return N(Q,X),R(k,X,this._defs),X.setShape({cx:parseFloat(k.getAttribute("cx")||0),cy:parseFloat(k.getAttribute("cy")||0),r:parseFloat(k.getAttribute("r")||0)}),X},line:function(k,Q){var X=new f;return N(Q,X),R(k,X,this._defs),X.setShape({x1:parseFloat(k.getAttribute("x1")||0),y1:parseFloat(k.getAttribute("y1")||0),x2:parseFloat(k.getAttribute("x2")||0),y2:parseFloat(k.getAttribute("y2")||0)}),X},ellipse:function(k,Q){var X=new b;return N(Q,X),R(k,X,this._defs),X.setShape({cx:parseFloat(k.getAttribute("cx")||0),cy:parseFloat(k.getAttribute("cy")||0),rx:parseFloat(k.getAttribute("rx")||0),ry:parseFloat(k.getAttribute("ry")||0)}),X},polygon:function(k,Q){var X=k.getAttribute("points");X&&(X=D(X));var he=new r({shape:{points:X||[]}});return N(Q,he),R(k,he,this._defs),he},polyline:function(k,Q){var X=new i;N(Q,X),R(k,X,this._defs);var he=k.getAttribute("points");he&&(he=D(he));var te=new a({shape:{points:he||[]}});return te},image:function(k,Q){var X=new x;return N(Q,X),R(k,X,this._defs),X.setStyle({image:k.getAttribute("xlink:href"),x:k.getAttribute("x"),y:k.getAttribute("y"),width:k.getAttribute("width"),height:k.getAttribute("height")}),X},text:function(k,Q){var X=k.getAttribute("x")||0,he=k.getAttribute("y")||0,te=k.getAttribute("dx")||0,pe=k.getAttribute("dy")||0;this._textX=parseFloat(X)+parseFloat(te),this._textY=parseFloat(he)+parseFloat(pe);var Se=new d;return N(Q,Se),R(k,Se,this._defs),Se},tspan:function(k,Q){var X=k.getAttribute("x"),he=k.getAttribute("y");X!=null&&(this._textX=parseFloat(X)),he!=null&&(this._textY=parseFloat(he));var te=k.getAttribute("dx")||0,pe=k.getAttribute("dy")||0,Se=new d;return N(Q,Se),R(k,Se,this._defs),this._textX+=te,this._textY+=pe,Se},path:function(k,Q){var X=k.getAttribute("d")||"",he=t(X);return N(Q,he),R(k,he,this._defs),he}},w={lineargradient:function(k){var Q=parseInt(k.getAttribute("x1")||0,10),X=parseInt(k.getAttribute("y1")||0,10),he=parseInt(k.getAttribute("x2")||10,10),te=parseInt(k.getAttribute("y2")||0,10),pe=new s(Q,X,he,te);return L(k,pe),pe},radialgradient:function(k){}};function L(Y,k){for(var Q=Y.firstChild;Q;){if(Q.nodeType===1){var X=Q.getAttribute("offset");X.indexOf("%")>0?X=parseInt(X,10)/100:X?X=parseFloat(X):X=0;var he=Q.getAttribute("stop-color")||"#000000";k.addColorStop(X,he)}Q=Q.nextSibling}}function N(Y,k){Y&&Y.__inheritedStyle&&(k.__inheritedStyle||(k.__inheritedStyle={}),A(k.__inheritedStyle,Y.__inheritedStyle))}function D(Y){for(var k=y(Y).split(S),Q=[],X=0;X<k.length;X+=2){var he=parseFloat(k[X]),te=parseFloat(k[X+1]);Q.push([he,te])}return Q}var F={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function R(Y,k,Q,X){var he=k.__inheritedStyle||{},te=k.type==="text";if(Y.nodeType===1&&(P(Y,k),h(he,H(Y)),!X)){for(var pe in F)if(F.hasOwnProperty(pe)){var Se=Y.getAttribute(pe);Se!=null&&(he[F[pe]]=Se)}}var we=te?"textFill":"fill",We=te?"textStroke":"stroke";k.style=k.style||new l;var qe=k.style;he.fill!=null&&qe.set(we,M(he.fill,Q)),he.stroke!=null&&qe.set(We,M(he.stroke,Q)),O(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(yt){var _e=yt==="lineWidth"&&te?"textStrokeWidth":yt;he[yt]!=null&&qe.set(_e,parseFloat(he[yt]))}),(!he.textBaseline||he.textBaseline==="auto")&&(he.textBaseline="alphabetic"),he.textBaseline==="alphabetic"&&(he.textBaseline="bottom"),he.textAlign==="start"&&(he.textAlign="left"),he.textAlign==="end"&&(he.textAlign="right"),O(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(yt){he[yt]!=null&&qe.set(yt,he[yt])}),he.lineDash&&(k.style.lineDash=y(he.lineDash).split(S)),qe[We]&&qe[We]!=="none"&&(k[We]=!0),k.__inheritedStyle=he}var U=/url\(\s*#(.*?)\)/;function M(Y,k){var Q=k&&Y&&Y.match(U);if(Q){var X=y(Q[1]),he=k[X];return he}return Y}var j=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function P(Y,k){var Q=Y.getAttribute("transform");if(Q){Q=Q.replace(/,/g," ");var X=null,he=[];Q.replace(j,function(we,We,qe){he.push(We,qe)});for(var te=he.length-1;te>0;te-=2){var pe=he[te],Se=he[te-1];X=X||n.create();switch(Se){case"translate":pe=y(pe).split(S),n.translate(X,X,[parseFloat(pe[0]),parseFloat(pe[1]||0)]);break;case"scale":pe=y(pe).split(S),n.scale(X,X,[parseFloat(pe[0]),parseFloat(pe[1]||pe[0])]);break;case"rotate":pe=y(pe).split(S),n.rotate(X,X,parseFloat(pe[0]));break;case"skew":pe=y(pe).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":var pe=y(pe).split(S);X[0]=parseFloat(pe[0]),X[1]=parseFloat(pe[1]),X[2]=parseFloat(pe[2]),X[3]=parseFloat(pe[3]),X[4]=parseFloat(pe[4]),X[5]=parseFloat(pe[5]);break}}k.setLocalTransform(X)}}var K=/([^\s:;]+)\s*:\s*([^:;]+)/g;function H(Y){var k=Y.getAttribute("style"),Q={};if(!k)return Q;var X={};K.lastIndex=0;for(var he;(he=K.exec(k))!=null;)X[he[1]]=he[2];for(var te in F)F.hasOwnProperty(te)&&X[te]!=null&&(Q[F[te]]=X[te]);return Q}function _(Y,k,Q){var X=k/Y.width,he=Q/Y.height,te=Math.min(X,he),pe=[te,te],Se=[-(Y.x+Y.width/2)*te+k/2,-(Y.y+Y.height/2)*te+Q/2];return{scale:pe,position:Se}}function Z(Y,k){var Q=new C;return Q.parse(Y,k)}B.parseXML=E,B.makeViewBoxTransform=_,B.parseSVG=Z},MFOe:function(J,B,e){(function(d){var x=b(),g=f(),p=i(),v=typeof window!="undefined"?window:d;J.exports={assign:x,create:g,trim:p,bind:r,slice:a,each:s,map:l,pluck:n,isList:u,isFunction:t,isObject:c,Global:v};function b(){return Object.assign?Object.assign:function(h,A,y,O){for(var S=1;S<arguments.length;S++)s(Object(arguments[S]),function(E,C){h[C]=E});return h}}function f(){if(Object.create)return function(A,y,O,S){var E=a(arguments,1);return x.apply(this,[Object.create(A)].concat(E))};var o=function(){};return function(A,y,O,S){var E=a(arguments,1);return o.prototype=A,x.apply(this,[new o].concat(E))}}function i(){return String.prototype.trim?function(h){return String.prototype.trim.call(h)}:function(h){return h.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function r(o,h){return function(){return h.apply(o,Array.prototype.slice.call(arguments,0))}}function a(o,h){return Array.prototype.slice.call(o,h||0)}function s(o,h){n(o,function(A,y){return h(A,y),!1})}function l(o,h){var A=u(o)?[]:{};return n(o,function(y,O){return A[O]=h(y,O),!1}),A}function n(o,h){if(u(o)){for(var A=0;A<o.length;A++)if(h(o[A],A))return o[A]}else for(var y in o)if(o.hasOwnProperty(y)&&h(o[y],y))return o[y]}function u(o){return o!=null&&typeof o!="function"&&typeof o.length=="number"}function t(o){return o&&{}.toString.call(o)==="[object Function]"}function c(o){return o&&{}.toString.call(o)==="[object Object]"}}).call(this,e("yLpj"))},MH26:function(J,B,e){var d=e("bYtY"),x=e("YXkt"),g=e("OELB"),p=e("kj2x"),v=e("c8qY"),b=e("iPDy"),f=e("7hqr"),i=f.getStackedDimension,r=function(c,o,h,A){var y=c.getData(),O=A.type;if(!d.isArray(A)&&(O==="min"||O==="max"||O==="average"||O==="median"||A.xAxis!=null||A.yAxis!=null)){var S,E;if(A.yAxis!=null||A.xAxis!=null)S=o.getAxis(A.yAxis!=null?"y":"x"),E=d.retrieve(A.yAxis,A.xAxis);else{var C=p.getAxisInfo(A,y,o,c);S=C.valueAxis;var T=i(y,C.valueDataDim);E=p.numCalculate(y,T,O)}var w=S.dim==="x"?0:1,L=1-w,N=d.clone(A),D={};N.type=null,N.coord=[],D.coord=[],N.coord[L]=-Infinity,D.coord[L]=Infinity;var F=h.get("precision");F>=0&&typeof E=="number"&&(E=+E.toFixed(Math.min(F,20))),N.coord[w]=D.coord[w]=E,A=[N,D,{type:O,valueIndex:A.valueIndex,value:E}]}return A=[p.dataTransform(c,A[0]),p.dataTransform(c,A[1]),d.extend({},A[2])],A[2].type=A[2].type||"",d.merge(A[2],A[0]),d.merge(A[2],A[1]),A};function a(c){return!isNaN(c)&&!isFinite(c)}function s(c,o,h,A){var y=1-c,O=A.dimensions[c];return a(o[y])&&a(h[y])&&o[c]===h[c]&&A.getAxis(O).containData(o[c])}function l(c,o){if(c.type==="cartesian2d"){var h=o[0].coord,A=o[1].coord;if(h&&A&&(s(1,h,A,c)||s(0,h,A,c)))return!0}return p.dataFilter(c,o[0])&&p.dataFilter(c,o[1])}function n(c,o,h,A,y){var O=A.coordinateSystem,S=c.getItemModel(o),E,C=g.parsePercent(S.get("x"),y.getWidth()),T=g.parsePercent(S.get("y"),y.getHeight());if(!isNaN(C)&&!isNaN(T))E=[C,T];else{if(A.getMarkerPosition)E=A.getMarkerPosition(c.getValues(c.dimensions,o));else{var w=O.dimensions,L=c.get(w[0],o),N=c.get(w[1],o);E=O.dataToPoint([L,N])}if(O.type==="cartesian2d"){var D=O.getAxis("x"),F=O.getAxis("y"),w=O.dimensions;a(c.get(w[0],o))?E[0]=D.toGlobalCoord(D.getExtent()[h?0:1]):a(c.get(w[1],o))&&(E[1]=F.toGlobalCoord(F.getExtent()[h?0:1]))}isNaN(C)||(E[0]=C),isNaN(T)||(E[1]=T)}c.setItemLayout(o,E)}var u=b.extend({type:"markLine",updateTransform:function(c,o,h){o.eachSeries(function(A){var y=A.markLineModel;if(y){var O=y.getData(),S=y.__from,E=y.__to;S.each(function(C){n(S,C,!0,A,h),n(E,C,!1,A,h)}),O.each(function(C){O.setItemLayout(C,[S.getItemLayout(C),E.getItemLayout(C)])}),this.markerGroupMap.get(A.id).updateLayout()}},this)},renderSeries:function(c,o,h,A){var y=c.coordinateSystem,O=c.id,S=c.getData(),E=this.markerGroupMap,C=E.get(O)||E.set(O,new v);this.group.add(C.group);var T=t(y,c,o),w=T.from,L=T.to,N=T.line;o.__from=w,o.__to=L,o.setData(N);var D=o.get("symbol"),F=o.get("symbolSize");d.isArray(D)||(D=[D,D]),typeof F=="number"&&(F=[F,F]),T.from.each(function(U){R(w,U,!0),R(L,U,!1)}),N.each(function(U){var M=N.getItemModel(U).get("lineStyle.color");N.setItemVisual(U,{color:M||w.getItemVisual(U,"color")}),N.setItemLayout(U,[w.getItemLayout(U),L.getItemLayout(U)]),N.setItemVisual(U,{fromSymbolSize:w.getItemVisual(U,"symbolSize"),fromSymbol:w.getItemVisual(U,"symbol"),toSymbolSize:L.getItemVisual(U,"symbolSize"),toSymbol:L.getItemVisual(U,"symbol")})}),C.updateData(N),T.line.eachItemGraphicEl(function(U,M){U.traverse(function(j){j.dataModel=o})});function R(U,M,j){var P=U.getItemModel(M);n(U,M,j,c,A),U.setItemVisual(M,{symbolSize:P.get("symbolSize")||F[j?0:1],symbol:P.get("symbol",!0)||D[j?0:1],color:P.get("itemStyle.color")||S.getVisual("color")})}C.__keep=!0,C.group.silent=o.get("silent")||c.get("silent")}});function t(c,o,h){var A;c?A=d.map(c&&c.dimensions,function(T){var w=o.getData().getDimensionInfo(o.getData().mapDimension(T))||{};return d.defaults({name:T},w)}):A=[{name:"value",type:"float"}];var y=new x(A,h),O=new x(A,h),S=new x([],h),E=d.map(h.get("data"),d.curry(r,o,c,h));c&&(E=d.filter(E,d.curry(l,c)));var C=c?p.dimValueGetter:function(T){return T.value};return y.initData(d.map(E,function(T){return T[0]}),null,C),O.initData(d.map(E,function(T){return T[1]}),null,C),S.initData(d.map(E,function(T){return T[2]})),S.hasItemOption=!0,{from:y,to:O,line:S}}J.exports=u},MHoB:function(J,B,e){var d=e("bYtY"),x=e("6uqw"),g=e("OELB"),p=[20,140],v=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(i,r){v.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(a){a.mappingMethod="linear",a.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){v.superApply(this,"resetItemSize",arguments);var i=this.itemSize;this._orient==="horizontal"&&i.reverse(),(i[0]==null||isNaN(i[0]))&&(i[0]=p[0]),(i[1]==null||isNaN(i[1]))&&(i[1]=p[1])},_resetRange:function(){var i=this.getExtent(),r=this.option.range;!r||r.auto?(i.auto=1,this.option.range=i):d.isArray(r)&&(r[0]>r[1]&&r.reverse(),r[0]=Math.max(r[0],i[0]),r[1]=Math.min(r[1],i[1]))},completeVisualOption:function(){x.prototype.completeVisualOption.apply(this,arguments),d.each(this.stateList,function(i){var r=this.option.controller[i].symbolSize;r&&r[0]!==r[1]&&(r[0]=0)},this)},setSelected:function(i){this.option.range=i.slice(),this._resetRange()},getSelected:function(){var i=this.getExtent(),r=g.asc((this.get("range")||[]).slice());return r[0]>i[1]&&(r[0]=i[1]),r[1]>i[1]&&(r[1]=i[1]),r[0]<i[0]&&(r[0]=i[0]),r[1]<i[0]&&(r[1]=i[0]),r},getValueState:function(i){var r=this.option.range,a=this.getExtent();return(r[0]<=a[0]||r[0]<=i)&&(r[1]>=a[1]||i<=r[1])?"inRange":"outOfRange"},findTargetDataIndices:function(i){var r=[];return this.eachTargetSeries(function(a){var s=[],l=a.getData();l.each(this.getDataDimension(l),function(n,u){i[0]<=n&&n<=i[1]&&s.push(u)},this),r.push({seriesId:a.id,dataIndex:s})},this),r},getVisualMeta:function(i){var r=b(this,"outOfRange",this.getExtent()),a=b(this,"inRange",this.option.range.slice()),s=[];function l(A,y){s.push({value:A,color:i(A,y)})}for(var n=0,u=0,t=a.length,c=r.length;u<c&&(!a.length||r[u]<=a[0]);u++)r[u]<a[n]&&l(r[u],"outOfRange");for(var o=1;n<t;n++,o=0)o&&s.length&&l(a[n],"outOfRange"),l(a[n],"inRange");for(var o=1;u<c;u++)(!a.length||a[a.length-1]<r[u])&&(o&&(s.length&&l(s[s.length-1].value,"outOfRange"),o=0),l(r[u],"outOfRange"));var h=s.length;return{stops:s,outerColors:[h?s[0].color:"transparent",h?s[h-1].color:"transparent"]}}});function b(i,r,a){if(a[0]===a[1])return a.slice();for(var s=200,l=(a[1]-a[0])/s,n=a[0],u=[],t=0;t<=s&&n<a[1];t++)u.push(n),n+=l;return u.push(a[1]),u}var f=v;J.exports=f},MHtr:function(J,B,e){var d=e("bYtY");function x(p,v){var b=this.getAxis(),f=v instanceof Array?v[0]:v,i=(p instanceof Array?p[0]:p)/2;return b.type==="category"?b.getBandWidth():Math.abs(b.dataToCoord(f-i)-b.dataToCoord(f+i))}function g(p){var v=p.getRect();return{coordSys:{type:"singleAxis",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(b){return p.dataToPoint(b)},size:d.bind(x,p)}}}J.exports=g},MJZm:function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("q1tI"),b=e("fAei"),f=e("TSYQ"),i=e.n(f),r=e("RIqP"),a=e.n(r),s=e("J4zp"),l=e.n(s),n=e("sEfC"),u=e.n(n),t=e("OZM5"),c=e("815F"),o=e("vk+C"),h=e.n(o),A=e("Vy0f"),y=e.n(A),O=e("kGiB"),S=e.n(O),E=e("H84U"),C;(function(Z){Z[Z.None=0]="None",Z[Z.Start=1]="Start",Z[Z.End=2]="End"})(C||(C={}));function T(Z,Y){function k(Q){var X=Q.key,he=Q.children;Y(X,Q)!==!1&&T(he||[],Y)}Z.forEach(k)}function w(Z){var Y=Z.treeData,k=Z.expandedKeys,Q=Z.startKey,X=Z.endKey,he=[],te=C.None;if(Q&&Q===X)return[Q];if(!Q||!X)return[];function pe(Se){return Se===Q||Se===X}return T(Y,function(Se){if(te===C.End)return!1;if(pe(Se)){if(he.push(Se),te===C.None)te=C.Start;else if(te===C.Start)return te=C.End,!1}else te===C.Start&&he.push(Se);return!(k.indexOf(Se)===-1)}),he}function L(Z,Y){var k=a()(Y),Q=[];return T(Z,function(X,he){var te=k.indexOf(X);return te!==-1&&(Q.push(he),k.splice(te,1)),!!k.length}),Q}var N=function(Z,Y){var k={};for(var Q in Z)Object.prototype.hasOwnProperty.call(Z,Q)&&Y.indexOf(Q)<0&&(k[Q]=Z[Q]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,Q=Object.getOwnPropertySymbols(Z);X<Q.length;X++)Y.indexOf(Q[X])<0&&Object.prototype.propertyIsEnumerable.call(Z,Q[X])&&(k[Q[X]]=Z[Q[X]]);return k};function D(Z){var Y=Z.isLeaf,k=Z.expanded;return Y?v.createElement(h.a,null):k?v.createElement(y.a,null):v.createElement(S.a,null)}function F(Z){var Y=Z.treeData,k=Z.children;return Y||Object(c.c)(k)}var R=function(Y,k){var Q=Y.defaultExpandAll,X=Y.defaultExpandParent,he=Y.defaultExpandedKeys,te=N(Y,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),pe=v.useRef(),Se=v.useRef(),we=v.createRef();v.useImperativeHandle(k,function(){return we.current});var We=function(){var Ke=Object(c.a)(F(te)),Ye=Ke.keyEntities,$e;return Q?$e=Object.keys(Ye):X?$e=Object(t.e)(te.expandedKeys||he,Ye):$e=te.expandedKeys||he,$e},qe=v.useState(te.selectedKeys||te.defaultSelectedKeys||[]),yt=l()(qe,2),_e=yt[0],je=yt[1],Ct=v.useState(We()),ct=l()(Ct,2),nt=ct[0],bt=ct[1];v.useEffect(function(){"selectedKeys"in te&&je(te.selectedKeys)},[te.selectedKeys]),v.useEffect(function(){"expandedKeys"in te&&bt(te.expandedKeys)},[te.expandedKeys]);var dt=function(Ke,Ye){var $e=Ye.isLeaf;if($e||Ke.shiftKey||Ke.metaKey||Ke.ctrlKey)return;we.current.onNodeExpand(Ke,Ye)},vt=u()(dt,200,{leading:!0}),Qe=function(Ke,Ye){return"expandedKeys"in te||bt(Ke),te.onExpand?te.onExpand(Ke,Ye):void 0},mt=function(Ke,Ye){var $e=te.expandAction;$e==="click"&&vt(Ke,Ye),te.onClick&&te.onClick(Ke,Ye)},Pe=function(Ke,Ye){var $e=te.expandAction;$e==="doubleClick"&&vt(Ke,Ye),te.onDoubleClick&&te.onDoubleClick(Ke,Ye)},De=function(Ke,Ye){var $e=te.multiple,ut=Ye.node,et=Ye.nativeEvent,oe=ut.key,me=oe===void 0?"":oe,it=F(te),Be=p()(p()({},Ye),{selected:!0}),ht=et.ctrlKey||et.metaKey,Mr=et.shiftKey,Lt;$e&&ht?(Lt=Ke,pe.current=me,Se.current=Lt,Be.selectedNodes=L(it,Lt)):$e&&Mr?(Lt=Array.from(new Set([].concat(a()(Se.current||[]),a()(w({treeData:it,expandedKeys:nt,startKey:me,endKey:pe.current}))))),Be.selectedNodes=L(it,Lt)):(Lt=[me],pe.current=me,Se.current=Lt,Be.selectedNodes=L(it,Lt)),te.onSelect&&te.onSelect(Lt,Be),"selectedKeys"in te||je(Lt)},Ie=v.useContext(E.b),ot=Ie.getPrefixCls,wt=Ie.direction,Bt=te.prefixCls,_t=te.className,Ue=N(te,["prefixCls","className"]),zt=ot("tree",Bt),xt=i()("".concat(zt,"-directory"),_t,x()({},"".concat(zt,"-directory-rtl"),wt==="rtl"));return v.createElement(H,p()({icon:D,ref:we,blockNode:!0},Ue,{prefixCls:zt,className:xt,expandedKeys:nt,selectedKeys:_e,onSelect:De,onClick:mt,onDoubleClick:Pe,onExpand:Qe}))},U=v.forwardRef(R);U.displayName="DirectoryTree",U.defaultProps={showIcon:!0,expandAction:"click"};var M=U,j=e("EXcs"),P=e("2jpz"),K=v.forwardRef(function(Z,Y){var k,Q=v.useContext(E.b),X=Q.getPrefixCls,he=Q.direction,te=Q.virtual,pe=Z.prefixCls,Se=Z.className,we=Z.showIcon,We=Z.showLine,qe=Z.switcherIcon,yt=Z.blockNode,_e=Z.children,je=Z.checkable,Ct=p()(p()({},Z),{showLine:Boolean(We)}),ct=X("tree",pe);return v.createElement(b.b,p()({itemHeight:20,ref:Y,virtual:te},Ct,{prefixCls:ct,className:i()(Se,(k={},x()(k,"".concat(ct,"-icon-hide"),!we),x()(k,"".concat(ct,"-block-node"),yt),x()(k,"".concat(ct,"-rtl"),he==="rtl"),k)),checkable:je&&v.createElement("span",{className:"".concat(ct,"-checkbox-inner")}),switcherIcon:function(bt){return Object(P.a)(ct,qe,We,bt)}}),_e)});K.TreeNode=b.a,K.DirectoryTree=M,K.defaultProps={checkable:!1,showIcon:!1,motion:p()(p()({},j.a),{motionAppear:!1}),blockNode:!1};var H=K,_=B.a=H},MKOG:function(J,B,e){var d=e("bYtY"),x=e("YH21"),g=x.Dispatcher,p=e("mLcG"),v=e("Bq2U"),b=function(r){r=r||{},this.stage=r.stage||{},this.onframe=r.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,g.call(this)};b.prototype={constructor:b,addClip:function(r){this._clips.push(r)},addAnimator:function(r){r.animation=this;for(var a=r.getClips(),s=0;s<a.length;s++)this.addClip(a[s])},removeClip:function(r){var a=d.indexOf(this._clips,r);a>=0&&this._clips.splice(a,1)},removeAnimator:function(r){for(var a=r.getClips(),s=0;s<a.length;s++)this.removeClip(a[s]);r.animation=null},_update:function(){for(var r=new Date().getTime()-this._pausedTime,a=r-this._time,s=this._clips,l=s.length,n=[],u=[],t=0;t<l;t++){var c=s[t],o=c.step(r,a);o&&(n.push(o),u.push(c))}for(var t=0;t<l;)s[t]._needsRemove?(s[t]=s[l-1],s.pop(),l--):t++;l=n.length;for(var t=0;t<l;t++)u[t].fire(n[t]);this._time=r,this.onframe(a),this.trigger("frame",a),this.stage.update&&this.stage.update()},_startLoop:function(){var r=this;this._running=!0;function a(){r._running&&(p(a),!r._paused&&r._update())}p(a)},start:function(){this._time=new Date().getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=new Date().getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=new Date().getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(r,a){a=a||{};var s=new v(r,a.loop,a.getter,a.setter);return this.addAnimator(s),s}},d.mixin(b,g);var f=b;J.exports=f},MMmD:function(J,B,e){var d=e("lSCD"),x=e("shjB");function g(p){return p!=null&&x(p.length)&&!d(p)}J.exports=g},MRoa:function(J,B,e){var d=e("ProS");e("0Bwj"),e("W2nI"),e("vcCh");var x=e("gawk"),g=e("Dg8C");d.registerLayout(x),d.registerVisual(g)},MT78:function(J,B,e){var d=e("ProS");(function(){for(var g in d){if(d==null||!d.hasOwnProperty(g)||g==="default"||g==="__esModule")return;B[g]=d[g]}})();var x=e("txkQ");(function(){for(var g in x){if(x==null||!x.hasOwnProperty(g)||g==="default"||g==="__esModule")return;B[g]=x[g]}})(),e("A1Ka"),e("75ce"),e("lLGD"),e("wDdD"),e("Fa/5"),e("jett"),e("Z1wy"),e("75ev"),e("2uGb"),e("I+77"),e("B+YJ"),e("pLH3"),e("CBdT"),e("MRoa"),e("+lIL"),e("CF2D"),e("ERHi"),e("p+If"),e("XOKv"),e("qt/9"),e("bBL8"),e("1xaR"),e("4Feb"),e("zRKj"),e("L3Oj"),e("0HBW"),e("LPzL"),e("8waO"),e("k5C7"),e("f1nB"),e("sRwP"),e("AH3D"),e("y4/Y"),e("LzGr"),e("Ynxi"),e("7pVf"),e("2w7y"),e("laiN"),e("fjKi"),e("C0tN"),e("0o9m"),e("Cm0C"),e("f3JH"),e("5NHt"),e("VFCP"),e("dBmv"),e("KamJ"),e("8XDt"),e("juDX")},MXD1:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("Kvyg"),p=e.n(g)},Mdki:function(J,B,e){var d=e("bYtY"),x=d.each,g="\0__link_datas",p="\0__link_mainData";function v(u){var t=u.mainData,c=u.datas;c||(c={main:t},u.datasAttr={main:"data"}),u.datas=u.mainData=null,s(t,c,u),x(c,function(o){x(t.TRANSFERABLE_METHODS,function(h){o.wrapMethod(h,d.curry(b,u))})}),t.wrapMethod("cloneShallow",d.curry(i,u)),x(t.CHANGABLE_METHODS,function(o){t.wrapMethod(o,d.curry(f,u))}),d.assert(c[t.dataType]===t)}function b(u,t){if(a(this)){var c=d.extend({},this[g]);c[this.dataType]=t,s(t,c,u)}else l(t,this.dataType,this[p],u);return t}function f(u,t){return u.struct&&u.struct.update(this),t}function i(u,t){return x(t[g],function(c,o){c!==t&&l(c.cloneShallow(),o,t,u)}),t}function r(u){var t=this[p];return u==null||t==null?t:t[g][u]}function a(u){return u[p]===u}function s(u,t,c){u[g]={},x(t,function(o,h){l(o,h,u,c)})}function l(u,t,c,o){c[g][t]=u,u[p]=c,u.dataType=t,o.struct&&(u[o.structAttr]=o.struct,o.struct[o.datasAttr[t]]=u),u.getLinkedData=r}var n=v;J.exports=n},Mds0:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("8IMR")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="StarFilled";var f=g.forwardRef(b);B.default=f},Mgri:function(J,B,e){for(var d=e("bYtY"),x=e("8nly"),g=[126,25],p=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],v=0;v<p.length;v++)for(var b=0;b<p[v].length;b++)p[v][b][0]/=10.5,p[v][b][1]/=-10.5/.75,p[v][b][0]+=g[0],p[v][b][1]+=g[1];function f(i,r){i==="china"&&r.push(new x("\u5357\u6D77\u8BF8\u5C9B",d.map(p,function(a){return{type:"polygon",exterior:a}}),g))}J.exports=f},MqEG:function(J,B,e){var d=e("bYtY"),x=e("fc+c"),g=e("72pK"),p=e("VXYp"),v=d.bind,b=x.extend({type:"dataZoom.inside",init:function(s,l){this._range},render:function(s,l,n,u){b.superApply(this,"render",arguments),this._range=s.getPercentRange(),d.each(this.getTargetCoordInfo(),function(t,c){var o=d.map(t,function(h){return p.generateCoordId(h.model)});d.each(t,function(h){var A=h.model,y={};d.each(["pan","zoom","scrollMove"],function(O){y[O]=v(f[O],this,h,c)},this),p.register(n,{coordId:p.generateCoordId(A),allCoordIds:o,containsPoint:function(O,S,E){return A.coordinateSystem.containPoint([S,E])},dataZoomId:s.id,dataZoomModel:s,getRange:y})},this)},this)},dispose:function(){p.unregister(this.api,this.dataZoomModel.id),b.superApply(this,"dispose",arguments),this._range=null}}),f={zoom:function(s,l,n,u){var t=this._range,c=t.slice(),o=s.axisModels[0];if(!o)return;var h=r[l](null,[u.originX,u.originY],o,n,s),A=(h.signal>0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(c[1]-c[0])+c[0],y=Math.max(1/u.scale,0);c[0]=(c[0]-A)*y+A,c[1]=(c[1]-A)*y+A;var O=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(g(0,c,[0,100],0,O.minSpan,O.maxSpan),this._range=c,t[0]!==c[0]||t[1]!==c[1])return c},pan:i(function(s,l,n,u,t,c){var o=r[u]([c.oldX,c.oldY],[c.newX,c.newY],l,t,n);return o.signal*(s[1]-s[0])*o.pixel/o.pixelLength}),scrollMove:i(function(s,l,n,u,t,c){var o=r[u]([0,0],[c.scrollDelta,c.scrollDelta],l,t,n);return o.signal*(s[1]-s[0])*c.scrollDelta})};function i(s){return function(l,n,u,t){var c=this._range,o=c.slice(),h=l.axisModels[0];if(!h)return;var A=s(o,h,l,n,u,t);if(g(A,o,[0,100],"all"),this._range=o,c[0]!==o[0]||c[1]!==o[1])return o}}var r={grid:function(s,l,n,u,t){var c=n.axis,o={},h=t.model.coordinateSystem.getRect();return s=s||[0,0],c.dim==="x"?(o.pixel=l[0]-s[0],o.pixelLength=h.width,o.pixelStart=h.x,o.signal=c.inverse?1:-1):(o.pixel=l[1]-s[1],o.pixelLength=h.height,o.pixelStart=h.y,o.signal=c.inverse?-1:1),o},polar:function(s,l,n,u,t){var c=n.axis,o={},h=t.model.coordinateSystem,A=h.getRadiusAxis().getExtent(),y=h.getAngleAxis().getExtent();return s=s?h.pointToCoord(s):[0,0],l=h.pointToCoord(l),n.mainType==="radiusAxis"?(o.pixel=l[0]-s[0],o.pixelLength=A[1]-A[0],o.pixelStart=A[0],o.signal=c.inverse?1:-1):(o.pixel=l[1]-s[1],o.pixelLength=y[1]-y[0],o.pixelStart=y[0],o.signal=c.inverse?-1:1),o},singleAxis:function(s,l,n,u,t){var c=n.axis,o=t.model.coordinateSystem.getRect(),h={};return s=s||[0,0],c.orient==="horizontal"?(h.pixel=l[0]-s[0],h.pixelLength=o.width,h.pixelStart=o.x,h.signal=c.inverse?1:-1):(h.pixel=l[1]-s[1],h.pixelLength=o.height,h.pixelStart=o.y,h.signal=c.inverse?-1:1),h}},a=b;J.exports=a},MvSz:function(J,B,e){var d=e("LXxW"),x=e("0ycA"),g=Object.prototype,p=g.propertyIsEnumerable,v=Object.getOwnPropertySymbols,b=v?function(f){return f==null?[]:(f=Object(f),d(v(f),function(i){return p.call(f,i)}))}:x;J.exports=b},MwEJ:function(J,B,e){var d=e("bYtY"),x=e("YXkt"),g=e("sdST"),p=e("k9D9"),v=p.SOURCE_FORMAT_ORIGINAL,b=e("L0Ub"),f=b.getDimensionTypeByAxis,i=e("4NO4"),r=i.getDataItemValue,a=e("IDmD"),s=e("i38C"),l=s.getCoordSysInfoBySeries,n=e("7G+c"),u=e("7hqr"),t=u.enableDataStack,c=e("D5nY"),o=c.makeSeriesEncodeForAxisCoordSys;function h(S,E,C){C=C||{},n.isInstance(S)||(S=n.seriesDataToSource(S));var T=E.get("coordinateSystem"),w=a.get(T),L=l(E),N;L&&(N=d.map(L.coordSysDims,function(P){var K={name:P},H=L.axisMap.get(P);if(H){var _=H.get("type");K.type=f(_)}return K})),N||(N=w&&(w.getDimensionsInfo?w.getDimensionsInfo():w.dimensions.slice())||["x","y"]);var D=g(S,{coordDimensions:N,generateCoord:C.generateCoord,encodeDefaulter:C.useEncodeDefaulter?d.curry(o,N,E):null}),F,R;L&&d.each(D,function(P,K){var H=P.coordDim,_=L.categoryAxisMap.get(H);_&&(F==null&&(F=K),P.ordinalMeta=_.getOrdinalMeta()),P.otherDims.itemName!=null&&(R=!0)}),!R&&F!=null&&(D[F].otherDims.itemName=0);var U=t(E,D),M=new x(D,E);M.setCalculationInfo(U);var j=F!=null&&A(S)?function(P,K,H,_){return _===F?H:this.defaultDimValueGetter(P,K,H,_)}:null;return M.hasItemOption=!1,M.initData(S,null,j),M}function A(S){if(S.sourceFormat===v){var E=y(S.data||[]);return E!=null&&!d.isArray(r(E))}}function y(S){for(var E=0;E<S.length&&S[E]==null;)E++;return S[E]}var O=h;J.exports=O},Mylv:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("IwbS"),p=e("oVpE"),v=p.createSymbol,b=e("OELB"),f=b.parsePercent,i=b.isNumeric,r=e("56rv"),a=r.setLabel,s=["itemStyle","borderWidth"],l=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],n=new g.Circle,u=d.extendChartView({type:"pictorialBar",render:function(Z,Y,k){var Q=this.group,X=Z.getData(),he=this._data,te=Z.coordinateSystem,pe=te.getBaseAxis(),Se=!!pe.isHorizontal(),we=te.grid.getRect(),We={ecSize:{width:k.getWidth(),height:k.getHeight()},seriesModel:Z,coordSys:te,coordSysExtent:[[we.x,we.x+we.width],[we.y,we.y+we.height]],isHorizontal:Se,valueDim:l[+Se],categoryDim:l[1-Se]};return X.diff(he).add(function(qe){if(!X.hasValue(qe))return;var yt=w(X,qe),_e=t(X,qe,yt,We),je=F(X,We,_e);X.setItemGraphicEl(qe,je),Q.add(je),K(je,We,_e)}).update(function(qe,yt){var _e=he.getItemGraphicEl(yt);if(!X.hasValue(qe)){Q.remove(_e);return}var je=w(X,qe),Ct=t(X,qe,je,We),ct=M(X,Ct);_e&&ct!==_e.__pictorialShapeStr&&(Q.remove(_e),X.setItemGraphicEl(qe,null),_e=null),_e?R(_e,We,Ct):_e=F(X,We,Ct,!0),X.setItemGraphicEl(qe,_e),_e.__pictorialSymbolMeta=Ct,Q.add(_e),K(_e,We,Ct)}).remove(function(qe){var yt=he.getItemGraphicEl(qe);yt&&U(he,qe,yt.__pictorialSymbolMeta.animationModel,yt)}).execute(),this._data=X,this.group},dispose:x.noop,remove:function(Z,Y){var k=this.group,Q=this._data;Z.get("animation")?Q&&Q.eachItemGraphicEl(function(X){U(Q,X.dataIndex,Z,X)}):k.removeAll()}});function t(Z,Y,k,Q){var X=Z.getItemLayout(Y),he=k.get("symbolRepeat"),te=k.get("symbolClip"),pe=k.get("symbolPosition")||"start",Se=k.get("symbolRotate"),we=(Se||0)*Math.PI/180||0,We=k.get("symbolPatternSize")||2,qe=k.isAnimationEnabled(),yt={dataIndex:Y,layout:X,itemModel:k,symbolType:Z.getItemVisual(Y,"symbol")||"circle",color:Z.getItemVisual(Y,"color"),symbolClip:te,symbolRepeat:he,symbolRepeatDirection:k.get("symbolRepeatDirection"),symbolPatternSize:We,rotation:we,animationModel:qe?k:null,hoverAnimation:qe&&k.get("hoverAnimation"),z2:k.getShallow("z",!0)||0};c(k,he,X,Q,yt),h(Z,Y,X,he,te,yt.boundingLength,yt.pxSign,We,Q,yt),A(k,yt.symbolScale,we,Q,yt);var _e=yt.symbolSize,je=k.get("symbolOffset");return x.isArray(je)&&(je=[f(je[0],_e[0]),f(je[1],_e[1])]),y(k,_e,X,he,te,je,pe,yt.valueLineWidth,yt.boundingLength,yt.repeatCutLength,Q,yt),yt}function c(Z,Y,k,Q,X){var he=Q.valueDim,te=Z.get("symbolBoundingData"),pe=Q.coordSys.getOtherAxis(Q.coordSys.getBaseAxis()),Se=pe.toGlobalCoord(pe.dataToCoord(0)),we=1-+(k[he.wh]<=0),We;if(x.isArray(te)){var qe=[o(pe,te[0])-Se,o(pe,te[1])-Se];qe[1]<qe[0]&&qe.reverse(),We=qe[we]}else te!=null?We=o(pe,te)-Se:Y?We=Q.coordSysExtent[he.index][we]-Se:We=k[he.wh];X.boundingLength=We,Y&&(X.repeatCutLength=k[he.wh]),X.pxSign=We>0?1:We<0?-1:0}function o(Z,Y){return Z.toGlobalCoord(Z.dataToCoord(Z.scale.parse(Y)))}function h(Z,Y,k,Q,X,he,te,pe,Se,we){var We=Se.valueDim,qe=Se.categoryDim,yt=Math.abs(k[qe.wh]),_e=Z.getItemVisual(Y,"symbolSize");x.isArray(_e)?_e=_e.slice():(_e==null&&(_e="100%"),_e=[_e,_e]),_e[qe.index]=f(_e[qe.index],yt),_e[We.index]=f(_e[We.index],Q?yt:Math.abs(he)),we.symbolSize=_e;var je=we.symbolScale=[_e[0]/pe,_e[1]/pe];je[We.index]*=(Se.isHorizontal?-1:1)*te}function A(Z,Y,k,Q,X){var he=Z.get(s)||0;he&&(n.attr({scale:Y.slice(),rotation:k}),n.updateTransform(),he/=n.getLineScale(),he*=Y[Q.valueDim.index]),X.valueLineWidth=he}function y(Z,Y,k,Q,X,he,te,pe,Se,we,We,qe){var yt=We.categoryDim,_e=We.valueDim,je=qe.pxSign,Ct=Math.max(Y[_e.index]+pe,0),ct=Ct;if(Q){var nt=Math.abs(Se),bt=x.retrieve(Z.get("symbolMargin"),"15%")+"",dt=!1;bt.lastIndexOf("!")===bt.length-1&&(dt=!0,bt=bt.slice(0,bt.length-1)),bt=f(bt,Y[_e.index]);var vt=Math.max(Ct+bt*2,0),Qe=dt?0:bt*2,mt=i(Q),Pe=mt?Q:H((nt+Qe)/vt),De=nt-Pe*Ct;bt=De/2/(dt?Pe:Pe-1),vt=Ct+bt*2,Qe=dt?0:bt*2,!mt&&Q!=="fixed"&&(Pe=we?H((Math.abs(we)+Qe)/vt):0),ct=Pe*vt-Qe,qe.repeatTimes=Pe,qe.symbolMargin=bt}var Ie=je*(ct/2),ot=qe.pathPosition=[];ot[yt.index]=k[yt.wh]/2,ot[_e.index]=te==="start"?Ie:te==="end"?Se-Ie:Se/2,he&&(ot[0]+=he[0],ot[1]+=he[1]);var wt=qe.bundlePosition=[];wt[yt.index]=k[yt.xy],wt[_e.index]=k[_e.xy];var Bt=qe.barRectShape=x.extend({},k);Bt[_e.wh]=je*Math.max(Math.abs(k[_e.wh]),Math.abs(ot[_e.index]+Ie)),Bt[yt.wh]=k[yt.wh];var _t=qe.clipShape={};_t[yt.xy]=-k[yt.xy],_t[yt.wh]=We.ecSize[yt.wh],_t[_e.xy]=0,_t[_e.wh]=k[_e.wh]}function O(Z){var Y=Z.symbolPatternSize,k=v(Z.symbolType,-Y/2,-Y/2,Y,Y,Z.color);return k.attr({culling:!0}),k.type!=="image"&&k.setStyle({strokeNoScale:!0}),k}function S(Z,Y,k,Q){var X=Z.__pictorialBundle,he=k.symbolSize,te=k.valueLineWidth,pe=k.pathPosition,Se=Y.valueDim,we=k.repeatTimes||0,We=0,qe=he[Y.valueDim.index]+te+k.symbolMargin*2;for(j(Z,function(nt){nt.__pictorialAnimationIndex=We,nt.__pictorialRepeatTimes=we,We<we?P(nt,null,je(We),k,Q):P(nt,null,{scale:[0,0]},k,Q,function(){X.remove(nt)}),D(nt,k),We++});We<we;We++){var yt=O(k);yt.__pictorialAnimationIndex=We,yt.__pictorialRepeatTimes=we,X.add(yt);var _e=je(We);P(yt,{position:_e.position,scale:[0,0]},{scale:_e.scale,rotation:_e.rotation},k,Q),yt.on("mouseover",Ct).on("mouseout",ct),D(yt,k)}function je(nt){var bt=pe.slice(),dt=k.pxSign,vt=nt;return(k.symbolRepeatDirection==="start"?dt>0:dt<0)&&(vt=we-1-nt),bt[Se.index]=qe*(vt-we/2+.5)+pe[Se.index],{position:bt,scale:k.symbolScale.slice(),rotation:k.rotation}}function Ct(){j(Z,function(nt){nt.trigger("emphasis")})}function ct(){j(Z,function(nt){nt.trigger("normal")})}}function E(Z,Y,k,Q){var X=Z.__pictorialBundle,he=Z.__pictorialMainPath;he?P(he,null,{position:k.pathPosition.slice(),scale:k.symbolScale.slice(),rotation:k.rotation},k,Q):(he=Z.__pictorialMainPath=O(k),X.add(he),P(he,{position:k.pathPosition.slice(),scale:[0,0],rotation:k.rotation},{scale:k.symbolScale.slice()},k,Q),he.on("mouseover",te).on("mouseout",pe)),D(he,k);function te(){this.trigger("emphasis")}function pe(){this.trigger("normal")}}function C(Z,Y,k){var Q=x.extend({},Y.barRectShape),X=Z.__pictorialBarRect;X?P(X,null,{shape:Q},Y,k):(X=Z.__pictorialBarRect=new g.Rect({z2:2,shape:Q,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),Z.add(X))}function T(Z,Y,k,Q){if(k.symbolClip){var X=Z.__pictorialClipPath,he=x.extend({},k.clipShape),te=Y.valueDim,pe=k.animationModel,Se=k.dataIndex;if(X)g.updateProps(X,{shape:he},pe,Se);else{he[te.wh]=0,X=new g.Rect({shape:he}),Z.__pictorialBundle.setClipPath(X),Z.__pictorialClipPath=X;var we={};we[te.wh]=k.clipShape[te.wh],g[Q?"updateProps":"initProps"](X,{shape:we},pe,Se)}}}function w(Z,Y){var k=Z.getItemModel(Y);return k.getAnimationDelayParams=L,k.isAnimationEnabled=N,k}function L(Z){return{index:Z.__pictorialAnimationIndex,count:Z.__pictorialRepeatTimes}}function N(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function D(Z,Y){Z.off("emphasis").off("normal");var k=Y.symbolScale.slice();Y.hoverAnimation&&Z.on("emphasis",function(){this.animateTo({scale:[k[0]*1.1,k[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:k.slice()},400,"elasticOut")})}function F(Z,Y,k,Q){var X=new g.Group,he=new g.Group;return X.add(he),X.__pictorialBundle=he,he.attr("position",k.bundlePosition.slice()),k.symbolRepeat?S(X,Y,k):E(X,Y,k),C(X,k,Q),T(X,Y,k,Q),X.__pictorialShapeStr=M(Z,k),X.__pictorialSymbolMeta=k,X}function R(Z,Y,k){var Q=k.animationModel,X=k.dataIndex,he=Z.__pictorialBundle;g.updateProps(he,{position:k.bundlePosition.slice()},Q,X),k.symbolRepeat?S(Z,Y,k,!0):E(Z,Y,k,!0),C(Z,k,!0),T(Z,Y,k,!0)}function U(Z,Y,k,Q){var X=Q.__pictorialBarRect;X&&(X.style.text=null);var he=[];j(Q,function(te){he.push(te)}),Q.__pictorialMainPath&&he.push(Q.__pictorialMainPath),Q.__pictorialClipPath&&(k=null),x.each(he,function(te){g.updateProps(te,{scale:[0,0]},k,Y,function(){Q.parent&&Q.parent.remove(Q)})}),Z.setItemGraphicEl(Y,null)}function M(Z,Y){return[Z.getItemVisual(Y.dataIndex,"symbol")||"none",!!Y.symbolRepeat,!!Y.symbolClip].join(":")}function j(Z,Y,k){x.each(Z.__pictorialBundle.children(),function(Q){Q!==Z.__pictorialBarRect&&Y.call(k,Q)})}function P(Z,Y,k,Q,X,he){Y&&Z.attr(Y),Q.symbolClip&&!X?k&&Z.attr(k):k&&g[X?"updateProps":"initProps"](Z,k,Q.animationModel,Q.dataIndex,he)}function K(Z,Y,k){var Q=k.color,X=k.dataIndex,he=k.itemModel,te=he.getModel("itemStyle").getItemStyle(["color"]),pe=he.getModel("emphasis.itemStyle").getItemStyle(),Se=he.getShallow("cursor");j(Z,function(yt){yt.setColor(Q),yt.setStyle(x.defaults({fill:Q,opacity:k.opacity},te)),g.setHoverStyle(yt,pe),Se&&(yt.cursor=Se),yt.z2=k.z2});var we={},We=Y.valueDim.posDesc[+(k.boundingLength>0)],qe=Z.__pictorialBarRect;a(qe.style,we,he,Q,Y.seriesModel,X,We),g.setHoverStyle(qe,we)}function H(Z){var Y=Math.round(Z);return Math.abs(Z-Y)<1e-4?Y:Math.ceil(Z)}var _=u;J.exports=_},N5BQ:function(J,B,e){var d=e("OlYY"),x=d.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),g=x;J.exports=g},NA0q:function(J,B,e){var d=e("bYtY"),x=e("6Ic6"),g=e("TkdX"),p=e("gPAo"),v=e("7aKB"),b=v.windowOpen,f="sunburstRootToNode",i=x.extend({type:"sunburst",init:function(){},render:function(a,s,l,n){var u=this;this.seriesModel=a,this.api=l,this.ecModel=s;var t=a.getData(),c=t.tree.root,o=a.getViewRoot(),h=this.group,A=a.get("renderLabelForZeroData"),y=[];o.eachNode(function(N){y.push(N)});var O=this._oldChildren||[];if(C(y,O),L(c,o),n&&n.highlight&&n.highlight.piece){var S=a.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(S)}else if(n&&n.unhighlight){var E=this.virtualPiece;!E&&c.children.length&&(E=c.children[0].piece),E&&E.onNormal()}this._initEvents(),this._oldChildren=y;function C(N,D){if(N.length===0&&D.length===0)return;new p(D,N,F,F).add(R).update(R).remove(d.curry(R,null)).execute();function F(U){return U.getId()}function R(U,M){var j=U==null?null:N[U],P=M==null?null:D[M];T(j,P)}}function T(N,D){if(!A&&N&&!N.getValue()&&(N=null),N!==c&&D!==c){if(D&&D.piece)N?(D.piece.updateData(!1,N,"normal",a,s),t.setItemGraphicEl(N.dataIndex,D.piece)):w(D);else if(N){var F=new g(N,a,s);h.add(F),t.setItemGraphicEl(N.dataIndex,F)}}}function w(N){if(!N)return;N.piece&&(h.remove(N.piece),N.piece=null)}function L(N,D){if(D.depth>0){u.virtualPiece?u.virtualPiece.updateData(!1,N,"normal",a,s):(u.virtualPiece=new g(N,a,s),h.add(u.virtualPiece)),D.piece._onclickEvent&&D.piece.off("click",D.piece._onclickEvent);var F=function(R){u._rootToNode(D.parentNode)};D.piece._onclickEvent=F,u.virtualPiece.on("click",F)}else u.virtualPiece&&(h.remove(u.virtualPiece),u.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var a=this,s=function(l){var n=!1,u=a.seriesModel.getViewRoot();u.eachNode(function(t){if(!n&&t.piece&&t.piece.childAt(0)===l.target){var c=t.getModel().get("nodeClick");if(c==="rootToNode")a._rootToNode(t);else if(c==="link"){var o=t.getModel(),h=o.get("link");if(h){var A=o.get("target",!0)||"_blank";b(h,A)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",s),this.group._onclickEvent=s},_rootToNode:function(a){a!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:f,from:this.uid,seriesId:this.seriesModel.id,targetNode:a})},containPoint:function(a,s){var l=s.getData(),n=l.getItemLayout(0);if(n){var u=a[0]-n.cx,t=a[1]-n.cy,c=Math.sqrt(u*u+t*t);return c<=n.r&&c>=n.r0}}}),r=i;J.exports=r},NAnI:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("wXyp"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},NC18:function(J,B,e){var d=e("y+Vt"),x=e("IMiH"),g=e("7oTu"),p=Math.sqrt,v=Math.sin,b=Math.cos,f=Math.PI,i=function(y){return Math.sqrt(y[0]*y[0]+y[1]*y[1])},r=function(y,O){return(y[0]*O[0]+y[1]*O[1])/(i(y)*i(O))},a=function(y,O){return(y[0]*O[1]<y[1]*O[0]?-1:1)*Math.acos(r(y,O))};function s(A,y,O,S,E,C,T,w,L,N,D){var F=L*(f/180),R=b(F)*(A-O)/2+v(F)*(y-S)/2,U=-1*v(F)*(A-O)/2+b(F)*(y-S)/2,M=R*R/(T*T)+U*U/(w*w);M>1&&(T*=p(M),w*=p(M));var j=(E===C?-1:1)*p((T*T*(w*w)-T*T*(U*U)-w*w*(R*R))/(T*T*(U*U)+w*w*(R*R)))||0,P=j*T*U/w,K=j*-w*R/T,H=(A+O)/2+b(F)*P-v(F)*K,_=(y+S)/2+v(F)*P+b(F)*K,Z=a([1,0],[(R-P)/T,(U-K)/w]),Y=[(R-P)/T,(U-K)/w],k=[(-1*R-P)/T,(-1*U-K)/w],Q=a(Y,k);r(Y,k)<=-1&&(Q=f),r(Y,k)>=1&&(Q=0),C===0&&Q>0&&(Q=Q-2*f),C===1&&Q<0&&(Q=Q+2*f),D.addData(N,H,_,T,w,Z,Q,F,C)}var l=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,n=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function u(A){if(!A)return new x;for(var y=0,O=0,S=y,E=O,C,T=new x,w=x.CMD,L=A.match(l),N=0;N<L.length;N++){for(var D=L[N],F=D.charAt(0),R,U=D.match(n)||[],M=U.length,j=0;j<M;j++)U[j]=parseFloat(U[j]);for(var P=0;P<M;){var K,H,_,Z,Y,k,Q,X=y,he=O;switch(F){case"l":y+=U[P++],O+=U[P++],R=w.L,T.addData(R,y,O);break;case"L":y=U[P++],O=U[P++],R=w.L,T.addData(R,y,O);break;case"m":y+=U[P++],O+=U[P++],R=w.M,T.addData(R,y,O),S=y,E=O,F="l";break;case"M":y=U[P++],O=U[P++],R=w.M,T.addData(R,y,O),S=y,E=O,F="L";break;case"h":y+=U[P++],R=w.L,T.addData(R,y,O);break;case"H":y=U[P++],R=w.L,T.addData(R,y,O);break;case"v":O+=U[P++],R=w.L,T.addData(R,y,O);break;case"V":O=U[P++],R=w.L,T.addData(R,y,O);break;case"C":R=w.C,T.addData(R,U[P++],U[P++],U[P++],U[P++],U[P++],U[P++]),y=U[P-2],O=U[P-1];break;case"c":R=w.C,T.addData(R,U[P++]+y,U[P++]+O,U[P++]+y,U[P++]+O,U[P++]+y,U[P++]+O),y+=U[P-2],O+=U[P-1];break;case"S":K=y,H=O;var te=T.len(),pe=T.data;C===w.C&&(K+=y-pe[te-4],H+=O-pe[te-3]),R=w.C,X=U[P++],he=U[P++],y=U[P++],O=U[P++],T.addData(R,K,H,X,he,y,O);break;case"s":K=y,H=O;var te=T.len(),pe=T.data;C===w.C&&(K+=y-pe[te-4],H+=O-pe[te-3]),R=w.C,X=y+U[P++],he=O+U[P++],y+=U[P++],O+=U[P++],T.addData(R,K,H,X,he,y,O);break;case"Q":X=U[P++],he=U[P++],y=U[P++],O=U[P++],R=w.Q,T.addData(R,X,he,y,O);break;case"q":X=U[P++]+y,he=U[P++]+O,y+=U[P++],O+=U[P++],R=w.Q,T.addData(R,X,he,y,O);break;case"T":K=y,H=O;var te=T.len(),pe=T.data;C===w.Q&&(K+=y-pe[te-4],H+=O-pe[te-3]),y=U[P++],O=U[P++],R=w.Q,T.addData(R,K,H,y,O);break;case"t":K=y,H=O;var te=T.len(),pe=T.data;C===w.Q&&(K+=y-pe[te-4],H+=O-pe[te-3]),y+=U[P++],O+=U[P++],R=w.Q,T.addData(R,K,H,y,O);break;case"A":_=U[P++],Z=U[P++],Y=U[P++],k=U[P++],Q=U[P++],X=y,he=O,y=U[P++],O=U[P++],R=w.A,s(X,he,y,O,k,Q,_,Z,Y,R,T);break;case"a":_=U[P++],Z=U[P++],Y=U[P++],k=U[P++],Q=U[P++],X=y,he=O,y+=U[P++],O+=U[P++],R=w.A,s(X,he,y,O,k,Q,_,Z,Y,R,T);break}}(F==="z"||F==="Z")&&(R=w.Z,T.addData(R),y=S,O=E),C=R}return T.toStatic(),T}function t(A,y){var O=u(A);return y=y||{},y.buildPath=function(S){if(S.setData){S.setData(O.data);var E=S.getContext();E&&S.rebuildPath(E)}else{var E=S;O.rebuildPath(E)}},y.applyTransform=function(S){g(O,S),this.dirty(!0)},y}function c(A,y){return new d(t(A,y))}function o(A,y){return d.extend(t(A,y))}function h(A,y){for(var O=[],S=A.length,E=0;E<S;E++){var C=A[E];C.path||C.createPathProxy(),C.__dirtyPath&&C.buildPath(C.path,C.shape,!0),O.push(C.path)}var T=new d(y);return T.createPathProxy(),T.buildPath=function(w){w.appendPath(O);var L=w.getContext();L&&w.rebuildPath(L)},T}B.createFromString=c,B.extendFromString=o,B.mergePath=h},NH9N:function(J,B,e){var d=e("bYtY"),x=e("mFDi"),g=e("Fofx"),p=e("IwbS"),v=e("+TT/"),b=e("kzvK"),f=e("CMP+"),i=e("oVpE"),r=i.createSymbol,a=e("aX7z"),s=e("OELB"),l=e("7aKB"),n=l.encodeHTML,u=d.bind,t=d.each,c=Math.PI,o=b.extend({type:"timeline.slider",init:function(S,E){this.api=E,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(S,E,C,T){if(this.model=S,this.api=C,this.ecModel=E,this.group.removeAll(),S.get("show",!0)){var w=this._layout(S,C),L=this._createGroup("mainGroup"),N=this._createGroup("labelGroup"),D=this._axis=this._createAxis(w,S);S.formatTooltip=function(F){return n(D.scale.getLabel(F))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(F){this["_render"+F](w,L,D,S)},this),this._renderAxisLabel(w,N,D,S),this._position(w,S)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(S,E){var C=S.get("label.position"),T=S.get("orient"),w=h(S,E);C==null||C==="auto"?C=T==="horizontal"?w.y+w.height/2<E.getHeight()/2?"-":"+":w.x+w.width/2<E.getWidth()/2?"+":"-":isNaN(C)&&(C={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[T][C]);var L={horizontal:"center",vertical:C>=0||C==="+"?"left":"right"},N={horizontal:C>=0||C==="+"?"top":"bottom",vertical:"middle"},D={horizontal:0,vertical:c/2},F=T==="vertical"?w.height:w.width,R=S.getModel("controlStyle"),U=R.get("show",!0),M=U?R.get("itemSize"):0,j=U?R.get("itemGap"):0,P=M+j,K=S.get("label.rotate")||0;K=K*c/180;var H,_,Z,Y,k=R.get("position",!0),Q=U&&R.get("showPlayBtn",!0),X=U&&R.get("showPrevBtn",!0),he=U&&R.get("showNextBtn",!0),te=0,pe=F;return k==="left"||k==="bottom"?(Q&&(H=[0,0],te+=P),X&&(_=[te,0],te+=P),he&&(Z=[pe-M,0],pe-=P)):(Q&&(H=[pe-M,0],pe-=P),X&&(_=[0,0],te+=P),he&&(Z=[pe-M,0],pe-=P)),Y=[te,pe],S.get("inverse")&&Y.reverse(),{viewRect:w,mainLength:F,orient:T,rotation:D[T],labelRotation:K,labelPosOpt:C,labelAlign:S.get("label.align")||L[T],labelBaseline:S.get("label.verticalAlign")||S.get("label.baseline")||N[T],playPosition:H,prevBtnPosition:_,nextBtnPosition:Z,axisExtent:Y,controlSize:M,controlGap:j}},_position:function(S,E){var C=this._mainGroup,T=this._labelGroup,w=S.viewRect;if(S.orient==="vertical"){var L=g.create(),N=w.x,D=w.y+w.height;g.translate(L,L,[-N,-D]),g.rotate(L,L,-c/2),g.translate(L,L,[N,D]),w=w.clone(),w.applyTransform(L)}var F=_(w),R=_(C.getBoundingRect()),U=_(T.getBoundingRect()),M=C.position,j=T.position;j[0]=M[0]=F[0][0];var P=S.labelPosOpt;if(isNaN(P)){var K=P==="+"?0:1;Z(M,R,F,1,K),Z(j,U,F,1,1-K)}else{var K=P>=0?0:1;Z(M,R,F,1,K),j[1]=M[1]+P}C.attr("position",M),T.attr("position",j),C.rotation=T.rotation=S.rotation,H(C),H(T);function H(Y){var k=Y.position;Y.origin=[F[0][0]-k[0],F[1][0]-k[1]]}function _(Y){return[[Y.x,Y.x+Y.width],[Y.y,Y.y+Y.height]]}function Z(Y,k,Q,X,he){Y[X]+=Q[X][he]-k[X][he]}},_createAxis:function(S,E){var C=E.getData(),T=E.get("axisType"),w=a.createScaleByModel(E,T);w.getTicks=function(){return C.mapArray(["value"],function(D){return D})};var L=C.getDataExtent("value");w.setExtent(L[0],L[1]),w.niceTicks();var N=new f("value",w,S.axisExtent,T);return N.model=E,N},_createGroup:function(S){var E=this["_"+S]=new p.Group;return this.group.add(E),E},_renderAxisLine:function(S,E,C,T){var w=C.getExtent();if(!T.get("lineStyle.show"))return;E.add(new p.Line({shape:{x1:w[0],y1:0,x2:w[1],y2:0},style:d.extend({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(S,E,C,T){var w=T.getData(),L=C.scale.getTicks();t(L,function(N){var D=C.dataToCoord(N),F=w.getItemModel(N),R=F.getModel("itemStyle"),U=F.getModel("emphasis.itemStyle"),M={position:[D,0],onclick:u(this._changeTimeline,this,N)},j=y(F,R,E,M);p.setHoverStyle(j,U.getItemStyle()),F.get("tooltip")?(j.dataIndex=N,j.dataModel=T):j.dataIndex=j.dataModel=null},this)},_renderAxisLabel:function(S,E,C,T){var w=C.getLabelModel();if(!w.get("show"))return;var L=T.getData(),N=C.getViewLabels();t(N,function(D){var F=D.tickValue,R=L.getItemModel(F),U=R.getModel("label"),M=R.getModel("emphasis.label"),j=C.dataToCoord(D.tickValue),P=new p.Text({position:[j,0],rotation:S.labelRotation-S.rotation,onclick:u(this._changeTimeline,this,F),silent:!1});p.setTextStyle(P.style,U,{text:D.formattedLabel,textAlign:S.labelAlign,textVerticalAlign:S.labelBaseline}),E.add(P),p.setHoverStyle(P,p.setTextStyle({},M))},this)},_renderControl:function(S,E,C,T){var w=S.controlSize,L=S.rotation,N=T.getModel("controlStyle").getItemStyle(),D=T.getModel("emphasis.controlStyle").getItemStyle(),F=[0,-w/2,w,w],R=T.getPlayState(),U=T.get("inverse",!0);M(S.nextBtnPosition,"controlStyle.nextIcon",u(this._changeTimeline,this,U?"-":"+")),M(S.prevBtnPosition,"controlStyle.prevIcon",u(this._changeTimeline,this,U?"+":"-")),M(S.playPosition,"controlStyle."+(R?"stopIcon":"playIcon"),u(this._handlePlayClick,this,!R),!0);function M(j,P,K,H){if(!j)return;var _={position:j,origin:[w/2,0],rotation:H?-L:0,rectHover:!0,style:N,onclick:K},Z=A(T,P,F,_);E.add(Z),p.setHoverStyle(Z,D)}},_renderCurrentPointer:function(S,E,C,T){var w=T.getData(),L=T.getCurrentIndex(),N=w.getItemModel(L).getModel("checkpointStyle"),D=this,F={onCreate:function(R){R.draggable=!0,R.drift=u(D._handlePointerDrag,D),R.ondragend=u(D._handlePointerDragend,D),O(R,L,C,T,!0)},onUpdate:function(R){O(R,L,C,T)}};this._currentPointer=y(N,N,this._mainGroup,{},this._currentPointer,F)},_handlePlayClick:function(S){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:S,from:this.uid})},_handlePointerDrag:function(S,E,C){this._clearTimer(),this._pointerChangeTimeline([C.offsetX,C.offsetY])},_handlePointerDragend:function(S){this._pointerChangeTimeline([S.offsetX,S.offsetY],!0)},_pointerChangeTimeline:function(S,E){var C=this._toAxisCoord(S)[0],T=this._axis,w=s.asc(T.getExtent().slice());C>w[1]&&(C=w[1]),C<w[0]&&(C=w[0]),this._currentPointer.position[0]=C,this._currentPointer.dirty();var L=this._findNearestTick(C),N=this.model;(E||L!==N.getCurrentIndex()&&N.get("realtime"))&&this._changeTimeline(L)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(u(S,this),this.model.get("playInterval")));function S(){var E=this.model;this._changeTimeline(E.getCurrentIndex()+(E.get("rewind",!0)?-1:1))}},_toAxisCoord:function(S){var E=this._mainGroup.getLocalTransform();return p.applyTransform(S,E,!0)},_findNearestTick:function(S){var E=this.model.getData(),C=Infinity,T,w=this._axis;return E.each(["value"],function(L,N){var D=w.dataToCoord(L),F=Math.abs(D-S);F<C&&(C=F,T=N)}),T},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(S){var E=this.model.getCurrentIndex();S==="+"?S=E+1:S==="-"&&(S=E-1),this.api.dispatchAction({type:"timelineChange",currentIndex:S,from:this.uid})}});function h(S,E){return v.getLayoutRect(S.getBoxLayoutParams(),{width:E.getWidth(),height:E.getHeight()},S.get("padding"))}function A(S,E,C,T){var w=p.makePath(S.get(E).replace(/^path:\/\//,""),d.clone(T||{}),new x(C[0],C[1],C[2],C[3]),"center");return w}function y(S,E,C,T,w,L){var N=E.get("color");if(w)w.setColor(N),C.add(w),L&&L.onUpdate(w);else{var D=S.get("symbol");w=r(D,-1,-1,2,2,N),w.setStyle("strokeNoScale",!0),C.add(w),L&&L.onCreate(w)}var F=E.getItemStyle(["color","symbol","symbolSize"]);w.setStyle(F),T=d.merge({rectHover:!0,z2:100},T,!0);var R=S.get("symbolSize");R=R instanceof Array?R.slice():[+R,+R],R[0]/=2,R[1]/=2,T.scale=R;var U=S.get("symbolOffset");if(U){var M=T.position=T.position||[0,0];M[0]+=s.parsePercent(U[0],R[0]),M[1]+=s.parsePercent(U[1],R[1])}var j=S.get("symbolRotate");return T.rotation=(j||0)*Math.PI/180||0,w.attr(T),w.updateTransform(),w}function O(S,E,C,T,w){if(S.dragging)return;var L=T.getModel("checkpointStyle"),N=C.dataToCoord(T.getData().get(["value"],E));w||!L.get("animation",!0)?S.attr({position:[N,0]}):(S.stopAnimation(!0),S.animateTo({position:[N,0]},L.get("animationDuration",!0),L.get("animationEasing",!0)))}J.exports=o},NJEC:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("J4zp"),p=e.n(g),v=e("q1tI"),b=e.n(v),f=e("TSYQ"),i=e.n(f),r=e("sKbD"),a=e.n(r),s=e("4IlW"),l=e("3S7+"),n=e("2/Rp"),u=e("zvFY"),t=e("YMnH"),c=e("ZvpZ"),o=e("H84U"),h=e("bogI"),A=e("0n0R"),y=void 0,O=function(E,C){var T={};for(var w in E)Object.prototype.hasOwnProperty.call(E,w)&&C.indexOf(w)<0&&(T[w]=E[w]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,w=Object.getOwnPropertySymbols(E);L<w.length;L++)C.indexOf(w[L])<0&&Object.prototype.propertyIsEnumerable.call(E,w[L])&&(T[w[L]]=E[w[L]]);return T},S=v.forwardRef(function(E,C){var T=v.useState(E.visible),w=p()(T,2),L=w[0],N=w[1];v.useEffect(function(){"visible"in E&&N(E.visible)},[E.visible]),v.useEffect(function(){"defaultVisible"in E&&N(E.defaultVisible)},[E.defaultVisible]);var D=function(Se,we){"visible"in E||N(Se),E.onVisibleChange&&E.onVisibleChange(Se,we)},F=function(Se){D(!1,Se),E.onConfirm&&E.onConfirm.call(y,Se)},R=function(Se){D(!1,Se),E.onCancel&&E.onCancel.call(y,Se)},U=function(Se){Se.keyCode===s.a.ESC&&L&&D(!1,Se)},M=function(Se){var we=E.disabled;if(we)return;D(Se)},j=function(Se,we){var We=E.okButtonProps,qe=E.cancelButtonProps,yt=E.title,_e=E.cancelText,je=E.okText,Ct=E.okType,ct=E.icon;return v.createElement("div",{className:"".concat(Se,"-inner-content")},v.createElement("div",{className:"".concat(Se,"-message")},ct,v.createElement("div",{className:"".concat(Se,"-message-title")},Object(h.a)(yt))),v.createElement("div",{className:"".concat(Se,"-buttons")},v.createElement(n.a,x()({onClick:R,size:"small"},qe),_e||we.cancelText),v.createElement(n.a,x()({onClick:F},Object(u.a)(Ct),{size:"small"},We),je||we.okText)))},P=v.useContext(o.b),K=P.getPrefixCls,H=E.prefixCls,_=E.placement,Z=E.children,Y=E.overlayClassName,k=O(E,["prefixCls","placement","children","overlayClassName"]),Q=K("popover",H),X=K("popconfirm",H),he=i()(X,Y),te=v.createElement(t.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},function(pe){return j(Q,pe)});return v.createElement(l.a,x()({},k,{prefixCls:Q,placement:_,onVisibleChange:M,visible:L,overlay:te,overlayClassName:he,ref:C}),Object(A.a)(Z,{onKeyDown:function(Se){var we,We;(We=Z==null?void 0:(we=Z.props).onKeyDown)===null||We===void 0||We.call(we,Se),U(Se)}}))});S.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:v.createElement(a.a,null),disabled:!1},B.a=S},NKxu:function(J,B,e){var d=e("lSCD"),x=e("E2jh"),g=e("GoyQ"),p=e("3Fdi"),v=/[\\^$.*+?()[\]{}|]/g,b=/^\[object .+?Constructor\]$/,f=Function.prototype,i=Object.prototype,r=f.toString,a=i.hasOwnProperty,s=RegExp("^"+r.call(a).replace(v,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(n){if(!g(n)||x(n))return!1;var u=d(n)?s:b;return u.test(p(n))}J.exports=l},NUBc:function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("q1tI"),b=e.n(v),f=e("wx14"),i=e("rePB"),r=e("1OyB"),a=e("vuIU"),s=e("Ji7U"),l=e("md7G"),n=e("foSv"),u=e("TSYQ"),t=e.n(u),c=function(Ct){var ct,nt="".concat(Ct.rootPrefixCls,"-item"),bt=t()(nt,"".concat(nt,"-").concat(Ct.page),(ct={},Object(i.a)(ct,"".concat(nt,"-active"),Ct.active),Object(i.a)(ct,Ct.className,!!Ct.className),Object(i.a)(ct,"".concat(nt,"-disabled"),!Ct.page),ct)),dt=function(){Ct.onClick(Ct.page)},vt=function(mt){Ct.onKeyPress(mt,Ct.onClick,Ct.page)};return b.a.createElement("li",{title:Ct.showTitle?Ct.page:null,className:bt,onClick:dt,onKeyPress:vt,tabIndex:"0"},Ct.itemRender(Ct.page,"page",b.a.createElement("a",{rel:"nofollow"},Ct.page)))},o=c,h={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40};function A(je){var Ct=y();return function(){var nt=Object(n.a)(je),bt;if(Ct){var dt=Object(n.a)(this).constructor;bt=Reflect.construct(nt,arguments,dt)}else bt=nt.apply(this,arguments);return Object(l.a)(this,bt)}}function y(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(je){return!1}}var O=function(je){Object(s.a)(ct,je);var Ct=A(ct);function ct(){var nt;Object(r.a)(this,ct);for(var bt=arguments.length,dt=new Array(bt),vt=0;vt<bt;vt++)dt[vt]=arguments[vt];return nt=Ct.call.apply(Ct,[this].concat(dt)),nt.state={goInputText:""},nt.buildOptionText=function(Qe){return"".concat(Qe," ").concat(nt.props.locale.items_per_page)},nt.changeSize=function(Qe){nt.props.changeSize(Number(Qe))},nt.handleChange=function(Qe){nt.setState({goInputText:Qe.target.value})},nt.handleBlur=function(Qe){var mt=nt.props,Pe=mt.goButton,De=mt.quickGo,Ie=mt.rootPrefixCls,ot=nt.state.goInputText;if(Pe||ot==="")return;if(Qe.relatedTarget&&(Qe.relatedTarget.className.indexOf("".concat(Ie,"-prev"))>=0||Qe.relatedTarget.className.indexOf("".concat(Ie,"-next"))>=0))return;nt.setState({goInputText:""}),De(nt.getValidValue())},nt.go=function(Qe){var mt=nt.state.goInputText;if(mt==="")return;(Qe.keyCode===h.ENTER||Qe.type==="click")&&(nt.setState({goInputText:""}),nt.props.quickGo(nt.getValidValue()))},nt}return Object(a.a)(ct,[{key:"getValidValue",value:function(){var bt=this.state,dt=bt.goInputText,vt=bt.current;return!dt||isNaN(dt)?vt:Number(dt)}},{key:"getPageSizeOptions",value:function(){var bt=this.props,dt=bt.pageSize,vt=bt.pageSizeOptions;return vt.some(function(Qe){return Qe.toString()===dt.toString()})?vt:vt.concat([dt.toString()]).sort(function(Qe,mt){var Pe=isNaN(Number(Qe))?0:Number(Qe),De=isNaN(Number(mt))?0:Number(mt);return Pe-De})}},{key:"render",value:function(){var bt=this,dt=this.props,vt=dt.pageSize,Qe=dt.locale,mt=dt.rootPrefixCls,Pe=dt.changeSize,De=dt.quickGo,Ie=dt.goButton,ot=dt.selectComponentClass,wt=dt.buildOptionText,Bt=dt.selectPrefixCls,_t=dt.disabled,Ue=this.state.goInputText,zt="".concat(mt,"-options"),xt=ot,Pt=null,Ke=null,Ye=null;if(!Pe&&!De)return null;var $e=this.getPageSizeOptions();if(Pe&&xt){var ut=$e.map(function(et,oe){return b.a.createElement(xt.Option,{key:oe,value:et},(wt||bt.buildOptionText)(et))});Pt=b.a.createElement(xt,{disabled:_t,prefixCls:Bt,showSearch:!1,className:"".concat(zt,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(vt||$e[0]).toString(),onChange:this.changeSize,getPopupContainer:function(oe){return oe.parentNode}},ut)}return De&&(Ie&&(Ye=typeof Ie=="boolean"?b.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:_t,className:"".concat(zt,"-quick-jumper-button")},Qe.jump_to_confirm):b.a.createElement("span",{onClick:this.go,onKeyUp:this.go},Ie)),Ke=b.a.createElement("div",{className:"".concat(zt,"-quick-jumper")},Qe.jump_to,b.a.createElement("input",{disabled:_t,type:"text",value:Ue,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Qe.page,Ye)),b.a.createElement("li",{className:"".concat(zt)},Pt,Ke)}}]),ct}(b.a.Component);O.defaultProps={pageSizeOptions:["10","20","50","100"]};var S=O,E=e("N2Kk");function C(je,Ct){var ct=Object.keys(je);if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(je);Ct&&(nt=nt.filter(function(bt){return Object.getOwnPropertyDescriptor(je,bt).enumerable})),ct.push.apply(ct,nt)}return ct}function T(je){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?C(Object(ct),!0).forEach(function(nt){Object(i.a)(je,nt,ct[nt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(ct)):C(Object(ct)).forEach(function(nt){Object.defineProperty(je,nt,Object.getOwnPropertyDescriptor(ct,nt))})}return je}function w(je){var Ct=L();return function(){var nt=Object(n.a)(je),bt;if(Ct){var dt=Object(n.a)(this).constructor;bt=Reflect.construct(nt,arguments,dt)}else bt=nt.apply(this,arguments);return Object(l.a)(this,bt)}}function L(){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(je){return!1}}function N(){}function D(je){return typeof je=="number"&&isFinite(je)&&Math.floor(je)===je}function F(je,Ct,ct){return ct}function R(je,Ct,ct){var nt=typeof je=="undefined"?Ct.pageSize:je;return Math.floor((ct.total-1)/nt)+1}var U=function(je){Object(s.a)(ct,je);var Ct=w(ct);function ct(nt){var bt;Object(r.a)(this,ct),bt=Ct.call(this,nt),bt.getJumpPrevPage=function(){return Math.max(1,bt.state.current-(bt.props.showLessItems?3:5))},bt.getJumpNextPage=function(){return Math.min(R(void 0,bt.state,bt.props),bt.state.current+(bt.props.showLessItems?3:5))},bt.getItemIcon=function(Pe,De){var Ie=bt.props.prefixCls,ot=Pe||b.a.createElement("button",{type:"button","aria-label":De,className:"".concat(Ie,"-item-link")});return typeof Pe=="function"&&(ot=b.a.createElement(Pe,T({},bt.props))),ot},bt.savePaginationNode=function(Pe){bt.paginationNode=Pe},bt.isValid=function(Pe){return D(Pe)&&Pe!==bt.state.current},bt.shouldDisplayQuickJumper=function(){var Pe=bt.props,De=Pe.showQuickJumper,Ie=Pe.pageSize,ot=Pe.total;return ot<=Ie?!1:De},bt.handleKeyDown=function(Pe){(Pe.keyCode===h.ARROW_UP||Pe.keyCode===h.ARROW_DOWN)&&Pe.preventDefault()},bt.handleKeyUp=function(Pe){var De=bt.getValidValue(Pe),Ie=bt.state.currentInputValue;De!==Ie&&bt.setState({currentInputValue:De}),Pe.keyCode===h.ENTER?bt.handleChange(De):Pe.keyCode===h.ARROW_UP?bt.handleChange(De-1):Pe.keyCode===h.ARROW_DOWN&&bt.handleChange(De+1)},bt.changePageSize=function(Pe){var De=bt.state.current,Ie=R(Pe,bt.state,bt.props);De=De>Ie?Ie:De,Ie===0&&(De=bt.state.current),typeof Pe=="number"&&("pageSize"in bt.props||bt.setState({pageSize:Pe}),"current"in bt.props||bt.setState({current:De,currentInputValue:De})),bt.props.onShowSizeChange(De,Pe),"onChange"in bt.props&&bt.props.onChange&&bt.props.onChange(De,Pe)},bt.handleChange=function(Pe){var De=bt.props.disabled,Ie=Pe;if(bt.isValid(Ie)&&!De){var ot=R(void 0,bt.state,bt.props);Ie>ot?Ie=ot:Ie<1&&(Ie=1),"current"in bt.props||bt.setState({current:Ie,currentInputValue:Ie});var wt=bt.state.pageSize;return bt.props.onChange(Ie,wt),Ie}return bt.state.current},bt.prev=function(){bt.hasPrev()&&bt.handleChange(bt.state.current-1)},bt.next=function(){bt.hasNext()&&bt.handleChange(bt.state.current+1)},bt.jumpPrev=function(){bt.handleChange(bt.getJumpPrevPage())},bt.jumpNext=function(){bt.handleChange(bt.getJumpNextPage())},bt.hasPrev=function(){return bt.state.current>1},bt.hasNext=function(){return bt.state.current<R(void 0,bt.state,bt.props)},bt.runIfEnter=function(Pe,De){if(Pe.key==="Enter"||Pe.charCode===13){for(var Ie=arguments.length,ot=new Array(Ie>2?Ie-2:0),wt=2;wt<Ie;wt++)ot[wt-2]=arguments[wt];De.apply(void 0,ot)}},bt.runIfEnterPrev=function(Pe){bt.runIfEnter(Pe,bt.prev)},bt.runIfEnterNext=function(Pe){bt.runIfEnter(Pe,bt.next)},bt.runIfEnterJumpPrev=function(Pe){bt.runIfEnter(Pe,bt.jumpPrev)},bt.runIfEnterJumpNext=function(Pe){bt.runIfEnter(Pe,bt.jumpNext)},bt.handleGoTO=function(Pe){(Pe.keyCode===h.ENTER||Pe.type==="click")&&bt.handleChange(bt.state.currentInputValue)};var dt=nt.onChange!==N,vt="current"in nt;vt&&!dt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Qe=nt.defaultCurrent;"current"in nt&&(Qe=nt.current);var mt=nt.defaultPageSize;return"pageSize"in nt&&(mt=nt.pageSize),Qe=Math.min(Qe,R(mt,void 0,nt)),bt.state={current:Qe,currentInputValue:Qe,pageSize:mt},bt}return Object(a.a)(ct,[{key:"componentDidUpdate",value:function(bt,dt){var vt=this.props.prefixCls;if(dt.current!==this.state.current&&this.paginationNode){var Qe=this.paginationNode.querySelector(".".concat(vt,"-item-").concat(dt.current));Qe&&document.activeElement===Qe&&Qe.blur()}}},{key:"getValidValue",value:function(bt){var dt=bt.target.value,vt=R(void 0,this.state,this.props),Qe=this.state.currentInputValue,mt;return dt===""?mt=dt:isNaN(Number(dt))?mt=Qe:dt>=vt?mt=vt:mt=Number(dt),mt}},{key:"getShowSizeChanger",value:function(){var bt=this.props,dt=bt.showSizeChanger,vt=bt.total,Qe=bt.totalBoundaryShowSizeChanger;return typeof dt!="undefined"?dt:vt>Qe}},{key:"renderPrev",value:function(bt){var dt=this.props,vt=dt.prevIcon,Qe=dt.itemRender,mt=Qe(bt,"prev",this.getItemIcon(vt,"prev page")),Pe=!this.hasPrev();return Object(v.isValidElement)(mt)?Object(v.cloneElement)(mt,{disabled:Pe}):mt}},{key:"renderNext",value:function(bt){var dt=this.props,vt=dt.nextIcon,Qe=dt.itemRender,mt=Qe(bt,"next",this.getItemIcon(vt,"next page")),Pe=!this.hasNext();return Object(v.isValidElement)(mt)?Object(v.cloneElement)(mt,{disabled:Pe}):mt}},{key:"render",value:function(){var bt=this,dt=this.props,vt=dt.prefixCls,Qe=dt.className,mt=dt.style,Pe=dt.disabled,De=dt.hideOnSinglePage,Ie=dt.total,ot=dt.locale,wt=dt.showQuickJumper,Bt=dt.showLessItems,_t=dt.showTitle,Ue=dt.showTotal,zt=dt.simple,xt=dt.itemRender,Pt=dt.showPrevNextJumpers,Ke=dt.jumpPrevIcon,Ye=dt.jumpNextIcon,$e=dt.selectComponentClass,ut=dt.selectPrefixCls,et=dt.pageSizeOptions,oe=this.state,me=oe.current,it=oe.pageSize,Be=oe.currentInputValue;if(De===!0&&Ie<=it)return null;var ht=R(void 0,this.state,this.props),Mr=[],Lt=null,or=null,Qt=null,qt=null,hr=null,Gt=wt&&wt.goButton,de=Bt?1:2,ue=me-1>0?me-1:0,se=me+1<ht?me+1:ht,ae=Object.keys(this.props).reduce(function(le,ge){return(ge.substr(0,5)==="data-"||ge.substr(0,5)==="aria-"||ge==="role")&&(le[ge]=bt.props[ge]),le},{});if(zt)return Gt&&(typeof Gt=="boolean"?hr=b.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ot.jump_to_confirm):hr=b.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Gt),hr=b.a.createElement("li",{title:_t?"".concat(ot.jump_to).concat(me,"/").concat(ht):null,className:"".concat(vt,"-simple-pager")},hr)),b.a.createElement("ul",Object(f.a)({className:t()(vt,"".concat(vt,"-simple"),Object(i.a)({},"".concat(vt,"-disabled"),Pe),Qe),style:mt,ref:this.savePaginationNode},ae),b.a.createElement("li",{title:_t?ot.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:t()("".concat(vt,"-prev"),Object(i.a)({},"".concat(vt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(ue)),b.a.createElement("li",{title:_t?"".concat(me,"/").concat(ht):null,className:"".concat(vt,"-simple-pager")},b.a.createElement("input",{type:"text",value:Be,disabled:Pe,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),b.a.createElement("span",{className:"".concat(vt,"-slash")},"/"),ht),b.a.createElement("li",{title:_t?ot.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:t()("".concat(vt,"-next"),Object(i.a)({},"".concat(vt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(se)),hr);if(ht<=3+de*2){var ye={locale:ot,rootPrefixCls:vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:_t,itemRender:xt};ht||Mr.push(b.a.createElement(o,Object(f.a)({},ye,{key:"noPager",page:ht,className:"".concat(vt,"-disabled")})));for(var Ce=1;Ce<=ht;Ce+=1){var Oe=me===Ce;Mr.push(b.a.createElement(o,Object(f.a)({},ye,{key:Ce,page:Ce,active:Oe})))}}else{var Te=Bt?ot.prev_3:ot.prev_5,xe=Bt?ot.next_3:ot.next_5;Pt&&(Lt=b.a.createElement("li",{title:_t?Te:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:t()("".concat(vt,"-jump-prev"),Object(i.a)({},"".concat(vt,"-jump-prev-custom-icon"),!!Ke))},xt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ke,"prev page"))),or=b.a.createElement("li",{title:_t?xe:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:t()("".concat(vt,"-jump-next"),Object(i.a)({},"".concat(vt,"-jump-next-custom-icon"),!!Ye))},xt(this.getJumpNextPage(),"jump-next",this.getItemIcon(Ye,"next page")))),qt=b.a.createElement(o,{locale:ot,last:!0,rootPrefixCls:vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ht,page:ht,active:!1,showTitle:_t,itemRender:xt}),Qt=b.a.createElement(o,{locale:ot,rootPrefixCls:vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:_t,itemRender:xt});var ke=Math.max(1,me-de),lt=Math.min(me+de,ht);me-1<=de&&(lt=1+de*2),ht-me<=de&&(ke=ht-de*2);for(var At=ke;At<=lt;At+=1){var ee=me===At;Mr.push(b.a.createElement(o,{locale:ot,rootPrefixCls:vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:At,page:At,active:ee,showTitle:_t,itemRender:xt}))}me-1>=de*2&&me!==1+2&&(Mr[0]=Object(v.cloneElement)(Mr[0],{className:"".concat(vt,"-item-after-jump-prev")}),Mr.unshift(Lt)),ht-me>=de*2&&me!==ht-2&&(Mr[Mr.length-1]=Object(v.cloneElement)(Mr[Mr.length-1],{className:"".concat(vt,"-item-before-jump-next")}),Mr.push(or)),ke!==1&&Mr.unshift(Qt),lt!==ht&&Mr.push(qt)}var ie=null;Ue&&(ie=b.a.createElement("li",{className:"".concat(vt,"-total-text")},Ue(Ie,[Ie===0?0:(me-1)*it+1,me*it>Ie?Ie:me*it])));var z=!this.hasPrev()||!ht,$=!this.hasNext()||!ht;return b.a.createElement("ul",Object(f.a)({className:t()(vt,Qe,Object(i.a)({},"".concat(vt,"-disabled"),Pe)),style:mt,unselectable:"unselectable",ref:this.savePaginationNode},ae),ie,b.a.createElement("li",{title:_t?ot.prev_page:null,onClick:this.prev,tabIndex:z?null:0,onKeyPress:this.runIfEnterPrev,className:t()("".concat(vt,"-prev"),Object(i.a)({},"".concat(vt,"-disabled"),z)),"aria-disabled":z},this.renderPrev(ue)),Mr,b.a.createElement("li",{title:_t?ot.next_page:null,onClick:this.next,tabIndex:$?null:0,onKeyPress:this.runIfEnterNext,className:t()("".concat(vt,"-next"),Object(i.a)({},"".concat(vt,"-disabled"),$)),"aria-disabled":$},this.renderNext(se)),b.a.createElement(S,{disabled:Pe,locale:ot,rootPrefixCls:vt,selectComponentClass:$e,selectPrefixCls:ut,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:me,pageSize:it,pageSizeOptions:et,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Gt}))}}],[{key:"getDerivedStateFromProps",value:function(bt,dt){var vt={};if("current"in bt&&(vt.current=bt.current,bt.current!==dt.current&&(vt.currentInputValue=vt.current)),"pageSize"in bt&&bt.pageSize!==dt.pageSize){var Qe=dt.current,mt=R(bt.pageSize,dt,bt);Qe=Qe>mt?mt:Qe,"current"in bt||(vt.current=Qe,vt.currentInputValue=Qe),vt.pageSize=bt.pageSize}return vt}}]),ct}(b.a.Component);U.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:N,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:N,locale:E.a,style:{},itemRender:F,totalBoundaryShowSizeChanger:50};var M=U,j=e("H4fg"),P=e("DFhj"),K=e.n(P),H=e("fEPi"),_=e.n(H),Z=e("u9fO"),Y=e.n(Z),k=e("mO/d"),Q=e.n(k),X=e("2fM7"),he=function(Ct){return v.createElement(X.a,p()({size:"small"},Ct))};he.Option=X.a.Option;var te=he,pe=e("YMnH"),Se=e("H84U"),we=e("5OYt"),We=function(je,Ct){var ct={};for(var nt in je)Object.prototype.hasOwnProperty.call(je,nt)&&Ct.indexOf(nt)<0&&(ct[nt]=je[nt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,nt=Object.getOwnPropertySymbols(je);bt<nt.length;bt++)Ct.indexOf(nt[bt])<0&&Object.prototype.propertyIsEnumerable.call(je,nt[bt])&&(ct[nt[bt]]=je[nt[bt]]);return ct},qe=function(Ct){var ct=Ct.prefixCls,nt=Ct.selectPrefixCls,bt=Ct.className,dt=Ct.size,vt=Ct.locale,Qe=We(Ct,["prefixCls","selectPrefixCls","className","size","locale"]),mt=Object(we.a)(),Pe=mt.xs,De=v.useContext(Se.b),Ie=De.getPrefixCls,ot=De.direction,wt=Ie("pagination",ct),Bt=function(){var zt=v.createElement("span",{className:"".concat(wt,"-item-ellipsis")},"\u2022\u2022\u2022"),xt=v.createElement("button",{className:"".concat(wt,"-item-link"),type:"button",tabIndex:-1},v.createElement(K.a,null)),Pt=v.createElement("button",{className:"".concat(wt,"-item-link"),type:"button",tabIndex:-1},v.createElement(_.a,null)),Ke=v.createElement("a",{className:"".concat(wt,"-item-link")},v.createElement("div",{className:"".concat(wt,"-item-container")},v.createElement(Y.a,{className:"".concat(wt,"-item-link-icon")}),zt)),Ye=v.createElement("a",{className:"".concat(wt,"-item-link")},v.createElement("div",{className:"".concat(wt,"-item-container")},v.createElement(Q.a,{className:"".concat(wt,"-item-link-icon")}),zt));if(ot==="rtl"){var $e=[Pt,xt];xt=$e[0],Pt=$e[1];var ut=[Ye,Ke];Ke=ut[0],Ye=ut[1]}return{prevIcon:xt,nextIcon:Pt,jumpPrevIcon:Ke,jumpNextIcon:Ye}},_t=function(zt){var xt=p()(p()({},zt),vt),Pt=dt==="small"||!!(Pe&&!dt&&Qe.responsive),Ke=Ie("select",nt),Ye=t()(bt,x()({mini:Pt},"".concat(wt,"-rtl"),ot==="rtl"));return v.createElement(M,p()({},Qe,{prefixCls:wt,selectPrefixCls:Ke},Bt(),{className:Ye,selectComponentClass:Pt?te:X.a,locale:xt}))};return v.createElement(pe.a,{componentName:"Pagination",defaultLocale:j.a},_t)},yt=qe,_e=B.a=yt},NohK:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=function(g){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,v=null;return function(){for(var b=this,f=arguments.length,i=new Array(f),r=0;r<f;r++)i[r]=arguments[r];clearTimeout(v),v=setTimeout(function(){g.apply(b,i)},p)}};B.default=d},Npjl:function(J,B){function e(d,x){return d==null?void 0:d[x]}J.exports=e},Nu4q:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:function(g,p){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:g}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:p}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:p}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:p}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:g}}]}},name:"picture",theme:"twotone"};B.default=d},NvD2:function(J,B,e){"use strict";e.d(B,"a",function(){return b});var d=e("Kwbf");function x(f,i){var r=new Set;return f.forEach(function(a){i.has(a)||r.add(a)}),r}function g(f){var i=f||{},r=i.disabled,a=i.disableCheckbox,s=i.checkable;return!!(r||a)||s===!1}function p(f,i,r,a){for(var s=new Set(f),l=new Set,n=0;n<=r;n+=1){var u=i.get(n)||new Set;u.forEach(function(h){var A=h.key,y=h.node,O=h.children,S=O===void 0?[]:O;s.has(A)&&!a(y)&&S.filter(function(E){return!a(E.node)}).forEach(function(E){s.add(E.key)})})}for(var t=new Set,c=r;c>=0;c-=1){var o=i.get(c)||new Set;o.forEach(function(h){var A=h.parent,y=h.node;if(a(y)||!h.parent||t.has(h.parent.key))return;if(a(h.parent.node)){t.add(A.key);return}var O=!0,S=!1;(A.children||[]).filter(function(E){return!a(E.node)}).forEach(function(E){var C=E.key,T=s.has(C);O&&!T&&(O=!1),!S&&(T||l.has(C))&&(S=!0)}),O&&s.add(A.key),S&&l.add(A.key),t.add(A.key)})}return{checkedKeys:Array.from(s),halfCheckedKeys:Array.from(x(l,s))}}function v(f,i,r,a,s){for(var l=new Set(f),n=new Set(i),u=0;u<=a;u+=1){var t=r.get(u)||new Set;t.forEach(function(A){var y=A.key,O=A.node,S=A.children,E=S===void 0?[]:S;!l.has(y)&&!n.has(y)&&!s(O)&&E.filter(function(C){return!s(C.node)}).forEach(function(C){l.delete(C.key)})})}n=new Set;for(var c=new Set,o=a;o>=0;o-=1){var h=r.get(o)||new Set;h.forEach(function(A){var y=A.parent,O=A.node;if(s(O)||!A.parent||c.has(A.parent.key))return;if(s(A.parent.node)){c.add(y.key);return}var S=!0,E=!1;(y.children||[]).filter(function(C){return!s(C.node)}).forEach(function(C){var T=C.key,w=l.has(T);S&&!w&&(S=!1),!E&&(w||n.has(T))&&(E=!0)}),S||l.delete(y.key),E&&n.add(y.key),c.add(y.key)})}return{checkedKeys:Array.from(l),halfCheckedKeys:Array.from(x(n,l))}}function b(f,i,r,a){var s=[],l;a?l=a:l=g;var n=new Set(f.filter(function(o){var h=!!r[o];return h||s.push(o),h})),u=new Map,t=0;Object.keys(r).forEach(function(o){var h=r[o],A=h.level,y=u.get(A);y||(y=new Set,u.set(A,y)),y.add(h),t=Math.max(t,A)}),Object(d.a)(!s.length,"Tree missing follow keys: ".concat(s.slice(0,100).map(function(o){return"'".concat(o,"'")}).join(", ")));var c;return i===!0?c=p(n,u,t,l):c=v(n,i.halfCheckedKeys,u,t,l),c}},"O/iA":function(J,B,e){},O3gP:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("O/iA"),p=e.n(g),v=e("OaEy")},OELB:function(J,B,e){var d=e("bYtY"),x=1e-4;function g(E){return E.replace(/^\s+|\s+$/g,"")}function p(E,C,T,w){var L=C[1]-C[0],N=T[1]-T[0];if(L===0)return N===0?T[0]:(T[0]+T[1])/2;if(w)if(L>0){if(E<=C[0])return T[0];if(E>=C[1])return T[1]}else{if(E>=C[0])return T[0];if(E<=C[1])return T[1]}else{if(E===C[0])return T[0];if(E===C[1])return T[1]}return(E-C[0])/L*N+T[0]}function v(E,C){switch(E){case"center":case"middle":E="50%";break;case"left":case"top":E="0%";break;case"right":case"bottom":E="100%";break}return typeof E=="string"?g(E).match(/%$/)?parseFloat(E)/100*C:parseFloat(E):E==null?NaN:+E}function b(E,C,T){return C==null&&(C=10),C=Math.min(Math.max(0,C),20),E=(+E).toFixed(C),T?E:+E}function f(E){return E.sort(function(C,T){return C-T}),E}function i(E){if(E=+E,isNaN(E))return 0;for(var C=1,T=0;Math.round(E*C)/C!==E;)C*=10,T++;return T}function r(E){var C=E.toString(),T=C.indexOf("e");if(T>0){var w=+C.slice(T+1);return w<0?-w:0}else{var L=C.indexOf(".");return L<0?0:C.length-1-L}}function a(E,C){var T=Math.log,w=Math.LN10,L=Math.floor(T(E[1]-E[0])/w),N=Math.round(T(Math.abs(C[1]-C[0]))/w),D=Math.min(Math.max(-L+N,0),20);return isFinite(D)?D:20}function s(E,C,T){if(!E[C])return 0;var w=d.reduce(E,function(H,_){return H+(isNaN(_)?0:_)},0);if(w===0)return 0;for(var L=Math.pow(10,T),N=d.map(E,function(H){return(isNaN(H)?0:H)/w*L*100}),D=L*100,F=d.map(N,function(H){return Math.floor(H)}),R=d.reduce(F,function(H,_){return H+_},0),U=d.map(N,function(H,_){return H-F[_]});R<D;){for(var M=Number.NEGATIVE_INFINITY,j=null,P=0,K=U.length;P<K;++P)U[P]>M&&(M=U[P],j=P);++F[j],U[j]=0,++R}return F[C]/L}var l=9007199254740991;function n(E){var C=Math.PI*2;return(E%C+C)%C}function u(E){return E>-x&&E<x}var t=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function c(E){if(E instanceof Date)return E;if(typeof E=="string"){var C=t.exec(E);if(!C)return new Date(NaN);if(C[8]){var T=+C[4]||0;return C[8].toUpperCase()!=="Z"&&(T-=C[8].slice(0,3)),new Date(Date.UTC(+C[1],+(C[2]||1)-1,+C[3]||1,T,+(C[5]||0),+C[6]||0,+C[7]||0))}else return new Date(+C[1],+(C[2]||1)-1,+C[3]||1,+C[4]||0,+(C[5]||0),+C[6]||0,+C[7]||0)}else if(E==null)return new Date(NaN);return new Date(Math.round(E))}function o(E){return Math.pow(10,h(E))}function h(E){if(E===0)return 0;var C=Math.floor(Math.log(E)/Math.LN10);return E/Math.pow(10,C)>=10&&C++,C}function A(E,C){var T=h(E),w=Math.pow(10,T),L=E/w,N;return C?L<1.5?N=1:L<2.5?N=2:L<4?N=3:L<7?N=5:N=10:L<1?N=1:L<2?N=2:L<3?N=3:L<5?N=5:N=10,E=N*w,T>=-20?+E.toFixed(T<0?-T:0):E}function y(E,C){var T=(E.length-1)*C+1,w=Math.floor(T),L=+E[w-1],N=T-w;return N?L+N*(E[w]-L):L}function O(E){E.sort(function(R,U){return F(R,U,0)?-1:1});for(var C=-Infinity,T=1,w=0;w<E.length;){for(var L=E[w].interval,N=E[w].close,D=0;D<2;D++)L[D]<=C&&(L[D]=C,N[D]=D?1:1-T),C=L[D],T=N[D];L[0]===L[1]&&N[0]*N[1]!==1?E.splice(w,1):w++}return E;function F(R,U,M){return R.interval[M]<U.interval[M]||R.interval[M]===U.interval[M]&&(R.close[M]-U.close[M]===(M?-1:1)||!M&&F(R,U,1))}}function S(E){return E-parseFloat(E)>=0}B.linearMap=p,B.parsePercent=v,B.round=b,B.asc=f,B.getPrecision=i,B.getPrecisionSafe=r,B.getPixelPrecision=a,B.getPercentWithPrecision=s,B.MAX_SAFE_INTEGER=l,B.remRadian=n,B.isRadianAroundZero=u,B.parseDate=c,B.quantity=o,B.quantityExponent=h,B.nice=A,B.quantile=y,B.reformIntervals=O,B.isNumeric=S},OKJ2:function(J,B,e){var d=e("KxfA"),x=d.retrieveRawValue,g=e("7aKB"),p=g.getTooltipMarker,v=g.formatTpl,b=e("4NO4"),f=b.getTooltipRenderMode,i=/\{@(.+?)\}/g,r={getDataParams:function(a,s){var l=this.getData(s),n=this.getRawValue(a,s),u=l.getRawIndex(a),t=l.getName(a),c=l.getRawDataItem(a),o=l.getItemVisual(a,"color"),h=l.getItemVisual(a,"borderColor"),A=this.ecModel.getComponent("tooltip"),y=A&&A.get("renderMode"),O=f(y),S=this.mainType,E=S==="series",C=l.userOutput;return{componentType:S,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:E?this.subType:null,seriesIndex:this.seriesIndex,seriesId:E?this.id:null,seriesName:E?this.name:null,name:t,dataIndex:u,data:c,dataType:s,value:n,color:o,borderColor:h,dimensionNames:C?C.dimensionNames:null,encode:C?C.encode:null,marker:p({color:o,renderMode:O}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(a,s,l,n,u){s=s||"normal";var t=this.getData(l),c=t.getItemModel(a),o=this.getDataParams(a,l);n!=null&&o.value instanceof Array&&(o.value=o.value[n]);var h=c.get(s==="normal"?[u||"label","formatter"]:[s,u||"label","formatter"]);if(typeof h=="function")return o.status=s,o.dimensionIndex=n,h(o);if(typeof h=="string"){var A=v(h,o);return A.replace(i,function(y,O){var S=O.length;return O.charAt(0)==="["&&O.charAt(S-1)==="]"&&(O=+O.slice(1,S-1)),x(t,a,O)})}},getRawValue:function(a,s){return x(this.getData(s),a)},formatTooltip:function(){}};J.exports=r},OPEp:function(J,B,e){},OQFs:function(J,B,e){var d=e("KCsZ"),x=d([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),g={getLineStyle:function(p){var v=x(this,p);return v.lineDash=this.getLineDash(v.lineWidth),v},getLineDash:function(p){p==null&&(p=1);var v=this.get("type"),b=Math.max(p,2),f=p*4;return v==="solid"||v==null?!1:v==="dashed"?[f,f]:[b,b]}};J.exports=g},OS9S:function(J,B,e){var d=e("bYtY"),x=d.inherits,g=e("Gev7"),p=e("mFDi");function v(i){g.call(this,i),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}v.prototype.incremental=!0,v.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},v.prototype.addDisplayable=function(i,r){r?this._temporaryDisplayables.push(i):this._displayables.push(i),this.dirty()},v.prototype.addDisplayables=function(i,r){r=r||!1;for(var a=0;a<i.length;a++)this.addDisplayable(i[a],r)},v.prototype.eachPendingDisplayable=function(i){for(var r=this._cursor;r<this._displayables.length;r++)i&&i(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)i&&i(this._temporaryDisplayables[r])},v.prototype.update=function(){this.updateTransform();for(var i=this._cursor;i<this._displayables.length;i++){var r=this._displayables[i];r.parent=this,r.update(),r.parent=null}for(var i=0;i<this._temporaryDisplayables.length;i++){var r=this._temporaryDisplayables[i];r.parent=this,r.update(),r.parent=null}},v.prototype.brush=function(i,r){for(var a=this._cursor;a<this._displayables.length;a++){var s=this._displayables[a];s.beforeBrush&&s.beforeBrush(i),s.brush(i,a===this._cursor?null:this._displayables[a-1]),s.afterBrush&&s.afterBrush(i)}this._cursor=a;for(var a=0;a<this._temporaryDisplayables.length;a++){var s=this._temporaryDisplayables[a];s.beforeBrush&&s.beforeBrush(i),s.brush(i,a===0?null:this._temporaryDisplayables[a-1]),s.afterBrush&&s.afterBrush(i)}this._temporaryDisplayables=[],this.notClear=!0};var b=[];v.prototype.getBoundingRect=function(){if(!this._rect){for(var i=new p(Infinity,Infinity,-Infinity,-Infinity),r=0;r<this._displayables.length;r++){var a=this._displayables[r],s=a.getBoundingRect().clone();a.needLocalTransform()&&s.applyTransform(a.getLocalTransform(b)),i.union(s)}this._rect=i}return this._rect},v.prototype.contain=function(i,r){var a=this.transformCoordToLocal(i,r),s=this.getBoundingRect();if(s.contain(a[0],a[1]))for(var l=0;l<this._displayables.length;l++){var n=this._displayables[l];if(n.contain(i,r))return!0}return!1},x(v,g);var f=v;J.exports=f},OUJF:function(J,B,e){var d=e("ProS"),x=e("bYtY");d.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(g,p){var v=p.getComponent("timeline");return v&&g.currentIndex!=null&&(v.setCurrentIndex(g.currentIndex),!v.get("loop",!0)&&v.isIndexMax()&&v.setPlayState(!1)),p.resetOption("timeline"),x.defaults({currentIndex:v.option.currentIndex},g)}),d.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(g,p){var v=p.getComponent("timeline");v&&g.playState!=null&&v.setPlayState(g.playState)})},OXB0:function(J,B,e){var d=e("T4UG"),x=e("MwEJ"),g=e("IDmD"),p=d.extend({type:"series.heatmap",getInitialData:function(v,b){return x(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var v=g.get(this.get("coordinateSystem"));if(v&&v.dimensions)return v.dimensions[0]==="lng"&&v.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});J.exports=p},OZM5:function(J,B,e){"use strict";e.d(B,"b",function(){return a}),e.d(B,"a",function(){return s}),e.d(B,"k",function(){return l}),e.d(B,"h",function(){return n}),e.d(B,"i",function(){return u}),e.d(B,"g",function(){return t}),e.d(B,"c",function(){return c}),e.d(B,"d",function(){return o}),e.d(B,"j",function(){return y}),e.d(B,"e",function(){return O}),e.d(B,"f",function(){return S});var d=e("KQm4"),x=e("U8pU"),g=e("Ff2n"),p=e("q1tI"),v=e.n(p),b=e("Kwbf"),f=e("WaYH"),i=.25,r=2;function a(E,C){var T=E.slice(),w=T.indexOf(C);return w>=0&&T.splice(w,1),T}function s(E,C){var T=E.slice();return T.indexOf(C)===-1&&T.push(C),T}function l(E){return E.split("-")}function n(E,C){return"".concat(E,"-").concat(C)}function u(E){return E&&E.type&&E.type.isTreeNode}function t(E,C){var T=[E],w=C[E];function L(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];N.forEach(function(D){var F=D.key,R=D.children;T.push(F),L(R)})}return L(w.children),T}function c(E,C){var T=E.clientY,w=C.selectHandle.getBoundingClientRect(),L=w.top,N=w.bottom,D=w.height,F=Math.max(D*i,r);return T<=L+F?-1:T>=N-F?1:0}function o(E,C){if(!E)return;var T=C.multiple;return T?E.slice():E.length?[E[0]]:E}var h=function(C){return C};function A(E,C){if(!E)return[];var T=C||{},w=T.processProps,L=w===void 0?h:w,N=Array.isArray(E)?E:[E];return N.map(function(D){var F=D.children,R=Object(g.a)(D,["children"]),U=A(F,C);return v.a.createElement(f.a,Object.assign({},L(R)),U)})}function y(E){if(!E)return null;var C;if(Array.isArray(E))C={checkedKeys:E,halfCheckedKeys:void 0};else if(Object(x.a)(E)==="object")C={checkedKeys:E.checked||void 0,halfCheckedKeys:E.halfChecked||void 0};else return Object(b.a)(!1,"`checkedKeys` is not an array or an object"),null;return C}function O(E,C){var T=new Set;function w(L){if(T.has(L))return;var N=C[L];if(!N)return;T.add(L);var D=N.parent,F=N.node;if(F.disabled)return;D&&w(D.key)}return(E||[]).forEach(function(L){w(L)}),Object(d.a)(T)}function S(E){var C={};return Object.keys(E).forEach(function(T){(T.startsWith("data-")||T.startsWith("aria-"))&&(C[T]=E[T])}),C}},OaEy:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("bKJz"),p=e.n(g),v=e("R9oj")},"Of+w":function(J,B,e){var d=e("Cwc5"),x=e("Kz5y"),g=d(x,"WeakMap");J.exports=g},Ol7k:function(J,B,e){"use strict";var d=e("PKem"),x=e("ZX9x");d.b.Sider=x.b,B.a=d.b},OlYY:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("ProS"),p=e("bYtY"),v=e("ItGF"),b=e("4NO4"),f=e("UOVi"),i=e("zDms"),r=p.each,a=f.eachAxisDim,s=g.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,c,o){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var h=l(t);this.settledOption=h,this.mergeDefaultAndTheme(t,o),this.doInit(h)},mergeOption:function(t){var c=l(t);p.merge(this.option,t,!0),p.merge(this.settledOption,c,!0),this.doInit(c)},doInit:function(t){var c=this.option;v.canvasSupported||(c.realtime=!1),this._setDefaultThrottle(t),n(this,t);var o=this.settledOption;r([["start","startValue"],["end","endValue"]],function(h,A){this._rangePropMode[A]==="value"&&(c[h[0]]=o[h[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(c,o,h,A){var y=this.dependentModels[c.axis][o],O=y.__dzAxisProxy||(y.__dzAxisProxy=new i(c.name,o,this,A));t[c.name+"_"+o]=O},this)},_resetTarget:function(){var t=this.option,c=this._judgeAutoMode();a(function(o){var h=o.axisIndex;t[h]=b.normalizeToArray(t[h])},this),c==="axisIndex"?this._autoSetAxisIndex():c==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,c=!1;a(function(h){t[h.axisIndex]!=null&&(c=!0)},this);var o=t.orient;if(o==null&&c)return"orient";if(!c)return o==null&&(t.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var t=!0,c=this.get("orient",!0),o=this.option,h=this.dependentModels;if(t){var A=c==="vertical"?"y":"x";h[A+"Axis"].length?(o[A+"AxisIndex"]=[0],t=!1):r(h.singleAxis,function(y){t&&y.get("orient",!0)===c&&(o.singleAxisIndex=[y.componentIndex],t=!1)})}t&&a(function(y){if(!t)return;var O=[],S=this.dependentModels[y.axis];if(S.length&&!O.length)for(var E=0,C=S.length;E<C;E++)S[E].get("type")==="category"&&O.push(E);o[y.axisIndex]=O,O.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(y){this._isSeriesHasAllAxesTypeOf(y,"value")&&a(function(O){var S=o[O.axisIndex],E=y.get(O.axisIndex),C=y.get(O.axisId),T=y.ecModel.queryComponents({mainType:O.axis,index:E,id:C})[0];E=T.componentIndex,p.indexOf(S,E)<0&&S.push(E)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(c){!t&&(t=c.name)},this),this.option.orient=t==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,c){var o=!0;return a(function(h){var A=t.get(h.axisIndex),y=this.dependentModels[h.axis][A];(!y||y.get("type")!==c)&&(o=!1)},this),o},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var c=this.ecModel.option;this.option.throttle=c.animation&&c.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return a(function(c){if(t==null){var o=this.get(c.axisIndex);o.length&&(t=this.dependentModels[c.axis][o[0]])}},this),t},eachTargetAxis:function(t,c){var o=this.ecModel;a(function(h){r(this.get(h.axisIndex),function(A){t.call(c,h,A,this,o)},this)},this)},getAxisProxy:function(t,c){return this._axisProxies[t+"_"+c]},getAxisModel:function(t,c){var o=this.getAxisProxy(t,c);return o&&o.getAxisModel()},setRawRange:function(t){var c=this.option,o=this.settledOption;r([["start","startValue"],["end","endValue"]],function(h){(t[h[0]]!=null||t[h[1]]!=null)&&(c[h[0]]=o[h[0]]=t[h[0]],c[h[1]]=o[h[1]]=t[h[1]])},this),n(this,t)},setCalculatedRange:function(t){var c=this.option;r(["start","startValue","end","endValue"],function(o){c[o]=t[o]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,c){if(t==null&&c==null){var o=this.findRepresentativeAxisProxy();if(o)return o.getDataValueWindow()}else return this.getAxisProxy(t,c).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var c=this._axisProxies;for(var o in c)if(c.hasOwnProperty(o)&&c[o].hostedBy(this))return c[o];for(var o in c)if(c.hasOwnProperty(o)&&!c[o].hostedBy(this))return c[o]},getRangePropMode:function(){return this._rangePropMode.slice()}});function l(t){var c={};return r(["start","end","startValue","endValue","throttle"],function(o){t.hasOwnProperty(o)&&(c[o]=t[o])}),c}function n(t,c){var o=t._rangePropMode,h=t.get("rangeMode");r([["start","startValue"],["end","endValue"]],function(A,y){var O=c[A[0]]!=null,S=c[A[1]]!=null;O&&!S?o[y]="percent":!O&&S?o[y]="value":h?o[y]=h[y]:O&&(o[y]="percent")})}var u=s;J.exports=u},OnYD:function(J,B,e){},"Oy/b":function(J,B,e){(function(x,g){J.exports=g()})(typeof self!="undefined"?self:this,function(){return function(d){var x={};function g(p){if(x[p])return x[p].exports;var v=x[p]={i:p,l:!1,exports:{}};return d[p].call(v.exports,v,v.exports,g),v.l=!0,v.exports}return g.m=d,g.c=x,g.d=function(p,v,b){g.o(p,v)||Object.defineProperty(p,v,{enumerable:!0,get:b})},g.r=function(p){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},g.t=function(p,v){if(v&1&&(p=g(p)),v&8)return p;if(v&4&&typeof p=="object"&&p&&p.__esModule)return p;var b=Object.create(null);if(g.r(b),Object.defineProperty(b,"default",{enumerable:!0,value:p}),v&2&&typeof p!="string")for(var f in p)g.d(b,f,function(i){return p[i]}.bind(null,f));return b},g.n=function(p){var v=p&&p.__esModule?function(){return p.default}:function(){return p};return g.d(v,"a",v),v},g.o=function(p,v){return Object.prototype.hasOwnProperty.call(p,v)},g.p="",g(g.s=1)}([function(d,x,g){},function(d,x,g){"use strict";g.r(x);var p=g(0),v=function(){function Nt(re,ce,fe){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=re,this.start=ce,this.end=fe}return Nt.range=function(ce,fe){return fe?!ce||!ce.loc||!fe.loc||ce.loc.lexer!==fe.loc.lexer?null:new Nt(ce.loc.lexer,ce.loc.start,fe.loc.end):ce&&ce.loc},Nt}(),b=function(){function Nt(ce,fe){this.text=void 0,this.loc=void 0,this.text=ce,this.loc=fe}var re=Nt.prototype;return re.range=function(fe,Le){return new Nt(Le,v.range(this,fe))},Nt}(),f=function Nt(re,ce){this.position=void 0;var fe="KaTeX parse error: "+re,Le,st=ce&&ce.loc;if(st&&st.start<=st.end){var Dt=st.lexer.input;Le=st.start;var cr=st.end;Le===Dt.length?fe+=" at end of input: ":fe+=" at position "+(Le+1)+": ";var mr=Dt.slice(Le,cr).replace(/[^]/g,"$&\u0332"),Rr;Le>15?Rr="\u2026"+Dt.slice(Le-15,Le):Rr=Dt.slice(0,Le);var qr;cr+15<Dt.length?qr=Dt.slice(cr,cr+15)+"\u2026":qr=Dt.slice(cr),fe+=Rr+mr+qr}var ln=new Error(fe);return ln.name="ParseError",ln.__proto__=Nt.prototype,ln.position=Le,ln};f.prototype.__proto__=Error.prototype;var i=f,r=function(re,ce){return re.indexOf(ce)!==-1},a=function(re,ce){return re===void 0?ce:re},s=/([A-Z])/g,l=function(re){return re.replace(s,"-$1").toLowerCase()},n={"&":"&",">":">","<":"<",'"':""","'":"'"},u=/[&><"']/g;function t(Nt){return String(Nt).replace(u,function(re){return n[re]})}var c=function Nt(re){return re.type==="ordgroup"||re.type==="color"?re.body.length===1?Nt(re.body[0]):re:re.type==="font"?Nt(re.body):re},o=function(re){var ce=c(re);return ce.type==="mathord"||ce.type==="textord"||ce.type==="atom"},h=function(re){if(!re)throw new Error("Expected non-null, but got "+String(re));return re},A=function(re){var ce=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(re);return ce!=null?ce[1]:"_relative"},y={contains:r,deflt:a,escape:t,hyphenate:l,getBaseElem:c,isCharacterBox:o,protocolFromUrl:A},O=function(){function Nt(ce){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,ce=ce||{},this.displayMode=y.deflt(ce.displayMode,!1),this.output=y.deflt(ce.output,"htmlAndMathml"),this.leqno=y.deflt(ce.leqno,!1),this.fleqn=y.deflt(ce.fleqn,!1),this.throwOnError=y.deflt(ce.throwOnError,!0),this.errorColor=y.deflt(ce.errorColor,"#cc0000"),this.macros=ce.macros||{},this.minRuleThickness=Math.max(0,y.deflt(ce.minRuleThickness,0)),this.colorIsTextColor=y.deflt(ce.colorIsTextColor,!1),this.strict=y.deflt(ce.strict,"warn"),this.trust=y.deflt(ce.trust,!1),this.maxSize=Math.max(0,y.deflt(ce.maxSize,Infinity)),this.maxExpand=Math.max(0,y.deflt(ce.maxExpand,1e3))}var re=Nt.prototype;return re.reportNonstrict=function(fe,Le,st){var Dt=this.strict;if(typeof Dt=="function"&&(Dt=Dt(fe,Le,st)),!Dt||Dt==="ignore")return;if(Dt===!0||Dt==="error")throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+(Le+" ["+fe+"]"),st);Dt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Le+" ["+fe+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Dt+"': "+Le+" ["+fe+"]"))},re.useStrictBehavior=function(fe,Le,st){var Dt=this.strict;if(typeof Dt=="function")try{Dt=Dt(fe,Le,st)}catch(cr){Dt="error"}return!Dt||Dt==="ignore"?!1:Dt===!0||Dt==="error"?!0:Dt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Le+" ["+fe+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Dt+"': "+Le+" ["+fe+"]")),!1)},re.isTrusted=function(fe){fe.url&&!fe.protocol&&(fe.protocol=y.protocolFromUrl(fe.url));var Le=typeof this.trust=="function"?this.trust(fe):this.trust;return Boolean(Le)},Nt}(),S=function(){function Nt(ce,fe,Le){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=ce,this.size=fe,this.cramped=Le}var re=Nt.prototype;return re.sup=function(){return R[U[this.id]]},re.sub=function(){return R[M[this.id]]},re.fracNum=function(){return R[j[this.id]]},re.fracDen=function(){return R[P[this.id]]},re.cramp=function(){return R[K[this.id]]},re.text=function(){return R[H[this.id]]},re.isTight=function(){return this.size>=2},Nt}(),E=0,C=1,T=2,w=3,L=4,N=5,D=6,F=7,R=[new S(E,0,!1),new S(C,0,!0),new S(T,1,!1),new S(w,1,!0),new S(L,2,!1),new S(N,2,!0),new S(D,3,!1),new S(F,3,!0)],U=[L,N,L,N,D,F,D,F],M=[N,N,N,N,F,F,F,F],j=[T,w,L,N,D,F,D,F],P=[w,w,N,N,F,F,F,F],K=[C,C,w,w,N,N,F,F],H=[E,C,T,w,T,w,T,w],_={DISPLAY:R[E],TEXT:R[T],SCRIPT:R[L],SCRIPTSCRIPT:R[D]},Z=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Y(Nt){for(var re=0;re<Z.length;re++)for(var ce=Z[re],fe=0;fe<ce.blocks.length;fe++){var Le=ce.blocks[fe];if(Nt>=Le[0]&&Nt<=Le[1])return ce.name}return null}var k=[];Z.forEach(function(Nt){return Nt.blocks.forEach(function(re){return k.push.apply(k,re)})});function Q(Nt){for(var re=0;re<k.length;re+=2)if(Nt>=k[re]&&Nt<=k[re+1])return!0;return!1}var X=80,he=function(re,ce){return"M95,"+(622+re+ce)+`
|
|
|
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`+re/2.075+" -"+re+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+re)+`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+re)+" "+ce+"h400000v"+(40+re)+"h-400000z"},te=function(re,ce){return"M263,"+(601+re+ce)+`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`+re/2.084+" -"+re+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+re)+`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+re)+" "+ce+"h400000v"+(40+re)+"h-400000z"},pe=function(re,ce){return"M983 "+(10+re+ce)+`
|
|
|
l`+re/3.13+" -"+re+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+re)+`
|
|
|
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+re)+" "+ce+"h400000v"+(40+re)+"h-400000z"},Se=function(re,ce){return"M424,"+(2398+re+ce)+`
|
|
|
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`+re/4.223+" -"+re+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+re)+`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+re)+" "+ce+`
|
|
|
h400000v`+(40+re)+"h-400000z"},we=function(re,ce){return"M473,"+(2713+re+ce)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+re/5.298+" -"+re+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+re)+`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+re)+" "+ce+"h400000v"+(40+re)+"H1017.7z"},We=function(re,ce,fe){var Le=fe-54-ce-re;return"M702 "+(re+ce)+"H400000"+(40+re)+`
|
|
|
H742v`+Le+`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 `+ce+"H400000v"+(40+re)+"H742z"},qe=function(re,ce,fe){ce=1e3*ce;var Le="";switch(re){case"sqrtMain":Le=he(ce,X);break;case"sqrtSize1":Le=te(ce,X);break;case"sqrtSize2":Le=pe(ce,X);break;case"sqrtSize3":Le=Se(ce,X);break;case"sqrtSize4":Le=we(ce,X);break;case"sqrtTall":Le=We(ce,X,fe)}return Le},yt={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},_e=function(){function Nt(ce){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=ce,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var re=Nt.prototype;return re.hasClass=function(fe){return y.contains(this.classes,fe)},re.toNode=function(){for(var fe=document.createDocumentFragment(),Le=0;Le<this.children.length;Le++)fe.appendChild(this.children[Le].toNode());return fe},re.toMarkup=function(){for(var fe="",Le=0;Le<this.children.length;Le++)fe+=this.children[Le].toMarkup();return fe},re.toText=function(){var fe=function(st){return st.toText()};return this.children.map(fe).join("")},Nt}(),je=function(re){return re.filter(function(ce){return ce}).join(" ")},Ct=function(re,ce,fe){if(this.classes=re||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=fe||{},ce){ce.style.isTight()&&this.classes.push("mtight");var Le=ce.getColor();Le&&(this.style.color=Le)}},ct=function(re){var ce=document.createElement(re);ce.className=je(this.classes);for(var fe in this.style)this.style.hasOwnProperty(fe)&&(ce.style[fe]=this.style[fe]);for(var Le in this.attributes)this.attributes.hasOwnProperty(Le)&&ce.setAttribute(Le,this.attributes[Le]);for(var st=0;st<this.children.length;st++)ce.appendChild(this.children[st].toNode());return ce},nt=function(re){var ce="<"+re;this.classes.length&&(ce+=' class="'+y.escape(je(this.classes))+'"');var fe="";for(var Le in this.style)this.style.hasOwnProperty(Le)&&(fe+=y.hyphenate(Le)+":"+this.style[Le]+";");fe&&(ce+=' style="'+y.escape(fe)+'"');for(var st in this.attributes)this.attributes.hasOwnProperty(st)&&(ce+=" "+st+'="'+y.escape(this.attributes[st])+'"');ce+=">";for(var Dt=0;Dt<this.children.length;Dt++)ce+=this.children[Dt].toMarkup();return ce+="</"+re+">",ce},bt=function(){function Nt(ce,fe,Le,st){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,Ct.call(this,ce,Le,st),this.children=fe||[]}var re=Nt.prototype;return re.setAttribute=function(fe,Le){this.attributes[fe]=Le},re.hasClass=function(fe){return y.contains(this.classes,fe)},re.toNode=function(){return ct.call(this,"span")},re.toMarkup=function(){return nt.call(this,"span")},Nt}(),dt=function(){function Nt(ce,fe,Le,st){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,Ct.call(this,fe,st),this.children=Le||[],this.setAttribute("href",ce)}var re=Nt.prototype;return re.setAttribute=function(fe,Le){this.attributes[fe]=Le},re.hasClass=function(fe){return y.contains(this.classes,fe)},re.toNode=function(){return ct.call(this,"a")},re.toMarkup=function(){return nt.call(this,"a")},Nt}(),vt=function(){function Nt(ce,fe,Le){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=fe,this.src=ce,this.classes=["mord"],this.style=Le}var re=Nt.prototype;return re.hasClass=function(fe){return y.contains(this.classes,fe)},re.toNode=function(){var fe=document.createElement("img");fe.src=this.src,fe.alt=this.alt,fe.className="mord";for(var Le in this.style)this.style.hasOwnProperty(Le)&&(fe.style[Le]=this.style[Le]);return fe},re.toMarkup=function(){var fe="<img src='"+this.src+" 'alt='"+this.alt+"' ",Le="";for(var st in this.style)this.style.hasOwnProperty(st)&&(Le+=y.hyphenate(st)+":"+this.style[st]+";");return Le&&(fe+=' style="'+y.escape(Le)+'"'),fe+="'/>",fe},Nt}(),Qe={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},mt=function(){function Nt(ce,fe,Le,st,Dt,cr,mr,Rr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=ce,this.height=fe||0,this.depth=Le||0,this.italic=st||0,this.skew=Dt||0,this.width=cr||0,this.classes=mr||[],this.style=Rr||{},this.maxFontSize=0;var qr=Y(this.text.charCodeAt(0));qr&&this.classes.push(qr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Qe[this.text])}var re=Nt.prototype;return re.hasClass=function(fe){return y.contains(this.classes,fe)},re.toNode=function(){var fe=document.createTextNode(this.text),Le=null;this.italic>0&&(Le=document.createElement("span"),Le.style.marginRight=this.italic+"em"),this.classes.length>0&&(Le=Le||document.createElement("span"),Le.className=je(this.classes));for(var st in this.style)this.style.hasOwnProperty(st)&&(Le=Le||document.createElement("span"),Le.style[st]=this.style[st]);return Le?(Le.appendChild(fe),Le):fe},re.toMarkup=function(){var fe=!1,Le="<span";this.classes.length&&(fe=!0,Le+=' class="',Le+=y.escape(je(this.classes)),Le+='"');var st="";this.italic>0&&(st+="margin-right:"+this.italic+"em;");for(var Dt in this.style)this.style.hasOwnProperty(Dt)&&(st+=y.hyphenate(Dt)+":"+this.style[Dt]+";");st&&(fe=!0,Le+=' style="'+y.escape(st)+'"');var cr=y.escape(this.text);return fe?(Le+=">",Le+=cr,Le+="</span>",Le):cr},Nt}(),Pe=function(){function Nt(ce,fe){this.children=void 0,this.attributes=void 0,this.children=ce||[],this.attributes=fe||{}}var re=Nt.prototype;return re.toNode=function(){var fe="http://www.w3.org/2000/svg",Le=document.createElementNS(fe,"svg");for(var st in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,st)&&Le.setAttribute(st,this.attributes[st]);for(var Dt=0;Dt<this.children.length;Dt++)Le.appendChild(this.children[Dt].toNode());return Le},re.toMarkup=function(){var fe="<svg";for(var Le in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Le)&&(fe+=" "+Le+"='"+this.attributes[Le]+"'");fe+=">";for(var st=0;st<this.children.length;st++)fe+=this.children[st].toMarkup();return fe+="</svg>",fe},Nt}(),De=function(){function Nt(ce,fe){this.pathName=void 0,this.alternate=void 0,this.pathName=ce,this.alternate=fe}var re=Nt.prototype;return re.toNode=function(){var fe="http://www.w3.org/2000/svg",Le=document.createElementNS(fe,"path");return this.alternate?Le.setAttribute("d",this.alternate):Le.setAttribute("d",yt[this.pathName]),Le},re.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+yt[this.pathName]+"'/>"},Nt}(),Ie=function(){function Nt(ce){this.attributes=void 0,this.attributes=ce||{}}var re=Nt.prototype;return re.toNode=function(){var fe="http://www.w3.org/2000/svg",Le=document.createElementNS(fe,"line");for(var st in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,st)&&Le.setAttribute(st,this.attributes[st]);return Le},re.toMarkup=function(){var fe="<line";for(var Le in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Le)&&(fe+=" "+Le+"='"+this.attributes[Le]+"'");return fe+="/>",fe},Nt}();function ot(Nt){if(Nt instanceof mt)return Nt;throw new Error("Expected symbolNode but got "+String(Nt)+".")}function wt(Nt){if(Nt instanceof bt)return Nt;throw new Error("Expected span<HtmlDomNode> but got "+String(Nt)+".")}var Bt={"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]}},_t={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]},Ue={\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 zt(Nt,re){Bt[Nt]=re}function xt(Nt,re,ce){if(!Bt[re])throw new Error("Font metrics not found for font: "+re+".");var fe=Nt.charCodeAt(0),Le=Bt[re][fe];if(!Le&&Nt[0]in Ue&&(fe=Ue[Nt[0]].charCodeAt(0),Le=Bt[re][fe]),!Le&&ce==="text"&&(Q(fe)&&(Le=Bt[re][77])),Le)return{depth:Le[0],height:Le[1],italic:Le[2],skew:Le[3],width:Le[4]}}var Pt={};function Ke(Nt){var re;if(Nt>=5?re=0:Nt>=3?re=1:re=2,!Pt[re]){var ce=Pt[re]={cssEmPerMu:_t.quad[re]/18};for(var fe in _t)_t.hasOwnProperty(fe)&&(ce[fe]=_t[fe][re])}return Pt[re]}var Ye={bin:1,close:1,inner:1,open:1,punct:1,rel:1},$e={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ut={math:{},text:{}},et=ut;function oe(Nt,re,ce,fe,Le,st){ut[Nt][Le]={font:re,group:ce,replace:fe},st&&fe&&(ut[Nt][fe]=ut[Nt][Le])}var me="math",it="text",Be="main",ht="ams",Mr="accent-token",Lt="bin",or="close",Qt="inner",qt="mathord",hr="op-token",Gt="open",de="punct",ue="rel",se="spacing",ae="textord";oe(me,Be,ue,"\u2261","\\equiv",!0),oe(me,Be,ue,"\u227A","\\prec",!0),oe(me,Be,ue,"\u227B","\\succ",!0),oe(me,Be,ue,"\u223C","\\sim",!0),oe(me,Be,ue,"\u22A5","\\perp"),oe(me,Be,ue,"\u2AAF","\\preceq",!0),oe(me,Be,ue,"\u2AB0","\\succeq",!0),oe(me,Be,ue,"\u2243","\\simeq",!0),oe(me,Be,ue,"\u2223","\\mid",!0),oe(me,Be,ue,"\u226A","\\ll",!0),oe(me,Be,ue,"\u226B","\\gg",!0),oe(me,Be,ue,"\u224D","\\asymp",!0),oe(me,Be,ue,"\u2225","\\parallel"),oe(me,Be,ue,"\u22C8","\\bowtie",!0),oe(me,Be,ue,"\u2323","\\smile",!0),oe(me,Be,ue,"\u2291","\\sqsubseteq",!0),oe(me,Be,ue,"\u2292","\\sqsupseteq",!0),oe(me,Be,ue,"\u2250","\\doteq",!0),oe(me,Be,ue,"\u2322","\\frown",!0),oe(me,Be,ue,"\u220B","\\ni",!0),oe(me,Be,ue,"\u221D","\\propto",!0),oe(me,Be,ue,"\u22A2","\\vdash",!0),oe(me,Be,ue,"\u22A3","\\dashv",!0),oe(me,Be,ue,"\u220B","\\owns"),oe(me,Be,de,".","\\ldotp"),oe(me,Be,de,"\u22C5","\\cdotp"),oe(me,Be,ae,"#","\\#"),oe(it,Be,ae,"#","\\#"),oe(me,Be,ae,"&","\\&"),oe(it,Be,ae,"&","\\&"),oe(me,Be,ae,"\u2135","\\aleph",!0),oe(me,Be,ae,"\u2200","\\forall",!0),oe(me,Be,ae,"\u210F","\\hbar",!0),oe(me,Be,ae,"\u2203","\\exists",!0),oe(me,Be,ae,"\u2207","\\nabla",!0),oe(me,Be,ae,"\u266D","\\flat",!0),oe(me,Be,ae,"\u2113","\\ell",!0),oe(me,Be,ae,"\u266E","\\natural",!0),oe(me,Be,ae,"\u2663","\\clubsuit",!0),oe(me,Be,ae,"\u2118","\\wp",!0),oe(me,Be,ae,"\u266F","\\sharp",!0),oe(me,Be,ae,"\u2662","\\diamondsuit",!0),oe(me,Be,ae,"\u211C","\\Re",!0),oe(me,Be,ae,"\u2661","\\heartsuit",!0),oe(me,Be,ae,"\u2111","\\Im",!0),oe(me,Be,ae,"\u2660","\\spadesuit",!0),oe(it,Be,ae,"\xA7","\\S",!0),oe(it,Be,ae,"\xB6","\\P",!0),oe(me,Be,ae,"\u2020","\\dag"),oe(it,Be,ae,"\u2020","\\dag"),oe(it,Be,ae,"\u2020","\\textdagger"),oe(me,Be,ae,"\u2021","\\ddag"),oe(it,Be,ae,"\u2021","\\ddag"),oe(it,Be,ae,"\u2021","\\textdaggerdbl"),oe(me,Be,or,"\u23B1","\\rmoustache",!0),oe(me,Be,Gt,"\u23B0","\\lmoustache",!0),oe(me,Be,or,"\u27EF","\\rgroup",!0),oe(me,Be,Gt,"\u27EE","\\lgroup",!0),oe(me,Be,Lt,"\u2213","\\mp",!0),oe(me,Be,Lt,"\u2296","\\ominus",!0),oe(me,Be,Lt,"\u228E","\\uplus",!0),oe(me,Be,Lt,"\u2293","\\sqcap",!0),oe(me,Be,Lt,"\u2217","\\ast"),oe(me,Be,Lt,"\u2294","\\sqcup",!0),oe(me,Be,Lt,"\u25EF","\\bigcirc"),oe(me,Be,Lt,"\u2219","\\bullet"),oe(me,Be,Lt,"\u2021","\\ddagger"),oe(me,Be,Lt,"\u2240","\\wr",!0),oe(me,Be,Lt,"\u2A3F","\\amalg"),oe(me,Be,Lt,"&","\\And"),oe(me,Be,ue,"\u27F5","\\longleftarrow",!0),oe(me,Be,ue,"\u21D0","\\Leftarrow",!0),oe(me,Be,ue,"\u27F8","\\Longleftarrow",!0),oe(me,Be,ue,"\u27F6","\\longrightarrow",!0),oe(me,Be,ue,"\u21D2","\\Rightarrow",!0),oe(me,Be,ue,"\u27F9","\\Longrightarrow",!0),oe(me,Be,ue,"\u2194","\\leftrightarrow",!0),oe(me,Be,ue,"\u27F7","\\longleftrightarrow",!0),oe(me,Be,ue,"\u21D4","\\Leftrightarrow",!0),oe(me,Be,ue,"\u27FA","\\Longleftrightarrow",!0),oe(me,Be,ue,"\u21A6","\\mapsto",!0),oe(me,Be,ue,"\u27FC","\\longmapsto",!0),oe(me,Be,ue,"\u2197","\\nearrow",!0),oe(me,Be,ue,"\u21A9","\\hookleftarrow",!0),oe(me,Be,ue,"\u21AA","\\hookrightarrow",!0),oe(me,Be,ue,"\u2198","\\searrow",!0),oe(me,Be,ue,"\u21BC","\\leftharpoonup",!0),oe(me,Be,ue,"\u21C0","\\rightharpoonup",!0),oe(me,Be,ue,"\u2199","\\swarrow",!0),oe(me,Be,ue,"\u21BD","\\leftharpoondown",!0),oe(me,Be,ue,"\u21C1","\\rightharpoondown",!0),oe(me,Be,ue,"\u2196","\\nwarrow",!0),oe(me,Be,ue,"\u21CC","\\rightleftharpoons",!0),oe(me,ht,ue,"\u226E","\\nless",!0),oe(me,ht,ue,"\uE010","\\@nleqslant"),oe(me,ht,ue,"\uE011","\\@nleqq"),oe(me,ht,ue,"\u2A87","\\lneq",!0),oe(me,ht,ue,"\u2268","\\lneqq",!0),oe(me,ht,ue,"\uE00C","\\@lvertneqq"),oe(me,ht,ue,"\u22E6","\\lnsim",!0),oe(me,ht,ue,"\u2A89","\\lnapprox",!0),oe(me,ht,ue,"\u2280","\\nprec",!0),oe(me,ht,ue,"\u22E0","\\npreceq",!0),oe(me,ht,ue,"\u22E8","\\precnsim",!0),oe(me,ht,ue,"\u2AB9","\\precnapprox",!0),oe(me,ht,ue,"\u2241","\\nsim",!0),oe(me,ht,ue,"\uE006","\\@nshortmid"),oe(me,ht,ue,"\u2224","\\nmid",!0),oe(me,ht,ue,"\u22AC","\\nvdash",!0),oe(me,ht,ue,"\u22AD","\\nvDash",!0),oe(me,ht,ue,"\u22EA","\\ntriangleleft"),oe(me,ht,ue,"\u22EC","\\ntrianglelefteq",!0),oe(me,ht,ue,"\u228A","\\subsetneq",!0),oe(me,ht,ue,"\uE01A","\\@varsubsetneq"),oe(me,ht,ue,"\u2ACB","\\subsetneqq",!0),oe(me,ht,ue,"\uE017","\\@varsubsetneqq"),oe(me,ht,ue,"\u226F","\\ngtr",!0),oe(me,ht,ue,"\uE00F","\\@ngeqslant"),oe(me,ht,ue,"\uE00E","\\@ngeqq"),oe(me,ht,ue,"\u2A88","\\gneq",!0),oe(me,ht,ue,"\u2269","\\gneqq",!0),oe(me,ht,ue,"\uE00D","\\@gvertneqq"),oe(me,ht,ue,"\u22E7","\\gnsim",!0),oe(me,ht,ue,"\u2A8A","\\gnapprox",!0),oe(me,ht,ue,"\u2281","\\nsucc",!0),oe(me,ht,ue,"\u22E1","\\nsucceq",!0),oe(me,ht,ue,"\u22E9","\\succnsim",!0),oe(me,ht,ue,"\u2ABA","\\succnapprox",!0),oe(me,ht,ue,"\u2246","\\ncong",!0),oe(me,ht,ue,"\uE007","\\@nshortparallel"),oe(me,ht,ue,"\u2226","\\nparallel",!0),oe(me,ht,ue,"\u22AF","\\nVDash",!0),oe(me,ht,ue,"\u22EB","\\ntriangleright"),oe(me,ht,ue,"\u22ED","\\ntrianglerighteq",!0),oe(me,ht,ue,"\uE018","\\@nsupseteqq"),oe(me,ht,ue,"\u228B","\\supsetneq",!0),oe(me,ht,ue,"\uE01B","\\@varsupsetneq"),oe(me,ht,ue,"\u2ACC","\\supsetneqq",!0),oe(me,ht,ue,"\uE019","\\@varsupsetneqq"),oe(me,ht,ue,"\u22AE","\\nVdash",!0),oe(me,ht,ue,"\u2AB5","\\precneqq",!0),oe(me,ht,ue,"\u2AB6","\\succneqq",!0),oe(me,ht,ue,"\uE016","\\@nsubseteqq"),oe(me,ht,Lt,"\u22B4","\\unlhd"),oe(me,ht,Lt,"\u22B5","\\unrhd"),oe(me,ht,ue,"\u219A","\\nleftarrow",!0),oe(me,ht,ue,"\u219B","\\nrightarrow",!0),oe(me,ht,ue,"\u21CD","\\nLeftarrow",!0),oe(me,ht,ue,"\u21CF","\\nRightarrow",!0),oe(me,ht,ue,"\u21AE","\\nleftrightarrow",!0),oe(me,ht,ue,"\u21CE","\\nLeftrightarrow",!0),oe(me,ht,ue,"\u25B3","\\vartriangle"),oe(me,ht,ae,"\u210F","\\hslash"),oe(me,ht,ae,"\u25BD","\\triangledown"),oe(me,ht,ae,"\u25CA","\\lozenge"),oe(me,ht,ae,"\u24C8","\\circledS"),oe(me,ht,ae,"\xAE","\\circledR"),oe(it,ht,ae,"\xAE","\\circledR"),oe(me,ht,ae,"\u2221","\\measuredangle",!0),oe(me,ht,ae,"\u2204","\\nexists"),oe(me,ht,ae,"\u2127","\\mho"),oe(me,ht,ae,"\u2132","\\Finv",!0),oe(me,ht,ae,"\u2141","\\Game",!0),oe(me,ht,ae,"\u2035","\\backprime"),oe(me,ht,ae,"\u25B2","\\blacktriangle"),oe(me,ht,ae,"\u25BC","\\blacktriangledown"),oe(me,ht,ae,"\u25A0","\\blacksquare"),oe(me,ht,ae,"\u29EB","\\blacklozenge"),oe(me,ht,ae,"\u2605","\\bigstar"),oe(me,ht,ae,"\u2222","\\sphericalangle",!0),oe(me,ht,ae,"\u2201","\\complement",!0),oe(me,ht,ae,"\xF0","\\eth",!0),oe(me,ht,ae,"\u2571","\\diagup"),oe(me,ht,ae,"\u2572","\\diagdown"),oe(me,ht,ae,"\u25A1","\\square"),oe(me,ht,ae,"\u25A1","\\Box"),oe(me,ht,ae,"\u25CA","\\Diamond"),oe(me,ht,ae,"\xA5","\\yen",!0),oe(it,ht,ae,"\xA5","\\yen",!0),oe(me,ht,ae,"\u2713","\\checkmark",!0),oe(it,ht,ae,"\u2713","\\checkmark"),oe(me,ht,ae,"\u2136","\\beth",!0),oe(me,ht,ae,"\u2138","\\daleth",!0),oe(me,ht,ae,"\u2137","\\gimel",!0),oe(me,ht,ae,"\u03DD","\\digamma",!0),oe(me,ht,ae,"\u03F0","\\varkappa"),oe(me,ht,Gt,"\u250C","\\ulcorner",!0),oe(me,ht,or,"\u2510","\\urcorner",!0),oe(me,ht,Gt,"\u2514","\\llcorner",!0),oe(me,ht,or,"\u2518","\\lrcorner",!0),oe(me,ht,ue,"\u2266","\\leqq",!0),oe(me,ht,ue,"\u2A7D","\\leqslant",!0),oe(me,ht,ue,"\u2A95","\\eqslantless",!0),oe(me,ht,ue,"\u2272","\\lesssim",!0),oe(me,ht,ue,"\u2A85","\\lessapprox",!0),oe(me,ht,ue,"\u224A","\\approxeq",!0),oe(me,ht,Lt,"\u22D6","\\lessdot"),oe(me,ht,ue,"\u22D8","\\lll",!0),oe(me,ht,ue,"\u2276","\\lessgtr",!0),oe(me,ht,ue,"\u22DA","\\lesseqgtr",!0),oe(me,ht,ue,"\u2A8B","\\lesseqqgtr",!0),oe(me,ht,ue,"\u2251","\\doteqdot"),oe(me,ht,ue,"\u2253","\\risingdotseq",!0),oe(me,ht,ue,"\u2252","\\fallingdotseq",!0),oe(me,ht,ue,"\u223D","\\backsim",!0),oe(me,ht,ue,"\u22CD","\\backsimeq",!0),oe(me,ht,ue,"\u2AC5","\\subseteqq",!0),oe(me,ht,ue,"\u22D0","\\Subset",!0),oe(me,ht,ue,"\u228F","\\sqsubset",!0),oe(me,ht,ue,"\u227C","\\preccurlyeq",!0),oe(me,ht,ue,"\u22DE","\\curlyeqprec",!0),oe(me,ht,ue,"\u227E","\\precsim",!0),oe(me,ht,ue,"\u2AB7","\\precapprox",!0),oe(me,ht,ue,"\u22B2","\\vartriangleleft"),oe(me,ht,ue,"\u22B4","\\trianglelefteq"),oe(me,ht,ue,"\u22A8","\\vDash",!0),oe(me,ht,ue,"\u22AA","\\Vvdash",!0),oe(me,ht,ue,"\u2323","\\smallsmile"),oe(me,ht,ue,"\u2322","\\smallfrown"),oe(me,ht,ue,"\u224F","\\bumpeq",!0),oe(me,ht,ue,"\u224E","\\Bumpeq",!0),oe(me,ht,ue,"\u2267","\\geqq",!0),oe(me,ht,ue,"\u2A7E","\\geqslant",!0),oe(me,ht,ue,"\u2A96","\\eqslantgtr",!0),oe(me,ht,ue,"\u2273","\\gtrsim",!0),oe(me,ht,ue,"\u2A86","\\gtrapprox",!0),oe(me,ht,Lt,"\u22D7","\\gtrdot"),oe(me,ht,ue,"\u22D9","\\ggg",!0),oe(me,ht,ue,"\u2277","\\gtrless",!0),oe(me,ht,ue,"\u22DB","\\gtreqless",!0),oe(me,ht,ue,"\u2A8C","\\gtreqqless",!0),oe(me,ht,ue,"\u2256","\\eqcirc",!0),oe(me,ht,ue,"\u2257","\\circeq",!0),oe(me,ht,ue,"\u225C","\\triangleq",!0),oe(me,ht,ue,"\u223C","\\thicksim"),oe(me,ht,ue,"\u2248","\\thickapprox"),oe(me,ht,ue,"\u2AC6","\\supseteqq",!0),oe(me,ht,ue,"\u22D1","\\Supset",!0),oe(me,ht,ue,"\u2290","\\sqsupset",!0),oe(me,ht,ue,"\u227D","\\succcurlyeq",!0),oe(me,ht,ue,"\u22DF","\\curlyeqsucc",!0),oe(me,ht,ue,"\u227F","\\succsim",!0),oe(me,ht,ue,"\u2AB8","\\succapprox",!0),oe(me,ht,ue,"\u22B3","\\vartriangleright"),oe(me,ht,ue,"\u22B5","\\trianglerighteq"),oe(me,ht,ue,"\u22A9","\\Vdash",!0),oe(me,ht,ue,"\u2223","\\shortmid"),oe(me,ht,ue,"\u2225","\\shortparallel"),oe(me,ht,ue,"\u226C","\\between",!0),oe(me,ht,ue,"\u22D4","\\pitchfork",!0),oe(me,ht,ue,"\u221D","\\varpropto"),oe(me,ht,ue,"\u25C0","\\blacktriangleleft"),oe(me,ht,ue,"\u2234","\\therefore",!0),oe(me,ht,ue,"\u220D","\\backepsilon"),oe(me,ht,ue,"\u25B6","\\blacktriangleright"),oe(me,ht,ue,"\u2235","\\because",!0),oe(me,ht,ue,"\u22D8","\\llless"),oe(me,ht,ue,"\u22D9","\\gggtr"),oe(me,ht,Lt,"\u22B2","\\lhd"),oe(me,ht,Lt,"\u22B3","\\rhd"),oe(me,ht,ue,"\u2242","\\eqsim",!0),oe(me,Be,ue,"\u22C8","\\Join"),oe(me,ht,ue,"\u2251","\\Doteq",!0),oe(me,ht,Lt,"\u2214","\\dotplus",!0),oe(me,ht,Lt,"\u2216","\\smallsetminus"),oe(me,ht,Lt,"\u22D2","\\Cap",!0),oe(me,ht,Lt,"\u22D3","\\Cup",!0),oe(me,ht,Lt,"\u2A5E","\\doublebarwedge",!0),oe(me,ht,Lt,"\u229F","\\boxminus",!0),oe(me,ht,Lt,"\u229E","\\boxplus",!0),oe(me,ht,Lt,"\u22C7","\\divideontimes",!0),oe(me,ht,Lt,"\u22C9","\\ltimes",!0),oe(me,ht,Lt,"\u22CA","\\rtimes",!0),oe(me,ht,Lt,"\u22CB","\\leftthreetimes",!0),oe(me,ht,Lt,"\u22CC","\\rightthreetimes",!0),oe(me,ht,Lt,"\u22CF","\\curlywedge",!0),oe(me,ht,Lt,"\u22CE","\\curlyvee",!0),oe(me,ht,Lt,"\u229D","\\circleddash",!0),oe(me,ht,Lt,"\u229B","\\circledast",!0),oe(me,ht,Lt,"\u22C5","\\centerdot"),oe(me,ht,Lt,"\u22BA","\\intercal",!0),oe(me,ht,Lt,"\u22D2","\\doublecap"),oe(me,ht,Lt,"\u22D3","\\doublecup"),oe(me,ht,Lt,"\u22A0","\\boxtimes",!0),oe(me,ht,ue,"\u21E2","\\dashrightarrow",!0),oe(me,ht,ue,"\u21E0","\\dashleftarrow",!0),oe(me,ht,ue,"\u21C7","\\leftleftarrows",!0),oe(me,ht,ue,"\u21C6","\\leftrightarrows",!0),oe(me,ht,ue,"\u21DA","\\Lleftarrow",!0),oe(me,ht,ue,"\u219E","\\twoheadleftarrow",!0),oe(me,ht,ue,"\u21A2","\\leftarrowtail",!0),oe(me,ht,ue,"\u21AB","\\looparrowleft",!0),oe(me,ht,ue,"\u21CB","\\leftrightharpoons",!0),oe(me,ht,ue,"\u21B6","\\curvearrowleft",!0),oe(me,ht,ue,"\u21BA","\\circlearrowleft",!0),oe(me,ht,ue,"\u21B0","\\Lsh",!0),oe(me,ht,ue,"\u21C8","\\upuparrows",!0),oe(me,ht,ue,"\u21BF","\\upharpoonleft",!0),oe(me,ht,ue,"\u21C3","\\downharpoonleft",!0),oe(me,ht,ue,"\u22B8","\\multimap",!0),oe(me,ht,ue,"\u21AD","\\leftrightsquigarrow",!0),oe(me,ht,ue,"\u21C9","\\rightrightarrows",!0),oe(me,ht,ue,"\u21C4","\\rightleftarrows",!0),oe(me,ht,ue,"\u21A0","\\twoheadrightarrow",!0),oe(me,ht,ue,"\u21A3","\\rightarrowtail",!0),oe(me,ht,ue,"\u21AC","\\looparrowright",!0),oe(me,ht,ue,"\u21B7","\\curvearrowright",!0),oe(me,ht,ue,"\u21BB","\\circlearrowright",!0),oe(me,ht,ue,"\u21B1","\\Rsh",!0),oe(me,ht,ue,"\u21CA","\\downdownarrows",!0),oe(me,ht,ue,"\u21BE","\\upharpoonright",!0),oe(me,ht,ue,"\u21C2","\\downharpoonright",!0),oe(me,ht,ue,"\u21DD","\\rightsquigarrow",!0),oe(me,ht,ue,"\u21DD","\\leadsto"),oe(me,ht,ue,"\u21DB","\\Rrightarrow",!0),oe(me,ht,ue,"\u21BE","\\restriction"),oe(me,Be,ae,"\u2018","`"),oe(me,Be,ae,"$","\\$"),oe(it,Be,ae,"$","\\$"),oe(it,Be,ae,"$","\\textdollar"),oe(me,Be,ae,"%","\\%"),oe(it,Be,ae,"%","\\%"),oe(me,Be,ae,"_","\\_"),oe(it,Be,ae,"_","\\_"),oe(it,Be,ae,"_","\\textunderscore"),oe(me,Be,ae,"\u2220","\\angle",!0),oe(me,Be,ae,"\u221E","\\infty",!0),oe(me,Be,ae,"\u2032","\\prime"),oe(me,Be,ae,"\u25B3","\\triangle"),oe(me,Be,ae,"\u0393","\\Gamma",!0),oe(me,Be,ae,"\u0394","\\Delta",!0),oe(me,Be,ae,"\u0398","\\Theta",!0),oe(me,Be,ae,"\u039B","\\Lambda",!0),oe(me,Be,ae,"\u039E","\\Xi",!0),oe(me,Be,ae,"\u03A0","\\Pi",!0),oe(me,Be,ae,"\u03A3","\\Sigma",!0),oe(me,Be,ae,"\u03A5","\\Upsilon",!0),oe(me,Be,ae,"\u03A6","\\Phi",!0),oe(me,Be,ae,"\u03A8","\\Psi",!0),oe(me,Be,ae,"\u03A9","\\Omega",!0),oe(me,Be,ae,"A","\u0391"),oe(me,Be,ae,"B","\u0392"),oe(me,Be,ae,"E","\u0395"),oe(me,Be,ae,"Z","\u0396"),oe(me,Be,ae,"H","\u0397"),oe(me,Be,ae,"I","\u0399"),oe(me,Be,ae,"K","\u039A"),oe(me,Be,ae,"M","\u039C"),oe(me,Be,ae,"N","\u039D"),oe(me,Be,ae,"O","\u039F"),oe(me,Be,ae,"P","\u03A1"),oe(me,Be,ae,"T","\u03A4"),oe(me,Be,ae,"X","\u03A7"),oe(me,Be,ae,"\xAC","\\neg",!0),oe(me,Be,ae,"\xAC","\\lnot"),oe(me,Be,ae,"\u22A4","\\top"),oe(me,Be,ae,"\u22A5","\\bot"),oe(me,Be,ae,"\u2205","\\emptyset"),oe(me,ht,ae,"\u2205","\\varnothing"),oe(me,Be,qt,"\u03B1","\\alpha",!0),oe(me,Be,qt,"\u03B2","\\beta",!0),oe(me,Be,qt,"\u03B3","\\gamma",!0),oe(me,Be,qt,"\u03B4","\\delta",!0),oe(me,Be,qt,"\u03F5","\\epsilon",!0),oe(me,Be,qt,"\u03B6","\\zeta",!0),oe(me,Be,qt,"\u03B7","\\eta",!0),oe(me,Be,qt,"\u03B8","\\theta",!0),oe(me,Be,qt,"\u03B9","\\iota",!0),oe(me,Be,qt,"\u03BA","\\kappa",!0),oe(me,Be,qt,"\u03BB","\\lambda",!0),oe(me,Be,qt,"\u03BC","\\mu",!0),oe(me,Be,qt,"\u03BD","\\nu",!0),oe(me,Be,qt,"\u03BE","\\xi",!0),oe(me,Be,qt,"\u03BF","\\omicron",!0),oe(me,Be,qt,"\u03C0","\\pi",!0),oe(me,Be,qt,"\u03C1","\\rho",!0),oe(me,Be,qt,"\u03C3","\\sigma",!0),oe(me,Be,qt,"\u03C4","\\tau",!0),oe(me,Be,qt,"\u03C5","\\upsilon",!0),oe(me,Be,qt,"\u03D5","\\phi",!0),oe(me,Be,qt,"\u03C7","\\chi",!0),oe(me,Be,qt,"\u03C8","\\psi",!0),oe(me,Be,qt,"\u03C9","\\omega",!0),oe(me,Be,qt,"\u03B5","\\varepsilon",!0),oe(me,Be,qt,"\u03D1","\\vartheta",!0),oe(me,Be,qt,"\u03D6","\\varpi",!0),oe(me,Be,qt,"\u03F1","\\varrho",!0),oe(me,Be,qt,"\u03C2","\\varsigma",!0),oe(me,Be,qt,"\u03C6","\\varphi",!0),oe(me,Be,Lt,"\u2217","*"),oe(me,Be,Lt,"+","+"),oe(me,Be,Lt,"\u2212","-"),oe(me,Be,Lt,"\u22C5","\\cdot",!0),oe(me,Be,Lt,"\u2218","\\circ"),oe(me,Be,Lt,"\xF7","\\div",!0),oe(me,Be,Lt,"\xB1","\\pm",!0),oe(me,Be,Lt,"\xD7","\\times",!0),oe(me,Be,Lt,"\u2229","\\cap",!0),oe(me,Be,Lt,"\u222A","\\cup",!0),oe(me,Be,Lt,"\u2216","\\setminus"),oe(me,Be,Lt,"\u2227","\\land"),oe(me,Be,Lt,"\u2228","\\lor"),oe(me,Be,Lt,"\u2227","\\wedge",!0),oe(me,Be,Lt,"\u2228","\\vee",!0),oe(me,Be,ae,"\u221A","\\surd"),oe(me,Be,Gt,"(","("),oe(me,Be,Gt,"[","["),oe(me,Be,Gt,"\u27E8","\\langle",!0),oe(me,Be,Gt,"\u2223","\\lvert"),oe(me,Be,Gt,"\u2225","\\lVert"),oe(me,Be,or,")",")"),oe(me,Be,or,"]","]"),oe(me,Be,or,"?","?"),oe(me,Be,or,"!","!"),oe(me,Be,or,"\u27E9","\\rangle",!0),oe(me,Be,or,"\u2223","\\rvert"),oe(me,Be,or,"\u2225","\\rVert"),oe(me,Be,ue,"=","="),oe(me,Be,ue,"<","<"),oe(me,Be,ue,">",">"),oe(me,Be,ue,":",":"),oe(me,Be,ue,"\u2248","\\approx",!0),oe(me,Be,ue,"\u2245","\\cong",!0),oe(me,Be,ue,"\u2265","\\ge"),oe(me,Be,ue,"\u2265","\\geq",!0),oe(me,Be,ue,"\u2190","\\gets"),oe(me,Be,ue,">","\\gt"),oe(me,Be,ue,"\u2208","\\in",!0),oe(me,Be,ue,"\uE020","\\@not"),oe(me,Be,ue,"\u2282","\\subset",!0),oe(me,Be,ue,"\u2283","\\supset",!0),oe(me,Be,ue,"\u2286","\\subseteq",!0),oe(me,Be,ue,"\u2287","\\supseteq",!0),oe(me,ht,ue,"\u2288","\\nsubseteq",!0),oe(me,ht,ue,"\u2289","\\nsupseteq",!0),oe(me,Be,ue,"\u22A8","\\models"),oe(me,Be,ue,"\u2190","\\leftarrow",!0),oe(me,Be,ue,"\u2264","\\le"),oe(me,Be,ue,"\u2264","\\leq",!0),oe(me,Be,ue,"<","\\lt"),oe(me,Be,ue,"\u2192","\\rightarrow",!0),oe(me,Be,ue,"\u2192","\\to"),oe(me,ht,ue,"\u2271","\\ngeq",!0),oe(me,ht,ue,"\u2270","\\nleq",!0),oe(me,Be,se,"\xA0","\\ "),oe(me,Be,se,"\xA0","~"),oe(me,Be,se,"\xA0","\\space"),oe(me,Be,se,"\xA0","\\nobreakspace"),oe(it,Be,se,"\xA0","\\ "),oe(it,Be,se,"\xA0","~"),oe(it,Be,se,"\xA0","\\space"),oe(it,Be,se,"\xA0","\\nobreakspace"),oe(me,Be,se,null,"\\nobreak"),oe(me,Be,se,null,"\\allowbreak"),oe(me,Be,de,",",","),oe(me,Be,de,";",";"),oe(me,ht,Lt,"\u22BC","\\barwedge",!0),oe(me,ht,Lt,"\u22BB","\\veebar",!0),oe(me,Be,Lt,"\u2299","\\odot",!0),oe(me,Be,Lt,"\u2295","\\oplus",!0),oe(me,Be,Lt,"\u2297","\\otimes",!0),oe(me,Be,ae,"\u2202","\\partial",!0),oe(me,Be,Lt,"\u2298","\\oslash",!0),oe(me,ht,Lt,"\u229A","\\circledcirc",!0),oe(me,ht,Lt,"\u22A1","\\boxdot",!0),oe(me,Be,Lt,"\u25B3","\\bigtriangleup"),oe(me,Be,Lt,"\u25BD","\\bigtriangledown"),oe(me,Be,Lt,"\u2020","\\dagger"),oe(me,Be,Lt,"\u22C4","\\diamond"),oe(me,Be,Lt,"\u22C6","\\star"),oe(me,Be,Lt,"\u25C3","\\triangleleft"),oe(me,Be,Lt,"\u25B9","\\triangleright"),oe(me,Be,Gt,"{","\\{"),oe(it,Be,ae,"{","\\{"),oe(it,Be,ae,"{","\\textbraceleft"),oe(me,Be,or,"}","\\}"),oe(it,Be,ae,"}","\\}"),oe(it,Be,ae,"}","\\textbraceright"),oe(me,Be,Gt,"{","\\lbrace"),oe(me,Be,or,"}","\\rbrace"),oe(me,Be,Gt,"[","\\lbrack"),oe(it,Be,ae,"[","\\lbrack"),oe(me,Be,or,"]","\\rbrack"),oe(it,Be,ae,"]","\\rbrack"),oe(me,Be,Gt,"(","\\lparen"),oe(me,Be,or,")","\\rparen"),oe(it,Be,ae,"<","\\textless"),oe(it,Be,ae,">","\\textgreater"),oe(me,Be,Gt,"\u230A","\\lfloor",!0),oe(me,Be,or,"\u230B","\\rfloor",!0),oe(me,Be,Gt,"\u2308","\\lceil",!0),oe(me,Be,or,"\u2309","\\rceil",!0),oe(me,Be,ae,"\\","\\backslash"),oe(me,Be,ae,"\u2223","|"),oe(me,Be,ae,"\u2223","\\vert"),oe(it,Be,ae,"|","\\textbar"),oe(me,Be,ae,"\u2225","\\|"),oe(me,Be,ae,"\u2225","\\Vert"),oe(it,Be,ae,"\u2225","\\textbardbl"),oe(it,Be,ae,"~","\\textasciitilde"),oe(it,Be,ae,"\\","\\textbackslash"),oe(it,Be,ae,"^","\\textasciicircum"),oe(me,Be,ue,"\u2191","\\uparrow",!0),oe(me,Be,ue,"\u21D1","\\Uparrow",!0),oe(me,Be,ue,"\u2193","\\downarrow",!0),oe(me,Be,ue,"\u21D3","\\Downarrow",!0),oe(me,Be,ue,"\u2195","\\updownarrow",!0),oe(me,Be,ue,"\u21D5","\\Updownarrow",!0),oe(me,Be,hr,"\u2210","\\coprod"),oe(me,Be,hr,"\u22C1","\\bigvee"),oe(me,Be,hr,"\u22C0","\\bigwedge"),oe(me,Be,hr,"\u2A04","\\biguplus"),oe(me,Be,hr,"\u22C2","\\bigcap"),oe(me,Be,hr,"\u22C3","\\bigcup"),oe(me,Be,hr,"\u222B","\\int"),oe(me,Be,hr,"\u222B","\\intop"),oe(me,Be,hr,"\u222C","\\iint"),oe(me,Be,hr,"\u222D","\\iiint"),oe(me,Be,hr,"\u220F","\\prod"),oe(me,Be,hr,"\u2211","\\sum"),oe(me,Be,hr,"\u2A02","\\bigotimes"),oe(me,Be,hr,"\u2A01","\\bigoplus"),oe(me,Be,hr,"\u2A00","\\bigodot"),oe(me,Be,hr,"\u222E","\\oint"),oe(me,Be,hr,"\u222F","\\oiint"),oe(me,Be,hr,"\u2230","\\oiiint"),oe(me,Be,hr,"\u2A06","\\bigsqcup"),oe(me,Be,hr,"\u222B","\\smallint"),oe(it,Be,Qt,"\u2026","\\textellipsis"),oe(me,Be,Qt,"\u2026","\\mathellipsis"),oe(it,Be,Qt,"\u2026","\\ldots",!0),oe(me,Be,Qt,"\u2026","\\ldots",!0),oe(me,Be,Qt,"\u22EF","\\@cdots",!0),oe(me,Be,Qt,"\u22F1","\\ddots",!0),oe(me,Be,ae,"\u22EE","\\varvdots"),oe(me,Be,Mr,"\u02CA","\\acute"),oe(me,Be,Mr,"\u02CB","\\grave"),oe(me,Be,Mr,"\xA8","\\ddot"),oe(me,Be,Mr,"~","\\tilde"),oe(me,Be,Mr,"\u02C9","\\bar"),oe(me,Be,Mr,"\u02D8","\\breve"),oe(me,Be,Mr,"\u02C7","\\check"),oe(me,Be,Mr,"^","\\hat"),oe(me,Be,Mr,"\u20D7","\\vec"),oe(me,Be,Mr,"\u02D9","\\dot"),oe(me,Be,Mr,"\u02DA","\\mathring"),oe(me,Be,qt,"\u0131","\\imath",!0),oe(me,Be,qt,"\u0237","\\jmath",!0),oe(it,Be,ae,"\u0131","\\i",!0),oe(it,Be,ae,"\u0237","\\j",!0),oe(it,Be,ae,"\xDF","\\ss",!0),oe(it,Be,ae,"\xE6","\\ae",!0),oe(it,Be,ae,"\xE6","\\ae",!0),oe(it,Be,ae,"\u0153","\\oe",!0),oe(it,Be,ae,"\xF8","\\o",!0),oe(it,Be,ae,"\xC6","\\AE",!0),oe(it,Be,ae,"\u0152","\\OE",!0),oe(it,Be,ae,"\xD8","\\O",!0),oe(it,Be,Mr,"\u02CA","\\'"),oe(it,Be,Mr,"\u02CB","\\`"),oe(it,Be,Mr,"\u02C6","\\^"),oe(it,Be,Mr,"\u02DC","\\~"),oe(it,Be,Mr,"\u02C9","\\="),oe(it,Be,Mr,"\u02D8","\\u"),oe(it,Be,Mr,"\u02D9","\\."),oe(it,Be,Mr,"\u02DA","\\r"),oe(it,Be,Mr,"\u02C7","\\v"),oe(it,Be,Mr,"\xA8",'\\"'),oe(it,Be,Mr,"\u02DD","\\H"),oe(it,Be,Mr,"\u25EF","\\textcircled");var ye={"--":!0,"---":!0,"``":!0,"''":!0};oe(it,Be,ae,"\u2013","--"),oe(it,Be,ae,"\u2013","\\textendash"),oe(it,Be,ae,"\u2014","---"),oe(it,Be,ae,"\u2014","\\textemdash"),oe(it,Be,ae,"\u2018","`"),oe(it,Be,ae,"\u2018","\\textquoteleft"),oe(it,Be,ae,"\u2019","'"),oe(it,Be,ae,"\u2019","\\textquoteright"),oe(it,Be,ae,"\u201C","``"),oe(it,Be,ae,"\u201C","\\textquotedblleft"),oe(it,Be,ae,"\u201D","''"),oe(it,Be,ae,"\u201D","\\textquotedblright"),oe(me,Be,ae,"\xB0","\\degree",!0),oe(it,Be,ae,"\xB0","\\degree"),oe(it,Be,ae,"\xB0","\\textdegree",!0),oe(me,Be,qt,"\xA3","\\pounds"),oe(me,Be,qt,"\xA3","\\mathsterling",!0),oe(it,Be,qt,"\xA3","\\pounds"),oe(it,Be,qt,"\xA3","\\textsterling",!0),oe(me,ht,ae,"\u2720","\\maltese"),oe(it,ht,ae,"\u2720","\\maltese"),oe(it,Be,se,"\xA0","\\ "),oe(it,Be,se,"\xA0"," "),oe(it,Be,se,"\xA0","~");for(var Ce='0123456789/@."',Oe=0;Oe<Ce.length;Oe++){var Te=Ce.charAt(Oe);oe(me,Be,ae,Te,Te)}for(var xe='0123456789!@*()-=+[]<>|";:?/.,',ke=0;ke<xe.length;ke++){var lt=xe.charAt(ke);oe(it,Be,ae,lt,lt)}for(var At="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ee=0;ee<At.length;ee++){var ie=At.charAt(ee);oe(me,Be,qt,ie,ie),oe(it,Be,ae,ie,ie)}oe(me,ht,ae,"C","\u2102"),oe(it,ht,ae,"C","\u2102"),oe(me,ht,ae,"H","\u210D"),oe(it,ht,ae,"H","\u210D"),oe(me,ht,ae,"N","\u2115"),oe(it,ht,ae,"N","\u2115"),oe(me,ht,ae,"P","\u2119"),oe(it,ht,ae,"P","\u2119"),oe(me,ht,ae,"Q","\u211A"),oe(it,ht,ae,"Q","\u211A"),oe(me,ht,ae,"R","\u211D"),oe(it,ht,ae,"R","\u211D"),oe(me,ht,ae,"Z","\u2124"),oe(it,ht,ae,"Z","\u2124"),oe(me,Be,qt,"h","\u210E"),oe(it,Be,qt,"h","\u210E");for(var z="",$=0;$<At.length;$++){var le=At.charAt($);z=String.fromCharCode(55349,56320+$),oe(me,Be,qt,le,z),oe(it,Be,ae,le,z),z=String.fromCharCode(55349,56372+$),oe(me,Be,qt,le,z),oe(it,Be,ae,le,z),z=String.fromCharCode(55349,56424+$),oe(me,Be,qt,le,z),oe(it,Be,ae,le,z),z=String.fromCharCode(55349,56580+$),oe(me,Be,qt,le,z),oe(it,Be,ae,le,z),z=String.fromCharCode(55349,56736+$),oe(me,Be,qt,le,z),oe(it,Be,ae,le,z),z=String.fromCharCode(55349,56788+$),oe(me,Be,qt,le,z),oe(it,Be,ae,le,z),z=String.fromCharCode(55349,56840+$),oe(me,Be,qt,le,z),oe(it,Be,ae,le,z),z=String.fromCharCode(55349,56944+$),oe(me,Be,qt,le,z),oe(it,Be,ae,le,z),$<26&&(z=String.fromCharCode(55349,56632+$),oe(me,Be,qt,le,z),oe(it,Be,ae,le,z),z=String.fromCharCode(55349,56476+$),oe(me,Be,qt,le,z),oe(it,Be,ae,le,z))}z=String.fromCharCode(55349,56668),oe(me,Be,qt,"k",z),oe(it,Be,ae,"k",z);for(var ge=0;ge<10;ge++){var Ae=ge.toString();z=String.fromCharCode(55349,57294+ge),oe(me,Be,qt,Ae,z),oe(it,Be,ae,Ae,z),z=String.fromCharCode(55349,57314+ge),oe(me,Be,qt,Ae,z),oe(it,Be,ae,Ae,z),z=String.fromCharCode(55349,57324+ge),oe(me,Be,qt,Ae,z),oe(it,Be,ae,Ae,z),z=String.fromCharCode(55349,57334+ge),oe(me,Be,qt,Ae,z),oe(it,Be,ae,Ae,z)}for(var Me="\xC7\xD0\xDE\xE7\xFE",Ze=0;Ze<Me.length;Ze++){var kt=Me.charAt(Ze);oe(me,Be,qt,kt,kt),oe(it,Be,ae,kt,kt)}oe(it,Be,ae,"\xF0","\xF0"),oe(it,Be,ae,"\u2013","\u2013"),oe(it,Be,ae,"\u2014","\u2014"),oe(it,Be,ae,"\u2018","\u2018"),oe(it,Be,ae,"\u2019","\u2019"),oe(it,Be,ae,"\u201C","\u201C"),oe(it,Be,ae,"\u201D","\u201D");var Jt=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Et=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ft=function(re,ce){var fe=re.charCodeAt(0),Le=re.charCodeAt(1),st=(fe-55296)*1024+(Le-56320)+65536,Dt=ce==="math"?0:1;if(119808<=st&&st<120484){var cr=Math.floor((st-119808)/26);return[Jt[cr][2],Jt[cr][Dt]]}else if(120782<=st&&st<=120831){var mr=Math.floor((st-120782)/10);return[Et[mr][2],Et[mr][Dt]]}else{if(st===120485||st===120486)return[Jt[0][2],Jt[0][Dt]];if(120486<st&&st<120782)return["",""];throw new i("Unsupported character: "+re)}},Kt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Vt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ot=function(re,ce){return ce.size<2?re:Kt[re-1][ce.size-1]},ur=function(){function Nt(ce){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=ce.style,this.color=ce.color,this.size=ce.size||Nt.BASESIZE,this.textSize=ce.textSize||this.size,this.phantom=!!ce.phantom,this.font=ce.font||"",this.fontFamily=ce.fontFamily||"",this.fontWeight=ce.fontWeight||"",this.fontShape=ce.fontShape||"",this.sizeMultiplier=Vt[this.size-1],this.maxSize=ce.maxSize,this.minRuleThickness=ce.minRuleThickness,this._fontMetrics=void 0}var re=Nt.prototype;return re.extend=function(fe){var Le={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var st in fe)fe.hasOwnProperty(st)&&(Le[st]=fe[st]);return new Nt(Le)},re.havingStyle=function(fe){return this.style===fe?this:this.extend({style:fe,size:Ot(this.textSize,fe)})},re.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},re.havingSize=function(fe){return this.size===fe&&this.textSize===fe?this:this.extend({style:this.style.text(),size:fe,textSize:fe,sizeMultiplier:Vt[fe-1]})},re.havingBaseStyle=function(fe){fe=fe||this.style.text();var Le=Ot(Nt.BASESIZE,fe);return this.size===Le&&this.textSize===Nt.BASESIZE&&this.style===fe?this:this.extend({style:fe,size:Le})},re.havingBaseSizing=function(){var fe;switch(this.style.id){case 4:case 5:fe=3;break;case 6:case 7:fe=1;break;default:fe=6}return this.extend({style:this.style.text(),size:fe})},re.withColor=function(fe){return this.extend({color:fe})},re.withPhantom=function(){return this.extend({phantom:!0})},re.withFont=function(fe){return this.extend({font:fe})},re.withTextFontFamily=function(fe){return this.extend({fontFamily:fe,font:""})},re.withTextFontWeight=function(fe){return this.extend({fontWeight:fe,font:""})},re.withTextFontShape=function(fe){return this.extend({fontShape:fe,font:""})},re.sizingClasses=function(fe){return fe.size!==this.size?["sizing","reset-size"+fe.size,"size"+this.size]:[]},re.baseSizingClasses=function(){return this.size!==Nt.BASESIZE?["sizing","reset-size"+this.size,"size"+Nt.BASESIZE]:[]},re.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Ke(this.size)),this._fontMetrics},re.getColor=function(){return this.phantom?"transparent":this.color},Nt}();ur.BASESIZE=6;var Zt=ur,ze={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},at={ex:!0,em:!0,mu:!0},Ve=function(re){return typeof re!="string"&&(re=re.unit),re in ze||re in at||re==="ex"},Xe=function(re,ce){var fe;if(re.unit in ze)fe=ze[re.unit]/ce.fontMetrics().ptPerEm/ce.sizeMultiplier;else if(re.unit==="mu")fe=ce.fontMetrics().cssEmPerMu;else{var Le;if(ce.style.isTight()?Le=ce.havingStyle(ce.style.text()):Le=ce,re.unit==="ex")fe=Le.fontMetrics().xHeight;else if(re.unit==="em")fe=Le.fontMetrics().quad;else throw new i("Invalid unit: '"+re.unit+"'");Le!==ce&&(fe*=Le.sizeMultiplier/ce.sizeMultiplier)}return Math.min(re.number*fe,ce.maxSize)},gt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],ft=function(re,ce,fe){return et[fe][re]&&et[fe][re].replace&&(re=et[fe][re].replace),{value:re,metrics:xt(re,ce,fe)}},Ge=function(re,ce,fe,Le,st){var Dt=ft(re,ce,fe),cr=Dt.metrics;re=Dt.value;var mr;if(cr){var Rr=cr.italic;(fe==="text"||Le&&Le.font==="mathit")&&(Rr=0),mr=new mt(re,cr.height,cr.depth,Rr,cr.skew,cr.width,st)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+re+"' in style '"+ce+"' and mode '"+fe+"'")),mr=new mt(re,0,0,0,0,0,st);if(Le){mr.maxFontSize=Le.sizeMultiplier,Le.style.isTight()&&mr.classes.push("mtight");var qr=Le.getColor();qr&&(mr.style.color=qr)}return mr},Mt=function(re,ce,fe,Le){return Le===void 0&&(Le=[]),fe.font==="boldsymbol"&&ft(re,"Main-Bold",ce).metrics?Ge(re,"Main-Bold",ce,fe,Le.concat(["mathbf"])):re==="\\"||et[ce][re].font==="main"?Ge(re,"Main-Regular",ce,fe,Le):Ge(re,"AMS-Regular",ce,fe,Le.concat(["amsrm"]))},It=function(re,ce,fe,Le){return/[0-9]/.test(re.charAt(0))||y.contains(gt,re)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},rr=function(re,ce,fe,Le){return y.contains(gt,re)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(re.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Ht=function(re,ce,fe,Le){return ft(re,"Math-BoldItalic",ce).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},pr=function(re,ce,fe){var Le=re.mode,st=re.text,Dt=["mord"],cr=Le==="math"||Le==="text"&&ce.font,mr=cr?ce.font:ce.fontFamily;if(st.charCodeAt(0)===55349){var Rr=Ft(st,Le),qr=Rr[0],ln=Rr[1];return Ge(st,qr,Le,ce,Dt.concat(ln))}else if(mr){var An,Cn;if(mr==="boldsymbol"||mr==="mathnormal"){var Xn=mr==="boldsymbol"?Ht(st,Le,ce,Dt):rr(st,Le,ce,Dt);An=Xn.fontName,Cn=[Xn.fontClass]}else y.contains(gt,st)?(An="Main-Italic",Cn=["mathit"]):cr?(An=Qr[mr].fontName,Cn=[mr]):(An=Sr(mr,ce.fontWeight,ce.fontShape),Cn=[mr,ce.fontWeight,ce.fontShape]);if(ft(st,An,Le).metrics)return Ge(st,An,Le,ce,Dt.concat(Cn));if(ye.hasOwnProperty(st)&&An.substr(0,10)==="Typewriter"){for(var ti=[],wi=0;wi<st.length;wi++)ti.push(Ge(st[wi],An,Le,ce,Dt.concat(Cn)));return Tr(ti)}}if(fe==="mathord"){var ea=It(st,Le,ce,Dt);return Ge(st,ea.fontName,Le,ce,Dt.concat([ea.fontClass]))}else if(fe==="textord"){var ji=et[Le][st]&&et[Le][st].font;if(ji==="ams"){var Sa=Sr("amsrm",ce.fontWeight,ce.fontShape);return Ge(st,Sa,Le,ce,Dt.concat("amsrm",ce.fontWeight,ce.fontShape))}else if(ji==="main"||!ji){var lo=Sr("textrm",ce.fontWeight,ce.fontShape);return Ge(st,lo,Le,ce,Dt.concat(ce.fontWeight,ce.fontShape))}else{var Ka=Sr(ji,ce.fontWeight,ce.fontShape);return Ge(st,Ka,Le,ce,Dt.concat(Ka,ce.fontWeight,ce.fontShape))}}else throw new Error("unexpected type: "+fe+" in makeOrd")},Ar=function(re,ce){if(je(re.classes)!==je(ce.classes)||re.skew!==ce.skew||re.maxFontSize!==ce.maxFontSize)return!1;for(var fe in re.style)if(re.style.hasOwnProperty(fe)&&re.style[fe]!==ce.style[fe])return!1;for(var Le in ce.style)if(ce.style.hasOwnProperty(Le)&&re.style[Le]!==ce.style[Le])return!1;return!0},Nr=function(re){for(var ce=0;ce<re.length-1;ce++){var fe=re[ce],Le=re[ce+1];fe instanceof mt&&Le instanceof mt&&Ar(fe,Le)&&(fe.text+=Le.text,fe.height=Math.max(fe.height,Le.height),fe.depth=Math.max(fe.depth,Le.depth),fe.italic=Le.italic,re.splice(ce+1,1),ce--)}return re},Fr=function(re){for(var ce=0,fe=0,Le=0,st=0;st<re.children.length;st++){var Dt=re.children[st];Dt.height>ce&&(ce=Dt.height),Dt.depth>fe&&(fe=Dt.depth),Dt.maxFontSize>Le&&(Le=Dt.maxFontSize)}re.height=ce,re.depth=fe,re.maxFontSize=Le},tn=function(re,ce,fe,Le){var st=new bt(re,ce,fe,Le);return Fr(st),st},Jr=function(re,ce,fe,Le){return new bt(re,ce,fe,Le)},Lr=function(re,ce,fe){var Le=tn([re],[],ce);return Le.height=Math.max(fe||ce.fontMetrics().defaultRuleThickness,ce.minRuleThickness),Le.style.borderBottomWidth=Le.height+"em",Le.maxFontSize=1,Le},Xr=function(re,ce,fe,Le){var st=new dt(re,ce,fe,Le);return Fr(st),st},Tr=function(re){var ce=new _e(re);return Fr(ce),ce},lr=function(re,ce){return re instanceof _e?tn([],[re],ce):re},fr=function(re){if(re.positionType==="individualShift"){for(var ce=re.children,fe=[ce[0]],Le=-ce[0].shift-ce[0].elem.depth,st=Le,Dt=1;Dt<ce.length;Dt++){var cr=-ce[Dt].shift-st-ce[Dt].elem.depth,mr=cr-(ce[Dt-1].elem.height+ce[Dt-1].elem.depth);st=st+cr,fe.push({type:"kern",size:mr}),fe.push(ce[Dt])}return{children:fe,depth:Le}}var Rr;if(re.positionType==="top"){for(var qr=re.positionData,ln=0;ln<re.children.length;ln++){var An=re.children[ln];qr-=An.type==="kern"?An.size:An.elem.height+An.elem.depth}Rr=qr}else if(re.positionType==="bottom")Rr=-re.positionData;else{var Cn=re.children[0];if(Cn.type!=="elem")throw new Error('First child must have type "elem".');if(re.positionType==="shift")Rr=-Cn.elem.depth-re.positionData;else if(re.positionType==="firstBaseline")Rr=-Cn.elem.depth;else throw new Error("Invalid positionType "+re.positionType+".")}return{children:re.children,depth:Rr}},sr=function(re,ce){for(var fe=fr(re),Le=fe.children,st=fe.depth,Dt=0,cr=0;cr<Le.length;cr++){var mr=Le[cr];if(mr.type==="elem"){var Rr=mr.elem;Dt=Math.max(Dt,Rr.maxFontSize,Rr.height)}}Dt+=2;var qr=tn(["pstrut"],[]);qr.style.height=Dt+"em";for(var ln=[],An=st,Cn=st,Xn=st,ti=0;ti<Le.length;ti++){var wi=Le[ti];if(wi.type==="kern")Xn+=wi.size;else{var ea=wi.elem,ji=wi.wrapperClasses||[],Sa=wi.wrapperStyle||{},lo=tn(ji,[qr,ea],void 0,Sa);lo.style.top=-Dt-Xn-ea.depth+"em",wi.marginLeft&&(lo.style.marginLeft=wi.marginLeft),wi.marginRight&&(lo.style.marginRight=wi.marginRight),ln.push(lo),Xn+=ea.height+ea.depth}An=Math.min(An,Xn),Cn=Math.max(Cn,Xn)}var Ka=tn(["vlist"],ln);Ka.style.height=Cn+"em";var Ao;if(An<0){var yo=tn([],[]),qa=tn(["vlist"],[yo]);qa.style.height=-An+"em";var Fo=tn(["vlist-s"],[new mt("\u200B")]);Ao=[tn(["vlist-r"],[Ka,Fo]),tn(["vlist-r"],[qa])]}else Ao=[tn(["vlist-r"],[Ka])];var Do=tn(["vlist-t"],Ao);return Ao.length===2&&Do.classes.push("vlist-t2"),Do.height=Cn,Do.depth=-An,Do},dr=function(re,ce){var fe=tn(["mspace"],[],ce),Le=Xe(re,ce);return fe.style.marginRight=Le+"em",fe},Sr=function(re,ce,fe){var Le="";switch(re){case"amsrm":Le="AMS";break;case"textrm":Le="Main";break;case"textsf":Le="SansSerif";break;case"texttt":Le="Typewriter";break;default:Le=re}var st;return ce==="textbf"&&fe==="textit"?st="BoldItalic":ce==="textbf"?st="Bold":ce==="textit"?st="Italic":st="Regular",Le+"-"+st},Qr={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},cn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Dn=function(re,ce){var fe=cn[re],Le=fe[0],st=fe[1],Dt=fe[2],cr=new De(Le),mr=new Pe([cr],{width:st+"em",height:Dt+"em",style:"width:"+st+"em",viewBox:"0 0 "+1e3*st+" "+1e3*Dt,preserveAspectRatio:"xMinYMin"}),Rr=Jr(["overlay"],[mr],ce);return Rr.height=Dt,Rr.style.height=Dt+"em",Rr.style.width=st+"em",Rr},jr={fontMap:Qr,makeSymbol:Ge,mathsym:Mt,makeSpan:tn,makeSvgSpan:Jr,makeLineSpan:Lr,makeAnchor:Xr,makeFragment:Tr,wrapFragment:lr,makeVList:sr,makeOrd:pr,makeGlue:dr,staticSvg:Dn,svgData:cn,tryCombineChars:Nr};function Ln(Nt,re){var ce=gn(Nt,re);if(!ce)throw new Error("Expected node of type "+re+", but got "+(Nt?"node of type "+Nt.type:String(Nt)));return ce}function gn(Nt,re){return Nt&&Nt.type===re?Nt:null}function Un(Nt,re){var ce=Wn(Nt,re);if(!ce)throw new Error('Expected node of type "atom" and family "'+re+'", but got '+(Nt?Nt.type==="atom"?"atom of family "+Nt.family:"node of type "+Nt.type:String(Nt)));return ce}function Wn(Nt,re){return Nt&&Nt.type==="atom"&&Nt.family===re?Nt:null}function Jn(Nt){var re=Qn(Nt);if(!re)throw new Error("Expected node of symbol group type, but got "+(Nt?"node of type "+Nt.type:String(Nt)));return re}function Qn(Nt){return Nt&&(Nt.type==="atom"||$e.hasOwnProperty(Nt.type))?Nt:null}var Vn={number:3,unit:"mu"},yn={number:4,unit:"mu"},on={number:5,unit:"mu"},ia={mord:{mop:Vn,mbin:yn,mrel:on,minner:Vn},mop:{mord:Vn,mop:Vn,mrel:on,minner:Vn},mbin:{mord:yn,mop:yn,mopen:yn,minner:yn},mrel:{mord:on,mop:on,mopen:on,minner:on},mopen:{},mclose:{mop:Vn,mbin:yn,mrel:on,minner:Vn},mpunct:{mord:Vn,mop:Vn,mrel:on,mopen:Vn,mclose:Vn,mpunct:Vn,minner:Vn},minner:{mord:Vn,mop:Vn,mbin:yn,mrel:on,mopen:Vn,mpunct:Vn,minner:Vn}},xa={mord:{mop:Vn},mop:{mord:Vn,mop:Vn},mbin:{},mrel:{},mopen:{},mclose:{mop:Vn},mpunct:{},minner:{mop:Vn}},ta={},Ni={},Ci={};function Gn(Nt){for(var re=Nt.type,ce=Nt.names,fe=Nt.props,Le=Nt.handler,st=Nt.htmlBuilder,Dt=Nt.mathmlBuilder,cr={type:re,numArgs:fe.numArgs,argTypes:fe.argTypes,greediness:fe.greediness===void 0?1:fe.greediness,allowedInText:!!fe.allowedInText,allowedInMath:fe.allowedInMath===void 0?!0:fe.allowedInMath,numOptionalArgs:fe.numOptionalArgs||0,infix:!!fe.infix,handler:Le},mr=0;mr<ce.length;++mr)ta[ce[mr]]=cr;re&&(st&&(Ni[re]=st),Dt&&(Ci[re]=Dt))}function Ia(Nt){var re=Nt.type,ce=Nt.htmlBuilder,fe=Nt.mathmlBuilder;Gn({type:re,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:ce,mathmlBuilder:fe})}var mn=function(re){var ce=gn(re,"ordgroup");return ce?ce.body:[re]},In=jr.makeSpan,On=["leftmost","mbin","mopen","mrel","mop","mpunct"],Nn=["rightmost","mrel","mclose","mpunct"],jn={display:_.DISPLAY,text:_.TEXT,script:_.SCRIPT,scriptscript:_.SCRIPTSCRIPT},ni={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},di=function(re,ce,fe,Le){Le===void 0&&(Le=[null,null]);for(var st=[],Dt=0;Dt<re.length;Dt++){var cr=Ki(re[Dt],ce);if(cr instanceof _e){var mr=cr.children;st.push.apply(st,mr)}else st.push(cr)}if(!fe)return st;var Rr=ce;if(re.length===1){var qr=gn(re[0],"sizing")||gn(re[0],"styling");qr&&(qr.type==="sizing"?Rr=ce.havingSize(qr.size):qr.type==="styling"&&(Rr=ce.havingStyle(jn[qr.style])))}var ln=In([Le[0]||"leftmost"],[],ce),An=In([Le[1]||"rightmost"],[],ce);return Da(st,function(Cn,Xn){var ti=Xn.classes[0],wi=Cn.classes[0];ti==="mbin"&&y.contains(Nn,wi)?Xn.classes[0]="mord":wi==="mbin"&&y.contains(On,ti)&&(Cn.classes[0]="mord")},{node:ln},An),Da(st,function(Cn,Xn){var ti=ka(Xn),wi=ka(Cn),ea=ti&&wi?Cn.hasClass("mtight")?xa[ti][wi]:ia[ti][wi]:null;if(ea)return jr.makeGlue(ea,Rr)},{node:ln},An),st},Da=function Nt(re,ce,fe,Le){Le&&re.push(Le);for(var st=0;st<re.length;st++){var Dt=re[st],cr=Xi(Dt);if(cr){Nt(cr.children,ce,fe);continue}if(Dt.classes[0]==="mspace")continue;var mr=ce(Dt,fe.node);mr&&(fe.insertAfter?fe.insertAfter(mr):(re.unshift(mr),st++)),fe.node=Dt,fe.insertAfter=function(Rr){return function(qr){re.splice(Rr+1,0,qr),st++}}(st)}Le&&re.pop()},Xi=function(re){return re instanceof _e||re instanceof dt?re:null},ma=function Nt(re,ce){var fe=Xi(re);if(fe){var Le=fe.children;if(Le.length){if(ce==="right")return Nt(Le[Le.length-1],"right");if(ce==="left")return Nt(Le[0],"left")}}return re},ka=function(re,ce){return re?(ce&&(re=ma(re,ce)),ni[re.classes[0]]||null):null},Xa=function(re,ce){var fe=["nulldelimiter"].concat(re.baseSizingClasses());return In(ce.concat(fe))},Ki=function(re,ce,fe){if(!re)return In();if(Ni[re.type]){var Le=Ni[re.type](re,ce);if(fe&&ce.size!==fe.size){Le=In(ce.sizingClasses(fe),[Le],ce);var st=ce.sizeMultiplier/fe.sizeMultiplier;Le.height*=st,Le.depth*=st}return Le}else throw new i("Got group of unknown type: '"+re.type+"'")};function Co(Nt,re){var ce=In(["base"],Nt,re),fe=In(["strut"]);return fe.style.height=ce.height+ce.depth+"em",fe.style.verticalAlign=-ce.depth+"em",ce.children.unshift(fe),ce}function aa(Nt,re){var ce=null;Nt.length===1&&Nt[0].type==="tag"&&(ce=Nt[0].tag,Nt=Nt[0].body);for(var fe=di(Nt,re,!0),Le=[],st=[],Dt=0;Dt<fe.length;Dt++)if(st.push(fe[Dt]),fe[Dt].hasClass("mbin")||fe[Dt].hasClass("mrel")||fe[Dt].hasClass("allowbreak")){for(var cr=!1;Dt<fe.length-1&&fe[Dt+1].hasClass("mspace")&&!fe[Dt+1].hasClass("newline");)Dt++,st.push(fe[Dt]),fe[Dt].hasClass("nobreak")&&(cr=!0);cr||(Le.push(Co(st,re)),st=[])}else fe[Dt].hasClass("newline")&&(st.pop(),st.length>0&&(Le.push(Co(st,re)),st=[]),Le.push(fe[Dt]));st.length>0&&Le.push(Co(st,re));var mr;ce&&(mr=Co(di(ce,re,!0)),mr.classes=["tag"],Le.push(mr));var Rr=In(["katex-html"],Le);if(Rr.setAttribute("aria-hidden","true"),mr){var qr=mr.children[0];qr.style.height=Rr.height+Rr.depth+"em",qr.style.verticalAlign=-Rr.depth+"em"}return Rr}function Hi(Nt){return new _e(Nt)}var ga=function(){function Nt(ce,fe){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=ce,this.attributes={},this.children=fe||[]}var re=Nt.prototype;return re.setAttribute=function(fe,Le){this.attributes[fe]=Le},re.getAttribute=function(fe){return this.attributes[fe]},re.toNode=function(){var fe=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Le in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Le)&&fe.setAttribute(Le,this.attributes[Le]);for(var st=0;st<this.children.length;st++)fe.appendChild(this.children[st].toNode());return fe},re.toMarkup=function(){var fe="<"+this.type;for(var Le in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Le)&&(fe+=" "+Le+'="',fe+=y.escape(this.attributes[Le]),fe+='"');fe+=">";for(var st=0;st<this.children.length;st++)fe+=this.children[st].toMarkup();return fe+="</"+this.type+">",fe},re.toText=function(){return this.children.map(function(fe){return fe.toText()}).join("")},Nt}(),ha=function(){function Nt(ce){this.text=void 0,this.text=ce}var re=Nt.prototype;return re.toNode=function(){return document.createTextNode(this.text)},re.toMarkup=function(){return y.escape(this.toText())},re.toText=function(){return this.text},Nt}(),mo=function(){function Nt(ce){this.width=void 0,this.character=void 0,this.width=ce,ce>=.05555&&ce<=.05556?this.character="\u200A":ce>=.1666&&ce<=.1667?this.character="\u2009":ce>=.2222&&ce<=.2223?this.character="\u2005":ce>=.2777&&ce<=.2778?this.character="\u2005\u200A":ce>=-.05556&&ce<=-.05555?this.character="\u200A\u2063":ce>=-.1667&&ce<=-.1666?this.character="\u2009\u2063":ce>=-.2223&&ce<=-.2222?this.character="\u205F\u2063":ce>=-.2778&&ce<=-.2777?this.character="\u2005\u2063":this.character=null}var re=Nt.prototype;return re.toNode=function(){if(this.character)return document.createTextNode(this.character);var fe=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return fe.setAttribute("width",this.width+"em"),fe},re.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},re.toText=function(){return this.character?this.character:" "},Nt}(),Pn={MathNode:ga,TextNode:ha,SpaceNode:mo,newDocumentFragment:Hi},qi=function(re,ce,fe){return et[ce][re]&&et[ce][re].replace&&re.charCodeAt(0)!==55349&&!(ye.hasOwnProperty(re)&&fe&&(fe.fontFamily&&fe.fontFamily.substr(4,2)==="tt"||fe.font&&fe.font.substr(4,2)==="tt"))&&(re=et[ce][re].replace),new Pn.TextNode(re)},eo=function(re){return re.length===1?re[0]:new Pn.MathNode("mrow",re)},Lo=function(re,ce){if(ce.fontFamily==="texttt")return"monospace";if(ce.fontFamily==="textsf")return ce.fontShape==="textit"&&ce.fontWeight==="textbf"?"sans-serif-bold-italic":ce.fontShape==="textit"?"sans-serif-italic":ce.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(ce.fontShape==="textit"&&ce.fontWeight==="textbf")return"bold-italic";if(ce.fontShape==="textit")return"italic";if(ce.fontWeight==="textbf")return"bold";var fe=ce.font;if(!fe||fe==="mathnormal")return null;var Le=re.mode;if(fe==="mathit")return"italic";if(fe==="boldsymbol")return"bold-italic";if(fe==="mathbf")return"bold";if(fe==="mathbb")return"double-struck";if(fe==="mathfrak")return"fraktur";if(fe==="mathscr"||fe==="mathcal")return"script";if(fe==="mathsf")return"sans-serif";if(fe==="mathtt")return"monospace";var st=re.text;if(y.contains(["\\imath","\\jmath"],st))return null;et[Le][st]&&et[Le][st].replace&&(st=et[Le][st].replace);var Dt=jr.fontMap[fe].fontName;return xt(st,Dt,Le)?jr.fontMap[fe].variant:null},co=function(re,ce,fe){if(re.length===1){var Le=Cr(re[0],ce);return fe&&Le instanceof ga&&Le.type==="mo"&&(Le.setAttribute("lspace","0em"),Le.setAttribute("rspace","0em")),[Le]}for(var st=[],Dt,cr=0;cr<re.length;cr++){var mr=Cr(re[cr],ce);if(mr instanceof ga&&Dt instanceof ga){if(mr.type==="mtext"&&Dt.type==="mtext"&&mr.getAttribute("mathvariant")===Dt.getAttribute("mathvariant")){var Rr;(Rr=Dt.children).push.apply(Rr,mr.children);continue}else if(mr.type==="mn"&&Dt.type==="mn"){var qr;(qr=Dt.children).push.apply(qr,mr.children);continue}else if(mr.type==="mi"&&mr.children.length===1&&Dt.type==="mn"){var ln=mr.children[0];if(ln instanceof ha&&ln.text==="."){var An;(An=Dt.children).push.apply(An,mr.children);continue}}else if(Dt.type==="mi"&&Dt.children.length===1){var Cn=Dt.children[0];if(Cn instanceof ha&&Cn.text==="\u0338"&&(mr.type==="mo"||mr.type==="mi"||mr.type==="mn")){var Xn=mr.children[0];Xn instanceof ha&&Xn.text.length>0&&(Xn.text=Xn.text.slice(0,1)+"\u0338"+Xn.text.slice(1),st.pop())}}}st.push(mr),Dt=mr}return st},er=function(re,ce,fe){return eo(co(re,ce,fe))},Cr=function(re,ce){if(!re)return new Pn.MathNode("mrow");if(Ci[re.type]){var fe=Ci[re.type](re,ce);return fe}else throw new i("Got group of unknown type: '"+re.type+"'")};function Ur(Nt,re,ce,fe){var Le=co(Nt,ce),st;Le.length===1&&Le[0]instanceof ga&&y.contains(["mrow","mtable"],Le[0].type)?st=Le[0]:st=new Pn.MathNode("mrow",Le);var Dt=new Pn.MathNode("annotation",[new Pn.TextNode(re)]);Dt.setAttribute("encoding","application/x-tex");var cr=new Pn.MathNode("semantics",[st,Dt]),mr=new Pn.MathNode("math",[cr]);mr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Rr=fe?"katex":"katex-mathml";return jr.makeSpan([Rr],[mr])}var Kr=function(re){return new Zt({style:re.displayMode?_.DISPLAY:_.TEXT,maxSize:re.maxSize,minRuleThickness:re.minRuleThickness})},hn=function(re,ce){if(ce.displayMode){var fe=["katex-display"];ce.leqno&&fe.push("leqno"),ce.fleqn&&fe.push("fleqn"),re=jr.makeSpan(fe,[re])}return re},Fe=function(re,ce,fe){var Le=Kr(fe),st;if(fe.output==="mathml")return Ur(re,ce,Le,!0);if(fe.output==="html"){var Dt=aa(re,Le);st=jr.makeSpan(["katex"],[Dt])}else{var cr=Ur(re,ce,Le,!1),mr=aa(re,Le);st=jr.makeSpan(["katex"],[cr,mr])}return hn(st,fe)},Rt=function(re,ce,fe){var Le=Kr(fe),st=aa(re,Le),Dt=jr.makeSpan(["katex"],[st]);return hn(Dt,fe)},Xt=Fe,tr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Or=function(re){var ce=new Pn.MathNode("mo",[new Pn.TextNode(tr[re.substr(1)])]);return ce.setAttribute("stretchy","true"),ce},br={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]},xr=function(re){return re.type==="ordgroup"?re.body.length:1},Wr=function(re,ce){function fe(){var mr=4e5,Rr=re.label.substr(1);if(y.contains(["widehat","widecheck","widetilde","utilde"],Rr)){var qr=re,ln=xr(qr.base),An,Cn,Xn;if(ln>5)Rr==="widehat"||Rr==="widecheck"?(An=420,mr=2364,Xn=.42,Cn=Rr+"4"):(An=312,mr=2340,Xn=.34,Cn="tilde4");else{var ti=[1,1,2,2,3,3][ln];Rr==="widehat"||Rr==="widecheck"?(mr=[0,1062,2364,2364,2364][ti],An=[0,239,300,360,420][ti],Xn=[0,.24,.3,.3,.36,.42][ti],Cn=Rr+ti):(mr=[0,600,1033,2339,2340][ti],An=[0,260,286,306,312][ti],Xn=[0,.26,.286,.3,.306,.34][ti],Cn="tilde"+ti)}var wi=new De(Cn),ea=new Pe([wi],{width:"100%",height:Xn+"em",viewBox:"0 0 "+mr+" "+An,preserveAspectRatio:"none"});return{span:jr.makeSvgSpan([],[ea],ce),minWidth:0,height:Xn}}else{var ji=[],Sa=br[Rr],lo=Sa[0],Ka=Sa[1],Ao=Sa[2],yo=Ao/1e3,qa=lo.length,Fo,Do;if(qa===1){var Ha=Sa[3];Fo=["hide-tail"],Do=[Ha]}else if(qa===2)Fo=["halfarrow-left","halfarrow-right"],Do=["xMinYMin","xMaxYMin"];else if(qa===3)Fo=["brace-left","brace-center","brace-right"],Do=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+qa+" children.");for(var jo=0;jo<qa;jo++){var Po=new De(lo[jo]),Xo=new Pe([Po],{width:"400em",height:yo+"em",viewBox:"0 0 "+mr+" "+Ao,preserveAspectRatio:Do[jo]+" slice"}),wo=jr.makeSvgSpan([Fo[jo]],[Xo],ce);if(qa===1)return{span:wo,minWidth:Ka,height:yo};wo.style.height=yo+"em",ji.push(wo)}return{span:jr.makeSpan(["stretchy"],ji,ce),minWidth:Ka,height:yo}}}var Le=fe(),st=Le.span,Dt=Le.minWidth,cr=Le.height;return st.height=cr,st.style.height=cr+"em",Dt>0&&(st.style.minWidth=Dt+"em"),st},Zr=function(re,ce,fe,Le){var st,Dt=re.height+re.depth+2*fe;if(/fbox|color/.test(ce)){if(st=jr.makeSpan(["stretchy",ce],[],Le),ce==="fbox"){var cr=Le.color&&Le.getColor();cr&&(st.style.borderColor=cr)}}else{var mr=[];/^[bx]cancel$/.test(ce)&&mr.push(new Ie({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(ce)&&mr.push(new Ie({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Rr=new Pe(mr,{width:"100%",height:Dt+"em"});st=jr.makeSvgSpan([],[Rr],Le)}return st.height=Dt,st.style.height=Dt+"em",st},$r={encloseSpan:Zr,mathMLnode:Or,svgSpan:Wr},an=function(re,ce){var fe,Le,st=gn(re,"supsub"),Dt;st?(Le=Ln(st.base,"accent"),fe=Le.base,st.base=fe,Dt=wt(Ki(st,ce)),st.base=Le):(Le=Ln(re,"accent"),fe=Le.base);var cr=Ki(fe,ce.havingCrampedStyle()),mr=Le.isShifty&&y.isCharacterBox(fe),Rr=0;if(mr){var qr=y.getBaseElem(fe),ln=Ki(qr,ce.havingCrampedStyle());Rr=ot(ln).skew}var An=Math.min(cr.height,ce.fontMetrics().xHeight),Cn;if(Le.isStretchy)Cn=$r.svgSpan(Le,ce),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:cr},{type:"elem",elem:Cn,wrapperClasses:["svg-align"],wrapperStyle:Rr>0?{width:"calc(100% - "+2*Rr+"em)",marginLeft:2*Rr+"em"}:void 0}]},ce);else{var Xn,ti;Le.label==="\\vec"?(Xn=jr.staticSvg("vec",ce),ti=jr.svgData.vec[1]):(Xn=jr.makeOrd({mode:Le.mode,text:Le.label},ce,"textord"),Xn=ot(Xn),Xn.italic=0,ti=Xn.width),Cn=jr.makeSpan(["accent-body"],[Xn]);var wi=Le.label==="\\textcircled";wi&&(Cn.classes.push("accent-full"),An=cr.height);var ea=Rr;wi||(ea-=ti/2),Cn.style.left=ea+"em",Le.label==="\\textcircled"&&(Cn.style.top=".2em"),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:cr},{type:"kern",size:-An},{type:"elem",elem:Cn}]},ce)}var ji=jr.makeSpan(["mord","accent"],[Cn],ce);return Dt?(Dt.children[0]=ji,Dt.height=Math.max(ji.height,Dt.height),Dt.classes[0]="mord",Dt):ji},rt=function(re,ce){var fe=re.isStretchy?$r.mathMLnode(re.label):new Pn.MathNode("mo",[qi(re.label,re.mode)]),Le=new Pn.MathNode("mover",[Cr(re.base,ce),fe]);return Le.setAttribute("accent","true"),Le},jt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Nt){return"\\"+Nt}).join("|"));Gn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(re,ce){var fe=ce[0],Le=!jt.test(re.funcName),st=!Le||re.funcName==="\\widehat"||re.funcName==="\\widetilde"||re.funcName==="\\widecheck";return{type:"accent",mode:re.parser.mode,label:re.funcName,isStretchy:Le,isShifty:st,base:fe}},htmlBuilder:an,mathmlBuilder:rt}),Gn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(re,ce){var fe=ce[0];return{type:"accent",mode:re.parser.mode,label:re.funcName,isStretchy:!1,isShifty:!0,base:fe}},htmlBuilder:an,mathmlBuilder:rt}),Gn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=ce[0];return{type:"accentUnder",mode:fe.mode,label:Le,base:st}},htmlBuilder:function(re,ce){var fe=Ki(re.base,ce),Le=$r.svgSpan(re,ce),st=re.label==="\\utilde"?.12:0,Dt=jr.makeVList({positionType:"bottom",positionData:Le.height+st,children:[{type:"elem",elem:Le,wrapperClasses:["svg-align"]},{type:"kern",size:st},{type:"elem",elem:fe}]},ce);return jr.makeSpan(["mord","accentunder"],[Dt],ce)},mathmlBuilder:function(re,ce){var fe=$r.mathMLnode(re.label),Le=new Pn.MathNode("munder",[Cr(re.base,ce),fe]);return Le.setAttribute("accentunder","true"),Le}});var ir=function(re){var ce=new Pn.MathNode("mpadded",re?[re]:[]);return ce.setAttribute("width","+0.6em"),ce.setAttribute("lspace","0.3em"),ce};Gn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(re,ce,fe){var Le=re.parser,st=re.funcName;return{type:"xArrow",mode:Le.mode,label:st,body:ce[0],below:fe[0]}},htmlBuilder:function(re,ce){var fe=ce.style,Le=ce.havingStyle(fe.sup()),st=jr.wrapFragment(Ki(re.body,Le,ce),ce);st.classes.push("x-arrow-pad");var Dt;re.below&&(Le=ce.havingStyle(fe.sub()),Dt=jr.wrapFragment(Ki(re.below,Le,ce),ce),Dt.classes.push("x-arrow-pad"));var cr=$r.svgSpan(re,ce),mr=-ce.fontMetrics().axisHeight+.5*cr.height,Rr=-ce.fontMetrics().axisHeight-.5*cr.height-.111;(st.depth>.25||re.label==="\\xleftequilibrium")&&(Rr-=st.depth);var qr;if(Dt){var ln=-ce.fontMetrics().axisHeight+Dt.height+.5*cr.height+.111;qr=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:st,shift:Rr},{type:"elem",elem:cr,shift:mr},{type:"elem",elem:Dt,shift:ln}]},ce)}else qr=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:st,shift:Rr},{type:"elem",elem:cr,shift:mr}]},ce);return qr.children[0].children[0].children[1].classes.push("svg-align"),jr.makeSpan(["mrel","x-arrow"],[qr],ce)},mathmlBuilder:function(re,ce){var fe=$r.mathMLnode(re.label),Le;if(re.body){var st=ir(Cr(re.body,ce));if(re.below){var Dt=ir(Cr(re.below,ce));Le=new Pn.MathNode("munderover",[fe,Dt,st])}else Le=new Pn.MathNode("mover",[fe,st])}else if(re.below){var cr=ir(Cr(re.below,ce));Le=new Pn.MathNode("munder",[fe,cr])}else Le=ir(),Le=new Pn.MathNode("mover",[fe,Le]);return Le}}),Gn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){for(var fe=re.parser,Le=Ln(ce[0],"ordgroup"),st=Le.body,Dt="",cr=0;cr<st.length;cr++){var mr=Ln(st[cr],"textord");Dt+=mr.text}var Rr=parseInt(Dt);if(isNaN(Rr))throw new i("\\@char has non-numeric argument "+Dt);return{type:"textord",mode:fe.mode,text:String.fromCharCode(Rr)}}});var yr=function(re,ce){var fe=di(re.body,ce.withColor(re.color),!1);return jr.makeFragment(fe)},Br=function(re,ce){var fe=co(re.body,ce.withColor(re.color)),Le=new Pn.MathNode("mstyle",fe);return Le.setAttribute("mathcolor",re.color),Le};Gn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(re,ce){var fe=re.parser,Le=Ln(ce[0],"color-token").color,st=ce[1];return{type:"color",mode:fe.mode,color:Le,body:mn(st)}},htmlBuilder:yr,mathmlBuilder:Br}),Gn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(re,ce){var fe=re.parser,Le=re.breakOnTokenText,st=Ln(ce[0],"color-token").color;fe.gullet.macros.set("\\current@color",st);var Dt=fe.parseExpression(!0,Le);return{type:"color",mode:fe.mode,color:st,body:Dt}},htmlBuilder:yr,mathmlBuilder:Br}),Gn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(re,ce,fe){var Le=re.parser,st=re.funcName,Dt=fe[0],cr=st==="\\cr",mr=!1;return cr||(Le.settings.displayMode&&Le.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?mr=!1:mr=!0),{type:"cr",mode:Le.mode,newLine:mr,newRow:cr,size:Dt&&Ln(Dt,"size").value}},htmlBuilder:function(re,ce){if(re.newRow)throw new i("\\cr valid only within a tabular/array environment");var fe=jr.makeSpan(["mspace"],[],ce);return re.newLine&&(fe.classes.push("newline"),re.size&&(fe.style.marginTop=Xe(re.size,ce)+"em")),fe},mathmlBuilder:function(re,ce){var fe=new Pn.MathNode("mspace");return re.newLine&&(fe.setAttribute("linebreak","newline"),re.size&&fe.setAttribute("height",Xe(re.size,ce)+"em")),fe}});var Dr=function(re,ce,fe){var Le=et.math[re]&&et.math[re].replace,st=xt(Le||re,ce,fe);if(!st)throw new Error("Unsupported symbol "+re+" and font size "+ce+".");return st},rn=function(re,ce,fe,Le){var st=fe.havingBaseStyle(ce),Dt=jr.makeSpan(Le.concat(st.sizingClasses(fe)),[re],fe),cr=st.sizeMultiplier/fe.sizeMultiplier;return Dt.height*=cr,Dt.depth*=cr,Dt.maxFontSize=st.sizeMultiplier,Dt},fn=function(re,ce,fe){var Le=ce.havingBaseStyle(fe),st=(1-ce.sizeMultiplier/Le.sizeMultiplier)*ce.fontMetrics().axisHeight;re.classes.push("delimcenter"),re.style.top=st+"em",re.height-=st,re.depth+=st},wn=function(re,ce,fe,Le,st,Dt){var cr=jr.makeSymbol(re,"Main-Regular",st,Le),mr=rn(cr,ce,Le,Dt);return fe&&fn(mr,Le,ce),mr},Hn=function(re,ce,fe,Le){return jr.makeSymbol(re,"Size"+ce+"-Regular",fe,Le)},Sn=function(re,ce,fe,Le,st,Dt){var cr=Hn(re,ce,st,Le),mr=rn(jr.makeSpan(["delimsizing","size"+ce],[cr],Le),_.TEXT,Le,Dt);return fe&&fn(mr,Le,_.TEXT),mr},bn=function(re,ce,fe){var Le;ce==="Size1-Regular"?Le="delim-size1":Le="delim-size4";var st=jr.makeSpan(["delimsizinginner",Le],[jr.makeSpan([],[jr.makeSymbol(re,ce,fe)])]);return{type:"elem",elem:st}},Bn={type:"kern",size:-.005},vn=function(re,ce,fe,Le,st,Dt){var cr,mr,Rr,qr;cr=Rr=qr=re,mr=null;var ln="Size1-Regular";re==="\\uparrow"?Rr=qr="\u23D0":re==="\\Uparrow"?Rr=qr="\u2016":re==="\\downarrow"?cr=Rr="\u23D0":re==="\\Downarrow"?cr=Rr="\u2016":re==="\\updownarrow"?(cr="\\uparrow",Rr="\u23D0",qr="\\downarrow"):re==="\\Updownarrow"?(cr="\\Uparrow",Rr="\u2016",qr="\\Downarrow"):re==="["||re==="\\lbrack"?(cr="\u23A1",Rr="\u23A2",qr="\u23A3",ln="Size4-Regular"):re==="]"||re==="\\rbrack"?(cr="\u23A4",Rr="\u23A5",qr="\u23A6",ln="Size4-Regular"):re==="\\lfloor"||re==="\u230A"?(Rr=cr="\u23A2",qr="\u23A3",ln="Size4-Regular"):re==="\\lceil"||re==="\u2308"?(cr="\u23A1",Rr=qr="\u23A2",ln="Size4-Regular"):re==="\\rfloor"||re==="\u230B"?(Rr=cr="\u23A5",qr="\u23A6",ln="Size4-Regular"):re==="\\rceil"||re==="\u2309"?(cr="\u23A4",Rr=qr="\u23A5",ln="Size4-Regular"):re==="("||re==="\\lparen"?(cr="\u239B",Rr="\u239C",qr="\u239D",ln="Size4-Regular"):re===")"||re==="\\rparen"?(cr="\u239E",Rr="\u239F",qr="\u23A0",ln="Size4-Regular"):re==="\\{"||re==="\\lbrace"?(cr="\u23A7",mr="\u23A8",qr="\u23A9",Rr="\u23AA",ln="Size4-Regular"):re==="\\}"||re==="\\rbrace"?(cr="\u23AB",mr="\u23AC",qr="\u23AD",Rr="\u23AA",ln="Size4-Regular"):re==="\\lgroup"||re==="\u27EE"?(cr="\u23A7",qr="\u23A9",Rr="\u23AA",ln="Size4-Regular"):re==="\\rgroup"||re==="\u27EF"?(cr="\u23AB",qr="\u23AD",Rr="\u23AA",ln="Size4-Regular"):re==="\\lmoustache"||re==="\u23B0"?(cr="\u23A7",qr="\u23AD",Rr="\u23AA",ln="Size4-Regular"):(re==="\\rmoustache"||re==="\u23B1")&&(cr="\u23AB",qr="\u23A9",Rr="\u23AA",ln="Size4-Regular");var An=Dr(cr,ln,st),Cn=An.height+An.depth,Xn=Dr(Rr,ln,st),ti=Xn.height+Xn.depth,wi=Dr(qr,ln,st),ea=wi.height+wi.depth,ji=0,Sa=1;if(mr!==null){var lo=Dr(mr,ln,st);ji=lo.height+lo.depth,Sa=2}var Ka=Cn+ea+ji,Ao=Math.max(0,Math.ceil((ce-Ka)/(Sa*ti))),yo=Ka+Ao*Sa*ti,qa=Le.fontMetrics().axisHeight;fe&&(qa*=Le.sizeMultiplier);var Fo=yo/2-qa,Do=(Ao+1)*.005-ti,Ha=[];if(Ha.push(bn(qr,ln,st)),mr===null)for(var jo=0;jo<Ao;jo++)Ha.push(Bn),Ha.push(bn(Rr,ln,st));else{for(var Po=0;Po<Ao;Po++)Ha.push(Bn),Ha.push(bn(Rr,ln,st));Ha.push({type:"kern",size:Do}),Ha.push(bn(Rr,ln,st)),Ha.push(Bn),Ha.push(bn(mr,ln,st));for(var Xo=0;Xo<Ao;Xo++)Ha.push(Bn),Ha.push(bn(Rr,ln,st))}Ha.push({type:"kern",size:Do}),Ha.push(bn(Rr,ln,st)),Ha.push(Bn),Ha.push(bn(cr,ln,st));var wo=Le.havingBaseStyle(_.TEXT),cs=jr.makeVList({positionType:"bottom",positionData:Fo,children:Ha},wo);return rn(jr.makeSpan(["delimsizing","mult"],[cs],wo),_.TEXT,Le,Dt)},Mn=80,En=.08,Tn=function(re,ce,fe,Le,st){var Dt=qe(re,Le,fe),cr=new De(re,Dt),mr=new Pe([cr],{width:"400em",height:ce+"em",viewBox:"0 0 400000 "+fe,preserveAspectRatio:"xMinYMin slice"});return jr.makeSvgSpan(["hide-tail"],[mr],st)},Yn=function(re,ce){var fe=ce.havingBaseSizing(),Le=_i("\\surd",re*fe.sizeMultiplier,Mi,fe),st=fe.sizeMultiplier,Dt=Math.max(0,ce.minRuleThickness-ce.fontMetrics().sqrtRuleThickness),cr,mr=0,Rr=0,qr=0,ln;return Le.type==="small"?(qr=1e3+1e3*Dt+Mn,re<1?st=1:re<1.4&&(st=.7),mr=(1+Dt+En)/st,Rr=(1+Dt)/st,cr=Tn("sqrtMain",mr,qr,Dt,ce),cr.style.minWidth="0.853em",ln=.833/st):Le.type==="large"?(qr=(1e3+Mn)*Ai[Le.size],Rr=(Ai[Le.size]+Dt)/st,mr=(Ai[Le.size]+Dt+En)/st,cr=Tn("sqrtSize"+Le.size,mr,qr,Dt,ce),cr.style.minWidth="1.02em",ln=1/st):(mr=re+Dt+En,Rr=re+Dt,qr=Math.floor(1e3*re+Dt)+Mn,cr=Tn("sqrtTall",mr,qr,Dt,ce),cr.style.minWidth="0.742em",ln=1.056),cr.height=Rr,cr.style.height=mr+"em",{span:cr,advanceWidth:ln,ruleWidth:(ce.fontMetrics().sqrtRuleThickness+Dt)*st}},ai=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ri=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ri=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ai=[0,1.2,1.8,2.4,3],xi=function(re,ce,fe,Le,st){if(re==="<"||re==="\\lt"||re==="\u27E8"?re="\\langle":(re===">"||re==="\\gt"||re==="\u27E9")&&(re="\\rangle"),y.contains(ai,re)||y.contains(Ri,re))return Sn(re,ce,!1,fe,Le,st);if(y.contains(ri,re))return vn(re,Ai[ce],!1,fe,Le,st);throw new i("Illegal delimiter: '"+re+"'")},Oi=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],_n=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"stack"}],Mi=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],fa=function(re){if(re.type==="small")return"Main-Regular";if(re.type==="large")return"Size"+re.size+"-Regular";if(re.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+re.type+"' here.")},_i=function(re,ce,fe,Le){for(var st=Math.min(2,3-Le.style.size),Dt=st;Dt<fe.length&&!(fe[Dt].type==="stack");Dt++){var cr=Dr(re,fa(fe[Dt]),"math"),mr=cr.height+cr.depth;if(fe[Dt].type==="small"){var Rr=Le.havingBaseStyle(fe[Dt].style);mr*=Rr.sizeMultiplier}if(mr>ce)return fe[Dt]}return fe[fe.length-1]},Bi=function(re,ce,fe,Le,st,Dt){re==="<"||re==="\\lt"||re==="\u27E8"?re="\\langle":(re===">"||re==="\\gt"||re==="\u27E9")&&(re="\\rangle");var cr;y.contains(Ri,re)?cr=Oi:y.contains(ai,re)?cr=Mi:cr=_n;var mr=_i(re,ce,cr,Le);return mr.type==="small"?wn(re,mr.style,fe,Le,st,Dt):mr.type==="large"?Sn(re,mr.size,fe,Le,st,Dt):vn(re,ce,fe,Le,st,Dt)},mi=function(re,ce,fe,Le,st,Dt){var cr=Le.fontMetrics().axisHeight*Le.sizeMultiplier,mr=901,Rr=5/Le.fontMetrics().ptPerEm,qr=Math.max(ce-cr,fe+cr),ln=Math.max(qr/500*mr,2*qr-Rr);return Bi(re,ln,!0,Le,st,Dt)},hi={sqrtImage:Yn,sizedDelim:xi,customSizedDelim:Bi,leftRightDelim:mi},Ji={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},va=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ea(Nt,re){var ce=Qn(Nt);if(ce&&y.contains(va,ce.text))return ce;throw new i("Invalid delimiter: '"+(ce?ce.text:JSON.stringify(Nt))+"' after '"+re.funcName+"'",Nt)}Gn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(re,ce){var fe=Ea(ce[0],re);return{type:"delimsizing",mode:re.parser.mode,size:Ji[re.funcName].size,mclass:Ji[re.funcName].mclass,delim:fe.text}},htmlBuilder:function(re,ce){return re.delim==="."?jr.makeSpan([re.mclass]):hi.sizedDelim(re.delim,re.size,ce,re.mode,[re.mclass])},mathmlBuilder:function(re){var ce=[];re.delim!=="."&&ce.push(qi(re.delim,re.mode));var fe=new Pn.MathNode("mo",ce);return re.mclass==="mopen"||re.mclass==="mclose"?fe.setAttribute("fence","true"):fe.setAttribute("fence","false"),fe}});function Aa(Nt){if(!Nt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Gn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(re,ce){var fe=re.parser.gullet.macros.get("\\current@color");if(fe&&typeof fe!="string")throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:re.parser.mode,delim:Ea(ce[0],re).text,color:fe}}}),Gn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(re,ce){var fe=Ea(ce[0],re),Le=re.parser;++Le.leftrightDepth;var st=Le.parseExpression(!1);--Le.leftrightDepth,Le.expect("\\right",!1);var Dt=Ln(Le.parseFunction(),"leftright-right");return{type:"leftright",mode:Le.mode,body:st,left:fe.text,right:Dt.delim,rightColor:Dt.color}},htmlBuilder:function(re,ce){Aa(re);for(var fe=di(re.body,ce,!0,["mopen","mclose"]),Le=0,st=0,Dt=!1,cr=0;cr<fe.length;cr++)fe[cr].isMiddle?Dt=!0:(Le=Math.max(fe[cr].height,Le),st=Math.max(fe[cr].depth,st));Le*=ce.sizeMultiplier,st*=ce.sizeMultiplier;var mr;if(re.left==="."?mr=Xa(ce,["mopen"]):mr=hi.leftRightDelim(re.left,Le,st,ce,re.mode,["mopen"]),fe.unshift(mr),Dt)for(var Rr=1;Rr<fe.length;Rr++){var qr=fe[Rr],ln=qr.isMiddle;ln&&(fe[Rr]=hi.leftRightDelim(ln.delim,Le,st,ln.options,re.mode,[]))}var An;if(re.right===".")An=Xa(ce,["mclose"]);else{var Cn=re.rightColor?ce.withColor(re.rightColor):ce;An=hi.leftRightDelim(re.right,Le,st,Cn,re.mode,["mclose"])}return fe.push(An),jr.makeSpan(["minner"],fe,ce)},mathmlBuilder:function(re,ce){Aa(re);var fe=co(re.body,ce);if(re.left!=="."){var Le=new Pn.MathNode("mo",[qi(re.left,re.mode)]);Le.setAttribute("fence","true"),fe.unshift(Le)}if(re.right!=="."){var st=new Pn.MathNode("mo",[qi(re.right,re.mode)]);st.setAttribute("fence","true"),re.rightColor&&st.setAttribute("mathcolor",re.rightColor),fe.push(st)}return eo(fe)}}),Gn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(re,ce){var fe=Ea(ce[0],re);if(!re.parser.leftrightDepth)throw new i("\\middle without preceding \\left",fe);return{type:"middle",mode:re.parser.mode,delim:fe.text}},htmlBuilder:function(re,ce){var fe;if(re.delim===".")fe=Xa(ce,[]);else{fe=hi.sizedDelim(re.delim,1,ce,re.mode,[]);var Le={delim:re.delim,options:ce};fe.isMiddle=Le}return fe},mathmlBuilder:function(re,ce){var fe=re.delim==="\\vert"||re.delim==="|"?qi("|","text"):qi(re.delim,re.mode),Le=new Pn.MathNode("mo",[fe]);return Le.setAttribute("fence","true"),Le.setAttribute("lspace","0.05em"),Le.setAttribute("rspace","0.05em"),Le}});var oa=function(re,ce){var fe=jr.wrapFragment(Ki(re.body,ce),ce),Le=re.label.substr(1),st=ce.sizeMultiplier,Dt,cr=0,mr=y.isCharacterBox(re.body);if(Le==="sout")Dt=jr.makeSpan(["stretchy","sout"]),Dt.height=ce.fontMetrics().defaultRuleThickness/st,cr=-.5*ce.fontMetrics().xHeight;else{/cancel/.test(Le)?mr||fe.classes.push("cancel-pad"):fe.classes.push("boxpad");var Rr=0,qr=0;/box/.test(Le)?(qr=Math.max(ce.fontMetrics().fboxrule,ce.minRuleThickness),Rr=ce.fontMetrics().fboxsep+(Le==="colorbox"?0:qr)):Rr=mr?.2:0,Dt=$r.encloseSpan(fe,Le,Rr,ce),/fbox|boxed|fcolorbox/.test(Le)&&(Dt.style.borderStyle="solid",Dt.style.borderWidth=qr+"em"),cr=fe.depth+Rr,re.backgroundColor&&(Dt.style.backgroundColor=re.backgroundColor,re.borderColor&&(Dt.style.borderColor=re.borderColor))}var ln;return re.backgroundColor?ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Dt,shift:cr},{type:"elem",elem:fe,shift:0}]},ce):ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:fe,shift:0},{type:"elem",elem:Dt,shift:cr,wrapperClasses:/cancel/.test(Le)?["svg-align"]:[]}]},ce),/cancel/.test(Le)&&(ln.height=fe.height,ln.depth=fe.depth),/cancel/.test(Le)&&!mr?jr.makeSpan(["mord","cancel-lap"],[ln],ce):jr.makeSpan(["mord"],[ln],ce)},sa=function(re,ce){var fe=0,Le=new Pn.MathNode(re.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Cr(re.body,ce)]);switch(re.label){case"\\cancel":Le.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Le.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Le.setAttribute("notation","horizontalstrike");break;case"\\fbox":Le.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(fe=ce.fontMetrics().fboxsep*ce.fontMetrics().ptPerEm,Le.setAttribute("width","+"+2*fe+"pt"),Le.setAttribute("height","+"+2*fe+"pt"),Le.setAttribute("lspace",fe+"pt"),Le.setAttribute("voffset",fe+"pt"),re.label==="\\fcolorbox"){var st=Math.max(ce.fontMetrics().fboxrule,ce.minRuleThickness);Le.setAttribute("style","border: "+st+"em solid "+String(re.borderColor))}break;case"\\xcancel":Le.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return re.backgroundColor&&Le.setAttribute("mathbackground",re.backgroundColor),Le};Gn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(re,ce,fe){var Le=re.parser,st=re.funcName,Dt=Ln(ce[0],"color-token").color,cr=ce[1];return{type:"enclose",mode:Le.mode,label:st,backgroundColor:Dt,body:cr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(re,ce,fe){var Le=re.parser,st=re.funcName,Dt=Ln(ce[0],"color-token").color,cr=Ln(ce[1],"color-token").color,mr=ce[2];return{type:"enclose",mode:Le.mode,label:st,backgroundColor:cr,borderColor:Dt,body:mr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(re,ce){var fe=re.parser;return{type:"enclose",mode:fe.mode,label:"\\fbox",body:ce[0]}}}),Gn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(re,ce,fe){var Le=re.parser,st=re.funcName,Dt=ce[0];return{type:"enclose",mode:Le.mode,label:st,body:Dt}},htmlBuilder:oa,mathmlBuilder:sa});var Di={};function qn(Nt){for(var re=Nt.type,ce=Nt.names,fe=Nt.props,Le=Nt.handler,st=Nt.htmlBuilder,Dt=Nt.mathmlBuilder,cr={type:re,numArgs:fe.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Le},mr=0;mr<ce.length;++mr)Di[ce[mr]]=cr;st&&(Ni[re]=st),Dt&&(Ci[re]=Dt)}function yi(Nt){var re=[];Nt.consumeSpaces();for(var ce=Nt.fetch().text;ce==="\\hline"||ce==="\\hdashline";)Nt.consume(),re.push(ce==="\\hdashline"),Nt.consumeSpaces(),ce=Nt.fetch().text;return re}function Ti(Nt,re,ce){var fe=re.hskipBeforeAndAfter,Le=re.addJot,st=re.cols,Dt=re.arraystretch,cr=re.colSeparationType;if(Nt.gullet.beginGroup(),Nt.gullet.macros.set("\\\\","\\cr"),!Dt){var mr=Nt.gullet.expandMacroAsText("\\arraystretch");if(mr==null)Dt=1;else if(Dt=parseFloat(mr),!Dt||Dt<0)throw new i("Invalid \\arraystretch: "+mr)}Nt.gullet.beginGroup();var Rr=[],qr=[Rr],ln=[],An=[];for(An.push(yi(Nt));;){var Cn=Nt.parseExpression(!1,"\\cr");Nt.gullet.endGroup(),Nt.gullet.beginGroup(),Cn={type:"ordgroup",mode:Nt.mode,body:Cn},ce&&(Cn={type:"styling",mode:Nt.mode,style:ce,body:[Cn]}),Rr.push(Cn);var Xn=Nt.fetch().text;if(Xn==="&")Nt.consume();else if(Xn==="\\end"){Rr.length===1&&Cn.type==="styling"&&Cn.body[0].body.length===0&&qr.pop(),An.length<qr.length+1&&An.push([]);break}else if(Xn==="\\cr"){var ti=Ln(Nt.parseFunction(),"cr");ln.push(ti.size),An.push(yi(Nt)),Rr=[],qr.push(Rr)}else throw new i("Expected & or \\\\ or \\cr or \\end",Nt.nextToken)}return Nt.gullet.endGroup(),Nt.gullet.endGroup(),{type:"array",mode:Nt.mode,addJot:Le,arraystretch:Dt,body:qr,cols:st,rowGaps:ln,hskipBeforeAndAfter:fe,hLinesBeforeRow:An,colSeparationType:cr}}function Vi(Nt){return Nt.substr(0,1)==="d"?"display":"text"}var Yi=function(re,ce){var fe,Le,st=re.body.length,Dt=re.hLinesBeforeRow,cr=0,mr=new Array(st),Rr=[],qr=Math.max(ce.fontMetrics().arrayRuleWidth,ce.minRuleThickness),ln=1/ce.fontMetrics().ptPerEm,An=5*ln;if(re.colSeparationType&&re.colSeparationType==="small"){var Cn=ce.havingStyle(_.SCRIPT).sizeMultiplier;An=.2778*(Cn/ce.sizeMultiplier)}var Xn=12*ln,ti=3*ln,wi=re.arraystretch*Xn,ea=.7*wi,ji=.3*wi,Sa=0;function lo(bs){for(var ca=0;ca<bs.length;++ca)ca>0&&(Sa+=.25),Rr.push({pos:Sa,isDashed:bs[ca]})}for(lo(Dt[0]),fe=0;fe<re.body.length;++fe){var Ka=re.body[fe],Ao=ea,yo=ji;cr<Ka.length&&(cr=Ka.length);var qa=new Array(Ka.length);for(Le=0;Le<Ka.length;++Le){var Fo=Ki(Ka[Le],ce);yo<Fo.depth&&(yo=Fo.depth),Ao<Fo.height&&(Ao=Fo.height),qa[Le]=Fo}var Do=re.rowGaps[fe],Ha=0;Do&&(Ha=Xe(Do,ce),Ha>0&&(Ha+=ji,yo<Ha&&(yo=Ha),Ha=0)),re.addJot&&(yo+=ti),qa.height=Ao,qa.depth=yo,Sa+=Ao,qa.pos=Sa,Sa+=yo+Ha,mr[fe]=qa,lo(Dt[fe+1])}var jo=Sa/2+ce.fontMetrics().axisHeight,Po=re.cols||[],Xo=[],wo,cs;for(Le=0,cs=0;Le<cr||cs<Po.length;++Le,++cs){for(var ns=Po[cs]||{},Ys=!0;ns.type==="separator";){if(Ys||(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=ce.fontMetrics().doubleRuleSep+"em",Xo.push(wo)),ns.separator==="|"||ns.separator===":"){var Qs=ns.separator==="|"?"solid":"dashed",Qo=jr.makeSpan(["vertical-separator"],[],ce);Qo.style.height=Sa+"em",Qo.style.borderRightWidth=qr+"em",Qo.style.borderRightStyle=Qs,Qo.style.margin="0 -"+qr/2+"em",Qo.style.verticalAlign=-(Sa-jo)+"em",Xo.push(Qo)}else throw new i("Invalid separator type: "+ns.separator);cs++,ns=Po[cs]||{},Ys=!1}if(Le>=cr)continue;var Eo=void 0;(Le>0||re.hskipBeforeAndAfter)&&(Eo=y.deflt(ns.pregap,An),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Xo.push(wo)));var ds=[];for(fe=0;fe<st;++fe){var hs=mr[fe],Ms=hs[Le];if(!Ms)continue;var Ro=hs.pos-jo;Ms.depth=hs.depth,Ms.height=hs.height,ds.push({type:"elem",elem:Ms,shift:Ro})}ds=jr.makeVList({positionType:"individualShift",children:ds},ce),ds=jr.makeSpan(["col-align-"+(ns.align||"c")],[ds]),Xo.push(ds),(Le<cr-1||re.hskipBeforeAndAfter)&&(Eo=y.deflt(ns.postgap,An),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Xo.push(wo)))}if(mr=jr.makeSpan(["mtable"],Xo),Rr.length>0){for(var As=jr.makeLineSpan("hline",ce,qr),Bs=jr.makeLineSpan("hdashline",ce,qr),ys=[{type:"elem",elem:mr,shift:0}];Rr.length>0;){var Fs=Rr.pop(),Hs=Fs.pos-jo;Fs.isDashed?ys.push({type:"elem",elem:Bs,shift:Hs}):ys.push({type:"elem",elem:As,shift:Hs})}mr=jr.makeVList({positionType:"individualShift",children:ys},ce)}return jr.makeSpan(["mord"],[mr],ce)},bi={c:"center ",l:"left ",r:"right "},ya=function(re,ce){var fe=new Pn.MathNode("mtable",re.body.map(function(Sa){return new Pn.MathNode("mtr",Sa.map(function(lo){return new Pn.MathNode("mtd",[Cr(lo,ce)])}))})),Le=re.arraystretch===.5?.1:.16+re.arraystretch-1+(re.addJot?.09:0);fe.setAttribute("rowspacing",Le+"em");var st="",Dt="";if(re.cols){var cr=re.cols,mr="",Rr=!1,qr=0,ln=cr.length;cr[0].type==="separator"&&(st+="top ",qr=1),cr[cr.length-1].type==="separator"&&(st+="bottom ",ln-=1);for(var An=qr;An<ln;An++)cr[An].type==="align"?(Dt+=bi[cr[An].align],Rr&&(mr+="none "),Rr=!0):cr[An].type==="separator"&&(Rr&&(mr+=cr[An].separator==="|"?"solid ":"dashed ",Rr=!1));fe.setAttribute("columnalign",Dt.trim()),/[sd]/.test(mr)&&fe.setAttribute("columnlines",mr.trim())}if(re.colSeparationType==="align"){for(var Cn=re.cols||[],Xn="",ti=1;ti<Cn.length;ti++)Xn+=ti%2?"0em ":"1em ";fe.setAttribute("columnspacing",Xn.trim())}else re.colSeparationType==="alignat"?fe.setAttribute("columnspacing","0em"):re.colSeparationType==="small"?fe.setAttribute("columnspacing","0.2778em"):fe.setAttribute("columnspacing","1em");var wi="",ea=re.hLinesBeforeRow;st+=ea[0].length>0?"left ":"",st+=ea[ea.length-1].length>0?"right ":"";for(var ji=1;ji<ea.length-1;ji++)wi+=ea[ji].length===0?"none ":ea[ji][0]?"dashed ":"solid ";return/[sd]/.test(wi)&&fe.setAttribute("rowlines",wi.trim()),st!==""&&(fe=new Pn.MathNode("menclose",[fe]),fe.setAttribute("notation",st.trim())),re.arraystretch&&re.arraystretch<1&&(fe=new Pn.MathNode("mstyle",[fe]),fe.setAttribute("scriptlevel","1")),fe},ua=function(re,ce){var fe=[],Le=Ti(re.parser,{cols:fe,addJot:!0},"display"),st,Dt=0,cr={type:"ordgroup",mode:re.mode,body:[]},mr=gn(ce[0],"ordgroup");if(mr){for(var Rr="",qr=0;qr<mr.body.length;qr++){var ln=Ln(mr.body[qr],"textord");Rr+=ln.text}st=Number(Rr),Dt=st*2}var An=!Dt;Le.body.forEach(function(wi){for(var ea=1;ea<wi.length;ea+=2){var ji=Ln(wi[ea],"styling"),Sa=Ln(ji.body[0],"ordgroup");Sa.body.unshift(cr)}if(An)Dt<wi.length&&(Dt=wi.length);else{var lo=wi.length/2;if(st<lo)throw new i("Too many math in a row: "+("expected "+st+", but got "+lo),wi[0])}});for(var Cn=0;Cn<Dt;++Cn){var Xn="r",ti=0;Cn%2===1?Xn="l":Cn>0&&An&&(ti=1),fe[Cn]={type:"align",align:Xn,pregap:ti,postgap:0}}return Le.colSeparationType=An?"align":"alignat",Le};qn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(re,ce){var fe=Qn(ce[0]),Le=fe?[ce[0]]:Ln(ce[0],"ordgroup").body,st=Le.map(function(cr){var mr=Jn(cr),Rr=mr.text;if("lcr".indexOf(Rr)!==-1)return{type:"align",align:Rr};if(Rr==="|")return{type:"separator",separator:"|"};if(Rr===":")return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+Rr,cr)}),Dt={cols:st,hskipBeforeAndAfter:!0};return Ti(re.parser,Dt,Vi(re.envName))},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(re){var ce={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[re.envName],fe={hskipBeforeAndAfter:!1},Le=Ti(re.parser,fe,Vi(re.envName));return ce?{type:"leftright",mode:re.mode,body:[Le],left:ce[0],right:ce[1],rightColor:void 0}:Le},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(re){var ce={arraystretch:.5},fe=Ti(re.parser,ce,"script");return fe.colSeparationType="small",fe},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(re,ce){var fe=Qn(ce[0]),Le=fe?[ce[0]]:Ln(ce[0],"ordgroup").body,st=Le.map(function(cr){var mr=Jn(cr),Rr=mr.text;if("lc".indexOf(Rr)!==-1)return{type:"align",align:Rr};throw new i("Unknown column alignment: "+Rr,cr)});if(st.length>1)throw new i("{subarray} can contain only one column");var Dt={cols:st,hskipBeforeAndAfter:!1,arraystretch:.5};if(Dt=Ti(re.parser,Dt,"script"),Dt.body[0].length>1)throw new i("{subarray} can contain only one column");return Dt},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(re){var ce={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},fe=Ti(re.parser,ce,Vi(re.envName));return{type:"leftright",mode:re.mode,body:[fe],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["aligned"],props:{numArgs:0},handler:ua,htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(re){var ce={cols:[{type:"align",align:"c"}],addJot:!0};return Ti(re.parser,ce,"display")},htmlBuilder:Yi,mathmlBuilder:ya}),qn({type:"array",names:["alignedat"],props:{numArgs:1},handler:ua,htmlBuilder:Yi,mathmlBuilder:ya}),Gn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(re,ce){throw new i(re.funcName+" valid only within array environment")}});var la=Di,gi=la;Gn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=ce[0];if(st.type!=="ordgroup")throw new i("Invalid environment name",st);for(var Dt="",cr=0;cr<st.body.length;++cr)Dt+=Ln(st.body[cr],"textord").text;if(Le==="\\begin"){if(!gi.hasOwnProperty(Dt))throw new i("No such environment: "+Dt,st);var mr=gi[Dt],Rr=fe.parseArguments("\\begin{"+Dt+"}",mr),qr=Rr.args,ln=Rr.optArgs,An={mode:fe.mode,envName:Dt,parser:fe},Cn=mr.handler(An,qr,ln);fe.expect("\\end",!1);var Xn=fe.nextToken,ti=Ln(fe.parseFunction(),"environment");if(ti.name!==Dt)throw new i("Mismatch: \\begin{"+Dt+"} matched by \\end{"+ti.name+"}",Xn);return Cn}return{type:"environment",mode:fe.mode,name:Dt,nameGroup:st}}});var Ua=jr.makeSpan;function Ba(Nt,re){var ce=di(Nt.body,re,!0);return Ua([Nt.mclass],ce,re)}function ra(Nt,re){var ce,fe=co(Nt.body,re);return Nt.mclass==="minner"?Pn.newDocumentFragment(fe):(Nt.mclass==="mord"?Nt.isCharacterBox?(ce=fe[0],ce.type="mi"):ce=new Pn.MathNode("mi",fe):(Nt.isCharacterBox?(ce=fe[0],ce.type="mo"):ce=new Pn.MathNode("mo",fe),Nt.mclass==="mbin"?(ce.attributes.lspace="0.22em",ce.attributes.rspace="0.22em"):Nt.mclass==="mpunct"?(ce.attributes.lspace="0em",ce.attributes.rspace="0.17em"):(Nt.mclass==="mopen"||Nt.mclass==="mclose")&&(ce.attributes.lspace="0em",ce.attributes.rspace="0em")),ce)}Gn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=ce[0];return{type:"mclass",mode:fe.mode,mclass:"m"+Le.substr(5),body:mn(st),isCharacterBox:y.isCharacterBox(st)}},htmlBuilder:Ba,mathmlBuilder:ra});var Qi=function(re){var ce=re.type==="ordgroup"&&re.body.length?re.body[0]:re;return ce.type==="atom"&&(ce.family==="bin"||ce.family==="rel")?"m"+ce.family:"mord"};Gn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(re,ce){var fe=re.parser;return{type:"mclass",mode:fe.mode,mclass:Qi(ce[0]),body:[ce[1]],isCharacterBox:y.isCharacterBox(ce[1])}}}),Gn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=ce[1],Dt=ce[0],cr;Le!=="\\stackrel"?cr=Qi(st):cr="mrel";var mr={type:"op",mode:st.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Le!=="\\stackrel",body:mn(st)},Rr={type:"supsub",mode:Dt.mode,base:mr,sup:Le==="\\underset"?null:Dt,sub:Le==="\\underset"?Dt:null};return{type:"mclass",mode:fe.mode,mclass:cr,body:[Rr],isCharacterBox:y.isCharacterBox(Rr)}},htmlBuilder:Ba,mathmlBuilder:ra});var Ya=function(re,ce){var fe=re.font,Le=ce.withFont(fe);return Ki(re.body,Le)},zi=function(re,ce){var fe=re.font,Le=ce.withFont(fe);return Cr(re.body,Le)},Wi={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Gn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=ce[0],Dt=Le;return Dt in Wi&&(Dt=Wi[Dt]),{type:"font",mode:fe.mode,font:Dt.slice(1),body:st}},htmlBuilder:Ya,mathmlBuilder:zi}),Gn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(re,ce){var fe=re.parser,Le=ce[0],st=y.isCharacterBox(Le);return{type:"mclass",mode:fe.mode,mclass:Qi(Le),body:[{type:"font",mode:fe.mode,font:"boldsymbol",body:Le}],isCharacterBox:st}}}),Gn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=re.breakOnTokenText,Dt=fe.mode,cr=fe.parseExpression(!0,st),mr="math"+Le.slice(1);return{type:"font",mode:Dt,font:mr,body:{type:"ordgroup",mode:fe.mode,body:cr}}},htmlBuilder:Ya,mathmlBuilder:zi});var ba=function(re,ce){var fe=ce;return re==="display"?fe=fe.id>=_.SCRIPT.id?fe.text():_.DISPLAY:re==="text"&&fe.size===_.DISPLAY.size?fe=_.TEXT:re==="script"?fe=_.SCRIPT:re==="scriptscript"&&(fe=_.SCRIPTSCRIPT),fe},_a=function(re,ce){var fe=ba(re.size,ce.style),Le=fe.fracNum(),st=fe.fracDen(),Dt;Dt=ce.havingStyle(Le);var cr=Ki(re.numer,Dt,ce);if(re.continued){var mr=8.5/ce.fontMetrics().ptPerEm,Rr=3.5/ce.fontMetrics().ptPerEm;cr.height=cr.height<mr?mr:cr.height,cr.depth=cr.depth<Rr?Rr:cr.depth}Dt=ce.havingStyle(st);var qr=Ki(re.denom,Dt,ce),ln,An,Cn;re.hasBarLine?(re.barSize?(An=Xe(re.barSize,ce),ln=jr.makeLineSpan("frac-line",ce,An)):ln=jr.makeLineSpan("frac-line",ce),An=ln.height,Cn=ln.height):(ln=null,An=0,Cn=ce.fontMetrics().defaultRuleThickness);var Xn,ti,wi;fe.size===_.DISPLAY.size||re.size==="display"?(Xn=ce.fontMetrics().num1,An>0?ti=3*Cn:ti=7*Cn,wi=ce.fontMetrics().denom1):(An>0?(Xn=ce.fontMetrics().num2,ti=Cn):(Xn=ce.fontMetrics().num3,ti=3*Cn),wi=ce.fontMetrics().denom2);var ea;if(ln){var Sa=ce.fontMetrics().axisHeight;Xn-cr.depth-(Sa+.5*An)<ti&&(Xn+=ti-(Xn-cr.depth-(Sa+.5*An))),Sa-.5*An-(qr.height-wi)<ti&&(wi+=ti-(Sa-.5*An-(qr.height-wi)));var lo=-(Sa-.5*An);ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qr,shift:wi},{type:"elem",elem:ln,shift:lo},{type:"elem",elem:cr,shift:-Xn}]},ce)}else{var ji=Xn-cr.depth-(qr.height-wi);ji<ti&&(Xn+=.5*(ti-ji),wi+=.5*(ti-ji)),ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qr,shift:wi},{type:"elem",elem:cr,shift:-Xn}]},ce)}Dt=ce.havingStyle(fe),ea.height*=Dt.sizeMultiplier/ce.sizeMultiplier,ea.depth*=Dt.sizeMultiplier/ce.sizeMultiplier;var Ka;fe.size===_.DISPLAY.size?Ka=ce.fontMetrics().delim1:Ka=ce.fontMetrics().delim2;var Ao,yo;return re.leftDelim==null?Ao=Xa(ce,["mopen"]):Ao=hi.customSizedDelim(re.leftDelim,Ka,!0,ce.havingStyle(fe),re.mode,["mopen"]),re.continued?yo=jr.makeSpan([]):re.rightDelim==null?yo=Xa(ce,["mclose"]):yo=hi.customSizedDelim(re.rightDelim,Ka,!0,ce.havingStyle(fe),re.mode,["mclose"]),jr.makeSpan(["mord"].concat(Dt.sizingClasses(ce)),[Ao,jr.makeSpan(["mfrac"],[ea]),yo],ce)},wa=function(re,ce){var fe=new Pn.MathNode("mfrac",[Cr(re.numer,ce),Cr(re.denom,ce)]);if(!re.hasBarLine)fe.setAttribute("linethickness","0px");else if(re.barSize){var Le=Xe(re.barSize,ce);fe.setAttribute("linethickness",Le+"em")}var st=ba(re.size,ce.style);if(st.size!==ce.style.size){fe=new Pn.MathNode("mstyle",[fe]);var Dt=st.size===_.DISPLAY.size?"true":"false";fe.setAttribute("displaystyle",Dt),fe.setAttribute("scriptlevel","0")}if(re.leftDelim!=null||re.rightDelim!=null){var cr=[];if(re.leftDelim!=null){var mr=new Pn.MathNode("mo",[new Pn.TextNode(re.leftDelim.replace("\\",""))]);mr.setAttribute("fence","true"),cr.push(mr)}if(cr.push(fe),re.rightDelim!=null){var Rr=new Pn.MathNode("mo",[new Pn.TextNode(re.rightDelim.replace("\\",""))]);Rr.setAttribute("fence","true"),cr.push(Rr)}return eo(cr)}return fe};Gn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=ce[0],Dt=ce[1],cr,mr=null,Rr=null,qr="auto";switch(Le){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":cr=!0;break;case"\\\\atopfrac":cr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":cr=!1,mr="(",Rr=")";break;case"\\\\bracefrac":cr=!1,mr="\\{",Rr="\\}";break;case"\\\\brackfrac":cr=!1,mr="[",Rr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Le){case"\\cfrac":case"\\dfrac":case"\\dbinom":qr="display";break;case"\\tfrac":case"\\tbinom":qr="text";break}return{type:"genfrac",mode:fe.mode,continued:Le==="\\cfrac",numer:st,denom:Dt,hasBarLine:cr,leftDelim:mr,rightDelim:Rr,size:qr,barSize:null}},htmlBuilder:_a,mathmlBuilder:wa}),Gn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(re){var ce=re.parser,fe=re.funcName,Le=re.token,st;switch(fe){case"\\over":st="\\frac";break;case"\\choose":st="\\binom";break;case"\\atop":st="\\\\atopfrac";break;case"\\brace":st="\\\\bracefrac";break;case"\\brack":st="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:ce.mode,replaceWith:st,token:Le}}});var vi=["display","text","script","scriptscript"],Qa=function(re){var ce=null;return re.length>0&&(ce=re,ce=ce==="."?null:ce),ce};Gn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(re,ce){var fe=re.parser,Le=ce[4],st=ce[5],Dt=gn(ce[0],"atom");Dt&&(Dt=Un(ce[0],"open"));var cr=Dt?Qa(Dt.text):null,mr=gn(ce[1],"atom");mr&&(mr=Un(ce[1],"close"));var Rr=mr?Qa(mr.text):null,qr=Ln(ce[2],"size"),ln,An=null;qr.isBlank?ln=!0:(An=qr.value,ln=An.number>0);var Cn="auto",Xn=gn(ce[3],"ordgroup");if(Xn){if(Xn.body.length>0){var ti=Ln(Xn.body[0],"textord");Cn=vi[Number(ti.text)]}}else Xn=Ln(ce[3],"textord"),Cn=vi[Number(Xn.text)];return{type:"genfrac",mode:fe.mode,numer:Le,denom:st,continued:!1,hasBarLine:ln,barSize:An,leftDelim:cr,rightDelim:Rr,size:Cn}},htmlBuilder:_a,mathmlBuilder:wa}),Gn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=re.token;return{type:"infix",mode:fe.mode,replaceWith:"\\\\abovefrac",size:Ln(ce[0],"size").value,token:st}}}),Gn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=ce[0],Dt=h(Ln(ce[1],"infix").size),cr=ce[2],mr=Dt.number>0;return{type:"genfrac",mode:fe.mode,numer:st,denom:cr,continued:!1,hasBarLine:mr,barSize:Dt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:_a,mathmlBuilder:wa});var za=function(re,ce){var fe=ce.style,Le,st,Dt=gn(re,"supsub");Dt?(Le=Dt.sup?Ki(Dt.sup,ce.havingStyle(fe.sup()),ce):Ki(Dt.sub,ce.havingStyle(fe.sub()),ce),st=Ln(Dt.base,"horizBrace")):st=Ln(re,"horizBrace");var cr=Ki(st.base,ce.havingBaseStyle(_.DISPLAY)),mr=$r.svgSpan(st,ce),Rr;if(st.isOver?(Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:cr},{type:"kern",size:.1},{type:"elem",elem:mr}]},ce),Rr.children[0].children[0].children[1].classes.push("svg-align")):(Rr=jr.makeVList({positionType:"bottom",positionData:cr.depth+.1+mr.height,children:[{type:"elem",elem:mr},{type:"kern",size:.1},{type:"elem",elem:cr}]},ce),Rr.children[0].children[0].children[0].classes.push("svg-align")),Le){var qr=jr.makeSpan(["mord",st.isOver?"mover":"munder"],[Rr],ce);st.isOver?Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:qr},{type:"kern",size:.2},{type:"elem",elem:Le}]},ce):Rr=jr.makeVList({positionType:"bottom",positionData:qr.depth+.2+Le.height+Le.depth,children:[{type:"elem",elem:Le},{type:"kern",size:.2},{type:"elem",elem:qr}]},ce)}return jr.makeSpan(["mord",st.isOver?"mover":"munder"],[Rr],ce)},pa=function(re,ce){var fe=$r.mathMLnode(re.label);return new Pn.MathNode(re.isOver?"mover":"munder",[Cr(re.base,ce),fe])};Gn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(re,ce){var fe=re.parser,Le=re.funcName;return{type:"horizBrace",mode:fe.mode,label:Le,isOver:/^\\over/.test(Le),base:ce[0]}},htmlBuilder:za,mathmlBuilder:pa}),Gn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(re,ce){var fe=re.parser,Le=ce[1],st=Ln(ce[0],"url").url;return fe.settings.isTrusted({command:"\\href",url:st})?{type:"href",mode:fe.mode,href:st,body:mn(Le)}:fe.formatUnsupportedCmd("\\href")},htmlBuilder:function(re,ce){var fe=di(re.body,ce,!1);return jr.makeAnchor(re.href,[],fe,ce)},mathmlBuilder:function(re,ce){var fe=er(re.body,ce);return fe instanceof ga||(fe=new ga("mrow",[fe])),fe.setAttribute("href",re.href),fe}}),Gn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(re,ce){var fe=re.parser,Le=Ln(ce[0],"url").url;if(!fe.settings.isTrusted({command:"\\url",url:Le}))return fe.formatUnsupportedCmd("\\url");for(var st=[],Dt=0;Dt<Le.length;Dt++){var cr=Le[Dt];cr==="~"&&(cr="\\textasciitilde"),st.push({type:"textord",mode:"text",text:cr})}var mr={type:"text",mode:fe.mode,font:"\\texttt",body:st};return{type:"href",mode:fe.mode,href:Le,body:mn(mr)}}}),Gn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(re,ce){var fe=re.parser;return{type:"htmlmathml",mode:fe.mode,html:mn(ce[0]),mathml:mn(ce[1])}},htmlBuilder:function(re,ce){var fe=di(re.html,ce,!1);return jr.makeFragment(fe)},mathmlBuilder:function(re,ce){return er(re.mathml,ce)}});var Ii=function(re){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(re))return{number:+re,unit:"bp"};var ce=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(re);if(!ce)throw new i("Invalid size: '"+re+"' in \\includegraphics");var fe={number:+(ce[1]+ce[2]),unit:ce[3]};if(!Ve(fe))throw new i("Invalid unit: '"+fe.unit+"' in \\includegraphics.");return fe};Gn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(re,ce,fe){var Le=re.parser,st={number:0,unit:"em"},Dt={number:.9,unit:"em"},cr={number:0,unit:"em"},mr="";if(fe[0])for(var Rr=Ln(fe[0],"raw").string,qr=Rr.split(","),ln=0;ln<qr.length;ln++){var An=qr[ln].split("=");if(An.length===2){var Cn=An[1].trim();switch(An[0].trim()){case"alt":mr=Cn;break;case"width":st=Ii(Cn);break;case"height":Dt=Ii(Cn);break;case"totalheight":cr=Ii(Cn);break;default:throw new i("Invalid key: '"+An[0]+"' in \\includegraphics.")}}}var Xn=Ln(ce[0],"url").url;return mr===""&&(mr=Xn,mr=mr.replace(/^.*[\\/]/,""),mr=mr.substring(0,mr.lastIndexOf("."))),Le.settings.isTrusted({command:"\\includegraphics",url:Xn})?{type:"includegraphics",mode:Le.mode,alt:mr,width:st,height:Dt,totalheight:cr,src:Xn}:Le.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(re,ce){var fe=Xe(re.height,ce),Le=0;re.totalheight.number>0&&(Le=Xe(re.totalheight,ce)-fe,Le=Number(Le.toFixed(2)));var st=0;re.width.number>0&&(st=Xe(re.width,ce));var Dt={height:fe+Le+"em"};st>0&&(Dt.width=st+"em"),Le>0&&(Dt.verticalAlign=-Le+"em");var cr=new vt(re.src,re.alt,Dt);return cr.height=fe,cr.depth=Le,cr},mathmlBuilder:function(re,ce){var fe=new Pn.MathNode("mglyph",[]);fe.setAttribute("alt",re.alt);var Le=Xe(re.height,ce),st=0;if(re.totalheight.number>0&&(st=Xe(re.totalheight,ce)-Le,st=st.toFixed(2),fe.setAttribute("valign","-"+st+"em")),fe.setAttribute("height",Le+st+"em"),re.width.number>0){var Dt=Xe(re.width,ce);fe.setAttribute("width",Dt+"em")}return fe.setAttribute("src",re.src),fe}}),Gn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=Ln(ce[0],"size");if(fe.settings.strict){var Dt=Le[1]==="m",cr=st.value.unit==="mu";Dt?(cr||fe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Le+" supports only mu units, "+("not "+st.value.unit+" units")),fe.mode!=="math"&&fe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Le+" works only in math mode")):cr&&fe.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Le+" doesn't support mu units")}return{type:"kern",mode:fe.mode,dimension:st.value}},htmlBuilder:function(re,ce){return jr.makeGlue(re.dimension,ce)},mathmlBuilder:function(re,ce){var fe=Xe(re.dimension,ce);return new Pn.SpaceNode(fe)}}),Gn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=ce[0];return{type:"lap",mode:fe.mode,alignment:Le.slice(5),body:st}},htmlBuilder:function(re,ce){var fe;re.alignment==="clap"?(fe=jr.makeSpan([],[Ki(re.body,ce)]),fe=jr.makeSpan(["inner"],[fe],ce)):fe=jr.makeSpan(["inner"],[Ki(re.body,ce)]);var Le=jr.makeSpan(["fix"],[]),st=jr.makeSpan([re.alignment],[fe,Le],ce),Dt=jr.makeSpan(["strut"]);return Dt.style.height=st.height+st.depth+"em",Dt.style.verticalAlign=-st.depth+"em",st.children.unshift(Dt),st=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:st}]},ce),jr.makeSpan(["mord"],[st],ce)},mathmlBuilder:function(re,ce){var fe=new Pn.MathNode("mpadded",[Cr(re.body,ce)]);if(re.alignment!=="rlap"){var Le=re.alignment==="llap"?"-1":"-0.5";fe.setAttribute("lspace",Le+"width")}return fe.setAttribute("width","0px"),fe}}),Gn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(re,ce){var fe=re.funcName,Le=re.parser,st=Le.mode;Le.switchMode("math");var Dt=fe==="\\("?"\\)":"$",cr=Le.parseExpression(!1,Dt);return Le.expect(Dt),Le.switchMode(st),{type:"styling",mode:Le.mode,style:"text",body:cr}}}),Gn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(re,ce){throw new i("Mismatched "+re.funcName)}});var So=function(re,ce){switch(ce.style.size){case _.DISPLAY.size:return re.display;case _.TEXT.size:return re.text;case _.SCRIPT.size:return re.script;case _.SCRIPTSCRIPT.size:return re.scriptscript;default:return re.text}};Gn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(re,ce){var fe=re.parser;return{type:"mathchoice",mode:fe.mode,display:mn(ce[0]),text:mn(ce[1]),script:mn(ce[2]),scriptscript:mn(ce[3])}},htmlBuilder:function(re,ce){var fe=So(re,ce),Le=di(fe,ce,!1);return jr.makeFragment(Le)},mathmlBuilder:function(re,ce){var fe=So(re,ce);return er(fe,ce)}});var Wa=function(re,ce,fe,Le,st,Dt,cr){re=jr.makeSpan([],[re]);var mr,Rr;if(ce){var qr=Ki(ce,Le.havingStyle(st.sup()),Le);Rr={elem:qr,kern:Math.max(Le.fontMetrics().bigOpSpacing1,Le.fontMetrics().bigOpSpacing3-qr.depth)}}if(fe){var ln=Ki(fe,Le.havingStyle(st.sub()),Le);mr={elem:ln,kern:Math.max(Le.fontMetrics().bigOpSpacing2,Le.fontMetrics().bigOpSpacing4-ln.height)}}var An;if(Rr&&mr){var Cn=Le.fontMetrics().bigOpSpacing5+mr.elem.height+mr.elem.depth+mr.kern+re.depth+cr;An=jr.makeVList({positionType:"bottom",positionData:Cn,children:[{type:"kern",size:Le.fontMetrics().bigOpSpacing5},{type:"elem",elem:mr.elem,marginLeft:-Dt+"em"},{type:"kern",size:mr.kern},{type:"elem",elem:re},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Dt+"em"},{type:"kern",size:Le.fontMetrics().bigOpSpacing5}]},Le)}else if(mr){var Xn=re.height-cr;An=jr.makeVList({positionType:"top",positionData:Xn,children:[{type:"kern",size:Le.fontMetrics().bigOpSpacing5},{type:"elem",elem:mr.elem,marginLeft:-Dt+"em"},{type:"kern",size:mr.kern},{type:"elem",elem:re}]},Le)}else if(Rr){var ti=re.depth+cr;An=jr.makeVList({positionType:"bottom",positionData:ti,children:[{type:"elem",elem:re},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Dt+"em"},{type:"kern",size:Le.fontMetrics().bigOpSpacing5}]},Le)}else return re;return jr.makeSpan(["mop","op-limits"],[An],Le)},ja=["\\smallint"],Ja=function(re,ce){var fe,Le,st=!1,Dt,cr=gn(re,"supsub");cr?(fe=cr.sup,Le=cr.sub,Dt=Ln(cr.base,"op"),st=!0):Dt=Ln(re,"op");var mr=ce.style,Rr=!1;mr.size===_.DISPLAY.size&&Dt.symbol&&!y.contains(ja,Dt.name)&&(Rr=!0);var qr;if(Dt.symbol){var ln=Rr?"Size2-Regular":"Size1-Regular",An="";if((Dt.name==="\\oiint"||Dt.name==="\\oiiint")&&(An=Dt.name.substr(1),Dt.name=An==="oiint"?"\\iint":"\\iiint"),qr=jr.makeSymbol(Dt.name,ln,"math",ce,["mop","op-symbol",Rr?"large-op":"small-op"]),An.length>0){var Cn=qr.italic,Xn=jr.staticSvg(An+"Size"+(Rr?"2":"1"),ce);qr=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qr,shift:0},{type:"elem",elem:Xn,shift:Rr?.08:0}]},ce),Dt.name="\\"+An,qr.classes.unshift("mop"),qr.italic=Cn}}else if(Dt.body){var ti=di(Dt.body,ce,!0);ti.length===1&&ti[0]instanceof mt?(qr=ti[0],qr.classes[0]="mop"):qr=jr.makeSpan(["mop"],jr.tryCombineChars(ti),ce)}else{for(var wi=[],ea=1;ea<Dt.name.length;ea++)wi.push(jr.mathsym(Dt.name[ea],Dt.mode,ce));qr=jr.makeSpan(["mop"],wi,ce)}var ji=0,Sa=0;return(qr instanceof mt||Dt.name==="\\oiint"||Dt.name==="\\oiiint")&&!Dt.suppressBaseShift&&(ji=(qr.height-qr.depth)/2-ce.fontMetrics().axisHeight,Sa=qr.italic),st?Wa(qr,fe,Le,ce,mr,Sa,ji):(ji&&(qr.style.position="relative",qr.style.top=ji+"em"),qr)},ho=function(re,ce){var fe;if(re.symbol)fe=new ga("mo",[qi(re.name,re.mode)]),y.contains(ja,re.name)&&fe.setAttribute("largeop","false");else if(re.body)fe=new ga("mo",co(re.body,ce));else{fe=new ga("mi",[new ha(re.name.slice(1))]);var Le=new ga("mo",[qi("\u2061","text")]);re.parentIsSupSub?fe=new ga("mo",[fe,Le]):fe=Hi([fe,Le])}return fe},Ca={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Gn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=Le;return st.length===1&&(st=Ca[st]),{type:"op",mode:fe.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:st}},htmlBuilder:Ja,mathmlBuilder:ho}),Gn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(re,ce){var fe=re.parser,Le=ce[0];return{type:"op",mode:fe.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mn(Le)}},htmlBuilder:Ja,mathmlBuilder:ho});var to={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Gn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(re){var ce=re.parser,fe=re.funcName;return{type:"op",mode:ce.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:fe}},htmlBuilder:Ja,mathmlBuilder:ho}),Gn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(re){var ce=re.parser,fe=re.funcName;return{type:"op",mode:ce.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:fe}},htmlBuilder:Ja,mathmlBuilder:ho}),Gn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(re){var ce=re.parser,fe=re.funcName,Le=fe;return Le.length===1&&(Le=to[Le]),{type:"op",mode:ce.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Le}},htmlBuilder:Ja,mathmlBuilder:ho});var Oo=function(re,ce){var fe,Le,st=!1,Dt,cr=gn(re,"supsub");cr?(fe=cr.sup,Le=cr.sub,Dt=Ln(cr.base,"operatorname"),st=!0):Dt=Ln(re,"operatorname");var mr;if(Dt.body.length>0){for(var Rr=Dt.body.map(function(Cn){var Xn=Cn.text;return typeof Xn=="string"?{type:"textord",mode:Cn.mode,text:Xn}:Cn}),qr=di(Rr,ce.withFont("mathrm"),!0),ln=0;ln<qr.length;ln++){var An=qr[ln];An instanceof mt&&(An.text=An.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}mr=jr.makeSpan(["mop"],qr,ce)}else mr=jr.makeSpan(["mop"],[],ce);return st?Wa(mr,fe,Le,ce,ce.style,0,0):mr},Ta=function(re,ce){for(var fe=co(re.body,ce.withFont("mathrm")),Le=!0,st=0;st<fe.length;st++){var Dt=fe[st];if(!(Dt instanceof Pn.SpaceNode))if(Dt instanceof Pn.MathNode)switch(Dt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var cr=Dt.children[0];Dt.children.length===1&&cr instanceof Pn.TextNode?cr.text=cr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Le=!1;break}default:Le=!1}else Le=!1}if(Le){var mr=fe.map(function(ln){return ln.toText()}).join("");fe=[new Pn.TextNode(mr)]}var Rr=new Pn.MathNode("mi",fe);Rr.setAttribute("mathvariant","normal");var qr=new Pn.MathNode("mo",[qi("\u2061","text")]);return re.parentIsSupSub?new Pn.MathNode("mo",[Rr,qr]):Pn.newDocumentFragment([Rr,qr])};Gn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=ce[0];return{type:"operatorname",mode:fe.mode,body:mn(st),alwaysHandleSupSub:Le==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Oo,mathmlBuilder:Ta}),Ia({type:"ordgroup",htmlBuilder:function(re,ce){return re.semisimple?jr.makeFragment(di(re.body,ce,!1)):jr.makeSpan(["mord"],di(re.body,ce,!0),ce)},mathmlBuilder:function(re,ce){return er(re.body,ce,!0)}}),Gn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(re,ce){var fe=re.parser,Le=ce[0];return{type:"overline",mode:fe.mode,body:Le}},htmlBuilder:function(re,ce){var fe=Ki(re.body,ce.havingCrampedStyle()),Le=jr.makeLineSpan("overline-line",ce),st=ce.fontMetrics().defaultRuleThickness,Dt=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:fe},{type:"kern",size:3*st},{type:"elem",elem:Le},{type:"kern",size:st}]},ce);return jr.makeSpan(["mord","overline"],[Dt],ce)},mathmlBuilder:function(re,ce){var fe=new Pn.MathNode("mo",[new Pn.TextNode("\u203E")]);fe.setAttribute("stretchy","true");var Le=new Pn.MathNode("mover",[Cr(re.body,ce),fe]);return Le.setAttribute("accent","true"),Le}}),Gn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){var fe=re.parser,Le=ce[0];return{type:"phantom",mode:fe.mode,body:mn(Le)}},htmlBuilder:function(re,ce){var fe=di(re.body,ce.withPhantom(),!1);return jr.makeFragment(fe)},mathmlBuilder:function(re,ce){var fe=co(re.body,ce);return new Pn.MathNode("mphantom",fe)}}),Gn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){var fe=re.parser,Le=ce[0];return{type:"hphantom",mode:fe.mode,body:Le}},htmlBuilder:function(re,ce){var fe=jr.makeSpan([],[Ki(re.body,ce.withPhantom())]);if(fe.height=0,fe.depth=0,fe.children)for(var Le=0;Le<fe.children.length;Le++)fe.children[Le].height=0,fe.children[Le].depth=0;return fe=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:fe}]},ce),jr.makeSpan(["mord"],[fe],ce)},mathmlBuilder:function(re,ce){var fe=co(mn(re.body),ce),Le=new Pn.MathNode("mphantom",fe),st=new Pn.MathNode("mpadded",[Le]);return st.setAttribute("height","0px"),st.setAttribute("depth","0px"),st}}),Gn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){var fe=re.parser,Le=ce[0];return{type:"vphantom",mode:fe.mode,body:Le}},htmlBuilder:function(re,ce){var fe=jr.makeSpan(["inner"],[Ki(re.body,ce.withPhantom())]),Le=jr.makeSpan(["fix"],[]);return jr.makeSpan(["mord","rlap"],[fe,Le],ce)},mathmlBuilder:function(re,ce){var fe=co(mn(re.body),ce),Le=new Pn.MathNode("mphantom",fe),st=new Pn.MathNode("mpadded",[Le]);return st.setAttribute("width","0px"),st}}),Gn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(re,ce){var fe=re.parser,Le=Ln(ce[0],"size").value,st=ce[1];return{type:"raisebox",mode:fe.mode,dy:Le,body:st}},htmlBuilder:function(re,ce){var fe=Ki(re.body,ce),Le=Xe(re.dy,ce);return jr.makeVList({positionType:"shift",positionData:-Le,children:[{type:"elem",elem:fe}]},ce)},mathmlBuilder:function(re,ce){var fe=new Pn.MathNode("mpadded",[Cr(re.body,ce)]),Le=re.dy.number+re.dy.unit;return fe.setAttribute("voffset",Le),fe}}),Gn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(re,ce,fe){var Le=re.parser,st=fe[0],Dt=Ln(ce[0],"size"),cr=Ln(ce[1],"size");return{type:"rule",mode:Le.mode,shift:st&&Ln(st,"size").value,width:Dt.value,height:cr.value}},htmlBuilder:function(re,ce){var fe=jr.makeSpan(["mord","rule"],[],ce),Le=Xe(re.width,ce),st=Xe(re.height,ce),Dt=re.shift?Xe(re.shift,ce):0;return fe.style.borderRightWidth=Le+"em",fe.style.borderTopWidth=st+"em",fe.style.bottom=Dt+"em",fe.width=Le,fe.height=st+Dt,fe.depth=-Dt,fe.maxFontSize=st*1.125*ce.sizeMultiplier,fe},mathmlBuilder:function(re,ce){var fe=Xe(re.width,ce),Le=Xe(re.height,ce),st=re.shift?Xe(re.shift,ce):0,Dt=ce.color&&ce.getColor()||"black",cr=new Pn.MathNode("mspace");cr.setAttribute("mathbackground",Dt),cr.setAttribute("width",fe+"em"),cr.setAttribute("height",Le+"em");var mr=new Pn.MathNode("mpadded",[cr]);return st>=0?mr.setAttribute("height","+"+st+"em"):(mr.setAttribute("height",st+"em"),mr.setAttribute("depth","+"+-st+"em")),mr.setAttribute("voffset",st+"em"),mr}});function Fi(Nt,re,ce){for(var fe=di(Nt,re,!1),Le=re.sizeMultiplier/ce.sizeMultiplier,st=0;st<fe.length;st++){var Dt=fe[st].classes.indexOf("sizing");Dt<0?Array.prototype.push.apply(fe[st].classes,re.sizingClasses(ce)):fe[st].classes[Dt+1]==="reset-size"+re.size&&(fe[st].classes[Dt+1]="reset-size"+ce.size),fe[st].height*=Le,fe[st].depth*=Le}return jr.makeFragment(fe)}var Za=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ra=function(re,ce){var fe=ce.havingSize(re.size);return Fi(re.body,fe,ce)};Gn({type:"sizing",names:Za,props:{numArgs:0,allowedInText:!0},handler:function(re,ce){var fe=re.breakOnTokenText,Le=re.funcName,st=re.parser,Dt=st.parseExpression(!1,fe);return{type:"sizing",mode:st.mode,size:Za.indexOf(Le)+1,body:Dt}},htmlBuilder:Ra,mathmlBuilder:function(re,ce){var fe=ce.havingSize(re.size),Le=co(re.body,fe),st=new Pn.MathNode("mstyle",Le);return st.setAttribute("mathsize",fe.sizeMultiplier+"em"),st}}),Gn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(re,ce,fe){var Le=re.parser,st=!1,Dt=!1,cr=fe[0]&&Ln(fe[0],"ordgroup");if(cr)for(var mr="",Rr=0;Rr<cr.body.length;++Rr){var qr=cr.body[Rr];if(mr=qr.text,mr==="t")st=!0;else if(mr==="b")Dt=!0;else{st=!1,Dt=!1;break}}else st=!0,Dt=!0;var ln=ce[0];return{type:"smash",mode:Le.mode,body:ln,smashHeight:st,smashDepth:Dt}},htmlBuilder:function(re,ce){var fe=jr.makeSpan([],[Ki(re.body,ce)]);if(!re.smashHeight&&!re.smashDepth)return fe;if(re.smashHeight&&(fe.height=0,fe.children))for(var Le=0;Le<fe.children.length;Le++)fe.children[Le].height=0;if(re.smashDepth&&(fe.depth=0,fe.children))for(var st=0;st<fe.children.length;st++)fe.children[st].depth=0;var Dt=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:fe}]},ce);return jr.makeSpan(["mord"],[Dt],ce)},mathmlBuilder:function(re,ce){var fe=new Pn.MathNode("mpadded",[Cr(re.body,ce)]);return re.smashHeight&&fe.setAttribute("height","0px"),re.smashDepth&&fe.setAttribute("depth","0px"),fe}}),Gn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(re,ce,fe){var Le=re.parser,st=fe[0],Dt=ce[0];return{type:"sqrt",mode:Le.mode,body:Dt,index:st}},htmlBuilder:function(re,ce){var fe=Ki(re.body,ce.havingCrampedStyle());fe.height===0&&(fe.height=ce.fontMetrics().xHeight),fe=jr.wrapFragment(fe,ce);var Le=ce.fontMetrics(),st=Le.defaultRuleThickness,Dt=st;ce.style.id<_.TEXT.id&&(Dt=ce.fontMetrics().xHeight);var cr=st+Dt/4,mr=fe.height+fe.depth+cr+st,Rr=hi.sqrtImage(mr,ce),qr=Rr.span,ln=Rr.ruleWidth,An=Rr.advanceWidth,Cn=qr.height-ln;Cn>fe.height+fe.depth+cr&&(cr=(cr+Cn-fe.height-fe.depth)/2);var Xn=qr.height-fe.height-cr-ln;fe.style.paddingLeft=An+"em";var ti=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:fe,wrapperClasses:["svg-align"]},{type:"kern",size:-(fe.height+Xn)},{type:"elem",elem:qr},{type:"kern",size:ln}]},ce);if(re.index){var wi=ce.havingStyle(_.SCRIPTSCRIPT),ea=Ki(re.index,wi,ce),ji=.6*(ti.height-ti.depth),Sa=jr.makeVList({positionType:"shift",positionData:-ji,children:[{type:"elem",elem:ea}]},ce),lo=jr.makeSpan(["root"],[Sa]);return jr.makeSpan(["mord","sqrt"],[lo,ti],ce)}else return jr.makeSpan(["mord","sqrt"],[ti],ce)},mathmlBuilder:function(re,ce){var fe=re.body,Le=re.index;return Le?new Pn.MathNode("mroot",[Cr(fe,ce),Cr(Le,ce)]):new Pn.MathNode("msqrt",[Cr(fe,ce)])}});var pi={display:_.DISPLAY,text:_.TEXT,script:_.SCRIPT,scriptscript:_.SCRIPTSCRIPT};Gn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(re,ce){var fe=re.breakOnTokenText,Le=re.funcName,st=re.parser,Dt=st.parseExpression(!0,fe),cr=Le.slice(1,Le.length-5);return{type:"styling",mode:st.mode,style:cr,body:Dt}},htmlBuilder:function(re,ce){var fe=pi[re.style],Le=ce.havingStyle(fe).withFont("");return Fi(re.body,Le,ce)},mathmlBuilder:function(re,ce){var fe=pi[re.style],Le=ce.havingStyle(fe),st=co(re.body,Le),Dt=new Pn.MathNode("mstyle",st),cr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},mr=cr[re.style];return Dt.setAttribute("scriptlevel",mr[0]),Dt.setAttribute("displaystyle",mr[1]),Dt}});var Gi=function(re,ce){var fe=re.base;if(fe)if(fe.type==="op"){var Le=fe.limits&&(ce.style.size===_.DISPLAY.size||fe.alwaysHandleSupSub);return Le?Ja:null}else if(fe.type==="operatorname"){var st=fe.alwaysHandleSupSub&&(ce.style.size===_.DISPLAY.size||fe.limits);return st?Oo:null}else{if(fe.type==="accent")return y.isCharacterBox(fe.base)?an:null;if(fe.type==="horizBrace"){var Dt=!re.sub;return Dt===fe.isOver?za:null}else return null}else return null};Ia({type:"supsub",htmlBuilder:function(re,ce){var fe=Gi(re,ce);if(fe)return fe(re,ce);var Le=re.base,st=re.sup,Dt=re.sub,cr=Ki(Le,ce),mr,Rr,qr=ce.fontMetrics(),ln=0,An=0,Cn=Le&&y.isCharacterBox(Le);if(st){var Xn=ce.havingStyle(ce.style.sup());mr=Ki(st,Xn,ce),Cn||(ln=cr.height-Xn.fontMetrics().supDrop*Xn.sizeMultiplier/ce.sizeMultiplier)}if(Dt){var ti=ce.havingStyle(ce.style.sub());Rr=Ki(Dt,ti,ce),Cn||(An=cr.depth+ti.fontMetrics().subDrop*ti.sizeMultiplier/ce.sizeMultiplier)}var wi;ce.style===_.DISPLAY?wi=qr.sup1:ce.style.cramped?wi=qr.sup3:wi=qr.sup2;var ea=ce.sizeMultiplier,ji=.5/qr.ptPerEm/ea+"em",Sa=null;if(Rr){var lo=re.base&&re.base.type==="op"&&re.base.name&&(re.base.name==="\\oiint"||re.base.name==="\\oiiint");(cr instanceof mt||lo)&&(Sa=-cr.italic+"em")}var Ka;if(mr&&Rr){ln=Math.max(ln,wi,mr.depth+.25*qr.xHeight),An=Math.max(An,qr.sub2);var Ao=qr.defaultRuleThickness,yo=4*Ao;if(ln-mr.depth-(Rr.height-An)<yo){An=yo-(ln-mr.depth)+Rr.height;var qa=.8*qr.xHeight-(ln-mr.depth);qa>0&&(ln+=qa,An-=qa)}var Fo=[{type:"elem",elem:Rr,shift:An,marginRight:ji,marginLeft:Sa},{type:"elem",elem:mr,shift:-ln,marginRight:ji}];Ka=jr.makeVList({positionType:"individualShift",children:Fo},ce)}else if(Rr){An=Math.max(An,qr.sub1,Rr.height-.8*qr.xHeight);var Do=[{type:"elem",elem:Rr,marginLeft:Sa,marginRight:ji}];Ka=jr.makeVList({positionType:"shift",positionData:An,children:Do},ce)}else if(mr)ln=Math.max(ln,wi,mr.depth+.25*qr.xHeight),Ka=jr.makeVList({positionType:"shift",positionData:-ln,children:[{type:"elem",elem:mr,marginRight:ji}]},ce);else throw new Error("supsub must have either sup or sub.");var Ha=ka(cr,"right")||"mord";return jr.makeSpan([Ha],[cr,jr.makeSpan(["msupsub"],[Ka])],ce)},mathmlBuilder:function(re,ce){var fe=!1,Le,st,Dt=gn(re.base,"horizBrace");Dt&&(st=!!re.sup,st===Dt.isOver&&(fe=!0,Le=Dt.isOver)),re.base&&(re.base.type==="op"||re.base.type==="operatorname")&&(re.base.parentIsSupSub=!0);var cr=[Cr(re.base,ce)];re.sub&&cr.push(Cr(re.sub,ce)),re.sup&&cr.push(Cr(re.sup,ce));var mr;if(fe)mr=Le?"mover":"munder";else if(re.sub)if(re.sup){var ln=re.base;ln&&ln.type==="op"&&ln.limits&&ce.style===_.DISPLAY||ln&&ln.type==="operatorname"&&ln.alwaysHandleSupSub&&(ce.style===_.DISPLAY||ln.limits)?mr="munderover":mr="msubsup"}else{var qr=re.base;qr&&qr.type==="op"&&qr.limits&&(ce.style===_.DISPLAY||qr.alwaysHandleSupSub)||qr&&qr.type==="operatorname"&&qr.alwaysHandleSupSub&&(qr.limits||ce.style===_.DISPLAY)?mr="munder":mr="msub"}else{var Rr=re.base;Rr&&Rr.type==="op"&&Rr.limits&&(ce.style===_.DISPLAY||Rr.alwaysHandleSupSub)||Rr&&Rr.type==="operatorname"&&Rr.alwaysHandleSupSub&&(Rr.limits||ce.style===_.DISPLAY)?mr="mover":mr="msup"}var An=new Pn.MathNode(mr,cr);return An}}),Ia({type:"atom",htmlBuilder:function(re,ce){return jr.mathsym(re.text,re.mode,ce,["m"+re.family])},mathmlBuilder:function(re,ce){var fe=new Pn.MathNode("mo",[qi(re.text,re.mode)]);if(re.family==="bin"){var Le=Lo(re,ce);Le==="bold-italic"&&fe.setAttribute("mathvariant",Le)}else re.family==="punct"?fe.setAttribute("separator","true"):(re.family==="open"||re.family==="close")&&fe.setAttribute("stretchy","false");return fe}});var oo={mi:"italic",mn:"normal",mtext:"normal"};Ia({type:"mathord",htmlBuilder:function(re,ce){return jr.makeOrd(re,ce,"mathord")},mathmlBuilder:function(re,ce){var fe=new Pn.MathNode("mi",[qi(re.text,re.mode,ce)]),Le=Lo(re,ce)||"italic";return Le!==oo[fe.type]&&fe.setAttribute("mathvariant",Le),fe}}),Ia({type:"textord",htmlBuilder:function(re,ce){return jr.makeOrd(re,ce,"textord")},mathmlBuilder:function(re,ce){var fe=qi(re.text,re.mode,ce),Le=Lo(re,ce)||"normal",st;return re.mode==="text"?st=new Pn.MathNode("mtext",[fe]):/[0-9]/.test(re.text)?st=new Pn.MathNode("mn",[fe]):re.text==="\\prime"?st=new Pn.MathNode("mo",[fe]):st=new Pn.MathNode("mi",[fe]),Le!==oo[st.type]&&st.setAttribute("mathvariant",Le),st}});var go={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ia({type:"spacing",htmlBuilder:function(re,ce){if(fo.hasOwnProperty(re.text)){var fe=fo[re.text].className||"";if(re.mode==="text"){var Le=jr.makeOrd(re,ce,"textord");return Le.classes.push(fe),Le}else return jr.makeSpan(["mspace",fe],[jr.mathsym(re.text,re.mode,ce)],ce)}else{if(go.hasOwnProperty(re.text))return jr.makeSpan(["mspace",go[re.text]],[],ce);throw new i('Unknown type of space "'+re.text+'"')}},mathmlBuilder:function(re,ce){var fe;if(fo.hasOwnProperty(re.text))fe=new Pn.MathNode("mtext",[new Pn.TextNode("\xA0")]);else{if(go.hasOwnProperty(re.text))return new Pn.MathNode("mspace");throw new i('Unknown type of space "'+re.text+'"')}return fe}});var La=function(){var re=new Pn.MathNode("mtd",[]);return re.setAttribute("width","50%"),re};Ia({type:"tag",mathmlBuilder:function(re,ce){var fe=new Pn.MathNode("mtable",[new Pn.MathNode("mtr",[La(),new Pn.MathNode("mtd",[er(re.body,ce)]),La(),new Pn.MathNode("mtd",[er(re.tag,ce)])])]);return fe.setAttribute("width","100%"),fe}});var Pi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ma={"\\textbf":"textbf","\\textmd":"textmd"},Vo={"\\textit":"textit","\\textup":"textup"},ro=function(re,ce){var fe=re.font;return fe?Pi[fe]?ce.withTextFontFamily(Pi[fe]):Ma[fe]?ce.withTextFontWeight(Ma[fe]):ce.withTextFontShape(Vo[fe]):ce};Gn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(re,ce){var fe=re.parser,Le=re.funcName,st=ce[0];return{type:"text",mode:fe.mode,body:mn(st),font:Le}},htmlBuilder:function(re,ce){var fe=ro(re,ce),Le=di(re.body,fe,!0);return jr.makeSpan(["mord","text"],jr.tryCombineChars(Le),fe)},mathmlBuilder:function(re,ce){var fe=ro(re,ce);return er(re.body,fe)}}),Gn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(re,ce){var fe=re.parser;return{type:"underline",mode:fe.mode,body:ce[0]}},htmlBuilder:function(re,ce){var fe=Ki(re.body,ce),Le=jr.makeLineSpan("underline-line",ce),st=ce.fontMetrics().defaultRuleThickness,Dt=jr.makeVList({positionType:"top",positionData:fe.height,children:[{type:"kern",size:st},{type:"elem",elem:Le},{type:"kern",size:3*st},{type:"elem",elem:fe}]},ce);return jr.makeSpan(["mord","underline"],[Dt],ce)},mathmlBuilder:function(re,ce){var fe=new Pn.MathNode("mo",[new Pn.TextNode("\u203E")]);fe.setAttribute("stretchy","true");var Le=new Pn.MathNode("munder",[Cr(re.body,ce),fe]);return Le.setAttribute("accentunder","true"),Le}}),Gn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(re,ce,fe){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(re,ce){for(var fe=vo(re),Le=[],st=ce.havingStyle(ce.style.text()),Dt=0;Dt<fe.length;Dt++){var cr=fe[Dt];cr==="~"&&(cr="\\textasciitilde"),Le.push(jr.makeSymbol(cr,"Typewriter-Regular",re.mode,st,["mord","texttt"]))}return jr.makeSpan(["mord","text"].concat(st.sizingClasses(ce)),jr.tryCombineChars(Le),st)},mathmlBuilder:function(re,ce){var fe=new Pn.TextNode(vo(re)),Le=new Pn.MathNode("mtext",[fe]);return Le.setAttribute("mathvariant","monospace"),Le}});var vo=function(re){return re.body.replace(/ /g,re.star?"\u2423":"\xA0")},po=ta,$i=po,xo=`[ \r
|
|
|
]`,is="\\\\[a-zA-Z@]+",Zo="\\\\[^\uD800-\uDFFF]",Ns=""+is+xo+"*",Cs=new RegExp("^("+is+")"+xo+"*$"),Ls="[\u0300-\u036F]",Go=new RegExp(Ls+"+$"),bo="("+xo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ls+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ls+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ns)+("|"+Zo+")"),$a=function(){function Nt(ce,fe){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=ce,this.settings=fe,this.tokenRegex=new RegExp(bo,"g"),this.catcodes={"%":14}}var re=Nt.prototype;return re.setCatcode=function(fe,Le){this.catcodes[fe]=Le},re.lex=function(){var fe=this.input,Le=this.tokenRegex.lastIndex;if(Le===fe.length)return new b("EOF",new v(this,Le,Le));var st=this.tokenRegex.exec(fe);if(st===null||st.index!==Le)throw new i("Unexpected character: '"+fe[Le]+"'",new b(fe[Le],new v(this,Le,Le+1)));var Dt=st[2]||" ";if(this.catcodes[Dt]===14){var cr=fe.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return cr===-1?(this.tokenRegex.lastIndex=fe.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=cr+1,this.lex()}var mr=Dt.match(Cs);return mr&&(Dt=mr[1]),new b(Dt,new v(this,Le,this.tokenRegex.lastIndex))},Nt}(),Ga=function(){function Nt(ce,fe){ce===void 0&&(ce={}),fe===void 0&&(fe={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=fe,this.builtins=ce,this.undefStack=[]}var re=Nt.prototype;return re.beginGroup=function(){this.undefStack.push({})},re.endGroup=function(){if(this.undefStack.length===0)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var fe=this.undefStack.pop();for(var Le in fe)fe.hasOwnProperty(Le)&&(fe[Le]===void 0?delete this.current[Le]:this.current[Le]=fe[Le])},re.has=function(fe){return this.current.hasOwnProperty(fe)||this.builtins.hasOwnProperty(fe)},re.get=function(fe){return this.current.hasOwnProperty(fe)?this.current[fe]:this.builtins[fe]},re.set=function(fe,Le,st){if(st===void 0&&(st=!1),st){for(var Dt=0;Dt<this.undefStack.length;Dt++)delete this.undefStack[Dt][fe];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][fe]=Le)}else{var cr=this.undefStack[this.undefStack.length-1];cr&&!cr.hasOwnProperty(fe)&&(cr[fe]=this.current[fe])}this.current[fe]=Le},Nt}(),so={},ps=so;function wr(Nt,re){so[Nt]=re}wr("\\@firstoftwo",function(Nt){var re=Nt.consumeArgs(2);return{tokens:re[0],numArgs:0}}),wr("\\@secondoftwo",function(Nt){var re=Nt.consumeArgs(2);return{tokens:re[1],numArgs:0}}),wr("\\@ifnextchar",function(Nt){var re=Nt.consumeArgs(3),ce=Nt.future();return re[0].length===1&&re[0][0].text===ce.text?{tokens:re[1],numArgs:0}:{tokens:re[2],numArgs:0}}),wr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),wr("\\TextOrMath",function(Nt){var re=Nt.consumeArgs(2);return Nt.mode==="text"?{tokens:re[0],numArgs:0}:{tokens:re[1],numArgs:0}});var Yo={"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};wr("\\char",function(Nt){var re=Nt.popToken(),ce,fe="";if(re.text==="'")ce=8,re=Nt.popToken();else if(re.text==='"')ce=16,re=Nt.popToken();else if(re.text==="`")if(re=Nt.popToken(),re.text[0]==="\\")fe=re.text.charCodeAt(1);else{if(re.text==="EOF")throw new i("\\char` missing argument");fe=re.text.charCodeAt(0)}else ce=10;if(ce){if(fe=Yo[re.text],fe==null||fe>=ce)throw new i("Invalid base-"+ce+" digit "+re.text);for(var Le;(Le=Yo[Nt.future().text])!=null&&Le<ce;)fe*=ce,fe+=Le,Nt.popToken()}return"\\@char{"+fe+"}"});var ss=function(re,ce){var fe=re.consumeArgs(1)[0];if(fe.length!==1)throw new i("\\gdef's first argument must be a macro name");var Le=fe[0].text,st=0;for(fe=re.consumeArgs(1)[0];fe.length===1&&fe[0].text==="#";){if(fe=re.consumeArgs(1)[0],fe.length!==1)throw new i('Invalid argument number length "'+fe.length+'"');if(!/^[1-9]$/.test(fe[0].text))throw new i('Invalid argument number "'+fe[0].text+'"');if(st++,parseInt(fe[0].text)!==st)throw new i('Argument number "'+fe[0].text+'" out of order');fe=re.consumeArgs(1)[0]}return re.macros.set(Le,{tokens:fe,numArgs:st},ce),""};wr("\\gdef",function(Nt){return ss(Nt,!0)}),wr("\\def",function(Nt){return ss(Nt,!1)}),wr("\\global",function(Nt){var re=Nt.consumeArgs(1)[0];if(re.length!==1)throw new i("Invalid command after \\global");var ce=re[0].text;if(ce==="\\def")return ss(Nt,!0);throw new i("Invalid command '"+ce+"' after \\global")});var Os=function(re,ce,fe){var Le=re.consumeArgs(1)[0];if(Le.length!==1)throw new i("\\newcommand's first argument must be a macro name");var st=Le[0].text,Dt=re.isDefined(st);if(Dt&&!ce)throw new i("\\newcommand{"+st+"} attempting to redefine "+(st+"; use \\renewcommand"));if(!Dt&&!fe)throw new i("\\renewcommand{"+st+"} when command "+st+" does not yet exist; use \\newcommand");var cr=0;if(Le=re.consumeArgs(1)[0],Le.length===1&&Le[0].text==="["){for(var mr="",Rr=re.expandNextToken();Rr.text!=="]"&&Rr.text!=="EOF";)mr+=Rr.text,Rr=re.expandNextToken();if(!mr.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+mr);cr=parseInt(mr),Le=re.consumeArgs(1)[0]}return re.macros.set(st,{tokens:Le,numArgs:cr}),""};wr("\\newcommand",function(Nt){return Os(Nt,!1,!0)}),wr("\\renewcommand",function(Nt){return Os(Nt,!0,!1)}),wr("\\providecommand",function(Nt){return Os(Nt,!0,!0)}),wr("\\bgroup","{"),wr("\\egroup","}"),wr("\\lq","`"),wr("\\rq","'"),wr("\\aa","\\r a"),wr("\\AA","\\r A"),wr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),wr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),wr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),wr("\u212C","\\mathscr{B}"),wr("\u2130","\\mathscr{E}"),wr("\u2131","\\mathscr{F}"),wr("\u210B","\\mathscr{H}"),wr("\u2110","\\mathscr{I}"),wr("\u2112","\\mathscr{L}"),wr("\u2133","\\mathscr{M}"),wr("\u211B","\\mathscr{R}"),wr("\u212D","\\mathfrak{C}"),wr("\u210C","\\mathfrak{H}"),wr("\u2128","\\mathfrak{Z}"),wr("\\Bbbk","\\Bbb{k}"),wr("\xB7","\\cdotp"),wr("\\llap","\\mathllap{\\textrm{#1}}"),wr("\\rlap","\\mathrlap{\\textrm{#1}}"),wr("\\clap","\\mathclap{\\textrm{#1}}"),wr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),wr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),wr("\\ne","\\neq"),wr("\u2260","\\neq"),wr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),wr("\u2209","\\notin"),wr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),wr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),wr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),wr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),wr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),wr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),wr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),wr("\u27C2","\\perp"),wr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),wr("\u220C","\\notni"),wr("\u231C","\\ulcorner"),wr("\u231D","\\urcorner"),wr("\u231E","\\llcorner"),wr("\u231F","\\lrcorner"),wr("\xA9","\\copyright"),wr("\xAE","\\textregistered"),wr("\uFE0F","\\textregistered"),wr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),wr("\u22EE","\\vdots"),wr("\\varGamma","\\mathit{\\Gamma}"),wr("\\varDelta","\\mathit{\\Delta}"),wr("\\varTheta","\\mathit{\\Theta}"),wr("\\varLambda","\\mathit{\\Lambda}"),wr("\\varXi","\\mathit{\\Xi}"),wr("\\varPi","\\mathit{\\Pi}"),wr("\\varSigma","\\mathit{\\Sigma}"),wr("\\varUpsilon","\\mathit{\\Upsilon}"),wr("\\varPhi","\\mathit{\\Phi}"),wr("\\varPsi","\\mathit{\\Psi}"),wr("\\varOmega","\\mathit{\\Omega}"),wr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),wr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),wr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),wr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),wr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),wr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Fa={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};wr("\\dots",function(Nt){var re="\\dotso",ce=Nt.expandAfterFuture().text;return ce in Fa?re=Fa[ce]:ce.substr(0,4)==="\\not"?re="\\dotsb":ce in et.math&&(y.contains(["bin","rel"],et.math[ce].group)&&(re="\\dotsb")),re});var Oa={")":!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};wr("\\dotso",function(Nt){var re=Nt.future().text;return re in Oa?"\\ldots\\,":"\\ldots"}),wr("\\dotsc",function(Nt){var re=Nt.future().text;return re in Oa&&re!==","?"\\ldots\\,":"\\ldots"}),wr("\\cdots",function(Nt){var re=Nt.future().text;return re in Oa?"\\@cdots\\,":"\\@cdots"}),wr("\\dotsb","\\cdots"),wr("\\dotsm","\\cdots"),wr("\\dotsi","\\!\\cdots"),wr("\\dotsx","\\ldots\\,"),wr("\\DOTSI","\\relax"),wr("\\DOTSB","\\relax"),wr("\\DOTSX","\\relax"),wr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),wr("\\,","\\tmspace+{3mu}{.1667em}"),wr("\\thinspace","\\,"),wr("\\>","\\mskip{4mu}"),wr("\\:","\\tmspace+{4mu}{.2222em}"),wr("\\medspace","\\:"),wr("\\;","\\tmspace+{5mu}{.2777em}"),wr("\\thickspace","\\;"),wr("\\!","\\tmspace-{3mu}{.1667em}"),wr("\\negthinspace","\\!"),wr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),wr("\\negthickspace","\\tmspace-{5mu}{.277em}"),wr("\\enspace","\\kern.5em "),wr("\\enskip","\\hskip.5em\\relax"),wr("\\quad","\\hskip1em\\relax"),wr("\\qquad","\\hskip2em\\relax"),wr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),wr("\\tag@paren","\\tag@literal{({#1})}"),wr("\\tag@literal",function(Nt){if(Nt.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),wr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),wr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),wr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),wr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),wr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),wr("\\\\","\\newline"),wr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Io=Bt["Main-Regular"]["T".charCodeAt(0)][1]-.7*Bt["Main-Regular"]["A".charCodeAt(0)][1]+"em";wr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Io+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),wr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Io+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),wr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),wr("\\@hspace","\\hskip #1\\relax"),wr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),wr("\\ordinarycolon",":"),wr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),wr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),wr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),wr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),wr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),wr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),wr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),wr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),wr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),wr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),wr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),wr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),wr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),wr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),wr("\u2237","\\dblcolon"),wr("\u2239","\\eqcolon"),wr("\u2254","\\coloneqq"),wr("\u2255","\\eqqcolon"),wr("\u2A74","\\Coloneqq"),wr("\\ratio","\\vcentcolon"),wr("\\coloncolon","\\dblcolon"),wr("\\colonequals","\\coloneqq"),wr("\\coloncolonequals","\\Coloneqq"),wr("\\equalscolon","\\eqqcolon"),wr("\\equalscoloncolon","\\Eqqcolon"),wr("\\colonminus","\\coloneq"),wr("\\coloncolonminus","\\Coloneq"),wr("\\minuscolon","\\eqcolon"),wr("\\minuscoloncolon","\\Eqcolon"),wr("\\coloncolonapprox","\\Colonapprox"),wr("\\coloncolonsim","\\Colonsim"),wr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),wr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),wr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),wr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),wr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),wr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),wr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),wr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),wr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),wr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),wr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),wr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),wr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),wr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),wr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),wr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),wr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),wr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),wr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),wr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),wr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),wr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),wr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),wr("\u27E6","\\llbracket"),wr("\u27E7","\\rrbracket"),wr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),wr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),wr("\u2983","\\lBrace"),wr("\u2984","\\rBrace"),wr("\\darr","\\downarrow"),wr("\\dArr","\\Downarrow"),wr("\\Darr","\\Downarrow"),wr("\\lang","\\langle"),wr("\\rang","\\rangle"),wr("\\uarr","\\uparrow"),wr("\\uArr","\\Uparrow"),wr("\\Uarr","\\Uparrow"),wr("\\N","\\mathbb{N}"),wr("\\R","\\mathbb{R}"),wr("\\Z","\\mathbb{Z}"),wr("\\alef","\\aleph"),wr("\\alefsym","\\aleph"),wr("\\Alpha","\\mathrm{A}"),wr("\\Beta","\\mathrm{B}"),wr("\\bull","\\bullet"),wr("\\Chi","\\mathrm{X}"),wr("\\clubs","\\clubsuit"),wr("\\cnums","\\mathbb{C}"),wr("\\Complex","\\mathbb{C}"),wr("\\Dagger","\\ddagger"),wr("\\diamonds","\\diamondsuit"),wr("\\empty","\\emptyset"),wr("\\Epsilon","\\mathrm{E}"),wr("\\Eta","\\mathrm{H}"),wr("\\exist","\\exists"),wr("\\harr","\\leftrightarrow"),wr("\\hArr","\\Leftrightarrow"),wr("\\Harr","\\Leftrightarrow"),wr("\\hearts","\\heartsuit"),wr("\\image","\\Im"),wr("\\infin","\\infty"),wr("\\Iota","\\mathrm{I}"),wr("\\isin","\\in"),wr("\\Kappa","\\mathrm{K}"),wr("\\larr","\\leftarrow"),wr("\\lArr","\\Leftarrow"),wr("\\Larr","\\Leftarrow"),wr("\\lrarr","\\leftrightarrow"),wr("\\lrArr","\\Leftrightarrow"),wr("\\Lrarr","\\Leftrightarrow"),wr("\\Mu","\\mathrm{M}"),wr("\\natnums","\\mathbb{N}"),wr("\\Nu","\\mathrm{N}"),wr("\\Omicron","\\mathrm{O}"),wr("\\plusmn","\\pm"),wr("\\rarr","\\rightarrow"),wr("\\rArr","\\Rightarrow"),wr("\\Rarr","\\Rightarrow"),wr("\\real","\\Re"),wr("\\reals","\\mathbb{R}"),wr("\\Reals","\\mathbb{R}"),wr("\\Rho","\\mathrm{P}"),wr("\\sdot","\\cdot"),wr("\\sect","\\S"),wr("\\spades","\\spadesuit"),wr("\\sub","\\subset"),wr("\\sube","\\subseteq"),wr("\\supe","\\supseteq"),wr("\\Tau","\\mathrm{T}"),wr("\\thetasym","\\vartheta"),wr("\\weierp","\\wp"),wr("\\Zeta","\\mathrm{Z}"),wr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),wr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),wr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),wr("\\blue","\\textcolor{##6495ed}{#1}"),wr("\\orange","\\textcolor{##ffa500}{#1}"),wr("\\pink","\\textcolor{##ff00af}{#1}"),wr("\\red","\\textcolor{##df0030}{#1}"),wr("\\green","\\textcolor{##28ae7b}{#1}"),wr("\\gray","\\textcolor{gray}{#1}"),wr("\\purple","\\textcolor{##9d38bd}{#1}"),wr("\\blueA","\\textcolor{##ccfaff}{#1}"),wr("\\blueB","\\textcolor{##80f6ff}{#1}"),wr("\\blueC","\\textcolor{##63d9ea}{#1}"),wr("\\blueD","\\textcolor{##11accd}{#1}"),wr("\\blueE","\\textcolor{##0c7f99}{#1}"),wr("\\tealA","\\textcolor{##94fff5}{#1}"),wr("\\tealB","\\textcolor{##26edd5}{#1}"),wr("\\tealC","\\textcolor{##01d1c1}{#1}"),wr("\\tealD","\\textcolor{##01a995}{#1}"),wr("\\tealE","\\textcolor{##208170}{#1}"),wr("\\greenA","\\textcolor{##b6ffb0}{#1}"),wr("\\greenB","\\textcolor{##8af281}{#1}"),wr("\\greenC","\\textcolor{##74cf70}{#1}"),wr("\\greenD","\\textcolor{##1fab54}{#1}"),wr("\\greenE","\\textcolor{##0d923f}{#1}"),wr("\\goldA","\\textcolor{##ffd0a9}{#1}"),wr("\\goldB","\\textcolor{##ffbb71}{#1}"),wr("\\goldC","\\textcolor{##ff9c39}{#1}"),wr("\\goldD","\\textcolor{##e07d10}{#1}"),wr("\\goldE","\\textcolor{##a75a05}{#1}"),wr("\\redA","\\textcolor{##fca9a9}{#1}"),wr("\\redB","\\textcolor{##ff8482}{#1}"),wr("\\redC","\\textcolor{##f9685d}{#1}"),wr("\\redD","\\textcolor{##e84d39}{#1}"),wr("\\redE","\\textcolor{##bc2612}{#1}"),wr("\\maroonA","\\textcolor{##ffbde0}{#1}"),wr("\\maroonB","\\textcolor{##ff92c6}{#1}"),wr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),wr("\\maroonD","\\textcolor{##ca337c}{#1}"),wr("\\maroonE","\\textcolor{##9e034e}{#1}"),wr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),wr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),wr("\\purpleC","\\textcolor{##aa87ff}{#1}"),wr("\\purpleD","\\textcolor{##7854ab}{#1}"),wr("\\purpleE","\\textcolor{##543b78}{#1}"),wr("\\mintA","\\textcolor{##f5f9e8}{#1}"),wr("\\mintB","\\textcolor{##edf2df}{#1}"),wr("\\mintC","\\textcolor{##e0e5cc}{#1}"),wr("\\grayA","\\textcolor{##f6f7f7}{#1}"),wr("\\grayB","\\textcolor{##f0f1f2}{#1}"),wr("\\grayC","\\textcolor{##e3e5e6}{#1}"),wr("\\grayD","\\textcolor{##d6d8da}{#1}"),wr("\\grayE","\\textcolor{##babec2}{#1}"),wr("\\grayF","\\textcolor{##888d93}{#1}"),wr("\\grayG","\\textcolor{##626569}{#1}"),wr("\\grayH","\\textcolor{##3b3e40}{#1}"),wr("\\grayI","\\textcolor{##21242c}{#1}"),wr("\\kaBlue","\\textcolor{##314453}{#1}"),wr("\\kaGreen","\\textcolor{##71B307}{#1}");var To={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ts=function(){function Nt(ce,fe,Le){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=fe,this.expansionCount=0,this.feed(ce),this.macros=new Ga(ps,fe.macros),this.mode=Le,this.stack=[]}var re=Nt.prototype;return re.feed=function(fe){this.lexer=new $a(fe,this.settings)},re.switchMode=function(fe){this.mode=fe},re.beginGroup=function(){this.macros.beginGroup()},re.endGroup=function(){this.macros.endGroup()},re.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},re.popToken=function(){return this.future(),this.stack.pop()},re.pushToken=function(fe){this.stack.push(fe)},re.pushTokens=function(fe){var Le;(Le=this.stack).push.apply(Le,fe)},re.consumeSpaces=function(){for(;;){var fe=this.future();if(fe.text===" ")this.stack.pop();else break}},re.consumeArgs=function(fe){for(var Le=[],st=0;st<fe;++st){this.consumeSpaces();var Dt=this.popToken();if(Dt.text==="{"){for(var cr=[],mr=1;mr!==0;){var Rr=this.popToken();if(cr.push(Rr),Rr.text==="{")++mr;else if(Rr.text==="}")--mr;else if(Rr.text==="EOF")throw new i("End of input in macro argument",Dt)}cr.pop(),cr.reverse(),Le[st]=cr}else{if(Dt.text==="EOF")throw new i("End of input expecting macro argument");Le[st]=[Dt]}}return Le},re.expandOnce=function(){var fe=this.popToken(),Le=fe.text,st=this._getExpansion(Le);if(st==null)return this.pushToken(fe),fe;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting");var Dt=st.tokens;if(st.numArgs){var cr=this.consumeArgs(st.numArgs);Dt=Dt.slice();for(var mr=Dt.length-1;mr>=0;--mr){var Rr=Dt[mr];if(Rr.text==="#"){if(mr===0)throw new i("Incomplete placeholder at end of macro body",Rr);if(Rr=Dt[--mr],Rr.text==="#")Dt.splice(mr+1,1);else if(/^[1-9]$/.test(Rr.text)){var qr;(qr=Dt).splice.apply(qr,[mr,2].concat(cr[+Rr.text-1]))}else throw new i("Not a valid argument number",Rr)}}}return this.pushTokens(Dt),Dt},re.expandAfterFuture=function(){return this.expandOnce(),this.future()},re.expandNextToken=function(){for(;;){var fe=this.expandOnce();if(fe instanceof b)if(fe.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},re.expandMacro=function(fe){if(!this.macros.get(fe))return;var Le=[],st=this.stack.length;for(this.pushToken(new b(fe));this.stack.length>st;){var Dt=this.expandOnce();Dt instanceof b&&Le.push(this.stack.pop())}return Le},re.expandMacroAsText=function(fe){var Le=this.expandMacro(fe);return Le&&Le.map(function(st){return st.text}).join("")},re._getExpansion=function(fe){var Le=this.macros.get(fe);if(Le==null)return Le;var st=typeof Le=="function"?Le(this):Le;if(typeof st=="string"){var Dt=0;if(st.indexOf("#")!==-1)for(var cr=st.replace(/##/g,"");cr.indexOf("#"+(Dt+1))!==-1;)++Dt;for(var mr=new $a(st,this.settings),Rr=[],qr=mr.lex();qr.text!=="EOF";)Rr.push(qr),qr=mr.lex();Rr.reverse();var ln={tokens:Rr,numArgs:Dt};return ln}return st},re.isDefined=function(fe){return this.macros.has(fe)||$i.hasOwnProperty(fe)||et.math.hasOwnProperty(fe)||et.text.hasOwnProperty(fe)||To.hasOwnProperty(fe)},Nt}(),ko={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},rs={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},ms=function(){function Nt(ce,fe){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ts(ce,fe,this.mode),this.settings=fe,this.leftrightDepth=0}var re=Nt.prototype;return re.expect=function(fe,Le){if(Le===void 0&&(Le=!0),this.fetch().text!==fe)throw new i("Expected '"+fe+"', got '"+this.fetch().text+"'",this.fetch());Le&&this.consume()},re.consume=function(){this.nextToken=null},re.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},re.switchMode=function(fe){this.mode=fe,this.gullet.switchMode(fe)},re.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var fe=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),fe},re.parseExpression=function(fe,Le){for(var st=[];;){this.mode==="math"&&this.consumeSpaces();var Dt=this.fetch();if(Nt.endOfExpression.indexOf(Dt.text)!==-1)break;if(Le&&Dt.text===Le)break;if(fe&&$i[Dt.text]&&$i[Dt.text].infix)break;var cr=this.parseAtom(Le);if(!cr)break;st.push(cr)}return this.mode==="text"&&this.formLigatures(st),this.handleInfixNodes(st)},re.handleInfixNodes=function(fe){for(var Le=-1,st,Dt=0;Dt<fe.length;Dt++){var cr=gn(fe[Dt],"infix");if(cr){if(Le!==-1)throw new i("only one infix operator per group",cr.token);Le=Dt,st=cr.replaceWith}}if(Le!==-1&&st){var mr,Rr,qr=fe.slice(0,Le),ln=fe.slice(Le+1);qr.length===1&&qr[0].type==="ordgroup"?mr=qr[0]:mr={type:"ordgroup",mode:this.mode,body:qr},ln.length===1&&ln[0].type==="ordgroup"?Rr=ln[0]:Rr={type:"ordgroup",mode:this.mode,body:ln};var An;return st==="\\\\abovefrac"?An=this.callFunction(st,[mr,fe[Le],Rr],[]):An=this.callFunction(st,[mr,Rr],[]),[An]}else return fe},re.handleSupSubscript=function(fe){var Le=this.fetch(),st=Le.text;this.consume();var Dt=this.parseGroup(fe,!1,Nt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Dt)throw new i("Expected group after '"+st+"'",Le);return Dt},re.formatUnsupportedCmd=function(fe){for(var Le=[],st=0;st<fe.length;st++)Le.push({type:"textord",mode:"text",text:fe[st]});var Dt={type:"text",mode:this.mode,body:Le},cr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Dt]};return cr},re.parseAtom=function(fe){var Le=this.parseGroup("atom",!1,null,fe);if(this.mode==="text")return Le;for(var st,Dt;;){this.consumeSpaces();var cr=this.fetch();if(cr.text==="\\limits"||cr.text==="\\nolimits"){var mr=gn(Le,"op");if(mr){var Rr=cr.text==="\\limits";mr.limits=Rr,mr.alwaysHandleSupSub=!0}else if(mr=gn(Le,"operatorname"),mr&&mr.alwaysHandleSupSub){var qr=cr.text==="\\limits";mr.limits=qr}else throw new i("Limit controls must follow a math operator",cr);this.consume()}else if(cr.text==="^"){if(st)throw new i("Double superscript",cr);st=this.handleSupSubscript("superscript")}else if(cr.text==="_"){if(Dt)throw new i("Double subscript",cr);Dt=this.handleSupSubscript("subscript")}else if(cr.text==="'"){if(st)throw new i("Double superscript",cr);var ln={type:"textord",mode:this.mode,text:"\\prime"},An=[ln];for(this.consume();this.fetch().text==="'";)An.push(ln),this.consume();this.fetch().text==="^"&&An.push(this.handleSupSubscript("superscript")),st={type:"ordgroup",mode:this.mode,body:An}}else break}return st||Dt?{type:"supsub",mode:this.mode,base:Le,sup:st,sub:Dt}:Le},re.parseFunction=function(fe,Le,st){var Dt=this.fetch(),cr=Dt.text,mr=$i[cr];if(!mr)return null;if(this.consume(),st!=null&&mr.greediness<=st)throw new i("Got function '"+cr+"' with no arguments"+(Le?" as "+Le:""),Dt);if(this.mode==="text"&&!mr.allowedInText)throw new i("Can't use function '"+cr+"' in text mode",Dt);if(this.mode==="math"&&mr.allowedInMath===!1)throw new i("Can't use function '"+cr+"' in math mode",Dt);var Rr=this.parseArguments(cr,mr),qr=Rr.args,ln=Rr.optArgs;return this.callFunction(cr,qr,ln,Dt,fe)},re.callFunction=function(fe,Le,st,Dt,cr){var mr={funcName:fe,parser:this,token:Dt,breakOnTokenText:cr},Rr=$i[fe];if(Rr&&Rr.handler)return Rr.handler(mr,Le,st);throw new i("No function handler for "+fe)},re.parseArguments=function(fe,Le){var st=Le.numArgs+Le.numOptionalArgs;if(st===0)return{args:[],optArgs:[]};for(var Dt=Le.greediness,cr=[],mr=[],Rr=0;Rr<st;Rr++){var qr=Le.argTypes&&Le.argTypes[Rr],ln=Rr<Le.numOptionalArgs,An=Rr>0&&!ln||Rr===0&&!ln&&this.mode==="math",Cn=this.parseGroupOfType("argument to '"+fe+"'",qr,ln,Dt,An);if(!Cn){if(ln){mr.push(null);continue}throw new i("Expected group after '"+fe+"'",this.fetch())}(ln?mr:cr).push(Cn)}return{args:cr,optArgs:mr}},re.parseGroupOfType=function(fe,Le,st,Dt,cr){switch(Le){case"color":return cr&&this.consumeSpaces(),this.parseColorGroup(st);case"size":return cr&&this.consumeSpaces(),this.parseSizeGroup(st);case"url":return this.parseUrlGroup(st,cr);case"math":case"text":return this.parseGroup(fe,st,Dt,void 0,Le,cr);case"hbox":{var mr=this.parseGroup(fe,st,Dt,void 0,"text",cr);if(!mr)return mr;var Rr={type:"styling",mode:mr.mode,body:[mr],style:"text"};return Rr}case"raw":{if(cr&&this.consumeSpaces(),st&&this.fetch().text==="{")return null;var qr=this.parseStringGroup("raw",st,!0);if(qr)return{type:"raw",mode:"text",string:qr.text};throw new i("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(fe,st,Dt,void 0,void 0,cr);default:throw new i("Unknown group type as "+fe,this.fetch())}},re.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},re.parseStringGroup=function(fe,Le,st){var Dt=Le?"[":"{",cr=Le?"]":"}",mr=this.fetch();if(mr.text!==Dt){if(Le)return null;if(st&&mr.text!=="EOF"&&/[^{}[\]]/.test(mr.text))return this.consume(),mr}var Rr=this.mode;this.mode="text",this.expect(Dt);for(var qr="",ln=this.fetch(),An=0,Cn=ln,Xn;(Xn=this.fetch()).text!==cr||st&&An>0;){switch(Xn.text){case"EOF":throw new i("Unexpected end of input in "+fe,ln.range(Cn,qr));case Dt:An++;break;case cr:An--;break}Cn=Xn,qr+=Cn.text,this.consume()}return this.expect(cr),this.mode=Rr,ln.range(Cn,qr)},re.parseRegexGroup=function(fe,Le){var st=this.mode;this.mode="text";for(var Dt=this.fetch(),cr=Dt,mr="",Rr;(Rr=this.fetch()).text!=="EOF"&&fe.test(mr+Rr.text);)cr=Rr,mr+=cr.text,this.consume();if(mr==="")throw new i("Invalid "+Le+": '"+Dt.text+"'",Dt);return this.mode=st,Dt.range(cr,mr)},re.parseColorGroup=function(fe){var Le=this.parseStringGroup("color",fe);if(!Le)return null;var st=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Le.text);if(!st)throw new i("Invalid color: '"+Le.text+"'",Le);var Dt=st[0];return/^[0-9a-f]{6}$/i.test(Dt)&&(Dt="#"+Dt),{type:"color-token",mode:this.mode,color:Dt}},re.parseSizeGroup=function(fe){var Le,st=!1;if(!fe&&this.fetch().text!=="{"?Le=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Le=this.parseStringGroup("size",fe),!Le)return null;!fe&&Le.text.length===0&&(Le.text="0pt",st=!0);var Dt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Le.text);if(!Dt)throw new i("Invalid size: '"+Le.text+"'",Le);var cr={number:+(Dt[1]+Dt[2]),unit:Dt[3]};if(!Ve(cr))throw new i("Invalid unit: '"+cr.unit+"'",Le);return{type:"size",mode:this.mode,value:cr,isBlank:st}},re.parseUrlGroup=function(fe,Le){this.gullet.lexer.setCatcode("%",13);var st=this.parseStringGroup("url",fe,!0);if(this.gullet.lexer.setCatcode("%",14),!st)return null;var Dt=st.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Dt}},re.parseGroup=function(fe,Le,st,Dt,cr,mr){var Rr=this.mode;cr&&this.switchMode(cr),mr&&this.consumeSpaces();var qr=this.fetch(),ln=qr.text,An;if(Le?ln==="[":ln==="{"||ln==="\\begingroup"){this.consume();var Cn=Nt.endOfGroup[ln];this.gullet.beginGroup();var Xn=this.parseExpression(!1,Cn),ti=this.fetch();this.expect(Cn),this.gullet.endGroup(),An={type:"ordgroup",mode:this.mode,loc:v.range(qr,ti),body:Xn,semisimple:ln==="\\begingroup"||void 0}}else if(Le)An=null;else if(An=this.parseFunction(Dt,fe,st)||this.parseSymbol(),An==null&&ln[0]==="\\"&&!To.hasOwnProperty(ln)){if(this.settings.throwOnError)throw new i("Undefined control sequence: "+ln,qr);An=this.formatUnsupportedCmd(ln),this.consume()}return cr&&this.switchMode(Rr),An},re.formLigatures=function(fe){for(var Le=fe.length-1,st=0;st<Le;++st){var Dt=fe[st],cr=Dt.text;cr==="-"&&fe[st+1].text==="-"&&(st+1<Le&&fe[st+2].text==="-"?(fe.splice(st,3,{type:"textord",mode:"text",loc:v.range(Dt,fe[st+2]),text:"---"}),Le-=2):(fe.splice(st,2,{type:"textord",mode:"text",loc:v.range(Dt,fe[st+1]),text:"--"}),Le-=1)),(cr==="'"||cr==="`")&&fe[st+1].text===cr&&(fe.splice(st,2,{type:"textord",mode:"text",loc:v.range(Dt,fe[st+1]),text:cr+cr}),Le-=1)}},re.parseSymbol=function(){var fe=this.fetch(),Le=fe.text;if(/^\\verb[^a-zA-Z]/.test(Le)){this.consume();var st=Le.slice(5),Dt=st.charAt(0)==="*";if(Dt&&(st=st.slice(1)),st.length<2||st.charAt(0)!==st.slice(-1))throw new i(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return st=st.slice(1,-1),{type:"verb",mode:"text",body:st,star:Dt}}rs.hasOwnProperty(Le[0])&&!et[this.mode][Le[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Le[0]+'" used in math mode',fe),Le=rs[Le[0]]+Le.substr(1));var cr=Go.exec(Le);cr&&(Le=Le.substring(0,cr.index),Le==="i"?Le="\u0131":Le==="j"&&(Le="\u0237"));var mr;if(et[this.mode][Le]){this.settings.strict&&this.mode==="math"&&Me.indexOf(Le)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Le[0]+'" used in math mode',fe);var Rr=et[this.mode][Le].group,qr=v.range(fe),ln;if(Ye.hasOwnProperty(Rr)){var An=Rr;ln={type:"atom",mode:this.mode,family:An,loc:qr,text:Le}}else ln={type:Rr,mode:this.mode,loc:qr,text:Le};mr=ln}else if(Le.charCodeAt(0)>=128)this.settings.strict&&(Q(Le.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Le[0]+'" used in math mode',fe):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Le[0]+'"'+(" ("+Le.charCodeAt(0)+")"),fe)),mr={type:"textord",mode:"text",loc:v.range(fe),text:Le};else return null;if(this.consume(),cr)for(var Cn=0;Cn<cr[0].length;Cn++){var Xn=cr[0][Cn];if(!ko[Xn])throw new i("Unknown accent ' "+Xn+"'",fe);var ti=ko[Xn][this.mode];if(!ti)throw new i("Accent "+Xn+" unsupported in "+this.mode+" mode",fe);mr={type:"accent",mode:this.mode,loc:v.range(fe),label:ti,isStretchy:!1,isShifty:!0,base:mr}}return mr},Nt}();ms.endOfExpression=["}","\\endgroup","\\end","\\right","&"],ms.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},ms.SUPSUB_GREEDINESS=1;var ls=function(re,ce){if(!(typeof re=="string"||re instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var fe=new ms(re,ce);delete fe.gullet.macros.current["\\df@tag"];var Le=fe.parse();if(fe.gullet.macros.get("\\df@tag")){if(!ce.displayMode)throw new i("\\tag works only in display equations");fe.gullet.feed("\\df@tag"),Le=[{type:"tag",mode:"text",body:Le,tag:fe.parse()}]}return Le},Ds=ls,Rs=function(re,ce,fe){ce.textContent="";var Le=Bo(re,fe).toNode();ce.appendChild(Le)};typeof document!="undefined"&&(document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Rs=function(){throw new i("KaTeX doesn't work in quirks mode.")}));var as=function(re,ce){var fe=Bo(re,ce).toMarkup();return fe},$s=function(re,ce){var fe=new O(ce);return Ds(re,fe)},us=function(re,ce,fe){if(fe.throwOnError||!(re instanceof i))throw re;var Le=jr.makeSpan(["katex-error"],[new mt(ce)]);return Le.setAttribute("title",re.toString()),Le.setAttribute("style","color:"+fe.errorColor),Le},Bo=function(re,ce){var fe=new O(ce);try{var Le=Ds(re,fe);return Fe(Le,re,fe)}catch(st){return us(st,re,fe)}},Rn=function(re,ce){var fe=new O(ce);try{var Le=Ds(re,fe);return Rt(Le,re,fe)}catch(st){return us(st,re,fe)}},Vs={version:"0.11.1",render:Rs,renderToString:as,ParseError:i,__parse:$s,__renderToDomTree:Bo,__renderToHTMLTree:Rn,__setFontMetrics:zt,__defineSymbol:oe,__defineMacro:wr,__domTree:{Span:bt,Anchor:dt,SymbolNode:mt,SvgNode:Pe,PathNode:De,LineNode:Ie}},Is=x.default=Vs}]).default})},P2fV:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("Q9mQ"),p=e("+L6B"),v=e("sE09"),b=e.n(v)},P47w:function(J,B,e){var d=e("hydK"),x=d.createElement,g=e("IMiH"),p=e("mFDi"),v=e("Fofx"),b=e("6GrX"),f=e("pzxd"),i=e("dqUG"),r=g.CMD,a=Array.prototype.join,s="none",l=Math.round,n=Math.sin,u=Math.cos,t=Math.PI,c=Math.PI*2,o=180/t,h=1e-4;function A(Y){return l(Y*1e4)/1e4}function y(Y){return Y<h&&Y>-h}function O(Y,k){var Q=k?Y.textFill:Y.fill;return Q!=null&&Q!==s}function S(Y,k){var Q=k?Y.textStroke:Y.stroke;return Q!=null&&Q!==s}function E(Y,k){k&&C(Y,"transform","matrix("+a.call(k,",")+")")}function C(Y,k,Q){(!Q||Q.type!=="linear"&&Q.type!=="radial")&&Y.setAttribute(k,Q)}function T(Y,k,Q){Y.setAttributeNS("http://www.w3.org/1999/xlink",k,Q)}function w(Y,k,Q,X){if(O(k,Q)){var he=Q?k.textFill:k.fill;he=he==="transparent"?s:he,C(Y,"fill",he),C(Y,"fill-opacity",k.fillOpacity!=null?k.fillOpacity*k.opacity:k.opacity)}else C(Y,"fill",s);if(S(k,Q)){var te=Q?k.textStroke:k.stroke;te=te==="transparent"?s:te,C(Y,"stroke",te);var pe=Q?k.textStrokeWidth:k.lineWidth,Se=!Q&&k.strokeNoScale?X.getLineScale():1;C(Y,"stroke-width",pe/Se),C(Y,"paint-order",Q?"stroke":"fill"),C(Y,"stroke-opacity",k.strokeOpacity!=null?k.strokeOpacity:k.opacity);var we=k.lineDash;we?(C(Y,"stroke-dasharray",k.lineDash.join(",")),C(Y,"stroke-dashoffset",l(k.lineDashOffset||0))):C(Y,"stroke-dasharray",""),k.lineCap&&C(Y,"stroke-linecap",k.lineCap),k.lineJoin&&C(Y,"stroke-linejoin",k.lineJoin),k.miterLimit&&C(Y,"stroke-miterlimit",k.miterLimit)}else C(Y,"stroke",s)}function L(Y){for(var k=[],Q=Y.data,X=Y.len(),he=0;he<X;){var te=Q[he++],pe="",Se=0;switch(te){case r.M:pe="M",Se=2;break;case r.L:pe="L",Se=2;break;case r.Q:pe="Q",Se=4;break;case r.C:pe="C",Se=6;break;case r.A:var we=Q[he++],We=Q[he++],qe=Q[he++],yt=Q[he++],_e=Q[he++],je=Q[he++],Ct=Q[he++],ct=Q[he++],nt=Math.abs(je),bt=y(nt-c)||(ct?je>=c:-je>=c),dt=je>0?je%c:je%c+c,vt=!1;bt?vt=!0:y(nt)?vt=!1:vt=dt>=t===!!ct;var Qe=A(we+qe*u(_e)),mt=A(We+yt*n(_e));bt&&(ct?je=c-1e-4:je=-c+1e-4,vt=!0,he===9&&k.push("M",Qe,mt));var Pe=A(we+qe*u(_e+je)),De=A(We+yt*n(_e+je));k.push("A",A(qe),A(yt),l(Ct*o),+vt,+ct,Pe,De);break;case r.Z:pe="Z";break;case r.R:var Pe=A(Q[he++]),De=A(Q[he++]),Ie=A(Q[he++]),ot=A(Q[he++]);k.push("M",Pe,De,"L",Pe+Ie,De,"L",Pe+Ie,De+ot,"L",Pe,De+ot,"L",Pe,De);break}pe&&k.push(pe);for(var wt=0;wt<Se;wt++)k.push(A(Q[he++]))}return k.join(" ")}var N={};N.brush=function(Y){var k=Y.style,Q=Y.__svgEl;Q||(Q=x("path"),Y.__svgEl=Q),Y.path||Y.createPathProxy();var X=Y.path;if(Y.__dirtyPath){X.beginPath(),X.subPixelOptimize=!1,Y.buildPath(X,Y.shape),Y.__dirtyPath=!1;var he=L(X);he.indexOf("NaN")<0&&C(Q,"d",he)}w(Q,k,!1,Y),E(Q,Y.transform),k.text!=null?P(Y,Y.getBoundingRect()):Z(Y)};var D={};D.brush=function(Y){var k=Y.style,Q=k.image;if(Q instanceof HTMLImageElement){var X=Q.src;Q=X}if(!Q)return;var he=k.x||0,te=k.y||0,pe=k.width,Se=k.height,we=Y.__svgEl;we||(we=x("image"),Y.__svgEl=we),Q!==Y.__imageSrc&&(T(we,"href",Q),Y.__imageSrc=Q),C(we,"width",pe),C(we,"height",Se),C(we,"x",he),C(we,"y",te),E(we,Y.transform),k.text!=null?P(Y,Y.getBoundingRect()):Z(Y)};var F={},R=new p,U={},M=[],j={left:"start",right:"end",center:"middle",middle:"middle"},P=function(k,Q){var X=k.style,he=k.transform,te=k instanceof i||X.transformText;k.__dirty&&f.normalizeTextStyle(X,!0);var pe=X.text;if(pe!=null&&(pe+=""),!f.needDrawText(pe,X))return;pe==null&&(pe=""),!te&&he&&(R.copy(Q),R.applyTransform(he),Q=R);var Se=k.__textSvgEl;Se||(Se=x("text"),k.__textSvgEl=Se);var we=Se.style,We=X.font||b.DEFAULT_FONT,qe=Se.__computedFont;We!==Se.__styleFont&&(we.font=Se.__styleFont=We,qe=Se.__computedFont=we.font);var yt=X.textPadding,_e=X.textLineHeight,je=k.__textCotentBlock;(!je||k.__dirtyText)&&(je=k.__textCotentBlock=b.parsePlainText(pe,qe,yt,_e,X.truncate));var Ct=je.outerHeight,ct=je.lineHeight;f.getBoxPosition(U,k,X,Q);var nt=U.baseX,bt=U.baseY,dt=U.textAlign||"left",vt=U.textVerticalAlign;K(Se,te,he,X,Q,nt,bt);var Qe=b.adjustTextY(bt,Ct,vt),mt=nt,Pe=Qe;yt&&(mt=H(nt,dt,yt),Pe+=yt[0]),Pe+=ct/2,w(Se,X,!0,k);var De=je.canCacheByTextString,Ie=k.__tspanList||(k.__tspanList=[]),ot=Ie.length;if(De&&k.__canCacheByTextString&&k.__text===pe){if(k.__dirtyText&&ot)for(var wt=0;wt<ot;++wt)_(Ie[wt],dt,mt,Pe+wt*ct)}else{k.__text=pe,k.__canCacheByTextString=De;for(var Bt=je.lines,_t=Bt.length,wt=0;wt<_t;wt++){var Ue=Ie[wt],zt=Bt[wt];Ue?Ue.__zrText!==zt&&(Ue.innerHTML="",Ue.appendChild(document.createTextNode(zt))):(Ue=Ie[wt]=x("tspan"),Se.appendChild(Ue),Ue.appendChild(document.createTextNode(zt))),_(Ue,dt,mt,Pe+wt*ct)}if(ot>_t){for(;wt<ot;wt++)Se.removeChild(Ie[wt]);Ie.length=_t}}};function K(Y,k,Q,X,he,te,pe){v.identity(M),k&&Q&&v.copy(M,Q);var Se=X.textRotation;if(he&&Se){var we=X.textOrigin;we==="center"?(te=he.width/2+he.x,pe=he.height/2+he.y):we&&(te=we[0]+he.x,pe=we[1]+he.y),M[4]-=te,M[5]-=pe,v.rotate(M,M,Se),M[4]+=te,M[5]+=pe}E(Y,M)}function H(Y,k,Q){return k==="right"?Y-Q[1]:k==="center"?Y+Q[3]/2-Q[1]/2:Y+Q[3]}function _(Y,k,Q,X){C(Y,"dominant-baseline","middle"),C(Y,"text-anchor",j[k]),C(Y,"x",Q),C(Y,"y",X)}function Z(Y){Y&&Y.__textSvgEl&&(Y.__textSvgEl.parentNode&&Y.__textSvgEl.parentNode.removeChild(Y.__textSvgEl),Y.__textSvgEl=null,Y.__tspanList=[],Y.__text=null)}F.drawRectText=P,F.brush=function(Y){var k=Y.style;k.text!=null?P(Y,!1):Z(Y)},B.path=N,B.image=D,B.text=F},P4Qj:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.removeSensor=B.getSensor=void 0;var d=p(e("chpo")),x=e("FxDU"),g=e("24YM");function p(i){return i&&i.__esModule?i:{default:i}}var v={},b=function(r){var a=r.getAttribute(g.SizeSensorId);if(a&&v[a])return v[a];var s=(0,d.default)();r.setAttribute(g.SizeSensorId,s);var l=(0,x.createSensor)(r);return v[s]=l,l};B.getSensor=b;var f=function(r){var a=r.element.getAttribute(g.SizeSensorId);r.element.removeAttribute(g.SizeSensorId),r.destroy(),a&&v[a]&&delete v[a]};B.removeSensor=f},P5Jw:function(J,B,e){"use strict";var d=e("rHrb"),x=d.CopyToClipboard;x.CopyToClipboard=x,J.exports=x},PArb:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("q1tI"),b=e.n(v),f=e("TSYQ"),i=e.n(f),r=e("H84U"),a=function(l,n){var u={};for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&n.indexOf(t)<0&&(u[t]=l[t]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,t=Object.getOwnPropertySymbols(l);c<t.length;c++)n.indexOf(t[c])<0&&Object.prototype.propertyIsEnumerable.call(l,t[c])&&(u[t[c]]=l[t[c]]);return u},s=function(n){return v.createElement(r.a,null,function(u){var t,c=u.getPrefixCls,o=u.direction,h=n.prefixCls,A=n.type,y=A===void 0?"horizontal":A,O=n.orientation,S=O===void 0?"center":O,E=n.className,C=n.children,T=n.dashed,w=n.plain,L=a(n,["prefixCls","type","orientation","className","children","dashed","plain"]),N=c("divider",h),D=S.length>0?"-".concat(S):S,F=!!C,R=i()(E,N,"".concat(N,"-").concat(y),(t={},p()(t,"".concat(N,"-with-text"),F),p()(t,"".concat(N,"-with-text").concat(D),F),p()(t,"".concat(N,"-dashed"),!!T),p()(t,"".concat(N,"-plain"),!!w),p()(t,"".concat(N,"-rtl"),o==="rtl"),t));return v.createElement("div",x()({className:R},L,{role:"separator"}),C&&v.createElement("span",{className:"".concat(N,"-inner-text")},C))})};B.a=s},PD8m:function(J,B){J.exports={name:"memoryStorage",read:d,write:x,each:g,remove:p,clearAll:v};var e={};function d(b){return e[b]}function x(b,f){e[b]=f}function g(b){for(var f in e)e.hasOwnProperty(f)&&b(e[f],f)}function p(b){delete e[b]}function v(b){e={}}},PEeC:function(J,B,e){"use strict";e.d(B,"a",function(){return v}),e.d(B,"b",function(){return b});var d=e("RIqP"),x=e.n(d),g=e("xEkU"),p=e.n(g);function v(f){var i,r=function(l){return function(){i=null,f.apply(void 0,x()(l))}},a=function(){if(i==null){for(var l=arguments.length,n=new Array(l),u=0;u<l;u++)n[u]=arguments[u];i=p()(r(n))}};return a.cancel=function(){return p.a.cancel(i)},a}function b(){return function(f,i,r){var a=r.value,s=!1;return{configurable:!0,get:function(){if(s||this===f.prototype||this.hasOwnProperty(i))return a;var n=v(a.bind(this));return s=!0,Object.defineProperty(this,i,{value:n,configurable:!0,writable:!0}),s=!1,n}}}}},PKem:function(J,B,e){"use strict";e.d(B,"a",function(){return O});var d=e("RIqP"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("pVnL"),b=e.n(v),f=e("lwsE"),i=e.n(f),r=e("W8MJ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e.n(t),o=e("TSYQ"),h=e.n(o),A=e("H84U"),y=function(D,F){var R={};for(var U in D)Object.prototype.hasOwnProperty.call(D,U)&&F.indexOf(U)<0&&(R[U]=D[U]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,U=Object.getOwnPropertySymbols(D);M<U.length;M++)F.indexOf(U[M])<0&&Object.prototype.propertyIsEnumerable.call(D,U[M])&&(R[U[M]]=D[U[M]]);return R},O=t.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function S(D){var F=D.suffixCls,R=D.tagName,U=D.displayName;return function(M){var j;return j=function(P){l()(H,P);var K=u()(H);function H(){var _;return i()(this,H),_=K.apply(this,arguments),_.renderComponent=function(Z){var Y=Z.getPrefixCls,k=_.props.prefixCls,Q=Y(F,k);return t.createElement(M,b()({prefixCls:Q,tagName:R},_.props))},_}return a()(H,[{key:"render",value:function(){return t.createElement(A.a,null,this.renderComponent)}}]),H}(t.Component),j.displayName=U,j}}var E=function(F){var R=F.prefixCls,U=F.className,M=F.children,j=F.tagName,P=y(F,["prefixCls","className","children","tagName"]),K=h()(R,U);return t.createElement(j,b()({className:K},P),M)},C=function(D){l()(R,D);var F=u()(R);function R(){var U;return i()(this,R),U=F.apply(this,arguments),U.state={siders:[]},U.renderComponent=function(M){var j,P=M.direction,K=U.props,H=K.prefixCls,_=K.className,Z=K.children,Y=K.hasSider,k=K.tagName,Q=y(K,["prefixCls","className","children","hasSider","tagName"]),X=h()(H,(j={},p()(j,"".concat(H,"-has-sider"),typeof Y=="boolean"?Y:U.state.siders.length>0),p()(j,"".concat(H,"-rtl"),P==="rtl"),j),_);return t.createElement(O.Provider,{value:{siderHook:U.getSiderHook()}},t.createElement(k,b()({className:X},Q),Z))},U}return a()(R,[{key:"getSiderHook",value:function(){var M=this;return{addSider:function(P){M.setState(function(K){return{siders:[].concat(x()(K.siders),[P])}})},removeSider:function(P){M.setState(function(K){return{siders:K.siders.filter(function(H){return H!==P})}})}}}},{key:"render",value:function(){return t.createElement(A.a,null,this.renderComponent)}}]),R}(t.Component),T=S({suffixCls:"layout",tagName:"section",displayName:"Layout"})(C),w=S({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(E),L=S({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(E),N=S({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(E);T.Header=w,T.Footer=L,T.Content=N,B.b=T},PNag:function(J,B,e){var d=e("bYtY"),x=e("SKnc"),g=e("YH21"),p=e("crZl"),v=e("IwbS"),b=e("OELB"),f=e("72pK"),i=e("y7Aq"),r=e("4NO4"),a=b.linearMap,s=d.each,l=Math.min,n=Math.max,u=12,t=6,c=p.extend({type:"visualMap.continuous",init:function(){c.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(C,T,w,L){(!L||L.type!=="selectDataRange"||L.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var C=this.visualMapModel,T=this.group;this._orient=C.get("orient"),this._useHandle=C.get("calculable"),this._resetInterval(),this._renderBar(T);var w=C.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(C,T,w){if(!T)return;var L=T[1-w];L=L!=null?L+"":"";var N=this.visualMapModel,D=N.get("textGap"),F=N.itemSize,R=this._shapes.barGroup,U=this._applyTransform([F[0]/2,w===0?-D:F[1]+D],R),M=this._applyTransform(w===0?"bottom":"top",R),j=this._orient,P=this.visualMapModel.textStyleModel;this.group.add(new v.Text({style:{x:U[0],y:U[1],textVerticalAlign:j==="horizontal"?"middle":M,textAlign:j==="horizontal"?M:"center",text:L,textFont:P.getFont(),textFill:P.getTextColor()}}))},_renderBar:function(C){var T=this.visualMapModel,w=this._shapes,L=T.itemSize,N=this._orient,D=this._useHandle,F=i.getItemAlign(T,this.api,L),R=w.barGroup=this._createBarGroup(F);R.add(w.outOfRange=o()),R.add(w.inRange=o(null,D?S(this._orient):null,d.bind(this._dragHandle,this,"all",!1),d.bind(this._dragHandle,this,"all",!0)));var U=T.textStyleModel.getTextRect("\u56FD"),M=n(U.width,U.height);D&&(w.handleThumbs=[],w.handleLabels=[],w.handleLabelPoints=[],this._createHandle(R,0,L,M,N,F),this._createHandle(R,1,L,M,N,F)),this._createIndicator(R,L,M,N),C.add(R)},_createHandle:function(C,T,w,L,N){var D=d.bind(this._dragHandle,this,T,!1),F=d.bind(this._dragHandle,this,T,!0),R=o(h(T,L),S(this._orient),D,F);R.position[0]=w[0],C.add(R);var U=this.visualMapModel.textStyleModel,M=new v.Text({draggable:!0,drift:D,onmousemove:function(K){g.stop(K.event)},ondragend:F,style:{x:0,y:0,text:"",textFont:U.getFont(),textFill:U.getTextColor()}});this.group.add(M);var j=[N==="horizontal"?L/2:L*1.5,N==="horizontal"?T===0?-(L*1.5):L*1.5:T===0?-L/2:L/2],P=this._shapes;P.handleThumbs[T]=R,P.handleLabelPoints[T]=j,P.handleLabels[T]=M},_createIndicator:function(C,T,w,L){var N=o([[0,0]],"move");N.position[0]=T[0],N.attr({invisible:!0,silent:!0}),C.add(N);var D=this.visualMapModel.textStyleModel,F=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:D.getFont(),textFill:D.getTextColor()}});this.group.add(F);var R=[L==="horizontal"?w/2:t+3,0],U=this._shapes;U.indicator=N,U.indicatorLabel=F,U.indicatorLabelPoint=R},_dragHandle:function(C,T,w,L){if(!this._useHandle)return;if(this._dragging=!T,!T){var N=this._applyTransform([w,L],this._shapes.barGroup,!0);this._updateInterval(C,N[1]),this._updateView()}T===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),T?!this._hovering&&this._clearHoverLinkToSeries():O(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[C],!1)},_resetInterval:function(){var C=this.visualMapModel,T=this._dataInterval=C.getSelected(),w=C.getExtent(),L=[0,C.itemSize[1]];this._handleEnds=[a(T[0],w,L,!0),a(T[1],w,L,!0)]},_updateInterval:function(C,T){T=T||0;var w=this.visualMapModel,L=this._handleEnds,N=[0,w.itemSize[1]];f(T,L,N,C,0);var D=w.getExtent();this._dataInterval=[a(L[0],N,D,!0),a(L[1],N,D,!0)]},_updateView:function(C){var T=this.visualMapModel,w=T.getExtent(),L=this._shapes,N=[0,T.itemSize[1]],D=C?N:this._handleEnds,F=this._createBarVisual(this._dataInterval,w,D,"inRange"),R=this._createBarVisual(w,w,N,"outOfRange");L.inRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),L.outOfRange.setStyle({fill:R.barColor,opacity:R.opacity}).setShape("points",R.barPoints),this._updateHandle(D,F)},_createBarVisual:function(C,T,w,L){var N={forceState:L,convertOpacityToAlpha:!0},D=this._makeColorGradient(C,N),F=[this.getControllerVisual(C[0],"symbolSize",N),this.getControllerVisual(C[1],"symbolSize",N)],R=this._createBarPoints(w,F);return{barColor:new x(0,0,0,1,D),barPoints:R,handlesColor:[D[0].color,D[D.length-1].color]}},_makeColorGradient:function(C,T){var w=100,L=[],N=(C[1]-C[0])/w;L.push({color:this.getControllerVisual(C[0],"color",T),offset:0});for(var D=1;D<w;D++){var F=C[0]+N*D;if(F>C[1])break;L.push({color:this.getControllerVisual(F,"color",T),offset:D/w})}return L.push({color:this.getControllerVisual(C[1],"color",T),offset:1}),L},_createBarPoints:function(C,T){var w=this.visualMapModel.itemSize;return[[w[0]-T[0],C[0]],[w[0],C[0]],[w[0],C[1]],[w[0]-T[1],C[1]]]},_createBarGroup:function(C){var T=this._orient,w=this.visualMapModel.get("inverse");return new v.Group(T==="horizontal"&&!w?{scale:C==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:T==="horizontal"&&w?{scale:C==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:T==="vertical"&&!w?{scale:C==="left"?[1,-1]:[-1,-1]}:{scale:C==="left"?[1,1]:[-1,1]})},_updateHandle:function(C,T){if(!this._useHandle)return;var w=this._shapes,L=this.visualMapModel,N=w.handleThumbs,D=w.handleLabels;s([0,1],function(F){var R=N[F];R.setStyle("fill",T.handlesColor[F]),R.position[1]=C[F];var U=v.applyTransform(w.handleLabelPoints[F],v.getTransform(R,this.group));D[F].setStyle({x:U[0],y:U[1],text:L.formatValueText(this._dataInterval[F]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?F===0?"bottom":"top":"left",w.barGroup)})},this)},_showIndicator:function(C,T,w,L){var N=this.visualMapModel,D=N.getExtent(),F=N.itemSize,R=[0,F[1]],U=a(C,D,R,!0),M=this._shapes,j=M.indicator;if(!j)return;j.position[1]=U,j.attr("invisible",!1),j.setShape("points",A(!!w,L,U,F[1]));var P={convertOpacityToAlpha:!0},K=this.getControllerVisual(C,"color",P);j.setStyle("fill",K);var H=v.applyTransform(M.indicatorLabelPoint,v.getTransform(j,this.group)),_=M.indicatorLabel;_.attr("invisible",!1);var Z=this._applyTransform("left",M.barGroup),Y=this._orient;_.setStyle({text:(w||"")+N.formatValueText(T),textVerticalAlign:Y==="horizontal"?Z:"middle",textAlign:Y==="horizontal"?"center":Z,x:H[0],y:H[1]})},_enableHoverLinkToSeries:function(){var C=this;this._shapes.barGroup.on("mousemove",function(T){if(C._hovering=!0,!C._dragging){var w=C.visualMapModel.itemSize,L=C._applyTransform([T.offsetX,T.offsetY],C._shapes.barGroup,!0,!0);L[1]=l(n(0,L[1]),w[1]),C._doHoverLinkToSeries(L[1],0<=L[0]&&L[0]<=w[0])}}).on("mouseout",function(){C._hovering=!1,!C._dragging&&C._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var C=this.api.getZr();this.visualMapModel.option.hoverLink?(C.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),C.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(C,T){var w=this.visualMapModel,L=w.itemSize;if(!w.option.hoverLink)return;var N=[0,L[1]],D=w.getExtent();C=l(n(N[0],C),N[1]);var F=y(w,D,N),R=[C-F,C+F],U=a(C,N,D,!0),M=[a(R[0],N,D,!0),a(R[1],N,D,!0)];R[0]<N[0]&&(M[0]=-Infinity),R[1]>N[1]&&(M[1]=Infinity),T&&(M[0]===-Infinity?this._showIndicator(U,M[1],"< ",F):M[1]===Infinity?this._showIndicator(U,M[0],"> ",F):this._showIndicator(U,U,"\u2248 ",F));var j=this._hoverLinkDataIndices,P=[];(T||O(w))&&(P=this._hoverLinkDataIndices=w.findTargetDataIndices(M));var K=r.compressBatches(j,P);this._dispatchHighDown("downplay",i.makeHighDownBatch(K[0],w)),this._dispatchHighDown("highlight",i.makeHighDownBatch(K[1],w))},_hoverLinkFromSeriesMouseOver:function(C){var T=C.target,w=this.visualMapModel;if(!T||T.dataIndex==null)return;var L=this.ecModel.getSeriesByIndex(T.seriesIndex);if(!w.isTargetSeries(L))return;var N=L.getData(T.dataType),D=N.get(w.getDataDimension(N),T.dataIndex,!0);isNaN(D)||this._showIndicator(D,D)},_hideIndicator:function(){var C=this._shapes;C.indicator&&C.indicator.attr("invisible",!0),C.indicatorLabel&&C.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var C=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",i.makeHighDownBatch(C,this.visualMapModel)),C.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var C=this.api.getZr();C.off("mouseover",this._hoverLinkFromSeriesMouseOver),C.off("mouseout",this._hideIndicator)},_applyTransform:function(C,T,w,L){var N=v.getTransform(T,L?null:this.group);return v[d.isArray(C)?"applyTransform":"transformDirection"](C,N,w)},_dispatchHighDown:function(C,T){T&&T.length&&this.api.dispatchAction({type:C,batch:T})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function o(C,T,w,L){return new v.Polygon({shape:{points:C},draggable:!!w,cursor:T,drift:w,onmousemove:function(N){g.stop(N.event)},ondragend:L})}function h(C,T){return C===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function A(C,T,w,L){return C?[[0,-l(T,n(w,0))],[t,0],[0,l(T,n(L-w,0))]]:[[0,0],[5,-5],[5,5]]}function y(C,T,w){var L=u/2,N=C.get("hoverLinkDataSize");return N&&(L=a(N,T,w,!0)/2),L}function O(C){var T=C.get("hoverLinkOnHandle");return!!(T==null?C.get("realtime"):T)}function S(C){return C==="vertical"?"ns-resize":"ew-resize"}var E=c;J.exports=E},PQMj:function(J,B,e){},PSzr:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};B.default=d},ProS:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("aX58"),p=e("bYtY"),v=e("Qe9p"),b=e("ItGF"),f=e("BPZU"),i=e("H6uX"),r=e("fmMI"),a=e("hD7B"),s=e("IDmD"),l=e("ypgQ"),n=e("+wW9"),u=e("0V0F"),t=e("bLfw"),c=e("T4UG"),o=e("sS/r"),h=e("6Ic6"),A=e("IwbS"),y=e("4NO4"),O=e("iLNv"),S=O.throttle,E=e("/WM3"),C=e("uAnK"),T=e("mYwL"),w=e("af/B"),L=e("xTNl"),N=e("8hn6");e("A1Ka");var D=e("7DRL"),F=p.assert,R=p.each,U=p.isFunction,M=p.isObject,j=t.parseClassType,P="4.8.0",K={zrender:"4.3.1"},H=1,_=1e3,Z=800,Y=900,k=5e3,Q=1e3,X=1100,he=2e3,te=3e3,pe=3500,Se=4e3,we=5e3,We={PROCESSOR:{FILTER:_,SERIES_FILTER:Z,STATISTIC:k},VISUAL:{LAYOUT:Q,PROGRESSIVE_LAYOUT:X,GLOBAL:he,CHART:te,POST_CHART_LAYOUT:pe,COMPONENT:Se,BRUSH:we}},qe="__flagInMainProcess",yt="__optionUpdated",_e=/^[a-zA-Z0-9_]+$/;function je(ze,at){return function(Ve,Xe,gt){if(!at&&this._disposed){Ke(this.id);return}Ve=Ve&&Ve.toLowerCase(),i.prototype[ze].call(this,Ve,Xe,gt)}}function Ct(){i.call(this)}Ct.prototype.on=je("on",!0),Ct.prototype.off=je("off",!0),Ct.prototype.one=je("one",!0),p.mixin(Ct,i);function ct(ze,at,Ve){Ve=Ve||{},typeof at=="string"&&(at=or[at]),this.id,this.group,this._dom=ze;var Xe="canvas",gt=this._zr=g.init(ze,{renderer:Ve.renderer||Xe,devicePixelRatio:Ve.devicePixelRatio,width:Ve.width,height:Ve.height});this._throttledZrFlush=S(p.bind(gt.flush,gt),17);var at=p.clone(at);at&&n(at,!0),this._theme=at,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new s;var ft=this._api=et(this);function Ge(Mt,It){return Mt.__prio-It.__prio}f(Lt,Ge),f(Be,Ge),this._scheduler=new w(this,ft,Be,Lt),i.call(this,this._ecEventProcessor=new oe),this._messageCenter=new Ct,this._initEvents(),this.resize=p.bind(this.resize,this),this._pendingActions=[],gt.animation.on("frame",this._onframe,this),ot(gt,this),p.setAsPrimitive(this)}var nt=ct.prototype;nt._onframe=function(){if(this._disposed)return;var ze=this._scheduler;if(this[yt]){var at=this[yt].silent;this[qe]=!0,vt(this),dt.update.call(this),this[qe]=!1,this[yt]=!1,De.call(this,at),Ie.call(this,at)}else if(ze.unfinished){var Ve=H,Xe=this._model,gt=this._api;ze.unfinished=!1;do{var ft=+new Date;ze.performSeriesTasks(Xe),ze.performDataProcessorTasks(Xe),mt(this,Xe),ze.performVisualTasks(Xe),zt(this,this._model,gt,"remain"),Ve-=+new Date-ft}while(Ve>0&&ze.unfinished);ze.unfinished||this._zr.flush()}},nt.getDom=function(){return this._dom},nt.getZr=function(){return this._zr},nt.setOption=function(ze,at,Ve){if(this._disposed){Ke(this.id);return}var Xe;if(M(at)&&(Ve=at.lazyUpdate,Xe=at.silent,at=at.notMerge),this[qe]=!0,!this._model||at){var gt=new l(this._api),ft=this._theme,Ge=this._model=new r;Ge.scheduler=this._scheduler,Ge.init(null,null,ft,gt)}this._model.setOption(ze,ht),Ve?(this[yt]={silent:Xe},this[qe]=!1):(vt(this),dt.update.call(this),this._zr.flush(),this[yt]=!1,this[qe]=!1,De.call(this,Xe),Ie.call(this,Xe))},nt.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},nt.getModel=function(){return this._model},nt.getOption=function(){return this._model&&this._model.getOption()},nt.getWidth=function(){return this._zr.getWidth()},nt.getHeight=function(){return this._zr.getHeight()},nt.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},nt.getRenderedCanvas=function(ze){if(!b.canvasSupported)return;ze=ze||{},ze.pixelRatio=ze.pixelRatio||1,ze.backgroundColor=ze.backgroundColor||this._model.get("backgroundColor");var at=this._zr;return at.painter.getRenderedCanvas(ze)},nt.getSvgDataURL=function(){if(!b.svgSupported)return;var ze=this._zr,at=ze.storage.getDisplayList();return p.each(at,function(Ve){Ve.stopAnimation(!0)}),ze.painter.toDataURL()},nt.getDataURL=function(ze){if(this._disposed){Ke(this.id);return}ze=ze||{};var at=ze.excludeComponents,Ve=this._model,Xe=[],gt=this;R(at,function(Ge){Ve.eachComponent({mainType:Ge},function(Mt){var It=gt._componentsMap[Mt.__viewId];It.group.ignore||(Xe.push(It),It.group.ignore=!0)})});var ft=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(ze).toDataURL("image/"+(ze&&ze.type||"png"));return R(Xe,function(Ge){Ge.group.ignore=!1}),ft},nt.getConnectedDataURL=function(ze){if(this._disposed){Ke(this.id);return}if(!b.canvasSupported)return;var at=ze.type==="svg",Ve=this.group,Xe=Math.min,gt=Math.max,ft=Infinity;if(hr[Ve]){var Ge=ft,Mt=ft,It=-ft,rr=-ft,Ht=[],pr=ze&&ze.pixelRatio||1;p.each(qt,function(Lr,Xr){if(Lr.group===Ve){var Tr=at?Lr.getZr().painter.getSvgDom().innerHTML:Lr.getRenderedCanvas(p.clone(ze)),lr=Lr.getDom().getBoundingClientRect();Ge=Xe(lr.left,Ge),Mt=Xe(lr.top,Mt),It=gt(lr.right,It),rr=gt(lr.bottom,rr),Ht.push({dom:Tr,left:lr.left,top:lr.top})}}),Ge*=pr,Mt*=pr,It*=pr,rr*=pr;var Ar=It-Ge,Nr=rr-Mt,Fr=p.createCanvas(),tn=g.init(Fr,{renderer:at?"svg":"canvas"});if(tn.resize({width:Ar,height:Nr}),at){var Jr="";return R(Ht,function(Lr){var Xr=Lr.left-Ge,Tr=Lr.top-Mt;Jr+='<g transform="translate('+Xr+","+Tr+')">'+Lr.dom+"</g>"}),tn.painter.getSvgRoot().innerHTML=Jr,ze.connectedBackgroundColor&&tn.painter.setBackgroundColor(ze.connectedBackgroundColor),tn.refreshImmediately(),tn.painter.toDataURL()}else return ze.connectedBackgroundColor&&tn.add(new A.Rect({shape:{x:0,y:0,width:Ar,height:Nr},style:{fill:ze.connectedBackgroundColor}})),R(Ht,function(Lr){var Xr=new A.Image({style:{x:Lr.left*pr-Ge,y:Lr.top*pr-Mt,image:Lr.dom}});tn.add(Xr)}),tn.refreshImmediately(),Fr.toDataURL("image/"+(ze&&ze.type||"png"))}else return this.getDataURL(ze)},nt.convertToPixel=p.curry(bt,"convertToPixel"),nt.convertFromPixel=p.curry(bt,"convertFromPixel");function bt(ze,at,Ve){if(this._disposed){Ke(this.id);return}var Xe=this._model,gt=this._coordSysMgr.getCoordinateSystems(),ft;at=y.parseFinder(Xe,at);for(var Ge=0;Ge<gt.length;Ge++){var Mt=gt[Ge];if(Mt[ze]&&(ft=Mt[ze](Xe,at,Ve))!=null)return ft}}nt.containPixel=function(ze,at){if(this._disposed){Ke(this.id);return}var Ve=this._model,Xe;return ze=y.parseFinder(Ve,ze),p.each(ze,function(gt,ft){ft.indexOf("Models")>=0&&p.each(gt,function(Ge){var Mt=Ge.coordinateSystem;if(Mt&&Mt.containPoint)Xe|=!!Mt.containPoint(at);else if(ft==="seriesModels"){var It=this._chartsMap[Ge.__viewId];It&&It.containPoint&&(Xe|=It.containPoint(at,Ge))}},this)},this),!!Xe},nt.getVisual=function(ze,at){var Ve=this._model;ze=y.parseFinder(Ve,ze,{defaultMainType:"series"});var Xe=ze.seriesModel,gt=Xe.getData(),ft=ze.hasOwnProperty("dataIndexInside")?ze.dataIndexInside:ze.hasOwnProperty("dataIndex")?gt.indexOfRawIndex(ze.dataIndex):null;return ft!=null?gt.getItemVisual(ft,at):gt.getVisual(at)},nt.getViewOfComponentModel=function(ze){return this._componentsMap[ze.__viewId]},nt.getViewOfSeriesModel=function(ze){return this._chartsMap[ze.__viewId]};var dt={prepareAndUpdate:function(ze){vt(this),dt.update.call(this,ze)},update:function(ze){var at=this._model,Ve=this._api,Xe=this._zr,gt=this._coordSysMgr,ft=this._scheduler;if(!at)return;ft.restoreData(at,ze),ft.performSeriesTasks(at),gt.create(at,Ve),ft.performDataProcessorTasks(at,ze),mt(this,at),gt.update(at,Ve),Bt(at),ft.performVisualTasks(at,ze),_t(this,at,Ve,ze);var Ge=at.get("backgroundColor")||"transparent";if(b.canvasSupported)Xe.setBackgroundColor(Ge);else{var Mt=v.parse(Ge);Ge=v.stringify(Mt,"rgb"),Mt[3]===0&&(Ge="transparent")}xt(at,Ve)},updateTransform:function(ze){var at=this._model,Ve=this,Xe=this._api;if(!at)return;var gt=[];at.eachComponent(function(Ge,Mt){var It=Ve.getViewOfComponentModel(Mt);if(It&&It.__alive)if(It.updateTransform){var rr=It.updateTransform(Mt,at,Xe,ze);rr&&rr.update&>.push(It)}else gt.push(It)});var ft=p.createHashMap();at.eachSeries(function(Ge){var Mt=Ve._chartsMap[Ge.__viewId];if(Mt.updateTransform){var It=Mt.updateTransform(Ge,at,Xe,ze);It&&It.update&&ft.set(Ge.uid,1)}else ft.set(Ge.uid,1)}),Bt(at),this._scheduler.performVisualTasks(at,ze,{setDirty:!0,dirtyMap:ft}),zt(Ve,at,Xe,ze,ft),xt(at,this._api)},updateView:function(ze){var at=this._model;if(!at)return;h.markUpdateMethod(ze,"updateView"),Bt(at),this._scheduler.performVisualTasks(at,ze,{setDirty:!0}),_t(this,this._model,this._api,ze),xt(at,this._api)},updateVisual:function(ze){dt.update.call(this,ze)},updateLayout:function(ze){dt.update.call(this,ze)}};function vt(ze){var at=ze._model,Ve=ze._scheduler;Ve.restorePipelines(at),Ve.prepareStageTasks(),wt(ze,"component",at,Ve),wt(ze,"chart",at,Ve),Ve.plan()}function Qe(ze,at,Ve,Xe,gt){var ft=ze._model;if(!Xe){R(ze._componentsViews.concat(ze._chartsViews),rr);return}var Ge={};Ge[Xe+"Id"]=Ve[Xe+"Id"],Ge[Xe+"Index"]=Ve[Xe+"Index"],Ge[Xe+"Name"]=Ve[Xe+"Name"];var Mt={mainType:Xe,query:Ge};gt&&(Mt.subType=gt);var It=Ve.excludeSeriesId;It!=null&&(It=p.createHashMap(y.normalizeToArray(It))),ft&&ft.eachComponent(Mt,function(Ht){(!It||It.get(Ht.id)==null)&&rr(ze[Xe==="series"?"_chartsMap":"_componentsMap"][Ht.__viewId])},ze);function rr(Ht){Ht&&Ht.__alive&&Ht[at]&&Ht[at](Ht.__model,ft,ze._api,Ve)}}nt.resize=function(ze){if(this._disposed){Ke(this.id);return}this._zr.resize(ze);var at=this._model;if(this._loadingFX&&this._loadingFX.resize(),!at)return;var Ve=at.resetOption("media"),Xe=ze&&ze.silent;this[qe]=!0,Ve&&vt(this),dt.update.call(this),this[qe]=!1,De.call(this,Xe),Ie.call(this,Xe)};function mt(ze,at){var Ve=ze._chartsMap,Xe=ze._scheduler;at.eachSeries(function(gt){Xe.updateStreamModes(gt,Ve[gt.__viewId])})}nt.showLoading=function(ze,at){if(this._disposed){Ke(this.id);return}if(M(ze)&&(at=ze,ze=""),ze=ze||"default",this.hideLoading(),!Qt[ze])return;var Ve=Qt[ze](this._api,at),Xe=this._zr;this._loadingFX=Ve,Xe.add(Ve)},nt.hideLoading=function(){if(this._disposed){Ke(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},nt.makeActionFromEvent=function(ze){var at=p.extend({},ze);return at.type=it[ze.type],at},nt.dispatchAction=function(ze,at){if(this._disposed){Ke(this.id);return}if(M(at)||(at={silent:!!at}),!me[ze.type])return;if(!this._model)return;if(this[qe]){this._pendingActions.push(ze);return}Pe.call(this,ze,at.silent),at.flush?this._zr.flush(!0):at.flush!==!1&&b.browser.weChat&&this._throttledZrFlush(),De.call(this,at.silent),Ie.call(this,at.silent)};function Pe(ze,at){var Ve=ze.type,Xe=ze.escapeConnect,gt=me[Ve],ft=gt.actionInfo,Ge=(ft.update||"update").split(":"),Mt=Ge.pop();Ge=Ge[0]!=null&&j(Ge[0]),this[qe]=!0;var It=[ze],rr=!1;ze.batch&&(rr=!0,It=p.map(ze.batch,function(Nr){return Nr=p.defaults(p.extend({},Nr),ze),Nr.batch=null,Nr}));var Ht=[],pr,Ar=Ve==="highlight"||Ve==="downplay";R(It,function(Nr){pr=gt.action(Nr,this._model,this._api),pr=pr||p.extend({},Nr),pr.type=ft.event||pr.type,Ht.push(pr),Ar?Qe(this,Mt,Nr,"series"):Ge&&Qe(this,Mt,Nr,Ge.main,Ge.sub)},this),Mt!=="none"&&!Ar&&!Ge&&(this[yt]?(vt(this),dt.update.call(this,ze),this[yt]=!1):dt[Mt].call(this,ze)),rr?pr={type:ft.event||Ve,escapeConnect:Xe,batch:Ht}:pr=Ht[0],this[qe]=!1,!at&&this._messageCenter.trigger(pr.type,pr)}function De(ze){for(var at=this._pendingActions;at.length;){var Ve=at.shift();Pe.call(this,Ve,ze)}}function Ie(ze){!ze&&this.trigger("updated")}function ot(ze,at){ze.on("rendered",function(){at.trigger("rendered"),ze.animation.isFinished()&&!at[yt]&&!at._scheduler.unfinished&&!at._pendingActions.length&&at.trigger("finished")})}nt.appendData=function(ze){if(this._disposed){Ke(this.id);return}var at=ze.seriesIndex,Ve=this.getModel(),Xe=Ve.getSeriesByIndex(at);Xe.appendData(ze),this._scheduler.unfinished=!0},nt.on=je("on",!1),nt.off=je("off",!1),nt.one=je("one",!1);function wt(ze,at,Ve,Xe){for(var gt=at==="component",ft=gt?ze._componentsViews:ze._chartsViews,Ge=gt?ze._componentsMap:ze._chartsMap,Mt=ze._zr,It=ze._api,rr=0;rr<ft.length;rr++)ft[rr].__alive=!1;gt?Ve.eachComponent(function(Ar,Nr){Ar!=="series"&&Ht(Nr)}):Ve.eachSeries(Ht);function Ht(Ar){var Nr="_ec_"+Ar.id+"_"+Ar.type,Fr=Ge[Nr];if(!Fr){var tn=j(Ar.type),Jr=gt?o.getClass(tn.main,tn.sub):h.getClass(tn.sub);Fr=new Jr,Fr.init(Ve,It),Ge[Nr]=Fr,ft.push(Fr),Mt.add(Fr.group)}Ar.__viewId=Fr.__id=Nr,Fr.__alive=!0,Fr.__model=Ar,Fr.group.__ecComponentInfo={mainType:Ar.mainType,index:Ar.componentIndex},!gt&&Xe.prepareView(Fr,Ar,Ve,It)}for(var rr=0;rr<ft.length;){var pr=ft[rr];pr.__alive?rr++:(!gt&&pr.renderTask.dispose(),Mt.remove(pr.group),pr.dispose(Ve,It),ft.splice(rr,1),delete Ge[pr.__id],pr.__id=pr.group.__ecComponentInfo=null)}}function Bt(ze){ze.clearColorPalette(),ze.eachSeries(function(at){at.clearColorPalette()})}function _t(ze,at,Ve,Xe){Ue(ze,at,Ve,Xe),R(ze._chartsViews,function(gt){gt.__alive=!1}),zt(ze,at,Ve,Xe),R(ze._chartsViews,function(gt){gt.__alive||gt.remove(at,Ve)})}function Ue(ze,at,Ve,Xe,gt){R(gt||ze._componentsViews,function(ft){var Ge=ft.__model;ft.render(Ge,at,Ve,Xe),ut(Ge,ft)})}function zt(ze,at,Ve,Xe,gt){var ft=ze._scheduler,Ge;at.eachSeries(function(Mt){var It=ze._chartsMap[Mt.__viewId];It.__alive=!0;var rr=It.renderTask;ft.updatePayload(rr,Xe),gt&>.get(Mt.uid)&&rr.dirty(),Ge|=rr.perform(ft.getPerformArgs(rr)),It.group.silent=!!Mt.get("silent"),ut(Mt,It),$e(Mt,It)}),ft.unfinished|=Ge,Ye(ze,at),C(ze._zr.dom,at)}function xt(ze,at){R(Mr,function(Ve){Ve(ze,at)})}var Pt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];nt._initEvents=function(){R(Pt,function(ze){var at=function(Ve){var Xe=this.getModel(),gt=Ve.target,ft,Ge=ze==="globalout";if(Ge)ft={};else if(gt&>.dataIndex!=null){var Mt=gt.dataModel||Xe.getSeriesByIndex(gt.seriesIndex);ft=Mt&&Mt.getDataParams(gt.dataIndex,gt.dataType,gt)||{}}else gt&>.eventData&&(ft=p.extend({},gt.eventData));if(ft){var It=ft.componentType,rr=ft.componentIndex;(It==="markLine"||It==="markPoint"||It==="markArea")&&(It="series",rr=ft.seriesIndex);var Ht=It&&rr!=null&&Xe.getComponent(It,rr),pr=Ht&&this[Ht.mainType==="series"?"_chartsMap":"_componentsMap"][Ht.__viewId];ft.event=Ve,ft.type=ze,this._ecEventProcessor.eventInfo={targetEl:gt,packedEvent:ft,model:Ht,view:pr},this.trigger(ze,ft)}};at.zrEventfulCallAtLast=!0,this._zr.on(ze,at,this)},this),R(it,function(ze,at){this._messageCenter.on(at,function(Ve){this.trigger(at,Ve)},this)},this)},nt.isDisposed=function(){return this._disposed},nt.clear=function(){if(this._disposed){Ke(this.id);return}this.setOption({series:[]},!0)},nt.dispose=function(){if(this._disposed){Ke(this.id);return}this._disposed=!0,y.setAttribute(this.getDom(),ue,"");var ze=this._api,at=this._model;R(this._componentsViews,function(Ve){Ve.dispose(at,ze)}),R(this._chartsViews,function(Ve){Ve.dispose(at,ze)}),this._zr.dispose(),delete qt[this.id]},p.mixin(ct,i);function Ke(ze){}function Ye(ze,at){var Ve=ze._zr,Xe=Ve.storage,gt=0;Xe.traverse(function(ft){gt++}),gt>at.get("hoverLayerThreshold")&&!b.node&&at.eachSeries(function(ft){if(ft.preventUsingHoverLayer)return;var Ge=ze._chartsMap[ft.__viewId];Ge.__alive&&Ge.group.traverse(function(Mt){Mt.useHoverLayer=!0})})}function $e(ze,at){var Ve=ze.get("blendMode")||null;at.group.traverse(function(Xe){Xe.isGroup||Xe.style.blend!==Ve&&Xe.setStyle("blend",Ve),Xe.eachPendingDisplayable&&Xe.eachPendingDisplayable(function(gt){gt.setStyle("blend",Ve)})})}function ut(ze,at){var Ve=ze.get("z"),Xe=ze.get("zlevel");at.group.traverse(function(gt){gt.type!=="group"&&(Ve!=null&&(gt.z=Ve),Xe!=null&&(gt.zlevel=Xe))})}function et(ze){var at=ze._coordSysMgr;return p.extend(new a(ze),{getCoordinateSystems:p.bind(at.getCoordinateSystems,at),getComponentByElement:function(Ve){for(;Ve;){var Xe=Ve.__ecComponentInfo;if(Xe!=null)return ze._model.getComponent(Xe.mainType,Xe.index);Ve=Ve.parent}}})}function oe(){this.eventInfo}oe.prototype={constructor:oe,normalizeQuery:function(ze){var at={},Ve={},Xe={};if(p.isString(ze)){var gt=j(ze);at.mainType=gt.main||null,at.subType=gt.sub||null}else{var ft=["Index","Name","Id"],Ge={name:1,dataIndex:1,dataType:1};p.each(ze,function(Mt,It){for(var rr=!1,Ht=0;Ht<ft.length;Ht++){var pr=ft[Ht],Ar=It.lastIndexOf(pr);if(Ar>0&&Ar===It.length-pr.length){var Nr=It.slice(0,Ar);Nr!=="data"&&(at.mainType=Nr,at[pr.toLowerCase()]=Mt,rr=!0)}}Ge.hasOwnProperty(It)&&(Ve[It]=Mt,rr=!0),rr||(Xe[It]=Mt)})}return{cptQuery:at,dataQuery:Ve,otherQuery:Xe}},filter:function(ze,at,Ve){var Xe=this.eventInfo;if(!Xe)return!0;var gt=Xe.targetEl,ft=Xe.packedEvent,Ge=Xe.model,Mt=Xe.view;if(!Ge||!Mt)return!0;var It=at.cptQuery,rr=at.dataQuery;return Ht(It,Ge,"mainType")&&Ht(It,Ge,"subType")&&Ht(It,Ge,"index","componentIndex")&&Ht(It,Ge,"name")&&Ht(It,Ge,"id")&&Ht(rr,ft,"name")&&Ht(rr,ft,"dataIndex")&&Ht(rr,ft,"dataType")&&(!Mt.filterForExposedEvent||Mt.filterForExposedEvent(ze,at.otherQuery,gt,ft));function Ht(pr,Ar,Nr,Fr){return pr[Nr]==null||Ar[Fr||Nr]===pr[Nr]}},afterTrigger:function(){this.eventInfo=null}};var me={},it={},Be=[],ht=[],Mr=[],Lt=[],or={},Qt={},qt={},hr={},Gt=new Date-0,de=new Date-0,ue="_echarts_instance_";function se(ze){var at=0,Ve=1,Xe=2,gt="__connectUpdateStatus";function ft(Ge,Mt){for(var It=0;It<Ge.length;It++){var rr=Ge[It];rr[gt]=Mt}}R(it,function(Ge,Mt){ze._messageCenter.on(Mt,function(It){if(hr[ze.group]&&ze[gt]!==at){if(It&&It.escapeConnect)return;var rr=ze.makeActionFromEvent(It),Ht=[];R(qt,function(pr){pr!==ze&&pr.group===ze.group&&Ht.push(pr)}),ft(Ht,at),R(Ht,function(pr){pr[gt]!==Ve&&pr.dispatchAction(rr)}),ft(Ht,Xe)}})})}function ae(ze,at,Ve){var Xe=xe(ze);if(Xe)return Xe;var gt=new ct(ze,at,Ve);return gt.id="ec_"+Gt++,qt[gt.id]=gt,y.setAttribute(ze,ue,gt.id),se(gt),gt}function ye(ze){if(p.isArray(ze)){var at=ze;ze=null,R(at,function(Ve){Ve.group!=null&&(ze=Ve.group)}),ze=ze||"g_"+de++,R(at,function(Ve){Ve.group=ze})}return hr[ze]=!0,ze}function Ce(ze){hr[ze]=!1}var Oe=Ce;function Te(ze){typeof ze=="string"?ze=qt[ze]:ze instanceof ct||(ze=xe(ze)),ze instanceof ct&&!ze.isDisposed()&&ze.dispose()}function xe(ze){return qt[y.getAttribute(ze,ue)]}function ke(ze){return qt[ze]}function lt(ze,at){or[ze]=at}function At(ze){ht.push(ze)}function ee(ze,at){Me(Be,ze,at,_)}function ie(ze){Mr.push(ze)}function z(ze,at,Ve){typeof at=="function"&&(Ve=at,at="");var Xe=M(ze)?ze.type:[ze,ze={event:at}][0];ze.event=(ze.event||Xe).toLowerCase(),at=ze.event,F(_e.test(Xe)&&_e.test(at)),me[Xe]||(me[Xe]={action:Ve,actionInfo:ze}),it[at]=Xe}function $(ze,at){s.register(ze,at)}function le(ze){var at=s.get(ze);if(at)return at.getDimensionsInfo?at.getDimensionsInfo():at.dimensions.slice()}function ge(ze,at){Me(Lt,ze,at,Q,"layout")}function Ae(ze,at){Me(Lt,ze,at,te,"visual")}function Me(ze,at,Ve,Xe,gt){(U(at)||M(at))&&(Ve=at,at=Xe);var ft=w.wrapStageHandler(Ve,gt);return ft.__prio=at,ft.__raw=Ve,ze.push(ft),ft}function Ze(ze,at){Qt[ze]=at}function kt(ze){return t.extend(ze)}function Jt(ze){return o.extend(ze)}function Et(ze){return c.extend(ze)}function Ft(ze){return h.extend(ze)}function Kt(ze){p.$override("createCanvas",ze)}function Vt(ze,at,Ve){D.registerMap(ze,at,Ve)}function Ot(ze){var at=D.retrieveMap(ze);return at&&at[0]&&{geoJson:at[0].geoJSON,specialAreas:at[0].specialAreas}}Ae(he,E),At(n),ee(Y,u),Ze("default",T),z({type:"highlight",event:"highlight",update:"highlight"},p.noop),z({type:"downplay",event:"downplay",update:"downplay"},p.noop),lt("light",L),lt("dark",N);var ur={};B.version=P,B.dependencies=K,B.PRIORITY=We,B.init=ae,B.connect=ye,B.disConnect=Ce,B.disconnect=Oe,B.dispose=Te,B.getInstanceByDom=xe,B.getInstanceById=ke,B.registerTheme=lt,B.registerPreprocessor=At,B.registerProcessor=ee,B.registerPostUpdate=ie,B.registerAction=z,B.registerCoordinateSystem=$,B.getCoordinateSystemDimensions=le,B.registerLayout=ge,B.registerVisual=Ae,B.registerLoading=Ze,B.extendComponentModel=kt,B.extendComponentView=Jt,B.extendSeriesModel=Et,B.extendChartView=Ft,B.setCanvasCreator=Kt,B.registerMap=Vt,B.getMap=Ot,B.dataTool=ur;var Zt=e("txkQ");(function(){for(var ze in Zt)Zt.hasOwnProperty(ze)&&(B[ze]=Zt[ze])})()},"Pv/L":function(J,B,e){"use strict";e.d(B,"a",function(){return v});var d=e("+kx5"),x=e("Y9hK"),g=e("Qw5x"),p=e("u6e6");function v(b){return Object(d.a)(b)||Object(x.a)(b)||Object(g.a)(b)||Object(p.a)()}},Q7if:function(J,B,e){var d=e("JEkh"),x=d.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});J.exports=x},Q9mQ:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("UADf"),p=e.n(g)},"QB+1":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("Ywus"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},QBsz:function(J,B){var e=typeof Float32Array=="undefined"?Array:Float32Array;function d(w,L){var N=new e(2);return w==null&&(w=0),L==null&&(L=0),N[0]=w,N[1]=L,N}function x(w,L){return w[0]=L[0],w[1]=L[1],w}function g(w){var L=new e(2);return L[0]=w[0],L[1]=w[1],L}function p(w,L,N){return w[0]=L,w[1]=N,w}function v(w,L,N){return w[0]=L[0]+N[0],w[1]=L[1]+N[1],w}function b(w,L,N,D){return w[0]=L[0]+N[0]*D,w[1]=L[1]+N[1]*D,w}function f(w,L,N){return w[0]=L[0]-N[0],w[1]=L[1]-N[1],w}function i(w){return Math.sqrt(a(w))}var r=i;function a(w){return w[0]*w[0]+w[1]*w[1]}var s=a;function l(w,L,N){return w[0]=L[0]*N[0],w[1]=L[1]*N[1],w}function n(w,L,N){return w[0]=L[0]/N[0],w[1]=L[1]/N[1],w}function u(w,L){return w[0]*L[0]+w[1]*L[1]}function t(w,L,N){return w[0]=L[0]*N,w[1]=L[1]*N,w}function c(w,L){var N=i(L);return N===0?(w[0]=0,w[1]=0):(w[0]=L[0]/N,w[1]=L[1]/N),w}function o(w,L){return Math.sqrt((w[0]-L[0])*(w[0]-L[0])+(w[1]-L[1])*(w[1]-L[1]))}var h=o;function A(w,L){return(w[0]-L[0])*(w[0]-L[0])+(w[1]-L[1])*(w[1]-L[1])}var y=A;function O(w,L){return w[0]=-L[0],w[1]=-L[1],w}function S(w,L,N,D){return w[0]=L[0]+D*(N[0]-L[0]),w[1]=L[1]+D*(N[1]-L[1]),w}function E(w,L,N){var D=L[0],F=L[1];return w[0]=N[0]*D+N[2]*F+N[4],w[1]=N[1]*D+N[3]*F+N[5],w}function C(w,L,N){return w[0]=Math.min(L[0],N[0]),w[1]=Math.min(L[1],N[1]),w}function T(w,L,N){return w[0]=Math.max(L[0],N[0]),w[1]=Math.max(L[1],N[1]),w}B.create=d,B.copy=x,B.clone=g,B.set=p,B.add=v,B.scaleAndAdd=b,B.sub=f,B.len=i,B.length=r,B.lenSquare=a,B.lengthSquare=s,B.mul=l,B.div=n,B.dot=u,B.scale=t,B.normalize=c,B.distance=o,B.dist=h,B.distanceSquare=A,B.distSquare=y,B.negate=O,B.lerp=S,B.applyTransform=E,B.min=C,B.max=T},"QO+J":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.createSensor=void 0;var d=g(e("NohK")),x=e("24YM");function g(v){return v&&v.__esModule?v:{default:v}}var p=function(b){var f=void 0,i=[],r=function(){getComputedStyle(b).position==="static"&&(b.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",a),a()},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",b.appendChild(t),t.data="about:blank",t},a=(0,d.default)(function(){i.forEach(function(u){u(b)})}),s=function(t){f||(f=r()),i.indexOf(t)===-1&&i.push(t)},l=function(){f&&f.parentNode&&(f.contentDocument&&f.contentDocument.defaultView.removeEventListener("resize",a),f.parentNode.removeChild(f),f=void 0,i=[])},n=function(t){var c=i.indexOf(t);c!==-1&&i.splice(c,1),i.length===0&&f&&l()};return{element:b,bind:s,destroy:l,unbind:n}};B.createSensor=p},"QQZ/":function(J,B,e){var d=e("Sq3C"),x=e("Z1HP"),g=e("Sxd8"),p=e("dt0z");function v(b,f,i){b=p(b),f=g(f);var r=f?x(b):0;return f&&r<f?d(f-r,i)+b:b}J.exports=v},QUw5:function(J,B,e){var d=e("OlYY"),x=d.extend({type:"dataZoom.select"});J.exports=x},QbM5:function(J,B,e){},Qe9p:function(J,B,e){var d=e("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 g(L){return L=Math.round(L),L<0?0:L>255?255:L}function p(L){return L=Math.round(L),L<0?0:L>360?360:L}function v(L){return L<0?0:L>1?1:L}function b(L){return L.length&&L.charAt(L.length-1)==="%"?g(parseFloat(L)/100*255):g(parseInt(L,10))}function f(L){return L.length&&L.charAt(L.length-1)==="%"?v(parseFloat(L)/100):v(parseFloat(L))}function i(L,N,D){return D<0?D+=1:D>1&&(D-=1),D*6<1?L+(N-L)*D*6:D*2<1?N:D*3<2?L+(N-L)*(2/3-D)*6:L}function r(L,N,D){return L+(N-L)*D}function a(L,N,D,F,R){return L[0]=N,L[1]=D,L[2]=F,L[3]=R,L}function s(L,N){return L[0]=N[0],L[1]=N[1],L[2]=N[2],L[3]=N[3],L}var l=new d(20),n=null;function u(L,N){n&&s(n,N),n=l.put(L,n||N.slice())}function t(L,N){if(!L)return;N=N||[];var D=l.get(L);if(D)return s(N,D);L=L+"";var F=L.replace(/ /g,"").toLowerCase();if(F in x)return s(N,x[F]),u(L,N),N;if(F.charAt(0)==="#"){if(F.length===4){var R=parseInt(F.substr(1),16);if(!(R>=0&&R<=4095)){a(N,0,0,0,1);return}return a(N,(R&3840)>>4|(R&3840)>>8,R&240|(R&240)>>4,R&15|(R&15)<<4,1),u(L,N),N}else if(F.length===7){var R=parseInt(F.substr(1),16);if(!(R>=0&&R<=16777215)){a(N,0,0,0,1);return}return a(N,(R&16711680)>>16,(R&65280)>>8,R&255,1),u(L,N),N}return}var U=F.indexOf("("),M=F.indexOf(")");if(U!==-1&&M+1===F.length){var j=F.substr(0,U),P=F.substr(U+1,M-(U+1)).split(","),K=1;switch(j){case"rgba":if(P.length!==4){a(N,0,0,0,1);return}K=f(P.pop());case"rgb":if(P.length!==3){a(N,0,0,0,1);return}return a(N,b(P[0]),b(P[1]),b(P[2]),K),u(L,N),N;case"hsla":if(P.length!==4){a(N,0,0,0,1);return}return P[3]=f(P[3]),c(P,N),u(L,N),N;case"hsl":if(P.length!==3){a(N,0,0,0,1);return}return c(P,N),u(L,N),N;default:return}}a(N,0,0,0,1);return}function c(L,N){var D=(parseFloat(L[0])%360+360)%360/360,F=f(L[1]),R=f(L[2]),U=R<=.5?R*(F+1):R+F-R*F,M=R*2-U;return N=N||[],a(N,g(i(M,U,D+1/3)*255),g(i(M,U,D)*255),g(i(M,U,D-1/3)*255),1),L.length===4&&(N[3]=L[3]),N}function o(L){if(!L)return;var N=L[0]/255,D=L[1]/255,F=L[2]/255,R=Math.min(N,D,F),U=Math.max(N,D,F),M=U-R,j=(U+R)/2,P,K;if(M===0)P=0,K=0;else{j<.5?K=M/(U+R):K=M/(2-U-R);var H=((U-N)/6+M/2)/M,_=((U-D)/6+M/2)/M,Z=((U-F)/6+M/2)/M;N===U?P=Z-_:D===U?P=1/3+H-Z:F===U&&(P=2/3+_-H),P<0&&(P+=1),P>1&&(P-=1)}var Y=[P*360,K,j];return L[3]!=null&&Y.push(L[3]),Y}function h(L,N){var D=t(L);if(D){for(var F=0;F<3;F++)N<0?D[F]=D[F]*(1-N)|0:D[F]=(255-D[F])*N+D[F]|0,D[F]>255?D[F]=255:L[F]<0&&(D[F]=0);return w(D,D.length===4?"rgba":"rgb")}}function A(L){var N=t(L);if(N)return((1<<24)+(N[0]<<16)+(N[1]<<8)+ +N[2]).toString(16).slice(1)}function y(L,N,D){if(!(N&&N.length)||!(L>=0&&L<=1))return;D=D||[];var F=L*(N.length-1),R=Math.floor(F),U=Math.ceil(F),M=N[R],j=N[U],P=F-R;return D[0]=g(r(M[0],j[0],P)),D[1]=g(r(M[1],j[1],P)),D[2]=g(r(M[2],j[2],P)),D[3]=v(r(M[3],j[3],P)),D}var O=y;function S(L,N,D){if(!(N&&N.length)||!(L>=0&&L<=1))return;var F=L*(N.length-1),R=Math.floor(F),U=Math.ceil(F),M=t(N[R]),j=t(N[U]),P=F-R,K=w([g(r(M[0],j[0],P)),g(r(M[1],j[1],P)),g(r(M[2],j[2],P)),v(r(M[3],j[3],P))],"rgba");return D?{color:K,leftIndex:R,rightIndex:U,value:F}:K}var E=S;function C(L,N,D,F){if(L=t(L),L)return L=o(L),N!=null&&(L[0]=p(N)),D!=null&&(L[1]=f(D)),F!=null&&(L[2]=f(F)),w(c(L),"rgba")}function T(L,N){if(L=t(L),L&&N!=null)return L[3]=v(N),w(L,"rgba")}function w(L,N){if(!L||!L.length)return;var D=L[0]+","+L[1]+","+L[2];return(N==="rgba"||N==="hsva"||N==="hsla")&&(D+=","+L[3]),N+"("+D+")"}B.parse=t,B.lift=h,B.toHex=A,B.fastLerp=y,B.fastMapToColor=O,B.lerp=S,B.mapToColor=E,B.modifyHSL=C,B.modifyAlpha=T,B.stringify=w},Qi1f:function(J,B,e){"use strict";e.d(B,"g",function(){return a}),e.d(B,"c",function(){return s}),e.d(B,"a",function(){return n}),e.d(B,"b",function(){return u}),e.d(B,"d",function(){return t}),e.d(B,"e",function(){return c}),e.d(B,"f",function(){return A});var d=e("VTBJ"),x=e("U8pU"),g=e("HXN9"),p=e.n(g),v=e("q1tI"),b=e.n(v),f=e("Kwbf"),i=e("Gu+u"),r=e.n(i);function a(y,O){Object(f.a)(y,"[@ant-design/icons] ".concat(O))}function s(y){return Object(x.a)(y)==="object"&&typeof y.name=="string"&&typeof y.theme=="string"&&(Object(x.a)(y.icon)==="object"||typeof y.icon=="function")}function l(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(y).reduce(function(O,S){var E=y[S];switch(S){case"class":O.className=E,delete O.class;break;default:O[S]=E}return O},{})}function n(y,O,S){return S?b.a.createElement(y.tag,Object(d.a)(Object(d.a)({key:O},l(y.attrs)),S),(y.children||[]).map(function(E,C){return n(E,"".concat(O,"-").concat(y.tag,"-").concat(C))})):b.a.createElement(y.tag,Object(d.a)({key:O},l(y.attrs)),(y.children||[]).map(function(E,C){return n(E,"".concat(O,"-").concat(y.tag,"-").concat(C))}))}function u(y){return Object(g.generate)(y)[0]}function t(y){return y?Array.isArray(y)?y:[y]:[]}var c={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},o=`
|
|
|
.anticon {
|
|
|
display: inline-block;
|
|
|
color: inherit;
|
|
|
font-style: normal;
|
|
|
line-height: 0;
|
|
|
text-align: center;
|
|
|
text-transform: none;
|
|
|
vertical-align: -0.125em;
|
|
|
text-rendering: optimizeLegibility;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
}
|
|
|
|
|
|
.anticon > * {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.anticon svg {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.anticon::before {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
.anticon .anticon-icon {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
.anticon[tabindex] {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.anticon-spin::before,
|
|
|
.anticon-spin {
|
|
|
display: inline-block;
|
|
|
-webkit-animation: loadingCircle 1s infinite linear;
|
|
|
animation: loadingCircle 1s infinite linear;
|
|
|
}
|
|
|
|
|
|
@-webkit-keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
`,h=!1,A=function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o;Object(v.useEffect)(function(){h||(Object(i.insertCss)(O,{prepend:!0}),h=!0)},[])}},QkVE:function(J,B,e){var d=e("EpBk");function x(g,p){var v=g.__data__;return d(p)?v[typeof p=="string"?"string":"hash"]:v.map}J.exports=x},QoRX:function(J,B){function e(d,x){for(var g=-1,p=d==null?0:d.length;++g<p;)if(x(d[g],g,d))return!0;return!1}J.exports=e},QqLw:function(J,B,e){var d=e("tadb"),x=e("ebwN"),g=e("HOxn"),p=e("yGk4"),v=e("Of+w"),b=e("NykK"),f=e("3Fdi"),i="[object Map]",r="[object Object]",a="[object Promise]",s="[object Set]",l="[object WeakMap]",n="[object DataView]",u=f(d),t=f(x),c=f(g),o=f(p),h=f(v),A=b;(d&&A(new d(new ArrayBuffer(1)))!=n||x&&A(new x)!=i||g&&A(g.resolve())!=a||p&&A(new p)!=s||v&&A(new v)!=l)&&(A=function(y){var O=b(y),S=O==r?y.constructor:void 0,E=S?f(S):"";if(E)switch(E){case u:return n;case t:return i;case c:return a;case o:return s;case h:return l}return O}),J.exports=A},Qs3X:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("X+im"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},Qs9O:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};B.default=d},QuXc:function(J,B){var e=function(g){this.colorStops=g||[]};e.prototype={constructor:e,addColorStop:function(g,p){this.colorStops.push({offset:g,color:p})}};var d=e;J.exports=d},Qvb6:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("ItGF"),p=e("B9fm"),v=e("gvm7"),b=e("7aKB"),f=e("OELB"),i=e("IwbS"),r=e("Ez2D"),a=e("+TT/"),s=e("Qxkt"),l=e("F9bG"),n=e("aX7z"),u=e("/y7N"),t=e("4NO4"),c=t.getTooltipRenderMode,o=x.bind,h=x.each,A=f.parsePercent,y=new i.Rect({shape:{x:-1,y:-1,width:2,height:2}}),O=d.extendComponentView({type:"tooltip",init:function(N,D){if(g.node)return;var F=N.getComponent("tooltip"),R=F.get("renderMode");this._renderMode=c(R);var U;this._renderMode==="html"?(U=new p(D.getDom(),D,{appendToBody:F.get("appendToBody",!0)}),this._newLine="<br/>"):(U=new v(D),this._newLine=`
|
|
|
`),this._tooltipContent=U},render:function(N,D,F){if(g.node)return;this.group.removeAll(),this._tooltipModel=N,this._ecModel=D,this._api=F,this._lastDataByCoordSys=null,this._alwaysShowContent=N.get("alwaysShowContent");var R=this._tooltipContent;R.update(),R.setEnterable(N.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var N=this._tooltipModel,D=N.get("triggerOn");l.register("itemTooltip",this._api,o(function(F,R,U){D!=="none"&&(D.indexOf(F)>=0?this._tryShow(R,U):F==="leave"&&this._hide(U))},this))},_keepShow:function(){var N=this._tooltipModel,D=this._ecModel,F=this._api;if(this._lastX!=null&&this._lastY!=null&&N.get("triggerOn")!=="none"){var R=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!F.isDisposed()&&R.manuallyShowTip(N,D,F,{x:R._lastX,y:R._lastY})})}},manuallyShowTip:function(N,D,F,R){if(R.from===this.uid||g.node)return;var U=E(R,F);this._ticket="";var M=R.dataByCoordSys;if(R.tooltip&&R.x!=null&&R.y!=null){var j=y;j.position=[R.x,R.y],j.update(),j.tooltip=R.tooltip,this._tryShow({offsetX:R.x,offsetY:R.y,target:j},U)}else if(M)this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,dataByCoordSys:R.dataByCoordSys,tooltipOption:R.tooltipOption},U);else if(R.seriesIndex!=null){if(this._manuallyAxisShowTip(N,D,F,R))return;var P=r(R,D),K=P.point[0],H=P.point[1];K!=null&&H!=null&&this._tryShow({offsetX:K,offsetY:H,position:R.position,target:P.el},U)}else R.x!=null&&R.y!=null&&(F.dispatchAction({type:"updateAxisPointer",x:R.x,y:R.y}),this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,target:F.getZr().findHover(R.x,R.y).target},U))},manuallyHideTip:function(N,D,F,R){var U=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&U.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,R.from!==this.uid&&this._hide(E(R,F))},_manuallyAxisShowTip:function(N,D,F,R){var U=R.seriesIndex,M=R.dataIndex,j=D.getComponent("axisPointer").coordSysAxesInfo;if(U==null||M==null||j==null)return;var P=D.getSeriesByIndex(U);if(!P)return;var K=P.getData(),N=S([K.getItemModel(M),P,(P.coordinateSystem||{}).model,N]);return N.get("trigger")!=="axis"?void 0:(F.dispatchAction({type:"updateAxisPointer",seriesIndex:U,dataIndex:M,position:R.position}),!0)},_tryShow:function(N,D){var F=N.target,R=this._tooltipModel;if(!R)return;this._lastX=N.offsetX,this._lastY=N.offsetY;var U=N.dataByCoordSys;U&&U.length?this._showAxisTooltip(U,N):F&&F.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(N,F,D)):F&&F.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(N,F,D)):(this._lastDataByCoordSys=null,this._hide(D))},_showOrMove:function(N,D){var F=N.get("showDelay");D=x.bind(D,this),clearTimeout(this._showTimout),F>0?this._showTimout=setTimeout(D,F):D()},_showAxisTooltip:function(N,D){var F=this._ecModel,R=this._tooltipModel,U=[D.offsetX,D.offsetY],M=[],j=[],P=S([D.tooltipOption,R]),K=this._renderMode,H=this._newLine,_={};h(N,function(Y){h(Y.dataByAxis,function(k){var Q=F.getComponent(k.axisDim+"Axis",k.axisIndex),X=k.value,he=[];if(!Q||X==null)return;var te=u.getValueLabel(X,Q.axis,F,k.seriesDataIndices,k.valueLabelOpt);x.each(k.seriesDataIndices,function(Se){var we=F.getSeriesByIndex(Se.seriesIndex),We=Se.dataIndexInside,qe=we&&we.getDataParams(We);if(qe.axisDim=k.axisDim,qe.axisIndex=k.axisIndex,qe.axisType=k.axisType,qe.axisId=k.axisId,qe.axisValue=n.getAxisRawValue(Q.axis,X),qe.axisValueLabel=te,qe){j.push(qe);var yt=we.formatTooltip(We,!0,null,K),_e;if(x.isObject(yt)){_e=yt.html;var je=yt.markers;x.merge(_,je)}else _e=yt;he.push(_e)}});var pe=te;K!=="html"?M.push(he.join(H)):M.push((pe?b.encodeHTML(pe)+H:"")+he.join(H))})},this),M.reverse(),M=M.join(this._newLine+this._newLine);var Z=D.position;this._showOrMove(P,function(){this._updateContentNotChangedOnAxis(N)?this._updatePosition(P,Z,U[0],U[1],this._tooltipContent,j):this._showTooltipContent(P,M,j,Math.random(),U[0],U[1],Z,void 0,_)})},_showSeriesItemTooltip:function(N,D,F){var R=this._ecModel,U=D.seriesIndex,M=R.getSeriesByIndex(U),j=D.dataModel||M,P=D.dataIndex,K=D.dataType,H=j.getData(K),_=S([H.getItemModel(P),j,M&&(M.coordinateSystem||{}).model,this._tooltipModel]),Z=_.get("trigger");if(Z!=null&&Z!=="item")return;var Y=j.getDataParams(P,K),k=j.formatTooltip(P,!1,K,this._renderMode),Q,X;x.isObject(k)?(Q=k.html,X=k.markers):(Q=k,X=null);var he="item_"+j.name+"_"+P;this._showOrMove(_,function(){this._showTooltipContent(_,Q,Y,he,N.offsetX,N.offsetY,N.position,N.target,X)}),F({type:"showTip",dataIndexInside:P,dataIndex:H.getRawIndex(P),seriesIndex:U,from:this.uid})},_showComponentItemTooltip:function(N,D,F){var R=D.tooltip;if(typeof R=="string"){var U=R;R={content:U,formatter:U}}var M=new s(R,this._tooltipModel,this._ecModel),j=M.get("content"),P=Math.random();this._showOrMove(M,function(){this._showTooltipContent(M,j,M.get("formatterParams")||{},P,N.offsetX,N.offsetY,N.position,D)}),F({type:"showTip",from:this.uid})},_showTooltipContent:function(N,D,F,R,U,M,j,P,K){if(this._ticket="",!N.get("showContent")||!N.get("show"))return;var H=this._tooltipContent,_=N.get("formatter");j=j||N.get("position");var Z=D;if(_&&typeof _=="string")Z=b.formatTpl(_,F,!0);else if(typeof _=="function"){var Y=o(function(k,Q){k===this._ticket&&(H.setContent(Q,K,N),this._updatePosition(N,j,U,M,H,F,P))},this);this._ticket=R,Z=_(F,R,Y)}H.setContent(Z,K,N),H.show(N),this._updatePosition(N,j,U,M,H,F,P)},_updatePosition:function(N,D,F,R,U,M,j){var P=this._api.getWidth(),K=this._api.getHeight();D=D||N.get("position");var H=U.getSize(),_=N.get("align"),Z=N.get("verticalAlign"),Y=j&&j.getBoundingRect().clone();if(j&&Y.applyTransform(j.transform),typeof D=="function"&&(D=D([F,R],M,U.el,Y,{viewSize:[P,K],contentSize:H.slice()})),x.isArray(D))F=A(D[0],P),R=A(D[1],K);else if(x.isObject(D)){D.width=H[0],D.height=H[1];var k=a.getLayoutRect(D,{width:P,height:K});F=k.x,R=k.y,_=null,Z=null}else if(typeof D=="string"&&j){var Q=w(D,Y,H);F=Q[0],R=Q[1]}else{var Q=C(F,R,U,P,K,_?null:20,Z?null:20);F=Q[0],R=Q[1]}if(_&&(F-=L(_)?H[0]/2:_==="right"?H[0]:0),Z&&(R-=L(Z)?H[1]/2:Z==="bottom"?H[1]:0),N.get("confine")){var Q=T(F,R,U,P,K);F=Q[0],R=Q[1]}U.moveTo(F,R)},_updateContentNotChangedOnAxis:function(N){var D=this._lastDataByCoordSys,F=!!D&&D.length===N.length;return F&&h(D,function(R,U){var M=R.dataByAxis||{},j=N[U]||{},P=j.dataByAxis||[];F&=M.length===P.length,F&&h(M,function(K,H){var _=P[H]||{},Z=K.seriesDataIndices||[],Y=_.seriesDataIndices||[];F&=K.value===_.value&&K.axisType===_.axisType&&K.axisId===_.axisId&&Z.length===Y.length,F&&h(Z,function(k,Q){var X=Y[Q];F&=k.seriesIndex===X.seriesIndex&&k.dataIndex===X.dataIndex})})}),this._lastDataByCoordSys=N,!!F},_hide:function(N){this._lastDataByCoordSys=null,N({type:"hideTip",from:this.uid})},dispose:function(N,D){if(g.node)return;this._tooltipContent.dispose(),l.unregister("itemTooltip",D)}});function S(N){for(var D=N.pop();N.length;){var F=N.pop();F&&(s.isInstance(F)&&(F=F.get("tooltip",!0)),typeof F=="string"&&(F={formatter:F}),D=new s(F,D,D.ecModel))}return D}function E(N,D){return N.dispatchAction||x.bind(D.dispatchAction,D)}function C(N,D,F,R,U,M,j){var P=F.getOuterSize(),K=P.width,H=P.height;return M!=null&&(N+K+M>R?N-=K+M:N+=M),j!=null&&(D+H+j>U?D-=H+j:D+=j),[N,D]}function T(N,D,F,R,U){var M=F.getOuterSize(),j=M.width,P=M.height;return N=Math.min(N+j,R)-j,D=Math.min(D+P,U)-P,N=Math.max(N,0),D=Math.max(D,0),[N,D]}function w(N,D,F){var R=F[0],U=F[1],M=5,j=0,P=0,K=D.width,H=D.height;switch(N){case"inside":j=D.x+K/2-R/2,P=D.y+H/2-U/2;break;case"top":j=D.x+K/2-R/2,P=D.y-U-M;break;case"bottom":j=D.x+K/2-R/2,P=D.y+H+M;break;case"left":j=D.x-R-M,P=D.y+H/2-U/2;break;case"right":j=D.x+K+M,P=D.y+H/2-U/2}return[j,P]}function L(N){return N==="center"||N==="middle"}J.exports=O},Qxkt:function(J,B,e){var d=e("bYtY"),x=e("ItGF"),g=e("4NO4"),p=g.makeInner,v=e("Yl7c"),b=v.enableClassExtend,f=v.enableClassCheck,i=e("OQFs"),r=e("m9t5"),a=e("/iHx"),s=e("VR9l"),l=d.mixin,n=p();function u(h,A,y){this.parentModel=A,this.ecModel=y,this.option=h}u.prototype={constructor:u,init:null,mergeOption:function(h){d.merge(this.option,h,!0)},get:function(h,A){return h==null?this.option:t(this.option,this.parsePath(h),!A&&c(this,h))},getShallow:function(h,A){var y=this.option,O=y==null?y:y[h],S=!A&&c(this,h);return O==null&&S&&(O=S.getShallow(h)),O},getModel:function(h,A){var y=h==null?this.option:t(this.option,h=this.parsePath(h)),O;return A=A||(O=c(this,h))&&O.getModel(h),new u(y,A,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var h=this.constructor;return new h(d.clone(this.option))},setReadOnly:function(h){},parsePath:function(h){return typeof h=="string"&&(h=h.split(".")),h},customizeGetParent:function(h){n(this).getParent=h},isAnimationEnabled:function(){if(!x.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(h,A,y){for(var O=0;O<A.length;O++){if(!A[O])continue;if(h=h&&typeof h=="object"?h[A[O]]:null,h==null)break}return h==null&&y&&(h=y.get(A)),h}function c(h,A){var y=n(h).getParent;return y?y.call(h,A):h.parentModel}b(u),f(u),l(u,i),l(u,r),l(u,a),l(u,s);var o=u;J.exports=o},QyFq:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};B.default=d},QzjZ:function(J,B,e){var d=e("S/Yl"),x=e("IDmD");function g(p,v){var b=[];return p.eachComponent("singleAxis",function(f,i){var r=new d(f,p,v);r.name="single_"+i,r.resize(f,v),f.coordinateSystem=r,b.push(r)}),p.eachSeries(function(f){if(f.get("coordinateSystem")==="singleAxis"){var i=p.queryComponents({mainType:"singleAxis",index:f.get("singleAxisIndex"),id:f.get("singleAxisId")})[0];f.coordinateSystem=i&&i.coordinateSystem}}),b}x.register("single",{create:g,dimensions:d.prototype.dimensions})},R4Th:function(J,B,e){var d=e("ProS"),x=e("9wZj"),g=e("yO87"),p=e("Fofx"),v=e("h8O9"),b=d.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new x(g)},render:function(f,i,r){var a=f.getData(),s=this._symbolDraw;s.updateData(a),this.group.add(s.group)},updateTransform:function(f,i,r){var a=f.getData();this.group.dirty();var s=v().reset(f);s.progress&&s.progress({start:0,end:a.count()},a),this._symbolDraw.updateLayout(a)},_updateGroupTransform:function(f){var i=f.coordinateSystem;i&&i.getRoamTransform&&(this.group.transform=p.clone(i.getRoamTransform()),this.group.decomposeTransform())},remove:function(f,i){this._symbolDraw&&this._symbolDraw.remove(i)},dispose:function(){}});J.exports=b},R9oj:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("pwpV"),p=e.n(g)},RBEP:function(J,B,e){for(var d=e("ProS"),x=e("VaxA"),g=function(){},p=["treemapZoomToNode","treemapRender","treemapMove"],v=0;v<p.length;v++)d.registerAction({type:p[v],update:"updateView"},g);d.registerAction({type:"treemapRootToNode",update:"updateView"},function(b,f){f.eachComponent({mainType:"series",subType:"treemap",query:b},i);function i(r,a){var s=["treemapZoomToNode","treemapRootToNode"],l=x.retrieveTargetInfo(b,s,r);if(l){var n=r.getViewRoot();n&&(b.direction=x.aboveViewRoot(n,l.node)?"rollUp":"drillDown"),r.resetViewRoot(l.node)}}})},RCxd:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="ExclamationCircleOutlined";var b=B.a=d.forwardRef(v)},RDYZ:function(J,B,e){var d=e("dMvE");function x(p){this._target=p.target,this._life=p.life||1e3,this._delay=p.delay||0,this._initialized=!1,this.loop=p.loop==null?!1:p.loop,this.gap=p.gap||0,this.easing=p.easing||"Linear",this.onframe=p.onframe,this.ondestroy=p.ondestroy,this.onrestart=p.onrestart,this._pausedTime=0,this._paused=!1}x.prototype={constructor:x,step:function(v,b){if(this._initialized||(this._startTime=v+this._delay,this._initialized=!0),this._paused){this._pausedTime+=b;return}var f=(v-this._startTime-this._pausedTime)/this._life;if(f<0)return;f=Math.min(f,1);var i=this.easing,r=typeof i=="string"?d[i]:i,a=typeof r=="function"?r(f):f;return this.fire("frame",a),f===1?this.loop?(this.restart(v),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(v){var b=(v-this._startTime-this._pausedTime)%this._life;this._startTime=v-b+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(v,b){v="on"+v,this[v]&&this[v](this._target,b)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var g=x;J.exports=g},RELg:function(J,B,e){var d=e("MFOe"),x=d.Global;J.exports={name:"oldIE-userDataStorage",write:f,read:i,each:r,remove:a,clearAll:s};var g="storejs",p=x.document,v=u(),b=(x.navigator?x.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function f(t,c){if(b)return;var o=n(t);v(function(h){h.setAttribute(o,c),h.save(g)})}function i(t){if(b)return;var c=n(t),o=null;return v(function(h){o=h.getAttribute(c)}),o}function r(t){v(function(c){for(var o=c.XMLDocument.documentElement.attributes,h=o.length-1;h>=0;h--){var A=o[h];t(c.getAttribute(A.name),A.name)}})}function a(t){var c=n(t);v(function(o){o.removeAttribute(c),o.save(g)})}function s(){v(function(t){var c=t.XMLDocument.documentElement.attributes;t.load(g);for(var o=c.length-1;o>=0;o--)t.removeAttribute(c[o].name);t.save(g)})}var l=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function n(t){return t.replace(/^\d/,"___$&").replace(l,"___")}function u(){if(!p||!p.documentElement||!p.documentElement.addBehavior)return null;var t="script",c,o,h;try{o=new ActiveXObject("htmlfile"),o.open(),o.write("<"+t+">document.w=window</"+t+'><iframe src="/favicon.ico"></iframe>'),o.close(),c=o.w.frames[0].document,h=c.createElement("div")}catch(A){h=p.createElement("div"),c=p.body}return function(A){var y=[].slice.call(arguments,0);y.unshift(h),c.appendChild(h),h.addBehavior("#default#userData"),h.load(g),A.apply(this,y),c.removeChild(h);return}}},RPvy:function(J,B,e){var d=e("ProS"),x=e("VaxA"),g="sunburstRootToNode";d.registerAction({type:g,update:"updateView"},function(b,f){f.eachComponent({mainType:"series",subType:"sunburst",query:b},i);function i(r,a){var s=x.retrieveTargetInfo(b,[g],r);if(s){var l=r.getViewRoot();l&&(b.direction=x.aboveViewRoot(l,s.node)?"rollUp":"drillDown"),r.resetViewRoot(s.node)}}});var p="sunburstHighlight";d.registerAction({type:p,update:"updateView"},function(b,f){f.eachComponent({mainType:"series",subType:"sunburst",query:b},i);function i(r,a){var s=x.retrieveTargetInfo(b,[p],r);s&&(b.highlight=s.node)}});var v="sunburstUnhighlight";d.registerAction({type:v,update:"updateView"},function(b,f){f.eachComponent({mainType:"series",subType:"sunburst",query:b},i);function i(r,a){b.unhighlight=!0}})},RSch:function(J,B,e){var d=e("IwbS"),x=e("bYtY");function g(b,f,i){d.Group.call(this),this._createPolyline(b,f,i)}var p=g.prototype;p._createPolyline=function(b,f,i){var r=b.getItemLayout(f),a=new d.Polyline({shape:{points:r}});this.add(a),this._updateCommonStl(b,f,i)},p.updateData=function(b,f,i){var r=b.hostModel,a=this.childAt(0),s={shape:{points:b.getItemLayout(f)}};d.updateProps(a,s,r,f),this._updateCommonStl(b,f,i)},p._updateCommonStl=function(b,f,i){var r=this.childAt(0),a=b.getItemModel(f),s=b.getItemVisual(f,"color"),l=i&&i.lineStyle,n=i&&i.hoverLineStyle;(!i||b.hasItemOption)&&(l=a.getModel("lineStyle").getLineStyle(),n=a.getModel("emphasis.lineStyle").getLineStyle()),r.useStyle(x.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),r.hoverStyle=n,d.setHoverStyle(this)},p.updateLayout=function(b,f){var i=this.childAt(0);i.setShape("points",b.getItemLayout(f))},x.inherits(g,d.Group);var v=g;J.exports=v},RXMa:function(J,B,e){var d=e("y+Vt"),x=d.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(p,v){var b=v.cx,f=v.cy,i=Math.PI*2;p.moveTo(b+v.r,f),p.arc(b,f,v.r,0,i,!1),p.moveTo(b+v.r0,f),p.arc(b,f,v.r0,0,i,!0)}});J.exports=x},RZPm:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("JgUQ")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="FileOutlined";var f=g.forwardRef(b);B.default=f},RlCK:function(J,B,e){var d=e("ProS"),x=e("bYtY");function g(p,v,b){var f={},i=p==="toggleSelected",r;return b.eachComponent("legend",function(a){i&&r!=null?a[r?"select":"unSelect"](v.name):p==="allSelect"||p==="inverseSelect"?a[p]():(a[p](v.name),r=a.isSelected(v.name));var s=a.getData();x.each(s,function(l){var n=l.get("name");if(n===`
|
|
|
`||n==="")return;var u=a.isSelected(n);f.hasOwnProperty(n)?f[n]=f[n]&&u:f[n]=u})}),p==="allSelect"||p==="inverseSelect"?{selected:f}:{name:v.name,selected:f}}d.registerAction("legendToggleSelect","legendselectchanged",x.curry(g,"toggleSelected")),d.registerAction("legendAllSelect","legendselectall",x.curry(g,"allSelect")),d.registerAction("legendInverseSelect","legendinverseselect",x.curry(g,"inverseSelect")),d.registerAction("legendSelect","legendselected",x.curry(g,"select")),d.registerAction("legendUnSelect","legendunselected",x.curry(g,"unSelect"))},RotF:function(J,B,e){J.exports=e("LSTS")},Rx6q:function(J,B){function e(d){var x=d.getRect(),g=d.getRangeInfo();return{coordSys:{type:"calendar",x:x.x,y:x.y,width:x.width,height:x.height,cellWidth:d.getCellWidth(),cellHeight:d.getCellHeight(),rangeInfo:{start:g.start,end:g.end,weeks:g.weeks,dayCount:g.allDay}},api:{coord:function(p,v){return d.dataToPoint(p,v)}}}}J.exports=e},"S/Yl":function(J,B,e){var d=e("Zvw2"),x=e("aX7z"),g=e("+TT/"),p=g.getLayoutRect,v=e("bYtY"),b=v.each;function f(r,a,s){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(r,a,s),this.model=r}f.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:f,_init:function(r,a,s){var l=this.dimension,n=new d(l,x.createScaleByModel(r),[0,0],r.get("type"),r.get("position")),u=n.type==="category";n.onBand=u&&r.get("boundaryGap"),n.inverse=r.get("inverse"),n.orient=r.get("orient"),r.axis=n,n.model=r,n.coordinateSystem=this,this._axis=n},update:function(r,a){r.eachSeries(function(s){if(s.coordinateSystem===this){var l=s.getData();b(l.mapDimension(this.dimension,!0),function(n){this._axis.scale.unionExtentFromData(l,n)},this),x.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(r,a){this._rect=p({left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")},{width:a.getWidth(),height:a.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var r=this._rect,a=this._axis,s=a.isHorizontal(),l=s?[0,r.width]:[0,r.height],n=a.reverse?1:0;a.setExtent(l[n],l[1-n]),this._updateAxisTransform(a,s?r.x:r.y)},_updateAxisTransform:function(r,a){var s=r.getExtent(),l=s[0]+s[1],n=r.isHorizontal();r.toGlobalCoord=n?function(u){return u+a}:function(u){return l-u+a},r.toLocalCoord=n?function(u){return u-a}:function(u){return l-u+a}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(r){var a=this.getRect(),s=this.getAxis(),l=s.orient;return l==="horizontal"?s.contain(s.toLocalCoord(r[0]))&&r[1]>=a.y&&r[1]<=a.y+a.height:s.contain(s.toLocalCoord(r[1]))&&r[0]>=a.y&&r[0]<=a.y+a.height},pointToData:function(r){var a=this.getAxis();return[a.coordToData(a.toLocalCoord(r[a.orient==="horizontal"?0:1]))]},dataToPoint:function(r){var a=this.getAxis(),s=this.getRect(),l=[],n=a.orient==="horizontal"?0:1;return r instanceof Array&&(r=r[0]),l[n]=a.toGlobalCoord(a.dataToCoord(+r)),l[1-n]=n===0?s.y+s.height/2:s.x+s.width/2,l}};var i=f;J.exports=i},"SA+Z":function(J,B,e){var d=e("wTVA"),x=e("EbDI"),g=e("ZhPi"),p=e("wkBT");function v(b){return d(b)||x(b)||g(b)||p()}J.exports=v},"SA4+":function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("ProS"),p=e("IwbS"),v=e("zYTA"),b=e("bYtY");function f(s,l,n){var u=s[1]-s[0];l=b.map(l,function(o){return{interval:[(o.interval[0]-s[0])/u,(o.interval[1]-s[0])/u]}});var t=l.length,c=0;return function(o){for(var h=c;h<t;h++){var A=l[h].interval;if(A[0]<=o&&o<=A[1]){c=h;break}}if(h===t)for(var h=c-1;h>=0;h--){var A=l[h].interval;if(A[0]<=o&&o<=A[1]){c=h;break}}return h>=0&&h<t&&n[h]}}function i(s,l){var n=s[1]-s[0];return l=[(l[0]-s[0])/n,(l[1]-s[0])/n],function(u){return u>=l[0]&&u<=l[1]}}function r(s){var l=s.dimensions;return l[0]==="lng"&&l[1]==="lat"}var a=g.extendChartView({type:"heatmap",render:function(s,l,n){var u;l.eachComponent("visualMap",function(c){c.eachTargetSeries(function(o){o===s&&(u=c)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=s.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(s,n,0,s.getData().count()):r(t)&&this._renderOnGeo(t,s,u,n)},incrementalPrepareRender:function(s,l,n){this.group.removeAll()},incrementalRender:function(s,l,n,u){var t=l.coordinateSystem;t&&this._renderOnCartesianAndCalendar(l,u,s.start,s.end,!0)},_renderOnCartesianAndCalendar:function(s,l,n,u,t){var c=s.coordinateSystem,o,h;if(c.type==="cartesian2d"){var A=c.getAxis("x"),y=c.getAxis("y");o=A.getBandWidth(),h=y.getBandWidth()}for(var O=this.group,S=s.getData(),E="itemStyle",C="emphasis.itemStyle",T="label",w="emphasis.label",L=s.getModel(E).getItemStyle(["color"]),N=s.getModel(C).getItemStyle(),D=s.getModel(T),F=s.getModel(w),R=c.type,U=R==="cartesian2d"?[S.mapDimension("x"),S.mapDimension("y"),S.mapDimension("value")]:[S.mapDimension("time"),S.mapDimension("value")],M=n;M<u;M++){var j;if(R==="cartesian2d"){if(isNaN(S.get(U[2],M)))continue;var P=c.dataToPoint([S.get(U[0],M),S.get(U[1],M)]);j=new p.Rect({shape:{x:Math.floor(Math.round(P[0])-o/2),y:Math.floor(Math.round(P[1])-h/2),width:Math.ceil(o),height:Math.ceil(h)},style:{fill:S.getItemVisual(M,"color"),opacity:S.getItemVisual(M,"opacity")}})}else{if(isNaN(S.get(U[1],M)))continue;j=new p.Rect({z2:1,shape:c.dataToRect([S.get(U[0],M)]).contentShape,style:{fill:S.getItemVisual(M,"color"),opacity:S.getItemVisual(M,"opacity")}})}var K=S.getItemModel(M);S.hasItemOption&&(L=K.getModel(E).getItemStyle(["color"]),N=K.getModel(C).getItemStyle(),D=K.getModel(T),F=K.getModel(w));var H=s.getRawValue(M),_="-";H&&H[2]!=null&&(_=H[2]),p.setLabelStyle(L,N,D,F,{labelFetcher:s,labelDataIndex:M,defaultText:_,isRectText:!0}),j.setStyle(L),p.setHoverStyle(j,S.hasItemOption?N:b.extend({},N)),j.incremental=t,t&&(j.useHoverLayer=!0),O.add(j),S.setItemGraphicEl(M,j)}},_renderOnGeo:function(s,l,n,u){var t=n.targetVisuals.inRange,c=n.targetVisuals.outOfRange,o=l.getData(),h=this._hmLayer||this._hmLayer||new v;h.blurSize=l.get("blurSize"),h.pointSize=l.get("pointSize"),h.minOpacity=l.get("minOpacity"),h.maxOpacity=l.get("maxOpacity");var A=s.getViewRect().clone(),y=s.getRoamTransform();A.applyTransform(y);var O=Math.max(A.x,0),S=Math.max(A.y,0),E=Math.min(A.width+A.x,u.getWidth()),C=Math.min(A.height+A.y,u.getHeight()),T=E-O,w=C-S,L=[o.mapDimension("lng"),o.mapDimension("lat"),o.mapDimension("value")],N=o.mapArray(L,function(U,M,j){var P=s.dataToPoint([U,M]);return P[0]-=O,P[1]-=S,P.push(j),P}),D=n.getExtent(),F=n.type==="visualMap.continuous"?i(D,n.option.range):f(D,n.getPieceList(),n.option.selected);h.update(N,T,w,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:c.color.getColorMapper()},F);var R=new p.Image({style:{width:T,height:w,x:O,y:S,image:h.canvas},silent:!0});this.group.add(R)},dispose:function(){}});J.exports=a},SA8n:function(J,B,e){var d=e("Sj9i"),x=e("QBsz"),g=e("U/Mo"),p=g.getSymbolSize,v=[],b=[],f=[],i=d.quadraticAt,r=x.distSquare,a=Math.abs;function s(n,u,t){for(var c=n[0],o=n[1],h=n[2],A=Infinity,y,O=t*t,S=.1,E=.1;E<=.9;E+=.1){v[0]=i(c[0],o[0],h[0],E),v[1]=i(c[1],o[1],h[1],E);var C=a(r(v,u)-O);C<A&&(A=C,y=E)}for(var T=0;T<32;T++){var w=y+S;b[0]=i(c[0],o[0],h[0],y),b[1]=i(c[1],o[1],h[1],y),f[0]=i(c[0],o[0],h[0],w),f[1]=i(c[1],o[1],h[1],w);var C=r(b,u)-O;if(a(C)<.01)break;var L=r(f,u)-O;S/=2,C<0?L>=0?y=y+S:y=y-S:L>=0?y=y-S:y=y+S}return y}function l(n,u){var t=[],c=d.quadraticSubdivide,o=[[],[],[]],h=[[],[]],A=[];u/=2,n.eachEdge(function(y,O){var S=y.getLayout(),E=y.getVisual("fromSymbol"),C=y.getVisual("toSymbol");S.__original||(S.__original=[x.clone(S[0]),x.clone(S[1])],S[2]&&S.__original.push(x.clone(S[2])));var T=S.__original;if(S[2]!=null){if(x.copy(o[0],T[0]),x.copy(o[1],T[2]),x.copy(o[2],T[1]),E&&E!=="none"){var w=p(y.node1),L=s(o,T[0],w*u);c(o[0][0],o[1][0],o[2][0],L,t),o[0][0]=t[3],o[1][0]=t[4],c(o[0][1],o[1][1],o[2][1],L,t),o[0][1]=t[3],o[1][1]=t[4]}if(C&&C!=="none"){var w=p(y.node2),L=s(o,T[1],w*u);c(o[0][0],o[1][0],o[2][0],L,t),o[1][0]=t[1],o[2][0]=t[2],c(o[0][1],o[1][1],o[2][1],L,t),o[1][1]=t[1],o[2][1]=t[2]}x.copy(S[0],o[0]),x.copy(S[1],o[2]),x.copy(S[2],o[1])}else{if(x.copy(h[0],T[0]),x.copy(h[1],T[1]),x.sub(A,h[1],h[0]),x.normalize(A,A),E&&E!=="none"){var w=p(y.node1);x.scaleAndAdd(h[0],h[0],A,w*u)}if(C&&C!=="none"){var w=p(y.node2);x.scaleAndAdd(h[1],h[1],A,-w*u)}x.copy(S[0],h[0]),x.copy(S[1],h[1])}})}J.exports=l},SJMd:function(J,B){/**
|
|
|
* @license
|
|
|
* Copyright (C) 2006 Google Inc.
|
|
|
*
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
* You may obtain a copy of the License at
|
|
|
*
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
*
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
* See the License for the specific language governing permissions and
|
|
|
* limitations under the License.
|
|
|
*/var e,d,x,g=!1,p,v;window.PR_SHOULD_USE_CONTINUATION=!0;var b,f;(function(){var i=window,r=["break,continue,do,else,for,if,return,while"],a=[r,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],s=[a,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],l=[s,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],n=[s,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],u=[s,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],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",c=[s,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],o="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",h=[r,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],A=[r,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],y=[r,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],O=[l,u,n,c,o,h,A,y],S=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,E="str",C="kwd",T="com",w="typ",L="lit",N="pun",D="pln",F="tag",R="dec",U="src",M="atn",j="atv",P="nocode",K="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function H(ct){for(var nt=0,bt=!1,dt=!1,vt=0,Qe=ct.length;vt<Qe;++vt){var mt=ct[vt];if(mt.ignoreCase)dt=!0;else if(/[a-z]/i.test(mt.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){bt=!0,dt=!1;break}}var Pe={b:8,t:9,n:10,v:11,f:12,r:13};function De(_t){var Ue=_t.charCodeAt(0);if(Ue!==92)return Ue;var zt=_t.charAt(1);return Ue=Pe[zt],Ue||("0"<=zt&&zt<="7"?parseInt(_t.substring(1),8):zt==="u"||zt==="x"?parseInt(_t.substring(2),16):_t.charCodeAt(1))}function Ie(_t){if(_t<32)return(_t<16?"\\x0":"\\x")+_t.toString(16);var Ue=String.fromCharCode(_t);return Ue==="\\"||Ue==="-"||Ue==="]"||Ue==="^"?"\\"+Ue:Ue}function ot(_t){var Ue=_t.substring(1,_t.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),zt=[],xt=Ue[0]==="^",Pt=["["];xt&&Pt.push("^");for(var Ke=xt?1:0,Ye=Ue.length;Ke<Ye;++Ke){var $e=Ue[Ke];if(/\\[bdsw]/i.test($e))Pt.push($e);else{var ut=De($e),et;Ke+2<Ye&&Ue[Ke+1]==="-"?(et=De(Ue[Ke+2]),Ke+=2):et=ut,zt.push([ut,et]),et<65||ut>122||(et<65||ut>90||zt.push([Math.max(65,ut)|32,Math.min(et,90)|32]),et<97||ut>122||zt.push([Math.max(97,ut)&~32,Math.min(et,122)&~32]))}}zt.sort(function(Be,ht){return Be[0]-ht[0]||ht[1]-Be[1]});for(var oe=[],me=[],Ke=0;Ke<zt.length;++Ke){var it=zt[Ke];it[0]<=me[1]+1?me[1]=Math.max(me[1],it[1]):oe.push(me=it)}for(var Ke=0;Ke<oe.length;++Ke){var it=oe[Ke];Pt.push(Ie(it[0])),it[1]>it[0]&&(it[1]+1>it[0]&&Pt.push("-"),Pt.push(Ie(it[1])))}return Pt.push("]"),Pt.join("")}function wt(_t){for(var Ue=_t.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")),zt=Ue.length,xt=[],Pt=0,Ke=0;Pt<zt;++Pt){var Ye=Ue[Pt];if(Ye==="(")++Ke;else if(Ye.charAt(0)==="\\"){var $e=+Ye.substring(1);$e&&($e<=Ke?xt[$e]=-1:Ue[Pt]=Ie($e))}}for(var Pt=1;Pt<xt.length;++Pt)xt[Pt]===-1&&(xt[Pt]=++nt);for(var Pt=0,Ke=0;Pt<zt;++Pt){var Ye=Ue[Pt];if(Ye==="(")++Ke,xt[Ke]||(Ue[Pt]="(?:");else if(Ye.charAt(0)==="\\"){var $e=+Ye.substring(1);$e&&$e<=Ke&&(Ue[Pt]="\\"+xt[$e])}}for(var Pt=0;Pt<zt;++Pt)Ue[Pt]==="^"&&Ue[Pt+1]!=="^"&&(Ue[Pt]="");if(_t.ignoreCase&&bt)for(var Pt=0;Pt<zt;++Pt){var Ye=Ue[Pt],ut=Ye.charAt(0);Ye.length>=2&&ut==="["?Ue[Pt]=ot(Ye):ut!=="\\"&&(Ue[Pt]=Ye.replace(/[a-zA-Z]/g,function(me){var it=me.charCodeAt(0);return"["+String.fromCharCode(it&~32,it|32)+"]"}))}return Ue.join("")}for(var Bt=[],vt=0,Qe=ct.length;vt<Qe;++vt){var mt=ct[vt];if(mt.global||mt.multiline)throw new Error(""+mt);Bt.push("(?:"+wt(mt)+")")}return new RegExp(Bt.join("|"),dt?"gi":"g")}function _(ct,nt){var bt=/(?:^|\s)nocode(?:\s|$)/,dt=[],vt=0,Qe=[],mt=0;function Pe(De){var Ie=De.nodeType;if(Ie==1){if(bt.test(De.className))return;for(var ot=De.firstChild;ot;ot=ot.nextSibling)Pe(ot);var wt=De.nodeName.toLowerCase();(wt==="br"||wt==="li")&&(dt[mt]=`
|
|
|
`,Qe[mt<<1]=vt++,Qe[mt++<<1|1]=De)}else if(Ie==3||Ie==4){var Bt=De.nodeValue;Bt.length&&(nt?Bt=Bt.replace(/\r\n?/g,`
|
|
|
`):Bt=Bt.replace(/[ \t\r\n]+/g," "),dt[mt]=Bt,Qe[mt<<1]=vt,vt+=Bt.length,Qe[mt++<<1|1]=De)}}return Pe(ct),{sourceCode:dt.join("").replace(/\n$/,""),spans:Qe}}function Z(ct,nt,bt,dt,vt){if(!bt)return;var Qe={sourceNode:ct,pre:1,langExtension:null,numberLines:null,sourceCode:bt,spans:null,basePos:nt,decorations:null};dt(Qe),vt.push.apply(vt,Qe.decorations)}var Y=/\S/;function k(ct){for(var nt=void 0,bt=ct.firstChild;bt;bt=bt.nextSibling){var dt=bt.nodeType;nt=dt===1?nt?ct:bt:dt===3&&Y.test(bt.nodeValue)?ct:nt}return nt===ct?void 0:nt}function Q(ct,nt){var bt={},dt;(function(){for(var mt=ct.concat(nt),Pe=[],De={},Ie=0,ot=mt.length;Ie<ot;++Ie){var wt=mt[Ie],Bt=wt[3];if(Bt)for(var _t=Bt.length;--_t>=0;)bt[Bt.charAt(_t)]=wt;var Ue=wt[1],zt=""+Ue;De.hasOwnProperty(zt)||(Pe.push(Ue),De[zt]=null)}Pe.push(/[\0-\uffff]/),dt=H(Pe)})();var vt=nt.length,Qe=function mt(Pe){for(var De=Pe.sourceCode,Ie=Pe.basePos,ot=Pe.sourceNode,wt=[Ie,D],Bt=0,_t=De.match(dt)||[],Ue={},zt=0,xt=_t.length;zt<xt;++zt){var Pt=_t[zt],Ke=Ue[Pt],Ye=void 0,$e;if(typeof Ke=="string")$e=!1;else{var ut=bt[Pt.charAt(0)];if(ut)Ye=Pt.match(ut[1]),Ke=ut[0];else{for(var et=0;et<vt;++et)if(ut=nt[et],Ye=Pt.match(ut[1]),Ye){Ke=ut[0];break}Ye||(Ke=D)}$e=Ke.length>=5&&Ke.substring(0,5)==="lang-",$e&&!(Ye&&typeof Ye[1]=="string")&&($e=!1,Ke=U),$e||(Ue[Pt]=Ke)}var oe=Bt;if(Bt+=Pt.length,!$e)wt.push(Ie+oe,Ke);else{var me=Ye[1],it=Pt.indexOf(me),Be=it+me.length;Ye[2]&&(Be=Pt.length-Ye[2].length,it=Be-me.length);var ht=Ke.substring(5);Z(ot,Ie+oe,Pt.substring(0,it),mt,wt),Z(ot,Ie+oe+it,me,We(ht,me),wt),Z(ot,Ie+oe+Be,Pt.substring(Be),mt,wt)}}Pe.decorations=wt};return Qe}function X(ct){var nt=[],bt=[];ct.tripleQuotedStrings?nt.push([E,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):ct.multiLineStrings?nt.push([E,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):nt.push([E,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),ct.verbatimStrings&&bt.push([E,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var dt=ct.hashComments;dt&&(ct.cStyleComments?(dt>1?nt.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):nt.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),bt.push([E,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):nt.push([T,/^#[^\r\n]*/,null,"#"])),ct.cStyleComments&&(bt.push([T,/^\/\/[^\r\n]*/,null]),bt.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var vt=ct.regexLiterals;if(vt){var Qe=vt>1?"":`
|
|
|
\r`,mt=Qe?".":"[\\S\\s]",Pe="/(?=[^/*"+Qe+"])(?:[^/\\x5B\\x5C"+Qe+"]|\\x5C"+mt+"|\\x5B(?:[^\\x5C\\x5D"+Qe+"]|\\x5C"+mt+")*(?:\\x5D|$))+/";bt.push(["lang-regex",RegExp("^"+K+"("+Pe+")")])}var De=ct.types;De&&bt.push([w,De]);var Ie=(""+ct.keywords).replace(/^ | $/g,"");Ie.length&&bt.push([C,new RegExp("^(?:"+Ie.replace(/[\s,]+/g,"|")+")\\b"),null]),nt.push([D,/^\s+/,null,` \r
|
|
|
\xA0`]);var ot="^.[^\\s\\w.$@'\"`/\\\\]*";return ct.regexLiterals&&(ot+="(?!s*/)"),bt.push([L,/^@[a-z_$][a-z_$@0-9]*/i,null],[w,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[D,/^[a-z_$][a-z_$@0-9]*/i,null],[L,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[D,/^\\[\s\S]?/,null],[N,new RegExp(ot),null]),Q(nt,bt)}var he=X({keywords:O,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function te(ct,nt,bt){for(var dt=/(?:^|\s)nocode(?:\s|$)/,vt=/\r\n?|\n/,Qe=ct.ownerDocument,mt=Qe.createElement("li");ct.firstChild;)mt.appendChild(ct.firstChild);var Pe=[mt];function De(Ue){var zt=Ue.nodeType;if(zt==1&&!dt.test(Ue.className))if(Ue.nodeName==="br")Ie(Ue),Ue.parentNode&&Ue.parentNode.removeChild(Ue);else for(var xt=Ue.firstChild;xt;xt=xt.nextSibling)De(xt);else if((zt==3||zt==4)&&bt){var Pt=Ue.nodeValue,Ke=Pt.match(vt);if(Ke){var Ye=Pt.substring(0,Ke.index);Ue.nodeValue=Ye;var $e=Pt.substring(Ke.index+Ke[0].length);if($e){var ut=Ue.parentNode;ut.insertBefore(Qe.createTextNode($e),Ue.nextSibling)}Ie(Ue),Ye||Ue.parentNode.removeChild(Ue)}}}function Ie(Ue){for(;!Ue.nextSibling;)if(Ue=Ue.parentNode,!Ue)return;function zt(Ke,Ye){var $e=Ye?Ke.cloneNode(!1):Ke,ut=Ke.parentNode;if(ut){var et=zt(ut,1),oe=Ke.nextSibling;et.appendChild($e);for(var me=oe;me;me=oe)oe=me.nextSibling,et.appendChild(me)}return $e}for(var xt=zt(Ue.nextSibling,0),Pt;(Pt=xt.parentNode)&&Pt.nodeType===1;)xt=Pt;Pe.push(xt)}for(var ot=0;ot<Pe.length;++ot)De(Pe[ot]);nt===(nt|0)&&Pe[0].setAttribute("value",nt);var wt=Qe.createElement("ol");wt.className="linenums";for(var Bt=Math.max(0,nt-1|0)||0,ot=0,_t=Pe.length;ot<_t;++ot)mt=Pe[ot],mt.className="L"+(ot+Bt)%10,mt.firstChild||mt.appendChild(Qe.createTextNode("\xA0")),wt.appendChild(mt);ct.appendChild(wt)}function pe(ct){var nt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);nt=nt&&+nt[1]<=8;var bt=/\n/g,dt=ct.sourceCode,vt=dt.length,Qe=0,mt=ct.spans,Pe=mt.length,De=0,Ie=ct.decorations,ot=Ie.length,wt=0;Ie[ot]=vt;var Bt,_t;for(_t=Bt=0;_t<ot;)Ie[_t]!==Ie[_t+2]?(Ie[Bt++]=Ie[_t++],Ie[Bt++]=Ie[_t++]):_t+=2;for(ot=Bt,_t=Bt=0;_t<ot;){for(var Ue=Ie[_t],zt=Ie[_t+1],xt=_t+2;xt+2<=ot&&Ie[xt+1]===zt;)xt+=2;Ie[Bt++]=Ue,Ie[Bt++]=zt,_t=xt}ot=Ie.length=Bt;var Pt=ct.sourceNode,Ke="";Pt&&(Ke=Pt.style.display,Pt.style.display="none");try{for(var Ye=null;De<Pe;){var $e=mt[De],ut=mt[De+2]||vt,et=Ie[wt+2]||vt,xt=Math.min(ut,et),oe=mt[De+1],me;if(oe.nodeType!==1&&(me=dt.substring(Qe,xt))){nt&&(me=me.replace(bt,"\r")),oe.nodeValue=me;var it=oe.ownerDocument,Be=it.createElement("span");Be.className=Ie[wt+1];var ht=oe.parentNode;ht.replaceChild(Be,oe),Be.appendChild(oe),Qe<ut&&(mt[De+1]=oe=it.createTextNode(dt.substring(xt,ut)),ht.insertBefore(oe,Be.nextSibling))}Qe=xt,Qe>=ut&&(De+=2),Qe>=et&&(wt+=2)}}finally{Pt&&(Pt.style.display=Ke)}}var Se={};function we(ct,nt){for(var bt=nt.length;--bt>=0;){var dt=nt[bt];Se.hasOwnProperty(dt)?i.console&&console.warn("cannot override language handler %s",dt):Se[dt]=ct}}function We(ct,nt){return ct&&Se.hasOwnProperty(ct)||(ct=/^\s*</.test(nt)?"default-markup":"default-code"),Se[ct]}we(he,["default-code"]),we(Q([],[[D,/^[^<?]+/],[R,/^<!\w[^>]*(?:>|$)/],[T,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[N,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),we(Q([[D,/^[\s]+/,null,` \r
|
|
|
`],[j,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[F,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[M,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[N,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),we(Q([],[[j,/^[\s\S]+/]]),["uq.val"]),we(X({keywords:l,hashComments:!0,cStyleComments:!0,types:S}),["c","cc","cpp","cxx","cyc","m"]),we(X({keywords:"null,true,false"}),["json"]),we(X({keywords:u,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:S}),["cs"]),we(X({keywords:n,cStyleComments:!0}),["java"]),we(X({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),we(X({keywords:h,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),we(X({keywords:o,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),we(X({keywords:A,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),we(X({keywords:c,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),we(X({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),we(Q([],[[E,/^[\s\S]+/]]),["regex"]);function qe(ct){var nt=ct.langExtension;try{var bt=_(ct.sourceNode,ct.pre),dt=bt.sourceCode;ct.sourceCode=dt,ct.spans=bt.spans,ct.basePos=0,We(nt,dt)(ct),pe(ct)}catch(vt){i.console&&console.log(vt&&vt.stack||vt)}}function yt(ct,nt,bt){var dt=bt||!1,vt=nt||null,Qe=document.createElement("div");Qe.innerHTML="<pre>"+ct+"</pre>",Qe=Qe.firstChild,dt&&te(Qe,dt,!0);var mt={langExtension:vt,numberLines:dt,sourceNode:Qe,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return qe(mt),Qe.innerHTML}function _e(ct,nt){var bt=nt||document.body,dt=bt.ownerDocument||document;function vt($e){return bt.getElementsByTagName($e)}for(var Qe=[vt("pre"),vt("code"),vt("xmp")],mt=[],Pe=0;Pe<Qe.length;++Pe)for(var De=0,Ie=Qe[Pe].length;De<Ie;++De)mt.push(Qe[Pe][De]);Qe=null;var ot=Date;ot.now||(ot={now:function(){return+new Date}});var wt=0,Bt=/\blang(?:uage)?-([\w.]+)(?!\S)/,_t=/\bprettyprint\b/,Ue=/\bprettyprinted\b/,zt=/pre|xmp/i,xt=/^code$/i,Pt=/^(?:pre|code|xmp)$/i,Ke={};function Ye(){for(var $e=i.PR_SHOULD_USE_CONTINUATION?ot.now()+250:Infinity;wt<mt.length&&ot.now()<$e;wt++){for(var ut=mt[wt],et=Ke,oe=ut;oe=oe.previousSibling;){var me=oe.nodeType,it=(me===7||me===8)&&oe.nodeValue;if(it?!/^\??prettify\b/.test(it):me!==3||/\S/.test(oe.nodeValue))break;if(it){et={},it.replace(/\b(\w+)=([\w:.%+-]+)/g,function(ae,ye,Ce){et[ye]=Ce});break}}var Be=ut.className;if((et!==Ke||_t.test(Be))&&!Ue.test(Be)){for(var ht=!1,Mr=ut.parentNode;Mr;Mr=Mr.parentNode){var Lt=Mr.tagName;if(Pt.test(Lt)&&Mr.className&&_t.test(Mr.className)){ht=!0;break}}if(!ht){ut.className+=" prettyprinted";var or=et.lang;if(!or){or=Be.match(Bt);var Qt;!or&&(Qt=k(ut))&&xt.test(Qt.tagName)&&(or=Qt.className.match(Bt)),or&&(or=or[1])}var qt;if(zt.test(ut.tagName))qt=1;else{var hr=ut.currentStyle,Gt=dt.defaultView,de=hr?hr.whiteSpace:Gt&&Gt.getComputedStyle?Gt.getComputedStyle(ut,null).getPropertyValue("white-space"):0;qt=de&&de.substring(0,3)==="pre"}var ue=et.linenums;(ue=ue==="true"||+ue)||(ue=Be.match(/\blinenums\b(?::(\d+))?/),ue=ue?ue[1]&&ue[1].length?+ue[1]:!0:!1),ue&&te(ut,ue,qt);var se={langExtension:or,sourceNode:ut,numberLines:ue,pre:qt,sourceCode:null,basePos:null,spans:null,decorations:null};qe(se)}}}wt<mt.length?i.setTimeout(Ye,250):typeof ct=="function"&&ct()}Ye()}var je=i.PR={createSimpleLexer:Q,registerLangHandler:we,sourceDecorator:X,PR_ATTRIB_NAME:M,PR_ATTRIB_VALUE:j,PR_COMMENT:T,PR_DECLARATION:R,PR_KEYWORD:C,PR_LITERAL:L,PR_NOCODE:P,PR_PLAIN:D,PR_PUNCTUATION:N,PR_SOURCE:U,PR_STRING:E,PR_TAG:F,PR_TYPE:w,prettyPrintOne:g?i.prettyPrintOne=yt:b=yt,prettyPrint:f=g?i.prettyPrint=_e:f=_e},Ct=i.define;typeof Ct=="function"&&Ct.amd&&Ct("google-code-prettify",[],function(){return je})})()},SKnc:function(J,B,e){var d=e("bYtY"),x=e("QuXc"),g=function(b,f,i,r,a,s){this.x=b==null?0:b,this.y=f==null?0:f,this.x2=i==null?1:i,this.y2=r==null?0:r,this.type="linear",this.global=s||!1,x.call(this,a)};g.prototype={constructor:g},d.inherits(g,x);var p=g;J.exports=p},"SKx+":function(J,B,e){var d=e("ProS"),x=d.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),g=x;J.exports=g},SMc4:function(J,B,e){var d=e("bYtY"),x=e("bLfw"),g=e("nkfE"),p=e("ICMv"),v=x.extend({type:"cartesian2dAxis",axis:null,init:function(){v.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){v.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){v.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function b(r,a){return a.type||(a.data?"category":"value")}d.merge(v.prototype,p);var f={offset:0};g("x",v,b,f),g("y",v,b,f);var i=v;J.exports=i},SRve:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};B.default=d},SUKs:function(J,B,e){var d=e("LPTA"),x=d.debugMode,g=function(){};x===1&&(g=console.error);var p=g;J.exports=p},Sdc0:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("q1tI"),b=e("rePB"),f=e("ODXe"),i=e("Ff2n"),r=e("TSYQ"),a=e.n(r),s=e("6cGi"),l=e("4IlW"),n=v.forwardRef(function(C,T){var w,L=C.prefixCls,N=L===void 0?"rc-switch":L,D=C.className,F=C.checked,R=C.defaultChecked,U=C.disabled,M=C.loadingIcon,j=C.checkedChildren,P=C.unCheckedChildren,K=C.onClick,H=C.onChange,_=C.onKeyDown,Z=Object(i.a)(C,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),Y=Object(s.a)(!1,{value:F,defaultValue:R}),k=Object(f.a)(Y,2),Q=k[0],X=k[1];function he(we,We){var qe=Q;return U||(qe=we,X(qe),H==null||H(qe,We)),qe}function te(we){we.which===l.a.LEFT?he(!1,we):we.which===l.a.RIGHT&&he(!0,we),_==null||_(we)}function pe(we){var We=he(!Q,we);K==null||K(We,we)}var Se=a()(N,D,(w={},Object(b.a)(w,"".concat(N,"-checked"),Q),Object(b.a)(w,"".concat(N,"-disabled"),U),w));return v.createElement("button",Object.assign({},Z,{type:"button",role:"switch","aria-checked":Q,disabled:U,className:Se,ref:T,onKeyDown:te,onClick:pe}),M,v.createElement("span",{className:"".concat(N,"-inner")},Q?j:P))});n.displayName="Switch";var u=n,t=e("gZBC"),c=e.n(t),o=e("g0mS"),h=e("H84U"),A=e("3Nzz"),y=e("uaoM"),O=function(C,T){var w={};for(var L in C)Object.prototype.hasOwnProperty.call(C,L)&&T.indexOf(L)<0&&(w[L]=C[L]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,L=Object.getOwnPropertySymbols(C);N<L.length;N++)T.indexOf(L[N])<0&&Object.prototype.propertyIsEnumerable.call(C,L[N])&&(w[L[N]]=C[L[N]]);return w},S=v.forwardRef(function(C,T){var w,L=C.prefixCls,N=C.size,D=C.loading,F=C.className,R=F===void 0?"":F,U=C.disabled,M=O(C,["prefixCls","size","loading","className","disabled"]);Object(y.a)("checked"in M||!("value"in M),"Switch","`value` is not a valid prop, do you mean `checked`?");var j=v.useContext(h.b),P=j.getPrefixCls,K=j.direction,H=v.useContext(A.b),_=P("switch",L),Z=v.createElement("div",{className:"".concat(_,"-handle")},D&&v.createElement(c.a,{className:"".concat(_,"-loading-icon")})),Y=a()(R,(w={},p()(w,"".concat(_,"-small"),(N||H)==="small"),p()(w,"".concat(_,"-loading"),D),p()(w,"".concat(_,"-rtl"),K==="rtl"),w));return v.createElement(o.a,{insertExtraNode:!0},v.createElement(u,x()({},M,{prefixCls:_,className:Y,disabled:U||D,ref:T,loadingIcon:Z})))});S.__ANT_SWITCH=!0,S.displayName="Switch";var E=B.a=S},SehX:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("2B6p"),p=g.updateCenterAndZoom;d.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(v,b){var f=v.componentType||"series";b.eachComponent({mainType:f,query:v},function(i){var r=i.coordinateSystem;if(r.type!=="geo")return;var a=p(r,v,i.get("scaleLimit"));i.setCenter&&i.setCenter(a.center),i.setZoom&&i.setZoom(a.zoom),f==="series"&&x.each(i.seriesGroup,function(s){s.setCenter(a.center),s.setZoom(a.zoom)})})})},SfRM:function(J,B,e){var d=e("YESw");function x(){this.__data__=d?d(null):{},this.size=0}J.exports=x},SgGq:function(J,B,e){var d=e("bYtY"),x=e("H6uX"),g=e("YH21"),p=e("pP6R");function v(t){this.pointerChecker,this._zr=t,this._opt={};var c=d.bind,o=c(b,this),h=c(f,this),A=c(i,this),y=c(r,this),O=c(a,this);x.call(this),this.setPointerChecker=function(S){this.pointerChecker=S},this.enable=function(S,E){this.disable(),this._opt=d.defaults(d.clone(E)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),S==null&&(S=!0),(S===!0||S==="move"||S==="pan")&&(t.on("mousedown",o),t.on("mousemove",h),t.on("mouseup",A)),(S===!0||S==="scale"||S==="zoom")&&(t.on("mousewheel",y),t.on("pinch",O))},this.disable=function(){t.off("mousedown",o),t.off("mousemove",h),t.off("mouseup",A),t.off("mousewheel",y),t.off("pinch",O)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}d.mixin(v,x);function b(t){if(g.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)return;var c=t.offsetX,o=t.offsetY;this.pointerChecker&&this.pointerChecker(t,c,o)&&(this._x=c,this._y=o,this._dragging=!0)}function f(t){if(!this._dragging||!n("moveOnMouseMove",t,this._opt)||t.gestureEvent==="pinch"||p.isTaken(this._zr,"globalPan"))return;var c=t.offsetX,o=t.offsetY,h=this._x,A=this._y,y=c-h,O=o-A;this._x=c,this._y=o,this._opt.preventDefaultMouseMove&&g.stop(t.event),l(this,"pan","moveOnMouseMove",t,{dx:y,dy:O,oldX:h,oldY:A,newX:c,newY:o})}function i(t){g.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function r(t){var c=n("zoomOnMouseWheel",t,this._opt),o=n("moveOnMouseWheel",t,this._opt),h=t.wheelDelta,A=Math.abs(h),y=t.offsetX,O=t.offsetY;if(h===0||!c&&!o)return;if(c){var S=A>3?1.4:A>1?1.2:1.1,E=h>0?S:1/S;s(this,"zoom","zoomOnMouseWheel",t,{scale:E,originX:y,originY:O})}if(o){var C=Math.abs(h),T=(h>0?1:-1)*(C>3?.4:C>1?.15:.05);s(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:T,originX:y,originY:O})}}function a(t){if(p.isTaken(this._zr,"globalPan"))return;var c=t.pinchScale>1?1.1:1/1.1;s(this,"zoom",null,t,{scale:c,originX:t.pinchX,originY:t.pinchY})}function s(t,c,o,h,A){t.pointerChecker&&t.pointerChecker(h,A.originX,A.originY)&&(g.stop(h.event),l(t,c,o,h,A))}function l(t,c,o,h,A){A.isAvailableBehavior=d.bind(n,null,o,h),t.trigger(c,A)}function n(t,c,o){var h=o[t];return!t||h&&(!d.isString(h)||c.event[h+"Key"])}var u=v;J.exports=u},Sj0X:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("XuBP")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="DownOutlined";var f=g.forwardRef(b);B.default=f},Sj9i:function(J,B,e){var d=e("QBsz"),x=d.create,g=d.distSquare,p=Math.pow,v=Math.sqrt,b=1e-8,f=1e-4,i=v(3),r=1/3,a=x(),s=x(),l=x();function n(L){return L>-b&&L<b}function u(L){return L>b||L<-b}function t(L,N,D,F,R){var U=1-R;return U*U*(U*L+3*R*N)+R*R*(R*F+3*U*D)}function c(L,N,D,F,R){var U=1-R;return 3*(((N-L)*U+2*(D-N)*R)*U+(F-D)*R*R)}function o(L,N,D,F,R,U){var M=F+3*(N-D)-L,j=3*(D-N*2+L),P=3*(N-L),K=L-R,H=j*j-3*M*P,_=j*P-9*M*K,Z=P*P-3*j*K,Y=0;if(n(H)&&n(_))if(n(j))U[0]=0;else{var k=-P/j;k>=0&&k<=1&&(U[Y++]=k)}else{var Q=_*_-4*H*Z;if(n(Q)){var X=_/H,k=-j/M+X,he=-X/2;k>=0&&k<=1&&(U[Y++]=k),he>=0&&he<=1&&(U[Y++]=he)}else if(Q>0){var te=v(Q),pe=H*j+1.5*M*(-_+te),Se=H*j+1.5*M*(-_-te);pe<0?pe=-p(-pe,r):pe=p(pe,r),Se<0?Se=-p(-Se,r):Se=p(Se,r);var k=(-j-(pe+Se))/(3*M);k>=0&&k<=1&&(U[Y++]=k)}else{var we=(2*H*j-3*M*_)/(2*v(H*H*H)),We=Math.acos(we)/3,qe=v(H),yt=Math.cos(We),k=(-j-2*qe*yt)/(3*M),he=(-j+qe*(yt+i*Math.sin(We)))/(3*M),_e=(-j+qe*(yt-i*Math.sin(We)))/(3*M);k>=0&&k<=1&&(U[Y++]=k),he>=0&&he<=1&&(U[Y++]=he),_e>=0&&_e<=1&&(U[Y++]=_e)}}return Y}function h(L,N,D,F,R){var U=6*D-12*N+6*L,M=9*N+3*F-3*L-9*D,j=3*N-3*L,P=0;if(n(M)){if(u(U)){var K=-j/U;K>=0&&K<=1&&(R[P++]=K)}}else{var H=U*U-4*M*j;if(n(H))R[0]=-U/(2*M);else if(H>0){var _=v(H),K=(-U+_)/(2*M),Z=(-U-_)/(2*M);K>=0&&K<=1&&(R[P++]=K),Z>=0&&Z<=1&&(R[P++]=Z)}}return P}function A(L,N,D,F,R,U){var M=(N-L)*R+L,j=(D-N)*R+N,P=(F-D)*R+D,K=(j-M)*R+M,H=(P-j)*R+j,_=(H-K)*R+K;U[0]=L,U[1]=M,U[2]=K,U[3]=_,U[4]=_,U[5]=H,U[6]=P,U[7]=F}function y(L,N,D,F,R,U,M,j,P,K,H){var _,Z=.005,Y=Infinity,k,Q,X,he;a[0]=P,a[1]=K;for(var te=0;te<1;te+=.05)s[0]=t(L,D,R,M,te),s[1]=t(N,F,U,j,te),X=g(a,s),X<Y&&(_=te,Y=X);Y=Infinity;for(var pe=0;pe<32&&!(Z<f);pe++)k=_-Z,Q=_+Z,s[0]=t(L,D,R,M,k),s[1]=t(N,F,U,j,k),X=g(s,a),k>=0&&X<Y?(_=k,Y=X):(l[0]=t(L,D,R,M,Q),l[1]=t(N,F,U,j,Q),he=g(l,a),Q<=1&&he<Y?(_=Q,Y=he):Z*=.5);return H&&(H[0]=t(L,D,R,M,_),H[1]=t(N,F,U,j,_)),v(Y)}function O(L,N,D,F){var R=1-F;return R*(R*L+2*F*N)+F*F*D}function S(L,N,D,F){return 2*((1-F)*(N-L)+F*(D-N))}function E(L,N,D,F,R){var U=L-2*N+D,M=2*(N-L),j=L-F,P=0;if(n(U)){if(u(M)){var K=-j/M;K>=0&&K<=1&&(R[P++]=K)}}else{var H=M*M-4*U*j;if(n(H)){var K=-M/(2*U);K>=0&&K<=1&&(R[P++]=K)}else if(H>0){var _=v(H),K=(-M+_)/(2*U),Z=(-M-_)/(2*U);K>=0&&K<=1&&(R[P++]=K),Z>=0&&Z<=1&&(R[P++]=Z)}}return P}function C(L,N,D){var F=L+D-2*N;return F===0?.5:(L-N)/F}function T(L,N,D,F,R){var U=(N-L)*F+L,M=(D-N)*F+N,j=(M-U)*F+U;R[0]=L,R[1]=U,R[2]=j,R[3]=j,R[4]=M,R[5]=D}function w(L,N,D,F,R,U,M,j,P){var K,H=.005,_=Infinity;a[0]=M,a[1]=j;for(var Z=0;Z<1;Z+=.05){s[0]=O(L,D,R,Z),s[1]=O(N,F,U,Z);var Y=g(a,s);Y<_&&(K=Z,_=Y)}_=Infinity;for(var k=0;k<32&&!(H<f);k++){var Q=K-H,X=K+H;s[0]=O(L,D,R,Q),s[1]=O(N,F,U,Q);var Y=g(s,a);if(Q>=0&&Y<_)K=Q,_=Y;else{l[0]=O(L,D,R,X),l[1]=O(N,F,U,X);var he=g(l,a);X<=1&&he<_?(K=X,_=he):H*=.5}}return P&&(P[0]=O(L,D,R,K),P[1]=O(N,F,U,K)),v(_)}B.cubicAt=t,B.cubicDerivativeAt=c,B.cubicRootAt=o,B.cubicExtrema=h,B.cubicSubdivide=A,B.cubicProjectPoint=y,B.quadraticAt=O,B.quadraticDerivativeAt=S,B.quadraticRootAt=E,B.quadraticExtremum=C,B.quadraticSubdivide=T,B.quadraticProjectPoint=w},Sp2Z:function(J,B,e){var d=e("3LNs"),x=e("/y7N"),g=e("AVZG"),p=e("Znkb"),v=d.extend({makeElOption:function(a,s,l,n,u){var t=l.axis,c=t.grid,o=n.get("type"),h=b(c,t).getOtherAxis(t).getGlobalExtent(),A=t.toGlobalCoord(t.dataToCoord(s,!0));if(o&&o!=="none"){var y=x.buildElStyle(n),O=f[o](t,A,h);O.style=y,a.graphicKey=O.type,a.pointer=O}var S=g.layout(c.model,l);x.buildCartesianSingleLabelElOption(s,a,S,l,n,u)},getHandleTransform:function(a,s,l){var n=g.layout(s.axis.grid.model,s,{labelInside:!1});return n.labelMargin=l.get("handle.margin"),{position:x.getTransformedPosition(s.axis,a,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(a,s,l,n){var u=l.axis,t=u.grid,c=u.getGlobalExtent(!0),o=b(t,u).getOtherAxis(u).getGlobalExtent(),h=u.dim==="x"?0:1,A=a.position;A[h]+=s[h],A[h]=Math.min(c[1],A[h]),A[h]=Math.max(c[0],A[h]);var y=(o[1]+o[0])/2,O=[y,y];O[h]=A[h];var S=[{verticalAlign:"middle"},{align:"center"}];return{position:A,rotation:a.rotation,cursorPoint:O,tooltipOption:S[h]}}});function b(a,s){var l={};return l[s.dim+"AxisIndex"]=s.index,a.getCartesian(l)}var f={line:function(a,s,l){var n=x.makeLineShape([s,l[0]],[s,l[1]],i(a));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(a,s,l){var n=Math.max(1,a.getBandWidth()),u=l[1]-l[0];return{type:"Rect",shape:x.makeRectShape([s-n/2,l[0]],[n,u],i(a))}}};function i(a){return a.dim==="x"?0:1}p.registerAxisPointerClass("CartesianAxisPointer",v);var r=v;J.exports=r},Sq3C:function(J,B,e){var d=e("sKgW"),x=e("zoYe"),g=e("wy8a"),p=e("quyA"),v=e("Z1HP"),b=e("Em2t"),f=Math.ceil;function i(r,a){a=a===void 0?" ":x(a);var s=a.length;if(s<2)return s?d(a,r):a;var l=d(a,f(r/v(a)));return p(a)?g(b(l),0,r).join(""):l.slice(0,r)}J.exports=i},SqI9:function(J,B,e){var d=e("y+Vt"),x=e("iXp4"),g=d.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:x(d.prototype.brush),buildPath:function(v,b){var f=b.cx,i=b.cy,r=Math.max(b.r0||0,0),a=Math.max(b.r,0),s=b.startAngle,l=b.endAngle,n=b.clockwise,u=Math.cos(s),t=Math.sin(s);v.moveTo(u*r+f,t*r+i),v.lineTo(u*a+f,t*a+i),v.arc(f,i,a,s,l,!n),v.lineTo(Math.cos(l)*r+f,Math.sin(l)*r+i),r!==0&&v.arc(f,i,r,l,s,n),v.closePath()}});J.exports=g},SrGk:function(J,B,e){var d=e("hydK"),x=d.createElement,g=e("bYtY"),p=e("y+Vt"),v=e("Dagg"),b=e("dqUG"),f=e("P47w"),i=f.path,r=f.image,a=f.text,s="0",l="1";function n(t,c,o,h,A){this._zrId=t,this._svgRoot=c,this._tagNames=typeof o=="string"?[o]:o,this._markLabel=h,this._domName=A||"_dom",this.nextId=0}n.prototype.createElement=x,n.prototype.getDefs=function(t){var c=this._svgRoot,o=this._svgRoot.getElementsByTagName("defs");return o.length===0?t?(o=c.insertBefore(this.createElement("defs"),c.firstChild),o.contains||(o.contains=function(h){var A=o.children;if(!A)return!1;for(var y=A.length-1;y>=0;--y)if(A[y]===h)return!0;return!1}),o):null:o[0]},n.prototype.update=function(t,c){if(!t)return;var o=this.getDefs(!1);if(t[this._domName]&&o.contains(t[this._domName]))typeof c=="function"&&c(t);else{var h=this.add(t);h&&(t[this._domName]=h)}},n.prototype.addDom=function(t){var c=this.getDefs(!0);c.appendChild(t)},n.prototype.removeDom=function(t){var c=this.getDefs(!1);c&&t[this._domName]&&(c.removeChild(t[this._domName]),t[this._domName]=null)},n.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var c=[];return g.each(this._tagNames,function(o){var h=t.getElementsByTagName(o);c=c.concat([].slice.call(h))}),c},n.prototype.markAllUnused=function(){var t=this.getDoms(),c=this;g.each(t,function(o){o[c._markLabel]=s})},n.prototype.markUsed=function(t){t&&(t[this._markLabel]=l)},n.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var c=this.getDoms(),o=this;g.each(c,function(h){h[o._markLabel]!==l&&t.removeChild(h)})},n.prototype.getSvgProxy=function(t){return t instanceof p?i:t instanceof v?r:t instanceof b?a:i},n.prototype.getTextSvgElement=function(t){return t.__textSvgEl},n.prototype.getSvgElement=function(t){return t.__svgEl};var u=n;J.exports=u},Swgg:function(J,B,e){var d=e("fc+c"),x=d.extend({type:"dataZoom.select"});J.exports=x},Sxd8:function(J,B,e){var d=e("ZCgT");function x(g){var p=d(g),v=p%1;return p===p?v?p-v:p:0}J.exports=x},T1rO:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("zdCA"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},T4UG:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=e("ItGF"),v=e("7aKB"),b=v.formatTime,f=v.encodeHTML,i=v.addCommas,r=v.getTooltipMarker,a=e("4NO4"),s=e("bLfw"),l=e("5Hur"),n=e("OKJ2"),u=e("+TT/"),t=u.getLayoutParams,c=u.mergeLayoutParam,o=e("9H2F"),h=o.createTask,A=e("D5nY"),y=A.prepareSource,O=A.getSource,S=e("KxfA"),E=S.retrieveRawValue,C=a.makeInner(),T=s.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(P,K,H,_){this.seriesIndex=this.componentIndex,this.dataTask=h({count:N,reset:D}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(P,H),y(this);var Z=this.getInitialData(P,H);R(Z,this),this.dataTask.context.data=Z,C(this).dataBeforeProcessed=Z,w(this)},mergeDefaultAndTheme:function(P,K){var H=this.layoutMode,_=H?t(P):{},Z=this.subType;s.hasClass(Z)&&(Z+="Series"),g.merge(P,K.getTheme().get(this.subType)),g.merge(P,this.getDefaultOption()),a.defaultEmphasis(P,"label",["show"]),this.fillDataTextStyle(P.data),H&&c(P,_,H)},mergeOption:function(P,K){P=g.merge(this.option,P,!0),this.fillDataTextStyle(P.data);var H=this.layoutMode;H&&c(this.option,P,H),y(this);var _=this.getInitialData(P,K);R(_,this),this.dataTask.dirty(),this.dataTask.context.data=_,C(this).dataBeforeProcessed=_,w(this)},fillDataTextStyle:function(P){if(P&&!g.isTypedArray(P))for(var K=["show"],H=0;H<P.length;H++)P[H]&&P[H].label&&a.defaultEmphasis(P[H],"label",K)},getInitialData:function(){},appendData:function(P){var K=this.getRawData();K.appendData(P.data)},getData:function(P){var K=M(this);if(K){var H=K.context.data;return P==null?H:H.getLinkedData(P)}else return C(this).data},setData:function(P){var K=M(this);if(K){var H=K.context;H.data!==P&&K.modifyOutputEnd&&K.setOutputEnd(P.count()),H.outputData=P,K!==this.dataTask&&(H.data=P)}C(this).data=P},getSource:function(){return O(this)},getRawData:function(){return C(this).dataBeforeProcessed},getBaseAxis:function(){var P=this.coordinateSystem;return P&&P.getBaseAxis&&P.getBaseAxis()},formatTooltip:function(P,K,H,_){var Z=this;_=_||"html";var Y=_==="html"?"<br/>":`
|
|
|
`,k=_==="richText",Q={},X=0;function he(Qe){var mt=g.reduce(Qe,function(wt,Bt,_t){var Ue=pe.getDimensionInfo(_t);return wt|=Ue&&Ue.tooltip!==!1&&Ue.displayName!=null},0),Pe=[];Se.length?g.each(Se,function(wt){De(E(pe,P,wt),wt)}):g.each(Qe,De);function De(wt,Bt){var _t=pe.getDimensionInfo(Bt);if(!_t||_t.otherDims.tooltip===!1)return;var Ue=_t.type,zt="sub"+Z.seriesIndex+"at"+X,xt=r({color:yt,type:"subItem",renderMode:_,markerId:zt}),Pt=typeof xt=="string"?xt:xt.content,Ke=(mt?Pt+f(_t.displayName||"-")+": ":"")+f(Ue==="ordinal"?wt+"":Ue==="time"?K?"":b("yyyy/MM/dd hh:mm:ss",wt):i(wt));Ke&&Pe.push(Ke),k&&(Q[zt]=yt,++X)}var Ie=mt?k?`
|
|
|
`:"<br/>":"",ot=Ie+Pe.join(Ie||", ");return{renderMode:_,content:ot,style:Q}}function te(Qe){return{renderMode:_,content:f(i(Qe)),style:Q}}var pe=this.getData(),Se=pe.mapDimension("defaultedTooltip",!0),we=Se.length,We=this.getRawValue(P),qe=g.isArray(We),yt=pe.getItemVisual(P,"color");g.isObject(yt)&&yt.colorStops&&(yt=(yt.colorStops[0]||{}).color),yt=yt||"transparent";var _e=we>1||qe&&!we?he(We):te(we?E(pe,P,Se[0]):qe?We[0]:We),je=_e.content,Ct=Z.seriesIndex+"at"+X,ct=r({color:yt,type:"item",renderMode:_,markerId:Ct});Q[Ct]=yt,++X;var nt=pe.getName(P),bt=this.name;a.isNameSpecified(this)||(bt=""),bt=bt?f(bt)+(K?": ":Y):"";var dt=typeof ct=="string"?ct:ct.content,vt=K?dt+bt+je:bt+dt+(nt?f(nt)+": "+je:je);return{html:vt,markers:Q}},isAnimationEnabled:function(){if(p.node)return!1;var P=this.getShallow("animation");return P&&(this.getData().count()>this.getShallow("animationThreshold")&&(P=!1)),P},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(P,K,H){var _=this.ecModel,Z=l.getColorFromPalette.call(this,P,K,H);return Z||(Z=_.getColorFromPalette(P,K,H)),Z},coordDimToDataDim:function(P){return this.getRawData().mapDimension(P,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});g.mixin(T,n),g.mixin(T,l);function w(P){var K=P.name;a.isNameSpecified(P)||(P.name=L(P)||K)}function L(P){var K=P.getRawData(),H=K.mapDimension("seriesName",!0),_=[];return g.each(H,function(Z){var Y=K.getDimensionInfo(Z);Y.displayName&&_.push(Y.displayName)}),_.join(" ")}function N(P){return P.model.getRawData().count()}function D(P){var K=P.model;return K.setData(K.getRawData().cloneShallow()),F}function F(P,K){K.outputData&&P.end>K.outputData.count()&&K.model.getRawData().cloneShallow(K.outputData)}function R(P,K){g.each(P.CHANGABLE_METHODS,function(H){P.wrapMethod(H,g.curry(U,K))})}function U(P){var K=M(P);K&&K.setOutputEnd(this.count())}function M(P){var K=(P.ecModel||{}).scheduler,H=K&&K.getPipeline(P.uid);if(H){var _=H.currentTask;if(_){var Z=_.agentStubMap;Z&&(_=Z.get(P.uid))}return _}}var j=T;J.exports=j},T6xi:function(J,B,e){var d=e("YgsL"),x=e("nCxF");function g(p,v,b){var f=v.points,i=v.smooth;if(f&&f.length>=2){if(i&&i!=="spline"){var r=x(f,i,b,v.smoothConstraint);p.moveTo(f[0][0],f[0][1]);for(var a=f.length,s=0;s<(b?a:a-1);s++){var l=r[s*2],n=r[s*2+1],u=f[(s+1)%a];p.bezierCurveTo(l[0],l[1],n[0],n[1],u[0],u[1])}}else{i==="spline"&&(f=d(f,b)),p.moveTo(f[0][0],f[0][1]);for(var s=1,t=f.length;s<t;s++)p.lineTo(f[s][0],f[s][1])}b&&p.closePath()}}B.buildPath=g},TIY9:function(J,B,e){var d=e("bYtY"),x=d.each,g=e("vafp"),p=e("4NO4"),v=p.makeInner,b=e("Mgri"),f=e("F5Ls"),i=e("a9QJ"),r=e("p/La"),a=v(),s={load:function(n,u,t){var c=a(u).parsed;if(c)return c;var o=u.specialAreas||{},h=u.geoJSON,A;try{A=h?g(h,t):[]}catch(y){throw new Error(`Invalid geoJson format
|
|
|
`+y.message)}return b(n,A),x(A,function(y){var O=y.name;f(n,y),i(n,y),r(n,y);var S=o[O];S&&y.transformTo(S.left,S.top,S.width,S.height)}),a(u).parsed={regions:A,boundingRect:l(A)}}};function l(n){for(var u,t=0;t<n.length;t++){var c=n[t].getBoundingRect();u=u||c.clone(),u.union(c)}return u}J.exports=s},TJmX:function(J,B,e){var d=e("zM3Q"),x=["itemStyle","borderColor"],g=["itemStyle","borderColor0"],p=["itemStyle","color"],v=["itemStyle","color0"],b={seriesType:"candlestick",plan:d(),performRawSeries:!0,reset:function(f,i){var r=f.getData();if(r.setVisual({legendSymbol:"roundRect",colorP:l(1,f),colorN:l(-1,f),borderColorP:n(1,f),borderColorN:n(-1,f)}),i.isSeriesFiltered(f))return;var a=f.pipelineContext.large;return!a&&{progress:s};function s(u,t){for(var c;(c=u.next())!=null;){var o=t.getItemModel(c),h=t.getItemLayout(c).sign;t.setItemVisual(c,{color:l(h,o),borderColor:n(h,o)})}}function l(u,t){return t.get(u>0?p:v)}function n(u,t){return t.get(u>0?x:g)}}};J.exports=b},TWL2:function(J,B,e){var d=e("IwbS"),x=e("bYtY"),g=e("6Ic6");function p(r,a){d.Group.call(this);var s=new d.Polygon,l=new d.Polyline,n=new d.Text;this.add(s),this.add(l),this.add(n),this.highDownOnUpdate=function(u,t){t==="emphasis"?(l.ignore=l.hoverIgnore,n.ignore=n.hoverIgnore):(l.ignore=l.normalIgnore,n.ignore=n.normalIgnore)},this.updateData(r,a,!0)}var v=p.prototype,b=["itemStyle","opacity"];v.updateData=function(r,a,s){var l=this.childAt(0),n=r.hostModel,u=r.getItemModel(a),t=r.getItemLayout(a),c=r.getItemModel(a).get(b);c=c==null?1:c,l.useStyle({}),s?(l.setShape({points:t.points}),l.setStyle({opacity:0}),d.initProps(l,{style:{opacity:c}},n,a)):d.updateProps(l,{style:{opacity:c},shape:{points:t.points}},n,a);var o=u.getModel("itemStyle"),h=r.getItemVisual(a,"color");l.setStyle(x.defaults({lineJoin:"round",fill:h},o.getItemStyle(["opacity"]))),l.hoverStyle=o.getModel("emphasis").getItemStyle(),this._updateLabel(r,a),d.setHoverStyle(this)},v._updateLabel=function(r,a){var s=this.childAt(1),l=this.childAt(2),n=r.hostModel,u=r.getItemModel(a),t=r.getItemLayout(a),c=t.label,o=r.getItemVisual(a,"color");d.updateProps(s,{shape:{points:c.linePoints||c.linePoints}},n,a),d.updateProps(l,{style:{x:c.x,y:c.y}},n,a),l.attr({rotation:c.rotation,origin:[c.x,c.y],z2:10});var h=u.getModel("label"),A=u.getModel("emphasis.label"),y=u.getModel("labelLine"),O=u.getModel("emphasis.labelLine"),o=r.getItemVisual(a,"color");d.setLabelStyle(l.style,l.hoverStyle={},h,A,{labelFetcher:r.hostModel,labelDataIndex:a,defaultText:r.getName(a),autoColor:o,useInsideStyle:!!c.inside},{textAlign:c.textAlign,textVerticalAlign:c.verticalAlign}),l.ignore=l.normalIgnore=!h.get("show"),l.hoverIgnore=!A.get("show"),s.ignore=s.normalIgnore=!y.get("show"),s.hoverIgnore=!O.get("show"),s.setStyle({stroke:o}),s.setStyle(y.getModel("lineStyle").getLineStyle()),s.hoverStyle=O.getModel("lineStyle").getLineStyle()},x.inherits(p,d.Group);var f=g.extend({type:"funnel",render:function(r,a,s){var l=r.getData(),n=this._data,u=this.group;l.diff(n).add(function(t){var c=new p(l,t);l.setItemGraphicEl(t,c),u.add(c)}).update(function(t,c){var o=n.getItemGraphicEl(c);o.updateData(l,t),u.add(o),l.setItemGraphicEl(t,o)}).remove(function(t){var c=n.getItemGraphicEl(t);u.remove(c)}).execute(),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),i=f;J.exports=i},TYVI:function(J,B,e){var d=e("5GtS"),x=e("T4UG"),g=x.extend({type:"series.gauge",getInitialData:function(v,b){return d(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),p=g;J.exports=p},Tghj:function(J,B,e){(function(d){var x;typeof window!="undefined"?x=window.__DEV__:typeof d!="undefined"&&(x=d.__DEV__),typeof x=="undefined"&&(x=!0);var g=x;B.__DEV__=g}).call(this,e("yLpj"))},ThAp:function(J,B,e){var d=e("bYtY"),x=e("5GtS"),g=e("T4UG"),p=e("7aKB"),v=p.encodeHTML,b=p.addCommas,f=e("cCMj"),i=e("KxfA"),r=i.retrieveRawAttr,a=e("W4dC"),s=e("D5nY"),l=s.makeSeriesEncodeForNameBased,n=g.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var c=x(this,{coordDimensions:["value"],encodeDefaulter:d.curry(l,this)}),o=c.mapDimension("value"),h=d.createHashMap(),A=[],y=[],O=0,S=c.count();O<S;O++){var E=c.getName(O);h.set(E,!0),A.push({name:E,value:c.get(o,O),selected:r(c,O,"selected")})}var C=a.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return d.each(C.regions,function(T){var w=T.name;h.get(w)||(A.push({name:w}),y.push(w))}),this.updateSelectedMap(A),c.appendValues([],y),c},getHostGeoModel:function(){var t=this.option.geoIndex;return t!=null?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var c=this.getData();return c.get(c.mapDimension("value"),t)},getRegionModel:function(t){var c=this.getData();return c.getItemModel(c.indexOfName(t))},formatTooltip:function(t){for(var c=this.getData(),o=b(this.getRawValue(t)),h=c.getName(t),A=this.seriesGroup,y=[],O=0;O<A.length;O++){var S=A[O].originalData.indexOfName(h),E=c.mapDimension("value");isNaN(A[O].originalData.get(E,S))||y.push(v(A[O].name))}return y.join(", ")+"<br />"+v(h+" : "+o)},getTooltipPosition:function(t){if(t!=null){var c=this.getData().getName(t),o=this.coordinateSystem,h=o.getRegion(c);return h&&o.dataToPoint(h.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});d.mixin(n,f);var u=n;J.exports=u},TkdX:function(J,B,e){var d=e("bYtY"),x=e("IwbS"),g={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},p=2,v=4;function b(n,u,t){x.Group.call(this);var c=new x.Sector({z2:p});c.seriesIndex=u.seriesIndex;var o=new x.Text({z2:v,silent:n.getModel("label").get("silent")});this.add(c),this.add(o),this.updateData(!0,n,"normal",u,t);function h(){o.ignore=o.hoverIgnore}function A(){o.ignore=o.normalIgnore}this.on("emphasis",h).on("normal",A).on("mouseover",h).on("mouseout",A)}var f=b.prototype;f.updateData=function(n,u,t,c,o){this.node=u,u.piece=this,c=c||this._seriesModel,o=o||this._ecModel;var h=this.childAt(0);h.dataIndex=u.dataIndex;var A=u.getModel(),y=u.getLayout(),O=d.extend({},y);O.label=null;var S=r(u,c,o);l(u,c,S);var E=A.getModel("itemStyle").getItemStyle(),C;if(t==="normal")C=E;else{var T=A.getModel(t+".itemStyle").getItemStyle();C=d.merge(T,E)}C=d.defaults({lineJoin:"bevel",fill:C.fill||S},C),n?(h.setShape(O),h.shape.r=y.r0,x.updateProps(h,{shape:{r:y.r}},c,u.dataIndex),h.useStyle(C)):typeof C.fill=="object"&&C.fill.type||typeof h.style.fill=="object"&&h.style.fill.type?(x.updateProps(h,{shape:O},c),h.useStyle(C)):x.updateProps(h,{shape:O,style:C},c),this._updateLabel(c,S,t);var w=A.getShallow("cursor");if(w&&h.attr("cursor",w),n){var L=c.getShallow("highlightPolicy");this._initEvents(h,u,c,L)}this._seriesModel=c||this._seriesModel,this._ecModel=o||this._ecModel,x.setHoverStyle(this)},f.onEmphasis=function(n){var u=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(u.node===t?t.piece.updateData(!1,t,"emphasis"):s(t,u.node,n)?t.piece.childAt(0).trigger("highlight"):n!==g.NONE&&t.piece.childAt(0).trigger("downplay"))})},f.onNormal=function(){this.node.hostTree.root.eachNode(function(n){n.piece&&n.piece.updateData(!1,n,"normal")})},f.onHighlight=function(){this.updateData(!1,this.node,"highlight")},f.onDownplay=function(){this.updateData(!1,this.node,"downplay")},f._updateLabel=function(n,u,t){var c=this.node.getModel(),o=c.getModel("label"),h=t==="normal"||t==="emphasis"?o:c.getModel(t+".label"),A=c.getModel("emphasis.label"),y=d.retrieve(n.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);K("show")===!1&&(y="");var O=this.node.getLayout(),S=h.get("minAngle");S==null&&(S=o.get("minAngle")),S=S/180*Math.PI;var E=O.endAngle-O.startAngle;S!=null&&Math.abs(E)<S&&(y="");var C=this.childAt(1);x.setLabelStyle(C.style,C.hoverStyle||{},o,A,{defaultText:h.getShallow("show")?y:null,autoColor:u,useInsideStyle:!0});var T=(O.startAngle+O.endAngle)/2,w=Math.cos(T),L=Math.sin(T),N,D=K("position"),F=K("distance")||0,R=K("align");D==="outside"?(N=O.r+F,R=T>Math.PI/2?"right":"left"):!R||R==="center"?(N=(O.r+O.r0)/2,R="center"):R==="left"?(N=O.r0+F,T>Math.PI/2&&(R="right")):R==="right"&&(N=O.r-F,T>Math.PI/2&&(R="left")),C.attr("style",{text:y,textAlign:R,textVerticalAlign:K("verticalAlign")||"middle",opacity:K("opacity")});var U=N*w+O.cx,M=N*L+O.cy;C.attr("position",[U,M]);var j=K("rotate"),P=0;j==="radial"?(P=-T,P<-Math.PI/2&&(P+=Math.PI)):j==="tangential"?(P=Math.PI/2-T,P>Math.PI/2?P-=Math.PI:P<-Math.PI/2&&(P+=Math.PI)):typeof j=="number"&&(P=j*Math.PI/180),C.attr("rotation",P);function K(H){var _=h.get(H);return _==null?o.get(H):_}},f._initEvents=function(n,u,t,c){n.off("mouseover").off("mouseout").off("emphasis").off("normal");var o=this,h=function(){o.onEmphasis(c)},A=function(){o.onNormal()},y=function(){o.onDownplay()},O=function(){o.onHighlight()};t.isAnimationEnabled()&&n.on("mouseover",h).on("mouseout",A).on("emphasis",h).on("normal",A).on("downplay",y).on("highlight",O)},d.inherits(b,x.Group);var i=b;function r(n,u,t){var c=n.getVisual("color"),o=n.getVisual("visualMeta");(!o||o.length===0)&&(c=null);var h=n.getModel("itemStyle").get("color");if(h)return h;if(c)return c;if(n.depth===0)return t.option.color[0];var A=t.option.color.length;return h=t.option.color[a(n)%A],h}function a(n){for(var u=n;u.depth>1;)u=u.parentNode;var t=n.getAncestors()[0];return d.indexOf(t.children,u)}function s(n,u,t){return t===g.NONE?!1:t===g.SELF?n===u:t===g.ANCESTOR?n===u||n.isAncestorOf(u):n===u||n.isDescendantOf(u)}function l(n,u,t){var c=u.getData();c.setItemVisual(n.dataIndex,"color",t)}J.exports=i},Tp9H:function(J,B,e){var d=e("ItGF"),x=e("Kagy"),g=e("IUWy"),p=x.toolbox.saveAsImage;function v(i){this.model=i}v.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:p.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:p.lang.slice()},v.prototype.unusable=!d.canvasSupported;var b=v.prototype;b.onclick=function(i,r){var a=this.model,s=a.get("name")||i.get("title.0.text")||"echarts",l=r.getZr().painter.getType()==="svg",n=l?"svg":a.get("type",!0)||"png",u=r.getConnectedDataURL({type:n,backgroundColor:a.get("backgroundColor",!0)||i.get("backgroundColor")||"#fff",connectedBackgroundColor:a.get("connectedBackgroundColor"),excludeComponents:a.get("excludeComponents"),pixelRatio:a.get("pixelRatio")});if(typeof MouseEvent=="function"&&!d.browser.ie&&!d.browser.edge){var t=document.createElement("a");t.download=s+"."+n,t.target="_blank",t.href=u;var c=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(c)}else if(window.navigator.msSaveOrOpenBlob){for(var o=atob(u.split(",")[1]),h=o.length,A=new Uint8Array(h);h--;)A[h]=o.charCodeAt(h);var y=new Blob([A]);window.navigator.msSaveOrOpenBlob(y,s+"."+n)}else{var O=a.get("lang"),S='<body style="margin:0;"><img src="'+u+'" style="max-width:100%;" title="'+(O&&O[0]||"")+'" /></body>',E=window.open();E.document.write(S)}},g.register("saveAsImage",v);var f=v;J.exports=f},"U/Mo":function(J,B){function e(x){var g=x.coordinateSystem;if(g.type!=="view")return 1;var p=x.option.nodeScaleRatio,v=g.scale,b=v&&v[0]||1,f=g.getZoom(),i=(f-1)*p+1;return i/b}function d(x){var g=x.getVisual("symbolSize");return g instanceof Array&&(g=(g[0]+g[1])/2),+g}B.getNodeGlobalScale=e,B.getSymbolSize=d},UADf:function(J,B,e){},"UNi/":function(J,B){function e(d,x){for(var g=-1,p=Array(d);++g<d;)p[g]=x(g);return p}J.exports=e},UOVi:function(J,B,e){var d=e("bYtY"),x=e("7aKB"),g=["x","y","z","radius","angle","single"],p=["cartesian2d","polar","singleAxis"];function v(r){return d.indexOf(p,r)>=0}function b(r,a){r=r.slice();var s=d.map(r,x.capitalFirst);a=(a||[]).slice();var l=d.map(a,x.capitalFirst);return function(n,u){d.each(r,function(t,c){for(var o={name:t,capital:s[c]},h=0;h<a.length;h++)o[a[h]]=t+l[h];n.call(u,o)})}}var f=b(g,["axisIndex","axis","index","id"]);function i(r,a,s){return function(t){var c={nodes:[],records:{}};if(a(function(A){c.records[A.name]={}}),!t)return c;u(t,c);var o;do o=!1,r(h);while(o);function h(A){!l(A,c)&&n(A,c)&&(u(A,c),o=!0)}return c};function l(t,c){return d.indexOf(c.nodes,t)>=0}function n(t,c){var o=!1;return a(function(h){d.each(s(t,h)||[],function(A){c.records[h.name][A]&&(o=!0)})}),o}function u(t,c){c.nodes.push(t),a(function(o){d.each(s(t,o)||[],function(h){c.records[o.name][h]=!0})})}}B.isCoordSupported=v,B.createNameEach=b,B.eachAxisDim=f,B.createLinkedNodesFinder=i},Uc92:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};B.default=d},UmKh:function(J,B,e){"use strict";var d=e("q1tI"),x=e.n(d),g=e("aGtg");function p(j){var P=[];return x.a.Children.forEach(j,function(K){P.push(K)}),P}function v(j,P){var K=null;return j&&j.forEach(function(H){if(K)return;H&&H.key===P&&(K=H)}),K}function b(j,P,K){var H=null;return j&&j.forEach(function(_){if(_&&_.key===P&&_.props[K]){if(H)throw new Error("two child with same key for <rc-animate> children");H=_}}),H}function f(j,P,K){var H=0;return j&&j.forEach(function(_){if(H)return;H=_&&_.key===P&&!_.props[K]}),H}function i(j,P,K){var H=j.length===P.length;return H&&j.forEach(function(_,Z){var Y=P[Z];_&&Y&&((_&&!Y||!_&&Y||(_.key!==Y.key||K&&_.props[K]!==Y.props[K]))&&(H=!1))}),H}function r(j,P){var K=[],H={},_=[];return j.forEach(function(Z){Z&&v(P,Z.key)?_.length&&(H[Z.key]=_,_=[]):_.push(Z)}),P.forEach(function(Z){Z&&Object.prototype.hasOwnProperty.call(H,Z.key)&&(K=K.concat(H[Z.key])),K.push(Z)}),K=K.concat(_),K}var a=e("i8i4"),s=e.n(a),l=e("UwPn"),n={isAppearSupported:function(P){return P.transitionName&&P.transitionAppear||P.animation.appear},isEnterSupported:function(P){return P.transitionName&&P.transitionEnter||P.animation.enter},isLeaveSupported:function(P){return P.transitionName&&P.transitionLeave||P.animation.leave},allowAppearCallback:function(P){return P.transitionAppear||P.animation.appear},allowEnterCallback:function(P){return P.transitionEnter||P.animation.enter},allowLeaveCallback:function(P){return P.transitionLeave||P.animation.leave}},u=n,t=function(){function j(P,K){for(var H=0;H<K.length;H++){var _=K[H];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(P,_.key,_)}}return function(P,K,H){return K&&j(P.prototype,K),H&&j(P,H),P}}();function c(j,P){if(!(j instanceof P))throw new TypeError("Cannot call a class as a function")}function o(j,P){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P&&(typeof P=="object"||typeof P=="function")?P:j}function h(j,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof P);j.prototype=Object.create(P&&P.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(j,P):j.__proto__=P)}var A={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},y=function(j){h(P,j);function P(){return c(this,P),o(this,(P.__proto__||Object.getPrototypeOf(P)).apply(this,arguments))}return t(P,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(H){u.isEnterSupported(this.props)?this.transition("enter",H):H()}},{key:"componentWillAppear",value:function(H){u.isAppearSupported(this.props)?this.transition("appear",H):H()}},{key:"componentWillLeave",value:function(H){u.isLeaveSupported(this.props)?this.transition("leave",H):H()}},{key:"transition",value:function(H,_){var Z=this,Y=s.a.findDOMNode(this),k=this.props,Q=k.transitionName,X=typeof Q=="object";this.stop();var he=function(){Z.stopper=null,_()};if((l.b||!k.animation[H])&&Q&&k[A[H]]){var te=X?Q[H]:Q+"-"+H,pe=te+"-active";X&&Q[H+"Active"]&&(pe=Q[H+"Active"]),this.stopper=Object(l.a)(Y,{name:te,active:pe},he)}else this.stopper=k.animation[H](Y,he)}},{key:"stop",value:function(){var H=this.stopper;H&&(this.stopper=null,H.stop())}},{key:"render",value:function(){return this.props.children}}]),P}(x.a.Component),O=y,S=Object.assign||function(j){for(var P=1;P<arguments.length;P++){var K=arguments[P];for(var H in K)Object.prototype.hasOwnProperty.call(K,H)&&(j[H]=K[H])}return j},E=function(){function j(P,K){for(var H=0;H<K.length;H++){var _=K[H];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(P,_.key,_)}}return function(P,K,H){return K&&j(P.prototype,K),H&&j(P,H),P}}();function C(j,P,K){return P in j?Object.defineProperty(j,P,{value:K,enumerable:!0,configurable:!0,writable:!0}):j[P]=K,j}function T(j,P){if(!(j instanceof P))throw new TypeError("Cannot call a class as a function")}function w(j,P){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P&&(typeof P=="object"||typeof P=="function")?P:j}function L(j,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof P);j.prototype=Object.create(P&&P.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(j,P):j.__proto__=P)}var N="rc_animate_"+Date.now();function D(j){var P=j.children;return x.a.isValidElement(P)&&!P.key?x.a.cloneElement(P,{key:N}):P}function F(){}var R=function(j){L(P,j);function P(K){T(this,P);var H=w(this,(P.__proto__||Object.getPrototypeOf(P)).call(this,K));return U.call(H),H.currentlyAnimatingKeys={},H.keysToEnter=[],H.keysToLeave=[],H.state={children:p(D(K))},H.childrenRefs={},H}return E(P,[{key:"componentDidMount",value:function(){var H=this,_=this.props.showProp,Z=this.state.children;_&&(Z=Z.filter(function(Y){return!!Y.props[_]})),Z.forEach(function(Y){Y&&H.performAppear(Y.key)})}},{key:"componentWillReceiveProps",value:function(H){var _=this;this.nextProps=H;var Z=p(D(H)),Y=this.props;Y.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(te){_.stop(te)});var k=Y.showProp,Q=this.currentlyAnimatingKeys,X=Y.exclusive?p(D(Y)):this.state.children,he=[];k?(X.forEach(function(te){var pe=te&&v(Z,te.key),Se=void 0;(!pe||!pe.props[k])&&te.props[k]?Se=x.a.cloneElement(pe||te,C({},k,!0)):Se=pe,Se&&he.push(Se)}),Z.forEach(function(te){(!te||!v(X,te.key))&&he.push(te)})):he=r(X,Z),this.setState({children:he}),Z.forEach(function(te){var pe=te&&te.key;if(te&&Q[pe])return;var Se=te&&v(X,pe);if(k){var we=te.props[k];if(Se){var We=b(X,pe,k);!We&&we&&_.keysToEnter.push(pe)}else we&&_.keysToEnter.push(pe)}else Se||_.keysToEnter.push(pe)}),X.forEach(function(te){var pe=te&&te.key;if(te&&Q[pe])return;var Se=te&&v(Z,pe);if(k){var we=te.props[k];if(Se){var We=b(Z,pe,k);!We&&we&&_.keysToLeave.push(pe)}else we&&_.keysToLeave.push(pe)}else Se||_.keysToLeave.push(pe)})}},{key:"componentDidUpdate",value:function(){var H=this.keysToEnter;this.keysToEnter=[],H.forEach(this.performEnter);var _=this.keysToLeave;this.keysToLeave=[],_.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(H,_){var Z=this.props.showProp;return Z?b(H,_,Z):v(H,_)}},{key:"stop",value:function(H){delete this.currentlyAnimatingKeys[H];var _=this.childrenRefs[H];_&&_.stop()}},{key:"render",value:function(){var H=this,_=this.props;this.nextProps=_;var Z=this.state.children,Y=null;Z&&(Y=Z.map(function(X){if(X==null)return X;if(!X.key)throw new Error("must set key for <rc-animate> children");return x.a.createElement(O,{key:X.key,ref:function(te){H.childrenRefs[X.key]=te},animation:_.animation,transitionName:_.transitionName,transitionEnter:_.transitionEnter,transitionAppear:_.transitionAppear,transitionLeave:_.transitionLeave},X)}));var k=_.component;if(k){var Q=_;return typeof k=="string"&&(Q=S({className:_.className,style:_.style},_.componentProps)),x.a.createElement(k,Q,Y)}return Y[0]||null}}]),P}(x.a.Component);R.isAnimate=!0,R.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:F,onEnter:F,onLeave:F,onAppear:F};var U=function(){var P=this;this.performEnter=function(K){P.childrenRefs[K]&&(P.currentlyAnimatingKeys[K]=!0,P.childrenRefs[K].componentWillEnter(P.handleDoneAdding.bind(P,K,"enter")))},this.performAppear=function(K){P.childrenRefs[K]&&(P.currentlyAnimatingKeys[K]=!0,P.childrenRefs[K].componentWillAppear(P.handleDoneAdding.bind(P,K,"appear")))},this.handleDoneAdding=function(K,H){var _=P.props;if(delete P.currentlyAnimatingKeys[K],_.exclusive&&_!==P.nextProps)return;var Z=p(D(_));P.isValidChildByKey(Z,K)?H==="appear"?u.allowAppearCallback(_)&&(_.onAppear(K),_.onEnd(K,!0)):u.allowEnterCallback(_)&&(_.onEnter(K),_.onEnd(K,!0)):P.performLeave(K)},this.performLeave=function(K){P.childrenRefs[K]&&(P.currentlyAnimatingKeys[K]=!0,P.childrenRefs[K].componentWillLeave(P.handleDoneLeaving.bind(P,K)))},this.handleDoneLeaving=function(K){var H=P.props;if(delete P.currentlyAnimatingKeys[K],H.exclusive&&H!==P.nextProps)return;var _=p(D(H));if(P.isValidChildByKey(_,K))P.performEnter(K);else{var Z=function(){u.allowLeaveCallback(H)&&(H.onLeave(K),H.onEnd(K,!1))};i(P.state.children,_,H.showProp)?Z():P.setState({children:_},Z)}}},M=B.a=Object(g.a)(R)},UnoB:function(J,B,e){var d=e("bYtY"),x=e("OELB");function g(b,f){b.eachSeriesByType("themeRiver",function(i){var r=i.getData(),a=i.coordinateSystem,s={},l=a.getRect();s.rect=l;var n=i.get("boundaryGap"),u=a.getAxis();if(s.boundaryGap=n,u.orient==="horizontal"){n[0]=x.parsePercent(n[0],l.height),n[1]=x.parsePercent(n[1],l.height);var t=l.height-n[0]-n[1];p(r,i,t)}else{n[0]=x.parsePercent(n[0],l.width),n[1]=x.parsePercent(n[1],l.width);var c=l.width-n[0]-n[1];p(r,i,c)}r.setLayout("layoutInfo",s)})}function p(b,f,i){if(!b.count())return;for(var r=f.coordinateSystem,a=f.getLayerSeries(),s=b.mapDimension("single"),l=b.mapDimension("value"),n=d.map(a,function(S){return d.map(S.indices,function(E){var C=r.dataToPoint(b.get(s,E));return C[1]=b.get(l,E),C})}),u=v(n),t=u.y0,c=i/u.max,o=a.length,h=a[0].indices.length,A,y=0;y<h;++y){A=t[y]*c,b.setItemLayout(a[0].indices[y],{layerIndex:0,x:n[0][y][0],y0:A,y:n[0][y][1]*c});for(var O=1;O<o;++O)A+=n[O-1][y][1]*c,b.setItemLayout(a[O].indices[y],{layerIndex:O,x:n[O][y][0],y0:A,y:n[O][y][1]*c})}}function v(b){for(var f=b.length,i=b[0].length,r=[],a=[],s=0,l,n={},u=0;u<i;++u){for(var t=0,l=0;t<f;++t)l+=b[t][u][1];l>s&&(s=l),r.push(l)}for(var c=0;c<i;++c)a[c]=(s-r[c])/2;s=0;for(var o=0;o<i;++o){var h=r[o]+a[o];h>s&&(s=h)}return n.y0=a,n.max=s,n}J.exports=g},Urep:function(J,B,e){},V6Ve:function(J,B,e){var d=e("kekF"),x=d(Object.keys,Object);J.exports=x},V7ic:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("digP")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="FileTwoTone";var f=g.forwardRef(b);B.default=f},VFCP:function(J,B,e){e("dBmv"),e("KamJ")},VPsl:function(J,B){function e(d){d.eachSeriesByType("map",function(x){var g=x.get("color"),p=x.getModel("itemStyle"),v=p.get("areaColor"),b=p.get("color")||g[x.seriesIndex%g.length];x.getData().setVisual({areaColor:v,color:b})})}J.exports=e},VR9l:function(J,B,e){var d=e("KCsZ"),x=d([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),g={getItemStyle:function(p,v){var b=x(this,p,v),f=this.getBorderLineDash();return f&&(b.lineDash=f),b},getBorderLineDash:function(){var p=this.get("borderType");return p==="solid"||p==null?null:p==="dashed"?[5,5]:[1,1]}};J.exports=g},VSLf:function(J,B,e){e("I+Bx"),e("F0hE"),e("bBKM")},VXYp:function(J,B,e){var d=e("bYtY"),x=e("SgGq"),g=e("iLNv"),p="\0_ec_dataZoom_roams";function v(n,u){var t=i(n),c=u.dataZoomId,o=u.coordId;d.each(t,function(y,O){var S=y.dataZoomInfos;S[c]&&d.indexOf(u.allCoordIds,o)<0&&(delete S[c],y.count--)}),a(t);var h=t[o];h||(h=t[o]={coordId:o,dataZoomInfos:{},count:0},h.controller=r(n,h),h.dispatchAction=d.curry(s,n)),!h.dataZoomInfos[c]&&h.count++,h.dataZoomInfos[c]=u;var A=l(h.dataZoomInfos);h.controller.enable(A.controlType,A.opt),h.controller.setPointerChecker(u.containsPoint),g.createOrUpdate(h,"dispatchAction",u.dataZoomModel.get("throttle",!0),"fixRate")}function b(n,u){var t=i(n);d.each(t,function(c){c.controller.dispose();var o=c.dataZoomInfos;o[u]&&(delete o[u],c.count--)}),a(t)}function f(n){return n.type+"\0_"+n.id}function i(n){var u=n.getZr();return u[p]||(u[p]={})}function r(n,u){var t=new x(n.getZr());return d.each(["pan","zoom","scrollMove"],function(c){t.on(c,function(o){var h=[];d.each(u.dataZoomInfos,function(A){if(!o.isAvailableBehavior(A.dataZoomModel.option))return;var y=(A.getRange||{})[c],O=y&&y(u.controller,o);!A.dataZoomModel.get("disabled",!0)&&O&&h.push({dataZoomId:A.dataZoomId,start:O[0],end:O[1]})}),h.length&&u.dispatchAction(h)})}),t}function a(n){d.each(n,function(u,t){u.count||(u.controller.dispose(),delete n[t])})}function s(n,u){n.dispatchAction({type:"dataZoom",batch:u})}function l(n){var u,t="type_",c={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return d.each(n,function(h){var A=h.dataZoomModel,y=A.get("disabled",!0)?!1:A.get("zoomLock",!0)?"move":!0;c[t+y]>c[t+u]&&(u=y),o&=A.get("preventDefaultMouseMove",!0)}),{controlType:u,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}B.register=v,B.unregister=b,B.generateCoordId=f},VaNO:function(J,B){function e(d){return this.__data__.has(d)}J.exports=e},VaxA:function(J,B,e){var d=e("bYtY");function x(b,f,i){if(b&&d.indexOf(f,b.type)>=0){var r=i.getData().tree.root,a=b.targetNode;if(typeof a=="string"&&(a=r.getNodeById(a)),a&&r.contains(a))return{node:a};var s=b.targetNodeId;if(s!=null&&(a=r.getNodeById(s)))return{node:a}}}function g(b){for(var f=[];b;)b=b.parentNode,b&&f.push(b);return f.reverse()}function p(b,f){var i=g(b);return d.indexOf(i,f)>=0}function v(b,f){for(var i=[];b;){var r=b.dataIndex;i.push({name:b.name,dataIndex:r,value:f.getRawValue(r)}),b=b.parentNode}return i.reverse(),i}B.retrieveTargetInfo=x,B.getPathToRoot=g,B.aboveViewRoot=p,B.wrapTreePathInfo=v},Vi4m:function(J,B,e){var d=e("bYtY");function x(p){p!=null&&d.extend(this,p),this.otherDims={}}var g=x;J.exports=g},Vl3Y:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("J4zp"),p=e.n(g),v=e("lSNA"),b=e.n(v),f=e("q1tI"),i=e("TSYQ"),r=e.n(i),a=e("85Yc"),s=e("H84U"),l=e("BGR+"),n=f.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),u=f.createContext({updateItemErrors:function(){}}),t=function(or){var Qt=Object(l.default)(or,["prefixCls"]);return f.createElement(a.FormProvider,Qt)};function c(Lt){return Lt!=null&&typeof Lt=="object"&&Lt.nodeType===1}function o(Lt,or){return or&&Lt==="hidden"?!1:Lt!=="visible"&&Lt!=="clip"}function h(Lt){if(!Lt.ownerDocument||!Lt.ownerDocument.defaultView)return null;try{return Lt.ownerDocument.defaultView.frameElement}catch(or){return null}}function A(Lt){var or=h(Lt);return or?or.clientHeight<Lt.scrollHeight||or.clientWidth<Lt.scrollWidth:!1}function y(Lt,or){if(Lt.clientHeight<Lt.scrollHeight||Lt.clientWidth<Lt.scrollWidth){var Qt=getComputedStyle(Lt,null);return o(Qt.overflowY,or)||o(Qt.overflowX,or)||A(Lt)}return!1}function O(Lt,or,Qt,qt,hr,Gt,de,ue){return Gt<Lt&&de>or||Gt>Lt&&de<or?0:Gt<=Lt&&ue<=Qt||de>=or&&ue>=Qt?Gt-Lt-qt:de>or&&ue<Qt||Gt<Lt&&ue>Qt?de-or+hr:0}var S=function(Lt,or){var Qt=or.scrollMode,qt=or.block,hr=or.inline,Gt=or.boundary,de=or.skipOverflowHiddenElements,ue=typeof Gt=="function"?Gt:function(rr){return rr!==Gt};if(!c(Lt))throw new TypeError("Invalid target");for(var se=document.scrollingElement||document.documentElement,ae=[],ye=Lt;c(ye)&&ue(ye);){if(ye=ye.parentNode,ye===se){ae.push(ye);break}if(ye===document.body&&y(ye)&&!y(document.documentElement))continue;y(ye,de)&&ae.push(ye)}for(var Ce=window.visualViewport?visualViewport.width:innerWidth,Oe=window.visualViewport?visualViewport.height:innerHeight,Te=window.scrollX||pageXOffset,xe=window.scrollY||pageYOffset,ke=Lt.getBoundingClientRect(),lt=ke.height,At=ke.width,ee=ke.top,ie=ke.right,z=ke.bottom,$=ke.left,le=qt==="start"||qt==="nearest"?ee:qt==="end"?z:ee+lt/2,ge=hr==="center"?$+At/2:hr==="end"?ie:$,Ae=[],Me=0;Me<ae.length;Me++){var Ze=ae[Me],kt=Ze.getBoundingClientRect(),Jt=kt.height,Et=kt.width,Ft=kt.top,Kt=kt.right,Vt=kt.bottom,Ot=kt.left;if(Qt==="if-needed"&&ee>=0&&$>=0&&z<=Oe&&ie<=Ce&&ee>=Ft&&z<=Vt&&$>=Ot&&ie<=Kt)return Ae;var ur=getComputedStyle(Ze),Zt=parseInt(ur.borderLeftWidth,10),ze=parseInt(ur.borderTopWidth,10),at=parseInt(ur.borderRightWidth,10),Ve=parseInt(ur.borderBottomWidth,10),Xe=0,gt=0,ft="offsetWidth"in Ze?Ze.offsetWidth-Ze.clientWidth-Zt-at:0,Ge="offsetHeight"in Ze?Ze.offsetHeight-Ze.clientHeight-ze-Ve:0;if(se===Ze)qt==="start"?Xe=le:qt==="end"?Xe=le-Oe:qt==="nearest"?Xe=O(xe,xe+Oe,Oe,ze,Ve,xe+le,xe+le+lt,lt):Xe=le-Oe/2,hr==="start"?gt=ge:hr==="center"?gt=ge-Ce/2:hr==="end"?gt=ge-Ce:gt=O(Te,Te+Ce,Ce,Zt,at,Te+ge,Te+ge+At,At),Xe=Math.max(0,Xe+xe),gt=Math.max(0,gt+Te);else{qt==="start"?Xe=le-Ft-ze:qt==="end"?Xe=le-Vt+Ve+Ge:qt==="nearest"?Xe=O(Ft,Vt,Jt,ze,Ve+Ge,le,le+lt,lt):Xe=le-(Ft+Jt/2)+Ge/2,hr==="start"?gt=ge-Ot-Zt:hr==="center"?gt=ge-(Ot+Et/2)+ft/2:hr==="end"?gt=ge-Kt+at+ft:gt=O(Ot,Kt,Et,Zt,at+ft,ge,ge+At,At);var Mt=Ze.scrollLeft,It=Ze.scrollTop;Xe=Math.max(0,Math.min(It+Xe,Ze.scrollHeight-Jt+Ge)),gt=Math.max(0,Math.min(Mt+gt,Ze.scrollWidth-Et+ft)),le+=It-Xe,ge+=Mt-gt}Ae.push({el:Ze,top:Xe,left:gt})}return Ae};function E(Lt){return Lt===Object(Lt)&&Object.keys(Lt).length!==0}function C(Lt,or){or===void 0&&(or="auto");var Qt="scrollBehavior"in document.body.style;Lt.forEach(function(qt){var hr=qt.el,Gt=qt.top,de=qt.left;hr.scroll&&Qt?hr.scroll({top:Gt,left:de,behavior:or}):(hr.scrollTop=Gt,hr.scrollLeft=de)})}function T(Lt){return Lt===!1?{block:"end",inline:"nearest"}:E(Lt)?Lt:{block:"start",inline:"nearest"}}function w(Lt,or){var Qt=!Lt.ownerDocument.documentElement.contains(Lt);if(E(or)&&typeof or.behavior=="function")return or.behavior(Qt?[]:S(Lt,or));if(Qt)return;var qt=T(or);return C(S(Lt,qt),qt.behavior)}var L=w;function N(Lt){return Lt===void 0||Lt===!1?[]:Array.isArray(Lt)?Lt:[Lt]}function D(Lt,or){if(!Lt.length)return;var Qt=Lt.join("_");return or?"".concat(or,"_").concat(Qt):Qt}function F(Lt){var or=N(Lt);return or.join("_")}function R(Lt){var or=Object(a.useForm)(),Qt=p()(or,1),qt=Qt[0],hr=Object(f.useRef)({}),Gt=Object(f.useMemo)(function(){return Lt||x()(x()({},qt),{__INTERNAL__:{itemRef:function(ue){return function(se){var ae=F(ue);se?hr.current[ae]=se:delete hr.current[ae]}}},scrollToField:function(ue){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ae=N(ue),ye=D(ae,Gt.__INTERNAL__.name),Ce=ye?document.getElementById(ye):null;Ce&&L(Ce,x()({scrollMode:"if-needed",block:"nearest"},se))},getFieldInstance:function(ue){var se=F(ue);return hr.current[se]}})},[Lt,qt]);return[Gt]}var U=e("3Nzz"),M=function(Lt,or){var Qt={};for(var qt in Lt)Object.prototype.hasOwnProperty.call(Lt,qt)&&or.indexOf(qt)<0&&(Qt[qt]=Lt[qt]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hr=0,qt=Object.getOwnPropertySymbols(Lt);hr<qt.length;hr++)or.indexOf(qt[hr])<0&&Object.prototype.propertyIsEnumerable.call(Lt,qt[hr])&&(Qt[qt[hr]]=Lt[qt[hr]]);return Qt},j=function(or,Qt){var qt,hr=f.useContext(U.b),Gt=f.useContext(s.b),de=Gt.getPrefixCls,ue=Gt.direction,se=or.name,ae=or.prefixCls,ye=or.className,Ce=ye===void 0?"":ye,Oe=or.size,Te=Oe===void 0?hr:Oe,xe=or.form,ke=or.colon,lt=or.labelAlign,At=or.labelCol,ee=or.wrapperCol,ie=or.hideRequiredMark,z=or.layout,$=z===void 0?"horizontal":z,le=or.scrollToFirstError,ge=or.requiredMark,Ae=or.onFinishFailed,Me=M(or,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),Ze=Object(f.useMemo)(function(){return ge!==void 0?ge:!ie},[ie,ge]),kt=de("form",ae),Jt=r()(kt,(qt={},b()(qt,"".concat(kt,"-").concat($),!0),b()(qt,"".concat(kt,"-hide-required-mark"),Ze===!1),b()(qt,"".concat(kt,"-rtl"),ue==="rtl"),b()(qt,"".concat(kt,"-").concat(Te),Te),qt),Ce),Et=R(xe),Ft=p()(Et,1),Kt=Ft[0],Vt=Kt.__INTERNAL__;Vt.name=se;var Ot=Object(f.useMemo)(function(){return{name:se,labelAlign:lt,labelCol:At,wrapperCol:ee,vertical:$==="vertical",colon:ke,requiredMark:Ze,itemRef:Vt.itemRef}},[se,lt,At,ee,$,ke,Ze]);f.useImperativeHandle(Qt,function(){return Kt});var ur=function(ze){Ae&&Ae(ze),le&&ze.errorFields.length&&Kt.scrollToField(ze.errorFields[0].name)};return f.createElement(U.a,{size:Te},f.createElement(n.Provider,{value:Ot},f.createElement(a.default,x()({id:se},Me,{onFinishFailed:ur,form:Kt,className:Jt}))))},P=f.forwardRef(j),K=P,H=e("cDf5"),_=e.n(H),Z=e("RIqP"),Y=e.n(Z),k=e("Y+p1"),Q=e.n(k),X=e("KW7l"),he=e("c+Xe"),te=e("qrJ5"),pe=e("CWQg"),Se=e("uaoM"),we=e("/kpp"),We=e("YMnH"),qe=e("ZvpZ"),yt=function(or){var Qt=or.prefixCls,qt=or.label,hr=or.htmlFor,Gt=or.labelCol,de=or.labelAlign,ue=or.colon,se=or.required,ae=or.requiredMark,ye=Object(We.b)("Form"),Ce=p()(ye,1),Oe=Ce[0];return qt?f.createElement(n.Consumer,{key:"label"},function(Te){var xe,ke=Te.vertical,lt=Te.labelAlign,At=Te.labelCol,ee=Te.colon,ie,z=Gt||At||{},$=de||lt,le="".concat(Qt,"-item-label"),ge=r()(le,$==="left"&&"".concat(le,"-left"),z.className),Ae=qt,Me=ue===!0||ee!==!1&&ue!==!1,Ze=Me&&!ke;Ze&&typeof qt=="string"&&qt.trim()!==""&&(Ae=qt.replace(/[:|:]\s*$/,"")),ae==="optional"&&!se&&(Ae=f.createElement(f.Fragment,null,Ae,f.createElement("span",{className:"".concat(Qt,"-item-optional")},(Oe==null?void 0:Oe.optional)||((ie=qe.a.Form)===null||ie===void 0?void 0:ie.optional))));var kt=r()((xe={},b()(xe,"".concat(Qt,"-item-required"),se),b()(xe,"".concat(Qt,"-item-required-mark-optional"),ae==="optional"),b()(xe,"".concat(Qt,"-item-no-colon"),!Me),xe));return f.createElement(we.a,x()({},z,{className:ge}),f.createElement("label",{htmlFor:hr,className:kt,title:typeof qt=="string"?qt:""},Ae))}):null},_e=yt,je=e("gZBC"),Ct=e.n(je),ct=e("kbBi"),nt=e.n(ct),bt=e("J84W"),dt=e.n(bt),vt=e("sKbD"),Qe=e.n(vt),mt=e("YrtM"),Pe=e("8XRh"),De=e("hkKa");function Ie(Lt,or,Qt){var qt=f.useRef({errors:Lt,visible:!!Lt.length}),hr=Object(De.a)(),Gt=function(){var ue=qt.current.visible,se=!!Lt.length,ae=qt.current.errors;qt.current.errors=Lt,qt.current.visible=se,ue!==se?or(se):(ae.length!==Lt.length||ae.some(function(ye,Ce){return ye!==Lt[Ce]}))&&hr()};return f.useEffect(function(){if(!Qt){var de=setTimeout(Gt,10);return function(){return clearTimeout(de)}}},[Lt]),Qt&&Gt(),[qt.current.visible,qt.current.errors]}var ot={success:dt.a,warning:Qe.a,error:nt.a,validating:Ct.a},wt=function(or){var Qt=or.prefixCls,qt=or.wrapperCol,hr=or.children,Gt=or.help,de=or.errors,ue=or.onDomErrorVisibleChange,se=or.hasFeedback,ae=or.validateStatus,ye=or.extra,Ce=Object(De.a)(),Oe="".concat(Qt,"-item"),Te=f.useContext(n),xe=qt||Te.wrapperCol||{},ke=r()("".concat(Oe,"-control"),xe.className),lt=Ie(de,function(Ae){Ae&&Promise.resolve().then(function(){ue(!0)}),Ce()},!!Gt),At=p()(lt,2),ee=At[0],ie=At[1];f.useEffect(function(){return function(){ue(!1)}},[]);var z=Object(mt.a)(function(){return ie},ee,function(Ae,Me){return Me}),$=ae&&ot[ae],le=se&&$?f.createElement("span",{className:"".concat(Oe,"-children-icon")},f.createElement($,null)):null,ge=x()({},Te);return delete ge.labelCol,delete ge.wrapperCol,f.createElement(n.Provider,{value:ge},f.createElement(we.a,x()({},xe,{className:ke}),f.createElement("div",{className:"".concat(Oe,"-control-input")},f.createElement("div",{className:"".concat(Oe,"-control-input-content")},hr),le),f.createElement(Pe.default,{motionDeadline:500,visible:ee,motionName:"show-help",onLeaveEnd:function(){ue(!1)},motionAppear:!0,removeOnLeave:!0},function(Ae){var Me=Ae.className;return f.createElement("div",{className:r()("".concat(Oe,"-explain"),Me),key:"help"},z.map(function(Ze,kt){return f.createElement("div",{key:kt,role:"alert"},Ze)}))}),ye&&f.createElement("div",{className:"".concat(Oe,"-extra")},ye)))},Bt=wt,_t=e("0n0R"),Ue=e("xEkU"),zt=e.n(Ue);function xt(Lt){var or=f.useState(Lt),Qt=p()(or,2),qt=Qt[0],hr=Qt[1],Gt=Object(f.useRef)(null),de=Object(f.useRef)([]),ue=Object(f.useRef)(!1);f.useEffect(function(){return function(){ue.current=!0,zt.a.cancel(Gt.current)}},[]);function se(ae){if(ue.current)return;Gt.current===null&&(de.current=[],Gt.current=zt()(function(){Gt.current=null,hr(function(ye){var Ce=ye;return de.current.forEach(function(Oe){Ce=Oe(Ce)}),Ce})})),de.current.push(ae)}return[qt,se]}function Pt(){var Lt=f.useContext(n),or=Lt.itemRef,Qt=f.useRef({});function qt(hr,Gt){var de=Gt&&_()(Gt)==="object"&&Gt.ref,ue=hr.join("_");return(Qt.current.name!==ue||Qt.current.originRef!==de)&&(Qt.current.name=ue,Qt.current.originRef=de,Qt.current.ref=Object(he.a)(or(hr),de)),Qt.current.ref}return qt}var Ke=function(Lt,or){var Qt={};for(var qt in Lt)Object.prototype.hasOwnProperty.call(Lt,qt)&&or.indexOf(qt)<0&&(Qt[qt]=Lt[qt]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hr=0,qt=Object.getOwnPropertySymbols(Lt);hr<qt.length;hr++)or.indexOf(qt[hr])<0&&Object.prototype.propertyIsEnumerable.call(Lt,qt[hr])&&(Qt[qt[hr]]=Lt[qt[hr]]);return Qt},Ye=Object(pe.a)("success","warning","error","validating",""),$e=f.memo(function(Lt){var or=Lt.children;return or},function(Lt,or){return Lt.value===or.value&&Lt.update===or.update});function ut(Lt){return Lt===null&&Object(Se.a)(!1,"Form.Item","`null` is passed as `name` property"),!(Lt==null)}function et(Lt){var or=Lt.name,Qt=Lt.fieldKey,qt=Lt.noStyle,hr=Lt.dependencies,Gt=Lt.prefixCls,de=Lt.style,ue=Lt.className,se=Lt.shouldUpdate,ae=Lt.hasFeedback,ye=Lt.help,Ce=Lt.rules,Oe=Lt.validateStatus,Te=Lt.children,xe=Lt.required,ke=Lt.label,lt=Lt.trigger,At=lt===void 0?"onChange":lt,ee=Lt.validateTrigger,ie=Lt.hidden,z=Ke(Lt,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),$=f.useRef(!1),le=f.useContext(s.b),ge=le.getPrefixCls,Ae=f.useContext(n),Me=Ae.name,Ze=Ae.requiredMark,kt=f.useContext(u),Jt=kt.updateItemErrors,Et=f.useState(!!ye),Ft=p()(Et,2),Kt=Ft[0],Vt=Ft[1],Ot=f.useRef(Oe),ur=xt({}),Zt=p()(ur,2),ze=Zt[0],at=Zt[1],Ve=f.useContext(X.b),Xe=Ve.validateTrigger,gt=ee!==void 0?ee:Xe;function ft(tn){$.current||Vt(tn)}var Ge=ut(or),Mt=f.useRef([]);f.useEffect(function(){return function(){$.current=!0,Jt(Mt.current.join("__SPLIT__"),[])}},[]);var It=ge("form",Gt),rr=qt?Jt:function(tn,Jr){at(function(){var Lr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Q()(Lr[tn],Jr)?Lr:x()(x()({},Lr),b()({},tn,Jr))})},Ht=Pt();function pr(tn,Jr,Lr,Xr){var Tr,lr;if(qt&&!ie)return tn;var fr=[];Object.keys(ze).forEach(function(Qr){fr=[].concat(Y()(fr),Y()(ze[Qr]||[]))});var sr;ye!=null?sr=N(ye):(sr=Lr?Lr.errors:[],sr=[].concat(Y()(sr),Y()(fr)));var dr="";Oe!==void 0?dr=Oe:(Lr==null?void 0:Lr.validating)?dr="validating":((lr=Lr==null?void 0:Lr.errors)===null||lr===void 0?void 0:lr.length)||fr.length?dr="error":(Lr==null?void 0:Lr.touched)&&(dr="success"),Kt&&ye&&(Ot.current=dr);var Sr=(Tr={},b()(Tr,"".concat(It,"-item"),!0),b()(Tr,"".concat(It,"-item-with-help"),Kt||ye),b()(Tr,"".concat(ue),!!ue),b()(Tr,"".concat(It,"-item-has-feedback"),dr&&ae),b()(Tr,"".concat(It,"-item-has-success"),dr==="success"),b()(Tr,"".concat(It,"-item-has-warning"),dr==="warning"),b()(Tr,"".concat(It,"-item-has-error"),dr==="error"),b()(Tr,"".concat(It,"-item-has-error-leave"),!ye&&Kt&&Ot.current==="error"),b()(Tr,"".concat(It,"-item-is-validating"),dr==="validating"),b()(Tr,"".concat(It,"-item-hidden"),ie),Tr);return f.createElement(te.a,x()({className:r()(Sr),style:de,key:"row"},Object(l.default)(z,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),f.createElement(_e,x()({htmlFor:Jr,required:Xr,requiredMark:Ze},Lt,{prefixCls:It})),f.createElement(Bt,x()({},Lt,Lr,{errors:sr,prefixCls:It,onDomErrorVisibleChange:ft,validateStatus:dr}),f.createElement(u.Provider,{value:{updateItemErrors:rr}},tn)))}var Ar=typeof Te=="function",Nr=f.useRef(0);if(Nr.current+=1,!Ge&&!Ar&&!hr)return pr(Te);var Fr={};return typeof ke=="string"&&(Fr.label=ke),f.createElement(a.Field,x()({},Lt,{messageVariables:Fr,trigger:At,validateTrigger:gt,onReset:function(){ft(!1)}}),function(tn,Jr,Lr){var Xr=Jr.errors,Tr=N(or).length&&Jr?Jr.name:[],lr=D(Tr,Me);if(qt){if(Mt.current=Y()(Tr),Qt){var fr=Array.isArray(Qt)?Qt:[Qt];Mt.current=[].concat(Y()(Tr.slice(0,-1)),Y()(fr))}Jt(Mt.current.join("__SPLIT__"),Xr)}var sr=xe!==void 0?xe:!!(Ce&&Ce.some(function(Dn){if(Dn&&_()(Dn)==="object"&&Dn.required)return!0;if(typeof Dn=="function"){var jr=Dn(Lr);return jr&&jr.required}return!1})),dr=x()({},tn),Sr=null;if(Object(Se.a)(!(se&&hr),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(Te)&&Ge)Object(Se.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),Sr=Te;else if(Ar&&(!(se||hr)||Ge))Object(Se.a)(!!(se||hr),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(Se.a)(!Ge,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(hr&&!Ar&&!Ge)Object(Se.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(_t.b)(Te)){Object(Se.a)(Te.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Qr=x()(x()({},Te.props),dr);Qr.id||(Qr.id=lr),Object(he.c)(Te)&&(Qr.ref=Ht(Tr,Te));var cn=new Set([].concat(Y()(N(At)),Y()(N(gt))));cn.forEach(function(Dn){Qr[Dn]=function(){for(var jr,Ln,gn,Un,Wn,Jn=arguments.length,Qn=new Array(Jn),Vn=0;Vn<Jn;Vn++)Qn[Vn]=arguments[Vn];(gn=dr[Dn])===null||gn===void 0||(jr=gn).call.apply(jr,[dr].concat(Qn)),(Wn=(Un=Te.props)[Dn])===null||Wn===void 0||(Ln=Wn).call.apply(Ln,[Un].concat(Qn))}}),Sr=f.createElement($e,{value:dr[Lt.valuePropName||"value"],update:Nr.current},Object(_t.a)(Te,Qr))}else Ar&&(se||hr)&&!Ge?Sr=Te(Lr):(Object(Se.a)(!Tr.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),Sr=Te);return pr(Sr,lr,Jr,sr)})}var oe=et,me=function(Lt,or){var Qt={};for(var qt in Lt)Object.prototype.hasOwnProperty.call(Lt,qt)&&or.indexOf(qt)<0&&(Qt[qt]=Lt[qt]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hr=0,qt=Object.getOwnPropertySymbols(Lt);hr<qt.length;hr++)or.indexOf(qt[hr])<0&&Object.prototype.propertyIsEnumerable.call(Lt,qt[hr])&&(Qt[qt[hr]]=Lt[qt[hr]]);return Qt},it=function(or){var Qt=or.children,qt=me(or,["children"]);return Object(Se.a)(!!qt.name,"Form.List","Miss `name` prop."),f.createElement(a.List,qt,function(hr,Gt){return Qt(hr.map(function(de){return x()(x()({},de),{fieldKey:de.key})}),Gt)})},Be=it,ht=K;ht.Item=oe,ht.List=Be,ht.useForm=R,ht.Provider=t,ht.create=function(){Object(Se.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Mr=B.a=ht},VpOo:function(J,B){function e(d,x){var g=x.x,p=x.y,v=x.width,b=x.height,f=x.r,i,r,a,s;v<0&&(g=g+v,v=-v),b<0&&(p=p+b,b=-b),typeof f=="number"?i=r=a=s=f:f instanceof Array?f.length===1?i=r=a=s=f[0]:f.length===2?(i=a=f[0],r=s=f[1]):f.length===3?(i=f[0],r=s=f[1],a=f[2]):(i=f[0],r=f[1],a=f[2],s=f[3]):i=r=a=s=0;var l;i+r>v&&(l=i+r,i*=v/l,r*=v/l),a+s>v&&(l=a+s,a*=v/l,s*=v/l),r+a>b&&(l=r+a,r*=b/l,a*=b/l),i+s>b&&(l=i+s,i*=b/l,s*=b/l),d.moveTo(g+i,p),d.lineTo(g+v-r,p),r!==0&&d.arc(g+v-r,p+r,r,-Math.PI/2,0),d.lineTo(g+v,p+b-a),a!==0&&d.arc(g+v-a,p+b-a,a,0,Math.PI/2),d.lineTo(g+s,p+b),s!==0&&d.arc(g+s,p+b-s,s,Math.PI/2,Math.PI),d.lineTo(g,p+i),i!==0&&d.arc(g+i,p+i,i,Math.PI,Math.PI*1.5)}B.buildPath=e},"VrN/":function(J,B,e){(function(d,x){J.exports=x()})(this,function(){"use strict";var d=navigator.userAgent,x=navigator.platform,g=/gecko\/\d/i.test(d),p=/MSIE \d/.test(d),v=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(d),b=/Edge\/(\d+)/.exec(d),f=p||v||b,i=f&&(p?document.documentMode||6:+(b||v)[1]),r=!b&&/WebKit\//.test(d),a=r&&/Qt\/\d+\.\d+/.test(d),s=!b&&/Chrome\//.test(d),l=/Opera\//.test(d),n=/Apple Computer/.test(navigator.vendor),u=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(d),t=/PhantomJS/.test(d),c=!b&&/AppleWebKit/.test(d)&&/Mobile\/\w+/.test(d),o=/Android/.test(d),h=c||o||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(d),A=c||/Mac/.test(x),y=/\bCrOS\b/.test(d),O=/win/i.test(x),S=l&&d.match(/Version\/(\d*\.\d*)/);S&&(S=Number(S[1])),S&&S>=15&&(l=!1,r=!0);var E=A&&(a||l&&(S==null||S<12.11)),C=g||f&&i>=9;function T(m){return new RegExp("(^|\\s)"+m+"(?:$|\\s)\\s*")}var w=function(I,W){var V=I.className,q=T(W).exec(V);if(q){var ve=V.slice(q.index+q[0].length);I.className=V.slice(0,q.index)+(ve?q[1]+ve:"")}};function L(m){for(var I=m.childNodes.length;I>0;--I)m.removeChild(m.firstChild);return m}function N(m,I){return L(m).appendChild(I)}function D(m,I,W,V){var q=document.createElement(m);if(W&&(q.className=W),V&&(q.style.cssText=V),typeof I=="string")q.appendChild(document.createTextNode(I));else if(I)for(var ve=0;ve<I.length;++ve)q.appendChild(I[ve]);return q}function F(m,I,W,V){var q=D(m,I,W,V);return q.setAttribute("role","presentation"),q}var R;document.createRange?R=function(I,W,V,q){var ve=document.createRange();return ve.setEnd(q||I,V),ve.setStart(I,W),ve}:R=function(I,W,V){var q=document.body.createTextRange();try{q.moveToElementText(I.parentNode)}catch(ve){return q}return q.collapse(!0),q.moveEnd("character",V),q.moveStart("character",W),q};function U(m,I){if(I.nodeType==3&&(I=I.parentNode),m.contains)return m.contains(I);do if(I.nodeType==11&&(I=I.host),I==m)return!0;while(I=I.parentNode)}function M(){var m;try{m=document.activeElement}catch(I){m=document.body||null}for(;m&&m.shadowRoot&&m.shadowRoot.activeElement;)m=m.shadowRoot.activeElement;return m}function j(m,I){var W=m.className;T(I).test(W)||(m.className+=(W?" ":"")+I)}function P(m,I){for(var W=m.split(" "),V=0;V<W.length;V++)W[V]&&!T(W[V]).test(I)&&(I+=" "+W[V]);return I}var K=function(I){I.select()};c?K=function(I){I.selectionStart=0,I.selectionEnd=I.value.length}:f&&(K=function(I){try{I.select()}catch(W){}});function H(m){var I=Array.prototype.slice.call(arguments,1);return function(){return m.apply(null,I)}}function _(m,I,W){I||(I={});for(var V in m)m.hasOwnProperty(V)&&(W!==!1||!I.hasOwnProperty(V))&&(I[V]=m[V]);return I}function Z(m,I,W,V,q){I==null&&(I=m.search(/[^\s\u00a0]/),I==-1&&(I=m.length));for(var ve=V||0,Je=q||0;;){var St=m.indexOf(" ",ve);if(St<0||St>=I)return Je+(I-ve);Je+=St-ve,Je+=W-Je%W,ve=St+1}}var Y=function(){this.id=null,this.f=null,this.time=0,this.handler=H(this.onTimeout,this)};Y.prototype.onTimeout=function(m){m.id=0,m.time<=+new Date?m.f():setTimeout(m.handler,m.time-+new Date)},Y.prototype.set=function(m,I){this.f=I;var W=+new Date+m;(!this.id||W<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,m),this.time=W)};function k(m,I){for(var W=0;W<m.length;++W)if(m[W]==I)return W;return-1}var Q=50,X={toString:function(){return"CodeMirror.Pass"}},he={scroll:!1},te={origin:"*mouse"},pe={origin:"+move"};function Se(m,I,W){for(var V=0,q=0;;){var ve=m.indexOf(" ",V);ve==-1&&(ve=m.length);var Je=ve-V;if(ve==m.length||q+Je>=I)return V+Math.min(Je,I-q);if(q+=ve-V,q+=W-q%W,V=ve+1,q>=I)return V}}var we=[""];function We(m){for(;we.length<=m;)we.push(qe(we)+" ");return we[m]}function qe(m){return m[m.length-1]}function yt(m,I){for(var W=[],V=0;V<m.length;V++)W[V]=I(m[V],V);return W}function _e(m,I,W){for(var V=0,q=W(I);V<m.length&&W(m[V])<=q;)V++;m.splice(V,0,I)}function je(){}function Ct(m,I){var W;return Object.create?W=Object.create(m):(je.prototype=m,W=new je),I&&_(I,W),W}var ct=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function nt(m){return/\w/.test(m)||m>"\x80"&&(m.toUpperCase()!=m.toLowerCase()||ct.test(m))}function bt(m,I){return I?I.source.indexOf("\\w")>-1&&nt(m)?!0:I.test(m):nt(m)}function dt(m){for(var I in m)if(m.hasOwnProperty(I)&&m[I])return!1;return!0}var vt=/[\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 Qe(m){return m.charCodeAt(0)>=768&&vt.test(m)}function mt(m,I,W){for(;(W<0?I>0:I<m.length)&&Qe(m.charAt(I));)I+=W;return I}function Pe(m,I,W){for(var V=I>W?-1:1;;){if(I==W)return I;var q=(I+W)/2,ve=V<0?Math.ceil(q):Math.floor(q);if(ve==I)return m(ve)?I:W;m(ve)?W=ve:I=ve+V}}function De(m,I,W,V){if(!m)return V(I,W,"ltr",0);for(var q=!1,ve=0;ve<m.length;++ve){var Je=m[ve];(Je.from<W&&Je.to>I||I==W&&Je.to==I)&&(V(Math.max(Je.from,I),Math.min(Je.to,W),Je.level==1?"rtl":"ltr",ve),q=!0)}q||V(I,W,"ltr")}var Ie=null;function ot(m,I,W){var V;Ie=null;for(var q=0;q<m.length;++q){var ve=m[q];if(ve.from<I&&ve.to>I)return q;ve.to==I&&(ve.from!=ve.to&&W=="before"?V=q:Ie=q),ve.from==I&&(ve.from!=ve.to&&W!="before"?V=q:Ie=q)}return V!=null?V:Ie}var wt=function(){var m="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",I="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function W(Wt){return Wt<=247?m.charAt(Wt):1424<=Wt&&Wt<=1524?"R":1536<=Wt&&Wt<=1785?I.charAt(Wt-1536):1774<=Wt&&Wt<=2220?"r":8192<=Wt&&Wt<=8203?"w":Wt==8204?"b":"L"}var V=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,q=/[stwN]/,ve=/[LRr]/,Je=/[Lb1n]/,St=/[1n]/;function Ut(Wt,Er,_r){this.level=Wt,this.from=Er,this.to=_r}return function(Wt,Er){var _r=Er=="ltr"?"L":"R";if(Wt.length==0||Er=="ltr"&&!V.test(Wt))return!1;for(var en=Wt.length,nn=[],xn=0;xn<en;++xn)nn.push(W(Wt.charCodeAt(xn)));for(var kn=0,$n=_r;kn<en;++kn){var Zn=nn[kn];Zn=="m"?nn[kn]=$n:$n=Zn}for(var oi=0,li=_r;oi<en;++oi){var Ne=nn[oi];Ne=="1"&&li=="r"?nn[oi]="n":ve.test(Ne)&&(li=Ne,Ne=="r"&&(nn[oi]="R"))}for(var G=1,be=nn[0];G<en-1;++G){var Re=nn[G];Re=="+"&&be=="1"&&nn[G+1]=="1"?nn[G]="1":Re==","&&be==nn[G+1]&&(be=="1"||be=="n")&&(nn[G]=be),be=Re}for(var pt=0;pt<en;++pt){var $t=nn[pt];if($t==",")nn[pt]="N";else if($t=="%"){var gr=void 0;for(gr=pt+1;gr<en&&nn[gr]=="%";++gr);for(var Ir=pt&&nn[pt-1]=="!"||gr<en&&nn[gr]=="1"?"1":"N",Hr=pt;Hr<gr;++Hr)nn[Hr]=Ir;pt=gr-1}}for(var zr=0,un=_r;zr<en;++zr){var sn=nn[zr];un=="L"&&sn=="1"?nn[zr]="L":ve.test(sn)&&(un=sn)}for(var Fn=0;Fn<en;++Fn)if(q.test(nn[Fn])){var si=void 0;for(si=Fn+1;si<en&&q.test(nn[si]);++si);for(var zn=(Fn?nn[Fn-1]:_r)=="L",fi=(si<en?nn[si]:_r)=="L",da=zn==fi?zn?"L":"R":_r,Li=Fn;Li<si;++Li)nn[Li]=da;Fn=si-1}for(var na=[],Na,Ui=0;Ui<en;)if(Je.test(nn[Ui])){var No=Ui;for(++Ui;Ui<en&&Je.test(nn[Ui]);++Ui);na.push(new Ut(0,No,Ui))}else{var no=Ui,Wo=na.length,Uo=Er=="rtl"?1:0;for(++Ui;Ui<en&&nn[Ui]!="L";++Ui);for(var Pa=no;Pa<Ui;)if(St.test(nn[Pa])){no<Pa&&(na.splice(Wo,0,new Ut(1,no,Pa)),Wo+=Uo);var Ko=Pa;for(++Pa;Pa<Ui&&St.test(nn[Pa]);++Pa);na.splice(Wo,0,new Ut(2,Ko,Pa)),Wo+=Uo,no=Pa}else++Pa;no<Ui&&na.splice(Wo,0,new Ut(1,no,Ui))}return Er=="ltr"&&(na[0].level==1&&(Na=Wt.match(/^\s+/))&&(na[0].from=Na[0].length,na.unshift(new Ut(0,0,Na[0].length))),qe(na).level==1&&(Na=Wt.match(/\s+$/))&&(qe(na).to-=Na[0].length,na.push(new Ut(0,en-Na[0].length,en)))),Er=="rtl"?na.reverse():na}}();function Bt(m,I){var W=m.order;return W==null&&(W=m.order=wt(m.text,I)),W}var _t=[],Ue=function(I,W,V){if(I.addEventListener)I.addEventListener(W,V,!1);else if(I.attachEvent)I.attachEvent("on"+W,V);else{var q=I._handlers||(I._handlers={});q[W]=(q[W]||_t).concat(V)}};function zt(m,I){return m._handlers&&m._handlers[I]||_t}function xt(m,I,W){if(m.removeEventListener)m.removeEventListener(I,W,!1);else if(m.detachEvent)m.detachEvent("on"+I,W);else{var V=m._handlers,q=V&&V[I];if(q){var ve=k(q,W);ve>-1&&(V[I]=q.slice(0,ve).concat(q.slice(ve+1)))}}}function Pt(m,I){var W=zt(m,I);if(!W.length)return;for(var V=Array.prototype.slice.call(arguments,2),q=0;q<W.length;++q)W[q].apply(null,V)}function Ke(m,I,W){return typeof I=="string"&&(I={type:I,preventDefault:function(){this.defaultPrevented=!0}}),Pt(m,W||I.type,m,I),me(I)||I.codemirrorIgnore}function Ye(m){var I=m._handlers&&m._handlers.cursorActivity;if(!I)return;for(var W=m.curOp.cursorActivityHandlers||(m.curOp.cursorActivityHandlers=[]),V=0;V<I.length;++V)k(W,I[V])==-1&&W.push(I[V])}function $e(m,I){return zt(m,I).length>0}function ut(m){m.prototype.on=function(I,W){Ue(this,I,W)},m.prototype.off=function(I,W){xt(this,I,W)}}function et(m){m.preventDefault?m.preventDefault():m.returnValue=!1}function oe(m){m.stopPropagation?m.stopPropagation():m.cancelBubble=!0}function me(m){return m.defaultPrevented!=null?m.defaultPrevented:m.returnValue==!1}function it(m){et(m),oe(m)}function Be(m){return m.target||m.srcElement}function ht(m){var I=m.which;return I==null&&(m.button&1?I=1:m.button&2?I=3:m.button&4&&(I=2)),A&&m.ctrlKey&&I==1&&(I=3),I}var Mr=function(){if(f&&i<9)return!1;var m=D("div");return"draggable"in m||"dragDrop"in m}(),Lt;function or(m){if(Lt==null){var I=D("span","\u200B");N(m,D("span",[I,document.createTextNode("x")])),m.firstChild.offsetHeight!=0&&(Lt=I.offsetWidth<=1&&I.offsetHeight>2&&!(f&&i<8))}var W=Lt?D("span","\u200B"):D("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return W.setAttribute("cm-text",""),W}var Qt;function qt(m){if(Qt!=null)return Qt;var I=N(m,document.createTextNode("A\u062EA")),W=R(I,0,1).getBoundingClientRect(),V=R(I,1,2).getBoundingClientRect();return L(m),!W||W.left==W.right?!1:Qt=V.right-W.right<3}var hr=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(m){for(var I=0,W=[],V=m.length;I<=V;){var q=m.indexOf(`
|
|
|
`,I);q==-1&&(q=m.length);var ve=m.slice(I,m.charAt(q-1)=="\r"?q-1:q),Je=ve.indexOf("\r");Je!=-1?(W.push(ve.slice(0,Je)),I+=Je+1):(W.push(ve),I=q+1)}return W}:function(m){return m.split(/\r\n?|\n/)},Gt=window.getSelection?function(m){try{return m.selectionStart!=m.selectionEnd}catch(I){return!1}}:function(m){var I;try{I=m.ownerDocument.selection.createRange()}catch(W){}return!I||I.parentElement()!=m?!1:I.compareEndPoints("StartToEnd",I)!=0},de=function(){var m=D("div");return"oncopy"in m?!0:(m.setAttribute("oncopy","return;"),typeof m.oncopy=="function")}(),ue=null;function se(m){if(ue!=null)return ue;var I=N(m,D("span","x")),W=I.getBoundingClientRect(),V=R(I,0,1).getBoundingClientRect();return ue=Math.abs(W.left-V.left)>1}var ae={},ye={};function Ce(m,I){arguments.length>2&&(I.dependencies=Array.prototype.slice.call(arguments,2)),ae[m]=I}function Oe(m,I){ye[m]=I}function Te(m){if(typeof m=="string"&&ye.hasOwnProperty(m))m=ye[m];else if(m&&typeof m.name=="string"&&ye.hasOwnProperty(m.name)){var I=ye[m.name];typeof I=="string"&&(I={name:I}),m=Ct(I,m),m.name=I.name}else{if(typeof m=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(m))return Te("application/xml");if(typeof m=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(m))return Te("application/json")}return typeof m=="string"?{name:m}:m||{name:"null"}}function xe(m,I){I=Te(I);var W=ae[I.name];if(!W)return xe(m,"text/plain");var V=W(m,I);if(ke.hasOwnProperty(I.name)){var q=ke[I.name];for(var ve in q){if(!q.hasOwnProperty(ve))continue;V.hasOwnProperty(ve)&&(V["_"+ve]=V[ve]),V[ve]=q[ve]}}if(V.name=I.name,I.helperType&&(V.helperType=I.helperType),I.modeProps)for(var Je in I.modeProps)V[Je]=I.modeProps[Je];return V}var ke={};function lt(m,I){var W=ke.hasOwnProperty(m)?ke[m]:ke[m]={};_(I,W)}function At(m,I){if(I===!0)return I;if(m.copyState)return m.copyState(I);var W={};for(var V in I){var q=I[V];q instanceof Array&&(q=q.concat([])),W[V]=q}return W}function ee(m,I){for(var W;m.innerMode&&!(W=m.innerMode(I),!W||W.mode==m);)I=W.state,m=W.mode;return W||{mode:m,state:I}}function ie(m,I,W){return m.startState?m.startState(I,W):!0}var z=function(I,W,V){this.pos=this.start=0,this.string=I,this.tabSize=W||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=V};z.prototype.eol=function(){return this.pos>=this.string.length},z.prototype.sol=function(){return this.pos==this.lineStart},z.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},z.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},z.prototype.eat=function(m){var I=this.string.charAt(this.pos),W;if(typeof m=="string"?W=I==m:W=I&&(m.test?m.test(I):m(I)),W)return++this.pos,I},z.prototype.eatWhile=function(m){for(var I=this.pos;this.eat(m););return this.pos>I},z.prototype.eatSpace=function(){for(var m=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>m},z.prototype.skipToEnd=function(){this.pos=this.string.length},z.prototype.skipTo=function(m){var I=this.string.indexOf(m,this.pos);if(I>-1)return this.pos=I,!0},z.prototype.backUp=function(m){this.pos-=m},z.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Z(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Z(this.string,this.lineStart,this.tabSize):0)},z.prototype.indentation=function(){return Z(this.string,null,this.tabSize)-(this.lineStart?Z(this.string,this.lineStart,this.tabSize):0)},z.prototype.match=function(m,I,W){if(typeof m=="string"){var V=function(St){return W?St.toLowerCase():St},q=this.string.substr(this.pos,m.length);if(V(q)==V(m))return I!==!1&&(this.pos+=m.length),!0}else{var ve=this.string.slice(this.pos).match(m);return ve&&ve.index>0?null:(ve&&I!==!1&&(this.pos+=ve[0].length),ve)}},z.prototype.current=function(){return this.string.slice(this.start,this.pos)},z.prototype.hideFirstChars=function(m,I){this.lineStart+=m;try{return I()}finally{this.lineStart-=m}},z.prototype.lookAhead=function(m){var I=this.lineOracle;return I&&I.lookAhead(m)},z.prototype.baseToken=function(){var m=this.lineOracle;return m&&m.baseToken(this.pos)};function $(m,I){if(I-=m.first,I<0||I>=m.size)throw new Error("There is no line "+(I+m.first)+" in the document.");for(var W=m;!W.lines;)for(var V=0;;++V){var q=W.children[V],ve=q.chunkSize();if(I<ve){W=q;break}I-=ve}return W.lines[I]}function le(m,I,W){var V=[],q=I.line;return m.iter(I.line,W.line+1,function(ve){var Je=ve.text;q==W.line&&(Je=Je.slice(0,W.ch)),q==I.line&&(Je=Je.slice(I.ch)),V.push(Je),++q}),V}function ge(m,I,W){var V=[];return m.iter(I,W,function(q){V.push(q.text)}),V}function Ae(m,I){var W=I-m.height;if(W)for(var V=m;V;V=V.parent)V.height+=W}function Me(m){if(m.parent==null)return null;for(var I=m.parent,W=k(I.lines,m),V=I.parent;V;I=V,V=V.parent)for(var q=0;!(V.children[q]==I);++q)W+=V.children[q].chunkSize();return W+I.first}function Ze(m,I){var W=m.first;e:do{for(var V=0;V<m.children.length;++V){var q=m.children[V],ve=q.height;if(I<ve){m=q;continue e}I-=ve,W+=q.chunkSize()}return W}while(!m.lines);for(var Je=0;Je<m.lines.length;++Je){var St=m.lines[Je],Ut=St.height;if(I<Ut)break;I-=Ut}return W+Je}function kt(m,I){return I>=m.first&&I<m.first+m.size}function Jt(m,I){return String(m.lineNumberFormatter(I+m.firstLineNumber))}function Et(m,I,W){if(W===void 0&&(W=null),!(this instanceof Et))return new Et(m,I,W);this.line=m,this.ch=I,this.sticky=W}function Ft(m,I){return m.line-I.line||m.ch-I.ch}function Kt(m,I){return m.sticky==I.sticky&&Ft(m,I)==0}function Vt(m){return Et(m.line,m.ch)}function Ot(m,I){return Ft(m,I)<0?I:m}function ur(m,I){return Ft(m,I)<0?m:I}function Zt(m,I){return Math.max(m.first,Math.min(I,m.first+m.size-1))}function ze(m,I){if(I.line<m.first)return Et(m.first,0);var W=m.first+m.size-1;return I.line>W?Et(W,$(m,W).text.length):at(I,$(m,I.line).text.length)}function at(m,I){var W=m.ch;return W==null||W>I?Et(m.line,I):W<0?Et(m.line,0):m}function Ve(m,I){for(var W=[],V=0;V<I.length;V++)W[V]=ze(m,I[V]);return W}var Xe=function(I,W){this.state=I,this.lookAhead=W},gt=function(I,W,V,q){this.state=W,this.doc=I,this.line=V,this.maxLookAhead=q||0,this.baseTokens=null,this.baseTokenPos=1};gt.prototype.lookAhead=function(m){var I=this.doc.getLine(this.line+m);return I!=null&&m>this.maxLookAhead&&(this.maxLookAhead=m),I},gt.prototype.baseToken=function(m){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=m;)this.baseTokenPos+=2;var I=this.baseTokens[this.baseTokenPos+1];return{type:I&&I.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-m}},gt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},gt.fromSaved=function(m,I,W){return I instanceof Xe?new gt(m,At(m.mode,I.state),W,I.lookAhead):new gt(m,At(m.mode,I),W)},gt.prototype.save=function(m){var I=m!==!1?At(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Xe(I,this.maxLookAhead):I};function ft(m,I,W,V){var q=[m.state.modeGen],ve={};Fr(m,I.text,m.doc.mode,W,function(Wt,Er){return q.push(Wt,Er)},ve,V);for(var Je=W.state,St=function(Er){W.baseTokens=q;var _r=m.state.overlays[Er],en=1,nn=0;W.state=!0,Fr(m,I.text,_r.mode,W,function(xn,kn){for(var $n=en;nn<xn;){var Zn=q[en];Zn>xn&&q.splice(en,1,xn,q[en+1],Zn),en+=2,nn=Math.min(xn,Zn)}if(!kn)return;if(_r.opaque)q.splice($n,en-$n,xn,"overlay "+kn),en=$n+2;else for(;$n<en;$n+=2){var oi=q[$n+1];q[$n+1]=(oi?oi+" ":"")+"overlay "+kn}},ve),W.state=Je,W.baseTokens=null,W.baseTokenPos=1},Ut=0;Ut<m.state.overlays.length;++Ut)St(Ut);return{styles:q,classes:ve.bgClass||ve.textClass?ve:null}}function Ge(m,I,W){if(!I.styles||I.styles[0]!=m.state.modeGen){var V=Mt(m,Me(I)),q=I.text.length>m.options.maxHighlightLength&&At(m.doc.mode,V.state),ve=ft(m,I,V);q&&(V.state=q),I.stateAfter=V.save(!q),I.styles=ve.styles,ve.classes?I.styleClasses=ve.classes:I.styleClasses&&(I.styleClasses=null),W===m.doc.highlightFrontier&&(m.doc.modeFrontier=Math.max(m.doc.modeFrontier,++m.doc.highlightFrontier))}return I.styles}function Mt(m,I,W){var V=m.doc,q=m.display;if(!V.mode.startState)return new gt(V,!0,I);var ve=tn(m,I,W),Je=ve>V.first&&$(V,ve-1).stateAfter,St=Je?gt.fromSaved(V,Je,ve):new gt(V,ie(V.mode),ve);return V.iter(ve,I,function(Ut){It(m,Ut.text,St);var Wt=St.line;Ut.stateAfter=Wt==I-1||Wt%5==0||Wt>=q.viewFrom&&Wt<q.viewTo?St.save():null,St.nextLine()}),W&&(V.modeFrontier=St.line),St}function It(m,I,W,V){var q=m.doc.mode,ve=new z(I,m.options.tabSize,W);for(ve.start=ve.pos=V||0,I==""&&rr(q,W.state);!ve.eol();)Ht(q,ve,W.state),ve.start=ve.pos}function rr(m,I){if(m.blankLine)return m.blankLine(I);if(!m.innerMode)return;var W=ee(m,I);if(W.mode.blankLine)return W.mode.blankLine(W.state)}function Ht(m,I,W,V){for(var q=0;q<10;q++){V&&(V[0]=ee(m,W).mode);var ve=m.token(I,W);if(I.pos>I.start)return ve}throw new Error("Mode "+m.name+" failed to advance stream.")}var pr=function(I,W,V){this.start=I.start,this.end=I.pos,this.string=I.current(),this.type=W||null,this.state=V};function Ar(m,I,W,V){var q=m.doc,ve=q.mode,Je;I=ze(q,I);var St=$(q,I.line),Ut=Mt(m,I.line,W),Wt=new z(St.text,m.options.tabSize,Ut),Er;for(V&&(Er=[]);(V||Wt.pos<I.ch)&&!Wt.eol();)Wt.start=Wt.pos,Je=Ht(ve,Wt,Ut.state),V&&Er.push(new pr(Wt,Je,At(q.mode,Ut.state)));return V?Er:new pr(Wt,Je,Ut.state)}function Nr(m,I){if(m)for(;;){var W=m.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!W)break;m=m.slice(0,W.index)+m.slice(W.index+W[0].length);var V=W[1]?"bgClass":"textClass";I[V]==null?I[V]=W[2]:new RegExp("(?:^|\\s)"+W[2]+"(?:$|\\s)").test(I[V])||(I[V]+=" "+W[2])}return m}function Fr(m,I,W,V,q,ve,Je){var St=W.flattenSpans;St==null&&(St=m.options.flattenSpans);var Ut=0,Wt=null,Er=new z(I,m.options.tabSize,V),_r,en=m.options.addModeClass&&[null];for(I==""&&Nr(rr(W,V.state),ve);!Er.eol();){if(Er.pos>m.options.maxHighlightLength?(St=!1,Je&&It(m,I,V,Er.pos),Er.pos=I.length,_r=null):_r=Nr(Ht(W,Er,V.state,en),ve),en){var nn=en[0].name;nn&&(_r="m-"+(_r?nn+" "+_r:nn))}if(!St||Wt!=_r){for(;Ut<Er.start;)Ut=Math.min(Er.start,Ut+5e3),q(Ut,Wt);Wt=_r}Er.start=Er.pos}for(;Ut<Er.pos;){var xn=Math.min(Er.pos,Ut+5e3);q(xn,Wt),Ut=xn}}function tn(m,I,W){for(var V,q,ve=m.doc,Je=W?-1:I-(m.doc.mode.innerMode?1e3:100),St=I;St>Je;--St){if(St<=ve.first)return ve.first;var Ut=$(ve,St-1),Wt=Ut.stateAfter;if(Wt&&(!W||St+(Wt instanceof Xe?Wt.lookAhead:0)<=ve.modeFrontier))return St;var Er=Z(Ut.text,null,m.options.tabSize);(q==null||V>Er)&&(q=St-1,V=Er)}return q}function Jr(m,I){if(m.modeFrontier=Math.min(m.modeFrontier,I),m.highlightFrontier<I-10)return;for(var W=m.first,V=I-1;V>W;V--){var q=$(m,V).stateAfter;if(q&&(!(q instanceof Xe)||V+q.lookAhead<I)){W=V+1;break}}m.highlightFrontier=Math.min(m.highlightFrontier,W)}var Lr=!1,Xr=!1;function Tr(){Lr=!0}function lr(){Xr=!0}function fr(m,I,W){this.marker=m,this.from=I,this.to=W}function sr(m,I){if(m)for(var W=0;W<m.length;++W){var V=m[W];if(V.marker==I)return V}}function dr(m,I){for(var W,V=0;V<m.length;++V)m[V]!=I&&(W||(W=[])).push(m[V]);return W}function Sr(m,I){m.markedSpans=m.markedSpans?m.markedSpans.concat([I]):[I],I.marker.attachLine(m)}function Qr(m,I,W){var V;if(m)for(var q=0;q<m.length;++q){var ve=m[q],Je=ve.marker,St=ve.from==null||(Je.inclusiveLeft?ve.from<=I:ve.from<I);if(St||ve.from==I&&Je.type=="bookmark"&&(!W||!ve.marker.insertLeft)){var Ut=ve.to==null||(Je.inclusiveRight?ve.to>=I:ve.to>I);(V||(V=[])).push(new fr(Je,ve.from,Ut?null:ve.to))}}return V}function cn(m,I,W){var V;if(m)for(var q=0;q<m.length;++q){var ve=m[q],Je=ve.marker,St=ve.to==null||(Je.inclusiveRight?ve.to>=I:ve.to>I);if(St||ve.from==I&&Je.type=="bookmark"&&(!W||ve.marker.insertLeft)){var Ut=ve.from==null||(Je.inclusiveLeft?ve.from<=I:ve.from<I);(V||(V=[])).push(new fr(Je,Ut?null:ve.from-I,ve.to==null?null:ve.to-I))}}return V}function Dn(m,I){if(I.full)return null;var W=kt(m,I.from.line)&&$(m,I.from.line).markedSpans,V=kt(m,I.to.line)&&$(m,I.to.line).markedSpans;if(!W&&!V)return null;var q=I.from.ch,ve=I.to.ch,Je=Ft(I.from,I.to)==0,St=Qr(W,q,Je),Ut=cn(V,ve,Je),Wt=I.text.length==1,Er=qe(I.text).length+(Wt?q:0);if(St)for(var _r=0;_r<St.length;++_r){var en=St[_r];if(en.to==null){var nn=sr(Ut,en.marker);nn?Wt&&(en.to=nn.to==null?null:nn.to+Er):en.to=q}}if(Ut)for(var xn=0;xn<Ut.length;++xn){var kn=Ut[xn];if(kn.to!=null&&(kn.to+=Er),kn.from==null){var $n=sr(St,kn.marker);$n||(kn.from=Er,Wt&&(St||(St=[])).push(kn))}else kn.from+=Er,Wt&&(St||(St=[])).push(kn)}St&&(St=jr(St)),Ut&&Ut!=St&&(Ut=jr(Ut));var Zn=[St];if(!Wt){var oi=I.text.length-2,li;if(oi>0&&St)for(var Ne=0;Ne<St.length;++Ne)St[Ne].to==null&&(li||(li=[])).push(new fr(St[Ne].marker,null,null));for(var G=0;G<oi;++G)Zn.push(li);Zn.push(Ut)}return Zn}function jr(m){for(var I=0;I<m.length;++I){var W=m[I];W.from!=null&&W.from==W.to&&W.marker.clearWhenEmpty!==!1&&m.splice(I--,1)}return m.length?m:null}function Ln(m,I,W){var V=null;if(m.iter(I.line,W.line+1,function(nn){if(nn.markedSpans)for(var xn=0;xn<nn.markedSpans.length;++xn){var kn=nn.markedSpans[xn].marker;kn.readOnly&&(!V||k(V,kn)==-1)&&(V||(V=[])).push(kn)}}),!V)return null;for(var q=[{from:I,to:W}],ve=0;ve<V.length;++ve)for(var Je=V[ve],St=Je.find(0),Ut=0;Ut<q.length;++Ut){var Wt=q[Ut];if(Ft(Wt.to,St.from)<0||Ft(Wt.from,St.to)>0)continue;var Er=[Ut,1],_r=Ft(Wt.from,St.from),en=Ft(Wt.to,St.to);(_r<0||!Je.inclusiveLeft&&!_r)&&Er.push({from:Wt.from,to:St.from}),(en>0||!Je.inclusiveRight&&!en)&&Er.push({from:St.to,to:Wt.to}),q.splice.apply(q,Er),Ut+=Er.length-3}return q}function gn(m){var I=m.markedSpans;if(!I)return;for(var W=0;W<I.length;++W)I[W].marker.detachLine(m);m.markedSpans=null}function Un(m,I){if(!I)return;for(var W=0;W<I.length;++W)I[W].marker.attachLine(m);m.markedSpans=I}function Wn(m){return m.inclusiveLeft?-1:0}function Jn(m){return m.inclusiveRight?1:0}function Qn(m,I){var W=m.lines.length-I.lines.length;if(W!=0)return W;var V=m.find(),q=I.find(),ve=Ft(V.from,q.from)||Wn(m)-Wn(I);if(ve)return-ve;var Je=Ft(V.to,q.to)||Jn(m)-Jn(I);return Je||I.id-m.id}function Vn(m,I){var W=Xr&&m.markedSpans,V;if(W)for(var q=void 0,ve=0;ve<W.length;++ve)q=W[ve],q.marker.collapsed&&(I?q.from:q.to)==null&&(!V||Qn(V,q.marker)<0)&&(V=q.marker);return V}function yn(m){return Vn(m,!0)}function on(m){return Vn(m,!1)}function ia(m,I){var W=Xr&&m.markedSpans,V;if(W)for(var q=0;q<W.length;++q){var ve=W[q];ve.marker.collapsed&&(ve.from==null||ve.from<I)&&(ve.to==null||ve.to>I)&&(!V||Qn(V,ve.marker)<0)&&(V=ve.marker)}return V}function xa(m,I,W,V,q){var ve=$(m,I),Je=Xr&&ve.markedSpans;if(Je)for(var St=0;St<Je.length;++St){var Ut=Je[St];if(!Ut.marker.collapsed)continue;var Wt=Ut.marker.find(0),Er=Ft(Wt.from,W)||Wn(Ut.marker)-Wn(q),_r=Ft(Wt.to,V)||Jn(Ut.marker)-Jn(q);if(Er>=0&&_r<=0||Er<=0&&_r>=0)continue;if(Er<=0&&(Ut.marker.inclusiveRight&&q.inclusiveLeft?Ft(Wt.to,W)>=0:Ft(Wt.to,W)>0)||Er>=0&&(Ut.marker.inclusiveRight&&q.inclusiveLeft?Ft(Wt.from,V)<=0:Ft(Wt.from,V)<0))return!0}}function ta(m){for(var I;I=yn(m);)m=I.find(-1,!0).line;return m}function Ni(m){for(var I;I=on(m);)m=I.find(1,!0).line;return m}function Ci(m){for(var I,W;I=on(m);)m=I.find(1,!0).line,(W||(W=[])).push(m);return W}function Gn(m,I){var W=$(m,I),V=ta(W);return W==V?I:Me(V)}function Ia(m,I){if(I>m.lastLine())return I;var W=$(m,I),V;if(!mn(m,W))return I;for(;V=on(W);)W=V.find(1,!0).line;return Me(W)+1}function mn(m,I){var W=Xr&&I.markedSpans;if(W)for(var V=void 0,q=0;q<W.length;++q){if(V=W[q],!V.marker.collapsed)continue;if(V.from==null)return!0;if(V.marker.widgetNode)continue;if(V.from==0&&V.marker.inclusiveLeft&&In(m,I,V))return!0}}function In(m,I,W){if(W.to==null){var V=W.marker.find(1,!0);return In(m,V.line,sr(V.line.markedSpans,W.marker))}if(W.marker.inclusiveRight&&W.to==I.text.length)return!0;for(var q=void 0,ve=0;ve<I.markedSpans.length;++ve)if(q=I.markedSpans[ve],q.marker.collapsed&&!q.marker.widgetNode&&q.from==W.to&&(q.to==null||q.to!=W.from)&&(q.marker.inclusiveLeft||W.marker.inclusiveRight)&&In(m,I,q))return!0}function On(m){m=ta(m);for(var I=0,W=m.parent,V=0;V<W.lines.length;++V){var q=W.lines[V];if(q==m)break;I+=q.height}for(var ve=W.parent;ve;W=ve,ve=W.parent)for(var Je=0;Je<ve.children.length;++Je){var St=ve.children[Je];if(St==W)break;I+=St.height}return I}function Nn(m){if(m.height==0)return 0;for(var I=m.text.length,W,V=m;W=yn(V);){var q=W.find(0,!0);V=q.from.line,I+=q.from.ch-q.to.ch}for(V=m;W=on(V);){var ve=W.find(0,!0);I-=V.text.length-ve.from.ch,V=ve.to.line,I+=V.text.length-ve.to.ch}return I}function jn(m){var I=m.display,W=m.doc;I.maxLine=$(W,W.first),I.maxLineLength=Nn(I.maxLine),I.maxLineChanged=!0,W.iter(function(V){var q=Nn(V);q>I.maxLineLength&&(I.maxLineLength=q,I.maxLine=V)})}var ni=function(I,W,V){this.text=I,Un(this,W),this.height=V?V(this):1};ni.prototype.lineNo=function(){return Me(this)},ut(ni);function di(m,I,W,V){m.text=I,m.stateAfter&&(m.stateAfter=null),m.styles&&(m.styles=null),m.order!=null&&(m.order=null),gn(m),Un(m,W);var q=V?V(m):1;q!=m.height&&Ae(m,q)}function Da(m){m.parent=null,gn(m)}var Xi={},ma={};function ka(m,I){if(!m||/^\s*$/.test(m))return null;var W=I.addModeClass?ma:Xi;return W[m]||(W[m]=m.replace(/\S+/g,"cm-$&"))}function Xa(m,I){var W=F("span",null,null,r?"padding-right: .1px":null),V={pre:F("pre",[W],"CodeMirror-line"),content:W,col:0,pos:0,cm:m,trailingSpace:!1,splitSpaces:m.getOption("lineWrapping")};I.measure={};for(var q=0;q<=(I.rest?I.rest.length:0);q++){var ve=q?I.rest[q-1]:I.line,Je=void 0;V.pos=0,V.addToken=Co,qt(m.display.measure)&&(Je=Bt(ve,m.doc.direction))&&(V.addToken=Hi(V.addToken,Je)),V.map=[];var St=I!=m.display.externalMeasured&&Me(ve);ha(ve,V,Ge(m,ve,St)),ve.styleClasses&&(ve.styleClasses.bgClass&&(V.bgClass=P(ve.styleClasses.bgClass,V.bgClass||"")),ve.styleClasses.textClass&&(V.textClass=P(ve.styleClasses.textClass,V.textClass||""))),V.map.length==0&&V.map.push(0,0,V.content.appendChild(or(m.display.measure))),q==0?(I.measure.map=V.map,I.measure.cache={}):((I.measure.maps||(I.measure.maps=[])).push(V.map),(I.measure.caches||(I.measure.caches=[])).push({}))}if(r){var Ut=V.content.lastChild;(/\bcm-tab\b/.test(Ut.className)||Ut.querySelector&&Ut.querySelector(".cm-tab"))&&(V.content.className="cm-tab-wrap-hack")}return Pt(m,"renderLine",m,I.line,V.pre),V.pre.className&&(V.textClass=P(V.pre.className,V.textClass||"")),V}function Ki(m){var I=D("span","\u2022","cm-invalidchar");return I.title="\\u"+m.charCodeAt(0).toString(16),I.setAttribute("aria-label",I.title),I}function Co(m,I,W,V,q,ve,Je){if(!I)return;var St=m.splitSpaces?aa(I,m.trailingSpace):I,Ut=m.cm.state.specialChars,Wt=!1,Er;if(!Ut.test(I))m.col+=I.length,Er=document.createTextNode(St),m.map.push(m.pos,m.pos+I.length,Er),f&&i<9&&(Wt=!0),m.pos+=I.length;else{Er=document.createDocumentFragment();for(var _r=0;;){Ut.lastIndex=_r;var en=Ut.exec(I),nn=en?en.index-_r:I.length-_r;if(nn){var xn=document.createTextNode(St.slice(_r,_r+nn));f&&i<9?Er.appendChild(D("span",[xn])):Er.appendChild(xn),m.map.push(m.pos,m.pos+nn,xn),m.col+=nn,m.pos+=nn}if(!en)break;_r+=nn+1;var kn=void 0;if(en[0]==" "){var $n=m.cm.options.tabSize,Zn=$n-m.col%$n;kn=Er.appendChild(D("span",We(Zn),"cm-tab")),kn.setAttribute("role","presentation"),kn.setAttribute("cm-text"," "),m.col+=Zn}else en[0]=="\r"||en[0]==`
|
|
|
`?(kn=Er.appendChild(D("span",en[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),kn.setAttribute("cm-text",en[0]),m.col+=1):(kn=m.cm.options.specialCharPlaceholder(en[0]),kn.setAttribute("cm-text",en[0]),f&&i<9?Er.appendChild(D("span",[kn])):Er.appendChild(kn),m.col+=1);m.map.push(m.pos,m.pos+1,kn),m.pos++}}if(m.trailingSpace=St.charCodeAt(I.length-1)==32,W||V||q||Wt||ve||Je){var oi=W||"";V&&(oi+=V),q&&(oi+=q);var li=D("span",[Er],oi,ve);if(Je)for(var Ne in Je)Je.hasOwnProperty(Ne)&&Ne!="style"&&Ne!="class"&&li.setAttribute(Ne,Je[Ne]);return m.content.appendChild(li)}m.content.appendChild(Er)}function aa(m,I){if(m.length>1&&!/ /.test(m))return m;for(var W=I,V="",q=0;q<m.length;q++){var ve=m.charAt(q);ve==" "&&W&&(q==m.length-1||m.charCodeAt(q+1)==32)&&(ve="\xA0"),V+=ve,W=ve==" "}return V}function Hi(m,I){return function(W,V,q,ve,Je,St,Ut){q=q?q+" cm-force-border":"cm-force-border";for(var Wt=W.pos,Er=Wt+V.length;;){for(var _r=void 0,en=0;en<I.length&&!(_r=I[en],_r.to>Wt&&_r.from<=Wt);en++);if(_r.to>=Er)return m(W,V,q,ve,Je,St,Ut);m(W,V.slice(0,_r.to-Wt),q,ve,null,St,Ut),ve=null,V=V.slice(_r.to-Wt),Wt=_r.to}}}function ga(m,I,W,V){var q=!V&&W.widgetNode;q&&m.map.push(m.pos,m.pos+I,q),!V&&m.cm.display.input.needsContentAttribute&&(q||(q=m.content.appendChild(document.createElement("span"))),q.setAttribute("cm-marker",W.id)),q&&(m.cm.display.input.setUneditable(q),m.content.appendChild(q)),m.pos+=I,m.trailingSpace=!1}function ha(m,I,W){var V=m.markedSpans,q=m.text,ve=0;if(!V){for(var Je=1;Je<W.length;Je+=2)I.addToken(I,q.slice(ve,ve=W[Je]),ka(W[Je+1],I.cm.options));return}for(var St=q.length,Ut=0,Wt=1,Er="",_r,en,nn=0,xn,kn,$n,Zn,oi;;){if(nn==Ut){xn=kn=$n=en="",oi=null,Zn=null,nn=Infinity;for(var li=[],Ne=void 0,G=0;G<V.length;++G){var be=V[G],Re=be.marker;if(Re.type=="bookmark"&&be.from==Ut&&Re.widgetNode)li.push(Re);else if(be.from<=Ut&&(be.to==null||be.to>Ut||Re.collapsed&&be.to==Ut&&be.from==Ut)){if(be.to!=null&&be.to!=Ut&&nn>be.to&&(nn=be.to,kn=""),Re.className&&(xn+=" "+Re.className),Re.css&&(en=(en?en+";":"")+Re.css),Re.startStyle&&be.from==Ut&&($n+=" "+Re.startStyle),Re.endStyle&&be.to==nn&&(Ne||(Ne=[])).push(Re.endStyle,be.to),Re.title&&((oi||(oi={})).title=Re.title),Re.attributes)for(var pt in Re.attributes)(oi||(oi={}))[pt]=Re.attributes[pt];Re.collapsed&&(!Zn||Qn(Zn.marker,Re)<0)&&(Zn=be)}else be.from>Ut&&nn>be.from&&(nn=be.from)}if(Ne)for(var $t=0;$t<Ne.length;$t+=2)Ne[$t+1]==nn&&(kn+=" "+Ne[$t]);if(!Zn||Zn.from==Ut)for(var gr=0;gr<li.length;++gr)ga(I,0,li[gr]);if(Zn&&(Zn.from||0)==Ut){if(ga(I,(Zn.to==null?St+1:Zn.to)-Ut,Zn.marker,Zn.from==null),Zn.to==null)return;Zn.to==Ut&&(Zn=!1)}}if(Ut>=St)break;for(var Ir=Math.min(St,nn);;){if(Er){var Hr=Ut+Er.length;if(!Zn){var zr=Hr>Ir?Er.slice(0,Ir-Ut):Er;I.addToken(I,zr,_r?_r+xn:xn,$n,Ut+zr.length==nn?kn:"",en,oi)}if(Hr>=Ir){Er=Er.slice(Ir-Ut),Ut=Ir;break}Ut=Hr,$n=""}Er=q.slice(ve,ve=W[Wt++]),_r=ka(W[Wt++],I.cm.options)}}}function mo(m,I,W){this.line=I,this.rest=Ci(I),this.size=this.rest?Me(qe(this.rest))-W+1:1,this.node=this.text=null,this.hidden=mn(m,I)}function Pn(m,I,W){for(var V=[],q,ve=I;ve<W;ve=q){var Je=new mo(m.doc,$(m.doc,ve),ve);q=ve+Je.size,V.push(Je)}return V}var qi=null;function eo(m){qi?qi.ops.push(m):m.ownsGroup=qi={ops:[m],delayedCallbacks:[]}}function Lo(m){var I=m.delayedCallbacks,W=0;do{for(;W<I.length;W++)I[W].call(null);for(var V=0;V<m.ops.length;V++){var q=m.ops[V];if(q.cursorActivityHandlers)for(;q.cursorActivityCalled<q.cursorActivityHandlers.length;)q.cursorActivityHandlers[q.cursorActivityCalled++].call(null,q.cm)}}while(W<I.length)}function co(m,I){var W=m.ownsGroup;if(!W)return;try{Lo(W)}finally{qi=null,I(W)}}var er=null;function Cr(m,I){var W=zt(m,I);if(!W.length)return;var V=Array.prototype.slice.call(arguments,2),q;qi?q=qi.delayedCallbacks:er?q=er:(q=er=[],setTimeout(Ur,0));for(var ve=function(Ut){q.push(function(){return W[Ut].apply(null,V)})},Je=0;Je<W.length;++Je)ve(Je)}function Ur(){var m=er;er=null;for(var I=0;I<m.length;++I)m[I]()}function Kr(m,I,W,V){for(var q=0;q<I.changes.length;q++){var ve=I.changes[q];ve=="text"?Xt(m,I):ve=="gutter"?Or(m,I,W,V):ve=="class"?tr(m,I):ve=="widget"&&br(m,I,V)}I.changes=null}function hn(m){return m.node==m.text&&(m.node=D("div",null,null,"position: relative"),m.text.parentNode&&m.text.parentNode.replaceChild(m.node,m.text),m.node.appendChild(m.text),f&&i<8&&(m.node.style.zIndex=2)),m.node}function Fe(m,I){var W=I.bgClass?I.bgClass+" "+(I.line.bgClass||""):I.line.bgClass;if(W&&(W+=" CodeMirror-linebackground"),I.background)W?I.background.className=W:(I.background.parentNode.removeChild(I.background),I.background=null);else if(W){var V=hn(I);I.background=V.insertBefore(D("div",null,W),V.firstChild),m.display.input.setUneditable(I.background)}}function Rt(m,I){var W=m.display.externalMeasured;return W&&W.line==I.line?(m.display.externalMeasured=null,I.measure=W.measure,W.built):Xa(m,I)}function Xt(m,I){var W=I.text.className,V=Rt(m,I);I.text==I.node&&(I.node=V.pre),I.text.parentNode.replaceChild(V.pre,I.text),I.text=V.pre,V.bgClass!=I.bgClass||V.textClass!=I.textClass?(I.bgClass=V.bgClass,I.textClass=V.textClass,tr(m,I)):W&&(I.text.className=W)}function tr(m,I){Fe(m,I),I.line.wrapClass?hn(I).className=I.line.wrapClass:I.node!=I.text&&(I.node.className="");var W=I.textClass?I.textClass+" "+(I.line.textClass||""):I.line.textClass;I.text.className=W||""}function Or(m,I,W,V){if(I.gutter&&(I.node.removeChild(I.gutter),I.gutter=null),I.gutterBackground&&(I.node.removeChild(I.gutterBackground),I.gutterBackground=null),I.line.gutterClass){var q=hn(I);I.gutterBackground=D("div",null,"CodeMirror-gutter-background "+I.line.gutterClass,"left: "+(m.options.fixedGutter?V.fixedPos:-V.gutterTotalWidth)+"px; width: "+V.gutterTotalWidth+"px"),m.display.input.setUneditable(I.gutterBackground),q.insertBefore(I.gutterBackground,I.text)}var ve=I.line.gutterMarkers;if(m.options.lineNumbers||ve){var Je=hn(I),St=I.gutter=D("div",null,"CodeMirror-gutter-wrapper","left: "+(m.options.fixedGutter?V.fixedPos:-V.gutterTotalWidth)+"px");if(m.display.input.setUneditable(St),Je.insertBefore(St,I.text),I.line.gutterClass&&(St.className+=" "+I.line.gutterClass),m.options.lineNumbers&&(!ve||!ve["CodeMirror-linenumbers"])&&(I.lineNumber=St.appendChild(D("div",Jt(m.options,W),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+V.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+m.display.lineNumInnerWidth+"px"))),ve)for(var Ut=0;Ut<m.display.gutterSpecs.length;++Ut){var Wt=m.display.gutterSpecs[Ut].className,Er=ve.hasOwnProperty(Wt)&&ve[Wt];Er&&St.appendChild(D("div",[Er],"CodeMirror-gutter-elt","left: "+V.gutterLeft[Wt]+"px; width: "+V.gutterWidth[Wt]+"px"))}}}function br(m,I,W){I.alignable&&(I.alignable=null);for(var V=T("CodeMirror-linewidget"),q=I.node.firstChild,ve=void 0;q;q=ve)ve=q.nextSibling,V.test(q.className)&&I.node.removeChild(q);Wr(m,I,W)}function xr(m,I,W,V){var q=Rt(m,I);return I.text=I.node=q.pre,q.bgClass&&(I.bgClass=q.bgClass),q.textClass&&(I.textClass=q.textClass),tr(m,I),Or(m,I,W,V),Wr(m,I,V),I.node}function Wr(m,I,W){if(Zr(m,I.line,I,W,!0),I.rest)for(var V=0;V<I.rest.length;V++)Zr(m,I.rest[V],I,W,!1)}function Zr(m,I,W,V,q){if(!I.widgets)return;for(var ve=hn(W),Je=0,St=I.widgets;Je<St.length;++Je){var Ut=St[Je],Wt=D("div",[Ut.node],"CodeMirror-linewidget"+(Ut.className?" "+Ut.className:""));Ut.handleMouseEvents||Wt.setAttribute("cm-ignore-events","true"),$r(Ut,Wt,W,V),m.display.input.setUneditable(Wt),q&&Ut.above?ve.insertBefore(Wt,W.gutter||W.text):ve.appendChild(Wt),Cr(Ut,"redraw")}}function $r(m,I,W,V){if(m.noHScroll){(W.alignable||(W.alignable=[])).push(I);var q=V.wrapperWidth;I.style.left=V.fixedPos+"px",m.coverGutter||(q-=V.gutterTotalWidth,I.style.paddingLeft=V.gutterTotalWidth+"px"),I.style.width=q+"px"}m.coverGutter&&(I.style.zIndex=5,I.style.position="relative",m.noHScroll||(I.style.marginLeft=-V.gutterTotalWidth+"px"))}function an(m){if(m.height!=null)return m.height;var I=m.doc.cm;if(!I)return 0;if(!U(document.body,m.node)){var W="position: relative;";m.coverGutter&&(W+="margin-left: -"+I.display.gutters.offsetWidth+"px;"),m.noHScroll&&(W+="width: "+I.display.wrapper.clientWidth+"px;"),N(I.display.measure,D("div",[m.node],null,W))}return m.height=m.node.parentNode.offsetHeight}function rt(m,I){for(var W=Be(I);W!=m.wrapper;W=W.parentNode)if(!W||W.nodeType==1&&W.getAttribute("cm-ignore-events")=="true"||W.parentNode==m.sizer&&W!=m.mover)return!0}function jt(m){return m.lineSpace.offsetTop}function ir(m){return m.mover.offsetHeight-m.lineSpace.offsetHeight}function yr(m){if(m.cachedPaddingH)return m.cachedPaddingH;var I=N(m.measure,D("pre","x","CodeMirror-line-like")),W=window.getComputedStyle?window.getComputedStyle(I):I.currentStyle,V={left:parseInt(W.paddingLeft),right:parseInt(W.paddingRight)};return!isNaN(V.left)&&!isNaN(V.right)&&(m.cachedPaddingH=V),V}function Br(m){return Q-m.display.nativeBarWidth}function Dr(m){return m.display.scroller.clientWidth-Br(m)-m.display.barWidth}function rn(m){return m.display.scroller.clientHeight-Br(m)-m.display.barHeight}function fn(m,I,W){var V=m.options.lineWrapping,q=V&&Dr(m);if(!I.measure.heights||V&&I.measure.width!=q){var ve=I.measure.heights=[];if(V){I.measure.width=q;for(var Je=I.text.firstChild.getClientRects(),St=0;St<Je.length-1;St++){var Ut=Je[St],Wt=Je[St+1];Math.abs(Ut.bottom-Wt.bottom)>2&&ve.push((Ut.bottom+Wt.top)/2-W.top)}}ve.push(W.bottom-W.top)}}function wn(m,I,W){if(m.line==I)return{map:m.measure.map,cache:m.measure.cache};for(var V=0;V<m.rest.length;V++)if(m.rest[V]==I)return{map:m.measure.maps[V],cache:m.measure.caches[V]};for(var q=0;q<m.rest.length;q++)if(Me(m.rest[q])>W)return{map:m.measure.maps[q],cache:m.measure.caches[q],before:!0}}function Hn(m,I){I=ta(I);var W=Me(I),V=m.display.externalMeasured=new mo(m.doc,I,W);V.lineN=W;var q=V.built=Xa(m,V);return V.text=q.pre,N(m.display.lineMeasure,q.pre),V}function Sn(m,I,W,V){return vn(m,Bn(m,I),W,V)}function bn(m,I){if(I>=m.display.viewFrom&&I<m.display.viewTo)return m.display.view[la(m,I)];var W=m.display.externalMeasured;if(W&&I>=W.lineN&&I<W.lineN+W.size)return W}function Bn(m,I){var W=Me(I),V=bn(m,W);V&&!V.text?V=null:V&&V.changes&&(Kr(m,V,W,Vi(m)),m.curOp.forceUpdate=!0),V||(V=Hn(m,I));var q=wn(V,I,W);return{line:I,view:V,rect:null,map:q.map,cache:q.cache,before:q.before,hasHeights:!1}}function vn(m,I,W,V,q){I.before&&(W=-1);var ve=W+(V||""),Je;return I.cache.hasOwnProperty(ve)?Je=I.cache[ve]:(I.rect||(I.rect=I.view.text.getBoundingClientRect()),I.hasHeights||(fn(m,I.view,I.rect),I.hasHeights=!0),Je=Yn(m,I,W,V),Je.bogus||(I.cache[ve]=Je)),{left:Je.left,right:Je.right,top:q?Je.rtop:Je.top,bottom:q?Je.rbottom:Je.bottom}}var Mn={left:0,right:0,top:0,bottom:0};function En(m,I,W){for(var V,q,ve,Je,St,Ut,Wt=0;Wt<m.length;Wt+=3)if(St=m[Wt],Ut=m[Wt+1],I<St?(q=0,ve=1,Je="left"):I<Ut?(q=I-St,ve=q+1):(Wt==m.length-3||I==Ut&&m[Wt+3]>I)&&(ve=Ut-St,q=ve-1,I>=Ut&&(Je="right")),q!=null){if(V=m[Wt+2],St==Ut&&W==(V.insertLeft?"left":"right")&&(Je=W),W=="left"&&q==0)for(;Wt&&m[Wt-2]==m[Wt-3]&&m[Wt-1].insertLeft;)V=m[(Wt-=3)+2],Je="left";if(W=="right"&&q==Ut-St)for(;Wt<m.length-3&&m[Wt+3]==m[Wt+4]&&!m[Wt+5].insertLeft;)V=m[(Wt+=3)+2],Je="right";break}return{node:V,start:q,end:ve,collapse:Je,coverStart:St,coverEnd:Ut}}function Tn(m,I){var W=Mn;if(I=="left")for(var V=0;V<m.length&&!((W=m[V]).left!=W.right);V++);else for(var q=m.length-1;q>=0&&!((W=m[q]).left!=W.right);q--);return W}function Yn(m,I,W,V){var q=En(I.map,W,V),ve=q.node,Je=q.start,St=q.end,Ut=q.collapse,Wt;if(ve.nodeType==3){for(var Er=0;Er<4;Er++){for(;Je&&Qe(I.line.text.charAt(q.coverStart+Je));)--Je;for(;q.coverStart+St<q.coverEnd&&Qe(I.line.text.charAt(q.coverStart+St));)++St;if(f&&i<9&&Je==0&&St==q.coverEnd-q.coverStart?Wt=ve.parentNode.getBoundingClientRect():Wt=Tn(R(ve,Je,St).getClientRects(),V),Wt.left||Wt.right||Je==0)break;St=Je,Je=Je-1,Ut="right"}f&&i<11&&(Wt=ai(m.display.measure,Wt))}else{Je>0&&(Ut=V="right");var _r;m.options.lineWrapping&&(_r=ve.getClientRects()).length>1?Wt=_r[V=="right"?_r.length-1:0]:Wt=ve.getBoundingClientRect()}if(f&&i<9&&!Je&&(!Wt||!Wt.left&&!Wt.right)){var en=ve.parentNode.getClientRects()[0];en?Wt={left:en.left,right:en.left+Ti(m.display),top:en.top,bottom:en.bottom}:Wt=Mn}for(var nn=Wt.top-I.rect.top,xn=Wt.bottom-I.rect.top,kn=(nn+xn)/2,$n=I.view.measure.heights,Zn=0;Zn<$n.length-1&&!(kn<$n[Zn]);Zn++);var oi=Zn?$n[Zn-1]:0,li=$n[Zn],Ne={left:(Ut=="right"?Wt.right:Wt.left)-I.rect.left,right:(Ut=="left"?Wt.left:Wt.right)-I.rect.left,top:oi,bottom:li};return!Wt.left&&!Wt.right&&(Ne.bogus=!0),m.options.singleCursorHeightPerLine||(Ne.rtop=nn,Ne.rbottom=xn),Ne}function ai(m,I){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!se(m))return I;var W=screen.logicalXDPI/screen.deviceXDPI,V=screen.logicalYDPI/screen.deviceYDPI;return{left:I.left*W,right:I.right*W,top:I.top*V,bottom:I.bottom*V}}function ri(m){if(m.measure&&(m.measure.cache={},m.measure.heights=null,m.rest))for(var I=0;I<m.rest.length;I++)m.measure.caches[I]={}}function Ri(m){m.display.externalMeasure=null,L(m.display.lineMeasure);for(var I=0;I<m.display.view.length;I++)ri(m.display.view[I])}function Ai(m){Ri(m),m.display.cachedCharWidth=m.display.cachedTextHeight=m.display.cachedPaddingH=null,m.options.lineWrapping||(m.display.maxLineChanged=!0),m.display.lineNumChars=null}function xi(){return s&&o?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Oi(){return s&&o?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function _n(m){var I=0;if(m.widgets)for(var W=0;W<m.widgets.length;++W)m.widgets[W].above&&(I+=an(m.widgets[W]));return I}function Mi(m,I,W,V,q){if(!q){var ve=_n(I);W.top+=ve,W.bottom+=ve}if(V=="line")return W;V||(V="local");var Je=On(I);if(V=="local"?Je+=jt(m.display):Je-=m.display.viewOffset,V=="page"||V=="window"){var St=m.display.lineSpace.getBoundingClientRect();Je+=St.top+(V=="window"?0:Oi());var Ut=St.left+(V=="window"?0:xi());W.left+=Ut,W.right+=Ut}return W.top+=Je,W.bottom+=Je,W}function fa(m,I,W){if(W=="div")return I;var V=I.left,q=I.top;if(W=="page")V-=xi(),q-=Oi();else if(W=="local"||!W){var ve=m.display.sizer.getBoundingClientRect();V+=ve.left,q+=ve.top}var Je=m.display.lineSpace.getBoundingClientRect();return{left:V-Je.left,top:q-Je.top}}function _i(m,I,W,V,q){return V||(V=$(m.doc,I.line)),Mi(m,V,Sn(m,V,I.ch,q),W)}function Bi(m,I,W,V,q,ve){V=V||$(m.doc,I.line),q||(q=Bn(m,V));function Je(xn,kn){var $n=vn(m,q,xn,kn?"right":"left",ve);return kn?$n.left=$n.right:$n.right=$n.left,Mi(m,V,$n,W)}var St=Bt(V,m.doc.direction),Ut=I.ch,Wt=I.sticky;if(Ut>=V.text.length?(Ut=V.text.length,Wt="before"):Ut<=0&&(Ut=0,Wt="after"),!St)return Je(Wt=="before"?Ut-1:Ut,Wt=="before");function Er(xn,kn,$n){var Zn=St[kn],oi=Zn.level==1;return Je($n?xn-1:xn,oi!=$n)}var _r=ot(St,Ut,Wt),en=Ie,nn=Er(Ut,_r,Wt=="before");return en!=null&&(nn.other=Er(Ut,en,Wt!="before")),nn}function mi(m,I){var W=0;I=ze(m.doc,I),m.options.lineWrapping||(W=Ti(m.display)*I.ch);var V=$(m.doc,I.line),q=On(V)+jt(m.display);return{left:W,right:W,top:q,bottom:q+V.height}}function hi(m,I,W,V,q){var ve=Et(m,I,W);return ve.xRel=q,V&&(ve.outside=V),ve}function Ji(m,I,W){var V=m.doc;if(W+=m.display.viewOffset,W<0)return hi(V.first,0,null,-1,-1);var q=Ze(V,W),ve=V.first+V.size-1;if(q>ve)return hi(V.first+V.size-1,$(V,ve).text.length,null,1,1);I<0&&(I=0);for(var Je=$(V,q);;){var St=oa(m,Je,q,I,W),Ut=ia(Je,St.ch+(St.xRel>0||St.outside>0?1:0));if(!Ut)return St;var Wt=Ut.find(1);if(Wt.line==q)return Wt;Je=$(V,q=Wt.line)}}function va(m,I,W,V){V-=_n(I);var q=I.text.length,ve=Pe(function(Je){return vn(m,W,Je-1).bottom<=V},q,0);return q=Pe(function(Je){return vn(m,W,Je).top>V},ve,q),{begin:ve,end:q}}function Ea(m,I,W,V){W||(W=Bn(m,I));var q=Mi(m,I,vn(m,W,V),"line").top;return va(m,I,W,q)}function Aa(m,I,W,V){return m.bottom<=W?!1:m.top>W?!0:(V?m.left:m.right)>I}function oa(m,I,W,V,q){q-=On(I);var ve=Bn(m,I),Je=_n(I),St=0,Ut=I.text.length,Wt=!0,Er=Bt(I,m.doc.direction);if(Er){var _r=(m.options.lineWrapping?Di:sa)(m,I,W,ve,Er,V,q);Wt=_r.level!=1,St=Wt?_r.from:_r.to-1,Ut=Wt?_r.to:_r.from-1}var en=null,nn=null,xn=Pe(function(G){var be=vn(m,ve,G);return be.top+=Je,be.bottom+=Je,Aa(be,V,q,!1)?(be.top<=q&&be.left<=V&&(en=G,nn=be),!0):!1},St,Ut),kn,$n,Zn=!1;if(nn){var oi=V-nn.left<nn.right-V,li=oi==Wt;xn=en+(li?0:1),$n=li?"after":"before",kn=oi?nn.left:nn.right}else{!Wt&&(xn==Ut||xn==St)&&xn++,$n=xn==0?"after":xn==I.text.length?"before":vn(m,ve,xn-(Wt?1:0)).bottom+Je<=q==Wt?"after":"before";var Ne=Bi(m,Et(W,xn,$n),"line",I,ve);kn=Ne.left,Zn=q<Ne.top?-1:q>=Ne.bottom?1:0}return xn=mt(I.text,xn,1),hi(W,xn,$n,Zn,V-kn)}function sa(m,I,W,V,q,ve,Je){var St=Pe(function(_r){var en=q[_r],nn=en.level!=1;return Aa(Bi(m,Et(W,nn?en.to:en.from,nn?"before":"after"),"line",I,V),ve,Je,!0)},0,q.length-1),Ut=q[St];if(St>0){var Wt=Ut.level!=1,Er=Bi(m,Et(W,Wt?Ut.from:Ut.to,Wt?"after":"before"),"line",I,V);Aa(Er,ve,Je,!0)&&Er.top>Je&&(Ut=q[St-1])}return Ut}function Di(m,I,W,V,q,ve,Je){var St=va(m,I,V,Je),Ut=St.begin,Wt=St.end;/\s/.test(I.text.charAt(Wt-1))&&Wt--;for(var Er=null,_r=null,en=0;en<q.length;en++){var nn=q[en];if(nn.from>=Wt||nn.to<=Ut)continue;var xn=nn.level!=1,kn=vn(m,V,xn?Math.min(Wt,nn.to)-1:Math.max(Ut,nn.from)).right,$n=kn<ve?ve-kn+1e9:kn-ve;(!Er||_r>$n)&&(Er=nn,_r=$n)}return Er||(Er=q[q.length-1]),Er.from<Ut&&(Er={from:Ut,to:Er.to,level:Er.level}),Er.to>Wt&&(Er={from:Er.from,to:Wt,level:Er.level}),Er}var qn;function yi(m){if(m.cachedTextHeight!=null)return m.cachedTextHeight;if(qn==null){qn=D("pre",null,"CodeMirror-line-like");for(var I=0;I<49;++I)qn.appendChild(document.createTextNode("x")),qn.appendChild(D("br"));qn.appendChild(document.createTextNode("x"))}N(m.measure,qn);var W=qn.offsetHeight/50;return W>3&&(m.cachedTextHeight=W),L(m.measure),W||1}function Ti(m){if(m.cachedCharWidth!=null)return m.cachedCharWidth;var I=D("span","xxxxxxxxxx"),W=D("pre",[I],"CodeMirror-line-like");N(m.measure,W);var V=I.getBoundingClientRect(),q=(V.right-V.left)/10;return q>2&&(m.cachedCharWidth=q),q||10}function Vi(m){for(var I=m.display,W={},V={},q=I.gutters.clientLeft,ve=I.gutters.firstChild,Je=0;ve;ve=ve.nextSibling,++Je){var St=m.display.gutterSpecs[Je].className;W[St]=ve.offsetLeft+ve.clientLeft+q,V[St]=ve.clientWidth}return{fixedPos:Yi(I),gutterTotalWidth:I.gutters.offsetWidth,gutterLeft:W,gutterWidth:V,wrapperWidth:I.wrapper.clientWidth}}function Yi(m){return m.scroller.getBoundingClientRect().left-m.sizer.getBoundingClientRect().left}function bi(m){var I=yi(m.display),W=m.options.lineWrapping,V=W&&Math.max(5,m.display.scroller.clientWidth/Ti(m.display)-3);return function(q){if(mn(m.doc,q))return 0;var ve=0;if(q.widgets)for(var Je=0;Je<q.widgets.length;Je++)q.widgets[Je].height&&(ve+=q.widgets[Je].height);return W?ve+(Math.ceil(q.text.length/V)||1)*I:ve+I}}function ya(m){var I=m.doc,W=bi(m);I.iter(function(V){var q=W(V);q!=V.height&&Ae(V,q)})}function ua(m,I,W,V){var q=m.display;if(!W&&Be(I).getAttribute("cm-not-content")=="true")return null;var ve,Je,St=q.lineSpace.getBoundingClientRect();try{ve=I.clientX-St.left,Je=I.clientY-St.top}catch(_r){return null}var Ut=Ji(m,ve,Je),Wt;if(V&&Ut.xRel>0&&(Wt=$(m.doc,Ut.line).text).length==Ut.ch){var Er=Z(Wt,Wt.length,m.options.tabSize)-Wt.length;Ut=Et(Ut.line,Math.max(0,Math.round((ve-yr(m.display).left)/Ti(m.display))-Er))}return Ut}function la(m,I){if(I>=m.display.viewTo)return null;if(I-=m.display.viewFrom,I<0)return null;for(var W=m.display.view,V=0;V<W.length;V++)if(I-=W[V].size,I<0)return V}function gi(m,I,W,V){I==null&&(I=m.doc.first),W==null&&(W=m.doc.first+m.doc.size),V||(V=0);var q=m.display;if(V&&W<q.viewTo&&(q.updateLineNumbers==null||q.updateLineNumbers>I)&&(q.updateLineNumbers=I),m.curOp.viewChanged=!0,I>=q.viewTo)Xr&&Gn(m.doc,I)<q.viewTo&&Ba(m);else if(W<=q.viewFrom)Xr&&Ia(m.doc,W+V)>q.viewFrom?Ba(m):(q.viewFrom+=V,q.viewTo+=V);else if(I<=q.viewFrom&&W>=q.viewTo)Ba(m);else if(I<=q.viewFrom){var ve=ra(m,W,W+V,1);ve?(q.view=q.view.slice(ve.index),q.viewFrom=ve.lineN,q.viewTo+=V):Ba(m)}else if(W>=q.viewTo){var Je=ra(m,I,I,-1);Je?(q.view=q.view.slice(0,Je.index),q.viewTo=Je.lineN):Ba(m)}else{var St=ra(m,I,I,-1),Ut=ra(m,W,W+V,1);St&&Ut?(q.view=q.view.slice(0,St.index).concat(Pn(m,St.lineN,Ut.lineN)).concat(q.view.slice(Ut.index)),q.viewTo+=V):Ba(m)}var Wt=q.externalMeasured;Wt&&(W<Wt.lineN?Wt.lineN+=V:I<Wt.lineN+Wt.size&&(q.externalMeasured=null))}function Ua(m,I,W){m.curOp.viewChanged=!0;var V=m.display,q=m.display.externalMeasured;if(q&&I>=q.lineN&&I<q.lineN+q.size&&(V.externalMeasured=null),I<V.viewFrom||I>=V.viewTo)return;var ve=V.view[la(m,I)];if(ve.node==null)return;var Je=ve.changes||(ve.changes=[]);k(Je,W)==-1&&Je.push(W)}function Ba(m){m.display.viewFrom=m.display.viewTo=m.doc.first,m.display.view=[],m.display.viewOffset=0}function ra(m,I,W,V){var q=la(m,I),ve,Je=m.display.view;if(!Xr||W==m.doc.first+m.doc.size)return{index:q,lineN:W};for(var St=m.display.viewFrom,Ut=0;Ut<q;Ut++)St+=Je[Ut].size;if(St!=I){if(V>0){if(q==Je.length-1)return null;ve=St+Je[q].size-I,q++}else ve=St-I;I+=ve,W+=ve}for(;Gn(m.doc,W)!=W;){if(q==(V<0?0:Je.length-1))return null;W+=V*Je[q-(V<0?1:0)].size,q+=V}return{index:q,lineN:W}}function Qi(m,I,W){var V=m.display,q=V.view;q.length==0||I>=V.viewTo||W<=V.viewFrom?(V.view=Pn(m,I,W),V.viewFrom=I):(V.viewFrom>I?V.view=Pn(m,I,V.viewFrom).concat(V.view):V.viewFrom<I&&(V.view=V.view.slice(la(m,I))),V.viewFrom=I,V.viewTo<W?V.view=V.view.concat(Pn(m,V.viewTo,W)):V.viewTo>W&&(V.view=V.view.slice(0,la(m,W)))),V.viewTo=W}function Ya(m){for(var I=m.display.view,W=0,V=0;V<I.length;V++){var q=I[V];!q.hidden&&(!q.node||q.changes)&&++W}return W}function zi(m){m.display.input.showSelection(m.display.input.prepareSelection())}function Wi(m,I){I===void 0&&(I=!0);for(var W=m.doc,V={},q=V.cursors=document.createDocumentFragment(),ve=V.selection=document.createDocumentFragment(),Je=0;Je<W.sel.ranges.length;Je++){if(!I&&Je==W.sel.primIndex)continue;var St=W.sel.ranges[Je];if(St.from().line>=m.display.viewTo||St.to().line<m.display.viewFrom)continue;var Ut=St.empty();(Ut||m.options.showCursorWhenSelecting)&&ba(m,St.head,q),Ut||wa(m,St,ve)}return V}function ba(m,I,W){var V=Bi(m,I,"div",null,null,!m.options.singleCursorHeightPerLine),q=W.appendChild(D("div","\xA0","CodeMirror-cursor"));if(q.style.left=V.left+"px",q.style.top=V.top+"px",q.style.height=Math.max(0,V.bottom-V.top)*m.options.cursorHeight+"px",V.other){var ve=W.appendChild(D("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ve.style.display="",ve.style.left=V.other.left+"px",ve.style.top=V.other.top+"px",ve.style.height=(V.other.bottom-V.other.top)*.85+"px"}}function _a(m,I){return m.top-I.top||m.left-I.left}function wa(m,I,W){var V=m.display,q=m.doc,ve=document.createDocumentFragment(),Je=yr(m.display),St=Je.left,Ut=Math.max(V.sizerWidth,Dr(m)-V.sizer.offsetLeft)-Je.right,Wt=q.direction=="ltr";function Er(li,Ne,G,be){Ne<0&&(Ne=0),Ne=Math.round(Ne),be=Math.round(be),ve.appendChild(D("div",null,"CodeMirror-selected","position: absolute; left: "+li+`px;
|
|
|
top: `+Ne+"px; width: "+(G==null?Ut-li:G)+`px;
|
|
|
height: `+(be-Ne)+"px"))}function _r(li,Ne,G){var be=$(q,li),Re=be.text.length,pt,$t;function gr(zr,un){return _i(m,Et(li,zr),"div",be,un)}function Ir(zr,un,sn){var Fn=Ea(m,be,null,zr),si=un=="ltr"==(sn=="after")?"left":"right",zn=sn=="after"?Fn.begin:Fn.end-(/\s/.test(be.text.charAt(Fn.end-1))?2:1);return gr(zn,si)[si]}var Hr=Bt(be,q.direction);return De(Hr,Ne||0,G==null?Re:G,function(zr,un,sn,Fn){var si=sn=="ltr",zn=gr(zr,si?"left":"right"),fi=gr(un-1,si?"right":"left"),da=Ne==null&&zr==0,Li=G==null&&un==Re,na=Fn==0,Na=!Hr||Fn==Hr.length-1;if(fi.top-zn.top<=3){var Ui=(Wt?da:Li)&&na,No=(Wt?Li:da)&&Na,no=Ui?St:(si?zn:fi).left,Wo=No?Ut:(si?fi:zn).right;Er(no,zn.top,Wo-no,zn.bottom)}else{var Uo,Pa,Ko,fs;si?(Uo=Wt&&da&&na?St:zn.left,Pa=Wt?Ut:Ir(zr,sn,"before"),Ko=Wt?St:Ir(un,sn,"after"),fs=Wt&&Li&&Na?Ut:fi.right):(Uo=Wt?Ir(zr,sn,"before"):St,Pa=!Wt&&da&&na?Ut:zn.right,Ko=!Wt&&Li&&Na?St:fi.left,fs=Wt?Ir(un,sn,"after"):Ut),Er(Uo,zn.top,Pa-Uo,zn.bottom),zn.bottom<fi.top&&Er(St,zn.bottom,null,fi.top),Er(Ko,fi.top,fs-Ko,fi.bottom)}(!pt||_a(zn,pt)<0)&&(pt=zn),_a(fi,pt)<0&&(pt=fi),(!$t||_a(zn,$t)<0)&&($t=zn),_a(fi,$t)<0&&($t=fi)}),{start:pt,end:$t}}var en=I.from(),nn=I.to();if(en.line==nn.line)_r(en.line,en.ch,nn.ch);else{var xn=$(q,en.line),kn=$(q,nn.line),$n=ta(xn)==ta(kn),Zn=_r(en.line,en.ch,$n?xn.text.length+1:null).end,oi=_r(nn.line,$n?0:null,nn.ch).start;$n&&(Zn.top<oi.top-2?(Er(Zn.right,Zn.top,null,Zn.bottom),Er(St,oi.top,oi.left,oi.bottom)):Er(Zn.right,Zn.top,oi.left-Zn.right,Zn.bottom)),Zn.bottom<oi.top&&Er(St,Zn.bottom,null,oi.top)}W.appendChild(ve)}function vi(m){if(!m.state.focused)return;var I=m.display;clearInterval(I.blinker);var W=!0;I.cursorDiv.style.visibility="",m.options.cursorBlinkRate>0?I.blinker=setInterval(function(){m.hasFocus()||Ii(m),I.cursorDiv.style.visibility=(W=!W)?"":"hidden"},m.options.cursorBlinkRate):m.options.cursorBlinkRate<0&&(I.cursorDiv.style.visibility="hidden")}function Qa(m){m.state.focused||(m.display.input.focus(),pa(m))}function za(m){m.state.delayingBlurEvent=!0,setTimeout(function(){m.state.delayingBlurEvent&&(m.state.delayingBlurEvent=!1,Ii(m))},100)}function pa(m,I){if(m.state.delayingBlurEvent&&(m.state.delayingBlurEvent=!1),m.options.readOnly=="nocursor")return;m.state.focused||(Pt(m,"focus",m,I),m.state.focused=!0,j(m.display.wrapper,"CodeMirror-focused"),!m.curOp&&m.display.selForContextMenu!=m.doc.sel&&(m.display.input.reset(),r&&setTimeout(function(){return m.display.input.reset(!0)},20)),m.display.input.receivedFocus()),vi(m)}function Ii(m,I){if(m.state.delayingBlurEvent)return;m.state.focused&&(Pt(m,"blur",m,I),m.state.focused=!1,w(m.display.wrapper,"CodeMirror-focused")),clearInterval(m.display.blinker),setTimeout(function(){m.state.focused||(m.display.shift=!1)},150)}function So(m){for(var I=m.display,W=I.lineDiv.offsetTop,V=0;V<I.view.length;V++){var q=I.view[V],ve=m.options.lineWrapping,Je=void 0,St=0;if(q.hidden)continue;if(f&&i<8){var Ut=q.node.offsetTop+q.node.offsetHeight;Je=Ut-W,W=Ut}else{var Wt=q.node.getBoundingClientRect();Je=Wt.bottom-Wt.top,!ve&&q.text.firstChild&&(St=q.text.firstChild.getBoundingClientRect().right-Wt.left-1)}var Er=q.line.height-Je;if((Er>.005||Er<-.005)&&(Ae(q.line,Je),Wa(q.line),q.rest))for(var _r=0;_r<q.rest.length;_r++)Wa(q.rest[_r]);if(St>m.display.sizerWidth){var en=Math.ceil(St/Ti(m.display));en>m.display.maxLineLength&&(m.display.maxLineLength=en,m.display.maxLine=q.line,m.display.maxLineChanged=!0)}}}function Wa(m){if(m.widgets)for(var I=0;I<m.widgets.length;++I){var W=m.widgets[I],V=W.node.parentNode;V&&(W.height=V.offsetHeight)}}function ja(m,I,W){var V=W&&W.top!=null?Math.max(0,W.top):m.scroller.scrollTop;V=Math.floor(V-jt(m));var q=W&&W.bottom!=null?W.bottom:V+m.wrapper.clientHeight,ve=Ze(I,V),Je=Ze(I,q);if(W&&W.ensure){var St=W.ensure.from.line,Ut=W.ensure.to.line;St<ve?(ve=St,Je=Ze(I,On($(I,St))+m.wrapper.clientHeight)):Math.min(Ut,I.lastLine())>=Je&&(ve=Ze(I,On($(I,Ut))-m.wrapper.clientHeight),Je=Ut)}return{from:ve,to:Math.max(Je,ve+1)}}function Ja(m,I){if(Ke(m,"scrollCursorIntoView"))return;var W=m.display,V=W.sizer.getBoundingClientRect(),q=null;if(I.top+V.top<0?q=!0:I.bottom+V.top>(window.innerHeight||document.documentElement.clientHeight)&&(q=!1),q!=null&&!t){var ve=D("div","\u200B",null,`position: absolute;
|
|
|
top: `+(I.top-W.viewOffset-jt(m.display))+`px;
|
|
|
height: `+(I.bottom-I.top+Br(m)+W.barHeight)+`px;
|
|
|
left: `+I.left+"px; width: "+Math.max(2,I.right-I.left)+"px;");m.display.lineSpace.appendChild(ve),ve.scrollIntoView(q),m.display.lineSpace.removeChild(ve)}}function ho(m,I,W,V){V==null&&(V=0);var q;!m.options.lineWrapping&&I==W&&(I=I.ch?Et(I.line,I.sticky=="before"?I.ch-1:I.ch,"after"):I,W=I.sticky=="before"?Et(I.line,I.ch+1,"before"):I);for(var ve=0;ve<5;ve++){var Je=!1,St=Bi(m,I),Ut=!W||W==I?St:Bi(m,W);q={left:Math.min(St.left,Ut.left),top:Math.min(St.top,Ut.top)-V,right:Math.max(St.left,Ut.left),bottom:Math.max(St.bottom,Ut.bottom)+V};var Wt=to(m,q),Er=m.doc.scrollTop,_r=m.doc.scrollLeft;if(Wt.scrollTop!=null&&(Gi(m,Wt.scrollTop),Math.abs(m.doc.scrollTop-Er)>1&&(Je=!0)),Wt.scrollLeft!=null&&(go(m,Wt.scrollLeft),Math.abs(m.doc.scrollLeft-_r)>1&&(Je=!0)),!Je)break}return q}function Ca(m,I){var W=to(m,I);W.scrollTop!=null&&Gi(m,W.scrollTop),W.scrollLeft!=null&&go(m,W.scrollLeft)}function to(m,I){var W=m.display,V=yi(m.display);I.top<0&&(I.top=0);var q=m.curOp&&m.curOp.scrollTop!=null?m.curOp.scrollTop:W.scroller.scrollTop,ve=rn(m),Je={};I.bottom-I.top>ve&&(I.bottom=I.top+ve);var St=m.doc.height+ir(W),Ut=I.top<V,Wt=I.bottom>St-V;if(I.top<q)Je.scrollTop=Ut?0:I.top;else if(I.bottom>q+ve){var Er=Math.min(I.top,(Wt?St:I.bottom)-ve);Er!=q&&(Je.scrollTop=Er)}var _r=m.options.fixedGutter?0:W.gutters.offsetWidth,en=m.curOp&&m.curOp.scrollLeft!=null?m.curOp.scrollLeft:W.scroller.scrollLeft-_r,nn=Dr(m)-W.gutters.offsetWidth,xn=I.right-I.left>nn;return xn&&(I.right=I.left+nn),I.left<10?Je.scrollLeft=0:I.left<en?Je.scrollLeft=Math.max(0,I.left+_r-(xn?0:10)):I.right>nn+en-3&&(Je.scrollLeft=I.right+(xn?0:10)-nn),Je}function Oo(m,I){if(I==null)return;Ra(m),m.curOp.scrollTop=(m.curOp.scrollTop==null?m.doc.scrollTop:m.curOp.scrollTop)+I}function Ta(m){Ra(m);var I=m.getCursor();m.curOp.scrollToPos={from:I,to:I,margin:m.options.cursorScrollMargin}}function Fi(m,I,W){(I!=null||W!=null)&&Ra(m),I!=null&&(m.curOp.scrollLeft=I),W!=null&&(m.curOp.scrollTop=W)}function Za(m,I){Ra(m),m.curOp.scrollToPos=I}function Ra(m){var I=m.curOp.scrollToPos;if(I){m.curOp.scrollToPos=null;var W=mi(m,I.from),V=mi(m,I.to);pi(m,W,V,I.margin)}}function pi(m,I,W,V){var q=to(m,{left:Math.min(I.left,W.left),top:Math.min(I.top,W.top)-V,right:Math.max(I.right,W.right),bottom:Math.max(I.bottom,W.bottom)+V});Fi(m,q.scrollLeft,q.scrollTop)}function Gi(m,I){if(Math.abs(m.doc.scrollTop-I)<2)return;g||To(m,{top:I}),oo(m,I,!0),g&&To(m),ps(m,100)}function oo(m,I,W){if(I=Math.max(0,Math.min(m.display.scroller.scrollHeight-m.display.scroller.clientHeight,I)),m.display.scroller.scrollTop==I&&!W)return;m.doc.scrollTop=I,m.display.scrollbars.setScrollTop(I),m.display.scroller.scrollTop!=I&&(m.display.scroller.scrollTop=I)}function go(m,I,W,V){if(I=Math.max(0,Math.min(I,m.display.scroller.scrollWidth-m.display.scroller.clientWidth)),(W?I==m.doc.scrollLeft:Math.abs(m.doc.scrollLeft-I)<2)&&!V)return;m.doc.scrollLeft=I,ms(m),m.display.scroller.scrollLeft!=I&&(m.display.scroller.scrollLeft=I),m.display.scrollbars.setScrollLeft(I)}function fo(m){var I=m.display,W=I.gutters.offsetWidth,V=Math.round(m.doc.height+ir(m.display));return{clientHeight:I.scroller.clientHeight,viewHeight:I.wrapper.clientHeight,scrollWidth:I.scroller.scrollWidth,clientWidth:I.scroller.clientWidth,viewWidth:I.wrapper.clientWidth,barLeft:m.options.fixedGutter?W:0,docHeight:V,scrollHeight:V+Br(m)+I.barHeight,nativeBarWidth:I.nativeBarWidth,gutterWidth:W}}var La=function(I,W,V){this.cm=V;var q=this.vert=D("div",[D("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ve=this.horiz=D("div",[D("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");q.tabIndex=ve.tabIndex=-1,I(q),I(ve),Ue(q,"scroll",function(){q.clientHeight&&W(q.scrollTop,"vertical")}),Ue(ve,"scroll",function(){ve.clientWidth&&W(ve.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,f&&i<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};La.prototype.update=function(m){var I=m.scrollWidth>m.clientWidth+1,W=m.scrollHeight>m.clientHeight+1,V=m.nativeBarWidth;if(W){this.vert.style.display="block",this.vert.style.bottom=I?V+"px":"0";var q=m.viewHeight-(I?V:0);this.vert.firstChild.style.height=Math.max(0,m.scrollHeight-m.clientHeight+q)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(I){this.horiz.style.display="block",this.horiz.style.right=W?V+"px":"0",this.horiz.style.left=m.barLeft+"px";var ve=m.viewWidth-m.barLeft-(W?V:0);this.horiz.firstChild.style.width=Math.max(0,m.scrollWidth-m.clientWidth+ve)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&m.clientHeight>0&&(V==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:W?V:0,bottom:I?V:0}},La.prototype.setScrollLeft=function(m){this.horiz.scrollLeft!=m&&(this.horiz.scrollLeft=m),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},La.prototype.setScrollTop=function(m){this.vert.scrollTop!=m&&(this.vert.scrollTop=m),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},La.prototype.zeroWidthHack=function(){var m=A&&!u?"12px":"18px";this.horiz.style.height=this.vert.style.width=m,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Y,this.disableVert=new Y},La.prototype.enableZeroWidthBar=function(m,I,W){m.style.pointerEvents="auto";function V(){var q=m.getBoundingClientRect(),ve=W=="vert"?document.elementFromPoint(q.right-1,(q.top+q.bottom)/2):document.elementFromPoint((q.right+q.left)/2,q.bottom-1);ve!=m?m.style.pointerEvents="none":I.set(1e3,V)}I.set(1e3,V)},La.prototype.clear=function(){var m=this.horiz.parentNode;m.removeChild(this.horiz),m.removeChild(this.vert)};var Pi=function(){};Pi.prototype.update=function(){return{bottom:0,right:0}},Pi.prototype.setScrollLeft=function(){},Pi.prototype.setScrollTop=function(){},Pi.prototype.clear=function(){};function Ma(m,I){I||(I=fo(m));var W=m.display.barWidth,V=m.display.barHeight;Vo(m,I);for(var q=0;q<4&&W!=m.display.barWidth||V!=m.display.barHeight;q++)W!=m.display.barWidth&&m.options.lineWrapping&&So(m),Vo(m,fo(m)),W=m.display.barWidth,V=m.display.barHeight}function Vo(m,I){var W=m.display,V=W.scrollbars.update(I);W.sizer.style.paddingRight=(W.barWidth=V.right)+"px",W.sizer.style.paddingBottom=(W.barHeight=V.bottom)+"px",W.heightForcer.style.borderBottom=V.bottom+"px solid transparent",V.right&&V.bottom?(W.scrollbarFiller.style.display="block",W.scrollbarFiller.style.height=V.bottom+"px",W.scrollbarFiller.style.width=V.right+"px"):W.scrollbarFiller.style.display="",V.bottom&&m.options.coverGutterNextToScrollbar&&m.options.fixedGutter?(W.gutterFiller.style.display="block",W.gutterFiller.style.height=V.bottom+"px",W.gutterFiller.style.width=I.gutterWidth+"px"):W.gutterFiller.style.display=""}var ro={native:La,null:Pi};function vo(m){m.display.scrollbars&&(m.display.scrollbars.clear(),m.display.scrollbars.addClass&&w(m.display.wrapper,m.display.scrollbars.addClass)),m.display.scrollbars=new ro[m.options.scrollbarStyle](function(I){m.display.wrapper.insertBefore(I,m.display.scrollbarFiller),Ue(I,"mousedown",function(){m.state.focused&&setTimeout(function(){return m.display.input.focus()},0)}),I.setAttribute("cm-not-content","true")},function(I,W){W=="horizontal"?go(m,I):Gi(m,I)},m),m.display.scrollbars.addClass&&j(m.display.wrapper,m.display.scrollbars.addClass)}var po=0;function $i(m){m.curOp={cm:m,viewChanged:!1,startHeight:m.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++po},eo(m.curOp)}function xo(m){var I=m.curOp;I&&co(I,function(W){for(var V=0;V<W.ops.length;V++)W.ops[V].cm.curOp=null;is(W)})}function is(m){for(var I=m.ops,W=0;W<I.length;W++)Zo(I[W]);for(var V=0;V<I.length;V++)Ns(I[V]);for(var q=0;q<I.length;q++)Cs(I[q]);for(var ve=0;ve<I.length;ve++)Ls(I[ve]);for(var Je=0;Je<I.length;Je++)Go(I[Je])}function Zo(m){var I=m.cm,W=I.display;ss(I),m.updateMaxLine&&jn(I),m.mustUpdate=m.viewChanged||m.forceUpdate||m.scrollTop!=null||m.scrollToPos&&(m.scrollToPos.from.line<W.viewFrom||m.scrollToPos.to.line>=W.viewTo)||W.maxLineChanged&&I.options.lineWrapping,m.update=m.mustUpdate&&new Yo(I,m.mustUpdate&&{top:m.scrollTop,ensure:m.scrollToPos},m.forceUpdate)}function Ns(m){m.updatedDisplay=m.mustUpdate&&Oa(m.cm,m.update)}function Cs(m){var I=m.cm,W=I.display;m.updatedDisplay&&So(I),m.barMeasure=fo(I),W.maxLineChanged&&!I.options.lineWrapping&&(m.adjustWidthTo=Sn(I,W.maxLine,W.maxLine.text.length).left+3,I.display.sizerWidth=m.adjustWidthTo,m.barMeasure.scrollWidth=Math.max(W.scroller.clientWidth,W.sizer.offsetLeft+m.adjustWidthTo+Br(I)+I.display.barWidth),m.maxScrollLeft=Math.max(0,W.sizer.offsetLeft+m.adjustWidthTo-Dr(I))),(m.updatedDisplay||m.selectionChanged)&&(m.preparedSelection=W.input.prepareSelection())}function Ls(m){var I=m.cm;m.adjustWidthTo!=null&&(I.display.sizer.style.minWidth=m.adjustWidthTo+"px",m.maxScrollLeft<I.doc.scrollLeft&&go(I,Math.min(I.display.scroller.scrollLeft,m.maxScrollLeft),!0),I.display.maxLineChanged=!1);var W=m.focus&&m.focus==M();m.preparedSelection&&I.display.input.showSelection(m.preparedSelection,W),(m.updatedDisplay||m.startHeight!=I.doc.height)&&Ma(I,m.barMeasure),m.updatedDisplay&&rs(I,m.barMeasure),m.selectionChanged&&vi(I),I.state.focused&&m.updateInput&&I.display.input.reset(m.typing),W&&Qa(m.cm)}function Go(m){var I=m.cm,W=I.display,V=I.doc;if(m.updatedDisplay&&Io(I,m.update),W.wheelStartX!=null&&(m.scrollTop!=null||m.scrollLeft!=null||m.scrollToPos)&&(W.wheelStartX=W.wheelStartY=null),m.scrollTop!=null&&oo(I,m.scrollTop,m.forceScroll),m.scrollLeft!=null&&go(I,m.scrollLeft,!0,!0),m.scrollToPos){var q=ho(I,ze(V,m.scrollToPos.from),ze(V,m.scrollToPos.to),m.scrollToPos.margin);Ja(I,q)}var ve=m.maybeHiddenMarkers,Je=m.maybeUnhiddenMarkers;if(ve)for(var St=0;St<ve.length;++St)ve[St].lines.length||Pt(ve[St],"hide");if(Je)for(var Ut=0;Ut<Je.length;++Ut)Je[Ut].lines.length&&Pt(Je[Ut],"unhide");W.wrapper.offsetHeight&&(V.scrollTop=I.display.scroller.scrollTop),m.changeObjs&&Pt(I,"changes",I,m.changeObjs),m.update&&m.update.finish()}function bo(m,I){if(m.curOp)return I();$i(m);try{return I()}finally{xo(m)}}function $a(m,I){return function(){if(m.curOp)return I.apply(m,arguments);$i(m);try{return I.apply(m,arguments)}finally{xo(m)}}}function Ga(m){return function(){if(this.curOp)return m.apply(this,arguments);$i(this);try{return m.apply(this,arguments)}finally{xo(this)}}}function so(m){return function(){var I=this.cm;if(!I||I.curOp)return m.apply(this,arguments);$i(I);try{return m.apply(this,arguments)}finally{xo(I)}}}function ps(m,I){m.doc.highlightFrontier<m.display.viewTo&&m.state.highlight.set(I,H(wr,m))}function wr(m){var I=m.doc;if(I.highlightFrontier>=m.display.viewTo)return;var W=+new Date+m.options.workTime,V=Mt(m,I.highlightFrontier),q=[];I.iter(V.line,Math.min(I.first+I.size,m.display.viewTo+500),function(ve){if(V.line>=m.display.viewFrom){var Je=ve.styles,St=ve.text.length>m.options.maxHighlightLength?At(I.mode,V.state):null,Ut=ft(m,ve,V,!0);St&&(V.state=St),ve.styles=Ut.styles;var Wt=ve.styleClasses,Er=Ut.classes;Er?ve.styleClasses=Er:Wt&&(ve.styleClasses=null);for(var _r=!Je||Je.length!=ve.styles.length||Wt!=Er&&(!Wt||!Er||Wt.bgClass!=Er.bgClass||Wt.textClass!=Er.textClass),en=0;!_r&&en<Je.length;++en)_r=Je[en]!=ve.styles[en];_r&&q.push(V.line),ve.stateAfter=V.save(),V.nextLine()}else ve.text.length<=m.options.maxHighlightLength&&It(m,ve.text,V),ve.stateAfter=V.line%5==0?V.save():null,V.nextLine();if(+new Date>W)return ps(m,m.options.workDelay),!0}),I.highlightFrontier=V.line,I.modeFrontier=Math.max(I.modeFrontier,V.line),q.length&&bo(m,function(){for(var ve=0;ve<q.length;ve++)Ua(m,q[ve],"text")})}var Yo=function(I,W,V){var q=I.display;this.viewport=W,this.visible=ja(q,I.doc,W),this.editorIsHidden=!q.wrapper.offsetWidth,this.wrapperHeight=q.wrapper.clientHeight,this.wrapperWidth=q.wrapper.clientWidth,this.oldDisplayWidth=Dr(I),this.force=V,this.dims=Vi(I),this.events=[]};Yo.prototype.signal=function(m,I){$e(m,I)&&this.events.push(arguments)},Yo.prototype.finish=function(){for(var m=0;m<this.events.length;m++)Pt.apply(null,this.events[m])};function ss(m){var I=m.display;!I.scrollbarsClipped&&I.scroller.offsetWidth&&(I.nativeBarWidth=I.scroller.offsetWidth-I.scroller.clientWidth,I.heightForcer.style.height=Br(m)+"px",I.sizer.style.marginBottom=-I.nativeBarWidth+"px",I.sizer.style.borderRightWidth=Br(m)+"px",I.scrollbarsClipped=!0)}function Os(m){if(m.hasFocus())return null;var I=M();if(!I||!U(m.display.lineDiv,I))return null;var W={activeElt:I};if(window.getSelection){var V=window.getSelection();V.anchorNode&&V.extend&&U(m.display.lineDiv,V.anchorNode)&&(W.anchorNode=V.anchorNode,W.anchorOffset=V.anchorOffset,W.focusNode=V.focusNode,W.focusOffset=V.focusOffset)}return W}function Fa(m){if(!m||!m.activeElt||m.activeElt==M())return;if(m.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(m.activeElt.nodeName)&&m.anchorNode&&U(document.body,m.anchorNode)&&U(document.body,m.focusNode)){var I=window.getSelection(),W=document.createRange();W.setEnd(m.anchorNode,m.anchorOffset),W.collapse(!1),I.removeAllRanges(),I.addRange(W),I.extend(m.focusNode,m.focusOffset)}}function Oa(m,I){var W=m.display,V=m.doc;if(I.editorIsHidden)return Ba(m),!1;if(!I.force&&I.visible.from>=W.viewFrom&&I.visible.to<=W.viewTo&&(W.updateLineNumbers==null||W.updateLineNumbers>=W.viewTo)&&W.renderedView==W.view&&Ya(m)==0)return!1;ls(m)&&(Ba(m),I.dims=Vi(m));var q=V.first+V.size,ve=Math.max(I.visible.from-m.options.viewportMargin,V.first),Je=Math.min(q,I.visible.to+m.options.viewportMargin);W.viewFrom<ve&&ve-W.viewFrom<20&&(ve=Math.max(V.first,W.viewFrom)),W.viewTo>Je&&W.viewTo-Je<20&&(Je=Math.min(q,W.viewTo)),Xr&&(ve=Gn(m.doc,ve),Je=Ia(m.doc,Je));var St=ve!=W.viewFrom||Je!=W.viewTo||W.lastWrapHeight!=I.wrapperHeight||W.lastWrapWidth!=I.wrapperWidth;Qi(m,ve,Je),W.viewOffset=On($(m.doc,W.viewFrom)),m.display.mover.style.top=W.viewOffset+"px";var Ut=Ya(m);if(!St&&Ut==0&&!I.force&&W.renderedView==W.view&&(W.updateLineNumbers==null||W.updateLineNumbers>=W.viewTo))return!1;var Wt=Os(m);return Ut>4&&(W.lineDiv.style.display="none"),ts(m,W.updateLineNumbers,I.dims),Ut>4&&(W.lineDiv.style.display=""),W.renderedView=W.view,Fa(Wt),L(W.cursorDiv),L(W.selectionDiv),W.gutters.style.height=W.sizer.style.minHeight=0,St&&(W.lastWrapHeight=I.wrapperHeight,W.lastWrapWidth=I.wrapperWidth,ps(m,400)),W.updateLineNumbers=null,!0}function Io(m,I){for(var W=I.viewport,V=!0;;V=!1){if(!V||!m.options.lineWrapping||I.oldDisplayWidth==Dr(m)){if(W&&W.top!=null&&(W={top:Math.min(m.doc.height+ir(m.display)-rn(m),W.top)}),I.visible=ja(m.display,m.doc,W),I.visible.from>=m.display.viewFrom&&I.visible.to<=m.display.viewTo)break}else V&&(I.visible=ja(m.display,m.doc,W));if(!Oa(m,I))break;So(m);var q=fo(m);zi(m),Ma(m,q),rs(m,q),I.force=!1}I.signal(m,"update",m),(m.display.viewFrom!=m.display.reportedViewFrom||m.display.viewTo!=m.display.reportedViewTo)&&(I.signal(m,"viewportChange",m,m.display.viewFrom,m.display.viewTo),m.display.reportedViewFrom=m.display.viewFrom,m.display.reportedViewTo=m.display.viewTo)}function To(m,I){var W=new Yo(m,I);if(Oa(m,W)){So(m),Io(m,W);var V=fo(m);zi(m),Ma(m,V),rs(m,V),W.finish()}}function ts(m,I,W){var V=m.display,q=m.options.lineNumbers,ve=V.lineDiv,Je=ve.firstChild;function St(xn){var kn=xn.nextSibling;return r&&A&&m.display.currentWheelTarget==xn?xn.style.display="none":xn.parentNode.removeChild(xn),kn}for(var Ut=V.view,Wt=V.viewFrom,Er=0;Er<Ut.length;Er++){var _r=Ut[Er];if(!_r.hidden)if(!_r.node||_r.node.parentNode!=ve){var en=xr(m,_r,Wt,W);ve.insertBefore(en,Je)}else{for(;Je!=_r.node;)Je=St(Je);var nn=q&&I!=null&&I<=Wt&&_r.lineNumber;_r.changes&&(k(_r.changes,"gutter")>-1&&(nn=!1),Kr(m,_r,Wt,W)),nn&&(L(_r.lineNumber),_r.lineNumber.appendChild(document.createTextNode(Jt(m.options,Wt)))),Je=_r.node.nextSibling}Wt+=_r.size}for(;Je;)Je=St(Je)}function ko(m){var I=m.gutters.offsetWidth;m.sizer.style.marginLeft=I+"px"}function rs(m,I){m.display.sizer.style.minHeight=I.docHeight+"px",m.display.heightForcer.style.top=I.docHeight+"px",m.display.gutters.style.height=I.docHeight+m.display.barHeight+Br(m)+"px"}function ms(m){var I=m.display,W=I.view;if(!I.alignWidgets&&(!I.gutters.firstChild||!m.options.fixedGutter))return;for(var V=Yi(I)-I.scroller.scrollLeft+m.doc.scrollLeft,q=I.gutters.offsetWidth,ve=V+"px",Je=0;Je<W.length;Je++)if(!W[Je].hidden){m.options.fixedGutter&&(W[Je].gutter&&(W[Je].gutter.style.left=ve),W[Je].gutterBackground&&(W[Je].gutterBackground.style.left=ve));var St=W[Je].alignable;if(St)for(var Ut=0;Ut<St.length;Ut++)St[Ut].style.left=ve}m.options.fixedGutter&&(I.gutters.style.left=V+q+"px")}function ls(m){if(!m.options.lineNumbers)return!1;var I=m.doc,W=Jt(m.options,I.first+I.size-1),V=m.display;if(W.length!=V.lineNumChars){var q=V.measure.appendChild(D("div",[D("div",W)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ve=q.firstChild.offsetWidth,Je=q.offsetWidth-ve;return V.lineGutter.style.width="",V.lineNumInnerWidth=Math.max(ve,V.lineGutter.offsetWidth-Je)+1,V.lineNumWidth=V.lineNumInnerWidth+Je,V.lineNumChars=V.lineNumInnerWidth?W.length:-1,V.lineGutter.style.width=V.lineNumWidth+"px",ko(m.display),!0}return!1}function Ds(m,I){for(var W=[],V=!1,q=0;q<m.length;q++){var ve=m[q],Je=null;if(typeof ve!="string"&&(Je=ve.style,ve=ve.className),ve=="CodeMirror-linenumbers")if(I)V=!0;else continue;W.push({className:ve,style:Je})}return I&&!V&&W.push({className:"CodeMirror-linenumbers",style:null}),W}function Rs(m){var I=m.gutters,W=m.gutterSpecs;L(I),m.lineGutter=null;for(var V=0;V<W.length;++V){var q=W[V],ve=q.className,Je=q.style,St=I.appendChild(D("div",null,"CodeMirror-gutter "+ve));Je&&(St.style.cssText=Je),ve=="CodeMirror-linenumbers"&&(m.lineGutter=St,St.style.width=(m.lineNumWidth||1)+"px")}I.style.display=W.length?"":"none",ko(m)}function as(m){Rs(m.display),gi(m),ms(m)}function $s(m,I,W,V){var q=this;this.input=W,q.scrollbarFiller=D("div",null,"CodeMirror-scrollbar-filler"),q.scrollbarFiller.setAttribute("cm-not-content","true"),q.gutterFiller=D("div",null,"CodeMirror-gutter-filler"),q.gutterFiller.setAttribute("cm-not-content","true"),q.lineDiv=F("div",null,"CodeMirror-code"),q.selectionDiv=D("div",null,null,"position: relative; z-index: 1"),q.cursorDiv=D("div",null,"CodeMirror-cursors"),q.measure=D("div",null,"CodeMirror-measure"),q.lineMeasure=D("div",null,"CodeMirror-measure"),q.lineSpace=F("div",[q.measure,q.lineMeasure,q.selectionDiv,q.cursorDiv,q.lineDiv],null,"position: relative; outline: none");var ve=F("div",[q.lineSpace],"CodeMirror-lines");q.mover=D("div",[ve],null,"position: relative"),q.sizer=D("div",[q.mover],"CodeMirror-sizer"),q.sizerWidth=null,q.heightForcer=D("div",null,null,"position: absolute; height: "+Q+"px; width: 1px;"),q.gutters=D("div",null,"CodeMirror-gutters"),q.lineGutter=null,q.scroller=D("div",[q.sizer,q.heightForcer,q.gutters],"CodeMirror-scroll"),q.scroller.setAttribute("tabIndex","-1"),q.wrapper=D("div",[q.scrollbarFiller,q.gutterFiller,q.scroller],"CodeMirror"),f&&i<8&&(q.gutters.style.zIndex=-1,q.scroller.style.paddingRight=0),!r&&!(g&&h)&&(q.scroller.draggable=!0),m&&(m.appendChild?m.appendChild(q.wrapper):m(q.wrapper)),q.viewFrom=q.viewTo=I.first,q.reportedViewFrom=q.reportedViewTo=I.first,q.view=[],q.renderedView=null,q.externalMeasured=null,q.viewOffset=0,q.lastWrapHeight=q.lastWrapWidth=0,q.updateLineNumbers=null,q.nativeBarWidth=q.barHeight=q.barWidth=0,q.scrollbarsClipped=!1,q.lineNumWidth=q.lineNumInnerWidth=q.lineNumChars=null,q.alignWidgets=!1,q.cachedCharWidth=q.cachedTextHeight=q.cachedPaddingH=null,q.maxLine=null,q.maxLineLength=0,q.maxLineChanged=!1,q.wheelDX=q.wheelDY=q.wheelStartX=q.wheelStartY=null,q.shift=!1,q.selForContextMenu=null,q.activeTouch=null,q.gutterSpecs=Ds(V.gutters,V.lineNumbers),Rs(q),W.init(q)}var us=0,Bo=null;f?Bo=-.53:g?Bo=15:s?Bo=-.7:n&&(Bo=-1/3);function Rn(m){var I=m.wheelDeltaX,W=m.wheelDeltaY;return I==null&&m.detail&&m.axis==m.HORIZONTAL_AXIS&&(I=m.detail),W==null&&m.detail&&m.axis==m.VERTICAL_AXIS?W=m.detail:W==null&&(W=m.wheelDelta),{x:I,y:W}}function Vs(m){var I=Rn(m);return I.x*=Bo,I.y*=Bo,I}function Is(m,I){var W=Rn(I),V=W.x,q=W.y,ve=m.display,Je=ve.scroller,St=Je.scrollWidth>Je.clientWidth,Ut=Je.scrollHeight>Je.clientHeight;if(!(V&&St||q&&Ut))return;if(q&&A&&r){e:for(var Wt=I.target,Er=ve.view;Wt!=Je;Wt=Wt.parentNode)for(var _r=0;_r<Er.length;_r++)if(Er[_r].node==Wt){m.display.currentWheelTarget=Wt;break e}}if(V&&!g&&!l&&Bo!=null){q&&Ut&&Gi(m,Math.max(0,Je.scrollTop+q*Bo)),go(m,Math.max(0,Je.scrollLeft+V*Bo)),(!q||q&&Ut)&&et(I),ve.wheelStartX=null;return}if(q&&Bo!=null){var en=q*Bo,nn=m.doc.scrollTop,xn=nn+ve.wrapper.clientHeight;en<0?nn=Math.max(0,nn+en-50):xn=Math.min(m.doc.height,xn+en+50),To(m,{top:nn,bottom:xn})}us<20&&(ve.wheelStartX==null?(ve.wheelStartX=Je.scrollLeft,ve.wheelStartY=Je.scrollTop,ve.wheelDX=V,ve.wheelDY=q,setTimeout(function(){if(ve.wheelStartX==null)return;var kn=Je.scrollLeft-ve.wheelStartX,$n=Je.scrollTop-ve.wheelStartY,Zn=$n&&ve.wheelDY&&$n/ve.wheelDY||kn&&ve.wheelDX&&kn/ve.wheelDX;if(ve.wheelStartX=ve.wheelStartY=null,!Zn)return;Bo=(Bo*us+Zn)/(us+1),++us},200)):(ve.wheelDX+=V,ve.wheelDY+=q))}var Nt=function(I,W){this.ranges=I,this.primIndex=W};Nt.prototype.primary=function(){return this.ranges[this.primIndex]},Nt.prototype.equals=function(m){if(m==this)return!0;if(m.primIndex!=this.primIndex||m.ranges.length!=this.ranges.length)return!1;for(var I=0;I<this.ranges.length;I++){var W=this.ranges[I],V=m.ranges[I];if(!Kt(W.anchor,V.anchor)||!Kt(W.head,V.head))return!1}return!0},Nt.prototype.deepCopy=function(){for(var m=[],I=0;I<this.ranges.length;I++)m[I]=new re(Vt(this.ranges[I].anchor),Vt(this.ranges[I].head));return new Nt(m,this.primIndex)},Nt.prototype.somethingSelected=function(){for(var m=0;m<this.ranges.length;m++)if(!this.ranges[m].empty())return!0;return!1},Nt.prototype.contains=function(m,I){I||(I=m);for(var W=0;W<this.ranges.length;W++){var V=this.ranges[W];if(Ft(I,V.from())>=0&&Ft(m,V.to())<=0)return W}return-1};var re=function(I,W){this.anchor=I,this.head=W};re.prototype.from=function(){return ur(this.anchor,this.head)},re.prototype.to=function(){return Ot(this.anchor,this.head)},re.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ce(m,I,W){var V=m&&m.options.selectionsMayTouch,q=I[W];I.sort(function(en,nn){return Ft(en.from(),nn.from())}),W=k(I,q);for(var ve=1;ve<I.length;ve++){var Je=I[ve],St=I[ve-1],Ut=Ft(St.to(),Je.from());if(V&&!Je.empty()?Ut>0:Ut>=0){var Wt=ur(St.from(),Je.from()),Er=Ot(St.to(),Je.to()),_r=St.empty()?Je.from()==Je.head:St.from()==St.head;ve<=W&&--W,I.splice(--ve,2,new re(_r?Er:Wt,_r?Wt:Er))}}return new Nt(I,W)}function fe(m,I){return new Nt([new re(m,I||m)],0)}function Le(m){return m.text?Et(m.from.line+m.text.length-1,qe(m.text).length+(m.text.length==1?m.from.ch:0)):m.to}function st(m,I){if(Ft(m,I.from)<0)return m;if(Ft(m,I.to)<=0)return Le(I);var W=m.line+I.text.length-(I.to.line-I.from.line)-1,V=m.ch;return m.line==I.to.line&&(V+=Le(I).ch-I.to.ch),Et(W,V)}function Dt(m,I){for(var W=[],V=0;V<m.sel.ranges.length;V++){var q=m.sel.ranges[V];W.push(new re(st(q.anchor,I),st(q.head,I)))}return ce(m.cm,W,m.sel.primIndex)}function cr(m,I,W){return m.line==I.line?Et(W.line,m.ch-I.ch+W.ch):Et(W.line+(m.line-I.line),m.ch)}function mr(m,I,W){for(var V=[],q=Et(m.first,0),ve=q,Je=0;Je<I.length;Je++){var St=I[Je],Ut=cr(St.from,q,ve),Wt=cr(Le(St),q,ve);if(q=St.to,ve=Wt,W=="around"){var Er=m.sel.ranges[Je],_r=Ft(Er.head,Er.anchor)<0;V[Je]=new re(_r?Wt:Ut,_r?Ut:Wt)}else V[Je]=new re(Ut,Ut)}return new Nt(V,m.sel.primIndex)}function Rr(m){m.doc.mode=xe(m.options,m.doc.modeOption),qr(m)}function qr(m){m.doc.iter(function(I){I.stateAfter&&(I.stateAfter=null),I.styles&&(I.styles=null)}),m.doc.modeFrontier=m.doc.highlightFrontier=m.doc.first,ps(m,100),m.state.modeGen++,m.curOp&&gi(m)}function ln(m,I){return I.from.ch==0&&I.to.ch==0&&qe(I.text)==""&&(!m.cm||m.cm.options.wholeLineUpdateBefore)}function An(m,I,W,V){function q(oi){return W?W[oi]:null}function ve(oi,li,Ne){di(oi,li,Ne,V),Cr(oi,"change",oi,I)}function Je(oi,li){for(var Ne=[],G=oi;G<li;++G)Ne.push(new ni(Wt[G],q(G),V));return Ne}var St=I.from,Ut=I.to,Wt=I.text,Er=$(m,St.line),_r=$(m,Ut.line),en=qe(Wt),nn=q(Wt.length-1),xn=Ut.line-St.line;if(I.full)m.insert(0,Je(0,Wt.length)),m.remove(Wt.length,m.size-Wt.length);else if(ln(m,I)){var kn=Je(0,Wt.length-1);ve(_r,_r.text,nn),xn&&m.remove(St.line,xn),kn.length&&m.insert(St.line,kn)}else if(Er==_r)if(Wt.length==1)ve(Er,Er.text.slice(0,St.ch)+en+Er.text.slice(Ut.ch),nn);else{var $n=Je(1,Wt.length-1);$n.push(new ni(en+Er.text.slice(Ut.ch),nn,V)),ve(Er,Er.text.slice(0,St.ch)+Wt[0],q(0)),m.insert(St.line+1,$n)}else if(Wt.length==1)ve(Er,Er.text.slice(0,St.ch)+Wt[0]+_r.text.slice(Ut.ch),q(0)),m.remove(St.line+1,xn);else{ve(Er,Er.text.slice(0,St.ch)+Wt[0],q(0)),ve(_r,en+_r.text.slice(Ut.ch),nn);var Zn=Je(1,Wt.length-1);xn>1&&m.remove(St.line+1,xn-1),m.insert(St.line+1,Zn)}Cr(m,"change",m,I)}function Cn(m,I,W){function V(q,ve,Je){if(q.linked)for(var St=0;St<q.linked.length;++St){var Ut=q.linked[St];if(Ut.doc==ve)continue;var Wt=Je&&Ut.sharedHist;if(W&&!Wt)continue;I(Ut.doc,Wt),V(Ut.doc,q,Wt)}}V(m,null,!0)}function Xn(m,I){if(I.cm)throw new Error("This document is already in use.");m.doc=I,I.cm=m,ya(m),Rr(m),ti(m),m.options.lineWrapping||jn(m),m.options.mode=I.modeOption,gi(m)}function ti(m){(m.doc.direction=="rtl"?j:w)(m.display.lineDiv,"CodeMirror-rtl")}function wi(m){bo(m,function(){ti(m),gi(m)})}function ea(m){this.done=[],this.undone=[],this.undoDepth=Infinity,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=m||1}function ji(m,I){var W={from:Vt(I.from),to:Le(I),text:le(m,I.from,I.to)};return Fo(m,W,I.from.line,I.to.line+1),Cn(m,function(V){return Fo(V,W,I.from.line,I.to.line+1)},!0),W}function Sa(m){for(;m.length;){var I=qe(m);if(I.ranges)m.pop();else break}}function lo(m,I){if(I)return Sa(m.done),qe(m.done);if(m.done.length&&!qe(m.done).ranges)return qe(m.done);if(m.done.length>1&&!m.done[m.done.length-2].ranges)return m.done.pop(),qe(m.done)}function Ka(m,I,W,V){var q=m.history;q.undone.length=0;var ve=+new Date,Je,St;if((q.lastOp==V||q.lastOrigin==I.origin&&I.origin&&(I.origin.charAt(0)=="+"&&q.lastModTime>ve-(m.cm?m.cm.options.historyEventDelay:500)||I.origin.charAt(0)=="*"))&&(Je=lo(q,q.lastOp==V)))St=qe(Je.changes),Ft(I.from,I.to)==0&&Ft(I.from,St.to)==0?St.to=Le(I):Je.changes.push(ji(m,I));else{var Ut=qe(q.done);for((!Ut||!Ut.ranges)&&qa(m.sel,q.done),Je={changes:[ji(m,I)],generation:q.generation},q.done.push(Je);q.done.length>q.undoDepth;)q.done.shift(),q.done[0].ranges||q.done.shift()}q.done.push(W),q.generation=++q.maxGeneration,q.lastModTime=q.lastSelTime=ve,q.lastOp=q.lastSelOp=V,q.lastOrigin=q.lastSelOrigin=I.origin,St||Pt(m,"historyAdded")}function Ao(m,I,W,V){var q=I.charAt(0);return q=="*"||q=="+"&&W.ranges.length==V.ranges.length&&W.somethingSelected()==V.somethingSelected()&&new Date-m.history.lastSelTime<=(m.cm?m.cm.options.historyEventDelay:500)}function yo(m,I,W,V){var q=m.history,ve=V&&V.origin;W==q.lastSelOp||ve&&q.lastSelOrigin==ve&&(q.lastModTime==q.lastSelTime&&q.lastOrigin==ve||Ao(m,ve,qe(q.done),I))?q.done[q.done.length-1]=I:qa(I,q.done),q.lastSelTime=+new Date,q.lastSelOrigin=ve,q.lastSelOp=W,V&&V.clearRedo!==!1&&Sa(q.undone)}function qa(m,I){var W=qe(I);W&&W.ranges&&W.equals(m)||I.push(m)}function Fo(m,I,W,V){var q=I["spans_"+m.id],ve=0;m.iter(Math.max(m.first,W),Math.min(m.first+m.size,V),function(Je){Je.markedSpans&&((q||(q=I["spans_"+m.id]={}))[ve]=Je.markedSpans),++ve})}function Do(m){if(!m)return null;for(var I,W=0;W<m.length;++W)m[W].marker.explicitlyCleared?I||(I=m.slice(0,W)):I&&I.push(m[W]);return I?I.length?I:null:m}function Ha(m,I){var W=I["spans_"+m.id];if(!W)return null;for(var V=[],q=0;q<I.text.length;++q)V.push(Do(W[q]));return V}function jo(m,I){var W=Ha(m,I),V=Dn(m,I);if(!W)return V;if(!V)return W;for(var q=0;q<W.length;++q){var ve=W[q],Je=V[q];if(ve&&Je){e:for(var St=0;St<Je.length;++St){for(var Ut=Je[St],Wt=0;Wt<ve.length;++Wt)if(ve[Wt].marker==Ut.marker)continue e;ve.push(Ut)}}else Je&&(W[q]=Je)}return W}function Po(m,I,W){for(var V=[],q=0;q<m.length;++q){var ve=m[q];if(ve.ranges){V.push(W?Nt.prototype.deepCopy.call(ve):ve);continue}var Je=ve.changes,St=[];V.push({changes:St});for(var Ut=0;Ut<Je.length;++Ut){var Wt=Je[Ut],Er=void 0;if(St.push({from:Wt.from,to:Wt.to,text:Wt.text}),I)for(var _r in Wt)(Er=_r.match(/^spans_(\d+)$/))&&(k(I,Number(Er[1]))>-1&&(qe(St)[_r]=Wt[_r],delete Wt[_r]))}}return V}function Xo(m,I,W,V){if(V){var q=m.anchor;if(W){var ve=Ft(I,q)<0;ve!=Ft(W,q)<0?(q=I,I=W):ve!=Ft(I,W)<0&&(I=W)}return new re(q,I)}else return new re(W||I,I)}function wo(m,I,W,V,q){q==null&&(q=m.cm&&(m.cm.display.shift||m.extend)),Eo(m,new Nt([Xo(m.sel.primary(),I,W,q)],0),V)}function cs(m,I,W){for(var V=[],q=m.cm&&(m.cm.display.shift||m.extend),ve=0;ve<m.sel.ranges.length;ve++)V[ve]=Xo(m.sel.ranges[ve],I[ve],null,q);var Je=ce(m.cm,V,m.sel.primIndex);Eo(m,Je,W)}function ns(m,I,W,V){var q=m.sel.ranges.slice(0);q[I]=W,Eo(m,ce(m.cm,q,m.sel.primIndex),V)}function Ys(m,I,W,V){Eo(m,fe(I,W),V)}function Qs(m,I,W){var V={ranges:I.ranges,update:function(ve){this.ranges=[];for(var Je=0;Je<ve.length;Je++)this.ranges[Je]=new re(ze(m,ve[Je].anchor),ze(m,ve[Je].head))},origin:W&&W.origin};return Pt(m,"beforeSelectionChange",m,V),m.cm&&Pt(m.cm,"beforeSelectionChange",m.cm,V),V.ranges!=I.ranges?ce(m.cm,V.ranges,V.ranges.length-1):I}function Qo(m,I,W){var V=m.history.done,q=qe(V);q&&q.ranges?(V[V.length-1]=I,ds(m,I,W)):Eo(m,I,W)}function Eo(m,I,W){ds(m,I,W),yo(m,m.sel,m.cm?m.cm.curOp.id:NaN,W)}function ds(m,I,W){($e(m,"beforeSelectionChange")||m.cm&&$e(m.cm,"beforeSelectionChange"))&&(I=Qs(m,I,W));var V=W&&W.bias||(Ft(I.primary().head,m.sel.primary().head)<0?-1:1);hs(m,Ro(m,I,V,!0)),!(W&&W.scroll===!1)&&m.cm&&Ta(m.cm)}function hs(m,I){if(I.equals(m.sel))return;m.sel=I,m.cm&&(m.cm.curOp.updateInput=1,m.cm.curOp.selectionChanged=!0,Ye(m.cm)),Cr(m,"cursorActivity",m)}function Ms(m){hs(m,Ro(m,m.sel,null,!1))}function Ro(m,I,W,V){for(var q,ve=0;ve<I.ranges.length;ve++){var Je=I.ranges[ve],St=I.ranges.length==m.sel.ranges.length&&m.sel.ranges[ve],Ut=Bs(m,Je.anchor,St&&St.anchor,W,V),Wt=Bs(m,Je.head,St&&St.head,W,V);(q||Ut!=Je.anchor||Wt!=Je.head)&&(q||(q=I.ranges.slice(0,ve)),q[ve]=new re(Ut,Wt))}return q?ce(m.cm,q,I.primIndex):I}function As(m,I,W,V,q){var ve=$(m,I.line);if(ve.markedSpans)for(var Je=0;Je<ve.markedSpans.length;++Je){var St=ve.markedSpans[Je],Ut=St.marker,Wt="selectLeft"in Ut?!Ut.selectLeft:Ut.inclusiveLeft,Er="selectRight"in Ut?!Ut.selectRight:Ut.inclusiveRight;if((St.from==null||(Wt?St.from<=I.ch:St.from<I.ch))&&(St.to==null||(Er?St.to>=I.ch:St.to>I.ch))){if(q&&(Pt(Ut,"beforeCursorEnter"),Ut.explicitlyCleared))if(ve.markedSpans){--Je;continue}else break;if(!Ut.atomic)continue;if(W){var _r=Ut.find(V<0?1:-1),en=void 0;if((V<0?Er:Wt)&&(_r=ys(m,_r,-V,_r&&_r.line==I.line?ve:null)),_r&&_r.line==I.line&&(en=Ft(_r,W))&&(V<0?en<0:en>0))return As(m,_r,I,V,q)}var nn=Ut.find(V<0?-1:1);return(V<0?Wt:Er)&&(nn=ys(m,nn,V,nn.line==I.line?ve:null)),nn?As(m,nn,I,V,q):null}}return I}function Bs(m,I,W,V,q){var ve=V||1,Je=As(m,I,W,ve,q)||!q&&As(m,I,W,ve,!0)||As(m,I,W,-ve,q)||!q&&As(m,I,W,-ve,!0);return Je||(m.cantEdit=!0,Et(m.first,0))}function ys(m,I,W,V){return W<0&&I.ch==0?I.line>m.first?ze(m,Et(I.line-1)):null:W>0&&I.ch==(V||$(m,I.line)).text.length?I.line<m.first+m.size-1?Et(I.line+1,0):null:new Et(I.line,I.ch+W)}function Fs(m){m.setSelection(Et(m.firstLine(),0),Et(m.lastLine()),he)}function Hs(m,I,W){var V={canceled:!1,from:I.from,to:I.to,text:I.text,origin:I.origin,cancel:function(){return V.canceled=!0}};return W&&(V.update=function(q,ve,Je,St){q&&(V.from=ze(m,q)),ve&&(V.to=ze(m,ve)),Je&&(V.text=Je),St!==void 0&&(V.origin=St)}),Pt(m,"beforeChange",m,V),m.cm&&Pt(m.cm,"beforeChange",m.cm,V),V.canceled?(m.cm&&(m.cm.curOp.updateInput=2),null):{from:V.from,to:V.to,text:V.text,origin:V.origin}}function bs(m,I,W){if(m.cm){if(!m.cm.curOp)return $a(m.cm,bs)(m,I,W);if(m.cm.state.suppressEdits)return}if(($e(m,"beforeChange")||m.cm&&$e(m.cm,"beforeChange"))&&(I=Hs(m,I,!0),!I))return;var V=Lr&&!W&&Ln(m,I.from,I.to);if(V)for(var q=V.length-1;q>=0;--q)ca(m,{from:V[q].from,to:V[q].to,text:q?[""]:I.text,origin:I.origin});else ca(m,I)}function ca(m,I){if(I.text.length==1&&I.text[0]==""&&Ft(I.from,I.to)==0)return;var W=Dt(m,I);Ka(m,I,W,m.cm?m.cm.curOp.id:NaN),Kn(m,I,W,Dn(m,I));var V=[];Cn(m,function(q,ve){!ve&&k(V,q.history)==-1&&($o(q.history,I),V.push(q.history)),Kn(q,I,null,Dn(q,I))})}function ci(m,I,W){var V=m.cm&&m.cm.state.suppressEdits;if(V&&!W)return;for(var q=m.history,ve,Je=m.sel,St=I=="undo"?q.done:q.undone,Ut=I=="undo"?q.undone:q.done,Wt=0;Wt<St.length&&!(ve=St[Wt],W?ve.ranges&&!ve.equals(m.sel):!ve.ranges);Wt++);if(Wt==St.length)return;for(q.lastOrigin=q.lastSelOrigin=null;;)if(ve=St.pop(),ve.ranges){if(qa(ve,Ut),W&&!ve.equals(m.sel)){Eo(m,ve,{clearRedo:!1});return}Je=ve}else if(V){St.push(ve);return}else break;var Er=[];qa(Je,Ut),Ut.push({changes:Er,generation:q.generation}),q.generation=ve.generation||++q.maxGeneration;for(var _r=$e(m,"beforeChange")||m.cm&&$e(m.cm,"beforeChange"),en=function($n){var Zn=ve.changes[$n];if(Zn.origin=I,_r&&!Hs(m,Zn,!1))return St.length=0,{};Er.push(ji(m,Zn));var oi=$n?Dt(m,Zn):qe(St);Kn(m,Zn,oi,jo(m,Zn)),!$n&&m.cm&&m.cm.scrollIntoView({from:Zn.from,to:Le(Zn)});var li=[];Cn(m,function(Ne,G){!G&&k(li,Ne.history)==-1&&($o(Ne.history,Zn),li.push(Ne.history)),Kn(Ne,Zn,null,jo(Ne,Zn))})},nn=ve.changes.length-1;nn>=0;--nn){var xn=en(nn);if(xn)return xn.v}}function ki(m,I){if(I==0)return;if(m.first+=I,m.sel=new Nt(yt(m.sel.ranges,function(q){return new re(Et(q.anchor.line+I,q.anchor.ch),Et(q.head.line+I,q.head.ch))}),m.sel.primIndex),m.cm){gi(m.cm,m.first,m.first-I,I);for(var W=m.cm.display,V=W.viewFrom;V<W.viewTo;V++)Ua(m.cm,V,"gutter")}}function Kn(m,I,W,V){if(m.cm&&!m.cm.curOp)return $a(m.cm,Kn)(m,I,W,V);if(I.to.line<m.first){ki(m,I.text.length-1-(I.to.line-I.from.line));return}if(I.from.line>m.lastLine())return;if(I.from.line<m.first){var q=I.text.length-1-(m.first-I.from.line);ki(m,q),I={from:Et(m.first,0),to:Et(I.to.line+q,I.to.ch),text:[qe(I.text)],origin:I.origin}}var ve=m.lastLine();I.to.line>ve&&(I={from:I.from,to:Et(ve,$(m,ve).text.length),text:[I.text[0]],origin:I.origin}),I.removed=le(m,I.from,I.to),W||(W=Dt(m,I)),m.cm?io(m.cm,I,V):An(m,I,V),ds(m,W,he),m.cantEdit&&Bs(m,Et(m.firstLine(),0))&&(m.cantEdit=!1)}function io(m,I,W){var V=m.doc,q=m.display,ve=I.from,Je=I.to,St=!1,Ut=ve.line;m.options.lineWrapping||(Ut=Me(ta($(V,ve.line))),V.iter(Ut,Je.line+1,function(nn){if(nn==q.maxLine)return St=!0,!0})),V.sel.contains(I.from,I.to)>-1&&Ye(m),An(V,I,W,bi(m)),m.options.lineWrapping||(V.iter(Ut,ve.line+I.text.length,function(nn){var xn=Nn(nn);xn>q.maxLineLength&&(q.maxLine=nn,q.maxLineLength=xn,q.maxLineChanged=!0,St=!1)}),St&&(m.curOp.updateMaxLine=!0)),Jr(V,ve.line),ps(m,400);var Wt=I.text.length-(Je.line-ve.line)-1;I.full?gi(m):ve.line==Je.line&&I.text.length==1&&!ln(m.doc,I)?Ua(m,ve.line,"text"):gi(m,ve.line,Je.line+1,Wt);var Er=$e(m,"changes"),_r=$e(m,"change");if(_r||Er){var en={from:ve,to:Je,text:I.text,removed:I.removed,origin:I.origin};_r&&Cr(m,"change",m,en),Er&&(m.curOp.changeObjs||(m.curOp.changeObjs=[])).push(en)}m.display.selForContextMenu=null}function Jo(m,I,W,V,q){var ve;V||(V=W),Ft(V,W)<0&&(ve=[V,W],W=ve[0],V=ve[1]),typeof I=="string"&&(I=m.splitLines(I)),bs(m,{from:W,to:V,text:I,origin:q})}function gs(m,I,W,V){W<m.line?m.line+=V:I<m.line&&(m.line=I,m.ch=0)}function os(m,I,W,V){for(var q=0;q<m.length;++q){var ve=m[q],Je=!0;if(ve.ranges){ve.copied||(ve=m[q]=ve.deepCopy(),ve.copied=!0);for(var St=0;St<ve.ranges.length;St++)gs(ve.ranges[St].anchor,I,W,V),gs(ve.ranges[St].head,I,W,V);continue}for(var Ut=0;Ut<ve.changes.length;++Ut){var Wt=ve.changes[Ut];if(W<Wt.from.line)Wt.from=Et(Wt.from.line+V,Wt.from.ch),Wt.to=Et(Wt.to.line+V,Wt.to.ch);else if(I<=Wt.to.line){Je=!1;break}}Je||(m.splice(0,q+1),q=0)}}function $o(m,I){var W=I.from.line,V=I.to.line,q=I.text.length-(V-W)-1;os(m.done,W,V,q),os(m.undone,W,V,q)}function qo(m,I,W,V){var q=I,ve=I;return typeof I=="number"?ve=$(m,Zt(m,I)):q=Me(I),q==null?null:(V(ve,q)&&m.cm&&Ua(m.cm,q,W),ve)}function ws(m){this.lines=m,this.parent=null;for(var I=0,W=0;W<m.length;++W)m[W].parent=this,I+=m[W].height;this.height=I}ws.prototype={chunkSize:function(){return this.lines.length},removeInner:function(I,W){for(var V=I,q=I+W;V<q;++V){var ve=this.lines[V];this.height-=ve.height,Da(ve),Cr(ve,"delete")}this.lines.splice(I,W)},collapse:function(I){I.push.apply(I,this.lines)},insertInner:function(I,W,V){this.height+=V,this.lines=this.lines.slice(0,I).concat(W).concat(this.lines.slice(I));for(var q=0;q<W.length;++q)W[q].parent=this},iterN:function(I,W,V){for(var q=I+W;I<q;++I)if(V(this.lines[I]))return!0}};function Ho(m){this.children=m;for(var I=0,W=0,V=0;V<m.length;++V){var q=m[V];I+=q.chunkSize(),W+=q.height,q.parent=this}this.size=I,this.height=W,this.parent=null}Ho.prototype={chunkSize:function(){return this.size},removeInner:function(I,W){this.size-=W;for(var V=0;V<this.children.length;++V){var q=this.children[V],ve=q.chunkSize();if(I<ve){var Je=Math.min(W,ve-I),St=q.height;if(q.removeInner(I,Je),this.height-=St-q.height,ve==Je&&(this.children.splice(V--,1),q.parent=null),(W-=Je)==0)break;I=0}else I-=ve}if(this.size-W<25&&(this.children.length>1||!(this.children[0]instanceof ws))){var Ut=[];this.collapse(Ut),this.children=[new ws(Ut)],this.children[0].parent=this}},collapse:function(I){for(var W=0;W<this.children.length;++W)this.children[W].collapse(I)},insertInner:function(I,W,V){this.size+=W.length,this.height+=V;for(var q=0;q<this.children.length;++q){var ve=this.children[q],Je=ve.chunkSize();if(I<=Je){if(ve.insertInner(I,W,V),ve.lines&&ve.lines.length>50){for(var St=ve.lines.length%25+25,Ut=St;Ut<ve.lines.length;){var Wt=new ws(ve.lines.slice(Ut,Ut+=25));ve.height-=Wt.height,this.children.splice(++q,0,Wt),Wt.parent=this}ve.lines=ve.lines.slice(0,St),this.maybeSpill()}break}I-=Je}},maybeSpill:function(){if(this.children.length<=10)return;var I=this;do{var W=I.children.splice(I.children.length-5,5),V=new Ho(W);if(I.parent){I.size-=V.size,I.height-=V.height;var ve=k(I.parent.children,I);I.parent.children.splice(ve+1,0,V)}else{var q=new Ho(I.children);q.parent=I,I.children=[q,V],I=q}V.parent=I.parent}while(I.children.length>10);I.parent.maybeSpill()},iterN:function(I,W,V){for(var q=0;q<this.children.length;++q){var ve=this.children[q],Je=ve.chunkSize();if(I<Je){var St=Math.min(W,Je-I);if(ve.iterN(I,St,V))return!0;if((W-=St)==0)break;I=0}else I-=Je}}};var sl=function(I,W,V){if(V)for(var q in V)V.hasOwnProperty(q)&&(this[q]=V[q]);this.doc=I,this.node=W};sl.prototype.clear=function(){var m=this.doc.cm,I=this.line.widgets,W=this.line,V=Me(W);if(V==null||!I)return;for(var q=0;q<I.length;++q)I[q]==this&&I.splice(q--,1);I.length||(W.widgets=null);var ve=an(this);Ae(W,Math.max(0,W.height-ve)),m&&(bo(m,function(){_l(m,W,-ve),Ua(m,V,"widget")}),Cr(m,"lineWidgetCleared",m,this,V))},sl.prototype.changed=function(){var m=this,I=this.height,W=this.doc.cm,V=this.line;this.height=null;var q=an(this)-I;if(!q)return;mn(this.doc,V)||Ae(V,V.height+q),W&&bo(W,function(){W.curOp.forceUpdate=!0,_l(W,V,q),Cr(W,"lineWidgetChanged",W,m,Me(V))})},ut(sl);function _l(m,I,W){On(I)<(m.curOp&&m.curOp.scrollTop||m.doc.scrollTop)&&Oo(m,W)}function ll(m,I,W,V){var q=new sl(m,W,V),ve=m.cm;return ve&&q.noHScroll&&(ve.display.alignWidgets=!0),qo(m,I,"widget",function(Je){var St=Je.widgets||(Je.widgets=[]);if(q.insertAt==null?St.push(q):St.splice(Math.min(St.length-1,Math.max(0,q.insertAt)),0,q),q.line=Je,ve&&!mn(m,Je)){var Ut=On(Je)<m.scrollTop;Ae(Je,Je.height+an(q)),Ut&&Oo(ve,q.height),ve.curOp.forceUpdate=!0}return!0}),ve&&Cr(ve,"lineWidgetAdded",ve,q,typeof I=="number"?I:Me(I)),q}var Nl=0,Ts=function(I,W){this.lines=[],this.type=W,this.doc=I,this.id=++Nl};Ts.prototype.clear=function(){if(this.explicitlyCleared)return;var m=this.doc.cm,I=m&&!m.curOp;if(I&&$i(m),$e(this,"clear")){var W=this.find();W&&Cr(this,"clear",W.from,W.to)}for(var V=null,q=null,ve=0;ve<this.lines.length;++ve){var Je=this.lines[ve],St=sr(Je.markedSpans,this);m&&!this.collapsed?Ua(m,Me(Je),"text"):m&&(St.to!=null&&(q=Me(Je)),St.from!=null&&(V=Me(Je))),Je.markedSpans=dr(Je.markedSpans,St),St.from==null&&this.collapsed&&!mn(this.doc,Je)&&m&&Ae(Je,yi(m.display))}if(m&&this.collapsed&&!m.options.lineWrapping)for(var Ut=0;Ut<this.lines.length;++Ut){var Wt=ta(this.lines[Ut]),Er=Nn(Wt);Er>m.display.maxLineLength&&(m.display.maxLine=Wt,m.display.maxLineLength=Er,m.display.maxLineChanged=!0)}V!=null&&m&&this.collapsed&&gi(m,V,q+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,m&&Ms(m.doc)),m&&Cr(m,"markerCleared",m,this,V,q),I&&xo(m),this.parent&&this.parent.clear()},Ts.prototype.find=function(m,I){m==null&&this.type=="bookmark"&&(m=1);for(var W,V,q=0;q<this.lines.length;++q){var ve=this.lines[q],Je=sr(ve.markedSpans,this);if(Je.from!=null&&(W=Et(I?ve:Me(ve),Je.from),m==-1))return W;if(Je.to!=null&&(V=Et(I?ve:Me(ve),Je.to),m==1))return V}return W&&{from:W,to:V}},Ts.prototype.changed=function(){var m=this,I=this.find(-1,!0),W=this,V=this.doc.cm;if(!I||!V)return;bo(V,function(){var q=I.line,ve=Me(I.line),Je=bn(V,ve);if(Je&&(ri(Je),V.curOp.selectionChanged=V.curOp.forceUpdate=!0),V.curOp.updateMaxLine=!0,!mn(W.doc,q)&&W.height!=null){var St=W.height;W.height=null;var Ut=an(W)-St;Ut&&Ae(q,q.height+Ut)}Cr(V,"markerChanged",V,m)})},Ts.prototype.attachLine=function(m){if(!this.lines.length&&this.doc.cm){var I=this.doc.cm.curOp;(!I.maybeHiddenMarkers||k(I.maybeHiddenMarkers,this)==-1)&&(I.maybeUnhiddenMarkers||(I.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(m)},Ts.prototype.detachLine=function(m){if(this.lines.splice(k(this.lines,m),1),!this.lines.length&&this.doc.cm){var I=this.doc.cm.curOp;(I.maybeHiddenMarkers||(I.maybeHiddenMarkers=[])).push(this)}},ut(Ts);function Gs(m,I,W,V,q){if(V&&V.shared)return jl(m,I,W,V,q);if(m.cm&&!m.cm.curOp)return $a(m.cm,Gs)(m,I,W,V,q);var ve=new Ts(m,q),Je=Ft(I,W);if(V&&_(V,ve,!1),Je>0||Je==0&&ve.clearWhenEmpty!==!1)return ve;if(ve.replacedWith&&(ve.collapsed=!0,ve.widgetNode=F("span",[ve.replacedWith],"CodeMirror-widget"),V.handleMouseEvents||ve.widgetNode.setAttribute("cm-ignore-events","true"),V.insertLeft&&(ve.widgetNode.insertLeft=!0)),ve.collapsed){if(xa(m,I.line,I,W,ve)||I.line!=W.line&&xa(m,W.line,I,W,ve))throw new Error("Inserting collapsed marker partially overlapping an existing one");lr()}ve.addToHistory&&Ka(m,{from:I,to:W,origin:"markText"},m.sel,NaN);var St=I.line,Ut=m.cm,Wt;if(m.iter(St,W.line+1,function(_r){Ut&&ve.collapsed&&!Ut.options.lineWrapping&&ta(_r)==Ut.display.maxLine&&(Wt=!0),ve.collapsed&&St!=I.line&&Ae(_r,0),Sr(_r,new fr(ve,St==I.line?I.ch:null,St==W.line?W.ch:null)),++St}),ve.collapsed&&m.iter(I.line,W.line+1,function(_r){mn(m,_r)&&Ae(_r,0)}),ve.clearOnEnter&&Ue(ve,"beforeCursorEnter",function(){return ve.clear()}),ve.readOnly&&(Tr(),(m.history.done.length||m.history.undone.length)&&m.clearHistory()),ve.collapsed&&(ve.id=++Nl,ve.atomic=!0),Ut){if(Wt&&(Ut.curOp.updateMaxLine=!0),ve.collapsed)gi(Ut,I.line,W.line+1);else if(ve.className||ve.startStyle||ve.endStyle||ve.css||ve.attributes||ve.title)for(var Er=I.line;Er<=W.line;Er++)Ua(Ut,Er,"text");ve.atomic&&Ms(Ut.doc),Cr(Ut,"markerAdded",Ut,ve)}return ve}var qs=function(I,W){this.markers=I,this.primary=W;for(var V=0;V<I.length;++V)I[V].parent=this};qs.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var m=0;m<this.markers.length;++m)this.markers[m].clear();Cr(this,"clear")},qs.prototype.find=function(m,I){return this.primary.find(m,I)},ut(qs);function jl(m,I,W,V,q){V=_(V),V.shared=!1;var ve=[Gs(m,I,W,V,q)],Je=ve[0],St=V.widgetNode;return Cn(m,function(Ut){St&&(V.widgetNode=St.cloneNode(!0)),ve.push(Gs(Ut,ze(Ut,I),ze(Ut,W),V,q));for(var Wt=0;Wt<Ut.linked.length;++Wt)if(Ut.linked[Wt].isParent)return;Je=qe(ve)}),new qs(ve,Je)}function Hl(m){return m.findMarks(Et(m.first,0),m.clipPos(Et(m.lastLine())),function(I){return I.parent})}function Dl(m,I){for(var W=0;W<I.length;W++){var V=I[W],q=V.find(),ve=m.clipPos(q.from),Je=m.clipPos(q.to);if(Ft(ve,Je)){var St=Gs(m,ve,Je,V.primary,V.primary.type);V.markers.push(St),St.parent=V}}}function ru(m){for(var I=function(q){var ve=m[q],Je=[ve.primary.doc];Cn(ve.primary.doc,function(Wt){return Je.push(Wt)});for(var St=0;St<ve.markers.length;St++){var Ut=ve.markers[St];k(Je,Ut.doc)==-1&&(Ut.parent=null,ve.markers.splice(St--,1))}},W=0;W<m.length;W++)I(W)}var nu=0,es=function m(I,W,V,q,ve){if(!(this instanceof m))return new m(I,W,V,q,ve);V==null&&(V=0),Ho.call(this,[new ws([new ni("",null)])]),this.first=V,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=V;var Je=Et(V,0);this.sel=fe(Je),this.history=new ea(null),this.id=++nu,this.modeOption=W,this.lineSep=q,this.direction=ve=="rtl"?"rtl":"ltr",this.extend=!1,typeof I=="string"&&(I=this.splitLines(I)),An(this,{from:Je,to:Je,text:I}),Eo(this,fe(Je),he)};es.prototype=Ct(Ho.prototype,{constructor:es,iter:function(I,W,V){V?this.iterN(I-this.first,W-I,V):this.iterN(this.first,this.first+this.size,I)},insert:function(I,W){for(var V=0,q=0;q<W.length;++q)V+=W[q].height;this.insertInner(I-this.first,W,V)},remove:function(I,W){this.removeInner(I-this.first,W)},getValue:function(I){var W=ge(this,this.first,this.first+this.size);return I===!1?W:W.join(I||this.lineSeparator())},setValue:so(function(m){var I=Et(this.first,0),W=this.first+this.size-1;bs(this,{from:I,to:Et(W,$(this,W).text.length),text:this.splitLines(m),origin:"setValue",full:!0},!0),this.cm&&Fi(this.cm,0,0),Eo(this,fe(I),he)}),replaceRange:function(I,W,V,q){W=ze(this,W),V=V?ze(this,V):W,Jo(this,I,W,V,q)},getRange:function(I,W,V){var q=le(this,ze(this,I),ze(this,W));return V===!1?q:q.join(V||this.lineSeparator())},getLine:function(I){var W=this.getLineHandle(I);return W&&W.text},getLineHandle:function(I){if(kt(this,I))return $(this,I)},getLineNumber:function(I){return Me(I)},getLineHandleVisualStart:function(I){return typeof I=="number"&&(I=$(this,I)),ta(I)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(I){return ze(this,I)},getCursor:function(I){var W=this.sel.primary(),V;return I==null||I=="head"?V=W.head:I=="anchor"?V=W.anchor:I=="end"||I=="to"||I===!1?V=W.to():V=W.from(),V},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:so(function(m,I,W){Ys(this,ze(this,typeof m=="number"?Et(m,I||0):m),null,W)}),setSelection:so(function(m,I,W){Ys(this,ze(this,m),ze(this,I||m),W)}),extendSelection:so(function(m,I,W){wo(this,ze(this,m),I&&ze(this,I),W)}),extendSelections:so(function(m,I){cs(this,Ve(this,m),I)}),extendSelectionsBy:so(function(m,I){var W=yt(this.sel.ranges,m);cs(this,Ve(this,W),I)}),setSelections:so(function(m,I,W){if(!m.length)return;for(var V=[],q=0;q<m.length;q++)V[q]=new re(ze(this,m[q].anchor),ze(this,m[q].head));I==null&&(I=Math.min(m.length-1,this.sel.primIndex)),Eo(this,ce(this.cm,V,I),W)}),addSelection:so(function(m,I,W){var V=this.sel.ranges.slice(0);V.push(new re(ze(this,m),ze(this,I||m))),Eo(this,ce(this.cm,V,V.length-1),W)}),getSelection:function(I){for(var W=this.sel.ranges,V,q=0;q<W.length;q++){var ve=le(this,W[q].from(),W[q].to());V=V?V.concat(ve):ve}return I===!1?V:V.join(I||this.lineSeparator())},getSelections:function(I){for(var W=[],V=this.sel.ranges,q=0;q<V.length;q++){var ve=le(this,V[q].from(),V[q].to());I!==!1&&(ve=ve.join(I||this.lineSeparator())),W[q]=ve}return W},replaceSelection:function(I,W,V){for(var q=[],ve=0;ve<this.sel.ranges.length;ve++)q[ve]=I;this.replaceSelections(q,W,V||"+input")},replaceSelections:so(function(m,I,W){for(var V=[],q=this.sel,ve=0;ve<q.ranges.length;ve++){var Je=q.ranges[ve];V[ve]={from:Je.from(),to:Je.to(),text:this.splitLines(m[ve]),origin:W}}for(var St=I&&I!="end"&&mr(this,V,I),Ut=V.length-1;Ut>=0;Ut--)bs(this,V[Ut]);St?Qo(this,St):this.cm&&Ta(this.cm)}),undo:so(function(){ci(this,"undo")}),redo:so(function(){ci(this,"redo")}),undoSelection:so(function(){ci(this,"undo",!0)}),redoSelection:so(function(){ci(this,"redo",!0)}),setExtending:function(I){this.extend=I},getExtending:function(){return this.extend},historySize:function(){for(var I=this.history,W=0,V=0,q=0;q<I.done.length;q++)I.done[q].ranges||++W;for(var ve=0;ve<I.undone.length;ve++)I.undone[ve].ranges||++V;return{undo:W,redo:V}},clearHistory:function(){var I=this;this.history=new ea(this.history.maxGeneration),Cn(this,function(W){return W.history=I.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(I){return I&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(I){return this.history.generation==(I||this.cleanGeneration)},getHistory:function(){return{done:Po(this.history.done),undone:Po(this.history.undone)}},setHistory:function(I){var W=this.history=new ea(this.history.maxGeneration);W.done=Po(I.done.slice(0),null,!0),W.undone=Po(I.undone.slice(0),null,!0)},setGutterMarker:so(function(m,I,W){return qo(this,m,"gutter",function(V){var q=V.gutterMarkers||(V.gutterMarkers={});return q[I]=W,!W&&dt(q)&&(V.gutterMarkers=null),!0})}),clearGutter:so(function(m){var I=this;this.iter(function(W){W.gutterMarkers&&W.gutterMarkers[m]&&qo(I,W,"gutter",function(){return W.gutterMarkers[m]=null,dt(W.gutterMarkers)&&(W.gutterMarkers=null),!0})})}),lineInfo:function(I){var W;if(typeof I=="number"){if(!kt(this,I))return null;if(W=I,I=$(this,I),!I)return null}else if(W=Me(I),W==null)return null;return{line:W,handle:I,text:I.text,gutterMarkers:I.gutterMarkers,textClass:I.textClass,bgClass:I.bgClass,wrapClass:I.wrapClass,widgets:I.widgets}},addLineClass:so(function(m,I,W){return qo(this,m,I=="gutter"?"gutter":"class",function(V){var q=I=="text"?"textClass":I=="background"?"bgClass":I=="gutter"?"gutterClass":"wrapClass";if(!V[q])V[q]=W;else{if(T(W).test(V[q]))return!1;V[q]+=" "+W}return!0})}),removeLineClass:so(function(m,I,W){return qo(this,m,I=="gutter"?"gutter":"class",function(V){var q=I=="text"?"textClass":I=="background"?"bgClass":I=="gutter"?"gutterClass":"wrapClass",ve=V[q];if(ve)if(W==null)V[q]=null;else{var Je=ve.match(T(W));if(!Je)return!1;var St=Je.index+Je[0].length;V[q]=ve.slice(0,Je.index)+(!Je.index||St==ve.length?"":" ")+ve.slice(St)||null}else return!1;return!0})}),addLineWidget:so(function(m,I,W){return ll(this,m,I,W)}),removeLineWidget:function(I){I.clear()},markText:function(I,W,V){return Gs(this,ze(this,I),ze(this,W),V,V&&V.type||"range")},setBookmark:function(I,W){var V={replacedWith:W&&(W.nodeType==null?W.widget:W),insertLeft:W&&W.insertLeft,clearWhenEmpty:!1,shared:W&&W.shared,handleMouseEvents:W&&W.handleMouseEvents};return I=ze(this,I),Gs(this,I,I,V,"bookmark")},findMarksAt:function(I){I=ze(this,I);var W=[],V=$(this,I.line).markedSpans;if(V)for(var q=0;q<V.length;++q){var ve=V[q];(ve.from==null||ve.from<=I.ch)&&(ve.to==null||ve.to>=I.ch)&&W.push(ve.marker.parent||ve.marker)}return W},findMarks:function(I,W,V){I=ze(this,I),W=ze(this,W);var q=[],ve=I.line;return this.iter(I.line,W.line+1,function(Je){var St=Je.markedSpans;if(St)for(var Ut=0;Ut<St.length;Ut++){var Wt=St[Ut];!(Wt.to!=null&&ve==I.line&&I.ch>=Wt.to||Wt.from==null&&ve!=I.line||Wt.from!=null&&ve==W.line&&Wt.from>=W.ch)&&(!V||V(Wt.marker))&&q.push(Wt.marker.parent||Wt.marker)}++ve}),q},getAllMarks:function(){var I=[];return this.iter(function(W){var V=W.markedSpans;if(V)for(var q=0;q<V.length;++q)V[q].from!=null&&I.push(V[q].marker)}),I},posFromIndex:function(I){var W,V=this.first,q=this.lineSeparator().length;return this.iter(function(ve){var Je=ve.text.length+q;if(Je>I)return W=I,!0;I-=Je,++V}),ze(this,Et(V,W))},indexFromPos:function(I){I=ze(this,I);var W=I.ch;if(I.line<this.first||I.ch<0)return 0;var V=this.lineSeparator().length;return this.iter(this.first,I.line,function(q){W+=q.text.length+V}),W},copy:function(I){var W=new es(ge(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return W.scrollTop=this.scrollTop,W.scrollLeft=this.scrollLeft,W.sel=this.sel,W.extend=!1,I&&(W.history.undoDepth=this.history.undoDepth,W.setHistory(this.getHistory())),W},linkedDoc:function(I){I||(I={});var W=this.first,V=this.first+this.size;I.from!=null&&I.from>W&&(W=I.from),I.to!=null&&I.to<V&&(V=I.to);var q=new es(ge(this,W,V),I.mode||this.modeOption,W,this.lineSep,this.direction);return I.sharedHist&&(q.history=this.history),(this.linked||(this.linked=[])).push({doc:q,sharedHist:I.sharedHist}),q.linked=[{doc:this,isParent:!0,sharedHist:I.sharedHist}],Dl(q,Hl(this)),q},unlinkDoc:function(I){if(I instanceof He&&(I=I.doc),this.linked)for(var W=0;W<this.linked.length;++W){var V=this.linked[W];if(V.doc!=I)continue;this.linked.splice(W,1),I.unlinkDoc(this),ru(Hl(this));break}if(I.history==this.history){var q=[I.id];Cn(I,function(ve){return q.push(ve.id)},!0),I.history=new ea(null),I.history.done=Po(this.history.done,q),I.history.undone=Po(this.history.undone,q)}},iterLinkedDocs:function(I){Cn(this,I)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(I){return this.lineSep?I.split(this.lineSep):hr(I)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:so(function(m){if(m!="rtl"&&(m="ltr"),m==this.direction)return;this.direction=m,this.iter(function(I){return I.order=null}),this.cm&&wi(this.cm)})}),es.prototype.eachLine=es.prototype.iter;var el=0;function iu(m){var I=this;if(yl(I),Ke(I,m)||rt(I.display,m))return;et(m),f&&(el=+new Date);var W=ua(I,m,!0),V=m.dataTransfer.files;if(!W||I.isReadOnly())return;if(V&&V.length&&window.FileReader&&window.File)for(var q=V.length,ve=Array(q),Je=0,St=function(){++Je==q&&$a(I,function(){W=ze(I.doc,W);var xn={from:W,to:W,text:I.doc.splitLines(ve.filter(function(kn){return kn!=null}).join(I.doc.lineSeparator())),origin:"paste"};bs(I.doc,xn),Qo(I.doc,fe(ze(I.doc,W),ze(I.doc,Le(xn))))})()},Ut=function(xn,kn){if(I.options.allowDropFileTypes&&k(I.options.allowDropFileTypes,xn.type)==-1){St();return}var $n=new FileReader;$n.onerror=function(){return St()},$n.onload=function(){var Zn=$n.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Zn)){St();return}ve[kn]=Zn,St()},$n.readAsText(xn)},Wt=0;Wt<V.length;Wt++)Ut(V[Wt],Wt);else{if(I.state.draggingText&&I.doc.sel.contains(W)>-1){I.state.draggingText(m),setTimeout(function(){return I.display.input.focus()},20);return}try{var Er=m.dataTransfer.getData("Text");if(Er){var _r;if(I.state.draggingText&&!I.state.draggingText.copy&&(_r=I.listSelections()),ds(I.doc,fe(W,W)),_r)for(var en=0;en<_r.length;++en)Jo(I.doc,"",_r[en].anchor,_r[en].head,"drag");I.replaceSelection(Er,"around","paste"),I.display.input.focus()}}catch(nn){}}}function Rl(m,I){if(f&&(!m.state.draggingText||+new Date-el<100)){it(I);return}if(Ke(m,I)||rt(m.display,I))return;if(I.dataTransfer.setData("Text",m.getSelection()),I.dataTransfer.effectAllowed="copyMove",I.dataTransfer.setDragImage&&!n){var W=D("img",null,null,"position: fixed; left: 0; top: 0;");W.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",l&&(W.width=W.height=1,m.display.wrapper.appendChild(W),W._top=W.offsetTop),I.dataTransfer.setDragImage(W,0,0),l&&W.parentNode.removeChild(W)}}function Ml(m,I){var W=ua(m,I);if(!W)return;var V=document.createDocumentFragment();ba(m,W,V),m.display.dragCursor||(m.display.dragCursor=D("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),m.display.lineSpace.insertBefore(m.display.dragCursor,m.display.cursorDiv)),N(m.display.dragCursor,V)}function yl(m){m.display.dragCursor&&(m.display.lineSpace.removeChild(m.display.dragCursor),m.display.dragCursor=null)}function zl(m){if(!document.getElementsByClassName)return;for(var I=document.getElementsByClassName("CodeMirror"),W=[],V=0;V<I.length;V++){var q=I[V].CodeMirror;q&&W.push(q)}W.length&&W[0].operation(function(){for(var ve=0;ve<W.length;ve++)m(W[ve])})}var ul=!1;function Wl(){if(ul)return;au(),ul=!0}function au(){var m;Ue(window,"resize",function(){m==null&&(m=setTimeout(function(){m=null,zl(ou)},100))}),Ue(window,"blur",function(){return zl(Ii)})}function ou(m){var I=m.display;I.cachedCharWidth=I.cachedTextHeight=I.cachedPaddingH=null,I.scrollbarsClipped=!1,m.setSize()}for(var Ps={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},tl=0;tl<10;tl++)Ps[tl+48]=Ps[tl+96]=String(tl);for(var bl=65;bl<=90;bl++)Ps[bl]=String.fromCharCode(bl);for(var cl=1;cl<=12;cl++)Ps[cl+111]=Ps[cl+63235]="F"+cl;var Ss={};Ss.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ss.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ss.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ss.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ss.default=A?Ss.macDefault:Ss.pcDefault;function zs(m){var I=m.split(/-(?!$)/);m=I[I.length-1];for(var W,V,q,ve,Je=0;Je<I.length-1;Je++){var St=I[Je];if(/^(cmd|meta|m)$/i.test(St))ve=!0;else if(/^a(lt)?$/i.test(St))W=!0;else if(/^(c|ctrl|control)$/i.test(St))V=!0;else if(/^s(hift)?$/i.test(St))q=!0;else throw new Error("Unrecognized modifier name: "+St)}return W&&(m="Alt-"+m),V&&(m="Ctrl-"+m),ve&&(m="Cmd-"+m),q&&(m="Shift-"+m),m}function rl(m){var I={};for(var W in m)if(m.hasOwnProperty(W)){var V=m[W];if(/^(name|fallthrough|(de|at)tach)$/.test(W))continue;if(V=="..."){delete m[W];continue}for(var q=yt(W.split(" "),zs),ve=0;ve<q.length;ve++){var Je=void 0,St=void 0;ve==q.length-1?(St=q.join(" "),Je=V):(St=q.slice(0,ve+1).join(" "),Je="...");var Ut=I[St];if(!Ut)I[St]=Je;else if(Ut!=Je)throw new Error("Inconsistent bindings for "+St)}delete m[W]}for(var Wt in I)m[Wt]=I[Wt];return m}function Us(m,I,W,V){I=Sl(I);var q=I.call?I.call(m,V):I[m];if(q===!1)return"nothing";if(q==="...")return"multi";if(q!=null&&W(q))return"handled";if(I.fallthrough){if(Object.prototype.toString.call(I.fallthrough)!="[object Array]")return Us(m,I.fallthrough,W,V);for(var ve=0;ve<I.fallthrough.length;ve++){var Je=Us(m,I.fallthrough[ve],W,V);if(Je)return Je}}}function wl(m){var I=typeof m=="string"?m:Ps[m.keyCode];return I=="Ctrl"||I=="Alt"||I=="Shift"||I=="Mod"}function Bl(m,I,W){var V=m;return I.altKey&&V!="Alt"&&(m="Alt-"+m),(E?I.metaKey:I.ctrlKey)&&V!="Ctrl"&&(m="Ctrl-"+m),(E?I.ctrlKey:I.metaKey)&&V!="Mod"&&(m="Cmd-"+m),!W&&I.shiftKey&&V!="Shift"&&(m="Shift-"+m),m}function Kl(m,I){if(l&&m.keyCode==34&&m.char)return!1;var W=Ps[m.keyCode];return W==null||m.altGraphKey?!1:(m.keyCode==3&&m.code&&(W=m.code),Bl(W,m,I))}function Sl(m){return typeof m=="string"?Ss[m]:m}function Xs(m,I){for(var W=m.doc.sel.ranges,V=[],q=0;q<W.length;q++){for(var ve=I(W[q]);V.length&&Ft(ve.from,qe(V).to)<=0;){var Je=V.pop();if(Ft(Je.from,ve.from)<0){ve.from=Je.from;break}}V.push(ve)}bo(m,function(){for(var St=V.length-1;St>=0;St--)Jo(m.doc,"",V[St].from,V[St].to,"+delete");Ta(m)})}function dl(m,I,W){var V=mt(m.text,I+W,W);return V<0||V>m.text.length?null:V}function nl(m,I,W){var V=dl(m,I.ch,W);return V==null?null:new Et(I.line,V,W<0?"after":"before")}function hl(m,I,W,V,q){if(m){I.doc.direction=="rtl"&&(q=-q);var ve=Bt(W,I.doc.direction);if(ve){var Je=q<0?qe(ve):ve[0],St=q<0==(Je.level==1),Ut=St?"after":"before",Wt;if(Je.level>0||I.doc.direction=="rtl"){var Er=Bn(I,W);Wt=q<0?W.text.length-1:0;var _r=vn(I,Er,Wt).top;Wt=Pe(function(en){return vn(I,Er,en).top==_r},q<0==(Je.level==1)?Je.from:Je.to-1,Wt),Ut=="before"&&(Wt=dl(W,Wt,1))}else Wt=q<0?Je.to:Je.from;return new Et(V,Wt,Ut)}}return new Et(V,q<0?W.text.length:0,q<0?"before":"after")}function xl(m,I,W,V){var q=Bt(I,m.doc.direction);if(!q)return nl(I,W,V);W.ch>=I.text.length?(W.ch=I.text.length,W.sticky="before"):W.ch<=0&&(W.ch=0,W.sticky="after");var ve=ot(q,W.ch,W.sticky),Je=q[ve];if(m.doc.direction=="ltr"&&Je.level%2==0&&(V>0?Je.to>W.ch:Je.from<W.ch))return nl(I,W,V);var St=function(oi,li){return dl(I,oi instanceof Et?oi.ch:oi,li)},Ut,Wt=function(oi){return m.options.lineWrapping?(Ut=Ut||Bn(m,I),Ea(m,I,Ut,oi)):{begin:0,end:I.text.length}},Er=Wt(W.sticky=="before"?St(W,-1):W.ch);if(m.doc.direction=="rtl"||Je.level==1){var _r=Je.level==1==V<0,en=St(W,_r?1:-1);if(en!=null&&(_r?en<=Je.to&&en<=Er.end:en>=Je.from&&en>=Er.begin)){var nn=_r?"before":"after";return new Et(W.line,en,nn)}}var xn=function(oi,li,Ne){for(var G=function(gr,Ir){return Ir?new Et(W.line,St(gr,1),"before"):new Et(W.line,gr,"after")};oi>=0&&oi<q.length;oi+=li){var be=q[oi],Re=li>0==(be.level!=1),pt=Re?Ne.begin:St(Ne.end,-1);if(be.from<=pt&&pt<be.to)return G(pt,Re);if(pt=Re?be.from:St(be.to,-1),Ne.begin<=pt&&pt<Ne.end)return G(pt,Re)}},kn=xn(ve+V,V,Er);if(kn)return kn;var $n=V>0?Er.end:St(Er.begin,-1);return $n!=null&&!(V>0&&$n==I.text.length)&&(kn=xn(V>0?0:q.length-1,V,Wt($n)),kn)?kn:null}var Ws={selectAll:Fs,singleSelection:function(I){return I.setSelection(I.getCursor("anchor"),I.getCursor("head"),he)},killLine:function(I){return Xs(I,function(W){if(W.empty()){var V=$(I.doc,W.head.line).text.length;return W.head.ch==V&&W.head.line<I.lastLine()?{from:W.head,to:Et(W.head.line+1,0)}:{from:W.head,to:Et(W.head.line,V)}}else return{from:W.from(),to:W.to()}})},deleteLine:function(I){return Xs(I,function(W){return{from:Et(W.from().line,0),to:ze(I.doc,Et(W.to().line+1,0))}})},delLineLeft:function(I){return Xs(I,function(W){return{from:Et(W.from().line,0),to:W.from()}})},delWrappedLineLeft:function(I){return Xs(I,function(W){var V=I.charCoords(W.head,"div").top+5,q=I.coordsChar({left:0,top:V},"div");return{from:q,to:W.from()}})},delWrappedLineRight:function(I){return Xs(I,function(W){var V=I.charCoords(W.head,"div").top+5,q=I.coordsChar({left:I.display.lineDiv.offsetWidth+100,top:V},"div");return{from:W.from(),to:q}})},undo:function(I){return I.undo()},redo:function(I){return I.redo()},undoSelection:function(I){return I.undoSelection()},redoSelection:function(I){return I.redoSelection()},goDocStart:function(I){return I.extendSelection(Et(I.firstLine(),0))},goDocEnd:function(I){return I.extendSelection(Et(I.lastLine()))},goLineStart:function(I){return I.extendSelectionsBy(function(W){return Vl(I,W.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(I){return I.extendSelectionsBy(function(W){return fl(I,W.head)},{origin:"+move",bias:1})},goLineEnd:function(I){return I.extendSelectionsBy(function(W){return El(I,W.head.line)},{origin:"+move",bias:-1})},goLineRight:function(I){return I.extendSelectionsBy(function(W){var V=I.cursorCoords(W.head,"div").top+5;return I.coordsChar({left:I.display.lineDiv.offsetWidth+100,top:V},"div")},pe)},goLineLeft:function(I){return I.extendSelectionsBy(function(W){var V=I.cursorCoords(W.head,"div").top+5;return I.coordsChar({left:0,top:V},"div")},pe)},goLineLeftSmart:function(I){return I.extendSelectionsBy(function(W){var V=I.cursorCoords(W.head,"div").top+5,q=I.coordsChar({left:0,top:V},"div");return q.ch<I.getLine(q.line).search(/\S/)?fl(I,W.head):q},pe)},goLineUp:function(I){return I.moveV(-1,"line")},goLineDown:function(I){return I.moveV(1,"line")},goPageUp:function(I){return I.moveV(-1,"page")},goPageDown:function(I){return I.moveV(1,"page")},goCharLeft:function(I){return I.moveH(-1,"char")},goCharRight:function(I){return I.moveH(1,"char")},goColumnLeft:function(I){return I.moveH(-1,"column")},goColumnRight:function(I){return I.moveH(1,"column")},goWordLeft:function(I){return I.moveH(-1,"word")},goGroupRight:function(I){return I.moveH(1,"group")},goGroupLeft:function(I){return I.moveH(-1,"group")},goWordRight:function(I){return I.moveH(1,"word")},delCharBefore:function(I){return I.deleteH(-1,"codepoint")},delCharAfter:function(I){return I.deleteH(1,"char")},delWordBefore:function(I){return I.deleteH(-1,"word")},delWordAfter:function(I){return I.deleteH(1,"word")},delGroupBefore:function(I){return I.deleteH(-1,"group")},delGroupAfter:function(I){return I.deleteH(1,"group")},indentAuto:function(I){return I.indentSelection("smart")},indentMore:function(I){return I.indentSelection("add")},indentLess:function(I){return I.indentSelection("subtract")},insertTab:function(I){return I.replaceSelection(" ")},insertSoftTab:function(I){for(var W=[],V=I.listSelections(),q=I.options.tabSize,ve=0;ve<V.length;ve++){var Je=V[ve].from(),St=Z(I.getLine(Je.line),Je.ch,q);W.push(We(q-St%q))}I.replaceSelections(W)},defaultTab:function(I){I.somethingSelected()?I.indentSelection("add"):I.execCommand("insertTab")},transposeChars:function(I){return bo(I,function(){for(var W=I.listSelections(),V=[],q=0;q<W.length;q++){if(!W[q].empty())continue;var ve=W[q].head,Je=$(I.doc,ve.line).text;if(Je){if(ve.ch==Je.length&&(ve=new Et(ve.line,ve.ch-1)),ve.ch>0)ve=new Et(ve.line,ve.ch+1),I.replaceRange(Je.charAt(ve.ch-1)+Je.charAt(ve.ch-2),Et(ve.line,ve.ch-2),ve,"+transpose");else if(ve.line>I.doc.first){var St=$(I.doc,ve.line-1).text;St&&(ve=new Et(ve.line,1),I.replaceRange(Je.charAt(0)+I.doc.lineSeparator()+St.charAt(St.length-1),Et(ve.line-1,St.length-1),ve,"+transpose"))}}V.push(new re(ve,ve))}I.setSelections(V)})},newlineAndIndent:function(I){return bo(I,function(){for(var W=I.listSelections(),V=W.length-1;V>=0;V--)I.replaceRange(I.doc.lineSeparator(),W[V].anchor,W[V].head,"+input");W=I.listSelections();for(var q=0;q<W.length;q++)I.indentLine(W[q].from().line,null,!0);Ta(I)})},openLine:function(I){return I.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(I){return I.toggleOverwrite()}};function Vl(m,I){var W=$(m.doc,I),V=ta(W);return V!=W&&(I=Me(V)),hl(!0,m,V,I,1)}function El(m,I){var W=$(m.doc,I),V=Ni(W);return V!=W&&(I=Me(V)),hl(!0,m,W,I,-1)}function fl(m,I){var W=Vl(m,I.line),V=$(m.doc,W.line),q=Bt(V,m.doc.direction);if(!q||q[0].level==0){var ve=Math.max(W.ch,V.text.search(/\S/)),Je=I.line==W.line&&I.ch<=ve&&I.ch;return Et(W.line,Je?0:ve,W.sticky)}return W}function Cl(m,I,W){if(typeof I=="string"&&(I=Ws[I],!I))return!1;m.display.input.ensurePolled();var V=m.display.shift,q=!1;try{m.isReadOnly()&&(m.state.suppressEdits=!0),W&&(m.display.shift=!1),q=I(m)!=X}finally{m.display.shift=V,m.state.suppressEdits=!1}return q}function Yl(m,I,W){for(var V=0;V<m.state.keyMaps.length;V++){var q=Us(I,m.state.keyMaps[V],W,m);if(q)return q}return m.options.extraKeys&&Us(I,m.options.extraKeys,W,m)||Us(I,m.options.keyMap,W,m)}var Fl=new Y;function pl(m,I,W,V){var q=m.state.keySeq;if(q){if(wl(I))return"handled";if(/\'$/.test(I)?m.state.keySeq=null:Fl.set(50,function(){m.state.keySeq==q&&(m.state.keySeq=null,m.display.input.reset())}),Ql(m,q+" "+I,W,V))return!0}return Ql(m,I,W,V)}function Ql(m,I,W,V){var q=Yl(m,I,V);return q=="multi"&&(m.state.keySeq=I),q=="handled"&&Cr(m,"keyHandled",m,I,W),(q=="handled"||q=="multi")&&(et(W),vi(m)),!!q}function Js(m,I){var W=Kl(I,!0);return W?I.shiftKey&&!m.state.keySeq?pl(m,"Shift-"+W,I,function(V){return Cl(m,V,!0)})||pl(m,W,I,function(V){if(typeof V=="string"?/^go[A-Z]/.test(V):V.motion)return Cl(m,V)}):pl(m,W,I,function(V){return Cl(m,V)}):!1}function Gl(m,I,W){return pl(m,"'"+W+"'",I,function(V){return Cl(m,V,!0)})}var Mo=null;function Ks(m){var I=this;if(m.target&&m.target!=I.display.input.getField())return;if(I.curOp.focus=M(),Ke(I,m))return;f&&i<11&&m.keyCode==27&&(m.returnValue=!1);var W=m.keyCode;I.display.shift=W==16||m.shiftKey;var V=Js(I,m);l&&(Mo=V?W:null,!V&&W==88&&!de&&(A?m.metaKey:m.ctrlKey)&&I.replaceSelection("",null,"cut")),g&&!A&&!V&&W==46&&m.shiftKey&&!m.ctrlKey&&document.execCommand&&document.execCommand("cut"),W==18&&!/\bCodeMirror-crosshair\b/.test(I.display.lineDiv.className)&&il(I)}function il(m){var I=m.display.lineDiv;j(I,"CodeMirror-crosshair");function W(V){(V.keyCode==18||!V.altKey)&&(w(I,"CodeMirror-crosshair"),xt(document,"keyup",W),xt(document,"mouseover",W))}Ue(document,"keyup",W),Ue(document,"mouseover",W)}function ks(m){m.keyCode==16&&(this.doc.sel.shift=!1),Ke(this,m)}function _s(m){var I=this;if(m.target&&m.target!=I.display.input.getField())return;if(rt(I.display,m)||Ke(I,m)||m.ctrlKey&&!m.altKey||A&&m.metaKey)return;var W=m.keyCode,V=m.charCode;if(l&&W==Mo){Mo=null,et(m);return}if(l&&(!m.which||m.which<10)&&Js(I,m))return;var q=String.fromCharCode(V==null?W:V);if(q=="\b")return;if(Gl(I,m,q))return;I.display.input.onKeyPress(m)}var ml=400,xs=function(I,W,V){this.time=I,this.pos=W,this.button=V};xs.prototype.compare=function(m,I,W){return this.time+ml>m&&Ft(I,this.pos)==0&&W==this.button};var al,Zs;function Pl(m,I){var W=+new Date;return Zs&&Zs.compare(W,m,I)?(al=Zs=null,"triple"):al&&al.compare(W,m,I)?(Zs=new xs(W,m,I),al=null,"double"):(al=new xs(W,m,I),Zs=null,"single")}function Ll(m){var I=this,W=I.display;if(Ke(I,m)||W.activeTouch&&W.input.supportsTouch())return;if(W.input.ensurePolled(),W.shift=m.shiftKey,rt(W,m)){r||(W.scroller.draggable=!1,setTimeout(function(){return W.scroller.draggable=!0},100));return}if(Ol(I,m))return;var V=ua(I,m),q=ht(m),ve=V?Pl(V,q):"single";if(window.focus(),q==1&&I.state.selectingText&&I.state.selectingText(m),V&&gl(I,q,V,ve,m))return;q==1?V?Ul(I,V,ve,m):Be(m)==W.scroller&&et(m):q==2?(V&&wo(I.doc,V),setTimeout(function(){return W.input.focus()},20)):q==3&&(C?I.display.input.onContextMenu(m):za(I))}function gl(m,I,W,V,q){var ve="Click";return V=="double"?ve="Double"+ve:V=="triple"&&(ve="Triple"+ve),ve=(I==1?"Left":I==2?"Middle":"Right")+ve,pl(m,Bl(ve,q),q,function(Je){if(typeof Je=="string"&&(Je=Ws[Je]),!Je)return!1;var St=!1;try{m.isReadOnly()&&(m.state.suppressEdits=!0),St=Je(m,W)!=X}finally{m.state.suppressEdits=!1}return St})}function Xl(m,I,W){var V=m.getOption("configureMouse"),q=V?V(m,I,W):{};if(q.unit==null){var ve=y?W.shiftKey&&W.metaKey:W.altKey;q.unit=ve?"rectangle":I=="single"?"char":I=="double"?"word":"line"}return(q.extend==null||m.doc.extend)&&(q.extend=m.doc.extend||W.shiftKey),q.addNew==null&&(q.addNew=A?W.metaKey:W.ctrlKey),q.moveOnDrag==null&&(q.moveOnDrag=!(A?W.altKey:W.ctrlKey)),q}function Ul(m,I,W,V){f?setTimeout(H(Qa,m),0):m.curOp.focus=M();var q=Xl(m,W,V),ve=m.doc.sel,Je;m.options.dragDrop&&Mr&&!m.isReadOnly()&&W=="single"&&(Je=ve.contains(I))>-1&&(Ft((Je=ve.ranges[Je]).from(),I)<0||I.xRel>0)&&(Ft(Je.to(),I)>0||I.xRel<0)?vl(m,V,I,q):su(m,V,I,q)}function vl(m,I,W,V){var q=m.display,ve=!1,Je=$a(m,function(Wt){r&&(q.scroller.draggable=!1),m.state.draggingText=!1,xt(q.wrapper.ownerDocument,"mouseup",Je),xt(q.wrapper.ownerDocument,"mousemove",St),xt(q.scroller,"dragstart",Ut),xt(q.scroller,"drop",Je),ve||(et(Wt),V.addNew||wo(m.doc,W,null,null,V.extend),r&&!n||f&&i==9?setTimeout(function(){q.wrapper.ownerDocument.body.focus({preventScroll:!0}),q.input.focus()},20):q.input.focus())}),St=function(Er){ve=ve||Math.abs(I.clientX-Er.clientX)+Math.abs(I.clientY-Er.clientY)>=10},Ut=function(){return ve=!0};r&&(q.scroller.draggable=!0),m.state.draggingText=Je,Je.copy=!V.moveOnDrag,q.scroller.dragDrop&&q.scroller.dragDrop(),Ue(q.wrapper.ownerDocument,"mouseup",Je),Ue(q.wrapper.ownerDocument,"mousemove",St),Ue(q.scroller,"dragstart",Ut),Ue(q.scroller,"drop",Je),za(m),setTimeout(function(){return q.input.focus()},20)}function Jl(m,I,W){if(W=="char")return new re(I,I);if(W=="word")return m.findWordAt(I);if(W=="line")return new re(Et(I.line,0),ze(m.doc,Et(I.line+1,0)));var V=W(m,I);return new re(V.from,V.to)}function su(m,I,W,V){var q=m.display,ve=m.doc;et(I);var Je,St,Ut=ve.sel,Wt=Ut.ranges;if(V.addNew&&!V.extend?(St=ve.sel.contains(W),St>-1?Je=Wt[St]:Je=new re(W,W)):(Je=ve.sel.primary(),St=ve.sel.primIndex),V.unit=="rectangle")V.addNew||(Je=new re(W,W)),W=ua(m,I,!0,!0),St=-1;else{var Er=Jl(m,W,V.unit);V.extend?Je=Xo(Je,Er.anchor,Er.head,V.extend):Je=Er}V.addNew?St==-1?(St=Wt.length,Eo(ve,ce(m,Wt.concat([Je]),St),{scroll:!1,origin:"*mouse"})):Wt.length>1&&Wt[St].empty()&&V.unit=="char"&&!V.extend?(Eo(ve,ce(m,Wt.slice(0,St).concat(Wt.slice(St+1)),0),{scroll:!1,origin:"*mouse"}),Ut=ve.sel):ns(ve,St,Je,te):(St=0,Eo(ve,new Nt([Je],0),te),Ut=ve.sel);var _r=W;function en(li){if(Ft(_r,li)==0)return;if(_r=li,V.unit=="rectangle"){for(var Ne=[],G=m.options.tabSize,be=Z($(ve,W.line).text,W.ch,G),Re=Z($(ve,li.line).text,li.ch,G),pt=Math.min(be,Re),$t=Math.max(be,Re),gr=Math.min(W.line,li.line),Ir=Math.min(m.lastLine(),Math.max(W.line,li.line));gr<=Ir;gr++){var Hr=$(ve,gr).text,zr=Se(Hr,pt,G);pt==$t?Ne.push(new re(Et(gr,zr),Et(gr,zr))):Hr.length>zr&&Ne.push(new re(Et(gr,zr),Et(gr,Se(Hr,$t,G))))}Ne.length||Ne.push(new re(W,W)),Eo(ve,ce(m,Ut.ranges.slice(0,St).concat(Ne),St),{origin:"*mouse",scroll:!1}),m.scrollIntoView(li)}else{var un=Je,sn=Jl(m,li,V.unit),Fn=un.anchor,si;Ft(sn.anchor,Fn)>0?(si=sn.head,Fn=ur(un.from(),sn.anchor)):(si=sn.anchor,Fn=Ot(un.to(),sn.head));var zn=Ut.ranges.slice(0);zn[St]=Zl(m,new re(ze(ve,Fn),si)),Eo(ve,ce(m,zn,St),te)}}var nn=q.wrapper.getBoundingClientRect(),xn=0;function kn(li){var Ne=++xn,G=ua(m,li,!0,V.unit=="rectangle");if(!G)return;if(Ft(G,_r)!=0){m.curOp.focus=M(),en(G);var be=ja(q,ve);(G.line>=be.to||G.line<be.from)&&setTimeout($a(m,function(){xn==Ne&&kn(li)}),150)}else{var Re=li.clientY<nn.top?-20:li.clientY>nn.bottom?20:0;Re&&setTimeout($a(m,function(){if(xn!=Ne)return;q.scroller.scrollTop+=Re,kn(li)}),50)}}function $n(li){m.state.selectingText=!1,xn=Infinity,li&&(et(li),q.input.focus()),xt(q.wrapper.ownerDocument,"mousemove",Zn),xt(q.wrapper.ownerDocument,"mouseup",oi),ve.history.lastSelOrigin=null}var Zn=$a(m,function(li){li.buttons===0||!ht(li)?$n(li):kn(li)}),oi=$a(m,$n);m.state.selectingText=oi,Ue(q.wrapper.ownerDocument,"mousemove",Zn),Ue(q.wrapper.ownerDocument,"mouseup",oi)}function Zl(m,I){var W=I.anchor,V=I.head,q=$(m.doc,W.line);if(Ft(W,V)==0&&W.sticky==V.sticky)return I;var ve=Bt(q);if(!ve)return I;var Je=ot(ve,W.ch,W.sticky),St=ve[Je];if(St.from!=W.ch&&St.to!=W.ch)return I;var Ut=Je+(St.from==W.ch==(St.level!=1)?0:1);if(Ut==0||Ut==ve.length)return I;var Wt;if(V.line!=W.line)Wt=(V.line-W.line)*(m.doc.direction=="ltr"?1:-1)>0;else{var Er=ot(ve,V.ch,V.sticky),_r=Er-Je||(V.ch-W.ch)*(St.level==1?-1:1);Er==Ut-1||Er==Ut?Wt=_r<0:Wt=_r>0}var en=ve[Ut+(Wt?-1:0)],nn=Wt==(en.level==1),xn=nn?en.from:en.to,kn=nn?"after":"before";return W.ch==xn&&W.sticky==kn?I:new re(new Et(W.line,xn,kn),V)}function $l(m,I,W,V){var q,ve;if(I.touches)q=I.touches[0].clientX,ve=I.touches[0].clientY;else try{q=I.clientX,ve=I.clientY}catch(en){return!1}if(q>=Math.floor(m.display.gutters.getBoundingClientRect().right))return!1;V&&et(I);var Je=m.display,St=Je.lineDiv.getBoundingClientRect();if(ve>St.bottom||!$e(m,W))return me(I);ve-=St.top-Je.viewOffset;for(var Ut=0;Ut<m.display.gutterSpecs.length;++Ut){var Wt=Je.gutters.childNodes[Ut];if(Wt&&Wt.getBoundingClientRect().right>=q){var Er=Ze(m.doc,ve),_r=m.display.gutterSpecs[Ut];return Pt(m,W,m,Er,_r.className,I),me(I)}}}function Ol(m,I){return $l(m,I,"gutterClick",!0)}function ql(m,I){if(rt(m.display,I)||lu(m,I))return;if(Ke(m,I,"contextmenu"))return;C||m.display.input.onContextMenu(I)}function lu(m,I){return $e(m,"gutterContextMenu")?$l(m,I,"gutterContextMenu",!1):!1}function Il(m){m.display.wrapper.className=m.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+m.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ai(m)}var js={toString:function(){return"CodeMirror.Init"}},Tl={},Al={};function uu(m){var I=m.optionHandlers;function W(V,q,ve,Je){m.defaults[V]=q,ve&&(I[V]=Je?function(St,Ut,Wt){Wt!=js&&ve(St,Ut,Wt)}:ve)}m.defineOption=W,m.Init=js,W("value","",function(V,q){return V.setValue(q)},!0),W("mode",null,function(V,q){V.doc.modeOption=q,Rr(V)},!0),W("indentUnit",2,Rr,!0),W("indentWithTabs",!1),W("smartIndent",!0),W("tabSize",4,function(V){qr(V),Ai(V),gi(V)},!0),W("lineSeparator",null,function(V,q){if(V.doc.lineSep=q,!q)return;var ve=[],Je=V.doc.first;V.doc.iter(function(Ut){for(var Wt=0;;){var Er=Ut.text.indexOf(q,Wt);if(Er==-1)break;Wt=Er+q.length,ve.push(Et(Je,Er))}Je++});for(var St=ve.length-1;St>=0;St--)Jo(V.doc,q,ve[St],Et(ve[St].line,ve[St].ch+q.length))}),W("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(V,q,ve){V.state.specialChars=new RegExp(q.source+(q.test(" ")?"":"| "),"g"),ve!=js&&V.refresh()}),W("specialCharPlaceholder",Ki,function(V){return V.refresh()},!0),W("electricChars",!0),W("inputStyle",h?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),W("spellcheck",!1,function(V,q){return V.getInputField().spellcheck=q},!0),W("autocorrect",!1,function(V,q){return V.getInputField().autocorrect=q},!0),W("autocapitalize",!1,function(V,q){return V.getInputField().autocapitalize=q},!0),W("rtlMoveVisually",!O),W("wholeLineUpdateBefore",!0),W("theme","default",function(V){Il(V),as(V)},!0),W("keyMap","default",function(V,q,ve){var Je=Sl(q),St=ve!=js&&Sl(ve);St&&St.detach&&St.detach(V,Je),Je.attach&&Je.attach(V,St||null)}),W("extraKeys",null),W("configureMouse",null),W("lineWrapping",!1,ol,!0),W("gutters",[],function(V,q){V.display.gutterSpecs=Ds(q,V.options.lineNumbers),as(V)},!0),W("fixedGutter",!0,function(V,q){V.display.gutters.style.left=q?Yi(V.display)+"px":"0",V.refresh()},!0),W("coverGutterNextToScrollbar",!1,function(V){return Ma(V)},!0),W("scrollbarStyle","native",function(V){vo(V),Ma(V),V.display.scrollbars.setScrollTop(V.doc.scrollTop),V.display.scrollbars.setScrollLeft(V.doc.scrollLeft)},!0),W("lineNumbers",!1,function(V,q){V.display.gutterSpecs=Ds(V.options.gutters,q),as(V)},!0),W("firstLineNumber",1,as,!0),W("lineNumberFormatter",function(V){return V},as,!0),W("showCursorWhenSelecting",!1,zi,!0),W("resetSelectionOnContextMenu",!0),W("lineWiseCopyCut",!0),W("pasteLinesPerSelection",!0),W("selectionsMayTouch",!1),W("readOnly",!1,function(V,q){q=="nocursor"&&(Ii(V),V.display.input.blur()),V.display.input.readOnlyChanged(q)}),W("screenReaderLabel",null,function(V,q){q=q===""?null:q,V.display.input.screenReaderLabelChanged(q)}),W("disableInput",!1,function(V,q){q||V.display.input.reset()},!0),W("dragDrop",!0,cu),W("allowDropFileTypes",null),W("cursorBlinkRate",530),W("cursorScrollMargin",0),W("cursorHeight",1,zi,!0),W("singleCursorHeightPerLine",!0,zi,!0),W("workTime",100),W("workDelay",100),W("flattenSpans",!0,qr,!0),W("addModeClass",!1,qr,!0),W("pollInterval",100),W("undoDepth",200,function(V,q){return V.doc.history.undoDepth=q}),W("historyEventDelay",1250),W("viewportMargin",10,function(V){return V.refresh()},!0),W("maxHighlightLength",1e4,qr,!0),W("moveInputWithCursor",!0,function(V,q){q||V.display.input.resetPosition()}),W("tabindex",null,function(V,q){return V.display.input.getField().tabIndex=q||""}),W("autofocus",null),W("direction","ltr",function(V,q){return V.doc.setDirection(q)},!0),W("phrases",null)}function cu(m,I,W){var V=W&&W!=js;if(!I!=!V){var q=m.display.dragFunctions,ve=I?Ue:xt;ve(m.display.scroller,"dragstart",q.start),ve(m.display.scroller,"dragenter",q.enter),ve(m.display.scroller,"dragover",q.over),ve(m.display.scroller,"dragleave",q.leave),ve(m.display.scroller,"drop",q.drop)}}function ol(m){m.options.lineWrapping?(j(m.display.wrapper,"CodeMirror-wrap"),m.display.sizer.style.minWidth="",m.display.sizerWidth=null):(w(m.display.wrapper,"CodeMirror-wrap"),jn(m)),ya(m),gi(m),Ai(m),setTimeout(function(){return Ma(m)},100)}function He(m,I){var W=this;if(!(this instanceof He))return new He(m,I);this.options=I=I?_(I):{},_(Tl,I,!1);var V=I.value;typeof V=="string"?V=new es(V,I.mode,null,I.lineSeparator,I.direction):I.mode&&(V.modeOption=I.mode),this.doc=V;var q=new He.inputStyles[I.inputStyle](this),ve=this.display=new $s(m,V,q,I);ve.wrapper.CodeMirror=this,Il(this),I.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),vo(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Y,keySeq:null,specialChars:null},I.autofocus&&!h&&ve.input.focus(),f&&i<11&&setTimeout(function(){return W.display.input.reset(!0)},20),ne(this),Wl(),$i(this),this.curOp.forceUpdate=!0,Xn(this,V),I.autofocus&&!h||this.hasFocus()?setTimeout(function(){W.hasFocus()&&!W.state.focused&&pa(W)},20):Ii(this);for(var Je in Al)Al.hasOwnProperty(Je)&&Al[Je](this,I[Je],js);ls(this),I.finishInit&&I.finishInit(this);for(var St=0;St<Ee.length;++St)Ee[St](this);xo(this),r&&I.lineWrapping&&getComputedStyle(ve.lineDiv).textRendering=="optimizelegibility"&&(ve.lineDiv.style.textRendering="auto")}He.defaults=Tl,He.optionHandlers=Al;function ne(m){var I=m.display;Ue(I.scroller,"mousedown",$a(m,Ll)),f&&i<11?Ue(I.scroller,"dblclick",$a(m,function(Ut){if(Ke(m,Ut))return;var Wt=ua(m,Ut);if(!Wt||Ol(m,Ut)||rt(m.display,Ut))return;et(Ut);var Er=m.findWordAt(Wt);wo(m.doc,Er.anchor,Er.head)})):Ue(I.scroller,"dblclick",function(Ut){return Ke(m,Ut)||et(Ut)}),Ue(I.scroller,"contextmenu",function(Ut){return ql(m,Ut)}),Ue(I.input.getField(),"contextmenu",function(Ut){I.scroller.contains(Ut.target)||ql(m,Ut)});var W,V={end:0};function q(){I.activeTouch&&(W=setTimeout(function(){return I.activeTouch=null},1e3),V=I.activeTouch,V.end=+new Date)}function ve(Ut){if(Ut.touches.length!=1)return!1;var Wt=Ut.touches[0];return Wt.radiusX<=1&&Wt.radiusY<=1}function Je(Ut,Wt){if(Wt.left==null)return!0;var Er=Wt.left-Ut.left,_r=Wt.top-Ut.top;return Er*Er+_r*_r>20*20}Ue(I.scroller,"touchstart",function(Ut){if(!Ke(m,Ut)&&!ve(Ut)&&!Ol(m,Ut)){I.input.ensurePolled(),clearTimeout(W);var Wt=+new Date;I.activeTouch={start:Wt,moved:!1,prev:Wt-V.end<=300?V:null},Ut.touches.length==1&&(I.activeTouch.left=Ut.touches[0].pageX,I.activeTouch.top=Ut.touches[0].pageY)}}),Ue(I.scroller,"touchmove",function(){I.activeTouch&&(I.activeTouch.moved=!0)}),Ue(I.scroller,"touchend",function(Ut){var Wt=I.activeTouch;if(Wt&&!rt(I,Ut)&&Wt.left!=null&&!Wt.moved&&new Date-Wt.start<300){var Er=m.coordsChar(I.activeTouch,"page"),_r;!Wt.prev||Je(Wt,Wt.prev)?_r=new re(Er,Er):!Wt.prev.prev||Je(Wt,Wt.prev.prev)?_r=m.findWordAt(Er):_r=new re(Et(Er.line,0),ze(m.doc,Et(Er.line+1,0))),m.setSelection(_r.anchor,_r.head),m.focus(),et(Ut)}q()}),Ue(I.scroller,"touchcancel",q),Ue(I.scroller,"scroll",function(){I.scroller.clientHeight&&(Gi(m,I.scroller.scrollTop),go(m,I.scroller.scrollLeft,!0),Pt(m,"scroll",m))}),Ue(I.scroller,"mousewheel",function(Ut){return Is(m,Ut)}),Ue(I.scroller,"DOMMouseScroll",function(Ut){return Is(m,Ut)}),Ue(I.wrapper,"scroll",function(){return I.wrapper.scrollTop=I.wrapper.scrollLeft=0}),I.dragFunctions={enter:function(Wt){Ke(m,Wt)||it(Wt)},over:function(Wt){Ke(m,Wt)||(Ml(m,Wt),it(Wt))},start:function(Wt){return Rl(m,Wt)},drop:$a(m,iu),leave:function(Wt){Ke(m,Wt)||yl(m)}};var St=I.input.getField();Ue(St,"keyup",function(Ut){return ks.call(m,Ut)}),Ue(St,"keydown",$a(m,Ks)),Ue(St,"keypress",$a(m,_s)),Ue(St,"focus",function(Ut){return pa(m,Ut)}),Ue(St,"blur",function(Ut){return Ii(m,Ut)})}var Ee=[];He.defineInitHook=function(m){return Ee.push(m)};function tt(m,I,W,V){var q=m.doc,ve;W==null&&(W="add"),W=="smart"&&(q.mode.indent?ve=Mt(m,I).state:W="prev");var Je=m.options.tabSize,St=$(q,I),Ut=Z(St.text,null,Je);St.stateAfter&&(St.stateAfter=null);var Wt=St.text.match(/^\s*/)[0],Er;if(!V&&!/\S/.test(St.text))Er=0,W="not";else if(W=="smart"&&(Er=q.mode.indent(ve,St.text.slice(Wt.length),St.text),Er==X||Er>150)){if(!V)return;W="prev"}W=="prev"?I>q.first?Er=Z($(q,I-1).text,null,Je):Er=0:W=="add"?Er=Ut+m.options.indentUnit:W=="subtract"?Er=Ut-m.options.indentUnit:typeof W=="number"&&(Er=Ut+W),Er=Math.max(0,Er);var _r="",en=0;if(m.options.indentWithTabs)for(var nn=Math.floor(Er/Je);nn;--nn)en+=Je,_r+=" ";if(en<Er&&(_r+=We(Er-en)),_r!=Wt)return Jo(q,_r,Et(I,0),Et(I,Wt.length),"+input"),St.stateAfter=null,!0;for(var xn=0;xn<q.sel.ranges.length;xn++){var kn=q.sel.ranges[xn];if(kn.head.line==I&&kn.head.ch<Wt.length){var $n=Et(I,Wt.length);ns(q,xn,new re($n,$n));break}}}var Tt=null;function Yt(m){Tt=m}function nr(m,I,W,V,q){var ve=m.doc;m.display.shift=!1,V||(V=ve.sel);var Je=+new Date-200,St=q=="paste"||m.state.pasteIncoming>Je,Ut=hr(I),Wt=null;if(St&&V.ranges.length>1)if(Tt&&Tt.text.join(`
|
|
|
`)==I){if(V.ranges.length%Tt.text.length==0){Wt=[];for(var Er=0;Er<Tt.text.length;Er++)Wt.push(ve.splitLines(Tt.text[Er]))}}else Ut.length==V.ranges.length&&m.options.pasteLinesPerSelection&&(Wt=yt(Ut,function(Zn){return[Zn]}));for(var _r=m.curOp.updateInput,en=V.ranges.length-1;en>=0;en--){var nn=V.ranges[en],xn=nn.from(),kn=nn.to();nn.empty()&&(W&&W>0?xn=Et(xn.line,xn.ch-W):m.state.overwrite&&!St?kn=Et(kn.line,Math.min($(ve,kn.line).text.length,kn.ch+qe(Ut).length)):St&&Tt&&Tt.lineWise&&Tt.text.join(`
|
|
|
`)==Ut.join(`
|
|
|
`)&&(xn=kn=Et(xn.line,0)));var $n={from:xn,to:kn,text:Wt?Wt[en%Wt.length]:Ut,origin:q||(St?"paste":m.state.cutIncoming>Je?"cut":"+input")};bs(m.doc,$n),Cr(m,"inputRead",m,$n)}I&&!St&&vr(m,I),Ta(m),m.curOp.updateInput<2&&(m.curOp.updateInput=_r),m.curOp.typing=!0,m.state.pasteIncoming=m.state.cutIncoming=-1}function ar(m,I){var W=m.clipboardData&&m.clipboardData.getData("Text");if(W)return m.preventDefault(),!I.isReadOnly()&&!I.options.disableInput&&bo(I,function(){return nr(I,W,0,null,"paste")}),!0}function vr(m,I){if(!m.options.electricChars||!m.options.smartIndent)return;for(var W=m.doc.sel,V=W.ranges.length-1;V>=0;V--){var q=W.ranges[V];if(q.head.ch>100||V&&W.ranges[V-1].head.line==q.head.line)continue;var ve=m.getModeAt(q.head),Je=!1;if(ve.electricChars){for(var St=0;St<ve.electricChars.length;St++)if(I.indexOf(ve.electricChars.charAt(St))>-1){Je=tt(m,q.head.line,"smart");break}}else ve.electricInput&&(ve.electricInput.test($(m.doc,q.head.line).text.slice(0,q.head.ch))&&(Je=tt(m,q.head.line,"smart")));Je&&Cr(m,"electricInput",m,q.head.line)}}function Vr(m){for(var I=[],W=[],V=0;V<m.doc.sel.ranges.length;V++){var q=m.doc.sel.ranges[V].head.line,ve={anchor:Et(q,0),head:Et(q+1,0)};W.push(ve),I.push(m.getRange(ve.anchor,ve.head))}return{text:I,ranges:W}}function Yr(m,I,W,V){m.setAttribute("autocorrect",W?"":"off"),m.setAttribute("autocapitalize",V?"":"off"),m.setAttribute("spellcheck",!!I)}function kr(){var m=D("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),I=D("div",[m],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return r?m.style.width="1000px":m.setAttribute("wrap","off"),c&&(m.style.border="1px solid black"),Yr(m),I}function Pr(m){var I=m.optionHandlers,W=m.helpers={};m.prototype={constructor:m,focus:function(){window.focus(),this.display.input.focus()},setOption:function(q,ve){var Je=this.options,St=Je[q];if(Je[q]==ve&&q!="mode")return;Je[q]=ve,I.hasOwnProperty(q)&&$a(this,I[q])(this,ve,St),Pt(this,"optionChange",this,q)},getOption:function(q){return this.options[q]},getDoc:function(){return this.doc},addKeyMap:function(q,ve){this.state.keyMaps[ve?"push":"unshift"](Sl(q))},removeKeyMap:function(q){for(var ve=this.state.keyMaps,Je=0;Je<ve.length;++Je)if(ve[Je]==q||ve[Je].name==q)return ve.splice(Je,1),!0},addOverlay:Ga(function(V,q){var ve=V.token?V:m.getMode(this.options,V);if(ve.startState)throw new Error("Overlays may not be stateful.");_e(this.state.overlays,{mode:ve,modeSpec:V,opaque:q&&q.opaque,priority:q&&q.priority||0},function(Je){return Je.priority}),this.state.modeGen++,gi(this)}),removeOverlay:Ga(function(V){for(var q=this.state.overlays,ve=0;ve<q.length;++ve){var Je=q[ve].modeSpec;if(Je==V||typeof V=="string"&&Je.name==V){q.splice(ve,1),this.state.modeGen++,gi(this);return}}}),indentLine:Ga(function(V,q,ve){typeof q!="string"&&typeof q!="number"&&(q==null?q=this.options.smartIndent?"smart":"prev":q=q?"add":"subtract"),kt(this.doc,V)&&tt(this,V,q,ve)}),indentSelection:Ga(function(V){for(var q=this.doc.sel.ranges,ve=-1,Je=0;Je<q.length;Je++){var St=q[Je];if(St.empty())St.head.line>ve&&(tt(this,St.head.line,V,!0),ve=St.head.line,Je==this.doc.sel.primIndex&&Ta(this));else{var Ut=St.from(),Wt=St.to(),Er=Math.max(ve,Ut.line);ve=Math.min(this.lastLine(),Wt.line-(Wt.ch?0:1))+1;for(var _r=Er;_r<ve;++_r)tt(this,_r,V);var en=this.doc.sel.ranges;Ut.ch==0&&q.length==en.length&&en[Je].from().ch>0&&ns(this.doc,Je,new re(Ut,en[Je].to()),he)}}}),getTokenAt:function(q,ve){return Ar(this,q,ve)},getLineTokens:function(q,ve){return Ar(this,Et(q),ve,!0)},getTokenTypeAt:function(q){q=ze(this.doc,q);var ve=Ge(this,$(this.doc,q.line)),Je=0,St=(ve.length-1)/2,Ut=q.ch,Wt;if(Ut==0)Wt=ve[2];else for(;;){var Er=Je+St>>1;if((Er?ve[Er*2-1]:0)>=Ut)St=Er;else if(ve[Er*2+1]<Ut)Je=Er+1;else{Wt=ve[Er*2+2];break}}var _r=Wt?Wt.indexOf("overlay "):-1;return _r<0?Wt:_r==0?null:Wt.slice(0,_r-1)},getModeAt:function(q){var ve=this.doc.mode;return ve.innerMode?m.innerMode(ve,this.getTokenAt(q).state).mode:ve},getHelper:function(q,ve){return this.getHelpers(q,ve)[0]},getHelpers:function(q,ve){var Je=[];if(!W.hasOwnProperty(ve))return Je;var St=W[ve],Ut=this.getModeAt(q);if(typeof Ut[ve]=="string")St[Ut[ve]]&&Je.push(St[Ut[ve]]);else if(Ut[ve])for(var Wt=0;Wt<Ut[ve].length;Wt++){var Er=St[Ut[ve][Wt]];Er&&Je.push(Er)}else Ut.helperType&&St[Ut.helperType]?Je.push(St[Ut.helperType]):St[Ut.name]&&Je.push(St[Ut.name]);for(var _r=0;_r<St._global.length;_r++){var en=St._global[_r];en.pred(Ut,this)&&k(Je,en.val)==-1&&Je.push(en.val)}return Je},getStateAfter:function(q,ve){var Je=this.doc;return q=Zt(Je,q==null?Je.first+Je.size-1:q),Mt(this,q+1,ve).state},cursorCoords:function(q,ve){var Je,St=this.doc.sel.primary();return q==null?Je=St.head:typeof q=="object"?Je=ze(this.doc,q):Je=q?St.from():St.to(),Bi(this,Je,ve||"page")},charCoords:function(q,ve){return _i(this,ze(this.doc,q),ve||"page")},coordsChar:function(q,ve){return q=fa(this,q,ve||"page"),Ji(this,q.left,q.top)},lineAtHeight:function(q,ve){return q=fa(this,{top:q,left:0},ve||"page").top,Ze(this.doc,q+this.display.viewOffset)},heightAtLine:function(q,ve,Je){var St=!1,Ut;if(typeof q=="number"){var Wt=this.doc.first+this.doc.size-1;q<this.doc.first?q=this.doc.first:q>Wt&&(q=Wt,St=!0),Ut=$(this.doc,q)}else Ut=q;return Mi(this,Ut,{top:0,left:0},ve||"page",Je||St).top+(St?this.doc.height-On(Ut):0)},defaultTextHeight:function(){return yi(this.display)},defaultCharWidth:function(){return Ti(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(q,ve,Je,St,Ut){var Wt=this.display;q=Bi(this,ze(this.doc,q));var Er=q.bottom,_r=q.left;if(ve.style.position="absolute",ve.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ve),Wt.sizer.appendChild(ve),St=="over")Er=q.top;else if(St=="above"||St=="near"){var en=Math.max(Wt.wrapper.clientHeight,this.doc.height),nn=Math.max(Wt.sizer.clientWidth,Wt.lineSpace.clientWidth);(St=="above"||q.bottom+ve.offsetHeight>en)&&q.top>ve.offsetHeight?Er=q.top-ve.offsetHeight:q.bottom+ve.offsetHeight<=en&&(Er=q.bottom),_r+ve.offsetWidth>nn&&(_r=nn-ve.offsetWidth)}ve.style.top=Er+"px",ve.style.left=ve.style.right="",Ut=="right"?(_r=Wt.sizer.clientWidth-ve.offsetWidth,ve.style.right="0px"):(Ut=="left"?_r=0:Ut=="middle"&&(_r=(Wt.sizer.clientWidth-ve.offsetWidth)/2),ve.style.left=_r+"px"),Je&&Ca(this,{left:_r,top:Er,right:_r+ve.offsetWidth,bottom:Er+ve.offsetHeight})},triggerOnKeyDown:Ga(Ks),triggerOnKeyPress:Ga(_s),triggerOnKeyUp:ks,triggerOnMouseDown:Ga(Ll),execCommand:function(q){if(Ws.hasOwnProperty(q))return Ws[q].call(null,this)},triggerElectric:Ga(function(V){vr(this,V)}),findPosH:function(q,ve,Je,St){var Ut=1;ve<0&&(Ut=-1,ve=-ve);for(var Wt=ze(this.doc,q),Er=0;Er<ve&&!(Wt=Gr(this.doc,Wt,Ut,Je,St),Wt.hitSide);++Er);return Wt},moveH:Ga(function(V,q){var ve=this;this.extendSelectionsBy(function(Je){return ve.display.shift||ve.doc.extend||Je.empty()?Gr(ve.doc,Je.head,V,q,ve.options.rtlMoveVisually):V<0?Je.from():Je.to()},pe)}),deleteH:Ga(function(V,q){var ve=this.doc.sel,Je=this.doc;ve.somethingSelected()?Je.replaceSelection("",null,"+delete"):Xs(this,function(St){var Ut=Gr(Je,St.head,V,q,!1);return V<0?{from:Ut,to:St.head}:{from:St.head,to:Ut}})}),findPosV:function(q,ve,Je,St){var Ut=1,Wt=St;ve<0&&(Ut=-1,ve=-ve);for(var Er=ze(this.doc,q),_r=0;_r<ve;++_r){var en=Bi(this,Er,"div");if(Wt==null?Wt=en.left:en.left=Wt,Er=dn(this,en,Ut,Je),Er.hitSide)break}return Er},moveV:Ga(function(V,q){var ve=this,Je=this.doc,St=[],Ut=!this.display.shift&&!Je.extend&&Je.sel.somethingSelected();if(Je.extendSelectionsBy(function(Er){if(Ut)return V<0?Er.from():Er.to();var _r=Bi(ve,Er.head,"div");Er.goalColumn!=null&&(_r.left=Er.goalColumn),St.push(_r.left);var en=dn(ve,_r,V,q);return q=="page"&&Er==Je.sel.primary()&&Oo(ve,_i(ve,en,"div").top-_r.top),en},pe),St.length)for(var Wt=0;Wt<Je.sel.ranges.length;Wt++)Je.sel.ranges[Wt].goalColumn=St[Wt]}),findWordAt:function(q){var ve=this.doc,Je=$(ve,q.line).text,St=q.ch,Ut=q.ch;if(Je){var Wt=this.getHelper(q,"wordChars");(q.sticky=="before"||Ut==Je.length)&&St?--St:++Ut;for(var Er=Je.charAt(St),_r=bt(Er,Wt)?function(en){return bt(en,Wt)}:/\s/.test(Er)?function(en){return/\s/.test(en)}:function(en){return!/\s/.test(en)&&!bt(en)};St>0&&_r(Je.charAt(St-1));)--St;for(;Ut<Je.length&&_r(Je.charAt(Ut));)++Ut}return new re(Et(q.line,St),Et(q.line,Ut))},toggleOverwrite:function(q){if(q!=null&&q==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?j(this.display.cursorDiv,"CodeMirror-overwrite"):w(this.display.cursorDiv,"CodeMirror-overwrite"),Pt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==M()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ga(function(V,q){Fi(this,V,q)}),getScrollInfo:function(){var q=this.display.scroller;return{left:q.scrollLeft,top:q.scrollTop,height:q.scrollHeight-Br(this)-this.display.barHeight,width:q.scrollWidth-Br(this)-this.display.barWidth,clientHeight:rn(this),clientWidth:Dr(this)}},scrollIntoView:Ga(function(V,q){V==null?(V={from:this.doc.sel.primary().head,to:null},q==null&&(q=this.options.cursorScrollMargin)):typeof V=="number"?V={from:Et(V,0),to:null}:V.from==null&&(V={from:V,to:null}),V.to||(V.to=V.from),V.margin=q||0,V.from.line!=null?Za(this,V):pi(this,V.from,V.to,V.margin)}),setSize:Ga(function(V,q){var ve=this,Je=function(Wt){return typeof Wt=="number"||/^\d+$/.test(String(Wt))?Wt+"px":Wt};V!=null&&(this.display.wrapper.style.width=Je(V)),q!=null&&(this.display.wrapper.style.height=Je(q)),this.options.lineWrapping&&Ri(this);var St=this.display.viewFrom;this.doc.iter(St,this.display.viewTo,function(Ut){if(Ut.widgets){for(var Wt=0;Wt<Ut.widgets.length;Wt++)if(Ut.widgets[Wt].noHScroll){Ua(ve,St,"widget");break}}++St}),this.curOp.forceUpdate=!0,Pt(this,"refresh",this)}),operation:function(q){return bo(this,q)},startOperation:function(){return $i(this)},endOperation:function(){return xo(this)},refresh:Ga(function(){var V=this.display.cachedTextHeight;gi(this),this.curOp.forceUpdate=!0,Ai(this),Fi(this,this.doc.scrollLeft,this.doc.scrollTop),ko(this.display),(V==null||Math.abs(V-yi(this.display))>.5||this.options.lineWrapping)&&ya(this),Pt(this,"refresh",this)}),swapDoc:Ga(function(V){var q=this.doc;return q.cm=null,this.state.selectingText&&this.state.selectingText(),Xn(this,V),Ai(this),this.display.input.reset(),Fi(this,V.scrollLeft,V.scrollTop),this.curOp.forceScroll=!0,Cr(this,"swapDoc",this,q),q}),phrase:function(q){var ve=this.options.phrases;return ve&&Object.prototype.hasOwnProperty.call(ve,q)?ve[q]:q},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ut(m),m.registerHelper=function(V,q,ve){W.hasOwnProperty(V)||(W[V]=m[V]={_global:[]}),W[V][q]=ve},m.registerGlobalHelper=function(V,q,ve,Je){m.registerHelper(V,q,Je),W[V]._global.push({pred:ve,val:Je})}}function Gr(m,I,W,V,q){var ve=I,Je=W,St=$(m,I.line),Ut=q&&m.direction=="rtl"?-W:W;function Wt(){var oi=I.line+Ut;return oi<m.first||oi>=m.first+m.size?!1:(I=new Et(oi,I.ch,I.sticky),St=$(m,oi))}function Er(oi){var li;if(V=="codepoint"){var Ne=St.text.charCodeAt(I.ch+(V>0?0:-1));isNaN(Ne)?li=null:li=new Et(I.line,Math.max(0,Math.min(St.text.length,I.ch+W*(Ne>=55296&&Ne<56320?2:1))),-W)}else q?li=xl(m.cm,St,I,W):li=nl(St,I,W);if(li==null)if(!oi&&Wt())I=hl(q,m.cm,St,I.line,Ut);else return!1;else I=li;return!0}if(V=="char"||V=="codepoint")Er();else if(V=="column")Er(!0);else if(V=="word"||V=="group")for(var _r=null,en=V=="group",nn=m.cm&&m.cm.getHelper(I,"wordChars"),xn=!0;!(W<0&&!Er(!xn));xn=!1){var kn=St.text.charAt(I.ch)||`
|
|
|
`,$n=bt(kn,nn)?"w":en&&kn==`
|
|
|
`?"n":!en||/\s/.test(kn)?null:"p";if(en&&!xn&&!$n&&($n="s"),_r&&_r!=$n){W<0&&(W=1,Er(),I.sticky="after");break}if($n&&(_r=$n),W>0&&!Er(!xn))break}var Zn=Bs(m,I,ve,Je,!0);return Kt(ve,Zn)&&(Zn.hitSide=!0),Zn}function dn(m,I,W,V){var q=m.doc,ve=I.left,Je;if(V=="page"){var St=Math.min(m.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ut=Math.max(St-.5*yi(m.display),3);Je=(W>0?I.bottom:I.top)+W*Ut}else V=="line"&&(Je=W>0?I.bottom+3:I.top-3);for(var Wt;!(Wt=Ji(m,ve,Je),!Wt.outside);){if(W<0?Je<=0:Je>=q.height){Wt.hitSide=!0;break}Je+=W*5}return Wt}var pn=function(I){this.cm=I,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Y,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};pn.prototype.init=function(m){var I=this,W=this,V=W.cm,q=W.div=m.lineDiv;Yr(q,V.options.spellcheck,V.options.autocorrect,V.options.autocapitalize);function ve(St){for(var Ut=St.target;Ut;Ut=Ut.parentNode){if(Ut==q)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ut.className))break}return!1}Ue(q,"paste",function(St){if(!ve(St)||Ke(V,St)||ar(St,V))return;i<=11&&setTimeout($a(V,function(){return I.updateFromDOM()}),20)}),Ue(q,"compositionstart",function(St){I.composing={data:St.data,done:!1}}),Ue(q,"compositionupdate",function(St){I.composing||(I.composing={data:St.data,done:!1})}),Ue(q,"compositionend",function(St){I.composing&&(St.data!=I.composing.data&&I.readFromDOMSoon(),I.composing.done=!0)}),Ue(q,"touchstart",function(){return W.forceCompositionEnd()}),Ue(q,"input",function(){I.composing||I.readFromDOMSoon()});function Je(St){if(!ve(St)||Ke(V,St))return;if(V.somethingSelected())Yt({lineWise:!1,text:V.getSelections()}),St.type=="cut"&&V.replaceSelection("",null,"cut");else if(V.options.lineWiseCopyCut){var Ut=Vr(V);Yt({lineWise:!0,text:Ut.text}),St.type=="cut"&&V.operation(function(){V.setSelections(Ut.ranges,0,he),V.replaceSelection("",null,"cut")})}else return;if(St.clipboardData){St.clipboardData.clearData();var Wt=Tt.text.join(`
|
|
|
`);if(St.clipboardData.setData("Text",Wt),St.clipboardData.getData("Text")==Wt){St.preventDefault();return}}var Er=kr(),_r=Er.firstChild;V.display.lineSpace.insertBefore(Er,V.display.lineSpace.firstChild),_r.value=Tt.text.join(`
|
|
|
`);var en=document.activeElement;K(_r),setTimeout(function(){V.display.lineSpace.removeChild(Er),en.focus(),en==q&&W.showPrimarySelection()},50)}Ue(q,"copy",Je),Ue(q,"cut",Je)},pn.prototype.screenReaderLabelChanged=function(m){m?this.div.setAttribute("aria-label",m):this.div.removeAttribute("aria-label")},pn.prototype.prepareSelection=function(){var m=Wi(this.cm,!1);return m.focus=document.activeElement==this.div,m},pn.prototype.showSelection=function(m,I){if(!m||!this.cm.display.view.length)return;(m.focus||I)&&this.showPrimarySelection(),this.showMultipleSelections(m)},pn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},pn.prototype.showPrimarySelection=function(){var m=this.getSelection(),I=this.cm,W=I.doc.sel.primary(),V=W.from(),q=W.to();if(I.display.viewTo==I.display.viewFrom||V.line>=I.display.viewTo||q.line<I.display.viewFrom){m.removeAllRanges();return}var ve=Si(I,m.anchorNode,m.anchorOffset),Je=Si(I,m.focusNode,m.focusOffset);if(ve&&!ve.bad&&Je&&!Je.bad&&Ft(ur(ve,Je),V)==0&&Ft(Ot(ve,Je),q)==0)return;var St=I.display.view,Ut=V.line>=I.display.viewFrom&&ei(I,V)||{node:St[0].measure.map[2],offset:0},Wt=q.line<I.display.viewTo&&ei(I,q);if(!Wt){var Er=St[St.length-1].measure,_r=Er.maps?Er.maps[Er.maps.length-1]:Er.map;Wt={node:_r[_r.length-1],offset:_r[_r.length-2]-_r[_r.length-3]}}if(!Ut||!Wt){m.removeAllRanges();return}var en=m.rangeCount&&m.getRangeAt(0),nn;try{nn=R(Ut.node,Ut.offset,Wt.offset,Wt.node)}catch(xn){}nn&&(!g&&I.state.focused?(m.collapse(Ut.node,Ut.offset),nn.collapsed||(m.removeAllRanges(),m.addRange(nn))):(m.removeAllRanges(),m.addRange(nn)),en&&m.anchorNode==null?m.addRange(en):g&&this.startGracePeriod()),this.rememberSelection()},pn.prototype.startGracePeriod=function(){var m=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){m.gracePeriod=!1,m.selectionChanged()&&m.cm.operation(function(){return m.cm.curOp.selectionChanged=!0})},20)},pn.prototype.showMultipleSelections=function(m){N(this.cm.display.cursorDiv,m.cursors),N(this.cm.display.selectionDiv,m.selection)},pn.prototype.rememberSelection=function(){var m=this.getSelection();this.lastAnchorNode=m.anchorNode,this.lastAnchorOffset=m.anchorOffset,this.lastFocusNode=m.focusNode,this.lastFocusOffset=m.focusOffset},pn.prototype.selectionInEditor=function(){var m=this.getSelection();if(!m.rangeCount)return!1;var I=m.getRangeAt(0).commonAncestorContainer;return U(this.div,I)},pn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},pn.prototype.blur=function(){this.div.blur()},pn.prototype.getField=function(){return this.div},pn.prototype.supportsTouch=function(){return!0},pn.prototype.receivedFocus=function(){var m=this;this.selectionInEditor()?this.pollSelection():bo(this.cm,function(){return m.cm.curOp.selectionChanged=!0});function I(){m.cm.state.focused&&(m.pollSelection(),m.polling.set(m.cm.options.pollInterval,I))}this.polling.set(this.cm.options.pollInterval,I)},pn.prototype.selectionChanged=function(){var m=this.getSelection();return m.anchorNode!=this.lastAnchorNode||m.anchorOffset!=this.lastAnchorOffset||m.focusNode!=this.lastFocusNode||m.focusOffset!=this.lastFocusOffset},pn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var m=this.getSelection(),I=this.cm;if(o&&s&&this.cm.display.gutterSpecs.length&&ui(m.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var W=Si(I,m.anchorNode,m.anchorOffset),V=Si(I,m.focusNode,m.focusOffset);W&&V&&bo(I,function(){Eo(I.doc,fe(W,V),he),(W.bad||V.bad)&&(I.curOp.selectionChanged=!0)})},pn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var m=this.cm,I=m.display,W=m.doc.sel.primary(),V=W.from(),q=W.to();if(V.ch==0&&V.line>m.firstLine()&&(V=Et(V.line-1,$(m.doc,V.line-1).length)),q.ch==$(m.doc,q.line).text.length&&q.line<m.lastLine()&&(q=Et(q.line+1,0)),V.line<I.viewFrom||q.line>I.viewTo-1)return!1;var ve,Je,St;V.line==I.viewFrom||(ve=la(m,V.line))==0?(Je=Me(I.view[0].line),St=I.view[0].node):(Je=Me(I.view[ve].line),St=I.view[ve-1].node.nextSibling);var Ut=la(m,q.line),Wt,Er;if(Ut==I.view.length-1?(Wt=I.viewTo-1,Er=I.lineDiv.lastChild):(Wt=Me(I.view[Ut+1].line)-1,Er=I.view[Ut+1].node.previousSibling),!St)return!1;for(var _r=m.doc.splitLines(Zi(m,St,Er,Je,Wt)),en=le(m.doc,Et(Je,0),Et(Wt,$(m.doc,Wt).text.length));_r.length>1&&en.length>1;)if(qe(_r)==qe(en))_r.pop(),en.pop(),Wt--;else if(_r[0]==en[0])_r.shift(),en.shift(),Je++;else break;for(var nn=0,xn=0,kn=_r[0],$n=en[0],Zn=Math.min(kn.length,$n.length);nn<Zn&&kn.charCodeAt(nn)==$n.charCodeAt(nn);)++nn;for(var oi=qe(_r),li=qe(en),Ne=Math.min(oi.length-(_r.length==1?nn:0),li.length-(en.length==1?nn:0));xn<Ne&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)++xn;if(_r.length==1&&en.length==1&&Je==V.line)for(;nn&&nn>V.ch&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)nn--,xn++;_r[_r.length-1]=oi.slice(0,oi.length-xn).replace(/^\u200b+/,""),_r[0]=_r[0].slice(nn).replace(/\u200b+$/,"");var G=Et(Je,nn),be=Et(Wt,en.length?qe(en).length-xn:0);if(_r.length>1||_r[0]||Ft(G,be))return Jo(m.doc,_r,G,be,"+input"),!0},pn.prototype.ensurePolled=function(){this.forceCompositionEnd()},pn.prototype.reset=function(){this.forceCompositionEnd()},pn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},pn.prototype.readFromDOMSoon=function(){var m=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(m.readDOMTimeout=null,m.composing)if(m.composing.done)m.composing=null;else return;m.updateFromDOM()},80)},pn.prototype.updateFromDOM=function(){var m=this;(this.cm.isReadOnly()||!this.pollContent())&&bo(this.cm,function(){return gi(m.cm)})},pn.prototype.setUneditable=function(m){m.contentEditable="false"},pn.prototype.onKeyPress=function(m){if(m.charCode==0||this.composing)return;m.preventDefault(),this.cm.isReadOnly()||$a(this.cm,nr)(this.cm,String.fromCharCode(m.charCode==null?m.keyCode:m.charCode),0)},pn.prototype.readOnlyChanged=function(m){this.div.contentEditable=String(m!="nocursor")},pn.prototype.onContextMenu=function(){},pn.prototype.resetPosition=function(){},pn.prototype.needsContentAttribute=!0;function ei(m,I){var W=bn(m,I.line);if(!W||W.hidden)return null;var V=$(m.doc,I.line),q=wn(W,V,I.line),ve=Bt(V,m.doc.direction),Je="left";if(ve){var St=ot(ve,I.ch);Je=St%2?"right":"left"}var Ut=En(q.map,I.ch,Je);return Ut.offset=Ut.collapse=="right"?Ut.end:Ut.start,Ut}function ui(m){for(var I=m;I;I=I.parentNode)if(/CodeMirror-gutter-wrapper/.test(I.className))return!0;return!1}function ii(m,I){return I&&(m.bad=!0),m}function Zi(m,I,W,V,q){var ve="",Je=!1,St=m.doc.lineSeparator(),Ut=!1;function Wt(nn){return function(xn){return xn.id==nn}}function Er(){Je&&(ve+=St,Ut&&(ve+=St),Je=Ut=!1)}function _r(nn){nn&&(Er(),ve+=nn)}function en(nn){if(nn.nodeType==1){var xn=nn.getAttribute("cm-text");if(xn){_r(xn);return}var kn=nn.getAttribute("cm-marker"),$n;if(kn){var Zn=m.findMarks(Et(V,0),Et(q+1,0),Wt(+kn));Zn.length&&($n=Zn[0].find(0))&&_r(le(m.doc,$n.from,$n.to).join(St));return}if(nn.getAttribute("contenteditable")=="false")return;var oi=/^(pre|div|p|li|table|br)$/i.test(nn.nodeName);if(!/^br$/i.test(nn.nodeName)&&nn.textContent.length==0)return;oi&&Er();for(var li=0;li<nn.childNodes.length;li++)en(nn.childNodes[li]);/^(pre|p)$/i.test(nn.nodeName)&&(Ut=!0),oi&&(Je=!0)}else nn.nodeType==3&&_r(nn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(en(I),I==W);)I=I.nextSibling,Ut=!1;return ve}function Si(m,I,W){var V;if(I==m.display.lineDiv){if(V=m.display.lineDiv.childNodes[W],!V)return ii(m.clipPos(Et(m.display.viewTo-1)),!0);I=null,W=0}else for(V=I;;V=V.parentNode){if(!V||V==m.display.lineDiv)return null;if(V.parentNode&&V.parentNode==m.display.lineDiv)break}for(var q=0;q<m.display.view.length;q++){var ve=m.display.view[q];if(ve.node==V)return Va(ve,I,W)}}function Va(m,I,W){var V=m.text.firstChild,q=!1;if(!I||!U(V,I))return ii(Et(Me(m.line),0),!0);if(I==V&&(q=!0,I=V.childNodes[W],W=0,!I)){var ve=m.rest?qe(m.rest):m.line;return ii(Et(Me(ve),ve.text.length),q)}var Je=I.nodeType==3?I:null,St=I;for(!Je&&I.childNodes.length==1&&I.firstChild.nodeType==3&&(Je=I.firstChild,W&&(W=Je.nodeValue.length));St.parentNode!=V;)St=St.parentNode;var Ut=m.measure,Wt=Ut.maps;function Er($n,Zn,oi){for(var li=-1;li<(Wt?Wt.length:0);li++)for(var Ne=li<0?Ut.map:Wt[li],G=0;G<Ne.length;G+=3){var be=Ne[G+2];if(be==$n||be==Zn){var Re=Me(li<0?m.line:m.rest[li]),pt=Ne[G]+oi;return(oi<0||be!=$n)&&(pt=Ne[G+(oi?1:0)]),Et(Re,pt)}}}var _r=Er(Je,St,W);if(_r)return ii(_r,q);for(var en=St.nextSibling,nn=Je?Je.nodeValue.length-W:0;en;en=en.nextSibling){if(_r=Er(en,en.firstChild,0),_r)return ii(Et(_r.line,_r.ch-nn),q);nn+=en.textContent.length}for(var xn=St.previousSibling,kn=W;xn;xn=xn.previousSibling){if(_r=Er(xn,xn.firstChild,-1),_r)return ii(Et(_r.line,_r.ch+kn),q);kn+=xn.textContent.length}}var Ei=function(I){this.cm=I,this.prevInput="",this.pollingFast=!1,this.polling=new Y,this.hasSelection=!1,this.composing=null};Ei.prototype.init=function(m){var I=this,W=this,V=this.cm;this.createField(m);var q=this.textarea;m.wrapper.insertBefore(this.wrapper,m.wrapper.firstChild),c&&(q.style.width="0px"),Ue(q,"input",function(){f&&i>=9&&I.hasSelection&&(I.hasSelection=null),W.poll()}),Ue(q,"paste",function(Je){if(Ke(V,Je)||ar(Je,V))return;V.state.pasteIncoming=+new Date,W.fastPoll()});function ve(Je){if(Ke(V,Je))return;if(V.somethingSelected())Yt({lineWise:!1,text:V.getSelections()});else if(V.options.lineWiseCopyCut){var St=Vr(V);Yt({lineWise:!0,text:St.text}),Je.type=="cut"?V.setSelections(St.ranges,null,he):(W.prevInput="",q.value=St.text.join(`
|
|
|
`),K(q))}else return;Je.type=="cut"&&(V.state.cutIncoming=+new Date)}Ue(q,"cut",ve),Ue(q,"copy",ve),Ue(m.scroller,"paste",function(Je){if(rt(m,Je)||Ke(V,Je))return;if(!q.dispatchEvent){V.state.pasteIncoming=+new Date,W.focus();return}var St=new Event("paste");St.clipboardData=Je.clipboardData,q.dispatchEvent(St)}),Ue(m.lineSpace,"selectstart",function(Je){rt(m,Je)||et(Je)}),Ue(q,"compositionstart",function(){var Je=V.getCursor("from");W.composing&&W.composing.range.clear(),W.composing={start:Je,range:V.markText(Je,V.getCursor("to"),{className:"CodeMirror-composing"})}}),Ue(q,"compositionend",function(){W.composing&&(W.poll(),W.composing.range.clear(),W.composing=null)})},Ei.prototype.createField=function(m){this.wrapper=kr(),this.textarea=this.wrapper.firstChild},Ei.prototype.screenReaderLabelChanged=function(m){m?this.textarea.setAttribute("aria-label",m):this.textarea.removeAttribute("aria-label")},Ei.prototype.prepareSelection=function(){var m=this.cm,I=m.display,W=m.doc,V=Wi(m);if(m.options.moveInputWithCursor){var q=Bi(m,W.sel.primary().head,"div"),ve=I.wrapper.getBoundingClientRect(),Je=I.lineDiv.getBoundingClientRect();V.teTop=Math.max(0,Math.min(I.wrapper.clientHeight-10,q.top+Je.top-ve.top)),V.teLeft=Math.max(0,Math.min(I.wrapper.clientWidth-10,q.left+Je.left-ve.left))}return V},Ei.prototype.showSelection=function(m){var I=this.cm,W=I.display;N(W.cursorDiv,m.cursors),N(W.selectionDiv,m.selection),m.teTop!=null&&(this.wrapper.style.top=m.teTop+"px",this.wrapper.style.left=m.teLeft+"px")},Ei.prototype.reset=function(m){if(this.contextMenuPending||this.composing)return;var I=this.cm;if(I.somethingSelected()){this.prevInput="";var W=I.getSelection();this.textarea.value=W,I.state.focused&&K(this.textarea),f&&i>=9&&(this.hasSelection=W)}else m||(this.prevInput=this.textarea.value="",f&&i>=9&&(this.hasSelection=null))},Ei.prototype.getField=function(){return this.textarea},Ei.prototype.supportsTouch=function(){return!1},Ei.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!h||M()!=this.textarea))try{this.textarea.focus()}catch(m){}},Ei.prototype.blur=function(){this.textarea.blur()},Ei.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ei.prototype.receivedFocus=function(){this.slowPoll()},Ei.prototype.slowPoll=function(){var m=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){m.poll(),m.cm.state.focused&&m.slowPoll()})},Ei.prototype.fastPoll=function(){var m=!1,I=this;I.pollingFast=!0;function W(){var V=I.poll();!V&&!m?(m=!0,I.polling.set(60,W)):(I.pollingFast=!1,I.slowPoll())}I.polling.set(20,W)},Ei.prototype.poll=function(){var m=this,I=this.cm,W=this.textarea,V=this.prevInput;if(this.contextMenuPending||!I.state.focused||Gt(W)&&!V&&!this.composing||I.isReadOnly()||I.options.disableInput||I.state.keySeq)return!1;var q=W.value;if(q==V&&!I.somethingSelected())return!1;if(f&&i>=9&&this.hasSelection===q||A&&/[\uf700-\uf7ff]/.test(q))return I.display.input.reset(),!1;if(I.doc.sel==I.display.selForContextMenu){var ve=q.charCodeAt(0);if(ve==8203&&!V&&(V="\u200B"),ve==8666)return this.reset(),this.cm.execCommand("undo")}for(var Je=0,St=Math.min(V.length,q.length);Je<St&&V.charCodeAt(Je)==q.charCodeAt(Je);)++Je;return bo(I,function(){nr(I,q.slice(Je),V.length-Je,null,m.composing?"*compose":null),q.length>1e3||q.indexOf(`
|
|
|
`)>-1?W.value=m.prevInput="":m.prevInput=q,m.composing&&(m.composing.range.clear(),m.composing.range=I.markText(m.composing.start,I.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ei.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ei.prototype.onKeyPress=function(){f&&i>=9&&(this.hasSelection=null),this.fastPoll()},Ei.prototype.onContextMenu=function(m){var I=this,W=I.cm,V=W.display,q=I.textarea;I.contextMenuPending&&I.contextMenuPending();var ve=ua(W,m),Je=V.scroller.scrollTop;if(!ve||l)return;var St=W.options.resetSelectionOnContextMenu;St&&W.doc.sel.contains(ve)==-1&&$a(W,Eo)(W.doc,fe(ve),he);var Ut=q.style.cssText,Wt=I.wrapper.style.cssText,Er=I.wrapper.offsetParent.getBoundingClientRect();I.wrapper.style.cssText="position: static",q.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(m.clientY-Er.top-5)+"px; left: "+(m.clientX-Er.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 _r;r&&(_r=window.scrollY),V.input.focus(),r&&window.scrollTo(null,_r),V.input.reset(),W.somethingSelected()||(q.value=I.prevInput=" "),I.contextMenuPending=nn,V.selForContextMenu=W.doc.sel,clearTimeout(V.detectingSelectAll);function en(){if(q.selectionStart!=null){var kn=W.somethingSelected(),$n="\u200B"+(kn?q.value:"");q.value="\u21DA",q.value=$n,I.prevInput=kn?"":"\u200B",q.selectionStart=1,q.selectionEnd=$n.length,V.selForContextMenu=W.doc.sel}}function nn(){if(I.contextMenuPending!=nn)return;if(I.contextMenuPending=!1,I.wrapper.style.cssText=Wt,q.style.cssText=Ut,f&&i<9&&V.scrollbars.setScrollTop(V.scroller.scrollTop=Je),q.selectionStart!=null){(!f||f&&i<9)&&en();var kn=0,$n=function Zn(){V.selForContextMenu==W.doc.sel&&q.selectionStart==0&&q.selectionEnd>0&&I.prevInput=="\u200B"?$a(W,Fs)(W):kn++<10?V.detectingSelectAll=setTimeout(Zn,500):(V.selForContextMenu=null,V.input.reset())};V.detectingSelectAll=setTimeout($n,200)}}if(f&&i>=9&&en(),C){it(m);var xn=function kn(){xt(window,"mouseup",kn),setTimeout(nn,20)};Ue(window,"mouseup",xn)}else setTimeout(nn,50)},Ei.prototype.readOnlyChanged=function(m){m||this.reset(),this.textarea.disabled=m=="nocursor",this.textarea.readOnly=!!m},Ei.prototype.setUneditable=function(){},Ei.prototype.needsContentAttribute=!1;function uo(m,I){if(I=I?_(I):{},I.value=m.value,!I.tabindex&&m.tabIndex&&(I.tabindex=m.tabIndex),!I.placeholder&&m.placeholder&&(I.placeholder=m.placeholder),I.autofocus==null){var W=M();I.autofocus=W==m||m.getAttribute("autofocus")!=null&&W==document.body}function V(){m.value=St.getValue()}var q;if(m.form&&(Ue(m.form,"submit",V),!I.leaveSubmitMethodAlone)){var ve=m.form;q=ve.submit;try{var Je=ve.submit=function(){V(),ve.submit=q,ve.submit(),ve.submit=Je}}catch(Ut){}}I.finishInit=function(Ut){Ut.save=V,Ut.getTextArea=function(){return m},Ut.toTextArea=function(){Ut.toTextArea=isNaN,V(),m.parentNode.removeChild(Ut.getWrapperElement()),m.style.display="",m.form&&(xt(m.form,"submit",V),!I.leaveSubmitMethodAlone&&typeof m.form.submit=="function"&&(m.form.submit=q))}},m.style.display="none";var St=He(function(Ut){return m.parentNode.insertBefore(Ut,m.nextSibling)},I);return St}function zo(m){m.off=xt,m.on=Ue,m.wheelEventPixels=Vs,m.Doc=es,m.splitLines=hr,m.countColumn=Z,m.findColumn=Se,m.isWordChar=nt,m.Pass=X,m.signal=Pt,m.Line=ni,m.changeEnd=Le,m.scrollbarModel=ro,m.Pos=Et,m.cmpPos=Ft,m.modes=ae,m.mimeModes=ye,m.resolveMode=Te,m.getMode=xe,m.modeExtensions=ke,m.extendMode=lt,m.copyState=At,m.startState=ie,m.innerMode=ee,m.commands=Ws,m.keyMap=Ss,m.keyName=Kl,m.isModifierKey=wl,m.lookupKey=Us,m.normalizeKeyMap=rl,m.StringStream=z,m.SharedTextMarker=qs,m.TextMarker=Ts,m.LineWidget=sl,m.e_preventDefault=et,m.e_stopPropagation=oe,m.e_stop=it,m.addClass=j,m.contains=U,m.rmClass=w,m.keyNames=Ps}uu(He),Pr(He);var ao="iter insert remove copy getEditor constructor".split(" ");for(var _o in es.prototype)es.prototype.hasOwnProperty(_o)&&k(ao,_o)<0&&(He.prototype[_o]=function(m){return function(){return m.apply(this.doc,arguments)}}(es.prototype[_o]));return ut(es),He.inputStyles={textarea:Ei,contenteditable:pn},He.defineMode=function(m){!He.defaults.mode&&m!="null"&&(He.defaults.mode=m),Ce.apply(this,arguments)},He.defineMIME=Oe,He.defineMode("null",function(){return{token:function(I){return I.skipToEnd()}}}),He.defineMIME("text/plain","null"),He.defineExtension=function(m,I){He.prototype[m]=I},He.defineDocExtension=function(m,I){es.prototype[m]=I},He.fromTextArea=uo,zo(He),He.version="5.58.2",He})},Vy0f:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("iYpf"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},W2nI:function(J,B,e){var d=e("IwbS"),x=e("ProS"),g=e("bYtY"),p=["itemStyle","opacity"],v=["emphasis","itemStyle","opacity"],b=["lineStyle","opacity"],f=["emphasis","lineStyle","opacity"];function i(u,t){return u.getVisual("opacity")||u.getModel().get(t)}function r(u,t,c){var o=u.getGraphicEl(),h=i(u,t);c!=null&&(h==null&&(h=1),h*=c),o.downplay&&o.downplay(),o.traverse(function(A){A.type!=="group"&&A.setStyle("opacity",h)})}function a(u,t){var c=i(u,t),o=u.getGraphicEl();o.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",c)}),o.highlight&&o.highlight()}var s=d.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(u,t){var c=t.extent;u.moveTo(t.x1,t.y1),u.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(u.lineTo(t.x2+c,t.y2),u.bezierCurveTo(t.cpx2+c,t.cpy2,t.cpx1+c,t.cpy1,t.x1+c,t.y1)):(u.lineTo(t.x2,t.y2+c),u.bezierCurveTo(t.cpx2,t.cpy2+c,t.cpx1,t.cpy1+c,t.x1,t.y1+c)),u.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),l=x.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(u,t,c){var o=this,h=u.getGraph(),A=this.group,y=u.layoutInfo,O=y.width,S=y.height,E=u.getData(),C=u.getData("edge"),T=u.get("orient");this._model=u,A.removeAll(),A.attr("position",[y.x,y.y]),h.eachEdge(function(w){var L=new s;L.dataIndex=w.dataIndex,L.seriesIndex=u.seriesIndex,L.dataType="edge";var N=w.getModel("lineStyle"),D=N.get("curveness"),F=w.node1.getLayout(),R=w.node1.getModel(),U=R.get("localX"),M=R.get("localY"),j=w.node2.getLayout(),P=w.node2.getModel(),K=P.get("localX"),H=P.get("localY"),_=w.getLayout(),Z,Y,k,Q,X,he,te,pe;L.shape.extent=Math.max(1,_.dy),L.shape.orient=T,T==="vertical"?(Z=(U!=null?U*O:F.x)+_.sy,Y=(M!=null?M*S:F.y)+F.dy,k=(K!=null?K*O:j.x)+_.ty,Q=H!=null?H*S:j.y,X=Z,he=Y*(1-D)+Q*D,te=k,pe=Y*D+Q*(1-D)):(Z=(U!=null?U*O:F.x)+F.dx,Y=(M!=null?M*S:F.y)+_.sy,k=K!=null?K*O:j.x,Q=(H!=null?H*S:j.y)+_.ty,X=Z*(1-D)+k*D,he=Y,te=Z*D+k*(1-D),pe=Q),L.setShape({x1:Z,y1:Y,x2:k,y2:Q,cpx1:X,cpy1:he,cpx2:te,cpy2:pe}),L.setStyle(N.getItemStyle());switch(L.style.fill){case"source":L.style.fill=w.node1.getVisual("color");break;case"target":L.style.fill=w.node2.getVisual("color");break}d.setHoverStyle(L,w.getModel("emphasis.lineStyle").getItemStyle()),A.add(L),C.setItemGraphicEl(w.dataIndex,L)}),h.eachNode(function(w){var L=w.getLayout(),N=w.getModel(),D=N.get("localX"),F=N.get("localY"),R=N.getModel("label"),U=N.getModel("emphasis.label"),M=new d.Rect({shape:{x:D!=null?D*O:L.x,y:F!=null?F*S:L.y,width:L.dx,height:L.dy},style:N.getModel("itemStyle").getItemStyle()}),j=w.getModel("emphasis.itemStyle").getItemStyle();d.setLabelStyle(M.style,j,R,U,{labelFetcher:u,labelDataIndex:w.dataIndex,defaultText:w.id,isRectText:!0}),M.setStyle("fill",w.getVisual("color")),d.setHoverStyle(M,j),A.add(M),E.setItemGraphicEl(w.dataIndex,M),M.dataType="node"}),E.eachItemGraphicEl(function(w,L){var N=E.getItemModel(L);N.get("draggable")&&(w.drift=function(D,F){o._focusAdjacencyDisabled=!0,this.shape.x+=D,this.shape.y+=F,this.dirty(),c.dispatchAction({type:"dragNode",seriesId:u.id,dataIndex:E.getRawIndex(L),localX:this.shape.x/O,localY:this.shape.y/S})},w.ondragend=function(){o._focusAdjacencyDisabled=!1},w.draggable=!0,w.cursor="move"),w.highlight=function(){this.trigger("emphasis")},w.downplay=function(){this.trigger("normal")},w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),N.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),c.dispatchAction({type:"focusNodeAdjacency",seriesId:u.id,dataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(c)}))}),C.eachItemGraphicEl(function(w,L){var N=C.getItemModel(L);w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),N.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),c.dispatchAction({type:"focusNodeAdjacency",seriesId:u.id,edgeDataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(c)}))}),!this._data&&u.get("animation")&&A.setClipPath(n(A.getBoundingRect(),u,function(){A.removeClipPath()})),this._data=u.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(u){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,u.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(u,t,c,o){var h=u.getData(),A=h.graph,y=o.dataIndex,O=h.getItemModel(y),S=o.edgeDataIndex;if(y==null&&S==null)return;var E=A.getNodeByIndex(y),C=A.getEdgeByIndex(S);if(A.eachNode(function(w){r(w,p,.1)}),A.eachEdge(function(w){r(w,b,.1)}),E){a(E,v);var T=O.get("focusNodeAdjacency");T==="outEdges"?g.each(E.outEdges,function(w){if(w.dataIndex<0)return;a(w,f),a(w.node2,v)}):T==="inEdges"?g.each(E.inEdges,function(w){if(w.dataIndex<0)return;a(w,f),a(w.node1,v)}):T==="allEdges"&&g.each(E.edges,function(w){if(w.dataIndex<0)return;a(w,f),w.node1!==E&&a(w.node1,v),w.node2!==E&&a(w.node2,v)})}C&&(a(C,f),a(C.node1,v),a(C.node2,v))},unfocusNodeAdjacency:function(u,t,c,o){var h=u.getGraph();h.eachNode(function(A){r(A,p)}),h.eachEdge(function(A){r(A,b)})}});function n(u,t,c){var o=new d.Rect({shape:{x:u.x-10,y:u.y-10,width:0,height:u.height+20}});return d.initProps(o,{shape:{width:u.width+20}},t,c),o}J.exports=l},W4dC:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=g.each,v=g.createHashMap,b=e("7DRL"),f=e("TIY9"),i=e("yS9w"),r=e("mFDi"),a={geoJSON:f,svg:i},s={load:function(t,c,o){var h=[],A=v(),y=v(),O,S=u(t);return p(S,function(E){var C=a[E.type].load(t,E,o);p(C.regions,function(w){var L=w.name;c&&c.hasOwnProperty(L)&&(w=w.cloneShallow(L=c[L])),h.push(w),A.set(L,w),y.set(L,w.center)});var T=C.boundingRect;T&&(O?O.union(T):O=T.clone())}),{regions:h,regionsMap:A,nameCoordMap:y,boundingRect:O||new r(0,0,0,0)}},makeGraphic:l("makeGraphic"),removeGraphic:l("removeGraphic")};function l(t){return function(c,o){var h=u(c),A=[];return p(h,function(y){var O=a[y.type][t];O&&A.push(O(c,y,o))}),A}}function n(t){}function u(t){var c=b.retrieveMap(t)||[];return c}J.exports=s},WGYa:function(J,B,e){var d=e("7yuC"),x=d.forceLayout,g=e("HF/U"),p=g.simpleLayout,v=e("lOQZ"),b=v.circularLayout,f=e("OELB"),i=f.linearMap,r=e("QBsz"),a=e("bYtY");function s(l){l.eachSeriesByType("graph",function(n){var u=n.coordinateSystem;if(u&&u.type!=="view")return;if(n.get("layout")==="force"){var t=n.preservedPoints||{},c=n.getGraph(),o=c.data,h=c.edgeData,A=n.getModel("force"),y=A.get("initLayout");n.preservedPoints?o.each(function(R){var U=o.getId(R);o.setItemLayout(R,t[U]||[NaN,NaN])}):!y||y==="none"?p(n):y==="circular"&&b(n,"value");var O=o.getDataExtent("value"),S=h.getDataExtent("value"),E=A.get("repulsion"),C=A.get("edgeLength");a.isArray(E)||(E=[E,E]),a.isArray(C)||(C=[C,C]),C=[C[1],C[0]];var T=o.mapArray("value",function(R,U){var M=o.getItemLayout(U),j=i(R,O,E);return isNaN(j)&&(j=(E[0]+E[1])/2),{w:j,rep:j,fixed:o.getItemModel(U).get("fixed"),p:!M||isNaN(M[0])||isNaN(M[1])?null:M}}),w=h.mapArray("value",function(R,U){var M=c.getEdgeByIndex(U),j=i(R,S,C);isNaN(j)&&(j=(C[0]+C[1])/2);var P=M.getModel();return{n1:T[M.node1.dataIndex],n2:T[M.node2.dataIndex],d:j,curveness:P.get("lineStyle.curveness")||0,ignoreForceLayout:P.get("ignoreForceLayout")}}),u=n.coordinateSystem,L=u.getBoundingRect(),N=x(T,w,{rect:L,gravity:A.get("gravity"),friction:A.get("friction")}),D=N.step;N.step=function(R){for(var U=0,M=T.length;U<M;U++)T[U].fixed&&r.copy(T[U].p,c.getNodeByIndex(U).getLayout());D(function(j,P,K){for(var H=0,_=j.length;H<_;H++)j[H].fixed||c.getNodeByIndex(H).setLayout(j[H].p),t[o.getId(H)]=j[H].p;for(var H=0,_=P.length;H<_;H++){var Z=P[H],Y=c.getEdgeByIndex(H),k=Z.n1.p,Q=Z.n2.p,X=Y.getLayout();X=X?X.slice():[],X[0]=X[0]||[],X[1]=X[1]||[],r.copy(X[0],k),r.copy(X[1],Q),+Z.curveness&&(X[2]=[(k[0]+Q[0])/2-(k[1]-Q[1])*Z.curveness,(k[1]+Q[1])/2-(Q[0]-k[0])*Z.curveness]),Y.setLayout(X)}R&&R(K)})},n.forceLayout=N,n.preservedPoints=t,N.step()}else n.forceLayout=null})}J.exports=s},WKfj:function(J,B,e){"use strict";e.d(B,"d",function(){return x}),e.d(B,"e",function(){return g}),e.d(B,"f",function(){return p}),e.d(B,"c",function(){return v}),e.d(B,"b",function(){return f}),e.d(B,"a",function(){return r});var d=e("KQm4");function x(a){return Array.isArray(a)?a:a!==void 0?[a]:[]}function g(a,s){var l=s.labelInValue,n=s.combobox;if(a===void 0||a===""&&n)return[];var u=Array.isArray(a)?a:[a];return l?u.map(function(t){var c=t.key,o=t.value;return o!==void 0?o:c}):u}function p(a,s){var l=s.optionLabelProp,n=s.labelInValue,u=s.prevValue,t=s.options,c=s.getLabeledValue,o=a;return n&&(o=o.map(function(h){return c(h,{options:t,prevValue:u,labelInValue:n,optionLabelProp:l})})),o}function v(a,s){var l=Object(d.a)(s),n;for(n=a.length-1;n>=0&&a[n].disabled;n-=1);var u=null;return n!==-1&&(u=l[n],l.splice(n,1)),{values:l,removedValue:u}}var b=typeof window!="undefined"&&window.document&&window.document.documentElement,f=b,i=0;function r(){var a;return f?(a=i,i+=1):a="TEST_OR_SSR",a}},"WN+l":function(J,B,e){var d=e("bYtY"),x=e("IwbS");function g(v,b,f,i){var r=f.axis;if(r.scale.isBlank())return;var a=f.getModel("splitArea"),s=a.getModel("areaStyle"),l=s.get("color"),n=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:a,clamp:!0});if(!u.length)return;var t=l.length,c=v.__splitAreaColors,o=d.createHashMap(),h=0;if(c)for(var A=0;A<u.length;A++){var y=c.get(u[A].tickValue);if(y!=null){h=(y+(t-1)*A)%t;break}}var O=r.toGlobalCoord(u[0].coord),S=s.getAreaStyle();l=d.isArray(l)?l:[l];for(var A=1;A<u.length;A++){var E=r.toGlobalCoord(u[A].coord),C,T,w,L;r.isHorizontal()?(C=O,T=n.y,w=E-C,L=n.height,O=C+w):(C=n.x,T=O,w=n.width,L=E-T,O=T+L);var N=u[A-1].tickValue;N!=null&&o.set(N,h),b.add(new x.Rect({anid:N!=null?"area_"+N:null,shape:{x:C,y:T,width:w,height:L},style:d.defaults({fill:l[h]},S),silent:!0})),h=(h+1)%t}v.__splitAreaColors=o}function p(v){v.__splitAreaColors=null}B.rectCoordAxisBuildSplitArea=g,B.rectCoordAxisHandleRemove=p},WXVj:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("Bqw1")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="MinusSquareOutlined";var f=g.forwardRef(b);B.default=f},WaYH:function(J,B,e){"use strict";var d=e("rePB"),x=e("Ff2n"),g=e("VTBJ"),p=e("1OyB"),v=e("vuIU"),b=e("JX7q"),f=e("Ji7U"),i=e("LK+K"),r=e("q1tI"),a=e("TSYQ"),s=e.n(a),l=e("sboe"),n=e("OZM5"),u=function(C){var T=C.prefixCls,w=C.level,L=C.isStart,N=C.isEnd;if(!w)return null;for(var D="".concat(T,"-indent-unit"),F=[],R=0;R<w;R+=1){var U;F.push(r.createElement("span",{key:R,className:s()(D,(U={},Object(d.a)(U,"".concat(D,"-start"),L[R+1]),Object(d.a)(U,"".concat(D,"-end"),N[R+1]),Object(d.a)(U,"".concat(D,"-end-first-level"),!R&&N[0]),U))}))}return r.createElement("span",{"aria-hidden":"true",className:"".concat(T,"-indent")},F)},t=u,c=e("815F"),o="open",h="close",A="---",y=function(E){Object(f.a)(T,E);var C=Object(i.a)(T);function T(){var w;return Object(p.a)(this,T),w=C.apply(this,arguments),w.state={dragNodeHighlight:!1},w.onSelectorClick=function(L){var N=w.props.context.onNodeClick;N(L,Object(c.b)(w.props)),w.isSelectable()?w.onSelect(L):w.onCheck(L)},w.onSelectorDoubleClick=function(L){var N=w.props.context.onNodeDoubleClick;N(L,Object(c.b)(w.props))},w.onSelect=function(L){if(w.isDisabled())return;var N=w.props.context.onNodeSelect;L.preventDefault(),N(L,Object(c.b)(w.props))},w.onCheck=function(L){if(w.isDisabled())return;var N=w.props,D=N.disableCheckbox,F=N.checked,R=w.props.context.onNodeCheck;if(!w.isCheckable()||D)return;L.preventDefault();var U=!F;R(L,Object(c.b)(w.props),U)},w.onMouseEnter=function(L){var N=w.props.context.onNodeMouseEnter;N(L,Object(c.b)(w.props))},w.onMouseLeave=function(L){var N=w.props.context.onNodeMouseLeave;N(L,Object(c.b)(w.props))},w.onContextMenu=function(L){var N=w.props.context.onNodeContextMenu;N(L,Object(c.b)(w.props))},w.onDragStart=function(L){var N=w.props.context.onNodeDragStart;L.stopPropagation(),w.setState({dragNodeHighlight:!0}),N(L,Object(b.a)(w));try{L.dataTransfer.setData("text/plain","")}catch(D){}},w.onDragEnter=function(L){var N=w.props.context.onNodeDragEnter;L.preventDefault(),L.stopPropagation(),N(L,Object(b.a)(w))},w.onDragOver=function(L){var N=w.props.context.onNodeDragOver;L.preventDefault(),L.stopPropagation(),N(L,Object(b.a)(w))},w.onDragLeave=function(L){var N=w.props.context.onNodeDragLeave;L.stopPropagation(),N(L,Object(b.a)(w))},w.onDragEnd=function(L){var N=w.props.context.onNodeDragEnd;L.stopPropagation(),w.setState({dragNodeHighlight:!1}),N(L,Object(b.a)(w))},w.onDrop=function(L){var N=w.props.context.onNodeDrop;L.preventDefault(),L.stopPropagation(),w.setState({dragNodeHighlight:!1}),N(L,Object(b.a)(w))},w.onExpand=function(L){var N=w.props.context.onNodeExpand;N(L,Object(c.b)(w.props))},w.setSelectHandle=function(L){w.selectHandle=L},w.getNodeState=function(){var L=w.props.expanded;return w.isLeaf()?null:L?o:h},w.hasChildren=function(){var L=w.props.eventKey,N=w.props.context.keyEntities,D=N[L]||{},F=D.children;return!!(F||[]).length},w.isLeaf=function(){var L=w.props,N=L.isLeaf,D=L.loaded,F=w.props.context.loadData,R=w.hasChildren();return N===!1?!1:N||!F&&!R||F&&D&&!R},w.isDisabled=function(){var L=w.props.disabled,N=w.props.context.disabled;return!!(N||L)},w.isCheckable=function(){var L=w.props.checkable,N=w.props.context.checkable;return!N||L===!1?!1:N},w.syncLoadData=function(L){var N=L.expanded,D=L.loading,F=L.loaded,R=w.props.context,U=R.loadData,M=R.onNodeLoad;if(D)return;U&&N&&!w.isLeaf()&&(!w.hasChildren()&&!F&&M(Object(c.b)(w.props)))},w.renderSwitcher=function(){var L=w.props,N=L.expanded,D=L.switcherIcon,F=w.props.context,R=F.prefixCls,U=F.switcherIcon,M=D||U;if(w.isLeaf())return r.createElement("span",{className:s()("".concat(R,"-switcher"),"".concat(R,"-switcher-noop"))},typeof M=="function"?M(Object(g.a)(Object(g.a)({},w.props),{},{isLeaf:!0})):M);var j=s()("".concat(R,"-switcher"),"".concat(R,"-switcher_").concat(N?o:h));return r.createElement("span",{onClick:w.onExpand,className:j},typeof M=="function"?M(Object(g.a)(Object(g.a)({},w.props),{},{isLeaf:!1})):M)},w.renderCheckbox=function(){var L=w.props,N=L.checked,D=L.halfChecked,F=L.disableCheckbox,R=w.props.context.prefixCls,U=w.isDisabled(),M=w.isCheckable();if(!M)return null;var j=typeof M!="boolean"?M:null;return r.createElement("span",{className:s()("".concat(R,"-checkbox"),N&&"".concat(R,"-checkbox-checked"),!N&&D&&"".concat(R,"-checkbox-indeterminate"),(U||F)&&"".concat(R,"-checkbox-disabled")),onClick:w.onCheck},j)},w.renderIcon=function(){var L=w.props.loading,N=w.props.context.prefixCls;return r.createElement("span",{className:s()("".concat(N,"-iconEle"),"".concat(N,"-icon__").concat(w.getNodeState()||"docu"),L&&"".concat(N,"-icon_loading"))})},w.renderSelector=function(){var L=w.state.dragNodeHighlight,N=w.props,D=N.title,F=N.selected,R=N.icon,U=N.loading,M=N.data,j=w.props.context,P=j.prefixCls,K=j.showIcon,H=j.icon,_=j.draggable,Z=j.loadData,Y=j.titleRender,k=w.isDisabled(),Q="".concat(P,"-node-content-wrapper"),X;if(K){var he=R||H;X=he?r.createElement("span",{className:s()("".concat(P,"-iconEle"),"".concat(P,"-icon__customize"))},typeof he=="function"?he(w.props):he):w.renderIcon()}else Z&&U&&(X=w.renderIcon());var te;typeof D=="function"?te=D(M):Y?te=Y(M):te=D;var pe=r.createElement("span",{className:"".concat(P,"-title")},te);return r.createElement("span",{ref:w.setSelectHandle,title:typeof D=="string"?D:"",className:s()("".concat(Q),"".concat(Q,"-").concat(w.getNodeState()||"normal"),!k&&(F||L)&&"".concat(P,"-node-selected"),!k&&_&&"draggable"),draggable:!k&&_||void 0,"aria-grabbed":!k&&_||void 0,onMouseEnter:w.onMouseEnter,onMouseLeave:w.onMouseLeave,onContextMenu:w.onContextMenu,onClick:w.onSelectorClick,onDoubleClick:w.onSelectorDoubleClick,onDragStart:_?w.onDragStart:void 0},X,pe)},w}return Object(v.a)(T,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var L=this.props.selectable,N=this.props.context.selectable;return typeof L=="boolean"?L:N}},{key:"render",value:function(){var L,N=this.props,D=N.eventKey,F=N.className,R=N.style,U=N.dragOver,M=N.dragOverGapTop,j=N.dragOverGapBottom,P=N.isLeaf,K=N.isStart,H=N.isEnd,_=N.expanded,Z=N.selected,Y=N.checked,k=N.halfChecked,Q=N.loading,X=N.domRef,he=N.active,te=N.onMouseMove,pe=Object(x.a)(N,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),Se=this.props.context,we=Se.prefixCls,We=Se.filterTreeNode,qe=Se.draggable,yt=Se.keyEntities,_e=this.isDisabled(),je=Object(n.f)(pe),Ct=yt[D]||{},ct=Ct.level,nt=H[H.length-1];return r.createElement("div",Object.assign({ref:X,className:s()(F,"".concat(we,"-treenode"),(L={},Object(d.a)(L,"".concat(we,"-treenode-disabled"),_e),Object(d.a)(L,"".concat(we,"-treenode-switcher-").concat(_?"open":"close"),!P),Object(d.a)(L,"".concat(we,"-treenode-checkbox-checked"),Y),Object(d.a)(L,"".concat(we,"-treenode-checkbox-indeterminate"),k),Object(d.a)(L,"".concat(we,"-treenode-selected"),Z),Object(d.a)(L,"".concat(we,"-treenode-loading"),Q),Object(d.a)(L,"".concat(we,"-treenode-active"),he),Object(d.a)(L,"".concat(we,"-treenode-leaf-last"),nt),Object(d.a)(L,"drag-over",!_e&&U),Object(d.a)(L,"drag-over-gap-top",!_e&&M),Object(d.a)(L,"drag-over-gap-bottom",!_e&&j),Object(d.a)(L,"filter-node",We&&We(Object(c.b)(this.props))),L)),style:R,onDragEnter:qe?this.onDragEnter:void 0,onDragOver:qe?this.onDragOver:void 0,onDragLeave:qe?this.onDragLeave:void 0,onDrop:qe?this.onDrop:void 0,onDragEnd:qe?this.onDragEnd:void 0,onMouseMove:te},je),r.createElement(t,{prefixCls:we,level:ct,isStart:K,isEnd:H}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),T}(r.Component),O=function(C){return r.createElement(l.a.Consumer,null,function(T){return r.createElement(y,Object.assign({},C,{context:T}))})};O.displayName="TreeNode",O.defaultProps={title:A},O.isTreeNode=1;var S=B.a=O},Wqna:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=g.isObject,v=g.each,b=g.map,f=g.indexOf,i=g.retrieve,r=e("+TT/"),a=r.getLayoutRect,s=e("aX7z"),l=s.createScaleByModel,n=s.ifAxisCrossZero,u=s.niceScaleExtent,t=s.estimateLabelUnionRect,c=e("y+lR"),o=e("7AJT"),h=e("IDmD"),A=e("7hqr"),y=A.getStackedDimension;e("jtI2");function O(R,U,M){return R.getCoordSysModel()===U}function S(R,U,M){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(R,U,M),this.model=R}var E=S.prototype;E.type="grid",E.axisPointerEnabled=!0,E.getRect=function(){return this._rect},E.update=function(R,U){var M=this._axesMap;this._updateScale(R,this.model),v(M.x,function(P){u(P.scale,P.model)}),v(M.y,function(P){u(P.scale,P.model)});var j={};v(M.x,function(P){C(M,"y",P,j)}),v(M.y,function(P){C(M,"x",P,j)}),this.resize(this.model,U)};function C(R,U,M,j){M.getAxesOnZeroOf=function(){return K?[K]:[]};var P=R[U],K,H=M.model,_=H.get("axisLine.onZero"),Z=H.get("axisLine.onZeroAxisIndex");if(!_)return;if(Z!=null)T(P[Z])&&(K=P[Z]);else for(var Y in P)if(P.hasOwnProperty(Y)&&T(P[Y])&&!j[k(P[Y])]){K=P[Y];break}K&&(j[k(K)]=!0);function k(Q){return Q.dim+"_"+Q.index}}function T(R){return R&&R.type!=="category"&&R.type!=="time"&&n(R)}E.resize=function(R,U,M){var j=a(R.getBoxLayoutParams(),{width:U.getWidth(),height:U.getHeight()});this._rect=j;var P=this._axesList;K(),!M&&R.get("containLabel")&&(v(P,function(H){if(!H.model.get("axisLabel.inside")){var _=t(H);if(_){var Z=H.isHorizontal()?"height":"width",Y=H.model.get("axisLabel.margin");j[Z]-=_[Z]+Y,H.position==="top"?j.y+=_.height+Y:H.position==="left"&&(j.x+=_.width+Y)}}}),K());function K(){v(P,function(H){var _=H.isHorizontal(),Z=_?[0,j.width]:[0,j.height],Y=H.inverse?1:0;H.setExtent(Z[Y],Z[1-Y]),w(H,_?j.x:j.y)})}},E.getAxis=function(R,U){var M=this._axesMap[R];if(M!=null){if(U==null){for(var j in M)if(M.hasOwnProperty(j))return M[j]}return M[U]}},E.getAxes=function(){return this._axesList.slice()},E.getCartesian=function(R,U){if(R!=null&&U!=null){var M="x"+R+"y"+U;return this._coordsMap[M]}p(R)&&(U=R.yAxisIndex,R=R.xAxisIndex);for(var j=0,P=this._coordsList;j<P.length;j++)if(P[j].getAxis("x").index===R||P[j].getAxis("y").index===U)return P[j]},E.getCartesians=function(){return this._coordsList.slice()},E.convertToPixel=function(R,U,M){var j=this._findConvertTarget(R,U);return j.cartesian?j.cartesian.dataToPoint(M):j.axis?j.axis.toGlobalCoord(j.axis.dataToCoord(M)):null},E.convertFromPixel=function(R,U,M){var j=this._findConvertTarget(R,U);return j.cartesian?j.cartesian.pointToData(M):j.axis?j.axis.coordToData(j.axis.toLocalCoord(M)):null},E._findConvertTarget=function(R,U){var M=U.seriesModel,j=U.xAxisModel||M&&M.getReferringComponents("xAxis")[0],P=U.yAxisModel||M&&M.getReferringComponents("yAxis")[0],K=U.gridModel,H=this._coordsList,_,Z;if(M)_=M.coordinateSystem,f(H,_)<0&&(_=null);else if(j&&P)_=this.getCartesian(j.componentIndex,P.componentIndex);else if(j)Z=this.getAxis("x",j.componentIndex);else if(P)Z=this.getAxis("y",P.componentIndex);else if(K){var Y=K.coordinateSystem;Y===this&&(_=this._coordsList[0])}return{cartesian:_,axis:Z}},E.containPoint=function(R){var U=this._coordsList[0];if(U)return U.containPoint(R)},E._initCartesian=function(R,U,M){var j={left:!1,right:!1,top:!1,bottom:!1},P={x:{},y:{}},K={x:0,y:0};if(U.eachComponent("xAxis",H("x"),this),U.eachComponent("yAxis",H("y"),this),!K.x||!K.y){this._axesMap={},this._axesList=[];return}this._axesMap=P,v(P.x,function(_,Z){v(P.y,function(Y,k){var Q="x"+Z+"y"+k,X=new c(Q);X.grid=this,X.model=R,this._coordsMap[Q]=X,this._coordsList.push(X),X.addAxis(_),X.addAxis(Y)},this)},this);function H(_){return function(Z,Y){if(!O(Z,R,U))return;var k=Z.get("position");_==="x"?k!=="top"&&k!=="bottom"&&(k=j.bottom?"top":"bottom"):k!=="left"&&k!=="right"&&(k=j.left?"right":"left"),j[k]=!0;var Q=new o(_,l(Z),[0,0],Z.get("type"),k),X=Q.type==="category";Q.onBand=X&&Z.get("boundaryGap"),Q.inverse=Z.get("inverse"),Z.axis=Q,Q.model=Z,Q.grid=this,Q.index=Y,this._axesList.push(Q),P[_][Y]=Q,K[_]++}}},E._updateScale=function(R,U){v(this._axesList,function(j){j.scale.setExtent(Infinity,-Infinity)}),R.eachSeries(function(j){if(D(j)){var P=N(j,R),K=P[0],H=P[1];if(!O(K,U,R)||!O(H,U,R))return;var _=this.getCartesian(K.componentIndex,H.componentIndex),Z=j.getData(),Y=_.getAxis("x"),k=_.getAxis("y");Z.type==="list"&&(M(Z,Y,j),M(Z,k,j))}},this);function M(j,P,K){v(j.mapDimension(P.dim,!0),function(H){P.scale.unionExtentFromData(j,y(j,H))})}},E.getTooltipAxes=function(R){var U=[],M=[];return v(this.getCartesians(),function(j){var P=R!=null&&R!=="auto"?j.getAxis(R):j.getBaseAxis(),K=j.getOtherAxis(P);f(U,P)<0&&U.push(P),f(M,K)<0&&M.push(K)}),{baseAxes:U,otherAxes:M}};function w(R,U){var M=R.getExtent(),j=M[0]+M[1];R.toGlobalCoord=R.dim==="x"?function(P){return P+U}:function(P){return j-P+U},R.toLocalCoord=R.dim==="x"?function(P){return P-U}:function(P){return j-P+U}}var L=["xAxis","yAxis"];function N(R,U){return b(L,function(M){var j=R.getReferringComponents(M)[0];return j})}function D(R){return R.get("coordinateSystem")==="cartesian2d"}S.create=function(R,U){var M=[];return R.eachComponent("grid",function(j,P){var K=new S(j,R,U);K.name="grid_"+P,K.resize(j,U,!0),j.coordinateSystem=K,M.push(K)}),R.eachSeries(function(j){if(!D(j))return;var P=N(j,R),K=P[0],H=P[1],_=K.getCoordSysModel(),Z=_.coordinateSystem;j.coordinateSystem=Z.getCartesian(K.componentIndex,H.componentIndex)}),M},S.dimensions=S.prototype.dimensions=c.prototype.dimensions,h.register("cartesian2d",S);var F=S;J.exports=F},"X+im":function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("KQeH")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="DownloadOutlined";var f=g.forwardRef(b);B.default=f},"X2/X":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};B.default=d},XAae:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("hwYd"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},XOKv:function(J,B,e){e("OXB0"),e("SA4+")},Xi7e:function(J,B,e){var d=e("KMkd"),x=e("adU4"),g=e("tMB7"),p=e("+6XX"),v=e("Z8oC");function b(f){var i=-1,r=f==null?0:f.length;for(this.clear();++i<r;){var a=f[i];this.set(a[0],a[1])}}b.prototype.clear=d,b.prototype.delete=x,b.prototype.get=g,b.prototype.has=p,b.prototype.set=v,J.exports=b},Xmg4:function(J,B,e){var d=e("bYtY"),x=e("LPTA"),g=x.devicePixelRatio,p=e("K2GJ"),v=e("3C/r");function b(){return!1}function f(a,s,l){var n=d.createCanvas(),u=s.getWidth(),t=s.getHeight(),c=n.style;return c&&(c.position="absolute",c.left=0,c.top=0,c.width=u+"px",c.height=t+"px",n.setAttribute("data-zr-dom-id",a)),n.width=u*l,n.height=t*l,n}var i=function(s,l,n){var u;n=n||g,typeof s=="string"?u=f(s,l,n):d.isObject(s)&&(u=s,s=u.id),this.id=s,this.dom=u;var t=u.style;t&&(u.onselectstart=b,t["-webkit-user-select"]="none",t["user-select"]="none",t["-webkit-touch-callout"]="none",t["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",t.padding=0,t.margin=0,t["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=l,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};i.prototype={constructor:i,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var s=this.dpr;this.domBack=f("back-"+this.id,this.painter,s),this.ctxBack=this.domBack.getContext("2d"),s!==1&&this.ctxBack.scale(s,s)},resize:function(s,l){var n=this.dpr,u=this.dom,t=u.style,c=this.domBack;t&&(t.width=s+"px",t.height=l+"px"),u.width=s*n,u.height=l*n,c&&(c.width=s*n,c.height=l*n,n!==1&&this.ctxBack.scale(n,n))},clear:function(s,l){var n=this.dom,u=this.ctx,t=n.width,c=n.height,l=l||this.clearColor,o=this.motionBlur&&!s,h=this.lastFrameAlpha,A=this.dpr;if(o&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,t/A,c/A)),u.clearRect(0,0,t,c),l&&l!=="transparent"){var y;l.colorStops?(y=l.__canvasGradient||p.getGradient(u,l,{x:0,y:0,width:t,height:c}),l.__canvasGradient=y):l.image&&(y=v.prototype.getCanvasPattern.call(l,u)),u.save(),u.fillStyle=y||l,u.fillRect(0,0,t,c),u.restore()}if(o){var O=this.domBack;u.save(),u.globalAlpha=h,u.drawImage(O,0,0,t,c),u.restore()}}};var r=i;J.exports=r},Xnb7:function(J,B,e){var d=e("1RvN"),x=new d(50);function g(f){if(typeof f=="string"){var i=x.get(f);return i&&i.image}else return f}function p(f,i,r,a,s){if(f)if(typeof f=="string"){if(i&&i.__zrImageSrc===f||!r)return i;var l=x.get(f),n={hostEl:r,cb:a,cbPayload:s};return l?(i=l.image,!b(i)&&l.pending.push(n)):(i=new Image,i.onload=i.onerror=v,x.put(f,i.__cachedImgObj={image:i,pending:[n]}),i.src=i.__zrImageSrc=f),i}else return f;else return i}function v(){var f=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var i=0;i<f.pending.length;i++){var r=f.pending[i],a=r.cb;a&&a(this,r.cbPayload),r.hostEl.dirty()}f.pending.length=0}function b(f){return f&&f.width&&f.height}B.findExistImage=g,B.createOrUpdateImage=p,B.isImageReady=b},XpcN:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("ProS"),p=e("bYtY"),v=e("oVpE"),b=v.createSymbol,f=e("IwbS"),i=e("eRkO"),r=i.makeBackground,a=e("+TT/"),s=p.curry,l=p.each,n=f.Group,u=g.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new n),this._backgroundEl,this.group.add(this._selectorGroup=new n),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(A,y,O){var S=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!A.get("show",!0))return;var E=A.get("align"),C=A.get("orient");(!E||E==="auto")&&(E=A.get("left")==="right"&&C==="vertical"?"right":"left");var T=A.get("selector",!0),w=A.get("selectorPosition",!0);T&&(!w||w==="auto")&&(w=C==="horizontal"?"end":"start"),this.renderInner(E,A,y,O,T,C,w);var L=A.getBoxLayoutParams(),N={width:O.getWidth(),height:O.getHeight()},D=A.get("padding"),F=a.getLayoutRect(L,N,D),R=this.layoutInner(A,E,F,S,T,w),U=a.getLayoutRect(p.defaults({width:R.width,height:R.height},L),N,D);this.group.attr("position",[U.x-R.x,U.y-R.y]),this.group.add(this._backgroundEl=r(R,A))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(A,y,O,S,E,C,T){var w=this.getContentGroup(),L=p.createHashMap(),N=y.get("selectedMode"),D=[];O.eachRawSeries(function(F){!F.get("legendHoverLink")&&D.push(F.id)}),l(y.getData(),function(F,R){var U=F.get("name");if(!this.newlineDisabled&&(U===""||U===`
|
|
|
`)){w.add(new n({newline:!0}));return}var M=O.getSeriesByName(U)[0];if(L.get(U))return;if(M){var j=M.getData(),P=j.getVisual("color"),K=j.getVisual("borderColor");typeof P=="function"&&(P=P(M.getDataParams(0))),typeof K=="function"&&(K=K(M.getDataParams(0)));var H=j.getVisual("legendSymbol")||"roundRect",_=j.getVisual("symbol"),Z=this._createItem(U,R,F,y,H,_,A,P,K,N);Z.on("click",s(c,U,null,S,D)).on("mouseover",s(o,M.name,null,S,D)).on("mouseout",s(h,M.name,null,S,D)),L.set(U,!0)}else O.eachRawSeries(function(Y){if(L.get(U))return;if(Y.legendVisualProvider){var k=Y.legendVisualProvider;if(!k.containName(U))return;var Q=k.indexOfName(U),X=k.getItemVisual(Q,"color"),he=k.getItemVisual(Q,"borderColor"),te="roundRect",pe=this._createItem(U,R,F,y,te,null,A,X,he,N);pe.on("click",s(c,null,U,S,D)).on("mouseover",s(o,null,U,S,D)).on("mouseout",s(h,null,U,S,D)),L.set(U,!0)}},this)},this),E&&this._createSelector(E,y,S,C,T)},_createSelector:function(A,y,O,S,E){var C=this.getSelectorGroup();l(A,function(w){T(w)});function T(w){var L=w.type,N=new f.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){O.dispatchAction({type:L==="all"?"legendAllSelect":"legendInverseSelect"})}});C.add(N);var D=y.getModel("selectorLabel"),F=y.getModel("emphasis.selectorLabel");f.setLabelStyle(N.style,N.hoverStyle={},D,F,{defaultText:w.title,isRectText:!1}),f.setHoverStyle(N)}},_createItem:function(A,y,O,S,E,C,T,w,L,N){var D=S.get("itemWidth"),F=S.get("itemHeight"),R=S.get("inactiveColor"),U=S.get("inactiveBorderColor"),M=S.get("symbolKeepAspect"),j=S.getModel("itemStyle"),P=S.isSelected(A),K=new n,H=O.getModel("textStyle"),_=O.get("icon"),Z=O.getModel("tooltip"),Y=Z.parentModel;E=_||E;var k=b(E,0,0,D,F,P?w:R,M==null?!0:M);if(K.add(t(k,E,j,L,U,P)),!_&&C&&(C!==E||C==="none")){var Q=F*.8;C==="none"&&(C="circle");var X=b(C,(D-Q)/2,(F-Q)/2,Q,Q,P?w:R,M==null?!0:M);K.add(t(X,C,j,L,U,P))}var he=T==="left"?D+5:-5,te=T,pe=S.get("formatter"),Se=A;typeof pe=="string"&&pe?Se=pe.replace("{name}",A!=null?A:""):typeof pe=="function"&&(Se=pe(A)),K.add(new f.Text({style:f.setTextStyle({},H,{text:Se,x:he,y:F/2,textFill:P?H.getTextColor():R,textAlign:te,textVerticalAlign:"middle"})}));var we=new f.Rect({shape:K.getBoundingRect(),invisible:!0,tooltip:Z.get("show")?p.extend({content:A,formatter:Y.get("formatter",!0)||function(){return A},formatterParams:{componentType:"legend",legendIndex:S.componentIndex,name:A,$vars:["name"]}},Z.option):null});return K.add(we),K.eachChild(function(We){We.silent=!0}),we.silent=!N,this.getContentGroup().add(K),f.setHoverStyle(K),K.__legendDataIndex=y,K},layoutInner:function(A,y,O,S,E,C){var T=this.getContentGroup(),w=this.getSelectorGroup();a.box(A.get("orient"),T,A.get("itemGap"),O.width,O.height);var L=T.getBoundingRect(),N=[-L.x,-L.y];if(E){a.box("horizontal",w,A.get("selectorItemGap",!0));var D=w.getBoundingRect(),F=[-D.x,-D.y],R=A.get("selectorButtonGap",!0),U=A.getOrient().index,M=U===0?"width":"height",j=U===0?"height":"width",P=U===0?"y":"x";C==="end"?F[U]+=L[M]+R:N[U]+=D[M]+R,F[1-U]+=L[j]/2-D[j]/2,w.attr("position",F),T.attr("position",N);var K={x:0,y:0};return K[M]=L[M]+R+D[M],K[j]=Math.max(L[j],D[j]),K[P]=Math.min(0,D[P]+F[1-U]),K}else return T.attr("position",N),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(A,y,O,S,E,C){var T;return y!=="line"&&y.indexOf("empty")<0?(T=O.getItemStyle(),A.style.stroke=S,C||(T.stroke=E)):T=O.getItemStyle(["borderWidth","borderColor"]),A.setStyle(T)}function c(A,y,O,S){h(A,y,O,S),O.dispatchAction({type:"legendToggleSelect",name:A!=null?A:y}),o(A,y,O,S)}function o(A,y,O,S){var E=O.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||O.dispatchAction({type:"highlight",seriesName:A,name:y,excludeSeriesId:S})}function h(A,y,O,S){var E=O.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||O.dispatchAction({type:"downplay",seriesName:A,name:y,excludeSeriesId:S})}J.exports=u},XuBP:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};B.default=d},XxSj:function(J,B,e){var d=e("bYtY"),x=e("Qe9p"),g=e("OELB"),p=g.linearMap,v=d.each,b=d.isObject,f=-1,i=function(C){var T=C.mappingMethod,w=C.type,L=this.option=d.clone(C);this.type=w,this.mappingMethod=T,this._normalizeData=O[T];var N=r[w];this.applyVisual=N.applyVisual,this.getColorMapper=N.getColorMapper,this._doMap=N._doMap[T],T==="piecewise"?(l(L),a(L)):T==="category"?L.categories?s(L):l(L,!0):(d.assert(T!=="linear"||L.dataExtent),l(L))};i.prototype={constructor:i,mapValueToVisual:function(C){var T=this._normalizeData(C);return this._doMap(T,C)},getNormalizer:function(){return d.bind(this._normalizeData,this)}};var r=i.visualHandlers={color:{applyVisual:t("color"),getColorMapper:function(){var C=this.option;return d.bind(C.mappingMethod==="category"?function(T,w){return!w&&(T=this._normalizeData(T)),c.call(this,T)}:function(T,w,L){var N=!!L;return!w&&(T=this._normalizeData(T)),L=x.fastLerp(T,C.parsedVisual,L),N?L:x.stringify(L,"rgba")},this)},_doMap:{linear:function(C){return x.stringify(x.fastLerp(C,this.option.parsedVisual),"rgba")},category:c,piecewise:function(C,T){var w=A.call(this,T);return w==null&&(w=x.stringify(x.fastLerp(C,this.option.parsedVisual),"rgba")),w},fixed:o}},colorHue:n(function(C,T){return x.modifyHSL(C,T)}),colorSaturation:n(function(C,T){return x.modifyHSL(C,null,T)}),colorLightness:n(function(C,T){return x.modifyHSL(C,null,null,T)}),colorAlpha:n(function(C,T){return x.modifyAlpha(C,T)}),opacity:{applyVisual:t("opacity"),_doMap:h([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:o,category:o,piecewise:o,fixed:o}},symbol:{applyVisual:function(C,T,w){var L=this.mapValueToVisual(C);if(d.isString(L))w("symbol",L);else if(b(L))for(var N in L)L.hasOwnProperty(N)&&w(N,L[N])},_doMap:{linear:u,category:c,piecewise:function(C,T){var w=A.call(this,T);return w==null&&(w=u.call(this,C)),w},fixed:o}},symbolSize:{applyVisual:t("symbolSize"),_doMap:h([0,1])}};function a(C){var T=C.pieceList;C.hasSpecialVisual=!1,d.each(T,function(w,L){w.originIndex=L,w.visual!=null&&(C.hasSpecialVisual=!0)})}function s(C){var T=C.categories,w=C.visual,L=C.categoryMap={};if(v(T,function(F,R){L[F]=R}),!d.isArray(w)){var N=[];d.isObject(w)?v(w,function(F,R){var U=L[R];N[U!=null?U:f]=F}):N[f]=w,w=y(C,N)}for(var D=T.length-1;D>=0;D--)w[D]==null&&(delete L[T[D]],T.pop())}function l(C,T){var w=C.visual,L=[];d.isObject(w)?v(w,function(D){L.push(D)}):w!=null&&L.push(w);var N={color:1,symbol:1};!T&&L.length===1&&!N.hasOwnProperty(C.type)&&(L[1]=L[0]),y(C,L)}function n(C){return{applyVisual:function(T,w,L){T=this.mapValueToVisual(T),L("color",C(w("color"),T))},_doMap:h([0,1])}}function u(C){var T=this.option.visual;return T[Math.round(p(C,[0,1],[0,T.length-1],!0))]||{}}function t(C){return function(T,w,L){L(C,this.mapValueToVisual(T))}}function c(C){var T=this.option.visual;return T[this.option.loop&&C!==f?C%T.length:C]}function o(){return this.option.visual[0]}function h(C){return{linear:function(T){return p(T,C,this.option.visual,!0)},category:c,piecewise:function(T,w){var L=A.call(this,w);return L==null&&(L=p(T,C,this.option.visual,!0)),L},fixed:o}}function A(C){var T=this.option,w=T.pieceList;if(T.hasSpecialVisual){var L=i.findPieceIndex(C,w),N=w[L];if(N&&N.visual)return N.visual[this.type]}}function y(C,T){return C.visual=T,C.type==="color"&&(C.parsedVisual=d.map(T,function(w){return x.parse(w)})),T}var O={linear:function(C){return p(C,this.option.dataExtent,[0,1],!0)},piecewise:function(C){var T=this.option.pieceList,w=i.findPieceIndex(C,T,!0);if(w!=null)return p(w,[0,T.length-1],[0,1],!0)},category:function(C){var T=this.option.categories?this.option.categoryMap[C]:C;return T==null?f:T},fixed:d.noop};i.listVisualTypes=function(){var C=[];return d.each(r,function(T,w){C.push(w)}),C},i.addVisualHandler=function(C,T){r[C]=T},i.isValidType=function(C){return r.hasOwnProperty(C)},i.eachVisual=function(C,T,w){d.isObject(C)?d.each(C,T,w):T.call(w,C)},i.mapVisual=function(C,T,w){var L,N=d.isArray(C)?[]:d.isObject(C)?{}:(L=!0,null);return i.eachVisual(C,function(D,F){var R=T.call(w,D,F);L?N=R:N[F]=R}),N},i.retrieveVisuals=function(C){var T={},w;return C&&v(r,function(L,N){C.hasOwnProperty(N)&&(T[N]=C[N],w=!0)}),w?T:null},i.prepareVisualTypes=function(C){if(b(C)){var T=[];v(C,function(w,L){T.push(L)}),C=T}else if(d.isArray(C))C=C.slice();else return[];return C.sort(function(w,L){return L==="color"&&w!=="color"&&w.indexOf("color")===0?1:-1}),C},i.dependsOn=function(C,T){return T==="color"?!!(C&&C.indexOf(T)===0):C===T},i.findPieceIndex=function(C,T,w){for(var L,N=Infinity,D=0,F=T.length;D<F;D++){var R=T[D].value;if(R!=null){if(R===C||typeof R=="string"&&R===C+"")return D;w&&P(R,D)}}for(var D=0,F=T.length;D<F;D++){var U=T[D],M=U.interval,j=U.close;if(M){if(M[0]===-Infinity){if(S(j[1],C,M[1]))return D}else if(M[1]===Infinity){if(S(j[0],M[0],C))return D}else if(S(j[0],M[0],C)&&S(j[1],C,M[1]))return D;w&&P(M[0],D),w&&P(M[1],D)}}if(w)return C===Infinity?T.length-1:C===-Infinity?0:L;function P(K,H){var _=Math.abs(K-C);_<N&&(N=_,L=H)}};function S(C,T,w){return C?T<=w:T<w}var E=i;J.exports=E},XzQk:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("KpQ+"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},"Y+p1":function(J,B,e){var d=e("wF/u");function x(g,p){return d(g,p)}J.exports=x},Y1PL:function(J,B,e){"use strict";e.r(B),e.d(B,"ResizableTextArea",function(){return C});var d=e("1OyB"),x=e("vuIU"),g=e("Ji7U"),p=e("md7G"),v=e("foSv"),b=e("q1tI"),f=e("rePB"),i=e("t23M"),r=e("BGR+"),a=e("TSYQ"),s=e.n(a),l=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important
|
|
|
`,n=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],u={},t;function c(D){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,R=D.getAttribute("id")||D.getAttribute("data-reactid")||D.getAttribute("name");if(F&&u[R])return u[R];var U=window.getComputedStyle(D),M=U.getPropertyValue("box-sizing")||U.getPropertyValue("-moz-box-sizing")||U.getPropertyValue("-webkit-box-sizing"),j=parseFloat(U.getPropertyValue("padding-bottom"))+parseFloat(U.getPropertyValue("padding-top")),P=parseFloat(U.getPropertyValue("border-bottom-width"))+parseFloat(U.getPropertyValue("border-top-width")),K=n.map(function(_){return"".concat(_,":").concat(U.getPropertyValue(_))}).join(";"),H={sizingStyle:K,paddingSize:j,borderSize:P,boxSizing:M};return F&&R&&(u[R]=H),H}function o(D){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;t||(t=document.createElement("textarea"),t.setAttribute("tab-index","-1"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t)),D.getAttribute("wrap")?t.setAttribute("wrap",D.getAttribute("wrap")):t.removeAttribute("wrap");var M=c(D,F),j=M.paddingSize,P=M.borderSize,K=M.boxSizing,H=M.sizingStyle;t.setAttribute("style","".concat(H,";").concat(l)),t.value=D.value||D.placeholder||"";var _=Number.MIN_SAFE_INTEGER,Z=Number.MAX_SAFE_INTEGER,Y=t.scrollHeight,k;if(K==="border-box"?Y+=P:K==="content-box"&&(Y-=j),R!==null||U!==null){t.value=" ";var Q=t.scrollHeight-j;R!==null&&(_=Q*R,K==="border-box"&&(_=_+j+P),Y=Math.max(_,Y)),U!==null&&(Z=Q*U,K==="border-box"&&(Z=Z+j+P),k=Y>Z?"":"hidden",Y=Math.min(Z,Y))}return{height:Y,minHeight:_,maxHeight:Z,overflowY:k}}function h(D,F){var R=Object.keys(D);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(D);F&&(U=U.filter(function(M){return Object.getOwnPropertyDescriptor(D,M).enumerable})),R.push.apply(R,U)}return R}function A(D){for(var F=1;F<arguments.length;F++){var R=arguments[F]!=null?arguments[F]:{};F%2?h(Object(R),!0).forEach(function(U){Object(f.a)(D,U,R[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(R)):h(Object(R)).forEach(function(U){Object.defineProperty(D,U,Object.getOwnPropertyDescriptor(R,U))})}return D}function y(D){var F=O();return function(){var U=Object(v.a)(D),M;if(F){var j=Object(v.a)(this).constructor;M=Reflect.construct(U,arguments,j)}else M=U.apply(this,arguments);return Object(p.a)(this,M)}}function O(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(D){return!1}}var S;(function(D){D[D.NONE=0]="NONE",D[D.RESIZING=1]="RESIZING",D[D.RESIZED=2]="RESIZED"})(S||(S={}));var E=function(D){Object(g.a)(R,D);var F=y(R);function R(U){var M;return Object(d.a)(this,R),M=F.call(this,U),M.saveTextArea=function(j){M.textArea=j},M.handleResize=function(j){var P=M.state.resizeStatus,K=M.props,H=K.autoSize,_=K.onResize;if(P!==S.NONE)return;typeof _=="function"&&_(j),H&&M.resizeOnNextFrame()},M.resizeOnNextFrame=function(){cancelAnimationFrame(M.nextFrameActionId),M.nextFrameActionId=requestAnimationFrame(M.resizeTextarea)},M.resizeTextarea=function(){var j=M.props.autoSize;if(!j||!M.textArea)return;var P=j.minRows,K=j.maxRows,H=o(M.textArea,!1,P,K);M.setState({textareaStyles:H,resizeStatus:S.RESIZING},function(){cancelAnimationFrame(M.resizeFrameId),M.resizeFrameId=requestAnimationFrame(function(){M.setState({resizeStatus:S.RESIZED},function(){M.resizeFrameId=requestAnimationFrame(function(){M.setState({resizeStatus:S.NONE}),M.fixFirefoxAutoScroll()})})})})},M.renderTextArea=function(){var j=M.props,P=j.prefixCls,K=P===void 0?"rc-textarea":P,H=j.autoSize,_=j.onResize,Z=j.className,Y=j.disabled,k=M.state,Q=k.textareaStyles,X=k.resizeStatus,he=Object(r.default)(M.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),te=s()(K,Z,Object(f.a)({},"".concat(K,"-disabled"),Y));"value"in he&&(he.value=he.value||"");var pe=A(A(A({},M.props.style),Q),X===S.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return b.createElement(i.a,{onResize:M.handleResize,disabled:!(H||_)},b.createElement("textarea",Object.assign({},he,{className:te,style:pe,ref:M.saveTextArea})))},M.state={textareaStyles:{},resizeStatus:S.NONE},M}return Object(x.a)(R,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(M){M.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var M=this.textArea.selectionStart,j=this.textArea.selectionEnd;this.textArea.setSelectionRange(M,j)}}catch(P){}}},{key:"render",value:function(){return this.renderTextArea()}}]),R}(b.Component),C=E;function T(D){var F=w();return function(){var U=Object(v.a)(D),M;if(F){var j=Object(v.a)(this).constructor;M=Reflect.construct(U,arguments,j)}else M=U.apply(this,arguments);return Object(p.a)(this,M)}}function w(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(D){return!1}}var L=function(D){Object(g.a)(R,D);var F=T(R);function R(U){var M;Object(d.a)(this,R),M=F.call(this,U),M.focus=function(){M.resizableTextArea.textArea.focus()},M.saveTextArea=function(P){M.resizableTextArea=P},M.handleChange=function(P){var K=M.props.onChange;M.setValue(P.target.value,function(){M.resizableTextArea.resizeTextarea()}),K&&K(P)},M.handleKeyDown=function(P){var K=M.props,H=K.onPressEnter,_=K.onKeyDown;P.keyCode===13&&H&&H(P),_&&_(P)};var j=typeof U.value=="undefined"||U.value===null?U.defaultValue:U.value;return M.state={value:j},M}return Object(x.a)(R,[{key:"setValue",value:function(M,j){"value"in this.props||this.setState({value:M},j)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return b.createElement(C,Object.assign({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(M){return"value"in M?{value:M.value}:null}}]),R}(b.Component),N=B.default=L},YESw:function(J,B,e){var d=e("Cwc5"),x=d(Object,"create");J.exports=x},YH21:function(J,B,e){var d=e("H6uX");B.Dispatcher=d;var x=e("ItGF"),g=e("Ze12"),p=g.isCanvasEl,v=g.transformCoordWithViewport,b=typeof window!="undefined"&&!!window.addEventListener,f=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,i=[];function r(h,A,y,O){return y=y||{},O||!x.canvasSupported?a(h,A,y):x.browser.firefox&&A.layerX!=null&&A.layerX!==A.offsetX?(y.zrX=A.layerX,y.zrY=A.layerY):A.offsetX!=null?(y.zrX=A.offsetX,y.zrY=A.offsetY):a(h,A,y),y}function a(h,A,y){if(x.domSupported&&h.getBoundingClientRect){var O=A.clientX,S=A.clientY;if(p(h)){var E=h.getBoundingClientRect();y.zrX=O-E.left,y.zrY=S-E.top;return}else if(v(i,h,O,S)){y.zrX=i[0],y.zrY=i[1];return}}y.zrX=y.zrY=0}function s(h){return h||window.event}function l(h,A,y){if(A=s(A),A.zrX!=null)return A;var O=A.type,S=O&&O.indexOf("touch")>=0;if(!S)r(h,A,A,y),A.zrDelta=A.wheelDelta?A.wheelDelta/120:-(A.detail||0)/3;else{var E=O!=="touchend"?A.targetTouches[0]:A.changedTouches[0];E&&r(h,E,A,y)}var C=A.button;return A.which==null&&C!==void 0&&f.test(A.type)&&(A.which=C&1?1:C&2?3:C&4?2:0),A}function n(h,A,y,O){b?h.addEventListener(A,y,O):h.attachEvent("on"+A,y)}function u(h,A,y,O){b?h.removeEventListener(A,y,O):h.detachEvent("on"+A,y)}var t=b?function(h){h.preventDefault(),h.stopPropagation(),h.cancelBubble=!0}:function(h){h.returnValue=!1,h.cancelBubble=!0};function c(h){return h.which===2||h.which===3}function o(h){return h.which>1}B.clientToLocal=r,B.getNativeEvent=s,B.normalizeEvent=l,B.addEventListener=n,B.removeEventListener=u,B.stop=t,B.isMiddleOrRightButtonOnMouseUpDown=c,B.notLeftMouse=o},YJCA:function(J,B,e){"use strict";e.d(B,"a",function(){return dt}),e.d(B,"b",function(){return mt});var d=e("wx14"),x=e("ODXe"),g=e("vpQ4"),p=e("1OyB"),v=e("vuIU"),b=e("md7G"),f=e("foSv"),i=e("Ji7U"),r=e("JX7q"),a=e("rePB"),s=e("q1tI"),l=e.n(s),n=e("17x9"),u=e.n(n),t=e("i8i4"),c=e.n(t),o=e("QLaP"),h=e.n(o),A=e("KQm4"),y=function(){function Pe(){Object(p.a)(this,Pe),Object(a.a)(this,"refs",{})}return Object(v.a)(Pe,[{key:"add",value:function(Ie,ot){this.refs[Ie]||(this.refs[Ie]=[]),this.refs[Ie].push(ot)}},{key:"remove",value:function(Ie,ot){var wt=this.getIndex(Ie,ot);wt!==-1&&this.refs[Ie].splice(wt,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var Ie=this;return this.refs[this.active.collection].find(function(ot){var wt=ot.node;return wt.sortableInfo.index==Ie.active.index})}},{key:"getIndex",value:function(Ie,ot){return this.refs[Ie].indexOf(ot)}},{key:"getOrderedRefs",value:function(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[Ie].sort(O)}}]),Pe}();function O(Pe,De){var Ie=Pe.node.sortableInfo.index,ot=De.node.sortableInfo.index;return Ie-ot}function S(Pe,De,Ie){return Pe=Pe.slice(),Pe.splice(Ie<0?Pe.length+Ie:Ie,0,Pe.splice(De,1)[0]),Pe}function E(Pe,De){return Object.keys(Pe).reduce(function(Ie,ot){return De.indexOf(ot)===-1&&(Ie[ot]=Pe[ot]),Ie},{})}var C={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Pe=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],De=(Array.prototype.slice.call(Pe).join("").match(/-(moz|webkit|ms)-/)||Pe.OLink===""&&["","o"])[1];switch(De){case"ms":return"ms";default:return De&&De.length?De[0].toUpperCase()+De.substr(1):""}}();function w(Pe,De){Object.keys(De).forEach(function(Ie){Pe.style[Ie]=De[Ie]})}function L(Pe,De){Pe.style["".concat(T,"Transform")]=De==null?"":"translate3d(".concat(De.x,"px,").concat(De.y,"px,0)")}function N(Pe,De){Pe.style["".concat(T,"TransitionDuration")]=De==null?"":"".concat(De,"ms")}function D(Pe,De){for(;Pe;){if(De(Pe))return Pe;Pe=Pe.parentNode}return null}function F(Pe,De,Ie){return Math.max(Pe,Math.min(Ie,De))}function R(Pe){return Pe.substr(-2)==="px"?parseFloat(Pe):0}function U(Pe){var De=window.getComputedStyle(Pe);return{bottom:R(De.marginBottom),left:R(De.marginLeft),right:R(De.marginRight),top:R(De.marginTop)}}function M(Pe,De){var Ie=De.displayName||De.name;return Ie?"".concat(Pe,"(").concat(Ie,")"):Pe}function j(Pe,De){var Ie=Pe.getBoundingClientRect();return{top:Ie.top+De.top,left:Ie.left+De.left}}function P(Pe){return Pe.touches&&Pe.touches.length?{x:Pe.touches[0].pageX,y:Pe.touches[0].pageY}:Pe.changedTouches&&Pe.changedTouches.length?{x:Pe.changedTouches[0].pageX,y:Pe.changedTouches[0].pageY}:{x:Pe.pageX,y:Pe.pageY}}function K(Pe){return Pe.touches&&Pe.touches.length||Pe.changedTouches&&Pe.changedTouches.length}function H(Pe,De){var Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Pe)return;var ot={left:Ie.left+Pe.offsetLeft,top:Ie.top+Pe.offsetTop};return Pe.parentNode===De?ot:H(Pe.parentNode,De,ot)}function _(Pe,De,Ie){return Pe<Ie&&Pe>De?Pe-1:Pe>Ie&&Pe<De?Pe+1:Pe}function Z(Pe){var De=Pe.lockOffset,Ie=Pe.width,ot=Pe.height,wt=De,Bt=De,_t="px";if(typeof De=="string"){var Ue=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(De);h()(Ue!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',De),wt=parseFloat(De),Bt=parseFloat(De),_t=Ue[1]}return h()(isFinite(wt)&&isFinite(Bt),"lockOffset value should be a finite. Given %s",De),_t==="%"&&(wt=wt*Ie/100,Bt=Bt*ot/100),{x:wt,y:Bt}}function Y(Pe){var De=Pe.height,Ie=Pe.width,ot=Pe.lockOffset,wt=Array.isArray(ot)?ot:[ot,ot];h()(wt.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",ot);var Bt=Object(x.a)(wt,2),_t=Bt[0],Ue=Bt[1];return[Z({height:De,lockOffset:_t,width:Ie}),Z({height:De,lockOffset:Ue,width:Ie})]}function k(Pe){var De=window.getComputedStyle(Pe),Ie=/(auto|scroll)/,ot=["overflow","overflowX","overflowY"];return ot.find(function(wt){return Ie.test(De[wt])})}function Q(Pe){return Pe instanceof HTMLElement?k(Pe)?Pe:Q(Pe.parentNode):null}function X(Pe){var De=window.getComputedStyle(Pe);return De.display==="grid"?{x:R(De.gridColumnGap),y:R(De.gridRowGap)}:{x:0,y:0}}var he={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},te={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function pe(Pe){var De="input, textarea, select, canvas, [contenteditable]",Ie=Pe.querySelectorAll(De),ot=Pe.cloneNode(!0),wt=Object(A.a)(ot.querySelectorAll(De));return wt.forEach(function(Bt,_t){if(Bt.type!=="file"&&(Bt.value=Ie[_t].value),Bt.type==="radio"&&Bt.name&&(Bt.name="__sortableClone__".concat(Bt.name)),Bt.tagName===te.Canvas&&Ie[_t].width>0&&Ie[_t].height>0){var Ue=Bt.getContext("2d");Ue.drawImage(Ie[_t],0,0)}}),ot}function Se(Pe){var De,Ie,ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ie=De=function(wt){Object(i.a)(Bt,wt);function Bt(){return Object(p.a)(this,Bt),Object(b.a)(this,Object(f.a)(Bt).apply(this,arguments))}return Object(v.a)(Bt,[{key:"componentDidMount",value:function(){var Ue=Object(t.findDOMNode)(this);Ue.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return h()(ot.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 Ue=ot.withRef?"wrappedInstance":null;return Object(s.createElement)(Pe,Object(d.a)({ref:Ue},this.props))}}]),Bt}(s.Component),Object(a.a)(De,"displayName",M("sortableHandle",Pe)),Ie}function we(Pe){return Pe.sortableHandle!=null}var We=function(){function Pe(De,Ie){Object(p.a)(this,Pe),this.container=De,this.onScrollCallback=Ie}return Object(v.a)(Pe,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(Ie){var ot=this,wt=Ie.translate,Bt=Ie.minTranslate,_t=Ie.maxTranslate,Ue=Ie.width,zt=Ie.height,xt={x:0,y:0},Pt={x:1,y:1},Ke={x:10,y:10},Ye=this.container,$e=Ye.scrollTop,ut=Ye.scrollLeft,et=Ye.scrollHeight,oe=Ye.scrollWidth,me=Ye.clientHeight,it=Ye.clientWidth,Be=$e===0,ht=et-$e-me===0,Mr=ut===0,Lt=oe-ut-it===0;wt.y>=_t.y-zt/2&&!ht?(xt.y=1,Pt.y=Ke.y*Math.abs((_t.y-zt/2-wt.y)/zt)):wt.x>=_t.x-Ue/2&&!Lt?(xt.x=1,Pt.x=Ke.x*Math.abs((_t.x-Ue/2-wt.x)/Ue)):wt.y<=Bt.y+zt/2&&!Be?(xt.y=-1,Pt.y=Ke.y*Math.abs((wt.y-zt/2-Bt.y)/zt)):wt.x<=Bt.x+Ue/2&&!Mr&&(xt.x=-1,Pt.x=Ke.x*Math.abs((wt.x-Ue/2-Bt.x)/Ue)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(xt.x!==0||xt.y!==0)&&(this.interval=setInterval(function(){ot.isAutoScrolling=!0;var or={left:Pt.x*xt.x,top:Pt.y*xt.y};ot.container.scrollTop+=or.top,ot.container.scrollLeft+=or.left,ot.onScrollCallback(or)},5))}}]),Pe}();function qe(Pe){var De=Pe.node;return{height:De.offsetHeight,width:De.offsetWidth}}function yt(Pe){var De=[te.Input,te.Textarea,te.Select,te.Option,te.Button];return De.indexOf(Pe.target.tagName)!==-1?!0:!!D(Pe.target,function(Ie){return Ie.contentEditable==="true"})}var _e={axis:u.a.oneOf(["x","y","xy"]),contentWindow:u.a.any,disableAutoscroll:u.a.bool,distance:u.a.number,getContainer:u.a.func,getHelperDimensions:u.a.func,helperClass:u.a.string,helperContainer:u.a.oneOfType([u.a.func,typeof HTMLElement=="undefined"?u.a.any:u.a.instanceOf(HTMLElement)]),hideSortableGhost:u.a.bool,keyboardSortingTransitionDuration:u.a.number,lockAxis:u.a.string,lockOffset:u.a.oneOfType([u.a.number,u.a.string,u.a.arrayOf(u.a.oneOfType([u.a.number,u.a.string]))]),lockToContainerEdges:u.a.bool,onSortEnd:u.a.func,onSortMove:u.a.func,onSortOver:u.a.func,onSortStart:u.a.func,pressDelay:u.a.number,pressThreshold:u.a.number,keyCodes:u.a.shape({lift:u.a.arrayOf(u.a.number),drop:u.a.arrayOf(u.a.number),cancel:u.a.arrayOf(u.a.number),up:u.a.arrayOf(u.a.number),down:u.a.arrayOf(u.a.number)}),shouldCancelStart:u.a.func,transitionDuration:u.a.number,updateBeforeSortStart:u.a.func,useDragHandle:u.a.bool,useWindowAsScrollContainer:u.a.bool},je={lift:[he.SPACE],drop:[he.SPACE],cancel:[he.ESC],up:[he.UP,he.LEFT],down:[he.DOWN,he.RIGHT]},Ct={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:qe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:je,shouldCancelStart:yt,transitionDuration:300,useWindowAsScrollContainer:!1},ct=Object.keys(_e);function nt(Pe){h()(!(Pe.distance&&Pe.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 bt(Pe,De){try{var Ie=Pe()}catch(ot){return De(!0,ot)}return Ie&&Ie.then?Ie.then(De.bind(null,!1),De.bind(null,!0)):De(!1,value)}function dt(Pe){var De,Ie,ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ie=De=function(wt){Object(i.a)(Bt,wt);function Bt(_t){var Ue;return Object(p.a)(this,Bt),Ue=Object(b.a)(this,Object(f.a)(Bt).call(this,_t)),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"state",{}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"handleStart",function(zt){var xt=Ue.props,Pt=xt.distance,Ke=xt.shouldCancelStart;if(zt.button===2||Ke(zt))return;Ue.touched=!0,Ue.position=P(zt);var Ye=D(zt.target,function(it){return it.sortableInfo!=null});if(Ye&&Ye.sortableInfo&&Ue.nodeIsChild(Ye)&&!Ue.state.sorting){var $e=Ue.props.useDragHandle,ut=Ye.sortableInfo,et=ut.index,oe=ut.collection,me=ut.disabled;if(me)return;if($e&&!D(zt.target,we))return;Ue.manager.active={collection:oe,index:et},!K(zt)&&zt.target.tagName===te.Anchor&&zt.preventDefault(),Pt||(Ue.props.pressDelay===0?Ue.handlePress(zt):Ue.pressTimer=setTimeout(function(){return Ue.handlePress(zt)},Ue.props.pressDelay))}}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"nodeIsChild",function(zt){return zt.sortableInfo.manager===Ue.manager}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"handleMove",function(zt){var xt=Ue.props,Pt=xt.distance,Ke=xt.pressThreshold;if(!Ue.state.sorting&&Ue.touched&&!Ue._awaitingUpdateBeforeSortStart){var Ye=P(zt),$e={x:Ue.position.x-Ye.x,y:Ue.position.y-Ye.y},ut=Math.abs($e.x)+Math.abs($e.y);Ue.delta=$e,!Pt&&(!Ke||ut>=Ke)?(clearTimeout(Ue.cancelTimer),Ue.cancelTimer=setTimeout(Ue.cancel,0)):Pt&&ut>=Pt&&Ue.manager.isActive()&&Ue.handlePress(zt)}}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"handleEnd",function(){Ue.touched=!1,Ue.cancel()}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"cancel",function(){var zt=Ue.props.distance,xt=Ue.state.sorting;xt||(zt||clearTimeout(Ue.pressTimer),Ue.manager.active=null)}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"handlePress",function(zt){try{var xt=Ue.manager.getActive(),Pt=function(){if(xt){var Ke=function(){var qt=ht.sortableInfo.index,hr=U(ht),Gt=X(Ue.container),de=Ue.scrollContainer.getBoundingClientRect(),ue=ut({index:qt,node:ht,collection:Mr});if(Ue.node=ht,Ue.margin=hr,Ue.gridGap=Gt,Ue.width=ue.width,Ue.height=ue.height,Ue.marginOffset={x:Ue.margin.left+Ue.margin.right+Ue.gridGap.x,y:Math.max(Ue.margin.top,Ue.margin.bottom,Ue.gridGap.y)},Ue.boundingClientRect=ht.getBoundingClientRect(),Ue.containerBoundingRect=de,Ue.index=qt,Ue.newIndex=qt,Ue.axis={x:$e.indexOf("x")>=0,y:$e.indexOf("y")>=0},Ue.offsetEdge=H(ht,Ue.container),Lt?Ue.initialOffset=P(Object(g.a)({},zt,{pageX:Ue.boundingClientRect.left,pageY:Ue.boundingClientRect.top})):Ue.initialOffset=P(zt),Ue.initialScroll={left:Ue.scrollContainer.scrollLeft,top:Ue.scrollContainer.scrollTop},Ue.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Ue.helper=Ue.helperContainer.appendChild(pe(ht)),w(Ue.helper,{boxSizing:"border-box",height:"".concat(Ue.height,"px"),left:"".concat(Ue.boundingClientRect.left-hr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Ue.boundingClientRect.top-hr.top,"px"),width:"".concat(Ue.width,"px")}),Lt&&Ue.helper.focus(),oe&&(Ue.sortableGhost=ht,w(ht,{opacity:0,visibility:"hidden"})),Ue.minTranslate={},Ue.maxTranslate={},Lt){var se=Be?{top:0,left:0,width:Ue.contentWindow.innerWidth,height:Ue.contentWindow.innerHeight}:Ue.containerBoundingRect,ae=se.top,ye=se.left,Ce=se.width,Oe=se.height,Te=ae+Oe,xe=ye+Ce;Ue.axis.x&&(Ue.minTranslate.x=ye-Ue.boundingClientRect.left,Ue.maxTranslate.x=xe-(Ue.boundingClientRect.left+Ue.width)),Ue.axis.y&&(Ue.minTranslate.y=ae-Ue.boundingClientRect.top,Ue.maxTranslate.y=Te-(Ue.boundingClientRect.top+Ue.height))}else Ue.axis.x&&(Ue.minTranslate.x=(Be?0:de.left)-Ue.boundingClientRect.left-Ue.width/2,Ue.maxTranslate.x=(Be?Ue.contentWindow.innerWidth:de.left+de.width)-Ue.boundingClientRect.left-Ue.width/2),Ue.axis.y&&(Ue.minTranslate.y=(Be?0:de.top)-Ue.boundingClientRect.top-Ue.height/2,Ue.maxTranslate.y=(Be?Ue.contentWindow.innerHeight:de.top+de.height)-Ue.boundingClientRect.top-Ue.height/2);et&&et.split(" ").forEach(function(ke){return Ue.helper.classList.add(ke)}),Ue.listenerNode=zt.touches?ht:Ue.contentWindow,Lt?(Ue.listenerNode.addEventListener("wheel",Ue.handleKeyEnd,!0),Ue.listenerNode.addEventListener("mousedown",Ue.handleKeyEnd,!0),Ue.listenerNode.addEventListener("keydown",Ue.handleKeyDown)):(C.move.forEach(function(ke){return Ue.listenerNode.addEventListener(ke,Ue.handleSortMove,!1)}),C.end.forEach(function(ke){return Ue.listenerNode.addEventListener(ke,Ue.handleSortEnd,!1)})),Ue.setState({sorting:!0,sortingIndex:qt}),it&&it({node:ht,index:qt,collection:Mr,isKeySorting:Lt,nodes:Ue.manager.getOrderedRefs(),helper:Ue.helper},zt),Lt&&Ue.keyMove(0)},Ye=Ue.props,$e=Ye.axis,ut=Ye.getHelperDimensions,et=Ye.helperClass,oe=Ye.hideSortableGhost,me=Ye.updateBeforeSortStart,it=Ye.onSortStart,Be=Ye.useWindowAsScrollContainer,ht=xt.node,Mr=xt.collection,Lt=Ue.manager.isKeySorting,or=function(){if(typeof me=="function"){Ue._awaitingUpdateBeforeSortStart=!0;var Qt=bt(function(){var qt=ht.sortableInfo.index;return Promise.resolve(me({collection:Mr,index:qt,node:ht,isKeySorting:Lt},zt)).then(function(){})},function(qt,hr){if(Ue._awaitingUpdateBeforeSortStart=!1,qt)throw hr;return hr});if(Qt&&Qt.then)return Qt.then(function(){})}}();return or&&or.then?or.then(Ke):Ke(or)}}();return Promise.resolve(Pt&&Pt.then?Pt.then(function(){}):void 0)}catch(Ke){return Promise.reject(Ke)}}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"handleSortMove",function(zt){var xt=Ue.props.onSortMove;typeof zt.preventDefault=="function"&&zt.preventDefault(),Ue.updateHelperPosition(zt),Ue.animateNodes(),Ue.autoscroll(),xt&&xt(zt)}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"handleSortEnd",function(zt){var xt=Ue.props,Pt=xt.hideSortableGhost,Ke=xt.onSortEnd,Ye=Ue.manager,$e=Ye.active.collection,ut=Ye.isKeySorting,et=Ue.manager.getOrderedRefs();Ue.listenerNode&&(ut?(Ue.listenerNode.removeEventListener("wheel",Ue.handleKeyEnd,!0),Ue.listenerNode.removeEventListener("mousedown",Ue.handleKeyEnd,!0),Ue.listenerNode.removeEventListener("keydown",Ue.handleKeyDown)):(C.move.forEach(function(ht){return Ue.listenerNode.removeEventListener(ht,Ue.handleSortMove)}),C.end.forEach(function(ht){return Ue.listenerNode.removeEventListener(ht,Ue.handleSortEnd)}))),Ue.helper.parentNode.removeChild(Ue.helper),Pt&&Ue.sortableGhost&&w(Ue.sortableGhost,{opacity:"",visibility:""});for(var oe=0,me=et.length;oe<me;oe++){var it=et[oe],Be=it.node;it.edgeOffset=null,it.boundingClientRect=null,L(Be,null),N(Be,null),it.translate=null}Ue.autoScroller.clear(),Ue.manager.active=null,Ue.manager.isKeySorting=!1,Ue.setState({sorting:!1,sortingIndex:null}),typeof Ke=="function"&&Ke({collection:$e,newIndex:Ue.newIndex,oldIndex:Ue.index,isKeySorting:ut,nodes:et},zt),Ue.touched=!1}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"autoscroll",function(){var zt=Ue.props.disableAutoscroll,xt=Ue.manager.isKeySorting;if(zt){Ue.autoScroller.clear();return}if(xt){var Pt=Object(g.a)({},Ue.translate),Ke=0,Ye=0;Ue.axis.x&&(Pt.x=Math.min(Ue.maxTranslate.x,Math.max(Ue.minTranslate.x,Ue.translate.x)),Ke=Ue.translate.x-Pt.x),Ue.axis.y&&(Pt.y=Math.min(Ue.maxTranslate.y,Math.max(Ue.minTranslate.y,Ue.translate.y)),Ye=Ue.translate.y-Pt.y),Ue.translate=Pt,L(Ue.helper,Ue.translate),Ue.scrollContainer.scrollLeft+=Ke,Ue.scrollContainer.scrollTop+=Ye;return}Ue.autoScroller.update({height:Ue.height,maxTranslate:Ue.maxTranslate,minTranslate:Ue.minTranslate,translate:Ue.translate,width:Ue.width})}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"onAutoScroll",function(zt){Ue.translate.x+=zt.left,Ue.translate.y+=zt.top,Ue.animateNodes()}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"handleKeyDown",function(zt){var xt=zt.keyCode,Pt=Ue.props,Ke=Pt.shouldCancelStart,Ye=Pt.keyCodes,$e=Ye===void 0?{}:Ye,ut=Object(g.a)({},je,$e);if(Ue.manager.active&&!Ue.manager.isKeySorting||!Ue.manager.active&&(!ut.lift.includes(xt)||Ke(zt)||!Ue.isValidSortingTarget(zt)))return;zt.stopPropagation(),zt.preventDefault(),ut.lift.includes(xt)&&!Ue.manager.active?Ue.keyLift(zt):ut.drop.includes(xt)&&Ue.manager.active?Ue.keyDrop(zt):ut.cancel.includes(xt)?(Ue.newIndex=Ue.manager.active.index,Ue.keyDrop(zt)):ut.up.includes(xt)?Ue.keyMove(-1):ut.down.includes(xt)&&Ue.keyMove(1)}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"keyLift",function(zt){var xt=zt.target,Pt=D(xt,function(ut){return ut.sortableInfo!=null}),Ke=Pt.sortableInfo,Ye=Ke.index,$e=Ke.collection;Ue.initialFocusedNode=xt,Ue.manager.isKeySorting=!0,Ue.manager.active={index:Ye,collection:$e},Ue.handlePress(zt)}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"keyMove",function(zt){var xt=Ue.manager.getOrderedRefs(),Pt=xt[xt.length-1].node.sortableInfo.index,Ke=Ue.newIndex+zt,Ye=Ue.newIndex;if(Ke<0||Ke>Pt)return;Ue.prevIndex=Ye,Ue.newIndex=Ke;var $e=_(Ue.newIndex,Ue.prevIndex,Ue.index),ut=xt.find(function(Lt){var or=Lt.node;return or.sortableInfo.index===$e}),et=ut.node,oe=Ue.containerScrollDelta,me=ut.boundingClientRect||j(et,oe),it=ut.translate||{x:0,y:0},Be={top:me.top+it.y-oe.top,left:me.left+it.x-oe.left},ht=Ye<Ke,Mr={x:ht&&Ue.axis.x?et.offsetWidth-Ue.width:0,y:ht&&Ue.axis.y?et.offsetHeight-Ue.height:0};Ue.handleSortMove({pageX:Be.left+Mr.x,pageY:Be.top+Mr.y,ignoreTransition:zt===0})}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"keyDrop",function(zt){Ue.handleSortEnd(zt),Ue.initialFocusedNode&&Ue.initialFocusedNode.focus()}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"handleKeyEnd",function(zt){Ue.manager.active&&Ue.keyDrop(zt)}),Object(a.a)(Object(r.a)(Object(r.a)(Ue)),"isValidSortingTarget",function(zt){var xt=Ue.props.useDragHandle,Pt=zt.target,Ke=D(Pt,function(Ye){return Ye.sortableInfo!=null});return Ke&&Ke.sortableInfo&&!Ke.sortableInfo.disabled&&(xt?we(Pt):Pt.sortableInfo)}),nt(_t),Ue.manager=new y,Ue.events={end:Ue.handleEnd,move:Ue.handleMove,start:Ue.handleStart},Ue}return Object(v.a)(Bt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Ue=this,zt=this.props.useWindowAsScrollContainer,xt=this.getContainer();Promise.resolve(xt).then(function(Pt){Ue.container=Pt,Ue.document=Ue.container.ownerDocument||document;var Ke=Ue.props.contentWindow||Ue.document.defaultView||window;Ue.contentWindow=typeof Ke=="function"?Ke():Ke,Ue.scrollContainer=zt?Ue.document.scrollingElement||Ue.document.documentElement:Q(Ue.container)||Ue.container,Ue.autoScroller=new We(Ue.scrollContainer,Ue.onAutoScroll),Object.keys(Ue.events).forEach(function(Ye){return C[Ye].forEach(function($e){return Ue.container.addEventListener($e,Ue.events[Ye],!1)})}),Ue.container.addEventListener("keydown",Ue.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Ue=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(zt){return C[zt].forEach(function(xt){return Ue.container.removeEventListener(xt,Ue.events[zt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Ue){var zt=this.props,xt=zt.lockAxis,Pt=zt.lockOffset,Ke=zt.lockToContainerEdges,Ye=zt.transitionDuration,$e=zt.keyboardSortingTransitionDuration,ut=$e===void 0?Ye:$e,et=this.manager.isKeySorting,oe=Ue.ignoreTransition,me=P(Ue),it={x:me.x-this.initialOffset.x,y:me.y-this.initialOffset.y};if(it.y-=window.pageYOffset-this.initialWindowScroll.top,it.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=it,Ke){var Be=Y({height:this.height,lockOffset:Pt,width:this.width}),ht=Object(x.a)(Be,2),Mr=ht[0],Lt=ht[1],or={x:this.width/2-Mr.x,y:this.height/2-Mr.y},Qt={x:this.width/2-Lt.x,y:this.height/2-Lt.y};it.x=F(this.minTranslate.x+or.x,this.maxTranslate.x-Qt.x,it.x),it.y=F(this.minTranslate.y+or.y,this.maxTranslate.y-Qt.y,it.y)}xt==="x"?it.y=0:xt==="y"&&(it.x=0),et&&ut&&!oe&&N(this.helper,ut),L(this.helper,it)}},{key:"animateNodes",value:function(){var Ue=this.props,zt=Ue.transitionDuration,xt=Ue.hideSortableGhost,Pt=Ue.onSortOver,Ke=this.containerScrollDelta,Ye=this.windowScrollDelta,$e=this.manager.getOrderedRefs(),ut={left:this.offsetEdge.left+this.translate.x+Ke.left,top:this.offsetEdge.top+this.translate.y+Ke.top},et=this.manager.isKeySorting,oe=this.newIndex;this.newIndex=null;for(var me=0,it=$e.length;me<it;me++){var Be=$e[me].node,ht=Be.sortableInfo.index,Mr=Be.offsetWidth,Lt=Be.offsetHeight,or={height:this.height>Lt?Lt/2:this.height/2,width:this.width>Mr?Mr/2:this.width/2},Qt=et&&ht>this.index&&ht<=oe,qt=et&&ht<this.index&&ht>=oe,hr={x:0,y:0},Gt=$e[me].edgeOffset;Gt||(Gt=H(Be,this.container),$e[me].edgeOffset=Gt,et&&($e[me].boundingClientRect=j(Be,Ke)));var de=me<$e.length-1&&$e[me+1],ue=me>0&&$e[me-1];if(de&&!de.edgeOffset&&(de.edgeOffset=H(de.node,this.container),et&&(de.boundingClientRect=j(de.node,Ke))),ht===this.index){xt&&(this.sortableGhost=Be,w(Be,{opacity:0,visibility:"hidden"}));continue}zt&&N(Be,zt),this.axis.x?this.axis.y?qt||ht<this.index&&(ut.left+Ye.left-or.width<=Gt.left&&ut.top+Ye.top<=Gt.top+or.height||ut.top+Ye.top+or.height<=Gt.top)?(hr.x=this.width+this.marginOffset.x,Gt.left+hr.x>this.containerBoundingRect.width-or.width&&(de&&(hr.x=de.edgeOffset.left-Gt.left,hr.y=de.edgeOffset.top-Gt.top)),this.newIndex===null&&(this.newIndex=ht)):(Qt||ht>this.index&&(ut.left+Ye.left+or.width>=Gt.left&&ut.top+Ye.top+or.height>=Gt.top||ut.top+Ye.top+or.height>=Gt.top+Lt))&&(hr.x=-(this.width+this.marginOffset.x),Gt.left+hr.x<this.containerBoundingRect.left+or.width&&(ue&&(hr.x=ue.edgeOffset.left-Gt.left,hr.y=ue.edgeOffset.top-Gt.top)),this.newIndex=ht):Qt||ht>this.index&&ut.left+Ye.left+or.width>=Gt.left?(hr.x=-(this.width+this.marginOffset.x),this.newIndex=ht):(qt||ht<this.index&&ut.left+Ye.left<=Gt.left+or.width)&&(hr.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=ht)):this.axis.y&&(Qt||ht>this.index&&ut.top+Ye.top+or.height>=Gt.top?(hr.y=-(this.height+this.marginOffset.y),this.newIndex=ht):(qt||ht<this.index&&ut.top+Ye.top<=Gt.top+or.height)&&(hr.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=ht))),L(Be,hr),$e[me].translate=hr}this.newIndex==null&&(this.newIndex=this.index),et&&(this.newIndex=oe);var se=et?this.prevIndex:oe;Pt&&this.newIndex!==se&&Pt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:se,isKeySorting:et,nodes:$e,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return h()(ot.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Ue=this.props.getContainer;return typeof Ue!="function"?Object(t.findDOMNode)(this):Ue(ot.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Ue=ot.withRef?"wrappedInstance":null;return Object(s.createElement)(Pe,Object(d.a)({ref:Ue},E(this.props,ct)))}},{key:"helperContainer",get:function(){var Ue=this.props.helperContainer;return typeof Ue=="function"?Ue():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Ue=this.props.useWindowAsScrollContainer;return Ue?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),Bt}(s.Component),Object(a.a)(De,"displayName",M("sortableList",Pe)),Object(a.a)(De,"defaultProps",Ct),Object(a.a)(De,"propTypes",_e),Object(a.a)(De,"childContextTypes",{manager:u.a.object.isRequired}),Ie}var vt={index:u.a.number.isRequired,collection:u.a.oneOfType([u.a.number,u.a.string]),disabled:u.a.bool},Qe=Object.keys(vt);function mt(Pe){var De,Ie,ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Ie=De=function(wt){Object(i.a)(Bt,wt);function Bt(){return Object(p.a)(this,Bt),Object(b.a)(this,Object(f.a)(Bt).apply(this,arguments))}return Object(v.a)(Bt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Ue){this.node&&(Ue.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Ue.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Ue.collection!==this.props.collection&&(this.unregister(Ue.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Ue=this.props,zt=Ue.collection,xt=Ue.disabled,Pt=Ue.index,Ke=Object(t.findDOMNode)(this);Ke.sortableInfo={collection:zt,disabled:xt,index:Pt,manager:this.context.manager},this.node=Ke,this.ref={node:Ke},this.context.manager.add(zt,this.ref)}},{key:"unregister",value:function(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Ue,this.ref)}},{key:"getWrappedInstance",value:function(){return h()(ot.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 Ue=ot.withRef?"wrappedInstance":null;return Object(s.createElement)(Pe,Object(d.a)({ref:Ue},E(this.props,Qe)))}}]),Bt}(s.Component),Object(a.a)(De,"displayName",M("sortableElement",Pe)),Object(a.a)(De,"contextTypes",{manager:u.a.object.isRequired}),Object(a.a)(De,"propTypes",vt),Object(a.a)(De,"defaultProps",{collection:0}),Ie}},YNAk:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("QyFq")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="CaretDownFilled";var f=g.forwardRef(b);B.default=f},YNf1:function(J,B,e){var d=e("IwbS"),x=e("6Ic6"),g=.3,p=x.extend({type:"parallel",init:function(){this._dataGroup=new d.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(l,n,u,t){var c=this._dataGroup,o=l.getData(),h=this._data,A=l.coordinateSystem,y=A.dimensions,O=i(l);o.diff(h).add(S).update(E).remove(C).execute();function S(w){var L=f(o,c,w,y,A);r(L,o,w,O)}function E(w,L){var N=h.getItemGraphicEl(L),D=b(o,w,y,A);o.setItemGraphicEl(w,N);var F=t&&t.animation===!1?null:l;d.updateProps(N,{shape:{points:D}},F,w),r(N,o,w,O)}function C(w){var L=h.getItemGraphicEl(w);c.remove(L)}if(!this._initialized){this._initialized=!0;var T=v(A,l,function(){setTimeout(function(){c.removeClipPath()})});c.setClipPath(T)}this._data=o},incrementalPrepareRender:function(l,n,u){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(l,n,u){for(var t=n.getData(),c=n.coordinateSystem,o=c.dimensions,h=i(n),A=l.start;A<l.end;A++){var y=f(t,this._dataGroup,A,o,c);y.incremental=!0,r(y,t,A,h)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function v(l,n,u){var t=l.model,c=l.getRect(),o=new d.Rect({shape:{x:c.x,y:c.y,width:c.width,height:c.height}}),h=t.get("layout")==="horizontal"?"width":"height";return o.setShape(h,0),d.initProps(o,{shape:{width:c.width,height:c.height}},n,u),o}function b(l,n,u,t){for(var c=[],o=0;o<u.length;o++){var h=u[o],A=l.get(l.mapDimension(h),n);a(A,t.getAxis(h).type)||c.push(t.dataToPoint(A,h))}return c}function f(l,n,u,t,c){var o=b(l,u,t,c),h=new d.Polyline({shape:{points:o},silent:!0,z2:10});return n.add(h),l.setItemGraphicEl(u,h),h}function i(l){var n=l.get("smooth",!0);return n===!0&&(n=g),{lineStyle:l.getModel("lineStyle").getLineStyle(),smooth:n!=null?n:g}}function r(l,n,u,t){var c=t.lineStyle;if(n.hasItemOption){var o=n.getItemModel(u).getModel("lineStyle");c=o.getLineStyle()}l.useStyle(c);var h=l.style;h.fill=null,h.stroke=n.getItemVisual(u,"color"),h.opacity=n.getItemVisual(u,"opacity"),t.smooth&&(l.shape.smooth=t.smooth)}function a(l,n){return n==="category"?l==null:l==null||isNaN(l)}var s=p;J.exports=s},YOMW:function(J,B,e){var d=e("bYtY"),x={get:function(v,b,f){var i=d.clone((g[v]||{})[b]);return f&&d.isArray(i)?i[i.length-1]:i}},g={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},p=x;J.exports=p},YXkt:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=e("Qxkt"),v=e("gPAo"),b=e("7G+c"),f=e("KxfA"),i=f.defaultDimValueGetters,r=f.DefaultDataProvider,a=e("L0Ub"),s=a.summarizeDimensions,l=e("Vi4m"),n=g.isObject,u="undefined",t=-1,c="e\0\0",o={float:typeof Float64Array===u?Array:Float64Array,int:typeof Int32Array===u?Array:Int32Array,ordinal:Array,number:Array,time:Array},h=typeof Uint32Array===u?Array:Uint32Array,A=typeof Int32Array===u?Array:Int32Array,y=typeof Uint16Array===u?Array:Uint16Array;function O(k){return k._rawCount>65535?h:y}function S(k){var Q=k.constructor;return Q===Array?k.slice():new Q(k)}var E=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],C=["_extent","_approximateExtent","_rawExtent"];function T(k,Q){g.each(E.concat(Q.__wrappedMethods||[]),function(X){Q.hasOwnProperty(X)&&(k[X]=Q[X])}),k.__wrappedMethods=Q.__wrappedMethods,g.each(C,function(X){k[X]=g.clone(Q[X])}),k._calculationInfo=g.extend(Q._calculationInfo)}var w=function(k,Q){k=k||["x","y"];for(var X={},he=[],te={},pe=0;pe<k.length;pe++){var Se=k[pe];g.isString(Se)?Se=new l({name:Se}):Se instanceof l||(Se=new l(Se));var we=Se.name;Se.type=Se.type||"float",Se.coordDim||(Se.coordDim=we,Se.coordDimIndex=0),Se.otherDims=Se.otherDims||{},he.push(we),X[we]=Se,Se.index=pe,Se.createInvertedIndices&&(te[we]=[])}this.dimensions=he,this._dimensionInfos=X,this.hostModel=Q,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=s(this),this._invertedIndicesMap=te,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},L=w.prototype;L.type="list",L.hasItemOption=!0,L.getDimension=function(k){return(typeof k=="number"||!isNaN(k)&&!this._dimensionInfos.hasOwnProperty(k))&&(k=this.dimensions[k]),k},L.getDimensionInfo=function(k){return this._dimensionInfos[this.getDimension(k)]},L.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},L.mapDimension=function(k,Q){var X=this._dimensionsSummary;if(Q==null)return X.encodeFirstDimNotExtra[k];var he=X.encode[k];return Q===!0?(he||[]).slice():he&&he[Q]},L.initData=function(k,Q,X){var he=b.isInstance(k)||g.isArrayLike(k);he&&(k=new r(k,this.dimensions.length)),this._rawData=k,this._storage={},this._indices=null,this._nameList=Q||[],this._idList=[],this._nameRepeatCount={},X||(this.hasItemOption=!1),this.defaultDimValueGetter=i[this._rawData.getSource().sourceFormat],this._dimValueGetter=X=X||this.defaultDimValueGetter,this._dimValueGetterArrayRows=i.arrayRows,this._rawExtent={},this._initDataFromProvider(0,k.count()),k.pure&&(this.hasItemOption=!1)},L.getProvider=function(){return this._rawData},L.appendData=function(k){var Q=this._rawData,X=this.count();Q.appendData(k);var he=Q.count();Q.persistent||(he+=X),this._initDataFromProvider(X,he)},L.appendValues=function(k,Q){for(var X=this._chunkSize,he=this._storage,te=this.dimensions,pe=te.length,Se=this._rawExtent,we=this.count(),We=we+Math.max(k.length,Q?Q.length:0),qe=this._chunkCount,yt=0;yt<pe;yt++){var _e=te[yt];Se[_e]||(Se[_e]=_()),he[_e]||(he[_e]=[]),N(he,this._dimensionInfos[_e],X,qe,We),this._chunkCount=he[_e].length}for(var je=new Array(pe),Ct=we;Ct<We;Ct++){for(var ct=Ct-we,nt=Math.floor(Ct/X),bt=Ct%X,dt=0;dt<pe;dt++){var _e=te[dt],vt=this._dimValueGetterArrayRows(k[ct]||je,_e,ct,dt);he[_e][nt][bt]=vt;var Qe=Se[_e];vt<Qe[0]&&(Qe[0]=vt),vt>Qe[1]&&(Qe[1]=vt)}Q&&(this._nameList[Ct]=Q[ct])}this._rawCount=this._count=We,this._extent={},D(this)},L._initDataFromProvider=function(k,Q){if(k>=Q)return;for(var X=this._chunkSize,he=this._rawData,te=this._storage,pe=this.dimensions,Se=pe.length,we=this._dimensionInfos,We=this._nameList,qe=this._idList,yt=this._rawExtent,_e=this._nameRepeatCount={},je,Ct=this._chunkCount,ct=0;ct<Se;ct++){var nt=pe[ct];yt[nt]||(yt[nt]=_());var bt=we[nt];bt.otherDims.itemName===0&&(je=this._nameDimIdx=ct),bt.otherDims.itemId===0&&(this._idDimIdx=ct),te[nt]||(te[nt]=[]),N(te,bt,X,Ct,Q),this._chunkCount=te[nt].length}for(var dt=new Array(Se),vt=k;vt<Q;vt++){dt=he.getItem(vt,dt);for(var Qe=Math.floor(vt/X),mt=vt%X,Pe=0;Pe<Se;Pe++){var nt=pe[Pe],De=te[nt][Qe],Ie=this._dimValueGetter(dt,nt,vt,Pe);De[mt]=Ie;var ot=yt[nt];Ie<ot[0]&&(ot[0]=Ie),Ie>ot[1]&&(ot[1]=Ie)}if(!he.pure){var wt=We[vt];if(dt&&wt==null){if(dt.name!=null)We[vt]=wt=dt.name;else if(je!=null){var Bt=pe[je],_t=te[Bt][Qe];if(_t){wt=_t[mt];var Ue=we[Bt].ordinalMeta;Ue&&Ue.categories.length&&(wt=Ue.categories[wt])}}}var zt=dt==null?null:dt.id;zt==null&&wt!=null&&(_e[wt]=_e[wt]||0,zt=wt,_e[wt]>0&&(zt+="__ec__"+_e[wt]),_e[wt]++),zt!=null&&(qe[vt]=zt)}}!he.persistent&&he.clean&&he.clean(),this._rawCount=this._count=Q,this._extent={},D(this)};function N(k,Q,X,he,te){var pe=o[Q.type],Se=he-1,we=Q.name,We=k[we][Se];if(We&&We.length<X){for(var qe=new pe(Math.min(te-Se*X,X)),yt=0;yt<We.length;yt++)qe[yt]=We[yt];k[we][Se]=qe}for(var _e=he*X;_e<te;_e+=X)k[we].push(new pe(Math.min(te-_e,X)))}function D(k){var Q=k._invertedIndicesMap;g.each(Q,function(X,he){var te=k._dimensionInfos[he],pe=te.ordinalMeta;if(pe){X=Q[he]=new A(pe.categories.length);for(var Se=0;Se<X.length;Se++)X[Se]=t;for(var Se=0;Se<k._count;Se++)X[k.get(he,Se)]=Se}})}function F(k,Q,X){var he;if(Q!=null){var te=k._chunkSize,pe=Math.floor(X/te),Se=X%te,we=k.dimensions[Q],We=k._storage[we][pe];if(We){he=We[Se];var qe=k._dimensionInfos[we].ordinalMeta;qe&&qe.categories.length&&(he=qe.categories[he])}}return he}L.count=function(){return this._count},L.getIndices=function(){var k,Q=this._indices;if(Q){var X=Q.constructor,he=this._count;if(X===Array){k=new X(he);for(var te=0;te<he;te++)k[te]=Q[te]}else k=new X(Q.buffer,0,he)}else for(var X=O(this),k=new X(this.count()),te=0;te<k.length;te++)k[te]=te;return k},L.get=function(k,Q){if(!(Q>=0&&Q<this._count))return NaN;var X=this._storage;if(!X[k])return NaN;Q=this.getRawIndex(Q);var he=Math.floor(Q/this._chunkSize),te=Q%this._chunkSize,pe=X[k][he],Se=pe[te];return Se},L.getByRawIndex=function(k,Q){if(!(Q>=0&&Q<this._rawCount))return NaN;var X=this._storage[k];if(!X)return NaN;var he=Math.floor(Q/this._chunkSize),te=Q%this._chunkSize,pe=X[he];return pe[te]},L._getFast=function(k,Q){var X=Math.floor(Q/this._chunkSize),he=Q%this._chunkSize,te=this._storage[k][X];return te[he]},L.getValues=function(k,Q){var X=[];g.isArray(k)||(Q=k,k=this.dimensions);for(var he=0,te=k.length;he<te;he++)X.push(this.get(k[he],Q));return X},L.hasValue=function(k){for(var Q=this._dimensionsSummary.dataDimsOnCoord,X=0,he=Q.length;X<he;X++)if(isNaN(this.get(Q[X],k)))return!1;return!0},L.getDataExtent=function(k){k=this.getDimension(k);var Q=this._storage[k],X=_();if(!Q)return X;var he=this.count(),te=!this._indices,pe;if(te)return this._rawExtent[k].slice();if(pe=this._extent[k],pe)return pe.slice();pe=X;for(var Se=pe[0],we=pe[1],We=0;We<he;We++){var qe=this._getFast(k,this.getRawIndex(We));qe<Se&&(Se=qe),qe>we&&(we=qe)}return pe=[Se,we],this._extent[k]=pe,pe},L.getApproximateExtent=function(k){return k=this.getDimension(k),this._approximateExtent[k]||this.getDataExtent(k)},L.setApproximateExtent=function(k,Q){Q=this.getDimension(Q),this._approximateExtent[Q]=k.slice()},L.getCalculationInfo=function(k){return this._calculationInfo[k]},L.setCalculationInfo=function(k,Q){n(k)?g.extend(this._calculationInfo,k):this._calculationInfo[k]=Q},L.getSum=function(k){var Q=this._storage[k],X=0;if(Q)for(var he=0,te=this.count();he<te;he++){var pe=this.get(k,he);isNaN(pe)||(X+=pe)}return X},L.getMedian=function(k){var Q=[];this.each(k,function(te,pe){isNaN(te)||Q.push(te)});var X=[].concat(Q).sort(function(te,pe){return te-pe}),he=this.count();return he===0?0:he%2===1?X[(he-1)/2]:(X[he/2]+X[he/2-1])/2},L.rawIndexOf=function(k,Q){var X=k&&this._invertedIndicesMap[k],he=X[Q];return he==null||isNaN(he)?t:he},L.indexOfName=function(k){for(var Q=0,X=this.count();Q<X;Q++)if(this.getName(Q)===k)return Q;return-1},L.indexOfRawIndex=function(k){if(k>=this._rawCount||k<0)return-1;if(!this._indices)return k;var Q=this._indices,X=Q[k];if(X!=null&&X<this._count&&X===k)return k;for(var he=0,te=this._count-1;he<=te;){var pe=(he+te)/2|0;if(Q[pe]<k)he=pe+1;else if(Q[pe]>k)te=pe-1;else return pe}return-1},L.indicesOfNearest=function(k,Q,X){var he=this._storage,te=he[k],pe=[];if(!te)return pe;X==null&&(X=Infinity);for(var Se=Infinity,we=-1,We=0,qe=0,yt=this.count();qe<yt;qe++){var _e=Q-this.get(k,qe),je=Math.abs(_e);je<=X&&((je<Se||je===Se&&_e>=0&&we<0)&&(Se=je,we=_e,We=0),_e===we&&(pe[We++]=qe))}return pe.length=We,pe},L.getRawIndex=R;function R(k){return k}function U(k){return k<this._count&&k>=0?this._indices[k]:-1}L.getRawDataItem=function(k){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(k));for(var Q=[],X=0;X<this.dimensions.length;X++){var he=this.dimensions[X];Q.push(this.get(he,k))}return Q},L.getName=function(k){var Q=this.getRawIndex(k);return this._nameList[Q]||F(this,this._nameDimIdx,Q)||""},L.getId=function(k){return M(this,this.getRawIndex(k))};function M(k,Q){var X=k._idList[Q];return X==null&&(X=F(k,k._idDimIdx,Q)),X==null&&(X=c+Q),X}function j(k){return g.isArray(k)||(k=[k]),k}function P(k,Q){for(var X=0;X<Q.length;X++)k._dimensionInfos[Q[X]]||console.error("Unkown dimension "+Q[X])}L.each=function(k,Q,X,he){"use strict";if(!this._count)return;typeof k=="function"&&(he=X,X=Q,Q=k,k=[]),X=X||he||this,k=g.map(j(k),this.getDimension,this);for(var te=k.length,pe=0;pe<this.count();pe++)switch(te){case 0:Q.call(X,pe);break;case 1:Q.call(X,this.get(k[0],pe),pe);break;case 2:Q.call(X,this.get(k[0],pe),this.get(k[1],pe),pe);break;default:for(var Se=0,we=[];Se<te;Se++)we[Se]=this.get(k[Se],pe);we[Se]=pe,Q.apply(X,we)}},L.filterSelf=function(k,Q,X,he){"use strict";if(!this._count)return;typeof k=="function"&&(he=X,X=Q,Q=k,k=[]),X=X||he||this,k=g.map(j(k),this.getDimension,this);for(var te=this.count(),pe=O(this),Se=new pe(te),we=[],We=k.length,qe=0,yt=k[0],_e=0;_e<te;_e++){var je,Ct=this.getRawIndex(_e);if(We===0)je=Q.call(X,_e);else if(We===1){var ct=this._getFast(yt,Ct);je=Q.call(X,ct,_e)}else{for(var nt=0;nt<We;nt++)we[nt]=this._getFast(yt,Ct);we[nt]=_e,je=Q.apply(X,we)}je&&(Se[qe++]=Ct)}return qe<te&&(this._indices=Se),this._count=qe,this._extent={},this.getRawIndex=this._indices?U:R,this},L.selectRange=function(k){"use strict";if(!this._count)return;var Q=[];for(var X in k)k.hasOwnProperty(X)&&Q.push(X);var he=Q.length;if(!he)return;var te=this.count(),pe=O(this),Se=new pe(te),we=0,We=Q[0],qe=k[We][0],yt=k[We][1],_e=!1;if(!this._indices){var je=0;if(he===1){for(var Ct=this._storage[Q[0]],ct=0;ct<this._chunkCount;ct++)for(var nt=Ct[ct],bt=Math.min(this._count-ct*this._chunkSize,this._chunkSize),dt=0;dt<bt;dt++){var vt=nt[dt];(vt>=qe&&vt<=yt||isNaN(vt))&&(Se[we++]=je),je++}_e=!0}else if(he===2){for(var Ct=this._storage[We],Qe=this._storage[Q[1]],mt=k[Q[1]][0],Pe=k[Q[1]][1],ct=0;ct<this._chunkCount;ct++)for(var nt=Ct[ct],De=Qe[ct],bt=Math.min(this._count-ct*this._chunkSize,this._chunkSize),dt=0;dt<bt;dt++){var vt=nt[dt],Ie=De[dt];(vt>=qe&&vt<=yt||isNaN(vt))&&(Ie>=mt&&Ie<=Pe||isNaN(Ie))&&(Se[we++]=je),je++}_e=!0}}if(!_e)if(he===1)for(var dt=0;dt<te;dt++){var ot=this.getRawIndex(dt),vt=this._getFast(We,ot);(vt>=qe&&vt<=yt||isNaN(vt))&&(Se[we++]=ot)}else for(var dt=0;dt<te;dt++){for(var wt=!0,ot=this.getRawIndex(dt),ct=0;ct<he;ct++){var Bt=Q[ct],vt=this._getFast(X,ot);(vt<k[Bt][0]||vt>k[Bt][1])&&(wt=!1)}wt&&(Se[we++]=this.getRawIndex(dt))}return we<te&&(this._indices=Se),this._count=we,this._extent={},this.getRawIndex=this._indices?U:R,this},L.mapArray=function(k,Q,X,he){"use strict";typeof k=="function"&&(he=X,X=Q,Q=k,k=[]),X=X||he||this;var te=[];return this.each(k,function(){te.push(Q&&Q.apply(this,arguments))},X),te};function K(k,Q){var X=k.dimensions,he=new w(g.map(X,k.getDimensionInfo,k),k.hostModel);T(he,k);for(var te=he._storage={},pe=k._storage,Se=0;Se<X.length;Se++){var we=X[Se];pe[we]&&(g.indexOf(Q,we)>=0?(te[we]=H(pe[we]),he._rawExtent[we]=_(),he._extent[we]=null):te[we]=pe[we])}return he}function H(k){for(var Q=new Array(k.length),X=0;X<k.length;X++)Q[X]=S(k[X]);return Q}function _(){return[Infinity,-Infinity]}L.map=function(k,Q,X,he){"use strict";X=X||he||this,k=g.map(j(k),this.getDimension,this);var te=K(this,k);te._indices=this._indices,te.getRawIndex=te._indices?U:R;for(var pe=te._storage,Se=[],we=this._chunkSize,We=k.length,qe=this.count(),yt=[],_e=te._rawExtent,je=0;je<qe;je++){for(var Ct=0;Ct<We;Ct++)yt[Ct]=this.get(k[Ct],je);yt[We]=je;var ct=Q&&Q.apply(X,yt);if(ct!=null){typeof ct!="object"&&(Se[0]=ct,ct=Se);for(var nt=this.getRawIndex(je),bt=Math.floor(nt/we),dt=nt%we,vt=0;vt<ct.length;vt++){var Qe=k[vt],mt=ct[vt],Pe=_e[Qe],De=pe[Qe];De&&(De[bt][dt]=mt),mt<Pe[0]&&(Pe[0]=mt),mt>Pe[1]&&(Pe[1]=mt)}}}return te},L.downSample=function(k,Q,X,he){for(var te=K(this,[k]),pe=te._storage,Se=[],we=Math.floor(1/Q),We=pe[k],qe=this.count(),yt=this._chunkSize,_e=te._rawExtent[k],je=new(O(this))(qe),Ct=0,ct=0;ct<qe;ct+=we){we>qe-ct&&(we=qe-ct,Se.length=we);for(var nt=0;nt<we;nt++){var bt=this.getRawIndex(ct+nt),dt=Math.floor(bt/yt),vt=bt%yt;Se[nt]=We[dt][vt]}var Qe=X(Se),mt=this.getRawIndex(Math.min(ct+he(Se,Qe)||0,qe-1)),Pe=Math.floor(mt/yt),De=mt%yt;We[Pe][De]=Qe,Qe<_e[0]&&(_e[0]=Qe),Qe>_e[1]&&(_e[1]=Qe),je[Ct++]=mt}return te._count=Ct,te._indices=je,te.getRawIndex=U,te},L.getItemModel=function(k){var Q=this.hostModel;return new p(this.getRawDataItem(k),Q,Q&&Q.ecModel)},L.diff=function(k){var Q=this;return new v(k?k.getIndices():[],this.getIndices(),function(X){return M(k,X)},function(X){return M(Q,X)})},L.getVisual=function(k){var Q=this._visual;return Q&&Q[k]},L.setVisual=function(k,Q){if(n(k)){for(var X in k)k.hasOwnProperty(X)&&this.setVisual(X,k[X]);return}this._visual=this._visual||{},this._visual[k]=Q},L.setLayout=function(k,Q){if(n(k)){for(var X in k)k.hasOwnProperty(X)&&this.setLayout(X,k[X]);return}this._layout[k]=Q},L.getLayout=function(k){return this._layout[k]},L.getItemLayout=function(k){return this._itemLayouts[k]},L.setItemLayout=function(k,Q,X){this._itemLayouts[k]=X?g.extend(this._itemLayouts[k]||{},Q):Q},L.clearItemLayouts=function(){this._itemLayouts.length=0},L.getItemVisual=function(k,Q,X){var he=this._itemVisuals[k],te=he&&he[Q];return te==null&&!X?this.getVisual(Q):te},L.setItemVisual=function(k,Q,X){var he=this._itemVisuals[k]||{},te=this.hasItemVisual;if(this._itemVisuals[k]=he,n(Q)){for(var pe in Q)Q.hasOwnProperty(pe)&&(he[pe]=Q[pe],te[pe]=!0);return}he[Q]=X,te[Q]=!0},L.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var Z=function(k){k.seriesIndex=this.seriesIndex,k.dataIndex=this.dataIndex,k.dataType=this.dataType};L.setItemGraphicEl=function(k,Q){var X=this.hostModel;Q&&(Q.dataIndex=k,Q.dataType=this.dataType,Q.seriesIndex=X&&X.seriesIndex,Q.type==="group"&&Q.traverse(Z,Q)),this._graphicEls[k]=Q},L.getItemGraphicEl=function(k){return this._graphicEls[k]},L.eachItemGraphicEl=function(k,Q){g.each(this._graphicEls,function(X,he){X&&(k&&k.call(Q,X,he))})},L.cloneShallow=function(k){if(!k){var Q=g.map(this.dimensions,this.getDimensionInfo,this);k=new w(Q,this.hostModel)}if(k._storage=this._storage,T(k,this),this._indices){var X=this._indices.constructor;k._indices=new X(this._indices)}else k._indices=null;return k.getRawIndex=k._indices?U:R,k},L.wrapMethod=function(k,Q){var X=this[k];if(typeof X!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(k),this[k]=function(){var he=X.apply(this,arguments);return Q.apply(this,[he].concat(g.slice(arguments)))}},L.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],L.CHANGABLE_METHODS=["filterSelf","selectRange"];var Y=w;J.exports=Y},YgsL:function(J,B,e){var d=e("QBsz"),x=d.distance;function g(v,b,f,i,r,a,s){var l=(f-v)*.5,n=(i-b)*.5;return(2*(b-f)+l+n)*s+(-3*(b-f)-2*l-n)*a+l*r+b}function p(v,b){for(var f=v.length,i=[],r=0,a=1;a<f;a++)r+=x(v[a-1],v[a]);var s=r/2;s=s<f?f:s;for(var a=0;a<s;a++){var l=a/(s-1)*(b?f:f-1),n=Math.floor(l),u=l-n,t,c=v[n%f],o,h;b?(t=v[(n-1+f)%f],o=v[(n+1)%f],h=v[(n+2)%f]):(t=v[n===0?n:n-1],o=v[n>f-2?f-1:n+1],h=v[n>f-3?f-1:n+2]);var A=u*u,y=u*A;i.push([g(t[0],c[0],o[0],h[0],u,A,y),g(t[1],c[1],o[1],h[1],u,A,y)])}return i}J.exports=p},Yl7c:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=".",v="___EC__COMPONENT__CONTAINER___";function b(t){var c={main:"",sub:""};return t&&(t=t.split(p),c.main=t[0]||"",c.sub=t[1]||""),c}function f(t){g.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function i(t,c){t.$constructor=t,t.extend=function(o){var h=this,A=function(){o.$constructor?o.$constructor.apply(this,arguments):h.apply(this,arguments)};return g.extend(A.prototype,o),A.extend=this.extend,A.superCall=s,A.superApply=l,g.inherits(A,this),A.superClass=h,A}}var r=0;function a(t){var c=["__\0is_clz",r++,Math.random().toFixed(3)].join("_");t.prototype[c]=!0,t.isInstance=function(o){return!!(o&&o[c])}}function s(t,c){var o=g.slice(arguments,2);return this.superClass.prototype[c].apply(t,o)}function l(t,c,o){return this.superClass.prototype[c].apply(t,o)}function n(t,c){c=c||{};var o={};t.registerClass=function(y,O){if(O){if(f(O),O=b(O),!O.sub)o[O.main]=y;else if(O.sub!==v){var S=h(O);S[O.sub]=y}}return y},t.getClass=function(y,O,S){var E=o[y];if(E&&E[v]&&(E=O?E[O]:null),S&&!E)throw new Error(O?"Component "+y+"."+(O||"")+" not exists. Load it first.":y+".type should be specified.");return E},t.getClassesByMainType=function(y){y=b(y);var O=[],S=o[y.main];return S&&S[v]?g.each(S,function(E,C){C!==v&&O.push(E)}):O.push(S),O},t.hasClass=function(y){return y=b(y),!!o[y.main]},t.getAllClassMainTypes=function(){var y=[];return g.each(o,function(O,S){y.push(S)}),y},t.hasSubTypes=function(y){y=b(y);var O=o[y.main];return O&&O[v]},t.parseClassType=b;function h(y){var O=o[y.main];return(!O||!O[v])&&(O=o[y.main]={},O[v]=!0),O}if(c.registerWhenExtend){var A=t.extend;A&&(t.extend=function(y){var O=A.call(this,y);return t.registerClass(O,y.type)})}return t}function u(t,c){}B.parseClassType=b,B.enableClassExtend=i,B.enableClassCheck=a,B.enableClassManagement=n,B.setReadOnly=u},Ynxi:function(J,B,e){var d=e("bYtY"),x=e("ProS"),g=e("IwbS"),p=e("+TT/"),v=p.getLayoutRect,b=e("7aKB"),f=b.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(i,r,a){if(this.group.removeAll(),!i.get("show"))return;var s=this.group,l=i.getModel("textStyle"),n=i.getModel("subtextStyle"),u=i.get("textAlign"),t=d.retrieve2(i.get("textBaseline"),i.get("textVerticalAlign")),c=new g.Text({style:g.setTextStyle({},l,{text:i.get("text"),textFill:l.getTextColor()},{disableBox:!0}),z2:10}),o=c.getBoundingRect(),h=i.get("subtext"),A=new g.Text({style:g.setTextStyle({},n,{text:h,textFill:n.getTextColor(),y:o.height+i.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),y=i.get("link"),O=i.get("sublink"),S=i.get("triggerEvent",!0);c.silent=!y&&!S,A.silent=!O&&!S,y&&c.on("click",function(){f(y,"_"+i.get("target"))}),O&&A.on("click",function(){f(y,"_"+i.get("subtarget"))}),c.eventData=A.eventData=S?{componentType:"title",componentIndex:i.componentIndex}:null,s.add(c),h&&s.add(A);var E=s.getBoundingRect(),C=i.getBoxLayoutParams();C.width=E.width,C.height=E.height;var T=v(C,{width:a.getWidth(),height:a.getHeight()},i.get("padding"));u||(u=i.get("left")||i.get("right"),u==="middle"&&(u="center"),u==="right"?T.x+=T.width:u==="center"&&(T.x+=T.width/2)),t||(t=i.get("top")||i.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?T.y+=T.height:t==="middle"&&(T.y+=T.height/2),t=t||"top"),s.attr("position",[T.x,T.y]);var w={textAlign:u,textVerticalAlign:t};c.setStyle(w),A.setStyle(w),E=s.getBoundingRect();var L=T.margin,N=i.getItemStyle(["color","opacity"]);N.fill=i.get("backgroundColor");var D=new g.Rect({shape:{x:E.x-L[3],y:E.y-L[0],width:E.width+L[1]+L[3],height:E.height+L[0]+L[2],r:i.get("borderRadius")},style:N,subPixelOptimize:!0,silent:!0});s.add(D)}})},YrtM:function(J,B,e){"use strict";e.d(B,"a",function(){return g});var d=e("q1tI"),x=e.n(d);function g(p,v,b){var f=d.useRef({});return(!("value"in f.current)||b(f.current.condition,v))&&(f.current.value=p(),f.current.condition=v),f.current.value}},Ywus:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("DO2E")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="DeleteOutlined";var f=g.forwardRef(b);B.default=f},Z0Lh:function(J,B,e){"use strict";var d=e("TqRt");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var x=d(e("pVnL")),g=d(e("HjOm")),p=d(e("Z6rY")),v={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"]},g.default),timePickerLocale:(0,x.default)({},p.default)};v.lang.ok="\u786E \u5B9A";var b=v;B.default=b},Z0cm:function(J,B){var e=Array.isArray;J.exports=e},Z1HP:function(J,B,e){var d=e("ycre"),x=e("quyA"),g=e("q4HE");function p(v){return x(v)?g(v):d(v)}J.exports=p},Z1r0:function(J,B){function e(d){var x=d.findComponents({mainType:"legend"});if(!x||!x.length)return;d.eachSeriesByType("graph",function(g){var p=g.getCategoriesData(),v=g.getGraph(),b=v.data,f=p.mapArray(p.getName);b.filterSelf(function(i){var r=b.getItemModel(i),a=r.getShallow("category");if(a!=null){typeof a=="number"&&(a=f[a]);for(var s=0;s<x.length;s++)if(!x[s].isSelected(a))return!1}return!0})},this)}J.exports=e},Z1wy:function(J,B,e){var d=e("ProS");e("ThAp"),e("pmaE"),e("SehX"),e("7uqq");var x=e("zuHt"),g=e("VPsl"),p=e("9u0u"),v=e("lELe"),b=e("d4KN");d.registerLayout(x),d.registerVisual(g),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,p),d.registerPreprocessor(v),b("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(J,B,e){var d=e("MwEJ"),x=e("T4UG"),g=x.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(p,v){return d(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});J.exports=g},Z6rY:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},x=d;B.default=x},Z8oC:function(J,B,e){var d=e("y1pI");function x(g,p){var v=this.__data__,b=d(v,g);return b<0?(++this.size,v.push([g,p])):v[b][1]=p,this}J.exports=x},Z8zF:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("ProS"),p=e("bYtY"),v=e("IwbS"),b=e("56rv"),f=b.setLabel,i=e("Qxkt"),r=e("tceW"),a=e("y+Vt"),s=e("4fz+"),l=e("iLNv"),n=l.throttle,u=e("sK/D"),t=u.createClipPath,c=e("wr5s"),o=["itemStyle","barBorderWidth"],h=[0,0];p.extend(i.prototype,r);function A(Z,Y){var k=Z.getArea&&Z.getArea();if(Z.type==="cartesian2d"){var Q=Z.getBaseAxis();if(Q.type!=="category"||!Q.onBand){var X=Y.getLayout("bandWidth");Q.isHorizontal()?(k.x-=X,k.width+=X*2):(k.y-=X,k.height+=X*2)}}return k}var y=g.extendChartView({type:"bar",render:function(Z,Y,k){this._updateDrawMode(Z);var Q=Z.get("coordinateSystem");return(Q==="cartesian2d"||Q==="polar")&&(this._isLargeDraw?this._renderLarge(Z,Y,k):this._renderNormal(Z,Y,k)),this.group},incrementalPrepareRender:function(Z,Y,k){this._clear(),this._updateDrawMode(Z)},incrementalRender:function(Z,Y,k,Q){this._incrementalRenderLarge(Z,Y)},_updateDrawMode:function(Z){var Y=Z.pipelineContext.large;(this._isLargeDraw==null||Y^this._isLargeDraw)&&(this._isLargeDraw=Y,this._clear())},_renderNormal:function(Z,Y,k){var Q=this.group,X=Z.getData(),he=this._data,te=Z.coordinateSystem,pe=te.getBaseAxis(),Se;te.type==="cartesian2d"?Se=pe.isHorizontal():te.type==="polar"&&(Se=pe.dim==="angle");var we=Z.isAnimationEnabled()?Z:null,We=Z.get("clip",!0),qe=A(te,X);Q.removeClipPath();var yt=Z.get("roundCap",!0),_e=Z.get("showBackground",!0),je=Z.getModel("backgroundStyle"),Ct=je.get("barBorderRadius")||0,ct=[],nt=this._backgroundEls||[];X.diff(he).add(function(vt){var Qe=X.getItemModel(vt),mt=L[te.type](X,vt,Qe);if(_e){var Pe=L[te.type](X,vt),De=_(te,Se,Pe);De.useStyle(je.getBarItemStyle()),te.type==="cartesian2d"&&De.setShape("r",Ct),ct[vt]=De}if(!X.hasValue(vt))return;if(We){var Ie=E[te.type](qe,mt);if(Ie){Q.remove(ot);return}}var ot=C[te.type](vt,mt,Se,we,!1,yt);X.setItemGraphicEl(vt,ot),Q.add(ot),D(ot,X,vt,Qe,mt,Z,Se,te.type==="polar")}).update(function(vt,Qe){var mt=X.getItemModel(vt),Pe=L[te.type](X,vt,mt);if(_e){var De=nt[Qe];De.useStyle(je.getBarItemStyle()),te.type==="cartesian2d"&&De.setShape("r",Ct),ct[vt]=De;var Ie=L[te.type](X,vt),ot=H(Se,Ie,te);v.updateProps(De,{shape:ot},we,vt)}var wt=he.getItemGraphicEl(Qe);if(!X.hasValue(vt)){Q.remove(wt);return}if(We){var Bt=E[te.type](qe,Pe);if(Bt){Q.remove(wt);return}}wt?v.updateProps(wt,{shape:Pe},we,vt):wt=C[te.type](vt,Pe,Se,we,!0,yt),X.setItemGraphicEl(vt,wt),Q.add(wt),D(wt,X,vt,mt,Pe,Z,Se,te.type==="polar")}).remove(function(vt){var Qe=he.getItemGraphicEl(vt);te.type==="cartesian2d"?Qe&&T(vt,we,Qe):Qe&&w(vt,we,Qe)}).execute();var bt=this._backgroundGroup||(this._backgroundGroup=new s);bt.removeAll();for(var dt=0;dt<ct.length;++dt)bt.add(ct[dt]);Q.add(bt),this._backgroundEls=ct,this._data=X},_renderLarge:function(Z,Y,k){this._clear(),U(Z,this.group);var Q=Z.get("clip",!0)?t(Z.coordinateSystem,!1,Z):null;Q?this.group.setClipPath(Q):this.group.removeClipPath()},_incrementalRenderLarge:function(Z,Y){this._removeBackground(),U(Y,this.group,!0)},dispose:p.noop,remove:function(Z){this._clear(Z)},_clear:function(Z){var Y=this.group,k=this._data;Z&&Z.get("animation")&&k&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],k.eachItemGraphicEl(function(Q){Q.type==="sector"?w(Q.dataIndex,Z,Q):T(Q.dataIndex,Z,Q)})):Y.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),O=Math.max,S=Math.min,E={cartesian2d:function(Z,Y){var k=Y.width<0?-1:1,Q=Y.height<0?-1:1;k<0&&(Y.x+=Y.width,Y.width=-Y.width),Q<0&&(Y.y+=Y.height,Y.height=-Y.height);var X=O(Y.x,Z.x),he=S(Y.x+Y.width,Z.x+Z.width),te=O(Y.y,Z.y),pe=S(Y.y+Y.height,Z.y+Z.height);Y.x=X,Y.y=te,Y.width=he-X,Y.height=pe-te;var Se=Y.width<0||Y.height<0;return k<0&&(Y.x+=Y.width,Y.width=-Y.width),Q<0&&(Y.y+=Y.height,Y.height=-Y.height),Se},polar:function(Z){return!1}},C={cartesian2d:function(Z,Y,k,Q,X){var he=new v.Rect({shape:p.extend({},Y),z2:1});if(he.name="item",Q){var te=he.shape,pe=k?"height":"width",Se={};te[pe]=0,Se[pe]=Y[pe],v[X?"updateProps":"initProps"](he,{shape:Se},Q,Z)}return he},polar:function(Z,Y,k,Q,X,he){var te=Y.startAngle<Y.endAngle,pe=!k&&he?c:v.Sector,Se=new pe({shape:p.defaults({clockwise:te},Y),z2:1});if(Se.name="item",Q){var we=Se.shape,We=k?"r":"endAngle",qe={};we[We]=k?0:Y.startAngle,qe[We]=Y[We],v[X?"updateProps":"initProps"](Se,{shape:qe},Q,Z)}return Se}};function T(Z,Y,k){k.style.text=null,v.updateProps(k,{shape:{width:0}},Y,Z,function(){k.parent&&k.parent.remove(k)})}function w(Z,Y,k){k.style.text=null,v.updateProps(k,{shape:{r:k.shape.r0}},Y,Z,function(){k.parent&&k.parent.remove(k)})}var L={cartesian2d:function(Z,Y,k){var Q=Z.getItemLayout(Y),X=k?F(k,Q):0,he=Q.width>0?1:-1,te=Q.height>0?1:-1;return{x:Q.x+he*X/2,y:Q.y+te*X/2,width:Q.width-he*X,height:Q.height-te*X}},polar:function(Z,Y,k){var Q=Z.getItemLayout(Y);return{cx:Q.cx,cy:Q.cy,r0:Q.r0,r:Q.r,startAngle:Q.startAngle,endAngle:Q.endAngle}}};function N(Z){return Z.startAngle!=null&&Z.endAngle!=null&&Z.startAngle===Z.endAngle}function D(Z,Y,k,Q,X,he,te,pe){var Se=Y.getItemVisual(k,"color"),we=Y.getItemVisual(k,"opacity"),We=Y.getVisual("borderColor"),qe=Q.getModel("itemStyle"),yt=Q.getModel("emphasis.itemStyle").getBarItemStyle();pe||Z.setShape("r",qe.get("barBorderRadius")||0),Z.useStyle(p.defaults({stroke:N(X)?"none":We,fill:N(X)?"none":Se,opacity:we},qe.getBarItemStyle()));var _e=Q.getShallow("cursor");_e&&Z.attr("cursor",_e);var je=te?X.height>0?"bottom":"top":X.width>0?"left":"right";pe||f(Z.style,yt,Q,Se,he,k,je),N(X)&&(yt.fill=yt.stroke="none"),v.setHoverStyle(Z,yt)}function F(Z,Y){var k=Z.get(o)||0,Q=isNaN(Y.width)?Number.MAX_VALUE:Math.abs(Y.width),X=isNaN(Y.height)?Number.MAX_VALUE:Math.abs(Y.height);return Math.min(k,Q,X)}var R=a.extend({type:"largeBar",shape:{points:[]},buildPath:function(Z,Y){for(var k=Y.points,Q=this.__startPoint,X=this.__baseDimIdx,he=0;he<k.length;he+=2)Q[X]=k[he+X],Z.moveTo(Q[0],Q[1]),Z.lineTo(k[he],k[he+1])}});function U(Z,Y,k){var Q=Z.getData(),X=[],he=Q.getLayout("valueAxisHorizontal")?1:0;X[1-he]=Q.getLayout("valueAxisStart");var te=Q.getLayout("largeDataIndices"),pe=Q.getLayout("barWidth"),Se=Z.getModel("backgroundStyle"),we=Z.get("showBackground",!0);if(we){var We=Q.getLayout("largeBackgroundPoints"),qe=[];qe[1-he]=Q.getLayout("backgroundStart");var yt=new R({shape:{points:We},incremental:!!k,__startPoint:qe,__baseDimIdx:he,__largeDataIndices:te,__barWidth:pe,silent:!0,z2:0});K(yt,Se,Q),Y.add(yt)}var _e=new R({shape:{points:Q.getLayout("largePoints")},incremental:!!k,__startPoint:X,__baseDimIdx:he,__largeDataIndices:te,__barWidth:pe});Y.add(_e),P(_e,Z,Q),_e.seriesIndex=Z.seriesIndex,Z.get("silent")||(_e.on("mousedown",M),_e.on("mousemove",M))}var M=n(function(Z){var Y=this,k=j(Y,Z.offsetX,Z.offsetY);Y.dataIndex=k>=0?k:null},30,!1);function j(Z,Y,k){var Q=Z.__baseDimIdx,X=1-Q,he=Z.shape.points,te=Z.__largeDataIndices,pe=Math.abs(Z.__barWidth/2),Se=Z.__startPoint[X];h[0]=Y,h[1]=k;for(var we=h[Q],We=h[1-Q],qe=we-pe,yt=we+pe,_e=0,je=he.length/2;_e<je;_e++){var Ct=_e*2,ct=he[Ct+Q],nt=he[Ct+X];if(ct>=qe&&ct<=yt&&(Se<=nt?We>=Se&&We<=nt:We>=nt&&We<=Se))return te[_e]}return-1}function P(Z,Y,k){var Q=k.getVisual("borderColor")||k.getVisual("color"),X=Y.getModel("itemStyle").getItemStyle(["color","borderColor"]);Z.useStyle(X),Z.style.fill=null,Z.style.stroke=Q,Z.style.lineWidth=k.getLayout("barWidth")}function K(Z,Y,k){var Q=Y.get("borderColor")||Y.get("color"),X=Y.getItemStyle(["color","borderColor"]);Z.useStyle(X),Z.style.fill=null,Z.style.stroke=Q,Z.style.lineWidth=k.getLayout("barWidth")}function H(Z,Y,k){var Q,X=k.type==="polar";return X?Q=k.getArea():Q=k.grid.getRect(),X?{cx:Q.cx,cy:Q.cy,r0:Z?Q.r0:Y.r0,r:Z?Q.r:Y.r,startAngle:Z?Y.startAngle:0,endAngle:Z?Y.endAngle:Math.PI*2}:{x:Z?Y.x:Q.x,y:Z?Q.y:Y.y,width:Z?Y.width:Q.width,height:Z?Q.height:Y.height}}function _(Z,Y,k){var Q=Z.type==="polar"?v.Sector:v.Rect;return new Q({shape:H(Y,k,Z),silent:!0,z2:0})}J.exports=y},ZCgT:function(J,B,e){var d=e("tLB3"),x=1/0,g=17976931348623157e292;function p(v){if(!v)return v===0?v:0;if(v=d(v),v===x||v===-x){var b=v<0?-1:1;return b*g}return v===v?v:0}J.exports=p},ZLWo:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};B.default=d},ZMnZ:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("2oIt")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="UpOutlined";var f=g.forwardRef(b);B.default=f},ZTPi:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("q1tI"),b=e("ODXe"),f=e("Ff2n"),i=e("rePB"),r=e("TSYQ"),a=e.n(r),s=e("Zm9Q"),l=e("6cGi"),n=e("KQm4"),u=e("xEkU"),t=e.n(u),c=e("t23M");function o(xt){var Pt=Object(v.useRef)(),Ke=Object(v.useRef)(!1);function Ye(){for(var $e=arguments.length,ut=new Array($e),et=0;et<$e;et++)ut[et]=arguments[et];Ke.current||(t.a.cancel(Pt.current),Pt.current=t()(function(){xt.apply(void 0,ut)}))}return Object(v.useEffect)(function(){return function(){Ke.current=!0,t.a.cancel(Pt.current)}},[]),Ye}function h(xt){var Pt=Object(v.useRef)([]),Ke=Object(v.useState)({}),Ye=Object(b.a)(Ke,2),$e=Ye[1],ut=Object(v.useRef)(typeof xt=="function"?xt():xt),et=o(function(){var me=ut.current;Pt.current.forEach(function(it){me=it(me)}),Pt.current=[],ut.current=me,$e({})});function oe(me){Pt.current.push(me),et()}return[ut.current,oe]}var A=e("4IlW");function y(xt,Pt){var Ke,Ye=xt.prefixCls,$e=xt.id,ut=xt.active,et=xt.rtl,oe=xt.tab,me=oe.key,it=oe.tab,Be=oe.disabled,ht=oe.closeIcon,Mr=xt.tabBarGutter,Lt=xt.tabPosition,or=xt.closable,Qt=xt.renderWrapper,qt=xt.removeAriaLabel,hr=xt.editable,Gt=xt.onClick,de=xt.onRemove,ue=xt.onFocus,se="".concat(Ye,"-tab");v.useEffect(function(){return de},[]);var ae={};Lt==="top"||Lt==="bottom"?ae[et?"marginLeft":"marginRight"]=Mr:ae.marginBottom=Mr;var ye=hr&&or!==!1&&!Be;function Ce(xe){if(Be)return;Gt(xe)}function Oe(xe){xe.preventDefault(),xe.stopPropagation(),hr.onEdit("remove",{key:me,event:xe})}var Te=v.createElement("div",{key:me,ref:Pt,className:a()(se,(Ke={},Object(i.a)(Ke,"".concat(se,"-with-remove"),ye),Object(i.a)(Ke,"".concat(se,"-active"),ut),Object(i.a)(Ke,"".concat(se,"-disabled"),Be),Ke)),style:ae,onClick:Ce},v.createElement("div",{role:"tab","aria-selected":ut,id:$e&&"".concat($e,"-tab-").concat(me),className:"".concat(se,"-btn"),"aria-controls":$e&&"".concat($e,"-panel-").concat(me),"aria-disabled":Be,tabIndex:Be?null:0,onClick:function(ke){ke.stopPropagation(),Ce(ke)},onKeyDown:function(ke){[A.a.SPACE,A.a.ENTER].includes(ke.which)&&(ke.preventDefault(),Ce(ke))},onFocus:ue},it),ye&&v.createElement("button",{type:"button","aria-label":qt||"remove",tabIndex:0,className:"".concat(se,"-remove"),onClick:function(ke){ke.stopPropagation(),Oe(ke)}},ht||hr.removeIcon||"\xD7"));return Qt&&(Te=Qt(Te)),Te}var O=v.forwardRef(y);function S(xt,Pt){var Ke=Object.keys(xt);if(Object.getOwnPropertySymbols){var Ye=Object.getOwnPropertySymbols(xt);Pt&&(Ye=Ye.filter(function($e){return Object.getOwnPropertyDescriptor(xt,$e).enumerable})),Ke.push.apply(Ke,Ye)}return Ke}function E(xt){for(var Pt=1;Pt<arguments.length;Pt++){var Ke=arguments[Pt]!=null?arguments[Pt]:{};Pt%2?S(Object(Ke),!0).forEach(function(Ye){Object(i.a)(xt,Ye,Ke[Ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(xt,Object.getOwnPropertyDescriptors(Ke)):S(Object(Ke)).forEach(function(Ye){Object.defineProperty(xt,Ye,Object.getOwnPropertyDescriptor(Ke,Ye))})}return xt}var C={width:0,height:0,left:0,top:0};function T(xt,Pt,Ke){return Object(v.useMemo)(function(){for(var Ye,$e=new Map,ut=Pt.get((Ye=xt[0])===null||Ye===void 0?void 0:Ye.key)||C,et=ut.left+ut.width,oe=0;oe<xt.length;oe+=1){var me=xt[oe].key,it=Pt.get(me);if(!it){var Be;it=Pt.get((Be=xt[oe-1])===null||Be===void 0?void 0:Be.key)||C}var ht=$e.get(me)||E({},it);ht.right=et-ht.left-ht.width,$e.set(me,ht)}return $e},[xt.map(function(Ye){return Ye.key}).join("_"),Pt,Ke])}var w={width:0,height:0,left:0,top:0,right:0};function L(xt,Pt,Ke,Ye,$e){var ut=$e.tabs,et=$e.tabPosition,oe=$e.rtl,me,it,Be;["top","bottom"].includes(et)?(me="width",it=oe?"right":"left",Be=Math.abs(Pt.left)):(me="height",it="top",Be=-Pt.top);var ht=Pt[me],Mr=Ke[me],Lt=Ye[me],or=ht;return Mr+Lt>ht&&(or=ht-Lt),Object(v.useMemo)(function(){if(!ut.length)return[0,0];for(var Qt=ut.length,qt=Qt,hr=0;hr<Qt;hr+=1){var Gt=xt.get(ut[hr].key)||w;if(Gt[it]+Gt[me]>Be+or){qt=hr-1;break}}for(var de=0,ue=Qt-1;ue>=0;ue-=1){var se=xt.get(ut[ue].key)||w;if(se[it]<Be){de=ue+1;break}}return[de,qt]},[xt,Be,or,et,ut.map(function(Qt){return Qt.key}).join("_"),oe])}var N=e("1j5w"),D=e("eDIo");function F(xt,Pt){var Ke=xt.prefixCls,Ye=xt.editable,$e=xt.locale,ut=xt.style;return!Ye||Ye.showAdd===!1?null:v.createElement("button",{ref:Pt,type:"button",className:"".concat(Ke,"-nav-add"),style:ut,"aria-label":($e==null?void 0:$e.addAriaLabel)||"Add tab",onClick:function(oe){Ye.onEdit("add",{event:oe})}},Ye.addIcon||"+")}var R=v.forwardRef(F);function U(xt,Pt){var Ke=xt.prefixCls,Ye=xt.id,$e=xt.tabs,ut=xt.locale,et=xt.mobile,oe=xt.moreIcon,me=oe===void 0?"More":oe,it=xt.moreTransitionName,Be=xt.style,ht=xt.className,Mr=xt.editable,Lt=xt.tabBarGutter,or=xt.rtl,Qt=xt.onTabClick,qt=Object(v.useState)(!1),hr=Object(b.a)(qt,2),Gt=hr[0],de=hr[1],ue=Object(v.useState)(null),se=Object(b.a)(ue,2),ae=se[0],ye=se[1],Ce="".concat(Ye,"-more-popup"),Oe="".concat(Ke,"-dropdown"),Te=ae!==null?"".concat(Ce,"-").concat(ae):null,xe=ut==null?void 0:ut.dropdownAriaLabel,ke=v.createElement(N.f,{onClick:function(le){var ge=le.key,Ae=le.domEvent;Qt(ge,Ae),de(!1)},id:Ce,tabIndex:-1,role:"listbox","aria-activedescendant":Te,selectedKeys:[ae],"aria-label":xe!==void 0?xe:"expanded dropdown"},$e.map(function($){return v.createElement(N.d,{key:$.key,id:"".concat(Ce,"-").concat($.key),role:"option","aria-controls":Ye&&"".concat(Ye,"-panel-").concat($.key),disabled:$.disabled},$.tab)}));function lt($){for(var le=$e.filter(function(kt){return!kt.disabled}),ge=le.findIndex(function(kt){return kt.key===ae})||0,Ae=le.length,Me=0;Me<Ae;Me+=1){ge=(ge+$+Ae)%Ae;var Ze=le[ge];if(!Ze.disabled){ye(Ze.key);return}}}function At($){var le=$.which;if(!Gt){[A.a.DOWN,A.a.SPACE,A.a.ENTER].includes(le)&&(de(!0),$.preventDefault());return}switch(le){case A.a.UP:lt(-1),$.preventDefault();break;case A.a.DOWN:lt(1),$.preventDefault();break;case A.a.ESC:de(!1);break;case A.a.SPACE:case A.a.ENTER:ae!==null&&Qt(ae,$);break}}Object(v.useEffect)(function(){var $=document.getElementById(Te);$&&$.scrollIntoView&&$.scrollIntoView(!1)},[ae]),Object(v.useEffect)(function(){Gt||ye(null)},[Gt]);var ee=Object(i.a)({},or?"marginLeft":"marginRight",Lt);$e.length||(ee.visibility="hidden",ee.order=1);var ie=a()(Object(i.a)({},"".concat(Oe,"-rtl"),or)),z=et?null:v.createElement(D.a,{prefixCls:Oe,overlay:ke,trigger:["hover"],visible:Gt,transitionName:it,onVisibleChange:de,overlayClassName:ie},v.createElement("button",{type:"button",className:"".concat(Ke,"-nav-more"),style:ee,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Ce,id:"".concat(Ye,"-more"),"aria-expanded":Gt,onKeyDown:At},me));return v.createElement("div",{className:a()("".concat(Ke,"-nav-operations"),ht),style:Be,ref:Pt},z,v.createElement(R,{prefixCls:Ke,locale:ut,editable:Mr}))}var M=v.forwardRef(U),j=Object(v.createContext)(null),P=.1,K=.01,H=20,_=Math.pow(.995,H);function Z(){var xt=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(xt)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(xt.substr(0,4)))}function Y(xt,Pt){var Ke=Object(v.useState)(),Ye=Object(b.a)(Ke,2),$e=Ye[0],ut=Ye[1],et=Object(v.useState)(0),oe=Object(b.a)(et,2),me=oe[0],it=oe[1],Be=Object(v.useState)(0),ht=Object(b.a)(Be,2),Mr=ht[0],Lt=ht[1],or=Object(v.useState)(),Qt=Object(b.a)(or,2),qt=Qt[0],hr=Qt[1],Gt=Object(v.useRef)();function de(xe){var ke=xe.touches[0],lt=ke.screenX,At=ke.screenY;ut({x:lt,y:At}),window.clearInterval(Gt.current)}function ue(xe){if(!$e)return;xe.preventDefault();var ke=xe.touches[0],lt=ke.screenX,At=ke.screenY;ut({x:lt,y:At});var ee=lt-$e.x,ie=At-$e.y;Pt(ee,ie);var z=Date.now();it(z),Lt(z-me),hr({x:ee,y:ie})}function se(){if(!$e)return;if(ut(null),hr(null),qt){var xe=qt.x/Mr,ke=qt.y/Mr,lt=Math.abs(xe),At=Math.abs(ke);if(Math.max(lt,At)<P)return;var ee=xe,ie=ke;Gt.current=window.setInterval(function(){if(Math.abs(ee)<K&&Math.abs(ie)<K){window.clearInterval(Gt.current);return}ee*=_,ie*=_,Pt(ee*H,ie*H)},H)}}var ae=Object(v.useRef)(0),ye=Object(v.useRef)(!1),Ce=Object(v.useRef)();function Oe(xe){var ke=xe.deltaX,lt=xe.deltaY,At=0,ee=Math.abs(ke),ie=Math.abs(lt);ee===ie?At=Ce.current==="x"?ke:lt:ee>ie?(At=ke,Ce.current="x"):(At=lt,Ce.current="y");var z=Date.now();z-ae.current>100&&(ye.current=!1),(Pt(-At,-At)||ye.current)&&(xe.preventDefault(),ye.current=!0),ae.current=z}var Te=Object(v.useRef)(null);Te.current={onTouchStart:de,onTouchMove:ue,onTouchEnd:se,onWheel:Oe},v.useEffect(function(){function xe(ee){Te.current.onTouchStart(ee)}function ke(ee){Te.current.onTouchMove(ee)}function lt(ee){Te.current.onTouchEnd(ee)}function At(ee){Te.current.onWheel(ee)}return document.addEventListener("touchmove",ke,{passive:!1}),document.addEventListener("touchend",lt,{passive:!1}),xt.current.addEventListener("touchstart",xe,{passive:!1}),xt.current.addEventListener("wheel",At),function(){document.removeEventListener("touchmove",ke),document.removeEventListener("touchend",lt)}},[])}function k(){var xt=Object(v.useRef)(new Map);function Pt(Ye){return xt.current.has(Ye)||xt.current.set(Ye,v.createRef()),xt.current.get(Ye)}function Ke(Ye){xt.current.delete(Ye)}return[Pt,Ke]}function Q(xt,Pt){var Ke=v.useRef(xt),Ye=v.useState({}),$e=Object(b.a)(Ye,2),ut=$e[1];function et(oe){var me=typeof oe=="function"?oe(Ke.current):oe;me!==Ke.current&&Pt(me,Ke.current),Ke.current=me,ut({})}return[Ke.current,et]}function X(xt,Pt){var Ke=Object.keys(xt);if(Object.getOwnPropertySymbols){var Ye=Object.getOwnPropertySymbols(xt);Pt&&(Ye=Ye.filter(function($e){return Object.getOwnPropertyDescriptor(xt,$e).enumerable})),Ke.push.apply(Ke,Ye)}return Ke}function he(xt){for(var Pt=1;Pt<arguments.length;Pt++){var Ke=arguments[Pt]!=null?arguments[Pt]:{};Pt%2?X(Object(Ke),!0).forEach(function(Ye){Object(i.a)(xt,Ye,Ke[Ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(xt,Object.getOwnPropertyDescriptors(Ke)):X(Object(Ke)).forEach(function(Ye){Object.defineProperty(xt,Ye,Object.getOwnPropertyDescriptor(Ke,Ye))})}return xt}var te=function(Pt){var Ke=Pt.position,Ye=Pt.prefixCls,$e=Pt.extra;if(!$e)return null;var ut,et=$e;return Ke==="right"&&(ut=et.right||!et.left&&et||null),Ke==="left"&&(ut=et.left||null),ut?v.createElement("div",{className:"".concat(Ye,"-extra-content")},ut):null};function pe(xt,Pt){var Ke,Ye=v.useContext(j),$e=Ye.prefixCls,ut=Ye.tabs,et=xt.className,oe=xt.style,me=xt.id,it=xt.animated,Be=xt.activeKey,ht=xt.rtl,Mr=xt.extra,Lt=xt.editable,or=xt.locale,Qt=xt.tabPosition,qt=xt.tabBarGutter,hr=xt.children,Gt=xt.onTabClick,de=xt.onTabScroll,ue=Object(v.useRef)(),se=Object(v.useRef)(),ae=Object(v.useRef)(),ye=Object(v.useRef)(),Ce=k(),Oe=Object(b.a)(Ce,2),Te=Oe[0],xe=Oe[1],ke=Qt==="top"||Qt==="bottom",lt=Q(0,function(aa,Hi){ke&&de&&de({direction:aa>Hi?"left":"right"})}),At=Object(b.a)(lt,2),ee=At[0],ie=At[1],z=Q(0,function(aa,Hi){!ke&&de&&de({direction:aa>Hi?"top":"bottom"})}),$=Object(b.a)(z,2),le=$[0],ge=$[1],Ae=Object(v.useState)(0),Me=Object(b.a)(Ae,2),Ze=Me[0],kt=Me[1],Jt=Object(v.useState)(0),Et=Object(b.a)(Jt,2),Ft=Et[0],Kt=Et[1],Vt=Object(v.useState)(0),Ot=Object(b.a)(Vt,2),ur=Ot[0],Zt=Ot[1],ze=Object(v.useState)(0),at=Object(b.a)(ze,2),Ve=at[0],Xe=at[1],gt=Object(v.useState)(null),ft=Object(b.a)(gt,2),Ge=ft[0],Mt=ft[1],It=Object(v.useState)(null),rr=Object(b.a)(It,2),Ht=rr[0],pr=rr[1],Ar=Object(v.useState)(0),Nr=Object(b.a)(Ar,2),Fr=Nr[0],tn=Nr[1],Jr=Object(v.useState)(0),Lr=Object(b.a)(Jr,2),Xr=Lr[0],Tr=Lr[1],lr=h(new Map),fr=Object(b.a)(lr,2),sr=fr[0],dr=fr[1],Sr=T(ut,sr,Ze),Qr="".concat($e,"-nav-operations-hidden"),cn=0,Dn=0;ke?ht?(cn=0,Dn=Math.max(0,Ze-Ge)):(cn=Math.min(0,Ge-Ze),Dn=0):(cn=Math.min(0,Ht-Ft),Dn=0);function jr(aa){return aa<cn?[cn,!1]:aa>Dn?[Dn,!1]:[aa,!0]}var Ln=Object(v.useRef)(),gn=Object(v.useState)(),Un=Object(b.a)(gn,2),Wn=Un[0],Jn=Un[1];function Qn(){Jn(Date.now())}function Vn(){window.clearTimeout(Ln.current)}Y(ue,function(aa,Hi){var ga=!1;function ha(mo,Pn){mo(function(qi){var eo=jr(qi+Pn),Lo=Object(b.a)(eo,2),co=Lo[0],er=Lo[1];return ga=er,co})}if(ke){if(Ge>=Ze)return ga;ha(ie,aa)}else{if(Ht>=Ft)return ga;ha(ge,Hi)}return Vn(),Qn(),ga}),Object(v.useEffect)(function(){return Vn(),Wn&&(Ln.current=window.setTimeout(function(){Jn(0)},100)),Vn},[Wn]);function yn(){var aa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Be,Hi=Sr.get(aa);if(!Hi)return;if(ke){var ga=ee;ht?Hi.right<ee?ga=Hi.right:Hi.right+Hi.width>ee+Ge&&(ga=Hi.right+Hi.width-Ge):Hi.left<-ee?ga=-Hi.left:Hi.left+Hi.width>-ee+Ge&&(ga=-(Hi.left+Hi.width-Ge)),ge(0),ie(jr(ga)[0])}else{var ha=le;Hi.top<-le?ha=-Hi.top:Hi.top+Hi.height>-le+Ht&&(ha=-(Hi.top+Hi.height-Ht)),ie(0),ge(jr(ha)[0])}}var on=L(Sr,{width:Ge,height:Ht,left:ee,top:le},{width:ur,height:Ve},{width:Fr,height:Xr},he(he({},xt),{},{tabs:ut})),ia=Object(b.a)(on,2),xa=ia[0],ta=ia[1],Ni=ut.map(function(aa){var Hi=aa.key;return v.createElement(O,{id:me,prefixCls:$e,key:Hi,rtl:ht,tab:aa,closable:aa.closable,editable:Lt,active:Hi===Be,tabPosition:Qt,tabBarGutter:qt,renderWrapper:hr,removeAriaLabel:or==null?void 0:or.removeAriaLabel,ref:Te(Hi),onClick:function(ha){Gt(Hi,ha)},onRemove:function(){xe(Hi)},onFocus:function(){yn(Hi),Qn(),ht||(ue.current.scrollLeft=0),ue.current.scrollTop=0}})}),Ci=o(function(){var aa,Hi,ga,ha,mo,Pn,qi,eo,Lo,co=((aa=ue.current)===null||aa===void 0?void 0:aa.offsetWidth)||0,er=((Hi=ue.current)===null||Hi===void 0?void 0:Hi.offsetHeight)||0,Cr=((ga=ye.current)===null||ga===void 0?void 0:ga.offsetWidth)||0,Ur=((ha=ye.current)===null||ha===void 0?void 0:ha.offsetHeight)||0,Kr=((mo=ae.current)===null||mo===void 0?void 0:mo.offsetWidth)||0,hn=((Pn=ae.current)===null||Pn===void 0?void 0:Pn.offsetHeight)||0;Mt(co),pr(er),tn(Cr),Tr(Ur);var Fe=(((qi=se.current)===null||qi===void 0?void 0:qi.offsetWidth)||0)-Cr,Rt=(((eo=se.current)===null||eo===void 0?void 0:eo.offsetHeight)||0)-Ur;kt(Fe),Kt(Rt);var Xt=(Lo=ae.current)===null||Lo===void 0?void 0:Lo.className.includes(Qr);Zt(Fe-(Xt?0:Kr)),Xe(Rt-(Xt?0:hn)),dr(function(){var tr=new Map;return ut.forEach(function(Or){var br=Or.key,xr=Te(br).current;xr&&tr.set(br,{width:xr.offsetWidth,height:xr.offsetHeight,left:xr.offsetLeft,top:xr.offsetTop})}),tr})}),Gn=ut.slice(0,xa),Ia=ut.slice(ta+1),mn=[].concat(Object(n.a)(Gn),Object(n.a)(Ia)),In=Object(v.useState)(),On=Object(b.a)(In,2),Nn=On[0],jn=On[1],ni=Sr.get(Be),di=Object(v.useRef)();function Da(){t.a.cancel(di.current)}Object(v.useEffect)(function(){var aa={};return ni&&(ke?(ht?aa.right=ni.right:aa.left=ni.left,aa.width=ni.width):(aa.top=ni.top,aa.height=ni.height)),Da(),di.current=t()(function(){jn(aa)}),Da},[ni,ke,ht]),Object(v.useEffect)(function(){yn()},[Be,ni,Sr,ke]),Object(v.useEffect)(function(){Ci()},[ht,qt,Be,ut.map(function(aa){return aa.key}).join("_")]);var Xi=!!mn.length,ma="".concat($e,"-nav-wrap"),ka,Xa,Ki,Co;return ke?ht?(Xa=ee>0,ka=ee+Ge<Ze):(ka=ee<0,Xa=-ee+Ge<Ze):(Ki=le<0,Co=-le+Ht<Ft),v.createElement("div",{ref:Pt,role:"tablist",className:a()("".concat($e,"-nav"),et),style:oe,onKeyDown:function(){Qn()}},v.createElement(te,{position:"left",extra:Mr,prefixCls:$e}),v.createElement(c.a,{onResize:Ci},v.createElement("div",{className:a()(ma,(Ke={},Object(i.a)(Ke,"".concat(ma,"-ping-left"),ka),Object(i.a)(Ke,"".concat(ma,"-ping-right"),Xa),Object(i.a)(Ke,"".concat(ma,"-ping-top"),Ki),Object(i.a)(Ke,"".concat(ma,"-ping-bottom"),Co),Ke)),ref:ue},v.createElement(c.a,{onResize:Ci},v.createElement("div",{ref:se,className:"".concat($e,"-nav-list"),style:{transform:"translate(".concat(ee,"px, ").concat(le,"px)"),transition:Wn?"none":void 0}},Ni,v.createElement(R,{ref:ye,prefixCls:$e,locale:or,editable:Lt,style:{visibility:Xi?"hidden":null}}),v.createElement("div",{className:a()("".concat($e,"-ink-bar"),Object(i.a)({},"".concat($e,"-ink-bar-animated"),it.inkBar)),style:Nn}))))),v.createElement(M,Object.assign({},xt,{ref:ae,prefixCls:$e,tabs:mn,className:!Xi&&Qr})),v.createElement(te,{position:"right",extra:Mr,prefixCls:$e}))}var Se=v.forwardRef(pe);function we(xt){var Pt=xt.id,Ke=xt.activeKey,Ye=xt.animated,$e=xt.tabPosition,ut=xt.rtl,et=xt.destroyInactiveTabPane,oe=v.useContext(j),me=oe.prefixCls,it=oe.tabs,Be=Ye.tabPane,ht=it.findIndex(function(Mr){return Mr.key===Ke});return v.createElement("div",{className:a()("".concat(me,"-content-holder"))},v.createElement("div",{className:a()("".concat(me,"-content"),"".concat(me,"-content-").concat($e),Object(i.a)({},"".concat(me,"-content-animated"),Be)),style:ht&&Be?Object(i.a)({},ut?"marginRight":"marginLeft","-".concat(ht,"00%")):null},it.map(function(Mr){return v.cloneElement(Mr.node,{key:Mr.key,prefixCls:me,tabKey:Mr.key,id:Pt,animated:Be,active:Mr.key===Ke,destroyInactiveTabPane:et})})))}function We(xt,Pt){var Ke=Object.keys(xt);if(Object.getOwnPropertySymbols){var Ye=Object.getOwnPropertySymbols(xt);Pt&&(Ye=Ye.filter(function($e){return Object.getOwnPropertyDescriptor(xt,$e).enumerable})),Ke.push.apply(Ke,Ye)}return Ke}function qe(xt){for(var Pt=1;Pt<arguments.length;Pt++){var Ke=arguments[Pt]!=null?arguments[Pt]:{};Pt%2?We(Object(Ke),!0).forEach(function(Ye){Object(i.a)(xt,Ye,Ke[Ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(xt,Object.getOwnPropertyDescriptors(Ke)):We(Object(Ke)).forEach(function(Ye){Object.defineProperty(xt,Ye,Object.getOwnPropertyDescriptor(Ke,Ye))})}return xt}function yt(xt){var Pt=xt.prefixCls,Ke=xt.forceRender,Ye=xt.className,$e=xt.style,ut=xt.id,et=xt.active,oe=xt.animated,me=xt.destroyInactiveTabPane,it=xt.tabKey,Be=xt.children,ht=v.useState(Ke),Mr=Object(b.a)(ht,2),Lt=Mr[0],or=Mr[1];v.useEffect(function(){et?or(!0):me&&or(!1)},[et,me]);var Qt={};return et||(oe?(Qt.visibility="hidden",Qt.height=0,Qt.overflowY="hidden"):Qt.display="none"),v.createElement("div",{id:ut&&"".concat(ut,"-panel-").concat(it),role:"tabpanel",tabIndex:et?0:-1,"aria-labelledby":ut&&"".concat(ut,"-tab-").concat(it),"aria-hidden":!et,style:qe(qe({},Qt),$e),className:a()("".concat(Pt,"-tabpane"),et&&"".concat(Pt,"-tabpane-active"),Ye)},(et||Lt||Ke)&&Be)}function _e(xt,Pt){var Ke=Object.keys(xt);if(Object.getOwnPropertySymbols){var Ye=Object.getOwnPropertySymbols(xt);Pt&&(Ye=Ye.filter(function($e){return Object.getOwnPropertyDescriptor(xt,$e).enumerable})),Ke.push.apply(Ke,Ye)}return Ke}function je(xt){for(var Pt=1;Pt<arguments.length;Pt++){var Ke=arguments[Pt]!=null?arguments[Pt]:{};Pt%2?_e(Object(Ke),!0).forEach(function(Ye){Object(i.a)(xt,Ye,Ke[Ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(xt,Object.getOwnPropertyDescriptors(Ke)):_e(Object(Ke)).forEach(function(Ye){Object.defineProperty(xt,Ye,Object.getOwnPropertyDescriptor(Ke,Ye))})}return xt}var Ct=0;function ct(xt){return Object(s.a)(xt).map(function(Pt){if(v.isValidElement(Pt)){var Ke=Pt.key!==void 0?String(Pt.key):void 0;return je(je({key:Ke},Pt.props),{},{node:Pt})}return null}).filter(function(Pt){return Pt})}function nt(xt,Pt){var Ke,Ye=xt.id,$e=xt.prefixCls,ut=$e===void 0?"rc-tabs":$e,et=xt.className,oe=xt.children,me=xt.direction,it=xt.activeKey,Be=xt.defaultActiveKey,ht=xt.editable,Mr=xt.animated,Lt=xt.tabPosition,or=Lt===void 0?"top":Lt,Qt=xt.tabBarGutter,qt=xt.tabBarStyle,hr=xt.tabBarExtraContent,Gt=xt.locale,de=xt.moreIcon,ue=xt.moreTransitionName,se=xt.destroyInactiveTabPane,ae=xt.renderTabBar,ye=xt.onChange,Ce=xt.onTabClick,Oe=xt.onTabScroll,Te=Object(f.a)(xt,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),xe=ct(oe),ke=me==="rtl",lt;Mr===!1?lt={inkBar:!1,tabPane:!1}:lt=je({inkBar:!0,tabPane:!1},Mr!==!0?Mr:null);var At=Object(v.useState)(!1),ee=Object(b.a)(At,2),ie=ee[0],z=ee[1];Object(v.useEffect)(function(){z(Z())},[]);var $=Object(l.a)(function(){var Ve;return(Ve=xe[0])===null||Ve===void 0?void 0:Ve.key},{value:it,defaultValue:Be}),le=Object(b.a)($,2),ge=le[0],Ae=le[1],Me=Object(v.useState)(function(){return xe.findIndex(function(Ve){return Ve.key===ge})}),Ze=Object(b.a)(Me,2),kt=Ze[0],Jt=Ze[1];Object(v.useEffect)(function(){var Ve=xe.findIndex(function(gt){return gt.key===ge});if(Ve===-1){var Xe;Ve=Math.max(0,Math.min(kt,xe.length-1)),Ae((Xe=xe[Ve])===null||Xe===void 0?void 0:Xe.key)}Jt(Ve)},[xe.map(function(Ve){return Ve.key}).join("_"),ge,kt]);var Et=Object(l.a)(null,{value:Ye}),Ft=Object(b.a)(Et,2),Kt=Ft[0],Vt=Ft[1],Ot=or;ie&&!["left","right"].includes(or)&&(Ot="top"),Object(v.useEffect)(function(){Ye||(Vt("rc-tabs-".concat(Ct)),Ct+=1)},[]);function ur(Ve,Xe){Ce==null||Ce(Ve,Xe),Ae(Ve),ye==null||ye(Ve)}var Zt={id:Kt,activeKey:ge,animated:lt,tabPosition:Ot,rtl:ke,mobile:ie},ze,at=je(je({},Zt),{},{editable:ht,locale:Gt,moreIcon:de,moreTransitionName:ue,tabBarGutter:Qt,onTabClick:ur,onTabScroll:Oe,extra:hr,style:qt,panes:oe});return ae?ze=ae(at,Se):ze=v.createElement(Se,Object.assign({},at)),v.createElement(j.Provider,{value:{tabs:xe,prefixCls:ut}},v.createElement("div",Object.assign({ref:Pt,id:Ye,className:a()(ut,"".concat(ut,"-").concat(Ot),(Ke={},Object(i.a)(Ke,"".concat(ut,"-mobile"),ie),Object(i.a)(Ke,"".concat(ut,"-editable"),ht),Object(i.a)(Ke,"".concat(ut,"-rtl"),ke),Ke),et)},Te),ze,v.createElement(we,Object.assign({destroyInactiveTabPane:se},Zt,{animated:lt}))))}var bt=v.forwardRef(nt);bt.TabPane=yt;var dt=bt,vt=dt,Qe=e("cCPh"),mt=e.n(Qe),Pe=e("fNCr"),De=e.n(Pe),Ie=e("V/uB"),ot=e.n(Ie),wt=e("uaoM"),Bt=e("H84U"),_t=function(xt,Pt){var Ke={};for(var Ye in xt)Object.prototype.hasOwnProperty.call(xt,Ye)&&Pt.indexOf(Ye)<0&&(Ke[Ye]=xt[Ye]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,Ye=Object.getOwnPropertySymbols(xt);$e<Ye.length;$e++)Pt.indexOf(Ye[$e])<0&&Object.prototype.propertyIsEnumerable.call(xt,Ye[$e])&&(Ke[Ye[$e]]=xt[Ye[$e]]);return Ke};function Ue(xt){var Pt,Ke=xt.type,Ye=xt.className,$e=xt.size,ut=xt.onEdit,et=xt.hideAdd,oe=xt.centered,me=xt.addIcon,it=_t(xt,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Be=it.prefixCls,ht=v.useContext(Bt.b),Mr=ht.getPrefixCls,Lt=ht.direction,or=Mr("tabs",Be),Qt;return Ke==="editable-card"&&(Qt={onEdit:function(hr,Gt){var de=Gt.key,ue=Gt.event;ut==null||ut(hr==="add"?ue:de,hr)},removeIcon:v.createElement(ot.a,null),addIcon:me||v.createElement(De.a,null),showAdd:et!==!0}),Object(wt.a)(!("onPrevClick"in it)&&!("onNextClick"in it),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),v.createElement(vt,x()({direction:Lt},it,{moreTransitionName:"slide-up",className:a()(Ye,(Pt={},p()(Pt,"".concat(or,"-").concat($e),$e),p()(Pt,"".concat(or,"-card"),["card","editable-card"].includes(Ke)),p()(Pt,"".concat(or,"-editable-card"),Ke==="editable-card"),p()(Pt,"".concat(or,"-centered"),oe),Pt)),editable:Qt,moreIcon:v.createElement(mt.a,null),prefixCls:or}))}Ue.TabPane=yt;var zt=B.a=Ue},ZTW2:function(J,B,e){},ZWlE:function(J,B,e){var d=e("bYtY"),x=e("4NO4");function g(b){p(b),v(b)}function p(b){if(b.parallel)return;var f=!1;d.each(b.series,function(i){i&&i.type==="parallel"&&(f=!0)}),f&&(b.parallel=[{}])}function v(b){var f=x.normalizeToArray(b.parallelAxis);d.each(f,function(i){if(!d.isObject(i))return;var r=i.parallelIndex||0,a=x.normalizeToArray(b.parallel)[r];a&&a.parallelAxisDefault&&d.merge(i,a.parallelAxisDefault,!1)})}J.exports=g},ZX9x:function(J,B,e){"use strict";e.d(B,"a",function(){return D}),e.d(B,"b",function(){return U});var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("lwsE"),b=e.n(v),f=e("W8MJ"),i=e.n(f),r=e("7W2i"),a=e.n(r),s=e("LQ03"),l=e.n(s),n=e("q1tI"),u=e("TSYQ"),t=e.n(u),c=e("BGR+"),o=e("T1rO"),h=e.n(o),A=e("fEPi"),y=e.n(A),O=e("DFhj"),S=e.n(O),E=e("PKem"),C=e("H84U"),T=function(j){return!isNaN(parseFloat(j))&&isFinite(j)},w=T,L=function(M,j){var P={};for(var K in M)Object.prototype.hasOwnProperty.call(M,K)&&j.indexOf(K)<0&&(P[K]=M[K]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,K=Object.getOwnPropertySymbols(M);H<K.length;H++)j.indexOf(K[H])<0&&Object.prototype.propertyIsEnumerable.call(M,K[H])&&(P[K[H]]=M[K[H]]);return P},N={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},D=n.createContext({}),F=function(){var M=0;return function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return M+=1,"".concat(j).concat(M)}}(),R=function(M){a()(P,M);var j=l()(P);function P(K){var H;b()(this,P),H=j.call(this,K),H.responsiveHandler=function(Y){H.setState({below:Y.matches});var k=H.props.onBreakpoint,Q=H.state.collapsed;k&&k(Y.matches),Q!==Y.matches&&H.setCollapsed(Y.matches,"responsive")},H.setCollapsed=function(Y,k){"collapsed"in H.props||H.setState({collapsed:Y});var Q=H.props.onCollapse;Q&&Q(Y,k)},H.toggle=function(){var Y=!H.state.collapsed;H.setCollapsed(Y,"clickTrigger")},H.renderSider=function(Y){var k,Q=Y.getPrefixCls,X=H.props,he=X.prefixCls,te=X.className,pe=X.theme,Se=X.collapsible,we=X.reverseArrow,We=X.trigger,qe=X.style,yt=X.width,_e=X.collapsedWidth,je=X.zeroWidthTriggerStyle,Ct=X.children,ct=L(X,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),nt=H.state,bt=nt.collapsed,dt=nt.below,vt=Q("layout-sider",he),Qe=Object(c.default)(ct,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),mt=bt?_e:yt,Pe=w(mt)?"".concat(mt,"px"):String(mt),De=parseFloat(String(_e||0))===0?n.createElement("span",{onClick:H.toggle,className:t()("".concat(vt,"-zero-width-trigger"),"".concat(vt,"-zero-width-trigger-").concat(we?"right":"left")),style:je},We||n.createElement(h.a,null)):null,Ie={expanded:we?n.createElement(y.a,null):n.createElement(S.a,null),collapsed:we?n.createElement(S.a,null):n.createElement(y.a,null)},ot=bt?"collapsed":"expanded",wt=Ie[ot],Bt=We!==null?De||n.createElement("div",{className:"".concat(vt,"-trigger"),onClick:H.toggle,style:{width:Pe}},We||wt):null,_t=p()(p()({},qe),{flex:"0 0 ".concat(Pe),maxWidth:Pe,minWidth:Pe,width:Pe}),Ue=t()(te,vt,"".concat(vt,"-").concat(pe),(k={},x()(k,"".concat(vt,"-collapsed"),!!bt),x()(k,"".concat(vt,"-has-trigger"),Se&&We!==null&&!De),x()(k,"".concat(vt,"-below"),!!dt),x()(k,"".concat(vt,"-zero-width"),parseFloat(Pe)===0),k));return n.createElement("aside",p()({className:Ue},Qe,{style:_t}),n.createElement("div",{className:"".concat(vt,"-children")},Ct),Se||dt&&De?Bt:null)},H.uniqueId=F("ant-sider-");var _;typeof window!="undefined"&&(_=window.matchMedia),_&&K.breakpoint&&K.breakpoint in N&&(H.mql=_("(max-width: ".concat(N[K.breakpoint],")")));var Z;return"collapsed"in K?Z=K.collapsed:Z=K.defaultCollapsed,H.state={collapsed:Z,below:!1},H}return i()(P,[{key:"componentDidMount",value:function(){var H;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(H=this.props)===null||H===void 0||H.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var H,_;(H=this===null||this===void 0?void 0:this.mql)===null||H===void 0||H.removeListener(this.responsiveHandler),(_=this.props)===null||_===void 0||_.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var H=this.state.collapsed,_=this.props.collapsedWidth;return n.createElement(D.Provider,{value:{siderCollapsed:H,collapsedWidth:_}},n.createElement(C.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(H){return"collapsed"in H?{collapsed:H.collapsed}:null}}]),P}(n.Component);R.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var U=function(M){a()(P,M);var j=l()(P);function P(){return b()(this,P),j.apply(this,arguments)}return i()(P,[{key:"render",value:function(){var H=this;return n.createElement(E.a.Consumer,null,function(_){return n.createElement(R,p()({},_,H.props))})}}]),P}(n.Component)},ZYIC:function(J,B,e){var d=e("zM3Q"),x={seriesType:"lines",plan:d(),reset:function(g){var p=g.coordinateSystem,v=g.get("polyline"),b=g.pipelineContext.large;function f(i,r){var a=[];if(b){var s,l=i.end-i.start;if(v){for(var n=0,u=i.start;u<i.end;u++)n+=g.getLineCoordsCount(u);s=new Float32Array(l+n*2)}else s=new Float32Array(l*4);for(var t=0,c=[],u=i.start;u<i.end;u++){var o=g.getLineCoords(u,a);v&&(s[t++]=o);for(var h=0;h<o;h++)c=p.dataToPoint(a[h],!1,c),s[t++]=c[0],s[t++]=c[1]}r.setLayout("linesPoints",s)}else for(var u=i.start;u<i.end;u++){var A=r.getItemModel(u),o=g.getLineCoords(u,a),y=[];if(v)for(var O=0;O<o;O++)y.push(p.dataToPoint(a[O]));else{y[0]=p.dataToPoint(a[0]),y[1]=p.dataToPoint(a[1]);var S=A.get("lineStyle.curveness");+S&&(y[2]=[(y[0][0]+y[1][0])/2-(y[0][1]-y[1][1])*S,(y[0][1]+y[1][1])/2-(y[1][0]-y[0][0])*S])}r.setItemLayout(u,y)}}return{progress:f}}};J.exports=x},Ze12:function(J,B,e){var d=e("ItGF"),x=e("hOwI"),g=x.buildTransformer,p="___zrEVENTSAVED",v=[];function b(s,l,n,u,t){return f(v,l,u,t,!0)&&f(s,n,v[0],v[1])}function f(s,l,n,u,t){if(l.getBoundingClientRect&&d.domSupported&&!a(l)){var c=l[p]||(l[p]={}),o=i(l,c),h=r(o,c,t);if(h)return h(s,n,u),!0}return!1}function i(s,l){var n=l.markers;if(n)return n;n=l.markers=[];for(var u=["left","right"],t=["top","bottom"],c=0;c<4;c++){var o=document.createElement("div"),h=o.style,A=c%2,y=(c>>1)%2;h.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",u[A]+":0",t[y]+":0",u[1-A]+":auto",t[1-y]+":auto",""].join("!important;"),s.appendChild(o),n.push(o)}return n}function r(s,l,n){for(var u=n?"invTrans":"trans",t=l[u],c=l.srcCoords,o=!0,h=[],A=[],y=0;y<4;y++){var O=s[y].getBoundingClientRect(),S=2*y,E=O.left,C=O.top;h.push(E,C),o=o&&c&&E===c[S]&&C===c[S+1],A.push(s[y].offsetLeft,s[y].offsetTop)}return o&&t?t:(l.srcCoords=h,l[u]=n?g(A,h):g(h,A))}function a(s){return s.nodeName.toUpperCase()==="CANVAS"}B.transformLocalCoord=b,B.transformCoordWithViewport=f,B.isCanvasEl=a},Znkb:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("ProS"),p=e("zTMp"),v=g.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(a,s,l,n){this.axisPointerClass&&p.fixValue(a),v.superApply(this,"render",arguments),b(this,a,s,l,n,!0)},updateAxisPointer:function(a,s,l,n,u){b(this,a,s,l,n,!1)},remove:function(a,s){var l=this._axisPointer;l&&l.remove(s),v.superApply(this,"remove",arguments)},dispose:function(a,s){f(this,s),v.superApply(this,"dispose",arguments)}});function b(a,s,l,n,u,t){var c=v.getAxisPointerClass(a.axisPointerClass);if(!c)return;var o=p.getAxisPointerModel(s);o?(a._axisPointer||(a._axisPointer=new c)).render(s,o,n,t):f(a,n)}function f(a,s,l){var n=a._axisPointer;n&&n.dispose(s,l),a._axisPointer=null}var i=[];v.registerAxisPointerClass=function(a,s){i[a]=s},v.getAxisPointerClass=function(a){return a&&i[a]};var r=v;J.exports=r},"Znn+":function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("9ama"),p=e.n(g)},ZqQs:function(J,B,e){var d=e("bYtY");function x(b){var f=b&&b.timeline;d.isArray(f)||(f=f?[f]:[]),d.each(f,function(i){if(!i)return;g(i)})}function g(b){var f=b.type,i={number:"value",time:"time"};if(i[f]&&(b.axisType=i[f],delete b.type),p(b),v(b,"controlPosition")){var r=b.controlStyle||(b.controlStyle={});v(r,"position")||(r.position=b.controlPosition),r.position==="none"&&!v(r,"show")&&(r.show=!1,delete r.position),delete b.controlPosition}d.each(b.data||[],function(a){d.isObject(a)&&!d.isArray(a)&&(!v(a,"value")&&v(a,"name")&&(a.value=a.name),p(a))})}function p(b){var f=b.itemStyle||(b.itemStyle={}),i=f.emphasis||(f.emphasis={}),r=b.label||b.label||{},a=r.normal||(r.normal={}),s={normal:1,emphasis:1};d.each(r,function(l,n){!s[n]&&!v(a,n)&&(a[n]=l)}),i.label&&!v(r,"emphasis")&&(r.emphasis=i.label,delete i.label)}function v(b,f){return b.hasOwnProperty(f)}J.exports=x},Zvw2:function(J,B,e){var d=e("bYtY"),x=e("hM6l"),g=function(v,b,f,i,r){x.call(this,v,b,f),this.type=i||"value",this.position=r||"bottom",this.orient=null};g.prototype={constructor:g,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},pointToData:function(v,b){return this.coordinateSystem.pointToData(v,b)[0]},toGlobalCoord:null,toLocalCoord:null},d.inherits(g,x);var p=g;J.exports=p},a7Wl:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};B.default=d},a9QJ:function(J,B){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function d(x,g){if(x==="world"){var p=e[g.name];if(p){var v=g.center;v[0]=p[0],v[1]=p[1]}}}J.exports=d},aCH8:function(J,B,e){(function(){var d=e("ANhw"),x=e("mmNF").utf8,g=e("BEtg"),p=e("mmNF").bin,v=function b(f,i){f.constructor==String?i&&i.encoding==="binary"?f=p.stringToBytes(f):f=x.stringToBytes(f):g(f)?f=Array.prototype.slice.call(f,0):!Array.isArray(f)&&f.constructor!==Uint8Array&&(f=f.toString());for(var r=d.bytesToWords(f),a=f.length*8,s=1732584193,l=-271733879,n=-1732584194,u=271733878,t=0;t<r.length;t++)r[t]=(r[t]<<8|r[t]>>>24)&16711935|(r[t]<<24|r[t]>>>8)&4278255360;r[a>>>5]|=128<<a%32,r[(a+64>>>9<<4)+14]=a;for(var c=b._ff,o=b._gg,h=b._hh,A=b._ii,t=0;t<r.length;t+=16){var y=s,O=l,S=n,E=u;s=c(s,l,n,u,r[t+0],7,-680876936),u=c(u,s,l,n,r[t+1],12,-389564586),n=c(n,u,s,l,r[t+2],17,606105819),l=c(l,n,u,s,r[t+3],22,-1044525330),s=c(s,l,n,u,r[t+4],7,-176418897),u=c(u,s,l,n,r[t+5],12,1200080426),n=c(n,u,s,l,r[t+6],17,-1473231341),l=c(l,n,u,s,r[t+7],22,-45705983),s=c(s,l,n,u,r[t+8],7,1770035416),u=c(u,s,l,n,r[t+9],12,-1958414417),n=c(n,u,s,l,r[t+10],17,-42063),l=c(l,n,u,s,r[t+11],22,-1990404162),s=c(s,l,n,u,r[t+12],7,1804603682),u=c(u,s,l,n,r[t+13],12,-40341101),n=c(n,u,s,l,r[t+14],17,-1502002290),l=c(l,n,u,s,r[t+15],22,1236535329),s=o(s,l,n,u,r[t+1],5,-165796510),u=o(u,s,l,n,r[t+6],9,-1069501632),n=o(n,u,s,l,r[t+11],14,643717713),l=o(l,n,u,s,r[t+0],20,-373897302),s=o(s,l,n,u,r[t+5],5,-701558691),u=o(u,s,l,n,r[t+10],9,38016083),n=o(n,u,s,l,r[t+15],14,-660478335),l=o(l,n,u,s,r[t+4],20,-405537848),s=o(s,l,n,u,r[t+9],5,568446438),u=o(u,s,l,n,r[t+14],9,-1019803690),n=o(n,u,s,l,r[t+3],14,-187363961),l=o(l,n,u,s,r[t+8],20,1163531501),s=o(s,l,n,u,r[t+13],5,-1444681467),u=o(u,s,l,n,r[t+2],9,-51403784),n=o(n,u,s,l,r[t+7],14,1735328473),l=o(l,n,u,s,r[t+12],20,-1926607734),s=h(s,l,n,u,r[t+5],4,-378558),u=h(u,s,l,n,r[t+8],11,-2022574463),n=h(n,u,s,l,r[t+11],16,1839030562),l=h(l,n,u,s,r[t+14],23,-35309556),s=h(s,l,n,u,r[t+1],4,-1530992060),u=h(u,s,l,n,r[t+4],11,1272893353),n=h(n,u,s,l,r[t+7],16,-155497632),l=h(l,n,u,s,r[t+10],23,-1094730640),s=h(s,l,n,u,r[t+13],4,681279174),u=h(u,s,l,n,r[t+0],11,-358537222),n=h(n,u,s,l,r[t+3],16,-722521979),l=h(l,n,u,s,r[t+6],23,76029189),s=h(s,l,n,u,r[t+9],4,-640364487),u=h(u,s,l,n,r[t+12],11,-421815835),n=h(n,u,s,l,r[t+15],16,530742520),l=h(l,n,u,s,r[t+2],23,-995338651),s=A(s,l,n,u,r[t+0],6,-198630844),u=A(u,s,l,n,r[t+7],10,1126891415),n=A(n,u,s,l,r[t+14],15,-1416354905),l=A(l,n,u,s,r[t+5],21,-57434055),s=A(s,l,n,u,r[t+12],6,1700485571),u=A(u,s,l,n,r[t+3],10,-1894986606),n=A(n,u,s,l,r[t+10],15,-1051523),l=A(l,n,u,s,r[t+1],21,-2054922799),s=A(s,l,n,u,r[t+8],6,1873313359),u=A(u,s,l,n,r[t+15],10,-30611744),n=A(n,u,s,l,r[t+6],15,-1560198380),l=A(l,n,u,s,r[t+13],21,1309151649),s=A(s,l,n,u,r[t+4],6,-145523070),u=A(u,s,l,n,r[t+11],10,-1120210379),n=A(n,u,s,l,r[t+2],15,718787259),l=A(l,n,u,s,r[t+9],21,-343485551),s=s+y>>>0,l=l+O>>>0,n=n+S>>>0,u=u+E>>>0}return d.endian([s,l,n,u])};v._ff=function(b,f,i,r,a,s,l){var n=b+(f&i|~f&r)+(a>>>0)+l;return(n<<s|n>>>32-s)+f},v._gg=function(b,f,i,r,a,s,l){var n=b+(f&r|i&~r)+(a>>>0)+l;return(n<<s|n>>>32-s)+f},v._hh=function(b,f,i,r,a,s,l){var n=b+(f^i^r)+(a>>>0)+l;return(n<<s|n>>>32-s)+f},v._ii=function(b,f,i,r,a,s,l){var n=b+(i^(f|~r))+(a>>>0)+l;return(n<<s|n>>>32-s)+f},v._blocksize=16,v._digestsize=16,J.exports=function(b,f){if(b==null)throw new Error("Illegal argument "+b);var i=d.wordsToBytes(v(b,f));return f&&f.asBytes?i:f&&f.asString?p.bytesToString(i):d.bytesToHex(i)}})()},aHsQ:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("6D9b"),p=e.n(g)},aKvl:function(J,B,e){var d=e("Sj9i"),x=d.quadraticProjectPoint;function g(p,v,b,f,i,r,a,s,l){if(a===0)return!1;var n=a;if(l>v+n&&l>f+n&&l>r+n||l<v-n&&l<f-n&&l<r-n||s>p+n&&s>b+n&&s>i+n||s<p-n&&s<b-n&&s<i-n)return!1;var u=x(p,v,b,f,i,r,s,l,null);return u<=n/2}B.containStroke=g},aTJb:function(J,B,e){var d=e("bLfw");d.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aUsF:function(J,B,e){"use strict";var d=Array.isArray,x=Object.keys,g=Object.prototype.hasOwnProperty;J.exports=function p(v,b){if(v===b)return!0;if(v&&b&&typeof v=="object"&&typeof b=="object"){var f=d(v),i=d(b),r,a,s;if(f&&i){if(a=v.length,a!=b.length)return!1;for(r=a;r--!==0;)if(!p(v[r],b[r]))return!1;return!0}if(f!=i)return!1;var l=v instanceof Date,n=b instanceof Date;if(l!=n)return!1;if(l&&n)return v.getTime()==b.getTime();var u=v instanceof RegExp,t=b instanceof RegExp;if(u!=t)return!1;if(u&&t)return v.toString()==b.toString();var c=x(v);if(a=c.length,a!==x(b).length)return!1;for(r=a;r--!==0;)if(!g.call(b,c[r]))return!1;for(r=a;r--!==0;)if(s=c[r],!p(v[s],b[s]))return!1;return!0}return v!==v&&b!==b}},aX58:function(J,B,e){var d=e("3gBT"),x=e("ItGF"),g=e("bYtY"),p=e("0s+r"),v=e("r6Bn"),b=e("7SHv"),f=e("MKOG"),i=e("zarK");/*!
|
|
|
* ZRender, a high performance 2d drawing library.
|
|
|
*
|
|
|
* Copyright (c) 2013, Baidu Inc.
|
|
|
* All rights reserved.
|
|
|
*
|
|
|
* LICENSE
|
|
|
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
|
*/var r=!x.canvasSupported,a={canvas:b},s={},l="4.3.1";function n(A,y){var O=new h(d(),A,y);return s[O.id]=O,O}function u(A){if(A)A.dispose();else{for(var y in s)s.hasOwnProperty(y)&&s[y].dispose();s={}}return this}function t(A){return s[A]}function c(A,y){a[A]=y}function o(A){delete s[A]}var h=function(y,O,S){S=S||{},this.dom=O,this.id=y;var E=this,C=new v,T=S.renderer;if(r){if(!a.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");T="vml"}else(!T||!a[T])&&(T="canvas");var w=new a[T](O,C,S,y);this.storage=C,this.painter=w;var L=!x.node&&!x.worker?new i(w.getViewportRoot(),w.root):null;this.handler=new p(C,w,L,w.root),this.animation=new f({stage:{update:g.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var N=C.delFromStorage,D=C.addToStorage;C.delFromStorage=function(F){N.call(C,F),F&&F.removeSelfFromZr(E)},C.addToStorage=function(F){D.call(C,F),F.addSelfToZr(E)}};h.prototype={constructor:h,getId:function(){return this.id},add:function(y){this.storage.addRoot(y),this._needsRefresh=!0},remove:function(y){this.storage.delRoot(y),this._needsRefresh=!0},configLayer:function(y,O){this.painter.configLayer&&this.painter.configLayer(y,O),this._needsRefresh=!0},setBackgroundColor:function(y){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(y),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var y;this._needsRefresh&&(y=!0,this.refreshImmediately()),this._needsRefreshHover&&(y=!0,this.refreshHoverImmediately()),y&&this.trigger("rendered")},addHover:function(y,O){if(this.painter.addHover){var S=this.painter.addHover(y,O);return this.refreshHover(),S}},removeHover:function(y){this.painter.removeHover&&(this.painter.removeHover(y),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(y){y=y||{},this.painter.resize(y.width,y.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(y,O){return this.painter.pathToImage(y,O)},setCursorStyle:function(y){this.handler.setCursorStyle(y)},findHover:function(y,O){return this.handler.findHover(y,O)},on:function(y,O,S){this.handler.on(y,O,S)},off:function(y,O){this.handler.off(y,O)},trigger:function(y,O){this.handler.trigger(y,O)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,o(this.id)}},B.version=l,B.init=n,B.dispose=u,B.getInstance=t,B.registerPainter=c},aX7z:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=e("GMDS"),v=e("ieMj"),b=e("4NgU"),f=e("OELB"),i=e("nVfU"),r=i.prepareLayoutBarSeries,a=i.makeColumnLayout,s=i.retrieveColumnLayout,l=e("mFDi");e("IWp7"),e("jCoz");function n(C,T){var w=C.type,L=T.getMin(),N=T.getMax(),D=C.getExtent(),F,R,U;w==="ordinal"?F=T.getCategories().length:(R=T.get("boundaryGap"),g.isArray(R)||(R=[R||0,R||0]),typeof R[0]=="boolean"&&(R=[0,0]),R[0]=f.parsePercent(R[0],1),R[1]=f.parsePercent(R[1],1),U=D[1]-D[0]||Math.abs(D[0])),L==="dataMin"?L=D[0]:typeof L=="function"&&(L=L({min:D[0],max:D[1]})),N==="dataMax"?N=D[1]:typeof N=="function"&&(N=N({min:D[0],max:D[1]}));var M=L!=null,j=N!=null;L==null&&(L=w==="ordinal"?F?0:NaN:D[0]-R[0]*U),N==null&&(N=w==="ordinal"?F?F-1:NaN:D[1]+R[1]*U),(L==null||!isFinite(L))&&(L=NaN),(N==null||!isFinite(N))&&(N=NaN),C.setBlank(g.eqNaN(L)||g.eqNaN(N)||w==="ordinal"&&!C.getOrdinalMeta().categories.length),T.getNeedCrossZero()&&(L>0&&N>0&&!M&&(L=0),L<0&&N<0&&!j&&(N=0));var P=T.ecModel;if(P&&w==="time"){var K=r("bar",P),H;if(g.each(K,function(Y){H|=Y.getBaseAxis()===T.axis}),H){var _=a(K),Z=u(L,N,T,_);L=Z.min,N=Z.max}}return{extent:[L,N],fixMin:M,fixMax:j}}function u(C,T,w,L){var N=w.axis.getExtent(),D=N[1]-N[0],F=s(L,w.axis);if(F===void 0)return{min:C,max:T};var R=Infinity;g.each(F,function(H){R=Math.min(H.offset,R)});var U=-Infinity;g.each(F,function(H){U=Math.max(H.offset+H.width,U)}),R=Math.abs(R),U=Math.abs(U);var M=R+U,j=T-C,P=1-(R+U)/D,K=j/P-j;return T+=K*(U/M),C-=K*(R/M),{min:C,max:T}}function t(C,T){var w=n(C,T),L=w.extent,N=T.get("splitNumber");C.type==="log"&&(C.base=T.get("logBase"));var D=C.type;C.setExtent(L[0],L[1]),C.niceExtent({splitNumber:N,fixMin:w.fixMin,fixMax:w.fixMax,minInterval:D==="interval"||D==="time"?T.get("minInterval"):null,maxInterval:D==="interval"||D==="time"?T.get("maxInterval"):null});var F=T.get("interval");F!=null&&(C.setInterval&&C.setInterval(F))}function c(C,T){if(T=T||C.get("type"),T)switch(T){case"category":return new p(C.getOrdinalMeta?C.getOrdinalMeta():C.getCategories(),[Infinity,-Infinity]);case"value":return new v;default:return(b.getClass(T)||v).create(C)}}function o(C){var T=C.scale.getExtent(),w=T[0],L=T[1];return!(w>0&&L>0||w<0&&L<0)}function h(C){var T=C.getLabelModel().get("formatter"),w=C.type==="category"?C.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(L){return function(N){return N=C.scale.getLabel(N),L.replace("{value}",N!=null?N:"")}}(T),T):typeof T=="function"?function(L,N){return w!=null&&(N=L-w),T(A(C,L),N)}:function(L){return C.scale.getLabel(L)}}function A(C,T){return C.type==="category"?C.scale.getLabel(T):T}function y(C){var T=C.model,w=C.scale;if(!T.get("axisLabel.show")||w.isBlank())return;var L=C.type==="category",N,D,F=w.getExtent();L?D=w.count():(N=w.getTicks(),D=N.length);var R=C.getLabelModel(),U=h(C),M,j=1;D>40&&(j=Math.ceil(D/40));for(var P=0;P<D;P+=j){var K=N?N[P]:F[0]+P,H=U(K),_=R.getTextRect(H),Z=O(_,R.get("rotate")||0);M?M.union(Z):M=Z}return M}function O(C,T){var w=T*Math.PI/180,L=C.plain(),N=L.width,D=L.height,F=N*Math.cos(w)+D*Math.sin(w),R=N*Math.sin(w)+D*Math.cos(w),U=new l(L.x,L.y,F,R);return U}function S(C){var T=C.get("interval");return T==null?"auto":T}function E(C){return C.type==="category"&&S(C.getLabelModel())===0}B.getScaleExtent=n,B.niceScaleExtent=t,B.createScaleByModel=c,B.ifAxisCrossZero=o,B.makeLabelFormatter=h,B.getAxisRawValue=A,B.estimateLabelUnionRect=y,B.getOptionCategoryInterval=S,B.shouldShowAllLabels=E},adU4:function(J,B,e){var d=e("y1pI"),x=Array.prototype,g=x.splice;function p(v){var b=this.__data__,f=d(b,v);if(f<0)return!1;var i=b.length-1;return f==i?b.pop():g.call(b,f,1),--this.size,!0}J.exports=p},"af/B":function(J,B,e){var d=e("bYtY"),x=d.each,g=d.map,p=d.isFunction,v=d.createHashMap,b=d.noop,f=e("9H2F"),i=f.createTask,r=e("iRjW"),a=r.getUID,s=e("fmMI"),l=e("hD7B"),n=e("4NO4"),u=n.normalizeToArray;function t(H,_,Z,Y){this.ecInstance=H,this.api=_,this.unfinished;var Z=this._dataProcessorHandlers=Z.slice(),Y=this._visualHandlers=Y.slice();this._allHandlers=Z.concat(Y),this._stageTaskMap=v()}var c=t.prototype;c.restoreData=function(H,_){H.restoreData(_),this._stageTaskMap.each(function(Z){var Y=Z.overallTask;Y&&Y.dirty()})},c.getPerformArgs=function(H,_){if(!H.__pipeline)return;var Z=this._pipelineMap.get(H.__pipeline.id),Y=Z.context,k=!_&&Z.progressiveEnabled&&(!Y||Y.progressiveRender)&&H.__idxInPipeline>Z.blockIndex,Q=k?Z.step:null,X=Y&&Y.modDataCount,he=X!=null?Math.ceil(X/Q):null;return{step:Q,modBy:he,modDataCount:X}},c.getPipeline=function(H){return this._pipelineMap.get(H)},c.updateStreamModes=function(H,_){var Z=this._pipelineMap.get(H.uid),Y=H.getData(),k=Y.count(),Q=Z.progressiveEnabled&&_.incrementalPrepareRender&&k>=Z.threshold,X=H.get("large")&&k>=H.get("largeThreshold"),he=H.get("progressiveChunkMode")==="mod"?k:null;H.pipelineContext=Z.context={progressiveRender:Q,modDataCount:he,large:X}},c.restorePipelines=function(H){var _=this,Z=_._pipelineMap=v();H.eachSeries(function(Y){var k=Y.getProgressive(),Q=Y.uid;Z.set(Q,{id:Q,head:null,tail:null,threshold:Y.getProgressiveThreshold(),progressiveEnabled:k&&!(Y.preventIncremental&&Y.preventIncremental()),blockIndex:-1,step:Math.round(k||700),count:0}),F(_,Y,Y.dataTask)})},c.prepareStageTasks=function(){var H=this._stageTaskMap,_=this.ecInstance.getModel(),Z=this.api;x(this._allHandlers,function(Y){var k=H.get(Y.uid)||H.set(Y.uid,[]);Y.reset&&A(this,Y,k,_,Z),Y.overallReset&&y(this,Y,k,_,Z)},this)},c.prepareView=function(H,_,Z,Y){var k=H.renderTask,Q=k.context;Q.model=_,Q.ecModel=Z,Q.api=Y,k.__block=!H.incrementalPrepareRender,F(this,_,k)},c.performDataProcessorTasks=function(H,_){o(this,this._dataProcessorHandlers,H,_,{block:!0})},c.performVisualTasks=function(H,_,Z){o(this,this._visualHandlers,H,_,Z)};function o(H,_,Z,Y,k){k=k||{};var Q;x(_,function(he,te){if(k.visualType&&k.visualType!==he.visualType)return;var pe=H._stageTaskMap.get(he.uid),Se=pe.seriesTaskMap,we=pe.overallTask;if(we){var We,qe=we.agentStubMap;qe.each(function(_e){X(k,_e)&&(_e.dirty(),We=!0)}),We&&we.dirty(),h(we,Y);var yt=H.getPerformArgs(we,k.block);qe.each(function(_e){_e.perform(yt)}),Q|=we.perform(yt)}else Se&&Se.each(function(_e,je){X(k,_e)&&_e.dirty();var Ct=H.getPerformArgs(_e,k.block);Ct.skip=!he.performRawSeries&&Z.isSeriesFiltered(_e.context.model),h(_e,Y),Q|=_e.perform(Ct)})});function X(he,te){return he.setDirty&&(!he.dirtyMap||he.dirtyMap.get(te.__pipeline.id))}H.unfinished|=Q}c.performSeriesTasks=function(H){var _;H.eachSeries(function(Z){_|=Z.dataTask.perform()}),this.unfinished|=_},c.plan=function(){this._pipelineMap.each(function(H){var _=H.tail;do{if(_.__block){H.blockIndex=_.__idxInPipeline;break}_=_.getUpstream()}while(_)})};var h=c.updatePayload=function(H,_){_!=="remain"&&(H.context.payload=_)};function A(H,_,Z,Y,k){var Q=Z.seriesTaskMap||(Z.seriesTaskMap=v()),X=_.seriesType,he=_.getTargetSeries;_.createOnAllSeries?Y.eachRawSeries(te):X?Y.eachRawSeriesByType(X,te):he&&he(Y,k).each(te);function te(Se){var we=Se.uid,We=Q.get(we)||Q.set(we,i({plan:T,reset:w,count:D}));We.context={model:Se,ecModel:Y,api:k,useClearVisual:_.isVisual&&!_.isLayout,plan:_.plan,reset:_.reset,scheduler:H},F(H,Se,We)}var pe=H._pipelineMap;Q.each(function(Se,we){pe.get(we)||(Se.dispose(),Q.removeKey(we))})}function y(H,_,Z,Y,k){var Q=Z.overallTask=Z.overallTask||i({reset:O});Q.context={ecModel:Y,api:k,overallReset:_.overallReset,scheduler:H};var X=Q.agentStubMap=Q.agentStubMap||v(),he=_.seriesType,te=_.getTargetSeries,pe=!0,Se=_.modifyOutputEnd;he?Y.eachRawSeriesByType(he,we):te?te(Y,k).each(we):(pe=!1,x(Y.getSeries(),we));function we(qe){var yt=qe.uid,_e=X.get(yt);_e||(_e=X.set(yt,i({reset:S,onDirty:C})),Q.dirty()),_e.context={model:qe,overallProgress:pe,modifyOutputEnd:Se},_e.agent=Q,_e.__block=pe,F(H,qe,_e)}var We=H._pipelineMap;X.each(function(qe,yt){We.get(yt)||(qe.dispose(),Q.dirty(),X.removeKey(yt))})}function O(H){H.overallReset(H.ecModel,H.api,H.payload)}function S(H,_){return H.overallProgress&&E}function E(){this.agent.dirty(),this.getDownstream().dirty()}function C(){this.agent&&this.agent.dirty()}function T(H){return H.plan&&H.plan(H.model,H.ecModel,H.api,H.payload)}function w(H){H.useClearVisual&&H.data.clearAllVisual();var _=H.resetDefines=u(H.reset(H.model,H.ecModel,H.api,H.payload));return _.length>1?g(_,function(Z,Y){return N(Y)}):L}var L=N(0);function N(H){return function(_,Z){var Y=Z.data,k=Z.resetDefines[H];if(k&&k.dataEach)for(var Q=_.start;Q<_.end;Q++)k.dataEach(Y,Q);else k&&k.progress&&k.progress(_,Y)}}function D(H){return H.data.count()}function F(H,_,Z){var Y=_.uid,k=H._pipelineMap.get(Y);!k.head&&(k.head=Z),k.tail&&k.tail.pipe(Z),k.tail=Z,Z.__idxInPipeline=k.count++,Z.__pipeline=k}t.wrapStageHandler=function(H,_){return p(H)&&(H={overallReset:H,seriesType:R(H)}),H.uid=a("stageHandler"),_&&(H.visualType=_),H};function R(H){j=null;try{H(U,M)}catch(_){}return j}var U={},M={},j;P(U,s),P(M,l),U.eachSeriesByType=U.eachRawSeriesByType=function(H){j=H},U.eachComponent=function(H){H.mainType==="series"&&H.subType&&(j=H.subType)};function P(H,_){for(var Z in _.prototype)H[Z]=b}var K=t;J.exports=K},akwb:function(J,B,e){var d=e("RSch"),x=e("bYtY"),g=e("D9ME"),p=e("QBsz");function v(i,r,a){g.call(this,i,r,a),this._lastFrame=0,this._lastFramePercent=0}var b=v.prototype;b.createLine=function(i,r,a){return new d(i,r,a)},b.updateAnimationPoints=function(i,r){this._points=r;for(var a=[0],s=0,l=1;l<r.length;l++){var n=r[l-1],u=r[l];s+=p.dist(n,u),a.push(s)}if(s===0)return;for(var l=0;l<a.length;l++)a[l]/=s;this._offsets=a,this._length=s},b.getLineLength=function(i){return this._length},b.updateSymbolPosition=function(i){var r=i.__t,a=this._points,s=this._offsets,l=a.length;if(!s)return;var n=this._lastFrame,u;if(r<this._lastFramePercent){var t=Math.min(n+1,l-1);for(u=t;u>=0&&!(s[u]<=r);u--);u=Math.min(u,l-2)}else{for(var u=n;u<l&&!(s[u]>r);u++);u=Math.min(u-1,l-2)}p.lerp(i.position,a[u],a[u+1],(r-s[u])/(s[u+1]-s[u]));var c=a[u+1][0]-a[u][0],o=a[u+1][1]-a[u][1];i.rotation=-Math.atan2(o,c)-Math.PI/2,this._lastFrame=u,this._lastFramePercent=r,i.ignore=!1},x.inherits(v,g);var f=v;J.exports=f},apAg:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("bsht")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="SearchOutlined";var f=g.forwardRef(b);B.default=f},as94:function(J,B,e){var d=e("7aKB"),x=e("3LNs"),g=e("IwbS"),p=e("/y7N"),v=e("Fofx"),b=e("+rIm"),f=e("Znkb"),i=x.extend({makeElOption:function(l,n,u,t,c){var o=u.axis;o.dim==="angle"&&(this.animationThreshold=Math.PI/18);var h=o.polar,A=h.getOtherAxis(o),y=A.getExtent(),O;O=o["dataTo"+d.capitalFirst(o.dim)](n);var S=t.get("type");if(S&&S!=="none"){var E=p.buildElStyle(t),C=a[S](o,h,O,y,E);C.style=E,l.graphicKey=C.type,l.pointer=C}var T=t.get("label.margin"),w=r(n,u,t,h,T);p.buildLabelElOption(l,u,t,c,w)}});function r(l,n,u,t,c){var o=n.axis,h=o.dataToCoord(l),A=t.getAngleAxis().getExtent()[0];A=A/180*Math.PI;var y=t.getRadiusAxis().getExtent(),O,S,E;if(o.dim==="radius"){var C=v.create();v.rotate(C,C,A),v.translate(C,C,[t.cx,t.cy]),O=g.applyTransform([h,-c],C);var T=n.getModel("axisLabel").get("rotate")||0,w=b.innerTextLayout(A,T*Math.PI/180,-1);S=w.textAlign,E=w.textVerticalAlign}else{var L=y[1];O=t.coordToPoint([L+c,h]);var N=t.cx,D=t.cy;S=Math.abs(O[0]-N)/L<.3?"center":O[0]>N?"left":"right",E=Math.abs(O[1]-D)/L<.3?"middle":O[1]>D?"top":"bottom"}return{position:O,align:S,verticalAlign:E}}var a={line:function(l,n,u,t,c){return l.dim==="angle"?{type:"Line",shape:p.makeLineShape(n.coordToPoint([t[0],u]),n.coordToPoint([t[1],u]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:u}}},shadow:function(l,n,u,t,c){var o=Math.max(1,l.getBandWidth()),h=Math.PI/180;return l.dim==="angle"?{type:"Sector",shape:p.makeSectorShape(n.cx,n.cy,t[0],t[1],(-u-o/2)*h,(-u+o/2)*h)}:{type:"Sector",shape:p.makeSectorShape(n.cx,n.cy,u-o/2,u+o/2,0,Math.PI*2)}}};f.registerAxisPointerClass("PolarAxisPointer",i);var s=i;J.exports=s},b56q:function(J,B,e){},b80T:function(J,B,e){var d=e("UNi/"),x=e("03A+"),g=e("Z0cm"),p=e("DSRE"),v=e("wJg7"),b=e("c6wG"),f=Object.prototype,i=f.hasOwnProperty;function r(a,s){var l=g(a),n=!l&&x(a),u=!l&&!n&&p(a),t=!l&&!n&&!u&&b(a),c=l||n||u||t,o=c?d(a.length,String):[],h=o.length;for(var A in a)(s||i.call(a,A))&&!(c&&(A=="length"||u&&(A=="offset"||A=="parent")||t&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||v(A,h)))&&o.push(A);return o}J.exports=r},b80e:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("gKaM")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="DoubleLeftOutlined";var f=g.forwardRef(b);B.default=f},b9oc:function(J,B,e){var d=e("bYtY"),x=d.each,g="\0_ec_hist_store";function p(r,a){var s=i(r);x(a,function(l,n){for(var u=s.length-1;u>=0;u--){var t=s[u];if(t[n])break}if(u<0){var c=r.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(c){var o=c.getPercentRange();s[0][n]={dataZoomId:n,start:o[0],end:o[1]}}}}),s.push(a)}function v(r){var a=i(r),s=a[a.length-1];a.length>1&&a.pop();var l={};return x(s,function(n,u){for(var t=a.length-1;t>=0;t--){var n=a[t][u];if(n){l[u]=n;break}}}),l}function b(r){r[g]=null}function f(r){return i(r).length}function i(r){var a=r[g];return a||(a=r[g]=[{}]),a}B.push=p,B.pop=v,B.clear=b,B.count=f},bBKM:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("ProS"),p=e("bYtY"),v=e("+rIm"),b=e("IwbS"),f=["axisLine","axisTickLabel","axisName"],i=g.extendComponentView({type:"radar",render:function(r,a,s){var l=this.group;l.removeAll(),this._buildAxes(r),this._buildSplitLineAndArea(r)},_buildAxes:function(r){var a=r.coordinateSystem,s=a.getIndicatorAxes(),l=p.map(s,function(n){var u=new v(n.model,{position:[a.cx,a.cy],rotation:n.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return u});p.each(l,function(n){p.each(f,n.add,n),this.group.add(n.getGroup())},this)},_buildSplitLineAndArea:function(r){var a=r.coordinateSystem,s=a.getIndicatorAxes();if(!s.length)return;var l=r.get("shape"),n=r.getModel("splitLine"),u=r.getModel("splitArea"),t=n.getModel("lineStyle"),c=u.getModel("areaStyle"),o=n.get("show"),h=u.get("show"),A=t.get("color"),y=c.get("color");A=p.isArray(A)?A:[A],y=p.isArray(y)?y:[y];var O=[],S=[];function E(K,H,_){var Z=_%H.length;return K[Z]=K[Z]||[],Z}if(l==="circle")for(var C=s[0].getTicksCoords(),T=a.cx,w=a.cy,L=0;L<C.length;L++){if(o){var N=E(O,A,L);O[N].push(new b.Circle({shape:{cx:T,cy:w,r:C[L].coord}}))}if(h&&L<C.length-1){var N=E(S,y,L);S[N].push(new b.Ring({shape:{cx:T,cy:w,r0:C[L].coord,r:C[L+1].coord}}))}}else for(var D,F=p.map(s,function(K,H){var _=K.getTicksCoords();return D=D==null?_.length-1:Math.min(_.length-1,D),p.map(_,function(Z){return a.coordToPoint(Z.coord,H)})}),R=[],L=0;L<=D;L++){for(var U=[],M=0;M<s.length;M++)U.push(F[M][L]);if(U[0]&&U.push(U[0].slice()),o){var N=E(O,A,L);O[N].push(new b.Polyline({shape:{points:U}}))}if(h&&R){var N=E(S,y,L-1);S[N].push(new b.Polygon({shape:{points:U.concat(R)}}))}R=U.slice().reverse()}var j=t.getLineStyle(),P=c.getAreaStyle();p.each(S,function(K,H){this.group.add(b.mergePath(K,{style:p.defaults({stroke:"none",fill:y[H%y.length]},P),silent:!0}))},this),p.each(O,function(K,H){this.group.add(b.mergePath(K,{style:p.defaults({fill:"none",stroke:A[H%A.length]},j),silent:!0}))},this)}});J.exports=i},bBL8:function(J,B,e){var d=e("ProS");e("LPzL"),e("rfSb"),e("JVwQ");var x=e("UnoB"),g=e("cbJ4"),p=e("0/Rx");d.registerLayout(x),d.registerVisual(g),d.registerProcessor(p("themeRiver"))},bE4E:function(J,B,e){},bE4q:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("RIqP"),b=e.n(v),f=e("q1tI"),i=e("TSYQ"),r=e.n(i),a=e("Zm9Q"),s=e("HQEm"),l=e.n(s),n=e("XBQK"),u=e("H84U"),t=function(R,U){var M={};for(var j in R)Object.prototype.hasOwnProperty.call(R,j)&&U.indexOf(j)<0&&(M[j]=R[j]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,j=Object.getOwnPropertySymbols(R);P<j.length;P++)U.indexOf(j[P])<0&&Object.prototype.propertyIsEnumerable.call(R,j[P])&&(M[j[P]]=R[j[P]]);return M},c=function(U){var M=U.prefixCls,j=U.separator,P=j===void 0?"/":j,K=U.children,H=U.overlay,_=U.dropdownProps,Z=t(U,["prefixCls","separator","children","overlay","dropdownProps"]),Y=f.useContext(u.b),k=Y.getPrefixCls,Q=k("breadcrumb",M),X=function(pe){return H?f.createElement(n.a,x()({overlay:H,placement:"bottomCenter"},_),f.createElement("span",{className:"".concat(Q,"-overlay-link")},pe,f.createElement(l.a,null))):pe},he;return"href"in Z?he=f.createElement("a",x()({className:"".concat(Q,"-link")},Z),K):he=f.createElement("span",x()({className:"".concat(Q,"-link")},Z),K),he=X(he),K?f.createElement("span",null,he,P&&P!==""&&f.createElement("span",{className:"".concat(Q,"-separator")},P)):null};c.__ANT_BREADCRUMB_ITEM=!0;var o=c,h=function(U){var M=U.children,j=f.useContext(u.b),P=j.getPrefixCls,K=P("breadcrumb");return f.createElement("span",{className:"".concat(K,"-separator")},M||"/")};h.__ANT_BREADCRUMB_SEPARATOR=!0;var A=h,y=e("BvKs"),O=e("uaoM"),S=e("0n0R"),E=function(R,U){var M={};for(var j in R)Object.prototype.hasOwnProperty.call(R,j)&&U.indexOf(j)<0&&(M[j]=R[j]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,j=Object.getOwnPropertySymbols(R);P<j.length;P++)U.indexOf(j[P])<0&&Object.prototype.propertyIsEnumerable.call(R,j[P])&&(M[j[P]]=R[j[P]]);return M};function C(R,U){if(!R.breadcrumbName)return null;var M=Object.keys(U).join("|"),j=R.breadcrumbName.replace(new RegExp(":(".concat(M,")"),"g"),function(P,K){return U[K]||P});return j}function T(R,U,M,j){var P=M.indexOf(R)===M.length-1,K=C(R,U);return P?f.createElement("span",null,K):f.createElement("a",{href:"#/".concat(j.join("/"))},K)}var w=function(U,M){return U=(U||"").replace(/^\//,""),Object.keys(M).forEach(function(j){U=U.replace(":".concat(j),M[j])}),U},L=function(U){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",j=arguments.length>2?arguments[2]:void 0,P=b()(U),K=w(M,j);return K&&P.push(K),P},N=function(U){var M=U.prefixCls,j=U.separator,P=j===void 0?"/":j,K=U.style,H=U.className,_=U.routes,Z=U.children,Y=U.itemRender,k=Y===void 0?T:Y,Q=U.params,X=Q===void 0?{}:Q,he=E(U,["prefixCls","separator","style","className","routes","children","itemRender","params"]),te=f.useContext(u.b),pe=te.getPrefixCls,Se=te.direction,we,We=pe("breadcrumb",M);if(_&&_.length>0){var qe=[];we=_.map(function(_e){var je=w(_e.path,X);je&&qe.push(je);var Ct;return _e.children&&_e.children.length&&(Ct=f.createElement(y.a,null,_e.children.map(function(ct){return f.createElement(y.a.Item,{key:ct.path||ct.breadcrumbName},k(ct,X,_,L(qe,ct.path,X)))}))),f.createElement(o,{overlay:Ct,separator:P,key:je||_e.breadcrumbName},k(_e,X,_,qe))})}else Z&&(we=Object(a.a)(Z).map(function(_e,je){return _e&&(Object(O.a)(_e.type&&(_e.type.__ANT_BREADCRUMB_ITEM===!0||_e.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(S.a)(_e,{separator:P,key:je}))}));var yt=r()(H,We,p()({},"".concat(We,"-rtl"),Se==="rtl"));return f.createElement("div",x()({className:yt,style:K},he),we)};N.Item=o,N.Separator=A;var D=N,F=B.a=D},bKJz:function(J,B,e){},bLfw:function(J,B,e){var d=e("bYtY"),x=e("Qxkt"),g=e("iRjW"),p=e("Yl7c"),v=p.enableClassManagement,b=p.parseClassType,f=e("4NO4"),i=f.makeInner,r=e("+TT/"),a=e("3hzK"),s=i(),l=x.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,c,o,h){x.call(this,t,c,o,h),this.uid=g.getUID("ec_cpt_model")},init:function(t,c,o,h){this.mergeDefaultAndTheme(t,o)},mergeDefaultAndTheme:function(t,c){var o=this.layoutMode,h=o?r.getLayoutParams(t):{},A=c.getTheme();d.merge(t,A.get(this.mainType)),d.merge(t,this.getDefaultOption()),o&&r.mergeLayoutParam(t,h,o)},mergeOption:function(t,c){d.merge(this.option,t,!0);var o=this.layoutMode;o&&r.mergeLayoutParam(this.option,t,o)},optionUpdated:function(t,c){},getDefaultOption:function(){var t=s(this);if(!t.defaultOption){for(var c=[],o=this.constructor;o;){var h=o.prototype.defaultOption;h&&c.push(h),o=o.superClass}for(var A={},y=c.length-1;y>=0;y--)A=d.merge(A,c[y],!0);t.defaultOption=A}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});v(l,{registerWhenExtend:!0}),g.enableSubTypeDefaulter(l),g.enableTopologicalTravel(l,n);function n(t){var c=[];return d.each(l.getClassesByMainType(t),function(o){c=c.concat(o.prototype.dependencies||[])}),c=d.map(c,function(o){return b(o).main}),t!=="dataset"&&d.indexOf(c,"dataset")<=0&&c.unshift("dataset"),c}d.mixin(l,a);var u=l;J.exports=u},bMXI:function(J,B,e){var d=e("bYtY"),x=e("QBsz"),g=e("Fofx"),p=e("mFDi"),v=e("DN4a"),b=x.applyTransform;function f(){v.call(this)}d.mixin(f,v);function i(s){this.name=s,this.zoomLimit,v.call(this),this._roamTransformable=new f,this._rawTransformable=new f,this._center,this._zoom}i.prototype={constructor:i,type:"view",dimensions:["x","y"],setBoundingRect:function(s,l,n,u){return this._rect=new p(s,l,n,u),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(s,l,n,u){this.transformTo(s,l,n,u),this._viewRect=new p(s,l,n,u)},transformTo:function(s,l,n,u){var t=this.getBoundingRect(),c=this._rawTransformable;c.transform=t.calculateTransform(new p(s,l,n,u)),c.decomposeTransform(),this._updateTransform()},setCenter:function(s){if(!s)return;this._center=s,this._updateCenterAndZoom()},setZoom:function(s){s=s||1;var l=this.zoomLimit;l&&(l.max!=null&&(s=Math.min(l.max,s)),l.min!=null&&(s=Math.max(l.min,s))),this._zoom=s,this._updateCenterAndZoom()},getDefaultCenter:function(){var s=this.getBoundingRect(),l=s.x+s.width/2,n=s.y+s.height/2;return[l,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var s=this._rawTransformable.getLocalTransform(),l=this._roamTransformable,n=this.getDefaultCenter(),u=this.getCenter(),t=this.getZoom();u=x.applyTransform([],u,s),n=x.applyTransform([],n,s),l.origin=u,l.position=[n[0]-u[0],n[1]-u[1]],l.scale=[t,t],this._updateTransform()},_updateTransform:function(){var s=this._roamTransformable,l=this._rawTransformable;l.parent=s,s.updateTransform(),l.updateTransform(),g.copy(this.transform||(this.transform=[]),l.transform||g.create()),this._rawTransform=l.getLocalTransform(),this.invTransform=this.invTransform||[],g.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var s=this._roamTransformable.transform,l=this._rawTransformable;return{roamTransform:s?d.slice(s):g.create(),rawScale:d.slice(l.scale),rawPosition:d.slice(l.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var s=this.getBoundingRect().clone();return s.applyTransform(this.transform),s},dataToPoint:function(s,l,n){var u=l?this._rawTransform:this.transform;return n=n||[],u?b(n,s,u):x.copy(n,s)},pointToData:function(s){var l=this.invTransform;return l?b([],s,l):[s[0],s[1]]},convertToPixel:d.curry(r,"dataToPoint"),convertFromPixel:d.curry(r,"pointToData"),containPoint:function(s){return this.getViewRectAfterRoam().contain(s[0],s[1])}},d.mixin(i,v);function r(s,l,n,u){var t=n.seriesModel,c=t?t.coordinateSystem:null;return c===this?c[s](u):null}var a=i;J.exports=a},bNin:function(J,B,e){var d=e("bYtY"),x=e("IwbS"),g=e("FBjb"),p=e("Itpr"),v=p.radialCoordinate,b=e("ProS"),f=e("4mN7"),i=e("bMXI"),r=e("Ae+d"),a=e("SgGq"),s=e("xSat"),l=s.onIrrelevantElement,n=e("Tghj"),u=n.__DEV__,t=e("OELB"),c=t.parsePercent,o=x.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,w){var L=w.childPoints,N=L.length,D=w.parentPoint,F=L[0],R=L[N-1];if(N===1){T.moveTo(D[0],D[1]),T.lineTo(F[0],F[1]);return}var U=w.orient,M=U==="TB"||U==="BT"?0:1,j=1-M,P=c(w.forkPosition,1),K=[];K[M]=D[M],K[j]=D[j]+(R[j]-D[j])*P,T.moveTo(D[0],D[1]),T.lineTo(K[0],K[1]),T.moveTo(F[0],F[1]),K[M]=F[M],T.lineTo(K[0],K[1]),K[M]=R[M],T.lineTo(K[0],K[1]),T.lineTo(R[0],R[1]);for(var H=1;H<N-1;H++){var _=L[H];T.moveTo(_[0],_[1]),K[M]=_[M],T.lineTo(K[0],K[1])}}}),h=b.extendChartView({type:"tree",init:function(T,w){this._oldTree,this._mainGroup=new x.Group,this._controller=new a(w.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(T,w,L,N){var D=T.getData(),F=T.layoutInfo,R=this._mainGroup,U=T.get("layout");U==="radial"?R.attr("position",[F.x+F.width/2,F.y+F.height/2]):R.attr("position",[F.x,F.y]),this._updateViewCoordSys(T,F,U),this._updateController(T,w,L);var M=this._data,j={expandAndCollapse:T.get("expandAndCollapse"),layout:U,edgeShape:T.get("edgeShape"),edgeForkPosition:T.get("edgeForkPosition"),orient:T.getOrient(),curvature:T.get("lineStyle.curveness"),symbolRotate:T.get("symbolRotate"),symbolOffset:T.get("symbolOffset"),hoverAnimation:T.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};D.diff(M).add(function(P){A(D,P)&&O(D,P,null,R,T,j)}).update(function(P,K){var H=M.getItemGraphicEl(K);if(!A(D,P)){H&&E(M,K,H,R,T,j);return}O(D,P,H,R,T,j)}).remove(function(P){var K=M.getItemGraphicEl(P);K&&E(M,P,K,R,T,j)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),j.expandAndCollapse===!0&&D.eachItemGraphicEl(function(P,K){P.off("click").on("click",function(){L.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:K})})}),this._data=D},_updateViewCoordSys:function(T){var w=T.getData(),L=[];w.each(function(M){var j=w.getItemLayout(M);j&&!isNaN(j.x)&&!isNaN(j.y)&&L.push([+j.x,+j.y])});var N=[],D=[];f.fromPoints(L,N,D);var F=this._min,R=this._max;D[0]-N[0]===0&&(N[0]=F?F[0]:N[0]-1,D[0]=R?R[0]:D[0]+1),D[1]-N[1]===0&&(N[1]=F?F[1]:N[1]-1,D[1]=R?R[1]:D[1]+1);var U=T.coordinateSystem=new i;U.zoomLimit=T.get("scaleLimit"),U.setBoundingRect(N[0],N[1],D[0]-N[0],D[1]-N[1]),U.setCenter(T.get("center")),U.setZoom(T.get("zoom")),this.group.attr({position:U.position,scale:U.scale}),this._viewCoordSys=U,this._min=N,this._max=D},_updateController:function(T,w,L){var N=this._controller,D=this._controllerHost,F=this.group;N.setPointerChecker(function(R,U,M){var j=F.getBoundingRect();return j.applyTransform(F.transform),j.contain(U,M)&&!l(R,L,T)}),N.enable(T.get("roam")),D.zoomLimit=T.get("scaleLimit"),D.zoom=T.coordinateSystem.getZoom(),N.off("pan").off("zoom").on("pan",function(R){r.updateViewOnPan(D,R.dx,R.dy),L.dispatchAction({seriesId:T.id,type:"treeRoam",dx:R.dx,dy:R.dy})},this).on("zoom",function(R){r.updateViewOnZoom(D,R.scale,R.originX,R.originY),L.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:R.scale,originX:R.originX,originY:R.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var w=T.getData(),L=this._getNodeGlobalScale(T),N=[L,L];w.eachItemGraphicEl(function(D,F){D.attr("scale",N)})},_getNodeGlobalScale:function(T){var w=T.coordinateSystem;if(w.type!=="view")return 1;var L=this._nodeScaleRatio,N=w.scale,D=N&&N[0]||1,F=w.getZoom(),R=(F-1)*L+1;return R/D},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function A(T,w){var L=T.getItemLayout(w);return L&&!isNaN(L.x)&&!isNaN(L.y)&&T.getItemVisual(w,"symbol")!=="none"}function y(T,w,L){return L.itemModel=w,L.itemStyle=w.getModel("itemStyle").getItemStyle(),L.hoverItemStyle=w.getModel("emphasis.itemStyle").getItemStyle(),L.lineStyle=w.getModel("lineStyle").getLineStyle(),L.labelModel=w.getModel("label"),L.hoverLabelModel=w.getModel("emphasis.label"),T.isExpand===!1&&T.children.length!==0?L.symbolInnerColor=L.itemStyle.fill:L.symbolInnerColor="#fff",L}function O(T,w,L,N,D,F){var R=!L,U=T.tree.getNodeByDataIndex(w),M=U.getModel(),F=y(U,M,F),j=T.tree.root,P=U.parentNode===j?U:U.parentNode||U,K=T.getItemGraphicEl(P.dataIndex),H=P.getLayout(),_=K?{x:K.position[0],y:K.position[1],rawX:K.__radialOldRawX,rawY:K.__radialOldRawY}:H,Z=U.getLayout();R?(L=new g(T,w,F),L.attr("position",[_.x,_.y])):L.updateData(T,w,F),L.__radialOldRawX=L.__radialRawX,L.__radialOldRawY=L.__radialRawY,L.__radialRawX=Z.rawX,L.__radialRawY=Z.rawY,N.add(L),T.setItemGraphicEl(w,L),x.updateProps(L,{position:[Z.x,Z.y]},D);var Y=L.getSymbolPath();if(F.layout==="radial"){var k=j.children[0],Q=k.getLayout(),X=k.children.length,he,te;if(Z.x===Q.x&&U.isExpand===!0){var pe={};pe.x=(k.children[0].getLayout().x+k.children[X-1].getLayout().x)/2,pe.y=(k.children[0].getLayout().y+k.children[X-1].getLayout().y)/2,he=Math.atan2(pe.y-Q.y,pe.x-Q.x),he<0&&(he=Math.PI*2+he),te=pe.x<Q.x,te&&(he=he-Math.PI)}else he=Math.atan2(Z.y-Q.y,Z.x-Q.x),he<0&&(he=Math.PI*2+he),U.children.length===0||U.children.length!==0&&U.isExpand===!1?(te=Z.x<Q.x,te&&(he=he-Math.PI)):(te=Z.x>Q.x,te||(he=he-Math.PI));var Se=te?"left":"right",we=F.labelModel.get("rotate"),We=we*(Math.PI/180);Y.setStyle({textPosition:F.labelModel.get("position")||Se,textRotation:we==null?-he:We,textOrigin:"center",verticalAlign:"middle"})}S(D,U,j,L,_,H,Z,N,F)}function S(T,w,L,N,D,F,R,U,M){var j=M.edgeShape,P=N.__edge;if(j==="curve")w.parentNode&&w.parentNode!==L&&(P||(P=N.__edge=new x.BezierCurve({shape:C(M,D,D),style:d.defaults({opacity:0,strokeNoScale:!0},M.lineStyle)})),x.updateProps(P,{shape:C(M,F,R),style:{opacity:1}},T));else if(j==="polyline"&&(M.layout==="orthogonal"&&(w!==L&&w.children&&w.children.length!==0&&w.isExpand===!0))){for(var K=w.children,H=[],_=0;_<K.length;_++){var Z=K[_].getLayout();H.push([Z.x,Z.y])}P||(P=N.__edge=new o({shape:{parentPoint:[R.x,R.y],childPoints:[[R.x,R.y]],orient:M.orient,forkPosition:M.edgeForkPosition},style:d.defaults({opacity:0,strokeNoScale:!0},M.lineStyle)})),x.updateProps(P,{shape:{parentPoint:[R.x,R.y],childPoints:H},style:{opacity:1}},T)}U.add(P)}function E(T,w,L,N,D,F){for(var R=T.tree.getNodeByDataIndex(w),U=T.tree.root,M=R.getModel(),F=y(R,M,F),j=R.parentNode===U?R:R.parentNode||R,P=F.edgeShape,K;K=j.getLayout(),K==null;)j=j.parentNode===U?j:j.parentNode||j;x.updateProps(L,{position:[K.x+1,K.y+1]},D,function(){N.remove(L),T.setItemGraphicEl(w,null)}),L.fadeOut(null,{keepLabel:!0});var H=T.getItemGraphicEl(j.dataIndex),_=H.__edge,Z=L.__edge||(j.isExpand===!1||j.children.length===1?_:void 0),P=F.edgeShape;Z&&(P==="curve"?x.updateProps(Z,{shape:C(F,K,K),style:{opacity:0}},D,function(){N.remove(Z)}):P==="polyline"&&F.layout==="orthogonal"&&x.updateProps(Z,{shape:{parentPoint:[K.x,K.y],childPoints:[[K.x,K.y]]},style:{opacity:0}},D,function(){N.remove(Z)}))}function C(T,w,L){var N,D,F,R,U=T.orient,M,j,P,K;if(T.layout==="radial"){M=w.rawX,P=w.rawY,j=L.rawX,K=L.rawY;var H=v(M,P),_=v(M,P+(K-P)*T.curvature),Z=v(j,K+(P-K)*T.curvature),Y=v(j,K);return{x1:H.x,y1:H.y,x2:Y.x,y2:Y.y,cpx1:_.x,cpy1:_.y,cpx2:Z.x,cpy2:Z.y}}else M=w.x,P=w.y,j=L.x,K=L.y,(U==="LR"||U==="RL")&&(N=M+(j-M)*T.curvature,D=P,F=j+(M-j)*T.curvature,R=K),(U==="TB"||U==="BT")&&(N=M,D=P+(K-P)*T.curvature,F=j,R=K+(P-K)*T.curvature);return{x1:M,y1:P,x2:j,y2:K,cpx1:N,cpy1:D,cpx2:F,cpy2:R}}J.exports=h},bRQS:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="CheckOutlined";var b=B.a=d.forwardRef(v)},bX4T:function(J,B,e){"use strict";e.d(B,"a",function(){return f});var d=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,x=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,g="".concat(d," ").concat(x).split(/[\s\n]+/),p="aria-",v="data-";function b(i,r){return i.indexOf(r)===0}function f(i){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={};return Object.keys(i).forEach(function(s){(b(s,p)||!r&&(g.includes(s)||b(s,v)))&&(a[s]=i[s])}),a}},bYtY:function(J,B){var e={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},d={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},x=Object.prototype.toString,g=Array.prototype,p=g.forEach,v=g.filter,b=g.slice,f=g.map,i=g.reduce,r={};function a(_e,je){_e==="createCanvas"&&(o=null),r[_e]=je}function s(_e){if(_e==null||typeof _e!="object")return _e;var je=_e,Ct=x.call(_e);if(Ct==="[object Array]"){if(!Se(_e)){je=[];for(var ct=0,nt=_e.length;ct<nt;ct++)je[ct]=s(_e[ct])}}else if(d[Ct]){if(!Se(_e)){var bt=_e.constructor;if(_e.constructor.from)je=bt.from(_e);else{je=new bt(_e.length);for(var ct=0,nt=_e.length;ct<nt;ct++)je[ct]=s(_e[ct])}}}else if(!e[Ct]&&!Se(_e)&&!K(_e)){je={};for(var dt in _e)_e.hasOwnProperty(dt)&&(je[dt]=s(_e[dt]))}return je}function l(_e,je,Ct){if(!M(je)||!M(_e))return Ct?s(je):_e;for(var ct in je)if(je.hasOwnProperty(ct)){var nt=_e[ct],bt=je[ct];M(bt)&&M(nt)&&!F(bt)&&!F(nt)&&!K(bt)&&!K(nt)&&!j(bt)&&!j(nt)&&!Se(bt)&&!Se(nt)?l(nt,bt,Ct):(Ct||!(ct in _e))&&(_e[ct]=s(je[ct],!0))}return _e}function n(_e,je){for(var Ct=_e[0],ct=1,nt=_e.length;ct<nt;ct++)Ct=l(Ct,_e[ct],je);return Ct}function u(_e,je){for(var Ct in je)je.hasOwnProperty(Ct)&&(_e[Ct]=je[Ct]);return _e}function t(_e,je,Ct){for(var ct in je)je.hasOwnProperty(ct)&&(Ct?je[ct]!=null:_e[ct]==null)&&(_e[ct]=je[ct]);return _e}var c=function(){return r.createCanvas()};r.createCanvas=function(){return document.createElement("canvas")};var o;function h(){return o||(o=c().getContext("2d")),o}function A(_e,je){if(_e){if(_e.indexOf)return _e.indexOf(je);for(var Ct=0,ct=_e.length;Ct<ct;Ct++)if(_e[Ct]===je)return Ct}return-1}function y(_e,je){var Ct=_e.prototype;function ct(){}ct.prototype=je.prototype,_e.prototype=new ct;for(var nt in Ct)Ct.hasOwnProperty(nt)&&(_e.prototype[nt]=Ct[nt]);_e.prototype.constructor=_e,_e.superClass=je}function O(_e,je,Ct){_e="prototype"in _e?_e.prototype:_e,je="prototype"in je?je.prototype:je,t(_e,je,Ct)}function S(_e){return _e?typeof _e=="string"?!1:typeof _e.length=="number":void 0}function E(_e,je,Ct){if(!(_e&&je))return;if(_e.forEach&&_e.forEach===p)_e.forEach(je,Ct);else if(_e.length===+_e.length)for(var ct=0,nt=_e.length;ct<nt;ct++)je.call(Ct,_e[ct],ct,_e);else for(var bt in _e)_e.hasOwnProperty(bt)&&je.call(Ct,_e[bt],bt,_e)}function C(_e,je,Ct){if(!(_e&&je))return;if(_e.map&&_e.map===f)return _e.map(je,Ct);for(var ct=[],nt=0,bt=_e.length;nt<bt;nt++)ct.push(je.call(Ct,_e[nt],nt,_e));return ct}function T(_e,je,Ct,ct){if(!(_e&&je))return;if(_e.reduce&&_e.reduce===i)return _e.reduce(je,Ct,ct);for(var nt=0,bt=_e.length;nt<bt;nt++)Ct=je.call(ct,Ct,_e[nt],nt,_e);return Ct}function w(_e,je,Ct){if(!(_e&&je))return;if(_e.filter&&_e.filter===v)return _e.filter(je,Ct);for(var ct=[],nt=0,bt=_e.length;nt<bt;nt++)je.call(Ct,_e[nt],nt,_e)&&ct.push(_e[nt]);return ct}function L(_e,je,Ct){if(!(_e&&je))return;for(var ct=0,nt=_e.length;ct<nt;ct++)if(je.call(Ct,_e[ct],ct,_e))return _e[ct]}function N(_e,je){var Ct=b.call(arguments,2);return function(){return _e.apply(je,Ct.concat(b.call(arguments)))}}function D(_e){var je=b.call(arguments,1);return function(){return _e.apply(this,je.concat(b.call(arguments)))}}function F(_e){return x.call(_e)==="[object Array]"}function R(_e){return typeof _e=="function"}function U(_e){return x.call(_e)==="[object String]"}function M(_e){var je=typeof _e;return je==="function"||!!_e&&je==="object"}function j(_e){return!!e[x.call(_e)]}function P(_e){return!!d[x.call(_e)]}function K(_e){return typeof _e=="object"&&typeof _e.nodeType=="number"&&typeof _e.ownerDocument=="object"}function H(_e){return _e!==_e}function _(_e){for(var je=0,Ct=arguments.length;je<Ct;je++)if(arguments[je]!=null)return arguments[je]}function Z(_e,je){return _e!=null?_e:je}function Y(_e,je,Ct){return _e!=null?_e:je!=null?je:Ct}function k(){return Function.call.apply(b,arguments)}function Q(_e){if(typeof _e=="number")return[_e,_e,_e,_e];var je=_e.length;return je===2?[_e[0],_e[1],_e[0],_e[1]]:je===3?[_e[0],_e[1],_e[2],_e[1]]:_e}function X(_e,je){if(!_e)throw new Error(je)}function he(_e){return _e==null?null:typeof _e.trim=="function"?_e.trim():_e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var te="__ec_primitive__";function pe(_e){_e[te]=!0}function Se(_e){return _e[te]}function we(_e){var je=F(_e);this.data={};var Ct=this;_e instanceof we?_e.each(ct):_e&&E(_e,ct);function ct(nt,bt){je?Ct.set(nt,bt):Ct.set(bt,nt)}}we.prototype={constructor:we,get:function(je){return this.data.hasOwnProperty(je)?this.data[je]:null},set:function(je,Ct){return this.data[je]=Ct},each:function(je,Ct){Ct!==void 0&&(je=N(je,Ct));for(var ct in this.data)this.data.hasOwnProperty(ct)&&je(this.data[ct],ct)},removeKey:function(je){delete this.data[je]}};function We(_e){return new we(_e)}function qe(_e,je){for(var Ct=new _e.constructor(_e.length+je.length),ct=0;ct<_e.length;ct++)Ct[ct]=_e[ct];var nt=_e.length;for(ct=0;ct<je.length;ct++)Ct[ct+nt]=je[ct];return Ct}function yt(){}B.$override=a,B.clone=s,B.merge=l,B.mergeAll=n,B.extend=u,B.defaults=t,B.createCanvas=c,B.getContext=h,B.indexOf=A,B.inherits=y,B.mixin=O,B.isArrayLike=S,B.each=E,B.map=C,B.reduce=T,B.filter=w,B.find=L,B.bind=N,B.curry=D,B.isArray=F,B.isFunction=R,B.isString=U,B.isObject=M,B.isBuiltInObject=j,B.isTypedArray=P,B.isDom=K,B.eqNaN=H,B.retrieve=_,B.retrieve2=Z,B.retrieve3=Y,B.slice=k,B.normalizeCssArray=Q,B.assert=X,B.trim=he,B.setAsPrimitive=pe,B.isPrimitive=Se,B.createHashMap=We,B.concatArray=qe,B.noop=yt},bZqE:function(J,B){function e(x,g,p){for(var v=[x],b=[],f;f=v.pop();)if(b.push(f),f.isExpand){var i=f.children;if(i.length)for(var r=0;r<i.length;r++)v.push(i[r])}for(;f=b.pop();)g(f,p)}function d(x,g){for(var p=[x],v;v=p.pop();)if(g(v),v.isExpand){var b=v.children;if(b.length)for(var f=b.length-1;f>=0;f--)p.push(b[f])}}B.eachAfter=e,B.eachBefore=d},bahg:function(J,B){function e(d){return d.split("")}J.exports=e},bbsP:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("CWI+"),p=e.n(g)},bogI:function(J,B,e){"use strict";e.d(B,"a",function(){return d});var d=function(g){if(!g)return null;var p=typeof g=="function";return p?g():g}},bsht:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};B.default=d},bx4M:function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("q1tI"),b=e("TSYQ"),f=e.n(b),i=e("BGR+"),r=e("H84U"),a=function(C,T){var w={};for(var L in C)Object.prototype.hasOwnProperty.call(C,L)&&T.indexOf(L)<0&&(w[L]=C[L]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,L=Object.getOwnPropertySymbols(C);N<L.length;N++)T.indexOf(L[N])<0&&Object.prototype.propertyIsEnumerable.call(C,L[N])&&(w[L[N]]=C[L[N]]);return w},s=function(T){return v.createElement(r.a,null,function(w){var L=w.getPrefixCls,N=T.prefixCls,D=T.className,F=T.hoverable,R=F===void 0?!0:F,U=a(T,["prefixCls","className","hoverable"]),M=L("card",N),j=f()("".concat(M,"-grid"),D,x()({},"".concat(M,"-grid-hoverable"),R));return v.createElement("div",p()({},U,{className:j}))})},l=s,n=function(C,T){var w={};for(var L in C)Object.prototype.hasOwnProperty.call(C,L)&&T.indexOf(L)<0&&(w[L]=C[L]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,L=Object.getOwnPropertySymbols(C);N<L.length;N++)T.indexOf(L[N])<0&&Object.prototype.propertyIsEnumerable.call(C,L[N])&&(w[L[N]]=C[L[N]]);return w},u=function(T){return v.createElement(r.a,null,function(w){var L=w.getPrefixCls,N=T.prefixCls,D=T.className,F=T.avatar,R=T.title,U=T.description,M=n(T,["prefixCls","className","avatar","title","description"]),j=L("card",N),P=f()("".concat(j,"-meta"),D),K=F?v.createElement("div",{className:"".concat(j,"-meta-avatar")},F):null,H=R?v.createElement("div",{className:"".concat(j,"-meta-title")},R):null,_=U?v.createElement("div",{className:"".concat(j,"-meta-description")},U):null,Z=H||_?v.createElement("div",{className:"".concat(j,"-meta-detail")},H,_):null;return v.createElement("div",p()({},M,{className:P}),K,Z)})},t=u,c=e("ZTPi"),o=e("BMrR"),h=e("kPKH"),A=e("3Nzz"),y=function(C,T){var w={};for(var L in C)Object.prototype.hasOwnProperty.call(C,L)&&T.indexOf(L)<0&&(w[L]=C[L]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,L=Object.getOwnPropertySymbols(C);N<L.length;N++)T.indexOf(L[N])<0&&Object.prototype.propertyIsEnumerable.call(C,L[N])&&(w[L[N]]=C[L[N]]);return w};function O(C){var T=C.map(function(w,L){return v.createElement("li",{style:{width:"".concat(100/C.length,"%")},key:"action-".concat(L)},v.createElement("span",null,w))});return T}var S=function(T){var w,L,N=v.useContext(r.b),D=N.getPrefixCls,F=N.direction,R=v.useContext(A.b),U=function(Ke){T.onTabChange&&T.onTabChange(Ke)},M=function(){var Ke;return v.Children.forEach(T.children,function(Ye){Ye&&Ye.type&&Ye.type===l&&(Ke=!0)}),Ke},j=T.prefixCls,P=T.className,K=T.extra,H=T.headStyle,_=H===void 0?{}:H,Z=T.bodyStyle,Y=Z===void 0?{}:Z,k=T.title,Q=T.loading,X=T.bordered,he=X===void 0?!0:X,te=T.size,pe=T.type,Se=T.cover,we=T.actions,We=T.tabList,qe=T.children,yt=T.activeTabKey,_e=T.defaultActiveTabKey,je=T.tabBarExtraContent,Ct=T.hoverable,ct=T.tabProps,nt=ct===void 0?{}:ct,bt=y(T,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),dt=D("card",j),vt=Y.padding===0||Y.padding==="0px"?{padding:24}:void 0,Qe=v.createElement("div",{className:"".concat(dt,"-loading-block")}),mt=v.createElement("div",{className:"".concat(dt,"-loading-content"),style:vt},v.createElement(o.a,{gutter:8},v.createElement(h.a,{span:22},Qe)),v.createElement(o.a,{gutter:8},v.createElement(h.a,{span:8},Qe),v.createElement(h.a,{span:15},Qe)),v.createElement(o.a,{gutter:8},v.createElement(h.a,{span:6},Qe),v.createElement(h.a,{span:18},Qe)),v.createElement(o.a,{gutter:8},v.createElement(h.a,{span:13},Qe),v.createElement(h.a,{span:9},Qe)),v.createElement(o.a,{gutter:8},v.createElement(h.a,{span:4},Qe),v.createElement(h.a,{span:3},Qe),v.createElement(h.a,{span:16},Qe))),Pe=yt!==void 0,De=p()(p()({},nt),(w={},x()(w,Pe?"activeKey":"defaultActiveKey",Pe?yt:_e),x()(w,"tabBarExtraContent",je),w)),Ie,ot=We&&We.length?v.createElement(c.a,p()({size:"large"},De,{className:"".concat(dt,"-head-tabs"),onChange:U}),We.map(function(Pt){return v.createElement(c.a.TabPane,{tab:Pt.tab,disabled:Pt.disabled,key:Pt.key})})):null;(k||K||ot)&&(Ie=v.createElement("div",{className:"".concat(dt,"-head"),style:_},v.createElement("div",{className:"".concat(dt,"-head-wrapper")},k&&v.createElement("div",{className:"".concat(dt,"-head-title")},k),K&&v.createElement("div",{className:"".concat(dt,"-extra")},K)),ot));var wt=Se?v.createElement("div",{className:"".concat(dt,"-cover")},Se):null,Bt=v.createElement("div",{className:"".concat(dt,"-body"),style:Y},Q?mt:qe),_t=we&&we.length?v.createElement("ul",{className:"".concat(dt,"-actions")},O(we)):null,Ue=Object(i.default)(bt,["onTabChange"]),zt=te||R,xt=f()(dt,P,(L={},x()(L,"".concat(dt,"-loading"),Q),x()(L,"".concat(dt,"-bordered"),he),x()(L,"".concat(dt,"-hoverable"),Ct),x()(L,"".concat(dt,"-contain-grid"),M()),x()(L,"".concat(dt,"-contain-tabs"),We&&We.length),x()(L,"".concat(dt,"-").concat(zt),zt),x()(L,"".concat(dt,"-type-").concat(pe),!!pe),x()(L,"".concat(dt,"-rtl"),F==="rtl"),L));return v.createElement("div",p()({},Ue,{className:xt}),Ie,wt,Bt,_t)};S.Grid=l,S.Meta=t;var E=B.a=S},c2i1:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=e("Yl7c"),v=p.enableClassCheck;function b(n){return"_EC_"+n}var f=function(n){this._directed=n||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},i=f.prototype;i.type="graph",i.isDirected=function(){return this._directed},i.addNode=function(n,u){n=n==null?""+u:""+n;var t=this._nodesMap;if(t[b(n)])return;var c=new r(n,u);return c.hostGraph=this,this.nodes.push(c),t[b(n)]=c,c},i.getNodeByIndex=function(n){var u=this.data.getRawIndex(n);return this.nodes[u]},i.getNodeById=function(n){return this._nodesMap[b(n)]},i.addEdge=function(n,u,t){var c=this._nodesMap,o=this._edgesMap;if(typeof n=="number"&&(n=this.nodes[n]),typeof u=="number"&&(u=this.nodes[u]),r.isInstance(n)||(n=c[b(n)]),r.isInstance(u)||(u=c[b(u)]),!n||!u)return;var h=n.id+"-"+u.id;if(o[h])return;var A=new a(n,u,t);return A.hostGraph=this,this._directed&&(n.outEdges.push(A),u.inEdges.push(A)),n.edges.push(A),n!==u&&u.edges.push(A),this.edges.push(A),o[h]=A,A},i.getEdgeByIndex=function(n){var u=this.edgeData.getRawIndex(n);return this.edges[u]},i.getEdge=function(n,u){r.isInstance(n)&&(n=n.id),r.isInstance(u)&&(u=u.id);var t=this._edgesMap;return this._directed?t[n+"-"+u]:t[n+"-"+u]||t[u+"-"+n]},i.eachNode=function(n,u){for(var t=this.nodes,c=t.length,o=0;o<c;o++)t[o].dataIndex>=0&&n.call(u,t[o],o)},i.eachEdge=function(n,u){for(var t=this.edges,c=t.length,o=0;o<c;o++)t[o].dataIndex>=0&&t[o].node1.dataIndex>=0&&t[o].node2.dataIndex>=0&&n.call(u,t[o],o)},i.breadthFirstTraverse=function(n,u,t,c){if(r.isInstance(u)||(u=this._nodesMap[b(u)]),!u)return;for(var o=t==="out"?"outEdges":t==="in"?"inEdges":"edges",h=0;h<this.nodes.length;h++)this.nodes[h].__visited=!1;if(n.call(c,u,null))return;for(var A=[u];A.length;)for(var y=A.shift(),O=y[o],h=0;h<O.length;h++){var S=O[h],E=S.node1===y?S.node2:S.node1;if(!E.__visited){if(n.call(c,E,y))return;A.push(E),E.__visited=!0}}},i.update=function(){for(var n=this.data,u=this.edgeData,t=this.nodes,c=this.edges,o=0,h=t.length;o<h;o++)t[o].dataIndex=-1;for(var o=0,h=n.count();o<h;o++)t[n.getRawIndex(o)].dataIndex=o;u.filterSelf(function(A){var y=c[u.getRawIndex(A)];return y.node1.dataIndex>=0&&y.node2.dataIndex>=0});for(var o=0,h=c.length;o<h;o++)c[o].dataIndex=-1;for(var o=0,h=u.count();o<h;o++)c[u.getRawIndex(o)].dataIndex=o},i.clone=function(){for(var n=new f(this._directed),u=this.nodes,t=this.edges,c=0;c<u.length;c++)n.addNode(u[c].id,u[c].dataIndex);for(var c=0;c<t.length;c++){var o=t[c];n.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return n};function r(n,u){this.id=n==null?"":n,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=u==null?-1:u}r.prototype={constructor:r,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(n){if(this.dataIndex<0)return;var u=this.hostGraph,t=u.data.getItemModel(this.dataIndex);return t.getModel(n)}};function a(n,u,t){this.node1=n,this.node2=u,this.dataIndex=t==null?-1:t}a.prototype.getModel=function(n){if(this.dataIndex<0)return;var u=this.hostGraph,t=u.edgeData.getItemModel(this.dataIndex);return t.getModel(n)};var s=function(n,u){return{getValue:function(t){var c=this[n][u];return c.get(c.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,c){this.dataIndex>=0&&this[n][u].setItemVisual(this.dataIndex,t,c)},getVisual:function(t,c){return this[n][u].getItemVisual(this.dataIndex,t,c)},setLayout:function(t,c){this.dataIndex>=0&&this[n][u].setItemLayout(this.dataIndex,t,c)},getLayout:function(){return this[n][u].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][u].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][u].getRawIndex(this.dataIndex)}}};g.mixin(r,s("hostGraph","data")),g.mixin(a,s("hostGraph","edgeData")),f.Node=r,f.Edge=a,v(r),v(a);var l=f;J.exports=l},c5Ni:function(J,B,e){},c6wG:function(J,B,e){var d=e("dD9F"),x=e("sEf8"),g=e("mdPL"),p=g&&g.isTypedArray,v=p?x(p):d;J.exports=v},c8qY:function(J,B,e){var d=e("IwbS"),x=e("fls0");function g(l){this._ctor=l||x,this.group=new d.Group}var p=g.prototype;p.isPersistent=function(){return!0},p.updateData=function(l){var n=this,u=n.group,t=n._lineData;n._lineData=l,t||u.removeAll();var c=i(l);l.diff(t).add(function(o){v(n,l,o,c)}).update(function(o,h){b(n,t,l,h,o,c)}).remove(function(o){u.remove(t.getItemGraphicEl(o))}).execute()};function v(l,n,u,t){var c=n.getItemLayout(u);if(!a(c))return;var o=new l._ctor(n,u,t);n.setItemGraphicEl(u,o),l.group.add(o)}function b(l,n,u,t,c,o){var h=n.getItemGraphicEl(t);if(!a(u.getItemLayout(c))){l.group.remove(h);return}h?h.updateData(u,c,o):h=new l._ctor(u,c,o),u.setItemGraphicEl(c,h),l.group.add(h)}p.updateLayout=function(){var l=this._lineData;if(!l)return;l.eachItemGraphicEl(function(n,u){n.updateLayout(l,u)},this)},p.incrementalPrepareUpdate=function(l){this._seriesScope=i(l),this._lineData=null,this.group.removeAll()};function f(l){return l.animators&&l.animators.length>0}p.incrementalUpdate=function(l,n){function u(h){!h.isGroup&&!f(h)&&(h.incremental=h.useHoverLayer=!0)}for(var t=l.start;t<l.end;t++){var c=n.getItemLayout(t);if(a(c)){var o=new this._ctor(n,t,this._seriesScope);o.traverse(u),this.group.add(o),n.setItemGraphicEl(t,o)}}};function i(l){var n=l.hostModel;return{lineStyle:n.getModel("lineStyle").getLineStyle(),hoverLineStyle:n.getModel("emphasis.lineStyle").getLineStyle(),labelModel:n.getModel("label"),hoverLabelModel:n.getModel("emphasis.label")}}p.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},p._clearIncremental=function(){var l=this._incremental;l&&l.clearDisplaybles()};function r(l){return isNaN(l[0])||isNaN(l[1])}function a(l){return!r(l[0])&&!r(l[1])}var s=g;J.exports=s},cCMj:function(J,B,e){var d=e("bYtY"),x={updateSelectedMap:function(g){this._targetList=d.isArray(g)?g.slice():[],this._selectTargetMap=d.reduce(g||[],function(p,v){return p.set(v.name,v),p},d.createHashMap())},select:function(g,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(g),b=this.get("selectedMode");b==="single"&&this._selectTargetMap.each(function(f){f.selected=!1}),v&&(v.selected=!0)},unSelect:function(g,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(g);v&&(v.selected=!1)},toggleSelected:function(g,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(g);if(v!=null)return this[v.selected?"unSelect":"select"](g,p),v.selected},isSelected:function(g,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(g);return v&&v.selected}};J.exports=x},cVA7:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=e("MT78"),x=v(d),g=e("t3Fx"),p=v(g);function v(a){return a&&a.__esModule?a:{default:a}}function b(a,s){if(!(a instanceof s))throw new TypeError("Cannot call a class as a function")}function f(a,s){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:a}function i(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);a.prototype=Object.create(s&&s.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(a,s):a.__proto__=s)}var r=function(a){i(s,a);function s(l){b(this,s);var n=f(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,l));return n.echartsLib=x.default,n}return s}(p.default);B.default=r},cWXX:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("oIFs"),p=e.n(g)},ca2m:function(J,B,e){var d=e("bYtY"),x={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},g={};g.categoryAxis=d.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},x),g.valueAxis=d.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},x),g.timeAxis=d.defaults({scale:!0,min:"dataMin",max:"dataMax"},g.valueAxis),g.logAxis=d.defaults({scale:!0,logBase:10},g.valueAxis);var p=g;J.exports=p},cbJ4:function(J,B,e){var d=e("bYtY"),x=d.createHashMap;function g(p){p.eachSeriesByType("themeRiver",function(v){var b=v.getData(),f=v.getRawData(),i=v.get("color"),r=x();b.each(function(a){r.set(b.getRawIndex(a),a)}),f.each(function(a){var s=f.getName(a),l=i[(v.nameMap.get(s)-1)%i.length];f.setItemVisual(a,"color",l);var n=r.get(a);n!=null&&b.setItemVisual(n,"color",l)})})}J.exports=g},chpo:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=1,x=function(){return"".concat(d++)};B.default=x},cpOr:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("T4UG"),p=e("YXkt"),v=e("bYtY"),b=v.concatArray,f=v.mergeAll,i=v.map,r=e("7aKB"),a=r.encodeHTML,s=e("IDmD"),l=typeof Uint32Array=="undefined"?Array:Uint32Array,n=typeof Float64Array=="undefined"?Array:Float64Array;function u(o){var h=o.data;h&&h[0]&&h[0][0]&&h[0][0].coord&&(o.data=i(h,function(A){var y=[A[0].coord,A[1].coord],O={coords:y};return A[0].name&&(O.fromName=A[0].name),A[1].name&&(O.toName=A[1].name),f([O,A[0],A[1]])}))}var t=g.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(o){o.data=o.data||[],u(o);var h=this._processFlatCoordsArray(o.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(o.data=new Float32Array(h.count)),t.superApply(this,"init",arguments)},mergeOption:function(o){if(o.data=o.data||[],u(o),o.data){var h=this._processFlatCoordsArray(o.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(o.data=new Float32Array(h.count))}t.superApply(this,"mergeOption",arguments)},appendData:function(o){var h=this._processFlatCoordsArray(o.data);h.flatCoords&&(this._flatCoords?(this._flatCoords=b(this._flatCoords,h.flatCoords),this._flatCoordsOffset=b(this._flatCoordsOffset,h.flatCoordsOffset)):(this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset),o.data=new Float32Array(h.count)),this.getRawData().appendData(o.data)},_getCoordsFromItemModel:function(o){var h=this.getData().getItemModel(o),A=h.option instanceof Array?h.option:h.getShallow("coords");return A},getLineCoordsCount:function(o){return this._flatCoordsOffset?this._flatCoordsOffset[o*2+1]:this._getCoordsFromItemModel(o).length},getLineCoords:function(o,h){if(this._flatCoordsOffset){for(var A=this._flatCoordsOffset[o*2],y=this._flatCoordsOffset[o*2+1],O=0;O<y;O++)h[O]=h[O]||[],h[O][0]=this._flatCoords[A+O*2],h[O][1]=this._flatCoords[A+O*2+1];return y}else{for(var S=this._getCoordsFromItemModel(o),O=0;O<S.length;O++)h[O]=h[O]||[],h[O][0]=S[O][0],h[O][1]=S[O][1];return S.length}},_processFlatCoordsArray:function(o){var h=0;if(this._flatCoords&&(h=this._flatCoords.length),typeof o[0]=="number"){for(var A=o.length,y=new l(A),O=new n(A),S=0,E=0,C=0,T=0;T<A;){C++;var w=o[T++];y[E++]=S+h,y[E++]=w;for(var L=0;L<w;L++){var N=o[T++],D=o[T++];O[S++]=N,O[S++]=D,T>A}}return{flatCoordsOffset:new Uint32Array(y.buffer,0,E),flatCoords:O,count:C}}return{flatCoordsOffset:null,flatCoords:null,count:o.length}},getInitialData:function(o,h){var A=new p(["value"],this);return A.hasItemOption=!1,A.initData(o.data,[],function(y,O,S,E){if(y instanceof Array)return NaN;A.hasItemOption=!0;var C=y.value;if(C!=null)return C instanceof Array?C[E]:C}),A},formatTooltip:function(o){var h=this.getData(),A=h.getItemModel(o),y=A.get("name");if(y)return y;var O=A.get("fromName"),S=A.get("toName"),E=[];return O!=null&&E.push(O),S!=null&&E.push(S),a(E.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var o=this.option.progressive;return o==null?this.option.large?1e4:this.get("progressive"):o},getProgressiveThreshold:function(){var o=this.option.progressiveThreshold;return o==null?this.option.large?2e4:this.get("progressiveThreshold"):o},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),c=t;J.exports=c},crZl:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("IwbS"),p=e("7aKB"),v=e("+TT/"),b=e("XxSj"),f=d.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(i,r){this.ecModel=i,this.api=r,this.visualMapModel},render:function(i,r,a,s){if(this.visualMapModel=i,i.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(i){var r=this.visualMapModel,a=p.normalizeCssArray(r.get("padding")||0),s=i.getBoundingRect();i.add(new g.Rect({z2:-1,silent:!0,shape:{x:s.x-a[3],y:s.y-a[0],width:s.width+a[3]+a[1],height:s.height+a[0]+a[2]},style:{fill:r.get("backgroundColor"),stroke:r.get("borderColor"),lineWidth:r.get("borderWidth")}}))},getControllerVisual:function(i,r,a){a=a||{};var s=a.forceState,l=this.visualMapModel,n={};if(r==="symbol"&&(n.symbol=l.get("itemSymbol")),r==="color"){var u=l.get("contentColor");n.color=u}function t(A){return n[A]}function c(A,y){n[A]=y}var o=l.controllerVisuals[s||l.getValueState(i)],h=b.prepareVisualTypes(o);return x.each(h,function(A){var y=o[A];a.convertOpacityToAlpha&&A==="opacity"&&(A="colorAlpha",y=o.__alphaForOpacity),b.dependsOn(A,r)&&(y&&y.applyVisual(i,t,c))}),n[r]},positionGroup:function(i){var r=this.visualMapModel,a=this.api;v.positionElement(i,r.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})},doRender:x.noop});J.exports=f},czTT:function(J,B,e){},d4KN:function(J,B,e){var d=e("ProS"),x=e("bYtY");function g(p,v){x.each(v,function(b){b.update="updateView",d.registerAction(b,function(f,i){var r={};return i.eachComponent({mainType:"series",subType:p,query:f},function(a){a[b.method]&&a[b.method](f.name,f.dataIndex);var s=a.getData();s.each(function(l){var n=s.getName(l);r[n]=a.isSelected(n)||!1})}),{name:f.name,selected:r,seriesId:f.seriesId}})})}J.exports=g},dBmv:function(J,B,e){var d=e("ProS"),x=e("szbU");e("vF/C"),e("qwVE"),e("MHoB"),e("PNag"),e("1u/T"),d.registerPreprocessor(x)},dD9F:function(J,B,e){var d=e("NykK"),x=e("shjB"),g=e("ExA7"),p="[object Arguments]",v="[object Array]",b="[object Boolean]",f="[object Date]",i="[object Error]",r="[object Function]",a="[object Map]",s="[object Number]",l="[object Object]",n="[object RegExp]",u="[object Set]",t="[object String]",c="[object WeakMap]",o="[object ArrayBuffer]",h="[object DataView]",A="[object Float32Array]",y="[object Float64Array]",O="[object Int8Array]",S="[object Int16Array]",E="[object Int32Array]",C="[object Uint8Array]",T="[object Uint8ClampedArray]",w="[object Uint16Array]",L="[object Uint32Array]",N={};N[A]=N[y]=N[O]=N[S]=N[E]=N[C]=N[T]=N[w]=N[L]=!0,N[p]=N[v]=N[o]=N[b]=N[h]=N[f]=N[i]=N[r]=N[a]=N[s]=N[l]=N[n]=N[u]=N[t]=N[c]=!1;function D(F){return g(F)&&x(F.length)&&!!N[d(F)]}J.exports=D},"dF/Y":function(J,B,e){"use strict";var d=e("q1tI"),x={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"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="DownloadOutlined";var b=B.a=d.forwardRef(v)},dMvE:function(J,B){var e={linear:function(g){return g},quadraticIn:function(g){return g*g},quadraticOut:function(g){return g*(2-g)},quadraticInOut:function(g){return(g*=2)<1?.5*g*g:-.5*(--g*(g-2)-1)},cubicIn:function(g){return g*g*g},cubicOut:function(g){return--g*g*g+1},cubicInOut:function(g){return(g*=2)<1?.5*g*g*g:.5*((g-=2)*g*g+2)},quarticIn:function(g){return g*g*g*g},quarticOut:function(g){return 1- --g*g*g*g},quarticInOut:function(g){return(g*=2)<1?.5*g*g*g*g:-.5*((g-=2)*g*g*g-2)},quinticIn:function(g){return g*g*g*g*g},quinticOut:function(g){return--g*g*g*g*g+1},quinticInOut:function(g){return(g*=2)<1?.5*g*g*g*g*g:.5*((g-=2)*g*g*g*g+2)},sinusoidalIn:function(g){return 1-Math.cos(g*Math.PI/2)},sinusoidalOut:function(g){return Math.sin(g*Math.PI/2)},sinusoidalInOut:function(g){return .5*(1-Math.cos(Math.PI*g))},exponentialIn:function(g){return g===0?0:Math.pow(1024,g-1)},exponentialOut:function(g){return g===1?1:1-Math.pow(2,-10*g)},exponentialInOut:function(g){return g===0?0:g===1?1:(g*=2)<1?.5*Math.pow(1024,g-1):.5*(-Math.pow(2,-10*(g-1))+2)},circularIn:function(g){return 1-Math.sqrt(1-g*g)},circularOut:function(g){return Math.sqrt(1- --g*g)},circularInOut:function(g){return(g*=2)<1?-.5*(Math.sqrt(1-g*g)-1):.5*(Math.sqrt(1-(g-=2)*g)+1)},elasticIn:function(g){var p,v=.1,b=.4;return g===0?0:g===1?1:(!v||v<1?(v=1,p=b/4):p=b*Math.asin(1/v)/(2*Math.PI),-(v*Math.pow(2,10*(g-=1))*Math.sin((g-p)*(2*Math.PI)/b)))},elasticOut:function(g){var p,v=.1,b=.4;return g===0?0:g===1?1:(!v||v<1?(v=1,p=b/4):p=b*Math.asin(1/v)/(2*Math.PI),v*Math.pow(2,-10*g)*Math.sin((g-p)*(2*Math.PI)/b)+1)},elasticInOut:function(g){var p,v=.1,b=.4;return g===0?0:g===1?1:(!v||v<1?(v=1,p=b/4):p=b*Math.asin(1/v)/(2*Math.PI),(g*=2)<1?-.5*(v*Math.pow(2,10*(g-=1))*Math.sin((g-p)*(2*Math.PI)/b)):v*Math.pow(2,-10*(g-=1))*Math.sin((g-p)*(2*Math.PI)/b)*.5+1)},backIn:function(g){var p=1.70158;return g*g*((p+1)*g-p)},backOut:function(g){var p=1.70158;return--g*g*((p+1)*g+p)+1},backInOut:function(g){var p=1.70158*1.525;return(g*=2)<1?.5*(g*g*((p+1)*g-p)):.5*((g-=2)*g*((p+1)*g+p)+2)},bounceIn:function(g){return 1-e.bounceOut(1-g)},bounceOut:function(g){return g<1/2.75?7.5625*g*g:g<2/2.75?7.5625*(g-=1.5/2.75)*g+.75:g<2.5/2.75?7.5625*(g-=2.25/2.75)*g+.9375:7.5625*(g-=2.625/2.75)*g+.984375},bounceInOut:function(g){return g<.5?e.bounceIn(g*2)*.5:e.bounceOut(g*2-1)*.5+.5}},d=e;J.exports=d},diRs:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("q1tI"),p=e.n(g),v=e("3S7+"),b=e("H84U"),f=e("bogI"),i=function(a,s){var l={};for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&s.indexOf(n)<0&&(l[n]=a[n]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,n=Object.getOwnPropertySymbols(a);u<n.length;u++)s.indexOf(n[u])<0&&Object.prototype.propertyIsEnumerable.call(a,n[u])&&(l[n[u]]=a[n[u]]);return l},r=g.forwardRef(function(a,s){var l=a.prefixCls,n=a.title,u=a.content,t=i(a,["prefixCls","title","content"]),c=g.useContext(b.b),o=c.getPrefixCls,h=function(O){return g.createElement(g.Fragment,null,n&&g.createElement("div",{className:"".concat(O,"-title")},Object(f.a)(n)),g.createElement("div",{className:"".concat(O,"-inner-content")},Object(f.a)(u)))},A=o("popover",l);return g.createElement(v.a,x()({},t,{prefixCls:A,ref:s,overlay:h(A)}))});r.displayName="Popover",r.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},B.a=r},digP:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:function(g,p){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:p}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:g}}]}},name:"file",theme:"twotone"};B.default=d},dmGj:function(J,B,e){var d=e("DEFe"),x=e("ProS"),g=x.extendComponentView({type:"geo",init:function(p,v){var b=new d(v,!0);this._mapDraw=b,this.group.add(b.group)},render:function(p,v,b,f){if(f&&f.type==="geoToggleSelect"&&f.from===this.uid)return;var i=this._mapDraw;p.get("show")?i.draw(p,v,b,this,f):this._mapDraw.group.removeAll(),this.group.silent=p.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});J.exports=g},dnwI:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("YH21"),p=e("Kagy"),v=e("IUWy"),b=p.toolbox.dataView,f=new Array(60).join("-"),i=" ";function r(S){var E={},C=[],T=[];return S.eachRawSeries(function(w){var L=w.coordinateSystem;if(L&&(L.type==="cartesian2d"||L.type==="polar")){var N=L.getBaseAxis();if(N.type==="category"){var D=N.dim+"_"+N.index;E[D]||(E[D]={categoryAxis:N,valueAxis:L.getOtherAxis(N),series:[]},T.push({axisDim:N.dim,axisIndex:N.index})),E[D].series.push(w)}else C.push(w)}else C.push(w)}),{seriesGroupByCategoryAxis:E,other:C,meta:T}}function a(S){var E=[];return x.each(S,function(C,T){var w=C.categoryAxis,L=C.valueAxis,N=L.dim,D=[" "].concat(x.map(C.series,function(P){return P.name})),F=[w.model.getCategories()];x.each(C.series,function(P){F.push(P.getRawData().mapArray(N,function(K){return K}))});for(var R=[D.join(i)],U=0;U<F[0].length;U++){for(var M=[],j=0;j<F.length;j++)M.push(F[j][U]);R.push(M.join(i))}E.push(R.join(`
|
|
|
`))}),E.join(`
|
|
|
|
|
|
`+f+`
|
|
|
|
|
|
`)}function s(S){return x.map(S,function(E){var C=E.getRawData(),T=[E.name],w=[];return C.each(C.dimensions,function(){for(var L=arguments.length,N=arguments[L-1],D=C.getName(N),F=0;F<L-1;F++)w[F]=arguments[F];T.push((D?D+i:"")+w.join(i))}),T.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+f+`
|
|
|
|
|
|
`)}function l(S){var E=r(S);return{value:x.filter([a(E.seriesGroupByCategoryAxis),s(E.other)],function(C){return C.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+f+`
|
|
|
|
|
|
`),meta:E.meta}}function n(S){return S.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function u(S){var E=S.slice(0,S.indexOf(`
|
|
|
`));if(E.indexOf(i)>=0)return!0}var t=new RegExp("["+i+"]+","g");function c(S){for(var E=S.split(/\n+/g),C=n(E.shift()).split(t),T=[],w=x.map(C,function(F){return{name:F,data:[]}}),L=0;L<E.length;L++){var N=n(E[L]).split(t);T.push(N.shift());for(var D=0;D<N.length;D++)w[D]&&(w[D].data[L]=N[D])}return{series:w,categories:T}}function o(S){for(var E=S.split(/\n+/g),C=n(E.shift()),T=[],w=0;w<E.length;w++){var L=n(E[w]).split(t),N="",D,F=!1;isNaN(L[0])?(F=!0,N=L[0],L=L.slice(1),T[w]={name:N,value:[]},D=T[w].value):D=T[w]=[];for(var R=0;R<L.length;R++)D.push(+L[R]);D.length===1&&(F?T[w].value=D[0]:T[w]=D[0])}return{name:C,data:T}}function h(S,E){var C=S.split(new RegExp(`
|
|
|
*`+f+`
|
|
|
*`,"g")),T={series:[]};return x.each(C,function(w,L){if(u(w)){var N=c(w),D=E[L],F=D.axisDim+"Axis";D&&(T[F]=T[F]||[],T[F][D.axisIndex]={data:N.categories},T.series=T.series.concat(N.series))}else{var N=o(w);T.series.push(N)}}),T}function A(S){this._dom=null,this.model=S}A.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:x.clone(b.title),lang:x.clone(b.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},A.prototype.onclick=function(S,E){var C=E.getDom(),T=this.model;this._dom&&C.removeChild(this._dom);var w=document.createElement("div");w.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",w.style.backgroundColor=T.get("backgroundColor")||"#fff";var L=document.createElement("h4"),N=T.get("lang")||[];L.innerHTML=N[0]||T.get("title"),L.style.cssText="margin: 10px 20px;",L.style.color=T.get("textColor");var D=document.createElement("div"),F=document.createElement("textarea");D.style.cssText="display:block;width:100%;overflow:auto;";var R=T.get("optionToContent"),U=T.get("contentToOption"),M=l(S);if(typeof R=="function"){var j=R(E.getOption());typeof j=="string"?D.innerHTML=j:x.isDom(j)&&D.appendChild(j)}else D.appendChild(F),F.readOnly=T.get("readOnly"),F.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",F.style.color=T.get("textColor"),F.style.borderColor=T.get("textareaBorderColor"),F.style.backgroundColor=T.get("textareaColor"),F.value=M.value;var P=M.meta,K=document.createElement("div");K.style.cssText="position:absolute;bottom:0;left:0;right:0;";var H="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",_=document.createElement("div"),Z=document.createElement("div");H+=";background-color:"+T.get("buttonColor"),H+=";color:"+T.get("buttonTextColor");var Y=this;function k(){C.removeChild(w),Y._dom=null}g.addEventListener(_,"click",k),g.addEventListener(Z,"click",function(){var Q;try{typeof U=="function"?Q=U(D,E.getOption()):Q=h(F.value,P)}catch(X){throw k(),new Error("Data view format error "+X)}Q&&E.dispatchAction({type:"changeDataView",newOption:Q}),k()}),_.innerHTML=N[1],Z.innerHTML=N[2],Z.style.cssText=H,_.style.cssText=H,!T.get("readOnly")&&K.appendChild(Z),K.appendChild(_),w.appendChild(L),w.appendChild(D),w.appendChild(K),D.style.height=C.clientHeight-80+"px",C.appendChild(w),this._dom=w},A.prototype.remove=function(S,E){this._dom&&E.getDom().removeChild(this._dom)},A.prototype.dispose=function(S,E){this.remove(S,E)};function y(S,E){return x.map(S,function(C,T){var w=E&&E[T];return x.isObject(w)&&!x.isArray(w)?(x.isObject(C)&&!x.isArray(C)&&(C=C.value),x.defaults({value:C},w)):C})}v.register("dataView",A),d.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(S,E){var C=[];x.each(S.newOption.series,function(T){var w=E.getSeriesByName(T.name)[0];if(!w)C.push(x.extend({type:"scatter"},T));else{var L=w.get("data");C.push({name:T.name,data:y(T.data,L)})}}),E.mergeOption(x.defaults({series:C},S.newOption))});var O=A;J.exports=O},dqUG:function(J,B,e){var d=e("Gev7"),x=e("bYtY"),g=e("6GrX"),p=e("pzxd"),v=e("gut8"),b=v.ContextCachedBy,f=function(a){d.call(this,a)};f.prototype={constructor:f,type:"text",brush:function(a,s){var l=this.style;this.__dirty&&p.normalizeTextStyle(l,!0),l.fill=l.stroke=l.shadowBlur=l.shadowColor=l.shadowOffsetX=l.shadowOffsetY=null;var n=l.text;if(n!=null&&(n+=""),!p.needDrawText(n,l)){a.__attrCachedBy=b.NONE;return}this.setTransform(a),p.renderText(this,a,n,l,null,s),this.restoreTransform(a)},getBoundingRect:function(){var a=this.style;if(this.__dirty&&p.normalizeTextStyle(a,!0),!this._rect){var s=a.text;s!=null?s+="":s="";var l=g.getBoundingRect(a.text+"",a.font,a.textAlign,a.textVerticalAlign,a.textPadding,a.textLineHeight,a.rich);if(l.x+=a.x||0,l.y+=a.y||0,p.getStroke(a.textStroke,a.textStrokeWidth)){var n=a.textStrokeWidth;l.x-=n/2,l.y-=n/2,l.width+=n,l.height+=n}this._rect=l}return this._rect}},x.inherits(f,d);var i=f;J.exports=i},dt0z:function(J,B,e){var d=e("zoYe");function x(g){return g==null?"":d(g)}J.exports=x},e4Nc:function(J,B,e){var d=e("fGT3"),x=e("k+1r"),g=e("JHgL"),p=e("pSRY"),v=e("H8j4");function b(f){var i=-1,r=f==null?0:f.length;for(this.clear();++i<r;){var a=f[i];this.set(a[0],a[1])}}b.prototype.clear=d,b.prototype.delete=x,b.prototype.get=g,b.prototype.has=p,b.prototype.set=v,J.exports=b},e5VY:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("YNAk"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},e5cp:function(J,B,e){var d=e("fmRc"),x=e("or5M"),g=e("HDyB"),p=e("seXi"),v=e("QqLw"),b=e("Z0cm"),f=e("DSRE"),i=e("c6wG"),r=1,a="[object Arguments]",s="[object Array]",l="[object Object]",n=Object.prototype,u=n.hasOwnProperty;function t(c,o,h,A,y,O){var S=b(c),E=b(o),C=S?s:v(c),T=E?s:v(o);C=C==a?l:C,T=T==a?l:T;var w=C==l,L=T==l,N=C==T;if(N&&f(c)){if(!f(o))return!1;S=!0,w=!1}if(N&&!w)return O||(O=new d),S||i(c)?x(c,o,h,A,y,O):g(c,o,C,h,A,y,O);if(!(h&r)){var D=w&&u.call(c,"__wrapped__"),F=L&&u.call(o,"__wrapped__");if(D||F){var R=D?c.value():c,U=F?o.value():o;return O||(O=new d),y(R,U,h,A,O)}}return N?(O||(O=new d),p(c,o,h,A,y,O)):!1}J.exports=t},eIcI:function(J,B,e){var d=e("bYtY"),x=e("hM6l");function g(v,b,f){x.call(this,v,b,f),this.type="value",this.angle=0,this.name="",this.model}d.inherits(g,x);var p=g;J.exports=p},eJH7:function(J,B,e){var d=e("bYtY");function x(g){var p=g.polar;if(p){d.isArray(p)||(p=[p]);var v=[];d.each(p,function(b,f){b.indicator?(b.type&&!b.shape&&(b.shape=b.type),g.radar=g.radar||[],d.isArray(g.radar)||(g.radar=[g.radar]),g.radar.push(b)):v.push(b)}),g.polar=v}d.each(g.series,function(b){b&&b.type==="radar"&&b.polarIndex&&(b.radarIndex=b.polarIndex)})}J.exports=x},ePAk:function(J,B,e){var d=e("ProS");e("2fGM");var x=d.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(g){var p,v=this.ecModel;return v.eachComponent(g,function(b){b.getCoordSysModel()===this&&(p=b)},this),p},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});J.exports=x},eRkO:function(J,B,e){var d=e("+TT/"),x=d.getLayoutRect,g=d.box,p=d.positionElement,v=e("7aKB"),b=e("IwbS");function f(r,a,s){var l=a.getBoxLayoutParams(),n=a.get("padding"),u={width:s.getWidth(),height:s.getHeight()},t=x(l,u,n);g(a.get("orient"),r,a.get("itemGap"),t.width,t.height),p(r,l,u,n)}function i(r,a){var s=v.normalizeCssArray(a.get("padding")),l=a.getItemStyle(["color","opacity"]);l.fill=a.get("backgroundColor");var r=new b.Rect({shape:{x:r.x-s[3],y:r.y-s[0],width:r.width+s[1]+s[3],height:r.height+s[0]+s[2],r:a.get("borderRadius")},style:l,silent:!0,z2:-1});return r}B.layout=f,B.makeBackground=i},eS4l:function(J,B,e){e("HM/N"),e("FNN5")},eUgh:function(J,B){function e(d,x){for(var g=-1,p=d==null?0:d.length,v=Array(p);++g<p;)v[g]=x(d[g],g,d);return v}J.exports=e},ebwN:function(J,B,e){var d=e("Cwc5"),x=e("Kz5y"),g=d(x,"Map");J.exports=g},ekgI:function(J,B,e){var d=e("YESw"),x=Object.prototype,g=x.hasOwnProperty;function p(v){var b=this.__data__;return d?b[v]!==void 0:g.call(b,v)}J.exports=p},ewwo:function(J,B,e){var d=e("bMXI"),x=e("+TT/"),g=x.getLayoutRect,p=e("4mN7");function v(f,i,r){var a=f.getBoxLayoutParams();return a.aspect=r,g(a,{width:i.getWidth(),height:i.getHeight()})}function b(f,i){var r=[];return f.eachSeriesByType("graph",function(a){var s=a.get("coordinateSystem");if(!s||s==="view"){var l=a.getData(),n=l.mapArray(function(E){var C=l.getItemModel(E);return[+C.get("x"),+C.get("y")]}),u=[],t=[];p.fromPoints(n,u,t),t[0]-u[0]===0&&(t[0]+=1,u[0]-=1),t[1]-u[1]===0&&(t[1]+=1,u[1]-=1);var c=(t[0]-u[0])/(t[1]-u[1]),o=v(a,i,c);isNaN(c)&&(u=[o.x,o.y],t=[o.x+o.width,o.y+o.height]);var h=t[0]-u[0],A=t[1]-u[1],y=o.width,O=o.height,S=a.coordinateSystem=new d;S.zoomLimit=a.get("scaleLimit"),S.setBoundingRect(u[0],u[1],h,A),S.setViewRect(o.x,o.y,y,O),S.setCenter(a.get("center")),S.setZoom(a.get("zoom")),r.push(S)}}),r}J.exports=b},f1nB:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("ProS"),p=e("bYtY"),v=e("4NO4"),b=e("IwbS"),f=e("+TT/"),i=e("OELB"),r=i.parsePercent,a={path:null,compoundPath:null,group:b.Group,image:b.Image,text:b.Text};g.registerPreprocessor(function(y){var O=y.graphic;p.isArray(O)?!O[0]||!O[0].elements?y.graphic=[{elements:O}]:y.graphic=[y.graphic[0]]:O&&!O.elements&&(y.graphic=[{elements:[O]}])});var s=g.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(y){var O=this.option.elements;this.option.elements=null,s.superApply(this,"mergeOption",arguments),this.option.elements=O},optionUpdated:function(y,O){var S=this.option,E=(O?S:y).elements,C=S.elements=O?[]:S.elements,T=[];this._flatten(E,T);var w=v.mappingToExists(C,T);v.makeIdAndName(w);var L=this._elOptionsToUpdate=[];p.each(w,function(D,F){var R=D.option;if(!R)return;L.push(R),c(D,R),o(C,F,R),h(C[F],R)},this);for(var N=C.length-1;N>=0;N--)C[N]==null?C.splice(N,1):delete C[N].$action},_flatten:function(y,O,S){p.each(y,function(E){if(!E)return;S&&(E.parentOption=S),O.push(E);var C=E.children;E.type==="group"&&C&&this._flatten(C,O,E),delete E.children},this)},useElOptionsToUpdate:function(){var y=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,y}});g.extendComponentView({type:"graphic",init:function(y,O){this._elMap=p.createHashMap(),this._lastGraphicModel},render:function(y,O,S){y!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=y,this._updateElements(y),this._relocate(y,S)},_updateElements:function(y){var O=y.useElOptionsToUpdate();if(!O)return;var S=this._elMap,E=this.group;p.each(O,function(C){var T=C.$action,w=C.id,L=S.get(w),N=C.parentId,D=N!=null?S.get(N):E,F=C.style;C.type==="text"&&F&&(C.hv&&C.hv[1]&&(F.textVerticalAlign=F.textBaseline=null),!F.hasOwnProperty("textFill")&&F.fill&&(F.textFill=F.fill),!F.hasOwnProperty("textStroke")&&F.stroke&&(F.textStroke=F.stroke));var R=u(C);!T||T==="merge"?L?L.attr(R):l(w,D,R,S):T==="replace"?(n(L,S),l(w,D,R,S)):T==="remove"&&n(L,S);var U=S.get(w);U&&(U.__ecGraphicWidthOption=C.width,U.__ecGraphicHeightOption=C.height,A(U,y,C))})},_relocate:function(y,O){for(var S=y.option.elements,E=this.group,C=this._elMap,T=O.getWidth(),w=O.getHeight(),L=0;L<S.length;L++){var N=S[L],D=C.get(N.id);if(!D||!D.isGroup)continue;var F=D.parent,R=F===E;D.__ecGraphicWidth=r(D.__ecGraphicWidthOption,R?T:F.__ecGraphicWidth)||0,D.__ecGraphicHeight=r(D.__ecGraphicHeightOption,R?w:F.__ecGraphicHeight)||0}for(var L=S.length-1;L>=0;L--){var N=S[L],D=C.get(N.id);if(!D)continue;var F=D.parent,U=F===E?{width:T,height:w}:{width:F.__ecGraphicWidth,height:F.__ecGraphicHeight};f.positionElement(D,N,U,null,{hv:N.hv,boundingMode:N.bounding})}},_clear:function(){var y=this._elMap;y.each(function(O){n(O,y)}),this._elMap=p.createHashMap()},dispose:function(){this._clear()}});function l(y,O,S,E){var C=S.type,T=a.hasOwnProperty(C)?a[C]:b.getShapeClass(C),w=new T(S);O.add(w),E.set(y,w),w.__ecGraphicId=y}function n(y,O){var S=y&&y.parent;S&&(y.type==="group"&&y.traverse(function(E){n(E,O)}),O.removeKey(y.__ecGraphicId),S.remove(y))}function u(y){return y=p.extend({},y),p.each(["id","parentId","$action","hv","bounding"].concat(f.LOCATION_PARAMS),function(O){delete y[O]}),y}function t(y,O){var S;return p.each(O,function(E){y[E]!=null&&y[E]!=="auto"&&(S=!0)}),S}function c(y,O){var S=y.exist;if(O.id=y.keyInfo.id,!O.type&&S&&(O.type=S.type),O.parentId==null){var E=O.parentOption;E?O.parentId=E.id:S&&(O.parentId=S.parentId)}O.parentOption=null}function o(y,O,S){var E=p.extend({},S),C=y[O],T=S.$action||"merge";T==="merge"?C?(p.merge(C,E,!0),f.mergeLayoutParam(C,E,{ignoreSize:!0}),f.copyLayoutParams(S,C)):y[O]=E:T==="replace"?y[O]=E:T==="remove"&&(C&&(y[O]=null))}function h(y,O){if(!y)return;y.hv=O.hv=[t(O,["left","right"]),t(O,["top","bottom"])],y.type==="group"&&(y.width==null&&(y.width=O.width=0),y.height==null&&(y.height=O.height=0))}function A(y,O,S){var E=y.eventData;!y.silent&&!y.ignore&&!E&&(E=y.eventData={componentType:"graphic",componentIndex:O.componentIndex,name:y.name}),E&&(E.info=y.info)}},f3JH:function(J,B,e){e("aTJb"),e("OlYY"),e("fc+c"),e("oY9F"),e("MqEG"),e("LBfv"),e("noeP")},f5HG:function(J,B,e){var d=e("IwbS"),x=e("QBsz"),g=d.Line.prototype,p=d.BezierCurve.prototype;function v(f){return isNaN(+f.cpx1)||isNaN(+f.cpy1)}var b=d.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(f,i){this[v(i)?"_buildPathLine":"_buildPathCurve"](f,i)},_buildPathLine:g.buildPath,_buildPathCurve:p.buildPath,pointAt:function(f){return this[v(this.shape)?"_pointAtLine":"_pointAtCurve"](f)},_pointAtLine:g.pointAt,_pointAtCurve:p.pointAt,tangentAt:function(f){var i=this.shape,r=v(i)?[i.x2-i.x1,i.y2-i.y1]:this._tangentAtCurve(f);return x.normalize(r,r)},_tangentAtCurve:p.tangentAt});J.exports=b},f5Yq:function(J,B,e){var d=e("bYtY"),x=d.isFunction;function g(p,v,b){return{seriesType:p,performRawSeries:!0,reset:function(f,i,r){var a=f.getData(),s=f.get("symbol"),l=f.get("symbolSize"),n=f.get("symbolKeepAspect"),u=f.get("symbolRotate"),t=x(s),c=x(l),o=x(u),h=t||c||o,A=!t&&s?s:v,y=c?null:l,O=o?null:O;if(a.setVisual({legendSymbol:b||A,symbol:A,symbolSize:y,symbolKeepAspect:n,symbolRotate:u}),i.isSeriesFiltered(f))return;function S(E,C){if(h){var T=f.getRawValue(C),w=f.getDataParams(C);t&&E.setItemVisual(C,"symbol",s(T,w)),c&&E.setItemVisual(C,"symbolSize",l(T,w)),o&&E.setItemVisual(C,"symbolRotate",u(T,w))}if(E.hasItemOption){var L=E.getItemModel(C),N=L.getShallow("symbol",!0),D=L.getShallow("symbolSize",!0),F=L.getShallow("symbolRotate",!0),R=L.getShallow("symbolKeepAspect",!0);N!=null&&E.setItemVisual(C,"symbol",N),D!=null&&E.setItemVisual(C,"symbolSize",D),F!=null&&E.setItemVisual(C,"symbolRotate",F),R!=null&&E.setItemVisual(C,"symbolKeepAspect",R)}}return{dataEach:a.hasItemOption||h?S:null}}}}J.exports=g},fAei:function(J,B,e){"use strict";e.d(B,"a",function(){return y.a});var d=e("rePB"),x=e("VTBJ"),g=e("KQm4"),p=e("1OyB"),v=e("vuIU"),b=e("Ji7U"),f=e("LK+K"),i=e("q1tI"),r=e("4IlW"),a=e("Kwbf"),s=e("TSYQ"),l=e.n(s),n=e("sboe"),u=e("OZM5"),t=e("815F"),c=e("ODXe"),o=e("Ff2n"),h=e("+nKL"),A=e("8XRh"),y=e("WaYH"),O=function(X,he){var te=X.className,pe=X.style,Se=X.motion,we=X.motionNodes,We=X.motionType,qe=X.onMotionEnd,yt=X.active,_e=X.treeNodeRequiredProps,je=Object(o.a)(X,["className","style","motion","motionNodes","motionType","onMotionEnd","active","treeNodeRequiredProps"]),Ct=i.useState(!0),ct=Object(c.a)(Ct,2),nt=ct[0],bt=ct[1],dt=i.useContext(n.a),vt=dt.prefixCls,Qe=i.useRef(!1),mt=function(){Qe.current||qe(),Qe.current=!0};return Object(i.useEffect)(function(){we&&We==="hide"&&nt&&bt(!1)},[we]),Object(i.useEffect)(function(){return function(){we&&mt()}},[]),we?i.createElement(A.default,Object.assign({ref:he,visible:nt},Se,{motionAppear:We==="show",onAppearEnd:mt,onLeaveEnd:mt}),function(Pe,De){var Ie=Pe.className,ot=Pe.style;return i.createElement("div",{ref:De,className:l()("".concat(vt,"-treenode-motion"),Ie),style:ot},we.map(function(wt){var Bt=wt.data,_t=Bt.key,Ue=Object(o.a)(Bt,["key"]),zt=wt.isStart,xt=wt.isEnd;delete Ue.children;var Pt=Object(t.f)(_t,_e);return i.createElement(y.a,Object.assign({},Ue,Pt,{active:yt,data:wt.data,key:_t,isStart:zt,isEnd:xt}))}))}):i.createElement(y.a,Object.assign({domRef:he,className:te,style:pe},je,{active:yt}))};O.displayName="MotionTreeNode";var S=i.forwardRef(O),E=S;function C(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],he=Q.length,te=X.length;if(Math.abs(he-te)!==1)return{add:!1,key:null};function pe(Se,we){var We=new Map;Se.forEach(function(yt){We.set(yt,!0)});var qe=we.filter(function(yt){return!We.has(yt)});return qe.length===1?qe[0]:null}return he<te?{add:!0,key:pe(Q,X)}:{add:!1,key:pe(X,Q)}}function T(Q,X,he){var te=Q.findIndex(function(We){var qe=We.data;return qe.key===he}),pe=Q[te+1],Se=X.findIndex(function(We){var qe=We.data;return qe.key===he});if(pe){var we=X.findIndex(function(We){var qe=We.data;return qe.key===pe.data.key});return X.slice(Se+1,we)}return X.slice(Se+1)}var w={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},L=function(){},N="RC_TREE_MOTION_".concat(Math.random()),D={key:N},F={key:N,level:0,index:0,pos:"0",node:D},R={parent:null,children:[],pos:F.pos,data:D,isStart:[],isEnd:[]};function U(Q,X,he,te){return X===!1||!he?Q:Q.slice(0,Math.ceil(he/te)+1)}function M(Q){var X=Q.data.key,he=Q.pos;return Object(t.e)(X,he)}function j(Q){for(var X=String(Q.data.key),he=Q;he.parent;)he=he.parent,X="".concat(he.data.key," > ").concat(X);return X}var P=function(X,he){var te=X.prefixCls,pe=X.data,Se=X.selectable,we=X.checkable,We=X.expandedKeys,qe=X.selectedKeys,yt=X.checkedKeys,_e=X.loadedKeys,je=X.loadingKeys,Ct=X.halfCheckedKeys,ct=X.keyEntities,nt=X.disabled,bt=X.dragging,dt=X.dragOverNodeKey,vt=X.dropPosition,Qe=X.motion,mt=X.height,Pe=X.itemHeight,De=X.virtual,Ie=X.focusable,ot=X.activeItem,wt=X.focused,Bt=X.tabIndex,_t=X.onKeyDown,Ue=X.onFocus,zt=X.onBlur,xt=X.onActiveChange,Pt=X.onListChangeStart,Ke=X.onListChangeEnd,Ye=Object(o.a)(X,["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"]),$e=i.useRef(null);i.useImperativeHandle(he,function(){return{scrollTo:function(lt){$e.current.scrollTo(lt)}}});var ut=i.useState(We),et=Object(c.a)(ut,2),oe=et[0],me=et[1],it=i.useState(pe),Be=Object(c.a)(it,2),ht=Be[0],Mr=Be[1],Lt=i.useState(pe),or=Object(c.a)(Lt,2),Qt=or[0],qt=or[1],hr=i.useState([]),Gt=Object(c.a)(hr,2),de=Gt[0],ue=Gt[1],se=i.useState(null),ae=Object(c.a)(se,2),ye=ae[0],Ce=ae[1];function Oe(){Mr(pe),qt(pe),ue([]),Ce(null),Ke()}i.useEffect(function(){me(We);var ke=C(oe,We);if(ke.key!==null){if(ke.add){var lt=ht.findIndex(function(le){var ge=le.data.key;return ge===ke.key}),At=U(T(ht,pe,ke.key),De,mt,Pe),ee=ht.slice();ee.splice(lt+1,0,R),qt(ee),ue(At),Ce("show")}else{var ie=pe.findIndex(function(le){var ge=le.data.key;return ge===ke.key}),z=U(T(pe,ht,ke.key),De,mt,Pe),$=pe.slice();$.splice(ie+1,0,R),qt($),ue(z),Ce("hide")}Qe&&Pt()}else ht!==pe&&(Mr(pe),qt(pe))},[We,pe]),i.useEffect(function(){bt||Oe()},[bt]);var Te=Qe?Qt:pe,xe={expandedKeys:We,selectedKeys:qe,loadedKeys:_e,loadingKeys:je,checkedKeys:yt,halfCheckedKeys:Ct,dragOverNodeKey:dt,dropPosition:vt,keyEntities:ct};return i.createElement(i.Fragment,null,wt&&ot&&i.createElement("span",{style:w,"aria-live":"assertive"},j(ot)),i.createElement("div",{role:"tree"},i.createElement("input",{style:w,disabled:Ie===!1||nt,tabIndex:Ie!==!1?Bt:null,onKeyDown:_t,onFocus:Ue,onBlur:zt,value:"",onChange:L})),i.createElement(h.a,Object.assign({},Ye,{data:Te,itemKey:M,height:mt,fullHeight:!1,virtual:De,itemHeight:Pe,prefixCls:"".concat(te,"-list"),ref:$e}),function(ke){var lt=ke.pos,At=ke.data,ee=At.key,ie=Object(o.a)(At,["key"]),z=ke.isStart,$=ke.isEnd,le=Object(t.e)(ee,lt);delete ie.children;var ge=Object(t.f)(le,xe);return i.createElement(E,Object.assign({},ie,ge,{active:ot&&ee===ot.data.key,pos:lt,data:ke.data,isStart:z,isEnd:$,motion:Qe,motionNodes:ee===N?de:null,motionType:ye,onMotionEnd:Oe,treeNodeRequiredProps:xe,onMouseMove:function(){xt(null)}}))}))},K=i.forwardRef(P);K.displayName="NodeList";var H=K,_=e("NvD2"),Z=function(Q){Object(b.a)(he,Q);var X=Object(f.a)(he);function he(){var te;return Object(p.a)(this,he),te=X.apply(this,arguments),te.destroyed=!1,te.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},te.listRef=i.createRef(),te.onNodeDragStart=function(pe,Se){var we=te.state,We=we.expandedKeys,qe=we.keyEntities,yt=te.props.onDragStart,_e=Se.props.eventKey;te.dragNode=Se;var je=Object(u.b)(We,_e);te.setState({dragging:!0,dragNodesKeys:Object(u.g)(_e,qe)}),te.setExpandedKeys(je),yt&&yt({event:pe,node:Object(t.b)(Se.props)})},te.onNodeDragEnter=function(pe,Se){var we=te.state,We=we.expandedKeys,qe=we.keyEntities,yt=we.dragNodesKeys,_e=te.props.onDragEnter,je=Se.props,Ct=je.pos,ct=je.eventKey;if(!te.dragNode||yt.indexOf(ct)!==-1)return;var nt=Object(u.c)(pe,Se);if(te.dragNode.props.eventKey===ct&&nt===0){te.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){te.setState({dragOverNodeKey:ct,dropPosition:nt}),te.delayedDragEnterLogic||(te.delayedDragEnterLogic={}),Object.keys(te.delayedDragEnterLogic).forEach(function(bt){clearTimeout(te.delayedDragEnterLogic[bt])}),te.delayedDragEnterLogic[Ct]=window.setTimeout(function(){if(!te.state.dragging)return;var bt=Object(g.a)(We),dt=qe[ct];dt&&(dt.children||[]).length&&(bt=Object(u.a)(We,ct)),"expandedKeys"in te.props||te.setExpandedKeys(bt),_e&&_e({event:pe,node:Object(t.b)(Se.props),expandedKeys:bt})},400)},0)},te.onNodeDragOver=function(pe,Se){var we=te.state.dragNodesKeys,We=te.props.onDragOver,qe=Se.props.eventKey;if(we.indexOf(qe)!==-1)return;if(te.dragNode&&qe===te.state.dragOverNodeKey){var yt=Object(u.c)(pe,Se);if(yt===te.state.dropPosition)return;te.setState({dropPosition:yt})}We&&We({event:pe,node:Object(t.b)(Se.props)})},te.onNodeDragLeave=function(pe,Se){var we=te.props.onDragLeave;te.setState({dragOverNodeKey:""}),we&&we({event:pe,node:Object(t.b)(Se.props)})},te.onNodeDragEnd=function(pe,Se){var we=te.props.onDragEnd;te.setState({dragOverNodeKey:""}),te.cleanDragState(),we&&we({event:pe,node:Object(t.b)(Se.props)}),te.dragNode=null},te.onNodeDrop=function(pe,Se){var we=te.state,We=we.dragNodesKeys,qe=We===void 0?[]:We,yt=we.dropPosition,_e=te.props.onDrop,je=Se.props,Ct=je.eventKey,ct=je.pos;if(te.setState({dragOverNodeKey:""}),te.cleanDragState(),qe.indexOf(Ct)!==-1){Object(a.a)(!1,"Can not drop to dragNode(include it's children node)");return}var nt=Object(u.k)(ct),bt={event:pe,node:Object(t.b)(Se.props),dragNode:te.dragNode?Object(t.b)(te.dragNode.props):null,dragNodesKeys:qe.slice(),dropPosition:yt+Number(nt[nt.length-1]),dropToGap:!1};yt!==0&&(bt.dropToGap=!0),_e&&_e(bt),te.dragNode=null},te.cleanDragState=function(){var pe=te.state.dragging;pe&&te.setState({dragging:!1})},te.onNodeClick=function(pe,Se){var we=te.props.onClick;we&&we(pe,Se)},te.onNodeDoubleClick=function(pe,Se){var we=te.props.onDoubleClick;we&&we(pe,Se)},te.onNodeSelect=function(pe,Se){var we=te.state.selectedKeys,We=te.state.keyEntities,qe=te.props,yt=qe.onSelect,_e=qe.multiple,je=Se.selected,Ct=Se.key,ct=!je;ct?_e?we=Object(u.a)(we,Ct):we=[Ct]:we=Object(u.b)(we,Ct);var nt=we.map(function(bt){var dt=We[bt];return dt?dt.node:null}).filter(function(bt){return bt});te.setUncontrolledState({selectedKeys:we}),yt&&yt(we,{event:"select",selected:ct,node:Se,selectedNodes:nt,nativeEvent:pe.nativeEvent})},te.onNodeCheck=function(pe,Se,we){var We=te.state,qe=We.keyEntities,yt=We.checkedKeys,_e=We.halfCheckedKeys,je=te.props,Ct=je.checkStrictly,ct=je.onCheck,nt=Se.key,bt,dt={event:"check",node:Se,checked:we,nativeEvent:pe.nativeEvent};if(Ct){var vt=we?Object(u.a)(yt,nt):Object(u.b)(yt,nt),Qe=Object(u.b)(_e,nt);bt={checked:vt,halfChecked:Qe},dt.checkedNodes=vt.map(function(wt){return qe[wt]}).filter(function(wt){return wt}).map(function(wt){return wt.node}),te.setUncontrolledState({checkedKeys:vt})}else{var mt=Object(_.a)([].concat(Object(g.a)(yt),[nt]),!0,qe),Pe=mt.checkedKeys,De=mt.halfCheckedKeys;if(!we){var Ie=new Set(Pe);Ie.delete(nt);var ot=Object(_.a)(Array.from(Ie),{checked:!1,halfCheckedKeys:De},qe);Pe=ot.checkedKeys,De=ot.halfCheckedKeys}bt=Pe,dt.checkedNodes=[],dt.checkedNodesPositions=[],dt.halfCheckedKeys=De,Pe.forEach(function(wt){var Bt=qe[wt];if(!Bt)return;var _t=Bt.node,Ue=Bt.pos;dt.checkedNodes.push(_t),dt.checkedNodesPositions.push({node:_t,pos:Ue})}),te.setUncontrolledState({checkedKeys:Pe},!1,{halfCheckedKeys:De})}ct&&ct(bt,dt)},te.onNodeLoad=function(pe){return new Promise(function(Se){te.setState(function(we){var We=we.loadedKeys,qe=We===void 0?[]:We,yt=we.loadingKeys,_e=yt===void 0?[]:yt,je=te.props,Ct=je.loadData,ct=je.onLoad,nt=pe.key;if(!Ct||qe.indexOf(nt)!==-1||_e.indexOf(nt)!==-1)return{};var bt=Ct(pe);return bt.then(function(){var dt=te.state,vt=dt.loadedKeys,Qe=dt.loadingKeys,mt=Object(u.a)(vt,nt),Pe=Object(u.b)(Qe,nt);ct&&ct(mt,{event:"load",node:pe}),te.setUncontrolledState({loadedKeys:mt}),te.setState({loadingKeys:Pe}),Se()}),{loadingKeys:Object(u.a)(_e,nt)}})})},te.onNodeMouseEnter=function(pe,Se){var we=te.props.onMouseEnter;we&&we({event:pe,node:Se})},te.onNodeMouseLeave=function(pe,Se){var we=te.props.onMouseLeave;we&&we({event:pe,node:Se})},te.onNodeContextMenu=function(pe,Se){var we=te.props.onRightClick;we&&(pe.preventDefault(),we({event:pe,node:Se}))},te.onFocus=function(){var pe=te.props.onFocus;te.setState({focused:!0}),pe&&pe.apply(void 0,arguments)},te.onBlur=function(){var pe=te.props.onBlur;te.setState({focused:!1}),te.onActiveChange(null),pe&&pe.apply(void 0,arguments)},te.getTreeNodeRequiredProps=function(){var pe=te.state,Se=pe.expandedKeys,we=pe.selectedKeys,We=pe.loadedKeys,qe=pe.loadingKeys,yt=pe.checkedKeys,_e=pe.halfCheckedKeys,je=pe.dragOverNodeKey,Ct=pe.dropPosition,ct=pe.keyEntities;return{expandedKeys:Se||[],selectedKeys:we||[],loadedKeys:We||[],loadingKeys:qe||[],checkedKeys:yt||[],halfCheckedKeys:_e||[],dragOverNodeKey:je,dropPosition:Ct,keyEntities:ct}},te.setExpandedKeys=function(pe){var Se=te.state.treeData,we=Object(t.d)(Se,pe);te.setUncontrolledState({expandedKeys:pe,flattenNodes:we},!0)},te.onNodeExpand=function(pe,Se){var we=te.state.expandedKeys,We=te.state.listChanging,qe=te.props,yt=qe.onExpand,_e=qe.loadData,je=Se.key,Ct=Se.expanded;if(We)return;var ct=we.indexOf(je),nt=!Ct;if(Object(a.a)(Ct&&ct!==-1||!Ct&&ct===-1,"Expand state not sync with index check"),nt?we=Object(u.a)(we,je):we=Object(u.b)(we,je),te.setExpandedKeys(we),yt&&yt(we,{node:Se,expanded:nt,nativeEvent:pe.nativeEvent}),nt&&_e){var bt=te.onNodeLoad(Se);bt&&bt.then(function(){var dt=Object(t.d)(te.state.treeData,we);te.setUncontrolledState({flattenNodes:dt})})}},te.onListChangeStart=function(){te.setUncontrolledState({listChanging:!0})},te.onListChangeEnd=function(){setTimeout(function(){te.setUncontrolledState({listChanging:!1})})},te.onActiveChange=function(pe){var Se=te.state.activeKey,we=te.props.onActiveChange;if(Se===pe)return;te.setState({activeKey:pe}),pe!==null&&te.scrollTo({key:pe}),we&&we(pe)},te.getActiveItem=function(){var pe=te.state,Se=pe.activeKey,we=pe.flattenNodes;return Se===null?null:we.find(function(We){var qe=We.data.key;return qe===Se})||null},te.offsetActiveKey=function(pe){var Se=te.state,we=Se.flattenNodes,We=Se.activeKey,qe=we.findIndex(function(je){var Ct=je.data.key;return Ct===We});qe===-1&&pe<0&&(qe=we.length),qe=(qe+pe+we.length)%we.length;var yt=we[qe];if(yt){var _e=yt.data.key;te.onActiveChange(_e)}else te.onActiveChange(null)},te.onKeyDown=function(pe){var Se=te.state,we=Se.activeKey,We=Se.expandedKeys,qe=Se.checkedKeys,yt=te.props,_e=yt.onKeyDown,je=yt.checkable,Ct=yt.selectable;switch(pe.which){case r.a.UP:{te.offsetActiveKey(-1),pe.preventDefault();break}case r.a.DOWN:{te.offsetActiveKey(1),pe.preventDefault();break}}var ct=te.getActiveItem();if(ct&&ct.data){var nt=te.getTreeNodeRequiredProps(),bt=ct.data.isLeaf===!1||!!(ct.data.children||[]).length,dt=Object(t.b)(Object(x.a)(Object(x.a)({},Object(t.f)(we,nt)),{},{data:ct.data,active:!0}));switch(pe.which){case r.a.LEFT:{bt&&We.includes(we)?te.onNodeExpand({},dt):ct.parent&&te.onActiveChange(ct.parent.data.key),pe.preventDefault();break}case r.a.RIGHT:{bt&&!We.includes(we)?te.onNodeExpand({},dt):ct.children&&ct.children.length&&te.onActiveChange(ct.children[0].data.key),pe.preventDefault();break}case r.a.ENTER:case r.a.SPACE:{je&&!dt.disabled&&dt.checkable!==!1&&!dt.disableCheckbox?te.onNodeCheck({},dt,!qe.includes(we)):!je&&Ct&&!dt.disabled&&dt.selectable!==!1&&te.onNodeSelect({},dt);break}}}_e&&_e(pe)},te.setUncontrolledState=function(pe){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(te.destroyed)return;var We=!1,qe=!0,yt={};Object.keys(pe).forEach(function(_e){if(_e in te.props){qe=!1;return}We=!0,yt[_e]=pe[_e]}),We&&(!Se||qe)&&te.setState(Object(x.a)(Object(x.a)({},yt),we))},te.scrollTo=function(pe){te.listRef.current.scrollTo(pe)},te}return Object(v.a)(he,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var pe,Se=this.state,we=Se.focused,We=Se.flattenNodes,qe=Se.keyEntities,yt=Se.dragging,_e=Se.activeKey,je=this.props,Ct=je.prefixCls,ct=je.className,nt=je.style,bt=je.showLine,dt=je.focusable,vt=je.tabIndex,Qe=vt===void 0?0:vt,mt=je.selectable,Pe=je.showIcon,De=je.icon,Ie=je.switcherIcon,ot=je.draggable,wt=je.checkable,Bt=je.checkStrictly,_t=je.disabled,Ue=je.motion,zt=je.loadData,xt=je.filterTreeNode,Pt=je.height,Ke=je.itemHeight,Ye=je.virtual,$e=je.titleRender,ut=Object(u.f)(this.props);return i.createElement(n.a.Provider,{value:{prefixCls:Ct,selectable:mt,showIcon:Pe,icon:De,switcherIcon:Ie,draggable:ot,checkable:wt,checkStrictly:Bt,disabled:_t,keyEntities:qe,loadData:zt,filterTreeNode:xt,titleRender:$e,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}},i.createElement("div",{className:l()(Ct,ct,(pe={},Object(d.a)(pe,"".concat(Ct,"-show-line"),bt),Object(d.a)(pe,"".concat(Ct,"-focused"),we),Object(d.a)(pe,"".concat(Ct,"-active-focused"),_e!==null),pe))},i.createElement(H,Object.assign({ref:this.listRef,prefixCls:Ct,style:nt,data:We,disabled:_t,selectable:mt,checkable:!!wt,motion:Ue,dragging:yt,height:Pt,itemHeight:Ke,virtual:Ye,focusable:dt,focused:we,tabIndex:Qe,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd},this.getTreeNodeRequiredProps(),ut))))}}],[{key:"getDerivedStateFromProps",value:function(pe,Se){var we=Se.prevProps,We={prevProps:pe};function qe(De){return!we&&De in pe||we&&we[De]!==pe[De]}var yt;if(qe("treeData")?yt=pe.treeData:qe("children")&&(Object(a.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),yt=Object(t.c)(pe.children)),yt){We.treeData=yt;var _e=Object(t.a)(yt);We.keyEntities=Object(x.a)(Object(d.a)({},N,F),_e.keyEntities)}var je=We.keyEntities||Se.keyEntities;if(qe("expandedKeys")||we&&qe("autoExpandParent"))We.expandedKeys=pe.autoExpandParent||!we&&pe.defaultExpandParent?Object(u.e)(pe.expandedKeys,je):pe.expandedKeys;else if(!we&&pe.defaultExpandAll){var Ct=Object(x.a)({},je);delete Ct[N],We.expandedKeys=Object.keys(Ct).map(function(De){return Ct[De].key})}else!we&&pe.defaultExpandedKeys&&(We.expandedKeys=pe.autoExpandParent||pe.defaultExpandParent?Object(u.e)(pe.defaultExpandedKeys,je):pe.defaultExpandedKeys);if(We.expandedKeys||delete We.expandedKeys,yt||We.expandedKeys){var ct=Object(t.d)(yt||Se.treeData,We.expandedKeys||Se.expandedKeys);We.flattenNodes=ct}if(pe.selectable&&(qe("selectedKeys")?We.selectedKeys=Object(u.d)(pe.selectedKeys,pe):!we&&pe.defaultSelectedKeys&&(We.selectedKeys=Object(u.d)(pe.defaultSelectedKeys,pe))),pe.checkable){var nt;if(qe("checkedKeys")?nt=Object(u.j)(pe.checkedKeys)||{}:!we&&pe.defaultCheckedKeys?nt=Object(u.j)(pe.defaultCheckedKeys)||{}:yt&&(nt=Object(u.j)(pe.checkedKeys)||{checkedKeys:Se.checkedKeys,halfCheckedKeys:Se.halfCheckedKeys}),nt){var bt=nt,dt=bt.checkedKeys,vt=dt===void 0?[]:dt,Qe=bt.halfCheckedKeys,mt=Qe===void 0?[]:Qe;if(!pe.checkStrictly){var Pe=Object(_.a)(vt,!0,je);vt=Pe.checkedKeys,mt=Pe.halfCheckedKeys}We.checkedKeys=vt,We.halfCheckedKeys=mt}}return qe("loadedKeys")&&(We.loadedKeys=pe.loadedKeys),We}}]),he}(i.Component);Z.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:[]},Z.TreeNode=y.a;var Y=Z,k=B.b=Y},fE02:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("/IIm"),p=e("vZ6x"),v=e("b9oc"),b=e("72pK"),f=e("Kagy"),i=e("IUWy");e("3TkU");var r=f.toolbox.dataZoom,a=x.each,s="\0_ec_\0toolbox-dataZoom_";function l(A,y,O){(this._brushController=new g(O.getZr())).on("brush",x.bind(this._onBrush,this)).mount(),this._isZoomActive}l.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:x.clone(r.title)};var n=l.prototype;n.render=function(A,y,O,S){this.model=A,this.ecModel=y,this.api=O,o(A,y,this,S,O),c(A,y)},n.onclick=function(A,y,O){u[O].call(this)},n.remove=function(A,y){this._brushController.unmount()},n.dispose=function(A,y){this._brushController.dispose()};var u={zoom:function(){var A=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:A})},back:function(){this._dispatchZoomAction(v.pop(this.ecModel))}};n._onBrush=function(A,y){if(!y.isEnd||!A.length)return;var O={},S=this.ecModel;this._brushController.updateCovers([]);var E=new p(t(this.model.option),S,{include:["grid"]});E.matchOutputRanges(A,S,function(w,L,N){if(N.type!=="cartesian2d")return;var D=w.brushType;D==="rect"?(C("x",N,L[0]),C("y",N,L[1])):C({lineX:"x",lineY:"y"}[D],N,L)}),v.push(S,O),this._dispatchZoomAction(O);function C(w,L,N){var D=L.getAxis(w),F=D.model,R=T(w,F,S),U=R.findRepresentativeAxisProxy(F).getMinMaxSpan();(U.minValueSpan!=null||U.maxValueSpan!=null)&&(N=b(0,N.slice(),D.scale.getExtent(),0,U.minValueSpan,U.maxValueSpan)),R&&(O[R.id]={dataZoomId:R.id,startValue:N[0],endValue:N[1]})}function T(w,L,N){var D;return N.eachComponent({mainType:"dataZoom",subType:"select"},function(F){var R=F.getAxisModel(w,L.componentIndex);R&&(D=F)}),D}},n._dispatchZoomAction=function(A){var y=[];a(A,function(O,S){y.push(x.clone(O))}),y.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:y})};function t(A){var y={};return x.each(["xAxisIndex","yAxisIndex"],function(O){y[O]=A[O],y[O]==null&&(y[O]="all"),(y[O]===!1||y[O]==="none")&&(y[O]=[])}),y}function c(A,y){A.setIconStatus("back",v.count(y)>1?"emphasis":"normal")}function o(A,y,O,S,E){var C=O._isZoomActive;S&&S.type==="takeGlobalCursor"&&(C=S.key==="dataZoomSelect"?S.dataZoomSelectActive:!1),O._isZoomActive=C,A.setIconStatus("zoom",C?"emphasis":"normal");var T=new p(t(A.option),y,{include:["grid"]});O._brushController.setPanels(T.makePanelOpts(E,function(w){return w.xAxisDeclared&&!w.yAxisDeclared?"lineX":!w.xAxisDeclared&&w.yAxisDeclared?"lineY":"rect"})).enableBrush(C?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}i.register("dataZoom",l),d.registerPreprocessor(function(A){if(!A)return;var y=A.dataZoom||(A.dataZoom=[]);x.isArray(y)||(A.dataZoom=y=[y]);var O=A.toolbox;if(O&&(x.isArray(O)&&(O=O[0]),O&&O.feature)){var S=O.feature.dataZoom;E("xAxis",S),E("yAxis",S)}function E(T,w){if(!w)return;var L=T+"Index",N=w[L];N!=null&&N!=="all"&&!x.isArray(N)&&(N=N===!1||N==="none"?[]:[N]),C(T,function(D,F){if(N!=null&&N!=="all"&&x.indexOf(N,F)===-1)return;var R={type:"select",$fromToolbox:!0,filterMode:w.filterMode||"filter",id:s+T+F};R[L]=F,y.push(R)})}function C(T,w){var L=A[T];x.isArray(L)||(L=L?[L]:[]),a(L,w)}});var h=l;J.exports=h},fGT3:function(J,B,e){var d=e("4kuk"),x=e("Xi7e"),g=e("ebwN");function p(){this.size=0,this.__data__={hash:new d,map:new(g||x),string:new d}}J.exports=p},fNCr:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("tSko"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},"fR/l":function(J,B,e){var d=e("CH3K"),x=e("Z0cm");function g(p,v,b){var f=v(p);return x(p)?f:d(f,b(p))}J.exports=g},fUL4:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("r+aA"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},fW2E:function(J,B){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function d(x,g,p){return e.hasOwnProperty(g)?p*=x.dpr:p}J.exports=d},"fc+c":function(J,B,e){var d=e("sS/r"),x=d.extend({type:"dataZoom",render:function(g,p,v,b){this.dataZoomModel=g,this.ecModel=p,this.api=v},getTargetCoordInfo:function(){var g=this.dataZoomModel,p=this.ecModel,v={};g.eachTargetAxis(function(f,i){var r=p.getComponent(f.axis,i);if(r){var a=r.getCoordSysModel();a&&b(a,r,v[a.mainType]||(v[a.mainType]=[]),a.componentIndex)}},this);function b(f,i,r,a){for(var s,l=0;l<r.length;l++)if(r[l].model===f){s=r[l];break}s||r.push(s={model:f,axisModels:[],coordIndex:a}),s.axisModels.push(i)}return v}});J.exports=x},fjKi:function(J,B,e){var d=e("ProS");e("Q7if"),e("jndi"),d.registerPreprocessor(function(x){x.markArea=x.markArea||{}})},fls0:function(J,B,e){var d=e("bYtY"),x=e("QBsz"),g=e("oVpE"),p=e("f5HG"),v=e("IwbS"),b=e("OELB"),f=b.round,i=["fromSymbol","toSymbol"];function r(o){return"_"+o+"Type"}function a(o,h,A){var y=h.getItemVisual(A,"color"),O=h.getItemVisual(A,o),S=h.getItemVisual(A,o+"Size");if(!O||O==="none")return;d.isArray(S)||(S=[S,S]);var E=g.createSymbol(O,-S[0]/2,-S[1]/2,S[0],S[1],y);return E.name=o,E}function s(o){var h=new p({name:"line",subPixelOptimize:!0});return l(h.shape,o),h}function l(o,h){o.x1=h[0][0],o.y1=h[0][1],o.x2=h[1][0],o.y2=h[1][1],o.percent=1;var A=h[2];A?(o.cpx1=A[0],o.cpy1=A[1]):(o.cpx1=NaN,o.cpy1=NaN)}function n(){var o=this,h=o.childOfName("fromSymbol"),A=o.childOfName("toSymbol"),y=o.childOfName("label");if(!h&&!A&&y.ignore)return;for(var O=1,S=this.parent;S;)S.scale&&(O/=S.scale[0]),S=S.parent;var E=o.childOfName("line");if(!this.__dirty&&!E.__dirty)return;var C=E.shape.percent,T=E.pointAt(0),w=E.pointAt(C),L=x.sub([],w,T);if(x.normalize(L,L),h){h.attr("position",T);var N=E.tangentAt(0);h.attr("rotation",Math.PI/2-Math.atan2(N[1],N[0])),h.attr("scale",[O*C,O*C])}if(A){A.attr("position",w);var N=E.tangentAt(1);A.attr("rotation",-Math.PI/2-Math.atan2(N[1],N[0])),A.attr("scale",[O*C,O*C])}if(!y.ignore){y.attr("position",w);var D,F,R,U,M=y.__labelDistance,j=M[0]*O,P=M[1]*O,K=C/2,N=E.tangentAt(K),H=[N[1],-N[0]],_=E.pointAt(K);H[1]>0&&(H[0]=-H[0],H[1]=-H[1]);var Z=N[0]<0?-1:1;if(y.__position!=="start"&&y.__position!=="end"){var Y=-Math.atan2(N[1],N[0]);w[0]<T[0]&&(Y=Math.PI+Y),y.attr("rotation",Y)}var k;switch(y.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":k=-P,R="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":k=P,R="top";break;default:k=0,R="middle"}switch(y.__position){case"end":D=[L[0]*j+w[0],L[1]*P+w[1]],F=L[0]>.8?"left":L[0]<-.8?"right":"center",R=L[1]>.8?"top":L[1]<-.8?"bottom":"middle";break;case"start":D=[-L[0]*j+T[0],-L[1]*P+T[1]],F=L[0]>.8?"right":L[0]<-.8?"left":"center",R=L[1]>.8?"bottom":L[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":D=[j*Z+T[0],T[1]+k],F=N[0]<0?"right":"left",U=[-j*Z,-k];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":D=[_[0],_[1]+k],F="center",U=[0,-k];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":D=[-j*Z+w[0],w[1]+k],F=N[0]>=0?"right":"left",U=[j*Z,-k];break}y.attr({style:{textVerticalAlign:y.__verticalAlign||R,textAlign:y.__textAlign||F},position:D,scale:[O,O],origin:U})}}function u(o,h,A){v.Group.call(this),this._createLine(o,h,A)}var t=u.prototype;t.beforeUpdate=n,t._createLine=function(o,h,A){var y=o.hostModel,O=o.getItemLayout(h),S=s(O);S.shape.percent=0,v.initProps(S,{shape:{percent:1}},y,h),this.add(S);var E=new v.Text({name:"label",lineLabelOriginalOpacity:1});this.add(E),d.each(i,function(C){var T=a(C,o,h);this.add(T),this[r(C)]=o.getItemVisual(h,C)},this),this._updateCommonStl(o,h,A)},t.updateData=function(o,h,A){var y=o.hostModel,O=this.childOfName("line"),S=o.getItemLayout(h),E={shape:{}};l(E.shape,S),v.updateProps(O,E,y,h),d.each(i,function(C){var T=o.getItemVisual(h,C),w=r(C);if(this[w]!==T){this.remove(this.childOfName(C));var L=a(C,o,h);this.add(L)}this[w]=T},this),this._updateCommonStl(o,h,A)},t._updateCommonStl=function(o,h,A){var y=o.hostModel,O=this.childOfName("line"),S=A&&A.lineStyle,E=A&&A.hoverLineStyle,C=A&&A.labelModel,T=A&&A.hoverLabelModel;if(!A||o.hasItemOption){var w=o.getItemModel(h);S=w.getModel("lineStyle").getLineStyle(),E=w.getModel("emphasis.lineStyle").getLineStyle(),C=w.getModel("label"),T=w.getModel("emphasis.label")}var L=o.getItemVisual(h,"color"),N=d.retrieve3(o.getItemVisual(h,"opacity"),S.opacity,1);O.useStyle(d.defaults({strokeNoScale:!0,fill:"none",stroke:L,opacity:N},S)),O.hoverStyle=E,d.each(i,function(Z){var Y=this.childOfName(Z);Y&&(Y.setColor(L),Y.setStyle({opacity:N}))},this);var D=C.getShallow("show"),F=T.getShallow("show"),R=this.childOfName("label"),U,M;if((D||F)&&(U=L||"#000",M=y.getFormattedLabel(h,"normal",o.dataType),M==null)){var j=y.getRawValue(h);M=j==null?o.getName(h):isFinite(j)?f(j):j}var P=D?M:null,K=F?d.retrieve2(y.getFormattedLabel(h,"emphasis",o.dataType),M):null,H=R.style;if(P!=null||K!=null){v.setTextStyle(R.style,C,{text:P},{autoColor:U}),R.__textAlign=H.textAlign,R.__verticalAlign=H.textVerticalAlign,R.__position=C.get("position")||"middle";var _=C.get("distance");d.isArray(_)||(_=[_,_]),R.__labelDistance=_}K!=null?R.hoverStyle={text:K,textFill:T.getTextColor(!0),fontStyle:T.getShallow("fontStyle"),fontWeight:T.getShallow("fontWeight"),fontSize:T.getShallow("fontSize"),fontFamily:T.getShallow("fontFamily")}:R.hoverStyle={text:null},R.ignore=!D&&!F,v.setHoverStyle(this)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateLayout=function(o,h){this.setLinePoints(o.getItemLayout(h))},t.setLinePoints=function(o){var h=this.childOfName("line");l(h.shape,o),h.dirty()},d.inherits(u,v.Group);var c=u;J.exports=c},fmMI:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=g.each,v=g.filter,b=g.map,f=g.isArray,i=g.indexOf,r=g.isObject,a=g.isString,s=g.createHashMap,l=g.assert,n=g.clone,u=g.merge,t=g.extend,c=g.mixin,o=e("4NO4"),h=e("Qxkt"),A=e("bLfw"),y=e("iXHM"),O=e("5Hur"),S=e("D5nY"),E=S.resetSourceDefaulter,C="\0_ec_inner",T=h.extend({init:function(P,K,H,_){H=H||{},this.option=null,this._theme=new h(H),this._optionManager=_},setOption:function(P,K){l(!(C in P),"please use chart.getOption()"),this._optionManager.setOption(P,K),this.resetOption(null)},resetOption:function(P){var K=!1,H=this._optionManager;if(!P||P==="recreate"){var _=H.mountOption(P==="recreate");!this.option||P==="recreate"?N.call(this,_):(this.restoreData(),this.mergeOption(_)),K=!0}if((P==="timeline"||P==="media")&&this.restoreData(),!P||P==="recreate"||P==="timeline"){var Z=H.getTimelineOption(this);Z&&(this.mergeOption(Z),K=!0)}if(!P||P==="recreate"||P==="media"){var Y=H.getMediaOption(this,this._api);Y.length&&p(Y,function(k){this.mergeOption(k,K=!0)},this)}return K},mergeOption:function(P){var K=this.option,H=this._componentsMap,_=[];E(this),p(P,function(Y,k){if(Y==null)return;A.hasClass(k)?k&&_.push(k):K[k]=K[k]==null?n(Y):u(K[k],Y,!0)}),A.topologicalTravel(_,A.getAllClassMainTypes(),Z,this);function Z(Y,k){var Q=o.normalizeToArray(P[Y]),X=o.mappingToExists(H.get(Y),Q);o.makeIdAndName(X),p(X,function(te,pe){var Se=te.option;r(Se)&&(te.keyInfo.mainType=Y,te.keyInfo.subType=F(Y,Se,te.exist))});var he=D(H,k);K[Y]=[],H.set(Y,[]),p(X,function(te,pe){var Se=te.exist,we=te.option;if(l(r(we)||Se,"Empty component definition"),!we)Se.mergeOption({},this),Se.optionUpdated({},!1);else{var We=A.getClass(Y,te.keyInfo.subType,!0);if(Se&&Se.constructor===We)Se.name=te.keyInfo.name,Se.mergeOption(we,this),Se.optionUpdated(we,!1);else{var qe=t({dependentModels:he,componentIndex:pe},te.keyInfo);Se=new We(we,this,this,qe),t(Se,qe),Se.init(we,this,this,qe),Se.optionUpdated(null,!0)}}H.get(Y)[pe]=Se,K[Y][pe]=Se.option},this),Y==="series"&&R(this,H.get("series"))}this._seriesIndicesMap=s(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var P=n(this.option);return p(P,function(K,H){if(A.hasClass(H)){for(var K=o.normalizeToArray(K),_=K.length-1;_>=0;_--)o.isIdInner(K[_])&&K.splice(_,1);P[H]=K}}),delete P[C],P},getTheme:function(){return this._theme},getComponent:function(P,K){var H=this._componentsMap.get(P);if(H)return H[K||0]},queryComponents:function(P){var K=P.mainType;if(!K)return[];var H=P.index,_=P.id,Z=P.name,Y=this._componentsMap.get(K);if(!Y||!Y.length)return[];var k;if(H!=null)f(H)||(H=[H]),k=v(b(H,function(he){return Y[he]}),function(he){return!!he});else if(_!=null){var Q=f(_);k=v(Y,function(he){return Q&&i(_,he.id)>=0||!Q&&he.id===_})}else if(Z!=null){var X=f(Z);k=v(Y,function(he){return X&&i(Z,he.name)>=0||!X&&he.name===Z})}else k=Y.slice();return U(k,P)},findComponents:function(P){var K=P.query,H=P.mainType,_=Y(K),Z=_?this.queryComponents(_):this._componentsMap.get(H);return k(U(Z,P));function Y(Q){var X=H+"Index",he=H+"Id",te=H+"Name";return Q&&(Q[X]!=null||Q[he]!=null||Q[te]!=null)?{mainType:H,index:Q[X],id:Q[he],name:Q[te]}:null}function k(Q){return P.filter?v(Q,P.filter):Q}},eachComponent:function(P,K,H){var _=this._componentsMap;if(typeof P=="function")H=K,K=P,_.each(function(Y,k){p(Y,function(Q,X){K.call(H,k,Q,X)})});else if(a(P))p(_.get(P),K,H);else if(r(P)){var Z=this.findComponents(P);p(Z,K,H)}},getSeriesByName:function(P){var K=this._componentsMap.get("series");return v(K,function(H){return H.name===P})},getSeriesByIndex:function(P){return this._componentsMap.get("series")[P]},getSeriesByType:function(P){var K=this._componentsMap.get("series");return v(K,function(H){return H.subType===P})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(P,K){M(this),p(this._seriesIndices,function(H){var _=this._componentsMap.get("series")[H];P.call(K,_,H)},this)},eachRawSeries:function(P,K){p(this._componentsMap.get("series"),P,K)},eachSeriesByType:function(P,K,H){M(this),p(this._seriesIndices,function(_){var Z=this._componentsMap.get("series")[_];Z.subType===P&&K.call(H,Z,_)},this)},eachRawSeriesByType:function(P,K,H){return p(this.getSeriesByType(P),K,H)},isSeriesFiltered:function(P){return M(this),this._seriesIndicesMap.get(P.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(P,K){M(this);var H=v(this._componentsMap.get("series"),P,K);R(this,H)},restoreData:function(P){var K=this._componentsMap;R(this,K.get("series"));var H=[];K.each(function(_,Z){H.push(Z)}),A.topologicalTravel(H,A.getAllClassMainTypes(),function(_,Z){p(K.get(_),function(Y){(_!=="series"||!w(Y,P))&&Y.restoreData()})})}});function w(P,K){if(K){var H=K.seiresIndex,_=K.seriesId,Z=K.seriesName;return H!=null&&P.componentIndex!==H||_!=null&&P.id!==_||Z!=null&&P.name!==Z}}function L(P,K){var H=P.color&&!P.colorLayer;p(K,function(_,Z){if(Z==="colorLayer"&&H)return;A.hasClass(Z)||(typeof _=="object"?P[Z]=P[Z]?u(P[Z],_,!1):n(_):P[Z]==null&&(P[Z]=_))})}function N(P){P=P,this.option={},this.option[C]=1,this._componentsMap=s({series:[]}),this._seriesIndices,this._seriesIndicesMap,L(P,this._theme.option),u(P,y,!1),this.mergeOption(P)}function D(P,K){f(K)||(K=K?[K]:[]);var H={};return p(K,function(_){H[_]=(P.get(_)||[]).slice()}),H}function F(P,K,H){var _=K.type?K.type:H?H.subType:A.determineSubType(P,K);return _}function R(P,K){P._seriesIndicesMap=s(P._seriesIndices=b(K,function(H){return H.componentIndex})||[])}function U(P,K){return K.hasOwnProperty("subType")?v(P,function(H){return H.subType===K.subType}):P}function M(P){}c(T,O);var j=T;J.exports=j},fmRc:function(J,B,e){var d=e("Xi7e"),x=e("77Zs"),g=e("L8xA"),p=e("gCq4"),v=e("VaNO"),b=e("0Cz8");function f(i){var r=this.__data__=new d(i);this.size=r.size}f.prototype.clear=x,f.prototype.delete=g,f.prototype.get=p,f.prototype.has=v,f.prototype.set=b,J.exports=f},ftKO:function(J,B){var e="__lodash_hash_undefined__";function d(x){return this.__data__.set(x,e),this}J.exports=d},fyUT:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("q1tI"),b=e.n(v),f=e("TSYQ"),i=e.n(f),r=e("Ff2n"),a=e("rePB"),s=e("1OyB"),l=e("vuIU"),n=e("Ji7U"),u=e("md7G"),t=e("foSv"),c=e("4IlW");function o(k,Q){var X=Object.keys(k);if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(k);Q&&(he=he.filter(function(te){return Object.getOwnPropertyDescriptor(k,te).enumerable})),X.push.apply(X,he)}return X}function h(k){for(var Q=1;Q<arguments.length;Q++){var X=arguments[Q]!=null?arguments[Q]:{};Q%2?o(Object(X),!0).forEach(function(he){Object(a.a)(k,he,X[he])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(X)):o(Object(X)).forEach(function(he){Object.defineProperty(k,he,Object.getOwnPropertyDescriptor(X,he))})}return k}function A(k){var Q=y();return function(){var he=Object(t.a)(k),te;if(Q){var pe=Object(t.a)(this).constructor;te=Reflect.construct(he,arguments,pe)}else te=he.apply(this,arguments);return Object(u.a)(this,te)}}function y(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(k){return!1}}function O(){}function S(k){k.preventDefault()}var E=function(Q){return Q.replace(/[^\w.-]+/g,"")},C=200,T=600,w=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,L=function(Q){return Q!=null},N=function(Q,X){return X===Q||typeof X=="number"&&typeof Q=="number"&&isNaN(X)&&isNaN(Q)},D=function(k){Object(n.a)(X,k);var Q=A(X);function X(he){var te;Object(s.a)(this,X),te=Q.call(this,he),te.onKeyDown=function(we){var We=te.props,qe=We.onKeyDown,yt=We.onPressEnter;if(we.keyCode===c.a.UP){var _e=te.getRatio(we);te.up(we,_e,null),te.stop()}else if(we.keyCode===c.a.DOWN){var je=te.getRatio(we);te.down(we,je,null),te.stop()}else we.keyCode===c.a.ENTER&&yt&&yt(we);if(te.recordCursorPosition(),te.lastKeyCode=we.keyCode,qe){for(var Ct=arguments.length,ct=new Array(Ct>1?Ct-1:0),nt=1;nt<Ct;nt++)ct[nt-1]=arguments[nt];qe.apply(void 0,[we].concat(ct))}},te.onKeyUp=function(we){var We=te.props.onKeyUp;if(te.stop(),te.recordCursorPosition(),We){for(var qe=arguments.length,yt=new Array(qe>1?qe-1:0),_e=1;_e<qe;_e++)yt[_e-1]=arguments[_e];We.apply(void 0,[we].concat(yt))}},te.onChange=function(we){var We=te.props.onChange;te.state.focused&&(te.inputting=!0),te.rawInput=te.props.parser(te.getValueFromEvent(we)),te.setState({inputValue:te.rawInput}),We(te.toNumber(te.rawInput))},te.onMouseUp=function(){var we=te.props.onMouseUp;te.recordCursorPosition(),we&&we.apply(void 0,arguments)},te.onFocus=function(){var we;te.setState({focused:!0}),(we=te.props).onFocus.apply(we,arguments)},te.onBlur=function(){var we=te.props.onBlur;te.inputting=!1,te.setState({focused:!1});var We=te.getCurrentValidValue(te.state.inputValue),qe=te.setValue(We,O);if(we){var yt=te.input.value,_e=te.getInputDisplayValue({focus:!1,value:qe});te.input.value=_e&&Number(_e),we.apply(void 0,arguments),te.input.value=yt}},te.getRatio=function(we){var We=1;return we.metaKey||we.ctrlKey?We=.1:we.shiftKey&&(We=10),We},te.getFullNum=function(we){return isNaN(we)?we:/e/i.test(String(we))?Number(we).toFixed(18).replace(/\.?0+$/,""):we},te.getPrecision=function(we){if(L(te.props.precision))return te.props.precision;var We=String(we);if(We.indexOf("e-")>=0)return parseInt(We.slice(We.indexOf("e-")+2),10);var qe=0;return We.indexOf(".")>=0&&(qe=We.length-We.indexOf(".")-1),qe},te.getInputDisplayValue=function(we){var We=we||te.state,qe=We.focused,yt=We.inputValue,_e=We.value,je;qe?je=yt:je=te.toPrecisionAsStep(_e),je==null&&(je="");var Ct=te.formatWrapper(je);return L(te.props.decimalSeparator)&&(Ct=Ct.toString().replace(".",te.props.decimalSeparator)),Ct},te.recordCursorPosition=function(){try{te.cursorStart=te.input.selectionStart,te.cursorEnd=te.input.selectionEnd,te.currentValue=te.input.value,te.cursorBefore=te.input.value.substring(0,te.cursorStart),te.cursorAfter=te.input.value.substring(te.cursorEnd)}catch(we){}},te.restoreByAfter=function(we){if(we===void 0)return!1;var We=te.input.value,qe=We.lastIndexOf(we);if(qe===-1)return!1;var yt=te.cursorBefore.length;return te.lastKeyCode===c.a.DELETE&&te.cursorBefore.charAt(yt-1)===we[0]?(te.fixCaret(yt,yt),!0):qe+we.length===We.length?(te.fixCaret(qe,qe),!0):!1},te.partRestoreByAfter=function(we){return we===void 0?!1:Array.prototype.some.call(we,function(We,qe){var yt=we.substring(qe);return te.restoreByAfter(yt)})},te.isNotCompleteNumber=function(we){return isNaN(we)||we===""||we===null||we&&we.toString().indexOf(".")===we.toString().length-1},te.stop=function(){te.autoStepTimer&&clearTimeout(te.autoStepTimer)},te.down=function(we,We,qe){te.pressingUpOrDown=!0,te.step("down",we,We,qe)},te.up=function(we,We,qe){te.pressingUpOrDown=!0,te.step("up",we,We,qe)},te.saveInput=function(we){te.input=we};var pe=he.value;pe===void 0&&(pe=he.defaultValue),te.state={focused:he.autoFocus};var Se=te.getValidValue(te.toNumber(pe));return te.state=h(h({},te.state),{},{inputValue:te.toPrecisionAsStep(Se),value:Se}),te}return Object(l.a)(X,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(te){var pe=this.props,Se=pe.value,we=pe.onChange,We=pe.max,qe=pe.min,yt=this.state.focused;if(te){if(!N(te.value,Se)||!N(te.max,We)||!N(te.min,qe)){var _e=yt?Se:this.getValidValue(Se),je;this.pressingUpOrDown?je=_e:this.inputting?je=this.rawInput:je=this.toPrecisionAsStep(_e),this.setState({value:_e,inputValue:je})}var Ct="value"in this.props?Se:this.state.value;"max"in this.props&&te.max!==We&&typeof Ct=="number"&&Ct>We&&we&&we(We),"min"in this.props&&te.min!==qe&&typeof Ct=="number"&&Ct<qe&&we&&we(qe)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var ct=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===c.a.BACKSPACE?ct=this.cursorStart-1:this.lastKeyCode===c.a.DELETE&&(ct=this.cursorStart):ct=this.input.value.length,this.fixCaret(ct,ct)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case c.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case c.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(nt){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(te){var pe=te;return pe===""?pe="":this.isNotCompleteNumber(parseFloat(pe))?pe=this.state.value:pe=this.getValidValue(pe),this.toNumber(pe)}},{key:"getValueFromEvent",value:function(te){var pe=te.target.value.trim().replace(/。/g,".");return L(this.props.decimalSeparator)&&(pe=pe.replace(this.props.decimalSeparator,".")),pe}},{key:"getValidValue",value:function(te){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,we=parseFloat(te);return isNaN(we)?te:(we<pe&&(we=pe),we>Se&&(we=Se),we)}},{key:"setValue",value:function(te,pe){var Se=this.props.precision,we=this.isNotCompleteNumber(parseFloat(te))?null:parseFloat(te),We=this.state.value,qe=We===void 0?null:We,yt=this.state.inputValue,_e=yt===void 0?null:yt,je=typeof we=="number"?we.toFixed(Se):"".concat(we),Ct=we!==qe||je!=="".concat(_e);return"value"in this.props?(_e=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:_e},pe)):this.setState({value:we,inputValue:this.toPrecisionAsStep(te)},pe),Ct&&this.props.onChange(we),we}},{key:"getMaxPrecision",value:function(te){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Se=this.props,we=Se.precision,We=Se.step;if(L(we))return we;var qe=this.getPrecision(pe),yt=this.getPrecision(We),_e=this.getPrecision(te);return te?Math.max(_e,qe+yt):qe+yt}},{key:"getPrecisionFactor",value:function(te){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Se=this.getMaxPrecision(te,pe);return Math.pow(10,Se)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(te){return this.props.formatter?this.props.formatter(te):te}},{key:"toPrecisionAsStep",value:function(te){if(this.isNotCompleteNumber(te)||te==="")return te;var pe=Math.abs(this.getMaxPrecision(te));return isNaN(pe)?te.toString():Number(te).toFixed(pe)}},{key:"toNumber",value:function(te){var pe=this.props.precision,Se=this.state.focused,we=te&&te.length>16&&Se;return this.isNotCompleteNumber(te)||we?te:L(pe)?Math.round(te*Math.pow(10,pe))/Math.pow(10,pe):Number(te)}},{key:"upStep",value:function(te,pe){var Se=this.props.step,we=this.getPrecisionFactor(te,pe),We=Math.abs(this.getMaxPrecision(te,pe)),qe=((we*te+we*Se*pe)/we).toFixed(We);return this.toNumber(qe)}},{key:"downStep",value:function(te,pe){var Se=this.props.step,we=this.getPrecisionFactor(te,pe),We=Math.abs(this.getMaxPrecision(te,pe)),qe=((we*te-we*Se*pe)/we).toFixed(We);return this.toNumber(qe)}},{key:"step",value:function(te,pe){var Se=this,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,We=arguments.length>3?arguments[3]:void 0;this.stop(),pe&&(pe.persist(),pe.preventDefault());var qe=this.props;if(qe.disabled)return;var yt=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(yt))return;var _e=this["".concat(te,"Step")](yt,we),je=_e>qe.max||_e<qe.min;if(_e>qe.max?_e=qe.max:_e<qe.min&&(_e=qe.min),this.setValue(_e,null),this.setState({focused:!0},function(){Se.pressingUpOrDown=!1}),je)return;this.autoStepTimer=setTimeout(function(){Se[te](pe,we,!0)},We?C:T)}},{key:"fixCaret",value:function(te,pe){if(te===void 0||pe===void 0||!this.input||!this.input.value)return;try{var Se=this.input.selectionStart,we=this.input.selectionEnd;(te!==Se||pe!==we)&&this.input.setSelectionRange(te,pe)}catch(We){}}},{key:"render",value:function(){var te,pe=this.props,Se=pe.prefixCls,we=pe.disabled,We=pe.readOnly,qe=pe.useTouch,yt=pe.autoComplete,_e=pe.upHandler,je=pe.downHandler,Ct=pe.className,ct=pe.max,nt=pe.min,bt=pe.style,dt=pe.title,vt=pe.onMouseEnter,Qe=pe.onMouseLeave,mt=pe.onMouseOver,Pe=pe.onMouseOut,De=pe.required,Ie=pe.onClick,ot=pe.tabIndex,wt=pe.type,Bt=pe.placeholder,_t=pe.id,Ue=pe.inputMode,zt=pe.pattern,xt=pe.step,Pt=pe.maxLength,Ke=pe.autoFocus,Ye=pe.name,$e=pe.onPaste,ut=Object(r.a)(pe,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste"]),et=this.state,oe=et.value,me=et.focused,it=i()(Se,(te={},Object(a.a)(te,Ct,!!Ct),Object(a.a)(te,"".concat(Se,"-disabled"),we),Object(a.a)(te,"".concat(Se,"-focused"),me),te)),Be={};Object.keys(ut).forEach(function(se){(se.substr(0,5)==="data-"||se.substr(0,5)==="aria-"||se==="role")&&(Be[se]=ut[se])});var ht=!We&&!we,Mr=this.getInputDisplayValue(null),Lt=(oe||oe===0)&&(isNaN(oe)||Number(oe)>=ct),or=(oe||oe===0)&&(isNaN(oe)||Number(oe)<=nt),Qt=Lt||we||We,qt=or||we||We,hr=i()("".concat(Se,"-handler"),"".concat(Se,"-handler-up"),Object(a.a)({},"".concat(Se,"-handler-up-disabled"),Qt)),Gt=i()("".concat(Se,"-handler"),"".concat(Se,"-handler-down"),Object(a.a)({},"".concat(Se,"-handler-down-disabled"),qt)),de=qe?{onTouchStart:Qt?O:this.up,onTouchEnd:this.stop}:{onMouseDown:Qt?O:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},ue=qe?{onTouchStart:qt?O:this.down,onTouchEnd:this.stop}:{onMouseDown:qt?O:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return b.a.createElement("div",{className:it,style:bt,title:dt,onMouseEnter:vt,onMouseLeave:Qe,onMouseOver:mt,onMouseOut:Pe,onFocus:function(){return null},onBlur:function(){return null}},b.a.createElement("div",{className:"".concat(Se,"-handler-wrap")},b.a.createElement("span",Object.assign({unselectable:"on"},de,{role:"button","aria-label":"Increase Value","aria-disabled":Qt,className:hr}),_e||b.a.createElement("span",{unselectable:"on",className:"".concat(Se,"-handler-up-inner"),onClick:S})),b.a.createElement("span",Object.assign({unselectable:"on"},ue,{role:"button","aria-label":"Decrease Value","aria-disabled":qt,className:Gt}),je||b.a.createElement("span",{unselectable:"on",className:"".concat(Se,"-handler-down-inner"),onClick:S}))),b.a.createElement("div",{className:"".concat(Se,"-input-wrap")},b.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":nt,"aria-valuemax":ct,"aria-valuenow":oe,required:De,type:wt,placeholder:Bt,onPaste:$e,onClick:Ie,onMouseUp:this.onMouseUp,className:"".concat(Se,"-input"),tabIndex:ot,autoComplete:yt,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:ht?this.onKeyDown:O,onKeyUp:ht?this.onKeyUp:O,autoFocus:Ke,maxLength:Pt,readOnly:We,disabled:we,max:ct,min:nt,step:xt,name:Ye,title:dt,id:_t,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(Mr),pattern:zt,inputMode:Ue},Be))))}}]),X}(b.a.Component);D.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:w,min:-w,step:1,style:{},onChange:O,onKeyDown:O,onPressEnter:O,onFocus:O,onBlur:O,parser:E,required:!1,autoComplete:"off"};var F=D,R=F,U=e("FH2Y"),M=e.n(U),j=e("HQEm"),P=e.n(j),K=e("H84U"),H=e("3Nzz"),_=function(k,Q){var X={};for(var he in k)Object.prototype.hasOwnProperty.call(k,he)&&Q.indexOf(he)<0&&(X[he]=k[he]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,he=Object.getOwnPropertySymbols(k);te<he.length;te++)Q.indexOf(he[te])<0&&Object.prototype.propertyIsEnumerable.call(k,he[te])&&(X[he[te]]=k[he[te]]);return X},Z=v.forwardRef(function(k,Q){var X=function(te){var pe=te.getPrefixCls,Se=te.direction,we=k.className,We=k.size,qe=k.prefixCls,yt=k.readOnly,_e=_(k,["className","size","prefixCls","readOnly"]),je=pe("input-number",qe),Ct=v.createElement(M.a,{className:"".concat(je,"-handler-up-inner")}),ct=v.createElement(P.a,{className:"".concat(je,"-handler-down-inner")});return v.createElement(H.b.Consumer,null,function(nt){var bt,dt=We||nt,vt=i()((bt={},p()(bt,"".concat(je,"-lg"),dt==="large"),p()(bt,"".concat(je,"-sm"),dt==="small"),p()(bt,"".concat(je,"-rtl"),Se==="rtl"),p()(bt,"".concat(je,"-readonly"),yt),bt),we);return v.createElement(R,x()({ref:Q,className:vt,upHandler:Ct,downHandler:ct,prefixCls:je,readOnly:yt},_e))})};return v.createElement(K.a,null,X)});Z.defaultProps={step:1};var Y=B.a=Z},g0SD:function(J,B,e){var d=e("bYtY"),x=e("9wZj"),g=e("OELB"),p=e("YXkt"),v=e("kj2x"),b=e("iPDy");function f(a,s,l){var n=s.coordinateSystem;a.each(function(u){var t=a.getItemModel(u),c,o=g.parsePercent(t.get("x"),l.getWidth()),h=g.parsePercent(t.get("y"),l.getHeight());if(!isNaN(o)&&!isNaN(h))c=[o,h];else if(s.getMarkerPosition)c=s.getMarkerPosition(a.getValues(a.dimensions,u));else if(n){var A=a.get(n.dimensions[0],u),y=a.get(n.dimensions[1],u);c=n.dataToPoint([A,y])}isNaN(o)||(c[0]=o),isNaN(h)||(c[1]=h),a.setItemLayout(u,c)})}var i=b.extend({type:"markPoint",updateTransform:function(a,s,l){s.eachSeries(function(n){var u=n.markPointModel;u&&(f(u.getData(),n,l),this.markerGroupMap.get(n.id).updateLayout(u))},this)},renderSeries:function(a,s,l,n){var u=a.coordinateSystem,t=a.id,c=a.getData(),o=this.markerGroupMap,h=o.get(t)||o.set(t,new x),A=r(u,a,s);s.setData(A),f(s.getData(),a,n),A.each(function(y){var O=A.getItemModel(y),S=O.getShallow("symbol"),E=O.getShallow("symbolSize"),C=d.isFunction(S),T=d.isFunction(E);if(C||T){var w=s.getRawValue(y),L=s.getDataParams(y);C&&(S=S(w,L)),T&&(E=E(w,L))}A.setItemVisual(y,{symbol:S,symbolSize:E,color:O.get("itemStyle.color")||c.getVisual("color")})}),h.updateData(A),this.group.add(h.group),A.eachItemGraphicEl(function(y){y.traverse(function(O){O.dataModel=s})}),h.__keep=!0,h.group.silent=s.get("silent")||a.get("silent")}});function r(a,s,l){var n;a?n=d.map(a&&a.dimensions,function(c){var o=s.getData().getDimensionInfo(s.getData().mapDimension(c))||{};return d.defaults({name:c},o)}):n=[{name:"value",type:"float"}];var u=new p(n,l),t=d.map(l.get("data"),d.curry(v.dataTransform,s));return a&&(t=d.filter(t,d.curry(v.dataFilter,a))),u.initData(t,null,a?v.dimValueGetter:function(c){return c.value}),u}J.exports=i},g7p0:function(J,B,e){var d=e("bYtY"),x=e("bLfw"),g=e("+TT/"),p=g.getLayoutParams,v=g.sizeCalculable,b=g.mergeLayoutParam,f=x.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(a,s,l,n){var u=p(a);f.superApply(this,"init",arguments),i(a,u)},mergeOption:function(a,s){f.superApply(this,"mergeOption",arguments),i(this.option,a)}});function i(a,s){var l=a.cellSize;d.isArray(l)?l.length===1&&(l[1]=l[0]):l=a.cellSize=[l,l];var n=d.map([0,1],function(u){return v(s,u)&&(l[u]="auto"),l[u]!=null&&l[u]!=="auto"});b(a,s,{type:"box",ignoreSize:n})}var r=f;J.exports=r},g9YV:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("pED+"),p=e.n(g),v=e("+L6B"),b=e("R9oj"),f=e("7Kak"),i=e("sRBo"),r=e("qVdP"),a=e("T2oS"),s=e("DjyN"),l=e("5Dmo")},gCq4:function(J,B){function e(d){return this.__data__.get(d)}J.exports=e},gKaM:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};B.default=d},gPAo:function(J,B){function e(p){return p}function d(p,v,b,f,i){this._old=p,this._new=v,this._oldKeyGetter=b||e,this._newKeyGetter=f||e,this.context=i}d.prototype={constructor:d,add:function(p){return this._add=p,this},update:function(p){return this._update=p,this},remove:function(p){return this._remove=p,this},execute:function(){var p=this._old,v=this._new,b={},f={},i=[],r=[],a;for(x(p,b,i,"_oldKeyGetter",this),x(v,f,r,"_newKeyGetter",this),a=0;a<p.length;a++){var s=i[a],l=f[s];if(l!=null){var n=l.length;n?(n===1&&(f[s]=null),l=l.shift()):f[s]=null,this._update&&this._update(l,a)}else this._remove&&this._remove(a)}for(var a=0;a<r.length;a++){var s=r[a];if(f.hasOwnProperty(s)){var l=f[s];if(l==null)continue;if(!l.length)this._add&&this._add(l);else for(var u=0,n=l.length;u<n;u++)this._add&&this._add(l[u])}}}};function x(p,v,b,f,i){for(var r=0;r<p.length;r++){var a="_ec_"+i[f](p[r],r),s=v[a];s==null?(b.push(a),v[a]=r):(s.length||(v[a]=s=[s]),s.push(r))}}var g=d;J.exports=g},gRFJ:function(J,B,e){J.exports=[e("rdUC"),e("ynwM"),e("RELg"),e("DlR+"),e("CrYA"),e("PD8m")]},gaXo:function(module,exports){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(J){return J<10?"0"+J:J}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(J){return rx_escapable.lastIndex=0,rx_escapable.test(J)?'"'+J.replace(rx_escapable,function(B){var e=meta[B];return typeof e=="string"?e:"\\u"+("0000"+B.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+J+'"'}function str(J,B){var e,d,x,g,p=gap,v,b=B[J];b&&typeof b=="object"&&typeof b.toJSON=="function"&&(b=b.toJSON(J)),typeof rep=="function"&&(b=rep.call(B,J,b));switch(typeof b){case"string":return quote(b);case"number":return isFinite(b)?String(b):"null";case"boolean":case"null":return String(b);case"object":if(!b)return"null";if(gap+=indent,v=[],Object.prototype.toString.apply(b)==="[object Array]"){for(g=b.length,e=0;e<g;e+=1)v[e]=str(e,b)||"null";return x=v.length===0?"[]":gap?`[
|
|
|
`+gap+v.join(`,
|
|
|
`+gap)+`
|
|
|
`+p+"]":"["+v.join(",")+"]",gap=p,x}if(rep&&typeof rep=="object")for(g=rep.length,e=0;e<g;e+=1)typeof rep[e]=="string"&&(d=rep[e],x=str(d,b),x&&v.push(quote(d)+(gap?": ":":")+x));else for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(x=str(d,b),x&&v.push(quote(d)+(gap?": ":":")+x));return x=v.length===0?"{}":gap?`{
|
|
|
`+gap+v.join(`,
|
|
|
`+gap)+`
|
|
|
`+p+"}":"{"+v.join(",")+"}",gap=p,x}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(J,B,e){var d;if(gap="",indent="",typeof e=="number")for(d=0;d<e;d+=1)indent+=" ";else typeof e=="string"&&(indent=e);if(rep=B,B&&typeof B!="function"&&(typeof B!="object"||typeof B.length!="number"))throw new Error("JSON.stringify");return str("",{"":J})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(J,B){var e,d,x=J[B];if(x&&typeof x=="object")for(e in x)Object.prototype.hasOwnProperty.call(x,e)&&(d=walk(x,e),d!==void 0?x[e]=d:delete x[e]);return reviver.call(J,B,x)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(J){return"\\u"+("0000"+J.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},gawk:function(J,B,e){var d=e("+TT/"),x=e("bYtY"),g=e("4NO4"),p=g.groupData;function v(N,D,F){N.eachSeriesByType("sankey",function(R){var U=R.get("nodeWidth"),M=R.get("nodeGap"),j=b(R,D);R.layoutInfo=j;var P=j.width,K=j.height,H=R.getGraph(),_=H.nodes,Z=H.edges;i(_);var Y=x.filter(_,function(he){return he.getLayout().value===0}),k=Y.length!==0?0:R.get("layoutIterations"),Q=R.get("orient"),X=R.get("nodeAlign");f(_,Z,U,M,P,K,k,Q,X)})}function b(N,D){return d.getLayoutRect(N.getBoxLayoutParams(),{width:D.getWidth(),height:D.getHeight()})}function f(N,D,F,R,U,M,j,P,K){r(N,D,F,U,M,P,K),u(N,D,M,U,R,j,P),L(N,P)}function i(N){x.each(N,function(D){var F=T(D.outEdges,C),R=T(D.inEdges,C),U=D.getValue()||0,M=Math.max(F,R,U);D.setLayout({value:M},!0)})}function r(N,D,F,R,U,M,j){for(var P=[],K=[],H=[],_=[],Z=0,Y=0,k=0;k<D.length;k++)P[k]=1;for(k=0;k<N.length;k++)K[k]=N[k].inEdges.length,K[k]===0&&H.push(N[k]);for(var Q=-1;H.length;){for(var X=0;X<H.length;X++){var he=H[X],te=he.hostGraph.data.getRawDataItem(he.dataIndex),pe=te.depth!=null&&te.depth>=0;pe&&te.depth>Q&&(Q=te.depth),he.setLayout({depth:pe?te.depth:Z},!0),M==="vertical"?he.setLayout({dy:F},!0):he.setLayout({dx:F},!0);for(var Se=0;Se<he.outEdges.length;Se++){var we=he.outEdges[Se],We=D.indexOf(we);P[We]=0;var qe=we.node2,yt=N.indexOf(qe);--K[yt]===0&&_.indexOf(qe)<0&&_.push(qe)}}++Z,H=_,_=[]}for(k=0;k<P.length;k++)if(P[k]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var _e=Q>Z-1?Q:Z-1;j&&j!=="left"&&s(N,j,M,_e);var Y=M==="vertical"?(U-F)/_e:(R-F)/_e;n(N,Y,M)}function a(N){var D=N.hostGraph.data.getRawDataItem(N.dataIndex);return D.depth!=null&&D.depth>=0}function s(N,D,F,R){if(D==="right"){for(var U=[],M=N,j=0;M.length;){for(var P=0;P<M.length;P++){var K=M[P];K.setLayout({skNodeHeight:j},!0);for(var H=0;H<K.inEdges.length;H++){var _=K.inEdges[H];U.indexOf(_.node1)<0&&U.push(_.node1)}}M=U,U=[],++j}x.each(N,function(Z){a(Z)||Z.setLayout({depth:Math.max(0,R-Z.getLayout().skNodeHeight)},!0)})}else D==="justify"&&l(N,R)}function l(N,D){x.each(N,function(F){!a(F)&&!F.outEdges.length&&F.setLayout({depth:D},!0)})}function n(N,D,F){x.each(N,function(R){var U=R.getLayout().depth*D;F==="vertical"?R.setLayout({y:U},!0):R.setLayout({x:U},!0)})}function u(N,D,F,R,U,M,j){var P=t(N,j);c(P,D,F,R,U,j),o(P,U,F,R,j);for(var K=1;M>0;M--)K*=.99,h(P,K,j),o(P,U,F,R,j),w(P,K,j),o(P,U,F,R,j)}function t(N,D){var F=[],R=D==="vertical"?"y":"x",U=p(N,function(M){return M.getLayout()[R]});return U.keys.sort(function(M,j){return M-j}),x.each(U.keys,function(M){F.push(U.buckets.get(M))}),F}function c(N,D,F,R,U,M){var j=Infinity;x.each(N,function(P){var K=P.length,H=0;x.each(P,function(Z){H+=Z.getLayout().value});var _=M==="vertical"?(R-(K-1)*U)/H:(F-(K-1)*U)/H;_<j&&(j=_)}),x.each(N,function(P){x.each(P,function(K,H){var _=K.getLayout().value*j;M==="vertical"?(K.setLayout({x:H},!0),K.setLayout({dx:_},!0)):(K.setLayout({y:H},!0),K.setLayout({dy:_},!0))})}),x.each(D,function(P){var K=+P.getValue()*j;P.setLayout({dy:K},!0)})}function o(N,D,F,R,U){var M=U==="vertical"?"x":"y";x.each(N,function(j){j.sort(function(X,he){return X.getLayout()[M]-he.getLayout()[M]});for(var P,K,H,_=0,Z=j.length,Y=U==="vertical"?"dx":"dy",k=0;k<Z;k++)K=j[k],H=_-K.getLayout()[M],H>0&&(P=K.getLayout()[M]+H,U==="vertical"?K.setLayout({x:P},!0):K.setLayout({y:P},!0)),_=K.getLayout()[M]+K.getLayout()[Y]+D;var Q=U==="vertical"?R:F;if(H=_-D-Q,H>0)for(P=K.getLayout()[M]-H,U==="vertical"?K.setLayout({x:P},!0):K.setLayout({y:P},!0),_=P,k=Z-2;k>=0;--k)K=j[k],H=K.getLayout()[M]+K.getLayout()[Y]+D-_,H>0&&(P=K.getLayout()[M]-H,U==="vertical"?K.setLayout({x:P},!0):K.setLayout({y:P},!0)),_=K.getLayout()[M]})}function h(N,D,F){x.each(N.slice().reverse(),function(R){x.each(R,function(U){if(U.outEdges.length){var M=T(U.outEdges,A,F)/T(U.outEdges,C,F);if(isNaN(M)){var j=U.outEdges.length;M=j?T(U.outEdges,y,F)/j:0}if(F==="vertical"){var P=U.getLayout().x+(M-E(U,F))*D;U.setLayout({x:P},!0)}else{var K=U.getLayout().y+(M-E(U,F))*D;U.setLayout({y:K},!0)}}})})}function A(N,D){return E(N.node2,D)*N.getValue()}function y(N,D){return E(N.node2,D)}function O(N,D){return E(N.node1,D)*N.getValue()}function S(N,D){return E(N.node1,D)}function E(N,D){return D==="vertical"?N.getLayout().x+N.getLayout().dx/2:N.getLayout().y+N.getLayout().dy/2}function C(N){return N.getValue()}function T(N,D,F){for(var R=0,U=N.length,M=-1;++M<U;){var j=+D.call(N,N[M],F);isNaN(j)||(R+=j)}return R}function w(N,D,F){x.each(N,function(R){x.each(R,function(U){if(U.inEdges.length){var M=T(U.inEdges,O,F)/T(U.inEdges,C,F);if(isNaN(M)){var j=U.inEdges.length;M=j?T(U.inEdges,S,F)/j:0}if(F==="vertical"){var P=U.getLayout().x+(M-E(U,F))*D;U.setLayout({x:P},!0)}else{var K=U.getLayout().y+(M-E(U,F))*D;U.setLayout({y:K},!0)}}})})}function L(N,D){var F=D==="vertical"?"x":"y";x.each(N,function(R){R.outEdges.sort(function(U,M){return U.node2.getLayout()[F]-M.node2.getLayout()[F]}),R.inEdges.sort(function(U,M){return U.node1.getLayout()[F]-M.node1.getLayout()[F]})}),x.each(N,function(R){var U=0,M=0;x.each(R.outEdges,function(j){j.setLayout({sy:U},!0),U+=j.getLayout().dy}),x.each(R.inEdges,function(j){j.setLayout({ty:M},!0),M+=j.getLayout().dy})})}J.exports=v},"giR+":function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("QbM5"),p=e.n(g)},gut8:function(J,B){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},d=9;B.ContextCachedBy=e,B.WILL_BE_RESTORED=d},gvm7:function(J,B,e){var d=e("bYtY"),x=e("dqUG");function g(v){this._zr=v.getZr(),this._show=!1,this._hideTimeout}g.prototype={constructor:g,_enterable:!0,update:function(){},show:function(v){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(v,b,f){this.el&&this._zr.remove(this.el);for(var i={},r=v,a="{marker",s="|}",l=r.indexOf(a);l>=0;){var n=r.indexOf(s),u=r.substr(l+a.length,n-l-a.length);u.indexOf("sub")>-1?i["marker"+u]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:b[u],textOffset:[3,0]}:i["marker"+u]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:b[u]},r=r.substr(n+1),l=r.indexOf("{marker")}this.el=new x({style:{rich:i,text:v,textLineHeight:20,textBackgroundColor:f.get("backgroundColor"),textBorderRadius:f.get("borderRadius"),textFill:f.get("textStyle.color"),textPadding:f.get("padding")},z:f.get("z")}),this._zr.add(this.el);var t=this;this.el.on("mouseover",function(){t._enterable&&(clearTimeout(t._hideTimeout),t._show=!0),t._inContent=!0}),this.el.on("mouseout",function(){t._enterable&&(t._show&&t.hideLater(t._hideDelay)),t._inContent=!1})},setEnterable:function(v){this._enterable=v},getSize:function(){var v=this.el.getBoundingRect();return[v.width,v.height]},moveTo:function(v,b){this.el&&this.el.attr("position",[v,b])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(v){this._show&&!(this._inContent&&this._enterable)&&(v?(this._hideDelay=v,this._show=!1,this._hideTimeout=setTimeout(d.bind(this.hide,this),v)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var v=this.getSize();return{width:v[0],height:v[1]}}};var p=g;J.exports=p},gwTy:function(J,B,e){},h54F:function(J,B,e){var d=e("ProS"),x=e("YXkt"),g=e("bYtY"),p=e("4NO4"),v=p.defaultEmphasis,b=e("Qxkt"),f=e("7aKB"),i=f.encodeHTML,r=e("I3/A"),a=e("xKMd"),s=d.extendSeriesModel({type:"series.graph",init:function(n){s.superApply(this,"init",arguments);var u=this;function t(){return u._categoriesData}this.legendVisualProvider=new a(t,t),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeOption:function(n){s.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(n){s.superApply(this,"mergeDefaultAndTheme",arguments),v(n,["edgeLabel"],["show"])},getInitialData:function(n,u){var t=n.edges||n.links||[],c=n.data||n.nodes||[],o=this;if(c&&t)return r(c,t,this,!0,h).data;function h(A,y){A.wrapMethod("getItemModel",function(w){var L=o._categoriesModels,N=w.getShallow("category"),D=L[N];return D&&(D.parentModel=w.parentModel,w.parentModel=D),w});var O=o.getModel("edgeLabel"),S=new b({label:O.option},O.parentModel,u),E=o.getModel("emphasis.edgeLabel"),C=new b({emphasis:{label:E.option}},E.parentModel,u);y.wrapMethod("getItemModel",function(w){return w.customizeGetParent(T),w});function T(w){return w=this.parsePath(w),w&&w[0]==="label"?S:w&&w[0]==="emphasis"&&w[1]==="label"?C:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(n,u,t){if(t==="edge"){var c=this.getData(),o=this.getDataParams(n,t),h=c.graph.getEdgeByIndex(n),A=c.getName(h.node1.dataIndex),y=c.getName(h.node2.dataIndex),O=[];return A!=null&&O.push(A),y!=null&&O.push(y),O=i(O.join(" > ")),o.value&&(O+=" : "+i(o.value)),O}else return s.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var n=g.map(this.option.categories||[],function(t){return t.value!=null?t:g.extend({value:0},t)}),u=new x(["value"],this);u.initData(n),this._categoriesData=u,this._categoriesModels=u.mapArray(function(t){return u.getItemModel(t,!0)})},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n},isAnimationEnabled:function(){return s.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),l=s;J.exports=l},h7HQ:function(J,B,e){var d=e("y+Vt"),x=e("T6xi"),g=d.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(v,b){x.buildPath(v,b,!0)}});J.exports=g},h8O9:function(J,B,e){var d=e("bYtY"),x=d.map,g=e("zM3Q"),p=e("7hqr"),v=p.isDimensionStacked;function b(f){return{seriesType:f,plan:g(),reset:function(i){var r=i.getData(),a=i.coordinateSystem,s=i.pipelineContext,l=s.large;if(!a)return;var n=x(a.dimensions,function(o){return r.mapDimension(o)}).slice(0,2),u=n.length,t=r.getCalculationInfo("stackResultDimension");v(r,n[0])&&(n[0]=t),v(r,n[1])&&(n[1]=t);function c(o,h){for(var A=o.end-o.start,y=l&&new Float32Array(A*u),O=o.start,S=0,E=[],C=[];O<o.end;O++){var T;if(u===1){var w=h.get(n[0],O);T=!isNaN(w)&&a.dataToPoint(w,null,C)}else{var w=E[0]=h.get(n[0],O),L=E[1]=h.get(n[1],O);T=!isNaN(w)&&!isNaN(L)&&a.dataToPoint(E,null,C)}l?(y[S++]=T?T[0]:NaN,y[S++]=T?T[1]:NaN):h.setItemLayout(O,T&&T.slice()||[NaN,NaN])}l&&h.setLayout("symbolPoints",y)}return u&&{progress:c}}}}J.exports=b},hD7B:function(J,B,e){var d=e("bYtY"),x=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function g(v){d.each(x,function(b){this[b]=d.bind(v[b],v)},this)}var p=g;J.exports=p},hFmY:function(J,B,e){var d=e("ProS"),x={type:"axisAreaSelect",event:"axisAreaSelected"};d.registerAction(x,function(g,p){p.eachComponent({mainType:"parallelAxis",query:g},function(v){v.axis.model.setActiveIntervals(g.intervals)})}),d.registerAction("parallelAxisExpand",function(g,p){p.eachComponent({mainType:"parallel",query:g},function(v){v.setAxisExpand(g)})})},hJvP:function(J,B,e){var d=e("2dDv"),x=e("IDmD");function g(p,v){var b=[];return p.eachComponent("parallel",function(f,i){var r=new d(f,p,v);r.name="parallel_"+i,r.resize(f,v),f.coordinateSystem=r,r.model=f,b.push(r)}),p.eachSeries(function(f){if(f.get("coordinateSystem")==="parallel"){var i=p.queryComponents({mainType:"parallel",index:f.get("parallelIndex"),id:f.get("parallelId")})[0];f.coordinateSystem=i.coordinateSystem}}),b}x.register("parallel",{create:g})},hM6l:function(J,B,e){var d=e("bYtY"),x=d.each,g=d.map,p=e("OELB"),v=p.linearMap,b=p.getPixelPrecision,f=p.round,i=e("4HMb"),r=i.createAxisTicks,a=i.createAxisLabels,s=i.calculateCategoryInterval,l=[0,1],n=function(o,h,A){this.dim=o,this.scale=h,this._extent=A||[0,0],this.inverse=!1,this.onBand=!1};n.prototype={constructor:n,contain:function(o){var h=this._extent,A=Math.min(h[0],h[1]),y=Math.max(h[0],h[1]);return o>=A&&o<=y},containData:function(o){return this.scale.contain(o)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(o){return b(o||this.scale.getExtent(),this._extent)},setExtent:function(o,h){var A=this._extent;A[0]=o,A[1]=h},dataToCoord:function(o,h){var A=this._extent,y=this.scale;return o=y.normalize(o),this.onBand&&y.type==="ordinal"&&(A=A.slice(),u(A,y.count())),v(o,l,A,h)},coordToData:function(o,h){var A=this._extent,y=this.scale;this.onBand&&y.type==="ordinal"&&(A=A.slice(),u(A,y.count()));var O=v(o,A,l,h);return this.scale.scale(O)},pointToData:function(o,h){},getTicksCoords:function(o){o=o||{};var h=o.tickModel||this.getTickModel(),A=r(this,h),y=A.ticks,O=g(y,function(E){return{coord:this.dataToCoord(E),tickValue:E}},this),S=h.get("alignWithLabel");return t(this,O,S,o.clamp),O},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var o=this.model.getModel("minorTick"),h=o.get("splitNumber");h>0&&h<100||(h=5);var A=this.scale.getMinorTicks(h),y=g(A,function(O){return g(O,function(S){return{coord:this.dataToCoord(S),tickValue:S}},this)},this);return y},getViewLabels:function(){return a(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var o=this._extent,h=this.scale.getExtent(),A=h[1]-h[0]+(this.onBand?1:0);A===0&&(A=1);var y=Math.abs(o[1]-o[0]);return Math.abs(y)/A},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return s(this)}};function u(o,h){var A=o[1]-o[0],y=h,O=A/y/2;o[0]+=O,o[1]-=O}function t(o,h,A,y){var O=h.length;if(!o.onBand||A||!O)return;var S=o.getExtent(),E,C;if(O===1)h[0].coord=S[0],E=h[1]={coord:S[0]};else{var T=h[O-1].tickValue-h[0].tickValue,w=(h[O-1].coord-h[0].coord)/T;x(h,function(F){F.coord-=w/2});var L=o.scale.getExtent();C=1+L[1]-h[O-1].tickValue,E={coord:h[O-1].coord+w*C},h.push(E)}var N=S[0]>S[1];D(h[0].coord,S[0])&&(y?h[0].coord=S[0]:h.shift()),y&&D(S[0],h[0].coord)&&h.unshift({coord:S[0]}),D(S[1],E.coord)&&(y?E.coord=S[1]:h.pop()),y&&D(E.coord,S[1])&&h.push({coord:S[1]});function D(F,R){return F=f(F),R=f(R),N?F>R:F<R}}var c=n;J.exports=c},hNWo:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("Qxkt"),p=e("4NO4"),v=p.isNameSpecified,b=e("Kagy"),f=b.legend.selector,i={all:{type:"all",title:x.clone(f.all)},inverse:{type:"inverse",title:x.clone(f.inverse)}},r=d.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(s,l,n){this.mergeDefaultAndTheme(s,n),s.selected=s.selected||{},this._updateSelector(s)},mergeOption:function(s){r.superCall(this,"mergeOption",s),this._updateSelector(s)},_updateSelector:function(s){var l=s.selector;l===!0&&(l=s.selector=["all","inverse"]),x.isArray(l)&&x.each(l,function(n,u){x.isString(n)&&(n={type:n}),l[u]=x.merge(n,i[n.type])})},optionUpdated:function(){this._updateData(this.ecModel);var s=this._data;if(s[0]&&this.get("selectedMode")==="single"){for(var l=!1,n=0;n<s.length;n++){var u=s[n].get("name");if(this.isSelected(u)){this.select(u),l=!0;break}}!l&&this.select(s[0].get("name"))}},_updateData:function(s){var l=[],n=[];s.eachRawSeries(function(c){var o=c.name;n.push(o);var h;if(c.legendVisualProvider){var A=c.legendVisualProvider,y=A.getAllNames();s.isSeriesFiltered(c)||(n=n.concat(y)),y.length?l=l.concat(y):h=!0}else h=!0;h&&v(c)&&l.push(c.name)}),this._availableNames=n;var u=this.get("data")||l,t=x.map(u,function(c){return(typeof c=="string"||typeof c=="number")&&(c={name:c}),new g(c,this,this.ecModel)},this);this._data=t},getData:function(){return this._data},select:function(s){var l=this.option.selected,n=this.get("selectedMode");if(n==="single"){var u=this._data;x.each(u,function(t){l[t.get("name")]=!1})}l[s]=!0},unSelect:function(s){this.get("selectedMode")!=="single"&&(this.option.selected[s]=!1)},toggleSelected:function(s){var l=this.option.selected;l.hasOwnProperty(s)||(l[s]=!0),this[l[s]?"unSelect":"select"](s)},allSelect:function(){var s=this._data,l=this.option.selected;x.each(s,function(n){l[n.get("name",!0)]=!0})},inverseSelect:function(){var s=this._data,l=this.option.selected;x.each(s,function(n){var u=n.get("name",!0);l.hasOwnProperty(u)||(l[u]=!0),l[u]=!l[u]})},isSelected:function(s){var l=this.option.selected;return!(l.hasOwnProperty(s)&&!l[s])&&x.indexOf(this._availableNames,s)>=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),a=r;J.exports=a},hOwI:function(J,B){var e=Math.log(2);function d(g,p,v,b,f,i){var r=b+"-"+f,a=g.length;if(i.hasOwnProperty(r))return i[r];if(p===1){var s=Math.round(Math.log((1<<a)-1&~f)/e);return g[v][s]}for(var l=b|1<<v,n=v+1;b&1<<n;)n++;for(var u=0,t=0,c=0;t<a;t++){var o=1<<t;o&f||(u+=(c%2?-1:1)*g[v][t]*d(g,p-1,n,l,f|o,i),c++)}return i[r]=u,u}function x(g,p){var v=[[g[0],g[1],1,0,0,0,-p[0]*g[0],-p[0]*g[1]],[0,0,0,g[0],g[1],1,-p[1]*g[0],-p[1]*g[1]],[g[2],g[3],1,0,0,0,-p[2]*g[2],-p[2]*g[3]],[0,0,0,g[2],g[3],1,-p[3]*g[2],-p[3]*g[3]],[g[4],g[5],1,0,0,0,-p[4]*g[4],-p[4]*g[5]],[0,0,0,g[4],g[5],1,-p[5]*g[4],-p[5]*g[5]],[g[6],g[7],1,0,0,0,-p[6]*g[6],-p[6]*g[7]],[0,0,0,g[6],g[7],1,-p[7]*g[6],-p[7]*g[7]]],b={},f=d(v,8,0,0,0,b);if(f===0)return;for(var i=[],r=0;r<8;r++)for(var a=0;a<8;a++)i[a]==null&&(i[a]=0),i[a]+=((r+a)%2?-1:1)*d(v,7,r===0?1:0,1<<r,1<<a,b)/f*p[r];return function(s,l,n){var u=l*i[6]+n*i[7]+1;s[0]=(l*i[0]+n*i[1]+i[2])/u,s[1]=(l*i[3]+n*i[4]+i[5])/u}}B.buildTransformer=x},hX1E:function(J,B){var e=Math.PI*2;function d(x){return x%=e,x<0&&(x+=e),x}B.normalizeRadian=d},hi0g:function(J,B,e){var d=e("bYtY"),x=d.createHashMap,g=d.each,p=d.isString,v=d.defaults,b=d.extend,f=d.isObject,i=d.clone,r=e("4NO4"),a=r.normalizeToArray,s=e("D5nY"),l=s.guessOrdinal,n=s.BE_ORDINAL,u=e("7G+c"),t=e("L0Ub"),c=t.OTHER_DIMENSIONS,o=e("Vi4m");function h(S,E,C){u.isInstance(E)||(E=u.seriesDataToSource(E)),C=C||{},S=(S||[]).slice();for(var T=(C.dimsDef||[]).slice(),w=x(),L=x(),N=[],D=A(E,S,T,C.dimCount),F=0;F<D;F++){var R=T[F]=b({},f(T[F])?T[F]:{name:T[F]}),U=R.name,M=N[F]=new o;U!=null&&w.get(U)==null&&(M.name=M.displayName=U,w.set(U,F)),R.type!=null&&(M.type=R.type),R.displayName!=null&&(M.displayName=R.displayName)}var j=C.encodeDef;!j&&C.encodeDefaulter&&(j=C.encodeDefaulter(E,D)),j=x(j),j.each(function(X,he){if(X=a(X).slice(),X.length===1&&!p(X[0])&&X[0]<0){j.set(he,!1);return}var te=j.set(he,[]);g(X,function(pe,Se){p(pe)&&(pe=w.get(pe)),pe!=null&&pe<D&&(te[Se]=pe,K(N[pe],he,Se))})});var P=0;g(S,function(X,he){var te,X,pe,Se;if(p(X))te=X,X={};else{te=X.name;var we=X.ordinalMeta;X.ordinalMeta=null,X=i(X),X.ordinalMeta=we,pe=X.dimsDef,Se=X.otherDims,X.name=X.coordDim=X.coordDimIndex=X.dimsDef=X.otherDims=null}var We=j.get(te);if(We===!1)return;var We=a(We);if(!We.length)for(var qe=0;qe<(pe&&pe.length||1);qe++){for(;P<N.length&&N[P].coordDim!=null;)P++;P<N.length&&We.push(P++)}g(We,function(yt,_e){var je=N[yt];if(K(v(je,X),te,_e),je.name==null&&pe){var Ct=pe[_e];!f(Ct)&&(Ct={name:Ct}),je.name=je.displayName=Ct.name,je.defaultTooltip=Ct.defaultTooltip}Se&&v(je.otherDims,Se)})});function K(X,he,te){c.get(he)!=null?X.otherDims[he]=te:(X.coordDim=he,X.coordDimIndex=te,L.set(he,!0))}var H=C.generateCoord,_=C.generateCoordCount,Z=_!=null;_=H?_||1:0;for(var Y=H||"value",k=0;k<D;k++){var M=N[k]=N[k]||new o,Q=M.coordDim;Q==null&&(M.coordDim=y(Y,L,Z),M.coordDimIndex=0,(!H||_<=0)&&(M.isExtraCoord=!0),_--),M.name==null&&(M.name=y(M.coordDim,w)),M.type==null&&(l(E,k,M.name)===n.Must||M.isExtraCoord&&(M.otherDims.itemName!=null||M.otherDims.seriesName!=null))&&(M.type="ordinal")}return N}function A(S,E,C,T){var w=Math.max(S.dimensionsDetectCount||1,E.length,C.length,T||0);return g(E,function(L){var N=L.dimsDef;N&&(w=Math.max(w,N.length))}),w}function y(S,E,C){if(C||E.get(S)!=null){for(var T=0;E.get(S+T)!=null;)T++;S+=T}return E.set(S,!0),S}var O=h;J.exports=O},hkKa:function(J,B,e){"use strict";e.d(B,"a",function(){return v});var d=e("J4zp"),x=e.n(d),g=e("q1tI"),p=e.n(g);function v(){var b=g.useReducer(function(r){return r+1},0),f=x()(b,2),i=f[1];return i}},hw6D:function(J,B,e){var d=e("bYtY");function x(v){v.eachSeriesByType("radar",function(b){var f=b.getData(),i=[],r=b.coordinateSystem;if(!r)return;var a=r.getIndicatorAxes();d.each(a,function(s,l){f.each(f.mapDimension(a[l].dim),function(n,u){i[u]=i[u]||[];var t=r.dataToPoint(n,l);i[u][l]=g(t)?t:p(r)})}),f.each(function(s){var l=d.find(i[s],function(n){return g(n)})||p(r);i[s].push(l.slice()),f.setItemLayout(s,i[s])})})}function g(v){return!isNaN(v[0])&&!isNaN(v[1])}function p(v){return[v.cx,v.cy]}J.exports=x},hwYd:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("Nu4q")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="PictureTwoTone";var f=g.forwardRef(b);B.default=f},hydK:function(J,B){var e="http://www.w3.org/2000/svg";function d(x){return document.createElementNS(e,x)}B.createElement=d},hyiK:function(J,B){function e(d,x,g,p,v,b){if(b>x&&b>p||b<x&&b<p)return 0;if(p===x)return 0;var f=p<x?1:-1,i=(b-x)/(p-x);(i===1||i===0)&&(f=p<x?.5:-.5);var r=i*(g-d)+d;return r===v?Infinity:r>v?f:0}J.exports=e},i38C:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=g.createHashMap,v=g.retrieve,b=g.each;function f(s){this.coordSysName=s,this.coordSysDims=[],this.axisMap=p(),this.categoryAxisMap=p(),this.firstCategoryDimIndex=null}function i(s){var l=s.get("coordinateSystem"),n=new f(l),u=r[l];if(u)return u(s,n,n.axisMap,n.categoryAxisMap),n}var r={cartesian2d:function(s,l,n,u){var t=s.getReferringComponents("xAxis")[0],c=s.getReferringComponents("yAxis")[0];l.coordSysDims=["x","y"],n.set("x",t),n.set("y",c),a(t)&&(u.set("x",t),l.firstCategoryDimIndex=0),a(c)&&(u.set("y",c),l.firstCategoryDimIndex==null&(l.firstCategoryDimIndex=1))},singleAxis:function(s,l,n,u){var t=s.getReferringComponents("singleAxis")[0];l.coordSysDims=["single"],n.set("single",t),a(t)&&(u.set("single",t),l.firstCategoryDimIndex=0)},polar:function(s,l,n,u){var t=s.getReferringComponents("polar")[0],c=t.findAxisModel("radiusAxis"),o=t.findAxisModel("angleAxis");l.coordSysDims=["radius","angle"],n.set("radius",c),n.set("angle",o),a(c)&&(u.set("radius",c),l.firstCategoryDimIndex=0),a(o)&&(u.set("angle",o),l.firstCategoryDimIndex==null&&(l.firstCategoryDimIndex=1))},geo:function(s,l,n,u){l.coordSysDims=["lng","lat"]},parallel:function(s,l,n,u){var t=s.ecModel,c=t.getComponent("parallel",s.get("parallelIndex")),o=l.coordSysDims=c.dimensions.slice();b(c.parallelAxisIndex,function(h,A){var y=t.getComponent("parallelAxis",h),O=o[A];n.set(O,y),a(y)&&l.firstCategoryDimIndex==null&&(u.set(O,y),l.firstCategoryDimIndex=A)})}};function a(s){return s.get("type")==="category"}B.getCoordSysInfoBySeries=i},i6bk:function(J,B,e){"use strict";e.d(B,"b",function(){return d}),e.d(B,"a",function(){return x});function d(g){return g!=null&&g===g.window}function x(g,p){if(typeof window=="undefined")return 0;var v=p?"scrollTop":"scrollLeft",b=0;return d(g)?b=g[p?"pageYOffset":"pageXOffset"]:g instanceof Document?b=g.documentElement[v]:g&&(b=g[v]),g&&!d(g)&&typeof b!="number"&&(b=(g.ownerDocument||g).documentElement[v]),b}},i8CU:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("Fm1+"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},iLNv:function(J,B){var e="\0__throttleOriginMethod",d="\0__throttleRate",x="\0__throttleType";function g(b,f,i){var r,a=0,s=0,l=null,n,u,t,c;f=f||0;function o(){s=new Date().getTime(),l=null,b.apply(u,t||[])}var h=function(){r=new Date().getTime(),u=this,t=arguments;var A=c||f,y=c||i;c=null,n=r-(y?a:s)-A,clearTimeout(l),y?l=setTimeout(o,A):n>=0?o():l=setTimeout(o,-n),a=r};return h.clear=function(){l&&(clearTimeout(l),l=null)},h.debounceNextCall=function(A){c=A},h}function p(b,f,i,r){var a=b[f];if(!a)return;var s=a[e]||a,l=a[x],n=a[d];if(n!==i||l!==r){if(i==null||!r)return b[f]=s;a=b[f]=g(s,i,r==="debounce"),a[e]=s,a[x]=r,a[d]=i}return a}function v(b,f){var i=b[f];i&&i[e]&&(b[f]=i[e])}B.throttle=g,B.createOrUpdate=p,B.clear=v},iPDy:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=d.extendComponentView({type:"marker",init:function(){this.markerGroupMap=x.createHashMap()},render:function(p,v,b){var f=this.markerGroupMap;f.each(function(r){r.__keep=!1});var i=this.type+"Model";v.eachSeries(function(r){var a=r[i];a&&this.renderSeries(r,a,v,b)},this),f.each(function(r){!r.__keep&&this.group.remove(r.group)},this)},renderSeries:function(){}});J.exports=g},iQDF:function(J,B,e){"use strict";var d=e("ZTW2"),x=e.n(d),g=e("+BJd"),p=e("+L6B")},iRjW:function(J,B,e){var d=e("bYtY"),x=e("Yl7c"),g=x.parseClassType,p=0;function v(i){return[i||"",p++,Math.random().toFixed(5)].join("_")}function b(i){var r={};return i.registerSubTypeDefaulter=function(a,s){a=g(a),r[a.main]=s},i.determineSubType=function(a,s){var l=s.type;if(!l){var n=g(a).main;i.hasSubTypes(a)&&r[n]&&(l=r[n](s))}return l},i}function f(i,r){i.topologicalTravel=function(n,u,t,c){if(!n.length)return;var o=a(u),h=o.graph,A=o.noEntryList,y={};for(d.each(n,function(w){y[w]=!0});A.length;){var O=A.pop(),S=h[O],E=!!y[O];E&&(t.call(c,O,S.originalDeps.slice()),delete y[O]),d.each(S.successor,E?T:C)}d.each(y,function(){throw new Error("Circle dependency may exists")});function C(w){h[w].entryCount--,h[w].entryCount===0&&A.push(w)}function T(w){y[w]=!0,C(w)}};function a(n){var u={},t=[];return d.each(n,function(c){var o=s(u,c),h=o.originalDeps=r(c),A=l(h,n);o.entryCount=A.length,o.entryCount===0&&t.push(c),d.each(A,function(y){d.indexOf(o.predecessor,y)<0&&o.predecessor.push(y);var O=s(u,y);d.indexOf(O.successor,y)<0&&O.successor.push(c)})}),{graph:u,noEntryList:t}}function s(n,u){return n[u]||(n[u]={predecessor:[],successor:[]}),n[u]}function l(n,u){var t=[];return d.each(n,function(c){d.indexOf(u,c)>=0&&t.push(c)}),t}}B.getUID=v,B.enableSubTypeDefaulter=b,B.enableTopologicalTravel=f},iXHM:function(J,B){var e="";typeof navigator!="undefined"&&(e=navigator.platform||"");var d={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:e.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};J.exports=d},iXp4:function(J,B,e){var d=e("ItGF"),x=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function g(p){return d.browser.ie&&d.browser.version>=11?function(){var v=this.__clipPaths,b=this.style,f;if(v)for(var i=0;i<v.length;i++){var r=v[i],a=r&&r.shape,s=r&&r.type;if(a&&(s==="sector"&&a.startAngle===a.endAngle||s==="rect"&&(!a.width||!a.height))){for(var l=0;l<x.length;l++)x[l][2]=b[x[l][0]],b[x[l][0]]=x[l][1];f=!0;break}}if(p.apply(this,arguments),f)for(var l=0;l<x.length;l++)b[x[l][0]]=x[l][2]}:p}J.exports=g},iYpf:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("ZLWo")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="FolderOpenOutlined";var f=g.forwardRef(b);B.default=f},ieMj:function(J,B,e){var d=e("OELB"),x=e("7aKB"),g=e("4NgU"),p=e("lE7J"),v=d.round,b=g.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(i,r){var a=this._extent;isNaN(i)||(a[0]=parseFloat(i)),isNaN(r)||(a[1]=parseFloat(r))},unionExtent:function(i){var r=this._extent;i[0]<r[0]&&(r[0]=i[0]),i[1]>r[1]&&(r[1]=i[1]),b.prototype.setExtent.call(this,r[0],r[1])},getInterval:function(){return this._interval},setInterval:function(i){this._interval=i,this._niceExtent=this._extent.slice(),this._intervalPrecision=p.getIntervalPrecision(i)},getTicks:function(i){var r=this._interval,a=this._extent,s=this._niceExtent,l=this._intervalPrecision,n=[];if(!r)return n;var u=1e4;a[0]<s[0]&&(i?n.push(v(s[0]-r,l)):n.push(a[0]));for(var t=s[0];t<=s[1]&&!(n.push(t),t=v(t+r,l),t===n[n.length-1]);)if(n.length>u)return[];var c=n.length?n[n.length-1]:s[1];return a[1]>c&&(i?n.push(v(c+r,l)):n.push(a[1])),n},getMinorTicks:function(i){for(var r=this.getTicks(!0),a=[],s=this.getExtent(),l=1;l<r.length;l++){for(var n=r[l],u=r[l-1],t=0,c=[],o=n-u,h=o/i;t<i-1;){var A=d.round(u+(t+1)*h);A>s[0]&&A<s[1]&&c.push(A),t++}a.push(c)}return a},getLabel:function(i,r){if(i==null)return"";var a=r&&r.precision;return a==null?a=d.getPrecisionSafe(i)||0:a==="auto"&&(a=this._intervalPrecision),i=v(i,a,!0),x.addCommas(i)},niceTicks:function(i,r,a){i=i||5;var s=this._extent,l=s[1]-s[0];if(!isFinite(l))return;l<0&&(l=-l,s.reverse());var n=p.intervalScaleNiceTicks(s,i,r,a);this._intervalPrecision=n.intervalPrecision,this._interval=n.interval,this._niceExtent=n.niceTickExtent},niceExtent:function(i){var r=this._extent;if(r[0]===r[1])if(r[0]!==0){var a=r[0];i.fixMax||(r[1]+=a/2),r[0]-=a/2}else r[1]=1;var s=r[1]-r[0];isFinite(s)||(r[0]=0,r[1]=1),this.niceTicks(i.splitNumber,i.minInterval,i.maxInterval);var l=this._interval;i.fixMin||(r[0]=v(Math.floor(r[0]/l)*l)),i.fixMax||(r[1]=v(Math.ceil(r[1]/l)*l))}});b.create=function(){return new b};var f=b;J.exports=f},j5sG:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.createSensor=void 0;var d=x(e("NohK"));function x(p){return p&&p.__esModule?p:{default:p}}var g=function(v){var b=void 0,f=[],i=(0,d.default)(function(){f.forEach(function(n){n(v)})}),r=function(){var u=new ResizeObserver(i);return u.observe(v),i(),u},a=function(u){b||(b=r()),f.indexOf(u)===-1&&f.push(u)},s=function(){b.disconnect(),f=[],b=void 0},l=function(u){var t=f.indexOf(u);t!==-1&&f.splice(t,1),f.length===0&&b&&s()};return{element:v,bind:a,destroy:s,unbind:l}};B.createSensor=g},jCWc:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("1GLa")},jCoz:function(J,B,e){var d=e("bYtY"),x=e("4NgU"),g=e("OELB"),p=e("ieMj"),v=x.prototype,b=p.prototype,f=g.getPrecisionSafe,i=g.round,r=Math.floor,a=Math.ceil,s=Math.pow,l=Math.log,n=x.extend({type:"log",base:10,$constructor:function(){x.apply(this,arguments),this._originalScale=new p},getTicks:function(c){var o=this._originalScale,h=this._extent,A=o.getExtent();return d.map(b.getTicks.call(this,c),function(y){var O=g.round(s(this.base,y));return O=y===h[0]&&o.__fixMin?u(O,A[0]):O,O=y===h[1]&&o.__fixMax?u(O,A[1]):O,O},this)},getMinorTicks:b.getMinorTicks,getLabel:b.getLabel,scale:function(c){return c=v.scale.call(this,c),s(this.base,c)},setExtent:function(c,o){var h=this.base;c=l(c)/l(h),o=l(o)/l(h),b.setExtent.call(this,c,o)},getExtent:function(){var c=this.base,o=v.getExtent.call(this);o[0]=s(c,o[0]),o[1]=s(c,o[1]);var h=this._originalScale,A=h.getExtent();return h.__fixMin&&(o[0]=u(o[0],A[0])),h.__fixMax&&(o[1]=u(o[1],A[1])),o},unionExtent:function(c){this._originalScale.unionExtent(c);var o=this.base;c[0]=l(c[0])/l(o),c[1]=l(c[1])/l(o),v.unionExtent.call(this,c)},unionExtentFromData:function(c,o){this.unionExtent(c.getApproximateExtent(o))},niceTicks:function(c){c=c||10;var o=this._extent,h=o[1]-o[0];if(h===Infinity||h<=0)return;var A=g.quantity(h),y=c/h*A;for(y<=.5&&(A*=10);!isNaN(A)&&Math.abs(A)<1&&Math.abs(A)>0;)A*=10;var O=[g.round(a(o[0]/A)*A),g.round(r(o[1]/A)*A)];this._interval=A,this._niceExtent=O},niceExtent:function(c){b.niceExtent.call(this,c);var o=this._originalScale;o.__fixMin=c.fixMin,o.__fixMax=c.fixMax}});d.each(["contain","normalize"],function(c){n.prototype[c]=function(o){return o=l(o)/l(this.base),v[c].call(this,o)}}),n.create=function(){return new n};function u(c,o){return i(c,f(o))}var t=n;J.exports=t},jN4g:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="CloseCircleFilled";var b=B.a=d.forwardRef(v)},jO45:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="CheckCircleFilled";var b=B.a=d.forwardRef(v)},jTL6:function(J,B,e){var d=e("y+Vt"),x=d.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(p,v){var b=v.cx,f=v.cy,i=Math.max(v.r,0),r=v.startAngle,a=v.endAngle,s=v.clockwise,l=Math.cos(r),n=Math.sin(r);p.moveTo(l*i+b,n*i+f),p.arc(b,f,i,r,a,!s)}});J.exports=x},je13:function(J,B,e){var d=e("5nXd"),x=e("gRFJ"),g=[e("uQRt")];J.exports=d.createStore(x,g)},jett:function(J,B,e){var d=e("ProS");e("VSLf"),e("oBaM"),e("FGaS");var x=e("mOdp"),g=e("f5Yq"),p=e("hw6D"),v=e("0/Rx"),b=e("eJH7");d.registerVisual(x("radar")),d.registerVisual(g("radar","circle")),d.registerLayout(p),d.registerProcessor(v("radar")),d.registerPreprocessor(b)},jhfD:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="ArrowLeftOutlined";var b=B.a=d.forwardRef(v)},jkPA:function(J,B,e){var d=e("bYtY"),x=d.createHashMap,g=d.isObject,p=d.map;function v(a){this.categories=a.categories||[],this._needCollect=a.needCollect,this._deduplication=a.deduplication,this._map}v.createByAxisModel=function(a){var s=a.option,l=s.data,n=l&&p(l,i);return new v({categories:n,needCollect:!n,deduplication:s.dedplication!==!1})};var b=v.prototype;b.getOrdinal=function(a){return f(this).get(a)},b.parseAndCollect=function(a){var s,l=this._needCollect;if(typeof a!="string"&&!l)return a;if(l&&!this._deduplication)return s=this.categories.length,this.categories[s]=a,s;var n=f(this);return s=n.get(a),s==null&&(l?(s=this.categories.length,this.categories[s]=a,n.set(a,s)):s=NaN),s};function f(a){return a._map||(a._map=x(a.categories))}function i(a){return g(a)&&a.value!=null?a.value:a+""}var r=v;J.exports=r},jndi:function(J,B,e){var d=e("bYtY"),x=e("Qe9p"),g=e("YXkt"),p=e("OELB"),v=e("IwbS"),b=e("kj2x"),f=e("iPDy"),i=function(t,c,o,h){var A=b.dataTransform(t,h[0]),y=b.dataTransform(t,h[1]),O=d.retrieve,S=A.coord,E=y.coord;S[0]=O(S[0],-Infinity),S[1]=O(S[1],-Infinity),E[0]=O(E[0],Infinity),E[1]=O(E[1],Infinity);var C=d.mergeAll([{},A,y]);return C.coord=[A.coord,y.coord],C.x0=A.x,C.y0=A.y,C.x1=y.x,C.y1=y.y,C};function r(t){return!isNaN(t)&&!isFinite(t)}function a(t,c,o,h){var A=1-t;return r(c[A])&&r(o[A])}function s(t,c){var o=c.coord[0],h=c.coord[1];return t.type==="cartesian2d"&&(o&&h&&(a(1,o,h,t)||a(0,o,h,t)))?!0:b.dataFilter(t,{coord:o,x:c.x0,y:c.y0})||b.dataFilter(t,{coord:h,x:c.x1,y:c.y1})}function l(t,c,o,h,A){var y=h.coordinateSystem,O=t.getItemModel(c),S,E=p.parsePercent(O.get(o[0]),A.getWidth()),C=p.parsePercent(O.get(o[1]),A.getHeight());if(!isNaN(E)&&!isNaN(C))S=[E,C];else{if(h.getMarkerPosition)S=h.getMarkerPosition(t.getValues(o,c));else{var T=t.get(o[0],c),w=t.get(o[1],c),L=[T,w];y.clampData&&y.clampData(L,L),S=y.dataToPoint(L,!0)}if(y.type==="cartesian2d"){var N=y.getAxis("x"),D=y.getAxis("y"),T=t.get(o[0],c),w=t.get(o[1],c);r(T)?S[0]=N.toGlobalCoord(N.getExtent()[o[0]==="x0"?0:1]):r(w)&&(S[1]=D.toGlobalCoord(D.getExtent()[o[1]==="y0"?0:1]))}isNaN(E)||(S[0]=E),isNaN(C)||(S[1]=C)}return S}var n=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];f.extend({type:"markArea",updateTransform:function(t,c,o){c.eachSeries(function(h){var A=h.markAreaModel;if(A){var y=A.getData();y.each(function(O){var S=d.map(n,function(C){return l(y,O,C,h,o)});y.setItemLayout(O,S);var E=y.getItemGraphicEl(O);E.setShape("points",S)})}},this)},renderSeries:function(t,c,o,h){var A=t.coordinateSystem,y=t.id,O=t.getData(),S=this.markerGroupMap,E=S.get(y)||S.set(y,{group:new v.Group});this.group.add(E.group),E.__keep=!0;var C=u(A,t,c);c.setData(C),C.each(function(T){C.setItemLayout(T,d.map(n,function(w){return l(C,T,w,t,h)})),C.setItemVisual(T,{color:O.getVisual("color")})}),C.diff(E.__data).add(function(T){var w=new v.Polygon({shape:{points:C.getItemLayout(T)}});C.setItemGraphicEl(T,w),E.group.add(w)}).update(function(T,w){var L=E.__data.getItemGraphicEl(w);v.updateProps(L,{shape:{points:C.getItemLayout(T)}},c,T),E.group.add(L),C.setItemGraphicEl(T,L)}).remove(function(T){var w=E.__data.getItemGraphicEl(T);E.group.remove(w)}).execute(),C.eachItemGraphicEl(function(T,w){var L=C.getItemModel(w),N=L.getModel("label"),D=L.getModel("emphasis.label"),F=C.getItemVisual(w,"color");T.useStyle(d.defaults(L.getModel("itemStyle").getItemStyle(),{fill:x.modifyAlpha(F,.4),stroke:F})),T.hoverStyle=L.getModel("emphasis.itemStyle").getItemStyle(),v.setLabelStyle(T.style,T.hoverStyle,N,D,{labelFetcher:c,labelDataIndex:w,defaultText:C.getName(w)||"",isRectText:!0,autoColor:F}),v.setHoverStyle(T,{}),T.dataModel=c}),E.__data=C,E.group.silent=c.get("silent")||t.get("silent")}});function u(t,c,o){var h,A,y=["x0","y0","x1","y1"];t?(h=d.map(t&&t.dimensions,function(E){var C=c.getData(),T=C.getDimensionInfo(C.mapDimension(E))||{};return d.defaults({name:E},T)}),A=new g(d.map(y,function(E,C){return{name:E,type:h[C%2].type}}),o)):(h=[{name:"value",type:"float"}],A=new g(h,o));var O=d.map(o.get("data"),d.curry(i,c,t,o));t&&(O=d.filter(O,d.curry(s,t)));var S=t?function(E,C,T,w){return E.coord[Math.floor(w/2)][w%2]}:function(E){return E.value};return A.initData(O,null,S),A.hasItemOption=!0,A}},"jsU+":function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("IUWy"),p=d.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){p.superApply(this,"optionUpdated",arguments),x.each(this.option.feature,function(b,f){var i=g.get(f);i&&x.merge(b,i.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),v=p;J.exports=v},jtI2:function(J,B,e){e("SMc4");var d=e("bLfw"),x=d.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});J.exports=x},juDX:function(J,B,e){e("P47w");var d=e("aX58"),x=d.registerPainter,g=e("3CBa");x("svg",g)},"k+1r":function(J,B,e){var d=e("QkVE");function x(g){var p=d(this,g).delete(g);return this.size-=p?1:0,p}J.exports=x},k5C7:function(J,B,e){e("0JAE"),e("g7p0"),e("7mYs")},k9D9:function(J,B){var e="original",d="arrayRows",x="objectRows",g="keyedColumns",p="unknown",v="typedArray",b="column",f="row";B.SOURCE_FORMAT_ORIGINAL=e,B.SOURCE_FORMAT_ARRAY_ROWS=d,B.SOURCE_FORMAT_OBJECT_ROWS=x,B.SOURCE_FORMAT_KEYED_COLUMNS=g,B.SOURCE_FORMAT_UNKNOWN=p,B.SOURCE_FORMAT_TYPED_ARRAY=v,B.SERIES_LAYOUT_BY_COLUMN=b,B.SERIES_LAYOUT_BY_ROW=f},kDyi:function(J,B){function e(d){var x=d.findComponents({mainType:"legend"});x&&x.length&&d.filterSeries(function(g){for(var p=0;p<x.length;p++)if(!x[p].isSelected(g.name))return!1;return!0})}J.exports=e},kGiB:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("ABKa"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},kMLO:function(J,B,e){var d=e("XxSj"),x=e("Qe9p"),g=e("bYtY"),p=g.isArray,v="itemStyle",b={seriesType:"treemap",reset:function(t,c,o,h){var A=t.getData().tree,y=A.root,O=t.getModel(v);if(y.isRemoved())return;var S=g.map(A.levelModels,function(E){return E?E.get(v):null});f(y,{},S,O,t.getViewRoot().getAncestors(),t)}};function f(t,c,o,h,A,y){var O=t.getModel(),S=t.getLayout();if(!S||S.invisible||!S.isInView)return;var E=t.getModel(v),C=o[t.depth],T=i(E,c,C,h),w=E.get("borderColor"),L=E.get("borderColorSaturation"),N;L!=null&&(N=r(T,t),w=a(L,N)),t.setVisual("borderColor",w);var D=t.viewChildren;if(!D||!D.length)N=r(T,t),t.setVisual("color",N);else{var F=l(t,O,S,E,T,D);g.each(D,function(R,U){if(R.depth>=A.length||R===A[R.depth]){var M=u(O,T,R,U,F,y);f(R,M,o,h,A,y)}})}}function i(t,c,o,h){var A=g.extend({},c);return g.each(["color","colorAlpha","colorSaturation"],function(y){var O=t.get(y,!0);O==null&&o&&(O=o[y]),O==null&&(O=c[y]),O==null&&(O=h.get(y)),O!=null&&(A[y]=O)}),A}function r(t){var c=s(t,"color");if(c){var o=s(t,"colorAlpha"),h=s(t,"colorSaturation");return h&&(c=x.modifyHSL(c,null,null,h)),o&&(c=x.modifyAlpha(c,o)),c}}function a(t,c){return c!=null?x.modifyHSL(c,null,null,t):null}function s(t,c){var o=t[c];if(o!=null&&o!=="none")return o}function l(t,c,o,h,A,y){if(!y||!y.length)return;var O=n(c,"color")||A.color!=null&&A.color!=="none"&&(n(c,"colorAlpha")||n(c,"colorSaturation"));if(!O)return;var S=c.get("visualMin"),E=c.get("visualMax"),C=o.dataExtent.slice();S!=null&&S<C[0]&&(C[0]=S),E!=null&&E>C[1]&&(C[1]=E);var T=c.get("colorMappingBy"),w={type:O.name,dataExtent:C,visual:O.range};w.type==="color"&&(T==="index"||T==="id")?(w.mappingMethod="category",w.loop=!0):w.mappingMethod="linear";var L=new d(w);return L.__drColorMappingBy=T,L}function n(t,c){var o=t.get(c);return p(o)&&o.length?{name:c,range:o}:null}function u(t,c,o,h,A,y){var O=g.extend({},c);if(A){var S=A.type,E=S==="color"&&A.__drColorMappingBy,C=E==="index"?h:E==="id"?y.mapIdToIndex(o.getId()):o.getValue(t.get("visualDimension"));O[S]=A.mapValueToVisual(C)}return O}J.exports=b},kPKH:function(J,B,e){"use strict";var d=e("/kpp");B.a=d.a},kaz8:function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("lwsE"),b=e.n(v),f=e("W8MJ"),i=e.n(f),r=e("PJYZ"),a=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),u=e.n(n),t=e("q1tI"),c=e("TSYQ"),o=e.n(c),h=e("+6Fa"),A=e("RIqP"),y=e.n(A),O=e("BGR+"),S=e("H84U"),E=function(U,M){var j={};for(var P in U)Object.prototype.hasOwnProperty.call(U,P)&&M.indexOf(P)<0&&(j[P]=U[P]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,P=Object.getOwnPropertySymbols(U);K<P.length;K++)M.indexOf(P[K])<0&&Object.prototype.propertyIsEnumerable.call(U,P[K])&&(j[P[K]]=U[P[K]]);return j},C=t.createContext(null),T=function(U){l()(j,U);var M=u()(j);function j(P){var K;return b()(this,j),K=M.call(this,P),K.cancelValue=function(H){K.setState(function(_){var Z=_.registeredValues;return{registeredValues:Z.filter(function(Y){return Y!==H})}})},K.registerValue=function(H){K.setState(function(_){var Z=_.registeredValues;return{registeredValues:[].concat(y()(Z),[H])}})},K.toggleOption=function(H){var _=K.state.registeredValues,Z=K.state.value.indexOf(H.value),Y=y()(K.state.value);Z===-1?Y.push(H.value):Y.splice(Z,1),"value"in K.props||K.setState({value:Y});var k=K.props.onChange;if(k){var Q=K.getOptions();k(Y.filter(function(X){return _.indexOf(X)!==-1}).sort(function(X,he){var te=Q.findIndex(function(Se){return Se.value===X}),pe=Q.findIndex(function(Se){return Se.value===he});return te-pe}))}},K.renderGroup=function(H){var _=H.getPrefixCls,Z=H.direction,Y=a()(K),k=Y.props,Q=Y.state,X=k.prefixCls,he=k.className,te=k.style,pe=k.options,Se=E(k,["prefixCls","className","style","options"]),we=_("checkbox",X),We="".concat(we,"-group"),qe=Object(O.default)(Se,["children","defaultValue","value","onChange","disabled"]),yt=k.children;pe&&pe.length>0&&(yt=K.getOptions().map(function(Ct){return t.createElement(F,{prefixCls:we,key:Ct.value.toString(),disabled:"disabled"in Ct?Ct.disabled:k.disabled,value:Ct.value,checked:Q.value.indexOf(Ct.value)!==-1,onChange:Ct.onChange,className:"".concat(We,"-item"),style:Ct.style},Ct.label)}));var _e={toggleOption:K.toggleOption,value:K.state.value,disabled:K.props.disabled,name:K.props.name,registerValue:K.registerValue,cancelValue:K.cancelValue},je=o()(We,he,x()({},"".concat(We,"-rtl"),Z==="rtl"));return t.createElement("div",p()({className:je,style:te},qe),t.createElement(C.Provider,{value:_e},yt))},K.state={value:P.value||P.defaultValue||[],registeredValues:[]},K}return i()(j,[{key:"getOptions",value:function(){var K=this.props.options;return K.map(function(H){return typeof H=="string"?{label:H,value:H}:H})}},{key:"render",value:function(){return t.createElement(S.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(K){return"value"in K?{value:K.value||[]}:null}}]),j}(t.PureComponent);T.defaultProps={options:[]};var w=T,L=e("uaoM"),N=function(U,M){var j={};for(var P in U)Object.prototype.hasOwnProperty.call(U,P)&&M.indexOf(P)<0&&(j[P]=U[P]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,P=Object.getOwnPropertySymbols(U);K<P.length;K++)M.indexOf(P[K])<0&&Object.prototype.propertyIsEnumerable.call(U,P[K])&&(j[P[K]]=U[P[K]]);return j},D=function(U){l()(j,U);var M=u()(j);function j(){var P;return b()(this,j),P=M.apply(this,arguments),P.saveCheckbox=function(K){P.rcCheckbox=K},P.renderCheckbox=function(K){var H,_=K.getPrefixCls,Z=K.direction,Y=a()(P),k=Y.props,Q=Y.context,X=k.prefixCls,he=k.className,te=k.children,pe=k.indeterminate,Se=k.style,we=k.onMouseEnter,We=k.onMouseLeave,qe=N(k,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),yt=Q,_e=_("checkbox",X),je=p()({},qe);yt&&(je.onChange=function(){qe.onChange&&qe.onChange.apply(qe,arguments),yt.toggleOption({label:te,value:k.value})},je.name=yt.name,je.checked=yt.value.indexOf(k.value)!==-1,je.disabled=k.disabled||yt.disabled);var Ct=o()(he,(H={},x()(H,"".concat(_e,"-wrapper"),!0),x()(H,"".concat(_e,"-rtl"),Z==="rtl"),x()(H,"".concat(_e,"-wrapper-checked"),je.checked),x()(H,"".concat(_e,"-wrapper-disabled"),je.disabled),H)),ct=o()(x()({},"".concat(_e,"-indeterminate"),pe));return t.createElement("label",{className:Ct,style:Se,onMouseEnter:we,onMouseLeave:We},t.createElement(h.a,p()({},je,{prefixCls:_e,className:ct,ref:P.saveCheckbox})),te!==void 0&&t.createElement("span",null,te))},P}return i()(j,[{key:"componentDidMount",value:function(){var K,H=this.props.value;(K=this.context)===null||K===void 0||K.registerValue(H),Object(L.a)("checked"in this.props||this.context||!("value"in this.props),"Checkbox","`value` is not a valid prop, do you mean `checked`?")}},{key:"componentDidUpdate",value:function(K){var H=K.value,_,Z,Y=this.props.value;Y!==H&&((_=this.context)===null||_===void 0||_.cancelValue(H),(Z=this.context)===null||Z===void 0||Z.registerValue(Y))}},{key:"componentWillUnmount",value:function(){var K,H=this.props.value;(K=this.context)===null||K===void 0||K.cancelValue(H)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return t.createElement(S.a,null,this.renderCheckbox)}}]),j}(t.PureComponent);D.__ANT_CHECKBOX=!0,D.defaultProps={indeterminate:!1},D.contextType=C;var F=D;F.Group=w;var R=B.a=F},kekF:function(J,B){function e(d,x){return function(g){return d(x(g))}}J.exports=e},kj2x:function(J,B,e){var d=e("bYtY"),x=e("OELB"),g=e("7hqr"),p=g.isDimensionStacked,v=d.indexOf;function b(o){return!(isNaN(parseFloat(o.x))&&isNaN(parseFloat(o.y)))}function f(o){return!isNaN(parseFloat(o.x))&&!isNaN(parseFloat(o.y))}function i(o,h,A,y,O,S){var E=[],C=p(h,y),T=C?h.getCalculationInfo("stackResultDimension"):y,w=c(h,T,o),L=h.indicesOfNearest(T,w)[0];E[O]=h.get(A,L),E[S]=h.get(T,L);var N=h.get(y,L),D=x.getPrecision(h.get(y,L));return D=Math.min(D,20),D>=0&&(E[S]=+E[S].toFixed(D)),[E,N]}var r=d.curry,a={min:r(i,"min"),max:r(i,"max"),average:r(i,"average")};function s(o,h){var A=o.getData(),y=o.coordinateSystem;if(h&&!f(h)&&!d.isArray(h.coord)&&y){var O=y.dimensions,S=l(h,A,y,o);if(h=d.clone(h),h.type&&a[h.type]&&S.baseAxis&&S.valueAxis){var E=v(O,S.baseAxis.dim),C=v(O,S.valueAxis.dim),T=a[h.type](A,S.baseDataDim,S.valueDataDim,E,C);h.coord=T[0],h.value=T[1]}else{for(var w=[h.xAxis!=null?h.xAxis:h.radiusAxis,h.yAxis!=null?h.yAxis:h.angleAxis],L=0;L<2;L++)a[w[L]]&&(w[L]=c(A,A.mapDimension(O[L]),w[L]));h.coord=w}}return h}function l(o,h,A,y){var O={};return o.valueIndex!=null||o.valueDim!=null?(O.valueDataDim=o.valueIndex!=null?h.getDimension(o.valueIndex):o.valueDim,O.valueAxis=A.getAxis(n(y,O.valueDataDim)),O.baseAxis=A.getOtherAxis(O.valueAxis),O.baseDataDim=h.mapDimension(O.baseAxis.dim)):(O.baseAxis=y.getBaseAxis(),O.valueAxis=A.getOtherAxis(O.baseAxis),O.baseDataDim=h.mapDimension(O.baseAxis.dim),O.valueDataDim=h.mapDimension(O.valueAxis.dim)),O}function n(o,h){var A=o.getData(),y=A.dimensions;h=A.getDimension(h);for(var O=0;O<y.length;O++){var S=A.getDimensionInfo(y[O]);if(S.name===h)return S.coordDim}}function u(o,h){return o&&o.containData&&h.coord&&!b(h)?o.containData(h.coord):!0}function t(o,h,A,y){return y<2?o.coord&&o.coord[y]:o.value}function c(o,h,A){if(A==="average"){var y=0,O=0;return o.each(h,function(S,E){isNaN(S)||(y+=S,O++)}),y/O}else return A==="median"?o.getMedian(h):o.getDataExtent(h,!0)[A==="max"?1:0]}B.dataTransform=s,B.getAxisInfo=l,B.dataFilter=u,B.dimValueGetter=t,B.numCalculate=c},knOB:function(J,B,e){var d=e("bYtY"),x=e("hM6l");function g(v,b){x.call(this,"radius",v,b),this.type="category"}g.prototype={constructor:g,pointToData:function(v,b){return this.polar.pointToData(v,b)[this.dim==="radius"?0:1]},dataToRadius:x.prototype.dataToCoord,radiusToData:x.prototype.coordToData},d.inherits(g,x);var p=g;J.exports=p},ko1b:function(J,B,e){var d=e("bYtY"),x=e("T4UG"),g=e("Bsck"),p=e("Qxkt"),v=e("7aKB"),b=v.encodeHTML,f=v.addCommas,i=e("VaxA"),r=i.wrapTreePathInfo,a=x.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(n,u){var t={name:n.name,children:n.data};s(t);var c=n.levels||[];c=n.levels=l(c,u);var o=d.map(c||[],function(y){return new p(y,this,u)},this),h=g.createTree(t,this,null,A);function A(y){y.wrapMethod("getItemModel",function(O,S){var E=h.getNodeByDataIndex(S),C=o[E.depth];return C&&(O.parentModel=C),O})}return h.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(n){var u=this.getData(),t=this.getRawValue(n),c=d.isArray(t)?f(t[0]):f(t),o=u.getName(n);return b(o+": "+c)},getDataParams:function(n){var u=x.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(n);return u.treePathInfo=r(t,this),u},setLayoutInfo:function(n){this.layoutInfo=this.layoutInfo||{},d.extend(this.layoutInfo,n)},mapIdToIndex:function(n){var u=this._idIndexMap;u||(u=this._idIndexMap=d.createHashMap(),this._idIndexMapCount=0);var t=u.get(n);return t==null&&u.set(n,t=this._idIndexMapCount++),t},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(n){n?this._viewRoot=n:n=this._viewRoot;var u=this.getRawData().tree.root;(!n||n!==u&&!u.contains(n))&&(this._viewRoot=u)}});function s(n){var u=0;d.each(n.children,function(c){s(c);var o=c.value;d.isArray(o)&&(o=o[0]),u+=o});var t=n.value;d.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=u),t<0&&(t=0),d.isArray(n.value)?n.value[0]=t:n.value=t}function l(n,u){var t=u.get("color");if(!t)return;n=n||[];var c;if(d.each(n,function(h){var A=new p(h),y=A.get("color");(A.get("itemStyle.color")||y&&y!=="none")&&(c=!0)}),!c){var o=n[0]||(n[0]={});o.color=t.slice()}return n}J.exports=a},kzFp:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d=B.pick=function(g,p){var v={};return p.forEach(function(b){v[b]=g[b]}),v}},kzvK:function(J,B,e){var d=e("sS/r"),x=d.extend({type:"timeline"});J.exports=x},"l+S1":function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="SearchOutlined";var b=B.a=d.forwardRef(v)},lE7J:function(J,B,e){var d=e("OELB"),x=d.round;function g(f,i,r,a){var s={},l=f[1]-f[0],n=s.interval=d.nice(l/i,!0);r!=null&&n<r&&(n=s.interval=r),a!=null&&n>a&&(n=s.interval=a);var u=s.intervalPrecision=p(n),t=s.niceTickExtent=[x(Math.ceil(f[0]/n)*n,u),x(Math.floor(f[1]/n)*n,u)];return b(t,f),s}function p(f){return d.getPrecisionSafe(f)+2}function v(f,i,r){f[i]=Math.max(Math.min(f[i],r[1]),r[0])}function b(f,i){!isFinite(f[0])&&(f[0]=i[0]),!isFinite(f[1])&&(f[1]=i[1]),v(f,0,i),v(f,1,i),f[0]>f[1]&&(f[0]=f[1])}B.intervalScaleNiceTicks=g,B.getIntervalPrecision=p,B.fixExtent=b},lELe:function(J,B,e){var d=e("bYtY");function x(g){var p=[];d.each(g.series,function(v){v&&v.type==="map"&&(p.push(v),v.map=v.map||v.mapType,d.defaults(v,v.mapLocation))})}J.exports=x},lLGD:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("nVfU"),p=g.layout,v=g.largeLayout;e("Wqna"),e("F7hV"),e("Z8zF"),e("Ae16"),d.registerLayout(d.PRIORITY.VISUAL.LAYOUT,x.curry(p,"bar")),d.registerLayout(d.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,v),d.registerVisual({seriesType:"bar",reset:function(b){b.getData().setVisual("legendSymbol","roundRect")}})},lOQZ:function(J,B,e){var d=e("QBsz"),x=e("U/Mo"),g=x.getSymbolSize,p=x.getNodeGlobalScale,v=Math.PI,b=[];function f(r,a){var s=r.coordinateSystem;if(s&&s.type!=="view")return;var l=s.getBoundingRect(),n=r.getData(),u=n.graph,t=l.width/2+l.x,c=l.height/2+l.y,o=Math.min(l.width,l.height)/2,h=n.count();if(n.setLayout({cx:t,cy:c}),!h)return;i[a](r,s,u,n,o,t,c,h),u.eachEdge(function(A){var y=A.getModel().get("lineStyle.curveness")||0,O=d.clone(A.node1.getLayout()),S=d.clone(A.node2.getLayout()),E,C=(O[0]+S[0])/2,T=(O[1]+S[1])/2;+y&&(y*=3,E=[t*y+C*(1-y),c*y+T*(1-y)]),A.setLayout([O,S,E])})}var i={value:function(r,a,s,l,n,u,t,c){var o=0,h=l.getSum("value"),A=Math.PI*2/(h||c);s.eachNode(function(y){var O=y.getValue("value"),S=A*(h?O:1)/2;o+=S,y.setLayout([n*Math.cos(o)+u,n*Math.sin(o)+t]),o+=S})},symbolSize:function(r,a,s,l,n,u,t,c){var o=0;b.length=c;var h=p(r);s.eachNode(function(O){var S=g(O);isNaN(S)&&(S=2),S<0&&(S=0),S*=h;var E=Math.asin(S/2/n);isNaN(E)&&(E=v/2),b[O.dataIndex]=E,o+=E*2});var A=(2*v-o)/c/2,y=0;s.eachNode(function(O){var S=A+b[O.dataIndex];y+=S,O.setLayout([n*Math.cos(y)+u,n*Math.sin(y)+t]),y+=S})}};B.circularLayout=f},lSCD:function(J,B,e){var d=e("NykK"),x=e("GoyQ"),g="[object AsyncFunction]",p="[object Function]",v="[object GeneratorFunction]",b="[object Proxy]";function f(i){if(!x(i))return!1;var r=d(i);return r==p||r==v||r==g||r==b}J.exports=f},lUTK:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("x54q"),p=e.n(g),v=e("5Dmo")},lZu9:function(J,B,e){(function(d){d(e("VrN/"),e("1eCo"),e("8EBN"))})(function(d){"use strict";d.defineMode("markdown",function(x,g){var p=d.getMode(x,"text/html"),v=p.name=="null";function b(H){if(d.findModeByName){var _=d.findModeByName(H);_&&(H=_.mime||_.mimes[0])}var Z=d.getMode(x,H);return Z.name=="null"?null:Z}g.highlightFormatting===void 0&&(g.highlightFormatting=!1),g.maxBlockquoteDepth===void 0&&(g.maxBlockquoteDepth=0),g.taskLists===void 0&&(g.taskLists=!1),g.strikethrough===void 0&&(g.strikethrough=!1),g.emoji===void 0&&(g.emoji=!1),g.fencedCodeBlockHighlighting===void 0&&(g.fencedCodeBlockHighlighting=!0),g.fencedCodeBlockDefaultMode===void 0&&(g.fencedCodeBlockDefaultMode="text/plain"),g.xml===void 0&&(g.xml=!0),g.tokenTypeOverrides===void 0&&(g.tokenTypeOverrides={});var f={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var i in f)f.hasOwnProperty(i)&&g.tokenTypeOverrides[i]&&(f[i]=g.tokenTypeOverrides[i]);var r=/^([*\-_])(?:\s*\1){2,}\s*$/,a=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,s=/^\[(x| )\](?=\s)/i,l=g.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,n=/^ {0,3}(?:\={1,}|-{2,})\s*$/,u=/^[^#!\[\]*_\\<>` "'(~:]+/,t=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,c=/^\s*\[[^\]]+?\]:.*$/,o=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,h=" ";function A(H,_,Z){return _.f=_.inline=Z,Z(H,_)}function y(H,_,Z){return _.f=_.block=Z,Z(H,_)}function O(H){return!H||!/\S/.test(H.string)}function S(H){if(H.linkTitle=!1,H.linkHref=!1,H.linkText=!1,H.em=!1,H.strong=!1,H.strikethrough=!1,H.quote=0,H.indentedCode=!1,H.f==C){var _=v;if(!_){var Z=d.innerMode(p,H.htmlState);_=Z.mode.name=="xml"&&Z.state.tagStart===null&&!Z.state.context&&Z.state.tokenize.isInText}_&&(H.f=N,H.block=E,H.htmlState=null)}return H.trailingSpace=0,H.trailingSpaceNewLine=!1,H.prevLine=H.thisLine,H.thisLine={stream:null},null}function E(H,_){var Z=H.column()===_.indentation,Y=O(_.prevLine.stream),k=_.indentedCode,Q=_.prevLine.hr,X=_.list!==!1,he=(_.listStack[_.listStack.length-1]||0)+3;_.indentedCode=!1;var te=_.indentation;if(_.indentationDiff===null&&(_.indentationDiff=_.indentation,X)){for(_.list=null;te<_.listStack[_.listStack.length-1];)_.listStack.pop(),_.listStack.length?_.indentation=_.listStack[_.listStack.length-1]:_.list=!1;_.list!==!1&&(_.indentationDiff=te-_.listStack[_.listStack.length-1])}var pe=!Y&&!Q&&!_.prevLine.header&&(!X||!k)&&!_.prevLine.fencedCodeEnd,Se=(_.list===!1||Q||Y)&&_.indentation<=he&&H.match(r),we=null;if(_.indentationDiff>=4&&(k||_.prevLine.fencedCodeEnd||_.prevLine.header||Y))return H.skipToEnd(),_.indentedCode=!0,f.code;if(H.eatSpace())return null;if(Z&&_.indentation<=he&&(we=H.match(l))&&we[1].length<=6)return _.quote=0,_.header=we[1].length,_.thisLine.header=!0,g.highlightFormatting&&(_.formatting="header"),_.f=_.inline,w(_);if(_.indentation<=he&&H.eat(">"))return _.quote=Z?1:_.quote+1,g.highlightFormatting&&(_.formatting="quote"),H.eatSpace(),w(_);if(!Se&&!_.setext&&Z&&_.indentation<=he&&(we=H.match(a))){var We=we[1]?"ol":"ul";return _.indentation=te+H.current().length,_.list=!0,_.quote=0,_.listStack.push(_.indentation),_.em=!1,_.strong=!1,_.code=!1,_.strikethrough=!1,g.taskLists&&H.match(s,!1)&&(_.taskList=!0),_.f=_.inline,g.highlightFormatting&&(_.formatting=["list","list-"+We]),w(_)}else{if(Z&&_.indentation<=he&&(we=H.match(t,!0)))return _.quote=0,_.fencedEndRE=new RegExp(we[1]+"+ *$"),_.localMode=g.fencedCodeBlockHighlighting&&b(we[2]||g.fencedCodeBlockDefaultMode),_.localMode&&(_.localState=d.startState(_.localMode)),_.f=_.block=T,g.highlightFormatting&&(_.formatting="code-block"),_.code=-1,w(_);if(_.setext||(!pe||!X)&&!_.quote&&_.list===!1&&!_.code&&!Se&&!c.test(H.string)&&(we=H.lookAhead(1))&&(we=we.match(n)))return _.setext?(_.header=_.setext,_.setext=0,H.skipToEnd(),g.highlightFormatting&&(_.formatting="header")):(_.header=we[0].charAt(0)=="="?1:2,_.setext=_.header),_.thisLine.header=!0,_.f=_.inline,w(_);if(Se)return H.skipToEnd(),_.hr=!0,_.thisLine.hr=!0,f.hr;if(H.peek()==="[")return A(H,_,M)}return A(H,_,_.inline)}function C(H,_){var Z=p.token(H,_.htmlState);if(!v){var Y=d.innerMode(p,_.htmlState);(Y.mode.name=="xml"&&Y.state.tagStart===null&&!Y.state.context&&Y.state.tokenize.isInText||_.md_inside&&H.current().indexOf(">")>-1)&&(_.f=N,_.block=E,_.htmlState=null)}return Z}function T(H,_){var Z=_.listStack[_.listStack.length-1]||0,Y=_.indentation<Z,k=Z+3;if(_.fencedEndRE&&_.indentation<=k&&(Y||H.match(_.fencedEndRE))){g.highlightFormatting&&(_.formatting="code-block");var Q;return Y||(Q=w(_)),_.localMode=_.localState=null,_.block=E,_.f=N,_.fencedEndRE=null,_.code=0,_.thisLine.fencedCodeEnd=!0,Y?y(H,_,_.block):Q}else return _.localMode?_.localMode.token(H,_.localState):(H.skipToEnd(),f.code)}function w(H){var _=[];if(H.formatting){_.push(f.formatting),typeof H.formatting=="string"&&(H.formatting=[H.formatting]);for(var Z=0;Z<H.formatting.length;Z++)_.push(f.formatting+"-"+H.formatting[Z]),H.formatting[Z]==="header"&&_.push(f.formatting+"-"+H.formatting[Z]+"-"+H.header),H.formatting[Z]==="quote"&&(!g.maxBlockquoteDepth||g.maxBlockquoteDepth>=H.quote?_.push(f.formatting+"-"+H.formatting[Z]+"-"+H.quote):_.push("error"))}if(H.taskOpen)return _.push("meta"),_.length?_.join(" "):null;if(H.taskClosed)return _.push("property"),_.length?_.join(" "):null;if(H.linkHref?_.push(f.linkHref,"url"):(H.strong&&_.push(f.strong),H.em&&_.push(f.em),H.strikethrough&&_.push(f.strikethrough),H.emoji&&_.push(f.emoji),H.linkText&&_.push(f.linkText),H.code&&_.push(f.code),H.image&&_.push(f.image),H.imageAltText&&_.push(f.imageAltText,"link"),H.imageMarker&&_.push(f.imageMarker)),H.header&&_.push(f.header,f.header+"-"+H.header),H.quote&&(_.push(f.quote),!g.maxBlockquoteDepth||g.maxBlockquoteDepth>=H.quote?_.push(f.quote+"-"+H.quote):_.push(f.quote+"-"+g.maxBlockquoteDepth)),H.list!==!1){var Y=(H.listStack.length-1)%3;Y?Y===1?_.push(f.list2):_.push(f.list3):_.push(f.list1)}return H.trailingSpaceNewLine?_.push("trailing-space-new-line"):H.trailingSpace&&_.push("trailing-space-"+(H.trailingSpace%2?"a":"b")),_.length?_.join(" "):null}function L(H,_){return H.match(u,!0)?w(_):void 0}function N(H,_){var Z=_.text(H,_);if(typeof Z!="undefined")return Z;if(_.list)return _.list=null,w(_);if(_.taskList){var Y=H.match(s,!0)[1]===" ";return Y?_.taskOpen=!0:_.taskClosed=!0,g.highlightFormatting&&(_.formatting="task"),_.taskList=!1,w(_)}if(_.taskOpen=!1,_.taskClosed=!1,_.header&&H.match(/^#+$/,!0))return g.highlightFormatting&&(_.formatting="header"),w(_);var k=H.next();if(_.linkTitle){_.linkTitle=!1;var Q=k;k==="("&&(Q=")"),Q=(Q+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var X="^\\s*(?:[^"+Q+"\\\\]+|\\\\\\\\|\\\\.)"+Q;if(H.match(new RegExp(X),!0))return f.linkHref}if(k==="`"){var he=_.formatting;g.highlightFormatting&&(_.formatting="code"),H.eatWhile("`");var te=H.current().length;if(_.code==0&&(!_.quote||te==1))return _.code=te,w(_);if(te==_.code){var pe=w(_);return _.code=0,pe}else return _.formatting=he,w(_)}else if(_.code)return w(_);if(k==="\\"&&(H.next(),g.highlightFormatting)){var Se=w(_),we=f.formatting+"-escape";return Se?Se+" "+we:we}if(k==="!"&&H.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return _.imageMarker=!0,_.image=!0,g.highlightFormatting&&(_.formatting="image"),w(_);if(k==="["&&_.imageMarker&&H.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return _.imageMarker=!1,_.imageAltText=!0,g.highlightFormatting&&(_.formatting="image"),w(_);if(k==="]"&&_.imageAltText){g.highlightFormatting&&(_.formatting="image");var Se=w(_);return _.imageAltText=!1,_.image=!1,_.inline=_.f=F,Se}if(k==="["&&!_.image)return _.linkText&&H.match(/^.*?\]/)||(_.linkText=!0,g.highlightFormatting&&(_.formatting="link")),w(_);if(k==="]"&&_.linkText){g.highlightFormatting&&(_.formatting="link");var Se=w(_);return _.linkText=!1,_.inline=_.f=H.match(/\(.*?\)| ?\[.*?\]/,!1)?F:N,Se}if(k==="<"&&H.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){_.f=_.inline=D,g.highlightFormatting&&(_.formatting="link");var Se=w(_);return Se?Se+=" ":Se="",Se+f.linkInline}if(k==="<"&&H.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){_.f=_.inline=D,g.highlightFormatting&&(_.formatting="link");var Se=w(_);return Se?Se+=" ":Se="",Se+f.linkEmail}if(g.xml&&k==="<"&&H.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var We=H.string.indexOf(">",H.pos);if(We!=-1){var qe=H.string.substring(H.start,We);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(qe)&&(_.md_inside=!0)}return H.backUp(1),_.htmlState=d.startState(p),y(H,_,C)}if(g.xml&&k==="<"&&H.match(/^\/\w*?>/))return _.md_inside=!1,"tag";if(k==="*"||k==="_"){for(var yt=1,_e=H.pos==1?" ":H.string.charAt(H.pos-2);yt<3&&H.eat(k);)yt++;var je=H.peek()||" ",Ct=!/\s/.test(je)&&(!o.test(je)||/\s/.test(_e)||o.test(_e)),ct=!/\s/.test(_e)&&(!o.test(_e)||/\s/.test(je)||o.test(je)),nt=null,bt=null;if(yt%2&&(!_.em&&Ct&&(k==="*"||!ct||o.test(_e))?nt=!0:_.em==k&&ct&&(k==="*"||!Ct||o.test(je))&&(nt=!1)),yt>1&&(!_.strong&&Ct&&(k==="*"||!ct||o.test(_e))?bt=!0:_.strong==k&&ct&&(k==="*"||!Ct||o.test(je))&&(bt=!1)),bt!=null||nt!=null){g.highlightFormatting&&(_.formatting=nt==null?"strong":bt==null?"em":"strong em"),nt===!0&&(_.em=k),bt===!0&&(_.strong=k);var pe=w(_);return nt===!1&&(_.em=!1),bt===!1&&(_.strong=!1),pe}}else if(k===" "&&(H.eat("*")||H.eat("_"))){if(H.peek()===" ")return w(_);H.backUp(1)}if(g.strikethrough){if(k==="~"&&H.eatWhile(k)){if(_.strikethrough){g.highlightFormatting&&(_.formatting="strikethrough");var pe=w(_);return _.strikethrough=!1,pe}else if(H.match(/^[^\s]/,!1))return _.strikethrough=!0,g.highlightFormatting&&(_.formatting="strikethrough"),w(_)}else if(k===" "&&H.match(/^~~/,!0)){if(H.peek()===" ")return w(_);H.backUp(2)}}if(g.emoji&&k===":"&&H.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){_.emoji=!0,g.highlightFormatting&&(_.formatting="emoji");var dt=w(_);return _.emoji=!1,dt}return k===" "&&(H.match(/^ +$/,!1)?_.trailingSpace++:_.trailingSpace&&(_.trailingSpaceNewLine=!0)),w(_)}function D(H,_){var Z=H.next();if(Z===">"){_.f=_.inline=N,g.highlightFormatting&&(_.formatting="link");var Y=w(_);return Y?Y+=" ":Y="",Y+f.linkInline}return H.match(/^[^>]+/,!0),f.linkInline}function F(H,_){if(H.eatSpace())return null;var Z=H.next();return Z==="("||Z==="["?(_.f=_.inline=U(Z==="("?")":"]"),g.highlightFormatting&&(_.formatting="link-string"),_.linkHref=!0,w(_)):"error"}var R={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function U(H){return function(_,Z){var Y=_.next();if(Y===H){Z.f=Z.inline=N,g.highlightFormatting&&(Z.formatting="link-string");var k=w(Z);return Z.linkHref=!1,k}return _.match(R[H]),Z.linkHref=!0,w(Z)}}function M(H,_){return H.match(/^([^\]\\]|\\.)*\]:/,!1)?(_.f=j,H.next(),g.highlightFormatting&&(_.formatting="link"),_.linkText=!0,w(_)):A(H,_,N)}function j(H,_){if(H.match(/^\]:/,!0)){_.f=_.inline=P,g.highlightFormatting&&(_.formatting="link");var Z=w(_);return _.linkText=!1,Z}return H.match(/^([^\]\\]|\\.)+/,!0),f.linkText}function P(H,_){return H.eatSpace()?null:(H.match(/^[^\s]+/,!0),H.peek()===void 0?_.linkTitle=!0:H.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),_.f=_.inline=N,f.linkHref+" url")}var K={startState:function(){return{f:E,prevLine:{stream:null},thisLine:{stream:null},block:E,htmlState:null,indentation:0,inline:N,text:L,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(_){return{f:_.f,prevLine:_.prevLine,thisLine:_.thisLine,block:_.block,htmlState:_.htmlState&&d.copyState(p,_.htmlState),indentation:_.indentation,localMode:_.localMode,localState:_.localMode?d.copyState(_.localMode,_.localState):null,inline:_.inline,text:_.text,formatting:!1,linkText:_.linkText,linkTitle:_.linkTitle,linkHref:_.linkHref,code:_.code,em:_.em,strong:_.strong,strikethrough:_.strikethrough,emoji:_.emoji,header:_.header,setext:_.setext,hr:_.hr,taskList:_.taskList,list:_.list,listStack:_.listStack.slice(0),quote:_.quote,indentedCode:_.indentedCode,trailingSpace:_.trailingSpace,trailingSpaceNewLine:_.trailingSpaceNewLine,md_inside:_.md_inside,fencedEndRE:_.fencedEndRE}},token:function(_,Z){if(Z.formatting=!1,_!=Z.thisLine.stream){if(Z.header=0,Z.hr=!1,_.match(/^\s*$/,!0))return S(Z),null;if(Z.prevLine=Z.thisLine,Z.thisLine={stream:_},Z.taskList=!1,Z.trailingSpace=0,Z.trailingSpaceNewLine=!1,!Z.localState&&(Z.f=Z.block,Z.f!=C)){var Y=_.match(/^\s*/,!0)[0].replace(/\t/g,h).length;if(Z.indentation=Y,Z.indentationDiff=null,Y>0)return null}}return Z.f(_,Z)},innerMode:function(_){return _.block==C?{state:_.htmlState,mode:p}:_.localState?{state:_.localState,mode:_.localMode}:{state:_,mode:K}},indent:function(_,Z,Y){return _.block==C&&p.indent?p.indent(_.htmlState,Z,Y):_.localState&&_.localMode.indent?_.localMode.indent(_.localState,Z,Y):d.Pass},blankLine:S,getType:w,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return K},"xml"),d.defineMIME("text/markdown","markdown"),d.defineMIME("text/x-markdown","markdown")})},laiN:function(J,B,e){var d=e("ProS");e("GVMX"),e("MH26"),d.registerPreprocessor(function(x){x.markLine=x.markLine||{}})},ljhN:function(J,B){function e(d,x){return d===x||d!==d&&x!==x}J.exports=e},lnY3:function(J,B,e){},loD1:function(J,B){function e(d,x,g,p,v,b,f){if(v===0)return!1;var i=v,r=0,a=d;if(f>x+i&&f>p+i||f<x-i&&f<p-i||b>d+i&&b>g+i||b<d-i&&b<g-i)return!1;if(d!==g)r=(x-p)/(d-g),a=(d*p-g*x)/(d-g);else return Math.abs(b-d)<=i/2;var s=r*b-f+a,l=s*s/(r*r+1);return l<=i/2*i/2}B.containStroke=e},lrIw:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("cDf5"),p=e.n(g),v=e("J4zp"),b=e.n(v),f=e("q1tI"),i=e.n(f),r=e("Zm9Q"),a=e("TSYQ"),s=e.n(a),l=e("BGR+"),n=e("2fM7"),u=e("H84U"),t=e("uaoM"),c=e("0n0R"),o=n.a.Option,h=n.a;function A(S){return S&&S.type&&(S.type.isSelectOption||S.type.isSelectOptGroup)}var y=function(E,C){var T=E.prefixCls,w=E.className,L=E.children,N=E.dataSource,D=Object(r.a)(L),F=f.useRef();f.useImperativeHandle(C,function(){return F.current});var R;if(D.length===1&&Object(c.b)(D[0])&&!A(D[0])){var U=b()(D,1);R=U[0]}var M=function(){return R},j;return D.length&&A(D[0])?j=L:j=N?N.map(function(P){if(Object(c.b)(P))return P;switch(p()(P)){case"string":return f.createElement(o,{key:P,value:P},P);case"object":{var K=P.value;return f.createElement(o,{key:K,value:K},P.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],f.useEffect(function(){Object(t.a)(!("dataSource"in E),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(t.a)(!R||!("size"in E),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),f.createElement(u.a,null,function(P){var K=P.getPrefixCls,H=K("select",T);return f.createElement(h,x()({ref:F},Object(l.default)(E,["dataSource"]),{prefixCls:H,className:s()(w,"".concat(H,"-auto-complete")),mode:n.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:M}),j)})},O=f.forwardRef(y);O.Option=o,B.a=O},lwQL:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("9wZj"),p=e("c8qY"),v=e("SgGq"),b=e("Ae+d"),f=e("xSat"),i=f.onIrrelevantElement,r=e("IwbS"),a=e("SA8n"),s=e("U/Mo"),l=s.getNodeGlobalScale,n="__focusNodeAdjacency",u="__unfocusNodeAdjacency",t=["itemStyle","opacity"],c=["lineStyle","opacity"];function o(O,S){var E=O.getVisual("opacity");return E!=null?E:O.getModel().get(S)}function h(O,S,E){var C=O.getGraphicEl(),T=o(O,S);E!=null&&(T==null&&(T=1),T*=E),C.downplay&&C.downplay(),C.traverse(function(w){if(!w.isGroup){var L=w.lineLabelOriginalOpacity;(L==null||E!=null)&&(L=T),w.setStyle("opacity",L)}})}function A(O,S){var E=o(O,S),C=O.getGraphicEl();C.traverse(function(T){!T.isGroup&&T.setStyle("opacity",E)}),C.highlight&&C.highlight()}var y=d.extendChartView({type:"graph",init:function(O,S){var E=new g,C=new p,T=this.group;this._controller=new v(S.getZr()),this._controllerHost={target:T},T.add(E.group),T.add(C.group),this._symbolDraw=E,this._lineDraw=C,this._firstRender=!0},render:function(O,S,E){var C=this,T=O.coordinateSystem;this._model=O;var w=this._symbolDraw,L=this._lineDraw,N=this.group;if(T.type==="view"){var D={position:T.position,scale:T.scale};this._firstRender?N.attr(D):r.updateProps(N,D,O)}a(O.getGraph(),l(O));var F=O.getData();w.updateData(F);var R=O.getEdgeData();L.updateData(R),this._updateNodeAndLinkScale(),this._updateController(O,S,E),clearTimeout(this._layoutTimeout);var U=O.forceLayout,M=O.get("force.layoutAnimation");U&&this._startForceLayoutIteration(U,M),F.eachItemGraphicEl(function(H,_){var Z=F.getItemModel(_);H.off("drag").off("dragend");var Y=Z.get("draggable");Y&&H.on("drag",function(){U&&(U.warmUp(),!this._layouting&&this._startForceLayoutIteration(U,M),U.setFixed(_),F.setItemLayout(_,H.position))},this).on("dragend",function(){U&&U.setUnfixed(_)},this),H.setDraggable(Y&&U),H[n]&&H.off("mouseover",H[n]),H[u]&&H.off("mouseout",H[u]),Z.get("focusNodeAdjacency")&&(H.on("mouseover",H[n]=function(){C._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:O.id,dataIndex:H.dataIndex})}),H.on("mouseout",H[u]=function(){C._dispatchUnfocus(E)}))},this),F.graph.eachEdge(function(H){var _=H.getGraphicEl();_[n]&&_.off("mouseover",_[n]),_[u]&&_.off("mouseout",_[u]),H.getModel().get("focusNodeAdjacency")&&(_.on("mouseover",_[n]=function(){C._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:O.id,edgeDataIndex:H.dataIndex})}),_.on("mouseout",_[u]=function(){C._dispatchUnfocus(E)}))});var j=O.get("layout")==="circular"&&O.get("circular.rotateLabel"),P=F.getLayout("cx"),K=F.getLayout("cy");F.eachItemGraphicEl(function(H,_){var Z=F.getItemModel(_),Y=Z.get("label.rotate")||0,k=H.getSymbolPath();if(j){var Q=F.getItemLayout(_),X=Math.atan2(Q[1]-K,Q[0]-P);X<0&&(X=Math.PI*2+X);var he=Q[0]<P;he&&(X=X-Math.PI);var te=he?"left":"right";r.modifyLabelStyle(k,{textRotation:-X,textPosition:te,textOrigin:"center"},{textPosition:te})}else r.modifyLabelStyle(k,{textRotation:Y*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(O,S){var E=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){E._unfocusDelayTimer=null,O.dispatchAction({type:"unfocusNodeAdjacency",seriesId:E._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(O,S,E,C){var T=O.getData(),w=T.graph,L=C.dataIndex,N=C.edgeDataIndex,D=w.getNodeByIndex(L),F=w.getEdgeByIndex(N);if(!D&&!F)return;w.eachNode(function(R){h(R,t,.1)}),w.eachEdge(function(R){h(R,c,.1)}),D&&(A(D,t),x.each(D.edges,function(R){if(R.dataIndex<0)return;A(R,c),A(R.node1,t),A(R.node2,t)})),F&&(A(F,c),A(F.node1,t),A(F.node2,t))},unfocusNodeAdjacency:function(O,S,E,C){var T=O.getData().graph;T.eachNode(function(w){h(w,t)}),T.eachEdge(function(w){h(w,c)})},_startForceLayoutIteration:function(O,S){var E=this;(function C(){O.step(function(T){E.updateLayout(E._model),(E._layouting=!T)&&(S?E._layoutTimeout=setTimeout(C,16):C())})})()},_updateController:function(O,S,E){var C=this._controller,T=this._controllerHost,w=this.group;if(C.setPointerChecker(function(L,N,D){var F=w.getBoundingRect();return F.applyTransform(w.transform),F.contain(N,D)&&!i(L,E,O)}),O.coordinateSystem.type!=="view"){C.disable();return}C.enable(O.get("roam")),T.zoomLimit=O.get("scaleLimit"),T.zoom=O.coordinateSystem.getZoom(),C.off("pan").off("zoom").on("pan",function(L){b.updateViewOnPan(T,L.dx,L.dy),E.dispatchAction({seriesId:O.id,type:"graphRoam",dx:L.dx,dy:L.dy})}).on("zoom",function(L){b.updateViewOnZoom(T,L.scale,L.originX,L.originY),E.dispatchAction({seriesId:O.id,type:"graphRoam",zoom:L.scale,originX:L.originX,originY:L.originY}),this._updateNodeAndLinkScale(),a(O.getGraph(),l(O)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var O=this._model,S=O.getData(),E=l(O),C=[E,E];S.eachItemGraphicEl(function(T,w){T.attr("scale",C)})},updateLayout:function(O){a(O.getGraph(),l(O)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(O,S){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});J.exports=y},m9t5:function(J,B,e){var d=e("KCsZ"),x=d([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),g={getAreaStyle:function(p,v){return x(this,p,v)}};J.exports=g},mFDi:function(J,B,e){var d=e("QBsz"),x=e("Fofx"),g=d.applyTransform,p=Math.min,v=Math.max;function b(i,r,a,s){a<0&&(i=i+a,a=-a),s<0&&(r=r+s,s=-s),this.x=i,this.y=r,this.width=a,this.height=s}b.prototype={constructor:b,union:function(r){var a=p(r.x,this.x),s=p(r.y,this.y);this.width=v(r.x+r.width,this.x+this.width)-a,this.height=v(r.y+r.height,this.y+this.height)-s,this.x=a,this.y=s},applyTransform:function(){var i=[],r=[],a=[],s=[];return function(l){if(!l)return;i[0]=a[0]=this.x,i[1]=s[1]=this.y,r[0]=s[0]=this.x+this.width,r[1]=a[1]=this.y+this.height,g(i,i,l),g(r,r,l),g(a,a,l),g(s,s,l),this.x=p(i[0],r[0],a[0],s[0]),this.y=p(i[1],r[1],a[1],s[1]);var n=v(i[0],r[0],a[0],s[0]),u=v(i[1],r[1],a[1],s[1]);this.width=n-this.x,this.height=u-this.y}}(),calculateTransform:function(r){var a=this,s=r.width/a.width,l=r.height/a.height,n=x.create();return x.translate(n,n,[-a.x,-a.y]),x.scale(n,n,[s,l]),x.translate(n,n,[r.x,r.y]),n},intersect:function(r){if(!r)return!1;r instanceof b||(r=b.create(r));var a=this,s=a.x,l=a.x+a.width,n=a.y,u=a.y+a.height,t=r.x,c=r.x+r.width,o=r.y,h=r.y+r.height;return!(l<t||c<s||u<o||h<n)},contain:function(r,a){var s=this;return r>=s.x&&r<=s.x+s.width&&a>=s.y&&a<=s.y+s.height},clone:function(){return new b(this.x,this.y,this.width,this.height)},copy:function(r){this.x=r.x,this.y=r.y,this.width=r.width,this.height=r.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},b.create=function(i){return new b(i.x,i.y,i.width,i.height)};var f=b;J.exports=f},mLcG:function(J,B){var e=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(d){setTimeout(d,16)};J.exports=e},"mO/d":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("I9Y+"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},mOdp:function(J,B,e){var d=e("bYtY"),x=d.createHashMap;function g(p){return{getTargetSeries:function(v){var b={},f=x();return v.eachSeriesByType(p,function(i){i.__paletteScope=b,f.set(i.uid,i)}),f},reset:function(v,b){var f=v.getRawData(),i={},r=v.getData();r.each(function(a){var s=r.getRawIndex(a);i[s]=a}),f.each(function(a){var s=i[a],l=s!=null&&r.getItemVisual(s,"color",!0),n=s!=null&&r.getItemVisual(s,"borderColor",!0),u;if((!l||!n)&&(u=f.getItemModel(a)),!l){var t=u.get("itemStyle.color")||v.getColorFromPalette(f.getName(a)||a+"",v.__paletteScope,f.count());s!=null&&r.setItemVisual(s,"color",t)}if(!n){var c=u.get("itemStyle.borderColor");s!=null&&r.setItemVisual(s,"borderColor",c)}})}}}J.exports=g},mYwL:function(J,B,e){var d=e("bYtY"),x=e("IwbS"),g=e("6GrX"),p=Math.PI;function v(b,f){f=f||{},d.defaults(f,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var i=new x.Group,r=new x.Rect({style:{fill:f.maskColor},zlevel:f.zlevel,z:1e4});i.add(r);var a=f.fontSize+" sans-serif",s=new x.Rect({style:{fill:"none",text:f.text,font:a,textPosition:"right",textDistance:10,textFill:f.textColor},zlevel:f.zlevel,z:10001});if(i.add(s),f.showSpinner){var l=new x.Arc({shape:{startAngle:-p/2,endAngle:-p/2+.1,r:f.spinnerRadius},style:{stroke:f.color,lineCap:"round",lineWidth:f.lineWidth},zlevel:f.zlevel,z:10001});l.animateShape(!0).when(1e3,{endAngle:p*3/2}).start("circularInOut"),l.animateShape(!0).when(1e3,{startAngle:p*3/2}).delay(300).start("circularInOut"),i.add(l)}return i.resize=function(){var n=g.getWidth(f.text,a),u=f.showSpinner?f.spinnerRadius:0,t=(b.getWidth()-u*2-(f.showSpinner&&n?10:0)-n)/2-(f.showSpinner?0:n/2),c=b.getHeight()/2;f.showSpinner&&l.setShape({cx:t,cy:c}),s.setShape({x:t-u,y:c-u,width:u*2,height:u*2}),r.setShape({x:0,y:0,width:b.getWidth(),height:b.getHeight()})},i.resize(),i}J.exports=v},mdPL:function(J,B,e){(function(d){var x=e("WFqU"),g=B&&!B.nodeType&&B,p=g&&typeof d=="object"&&d&&!d.nodeType&&d,v=p&&p.exports===g,b=v&&x.process,f=function(){try{var i=p&&p.require&&p.require("util").types;return i||b&&b.binding&&b.binding("util")}catch(r){}}();d.exports=f}).call(this,e("YuTi")(J))},mmNF:function(J,B){var e={utf8:{stringToBytes:function(x){return e.bin.stringToBytes(unescape(encodeURIComponent(x)))},bytesToString:function(x){return decodeURIComponent(escape(e.bin.bytesToString(x)))}},bin:{stringToBytes:function(x){for(var g=[],p=0;p<x.length;p++)g.push(x.charCodeAt(p)&255);return g},bytesToString:function(x){for(var g=[],p=0;p<x.length;p++)g.push(String.fromCharCode(x[p]));return g.join("")}}};J.exports=e},mr32:function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("J4zp"),b=e.n(v),f=e("q1tI"),i=e("TSYQ"),r=e.n(i),a=e("BGR+"),s=e("V/uB"),l=e.n(s),n=e("H84U"),u=function(T,w){var L={};for(var N in T)Object.prototype.hasOwnProperty.call(T,N)&&w.indexOf(N)<0&&(L[N]=T[N]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,N=Object.getOwnPropertySymbols(T);D<N.length;D++)w.indexOf(N[D])<0&&Object.prototype.propertyIsEnumerable.call(T,N[D])&&(L[N[D]]=T[N[D]]);return L},t=function(w){var L,N=f.useContext(n.b),D=N.getPrefixCls,F=function(_){var Z=w.checked,Y=w.onChange,k=w.onClick;Y&&Y(!Z),k&&k(_)},R=w.prefixCls,U=w.className,M=w.checked,j=u(w,["prefixCls","className","checked"]),P=D("tag",R),K=r()(P,(L={},x()(L,"".concat(P,"-checkable"),!0),x()(L,"".concat(P,"-checkable-checked"),M),L),U);return delete j.onChange,f.createElement("span",p()({},j,{className:K,onClick:F}))},c=t,o=e("09Wf"),h=e("g0mS"),A=function(T,w){var L={};for(var N in T)Object.prototype.hasOwnProperty.call(T,N)&&w.indexOf(N)<0&&(L[N]=T[N]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,N=Object.getOwnPropertySymbols(T);D<N.length;D++)w.indexOf(N[D])<0&&Object.prototype.propertyIsEnumerable.call(T,N[D])&&(L[N[D]]=T[N[D]]);return L},y=new RegExp("^(".concat(o.a.join("|"),")(-inverse)?$")),O=new RegExp("^(".concat(o.b.join("|"),")$")),S=function(w,L){var N,D=w.prefixCls,F=w.className,R=w.style,U=w.children,M=w.icon,j=w.color,P=w.onClose,K=w.closeIcon,H=w.closable,_=H===void 0?!1:H,Z=A(w,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),Y=f.useContext(n.b),k=Y.getPrefixCls,Q=Y.direction,X=f.useState(!0),he=b()(X,2),te=he[0],pe=he[1];f.useEffect(function(){"visible"in Z&&pe(Z.visible)},[Z.visible]);var Se=function(){return j?y.test(j)||O.test(j):!1},we=p()({backgroundColor:j&&!Se()?j:void 0},R),We=Se(),qe=k("tag",D),yt=r()(qe,(N={},x()(N,"".concat(qe,"-").concat(j),We),x()(N,"".concat(qe,"-has-color"),j&&!We),x()(N,"".concat(qe,"-hidden"),!te),x()(N,"".concat(qe,"-rtl"),Q==="rtl"),N),F),_e=function(Qe){if(Qe.stopPropagation(),P&&P(Qe),Qe.defaultPrevented)return;"visible"in Z||pe(!1)},je=function(){return _?K?f.createElement("div",{className:"".concat(qe,"-close-icon"),onClick:_e},K):f.createElement(l.a,{className:"".concat(qe,"-close-icon"),onClick:_e}):null},Ct="onClick"in Z||U&&U.type==="a",ct=Object(a.default)(Z,["visible"]),nt=M||null,bt=nt?f.createElement(f.Fragment,null,nt,f.createElement("span",null,U)):U,dt=f.createElement("span",p()({},ct,{ref:L,className:yt,style:we}),bt,je());return Ct?f.createElement(h.a,null,dt):dt},E=f.forwardRef(S);E.displayName="Tag",E.CheckableTag=c;var C=B.a=E},n1HI:function(J,B,e){var d=e("hX1E"),x=d.normalizeRadian,g=Math.PI*2;function p(v,b,f,i,r,a,s,l,n){if(s===0)return!1;var u=s;l-=v,n-=b;var t=Math.sqrt(l*l+n*n);if(t-u>f||t+u<f)return!1;if(Math.abs(i-r)%g<1e-4)return!0;if(a){var c=i;i=x(r),r=x(c)}else i=x(i),r=x(r);i>r&&(r+=g);var o=Math.atan2(n,l);return o<0&&(o+=g),o>=i&&o<=r||o+g>=i&&o+g<=r}B.containStroke=p},n4Lv:function(J,B,e){var d=e("7hqr"),x=d.isDimensionStacked,g=e("bYtY"),p=g.map;function v(i,r,a){var s=i.getBaseAxis(),l=i.getOtherAxis(s),n=b(l,a),u=s.dim,t=l.dim,c=r.mapDimension(t),o=r.mapDimension(u),h=t==="x"||t==="radius"?1:0,A=p(i.dimensions,function(S){return r.mapDimension(S)}),y,O=r.getCalculationInfo("stackResultDimension");return(y|=x(r,A[0]))&&(A[0]=O),(y|=x(r,A[1]))&&(A[1]=O),{dataDimsForPoint:A,valueStart:n,valueAxisDim:t,baseAxisDim:u,stacked:!!y,valueDim:c,baseDim:o,baseDataOffset:h,stackedOverDimension:r.getCalculationInfo("stackedOverDimension")}}function b(i,r){var a=0,s=i.scale.getExtent();return r==="start"?a=s[0]:r==="end"?a=s[1]:s[0]>0?a=s[0]:s[1]<0&&(a=s[1]),a}function f(i,r,a,s){var l=NaN;i.stacked&&(l=a.get(a.getCalculationInfo("stackedOverDimension"),s)),isNaN(l)&&(l=i.valueStart);var n=i.baseDataOffset,u=[];return u[n]=a.get(i.baseDim,s),u[1-n]=l,r.dataToPoint(u)}B.prepareDataCoordInfo=v,B.getStackedOnPoint=f},n6Mw:function(J,B,e){var d=e("SrGk"),x=e("bYtY"),g=e("Fofx");function p(b,f){d.call(this,b,f,"clipPath","__clippath_in_use__")}x.inherits(p,d),p.prototype.update=function(b){var f=this.getSvgElement(b);f&&this.updateDom(f,b.__clipPaths,!1);var i=this.getTextSvgElement(b);i&&this.updateDom(i,b.__clipPaths,!0),this.markUsed(b)},p.prototype.updateDom=function(b,f,i){if(f&&f.length>0){var r=this.getDefs(!0),a=f[0],s,l,n=i?"_textDom":"_dom";a[n]?(l=a[n].getAttribute("id"),s=a[n],r.contains(s)||r.appendChild(s)):(l="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,s=this.createElement("clipPath"),s.setAttribute("id",l),r.appendChild(s),a[n]=s);var u=this.getSvgProxy(a);if(a.transform&&a.parent.invTransform&&!i){var t=Array.prototype.slice.call(a.transform);g.mul(a.transform,a.parent.invTransform,a.transform),u.brush(a),a.transform=t}else u.brush(a);var c=this.getSvgElement(a);s.innerHTML="",s.appendChild(c.cloneNode()),b.setAttribute("clip-path","url(#"+l+")"),f.length>1&&this.updateDom(s,f.slice(1),i)}else b&&b.setAttribute("clip-path","none")},p.prototype.markUsed=function(b){var f=this;b.__clipPaths&&x.each(b.__clipPaths,function(i){i._dom&&d.prototype.markUsed.call(f,i._dom),i._textDom&&d.prototype.markUsed.call(f,i._textDom)})};var v=p;J.exports=v},nCxF:function(J,B,e){var d=e("QBsz"),x=d.min,g=d.max,p=d.scale,v=d.distance,b=d.add,f=d.clone,i=d.sub;function r(a,s,l,n){var u=[],t=[],c=[],o=[],h,A,y,O;if(n){y=[Infinity,Infinity],O=[-Infinity,-Infinity];for(var S=0,E=a.length;S<E;S++)x(y,y,a[S]),g(O,O,a[S]);x(y,y,n[0]),g(O,O,n[1])}for(var S=0,E=a.length;S<E;S++){var C=a[S];if(l)h=a[S?S-1:E-1],A=a[(S+1)%E];else if(S===0||S===E-1){u.push(f(a[S]));continue}else h=a[S-1],A=a[S+1];i(t,A,h),p(t,t,s);var T=v(C,h),w=v(C,A),L=T+w;L!==0&&(T/=L,w/=L),p(c,t,-T),p(o,t,w);var N=b([],C,c),D=b([],C,o);n&&(g(N,N,y),x(N,N,O),g(D,D,y),x(D,D,O)),u.push(N),u.push(D)}return l&&u.push(u.shift()),u}J.exports=r},nKiI:function(J,B,e){var d=e("bYtY"),x=e("mFDi"),g=e("OELB"),p=g.parsePercent,v=g.MAX_SAFE_INTEGER,b=e("+TT/"),f=e("VaxA"),i=Math.max,r=Math.min,a=d.retrieve,s=d.each,l=["itemStyle","borderWidth"],n=["itemStyle","gapWidth"],u=["upperLabel","show"],t=["upperLabel","height"],c={seriesType:"treemap",reset:function(N,D,F,R){var U=F.getWidth(),M=F.getHeight(),j=N.option,P=b.getLayoutRect(N.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()}),K=j.size||[],H=p(a(P.width,K[0]),U),_=p(a(P.height,K[1]),M),Z=R&&R.type,Y=["treemapZoomToNode","treemapRootToNode"],k=f.retrieveTargetInfo(R,Y,N),Q=Z==="treemapRender"||Z==="treemapMove"?R.rootRect:null,X=N.getViewRoot(),he=f.getPathToRoot(X);if(Z!=="treemapMove"){var te=Z==="treemapZoomToNode"?C(N,k,X,H,_):Q?[Q.width,Q.height]:[H,_],pe=j.sort;pe&&pe!=="asc"&&pe!=="desc"&&(pe="desc");var Se={squareRatio:j.squareRatio,sort:pe,leafDepth:j.leafDepth};X.hostTree.clearLayouts();var we={x:0,y:0,width:te[0],height:te[1],area:te[0]*te[1]};X.setLayout(we),o(X,Se,!1,0);var we=X.getLayout();s(he,function(qe,yt){var _e=(he[yt+1]||X).getValue();qe.setLayout(d.extend({dataExtent:[_e,_e],borderWidth:0,upperHeight:0},we))})}var We=N.getData().tree.root;We.setLayout(T(P,Q,k),!0),N.setLayoutInfo(P),w(We,new x(-P.x,-P.y,U,M),he,X,0)}};function o(N,D,F,R){var U,M;if(N.isRemoved())return;var j=N.getLayout();U=j.width,M=j.height;var P=N.getModel(),K=P.get(l),H=P.get(n)/2,_=L(P),Z=Math.max(K,_),Y=K-H,k=Z-H,P=N.getModel();N.setLayout({borderWidth:K,upperHeight:Z,upperLabelHeight:_},!0),U=i(U-2*Y,0),M=i(M-Y-k,0);var Q=U*M,X=h(N,P,Q,D,F,R);if(!X.length)return;var he={x:Y,y:k,width:U,height:M},te=r(U,M),pe=Infinity,Se=[];Se.area=0;for(var we=0,We=X.length;we<We;){var qe=X[we];Se.push(qe),Se.area+=qe.getLayout().area;var yt=S(Se,te,D.squareRatio);yt<=pe?(we++,pe=yt):(Se.area-=Se.pop().getLayout().area,E(Se,te,he,H,!1),te=r(he.width,he.height),Se.length=Se.area=0,pe=Infinity)}if(Se.length&&E(Se,te,he,H,!0),!F){var _e=P.get("childrenVisibleMin");_e!=null&&Q<_e&&(F=!0)}for(var we=0,We=X.length;we<We;we++)o(X[we],D,F,R+1)}function h(N,D,F,R,U,M){var j=N.children||[],P=R.sort;P!=="asc"&&P!=="desc"&&(P=null);var K=R.leafDepth!=null&&R.leafDepth<=M;if(U&&!K)return N.viewChildren=[];j=d.filter(j,function(k){return!k.isRemoved()}),y(j,P);var H=O(D,j,P);if(H.sum===0)return N.viewChildren=[];if(H.sum=A(D,F,H.sum,P,j),H.sum===0)return N.viewChildren=[];for(var _=0,Z=j.length;_<Z;_++){var Y=j[_].getValue()/H.sum*F;j[_].setLayout({area:Y})}return K&&(j.length&&N.setLayout({isLeafRoot:!0},!0),j.length=0),N.viewChildren=j,N.setLayout({dataExtent:H.dataExtent},!0),j}function A(N,D,F,R,U){if(!R)return F;for(var M=N.get("visibleMin"),j=U.length,P=j,K=j-1;K>=0;K--){var H=U[R==="asc"?j-K-1:K].getValue();H/F*D<M&&(P=K,F-=H)}return R==="asc"?U.splice(0,j-P):U.splice(P,j-P),F}function y(N,D){return D&&N.sort(function(F,R){var U=D==="asc"?F.getValue()-R.getValue():R.getValue()-F.getValue();return U===0?D==="asc"?F.dataIndex-R.dataIndex:R.dataIndex-F.dataIndex:U}),N}function O(N,D,F){for(var R=0,U=0,M=D.length;U<M;U++)R+=D[U].getValue();var j=N.get("visualDimension"),P;if(!D||!D.length)P=[NaN,NaN];else if(j==="value"&&F)P=[D[D.length-1].getValue(),D[0].getValue()],F==="asc"&&P.reverse();else{var P=[Infinity,-Infinity];s(D,function(H){var _=H.getValue(j);_<P[0]&&(P[0]=_),_>P[1]&&(P[1]=_)})}return{sum:R,dataExtent:P}}function S(N,D,F){for(var R=0,U=Infinity,M=0,j,P=N.length;M<P;M++)j=N[M].getLayout().area,j&&(j<U&&(U=j),j>R&&(R=j));var K=N.area*N.area,H=D*D*F;return K?i(H*R/K,K/(H*U)):Infinity}function E(N,D,F,R,U){var M=D===F.width?0:1,j=1-M,P=["x","y"],K=["width","height"],H=F[P[M]],_=D?N.area/D:0;(U||_>F[K[j]])&&(_=F[K[j]]);for(var Z=0,Y=N.length;Z<Y;Z++){var k=N[Z],Q={},X=_?k.getLayout().area/_:0,he=Q[K[j]]=i(_-2*R,0),te=F[P[M]]+F[K[M]]-H,pe=Z===Y-1||te<X?te:X,Se=Q[K[M]]=i(pe-2*R,0);Q[P[j]]=F[P[j]]+r(R,he/2),Q[P[M]]=H+r(R,Se/2),H+=pe,k.setLayout(Q,!0)}F[P[j]]+=_,F[K[j]]-=_}function C(N,D,F,R,U){var M=(D||{}).node,j=[R,U];if(!M||M===F)return j;for(var P,K=R*U,H=K*N.option.zoomToNodeRatio;P=M.parentNode;){for(var _=0,Z=P.children,Y=0,k=Z.length;Y<k;Y++)_+=Z[Y].getValue();var Q=M.getValue();if(Q===0)return j;H*=_/Q;var X=P.getModel(),he=X.get(l),te=Math.max(he,L(X,he));H+=4*he*he+(3*he+te)*Math.pow(H,.5),H>v&&(H=v),M=P}H<K&&(H=K);var pe=Math.pow(H/K,.5);return[R*pe,U*pe]}function T(N,D,F){if(D)return{x:D.x,y:D.y};var R={x:0,y:0};if(!F)return R;var U=F.node,M=U.getLayout();if(!M)return R;for(var j=[M.width/2,M.height/2],P=U;P;){var K=P.getLayout();j[0]+=K.x,j[1]+=K.y,P=P.parentNode}return{x:N.width/2-j[0],y:N.height/2-j[1]}}function w(N,D,F,R,U){var M=N.getLayout(),j=F[U],P=j&&j===N;if(j&&!P||U===F.length&&N!==R)return;N.setLayout({isInView:!0,invisible:!P&&!D.intersect(M),isAboveViewRoot:P},!0);var K=new x(D.x-M.x,D.y-M.y,D.width,D.height);s(N.viewChildren||[],function(H){w(H,K,F,R,U+1)})}function L(N){return N.get(u)?N.get(t):0}J.exports=c},nPnh:function(J,B){var e=Math.round;function d(p,v,b){if(!v)return;var f=v.x1,i=v.x2,r=v.y1,a=v.y2;p.x1=f,p.x2=i,p.y1=r,p.y2=a;var s=b&&b.lineWidth;if(!s)return;e(f*2)===e(i*2)&&(p.x1=p.x2=g(f,s,!0)),e(r*2)===e(a*2)&&(p.y1=p.y2=g(r,s,!0))}function x(p,v,b){if(!v)return;var f=v.x,i=v.y,r=v.width,a=v.height;p.x=f,p.y=i,p.width=r,p.height=a;var s=b&&b.lineWidth;if(!s)return;p.x=g(f,s,!0),p.y=g(i,s,!0),p.width=Math.max(g(f+r,s,!1)-p.x,r===0?0:1),p.height=Math.max(g(i+a,s,!1)-p.y,a===0?0:1)}function g(p,v,b){if(!v)return p;var f=e(p*2);return(f+e(v))%2===0?f/2:(f+(b?1:-1))/2}B.subPixelOptimizeLine=d,B.subPixelOptimizeRect=x,B.subPixelOptimize=g},nRaC:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("0fbx"),p=e.n(g),v=e("OaEy"),b=e("R9oj")},nVfU:function(J,B,e){var d=e("bYtY"),x=e("OELB"),g=x.parsePercent,p=e("7hqr"),v=p.isDimensionStacked,b=e("zM3Q"),f="__ec_stack_",i=.5,r=typeof Float32Array!="undefined"?Float32Array:Array;function a(E){return E.get("stack")||f+E.seriesIndex}function s(E){return E.dim+E.index}function l(E){var C=[],T=E.axis,w="axis0";if(T.type!=="category")return;for(var L=T.getBandWidth(),N=0;N<E.count||0;N++)C.push(d.defaults({bandWidth:L,axisKey:w,stackId:f+N},E));for(var D=c(C),F=[],N=0;N<E.count;N++){var R=D[w][f+N];R.offsetCenter=R.offset+R.width/2,F.push(R)}return F}function n(E,C){var T=[];return C.eachSeriesByType(E,function(w){y(w)&&!O(w)&&T.push(w)}),T}function u(E){var C={};d.each(E,function(R){var U=R.coordinateSystem,M=U.getBaseAxis();if(M.type!=="time"&&M.type!=="value")return;for(var j=R.getData(),P=M.dim+"_"+M.index,K=j.mapDimension(M.dim),H=0,_=j.count();H<_;++H){var Z=j.get(K,H);C[P]?C[P].push(Z):C[P]=[Z]}});var T=[];for(var w in C)if(C.hasOwnProperty(w)){var L=C[w];if(L){L.sort(function(R,U){return R-U});for(var N=null,D=1;D<L.length;++D){var F=L[D]-L[D-1];F>0&&(N=N===null?F:Math.min(N,F))}T[w]=N}}return T}function t(E){var C=u(E),T=[];return d.each(E,function(w){var L=w.coordinateSystem,N=L.getBaseAxis(),D=N.getExtent(),F;if(N.type==="category")F=N.getBandWidth();else if(N.type==="value"||N.type==="time"){var R=N.dim+"_"+N.index,U=C[R],M=Math.abs(D[1]-D[0]),j=N.scale.getExtent(),P=Math.abs(j[1]-j[0]);F=U?M/P*U:M}else{var K=w.getData();F=Math.abs(D[1]-D[0])/K.count()}var H=g(w.get("barWidth"),F),_=g(w.get("barMaxWidth"),F),Z=g(w.get("barMinWidth")||1,F),Y=w.get("barGap"),k=w.get("barCategoryGap");T.push({bandWidth:F,barWidth:H,barMaxWidth:_,barMinWidth:Z,barGap:Y,barCategoryGap:k,axisKey:s(N),stackId:a(w)})}),c(T)}function c(E){var C={};d.each(E,function(w,L){var N=w.axisKey,D=w.bandWidth,F=C[N]||{bandWidth:D,remainedWidth:D,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},R=F.stacks;C[N]=F;var U=w.stackId;R[U]||F.autoWidthCount++,R[U]=R[U]||{width:0,maxWidth:0};var M=w.barWidth;M&&!R[U].width&&(R[U].width=M,M=Math.min(F.remainedWidth,M),F.remainedWidth-=M);var j=w.barMaxWidth;j&&(R[U].maxWidth=j);var P=w.barMinWidth;P&&(R[U].minWidth=P);var K=w.barGap;K!=null&&(F.gap=K);var H=w.barCategoryGap;H!=null&&(F.categoryGap=H)});var T={};return d.each(C,function(w,L){T[L]={};var N=w.stacks,D=w.bandWidth,F=g(w.categoryGap,D),R=g(w.gap,1),U=w.remainedWidth,M=w.autoWidthCount,j=(U-F)/(M+(M-1)*R);j=Math.max(j,0),d.each(N,function(_){var Z=_.maxWidth,Y=_.minWidth;if(_.width){var k=_.width;Z&&(k=Math.min(k,Z)),Y&&(k=Math.max(k,Y)),_.width=k,U-=k+R*k,M--}else{var k=j;Z&&Z<k&&(k=Math.min(Z,U)),Y&&Y>k&&(k=Y),k!==j&&(_.width=k,U-=k+R*k,M--)}}),j=(U-F)/(M+(M-1)*R),j=Math.max(j,0);var P=0,K;d.each(N,function(_,Z){_.width||(_.width=j),K=_,P+=_.width*(1+R)}),K&&(P-=K.width*R);var H=-P/2;d.each(N,function(_,Z){T[L][Z]=T[L][Z]||{bandWidth:D,offset:H,width:_.width},H+=_.width*(1+R)})}),T}function o(E,C,T){if(E&&C){var w=E[s(C)];return w!=null&&T!=null&&(w=w[a(T)]),w}}function h(E,C){var T=n(E,C),w=t(T),L={},N={};d.each(T,function(D){var F=D.getData(),R=D.coordinateSystem,U=R.getBaseAxis(),M=a(D),j=w[s(U)][M],P=j.offset,K=j.width,H=R.getOtherAxis(U),_=D.get("barMinHeight")||0;L[M]=L[M]||[],N[M]=N[M]||[],F.setLayout({bandWidth:j.bandWidth,offset:P,size:K});for(var Z=F.mapDimension(H.dim),Y=F.mapDimension(U.dim),k=v(F,Z),Q=H.isHorizontal(),X=S(U,H,k),he=0,te=F.count();he<te;he++){var pe=F.get(Z,he),Se=F.get(Y,he),we=pe>=0?"p":"n",We=X;k&&(L[M][Se]||(L[M][Se]={p:X,n:X}),We=L[M][Se][we]);var qe,yt,_e,je;if(Q){var Ct=R.dataToPoint([pe,Se]);qe=We,yt=Ct[1]+P,_e=Ct[0]-X,je=K,Math.abs(_e)<_&&(_e=(_e<0?-1:1)*_),isNaN(_e)||k&&(L[M][Se][we]+=_e)}else{var Ct=R.dataToPoint([Se,pe]);qe=Ct[0]+P,yt=We,_e=K,je=Ct[1]-X,Math.abs(je)<_&&(je=(je<=0?-1:1)*_),isNaN(je)||k&&(L[M][Se][we]+=je)}F.setItemLayout(he,{x:qe,y:yt,width:_e,height:je})}},this)}var A={seriesType:"bar",plan:b(),reset:function(E){if(!y(E)||!O(E))return;var C=E.getData(),T=E.coordinateSystem,w=T.grid.getRect(),L=T.getBaseAxis(),N=T.getOtherAxis(L),D=C.mapDimension(N.dim),F=C.mapDimension(L.dim),R=N.isHorizontal(),U=R?0:1,M=o(t([E]),L,E).width;return M>i||(M=i),{progress:j};function j(P,K){for(var H=P.count,_=new r(H*2),Z=new r(H*2),Y=new r(H),k,Q=[],X=[],he=0,te=0;(k=P.next())!=null;)X[U]=K.get(D,k),X[1-U]=K.get(F,k),Q=T.dataToPoint(X,null,Q),Z[he]=R?w.x+w.width:Q[0],_[he++]=Q[0],Z[he]=R?Q[1]:w.y+w.height,_[he++]=Q[1],Y[te++]=k;K.setLayout({largePoints:_,largeDataIndices:Y,largeBackgroundPoints:Z,barWidth:M,valueAxisStart:S(L,N,!1),backgroundStart:R?w.x:w.y,valueAxisHorizontal:R})}}};function y(E){return E.coordinateSystem&&E.coordinateSystem.type==="cartesian2d"}function O(E){return E.pipelineContext&&E.pipelineContext.large}function S(E,C,T){return C.toGlobalCoord(C.dataToCoord(C.type==="log"?1:0))}B.getLayoutOnAxis=l,B.prepareLayoutBarSeries=n,B.makeColumnLayout=t,B.retrieveColumnLayout=o,B.layout=h,B.largeLayout=A},ngQI:function(J,B,e){"use strict";e.d(B,"a",function(){return Hl}),e.d(B,"b",function(){return ql}),e.d(B,"c",function(){return ol});var d=e("q1tI"),x=e.n(d),g=e("dI71"),p=e("wx14"),v=e("ANjH"),b=e("/MKj");function f(He,ne){if(He.length!==ne.length)return!1;for(var Ee=0;Ee<He.length;Ee++)if(He[Ee]!==ne[Ee])return!1;return!0}function i(He,ne){var Ee=Object(d.useState)(function(){return{inputs:ne,result:He()}})[0],tt=Object(d.useRef)(Ee),Tt=Boolean(ne&&tt.current.inputs&&f(ne,tt.current.inputs)),Yt=Tt?tt.current:{inputs:ne,result:He()};return Object(d.useEffect)(function(){tt.current=Yt},[Yt]),Yt.result}function r(He,ne){return i(function(){return He},ne)}var a=i,s=r,l=e("9R94"),n=function(ne){var Ee=ne.top,tt=ne.right,Tt=ne.bottom,Yt=ne.left,nr=tt-Yt,ar=Tt-Ee,vr={top:Ee,right:tt,bottom:Tt,left:Yt,width:nr,height:ar,x:Yt,y:Ee,center:{x:(tt+Yt)/2,y:(Tt+Ee)/2}};return vr},u=function(ne,Ee){return{top:ne.top-Ee.top,left:ne.left-Ee.left,bottom:ne.bottom+Ee.bottom,right:ne.right+Ee.right}},t=function(ne,Ee){return{top:ne.top+Ee.top,left:ne.left+Ee.left,bottom:ne.bottom-Ee.bottom,right:ne.right-Ee.right}},c=function(ne,Ee){return{top:ne.top+Ee.y,left:ne.left+Ee.x,bottom:ne.bottom+Ee.y,right:ne.right+Ee.x}},o={top:0,right:0,bottom:0,left:0},h=function(ne){var Ee=ne.borderBox,tt=ne.margin,Tt=tt===void 0?o:tt,Yt=ne.border,nr=Yt===void 0?o:Yt,ar=ne.padding,vr=ar===void 0?o:ar,Vr=n(u(Ee,Tt)),Yr=n(t(Ee,nr)),kr=n(t(Yr,vr));return{marginBox:Vr,borderBox:n(Ee),paddingBox:Yr,contentBox:kr,margin:Tt,border:nr,padding:vr}},A=function(ne){var Ee=ne.slice(0,-2),tt=ne.slice(-2);if(tt!=="px")return 0;var Tt=Number(Ee);return isNaN(Tt)&&Object(l.a)(!1),Tt},y=function(){return{x:window.pageXOffset,y:window.pageYOffset}},O=function(ne,Ee){var tt=ne.borderBox,Tt=ne.border,Yt=ne.margin,nr=ne.padding,ar=c(tt,Ee);return h({borderBox:ar,border:Tt,margin:Yt,padding:nr})},S=function(ne,Ee){return Ee===void 0&&(Ee=y()),O(ne,Ee)},E=function(ne,Ee){var tt={top:A(Ee.marginTop),right:A(Ee.marginRight),bottom:A(Ee.marginBottom),left:A(Ee.marginLeft)},Tt={top:A(Ee.paddingTop),right:A(Ee.paddingRight),bottom:A(Ee.paddingBottom),left:A(Ee.paddingLeft)},Yt={top:A(Ee.borderTopWidth),right:A(Ee.borderRightWidth),bottom:A(Ee.borderBottomWidth),left:A(Ee.borderLeftWidth)};return h({borderBox:ne,margin:tt,padding:Tt,border:Yt})},C=function(ne){var Ee=ne.getBoundingClientRect(),tt=window.getComputedStyle(ne);return E(Ee,tt)};function T(He,ne){if(He.length!==ne.length)return!1;for(var Ee=0;Ee<He.length;Ee++)if(He[Ee]!==ne[Ee])return!1;return!0}function w(He,ne){ne===void 0&&(ne=T);var Ee,tt=[],Tt,Yt=!1;function nr(){for(var ar=[],vr=0;vr<arguments.length;vr++)ar[vr]=arguments[vr];return Yt&&Ee===this&&ne(ar,tt)||(Tt=He.apply(this,ar),Yt=!0,Ee=this,tt=ar),Tt}return nr}var L=w,N=function(ne){var Ee=[],tt=null,Tt=function(){for(var nr=arguments.length,ar=new Array(nr),vr=0;vr<nr;vr++)ar[vr]=arguments[vr];if(Ee=ar,tt)return;tt=requestAnimationFrame(function(){tt=null,ne.apply(void 0,Ee)})};return Tt.cancel=function(){if(!tt)return;cancelAnimationFrame(tt),tt=null},Tt},D=N,F=e("i8i4"),R=e.n(F),U=!0,M=/[ \t]{2,}/g,j=/^[ \t]*/gm,P=function(ne){return ne.replace(M," ").replace(j,"").trim()},K=function(ne){return P(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+P(ne)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},H=function(ne){return[K(ne),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},_="__react-beautiful-dnd-disable-dev-warnings";function Z(He,ne){var Ee;if(U)return;if(typeof window!="undefined"&&window[_])return;(Ee=console)[He].apply(Ee,H(ne))}var Y=Z.bind(null,"warn"),k=Z.bind(null,"error");function Q(){}function X(He,ne){return Object(p.a)({},He,{},ne)}function he(He,ne,Ee){var tt=ne.map(function(Tt){var Yt=X(Ee,Tt.options);return He.addEventListener(Tt.eventName,Tt.fn,Yt),function(){He.removeEventListener(Tt.eventName,Tt.fn,Yt)}});return function(){tt.forEach(function(Yt){Yt()})}}var te=!0,pe="Invariant failed";function Se(He){this.message=He}Se.prototype.toString=function(){return this.message};function we(He,ne){if(He)return;throw te?new Se(pe):new Se(pe+": "+(ne||""))}var We=function(He){Object(g.a)(ne,He);function ne(){for(var tt,Tt=arguments.length,Yt=new Array(Tt),nr=0;nr<Tt;nr++)Yt[nr]=arguments[nr];return tt=He.call.apply(He,[this].concat(Yt))||this,tt.callbacks=null,tt.unbind=Q,tt.onWindowError=function(ar){var vr=tt.getCallbacks();vr.isDragging()&&vr.tryAbort();var Vr=ar.error;Vr instanceof Se&&ar.preventDefault()},tt.getCallbacks=function(){if(!tt.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return tt.callbacks},tt.setCallbacks=function(ar){tt.callbacks=ar},tt}var Ee=ne.prototype;return Ee.componentDidMount=function(){this.unbind=he(window,[{eventName:"error",fn:this.onWindowError}])},Ee.componentWillUnmount=function(){this.unbind()},Ee.componentDidCatch=function(Tt){if(Tt instanceof Se){this.setState({});return}throw Tt},Ee.render=function(){return this.props.children(this.setCallbacks)},ne}(x.a.Component),qe=`
|
|
|
Press space bar to start a drag.
|
|
|
When dragging you can use the arrow keys to move the item around and escape to cancel.
|
|
|
Some screen readers may require you to be in focus mode or to use your pass through key
|
|
|
`,yt=function(ne){return ne+1},_e=function(ne){return`
|
|
|
You have lifted an item in position `+yt(ne.source.index)+`
|
|
|
`},je=function(ne,Ee){var tt=ne.droppableId===Ee.droppableId,Tt=yt(ne.index),Yt=yt(Ee.index);return tt?`
|
|
|
You have moved the item from position `+Tt+`
|
|
|
to position `+Yt+`
|
|
|
`:`
|
|
|
You have moved the item from position `+Tt+`
|
|
|
in list `+ne.droppableId+`
|
|
|
to list `+Ee.droppableId+`
|
|
|
in position `+Yt+`
|
|
|
`},Ct=function(ne,Ee,tt){var Tt=Ee.droppableId===tt.droppableId;return Tt?`
|
|
|
The item `+ne+`
|
|
|
has been combined with `+tt.draggableId:`
|
|
|
The item `+ne+`
|
|
|
in list `+Ee.droppableId+`
|
|
|
has been combined with `+tt.draggableId+`
|
|
|
in list `+tt.droppableId+`
|
|
|
`},ct=function(ne){var Ee=ne.destination;if(Ee)return je(ne.source,Ee);var tt=ne.combine;return tt?Ct(ne.draggableId,ne.source,tt):"You are over an area that cannot be dropped on"},nt=function(ne){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+yt(ne.index)+`
|
|
|
`},bt=function(ne){if(ne.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+nt(ne.source)+`
|
|
|
`;var Ee=ne.destination,tt=ne.combine;return Ee?`
|
|
|
You have dropped the item.
|
|
|
`+je(ne.source,Ee)+`
|
|
|
`:tt?`
|
|
|
You have dropped the item.
|
|
|
`+Ct(ne.draggableId,ne.source,tt)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+nt(ne.source)+`
|
|
|
`},dt={dragHandleUsageInstructions:qe,onDragStart:_e,onDragUpdate:ct,onDragEnd:bt},vt={x:0,y:0},Qe=function(ne,Ee){return{x:ne.x+Ee.x,y:ne.y+Ee.y}},mt=function(ne,Ee){return{x:ne.x-Ee.x,y:ne.y-Ee.y}},Pe=function(ne,Ee){return ne.x===Ee.x&&ne.y===Ee.y},De=function(ne){return{x:ne.x!==0?-ne.x:0,y:ne.y!==0?-ne.y:0}},Ie=function(ne,Ee,tt){var Tt;return tt===void 0&&(tt=0),Tt={},Tt[ne]=Ee,Tt[ne==="x"?"y":"x"]=tt,Tt},ot=function(ne,Ee){return Math.sqrt(Math.pow(Ee.x-ne.x,2)+Math.pow(Ee.y-ne.y,2))},wt=function(ne,Ee){return Math.min.apply(Math,Ee.map(function(tt){return ot(ne,tt)}))},Bt=function(ne){return function(Ee){return{x:ne(Ee.x),y:ne(Ee.y)}}},_t=function(ne,Ee){var tt=n({top:Math.max(Ee.top,ne.top),right:Math.min(Ee.right,ne.right),bottom:Math.min(Ee.bottom,ne.bottom),left:Math.max(Ee.left,ne.left)});return tt.width<=0||tt.height<=0?null:tt},Ue=function(ne,Ee){return{top:ne.top+Ee.y,left:ne.left+Ee.x,bottom:ne.bottom+Ee.y,right:ne.right+Ee.x}},zt=function(ne){return[{x:ne.left,y:ne.top},{x:ne.right,y:ne.top},{x:ne.left,y:ne.bottom},{x:ne.right,y:ne.bottom}]},xt={top:0,right:0,bottom:0,left:0},Pt=function(ne,Ee){return Ee?Ue(ne,Ee.scroll.diff.displacement):ne},Ke=function(ne,Ee,tt){if(tt&&tt.increasedBy){var Tt;return Object(p.a)({},ne,(Tt={},Tt[Ee.end]=ne[Ee.end]+tt.increasedBy[Ee.line],Tt))}return ne},Ye=function(ne,Ee){return Ee&&Ee.shouldClipSubject?_t(Ee.pageMarginBox,ne):n(ne)},$e=function(ne){var Ee=ne.page,tt=ne.withPlaceholder,Tt=ne.axis,Yt=ne.frame,nr=Pt(Ee.marginBox,Yt),ar=Ke(nr,Tt,tt),vr=Ye(ar,Yt);return{page:Ee,withPlaceholder:tt,active:vr}},ut=function(ne,Ee){ne.frame||we(!1);var tt=ne.frame,Tt=mt(Ee,tt.scroll.initial),Yt=De(Tt),nr=Object(p.a)({},tt,{scroll:{initial:tt.scroll.initial,current:Ee,diff:{value:Tt,displacement:Yt},max:tt.scroll.max}}),ar=$e({page:ne.subject.page,withPlaceholder:ne.subject.withPlaceholder,axis:ne.axis,frame:nr}),vr=Object(p.a)({},ne,{frame:nr,subject:ar});return vr};function et(He){return Number.isInteger?Number.isInteger(He):typeof He=="number"&&isFinite(He)&&Math.floor(He)===He}function oe(He){return Object.values?Object.values(He):Object.keys(He).map(function(ne){return He[ne]})}function me(He,ne){if(He.findIndex)return He.findIndex(ne);for(var Ee=0;Ee<He.length;Ee++)if(ne(He[Ee]))return Ee;return-1}function it(He,ne){if(He.find)return He.find(ne);var Ee=me(He,ne);return Ee!==-1?He[Ee]:void 0}function Be(He){return Array.prototype.slice.call(He)}var ht=L(function(He){return He.reduce(function(ne,Ee){return ne[Ee.descriptor.id]=Ee,ne},{})}),Mr=L(function(He){return He.reduce(function(ne,Ee){return ne[Ee.descriptor.id]=Ee,ne},{})}),Lt=L(function(He){return oe(He)}),or=L(function(He){return oe(He)}),Qt=L(function(He,ne){var Ee=or(ne).filter(function(tt){return He===tt.descriptor.droppableId}).sort(function(tt,Tt){return tt.descriptor.index-Tt.descriptor.index});return Ee});function qt(He){return He.at&&He.at.type==="REORDER"?He.at.destination:null}function hr(He){return He.at&&He.at.type==="COMBINE"?He.at.combine:null}var Gt=L(function(He,ne){return ne.filter(function(Ee){return Ee.descriptor.id!==He.descriptor.id})}),de=function(ne){var Ee=ne.isMovingForward,tt=ne.draggable,Tt=ne.destination,Yt=ne.insideDestination,nr=ne.previousImpact;if(!Tt.isCombineEnabled)return null;var ar=qt(nr);if(!ar)return null;function vr(ei){var ui={type:"COMBINE",combine:{draggableId:ei,droppableId:Tt.descriptor.id}};return Object(p.a)({},nr,{at:ui})}var Vr=nr.displaced.all,Yr=Vr.length?Vr[0]:null;if(Ee)return Yr?vr(Yr):null;var kr=Gt(tt,Yt);if(!Yr){if(!kr.length)return null;var Pr=kr[kr.length-1];return vr(Pr.descriptor.id)}var Gr=me(kr,function(ei){return ei.descriptor.id===Yr});Gr!==-1||we(!1);var dn=Gr-1;if(dn<0)return null;var pn=kr[dn];return vr(pn.descriptor.id)},ue=function(ne,Ee){return ne.descriptor.droppableId===Ee.descriptor.id},se={point:vt,value:0},ae={invisible:{},visible:{},all:[]},ye={displaced:ae,displacedBy:se,at:null},Ce=function(ne,Ee){return function(tt){return ne<=tt&&tt<=Ee}},Oe=function(ne){var Ee=Ce(ne.top,ne.bottom),tt=Ce(ne.left,ne.right);return function(Tt){var Yt=Ee(Tt.top)&&Ee(Tt.bottom)&&tt(Tt.left)&&tt(Tt.right);if(Yt)return!0;var nr=Ee(Tt.top)||Ee(Tt.bottom),ar=tt(Tt.left)||tt(Tt.right),vr=nr&&ar;if(vr)return!0;var Vr=Tt.top<ne.top&&Tt.bottom>ne.bottom,Yr=Tt.left<ne.left&&Tt.right>ne.right,kr=Vr&&Yr;if(kr)return!0;var Pr=Vr&&ar||Yr&&nr;return Pr}},Te=function(ne){var Ee=Ce(ne.top,ne.bottom),tt=Ce(ne.left,ne.right);return function(Tt){var Yt=Ee(Tt.top)&&Ee(Tt.bottom)&&tt(Tt.left)&&tt(Tt.right);return Yt}},xe={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ke={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},lt=function(ne){return function(Ee){var tt=Ce(Ee.top,Ee.bottom),Tt=Ce(Ee.left,Ee.right);return function(Yt){return ne===xe?tt(Yt.top)&&tt(Yt.bottom):Tt(Yt.left)&&Tt(Yt.right)}}},At=function(ne,Ee){var tt=Ee.frame?Ee.frame.scroll.diff.displacement:vt;return Ue(ne,tt)},ee=function(ne,Ee,tt){return Ee.subject.active?tt(Ee.subject.active)(ne):!1},ie=function(ne,Ee,tt){return tt(Ee)(ne)},z=function(ne){var Ee=ne.target,tt=ne.destination,Tt=ne.viewport,Yt=ne.withDroppableDisplacement,nr=ne.isVisibleThroughFrameFn,ar=Yt?At(Ee,tt):Ee;return ee(ar,tt,nr)&&ie(ar,Tt,nr)},$=function(ne){return z(Object(p.a)({},ne,{isVisibleThroughFrameFn:Oe}))},le=function(ne){return z(Object(p.a)({},ne,{isVisibleThroughFrameFn:Te}))},ge=function(ne){return z(Object(p.a)({},ne,{isVisibleThroughFrameFn:lt(ne.destination.axis)}))},Ae=function(ne,Ee,tt){if(typeof tt=="boolean")return tt;if(!Ee)return!0;var Tt=Ee.invisible,Yt=Ee.visible;if(Tt[ne])return!1;var nr=Yt[ne];return nr?nr.shouldAnimate:!0};function Me(He,ne){var Ee=He.page.marginBox,tt={top:ne.point.y,right:0,bottom:0,left:ne.point.x};return n(u(Ee,tt))}function Ze(He){var ne=He.afterDragging,Ee=He.destination,tt=He.displacedBy,Tt=He.viewport,Yt=He.forceShouldAnimate,nr=He.last;return ne.reduce(function(vr,Vr){var Yr=Me(Vr,tt),kr=Vr.descriptor.id;vr.all.push(kr);var Pr=$({target:Yr,destination:Ee,viewport:Tt,withDroppableDisplacement:!0});if(!Pr)return vr.invisible[Vr.descriptor.id]=!0,vr;var Gr=Ae(kr,nr,Yt),dn={draggableId:kr,shouldAnimate:Gr};return vr.visible[kr]=dn,vr},{all:[],visible:{},invisible:{}})}function kt(He,ne){if(!He.length)return 0;var Ee=He[He.length-1].descriptor.index;return ne.inHomeList?Ee:Ee+1}function Jt(He){var ne=He.insideDestination,Ee=He.inHomeList,tt=He.displacedBy,Tt=He.destination,Yt=kt(ne,{inHomeList:Ee});return{displaced:ae,displacedBy:tt,at:{type:"REORDER",destination:{droppableId:Tt.descriptor.id,index:Yt}}}}function Et(He){var ne=He.draggable,Ee=He.insideDestination,tt=He.destination,Tt=He.viewport,Yt=He.displacedBy,nr=He.last,ar=He.index,vr=He.forceShouldAnimate,Vr=ue(ne,tt);if(ar==null)return Jt({insideDestination:Ee,inHomeList:Vr,displacedBy:Yt,destination:tt});var Yr=it(Ee,function(pn){return pn.descriptor.index===ar});if(!Yr)return Jt({insideDestination:Ee,inHomeList:Vr,displacedBy:Yt,destination:tt});var kr=Gt(ne,Ee),Pr=Ee.indexOf(Yr),Gr=kr.slice(Pr),dn=Ze({afterDragging:Gr,destination:tt,displacedBy:Yt,last:nr,viewport:Tt.frame,forceShouldAnimate:vr});return{displaced:dn,displacedBy:Yt,at:{type:"REORDER",destination:{droppableId:tt.descriptor.id,index:ar}}}}function Ft(He,ne){return Boolean(ne.effected[He])}var Kt=function(ne){var Ee=ne.isMovingForward,tt=ne.destination,Tt=ne.draggables,Yt=ne.combine,nr=ne.afterCritical;if(!tt.isCombineEnabled)return null;var ar=Yt.draggableId,vr=Tt[ar],Vr=vr.descriptor.index,Yr=Ft(ar,nr);return Yr?Ee?Vr:Vr-1:Ee?Vr+1:Vr},Vt=function(ne){var Ee=ne.isMovingForward,tt=ne.isInHomeList,Tt=ne.insideDestination,Yt=ne.location;if(!Tt.length)return null;var nr=Yt.index,ar=Ee?nr+1:nr-1,vr=Tt[0].descriptor.index,Vr=Tt[Tt.length-1].descriptor.index,Yr=tt?Vr:Vr+1;return ar<vr||ar>Yr?null:ar},Ot=function(ne){var Ee=ne.isMovingForward,tt=ne.isInHomeList,Tt=ne.draggable,Yt=ne.draggables,nr=ne.destination,ar=ne.insideDestination,vr=ne.previousImpact,Vr=ne.viewport,Yr=ne.afterCritical,kr=vr.at;if(kr||we(!1),kr.type==="REORDER"){var Pr=Vt({isMovingForward:Ee,isInHomeList:tt,location:kr.destination,insideDestination:ar});return Pr==null?null:Et({draggable:Tt,insideDestination:ar,destination:nr,viewport:Vr,last:vr.displaced,displacedBy:vr.displacedBy,index:Pr})}var Gr=Kt({isMovingForward:Ee,destination:nr,displaced:vr.displaced,draggables:Yt,combine:kr.combine,afterCritical:Yr});return Gr==null?null:Et({draggable:Tt,insideDestination:ar,destination:nr,viewport:Vr,last:vr.displaced,displacedBy:vr.displacedBy,index:Gr})},ur=function(ne){var Ee=ne.displaced,tt=ne.afterCritical,Tt=ne.combineWith,Yt=ne.displacedBy,nr=Boolean(Ee.visible[Tt]||Ee.invisible[Tt]);return Ft(Tt,tt)?nr?vt:De(Yt.point):nr?Yt.point:vt},Zt=function(ne){var Ee=ne.afterCritical,tt=ne.impact,Tt=ne.draggables,Yt=hr(tt);Yt||we(!1);var nr=Yt.draggableId,ar=Tt[nr].page.borderBox.center,vr=ur({displaced:tt.displaced,afterCritical:Ee,combineWith:nr,displacedBy:tt.displacedBy});return Qe(ar,vr)},ze=function(ne,Ee){return Ee.margin[ne.start]+Ee.borderBox[ne.size]/2},at=function(ne,Ee){return Ee.margin[ne.end]+Ee.borderBox[ne.size]/2},Ve=function(ne,Ee,tt){return Ee[ne.crossAxisStart]+tt.margin[ne.crossAxisStart]+tt.borderBox[ne.crossAxisSize]/2},Xe=function(ne){var Ee=ne.axis,tt=ne.moveRelativeTo,Tt=ne.isMoving;return Ie(Ee.line,tt.marginBox[Ee.end]+ze(Ee,Tt),Ve(Ee,tt.marginBox,Tt))},gt=function(ne){var Ee=ne.axis,tt=ne.moveRelativeTo,Tt=ne.isMoving;return Ie(Ee.line,tt.marginBox[Ee.start]-at(Ee,Tt),Ve(Ee,tt.marginBox,Tt))},ft=function(ne){var Ee=ne.axis,tt=ne.moveInto,Tt=ne.isMoving;return Ie(Ee.line,tt.contentBox[Ee.start]+ze(Ee,Tt),Ve(Ee,tt.contentBox,Tt))},Ge=function(ne){var Ee=ne.impact,tt=ne.draggable,Tt=ne.draggables,Yt=ne.droppable,nr=ne.afterCritical,ar=Qt(Yt.descriptor.id,Tt),vr=tt.page,Vr=Yt.axis;if(!ar.length)return ft({axis:Vr,moveInto:Yt.page,isMoving:vr});var Yr=Ee.displaced,kr=Ee.displacedBy,Pr=Yr.all[0];if(Pr){var Gr=Tt[Pr];if(Ft(Pr,nr))return gt({axis:Vr,moveRelativeTo:Gr.page,isMoving:vr});var dn=O(Gr.page,kr.point);return gt({axis:Vr,moveRelativeTo:dn,isMoving:vr})}var pn=ar[ar.length-1];if(pn.descriptor.id===tt.descriptor.id)return vr.borderBox.center;if(Ft(pn.descriptor.id,nr)){var ei=O(pn.page,De(nr.displacedBy.point));return Xe({axis:Vr,moveRelativeTo:ei,isMoving:vr})}return Xe({axis:Vr,moveRelativeTo:pn.page,isMoving:vr})},Mt=function(ne,Ee){var tt=ne.frame;return tt?Qe(Ee,tt.scroll.diff.displacement):Ee},It=function(ne){var Ee=ne.impact,tt=ne.draggable,Tt=ne.droppable,Yt=ne.draggables,nr=ne.afterCritical,ar=tt.page.borderBox.center,vr=Ee.at;return Tt&&vr?vr.type==="REORDER"?Ge({impact:Ee,draggable:tt,draggables:Yt,droppable:Tt,afterCritical:nr}):Zt({impact:Ee,draggables:Yt,afterCritical:nr}):ar},rr=function(ne){var Ee=It(ne),tt=ne.droppable,Tt=tt?Mt(tt,Ee):Ee;return Tt},Ht=function(ne,Ee){var tt=mt(Ee,ne.scroll.initial),Tt=De(tt),Yt=n({top:Ee.y,bottom:Ee.y+ne.frame.height,left:Ee.x,right:Ee.x+ne.frame.width}),nr={frame:Yt,scroll:{initial:ne.scroll.initial,max:ne.scroll.max,current:Ee,diff:{value:tt,displacement:Tt}}};return nr};function pr(He,ne){return He.map(function(Ee){return ne[Ee]})}function Ar(He,ne){for(var Ee=0;Ee<ne.length;Ee++){var tt=ne[Ee].visible[He];if(tt)return tt}return null}var Nr=function(ne){var Ee=ne.impact,tt=ne.viewport,Tt=ne.destination,Yt=ne.draggables,nr=ne.maxScrollChange,ar=Ht(tt,Qe(tt.scroll.current,nr)),vr=Tt.frame?ut(Tt,Qe(Tt.frame.scroll.current,nr)):Tt,Vr=Ee.displaced,Yr=Ze({afterDragging:pr(Vr.all,Yt),destination:Tt,displacedBy:Ee.displacedBy,viewport:ar.frame,last:Vr,forceShouldAnimate:!1}),kr=Ze({afterDragging:pr(Vr.all,Yt),destination:vr,displacedBy:Ee.displacedBy,viewport:tt.frame,last:Vr,forceShouldAnimate:!1}),Pr={},Gr={},dn=[Vr,Yr,kr];Vr.all.forEach(function(ei){var ui=Ar(ei,dn);if(ui){Gr[ei]=ui;return}Pr[ei]=!0});var pn=Object(p.a)({},Ee,{displaced:{all:Vr.all,invisible:Pr,visible:Gr}});return pn},Fr=function(ne,Ee){return Qe(ne.scroll.diff.displacement,Ee)},tn=function(ne){var Ee=ne.pageBorderBoxCenter,tt=ne.draggable,Tt=ne.viewport,Yt=Fr(Tt,Ee),nr=mt(Yt,tt.page.borderBox.center);return Qe(tt.client.borderBox.center,nr)},Jr=function(ne){var Ee=ne.draggable,tt=ne.destination,Tt=ne.newPageBorderBoxCenter,Yt=ne.viewport,nr=ne.withDroppableDisplacement,ar=ne.onlyOnMainAxis,vr=ar===void 0?!1:ar,Vr=mt(Tt,Ee.page.borderBox.center),Yr=Ue(Ee.page.borderBox,Vr),kr={target:Yr,destination:tt,withDroppableDisplacement:nr,viewport:Yt};return vr?ge(kr):le(kr)},Lr=function(ne){var Ee=ne.isMovingForward,tt=ne.draggable,Tt=ne.destination,Yt=ne.draggables,nr=ne.previousImpact,ar=ne.viewport,vr=ne.previousPageBorderBoxCenter,Vr=ne.previousClientSelection,Yr=ne.afterCritical;if(!Tt.isEnabled)return null;var kr=Qt(Tt.descriptor.id,Yt),Pr=ue(tt,Tt),Gr=de({isMovingForward:Ee,draggable:tt,destination:Tt,insideDestination:kr,previousImpact:nr})||Ot({isMovingForward:Ee,isInHomeList:Pr,draggable:tt,draggables:Yt,destination:Tt,insideDestination:kr,previousImpact:nr,viewport:ar,afterCritical:Yr});if(!Gr)return null;var dn=rr({impact:Gr,draggable:tt,droppable:Tt,draggables:Yt,afterCritical:Yr}),pn=Jr({draggable:tt,destination:Tt,newPageBorderBoxCenter:dn,viewport:ar.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(pn){var ei=tn({pageBorderBoxCenter:dn,draggable:tt,viewport:ar});return{clientSelection:ei,impact:Gr,scrollJumpRequest:null}}var ui=mt(dn,vr),ii=Nr({impact:Gr,viewport:ar,destination:Tt,draggables:Yt,maxScrollChange:ui});return{clientSelection:Vr,impact:ii,scrollJumpRequest:ui}},Xr=function(ne){var Ee=ne.subject.active;return Ee||we(!1),Ee},Tr=function(ne){var Ee=ne.isMovingForward,tt=ne.pageBorderBoxCenter,Tt=ne.source,Yt=ne.droppables,nr=ne.viewport,ar=Tt.subject.active;if(!ar)return null;var vr=Tt.axis,Vr=Ce(ar[vr.start],ar[vr.end]),Yr=Lt(Yt).filter(function(Pr){return Pr!==Tt}).filter(function(Pr){return Pr.isEnabled}).filter(function(Pr){return Boolean(Pr.subject.active)}).filter(function(Pr){return Oe(nr.frame)(Xr(Pr))}).filter(function(Pr){var Gr=Xr(Pr);return Ee?ar[vr.crossAxisEnd]<Gr[vr.crossAxisEnd]:Gr[vr.crossAxisStart]<ar[vr.crossAxisStart]}).filter(function(Pr){var Gr=Xr(Pr),dn=Ce(Gr[vr.start],Gr[vr.end]);return Vr(Gr[vr.start])||Vr(Gr[vr.end])||dn(ar[vr.start])||dn(ar[vr.end])}).sort(function(Pr,Gr){var dn=Xr(Pr)[vr.crossAxisStart],pn=Xr(Gr)[vr.crossAxisStart];return Ee?dn-pn:pn-dn}).filter(function(Pr,Gr,dn){return Xr(Pr)[vr.crossAxisStart]===Xr(dn[0])[vr.crossAxisStart]});if(!Yr.length)return null;if(Yr.length===1)return Yr[0];var kr=Yr.filter(function(Pr){var Gr=Ce(Xr(Pr)[vr.start],Xr(Pr)[vr.end]);return Gr(tt[vr.line])});return kr.length===1?kr[0]:kr.length>1?kr.sort(function(Pr,Gr){return Xr(Pr)[vr.start]-Xr(Gr)[vr.start]})[0]:Yr.sort(function(Pr,Gr){var dn=wt(tt,zt(Xr(Pr))),pn=wt(tt,zt(Xr(Gr)));return dn!==pn?dn-pn:Xr(Pr)[vr.start]-Xr(Gr)[vr.start]})[0]},lr=function(ne,Ee){var tt=ne.page.borderBox.center;return Ft(ne.descriptor.id,Ee)?mt(tt,Ee.displacedBy.point):tt},fr=function(ne,Ee){var tt=ne.page.borderBox;return Ft(ne.descriptor.id,Ee)?Ue(tt,De(Ee.displacedBy.point)):tt},sr=function(ne){var Ee=ne.pageBorderBoxCenter,tt=ne.viewport,Tt=ne.destination,Yt=ne.insideDestination,nr=ne.afterCritical,ar=Yt.filter(function(vr){return le({target:fr(vr,nr),destination:Tt,viewport:tt.frame,withDroppableDisplacement:!0})}).sort(function(vr,Vr){var Yr=ot(Ee,Mt(Tt,lr(vr,nr))),kr=ot(Ee,Mt(Tt,lr(Vr,nr)));return Yr<kr?-1:kr<Yr?1:vr.descriptor.index-Vr.descriptor.index});return ar[0]||null},dr=L(function(ne,Ee){var tt=Ee[ne.line];return{value:tt,point:Ie(ne.line,tt)}}),Sr=function(ne,Ee,tt){var Tt=ne.axis;if(ne.descriptor.mode==="virtual")return Ie(Tt.line,Ee[Tt.line]);var Yt=ne.subject.page.contentBox[Tt.size],nr=Qt(ne.descriptor.id,tt),ar=nr.reduce(function(Yr,kr){return Yr+kr.client.marginBox[Tt.size]},0),vr=ar+Ee[Tt.line],Vr=vr-Yt;return Vr<=0?null:Ie(Tt.line,Vr)},Qr=function(ne,Ee){return Object(p.a)({},ne,{scroll:Object(p.a)({},ne.scroll,{max:Ee})})},cn=function(ne,Ee,tt){var Tt=ne.frame;ue(Ee,ne)&&we(!1),ne.subject.withPlaceholder&&we(!1);var Yt=dr(ne.axis,Ee.displaceBy).point,nr=Sr(ne,Yt,tt),ar={placeholderSize:Yt,increasedBy:nr,oldFrameMaxScroll:ne.frame?ne.frame.scroll.max:null};if(!Tt){var vr=$e({page:ne.subject.page,withPlaceholder:ar,axis:ne.axis,frame:ne.frame});return Object(p.a)({},ne,{subject:vr})}var Vr=nr?Qe(Tt.scroll.max,nr):Tt.scroll.max,Yr=Qr(Tt,Vr),kr=$e({page:ne.subject.page,withPlaceholder:ar,axis:ne.axis,frame:Yr});return Object(p.a)({},ne,{subject:kr,frame:Yr})},Dn=function(ne){var Ee=ne.subject.withPlaceholder;Ee||we(!1);var tt=ne.frame;if(!tt){var Tt=$e({page:ne.subject.page,axis:ne.axis,frame:null,withPlaceholder:null});return Object(p.a)({},ne,{subject:Tt})}var Yt=Ee.oldFrameMaxScroll;Yt||we(!1);var nr=Qr(tt,Yt),ar=$e({page:ne.subject.page,axis:ne.axis,frame:nr,withPlaceholder:null});return Object(p.a)({},ne,{subject:ar,frame:nr})},jr=function(ne){var Ee=ne.previousPageBorderBoxCenter,tt=ne.moveRelativeTo,Tt=ne.insideDestination,Yt=ne.draggable,nr=ne.draggables,ar=ne.destination,vr=ne.viewport,Vr=ne.afterCritical;if(!tt){if(Tt.length)return null;var Yr={displaced:ae,displacedBy:se,at:{type:"REORDER",destination:{droppableId:ar.descriptor.id,index:0}}},kr=rr({impact:Yr,draggable:Yt,droppable:ar,draggables:nr,afterCritical:Vr}),Pr=ue(Yt,ar)?ar:cn(ar,Yt,nr),Gr=Jr({draggable:Yt,destination:Pr,newPageBorderBoxCenter:kr,viewport:vr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Gr?Yr:null}var dn=Boolean(Ee[ar.axis.line]<=tt.page.borderBox.center[ar.axis.line]),pn=function(){var ui=tt.descriptor.index;return tt.descriptor.id===Yt.descriptor.id||dn?ui:ui+1}(),ei=dr(ar.axis,Yt.displaceBy);return Et({draggable:Yt,insideDestination:Tt,destination:ar,viewport:vr,displacedBy:ei,last:ae,index:pn})},Ln=function(ne){var Ee=ne.isMovingForward,tt=ne.previousPageBorderBoxCenter,Tt=ne.draggable,Yt=ne.isOver,nr=ne.draggables,ar=ne.droppables,vr=ne.viewport,Vr=ne.afterCritical,Yr=Tr({isMovingForward:Ee,pageBorderBoxCenter:tt,source:Yt,droppables:ar,viewport:vr});if(!Yr)return null;var kr=Qt(Yr.descriptor.id,nr),Pr=sr({pageBorderBoxCenter:tt,viewport:vr,destination:Yr,insideDestination:kr,afterCritical:Vr}),Gr=jr({previousPageBorderBoxCenter:tt,destination:Yr,draggable:Tt,draggables:nr,moveRelativeTo:Pr,insideDestination:kr,viewport:vr,afterCritical:Vr});if(!Gr)return null;var dn=rr({impact:Gr,draggable:Tt,droppable:Yr,draggables:nr,afterCritical:Vr}),pn=tn({pageBorderBoxCenter:dn,draggable:Tt,viewport:vr});return{clientSelection:pn,impact:Gr,scrollJumpRequest:null}},gn=function(ne){var Ee=ne.at;return Ee?Ee.type==="REORDER"?Ee.destination.droppableId:Ee.combine.droppableId:null},Un=function(ne,Ee){var tt=gn(ne);return tt?Ee[tt]:null},Wn=function(ne){var Ee=ne.state,tt=ne.type,Tt=Un(Ee.impact,Ee.dimensions.droppables),Yt=Boolean(Tt),nr=Ee.dimensions.droppables[Ee.critical.droppable.id],ar=Tt||nr,vr=ar.axis.direction,Vr=vr==="vertical"&&(tt==="MOVE_UP"||tt==="MOVE_DOWN")||vr==="horizontal"&&(tt==="MOVE_LEFT"||tt==="MOVE_RIGHT");if(Vr&&!Yt)return null;var Yr=tt==="MOVE_DOWN"||tt==="MOVE_RIGHT",kr=Ee.dimensions.draggables[Ee.critical.draggable.id],Pr=Ee.current.page.borderBoxCenter,Gr=Ee.dimensions,dn=Gr.draggables,pn=Gr.droppables;return Vr?Lr({isMovingForward:Yr,previousPageBorderBoxCenter:Pr,draggable:kr,destination:ar,draggables:dn,viewport:Ee.viewport,previousClientSelection:Ee.current.client.selection,previousImpact:Ee.impact,afterCritical:Ee.afterCritical}):Ln({isMovingForward:Yr,previousPageBorderBoxCenter:Pr,draggable:kr,isOver:ar,draggables:dn,droppables:pn,viewport:Ee.viewport,afterCritical:Ee.afterCritical})};function Jn(He){return He.phase==="DRAGGING"||He.phase==="COLLECTING"}function Qn(He){var ne=Ce(He.top,He.bottom),Ee=Ce(He.left,He.right);return function(Tt){return ne(Tt.y)&&Ee(Tt.x)}}function Vn(He,ne){return He.left<ne.right&&He.right>ne.left&&He.top<ne.bottom&&He.bottom>ne.top}function yn(He){var ne=He.pageBorderBox,Ee=He.draggable,tt=He.candidates,Tt=Ee.page.borderBox.center,Yt=tt.map(function(nr){var ar=nr.axis,vr=Ie(nr.axis.line,ne.center[ar.line],nr.page.borderBox.center[ar.crossAxisLine]);return{id:nr.descriptor.id,distance:ot(Tt,vr)}}).sort(function(nr,ar){return ar.distance-nr.distance});return Yt[0]?Yt[0].id:null}function on(He){var ne=He.pageBorderBox,Ee=He.draggable,tt=He.droppables,Tt=Lt(tt).filter(function(Yt){if(!Yt.isEnabled)return!1;var nr=Yt.subject.active;if(!nr)return!1;if(!Vn(ne,nr))return!1;if(Qn(nr)(ne.center))return!0;var ar=Yt.axis,vr=nr.center[ar.crossAxisLine],Vr=ne[ar.crossAxisStart],Yr=ne[ar.crossAxisEnd],kr=Ce(nr[ar.crossAxisStart],nr[ar.crossAxisEnd]),Pr=kr(Vr),Gr=kr(Yr);return!Pr&&!Gr?!0:Pr?Vr<vr:Yr>vr});return Tt.length?Tt.length===1?Tt[0].descriptor.id:yn({pageBorderBox:ne,draggable:Ee,candidates:Tt}):null}var ia=function(ne,Ee){return n(Ue(ne,Ee))},xa=function(ne,Ee){var tt=ne.frame;return tt?ia(Ee,tt.scroll.diff.value):Ee};function ta(He){var ne=He.displaced,Ee=He.id;return Boolean(ne.visible[Ee]||ne.invisible[Ee])}function Ni(He){var ne=He.draggable,Ee=He.closest,tt=He.inHomeList;return Ee?tt&&Ee.descriptor.index>ne.descriptor.index?Ee.descriptor.index-1:Ee.descriptor.index:null}var Ci=function(ne){var Ee=ne.pageBorderBoxWithDroppableScroll,tt=ne.draggable,Tt=ne.destination,Yt=ne.insideDestination,nr=ne.last,ar=ne.viewport,vr=ne.afterCritical,Vr=Tt.axis,Yr=dr(Tt.axis,tt.displaceBy),kr=Yr.value,Pr=Ee[Vr.start],Gr=Ee[Vr.end],dn=Gt(tt,Yt),pn=it(dn,function(ui){var ii=ui.descriptor.id,Zi=ui.page.borderBox.center[Vr.line],Si=Ft(ii,vr),Va=ta({displaced:nr,id:ii});return Si?Va?Gr<=Zi:Pr<Zi-kr:Va?Gr<=Zi+kr:Pr<Zi}),ei=Ni({draggable:tt,closest:pn,inHomeList:ue(tt,Tt)});return Et({draggable:tt,insideDestination:Yt,destination:Tt,viewport:ar,last:nr,displacedBy:Yr,index:ei})},Gn=4,Ia=function(ne){var Ee=ne.draggable,tt=ne.pageBorderBoxWithDroppableScroll,Tt=ne.previousImpact,Yt=ne.destination,nr=ne.insideDestination,ar=ne.afterCritical;if(!Yt.isCombineEnabled)return null;var vr=Yt.axis,Vr=dr(Yt.axis,Ee.displaceBy),Yr=Vr.value,kr=tt[vr.start],Pr=tt[vr.end],Gr=Gt(Ee,nr),dn=it(Gr,function(ei){var ui=ei.descriptor.id,ii=ei.page.borderBox,Zi=ii[vr.size],Si=Zi/Gn,Va=Ft(ui,ar),Ei=ta({displaced:Tt.displaced,id:ui});return Va?Ei?Pr>ii[vr.start]+Si&&Pr<ii[vr.end]-Si:kr>ii[vr.start]-Yr+Si&&kr<ii[vr.end]-Yr-Si:Ei?Pr>ii[vr.start]+Yr+Si&&Pr<ii[vr.end]+Yr-Si:kr>ii[vr.start]+Si&&kr<ii[vr.end]-Si});if(!dn)return null;var pn={displacedBy:Vr,displaced:Tt.displaced,at:{type:"COMBINE",combine:{draggableId:dn.descriptor.id,droppableId:Yt.descriptor.id}}};return pn},mn=function(ne){var Ee=ne.pageOffset,tt=ne.draggable,Tt=ne.draggables,Yt=ne.droppables,nr=ne.previousImpact,ar=ne.viewport,vr=ne.afterCritical,Vr=ia(tt.page.borderBox,Ee),Yr=on({pageBorderBox:Vr,draggable:tt,droppables:Yt});if(!Yr)return ye;var kr=Yt[Yr],Pr=Qt(kr.descriptor.id,Tt),Gr=xa(kr,Vr);return Ia({pageBorderBoxWithDroppableScroll:Gr,draggable:tt,previousImpact:nr,destination:kr,insideDestination:Pr,afterCritical:vr})||Ci({pageBorderBoxWithDroppableScroll:Gr,draggable:tt,destination:kr,insideDestination:Pr,last:nr.displaced,viewport:ar,afterCritical:vr})},In=function(ne,Ee){var tt;return Object(p.a)({},ne,(tt={},tt[Ee.descriptor.id]=Ee,tt))},On=function(ne){var Ee=ne.previousImpact,tt=ne.impact,Tt=ne.droppables,Yt=gn(Ee),nr=gn(tt);if(!Yt)return Tt;if(Yt===nr)return Tt;var ar=Tt[Yt];if(!ar.subject.withPlaceholder)return Tt;var vr=Dn(ar);return In(Tt,vr)},Nn=function(ne){var Ee=ne.draggable,tt=ne.draggables,Tt=ne.droppables,Yt=ne.previousImpact,nr=ne.impact,ar=On({previousImpact:Yt,impact:nr,droppables:Tt}),vr=gn(nr);if(!vr)return ar;var Vr=Tt[vr];if(ue(Ee,Vr))return ar;if(Vr.subject.withPlaceholder)return ar;var Yr=cn(Vr,Ee,tt);return In(ar,Yr)},jn=function(ne){var Ee=ne.state,tt=ne.clientSelection,Tt=ne.dimensions,Yt=ne.viewport,nr=ne.impact,ar=ne.scrollJumpRequest,vr=Yt||Ee.viewport,Vr=Tt||Ee.dimensions,Yr=tt||Ee.current.client.selection,kr=mt(Yr,Ee.initial.client.selection),Pr={offset:kr,selection:Yr,borderBoxCenter:Qe(Ee.initial.client.borderBoxCenter,kr)},Gr={selection:Qe(Pr.selection,vr.scroll.current),borderBoxCenter:Qe(Pr.borderBoxCenter,vr.scroll.current),offset:Qe(Pr.offset,vr.scroll.diff.value)},dn={client:Pr,page:Gr};if(Ee.phase==="COLLECTING")return Object(p.a)({phase:"COLLECTING"},Ee,{dimensions:Vr,viewport:vr,current:dn});var pn=Vr.draggables[Ee.critical.draggable.id],ei=nr||mn({pageOffset:Gr.offset,draggable:pn,draggables:Vr.draggables,droppables:Vr.droppables,previousImpact:Ee.impact,viewport:vr,afterCritical:Ee.afterCritical}),ui=Nn({draggable:pn,impact:ei,previousImpact:Ee.impact,draggables:Vr.draggables,droppables:Vr.droppables}),ii=Object(p.a)({},Ee,{current:dn,dimensions:{draggables:Vr.draggables,droppables:ui},impact:ei,viewport:vr,scrollJumpRequest:ar||null,forceShouldAnimate:ar?!1:null});return ii};function ni(He,ne){return He.map(function(Ee){return ne[Ee]})}var di=function(ne){var Ee=ne.impact,tt=ne.viewport,Tt=ne.draggables,Yt=ne.destination,nr=ne.forceShouldAnimate,ar=Ee.displaced,vr=ni(ar.all,Tt),Vr=Ze({afterDragging:vr,destination:Yt,displacedBy:Ee.displacedBy,viewport:tt.frame,forceShouldAnimate:nr,last:ar});return Object(p.a)({},Ee,{displaced:Vr})},Da=function(ne){var Ee=ne.impact,tt=ne.draggable,Tt=ne.droppable,Yt=ne.draggables,nr=ne.viewport,ar=ne.afterCritical,vr=rr({impact:Ee,draggable:tt,draggables:Yt,droppable:Tt,afterCritical:ar});return tn({pageBorderBoxCenter:vr,draggable:tt,viewport:nr})},Xi=function(ne){var Ee=ne.state,tt=ne.dimensions,Tt=ne.viewport;Ee.movementMode==="SNAP"||we(!1);var Yt=Ee.impact,nr=Tt||Ee.viewport,ar=tt||Ee.dimensions,vr=ar.draggables,Vr=ar.droppables,Yr=vr[Ee.critical.draggable.id],kr=gn(Yt);kr||we(!1);var Pr=Vr[kr],Gr=di({impact:Yt,viewport:nr,destination:Pr,draggables:vr}),dn=Da({impact:Gr,draggable:Yr,droppable:Pr,draggables:vr,viewport:nr,afterCritical:Ee.afterCritical});return jn({impact:Gr,clientSelection:dn,state:Ee,dimensions:ar,viewport:nr})},ma=function(ne){return{index:ne.index,droppableId:ne.droppableId}},ka=function(ne){var Ee=ne.draggable,tt=ne.home,Tt=ne.draggables,Yt=ne.viewport,nr=dr(tt.axis,Ee.displaceBy),ar=Qt(tt.descriptor.id,Tt),vr=ar.indexOf(Ee);vr!==-1||we(!1);var Vr=ar.slice(vr+1),Yr=Vr.reduce(function(dn,pn){return dn[pn.descriptor.id]=!0,dn},{}),kr={inVirtualList:tt.descriptor.mode==="virtual",displacedBy:nr,effected:Yr},Pr=Ze({afterDragging:Vr,destination:tt,displacedBy:nr,last:null,viewport:Yt.frame,forceShouldAnimate:!1}),Gr={displaced:Pr,displacedBy:nr,at:{type:"REORDER",destination:ma(Ee.descriptor)}};return{impact:Gr,afterCritical:kr}},Xa=function(ne,Ee){return{draggables:ne.draggables,droppables:In(ne.droppables,Ee)}},Ki=function(ne){},Co=function(ne){},aa=function(ne){var Ee=ne.draggable,tt=ne.offset,Tt=ne.initialWindowScroll,Yt=O(Ee.client,tt),nr=S(Yt,Tt),ar=Object(p.a)({},Ee,{placeholder:Object(p.a)({},Ee.placeholder,{client:Yt}),client:Yt,page:nr});return ar},Hi=function(ne){var Ee=ne.frame;return Ee||we(!1),Ee},ga=function(ne){var Ee=ne.additions,tt=ne.updatedDroppables,Tt=ne.viewport,Yt=Tt.scroll.diff.value;return Ee.map(function(nr){var ar=nr.descriptor.droppableId,vr=tt[ar],Vr=Hi(vr),Yr=Vr.scroll.diff.value,kr=Qe(Yt,Yr),Pr=aa({draggable:nr,offset:kr,initialWindowScroll:Tt.scroll.initial});return Pr})},ha=function(ne){var Ee=ne.state,tt=ne.published;Ki();var Tt=tt.modified.map(function(Si){var Va=Ee.dimensions.droppables[Si.droppableId],Ei=ut(Va,Si.scroll);return Ei}),Yt=Object(p.a)({},Ee.dimensions.droppables,{},ht(Tt)),nr=Mr(ga({additions:tt.additions,updatedDroppables:Yt,viewport:Ee.viewport})),ar=Object(p.a)({},Ee.dimensions.draggables,{},nr);tt.removals.forEach(function(Si){delete ar[Si]});var vr={droppables:Yt,draggables:ar},Vr=gn(Ee.impact),Yr=Vr?vr.droppables[Vr]:null,kr=vr.draggables[Ee.critical.draggable.id],Pr=vr.droppables[Ee.critical.droppable.id],Gr=ka({draggable:kr,home:Pr,draggables:ar,viewport:Ee.viewport}),dn=Gr.impact,pn=Gr.afterCritical,ei=Yr&&Yr.isCombineEnabled?Ee.impact:dn,ui=mn({pageOffset:Ee.current.page.offset,draggable:vr.draggables[Ee.critical.draggable.id],draggables:vr.draggables,droppables:vr.droppables,previousImpact:ei,viewport:Ee.viewport,afterCritical:pn});Co();var ii=Object(p.a)({phase:"DRAGGING"},Ee,{phase:"DRAGGING",impact:ui,onLiftImpact:dn,dimensions:vr,afterCritical:pn,forceShouldAnimate:!1});if(Ee.phase==="COLLECTING")return ii;var Zi=Object(p.a)({phase:"DROP_PENDING"},ii,{phase:"DROP_PENDING",reason:Ee.reason,isWaiting:!1});return Zi},mo=function(ne){return ne.movementMode==="SNAP"},Pn=function(ne,Ee,tt){var Tt=Xa(ne.dimensions,Ee);return!mo(ne)||tt?jn({state:ne,dimensions:Tt}):Xi({state:ne,dimensions:Tt})};function qi(He){return He.isDragging&&He.movementMode==="SNAP"?Object(p.a)({phase:"DRAGGING"},He,{scrollJumpRequest:null}):He}var eo={phase:"IDLE",completed:null,shouldFlush:!1},Lo=function(ne,Ee){if(ne===void 0&&(ne=eo),Ee.type==="FLUSH")return Object(p.a)({},eo,{shouldFlush:!0});if(Ee.type==="INITIAL_PUBLISH"){ne.phase==="IDLE"||we(!1);var tt=Ee.payload,Tt=tt.critical,Yt=tt.clientSelection,nr=tt.viewport,ar=tt.dimensions,vr=tt.movementMode,Vr=ar.draggables[Tt.draggable.id],Yr=ar.droppables[Tt.droppable.id],kr={selection:Yt,borderBoxCenter:Vr.client.borderBox.center,offset:vt},Pr={client:kr,page:{selection:Qe(kr.selection,nr.scroll.initial),borderBoxCenter:Qe(kr.selection,nr.scroll.initial),offset:Qe(kr.selection,nr.scroll.diff.value)}},Gr=Lt(ar.droppables).every(function(G){return!G.isFixedOnPage}),dn=ka({draggable:Vr,home:Yr,draggables:ar.draggables,viewport:nr}),pn=dn.impact,ei=dn.afterCritical,ui={phase:"DRAGGING",isDragging:!0,critical:Tt,movementMode:vr,dimensions:ar,initial:Pr,current:Pr,isWindowScrollAllowed:Gr,impact:pn,afterCritical:ei,onLiftImpact:pn,viewport:nr,scrollJumpRequest:null,forceShouldAnimate:null};return ui}if(Ee.type==="COLLECTION_STARTING"){if(ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING")return ne;ne.phase==="DRAGGING"||we(!1);var ii=Object(p.a)({phase:"COLLECTING"},ne,{phase:"COLLECTING"});return ii}if(Ee.type==="PUBLISH_WHILE_DRAGGING")return ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING"||we(!1),ha({state:ne,published:Ee.payload});if(Ee.type==="MOVE"){if(ne.phase==="DROP_PENDING")return ne;Jn(ne)||we(!1);var Zi=Ee.payload.client;return Pe(Zi,ne.current.client.selection)?ne:jn({state:ne,clientSelection:Zi,impact:mo(ne)?ne.impact:null})}if(Ee.type==="UPDATE_DROPPABLE_SCROLL"){if(ne.phase==="DROP_PENDING")return qi(ne);if(ne.phase==="COLLECTING")return qi(ne);Jn(ne)||we(!1);var Si=Ee.payload,Va=Si.id,Ei=Si.newScroll,uo=ne.dimensions.droppables[Va];if(!uo)return ne;var zo=ut(uo,Ei);return Pn(ne,zo,!1)}if(Ee.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ne.phase==="DROP_PENDING")return ne;Jn(ne)||we(!1);var ao=Ee.payload,_o=ao.id,m=ao.isEnabled,I=ne.dimensions.droppables[_o];I||we(!1),I.isEnabled!==m||we(!1);var W=Object(p.a)({},I,{isEnabled:m});return Pn(ne,W,!0)}if(Ee.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ne.phase==="DROP_PENDING")return ne;Jn(ne)||we(!1);var V=Ee.payload,q=V.id,ve=V.isCombineEnabled,Je=ne.dimensions.droppables[q];Je||we(!1),Je.isCombineEnabled!==ve||we(!1);var St=Object(p.a)({},Je,{isCombineEnabled:ve});return Pn(ne,St,!0)}if(Ee.type==="MOVE_BY_WINDOW_SCROLL"){if(ne.phase==="DROP_PENDING"||ne.phase==="DROP_ANIMATING")return ne;Jn(ne)||we(!1),ne.isWindowScrollAllowed||we(!1);var Ut=Ee.payload.newScroll;if(Pe(ne.viewport.scroll.current,Ut))return qi(ne);var Wt=Ht(ne.viewport,Ut);return mo(ne)?Xi({state:ne,viewport:Wt}):jn({state:ne,viewport:Wt})}if(Ee.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Jn(ne))return ne;var Er=Ee.payload.maxScroll;if(Pe(Er,ne.viewport.scroll.max))return ne;var _r=Object(p.a)({},ne.viewport,{scroll:Object(p.a)({},ne.viewport.scroll,{max:Er})});return Object(p.a)({phase:"DRAGGING"},ne,{viewport:_r})}if(Ee.type==="MOVE_UP"||Ee.type==="MOVE_DOWN"||Ee.type==="MOVE_LEFT"||Ee.type==="MOVE_RIGHT"){if(ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING")return ne;ne.phase==="DRAGGING"||we(!1);var en=Wn({state:ne,type:Ee.type});return en?jn({state:ne,impact:en.impact,clientSelection:en.clientSelection,scrollJumpRequest:en.scrollJumpRequest}):ne}if(Ee.type==="DROP_PENDING"){var nn=Ee.payload.reason;ne.phase==="COLLECTING"||we(!1);var xn=Object(p.a)({phase:"DROP_PENDING"},ne,{phase:"DROP_PENDING",isWaiting:!0,reason:nn});return xn}if(Ee.type==="DROP_ANIMATE"){var kn=Ee.payload,$n=kn.completed,Zn=kn.dropDuration,oi=kn.newHomeClientOffset;ne.phase==="DRAGGING"||ne.phase==="DROP_PENDING"||we(!1);var li={phase:"DROP_ANIMATING",completed:$n,dropDuration:Zn,newHomeClientOffset:oi,dimensions:ne.dimensions};return li}if(Ee.type==="DROP_COMPLETE"){var Ne=Ee.payload.completed;return{phase:"IDLE",completed:Ne,shouldFlush:!1}}return ne},co=function(ne){return{type:"BEFORE_INITIAL_CAPTURE",payload:ne}},er=function(ne){return{type:"LIFT",payload:ne}},Cr=function(ne){return{type:"INITIAL_PUBLISH",payload:ne}},Ur=function(ne){return{type:"PUBLISH_WHILE_DRAGGING",payload:ne}},Kr=function(){return{type:"COLLECTION_STARTING",payload:null}},hn=function(ne){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ne}},Fe=function(ne){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ne}},Rt=function(ne){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ne}},Xt=function(ne){return{type:"MOVE",payload:ne}},tr=function(ne){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ne}},Or=function(ne){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ne}},br=function(){return{type:"MOVE_UP",payload:null}},xr=function(){return{type:"MOVE_DOWN",payload:null}},Wr=function(){return{type:"MOVE_RIGHT",payload:null}},Zr=function(){return{type:"MOVE_LEFT",payload:null}},$r=function(){return{type:"FLUSH",payload:null}},an=function(ne){return{type:"DROP_ANIMATE",payload:ne}},rt=function(ne){return{type:"DROP_COMPLETE",payload:ne}},jt=function(ne){return{type:"DROP",payload:ne}},ir=function(ne){return{type:"DROP_PENDING",payload:ne}},yr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Br(He){if(He.length<=1)return;for(var ne=He.map(function(ar){return ar.descriptor.index}),Ee={},tt=1;tt<ne.length;tt++){var Tt=ne[tt],Yt=ne[tt-1];Tt!==Yt+1&&(Ee[Tt]=!0)}if(!Object.keys(Ee).length)return;var nr=ne.map(function(ar){var vr=Boolean(Ee[ar]);return vr?"[\u{1F525}"+ar+"]":""+ar}).join(", ")}function Dr(He,ne){if(!1)var Ee}var rn=function(ne){return function(Ee){var tt=Ee.getState,Tt=Ee.dispatch;return function(Yt){return function(nr){if(nr.type!=="LIFT"){Yt(nr);return}var ar=nr.payload,vr=ar.id,Vr=ar.clientSelection,Yr=ar.movementMode,kr=tt();kr.phase==="DROP_ANIMATING"&&Tt(rt({completed:kr.completed})),tt().phase==="IDLE"||we(!1),Tt($r()),Tt(co({draggableId:vr,movementMode:Yr}));var Pr={shouldPublishImmediately:Yr==="SNAP"},Gr={draggableId:vr,scrollOptions:Pr},dn=ne.startPublishing(Gr),pn=dn.critical,ei=dn.dimensions,ui=dn.viewport;Dr(pn,ei),Tt(Cr({critical:pn,dimensions:ei,clientSelection:Vr,movementMode:Yr,viewport:ui}))}}}},fn=function(ne){return function(){return function(Ee){return function(tt){tt.type==="INITIAL_PUBLISH"&&ne.dragging(),tt.type==="DROP_ANIMATE"&&ne.dropping(tt.payload.completed.result.reason),(tt.type==="FLUSH"||tt.type==="DROP_COMPLETE")&&ne.resting(),Ee(tt)}}}},wn={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Hn={opacity:{drop:0,combining:.7},scale:{drop:.75}},Sn={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},bn=Sn.outOfTheWay+"s "+wn.outOfTheWay,Bn={fluid:"opacity "+bn,snap:"transform "+bn+", opacity "+bn,drop:function(ne){var Ee=ne+"s "+wn.drop;return"transform "+Ee+", opacity "+Ee},outOfTheWay:"transform "+bn,placeholder:"height "+bn+", width "+bn+", margin "+bn},vn=function(ne){return Pe(ne,vt)?null:"translate("+ne.x+"px, "+ne.y+"px)"},Mn={moveTo:vn,drop:function(ne,Ee){var tt=vn(ne);return tt?Ee?tt+" scale("+Hn.scale.drop+")":tt:null}},En=Sn.minDropTime,Tn=Sn.maxDropTime,Yn=Tn-En,ai=1500,ri=.6,Ri=function(ne){var Ee=ne.current,tt=ne.destination,Tt=ne.reason,Yt=ot(Ee,tt);if(Yt<=0)return En;if(Yt>=ai)return Tn;var nr=Yt/ai,ar=En+Yn*nr,vr=Tt==="CANCEL"?ar*ri:ar;return Number(vr.toFixed(2))},Ai=function(ne){var Ee=ne.impact,tt=ne.draggable,Tt=ne.dimensions,Yt=ne.viewport,nr=ne.afterCritical,ar=Tt.draggables,vr=Tt.droppables,Vr=gn(Ee),Yr=Vr?vr[Vr]:null,kr=vr[tt.descriptor.droppableId],Pr=Da({impact:Ee,draggable:tt,draggables:ar,afterCritical:nr,droppable:Yr||kr,viewport:Yt}),Gr=mt(Pr,tt.client.borderBox.center);return Gr},xi=function(ne){var Ee=ne.draggables,tt=ne.reason,Tt=ne.lastImpact,Yt=ne.home,nr=ne.viewport,ar=ne.onLiftImpact;if(!Tt.at||tt!=="DROP"){var vr=di({draggables:Ee,impact:ar,destination:Yt,viewport:nr,forceShouldAnimate:!0});return{impact:vr,didDropInsideDroppable:!1}}if(Tt.at.type==="REORDER")return{impact:Tt,didDropInsideDroppable:!0};var Vr=Object(p.a)({},Tt,{displaced:ae});return{impact:Vr,didDropInsideDroppable:!0}},Oi=function(ne){var Ee=ne.getState,tt=ne.dispatch;return function(Tt){return function(Yt){if(Yt.type!=="DROP"){Tt(Yt);return}var nr=Ee(),ar=Yt.payload.reason;if(nr.phase==="COLLECTING"){tt(ir({reason:ar}));return}if(nr.phase==="IDLE")return;var vr=nr.phase==="DROP_PENDING"&&nr.isWaiting;vr&&we(!1),nr.phase==="DRAGGING"||nr.phase==="DROP_PENDING"||we(!1);var Vr=nr.critical,Yr=nr.dimensions,kr=Yr.draggables[nr.critical.draggable.id],Pr=xi({reason:ar,lastImpact:nr.impact,afterCritical:nr.afterCritical,onLiftImpact:nr.onLiftImpact,home:nr.dimensions.droppables[nr.critical.droppable.id],viewport:nr.viewport,draggables:nr.dimensions.draggables}),Gr=Pr.impact,dn=Pr.didDropInsideDroppable,pn=dn?qt(Gr):null,ei=dn?hr(Gr):null,ui={index:Vr.draggable.index,droppableId:Vr.droppable.id},ii={draggableId:kr.descriptor.id,type:kr.descriptor.type,source:ui,reason:ar,mode:nr.movementMode,destination:pn,combine:ei},Zi=Ai({impact:Gr,draggable:kr,dimensions:Yr,viewport:nr.viewport,afterCritical:nr.afterCritical}),Si={critical:nr.critical,afterCritical:nr.afterCritical,result:ii,impact:Gr},Va=!Pe(nr.current.client.offset,Zi)||Boolean(ii.combine);if(!Va){tt(rt({completed:Si}));return}var Ei=Ri({current:nr.current.client.offset,destination:Zi,reason:ar}),uo={newHomeClientOffset:Zi,dropDuration:Ei,completed:Si};tt(an(uo))}}},_n=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Mi(He){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Ee){if(Ee.target!==window&&Ee.target!==window.document)return;He()}}}function fa(He){var ne=He.onWindowScroll;function Ee(){ne(_n())}var tt=D(Ee),Tt=Mi(tt),Yt=Q;function nr(){return Yt!==Q}function ar(){nr()&&we(!1),Yt=he(window,[Tt])}function vr(){nr()||we(!1),tt.cancel(),Yt(),Yt=Q}return{start:ar,stop:vr,isActive:nr}}var _i=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},Bi=function(ne){var Ee=fa({onWindowScroll:function(Tt){ne.dispatch(tr({newScroll:Tt}))}});return function(tt){return function(Tt){!Ee.isActive()&&Tt.type==="INITIAL_PUBLISH"&&Ee.start(),Ee.isActive()&&_i(Tt)&&Ee.stop(),tt(Tt)}}},mi=function(ne){var Ee=!1,tt=!1,Tt=setTimeout(function(){tt=!0}),Yt=function(ar){if(Ee)return;if(tt)return;Ee=!0,ne(ar),clearTimeout(Tt)};return Yt.wasCalled=function(){return Ee},Yt},hi=function(){var ne=[],Ee=function(nr){var ar=me(ne,function(Yr){return Yr.timerId===nr});ar!==-1||we(!1);var vr=ne.splice(ar,1),Vr=vr[0];Vr.callback()},tt=function(nr){var ar=setTimeout(function(){return Ee(ar)}),vr={timerId:ar,callback:nr};ne.push(vr)},Tt=function(){if(!ne.length)return;var nr=[].concat(ne);ne.length=0,nr.forEach(function(ar){clearTimeout(ar.timerId),ar.callback()})};return{add:tt,flush:Tt}},Ji=function(ne,Ee){return ne==null&&Ee==null?!0:ne==null||Ee==null?!1:ne.droppableId===Ee.droppableId&&ne.index===Ee.index},va=function(ne,Ee){return ne==null&&Ee==null?!0:ne==null||Ee==null?!1:ne.draggableId===Ee.draggableId&&ne.droppableId===Ee.droppableId},Ea=function(ne,Ee){if(ne===Ee)return!0;var tt=ne.draggable.id===Ee.draggable.id&&ne.draggable.droppableId===Ee.draggable.droppableId&&ne.draggable.type===Ee.draggable.type&&ne.draggable.index===Ee.draggable.index,Tt=ne.droppable.id===Ee.droppable.id&&ne.droppable.type===Ee.droppable.type;return tt&&Tt},Aa=function(ne,Ee){Ki(),Ee(),Co()},oa=function(ne,Ee){return{draggableId:ne.draggable.id,type:ne.droppable.type,source:{droppableId:ne.droppable.id,index:ne.draggable.index},mode:Ee}},sa=function(ne,Ee,tt,Tt){if(!ne){tt(Tt(Ee));return}var Yt=mi(tt),nr={announce:Yt};ne(Ee,nr),Yt.wasCalled()||tt(Tt(Ee))},Di=function(ne,Ee){var tt=hi(),Tt=null,Yt=function(Gr,dn){Tt&&we(!1),Aa("onBeforeCapture",function(){var pn=ne().onBeforeCapture;if(pn){var ei={draggableId:Gr,mode:dn};pn(ei)}})},nr=function(Gr,dn){Tt&&we(!1),Aa("onBeforeDragStart",function(){var pn=ne().onBeforeDragStart;pn&&pn(oa(Gr,dn))})},ar=function(Gr,dn){Tt&&we(!1);var pn=oa(Gr,dn);Tt={mode:dn,lastCritical:Gr,lastLocation:pn.source,lastCombine:null},tt.add(function(){Aa("onDragStart",function(){return sa(ne().onDragStart,pn,Ee,dt.onDragStart)})})},vr=function(Gr,dn){var pn=qt(dn),ei=hr(dn);Tt||we(!1);var ui=!Ea(Gr,Tt.lastCritical);ui&&(Tt.lastCritical=Gr);var ii=!Ji(Tt.lastLocation,pn);ii&&(Tt.lastLocation=pn);var Zi=!va(Tt.lastCombine,ei);if(Zi&&(Tt.lastCombine=ei),!ui&&!ii&&!Zi)return;var Si=Object(p.a)({},oa(Gr,Tt.mode),{combine:ei,destination:pn});tt.add(function(){Aa("onDragUpdate",function(){return sa(ne().onDragUpdate,Si,Ee,dt.onDragUpdate)})})},Vr=function(){Tt||we(!1),tt.flush()},Yr=function(Gr){Tt||we(!1),Tt=null,Aa("onDragEnd",function(){return sa(ne().onDragEnd,Gr,Ee,dt.onDragEnd)})},kr=function(){if(!Tt)return;var Gr=Object(p.a)({},oa(Tt.lastCritical,Tt.mode),{combine:null,destination:null,reason:"CANCEL"});Yr(Gr)};return{beforeCapture:Yt,beforeStart:nr,start:ar,update:vr,flush:Vr,drop:Yr,abort:kr}},qn=function(ne,Ee){var tt=Di(ne,Ee);return function(Tt){return function(Yt){return function(nr){if(nr.type==="BEFORE_INITIAL_CAPTURE"){tt.beforeCapture(nr.payload.draggableId,nr.payload.movementMode);return}if(nr.type==="INITIAL_PUBLISH"){var ar=nr.payload.critical;tt.beforeStart(ar,nr.payload.movementMode),Yt(nr),tt.start(ar,nr.payload.movementMode);return}if(nr.type==="DROP_COMPLETE"){var vr=nr.payload.completed.result;tt.flush(),Yt(nr),tt.drop(vr);return}if(Yt(nr),nr.type==="FLUSH"){tt.abort();return}var Vr=Tt.getState();Vr.phase==="DRAGGING"&&tt.update(Vr.critical,Vr.impact)}}}},yi=function(ne){return function(Ee){return function(tt){if(tt.type!=="DROP_ANIMATION_FINISHED"){Ee(tt);return}var Tt=ne.getState();Tt.phase==="DROP_ANIMATING"||we(!1),ne.dispatch(rt({completed:Tt.completed}))}}},Ti=function(ne){var Ee=null,tt=null;function Tt(){tt&&(cancelAnimationFrame(tt),tt=null),Ee&&(Ee(),Ee=null)}return function(Yt){return function(nr){if((nr.type==="FLUSH"||nr.type==="DROP_COMPLETE"||nr.type==="DROP_ANIMATION_FINISHED")&&Tt(),Yt(nr),nr.type!=="DROP_ANIMATE")return;var ar={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Vr=ne.getState();Vr.phase==="DROP_ANIMATING"&&ne.dispatch(yr())}};tt=requestAnimationFrame(function(){tt=null,Ee=he(window,[ar])})}}},Vi=function(ne){return function(){return function(Ee){return function(tt){(tt.type==="DROP_COMPLETE"||tt.type==="FLUSH"||tt.type==="DROP_ANIMATE")&&ne.stopPublishing(),Ee(tt)}}}},Yi=function(ne){var Ee=!1;return function(){return function(tt){return function(Tt){if(Tt.type==="INITIAL_PUBLISH"){Ee=!0,ne.tryRecordFocus(Tt.payload.critical.draggable.id),tt(Tt),ne.tryRestoreFocusRecorded();return}if(tt(Tt),!Ee)return;if(Tt.type==="FLUSH"){Ee=!1,ne.tryRestoreFocusRecorded();return}if(Tt.type==="DROP_COMPLETE"){Ee=!1;var Yt=Tt.payload.completed.result;Yt.combine&&ne.tryShiftRecord(Yt.draggableId,Yt.combine.draggableId),ne.tryRestoreFocusRecorded()}}}}},bi=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},ya=function(ne){return function(Ee){return function(tt){return function(Tt){if(bi(Tt)){ne.stop(),tt(Tt);return}if(Tt.type==="INITIAL_PUBLISH"){tt(Tt);var Yt=Ee.getState();Yt.phase==="DRAGGING"||we(!1),ne.start(Yt);return}tt(Tt),ne.scroll(Ee.getState())}}}},ua=function(ne){return function(Ee){return function(tt){if(Ee(tt),tt.type!=="PUBLISH_WHILE_DRAGGING")return;var Tt=ne.getState();if(Tt.phase!=="DROP_PENDING")return;if(Tt.isWaiting)return;ne.dispatch(jt({reason:Tt.reason}))}}},la=v.d,gi=function(ne){var Ee=ne.dimensionMarshal,tt=ne.focusMarshal,Tt=ne.styleMarshal,Yt=ne.getResponders,nr=ne.announce,ar=ne.autoScroller;return Object(v.e)(Lo,la(Object(v.a)(fn(Tt),Vi(Ee),rn(Ee),Oi,yi,Ti,ua,ya(ar),Bi,Yi(tt),qn(Yt,nr))))},Ua=function(){return{additions:{},removals:{},modified:{}}};function Ba(He){var ne=He.registry,Ee=He.callbacks,tt=Ua(),Tt=null,Yt=function(){if(Tt)return;Ee.collectionStarting(),Tt=requestAnimationFrame(function(){Tt=null,Ki();var Yr=tt,kr=Yr.additions,Pr=Yr.removals,Gr=Yr.modified,dn=Object.keys(kr).map(function(ui){return ne.draggable.getById(ui).getDimension(vt)}).sort(function(ui,ii){return ui.descriptor.index-ii.descriptor.index}),pn=Object.keys(Gr).map(function(ui){var ii=ne.droppable.getById(ui),Zi=ii.callbacks.getScrollWhileDragging();return{droppableId:ui,scroll:Zi}}),ei={additions:dn,removals:Object.keys(Pr),modified:pn};tt=Ua(),Co(),Ee.publish(ei)})},nr=function(Yr){var kr=Yr.descriptor.id;tt.additions[kr]=Yr,tt.modified[Yr.descriptor.droppableId]=!0,tt.removals[kr]&&delete tt.removals[kr],Yt()},ar=function(Yr){var kr=Yr.descriptor;tt.removals[kr.id]=!0,tt.modified[kr.droppableId]=!0,tt.additions[kr.id]&&delete tt.additions[kr.id],Yt()},vr=function(){if(!Tt)return;cancelAnimationFrame(Tt),Tt=null,tt=Ua()};return{add:nr,remove:ar,stop:vr}}var ra=function(ne){var Ee=ne.scrollHeight,tt=ne.scrollWidth,Tt=ne.height,Yt=ne.width,nr=mt({x:tt,y:Ee},{x:Yt,y:Tt}),ar={x:Math.max(0,nr.x),y:Math.max(0,nr.y)};return ar},Qi=function(){var ne=document.documentElement;return ne||we(!1),ne},Ya=function(){var ne=Qi(),Ee=ra({scrollHeight:ne.scrollHeight,scrollWidth:ne.scrollWidth,width:ne.clientWidth,height:ne.clientHeight});return Ee},zi=function(){var ne=_n(),Ee=Ya(),tt=ne.y,Tt=ne.x,Yt=Qi(),nr=Yt.clientWidth,ar=Yt.clientHeight,vr=Tt+nr,Vr=tt+ar,Yr=n({top:tt,left:Tt,right:vr,bottom:Vr}),kr={frame:Yr,scroll:{initial:ne,current:ne,max:Ee,diff:{value:vt,displacement:vt}}};return kr},Wi=function(ne){var Ee=ne.critical,tt=ne.scrollOptions,Tt=ne.registry;Ki();var Yt=zi(),nr=Yt.scroll.current,ar=Ee.droppable,vr=Tt.droppable.getAllByType(ar.type).map(function(Pr){return Pr.callbacks.getDimensionAndWatchScroll(nr,tt)}),Vr=Tt.draggable.getAllByType(Ee.draggable.type).map(function(Pr){return Pr.getDimension(nr)}),Yr={draggables:Mr(Vr),droppables:ht(vr)};Co();var kr={dimensions:Yr,critical:Ee,viewport:Yt};return kr};function ba(He,ne,Ee){if(Ee.descriptor.id===ne.id)return!1;if(Ee.descriptor.type!==ne.type)return!1;var tt=He.droppable.getById(Ee.descriptor.droppableId);return!(tt.descriptor.mode!=="virtual")}var _a=function(ne,Ee){var tt=null,Tt=Ba({callbacks:{publish:Ee.publishWhileDragging,collectionStarting:Ee.collectionStarting},registry:ne}),Yt=function(dn,pn){if(ne.droppable.exists(dn)||we(!1),!tt)return;Ee.updateDroppableIsEnabled({id:dn,isEnabled:pn})},nr=function(dn,pn){if(!tt)return;ne.droppable.exists(dn)||we(!1),Ee.updateDroppableIsCombineEnabled({id:dn,isCombineEnabled:pn})},ar=function(dn,pn){if(!tt)return;ne.droppable.exists(dn)||we(!1),Ee.updateDroppableScroll({id:dn,newScroll:pn})},vr=function(dn,pn){if(!tt)return;ne.droppable.getById(dn).callbacks.scroll(pn)},Vr=function(){if(!tt)return;Tt.stop();var dn=tt.critical.droppable;ne.droppable.getAllByType(dn.type).forEach(function(pn){return pn.callbacks.dragStopped()}),tt.unsubscribe(),tt=null},Yr=function(dn){tt||we(!1);var pn=tt.critical.draggable;dn.type==="ADDITION"&&(ba(ne,pn,dn.value)&&Tt.add(dn.value)),dn.type==="REMOVAL"&&(ba(ne,pn,dn.value)&&Tt.remove(dn.value))},kr=function(dn){tt&&we(!1);var pn=ne.draggable.getById(dn.draggableId),ei=ne.droppable.getById(pn.descriptor.droppableId),ui={draggable:pn.descriptor,droppable:ei.descriptor},ii=ne.subscribe(Yr);return tt={critical:ui,unsubscribe:ii},Wi({critical:ui,registry:ne,scrollOptions:dn.scrollOptions})},Pr={updateDroppableIsEnabled:Yt,updateDroppableIsCombineEnabled:nr,scrollDroppable:vr,updateDroppableScroll:ar,startPublishing:kr,stopPublishing:Vr};return Pr},wa=function(ne,Ee){return ne.phase==="IDLE"?!0:ne.phase!=="DROP_ANIMATING"||ne.completed.result.draggableId===Ee?!1:ne.completed.result.reason==="DROP"},vi=function(ne){window.scrollBy(ne.x,ne.y)},Qa=L(function(He){return Lt(He).filter(function(ne){return ne.isEnabled?!!ne.frame:!1})}),za=function(ne,Ee){var tt=it(Qa(Ee),function(Tt){return Tt.frame||we(!1),Qn(Tt.frame.pageMarginBox)(ne)});return tt},pa=function(ne){var Ee=ne.center,tt=ne.destination,Tt=ne.droppables;if(tt){var Yt=Tt[tt];return Yt.frame?Yt:null}var nr=za(Ee,Tt);return nr},Ii={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ne){return Math.pow(ne,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},So=function(ne,Ee){var tt=ne[Ee.size]*Ii.startFromPercentage,Tt=ne[Ee.size]*Ii.maxScrollAtPercentage,Yt={startScrollingFrom:tt,maxScrollValueAt:Tt};return Yt},Wa=function(ne){var Ee=ne.startOfRange,tt=ne.endOfRange,Tt=ne.current,Yt=tt-Ee;if(Yt===0)return 0;var nr=Tt-Ee,ar=nr/Yt;return ar},ja=1,Ja=function(ne,Ee){if(ne>Ee.startScrollingFrom)return 0;if(ne<=Ee.maxScrollValueAt)return Ii.maxPixelScroll;if(ne===Ee.startScrollingFrom)return ja;var tt=Wa({startOfRange:Ee.maxScrollValueAt,endOfRange:Ee.startScrollingFrom,current:ne}),Tt=1-tt,Yt=Ii.maxPixelScroll*Ii.ease(Tt);return Math.ceil(Yt)},ho=Ii.durationDampening.accelerateAt,Ca=Ii.durationDampening.stopDampeningAt,to=function(ne,Ee){var tt=Ee,Tt=Ca,Yt=Date.now(),nr=Yt-tt;if(nr>=Ca)return ne;if(nr<ho)return ja;var ar=Wa({startOfRange:ho,endOfRange:Tt,current:nr}),vr=ne*Ii.ease(ar);return Math.ceil(vr)},Oo=function(ne){var Ee=ne.distanceToEdge,tt=ne.thresholds,Tt=ne.dragStartTime,Yt=ne.shouldUseTimeDampening,nr=Ja(Ee,tt);return nr===0?0:Yt?Math.max(to(nr,Tt),ja):nr},Ta=function(ne){var Ee=ne.container,tt=ne.distanceToEdges,Tt=ne.dragStartTime,Yt=ne.axis,nr=ne.shouldUseTimeDampening,ar=So(Ee,Yt),vr=tt[Yt.end]<tt[Yt.start];return vr?Oo({distanceToEdge:tt[Yt.end],thresholds:ar,dragStartTime:Tt,shouldUseTimeDampening:nr}):-1*Oo({distanceToEdge:tt[Yt.start],thresholds:ar,dragStartTime:Tt,shouldUseTimeDampening:nr})},Fi=function(ne){var Ee=ne.container,tt=ne.subject,Tt=ne.proposedScroll,Yt=tt.height>Ee.height,nr=tt.width>Ee.width;return!nr&&!Yt?Tt:nr&&Yt?null:{x:nr?0:Tt.x,y:Yt?0:Tt.y}},Za=Bt(function(He){return He===0?0:He}),Ra=function(ne){var Ee=ne.dragStartTime,tt=ne.container,Tt=ne.subject,Yt=ne.center,nr=ne.shouldUseTimeDampening,ar={top:Yt.y-tt.top,right:tt.right-Yt.x,bottom:tt.bottom-Yt.y,left:Yt.x-tt.left},vr=Ta({container:tt,distanceToEdges:ar,dragStartTime:Ee,axis:xe,shouldUseTimeDampening:nr}),Vr=Ta({container:tt,distanceToEdges:ar,dragStartTime:Ee,axis:ke,shouldUseTimeDampening:nr}),Yr=Za({x:Vr,y:vr});if(Pe(Yr,vt))return null;var kr=Fi({container:tt,subject:Tt,proposedScroll:Yr});return kr?Pe(kr,vt)?null:kr:null},pi=Bt(function(He){return He===0?0:He>0?1:-1}),Gi=function(){var He=function(Ee,tt){return Ee<0?Ee:Ee>tt?Ee-tt:0};return function(ne){var Ee=ne.current,tt=ne.max,Tt=ne.change,Yt=Qe(Ee,Tt),nr={x:He(Yt.x,tt.x),y:He(Yt.y,tt.y)};return Pe(nr,vt)?null:nr}}(),oo=function(ne){var Ee=ne.max,tt=ne.current,Tt=ne.change,Yt={x:Math.max(tt.x,Ee.x),y:Math.max(tt.y,Ee.y)},nr=pi(Tt),ar=Gi({max:Yt,current:tt,change:nr});return ar?nr.x!==0&&ar.x===0?!0:nr.y!==0&&ar.y===0:!0},go=function(ne,Ee){return oo({current:ne.scroll.current,max:ne.scroll.max,change:Ee})},fo=function(ne,Ee){if(!go(ne,Ee))return null;var tt=ne.scroll.max,Tt=ne.scroll.current;return Gi({current:Tt,max:tt,change:Ee})},La=function(ne,Ee){var tt=ne.frame;return tt?oo({current:tt.scroll.current,max:tt.scroll.max,change:Ee}):!1},Pi=function(ne,Ee){var tt=ne.frame;return tt&&La(ne,Ee)?Gi({current:tt.scroll.current,max:tt.scroll.max,change:Ee}):null},Ma=function(ne){var Ee=ne.viewport,tt=ne.subject,Tt=ne.center,Yt=ne.dragStartTime,nr=ne.shouldUseTimeDampening,ar=Ra({dragStartTime:Yt,container:Ee.frame,subject:tt,center:Tt,shouldUseTimeDampening:nr});return ar&&go(Ee,ar)?ar:null},Vo=function(ne){var Ee=ne.droppable,tt=ne.subject,Tt=ne.center,Yt=ne.dragStartTime,nr=ne.shouldUseTimeDampening,ar=Ee.frame;if(!ar)return null;var vr=Ra({dragStartTime:Yt,container:ar.pageMarginBox,subject:tt,center:Tt,shouldUseTimeDampening:nr});return vr&&La(Ee,vr)?vr:null},ro=function(ne){var Ee=ne.state,tt=ne.dragStartTime,Tt=ne.shouldUseTimeDampening,Yt=ne.scrollWindow,nr=ne.scrollDroppable,ar=Ee.current.page.borderBoxCenter,vr=Ee.dimensions.draggables[Ee.critical.draggable.id],Vr=vr.page.marginBox;if(Ee.isWindowScrollAllowed){var Yr=Ee.viewport,kr=Ma({dragStartTime:tt,viewport:Yr,subject:Vr,center:ar,shouldUseTimeDampening:Tt});if(kr){Yt(kr);return}}var Pr=pa({center:ar,destination:gn(Ee.impact),droppables:Ee.dimensions.droppables});if(!Pr)return;var Gr=Vo({dragStartTime:tt,droppable:Pr,subject:Vr,center:ar,shouldUseTimeDampening:Tt});Gr&&nr(Pr.descriptor.id,Gr)},vo=function(ne){var Ee=ne.scrollWindow,tt=ne.scrollDroppable,Tt=D(Ee),Yt=D(tt),nr=null,ar=function(kr){nr||we(!1);var Pr=nr,Gr=Pr.shouldUseTimeDampening,dn=Pr.dragStartTime;ro({state:kr,scrollWindow:Tt,scrollDroppable:Yt,dragStartTime:dn,shouldUseTimeDampening:Gr})},vr=function(kr){Ki(),nr&&we(!1);var Pr=Date.now(),Gr=!1,dn=function(){Gr=!0};ro({state:kr,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:dn,scrollDroppable:dn}),nr={dragStartTime:Pr,shouldUseTimeDampening:Gr},Co(),Gr&&ar(kr)},Vr=function(){if(!nr)return;Tt.cancel(),Yt.cancel(),nr=null};return{start:vr,stop:Vr,scroll:ar}},po=function(ne){var Ee=ne.move,tt=ne.scrollDroppable,Tt=ne.scrollWindow,Yt=function(Yr,kr){var Pr=Qe(Yr.current.client.selection,kr);Ee({client:Pr})},nr=function(Yr,kr){if(!La(Yr,kr))return kr;var Pr=Pi(Yr,kr);if(!Pr)return tt(Yr.descriptor.id,kr),null;var Gr=mt(kr,Pr);tt(Yr.descriptor.id,Gr);var dn=mt(kr,Gr);return dn},ar=function(Yr,kr,Pr){if(!Yr)return Pr;if(!go(kr,Pr))return Pr;var Gr=fo(kr,Pr);if(!Gr)return Tt(Pr),null;var dn=mt(Pr,Gr);Tt(dn);var pn=mt(Pr,dn);return pn},vr=function(Yr){var kr=Yr.scrollJumpRequest;if(!kr)return;var Pr=gn(Yr.impact);Pr||we(!1);var Gr=nr(Yr.dimensions.droppables[Pr],kr);if(!Gr)return;var dn=Yr.viewport,pn=ar(Yr.isWindowScrollAllowed,dn,Gr);if(!pn)return;Yt(Yr,pn)};return vr},$i=function(ne){var Ee=ne.scrollDroppable,tt=ne.scrollWindow,Tt=ne.move,Yt=vo({scrollWindow:tt,scrollDroppable:Ee}),nr=po({move:Tt,scrollWindow:tt,scrollDroppable:Ee}),ar=function(Yr){if(Yr.phase!=="DRAGGING")return;if(Yr.movementMode==="FLUID"){Yt.scroll(Yr);return}if(!Yr.scrollJumpRequest)return;nr(Yr)},vr={scroll:ar,start:Yt.start,stop:Yt.stop};return vr},xo="data-rbd",is=function(){var He=xo+"-drag-handle";return{base:He,draggableId:He+"-draggable-id",contextId:He+"-context-id"}}(),Zo=function(){var He=xo+"-draggable";return{base:He,contextId:He+"-context-id",id:He+"-id"}}(),Ns=function(){var He=xo+"-droppable";return{base:He,contextId:He+"-context-id",id:He+"-id"}}(),Cs={contextId:xo+"-scroll-container-context-id"},Ls=function(ne){return function(Ee){return"["+Ee+'="'+ne+'"]'}},Go=function(ne,Ee){return ne.map(function(tt){var Tt=tt.styles[Ee];return Tt?tt.selector+" { "+Tt+" }":""}).join(" ")},bo="pointer-events: none;",$a=function(ne){var Ee=Ls(ne),tt=function(){var vr=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:Ee(is.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:vr,dragging:bo,dropAnimating:vr}}}(),Tt=function(){var vr=`
|
|
|
transition: `+Bn.outOfTheWay+`;
|
|
|
`;return{selector:Ee(Zo.contextId),styles:{dragging:vr,dropAnimating:vr,userCancel:vr}}}(),Yt={selector:Ee(Ns.contextId),styles:{always:"overflow-anchor: none;"}},nr={selector:"body",styles:{dragging:`
|
|
|
cursor: grabbing;
|
|
|
cursor: -webkit-grabbing;
|
|
|
user-select: none;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
overflow-anchor: none;
|
|
|
`}},ar=[Tt,tt,Yt,nr];return{always:Go(ar,"always"),resting:Go(ar,"resting"),dragging:Go(ar,"dragging"),dropAnimating:Go(ar,"dropAnimating"),userCancel:Go(ar,"userCancel")}},Ga=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?d.useLayoutEffect:d.useEffect,so=function(){var ne=document.querySelector("head");return ne||we(!1),ne},ps=function(ne){var Ee=document.createElement("style");return ne&&Ee.setAttribute("nonce",ne),Ee.type="text/css",Ee};function wr(He,ne){var Ee=a(function(){return $a(He)},[He]),tt=Object(d.useRef)(null),Tt=Object(d.useRef)(null),Yt=s(L(function(kr){var Pr=Tt.current;Pr||we(!1),Pr.textContent=kr}),[]),nr=s(function(kr){var Pr=tt.current;Pr||we(!1),Pr.textContent=kr},[]);Ga(function(){!tt.current&&!Tt.current||we(!1);var kr=ps(ne),Pr=ps(ne);return tt.current=kr,Tt.current=Pr,kr.setAttribute(xo+"-always",He),Pr.setAttribute(xo+"-dynamic",He),so().appendChild(kr),so().appendChild(Pr),nr(Ee.always),Yt(Ee.resting),function(){var Gr=function(pn){var ei=pn.current;ei||we(!1),so().removeChild(ei),pn.current=null};Gr(tt),Gr(Tt)}},[ne,nr,Yt,Ee.always,Ee.resting,He]);var ar=s(function(){return Yt(Ee.dragging)},[Yt,Ee.dragging]),vr=s(function(kr){if(kr==="DROP"){Yt(Ee.dropAnimating);return}Yt(Ee.userCancel)},[Yt,Ee.dropAnimating,Ee.userCancel]),Vr=s(function(){if(!Tt.current)return;Yt(Ee.resting)},[Yt,Ee.resting]),Yr=a(function(){return{dragging:ar,dropping:vr,resting:Vr}},[ar,vr,Vr]);return Yr}var Yo=function(ne){return ne&&ne.ownerDocument?ne.ownerDocument.defaultView:window};function ss(He){return He instanceof Yo(He).HTMLElement}function Os(He,ne){var Ee="["+is.contextId+'="'+He+'"]',tt=Be(document.querySelectorAll(Ee));if(!tt.length)return null;var Tt=it(tt,function(Yt){return Yt.getAttribute(is.draggableId)===ne});return Tt&&ss(Tt)?Tt:null}function Fa(He){var ne=Object(d.useRef)({}),Ee=Object(d.useRef)(null),tt=Object(d.useRef)(null),Tt=Object(d.useRef)(!1),Yt=s(function(Pr,Gr){var dn={id:Pr,focus:Gr};return ne.current[Pr]=dn,function(){var ei=ne.current,ui=ei[Pr];ui!==dn&&delete ei[Pr]}},[]),nr=s(function(Pr){var Gr=Os(He,Pr);Gr&&Gr!==document.activeElement&&Gr.focus()},[He]),ar=s(function(Pr,Gr){Ee.current===Pr&&(Ee.current=Gr)},[]),vr=s(function(){if(tt.current)return;if(!Tt.current)return;tt.current=requestAnimationFrame(function(){tt.current=null;var Pr=Ee.current;Pr&&nr(Pr)})},[nr]),Vr=s(function(Pr){Ee.current=null;var Gr=document.activeElement;if(!Gr)return;if(Gr.getAttribute(is.draggableId)!==Pr)return;Ee.current=Pr},[]);Ga(function(){return Tt.current=!0,function(){Tt.current=!1;var Pr=tt.current;Pr&&cancelAnimationFrame(Pr)}},[]);var Yr=a(function(){return{register:Yt,tryRecordFocus:Vr,tryRestoreFocusRecorded:vr,tryShiftRecord:ar}},[Yt,Vr,vr,ar]);return Yr}function Oa(){var He={draggables:{},droppables:{}},ne=[];function Ee(kr){return ne.push(kr),function(){var Gr=ne.indexOf(kr);if(Gr===-1)return;ne.splice(Gr,1)}}function tt(kr){ne.length&&ne.forEach(function(Pr){return Pr(kr)})}function Tt(kr){return He.draggables[kr]||null}function Yt(kr){var Pr=Tt(kr);return Pr||we(!1),Pr}var nr={register:function(Pr){He.draggables[Pr.descriptor.id]=Pr,tt({type:"ADDITION",value:Pr})},update:function(Pr,Gr){var dn=He.draggables[Gr.descriptor.id];if(!dn)return;if(dn.uniqueId!==Pr.uniqueId)return;delete He.draggables[Gr.descriptor.id],He.draggables[Pr.descriptor.id]=Pr},unregister:function(Pr){var Gr=Pr.descriptor.id,dn=Tt(Gr);if(!dn)return;if(Pr.uniqueId!==dn.uniqueId)return;delete He.draggables[Gr],tt({type:"REMOVAL",value:Pr})},getById:Yt,findById:Tt,exists:function(Pr){return Boolean(Tt(Pr))},getAllByType:function(Pr){return oe(He.draggables).filter(function(Gr){return Gr.descriptor.type===Pr})}};function ar(kr){return He.droppables[kr]||null}function vr(kr){var Pr=ar(kr);return Pr||we(!1),Pr}var Vr={register:function(Pr){He.droppables[Pr.descriptor.id]=Pr},unregister:function(Pr){var Gr=ar(Pr.descriptor.id);if(!Gr)return;if(Pr.uniqueId!==Gr.uniqueId)return;delete He.droppables[Pr.descriptor.id]},getById:vr,findById:ar,exists:function(Pr){return Boolean(ar(Pr))},getAllByType:function(Pr){return oe(He.droppables).filter(function(Gr){return Gr.descriptor.type===Pr})}};function Yr(){He.draggables={},He.droppables={},ne.length=0}return{draggable:nr,droppable:Vr,subscribe:Ee,clean:Yr}}function Io(){var He=a(Oa,[]);return Object(d.useEffect)(function(){return function(){requestAnimationFrame(He.clean)}},[He]),He}var To=x.a.createContext(null),ts=function(){var ne=document.body;return ne||we(!1),ne},ko={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},rs=function(ne){return"rbd-announcement-"+ne};function ms(He){var ne=a(function(){return rs(He)},[He]),Ee=Object(d.useRef)(null);Object(d.useEffect)(function(){var Yt=document.createElement("div");return Ee.current=Yt,Yt.id=ne,Yt.setAttribute("aria-live","assertive"),Yt.setAttribute("aria-atomic","true"),Object(p.a)(Yt.style,ko),ts().appendChild(Yt),function(){setTimeout(function(){var vr=ts();vr.contains(Yt)&&vr.removeChild(Yt),Yt===Ee.current&&(Ee.current=null)})}},[ne]);var tt=s(function(Tt){var Yt=Ee.current;if(Yt){Yt.textContent=Tt;return}},[]);return tt}var ls=0,Ds={separator:"::"};function Rs(){ls=0}function as(He,ne){return ne===void 0&&(ne=Ds),a(function(){return""+He+ne.separator+ls++},[ne.separator,He])}function $s(He){var ne=He.contextId,Ee=He.uniqueId;return"rbd-hidden-text-"+ne+"-"+Ee}function us(He){var ne=He.contextId,Ee=He.text,tt=as("hidden-text",{separator:"-"}),Tt=a(function(){return $s({contextId:ne,uniqueId:tt})},[tt,ne]);return Object(d.useEffect)(function(){var nr=document.createElement("div");return nr.id=Tt,nr.textContent=Ee,nr.style.display="none",ts().appendChild(nr),function(){var vr=ts();vr.contains(nr)&&vr.removeChild(nr)}},[Tt,Ee]),Tt}var Bo=x.a.createContext(null),Rn={react:"^16.8.5","react-dom":"^16.8.5"},Vs=/(\d+)\.(\d+)\.(\d+)/,Is=function(ne){var Ee=Vs.exec(ne);Ee!=null||we(!1);var tt=Number(Ee[1]),Tt=Number(Ee[2]),Yt=Number(Ee[3]);return{major:tt,minor:Tt,patch:Yt,raw:ne}},Nt=function(ne,Ee){return Ee.major>ne.major?!0:Ee.major<ne.major?!1:Ee.minor>ne.minor?!0:Ee.minor<ne.minor?!1:Ee.patch>=ne.patch},re=function(ne,Ee){var tt=Is(ne),Tt=Is(Ee);if(Nt(tt,Tt))return},ce=`
|
|
|
We expect a html5 doctype: <!doctype html>
|
|
|
This is to ensure consistent browser layout and measurement
|
|
|
|
|
|
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
|
|
|
`,fe=function(ne){var Ee=ne.doctype;if(!Ee)return;Ee.name.toLowerCase()!=="html",Ee.publicId!==""};function Le(He){}function st(He,ne){Le(function(){Object(d.useEffect)(function(){try{He()}catch(Ee){k(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+Ee.message+`
|
|
|
`)}},ne)})}function Dt(){st(function(){re(Rn.react,x.a.version),fe(document)},[])}function cr(He){var ne=Object(d.useRef)(He);return Object(d.useEffect)(function(){ne.current=He}),ne}function mr(){var He=null;function ne(){return Boolean(He)}function Ee(nr){return nr===He}function tt(nr){He&&we(!1);var ar={abandon:nr};return He=ar,ar}function Tt(){He||we(!1),He=null}function Yt(){He&&(He.abandon(),Tt())}return{isClaimed:ne,isActive:Ee,claim:tt,release:Tt,tryAbandon:Yt}}var Rr=9,qr=13,ln=27,An=32,Cn=33,Xn=34,ti=35,wi=36,ea=37,ji=38,Sa=39,lo=40,Ka,Ao=(Ka={},Ka[qr]=!0,Ka[Rr]=!0,Ka),yo=function(ne){Ao[ne.keyCode]&&ne.preventDefault()},qa=function(){var He="visibilitychange";if(typeof document=="undefined")return He;var ne=[He,"ms"+He,"webkit"+He,"moz"+He,"o"+He],Ee=it(ne,function(tt){return"on"+tt in document});return Ee||He}(),Fo=0,Do=5;function Ha(He,ne){return Math.abs(ne.x-He.x)>=Do||Math.abs(ne.y-He.y)>=Do}var jo={type:"IDLE"};function Po(He){var ne=He.cancel,Ee=He.completed,tt=He.getPhase,Tt=He.setPhase;return[{eventName:"mousemove",fn:function(nr){var ar=nr.button,vr=nr.clientX,Vr=nr.clientY;if(ar!==Fo)return;var Yr={x:vr,y:Vr},kr=tt();if(kr.type==="DRAGGING"){nr.preventDefault(),kr.actions.move(Yr);return}kr.type==="PENDING"||we(!1);var Pr=kr.point;if(!Ha(Pr,Yr))return;nr.preventDefault();var Gr=kr.actions.fluidLift(Yr);Tt({type:"DRAGGING",actions:Gr})}},{eventName:"mouseup",fn:function(nr){var ar=tt();if(ar.type!=="DRAGGING"){ne();return}nr.preventDefault(),ar.actions.drop({shouldBlockNextClick:!0}),Ee()}},{eventName:"mousedown",fn:function(nr){tt().type==="DRAGGING"&&nr.preventDefault(),ne()}},{eventName:"keydown",fn:function(nr){var ar=tt();if(ar.type==="PENDING"){ne();return}if(nr.keyCode===ln){nr.preventDefault(),ne();return}yo(nr)}},{eventName:"resize",fn:ne},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){tt().type==="PENDING"&&ne()}},{eventName:"webkitmouseforcedown",fn:function(nr){var ar=tt();if(ar.type!=="IDLE"||we(!1),ar.actions.shouldRespectForcePress()){ne();return}nr.preventDefault()}},{eventName:qa,fn:ne}]}function Xo(He){var ne=Object(d.useRef)(jo),Ee=Object(d.useRef)(Q),tt=a(function(){return{eventName:"mousedown",fn:function(kr){if(kr.defaultPrevented)return;if(kr.button!==Fo)return;if(kr.ctrlKey||kr.metaKey||kr.shiftKey||kr.altKey)return;var Pr=He.findClosestDraggableId(kr);if(!Pr)return;var Gr=He.tryGetLock(Pr,nr,{sourceEvent:kr});if(!Gr)return;kr.preventDefault();var dn={x:kr.clientX,y:kr.clientY};Ee.current(),Vr(Gr,dn)}}},[He]),Tt=a(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(kr){if(kr.defaultPrevented)return;var Pr=He.findClosestDraggableId(kr);if(!Pr)return;var Gr=He.findOptionsForDraggable(Pr);if(!Gr)return;if(Gr.shouldRespectForcePress)return;if(!He.canGetLock(Pr))return;kr.preventDefault()}}},[He]),Yt=s(function(){var kr={passive:!1,capture:!0};Ee.current=he(window,[Tt,tt],kr)},[Tt,tt]),nr=s(function(){var Yr=ne.current;if(Yr.type==="IDLE")return;ne.current=jo,Ee.current(),Yt()},[Yt]),ar=s(function(){var Yr=ne.current;nr(),Yr.type==="DRAGGING"&&Yr.actions.cancel({shouldBlockNextClick:!0}),Yr.type==="PENDING"&&Yr.actions.abort()},[nr]),vr=s(function(){var kr={capture:!0,passive:!1},Pr=Po({cancel:ar,completed:nr,getPhase:function(){return ne.current},setPhase:function(dn){ne.current=dn}});Ee.current=he(window,Pr,kr)},[ar,nr]),Vr=s(function(kr,Pr){ne.current.type==="IDLE"||we(!1),ne.current={type:"PENDING",point:Pr,actions:kr},vr()},[vr]);Ga(function(){return Yt(),function(){Ee.current()}},[Yt])}var wo;function cs(){}var ns=(wo={},wo[Xn]=!0,wo[Cn]=!0,wo[wi]=!0,wo[ti]=!0,wo);function Ys(He,ne){function Ee(){ne(),He.cancel()}function tt(){ne(),He.drop()}return[{eventName:"keydown",fn:function(Yt){if(Yt.keyCode===ln){Yt.preventDefault(),Ee();return}if(Yt.keyCode===An){Yt.preventDefault(),tt();return}if(Yt.keyCode===lo){Yt.preventDefault(),He.moveDown();return}if(Yt.keyCode===ji){Yt.preventDefault(),He.moveUp();return}if(Yt.keyCode===Sa){Yt.preventDefault(),He.moveRight();return}if(Yt.keyCode===ea){Yt.preventDefault(),He.moveLeft();return}if(ns[Yt.keyCode]){Yt.preventDefault();return}yo(Yt)}},{eventName:"mousedown",fn:Ee},{eventName:"mouseup",fn:Ee},{eventName:"click",fn:Ee},{eventName:"touchstart",fn:Ee},{eventName:"resize",fn:Ee},{eventName:"wheel",fn:Ee,options:{passive:!0}},{eventName:qa,fn:Ee}]}function Qs(He){var ne=Object(d.useRef)(cs),Ee=a(function(){return{eventName:"keydown",fn:function(Yt){if(Yt.defaultPrevented)return;if(Yt.keyCode!==An)return;var nr=He.findClosestDraggableId(Yt);if(!nr)return;var ar=He.tryGetLock(nr,Yr,{sourceEvent:Yt});if(!ar)return;Yt.preventDefault();var vr=!0,Vr=ar.snapLift();ne.current();function Yr(){vr||we(!1),vr=!1,ne.current(),tt()}ne.current=he(window,Ys(Vr,Yr),{capture:!0,passive:!1})}}},[He]),tt=s(function(){var Yt={passive:!1,capture:!0};ne.current=he(window,[Ee],Yt)},[Ee]);Ga(function(){return tt(),function(){ne.current()}},[tt])}var Qo={type:"IDLE"},Eo=120,ds=.15;function hs(He){var ne=He.cancel,Ee=He.getPhase;return[{eventName:"orientationchange",fn:ne},{eventName:"resize",fn:ne},{eventName:"contextmenu",fn:function(Tt){Tt.preventDefault()}},{eventName:"keydown",fn:function(Tt){if(Ee().type!=="DRAGGING"){ne();return}Tt.keyCode===ln&&Tt.preventDefault(),ne()}},{eventName:qa,fn:ne}]}function Ms(He){var ne=He.cancel,Ee=He.completed,tt=He.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Yt){var nr=tt();if(nr.type!=="DRAGGING"){ne();return}nr.hasMoved=!0;var ar=Yt.touches[0],vr=ar.clientX,Vr=ar.clientY,Yr={x:vr,y:Vr};Yt.preventDefault(),nr.actions.move(Yr)}},{eventName:"touchend",fn:function(Yt){var nr=tt();if(nr.type!=="DRAGGING"){ne();return}Yt.preventDefault(),nr.actions.drop({shouldBlockNextClick:!0}),Ee()}},{eventName:"touchcancel",fn:function(Yt){if(tt().type!=="DRAGGING"){ne();return}Yt.preventDefault(),ne()}},{eventName:"touchforcechange",fn:function(Yt){var nr=tt();nr.type!=="IDLE"||we(!1);var ar=Yt.touches[0];if(!ar)return;var vr=ar.force>=ds;if(!vr)return;var Vr=nr.actions.shouldRespectForcePress();if(nr.type==="PENDING"){Vr&&ne();return}if(Vr){if(nr.hasMoved){Yt.preventDefault();return}ne();return}Yt.preventDefault()}},{eventName:qa,fn:ne}]}function Ro(He){var ne=Object(d.useRef)(Qo),Ee=Object(d.useRef)(Q),tt=s(function(){return ne.current},[]),Tt=s(function(Gr){ne.current=Gr},[]),Yt=a(function(){return{eventName:"touchstart",fn:function(Gr){if(Gr.defaultPrevented)return;var dn=He.findClosestDraggableId(Gr);if(!dn)return;var pn=He.tryGetLock(dn,ar,{sourceEvent:Gr});if(!pn)return;var ei=Gr.touches[0],ui=ei.clientX,ii=ei.clientY,Zi={x:ui,y:ii};Ee.current(),kr(pn,Zi)}}},[He]),nr=s(function(){var Gr={capture:!0,passive:!1};Ee.current=he(window,[Yt],Gr)},[Yt]),ar=s(function(){var Pr=ne.current;if(Pr.type==="IDLE")return;Pr.type==="PENDING"&&clearTimeout(Pr.longPressTimerId),Tt(Qo),Ee.current(),nr()},[nr,Tt]),vr=s(function(){var Pr=ne.current;ar(),Pr.type==="DRAGGING"&&Pr.actions.cancel({shouldBlockNextClick:!0}),Pr.type==="PENDING"&&Pr.actions.abort()},[ar]),Vr=s(function(){var Gr={capture:!0,passive:!1},dn={cancel:vr,completed:ar,getPhase:tt},pn=he(window,Ms(dn),Gr),ei=he(window,hs(dn),Gr);Ee.current=function(){pn(),ei()}},[vr,tt,ar]),Yr=s(function(){var Gr=tt();Gr.type==="PENDING"||we(!1);var dn=Gr.actions.fluidLift(Gr.point);Tt({type:"DRAGGING",actions:dn,hasMoved:!1})},[tt,Tt]),kr=s(function(Gr,dn){tt().type==="IDLE"||we(!1);var pn=setTimeout(Yr,Eo);Tt({type:"PENDING",point:dn,actions:Gr,longPressTimerId:pn}),Vr()},[Vr,tt,Tt,Yr]);Ga(function(){return nr(),function(){Ee.current();var dn=tt();dn.type==="PENDING"&&(clearTimeout(dn.longPressTimerId),Tt(Qo))}},[tt,nr,Tt]),Ga(function(){var Gr=he(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Gr},[])}function As(He){Le(function(){var ne=cr(He);st(function(){ne.current.length===He.length||we(!1)})})}var Bs={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function ys(He,ne){if(ne==null)return!1;var Ee=Boolean(Bs[ne.tagName.toLowerCase()]);if(Ee)return!0;var tt=ne.getAttribute("contenteditable");return tt==="true"||tt===""?!0:ne===He?!1:ys(He,ne.parentElement)}function Fs(He,ne){var Ee=ne.target;return ss(Ee)?ys(He,Ee):!1}var Hs=function(ne){return n(ne.getBoundingClientRect()).center};function bs(He){return He instanceof Yo(He).Element}var ca=function(){var He="matches";if(typeof document=="undefined")return He;var ne=[He,"msMatchesSelector","webkitMatchesSelector"],Ee=it(ne,function(tt){return tt in Element.prototype});return Ee||He}();function ci(He,ne){return He==null?null:He[ca](ne)?He:ci(He.parentElement,ne)}function ki(He,ne){return He.closest?He.closest(ne):ci(He,ne)}function Kn(He){return"["+is.contextId+'="'+He+'"]'}function io(He,ne){var Ee=ne.target;if(!bs(Ee))return null;var tt=Kn(He),Tt=ki(Ee,tt);return Tt&&ss(Tt)?Tt:null}function Jo(He,ne){var Ee=io(He,ne);return Ee?Ee.getAttribute(is.draggableId):null}function gs(He,ne){var Ee="["+Zo.contextId+'="'+He+'"]',tt=Be(document.querySelectorAll(Ee)),Tt=it(tt,function(Yt){return Yt.getAttribute(Zo.id)===ne});return Tt&&ss(Tt)?Tt:null}function os(He){He.preventDefault()}function $o(He){var ne=He.expected,Ee=He.phase,tt=He.isLockActive,Tt=He.shouldWarn;return tt()?!(ne!==Ee):!1}function qo(He){var ne=He.lockAPI,Ee=He.store,tt=He.registry,Tt=He.draggableId;if(ne.isClaimed())return!1;var Yt=tt.draggable.findById(Tt);return Yt&&Yt.options.isEnabled?!!wa(Ee.getState(),Tt):!1}function ws(He){var ne=He.lockAPI,Ee=He.contextId,tt=He.store,Tt=He.registry,Yt=He.draggableId,nr=He.forceSensorStop,ar=He.sourceEvent,vr=qo({lockAPI:ne,store:tt,registry:Tt,draggableId:Yt});if(!vr)return null;var Vr=Tt.draggable.getById(Yt),Yr=gs(Ee,Vr.descriptor.id);if(!Yr)return null;if(ar&&!Vr.options.canDragInteractiveElements&&Fs(Yr,ar))return null;var kr=ne.claim(nr||Q),Pr="PRE_DRAG";function Gr(){return Vr.options.shouldRespectForcePress}function dn(){return ne.isActive(kr)}function pn(Ei,uo){$o({expected:Ei,phase:Pr,isLockActive:dn,shouldWarn:!0})&&tt.dispatch(uo())}var ei=pn.bind(null,"DRAGGING");function ui(Ei){function uo(){ne.release(),Pr="COMPLETED"}Pr!=="PRE_DRAG"&&(uo(),Pr==="PRE_DRAG"||we(!1)),tt.dispatch(er(Ei.liftActionArgs)),Pr="DRAGGING";function zo(ao,_o){if(_o===void 0&&(_o={shouldBlockNextClick:!1}),Ei.cleanup(),_o.shouldBlockNextClick){var m=he(window,[{eventName:"click",fn:os,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(m)}uo(),tt.dispatch(jt({reason:ao}))}return Object(p.a)({isActive:function(){return $o({expected:"DRAGGING",phase:Pr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,drop:function(_o){return zo("DROP",_o)},cancel:function(_o){return zo("CANCEL",_o)}},Ei.actions)}function ii(Ei){var uo=D(function(ao){ei(function(){return Xt({client:ao})})}),zo=ui({liftActionArgs:{id:Yt,clientSelection:Ei,movementMode:"FLUID"},cleanup:function(){return uo.cancel()},actions:{move:uo}});return Object(p.a)({},zo,{move:uo})}function Zi(){var Ei={moveUp:function(){return ei(br)},moveRight:function(){return ei(Wr)},moveDown:function(){return ei(xr)},moveLeft:function(){return ei(Zr)}};return ui({liftActionArgs:{id:Yt,clientSelection:Hs(Yr),movementMode:"SNAP"},cleanup:Q,actions:Ei})}function Si(){var Ei=$o({expected:"PRE_DRAG",phase:Pr,isLockActive:dn,shouldWarn:!0});Ei&&ne.release()}var Va={isActive:function(){return $o({expected:"PRE_DRAG",phase:Pr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,fluidLift:ii,snapLift:Zi,abort:Si};return Va}var Ho=[Xo,Qs,Ro];function sl(He){var ne=He.contextId,Ee=He.store,tt=He.registry,Tt=He.customSensors,Yt=He.enableDefaultSensors,nr=[].concat(Yt?Ho:[],Tt||[]),ar=Object(d.useState)(function(){return mr()})[0],vr=s(function(ii,Zi){ii.isDragging&&!Zi.isDragging&&ar.tryAbandon()},[ar]);Ga(function(){var ii=Ee.getState(),Zi=Ee.subscribe(function(){var Si=Ee.getState();vr(ii,Si),ii=Si});return Zi},[ar,Ee,vr]),Ga(function(){return ar.tryAbandon},[ar.tryAbandon]);var Vr=s(function(ui){return qo({lockAPI:ar,registry:tt,store:Ee,draggableId:ui})},[ar,tt,Ee]),Yr=s(function(ui,ii,Zi){return ws({lockAPI:ar,registry:tt,contextId:ne,store:Ee,draggableId:ui,forceSensorStop:ii,sourceEvent:Zi&&Zi.sourceEvent?Zi.sourceEvent:null})},[ne,ar,tt,Ee]),kr=s(function(ui){return Jo(ne,ui)},[ne]),Pr=s(function(ui){var ii=tt.draggable.findById(ui);return ii?ii.options:null},[tt.draggable]),Gr=s(function(){if(!ar.isClaimed())return;ar.tryAbandon(),Ee.getState().phase!=="IDLE"&&Ee.dispatch($r())},[ar,Ee]),dn=s(ar.isClaimed,[ar]),pn=a(function(){return{canGetLock:Vr,tryGetLock:Yr,findClosestDraggableId:kr,findOptionsForDraggable:Pr,tryReleaseLock:Gr,isLockClaimed:dn}},[Vr,Yr,kr,Pr,Gr,dn]);As(nr);for(var ei=0;ei<nr.length;ei++)nr[ei](pn)}var _l=function(ne){return{onBeforeCapture:ne.onBeforeCapture,onBeforeDragStart:ne.onBeforeDragStart,onDragStart:ne.onDragStart,onDragEnd:ne.onDragEnd,onDragUpdate:ne.onDragUpdate}};function ll(He){return He.current||we(!1),He.current}function Nl(He){var ne=He.contextId,Ee=He.setCallbacks,tt=He.sensors,Tt=He.nonce,Yt=He.dragHandleUsageInstructions,nr=Object(d.useRef)(null);Dt();var ar=cr(He),vr=s(function(){return _l(ar.current)},[ar]),Vr=ms(ne),Yr=us({contextId:ne,text:Yt}),kr=wr(ne,Tt),Pr=s(function(ao){ll(nr).dispatch(ao)},[]),Gr=a(function(){return Object(v.b)({publishWhileDragging:Ur,updateDroppableScroll:hn,updateDroppableIsEnabled:Fe,updateDroppableIsCombineEnabled:Rt,collectionStarting:Kr},Pr)},[Pr]),dn=Io(),pn=a(function(){return _a(dn,Gr)},[dn,Gr]),ei=a(function(){return $i(Object(p.a)({scrollWindow:vi,scrollDroppable:pn.scrollDroppable},Object(v.b)({move:Xt},Pr)))},[pn.scrollDroppable,Pr]),ui=Fa(ne),ii=a(function(){return gi({announce:Vr,autoScroller:ei,dimensionMarshal:pn,focusMarshal:ui,getResponders:vr,styleMarshal:kr})},[Vr,ei,pn,ui,vr,kr]);nr.current=ii;var Zi=s(function(){var ao=ll(nr),_o=ao.getState();_o.phase!=="IDLE"&&ao.dispatch($r())},[]),Si=s(function(){var ao=ll(nr).getState();return ao.isDragging||ao.phase==="DROP_ANIMATING"},[]),Va=a(function(){return{isDragging:Si,tryAbort:Zi}},[Si,Zi]);Ee(Va);var Ei=s(function(ao){return wa(ll(nr).getState(),ao)},[]),uo=s(function(){return Jn(ll(nr).getState())},[]),zo=a(function(){return{marshal:pn,focus:ui,contextId:ne,canLift:Ei,isMovementAllowed:uo,dragHandleUsageInstructionsId:Yr,registry:dn}},[ne,pn,Yr,ui,Ei,uo,dn]);return sl({contextId:ne,store:ii,registry:dn,customSensors:tt,enableDefaultSensors:He.enableDefaultSensors!==!1}),Object(d.useEffect)(function(){return Zi},[Zi]),x.a.createElement(Bo.Provider,{value:zo},x.a.createElement(b.a,{context:To,store:ii},He.children))}var Ts=0;function Gs(){Ts=0}function qs(){return a(function(){return""+Ts++},[])}function jl(){Gs(),Rs()}function Hl(He){var ne=qs(),Ee=He.dragHandleUsageInstructions||dt.dragHandleUsageInstructions;return x.a.createElement(We,null,function(tt){return x.a.createElement(Nl,{nonce:He.nonce,contextId:ne,setCallbacks:tt,dragHandleUsageInstructions:Ee,enableDefaultSensors:He.enableDefaultSensors,sensors:He.sensors,onBeforeCapture:He.onBeforeCapture,onBeforeDragStart:He.onBeforeDragStart,onDragStart:He.onDragStart,onDragUpdate:He.onDragUpdate,onDragEnd:He.onDragEnd},He.children)})}var Dl=function(ne){return function(Ee){return ne===Ee}},ru=Dl("scroll"),nu=Dl("auto"),es=Dl("visible"),el=function(ne,Ee){return Ee(ne.overflowX)||Ee(ne.overflowY)},iu=function(ne,Ee){return Ee(ne.overflowX)&&Ee(ne.overflowY)},Rl=function(ne){var Ee=window.getComputedStyle(ne),tt={overflowX:Ee.overflowX,overflowY:Ee.overflowY};return el(tt,ru)||el(tt,nu)},Ml=function(){return!1;var ne,Ee;if(!Rl(ne))return!1;var tt,Tt;if(iu(Tt,es))return!1},yl=function He(ne){return ne==null?null:ne===document.body?Ml()?ne:null:ne===document.documentElement?null:Rl(ne)?ne:He(ne.parentElement)},zl=function(ne){if(!ne)return;var Ee=yl(ne.parentElement);if(!Ee)return},ul=function(ne){return{x:ne.scrollLeft,y:ne.scrollTop}},Wl=function He(ne){if(!ne)return!1;var Ee=window.getComputedStyle(ne);return Ee.position==="fixed"?!0:He(ne.parentElement)},au=function(ne){var Ee=yl(ne),tt=Wl(ne);return{closestScrollable:Ee,isFixedOnPage:tt}},ou=function(ne){var Ee=ne.descriptor,tt=ne.isEnabled,Tt=ne.isCombineEnabled,Yt=ne.isFixedOnPage,nr=ne.direction,ar=ne.client,vr=ne.page,Vr=ne.closest,Yr=function(){if(!Vr)return null;var dn=Vr.scrollSize,pn=Vr.client,ei=ra({scrollHeight:dn.scrollHeight,scrollWidth:dn.scrollWidth,height:pn.paddingBox.height,width:pn.paddingBox.width});return{pageMarginBox:Vr.page.marginBox,frameClient:pn,scrollSize:dn,shouldClipSubject:Vr.shouldClipSubject,scroll:{initial:Vr.scroll,current:Vr.scroll,max:ei,diff:{value:vt,displacement:vt}}}}(),kr=nr==="vertical"?xe:ke,Pr=$e({page:vr,withPlaceholder:null,axis:kr,frame:Yr}),Gr={descriptor:Ee,isCombineEnabled:Tt,isFixedOnPage:Yt,axis:kr,isEnabled:tt,client:ar,page:vr,frame:Yr,subject:Pr};return Gr},Ps=function(ne,Ee){var tt=C(ne);if(!Ee)return tt;if(ne!==Ee)return tt;var Tt=tt.paddingBox.top-Ee.scrollTop,Yt=tt.paddingBox.left-Ee.scrollLeft,nr=Tt+Ee.scrollHeight,ar=Yt+Ee.scrollWidth,vr={top:Tt,right:ar,bottom:nr,left:Yt},Vr=u(vr,tt.border),Yr=h({borderBox:Vr,margin:tt.margin,border:tt.border,padding:tt.padding});return Yr},tl=function(ne){var Ee=ne.ref,tt=ne.descriptor,Tt=ne.env,Yt=ne.windowScroll,nr=ne.direction,ar=ne.isDropDisabled,vr=ne.isCombineEnabled,Vr=ne.shouldClipSubject,Yr=Tt.closestScrollable,kr=Ps(Ee,Yr),Pr=S(kr,Yt),Gr=function(){if(!Yr)return null;var pn=C(Yr),ei={scrollHeight:Yr.scrollHeight,scrollWidth:Yr.scrollWidth};return{client:pn,page:S(pn,Yt),scroll:ul(Yr),scrollSize:ei,shouldClipSubject:Vr}}(),dn=ou({descriptor:tt,isEnabled:!ar,isCombineEnabled:vr,isFixedOnPage:Tt.isFixedOnPage,direction:nr,client:kr,page:Pr,closest:Gr});return dn},bl={passive:!1},cl={passive:!0},Ss=function(ne){return ne.shouldPublishImmediately?bl:cl};function zs(He){var ne=Object(d.useContext)(He);return ne||we(!1),ne}var rl=function(ne){return ne&&ne.env.closestScrollable||null};function Us(He){var ne=Object(d.useRef)(null),Ee=zs(Bo),tt=as("droppable"),Tt=Ee.registry,Yt=Ee.marshal,nr=cr(He),ar=a(function(){return{id:He.droppableId,type:He.type,mode:He.mode}},[He.droppableId,He.mode,He.type]),vr=Object(d.useRef)(ar),Vr=a(function(){return L(function(Si,Va){ne.current||we(!1);var Ei={x:Si,y:Va};Yt.updateDroppableScroll(ar.id,Ei)})},[ar.id,Yt]),Yr=s(function(){var Si=ne.current;return!Si||!Si.env.closestScrollable?vt:ul(Si.env.closestScrollable)},[]),kr=s(function(){var Si=Yr();Vr(Si.x,Si.y)},[Yr,Vr]),Pr=a(function(){return D(kr)},[kr]),Gr=s(function(){var Si=ne.current,Va=rl(Si);Si&&Va||we(!1);var Ei=Si.scrollOptions;if(Ei.shouldPublishImmediately){kr();return}Pr()},[Pr,kr]),dn=s(function(Si,Va){ne.current&&we(!1);var Ei=nr.current,uo=Ei.getDroppableRef();uo||we(!1);var zo=au(uo),ao={ref:uo,descriptor:ar,env:zo,scrollOptions:Va};ne.current=ao;var _o=tl({ref:uo,descriptor:ar,env:zo,windowScroll:Si,direction:Ei.direction,isDropDisabled:Ei.isDropDisabled,isCombineEnabled:Ei.isCombineEnabled,shouldClipSubject:!Ei.ignoreContainerClipping}),m=zo.closestScrollable;return m&&(m.setAttribute(Cs.contextId,Ee.contextId),m.addEventListener("scroll",Gr,Ss(ao.scrollOptions))),_o},[Ee.contextId,ar,Gr,nr]),pn=s(function(){var Si=ne.current,Va=rl(Si);return Si&&Va||we(!1),ul(Va)},[]),ei=s(function(){var Si=ne.current;Si||we(!1);var Va=rl(Si);if(ne.current=null,!Va)return;Pr.cancel(),Va.removeAttribute(Cs.contextId),Va.removeEventListener("scroll",Gr,Ss(Si.scrollOptions))},[Gr,Pr]),ui=s(function(Si){var Va=ne.current;Va||we(!1);var Ei=rl(Va);Ei||we(!1),Ei.scrollTop+=Si.y,Ei.scrollLeft+=Si.x},[]),ii=a(function(){return{getDimensionAndWatchScroll:dn,getScrollWhileDragging:pn,dragStopped:ei,scroll:ui}},[ei,dn,pn,ui]),Zi=a(function(){return{uniqueId:tt,descriptor:ar,callbacks:ii}},[ii,ar,tt]);Ga(function(){return vr.current=Zi.descriptor,Tt.droppable.register(Zi),function(){ne.current&&ei(),Tt.droppable.unregister(Zi)}},[ii,ar,ei,Zi,Yt,Tt.droppable]),Ga(function(){if(!ne.current)return;Yt.updateDroppableIsEnabled(vr.current.id,!He.isDropDisabled)},[He.isDropDisabled,Yt]),Ga(function(){if(!ne.current)return;Yt.updateDroppableIsCombineEnabled(vr.current.id,He.isCombineEnabled)},[He.isCombineEnabled,Yt])}function wl(){}var Bl={width:0,height:0,margin:xt},Kl=function(ne){var Ee=ne.isAnimatingOpenOnMount,tt=ne.placeholder,Tt=ne.animate;return Ee||Tt==="close"?Bl:{height:tt.client.borderBox.height,width:tt.client.borderBox.width,margin:tt.client.margin}},Sl=function(ne){var Ee=ne.isAnimatingOpenOnMount,tt=ne.placeholder,Tt=ne.animate,Yt=Kl({isAnimatingOpenOnMount:Ee,placeholder:tt,animate:Tt});return{display:tt.display,boxSizing:"border-box",width:Yt.width,height:Yt.height,marginTop:Yt.margin.top,marginRight:Yt.margin.right,marginBottom:Yt.margin.bottom,marginLeft:Yt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:Tt!=="none"?Bn.placeholder:null}};function Xs(He){var ne=Object(d.useRef)(null),Ee=s(function(){if(!ne.current)return;clearTimeout(ne.current),ne.current=null},[]),tt=He.animate,Tt=He.onTransitionEnd,Yt=He.onClose,nr=He.contextId,ar=Object(d.useState)(He.animate==="open"),vr=ar[0],Vr=ar[1];Object(d.useEffect)(function(){return vr?tt!=="open"?(Ee(),Vr(!1),wl):ne.current?wl:(ne.current=setTimeout(function(){ne.current=null,Vr(!1)}),Ee):wl},[tt,vr,Ee]);var Yr=s(function(Pr){if(Pr.propertyName!=="height")return;Tt(),tt==="close"&&Yt()},[tt,Yt,Tt]),kr=Sl({isAnimatingOpenOnMount:vr,animate:He.animate,placeholder:He.placeholder});return x.a.createElement(He.placeholder.tagName,{style:kr,"data-rbd-placeholder-context-id":nr,onTransitionEnd:Yr,ref:He.innerRef})}var dl=x.a.memo(Xs),nl=x.a.createContext(null);function hl(He){He&&ss(He)||we(!1)}function xl(He){return typeof He=="boolean"}function Ws(He,ne){ne.forEach(function(Ee){return Ee(He)})}var Vl=[function(ne){var Ee=ne.props;Ee.droppableId||we(!1),typeof Ee.droppableId=="string"||we(!1)},function(ne){var Ee=ne.props;xl(Ee.isDropDisabled)||we(!1),xl(Ee.isCombineEnabled)||we(!1),xl(Ee.ignoreContainerClipping)||we(!1)},function(ne){var Ee=ne.getDroppableRef;hl(Ee())}],El=[function(ne){var Ee=ne.props,tt=ne.getPlaceholderRef;if(!Ee.placeholder)return;var Tt=tt();if(Tt)return}],fl=[function(ne){var Ee=ne.props;Ee.renderClone||we(!1)},function(ne){var Ee=ne.getPlaceholderRef;Ee()&&we(!1)}];function Cl(He){st(function(){Ws(He,Vl),He.props.mode==="standard"&&Ws(He,El),He.props.mode==="virtual"&&Ws(He,fl)})}var Yl=function(He){Object(g.a)(ne,He);function ne(){for(var tt,Tt=arguments.length,Yt=new Array(Tt),nr=0;nr<Tt;nr++)Yt[nr]=arguments[nr];return tt=He.call.apply(He,[this].concat(Yt))||this,tt.state={isVisible:Boolean(tt.props.on),data:tt.props.on,animate:tt.props.shouldAnimate&&tt.props.on?"open":"none"},tt.onClose=function(){if(tt.state.animate!=="close")return;tt.setState({isVisible:!1})},tt}ne.getDerivedStateFromProps=function(Tt,Yt){return Tt.shouldAnimate?Tt.on?{isVisible:!0,data:Tt.on,animate:"open"}:Yt.isVisible?{isVisible:!0,data:Yt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(Tt.on),data:Tt.on,animate:"none"}};var Ee=ne.prototype;return Ee.render=function(){if(!this.state.isVisible)return null;var Tt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(Tt)},ne}(x.a.PureComponent),Fl={dragging:5e3,dropAnimating:4500},pl=function(ne,Ee){return Ee?Bn.drop(Ee.duration):ne?Bn.snap:Bn.fluid},Ql=function(ne,Ee){return ne?Ee?Hn.opacity.drop:Hn.opacity.combining:null},Js=function(ne){return ne.forceShouldAnimate!=null?ne.forceShouldAnimate:ne.mode==="SNAP"};function Gl(He){var ne=He.dimension,Ee=ne.client,tt=He.offset,Tt=He.combineWith,Yt=He.dropping,nr=Boolean(Tt),ar=Js(He),vr=Boolean(Yt),Vr=vr?Mn.drop(tt,nr):Mn.moveTo(tt),Yr={position:"fixed",top:Ee.marginBox.top,left:Ee.marginBox.left,boxSizing:"border-box",width:Ee.borderBox.width,height:Ee.borderBox.height,transition:pl(ar,Yt),transform:Vr,opacity:Ql(nr,vr),zIndex:vr?Fl.dropAnimating:Fl.dragging,pointerEvents:"none"};return Yr}function Mo(He){return{transform:Mn.moveTo(He.offset),transition:He.shouldAnimateDisplacement?null:"none"}}function Ks(He){return He.type==="DRAGGING"?Gl(He):Mo(He)}function il(He,ne,Ee){Ee===void 0&&(Ee=vt);var tt=window.getComputedStyle(ne),Tt=ne.getBoundingClientRect(),Yt=E(Tt,tt),nr=S(Yt,Ee),ar={client:Yt,tagName:ne.tagName.toLowerCase(),display:tt.display},vr={x:Yt.marginBox.width,y:Yt.marginBox.height},Vr={descriptor:He,placeholder:ar,displaceBy:vr,client:Yt,page:nr};return Vr}function ks(He){var ne=as("draggable"),Ee=He.descriptor,tt=He.registry,Tt=He.getDraggableRef,Yt=He.canDragInteractiveElements,nr=He.shouldRespectForcePress,ar=He.isEnabled,vr=a(function(){return{canDragInteractiveElements:Yt,shouldRespectForcePress:nr,isEnabled:ar}},[Yt,ar,nr]),Vr=s(function(Gr){var dn=Tt();return dn||we(!1),il(Ee,dn,Gr)},[Ee,Tt]),Yr=a(function(){return{uniqueId:ne,descriptor:Ee,options:vr,getDimension:Vr}},[Ee,Vr,vr,ne]),kr=Object(d.useRef)(Yr),Pr=Object(d.useRef)(!0);Ga(function(){return tt.draggable.register(kr.current),function(){return tt.draggable.unregister(kr.current)}},[tt.draggable]),Ga(function(){if(Pr.current){Pr.current=!1;return}var Gr=kr.current;kr.current=Yr,tt.draggable.update(Yr,Gr)},[Yr,tt.draggable])}function _s(He,ne,Ee){st(function(){function tt(Yt){return"Draggable[id: "+Yt+"]: "}var Tt=He.draggableId;if(Tt||we(!1),typeof Tt=="string"||we(!1),et(He.index)||we(!1),He.mapped.type==="DRAGGING")return;hl(Ee()),He.isEnabled&&(Os(ne,Tt)||we(!1))})}function ml(He){Le(function(){var ne=Object(d.useRef)(He);st(function(){He===ne.current||we(!1)},[He])})}function xs(He){He.preventDefault()}function al(He){var ne=Object(d.useRef)(null),Ee=s(function(ao){ne.current=ao},[]),tt=s(function(){return ne.current},[]),Tt=zs(Bo),Yt=Tt.contextId,nr=Tt.dragHandleUsageInstructionsId,ar=Tt.registry,vr=zs(nl),Vr=vr.type,Yr=vr.droppableId,kr=a(function(){return{id:He.draggableId,index:He.index,type:Vr,droppableId:Yr}},[He.draggableId,He.index,Vr,Yr]),Pr=He.children,Gr=He.draggableId,dn=He.isEnabled,pn=He.shouldRespectForcePress,ei=He.canDragInteractiveElements,ui=He.isClone,ii=He.mapped,Zi=He.dropAnimationFinished;if(_s(He,Yt,tt),ml(ui),!ui){var Si=a(function(){return{descriptor:kr,registry:ar,getDraggableRef:tt,canDragInteractiveElements:ei,shouldRespectForcePress:pn,isEnabled:dn}},[kr,ar,tt,ei,pn,dn]);ks(Si)}var Va=a(function(){return dn?{tabIndex:0,role:"button","aria-describedby":nr,"data-rbd-drag-handle-draggable-id":Gr,"data-rbd-drag-handle-context-id":Yt,draggable:!1,onDragStart:xs}:null},[Yt,nr,Gr,dn]),Ei=s(function(ao){if(ii.type!=="DRAGGING")return;if(!ii.dropping)return;if(ao.propertyName!=="transform")return;Zi()},[Zi,ii]),uo=a(function(){var ao=Ks(ii),_o=ii.type==="DRAGGING"&&ii.dropping?Ei:null,m={innerRef:Ee,draggableProps:{"data-rbd-draggable-context-id":Yt,"data-rbd-draggable-id":Gr,style:ao,onTransitionEnd:_o},dragHandleProps:Va};return m},[Yt,Va,Gr,ii,Ei,Ee]),zo=a(function(){return{draggableId:kr.id,type:kr.type,source:{index:kr.index,droppableId:kr.droppableId}}},[kr.droppableId,kr.id,kr.index,kr.type]);return Pr(uo,ii.snapshot,zo)}var Zs=function(ne,Ee){return ne===Ee},Pl=function(ne){var Ee=ne.combine,tt=ne.destination;return tt?tt.droppableId:Ee?Ee.droppableId:null},Ll=function(ne){return ne.combine?ne.combine.draggableId:null},gl=function(ne){return ne.at&&ne.at.type==="COMBINE"?ne.at.combine.draggableId:null};function Xl(){var He=L(function(Tt,Yt){return{x:Tt,y:Yt}}),ne=L(function(Tt,Yt,nr,ar,vr){return{isDragging:!0,isClone:Yt,isDropAnimating:Boolean(vr),dropAnimation:vr,mode:Tt,draggingOver:nr,combineWith:ar,combineTargetFor:null}}),Ee=L(function(Tt,Yt,nr,ar,vr,Vr,Yr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:vr,combineWith:Vr,mode:Yt,offset:Tt,dimension:nr,forceShouldAnimate:Yr,snapshot:ne(Yt,ar,vr,Vr,null)}}}),tt=function(Yt,nr){if(Yt.isDragging){if(Yt.critical.draggable.id!==nr.draggableId)return null;var ar=Yt.current.client.offset,vr=Yt.dimensions.draggables[nr.draggableId],Vr=gn(Yt.impact),Yr=gl(Yt.impact),kr=Yt.forceShouldAnimate;return Ee(He(ar.x,ar.y),Yt.movementMode,vr,nr.isClone,Vr,Yr,kr)}if(Yt.phase==="DROP_ANIMATING"){var Pr=Yt.completed;if(Pr.result.draggableId!==nr.draggableId)return null;var Gr=nr.isClone,dn=Yt.dimensions.draggables[nr.draggableId],pn=Pr.result,ei=pn.mode,ui=Pl(pn),ii=Ll(pn),Zi=Yt.dropDuration,Si={duration:Zi,curve:wn.drop,moveTo:Yt.newHomeClientOffset,opacity:ii?Hn.opacity.drop:null,scale:ii?Hn.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Yt.newHomeClientOffset,dimension:dn,dropping:Si,draggingOver:ui,combineWith:ii,mode:ei,forceShouldAnimate:null,snapshot:ne(ei,Gr,ui,ii,Si)}}}return null};return tt}function Ul(He){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:He,combineWith:null}}var vl={mapped:{type:"SECONDARY",offset:vt,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Ul(null)}};function Jl(){var He=L(function(nr,ar){return{x:nr,y:ar}}),ne=L(Ul),Ee=L(function(nr,ar,vr){return ar===void 0&&(ar=null),{mapped:{type:"SECONDARY",offset:nr,combineTargetFor:ar,shouldAnimateDisplacement:vr,snapshot:ne(ar)}}}),tt=function(ar){return ar?Ee(vt,ar,!0):null},Tt=function(ar,vr,Vr,Yr){var kr=Vr.displaced.visible[ar],Pr=Boolean(Yr.inVirtualList&&Yr.effected[ar]),Gr=hr(Vr),dn=Gr&&Gr.draggableId===ar?vr:null;if(!kr){if(!Pr)return tt(dn);if(Vr.displaced.invisible[ar])return null;var pn=De(Yr.displacedBy.point),ei=He(pn.x,pn.y);return Ee(ei,dn,!0)}if(Pr)return tt(dn);var ui=Vr.displacedBy.point,ii=He(ui.x,ui.y);return Ee(ii,dn,kr.shouldAnimate)},Yt=function(ar,vr){if(ar.isDragging)return ar.critical.draggable.id===vr.draggableId?null:Tt(vr.draggableId,ar.critical.draggable.id,ar.impact,ar.afterCritical);if(ar.phase==="DROP_ANIMATING"){var Vr=ar.completed;return Vr.result.draggableId===vr.draggableId?null:Tt(vr.draggableId,Vr.result.draggableId,Vr.impact,Vr.afterCritical)}return null};return Yt}var su=function(){var ne=Xl(),Ee=Jl(),tt=function(Yt,nr){return ne(Yt,nr)||Ee(Yt,nr)||vl};return tt},Zl={dropAnimationFinished:yr},$l=Object(b.c)(su,Zl,null,{context:To,pure:!0,areStatePropsEqual:Zs})(al);function Ol(He){var ne=zs(nl),Ee=ne.isUsingCloneFor;return Ee===He.draggableId&&!He.isClone?null:x.a.createElement($l,He)}function ql(He){var ne=typeof He.isDragDisabled=="boolean"?!He.isDragDisabled:!0,Ee=Boolean(He.disableInteractiveElementBlocking),tt=Boolean(He.shouldRespectForcePress);return x.a.createElement(Ol,Object(p.a)({},He,{isClone:!1,isEnabled:ne,canDragInteractiveElements:Ee,shouldRespectForcePress:tt}))}function lu(He){var ne=Object(d.useContext)(Bo);ne||we(!1);var Ee=ne.contextId,tt=ne.isMovementAllowed,Tt=Object(d.useRef)(null),Yt=Object(d.useRef)(null),nr=He.children,ar=He.droppableId,vr=He.type,Vr=He.mode,Yr=He.direction,kr=He.ignoreContainerClipping,Pr=He.isDropDisabled,Gr=He.isCombineEnabled,dn=He.snapshot,pn=He.useClone,ei=He.updateViewportMaxScroll,ui=He.getContainerForClone,ii=s(function(){return Tt.current},[]),Zi=s(function(I){Tt.current=I},[]),Si=s(function(){return Yt.current},[]),Va=s(function(I){Yt.current=I},[]);Cl({props:He,getDroppableRef:ii,getPlaceholderRef:Si});var Ei=s(function(){tt()&&ei({maxScroll:Ya()})},[tt,ei]);Us({droppableId:ar,type:vr,mode:Vr,direction:Yr,isDropDisabled:Pr,isCombineEnabled:Gr,ignoreContainerClipping:kr,getDroppableRef:ii});var uo=x.a.createElement(Yl,{on:He.placeholder,shouldAnimate:He.shouldAnimatePlaceholder},function(I){var W=I.onClose,V=I.data,q=I.animate;return x.a.createElement(dl,{placeholder:V,onClose:W,innerRef:Va,animate:q,contextId:Ee,onTransitionEnd:Ei})}),zo=a(function(){return{innerRef:Zi,placeholder:uo,droppableProps:{"data-rbd-droppable-id":ar,"data-rbd-droppable-context-id":Ee}}},[Ee,ar,uo,Zi]),ao=pn?pn.dragging.draggableId:null,_o=a(function(){return{droppableId:ar,type:vr,isUsingCloneFor:ao}},[ar,ao,vr]);function m(){if(!pn)return null;var I=pn.dragging,W=pn.render,V=x.a.createElement(Ol,{draggableId:I.draggableId,index:I.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(q,ve){return W(q,ve,I)});return R.a.createPortal(V,ui())}return x.a.createElement(nl.Provider,{value:_o},nr(zo,dn),m())}var Il=function(ne,Ee){return ne===Ee.droppable.type},js=function(ne,Ee){return Ee.draggables[ne.draggable.id]},Tl=function(){var ne={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},Ee=Object(p.a)({},ne,{shouldAnimatePlaceholder:!1}),tt=L(function(nr){return{draggableId:nr.id,type:nr.type,source:{index:nr.index,droppableId:nr.droppableId}}}),Tt=L(function(nr,ar,vr,Vr,Yr,kr){var Pr=Yr.descriptor.id,Gr=Yr.descriptor.droppableId===nr;if(Gr){var dn=kr?{render:kr,dragging:tt(Yr.descriptor)}:null,pn={isDraggingOver:vr,draggingOverWith:vr?Pr:null,draggingFromThisWith:Pr,isUsingPlaceholder:!0};return{placeholder:Yr.placeholder,shouldAnimatePlaceholder:!1,snapshot:pn,useClone:dn}}if(!ar)return Ee;if(!Vr)return ne;var ei={isDraggingOver:vr,draggingOverWith:Pr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Yr.placeholder,shouldAnimatePlaceholder:!0,snapshot:ei,useClone:null}}),Yt=function(ar,vr){var Vr=vr.droppableId,Yr=vr.type,kr=!vr.isDropDisabled,Pr=vr.renderClone;if(ar.isDragging){var Gr=ar.critical;if(!Il(Yr,Gr))return Ee;var dn=js(Gr,ar.dimensions),pn=gn(ar.impact)===Vr;return Tt(Vr,kr,pn,pn,dn,Pr)}if(ar.phase==="DROP_ANIMATING"){var ei=ar.completed;if(!Il(Yr,ei.critical))return Ee;var ui=js(ei.critical,ar.dimensions);return Tt(Vr,kr,Pl(ei.result)===Vr,gn(ei.impact)===Vr,ui,Pr)}if(ar.phase==="IDLE"&&ar.completed&&!ar.shouldFlush){var ii=ar.completed;if(!Il(Yr,ii.critical))return Ee;var Zi=gn(ii.impact)===Vr,Si=Boolean(ii.impact.at&&ii.impact.at.type==="COMBINE"),Va=ii.critical.droppable.id===Vr;return Zi?Si?ne:Ee:Va?ne:Ee}return Ee};return Yt},Al={updateViewportMaxScroll:Or};function uu(){return document.body||we(!1),document.body}var cu={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:uu},ol=Object(b.c)(Tl,Al,null,{context:To,pure:!0,areStatePropsEqual:Zs})(lu);ol.defaultProps=cu},ni6a:function(J,B,e){var d=e("pzxd"),x=e("mFDi"),g=e("gut8"),p=g.WILL_BE_RESTORED,v=new x,b=function(){};b.prototype={constructor:b,drawRectText:function(r,a){var s=this.style;a=s.textRect||a,this.__dirty&&d.normalizeTextStyle(s,!0);var l=s.text;if(l!=null&&(l+=""),!d.needDrawText(l,s))return;r.save();var n=this.transform;s.transformText?this.setTransform(r):n&&(v.copy(a),v.applyTransform(n),a=v),d.renderText(this,r,l,s,a,p),r.restore()}};var f=b;J.exports=f},nkfE:function(J,B,e){var d=e("bYtY"),x=e("ca2m"),g=e("bLfw"),p=e("+TT/"),v=p.getLayoutParams,b=p.mergeLayoutParam,f=e("jkPA"),i=["value","category","time","log"];function r(a,s,l,n){d.each(i,function(u){s.extend({type:a+"Axis."+u,mergeDefaultAndTheme:function(t,c){var o=this.layoutMode,h=o?v(t):{},A=c.getTheme();d.merge(t,A.get(u+"Axis")),d.merge(t,this.getDefaultOption()),t.type=l(a,t),o&&b(t,h,o)},optionUpdated:function(){var t=this.option;t.type==="category"&&(this.__ordinalMeta=f.createByAxisModel(this))},getCategories:function(t){var c=this.option;if(c.type==="category")return t?c.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:d.mergeAll([{},x[u+"Axis"],n],!0)})}),g.registerSubTypeDefaulter(a+"Axis",d.curry(l,a))}J.exports=r},noeP:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("UOVi");d.registerAction("dataZoom",function(p,v){var b=g.createLinkedNodesFinder(x.bind(v.eachComponent,v,"dataZoom"),g.eachAxisDim,function(i,r){return i.get(r.axisIndex)}),f=[];v.eachComponent({mainType:"dataZoom",query:p},function(i,r){f.push.apply(f,b(i).nodes)}),x.each(f,function(i,r){i.setRawRange({start:p.start,end:p.end,startValue:p.startValue,endValue:p.endValue})})})},"o/2+":function(J,B,e){"use strict";var d=e("q1tI"),x=e.n(d),g=Object(d.createContext)({});B.a=g},o40c:function(J,B,e){var d=e("IwbS"),x=e("OS9S"),g=e("loD1"),p=e("aKvl"),v=d.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(r,a){var s=a.segs,l=a.curveness;if(a.polyline)for(var n=0;n<s.length;){var u=s[n++];if(u>0){r.moveTo(s[n++],s[n++]);for(var t=1;t<u;t++)r.lineTo(s[n++],s[n++])}}else for(var n=0;n<s.length;){var c=s[n++],o=s[n++],h=s[n++],A=s[n++];if(r.moveTo(c,o),l>0){var y=(c+h)/2-(o-A)*l,O=(o+A)/2-(h-c)*l;r.quadraticCurveTo(y,O,h,A)}else r.lineTo(h,A)}},findDataIndex:function(r,a){var s=this.shape,l=s.segs,n=s.curveness;if(s.polyline)for(var u=0,t=0;t<l.length;){var c=l[t++];if(c>0)for(var o=l[t++],h=l[t++],A=1;A<c;A++){var y=l[t++],O=l[t++];if(g.containStroke(o,h,y,O))return u}u++}else for(var u=0,t=0;t<l.length;){var o=l[t++],h=l[t++],y=l[t++],O=l[t++];if(n>0){var S=(o+y)/2-(h-O)*n,E=(h+O)/2-(y-o)*n;if(p.containStroke(o,h,S,E,y,O))return u}else if(g.containStroke(o,h,y,O))return u;u++}return-1}});function b(){this.group=new d.Group}var f=b.prototype;f.isPersistent=function(){return!this._incremental},f.updateData=function(r){this.group.removeAll();var a=new v({rectHover:!0,cursor:"default"});a.setShape({segs:r.getLayout("linesPoints")}),this._setCommon(a,r),this.group.add(a),this._incremental=null},f.incrementalPrepareUpdate=function(r){this.group.removeAll(),this._clearIncremental(),r.count()>5e5?(this._incremental||(this._incremental=new x({silent:!0})),this.group.add(this._incremental)):this._incremental=null},f.incrementalUpdate=function(r,a){var s=new v;s.setShape({segs:a.getLayout("linesPoints")}),this._setCommon(s,a,!!this._incremental),this._incremental?this._incremental.addDisplayable(s,!0):(s.rectHover=!0,s.cursor="default",s.__startIndex=r.start,this.group.add(s))},f.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},f._setCommon=function(r,a,s){var l=a.hostModel;r.setShape({polyline:l.get("polyline"),curveness:l.get("lineStyle.curveness")}),r.useStyle(l.getModel("lineStyle").getLineStyle()),r.style.strokeNoScale=!0;var n=a.getVisual("color");n&&r.setStyle("stroke",n),r.setStyle("fill"),s||(r.seriesIndex=l.seriesIndex,r.on("mousemove",function(u){r.dataIndex=null;var t=r.findDataIndex(u.offsetX,u.offsetY);t>0&&(r.dataIndex=t+r.__startIndex)}))},f._clearIncremental=function(){var r=this._incremental;r&&r.clearDisplaybles()};var i=b;J.exports=i},oBaM:function(J,B,e){var d=e("T4UG"),x=e("5GtS"),g=e("bYtY"),p=e("7aKB"),v=p.encodeHTML,b=e("xKMd"),f=d.extend({type:"series.radar",dependencies:["radar"],init:function(r){f.superApply(this,"init",arguments),this.legendVisualProvider=new b(g.bind(this.getData,this),g.bind(this.getRawData,this))},getInitialData:function(r,a){return x(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(r){var a=this.getData(),s=this.coordinateSystem,l=s.getIndicatorAxes(),n=this.getData().getName(r);return v(n===""?this.name:n)+"<br/>"+g.map(l,function(u,t){var c=a.get(a.mapDimension(u.dim),r);return v(u.name+" : "+c)}).join("<br />")},getTooltipPosition:function(r){if(r!=null){for(var a=this.getData(),s=this.coordinateSystem,l=a.getValues(g.map(s.dimensions,function(c){return a.mapDimension(c)}),r,!0),n=0,u=l.length;n<u;n++)if(!isNaN(l[n])){var t=s.getIndicatorAxes();return s.coordToPoint(t[n].dataToCoord(l[n]),n)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),i=f;J.exports=i},oE7X:function(J,B,e){var d=e("bLfw");d.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(J,B,e){},oVpE:function(J,B,e){var d=e("bYtY"),x=e("IwbS"),g=e("mFDi"),p=e("6GrX"),v=p.calculateTextPosition,b=x.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(c,o){var h=o.cx,A=o.cy,y=o.width/2,O=o.height/2;c.moveTo(h,A-O),c.lineTo(h+y,A+O),c.lineTo(h-y,A+O),c.closePath()}}),f=x.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(c,o){var h=o.cx,A=o.cy,y=o.width/2,O=o.height/2;c.moveTo(h,A-O),c.lineTo(h+y,A),c.lineTo(h,A+O),c.lineTo(h-y,A),c.closePath()}}),i=x.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(c,o){var h=o.x,A=o.y,y=o.width/5*3,O=Math.max(y,o.height),S=y/2,E=S*S/(O-S),C=A-O+S+E,T=Math.asin(E/S),w=Math.cos(T)*S,L=Math.sin(T),N=Math.cos(T),D=S*.6,F=S*.7;c.moveTo(h-w,C+E),c.arc(h,C,S,Math.PI-T,Math.PI*2+T),c.bezierCurveTo(h+w-L*D,C+E+N*D,h,A-F,h,A),c.bezierCurveTo(h,A-F,h-w+L*D,C+E+N*D,h-w,C+E),c.closePath()}}),r=x.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(c,o){var h=o.height,A=o.width,y=o.x,O=o.y,S=A/3*2;c.moveTo(y,O),c.lineTo(y+S,O+h),c.lineTo(y,O+h/4*3),c.lineTo(y-S,O+h),c.lineTo(y,O),c.closePath()}}),a={line:x.Line,rect:x.Rect,roundRect:x.Rect,square:x.Rect,circle:x.Circle,diamond:f,pin:i,arrow:r,triangle:b},s={line:function(c,o,h,A,y){y.x1=c,y.y1=o+A/2,y.x2=c+h,y.y2=o+A/2},rect:function(c,o,h,A,y){y.x=c,y.y=o,y.width=h,y.height=A},roundRect:function(c,o,h,A,y){y.x=c,y.y=o,y.width=h,y.height=A,y.r=Math.min(h,A)/4},square:function(c,o,h,A,y){var O=Math.min(h,A);y.x=c,y.y=o,y.width=O,y.height=O},circle:function(c,o,h,A,y){y.cx=c+h/2,y.cy=o+A/2,y.r=Math.min(h,A)/2},diamond:function(c,o,h,A,y){y.cx=c+h/2,y.cy=o+A/2,y.width=h,y.height=A},pin:function(c,o,h,A,y){y.x=c+h/2,y.y=o+A/2,y.width=h,y.height=A},arrow:function(c,o,h,A,y){y.x=c+h/2,y.y=o+A/2,y.width=h,y.height=A},triangle:function(c,o,h,A,y){y.cx=c+h/2,y.cy=o+A/2,y.width=h,y.height=A}},l={};d.each(a,function(c,o){l[o]=new c});var n=x.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(c,o,h){var A=v(c,o,h),y=this.shape;return y&&y.symbolType==="pin"&&o.textPosition==="inside"&&(A.y=h.y+h.height*.4),A},buildPath:function(c,o,h){var A=o.symbolType;if(A!=="none"){var y=l[A];y||(A="rect",y=l[A]),s[A](o.x,o.y,o.width,o.height,y.shape),y.buildPath(c,y.shape,h)}}});function u(c,o){if(this.type!=="image"){var h=this.style,A=this.shape;A&&A.symbolType==="line"?h.stroke=c:this.__isEmptyBrush?(h.stroke=c,h.fill=o||"#fff"):(h.fill&&(h.fill=c),h.stroke&&(h.stroke=c)),this.dirty(!1)}}function t(c,o,h,A,y,O,S){var E=c.indexOf("empty")===0;E&&(c=c.substr(5,1).toLowerCase()+c.substr(6));var C;return c.indexOf("image://")===0?C=x.makeImage(c.slice(8),new g(o,h,A,y),S?"center":"cover"):c.indexOf("path://")===0?C=x.makePath(c.slice(7),{},new g(o,h,A,y),S?"center":"cover"):C=new n({shape:{symbolType:c,x:o,y:h,width:A,height:y}}),C.__isEmptyBrush=E,C.setColor=u,C.setColor(O),C}B.createSymbol=t},oY9F:function(J,B,e){var d=e("OlYY"),x=d.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});J.exports=x},or5M:function(J,B,e){var d=e("1hJj"),x=e("QoRX"),g=e("xYSL"),p=1,v=2;function b(f,i,r,a,s,l){var n=r&p,u=f.length,t=i.length;if(u!=t&&!(n&&t>u))return!1;var c=l.get(f),o=l.get(i);if(c&&o)return c==i&&o==f;var h=-1,A=!0,y=r&v?new d:void 0;for(l.set(f,i),l.set(i,f);++h<u;){var O=f[h],S=i[h];if(a)var E=n?a(S,O,h,i,f,l):a(O,S,h,f,i,l);if(E!==void 0){if(E)continue;A=!1;break}if(y){if(!x(i,function(C,T){if(!g(y,T)&&(O===C||s(O,C,r,a,l)))return y.push(T)})){A=!1;break}}else if(!(O===S||s(O,S,r,a,l))){A=!1;break}}return l.delete(f),l.delete(i),A}J.exports=b},osHv:function(J,B,e){(function(d){d(e("VrN/"))})(function(d){"use strict";var x=d.Pos;function g(o,h){return o.line-h.line||o.ch-h.ch}var p="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",v=p+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",b=new RegExp("<(/?)(["+p+"]["+v+"]*)","g");function f(o,h,A,y){this.line=h,this.ch=A,this.cm=o,this.text=o.getLine(h),this.min=y?Math.max(y.from,o.firstLine()):o.firstLine(),this.max=y?Math.min(y.to-1,o.lastLine()):o.lastLine()}function i(o,h){var A=o.cm.getTokenTypeAt(x(o.line,h));return A&&/\btag\b/.test(A)}function r(o){return o.line>=o.max?void 0:(o.ch=0,o.text=o.cm.getLine(++o.line),!0)}function a(o){return o.line<=o.min?void 0:(o.text=o.cm.getLine(--o.line),o.ch=o.text.length,!0)}function s(o){for(;;){var h=o.text.indexOf(">",o.ch);if(h==-1){if(r(o))continue;return}if(!i(o,h+1)){o.ch=h+1;continue}var A=o.text.lastIndexOf("/",h),y=A>-1&&!/\S/.test(o.text.slice(A+1,h));return o.ch=h+1,y?"selfClose":"regular"}}function l(o){for(;;){var h=o.ch?o.text.lastIndexOf("<",o.ch-1):-1;if(h==-1){if(a(o))continue;return}if(!i(o,h+1)){o.ch=h;continue}b.lastIndex=h,o.ch=h;var A=b.exec(o.text);if(A&&A.index==h)return A}}function n(o){for(;;){b.lastIndex=o.ch;var h=b.exec(o.text);if(!h){if(r(o))continue;return}if(!i(o,h.index+1)){o.ch=h.index+1;continue}return o.ch=h.index+h[0].length,h}}function u(o){for(;;){var h=o.ch?o.text.lastIndexOf(">",o.ch-1):-1;if(h==-1){if(a(o))continue;return}if(!i(o,h+1)){o.ch=h;continue}var A=o.text.lastIndexOf("/",h),y=A>-1&&!/\S/.test(o.text.slice(A+1,h));return o.ch=h+1,y?"selfClose":"regular"}}function t(o,h){for(var A=[];;){var y=n(o),O,S=o.line,E=o.ch-(y?y[0].length:0);if(!y||!(O=s(o)))return;if(O=="selfClose")continue;if(y[1]){for(var C=A.length-1;C>=0;--C)if(A[C]==y[2]){A.length=C;break}if(C<0&&(!h||h==y[2]))return{tag:y[2],from:x(S,E),to:x(o.line,o.ch)}}else A.push(y[2])}}function c(o,h){for(var A=[];;){var y=u(o);if(!y)return;if(y=="selfClose"){l(o);continue}var O=o.line,S=o.ch,E=l(o);if(!E)return;if(E[1])A.push(E[2]);else{for(var C=A.length-1;C>=0;--C)if(A[C]==E[2]){A.length=C;break}if(C<0&&(!h||h==E[2]))return{tag:E[2],from:x(o.line,o.ch),to:x(O,S)}}}}d.registerHelper("fold","xml",function(o,h){for(var A=new f(o,h.line,0);;){var y=n(A);if(!y||A.line!=h.line)return;var O=s(A);if(!O)return;if(!y[1]&&O!="selfClose"){var S=x(A.line,A.ch),E=t(A,y[2]);return E&&g(E.from,S)>0?{from:S,to:E.from}:null}}}),d.findMatchingTag=function(o,h,A){var y=new f(o,h.line,h.ch,A);if(y.text.indexOf(">")==-1&&y.text.indexOf("<")==-1)return;var O=s(y),S=O&&x(y.line,y.ch),E=O&&l(y);if(!O||!E||g(y,h)>0)return;var C={from:x(y.line,y.ch),to:S,tag:E[2]};return O=="selfClose"?{open:C,close:null,at:"open"}:E[1]?{open:c(y,E[2]),close:C,at:"close"}:(y=new f(o,S.line,S.ch,A),{open:C,close:t(y,E[2]),at:"open"})},d.findEnclosingTag=function(o,h,A,y){for(var O=new f(o,h.line,h.ch,A);;){var S=c(O,y);if(!S)break;var E=new f(o,h.line,h.ch,A),C=t(E,S.tag);if(C)return{open:S,close:C}}},d.scanForClosingTag=function(o,h,A,y){var O=new f(o,h.line,h.ch,y?{from:0,to:y}:null);return t(O,A)}})},ozfa:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("KxFI"),p=e.n(g)},"p+If":function(J,B,e){var d=e("ProS");e("cpOr"),e("rkZ5");var x=e("ZYIC"),g=e("7ph2");d.registerLayout(x),d.registerVisual(g)},"p/La":function(J,B){var e=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function d(x,g){x==="china"&&g.name==="\u53F0\u6E7E"&&g.geometries.push({type:"polygon",exterior:e[0]})}J.exports=d},p1MT:function(J,B,e){var d=e("Hw7h"),x=e("IwbS"),g=e("6Ic6"),p=e("OELB"),v=p.parsePercent,b=p.round,f=p.linearMap;function i(n,u){var t=n.get("center"),c=u.getWidth(),o=u.getHeight(),h=Math.min(c,o),A=v(t[0],u.getWidth()),y=v(t[1],u.getHeight()),O=v(n.get("radius"),h/2);return{cx:A,cy:y,r:O}}function r(n,u){return u&&(typeof u=="string"?n=u.replace("{value}",n!=null?n:""):typeof u=="function"&&(n=u(n))),n}var a=Math.PI*2,s=g.extend({type:"gauge",render:function(n,u,t){this.group.removeAll();var c=n.get("axisLine.lineStyle.color"),o=i(n,t);this._renderMain(n,u,t,c,o)},dispose:function(){},_renderMain:function(n,u,t,c,o){for(var h=this.group,A=n.getModel("axisLine"),y=A.getModel("lineStyle"),O=n.get("clockwise"),S=-n.get("startAngle")/180*Math.PI,E=-n.get("endAngle")/180*Math.PI,C=(E-S)%a,T=S,w=y.get("width"),L=A.get("show"),N=0;L&&N<c.length;N++){var D=Math.min(Math.max(c[N][0],0),1),E=S+C*D,F=new x.Sector({shape:{startAngle:T,endAngle:E,cx:o.cx,cy:o.cy,clockwise:O,r0:o.r-w,r:o.r},silent:!0});F.setStyle({fill:c[N][1]}),F.setStyle(y.getLineStyle(["color","borderWidth","borderColor"])),h.add(F),T=E}var R=function(M){if(M<=0)return c[0][1];for(var j=0;j<c.length;j++)if(c[j][0]>=M&&(j===0?0:c[j-1][0])<M)return c[j][1];return c[j-1][1]};if(!O){var U=S;S=E,E=U}this._renderTicks(n,u,t,R,o,S,E,O),this._renderPointer(n,u,t,R,o,S,E,O),this._renderTitle(n,u,t,R,o),this._renderDetail(n,u,t,R,o)},_renderTicks:function(n,u,t,c,o,h,A,y){for(var O=this.group,S=o.cx,E=o.cy,C=o.r,T=+n.get("min"),w=+n.get("max"),L=n.getModel("splitLine"),N=n.getModel("axisTick"),D=n.getModel("axisLabel"),F=n.get("splitNumber"),R=N.get("splitNumber"),U=v(L.get("length"),C),M=v(N.get("length"),C),j=h,P=(A-h)/F,K=P/R,H=L.getModel("lineStyle").getLineStyle(),_=N.getModel("lineStyle").getLineStyle(),Z=0;Z<=F;Z++){var Y=Math.cos(j),k=Math.sin(j);if(L.get("show")){var Q=new x.Line({shape:{x1:Y*C+S,y1:k*C+E,x2:Y*(C-U)+S,y2:k*(C-U)+E},style:H,silent:!0});H.stroke==="auto"&&Q.setStyle({stroke:c(Z/F)}),O.add(Q)}if(D.get("show")){var X=r(b(Z/F*(w-T)+T),D.get("formatter")),he=D.get("distance"),te=c(Z/F);O.add(new x.Text({style:x.setTextStyle({},D,{text:X,x:Y*(C-U-he)+S,y:k*(C-U-he)+E,textVerticalAlign:k<-.4?"top":k>.4?"bottom":"middle",textAlign:Y<-.4?"left":Y>.4?"right":"center"},{autoColor:te}),silent:!0}))}if(N.get("show")&&Z!==F){for(var pe=0;pe<=R;pe++){var Y=Math.cos(j),k=Math.sin(j),Se=new x.Line({shape:{x1:Y*C+S,y1:k*C+E,x2:Y*(C-M)+S,y2:k*(C-M)+E},silent:!0,style:_});_.stroke==="auto"&&Se.setStyle({stroke:c((Z+pe/R)/F)}),O.add(Se),j+=K}j-=K}else j+=P}},_renderPointer:function(n,u,t,c,o,h,A,y){var O=this.group,S=this._data;if(!n.get("pointer.show")){S&&S.eachItemGraphicEl(function(L){O.remove(L)});return}var E=[+n.get("min"),+n.get("max")],C=[h,A],T=n.getData(),w=T.mapDimension("value");T.diff(S).add(function(L){var N=new d({shape:{angle:h}});x.initProps(N,{shape:{angle:f(T.get(w,L),E,C,!0)}},n),O.add(N),T.setItemGraphicEl(L,N)}).update(function(L,N){var D=S.getItemGraphicEl(N);x.updateProps(D,{shape:{angle:f(T.get(w,L),E,C,!0)}},n),O.add(D),T.setItemGraphicEl(L,D)}).remove(function(L){var N=S.getItemGraphicEl(L);O.remove(N)}).execute(),T.eachItemGraphicEl(function(L,N){var D=T.getItemModel(N),F=D.getModel("pointer");L.setShape({x:o.cx,y:o.cy,width:v(F.get("width"),o.r),r:v(F.get("length"),o.r)}),L.useStyle(D.getModel("itemStyle").getItemStyle()),L.style.fill==="auto"&&L.setStyle("fill",c(f(T.get(w,N),E,[0,1],!0))),x.setHoverStyle(L,D.getModel("emphasis.itemStyle").getItemStyle())}),this._data=T},_renderTitle:function(n,u,t,c,o){var h=n.getData(),A=h.mapDimension("value"),y=n.getModel("title");if(y.get("show")){var O=y.get("offsetCenter"),S=o.cx+v(O[0],o.r),E=o.cy+v(O[1],o.r),C=+n.get("min"),T=+n.get("max"),w=n.getData().get(A,0),L=c(f(w,[C,T],[0,1],!0));this.group.add(new x.Text({silent:!0,style:x.setTextStyle({},y,{x:S,y:E,text:h.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:L,forceRich:!0})}))}},_renderDetail:function(n,u,t,c,o){var h=n.getModel("detail"),A=+n.get("min"),y=+n.get("max");if(h.get("show")){var O=h.get("offsetCenter"),S=o.cx+v(O[0],o.r),E=o.cy+v(O[1],o.r),C=v(h.get("width"),o.r),T=v(h.get("height"),o.r),w=n.getData(),L=w.get(w.mapDimension("value"),0),N=c(f(L,[A,y],[0,1],!0));this.group.add(new x.Text({silent:!0,style:x.setTextStyle({},h,{x:S,y:E,text:r(L,h.get("formatter")),textWidth:isNaN(C)?null:C,textHeight:isNaN(T)?null:T,textAlign:"center",textVerticalAlign:"middle"},{autoColor:N,forceRich:!0})}))}}}),l=s;J.exports=l},"p77/":function(J,B,e){},pC0b:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("xzDV"),p=e.n(g),v=e("5Dmo")},"pED+":function(J,B,e){},pG52:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("WXVj"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},pLH3:function(J,B,e){var d=e("ProS");e("ALo7"),e("TWL2");var x=e("mOdp"),g=e("JLnu"),p=e("0/Rx");d.registerVisual(x("funnel")),d.registerLayout(g),d.registerProcessor(p("funnel"))},pP6R:function(J,B,e){var d=e("ProS"),x="\0_ec_interaction_mutex";function g(f,i,r){var a=b(f);a[i]=r}function p(f,i,r){var a=b(f),s=a[i];s===r&&(a[i]=null)}function v(f,i){return!!b(f)[i]}function b(f){return f[x]||(f[x]={})}d.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),B.take=g,B.release=p,B.isTaken=v},pSRY:function(J,B,e){var d=e("QkVE");function x(g){return d(this,g).has(g)}J.exports=x},pmaE:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("IwbS"),p=e("DEFe"),v="__seriesMapHighDown",b="__seriesMapCallKey",f=d.extendChartView({type:"map",render:function(a,s,l,n){if(n&&n.type==="mapToggleSelect"&&n.from===this.uid)return;var u=this.group;if(u.removeAll(),a.getHostGeoModel())return;if(n&&n.type==="geoRoam"&&n.componentType==="series"&&n.seriesId===a.id){var t=this._mapDraw;t&&u.add(t.group)}else if(a.needsDrawMap){var t=this._mapDraw||new p(l,!0);u.add(t.group),t.draw(a,s,l,this,n),this._mapDraw=t}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;a.get("showLegendSymbol")&&s.getComponent("legend")&&this._renderSymbols(a,s,l)},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(a,s,l){var n=a.originalData,u=this.group;n.each(n.mapDimension("value"),function(t,c){if(isNaN(t))return;var o=n.getItemLayout(c);if(!o||!o.point)return;var h=o.point,A=o.offset,y=new g.Circle({style:{fill:a.getData().getVisual("color")},shape:{cx:h[0]+A*9,cy:h[1],r:3},silent:!0,z2:8+(A?0:g.Z2_EMPHASIS_LIFT+1)});if(!A){var O=a.mainSeries.getData(),S=n.getName(c),E=O.indexOfName(S),C=n.getItemModel(c),T=C.getModel("label"),w=C.getModel("emphasis.label"),L=O.getItemGraphicEl(E),N=x.retrieve2(a.getFormattedLabel(E,"normal"),S),D=x.retrieve2(a.getFormattedLabel(E,"emphasis"),N),F=L[v],R=Math.random();if(!F){F=L[v]={};var U=x.curry(i,!0),M=x.curry(i,!1);L.on("mouseover",U).on("mouseout",M).on("emphasis",U).on("normal",M)}L[b]=R,x.extend(F,{recordVersion:R,circle:y,labelModel:T,hoverLabelModel:w,emphasisText:D,normalText:N}),r(F,!1)}u.add(y)})}});function i(a){var s=this[v];s&&s.recordVersion===this[b]&&r(s,a)}function r(a,s){var l=a.circle,n=a.labelModel,u=a.hoverLabelModel,t=a.emphasisText,c=a.normalText;s?(l.style.extendFrom(g.setTextStyle({},u,{text:u.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),l.__mapOriginalZ2=l.z2,l.z2+=g.Z2_EMPHASIS_LIFT):(g.setTextStyle(l.style,n,{text:n.get("show")?c:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),l.dirty(!1),l.__mapOriginalZ2!=null&&(l.z2=l.__mapOriginalZ2,l.__mapOriginalZ2=null))}J.exports=f},pwpV:function(J,B,e){},pzxd:function(J,B,e){var d=e("bYtY"),x=d.retrieve2,g=d.retrieve3,p=d.each,v=d.normalizeCssArray,b=d.isString,f=d.isObject,i=e("6GrX"),r=e("VpOo"),a=e("Xnb7"),s=e("fW2E"),l=e("gut8"),n=l.ContextCachedBy,u=l.WILL_BE_RESTORED,t=i.DEFAULT_FONT,c={left:1,right:1,center:1},o={top:1,bottom:1,middle:1},h=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],A={},y={};function O(Z){return S(Z),p(Z.rich,S),Z}function S(Z){if(Z){Z.font=i.makeFont(Z);var Y=Z.textAlign;Y==="middle"&&(Y="center"),Z.textAlign=Y==null||c[Y]?Y:"left";var k=Z.textVerticalAlign||Z.textBaseline;k==="center"&&(k="middle"),Z.textVerticalAlign=k==null||o[k]?k:"top";var Q=Z.textPadding;Q&&(Z.textPadding=v(Z.textPadding))}}function E(Z,Y,k,Q,X,he){Q.rich?T(Z,Y,k,Q,X,he):C(Z,Y,k,Q,X,he)}function C(Z,Y,k,Q,X,he){"use strict";var te=D(Q),pe,Se=!1,we=Y.__attrCachedBy===n.PLAIN_TEXT;he!==u?(he&&(pe=he.style,Se=!te&&we&&pe),Y.__attrCachedBy=te?n.NONE:n.PLAIN_TEXT):we&&(Y.__attrCachedBy=n.NONE);var We=Q.font||t;(!Se||We!==(pe.font||t))&&(Y.font=We);var qe=Z.__computedFont;Z.__styleFont!==We&&(Z.__styleFont=We,qe=Z.__computedFont=Y.font);var yt=Q.textPadding,_e=Q.textLineHeight,je=Z.__textCotentBlock;(!je||Z.__dirtyText)&&(je=Z.__textCotentBlock=i.parsePlainText(k,qe,yt,_e,Q.truncate));var Ct=je.outerHeight,ct=je.lines,nt=je.lineHeight,bt=U(y,Z,Q,X),dt=bt.baseX,vt=bt.baseY,Qe=bt.textAlign||"left",mt=bt.textVerticalAlign;L(Y,Q,X,dt,vt);var Pe=i.adjustTextY(vt,Ct,mt),De=dt,Ie=Pe;if(te||yt){var ot=i.getWidth(k,qe),wt=ot;yt&&(wt+=yt[1]+yt[3]);var Bt=i.adjustTextX(dt,wt,Qe);te&&F(Z,Y,Q,Bt,Pe,wt,Ct),yt&&(De=H(dt,Qe,yt),Ie+=yt[0])}Y.textAlign=Qe,Y.textBaseline="middle",Y.globalAlpha=Q.opacity||1;for(var _t=0;_t<h.length;_t++){var Ue=h[_t],zt=Ue[0],xt=Ue[1],Pt=Q[zt];(!Se||Pt!==pe[zt])&&(Y[xt]=s(Y,xt,Pt||Ue[2]))}Ie+=nt/2;var Ke=Q.textStrokeWidth,Ye=Se?pe.textStrokeWidth:null,$e=!Se||Ke!==Ye,ut=!Se||$e||Q.textStroke!==pe.textStroke,et=j(Q.textStroke,Ke),oe=P(Q.textFill);if(et&&($e&&(Y.lineWidth=Ke),ut&&(Y.strokeStyle=et)),oe&&((!Se||Q.textFill!==pe.textFill)&&(Y.fillStyle=oe)),ct.length===1)et&&Y.strokeText(ct[0],De,Ie),oe&&Y.fillText(ct[0],De,Ie);else for(var _t=0;_t<ct.length;_t++)et&&Y.strokeText(ct[_t],De,Ie),oe&&Y.fillText(ct[_t],De,Ie),Ie+=nt}function T(Z,Y,k,Q,X,he){he!==u&&(Y.__attrCachedBy=n.NONE);var te=Z.__textCotentBlock;(!te||Z.__dirtyText)&&(te=Z.__textCotentBlock=i.parseRichText(k,Q)),w(Z,Y,te,Q,X)}function w(Z,Y,k,Q,X){var he=k.width,te=k.outerWidth,pe=k.outerHeight,Se=Q.textPadding,we=U(y,Z,Q,X),We=we.baseX,qe=we.baseY,yt=we.textAlign,_e=we.textVerticalAlign;L(Y,Q,X,We,qe);var je=i.adjustTextX(We,te,yt),Ct=i.adjustTextY(qe,pe,_e),ct=je,nt=Ct;Se&&(ct+=Se[3],nt+=Se[0]);var bt=ct+he;D(Q)&&F(Z,Y,Q,je,Ct,te,pe);for(var dt=0;dt<k.lines.length;dt++){for(var vt=k.lines[dt],Qe=vt.tokens,mt=Qe.length,Pe=vt.lineHeight,De=vt.width,Ie=0,ot=ct,wt=bt,Bt=mt-1,_t;Ie<mt&&(_t=Qe[Ie],!_t.textAlign||_t.textAlign==="left");)N(Z,Y,_t,Q,Pe,nt,ot,"left"),De-=_t.width,ot+=_t.width,Ie++;for(;Bt>=0&&(_t=Qe[Bt],_t.textAlign==="right");)N(Z,Y,_t,Q,Pe,nt,wt,"right"),De-=_t.width,wt-=_t.width,Bt--;for(ot+=(he-(ot-ct)-(bt-wt)-De)/2;Ie<=Bt;)_t=Qe[Ie],N(Z,Y,_t,Q,Pe,nt,ot+_t.width/2,"center"),ot+=_t.width,Ie++;nt+=Pe}}function L(Z,Y,k,Q,X){if(k&&Y.textRotation){var he=Y.textOrigin;he==="center"?(Q=k.width/2+k.x,X=k.height/2+k.y):he&&(Q=he[0]+k.x,X=he[1]+k.y),Z.translate(Q,X),Z.rotate(-Y.textRotation),Z.translate(-Q,-X)}}function N(Z,Y,k,Q,X,he,te,pe){var Se=Q.rich[k.styleName]||{};Se.text=k.text;var we=k.textVerticalAlign,We=he+X/2;we==="top"?We=he+k.height/2:we==="bottom"&&(We=he+X-k.height/2),!k.isLineHolder&&D(Se)&&F(Z,Y,Se,pe==="right"?te-k.width:pe==="center"?te-k.width/2:te,We-k.height/2,k.width,k.height);var qe=k.textPadding;qe&&(te=H(te,pe,qe),We-=k.height/2-qe[2]-k.textHeight/2),M(Y,"shadowBlur",g(Se.textShadowBlur,Q.textShadowBlur,0)),M(Y,"shadowColor",Se.textShadowColor||Q.textShadowColor||"transparent"),M(Y,"shadowOffsetX",g(Se.textShadowOffsetX,Q.textShadowOffsetX,0)),M(Y,"shadowOffsetY",g(Se.textShadowOffsetY,Q.textShadowOffsetY,0)),M(Y,"textAlign",pe),M(Y,"textBaseline","middle"),M(Y,"font",k.font||t);var yt=j(Se.textStroke||Q.textStroke,je),_e=P(Se.textFill||Q.textFill),je=x(Se.textStrokeWidth,Q.textStrokeWidth);yt&&(M(Y,"lineWidth",je),M(Y,"strokeStyle",yt),Y.strokeText(k.text,te,We)),_e&&(M(Y,"fillStyle",_e),Y.fillText(k.text,te,We))}function D(Z){return!!(Z.textBackgroundColor||Z.textBorderWidth&&Z.textBorderColor)}function F(Z,Y,k,Q,X,he,te){var pe=k.textBackgroundColor,Se=k.textBorderWidth,we=k.textBorderColor,We=b(pe);if(M(Y,"shadowBlur",k.textBoxShadowBlur||0),M(Y,"shadowColor",k.textBoxShadowColor||"transparent"),M(Y,"shadowOffsetX",k.textBoxShadowOffsetX||0),M(Y,"shadowOffsetY",k.textBoxShadowOffsetY||0),We||Se&&we){Y.beginPath();var qe=k.textBorderRadius;qe?r.buildPath(Y,{x:Q,y:X,width:he,height:te,r:qe}):Y.rect(Q,X,he,te),Y.closePath()}if(We)if(M(Y,"fillStyle",pe),k.fillOpacity!=null){var yt=Y.globalAlpha;Y.globalAlpha=k.fillOpacity*k.opacity,Y.fill(),Y.globalAlpha=yt}else Y.fill();else if(f(pe)){var _e=pe.image;_e=a.createOrUpdateImage(_e,null,Z,R,pe),_e&&a.isImageReady(_e)&&Y.drawImage(_e,Q,X,he,te)}if(Se&&we)if(M(Y,"lineWidth",Se),M(Y,"strokeStyle",we),k.strokeOpacity!=null){var yt=Y.globalAlpha;Y.globalAlpha=k.strokeOpacity*k.opacity,Y.stroke(),Y.globalAlpha=yt}else Y.stroke()}function R(Z,Y){Y.image=Z}function U(Z,Y,k,Q){var X=k.x||0,he=k.y||0,te=k.textAlign,pe=k.textVerticalAlign;if(Q){var Se=k.textPosition;if(Se instanceof Array)X=Q.x+K(Se[0],Q.width),he=Q.y+K(Se[1],Q.height);else{var we=Y&&Y.calculateTextPosition?Y.calculateTextPosition(A,k,Q):i.calculateTextPosition(A,k,Q);X=we.x,he=we.y,te=te||we.textAlign,pe=pe||we.textVerticalAlign}var We=k.textOffset;We&&(X+=We[0],he+=We[1])}return Z=Z||{},Z.baseX=X,Z.baseY=he,Z.textAlign=te,Z.textVerticalAlign=pe,Z}function M(Z,Y,k){return Z[Y]=s(Z,Y,k),Z[Y]}function j(Z,Y){return Z==null||Y<=0||Z==="transparent"||Z==="none"?null:Z.image||Z.colorStops?"#000":Z}function P(Z){return Z==null||Z==="none"?null:Z.image||Z.colorStops?"#000":Z}function K(Z,Y){return typeof Z=="string"?Z.lastIndexOf("%")>=0?parseFloat(Z)/100*Y:parseFloat(Z):Z}function H(Z,Y,k){return Y==="right"?Z-k[1]:Y==="center"?Z+k[3]/2-k[1]/2:Z+k[3]}function _(Z,Y){return Z!=null&&(Z||Y.textBackgroundColor||Y.textBorderWidth&&Y.textBorderColor||Y.textPadding)}B.normalizeTextStyle=O,B.renderText=E,B.getBoxPosition=U,B.getStroke=j,B.getFill=P,B.parsePercent=K,B.needDrawText=_},"q/+u":function(J,B,e){var d=e("ProS"),x=e("9wZj"),g=e("yWXo"),p=e("h8O9");d.extendChartView({type:"scatter",render:function(v,b,f){var i=v.getData(),r=this._updateSymbolDraw(i,v);r.updateData(i,{clipShape:this._getClipShape(v)}),this._finished=!0},incrementalPrepareRender:function(v,b,f){var i=v.getData(),r=this._updateSymbolDraw(i,v);r.incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(v,b,f){this._symbolDraw.incrementalUpdate(v,b.getData(),{clipShape:this._getClipShape(b)}),this._finished=v.end===b.getData().count()},updateTransform:function(v,b,f){var i=v.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var r=p().reset(v);r.progress&&r.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(v){var b=v.coordinateSystem,f=b&&b.getArea&&b.getArea();return v.get("clip",!0)?f:null},_updateSymbolDraw:function(v,b){var f=this._symbolDraw,i=b.pipelineContext,r=i.large;return(!f||r!==this._isLargeDraw)&&(f&&f.remove(),f=this._symbolDraw=r?new g:new x,this._isLargeDraw=r,this.group.removeAll()),this.group.add(f.group),f},remove:function(v,b){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(J,B){var e=["lineStyle","normal","opacity"],d={seriesType:"parallel",reset:function(x,g,p){var v=x.getModel("itemStyle"),b=x.getModel("lineStyle"),f=g.get("color"),i=b.get("color")||v.get("color")||f[x.seriesIndex%f.length],r=x.get("inactiveOpacity"),a=x.get("activeOpacity"),s=x.getModel("lineStyle").getLineStyle(),l=x.coordinateSystem,n=x.getData(),u={normal:s.opacity,active:a,inactive:r};n.setVisual("color",i);function t(c,o){l.eachActiveState(o,function(h,A){var y=u[h];if(h==="normal"&&o.hasItemOption){var O=o.getItemModel(A).get(e,!0);O!=null&&(y=O)}o.setItemVisual(A,"opacity",y)},c.start,c.end)}return{progress:t}}};J.exports=d},q4HE:function(J,B){var e="\\ud800-\\udfff",d="\\u0300-\\u036f",x="\\ufe20-\\ufe2f",g="\\u20d0-\\u20ff",p=d+x+g,v="\\ufe0e\\ufe0f",b="["+e+"]",f="["+p+"]",i="\\ud83c[\\udffb-\\udfff]",r="(?:"+f+"|"+i+")",a="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",u=r+"?",t="["+v+"]?",c="(?:"+n+"(?:"+[a,s,l].join("|")+")"+t+u+")*",o=t+u+c,h="(?:"+[a+f+"?",f,s,l,b].join("|")+")",A=RegExp(i+"(?="+i+")|"+h+o,"g");function y(O){for(var S=A.lastIndex=0;A.test(O);)++S;return S}J.exports=y},qH13:function(J,B,e){var d=e("ItGF"),x=e("QBsz"),g=x.applyTransform,p=e("mFDi"),v=e("Qe9p"),b=e("6GrX"),f=e("pzxd"),i=e("ni6a"),r=e("Gev7"),a=e("Dagg"),s=e("dqUG"),l=e("y+Vt"),n=e("IMiH"),u=e("QuXc"),t=e("06Qe"),c=n.CMD,o=Math.round,h=Math.sqrt,A=Math.abs,y=Math.cos,O=Math.sin,S=Math.max;if(!d.canvasSupported){var E=",",C="progid:DXImageTransform.Microsoft",T=21600,w=T/2,L=1e5,N=1e3,D=function(vt){vt.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",vt.coordsize=T+","+T,vt.coordorigin="0,0"},F=function(vt){return String(vt).replace(/&/g,"&").replace(/"/g,""")},R=function(vt,Qe,mt){return"rgb("+[vt,Qe,mt].join(",")+")"},U=function(vt,Qe){Qe&&vt&&Qe.parentNode!==vt&&vt.appendChild(Qe)},M=function(vt,Qe){Qe&&vt&&Qe.parentNode===vt&&vt.removeChild(Qe)},j=function(vt,Qe,mt){return(parseFloat(vt)||0)*L+(parseFloat(Qe)||0)*N+mt},P=f.parsePercent,K=function(vt,Qe,mt){var Pe=v.parse(Qe);mt=+mt,isNaN(mt)&&(mt=1),Pe&&(vt.color=R(Pe[0],Pe[1],Pe[2]),vt.opacity=mt*Pe[3])},H=function(vt){var Qe=v.parse(vt);return[R(Qe[0],Qe[1],Qe[2]),Qe[3]]},_=function(vt,Qe,mt){var Pe=Qe.fill;if(Pe!=null)if(Pe instanceof u){var De,Ie=0,ot=[0,0],wt=0,Bt=1,_t=mt.getBoundingRect(),Ue=_t.width,zt=_t.height;if(Pe.type==="linear"){De="gradient";var xt=mt.transform,Pt=[Pe.x*Ue,Pe.y*zt],Ke=[Pe.x2*Ue,Pe.y2*zt];xt&&(g(Pt,Pt,xt),g(Ke,Ke,xt));var Ye=Ke[0]-Pt[0],$e=Ke[1]-Pt[1];Ie=Math.atan2(Ye,$e)*180/Math.PI,Ie<0&&(Ie+=360),Ie<1e-6&&(Ie=0)}else{De="gradientradial";var Pt=[Pe.x*Ue,Pe.y*zt],xt=mt.transform,ut=mt.scale,et=Ue,oe=zt;ot=[(Pt[0]-_t.x)/et,(Pt[1]-_t.y)/oe],xt&&g(Pt,Pt,xt),et/=ut[0]*T,oe/=ut[1]*T;var me=S(et,oe);wt=2*0/me,Bt=2*Pe.r/me-wt}var it=Pe.colorStops.slice();it.sort(function(ue,se){return ue.offset-se.offset});for(var Be=it.length,ht=[],Mr=[],Lt=0;Lt<Be;Lt++){var or=it[Lt],Qt=H(or.color);Mr.push(or.offset*Bt+wt+" "+Qt[0]),(Lt===0||Lt===Be-1)&&ht.push(Qt)}if(Be>=2){var qt=ht[0][0],hr=ht[1][0],Gt=ht[0][1]*Qe.opacity,de=ht[1][1]*Qe.opacity;vt.type=De,vt.method="none",vt.focus="100%",vt.angle=Ie,vt.color=qt,vt.color2=hr,vt.colors=Mr.join(","),vt.opacity=de,vt.opacity2=Gt}De==="radial"&&(vt.focusposition=ot.join(","))}else K(vt,Pe,Qe.opacity)},Z=function(vt,Qe){Qe.lineDash&&(vt.dashstyle=Qe.lineDash.join(" ")),Qe.stroke!=null&&!(Qe.stroke instanceof u)&&K(vt,Qe.stroke,Qe.opacity)},Y=function(vt,Qe,mt,Pe){var De=Qe==="fill",Ie=vt.getElementsByTagName(Qe)[0];mt[Qe]!=null&&mt[Qe]!=="none"&&(De||!De&&mt.lineWidth)?(vt[De?"filled":"stroked"]="true",mt[Qe]instanceof u&&M(vt,Ie),Ie||(Ie=t.createNode(Qe)),De?_(Ie,mt,Pe):Z(Ie,mt),U(vt,Ie)):(vt[De?"filled":"stroked"]="false",M(vt,Ie))},k=[[],[],[]],Q=function(vt,Qe){var mt=c.M,Pe=c.C,De=c.L,Ie=c.A,ot=c.Q,wt=[],Bt,_t,Ue,zt,xt,Pt,Ke=vt.data,Ye=vt.len();for(zt=0;zt<Ye;){Ue=Ke[zt++],_t="",Bt=0;switch(Ue){case mt:_t=" m ",Bt=1,xt=Ke[zt++],Pt=Ke[zt++],k[0][0]=xt,k[0][1]=Pt;break;case De:_t=" l ",Bt=1,xt=Ke[zt++],Pt=Ke[zt++],k[0][0]=xt,k[0][1]=Pt;break;case ot:case Pe:_t=" c ",Bt=3;var $e=Ke[zt++],ut=Ke[zt++],et=Ke[zt++],oe=Ke[zt++],me,it;Ue===ot?(me=et,it=oe,et=(et+2*$e)/3,oe=(oe+2*ut)/3,$e=(xt+2*$e)/3,ut=(Pt+2*ut)/3):(me=Ke[zt++],it=Ke[zt++]),k[0][0]=$e,k[0][1]=ut,k[1][0]=et,k[1][1]=oe,k[2][0]=me,k[2][1]=it,xt=me,Pt=it;break;case Ie:var Be=0,ht=0,Mr=1,Lt=1,or=0;Qe&&(Be=Qe[4],ht=Qe[5],Mr=h(Qe[0]*Qe[0]+Qe[1]*Qe[1]),Lt=h(Qe[2]*Qe[2]+Qe[3]*Qe[3]),or=Math.atan2(-Qe[1]/Lt,Qe[0]/Mr));var Qt=Ke[zt++],qt=Ke[zt++],hr=Ke[zt++],Gt=Ke[zt++],de=Ke[zt++]+or,ue=Ke[zt++]+de+or;zt++;var se=Ke[zt++],ae=Qt+y(de)*hr,ye=qt+O(de)*Gt,$e=Qt+y(ue)*hr,ut=qt+O(ue)*Gt,Ce=se?" wa ":" at ";Math.abs(ae-$e)<1e-4&&(Math.abs(ue-de)>.01?se&&(ae+=270/T):Math.abs(ye-qt)<1e-4?se&&ae<Qt||!se&&ae>Qt?ut-=270/T:ut+=270/T:se&&ye<qt||!se&&ye>qt?$e+=270/T:$e-=270/T),wt.push(Ce,o(((Qt-hr)*Mr+Be)*T-w),E,o(((qt-Gt)*Lt+ht)*T-w),E,o(((Qt+hr)*Mr+Be)*T-w),E,o(((qt+Gt)*Lt+ht)*T-w),E,o((ae*Mr+Be)*T-w),E,o((ye*Lt+ht)*T-w),E,o(($e*Mr+Be)*T-w),E,o((ut*Lt+ht)*T-w)),xt=$e,Pt=ut;break;case c.R:var Oe=k[0],Te=k[1];Oe[0]=Ke[zt++],Oe[1]=Ke[zt++],Te[0]=Oe[0]+Ke[zt++],Te[1]=Oe[1]+Ke[zt++],Qe&&(g(Oe,Oe,Qe),g(Te,Te,Qe)),Oe[0]=o(Oe[0]*T-w),Te[0]=o(Te[0]*T-w),Oe[1]=o(Oe[1]*T-w),Te[1]=o(Te[1]*T-w),wt.push(" m ",Oe[0],E,Oe[1]," l ",Te[0],E,Oe[1]," l ",Te[0],E,Te[1]," l ",Oe[0],E,Te[1]);break;case c.Z:wt.push(" x ")}if(Bt>0){wt.push(_t);for(var xe=0;xe<Bt;xe++){var ke=k[xe];Qe&&g(ke,ke,Qe),wt.push(o(ke[0]*T-w),E,o(ke[1]*T-w),xe<Bt-1?E:"")}}}return wt.join("")};l.prototype.brushVML=function(dt){var vt=this.style,Qe=this._vmlEl;Qe||(Qe=t.createNode("shape"),D(Qe),this._vmlEl=Qe),Y(Qe,"fill",vt,this),Y(Qe,"stroke",vt,this);var mt=this.transform,Pe=mt!=null,De=Qe.getElementsByTagName("stroke")[0];if(De){var Ie=vt.lineWidth;if(Pe&&!vt.strokeNoScale){var ot=mt[0]*mt[3]-mt[1]*mt[2];Ie*=h(A(ot))}De.weight=Ie+"px"}var wt=this.path||(this.path=new n);this.__dirtyPath&&(wt.beginPath(),wt.subPixelOptimize=!1,this.buildPath(wt,this.shape),wt.toStatic(),this.__dirtyPath=!1),Qe.path=Q(wt,this.transform),Qe.style.zIndex=j(this.zlevel,this.z,this.z2),U(dt,Qe),vt.text!=null?this.drawRectText(dt,this.getBoundingRect()):this.removeRectText(dt)},l.prototype.onRemove=function(dt){M(dt,this._vmlEl),this.removeRectText(dt)},l.prototype.onAdd=function(dt){U(dt,this._vmlEl),this.appendRectText(dt)};var X=function(vt){return typeof vt=="object"&&vt.tagName&&vt.tagName.toUpperCase()==="IMG"};a.prototype.brushVML=function(dt){var vt=this.style,Qe=vt.image,mt,Pe;if(X(Qe)){var De=Qe.src;if(De===this._imageSrc)mt=this._imageWidth,Pe=this._imageHeight;else{var Ie=Qe.runtimeStyle,ot=Ie.width,wt=Ie.height;Ie.width="auto",Ie.height="auto",mt=Qe.width,Pe=Qe.height,Ie.width=ot,Ie.height=wt,this._imageSrc=De,this._imageWidth=mt,this._imageHeight=Pe}Qe=De}else Qe===this._imageSrc&&(mt=this._imageWidth,Pe=this._imageHeight);if(!Qe)return;var Bt=vt.x||0,_t=vt.y||0,Ue=vt.width,zt=vt.height,xt=vt.sWidth,Pt=vt.sHeight,Ke=vt.sx||0,Ye=vt.sy||0,$e=xt&&Pt,ut=this._vmlEl;ut||(ut=t.doc.createElement("div"),D(ut),this._vmlEl=ut);var et=ut.style,oe=!1,me,it=1,Be=1;if(this.transform&&(me=this.transform,it=h(me[0]*me[0]+me[1]*me[1]),Be=h(me[2]*me[2]+me[3]*me[3]),oe=me[1]||me[2]),oe){var ht=[Bt,_t],Mr=[Bt+Ue,_t],Lt=[Bt,_t+zt],or=[Bt+Ue,_t+zt];g(ht,ht,me),g(Mr,Mr,me),g(Lt,Lt,me),g(or,or,me);var Qt=S(ht[0],Mr[0],Lt[0],or[0]),qt=S(ht[1],Mr[1],Lt[1],or[1]),hr=[];hr.push("M11=",me[0]/it,E,"M12=",me[2]/Be,E,"M21=",me[1]/it,E,"M22=",me[3]/Be,E,"Dx=",o(Bt*it+me[4]),E,"Dy=",o(_t*Be+me[5])),et.padding="0 "+o(Qt)+"px "+o(qt)+"px 0",et.filter=C+".Matrix("+hr.join("")+", SizingMethod=clip)"}else me&&(Bt=Bt*it+me[4],_t=_t*Be+me[5]),et.filter="",et.left=o(Bt)+"px",et.top=o(_t)+"px";var Gt=this._imageEl,de=this._cropEl;Gt||(Gt=t.doc.createElement("div"),this._imageEl=Gt);var ue=Gt.style;if($e){if(mt&&Pe)ue.width=o(it*mt*Ue/xt)+"px",ue.height=o(Be*Pe*zt/Pt)+"px";else{var se=new Image,ae=this;se.onload=function(){se.onload=null,mt=se.width,Pe=se.height,ue.width=o(it*mt*Ue/xt)+"px",ue.height=o(Be*Pe*zt/Pt)+"px",ae._imageWidth=mt,ae._imageHeight=Pe,ae._imageSrc=Qe},se.src=Qe}de||(de=t.doc.createElement("div"),de.style.overflow="hidden",this._cropEl=de);var ye=de.style;ye.width=o((Ue+Ke*Ue/xt)*it),ye.height=o((zt+Ye*zt/Pt)*Be),ye.filter=C+".Matrix(Dx="+-Ke*Ue/xt*it+",Dy="+-Ye*zt/Pt*Be+")",de.parentNode||ut.appendChild(de),Gt.parentNode!==de&&de.appendChild(Gt)}else ue.width=o(it*Ue)+"px",ue.height=o(Be*zt)+"px",ut.appendChild(Gt),de&&de.parentNode&&(ut.removeChild(de),this._cropEl=null);var Ce="",Oe=vt.opacity;Oe<1&&(Ce+=".Alpha(opacity="+o(Oe*100)+") "),Ce+=C+".AlphaImageLoader(src="+Qe+", SizingMethod=scale)",ue.filter=Ce,ut.style.zIndex=j(this.zlevel,this.z,this.z2),U(dt,ut),vt.text!=null&&this.drawRectText(dt,this.getBoundingRect())},a.prototype.onRemove=function(dt){M(dt,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(dt)},a.prototype.onAdd=function(dt){U(dt,this._vmlEl),this.appendRectText(dt)};var he="normal",te={},pe=0,Se=100,we=document.createElement("div"),We=function(vt){var Qe=te[vt];if(!Qe){pe>Se&&(pe=0,te={});var mt=we.style,Pe;try{mt.font=vt,Pe=mt.fontFamily.split(",")[0]}catch(De){}Qe={style:mt.fontStyle||he,variant:mt.fontVariant||he,weight:mt.fontWeight||he,size:parseFloat(mt.fontSize||12)|0,family:Pe||"Microsoft YaHei"},te[vt]=Qe,pe++}return Qe},qe;b.$override("measureText",function(dt,vt){var Qe=t.doc;qe||(qe=Qe.createElement("div"),qe.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(qe));try{qe.style.font=vt}catch(mt){}return qe.innerHTML="",qe.appendChild(Qe.createTextNode(dt)),{width:qe.offsetWidth}});for(var yt=new p,_e=function(vt,Qe,mt,Pe){var De=this.style;this.__dirty&&f.normalizeTextStyle(De,!0);var Ie=De.text;if(Ie!=null&&(Ie+=""),!Ie)return;if(De.rich){var ot=b.parseRichText(Ie,De);Ie=[];for(var wt=0;wt<ot.lines.length;wt++){for(var Bt=ot.lines[wt].tokens,_t=[],Ue=0;Ue<Bt.length;Ue++)_t.push(Bt[Ue].text);Ie.push(_t.join(""))}Ie=Ie.join(`
|
|
|
`)}var zt,xt,Pt=De.textAlign,Ke=De.textVerticalAlign,Ye=We(De.font),$e=Ye.style+" "+Ye.variant+" "+Ye.weight+" "+Ye.size+'px "'+Ye.family+'"';mt=mt||b.getBoundingRect(Ie,$e,Pt,Ke,De.textPadding,De.textLineHeight);var ut=this.transform;if(ut&&!Pe&&(yt.copy(Qe),yt.applyTransform(ut),Qe=yt),Pe)zt=Qe.x,xt=Qe.y;else{var et=De.textPosition;if(et instanceof Array)zt=Qe.x+P(et[0],Qe.width),xt=Qe.y+P(et[1],Qe.height),Pt=Pt||"left";else{var oe=this.calculateTextPosition?this.calculateTextPosition({},De,Qe):b.calculateTextPosition({},De,Qe);zt=oe.x,xt=oe.y,Pt=Pt||oe.textAlign,Ke=Ke||oe.textVerticalAlign}}zt=b.adjustTextX(zt,mt.width,Pt),xt=b.adjustTextY(xt,mt.height,Ke),xt+=mt.height/2;var me=t.createNode,it=this._textVmlEl,Be,ht,Mr;it?(Mr=it.firstChild,Be=Mr.nextSibling,ht=Be.nextSibling):(it=me("line"),Be=me("path"),ht=me("textpath"),Mr=me("skew"),ht.style["v-text-align"]="left",D(it),Be.textpathok=!0,ht.on=!0,it.from="0 0",it.to="1000 0.05",U(it,Mr),U(it,Be),U(it,ht),this._textVmlEl=it);var Lt=[zt,xt],or=it.style;ut&&Pe?(g(Lt,Lt,ut),Mr.on=!0,Mr.matrix=ut[0].toFixed(3)+E+ut[2].toFixed(3)+E+ut[1].toFixed(3)+E+ut[3].toFixed(3)+",0,0",Mr.offset=(o(Lt[0])||0)+","+(o(Lt[1])||0),Mr.origin="0 0",or.left="0px",or.top="0px"):(Mr.on=!1,or.left=o(zt)+"px",or.top=o(xt)+"px"),ht.string=F(Ie);try{ht.style.font=$e}catch(Qt){}Y(it,"fill",{fill:De.textFill,opacity:De.opacity},this),Y(it,"stroke",{stroke:De.textStroke,opacity:De.opacity,lineDash:De.lineDash||null},this),it.style.zIndex=j(this.zlevel,this.z,this.z2),U(vt,it)},je=function(vt){M(vt,this._textVmlEl),this._textVmlEl=null},Ct=function(vt){U(vt,this._textVmlEl)},ct=[i,r,a,l,s],nt=0;nt<ct.length;nt++){var bt=ct[nt].prototype;bt.drawRectText=_e,bt.removeRectText=je,bt.appendRectText=Ct}s.prototype.brushVML=function(dt){var vt=this.style;vt.text!=null?this.drawRectText(dt,{x:vt.x||0,y:vt.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(dt)},s.prototype.onRemove=function(dt){this.removeRectText(dt)},s.prototype.onAdd=function(dt){this.appendRectText(dt)}}},qJCg:function(J,B,e){var d=e("BlVb"),x=e("mFDi"),g=e("IwbS"),p=g.linePolygonIntersect,v={lineX:b(0),lineY:b(1),rect:{point:function(r,a,s){return r&&s.boundingRect.contain(r[0],r[1])},rect:function(r,a,s){return r&&s.boundingRect.intersect(r)}},polygon:{point:function(r,a,s){return r&&s.boundingRect.contain(r[0],r[1])&&d.contain(s.range,r[0],r[1])},rect:function(r,a,s){var l=s.range;if(!r||l.length<=1)return!1;var n=r.x,u=r.y,t=r.width,c=r.height,o=l[0];if(d.contain(l,n,u)||d.contain(l,n+t,u)||d.contain(l,n,u+c)||d.contain(l,n+t,u+c)||x.create(r).contain(o[0],o[1])||p(n,u,n+t,u,l)||p(n,u,n,u+c,l)||p(n+t,u,n+t,u+c,l)||p(n,u+c,n+t,u+c,l))return!0}}};function b(r){var a=["x","y"],s=["width","height"];return{point:function(l,n,u){if(l){var t=u.range,c=l[r];return f(c,t)}},rect:function(l,n,u){if(l){var t=u.range,c=[l[a[r]],l[a[r]]+l[s[r]]];return c[1]<c[0]&&c.reverse(),f(c[0],t)||f(c[1],t)||f(t[0],c)||f(t[1],c)}}}}function f(r,a){return a[0]<=r&&r<=a[1]}var i=v;J.exports=i},qMZE:function(J,B,e){var d=e("JEkh"),x=d.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});J.exports=x},qNPg:function(J,B,e){"use strict";e.d(B,"a",function(){return k});var d=e("rePB"),x=e("VTBJ"),g=e("KQm4"),p=e("ODXe"),v=e("Ff2n"),b=e("q1tI"),f=e("4IlW"),i=e("TSYQ"),r=e.n(i),a=e("6cGi"),s=e("bX4T"),l=e("8XRh"),n=e("8OUc"),u=e("c+Xe"),t=function(X,he){var te=X.prefixCls,pe=X.id,Se=X.inputElement,we=X.disabled,We=X.tabIndex,qe=X.autoFocus,yt=X.autoComplete,_e=X.editable,je=X.accessibilityIndex,Ct=X.value,ct=X.onKeyDown,nt=X.onMouseDown,bt=X.onChange,dt=X.onPaste,vt=X.onCompositionStart,Qe=X.onCompositionEnd,mt=X.open,Pe=X.attrs,De=Se||b.createElement("input",null),Ie=De,ot=Ie.ref,wt=Ie.props,Bt=wt.onKeyDown,_t=wt.onChange,Ue=wt.onMouseDown,zt=wt.onCompositionStart,xt=wt.onCompositionEnd,Pt=wt.style;return De=b.cloneElement(De,Object(x.a)(Object(x.a)({id:pe,ref:Object(u.a)(he,ot),disabled:we,tabIndex:We,autoComplete:yt||"off",autoFocus:qe,className:"".concat(te,"-selection-search-input"),style:Object(x.a)(Object(x.a)({},Pt),{},{opacity:_e?null:0}),role:"combobox","aria-expanded":mt,"aria-haspopup":"listbox","aria-owns":"".concat(pe,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(pe,"_list"),"aria-activedescendant":"".concat(pe,"_list_").concat(je)},Pe),{},{value:_e?Ct:"",readOnly:!_e,unselectable:_e?null:"on",onKeyDown:function(Ye){ct(Ye),Bt&&Bt(Ye)},onMouseDown:function(Ye){nt(Ye),Ue&&Ue(Ye)},onChange:function(Ye){bt(Ye),_t&&_t(Ye)},onCompositionStart:function(Ye){vt(Ye),zt&&zt(Ye)},onCompositionEnd:function(Ye){Qe(Ye),xt&&xt(Ye)},onPaste:dt})),De},c=b.forwardRef(t);c.displayName="Input";var o=c,h=e("WKfj");function A(Q,X){h.b?b.useLayoutEffect(Q,X):b.useEffect(Q,X)}var y="__RC_SELECT_MAX_REST_COUNT__",O=function(X){var he=X.id,te=X.prefixCls,pe=X.values,Se=X.open,we=X.searchValue,We=X.inputRef,qe=X.placeholder,yt=X.disabled,_e=X.mode,je=X.showSearch,Ct=X.autoFocus,ct=X.autoComplete,nt=X.accessibilityIndex,bt=X.tabIndex,dt=X.removeIcon,vt=X.choiceTransitionName,Qe=X.maxTagCount,mt=X.maxTagTextLength,Pe=X.maxTagPlaceholder,De=Pe===void 0?function(Qt){return"+ ".concat(Qt.length," ...")}:Pe,Ie=X.tagRender,ot=X.onSelect,wt=X.onInputChange,Bt=X.onInputPaste,_t=X.onInputKeyDown,Ue=X.onInputMouseDown,zt=X.onInputCompositionStart,xt=X.onInputCompositionEnd,Pt=b.useState(!1),Ke=Object(p.a)(Pt,2),Ye=Ke[0],$e=Ke[1],ut=b.useRef(null),et=b.useState(0),oe=Object(p.a)(et,2),me=oe[0],it=oe[1];b.useEffect(function(){$e(!0)},[]);var Be=Se||_e==="tags"?we:"",ht=_e==="tags"||Se&&je;A(function(){it(ut.current.scrollWidth)},[Be]);var Mr=pe,Lt;typeof Qe=="number"&&(Lt=pe.length-Qe,Mr=pe.slice(0,Qe)),typeof mt=="number"&&(Mr=Mr.map(function(Qt){var qt=Qt.label,hr=Object(v.a)(Qt,["label"]),Gt=qt;if(typeof qt=="string"||typeof qt=="number"){var de=String(Gt);de.length>mt&&(Gt="".concat(de.slice(0,mt),"..."))}return Object(x.a)(Object(x.a)({},hr),{},{label:Gt})})),Lt>0&&Mr.push({key:y,label:typeof De=="function"?De(pe.slice(Qe)):De});var or=b.createElement(l.CSSMotionList,{component:!1,keys:Mr,motionName:vt,motionAppear:Ye},function(Qt){var qt=Qt.key,hr=Qt.label,Gt=Qt.value,de=Qt.disabled,ue=Qt.className,se=Qt.style,ae=qt||Gt,ye=qt!==y&&!de,Ce=function(xe){xe.preventDefault(),xe.stopPropagation()},Oe=function(xe){xe&&xe.stopPropagation(),ot(Gt,{selected:!1})};return typeof Ie=="function"?b.createElement("span",{key:ae,onMouseDown:Ce,className:ue,style:se},Ie({label:hr,value:Gt,disabled:de,closable:ye,onClose:Oe})):b.createElement("span",{key:ae,className:r()(ue,"".concat(te,"-selection-item"),Object(d.a)({},"".concat(te,"-selection-item-disabled"),de)),style:se},b.createElement("span",{className:"".concat(te,"-selection-item-content")},hr),ye&&b.createElement(n.a,{className:"".concat(te,"-selection-item-remove"),onMouseDown:Ce,onClick:Oe,customizeIcon:dt},"\xD7"))});return b.createElement(b.Fragment,null,or,b.createElement("span",{className:"".concat(te,"-selection-search"),style:{width:me}},b.createElement(o,{ref:We,open:Se,prefixCls:te,id:he,inputElement:null,disabled:yt,autoFocus:Ct,autoComplete:ct,editable:ht,accessibilityIndex:nt,value:Be,onKeyDown:_t,onMouseDown:Ue,onChange:wt,onPaste:Bt,onCompositionStart:zt,onCompositionEnd:xt,tabIndex:bt,attrs:Object(s.a)(X,!0)}),b.createElement("span",{ref:ut,className:"".concat(te,"-selection-search-mirror"),"aria-hidden":!0},Be,"\xA0")),!pe.length&&!Be&&b.createElement("span",{className:"".concat(te,"-selection-placeholder")},qe))},S=O,E=function(X){var he=X.inputElement,te=X.prefixCls,pe=X.id,Se=X.inputRef,we=X.disabled,We=X.autoFocus,qe=X.autoComplete,yt=X.accessibilityIndex,_e=X.mode,je=X.open,Ct=X.values,ct=X.placeholder,nt=X.tabIndex,bt=X.showSearch,dt=X.searchValue,vt=X.activeValue,Qe=X.onInputKeyDown,mt=X.onInputMouseDown,Pe=X.onInputChange,De=X.onInputPaste,Ie=X.onInputCompositionStart,ot=X.onInputCompositionEnd,wt=b.useState(!1),Bt=Object(p.a)(wt,2),_t=Bt[0],Ue=Bt[1],zt=_e==="combobox",xt=zt||bt&&je,Pt=Ct[0],Ke=dt||"";zt&&vt&&!_t&&(Ke=vt),b.useEffect(function(){zt&&Ue(!1)},[zt,vt]);var Ye=_e!=="combobox"&&!je?!1:!!Ke,$e=Pt&&(typeof Pt.label=="string"||typeof Pt.label=="number")?Pt.label.toString():void 0;return b.createElement(b.Fragment,null,b.createElement("span",{className:"".concat(te,"-selection-search")},b.createElement(o,{ref:Se,prefixCls:te,id:pe,open:je,inputElement:he,disabled:we,autoFocus:We,autoComplete:qe,editable:xt,accessibilityIndex:yt,value:Ke,onKeyDown:Qe,onMouseDown:mt,onChange:function(et){Ue(!0),Pe(et)},onPaste:De,onCompositionStart:Ie,onCompositionEnd:ot,tabIndex:nt,attrs:Object(s.a)(X,!0)})),!zt&&Pt&&!Ye&&b.createElement("span",{className:"".concat(te,"-selection-item"),title:$e},Pt.label),!Pt&&!Ye&&b.createElement("span",{className:"".concat(te,"-selection-placeholder")},ct))},C=E;function T(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,X=b.useRef(null),he=b.useRef(null);b.useEffect(function(){return function(){window.clearTimeout(he.current)}},[]);function te(pe){(pe||X.current===null)&&(X.current=pe),window.clearTimeout(he.current),he.current=window.setTimeout(function(){X.current=null},Q)}return[function(){return X.current},te]}var w=function(X,he){var te=Object(b.useRef)(null),pe=Object(b.useRef)(!1),Se=X.prefixCls,we=X.multiple,We=X.open,qe=X.mode,yt=X.showSearch,_e=X.tokenWithEnter,je=X.onSearch,Ct=X.onSearchSubmit,ct=X.onToggleOpen,nt=X.onInputKeyDown,bt=X.domRef;b.useImperativeHandle(he,function(){return{focus:function(){te.current.focus()},blur:function(){te.current.blur()}}});var dt=T(0),vt=Object(p.a)(dt,2),Qe=vt[0],mt=vt[1],Pe=function(Ye){var $e=Ye.which;($e===f.a.UP||$e===f.a.DOWN)&&Ye.preventDefault(),nt&&nt(Ye),$e===f.a.ENTER&&qe==="tags"&&!pe.current&&!We&&Ct(Ye.target.value),[f.a.SHIFT,f.a.TAB,f.a.BACKSPACE,f.a.ESC].includes($e)||ct(!0)},De=function(){mt(!0)},Ie=Object(b.useRef)(null),ot=function(Ye){je(Ye,!0,pe.current)!==!1&&ct(!0)},wt=function(){pe.current=!0},Bt=function(){pe.current=!1},_t=function(Ye){var $e=Ye.target.value;if(_e&&Ie.current&&/[\r\n]/.test(Ie.current)){var ut=Ie.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");$e=$e.replace(ut,Ie.current)}Ie.current=null,ot($e)},Ue=function(Ye){var $e=Ye.clipboardData,ut=$e.getData("text");Ie.current=ut},zt=function(Ye){var $e=Qe();if(Ye.target!==te.current){$e||Ye.preventDefault();var ut=document.body.style.msTouchAction!==void 0;ut?setTimeout(function(){te.current.focus()}):te.current.focus()}(qe!=="combobox"&&(!yt||!$e)||!We)&&(We&&je("",!0,!1),ct())},xt={inputRef:te,onInputKeyDown:Pe,onInputMouseDown:De,onInputChange:_t,onInputPaste:Ue,onInputCompositionStart:wt,onInputCompositionEnd:Bt},Pt=we?b.createElement(S,Object.assign({},X,xt)):b.createElement(C,Object.assign({},X,xt));return b.createElement("div",{ref:bt,className:"".concat(Se,"-selector"),onMouseDown:zt},Pt)},L=b.forwardRef(w);L.displayName="Selector";var N=L,D=e("uciX"),F=function(X){var he=typeof X!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:he,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:he,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:he,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:he,adjustY:1}}}},R=function(X,he){var te=X.prefixCls,pe=X.disabled,Se=X.visible,we=X.children,We=X.popupElement,qe=X.containerWidth,yt=X.animation,_e=X.transitionName,je=X.dropdownStyle,Ct=X.dropdownClassName,ct=X.direction,nt=ct===void 0?"ltr":ct,bt=X.dropdownMatchSelectWidth,dt=bt===void 0?!0:bt,vt=X.dropdownRender,Qe=X.dropdownAlign,mt=X.getPopupContainer,Pe=X.empty,De=X.getTriggerDOMNode,Ie=Object(v.a)(X,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),ot="".concat(te,"-dropdown"),wt=We;vt&&(wt=vt(We));var Bt=b.useMemo(function(){return F(dt)},[dt]),_t=yt?"".concat(ot,"-").concat(yt):_e,Ue=b.useRef(null);b.useImperativeHandle(he,function(){return{getPopupElement:function(){return Ue.current}}});var zt=Object(x.a)({minWidth:qe},je);return typeof dt=="number"?zt.width=dt:dt&&(zt.width=qe),b.createElement(D.a,Object.assign({},Ie,{showAction:[],hideAction:[],popupPlacement:nt==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:Bt,prefixCls:ot,popupTransitionName:_t,popup:b.createElement("div",{ref:Ue},wt),popupAlign:Qe,popupVisible:Se,getPopupContainer:mt,popupClassName:r()(Ct,Object(d.a)({},"".concat(ot,"-empty"),Pe)),popupStyle:zt,getTriggerDOMNode:De}),we)},U=b.forwardRef(R);U.displayName="SelectTrigger";var M=U,j=e("wPlo");function P(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,X=b.useState(!1),he=Object(p.a)(X,2),te=he[0],pe=he[1],Se=b.useRef(null),we=function(){window.clearTimeout(Se.current)};b.useEffect(function(){return we},[]);var We=function(yt,_e){we(),Se.current=window.setTimeout(function(){pe(yt),_e&&_e()},Q)};return[te,We,we]}var K=e("2Qr1");function H(Q,X,he){var te=b.useRef(null);te.current={elements:Q.filter(function(pe){return pe}),open:X,triggerOpen:he},b.useEffect(function(){function pe(Se){var we=Se.target;te.current.open&&te.current.elements.every(function(We){return!We.contains(we)&&We!==we})&&te.current.triggerOpen(!1)}return window.addEventListener("mousedown",pe),function(){return window.removeEventListener("mousedown",pe)}},[])}function _(Q){var X=b.useRef(Q),he=b.useMemo(function(){var te=new Map;X.current.forEach(function(Se){var we=Se.value,We=Se.label;we!==We&&te.set(we,We)});var pe=Q.map(function(Se){var we=te.get(Se.value);return Se.value===Se.label&&we?Object(x.a)(Object(x.a)({},Se),{},{label:we}):Se});return X.current=pe,pe},[Q]);return he}function Z(Q,X){var he=b.useRef(null),te=b.useMemo(function(){var Se=new Map;return X.forEach(function(we){var We=we.data.value;Se.set(We,we)}),Se},[Q,X]);he.current=te;var pe=function(we){return we.map(function(We){return he.current.get(We)}).filter(Boolean)};return pe}var Y=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function k(Q){var X=Q.prefixCls,he=Q.components.optionList,te=Q.convertChildrenToData,pe=Q.flattenOptions,Se=Q.getLabeledValue,we=Q.filterOptions,We=Q.isValueDisabled,qe=Q.findValueOption,yt=Q.warningProps,_e=Q.fillOptionsWithMissingValue,je=Q.omitDOMProps;function Ct(nt,bt){var dt,vt=nt.prefixCls,Qe=vt===void 0?X:vt,mt=nt.className,Pe=nt.id,De=nt.open,Ie=nt.defaultOpen,ot=nt.options,wt=nt.children,Bt=nt.mode,_t=nt.value,Ue=nt.defaultValue,zt=nt.labelInValue,xt=nt.showSearch,Pt=nt.inputValue,Ke=nt.searchValue,Ye=nt.filterOption,$e=nt.optionFilterProp,ut=$e===void 0?"value":$e,et=nt.autoClearSearchValue,oe=et===void 0?!0:et,me=nt.onSearch,it=nt.allowClear,Be=nt.clearIcon,ht=nt.showArrow,Mr=nt.inputIcon,Lt=nt.menuItemSelectedIcon,or=nt.disabled,Qt=nt.loading,qt=nt.defaultActiveFirstOption,hr=nt.notFoundContent,Gt=hr===void 0?"Not Found":hr,de=nt.optionLabelProp,ue=nt.backfill,se=nt.getInputElement,ae=nt.getPopupContainer,ye=nt.listHeight,Ce=ye===void 0?200:ye,Oe=nt.listItemHeight,Te=Oe===void 0?20:Oe,xe=nt.animation,ke=nt.transitionName,lt=nt.virtual,At=nt.dropdownStyle,ee=nt.dropdownClassName,ie=nt.dropdownMatchSelectWidth,z=nt.dropdownRender,$=nt.dropdownAlign,le=nt.showAction,ge=le===void 0?[]:le,Ae=nt.direction,Me=nt.tokenSeparators,Ze=nt.tagRender,kt=nt.onPopupScroll,Jt=nt.onDropdownVisibleChange,Et=nt.onFocus,Ft=nt.onBlur,Kt=nt.onKeyUp,Vt=nt.onKeyDown,Ot=nt.onMouseDown,ur=nt.onChange,Zt=nt.onSelect,ze=nt.onDeselect,at=nt.onClear,Ve=nt.internalProps,Xe=Ve===void 0?{}:Ve,gt=Object(v.a)(nt,["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"]),ft=Xe.mark===j.a,Ge=je?je(gt):gt;Y.forEach(function(Mn){delete Ge[Mn]});var Mt=Object(b.useRef)(null),It=Object(b.useRef)(null),rr=Object(b.useRef)(null),Ht=Object(b.useRef)(null),pr=Object(b.useMemo)(function(){return(Me||[]).some(function(Mn){return[`
|
|
|
`,`\r
|
|
|
`].includes(Mn)})},[Me]),Ar=P(),Nr=Object(p.a)(Ar,3),Fr=Nr[0],tn=Nr[1],Jr=Nr[2],Lr=Object(b.useState)(),Xr=Object(p.a)(Lr,2),Tr=Xr[0],lr=Xr[1];Object(b.useEffect)(function(){lr("rc_select_".concat(Object(h.a)()))},[]);var fr=Pe||Tr,sr=de;sr===void 0&&(sr=ot?"label":"children");var dr=Bt==="combobox"?!1:zt,Sr=Bt==="tags"||Bt==="multiple",Qr=xt!==void 0?xt:Sr||Bt==="combobox",cn=Object(b.useRef)(null);b.useImperativeHandle(bt,function(){return{focus:rr.current.focus,blur:rr.current.blur}});var Dn=Object(a.a)(Ue,{value:_t}),jr=Object(p.a)(Dn,2),Ln=jr[0],gn=jr[1],Un=Object(b.useMemo)(function(){return Object(h.e)(Ln,{labelInValue:dr,combobox:Bt==="combobox"})},[Ln,dr]),Wn=Object(b.useMemo)(function(){return new Set(Un)},[Un]),Jn=Object(b.useState)(null),Qn=Object(p.a)(Jn,2),Vn=Qn[0],yn=Qn[1],on=Object(b.useState)(""),ia=Object(p.a)(on,2),xa=ia[0],ta=ia[1],Ni=xa;Bt==="combobox"&&Ln!==void 0?Ni=Ln:Ke!==void 0?Ni=Ke:Pt&&(Ni=Pt);var Ci=Object(b.useMemo)(function(){var Mn=ot;return Mn===void 0&&(Mn=te(wt)),Bt==="tags"&&_e&&(Mn=_e(Mn,Ln,sr,zt)),Mn||[]},[ot,wt,Bt,Ln]),Gn=Object(b.useMemo)(function(){return pe(Ci,nt)},[Ci]),Ia=Z(Un,Gn),mn=Object(b.useMemo)(function(){if(!Ni||!Qr)return Object(g.a)(Ci);var Mn=we(Ni,Ci,{optionFilterProp:ut,filterOption:Bt==="combobox"&&Ye===void 0?function(){return!0}:Ye});return Bt==="tags"&&Mn.every(function(En){return En[ut]!==Ni})&&Mn.unshift({value:Ni,label:Ni,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Mn},[Ci,Ni,Bt,Qr]),In=Object(b.useMemo)(function(){return pe(mn,nt)},[mn]);Object(b.useEffect)(function(){Ht.current&&Ht.current.scrollTo&&Ht.current.scrollTo(0)},[Ni]);var On=Object(b.useMemo)(function(){var Mn=Un.map(function(En){var Tn=Ia([En]),Yn=Se(En,{options:Tn,prevValue:Ln,labelInValue:dr,optionLabelProp:sr});return Object(x.a)(Object(x.a)({},Yn),{},{disabled:We(En,Tn)})});return!Bt&&Mn.length===1&&Mn[0].value===null&&Mn[0].label===null?[]:Mn},[Ln,Ci,Bt]);On=_(On);var Nn=function(En,Tn,Yn){var ai=Ia([En]),ri=qe([En],ai)[0];if(!Xe.skipTriggerSelect){var Ri=dr?Se(En,{options:ai,prevValue:Ln,labelInValue:dr,optionLabelProp:sr}):En;Tn&&Zt?Zt(Ri,ri):!Tn&&ze&&ze(Ri,ri)}ft&&(Tn&&Xe.onRawSelect?Xe.onRawSelect(En,ri,Yn):!Tn&&Xe.onRawDeselect&&Xe.onRawDeselect(En,ri,Yn))},jn=Object(b.useState)([]),ni=Object(p.a)(jn,2),di=ni[0],Da=ni[1],Xi=function(En){if(ft&&Xe.skipTriggerChange)return;var Tn=Ia(En),Yn=Object(h.f)(Array.from(En),{labelInValue:dr,options:Tn,getLabeledValue:Se,prevValue:Ln,optionLabelProp:sr}),ai=Sr?Yn:Yn[0];if(ur&&(Un.length!==0||Yn.length!==0)){var ri=qe(En,Tn,{prevValueOptions:di});Da(ri.map(function(Ri,Ai){var xi=Object(x.a)({},Ri);return Object.defineProperty(xi,"_INTERNAL_OPTION_VALUE_",{get:function(){return En[Ai]}}),xi})),ur(ai,Sr?ri:ri[0])}gn(ai)},ma=function(En,Tn){var Yn=Tn.selected,ai=Tn.source;if(or)return;var ri;Sr?(ri=new Set(Un),Yn?ri.add(En):ri.delete(En)):(ri=new Set,ri.add(En)),(Sr||!Sr&&Array.from(Un)[0]!==En)&&Xi(Array.from(ri)),Nn(En,!Sr||Yn,ai),Bt==="combobox"?(ta(String(En)),yn("")):(!Sr||oe)&&(ta(""),yn(""))},ka=function(En,Tn){ma(En,Object(x.a)(Object(x.a)({},Tn),{},{source:"option"}))},Xa=function(En,Tn){ma(En,Object(x.a)(Object(x.a)({},Tn),{},{source:"selection"}))},Ki=Bt==="combobox"&&se&&se()||null,Co=Object(a.a)(void 0,{defaultValue:Ie,value:De}),aa=Object(p.a)(Co,2),Hi=aa[0],ga=aa[1],ha=Hi,mo=!Gt&&!mn.length;(or||mo&&ha&&Bt==="combobox")&&(ha=!1);var Pn=mo?!1:ha,qi=function(En){var Tn=En!==void 0?En:!ha;Hi!==Tn&&!or&&(ga(Tn),Jt&&Jt(Tn))};H([Mt.current,It.current&&It.current.getPopupElement()],Pn,qi);var eo=function(En,Tn,Yn){var ai=!0,ri=En;yn(null);var Ri=Yn?null:Object(K.f)(En,Me),Ai=Ri;if(Bt==="combobox")Tn&&Xi([ri]);else if(Ri){ri="",Bt!=="tags"&&(Ai=Ri.map(function(Oi){var _n=Gn.find(function(Mi){var fa=Mi.data;return fa[sr]===Oi});return _n?_n.data.value:null}).filter(function(Oi){return Oi!==null}));var xi=Array.from(new Set([].concat(Object(g.a)(Un),Object(g.a)(Ai))));Xi(xi),xi.forEach(function(Oi){Nn(Oi,!0,"input")}),qi(!1),ai=!1}return ta(ri),me&&Ni!==ri&&me(ri),ai},Lo=function(En){var Tn=Array.from(new Set([].concat(Object(g.a)(Un),[En])));Xi(Tn),Tn.forEach(function(Yn){Nn(Yn,!0,"input")}),ta("")};Object(b.useEffect)(function(){Hi&&!!or&&ga(!1)},[or]),Object(b.useEffect)(function(){!ha&&!Sr&&Bt!=="combobox"&&eo("",!1,!1)},[ha]);var co=T(),er=Object(p.a)(co,2),Cr=er[0],Ur=er[1],Kr=function(En){var Tn=Cr(),Yn=En.which;if(!ha&&Yn===f.a.ENTER&&qi(!0),Ur(!!Ni),Yn===f.a.BACKSPACE&&!Tn&&Sr&&!Ni&&Un.length){var ai=Object(h.c)(On,Un);ai.removedValue!==null&&(Xi(ai.values),Nn(ai.removedValue,!1,"input"))}for(var ri=arguments.length,Ri=new Array(ri>1?ri-1:0),Ai=1;Ai<ri;Ai++)Ri[Ai-1]=arguments[Ai];if(ha&&Ht.current){var xi;(xi=Ht.current).onKeyDown.apply(xi,[En].concat(Ri))}Vt&&Vt.apply(void 0,[En].concat(Ri))},hn=function(En){for(var Tn=arguments.length,Yn=new Array(Tn>1?Tn-1:0),ai=1;ai<Tn;ai++)Yn[ai-1]=arguments[ai];if(ha&&Ht.current){var ri;(ri=Ht.current).onKeyUp.apply(ri,[En].concat(Yn))}Kt&&Kt.apply(void 0,[En].concat(Yn))},Fe=Object(b.useRef)(!1),Rt=function(){tn(!0),or||(Et&&!Fe.current&&Et.apply(void 0,arguments),ge.includes("focus")&&qi(!0)),Fe.current=!0},Xt=function(){if(tn(!1,function(){Fe.current=!1,qi(!1)}),or)return;Ni&&(Bt==="tags"?(eo("",!1,!1),Xi(Array.from(new Set([].concat(Object(g.a)(Un),[Ni]))))):Bt==="multiple"&&ta("")),Ft&&Ft.apply(void 0,arguments)},tr=[];Object(b.useEffect)(function(){return function(){tr.forEach(function(Mn){return clearTimeout(Mn)}),tr.splice(0,tr.length)}},[]);var Or=function(En){var Tn=En.target,Yn=It.current&&It.current.getPopupElement();if(Yn&&Yn.contains(Tn)){var ai=setTimeout(function(){var xi=tr.indexOf(ai);xi!==-1&&tr.splice(xi,1),Jr(),Yn.contains(document.activeElement)||rr.current.focus()});tr.push(ai)}if(Ot){for(var ri=arguments.length,Ri=new Array(ri>1?ri-1:0),Ai=1;Ai<ri;Ai++)Ri[Ai-1]=arguments[Ai];Ot.apply(void 0,[En].concat(Ri))}},br=Object(b.useState)(0),xr=Object(p.a)(br,2),Wr=xr[0],Zr=xr[1],$r=qt!==void 0?qt:Bt!=="combobox",an=function(En,Tn){Zr(Tn),ue&&Bt==="combobox"&&En!==null&&yn(String(En))},rt=Object(b.useState)(null),jt=Object(p.a)(rt,2),ir=jt[0],yr=jt[1],Br=Object(b.useState)({}),Dr=Object(p.a)(Br,2),rn=Dr[1];function fn(){rn({})}A(function(){if(Pn){var Mn=Math.ceil(Mt.current.offsetWidth);ir!==Mn&&yr(Mn)}},[Pn]);var wn=b.createElement(he,{ref:Ht,prefixCls:Qe,id:fr,open:ha,childrenAsData:!ot,options:mn,flattenOptions:In,multiple:Sr,values:Wn,height:Ce,itemHeight:Te,onSelect:ka,onToggleOpen:qi,onActiveValue:an,defaultActiveFirstOption:$r,notFoundContent:Gt,onScroll:kt,searchValue:Ni,menuItemSelectedIcon:Lt,virtual:lt!==!1&&ie!==!1,onMouseEnter:fn}),Hn,Sn=function(){ft&&Xe.onClear&&Xe.onClear(),at&&at(),Xi([]),eo("",!1,!1)};!or&&it&&(Un.length||Ni)&&(Hn=b.createElement(n.a,{className:"".concat(Qe,"-clear"),onMouseDown:Sn,customizeIcon:Be},"\xD7"));var bn=ht!==void 0?ht:Qt||!Sr&&Bt!=="combobox",Bn;bn&&(Bn=b.createElement(n.a,{className:r()("".concat(Qe,"-arrow"),Object(d.a)({},"".concat(Qe,"-arrow-loading"),Qt)),customizeIcon:Mr,customizeIconProps:{loading:Qt,searchValue:Ni,open:ha,focused:Fr,showSearch:Qr}}));var vn=r()(Qe,mt,(dt={},Object(d.a)(dt,"".concat(Qe,"-focused"),Fr),Object(d.a)(dt,"".concat(Qe,"-multiple"),Sr),Object(d.a)(dt,"".concat(Qe,"-single"),!Sr),Object(d.a)(dt,"".concat(Qe,"-allow-clear"),it),Object(d.a)(dt,"".concat(Qe,"-show-arrow"),bn),Object(d.a)(dt,"".concat(Qe,"-disabled"),or),Object(d.a)(dt,"".concat(Qe,"-loading"),Qt),Object(d.a)(dt,"".concat(Qe,"-open"),ha),Object(d.a)(dt,"".concat(Qe,"-customize-input"),Ki),Object(d.a)(dt,"".concat(Qe,"-show-search"),Qr),dt));return b.createElement("div",Object.assign({className:vn},Ge,{ref:Mt,onMouseDown:Or,onKeyDown:Kr,onKeyUp:hn,onFocus:Rt,onBlur:Xt}),Fr&&!ha&&b.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Un.join(", "))),b.createElement(M,{ref:It,disabled:or,prefixCls:Qe,visible:Pn,popupElement:wn,containerWidth:ir,animation:xe,transitionName:ke,dropdownStyle:At,dropdownClassName:ee,direction:Ae,dropdownMatchSelectWidth:ie,dropdownRender:z,dropdownAlign:$,getPopupContainer:ae,empty:!Ci.length,getTriggerDOMNode:function(){return cn.current}},b.createElement(N,Object.assign({},nt,{domRef:cn,prefixCls:Qe,inputElement:Ki,ref:rr,id:fr,showSearch:Qr,mode:Bt,accessibilityIndex:Wr,multiple:Sr,tagRender:Ze,values:On,open:ha,onToggleOpen:qi,searchValue:Ni,activeValue:Vn,onSearch:eo,onSearchSubmit:Lo,onSelect:Xa,tokenWithEnter:pr}))),Bn,Hn)}var ct=b.forwardRef(Ct);return ct}},qPY4:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("u4NN"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},qWUW:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("DL4k")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="CaretDownOutlined";var f=g.forwardRef(b);B.default=f},qWt2:function(J,B,e){var d=e("ProS"),x=d.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});J.exports=x},qZFw:function(J,B,e){var d=e("bYtY"),x=e("6GrX"),g=e("hM6l"),p=e("4NO4"),v=p.makeInner,b=v();function f(r,a){a=a||[0,360],g.call(this,"angle",r,a),this.type="category"}f.prototype={constructor:f,pointToData:function(r,a){return this.polar.pointToData(r,a)[this.dim==="radius"?0:1]},dataToAngle:g.prototype.dataToCoord,angleToData:g.prototype.coordToData,calculateCategoryInterval:function(){var r=this,a=r.getLabelModel(),s=r.scale,l=s.getExtent(),n=s.count();if(l[1]-l[0]<1)return 0;var u=l[0],t=r.dataToCoord(u+1)-r.dataToCoord(u),c=Math.abs(t),o=x.getBoundingRect(u,a.getFont(),"center","top"),h=Math.max(o.height,7),A=h/c;isNaN(A)&&(A=Infinity);var y=Math.max(0,Math.floor(A)),O=b(r.model),S=O.lastAutoInterval,E=O.lastTickCount;return S!=null&&E!=null&&Math.abs(S-y)<=1&&Math.abs(E-n)<=1&&S>y?y=S:(O.lastTickCount=n,O.lastAutoInterval=y),y}},d.inherits(f,g);var i=f;J.exports=i},qZTm:function(J,B,e){var d=e("fR/l"),x=e("MvSz"),g=e("7GkX");function p(v){return d(v,g,x)}J.exports=p},qgGe:function(J,B,e){var d=e("bYtY"),x=e("T4UG"),g=e("Bsck"),p=e("VaxA"),v=p.wrapTreePathInfo,b=x.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(i,r){var a={name:i.name,children:i.data};f(a);var s=i.levels||[],l={};return l.levels=s,g.createTree(a,this,l).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(i){var r=x.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(i);return r.treePathInfo=v(a,this),r},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(i){i?this._viewRoot=i:i=this._viewRoot;var r=this.getRawData().tree.root;(!i||i!==r&&!r.contains(i))&&(this._viewRoot=r)}});function f(i){var r=0;d.each(i.children,function(s){f(s);var l=s.value;d.isArray(l)&&(l=l[0]),r+=l});var a=i.value;d.isArray(a)&&(a=a[0]),(a==null||isNaN(a))&&(a=r),a<0&&(a=0),d.isArray(i.value)?i.value[0]=a:i.value=a}J.exports=b},qj72:function(J,B,e){var d=e("bYtY");function x(p,v){return v=v||[0,0],d.map(["x","y"],function(b,f){var i=this.getAxis(b),r=v[f],a=p[f]/2;return i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(r-a)-i.dataToCoord(r+a))},this)}function g(p){var v=p.grid.getRect();return{coordSys:{type:"cartesian2d",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(b){return p.dataToPoint(b)},size:d.bind(x,p)}}}J.exports=g},qrJ5:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("cDf5"),b=e.n(v),f=e("J4zp"),i=e.n(f),r=e("q1tI"),a=e.n(r),s=e("TSYQ"),l=e.n(s),n=e("H84U"),u=e("o/2+"),t=e("CWQg"),c=e("ACnJ"),o=function(O,S){var E={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&S.indexOf(C)<0&&(E[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,C=Object.getOwnPropertySymbols(O);T<C.length;T++)S.indexOf(C[T])<0&&Object.prototype.propertyIsEnumerable.call(O,C[T])&&(E[C[T]]=O[C[T]]);return E},h=Object(t.a)("top","middle","bottom","stretch"),A=Object(t.a)("start","end","center","space-around","space-between"),y=r.forwardRef(function(O,S){var E=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),C=i()(E,2),T=C[0],w=C[1],L=r.useRef();L.current=O.gutter,r.useEffect(function(){var F=c.a.subscribe(function(R){var U=L.current||0;(!Array.isArray(U)&&b()(U)==="object"||Array.isArray(U)&&(b()(U[0])==="object"||b()(U[1])==="object"))&&w(R)});return function(){c.a.unsubscribe(F)}},[]);var N=function(){var R=[0,0],U=O.gutter,M=U===void 0?0:U,j=Array.isArray(M)?M:[M,0];return j.forEach(function(P,K){if(b()(P)==="object")for(var H=0;H<c.b.length;H++){var _=c.b[H];if(T[_]&&P[_]!==void 0){R[K]=P[_];break}}else R[K]=P||0}),R},D=function(R){var U,M=R.getPrefixCls,j=R.direction,P=O.prefixCls,K=O.justify,H=O.align,_=O.className,Z=O.style,Y=O.children,k=o(O,["prefixCls","justify","align","className","style","children"]),Q=M("row",P),X=N(),he=l()(Q,(U={},p()(U,"".concat(Q,"-").concat(K),K),p()(U,"".concat(Q,"-").concat(H),H),p()(U,"".concat(Q,"-rtl"),j==="rtl"),U),_),te=x()(x()(x()({},X[0]>0?{marginLeft:X[0]/-2,marginRight:X[0]/-2}:{}),X[1]>0?{marginTop:X[1]/-2,marginBottom:X[1]/2}:{}),Z),pe=x()({},k);return delete pe.gutter,r.createElement(u.a.Provider,{value:{gutter:X}},r.createElement("div",x()({},pe,{className:he,style:te,ref:S}),Y))};return r.createElement(n.a,null,D)});y.displayName="Row",B.a=y},"qt/9":function(J,B,e){var d=e("ProS"),x=e("bYtY");e("Wqna"),e("1tlw"),e("Mylv");var g=e("nVfU"),p=g.layout,v=e("f5Yq");e("Ae16"),d.registerLayout(x.curry(p,"pictorialBar")),d.registerVisual(v("pictorialBar","roundRect"))},quyA:function(J,B){var e="\\ud800-\\udfff",d="\\u0300-\\u036f",x="\\ufe20-\\ufe2f",g="\\u20d0-\\u20ff",p=d+x+g,v="\\ufe0e\\ufe0f",b="\\u200d",f=RegExp("["+b+e+p+v+"]");function i(r){return f.test(r)}J.exports=i},qwVE:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("K4ya"),p=e("XxSj"),v=d.PRIORITY.VISUAL.COMPONENT;d.registerVisual(v,{createOnAllSeries:!0,reset:function(f,i){var r=[];return i.eachComponent("visualMap",function(a){var s=f.pipelineContext;if(!a.isTargetSeries(f)||s&&s.large)return;r.push(g.incrementalApplyVisual(a.stateList,a.targetVisuals,x.bind(a.getValueState,a),a.getDataDimension(f.getData())))}),r}}),d.registerVisual(v,{createOnAllSeries:!0,reset:function(f,i){var r=f.getData(),a=[];i.eachComponent("visualMap",function(s){if(s.isTargetSeries(f)){var l=s.getVisualMeta(x.bind(b,null,f,s))||{stops:[],outerColors:[]},n=s.getDataDimension(r),u=r.getDimensionInfo(n);u!=null&&(l.dimension=u.index,a.push(l))}}),f.getData().setVisual("visualMeta",a)}});function b(f,i,r,a){for(var s=i.targetVisuals[a],l=p.prepareVisualTypes(s),n={color:f.getData().getVisual("color")},u=0,t=l.length;u<t;u++){var c=l[u],o=s[c==="opacity"?"__alphaForOpacity":c];o&&o.applyVisual(r,h,A)}return n.color;function h(y){return n[y]}function A(y,O){n[y]=O}}},"r+aA":function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("s2MQ")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="EyeInvisibleOutlined";var f=g.forwardRef(b);B.default=f},"r/2G":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("+Zaj"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},r6Bn:function(J,B,e){var d=e("bYtY"),x=e("ItGF"),g=e("4fz+"),p=e("BPZU");function v(i,r){return i.zlevel===r.zlevel?i.z===r.z?i.z2-r.z2:i.z-r.z:i.zlevel-r.zlevel}var b=function(){this._roots=[],this._displayList=[],this._displayListLen=0};b.prototype={constructor:b,traverse:function(r,a){for(var s=0;s<this._roots.length;s++)this._roots[s].traverse(r,a)},getDisplayList:function(r,a){return a=a||!1,r&&this.updateDisplayList(a),this._displayList},updateDisplayList:function(r){this._displayListLen=0;for(var a=this._roots,s=this._displayList,l=0,n=a.length;l<n;l++)this._updateAndAddDisplayable(a[l],null,r);s.length=this._displayListLen,x.canvasSupported&&p(s,v)},_updateAndAddDisplayable:function(r,a,s){if(r.ignore&&!s)return;r.beforeUpdate(),r.__dirty&&r.update(),r.afterUpdate();var l=r.clipPath;if(l){a?a=a.slice():a=[];for(var n=l,u=r;n;)n.parent=u,n.updateTransform(),a.push(n),u=n,n=n.clipPath}if(r.isGroup){for(var t=r._children,c=0;c<t.length;c++){var o=t[c];r.__dirty&&(o.__dirty=!0),this._updateAndAddDisplayable(o,a,s)}r.__dirty=!1}else r.__clipPaths=a,this._displayList[this._displayListLen++]=r},addRoot:function(r){if(r.__storage===this)return;r instanceof g&&r.addChildrenToStorage(this),this.addToStorage(r),this._roots.push(r)},delRoot:function(r){if(r==null){for(var a=0;a<this._roots.length;a++){var s=this._roots[a];s instanceof g&&s.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(r instanceof Array){for(var a=0,l=r.length;a<l;a++)this.delRoot(r[a]);return}var n=d.indexOf(this._roots,r);n>=0&&(this.delFromStorage(r),this._roots.splice(n,1),r instanceof g&&r.delChildrenFromStorage(this))},addToStorage:function(r){return r&&(r.__storage=this,r.dirty(!1)),this},delFromStorage:function(r){return r&&(r.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:v};var f=b;J.exports=f},rA99:function(J,B,e){var d=e("y+Vt"),x=e("QBsz"),g=e("Sj9i"),p=g.quadraticSubdivide,v=g.cubicSubdivide,b=g.quadraticAt,f=g.cubicAt,i=g.quadraticDerivativeAt,r=g.cubicDerivativeAt,a=[];function s(n,u,t){var c=n.cpx2,o=n.cpy2;return c===null||o===null?[(t?r:f)(n.x1,n.cpx1,n.cpx2,n.x2,u),(t?r:f)(n.y1,n.cpy1,n.cpy2,n.y2,u)]:[(t?i:b)(n.x1,n.cpx1,n.x2,u),(t?i:b)(n.y1,n.cpy1,n.y2,u)]}var l=d.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(u,t){var c=t.x1,o=t.y1,h=t.x2,A=t.y2,y=t.cpx1,O=t.cpy1,S=t.cpx2,E=t.cpy2,C=t.percent;if(C===0)return;u.moveTo(c,o),S==null||E==null?(C<1&&(p(c,y,h,C,a),y=a[1],h=a[2],p(o,O,A,C,a),O=a[1],A=a[2]),u.quadraticCurveTo(y,O,h,A)):(C<1&&(v(c,y,S,h,C,a),y=a[1],S=a[2],h=a[3],v(o,O,E,A,C,a),O=a[1],E=a[2],A=a[3]),u.bezierCurveTo(y,O,S,E,h,A))},pointAt:function(u){return s(this.shape,u,!1)},tangentAt:function(u){var t=s(this.shape,u,!0);return x.normalize(t,t)}});J.exports=l},"rAM+":function(J,B,e){"use strict";e.d(B,"a",function(){return x});var d=e("Qw5x");function x(g,p){var v;if(typeof Symbol=="undefined"||g[Symbol.iterator]==null){if(Array.isArray(g)||(v=Object(d.a)(g))||p&&g&&typeof g.length=="number"){v&&(g=v);var b=0,f=function(){};return{s:f,n:function(){return b>=g.length?{done:!0}:{done:!1,value:g[b++]}},e:function(l){throw l},f}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,r=!1,a;return{s:function(){v=g[Symbol.iterator]()},n:function(){var l=v.next();return i=l.done,l},e:function(l){r=!0,a=l},f:function(){try{!i&&v.return!=null&&v.return()}finally{if(r)throw a}}}}},rEGp:function(J,B){function e(d){var x=-1,g=Array(d.size);return d.forEach(function(p){g[++x]=p}),g}J.exports=e},rHrb:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.CopyToClipboard=void 0;var d=g(e("q1tI")),x=g(e("+QRC"));function g(A){return A&&A.__esModule?A:{default:A}}function p(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p=function(O){return typeof O}:p=function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},p(A)}function v(A,y){var O=Object.keys(A);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(A);y&&(S=S.filter(function(E){return Object.getOwnPropertyDescriptor(A,E).enumerable})),O.push.apply(O,S)}return O}function b(A){for(var y=1;y<arguments.length;y++){var O=arguments[y]!=null?arguments[y]:{};y%2?v(O,!0).forEach(function(S){o(A,S,O[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(O)):v(O).forEach(function(S){Object.defineProperty(A,S,Object.getOwnPropertyDescriptor(O,S))})}return A}function f(A,y){if(A==null)return{};var O=i(A,y),S,E;if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(A);for(E=0;E<C.length;E++){if(S=C[E],y.indexOf(S)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(A,S))continue;O[S]=A[S]}}return O}function i(A,y){if(A==null)return{};var O={},S=Object.keys(A),E,C;for(C=0;C<S.length;C++){if(E=S[C],y.indexOf(E)>=0)continue;O[E]=A[E]}return O}function r(A,y){if(!(A instanceof y))throw new TypeError("Cannot call a class as a function")}function a(A,y){for(var O=0;O<y.length;O++){var S=y[O];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(A,S.key,S)}}function s(A,y,O){return y&&a(A.prototype,y),O&&a(A,O),A}function l(A,y){return y&&(p(y)==="object"||typeof y=="function")?y:u(A)}function n(A){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},n(A)}function u(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function t(A,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(y&&y.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),y&&c(A,y)}function c(A,y){return c=Object.setPrototypeOf||function(S,E){return S.__proto__=E,S},c(A,y)}function o(A,y,O){return y in A?Object.defineProperty(A,y,{value:O,enumerable:!0,configurable:!0,writable:!0}):A[y]=O,A}var h=function(A){t(y,A);function y(){var O,S;r(this,y);for(var E=arguments.length,C=new Array(E),T=0;T<E;T++)C[T]=arguments[T];return S=l(this,(O=n(y)).call.apply(O,[this].concat(C))),o(u(S),"onClick",function(w){var L=S.props,N=L.text,D=L.onCopy,F=L.children,R=L.options,U=d.default.Children.only(F),M=(0,x.default)(N,R);D&&D(N,M),U&&U.props&&typeof U.props.onClick=="function"&&U.props.onClick(w)}),S}return s(y,[{key:"render",value:function(){var S=this.props,E=S.text,C=S.onCopy,T=S.options,w=S.children,L=f(S,["text","onCopy","options","children"]),N=d.default.Children.only(w);return d.default.cloneElement(N,b({},L,{onClick:this.onClick}))}}]),y}(d.default.PureComponent);B.CopyToClipboard=h,o(h,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="ReloadOutlined";var b=B.a=d.forwardRef(v)},rUJ1:function(J,B){var e=/[&<>"']/,d=/[&<>"']/g,x=/[<>"']|&(?!#?\w+;)/,g=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},v=function(w){return p[w]};function b(T,w){if(w){if(e.test(T))return T.replace(d,v)}else if(x.test(T))return T.replace(g,v);return T}var f=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function i(T){return T.replace(f,function(w,L){return L=L.toLowerCase(),L==="colon"?":":L.charAt(0)==="#"?L.charAt(1)==="x"?String.fromCharCode(parseInt(L.substring(2),16)):String.fromCharCode(+L.substring(1)):""})}var r=/(^|[^\[])\^/g;function a(T,w){T=T.source||T,w=w||"";var L={replace:function(D,F){return F=F.source||F,F=F.replace(r,"$1"),T=T.replace(D,F),L},getRegex:function(){return new RegExp(T,w)}};return L}var s=/[^\w:]/g,l=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function n(T,w,L){if(T){var N;try{N=decodeURIComponent(i(L)).replace(s,"").toLowerCase()}catch(D){return null}if(N.indexOf("javascript:")===0||N.indexOf("vbscript:")===0||N.indexOf("data:")===0)return null}w&&!l.test(L)&&(L=h(w,L));try{L=encodeURI(L).replace(/%25/g,"%")}catch(D){return null}return L}var u={},t=/^[^:]+:\/*[^/]*$/,c=/^([^:]+:)[\s\S]*$/,o=/^([^:]+:\/*[^/]*)[\s\S]*$/;function h(T,w){u[" "+T]||(t.test(T)?u[" "+T]=T+"/":u[" "+T]=S(T,"/",!0)),T=u[" "+T];var L=T.indexOf(":")===-1;return w.substring(0,2)==="//"?L?w:T.replace(c,"$1")+w:w.charAt(0)==="/"?L?w:T.replace(o,"$1")+w:T+w}var A={exec:function(){}};function y(T){for(var w=1,L,N;w<arguments.length;w++){L=arguments[w];for(N in L)Object.prototype.hasOwnProperty.call(L,N)&&(T[N]=L[N])}return T}function O(T,w){var L=T.replace(/\|/g,function(F,R,U){for(var M=!1,j=R;--j>=0&&U[j]==="\\";)M=!M;return M?"|":" |"}),N=L.split(/ \|/),D=0;if(N.length>w)N.splice(w);else for(;N.length<w;)N.push("");for(;D<N.length;D++)N[D]=N[D].trim().replace(/\\\|/g,"|");return N}function S(T,w,L){var N=T.length;if(N===0)return"";for(var D=0;D<N;){var F=T.charAt(N-D-1);if(F===w&&!L)D++;else if(F!==w&&L)D++;else break}return T.substr(0,N-D)}function E(T,w){if(T.indexOf(w[1])===-1)return-1;for(var L=T.length,N=0,D=0;D<L;D++)if(T[D]==="\\")D++;else if(T[D]===w[0])N++;else if(T[D]===w[1]&&(N--,N<0))return D;return-1}function C(T){T&&T.sanitize&&!T.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}J.exports={escape:b,unescape:i,edit:a,cleanUrl:n,resolveUrl:h,noopTest:A,merge:y,splitCells:O,rtrim:S,findClosingBracket:E,checkSanitizeDeprecation:C}},rdUC:function(J,B,e){var d=e("MFOe"),x=d.Global;J.exports={name:"localStorage",read:p,write:v,each:b,remove:f,clearAll:i};function g(){return x.localStorage}function p(r){return g().getItem(r)}function v(r,a){return g().setItem(r,a)}function b(r){for(var a=g().length-1;a>=0;a--){var s=g().key(a);r(p(s),s)}}function f(r){return g().removeItem(r)}function i(){return g().clear()}},rdor:function(J,B,e){var d=e("lOQZ"),x=d.circularLayout;function g(p){p.eachSeriesByType("graph",function(v){v.get("layout")==="circular"&&x(v,"symbolSize")})}J.exports=g},rfSb:function(J,B,e){var d=e("T4UG"),x=e("sdST"),g=e("L0Ub"),p=g.getDimensionTypeByAxis,v=e("YXkt"),b=e("bYtY"),f=e("4NO4"),i=f.groupData,r=e("7aKB"),a=r.encodeHTML,s=e("xKMd"),l=2,n=d.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new s(b.bind(this.getData,this),b.bind(this.getRawData,this))},fixData:function(t){var c=t.length,o=i(t,function(U){return U[2]}),h=[];o.buckets.each(function(U,M){h.push({name:M,dataList:U})});for(var A=h.length,y=-1,O=-1,S=0;S<A;++S){var E=h[S].dataList.length;E>y&&(y=E,O=S)}for(var C=0;C<A;++C){if(C===O)continue;for(var T=h[C].name,w=0;w<y;++w){for(var L=h[O].dataList[w][0],N=h[C].dataList.length,D=-1,F=0;F<N;++F){var R=h[C].dataList[F][0];if(R===L){D=F;break}}D===-1&&(t[c]=[],t[c][0]=L,t[c][1]=0,t[c][2]=T,c++)}}return t},getInitialData:function(t,c){for(var o=c.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],h=o.get("type"),A=b.filter(t.data,function(L){return L[2]!==void 0}),y=this.fixData(A||[]),O=[],S=this.nameMap=b.createHashMap(),E=0,C=0;C<y.length;++C)O.push(y[C][l]),S.get(y[C][l])||(S.set(y[C][l],E),E++);var T=x(y,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:p(h)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),w=new v(T,this);return w.initData(y),w},getLayerSeries:function(){for(var t=this.getData(),c=t.count(),o=[],h=0;h<c;++h)o[h]=h;var A=t.mapDimension("single"),y=i(o,function(S){return t.get("name",S)}),O=[];return y.buckets.each(function(S,E){S.sort(function(C,T){return t.get(A,C)-t.get(A,T)}),O.push({name:E,indices:S})}),O},getAxisTooltipData:function(t,c,o){b.isArray(t)||(t=t?[t]:[]);for(var h=this.getData(),A=this.getLayerSeries(),y=[],O=A.length,S,E=0;E<O;++E){for(var C=Number.MAX_VALUE,T=-1,w=A[E].indices.length,L=0;L<w;++L){var N=h.get(t[0],A[E].indices[L]),D=Math.abs(N-c);D<=C&&(S=N,C=D,T=A[E].indices[L])}y.push(T)}return{dataIndices:y,nestestValue:S}},formatTooltip:function(t){var c=this.getData(),o=c.getName(t),h=c.get(c.mapDimension("value"),t);return(isNaN(h)||h==null)&&(h="-"),a(o+" : "+h)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),u=n;J.exports=u},rkZ5:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("ProS"),p=e("c8qY"),v=e("D9ME"),b=e("fls0"),f=e("RSch"),i=e("akwb"),r=e("o40c"),a=e("ZYIC"),s=e("sK/D"),l=s.createClipPath,n=g.extendChartView({type:"lines",init:function(){},render:function(u,t,c){var o=u.getData(),h=this._updateLineDraw(o,u),A=u.get("zlevel"),y=u.get("effect.trailLength"),O=c.getZr(),S=O.painter.getType()==="svg";S||O.painter.getLayer(A).clear(!0),this._lastZlevel!=null&&!S&&O.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(u)&&y&&(S||O.configLayer(A,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(y/10+.9,1),0)})),h.updateData(o);var E=u.get("clip",!0)&&l(u.coordinateSystem,!1,u);E?this.group.setClipPath(E):this.group.removeClipPath(),this._lastZlevel=A,this._finished=!0},incrementalPrepareRender:function(u,t,c){var o=u.getData(),h=this._updateLineDraw(o,u);h.incrementalPrepareUpdate(o),this._clearLayer(c),this._finished=!1},incrementalRender:function(u,t,c){this._lineDraw.incrementalUpdate(u,t.getData()),this._finished=u.end===t.getData().count()},updateTransform:function(u,t,c){var o=u.getData(),h=u.pipelineContext;if(!this._finished||h.large||h.progressiveRender)return{update:!0};var A=a.reset(u);A.progress&&A.progress({start:0,end:o.count()},o),this._lineDraw.updateLayout(),this._clearLayer(c)},_updateLineDraw:function(u,t){var c=this._lineDraw,o=this._showEffect(t),h=!!t.get("polyline"),A=t.pipelineContext,y=A.large;return(!c||o!==this._hasEffet||h!==this._isPolyline||y!==this._isLargeDraw)&&(c&&c.remove(),c=this._lineDraw=y?new r:new p(h?o?i:f:o?v:b),this._hasEffet=o,this._isPolyline=h,this._isLargeDraw=y,this.group.removeAll()),this.group.add(c.group),c},_showEffect:function(u){return!!u.get("effect.show")},_clearLayer:function(u){var t=u.getZr(),c=t.painter.getType()==="svg";!c&&this._lastZlevel!=null&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(u,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});J.exports=n},rmlV:function(J,B,e){var d=e("y+Vt"),x=d.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(p,v){var b=.5522848,f=v.cx,i=v.cy,r=v.rx,a=v.ry,s=r*b,l=a*b;p.moveTo(f-r,i),p.bezierCurveTo(f-r,i-l,f-s,i-a,f,i-a),p.bezierCurveTo(f+s,i-a,f+r,i-l,f+r,i),p.bezierCurveTo(f+r,i+l,f+s,i+a,f,i+a),p.bezierCurveTo(f-s,i+a,f-r,i+l,f-r,i),p.closePath()}});J.exports=x},rnVJ:function(J,B,e){var d=e("bYtY"),x=["rect","polygon","keep","clear"];function g(v,b){var f=v&&v.brush;if(d.isArray(f)||(f=f?[f]:[]),!f.length)return;var i=[];d.each(f,function(n){var u=n.hasOwnProperty("toolbox")?n.toolbox:[];u instanceof Array&&(i=i.concat(u))});var r=v&&v.toolbox;d.isArray(r)&&(r=r[0]),r||(r={feature:{}},v.toolbox=[r]);var a=r.feature||(r.feature={}),s=a.brush||(a.brush={}),l=s.type||(s.type=[]);l.push.apply(l,i),p(l),b&&!l.length&&l.push.apply(l,x)}function p(v){var b={};d.each(v,function(f){b[f]=1}),v.length=0,d.each(b,function(f,i){v.push(i)})}J.exports=g},rySg:function(J,B,e){e("SMc4"),e("8nMs")},s2MQ:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};B.default=d},s2lz:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("IwbS"),p=e("gPAo"),v=e("VaxA"),b=e("9hCq"),f=e("SgGq"),i=e("mFDi"),r=e("Fofx"),a=e("5s0K"),s=e("KCsZ"),l=e("7aKB"),n=l.windowOpen,u=x.bind,t=g.Group,c=g.Rect,o=x.each,h=3,A=["label"],y=["emphasis","label"],O=["upperLabel"],S=["emphasis","upperLabel"],E=10,C=1,T=2,w=s([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),L=function(U){var M=w(U);return M.stroke=M.fill=M.lineWidth=null,M},N=d.extendChartView({type:"treemap",init:function(U,M){this._containerGroup,this._storage=D(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(U,M,j,P){var K=M.findComponents({mainType:"series",subType:"treemap",query:P});if(x.indexOf(K,U)<0)return;this.seriesModel=U,this.api=j,this.ecModel=M;var H=["treemapZoomToNode","treemapRootToNode"],_=v.retrieveTargetInfo(P,H,U),Z=P&&P.type,Y=U.layoutInfo,k=!this._oldTree,Q=this._storage,X=Z==="treemapRootToNode"&&_&&Q?{rootNodeGroup:Q.nodeGroup[_.node.getRawIndex()],direction:P.direction}:null,he=this._giveContainerGroup(Y),te=this._doRender(he,U,X);!k&&(!Z||Z==="treemapZoomToNode"||Z==="treemapRootToNode")?this._doAnimation(he,te,U,X):te.renderFinally(),this._resetController(j),this._renderBreadcrumb(U,j,_)},_giveContainerGroup:function(U){var M=this._containerGroup;return M||(M=this._containerGroup=new t,this._initEvents(M),this.group.add(M)),M.attr("position",[U.x,U.y]),M},_doRender:function(U,M,j){var P=M.getData().tree,K=this._oldTree,H=D(),_=D(),Z=this._storage,Y=[],k=x.curry(F,M,_,Z,j,H,Y);X(P.root?[P.root]:[],K&&K.root?[K.root]:[],U,P===K||!K,0);var Q=he(Z);return this._oldTree=P,this._storage=_,{lastsForAnimation:H,willDeleteEls:Q,renderFinally:te};function X(pe,Se,we,We,qe){We?(Se=pe,o(pe,function(je,Ct){!je.isRemoved()&&_e(Ct,Ct)})):new p(Se,pe,yt,yt).add(_e).update(_e).remove(x.curry(_e,null)).execute();function yt(je){return je.getId()}function _e(je,Ct){var ct=je!=null?pe[je]:null,nt=Ct!=null?Se[Ct]:null,bt=k(ct,nt,we,qe);bt&&X(ct&&ct.viewChildren||[],nt&&nt.viewChildren||[],bt,We,qe+1)}}function he(pe){var Se=D();return pe&&o(pe,function(we,We){var qe=Se[We];o(we,function(yt){yt&&(qe.push(yt),yt.__tmWillDelete=1)})}),Se}function te(){o(Q,function(pe){o(pe,function(Se){Se.parent&&Se.parent.remove(Se)})}),o(Y,function(pe){pe.invisible=!0,pe.dirty()})}},_doAnimation:function(U,M,j,P){if(!j.get("animation"))return;var K=j.get("animationDurationUpdate"),H=j.get("animationEasing"),_=a.createWrap();o(M.willDeleteEls,function(Z,Y){o(Z,function(k,Q){if(k.invisible)return;var X=k.parent,he;if(P&&P.direction==="drillDown")he=X===P.rootNodeGroup?{shape:{x:0,y:0,width:X.__tmNodeWidth,height:X.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var te=0,pe=0;X.__tmWillDelete||(te=X.__tmNodeWidth/2,pe=X.__tmNodeHeight/2),he=Y==="nodeGroup"?{position:[te,pe],style:{opacity:0}}:{shape:{x:te,y:pe,width:0,height:0},style:{opacity:0}}}he&&_.add(k,he,K,H)})}),o(this._storage,function(Z,Y){o(Z,function(k,Q){var X=M.lastsForAnimation[Y][Q],he={};if(!X)return;Y==="nodeGroup"?X.old&&(he.position=k.position.slice(),k.attr("position",X.old)):(X.old&&(he.shape=x.extend({},k.shape),k.setShape(X.old)),X.fadein?(k.setStyle("opacity",0),he.style={opacity:1}):k.style.opacity!==1&&(he.style={opacity:1})),_.add(k,he,K,H)})},this),this._state="animating",_.done(u(function(){this._state="ready",M.renderFinally()},this)).start()},_resetController:function(U){var M=this._controller;M||(M=this._controller=new f(U.getZr()),M.enable(this.seriesModel.get("roam")),M.on("pan",u(this._onPan,this)),M.on("zoom",u(this._onZoom,this)));var j=new i(0,0,U.getWidth(),U.getHeight());M.setPointerChecker(function(P,K,H){return j.contain(K,H)})},_clearController:function(){var U=this._controller;U&&(U.dispose(),U=null)},_onPan:function(U){if(this._state!=="animating"&&(Math.abs(U.dx)>h||Math.abs(U.dy)>h)){var M=this.seriesModel.getData().tree.root;if(!M)return;var j=M.getLayout();if(!j)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:j.x+U.dx,y:j.y+U.dy,width:j.width,height:j.height}})}},_onZoom:function(U){var M=U.originX,j=U.originY;if(this._state!=="animating"){var P=this.seriesModel.getData().tree.root;if(!P)return;var K=P.getLayout();if(!K)return;var H=new i(K.x,K.y,K.width,K.height),_=this.seriesModel.layoutInfo;M-=_.x,j-=_.y;var Z=r.create();r.translate(Z,Z,[-M,-j]),r.scale(Z,Z,[U.scale,U.scale]),r.translate(Z,Z,[M,j]),H.applyTransform(Z),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:H.x,y:H.y,width:H.width,height:H.height}})}},_initEvents:function(U){U.on("click",function(M){if(this._state!=="ready")return;var j=this.seriesModel.get("nodeClick",!0);if(!j)return;var P=this.findTarget(M.offsetX,M.offsetY);if(!P)return;var K=P.node;if(K.getLayout().isLeafRoot)this._rootToNode(P);else if(j==="zoomToNode")this._zoomToNode(P);else if(j==="link"){var H=K.hostTree.data.getItemModel(K.dataIndex),_=H.get("link",!0),Z=H.get("target",!0)||"blank";_&&n(_,Z)}},this)},_renderBreadcrumb:function(U,M,j){j||(j=U.get("leafDepth",!0)!=null?{node:U.getViewRoot()}:this.findTarget(M.getWidth()/2,M.getHeight()/2),j||(j={node:U.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new b(this.group))).render(U,M,j.node,u(P,this));function P(K){this._state!=="animating"&&(v.aboveViewRoot(U.getViewRoot(),K)?this._rootToNode({node:K}):this._zoomToNode({node:K}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=D(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(U){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:U.node})},_rootToNode:function(U){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:U.node})},findTarget:function(U,M){var j,P=this.seriesModel.getViewRoot();return P.eachNode({attr:"viewChildren",order:"preorder"},function(K){var H=this._storage.background[K.getRawIndex()];if(H){var _=H.transformCoordToLocal(U,M),Z=H.shape;if(Z.x<=_[0]&&_[0]<=Z.x+Z.width&&Z.y<=_[1]&&_[1]<=Z.y+Z.height)j={node:K,offsetX:_[0],offsetY:_[1]};else return!1}},this),j}});function D(){return{nodeGroup:[],background:[],content:[]}}function F(U,M,j,P,K,H,_,Z,Y,k){if(!_)return;var Q=_.getLayout(),X=U.getData();if(X.setItemGraphicEl(_.dataIndex,null),!Q||!Q.isInView)return;var he=Q.width,te=Q.height,pe=Q.borderWidth,Se=Q.invisible,we=_.getRawIndex(),We=Z&&Z.getRawIndex(),qe=_.viewChildren,yt=Q.upperHeight,_e=qe&&qe.length,je=_.getModel("itemStyle"),Ct=_.getModel("emphasis.itemStyle"),ct=Ie("nodeGroup",t);if(!ct)return;if(Y.add(ct),ct.attr("position",[Q.x||0,Q.y||0]),ct.__tmNodeWidth=he,ct.__tmNodeHeight=te,Q.isAboveViewRoot)return ct;var nt=_.getModel(),bt=Ie("background",c,k,C);if(bt&&vt(ct,bt,_e&&Q.upperLabelHeight),_e)g.isHighDownDispatcher(ct)&&g.setAsHighDownDispatcher(ct,!1),bt&&(g.setAsHighDownDispatcher(bt,!0),X.setItemGraphicEl(_.dataIndex,bt));else{var dt=Ie("content",c,k,T);dt&&Qe(ct,dt),bt&&g.isHighDownDispatcher(bt)&&g.setAsHighDownDispatcher(bt,!1),g.setAsHighDownDispatcher(ct,!0),X.setItemGraphicEl(_.dataIndex,ct)}return ct;function vt(Bt,_t,Ue){if(_t.dataIndex=_.dataIndex,_t.seriesIndex=U.seriesIndex,_t.setShape({x:0,y:0,width:he,height:te}),Se)mt(_t);else{_t.invisible=!1;var zt=_.getVisual("borderColor",!0),xt=Ct.get("borderColor"),Pt=L(je);Pt.fill=zt;var Ke=w(Ct);if(Ke.fill=xt,Ue){var Ye=he-2*pe;Pe(Pt,Ke,zt,Ye,yt,{x:pe,y:0,width:Ye,height:yt})}else Pt.text=Ke.text=null;_t.setStyle(Pt),g.setElementHoverStyle(_t,Ke)}Bt.add(_t)}function Qe(Bt,_t){_t.dataIndex=_.dataIndex,_t.seriesIndex=U.seriesIndex;var Ue=Math.max(he-2*pe,0),zt=Math.max(te-2*pe,0);if(_t.culling=!0,_t.setShape({x:pe,y:pe,width:Ue,height:zt}),Se)mt(_t);else{_t.invisible=!1;var xt=_.getVisual("color",!0),Pt=L(je);Pt.fill=xt;var Ke=w(Ct);Pe(Pt,Ke,xt,Ue,zt),_t.setStyle(Pt),g.setElementHoverStyle(_t,Ke)}Bt.add(_t)}function mt(Bt){!Bt.invisible&&H.push(Bt)}function Pe(Bt,_t,Ue,zt,xt,Pt){var Ke=nt.get("name"),Ye=nt.getModel(Pt?O:A),$e=nt.getModel(Pt?S:y),ut=Ye.getShallow("show");g.setLabelStyle(Bt,_t,Ye,$e,{defaultText:ut?Ke:null,autoColor:Ue,isRectText:!0,labelFetcher:U,labelDataIndex:_.dataIndex,labelProp:Pt?"upperLabel":"label"}),De(Bt,Pt,Q),De(_t,Pt,Q),Pt&&(Bt.textRect=x.clone(Pt)),Bt.truncate=ut&&Ye.get("ellipsis")?{outerWidth:zt,outerHeight:xt,minChar:2}:null}function De(Bt,_t,Ue){var zt=Bt.text;if(!_t&&Ue.isLeafRoot&&zt!=null){var xt=U.get("drillDownIcon",!0);Bt.text=xt?xt+" "+zt:zt}}function Ie(Bt,_t,Ue,zt){var xt=We!=null&&j[Bt][We],Pt=K[Bt];return xt?(j[Bt][We]=null,ot(Pt,xt,Bt)):Se||(xt=new _t({z:R(Ue,zt)}),xt.__tmDepth=Ue,xt.__tmStorageName=Bt,wt(Pt,xt,Bt)),M[Bt][we]=xt}function ot(Bt,_t,Ue){var zt=Bt[we]={};zt.old=Ue==="nodeGroup"?_t.position.slice():x.extend({},_t.shape)}function wt(Bt,_t,Ue){var zt=Bt[we]={},xt=_.parentNode;if(xt&&(!P||P.direction==="drillDown")){var Pt=0,Ke=0,Ye=K.background[xt.getRawIndex()];!P&&Ye&&Ye.old&&(Pt=Ye.old.width,Ke=Ye.old.height),zt.old=Ue==="nodeGroup"?[0,Ke]:{x:Pt,y:Ke,width:0,height:0}}zt.fadein=Ue!=="nodeGroup"}}function R(U,M){var j=U*E+M;return(j-1)/j}J.exports=N},sAZ8:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("+rIm"),p=e("/IIm"),v=e("9KIM"),b=e("IwbS"),f=["axisLine","axisTickLabel","axisName"],i=d.extendComponentView({type:"parallelAxis",init:function(n,u){i.superApply(this,"init",arguments),(this._brushController=new p(u.getZr())).on("brush",x.bind(this._onBrush,this))},render:function(n,u,t,c){if(r(n,u,c))return;this.axisModel=n,this.api=t,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new b.Group,this.group.add(this._axisGroup),!n.get("show"))return;var h=s(n,u),A=h.coordinateSystem,y=n.getAreaSelectStyle(),O=y.width,S=n.axis.dim,E=A.getAxisLayout(S),C=x.extend({strokeContainThreshold:O},E),T=new g(n,C);x.each(f,T.add,T),this._axisGroup.add(T.getGroup()),this._refreshBrushController(C,y,n,h,O,t);var w=c&&c.animation===!1?null:n;b.groupTransition(o,this._axisGroup,w)},_refreshBrushController:function(n,u,t,c,o,h){var A=t.axis.getExtent(),y=A[1]-A[0],O=Math.min(30,Math.abs(y)*.1),S=b.BoundingRect.create({x:A[0],y:-o/2,width:y,height:o});S.x-=O,S.width+=2*O,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,position:n.position}).setPanels([{panelId:"pl",clipPath:v.makeRectPanelClipPath(S),isTargetByCursor:v.makeRectIsTargetByCursor(S,h,c),getLinearBrushOtherExtent:v.makeLinearBrushOtherExtent(S,0)}]).enableBrush({brushType:"lineX",brushStyle:u,removeOnClick:!0}).updateCovers(a(t))},_onBrush:function(n,u){var t=this.axisModel,c=t.axis,o=x.map(n,function(h){return[c.coordToData(h.range[0],!0),c.coordToData(h.range[1],!0)]});(!t.option.realtime===u.isEnd||u.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:t.id,intervals:o})},dispose:function(){this._brushController.dispose()}});function r(n,u,t){return t&&t.type==="axisAreaSelect"&&u.findComponents({mainType:"parallelAxis",query:t})[0]===n}function a(n){var u=n.axis;return x.map(n.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[u.dataToCoord(t[0],!0),u.dataToCoord(t[1],!0)]}})}function s(n,u){return u.getComponent("parallel",n.get("parallelIndex"))}var l=i;J.exports=l},sE09:function(J,B,e){},sEf8:function(J,B){function e(d){return function(x){return d(x)}}J.exports=e},sGsY:function(J,B,e){"use strict";var d=e("lSNA"),x=e.n(d),g=e("pVnL"),p=e.n(g),v=e("q1tI"),b=e("TSYQ"),f=e.n(b),i=e("H84U"),r=e("B6l+"),a=e.n(r),s=function(_){var Z=_.value,Y=_.formatter,k=_.precision,Q=_.decimalSeparator,X=_.groupSeparator,he=X===void 0?"":X,te=_.prefixCls,pe;if(typeof Y=="function")pe=Y(Z);else{var Se=String(Z),we=Se.match(/^(-?)(\d*)(\.(\d+))?$/);if(!we||Se==="-")pe=Se;else{var We=we[1],qe=we[2]||"0",yt=we[4]||"";qe=qe.replace(/\B(?=(\d{3})+(?!\d))/g,he),typeof k=="number"&&(yt=a()(yt,k,"0").slice(0,k)),yt&&(yt="".concat(Q).concat(yt)),pe=[v.createElement("span",{key:"int",className:"".concat(te,"-content-value-int")},We,qe),yt&&v.createElement("span",{key:"decimal",className:"".concat(te,"-content-value-decimal")},yt)]}}return v.createElement("span",{className:"".concat(te,"-content-value")},pe)},l=s,n=function(_){var Z=_.prefixCls,Y=_.className,k=_.style,Q=_.valueStyle,X=_.value,he=X===void 0?0:X,te=_.title,pe=_.valueRender,Se=_.prefix,we=_.suffix,We=_.direction,qe=_.onMouseEnter,yt=_.onMouseLeave,_e=v.createElement(l,p()({},_,{value:he})),je=f()(Z,Y,x()({},"".concat(Z,"-rtl"),We==="rtl"));return v.createElement("div",{className:je,style:k,onMouseEnter:qe,onMouseLeave:yt},te&&v.createElement("div",{className:"".concat(Z,"-title")},te),v.createElement("div",{style:Q,className:"".concat(Z,"-content")},Se&&v.createElement("span",{className:"".concat(Z,"-content-prefix")},Se),pe?pe(_e):_e,we&&v.createElement("span",{className:"".concat(Z,"-content-suffix")},we)))};n.defaultProps={decimalSeparator:".",groupSeparator:","};var u=Object(i.c)({prefixCls:"statistic"})(n),t=u,c=e("lwsE"),o=e.n(c),h=e("W8MJ"),A=e.n(h),y=e("7W2i"),O=e.n(y),S=e("LQ03"),E=e.n(S),C=e("J4zp"),T=e.n(C),w=e("QQZ/"),L=e.n(w),N=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function D(H,_){var Z=H,Y=/\[[^\]]*]/g,k=(_.match(Y)||[]).map(function(te){return te.slice(1,-1)}),Q=_.replace(Y,"[]"),X=N.reduce(function(te,pe){var Se=T()(pe,2),we=Se[0],We=Se[1];if(te.indexOf(we)!==-1){var qe=Math.floor(Z/We);return Z-=qe*We,te.replace(new RegExp("".concat(we,"+"),"g"),function(yt){var _e=yt.length;return L()(qe.toString(),_e,"0")})}return te},Q),he=0;return X.replace(Y,function(){var te=k[he];return he+=1,te})}function F(H,_){var Z=_.format,Y=Z===void 0?"":Z,k=new Date(H).getTime(),Q=Date.now(),X=Math.max(k-Q,0);return D(X,Y)}var R=e("0n0R"),U=1e3/30;function M(H){return new Date(H).getTime()}var j=function(H){O()(Z,H);var _=E()(Z);function Z(){var Y;return o()(this,Z),Y=_.apply(this,arguments),Y.syncTimer=function(){var k=Y.props.value,Q=M(k);Q>=Date.now()?Y.startTimer():Y.stopTimer()},Y.startTimer=function(){if(Y.countdownId)return;Y.countdownId=window.setInterval(function(){Y.forceUpdate()},U)},Y.stopTimer=function(){var k=Y.props,Q=k.onFinish,X=k.value;if(Y.countdownId){clearInterval(Y.countdownId),Y.countdownId=void 0;var he=M(X);Q&&he<Date.now()&&Q()}},Y.formatCountdown=function(k,Q){var X=Y.props.format;return F(k,p()(p()({},Q),{format:X}))},Y.valueRender=function(k){return Object(R.a)(k,{title:void 0})},Y}return A()(Z,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return v.createElement(t,p()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),Z}(v.Component);j.defaultProps={format:"HH:mm:ss"};var P=j;t.Countdown=P;var K=B.a=t},"sK/D":function(J,B,e){var d=e("IwbS"),x=e("OELB"),g=x.round;function p(f,i,r){var a=f.getArea(),s=f.getBaseAxis().isHorizontal(),l=a.x,n=a.y,u=a.width,t=a.height,c=r.get("lineStyle.width")||2;l-=c/2,n-=c/2,u+=c,t+=c,l=Math.floor(l),u=Math.round(u);var o=new d.Rect({shape:{x:l,y:n,width:u,height:t}});return i&&(o.shape[s?"width":"height"]=0,d.initProps(o,{shape:{width:u,height:t}},r)),o}function v(f,i,r){var a=f.getArea(),s=new d.Sector({shape:{cx:g(f.cx,1),cy:g(f.cy,1),r0:g(a.r0,1),r:g(a.r,1),startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return i&&(s.shape.endAngle=a.startAngle,d.initProps(s,{shape:{endAngle:a.endAngle}},r)),s}function b(f,i,r){if(f){if(f.type==="polar")return v(f,i,r);if(f.type==="cartesian2d")return p(f,i,r)}else return null;return null}B.createGridClipPath=p,B.createPolarClipPath=v,B.createClipPath=b},sKgW:function(J,B){var e=9007199254740991,d=Math.floor;function x(g,p){var v="";if(!g||p<1||p>e)return v;do p%2&&(v+=g),p=d(p/2),p&&(g+=g);while(p);return v}J.exports=x},sPJy:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("AOa7"),p=e.n(g),v=e("lUTK"),b=e("qVdP")},sPtV:function(J,B,e){"use strict";e.d(B,"a",function(){return p});var d=e("q1tI"),x=e.n(d),g=e("hkKa");function p(v){var b=d.useRef(v),f=Object(g.a)();return[function(){return b.current},function(i){b.current=i,f()}]}},sRBo:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("KCY9"),p=e.n(g)},sRwP:function(J,B,e){e("jsU+"),e("2548"),e("Tp9H"),e("06DH"),e("dnwI"),e("fE02"),e("33Ds")},"sS/r":function(J,B,e){var d=e("4fz+"),x=e("iRjW"),g=e("Yl7c"),p=function(){this.group=new d,this.uid=x.getUID("viewComponent")};p.prototype={constructor:p,init:function(f,i){},render:function(f,i,r,a){},dispose:function(){},filterForExposedEvent:null};var v=p.prototype;v.updateView=v.updateLayout=v.updateVisual=function(f,i,r,a){},g.enableClassExtend(p),g.enableClassManagement(p,{registerWhenExtend:!0});var b=p;J.exports=b},"sW+o":function(J,B,e){var d=e("SrGk"),x=e("bYtY"),g=e("SUKs"),p=e("Qe9p");function v(f,i){d.call(this,f,i,["linearGradient","radialGradient"],"__gradient_in_use__")}x.inherits(v,d),v.prototype.addWithoutUpdate=function(f,i){if(i&&i.style){var r=this;x.each(["fill","stroke"],function(a){if(i.style[a]&&(i.style[a].type==="linear"||i.style[a].type==="radial")){var s=i.style[a],l=r.getDefs(!0),n;s._dom?(n=s._dom,l.contains(s._dom)||r.addDom(n)):n=r.add(s),r.markUsed(i);var u=n.getAttribute("id");f.setAttribute(a,"url(#"+u+")")}})}},v.prototype.add=function(f){var i;if(f.type==="linear")i=this.createElement("linearGradient");else if(f.type==="radial")i=this.createElement("radialGradient");else return g("Illegal gradient type."),null;return f.id=f.id||this.nextId++,i.setAttribute("id","zr"+this._zrId+"-gradient-"+f.id),this.updateDom(f,i),this.addDom(i),i},v.prototype.update=function(f){var i=this;d.prototype.update.call(this,f,function(){var r=f.type,a=f._dom.tagName;r==="linear"&&a==="linearGradient"||r==="radial"&&a==="radialGradient"?i.updateDom(f,f._dom):(i.removeDom(f),i.add(f))})},v.prototype.updateDom=function(f,i){if(f.type==="linear")i.setAttribute("x1",f.x),i.setAttribute("y1",f.y),i.setAttribute("x2",f.x2),i.setAttribute("y2",f.y2);else if(f.type==="radial")i.setAttribute("cx",f.x),i.setAttribute("cy",f.y),i.setAttribute("r",f.r);else{g("Illegal gradient type.");return}f.global?i.setAttribute("gradientUnits","userSpaceOnUse"):i.setAttribute("gradientUnits","objectBoundingBox"),i.innerHTML="";for(var r=f.colorStops,a=0,s=r.length;a<s;++a){var l=this.createElement("stop");l.setAttribute("offset",r[a].offset*100+"%");var n=r[a].color;if(n.indexOf("rgba">-1)){var u=p.parse(n)[3],t=p.toHex(n);l.setAttribute("stop-color","#"+t),l.setAttribute("stop-opacity",u)}else l.setAttribute("stop-color",r[a].color);i.appendChild(l)}f._dom=i},v.prototype.markUsed=function(f){if(f.style){var i=f.style.fill;i&&i._dom&&d.prototype.markUsed.call(this,i._dom),i=f.style.stroke,i&&i._dom&&d.prototype.markUsed.call(this,i._dom)}};var b=v;J.exports=b},sboe:function(J,B,e){"use strict";e.d(B,"a",function(){return g});var d=e("q1tI"),x=e.n(d),g=d.createContext(null)},sdST:function(J,B,e){var d=e("hi0g");function x(g,p){return p=p||{},d(p.coordDimensions||[],g,{dimsDef:p.dimensionsDefine||g.dimensionsDefine,encodeDef:p.encodeDefine||g.encodeDefine,dimCount:p.dimensionsCount,encodeDefaulter:p.encodeDefaulter,generateCoord:p.generateCoord,generateCoordCount:p.generateCoordCount})}J.exports=x},seXi:function(J,B,e){var d=e("qZTm"),x=1,g=Object.prototype,p=g.hasOwnProperty;function v(b,f,i,r,a,s){var l=i&x,n=d(b),u=n.length,t=d(f),c=t.length;if(u!=c&&!l)return!1;for(var o=u;o--;){var h=n[o];if(!(l?h in f:p.call(f,h)))return!1}var A=s.get(b),y=s.get(f);if(A&&y)return A==f&&y==b;var O=!0;s.set(b,f),s.set(f,b);for(var S=l;++o<u;){h=n[o];var E=b[h],C=f[h];if(r)var T=l?r(C,E,h,f,b,s):r(E,C,h,b,f,s);if(!(T===void 0?E===C||a(E,C,i,r,s):T)){O=!1;break}S||(S=h=="constructor")}if(O&&!S){var w=b.constructor,L=f.constructor;w!=L&&"constructor"in b&&"constructor"in f&&!(typeof w=="function"&&w instanceof w&&typeof L=="function"&&L instanceof L)&&(O=!1)}return s.delete(b),s.delete(f),O}J.exports=v},shjB:function(J,B){var e=9007199254740991;function d(x){return typeof x=="number"&&x>-1&&x%1==0&&x<=e}J.exports=d},szbU:function(J,B,e){var d=e("bYtY"),x=d.each;function g(v){var b=v&&v.visualMap;d.isArray(b)||(b=b?[b]:[]),x(b,function(f){if(!f)return;p(f,"splitList")&&!p(f,"pieces")&&(f.pieces=f.splitList,delete f.splitList);var i=f.pieces;i&&d.isArray(i)&&x(i,function(r){d.isObject(r)&&(p(r,"start")&&!p(r,"min")&&(r.min=r.start),p(r,"end")&&!p(r,"max")&&(r.max=r.end))})})}function p(v,b){return v&&v.hasOwnProperty&&v.hasOwnProperty(b)}J.exports=g},t23M:function(J,B,e){"use strict";var d=e("VTBJ"),x=e("1OyB"),g=e("vuIU"),p=e("Ji7U"),v=e("LK+K"),b=e("q1tI"),f=e.n(b),i=e("m+aA"),r=e("Zm9Q"),a=e("Kwbf"),s=e("c+Xe"),l=e("bdgK"),n="rc-observer-key",u=function(t){Object(p.a)(o,t);var c=Object(v.a)(o);function o(){var h;return Object(x.a)(this,o),h=c.apply(this,arguments),h.resizeObserver=null,h.childNode=null,h.currentElement=null,h.state={width:0,height:0,offsetHeight:0,offsetWidth:0},h.onResize=function(A){var y=h.props.onResize,O=A[0].target,S=O.getBoundingClientRect(),E=S.width,C=S.height,T=O.offsetWidth,w=O.offsetHeight,L=Math.floor(E),N=Math.floor(C);if(h.state.width!==L||h.state.height!==N||h.state.offsetWidth!==T||h.state.offsetHeight!==w){var D={width:L,height:N,offsetWidth:T,offsetHeight:w};h.setState(D),y&&Promise.resolve().then(function(){y(Object(d.a)(Object(d.a)({},D),{},{offsetWidth:T,offsetHeight:w}))})}},h.setChildNode=function(A){h.childNode=A},h}return Object(g.a)(o,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var A=this.props.disabled;if(A){this.destroyObserver();return}var y=Object(i.a)(this.childNode||this),O=y!==this.currentElement;O&&(this.destroyObserver(),this.currentElement=y),!this.resizeObserver&&y&&(this.resizeObserver=new l.default(this.onResize),this.resizeObserver.observe(y))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var A=this.props.children,y=Object(r.a)(A);if(y.length>1)Object(a.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(y.length===0)return Object(a.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var O=y[0];if(b.isValidElement(O)&&Object(s.c)(O)){var S=O.ref;y[0]=b.cloneElement(O,{ref:Object(s.a)(S,this.setChildNode)})}return y.length===1?y[0]:y.map(function(E,C){return!b.isValidElement(E)||"key"in E&&E.key!==null?E:b.cloneElement(E,{key:"".concat(n,"-").concat(C)})})}}]),o}(b.Component);u.displayName="ResizeObserver",B.a=u},t3Fx:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=Object.assign||function(c){for(var o=1;o<arguments.length;o++){var h=arguments[o];for(var A in h)Object.prototype.hasOwnProperty.call(h,A)&&(c[A]=h[A])}return c},x=function(){function c(o,h){for(var A=0;A<h.length;A++){var y=h[A];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(o,y.key,y)}}return function(o,h,A){return h&&c(o.prototype,h),A&&c(o,A),o}}(),g=e("q1tI"),p=s(g),v=e("17x9"),b=s(v),f=e("aUsF"),i=s(f),r=e("u3os"),a=e("kzFp");function s(c){return c&&c.__esModule?c:{default:c}}function l(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a class as a function")}function n(c,o){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o&&(typeof o=="object"||typeof o=="function")?o:c}function u(c,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);c.prototype=Object.create(o&&o.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(c,o):c.__proto__=o)}var t=function(c){u(o,c);function o(h){l(this,o);var A=n(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,h));return A.getEchartsInstance=function(){return A.echartsLib.getInstanceByDom(A.echartsElement)||A.echartsLib.init(A.echartsElement,A.props.theme,A.props.opts)},A.dispose=function(){if(A.echartsElement){try{(0,r.clear)(A.echartsElement)}catch(y){console.warn(y)}A.echartsLib.dispose(A.echartsElement)}},A.rerender=function(){var y=A.props,O=y.onEvents,S=y.onChartReady,E=A.renderEchartDom();A.bindEvents(E,O||{}),typeof S=="function"&&A.props.onChartReady(E),A.echartsElement&&(0,r.bind)(A.echartsElement,function(){try{E.resize()}catch(C){console.warn(C)}})},A.bindEvents=function(y,O){var S=function(T,w){typeof T=="string"&&typeof w=="function"&&y.on(T,function(L){w(L,y)})};for(var E in O)Object.prototype.hasOwnProperty.call(O,E)&&S(E,O[E])},A.renderEchartDom=function(){var y=A.getEchartsInstance();return y.setOption(A.props.option,A.props.notMerge||!1,A.props.lazyUpdate||!1),A.props.showLoading?y.showLoading(A.props.loadingOption||null):y.hideLoading(),y},A.echartsLib=h.echarts,A.echartsElement=null,A}return x(o,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(A){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(A,this.props))return;if(!(0,i.default)(A.theme,this.props.theme)||!(0,i.default)(A.opts,this.props.opts)||!(0,i.default)(A.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var y=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,i.default)((0,a.pick)(this.props,y),(0,a.pick)(A,y)))return;var O=this.renderEchartDom();if(!(0,i.default)(A.style,this.props.style)||!(0,i.default)(A.className,this.props.className))try{O.resize()}catch(S){console.warn(S)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var A=this,y=this.props,O=y.style,S=y.className,E=d({height:300},O);return p.default.createElement("div",{ref:function(T){A.echartsElement=T},style:E,className:"echarts-for-react "+S})}}]),o}(g.Component);B.default=t,t.propTypes={option:b.default.object.isRequired,echarts:b.default.object,notMerge:b.default.bool,lazyUpdate:b.default.bool,style:b.default.object,className:b.default.string,theme:b.default.oneOfType([b.default.string,b.default.object]),onChartReady:b.default.func,showLoading:b.default.bool,loadingOption:b.default.object,onEvents:b.default.object,opts:b.default.shape({devicePixelRatio:b.default.number,renderer:b.default.oneOf(["canvas","svg"]),width:b.default.oneOfType([b.default.number,b.default.oneOf([null,void 0,"auto"])]),height:b.default.oneOfType([b.default.number,b.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:b.default.func},t.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(J,B,e){var d=e("bYtY"),x=e("IwbS"),g=e("Qxkt"),p=e("Znkb"),v=e("+rIm"),b=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function f(s,l,n){l[1]>l[0]&&(l=l.slice().reverse());var u=s.coordToPoint([l[0],n]),t=s.coordToPoint([l[1],n]);return{x1:u[0],y1:u[1],x2:t[0],y2:t[1]}}function i(s){var l=s.getRadiusAxis();return l.inverse?0:1}function r(s){var l=s[0],n=s[s.length-1];l&&n&&Math.abs(Math.abs(l.coord-n.coord)-360)<1e-4&&s.pop()}var a=p.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(s,l){if(this.group.removeAll(),!s.get("show"))return;var n=s.axis,u=n.polar,t=u.getRadiusAxis().getExtent(),c=n.getTicksCoords(),o=n.getMinorTicksCoords(),h=d.map(n.getViewLabels(),function(A){var A=d.clone(A);return A.coord=n.dataToCoord(A.tickValue),A});r(h),r(c),d.each(b,function(A){s.get(A+".show")&&(!n.scale.isBlank()||A==="axisLine")&&this["_"+A](s,u,c,o,t,h)},this)},_axisLine:function(s,l,n,u,t){var c=s.getModel("axisLine.lineStyle"),o=i(l),h=o?0:1,A;t[h]===0?A=new x.Circle({shape:{cx:l.cx,cy:l.cy,r:t[o]},style:c.getLineStyle(),z2:1,silent:!0}):A=new x.Ring({shape:{cx:l.cx,cy:l.cy,r:t[o],r0:t[h]},style:c.getLineStyle(),z2:1,silent:!0}),A.style.fill=null,this.group.add(A)},_axisTick:function(s,l,n,u,t){var c=s.getModel("axisTick"),o=(c.get("inside")?-1:1)*c.get("length"),h=t[i(l)],A=d.map(n,function(y){return new x.Line({shape:f(l,[h,h+o],y.coord)})});this.group.add(x.mergePath(A,{style:d.defaults(c.getModel("lineStyle").getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")})}))},_minorTick:function(s,l,n,u,t){if(!u.length)return;for(var c=s.getModel("axisTick"),o=s.getModel("minorTick"),h=(c.get("inside")?-1:1)*o.get("length"),A=t[i(l)],y=[],O=0;O<u.length;O++)for(var S=0;S<u[O].length;S++)y.push(new x.Line({shape:f(l,[A,A+h],u[O][S].coord)}));this.group.add(x.mergePath(y,{style:d.defaults(o.getModel("lineStyle").getLineStyle(),d.defaults(c.getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(s,l,n,u,t,c){var o=s.getCategories(!0),h=s.getModel("axisLabel"),A=h.get("margin"),y=s.get("triggerEvent");d.each(c,function(O,S){var E=h,C=O.tickValue,T=t[i(l)],w=l.coordToPoint([T+A,O.coord]),L=l.cx,N=l.cy,D=Math.abs(w[0]-L)/T<.3?"center":w[0]>L?"left":"right",F=Math.abs(w[1]-N)/T<.3?"middle":w[1]>N?"top":"bottom";o&&o[C]&&o[C].textStyle&&(E=new g(o[C].textStyle,h,h.ecModel));var R=new x.Text({silent:v.isLabelSilent(s)});this.group.add(R),x.setTextStyle(R.style,E,{x:w[0],y:w[1],textFill:E.getTextColor()||s.get("axisLine.lineStyle.color"),text:O.formattedLabel,textAlign:D,textVerticalAlign:F}),y&&(R.eventData=v.makeAxisEventDataBase(s),R.eventData.targetType="axisLabel",R.eventData.value=O.rawLabel)},this)},_splitLine:function(s,l,n,u,t){var c=s.getModel("splitLine"),o=c.getModel("lineStyle"),h=o.get("color"),A=0;h=h instanceof Array?h:[h];for(var y=[],O=0;O<n.length;O++){var S=A++%h.length;y[S]=y[S]||[],y[S].push(new x.Line({shape:f(l,t,n[O].coord)}))}for(var O=0;O<y.length;O++)this.group.add(x.mergePath(y[O],{style:d.defaults({stroke:h[O%h.length]},o.getLineStyle()),silent:!0,z:s.get("z")}))},_minorSplitLine:function(s,l,n,u,t){if(!u.length)return;for(var c=s.getModel("minorSplitLine"),o=c.getModel("lineStyle"),h=[],A=0;A<u.length;A++)for(var y=0;y<u[A].length;y++)h.push(new x.Line({shape:f(l,t,u[A][y].coord)}));this.group.add(x.mergePath(h,{style:o.getLineStyle(),silent:!0,z:s.get("z")}))},_splitArea:function(s,l,n,u,t){if(!n.length)return;var c=s.getModel("splitArea"),o=c.getModel("areaStyle"),h=o.get("color"),A=0;h=h instanceof Array?h:[h];for(var y=[],O=Math.PI/180,S=-n[0].coord*O,E=Math.min(t[0],t[1]),C=Math.max(t[0],t[1]),T=s.get("clockwise"),w=1;w<n.length;w++){var L=A++%h.length;y[L]=y[L]||[],y[L].push(new x.Sector({shape:{cx:l.cx,cy:l.cy,r0:E,r:C,startAngle:S,endAngle:-n[w].coord*O,clockwise:T},silent:!0})),S=-n[w].coord*O}for(var w=0;w<y.length;w++)this.group.add(x.mergePath(y[w],{style:d.defaults({fill:h[w%h.length]},o.getAreaStyle()),silent:!0}))}});J.exports=a},tMB7:function(J,B,e){var d=e("y1pI");function x(g){var p=this.__data__,v=d(p,g);return v<0?void 0:p[v][1]}J.exports=x},tSko:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("SRve")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="PlusOutlined";var f=g.forwardRef(b);B.default=f},tadb:function(J,B,e){var d=e("Cwc5"),x=e("Kz5y"),g=d(x,"DataView");J.exports=g},tceW:function(J,B,e){var d=e("KCsZ"),x=d([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),g={getBarItemStyle:function(p){var v=x(this,p);if(this.getBorderLineDash){var b=this.getBorderLineDash();b&&(v.lineDash=b)}return v}};J.exports=g},txkQ:function(J,B,e){var d=e("aX58");B.zrender=d;var x=e("Fofx");B.matrix=x;var g=e("QBsz");B.vector=g;var p=e("bYtY"),v=e("Qe9p");B.color=v;var b=e("IwbS"),f=e("OELB");B.number=f;var i=e("7aKB");B.format=i;var r=e("iLNv"),a=r.throttle;B.throttle=r.throttle;var s=e("FUi9");B.helper=s;var l=e("vafp");B.parseGeoJSON=l;var n=e("YXkt");B.List=n;var u=e("Qxkt");B.Model=u;var t=e("hM6l");B.Axis=t;var c=e("ItGF");B.env=c;var o=l,h={};p.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(y){h[y]=p[y]});var A={};p.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(y){A[y]=b[y]}),B.parseGeoJson=o,B.util=h,B.graphic=A},u3DP:function(J,B,e){var d=e("6GrX"),x=e("OELB"),g=x.parsePercent,p=Math.PI/180;function v(r,a,s,l,n,u,t,c,o,h){r.sort(function(D,F){return D.y-F.y});function A(D,F,R,U){for(var M=D;M<F&&!(r[M].y+R>o+t);M++)if(r[M].y+=R,M>D&&M+1<F&&r[M+1].y>r[M].y+r[M].height){y(M,R/2);return}y(F-1,R/2)}function y(D,F){for(var R=D;R>=0&&!(r[R].y-F<o);R--)if(r[R].y-=F,R>0&&r[R].y>r[R-1].y+r[R-1].height)break}function O(D,F,R,U,M,j){for(var P=(j>0,F?Number.MAX_VALUE:0),K=0,H=D.length;K<H;K++){if(D[K].labelAlignTo!=="none")continue;var _=Math.abs(D[K].y-U),Z=D[K].len,Y=D[K].len2,k=_<M+Z?Math.sqrt((M+Z+Y)*(M+Z+Y)-_*_):Math.abs(D[K].x-R);F&&k>=P&&(k=P-10),!F&&k<=P&&(k=P+10),D[K].x=R+k*j,P=k}}for(var S=0,E,C=r.length,T=[],w=[],L=0;L<C;L++){if(r[L].position==="outer"&&r[L].labelAlignTo==="labelLine"){var N=r[L].x-h;r[L].linePoints[1][0]+=N,r[L].x=h}E=r[L].y-S,E<0&&A(L,C,-E,n),S=r[L].y+r[L].height}t-S<0&&y(C-1,S-t);for(var L=0;L<C;L++)r[L].y>=s?w.push(r[L]):T.push(r[L]);O(T,!1,a,s,l,n),O(w,!0,a,s,l,n)}function b(r,a,s,l,n,u,t,c){for(var o=[],h=[],A=Number.MAX_VALUE,y=-Number.MAX_VALUE,O=0;O<r.length;O++){if(f(r[O]))continue;r[O].x<a?(A=Math.min(A,r[O].x),o.push(r[O])):(y=Math.max(y,r[O].x),h.push(r[O]))}v(h,a,s,l,1,n,u,t,c,y),v(o,a,s,l,-1,n,u,t,c,A);for(var O=0;O<r.length;O++){var S=r[O];if(f(S))continue;var E=S.linePoints;if(E){var C=S.labelAlignTo==="edge",T=S.textRect.width,w;C?S.x<a?w=E[2][0]-S.labelDistance-t-S.labelMargin:w=t+n-S.labelMargin-E[2][0]-S.labelDistance:S.x<a?w=S.x-t-S.bleedMargin:w=t+n-S.x-S.bleedMargin,w<S.textRect.width&&(S.text=d.truncateText(S.text,w,S.font),S.labelAlignTo==="edge"&&(T=d.getWidth(S.text,S.font)));var L=E[1][0]-E[2][0];C?S.x<a?E[2][0]=t+S.labelMargin+T+S.labelDistance:E[2][0]=t+n-S.labelMargin-T-S.labelDistance:(S.x<a?E[2][0]=S.x+S.labelDistance:E[2][0]=S.x-S.labelDistance,E[1][0]=E[2][0]+L),E[1][1]=E[2][1]=S.y}}}function f(r){return r.position==="center"}function i(r,a,s,l,n,u){var t=r.getData(),c=[],o,h,A=!1,y=(r.get("minShowLabelAngle")||0)*p;t.each(function(O){var S=t.getItemLayout(O),E=t.getItemModel(O),C=E.getModel("label"),T=C.get("position")||E.get("emphasis.label.position"),w=C.get("distanceToLabelLine"),L=C.get("alignTo"),N=g(C.get("margin"),s),D=C.get("bleedMargin"),F=C.getFont(),R=E.getModel("labelLine"),U=R.get("length");U=g(U,s);var M=R.get("length2");if(M=g(M,s),S.angle<y)return;var j=(S.startAngle+S.endAngle)/2,P=Math.cos(j),K=Math.sin(j),H,_,Z,Y;o=S.cx,h=S.cy;var k=r.getFormattedLabel(O,"normal")||t.getName(O),Q=d.getBoundingRect(k,F,Y,"top"),X=T==="inside"||T==="inner";if(T==="center")H=S.cx,_=S.cy,Y="center";else{var he=(X?(S.r+S.r0)/2*P:S.r*P)+o,te=(X?(S.r+S.r0)/2*K:S.r*K)+h;if(H=he+P*3,_=te+K*3,!X){var pe=he+P*(U+a-S.r),Se=te+K*(U+a-S.r),we=pe+(P<0?-1:1)*M,We=Se;L==="edge"?H=P<0?n+N:n+s-N:H=we+(P<0?-w:w),_=We,Z=[[he,te],[pe,Se],[we,We]]}Y=X?"center":L==="edge"?P>0?"right":"left":P>0?"left":"right"}var qe,yt=C.get("rotate");typeof yt=="number"?qe=yt*(Math.PI/180):qe=yt?P<0?-j+Math.PI:-j:0,A=!!qe,S.label={x:H,y:_,position:T,height:Q.height,len:U,len2:M,linePoints:Z,textAlign:Y,verticalAlign:"middle",rotation:qe,inside:X,labelDistance:w,labelAlignTo:L,labelMargin:N,bleedMargin:D,textRect:Q,text:k,font:F},X||c.push(S.label)}),!A&&r.get("avoidLabelOverlap")&&b(c,o,h,a,s,l,n,u)}J.exports=i},u3os:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.ver=B.clear=B.bind=void 0;var d=e("P4Qj"),x=function(b,f){var i=(0,d.getSensor)(b);return i.bind(f),function(){i.unbind(f)}};B.bind=x;var g=function(b){var f=(0,d.getSensor)(b);(0,d.removeSensor)(f)};B.clear=g;var p="1.0.1";B.ver=p},u4NN:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("Uc92")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="EyeOutlined";var f=g.forwardRef(b);B.default=f},u8Dt:function(J,B,e){var d=e("YESw"),x="__lodash_hash_undefined__",g=Object.prototype,p=g.hasOwnProperty;function v(b){var f=this.__data__;if(d){var i=f[b];return i===x?void 0:i}return p.call(f,b)?f[b]:void 0}J.exports=v},u9fO:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("b80e"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},uAnK:function(J,B,e){var d=e("bYtY"),x=e("Kagy"),g=e("KxfA"),p=g.retrieveRawValue;function v(b,f){var i=f.getModel("aria");if(i.get("show")){if(i.get("description")){b.setAttribute("aria-label",i.get("description"));return}}else return;var r=0;f.eachSeries(function(O,S){++r},this);var a=i.get("data.maxCount")||10,s=i.get("series.maxCount")||10,l=Math.min(r,s),n;if(r<1)return;var u=A();u?n=o(h("general.withTitle"),{title:u}):n=h("general.withoutTitle");var t=[],c=r>1?"series.multiple.prefix":"series.single.prefix";n+=o(h(c),{seriesCount:r}),f.eachSeries(function(O,S){if(S<l){var E,C=O.get("name"),T="series."+(r>1?"multiple":"single")+".";E=h(C?T+"withName":T+"withoutName"),E=o(E,{seriesId:O.seriesIndex,seriesName:O.get("name"),seriesType:y(O.subType)});var w=O.getData();window.data=w,w.count()>a?E+=o(h("data.partialData"),{displayCnt:a}):E+=h("data.allData");for(var L=[],N=0;N<w.count();N++)if(N<a){var D=w.getName(N),F=p(w,N);L.push(o(h(D?"data.withName":"data.withoutName"),{name:D,value:F}))}E+=L.join(h("data.separator.middle"))+h("data.separator.end"),t.push(E)}}),n+=t.join(h("series.multiple.separator.middle"))+h("series.multiple.separator.end"),b.setAttribute("aria-label",n);function o(O,S){if(typeof O!="string")return O;var E=O;return d.each(S,function(C,T){E=E.replace(new RegExp("\\{\\s*"+T+"\\s*\\}","g"),C)}),E}function h(O){var S=i.get(O);if(S==null){for(var E=O.split("."),C=x.aria,T=0;T<E.length;++T)C=C[E[T]];return C}else return S}function A(){var O=f.getModel("title").option;return O&&O.length&&(O=O[0]),O&&O.text}function y(O){return x.series.typeNames[O]||"\u81EA\u5B9A\u4E49\u56FE"}}J.exports=v},uK0f:function(J,B,e){(function(d,x){J.exports=x()})(this,function(){"use strict";function d(x,g,p){p=p||{},p.childrenKeyName=p.childrenKeyName||"children";var v=x||[],b=[],f=0;do{var i=v.filter(function(r){return g(r,f)})[0];if(!i)break;b.push(i),v=i[p.childrenKeyName]||[],f+=1}while(v.length>0);return b}return d})},uOyE:function(J,B,e){var d=e("ProS");d.registerAction({type:"brush",event:"brush"},function(x,g){g.eachComponent({mainType:"brush",query:x},function(p){p.setAreas(x.areas)})}),d.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),d.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(J,B,e){J.exports=d;function d(){return e("gaXo"),{}}},ugBc:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};B.default=d},v56E:function(J,B,e){},v5uJ:function(J,B,e){var d=e("ProS"),x=e("2B6p"),g=x.updateCenterAndZoom;d.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(p,v){v.eachComponent({mainType:"series",subType:"tree",query:p},function(b){var f=p.dataIndex,i=b.getData().tree,r=i.getNodeByDataIndex(f);r.isExpand=!r.isExpand})}),d.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(p,v){v.eachComponent({mainType:"series",subType:"tree",query:p},function(b){var f=b.coordinateSystem,i=g(f,p);b.setCenter&&b.setCenter(i.center),b.setZoom&&b.setZoom(i.zoom)})})},"vF/C":function(J,B,e){var d=e("bLfw");d.registerSubTypeDefaulter("visualMap",function(x){return!x.categories&&(!(x.pieces?x.pieces.length>0:x.splitNumber>0)||x.calculable)?"continuous":"piecewise"})},vKoX:function(J,B,e){var d=e("SrGk"),x=e("bYtY");function g(b,f){d.call(this,b,f,["filter"],"__filter_in_use__","_shadowDom")}x.inherits(g,d),g.prototype.addWithoutUpdate=function(b,f){if(f&&p(f.style)){var i;if(f._shadowDom){i=f._shadowDom;var r=this.getDefs(!0);r.contains(f._shadowDom)||this.addDom(i)}else i=this.add(f);this.markUsed(f);var a=i.getAttribute("id");b.style.filter="url(#"+a+")"}},g.prototype.add=function(b){var f=this.createElement("filter");return b._shadowDomId=b._shadowDomId||this.nextId++,f.setAttribute("id","zr"+this._zrId+"-shadow-"+b._shadowDomId),this.updateDom(b,f),this.addDom(f),f},g.prototype.update=function(b,f){var i=f.style;if(p(i)){var r=this;d.prototype.update.call(this,f,function(){r.updateDom(f,f._shadowDom)})}else this.remove(b,f)},g.prototype.remove=function(b,f){f._shadowDomId!=null&&(this.removeDom(b),b.style.filter="")},g.prototype.updateDom=function(b,f){var i=f.getElementsByTagName("feDropShadow");i.length===0?i=this.createElement("feDropShadow"):i=i[0];var r=b.style,a=b.scale&&b.scale[0]||1,s=b.scale&&b.scale[1]||1,l,n,u,t;if(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)l=r.shadowOffsetX||0,n=r.shadowOffsetY||0,u=r.shadowBlur,t=r.shadowColor;else if(r.textShadowBlur)l=r.textShadowOffsetX||0,n=r.textShadowOffsetY||0,u=r.textShadowBlur,t=r.textShadowColor;else{this.removeDom(f,r);return}i.setAttribute("dx",l/a),i.setAttribute("dy",n/s),i.setAttribute("flood-color",t);var c=u/2/a,o=u/2/s,h=c+" "+o;i.setAttribute("stdDeviation",h),f.setAttribute("x","-100%"),f.setAttribute("y","-100%"),f.setAttribute("width",Math.ceil(u/2*200)+"%"),f.setAttribute("height",Math.ceil(u/2*200)+"%"),f.appendChild(i),b._shadowDom=f},g.prototype.markUsed=function(b){b._shadowDom&&d.prototype.markUsed.call(this,b._shadowDom)};function p(b){return b&&(b.shadowBlur||b.shadowOffsetX||b.shadowOffsetY||b.textShadowBlur||b.textShadowOffsetX||b.textShadowOffsetY)}var v=g;J.exports=v},vL6D:function(J,B,e){var d=e("bYtY"),x=e("+rIm"),g=e("IwbS"),p=e("7bkD"),v=e("Znkb"),b=e("WN+l"),f=b.rectCoordAxisBuildSplitArea,i=b.rectCoordAxisHandleRemove,r=["axisLine","axisTickLabel","axisName"],a=["splitArea","splitLine"],s=v.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(n,u,t,c){var o=this.group;o.removeAll();var h=this._axisGroup;this._axisGroup=new g.Group;var A=p.layout(n),y=new x(n,A);d.each(r,y.add,y),o.add(this._axisGroup),o.add(y.getGroup()),d.each(a,function(O){n.get(O+".show")&&this["_"+O](n)},this),g.groupTransition(h,this._axisGroup,n),s.superCall(this,"render",n,u,t,c)},remove:function(){i(this)},_splitLine:function(n){var u=n.axis;if(u.scale.isBlank())return;var t=n.getModel("splitLine"),c=t.getModel("lineStyle"),o=c.get("width"),h=c.get("color");h=h instanceof Array?h:[h];for(var A=n.coordinateSystem.getRect(),y=u.isHorizontal(),O=[],S=0,E=u.getTicksCoords({tickModel:t}),C=[],T=[],w=0;w<E.length;++w){var L=u.toGlobalCoord(E[w].coord);y?(C[0]=L,C[1]=A.y,T[0]=L,T[1]=A.y+A.height):(C[0]=A.x,C[1]=L,T[0]=A.x+A.width,T[1]=L);var N=S++%h.length;O[N]=O[N]||[],O[N].push(new g.Line({subPixelOptimize:!0,shape:{x1:C[0],y1:C[1],x2:T[0],y2:T[1]},style:{lineWidth:o},silent:!0}))}for(var w=0;w<O.length;++w)this.group.add(g.mergePath(O[w],{style:{stroke:h[w%h.length],lineDash:c.getLineDash(o),lineWidth:o},silent:!0}))},_splitArea:function(n){f(this,this._axisGroup,n,n)}}),l=s;J.exports=l},vWvF:function(J,B,e){var d=e("Bq2U"),x=e("SUKs"),g=e("bYtY"),p=g.isString,v=g.isFunction,b=g.isObject,f=g.isArrayLike,i=g.indexOf,r=function(){this.animators=[]};r.prototype={constructor:r,animate:function(t,c){var o,h=!1,A=this,y=this.__zr;if(t){var O=t.split("."),S=A;h=O[0]==="shape";for(var E=0,C=O.length;E<C;E++){if(!S)continue;S=S[O[E]]}S&&(o=S)}else o=A;if(!o){x('Property "'+t+'" is not existed in element '+A.id);return}var T=A.animators,w=new d(o,c);return w.during(function(L){A.dirty(h)}).done(function(){T.splice(i(T,w),1)}),T.push(w),y&&y.animation.addAnimator(w),w},stopAnimation:function(t){for(var c=this.animators,o=c.length,h=0;h<o;h++)c[h].stop(t);return c.length=0,this},animateTo:function(t,c,o,h,A,y){a(this,t,c,o,h,A,y)},animateFrom:function(t,c,o,h,A,y){a(this,t,c,o,h,A,y,!0)}};function a(u,t,c,o,h,A,y,O){p(o)?(A=h,h=o,o=0):v(h)?(A=h,h="linear",o=0):v(o)?(A=o,o=0):v(c)?(A=c,c=500):c||(c=500),u.stopAnimation(),s(u,"",u,t,c,o,O);var S=u.animators.slice(),E=S.length;function C(){E--,E||A&&A()}E||A&&A();for(var T=0;T<S.length;T++)S[T].done(C).start(h,y)}function s(u,t,c,o,h,A,y){var O={},S=0;for(var E in o){if(!o.hasOwnProperty(E))continue;c[E]!=null?b(o[E])&&!f(o[E])?s(u,t?t+"."+E:E,c[E],o[E],h,A,y):(y?(O[E]=c[E],l(u,t,E,o[E])):O[E]=o[E],S++):o[E]!=null&&!y&&l(u,t,E,o[E])}S>0&&u.animate(t,!1).when(h==null?500:h,O).delay(A||0)}function l(u,t,c,o){if(!t)u.attr(c,o);else{var h={};h[t]={},h[t][c]=o,u.attr(h)}}var n=r;J.exports=n},vZ6x:function(J,B,e){var d=e("Tghj"),x=d.__DEV__,g=e("bYtY"),p=e("IwbS"),v=e("4NO4"),b=e("9KIM"),f=g.each,i=g.indexOf,r=g.curry,a=["dataToPoint","pointToData"],s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function l(w,L,N){var D=this._targetInfoList=[],F={},R=t(L,w);f(c,function(U,M){(!N||!N.include||i(N.include,M)>=0)&&U(R,D,F)})}var n=l.prototype;n.setOutputRanges=function(w,L){this.matchOutputRanges(w,L,function(N,D,F){if((N.coordRanges||(N.coordRanges=[])).push(D),!N.coordRange){N.coordRange=D;var R=A[N.brushType](0,F,D);N.__rangeOffset={offset:O[N.brushType](R.values,N.range,[1,1]),xyMinMax:R.xyMinMax}}})},n.matchOutputRanges=function(w,L,N){f(w,function(D){var F=this.findTargetInfo(D,L);F&&F!==!0&&g.each(F.coordSyses,function(R){var U=A[D.brushType](1,R,D.range);N(D,U.values,R,L)})},this)},n.setInputRanges=function(w,L){f(w,function(N){var D=this.findTargetInfo(N,L);if(N.range=N.range||[],D&&D!==!0){N.panelId=D.panelId;var F=A[N.brushType](0,D.coordSys,N.coordRange),R=N.__rangeOffset;N.range=R?O[N.brushType](F.values,R.offset,E(F.xyMinMax,R.xyMinMax)):F.values}},this)},n.makePanelOpts=function(w,L){return g.map(this._targetInfoList,function(N){var D=N.getPanelRect();return{panelId:N.panelId,defaultBrushType:L&&L(N),clipPath:b.makeRectPanelClipPath(D),isTargetByCursor:b.makeRectIsTargetByCursor(D,w,N.coordSysModel),getLinearBrushOtherExtent:b.makeLinearBrushOtherExtent(D)}})},n.controlSeries=function(w,L,N){var D=this.findTargetInfo(w,N);return D===!0||D&&i(D.coordSyses,L.coordinateSystem)>=0},n.findTargetInfo=function(w,L){for(var N=this._targetInfoList,D=t(L,w),F=0;F<N.length;F++){var R=N[F],U=w.panelId;if(U){if(R.panelId===U)return R}else for(var F=0;F<o.length;F++)if(o[F](D,R))return R}return!0};function u(w){return w[0]>w[1]&&w.reverse(),w}function t(w,L){return v.parseFinder(w,L,{includeMainTypes:s})}var c={grid:function(w,L){var N=w.xAxisModels,D=w.yAxisModels,F=w.gridModels,R=g.createHashMap(),U={},M={};if(!N&&!D&&!F)return;f(N,function(j){var P=j.axis.grid.model;R.set(P.id,P),U[P.id]=!0}),f(D,function(j){var P=j.axis.grid.model;R.set(P.id,P),M[P.id]=!0}),f(F,function(j){R.set(j.id,j),U[j.id]=!0,M[j.id]=!0}),R.each(function(j){var P=j.coordinateSystem,K=[];f(P.getCartesians(),function(H,_){(i(N,H.getAxis("x").model)>=0||i(D,H.getAxis("y").model)>=0)&&K.push(H)}),L.push({panelId:"grid--"+j.id,gridModel:j,coordSysModel:j,coordSys:K[0],coordSyses:K,getPanelRect:h.grid,xAxisDeclared:U[j.id],yAxisDeclared:M[j.id]})})},geo:function(w,L){f(w.geoModels,function(N){var D=N.coordinateSystem;L.push({panelId:"geo--"+N.id,geoModel:N,coordSysModel:N,coordSys:D,coordSyses:[D],getPanelRect:h.geo})})}},o=[function(w,L){var N=w.xAxisModel,D=w.yAxisModel,F=w.gridModel;return!F&&N&&(F=N.axis.grid.model),!F&&D&&(F=D.axis.grid.model),F&&F===L.gridModel},function(w,L){var N=w.geoModel;return N&&N===L.geoModel}],h={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var w=this.coordSys,L=w.getBoundingRect().clone();return L.applyTransform(p.getTransform(w)),L}},A={lineX:r(y,0),lineY:r(y,1),rect:function(w,L,N){var D=L[a[w]]([N[0][0],N[1][0]]),F=L[a[w]]([N[0][1],N[1][1]]),R=[u([D[0],F[0]]),u([D[1],F[1]])];return{values:R,xyMinMax:R}},polygon:function(w,L,N){var D=[[Infinity,-Infinity],[Infinity,-Infinity]],F=g.map(N,function(R){var U=L[a[w]](R);return D[0][0]=Math.min(D[0][0],U[0]),D[1][0]=Math.min(D[1][0],U[1]),D[0][1]=Math.max(D[0][1],U[0]),D[1][1]=Math.max(D[1][1],U[1]),U});return{values:F,xyMinMax:D}}};function y(w,L,N,D){var F=N.getAxis(["x","y"][w]),R=u(g.map([0,1],function(M){return L?F.coordToData(F.toLocalCoord(D[M])):F.toGlobalCoord(F.dataToCoord(D[M]))})),U=[];return U[w]=R,U[1-w]=[NaN,NaN],{values:R,xyMinMax:U}}var O={lineX:r(S,0),lineY:r(S,1),rect:function(w,L,N){return[[w[0][0]-N[0]*L[0][0],w[0][1]-N[0]*L[0][1]],[w[1][0]-N[1]*L[1][0],w[1][1]-N[1]*L[1][1]]]},polygon:function(w,L,N){return g.map(w,function(D,F){return[D[0]-N[0]*L[F][0],D[1]-N[1]*L[F][1]]})}};function S(w,L,N,D){return[L[0]-D[w]*N[0],L[1]-D[w]*N[1]]}function E(w,L){var N=C(w),D=C(L),F=[N[0]/D[0],N[1]/D[1]];return isNaN(F[0])&&(F[0]=1),isNaN(F[1])&&(F[1]=1),F}function C(w){return w?[w[0][1]-w[0][0],w[1][1]-w[1][0]]:[NaN,NaN]}var T=l;J.exports=T},vZI5:function(J,B,e){var d=e("bYtY"),x=e("T4UG"),g=e("5GhG"),p=g.seriesModelMixin,v=x.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(f,i,r){var a=i.getItemLayout(f);return a&&r.rect(a.brushRect)}});d.mixin(v,p,!0);var b=v;J.exports=b},vafp:function(J,B,e){var d=e("bYtY"),x=e("8nly");function g(b){if(!b.UTF8Encoding)return b;var f=b.UTF8Scale;f==null&&(f=1024);for(var i=b.features,r=0;r<i.length;r++)for(var a=i[r],s=a.geometry,l=s.coordinates,n=s.encodeOffsets,u=0;u<l.length;u++){var t=l[u];if(s.type==="Polygon")l[u]=p(t,n[u],f);else if(s.type==="MultiPolygon")for(var c=0;c<t.length;c++){var o=t[c];t[c]=p(o,n[u][c],f)}}return b.UTF8Encoding=!1,b}function p(b,f,i){for(var r=[],a=f[0],s=f[1],l=0;l<b.length;l+=2){var n=b.charCodeAt(l)-64,u=b.charCodeAt(l+1)-64;n=n>>1^-(n&1),u=u>>1^-(u&1),n+=a,u+=s,a=n,s=u,r.push([n/i,u/i])}return r}function v(b,f){return g(b),d.map(d.filter(b.features,function(i){return i.geometry&&i.properties&&i.geometry.coordinates.length>0}),function(i){var r=i.properties,a=i.geometry,s=a.coordinates,l=[];a.type==="Polygon"&&l.push({type:"polygon",exterior:s[0],interiors:s.slice(1)}),a.type==="MultiPolygon"&&d.each(s,function(u){u[0]&&l.push({type:"polygon",exterior:u[0],interiors:u.slice(1)})});var n=new x(r[f||"name"],l,r.cp);return n.properties=r,n})}J.exports=v},vcCh:function(J,B,e){var d=e("ProS");e("0qV/"),d.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(x,g){g.eachComponent({mainType:"series",subType:"sankey",query:x},function(p){p.setNodePosition(x.dataIndex,[x.localX,x.localY])})})},vg9a:function(J,B,e){},"vk+C":function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("RZPm"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},w5pM:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="PlusCircleOutlined";var b=B.a=d.forwardRef(v)},w6Tc:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var d=x(e("apAg"));function x(p){return p&&p.__esModule?p:{default:p}}var g=d;B.default=g,J.exports=g},wCAj:function(J,B,e){"use strict";var d=e("cDf5"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("J4zp"),b=e.n(v),f=e("pVnL"),i=e.n(f),r=e("q1tI"),a=e("TSYQ"),s=e.n(a),l=e("BGR+"),n=e("rePB"),u=e("VTBJ"),t=e("KQm4"),c=e("U8pU"),o=e("ODXe"),h=e("Gytx"),A=e.n(h),y=e("Kwbf"),O=e("t23M"),S=e("qx4F");function E(er){return null}var C=E;function T(er){return null}var w=T,L=e("Ff2n"),N=e("c+Xe"),D="RC_TABLE_KEY";function F(er){return er==null?[]:Array.isArray(er)?er:[er]}function R(er,Cr){if(!Cr&&typeof Cr!="number")return er;for(var Ur=F(Cr),Kr=er,hn=0;hn<Ur.length;hn+=1){if(!Kr)return null;var Fe=Ur[hn];Kr=Kr[Fe]}return Kr}function U(er){var Cr=[],Ur={};return er.forEach(function(Kr){for(var hn=Kr||{},Fe=hn.key,Rt=hn.dataIndex,Xt=Fe||F(Rt).join("-")||D;Ur[Xt];)Xt="".concat(Xt,"_next");Ur[Xt]=!0,Cr.push(Xt)}),Cr}function M(){var er={};function Cr(Fe,Rt){Rt&&Object.keys(Rt).forEach(function(Xt){var tr=Rt[Xt];tr&&Object(c.a)(tr)==="object"?(Fe[Xt]=Fe[Xt]||{},Cr(Fe[Xt],tr)):Fe[Xt]=tr})}for(var Ur=arguments.length,Kr=new Array(Ur),hn=0;hn<Ur;hn++)Kr[hn]=arguments[hn];return Kr.forEach(function(Fe){Cr(er,Fe)}),er}function j(er){return er!=null}function P(er){return er&&Object(c.a)(er)==="object"&&!Array.isArray(er)&&!r.isValidElement(er)}function K(er){return typeof er=="string"?!0:Object(N.c)(er)}function H(er,Cr){var Ur,Kr=er.prefixCls,hn=er.className,Fe=er.record,Rt=er.index,Xt=er.dataIndex,tr=er.render,Or=er.children,br=er.component,xr=br===void 0?"td":br,Wr=er.colSpan,Zr=er.rowSpan,$r=er.fixLeft,an=er.fixRight,rt=er.firstFixLeft,jt=er.lastFixLeft,ir=er.firstFixRight,yr=er.lastFixRight,Br=er.appendNode,Dr=er.additionalProps,rn=Dr===void 0?{}:Dr,fn=er.ellipsis,wn=er.align,Hn=er.rowType,Sn=er.isSticky,bn="".concat(Kr,"-cell"),Bn,vn;if(Or)vn=Or;else{var Mn=R(Fe,Xt);if(vn=Mn,tr){var En=tr(Mn,Fe,Rt);P(En)?(vn=En.children,Bn=En.props):vn=En}}Object(c.a)(vn)==="object"&&!Array.isArray(vn)&&!r.isValidElement(vn)&&(vn=null),fn&&(jt||ir)&&(vn=r.createElement("span",{className:"".concat(bn,"-content")},vn));var Tn=Bn||{},Yn=Tn.colSpan,ai=Tn.rowSpan,ri=Tn.style,Ri=Tn.className,Ai=Object(L.a)(Tn,["colSpan","rowSpan","style","className"]),xi=Yn!==void 0?Yn:Wr,Oi=ai!==void 0?ai:Zr;if(xi===0||Oi===0)return null;var _n={},Mi=typeof $r=="number",fa=typeof an=="number";Mi&&(_n.position="sticky",_n.left=$r),fa&&(_n.position="sticky",_n.right=an);var _i={};wn&&(_i.textAlign=wn);var Bi,mi=fn===!0?{showTitle:!0}:fn;mi&&(mi.showTitle||Hn==="header")&&(typeof vn=="string"||typeof vn=="number"?Bi=vn.toString():r.isValidElement(vn)&&typeof vn.props.children=="string"&&(Bi=vn.props.children));var hi=Object(u.a)(Object(u.a)(Object(u.a)({title:Bi},Ai),rn),{},{colSpan:xi&&xi!==1?xi:null,rowSpan:Oi&&Oi!==1?Oi:null,className:s()(bn,hn,(Ur={},Object(n.a)(Ur,"".concat(bn,"-fix-left"),Mi),Object(n.a)(Ur,"".concat(bn,"-fix-left-first"),rt),Object(n.a)(Ur,"".concat(bn,"-fix-left-last"),jt),Object(n.a)(Ur,"".concat(bn,"-fix-right"),fa),Object(n.a)(Ur,"".concat(bn,"-fix-right-first"),ir),Object(n.a)(Ur,"".concat(bn,"-fix-right-last"),yr),Object(n.a)(Ur,"".concat(bn,"-ellipsis"),fn),Object(n.a)(Ur,"".concat(bn,"-with-append"),Br),Object(n.a)(Ur,"".concat(bn,"-fix-sticky"),(Mi||fa)&&Sn),Ur),rn.className,Ri),style:Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},rn.style),_i),_n),ri),ref:K(xr)?Cr:null});return r.createElement(xr,Object.assign({},hi),Br,vn)}var _=r.forwardRef(H);_.displayName="Cell";var Z=r.memo(_,function(er,Cr){return Cr.shouldCellUpdate?!Cr.shouldCellUpdate(Cr.record,er.record):!1}),Y=Z,k=r.createContext(null),Q=k;function X(er,Cr,Ur,Kr,hn){var Fe=Ur[er]||{},Rt=Ur[Cr]||{},Xt,tr;Fe.fixed==="left"?Xt=Kr.left[er]:Rt.fixed==="right"&&(tr=Kr.right[Cr]);var Or=!1,br=!1,xr=!1,Wr=!1,Zr=Ur[Cr+1],$r=Ur[er-1];if(hn==="rtl"){if(Xt!==void 0){var an=$r&&$r.fixed==="left";Wr=!an}else if(tr!==void 0){var rt=Zr&&Zr.fixed==="right";xr=!rt}}else if(Xt!==void 0){var jt=Zr&&Zr.fixed==="left";Or=!jt}else if(tr!==void 0){var ir=$r&&$r.fixed==="right";br=!ir}return{fixLeft:Xt,fixRight:tr,lastFixLeft:Or,firstFixRight:br,lastFixRight:xr,firstFixLeft:Wr,isSticky:Kr.isSticky}}function he(er){var Cr=er.cells,Ur=er.stickyOffsets,Kr=er.flattenColumns,hn=er.rowComponent,Fe=er.cellComponent,Rt=er.onHeaderRow,Xt=er.index,tr=r.useContext(Q),Or=tr.prefixCls,br=tr.direction,xr;Rt&&(xr=Rt(Cr.map(function(Zr){return Zr.column}),Xt));var Wr=U(Cr.map(function(Zr){return Zr.column}));return r.createElement(hn,Object.assign({},xr),Cr.map(function(Zr,$r){var an=Zr.column,rt=X(Zr.colStart,Zr.colEnd,Kr,Ur,br),jt;return an&&an.onHeaderCell&&(jt=Zr.column.onHeaderCell(an)),r.createElement(Y,Object.assign({},Zr,{ellipsis:an.ellipsis,align:an.align,component:Fe,prefixCls:Or,key:Wr[$r]},rt,{additionalProps:jt,rowType:"header"}))}))}he.displayName="HeaderRow";var te=he;function pe(er){var Cr=[];function Ur(Rt,Xt){var tr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Cr[tr]=Cr[tr]||[];var Or=Xt,br=Rt.filter(Boolean).map(function(xr){var Wr={key:xr.key,className:xr.className||"",children:xr.title,column:xr,colStart:Or},Zr=1,$r=xr.children;return $r&&$r.length>0&&(Zr=Ur($r,Or,tr+1).reduce(function(an,rt){return an+rt},0),Wr.hasSubColumns=!0),"colSpan"in xr&&(Zr=xr.colSpan),"rowSpan"in xr&&(Wr.rowSpan=xr.rowSpan),Wr.colSpan=Zr,Wr.colEnd=Wr.colStart+Zr-1,Cr[tr].push(Wr),Or+=Zr,Zr});return br}Ur(er,0);for(var Kr=Cr.length,hn=function(Xt){Cr[Xt].forEach(function(tr){!("rowSpan"in tr)&&!tr.hasSubColumns&&(tr.rowSpan=Kr-Xt)})},Fe=0;Fe<Kr;Fe+=1)hn(Fe);return Cr}function Se(er){var Cr=er.stickyOffsets,Ur=er.columns,Kr=er.flattenColumns,hn=er.onHeaderRow,Fe=r.useContext(Q),Rt=Fe.prefixCls,Xt=Fe.getComponent,tr=r.useMemo(function(){return pe(Ur)},[Ur]),Or=Xt(["header","wrapper"],"thead"),br=Xt(["header","row"],"tr"),xr=Xt(["header","cell"],"th");return r.createElement(Or,{className:"".concat(Rt,"-thead")},tr.map(function(Wr,Zr){var $r=r.createElement(te,{key:Zr,flattenColumns:Kr,cells:Wr,stickyOffsets:Cr,rowComponent:br,cellComponent:xr,onHeaderRow:hn,index:Zr});return $r}))}var we=Se,We="RC_TABLE_INTERNAL_COL_DEFINE";function qe(er){var Cr=er.expandable,Ur=Object(L.a)(er,["expandable"]);return"expandable"in er?Object(u.a)(Object(u.a)({},Ur),Cr):Ur}function yt(er){return Object.keys(er).reduce(function(Cr,Ur){return(Ur.substr(0,5)==="data-"||Ur.substr(0,5)==="aria-")&&(Cr[Ur]=er[Ur]),Cr},{})}function _e(er){for(var Cr=er.colWidths,Ur=er.columns,Kr=er.columCount,hn=[],Fe=Kr||Ur.length,Rt=!1,Xt=Fe-1;Xt>=0;Xt-=1){var tr=Cr[Xt],Or=Ur&&Ur[Xt],br=Or&&Or[We];(tr||br||Rt)&&(hn.unshift(r.createElement("col",Object.assign({key:Xt,style:{width:tr,minWidth:tr}},br))),Rt=!0)}return r.createElement("colgroup",null,hn)}var je=_e;function Ct(er,Cr){return Object(r.useMemo)(function(){for(var Ur=[],Kr=0;Kr<Cr;Kr+=1){var hn=er[Kr];if(hn)Ur[Kr]=hn;else return null}return Ur},[er.join("_"),Cr])}function ct(er){var Cr=er.noData,Ur=er.columns,Kr=er.flattenColumns,hn=er.colWidths,Fe=er.columCount,Rt=er.stickyOffsets,Xt=er.direction,tr=er.fixHeader,Or=Object(L.a)(er,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader"]),br=r.useContext(Q),xr=br.prefixCls,Wr=br.scrollbarSize,Zr=br.isSticky,$r=Zr&&!tr?0:Wr,an=Kr[Kr.length-1],rt={fixed:an?an.fixed:null,onHeaderCell:function(){return{className:"".concat(xr,"-cell-scrollbar")}}},jt=Object(r.useMemo)(function(){return $r?[].concat(Object(t.a)(Ur),[rt]):Ur},[$r,Ur]),ir=Object(r.useMemo)(function(){return $r?[].concat(Object(t.a)(Kr),[rt]):Kr},[$r,Kr]),yr=Object(r.useMemo)(function(){var Dr=Rt.right,rn=Rt.left;return Object(u.a)(Object(u.a)({},Rt),{},{left:Xt==="rtl"?[].concat(Object(t.a)(rn.map(function(fn){return fn+$r})),[0]):rn,right:Xt==="rtl"?Dr:[].concat(Object(t.a)(Dr.map(function(fn){return fn+$r})),[0]),isSticky:Zr})},[$r,Rt,Zr]),Br=Ct(hn,Fe);return r.createElement("table",{style:{tableLayout:"fixed",visibility:Cr||Br?null:"hidden"}},r.createElement(je,{colWidths:Br?[].concat(Object(t.a)(Br),[$r]):[],columCount:Fe+1,columns:ir}),r.createElement(we,Object.assign({},Or,{stickyOffsets:yr,columns:jt,flattenColumns:ir})))}var nt=ct,bt=r.createContext(null),dt=bt;function vt(er){var Cr=er.prefixCls,Ur=er.children,Kr=er.component,hn=er.cellComponent,Fe=er.fixHeader,Rt=er.fixColumn,Xt=er.horizonScroll,tr=er.className,Or=er.expanded,br=er.componentWidth,xr=er.colSpan,Wr=r.useContext(Q),Zr=Wr.scrollbarSize;return r.useMemo(function(){var $r=Ur;return Rt&&($r=r.createElement("div",{style:{width:br-(Fe?Zr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Cr,"-expanded-row-fixed")},$r)),r.createElement(Kr,{className:tr,style:{display:Or?null:"none"}},r.createElement(Y,{component:hn,prefixCls:Cr,colSpan:xr},$r))},[Ur,Kr,Fe,Xt,tr,Or,br,xr,Zr])}var Qe=vt;function mt(er){var Cr=er.className,Ur=er.style,Kr=er.record,hn=er.index,Fe=er.rowKey,Rt=er.getRowKey,Xt=er.rowExpandable,tr=er.expandedKeys,Or=er.onRow,br=er.indent,xr=br===void 0?0:br,Wr=er.rowComponent,Zr=er.cellComponent,$r=er.childrenColumnName,an=r.useContext(Q),rt=an.prefixCls,jt=an.fixedInfoList,ir=r.useContext(dt),yr=ir.fixHeader,Br=ir.fixColumn,Dr=ir.horizonScroll,rn=ir.componentWidth,fn=ir.flattenColumns,wn=ir.expandableType,Hn=ir.expandRowByClick,Sn=ir.onTriggerExpand,bn=ir.rowClassName,Bn=ir.expandedRowClassName,vn=ir.indentSize,Mn=ir.expandIcon,En=ir.expandedRowRender,Tn=ir.expandIconColumnIndex,Yn=r.useState(!1),ai=Object(o.a)(Yn,2),ri=ai[0],Ri=ai[1],Ai=tr&&tr.has(er.recordKey);r.useEffect(function(){Ai&&Ri(!0)},[Ai]);var xi=wn==="row"&&(!Xt||Xt(Kr)),Oi=wn==="nest",_n=$r&&Kr&&Kr[$r],Mi=xi||Oi,fa;Or&&(fa=Or(Kr,hn));var _i=function(sa){if(Hn&&Mi&&Sn(Kr,sa),fa&&fa.onClick){for(var Di,qn=arguments.length,yi=new Array(qn>1?qn-1:0),Ti=1;Ti<qn;Ti++)yi[Ti-1]=arguments[Ti];(Di=fa).onClick.apply(Di,[sa].concat(yi))}},Bi;typeof bn=="string"?Bi=bn:typeof bn=="function"&&(Bi=bn(Kr,hn,xr));var mi=U(fn),hi=r.createElement(Wr,Object.assign({},fa,{"data-row-key":Fe,className:s()(Cr,"".concat(rt,"-row"),"".concat(rt,"-row-level-").concat(xr),Bi,fa&&fa.className),style:Object(u.a)(Object(u.a)({},Ur),fa?fa.style:null),onClick:_i}),fn.map(function(oa,sa){var Di=oa.render,qn=oa.dataIndex,yi=oa.className,Ti=mi[sa],Vi=jt[sa],Yi;sa===(Tn||0)&&Oi&&(Yi=r.createElement(r.Fragment,null,r.createElement("span",{style:{paddingLeft:"".concat(vn*xr,"px")},className:"".concat(rt,"-row-indent indent-level-").concat(xr)}),Mn({prefixCls:rt,expanded:Ai,expandable:_n,record:Kr,onExpand:Sn})));var bi;return oa.onCell&&(bi=oa.onCell(Kr,hn)),r.createElement(Y,Object.assign({className:yi,ellipsis:oa.ellipsis,align:oa.align,component:Zr,prefixCls:rt,key:Ti,record:Kr,index:hn,dataIndex:qn,render:Di,shouldCellUpdate:oa.shouldCellUpdate},Vi,{appendNode:Yi,additionalProps:bi}))})),Ji;if(xi&&(ri||Ai)){var va=En(Kr,hn,xr+1,Ai),Ea=Bn&&Bn(Kr,hn,xr);Ji=r.createElement(Qe,{expanded:Ai,className:s()("".concat(rt,"-expanded-row"),"".concat(rt,"-expanded-row-level-").concat(xr+1),Ea),prefixCls:rt,fixHeader:yr,fixColumn:Br,horizonScroll:Dr,component:Wr,componentWidth:rn,cellComponent:Zr,colSpan:fn.length},va)}var Aa;return _n&&Ai&&(Aa=(Kr[$r]||[]).map(function(oa,sa){var Di=Rt(oa,sa);return r.createElement(mt,Object.assign({},er,{key:Di,rowKey:Di,record:oa,recordKey:Di,index:sa,indent:xr+1}))})),r.createElement(r.Fragment,null,hi,Ji,Aa)}mt.displayName="BodyRow";var Pe=mt,De=r.createContext(null),Ie=De;function ot(er){var Cr=er.data,Ur=er.getRowKey,Kr=er.measureColumnWidth,hn=er.expandedKeys,Fe=er.onRow,Rt=er.rowExpandable,Xt=er.emptyNode,tr=er.childrenColumnName,Or=r.useContext(Ie),br=Or.onColumnResize,xr=r.useContext(Q),Wr=xr.prefixCls,Zr=xr.getComponent,$r=r.useContext(dt),an=$r.fixHeader,rt=$r.horizonScroll,jt=$r.flattenColumns,ir=$r.componentWidth;return r.useMemo(function(){var yr=Zr(["body","wrapper"],"tbody"),Br=Zr(["body","row"],"tr"),Dr=Zr(["body","cell"],"td"),rn;Cr.length?rn=Cr.map(function(wn,Hn){var Sn=Ur(wn,Hn);return r.createElement(Pe,{key:Sn,rowKey:Sn,record:wn,recordKey:Sn,index:Hn,rowComponent:Br,cellComponent:Dr,expandedKeys:hn,onRow:Fe,getRowKey:Ur,rowExpandable:Rt,childrenColumnName:tr})}):rn=r.createElement(Qe,{expanded:!0,className:"".concat(Wr,"-placeholder"),prefixCls:Wr,fixHeader:an,fixColumn:rt,horizonScroll:rt,component:Br,componentWidth:ir,cellComponent:Dr,colSpan:jt.length},Xt);var fn=U(jt);return r.createElement(yr,{className:"".concat(Wr,"-tbody")},Kr&&r.createElement("tr",{"aria-hidden":"true",className:"".concat(Wr,"-measure-row"),style:{height:0}},fn.map(function(wn){return r.createElement(O.a,{key:wn,onResize:function(Sn){var bn=Sn.offsetWidth;br(wn,bn)}},r.createElement("td",{style:{padding:0,border:0,height:0}}))})),rn)},[Cr,Wr,Fe,Kr,hn,Ur,Zr,ir,Xt,jt])}var wt=r.memo(ot);wt.displayName="Body";var Bt=wt,_t=e("Zm9Q");function Ue(er){return Object(_t.a)(er).filter(function(Cr){return r.isValidElement(Cr)}).map(function(Cr){var Ur=Cr.key,Kr=Cr.props,hn=Kr.children,Fe=Object(L.a)(Kr,["children"]),Rt=Object(u.a)({key:Ur},Fe);return hn&&(Rt.children=Ue(hn)),Rt})}function zt(er){return er.reduce(function(Cr,Ur){var Kr=Ur.fixed,hn=Kr===!0?"left":Kr,Fe=Ur.children;return Fe&&Fe.length>0?[].concat(Object(t.a)(Cr),Object(t.a)(zt(Fe).map(function(Rt){return Object(u.a)({fixed:hn},Rt)}))):[].concat(Object(t.a)(Cr),[Object(u.a)(Object(u.a)({},Ur),{},{fixed:hn})])},[])}function xt(er){for(var Cr=!0,Ur=0;Ur<er.length;Ur+=1){var Kr=er[Ur];if(Cr&&Kr.fixed!=="left")Cr=!1;else if(!Cr&&Kr.fixed==="left"){Object(y.a)(!1,"Index ".concat(Ur-1," of `columns` missing `fixed='left'` prop."));break}}for(var hn=!0,Fe=er.length-1;Fe>=0;Fe-=1){var Rt=er[Fe];if(hn&&Rt.fixed!=="right")hn=!1;else if(!hn&&Rt.fixed==="right"){Object(y.a)(!1,"Index ".concat(Fe+1," of `columns` missing `fixed='right'` prop."));break}}}function Pt(er){return er.map(function(Cr){var Ur=Cr.fixed,Kr=Object(L.a)(Cr,["fixed"]),hn=Ur;return Ur==="left"?hn="right":Ur==="right"&&(hn="left"),Object(u.a)({fixed:hn},Kr)})}function Ke(er,Cr){var Ur=er.prefixCls,Kr=er.columns,hn=er.children,Fe=er.expandable,Rt=er.expandedKeys,Xt=er.getRowKey,tr=er.onTriggerExpand,Or=er.expandIcon,br=er.rowExpandable,xr=er.expandIconColumnIndex,Wr=er.direction,Zr=er.expandRowByClick,$r=r.useMemo(function(){return Kr||Ue(hn)},[Kr,hn]),an=r.useMemo(function(){if(Fe){var ir,yr=xr||0,Br=$r[yr],Dr=(ir={},Object(n.a)(ir,We,{className:"".concat(Ur,"-expand-icon-col")}),Object(n.a)(ir,"title",""),Object(n.a)(ir,"fixed",Br?Br.fixed:null),Object(n.a)(ir,"className","".concat(Ur,"-row-expand-icon-cell")),Object(n.a)(ir,"render",function(wn,Hn,Sn){var bn=Xt(Hn,Sn),Bn=Rt.has(bn),vn=br?br(Hn):!0,Mn=Or({prefixCls:Ur,expanded:Bn,expandable:vn,record:Hn,onExpand:tr});return Zr?r.createElement("span",{onClick:function(Tn){return Tn.stopPropagation()}},Mn):Mn}),ir),rn=$r.slice();return yr>=0&&rn.splice(yr,0,Dr),rn}return $r},[Fe,$r,Xt,Rt,Or,Wr]),rt=r.useMemo(function(){var ir=an;return Cr&&(ir=Cr(ir)),ir.length||(ir=[{render:function(){return null}}]),ir},[Cr,an,Wr]),jt=r.useMemo(function(){return Wr==="rtl"?Pt(zt(rt)):zt(rt)},[rt,Wr]);return[rt,jt]}var Ye=Ke,$e=e("xEkU"),ut=e.n($e);function et(er){var Cr=Object(r.useRef)(er),Ur=Object(r.useState)({}),Kr=Object(o.a)(Ur,2),hn=Kr[1],Fe=Object(r.useRef)(null),Rt=Object(r.useRef)([]);function Xt(tr){Fe.current===null&&(Rt.current=[],Fe.current=ut()(function(){Rt.current.forEach(function(Or){Cr.current=Or(Cr.current)}),Fe.current=null,hn({})})),Rt.current.push(tr)}return Object(r.useEffect)(function(){return function(){ut.a.cancel(Fe.current)}},[]),[Cr.current,Xt]}function oe(er){var Cr=Object(r.useRef)(er),Ur=Object(r.useRef)(null);function Kr(){window.clearTimeout(Ur.current)}function hn(Rt){Cr.current=Rt,Kr(),Ur.current=window.setTimeout(function(){Cr.current=null,Ur.current=null},100)}function Fe(){return Cr.current}return Object(r.useEffect)(function(){return Kr},[]),[hn,Fe]}function me(er,Cr,Ur){var Kr=Object(r.useMemo)(function(){for(var hn=[],Fe=[],Rt=0,Xt=0,tr=0;tr<Cr;tr+=1)if(Ur==="rtl"){Fe[tr]=Xt,Xt+=er[tr]||0;var Or=Cr-tr-1;hn[Or]=Rt,Rt+=er[Or]||0}else{hn[tr]=Rt,Rt+=er[tr]||0;var br=Cr-tr-1;Fe[br]=Xt,Xt+=er[br]||0}return{left:hn,right:Fe}},[er,Cr,Ur]);return Kr}var it=me;function Be(er){var Cr=er.className,Ur=er.children;return r.createElement("div",{className:Cr},Ur)}var ht=Be;function Mr(er){var Cr=er.className,Ur=er.index,Kr=er.children,hn=er.colSpan,Fe=er.rowSpan,Rt=r.useContext(Q),Xt=Rt.prefixCls,tr=Rt.fixedInfoList,Or=tr[Ur];return r.createElement(Y,Object.assign({className:Cr,index:Ur,component:"td",prefixCls:Xt,record:null,dataIndex:null,render:function(){return{children:Kr,props:{colSpan:hn,rowSpan:Fe}}}},Or))}function Lt(er){return r.createElement("tr",Object.assign({},er))}function or(er){var Cr=er.children,Ur=r.useContext(Q),Kr=Ur.prefixCls;return r.createElement("tfoot",{className:"".concat(Kr,"-summary")},Cr)}var Qt=or,qt={Cell:Mr,Row:Lt};function hr(er){var Cr,Ur=er.prefixCls,Kr=er.record,hn=er.onExpand,Fe=er.expanded,Rt=er.expandable,Xt="".concat(Ur,"-row-expand-icon");if(!Rt)return r.createElement("span",{className:s()(Xt,"".concat(Ur,"-row-spaced"))});var tr=function(br){hn(Kr,br),br.stopPropagation()};return r.createElement("span",{className:s()(Xt,(Cr={},Object(n.a)(Cr,"".concat(Ur,"-row-expanded"),Fe),Object(n.a)(Cr,"".concat(Ur,"-row-collapsed"),!Fe),Cr)),onClick:tr})}function Gt(er,Cr,Ur){var Kr=[];function hn(Fe){(Fe||[]).forEach(function(Rt,Xt){Kr.push(Cr(Rt,Xt)),hn(Rt[Ur])})}return hn(er),Kr}var de=e("zT1h"),ue=e("y0+3"),se=function(Cr,Ur){var Kr,hn,Fe=Cr.scrollBodyRef,Rt=Cr.onScroll,Xt=Cr.offsetScroll,tr=r.useContext(Q),Or=tr.prefixCls,br=((Kr=Fe.current)===null||Kr===void 0?void 0:Kr.scrollWidth)||0,xr=((hn=Fe.current)===null||hn===void 0?void 0:hn.clientWidth)||0,Wr=br&&xr*(xr/br),Zr=r.useRef(),$r=et({scrollLeft:0,isHiddenScrollBar:!1}),an=Object(o.a)($r,2),rt=an[0],jt=an[1],ir=r.useRef({delta:0,x:0}),yr=r.useState(!1),Br=Object(o.a)(yr,2),Dr=Br[0],rn=Br[1],fn=function(){rn(!1)},wn=function(vn){vn.persist(),ir.current.delta=vn.pageX-rt.scrollLeft,ir.current.x=0,rn(!0),vn.preventDefault()},Hn=function(vn){var Mn,En=vn||((Mn=window)===null||Mn===void 0?void 0:Mn.event),Tn=En.buttons;if(!Dr||Tn===0){Dr&&rn(!1);return}var Yn=ir.current.x+vn.pageX-ir.current.x-ir.current.delta;Yn<=0&&(Yn=0),Yn+Wr>=xr&&(Yn=xr-Wr),Rt({scrollLeft:Yn/xr*(br+2)}),ir.current.x=vn.pageX},Sn=function(){var vn=Object(ue.b)(Fe.current).top,Mn=vn+Fe.current.offsetHeight,En=document.documentElement.scrollTop+window.innerHeight;Mn-Object(S.a)()<=En||vn>=En-Xt?jt(function(Tn){return Object(u.a)(Object(u.a)({},Tn),{},{isHiddenScrollBar:!0})}):jt(function(Tn){return Object(u.a)(Object(u.a)({},Tn),{},{isHiddenScrollBar:!1})})},bn=function(vn){jt(function(Mn){return Object(u.a)(Object(u.a)({},Mn),{},{scrollLeft:vn/br*xr||0})})};return r.useImperativeHandle(Ur,function(){return{setScrollLeft:bn}}),r.useEffect(function(){var Bn=Object(de.a)(document.body,"mouseup",fn,!1),vn=Object(de.a)(document.body,"mousemove",Hn,!1);return Sn(),function(){Bn.remove(),vn.remove()}},[Wr,Dr]),r.useEffect(function(){var Bn=Object(de.a)(window,"scroll",Sn,!1),vn=Object(de.a)(window,"resize",Sn,!1);return function(){Bn.remove(),vn.remove()}},[]),r.useEffect(function(){rt.isHiddenScrollBar||jt(function(Bn){var vn,Mn;return Object(u.a)(Object(u.a)({},Bn),{},{scrollLeft:Fe.current.scrollLeft/((vn=Fe.current)===null||vn===void 0?void 0:vn.scrollWidth)*((Mn=Fe.current)===null||Mn===void 0?void 0:Mn.clientWidth)})})},[rt.isHiddenScrollBar]),br<=xr||!Wr||rt.isHiddenScrollBar?null:r.createElement("div",{style:{height:Object(S.a)(),width:xr,bottom:Xt},className:"".concat(Or,"-sticky-scroll")},r.createElement("div",{onMouseDown:wn,ref:Zr,className:s()("".concat(Or,"-sticky-scroll-bar"),Object(n.a)({},"".concat(Or,"-sticky-scroll-bar-active"),Dr)),style:{width:"".concat(Wr,"px"),transform:"translate3d(".concat(rt.scrollLeft,"px, 0, 0)")}}))},ae=r.forwardRef(se);function ye(er,Cr){return r.useMemo(function(){var Ur=!!er;return{isSticky:Ur,stickyClassName:Ur?"".concat(Cr,"-sticky-header"):"",offsetHeader:Object(c.a)(er)==="object"&&er.offsetHeader||0,offsetScroll:Object(c.a)(er)==="object"&&er.offsetScroll||0}},[er,Cr])}var Ce=[],Oe={},Te="rc-table-internal-hook",xe=r.memo(function(er){var Cr=er.children;return Cr},function(er,Cr){return A()(er.props,Cr.props)?er.pingLeft!==Cr.pingLeft||er.pingRight!==Cr.pingRight:!1});function ke(er){var Cr,Ur=er.prefixCls,Kr=er.className,hn=er.rowClassName,Fe=er.style,Rt=er.data,Xt=er.rowKey,tr=er.scroll,Or=er.tableLayout,br=er.direction,xr=er.title,Wr=er.footer,Zr=er.summary,$r=er.id,an=er.showHeader,rt=er.components,jt=er.emptyText,ir=er.onRow,yr=er.onHeaderRow,Br=er.internalHooks,Dr=er.transformColumns,rn=er.internalRefs,fn=er.sticky,wn=Rt||Ce,Hn=!!wn.length,Sn=r.useState(0),bn=Object(o.a)(Sn,2),Bn=bn[0],vn=bn[1];r.useEffect(function(){vn(Object(S.a)())});var Mn=r.useMemo(function(){return M(rt,{})},[rt]),En=r.useCallback(function(Fa,Oa){return R(Mn,Fa)||Oa},[Mn]),Tn=r.useMemo(function(){return typeof Xt=="function"?Xt:function(Fa){var Oa=Fa&&Fa[Xt];return Oa}},[Xt]),Yn=qe(er),ai=Yn.expandIcon,ri=Yn.expandedRowKeys,Ri=Yn.defaultExpandedRowKeys,Ai=Yn.defaultExpandAllRows,xi=Yn.expandedRowRender,Oi=Yn.onExpand,_n=Yn.onExpandedRowsChange,Mi=Yn.expandRowByClick,fa=Yn.rowExpandable,_i=Yn.expandIconColumnIndex,Bi=Yn.expandedRowClassName,mi=Yn.childrenColumnName,hi=Yn.indentSize,Ji=ai||hr,va=mi||"children",Ea=r.useMemo(function(){return xi?"row":er.expandable&&Br===Te&&er.expandable.__PARENT_RENDER_ICON__||wn.some(function(Fa){return Fa&&Object(c.a)(Fa)==="object"&&Fa[va]})?"nest":!1},[!!xi,wn]),Aa=r.useState(function(){return Ri||(Ai?Gt(wn,Tn,va):[])}),oa=Object(o.a)(Aa,2),sa=oa[0],Di=oa[1],qn=r.useMemo(function(){return new Set(ri||sa||[])},[ri,sa]),yi=r.useCallback(function(Fa){var Oa=Tn(Fa,wn.indexOf(Fa)),Io,To=qn.has(Oa);To?(qn.delete(Oa),Io=Object(t.a)(qn)):Io=[].concat(Object(t.a)(qn),[Oa]),Di(Io),Oi&&Oi(!To,Fa),_n&&_n(Io)},[Tn,qn,wn,Oi,_n]),Ti=r.useState(0),Vi=Object(o.a)(Ti,2),Yi=Vi[0],bi=Vi[1],ya=Ye(Object(u.a)(Object(u.a)(Object(u.a)({},er),Yn),{},{expandable:!!xi,expandedKeys:qn,getRowKey:Tn,onTriggerExpand:yi,expandIcon:Ji,expandIconColumnIndex:_i,direction:br}),Br===Te?Dr:null),ua=Object(o.a)(ya,2),la=ua[0],gi=ua[1],Ua=r.useMemo(function(){return{columns:la,flattenColumns:gi}},[la,gi]),Ba=r.useRef(),ra=r.useRef(),Qi=r.useRef(),Ya=r.useState(!1),zi=Object(o.a)(Ya,2),Wi=zi[0],ba=zi[1],_a=r.useState(!1),wa=Object(o.a)(_a,2),vi=wa[0],Qa=wa[1],za=et(new Map),pa=Object(o.a)(za,2),Ii=pa[0],So=pa[1],Wa=U(gi),ja=Wa.map(function(Fa){return Ii.get(Fa)}),Ja=r.useMemo(function(){return ja},[ja.join("_")]),ho=it(Ja,gi.length,br),Ca=tr&&j(tr.y),to=tr&&j(tr.x),Oo=to&&gi.some(function(Fa){var Oa=Fa.fixed;return Oa}),Ta=r.useRef(),Fi=ye(fn,Ur),Za=Fi.isSticky,Ra=Fi.offsetHeader,pi=Fi.offsetScroll,Gi=Fi.stickyClassName,oo,go,fo;Ca&&(go={overflowY:"scroll",maxHeight:tr.y}),to&&(oo={overflowX:"auto"},Ca||(go={overflowY:"hidden"}),fo={width:tr.x===!0?"auto":tr.x,minWidth:"100%"});var La=r.useCallback(function(Fa,Oa){So(function(Io){var To=new Map(Io);return To.set(Fa,Oa),To})},[]),Pi=oe(null),Ma=Object(o.a)(Pi,2),Vo=Ma[0],ro=Ma[1];function vo(Fa,Oa){Oa&&(typeof Oa=="function"?Oa(Fa):Oa.scrollLeft!==Fa&&(Oa.scrollLeft=Fa))}var po=function(Oa){var Io=Oa.currentTarget,To=Oa.scrollLeft,ts=typeof To=="number"?To:Io.scrollLeft,ko=Io||Oe;if(!ro()||ro()===ko){var rs;Vo(ko),vo(ts,ra.current),vo(ts,Qi.current),vo(ts,(rs=Ta.current)===null||rs===void 0?void 0:rs.setScrollLeft)}if(Io){var ms=Io.scrollWidth,ls=Io.clientWidth;ba(ts>0),Qa(ts<ms-ls)}},$i=function(){Qi.current&&po({currentTarget:Qi.current})},xo=function(Oa){var Io=Oa.width;$i(),bi(Ba.current?Ba.current.offsetWidth:Io)};r.useEffect(function(){return $i},[]),r.useEffect(function(){to&&$i()},[to]),r.useEffect(function(){Br===Te&&rn&&(rn.body.current=Qi.current)});var is=En(["table"],"table"),Zo=r.useMemo(function(){return Or||(Oo?tr.x==="max-content"?"auto":"fixed":Ca||gi.some(function(Fa){var Oa=Fa.ellipsis;return Oa})?"fixed":"auto")},[Ca,Oo,gi,Or]),Ns,Cs={colWidths:Ja,columCount:gi.length,stickyOffsets:ho,onHeaderRow:yr,fixHeader:Ca},Ls=r.useMemo(function(){return Hn?null:typeof jt=="function"?jt():jt},[Hn,jt]),Go=r.createElement(Bt,{data:wn,measureColumnWidth:Ca||to||Za,expandedKeys:qn,rowExpandable:fa,getRowKey:Tn,onRow:ir,emptyNode:Ls,childrenColumnName:va}),bo=r.createElement(je,{colWidths:gi.map(function(Fa){var Oa=Fa.width;return Oa}),columns:gi}),$a=Zr&&r.createElement(Qt,null,Zr(wn)),Ga=En(["body"]);if(Ca||Za){var so;typeof Ga=="function"?(so=Ga(wn,{scrollbarSize:Bn,ref:Qi,onScroll:po}),Cs.colWidths=gi.map(function(Fa,Oa){var Io=Fa.width,To=Oa===la.length-1?Io-Bn:Io;return typeof To=="number"&&!Number.isNaN(To)?To:(Object(y.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):so=r.createElement("div",{style:Object(u.a)(Object(u.a)({},oo),go),onScroll:po,ref:Qi,className:s()("".concat(Ur,"-body"))},r.createElement(is,{style:Object(u.a)(Object(u.a)({},fo),{},{tableLayout:Zo})},bo,Go,$a),Za&&r.createElement(ae,{ref:Ta,offsetScroll:pi,scrollBodyRef:Qi,onScroll:po})),Ns=r.createElement(r.Fragment,null,an!==!1&&r.createElement("div",{style:Object(u.a)({overflow:"hidden"},Za?{top:Ra}:{}),onScroll:po,ref:ra,className:s()("".concat(Ur,"-header"),Object(n.a)({},Gi,!!Gi))},r.createElement(nt,Object.assign({noData:!wn.length},Cs,Ua,{direction:br}))),so)}else Ns=r.createElement("div",{style:Object(u.a)(Object(u.a)({},oo),go),className:s()("".concat(Ur,"-content")),onScroll:po,ref:Qi},r.createElement(is,{style:Object(u.a)(Object(u.a)({},fo),{},{tableLayout:Zo})},bo,an!==!1&&r.createElement(we,Object.assign({},Cs,Ua)),Go,$a));var ps=yt(er),wr=r.createElement("div",Object.assign({className:s()(Ur,Kr,(Cr={},Object(n.a)(Cr,"".concat(Ur,"-rtl"),br==="rtl"),Object(n.a)(Cr,"".concat(Ur,"-ping-left"),Wi),Object(n.a)(Cr,"".concat(Ur,"-ping-right"),vi),Object(n.a)(Cr,"".concat(Ur,"-layout-fixed"),Or==="fixed"),Object(n.a)(Cr,"".concat(Ur,"-fixed-header"),Ca),Object(n.a)(Cr,"".concat(Ur,"-fixed-column"),Oo),Object(n.a)(Cr,"".concat(Ur,"-scroll-horizontal"),to),Object(n.a)(Cr,"".concat(Ur,"-has-fix-left"),gi[0]&&gi[0].fixed),Object(n.a)(Cr,"".concat(Ur,"-has-fix-right"),gi[gi.length-1]&&gi[gi.length-1].fixed==="right"),Cr)),style:Fe,id:$r,ref:Ba},ps),r.createElement(xe,{pingLeft:Wi,pingRight:vi,props:Object(u.a)(Object(u.a)({},er),{},{stickyOffsets:ho,mergedExpandedKeys:qn})},xr&&r.createElement(ht,{className:"".concat(Ur,"-title")},xr(wn)),r.createElement("div",{className:"".concat(Ur,"-container")},Ns),Wr&&r.createElement(ht,{className:"".concat(Ur,"-footer")},Wr(wn))));to&&(wr=r.createElement(O.a,{onResize:xo},wr));var Yo=r.useMemo(function(){return{prefixCls:Ur,getComponent:En,scrollbarSize:Bn,direction:br,fixedInfoList:gi.map(function(Fa,Oa){return X(Oa,Oa,gi,ho,br)}),isSticky:Za}},[Ur,En,Bn,br,gi,ho,br,Za]),ss=r.useMemo(function(){return Object(u.a)(Object(u.a)({},Ua),{},{tableLayout:Zo,rowClassName:hn,expandedRowClassName:Bi,componentWidth:Yi,fixHeader:Ca,fixColumn:Oo,horizonScroll:to,expandIcon:Ji,expandableType:Ea,expandRowByClick:Mi,expandedRowRender:xi,onTriggerExpand:yi,expandIconColumnIndex:_i,indentSize:hi})},[Ua,Zo,hn,Bi,Yi,Ca,Oo,to,Ji,Ea,Mi,xi,yi,_i,hi]),Os=r.useMemo(function(){return{onColumnResize:La}},[La]);return r.createElement(Q.Provider,{value:Yo},r.createElement(dt.Provider,{value:ss},r.createElement(Ie.Provider,{value:Os},wr)))}ke.Column=w,ke.ColumnGroup=C,ke.Summary=qt,ke.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var lt=ke,At=lt,ee=e("W9HT"),ie=e("NUBc"),z=e("H84U"),$=function(er,Cr){var Ur={};for(var Kr in er)Object.prototype.hasOwnProperty.call(er,Kr)&&Cr.indexOf(Kr)<0&&(Ur[Kr]=er[Kr]);if(er!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,Kr=Object.getOwnPropertySymbols(er);hn<Kr.length;hn++)Cr.indexOf(Kr[hn])<0&&Object.prototype.propertyIsEnumerable.call(er,Kr[hn])&&(Ur[Kr[hn]]=er[Kr[hn]]);return Ur},le=10;function ge(er,Cr){var Ur={current:Cr.current,pageSize:Cr.pageSize},Kr=er&&x()(er)==="object"?er:{};return Object.keys(Kr).forEach(function(hn){var Fe=Cr[hn];typeof Fe!="function"&&(Ur[hn]=Fe)}),Ur}function Ae(){for(var er={},Cr=arguments.length,Ur=new Array(Cr),Kr=0;Kr<Cr;Kr++)Ur[Kr]=arguments[Kr];return Ur.forEach(function(hn){hn&&Object.keys(hn).forEach(function(Fe){var Rt=hn[Fe];Rt!==void 0&&(er[Fe]=Rt)})}),er}function Me(er,Cr,Ur){var Kr=Cr&&x()(Cr)==="object"?Cr:{},hn=Kr.total,Fe=hn===void 0?0:hn,Rt=$(Kr,["total"]),Xt=Object(r.useState)(function(){return{current:"defaultCurrent"in Rt?Rt.defaultCurrent:1,pageSize:"defaultPageSize"in Rt?Rt.defaultPageSize:le}}),tr=b()(Xt,2),Or=tr[0],br=tr[1],xr=Ae(Or,Rt,{total:Fe>0?Fe:er});if(!Fe){var Wr=Math.ceil(er/xr.pageSize);Wr<xr.current&&(xr.current=1)}var Zr=function(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,jt=arguments.length>1?arguments[1]:void 0;br(i()(i()({},xr),{current:rt,pageSize:jt||xr.pageSize}))},$r=function(rt,jt){var ir=xr==null?void 0:xr.pageSize;jt&&jt!==ir&&(rt=1,Cr&&Cr.onShowSizeChange&&Cr.onShowSizeChange(rt,jt)),Cr&&Cr.onChange&&Cr.onChange(rt,jt),Zr(rt,jt),Ur(rt,jt||ir)};return Cr===!1?[{},function(){}]:[i()(i()({},xr),{onChange:$r}),Zr]}function Ze(er,Cr,Ur){var Kr=r.useRef({});function hn(Fe){if(!Kr.current||Kr.current.data!==er||Kr.current.childrenColumnName!==Cr||Kr.current.getRowKey!==Ur){var Rt=function tr(Or){Or.forEach(function(br,xr){var Wr=Ur(br,xr);Xt.set(Wr,br),br&&x()(br)==="object"&&Cr in br&&tr(br[Cr]||[])})},Xt=new Map;Rt(er),Kr.current={data:er,childrenColumnName:Cr,kvMap:Xt,getRowKey:Ur}}return Kr.current.kvMap.get(Fe)}return[hn]}var kt=e("SA+Z"),Jt=e.n(kt),Et=e("RIqP"),Ft=e.n(Et),Kt=e("HQEm"),Vt=e.n(Kt),Ot=e("815F"),ur=e("NvD2"),Zt=e("OZM5"),ze=e("6cGi"),at=e("kaz8"),Ve=e("jsC+"),Xe=e("BvKs"),gt=e("9yH6"),ft=e("uaoM"),Ge="SELECT_ALL",Mt="SELECT_INVERT";function It(er){return er&&er.fixed}function rr(er,Cr){var Ur=[];return(er||[]).forEach(function(Kr){Ur.push(Kr),Kr&&x()(Kr)==="object"&&Cr in Kr&&(Ur=[].concat(Ft()(Ur),Ft()(rr(Kr[Cr],Cr))))}),Ur}function Ht(er,Cr){var Ur=er||{},Kr=Ur.preserveSelectedRowKeys,hn=Ur.selectedRowKeys,Fe=Ur.getCheckboxProps,Rt=Ur.onChange,Xt=Ur.onSelect,tr=Ur.onSelectAll,Or=Ur.onSelectInvert,br=Ur.onSelectMultiple,xr=Ur.columnWidth,Wr=Ur.type,Zr=Ur.selections,$r=Ur.fixed,an=Ur.renderCell,rt=Ur.hideSelectAll,jt=Ur.checkStrictly,ir=jt===void 0?!0:jt,yr=Cr.prefixCls,Br=Cr.data,Dr=Cr.pageData,rn=Cr.getRecordByKey,fn=Cr.getRowKey,wn=Cr.expandType,Hn=Cr.childrenColumnName,Sn=Cr.locale,bn=Cr.expandIconColumnIndex,Bn=Cr.getPopupContainer,vn=r.useRef(new Map),Mn=Object(ze.a)(hn||[],{value:hn}),En=b()(Mn,2),Tn=En[0],Yn=En[1],ai=Object(r.useMemo)(function(){return ir?{keyEntities:null}:Object(Ot.a)(Br,void 0,fn)},[Br,fn,ir]),ri=ai.keyEntities,Ri=Object(r.useMemo)(function(){return rr(Dr,Hn)},[Dr,Hn]),Ai=Object(r.useMemo)(function(){var Di=new Map;return Ri.forEach(function(qn,yi){var Ti=fn(qn,yi),Vi=(Fe?Fe(qn):null)||{};Di.set(Ti,Vi)}),Di},[Ri,fn,Fe]),xi=Object(r.useCallback)(function(Di){var qn;return!!((qn=Ai.get(fn(Di)))===null||qn===void 0?void 0:qn.disabled)},[Ai,fn]),Oi=Object(r.useMemo)(function(){if(ir)return[Tn,[]];var Di=Object(ur.a)(Tn,!0,ri,xi),qn=Di.checkedKeys,yi=Di.halfCheckedKeys;return[qn,yi]},[Tn,ir,ri,xi]),_n=b()(Oi,2),Mi=_n[0],fa=_n[1],_i=Object(r.useMemo)(function(){var Di=Wr==="radio"?Mi.slice(0,1):Mi;return new Set(Di)},[Mi,Wr]),Bi=Object(r.useMemo)(function(){return Wr==="radio"?new Set:new Set(fa)},[fa,Wr]),mi=Object(r.useState)(null),hi=b()(mi,2),Ji=hi[0],va=hi[1];r.useEffect(function(){er||Yn([])},[!!er]);var Ea=Object(r.useCallback)(function(Di){var qn,yi;if(Kr){var Ti=new Map;qn=Di,yi=Di.map(function(Vi){var Yi=rn(Vi);return!Yi&&vn.current.has(Vi)&&(Yi=vn.current.get(Vi)),Ti.set(Vi,Yi),Yi}),vn.current=Ti}else qn=[],yi=[],Di.forEach(function(Vi){var Yi=rn(Vi);Yi!==void 0&&(qn.push(Vi),yi.push(Yi))});Yn(qn),Rt&&Rt(qn,yi)},[Yn,rn,Rt,Kr]),Aa=Object(r.useCallback)(function(Di,qn,yi,Ti){if(Xt){var Vi=yi.map(function(Yi){return rn(Yi)});Xt(rn(Di),qn,Vi,Ti)}Ea(yi)},[Xt,rn,Ea]),oa=Object(r.useMemo)(function(){if(!Zr||rt)return null;var Di=Zr===!0?[Ge,Mt]:Zr;return Di.map(function(qn){return qn===Ge?{key:"all",text:Sn.selectionAll,onSelect:function(){Ea(Br.map(function(Ti,Vi){return fn(Ti,Vi)}))}}:qn===Mt?{key:"invert",text:Sn.selectInvert,onSelect:function(){var Ti=new Set(_i);Dr.forEach(function(Yi,bi){var ya=fn(Yi,bi);Ti.has(ya)?Ti.delete(ya):Ti.add(ya)});var Vi=Array.from(Ti);Ea(Vi),Or&&(Object(ft.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Or(Vi))}}:qn})},[Zr,_i,Dr,fn,Or,Ea]),sa=Object(r.useCallback)(function(Di){if(!er)return Di;var qn=new Set(_i),yi=Ri.map(fn).filter(function(Wi){return!Ai.get(Wi).disabled}),Ti=yi.every(function(Wi){return qn.has(Wi)}),Vi=yi.some(function(Wi){return qn.has(Wi)}),Yi=function(){var ba=[];Ti?yi.forEach(function(wa){qn.delete(wa),ba.push(wa)}):yi.forEach(function(wa){qn.has(wa)||(qn.add(wa),ba.push(wa))});var _a=Array.from(qn);Ea(_a),tr&&tr(!Ti,_a.map(function(wa){return rn(wa)}),ba.map(function(wa){return rn(wa)}))},bi;if(Wr!=="radio"){var ya;if(oa){var ua=r.createElement(Xe.a,{getPopupContainer:Bn},oa.map(function(Wi,ba){var _a=Wi.key,wa=Wi.text,vi=Wi.onSelect;return r.createElement(Xe.a.Item,{key:_a||ba,onClick:function(){vi&&vi(yi)}},wa)}));ya=r.createElement("div",{className:"".concat(yr,"-selection-extra")},r.createElement(Ve.a,{overlay:ua,getPopupContainer:Bn},r.createElement("span",null,r.createElement(Vt.a,null))))}var la=Ri.every(function(Wi,ba){var _a=fn(Wi,ba),wa=Ai.get(_a)||{};return wa.disabled});bi=!rt&&r.createElement("div",{className:"".concat(yr,"-selection")},r.createElement(at.a,{checked:!la&&!!Ri.length&&Ti,indeterminate:!Ti&&Vi,onChange:Yi,disabled:Ri.length===0||la}),ya)}var gi;Wr==="radio"?gi=function(ba,_a,wa){var vi=fn(_a,wa),Qa=qn.has(vi);return{node:r.createElement(gt.a,i()({},Ai.get(vi),{checked:Qa,onClick:function(pa){return pa.stopPropagation()},onChange:function(pa){qn.has(vi)||Aa(vi,!0,[vi],pa.nativeEvent)}})),checked:Qa}}:gi=function(ba,_a,wa){var vi,Qa=fn(_a,wa),za=qn.has(Qa),pa=Bi.has(Qa),Ii=Ai.get(Qa),So;return wn==="nest"?(So=pa,Object(ft.a)(!(typeof(Ii==null?void 0:Ii.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):So=(vi=Ii==null?void 0:Ii.indeterminate)!==null&&vi!==void 0?vi:pa,{node:r.createElement(at.a,i()({},Ii,{indeterminate:So,checked:za,onClick:function(ja){return ja.stopPropagation()},onChange:function(ja){var Ja=ja.nativeEvent,ho=Ja.shiftKey,Ca=-1,to=-1;if(ho&&ir){var Oo=new Set([Ji,Qa]);yi.some(function(Pi,Ma){if(Oo.has(Pi))if(Ca===-1)Ca=Ma;else return to=Ma,!0;return!1})}if(to!==-1&&Ca!==to&&ir){var Ta=yi.slice(Ca,to+1),Fi=[];za?Ta.forEach(function(Pi){qn.has(Pi)&&(Fi.push(Pi),qn.delete(Pi))}):Ta.forEach(function(Pi){qn.has(Pi)||(Fi.push(Pi),qn.add(Pi))});var Za=Array.from(qn);Ea(Za),br&&br(!za,Za.map(function(Pi){return rn(Pi)}),Fi.map(function(Pi){return rn(Pi)}))}else{var Ra=Mi;if(ir){var pi=za?Object(Zt.b)(Ra,Qa):Object(Zt.a)(Ra,Qa);Aa(Qa,!za,pi,Ja)}else{var Gi=Object(ur.a)([].concat(Ft()(Ra),[Qa]),!0,ri,xi),oo=Gi.checkedKeys,go=Gi.halfCheckedKeys,fo=oo;if(za){var La=new Set(oo);La.delete(Qa),fo=Object(ur.a)(Array.from(La),{checked:!1,halfCheckedKeys:go},ri,xi).checkedKeys}Aa(Qa,!za,fo,Ja)}}va(Qa)}})),checked:za}};var Ua=function(ba,_a,wa){var vi=gi(ba,_a,wa),Qa=vi.node,za=vi.checked;return an?an(za,_a,wa,Qa):Qa},Ba=p()({width:xr,className:"".concat(yr,"-selection-column"),title:er.columnTitle||bi,render:Ua},We,{className:"".concat(yr,"-selection-col")});if(wn==="row"&&Di.length&&!bn){var ra=Jt()(Di),Qi=ra[0],Ya=ra.slice(1),zi=$r||It(Ya[0]);return zi&&(Qi.fixed=zi),[Qi,i()(i()({},Ba),{fixed:zi})].concat(Ft()(Ya))}return[i()(i()({},Ba),{fixed:$r||It(Di[0])})].concat(Ft()(Di))},[fn,Ri,er,Mi,_i,Bi,xr,oa,wn,Ji,Ai,br,Aa,xi]);return[sa,_i]}var pr=e("6SEX"),Ar=e.n(pr),Nr=e("i8CU"),Fr=e.n(Nr),tn=e("3S7+");function Jr(er,Cr){return"key"in er&&er.key!==void 0&&er.key!==null?er.key:er.dataIndex?Array.isArray(er.dataIndex)?er.dataIndex.join("."):er.dataIndex:Cr}function Lr(er,Cr){return Cr?"".concat(Cr,"-").concat(er):"".concat(er)}function Xr(er,Cr){return typeof er=="function"?er(Cr):er}var Tr="ascend",lr="descend";function fr(er){return x()(er.sorter)==="object"&&typeof er.sorter.multiple=="number"?er.sorter.multiple:!1}function sr(er){return typeof er=="function"?er:er&&x()(er)==="object"&&er.compare?er.compare:!1}function dr(er,Cr){return Cr?er[er.indexOf(Cr)+1]:er[0]}function Sr(er,Cr,Ur){var Kr=[];function hn(Fe,Rt){Kr.push({column:Fe,key:Jr(Fe,Rt),multiplePriority:fr(Fe),sortOrder:Fe.sortOrder})}return(er||[]).forEach(function(Fe,Rt){var Xt=Lr(Rt,Ur);Fe.children?("sortOrder"in Fe&&hn(Fe,Xt),Kr=[].concat(Ft()(Kr),Ft()(Sr(Fe.children,Cr,Xt)))):Fe.sorter&&("sortOrder"in Fe?hn(Fe,Xt):Cr&&Fe.defaultSortOrder&&Kr.push({column:Fe,key:Jr(Fe,Xt),multiplePriority:fr(Fe),sortOrder:Fe.defaultSortOrder}))}),Kr}function Qr(er,Cr,Ur,Kr,hn,Fe,Rt,Xt){return(Cr||[]).map(function(tr,Or){var br=Lr(Or,Xt),xr=tr;if(xr.sorter){var Wr=xr.sortDirections||hn,Zr=xr.showSorterTooltip===void 0?Rt:xr.showSorterTooltip,$r=Jr(xr,br),an=Ur.find(function(Hn){var Sn=Hn.key;return Sn===$r}),rt=an?an.sortOrder:null,jt=dr(Wr,rt),ir=Wr.includes(Tr)&&r.createElement(Fr.a,{className:s()("".concat(er,"-column-sorter-up"),{active:rt===Tr})}),yr=Wr.includes(lr)&&r.createElement(Ar.a,{className:s()("".concat(er,"-column-sorter-down"),{active:rt===lr})}),Br=Fe||{},Dr=Br.cancelSort,rn=Br.triggerAsc,fn=Br.triggerDesc,wn=Dr;jt===lr?wn=fn:jt===Tr&&(wn=rn),xr=i()(i()({},xr),{className:s()(xr.className,p()({},"".concat(er,"-column-sort"),rt)),title:function(Sn){var bn=r.createElement("div",{className:"".concat(er,"-column-sorters")},r.createElement("span",null,Xr(tr.title,Sn)),r.createElement("span",{className:s()("".concat(er,"-column-sorter"),p()({},"".concat(er,"-column-sorter-full"),ir&&yr))},r.createElement("span",{className:"".concat(er,"-column-sorter-inner")},ir,yr)));return Zr?r.createElement(tn.a,{title:wn},r.createElement("div",{className:"".concat(er,"-column-sorters-with-tooltip")},bn)):bn},onHeaderCell:function(Sn){var bn=tr.onHeaderCell&&tr.onHeaderCell(Sn)||{},Bn=bn.onClick;return bn.onClick=function(vn){Kr({column:tr,key:$r,sortOrder:jt,multiplePriority:fr(tr)}),Bn&&Bn(vn)},bn.className=s()(bn.className,"".concat(er,"-column-has-sorters")),bn}})}return"children"in xr&&(xr=i()(i()({},xr),{children:Qr(er,xr.children,Ur,Kr,hn,Fe,Rt,br)})),xr})}function cn(er){var Cr=er.column,Ur=er.sortOrder;return{column:Cr,order:Ur,field:Cr.dataIndex,columnKey:Cr.key}}function Dn(er){var Cr=er.filter(function(Ur){var Kr=Ur.sortOrder;return Kr}).map(cn);return Cr.length===0&&er.length?i()(i()({},cn(er[er.length-1])),{column:void 0}):Cr.length<=1?Cr[0]||{}:Cr}function jr(er,Cr,Ur){var Kr=Cr.slice().sort(function(Rt,Xt){return Xt.multiplePriority-Rt.multiplePriority}),hn=er.slice(),Fe=Kr.filter(function(Rt){var Xt=Rt.column.sorter,tr=Rt.sortOrder;return sr(Xt)&&tr});return Fe.length?hn.sort(function(Rt,Xt){for(var tr=0;tr<Fe.length;tr+=1){var Or=Fe[tr],br=Or.column.sorter,xr=Or.sortOrder,Wr=sr(br);if(Wr&&xr){var Zr=Wr(Rt,Xt,xr);if(Zr!==0)return xr===Tr?Zr:-Zr}}return 0}).map(function(Rt){var Xt=Rt[Ur];return Xt?i()(i()({},Rt),p()({},Ur,jr(Xt,Cr,Ur))):Rt}):hn}function Ln(er){var Cr=er.prefixCls,Ur=er.mergedColumns,Kr=er.onSorterChange,hn=er.sortDirections,Fe=er.tableLocale,Rt=er.showSorterTooltip,Xt=r.useState(Sr(Ur,!0)),tr=b()(Xt,2),Or=tr[0],br=tr[1],xr=r.useMemo(function(){var rt=!0,jt=Sr(Ur,!1);if(!jt.length)return Or;var ir=[];function yr(Dr){rt?ir.push(Dr):ir.push(i()(i()({},Dr),{sortOrder:null}))}var Br=null;return jt.forEach(function(Dr){Br===null?(yr(Dr),Dr.sortOrder&&(Dr.multiplePriority===!1?rt=!1:Br=!0)):(Br&&Dr.multiplePriority!==!1||(rt=!1),yr(Dr))}),ir},[Ur,Or]),Wr=r.useMemo(function(){var rt=xr.map(function(jt){var ir=jt.column,yr=jt.sortOrder;return{column:ir,order:yr}});return{sortColumns:rt,sortColumn:rt[0]&&rt[0].column,sortOrder:rt[0]&&rt[0].order}},[xr]);function Zr(rt){var jt;rt.multiplePriority===!1||!xr.length||xr[0].multiplePriority===!1?jt=[rt]:jt=[].concat(Ft()(xr.filter(function(ir){var yr=ir.key;return yr!==rt.key})),[rt]),br(jt),Kr(Dn(jt),jt)}var $r=function(jt){return Qr(Cr,jt,xr,Zr,hn,Fe,Rt)},an=function(){return Dn(xr)};return[$r,xr,Wr,an]}var gn=e("Y+p1"),Un=e.n(gn),Wn=e("5Uyt"),Jn=e.n(Wn),Qn=e("2/Rp"),Vn=e("ECub"),yn=function(Cr){return r.createElement("div",{className:Cr.className,onClick:function(Kr){return Kr.stopPropagation()}},Cr.children)},on=yn,ia=e("sPtV"),xa=Xe.a.SubMenu,ta=Xe.a.Item;function Ni(er){return er.some(function(Cr){var Ur=Cr.children;return Ur})}function Ci(er){var Cr=er.filters,Ur=er.prefixCls,Kr=er.filteredKeys,hn=er.filterMultiple,Fe=er.locale;return Cr.length===0?r.createElement(r.Fragment,null,r.createElement(Vn.a,{image:Vn.a.PRESENTED_IMAGE_SIMPLE,description:Fe.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Cr.map(function(Rt,Xt){var tr=String(Rt.value);if(Rt.children)return r.createElement(xa,{key:tr||Xt,title:Rt.text,popupClassName:"".concat(Ur,"-dropdown-submenu")},Ci({filters:Rt.children,prefixCls:Ur,filteredKeys:Kr,filterMultiple:hn,locale:Fe}));var Or=hn?at.a:gt.a;return r.createElement(ta,{key:Rt.value!==void 0?tr:Xt},r.createElement(Or,{checked:Kr.includes(tr)}),r.createElement("span",null,Rt.text))})}function Gn(er){var Cr,Ur=er.prefixCls,Kr=er.column,hn=er.dropdownPrefixCls,Fe=er.columnKey,Rt=er.filterMultiple,Xt=er.filterState,tr=er.triggerFilter,Or=er.locale,br=er.children,xr=er.getPopupContainer,Wr=Kr.filterDropdownVisible,Zr=Kr.onFilterDropdownVisibleChange,$r=r.useState(!1),an=b()($r,2),rt=an[0],jt=an[1],ir=!!(Xt&&(((Cr=Xt.filteredKeys)===null||Cr===void 0?void 0:Cr.length)||Xt.forceFiltered)),yr=function(hi){jt(hi),Zr&&Zr(hi)},Br=typeof Wr=="boolean"?Wr:rt,Dr=Xt&&Xt.filteredKeys,rn=Object(ia.a)(Dr||[]),fn=b()(rn,2),wn=fn[0],Hn=fn[1],Sn=function(hi){var Ji=hi.selectedKeys;Hn(Ji)};r.useEffect(function(){Sn({selectedKeys:Dr||[]})},[Dr]);var bn=r.useState([]),Bn=b()(bn,2),vn=Bn[0],Mn=Bn[1],En=r.useRef(),Tn=function(hi){En.current=window.setTimeout(function(){Mn(hi)})},Yn=function(){window.clearTimeout(En.current)};r.useEffect(function(){return function(){window.clearTimeout(En.current)}},[]);var ai=function(hi){yr(!1);var Ji=hi&&hi.length?hi:null;if(Ji===null&&(!Xt||!Xt.filteredKeys))return null;if(Un()(Ji,Xt==null?void 0:Xt.filteredKeys))return null;tr({column:Kr,key:Fe,filteredKeys:Ji})},ri=function(){ai(wn())},Ri=function(){Hn([]),ai([])},Ai=function(hi){hi&&Dr!==void 0&&Hn(Dr||[]),yr(hi),!hi&&!Kr.filterDropdown&&ri()},xi=s()(p()({},"".concat(hn,"-menu-without-submenu"),!Ni(Kr.filters||[]))),Oi;if(typeof Kr.filterDropdown=="function")Oi=Kr.filterDropdown({prefixCls:"".concat(hn,"-custom"),setSelectedKeys:function(hi){return Sn({selectedKeys:hi})},selectedKeys:wn(),confirm:ri,clearFilters:Ri,filters:Kr.filters,visible:Br});else if(Kr.filterDropdown)Oi=Kr.filterDropdown;else{var _n=wn()||[];Oi=r.createElement(r.Fragment,null,r.createElement(Xe.a,{multiple:Rt,prefixCls:"".concat(hn,"-menu"),className:xi,onClick:Yn,onSelect:Sn,onDeselect:Sn,selectedKeys:_n,getPopupContainer:xr,openKeys:vn,onOpenChange:Tn},Ci({filters:Kr.filters||[],prefixCls:Ur,filteredKeys:wn(),filterMultiple:Rt,locale:Or})),r.createElement("div",{className:"".concat(Ur,"-dropdown-btns")},r.createElement(Qn.a,{type:"link",size:"small",disabled:_n.length===0,onClick:Ri},Or.filterReset),r.createElement(Qn.a,{type:"primary",size:"small",onClick:ri},Or.filterConfirm)))}var Mi=r.createElement(on,{className:"".concat(Ur,"-dropdown")},Oi),fa;typeof Kr.filterIcon=="function"?fa=Kr.filterIcon(ir):Kr.filterIcon?fa=Kr.filterIcon:fa=r.createElement(Jn.a,null);var _i=r.useContext(z.b),Bi=_i.direction;return r.createElement("div",{className:s()("".concat(Ur,"-column"))},r.createElement("span",{className:"".concat(Ur,"-column-title")},br),r.createElement("span",{className:s()("".concat(Ur,"-trigger-container"),p()({},"".concat(Ur,"-trigger-container-open"),Br)),onClick:function(hi){hi.stopPropagation()}},r.createElement(Ve.a,{overlay:Mi,trigger:["click"],visible:Br,onVisibleChange:Ai,getPopupContainer:xr,placement:Bi==="rtl"?"bottomLeft":"bottomRight"},r.createElement("span",{role:"button",tabIndex:-1,className:s()("".concat(Ur,"-trigger"),{active:ir})},fa))))}var Ia=Gn;function mn(er,Cr,Ur){var Kr=[];return(er||[]).forEach(function(hn,Fe){var Rt=Lr(Fe,Ur);"children"in hn?Kr=[].concat(Ft()(Kr),Ft()(mn(hn.children,Cr,Rt))):(hn.filters||"filterDropdown"in hn||"onFilter"in hn)&&("filteredValue"in hn?Kr.push({column:hn,key:Jr(hn,Rt),filteredKeys:hn.filteredValue,forceFiltered:hn.filtered}):Kr.push({column:hn,key:Jr(hn,Rt),filteredKeys:Cr&&hn.defaultFilteredValue?hn.defaultFilteredValue:void 0,forceFiltered:hn.filtered}))}),Kr}function In(er,Cr,Ur,Kr,hn,Fe,Rt,Xt){return Ur.map(function(tr,Or){var br=Lr(Or,Xt),xr=tr.filterMultiple,Wr=xr===void 0?!0:xr;if(tr.filters||"filterDropdown"in tr){var Zr=Jr(tr,br),$r=Kr.find(function(an){var rt=an.key;return Zr===rt});return i()(i()({},tr),{title:function(rt){return r.createElement(Ia,{prefixCls:"".concat(er,"-filter"),dropdownPrefixCls:Cr,column:tr,columnKey:Zr,filterState:$r,filterMultiple:Wr,triggerFilter:hn,locale:Rt,getPopupContainer:Fe},Xr(tr.title,rt))}})}return"children"in tr?i()(i()({},tr),{children:In(er,Cr,tr.children,Kr,hn,Fe,Rt,br)}):tr})}function On(er){var Cr={};return er.forEach(function(Ur){var Kr=Ur.key,hn=Ur.filteredKeys;Cr[Kr]=hn||null}),Cr}function Nn(er){var Cr=[];return(er||[]).forEach(function(Ur){var Kr=Ur.value,hn=Ur.children;Cr.push(Kr),hn&&(Cr=[].concat(Ft()(Cr),Ft()(Nn(hn))))}),Cr}function jn(er,Cr){return Cr.reduce(function(Ur,Kr){var hn=Kr.column,Fe=hn.onFilter,Rt=hn.filters,Xt=Kr.filteredKeys;return Fe&&Xt&&Xt.length?Ur.filter(function(tr){return Xt.some(function(Or){var br=Nn(Rt),xr=br.findIndex(function(Zr){return String(Zr)===String(Or)}),Wr=xr!==-1?br[xr]:Or;return Fe(Wr,tr)})}):Ur},er)}function ni(er){var Cr=er.prefixCls,Ur=er.dropdownPrefixCls,Kr=er.mergedColumns,hn=er.onFilterChange,Fe=er.getPopupContainer,Rt=er.locale,Xt=r.useState(mn(Kr,!0)),tr=b()(Xt,2),Or=tr[0],br=tr[1],xr=r.useMemo(function(){var an=mn(Kr,!1);return an.every(function(rt){var jt=rt.filteredKeys;return jt===void 0})?Or:an},[Kr,Or]),Wr=r.useCallback(function(){return On(xr)},[xr]),Zr=function(rt){var jt=xr.filter(function(ir){var yr=ir.key;return yr!==rt.key});jt.push(rt),br(jt),hn(On(jt),jt)},$r=function(rt){return In(Cr,Ur,rt,xr,Zr,Fe,Rt)};return[$r,xr,Wr]}var di=ni;function Da(er,Cr){return er.map(function(Ur){var Kr=i()({},Ur);return Kr.title=Xr(Ur.title,Cr),"children"in Kr&&(Kr.children=Da(Kr.children,Cr)),Kr})}function Xi(er){var Cr=r.useCallback(function(Ur){return Da(Ur,er)},[er]);return[Cr]}function ma(er){return function(Ur){var Kr,hn=Ur.prefixCls,Fe=Ur.onExpand,Rt=Ur.record,Xt=Ur.expanded,tr=Ur.expandable,Or="".concat(hn,"-row-expand-icon");return r.createElement("button",{type:"button",onClick:function(xr){Fe(Rt,xr),xr.stopPropagation()},className:s()(Or,(Kr={},p()(Kr,"".concat(Or,"-spaced"),!tr),p()(Kr,"".concat(Or,"-expanded"),tr&&Xt),p()(Kr,"".concat(Or,"-collapsed"),tr&&!Xt),Kr)),"aria-label":Xt?er.collapse:er.expand})}}var ka=ma,Xa=e("zAh6"),Ki=e("ZvpZ"),Co=Ki.a,aa=e("3Nzz");function Hi(er){return null}var ga=Hi;function ha(er){return null}var mo=ha,Pn=e("5OYt"),qi=[];function eo(er){var Cr,Ur=er.prefixCls,Kr=er.className,hn=er.style,Fe=er.size,Rt=er.bordered,Xt=er.dropdownPrefixCls,tr=er.dataSource,Or=er.pagination,br=er.rowSelection,xr=er.rowKey,Wr=er.rowClassName,Zr=er.columns,$r=er.children,an=er.childrenColumnName,rt=er.onChange,jt=er.getPopupContainer,ir=er.loading,yr=er.expandIcon,Br=er.expandable,Dr=er.expandedRowRender,rn=er.expandIconColumnIndex,fn=er.indentSize,wn=er.scroll,Hn=er.sortDirections,Sn=er.locale,bn=er.showSorterTooltip,Bn=bn===void 0?!0:bn;Object(ft.a)(!(typeof xr=="function"&&xr.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var vn=Object(Pn.a)(),Mn=r.useMemo(function(){var La=new Set(Object.keys(vn).filter(function(Pi){return vn[Pi]}));return(Zr||Ue($r)).filter(function(Pi){return!Pi.responsive||Pi.responsive.some(function(Ma){return La.has(Ma)})})},[$r,Zr,vn]),En=Object(l.default)(er,["className","style","columns"]),Tn=r.useContext(aa.b),Yn=r.useContext(z.b),ai=Yn.locale,ri=ai===void 0?Co:ai,Ri=Yn.renderEmpty,Ai=Yn.direction,xi=Fe||Tn,Oi=i()(i()({},ri.Table),Sn),_n=tr||qi,Mi=r.useContext(z.b),fa=Mi.getPrefixCls,_i=fa("table",Ur),Bi=fa("dropdown",Xt),mi=i()({childrenColumnName:an,expandIconColumnIndex:rn},Br),hi=mi.childrenColumnName,Ji=hi===void 0?"children":hi,va=r.useMemo(function(){return _n.some(function(La){var Pi;return(Pi=La)===null||Pi===void 0?void 0:Pi[Ji]})?"nest":Dr||Br&&Br.expandedRowRender?"row":null},[_n]),Ea={body:r.useRef()},Aa=r.useMemo(function(){return typeof xr=="function"?xr:function(La){var Pi;return(Pi=La)===null||Pi===void 0?void 0:Pi[xr]}},[xr]),oa=Ze(_n,Ji,Aa),sa=b()(oa,1),Di=sa[0],qn={},yi=function(Pi,Ma){var Vo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ro=i()(i()({},qn),Pi);Vo&&(qn.resetPagination(),ro.pagination.current&&(ro.pagination.current=1),Or&&Or.onChange&&Or.onChange(1,ro.pagination.pageSize)),wn&&wn.scrollToFirstRowOnChange!==!1&&Ea.body.current&&Object(Xa.a)(0,{getContainer:function(){return Ea.body.current}}),rt&&rt(ro.pagination,ro.filters,ro.sorter,{currentDataSource:jn(jr(_n,ro.sorterStates,Ji),ro.filterStates),action:Ma})},Ti=function(Pi,Ma){yi({sorter:Pi,sorterStates:Ma},"sort",!1)},Vi=Ln({prefixCls:_i,mergedColumns:Mn,onSorterChange:Ti,sortDirections:Hn||["ascend","descend"],tableLocale:Oi,showSorterTooltip:Bn}),Yi=b()(Vi,4),bi=Yi[0],ya=Yi[1],ua=Yi[2],la=Yi[3],gi=r.useMemo(function(){return jr(_n,ya,Ji)},[_n,ya]);qn.sorter=la(),qn.sorterStates=ya;var Ua=function(Pi,Ma){yi({filters:Pi,filterStates:Ma},"filter",!0)},Ba=di({prefixCls:_i,locale:Oi,dropdownPrefixCls:Bi,mergedColumns:Mn,onFilterChange:Ua,getPopupContainer:jt}),ra=b()(Ba,3),Qi=ra[0],Ya=ra[1],zi=ra[2],Wi=jn(gi,Ya);qn.filters=zi(),qn.filterStates=Ya;var ba=r.useMemo(function(){return i()({},ua)},[ua]),_a=Xi(ba),wa=b()(_a,1),vi=wa[0],Qa=function(Pi,Ma){yi({pagination:i()(i()({},qn.pagination),{current:Pi,pageSize:Ma})},"paginate")},za=Me(Wi.length,Or,Qa),pa=b()(za,2),Ii=pa[0],So=pa[1];qn.pagination=Or===!1?{}:ge(Or,Ii),qn.resetPagination=So;var Wa=r.useMemo(function(){if(Or===!1||!Ii.pageSize)return Wi;var La=Ii.current,Pi=La===void 0?1:La,Ma=Ii.total,Vo=Ii.pageSize,ro=Vo===void 0?le:Vo;return Wi.length<Ma?Wi.length>ro?(Object(ft.a)(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode."),Wi.slice((Pi-1)*ro,Pi*ro)):Wi:Wi.slice((Pi-1)*ro,Pi*ro)},[!!Or,Wi,Ii&&Ii.current,Ii&&Ii.pageSize,Ii&&Ii.total]),ja=Ht(br,{prefixCls:_i,data:Wi,pageData:Wa,getRowKey:Aa,getRecordByKey:Di,expandType:va,childrenColumnName:Ji,locale:Oi,expandIconColumnIndex:mi.expandIconColumnIndex,getPopupContainer:jt}),Ja=b()(ja,2),ho=Ja[0],Ca=Ja[1],to=function(Pi,Ma,Vo){var ro;return typeof Wr=="function"?ro=s()(Wr(Pi,Ma,Vo)):ro=s()(Wr),s()(p()({},"".concat(_i,"-row-selected"),Ca.has(Aa(Pi,Ma))),ro)};mi.__PARENT_RENDER_ICON__=mi.expandIcon,mi.expandIcon=mi.expandIcon||yr||ka(Oi),va==="nest"&&mi.expandIconColumnIndex===void 0?mi.expandIconColumnIndex=br?1:0:mi.expandIconColumnIndex>0&&br&&(mi.expandIconColumnIndex-=1),typeof mi.indentSize!="number"&&(mi.indentSize=typeof fn=="number"?fn:15);var Oo=r.useCallback(function(La){return vi(ho(Qi(bi(La))))},[bi,Qi,ho]),Ta,Fi;if(Or!==!1){var Za;Ii.size?Za=Ii.size:Za=xi==="small"||xi==="middle"?"small":void 0;var Ra=function(Pi){return r.createElement(ie.a,i()({className:"".concat(_i,"-pagination ").concat(_i,"-pagination-").concat(Pi)},Ii,{size:Za}))},pi=Ai==="rtl"?"left":"right";if(Ii.position!==null&&Array.isArray(Ii.position)){var Gi=Ii.position.find(function(La){return La.indexOf("top")!==-1}),oo=Ii.position.find(function(La){return La.indexOf("bottom")!==-1});!Gi&&!oo?Fi=Ra(pi):(Gi&&(Ta=Ra(Gi.toLowerCase().replace("top",""))),oo&&(Fi=Ra(oo.toLowerCase().replace("bottom",""))))}else Fi=Ra(pi)}var go;typeof ir=="boolean"?go={spinning:ir}:x()(ir)==="object"&&(go=i()({spinning:!0},ir));var fo=s()("".concat(_i,"-wrapper"),Kr,p()({},"".concat(_i,"-wrapper-rtl"),Ai==="rtl"));return r.createElement("div",{className:fo,style:hn},r.createElement(ee.a,i()({spinning:!1},go),Ta,r.createElement(At,i()({},En,{columns:Mn,direction:Ai,expandable:mi,prefixCls:_i,className:s()((Cr={},p()(Cr,"".concat(_i,"-middle"),xi==="middle"),p()(Cr,"".concat(_i,"-small"),xi==="small"),p()(Cr,"".concat(_i,"-bordered"),Rt),p()(Cr,"".concat(_i,"-empty"),_n.length===0),Cr)),data:Wa,rowKey:Aa,rowClassName:to,emptyText:Sn&&Sn.emptyText||Ri("Table"),internalHooks:Te,internalRefs:Ea,transformColumns:Oo})),Wi&&Wi.length>0&&Fi))}eo.defaultProps={rowKey:"key"},eo.SELECTION_ALL=Ge,eo.SELECTION_INVERT=Mt,eo.Column=ga,eo.ColumnGroup=mo,eo.Summary=qt;var Lo=eo,co=B.a=Lo},wDdD:function(J,B,e){var d=e("ProS"),x=e("bYtY");e("98bh"),e("GrNh");var g=e("d4KN"),p=e("mOdp"),v=e("KS52"),b=e("0/Rx");g("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),d.registerVisual(p("pie")),d.registerLayout(x.curry(v,"pie")),d.registerProcessor(b("pie"))},"wF/u":function(J,B,e){var d=e("e5cp"),x=e("ExA7");function g(p,v,b,f,i){return p===v?!0:p==null||v==null||!x(p)&&!x(v)?p!==p&&v!==v:d(p,v,b,f,g,i)}J.exports=g},wJg7:function(J,B){var e=9007199254740991,d=/^(?:0|[1-9]\d*)$/;function x(g,p){var v=typeof g;return p=p==null?e:p,!!p&&(v=="number"||v!="symbol"&&d.test(g))&&(g>-1&&g%1==0)&&g<p}J.exports=x},wOnQ:function(J,B,e){/*!
|
|
|
* html2canvas 1.0.0-rc.7 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2020 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(d,x){J.exports=x()})(this,function(){"use strict";/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
|
this file except in compliance with the License. You may obtain a copy of the
|
|
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
|
and limitations under the License.
|
|
|
***************************************************************************** */var d=function(G,be){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Re,pt){Re.__proto__=pt}||function(Re,pt){for(var $t in pt)pt.hasOwnProperty($t)&&(Re[$t]=pt[$t])},d(G,be)};function x(Ne,G){d(Ne,G);function be(){this.constructor=Ne}Ne.prototype=G===null?Object.create(G):(be.prototype=G.prototype,new be)}var g=function(){return g=Object.assign||function(be){for(var Re,pt=1,$t=arguments.length;pt<$t;pt++){Re=arguments[pt];for(var gr in Re)Object.prototype.hasOwnProperty.call(Re,gr)&&(be[gr]=Re[gr])}return be},g.apply(this,arguments)};function p(Ne,G,be,Re){return new(be||(be=Promise))(function(pt,$t){function gr(zr){try{Hr(Re.next(zr))}catch(un){$t(un)}}function Ir(zr){try{Hr(Re.throw(zr))}catch(un){$t(un)}}function Hr(zr){zr.done?pt(zr.value):new be(function(un){un(zr.value)}).then(gr,Ir)}Hr((Re=Re.apply(Ne,G||[])).next())})}function v(Ne,G){var be={label:0,sent:function(){if($t[0]&1)throw $t[1];return $t[1]},trys:[],ops:[]},Re,pt,$t,gr;return gr={next:Ir(0),throw:Ir(1),return:Ir(2)},typeof Symbol=="function"&&(gr[Symbol.iterator]=function(){return this}),gr;function Ir(zr){return function(un){return Hr([zr,un])}}function Hr(zr){if(Re)throw new TypeError("Generator is already executing.");for(;be;)try{if(Re=1,pt&&($t=zr[0]&2?pt.return:zr[0]?pt.throw||(($t=pt.return)&&$t.call(pt),0):pt.next)&&!($t=$t.call(pt,zr[1])).done)return $t;(pt=0,$t)&&(zr=[zr[0]&2,$t.value]);switch(zr[0]){case 0:case 1:$t=zr;break;case 4:return be.label++,{value:zr[1],done:!1};case 5:be.label++,pt=zr[1],zr=[0];continue;case 7:zr=be.ops.pop(),be.trys.pop();continue;default:if(!($t=be.trys,$t=$t.length>0&&$t[$t.length-1])&&(zr[0]===6||zr[0]===2)){be=0;continue}if(zr[0]===3&&(!$t||zr[1]>$t[0]&&zr[1]<$t[3])){be.label=zr[1];break}if(zr[0]===6&&be.label<$t[1]){be.label=$t[1],$t=zr;break}if($t&&be.label<$t[2]){be.label=$t[2],be.ops.push(zr);break}$t[2]&&be.ops.pop(),be.trys.pop();continue}zr=G.call(Ne,be)}catch(un){zr=[6,un],pt=0}finally{Re=$t=0}if(zr[0]&5)throw zr[1];return{value:zr[0]?zr[1]:void 0,done:!0}}}for(var b=function(){function Ne(G,be,Re,pt){this.left=G,this.top=be,this.width=Re,this.height=pt}return Ne.prototype.add=function(G,be,Re,pt){return new Ne(this.left+G,this.top+be,this.width+Re,this.height+pt)},Ne.fromClientRect=function(G){return new Ne(G.left,G.top,G.width,G.height)},Ne}(),f=function(G){return b.fromClientRect(G.getBoundingClientRect())},i=function(G){var be=G.body,Re=G.documentElement;if(!be||!Re)throw new Error("Unable to get document size");var pt=Math.max(Math.max(be.scrollWidth,Re.scrollWidth),Math.max(be.offsetWidth,Re.offsetWidth),Math.max(be.clientWidth,Re.clientWidth)),$t=Math.max(Math.max(be.scrollHeight,Re.scrollHeight),Math.max(be.offsetHeight,Re.offsetHeight),Math.max(be.clientHeight,Re.clientHeight));return new b(0,0,pt,$t)},r=function(G){for(var be=[],Re=0,pt=G.length;Re<pt;){var $t=G.charCodeAt(Re++);if($t>=55296&&$t<=56319&&Re<pt){var gr=G.charCodeAt(Re++);(gr&64512)===56320?be.push((($t&1023)<<10)+(gr&1023)+65536):(be.push($t),Re--)}else be.push($t)}return be},a=function(){for(var G=[],be=0;be<arguments.length;be++)G[be]=arguments[be];if(String.fromCodePoint)return String.fromCodePoint.apply(String,G);var Re=G.length;if(!Re)return"";for(var pt=[],$t=-1,gr="";++$t<Re;){var Ir=G[$t];Ir<=65535?pt.push(Ir):(Ir-=65536,pt.push((Ir>>10)+55296,Ir%1024+56320)),($t+1===Re||pt.length>16384)&&(gr+=String.fromCharCode.apply(String,pt),pt.length=0)}return gr},s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),n=0;n<s.length;n++)l[s.charCodeAt(n)]=n;var u=function(G){var be=G.length*.75,Re=G.length,pt,$t=0,gr,Ir,Hr,zr;G[G.length-1]==="="&&(be--,G[G.length-2]==="="&&be--);var un=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(be):new Array(be),sn=Array.isArray(un)?un:new Uint8Array(un);for(pt=0;pt<Re;pt+=4)gr=l[G.charCodeAt(pt)],Ir=l[G.charCodeAt(pt+1)],Hr=l[G.charCodeAt(pt+2)],zr=l[G.charCodeAt(pt+3)],sn[$t++]=gr<<2|Ir>>4,sn[$t++]=(Ir&15)<<4|Hr>>2,sn[$t++]=(Hr&3)<<6|zr&63;return un},t=function(G){for(var be=G.length,Re=[],pt=0;pt<be;pt+=2)Re.push(G[pt+1]<<8|G[pt]);return Re},c=function(G){for(var be=G.length,Re=[],pt=0;pt<be;pt+=4)Re.push(G[pt+3]<<24|G[pt+2]<<16|G[pt+1]<<8|G[pt]);return Re},o=5,h=6+5,A=2,y=h-o,O=65536>>o,S=1<<o,E=S-1,C=1024>>o,T=O+C,w=T,L=2048>>6,N=w+L,D=65536>>h,F=1<<y,R=F-1,U=function(G,be,Re){return G.slice?G.slice(be,Re):new Uint16Array(Array.prototype.slice.call(G,be,Re))},M=function(G,be,Re){return G.slice?G.slice(be,Re):new Uint32Array(Array.prototype.slice.call(G,be,Re))},j=function(G){var be=u(G),Re=Array.isArray(be)?c(be):new Uint32Array(be),pt=Array.isArray(be)?t(be):new Uint16Array(be),$t=24,gr=U(pt,$t/2,Re[4]/2),Ir=Re[5]===2?U(pt,($t+Re[4])/2):M(Re,Math.ceil(($t+Re[4])/4));return new P(Re[0],Re[1],Re[2],Re[3],gr,Ir)},P=function(){function Ne(G,be,Re,pt,$t,gr){this.initialValue=G,this.errorValue=be,this.highStart=Re,this.highValueIndex=pt,this.index=$t,this.data=gr}return Ne.prototype.get=function(G){var be;if(G>=0){if(G<55296||G>56319&&G<=65535)return be=this.index[G>>o],be=(be<<A)+(G&E),this.data[be];if(G<=65535)return be=this.index[O+(G-55296>>o)],be=(be<<A)+(G&E),this.data[be];if(G<this.highStart)return be=N-D+(G>>h),be=this.index[be],be+=G>>o&R,be=this.index[be],be=(be<<A)+(G&E),this.data[be];if(G<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Ne}(),K="KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA",H=50,_=1,Z=2,Y=3,k=4,Q=5,X=7,he=8,te=9,pe=10,Se=11,we=12,We=13,qe=14,yt=15,_e=16,je=17,Ct=18,ct=19,nt=20,bt=21,dt=22,vt=23,Qe=24,mt=25,Pe=26,De=27,Ie=28,ot=29,wt=30,Bt=31,_t=32,Ue=33,zt=34,xt=35,Pt=36,Ke=37,Ye=38,$e=39,ut=40,et=41,oe=42,me=43,it="!",Be="\xD7",ht="\xF7",Mr=j(K),Lt=[wt,Pt],or=[_,Z,Y,Q],Qt=[pe,he],qt=[De,Pe],hr=or.concat(Qt),Gt=[Ye,$e,ut,zt,xt],de=[yt,We],ue=function(G,be){be===void 0&&(be="strict");var Re=[],pt=[],$t=[];return G.forEach(function(gr,Ir){var Hr=Mr.get(gr);if(Hr>H?($t.push(!0),Hr-=H):$t.push(!1),["normal","auto","loose"].indexOf(be)!==-1&&[8208,8211,12316,12448].indexOf(gr)!==-1)return pt.push(Ir),Re.push(_e);if(Hr===k||Hr===Se){if(Ir===0)return pt.push(Ir),Re.push(wt);var zr=Re[Ir-1];return hr.indexOf(zr)===-1?(pt.push(pt[Ir-1]),Re.push(zr)):(pt.push(Ir),Re.push(wt))}if(pt.push(Ir),Hr===Bt)return Re.push(be==="strict"?bt:Ke);if(Hr===oe)return Re.push(wt);if(Hr===ot)return Re.push(wt);if(Hr===me)return gr>=131072&&gr<=196605||gr>=196608&&gr<=262141?Re.push(Ke):Re.push(wt);Re.push(Hr)}),[pt,Re,$t]},se=function(G,be,Re,pt){var $t=pt[Re];if(Array.isArray(G)?G.indexOf($t)!==-1:G===$t)for(var gr=Re;gr<=pt.length;){gr++;var Ir=pt[gr];if(Ir===be)return!0;if(Ir!==pe)break}if($t===pe)for(var gr=Re;gr>0;){gr--;var Hr=pt[gr];if(Array.isArray(G)?G.indexOf(Hr)!==-1:G===Hr)for(var zr=Re;zr<=pt.length;){zr++;var Ir=pt[zr];if(Ir===be)return!0;if(Ir!==pe)break}if(Hr!==pe)break}return!1},ae=function(G,be){for(var Re=G;Re>=0;){var pt=be[Re];if(pt===pe)Re--;else return pt}return 0},ye=function(G,be,Re,pt,$t){if(Re[pt]===0)return Be;var gr=pt-1;if(Array.isArray($t)&&$t[gr]===!0)return Be;var Ir=gr-1,Hr=gr+1,zr=be[gr],un=Ir>=0?be[Ir]:0,sn=be[Hr];if(zr===Z&&sn===Y)return Be;if(or.indexOf(zr)!==-1)return it;if(or.indexOf(sn)!==-1)return Be;if(Qt.indexOf(sn)!==-1)return Be;if(ae(gr,be)===he)return ht;if(Mr.get(G[gr])===Se&&(sn===Ke||sn===_t||sn===Ue))return Be;if(zr===X||sn===X)return Be;if(zr===te)return Be;if([pe,We,yt].indexOf(zr)===-1&&sn===te)return Be;if([je,Ct,ct,Qe,Ie].indexOf(sn)!==-1)return Be;if(ae(gr,be)===dt)return Be;if(se(vt,dt,gr,be))return Be;if(se([je,Ct],bt,gr,be))return Be;if(se(we,we,gr,be))return Be;if(zr===pe)return ht;if(zr===vt||sn===vt)return Be;if(sn===_e||zr===_e)return ht;if([We,yt,bt].indexOf(sn)!==-1||zr===qe)return Be;if(un===Pt&&de.indexOf(zr)!==-1)return Be;if(zr===Ie&&sn===Pt)return Be;if(sn===nt&&Lt.concat(nt,ct,mt,Ke,_t,Ue).indexOf(zr)!==-1)return Be;if(Lt.indexOf(sn)!==-1&&zr===mt||Lt.indexOf(zr)!==-1&&sn===mt)return Be;if(zr===De&&[Ke,_t,Ue].indexOf(sn)!==-1||[Ke,_t,Ue].indexOf(zr)!==-1&&sn===Pe)return Be;if(Lt.indexOf(zr)!==-1&&qt.indexOf(sn)!==-1||qt.indexOf(zr)!==-1&&Lt.indexOf(sn)!==-1)return Be;if([De,Pe].indexOf(zr)!==-1&&(sn===mt||[dt,yt].indexOf(sn)!==-1&&be[Hr+1]===mt)||[dt,yt].indexOf(zr)!==-1&&sn===mt||zr===mt&&[mt,Ie,Qe].indexOf(sn)!==-1)return Be;if([mt,Ie,Qe,je,Ct].indexOf(sn)!==-1)for(var Fn=gr;Fn>=0;){var si=be[Fn];if(si===mt)return Be;if([Ie,Qe].indexOf(si)!==-1)Fn--;else break}if([De,Pe].indexOf(sn)!==-1)for(var Fn=[je,Ct].indexOf(zr)!==-1?Ir:gr;Fn>=0;){var si=be[Fn];if(si===mt)return Be;if([Ie,Qe].indexOf(si)!==-1)Fn--;else break}if(Ye===zr&&[Ye,$e,zt,xt].indexOf(sn)!==-1||[$e,zt].indexOf(zr)!==-1&&[$e,ut].indexOf(sn)!==-1||[ut,xt].indexOf(zr)!==-1&&sn===ut)return Be;if(Gt.indexOf(zr)!==-1&&[nt,Pe].indexOf(sn)!==-1||Gt.indexOf(sn)!==-1&&zr===De)return Be;if(Lt.indexOf(zr)!==-1&&Lt.indexOf(sn)!==-1)return Be;if(zr===Qe&&Lt.indexOf(sn)!==-1)return Be;if(Lt.concat(mt).indexOf(zr)!==-1&&sn===dt||Lt.concat(mt).indexOf(sn)!==-1&&zr===Ct)return Be;if(zr===et&&sn===et){for(var zn=Re[gr],fi=1;zn>0&&(zn--,be[zn]===et);)fi++;if(fi%2!==0)return Be}return zr===_t&&sn===Ue?Be:ht},Ce=function(G,be){be||(be={lineBreak:"normal",wordBreak:"normal"});var Re=ue(G,be.lineBreak),pt=Re[0],$t=Re[1],gr=Re[2];(be.wordBreak==="break-all"||be.wordBreak==="break-word")&&($t=$t.map(function(Hr){return[mt,wt,oe].indexOf(Hr)!==-1?Ke:Hr}));var Ir=be.wordBreak==="keep-all"?gr.map(function(Hr,zr){return Hr&&G[zr]>=19968&&G[zr]<=40959}):void 0;return[pt,$t,Ir]},Oe=function(){function Ne(G,be,Re,pt){this.codePoints=G,this.required=be===it,this.start=Re,this.end=pt}return Ne.prototype.slice=function(){return a.apply(void 0,this.codePoints.slice(this.start,this.end))},Ne}(),Te=function(G,be){var Re=r(G),pt=Ce(Re,be),$t=pt[0],gr=pt[1],Ir=pt[2],Hr=Re.length,zr=0,un=0;return{next:function(){if(un>=Hr)return{done:!0,value:null};for(var Fn=Be;un<Hr&&(Fn=ye(Re,gr,$t,++un,Ir))===Be;);if(Fn!==Be||un===Hr){var si=new Oe(Re,Fn,zr,un);return zr=un,{value:si,done:!1}}return{done:!0,value:null}}}},xe;(function(Ne){Ne[Ne.STRING_TOKEN=0]="STRING_TOKEN",Ne[Ne.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",Ne[Ne.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",Ne[Ne.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",Ne[Ne.COMMA_TOKEN=4]="COMMA_TOKEN",Ne[Ne.HASH_TOKEN=5]="HASH_TOKEN",Ne[Ne.DELIM_TOKEN=6]="DELIM_TOKEN",Ne[Ne.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",Ne[Ne.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",Ne[Ne.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",Ne[Ne.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",Ne[Ne.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",Ne[Ne.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",Ne[Ne.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",Ne[Ne.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",Ne[Ne.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",Ne[Ne.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",Ne[Ne.NUMBER_TOKEN=17]="NUMBER_TOKEN",Ne[Ne.FUNCTION=18]="FUNCTION",Ne[Ne.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",Ne[Ne.IDENT_TOKEN=20]="IDENT_TOKEN",Ne[Ne.COLUMN_TOKEN=21]="COLUMN_TOKEN",Ne[Ne.URL_TOKEN=22]="URL_TOKEN",Ne[Ne.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",Ne[Ne.CDC_TOKEN=24]="CDC_TOKEN",Ne[Ne.CDO_TOKEN=25]="CDO_TOKEN",Ne[Ne.COLON_TOKEN=26]="COLON_TOKEN",Ne[Ne.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",Ne[Ne.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",Ne[Ne.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",Ne[Ne.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",Ne[Ne.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",Ne[Ne.EOF_TOKEN=32]="EOF_TOKEN"})(xe||(xe={}));var ke=1<<0,lt=1<<1,At=1<<2,ee=1<<3,ie=10,z=47,$=92,le=9,ge=32,Ae=34,Me=61,Ze=35,kt=36,Jt=37,Et=39,Ft=40,Kt=41,Vt=95,Ot=45,ur=33,Zt=60,ze=62,at=64,Ve=91,Xe=93,gt=61,ft=123,Ge=63,Mt=125,It=124,rr=126,Ht=128,pr=65533,Ar=42,Nr=43,Fr=44,tn=58,Jr=59,Lr=46,Xr=0,Tr=8,lr=11,fr=14,sr=31,dr=127,Sr=-1,Qr=48,cn=97,Dn=101,jr=102,Ln=117,gn=122,Un=65,Wn=69,Jn=70,Qn=85,Vn=90,yn=function(G){return G>=Qr&&G<=57},on=function(G){return G>=55296&&G<=57343},ia=function(G){return yn(G)||G>=Un&&G<=Jn||G>=cn&&G<=jr},xa=function(G){return G>=cn&&G<=gn},ta=function(G){return G>=Un&&G<=Vn},Ni=function(G){return xa(G)||ta(G)},Ci=function(G){return G>=Ht},Gn=function(G){return G===ie||G===le||G===ge},Ia=function(G){return Ni(G)||Ci(G)||G===Vt},mn=function(G){return Ia(G)||yn(G)||G===Ot},In=function(G){return G>=Xr&&G<=Tr||G===lr||G>=fr&&G<=sr||G===dr},On=function(G,be){return G!==$?!1:be!==ie},Nn=function(G,be,Re){return G===Ot?Ia(be)||On(be,Re):Ia(G)?!0:!!(G===$&&On(G,be))},jn=function(G,be,Re){return G===Nr||G===Ot?yn(be)?!0:be===Lr&&yn(Re):G===Lr?yn(be):yn(G)},ni=function(G){var be=0,Re=1;(G[be]===Nr||G[be]===Ot)&&(G[be]===Ot&&(Re=-1),be++);for(var pt=[];yn(G[be]);)pt.push(G[be++]);var $t=pt.length?parseInt(a.apply(void 0,pt),10):0;G[be]===Lr&&be++;for(var gr=[];yn(G[be]);)gr.push(G[be++]);var Ir=gr.length,Hr=Ir?parseInt(a.apply(void 0,gr),10):0;(G[be]===Wn||G[be]===Dn)&&be++;var zr=1;(G[be]===Nr||G[be]===Ot)&&(G[be]===Ot&&(zr=-1),be++);for(var un=[];yn(G[be]);)un.push(G[be++]);var sn=un.length?parseInt(a.apply(void 0,un),10):0;return Re*($t+Hr*Math.pow(10,-Ir))*Math.pow(10,zr*sn)},di={type:xe.LEFT_PARENTHESIS_TOKEN},Da={type:xe.RIGHT_PARENTHESIS_TOKEN},Xi={type:xe.COMMA_TOKEN},ma={type:xe.SUFFIX_MATCH_TOKEN},ka={type:xe.PREFIX_MATCH_TOKEN},Xa={type:xe.COLUMN_TOKEN},Ki={type:xe.DASH_MATCH_TOKEN},Co={type:xe.INCLUDE_MATCH_TOKEN},aa={type:xe.LEFT_CURLY_BRACKET_TOKEN},Hi={type:xe.RIGHT_CURLY_BRACKET_TOKEN},ga={type:xe.SUBSTRING_MATCH_TOKEN},ha={type:xe.BAD_URL_TOKEN},mo={type:xe.BAD_STRING_TOKEN},Pn={type:xe.CDO_TOKEN},qi={type:xe.CDC_TOKEN},eo={type:xe.COLON_TOKEN},Lo={type:xe.SEMICOLON_TOKEN},co={type:xe.LEFT_SQUARE_BRACKET_TOKEN},er={type:xe.RIGHT_SQUARE_BRACKET_TOKEN},Cr={type:xe.WHITESPACE_TOKEN},Ur={type:xe.EOF_TOKEN},Kr=function(){function Ne(){this._value=[]}return Ne.prototype.write=function(G){this._value=this._value.concat(r(G))},Ne.prototype.read=function(){for(var G=[],be=this.consumeToken();be!==Ur;)G.push(be),be=this.consumeToken();return G},Ne.prototype.consumeToken=function(){var G=this.consumeCodePoint();switch(G){case Ae:return this.consumeStringToken(Ae);case Ze:var be=this.peekCodePoint(0),Re=this.peekCodePoint(1),pt=this.peekCodePoint(2);if(mn(be)||On(Re,pt)){var $t=Nn(be,Re,pt)?lt:ke,gr=this.consumeName();return{type:xe.HASH_TOKEN,value:gr,flags:$t}}break;case kt:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),ma;break;case Et:return this.consumeStringToken(Et);case Ft:return di;case Kt:return Da;case Ar:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),ga;break;case Nr:if(jn(G,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(G),this.consumeNumericToken();break;case Fr:return Xi;case Ot:var Ir=G,Hr=this.peekCodePoint(0),zr=this.peekCodePoint(1);if(jn(Ir,Hr,zr))return this.reconsumeCodePoint(G),this.consumeNumericToken();if(Nn(Ir,Hr,zr))return this.reconsumeCodePoint(G),this.consumeIdentLikeToken();if(Hr===Ot&&zr===ze)return this.consumeCodePoint(),this.consumeCodePoint(),qi;break;case Lr:if(jn(G,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(G),this.consumeNumericToken();break;case z:if(this.peekCodePoint(0)===Ar)for(this.consumeCodePoint();;){var un=this.consumeCodePoint();if(un===Ar&&(un=this.consumeCodePoint(),un===z))return this.consumeToken();if(un===Sr)return this.consumeToken()}break;case tn:return eo;case Jr:return Lo;case Zt:if(this.peekCodePoint(0)===ur&&this.peekCodePoint(1)===Ot&&this.peekCodePoint(2)===Ot)return this.consumeCodePoint(),this.consumeCodePoint(),Pn;break;case at:var sn=this.peekCodePoint(0),Fn=this.peekCodePoint(1),si=this.peekCodePoint(2);if(Nn(sn,Fn,si)){var gr=this.consumeName();return{type:xe.AT_KEYWORD_TOKEN,value:gr}}break;case Ve:return co;case $:if(On(G,this.peekCodePoint(0)))return this.reconsumeCodePoint(G),this.consumeIdentLikeToken();break;case Xe:return er;case gt:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),ka;break;case ft:return aa;case Mt:return Hi;case Ln:case Qn:var zn=this.peekCodePoint(0),fi=this.peekCodePoint(1);return zn===Nr&&(ia(fi)||fi===Ge)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(G),this.consumeIdentLikeToken();case It:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),Ki;if(this.peekCodePoint(0)===It)return this.consumeCodePoint(),Xa;break;case rr:if(this.peekCodePoint(0)===Me)return this.consumeCodePoint(),Co;break;case Sr:return Ur}return Gn(G)?(this.consumeWhiteSpace(),Cr):yn(G)?(this.reconsumeCodePoint(G),this.consumeNumericToken()):Ia(G)?(this.reconsumeCodePoint(G),this.consumeIdentLikeToken()):{type:xe.DELIM_TOKEN,value:a(G)}},Ne.prototype.consumeCodePoint=function(){var G=this._value.shift();return typeof G=="undefined"?-1:G},Ne.prototype.reconsumeCodePoint=function(G){this._value.unshift(G)},Ne.prototype.peekCodePoint=function(G){return G>=this._value.length?-1:this._value[G]},Ne.prototype.consumeUnicodeRangeToken=function(){for(var G=[],be=this.consumeCodePoint();ia(be)&&G.length<6;)G.push(be),be=this.consumeCodePoint();for(var Re=!1;be===Ge&&G.length<6;)G.push(be),be=this.consumeCodePoint(),Re=!0;if(Re){var pt=parseInt(a.apply(void 0,G.map(function(Hr){return Hr===Ge?Qr:Hr})),16),$t=parseInt(a.apply(void 0,G.map(function(Hr){return Hr===Ge?Jn:Hr})),16);return{type:xe.UNICODE_RANGE_TOKEN,start:pt,end:$t}}var gr=parseInt(a.apply(void 0,G),16);if(this.peekCodePoint(0)===Ot&&ia(this.peekCodePoint(1))){this.consumeCodePoint(),be=this.consumeCodePoint();for(var Ir=[];ia(be)&&Ir.length<6;)Ir.push(be),be=this.consumeCodePoint();var $t=parseInt(a.apply(void 0,Ir),16);return{type:xe.UNICODE_RANGE_TOKEN,start:gr,end:$t}}else return{type:xe.UNICODE_RANGE_TOKEN,start:gr,end:gr}},Ne.prototype.consumeIdentLikeToken=function(){var G=this.consumeName();return G.toLowerCase()==="url"&&this.peekCodePoint(0)===Ft?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ft?(this.consumeCodePoint(),{type:xe.FUNCTION_TOKEN,value:G}):{type:xe.IDENT_TOKEN,value:G}},Ne.prototype.consumeUrlToken=function(){var G=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Sr)return{type:xe.URL_TOKEN,value:""};var be=this.peekCodePoint(0);if(be===Et||be===Ae){var Re=this.consumeStringToken(this.consumeCodePoint());return Re.type===xe.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Sr||this.peekCodePoint(0)===Kt)?(this.consumeCodePoint(),{type:xe.URL_TOKEN,value:Re.value}):(this.consumeBadUrlRemnants(),ha)}for(;;){var pt=this.consumeCodePoint();if(pt===Sr||pt===Kt)return{type:xe.URL_TOKEN,value:a.apply(void 0,G)};if(Gn(pt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Sr||this.peekCodePoint(0)===Kt?(this.consumeCodePoint(),{type:xe.URL_TOKEN,value:a.apply(void 0,G)}):(this.consumeBadUrlRemnants(),ha);if(pt===Ae||pt===Et||pt===Ft||In(pt))return this.consumeBadUrlRemnants(),ha;if(pt===$)if(On(pt,this.peekCodePoint(0)))G.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ha;else G.push(pt)}},Ne.prototype.consumeWhiteSpace=function(){for(;Gn(this.peekCodePoint(0));)this.consumeCodePoint()},Ne.prototype.consumeBadUrlRemnants=function(){for(;;){var G=this.consumeCodePoint();if(G===Kt||G===Sr)return;On(G,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Ne.prototype.consumeStringSlice=function(G){for(var be=6e4,Re="";G>0;){var pt=Math.min(be,G);Re+=a.apply(void 0,this._value.splice(0,pt)),G-=pt}return this._value.shift(),Re},Ne.prototype.consumeStringToken=function(G){var be="",Re=0;do{var pt=this._value[Re];if(pt===Sr||pt===void 0||pt===G)return be+=this.consumeStringSlice(Re),{type:xe.STRING_TOKEN,value:be};if(pt===ie)return this._value.splice(0,Re),mo;if(pt===$){var $t=this._value[Re+1];$t!==Sr&&$t!==void 0&&($t===ie?(be+=this.consumeStringSlice(Re),Re=-1,this._value.shift()):On(pt,$t)&&(be+=this.consumeStringSlice(Re),be+=a(this.consumeEscapedCodePoint()),Re=-1))}Re++}while(!0)},Ne.prototype.consumeNumber=function(){var G=[],be=At,Re=this.peekCodePoint(0);for((Re===Nr||Re===Ot)&&G.push(this.consumeCodePoint());yn(this.peekCodePoint(0));)G.push(this.consumeCodePoint());Re=this.peekCodePoint(0);var pt=this.peekCodePoint(1);if(Re===Lr&&yn(pt))for(G.push(this.consumeCodePoint(),this.consumeCodePoint()),be=ee;yn(this.peekCodePoint(0));)G.push(this.consumeCodePoint());Re=this.peekCodePoint(0),pt=this.peekCodePoint(1);var $t=this.peekCodePoint(2);if((Re===Wn||Re===Dn)&&((pt===Nr||pt===Ot)&&yn($t)||yn(pt)))for(G.push(this.consumeCodePoint(),this.consumeCodePoint()),be=ee;yn(this.peekCodePoint(0));)G.push(this.consumeCodePoint());return[ni(G),be]},Ne.prototype.consumeNumericToken=function(){var G=this.consumeNumber(),be=G[0],Re=G[1],pt=this.peekCodePoint(0),$t=this.peekCodePoint(1),gr=this.peekCodePoint(2);if(Nn(pt,$t,gr)){var Ir=this.consumeName();return{type:xe.DIMENSION_TOKEN,number:be,flags:Re,unit:Ir}}return pt===Jt?(this.consumeCodePoint(),{type:xe.PERCENTAGE_TOKEN,number:be,flags:Re}):{type:xe.NUMBER_TOKEN,number:be,flags:Re}},Ne.prototype.consumeEscapedCodePoint=function(){var G=this.consumeCodePoint();if(ia(G)){for(var be=a(G);ia(this.peekCodePoint(0))&&be.length<6;)be+=a(this.consumeCodePoint());Gn(this.peekCodePoint(0))&&this.consumeCodePoint();var Re=parseInt(be,16);return Re===0||on(Re)||Re>1114111?pr:Re}return G===Sr?pr:G},Ne.prototype.consumeName=function(){for(var G="";;){var be=this.consumeCodePoint();if(mn(be))G+=a(be);else if(On(be,this.peekCodePoint(0)))G+=a(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(be),G}},Ne}(),hn=function(){function Ne(G){this._tokens=G}return Ne.create=function(G){var be=new Kr;return be.write(G),new Ne(be.read())},Ne.parseValue=function(G){return Ne.create(G).parseComponentValue()},Ne.parseValues=function(G){return Ne.create(G).parseComponentValues()},Ne.prototype.parseComponentValue=function(){for(var G=this.consumeToken();G.type===xe.WHITESPACE_TOKEN;)G=this.consumeToken();if(G.type===xe.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(G);var be=this.consumeComponentValue();do G=this.consumeToken();while(G.type===xe.WHITESPACE_TOKEN);if(G.type===xe.EOF_TOKEN)return be;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Ne.prototype.parseComponentValues=function(){for(var G=[];;){var be=this.consumeComponentValue();if(be.type===xe.EOF_TOKEN)return G;G.push(be),G.push()}},Ne.prototype.consumeComponentValue=function(){var G=this.consumeToken();switch(G.type){case xe.LEFT_CURLY_BRACKET_TOKEN:case xe.LEFT_SQUARE_BRACKET_TOKEN:case xe.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(G.type);case xe.FUNCTION_TOKEN:return this.consumeFunction(G)}return G},Ne.prototype.consumeSimpleBlock=function(G){for(var be={type:G,values:[]},Re=this.consumeToken();;){if(Re.type===xe.EOF_TOKEN||Zr(Re,G))return be;this.reconsumeToken(Re),be.values.push(this.consumeComponentValue()),Re=this.consumeToken()}},Ne.prototype.consumeFunction=function(G){for(var be={name:G.value,values:[],type:xe.FUNCTION};;){var Re=this.consumeToken();if(Re.type===xe.EOF_TOKEN||Re.type===xe.RIGHT_PARENTHESIS_TOKEN)return be;this.reconsumeToken(Re),be.values.push(this.consumeComponentValue())}},Ne.prototype.consumeToken=function(){var G=this._tokens.shift();return typeof G=="undefined"?Ur:G},Ne.prototype.reconsumeToken=function(G){this._tokens.unshift(G)},Ne}(),Fe=function(G){return G.type===xe.DIMENSION_TOKEN},Rt=function(G){return G.type===xe.NUMBER_TOKEN},Xt=function(G){return G.type===xe.IDENT_TOKEN},tr=function(G){return G.type===xe.STRING_TOKEN},Or=function(G,be){return Xt(G)&&G.value===be},br=function(G){return G.type!==xe.WHITESPACE_TOKEN},xr=function(G){return G.type!==xe.WHITESPACE_TOKEN&&G.type!==xe.COMMA_TOKEN},Wr=function(G){var be=[],Re=[];return G.forEach(function(pt){if(pt.type===xe.COMMA_TOKEN){if(Re.length===0)throw new Error("Error parsing function args, zero tokens for arg");be.push(Re),Re=[];return}pt.type!==xe.WHITESPACE_TOKEN&&Re.push(pt)}),Re.length&&be.push(Re),be},Zr=function(G,be){return be===xe.LEFT_CURLY_BRACKET_TOKEN&&G.type===xe.RIGHT_CURLY_BRACKET_TOKEN||be===xe.LEFT_SQUARE_BRACKET_TOKEN&&G.type===xe.RIGHT_SQUARE_BRACKET_TOKEN?!0:be===xe.LEFT_PARENTHESIS_TOKEN&&G.type===xe.RIGHT_PARENTHESIS_TOKEN},$r=function(G){return G.type===xe.NUMBER_TOKEN||G.type===xe.DIMENSION_TOKEN},an=function(G){return G.type===xe.PERCENTAGE_TOKEN||$r(G)},rt=function(G){return G.length>1?[G[0],G[1]]:[G[0]]},jt={type:xe.NUMBER_TOKEN,number:0,flags:At},ir={type:xe.PERCENTAGE_TOKEN,number:50,flags:At},yr={type:xe.PERCENTAGE_TOKEN,number:100,flags:At},Br=function(G,be,Re){var pt=G[0],$t=G[1];return[Dr(pt,be),Dr(typeof $t!="undefined"?$t:pt,Re)]},Dr=function(G,be){if(G.type===xe.PERCENTAGE_TOKEN)return G.number/100*be;if(Fe(G))switch(G.unit){case"rem":case"em":return 16*G.number;case"px":default:return G.number}return G.number},rn="deg",fn="grad",wn="rad",Hn="turn",Sn={name:"angle",parse:function(G){if(G.type===xe.DIMENSION_TOKEN)switch(G.unit){case rn:return Math.PI*G.number/180;case fn:return Math.PI/200*G.number;case wn:return G.number;case Hn:return Math.PI*2*G.number}throw new Error("Unsupported angle type")}},bn=function(G){return G.type===xe.DIMENSION_TOKEN&&(G.unit===rn||G.unit===fn||G.unit===wn||G.unit===Hn)},Bn=function(G){var be=G.filter(Xt).map(function(Re){return Re.value}).join(" ");switch(be){case"to bottom right":case"to right bottom":case"left top":case"top left":return[jt,jt];case"to top":case"bottom":return vn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[jt,yr];case"to right":case"left":return vn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[yr,yr];case"to bottom":case"top":return vn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[yr,jt];case"to left":case"right":return vn(270)}return 0},vn=function(G){return Math.PI*G/180},Mn={name:"color",parse:function(G){if(G.type===xe.FUNCTION){var be=xi[G.name];if(typeof be=="undefined")throw new Error('Attempting to parse an unsupported color function "'+G.name+'"');return be(G.values)}if(G.type===xe.HASH_TOKEN){if(G.value.length===3){var Re=G.value.substring(0,1),pt=G.value.substring(1,2),$t=G.value.substring(2,3);return Yn(parseInt(Re+Re,16),parseInt(pt+pt,16),parseInt($t+$t,16),1)}if(G.value.length===4){var Re=G.value.substring(0,1),pt=G.value.substring(1,2),$t=G.value.substring(2,3),gr=G.value.substring(3,4);return Yn(parseInt(Re+Re,16),parseInt(pt+pt,16),parseInt($t+$t,16),parseInt(gr+gr,16)/255)}if(G.value.length===6){var Re=G.value.substring(0,2),pt=G.value.substring(2,4),$t=G.value.substring(4,6);return Yn(parseInt(Re,16),parseInt(pt,16),parseInt($t,16),1)}if(G.value.length===8){var Re=G.value.substring(0,2),pt=G.value.substring(2,4),$t=G.value.substring(4,6),gr=G.value.substring(6,8);return Yn(parseInt(Re,16),parseInt(pt,16),parseInt($t,16),parseInt(gr,16)/255)}}if(G.type===xe.IDENT_TOKEN){var Ir=Oi[G.value.toUpperCase()];if(typeof Ir!="undefined")return Ir}return Oi.TRANSPARENT}},En=function(G){return(255&G)===0},Tn=function(G){var be=255&G,Re=255&G>>8,pt=255&G>>16,$t=255&G>>24;return be<255?"rgba("+$t+","+pt+","+Re+","+be/255+")":"rgb("+$t+","+pt+","+Re+")"},Yn=function(G,be,Re,pt){return(G<<24|be<<16|Re<<8|Math.round(pt*255)<<0)>>>0},ai=function(G,be){if(G.type===xe.NUMBER_TOKEN)return G.number;if(G.type===xe.PERCENTAGE_TOKEN){var Re=be===3?1:255;return be===3?G.number/100*Re:Math.round(G.number/100*Re)}return 0},ri=function(G){var be=G.filter(xr);if(be.length===3){var Re=be.map(ai),pt=Re[0],$t=Re[1],gr=Re[2];return Yn(pt,$t,gr,1)}if(be.length===4){var Ir=be.map(ai),pt=Ir[0],$t=Ir[1],gr=Ir[2],Hr=Ir[3];return Yn(pt,$t,gr,Hr)}return 0};function Ri(Ne,G,be){return be<0&&(be+=1),be>=1&&(be-=1),be<1/6?(G-Ne)*be*6+Ne:be<1/2?G:be<2/3?(G-Ne)*6*(2/3-be)+Ne:Ne}var Ai=function(G){var be=G.filter(xr),Re=be[0],pt=be[1],$t=be[2],gr=be[3],Ir=(Re.type===xe.NUMBER_TOKEN?vn(Re.number):Sn.parse(Re))/(Math.PI*2),Hr=an(pt)?pt.number/100:0,zr=an($t)?$t.number/100:0,un=typeof gr!="undefined"&&an(gr)?Dr(gr,1):1;if(Hr===0)return Yn(zr*255,zr*255,zr*255,1);var sn=zr<=.5?zr*(Hr+1):zr+Hr-zr*Hr,Fn=zr*2-sn,si=Ri(Fn,sn,Ir+1/3),zn=Ri(Fn,sn,Ir),fi=Ri(Fn,sn,Ir-1/3);return Yn(si*255,zn*255,fi*255,un)},xi={hsl:Ai,hsla:Ai,rgb:ri,rgba:ri},Oi={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},_n;(function(Ne){Ne[Ne.VALUE=0]="VALUE",Ne[Ne.LIST=1]="LIST",Ne[Ne.IDENT_VALUE=2]="IDENT_VALUE",Ne[Ne.TYPE_VALUE=3]="TYPE_VALUE",Ne[Ne.TOKEN_VALUE=4]="TOKEN_VALUE"})(_n||(_n={}));var Mi;(function(Ne){Ne[Ne.BORDER_BOX=0]="BORDER_BOX",Ne[Ne.PADDING_BOX=1]="PADDING_BOX",Ne[Ne.CONTENT_BOX=2]="CONTENT_BOX"})(Mi||(Mi={}));var fa={name:"background-clip",initialValue:"border-box",prefix:!1,type:_n.LIST,parse:function(G){return G.map(function(be){if(Xt(be))switch(be.value){case"padding-box":return Mi.PADDING_BOX;case"content-box":return Mi.CONTENT_BOX}return Mi.BORDER_BOX})}},_i={name:"background-color",initialValue:"transparent",prefix:!1,type:_n.TYPE_VALUE,format:"color"},Bi=function(G){var be=Mn.parse(G[0]),Re=G[1];return Re&&an(Re)?{color:be,stop:Re}:{color:be,stop:null}},mi=function(G,be){var Re=G[0],pt=G[G.length-1];Re.stop===null&&(Re.stop=jt),pt.stop===null&&(pt.stop=yr);for(var $t=[],gr=0,Ir=0;Ir<G.length;Ir++){var Hr=G[Ir].stop;if(Hr!==null){var zr=Dr(Hr,be);zr>gr?$t.push(zr):$t.push(gr),gr=zr}else $t.push(null)}for(var un=null,Ir=0;Ir<$t.length;Ir++){var sn=$t[Ir];if(sn===null)un===null&&(un=Ir);else if(un!==null){for(var Fn=Ir-un,si=$t[un-1],zn=(sn-si)/(Fn+1),fi=1;fi<=Fn;fi++)$t[un+fi-1]=zn*fi;un=null}}return G.map(function(da,Li){var na=da.color;return{color:na,stop:Math.max(Math.min(1,$t[Li]/be),0)}})},hi=function(G,be,Re){var pt=be/2,$t=Re/2,gr=Dr(G[0],be)-pt,Ir=$t-Dr(G[1],Re);return(Math.atan2(Ir,gr)+Math.PI*2)%(Math.PI*2)},Ji=function(G,be,Re){var pt=typeof G=="number"?G:hi(G,be,Re),$t=Math.abs(be*Math.sin(pt))+Math.abs(Re*Math.cos(pt)),gr=be/2,Ir=Re/2,Hr=$t/2,zr=Math.sin(pt-Math.PI/2)*Hr,un=Math.cos(pt-Math.PI/2)*Hr;return[$t,gr-un,gr+un,Ir-zr,Ir+zr]},va=function(G,be){return Math.sqrt(G*G+be*be)},Ea=function(G,be,Re,pt,$t){var gr=[[0,0],[0,be],[G,0],[G,be]];return gr.reduce(function(Ir,Hr){var zr=Hr[0],un=Hr[1],sn=va(Re-zr,pt-un);return($t?sn<Ir.optimumDistance:sn>Ir.optimumDistance)?{optimumCorner:Hr,optimumDistance:sn}:Ir},{optimumDistance:$t?Infinity:-Infinity,optimumCorner:null}).optimumCorner},Aa=function(G,be,Re,pt,$t){var gr=0,Ir=0;switch(G.size){case Fi.CLOSEST_SIDE:G.shape===Ta.CIRCLE?gr=Ir=Math.min(Math.abs(be),Math.abs(be-pt),Math.abs(Re),Math.abs(Re-$t)):G.shape===Ta.ELLIPSE&&(gr=Math.min(Math.abs(be),Math.abs(be-pt)),Ir=Math.min(Math.abs(Re),Math.abs(Re-$t)));break;case Fi.CLOSEST_CORNER:if(G.shape===Ta.CIRCLE)gr=Ir=Math.min(va(be,Re),va(be,Re-$t),va(be-pt,Re),va(be-pt,Re-$t));else if(G.shape===Ta.ELLIPSE){var Hr=Math.min(Math.abs(Re),Math.abs(Re-$t))/Math.min(Math.abs(be),Math.abs(be-pt)),zr=Ea(pt,$t,be,Re,!0),un=zr[0],sn=zr[1];gr=va(un-be,(sn-Re)/Hr),Ir=Hr*gr}break;case Fi.FARTHEST_SIDE:G.shape===Ta.CIRCLE?gr=Ir=Math.max(Math.abs(be),Math.abs(be-pt),Math.abs(Re),Math.abs(Re-$t)):G.shape===Ta.ELLIPSE&&(gr=Math.max(Math.abs(be),Math.abs(be-pt)),Ir=Math.max(Math.abs(Re),Math.abs(Re-$t)));break;case Fi.FARTHEST_CORNER:if(G.shape===Ta.CIRCLE)gr=Ir=Math.max(va(be,Re),va(be,Re-$t),va(be-pt,Re),va(be-pt,Re-$t));else if(G.shape===Ta.ELLIPSE){var Hr=Math.max(Math.abs(Re),Math.abs(Re-$t))/Math.max(Math.abs(be),Math.abs(be-pt)),Fn=Ea(pt,$t,be,Re,!1),un=Fn[0],sn=Fn[1];gr=va(un-be,(sn-Re)/Hr),Ir=Hr*gr}break}return Array.isArray(G.size)&&(gr=Dr(G.size[0],pt),Ir=G.size.length===2?Dr(G.size[1],$t):gr),[gr,Ir]},oa=function(G){var be=vn(180),Re=[];return Wr(G).forEach(function(pt,$t){if($t===0){var gr=pt[0];if(gr.type===xe.IDENT_TOKEN&&gr.value==="to"){be=Bn(pt);return}else if(bn(gr)){be=Sn.parse(gr);return}}var Ir=Bi(pt);Re.push(Ir)}),{angle:be,stops:Re,type:Ca.LINEAR_GRADIENT}},sa=function(G){var be=vn(180),Re=[];return Wr(G).forEach(function(pt,$t){if($t===0){var gr=pt[0];if(gr.type===xe.IDENT_TOKEN&&["top","left","right","bottom"].indexOf(gr.value)!==-1){be=Bn(pt);return}else if(bn(gr)){be=(Sn.parse(gr)+vn(270))%vn(360);return}}var Ir=Bi(pt);Re.push(Ir)}),{angle:be,stops:Re,type:Ca.LINEAR_GRADIENT}},Di=function(G){var be=123;if(G.createRange){var Re=G.createRange();if(Re.getBoundingClientRect){var pt=G.createElement("boundtest");pt.style.height=be+"px",pt.style.display="block",G.body.appendChild(pt),Re.selectNode(pt);var $t=Re.getBoundingClientRect(),gr=Math.round($t.height);if(G.body.removeChild(pt),gr===be)return!0}}return!1},qn=function(){return typeof new Image().crossOrigin!="undefined"},yi=function(){return typeof new XMLHttpRequest().responseType=="string"},Ti=function(G){var be=new Image,Re=G.createElement("canvas"),pt=Re.getContext("2d");if(!pt)return!1;be.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{pt.drawImage(be,0,0),Re.toDataURL()}catch($t){return!1}return!0},Vi=function(G){return G[0]===0&&G[1]===255&&G[2]===0&&G[3]===255},Yi=function(G){var be=G.createElement("canvas"),Re=100;be.width=Re,be.height=Re;var pt=be.getContext("2d");if(!pt)return Promise.reject(!1);pt.fillStyle="rgb(0, 255, 0)",pt.fillRect(0,0,Re,Re);var $t=new Image,gr=be.toDataURL();$t.src=gr;var Ir=bi(Re,Re,0,0,$t);return pt.fillStyle="red",pt.fillRect(0,0,Re,Re),ya(Ir).then(function(Hr){pt.drawImage(Hr,0,0);var zr=pt.getImageData(0,0,Re,Re).data;pt.fillStyle="red",pt.fillRect(0,0,Re,Re);var un=G.createElement("div");return un.style.backgroundImage="url("+gr+")",un.style.height=Re+"px",Vi(zr)?ya(bi(Re,Re,0,0,un)):Promise.reject(!1)}).then(function(Hr){return pt.drawImage(Hr,0,0),Vi(pt.getImageData(0,0,Re,Re).data)}).catch(function(){return!1})},bi=function(G,be,Re,pt,$t){var gr="http://www.w3.org/2000/svg",Ir=document.createElementNS(gr,"svg"),Hr=document.createElementNS(gr,"foreignObject");return Ir.setAttributeNS(null,"width",G.toString()),Ir.setAttributeNS(null,"height",be.toString()),Hr.setAttributeNS(null,"width","100%"),Hr.setAttributeNS(null,"height","100%"),Hr.setAttributeNS(null,"x",Re.toString()),Hr.setAttributeNS(null,"y",pt.toString()),Hr.setAttributeNS(null,"externalResourcesRequired","true"),Ir.appendChild(Hr),Hr.appendChild($t),Ir},ya=function(G){return new Promise(function(be,Re){var pt=new Image;pt.onload=function(){return be(pt)},pt.onerror=Re,pt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(G))})},ua={get SUPPORT_RANGE_BOUNDS(){var Ne=Di(document);return Object.defineProperty(ua,"SUPPORT_RANGE_BOUNDS",{value:Ne}),Ne},get SUPPORT_SVG_DRAWING(){var Ne=Ti(document);return Object.defineProperty(ua,"SUPPORT_SVG_DRAWING",{value:Ne}),Ne},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Ne=typeof Array.from=="function"&&typeof window.fetch=="function"?Yi(document):Promise.resolve(!1);return Object.defineProperty(ua,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Ne}),Ne},get SUPPORT_CORS_IMAGES(){var Ne=qn();return Object.defineProperty(ua,"SUPPORT_CORS_IMAGES",{value:Ne}),Ne},get SUPPORT_RESPONSE_TYPE(){var Ne=yi();return Object.defineProperty(ua,"SUPPORT_RESPONSE_TYPE",{value:Ne}),Ne},get SUPPORT_CORS_XHR(){var Ne="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ua,"SUPPORT_CORS_XHR",{value:Ne}),Ne}},la=function(){function Ne(G){var be=G.id,Re=G.enabled;this.id=be,this.enabled=Re,this.start=Date.now()}return Ne.prototype.debug=function(){for(var G=[],be=0;be<arguments.length;be++)G[be]=arguments[be];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(G)):this.info.apply(this,G))},Ne.prototype.getTime=function(){return Date.now()-this.start},Ne.create=function(G){Ne.instances[G.id]=new Ne(G)},Ne.destroy=function(G){delete Ne.instances[G]},Ne.getInstance=function(G){var be=Ne.instances[G];if(typeof be=="undefined")throw new Error("No logger instance found with id "+G);return be},Ne.prototype.info=function(){for(var G=[],be=0;be<arguments.length;be++)G[be]=arguments[be];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(G)))},Ne.prototype.error=function(){for(var G=[],be=0;be<arguments.length;be++)G[be]=arguments[be];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(G)):this.info.apply(this,G))},Ne.instances={},Ne}(),gi=function(){function Ne(){}return Ne.create=function(G,be){return Ne._caches[G]=new Ua(G,be)},Ne.destroy=function(G){delete Ne._caches[G]},Ne.open=function(G){var be=Ne._caches[G];if(typeof be!="undefined")return be;throw new Error('Cache with key "'+G+'" not found')},Ne.getOrigin=function(G){var be=Ne._link;return be?(be.href=G,be.href=be.href,be.protocol+be.hostname+be.port):"about:blank"},Ne.isSameOrigin=function(G){return Ne.getOrigin(G)===Ne._origin},Ne.setContext=function(G){Ne._link=G.document.createElement("a"),Ne._origin=Ne.getOrigin(G.location.href)},Ne.getInstance=function(){var G=Ne._current;if(G===null)throw new Error("No cache instance attached");return G},Ne.attachInstance=function(G){Ne._current=G},Ne.detachInstance=function(){Ne._current=null},Ne._caches={},Ne._origin="about:blank",Ne._current=null,Ne}(),Ua=function(){function Ne(G,be){this.id=G,this._options=be,this._cache={}}return Ne.prototype.addImage=function(G){var be=Promise.resolve();return this.has(G)||(ba(G)||Ya(G))&&(this._cache[G]=this.loadImage(G)),be},Ne.prototype.match=function(G){return this._cache[G]},Ne.prototype.loadImage=function(G){return p(this,void 0,void 0,function(){var be,Re,pt,$t,gr=this;return v(this,function(Ir){switch(Ir.label){case 0:return be=gi.isSameOrigin(G),Re=!zi(G)&&this._options.useCORS===!0&&ua.SUPPORT_CORS_IMAGES&&!be,pt=!zi(G)&&!be&&typeof this._options.proxy=="string"&&ua.SUPPORT_CORS_XHR&&!Re,!be&&this._options.allowTaint===!1&&!zi(G)&&!pt&&!Re?[2]:($t=G,pt?[4,this.proxy($t)]:[3,2]);case 1:$t=Ir.sent(),Ir.label=2;case 2:return la.getInstance(this.id).debug("Added image "+G.substring(0,256)),[4,new Promise(function(Hr,zr){var un=new Image;un.onload=function(){return Hr(un)},un.onerror=zr,(Wi($t)||Re)&&(un.crossOrigin="anonymous"),un.src=$t,un.complete===!0&&setTimeout(function(){return Hr(un)},500),gr._options.imageTimeout>0&&setTimeout(function(){return zr("Timed out ("+gr._options.imageTimeout+"ms) loading image")},gr._options.imageTimeout)})];case 3:return[2,Ir.sent()]}})})},Ne.prototype.has=function(G){return typeof this._cache[G]!="undefined"},Ne.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Ne.prototype.proxy=function(G){var be=this,Re=this._options.proxy;if(!Re)throw new Error("No proxy defined");var pt=G.substring(0,256);return new Promise(function($t,gr){var Ir=ua.SUPPORT_RESPONSE_TYPE?"blob":"text",Hr=new XMLHttpRequest;if(Hr.onload=function(){if(Hr.status===200)if(Ir==="text")$t(Hr.response);else{var un=new FileReader;un.addEventListener("load",function(){return $t(un.result)},!1),un.addEventListener("error",function(sn){return gr(sn)},!1),un.readAsDataURL(Hr.response)}else gr("Failed to proxy resource "+pt+" with status code "+Hr.status)},Hr.onerror=gr,Hr.open("GET",Re+"?url="+encodeURIComponent(G)+"&responseType="+Ir),Ir!=="text"&&Hr instanceof XMLHttpRequest&&(Hr.responseType=Ir),be._options.imageTimeout){var zr=be._options.imageTimeout;Hr.timeout=zr,Hr.ontimeout=function(){return gr("Timed out ("+zr+"ms) proxying "+pt)}}Hr.send()})},Ne}(),Ba=/^data:image\/svg\+xml/i,ra=/^data:image\/.*;base64,/i,Qi=/^data:image\/.*/i,Ya=function(G){return ua.SUPPORT_SVG_DRAWING||!_a(G)},zi=function(G){return Qi.test(G)},Wi=function(G){return ra.test(G)},ba=function(G){return G.substr(0,4)==="blob"},_a=function(G){return G.substr(-3).toLowerCase()==="svg"||Ba.test(G)},wa=function(G){var be=vn(180),Re=[],pt=Ca.LINEAR_GRADIENT,$t=Ta.CIRCLE,gr=Fi.FARTHEST_CORNER,Ir=[];return Wr(G).forEach(function(Hr,zr){var un=Hr[0];if(zr===0){if(Xt(un)&&un.value==="linear"){pt=Ca.LINEAR_GRADIENT;return}else if(Xt(un)&&un.value==="radial"){pt=Ca.RADIAL_GRADIENT;return}}if(un.type===xe.FUNCTION){if(un.name==="from"){var sn=Mn.parse(un.values[0]);Re.push({stop:jt,color:sn})}else if(un.name==="to"){var sn=Mn.parse(un.values[0]);Re.push({stop:yr,color:sn})}else if(un.name==="color-stop"){var Fn=un.values.filter(xr);if(Fn.length===2){var sn=Mn.parse(Fn[1]),si=Fn[0];Rt(si)&&Re.push({stop:{type:xe.PERCENTAGE_TOKEN,number:si.number*100,flags:si.flags},color:sn})}}}}),pt===Ca.LINEAR_GRADIENT?{angle:(be+vn(180))%vn(360),stops:Re,type:pt}:{size:gr,shape:$t,stops:Re,position:Ir,type:pt}},vi="closest-side",Qa="farthest-side",za="closest-corner",pa="farthest-corner",Ii="circle",So="ellipse",Wa="cover",ja="contain",Ja=function(G){var be=Ta.CIRCLE,Re=Fi.FARTHEST_CORNER,pt=[],$t=[];return Wr(G).forEach(function(gr,Ir){var Hr=!0;if(Ir===0){var zr=!1;Hr=gr.reduce(function(sn,Fn){if(zr)if(Xt(Fn))switch(Fn.value){case"center":return $t.push(ir),sn;case"top":case"left":return $t.push(jt),sn;case"right":case"bottom":return $t.push(yr),sn}else(an(Fn)||$r(Fn))&&$t.push(Fn);else if(Xt(Fn))switch(Fn.value){case Ii:return be=Ta.CIRCLE,!1;case So:return be=Ta.ELLIPSE,!1;case"at":return zr=!0,!1;case vi:return Re=Fi.CLOSEST_SIDE,!1;case Wa:case Qa:return Re=Fi.FARTHEST_SIDE,!1;case ja:case za:return Re=Fi.CLOSEST_CORNER,!1;case pa:return Re=Fi.FARTHEST_CORNER,!1}else if($r(Fn)||an(Fn))return Array.isArray(Re)||(Re=[]),Re.push(Fn),!1;return sn},Hr)}if(Hr){var un=Bi(gr);pt.push(un)}}),{size:Re,shape:be,stops:pt,position:$t,type:Ca.RADIAL_GRADIENT}},ho=function(G){var be=Ta.CIRCLE,Re=Fi.FARTHEST_CORNER,pt=[],$t=[];return Wr(G).forEach(function(gr,Ir){var Hr=!0;if(Ir===0?Hr=gr.reduce(function(un,sn){if(Xt(sn))switch(sn.value){case"center":return $t.push(ir),!1;case"top":case"left":return $t.push(jt),!1;case"right":case"bottom":return $t.push(yr),!1}else if(an(sn)||$r(sn))return $t.push(sn),!1;return un},Hr):Ir===1&&(Hr=gr.reduce(function(un,sn){if(Xt(sn))switch(sn.value){case Ii:return be=Ta.CIRCLE,!1;case So:return be=Ta.ELLIPSE,!1;case ja:case vi:return Re=Fi.CLOSEST_SIDE,!1;case Qa:return Re=Fi.FARTHEST_SIDE,!1;case za:return Re=Fi.CLOSEST_CORNER,!1;case Wa:case pa:return Re=Fi.FARTHEST_CORNER,!1}else if($r(sn)||an(sn))return Array.isArray(Re)||(Re=[]),Re.push(sn),!1;return un},Hr)),Hr){var zr=Bi(gr);pt.push(zr)}}),{size:Re,shape:be,stops:pt,position:$t,type:Ca.RADIAL_GRADIENT}},Ca;(function(Ne){Ne[Ne.URL=0]="URL",Ne[Ne.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",Ne[Ne.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Ca||(Ca={}));var to=function(G){return G.type===Ca.LINEAR_GRADIENT},Oo=function(G){return G.type===Ca.RADIAL_GRADIENT},Ta;(function(Ne){Ne[Ne.CIRCLE=0]="CIRCLE",Ne[Ne.ELLIPSE=1]="ELLIPSE"})(Ta||(Ta={}));var Fi;(function(Ne){Ne[Ne.CLOSEST_SIDE=0]="CLOSEST_SIDE",Ne[Ne.FARTHEST_SIDE=1]="FARTHEST_SIDE",Ne[Ne.CLOSEST_CORNER=2]="CLOSEST_CORNER",Ne[Ne.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(Fi||(Fi={}));var Za={name:"image",parse:function(G){if(G.type===xe.URL_TOKEN){var be={url:G.value,type:Ca.URL};return gi.getInstance().addImage(G.value),be}if(G.type===xe.FUNCTION){var Re=pi[G.name];if(typeof Re=="undefined")throw new Error('Attempting to parse an unsupported image function "'+G.name+'"');return Re(G.values)}throw new Error("Unsupported image type")}};function Ra(Ne){return Ne.type!==xe.FUNCTION||pi[Ne.name]}var pi={"linear-gradient":oa,"-moz-linear-gradient":sa,"-ms-linear-gradient":sa,"-o-linear-gradient":sa,"-webkit-linear-gradient":sa,"radial-gradient":Ja,"-moz-radial-gradient":ho,"-ms-radial-gradient":ho,"-o-radial-gradient":ho,"-webkit-radial-gradient":ho,"-webkit-gradient":wa},Gi={name:"background-image",initialValue:"none",type:_n.LIST,prefix:!1,parse:function(G){if(G.length===0)return[];var be=G[0];return be.type===xe.IDENT_TOKEN&&be.value==="none"?[]:G.filter(function(Re){return xr(Re)&&Ra(Re)}).map(Za.parse)}},oo={name:"background-origin",initialValue:"border-box",prefix:!1,type:_n.LIST,parse:function(G){return G.map(function(be){if(Xt(be))switch(be.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},go={name:"background-position",initialValue:"0% 0%",type:_n.LIST,prefix:!1,parse:function(G){return Wr(G).map(function(be){return be.filter(an)}).map(rt)}},fo;(function(Ne){Ne[Ne.REPEAT=0]="REPEAT",Ne[Ne.NO_REPEAT=1]="NO_REPEAT",Ne[Ne.REPEAT_X=2]="REPEAT_X",Ne[Ne.REPEAT_Y=3]="REPEAT_Y"})(fo||(fo={}));var La={name:"background-repeat",initialValue:"repeat",prefix:!1,type:_n.LIST,parse:function(G){return Wr(G).map(function(be){return be.filter(Xt).map(function(Re){return Re.value}).join(" ")}).map(Pi)}},Pi=function(G){switch(G){case"no-repeat":return fo.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return fo.REPEAT_X;case"repeat-y":case"no-repeat repeat":return fo.REPEAT_Y;case"repeat":default:return fo.REPEAT}},Ma;(function(Ne){Ne.AUTO="auto",Ne.CONTAIN="contain",Ne.COVER="cover"})(Ma||(Ma={}));var Vo={name:"background-size",initialValue:"0",prefix:!1,type:_n.LIST,parse:function(G){return Wr(G).map(function(be){return be.filter(ro)})}},ro=function(G){return Xt(G)||an(G)},vo=function(G){return{name:"border-"+G+"-color",initialValue:"transparent",prefix:!1,type:_n.TYPE_VALUE,format:"color"}},po=vo("top"),$i=vo("right"),xo=vo("bottom"),is=vo("left"),Zo=function(G){return{name:"border-radius-"+G,initialValue:"0 0",prefix:!1,type:_n.LIST,parse:function(Re){return rt(Re.filter(an))}}},Ns=Zo("top-left"),Cs=Zo("top-right"),Ls=Zo("bottom-right"),Go=Zo("bottom-left"),bo;(function(Ne){Ne[Ne.NONE=0]="NONE",Ne[Ne.SOLID=1]="SOLID"})(bo||(bo={}));var $a=function(G){return{name:"border-"+G+"-style",initialValue:"solid",prefix:!1,type:_n.IDENT_VALUE,parse:function(Re){switch(Re){case"none":return bo.NONE}return bo.SOLID}}},Ga=$a("top"),so=$a("right"),ps=$a("bottom"),wr=$a("left"),Yo=function(G){return{name:"border-"+G+"-width",initialValue:"0",type:_n.VALUE,prefix:!1,parse:function(Re){return Fe(Re)?Re.number:0}}},ss=Yo("top"),Os=Yo("right"),Fa=Yo("bottom"),Oa=Yo("left"),Io={name:"color",initialValue:"transparent",prefix:!1,type:_n.TYPE_VALUE,format:"color"},To={name:"display",initialValue:"inline-block",prefix:!1,type:_n.LIST,parse:function(G){return G.filter(Xt).reduce(function(be,Re){return be|ts(Re.value)},0)}},ts=function(G){switch(G){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},ko;(function(Ne){Ne[Ne.NONE=0]="NONE",Ne[Ne.LEFT=1]="LEFT",Ne[Ne.RIGHT=2]="RIGHT",Ne[Ne.INLINE_START=3]="INLINE_START",Ne[Ne.INLINE_END=4]="INLINE_END"})(ko||(ko={}));var rs={name:"float",initialValue:"none",prefix:!1,type:_n.IDENT_VALUE,parse:function(G){switch(G){case"left":return ko.LEFT;case"right":return ko.RIGHT;case"inline-start":return ko.INLINE_START;case"inline-end":return ko.INLINE_END}return ko.NONE}},ms={name:"letter-spacing",initialValue:"0",prefix:!1,type:_n.VALUE,parse:function(G){return G.type===xe.IDENT_TOKEN&&G.value==="normal"?0:G.type===xe.NUMBER_TOKEN||G.type===xe.DIMENSION_TOKEN?G.number:0}},ls;(function(Ne){Ne.NORMAL="normal",Ne.STRICT="strict"})(ls||(ls={}));var Ds={name:"line-break",initialValue:"normal",prefix:!1,type:_n.IDENT_VALUE,parse:function(G){switch(G){case"strict":return ls.STRICT;case"normal":default:return ls.NORMAL}}},Rs={name:"line-height",initialValue:"normal",prefix:!1,type:_n.TOKEN_VALUE},as=function(G,be){return Xt(G)&&G.value==="normal"?1.2*be:G.type===xe.NUMBER_TOKEN?be*G.number:an(G)?Dr(G,be):be},$s={name:"list-style-image",initialValue:"none",type:_n.VALUE,prefix:!1,parse:function(G){return G.type===xe.IDENT_TOKEN&&G.value==="none"?null:Za.parse(G)}},us;(function(Ne){Ne[Ne.INSIDE=0]="INSIDE",Ne[Ne.OUTSIDE=1]="OUTSIDE"})(us||(us={}));var Bo={name:"list-style-position",initialValue:"outside",prefix:!1,type:_n.IDENT_VALUE,parse:function(G){switch(G){case"inside":return us.INSIDE;case"outside":default:return us.OUTSIDE}}},Rn;(function(Ne){Ne[Ne.NONE=-1]="NONE",Ne[Ne.DISC=0]="DISC",Ne[Ne.CIRCLE=1]="CIRCLE",Ne[Ne.SQUARE=2]="SQUARE",Ne[Ne.DECIMAL=3]="DECIMAL",Ne[Ne.CJK_DECIMAL=4]="CJK_DECIMAL",Ne[Ne.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",Ne[Ne.LOWER_ROMAN=6]="LOWER_ROMAN",Ne[Ne.UPPER_ROMAN=7]="UPPER_ROMAN",Ne[Ne.LOWER_GREEK=8]="LOWER_GREEK",Ne[Ne.LOWER_ALPHA=9]="LOWER_ALPHA",Ne[Ne.UPPER_ALPHA=10]="UPPER_ALPHA",Ne[Ne.ARABIC_INDIC=11]="ARABIC_INDIC",Ne[Ne.ARMENIAN=12]="ARMENIAN",Ne[Ne.BENGALI=13]="BENGALI",Ne[Ne.CAMBODIAN=14]="CAMBODIAN",Ne[Ne.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",Ne[Ne.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",Ne[Ne.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",Ne[Ne.DEVANAGARI=18]="DEVANAGARI",Ne[Ne.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",Ne[Ne.GEORGIAN=20]="GEORGIAN",Ne[Ne.GUJARATI=21]="GUJARATI",Ne[Ne.GURMUKHI=22]="GURMUKHI",Ne[Ne.HEBREW=22]="HEBREW",Ne[Ne.HIRAGANA=23]="HIRAGANA",Ne[Ne.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",Ne[Ne.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",Ne[Ne.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",Ne[Ne.KANNADA=27]="KANNADA",Ne[Ne.KATAKANA=28]="KATAKANA",Ne[Ne.KATAKANA_IROHA=29]="KATAKANA_IROHA",Ne[Ne.KHMER=30]="KHMER",Ne[Ne.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",Ne[Ne.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",Ne[Ne.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",Ne[Ne.LAO=34]="LAO",Ne[Ne.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",Ne[Ne.MALAYALAM=36]="MALAYALAM",Ne[Ne.MONGOLIAN=37]="MONGOLIAN",Ne[Ne.MYANMAR=38]="MYANMAR",Ne[Ne.ORIYA=39]="ORIYA",Ne[Ne.PERSIAN=40]="PERSIAN",Ne[Ne.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",Ne[Ne.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",Ne[Ne.TAMIL=43]="TAMIL",Ne[Ne.TELUGU=44]="TELUGU",Ne[Ne.THAI=45]="THAI",Ne[Ne.TIBETAN=46]="TIBETAN",Ne[Ne.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",Ne[Ne.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",Ne[Ne.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",Ne[Ne.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",Ne[Ne.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Rn||(Rn={}));var Vs={name:"list-style-type",initialValue:"none",prefix:!1,type:_n.IDENT_VALUE,parse:function(G){switch(G){case"disc":return Rn.DISC;case"circle":return Rn.CIRCLE;case"square":return Rn.SQUARE;case"decimal":return Rn.DECIMAL;case"cjk-decimal":return Rn.CJK_DECIMAL;case"decimal-leading-zero":return Rn.DECIMAL_LEADING_ZERO;case"lower-roman":return Rn.LOWER_ROMAN;case"upper-roman":return Rn.UPPER_ROMAN;case"lower-greek":return Rn.LOWER_GREEK;case"lower-alpha":return Rn.LOWER_ALPHA;case"upper-alpha":return Rn.UPPER_ALPHA;case"arabic-indic":return Rn.ARABIC_INDIC;case"armenian":return Rn.ARMENIAN;case"bengali":return Rn.BENGALI;case"cambodian":return Rn.CAMBODIAN;case"cjk-earthly-branch":return Rn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Rn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Rn.CJK_IDEOGRAPHIC;case"devanagari":return Rn.DEVANAGARI;case"ethiopic-numeric":return Rn.ETHIOPIC_NUMERIC;case"georgian":return Rn.GEORGIAN;case"gujarati":return Rn.GUJARATI;case"gurmukhi":return Rn.GURMUKHI;case"hebrew":return Rn.HEBREW;case"hiragana":return Rn.HIRAGANA;case"hiragana-iroha":return Rn.HIRAGANA_IROHA;case"japanese-formal":return Rn.JAPANESE_FORMAL;case"japanese-informal":return Rn.JAPANESE_INFORMAL;case"kannada":return Rn.KANNADA;case"katakana":return Rn.KATAKANA;case"katakana-iroha":return Rn.KATAKANA_IROHA;case"khmer":return Rn.KHMER;case"korean-hangul-formal":return Rn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Rn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Rn.KOREAN_HANJA_INFORMAL;case"lao":return Rn.LAO;case"lower-armenian":return Rn.LOWER_ARMENIAN;case"malayalam":return Rn.MALAYALAM;case"mongolian":return Rn.MONGOLIAN;case"myanmar":return Rn.MYANMAR;case"oriya":return Rn.ORIYA;case"persian":return Rn.PERSIAN;case"simp-chinese-formal":return Rn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Rn.SIMP_CHINESE_INFORMAL;case"tamil":return Rn.TAMIL;case"telugu":return Rn.TELUGU;case"thai":return Rn.THAI;case"tibetan":return Rn.TIBETAN;case"trad-chinese-formal":return Rn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Rn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Rn.UPPER_ARMENIAN;case"disclosure-open":return Rn.DISCLOSURE_OPEN;case"disclosure-closed":return Rn.DISCLOSURE_CLOSED;case"none":default:return Rn.NONE}}},Is=function(G){return{name:"margin-"+G,initialValue:"0",prefix:!1,type:_n.TOKEN_VALUE}},Nt=Is("top"),re=Is("right"),ce=Is("bottom"),fe=Is("left"),Le;(function(Ne){Ne[Ne.VISIBLE=0]="VISIBLE",Ne[Ne.HIDDEN=1]="HIDDEN",Ne[Ne.SCROLL=2]="SCROLL",Ne[Ne.AUTO=3]="AUTO"})(Le||(Le={}));var st={name:"overflow",initialValue:"visible",prefix:!1,type:_n.LIST,parse:function(G){return G.filter(Xt).map(function(be){switch(be.value){case"hidden":return Le.HIDDEN;case"scroll":return Le.SCROLL;case"auto":return Le.AUTO;case"visible":default:return Le.VISIBLE}})}},Dt;(function(Ne){Ne.NORMAL="normal",Ne.BREAK_WORD="break-word"})(Dt||(Dt={}));var cr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:_n.IDENT_VALUE,parse:function(G){switch(G){case"break-word":return Dt.BREAK_WORD;case"normal":default:return Dt.NORMAL}}},mr=function(G){return{name:"padding-"+G,initialValue:"0",prefix:!1,type:_n.TYPE_VALUE,format:"length-percentage"}},Rr=mr("top"),qr=mr("right"),ln=mr("bottom"),An=mr("left"),Cn;(function(Ne){Ne[Ne.LEFT=0]="LEFT",Ne[Ne.CENTER=1]="CENTER",Ne[Ne.RIGHT=2]="RIGHT"})(Cn||(Cn={}));var Xn={name:"text-align",initialValue:"left",prefix:!1,type:_n.IDENT_VALUE,parse:function(G){switch(G){case"right":return Cn.RIGHT;case"center":case"justify":return Cn.CENTER;case"left":default:return Cn.LEFT}}},ti;(function(Ne){Ne[Ne.STATIC=0]="STATIC",Ne[Ne.RELATIVE=1]="RELATIVE",Ne[Ne.ABSOLUTE=2]="ABSOLUTE",Ne[Ne.FIXED=3]="FIXED",Ne[Ne.STICKY=4]="STICKY"})(ti||(ti={}));var wi={name:"position",initialValue:"static",prefix:!1,type:_n.IDENT_VALUE,parse:function(G){switch(G){case"relative":return ti.RELATIVE;case"absolute":return ti.ABSOLUTE;case"fixed":return ti.FIXED;case"sticky":return ti.STICKY}return ti.STATIC}},ea={name:"text-shadow",initialValue:"none",type:_n.LIST,prefix:!1,parse:function(G){return G.length===1&&Or(G[0],"none")?[]:Wr(G).map(function(be){for(var Re={color:Oi.TRANSPARENT,offsetX:jt,offsetY:jt,blur:jt},pt=0,$t=0;$t<be.length;$t++){var gr=be[$t];$r(gr)?(pt===0?Re.offsetX=gr:pt===1?Re.offsetY=gr:Re.blur=gr,pt++):Re.color=Mn.parse(gr)}return Re})}},ji;(function(Ne){Ne[Ne.NONE=0]="NONE",Ne[Ne.LOWERCASE=1]="LOWERCASE",Ne[Ne.UPPERCASE=2]="UPPERCASE",Ne[Ne.CAPITALIZE=3]="CAPITALIZE"})(ji||(ji={}));var Sa={name:"text-transform",initialValue:"none",prefix:!1,type:_n.IDENT_VALUE,parse:function(G){switch(G){case"uppercase":return ji.UPPERCASE;case"lowercase":return ji.LOWERCASE;case"capitalize":return ji.CAPITALIZE}return ji.NONE}},lo={name:"transform",initialValue:"none",prefix:!0,type:_n.VALUE,parse:function(G){if(G.type===xe.IDENT_TOKEN&&G.value==="none")return null;if(G.type===xe.FUNCTION){var be=yo[G.name];if(typeof be=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+G.name+'"');return be(G.values)}return null}},Ka=function(G){var be=G.filter(function(Re){return Re.type===xe.NUMBER_TOKEN}).map(function(Re){return Re.number});return be.length===6?be:null},Ao=function(G){var be=G.filter(function(Na){return Na.type===xe.NUMBER_TOKEN}).map(function(Na){return Na.number}),Re=be[0],pt=be[1],$t=be[2],gr=be[3],Ir=be[4],Hr=be[5],zr=be[6],un=be[7],sn=be[8],Fn=be[9],si=be[10],zn=be[11],fi=be[12],da=be[13],Li=be[14],na=be[15];return be.length===16?[Re,pt,Ir,Hr,fi,da]:null},yo={matrix:Ka,matrix3d:Ao},qa={type:xe.PERCENTAGE_TOKEN,number:50,flags:At},Fo=[qa,qa],Do={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:_n.LIST,parse:function(G){var be=G.filter(an);return be.length!==2?Fo:[be[0],be[1]]}},Ha;(function(Ne){Ne[Ne.VISIBLE=0]="VISIBLE",Ne[Ne.HIDDEN=1]="HIDDEN",Ne[Ne.COLLAPSE=2]="COLLAPSE"})(Ha||(Ha={}));var jo={name:"visible",initialValue:"none",prefix:!1,type:_n.IDENT_VALUE,parse:function(G){switch(G){case"hidden":return Ha.HIDDEN;case"collapse":return Ha.COLLAPSE;case"visible":default:return Ha.VISIBLE}}},Po;(function(Ne){Ne.NORMAL="normal",Ne.BREAK_ALL="break-all",Ne.KEEP_ALL="keep-all"})(Po||(Po={}));var Xo={name:"word-break",initialValue:"normal",prefix:!1,type:_n.IDENT_VALUE,parse:function(G){switch(G){case"break-all":return Po.BREAK_ALL;case"keep-all":return Po.KEEP_ALL;case"normal":default:return Po.NORMAL}}},wo={name:"z-index",initialValue:"auto",prefix:!1,type:_n.VALUE,parse:function(G){if(G.type===xe.IDENT_TOKEN)return{auto:!0,order:0};if(Rt(G))return{auto:!1,order:G.number};throw new Error("Invalid z-index number parsed")}},cs={name:"opacity",initialValue:"1",type:_n.VALUE,prefix:!1,parse:function(G){return Rt(G)?G.number:1}},ns={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:_n.TYPE_VALUE,format:"color"},Ys={name:"text-decoration-line",initialValue:"none",prefix:!1,type:_n.LIST,parse:function(G){return G.filter(Xt).map(function(be){switch(be.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(be){return be!==0})}},Qs={name:"font-family",initialValue:"",prefix:!1,type:_n.LIST,parse:function(G){var be=[],Re=[];return G.forEach(function(pt){switch(pt.type){case xe.IDENT_TOKEN:case xe.STRING_TOKEN:be.push(pt.value);break;case xe.NUMBER_TOKEN:be.push(pt.number.toString());break;case xe.COMMA_TOKEN:Re.push(be.join(" ")),be.length=0;break}}),be.length&&Re.push(be.join(" ")),Re.map(function(pt){return pt.indexOf(" ")===-1?pt:"'"+pt+"'"})}},Qo={name:"font-size",initialValue:"0",prefix:!1,type:_n.TYPE_VALUE,format:"length"},Eo={name:"font-weight",initialValue:"normal",type:_n.VALUE,prefix:!1,parse:function(G){if(Rt(G))return G.number;if(Xt(G))switch(G.value){case"bold":return 700;case"normal":default:return 400}return 400}},ds={name:"font-variant",initialValue:"none",type:_n.LIST,prefix:!1,parse:function(G){return G.filter(Xt).map(function(be){return be.value})}},hs;(function(Ne){Ne.NORMAL="normal",Ne.ITALIC="italic",Ne.OBLIQUE="oblique"})(hs||(hs={}));var Ms={name:"font-style",initialValue:"normal",prefix:!1,type:_n.IDENT_VALUE,parse:function(G){switch(G){case"oblique":return hs.OBLIQUE;case"italic":return hs.ITALIC;case"normal":default:return hs.NORMAL}}},Ro=function(G,be){return(G&be)!==0},As={name:"content",initialValue:"none",type:_n.LIST,prefix:!1,parse:function(G){if(G.length===0)return[];var be=G[0];return be.type===xe.IDENT_TOKEN&&be.value==="none"?[]:G}},Bs={name:"counter-increment",initialValue:"none",prefix:!0,type:_n.LIST,parse:function(G){if(G.length===0)return null;var be=G[0];if(be.type===xe.IDENT_TOKEN&&be.value==="none")return null;for(var Re=[],pt=G.filter(br),$t=0;$t<pt.length;$t++){var gr=pt[$t],Ir=pt[$t+1];if(gr.type===xe.IDENT_TOKEN){var Hr=Ir&&Rt(Ir)?Ir.number:1;Re.push({counter:gr.value,increment:Hr})}}return Re}},ys={name:"counter-reset",initialValue:"none",prefix:!0,type:_n.LIST,parse:function(G){if(G.length===0)return[];for(var be=[],Re=G.filter(br),pt=0;pt<Re.length;pt++){var $t=Re[pt],gr=Re[pt+1];if(Xt($t)&&$t.value!=="none"){var Ir=gr&&Rt(gr)?gr.number:0;be.push({counter:$t.value,reset:Ir})}}return be}},Fs={name:"quotes",initialValue:"none",prefix:!0,type:_n.LIST,parse:function(G){if(G.length===0)return null;var be=G[0];if(be.type===xe.IDENT_TOKEN&&be.value==="none")return null;var Re=[],pt=G.filter(tr);if(pt.length%2!==0)return null;for(var $t=0;$t<pt.length;$t+=2){var gr=pt[$t].value,Ir=pt[$t+1].value;Re.push({open:gr,close:Ir})}return Re}},Hs=function(G,be,Re){if(!G)return"";var pt=G[Math.min(be,G.length-1)];return pt?Re?pt.open:pt.close:""},bs={name:"box-shadow",initialValue:"none",type:_n.LIST,prefix:!1,parse:function(G){return G.length===1&&Or(G[0],"none")?[]:Wr(G).map(function(be){for(var Re={color:255,offsetX:jt,offsetY:jt,blur:jt,spread:jt,inset:!1},pt=0,$t=0;$t<be.length;$t++){var gr=be[$t];Or(gr,"inset")?Re.inset=!0:$r(gr)?(pt===0?Re.offsetX=gr:pt===1?Re.offsetY=gr:pt===2?Re.blur=gr:Re.spread=gr,pt++):Re.color=Mn.parse(gr)}return Re})}},ca=function(){function Ne(G){this.backgroundClip=Kn(fa,G.backgroundClip),this.backgroundColor=Kn(_i,G.backgroundColor),this.backgroundImage=Kn(Gi,G.backgroundImage),this.backgroundOrigin=Kn(oo,G.backgroundOrigin),this.backgroundPosition=Kn(go,G.backgroundPosition),this.backgroundRepeat=Kn(La,G.backgroundRepeat),this.backgroundSize=Kn(Vo,G.backgroundSize),this.borderTopColor=Kn(po,G.borderTopColor),this.borderRightColor=Kn($i,G.borderRightColor),this.borderBottomColor=Kn(xo,G.borderBottomColor),this.borderLeftColor=Kn(is,G.borderLeftColor),this.borderTopLeftRadius=Kn(Ns,G.borderTopLeftRadius),this.borderTopRightRadius=Kn(Cs,G.borderTopRightRadius),this.borderBottomRightRadius=Kn(Ls,G.borderBottomRightRadius),this.borderBottomLeftRadius=Kn(Go,G.borderBottomLeftRadius),this.borderTopStyle=Kn(Ga,G.borderTopStyle),this.borderRightStyle=Kn(so,G.borderRightStyle),this.borderBottomStyle=Kn(ps,G.borderBottomStyle),this.borderLeftStyle=Kn(wr,G.borderLeftStyle),this.borderTopWidth=Kn(ss,G.borderTopWidth),this.borderRightWidth=Kn(Os,G.borderRightWidth),this.borderBottomWidth=Kn(Fa,G.borderBottomWidth),this.borderLeftWidth=Kn(Oa,G.borderLeftWidth),this.boxShadow=Kn(bs,G.boxShadow),this.color=Kn(Io,G.color),this.display=Kn(To,G.display),this.float=Kn(rs,G.cssFloat),this.fontFamily=Kn(Qs,G.fontFamily),this.fontSize=Kn(Qo,G.fontSize),this.fontStyle=Kn(Ms,G.fontStyle),this.fontVariant=Kn(ds,G.fontVariant),this.fontWeight=Kn(Eo,G.fontWeight),this.letterSpacing=Kn(ms,G.letterSpacing),this.lineBreak=Kn(Ds,G.lineBreak),this.lineHeight=Kn(Rs,G.lineHeight),this.listStyleImage=Kn($s,G.listStyleImage),this.listStylePosition=Kn(Bo,G.listStylePosition),this.listStyleType=Kn(Vs,G.listStyleType),this.marginTop=Kn(Nt,G.marginTop),this.marginRight=Kn(re,G.marginRight),this.marginBottom=Kn(ce,G.marginBottom),this.marginLeft=Kn(fe,G.marginLeft),this.opacity=Kn(cs,G.opacity);var be=Kn(st,G.overflow);this.overflowX=be[0],this.overflowY=be[be.length>1?1:0],this.overflowWrap=Kn(cr,G.overflowWrap),this.paddingTop=Kn(Rr,G.paddingTop),this.paddingRight=Kn(qr,G.paddingRight),this.paddingBottom=Kn(ln,G.paddingBottom),this.paddingLeft=Kn(An,G.paddingLeft),this.position=Kn(wi,G.position),this.textAlign=Kn(Xn,G.textAlign),this.textDecorationColor=Kn(ns,G.textDecorationColor||G.color),this.textDecorationLine=Kn(Ys,G.textDecorationLine),this.textShadow=Kn(ea,G.textShadow),this.textTransform=Kn(Sa,G.textTransform),this.transform=Kn(lo,G.transform),this.transformOrigin=Kn(Do,G.transformOrigin),this.visibility=Kn(jo,G.visibility),this.wordBreak=Kn(Xo,G.wordBreak),this.zIndex=Kn(wo,G.zIndex)}return Ne.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Ha.VISIBLE},Ne.prototype.isTransparent=function(){return En(this.backgroundColor)},Ne.prototype.isTransformed=function(){return this.transform!==null},Ne.prototype.isPositioned=function(){return this.position!==ti.STATIC},Ne.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Ne.prototype.isFloating=function(){return this.float!==ko.NONE},Ne.prototype.isInlineLevel=function(){return Ro(this.display,4)||Ro(this.display,33554432)||Ro(this.display,268435456)||Ro(this.display,536870912)||Ro(this.display,67108864)||Ro(this.display,134217728)},Ne}(),ci=function(){function Ne(G){this.content=Kn(As,G.content),this.quotes=Kn(Fs,G.quotes)}return Ne}(),ki=function(){function Ne(G){this.counterIncrement=Kn(Bs,G.counterIncrement),this.counterReset=Kn(ys,G.counterReset)}return Ne}(),Kn=function(G,be){var Re=new Kr,pt=be!==null&&typeof be!="undefined"?be.toString():G.initialValue;Re.write(pt);var $t=new hn(Re.read());switch(G.type){case _n.IDENT_VALUE:var gr=$t.parseComponentValue();return G.parse(Xt(gr)?gr.value:G.initialValue);case _n.VALUE:return G.parse($t.parseComponentValue());case _n.LIST:return G.parse($t.parseComponentValues());case _n.TOKEN_VALUE:return $t.parseComponentValue();case _n.TYPE_VALUE:switch(G.format){case"angle":return Sn.parse($t.parseComponentValue());case"color":return Mn.parse($t.parseComponentValue());case"image":return Za.parse($t.parseComponentValue());case"length":var Ir=$t.parseComponentValue();return $r(Ir)?Ir:jt;case"length-percentage":var Hr=$t.parseComponentValue();return an(Hr)?Hr:jt}}throw new Error("Attempting to parse unsupported css format type "+G.format)},io=function(){function Ne(G){this.styles=new ca(window.getComputedStyle(G,null)),this.textNodes=[],this.elements=[],this.styles.transform!==null&&rl(G)&&(G.style.transform="none"),this.bounds=f(G),this.flags=0}return Ne}(),Jo=function(){function Ne(G,be){this.text=G,this.bounds=be}return Ne}(),gs=function(G,be,Re){var pt=qo(G,be),$t=[],gr=0;return pt.forEach(function(Ir){if(be.textDecorationLine.length||Ir.trim().length>0)if(ua.SUPPORT_RANGE_BOUNDS)$t.push(new Jo(Ir,$o(Re,gr,Ir.length)));else{var Hr=Re.splitText(Ir.length);$t.push(new Jo(Ir,os(Re))),Re=Hr}else ua.SUPPORT_RANGE_BOUNDS||(Re=Re.splitText(Ir.length));gr+=Ir.length}),$t},os=function(G){var be=G.ownerDocument;if(be){var Re=be.createElement("html2canvaswrapper");Re.appendChild(G.cloneNode(!0));var pt=G.parentNode;if(pt){pt.replaceChild(Re,G);var $t=f(Re);return Re.firstChild&&pt.replaceChild(Re.firstChild,Re),$t}}return new b(0,0,0,0)},$o=function(G,be,Re){var pt=G.ownerDocument;if(!pt)throw new Error("Node has no owner document");var $t=pt.createRange();return $t.setStart(G,be),$t.setEnd(G,be+Re),b.fromClientRect($t.getBoundingClientRect())},qo=function(G,be){return be.letterSpacing!==0?r(G).map(function(Re){return a(Re)}):ws(G,be)},ws=function(G,be){for(var Re=Te(G,{lineBreak:be.lineBreak,wordBreak:be.overflowWrap===Dt.BREAK_WORD?"break-word":be.wordBreak}),pt=[],$t;!($t=Re.next()).done;)$t.value&&pt.push($t.value.slice());return pt},Ho=function(){function Ne(G,be){this.text=sl(G.data,be.textTransform),this.textBounds=gs(this.text,be,G)}return Ne}(),sl=function(G,be){switch(be){case ji.LOWERCASE:return G.toLowerCase();case ji.CAPITALIZE:return G.replace(_l,ll);case ji.UPPERCASE:return G.toUpperCase();default:return G}},_l=/(^|\s|:|-|\(|\))([a-z])/g,ll=function(G,be,Re){return G.length>0?be+Re.toUpperCase():G},Nl=function(Ne){x(G,Ne);function G(be){var Re=Ne.call(this,be)||this;return Re.src=be.currentSrc||be.src,Re.intrinsicWidth=be.naturalWidth,Re.intrinsicHeight=be.naturalHeight,gi.getInstance().addImage(Re.src),Re}return G}(io),Ts=function(Ne){x(G,Ne);function G(be){var Re=Ne.call(this,be)||this;return Re.canvas=be,Re.intrinsicWidth=be.width,Re.intrinsicHeight=be.height,Re}return G}(io),Gs=function(Ne){x(G,Ne);function G(be){var Re=Ne.call(this,be)||this,pt=new XMLSerializer;return Re.svg="data:image/svg+xml,"+encodeURIComponent(pt.serializeToString(be)),Re.intrinsicWidth=be.width.baseVal.value,Re.intrinsicHeight=be.height.baseVal.value,gi.getInstance().addImage(Re.svg),Re}return G}(io),qs=function(Ne){x(G,Ne);function G(be){var Re=Ne.call(this,be)||this;return Re.value=be.value,Re}return G}(io),jl=function(Ne){x(G,Ne);function G(be){var Re=Ne.call(this,be)||this;return Re.start=be.start,Re.reversed=typeof be.reversed=="boolean"&&be.reversed===!0,Re}return G}(io),Hl=[{type:xe.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Dl=[{type:xe.PERCENTAGE_TOKEN,flags:0,number:50}],ru=function(G){return G.width>G.height?new b(G.left+(G.width-G.height)/2,G.top,G.height,G.height):G.width<G.height?new b(G.left,G.top+(G.height-G.width)/2,G.width,G.width):G},nu=function(G){var be=G.type===iu?new Array(G.value.length+1).join("\u2022"):G.value;return be.length===0?G.placeholder||"":be},es="checkbox",el="radio",iu="password",Rl=707406591,Ml=function(Ne){x(G,Ne);function G(be){var Re=Ne.call(this,be)||this;Re.type=be.type.toLowerCase(),Re.checked=be.checked,Re.value=nu(be),(Re.type===es||Re.type===el)&&(Re.styles.backgroundColor=3739148031,Re.styles.borderTopColor=Re.styles.borderRightColor=Re.styles.borderBottomColor=Re.styles.borderLeftColor=2779096575,Re.styles.borderTopWidth=Re.styles.borderRightWidth=Re.styles.borderBottomWidth=Re.styles.borderLeftWidth=1,Re.styles.borderTopStyle=Re.styles.borderRightStyle=Re.styles.borderBottomStyle=Re.styles.borderLeftStyle=bo.SOLID,Re.styles.backgroundClip=[Mi.BORDER_BOX],Re.styles.backgroundOrigin=[0],Re.bounds=ru(Re.bounds));switch(Re.type){case es:Re.styles.borderTopRightRadius=Re.styles.borderTopLeftRadius=Re.styles.borderBottomRightRadius=Re.styles.borderBottomLeftRadius=Hl;break;case el:Re.styles.borderTopRightRadius=Re.styles.borderTopLeftRadius=Re.styles.borderBottomRightRadius=Re.styles.borderBottomLeftRadius=Dl;break}return Re}return G}(io),yl=function(Ne){x(G,Ne);function G(be){var Re=Ne.call(this,be)||this,pt=be.options[be.selectedIndex||0];return Re.value=pt&&pt.text||"",Re}return G}(io),zl=function(Ne){x(G,Ne);function G(be){var Re=Ne.call(this,be)||this;return Re.value=be.value,Re}return G}(io),ul=function(G){return Mn.parse(hn.create(G).parseComponentValue())},Wl=function(Ne){x(G,Ne);function G(be){var Re=Ne.call(this,be)||this;Re.src=be.src,Re.width=parseInt(be.width,10)||0,Re.height=parseInt(be.height,10)||0,Re.backgroundColor=Re.styles.backgroundColor;try{if(be.contentWindow&&be.contentWindow.document&&be.contentWindow.document.documentElement){Re.tree=tl(be.contentWindow.document.documentElement);var pt=be.contentWindow.document.documentElement?ul(getComputedStyle(be.contentWindow.document.documentElement).backgroundColor):Oi.TRANSPARENT,$t=be.contentWindow.document.body?ul(getComputedStyle(be.contentWindow.document.body).backgroundColor):Oi.TRANSPARENT;Re.backgroundColor=En(pt)?En($t)?Re.styles.backgroundColor:$t:pt}}catch(gr){}return Re}return G}(io),au=["OL","UL","MENU"],ou=function Ne(G,be,Re){for(var pt=G.firstChild,$t=void 0;pt;pt=$t)if($t=pt.nextSibling,Ss(pt)&&pt.data.trim().length>0)be.textNodes.push(new Ho(pt,be.styles));else if(zs(pt)){var gr=Ps(pt);gr.styles.isVisible()&&(bl(pt,gr,Re)?gr.flags|=4:cl(gr.styles)&&(gr.flags|=2),au.indexOf(pt.tagName)!==-1&&(gr.flags|=8),be.elements.push(gr),!El(pt)&&!Xs(pt)&&!fl(pt)&&Ne(pt,gr,Re))}},Ps=function(G){return hl(G)?new Nl(G):nl(G)?new Ts(G):Xs(G)?new Gs(G):wl(G)?new qs(G):Bl(G)?new jl(G):Kl(G)?new Ml(G):fl(G)?new yl(G):El(G)?new zl(G):xl(G)?new Wl(G):new io(G)},tl=function(G){var be=Ps(G);return be.flags|=4,ou(G,be,be),be},bl=function(G,be,Re){return be.styles.isPositionedWithZIndex()||be.styles.opacity<1||be.styles.isTransformed()||dl(G)&&Re.styles.isTransparent()},cl=function(G){return G.isPositioned()||G.isFloating()},Ss=function(G){return G.nodeType===Node.TEXT_NODE},zs=function(G){return G.nodeType===Node.ELEMENT_NODE},rl=function(G){return zs(G)&&typeof G.style!="undefined"&&!Us(G)},Us=function(G){return typeof G.className=="object"},wl=function(G){return G.tagName==="LI"},Bl=function(G){return G.tagName==="OL"},Kl=function(G){return G.tagName==="INPUT"},Sl=function(G){return G.tagName==="HTML"},Xs=function(G){return G.tagName==="svg"},dl=function(G){return G.tagName==="BODY"},nl=function(G){return G.tagName==="CANVAS"},hl=function(G){return G.tagName==="IMG"},xl=function(G){return G.tagName==="IFRAME"},Ws=function(G){return G.tagName==="STYLE"},Vl=function(G){return G.tagName==="SCRIPT"},El=function(G){return G.tagName==="TEXTAREA"},fl=function(G){return G.tagName==="SELECT"},Cl=function(){function Ne(){this.counters={}}return Ne.prototype.getCounterValue=function(G){var be=this.counters[G];return be&&be.length?be[be.length-1]:1},Ne.prototype.getCounterValues=function(G){var be=this.counters[G];return be||[]},Ne.prototype.pop=function(G){var be=this;G.forEach(function(Re){return be.counters[Re].pop()})},Ne.prototype.parse=function(G){var be=this,Re=G.counterIncrement,pt=G.counterReset,$t=!0;Re!==null&&Re.forEach(function(Ir){var Hr=be.counters[Ir.counter];Hr&&Ir.increment!==0&&($t=!1,Hr[Math.max(0,Hr.length-1)]+=Ir.increment)});var gr=[];return $t&&pt.forEach(function(Ir){var Hr=be.counters[Ir.counter];gr.push(Ir.counter),Hr||(Hr=be.counters[Ir.counter]=[]),Hr.push(Ir.reset)}),gr},Ne}(),Yl={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Fl={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},pl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Ql={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Js=function(G,be,Re,pt,$t,gr){return G<be||G>Re?gl(G,$t,gr.length>0):pt.integers.reduce(function(Ir,Hr,zr){for(;G>=Hr;)G-=Hr,Ir+=pt.values[zr];return Ir},"")+gr},Gl=function(G,be,Re,pt){var $t="";do Re||G--,$t=pt(G)+$t,G/=be;while(G*be>=be);return $t},Mo=function(G,be,Re,pt,$t){var gr=Re-be+1;return(G<0?"-":"")+(Gl(Math.abs(G),gr,pt,function(Ir){return a(Math.floor(Ir%gr)+be)})+$t)},Ks=function(G,be,Re){Re===void 0&&(Re=". ");var pt=be.length;return Gl(Math.abs(G),pt,!1,function($t){return be[Math.floor($t%pt)]})+Re},il=1<<0,ks=1<<1,_s=1<<2,ml=1<<3,xs=function(G,be,Re,pt,$t,gr){if(G<-9999||G>9999)return gl(G,Rn.CJK_DECIMAL,$t.length>0);var Ir=Math.abs(G),Hr=$t;if(Ir===0)return be[0]+Hr;for(var zr=0;Ir>0&&zr<=4;zr++){var un=Ir%10;un===0&&Ro(gr,il)&&Hr!==""?Hr=be[un]+Hr:un>1||un===1&&zr===0||un===1&&zr===1&&Ro(gr,ks)||un===1&&zr===1&&Ro(gr,_s)&&G>100||un===1&&zr>1&&Ro(gr,ml)?Hr=be[un]+(zr>0?Re[zr-1]:"")+Hr:un===1&&zr>0&&(Hr=Re[zr-1]+Hr),Ir=Math.floor(Ir/10)}return(G<0?pt:"")+Hr},al="\u5341\u767E\u5343\u842C",Zs="\u62FE\u4F70\u4EDF\u842C",Pl="\u30DE\u30A4\u30CA\u30B9",Ll="\uB9C8\uC774\uB108\uC2A4",gl=function(G,be,Re){var pt=Re?". ":"",$t=Re?"\u3001":"",gr=Re?", ":"",Ir=Re?" ":"";switch(be){case Rn.DISC:return"\u2022"+Ir;case Rn.CIRCLE:return"\u25E6"+Ir;case Rn.SQUARE:return"\u25FE"+Ir;case Rn.DECIMAL_LEADING_ZERO:var Hr=Mo(G,48,57,!0,pt);return Hr.length<4?"0"+Hr:Hr;case Rn.CJK_DECIMAL:return Ks(G,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",$t);case Rn.LOWER_ROMAN:return Js(G,1,3999,Yl,Rn.DECIMAL,pt).toLowerCase();case Rn.UPPER_ROMAN:return Js(G,1,3999,Yl,Rn.DECIMAL,pt);case Rn.LOWER_GREEK:return Mo(G,945,969,!1,pt);case Rn.LOWER_ALPHA:return Mo(G,97,122,!1,pt);case Rn.UPPER_ALPHA:return Mo(G,65,90,!1,pt);case Rn.ARABIC_INDIC:return Mo(G,1632,1641,!0,pt);case Rn.ARMENIAN:case Rn.UPPER_ARMENIAN:return Js(G,1,9999,Fl,Rn.DECIMAL,pt);case Rn.LOWER_ARMENIAN:return Js(G,1,9999,Fl,Rn.DECIMAL,pt).toLowerCase();case Rn.BENGALI:return Mo(G,2534,2543,!0,pt);case Rn.CAMBODIAN:case Rn.KHMER:return Mo(G,6112,6121,!0,pt);case Rn.CJK_EARTHLY_BRANCH:return Ks(G,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",$t);case Rn.CJK_HEAVENLY_STEM:return Ks(G,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",$t);case Rn.CJK_IDEOGRAPHIC:case Rn.TRAD_CHINESE_INFORMAL:return xs(G,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",al,"\u8CA0",$t,ks|_s|ml);case Rn.TRAD_CHINESE_FORMAL:return xs(G,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Zs,"\u8CA0",$t,il|ks|_s|ml);case Rn.SIMP_CHINESE_INFORMAL:return xs(G,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",al,"\u8D1F",$t,ks|_s|ml);case Rn.SIMP_CHINESE_FORMAL:return xs(G,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Zs,"\u8D1F",$t,il|ks|_s|ml);case Rn.JAPANESE_INFORMAL:return xs(G,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Pl,$t,0);case Rn.JAPANESE_FORMAL:return xs(G,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Pl,$t,il|ks|_s);case Rn.KOREAN_HANGUL_FORMAL:return xs(G,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Ll,gr,il|ks|_s);case Rn.KOREAN_HANJA_INFORMAL:return xs(G,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Ll,gr,0);case Rn.KOREAN_HANJA_FORMAL:return xs(G,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Ll,gr,il|ks|_s);case Rn.DEVANAGARI:return Mo(G,2406,2415,!0,pt);case Rn.GEORGIAN:return Js(G,1,19999,Ql,Rn.DECIMAL,pt);case Rn.GUJARATI:return Mo(G,2790,2799,!0,pt);case Rn.GURMUKHI:return Mo(G,2662,2671,!0,pt);case Rn.HEBREW:return Js(G,1,10999,pl,Rn.DECIMAL,pt);case Rn.HIRAGANA:return Ks(G,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case Rn.HIRAGANA_IROHA:return Ks(G,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case Rn.KANNADA:return Mo(G,3302,3311,!0,pt);case Rn.KATAKANA:return Ks(G,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",$t);case Rn.KATAKANA_IROHA:return Ks(G,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",$t);case Rn.LAO:return Mo(G,3792,3801,!0,pt);case Rn.MONGOLIAN:return Mo(G,6160,6169,!0,pt);case Rn.MYANMAR:return Mo(G,4160,4169,!0,pt);case Rn.ORIYA:return Mo(G,2918,2927,!0,pt);case Rn.PERSIAN:return Mo(G,1776,1785,!0,pt);case Rn.TAMIL:return Mo(G,3046,3055,!0,pt);case Rn.TELUGU:return Mo(G,3174,3183,!0,pt);case Rn.THAI:return Mo(G,3664,3673,!0,pt);case Rn.TIBETAN:return Mo(G,3872,3881,!0,pt);case Rn.DECIMAL:default:return Mo(G,48,57,!0,pt)}},Xl="data-html2canvas-ignore",Ul=function(){function Ne(G,be){if(this.options=be,this.scrolledElements=[],this.referenceElement=G,this.counters=new Cl,this.quoteDepth=0,!G.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(G.ownerDocument.documentElement)}return Ne.prototype.toIFrame=function(G,be){var Re=this,pt=Jl(G,be);if(!pt.contentWindow)return Promise.reject("Unable to find iframe window");var $t=G.defaultView.pageXOffset,gr=G.defaultView.pageYOffset,Ir=pt.contentWindow,Hr=Ir.document,zr=su(pt).then(function(){return p(Re,void 0,void 0,function(){var un;return v(this,function(sn){switch(sn.label){case 0:return this.scrolledElements.forEach(ql),Ir&&(Ir.scrollTo(be.left,be.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Ir.scrollY!==be.top||Ir.scrollX!==be.left)&&(Hr.documentElement.style.top=-be.top+"px",Hr.documentElement.style.left=-be.left+"px",Hr.documentElement.style.position="absolute")),un=this.options.onclone,typeof this.clonedReferenceElement=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Hr.fonts&&Hr.fonts.ready?[4,Hr.fonts.ready]:[3,2];case 1:sn.sent(),sn.label=2;case 2:return typeof un=="function"?[2,Promise.resolve().then(function(){return un(Hr)}).then(function(){return pt})]:[2,pt]}})})});return Hr.open(),Hr.write($l(document.doctype)+"<html></html>"),Ol(this.referenceElement.ownerDocument,$t,gr),Hr.replaceChild(Hr.adoptNode(this.documentElement),Hr.documentElement),Hr.close(),zr},Ne.prototype.createElementClone=function(G){if(nl(G))return this.createCanvasClone(G);if(Ws(G))return this.createStyleClone(G);var be=G.cloneNode(!1);return hl(be)&&be.loading==="lazy"&&(be.loading="eager"),be},Ne.prototype.createStyleClone=function(G){try{var be=G.sheet;if(be&&be.cssRules){var Re=[].slice.call(be.cssRules,0).reduce(function($t,gr){return gr&&typeof gr.cssText=="string"?$t+gr.cssText:$t},""),pt=G.cloneNode(!1);return pt.textContent=Re,pt}}catch($t){if(la.getInstance(this.options.id).error("Unable to access cssRules property",$t),$t.name!=="SecurityError")throw $t}return G.cloneNode(!1)},Ne.prototype.createCanvasClone=function(G){if(this.options.inlineImages&&G.ownerDocument){var be=G.ownerDocument.createElement("img");try{return be.src=G.toDataURL(),be}catch(gr){la.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var Re=G.cloneNode(!1);try{Re.width=G.width,Re.height=G.height;var pt=G.getContext("2d"),$t=Re.getContext("2d");return $t&&(pt?$t.putImageData(pt.getImageData(0,0,G.width,G.height),0,0):$t.drawImage(G,0,0)),Re}catch(gr){}return Re},Ne.prototype.cloneNode=function(G){if(Ss(G))return document.createTextNode(G.data);if(!G.ownerDocument)return G.cloneNode(!1);var be=G.ownerDocument.defaultView;if(be&&zs(G)&&(rl(G)||Us(G))){var Re=this.createElementClone(G),pt=be.getComputedStyle(G),$t=be.getComputedStyle(G,":before"),gr=be.getComputedStyle(G,":after");this.referenceElement===G&&rl(Re)&&(this.clonedReferenceElement=Re),dl(Re)&&uu(Re);for(var Ir=this.counters.parse(new ki(pt)),Hr=this.resolvePseudoContent(G,Re,$t,vl.BEFORE),zr=G.firstChild;zr;zr=zr.nextSibling)(!zs(zr)||!Vl(zr)&&!zr.hasAttribute(Xl)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(zr)))&&((!this.options.copyStyles||!zs(zr)||!Ws(zr))&&Re.appendChild(this.cloneNode(zr)));Hr&&Re.insertBefore(Hr,Re.firstChild);var un=this.resolvePseudoContent(G,Re,gr,vl.AFTER);return un&&Re.appendChild(un),this.counters.pop(Ir),pt&&(this.options.copyStyles||Us(G))&&!xl(G)&&Zl(pt,Re),(G.scrollTop!==0||G.scrollLeft!==0)&&this.scrolledElements.push([Re,G.scrollLeft,G.scrollTop]),(El(G)||fl(G))&&(El(Re)||fl(Re))&&(Re.value=G.value),Re}return G.cloneNode(!1)},Ne.prototype.resolvePseudoContent=function(G,be,Re,pt){var $t=this;if(!Re)return;var gr=Re.content,Ir=be.ownerDocument;if(!Ir||!gr||gr==="none"||gr==="-moz-alt-content"||Re.display==="none")return;this.counters.parse(new ki(Re));var Hr=new ci(Re),zr=Ir.createElement("html2canvaspseudoelement");Zl(Re,zr),Hr.content.forEach(function(sn){if(sn.type===xe.STRING_TOKEN)zr.appendChild(Ir.createTextNode(sn.value));else if(sn.type===xe.URL_TOKEN){var Fn=Ir.createElement("img");Fn.src=sn.value,Fn.style.opacity="1",zr.appendChild(Fn)}else if(sn.type===xe.FUNCTION){if(sn.name==="attr"){var si=sn.values.filter(Xt);si.length&&zr.appendChild(Ir.createTextNode(G.getAttribute(si[0].value)||""))}else if(sn.name==="counter"){var zn=sn.values.filter(xr),fi=zn[0],da=zn[1];if(fi&&Xt(fi)){var Li=$t.counters.getCounterValue(fi.value),na=da&&Xt(da)?Vs.parse(da.value):Rn.DECIMAL;zr.appendChild(Ir.createTextNode(gl(Li,na,!1)))}}else if(sn.name==="counters"){var Na=sn.values.filter(xr),fi=Na[0],Ui=Na[1],da=Na[2];if(fi&&Xt(fi)){var No=$t.counters.getCounterValues(fi.value),no=da&&Xt(da)?Vs.parse(da.value):Rn.DECIMAL,Wo=Ui&&Ui.type===xe.STRING_TOKEN?Ui.value:"",Uo=No.map(function(fs){return gl(fs,no,!1)}).join(Wo);zr.appendChild(Ir.createTextNode(Uo))}}}else if(sn.type===xe.IDENT_TOKEN)switch(sn.value){case"open-quote":zr.appendChild(Ir.createTextNode(Hs(Hr.quotes,$t.quoteDepth++,!0)));break;case"close-quote":zr.appendChild(Ir.createTextNode(Hs(Hr.quotes,--$t.quoteDepth,!1)));break;default:zr.appendChild(Ir.createTextNode(sn.value))}}),zr.className=js+" "+Tl;var un=pt===vl.BEFORE?" "+js:" "+Tl;return Us(be)?be.className.baseValue+=un:be.className+=un,zr},Ne.destroy=function(G){return G.parentNode?(G.parentNode.removeChild(G),!0):!1},Ne}(),vl;(function(Ne){Ne[Ne.BEFORE=0]="BEFORE",Ne[Ne.AFTER=1]="AFTER"})(vl||(vl={}));var Jl=function(G,be){var Re=G.createElement("iframe");return Re.className="html2canvas-container",Re.style.visibility="hidden",Re.style.position="fixed",Re.style.left="-10000px",Re.style.top="0px",Re.style.border="0",Re.width=be.width.toString(),Re.height=be.height.toString(),Re.scrolling="no",Re.setAttribute(Xl,"true"),G.body.appendChild(Re),Re},su=function(G){return new Promise(function(be,Re){var pt=G.contentWindow;if(!pt)return Re("No window assigned for iframe");var $t=pt.document;pt.onload=G.onload=$t.onreadystatechange=function(){pt.onload=G.onload=$t.onreadystatechange=null;var gr=setInterval(function(){$t.body.childNodes.length>0&&$t.readyState==="complete"&&(clearInterval(gr),be(G))},50)}})},Zl=function(G,be){for(var Re=G.length-1;Re>=0;Re--){var pt=G.item(Re);pt!=="content"&&be.style.setProperty(pt,G.getPropertyValue(pt))}return be},$l=function(G){var be="";return G&&(be+="<!DOCTYPE ",G.name&&(be+=G.name),G.internalSubset&&(be+=G.internalSubset),G.publicId&&(be+='"'+G.publicId+'"'),G.systemId&&(be+='"'+G.systemId+'"'),be+=">"),be},Ol=function(G,be,Re){G&&G.defaultView&&(be!==G.defaultView.pageXOffset||Re!==G.defaultView.pageYOffset)&&G.defaultView.scrollTo(be,Re)},ql=function(G){var be=G[0],Re=G[1],pt=G[2];be.scrollLeft=Re,be.scrollTop=pt},lu=":before",Il=":after",js="___html2canvas___pseudoelement_before",Tl="___html2canvas___pseudoelement_after",Al=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,uu=function(G){cu(G,"."+js+lu+Al+`
|
|
|
.`+Tl+Il+Al)},cu=function(G,be){var Re=G.ownerDocument;if(Re){var pt=Re.createElement("style");pt.textContent=be,G.appendChild(pt)}},ol;(function(Ne){Ne[Ne.VECTOR=0]="VECTOR",Ne[Ne.BEZIER_CURVE=1]="BEZIER_CURVE"})(ol||(ol={}));var He=function(G,be){return G.length===be.length?G.some(function(Re,pt){return Re===be[pt]}):!1},ne=function(G,be,Re,pt,$t){return G.map(function(gr,Ir){switch(Ir){case 0:return gr.add(be,Re);case 1:return gr.add(be+pt,Re);case 2:return gr.add(be+pt,Re+$t);case 3:return gr.add(be,Re+$t)}return gr})},Ee=function(){function Ne(G,be){this.type=ol.VECTOR,this.x=G,this.y=be}return Ne.prototype.add=function(G,be){return new Ne(this.x+G,this.y+be)},Ne}(),tt=function(G,be,Re){return new Ee(G.x+(be.x-G.x)*Re,G.y+(be.y-G.y)*Re)},Tt=function(){function Ne(G,be,Re,pt){this.type=ol.BEZIER_CURVE,this.start=G,this.startControl=be,this.endControl=Re,this.end=pt}return Ne.prototype.subdivide=function(G,be){var Re=tt(this.start,this.startControl,G),pt=tt(this.startControl,this.endControl,G),$t=tt(this.endControl,this.end,G),gr=tt(Re,pt,G),Ir=tt(pt,$t,G),Hr=tt(gr,Ir,G);return be?new Ne(this.start,Re,gr,Hr):new Ne(Hr,Ir,$t,this.end)},Ne.prototype.add=function(G,be){return new Ne(this.start.add(G,be),this.startControl.add(G,be),this.endControl.add(G,be),this.end.add(G,be))},Ne.prototype.reverse=function(){return new Ne(this.end,this.endControl,this.startControl,this.start)},Ne}(),Yt=function(G){return G.type===ol.BEZIER_CURVE},nr=function(){function Ne(G){var be=G.styles,Re=G.bounds,pt=Br(be.borderTopLeftRadius,Re.width,Re.height),$t=pt[0],gr=pt[1],Ir=Br(be.borderTopRightRadius,Re.width,Re.height),Hr=Ir[0],zr=Ir[1],un=Br(be.borderBottomRightRadius,Re.width,Re.height),sn=un[0],Fn=un[1],si=Br(be.borderBottomLeftRadius,Re.width,Re.height),zn=si[0],fi=si[1],da=[];da.push(($t+Hr)/Re.width),da.push((zn+sn)/Re.width),da.push((gr+fi)/Re.height),da.push((zr+Fn)/Re.height);var Li=Math.max.apply(Math,da);Li>1&&($t/=Li,gr/=Li,Hr/=Li,zr/=Li,sn/=Li,Fn/=Li,zn/=Li,fi/=Li);var na=Re.width-Hr,Na=Re.height-Fn,Ui=Re.width-sn,No=Re.height-fi,no=be.borderTopWidth,Wo=be.borderRightWidth,Uo=be.borderBottomWidth,Pa=be.borderLeftWidth,Ko=Dr(be.paddingTop,G.bounds.width),fs=Dr(be.paddingRight,G.bounds.width),vs=Dr(be.paddingBottom,G.bounds.width),Es=Dr(be.paddingLeft,G.bounds.width);this.topLeftBorderBox=$t>0||gr>0?vr(Re.left,Re.top,$t,gr,ar.TOP_LEFT):new Ee(Re.left,Re.top),this.topRightBorderBox=Hr>0||zr>0?vr(Re.left+na,Re.top,Hr,zr,ar.TOP_RIGHT):new Ee(Re.left+Re.width,Re.top),this.bottomRightBorderBox=sn>0||Fn>0?vr(Re.left+Ui,Re.top+Na,sn,Fn,ar.BOTTOM_RIGHT):new Ee(Re.left+Re.width,Re.top+Re.height),this.bottomLeftBorderBox=zn>0||fi>0?vr(Re.left,Re.top+No,zn,fi,ar.BOTTOM_LEFT):new Ee(Re.left,Re.top+Re.height),this.topLeftPaddingBox=$t>0||gr>0?vr(Re.left+Pa,Re.top+no,Math.max(0,$t-Pa),Math.max(0,gr-no),ar.TOP_LEFT):new Ee(Re.left+Pa,Re.top+no),this.topRightPaddingBox=Hr>0||zr>0?vr(Re.left+Math.min(na,Re.width+Pa),Re.top+no,na>Re.width+Pa?0:Hr-Pa,zr-no,ar.TOP_RIGHT):new Ee(Re.left+Re.width-Wo,Re.top+no),this.bottomRightPaddingBox=sn>0||Fn>0?vr(Re.left+Math.min(Ui,Re.width-Pa),Re.top+Math.min(Na,Re.height+no),Math.max(0,sn-Wo),Fn-Uo,ar.BOTTOM_RIGHT):new Ee(Re.left+Re.width-Wo,Re.top+Re.height-Uo),this.bottomLeftPaddingBox=zn>0||fi>0?vr(Re.left+Pa,Re.top+No,Math.max(0,zn-Pa),fi-Uo,ar.BOTTOM_LEFT):new Ee(Re.left+Pa,Re.top+Re.height-Uo),this.topLeftContentBox=$t>0||gr>0?vr(Re.left+Pa+Es,Re.top+no+Ko,Math.max(0,$t-(Pa+Es)),Math.max(0,gr-(no+Ko)),ar.TOP_LEFT):new Ee(Re.left+Pa+Es,Re.top+no+Ko),this.topRightContentBox=Hr>0||zr>0?vr(Re.left+Math.min(na,Re.width+Pa+Es),Re.top+no+Ko,na>Re.width+Pa+Es?0:Hr-Pa+Es,zr-(no+Ko),ar.TOP_RIGHT):new Ee(Re.left+Re.width-(Wo+fs),Re.top+no+Ko),this.bottomRightContentBox=sn>0||Fn>0?vr(Re.left+Math.min(Ui,Re.width-(Pa+Es)),Re.top+Math.min(Na,Re.height+no+Ko),Math.max(0,sn-(Wo+fs)),Fn-(Uo+vs),ar.BOTTOM_RIGHT):new Ee(Re.left+Re.width-(Wo+fs),Re.top+Re.height-(Uo+vs)),this.bottomLeftContentBox=zn>0||fi>0?vr(Re.left+Pa+Es,Re.top+No,Math.max(0,zn-(Pa+Es)),fi-(Uo+vs),ar.BOTTOM_LEFT):new Ee(Re.left+Pa+Es,Re.top+Re.height-(Uo+vs))}return Ne}(),ar;(function(Ne){Ne[Ne.TOP_LEFT=0]="TOP_LEFT",Ne[Ne.TOP_RIGHT=1]="TOP_RIGHT",Ne[Ne.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Ne[Ne.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(ar||(ar={}));var vr=function(G,be,Re,pt,$t){var gr=4*((Math.sqrt(2)-1)/3),Ir=Re*gr,Hr=pt*gr,zr=G+Re,un=be+pt;switch($t){case ar.TOP_LEFT:return new Tt(new Ee(G,un),new Ee(G,un-Hr),new Ee(zr-Ir,be),new Ee(zr,be));case ar.TOP_RIGHT:return new Tt(new Ee(G,be),new Ee(G+Ir,be),new Ee(zr,un-Hr),new Ee(zr,un));case ar.BOTTOM_RIGHT:return new Tt(new Ee(zr,be),new Ee(zr,be+Hr),new Ee(G+Ir,un),new Ee(G,un));case ar.BOTTOM_LEFT:default:return new Tt(new Ee(zr,un),new Ee(zr-Ir,un),new Ee(G,be+Hr),new Ee(G,be))}},Vr=function(G){return[G.topLeftBorderBox,G.topRightBorderBox,G.bottomRightBorderBox,G.bottomLeftBorderBox]},Yr=function(G){return[G.topLeftContentBox,G.topRightContentBox,G.bottomRightContentBox,G.bottomLeftContentBox]},kr=function(G){return[G.topLeftPaddingBox,G.topRightPaddingBox,G.bottomRightPaddingBox,G.bottomLeftPaddingBox]},Pr=function(){function Ne(G,be,Re){this.type=0,this.offsetX=G,this.offsetY=be,this.matrix=Re,this.target=2|4}return Ne}(),Gr=function(){function Ne(G,be){this.type=1,this.target=be,this.path=G}return Ne}(),dn=function(G){return G.type===0},pn=function(G){return G.type===1},ei=function(){function Ne(G){this.element=G,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Ne}(),ui=function(){function Ne(G,be){if(this.container=G,this.effects=be.slice(0),this.curves=new nr(G),G.styles.transform!==null){var Re=G.bounds.left+G.styles.transformOrigin[0].number,pt=G.bounds.top+G.styles.transformOrigin[1].number,$t=G.styles.transform;this.effects.push(new Pr(Re,pt,$t))}if(G.styles.overflowX!==Le.VISIBLE){var gr=Vr(this.curves),Ir=kr(this.curves);He(gr,Ir)?this.effects.push(new Gr(gr,2|4)):(this.effects.push(new Gr(gr,2)),this.effects.push(new Gr(Ir,4)))}}return Ne.prototype.getParentEffects=function(){var G=this.effects.slice(0);if(this.container.styles.overflowX!==Le.VISIBLE){var be=Vr(this.curves),Re=kr(this.curves);He(be,Re)||G.push(new Gr(Re,2|4))}return G},Ne}(),ii=function Ne(G,be,Re,pt){G.container.elements.forEach(function($t){var gr=Ro($t.flags,4),Ir=Ro($t.flags,2),Hr=new ui($t,G.getParentEffects());Ro($t.styles.display,2048)&&pt.push(Hr);var zr=Ro($t.flags,8)?[]:pt;if(gr||Ir){var un=gr||$t.styles.isPositioned()?Re:be,sn=new ei(Hr);if($t.styles.isPositioned()||$t.styles.opacity<1||$t.styles.isTransformed()){var Fn=$t.styles.zIndex.order;if(Fn<0){var si=0;un.negativeZIndex.some(function(fi,da){return Fn>fi.element.container.styles.zIndex.order?(si=da,!1):si>0}),un.negativeZIndex.splice(si,0,sn)}else if(Fn>0){var zn=0;un.positiveZIndex.some(function(fi,da){return Fn>=fi.element.container.styles.zIndex.order?(zn=da+1,!1):zn>0}),un.positiveZIndex.splice(zn,0,sn)}else un.zeroOrAutoZIndexOrTransformedOrOpacity.push(sn)}else $t.styles.isFloating()?un.nonPositionedFloats.push(sn):un.nonPositionedInlineLevel.push(sn);Ne(Hr,sn,gr?sn:Re,zr)}else $t.styles.isInlineLevel()?be.inlineLevel.push(Hr):be.nonInlineLevel.push(Hr),Ne(Hr,be,Re,zr);Ro($t.flags,8)&&Zi($t,zr)})},Zi=function(G,be){for(var Re=G instanceof jl?G.start:1,pt=G instanceof jl?G.reversed:!1,$t=0;$t<be.length;$t++){var gr=be[$t];gr.container instanceof qs&&typeof gr.container.value=="number"&&gr.container.value!==0&&(Re=gr.container.value),gr.listValue=gl(Re,gr.container.styles.listStyleType,!0),Re+=pt?-1:1}},Si=function(G){var be=new ui(G,[]),Re=new ei(be),pt=[];return ii(be,Re,Re,pt),Zi(be.container,pt),Re},Va=function(G,be){switch(be){case 0:return Ei(G.topLeftBorderBox,G.topLeftPaddingBox,G.topRightBorderBox,G.topRightPaddingBox);case 1:return Ei(G.topRightBorderBox,G.topRightPaddingBox,G.bottomRightBorderBox,G.bottomRightPaddingBox);case 2:return Ei(G.bottomRightBorderBox,G.bottomRightPaddingBox,G.bottomLeftBorderBox,G.bottomLeftPaddingBox);case 3:default:return Ei(G.bottomLeftBorderBox,G.bottomLeftPaddingBox,G.topLeftBorderBox,G.topLeftPaddingBox)}},Ei=function(G,be,Re,pt){var $t=[];return Yt(G)?$t.push(G.subdivide(.5,!1)):$t.push(G),Yt(Re)?$t.push(Re.subdivide(.5,!0)):$t.push(Re),Yt(pt)?$t.push(pt.subdivide(.5,!0).reverse()):$t.push(pt),Yt(be)?$t.push(be.subdivide(.5,!1).reverse()):$t.push(be),$t},uo=function(G){var be=G.bounds,Re=G.styles;return be.add(Re.borderLeftWidth,Re.borderTopWidth,-(Re.borderRightWidth+Re.borderLeftWidth),-(Re.borderTopWidth+Re.borderBottomWidth))},zo=function(G){var be=G.styles,Re=G.bounds,pt=Dr(be.paddingLeft,Re.width),$t=Dr(be.paddingRight,Re.width),gr=Dr(be.paddingTop,Re.width),Ir=Dr(be.paddingBottom,Re.width);return Re.add(pt+be.borderLeftWidth,gr+be.borderTopWidth,-(be.borderRightWidth+be.borderLeftWidth+pt+$t),-(be.borderTopWidth+be.borderBottomWidth+gr+Ir))},ao=function(G,be){return G===0?be.bounds:G===2?zo(be):uo(be)},_o=function(G,be){return G===Mi.BORDER_BOX?be.bounds:G===Mi.CONTENT_BOX?zo(be):uo(be)},m=function(G,be,Re){var pt=ao(q(G.styles.backgroundOrigin,be),G),$t=_o(q(G.styles.backgroundClip,be),G),gr=V(q(G.styles.backgroundSize,be),Re,pt),Ir=gr[0],Hr=gr[1],zr=Br(q(G.styles.backgroundPosition,be),pt.width-Ir,pt.height-Hr),un=ve(q(G.styles.backgroundRepeat,be),zr,gr,pt,$t),sn=Math.round(pt.left+zr[0]),Fn=Math.round(pt.top+zr[1]);return[un,sn,Fn,Ir,Hr]},I=function(G){return Xt(G)&&G.value===Ma.AUTO},W=function(G){return typeof G=="number"},V=function(G,be,Re){var pt=be[0],$t=be[1],gr=be[2],Ir=G[0],Hr=G[1];if(an(Ir)&&Hr&&an(Hr))return[Dr(Ir,Re.width),Dr(Hr,Re.height)];var zr=W(gr);if(Xt(Ir)&&(Ir.value===Ma.CONTAIN||Ir.value===Ma.COVER)){if(W(gr)){var un=Re.width/Re.height;return un<gr!==(Ir.value===Ma.COVER)?[Re.width,Re.width/gr]:[Re.height*gr,Re.height]}return[Re.width,Re.height]}var sn=W(pt),Fn=W($t),si=sn||Fn;if(I(Ir)&&(!Hr||I(Hr))){if(sn&&Fn)return[pt,$t];if(!zr&&!si)return[Re.width,Re.height];if(si&&zr){var zn=sn?pt:$t*gr,fi=Fn?$t:pt/gr;return[zn,fi]}var da=sn?pt:Re.width,Li=Fn?$t:Re.height;return[da,Li]}if(zr){var na=0,Na=0;return an(Ir)?na=Dr(Ir,Re.width):an(Hr)&&(Na=Dr(Hr,Re.height)),I(Ir)?na=Na*gr:(!Hr||I(Hr))&&(Na=na/gr),[na,Na]}var Ui=null,No=null;if(an(Ir)?Ui=Dr(Ir,Re.width):Hr&&an(Hr)&&(No=Dr(Hr,Re.height)),Ui!==null&&(!Hr||I(Hr))&&(No=sn&&Fn?Ui/pt*$t:Re.height),No!==null&&I(Ir)&&(Ui=sn&&Fn?No/$t*pt:Re.width),Ui!==null&&No!==null)return[Ui,No];throw new Error("Unable to calculate background-size for element")},q=function(G,be){var Re=G[be];return typeof Re=="undefined"?G[0]:Re},ve=function(G,be,Re,pt,$t){var gr=be[0],Ir=be[1],Hr=Re[0],zr=Re[1];switch(G){case fo.REPEAT_X:return[new Ee(Math.round(pt.left),Math.round(pt.top+Ir)),new Ee(Math.round(pt.left+pt.width),Math.round(pt.top+Ir)),new Ee(Math.round(pt.left+pt.width),Math.round(zr+pt.top+Ir)),new Ee(Math.round(pt.left),Math.round(zr+pt.top+Ir))];case fo.REPEAT_Y:return[new Ee(Math.round(pt.left+gr),Math.round(pt.top)),new Ee(Math.round(pt.left+gr+Hr),Math.round(pt.top)),new Ee(Math.round(pt.left+gr+Hr),Math.round(pt.height+pt.top)),new Ee(Math.round(pt.left+gr),Math.round(pt.height+pt.top))];case fo.NO_REPEAT:return[new Ee(Math.round(pt.left+gr),Math.round(pt.top+Ir)),new Ee(Math.round(pt.left+gr+Hr),Math.round(pt.top+Ir)),new Ee(Math.round(pt.left+gr+Hr),Math.round(pt.top+Ir+zr)),new Ee(Math.round(pt.left+gr),Math.round(pt.top+Ir+zr))];default:return[new Ee(Math.round($t.left),Math.round($t.top)),new Ee(Math.round($t.left+$t.width),Math.round($t.top)),new Ee(Math.round($t.left+$t.width),Math.round($t.height+$t.top)),new Ee(Math.round($t.left),Math.round($t.height+$t.top))]}},Je="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",St="Hidden Text",Ut=function(){function Ne(G){this._data={},this._document=G}return Ne.prototype.parseMetrics=function(G,be){var Re=this._document.createElement("div"),pt=this._document.createElement("img"),$t=this._document.createElement("span"),gr=this._document.body;Re.style.visibility="hidden",Re.style.fontFamily=G,Re.style.fontSize=be,Re.style.margin="0",Re.style.padding="0",gr.appendChild(Re),pt.src=Je,pt.width=1,pt.height=1,pt.style.margin="0",pt.style.padding="0",pt.style.verticalAlign="baseline",$t.style.fontFamily=G,$t.style.fontSize=be,$t.style.margin="0",$t.style.padding="0",$t.appendChild(this._document.createTextNode(St)),Re.appendChild($t),Re.appendChild(pt);var Ir=pt.offsetTop-$t.offsetTop+2;Re.removeChild($t),Re.appendChild(this._document.createTextNode(St)),Re.style.lineHeight="normal",pt.style.verticalAlign="super";var Hr=pt.offsetTop-Re.offsetTop+2;return gr.removeChild(Re),{baseline:Ir,middle:Hr}},Ne.prototype.getMetrics=function(G,be){var Re=G+" "+be;return typeof this._data[Re]=="undefined"&&(this._data[Re]=this.parseMetrics(G,be)),this._data[Re]},Ne}(),Wt=1e4,Er=function(){function Ne(G){this._activeEffects=[],this.canvas=G.canvas?G.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=G,G.canvas||(this.canvas.width=Math.floor(G.width*G.scale),this.canvas.height=Math.floor(G.height*G.scale),this.canvas.style.width=G.width+"px",this.canvas.style.height=G.height+"px"),this.fontMetrics=new Ut(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-G.x+G.scrollX,-G.y+G.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],la.getInstance(G.id).debug("Canvas renderer initialized ("+G.width+"x"+G.height+" at "+G.x+","+G.y+") with scale "+G.scale)}return Ne.prototype.applyEffects=function(G,be){for(var Re=this;this._activeEffects.length;)this.popEffect();G.filter(function(pt){return Ro(pt.target,be)}).forEach(function(pt){return Re.applyEffect(pt)})},Ne.prototype.applyEffect=function(G){this.ctx.save(),dn(G)&&(this.ctx.translate(G.offsetX,G.offsetY),this.ctx.transform(G.matrix[0],G.matrix[1],G.matrix[2],G.matrix[3],G.matrix[4],G.matrix[5]),this.ctx.translate(-G.offsetX,-G.offsetY)),pn(G)&&(this.path(G.path),this.ctx.clip()),this._activeEffects.push(G)},Ne.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},Ne.prototype.renderStack=function(G){return p(this,void 0,void 0,function(){var be;return v(this,function(Re){switch(Re.label){case 0:return be=G.element.container.styles,be.isVisible()?(this.ctx.globalAlpha=be.opacity,[4,this.renderStackContent(G)]):[3,2];case 1:Re.sent(),Re.label=2;case 2:return[2]}})})},Ne.prototype.renderNode=function(G){return p(this,void 0,void 0,function(){return v(this,function(be){switch(be.label){case 0:return G.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(G)]:[3,3];case 1:return be.sent(),[4,this.renderNodeContent(G)];case 2:be.sent(),be.label=3;case 3:return[2]}})})},Ne.prototype.renderTextWithLetterSpacing=function(G,be){var Re=this;if(be===0)this.ctx.fillText(G.text,G.bounds.left,G.bounds.top+G.bounds.height);else{var pt=r(G.text).map(function($t){return a($t)});pt.reduce(function($t,gr){return Re.ctx.fillText(gr,$t,G.bounds.top+G.bounds.height),$t+Re.ctx.measureText(gr).width},G.bounds.left)}},Ne.prototype.createFontStyle=function(G){var be=G.fontVariant.filter(function($t){return $t==="normal"||$t==="small-caps"}).join(""),Re=G.fontFamily.join(", "),pt=Fe(G.fontSize)?""+G.fontSize.number+G.fontSize.unit:G.fontSize.number+"px";return[[G.fontStyle,be,G.fontWeight,pt,Re].join(" "),Re,pt]},Ne.prototype.renderTextNode=function(G,be){return p(this,void 0,void 0,function(){var Re,pt,$t,gr,Ir=this;return v(this,function(Hr){return Re=this.createFontStyle(be),pt=Re[0],$t=Re[1],gr=Re[2],this.ctx.font=pt,G.textBounds.forEach(function(zr){Ir.ctx.fillStyle=Tn(be.color),Ir.renderTextWithLetterSpacing(zr,be.letterSpacing);var un=be.textShadow;un.length&&zr.text.trim().length&&(un.slice(0).reverse().forEach(function(sn){Ir.ctx.shadowColor=Tn(sn.color),Ir.ctx.shadowOffsetX=sn.offsetX.number*Ir.options.scale,Ir.ctx.shadowOffsetY=sn.offsetY.number*Ir.options.scale,Ir.ctx.shadowBlur=sn.blur.number,Ir.ctx.fillText(zr.text,zr.bounds.left,zr.bounds.top+zr.bounds.height)}),Ir.ctx.shadowColor="",Ir.ctx.shadowOffsetX=0,Ir.ctx.shadowOffsetY=0,Ir.ctx.shadowBlur=0),be.textDecorationLine.length&&(Ir.ctx.fillStyle=Tn(be.textDecorationColor||be.color),be.textDecorationLine.forEach(function(sn){switch(sn){case 1:var Fn=Ir.fontMetrics.getMetrics($t,gr).baseline;Ir.ctx.fillRect(zr.bounds.left,Math.round(zr.bounds.top+Fn),zr.bounds.width,1);break;case 2:Ir.ctx.fillRect(zr.bounds.left,Math.round(zr.bounds.top),zr.bounds.width,1);break;case 3:var si=Ir.fontMetrics.getMetrics($t,gr).middle;Ir.ctx.fillRect(zr.bounds.left,Math.ceil(zr.bounds.top+si),zr.bounds.width,1);break}}))}),[2]})})},Ne.prototype.renderReplacedElement=function(G,be,Re){if(Re&&G.intrinsicWidth>0&&G.intrinsicHeight>0){var pt=zo(G),$t=kr(be);this.path($t),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Re,0,0,G.intrinsicWidth,G.intrinsicHeight,pt.left,pt.top,pt.width,pt.height),this.ctx.restore()}},Ne.prototype.renderNodeContent=function(G){return p(this,void 0,void 0,function(){var be,Re,pt,$t,gr,Ir,Hr,zr,Hr,un,sn,Fn,si,zn,fi,da,Li,Hr,na,Na,zn;return v(this,function(Ui){switch(Ui.label){case 0:this.applyEffects(G.effects,4),be=G.container,Re=G.curves,pt=be.styles,$t=0,gr=be.textNodes,Ui.label=1;case 1:return $t<gr.length?(Ir=gr[$t],[4,this.renderTextNode(Ir,pt)]):[3,4];case 2:Ui.sent(),Ui.label=3;case 3:return $t++,[3,1];case 4:if(!(be instanceof Nl))return[3,8];Ui.label=5;case 5:return Ui.trys.push([5,7,,8]),[4,this.options.cache.match(be.src)];case 6:return Hr=Ui.sent(),this.renderReplacedElement(be,Re,Hr),[3,8];case 7:return zr=Ui.sent(),la.getInstance(this.options.id).error("Error loading image "+be.src),[3,8];case 8:if(be instanceof Ts&&this.renderReplacedElement(be,Re,be.canvas),!(be instanceof Gs))return[3,12];Ui.label=9;case 9:return Ui.trys.push([9,11,,12]),[4,this.options.cache.match(be.svg)];case 10:return Hr=Ui.sent(),this.renderReplacedElement(be,Re,Hr),[3,12];case 11:return un=Ui.sent(),la.getInstance(this.options.id).error("Error loading svg "+be.svg.substring(0,255)),[3,12];case 12:return be instanceof Wl&&be.tree?(sn=new Ne({id:this.options.id,scale:this.options.scale,backgroundColor:be.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:be.width,height:be.height,cache:this.options.cache,windowWidth:be.width,windowHeight:be.height}),[4,sn.render(be.tree)]):[3,14];case 13:Fn=Ui.sent(),be.width&&be.height&&this.ctx.drawImage(Fn,0,0,be.width,be.height,be.bounds.left,be.bounds.top,be.bounds.width,be.bounds.height),Ui.label=14;case 14:if(be instanceof Ml&&(si=Math.min(be.bounds.width,be.bounds.height),be.type===es?be.checked&&(this.ctx.save(),this.path([new Ee(be.bounds.left+si*.39363,be.bounds.top+si*.79),new Ee(be.bounds.left+si*.16,be.bounds.top+si*.5549),new Ee(be.bounds.left+si*.27347,be.bounds.top+si*.44071),new Ee(be.bounds.left+si*.39694,be.bounds.top+si*.5649),new Ee(be.bounds.left+si*.72983,be.bounds.top+si*.23),new Ee(be.bounds.left+si*.84,be.bounds.top+si*.34085),new Ee(be.bounds.left+si*.39363,be.bounds.top+si*.79)]),this.ctx.fillStyle=Tn(Rl),this.ctx.fill(),this.ctx.restore()):be.type===el&&(be.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(be.bounds.left+si/2,be.bounds.top+si/2,si/4,0,Math.PI*2,!0),this.ctx.fillStyle=Tn(Rl),this.ctx.fill(),this.ctx.restore()))),_r(be)&&be.value.length){this.ctx.font=this.createFontStyle(pt)[0],this.ctx.fillStyle=Tn(pt.color),this.ctx.textBaseline="middle",this.ctx.textAlign=nn(be.styles.textAlign),zn=zo(be),fi=0;switch(be.styles.textAlign){case Cn.CENTER:fi+=zn.width/2;break;case Cn.RIGHT:fi+=zn.width;break}da=zn.add(fi,0,0,-zn.height/2+1),this.ctx.save(),this.path([new Ee(zn.left,zn.top),new Ee(zn.left+zn.width,zn.top),new Ee(zn.left+zn.width,zn.top+zn.height),new Ee(zn.left,zn.top+zn.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Jo(be.value,da),pt.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!Ro(be.styles.display,2048))return[3,20];if(!(be.styles.listStyleImage!==null))return[3,19];if(Li=be.styles.listStyleImage,!(Li.type===Ca.URL))return[3,18];Hr=void 0,na=Li.url,Ui.label=15;case 15:return Ui.trys.push([15,17,,18]),[4,this.options.cache.match(na)];case 16:return Hr=Ui.sent(),this.ctx.drawImage(Hr,be.bounds.left-(Hr.width+10),be.bounds.top),[3,18];case 17:return Na=Ui.sent(),la.getInstance(this.options.id).error("Error loading list-style-image "+na),[3,18];case 18:return[3,20];case 19:G.listValue&&be.styles.listStyleType!==Rn.NONE&&(this.ctx.font=this.createFontStyle(pt)[0],this.ctx.fillStyle=Tn(pt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",zn=new b(be.bounds.left,be.bounds.top+Dr(be.styles.paddingTop,be.bounds.width),be.bounds.width,as(pt.lineHeight,pt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Jo(G.listValue,zn),pt.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Ui.label=20;case 20:return[2]}})})},Ne.prototype.renderStackContent=function(G){return p(this,void 0,void 0,function(){var be,Re,pt,$t,gr,pt,Ir,Hr,pt,zr,un,pt,sn,Fn,pt,si,zn,pt,fi,da,pt;return v(this,function(Li){switch(Li.label){case 0:return[4,this.renderNodeBackgroundAndBorders(G.element)];case 1:Li.sent(),be=0,Re=G.negativeZIndex,Li.label=2;case 2:return be<Re.length?(pt=Re[be],[4,this.renderStack(pt)]):[3,5];case 3:Li.sent(),Li.label=4;case 4:return be++,[3,2];case 5:return[4,this.renderNodeContent(G.element)];case 6:Li.sent(),$t=0,gr=G.nonInlineLevel,Li.label=7;case 7:return $t<gr.length?(pt=gr[$t],[4,this.renderNode(pt)]):[3,10];case 8:Li.sent(),Li.label=9;case 9:return $t++,[3,7];case 10:Ir=0,Hr=G.nonPositionedFloats,Li.label=11;case 11:return Ir<Hr.length?(pt=Hr[Ir],[4,this.renderStack(pt)]):[3,14];case 12:Li.sent(),Li.label=13;case 13:return Ir++,[3,11];case 14:zr=0,un=G.nonPositionedInlineLevel,Li.label=15;case 15:return zr<un.length?(pt=un[zr],[4,this.renderStack(pt)]):[3,18];case 16:Li.sent(),Li.label=17;case 17:return zr++,[3,15];case 18:sn=0,Fn=G.inlineLevel,Li.label=19;case 19:return sn<Fn.length?(pt=Fn[sn],[4,this.renderNode(pt)]):[3,22];case 20:Li.sent(),Li.label=21;case 21:return sn++,[3,19];case 22:si=0,zn=G.zeroOrAutoZIndexOrTransformedOrOpacity,Li.label=23;case 23:return si<zn.length?(pt=zn[si],[4,this.renderStack(pt)]):[3,26];case 24:Li.sent(),Li.label=25;case 25:return si++,[3,23];case 26:fi=0,da=G.positiveZIndex,Li.label=27;case 27:return fi<da.length?(pt=da[fi],[4,this.renderStack(pt)]):[3,30];case 28:Li.sent(),Li.label=29;case 29:return fi++,[3,27];case 30:return[2]}})})},Ne.prototype.mask=function(G){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(G.slice(0).reverse()),this.ctx.closePath()},Ne.prototype.path=function(G){this.ctx.beginPath(),this.formatPath(G),this.ctx.closePath()},Ne.prototype.formatPath=function(G){var be=this;G.forEach(function(Re,pt){var $t=Yt(Re)?Re.start:Re;pt===0?be.ctx.moveTo($t.x,$t.y):be.ctx.lineTo($t.x,$t.y),Yt(Re)&&be.ctx.bezierCurveTo(Re.startControl.x,Re.startControl.y,Re.endControl.x,Re.endControl.y,Re.end.x,Re.end.y)})},Ne.prototype.renderRepeat=function(G,be,Re,pt){this.path(G),this.ctx.fillStyle=be,this.ctx.translate(Re,pt),this.ctx.fill(),this.ctx.translate(-Re,-pt)},Ne.prototype.resizeImage=function(G,be,Re){if(G.width===be&&G.height===Re)return G;var pt=this.canvas.ownerDocument.createElement("canvas");pt.width=be,pt.height=Re;var $t=pt.getContext("2d");return $t.drawImage(G,0,0,G.width,G.height,0,0,be,Re),pt},Ne.prototype.renderBackgroundImage=function(G){return p(this,void 0,void 0,function(){var be,Re,pt,$t,gr,Ir;return v(this,function(Hr){switch(Hr.label){case 0:be=G.styles.backgroundImage.length-1,Re=function(un){var sn,Fn,si,zn,fi,da,Li,na,Na,Ui,No,fi,da,Li,na,Na,no,Wo,Uo,Pa,Ko,fs,vs,Es,gu,Ui,eu,fi,fu,pu,na,Na,mu,da,Li,vu,kl,Au,yu,bu,du,wu,Su;return v(this,function(tu){switch(tu.label){case 0:if(!(un.type===Ca.URL))return[3,5];sn=void 0,Fn=un.url,tu.label=1;case 1:return tu.trys.push([1,3,,4]),[4,pt.options.cache.match(Fn)];case 2:return sn=tu.sent(),[3,4];case 3:return si=tu.sent(),la.getInstance(pt.options.id).error("Error loading background-image "+Fn),[3,4];case 4:return sn&&(zn=m(G,be,[sn.width,sn.height,sn.width/sn.height]),fi=zn[0],da=zn[1],Li=zn[2],na=zn[3],Na=zn[4],Ui=pt.ctx.createPattern(pt.resizeImage(sn,na,Na),"repeat"),pt.renderRepeat(fi,Ui,da,Li)),[3,6];case 5:to(un)?(No=m(G,be,[null,null,null]),fi=No[0],da=No[1],Li=No[2],na=No[3],Na=No[4],no=Ji(un.angle,na,Na),Wo=no[0],Uo=no[1],Pa=no[2],Ko=no[3],fs=no[4],vs=document.createElement("canvas"),vs.width=na,vs.height=Na,Es=vs.getContext("2d"),gu=Es.createLinearGradient(Uo,Ko,Pa,fs),mi(un.stops,Wo).forEach(function(hu){return gu.addColorStop(hu.stop,Tn(hu.color))}),Es.fillStyle=gu,Es.fillRect(0,0,na,Na),na>0&&Na>0&&(Ui=pt.ctx.createPattern(vs,"repeat"),pt.renderRepeat(fi,Ui,da,Li))):Oo(un)&&(eu=m(G,be,[null,null,null]),fi=eu[0],fu=eu[1],pu=eu[2],na=eu[3],Na=eu[4],mu=un.position.length===0?[ir]:un.position,da=Dr(mu[0],na),Li=Dr(mu[mu.length-1],Na),vu=Aa(un,da,Li,na,Na),kl=vu[0],Au=vu[1],kl>0&&kl>0&&(yu=pt.ctx.createRadialGradient(fu+da,pu+Li,0,fu+da,pu+Li,kl),mi(un.stops,kl*2).forEach(function(hu){return yu.addColorStop(hu.stop,Tn(hu.color))}),pt.path(fi),pt.ctx.fillStyle=yu,kl!==Au?(bu=G.bounds.left+.5*G.bounds.width,du=G.bounds.top+.5*G.bounds.height,wu=Au/kl,Su=1/wu,pt.ctx.save(),pt.ctx.translate(bu,du),pt.ctx.transform(1,0,0,wu,0,0),pt.ctx.translate(-bu,-du),pt.ctx.fillRect(fu,Su*(pu-du)+du,na,Na*Su),pt.ctx.restore()):pt.ctx.fill())),tu.label=6;case 6:return be--,[2]}})},pt=this,$t=0,gr=G.styles.backgroundImage.slice(0).reverse(),Hr.label=1;case 1:return $t<gr.length?(Ir=gr[$t],[5,Re(Ir)]):[3,4];case 2:Hr.sent(),Hr.label=3;case 3:return $t++,[3,1];case 4:return[2]}})})},Ne.prototype.renderBorder=function(G,be,Re){return p(this,void 0,void 0,function(){return v(this,function(pt){return this.path(Va(Re,be)),this.ctx.fillStyle=Tn(G),this.ctx.fill(),[2]})})},Ne.prototype.renderNodeBackgroundAndBorders=function(G){return p(this,void 0,void 0,function(){var be,Re,pt,$t,gr,Ir,Hr,zr,un=this;return v(this,function(sn){switch(sn.label){case 0:return this.applyEffects(G.effects,2),be=G.container.styles,Re=!En(be.backgroundColor)||be.backgroundImage.length,pt=[{style:be.borderTopStyle,color:be.borderTopColor},{style:be.borderRightStyle,color:be.borderRightColor},{style:be.borderBottomStyle,color:be.borderBottomColor},{style:be.borderLeftStyle,color:be.borderLeftColor}],$t=en(q(be.backgroundClip,0),G.curves),Re||be.boxShadow.length?(this.ctx.save(),this.path($t),this.ctx.clip(),En(be.backgroundColor)||(this.ctx.fillStyle=Tn(be.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(G.container)]):[3,2];case 1:sn.sent(),this.ctx.restore(),be.boxShadow.slice(0).reverse().forEach(function(Fn){un.ctx.save();var si=Vr(G.curves),zn=Fn.inset?0:Wt,fi=ne(si,-zn+(Fn.inset?1:-1)*Fn.spread.number,(Fn.inset?1:-1)*Fn.spread.number,Fn.spread.number*(Fn.inset?-2:2),Fn.spread.number*(Fn.inset?-2:2));Fn.inset?(un.path(si),un.ctx.clip(),un.mask(fi)):(un.mask(si),un.ctx.clip(),un.path(fi)),un.ctx.shadowOffsetX=Fn.offsetX.number+zn,un.ctx.shadowOffsetY=Fn.offsetY.number,un.ctx.shadowColor=Tn(Fn.color),un.ctx.shadowBlur=Fn.blur.number,un.ctx.fillStyle=Fn.inset?Tn(Fn.color):"rgba(0,0,0,1)",un.ctx.fill(),un.ctx.restore()}),sn.label=2;case 2:gr=0,Ir=0,Hr=pt,sn.label=3;case 3:return Ir<Hr.length?(zr=Hr[Ir],zr.style!==bo.NONE&&!En(zr.color)?[4,this.renderBorder(zr.color,gr,G.curves)]:[3,5]):[3,7];case 4:sn.sent(),sn.label=5;case 5:gr++,sn.label=6;case 6:return Ir++,[3,3];case 7:return[2]}})})},Ne.prototype.render=function(G){return p(this,void 0,void 0,function(){var be;return v(this,function(Re){switch(Re.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Tn(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),be=Si(G),[4,this.renderStack(be)];case 1:return Re.sent(),this.applyEffects([],2),[2,this.canvas]}})})},Ne}(),_r=function(G){return G instanceof zl||G instanceof yl?!0:G instanceof Ml&&G.type!==el&&G.type!==es},en=function(G,be){switch(G){case Mi.BORDER_BOX:return Vr(be);case Mi.CONTENT_BOX:return Yr(be);case Mi.PADDING_BOX:default:return kr(be)}},nn=function(G){switch(G){case Cn.CENTER:return"center";case Cn.RIGHT:return"right";case Cn.LEFT:default:return"left"}},xn=function(){function Ne(G){this.canvas=G.canvas?G.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=G,this.canvas.width=Math.floor(G.width*G.scale),this.canvas.height=Math.floor(G.height*G.scale),this.canvas.style.width=G.width+"px",this.canvas.style.height=G.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-G.x+G.scrollX,-G.y+G.scrollY),la.getInstance(G.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+G.width+"x"+G.height+" at "+G.x+","+G.y+") with scale "+G.scale)}return Ne.prototype.render=function(G){return p(this,void 0,void 0,function(){var be,Re;return v(this,function(pt){switch(pt.label){case 0:return be=bi(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,G),[4,kn(be)];case 1:return Re=pt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Tn(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(Re,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},Ne}(),kn=function(G){return new Promise(function(be,Re){var pt=new Image;pt.onload=function(){be(pt)},pt.onerror=Re,pt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(G))})},$n=void 0,Zn=function(G){return Mn.parse(hn.create(G).parseComponentValue())},oi=function(G,be){return be===void 0&&(be={}),li(G,be)};typeof window!="undefined"&&gi.setContext(window);var li=function(G,be){return p($n,void 0,void 0,function(){var Re,pt,$t,gr,Ir,Hr,zr,un,sn,Fn,si,zn,fi,da,Li,na,Na,Ui,No,no,Wo,Uo,Pa,Ko,fs,Ko;return v(this,function(vs){switch(vs.label){case 0:if(Re=G.ownerDocument,!Re)throw new Error("Element is not attached to a Document");if(pt=Re.defaultView,!pt)throw new Error("Document is not attached to a Window");return $t=(Math.round(Math.random()*1e3)+Date.now()).toString(16),gr=dl(G)||Sl(G)?i(Re):f(G),Ir=gr.width,Hr=gr.height,zr=gr.left,un=gr.top,sn={allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},Fn=g({},sn,be),si={backgroundColor:"#ffffff",cache:be.cache?be.cache:gi.create($t,Fn),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:pt.devicePixelRatio||1,windowWidth:pt.innerWidth,windowHeight:pt.innerHeight,scrollX:pt.pageXOffset,scrollY:pt.pageYOffset,x:zr,y:un,width:Math.ceil(Ir),height:Math.ceil(Hr),id:$t},zn=g({},si,Fn,be),fi=new b(zn.scrollX,zn.scrollY,zn.windowWidth,zn.windowHeight),la.create({id:$t,enabled:zn.logging}),la.getInstance($t).debug("Starting document clone"),da=new Ul(G,{id:$t,onclone:zn.onclone,ignoreElements:zn.ignoreElements,inlineImages:zn.foreignObjectRendering,copyStyles:zn.foreignObjectRendering}),Li=da.clonedReferenceElement,Li?[4,da.toIFrame(Re,fi)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return na=vs.sent(),Na=Re.documentElement?Zn(getComputedStyle(Re.documentElement).backgroundColor):Oi.TRANSPARENT,Ui=Re.body?Zn(getComputedStyle(Re.body).backgroundColor):Oi.TRANSPARENT,No=be.backgroundColor,no=typeof No=="string"?Zn(No):No===null?Oi.TRANSPARENT:4294967295,Wo=G===Re.documentElement?En(Na)?En(Ui)?no:Ui:Na:no,Uo={id:$t,cache:zn.cache,canvas:zn.canvas,backgroundColor:Wo,scale:zn.scale,x:zn.x,y:zn.y,scrollX:zn.scrollX,scrollY:zn.scrollY,width:zn.width,height:zn.height,windowWidth:zn.windowWidth,windowHeight:zn.windowHeight},zn.foreignObjectRendering?(la.getInstance($t).debug("Document cloned, using foreign object rendering"),Ko=new xn(Uo),[4,Ko.render(Li)]):[3,3];case 2:return Pa=vs.sent(),[3,5];case 3:return la.getInstance($t).debug("Document cloned, using computed rendering"),gi.attachInstance(zn.cache),la.getInstance($t).debug("Starting DOM parsing"),fs=tl(Li),gi.detachInstance(),Wo===fs.styles.backgroundColor&&(fs.styles.backgroundColor=Oi.TRANSPARENT),la.getInstance($t).debug("Starting renderer"),Ko=new Er(Uo),[4,Ko.render(fs)];case 4:Pa=vs.sent(),vs.label=5;case 5:return zn.removeContainer===!0&&(Ul.destroy(na)||la.getInstance($t).error("Cannot detach cloned iframe as it is not in the DOM anymore")),la.getInstance($t).debug("Finished rendering"),la.destroy($t),gi.destroy($t),[2,Pa]}})})};return oi})},wPlo:function(J,B,e){"use strict";e.d(B,"a",function(){return d});var d="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("ygfH")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="CheckOutlined";var f=g.forwardRef(b);B.default=f},wYyv:function(J,B,e){"use strict";var d=e("R5yR"),x=e("5wUe"),g=function(b,f,i){var r=f<0?b.length+f:f;if(r>=0&&r<b.length){var a=i<0?b.length+i:i,s=b.splice(f,1),l=x(s,1),n=l[0];b.splice(a,0,n)}},p=function(b,f,i){return b=d(b),g(b,f,i),b};J.exports=p,J.exports.mutate=g},wgJM:function(J,B,e){"use strict";e.d(B,"a",function(){return g});var d=function(v){return+setTimeout(v,16)},x=function(v){return clearTimeout(v)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(d=function(v){return window.requestAnimationFrame(v)},x=function(v){return window.cancelAnimationFrame(v)});function g(p){return d(p)}g.cancel=x},wgjA:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};B.default=d},wlus:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="MinusCircleOutlined";var b=B.a=d.forwardRef(v)},wr5s:function(J,B,e){var d=e("IwbS"),x=d.extendShape,g=x({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(p,v){var b=v.cx,f=v.cy,i=Math.max(v.r0||0,0),r=Math.max(v.r,0),a=(r-i)*.5,s=i+a,l=v.startAngle,n=v.endAngle,u=v.clockwise,t=Math.cos(l),c=Math.sin(l),o=Math.cos(n),h=Math.sin(n),A=u?n-l<Math.PI*2:l-n<Math.PI*2;A&&(p.moveTo(t*i+b,c*i+f),p.arc(t*s+b,c*s+f,a,-Math.PI+l,l,!u)),p.arc(b,f,r,l,n,!u),p.moveTo(o*r+b,h*r+f),p.arc(o*s+b,h*s+f,a,n-Math.PI*2,n-Math.PI,!u),i!==0&&(p.arc(b,f,i,n,l,u),p.moveTo(t*i+b,h*i+f)),p.closePath()}});J.exports=g},wt3j:function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("/IIm"),p=e("EMyp"),v=p.layoutCovers,b=d.extendComponentView({type:"brush",init:function(i,r){this.ecModel=i,this.api=r,this.model,(this._brushController=new g(r.getZr())).on("brush",x.bind(this._onBrush,this)).mount()},render:function(i){return this.model=i,f.apply(this,arguments)},updateTransform:function(i,r){return v(r),f.apply(this,arguments)},updateView:f,dispose:function(){this._brushController.dispose()},_onBrush:function(i,r){var a=this.model.id;this.model.brushTargetManager.setOutputRanges(i,this.ecModel),(!r.isEnd||r.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:x.clone(i),$from:a}),r.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:x.clone(i),$from:a})}});function f(i,r,a,s){(!s||s.$from!==i.id)&&this._brushController.setPanels(i.brushTargetManager.makePanelOpts(a)).enableBrush(i.brushOption).updateCovers(i.areas.slice())}J.exports=b},wy8a:function(J,B,e){var d=e("KxBF");function x(g,p,v){var b=g.length;return v=v===void 0?b:v,!p&&v>=b?g:d(g,p,v)}J.exports=x},x3X8:function(J,B,e){var d=e("KxfA"),x=d.retrieveRawValue;function g(p,v){var b=p.mapDimension("defaultedLabel",!0),f=b.length;if(f===1)return x(p,v,b[0]);if(f){for(var i=[],r=0;r<b.length;r++){var a=x(p,v,b[r]);i.push(a)}return i.join(" ")}}B.getDefaultLabel=g},x54q:function(J,B,e){},x6Kt:function(J,B,e){var d=e("y+Vt"),x=e("VpOo"),g=e("nPnh"),p=g.subPixelOptimizeRect,v={},b=d.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(i,r){var a,s,l,n;this.subPixelOptimize?(p(v,r,this.style),a=v.x,s=v.y,l=v.width,n=v.height,v.r=r.r,r=v):(a=r.x,s=r.y,l=r.width,n=r.height),r.r?x.buildPath(i,r):i.rect(a,s,l,n),i.closePath();return}});J.exports=b},xGfz:function(J,B,e){"use strict";var d=e("q1tI"),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="PlusSquareOutlined";var b=B.a=d.forwardRef(v)},xKMd:function(J,B){function e(x,g){this.getAllNames=function(){var p=g();return p.mapArray(p.getName)},this.containName=function(p){var v=g();return v.indexOfName(p)>=0},this.indexOfName=function(p){var v=x();return v.indexOfName(p)},this.getItemVisual=function(p,v){var b=x();return b.getItemVisual(p,v)}}var d=e;J.exports=d},xRUu:function(J,B,e){e("hJvP"),e("hFmY"),e("sAZ8")},xSat:function(J,B){var e={axisPointer:1,tooltip:1,brush:1};function d(x,g,p){var v=g.getComponentByElement(x.topTarget),b=v&&v.coordinateSystem;return v&&v!==p&&!e[v.mainType]&&b&&b.model!==p}B.onIrrelevantElement=d},xTNl:function(J,B){var e=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],d={color:e,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],e]};J.exports=d},xYSL:function(J,B){function e(d,x){return d.has(x)}J.exports=e},xb2K:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("5yev")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="RedoOutlined";var f=g.forwardRef(b);B.default=f},xiyX:function(J,B,e){var d=e("bYtY"),x=e("bLfw"),g=e("nkfE"),p=e("ICMv"),v=x.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),b={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function f(r,a){return a.type||(a.data?"category":"value")}d.merge(v.prototype,p),g("single",v,f,b);var i=v;J.exports=i},xzDV:function(J,B,e){},"y+Vt":function(J,B,e){var d=e("Gev7"),x=e("bYtY"),g=e("IMiH"),p=e("2DNl"),v=e("3C/r"),b=v.prototype.getCanvasPattern,f=Math.abs,i=new g(!0);function r(s){d.call(this,s),this.path=null}r.prototype={constructor:r,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(l,n){var u=this.style,t=this.path||i,c=u.hasStroke(),o=u.hasFill(),h=u.fill,A=u.stroke,y=o&&!!h.colorStops,O=c&&!!A.colorStops,S=o&&!!h.image,E=c&&!!A.image;if(u.bind(l,this,n),this.setTransform(l),this.__dirty){var C;y&&(C=C||this.getBoundingRect(),this._fillGradient=u.getGradient(l,h,C)),O&&(C=C||this.getBoundingRect(),this._strokeGradient=u.getGradient(l,A,C))}y?l.fillStyle=this._fillGradient:S&&(l.fillStyle=b.call(h,l)),O?l.strokeStyle=this._strokeGradient:E&&(l.strokeStyle=b.call(A,l));var T=u.lineDash,w=u.lineDashOffset,L=!!l.setLineDash,N=this.getGlobalScale();if(t.setScale(N[0],N[1],this.segmentIgnoreThreshold),this.__dirtyPath||T&&!L&&c?(t.beginPath(l),T&&!L&&(t.setLineDash(T),t.setLineDashOffset(w)),this.buildPath(t,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(l.beginPath(),this.path.rebuildPath(l)),o)if(u.fillOpacity!=null){var D=l.globalAlpha;l.globalAlpha=u.fillOpacity*u.opacity,t.fill(l),l.globalAlpha=D}else t.fill(l);if(T&&L&&(l.setLineDash(T),l.lineDashOffset=w),c)if(u.strokeOpacity!=null){var D=l.globalAlpha;l.globalAlpha=u.strokeOpacity*u.opacity,t.stroke(l),l.globalAlpha=D}else t.stroke(l);T&&L&&l.setLineDash([]),u.text!=null&&(this.restoreTransform(l),this.drawRectText(l,this.getBoundingRect()))},buildPath:function(l,n,u){},createPathProxy:function(){this.path=new g},getBoundingRect:function(){var l=this._rect,n=this.style,u=!l;if(u){var t=this.path;t||(t=this.path=new g),this.__dirtyPath&&(t.beginPath(),this.buildPath(t,this.shape,!1)),l=t.getBoundingRect()}if(this._rect=l,n.hasStroke()){var c=this._rectWithStroke||(this._rectWithStroke=l.clone());if(this.__dirty||u){c.copy(l);var o=n.lineWidth,h=n.strokeNoScale?this.getLineScale():1;n.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),h>1e-10&&(c.width+=o/h,c.height+=o/h,c.x-=o/h/2,c.y-=o/h/2)}return c}return l},contain:function(l,n){var u=this.transformCoordToLocal(l,n),t=this.getBoundingRect(),c=this.style;if(l=u[0],n=u[1],t.contain(l,n)){var o=this.path.data;if(c.hasStroke()){var h=c.lineWidth,A=c.strokeNoScale?this.getLineScale():1;if(A>1e-10&&(c.hasFill()||(h=Math.max(h,this.strokeContainThreshold)),p.containStroke(o,h/A,l,n)))return!0}if(c.hasFill())return p.contain(o,l,n)}return!1},dirty:function(l){l==null&&(l=!0),l&&(this.__dirtyPath=l,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(l){return this.animate("shape",l)},attrKV:function(l,n){l==="shape"?(this.setShape(n),this.__dirtyPath=!0,this._rect=null):d.prototype.attrKV.call(this,l,n)},setShape:function(l,n){var u=this.shape;if(u){if(x.isObject(l))for(var t in l)l.hasOwnProperty(t)&&(u[t]=l[t]);else u[l]=n;this.dirty(!0)}return this},getLineScale:function(){var l=this.transform;return l&&f(l[0]-1)>1e-10&&f(l[3]-1)>1e-10?Math.sqrt(f(l[0]*l[3]-l[2]*l[1])):1}},r.extend=function(s){var l=function(t){r.call(this,t),s.style&&this.style.extendFrom(s.style,!1);var c=s.shape;if(c){this.shape=this.shape||{};var o=this.shape;for(var h in c)!o.hasOwnProperty(h)&&c.hasOwnProperty(h)&&(o[h]=c[h])}s.init&&s.init.call(this,t)};x.inherits(l,r);for(var n in s)n!=="style"&&n!=="shape"&&(l.prototype[n]=s[n]);return l},x.inherits(r,d);var a=r;J.exports=a},"y+lR":function(J,B,e){var d=e("bYtY"),x=e("mFDi"),g=e("z35g");function p(b){g.call(this,b)}p.prototype={constructor:p,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(b){var f=this.getAxis("x"),i=this.getAxis("y");return f.contain(f.toLocalCoord(b[0]))&&i.contain(i.toLocalCoord(b[1]))},containData:function(b){return this.getAxis("x").containData(b[0])&&this.getAxis("y").containData(b[1])},dataToPoint:function(b,f,i){var r=this.getAxis("x"),a=this.getAxis("y");return i=i||[],i[0]=r.toGlobalCoord(r.dataToCoord(b[0])),i[1]=a.toGlobalCoord(a.dataToCoord(b[1])),i},clampData:function(b,f){var i=this.getAxis("x").scale,r=this.getAxis("y").scale,a=i.getExtent(),s=r.getExtent(),l=i.parse(b[0]),n=r.parse(b[1]);return f=f||[],f[0]=Math.min(Math.max(Math.min(a[0],a[1]),l),Math.max(a[0],a[1])),f[1]=Math.min(Math.max(Math.min(s[0],s[1]),n),Math.max(s[0],s[1])),f},pointToData:function(b,f){var i=this.getAxis("x"),r=this.getAxis("y");return f=f||[],f[0]=i.coordToData(i.toLocalCoord(b[0])),f[1]=r.coordToData(r.toLocalCoord(b[1])),f},getOtherAxis:function(b){return this.getAxis(b.dim==="x"?"y":"x")},getArea:function(){var b=this.getAxis("x").getGlobalExtent(),f=this.getAxis("y").getGlobalExtent(),i=Math.min(b[0],b[1]),r=Math.min(f[0],f[1]),a=Math.max(b[0],b[1])-i,s=Math.max(f[0],f[1])-r,l=new x(i,r,a,s);return l}},d.inherits(p,g);var v=p;J.exports=v},"y0+3":function(J,B,e){"use strict";e.d(B,"a",function(){return s}),e.d(B,"b",function(){return n});var d=/margin|padding|width|height|max|min|offset/,x={left:!0,top:!0},g={cssFloat:1,styleFloat:1,float:1};function p(u){return u.nodeType===1?u.ownerDocument.defaultView.getComputedStyle(u,null):{}}function v(u,t,c){if(t=t.toLowerCase(),c==="auto"){if(t==="height")return u.offsetHeight;if(t==="width")return u.offsetWidth}return t in x||(x[t]=d.test(t)),x[t]?parseFloat(c)||0:c}function b(u,t){var c=arguments.length,o=p(u);return t=g[t]?"cssFloat"in u.style?"cssFloat":"styleFloat":t,c===1?o:v(u,t,o[t]||u.style[t])}function f(u,t,c){var o=arguments.length;if(t=g[t]?"cssFloat"in u.style?"cssFloat":"styleFloat":t,o===3)return typeof c=="number"&&d.test(t)&&(c="".concat(c,"px")),u.style[t]=c,c;for(var h in t)t.hasOwnProperty(h)&&f(u,h,t[h]);return p(u)}function i(u){return u===document.body?document.documentElement.clientWidth:u.offsetWidth}function r(u){return u===document.body?window.innerHeight||document.documentElement.clientHeight:u.offsetHeight}function a(){var u=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:u,height:t}}function s(){var u=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:u,height:t}}function l(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function n(u){var t=u.getBoundingClientRect(),c=document.documentElement;return{left:t.left+(window.pageXOffset||c.scrollLeft)-(c.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||c.scrollTop)-(c.clientTop||document.body.clientTop||0)}}},y1pI:function(J,B,e){var d=e("ljhN");function x(g,p){for(var v=g.length;v--;)if(d(g[v][0],p))return v;return-1}J.exports=x},y23F:function(J,B){function e(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}e.prototype={constructor:e,_dragStart:function(p){for(var v=p.target;v&&!v.draggable;)v=v.parent;v&&(this._draggingTarget=v,v.dragging=!0,this._x=p.offsetX,this._y=p.offsetY,this.dispatchToElement(d(v,p),"dragstart",p.event))},_drag:function(p){var v=this._draggingTarget;if(v){var b=p.offsetX,f=p.offsetY,i=b-this._x,r=f-this._y;this._x=b,this._y=f,v.drift(i,r,p),this.dispatchToElement(d(v,p),"drag",p.event);var a=this.findHover(b,f,v).target,s=this._dropTarget;this._dropTarget=a,v!==a&&(s&&a!==s&&this.dispatchToElement(d(s,p),"dragleave",p.event),a&&a!==s&&this.dispatchToElement(d(a,p),"dragenter",p.event))}},_dragEnd:function(p){var v=this._draggingTarget;v&&(v.dragging=!1),this.dispatchToElement(d(v,p),"dragend",p.event),this._dropTarget&&this.dispatchToElement(d(this._dropTarget,p),"drop",p.event),this._draggingTarget=null,this._dropTarget=null}};function d(g,p){return{target:g,topTarget:p&&p.topTarget}}var x=e;J.exports=x},y2l5:function(J,B,e){var d=e("MwEJ"),x=e("T4UG"),g=x.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(p,v){return d(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var p=this.option.progressive;return p==null?this.option.large?5e3:this.get("progressive"):p},getProgressiveThreshold:function(){var p=this.option.progressiveThreshold;return p==null?this.option.large?1e4:this.get("progressiveThreshold"):p},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});J.exports=g},y3NT:function(J,B,e){var d=e("OELB"),x=d.parsePercent,g=e("bYtY"),p=Math.PI/180;function v(i,r,a,s){r.eachSeriesByType(i,function(l){var n=l.get("center"),u=l.get("radius");g.isArray(u)||(u=[0,u]),g.isArray(n)||(n=[n,n]);var t=a.getWidth(),c=a.getHeight(),o=Math.min(t,c),h=x(n[0],t),A=x(n[1],c),y=x(u[0],o/2),O=x(u[1],o/2),S=-l.get("startAngle")*p,E=l.get("minAngle")*p,C=l.getData().tree.root,T=l.getViewRoot(),w=T.depth,L=l.get("sort");L!=null&&b(T,L);var N=0;g.each(T.children,function(k){!isNaN(k.getValue())&&N++});var D=T.getValue(),F=Math.PI/(D||N)*2,R=T.depth>0,U=T.height-(R?-1:1),M=(O-y)/(U||1),j=l.get("clockwise"),P=l.get("stillShowZeroSum"),K=j?1:-1,H=function(k,Q){if(!k)return;var X=Q;if(k!==C){var he=k.getValue(),te=D===0&&P?F:he*F;te<E&&(te=E),X=Q+K*te;var pe=k.depth-w-(R?-1:1),Se=y+M*pe,we=y+M*(pe+1),We=k.getModel();We.get("r0")!=null&&(Se=x(We.get("r0"),o/2)),We.get("r")!=null&&(we=x(We.get("r"),o/2)),k.setLayout({angle:te,startAngle:Q,endAngle:X,clockwise:j,cx:h,cy:A,r0:Se,r:we})}if(k.children&&k.children.length){var qe=0;g.each(k.children,function(yt){qe+=H(yt,Q+qe)})}return X-Q};if(R){var _=y,Z=y+M,Y=Math.PI*2;C.setLayout({angle:Y,startAngle:S,endAngle:S+Y,clockwise:j,cx:h,cy:A,r0:_,r:Z})}H(T,S)})}function b(i,r){var a=i.children||[];i.children=f(a,r),a.length&&g.each(i.children,function(s){b(s,r)})}function f(i,r){if(typeof r=="function")return i.sort(r);var a=r==="asc";return i.sort(function(s,l){var n=(s.getValue()-l.getValue())*(a?1:-1);return n===0?(s.dataIndex-l.dataIndex)*(a?-1:1):n})}J.exports=v},y3Yb:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("HBhm")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="PaperClipOutlined";var f=g.forwardRef(b);B.default=f},"y4/Y":function(J,B,e){var d=e("ProS"),x=e("bYtY"),g=e("zTMp"),p=e("62sa");e("SKx+"),e("1LEl"),e("Sp2Z"),d.registerPreprocessor(function(v){if(v){(!v.axisPointer||v.axisPointer.length===0)&&(v.axisPointer={});var b=v.axisPointer.link;b&&!x.isArray(b)&&(v.axisPointer.link=[b])}}),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,function(v,b){v.getComponent("axisPointer").coordSysAxesInfo=g.collect(v,b)}),d.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},p)},y7Aq:function(J,B,e){var d=e("bYtY"),x=e("+TT/"),g=x.getLayoutRect;function p(b,f,i){var r=b.option,a=r.align;if(a!=null&&a!=="auto")return a;for(var s={width:f.getWidth(),height:f.getHeight()},l=r.orient==="horizontal"?1:0,n=[["left","right","width"],["top","bottom","height"]],u=n[l],t=[0,null,10],c={},o=0;o<3;o++)c[n[1-l][o]]=t[o],c[u[o]]=o===2?i[0]:r[u[o]];var h=[["x","width",3],["y","height",0]][l],A=g(c,s,r.padding);return u[(A.margin[h[2]]||0)+A[h[0]]+A[h[1]]*.5<s[h[1]]*.5?0:1]}function v(b,f){return d.each(b||[],function(i){i.dataIndex!=null&&(i.dataIndexInside=i.dataIndex,i.dataIndex=null),i.highlightKey="visualMap"+(f?f.componentIndex:"")}),b}B.getItemAlign=p,B.makeHighDownBatch=v},y8nQ:function(J,B,e){"use strict";var d=e("cIOH"),x=e.n(d),g=e("gwTy"),p=e.n(g),v=e("1GLa")},yGk4:function(J,B,e){var d=e("Cwc5"),x=e("Kz5y"),g=d(x,"Set");J.exports=g},yO87:function(J,B,e){var d=e("bYtY"),x=e("oVpE"),g=x.createSymbol,p=e("IwbS"),v=p.Group,b=e("OELB"),f=b.parsePercent,i=e("FBjb"),r=3;function a(t){return d.isArray(t)||(t=[+t,+t]),t}function s(t,c){var o=c.rippleEffectColor||c.color;t.eachChild(function(h){h.attr({z:c.z,zlevel:c.zlevel,style:{stroke:c.brushType==="stroke"?o:null,fill:c.brushType==="fill"?o:null}})})}function l(t,c){v.call(this);var o=new i(t,c),h=new v;this.add(o),this.add(h),h.beforeUpdate=function(){this.attr(o.getScale())},this.updateData(t,c)}var n=l.prototype;n.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.startEffectAnimation=function(t){for(var c=t.symbolType,o=t.color,h=this.childAt(1),A=0;A<r;A++){var y=g(c,-1,-1,2,2,o);y.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var O=-A/r*t.period+t.effectOffset;y.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(O).start(),y.animateStyle(!0).when(t.period,{opacity:0}).delay(O).start(),h.add(y)}s(h,t)},n.updateEffectAnimation=function(t){for(var c=this._effectCfg,o=this.childAt(1),h=["symbolType","period","rippleScale"],A=0;A<h.length;A++){var y=h[A];if(c[y]!==t[y]){this.stopEffectAnimation(),this.startEffectAnimation(t);return}}s(o,t)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(t,c){var o=t.hostModel;this.childAt(0).updateData(t,c);var h=this.childAt(1),A=t.getItemModel(c),y=t.getItemVisual(c,"symbol"),O=a(t.getItemVisual(c,"symbolSize")),S=t.getItemVisual(c,"color");h.attr("scale",O),h.traverse(function(F){F.attr({fill:S})});var E=A.getShallow("symbolOffset");if(E){var C=h.position;C[0]=f(E[0],O[0]),C[1]=f(E[1],O[1])}var T=t.getItemVisual(c,"symbolRotate");h.rotation=(T||0)*Math.PI/180||0;var w={};if(w.showEffectOn=o.get("showEffectOn"),w.rippleScale=A.get("rippleEffect.scale"),w.brushType=A.get("rippleEffect.brushType"),w.period=A.get("rippleEffect.period")*1e3,w.effectOffset=c/t.count(),w.z=A.getShallow("z")||0,w.zlevel=A.getShallow("zlevel")||0,w.symbolType=y,w.color=S,w.rippleEffectColor=A.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),w.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(w):this.startEffectAnimation(w),this._effectCfg=w;else{this._effectCfg=null,this.stopEffectAnimation();var L=this.childAt(0),N=function(){L.highlight(),w.showEffectOn!=="render"&&this.startEffectAnimation(w)},D=function(){L.downplay(),w.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",N,this).on("mouseout",D,this).on("emphasis",N,this).on("normal",D,this)}this._effectCfg=w},n.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},d.inherits(l,v);var u=l;J.exports=u},yS9w:function(J,B,e){var d=e("MEGo"),x=d.parseSVG,g=d.makeViewBoxTransform,p=e("4fz+"),v=e("x6Kt"),b=e("bYtY"),f=b.assert,i=b.createHashMap,r=e("mFDi"),a=e("4NO4"),s=a.makeInner,l=s(),n={load:function(t,c){var o=l(c).originRoot;if(o)return{root:o,boundingRect:l(c).boundingRect};var h=u(c);return l(c).originRoot=h.root,l(c).boundingRect=h.boundingRect,h},makeGraphic:function(t,c,o){var h=l(c),A=h.rootMap||(h.rootMap=i()),y=A.get(o);if(y)return y;var O=h.originRoot,S=h.boundingRect;return h.originRootHostKey?y=u(c,S).root:(h.originRootHostKey=o,y=O),A.set(o,y)},removeGraphic:function(t,c,o){var h=l(c),A=h.rootMap;A&&A.removeKey(o),o===h.originRootHostKey&&(h.originRootHostKey=null)}};function u(t,c){var o=t.svgXML,h,A;try{h=o&&x(o,{ignoreViewBox:!0,ignoreRootClip:!0})||{},A=h.root,f(A!=null)}catch(T){throw new Error(`Invalid svg format
|
|
|
`+T.message)}var y=h.width,O=h.height,S=h.viewBoxRect;if(c||(c=y==null||O==null?A.getBoundingRect():new r(0,0,0,0),y!=null&&(c.width=y),O!=null&&(c.height=O)),S){var E=g(S,c.width,c.height),C=A;A=new p,A.add(C),C.scale=E.scale,C.position=E.position}return A.setClipPath(new v({shape:c.plain()})),{root:A,boundingRect:c}}J.exports=n},yWXo:function(J,B,e){var d=e("IwbS"),x=e("oVpE"),g=x.createSymbol,p=e("OS9S"),v=4,b=d.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(a,s){var l=s.points,n=s.size,u=this.symbolProxy,t=u.shape,c=a.getContext?a.getContext():a,o=c&&n[0]<v;if(o)return;for(var h=0;h<l.length;){var A=l[h++],y=l[h++];if(isNaN(A)||isNaN(y))continue;if(this.softClipShape&&!this.softClipShape.contain(A,y))continue;t.x=A-n[0]/2,t.y=y-n[1]/2,t.width=n[0],t.height=n[1],u.buildPath(a,t,!0)}},afterBrush:function(a){var s=this.shape,l=s.points,n=s.size,u=n[0]<v;if(!u)return;this.setTransform(a);for(var t=0;t<l.length;){var c=l[t++],o=l[t++];if(isNaN(c)||isNaN(o))continue;if(this.softClipShape&&!this.softClipShape.contain(c,o))continue;a.fillRect(c-n[0]/2,o-n[1]/2,n[0],n[1])}this.restoreTransform(a)},findDataIndex:function(a,s){for(var l=this.shape,n=l.points,u=l.size,t=Math.max(u[0],4),c=Math.max(u[1],4),o=n.length/2-1;o>=0;o--){var h=o*2,A=n[h]-t/2,y=n[h+1]-c/2;if(a>=A&&s>=y&&a<=A+t&&s<=y+c)return o}return-1}});function f(){this.group=new d.Group}var i=f.prototype;i.isPersistent=function(){return!this._incremental},i.updateData=function(a,s){this.group.removeAll();var l=new b({rectHover:!0,cursor:"default"});l.setShape({points:a.getLayout("symbolPoints")}),this._setCommon(l,a,!1,s),this.group.add(l),this._incremental=null},i.updateLayout=function(a){if(this._incremental)return;var s=a.getLayout("symbolPoints");this.group.eachChild(function(l){if(l.startIndex!=null){var n=(l.endIndex-l.startIndex)*2,u=l.startIndex*4*2;s=new Float32Array(s.buffer,u,n)}l.setShape("points",s)})},i.incrementalPrepareUpdate=function(a){this.group.removeAll(),this._clearIncremental(),a.count()>2e6?(this._incremental||(this._incremental=new p({silent:!0})),this.group.add(this._incremental)):this._incremental=null},i.incrementalUpdate=function(a,s,l){var n;this._incremental?(n=new b,this._incremental.addDisplayable(n,!0)):(n=new b({rectHover:!0,cursor:"default",startIndex:a.start,endIndex:a.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:s.getLayout("symbolPoints")}),this._setCommon(n,s,!!this._incremental,l)},i._setCommon=function(a,s,l,n){var u=s.hostModel;n=n||{};var t=s.getVisual("symbolSize");a.setShape("size",t instanceof Array?t:[t,t]),a.softClipShape=n.clipShape||null,a.symbolProxy=g(s.getVisual("symbol"),0,0,0,0),a.setColor=a.symbolProxy.setColor;var c=a.shape.size[0]<v;a.useStyle(u.getModel("itemStyle").getItemStyle(c?["color","shadowBlur","shadowColor"]:["color"]));var o=s.getVisual("color");o&&a.setColor(o),l||(a.seriesIndex=u.seriesIndex,a.on("mousemove",function(h){a.dataIndex=null;var A=a.findDataIndex(h.offsetX,h.offsetY);A>=0&&(a.dataIndex=A+(a.startIndex||0))}))},i.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},i._clearIncremental=function(){var a=this._incremental;a&&a.clearDisplaybles()};var r=f;J.exports=r},ycre:function(J,B,e){var d=e("711d"),x=d("length");J.exports=x},ygfH:function(J,B,e){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};B.default=d},yik8:function(J,B,e){var d=e("bZqE"),x=d.eachAfter,g=d.eachBefore,p=e("Itpr"),v=p.init,b=p.firstWalk,f=p.secondWalk,i=p.separation,r=p.radialCoordinate,a=p.getViewRect;function s(n,u){n.eachSeriesByType("tree",function(t){l(t,u)})}function l(n,u){var t=a(n,u);n.layoutInfo=t;var c=n.get("layout"),o=0,h=0,A=null;c==="radial"?(o=2*Math.PI,h=Math.min(t.height,t.width)/2,A=i(function(U,M){return(U.parentNode===M.parentNode?1:2)/U.depth})):(o=t.width,h=t.height,A=i());var y=n.getData().tree.root,O=y.children[0];if(O){v(y),x(O,b,A),y.hierNode.modifier=-O.hierNode.prelim,g(O,f);var S=O,E=O,C=O;g(O,function(U){var M=U.getLayout().x;M<S.getLayout().x&&(S=U),M>E.getLayout().x&&(E=U),U.depth>C.depth&&(C=U)});var T=S===E?1:A(S,E)/2,w=T-S.getLayout().x,L=0,N=0,D=0,F=0;if(c==="radial")L=o/(E.getLayout().x+T+w),N=h/(C.depth-1||1),g(O,function(U){D=(U.getLayout().x+w)*L,F=(U.depth-1)*N;var M=r(D,F);U.setLayout({x:M.x,y:M.y,rawX:D,rawY:F},!0)});else{var R=n.getOrient();R==="RL"||R==="LR"?(N=h/(E.getLayout().x+T+w),L=o/(C.depth-1||1),g(O,function(U){F=(U.getLayout().x+w)*N,D=R==="LR"?(U.depth-1)*L:o-(U.depth-1)*L,U.setLayout({x:D,y:F},!0)})):(R==="TB"||R==="BT")&&(L=o/(E.getLayout().x+T+w),N=h/(C.depth-1||1),g(O,function(U){D=(U.getLayout().x+w)*L,F=R==="TB"?(U.depth-1)*N:h-(U.depth-1)*N,U.setLayout({x:D,y:F},!0)}))}}}J.exports=s},ynwM:function(J,B,e){var d=e("MFOe"),x=d.Global;J.exports={name:"oldFF-globalStorage",read:p,write:v,each:b,remove:f,clearAll:i};var g=x.globalStorage;function p(r){return g[r]}function v(r,a){g[r]=a}function b(r){for(var a=g.length-1;a>=0;a--){var s=g.key(a);r(g[s],s)}}function f(r){return g.removeItem(r)}function i(){b(function(r,a){delete g[r]})}},ypgQ:function(J,B,e){var d=e("bYtY"),x=e("4NO4"),g=e("bLfw"),p=d.each,v=d.clone,b=d.map,f=d.merge,i=/^(min|max)?(.+)$/;function r(c){this._api=c,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}r.prototype={constructor:r,setOption:function(c,o){c&&d.each(x.normalizeToArray(c.series),function(y){y&&y.data&&d.isTypedArray(y.data)&&d.setAsPrimitive(y.data)}),c=v(c);var h=this._optionBackup,A=a.call(this,c,o,!h);this._newBaseOption=A.baseOption,h?(u(h.baseOption,A.baseOption),A.timelineOptions.length&&(h.timelineOptions=A.timelineOptions),A.mediaList.length&&(h.mediaList=A.mediaList),A.mediaDefault&&(h.mediaDefault=A.mediaDefault)):this._optionBackup=A},mountOption:function(c){var o=this._optionBackup;return this._timelineOptions=b(o.timelineOptions,v),this._mediaList=b(o.mediaList,v),this._mediaDefault=v(o.mediaDefault),this._currentMediaIndices=[],v(c?o.baseOption:this._newBaseOption)},getTimelineOption:function(c){var o,h=this._timelineOptions;if(h.length){var A=c.getComponent("timeline");A&&(o=v(h[A.getCurrentIndex()],!0))}return o},getMediaOption:function(c){var o=this._api.getWidth(),h=this._api.getHeight(),A=this._mediaList,y=this._mediaDefault,O=[],S=[];if(!A.length&&!y)return S;for(var E=0,C=A.length;E<C;E++)s(A[E].query,o,h)&&O.push(E);return!O.length&&y&&(O=[-1]),O.length&&!n(O,this._currentMediaIndices)&&(S=b(O,function(T){return v(T===-1?y.option:A[T].option)})),this._currentMediaIndices=O,S}};function a(c,o,h){var A=[],y=[],O,S,E=c.timeline;if(c.baseOption&&(S=c.baseOption),(E||c.options)&&(S=S||{},A=(c.options||[]).slice()),c.media){S=S||{};var C=c.media;p(C,function(T){T&&T.option&&(T.query?y.push(T):O||(O=T))})}return S||(S=c),S.timeline||(S.timeline=E),p([S].concat(A).concat(d.map(y,function(T){return T.option})),function(T){p(o,function(w){w(T,h)})}),{baseOption:S,timelineOptions:A,mediaDefault:O,mediaList:y}}function s(c,o,h){var A={width:o,height:h,aspectratio:o/h},y=!0;return d.each(c,function(O,S){var E=S.match(i);if(!E||!E[1]||!E[2])return;var C=E[1],T=E[2].toLowerCase();l(A[T],O,C)||(y=!1)}),y}function l(c,o,h){return h==="min"?c>=o:h==="max"?c<=o:c===o}function n(c,o){return c.join(",")===o.join(",")}function u(c,o){o=o||{},p(o,function(h,A){if(h==null)return;var y=c[A];if(!g.hasClass(A))c[A]=f(y,h,!0);else{h=x.normalizeToArray(h),y=x.normalizeToArray(y);var O=x.mappingToExists(y,h);c[A]=b(O,function(S){return S.option&&S.exist?f(S.exist,S.option,!0):S.exist||S.option})}})}var t=r;J.exports=t},yxFR:function(J,B,e){var d=e("y+Vt"),x=e("nPnh"),g=x.subPixelOptimizeLine,p={},v=d.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(f,i){var r,a,s,l;this.subPixelOptimize?(g(p,i,this.style),r=p.x1,a=p.y1,s=p.x2,l=p.y2):(r=i.x1,a=i.y1,s=i.x2,l=i.y2);var n=i.percent;if(n===0)return;f.moveTo(r,a),n<1&&(s=r*(1-n)+s*n,l=a*(1-n)+l*n),f.lineTo(s,l)},pointAt:function(f){var i=this.shape;return[i.x1*(1-f)+i.x2*f,i.y1*(1-f)+i.y2*f]}});J.exports=v},z35g:function(J,B,e){var d=e("bYtY");function x(v){return this._axes[v]}var g=function(v){this._axes={},this._dimList=[],this.name=v||""};g.prototype={constructor:g,type:"cartesian",getAxis:function(v){return this._axes[v]},getAxes:function(){return d.map(this._dimList,x,this)},getAxesByScale:function(v){return v=v.toLowerCase(),d.filter(this.getAxes(),function(b){return b.scale.type===v})},addAxis:function(v){var b=v.dim;this._axes[b]=v,this._dimList.push(b)},dataToCoord:function(v){return this._dataCoordConvert(v,"dataToCoord")},coordToData:function(v){return this._dataCoordConvert(v,"coordToData")},_dataCoordConvert:function(v,b){for(var f=this._dimList,i=v instanceof Array?[]:{},r=0;r<f.length;r++){var a=f[r],s=this._axes[a];i[a]=s[b](v[a])}return i}};var p=g;J.exports=p},zAh6:function(J,B,e){"use strict";e.d(B,"a",function(){return v});var d=e("xEkU"),x=e.n(d),g=e("i6bk");function p(b,f,i,r){var a=i-f;return b/=r/2,b<1?a/2*b*b*b+f:a/2*((b-=2)*b*b+2)+f}function v(b){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=f.getContainer,r=i===void 0?function(){return window}:i,a=f.callback,s=f.duration,l=s===void 0?450:s,n=r(),u=Object(g.a)(n,!0),t=Date.now(),c=function o(){var h=Date.now(),A=h-t,y=p(A>l?l:A,u,b,l);Object(g.b)(n)?n.scrollTo(window.pageXOffset,y):n instanceof HTMLDocument||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=y:n.scrollTop=y,A<l?x()(o):typeof a=="function"&&a()};x()(c)}},zDms:function(J,B,e){var d=e("bYtY"),x=e("OELB"),g=e("UOVi"),p=e("72pK"),v=d.each,b=x.asc,f=function(n,u,t,c){this._dimName=n,this._axisIndex=u,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=c,this._dataZoomModel=t};f.prototype={constructor:f,hostedBy:function(n){return this._dataZoomModel===n},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var n=[],u=this.ecModel;return u.eachSeries(function(t){if(g.isCoordSupported(t.get("coordinateSystem"))){var c=this._dimName,o=u.queryComponents({mainType:c+"Axis",index:t.get(c+"AxisIndex"),id:t.get(c+"AxisId")})[0];this._axisIndex===(o&&o.componentIndex)&&n.push(t)}},this),n},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var n=this._dimName,u=this.ecModel,t=this.getAxisModel(),c=n==="x"||n==="y",o,h;c?(h="gridIndex",o=n==="x"?"y":"x"):(h="polarIndex",o=n==="angle"?"radius":"angle");var A;return u.eachComponent(o+"Axis",function(y){(y.get(h)||0)===(t.get(h)||0)&&(A=y)}),A},getMinMaxSpan:function(){return d.clone(this._minMaxSpan)},calculateDataWindow:function(n){var u=this._dataExtent,t=this.getAxisModel(),c=t.axis.scale,o=this._dataZoomModel.getRangePropMode(),h=[0,100],A=[],y=[],O;v(["start","end"],function(C,T){var w=n[C],L=n[C+"Value"];o[T]==="percent"?(w==null&&(w=h[T]),L=c.parse(x.linearMap(w,h,u))):(O=!0,L=L==null?u[T]:c.parse(L),w=x.linearMap(L,u,h)),y[T]=L,A[T]=w}),b(y),b(A);var S=this._minMaxSpan;O?E(y,A,u,h,!1):E(A,y,h,u,!0);function E(C,T,w,L,N){var D=N?"Span":"ValueSpan";p(0,C,w,"all",S["min"+D],S["max"+D]);for(var F=0;F<2;F++)T[F]=x.linearMap(C[F],w,L,!0),N&&(T[F]=c.parse(T[F]))}return{valueWindow:y,percentWindow:A}},reset:function(n){if(n!==this._dataZoomModel)return;var u=this.getTargetSeriesModels();this._dataExtent=i(this,this._dimName,u),s(this);var t=this.calculateDataWindow(n.settledOption);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,a(this)},restore:function(n){if(n!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,a(this,!0)},filterData:function(n,u){if(n!==this._dataZoomModel)return;var t=this._dimName,c=this.getTargetSeriesModels(),o=n.get("filterMode"),h=this._valueWindow;if(o==="none")return;v(c,function(y){var O=y.getData(),S=O.mapDimension(t,!0);if(!S.length)return;o==="weakFilter"?O.filterSelf(function(E){for(var C,T,w,L=0;L<S.length;L++){var N=O.get(S[L],E),D=!isNaN(N),F=N<h[0],R=N>h[1];if(D&&!F&&!R)return!0;D&&(w=!0),F&&(C=!0),R&&(T=!0)}return w&&C&&T}):v(S,function(E){if(o==="empty")y.setData(O=O.map(E,function(T){return A(T)?T:NaN}));else{var C={};C[E]=h,O.selectRange(C)}}),v(S,function(E){O.setApproximateExtent(h,E)})});function A(y){return y>=h[0]&&y<=h[1]}}};function i(n,u,t){var c=[Infinity,-Infinity];return v(t,function(o){var h=o.getData();h&&v(h.mapDimension(u,!0),function(A){var y=h.getApproximateExtent(A);y[0]<c[0]&&(c[0]=y[0]),y[1]>c[1]&&(c[1]=y[1])})}),c[1]<c[0]&&(c=[NaN,NaN]),r(n,c),c}function r(n,u){var t=n.getAxisModel(),c=t.getMin(!0),o=t.get("type")==="category",h=o&&t.getCategories().length;c!=null&&c!=="dataMin"&&typeof c!="function"?u[0]=c:o&&(u[0]=h>0?0:NaN);var A=t.getMax(!0);return A!=null&&A!=="dataMax"&&typeof A!="function"?u[1]=A:o&&(u[1]=h>0?h-1:NaN),t.get("scale",!0)||(u[0]>0&&(u[0]=0),u[1]<0&&(u[1]=0)),u}function a(n,u){var t=n.getAxisModel(),c=n._percentWindow,o=n._valueWindow;if(!c)return;var h=x.getPixelPrecision(o,[0,500]);h=Math.min(h,20);var A=u||c[0]===0&&c[1]===100;t.setRange(A?null:+o[0].toFixed(h),A?null:+o[1].toFixed(h))}function s(n){var u=n._minMaxSpan={},t=n._dataZoomModel,c=n._dataExtent;v(["min","max"],function(o){var h=t.get(o+"Span"),A=t.get(o+"ValueSpan");A!=null&&(A=n.getAxisModel().axis.scale.parse(A)),A!=null?h=x.linearMap(c[0]+A,c,[0,100],!0):h!=null&&(A=x.linearMap(h,[0,100],c,!0)-c[0]),u[o+"Span"]=h,u[o+"ValueSpan"]=A})}var l=f;J.exports=l},zM3Q:function(J,B,e){var d=e("4NO4"),x=d.makeInner;function g(){var p=x();return function(v){var b=p(v),f=v.pipelineContext,i=b.large,r=b.progressiveRender,a=b.large=f&&f.large,s=b.progressiveRender=f&&f.progressiveRender;return!!(i^a||r^s)&&"reset"}}J.exports=g},zRKj:function(J,B,e){e("Ae16"),e("Sp2Z"),e("y4/Y")},zTMp:function(J,B,e){var d=e("bYtY"),x=e("Qxkt"),g=d.each,p=d.curry;function v(c,o){var h={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return b(h,c,o),h.seriesInvolved&&i(h,c),h}function b(c,o,h){var A=o.getComponent("tooltip"),y=o.getComponent("axisPointer"),O=y.get("link",!0)||[],S=[];g(h.getCoordinateSystems(),function(E){if(!E.axisPointerEnabled)return;var C=t(E.model),T=c.coordSysAxesInfo[C]={};c.coordSysMap[C]=E;var w=E.model,L=w.getModel("tooltip",A);if(g(E.getAxes(),p(R,!1,null)),E.getTooltipAxes&&A&&L.get("show")){var N=L.get("trigger")==="axis",D=L.get("axisPointer.type")==="cross",F=E.getTooltipAxes(L.get("axisPointer.axis"));(N||D)&&g(F.baseAxes,p(R,D?"cross":!0,N)),D&&g(F.otherAxes,p(R,"cross",!1))}function R(U,M,j){var P=j.model.getModel("axisPointer",y),K=P.get("show");if(!K||K==="auto"&&!U&&!u(P))return;M==null&&(M=P.get("triggerTooltip")),P=U?f(j,L,y,o,U,M):P;var H=P.get("snap"),_=t(j.model),Z=M||H||j.type==="category",Y=c.axesInfo[_]={key:_,axis:j,coordSys:E,axisPointerModel:P,triggerTooltip:M,involveSeries:Z,snap:H,useHandle:u(P),seriesModels:[]};T[_]=Y,c.seriesInvolved|=Z;var k=r(O,j);if(k!=null){var Q=S[k]||(S[k]={axesInfo:{}});Q.axesInfo[_]=Y,Q.mapper=O[k].mapper,Y.linkGroup=Q}}})}function f(c,o,h,A,y,O){var S=o.getModel("axisPointer"),E={};g(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(L){E[L]=d.clone(S.get(L))}),E.snap=c.type!=="category"&&!!O,S.get("type")==="cross"&&(E.type="line");var C=E.label||(E.label={});if(C.show==null&&(C.show=!1),y==="cross"){var T=S.get("label.show");if(C.show=T!=null?T:!0,!O){var w=E.lineStyle=S.get("crossStyle");w&&d.defaults(C,w.textStyle)}}return c.model.getModel("axisPointer",new x(E,h,A))}function i(c,o){o.eachSeries(function(h){var A=h.coordinateSystem,y=h.get("tooltip.trigger",!0),O=h.get("tooltip.show",!0);if(!A||y==="none"||y===!1||y==="item"||O===!1||h.get("axisPointer.show",!0)===!1)return;g(c.coordSysAxesInfo[t(A.model)],function(S){var E=S.axis;A.getAxis(E.dim)===E&&(S.seriesModels.push(h),S.seriesDataCount==null&&(S.seriesDataCount=0),S.seriesDataCount+=h.getData().count())})},this)}function r(c,o){for(var h=o.model,A=o.dim,y=0;y<c.length;y++){var O=c[y]||{};if(a(O[A+"AxisId"],h.id)||a(O[A+"AxisIndex"],h.componentIndex)||a(O[A+"AxisName"],h.name))return y}}function a(c,o){return c==="all"||d.isArray(c)&&d.indexOf(c,o)>=0||c===o}function s(c){var o=l(c);if(!o)return;var h=o.axisPointerModel,A=o.axis.scale,y=h.option,O=h.get("status"),S=h.get("value");S!=null&&(S=A.parse(S));var E=u(h);O==null&&(y.status=E?"show":"hide");var C=A.getExtent().slice();C[0]>C[1]&&C.reverse(),(S==null||S>C[1])&&(S=C[1]),S<C[0]&&(S=C[0]),y.value=S,E&&(y.status=o.axis.scale.isBlank()?"hide":"show")}function l(c){var o=(c.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return o&&o.axesInfo[t(c)]}function n(c){var o=l(c);return o&&o.axisPointerModel}function u(c){return!!c.get("handle.show")}function t(c){return c.type+"||"+c.id}B.collect=v,B.fixValue=s,B.getAxisInfo=l,B.getAxisPointerModel=n,B.makeKey=t},zYTA:function(J,B,e){var d=e("bYtY"),x=256;function g(){var v=d.createCanvas();this.canvas=v,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}g.prototype={update:function(v,b,f,i,r,a){var s=this._getBrush(),l=this._getGradient(v,r,"inRange"),n=this._getGradient(v,r,"outOfRange"),u=this.pointSize+this.blurSize,t=this.canvas,c=t.getContext("2d"),o=v.length;t.width=b,t.height=f;for(var h=0;h<o;++h){var A=v[h],y=A[0],O=A[1],S=A[2],E=i(S);c.globalAlpha=E,c.drawImage(s,y-u,O-u)}if(!t.width||!t.height)return t;for(var C=c.getImageData(0,0,t.width,t.height),T=C.data,w=0,L=T.length,N=this.minOpacity,D=this.maxOpacity,F=D-N;w<L;){var E=T[w+3]/256,R=Math.floor(E*(x-1))*4;if(E>0){var U=a(E)?l:n;E>0&&(E=E*F+N),T[w++]=U[R],T[w++]=U[R+1],T[w++]=U[R+2],T[w++]=U[R+3]*E*256}else w+=4}return c.putImageData(C,0,0),t},_getBrush:function(){var v=this._brushCanvas||(this._brushCanvas=d.createCanvas()),b=this.pointSize+this.blurSize,f=b*2;v.width=f,v.height=f;var i=v.getContext("2d");return i.clearRect(0,0,f,f),i.shadowOffsetX=f,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-b,b,this.pointSize,0,Math.PI*2,!0),i.closePath(),i.fill(),v},_getGradient:function(v,b,f){for(var i=this._gradientPixels,r=i[f]||(i[f]=new Uint8ClampedArray(256*4)),a=[0,0,0,0],s=0,l=0;l<256;l++)b[f](l/255,!0,a),r[s++]=a[0],r[s++]=a[1],r[s++]=a[2],r[s++]=a[3];return r}};var p=g;J.exports=p},zarK:function(J,B,e){var d=e("YH21"),x=d.addEventListener,g=d.removeEventListener,p=d.normalizeEvent,v=d.getNativeEvent,b=e("bYtY"),f=e("H6uX"),i=e("ItGF"),r=300,a=i.domSupported,s=function(){var U=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],M=["touchstart","touchend","touchmove"],j={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},P=b.map(U,function(K){var H=K.replace("mouse","pointer");return j.hasOwnProperty(H)?H:K});return{mouse:U,touch:M,pointer:P}}(),l={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function n(U){return U==="mousewheel"&&i.browser.firefox?"DOMMouseScroll":U}function u(U){var M=U.pointerType;return M==="pen"||M==="touch"}function t(U){U.touching=!0,U.touchTimer!=null&&(clearTimeout(U.touchTimer),U.touchTimer=null),U.touchTimer=setTimeout(function(){U.touching=!1,U.touchTimer=null},700)}function c(U){U&&(U.zrByTouch=!0)}function o(U,M){return p(U.dom,new A(U,M),!0)}function h(U,M){for(var j=M,P=!1;j&&j.nodeType!==9&&!(P=j.domBelongToZr||j!==M&&j===U.painterRoot);)j=j.parentNode;return P}function A(U,M){this.type=M.type,this.target=this.currentTarget=U.dom,this.pointerType=M.pointerType,this.clientX=M.clientX,this.clientY=M.clientY}var y=A.prototype;y.stopPropagation=y.stopImmediatePropagation=y.preventDefault=b.noop;var O={mousedown:function(M){M=p(this.dom,M),this._mayPointerCapture=[M.zrX,M.zrY],this.trigger("mousedown",M)},mousemove:function(M){M=p(this.dom,M);var j=this._mayPointerCapture;j&&(M.zrX!==j[0]||M.zrY!==j[1])&&L(this,!0),this.trigger("mousemove",M)},mouseup:function(M){M=p(this.dom,M),L(this,!1),this.trigger("mouseup",M)},mouseout:function(M){M=p(this.dom,M),this._pointerCapturing&&(M.zrEventControl="no_globalout");var j=M.toElement||M.relatedTarget;M.zrIsToLocalDOM=h(this,j),this.trigger("mouseout",M)},touchstart:function(M){M=p(this.dom,M),c(M),this._lastTouchMoment=new Date,this.handler.processGesture(M,"start"),O.mousemove.call(this,M),O.mousedown.call(this,M)},touchmove:function(M){M=p(this.dom,M),c(M),this.handler.processGesture(M,"change"),O.mousemove.call(this,M)},touchend:function(M){M=p(this.dom,M),c(M),this.handler.processGesture(M,"end"),O.mouseup.call(this,M),+new Date-this._lastTouchMoment<r&&O.click.call(this,M)},pointerdown:function(M){O.mousedown.call(this,M)},pointermove:function(M){u(M)||O.mousemove.call(this,M)},pointerup:function(M){O.mouseup.call(this,M)},pointerout:function(M){u(M)||O.mouseout.call(this,M)}};b.each(["click","mousewheel","dblclick","contextmenu"],function(U){O[U]=function(M){M=p(this.dom,M),this.trigger(U,M)}});var S={pointermove:function(M){u(M)||S.mousemove.call(this,M)},pointerup:function(M){S.mouseup.call(this,M)},mousemove:function(M){this.trigger("mousemove",M)},mouseup:function(M){var j=this._pointerCapturing;L(this,!1),this.trigger("mouseup",M),j&&(M.zrEventControl="only_globalout",this.trigger("mouseout",M))}};function E(U,M){var j=M.domHandlers;i.pointerEventsSupported?b.each(s.pointer,function(P){T(M,P,function(K){j[P].call(U,K)})}):(i.touchEventsSupported&&b.each(s.touch,function(P){T(M,P,function(K){j[P].call(U,K),t(M)})}),b.each(s.mouse,function(P){T(M,P,function(K){K=v(K),M.touching||j[P].call(U,K)})}))}function C(U,M){i.pointerEventsSupported?b.each(l.pointer,j):i.touchEventsSupported||b.each(l.mouse,j);function j(P){function K(H){H=v(H),h(U,H.target)||(H=o(U,H),M.domHandlers[P].call(U,H))}T(M,P,K,{capture:!0})}}function T(U,M,j,P){U.mounted[M]=j,U.listenerOpts[M]=P,x(U.domTarget,n(M),j,P)}function w(U){var M=U.mounted;for(var j in M)M.hasOwnProperty(j)&&g(U.domTarget,n(j),M[j],U.listenerOpts[j]);U.mounted={}}function L(U,M){if(U._mayPointerCapture=null,a&&U._pointerCapturing^M){U._pointerCapturing=M;var j=U._globalHandlerScope;M?C(U,j):w(j)}}function N(U,M){this.domTarget=U,this.domHandlers=M,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function D(U,M){f.call(this),this.dom=U,this.painterRoot=M,this._localHandlerScope=new N(U,O),a&&(this._globalHandlerScope=new N(document,S)),this._pointerCapturing=!1,this._mayPointerCapture=null,E(this,this._localHandlerScope)}var F=D.prototype;F.dispose=function(){w(this._localHandlerScope),a&&w(this._globalHandlerScope)},F.setCursor=function(U){this.dom.style&&(this.dom.style.cursor=U||"default")},b.mixin(D,f);var R=D;J.exports=R},zdCA:function(J,B,e){"use strict";var d=e("TqRt"),x=e("284h");Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var g=x(e("q1tI")),p=d(e("PSzr")),v=d(e("KQxl")),b=function(r,a){return g.createElement(v.default,Object.assign({},r,{ref:a,icon:p.default}))};b.displayName="BarsOutlined";var f=g.forwardRef(b);B.default=f},zeV3:function(J,B,e){"use strict";var d=e("pVnL"),x=e.n(d),g=e("lSNA"),p=e.n(g),v=e("q1tI"),b=e.n(v),f=e("TSYQ"),i=e.n(f),r=e("H84U"),a=function(n,u){var t={};for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&u.indexOf(c)<0&&(t[c]=n[c]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,c=Object.getOwnPropertySymbols(n);o<c.length;o++)u.indexOf(c[o])<0&&Object.prototype.propertyIsEnumerable.call(n,c[o])&&(t[c[o]]=n[c[o]]);return t},s={small:8,middle:16,large:24},l=function(u){var t,c=v.useContext(r.b),o=c.getPrefixCls,h=c.space,A=c.direction,y=u.size,O=y===void 0?(h==null?void 0:h.size)||"small":y,S=u.align,E=u.className,C=u.children,T=u.direction,w=T===void 0?"horizontal":T,L=u.prefixCls,N=a(u,["size","align","className","children","direction","prefixCls"]),D=v.Children.count(C);if(D===0)return null;var F=S===void 0&&w==="horizontal"?"center":S,R=o("space",L),U=i()(R,"".concat(R,"-").concat(w),(t={},p()(t,"".concat(R,"-rtl"),A==="rtl"),p()(t,"".concat(R,"-align-").concat(F),F),t),E),M="".concat(R,"-item"),j=A==="rtl"?"marginLeft":"marginRight";return v.createElement("div",x()({className:U},N),v.Children.map(C,function(P,K){return v.createElement("div",{className:M,key:"".concat(M,"-").concat(K),style:K===D-1||P===null||P===void 0?{}:p()({},w==="vertical"?"marginBottom":j,typeof O=="string"?s[O]:O)},P)}))};B.a=l},zoYe:function(J,B,e){var d=e("nmnc"),x=e("eUgh"),g=e("Z0cm"),p=e("/9aa"),v=1/0,b=d?d.prototype:void 0,f=b?b.toString:void 0;function i(r){if(typeof r=="string")return r;if(g(r))return x(r,i)+"";if(p(r))return f?f.call(r):"";var a=r+"";return a=="0"&&1/r==-v?"-0":a}J.exports=i},zs7G:function(J,B,e){"use strict";var d=e("q1tI"),x={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"},g=x,p=e("6VBw"),v=function(i,r){return d.createElement(p.a,Object.assign({},i,{ref:r,icon:g}))};v.displayName="DoubleRightOutlined";var b=B.a=d.forwardRef(v)},zuHt:function(J,B,e){var d=e("bYtY");function x(g){var p={};g.eachSeriesByType("map",function(v){var b=v.getMapType();if(v.getHostGeoModel()||p[b])return;var f={};d.each(v.seriesGroup,function(r){var a=r.coordinateSystem,s=r.originalData;r.get("showLegendSymbol")&&g.getComponent("legend")&&s.each(s.mapDimension("value"),function(l,n){var u=s.getName(n),t=a.getRegion(u);if(!t||isNaN(l))return;var c=f[u]||0,o=a.dataToPoint(t.center);f[u]=c+1,s.setItemLayout(n,{point:o,offset:c})})});var i=v.getData();i.each(function(r){var a=i.getName(r),s=i.getItemLayout(r)||{};s.showLabel=!f[a],i.setItemLayout(r,s)}),p[b]=!0})}J.exports=x}}]);
|