@rsdoctor/client 1.3.7 → 1.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/diff.html +1 -1
- package/dist/index.html +1 -1
- package/dist/resource/js/205.9c1c308a.js +2 -0
- package/dist/resource/js/{682.652df2a0.js → 682.ad96e5a1.js} +1 -1
- package/dist/resource/js/diff.972c8afa.js +81 -0
- package/dist/resource/js/index.1c12c054.js +81 -0
- package/dist/resource/js/{react.93256790.js → react.5d8fd297.js} +1 -1
- package/dist/resource/js/{vender.e233236e.js → vender.8fa54b46.js} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/resource/js/410.a54d7b65.js +0 -2
- package/dist/resource/js/diff.5a62bbb0.js +0 -81
- package/dist/resource/js/index.e56057d5.js +0 -81
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["205"],{29607:function(t,e,n){"use strict";n.r(e),n.d(e,{limeDark:()=>P,cyanDark:()=>B,grey:()=>T,green:()=>x,presetPalettes:()=>O,goldDark:()=>R,blueDark:()=>F,greyDark:()=>V,greenDark:()=>N,lime:()=>b,geekblueDark:()=>j,presetDarkPalettes:()=>U,gray:()=>C,red:()=>g,cyan:()=>w,purpleDark:()=>z,yellow:()=>_,yellowDark:()=>L,magentaDark:()=>H,orangeDark:()=>D,volcano:()=>y,gold:()=>m,purple:()=>M,orange:()=>v,generate:()=>d,magenta:()=>k,volcanoDark:()=>E,redDark:()=>I,blue:()=>S,geekblue:()=>A,presetPrimaryColors:()=>p});var r=n(24412);let i=Math.round;function o(t,e){let n=t.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(t=>parseFloat(t));for(let t=0;t<3;t+=1)r[t]=e(r[t]||0,n[t]||"",t);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let a=(t,e,n)=>0===n?t:t/100;function s(t,e){let n=e||255;return t>n?n:t<0?0:t}class l{constructor(t){function e(e){return e[0]in t&&e[1]in t&&e[2]in t}if((0,r.A)(this,"isValid",!0),(0,r.A)(this,"r",0),(0,r.A)(this,"g",0),(0,r.A)(this,"b",0),(0,r.A)(this,"a",1),(0,r.A)(this,"_h",void 0),(0,r.A)(this,"_s",void 0),(0,r.A)(this,"_l",void 0),(0,r.A)(this,"_v",void 0),(0,r.A)(this,"_max",void 0),(0,r.A)(this,"_min",void 0),(0,r.A)(this,"_brightness",void 0),t)if("string"==typeof t){const e=t.trim();function n(t){return e.startsWith(t)}/^#?[A-F\d]{3,8}$/i.test(e)?this.fromHexString(e):n("rgb")?this.fromRgbString(e):n("hsl")?this.fromHslString(e):(n("hsv")||n("hsb"))&&this.fromHsvString(e)}else if(t instanceof l)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(e("rgb"))this.r=s(t.r),this.g=s(t.g),this.b=s(t.b),this.a="number"==typeof t.a?s(t.a,1):1;else if(e("hsl"))this.fromHsl(t);else if(e("hsv"))this.fromHsv(t);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){let e=this.toHsv();return e.h=t,this._c(e)}getLuminance(){function t(t){let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}return .2126*t(this.r)+.7152*t(this.g)+.0722*t(this.b)}getHue(){if(void 0===this._h){let t=this.getMax()-this.getMin();0===t?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/t+6*(this.g<this.b):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(void 0===this._s){let t=this.getMax()-this.getMin();0===t?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(t=10){let e=this.getHue(),n=this.getSaturation(),r=this.getLightness()-t/100;return r<0&&(r=0),this._c({h:e,s:n,l:r,a:this.a})}lighten(t=10){let e=this.getHue(),n=this.getSaturation(),r=this.getLightness()+t/100;return r>1&&(r=1),this._c({h:e,s:n,l:r,a:this.a})}mix(t,e=50){let n=this._c(t),r=e/100,o=t=>(n[t]-this[t])*r+this[t],a={r:i(o("r")),g:i(o("g")),b:i(o("b")),a:i(100*o("a"))/100};return this._c(a)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){let e=this._c(t),n=this.a+e.a*(1-this.a),r=t=>i((this[t]*this.a+e[t]*e.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#",e=(this.r||0).toString(16);t+=2===e.length?e:"0"+e;let n=(this.g||0).toString(16);t+=2===n.length?n:"0"+n;let r=(this.b||0).toString(16);if(t+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let e=i(255*this.a).toString(16);t+=2===e.length?e:"0"+e}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let t=this.getHue(),e=i(100*this.getSaturation()),n=i(100*this.getLightness());return 1!==this.a?`hsla(${t},${e}%,${n}%,${this.a})`:`hsl(${t},${e}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,e,n){let r=this.clone();return r[t]=s(e,n),r}_c(t){return new this.constructor(t)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){let e=t.replace("#","");function n(t,n){return parseInt(e[t]+e[n||t],16)}e.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=e[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=e[6]?n(6,7)/255:1)}fromHsl({h:t,s:e,l:n,a:r}){if(this._h=t%360,this._s=e,this._l=n,this.a="number"==typeof r?r:1,e<=0){let t=i(255*n);this.r=t,this.g=t,this.b=t}let o=0,a=0,s=0,l=t/60,u=(1-Math.abs(2*n-1))*e,c=u*(1-Math.abs(l%2-1));l>=0&&l<1?(o=u,a=c):l>=1&&l<2?(o=c,a=u):l>=2&&l<3?(a=u,s=c):l>=3&&l<4?(a=c,s=u):l>=4&&l<5?(o=c,s=u):l>=5&&l<6&&(o=u,s=c);let h=n-u/2;this.r=i((o+h)*255),this.g=i((a+h)*255),this.b=i((s+h)*255)}fromHsv({h:t,s:e,v:n,a:r}){this._h=t%360,this._s=e,this._v=n,this.a="number"==typeof r?r:1;let o=i(255*n);if(this.r=o,this.g=o,this.b=o,e<=0)return;let a=t/60,s=Math.floor(a),l=a-s,u=i(n*(1-e)*255),c=i(n*(1-e*l)*255),h=i(n*(1-e*(1-l))*255);switch(s){case 0:this.g=h,this.b=u;break;case 1:this.r=c,this.b=u;break;case 2:this.r=u,this.b=h;break;case 3:this.r=u,this.g=c;break;case 4:this.r=h,this.g=u;break;default:this.g=u,this.b=c}}fromHsvString(t){let e=o(t,a);this.fromHsv({h:e[0],s:e[1],v:e[2],a:e[3]})}fromHslString(t){let e=o(t,a);this.fromHsl({h:e[0],s:e[1],l:e[2],a:e[3]})}fromRgbString(t){let e=o(t,(t,e)=>e.includes("%")?i(t/100*255):t);this.r=e[0],this.g=e[1],this.b=e[2],this.a=e[3]}}var u=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function c(t,e,n){var r;return(r=Math.round(t.h)>=60&&240>=Math.round(t.h)?n?Math.round(t.h)-2*e:Math.round(t.h)+2*e:n?Math.round(t.h)+2*e:Math.round(t.h)-2*e)<0?r+=360:r>=360&&(r-=360),r}function h(t,e,n){var r;return 0===t.h&&0===t.s?t.s:((r=n?t.s-.16*e:4===e?t.s+.16:t.s+.05*e)>1&&(r=1),n&&5===e&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100)}function f(t,e,n){return Math.round(100*Math.max(0,Math.min(1,n?t.v+.05*e:t.v-.15*e)))/100}function d(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=new l(t),i=r.toHsv(),o=5;o>0;o-=1){var a=new l({h:c(i,o,!0),s:h(i,o,!0),v:f(i,o,!0)});n.push(a)}n.push(r);for(var s=1;s<=4;s+=1){var d=new l({h:c(i,s),s:h(i,s),v:f(i,s)});n.push(d)}return"dark"===e.theme?u.map(function(t){var r=t.index,i=t.amount;return new l(e.backgroundColor||"#141414").mix(n[r],i).toHexString()}):n.map(function(t){return t.toHexString()})}var p={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},g=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];g.primary=g[5];var y=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];y.primary=y[5];var v=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];v.primary=v[5];var m=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];m.primary=m[5];var _=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];_.primary=_[5];var b=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];b.primary=b[5];var x=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];x.primary=x[5];var w=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];w.primary=w[5];var S=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];S.primary=S[5];var A=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];A.primary=A[5];var M=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];M.primary=M[5];var k=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];k.primary=k[5];var T=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];T.primary=T[5];var C=T,O={red:g,volcano:y,orange:v,gold:m,yellow:_,lime:b,green:x,cyan:w,blue:S,geekblue:A,purple:M,magenta:k,grey:T},I=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];I.primary=I[5];var E=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];E.primary=E[5];var D=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];D.primary=D[5];var R=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];R.primary=R[5];var L=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];L.primary=L[5];var P=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];P.primary=P[5];var N=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];N.primary=N[5];var B=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];B.primary=B[5];var F=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];F.primary=F[5];var j=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];j.primary=j[5];var z=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];z.primary=z[5];var H=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];H.primary=H[5];var V=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];V.primary=V[5];var U={red:I,volcano:E,orange:D,gold:R,yellow:L,lime:P,green:N,cyan:B,blue:F,geekblue:j,purple:z,magenta:H,grey:V}},39254:function(t,e,n){"use strict";n.r(e),n.d(e,{unit:()=>tn,NaNLinter:()=>tZ,createCache:()=>A,legacyNotSelectorLinter:()=>tq,useCacheToken:()=>tg,legacyLogicalPropertiesTransformer:()=>eo,px2remTransformer:()=>es,Theme:()=>V,parentSelectorLinter:()=>tY,Keyframes:()=>ee,useStyleRegister:()=>t6,_experimental:()=>el,extractStyle:()=>et,createTheme:()=>W,getComputedToken:()=>td,logicalPropertiesLinter:()=>tG,StyleProvider:()=>k,useCSSVarRegister:()=>t8,genCalc:()=>F,token2CSSVar:()=>ti});var r,i,o=n(41183),a=n(24412),s=n(30997),l=n(27210);let u=function(t){for(var e,n=0,r=0,i=t.length;i>=4;++r,i-=4)e=(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))*0x5bd1e995+((e>>>16)*59797<<16),e^=e>>>24,n=(65535&e)*0x5bd1e995+((e>>>16)*59797<<16)^(65535&n)*0x5bd1e995+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n^=255&t.charCodeAt(r),n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)};var c=n(36283),h=n(22155),f=n.t(h,2),d=n(74900),p=n(4462),g=n(39184),y=n(25666),v=n(13012);function m(t){return t.join("%")}var _=function(){function t(e){(0,y.A)(this,t),(0,a.A)(this,"instanceId",void 0),(0,a.A)(this,"cache",new Map),this.instanceId=e}return(0,v.A)(t,[{key:"get",value:function(t){return this.opGet(m(t))}},{key:"opGet",value:function(t){return this.cache.get(t)||null}},{key:"update",value:function(t,e){return this.opUpdate(m(t),e)}},{key:"opUpdate",value:function(t,e){var n=e(this.cache.get(t));null===n?this.cache.delete(t):this.cache.set(t,n)}}]),t}(),b=["children"],x="data-token-hash",w="data-css-hash",S="__cssinjs_instance__";function A(){var t=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var e=document.body.querySelectorAll("style[".concat(w,"]"))||[],n=document.head.firstChild;Array.from(e).forEach(function(e){e[S]=e[S]||t,e[S]===t&&document.head.insertBefore(e,n)});var r={};Array.from(document.querySelectorAll("style[".concat(w,"]"))).forEach(function(e){var n,i=e.getAttribute(w);r[i]?e[S]===t&&(null==(n=e.parentNode)||n.removeChild(e)):r[i]=!0})}return new _(t)}var M=h.createContext({hashPriority:"low",cache:A(),defaultCache:!0}),k=function(t){var e=t.children,n=(0,d.A)(t,b),r=h.useContext(M),i=(0,p.A)(function(){var t=(0,l.A)({},r);Object.keys(n).forEach(function(e){var r=n[e];void 0!==n[e]&&(t[e]=r)});var e=n.cache;return t.cache=t.cache||A(),t.defaultCache=!e&&r.defaultCache,t},[r,n],function(t,e){return!(0,g.A)(t[0],e[0],!0)||!(0,g.A)(t[1],e[1],!0)});return h.createElement(M.Provider,{value:i},e)},T=n(60615),C=n(1568),O=n(87700),I=n(59746),E=n(8283),D=(0,v.A)(function t(){(0,y.A)(this,t)}),R="CALC_UNIT",L=RegExp(R,"g");function P(t){return"number"==typeof t?"".concat(t).concat(R):t}var N=function(t){(0,I.A)(n,t);var e=(0,E.A)(n);function n(t,r){(0,y.A)(this,n),i=e.call(this),(0,a.A)((0,O.A)(i),"result",""),(0,a.A)((0,O.A)(i),"unitlessCssVar",void 0),(0,a.A)((0,O.A)(i),"lowPriority",void 0);var i,o=(0,T.A)(t);return i.unitlessCssVar=r,t instanceof n?i.result="(".concat(t.result,")"):"number"===o?i.result=P(t):"string"===o&&(i.result=t),i}return(0,v.A)(n,[{key:"add",value:function(t){return t instanceof n?this.result="".concat(this.result," + ").concat(t.getResult()):("number"==typeof t||"string"==typeof t)&&(this.result="".concat(this.result," + ").concat(P(t))),this.lowPriority=!0,this}},{key:"sub",value:function(t){return t instanceof n?this.result="".concat(this.result," - ").concat(t.getResult()):("number"==typeof t||"string"==typeof t)&&(this.result="".concat(this.result," - ").concat(P(t))),this.lowPriority=!0,this}},{key:"mul",value:function(t){return this.lowPriority&&(this.result="(".concat(this.result,")")),t instanceof n?this.result="".concat(this.result," * ").concat(t.getResult(!0)):("number"==typeof t||"string"==typeof t)&&(this.result="".concat(this.result," * ").concat(t)),this.lowPriority=!1,this}},{key:"div",value:function(t){return this.lowPriority&&(this.result="(".concat(this.result,")")),t instanceof n?this.result="".concat(this.result," / ").concat(t.getResult(!0)):("number"==typeof t||"string"==typeof t)&&(this.result="".concat(this.result," / ").concat(t)),this.lowPriority=!1,this}},{key:"getResult",value:function(t){return this.lowPriority||t?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(t){var e=this,n=(t||{}).unit,r=!0;return("boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some(function(t){return e.result.includes(t)})&&(r=!1),this.result=this.result.replace(L,r?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),n}(D),B=function(t){(0,I.A)(n,t);var e=(0,E.A)(n);function n(t){var r;return(0,y.A)(this,n),r=e.call(this),(0,a.A)((0,O.A)(r),"result",0),t instanceof n?r.result=t.result:"number"==typeof t&&(r.result=t),r}return(0,v.A)(n,[{key:"add",value:function(t){return t instanceof n?this.result+=t.result:"number"==typeof t&&(this.result+=t),this}},{key:"sub",value:function(t){return t instanceof n?this.result-=t.result:"number"==typeof t&&(this.result-=t),this}},{key:"mul",value:function(t){return t instanceof n?this.result*=t.result:"number"==typeof t&&(this.result*=t),this}},{key:"div",value:function(t){return t instanceof n?this.result/=t.result:"number"==typeof t&&(this.result/=t),this}},{key:"equal",value:function(){return this.result}}]),n}(D);let F=function(t,e){var n="css"===t?N:B;return function(t){return new n(t,e)}};var j=function(){function t(){(0,y.A)(this,t),(0,a.A)(this,"cache",void 0),(0,a.A)(this,"keys",void 0),(0,a.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,v.A)(t,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={map:this.cache};return t.forEach(function(t){if(i){var e;i=null==(e=i)||null==(e=e.map)?void 0:e.get(t)}else i=void 0}),null!=(e=i)&&e.value&&r&&(i.value[1]=this.cacheCallTimes++),null==(n=i)?void 0:n.value}},{key:"get",value:function(t){var e;return null==(e=this.internalGet(t,!0))?void 0:e[0]}},{key:"has",value:function(t){return!!this.internalGet(t)}},{key:"set",value:function(e,n){var r=this;if(!this.has(e)){if(this.size()+1>t.MAX_CACHE_SIZE+t.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(t,e){var n=(0,o.A)(t,2)[1];return r.internalGet(e)[1]<n?[e,r.internalGet(e)[1]]:t},[this.keys[0],this.cacheCallTimes]),a=(0,o.A)(i,1)[0];this.delete(a)}this.keys.push(e)}var s=this.cache;e.forEach(function(t,i){if(i===e.length-1)s.set(t,{value:[n,r.cacheCallTimes++]});else{var o=s.get(t);o?o.map||(o.map=new Map):s.set(t,{map:new Map}),s=s.get(t).map}})}},{key:"deleteByPath",value:function(t,e){var n,r=t.get(e[0]);if(1===e.length)return r.map?t.set(e[0],{map:r.map}):t.delete(e[0]),null==(n=r.value)?void 0:n[0];var i=this.deleteByPath(r.map,e.slice(1));return r.map&&0!==r.map.size||r.value||t.delete(e[0]),i}},{key:"delete",value:function(t){if(this.has(t))return this.keys=this.keys.filter(function(e){return!function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(e,t)}),this.deleteByPath(this.cache,t)}}]),t}();(0,a.A)(j,"MAX_CACHE_SIZE",20),(0,a.A)(j,"MAX_CACHE_OFFSET",5);var z=n(76400),H=0,V=function(){function t(e){(0,y.A)(this,t),(0,a.A)(this,"derivatives",void 0),(0,a.A)(this,"id",void 0),this.derivatives=Array.isArray(e)?e:[e],this.id=H,0===e.length&&(0,z.$e)(e.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),H+=1}return(0,v.A)(t,[{key:"getDerivativeToken",value:function(t){return this.derivatives.reduce(function(e,n){return n(t,e)},void 0)}}]),t}(),U=new j;function W(t){var e=Array.isArray(t)?t:[t];return U.has(e)||U.set(e,new V(e)),U.get(e)}var q=new WeakMap,G={},Z=new WeakMap;function Y(t){var e=Z.get(t)||"";return e||(Object.keys(t).forEach(function(n){var r=t[n];e+=n,r instanceof V?e+=r.id:r&&"object"===(0,T.A)(r)?e+=Y(r):e+=r}),e=u(e),Z.set(t,e)),e}function $(t,e){return u("".concat(e,"_").concat(Y(t)))}var X="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),K="_bAmBoO_";function J(t,e,n){if((0,C.A)()){(0,c.BD)(t,X);var r,i,o=document.createElement("div");o.style.position="fixed",o.style.left="0",o.style.top="0",null==e||e(o),document.body.appendChild(o);var a=n?n(o):null==(r=getComputedStyle(o).content)?void 0:r.includes(K);return null==(i=o.parentNode)||i.removeChild(o),(0,c.m6)(X),a}return!1}var Q=void 0,tt=void 0,te=(0,C.A)();function tn(t){return"number"==typeof t?"".concat(t,"px"):t}function tr(t,e,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(o)return t;var s=(0,l.A)((0,l.A)({},i),{},(r={},(0,a.A)(r,x,e),(0,a.A)(r,w,n),r)),u=Object.keys(s).map(function(t){var e=s[t];return e?"".concat(t,'="').concat(e,'"'):null}).filter(function(t){return t}).join(" ");return"<style ".concat(u,">").concat(t,"</style>")}var ti=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(e?"".concat(e,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},to=function(t,e,n){var r,i={},a={};return Object.entries(t).forEach(function(t){var e=(0,o.A)(t,2),r=e[0],s=e[1];if(null!=n&&null!=(l=n.preserve)&&l[r])a[r]=s;else if(("string"==typeof s||"number"==typeof s)&&!(null!=n&&null!=(u=n.ignore)&&u[r])){var l,u,c,h=ti(r,null==n?void 0:n.prefix);i[h]="number"!=typeof s||null!=n&&null!=(c=n.unitless)&&c[r]?String(s):"".concat(s,"px"),a[r]="var(".concat(h,")")}}),[a,(r={scope:null==n?void 0:n.scope},Object.keys(i).length?".".concat(e).concat(null!=r&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(i).map(function(t){var e=(0,o.A)(t,2),n=e[0],r=e[1];return"".concat(n,":").concat(r,";")}).join(""),"}"):"")]},ta=n(57975),ts=(0,l.A)({},f).useInsertionEffect,tl=ts?function(t,e,n){return ts(function(){return t(),e()},n)}:function(t,e,n){h.useMemo(t,n),(0,ta.A)(function(){return e(!0)},n)},tu=void 0!==(0,l.A)({},f).useInsertionEffect?function(t){var e=[],n=!1;return h.useEffect(function(){return n=!1,function(){n=!0,e.length&&e.forEach(function(t){return t()})}},t),function(t){n||e.push(t)}}:function(){return function(t){t()}};function tc(t,e,n,r,i){var a=h.useContext(M).cache,l=m([t].concat((0,s.A)(e))),u=tu([l]),c=function(t){a.opUpdate(l,function(e){var r=(0,o.A)(e||[void 0,void 0],2),i=r[0],a=[void 0===i?0:i,r[1]||n()];return t?t(a):a})};h.useMemo(function(){c()},[l]);var f=a.opGet(l)[1];return tl(function(){null==i||i(f)},function(t){return c(function(e){var n=(0,o.A)(e,2),r=n[0],a=n[1];return t&&0===r&&(null==i||i(f)),[r+1,a]}),function(){a.opUpdate(l,function(e){var n=(0,o.A)(e||[],2),i=n[0],s=void 0===i?0:i,c=n[1];return 0==s-1?(u(function(){(t||!a.opGet(l))&&(null==r||r(c,!1))}),null):[s-1,c]})}},[l]),f}var th={},tf=new Map,td=function(t,e,n,r){var i=n.getDerivativeToken(t),o=(0,l.A)((0,l.A)({},i),e);return r&&(o=r(o)),o},tp="token";function tg(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,h.useContext)(M),i=r.cache.instanceId,a=r.container,f=n.salt,d=void 0===f?"":f,p=n.override,g=void 0===p?th:p,y=n.formatToken,v=n.getComputedToken,m=n.cssVar,_=function(t,e){for(var n=q,r=0;r<e.length;r+=1){var i=e[r];n.has(i)||n.set(i,new WeakMap),n=n.get(i)}return n.has(G)||n.set(G,t()),n.get(G)}(function(){return Object.assign.apply(Object,[{}].concat((0,s.A)(e)))},e),b=Y(_),A=Y(g),k=m?Y(m):"";return tc(tp,[d,t.id,b,A,k],function(){var e,n=v?v(_,g,t):td(_,g,t,y),r=(0,l.A)({},n),i="";if(m){var a=to(n,m.key,{prefix:m.prefix,ignore:m.ignore,unitless:m.unitless,preserve:m.preserve}),s=(0,o.A)(a,2);n=s[0],i=s[1]}var c=$(n,d);n._tokenKey=c,r._tokenKey=$(r,d);var h=null!=(e=null==m?void 0:m.key)?e:c;n._themeKey=h,tf.set(h,(tf.get(h)||0)+1);var f="".concat("css","-").concat(u(c));return n._hashId=f,[n,f,r,i,(null==m?void 0:m.key)||""]},function(t){var e,n,r;e=t[0]._themeKey,tf.set(e,(tf.get(e)||0)-1),r=(n=Array.from(tf.keys())).filter(function(t){return 0>=(tf.get(t)||0)}),n.length-r.length>0&&r.forEach(function(t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(x,'="').concat(t,'"]')).forEach(function(t){if(t[S]===i){var e;null==(e=t.parentNode)||e.removeChild(t)}}),tf.delete(t)})},function(t){var e=(0,o.A)(t,4),n=e[0],r=e[3];if(m&&r){var s=(0,c.BD)(r,u("css-variables-".concat(n._themeKey)),{mark:w,prepend:"queue",attachTo:a,priority:-999});s[S]=i,s.setAttribute(x,n._themeKey)}})}var ty=n(16865);let tv={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var tm="comm",t_="rule",tb="decl",tx=Math.abs,tw=String.fromCharCode;function tS(t,e,n){return t.replace(e,n)}function tA(t,e){return 0|t.charCodeAt(e)}function tM(t,e,n){return t.slice(e,n)}function tk(t){return t.length}function tT(t,e){return e.push(t),t}function tC(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}function tO(t,e,n,r){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case tb:return t.return=t.return||t.value;case tm:return"";case"@keyframes":return t.return=t.value+"{"+tC(t.children,r)+"}";case t_:if(!tk(t.value=t.props.join(",")))return""}return tk(n=tC(t.children,r))?t.return=t.value+"{"+n+"}":""}var tI=1,tE=1,tD=0,tR=0,tL=0,tP="";function tN(t,e,n,r,i,o,a,s){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:tI,column:tE,length:a,return:"",siblings:s}}function tB(){return tL=tR<tD?tA(tP,tR++):0,tE++,10===tL&&(tE=1,tI++),tL}function tF(){return tA(tP,tR)}function tj(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function tz(t){var e,n;return(e=tR-1,n=function t(e){for(;tB();)switch(tL){case e:return tR;case 34:case 39:34!==e&&39!==e&&t(tL);break;case 40:41===e&&t(e);break;case 92:tB()}return tR}(91===t?t+2:40===t?t+1:t),tM(tP,e,n)).trim()}function tH(t,e,n,r,i,o,a,s,l,u,c,h){for(var f=i-1,d=0===i?o:[""],p=d.length,g=0,y=0,v=0;g<r;++g)for(var m=0,_=tM(t,f+1,f=tx(y=a[g])),b=t;m<p;++m)(b=(y>0?d[m]+" "+_:tS(_,/&\f/g,d[m])).trim())&&(l[v++]=b);return tN(t,e,n,0===i?t_:s,l,u,c,h)}function tV(t,e,n,r,i){return tN(t,e,n,tb,tM(t,0,r),tM(t,r+1,-1),r,i)}function tU(t,e){var n=e.path,r=e.parentSelectors;(0,z.Ay)(!1,"[Ant Design CSS-in-JS] ".concat(n?"Error in ".concat(n,": "):"").concat(t).concat(r.length?" Selector: ".concat(r.join(" | ")):""))}function tW(t){var e;return((null==(e=t.match(/:not\(([^)]*)\)/))?void 0:e[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter(function(t){return t}).length>1}let tq=function(t,e,n){var r=n.parentSelectors.reduce(function(t,e){return t?e.includes("&")?e.replace(/&/g,t):"".concat(t," ").concat(e):e},"").match(/:not\([^)]*\)/g)||[];r.length>0&&r.some(tW)&&tU("Concat ':not' selector not support in legacy browsers.",n)},tG=function(t,e,n){switch(t){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":tU("You seem to be using non-logical property '".concat(t,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if("string"==typeof e){var r=e.split(" ").map(function(t){return t.trim()});4===r.length&&r[1]!==r[3]&&tU("You seem to be using '".concat(t,"' property with different left ").concat(t," and right ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n)}return;case"clear":case"textAlign":("left"===e||"right"===e)&&tU("You seem to be using non-logical value '".concat(e,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n);return;case"borderRadius":"string"==typeof e&&e.split("/").map(function(t){return t.trim()}).reduce(function(t,e){if(t)return t;var n=e.split(" ").map(function(t){return t.trim()});return n.length>=2&&n[0]!==n[1]||3===n.length&&n[1]!==n[2]||4===n.length&&n[2]!==n[3]||t},!1)&&tU("You seem to be using non-logical value '".concat(e,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),n);return}},tZ=function(t,e,n){("string"==typeof e&&/NaN/g.test(e)||Number.isNaN(e))&&tU("Unexpected 'NaN' in property '".concat(t,": ").concat(e,"'."),n)},tY=function(t,e,n){n.parentSelectors.some(function(t){return t.split(",").some(function(t){return t.split("&").length>2})})&&tU("Should not use more than one `&` in a selector.",n)};var t$="data-ant-cssinjs-cache-path",tX="_FILE_STYLE__",tK=!0,tJ="_multi_value_";function tQ(t){var e,n,r;return tC((r=function t(e,n,r,i,o,a,s,l,u){for(var c,h,f,d,p,g,y=0,v=0,m=s,_=0,b=0,x=0,w=1,S=1,A=1,M=0,k="",T=o,C=a,O=i,I=k;S;)switch(x=M,M=tB()){case 40:if(108!=x&&58==tA(I,m-1)){-1!=(p=I+=tS(tz(M),"&","&\f"),g=tx(y?l[y-1]:0),p.indexOf("&\f",g))&&(A=-1);break}case 34:case 39:case 91:I+=tz(M);break;case 9:case 10:case 13:case 32:I+=function(t){for(;tL=tF();)if(tL<33)tB();else break;return tj(t)>2||tj(tL)>3?"":" "}(x);break;case 92:I+=function(t,e){for(var n;--e&&tB()&&!(tL<48)&&!(tL>102)&&(!(tL>57)||!(tL<65))&&(!(tL>70)||!(tL<97)););return n=tR+(e<6&&32==tF()&&32==tB()),tM(tP,t,n)}(tR-1,7);continue;case 47:switch(tF()){case 42:case 47:tT((c=function(t,e){for(;tB();)if(t+tL===57)break;else if(t+tL===84&&47===tF())break;return"/*"+tM(tP,e,tR-1)+"*"+tw(47===t?t:tB())}(tB(),tR),h=n,f=r,d=u,tN(c,h,f,tm,tw(tL),tM(c,2,-2),0,d)),u),(5==tj(x||1)||5==tj(tF()||1))&&tk(I)&&" "!==tM(I,-1,void 0)&&(I+=" ");break;default:I+="/"}break;case 123*w:l[y++]=tk(I)*A;case 125*w:case 59:case 0:switch(M){case 0:case 125:S=0;case 59+v:-1==A&&(I=tS(I,/\f/g,"")),b>0&&(tk(I)-m||0===w&&47===x)&&tT(b>32?tV(I+";",i,r,m-1,u):tV(tS(I," ","")+";",i,r,m-2,u),u);break;case 59:I+=";";default:if(tT(O=tH(I,n,r,y,v,o,l,k,T=[],C=[],m,a),a),123===M)if(0===v)t(I,n,O,O,T,a,m,l,C);else switch(99===_&&110===tA(I,3)?100:_){case 100:case 108:case 109:case 115:t(e,O,O,i&&tT(tH(e,O,O,0,0,o,l,k,o,T=[],m,C),C),o,C,m,l,i?T:C);break;default:t(I,O,O,O,[""],C,0,l,C)}}y=v=b=0,w=A=1,k=I="",m=s;break;case 58:m=1+tk(I),b=x;default:if(w<1){if(123==M)--w;else if(125==M&&0==w++&&125==(tL=tR>0?tA(tP,--tR):0,tE--,10===tL&&(tE=1,tI--),tL))continue}switch(I+=tw(M),M*w){case 38:A=v>0?1:(I+="\f",-1);break;case 44:l[y++]=(tk(I)-1)*A,A=1;break;case 64:45===tF()&&(I+=tz(tB())),_=tF(),v=m=tk(k=I+=function(t){for(;!tj(tF());)tB();return tM(tP,t,tR)}(tR)),M++;break;case 45:45===x&&2==tk(I)&&(w=0)}}return a}("",null,null,null,[""],(n=e=t,tI=tE=1,tD=tk(tP=n),tR=0,e=[]),0,[0],e),tP="",r),tO).replace(/\{%%%\:[^;];}/g,";")}function t0(t,e,n){if(!e)return t;var r=".".concat(e),i="low"===n?":where(".concat(r,")"):r;return t.split(",").map(function(t){var e,n=t.trim().split(/\s+/),r=n[0]||"",o=(null==(e=r.match(/^\w+/))?void 0:e[0])||"";return[r="".concat(o).concat(i).concat(r.slice(o.length))].concat((0,s.A)(n.slice(1))).join(" ")}).join(",")}var t1=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},i=r.root,a=r.injectHash,u=r.parentSelectors,c=n.hashId,h=n.layer,f=(n.path,n.hashPriority),d=n.transformers,p=void 0===d?[]:d,g=(n.linters,""),y={};function v(e){var r=e.getName(c);if(!y[r]){var i=t(e.style,n,{root:!1,parentSelectors:u}),a=(0,o.A)(i,1)[0];y[r]="@keyframes ".concat(e.getName(c)).concat(a)}}return(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach(function(e){Array.isArray(e)?t(e,n):e&&n.push(e)}),n})(Array.isArray(e)?e:[e]).forEach(function(e){var r="string"!=typeof e||i?e:{};if("string"==typeof r)g+="".concat(r,"\n");else if(r._keyframe)v(r);else{var h=p.reduce(function(t,e){var n;return(null==e||null==(n=e.visit)?void 0:n.call(e,t))||t},r);Object.keys(h).forEach(function(e){var r=h[e];if("object"!==(0,T.A)(r)||!r||"animationName"===e&&r._keyframe||"object"===(0,T.A)(r)&&r&&("_skip_check_"in r||tJ in r)){function d(t,e){var n=t.replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())}),r=e;tv[t]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===t&&null!=e&&e._keyframe&&(v(e),r=e.getName(c)),g+="".concat(n,":").concat(r,";")}var p,m=null!=(p=null==r?void 0:r.value)?p:r;"object"===(0,T.A)(r)&&null!=r&&r[tJ]&&Array.isArray(m)?m.forEach(function(t){d(e,t)}):d(e,m)}else{var _=!1,b=e.trim(),x=!1;(i||a)&&c?b.startsWith("@")?_=!0:b="&"===b?t0("",c,f):t0(e,c,f):i&&!c&&("&"===b||""===b)&&(b="",x=!0);var w=t(r,n,{root:x,injectHash:_,parentSelectors:[].concat((0,s.A)(u),[b])}),S=(0,o.A)(w,2),A=S[0],M=S[1];y=(0,l.A)((0,l.A)({},y),M),g+="".concat(b).concat(A)}})}}),i?h&&(g&&(g="@layer ".concat(h.name," {").concat(g,"}")),h.dependencies&&(y["@layer ".concat(h.name)]=h.dependencies.map(function(t){return"@layer ".concat(t,", ").concat(h.name,";")}).join("\n"))):g="{".concat(g,"}"),[g,y]};function t2(t,e){return u("".concat(t.join("%")).concat(e))}function t5(){return null}var t3="style";function t6(t,e){var n=t.token,i=t.path,u=t.hashId,f=t.layer,d=t.nonce,p=t.clientOnly,g=t.order,y=void 0===g?0:g,v=h.useContext(M),m=v.autoClear,_=(v.mock,v.defaultCache),b=v.hashPriority,A=v.container,k=v.ssrInline,T=v.transformers,O=v.linters,I=v.cache,E=v.layer,D=n._tokenKey,R=[D];E&&R.push("layer"),R.push.apply(R,(0,s.A)(i));var L=tc(t3,R,function(){var t=R.join("|");if(function(t){if(!r&&(r={},(0,C.A)())){var e,n=document.createElement("div");n.className=t$,n.style.position="fixed",n.style.visibility="hidden",n.style.top="-9999px",document.body.appendChild(n);var i=getComputedStyle(n).content||"";(i=i.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(t){var e=t.split(":"),n=(0,o.A)(e,2),i=n[0],a=n[1];r[i]=a});var a=document.querySelector("style[".concat(t$,"]"));a&&(tK=!1,null==(e=a.parentNode)||e.removeChild(a)),document.body.removeChild(n)}return!!r[t]}(t)){var n=function(t){var e=r[t],n=null;if(e&&(0,C.A)())if(tK)n=tX;else{var i=document.querySelector("style[".concat(w,'="').concat(r[t],'"]'));i?n=i.innerHTML:delete r[t]}return[n,e]}(t),a=(0,o.A)(n,2),s=a[0],l=a[1];if(s)return[s,D,l,{},p,y]}var c=t1(e(),{hashId:u,hashPriority:b,layer:E?f:void 0,path:i.join("-"),transformers:T,linters:O}),h=(0,o.A)(c,2),d=h[0],g=h[1],v=tQ(d),m=t2(R,v);return[v,D,m,g,p,y]},function(t,e){var n=(0,o.A)(t,3)[2];(e||m)&&te&&(0,c.m6)(n,{mark:w})},function(t){var e=(0,o.A)(t,4),n=e[0],r=(e[1],e[2]),i=e[3];if(te&&n!==tX){var a={mark:w,prepend:!E&&"queue",attachTo:A,priority:y},s="function"==typeof d?d():d;s&&(a.csp={nonce:s});var u=[],h=[];Object.keys(i).forEach(function(t){t.startsWith("@layer")?u.push(t):h.push(t)}),u.forEach(function(t){(0,c.BD)(tQ(i[t]),"_layer-".concat(t),(0,l.A)((0,l.A)({},a),{},{prepend:!0}))});var f=(0,c.BD)(n,r,a);f[S]=I.instanceId,f.setAttribute(x,D),h.forEach(function(t){(0,c.BD)(tQ(i[t]),"_effect-".concat(t),a)})}}),P=(0,o.A)(L,3),N=P[0],B=P[1],F=P[2];return function(t){var e,n;return e=k&&!te&&_?h.createElement("style",(0,ty.A)({},(n={},(0,a.A)(n,x,B),(0,a.A)(n,w,F),n),{dangerouslySetInnerHTML:{__html:N}})):h.createElement(t5,null),h.createElement(h.Fragment,null,e,t)}}var t4="cssVar";let t8=function(t,e){var n=t.key,r=t.prefix,i=t.unitless,a=t.ignore,l=t.token,u=t.scope,f=void 0===u?"":u,d=(0,h.useContext)(M),p=d.cache.instanceId,g=d.container,y=l._tokenKey,v=[].concat((0,s.A)(t.path),[n,f,y]);return tc(t4,v,function(){var t=to(e(),n,{prefix:r,unitless:i,ignore:a,scope:f}),s=(0,o.A)(t,2),l=s[0],u=s[1],c=t2(v,u);return[l,u,c,n]},function(t){var e=(0,o.A)(t,3)[2];te&&(0,c.m6)(e,{mark:w})},function(t){var e=(0,o.A)(t,3),r=e[1],i=e[2];if(r){var a=(0,c.BD)(r,i,{mark:w,prepend:"queue",attachTo:g,priority:-999});a[S]=p,a.setAttribute(x,n)}})};var t9=(i={},(0,a.A)(i,t3,function(t,e,n){var r=(0,o.A)(t,6),i=r[0],a=r[1],s=r[2],l=r[3],u=r[4],c=r[5],h=(n||{}).plain;if(u)return null;var f=i,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return f=tr(i,a,s,d,h),l&&Object.keys(l).forEach(function(t){if(!e[t]){e[t]=!0;var n=tr(tQ(l[t]),a,"_effect-".concat(t),d,h);t.startsWith("@layer")?f=n+f:f+=n}}),[c,s,f]}),(0,a.A)(i,tp,function(t,e,n){var r=(0,o.A)(t,5),i=r[2],a=r[3],s=r[4],l=(n||{}).plain;if(!a)return null;var u=i._tokenKey,c=tr(a,s,u,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,u,c]}),(0,a.A)(i,t4,function(t,e,n){var r=(0,o.A)(t,4),i=r[1],a=r[2],s=r[3],l=(n||{}).plain;if(!i)return null;var u=tr(i,s,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,a,u]}),i);function t7(t){return null!==t}function et(t,e){var n="boolean"==typeof e?{plain:e}:e||{},r=n.plain,i=void 0!==r&&r,s=n.types,l=void 0===s?["style","token","cssVar"]:s,u=new RegExp("^(".concat(("string"==typeof l?[l]:l).join("|"),")%")),c=Array.from(t.cache.keys()).filter(function(t){return u.test(t)}),h={},f={},d="";return c.map(function(e){var n=e.replace(u,"").replace(/%/g,"|"),r=e.split("%"),a=(0,t9[(0,o.A)(r,1)[0]])(t.cache.get(e)[1],h,{plain:i});if(!a)return null;var s=(0,o.A)(a,3),l=s[0],c=s[1],d=s[2];return e.startsWith("style")&&(f[n]=c),[l,d]}).filter(t7).sort(function(t,e){return(0,o.A)(t,1)[0]-(0,o.A)(e,1)[0]}).forEach(function(t){var e=(0,o.A)(t,2)[1];d+=e}),d+=tr(".".concat(t$,'{content:"').concat(Object.keys(f).map(function(t){var e=f[t];return"".concat(t,":").concat(e)}).join(";"),'";}'),void 0,void 0,(0,a.A)({},t$,t$),i)}let ee=function(){function t(e,n){(0,y.A)(this,t),(0,a.A)(this,"name",void 0),(0,a.A)(this,"style",void 0),(0,a.A)(this,"_keyframe",!0),this.name=e,this.style=n}return(0,v.A)(t,[{key:"getName",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t?"".concat(t,"-").concat(this.name):this.name}}]),t}();function en(t){return t.notSplit=!0,t}var er={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:en(["borderTop","borderBottom"]),borderBlockStart:en(["borderTop"]),borderBlockEnd:en(["borderBottom"]),borderInline:en(["borderLeft","borderRight"]),borderInlineStart:en(["borderLeft"]),borderInlineEnd:en(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function ei(t,e){var n=t;return e&&(n="".concat(n," !important")),{_skip_check_:!0,value:n}}let eo={visit:function(t){var e={};return Object.keys(t).forEach(function(n){var r=t[n],i=er[n];if(i&&("number"==typeof r||"string"==typeof r)){var a=function(t){if("number"==typeof t)return[[t],!1];var e=String(t).trim(),n=e.match(/(.*)(!important)/),r=(n?n[1]:e).trim().split(/\s+/),i=[],o=0;return[r.reduce(function(t,e){if(e.includes("(")||e.includes(")")){var n=e.split("(").length-1,r=e.split(")").length-1;o+=n-r}return o>=0&&i.push(e),0===o&&(t.push(i.join(" ")),i=[]),t},[]),!!n]}(r),s=(0,o.A)(a,2),l=s[0],u=s[1];i.length&&i.notSplit?i.forEach(function(t){e[t]=ei(r,u)}):1===i.length?e[i[0]]=ei(l[0],u):2===i.length?i.forEach(function(t,n){var r;e[t]=ei(null!=(r=l[n])?r:l[0],u)}):4===i.length?i.forEach(function(t,n){var r,i;e[t]=ei(null!=(r=null!=(i=l[n])?i:l[n-2])?r:l[0],u)}):e[n]=r}else e[n]=r}),e}};var ea=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;let es=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.rootValue,n=void 0===e?16:e,r=t.precision,i=void 0===r?5:r,a=t.mediaQuery,s=void 0!==a&&a,u=function(t,e){if(!e)return t;var r,o=parseFloat(e);if(o<=1)return t;var a=10*Math.round(Math.floor(o/n*(r=Math.pow(10,i+1)))/10)/r;return"".concat(a,"rem")};return{visit:function(t){var e=(0,l.A)({},t);return Object.entries(t).forEach(function(t){var n=(0,o.A)(t,2),r=n[0],i=n[1];if("string"==typeof i&&i.includes("px")){var a=i.replace(ea,u);e[r]=a}tv[r]||"number"!=typeof i||0===i||(e[r]="".concat(i,"px").replace(ea,u));var l=r.trim();l.startsWith("@")&&l.includes("px")&&s&&(e[r.replace(ea,u)]=e[r],delete e[r])}),e}}};var el={supportModernCSS:function(){return void 0===Q&&(Q=J(":where(.".concat(X,') { content: "').concat(K,'"!important; }'),function(t){t.className=X})),Q&&(void 0===tt&&(tt=J(".".concat(X," { inset-block: 93px !important; }"),function(t){t.className=X},function(t){return"93px"===getComputedStyle(t).bottom})),tt)}}},18956:function(t,e,n){"use strict";n.d(e,{H:()=>h,K6:()=>o,Me:()=>u,Ob:()=>c,YL:()=>s,_:()=>i,g8:()=>g,n6:()=>p,oS:()=>y,wE:()=>l,xq:()=>f,z4:()=>d});var r=n(60024);function i(t,e,n){return{r:255*(0,r.Cg)(t,255),g:255*(0,r.Cg)(e,255),b:255*(0,r.Cg)(n,255)}}function o(t,e,n){t=(0,r.Cg)(t,255);var i=Math.max(t,e=(0,r.Cg)(e,255),n=(0,r.Cg)(n,255)),o=Math.min(t,e,n),a=0,s=0,l=(i+o)/2;if(i===o)s=0,a=0;else{var u=i-o;switch(s=l>.5?u/(2-i-o):u/(i+o),i){case t:a=(e-n)/u+6*(e<n);break;case e:a=(n-t)/u+2;break;case n:a=(t-e)/u+4}a/=6}return{h:a,s:s,l:l}}function a(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+6*n*(e-t):n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function s(t,e,n){if(t=(0,r.Cg)(t,360),e=(0,r.Cg)(e,100),n=(0,r.Cg)(n,100),0===e)o=n,s=n,i=n;else{var i,o,s,l=n<.5?n*(1+e):n+e-n*e,u=2*n-l;i=a(u,l,t+1/3),o=a(u,l,t),s=a(u,l,t-1/3)}return{r:255*i,g:255*o,b:255*s}}function l(t,e,n){t=(0,r.Cg)(t,255);var i=Math.max(t,e=(0,r.Cg)(e,255),n=(0,r.Cg)(n,255)),o=Math.min(t,e,n),a=0,s=i-o;if(i===o)a=0;else{switch(i){case t:a=(e-n)/s+6*(e<n);break;case e:a=(n-t)/s+2;break;case n:a=(t-e)/s+4}a/=6}return{h:a,s:0===i?0:s/i,v:i}}function u(t,e,n){t=6*(0,r.Cg)(t,360),e=(0,r.Cg)(e,100),n=(0,r.Cg)(n,100);var i=Math.floor(t),o=t-i,a=n*(1-e),s=n*(1-o*e),l=n*(1-(1-o)*e),u=i%6;return{r:255*[n,s,a,a,l,n][u],g:255*[l,n,n,s,a,a][u],b:255*[a,a,l,n,n,s][u]}}function c(t,e,n,i){var o=[(0,r.wl)(Math.round(t).toString(16)),(0,r.wl)(Math.round(e).toString(16)),(0,r.wl)(Math.round(n).toString(16))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function h(t,e,n,i,o){var a=[(0,r.wl)(Math.round(t).toString(16)),(0,r.wl)(Math.round(e).toString(16)),(0,r.wl)(Math.round(n).toString(16)),(0,r.wl)(d(i))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function f(t,e,n,i){return[(0,r.wl)(d(i)),(0,r.wl)(Math.round(t).toString(16)),(0,r.wl)(Math.round(e).toString(16)),(0,r.wl)(Math.round(n).toString(16))].join("")}function d(t){return Math.round(255*parseFloat(t)).toString(16)}function p(t){return g(t)/255}function g(t){return parseInt(t,16)}function y(t){return{r:t>>16,g:(65280&t)>>8,b:255&t}}},60718:function(t,e,n){"use strict";n.d(e,{D:()=>r});var r={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",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#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",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},57358:function(t,e,n){"use strict";n.d(e,{IA:()=>h,RO:()=>a,ib:()=>f});var r=n(18956),i=n(60718),o=n(60024);function a(t){var e={r:0,g:0,b:0},n=1,i=null,a=null,s=null,l=!1,u=!1;return"string"==typeof t&&(t=h(t)),"object"==typeof t&&(f(t.r)&&f(t.g)&&f(t.b)?(e=(0,r._)(t.r,t.g,t.b),l=!0,u="%"===String(t.r).substr(-1)?"prgb":"rgb"):f(t.h)&&f(t.s)&&f(t.v)?(i=(0,o.Px)(t.s),a=(0,o.Px)(t.v),e=(0,r.Me)(t.h,i,a),l=!0,u="hsv"):f(t.h)&&f(t.s)&&f(t.l)&&(i=(0,o.Px)(t.s),s=(0,o.Px)(t.l),e=(0,r.YL)(t.h,i,s),l=!0,u="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=(0,o.TV)(n),{ok:l,format:t.format||u,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}var s="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),u="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),c={CSS_UNIT:new RegExp(s),rgb:RegExp("rgb"+l),rgba:RegExp("rgba"+u),hsl:RegExp("hsl"+l),hsla:RegExp("hsla"+u),hsv:RegExp("hsv"+l),hsva:RegExp("hsva"+u),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function h(t){if(0===(t=t.trim().toLowerCase()).length)return!1;var e=!1;if(i.D[t])t=i.D[t],e=!0;else if("transparent"===t)return{r:0,g:0,b:0,a:0,format:"name"};var n=c.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=c.rgba.exec(t))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=c.hsl.exec(t))?{h:n[1],s:n[2],l:n[3]}:(n=c.hsla.exec(t))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=c.hsv.exec(t))?{h:n[1],s:n[2],v:n[3]}:(n=c.hsva.exec(t))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=c.hex8.exec(t))?{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),a:(0,r.n6)(n[4]),format:e?"name":"hex8"}:(n=c.hex6.exec(t))?{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),format:e?"name":"hex"}:(n=c.hex4.exec(t))?{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),a:(0,r.n6)(n[4]+n[4]),format:e?"name":"hex8"}:!!(n=c.hex3.exec(t))&&{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),format:e?"name":"hex"}}function f(t){return!!c.CSS_UNIT.exec(String(t))}},32006:function(t,e,n){"use strict";n.d(e,{q:()=>s,y:()=>l});var r=n(18956),i=n(60718),o=n(57358),a=n(60024),s=function(){function t(e,n){if(void 0===e&&(e=""),void 0===n&&(n={}),e instanceof t)return e;"number"==typeof e&&(e=(0,r.oS)(e)),this.originalInput=e;var i,a=(0,o.RO)(e);this.originalInput=e,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!=(i=n.format)?i:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return t.prototype.isDark=function(){return 128>this.getBrightness()},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},t.prototype.getLuminance=function(){var t=this.toRgb(),e=t.r/255,n=t.g/255,r=t.b/255;return .2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(t){return this.a=(0,a.TV)(t),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){return 0===this.toHsl().s},t.prototype.toHsv=function(){var t=(0,r.wE)(this.r,this.g,this.b);return{h:360*t.h,s:t.s,v:t.v,a:this.a}},t.prototype.toHsvString=function(){var t=(0,r.wE)(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),i=Math.round(100*t.v);return 1===this.a?"hsv(".concat(e,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(e,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var t=(0,r.K6)(this.r,this.g,this.b);return{h:360*t.h,s:t.s,l:t.l,a:this.a}},t.prototype.toHslString=function(){var t=(0,r.K6)(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),i=Math.round(100*t.l);return 1===this.a?"hsl(".concat(e,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(e,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(t){return void 0===t&&(t=!1),(0,r.Ob)(this.r,this.g,this.b,t)},t.prototype.toHexString=function(t){return void 0===t&&(t=!1),"#"+this.toHex(t)},t.prototype.toHex8=function(t){return void 0===t&&(t=!1),(0,r.H)(this.r,this.g,this.b,this.a,t)},t.prototype.toHex8String=function(t){return void 0===t&&(t=!1),"#"+this.toHex8(t)},t.prototype.toHexShortString=function(t){return void 0===t&&(t=!1),1===this.a?this.toHexString(t):this.toHex8String(t)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(t,", ").concat(e,", ").concat(n,")"):"rgba(".concat(t,", ").concat(e,", ").concat(n,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var t=function(t){return"".concat(Math.round(100*(0,a.Cg)(t,255)),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var t=function(t){return Math.round(100*(0,a.Cg)(t,255))};return 1===this.a?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var t="#"+(0,r.Ob)(this.r,this.g,this.b,!1),e=0,n=Object.entries(i.D);e<n.length;e++){var o=n[e],a=o[0];if(t===o[1])return a}return!1},t.prototype.toString=function(t){var e=!!t;t=null!=t?t:this.format;var n=!1,r=this.a<1&&this.a>=0;return!e&&r&&(t.startsWith("hex")||"name"===t)?"name"===t&&0===this.a?this.toName():this.toRgbString():("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),("hex"===t||"hex6"===t)&&(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.l+=e/100,n.l=(0,a.J$)(n.l),new t(n)},t.prototype.brighten=function(e){void 0===e&&(e=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(e/100*255)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(e/100*255)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(e/100*255)))),new t(n)},t.prototype.darken=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.l-=e/100,n.l=(0,a.J$)(n.l),new t(n)},t.prototype.tint=function(t){return void 0===t&&(t=10),this.mix("white",t)},t.prototype.shade=function(t){return void 0===t&&(t=10),this.mix("black",t)},t.prototype.desaturate=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.s-=e/100,n.s=(0,a.J$)(n.s),new t(n)},t.prototype.saturate=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.s+=e/100,n.s=(0,a.J$)(n.s),new t(n)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var n=this.toHsl(),r=(n.h+e)%360;return n.h=r<0?360+r:r,new t(n)},t.prototype.mix=function(e,n){void 0===n&&(n=50);var r=this.toRgb(),i=new t(e).toRgb(),o=n/100;return new t({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},t.prototype.analogous=function(e,n){void 0===e&&(e=6),void 0===n&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*e>>1)+720)%360;--e;)r.h=(r.h+i)%360,o.push(new t(r));return o},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){void 0===e&&(e=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/e;e--;)a.push(new t({h:r,s:i,v:o})),o=(o+s)%1;return a},t.prototype.splitcomplement=function(){var e=this.toHsl(),n=e.h;return[this,new t({h:(n+72)%360,s:e.s,l:e.l}),new t({h:(n+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var n=this.toRgb(),r=new t(e).toRgb(),i=n.a+r.a*(1-n.a);return new t({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var n=this.toHsl(),r=n.h,i=[this],o=360/e,a=1;a<e;a++)i.push(new t({h:(r+a*o)%360,s:n.s,l:n.l}));return i},t.prototype.equals=function(e){return this.toRgbString()===new t(e).toRgbString()},t}();function l(t,e){return void 0===t&&(t=""),void 0===e&&(e={}),new s(t,e)}},60024:function(t,e,n){"use strict";function r(t,e){"string"==typeof(n=t)&&-1!==n.indexOf(".")&&1===parseFloat(n)&&(t="100%");var n,r,i="string"==typeof(r=t)&&-1!==r.indexOf("%");return(t=360===e?t:Math.min(e,Math.max(0,parseFloat(t))),i&&(t=parseInt(String(t*e),10)/100),1e-6>Math.abs(t-e))?1:t=360===e?(t<0?t%e+e:t%e)/parseFloat(String(e)):t%e/parseFloat(String(e))}function i(t){return Math.min(1,Math.max(0,t))}function o(t){return(isNaN(t=parseFloat(t))||t<0||t>1)&&(t=1),t}function a(t){return t<=1?"".concat(100*Number(t),"%"):t}function s(t){return 1===t.length?"0"+t:String(t)}n.d(e,{Cg:()=>r,J$:()=>i,Px:()=>a,TV:()=>o,wl:()=>s})},63875:function(t,e,n){"use strict";n.d(e,{A:()=>U});var r,i=n(27210),o=n(30997),a=n(60615),s=n(25666),l=n(13012),u=n(24412);function c(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var h=c(),f=n(87700),d=n(59746),p=n(8283),g=n(55137),y=n(67965),v=n(81967);function m(t){var e="function"==typeof Map?new Map:void 0;return(m=function(t){if(null===t||!function(t){try{return -1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if((0,v.A)())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var i=new(t.bind.apply(t,r));return n&&(0,y.A)(i,n.prototype),i}(t,arguments,(0,g.A)(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,y.A)(n,t)})(t)}var _=n(85409),b=/%[sdj%]/g;function x(t){if(!t||!t.length)return null;var e={};return t.forEach(function(t){var n=t.field;e[n]=e[n]||[],e[n].push(t)}),e}function w(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=0,o=n.length;return"function"==typeof t?t.apply(null,n):"string"==typeof t?t.replace(b,function(t){if("%%"===t)return"%";if(i>=o)return t;switch(t){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(t){return"[Circular]"}default:return t}}):t}function S(t,e){return!!(null==t||"array"===e&&Array.isArray(t)&&!t.length)||("string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e)&&"string"==typeof t&&!t||!1}function A(t,e,n){var r=0,i=t.length;!function o(a){if(a&&a.length)return void n(a);var s=r;r+=1,s<i?e(t[s],o):n([])}([])}void 0!==_&&_.env;var M=function(t){(0,d.A)(n,t);var e=(0,p.A)(n);function n(t,r){var i;return(0,s.A)(this,n),i=e.call(this,"Async Validation Error"),(0,u.A)((0,f.A)(i),"errors",void 0),(0,u.A)((0,f.A)(i),"fields",void 0),i.errors=t,i.fields=r,i}return(0,l.A)(n)}(m(Error));function k(t,e){return function(n){var r;return(r=t.fullFields?function(t,e){for(var n=t,r=0;r<e.length&&void 0!=n;r++)n=n[e[r]];return n}(e,t.fullFields):e[n.field||t.fullField],n&&void 0!==n.message)?(n.field=n.field||t.fullField,n.fieldValue=r,n):{message:"function"==typeof n?n():n,fieldValue:r,field:n.field||t.fullField}}}function T(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];"object"===(0,a.A)(r)&&"object"===(0,a.A)(t[n])?t[n]=(0,i.A)((0,i.A)({},t[n]),r):t[n]=r}}return t}var C="enum";let O=function(t,e,n,r,i,o){t.required&&(!n.hasOwnProperty(t.field)||S(e,o||t.type))&&r.push(w(i.messages.required,t.fullField))},I=function(){if(r)return r;var t="[a-fA-F\\d:]",e=function(e){return e&&e.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(t,")|(?<=").concat(t,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",i="[a-fA-F\\d]{1,4}",o=["(?:".concat(i,":){7}(?:").concat(i,"|:)"),"(?:".concat(i,":){6}(?:").concat(n,"|:").concat(i,"|:)"),"(?:".concat(i,":){5}(?::").concat(n,"|(?::").concat(i,"){1,2}|:)"),"(?:".concat(i,":){4}(?:(?::").concat(i,"){0,1}:").concat(n,"|(?::").concat(i,"){1,3}|:)"),"(?:".concat(i,":){3}(?:(?::").concat(i,"){0,2}:").concat(n,"|(?::").concat(i,"){1,4}|:)"),"(?:".concat(i,":){2}(?:(?::").concat(i,"){0,3}:").concat(n,"|(?::").concat(i,"){1,5}|:)"),"(?:".concat(i,":){1}(?:(?::").concat(i,"){0,4}:").concat(n,"|(?::").concat(i,"){1,6}|:)"),"(?::(?:(?::".concat(i,"){0,5}:").concat(n,"|(?::").concat(i,"){1,7}|:))")],a="(?:".concat(o.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(a,"$)")),l=new RegExp("^".concat(n,"$")),u=new RegExp("^".concat(a,"$")),c=function(t){return t&&t.exact?s:RegExp("(?:".concat(e(t)).concat(n).concat(e(t),")|(?:").concat(e(t)).concat(a).concat(e(t),")"),"g")};c.v4=function(t){return t&&t.exact?l:RegExp("".concat(e(t)).concat(n).concat(e(t)),"g")},c.v6=function(t){return t&&t.exact?u:RegExp("".concat(e(t)).concat(a).concat(e(t)),"g")};var h=c.v4().source,f=c.v6().source,d="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(h,"|").concat(f,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return r=RegExp("(?:^".concat(d,"$)"),"i")};var E=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,D=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,R={integer:function(t){return R.number(t)&&parseInt(t,10)===t},float:function(t){return R.number(t)&&!R.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return new RegExp(t),!0}catch(t){return!1}},date:function(t){return"function"==typeof t.getTime&&"function"==typeof t.getMonth&&"function"==typeof t.getYear&&!isNaN(t.getTime())},number:function(t){return!isNaN(t)&&"number"==typeof t},object:function(t){return"object"===(0,a.A)(t)&&!R.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&t.length<=320&&!!t.match(E)},url:function(t){return"string"==typeof t&&t.length<=2048&&!!t.match(I())},hex:function(t){return"string"==typeof t&&!!t.match(D)}};let L=O,P=function(t,e,n,r,i){(/^\s+$/.test(e)||""===e)&&r.push(w(i.messages.whitespace,t.fullField))},N=function(t,e,n,r,i){if(t.required&&void 0===e)return void O(t,e,n,r,i);var o=t.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?R[o](e)||r.push(w(i.messages.types[o],t.fullField,t.type)):o&&(0,a.A)(e)!==t.type&&r.push(w(i.messages.types[o],t.fullField,t.type))},B=function(t,e,n,r,i){var o="number"==typeof t.len,a="number"==typeof t.min,s="number"==typeof t.max,l=e,u=null,c="number"==typeof e,h="string"==typeof e,f=Array.isArray(e);if(c?u="number":h?u="string":f&&(u="array"),!u)return!1;f&&(l=e.length),h&&(l=e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?l!==t.len&&r.push(w(i.messages[u].len,t.fullField,t.len)):a&&!s&&l<t.min?r.push(w(i.messages[u].min,t.fullField,t.min)):s&&!a&&l>t.max?r.push(w(i.messages[u].max,t.fullField,t.max)):a&&s&&(l<t.min||l>t.max)&&r.push(w(i.messages[u].range,t.fullField,t.min,t.max))},F=function(t,e,n,r,i){t[C]=Array.isArray(t[C])?t[C]:[],-1===t[C].indexOf(e)&&r.push(w(i.messages[C],t.fullField,t[C].join(", ")))},j=function(t,e,n,r,i){t.pattern&&(t.pattern instanceof RegExp?(t.pattern.lastIndex=0,t.pattern.test(e)||r.push(w(i.messages.pattern.mismatch,t.fullField,e,t.pattern))):"string"==typeof t.pattern&&(new RegExp(t.pattern).test(e)||r.push(w(i.messages.pattern.mismatch,t.fullField,e,t.pattern))))},z=function(t,e,n,r,i){var o=t.type,a=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e,o)&&!t.required)return n();L(t,e,r,a,i,o),S(e,o)||N(t,e,r,a,i)}n(a)},H={string:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e,"string")&&!t.required)return n();L(t,e,r,o,i,"string"),S(e,"string")||(N(t,e,r,o,i),B(t,e,r,o,i),j(t,e,r,o,i),!0===t.whitespace&&P(t,e,r,o,i))}n(o)},method:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e)&&!t.required)return n();L(t,e,r,o,i),void 0!==e&&N(t,e,r,o,i)}n(o)},number:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(""===e&&(e=void 0),S(e)&&!t.required)return n();L(t,e,r,o,i),void 0!==e&&(N(t,e,r,o,i),B(t,e,r,o,i))}n(o)},boolean:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e)&&!t.required)return n();L(t,e,r,o,i),void 0!==e&&N(t,e,r,o,i)}n(o)},regexp:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e)&&!t.required)return n();L(t,e,r,o,i),S(e)||N(t,e,r,o,i)}n(o)},integer:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e)&&!t.required)return n();L(t,e,r,o,i),void 0!==e&&(N(t,e,r,o,i),B(t,e,r,o,i))}n(o)},float:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e)&&!t.required)return n();L(t,e,r,o,i),void 0!==e&&(N(t,e,r,o,i),B(t,e,r,o,i))}n(o)},array:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(null==e&&!t.required)return n();L(t,e,r,o,i,"array"),null!=e&&(N(t,e,r,o,i),B(t,e,r,o,i))}n(o)},object:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e)&&!t.required)return n();L(t,e,r,o,i),void 0!==e&&N(t,e,r,o,i)}n(o)},enum:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e)&&!t.required)return n();L(t,e,r,o,i),void 0!==e&&F(t,e,r,o,i)}n(o)},pattern:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e,"string")&&!t.required)return n();L(t,e,r,o,i),S(e,"string")||j(t,e,r,o,i)}n(o)},date:function(t,e,n,r,i){var o,a=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e,"date")&&!t.required)return n();L(t,e,r,a,i),!S(e,"date")&&(o=e instanceof Date?e:new Date(e),N(t,o,r,a,i),o&&B(t,o.getTime(),r,a,i))}n(a)},url:z,hex:z,email:z,required:function(t,e,n,r,i){var o=[],s=Array.isArray(e)?"array":(0,a.A)(e);L(t,e,r,o,i,s),n(o)},any:function(t,e,n,r,i){var o=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(S(e)&&!t.required)return n();L(t,e,r,o,i)}n(o)}};var V=function(){function t(e){(0,s.A)(this,t),(0,u.A)(this,"rules",null),(0,u.A)(this,"_messages",h),this.define(e)}return(0,l.A)(t,[{key:"define",value:function(t){var e=this;if(!t)throw Error("Cannot configure a schema with no rules");if("object"!==(0,a.A)(t)||Array.isArray(t))throw Error("Rules must be an object");this.rules={},Object.keys(t).forEach(function(n){var r=t[n];e.rules[n]=Array.isArray(r)?r:[r]})}},{key:"messages",value:function(t){return t&&(this._messages=T(c(),t)),this._messages}},{key:"validate",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},l=e,u=r,f=s;if("function"==typeof u&&(f=u,u={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(null,l),Promise.resolve(l);if(u.messages){var d=this.messages();d===h&&(d=c()),T(d,u.messages),u.messages=d}else u.messages=this.messages();var p={};(u.keys||Object.keys(this.rules)).forEach(function(t){var r=n.rules[t],o=l[t];r.forEach(function(r){var s=r;"function"==typeof s.transform&&(l===e&&(l=(0,i.A)({},l)),null!=(o=l[t]=s.transform(o))&&(s.type=s.type||(Array.isArray(o)?"array":(0,a.A)(o)))),(s="function"==typeof s?{validator:s}:(0,i.A)({},s)).validator=n.getValidationMethod(s),s.validator&&(s.field=t,s.fullField=s.fullField||t,s.type=n.getType(s),p[t]=p[t]||[],p[t].push({rule:s,value:o,source:l,field:t}))})});var g={};return function(t,e,n,r,i){if(e.first){var a=new Promise(function(e,a){var s;A((s=[],Object.keys(t).forEach(function(e){s.push.apply(s,(0,o.A)(t[e]||[]))}),s),n,function(t){return r(t),t.length?a(new M(t,x(t))):e(i)})});return a.catch(function(t){return t}),a}var s=!0===e.firstFields?Object.keys(t):e.firstFields||[],l=Object.keys(t),u=l.length,c=0,h=[],f=new Promise(function(e,a){var f=function(t){if(h.push.apply(h,t),++c===u)return r(h),h.length?a(new M(h,x(h))):e(i)};l.length||(r(h),e(i)),l.forEach(function(e){var r=t[e];if(-1!==s.indexOf(e))A(r,n,f);else{var i=[],a=0,l=r.length;function u(t){i.push.apply(i,(0,o.A)(t||[])),++a===l&&f(i)}r.forEach(function(t){n(t,u)})}})});return f.catch(function(t){return t}),f}(p,u,function(e,n){var r,s,c,h=e.rule,f=("object"===h.type||"array"===h.type)&&("object"===(0,a.A)(h.fields)||"object"===(0,a.A)(h.defaultField));function d(t,e){return(0,i.A)((0,i.A)({},e),{},{fullField:"".concat(h.fullField,".").concat(t),fullFields:h.fullFields?[].concat((0,o.A)(h.fullFields),[t]):[t]})}function p(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=Array.isArray(r)?r:[r];!u.suppressWarning&&a.length&&t.warning("async-validator:",a),a.length&&void 0!==h.message&&(a=[].concat(h.message));var s=a.map(k(h,l));if(u.first&&s.length)return g[h.field]=1,n(s);if(f){if(h.required&&!e.value)return void 0!==h.message?s=[].concat(h.message).map(k(h,l)):u.error&&(s=[u.error(h,w(u.messages.required,h.field))]),n(s);var c={};h.defaultField&&Object.keys(e.value).map(function(t){c[t]=h.defaultField});var p={};Object.keys(c=(0,i.A)((0,i.A)({},c),e.rule.fields)).forEach(function(t){var e=c[t],n=Array.isArray(e)?e:[e];p[t]=n.map(d.bind(null,t))});var y=new t(p);y.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),y.validate(e.value,e.rule.options||u,function(t){var e=[];s&&s.length&&e.push.apply(e,(0,o.A)(s)),t&&t.length&&e.push.apply(e,(0,o.A)(t)),n(e.length?e:null)})}else n(s)}if(f=f&&(h.required||!h.required&&e.value),h.field=e.field,h.asyncValidator)r=h.asyncValidator(h,e.value,p,e.source,u);else if(h.validator){try{r=h.validator(h,e.value,p,e.source,u)}catch(t){null==(s=(c=console).error)||s.call(c,t),u.suppressValidatorError||setTimeout(function(){throw t},0),p(t.message)}!0===r?p():!1===r?p("function"==typeof h.message?h.message(h.fullField||h.field):h.message||"".concat(h.fullField||h.field," fails")):r instanceof Array?p(r):r instanceof Error&&p(r.message)}r&&r.then&&r.then(function(){return p()},function(t){return p(t)})},function(t){for(var e=[],n={},r=0;r<t.length;r++)!function(t){if(Array.isArray(t)){var n;e=(n=e).concat.apply(n,(0,o.A)(t))}else e.push(t)}(t[r]);e.length?(n=x(e),f(e,n)):f(null,l)},l)}},{key:"getType",value:function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!=typeof t.validator&&t.type&&!H.hasOwnProperty(t.type))throw Error(w("Unknown rule type %s",t.type));return t.type||"string"}},{key:"getValidationMethod",value:function(t){if("function"==typeof t.validator)return t.validator;var e=Object.keys(t),n=e.indexOf("message");return(-1!==n&&e.splice(n,1),1===e.length&&"required"===e[0])?H.required:H[this.getType(t)]||void 0}}]),t}();(0,u.A)(V,"register",function(t,e){if("function"!=typeof e)throw Error("Cannot register a validator by type, validator is not a function");H[t]=e}),(0,u.A)(V,"warning",function(){}),(0,u.A)(V,"messages",h),(0,u.A)(V,"validators",H);let U=V},54930:function(t,e,n){"use strict";n.d(e,{Ho:()=>d,q6:()=>u,NT:()=>c});var r=n(41183),i=n(18106),o=n(57975),a=n(39184),s=n(22155),l=n(70316);function u(t){var e=s.createContext(void 0);return{Context:e,Provider:function(t){var n=t.value,i=t.children,a=s.useRef(n);a.current=n;var u=s.useState(function(){return{getValue:function(){return a.current},listeners:new Set}}),c=(0,r.A)(u,1)[0];return(0,o.A)(function(){(0,l.unstable_batchedUpdates)(function(){c.listeners.forEach(function(t){t(n)})})},[n]),s.createElement(e.Provider,{value:c},i)},defaultValue:t}}function c(t,e){var n=(0,i.A)("function"==typeof e?e:function(t){if(void 0===e)return t;if(!Array.isArray(e))return t[e];var n={};return e.forEach(function(e){n[e]=t[e]}),n}),l=s.useContext(null==t?void 0:t.Context),u=l||{},c=u.listeners,h=u.getValue,f=s.useRef();f.current=n(l?h():null==t?void 0:t.defaultValue);var d=s.useState({}),p=(0,r.A)(d,2)[1];return(0,o.A)(function(){if(l)return c.add(t),function(){c.delete(t)};function t(t){var e=n(t);(0,a.A)(f.current,e,!0)||p({})}},[l]),f.current}var h=n(16865),f=n(185);function d(){var t=s.createContext(null);function e(){return s.useContext(t)}return{makeImmutable:function(n,r){var i=(0,f.f3)(n),o=function(o,a){var l=i?{ref:a}:{},u=s.useRef(0),c=s.useRef(o);return null!==e()?s.createElement(n,(0,h.A)({},o,l)):((!r||r(c.current,o))&&(u.current+=1),c.current=o,s.createElement(t.Provider,{value:u.current},s.createElement(n,(0,h.A)({},o,l))))};return i?s.forwardRef(o):o},responseImmutable:function(t,n){var r=(0,f.f3)(t),i=function(n,i){return e(),s.createElement(t,(0,h.A)({},n,r?{ref:i}:{}))};return r?s.memo(s.forwardRef(i),n):s.memo(i,n)},useImmutableMark:e}}var p=d();p.makeImmutable,p.responseImmutable,p.useImmutableMark},5590:function(t,e,n){"use strict";n.d(e,{Ay:()=>c,Mg:()=>function t(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var o=(0,a.OM)(e),s=o.negativeStr,l=o.integerStr,u=o.decimalStr,h="".concat(n).concat(u),f="".concat(s).concat(l);if(r>=0){var d=Number(u[r]);return d>=5&&!i?t(c(e).add("".concat(s,"0.").concat("0".repeat(r)).concat(10-d)).toString(),n,r,i):0===r?f:"".concat(f).concat(n).concat(u.padEnd(r,"0").slice(0,r))}return".0"===h?f:"".concat(f).concat(h)}});var r=n(25666),i=n(13012),o=n(24412),a=n(77750),s=function(){function t(e){if((0,r.A)(this,t),(0,o.A)(this,"origin",""),(0,o.A)(this,"negative",void 0),(0,o.A)(this,"integer",void 0),(0,o.A)(this,"decimal",void 0),(0,o.A)(this,"decimalLen",void 0),(0,o.A)(this,"empty",void 0),(0,o.A)(this,"nan",void 0),(0,a.Im)(e)){this.empty=!0;return}if(this.origin=String(e),"-"===e||Number.isNaN(e)){this.nan=!0;return}var n=e;if((0,a.Yf)(n)&&(n=Number(n)),n="string"==typeof n?n:(0,a.yH)(n),(0,a.yb)(n)){var i=(0,a.OM)(n);this.negative=i.negative;var s=i.trimStr.split(".");this.integer=BigInt(s[0]);var l=s[1]||"0";this.decimal=BigInt(l),this.decimalLen=l.length}else this.nan=!0}return(0,i.A)(t,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(t){return BigInt("".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(t,"0")))}},{key:"negate",value:function(){var e=new t(this.toString());return e.negative=!e.negative,e}},{key:"cal",value:function(e,n,r){var i=Math.max(this.getDecimalStr().length,e.getDecimalStr().length),o=n(this.alignDecimal(i),e.alignDecimal(i)).toString(),s=r(i),l=(0,a.OM)(o),u=l.negativeStr,c=l.trimStr,h="".concat(u).concat(c.padStart(s+1,"0"));return new t("".concat(h.slice(0,-s),".").concat(h.slice(-s)))}},{key:"add",value:function(e){if(this.isInvalidate())return new t(e);var n=new t(e);return n.isInvalidate()?this:this.cal(n,function(t,e){return t+e},function(t){return t})}},{key:"multi",value:function(e){var n=new t(e);return this.isInvalidate()||n.isInvalidate()?new t(NaN):this.cal(n,function(t,e){return t*e},function(t){return 2*t})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(t){return this.toString()===(null==t?void 0:t.toString())}},{key:"lessEquals",value:function(t){return 0>=this.add(t.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return t?this.isInvalidate()?"":(0,a.OM)("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),t}(),l=function(){function t(e){if((0,r.A)(this,t),(0,o.A)(this,"origin",""),(0,o.A)(this,"number",void 0),(0,o.A)(this,"empty",void 0),(0,a.Im)(e)){this.empty=!0;return}this.origin=String(e),this.number=Number(e)}return(0,i.A)(t,[{key:"negate",value:function(){return new t(-this.toNumber())}},{key:"add",value:function(e){if(this.isInvalidate())return new t(e);var n=Number(e);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new t(Number.MAX_SAFE_INTEGER);if(r<Number.MIN_SAFE_INTEGER)return new t(Number.MIN_SAFE_INTEGER);var i=Math.max((0,a.i5)(this.number),(0,a.i5)(n));return new t(r.toFixed(i))}},{key:"multi",value:function(e){var n=Number(e);if(this.isInvalidate()||Number.isNaN(n))return new t(NaN);var r=this.number*n;if(r>Number.MAX_SAFE_INTEGER)return new t(Number.MAX_SAFE_INTEGER);if(r<Number.MIN_SAFE_INTEGER)return new t(Number.MIN_SAFE_INTEGER);var i=Math.max((0,a.i5)(this.number),(0,a.i5)(n));return new t(r.toFixed(i))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(t){return this.toNumber()===(null==t?void 0:t.toNumber())}},{key:"lessEquals",value:function(t){return 0>=this.add(t.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return t?this.isInvalidate()?"":(0,a.yH)(this.number):this.origin}}]),t}(),u=n(95888);function c(t){return(0,u.r)()?new s(t):new l(t)}},54387:function(t,e,n){"use strict";n.d(e,{Ay:()=>r});let r=n(5590).Ay},77750:function(t,e,n){"use strict";n.d(e,{Im:()=>i,OM:()=>o,Yf:()=>a,i5:()=>s,yH:()=>l,yb:()=>u});var r=n(95888);function i(t){return!t&&0!==t&&!Number.isNaN(t)||!String(t).trim()}function o(t){var e=t.trim(),n=e.startsWith("-");n&&(e=e.slice(1)),(e=e.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(e="0".concat(e));var r=e||"0",i=r.split("."),o=i[0]||"0",a=i[1]||"0";"0"===o&&"0"===a&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:o,decimalStr:a,fullStr:"".concat(s).concat(r)}}function a(t){var e=String(t);return!Number.isNaN(Number(e))&&e.includes("e")}function s(t){var e=String(t);if(a(t)){var n=Number(e.slice(e.indexOf("e-")+2)),r=e.match(/\.(\d+)/);return null!=r&&r[1]&&(n+=r[1].length),n}return e.includes(".")&&u(e)?e.length-e.indexOf(".")-1:0}function l(t){var e=String(t);if(a(t)){if(t>Number.MAX_SAFE_INTEGER)return String((0,r.r)()?BigInt(t).toString():Number.MAX_SAFE_INTEGER);if(t<Number.MIN_SAFE_INTEGER)return String((0,r.r)()?BigInt(t).toString():Number.MIN_SAFE_INTEGER);e=t.toFixed(s(e))}return o(e).fullStr}function u(t){return"number"==typeof t?!Number.isNaN(t):!!t&&(/^\s*-?\d+(\.\d+)?\s*$/.test(t)||/^\s*-?\d+\.\s*$/.test(t)||/^\s*-?\.\d+\s*$/.test(t))}},95888:function(t,e,n){"use strict";function r(){return"function"==typeof BigInt}n.d(e,{r:()=>r})},87149:function(t,e,n){"use strict";n.d(e,{A:()=>v});var r=n(41183),i=n(22155),o=n(70316),a=n(1568);n(76400);var s=n(185),l=i.createContext(null),u=n(30997),c=n(57975),h=[],f=n(36283),d=n(57621),p="rc-util-locker-".concat(Date.now()),g=0,y=function(t){return!1!==t&&((0,a.A)()&&t?"string"==typeof t?document.querySelector(t):"function"==typeof t?t():t:null)};let v=i.forwardRef(function(t,e){var n,v,m,_=t.open,b=t.autoLock,x=t.getContainer,w=(t.debug,t.autoDestroy),S=void 0===w||w,A=t.children,M=i.useState(_),k=(0,r.A)(M,2),T=k[0],C=k[1],O=T||_;i.useEffect(function(){(S||_)&&C(_)},[_,S]);var I=i.useState(function(){return y(x)}),E=(0,r.A)(I,2),D=E[0],R=E[1];i.useEffect(function(){var t=y(x);R(null!=t?t:null)});var L=function(t,e){var n=i.useState(function(){return(0,a.A)()?document.createElement("div"):null}),o=(0,r.A)(n,1)[0],s=i.useRef(!1),f=i.useContext(l),d=i.useState(h),p=(0,r.A)(d,2),g=p[0],y=p[1],v=f||(s.current?void 0:function(t){y(function(e){return[t].concat((0,u.A)(e))})});function m(){o.parentElement||document.body.appendChild(o),s.current=!0}function _(){var t;null==(t=o.parentElement)||t.removeChild(o),s.current=!1}return(0,c.A)(function(){return t?f?f(m):m():_(),_},[t]),(0,c.A)(function(){g.length&&(g.forEach(function(t){return t()}),y(h))},[g]),[o,v]}(O&&!D,0),P=(0,r.A)(L,2),N=P[0],B=P[1],F=null!=D?D:N;n=!!(b&&_&&(0,a.A)()&&(F===N||F===document.body)),v=i.useState(function(){return g+=1,"".concat(p,"_").concat(g)}),m=(0,r.A)(v,1)[0],(0,c.A)(function(){if(n){var t=(0,d.V)(document.body).width,e=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,f.BD)("\nhtml body {\n overflow-y: hidden;\n ".concat(e?"width: calc(100% - ".concat(t,"px);"):"","\n}"),m)}else(0,f.m6)(m);return function(){(0,f.m6)(m)}},[n,m]);var j=null;A&&(0,s.f3)(A)&&e&&(j=A.ref);var z=(0,s.xK)(j,e);if(!O||!(0,a.A)()||void 0===D)return null;var H=!1===F,V=A;return e&&(V=i.cloneElement(A,{ref:z})),i.createElement(l.Provider,{value:B},H?V:(0,o.createPortal)(V,F))})},13058:function(t,e,n){"use strict";n.d(e,{A:()=>H});var r=n(27210),i=n(41183),o=n(74900),a=n(87149),s=n(38487),l=n.n(s),u=n(38163),c=n(12994),h=n(8507),f=n(18106),d=n(22449),p=n(57975),g=n(73976),y=n(22155),v=n(16865),m=n(69219),_=n(185);function b(t){var e=t.prefixCls,n=t.align,r=t.arrow,i=t.arrowPos,o=r||{},a=o.className,s=o.content,u=i.x,c=i.y,h=y.useRef();if(!n||!n.points)return null;var f={position:"absolute"};if(!1!==n.autoArrow){var d=n.points[0],p=n.points[1],g=d[0],v=d[1],m=p[0],_=p[1];g!==m&&["t","b"].includes(g)?"t"===g?f.top=0:f.bottom=0:f.top=void 0===c?0:c,v!==_&&["l","r"].includes(v)?"l"===v?f.left=0:f.right=0:f.left=void 0===u?0:u}return y.createElement("div",{ref:h,className:l()("".concat(e,"-arrow"),a),style:f},s)}function x(t){var e=t.prefixCls,n=t.open,r=t.zIndex,i=t.mask,o=t.motion;return i?y.createElement(m.default,(0,v.A)({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(t){var n=t.className;return y.createElement("div",{style:{zIndex:r},className:l()("".concat(e,"-mask"),n)})}):null}var w=y.memo(function(t){return t.children},function(t,e){return e.cache}),S=y.forwardRef(function(t,e){var n=t.popup,o=t.className,a=t.prefixCls,s=t.style,c=t.target,h=t.onVisibleChanged,f=t.open,d=t.keepDom,g=t.fresh,S=t.onClick,A=t.mask,M=t.arrow,k=t.arrowPos,T=t.align,C=t.motion,O=t.maskMotion,I=t.forceRender,E=t.getPopupContainer,D=t.autoDestroy,R=t.portal,L=t.zIndex,P=t.onMouseEnter,N=t.onMouseLeave,B=t.onPointerEnter,F=t.onPointerDownCapture,j=t.ready,z=t.offsetX,H=t.offsetY,V=t.offsetR,U=t.offsetB,W=t.onAlign,q=t.onPrepare,G=t.stretch,Z=t.targetWidth,Y=t.targetHeight,$="function"==typeof n?n():n,X=f||d,K=(null==E?void 0:E.length)>0,J=y.useState(!E||!K),Q=(0,i.A)(J,2),tt=Q[0],te=Q[1];if((0,p.A)(function(){!tt&&K&&c&&te(!0)},[tt,K,c]),!tt)return null;var tn="auto",tr={left:"-1000vw",top:"-1000vh",right:tn,bottom:tn};if(j||!f){var ti,to=T.points,ta=T.dynamicInset||(null==(ti=T._experimental)?void 0:ti.dynamicInset),ts=ta&&"r"===to[0][1],tl=ta&&"b"===to[0][0];ts?(tr.right=V,tr.left=tn):(tr.left=z,tr.right=tn),tl?(tr.bottom=U,tr.top=tn):(tr.top=H,tr.bottom=tn)}var tu={};return G&&(G.includes("height")&&Y?tu.height=Y:G.includes("minHeight")&&Y&&(tu.minHeight=Y),G.includes("width")&&Z?tu.width=Z:G.includes("minWidth")&&Z&&(tu.minWidth=Z)),f||(tu.pointerEvents="none"),y.createElement(R,{open:I||X,getContainer:E&&function(){return E(c)},autoDestroy:D},y.createElement(x,{prefixCls:a,open:f,zIndex:L,mask:A,motion:O}),y.createElement(u.default,{onResize:W,disabled:!f},function(t){return y.createElement(m.default,(0,v.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:I,leavedClassName:"".concat(a,"-hidden")},C,{onAppearPrepare:q,onEnterPrepare:q,visible:f,onVisibleChanged:function(t){var e;null==C||null==(e=C.onVisibleChanged)||e.call(C,t),h(t)}}),function(n,i){var u=n.className,c=n.style,h=l()(a,u,o);return y.createElement("div",{ref:(0,_.K4)(t,e,i),className:h,style:(0,r.A)((0,r.A)((0,r.A)((0,r.A)({"--arrow-x":"".concat(k.x||0,"px"),"--arrow-y":"".concat(k.y||0,"px")},tr),tu),c),{},{boxSizing:"border-box",zIndex:L},s),onMouseEnter:P,onMouseLeave:N,onPointerEnter:B,onClick:S,onPointerDownCapture:F},M&&y.createElement(b,{prefixCls:a,arrow:M,arrowPos:k,align:T}),y.createElement(w,{cache:!f&&!g},$))})}))}),A=y.forwardRef(function(t,e){var n=t.children,r=t.getTriggerDOMNode,i=(0,_.f3)(n),o=y.useCallback(function(t){(0,_.Xf)(e,r?r(t):t)},[r]),a=(0,_.xK)(o,(0,_.A9)(n));return i?y.cloneElement(n,{ref:a}):n}),M=y.createContext(null);function k(t){return t?Array.isArray(t)?t:[t]:[]}var T=n(56869);function C(t,e,n,r){return e||(n?{motionName:"".concat(t,"-").concat(n)}:r?{motionName:r}:null)}function O(t){return t.ownerDocument.defaultView}function I(t){for(var e=[],n=null==t?void 0:t.parentElement,r=["hidden","scroll","clip","auto"];n;){var i=O(n).getComputedStyle(n);[i.overflowX,i.overflowY,i.overflow].some(function(t){return r.includes(t)})&&e.push(n),n=n.parentElement}return e}function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(t)?e:t}function D(t){return E(parseFloat(t),0)}function R(t,e){var n=(0,r.A)({},t);return(e||[]).forEach(function(t){if(!(t instanceof HTMLBodyElement||t instanceof HTMLHtmlElement)){var e=O(t).getComputedStyle(t),r=e.overflow,i=e.overflowClipMargin,o=e.borderTopWidth,a=e.borderBottomWidth,s=e.borderLeftWidth,l=e.borderRightWidth,u=t.getBoundingClientRect(),c=t.offsetHeight,h=t.clientHeight,f=t.offsetWidth,d=t.clientWidth,p=D(o),g=D(a),y=D(s),v=D(l),m=E(Math.round(u.width/f*1e3)/1e3),_=E(Math.round(u.height/c*1e3)/1e3),b=p*_,x=y*m,w=0,S=0;if("clip"===r){var A=D(i);w=A*m,S=A*_}var M=u.x+x-w,k=u.y+b-S,T=M+u.width+2*w-x-v*m-(f-d-y-v)*m,C=k+u.height+2*S-b-g*_-(c-h-p-g)*_;n.left=Math.max(n.left,M),n.top=Math.max(n.top,k),n.right=Math.min(n.right,T),n.bottom=Math.min(n.bottom,C)}}),n}function L(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(e),r=n.match(/^(.*)\%$/);return r?t*(parseFloat(r[1])/100):parseFloat(n)}function P(t,e){var n=(0,i.A)(e||[],2),r=n[0],o=n[1];return[L(t.width,r),L(t.height,o)]}function N(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[t[0],t[1]]}function B(t,e){var n,r=e[0],i=e[1];return n="t"===r?t.y:"b"===r?t.y+t.height:t.y+t.height/2,{x:"l"===i?t.x:"r"===i?t.x+t.width:t.x+t.width/2,y:n}}function F(t,e){var n={t:"b",b:"t",l:"r",r:"l"};return t.map(function(t,r){return r===e?n[t]||"c":t}).join("")}var j=n(30997);n(76400);var z=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];let H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.A;return y.forwardRef(function(e,n){var a,s,v,m,_,b,x,w,D,L,H,V,U,W,q,G,Z,Y=e.prefixCls,$=void 0===Y?"rc-trigger-popup":Y,X=e.children,K=e.action,J=e.showAction,Q=e.hideAction,tt=e.popupVisible,te=e.defaultPopupVisible,tn=e.onPopupVisibleChange,tr=e.afterPopupVisibleChange,ti=e.mouseEnterDelay,to=e.mouseLeaveDelay,ta=void 0===to?.1:to,ts=e.focusDelay,tl=e.blurDelay,tu=e.mask,tc=e.maskClosable,th=e.getPopupContainer,tf=e.forceRender,td=e.autoDestroy,tp=e.destroyPopupOnHide,tg=e.popup,ty=e.popupClassName,tv=e.popupStyle,tm=e.popupPlacement,t_=e.builtinPlacements,tb=void 0===t_?{}:t_,tx=e.popupAlign,tw=e.zIndex,tS=e.stretch,tA=e.getPopupClassNameFromAlign,tM=e.fresh,tk=e.alignPoint,tT=e.onPopupClick,tC=e.onPopupAlign,tO=e.arrow,tI=e.popupMotion,tE=e.maskMotion,tD=e.popupTransitionName,tR=e.popupAnimation,tL=e.maskTransitionName,tP=e.maskAnimation,tN=e.className,tB=e.getTriggerDOMNode,tF=(0,o.A)(e,z),tj=y.useState(!1),tz=(0,i.A)(tj,2),tH=tz[0],tV=tz[1];(0,p.A)(function(){tV((0,g.A)())},[]);var tU=y.useRef({}),tW=y.useContext(M),tq=y.useMemo(function(){return{registerSubPopup:function(t,e){tU.current[t]=e,null==tW||tW.registerSubPopup(t,e)}}},[tW]),tG=(0,d.A)(),tZ=y.useState(null),tY=(0,i.A)(tZ,2),t$=tY[0],tX=tY[1],tK=y.useRef(null),tJ=(0,f.A)(function(t){tK.current=t,(0,c.fk)(t)&&t$!==t&&tX(t),null==tW||tW.registerSubPopup(tG,t)}),tQ=y.useState(null),t0=(0,i.A)(tQ,2),t1=t0[0],t2=t0[1],t5=y.useRef(null),t3=(0,f.A)(function(t){(0,c.fk)(t)&&t1!==t&&(t2(t),t5.current=t)}),t6=y.Children.only(X),t4=(null==t6?void 0:t6.props)||{},t8={},t9=(0,f.A)(function(t){var e,n;return(null==t1?void 0:t1.contains(t))||(null==(e=(0,h.j)(t1))?void 0:e.host)===t||t===t1||(null==t$?void 0:t$.contains(t))||(null==(n=(0,h.j)(t$))?void 0:n.host)===t||t===t$||Object.values(tU.current).some(function(e){return(null==e?void 0:e.contains(t))||t===e})}),t7=C($,tI,tR,tD),et=C($,tE,tP,tL),ee=y.useState(te||!1),en=(0,i.A)(ee,2),er=en[0],ei=en[1],eo=null!=tt?tt:er,ea=(0,f.A)(function(t){void 0===tt&&ei(t)});(0,p.A)(function(){ei(tt||!1)},[tt]);var es=y.useRef(eo);es.current=eo;var el=y.useRef([]);el.current=[];var eu=(0,f.A)(function(t){var e;ea(t),(null!=(e=el.current[el.current.length-1])?e:eo)!==t&&(el.current.push(t),null==tn||tn(t))}),ec=y.useRef(),eh=function(){clearTimeout(ec.current)},ef=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;eh(),0===e?eu(t):ec.current=setTimeout(function(){eu(t)},1e3*e)};y.useEffect(function(){return eh},[]);var ed=y.useState(!1),ep=(0,i.A)(ed,2),eg=ep[0],ey=ep[1];(0,p.A)(function(t){(!t||eo)&&ey(!0)},[eo]);var ev=y.useState(null),em=(0,i.A)(ev,2),e_=em[0],eb=em[1],ex=y.useState(null),ew=(0,i.A)(ex,2),eS=ew[0],eA=ew[1],eM=function(t){eA([t.clientX,t.clientY])},ek=(a=tk&&null!==eS?eS:t1,s=y.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:tb[tm]||{}}),m=(v=(0,i.A)(s,2))[0],_=v[1],b=y.useRef(0),x=y.useMemo(function(){return t$?I(t$):[]},[t$]),w=y.useRef({}),eo||(w.current={}),D=(0,f.A)(function(){if(t$&&a&&eo){var t=t$.ownerDocument,e=O(t$).getComputedStyle(t$),n=e.width,o=e.height,s=e.position,l=t$.style.left,u=t$.style.top,h=t$.style.right,f=t$.style.bottom,d=t$.style.overflow,p=(0,r.A)((0,r.A)({},tb[tm]),tx),g=t.createElement("div");if(null==(S=t$.parentElement)||S.appendChild(g),g.style.left="".concat(t$.offsetLeft,"px"),g.style.top="".concat(t$.offsetTop,"px"),g.style.position=s,g.style.height="".concat(t$.offsetHeight,"px"),g.style.width="".concat(t$.offsetWidth,"px"),t$.style.left="0",t$.style.top="0",t$.style.right="auto",t$.style.bottom="auto",t$.style.overflow="hidden",Array.isArray(a))C={x:a[0],y:a[1],width:0,height:0};else{var y,v,m,b,S,A,M,k,C,I,D,L=a.getBoundingClientRect();L.x=null!=(I=L.x)?I:L.left,L.y=null!=(D=L.y)?D:L.top,C={x:L.x,y:L.y,width:L.width,height:L.height}}var j=t$.getBoundingClientRect();j.x=null!=(A=j.x)?A:j.left,j.y=null!=(M=j.y)?M:j.top;var z=t.documentElement,H=z.clientWidth,V=z.clientHeight,U=z.scrollWidth,W=z.scrollHeight,q=z.scrollTop,G=z.scrollLeft,Z=j.height,Y=j.width,$=C.height,X=C.width,K=p.htmlRegion,J="visible",Q="visibleFirst";"scroll"!==K&&K!==Q&&(K=J);var tt=K===Q,te=R({left:-G,top:-q,right:U-G,bottom:W-q},x),tn=R({left:0,top:0,right:H,bottom:V},x),tr=K===J?tn:te,ti=tt?tn:tr;t$.style.left="auto",t$.style.top="auto",t$.style.right="0",t$.style.bottom="0";var to=t$.getBoundingClientRect();t$.style.left=l,t$.style.top=u,t$.style.right=h,t$.style.bottom=f,t$.style.overflow=d,null==(k=t$.parentElement)||k.removeChild(g);var ta=E(Math.round(Y/parseFloat(n)*1e3)/1e3),ts=E(Math.round(Z/parseFloat(o)*1e3)/1e3);if(!(0===ta||0===ts||(0,c.fk)(a)&&!(0,T.A)(a))){var tl=p.offset,tu=p.targetOffset,tc=P(j,tl),th=(0,i.A)(tc,2),tf=th[0],td=th[1],tp=P(C,tu),tg=(0,i.A)(tp,2),ty=tg[0],tv=tg[1];C.x-=ty,C.y-=tv;var t_=p.points||[],tw=(0,i.A)(t_,2),tS=tw[0],tA=N(tw[1]),tM=N(tS),tk=B(C,tA),tT=B(j,tM),tO=(0,r.A)({},p),tI=tk.x-tT.x+tf,tE=tk.y-tT.y+td,tD=ec(tI,tE),tR=ec(tI,tE,tn),tL=B(C,["t","l"]),tP=B(j,["t","l"]),tN=B(C,["b","r"]),tB=B(j,["b","r"]),tF=p.overflow||{},tj=tF.adjustX,tz=tF.adjustY,tH=tF.shiftX,tV=tF.shiftY,tU=function(t){return"boolean"==typeof t?t:t>=0};eh();var tW=tU(tz),tq=tM[0]===tA[0];if(tW&&"t"===tM[0]&&(v>ti.bottom||w.current.bt)){var tG=tE;tq?tG-=Z-$:tG=tL.y-tB.y-td;var tZ=ec(tI,tG),tY=ec(tI,tG,tn);tZ>tD||tZ===tD&&(!tt||tY>=tR)?(w.current.bt=!0,tE=tG,td=-td,tO.points=[F(tM,0),F(tA,0)]):w.current.bt=!1}if(tW&&"b"===tM[0]&&(y<ti.top||w.current.tb)){var tX=tE;tq?tX+=Z-$:tX=tN.y-tP.y-td;var tK=ec(tI,tX),tJ=ec(tI,tX,tn);tK>tD||tK===tD&&(!tt||tJ>=tR)?(w.current.tb=!0,tE=tX,td=-td,tO.points=[F(tM,0),F(tA,0)]):w.current.tb=!1}var tQ=tU(tj),t0=tM[1]===tA[1];if(tQ&&"l"===tM[1]&&(b>ti.right||w.current.rl)){var t1=tI;t0?t1-=Y-X:t1=tL.x-tB.x-tf;var t2=ec(t1,tE),t5=ec(t1,tE,tn);t2>tD||t2===tD&&(!tt||t5>=tR)?(w.current.rl=!0,tI=t1,tf=-tf,tO.points=[F(tM,1),F(tA,1)]):w.current.rl=!1}if(tQ&&"r"===tM[1]&&(m<ti.left||w.current.lr)){var t3=tI;t0?t3+=Y-X:t3=tN.x-tP.x-tf;var t6=ec(t3,tE),t4=ec(t3,tE,tn);t6>tD||t6===tD&&(!tt||t4>=tR)?(w.current.lr=!0,tI=t3,tf=-tf,tO.points=[F(tM,1),F(tA,1)]):w.current.lr=!1}eh();var t8=!0===tH?0:tH;"number"==typeof t8&&(m<tn.left&&(tI-=m-tn.left-tf,C.x+X<tn.left+t8&&(tI+=C.x-tn.left+X-t8)),b>tn.right&&(tI-=b-tn.right-tf,C.x>tn.right-t8&&(tI+=C.x-tn.right+t8)));var t9=!0===tV?0:tV;"number"==typeof t9&&(y<tn.top&&(tE-=y-tn.top-td,C.y+$<tn.top+t9&&(tE+=C.y-tn.top+$-t9)),v>tn.bottom&&(tE-=v-tn.bottom-td,C.y>tn.bottom-t9&&(tE+=C.y-tn.bottom+t9)));var t7=j.x+tI,et=j.y+tE,ee=C.x,en=C.y,er=Math.max(t7,ee),ei=Math.min(t7+Y,ee+X),ea=Math.max(et,en),es=Math.min(et+Z,en+$);null==tC||tC(t$,tO);var el=to.right-j.x-(tI+j.width),eu=to.bottom-j.y-(tE+j.height);1===ta&&(tI=Math.round(tI),el=Math.round(el)),1===ts&&(tE=Math.round(tE),eu=Math.round(eu)),_({ready:!0,offsetX:tI/ta,offsetY:tE/ts,offsetR:el/ta,offsetB:eu/ts,arrowX:((er+ei)/2-t7)/ta,arrowY:((ea+es)/2-et)/ts,scaleX:ta,scaleY:ts,align:tO})}function ec(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tr,r=j.x+t,i=j.y+e,o=Math.max(r,n.left),a=Math.max(i,n.top);return Math.max(0,(Math.min(r+Y,n.right)-o)*(Math.min(i+Z,n.bottom)-a))}function eh(){v=(y=j.y+tE)+Z,b=(m=j.x+tI)+Y}}}),L=function(){_(function(t){return(0,r.A)((0,r.A)({},t),{},{ready:!1})})},(0,p.A)(L,[tm]),(0,p.A)(function(){eo||L()},[eo]),[m.ready,m.offsetX,m.offsetY,m.offsetR,m.offsetB,m.arrowX,m.arrowY,m.scaleX,m.scaleY,m.align,function(){b.current+=1;var t=b.current;Promise.resolve().then(function(){b.current===t&&D()})}]),eT=(0,i.A)(ek,11),eC=eT[0],eO=eT[1],eI=eT[2],eE=eT[3],eD=eT[4],eR=eT[5],eL=eT[6],eP=eT[7],eN=eT[8],eB=eT[9],eF=eT[10],ej=(H=void 0===K?"hover":K,y.useMemo(function(){var t=k(null!=J?J:H),e=k(null!=Q?Q:H),n=new Set(t),r=new Set(e);return tH&&(n.has("hover")&&(n.delete("hover"),n.add("click")),r.has("hover")&&(r.delete("hover"),r.add("click"))),[n,r]},[tH,H,J,Q])),ez=(0,i.A)(ej,2),eH=ez[0],eV=ez[1],eU=eH.has("click"),eW=eV.has("click")||eV.has("contextMenu"),eq=(0,f.A)(function(){eg||eF()});V=function(){es.current&&tk&&eW&&ef(!1)},(0,p.A)(function(){if(eo&&t1&&t$){var t=I(t1),e=I(t$),n=O(t$),r=new Set([n].concat((0,j.A)(t),(0,j.A)(e)));function i(){eq(),V()}return r.forEach(function(t){t.addEventListener("scroll",i,{passive:!0})}),n.addEventListener("resize",i,{passive:!0}),eq(),function(){r.forEach(function(t){t.removeEventListener("scroll",i),n.removeEventListener("resize",i)})}}},[eo,t1,t$]),(0,p.A)(function(){eq()},[eS,tm]),(0,p.A)(function(){eo&&!(null!=tb&&tb[tm])&&eq()},[JSON.stringify(tx)]);var eG=y.useMemo(function(){var t=function(t,e,n,r){for(var i=n.points,o=Object.keys(t),a=0;a<o.length;a+=1){var s,l=o[a];if(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}(null==(s=t[l])?void 0:s.points,i,r))return"".concat(e,"-placement-").concat(l)}return""}(tb,$,eB,tk);return l()(t,null==tA?void 0:tA(eB))},[eB,tA,tb,$,tk]);y.useImperativeHandle(n,function(){return{nativeElement:t5.current,popupElement:tK.current,forceAlign:eq}});var eZ=y.useState(0),eY=(0,i.A)(eZ,2),e$=eY[0],eX=eY[1],eK=y.useState(0),eJ=(0,i.A)(eK,2),eQ=eJ[0],e0=eJ[1],e1=function(){if(tS&&t1){var t=t1.getBoundingClientRect();eX(t.width),e0(t.height)}};function e2(t,e,n,r){t8[t]=function(i){var o;null==r||r(i),ef(e,n);for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];null==(o=t4[t])||o.call.apply(o,[t4,i].concat(s))}}(0,p.A)(function(){e_&&(eF(),e_(),eb(null))},[e_]),(eU||eW)&&(t8.onClick=function(t){var e;es.current&&eW?ef(!1):!es.current&&eU&&(eM(t),ef(!0));for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];null==(e=t4.onClick)||e.call.apply(e,[t4,t].concat(r))});var e5=(U=void 0===tc||tc,(W=y.useRef(eo)).current=eo,q=y.useRef(!1),y.useEffect(function(){if(eW&&t$&&(!tu||U)){var t=function(){q.current=!1},e=function(t){var e;!W.current||t9((null==(e=t.composedPath)||null==(e=e.call(t))?void 0:e[0])||t.target)||q.current||ef(!1)},n=O(t$);n.addEventListener("pointerdown",t,!0),n.addEventListener("mousedown",e,!0),n.addEventListener("contextmenu",e,!0);var r=(0,h.j)(t1);return r&&(r.addEventListener("mousedown",e,!0),r.addEventListener("contextmenu",e,!0)),function(){n.removeEventListener("pointerdown",t,!0),n.removeEventListener("mousedown",e,!0),n.removeEventListener("contextmenu",e,!0),r&&(r.removeEventListener("mousedown",e,!0),r.removeEventListener("contextmenu",e,!0))}}},[eW,t1,t$,tu,U]),function(){q.current=!0}),e3=eH.has("hover"),e6=eV.has("hover");e3&&(e2("onMouseEnter",!0,ti,function(t){eM(t)}),e2("onPointerEnter",!0,ti,function(t){eM(t)}),G=function(t){(eo||eg)&&null!=t$&&t$.contains(t.target)&&ef(!0,ti)},tk&&(t8.onMouseMove=function(t){var e;null==(e=t4.onMouseMove)||e.call(t4,t)})),e6&&(e2("onMouseLeave",!1,ta),e2("onPointerLeave",!1,ta),Z=function(){ef(!1,ta)}),eH.has("focus")&&e2("onFocus",!0,ts),eV.has("focus")&&e2("onBlur",!1,tl),eH.has("contextMenu")&&(t8.onContextMenu=function(t){var e;es.current&&eV.has("contextMenu")?ef(!1):(eM(t),ef(!0)),t.preventDefault();for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];null==(e=t4.onContextMenu)||e.call.apply(e,[t4,t].concat(r))}),tN&&(t8.className=l()(t4.className,tN));var e4=(0,r.A)((0,r.A)({},t4),t8),e8={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(function(t){tF[t]&&(e8[t]=function(){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];null==(e=e4[t])||e.call.apply(e,[e4].concat(r)),tF[t].apply(tF,r)})});var e9=y.cloneElement(t6,(0,r.A)((0,r.A)({},e4),e8)),e7=tO?(0,r.A)({},!0!==tO?tO:{}):null;return y.createElement(y.Fragment,null,y.createElement(u.default,{disabled:!eo,ref:t3,onResize:function(){e1(),eq()}},y.createElement(A,{getTriggerDOMNode:tB},e9)),y.createElement(M.Provider,{value:tq},y.createElement(S,{portal:t,ref:tJ,prefixCls:$,popup:tg,className:l()(ty,eG),style:tv,target:t1,onMouseEnter:G,onMouseLeave:Z,onPointerEnter:G,zIndex:tw,open:eo,keepDom:eg,fresh:tM,onClick:tT,onPointerDownCapture:e5,mask:tu,motion:t7,maskMotion:et,onVisibleChanged:function(t){ey(!1),eF(),null==tr||tr(t)},onPrepare:function(){return new Promise(function(t){e1(),eb(function(){return t})})},forceRender:tf,autoDestroy:td||tp||!1,getPopupContainer:th,align:eB,arrow:e7,arrowPos:{x:eR,y:eL},ready:eC,offsetX:eO,offsetY:eI,offsetR:eE,offsetB:eD,onAlign:eq,stretch:tS,targetWidth:e$/eP,targetHeight:eQ/eN})))})}(a.A)},63062:function(t,e,n){"use strict";var r,i,o,a;function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,{Gh:()=>w,HS:()=>S,Rr:()=>d,TM:()=>u,V1:()=>m,pX:()=>O,pb:()=>v,rc:()=>r,sd:()=>x,tH:()=>T,ue:()=>p}),(o=r||(r={})).Pop="POP",o.Push="PUSH",o.Replace="REPLACE";let l="popstate";function u(t){return void 0===t&&(t={}),function(t,e,n,i){void 0===i&&(i={});let{window:o=document.defaultView,v5Compat:a=!1}=i,u=o.history,d=r.Pop,p=null;function g(){d=r.Pop,p&&p({action:d,location:y.location})}let y={get action(){return d},get location(){return t(o,u)},listen(t){if(p)throw Error("A history only accepts one active listener");return o.addEventListener(l,g),p=t,()=>{o.removeEventListener(l,g),p=null}},createHref:t=>e(o,t),encodeLocation(t){var e;let n,r=(e=f(t),n="undefined"!=typeof window&&void 0!==window.location&&"null"!==window.location.origin?window.location.origin:"unknown://unknown",new URL("string"==typeof e?e:f(e),n));return s({},t,{pathname:r.pathname,search:r.search,hash:r.hash})},push:function(t,e){d=r.Push;let i=h(y.location,t,e);n&&n(i,t);let s=c(i),l=y.createHref(i);try{u.pushState(s,"",l)}catch(t){o.location.assign(l)}a&&p&&p({action:d,location:y.location})},replace:function(t,e){d=r.Replace;let i=h(y.location,t,e);n&&n(i,t);let o=c(i),s=y.createHref(i);u.replaceState(o,"",s),a&&p&&p({action:d,location:y.location})},go:t=>u.go(t)};return y}(function(t,e){let{pathname:n="/",search:r="",hash:i=""}=d(t.location.hash.substr(1));return h("",{pathname:n,search:r,hash:i},e.state&&e.state.usr||null,e.state&&e.state.key||"default")},function(t,e){let n=t.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let e=t.location.href,n=e.indexOf("#");r=-1===n?e:e.slice(0,n)}return r+"#"+("string"==typeof e?e:f(e))},function(t,e){var n="/"===t.pathname.charAt(0),r="relative pathnames are not supported in hash history.push("+JSON.stringify(e)+")";if(!n){"undefined"!=typeof console&&console.warn(r);try{throw Error(r)}catch(t){}}},t)}function c(t){return{usr:t.state,key:t.key}}function h(t,e,n,r){return void 0===n&&(n=null),s({pathname:"string"==typeof t?t:t.pathname,search:"",hash:""},"string"==typeof e?d(e):e,{state:n,key:e&&e.key||r||Math.random().toString(36).substr(2,8)})}function f(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&"?"!==n&&(e+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(e+="#"===r.charAt(0)?r:"#"+r),e}function d(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function p(t,e,n){void 0===n&&(n="/");let r=v(("string"==typeof e?d(e):e).pathname||"/",n);if(null==r)return null;let i=function t(e,n,r,i){return void 0===n&&(n=[]),void 0===r&&(r=[]),void 0===i&&(i=""),e.forEach((e,o)=>{var a,s;let l,u,c={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};c.relativePath.startsWith("/")&&(m(c.relativePath.startsWith(i),'Absolute route path "'+c.relativePath+'" nested under path "'+i+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),c.relativePath=c.relativePath.slice(i.length));let h=S([i,c.relativePath]),f=r.concat(c);e.children&&e.children.length>0&&(m(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+h+'".'),t(e.children,n,f,h)),(null!=e.path||e.index)&&n.push({path:h,score:(a=h,s=e.index,u=(l=a.split("/")).length,l.some(y)&&(u+=-2),s&&(u+=2),l.filter(t=>!y(t)).reduce((t,e)=>t+(g.test(e)?3:""===e?1:10),u)),routesMeta:f})}),n}(t);i.sort((t,e)=>{var n,r;return t.score!==e.score?e.score-t.score:(n=t.routesMeta.map(t=>t.childrenIndex),r=e.routesMeta.map(t=>t.childrenIndex),n.length===r.length&&n.slice(0,-1).every((t,e)=>t===r[e])?n[n.length-1]-r[r.length-1]:0)});let o=null;for(let t=0;null==o&&t<i.length;++t)o=function(t,e){let{routesMeta:n}=t,r={},i="/",o=[];for(let t=0;t<n.length;++t){let a=n[t],s=t===n.length-1,l="/"===i?e:e.slice(i.length)||"/",u=function(t,e){"string"==typeof t&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!0),_("*"===t||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were "'+t.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+t.replace(/\*$/,"/*")+'".');let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(t,e)=>(r.push(e),"([^\\/]+)"));return t.endsWith("*")?(r.push("*"),i+="*"===t||"/*"===t?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==t&&"/"!==t&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}(t.path,t.caseSensitive,t.end),i=e.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((t,e,n)=>{if("*"===e){let t=s[n]||"";a=o.slice(0,o.length-t.length).replace(/(.)\/+$/,"$1")}return t[e]=function(t,e){try{return decodeURIComponent(t)}catch(n){return _(!1,'The value for the URL param "'+e+'" will not be decoded because the string "'+t+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),t}}(s[n]||"",e),t},{}),pathname:o,pathnameBase:a,pattern:t}}({path:a.relativePath,caseSensitive:a.caseSensitive,end:s},l);if(!u)return null;Object.assign(r,u.params);let c=a.route;o.push({params:r,pathname:S([i,u.pathname]),pathnameBase:A(S([i,u.pathnameBase])),route:c}),"/"!==u.pathnameBase&&(i=S([i,u.pathnameBase]))}return o}(i[t],function(t){try{return decodeURI(t)}catch(e){return _(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+e+")."),t}}(r));return o}(a=i||(i={})).data="data",a.deferred="deferred",a.redirect="redirect",a.error="error";let g=/^:\w+$/,y=t=>"*"===t;function v(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&"/"!==r?null:t.slice(n)||"/"}function m(t,e){if(!1===t||null==t)throw Error(e)}function _(t,e){if(!t){"undefined"!=typeof console&&console.warn(e);try{throw Error(e)}catch(t){}}}function b(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field [")+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function x(t){return t.filter((t,e)=>0===e||t.route.path&&t.route.path.length>0)}function w(t,e,n,r){let i,o;void 0===r&&(r=!1),"string"==typeof t?i=d(t):(m(!(i=s({},t)).pathname||!i.pathname.includes("?"),b("?","pathname","search",i)),m(!i.pathname||!i.pathname.includes("#"),b("#","pathname","hash",i)),m(!i.search||!i.search.includes("#"),b("#","search","hash",i)));let a=""===t||""===i.pathname,l=a?"/":i.pathname;if(r||null==l)o=n;else{let t=e.length-1;if(l.startsWith("..")){let e=l.split("/");for(;".."===e[0];)e.shift(),t-=1;i.pathname=e.join("/")}o=t>=0?e[t]:"/"}let u=function(t,e){var n;let r;void 0===e&&(e="/");let{pathname:i,search:o="",hash:a=""}="string"==typeof t?d(t):t;return{pathname:i?i.startsWith("/")?i:(n=i,r=e.replace(/\/+$/,"").split("/"),n.split("/").forEach(t=>{".."===t?r.length>1&&r.pop():"."!==t&&r.push(t)}),r.length>1?r.join("/"):"/"):e,search:M(o),hash:k(a)}}(i,o),c=l&&"/"!==l&&l.endsWith("/"),h=(a||"."===l)&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||h)&&(u.pathname+="/"),u}let S=t=>t.join("/").replace(/\/\/+/g,"/"),A=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),M=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",k=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"";class T extends Error{}class C{constructor(t,e,n){this.status=t,this.statusText=e||"",this.data=n}}function O(t){return t instanceof C}"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,[...new Set(["POST","PUT","PATCH","DELETE"])]},28486:function(t){"use strict";var e=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),n=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]];t.exports=function(){function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0}return e(t,null,[{key:"escapeForHtml",value:function(e){return new t().escapeForHtml(e)}},{key:"linkify",value:function(e){return new t().linkify(e)}},{key:"ansiToHtml",value:function(e,n){return new t().ansiToHtml(e,n)}},{key:"ansiToJson",value:function(e,n){return new t().ansiToJson(e,n)}},{key:"ansiToText",value:function(e){return new t().ansiToText(e)}}]),e(t,[{key:"setupPalette",value:function(){this.PALETTE_COLORS=[];for(var t=0;t<2;++t)for(var e=0;e<8;++e)this.PALETTE_COLORS.push(n[t][e].color);for(var r=[0,95,135,175,215,255],i=function(t,e,n){return r[t]+", "+r[e]+", "+r[n]},o=0;o<6;++o)for(var a=0;a<6;++a)for(var s=0;s<6;++s)this.PALETTE_COLORS.push(i(o,a,s));for(var l=8,u=0;u<24;++u,l+=10)this.PALETTE_COLORS.push(i(l,l,l))}},{key:"escapeForHtml",value:function(t){return t.replace(/[&<>]/gm,function(t){return"&"==t?"&":"<"==t?"<":">"==t?">":""})}},{key:"linkify",value:function(t){return t.replace(/(https?:\/\/[^\s]+)/gm,function(t){return'<a href="'+t+'">'+t+"</a>"})}},{key:"ansiToHtml",value:function(t,e){return this.process(t,e,!0)}},{key:"ansiToJson",value:function(t,e){return(e=e||{}).json=!0,e.clearLine=!1,this.process(t,e,!0)}},{key:"ansiToText",value:function(t){return this.process(t,{},!1)}},{key:"process",value:function(t,e,n){var r=this,i=t.split(/\033\[/),o=i.shift();null==e&&(e={}),e.clearLine=/\r/.test(t);var a=i.map(function(t){return r.processChunk(t,e,n)});if(e&&e.json){var s=this.processChunkJson("");return s.content=o,s.clearLine=e.clearLine,a.unshift(s),e.remove_empty&&(a=a.filter(function(t){return!t.isEmpty()})),a}return a.unshift(o),a.join("")}},{key:"processChunkJson",value:function(t,e,r){var i=(e=void 0===e?{}:e).use_classes=void 0!==e.use_classes&&e.use_classes,o=e.key=i?"class":"color",a={content:t,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,clearLine:e.clearLine,decoration:null,was_processed:!1,isEmpty:function(){return!a.content}},s=t.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!s)return a;a.content=s[4];var l=s[2].split(";");if(""!==s[1]||"m"!==s[3]||!r)return a;for(this.decoration=null;l.length>0;){var u=parseInt(l.shift());if(isNaN(u)||0===u)this.fg=this.bg=this.decoration=null;else if(1===u)this.decoration="bold";else if(2===u)this.decoration="dim";else if(3==u)this.decoration="italic";else if(4==u)this.decoration="underline";else if(5==u)this.decoration="blink";else if(7===u)this.decoration="reverse";else if(8===u)this.decoration="hidden";else if(9===u)this.decoration="strikethrough";else if(39==u)this.fg=null;else if(49==u)this.bg=null;else if(u>=30&&u<38)this.fg=n[0][u%10][o];else if(u>=90&&u<98)this.fg=n[1][u%10][o];else if(u>=40&&u<48)this.bg=n[0][u%10][o];else if(u>=100&&u<108)this.bg=n[1][u%10][o];else if(38===u||48===u){var c=38===u;if(l.length>=1){var h=l.shift();if("5"===h&&l.length>=1){var f=parseInt(l.shift());if(f>=0&&f<=255)if(i){var d=f>=16?"ansi-palette-"+f:n[+(f>7)][f%8].class;c?this.fg=d:this.bg=d}else this.PALETTE_COLORS||this.setupPalette(),c?this.fg=this.PALETTE_COLORS[f]:this.bg=this.PALETTE_COLORS[f]}else if("2"===h&&l.length>=3){var p=parseInt(l.shift()),g=parseInt(l.shift()),y=parseInt(l.shift());if(p>=0&&p<=255&&g>=0&&g<=255&&y>=0&&y<=255){var v=p+", "+g+", "+y;i?c?(this.fg="ansi-truecolor",this.fg_truecolor=v):(this.bg="ansi-truecolor",this.bg_truecolor=v):c?this.fg=v:this.bg=v}}}}}return null===this.fg&&null===this.bg&&null===this.decoration||(a.fg=this.fg,a.bg=this.bg,a.fg_truecolor=this.fg_truecolor,a.bg_truecolor=this.bg_truecolor,a.decoration=this.decoration,a.was_processed=!0),a}},{key:"processChunk",value:function(t,e,n){var r=this;e=e||{};var i=this.processChunkJson(t,e,n);if(e.json)return i;if(i.isEmpty())return"";if(!i.was_processed)return i.content;var o=e.use_classes,a=[],s=[],l={},u=function(t){var e=[],n=void 0;for(n in t)t.hasOwnProperty(n)&&e.push("data-"+n+'="'+r.escapeForHtml(t[n])+'"');return e.length>0?" "+e.join(" "):""};return(i.fg&&(o?(s.push(i.fg+"-fg"),null!==i.fg_truecolor&&(l["ansi-truecolor-fg"]=i.fg_truecolor,i.fg_truecolor=null)):a.push("color:rgb("+i.fg+")")),i.bg&&(o?(s.push(i.bg+"-bg"),null!==i.bg_truecolor&&(l["ansi-truecolor-bg"]=i.bg_truecolor,i.bg_truecolor=null)):a.push("background-color:rgb("+i.bg+")")),i.decoration&&(o?s.push("ansi-"+i.decoration):"bold"===i.decoration?a.push("font-weight:bold"):"dim"===i.decoration?a.push("opacity:0.5"):"italic"===i.decoration?a.push("font-style:italic"):"reverse"===i.decoration?a.push("filter:invert(100%)"):"hidden"===i.decoration?a.push("visibility:hidden"):"strikethrough"===i.decoration?a.push("text-decoration:line-through"):a.push("text-decoration:"+i.decoration)),o)?'<span class="'+s.join(" ")+'"'+u(l)+">"+i.content+"</span>":'<span style="'+a.join(";")+'"'+u(l)+">"+i.content+"</span>"}}]),t}()},99128:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});let o=r(n(28486)),a=n(86505),s=i(n(22155));function l(t,e,n,r){let i,o,a,l=e?null:(o={},n.bg&&(o.backgroundColor=`rgb(${n.bg})`),n.fg&&(o.color=`rgb(${n.fg})`),o),u=e?(a="",(n.bg&&(a+=`${n.bg}-bg `),n.fg&&(a+=`${n.fg}-fg `),n.decoration&&(a+=`ansi-${n.decoration} `),""===a)?null:a=a.substring(0,a.length-1)):null;if(!t)return s.createElement("span",{style:l,key:r,className:u},n.content);let c=[],h=/(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g,f=0;for(;null!==(i=h.exec(n.content));){let[,t,e]=i,r=i.index+t.length;r>f&&c.push(n.content.substring(f,r));let o=e.startsWith("www.")?`http://${e}`:e;c.push(s.createElement("a",{key:f,href:o,target:"_blank"},`${e}`)),f=h.lastIndex}return f<n.content.length&&c.push(n.content.substring(f)),s.createElement("span",{style:l,key:r,className:u},c)}e.default=function(t){let{className:e,useClasses:n,children:r,linkify:i}=t;return s.createElement("code",{className:e},(function(t,e=!1){return t=a.escapeCarriageReturn(function(t){let e=t;do e=(t=e).replace(/[^\n]\x08/gm,"");while(e.length<t.length);return t}(t)),o.default.ansiToJson(t,{json:!0,remove_empty:!0,use_classes:e})})(null!=r?r:"",null!=n&&n).map(l.bind(null,null!=i&&i,null!=n&&n)))}},46732:function(t,e,n){"use strict";var r,i,o,a=n(85409);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var l=n(35349).codes,u=l.ERR_AMBIGUOUS_ARGUMENT,c=l.ERR_INVALID_ARG_TYPE,h=l.ERR_INVALID_ARG_VALUE,f=l.ERR_INVALID_RETURN_VALUE,d=l.ERR_MISSING_ARGS,p=n(96342),g=n(1344).inspect,y=n(1344).types,v=y.isPromise,m=y.isRegExp,_=n(43921)(),b=n(12197)(),x=n(11187)("RegExp.prototype.test");function w(){var t=n(31235);i=t.isDeepEqual,o=t.isDeepStrictEqual}var S=!1,A=t.exports=C,M={};function k(t){if(t.message instanceof Error)throw t.message;throw new p(t)}function T(t,e,n,r){if(!n){var i=!1;if(0===e)i=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var o=new p({actual:n,expected:!0,message:r,operator:"==",stackStartFn:t});throw o.generatedMessage=i,o}}function C(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];T.apply(void 0,[C,e.length].concat(e))}A.fail=function t(e,n,r,i,o){var s,l=arguments.length;if(0===l?s="Failed":1===l?(r=e,e=void 0):(!1===S&&(S=!0,(a.emitWarning?a.emitWarning:console.warn.bind(console))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),2===l&&(i="!=")),r instanceof Error)throw r;var u={actual:e,expected:n,operator:void 0===i?"fail":i,stackStartFn:o||t};void 0!==r&&(u.message=r);var c=new p(u);throw s&&(c.message=s,c.generatedMessage=!0),c},A.AssertionError=p,A.ok=C,A.equal=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");e!=n&&k({actual:e,expected:n,message:r,operator:"==",stackStartFn:t})},A.notEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");e==n&&k({actual:e,expected:n,message:r,operator:"!=",stackStartFn:t})},A.deepEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),i(e,n)||k({actual:e,expected:n,message:r,operator:"deepEqual",stackStartFn:t})},A.notDeepEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),i(e,n)&&k({actual:e,expected:n,message:r,operator:"notDeepEqual",stackStartFn:t})},A.deepStrictEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),o(e,n)||k({actual:e,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:t})},A.notDeepStrictEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),o(e,n)&&k({actual:e,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:t})},A.strictEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");b(e,n)||k({actual:e,expected:n,message:r,operator:"strictEqual",stackStartFn:t})},A.notStrictEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");b(e,n)&&k({actual:e,expected:n,message:r,operator:"notStrictEqual",stackStartFn:t})};var O=(Object.defineProperty(r=function t(e,n,r){var i=this;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");n.forEach(function(t){t in e&&(void 0!==r&&"string"==typeof r[t]&&m(e[t])&&x(e[t],r[t])?i[t]=r[t]:i[t]=e[t])})},"prototype",{writable:!1}),r);function I(t,e,n,r){if("function"!=typeof e){if(m(e))return x(e,t);if(2==arguments.length)throw new c("expected",["Function","RegExp"],e);if("object"!==s(t)||null===t){var a=new p({actual:t,expected:e,message:n,operator:"deepStrictEqual",stackStartFn:r});throw a.operator=r.name,a}var l=Object.keys(e);if(e instanceof Error)l.push("name","message");else if(0===l.length)throw new h("error",e,"may not be an empty object");return void 0===i&&w(),l.forEach(function(i){if(!("string"==typeof t[i]&&m(e[i])&&x(e[i],t[i]))&&(!(i in t)||!o(t[i],e[i]))){if(!n){var a=new p({actual:new O(t,l),expected:new O(e,l,t),operator:"deepStrictEqual",stackStartFn:r});throw a.actual=t,a.expected=e,a.operator=r.name,a}k({actual:t,expected:e,message:n,operator:r.name,stackStartFn:r})}}),!0}return void 0!==e.prototype&&t instanceof e||!Error.isPrototypeOf(e)&&!0===e.call({},t)}function E(t){if("function"!=typeof t)throw new c("fn","Function",t);try{t()}catch(t){return t}return M}function D(t){return v(t)||null!==t&&"object"===s(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function R(t){return Promise.resolve().then(function(){var e;if("function"==typeof t){if(!D(e=t()))throw new f("instance of Promise","promiseFn",e)}else if(D(t))e=t;else throw new c("promiseFn",["Function","Promise"],t);return Promise.resolve().then(function(){return e}).then(function(){return M}).catch(function(t){return t})})}function L(t,e,n,r){if("string"==typeof n){if(4==arguments.length)throw new c("error",["Object","Error","Function","RegExp"],n);if("object"===s(e)&&null!==e){if(e.message===n)throw new u("error/message",'The error message "'.concat(e.message,'" is identical to the message.'))}else if(e===n)throw new u("error/message",'The error "'.concat(e,'" is identical to the message.'));r=n,n=void 0}else if(null!=n&&"object"!==s(n)&&"function"!=typeof n)throw new c("error",["Object","Error","Function","RegExp"],n);if(e===M){var i="";n&&n.name&&(i+=" (".concat(n.name,")")),i+=r?": ".concat(r):".";var o="rejects"===t.name?"rejection":"exception";k({actual:void 0,expected:n,operator:t.name,message:"Missing expected ".concat(o).concat(i),stackStartFn:t})}if(n&&!I(e,n,r,t))throw e}function P(t,e,n,r){if(e!==M){if("string"==typeof n&&(r=n,n=void 0),!n||I(e,n)){var i=r?": ".concat(r):".",o="doesNotReject"===t.name?"rejection":"exception";k({actual:e,expected:n,operator:t.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:t})}throw e}}function N(t,e,n,r,i){if(!m(e))throw new c("regexp","RegExp",e);var o="match"===i;if("string"!=typeof t||x(e,t)!==o){if(n instanceof Error)throw n;var a=!n;n=n||("string"!=typeof t?'The "string" argument must be of type string. Received type '+"".concat(s(t)," (").concat(g(t),")"):(o?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(g(e),". Input:\n\n").concat(g(t),"\n"));var l=new p({actual:t,expected:e,message:n,operator:i,stackStartFn:r});throw l.generatedMessage=a,l}}function B(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];T.apply(void 0,[B,e.length].concat(e))}A.throws=function t(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];L.apply(void 0,[t,E(e)].concat(r))},A.rejects=function t(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return R(e).then(function(e){return L.apply(void 0,[t,e].concat(r))})},A.doesNotThrow=function t(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];P.apply(void 0,[t,E(e)].concat(r))},A.doesNotReject=function t(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return R(e).then(function(e){return P.apply(void 0,[t,e].concat(r))})},A.ifError=function t(e){if(null!=e){var n="ifError got unwanted exception: ";"object"===s(e)&&"string"==typeof e.message?0===e.message.length&&e.constructor?n+=e.constructor.name:n+=e.message:n+=g(e);var r=new p({actual:e,expected:null,operator:"ifError",message:n,stackStartFn:t}),i=e.stack;if("string"==typeof i){var o=i.split("\n");o.shift();for(var a=r.stack.split("\n"),l=0;l<o.length;l++){var u=a.indexOf(o[l]);if(-1!==u){a=a.slice(0,u);break}}r.stack="".concat(a.join("\n"),"\n").concat(o.join("\n"))}throw r}},A.match=function t(e,n,r){N(e,n,r,t,"match")},A.doesNotMatch=function t(e,n,r){N(e,n,r,t,"doesNotMatch")},A.strict=_(B,A,{equal:A.strictEqual,deepEqual:A.deepStrictEqual,notEqual:A.notStrictEqual,notDeepEqual:A.notDeepStrictEqual}),A.strict.strict=A.strict},96342:function(t,e,n){"use strict";var r=n(85409);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach(function(e){var r,i,o;r=t,i=e,o=n[e],(i=a(i))in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function a(t){var e=function(t,e){if("object"!==p(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==p(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===p(e)?e:String(e)}function s(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return l(t)}function l(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t){var e="function"==typeof Map?new Map:void 0;return(u=function(t){var n;if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return c(t,arguments,d(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,t)})(t)}function c(t,e,n){return(c=h()?Reflect.construct.bind():function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&f(i,n.prototype),i}).apply(null,arguments)}function h(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var g=n(1344).inspect,y=n(35349).codes.ERR_INVALID_ARG_TYPE;function v(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}var m="",_="",b="",x="",w={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function S(t){var e=Object.keys(t),n=Object.create(Object.getPrototypeOf(t));return e.forEach(function(e){n[e]=t[e]}),Object.defineProperty(n,"message",{value:t.message}),n}function A(t){return g(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}t.exports=function(t,e){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");c.prototype=Object.create(t&&t.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),t&&f(c,t);var n,i,u=(n=h(),function(){var t,e=d(c);return t=n?Reflect.construct(e,arguments,d(this).constructor):e.apply(this,arguments),s(this,t)});function c(t){if(!(this instanceof c))throw TypeError("Cannot call a class as a function");if("object"!==p(t)||null===t)throw new y("options","Object",t);var e,n=t.message,i=t.operator,o=t.stackStartFn,a=t.actual,h=t.expected,f=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=n)e=u.call(this,String(n));else if(r.stderr&&r.stderr.isTTY&&(r.stderr&&r.stderr.getColorDepth&&1!==r.stderr.getColorDepth()?(m="\x1b[34m",_="\x1b[32m",x="\x1b[39m",b="\x1b[31m"):(m="",_="",x="",b="")),"object"===p(a)&&null!==a&&"object"===p(h)&&null!==h&&"stack"in a&&a instanceof Error&&"stack"in h&&h instanceof Error&&(a=S(a),h=S(h)),"deepStrictEqual"===i||"strictEqual"===i)e=u.call(this,function(t,e,n){var i="",o="",a=0,s="",l=!1,u=A(t),c=u.split("\n"),h=A(e).split("\n"),f=0,d="";if("strictEqual"===n&&"object"===p(t)&&"object"===p(e)&&null!==t&&null!==e&&(n="strictEqualObject"),1===c.length&&1===h.length&&c[0]!==h[0]){var g=c[0].length+h[0].length;if(g<=10){if(("object"!==p(t)||null===t)&&("object"!==p(e)||null===e)&&(0!==t||0!==e))return"".concat(w[n],"\n\n")+"".concat(c[0]," !== ").concat(h[0],"\n")}else if("strictEqualObject"!==n&&g<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;c[0][f]===h[0][f];)f++;f>2&&(d="\n ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var n=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,n-t.length)}(" ",f),"^"),f=0)}}for(var y=c[c.length-1],S=h[h.length-1];y===S&&(f++<2?s="\n ".concat(y).concat(s):i=y,c.pop(),h.pop(),0!==c.length&&0!==h.length);)y=c[c.length-1],S=h[h.length-1];var M=Math.max(c.length,h.length);if(0===M){var k=u.split("\n");if(k.length>30)for(k[26]="".concat(m,"...").concat(x);k.length>27;)k.pop();return"".concat(w.notIdentical,"\n\n").concat(k.join("\n"),"\n")}f>3&&(s="\n".concat(m,"...").concat(x).concat(s),l=!0),""!==i&&(s="\n ".concat(i).concat(s),i="");var T=0,C=w[n]+"\n".concat(_,"+ actual").concat(x," ").concat(b,"- expected").concat(x),O=" ".concat(m,"...").concat(x," Lines skipped");for(f=0;f<M;f++){var I=f-a;if(c.length<f+1)I>1&&f>2&&(I>4?(o+="\n".concat(m,"...").concat(x),l=!0):I>3&&(o+="\n ".concat(h[f-2]),T++),o+="\n ".concat(h[f-1]),T++),a=f,i+="\n".concat(b,"-").concat(x," ").concat(h[f]),T++;else if(h.length<f+1)I>1&&f>2&&(I>4?(o+="\n".concat(m,"...").concat(x),l=!0):I>3&&(o+="\n ".concat(c[f-2]),T++),o+="\n ".concat(c[f-1]),T++),a=f,o+="\n".concat(_,"+").concat(x," ").concat(c[f]),T++;else{var E=h[f],D=c[f],R=D!==E&&(!v(D,",")||D.slice(0,-1)!==E);R&&v(E,",")&&E.slice(0,-1)===D&&(R=!1,D+=","),R?(I>1&&f>2&&(I>4?(o+="\n".concat(m,"...").concat(x),l=!0):I>3&&(o+="\n ".concat(c[f-2]),T++),o+="\n ".concat(c[f-1]),T++),a=f,o+="\n".concat(_,"+").concat(x," ").concat(D),i+="\n".concat(b,"-").concat(x," ").concat(E),T+=2):(o+=i,i="",(1===I||0===f)&&(o+="\n ".concat(D),T++))}if(T>20&&f<M-2)return"".concat(C).concat(O,"\n").concat(o,"\n").concat(m,"...").concat(x).concat(i,"\n")+"".concat(m,"...").concat(x)}return"".concat(C).concat(l?O:"","\n").concat(o).concat(i).concat(s).concat(d)}(a,h,i));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var d=w[i],g=A(a).split("\n");if("notStrictEqual"===i&&"object"===p(a)&&null!==a&&(d=w.notStrictEqualObject),g.length>30)for(g[26]="".concat(m,"...").concat(x);g.length>27;)g.pop();e=1===g.length?u.call(this,"".concat(d," ").concat(g[0])):u.call(this,"".concat(d,"\n\n").concat(g.join("\n"),"\n"))}else{var M=A(a),k="",T=w[i];"notDeepEqual"===i||"notEqual"===i?(M="".concat(w[i],"\n\n").concat(M)).length>1024&&(M="".concat(M.slice(0,1021),"...")):(k="".concat(A(h)),M.length>512&&(M="".concat(M.slice(0,509),"...")),k.length>512&&(k="".concat(k.slice(0,509),"...")),"deepEqual"===i||"equal"===i?M="".concat(T,"\n\n").concat(M,"\n\nshould equal\n\n"):k=" ".concat(i," ").concat(k)),e=u.call(this,"".concat(M).concat(k))}return Error.stackTraceLimit=f,e.generatedMessage=!n,Object.defineProperty(l(e),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),e.code="ERR_ASSERTION",e.actual=a,e.expected=h,e.operator=i,Error.captureStackTrace&&Error.captureStackTrace(l(e),o),e.stack,e.name="AssertionError",s(e)}return i=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:e,value:function(t,e){return g(this,o(o({},e),{},{customInspect:!1,depth:0}))}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,a(r.key),r)}}(c.prototype,i),Object.defineProperty(c,"prototype",{writable:!1}),c}(u(Error),g.custom)},35349:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var a,s,l={};function u(t,e,n){n||(n=Error);var a=function(n){if("function"!=typeof n&&null!==n)throw TypeError("Super expression must either be null or a function");l.prototype=Object.create(n&&n.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),n&&i(l,n);var a,s=(a=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=o(l);return t=a?Reflect.construct(e,arguments,o(this).constructor):e.apply(this,arguments),function(t,e){if(e&&("object"===r(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,t)});function l(n,r,i){var o;if(!(this instanceof l))throw TypeError("Cannot call a class as a function");return(o=s.call(this,"string"==typeof e?e:e(n,r,i))).code=t,o}return Object.defineProperty(l,"prototype",{writable:!1}),l}(n);l[t]=a}function c(t,e){if(!Array.isArray(t))return"of ".concat(e," ").concat(String(t));var n=t.length;return(t=t.map(function(t){return String(t)}),n>2)?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",function(t,e,i){if((void 0===a&&(a=n(46732)),a("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(o="not ",e.substr(0,o.length)===o))?(h="must not be",e=e.replace(/^not /,"")):h="must be",s=" argument",(void 0===l||l>t.length)&&(l=t.length),t.substring(l-s.length,l)===s)f="The ".concat(t," ").concat(h," ").concat(c(e,"type"));else{var o,s,l,u,h,f,d=("number"!=typeof u&&(u=0),u+1>t.length||-1===t.indexOf(".",u))?"argument":"property";f='The "'.concat(t,'" ').concat(d," ").concat(h," ").concat(c(e,"type"))}return f+". Received type ".concat(r(i))},TypeError),u("ERR_INVALID_ARG_VALUE",function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=n(1344));var i=s.inspect(e);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(r,". Received ").concat(i)},TypeError,RangeError),u("ERR_INVALID_RETURN_VALUE",function(t,e,n){var i;return i=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(i,".")},TypeError),u("ERR_MISSING_ARGS",function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];void 0===a&&(a=n(46732)),a(e.length>0,"At least one arg needs to be specified");var i="The ",o=e.length;switch(e=e.map(function(t){return'"'.concat(t,'"')}),o){case 1:i+="".concat(e[0]," argument");break;case 2:i+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:i+=e.slice(0,o-1).join(", "),i+=", and ".concat(e[o-1]," arguments")}return"".concat(i," must be specified")},TypeError),t.exports.codes=l},31235:function(t,e,n){"use strict";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=void 0!==/a/g.flags,s=function(t){var e=[];return t.forEach(function(t){return e.push(t)}),e},l=function(t){var e=[];return t.forEach(function(t,n){return e.push([n,t])}),e},u=Object.is?Object.is:n(19068),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},h=Number.isNaN?Number.isNaN:n(14954);function f(t){return t.call.bind(t)}var d=f(Object.prototype.hasOwnProperty),p=f(Object.prototype.propertyIsEnumerable),g=f(Object.prototype.toString),y=n(1344).types,v=y.isAnyArrayBuffer,m=y.isArrayBufferView,_=y.isDate,b=y.isMap,x=y.isRegExp,w=y.isSet,S=y.isNativeError,A=y.isBoxedPrimitive,M=y.isNumberObject,k=y.isStringObject,T=y.isBooleanObject,C=y.isBigIntObject,O=y.isSymbolObject,I=y.isFloat32Array,E=y.isFloat64Array;function D(t){if(0===t.length||t.length>10)return!0;for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(n<48||n>57)return!0}return 10===t.length&&t>=0x100000000}function R(t){return Object.keys(t).filter(D).concat(c(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function L(t,e){if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:+(r<n)}var P=void 0;function N(t,e,n,r){if(t===e)return 0!==t||!n||u(t,e);if(n){if("object"!==o(t))return"number"==typeof t&&h(t)&&h(e);if("object"!==o(e)||null===t||null===e||Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1}else{if(null===t||"object"!==o(t))return(null===e||"object"!==o(e))&&t==e;if(null===e||"object"!==o(e))return!1}var i=g(t);if(i!==g(e))return!1;if(Array.isArray(t)){if(t.length!==e.length)return!1;var s=R(t,P),l=R(e,P);return s.length===l.length&&F(t,e,n,r,1,s)}if("[object Object]"===i&&(!b(t)&&b(e)||!w(t)&&w(e)))return!1;if(_(t)){if(!_(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return!1}else if(x(t)){if(!x(e)||(a?t.source!==e.source||t.flags!==e.flags:RegExp.prototype.toString.call(t)!==RegExp.prototype.toString.call(e)))return!1}else if(S(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return!1}else if(m(t)){if(!n&&(I(t)||E(t))){if(!function(t,e){if(t.byteLength!==e.byteLength)return!1;for(var n=0;n<t.byteLength;n++)if(t[n]!==e[n])return!1;return!0}(t,e))return!1}else if(t.byteLength!==e.byteLength||0!==L(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength)))return!1;var c=R(t,P),f=R(e,P);return c.length===f.length&&F(t,e,n,r,0,c)}else if(w(t))return!!w(e)&&t.size===e.size&&F(t,e,n,r,2);else if(b(t))return!!b(e)&&t.size===e.size&&F(t,e,n,r,3);else if(v(t)){if(t.byteLength!==e.byteLength||0!==L(new Uint8Array(t),new Uint8Array(e)))return!1}else if(A(t)&&(M(t)?!(M(e)&&u(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e))):k(t)?!k(e)||String.prototype.valueOf.call(t)!==String.prototype.valueOf.call(e):T(t)?!T(e)||Boolean.prototype.valueOf.call(t)!==Boolean.prototype.valueOf.call(e):C(t)?!C(e)||BigInt.prototype.valueOf.call(t)!==BigInt.prototype.valueOf.call(e):!O(e)||Symbol.prototype.valueOf.call(t)!==Symbol.prototype.valueOf.call(e)))return!1;return F(t,e,n,r,0)}function B(t,e){return e.filter(function(e){return p(t,e)})}function F(t,e,n,i,a,u){if(5==arguments.length){u=Object.keys(t);var h=Object.keys(e);if(u.length!==h.length)return!1}for(var f=0;f<u.length;f++)if(!d(e,u[f]))return!1;if(n&&5==arguments.length){var g=c(t);if(0!==g.length){var y=0;for(f=0;f<g.length;f++){var v=g[f];if(p(t,v)){if(!p(e,v))return!1;u.push(v),y++}else if(p(e,v))return!1}var m=c(e);if(g.length!==m.length&&B(e,m).length!==y)return!1}else{var _=c(e);if(0!==_.length&&0!==B(e,_).length)return!1}}if(0===u.length&&(0===a||1===a&&0===t.length||0===t.size))return!0;if(void 0===i)i={val1:new Map,val2:new Map,position:0};else{var b=i.val1.get(t);if(void 0!==b){var x=i.val2.get(e);if(void 0!==x)return b===x}i.position++}i.val1.set(t,i.position),i.val2.set(e,i.position);var w=function(t,e,n,i,a,u){var c=0;if(2===u){if(!function(t,e,n,r){for(var i=null,a=s(t),l=0;l<a.length;l++){var u=a[l];if("object"===o(u)&&null!==u)null===i&&(i=new Set),i.add(u);else if(!e.has(u)){if(n||!function(t,e,n){var r=z(n);return null!=r?r:e.has(r)&&!t.has(r)}(t,e,u))return!1;null===i&&(i=new Set),i.add(u)}}if(null!==i){for(var c=s(e),h=0;h<c.length;h++){var f=c[h];if("object"===o(f)&&null!==f){if(!j(i,f,n,r))return!1}else if(!n&&!t.has(f)&&!j(i,f,n,r))return!1}return 0===i.size}return!0}(t,e,n,a))return!1}else if(3===u){if(!function(t,e,n,i){for(var a=null,s=l(t),u=0;u<s.length;u++){var c=r(s[u],2),h=c[0],f=c[1];if("object"===o(h)&&null!==h)null===a&&(a=new Set),a.add(h);else{var d=e.get(h);if(void 0===d&&!e.has(h)||!N(f,d,n,i)){if(n||!function(t,e,n,r,i){var o=z(n);if(null!=o)return o;var a=e.get(o);return(void 0!==a||!!e.has(o))&&!!N(r,a,!1,i)&&!t.has(o)&&N(r,a,!1,i)}(t,e,h,f,i))return!1;null===a&&(a=new Set),a.add(h)}}}if(null!==a){for(var p=l(e),g=0;g<p.length;g++){var y=r(p[g],2),v=y[0],m=y[1];if("object"===o(v)&&null!==v){if(!H(a,t,v,m,n,i))return!1}else if(!n&&(!t.has(v)||!N(t.get(v),m,!1,i))&&!H(a,t,v,m,!1,i))return!1}return 0===a.size}return!0}(t,e,n,a))return!1}else if(1===u)for(;c<t.length;c++)if(d(t,c)){if(!d(e,c)||!N(t[c],e[c],n,a))return!1}else{if(d(e,c))return!1;for(var h=Object.keys(t);c<h.length;c++){var f=h[c];if(!d(e,f)||!N(t[f],e[f],n,a))return!1}if(h.length!==Object.keys(e).length)return!1;return!0}for(c=0;c<i.length;c++){var p=i[c];if(!N(t[p],e[p],n,a))return!1}return!0}(t,e,n,u,i,a);return i.val1.delete(t),i.val2.delete(e),w}function j(t,e,n,r){for(var i=s(t),o=0;o<i.length;o++){var a=i[o];if(N(e,a,n,r))return t.delete(a),!0}return!1}function z(t){switch(o(t)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":t*=1;case"number":if(h(t))return!1}return!0}function H(t,e,n,r,i,o){for(var a=s(t),l=0;l<a.length;l++){var u=a[l];if(N(n,u,i,o)&&N(r,e.get(u),i,o))return t.delete(u),!0}return!1}t.exports={isDeepEqual:function(t,e){return N(t,e,!1)},isDeepStrictEqual:function(t,e){return N(t,e,!0)}}},84933:function(t,e){"use strict";e.byteLength=function(t){var e=l(t),n=e[0],r=e[1];return(n+r)*3/4-r},e.toByteArray=function(t){var e,n,o=l(t),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,h=s>0?a-4:a;for(n=0;n<h;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],u[c++]=e>>16&255,u[c++]=e>>8&255,u[c++]=255&e;return 2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,u[c++]=255&e),1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e),u},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(function(t,e,r){for(var i,o=[],a=e;a<r;a+=3)i=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(n[i>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(t,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(e=t[r-1])>>2]+n[e<<4&63]+"=="):2===i&&o.push(n[(e=(t[r-2]<<8)+t[r-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function l(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}r[45]=62,r[95]=63},46025:function(t,e,n){"use strict";var r=n(8963).Buffer,i=n(85409),o=n(46732),a=n(84179),s=n(78250),l=n(81090),u=n(10756);for(var c in u)e[c]=u[c];function h(t){if("number"!=typeof t||t<e.DEFLATE||t>e.UNZIP)throw TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=t,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}e.NONE=0,e.DEFLATE=1,e.INFLATE=2,e.GZIP=3,e.GUNZIP=4,e.DEFLATERAW=5,e.INFLATERAW=6,e.UNZIP=7,h.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,o(this.init_done,"close before init"),o(this.mode<=e.UNZIP),this.mode===e.DEFLATE||this.mode===e.GZIP||this.mode===e.DEFLATERAW?s.deflateEnd(this.strm):(this.mode===e.INFLATE||this.mode===e.GUNZIP||this.mode===e.INFLATERAW||this.mode===e.UNZIP)&&l.inflateEnd(this.strm),this.mode=e.NONE,this.dictionary=null},h.prototype.write=function(t,e,n,r,i,o,a){return this._write(!0,t,e,n,r,i,o,a)},h.prototype.writeSync=function(t,e,n,r,i,o,a){return this._write(!1,t,e,n,r,i,o,a)},h.prototype._write=function(t,n,a,s,l,u,c,h){if(o.equal(arguments.length,8),o(this.init_done,"write before init"),o(this.mode!==e.NONE,"already finalized"),o.equal(!1,this.write_in_progress,"write already in progress"),o.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,o.equal(!1,void 0===n,"must provide flush value"),this.write_in_progress=!0,n!==e.Z_NO_FLUSH&&n!==e.Z_PARTIAL_FLUSH&&n!==e.Z_SYNC_FLUSH&&n!==e.Z_FULL_FLUSH&&n!==e.Z_FINISH&&n!==e.Z_BLOCK)throw Error("Invalid flush value");if(null==a&&(a=r.alloc(0),l=0,s=0),this.strm.avail_in=l,this.strm.input=a,this.strm.next_in=s,this.strm.avail_out=h,this.strm.output=u,this.strm.next_out=c,this.flush=n,!t)return(this._process(),this._checkError())?this._afterSync():void 0;var f=this;return i.nextTick(function(){f._process(),f._after()}),this},h.prototype._afterSync=function(){var t=this.strm.avail_out,e=this.strm.avail_in;return this.write_in_progress=!1,[e,t]},h.prototype._process=function(){var t=null;switch(this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=s.deflate(this.strm,this.flush);break;case e.UNZIP:switch(this.strm.avail_in>0&&(t=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===t)break;if(31===this.strm.input[t]){if(this.gzip_id_bytes_read=1,t++,1===this.strm.avail_in)break}else{this.mode=e.INFLATE;break}case 1:if(null===t)break;139===this.strm.input[t]?(this.gzip_id_bytes_read=2,this.mode=e.GUNZIP):this.mode=e.INFLATE;break;default:throw Error("invalid number of gzip magic number bytes read")}case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:for(this.err=l.inflate(this.strm,this.flush),this.err===e.Z_NEED_DICT&&this.dictionary&&(this.err=l.inflateSetDictionary(this.strm,this.dictionary),this.err===e.Z_OK?this.err=l.inflate(this.strm,this.flush):this.err===e.Z_DATA_ERROR&&(this.err=e.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===e.GUNZIP&&this.err===e.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=l.inflate(this.strm,this.flush);break;default:throw Error("Unknown mode "+this.mode)}},h.prototype._checkError=function(){switch(this.err){case e.Z_OK:case e.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===e.Z_FINISH)return this._error("unexpected end of file"),!1;break;case e.Z_STREAM_END:break;case e.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},h.prototype._after=function(){if(this._checkError()){var t=this.strm.avail_out,e=this.strm.avail_in;this.write_in_progress=!1,this.callback(e,t),this.pending_close&&this.close()}},h.prototype._error=function(t){this.strm.msg&&(t=this.strm.msg),this.onerror(t,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},h.prototype.init=function(t,n,r,i,a){o(4==arguments.length||5==arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),o(t>=8&&t<=15,"invalid windowBits"),o(n>=-1&&n<=9,"invalid compression level"),o(r>=1&&r<=9,"invalid memlevel"),o(i===e.Z_FILTERED||i===e.Z_HUFFMAN_ONLY||i===e.Z_RLE||i===e.Z_FIXED||i===e.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(n,t,r,i,a),this._setDictionary()},h.prototype.params=function(){throw Error("deflateParams Not supported")},h.prototype.reset=function(){this._reset(),this._setDictionary()},h.prototype._init=function(t,n,r,i,o){switch(this.level=t,this.windowBits=n,this.memLevel=r,this.strategy=i,this.flush=e.Z_NO_FLUSH,this.err=e.Z_OK,(this.mode===e.GZIP||this.mode===e.GUNZIP)&&(this.windowBits+=16),this.mode===e.UNZIP&&(this.windowBits+=32),(this.mode===e.DEFLATERAW||this.mode===e.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new a,this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=s.deflateInit2(this.strm,this.level,e.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:case e.UNZIP:this.err=l.inflateInit2(this.strm,this.windowBits);break;default:throw Error("Unknown mode "+this.mode)}this.err!==e.Z_OK&&this._error("Init error"),this.dictionary=o,this.write_in_progress=!1,this.init_done=!0},h.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:this.err=s.deflateSetDictionary(this.strm,this.dictionary)}this.err!==e.Z_OK&&this._error("Failed to set dictionary")}},h.prototype._reset=function(){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:case e.GZIP:this.err=s.deflateReset(this.strm);break;case e.INFLATE:case e.INFLATERAW:case e.GUNZIP:this.err=l.inflateReset(this.strm)}this.err!==e.Z_OK&&this._error("Failed to reset stream")},e.Zlib=h},46068:function(t,e,n){"use strict";var r=n(85409),i=n(8963).Buffer,o=n(43803).Transform,a=n(46025),s=n(1344),l=n(46732).ok,u=n(8963).kMaxLength,c="Cannot create final Buffer. It would be larger than 0x"+u.toString(16)+" bytes";a.Z_MIN_WINDOWBITS=8,a.Z_MAX_WINDOWBITS=15,a.Z_DEFAULT_WINDOWBITS=15,a.Z_MIN_CHUNK=64,a.Z_MAX_CHUNK=1/0,a.Z_DEFAULT_CHUNK=16384,a.Z_MIN_MEMLEVEL=1,a.Z_MAX_MEMLEVEL=9,a.Z_DEFAULT_MEMLEVEL=8,a.Z_MIN_LEVEL=-1,a.Z_MAX_LEVEL=9,a.Z_DEFAULT_LEVEL=a.Z_DEFAULT_COMPRESSION;for(var h=Object.keys(a),f=0;f<h.length;f++){var d=h[f];d.match(/^Z/)&&Object.defineProperty(e,d,{enumerable:!0,value:a[d],writable:!1})}for(var p={Z_OK:a.Z_OK,Z_STREAM_END:a.Z_STREAM_END,Z_NEED_DICT:a.Z_NEED_DICT,Z_ERRNO:a.Z_ERRNO,Z_STREAM_ERROR:a.Z_STREAM_ERROR,Z_DATA_ERROR:a.Z_DATA_ERROR,Z_MEM_ERROR:a.Z_MEM_ERROR,Z_BUF_ERROR:a.Z_BUF_ERROR,Z_VERSION_ERROR:a.Z_VERSION_ERROR},g=Object.keys(p),y=0;y<g.length;y++){var v=g[y];p[p[v]]=v}function m(t,e,n){var r=[],o=0;function a(){for(var e;null!==(e=t.read());)r.push(e),o+=e.length;t.once("readable",a)}function s(){var e,a=null;o>=u?a=RangeError(c):e=i.concat(r,o),r=[],t.close(),n(a,e)}t.on("error",function(e){t.removeListener("end",s),t.removeListener("readable",a),n(e)}),t.on("end",s),t.end(e),a()}function _(t,e){if("string"==typeof e&&(e=i.from(e)),!i.isBuffer(e))throw TypeError("Not a string or buffer");var n=t._finishFlushFlag;return t._processChunk(e,n)}function b(t){if(!(this instanceof b))return new b(t);C.call(this,t,a.DEFLATE)}function x(t){if(!(this instanceof x))return new x(t);C.call(this,t,a.INFLATE)}function w(t){if(!(this instanceof w))return new w(t);C.call(this,t,a.GZIP)}function S(t){if(!(this instanceof S))return new S(t);C.call(this,t,a.GUNZIP)}function A(t){if(!(this instanceof A))return new A(t);C.call(this,t,a.DEFLATERAW)}function M(t){if(!(this instanceof M))return new M(t);C.call(this,t,a.INFLATERAW)}function k(t){if(!(this instanceof k))return new k(t);C.call(this,t,a.UNZIP)}function T(t){return t===a.Z_NO_FLUSH||t===a.Z_PARTIAL_FLUSH||t===a.Z_SYNC_FLUSH||t===a.Z_FULL_FLUSH||t===a.Z_FINISH||t===a.Z_BLOCK}function C(t,n){var r=this;if(this._opts=t=t||{},this._chunkSize=t.chunkSize||e.Z_DEFAULT_CHUNK,o.call(this,t),t.flush&&!T(t.flush))throw Error("Invalid flush flag: "+t.flush);if(t.finishFlush&&!T(t.finishFlush))throw Error("Invalid flush flag: "+t.finishFlush);if(this._flushFlag=t.flush||a.Z_NO_FLUSH,this._finishFlushFlag=void 0!==t.finishFlush?t.finishFlush:a.Z_FINISH,t.chunkSize&&(t.chunkSize<e.Z_MIN_CHUNK||t.chunkSize>e.Z_MAX_CHUNK))throw Error("Invalid chunk size: "+t.chunkSize);if(t.windowBits&&(t.windowBits<e.Z_MIN_WINDOWBITS||t.windowBits>e.Z_MAX_WINDOWBITS))throw Error("Invalid windowBits: "+t.windowBits);if(t.level&&(t.level<e.Z_MIN_LEVEL||t.level>e.Z_MAX_LEVEL))throw Error("Invalid compression level: "+t.level);if(t.memLevel&&(t.memLevel<e.Z_MIN_MEMLEVEL||t.memLevel>e.Z_MAX_MEMLEVEL))throw Error("Invalid memLevel: "+t.memLevel);if(t.strategy&&t.strategy!=e.Z_FILTERED&&t.strategy!=e.Z_HUFFMAN_ONLY&&t.strategy!=e.Z_RLE&&t.strategy!=e.Z_FIXED&&t.strategy!=e.Z_DEFAULT_STRATEGY)throw Error("Invalid strategy: "+t.strategy);if(t.dictionary&&!i.isBuffer(t.dictionary))throw Error("Invalid dictionary: it should be a Buffer instance");this._handle=new a.Zlib(n);var s=this;this._hadError=!1,this._handle.onerror=function(t,n){O(s),s._hadError=!0;var r=Error(t);r.errno=n,r.code=e.codes[n],s.emit("error",r)};var l=e.Z_DEFAULT_COMPRESSION;"number"==typeof t.level&&(l=t.level);var u=e.Z_DEFAULT_STRATEGY;"number"==typeof t.strategy&&(u=t.strategy),this._handle.init(t.windowBits||e.Z_DEFAULT_WINDOWBITS,l,t.memLevel||e.Z_DEFAULT_MEMLEVEL,u,t.dictionary),this._buffer=i.allocUnsafe(this._chunkSize),this._offset=0,this._level=l,this._strategy=u,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!r._handle},configurable:!0,enumerable:!0})}function O(t,e){e&&r.nextTick(e),t._handle&&(t._handle.close(),t._handle=null)}function I(t){t.emit("close")}Object.defineProperty(e,"codes",{enumerable:!0,value:Object.freeze(p),writable:!1}),e.Deflate=b,e.Inflate=x,e.Gzip=w,e.Gunzip=S,e.DeflateRaw=A,e.InflateRaw=M,e.Unzip=k,e.createDeflate=function(t){return new b(t)},e.createInflate=function(t){return new x(t)},e.createDeflateRaw=function(t){return new A(t)},e.createInflateRaw=function(t){return new M(t)},e.createGzip=function(t){return new w(t)},e.createGunzip=function(t){return new S(t)},e.createUnzip=function(t){return new k(t)},e.deflate=function(t,e,n){return"function"==typeof e&&(n=e,e={}),m(new b(e),t,n)},e.deflateSync=function(t,e){return _(new b(e),t)},e.gzip=function(t,e,n){return"function"==typeof e&&(n=e,e={}),m(new w(e),t,n)},e.gzipSync=function(t,e){return _(new w(e),t)},e.deflateRaw=function(t,e,n){return"function"==typeof e&&(n=e,e={}),m(new A(e),t,n)},e.deflateRawSync=function(t,e){return _(new A(e),t)},e.unzip=function(t,e,n){return"function"==typeof e&&(n=e,e={}),m(new k(e),t,n)},e.unzipSync=function(t,e){return _(new k(e),t)},e.inflate=function(t,e,n){return"function"==typeof e&&(n=e,e={}),m(new x(e),t,n)},e.inflateSync=function(t,e){return _(new x(e),t)},e.gunzip=function(t,e,n){return"function"==typeof e&&(n=e,e={}),m(new S(e),t,n)},e.gunzipSync=function(t,e){return _(new S(e),t)},e.inflateRaw=function(t,e,n){return"function"==typeof e&&(n=e,e={}),m(new M(e),t,n)},e.inflateRawSync=function(t,e){return _(new M(e),t)},s.inherits(C,o),C.prototype.params=function(t,n,i){if(t<e.Z_MIN_LEVEL||t>e.Z_MAX_LEVEL)throw RangeError("Invalid compression level: "+t);if(n!=e.Z_FILTERED&&n!=e.Z_HUFFMAN_ONLY&&n!=e.Z_RLE&&n!=e.Z_FIXED&&n!=e.Z_DEFAULT_STRATEGY)throw TypeError("Invalid strategy: "+n);if(this._level!==t||this._strategy!==n){var o=this;this.flush(a.Z_SYNC_FLUSH,function(){l(o._handle,"zlib binding closed"),o._handle.params(t,n),!o._hadError&&(o._level=t,o._strategy=n,i&&i())})}else r.nextTick(i)},C.prototype.reset=function(){return l(this._handle,"zlib binding closed"),this._handle.reset()},C.prototype._flush=function(t){this._transform(i.alloc(0),"",t)},C.prototype.flush=function(t,e){var n=this,o=this._writableState;"function"!=typeof t&&(void 0!==t||e)||(e=t,t=a.Z_FULL_FLUSH),o.ended?e&&r.nextTick(e):o.ending?e&&this.once("end",e):o.needDrain?e&&this.once("drain",function(){return n.flush(t,e)}):(this._flushFlag=t,this.write(i.alloc(0),"",e))},C.prototype.close=function(t){O(this,t),r.nextTick(I,this)},C.prototype._transform=function(t,e,n){var r,o=this._writableState,s=(o.ending||o.ended)&&(!t||o.length===t.length);return null===t||i.isBuffer(t)?this._handle?void(s?r=this._finishFlushFlag:(r=this._flushFlag,t.length>=o.length&&(this._flushFlag=this._opts.flush||a.Z_NO_FLUSH)),this._processChunk(t,r,n)):n(Error("zlib binding closed")):n(Error("invalid input"))},C.prototype._processChunk=function(t,e,n){var r=t&&t.length,o=this._chunkSize-this._offset,a=0,s=this,h="function"==typeof n;if(!h){var f,d=[],p=0;this.on("error",function(t){f=t}),l(this._handle,"zlib binding closed");do var g=this._handle.writeSync(e,t,a,r,this._buffer,this._offset,o);while(!this._hadError&&m(g[0],g[1]));if(this._hadError)throw f;if(p>=u)throw O(this),RangeError(c);var y=i.concat(d,p);return O(this),y}l(this._handle,"zlib binding closed");var v=this._handle.write(e,t,a,r,this._buffer,this._offset,o);function m(u,c){if(this&&(this.buffer=null,this.callback=null),!s._hadError){var f=o-c;if(l(f>=0,"have should not go down"),f>0){var g=s._buffer.slice(s._offset,s._offset+f);s._offset+=f,h?s.push(g):(d.push(g),p+=g.length)}if((0===c||s._offset>=s._chunkSize)&&(o=s._chunkSize,s._offset=0,s._buffer=i.allocUnsafe(s._chunkSize)),0===c){if(a+=r-u,r=u,!h)return!0;var y=s._handle.write(e,t,a,r,s._buffer,s._offset,s._chunkSize);return y.callback=m,void(y.buffer=t)}if(!h)return!1;n()}}v.buffer=t,v.callback=m},s.inherits(b,C),s.inherits(x,C),s.inherits(w,C),s.inherits(S,C),s.inherits(A,C),s.inherits(M,C),s.inherits(k,C)},8963:function(t,e,n){"use strict";var r=n(84933),i=n(63328),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,n){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return c(t)}return l(t,e,n)}function l(t,e,n){if("string"==typeof t){var r=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(r,i),l=a(o),u=l.write(r,i);return u!==o&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(t)){var c=t;if(O(c,Uint8Array)){var g=new Uint8Array(c);return f(g.buffer,g.byteOffset,g.byteLength)}return h(c)}if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(O(t,ArrayBuffer)||t&&O(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(O(t,SharedArrayBuffer)||t&&O(t.buffer,SharedArrayBuffer)))return f(t,e,n);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var y=t.valueOf&&t.valueOf();if(null!=y&&y!==t)return s.from(y,e,n);var v=function(t){if(s.isBuffer(t)){var e=0|d(t.length),n=a(e);return 0===n.length||t.copy(n,0,0,e),n}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?a(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(v)return v;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return u(t),a(t<0?0:0|d(t))}function h(t){for(var e=t.length<0?0:0|d(t.length),n=a(e),r=0;r<e;r+=1)n[r]=255&t[r];return n}function f(t,e,n){var r;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),s.prototype),r}function d(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||O(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return k(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return T(t).length;default:if(i)return r?-1:k(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,n){var i,o,a,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=I[t[o]];return i}(this,e,n);case"utf8":case"utf-8":return _(this,e,n);case"ascii":return function(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}(this,e,n);case"latin1":case"binary":return function(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}(this,e,n);case"base64":return i=this,o=e,a=n,0===o&&a===i.length?r.fromByteArray(i):r.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}(this,e,n);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){var o;if(0===t.length)return -1;if("string"==typeof n?(r=n,n=0):n>0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),(o=n*=1)!=o&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length)if(i)return -1;else n=t.length-1;else if(n<0)if(!i)return -1;else n=0;if("string"==typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:m(t,e,n,r,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,n);else return Uint8Array.prototype.lastIndexOf.call(t,e,n);return m(t,[e],n,r,i)}throw TypeError("val must be string, number or Buffer")}function m(t,e,n,r,i){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return -1;a=2,s/=2,l/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(t,o)===u(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,f=0;f<l;f++)if(u(t,o+f)!==u(e,f)){h=!1;break}if(h)return o}return -1}function _(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,a,s,l,u=t[i],c=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:(192&(o=t[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=t[i+1],a=t[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}var f=r,d=f.length;if(d<=4096)return String.fromCharCode.apply(String,f);for(var p="",g=0;g<d;)p+=String.fromCharCode.apply(String,f.slice(g,g+=4096));return p}function b(t,e,n){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>n)throw RangeError("Trying to access beyond buffer length")}function x(t,e,n,r,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(n+r>t.length)throw RangeError("Index out of range")}function w(t,e,n,r,i,o){if(n+r>t.length||n<0)throw RangeError("Index out of range")}function S(t,e,n,r,o){return e*=1,n>>>=0,o||w(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function A(t,e,n,r,o){return e*=1,n>>>=0,o||w(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,n){return l(t,e,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,n){return(u(t),t<=0)?a(t):void 0!==e?"string"==typeof n?a(t).fill(e,n):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return c(t)},s.allocUnsafeSlow=function(t){return c(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(O(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),O(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:+(r<n)},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(n=0,e=0;n<t.length;++n)e+=t[n].length;var n,r=s.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var o=t[n];if(O(o,Uint8Array))i+o.length>r.length?s.from(o).copy(r,i):Uint8Array.prototype.set.call(r,o,i);else if(s.isBuffer(o))o.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?_(this,0,t):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,n,r,i){if(O(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return -1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,a=n-e,l=Math.min(o,a),u=this.slice(r,i),c=t.slice(e,n),h=0;h<l;++h)if(u[h]!==c[h]){o=u[h],a=c[h];break}return o<a?-1:+(a<o)},s.prototype.includes=function(t,e,n){return -1!==this.indexOf(t,e,n)},s.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},s.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},s.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,h,f=this.length-e;if((void 0===n||n>f)&&(n=f),t.length>0&&(n<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var d=!1;;)switch(r){case"hex":return function(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s,l=parseInt(e.substr(2*a,2),16);if((s=l)!=s)break;t[n+a]=l}return a}(this,t,e,n);case"utf8":case"utf-8":return i=e,o=n,C(k(t,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=e,s=n,C(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(t),this,a,s);case"base64":return l=e,u=n,C(T(t),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=e,h=n,C(function(t,e){for(var n,r,i=[],o=0;o<t.length&&!((e-=2)<0);++o)r=(n=t.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(t,this.length-c),this,c,h);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var r=this.subarray(t,e);return Object.setPrototypeOf(r,s.prototype),r},s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||b(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},s.prototype.readUintBE=s.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||b(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||b(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||b(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||b(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||b(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||b(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?0xffff0000|n:n},s.prototype.readInt16BE=function(t,e){t>>>=0,e||b(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?0xffff0000|n:n},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||b(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||b(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||b(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||b(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,n,r){if(t*=1,e>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;x(this,t,e,n,i,0)}var o=1,a=0;for(this[e]=255&t;++a<n&&(o*=256);)this[e+a]=t/o&255;return e+n},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(t,e,n,r){if(t*=1,e>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;x(this,t,e,n,i,0)}var o=n-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,n){return t*=1,e>>>=0,n||x(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,n){return t*=1,e>>>=0,n||x(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,n){return t*=1,e>>>=0,n||x(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,n){return t*=1,e>>>=0,n||x(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,n){return t*=1,e>>>=0,n||x(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,n,r){if(t*=1,e>>>=0,!r){var i=Math.pow(2,8*n-1);x(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t*=1,e>>>=0,!r){var i=Math.pow(2,8*n-1);x(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t*=1,e>>>=0,n||x(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t*=1,e>>>=0,n||x(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,n){return t*=1,e>>>=0,n||x(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,n){return t*=1,e>>>=0,n||x(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,n){return t*=1,e>>>=0,n||x(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,n){return S(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return S(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return A(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return A(this,t,e,!1,n)},s.prototype.copy=function(t,e,n,r){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),i},s.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw RangeError("Out of range index");if(n<=e)return this;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{var a=s.isBuffer(t)?t:s.from(t,r),l=a.length;if(0===l)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<n-e;++i)this[i+e]=a[i%l]}return this};var M=/[^+/0-9A-Za-z-_]/g;function k(t,e){e=e||1/0;for(var n,r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319||a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function T(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(M,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function C(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length)&&!(i>=t.length);++i)e[i+n]=t[i];return i}function O(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var I=function(){for(var t="0123456789abcdef",e=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)e[r+i]=t[n]+t[i];return e}()},97785:function(t,e,n){"use strict";var r=n(79524),i=n(64811),o=n(46255);t.exports=n(12728)||r.call(o,i)},96440:function(t,e,n){"use strict";var r=n(79524),i=n(64811),o=n(97785);t.exports=function(){return o(r,i,arguments)}},64811:function(t){"use strict";t.exports=Function.prototype.apply},46255:function(t){"use strict";t.exports=Function.prototype.call},92427:function(t,e,n){"use strict";var r=n(79524),i=n(71102),o=n(46255),a=n(97785);t.exports=function(t){if(t.length<1||"function"!=typeof t[0])throw new i("a function is required");return a(r,o,t)}},12728:function(t){"use strict";t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},11187:function(t,e,n){"use strict";var r=n(49336),i=n(17695),o=i(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&o(t,".prototype.")>-1?i(n):n}},17695:function(t,e,n){"use strict";var r=n(7755),i=n(39886),o=n(92427),a=n(96440);t.exports=function(t){var e=o(arguments),n=t.length-(arguments.length-1);return r(e,1+(n>0?n:0),!0)},i?i(t.exports,"apply",{value:a}):t.exports.apply=a},98801:function(t,e,n){"use strict";var r=n(49336),i=n(92427),o=i([r("%String.prototype.indexOf%")]);t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&o(t,".prototype.")>-1?i([n]):n}},59585:function(t,e,n){"use strict";var r=n(39687),i={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var n,o,a,s,l,u,c,h,f=!1;e||(e={}),a=e.debug||!1;try{if(l=r(),u=document.createRange(),c=document.getSelection(),(h=document.createElement("span")).textContent=t,h.ariaHidden="true",h.style.all="unset",h.style.position="fixed",h.style.top=0,h.style.clip="rect(0, 0, 0, 0)",h.style.whiteSpace="pre",h.style.webkitUserSelect="text",h.style.MozUserSelect="text",h.style.msUserSelect="text",h.style.userSelect="text",h.addEventListener("copy",function(n){if(n.stopPropagation(),e.format)if(n.preventDefault(),void 0===n.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=i[e.format]||i.default;window.clipboardData.setData(r,t)}else n.clipboardData.clearData(),n.clipboardData.setData(e.format,t);e.onCopy&&(n.preventDefault(),e.onCopy(n.clipboardData))}),document.body.appendChild(h),u.selectNodeContents(h),c.addRange(u),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(r){a&&console.error("unable to copy using execCommand: ",r),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),f=!0}catch(r){a&&console.error("unable to copy using clipboardData: ",r),a&&console.error("falling back to prompt"),n="message"in e?e.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",s=n.replace(/#{\s*key\s*}/g,o),window.prompt(s,t)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(u):c.removeAllRanges()),h&&document.body.removeChild(h),l()}return f}},18814:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="week",o="month",a="quarter",s="year",l="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},d="en",p={};p[d]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}};var g="$isDayjsObject",y=function(t){return t instanceof b||!(!t||!t[g])},v=function t(e,n,r){var i;if(!e)return d;if("string"==typeof e){var o=e.toLowerCase();p[o]&&(i=o),n&&(p[o]=n,i=o);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var s=e.name;p[s]=e,i=s}return!r&&i&&(d=i),i||!r&&d},m=function(t,e){if(y(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new b(n)},_={s:f,z:function(t){var e=-t.utcOffset(),n=Math.abs(e);return(e<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,o),a=n-i<0,s=e.clone().add(r+(a?-1:1),o);return+(-(r+(n-i)/(a?i-s:s-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(u){return({M:o,y:s,w:i,d:"day",D:l,h:r,m:n,s:e,ms:t,Q:a})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};_.l=v,_.i=y,_.w=function(t,e){return m(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var b=function(){function f(t){this.$L=v(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[g]=!0}var d=f.prototype;return d.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(_.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(c);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.init()},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return _},d.isValid=function(){return this.$d.toString()!==u},d.isSame=function(t,e){var n=m(t);return this.startOf(e)<=n&&n<=this.endOf(e)},d.isAfter=function(t,e){return m(t)<this.startOf(e)},d.isBefore=function(t,e){return this.endOf(e)<m(t)},d.$g=function(t,e,n){return _.u(t)?this[e]:this.set(n,t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,a){var u=this,c=!!_.u(a)||a,h=_.p(t),f=function(t,e){var n=_.w(u.$u?Date.UTC(u.$y,e,t):new Date(u.$y,e,t),u);return c?n:n.endOf("day")},d=function(t,e){return _.w(u.toDate()[t].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),u)},p=this.$W,g=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(h){case s:return c?f(1,0):f(31,11);case o:return c?f(1,g):f(0,g+1);case i:var m=this.$locale().weekStart||0,b=(p<m?p+7:p)-m;return f(c?y-b:y+(6-b),g);case"day":case l:return d(v+"Hours",0);case r:return d(v+"Minutes",1);case n:return d(v+"Seconds",2);case e:return d(v+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(i,a){var u,c=_.p(i),h="set"+(this.$u?"UTC":""),f=((u={}).day=h+"Date",u[l]=h+"Date",u[o]=h+"Month",u[s]=h+"FullYear",u[r]=h+"Hours",u[n]=h+"Minutes",u[e]=h+"Seconds",u[t]=h+"Milliseconds",u)[c],d="day"===c?this.$D+(a-this.$W):a;if(c===o||c===s){var p=this.clone().set(l,1);p.$d[f](d),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](d);return this.init(),this},d.set=function(t,e){return this.clone().$set(t,e)},d.get=function(t){return this[_.p(t)]()},d.add=function(t,a){var l,u=this;t=Number(t);var c=_.p(a),h=function(e){var n=m(u);return _.w(n.date(n.date()+Math.round(e*t)),u)};if(c===o)return this.set(o,this.$M+t);if(c===s)return this.set(s,this.$y+t);if("day"===c)return h(1);if(c===i)return h(7);var f=((l={})[n]=6e4,l[r]=36e5,l[e]=1e3,l)[c]||1,d=this.$d.getTime()+t*f;return _.w(d,this)},d.subtract=function(t,e){return this.add(-1*t,e)},d.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||u;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=_.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,f=n.meridiem,d=function(t,n,i,o){return t&&(t[n]||t(e,r))||i[n].slice(0,o)},p=function(t){return _.s(o%12||12,t,"0")},g=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(h,function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return _.s(e.$y,4,"0");case"M":return s+1;case"MM":return _.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return e.$D;case"DD":return _.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return d(n.weekdaysMin,e.$W,l,2);case"ddd":return d(n.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(o);case"HH":return _.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return g(o,a,!0);case"A":return g(o,a,!1);case"m":return String(a);case"mm":return _.s(a,2,"0");case"s":return String(e.$s);case"ss":return _.s(e.$s,2,"0");case"SSS":return _.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")})},d.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},d.diff=function(t,l,u){var c,h=this,f=_.p(l),d=m(t),p=(d.utcOffset()-this.utcOffset())*6e4,g=this-d,y=function(){return _.m(h,d)};switch(f){case s:c=y()/12;break;case o:c=y();break;case a:c=y()/3;break;case i:c=(g-p)/6048e5;break;case"day":c=(g-p)/864e5;break;case r:c=g/36e5;break;case n:c=g/6e4;break;case e:c=g/1e3;break;default:c=g}return u?c:_.a(c)},d.daysInMonth=function(){return this.endOf(o).$D},d.$locale=function(){return p[this.$L]},d.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=v(t,e,!0);return r&&(n.$L=r),n},d.clone=function(){return _.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},f}(),x=b.prototype;return m.prototype=x,[["$ms",t],["$s",e],["$m",n],["$H",r],["$W","day"],["$M",o],["$y",s],["$D",l]].forEach(function(t){x[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),m.extend=function(t,e){return t.$i||(t(e,b,m),t.$i=!0),m},m.locale=v,m.isDayjs=y,m.unix=function(t){return m(1e3*t)},m.en=p[d],m.Ls=p,m.p={},m}()},20022:function(t,e,n){"use strict";var r=n(39886),i=n(63429),o=n(71102),a=n(25667);t.exports=function(t,e,n){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],h=!!a&&a(t,e);if(r)r(t,e,{configurable:null===u&&h?h.configurable:!u,enumerable:null===s&&h?h.enumerable:!s,value:n,writable:null===l&&h?h.writable:!l});else if(!c&&(s||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else t[e]=n}},4938:function(t,e,n){"use strict";var r=n(5187),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=n(20022),l=n(491)(),u=function(t,e,n,r){if(e in t){if(!0===r){if(t[e]===n)return}else if("function"!=typeof r||"[object Function]"!==o.call(r)||!r())return}l?s(t,e,n,!0):s(t,e,n)},c=function(t,e){var n=arguments.length>2?arguments[2]:{},o=r(e);i&&(o=a.call(o,Object.getOwnPropertySymbols(e)));for(var s=0;s<o.length;s+=1)u(t,o[s],e[o[s]],n[o[s]])};c.supportsDescriptors=!!l,t.exports=c},57678:function(t,e,n){"use strict";var r,i=n(92427),o=n(25667);try{r=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var a=!!r&&o&&o(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;t.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof l&&function(t){return l(null==t?t:s(t))}},61065:function(t,e,n){"use strict";n.d(e,{A:()=>h});var r=n(367),i=n(22155),o=n(49741);function a(t,e){var n={};return e.forEach(function(e){n[e]=t[e]}),n}function s(t){return"function"==typeof t}function l(t){return"string"==typeof t}var u=n(67371),c=n.n(u);let h=function(t){function e(e){var n=t.call(this,e)||this;return n.echarts=e.echarts,n.ele=null,n.isInitialResize=!0,n}return(0,r.C6)(e,t),e.prototype.componentDidMount=function(){this.renderNewEcharts()},e.prototype.componentDidUpdate=function(t){var e=this.props.shouldSetOption;if(!s(e)||e(t,this.props)){if(!c()(t.theme,this.props.theme)||!c()(t.opts,this.props.opts)){this.dispose(),this.renderNewEcharts();return}var n=this.getEchartsInstance();c()(t.onEvents,this.props.onEvents)||(this.offEvents(n,t.onEvents),this.bindEvents(n,this.props.onEvents));var r=["option","notMerge","replaceMerge","lazyUpdate","showLoading","loadingOption"];c()(a(this.props,r),a(t,r))||this.updateEChartsOption(),c()(t.style,this.props.style)&&c()(t.className,this.props.className)||this.resize()}},e.prototype.componentWillUnmount=function(){this.dispose()},e.prototype.initEchartsInstance=function(){return(0,r.sH)(this,void 0,void 0,function(){var t=this;return(0,r.YH)(this,function(e){return[2,new Promise(function(e){t.echarts.init(t.ele,t.props.theme,t.props.opts),t.getEchartsInstance().on("finished",function(){var n=t.ele.clientWidth,i=t.ele.clientHeight;t.echarts.dispose(t.ele);var o=(0,r.Cl)({width:n,height:i},t.props.opts);e(t.echarts.init(t.ele,t.props.theme,o))})})]})})},e.prototype.getEchartsInstance=function(){return this.echarts.getInstanceByDom(this.ele)},e.prototype.dispose=function(){if(this.ele){try{(0,o.clear)(this.ele)}catch(t){console.warn(t)}this.echarts.dispose(this.ele)}},e.prototype.renderNewEcharts=function(){return(0,r.sH)(this,void 0,void 0,function(){var t,e,n,i,a,l,u=this;return(0,r.YH)(this,function(r){switch(r.label){case 0:return e=(t=this.props).onEvents,n=t.onChartReady,a=void 0===(i=t.autoResize)||i,[4,this.initEchartsInstance()];case 1:return r.sent(),l=this.updateEChartsOption(),this.bindEvents(l,e||{}),s(n)&&n(l),this.ele&&a&&(0,o.bind)(this.ele,function(){u.resize()}),[2]}})})},e.prototype.bindEvents=function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&function(e,n){l(e)&&s(n)&&t.on(e,function(e){n(e,t)})}(n,e[n])},e.prototype.offEvents=function(t,e){if(e)for(var n in e)l(n)&&t.off(n,e[n])},e.prototype.updateEChartsOption=function(){var t=this.props,e=t.option,n=t.notMerge,r=t.replaceMerge,i=t.lazyUpdate,o=t.showLoading,a=t.loadingOption,s=this.getEchartsInstance();return s.setOption(e,{notMerge:void 0!==n&&n,replaceMerge:void 0===r?null:r,lazyUpdate:void 0!==i&&i}),o?s.showLoading(void 0===a?null:a):s.hideLoading(),s},e.prototype.resize=function(){var t=this.getEchartsInstance();if(!this.isInitialResize)try{t.resize({width:"auto",height:"auto"})}catch(t){console.warn(t)}this.isInitialResize=!1},e.prototype.render=function(){var t=this,e=this.props,n=e.style,o=e.className,a=(e.echarts,e.option,e.theme,e.notMerge,e.replaceMerge,e.lazyUpdate,e.showLoading,e.loadingOption,e.opts,e.onChartReady,e.onEvents,e.shouldSetOption,e.autoResize,(0,r.Tt)(e,["style","className","echarts","option","theme","notMerge","replaceMerge","lazyUpdate","showLoading","loadingOption","opts","onChartReady","onEvents","shouldSetOption","autoResize"])),s=(0,r.Cl)({height:300},n);return i.createElement("div",(0,r.Cl)({ref:function(e){t.ele=e},style:s,className:"echarts-for-react ".concat(void 0===o?"":o)},a))},e}(i.PureComponent)},39886:function(t){"use strict";var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}t.exports=e},38004:function(t){"use strict";t.exports=EvalError},41488:function(t){"use strict";t.exports=Error},96469:function(t){"use strict";t.exports=RangeError},12557:function(t){"use strict";t.exports=ReferenceError},63429:function(t){"use strict";t.exports=SyntaxError},71102:function(t){"use strict";t.exports=TypeError},85966:function(t){"use strict";t.exports=URIError},25153:function(t){"use strict";t.exports=Object},86505:function(t){function e(t){if(!t)return"";if(!/\r/.test(t))return t;for(t=t.replace(/\r+\n/gm,"\n");/\r./.test(t);)t=t.replace(/^([^\r\n]*)\r+([^\r\n]+)/gm,function(t,e,n){return n+e.slice(n.length)});return t}function n(t){if(!/\r/.test(t))return t;for(var e=t.split("\r"),n=[];e.length>0;){var r=function(t){for(var e=0,n=0;n<t.length;n++)t[e].length<=t[n].length&&(e=n);return e}(e);n.push(e[r]),e=e.slice(r+1)}return n.join("\r")}t.exports=e,t.exports.escapeCarriageReturn=e,t.exports.escapeCarriageReturnSafe=function(t){if(!t)return"";if(!/\r/.test(t))return t;if(!/\n/.test(t))return n(t);var r=(t=t.replace(/\r+\n/gm,"\n")).lastIndexOf("\n");return e(t.slice(0,r))+"\n"+n(t.slice(r+1))}},80381:function(t){"use strict";var e,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};e=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var i=Number.isNaN||function(t){return t!=t};function o(){o.init.call(this)}t.exports=o,t.exports.once=function(t,e){return new Promise(function(n,r){var i,o,a;function s(n){t.removeListener(e,l),r(n)}function l(){"function"==typeof t.removeListener&&t.removeListener("error",s),n([].slice.call(arguments))}g(t,e,l,{once:!0}),"error"!==e&&(i=t,o=s,a={once:!0},"function"==typeof i.on&&g(i,"error",o,a))})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(t){if("function"!=typeof t)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?o.defaultMaxListeners:t._maxListeners}function u(t,e,n,r){if(s(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),a=o[e]),void 0===a)a=o[e]=n,++t._eventsCount;else if("function"==typeof a?a=o[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=l(t))>0&&a.length>i&&!a.warned){a.warned=!0;var i,o,a,u=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=a.length,console&&console.warn&&console.warn(u)}return t}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=c.bind(r);return i.listener=n,r.wrapFn=i,i}function f(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(i):p(i,i.length)}function d(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function p(t,e){for(var n=Array(e),r=0;r<e;++r)n[r]=t[r];return n}function g(t,e,n,r){if("function"==typeof t.on)r.once?t.once(e,n):t.on(e,n);else if("function"==typeof t.addEventListener)t.addEventListener(e,function i(o){r.once&&t.removeEventListener(e,i),n(o)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(t){if("number"!=typeof t||t<0||i(t))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");a=t}}),o.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||i(t))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var i="error"===t,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[t];if(void 0===l)return!1;if("function"==typeof l)r(l,this,e);else for(var u=l.length,c=p(l,u),n=0;n<u;++n)r(c[n],this,e);return!0},o.prototype.addListener=function(t,e){return u(this,t,e,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(t,e){return u(this,t,e,!0)},o.prototype.once=function(t,e){return s(e),this.on(t,h(this,t,e)),this},o.prototype.prependOnceListener=function(t,e){return s(e),this.prependListener(t,h(this,t,e)),this},o.prototype.removeListener=function(t,e){var n,r,i,o,a;if(s(e),void 0===(r=this._events)||void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,a||e)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0==arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},o.prototype.listeners=function(t){return f(this,t,!0)},o.prototype.rawListeners=function(t){return f(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):d.call(t,e)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},67371:function(t){"use strict";t.exports=function t(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(e.constructor!==n.constructor)return!1;if(Array.isArray(e)){if((r=e.length)!=n.length)return!1;for(i=r;0!=i--;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if((r=(o=Object.keys(e)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var r,i,o,a=o[i];if(!t(e[a],n[a]))return!1}return!0}return e!=e&&n!=n}},14086:function(t,e,n){"use strict";var r=n(22956),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty,a=function(t,e,n){for(var r=0,i=t.length;r<i;r++)o.call(t,r)&&(null==n?e(t[r],r,t):e.call(n,t[r],r,t))},s=function(t,e,n){for(var r=0,i=t.length;r<i;r++)null==n?e(t.charAt(r),r,t):e.call(n,t.charAt(r),r,t)},l=function(t,e,n){for(var r in t)o.call(t,r)&&(null==n?e(t[r],r,t):e.call(n,t[r],r,t))};t.exports=function(t,e,n){var o;if(!r(e))throw TypeError("iterator must be a function");arguments.length>=3&&(o=n),"[object Array]"===i.call(t)?a(t,e,o):"string"==typeof t?s(t,e,o):l(t,e,o)}},69992:function(t){"use strict";var e=Object.prototype.toString,n=Math.max,r=function(t,e){for(var n=[],r=0;r<t.length;r+=1)n[r]=t[r];for(var i=0;i<e.length;i+=1)n[i+t.length]=e[i];return n},i=function(t,e){for(var n=[],r=e||0,i=0;r<t.length;r+=1,i+=1)n[i]=t[r];return n},o=function(t,e){for(var n="",r=0;r<t.length;r+=1)n+=t[r],r+1<t.length&&(n+=e);return n};t.exports=function(t){var a,s=this;if("function"!=typeof s||"[object Function]"!==e.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var l=i(arguments,1),u=n(0,s.length-l.length),c=[],h=0;h<u;h++)c[h]="$"+h;if(a=Function("binder","return function ("+o(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var e=s.apply(this,r(l,arguments));return Object(e)===e?e:this}return s.apply(t,r(l,arguments))}),s.prototype){var f=function(){};f.prototype=s.prototype,a.prototype=new f,f.prototype=null}return a}},79524:function(t,e,n){"use strict";var r=n(69992);t.exports=Function.prototype.bind||r},49336:function(t,e,n){"use strict";var r,i=n(25153),o=n(41488),a=n(38004),s=n(96469),l=n(12557),u=n(63429),c=n(71102),h=n(85966),f=n(77412),d=n(52418),p=n(57958),g=n(47384),y=n(250),v=n(51844),m=n(47279),_=Function,b=function(t){try{return _('"use strict"; return ('+t+").constructor;")()}catch(t){}},x=n(25667),w=n(39886),S=function(){throw new c},A=x?function(){try{return arguments.callee,S}catch(t){try{return x(arguments,"callee").get}catch(t){return S}}}():S,M=n(21514)(),k=n(14252),T=n(23752),C=n(60248),O=n(64811),I=n(46255),E={},D="undefined"!=typeof Uint8Array&&k?k(Uint8Array):r,R={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":M&&k?k([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":E,"%AsyncGenerator%":E,"%AsyncGeneratorFunction%":E,"%AsyncIteratorPrototype%":E,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":E,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":M&&k?k(k([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&M&&k?k(new Map()[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&M&&k?k(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":M&&k?k(""[Symbol.iterator]()):r,"%Symbol%":M?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":A,"%TypedArray%":D,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":h,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":I,"%Function.prototype.apply%":O,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":T,"%Math.abs%":f,"%Math.floor%":d,"%Math.max%":p,"%Math.min%":g,"%Math.pow%":y,"%Math.round%":v,"%Math.sign%":m,"%Reflect.getPrototypeOf%":C};if(k)try{null.error}catch(t){var L=k(k(t));R["%Error.prototype%"]=L}var P=function t(e){var n;if("%AsyncFunction%"===e)n=b("async function () {}");else if("%GeneratorFunction%"===e)n=b("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=b("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&k&&(n=k(i.prototype))}return R[e]=n,n},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},B=n(79524),F=n(75630),j=B.call(I,Array.prototype.concat),z=B.call(O,Array.prototype.splice),H=B.call(I,String.prototype.replace),V=B.call(I,String.prototype.slice),U=B.call(I,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,q=/\\(\\)?/g,G=function(t){var e=V(t,0,1),n=V(t,-1);if("%"===e&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return H(t,W,function(t,e,n,i){r[r.length]=n?H(i,q,"$1"):e||t}),r},Z=function(t,e){var n,r=t;if(F(N,r)&&(r="%"+(n=N[r])[0]+"%"),F(R,r)){var i=R[r];if(i===E&&(i=P(r)),void 0===i&&!e)throw new c("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new u("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new c('"allowMissing" argument must be a boolean');if(null===U(/^%?[^%]*%?$/,t))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=G(t),r=n.length>0?n[0]:"",i=Z("%"+r+"%",e),o=i.name,a=i.value,s=!1,l=i.alias;l&&(r=l[0],z(n,j([0,1],l)));for(var h=1,f=!0;h<n.length;h+=1){var d=n[h],p=V(d,0,1),g=V(d,-1);if(('"'===p||"'"===p||"`"===p||'"'===g||"'"===g||"`"===g)&&p!==g)throw new u("property names with quotes must have matching quotes");if("constructor"!==d&&f||(s=!0),r+="."+d,F(R,o="%"+r+"%"))a=R[o];else if(null!=a){if(!(d in a)){if(!e)throw new c("base intrinsic for "+t+" exists, but the property is not available.");return}if(x&&h+1>=n.length){var y=x(a,d);a=(f=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[d]}else f=F(a,d),a=a[d];f&&!s&&(R[o]=a)}}return a}},23752:function(t,e,n){"use strict";t.exports=n(25153).getPrototypeOf||null},60248:function(t){"use strict";t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},14252:function(t,e,n){"use strict";var r=n(60248),i=n(23752),o=n(57678);t.exports=r?function(t){return r(t)}:i?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("getProto: not an object");return i(t)}:o?function(t){return o(t)}:null},51333:function(t){"use strict";t.exports=Object.getOwnPropertyDescriptor},25667:function(t,e,n){"use strict";var r=n(51333);if(r)try{r([],"length")}catch(t){r=null}t.exports=r},491:function(t,e,n){"use strict";var r=n(39886),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(t){return!0}},t.exports=i},21514:function(t,e,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(9712);t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},9712:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},77185:function(t,e,n){"use strict";var r=n(9712);t.exports=function(){return r()&&!!Symbol.toStringTag}},75630:function(t,e,n){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty;t.exports=n(79524).call(r,i)},63328:function(t,e){e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,h=n?i-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+t[e+h],h+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=u}return(d?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,h=c>>1,f=5960464477539062e-23*(23===i),d=r?0:o-1,p=r?1:-1,g=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(s=+!!isNaN(e),a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+h>=1?e+=f/l:e+=f*Math.pow(2,1-h),e*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[n+d]=255&a,d+=p,a/=256,u-=8);t[n+d-p]|=128*g}},91193:function(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},56531:function(t,e,n){"use strict";var r=n(77185)(),i=n(98801)("Object.prototype.toString"),o=function(t){return(!r||!t||"object"!=typeof t||!(Symbol.toStringTag in t))&&"[object Arguments]"===i(t)},a=function(t){return!!o(t)||null!==t&&"object"==typeof t&&"length"in t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==i(t)&&"callee"in t&&"[object Function]"===i(t.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,t.exports=s?o:a},22956:function(t){"use strict";var e,n,r=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw n}}),n={},i(function(){throw 42},null,e)}catch(t){t!==n&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(t){try{var e=r.call(t);return o.test(e)}catch(t){return!1}},s=function(t){try{if(a(t))return!1;return r.call(t),!0}catch(t){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),h=function(){return!1};if("object"==typeof document){var f=document.all;l.call(f)===l.call(document.all)&&(h=function(t){if((c||!t)&&(void 0===t||"object"==typeof t))try{var e=l.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}t.exports=i?function(t){if(h(t))return!0;if(!t||"function"!=typeof t&&"object"!=typeof t)return!1;try{i(t,null,e)}catch(t){if(t!==n)return!1}return!a(t)&&s(t)}:function(t){if(h(t))return!0;if(!t||"function"!=typeof t&&"object"!=typeof t)return!1;if(u)return s(t);if(a(t))return!1;var e=l.call(t);return("[object Function]"===e||"[object GeneratorFunction]"===e||!!/^\[object HTML/.test(e))&&s(t)}},94204:function(t,e,n){"use strict";var r,i=n(98801),o=n(43282)(/^\s*(?:function)?\*/),a=n(77185)(),s=n(14252),l=i("Object.prototype.toString"),u=i("Function.prototype.toString"),c=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(t){}};t.exports=function(t){if("function"!=typeof t)return!1;if(o(u(t)))return!0;if(!a)return"[object GeneratorFunction]"===l(t);if(!s)return!1;if(void 0===r){var e=c();r=!!e&&s(e)}return s(t)===r}},84770:function(t){"use strict";t.exports=function(t){return t!=t}},14954:function(t,e,n){"use strict";var r=n(17695),i=n(4938),o=n(84770),a=n(2219),s=n(54445),l=r(a(),Number);i(l,{getPolyfill:a,implementation:o,shim:s}),t.exports=l},2219:function(t,e,n){"use strict";var r=n(84770);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},54445:function(t,e,n){"use strict";var r=n(4938),i=n(2219);t.exports=function(){var t=i();return r(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},10092:function(t,e,n){"use strict";var r,i=n(98801),o=n(77185)(),a=n(75630),s=n(25667);if(o){var l=i("RegExp.prototype.exec"),u={},c=function(){throw u},h={toString:c,valueOf:c};"symbol"==typeof Symbol.toPrimitive&&(h[Symbol.toPrimitive]=c),r=function(t){if(!t||"object"!=typeof t)return!1;var e=s(t,"lastIndex");if(!(e&&a(e,"value")))return!1;try{l(t,h)}catch(t){return t===u}}}else{var f=i("Object.prototype.toString");r=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"[object RegExp]"===f(t)}}t.exports=r},40006:function(t,e,n){"use strict";var r=n(19033);t.exports=function(t){return!!r(t)}},77412:function(t){"use strict";t.exports=Math.abs},52418:function(t){"use strict";t.exports=Math.floor},19313:function(t){"use strict";t.exports=Number.isNaN||function(t){return t!=t}},57958:function(t){"use strict";t.exports=Math.max},47384:function(t){"use strict";t.exports=Math.min},250:function(t){"use strict";t.exports=Math.pow},51844:function(t){"use strict";t.exports=Math.round},47279:function(t,e,n){"use strict";var r=n(19313);t.exports=function(t){return r(t)||0===t?t:t<0?-1:1}},30656:function(t){"use strict";var e=function(t){return t!=t};t.exports=function(t,n){return 0===t&&0===n?1/t==1/n:!!(t===n||e(t)&&e(n))}},19068:function(t,e,n){"use strict";var r=n(4938),i=n(17695),o=n(30656),a=n(12197),s=n(49235),l=i(a(),Object);r(l,{getPolyfill:a,implementation:o,shim:s}),t.exports=l},12197:function(t,e,n){"use strict";var r=n(30656);t.exports=function(){return"function"==typeof Object.is?Object.is:r}},49235:function(t,e,n){"use strict";var r=n(12197),i=n(4938);t.exports=function(){var t=r();return i(Object,{is:t},{is:function(){return Object.is!==t}}),t}},25717:function(t,e,n){"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=n(14635),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],h=function(t){var e=t.constructor;return e&&e.prototype===t},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!f["$"+t]&&i.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{h(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),p=function(t){if("undefined"==typeof window||!d)return h(t);try{return h(t)}catch(t){return!1}};r=function(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===o.call(t),r=a(t),s=e&&"[object String]"===o.call(t),h=[];if(!e&&!n&&!r)throw TypeError("Object.keys called on a non-object");var f=u&&n;if(s&&t.length>0&&!i.call(t,0))for(var d=0;d<t.length;++d)h.push(String(d));if(r&&t.length>0)for(var g=0;g<t.length;++g)h.push(String(g));else for(var y in t)!(f&&"prototype"===y)&&i.call(t,y)&&h.push(String(y));if(l)for(var v=p(t),m=0;m<c.length;++m)!(v&&"constructor"===c[m])&&i.call(t,c[m])&&h.push(c[m]);return h}}t.exports=r},5187:function(t,e,n){"use strict";var r=Array.prototype.slice,i=n(14635),o=Object.keys,a=o?function(t){return o(t)}:n(25717),s=Object.keys;a.shim=function(){return Object.keys?!function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2)&&(Object.keys=function(t){return i(t)?s(r.call(t)):s(t)}):Object.keys=a,Object.keys||a},t.exports=a},14635:function(t){"use strict";var e=Object.prototype.toString;t.exports=function(t){var n=e.call(t),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),r}},1924:function(t,e,n){"use strict";var r=n(5187),i=n(9712)(),o=n(98801),a=n(25153),s=o("Array.prototype.push"),l=o("Object.prototype.propertyIsEnumerable"),u=i?a.getOwnPropertySymbols:null;t.exports=function(t,e){if(null==t)throw TypeError("target must be an object");var n=a(t);if(1==arguments.length)return n;for(var o=1;o<arguments.length;++o){var c=a(arguments[o]),h=r(c),f=i&&(a.getOwnPropertySymbols||u);if(f)for(var d=f(c),p=0;p<d.length;++p){var g=d[p];l(c,g)&&s(h,g)}for(var y=0;y<h.length;++y){var v=h[y];if(l(c,v)){var m=c[v];n[v]=m}}}return n}},43921:function(t,e,n){"use strict";var r=n(1924),i=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},r=0;r<e.length;++r)n[e[r]]=e[r];var i=Object.assign({},n),o="";for(var a in i)o+=a;return t!==o},o=function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(e){return"y"===t[1]}return!1};t.exports=function(){return!Object.assign||i()||o()?r:Object.assign}},35207:function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!=typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},50020:function(t,e){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;e.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw TypeError(n+"must be non-object");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}}return t},e.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var r={arraySet:function(t,e,n,r,i){if(e.subarray&&t.subarray)return void t.set(e.subarray(n,n+r),i);for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){var e,n,r,i,o,a;for(e=0,r=0,n=t.length;e<n;e++)r+=t[e].length;for(e=0,a=new Uint8Array(r),i=0,n=t.length;e<n;e++)o=t[e],a.set(o,i),i+=o.length;return a}},i={arraySet:function(t,e,n,r,i){for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,r)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(n)},81356:function(t){"use strict";t.exports=function(t,e,n,r){for(var i=65535&t,o=t>>>16&65535,a=0;0!==n;){a=n>2e3?2e3:n,n-=a;do o=o+(i=i+e[r++]|0)|0;while(--a);i%=65521,o%=65521}return i|o<<16}},10756:function(t){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},49910:function(t){"use strict";var e=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?0xedb88320^t>>>1:t>>>1;e[n]=t}return e}();t.exports=function(t,n,r,i){var o=i+r;t^=-1;for(var a=i;a<o;a++)t=t>>>8^e[(t^n[a])&255];return -1^t}},78250:function(t,e,n){"use strict";var r,i=n(50020),o=n(9984),a=n(81356),s=n(49910),l=n(5317),u=573;function c(t,e){return t.msg=l[e],e}function h(t){return(t<<1)-9*(t>4)}function f(t){for(var e=t.length;--e>=0;)t[e]=0}function d(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(i.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function p(t,e){o._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,d(t.strm)}function g(t,e){t.pending_buf[t.pending++]=e}function y(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function v(t,e){var n,r,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,u=t.window,c=t.w_mask,h=t.prev,f=t.strstart+258,d=u[o+a-1],p=u[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(u[(n=e)+a]!==p||u[n+a-1]!==d||u[n]!==u[o]||u[++n]!==u[o+1])continue;o+=2,n++;do;while(u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&o<f);if(r=258-(f-o),o=f-258,r>a){if(t.match_start=e,a=r,r>=s)break;d=u[o+a-1],p=u[o+a]}}while((e=h[e&c])>l&&0!=--i);return a<=t.lookahead?a:t.lookahead}function m(t){var e,n,r,o,l,u=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=u+(u-262)){i.arraySet(t.window,t.window,u,u,0),t.match_start-=u,t.strstart-=u,t.block_start-=u,e=n=t.hash_size;do r=t.head[--e],t.head[e]=r>=u?r-u:0;while(--n);e=n=u;do r=t.prev[--e],t.prev[e]=r>=u?r-u:0;while(--n);o+=u}if(0===t.strm.avail_in)break;if(n=function(t,e,n,r){var o=t.avail_in;return(o>r&&(o=r),0===o)?0:(t.avail_in-=o,i.arraySet(e,t.input,t.next_in,o,n),1===t.state.wrap?t.adler=a(t.adler,e,o,n):2===t.state.wrap&&(t.adler=s(t.adler,e,o,n)),t.next_in+=o,t.total_in+=o,o)}(t.strm,t.window,t.strstart+t.lookahead,o),t.lookahead+=n,t.lookahead+t.insert>=3)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+3-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function _(t,e){for(var n,r;;){if(t.lookahead<262){if(m(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-262&&(t.match_length=v(t,n)),t.match_length>=3)if(r=o._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=t.strstart<2?t.strstart:2,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(t,!1),0===t.strm.avail_out)?1:2}function b(t,e){for(var n,r,i;;){if(t.lookahead<262){if(m(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-262&&(t.match_length=v(t,n),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,r=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,r&&(p(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((r=o._tr_tally(t,0,t.window[t.strstart-1]))&&p(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return(t.match_available&&(r=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(t,!1),0===t.strm.avail_out)?1:2}function x(t,e,n,r,i){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=r,this.func=i}function w(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*u),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),f(this.dyn_ltree),f(this.dyn_dtree),f(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),f(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),f(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function S(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:113,t.adler=+(2!==e.wrap),e.last_flush=0,o._tr_init(e),0):c(t,-2)}function A(t){var e,n=S(t);return 0===n&&((e=t.state).window_size=2*e.w_size,f(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),n}function M(t,e,n,r,o,a){if(!t)return -2;var s=1;if(-1===e&&(e=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),o<1||o>9||8!==n||r<8||r>15||e<0||e>9||a<0||a>4)return c(t,-2);8===r&&(r=9);var l=new w;return t.state=l,l.strm=t,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=+l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=a,l.method=n,A(t)}r=[new x(0,0,0,0,function(t,e){var n=65535;for(65535>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(m(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,p(t,!1),0===t.strm.avail_out)||t.strstart-t.block_start>=t.w_size-262&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:(t.strstart>t.block_start&&(p(t,!1),t.strm.avail_out),1)}),new x(4,4,8,4,_),new x(4,5,16,8,_),new x(4,6,32,32,_),new x(4,4,16,16,b),new x(8,16,32,32,b),new x(8,16,128,128,b),new x(8,32,128,256,b),new x(32,128,258,1024,b),new x(32,258,258,4096,b)],e.deflateInit=function(t,e){return M(t,e,8,15,8,0)},e.deflateInit2=M,e.deflateReset=A,e.deflateResetKeep=S,e.deflateSetHeader=function(t,e){return t&&t.state&&2===t.state.wrap?(t.state.gzhead=e,0):-2},e.deflate=function(t,e){if(!t||!t.state||e>5||e<0)return t?c(t,-2):-2;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||666===i.status&&4!==e)return c(t,0===t.avail_out?-5:-2);if(i.strm=t,n=i.last_flush,i.last_flush=e,42===i.status)if(2===i.wrap)t.adler=0,g(i,31),g(i,139),g(i,8),i.gzhead?(g(i,+!!i.gzhead.text+2*!!i.gzhead.hcrc+4*!!i.gzhead.extra+8*!!i.gzhead.name+16*!!i.gzhead.comment),g(i,255&i.gzhead.time),g(i,i.gzhead.time>>8&255),g(i,i.gzhead.time>>16&255),g(i,i.gzhead.time>>24&255),g(i,9===i.level?2:4*(i.strategy>=2||i.level<2)),g(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(g(i,255&i.gzhead.extra.length),g(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=s(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(g(i,0),g(i,0),g(i,0),g(i,0),g(i,0),g(i,9===i.level?2:4*(i.strategy>=2||i.level<2)),g(i,3),i.status=113);else{var n,i,a,l,u=8+(i.w_bits-8<<4)<<8;u|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(u|=32),u+=31-u%31,i.status=113,y(i,u),0!==i.strstart&&(y(i,t.adler>>>16),y(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),d(t),a=i.pending,i.pending!==i.pending_buf_size));)g(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),d(t),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,g(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),d(t),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,g(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&d(t),i.pending+2<=i.pending_buf_size&&(g(i,255&t.adler),g(i,t.adler>>8&255),t.adler=0,i.status=113)):i.status=113),0!==i.pending){if(d(t),0===t.avail_out)return i.last_flush=-1,0}else if(0===t.avail_in&&h(e)<=h(n)&&4!==e)return c(t,-5);if(666===i.status&&0!==t.avail_in)return c(t,-5);if(0!==t.avail_in||0!==i.lookahead||0!==e&&666!==i.status){var v=2===i.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(m(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(t,!1),0===t.strm.avail_out)?1:2}(i,e):3===i.strategy?function(t,e){for(var n,r,i,a,s=t.window;;){if(t.lookahead<=258){if(m(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(r=s[i=t.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=t.strstart+258;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);t.match_length=258-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=o._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(p(t,!1),0===t.strm.avail_out))return 1}return(t.insert=0,4===e)?(p(t,!0),0===t.strm.avail_out)?3:4:t.last_lit&&(p(t,!1),0===t.strm.avail_out)?1:2}(i,e):r[i.level].func(i,e);if((3===v||4===v)&&(i.status=666),1===v||3===v)return 0===t.avail_out&&(i.last_flush=-1),0;if(2===v&&(1===e?o._tr_align(i):5!==e&&(o._tr_stored_block(i,0,0,!1),3===e&&(f(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),d(t),0===t.avail_out))return i.last_flush=-1,0}return 4!==e?0:i.wrap<=0?1:(2===i.wrap?(g(i,255&t.adler),g(i,t.adler>>8&255),g(i,t.adler>>16&255),g(i,t.adler>>24&255),g(i,255&t.total_in),g(i,t.total_in>>8&255),g(i,t.total_in>>16&255),g(i,t.total_in>>24&255)):(y(i,t.adler>>>16),y(i,65535&t.adler)),d(t),i.wrap>0&&(i.wrap=-i.wrap),+(0===i.pending))},e.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&113!==e&&666!==e?c(t,-2):(t.state=null,113===e?c(t,-3):0):-2},e.deflateSetDictionary=function(t,e){var n,r,o,s,l,u,c,h,d=e.length;if(!t||!t.state||2===(s=(n=t.state).wrap)||1===s&&42!==n.status||n.lookahead)return -2;for(1===s&&(t.adler=a(t.adler,e,d,0)),n.wrap=0,d>=n.w_size&&(0===s&&(f(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=new i.Buf8(n.w_size),i.arraySet(h,e,d-n.w_size,n.w_size,0),e=h,d=n.w_size),l=t.avail_in,u=t.next_in,c=t.input,t.avail_in=d,t.next_in=0,t.input=e,m(n);n.lookahead>=3;){r=n.strstart,o=n.lookahead-2;do n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++;while(--o);n.strstart=r,n.lookahead=2,m(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=u,t.input=c,t.avail_in=l,n.wrap=s,0},e.deflateInfo="pako deflate (from Nodeca project)"},15436:function(t){"use strict";t.exports=function(t,e){var n,r,i,o,a,s,l,u,c,h,f,d,p,g,y,v,m,_,b,x,w,S,A,M,k;n=t.state,r=t.next_in,M=t.input,i=r+(t.avail_in-5),o=t.next_out,k=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,h=n.wnext,f=n.window,d=n.hold,p=n.bits,g=n.lencode,y=n.distcode,v=(1<<n.lenbits)-1,m=(1<<n.distbits)-1;t:do for(p<15&&(d+=M[r++]<<p,p+=8,d+=M[r++]<<p,p+=8),_=g[d&v];;){if(d>>>=b=_>>>24,p-=b,0==(b=_>>>16&255))k[o++]=65535&_;else if(16&b)for(x=65535&_,(b&=15)&&(p<b&&(d+=M[r++]<<p,p+=8),x+=d&(1<<b)-1,d>>>=b,p-=b),p<15&&(d+=M[r++]<<p,p+=8,d+=M[r++]<<p,p+=8),_=y[d&m];;){if(d>>>=b=_>>>24,p-=b,16&(b=_>>>16&255)){if(w=65535&_,p<(b&=15)&&(d+=M[r++]<<p,(p+=8)<b&&(d+=M[r++]<<p,p+=8)),(w+=d&(1<<b)-1)>l){t.msg="invalid distance too far back",n.mode=30;break t}if(d>>>=b,p-=b,w>(b=o-a)){if((b=w-b)>c&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(S=0,A=f,0===h){if(S+=u-b,b<x){x-=b;do k[o++]=f[S++];while(--b);S=o-w,A=k}}else if(h<b){if(S+=u+h-b,(b-=h)<x){x-=b;do k[o++]=f[S++];while(--b);if(S=0,h<x){x-=b=h;do k[o++]=f[S++];while(--b);S=o-w,A=k}}}else if(S+=h-b,b<x){x-=b;do k[o++]=f[S++];while(--b);S=o-w,A=k}for(;x>2;)k[o++]=A[S++],k[o++]=A[S++],k[o++]=A[S++],x-=3;x&&(k[o++]=A[S++],x>1&&(k[o++]=A[S++]))}else{S=o-w;do k[o++]=k[S++],k[o++]=k[S++],k[o++]=k[S++],x-=3;while(x>2);x&&(k[o++]=k[S++],x>1&&(k[o++]=k[S++]))}}else if((64&b)==0){_=y[(65535&_)+(d&(1<<b)-1)];continue}else{t.msg="invalid distance code",n.mode=30;break t}break}else if((64&b)==0){_=g[(65535&_)+(d&(1<<b)-1)];continue}else if(32&b){n.mode=12;break t}else{t.msg="invalid literal/length code",n.mode=30;break t}break}while(r<i&&o<s);r-=x=p>>3,p-=x<<3,d&=(1<<p)-1,t.next_in=r,t.next_out=o,t.avail_in=r<i?5+(i-r):5-(r-i),t.avail_out=o<s?257+(s-o):257-(o-s),n.hold=d,n.bits=p}},81090:function(t,e,n){"use strict";var r,i,o=n(50020),a=n(81356),s=n(49910),l=n(15436),u=n(4805);function c(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function h(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function f(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new o.Buf32(852),e.distcode=e.distdyn=new o.Buf32(592),e.sane=1,e.back=-1,0):-2}function d(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,f(t)):-2}function p(t,e){var n,r;return t&&t.state?(r=t.state,e<0?(n=0,e=-e):(n=(e>>4)+1,e<48&&(e&=15)),e&&(e<8||e>15))?-2:(null!==r.window&&r.wbits!==e&&(r.window=null),r.wrap=n,r.wbits=e,d(t)):-2}function g(t,e){var n,r;return t?(t.state=r=new h,r.window=null,0!==(n=p(t,e))&&(t.state=null),n):-2}var y=!0;function v(t,e,n,r){var i,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new o.Buf8(a.wsize)),r>=a.wsize?(o.arraySet(a.window,e,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>r&&(i=r),o.arraySet(a.window,e,n-r,i,a.wnext),(r-=i)?(o.arraySet(a.window,e,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}e.inflateReset=d,e.inflateReset2=p,e.inflateResetKeep=f,e.inflateInit=function(t){return g(t,15)},e.inflateInit2=g,e.inflate=function(t,e){var n,h,f,d,p,g,m,_,b,x,w,S,A,M,k,T,C,O,I,E,D,R,L,P,N=0,B=new o.Buf8(4),F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return -2;12===(n=t.state).mode&&(n.mode=13),p=t.next_out,f=t.output,m=t.avail_out,d=t.next_in,h=t.input,g=t.avail_in,_=n.hold,b=n.bits,x=g,w=m,R=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;b<16;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if(2&n.wrap&&35615===_){n.check=0,B[0]=255&_,B[1]=_>>>8&255,n.check=s(n.check,B,2,0),_=0,b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&_)<<8)+(_>>8))%31){t.msg="incorrect header check",n.mode=30;break}if((15&_)!=8){t.msg="unknown compression method",n.mode=30;break}if(_>>>=4,b-=4,D=(15&_)+8,0===n.wbits)n.wbits=D;else if(D>n.wbits){t.msg="invalid window size",n.mode=30;break}n.dmax=1<<D,t.adler=n.check=1,n.mode=512&_?10:12,_=0,b=0;break;case 2:for(;b<16;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if(n.flags=_,(255&n.flags)!=8){t.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=_>>8&1),512&n.flags&&(B[0]=255&_,B[1]=_>>>8&255,n.check=s(n.check,B,2,0)),_=0,b=0,n.mode=3;case 3:for(;b<32;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}n.head&&(n.head.time=_),512&n.flags&&(B[0]=255&_,B[1]=_>>>8&255,B[2]=_>>>16&255,B[3]=_>>>24&255,n.check=s(n.check,B,4,0)),_=0,b=0,n.mode=4;case 4:for(;b<16;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}n.head&&(n.head.xflags=255&_,n.head.os=_>>8),512&n.flags&&(B[0]=255&_,B[1]=_>>>8&255,n.check=s(n.check,B,2,0)),_=0,b=0,n.mode=5;case 5:if(1024&n.flags){for(;b<16;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}n.length=_,n.head&&(n.head.extra_len=_),512&n.flags&&(B[0]=255&_,B[1]=_>>>8&255,n.check=s(n.check,B,2,0)),_=0,b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((S=n.length)>g&&(S=g),S&&(n.head&&(D=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),o.arraySet(n.head.extra,h,d,S,D)),512&n.flags&&(n.check=s(n.check,h,S,d)),g-=S,d+=S,n.length-=S),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===g)break e;S=0;do D=h[d+S++],n.head&&D&&n.length<65536&&(n.head.name+=String.fromCharCode(D));while(D&&S<g);if(512&n.flags&&(n.check=s(n.check,h,S,d)),g-=S,d+=S,D)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===g)break e;S=0;do D=h[d+S++],n.head&&D&&n.length<65536&&(n.head.comment+=String.fromCharCode(D));while(D&&S<g);if(512&n.flags&&(n.check=s(n.check,h,S,d)),g-=S,d+=S,D)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;b<16;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if(_!==(65535&n.check)){t.msg="header crc mismatch",n.mode=30;break}_=0,b=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=12;break;case 10:for(;b<32;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}t.adler=n.check=c(_),_=0,b=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=p,t.avail_out=m,t.next_in=d,t.avail_in=g,n.hold=_,n.bits=b,2;t.adler=n.check=1,n.mode=12;case 12:if(5===e||6===e)break e;case 13:if(n.last){_>>>=7&b,b-=7&b,n.mode=27;break}for(;b<3;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}switch(n.last=1&_,b-=1,3&(_>>>=1)){case 0:n.mode=14;break;case 1:if(!function(t){if(y){var e;for(r=new o.Buf32(512),i=new o.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(u(1,t.lens,0,288,r,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;u(2,t.lens,0,32,i,0,t.work,{bits:5}),y=!1}t.lencode=r,t.lenbits=9,t.distcode=i,t.distbits=5}(n),n.mode=20,6===e){_>>>=2,b-=2;break e}break;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=30}_>>>=2,b-=2;break;case 14:for(_>>>=7&b,b-=7&b;b<32;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if((65535&_)!=(_>>>16^65535)){t.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&_,_=0,b=0,n.mode=15,6===e)break e;case 15:n.mode=16;case 16:if(S=n.length){if(S>g&&(S=g),S>m&&(S=m),0===S)break e;o.arraySet(f,h,d,S,p),g-=S,d+=S,m-=S,p+=S,n.length-=S;break}n.mode=12;break;case 17:for(;b<14;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if(n.nlen=(31&_)+257,b-=5,n.ndist=(31&(_>>>=5))+1,b-=5,n.ncode=(15&(_>>>=5))+4,_>>>=4,b-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;b<3;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}n.lens[F[n.have++]]=7&_,_>>>=3,b-=3}for(;n.have<19;)n.lens[F[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},R=u(0,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,R){t.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;k=(N=n.lencode[_&(1<<n.lenbits)-1])>>>24,T=N>>>16&255,C=65535&N,!(k<=b);){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if(C<16)_>>>=k,b-=k,n.lens[n.have++]=C;else{if(16===C){for(P=k+2;b<P;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if(_>>>=k,b-=k,0===n.have){t.msg="invalid bit length repeat",n.mode=30;break}D=n.lens[n.have-1],S=3+(3&_),_>>>=2,b-=2}else if(17===C){for(P=k+3;b<P;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}_>>>=k,b-=k,D=0,S=3+(7&_),_>>>=3,b-=3}else{for(P=k+7;b<P;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}_>>>=k,b-=k,D=0,S=11+(127&_),_>>>=7,b-=7}if(n.have+S>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=30;break}for(;S--;)n.lens[n.have++]=D}}if(30===n.mode)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,L={bits:n.lenbits},R=u(1,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,R){t.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},R=u(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,R){t.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===e)break e;case 20:n.mode=21;case 21:if(g>=6&&m>=258){t.next_out=p,t.avail_out=m,t.next_in=d,t.avail_in=g,n.hold=_,n.bits=b,l(t,w),p=t.next_out,f=t.output,m=t.avail_out,d=t.next_in,h=t.input,g=t.avail_in,_=n.hold,b=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;k=(N=n.lencode[_&(1<<n.lenbits)-1])>>>24,T=N>>>16&255,C=65535&N,!(k<=b);){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if(T&&(240&T)==0){for(O=k,I=T,E=C;k=(N=n.lencode[E+((_&(1<<O+I)-1)>>O)])>>>24,T=N>>>16&255,C=65535&N,!(O+k<=b);){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}_>>>=O,b-=O,n.back+=O}if(_>>>=k,b-=k,n.back+=k,n.length=C,0===T){n.mode=26;break}if(32&T){n.back=-1,n.mode=12;break}if(64&T){t.msg="invalid literal/length code",n.mode=30;break}n.extra=15&T,n.mode=22;case 22:if(n.extra){for(P=n.extra;b<P;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}n.length+=_&(1<<n.extra)-1,_>>>=n.extra,b-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;k=(N=n.distcode[_&(1<<n.distbits)-1])>>>24,T=N>>>16&255,C=65535&N,!(k<=b);){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if((240&T)==0){for(O=k,I=T,E=C;k=(N=n.distcode[E+((_&(1<<O+I)-1)>>O)])>>>24,T=N>>>16&255,C=65535&N,!(O+k<=b);){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}_>>>=O,b-=O,n.back+=O}if(_>>>=k,b-=k,n.back+=k,64&T){t.msg="invalid distance code",n.mode=30;break}n.offset=C,n.extra=15&T,n.mode=24;case 24:if(n.extra){for(P=n.extra;b<P;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}n.offset+=_&(1<<n.extra)-1,_>>>=n.extra,b-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===m)break e;if(S=w-m,n.offset>S){if((S=n.offset-S)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=30;break}S>n.wnext?(S-=n.wnext,A=n.wsize-S):A=n.wnext-S,S>n.length&&(S=n.length),M=n.window}else M=f,A=p-n.offset,S=n.length;S>m&&(S=m),m-=S,n.length-=S;do f[p++]=M[A++];while(--S);0===n.length&&(n.mode=21);break;case 26:if(0===m)break e;f[p++]=n.length,m--,n.mode=21;break;case 27:if(n.wrap){for(;b<32;){if(0===g)break e;g--,_|=h[d++]<<b,b+=8}if(w-=m,t.total_out+=w,n.total+=w,w&&(t.adler=n.check=n.flags?s(n.check,f,w,p-w):a(n.check,f,w,p-w)),w=m,(n.flags?_:c(_))!==n.check){t.msg="incorrect data check",n.mode=30;break}_=0,b=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;b<32;){if(0===g)break e;g--,_+=h[d++]<<b,b+=8}if(_!==(0|n.total)){t.msg="incorrect length check",n.mode=30;break}_=0,b=0}n.mode=29;case 29:R=1;break e;case 30:R=-3;break e;case 31:return -4;default:return -2}return(t.next_out=p,t.avail_out=m,t.next_in=d,t.avail_in=g,n.hold=_,n.bits=b,(n.wsize||w!==t.avail_out&&n.mode<30&&(n.mode<27||4!==e))&&v(t,t.output,t.next_out,w-t.avail_out))?(n.mode=31,-4):(x-=t.avail_in,w-=t.avail_out,t.total_in+=x,t.total_out+=w,n.total+=w,n.wrap&&w&&(t.adler=n.check=n.flags?s(n.check,f,w,t.next_out-w):a(n.check,f,w,t.next_out-w)),t.data_type=n.bits+64*!!n.last+128*(12===n.mode)+256*(20===n.mode||15===n.mode),(0===x&&0===w||4===e)&&0===R&&(R=-5),R)},e.inflateEnd=function(t){if(!t||!t.state)return -2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},e.inflateGetHeader=function(t,e){var n;return t&&t.state&&(2&(n=t.state).wrap)!=0?(n.head=e,e.done=!1,0):-2},e.inflateSetDictionary=function(t,e){var n,r=e.length;return t&&t.state&&(0===(n=t.state).wrap||11===n.mode)?11===n.mode&&a(1,e,r,0)!==n.check?-3:v(t,e,r,r)?(n.mode=31,-4):(n.havedict=1,0):-2},e.inflateInfo="pako inflate (from Nodeca project)"},4805:function(t,e,n){"use strict";var r=n(50020),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(t,e,n,l,u,c,h,f){var d,p,g,y,v,m,_,b,x,w=f.bits,S=0,A=0,M=0,k=0,T=0,C=0,O=0,I=0,E=0,D=0,R=null,L=0,P=new r.Buf16(16),N=new r.Buf16(16),B=null,F=0;for(S=0;S<=15;S++)P[S]=0;for(A=0;A<l;A++)P[e[n+A]]++;for(k=15,T=w;k>=1&&0===P[k];k--);if(T>k&&(T=k),0===k)return u[c++]=0x1400000,u[c++]=0x1400000,f.bits=1,0;for(M=1;M<k&&0===P[M];M++);for(T<M&&(T=M),I=1,S=1;S<=15;S++)if(I<<=1,(I-=P[S])<0)return -1;if(I>0&&(0===t||1!==k))return -1;for(S=1,N[1]=0;S<15;S++)N[S+1]=N[S]+P[S];for(A=0;A<l;A++)0!==e[n+A]&&(h[N[e[n+A]]++]=A);if(0===t?(R=B=h,m=19):1===t?(R=i,L-=257,B=o,F-=257,m=256):(R=a,B=s,m=-1),D=0,A=0,S=M,v=c,C=T,O=0,g=-1,y=(E=1<<T)-1,1===t&&E>852||2===t&&E>592)return 1;for(;;){_=S-O,h[A]<m?(b=0,x=h[A]):h[A]>m?(b=B[F+h[A]],x=R[L+h[A]]):(b=96,x=0),d=1<<S-O,M=p=1<<C;do u[v+(D>>O)+(p-=d)]=_<<24|b<<16|x;while(0!==p);for(d=1<<S-1;D&d;)d>>=1;if(0!==d?(D&=d-1,D+=d):D=0,A++,0==--P[S]){if(S===k)break;S=e[n+h[A]]}if(S>T&&(D&y)!==g){for(0===O&&(O=T),v+=M,I=1<<(C=S-O);C+O<k&&!((I-=P[C+O])<=0);)C++,I<<=1;if(E+=1<<C,1===t&&E>852||2===t&&E>592)return 1;u[g=D&y]=T<<24|C<<16|v-c}}return 0!==D&&(u[v+D]=S-O<<24|4194304),f.bits=T,0}},5317:function(t){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},9984:function(t,e,n){"use strict";var r,i,o,a=n(50020);function s(t){for(var e=t.length;--e>=0;)t[e]=0}var l=573,u=[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],c=[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],h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],d=Array(576);s(d);var p=Array(60);s(p);var g=Array(512);s(g);var y=Array(256);s(y);var v=Array(29);s(v);var m=Array(30);function _(t,e,n,r,i){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=t&&t.length}function b(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function x(t){return t<256?g[t]:g[256+(t>>>7)]}function w(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function S(t,e,n){t.bi_valid>16-n?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function A(t,e,n){S(t,n[2*e],n[2*e+1])}function M(t,e){var n=0;do n|=1&t,t>>>=1,n<<=1;while(--e>0);return n>>>1}function k(t,e,n){var r,i,o=Array(16),a=0;for(r=1;r<=15;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=M(o[s]++,s))}}function T(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function C(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function O(t,e,n,r){var i=2*e,o=2*n;return t[i]<t[o]||t[i]===t[o]&&r[e]<=r[n]}function I(t,e,n){for(var r=t.heap[n],i=n<<1;i<=t.heap_len&&(i<t.heap_len&&O(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!O(e,r,t.heap[i],t.depth));)t.heap[n]=t.heap[i],n=i,i<<=1;t.heap[n]=r}function E(t,e,n){var r,i,o,a,s=0;if(0!==t.last_lit)do r=t.pending_buf[t.d_buf+2*s]<<8|t.pending_buf[t.d_buf+2*s+1],i=t.pending_buf[t.l_buf+s],s++,0===r?A(t,i,e):(A(t,(o=y[i])+256+1,e),0!==(a=u[o])&&S(t,i-=v[o],a),A(t,o=x(--r),n),0!==(a=c[o])&&S(t,r-=m[o],a));while(s<t.last_lit);A(t,256,e)}function D(t,e){var n,r,i,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,u=e.stat_desc.elems,c=-1;for(n=0,t.heap_len=0,t.heap_max=l;n<u;n++)0!==o[2*n]?(t.heap[++t.heap_len]=c=n,t.depth[n]=0):o[2*n+1]=0;for(;t.heap_len<2;)o[2*(i=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=a[2*i+1]);for(e.max_code=c,n=t.heap_len>>1;n>=1;n--)I(t,o,n);i=u;do n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],I(t,o,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,o[2*i]=o[2*n]+o[2*r],t.depth[i]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,o[2*n+1]=o[2*r+1]=i,t.heap[1]=i++,I(t,o,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,r,i,o,a,s,u=e.dyn_tree,c=e.max_code,h=e.stat_desc.static_tree,f=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,g=e.stat_desc.max_length,y=0;for(o=0;o<=15;o++)t.bl_count[o]=0;for(u[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<l;n++)(o=u[2*u[2*(r=t.heap[n])+1]+1]+1)>g&&(o=g,y++),u[2*r+1]=o,!(r>c)&&(t.bl_count[o]++,a=0,r>=p&&(a=d[r-p]),s=u[2*r],t.opt_len+=s*(o+a),f&&(t.static_len+=s*(h[2*r+1]+a)));if(0!==y){do{for(o=g-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[g]--,y-=2}while(y>0);for(o=g;0!==o;o--)for(r=t.bl_count[o];0!==r;)!((i=t.heap[--n])>c)&&(u[2*i+1]!==o&&(t.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}}(t,e),k(o,c,t.bl_count)}function R(t,e,n){var r,i,o=-1,a=e[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),e[(n+1)*2+1]=65535,r=0;r<=n;r++)i=a,a=e[(r+1)*2+1],++s<l&&i===a||(s<u?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4))}function L(t,e,n){var r,i,o=-1,a=e[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),r=0;r<=n;r++)if(i=a,a=e[(r+1)*2+1],!(++s<l)||i!==a){if(s<u)do A(t,i,t.bl_tree);while(0!=--s);else 0!==i?(i!==o&&(A(t,i,t.bl_tree),s--),A(t,16,t.bl_tree),S(t,s-3,2)):s<=10?(A(t,17,t.bl_tree),S(t,s-3,3)):(A(t,18,t.bl_tree),S(t,s-11,7));s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4)}}s(m);var P=!1;function N(t,e,n,r){S(t,0+ +!!r,3),C(t),w(t,n),w(t,~n),a.arraySet(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}e._tr_init=function(t){P||(!function(){var t,e,n,a,s,l=Array(16);for(a=0,n=0;a<28;a++)for(t=0,v[a]=n;t<1<<u[a];t++)y[n++]=a;for(y[n-1]=a,s=0,a=0;a<16;a++)for(t=0,m[a]=s;t<1<<c[a];t++)g[s++]=a;for(s>>=7;a<30;a++)for(t=0,m[a]=s<<7;t<1<<c[a]-7;t++)g[256+s++]=a;for(e=0;e<=15;e++)l[e]=0;for(t=0;t<=143;)d[2*t+1]=8,t++,l[8]++;for(;t<=255;)d[2*t+1]=9,t++,l[9]++;for(;t<=279;)d[2*t+1]=7,t++,l[7]++;for(;t<=287;)d[2*t+1]=8,t++,l[8]++;for(k(d,287,l),t=0;t<30;t++)p[2*t+1]=5,p[2*t]=M(t,5);r=new _(d,u,257,286,15),i=new _(p,c,0,30,15),o=new _([],h,0,19,7)}(),P=!0),t.l_desc=new b(t.dyn_ltree,r),t.d_desc=new b(t.dyn_dtree,i),t.bl_desc=new b(t.bl_tree,o),t.bi_buf=0,t.bi_valid=0,T(t)},e._tr_stored_block=N,e._tr_flush_block=function(t,e,n,r){var i,o,a=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=0xf3ffc07f;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),D(t,t.l_desc),D(t,t.d_desc),a=function(t){var e;for(R(t,t.dyn_ltree,t.l_desc.max_code),R(t,t.dyn_dtree,t.d_desc.max_code),D(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*f[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==e?N(t,e,n,r):4===t.strategy||o===i?(S(t,2+ +!!r,3),E(t,d,p)):(S(t,4+ +!!r,3),function(t,e,n,r){var i;for(S(t,e-257,5),S(t,n-1,5),S(t,r-4,4),i=0;i<r;i++)S(t,t.bl_tree[2*f[i]+1],3);L(t,t.dyn_ltree,e-1),L(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),E(t,t.dyn_ltree,t.dyn_dtree)),T(t),r&&C(t)},e._tr_tally=function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[(y[n]+256+1)*2]++,t.dyn_dtree[2*x(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){S(t,2,3),A(t,256,d),16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},84179:function(t){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},13078:function(t,e,n){"use strict";var r=n(85409);function i(t){if("string"!=typeof t)throw TypeError("Path must be a string. Received "+JSON.stringify(t))}function o(t,e){for(var n,r="",i=0,o=-1,a=0,s=0;s<=t.length;++s){if(s<t.length)n=t.charCodeAt(s);else if(47===n)break;else n=47;if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2)){if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+t.slice(o+1,s):r=t.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var a={resolve:function(){for(var t,e,n="",a=!1,s=arguments.length-1;s>=-1&&!a;s--)s>=0?e=arguments[s]:(void 0===t&&(t=r.cwd()),e=t),i(e),0!==e.length&&(n=e+"/"+n,a=47===e.charCodeAt(0));if(n=o(n,!a),a)if(n.length>0)return"/"+n;else return"/";return n.length>0?n:"."},normalize:function(t){if(i(t),0===t.length)return".";var e=47===t.charCodeAt(0),n=47===t.charCodeAt(t.length-1);return(0!==(t=o(t,!e)).length||e||(t="."),t.length>0&&n&&(t+="/"),e)?"/"+t:t},isAbsolute:function(t){return i(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var t,e=0;e<arguments.length;++e){var n=arguments[e];i(n),n.length>0&&(void 0===t?t=n:t+="/"+n)}return void 0===t?".":a.normalize(t)},relative:function(t,e){if(i(t),i(e),t===e||(t=a.resolve(t))===(e=a.resolve(e)))return"";for(var n=1;n<t.length&&47===t.charCodeAt(n);++n);for(var r=t.length,o=r-n,s=1;s<e.length&&47===e.charCodeAt(s);++s);for(var l=e.length-s,u=o<l?o:l,c=-1,h=0;h<=u;++h){if(h===u){if(l>u){if(47===e.charCodeAt(s+h))return e.slice(s+h+1);else if(0===h)return e.slice(s+h)}else o>u&&(47===t.charCodeAt(n+h)?c=h:0===h&&(c=0));break}var f=t.charCodeAt(n+h);if(f!==e.charCodeAt(s+h))break;47===f&&(c=h)}var d="";for(h=n+c+1;h<=r;++h)(h===r||47===t.charCodeAt(h))&&(0===d.length?d+="..":d+="/..");return d.length>0?d+e.slice(s+c):(s+=c,47===e.charCodeAt(s)&&++s,e.slice(s))},_makeLong:function(t){return t},dirname:function(t){if(i(t),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,o=!0,a=t.length-1;a>=1;--a)if(47===(e=t.charCodeAt(a))){if(!o){r=a;break}}else o=!1;return -1===r?n?"/":".":n&&1===r?"//":t.slice(0,r)},basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw TypeError('"ext" argument must be a string');i(t);var n,r=0,o=-1,a=!0;if(void 0!==e&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var s=e.length-1,l=-1;for(n=t.length-1;n>=0;--n){var u=t.charCodeAt(n);if(47===u){if(!a){r=n+1;break}}else -1===l&&(a=!1,l=n+1),s>=0&&(u===e.charCodeAt(s)?-1==--s&&(o=n):(s=-1,o=l))}return r===o?o=l:-1===o&&(o=t.length),t.slice(r,o)}for(n=t.length-1;n>=0;--n)if(47===t.charCodeAt(n)){if(!a){r=n+1;break}}else -1===o&&(a=!1,o=n+1);return -1===o?"":t.slice(r,o)},extname:function(t){i(t);for(var e=-1,n=0,r=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var l=t.charCodeAt(s);if(47===l){if(!o){n=s+1;break}continue}-1===r&&(o=!1,r=s+1),46===l?-1===e?e=s:1!==a&&(a=1):-1!==e&&(a=-1)}return -1===e||-1===r||0===a||1===a&&e===r-1&&e===n+1?"":t.slice(e,r)},format:function(t){var e,n;if(null===t||"object"!=typeof t)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return e=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||""),e?e===t.root?e+n:e+"/"+n:n},parse:function(t){i(t);var e,n={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return n;var r=t.charCodeAt(0),o=47===r;o?(n.root="/",e=1):e=0;for(var a=-1,s=0,l=-1,u=!0,c=t.length-1,h=0;c>=e;--c){if(47===(r=t.charCodeAt(c))){if(!u){s=c+1;break}continue}-1===l&&(u=!1,l=c+1),46===r?-1===a?a=c:1!==h&&(h=1):-1!==a&&(h=-1)}return -1===a||-1===l||0===h||1===h&&a===l-1&&a===s+1?-1!==l&&(0===s&&o?n.base=n.name=t.slice(1,l):n.base=n.name=t.slice(s,l)):(0===s&&o?(n.name=t.slice(1,a),n.base=t.slice(1,l)):(n.name=t.slice(s,a),n.base=t.slice(s,l)),n.ext=t.slice(a,l)),s>0?n.dir=t.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,t.exports=a},97142:function(t){var e=String,n=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};t.exports=n(),t.exports.createColors=n},9773:function(t){"use strict";t.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},85409:function(t){var e,n,r,i=t.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(t){n=a}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}var l=[],u=!1,c=-1;function h(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!u){var t=s(h);u=!0;for(var e=l.length;e;){for(r=l,l=[];++c<e;)r&&r[c].run();c=-1,e=l.length}r=null,u=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function p(){}i.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new d(t,e)),1!==l.length||u||s(f)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(t){return[]},i.binding=function(t){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},76682:function(t,e){"use strict";var n,r=Object.prototype.hasOwnProperty;function i(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function o(t){try{return encodeURIComponent(t)}catch(t){return null}}e.stringify=function(t,e){var i,a,s=[];for(a in"string"!=typeof(e=e||"")&&(e="?"),t)if(r.call(t,a)){if(!(i=t[a])&&(null===i||i===n||isNaN(i))&&(i=""),a=o(a),i=o(i),null===a||null===i)continue;s.push(a+"="+i)}return s.length?e+s.join("&"):""},e.parse=function(t){for(var e,n=/([^=?#&]+)=?([^&]*)/g,r={};e=n.exec(t);){var o=i(e[1]),a=i(e[2]);null===o||null===a||o in r||(r[o]=a)}return r}},20289:function(t){"use strict";var e={};function n(t,n,r){r||(r=Error);var i=function(t){function e(e,r,i){return t.call(this,"string"==typeof n?n:n(e,r,i))||this}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t,e}(r);i.prototype.name=r.name,i.prototype.code=t,e[t]=i}function r(t,e){if(!Array.isArray(t))return"of ".concat(e," ").concat(String(t));var n=t.length;return(t=t.map(function(t){return String(t)}),n>2)?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}n("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(t,e,n){if("string"==typeof e&&(i="not ",e.substr(0,i.length)===i)?(l="must not be",e=e.replace(/^not /,"")):l="must be",o=" argument",(void 0===a||a>t.length)&&(a=t.length),t.substring(a-o.length,a)===o)u="The ".concat(t," ").concat(l," ").concat(r(e,"type"));else{var i,o,a,s,l,u,c=("number"!=typeof s&&(s=0),s+1>t.length||-1===t.indexOf(".",s))?"argument":"property";u='The "'.concat(t,'" ').concat(c," ").concat(l," ").concat(r(e,"type"))}return u+". Received type ".concat(typeof n)},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=e},35707:function(t,e,n){"use strict";var r=n(85409),i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=c;var o=n(23033),a=n(92553);n(91193)(c,o);for(var s=i(a.prototype),l=0;l<s.length;l++){var u=s[l];c.prototype[u]||(c.prototype[u]=a.prototype[u])}function c(t){if(!(this instanceof c))return new c(t);o.call(this,t),a.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",h)))}function h(){this._writableState.ended||r.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},75271:function(t,e,n){"use strict";t.exports=i;var r=n(50141);function i(t){if(!(this instanceof i))return new i(t);r.call(this,t)}n(91193)(i,r),i.prototype._transform=function(t,e,n){n(null,t)}},23033:function(t,e,n){"use strict";var r,i,o,a,s,l=n(85409);t.exports=M,M.ReadableState=A,n(80381).EventEmitter;var u=function(t,e){return t.listeners(e).length},c=n(82534),h=n(8963).Buffer,f=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},d=n(49132);i=d&&d.debuglog?d.debuglog("stream"):function(){};var p=n(70020),g=n(50917),y=n(65750).getHighWaterMark,v=n(20289).codes,m=v.ERR_INVALID_ARG_TYPE,_=v.ERR_STREAM_PUSH_AFTER_EOF,b=v.ERR_METHOD_NOT_IMPLEMENTED,x=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(91193)(M,c);var w=g.errorOrDestroy,S=["error","close","destroy","pause","resume"];function A(t,e,i){r=r||n(35707),t=t||{},"boolean"!=typeof i&&(i=e instanceof r),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=y(this,t,"readableHighWaterMark",i),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(o||(o=n(86704).StringDecoder),this.decoder=new o(t.encoding),this.encoding=t.encoding)}function M(t){if(r=r||n(35707),!(this instanceof M))return new M(t);var e=this instanceof r;this._readableState=new A(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),c.call(this)}function k(t,e,n,r,o){i("readableAddChunk",e);var a,s,l=t._readableState;if(null===e)l.reading=!1,function(t,e){if(i("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?O(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,I(t)))}}(t,l);else if(o||(s=function(t,e){var n;return h.isBuffer(e)||e instanceof f||"string"==typeof e||void 0===e||t.objectMode||(n=new m("chunk",["string","Buffer","Uint8Array"],e)),n}(l,e)),s)w(t,s);else if(l.objectMode||e&&e.length>0)if("string"==typeof e||l.objectMode||Object.getPrototypeOf(e)===h.prototype||(a=e,e=h.from(a)),r)l.endEmitted?w(t,new x):T(t,l,e,!0);else if(l.ended)w(t,new _);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(e=l.decoder.write(e),l.objectMode||0!==e.length?T(t,l,e,!1):E(t,l)):T(t,l,e,!1)}else r||(l.reading=!1,E(t,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function T(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&O(t)),E(t,e)}function C(t,e){var n;if(t<=0||0===e.length&&e.ended)return 0;if(e.objectMode)return 1;if(t!=t)if(e.flowing&&e.length)return e.buffer.head.data.length;else return e.length;return(t>e.highWaterMark&&((n=t)>=0x40000000?n=0x40000000:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),e.highWaterMark=n),t<=e.length)?t:e.ended?e.length:(e.needReadable=!0,0)}function O(t){var e=t._readableState;i("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(i("emitReadable",e.flowing),e.emittedReadable=!0,l.nextTick(I,t))}function I(t){var e=t._readableState;i("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,N(t)}function E(t,e){e.readingMore||(e.readingMore=!0,l.nextTick(D,t,e))}function D(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var n=e.length;if(i("maybeReadMore read 0"),t.read(0),n===e.length)break}e.readingMore=!1}function R(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function L(t){i("readable nexttick read 0"),t.read(0)}function P(t,e){i("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),N(t),e.flowing&&!e.reading&&t.read(0)}function N(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function B(t,e){var n;return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n)}function F(t){var e=t._readableState;i("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,l.nextTick(j,e,t))}function j(t,e){if(i("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function z(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return -1}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),M.prototype.destroy=g.destroy,M.prototype._undestroy=g.undestroy,M.prototype._destroy=function(t,e){e(t)},M.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=h.from(t,e),e=""),n=!0),k(this,t,e,!1,n)},M.prototype.unshift=function(t){return k(this,t,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(t){o||(o=n(86704).StringDecoder);var e=new o(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this},M.prototype.read=function(t){i("read",t),t=parseInt(t,10);var e,n=this._readableState,r=t;if(0!==t&&(n.emittedReadable=!1),0===t&&n.needReadable&&((0!==n.highWaterMark?n.length>=n.highWaterMark:n.length>0)||n.ended))return i("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?F(this):O(this),null;if(0===(t=C(t,n))&&n.ended)return 0===n.length&&F(this),null;var o=n.needReadable;return i("need readable",o),(0===n.length||n.length-t<n.highWaterMark)&&i("length less than watermark",o=!0),n.ended||n.reading?i("reading or ended",o=!1):o&&(i("do read"),n.reading=!0,n.sync=!0,0===n.length&&(n.needReadable=!0),this._read(n.highWaterMark),n.sync=!1,n.reading||(t=C(r,n))),null===(e=t>0?B(t,n):null)?(n.needReadable=n.length<=n.highWaterMark,t=0):(n.length-=t,n.awaitDrain=0),0===n.length&&(n.ended||(n.needReadable=!0),r!==t&&n.ended&&F(this)),null!==e&&this.emit("data",e),e},M.prototype._read=function(t){w(this,new b("_read()"))},M.prototype.pipe=function(t,e){var n,r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,i("pipe count=%d opts=%j",o.pipesCount,e);var a=e&&!1===e.end||t===l.stdout||t===l.stderr?y:s;function s(){i("onend"),t.end()}o.endEmitted?l.nextTick(a):r.once("end",a),t.on("unpipe",function e(n,a){i("onunpipe"),n===r&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,i("cleanup"),t.removeListener("close",p),t.removeListener("finish",g),t.removeListener("drain",c),t.removeListener("error",d),t.removeListener("unpipe",e),r.removeListener("end",s),r.removeListener("end",y),r.removeListener("data",f),h=!0,o.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&c())});var c=(n=r,function(){var t=n._readableState;i("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&u(n,"data")&&(t.flowing=!0,N(n))});t.on("drain",c);var h=!1;function f(e){i("ondata");var n=t.write(e);i("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==z(o.pipes,t))&&!h&&(i("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function d(e){i("onerror",e),y(),t.removeListener("error",d),0===u(t,"error")&&w(t,e)}function p(){t.removeListener("finish",g),y()}function g(){i("onfinish"),t.removeListener("close",p),y()}function y(){i("unpipe"),r.unpipe(t)}return r.on("data",f),!function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",d),t.once("close",p),t.once("finish",g),t.emit("pipe",r),o.flowing||(i("pipe resume"),r.resume()),t},M.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(e.pipes,t);return -1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},M.prototype.on=function(t,e){var n=c.prototype.on.call(this,t,e),r=this._readableState;return"data"===t?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"!==t||r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,i("on readable",r.length,r.reading),r.length?O(this):r.reading||l.nextTick(L,this)),n},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(t,e){var n=c.prototype.removeListener.call(this,t,e);return"readable"===t&&l.nextTick(R,this),n},M.prototype.removeAllListeners=function(t){var e=c.prototype.removeAllListeners.apply(this,arguments);return("readable"===t||void 0===t)&&l.nextTick(R,this),e},M.prototype.resume=function(){var t,e,n=this._readableState;return n.flowing||(i("resume"),n.flowing=!n.readableListening,t=this,(e=n).resumeScheduled||(e.resumeScheduled=!0,l.nextTick(P,t,e))),n.paused=!1,this},M.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},M.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var o in t.on("end",function(){if(i("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(o){i("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o||(n.objectMode||o&&o.length)&&(e.push(o)||(r=!0,t.pause()))}),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var a=0;a<S.length;a++)t.on(S[a],this.emit.bind(this,S[a]));return this._read=function(e){i("wrapped _read",e),r&&(r=!1,t.resume())},this},"function"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===a&&(a=n(39536)),a(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),M._fromList=B,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(M.from=function(t,e){return void 0===s&&(s=n(34918)),s(M,t,e)})},50141:function(t,e,n){"use strict";t.exports=c;var r=n(20289).codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(35707);function u(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(t){if(!(this instanceof c))return new c(t);l.call(this,t),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush(function(e,n){f(t,e,n)})}function f(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}n(91193)(c,l),c.prototype.push=function(t,e){return this._transformState.needTransform=!1,l.prototype.push.call(this,t,e)},c.prototype._transform=function(t,e,n){n(new i("_transform()"))},c.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},c.prototype._destroy=function(t,e){l.prototype._destroy.call(this,t,function(t){e(t)})}},92553:function(t,e,n){"use strict";var r,i,o=n(85409);function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){var n=e,r=t,i=n.entry;for(n.entry=null;i;){var o=i.callback;r.pendingcb--,o(void 0),i=i.next}r.corkedRequestsFree.next=n}}t.exports=M,M.WritableState=A;var s={deprecate:n(91947)},l=n(82534),u=n(8963).Buffer,c=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},h=n(50917),f=n(65750).getHighWaterMark,d=n(20289).codes,p=d.ERR_INVALID_ARG_TYPE,g=d.ERR_METHOD_NOT_IMPLEMENTED,y=d.ERR_MULTIPLE_CALLBACK,v=d.ERR_STREAM_CANNOT_PIPE,m=d.ERR_STREAM_DESTROYED,_=d.ERR_STREAM_NULL_VALUES,b=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,w=h.errorOrDestroy;function S(){}function A(t,e,i){r=r||n(35707),t=t||{},"boolean"!=typeof i&&(i=e instanceof r),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new y;if(n.writing=!1,n.writecb=null,n.length-=n.writelen,n.writelen=0,e)--n.pendingcb,r?(o.nextTick(i,e),o.nextTick(E,t,n),t._writableState.errorEmitted=!0,w(t,e)):(i(e),t._writableState.errorEmitted=!0,w(t,e),E(t,n));else{var a=O(n)||t.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||C(t,n),r?o.nextTick(T,t,n,a,i):T(t,n,a,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}n(91193)(M,l),A.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e};try{Object.defineProperty(A.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}function M(t){var e=this instanceof(r=r||n(35707));if(!e&&!i.call(M,this))return new M(t);this._writableState=new A(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),l.call(this)}function k(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new m("write")):n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function T(t,e,n,r){var i,o;n||(i=t,0===(o=e).length&&o.needDrain&&(o.needDrain=!1,i.emit("drain"))),e.pendingcb--,r(),E(t,e)}function C(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=Array(e.bufferedRequestCount),i=e.corkedRequestsFree;i.entry=n;for(var o=0,s=!0;n;)r[o]=n,n.isBuf||(s=!1),n=n.next,o+=1;r.allBuffers=s,k(t,e,!0,e.length,r,"",i.finish),e.pendingcb++,e.lastBufferedRequest=null,i.next?(e.corkedRequestsFree=i.next,i.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,c=n.callback,h=e.objectMode?1:l.length;if(k(t,e,!1,h,l,u,c),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function O(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function I(t,e){t._final(function(n){e.pendingcb--,n&&w(t,n),e.prefinished=!0,t.emit("prefinish"),E(t,e)})}function E(t,e){var n=O(e);if(n&&(e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,o.nextTick(I,t,e))),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var r=t._readableState;(!r||r.autoDestroy&&r.endEmitted)&&t.destroy()}return n}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(t){return!!i.call(this,t)||this===M&&t&&t._writableState instanceof A}})):i=function(t){return t instanceof this},M.prototype.pipe=function(){w(this,new v)},M.prototype.write=function(t,e,n){var r,i,a,s,l,h,f,d=this._writableState,g=!1,y=!d.objectMode&&(r=t,u.isBuffer(r)||r instanceof c);return(y&&!u.isBuffer(t)&&(i=t,t=u.from(i)),"function"==typeof e&&(n=e,e=null),y?e="buffer":e||(e=d.defaultEncoding),"function"!=typeof n&&(n=S),d.ending)?(a=n,w(this,s=new b),o.nextTick(a,s)):(y||(l=t,h=n,null===l?f=new _:"string"==typeof l||d.objectMode||(f=new p("chunk",["string","Buffer"],l)),!f||(w(this,f),o.nextTick(h,f),0)))&&(d.pendingcb++,g=function(t,e,n,r,i,o){if(!n){var a,s,l=(a=r,s=i,e.objectMode||!1===e.decodeStrings||"string"!=typeof a||(a=u.from(a,s)),a);r!==l&&(n=!0,i="buffer",r=l)}var c=e.objectMode?1:r.length;e.length+=c;var h=e.length<e.highWaterMark;if(h||(e.needDrain=!0),e.writing||e.corked){var f=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},f?f.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else k(t,e,!1,c,r,i,o);return h}(this,d,y,t,e,n)),g},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||C(this,t))},M.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new x(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,n){n(new g("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,n){var r,i,a,s=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),s.corked&&(s.corked=1,this.uncork()),s.ending||(r=this,i=s,a=n,i.ending=!0,E(r,i),a&&(i.finished?o.nextTick(a):r.once("finish",a)),i.ended=!0,r.writable=!1),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=h.destroy,M.prototype._undestroy=h.undestroy,M.prototype._destroy=function(t,e){e(t)}},39536:function(t,e,n){"use strict";var r,i=n(85409);function o(t,e,n){var r;return(e="symbol"==typeof(r=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?r:String(r))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(32339),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),h=Symbol("lastPromise"),f=Symbol("handlePromise"),d=Symbol("stream");function p(t,e){return{value:t,done:e}}function g(t){var e=t[s];if(null!==e){var n=t[d].read();null!==n&&(t[h]=null,t[s]=null,t[l]=null,e(p(n,!1)))}}function y(t){i.nextTick(g,t)}var v=Object.getPrototypeOf(function(){}),m=Object.setPrototypeOf((o(r={get stream(){return this[d]},next:function(){var t,e,n=this,r=this[u];if(null!==r)return Promise.reject(r);if(this[c])return Promise.resolve(p(void 0,!0));if(this[d].destroyed)return new Promise(function(t,e){i.nextTick(function(){n[u]?e(n[u]):t(p(void 0,!0))})});var o=this[h];if(o)e=new Promise((t=this,function(e,n){o.then(function(){t[c]?e(p(void 0,!0)):t[f](e,n)},n)}));else{var a=this[d].read();if(null!==a)return Promise.resolve(p(a,!1));e=new Promise(this[f])}return this[h]=e,e}},Symbol.asyncIterator,function(){return this}),o(r,"return",function(){var t=this;return new Promise(function(e,n){t[d].destroy(null,function(t){t?n(t):e(p(void 0,!0))})})}),r),v);t.exports=function(t){var e,n=Object.create(m,(o(e={},d,{value:t,writable:!0}),o(e,s,{value:null,writable:!0}),o(e,l,{value:null,writable:!0}),o(e,u,{value:null,writable:!0}),o(e,c,{value:t._readableState.endEmitted,writable:!0}),o(e,f,{value:function(t,e){var r=n[d].read();r?(n[h]=null,n[s]=null,n[l]=null,t(p(r,!1))):(n[s]=t,n[l]=e)},writable:!0}),e));return n[h]=null,a(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=n[l];null!==e&&(n[h]=null,n[s]=null,n[l]=null,e(t)),n[u]=t;return}var r=n[s];null!==r&&(n[h]=null,n[s]=null,n[l]=null,r(p(void 0,!0))),n[c]=!0}),t.on("readable",y.bind(null,n)),n}},70020:function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach(function(e){var r,i,a;r=t,i=e,a=n[e],(i=o(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function o(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}var a=n(8963).Buffer,s=n(20352).inspect,l=s&&s.custom||"inspect";t.exports=function(){var t;function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.head=null,this.tail=null,this.length=0}return t=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e,n,r=a.allocUnsafe(t>>>0),i=this.head,o=0;i;)e=i.data,n=o,a.prototype.copy.call(e,r,n),o+=i.data.length,i=i.next;return r}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,r=e.data;for(t-=r.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0==(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),n=this.head,r=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var i=n.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,e}},{key:l,value:function(t,e){return s(this,i(i({},e),{},{depth:0,customInspect:!1}))}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,o(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}()},50917:function(t,e,n){"use strict";var r=n(85409);function i(t,e){a(t,e),o(t)}function o(t){t._writableState&&!t._writableState.emitClose||(!t._readableState||t._readableState.emitClose)&&t.emit("close")}function a(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var n=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(a,this,t)):r.nextTick(a,this,t)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!e&&t?n._writableState?n._writableState.errorEmitted?r.nextTick(o,n):(n._writableState.errorEmitted=!0,r.nextTick(i,n,t)):r.nextTick(i,n,t):e?(r.nextTick(o,n),e(t)):r.nextTick(o,n)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}}},32339:function(t,e,n){"use strict";var r=n(20289).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,n,o){if("function"==typeof n)return t(e,null,n);n||(n={}),a=o||i,s=!1,o=function(){if(!s){s=!0;for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];a.apply(this,e)}};var a,s,l=n.readable||!1!==n.readable&&e.readable,u=n.writable||!1!==n.writable&&e.writable,c=function(){e.writable||f()},h=e._writableState&&e._writableState.finished,f=function(){u=!1,h=!0,l||o.call(e)},d=e._readableState&&e._readableState.endEmitted,p=function(){l=!1,d=!0,u||o.call(e)},g=function(t){o.call(e,t)},y=function(){var t;return l&&!d?(e._readableState&&e._readableState.ended||(t=new r),o.call(e,t)):u&&!h?(e._writableState&&e._writableState.ended||(t=new r),o.call(e,t)):void 0},v=function(){e.req.on("finish",f)};return e.setHeader&&"function"==typeof e.abort?(e.on("complete",f),e.on("abort",y),e.req?v():e.on("request",v)):u&&!e._writableState&&(e.on("end",c),e.on("close",c)),e.on("end",p),e.on("finish",f),!1!==n.error&&e.on("error",g),e.on("close",y),function(){e.removeListener("complete",f),e.removeListener("abort",y),e.removeListener("request",v),e.req&&e.req.removeListener("finish",f),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",f),e.removeListener("end",p),e.removeListener("error",g),e.removeListener("close",y)}}},34918:function(t){t.exports=function(){throw Error("Readable.from is not available in the browser")}},35481:function(t,e,n){"use strict";var r,i=n(20289).codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function l(t){t()}function u(t,e){return t.pipe(e)}t.exports=function(){for(var t,e,i=arguments.length,c=Array(i),h=0;h<i;h++)c[h]=arguments[h];var f=(t=c).length&&"function"==typeof t[t.length-1]?t.pop():s;if(Array.isArray(c[0])&&(c=c[0]),c.length<2)throw new o("streams");var d=c.map(function(t,i){var o,s,u,h,p,g,y=i<c.length-1;return o=i>0,u=s=function(t){e||(e=t),t&&d.forEach(l),y||(d.forEach(l),f(e))},h=!1,s=function(){h||(h=!0,u.apply(void 0,arguments))},p=!1,t.on("close",function(){p=!0}),void 0===r&&(r=n(32339)),r(t,{readable:y,writable:o},function(t){if(t)return s(t);p=!0,s()}),g=!1,function(e){if(!p&&!g){if(g=!0,t.setHeader&&"function"==typeof t.abort)return t.abort();if("function"==typeof t.destroy)return t.destroy();s(e||new a("pipe"))}}});return c.reduce(u)}},65750:function(t,e,n){"use strict";var r=n(20289).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,i){var o=null!=e.highWaterMark?e.highWaterMark:i?e[n]:null;if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},82534:function(t,e,n){t.exports=n(80381).EventEmitter},57995:function(t){"use strict";t.exports=function(t,e){if(e=e.split(":")[0],!(t*=1))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},87922:function(t,e,n){"use strict";n.d(e,{A:()=>w});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,r){return t[0]===e&&(n=r,!0)}),n}function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&l()}function s(){a(o)}function l(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,20);i=t}return l}(this.refresh.bind(this),0)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;s.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),c=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},f=y(0,0,0,0);function d(t){return parseFloat(t)||0}function p(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(e,n){return e+d(t["border-"+n+"-width"])},0)}var g="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function y(t,e,n,r){return{x:t,y:e,width:n,height:r}}var v=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=function(t){if(!i)return f;if(g(t)){var e;return y(0,0,(e=t.getBBox()).width,e.height)}return function(t){var e,n=t.clientWidth,r=t.clientHeight;if(!n&&!r)return f;var i=h(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=d(o)}return e}(i),a=o.left+o.right,s=o.top+o.bottom,l=d(i.width),u=d(i.height);if("border-box"===i.boxSizing&&(Math.round(l+a)!==n&&(l-=p(i,"left","right")+a),Math.round(u+s)!==r&&(u-=p(i,"top","bottom")+s)),(e=t)!==h(e).document.documentElement){var c=Math.round(l+a)-n,g=Math.round(u+s)-r;1!==Math.abs(c)&&(l-=c),1!==Math.abs(g)&&(u-=g)}return y(o.left,o.top,l,u)}(t)}(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),m=function(t,e){var n,r,i,o,a,s=(n=e.x,r=e.y,i=e.width,o=e.height,c(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:r,width:i,height:o,top:r,right:n+i,bottom:o+r,left:n}),a);c(this,{target:t,contentRect:s})},_=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new v(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new m(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),b="undefined"!=typeof WeakMap?new WeakMap:new r,x=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new _(e,u.getInstance(),this);b.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){x.prototype[t]=function(){var e;return(e=b.get(this))[t].apply(e,arguments)}});let w=void 0!==o.ResizeObserver?o.ResizeObserver:x},56608:function(t,e,n){var r=n(8963),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,n){if("number"==typeof t)throw TypeError("Argument must not be a number");return i(t,e,n)},a.alloc=function(t,e,n){if("number"!=typeof t)throw TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return r.SlowBuffer(t)}},43282:function(t,e,n){"use strict";var r=n(98801),i=n(10092),o=r("RegExp.prototype.exec"),a=n(71102);t.exports=function(t){if(!i(t))throw new a("`regex` must be a RegExp");return function(e){return null!==o(t,e)}}},73910:function(t,e){"use strict";function n(t,e){var n=t.length;for(t.push(e);0<n;){var r=n-1>>>1,i=t[r];if(0<o(i,e))t[r]=e,t[n]=i,n=r;else break}}function r(t){return 0===t.length?null:t[0]}function i(t){if(0===t.length)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;for(var r=0,i=t.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=t[s],u=s+1,c=t[u];if(0>o(l,n))u<i&&0>o(c,l)?(t[r]=c,t[u]=n,r=u):(t[r]=l,t[s]=n,r=s);else if(u<i&&0>o(c,n))t[r]=c,t[u]=n,r=u;else break}}return e}function o(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}if("object"==typeof performance&&"function"==typeof performance.now){var a,s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var c=[],h=[],f=1,d=null,p=3,g=!1,y=!1,v=!1,m="function"==typeof setTimeout?setTimeout:null,_="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function x(t){for(var e=r(h);null!==e;){if(null===e.callback)i(h);else if(e.startTime<=t)i(h),e.sortIndex=e.expirationTime,n(c,e);else break;e=r(h)}}function w(t){if(v=!1,x(t),!y)if(null!==r(c))y=!0,R(S);else{var e=r(h);null!==e&&L(w,e.startTime-t)}}function S(t,n){y=!1,v&&(v=!1,_(k),k=-1),g=!0;var o=p;try{for(x(n),d=r(c);null!==d&&(!(d.expirationTime>n)||t&&!O());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var s=a(d.expirationTime<=n);n=e.unstable_now(),"function"==typeof s?d.callback=s:d===r(c)&&i(c),x(n)}else i(c);d=r(c)}if(null!==d)var l=!0;else{var u=r(h);null!==u&&L(w,u.startTime-n),l=!1}return l}finally{d=null,p=o,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var A=!1,M=null,k=-1,T=5,C=-1;function O(){return!(e.unstable_now()-C<T)}function I(){if(null!==M){var t=e.unstable_now();C=t;var n=!0;try{n=M(!0,t)}finally{n?a():(A=!1,M=null)}}else A=!1}if("function"==typeof b)a=function(){b(I)};else if("undefined"!=typeof MessageChannel){var E=new MessageChannel,D=E.port2;E.port1.onmessage=I,a=function(){D.postMessage(null)}}else a=function(){m(I,0)};function R(t){M=t,A||(A=!0,a())}function L(t,n){k=m(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){y||g||(y=!0,R(S))},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<t?Math.floor(1e3/t):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return r(c)},e.unstable_next=function(t){switch(p){case 1:case 2:case 3:var e=3;break;default:e=p}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_scheduleCallback=function(t,i,o){var a=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,t){case 1:var s=-1;break;case 2:s=250;break;case 5:s=0x3fffffff;break;case 4:s=1e4;break;default:s=5e3}return s=o+s,t={id:f++,callback:i,priorityLevel:t,startTime:o,expirationTime:s,sortIndex:-1},o>a?(t.sortIndex=o,n(h,t),null===r(c)&&t===r(h)&&(v?(_(k),k=-1):v=!0,L(w,o-a))):(t.sortIndex=s,n(c,t),y||g||(y=!0,R(S))),t},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(t){var e=p;return function(){var n=p;p=e;try{return t.apply(this,arguments)}finally{p=n}}}},9593:function(t,e,n){"use strict";t.exports=n(73910)},7755:function(t,e,n){"use strict";var r=n(49336),i=n(20022),o=n(491)(),a=n(25667),s=n(71102),l=r("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new s("`fn` is not a function");if("number"!=typeof e||e<0||e>0xffffffff||l(e)!==e)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in t&&a){var c=a(t,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(u=!1)}return(r||u||!n)&&(o?i(t,"length",e,!0,!0):i(t,"length",e)),t}},87633:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeSensorId=e.SensorTabIndex=e.SensorClassName=void 0,e.SizeSensorId="size-sensor-id",e.SensorClassName="size-sensor-object",e.SensorTabIndex="-1"},15962:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var r=this,i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout(function(){t.apply(r,o)},e)}}},18616:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=1;e.default=function(){return"".concat(n++)}},49741:function(t,e,n){"use strict";e.clear=e.bind=void 0;var r=n(4105);e.bind=function(t,e){var n=(0,r.getSensor)(t);return n.bind(e),function(){n.unbind(e)}},e.clear=function(t){var e=(0,r.getSensor)(t);(0,r.removeSensor)(e)}},4105:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeSensor=e.getSensor=e.Sensors=void 0;var r,i=(r=n(18616))&&r.__esModule?r:{default:r},o=n(25825),a=n(87633),s={};function l(t){t&&s[t]&&delete s[t]}e.Sensors=s,e.getSensor=function(t){var e=t.getAttribute(a.SizeSensorId);if(e&&s[e])return s[e];var n=(0,i.default)();t.setAttribute(a.SizeSensorId,n);var r=(0,o.createSensor)(t,function(){return l(n)});return s[n]=r,r},e.removeSensor=function(t){var e=t.element.getAttribute(a.SizeSensorId);t.destroy(),l(e)}},25825:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var r=n(67066),i=n(31159);e.createSensor="undefined"!=typeof ResizeObserver?i.createSensor:r.createSensor},67066:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var r,i=(r=n(15962))&&r.__esModule?r:{default:r},o=n(87633);e.createSensor=function(t,e){var n=void 0,r=[],a=function(){"static"===getComputedStyle(t).position&&(t.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",s),s()},e.style.display="block",e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.height="100%",e.style.width="100%",e.style.overflow="hidden",e.style.pointerEvents="none",e.style.zIndex="-1",e.style.opacity="0",e.setAttribute("class",o.SensorClassName),e.setAttribute("tabindex",o.SensorTabIndex),e.type="text/html",t.appendChild(e),e.data="about:blank",e},s=(0,i.default)(function(){r.forEach(function(e){e(t)})}),l=function(){n&&n.parentNode&&(n.contentDocument&&n.contentDocument.defaultView.removeEventListener("resize",s),n.parentNode.removeChild(n),t.removeAttribute(o.SizeSensorId),n=void 0,r=[],e&&e())};return{element:t,bind:function(t){n||(n=a()),-1===r.indexOf(t)&&r.push(t)},destroy:l,unbind:function(t){var e=r.indexOf(t);-1!==e&&r.splice(e,1),0===r.length&&n&&l()}}}},31159:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var r,i=n(87633),o=(r=n(15962))&&r.__esModule?r:{default:r};e.createSensor=function(t,e){var n=void 0,r=[],a=(0,o.default)(function(){r.forEach(function(e){e(t)})}),s=function(){var e=new ResizeObserver(a);return e.observe(t),a(),e},l=function(){n.disconnect(),r=[],n=void 0,t.removeAttribute(i.SizeSensorId),e&&e()};return{element:t,bind:function(t){n||(n=s()),-1===r.indexOf(t)&&r.push(t)},destroy:l,unbind:function(t){var e=r.indexOf(t);-1!==e&&r.splice(e,1),0===r.length&&n&&l()}}}},43803:function(t,e,n){t.exports=i;var r=n(80381).EventEmitter;function i(){r.call(this)}n(91193)(i,r),i.Readable=n(23033),i.Writable=n(92553),i.Duplex=n(35707),i.Transform=n(50141),i.PassThrough=n(75271),i.finished=n(32339),i.pipeline=n(35481),i.Stream=i,i.prototype.pipe=function(t,e){var n=this;function i(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,t.end())}function l(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function u(t){if(c(),0===r.listenerCount(this,"error"))throw t}function c(){n.removeListener("data",i),t.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",u),t.removeListener("error",u),n.removeListener("end",c),n.removeListener("close",c),t.removeListener("close",c)}return n.on("error",u),t.on("error",u),n.on("end",c),n.on("close",c),t.on("close",c),t.emit("pipe",n),t}},86704:function(t,e,n){"use strict";var r=n(56608).Buffer,i=r.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){var e;if(!t)return"utf8";for(;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(r.isEncoding===i||!i(t)))throw Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=l,this.end=u,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=c,this.end=h,e=3;break;default:this.write=f,this.end=d;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if((192&e[0])!=128)return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if((192&e[1])!=128)return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&(192&e[2])!=128)return t.lastNeed=2,"�"}}(this,t,0);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length)}function l(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function c(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){var e,n;if(0===t.length)return"";if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},o.prototype.text=function(t,e){var n=function(t,e,n){var r=e.length-1;if(r<n)return 0;var i=a(e[r]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--r<n||-2===i?0:(i=a(e[r]))>=0?(i>0&&(t.lastNeed=i-2),i):--r<n||-2===i?0:(i=a(e[r]))>=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},39687:function(t){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEach(function(e){t.addRange(e)}),e&&e.focus()}}},9741:function(t,e){e.isatty=function(){return!1},e.ReadStream=function(){throw Error("tty.ReadStream is not implemented")},e.WriteStream=function(){throw Error("tty.WriteStream is not implemented")}},31337:function(t,e,n){"use strict";var r=n(57995),i=n(76682),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function h(t){return(t||"").toString().replace(o,"")}var f=[["#","hash"],["?","query"],function(t,e){return g(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],d={hash:1,query:1};function p(t){var e,r=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},i={},o=typeof(t=t||r);if("blob:"===t.protocol)i=new v(unescape(t.pathname),{});else if("string"===o)for(e in i=new v(t,{}),d)delete i[e];else if("object"===o){for(e in t)e in d||(i[e]=t[e]);void 0===i.slashes&&(i.slashes=s.test(t.href))}return i}function g(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function y(t,e){t=(t=h(t)).replace(a,""),e=e||{};var n,r=u.exec(t),i=r[1]?r[1].toLowerCase():"",o=!!r[2],s=!!r[3],l=0;return o?s?(n=r[2]+r[3]+r[4],l=r[2].length+r[3].length):(n=r[2]+r[4],l=r[2].length):s?(n=r[3]+r[4],l=r[3].length):n=r[4],"file:"===i?l>=2&&(n=n.slice(2)):g(i)?n=r[4]:i?o&&(n=n.slice(2)):l>=2&&g(e.protocol)&&(n=r[4]),{protocol:i,slashes:o||g(i),slashesCount:l,rest:n}}function v(t,e,n){if(t=(t=h(t)).replace(a,""),!(this instanceof v))return new v(t,e,n);var o,s,l,u,d,m,_=f.slice(),b=typeof e,x=0;for("object"!==b&&"string"!==b&&(n=e,e=null),n&&"function"!=typeof n&&(n=i.parse),o=!(s=y(t||"",e=p(e))).protocol&&!s.slashes,this.slashes=s.slashes||o&&e.slashes,this.protocol=s.protocol||e.protocol||"",t=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||c.test(t))||!s.slashes&&(s.protocol||s.slashesCount<2||!g(this.protocol)))&&(_[3]=[/(.*)/,"pathname"]);x<_.length;x++){if("function"==typeof(u=_[x])){t=u(t,this);continue}l=u[0],m=u[1],l!=l?this[m]=t:"string"==typeof l?~(d="@"===l?t.lastIndexOf(l):t.indexOf(l))&&("number"==typeof u[2]?(this[m]=t.slice(0,d),t=t.slice(d+u[2])):(this[m]=t.slice(d),t=t.slice(0,d))):(d=l.exec(t))&&(this[m]=d[1],t=t.slice(0,d.index)),this[m]=this[m]||o&&u[3]&&e[m]||"",u[4]&&(this[m]=this[m].toLowerCase())}n&&(this.query=n(this.query)),o&&e.slashes&&"/"!==this.pathname.charAt(0)&&(""!==this.pathname||""!==e.pathname)&&(this.pathname=function(t,e){if(""===t)return e;for(var n=(e||"/").split("/").slice(0,-1).concat(t.split("/")),r=n.length,i=n[r-1],o=!1,a=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),a++):a&&(0===r&&(o=!0),n.splice(r,1),a--);return o&&n.unshift(""),("."===i||".."===i)&&n.push(""),n.join("/")}(this.pathname,e.pathname)),"/"!==this.pathname.charAt(0)&&g(this.protocol)&&(this.pathname="/"+this.pathname),r(this.port,this.protocol)||(this.host=this.hostname,this.port=""),this.username=this.password="",this.auth&&(~(d=this.auth.indexOf(":"))?(this.username=this.auth.slice(0,d),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=this.auth.slice(d+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(this.auth)),this.auth=this.password?this.username+":"+this.password:this.username),this.origin="file:"!==this.protocol&&g(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString()}v.prototype={set:function(t,e,n){switch(t){case"query":"string"==typeof e&&e.length&&(e=(n||i.parse)(e)),this[t]=e;break;case"port":this[t]=e,r(e,this.protocol)?e&&(this.host=this.hostname+":"+e):(this.host=this.hostname,this[t]="");break;case"hostname":this[t]=e,this.port&&(e+=":"+this.port),this.host=e;break;case"host":this[t]=e,l.test(e)?(e=e.split(":"),this.port=e.pop(),this.hostname=e.join(":")):(this.hostname=e,this.port="");break;case"protocol":this.protocol=e.toLowerCase(),this.slashes=!n;break;case"pathname":case"hash":if(e){var o="pathname"===t?"/":"#";this[t]=e.charAt(0)!==o?o+e:e}else this[t]=e;break;case"username":case"password":this[t]=encodeURIComponent(e);break;case"auth":var a=e.indexOf(":");~a?(this.username=e.slice(0,a),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=e.slice(a+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(e))}for(var s=0;s<f.length;s++){var u=f[s];u[4]&&(this[u[1]]=this[u[1]].toLowerCase())}return this.auth=this.password?this.username+":"+this.password:this.username,this.origin="file:"!==this.protocol&&g(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString(),this},toString:function(t){t&&"function"==typeof t||(t=i.stringify);var e,n=this.host,r=this.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");var o=r+(this.protocol&&this.slashes||g(this.protocol)?"//":"");return this.username?(o+=this.username,this.password&&(o+=":"+this.password),o+="@"):this.password?(o+=":"+this.password,o+="@"):"file:"!==this.protocol&&g(this.protocol)&&!n&&"/"!==this.pathname&&(o+="@"),(":"===n[n.length-1]||l.test(this.hostname)&&!this.port)&&(n+=":"),o+=n+this.pathname,(e="object"==typeof this.query?t(this.query):this.query)&&(o+="?"!==e.charAt(0)?"?"+e:e),this.hash&&(o+=this.hash),o}},v.extractProtocol=y,v.location=p,v.trimLeft=h,v.qs=i,t.exports=v},91947:function(t,e,n){t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}};function r(t){try{if(!n.g.localStorage)return!1}catch(t){return!1}var e=n.g.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}},56640:function(t){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},90515:function(t,e,n){"use strict";var r=n(56531),i=n(94204),o=n(19033),a=n(40006);function s(t){return t.call.bind(t)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=s(Object.prototype.toString),h=s(Number.prototype.valueOf),f=s(String.prototype.valueOf),d=s(Boolean.prototype.valueOf);if(l)var p=s(BigInt.prototype.valueOf);if(u)var g=s(Symbol.prototype.valueOf);function y(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function v(t){return"[object Map]"===c(t)}function m(t){return"[object Set]"===c(t)}function _(t){return"[object WeakMap]"===c(t)}function b(t){return"[object WeakSet]"===c(t)}function x(t){return"[object ArrayBuffer]"===c(t)}function w(t){return"undefined"!=typeof ArrayBuffer&&(x.working?x(t):t instanceof ArrayBuffer)}function S(t){return"[object DataView]"===c(t)}function A(t){return"undefined"!=typeof DataView&&(S.working?S(t):t instanceof DataView)}e.isArgumentsObject=r,e.isGeneratorFunction=i,e.isTypedArray=a,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):a(t)||A(t)},e.isUint8Array=function(t){return"Uint8Array"===o(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===o(t)},e.isUint16Array=function(t){return"Uint16Array"===o(t)},e.isUint32Array=function(t){return"Uint32Array"===o(t)},e.isInt8Array=function(t){return"Int8Array"===o(t)},e.isInt16Array=function(t){return"Int16Array"===o(t)},e.isInt32Array=function(t){return"Int32Array"===o(t)},e.isFloat32Array=function(t){return"Float32Array"===o(t)},e.isFloat64Array=function(t){return"Float64Array"===o(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===o(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===o(t)},v.working="undefined"!=typeof Map&&v(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(v.working?v(t):t instanceof Map)},m.working="undefined"!=typeof Set&&m(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(m.working?m(t):t instanceof Set)},_.working="undefined"!=typeof WeakMap&&_(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(_.working?_(t):t instanceof WeakMap)},b.working="undefined"!=typeof WeakSet&&b(new WeakSet),e.isWeakSet=function(t){return b(t)},x.working="undefined"!=typeof ArrayBuffer&&x(new ArrayBuffer),e.isArrayBuffer=w,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=A;var M="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function k(t){return"[object SharedArrayBuffer]"===c(t)}function T(t){return void 0!==M&&(void 0===k.working&&(k.working=k(new M)),k.working?k(t):t instanceof M)}function C(t){return y(t,h)}function O(t){return y(t,f)}function I(t){return y(t,d)}function E(t){return l&&y(t,p)}function D(t){return u&&y(t,g)}e.isSharedArrayBuffer=T,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===c(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===c(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===c(t)},e.isGeneratorObject=function(t){return"[object Generator]"===c(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===c(t)},e.isNumberObject=C,e.isStringObject=O,e.isBooleanObject=I,e.isBigIntObject=E,e.isSymbolObject=D,e.isBoxedPrimitive=function(t){return C(t)||O(t)||I(t)||E(t)||D(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(w(t)||T(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw Error(t+" is not supported in userland")}})})},1344:function(t,e,n){var r=n(85409),i=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++)n[e[r]]=Object.getOwnPropertyDescriptor(t,e[r]);return n},o=/%[sdj%]/g;e.format=function(t){if(!m(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(l(arguments[n]));return e.join(" ")}for(var n=1,r=arguments,i=r.length,a=String(t).replace(o,function(t){if("%%"===t)return"%";if(n>=i)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}}),s=r[n];n<i;s=r[++n])y(s)||!x(s)?a+=" "+s:a+=" "+l(s);return a},e.deprecate=function(t,n){if(void 0!==r&&!0===r.noDeprecation)return t;if(void 0===r)return function(){return e.deprecate(t,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(r.throwDeprecation)throw Error(n);r.traceDeprecation?console.trace(n):console.error(n),i=!0}return t.apply(this,arguments)}};var a={},s=/^$/;function l(t,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),g(n)?r.showHidden=n:n&&e._extend(r,n),_(r.showHidden)&&(r.showHidden=!1),_(r.depth)&&(r.depth=2),_(r.colors)&&(r.colors=!1),_(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),h(r,t,r.depth)}function u(t,e){var n=l.styles[e];return n?"\x1b["+l.colors[n][0]+"m"+t+"\x1b["+l.colors[n][1]+"m":t}function c(t,e){return t}function h(t,n,r){if(t.customInspect&&n&&A(n.inspect)&&n.inspect!==e.inspect&&!(n.constructor&&n.constructor.prototype===n)){var i,o,a,s,l,u,c=n.inspect(r,t);return m(c)||(c=h(t,c,r)),c}var x=function(t,e){if(_(e))return t.stylize("undefined","undefined");if(m(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return v(e)?t.stylize(""+e,"number"):g(e)?t.stylize(""+e,"boolean"):y(e)?t.stylize("null","null"):void 0}(t,n);if(x)return x;var M=Object.keys(n),k=(l={},M.forEach(function(t,e){l[t]=!0}),l);if(t.showHidden&&(M=Object.getOwnPropertyNames(n)),S(n)&&(M.indexOf("message")>=0||M.indexOf("description")>=0))return f(n);if(0===M.length){if(A(n)){var T=n.name?": "+n.name:"";return t.stylize("[Function"+T+"]","special")}if(b(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return t.stylize(Date.prototype.toString.call(n),"date");if(S(n))return f(n)}var O="",I=!1,E=["{","}"];if(p(n)&&(I=!0,E=["[","]"]),A(n)&&(O=" [Function"+(n.name?": "+n.name:"")+"]"),b(n)&&(O=" "+RegExp.prototype.toString.call(n)),w(n)&&(O=" "+Date.prototype.toUTCString.call(n)),S(n)&&(O=" "+f(n)),0===M.length&&(!I||0==n.length))return E[0]+O+E[1];if(r<0)if(b(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");else return t.stylize("[Object]","special");return t.seen.push(n),u=I?function(t,e,n,r,i){for(var o=[],a=0,s=e.length;a<s;++a)C(e,String(a))?o.push(d(t,e,n,r,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(d(t,e,n,r,i,!0))}),o}(t,n,r,k,M):M.map(function(e){return d(t,n,r,k,e,I)}),t.seen.pop(),i=u,o=O,a=E,s=0,i.reduce(function(t,e){return s++,e.indexOf("\n")>=0&&s++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?a[0]+(""===o?"":o+"\n ")+" "+i.join(",\n ")+" "+a[1]:a[0]+o+" "+i.join(", ")+" "+a[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),C(r,i)||(a="["+i+"]"),!s&&(0>t.seen.indexOf(l.value)?(s=y(n)?h(t,l.value,null):h(t,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(t){return" "+t}).join("\n").slice(2):"\n"+s.split("\n").map(function(t){return" "+t}).join("\n")):s=t.stylize("[Circular]","special")),_(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function p(t){return Array.isArray(t)}function g(t){return"boolean"==typeof t}function y(t){return null===t}function v(t){return"number"==typeof t}function m(t){return"string"==typeof t}function _(t){return void 0===t}function b(t){return x(t)&&"[object RegExp]"===M(t)}function x(t){return"object"==typeof t&&null!==t}function w(t){return x(t)&&"[object Date]"===M(t)}function S(t){return x(t)&&("[object Error]"===M(t)||t instanceof Error)}function A(t){return"function"==typeof t}function M(t){return Object.prototype.toString.call(t)}function k(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(!a[t=t.toUpperCase()])if(s.test(t)){var n=r.pid;a[t]=function(){var r=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,r)}}else a[t]=function(){};return a[t]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=n(90515),e.isArray=p,e.isBoolean=g,e.isNull=y,e.isNullOrUndefined=function(t){return null==t},e.isNumber=v,e.isString=m,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=_,e.isRegExp=b,e.types.isRegExp=b,e.isObject=x,e.isDate=w,e.types.isDate=w,e.isError=S,e.types.isNativeError=S,e.isFunction=A,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=n(56640);var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,n;console.log("%s - %s",(n=[k((t=new Date).getHours()),k(t.getMinutes()),k(t.getSeconds())].join(":"),[t.getDate(),T[t.getMonth()],n].join(" ")),e.format.apply(e,arguments))},e.inherits=n(91193),e._extend=function(t,e){if(!e||!x(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var O="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(t,e){if(!t){var n=Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');if(O&&t[O]){var e=t[O];if("function"!=typeof e)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,O,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,r=new Promise(function(t,r){e=t,n=r}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(t,r){t?n(t):e(r)});try{t.apply(this,i)}catch(t){n(t)}return r}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),O&&Object.defineProperty(e,O,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,i(t))},e.promisify.custom=O,e.callbackify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');function e(){for(var e=[],n=0;n<arguments.length;n++)e.push(arguments[n]);var i=e.pop();if("function"!=typeof i)throw TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,e).then(function(t){r.nextTick(a.bind(null,null,t))},function(t){r.nextTick(I.bind(null,t,a))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,i(t)),e}},19033:function(t,e,n){"use strict";var r=n(14086),i=n(79639),o=n(17695),a=n(98801),s=n(25667),l=a("Object.prototype.toString"),u=n(77185)(),c="undefined"==typeof globalThis?n.g:globalThis,h=i(),f=a("String.prototype.slice"),d=Object.getPrototypeOf,p=a("Array.prototype.indexOf",!0)||function(t,e){for(var n=0;n<t.length;n+=1)if(t[n]===e)return n;return -1},g={__proto__:null};u&&s&&d?r(h,function(t){var e=new c[t];if(Symbol.toStringTag in e){var n=d(e),r=s(n,Symbol.toStringTag);r||(r=s(d(n),Symbol.toStringTag)),g["$"+t]=o(r.get)}}):r(h,function(t){var e=new c[t],n=e.slice||e.set;n&&(g["$"+t]=o(n))});var y=function(t){var e=!1;return r(g,function(n,r){if(!e)try{"$"+n(t)===r&&(e=f(r,1))}catch(t){}}),e},v=function(t){var e=!1;return r(g,function(n,r){if(!e)try{n(t),e=f(r,1)}catch(t){}}),e};t.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!u){var e=f(l(t),8,-1);return p(h,e)>-1?e:"Object"===e&&v(t)}return s?y(t):null}},79639:function(t,e,n){"use strict";var r=n(9773),i="undefined"==typeof globalThis?n.g:globalThis;t.exports=function(){for(var t=[],e=0;e<r.length;e++)"function"==typeof i[r[e]]&&(t[t.length]=r[e]);return t}},38487:function(t){!function(){"use strict";var e={}.hasOwnProperty;function n(){for(var t="",i=0;i<arguments.length;i++){var o=arguments[i];o&&(t=r(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var i="";for(var o in t)e.call(t,o)&&t[o]&&(i=r(i,o));return i}(o)))}return t}function r(t,e){return e?t?t+" "+e:t+e:t}t.exports?(n.default=n,t.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return n}):window.classNames=n}()},18530:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{A:()=>r})},48554:function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,{A:()=>r})},87700:function(t,e,n){"use strict";function r(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{A:()=>r})},42356:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise(function(i,o){var a=t.apply(e,n);function s(t){r(a,i,o,s,l,"next",t)}function l(t){r(a,i,o,s,l,"throw",t)}s(void 0)})}}n.d(e,{A:()=>i})},3983:function(t,e,n){"use strict";n.d(e,{A:()=>a});var r=n(55137),i=n(81967),o=n(81803);function a(t,e,n){return e=(0,r.A)(e),(0,o.A)(t,(0,i.A)()?Reflect.construct(e,n||[],(0,r.A)(t).constructor):e.apply(t,n))}},25666:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}n.d(e,{A:()=>r})},13012:function(t,e,n){"use strict";n.d(e,{A:()=>o});var r=n(28241);function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(0,r.A)(i.key),i)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}},8283:function(t,e,n){"use strict";n.d(e,{A:()=>a});var r=n(55137),i=n(81967),o=n(81803);function a(t){var e=(0,i.A)();return function(){var n,i=(0,r.A)(t);return n=e?Reflect.construct(i,arguments,(0,r.A)(this).constructor):i.apply(this,arguments),(0,o.A)(this,n)}}},24412:function(t,e,n){"use strict";n.d(e,{A:()=>i});var r=n(28241);function i(t,e,n){return(e=(0,r.A)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},16865:function(t,e,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(null,arguments)}n.d(e,{A:()=>r})},55137:function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,{A:()=>r})},59746:function(t,e,n){"use strict";n.d(e,{A:()=>i});var r=n(67965);function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,r.A)(t,e)}},81967:function(t,e,n){"use strict";function r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(r=function(){return!!t})()}n.d(e,{A:()=>r})},95092:function(t,e,n){"use strict";function r(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n.d(e,{A:()=>r})},92939:function(t,e,n){"use strict";function r(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,{A:()=>r})},16669:function(t,e,n){"use strict";function r(t){if(null==t)throw TypeError("Cannot destructure "+t)}n.d(e,{A:()=>r})},27210:function(t,e,n){"use strict";n.d(e,{A:()=>o});var r=n(24412);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach(function(e){(0,r.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}},74900:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n={};for(var r in t)if(({}).hasOwnProperty.call(t,r)){if(-1!==e.indexOf(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],-1===e.indexOf(n)&&({}).propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}n.d(e,{A:()=>r})},81803:function(t,e,n){"use strict";n.d(e,{A:()=>o});var r=n(60615),i=n(87700);function o(t,e){if(e&&("object"==(0,r.A)(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return(0,i.A)(t)}},36651:function(t,e,n){"use strict";function r(t,e){this.v=t,this.k=e}function i(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}(i=function(t,e,n,r){function a(e,n){i(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(a("next",0),a("throw",1),a("return",2))})(t,e,n,r)}function o(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function s(n,r,o,a){var s=Object.create((r&&r.prototype instanceof u?r:u).prototype);return i(s,"_invoke",function(n,r,i){var o,a,s,u=0,c=i||[],h=!1,f={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return o=e,a=0,s=t,f.n=n,l}};function d(n,r){for(a=n,s=r,e=0;!h&&u&&!i&&e<c.length;e++){var i,o=c[e],d=f.p,p=o[2];n>3?(i=p===r)&&(s=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=t):o[0]<=d&&((i=n<2&&d<o[1])?(a=0,f.v=r,f.n=o[1]):d<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,a=0))}if(i||n>1)return l;throw h=!0,r}return function(i,c,p){if(u>1)throw TypeError("Generator is already running");for(h&&1===c&&d(c,p),a=c,s=p;(e=a<2?t:s)||!h;){o||(a?a<3?(a>1&&(f.n=-1),d(a,s)):f.n=s:f.v=s);try{if(u=2,o){if(a||(i="next"),e=o[i]){if(!(e=e.call(o,s)))throw TypeError("iterator result is not an object");if(!e.done)return e;s=e.value,a<2&&(a=0)}else 1===a&&(e=o.return)&&e.call(o),a<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=t}else if((e=(h=f.n<0)?s:n.call(r,f))!==l)break}catch(e){o=t,a=1,s=e}finally{u=1}}return{value:e,done:h}}}(n,o,a),!0),s}var l={};function u(){}function c(){}function h(){}e=Object.getPrototypeOf;var f=h.prototype=u.prototype=Object.create([][r]?e(e([][r]())):(i(e={},r,function(){return this}),e));function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,i(t,a,"GeneratorFunction")),t.prototype=Object.create(f),t}return c.prototype=h,i(f,"constructor",h),i(h,"constructor",c),c.displayName="GeneratorFunction",i(h,a,"GeneratorFunction"),i(f),i(f,a,"Generator"),i(f,r,function(){return this}),i(f,"toString",function(){return"[object Generator]"}),(o=function(){return{w:s,m:d}})()}function a(t,e){var n;this.next||(i(a.prototype),i(a.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(i,o,a){function s(){return new e(function(n,o){!function n(i,o,a,s){try{var l=t[i](o),u=l.value;return u instanceof r?e.resolve(u.v).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(u).then(function(t){l.value=t,a(l)},function(t){return n("throw",t,a,s)})}catch(t){s(t)}}(i,a,n,o)})}return n=n?n.then(s,s):s()},!0)}function s(t,e,n,r,i){return new a(o().w(t,e,n,r),i||Promise)}function l(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}}n.d(e,{A:()=>h});var u=n(60615);function c(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw TypeError((0,u.A)(t)+" is not iterable")}function h(){var t=o(),e=t.m(h),n=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function i(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))}var u={throw:1,return:2,break:3,continue:3};function f(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,u[t],e)},delegateYield:function(t,i,o){return e.resultName=i,n(r.d,c(t),o)},finish:function(t){return n(r.f,t)}},n=function(t,n,i){r.p=e.prev,r.n=e.next;try{return t(n,i)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return(h=function(){return{wrap:function(e,n,r,i){return t.w(f(e),n,r,i&&i.reverse())},isGeneratorFunction:i,mark:t.m,awrap:function(t,e){return new r(t,e)},AsyncIterator:a,async:function(t,e,n,r,o){return(i(e)?s:function(t,e,n,r,i){var o=s(t,e,n,r,i);return o.next().then(function(t){return t.done?t.value:o.next()})})(f(t),e,n,r,o)},keys:l,values:c}})()}},67965:function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,{A:()=>r})},41183:function(t,e,n){"use strict";n.d(e,{A:()=>a});var r=n(48554),i=n(61915),o=n(92939);function a(t,e){return(0,r.A)(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||(0,i.A)(t,e)||(0,o.A)()}},91634:function(t,e,n){"use strict";n.d(e,{A:()=>s});var r=n(48554),i=n(95092),o=n(61915),a=n(92939);function s(t){return(0,r.A)(t)||(0,i.A)(t)||(0,o.A)(t)||(0,a.A)()}},30997:function(t,e,n){"use strict";n.d(e,{A:()=>a});var r=n(18530),i=n(95092),o=n(61915);function a(t){return function(t){if(Array.isArray(t))return(0,r.A)(t)}(t)||(0,i.A)(t)||(0,o.A)(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},28241:function(t,e,n){"use strict";n.d(e,{A:()=>i});var r=n(60615);function i(t){var e=function(t,e){if("object"!=(0,r.A)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=(0,r.A)(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==(0,r.A)(e)?e:e+""}},60615:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,{A:()=>r})},61915:function(t,e,n){"use strict";n.d(e,{A:()=>i});var r=n(18530);function i(t,e){if(t){if("string"==typeof t)return(0,r.A)(t,e);var n=({}).toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(t,e):void 0}}},16937:function(t,e,n){"use strict";n.d(e,{zC:()=>q,KE:()=>Y,Ay:()=>$});function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function a(t){return function e(){for(var n=this,r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return i.length>=t.length?t.apply(this,i):function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];return e.apply(n,[].concat(i,r))}}}function s(t){return({}).toString.call(t).includes("Object")}function l(t){return"function"==typeof t}var u,c,h=a(function(t,e){throw Error(t[e]||t.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),f=function(t,e){return s(e)||h("changeType"),Object.keys(e).some(function(e){return!Object.prototype.hasOwnProperty.call(t,e)})&&h("changeField"),e},d=function(t){l(t)||h("selectorType")},p=function(t){l(t)||s(t)||h("handlerType"),s(t)&&Object.values(t).some(function(t){return!l(t)})&&h("handlersType")},g=function(t){t||h("initialIsRequired"),s(t)||h("initialType"),Object.keys(t).length||h("initialContent")};function y(t,e){return l(e)?e(t.current):e}function v(t,e){return t.current=o(o({},t.current),e),e}function m(t,e,n){return l(e)?e(t.current):Object.keys(n).forEach(function(n){var r;return null==(r=e[n])?void 0:r.call(e,t.current[n])}),n}var _={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},b=(u=function(t,e){throw Error(t[e]||t.default)},function t(){for(var e=this,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return r.length>=u.length?u.apply(this,r):function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return t.apply(e,[].concat(r,i))}})(_);let x=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduceRight(function(t,e){return e(t)},t)}};var w={type:"cancelation",msg:"operation is manually canceled"};let S=function(t){var e=!1,n=new Promise(function(n,r){t.then(function(t){return e?r(w):n(t)}),t.catch(r)});return n.cancel=function(){return e=!0},n};var A=function(t){if(Array.isArray(t))return t}(c=({create:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g(t),p(e);var n={current:t},r=a(m)(n,e),i=a(v)(n),o=a(f)(t),s=a(y)(n);return[function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(t){return t};return d(t),t(n.current)},function(t){(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduceRight(function(t,e){return e(t)},t)}})(r,i,o,s)(t)}]}}).create({config:{paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs"}},isInitialized:!1,resolve:null,reject:null,monaco:null}))||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),2!==n.length);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(c,2)||function(t,e){if(t){if("string"==typeof t)return r(t,2);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,2)}}(c,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),M=A[0],k=A[1];function T(t){return document.body.appendChild(t)}function C(t){var e,n,r=M(function(t){return{config:t.config,reject:t.reject}}),i=(e="".concat(r.config.paths.vs,"/loader.js"),n=document.createElement("script"),e&&(n.src=e),n);return i.onload=function(){return t()},i.onerror=r.reject,i}function O(){var t=M(function(t){return{config:t.config,resolve:t.resolve,reject:t.reject}}),e=window.require;e.config(t.config),e(["vs/editor/editor.main"],function(e){I(e),t.resolve(e)},function(e){t.reject(e)})}function I(t){M().monaco||k({monaco:t})}var E=new Promise(function(t,e){return k({resolve:t,reject:e})});let D=function(){var t=M(function(t){return{monaco:t.monaco,isInitialized:t.isInitialized,resolve:t.resolve}});if(!t.isInitialized){if(k({isInitialized:!0}),t.monaco)return t.resolve(t.monaco),S(E);if(window.monaco&&window.monaco.editor)return I(window.monaco),t.resolve(window.monaco),S(E);x(T,C)(O)}return S(E)};var R=n(22155),L={display:"flex",position:"relative",textAlign:"initial"},P={width:"100%"},N={display:"none"},B={display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"},F=function({children:t}){return R.createElement("div",{style:B},t)},j=(0,R.memo)(function({width:t,height:e,isEditorReady:n,loading:r,_ref:i,className:o,wrapperProps:a}){return R.createElement("section",{style:{...L,width:t,height:e},...a},!n&&R.createElement(F,null,r),R.createElement("div",{ref:i,style:{...P,...!n&&N},className:o}))}),z=function(t){(0,R.useEffect)(t,[])},H=function(t,e,n=!0){let r=(0,R.useRef)(!0);(0,R.useEffect)(r.current||!n?()=>{r.current=!1}:t,e)};function V(){}function U(t,e,n,r){var i,o,a,s,l,u;return i=t,o=r,i.editor.getModel(W(i,o))||(a=t,s=e,l=n,u=r,a.editor.createModel(s,l,u?W(a,u):void 0))}function W(t,e){return t.Uri.parse(e)}var q=(0,R.memo)(function({original:t,modified:e,language:n,originalLanguage:r,modifiedLanguage:i,originalModelPath:o,modifiedModelPath:a,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:l=!1,theme:u="light",loading:c="Loading...",options:h={},height:f="100%",width:d="100%",className:p,wrapperProps:g={},beforeMount:y=V,onMount:v=V}){let[m,_]=(0,R.useState)(!1),[b,x]=(0,R.useState)(!0),w=(0,R.useRef)(null),S=(0,R.useRef)(null),A=(0,R.useRef)(null),M=(0,R.useRef)(v),k=(0,R.useRef)(y),T=(0,R.useRef)(!1);z(()=>{let t=D();return t.then(t=>(S.current=t)&&x(!1)).catch(t=>t?.type!=="cancelation"&&console.error("Monaco initialization: error:",t)),()=>{let e;return w.current?(e=w.current?.getModel(),void(s||e?.original?.dispose(),l||e?.modified?.dispose(),w.current?.dispose())):t.cancel()}}),H(()=>{if(w.current&&S.current){let e=w.current.getOriginalEditor(),i=U(S.current,t||"",r||n||"text",o||"");i!==e.getModel()&&e.setModel(i)}},[o],m),H(()=>{if(w.current&&S.current){let t=w.current.getModifiedEditor(),r=U(S.current,e||"",i||n||"text",a||"");r!==t.getModel()&&t.setModel(r)}},[a],m),H(()=>{let t=w.current.getModifiedEditor();t.getOption(S.current.editor.EditorOption.readOnly)?t.setValue(e||""):e!==t.getValue()&&(t.executeEdits("",[{range:t.getModel().getFullModelRange(),text:e||"",forceMoveMarkers:!0}]),t.pushUndoStop())},[e],m),H(()=>{w.current?.getModel()?.original.setValue(t||"")},[t],m),H(()=>{let{original:t,modified:e}=w.current.getModel();S.current.editor.setModelLanguage(t,r||n||"text"),S.current.editor.setModelLanguage(e,i||n||"text")},[n,r,i],m),H(()=>{S.current?.editor.setTheme(u)},[u],m),H(()=>{w.current?.updateOptions(h)},[h],m);let C=(0,R.useCallback)(()=>{if(!S.current)return;k.current(S.current);let s=U(S.current,t||"",r||n||"text",o||""),l=U(S.current,e||"",i||n||"text",a||"");w.current?.setModel({original:s,modified:l})},[n,e,i,t,r,o,a]),O=(0,R.useCallback)(()=>{!T.current&&A.current&&(w.current=S.current.editor.createDiffEditor(A.current,{automaticLayout:!0,...h}),C(),S.current?.editor.setTheme(u),_(!0),T.current=!0)},[h,u,C]);return(0,R.useEffect)(()=>{m&&M.current(w.current,S.current)},[m]),(0,R.useEffect)(()=>{b||m||O()},[b,m,O]),R.createElement(j,{width:d,height:f,isEditorReady:m,loading:c,_ref:A,className:p,wrapperProps:g})}),G=function(t){let e=(0,R.useRef)();return(0,R.useEffect)(()=>{e.current=t},[t]),e.current},Z=new Map,Y=(0,R.memo)(function({defaultValue:t,defaultLanguage:e,defaultPath:n,value:r,language:i,path:o,theme:a="light",line:s,loading:l="Loading...",options:u={},overrideServices:c={},saveViewState:h=!0,keepCurrentModel:f=!1,width:d="100%",height:p="100%",className:g,wrapperProps:y={},beforeMount:v=V,onMount:m=V,onChange:_,onValidate:b=V}){let[x,w]=(0,R.useState)(!1),[S,A]=(0,R.useState)(!0),M=(0,R.useRef)(null),k=(0,R.useRef)(null),T=(0,R.useRef)(null),C=(0,R.useRef)(m),O=(0,R.useRef)(v),I=(0,R.useRef)(),E=(0,R.useRef)(r),L=G(o),P=(0,R.useRef)(!1),N=(0,R.useRef)(!1);z(()=>{let t=D();return t.then(t=>(M.current=t)&&A(!1)).catch(t=>t?.type!=="cancelation"&&console.error("Monaco initialization: error:",t)),()=>k.current?void(I.current?.dispose(),f?h&&Z.set(o,k.current.saveViewState()):k.current.getModel()?.dispose(),k.current.dispose()):t.cancel()}),H(()=>{let a=U(M.current,t||r||"",e||i||"",o||n||"");a!==k.current?.getModel()&&(h&&Z.set(L,k.current?.saveViewState()),k.current?.setModel(a),h&&k.current?.restoreViewState(Z.get(o)))},[o],x),H(()=>{k.current?.updateOptions(u)},[u],x),H(()=>{k.current&&void 0!==r&&(k.current.getOption(M.current.editor.EditorOption.readOnly)?k.current.setValue(r):r!==k.current.getValue()&&(N.current=!0,k.current.executeEdits("",[{range:k.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),k.current.pushUndoStop(),N.current=!1))},[r],x),H(()=>{let t=k.current?.getModel();t&&i&&M.current?.editor.setModelLanguage(t,i)},[i],x),H(()=>{void 0!==s&&k.current?.revealLine(s)},[s],x),H(()=>{M.current?.editor.setTheme(a)},[a],x);let B=(0,R.useCallback)(()=>{if(!(!T.current||!M.current)&&!P.current){O.current(M.current);let l=o||n,f=U(M.current,r||t||"",e||i||"",l||"");k.current=M.current?.editor.create(T.current,{model:f,automaticLayout:!0,...u},c),h&&k.current.restoreViewState(Z.get(l)),M.current.editor.setTheme(a),void 0!==s&&k.current.revealLine(s),w(!0),P.current=!0}},[t,e,n,r,i,o,u,c,h,a,s]);return(0,R.useEffect)(()=>{x&&C.current(k.current,M.current)},[x]),(0,R.useEffect)(()=>{S||x||B()},[S,x,B]),E.current=r,(0,R.useEffect)(()=>{x&&_&&(I.current?.dispose(),I.current=k.current?.onDidChangeModelContent(t=>{N.current||_(k.current.getValue(),t)}))},[x,_]),(0,R.useEffect)(()=>{if(x){let t=M.current.editor.onDidChangeMarkers(t=>{let e=k.current.getModel()?.uri;if(e&&t.find(t=>t.path===e.path)){let t=M.current.editor.getModelMarkers({resource:e});b?.(t)}});return()=>{t?.dispose()}}return()=>{}},[x,b]),R.createElement(j,{width:d,height:p,isEditorReady:x,loading:l,_ref:T,className:g,wrapperProps:y})}),$=Y},71019:function(t,e,n){"use strict";function r(t){if(t){var e=t;for(var n in r.prototype)e[n]=r.prototype[n];return e}}n.d(e,{v:()=>r}),r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<r.length;i++)if((n=r[i])===e||n.fn===e){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+t],this},r.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=Array(arguments.length-1),n=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,e)}return this},r.prototype.emitReserved=r.prototype.emit,r.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},r.prototype.hasListeners=function(t){return!!this.listeners(t).length}},26838:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{_:()=>r})},50251:function(t,e,n){"use strict";n.d(e,{A:()=>r});let r=function(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=function t(e){var n,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(r=t(e[n]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}(t))&&(r&&(r+=" "),r+=e);return r}},67559:function(t,e,n){"use strict";n.r(e),n.d(e,{registerMap:()=>u.mz,List:()=>p.A,helper:()=>r,disConnect:()=>u.zm,getMap:()=>u.ZB,ComponentView:()=>h.A,registerPostInit:()=>u.cf,Axis:()=>tT.A,dispose:()=>u.AS,color:()=>_,registerTransform:()=>u.iY,registerProcessor:()=>u.qg,registerCoordinateSystem:()=>u.pX,registerUpdateLifecycle:()=>u.xV,registerLoading:()=>u.Ej,getInstanceByDom:()=>u.FP,ChartView:()=>d.A,throttle:()=>b.nF,registerVisual:()=>u.AF,registerLocale:()=>u.E,registerPostUpdate:()=>u.tb,dataTool:()=>u.p5,setCanvasCreator:()=>u.vV,dependencies:()=>u.El,PRIORITY:()=>u.FQ,vector:()=>v,use:()=>B.Y,zrUtil:()=>m,Model:()=>A.A,graphic:()=>a,registerAction:()=>u.OH,registerLayout:()=>u.Oh,env:()=>tk.A,registerTheme:()=>u.bf,extendComponentModel:()=>tO,extendComponentView:()=>tI,parseGeoJson:()=>tt,innerDrawElementOnCanvas:()=>tC.Xi,init:()=>u.Ts,time:()=>o,zrender:()=>g,getCoordinateSystemDimensions:()=>u.Bo,matrix:()=>y,util:()=>l,extendChartView:()=>tD,extendSeriesModel:()=>tE,setPlatformAPI:()=>F.Gs,SeriesModel:()=>f.A,format:()=>s,ComponentModel:()=>c.A,registerPreprocessor:()=>u.lP,parseGeoJSON:()=>tt,getInstanceById:()=>u.aQ,disconnect:()=>u.Zf,connect:()=>u.Ng,number:()=>i,version:()=>u.rE});var r={};n.r(r),n.d(r,{createDimensions:()=>O.M,createList:()=>D,createScale:()=>L,createSymbol:()=>I.v5,createTextStyle:()=>N,dataStack:()=>R,enableHoverEmphasis:()=>E.iJ,getECData:()=>T.z,getLayoutRect:()=>M.dV,mixinAxisModelCommonMethods:()=>P});var i={};n.r(i),n.d(i,{MAX_SAFE_INTEGER:()=>te.Is,asc:()=>te.Y6,getPercentWithPrecision:()=>te.wp,getPixelPrecision:()=>te.hb,getPrecision:()=>te.XV,getPrecisionSafe:()=>te.y6,isNumeric:()=>te.kf,isRadianAroundZero:()=>te.dh,linearMap:()=>te.Cb,nice:()=>te.Cm,numericToNumber:()=>te.Sm,parseDate:()=>te._U,quantile:()=>te.YV,quantity:()=>te.au,quantityExponent:()=>te.NX,reformIntervals:()=>te.sL,remRadian:()=>te._7,round:()=>te.LI});var o={};n.r(o),n.d(o,{format:()=>tn.GP,parse:()=>te._U});var a={};n.r(a),n.d(a,{Arc:()=>tv.A,BezierCurve:()=>ty.A,BoundingRect:()=>z.A,Circle:()=>tl.A,CompoundPath:()=>t_.A,Ellipse:()=>tu.A,Group:()=>to.A,Image:()=>ta.Ay,IncrementalDisplayable:()=>tm.A,Line:()=>tg.A,LinearGradient:()=>tb.A,Polygon:()=>tf.A,Polyline:()=>td.A,RadialGradient:()=>tx.A,Rect:()=>tp.A,Ring:()=>th.A,Sector:()=>tc.A,Text:()=>ts.Ay,clipPointsByRect:()=>tr.clipPointsByRect,clipRectByRect:()=>tr.clipRectByRect,createIcon:()=>tr.createIcon,extendPath:()=>tr.extendPath,extendShape:()=>tr.extendShape,getShapeClass:()=>tr.getShapeClass,getTransform:()=>tr.getTransform,initProps:()=>ti.LW,makeImage:()=>tr.makeImage,makePath:()=>tr.makePath,mergePath:()=>tr.mergePath,registerShape:()=>tr.registerShape,resizePath:()=>tr.resizePath,updateProps:()=>ti.oi});var s={};n.r(s),n.d(s,{addCommas:()=>tw.ob,capitalFirst:()=>tw.x5,encodeHTML:()=>tS.Me,formatTime:()=>tw.fU,formatTpl:()=>tw.YK,getTextRect:()=>tM,getTooltipMarker:()=>tw.qg,normalizeCssArray:()=>tw.QX,toCamelCase:()=>tw.Cb,truncateText:()=>tA.EJ});var l={};n.r(l),n.d(l,{bind:()=>m.bind,clone:()=>m.clone,curry:()=>m.curry,defaults:()=>m.defaults,each:()=>m.each,extend:()=>m.extend,filter:()=>m.filter,indexOf:()=>m.indexOf,inherits:()=>m.inherits,isArray:()=>m.isArray,isFunction:()=>m.isFunction,isObject:()=>m.isObject,isString:()=>m.isString,map:()=>m.map,merge:()=>m.merge,reduce:()=>m.reduce});var u=n(54549),c=n(90558),h=n(95411),f=n(10826),d=n(6091),p=n(42592),g=n(64209),y=n(85124),v=n(80410),m=n(12417),_=n(18439),b=n(81557),x=n(50494),w=n(54467),S=n(26772),A=n(43116),M=n(76359),k=n(89686),T=n(44988),C=n(51422),O=n(71653),I=n(7465),E=n(55479);function D(t){return(0,x.A)(null,t)}var R={isDimensionStacked:k.sJ,enableDataStack:k.iJ,getStackedDimension:k.me};function L(t,e){var n=e;e instanceof A.A||(n=new A.A(e));var r=w.f$(n);return r.setExtent(t[0],t[1]),w.af(r,n),r}function P(t){m.mixin(t,S.L)}function N(t,e){return e=e||{},(0,C.VB)(t,null,null,"normal"!==e.state)}var B=n(40097),F=n(42898),j=n(367),z=n(10923),H=n(14230);function V(t,e){return 1e-8>Math.abs(t-e)}function U(t,e,n){var r=0,i=t[0];if(!i)return!1;for(var o=1;o<t.length;o++){var a=t[o];r+=(0,H.A)(i[0],i[1],a[0],a[1],e,n),i=a}var s=t[0];return V(i[0],s[0])&&V(i[1],s[1])||(r+=(0,H.A)(i[0],i[1],s[0],s[1],e,n)),0!==r}var W=[];function q(t,e){for(var n=0;n<t.length;n++)v.applyTransform(t[n],t[n],e)}function G(t,e,n,r){for(var i=0;i<t.length;i++){var o=t[i];r&&(o=r.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(v.min(e,e,o),v.max(n,n,o))}}var Z=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),Y=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},$=function(t){this.type="linestring",this.points=t},X=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.type="geoJSON",i.geometries=n,i._center=r&&[r[0],r[1]],i}return(0,j.C6)(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,r=0;r<e.length;r++){var i=e[r],o=i.exterior,a=o&&o.length;a>n&&(t=i,n=a)}if(t)return function(t){for(var e=0,n=0,r=0,i=t.length,o=t[i-1][0],a=t[i-1][1],s=0;s<i;s++){var l=t[s][0],u=t[s][1],c=o*u-l*a;e+=c,n+=(o+l)*c,r+=(a+u)*c,o=l,a=u}return e?[n/e/3,r/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],r=[-1/0,-1/0],i=this.geometries;return(0,m.each)(i,function(e){"polygon"===e.type?G(e.exterior,n,r,t):(0,m.each)(e.points,function(e){G(e,n,r,t)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),e=new z.A(n[0],n[1],r[0]-n[0],r[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;n:for(var r=0,i=n.length;r<i;r++){var o=n[r];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(U(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(U(s[l],t[0],t[1]))continue n;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,r){var i=this.getBoundingRect(),o=i.width/i.height;n?r||(r=n/o):n=o*r;for(var a=new z.A(t,e,n,r),s=i.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(q(c.exterior,s),(0,m.each)(c.interiors,function(t){q(t,s)})):(0,m.each)(c.points,function(t){q(t,s)})}(i=this._rect).copy(a),this._center=[i.x+i.width/2,i.y+i.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(Z);function K(t,e){var n=Z.call(this,t)||this;return n.type="geoSVG",n._elOnlyForCalculate=e,n}function J(t,e,n){for(var r=0;r<t.length;r++)t[r]=Q(t[r],e[r],n)}function Q(t,e,n){for(var r=[],i=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;l=l>>1^-(1&l),s=(s>>1^-(1&s))+i,l+=o,i=s,o=l,r.push([s/n,l/n])}return r}function tt(t,e){return t=function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);var n=t.features;return m.each(n,function(t){var n=t.geometry,r=n.encodeOffsets,i=n.coordinates;if(r)switch(n.type){case"LineString":n.coordinates=Q(i,r,e);break;case"Polygon":case"MultiLineString":J(i,r,e);break;case"MultiPolygon":m.each(i,function(t,n){return J(t,r[n],e)})}}),t.UTF8Encoding=!1,t}(t),m.map(m.filter(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var n=t.properties,r=t.geometry,i=[];switch(r.type){case"Polygon":var o=r.coordinates;i.push(new Y(o[0],o.slice(1)));break;case"MultiPolygon":m.each(r.coordinates,function(t){t[0]&&i.push(new Y(t[0],t.slice(1)))});break;case"LineString":i.push(new $([r.coordinates]));break;case"MultiLineString":i.push(new $(r.coordinates))}var a=new X(n[e||"name"],i,n.cp);return a.properties=n,a})}(0,j.C6)(K,Z),K.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],r=y.identity(W),i=t;i&&!i.isGeoSVGGraphicRoot;)y.mul(r,i.getLocalTransform(),r),i=i.parent;return y.invert(r,r),v.applyTransform(n,n,r),n};var te=n(90016),tn=n(42476),tr=n(74861),ti=n(26912),to=n(96001),ta=n(35963),ts=n(32031),tl=n(78018),tu=n(21858),tc=n(69581),th=n(19856),tf=n(34146),td=n(25998),tp=n(99618),tg=n(60620),ty=n(26962),tv=n(91176),tm=n(92418),t_=n(38206),tb=n(79345),tx=n(29515),tw=n(3662),tS=n(82557),tA=n(97939);function tM(t,e,n,r,i,o,a,s){return new ts.Ay({style:{text:t,font:e,align:n,verticalAlign:r,padding:i,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}var tk=n(55198),tT=n(54285),tC=n(31975);function tO(t){var e=c.A.extend(t);return c.A.registerClass(e),e}function tI(t){var e=h.A.extend(t);return h.A.registerClass(e),e}function tE(t){var e=f.A.extend(t);return f.A.registerClass(e),e}function tD(t){var e=d.A.extend(t);return d.A.registerClass(e),e}var tR=n(47632),tL=n(92161),tP=n(52211),tN=n(21196),tB=n(45750),tF=n(83104),tj=n(96046),tz=2*Math.PI,tH=tB.A.CMD,tV=["top","right","bottom","left"];function tU(t,e,n,r,i,o,a,s){var l=n-t,u=r-e,c=Math.sqrt(l*l+u*u),h=((i-t)*(l/=c)+(o-e)*(u/=c))/c;s&&(h=Math.min(Math.max(h,0),1)),h*=c;var f=a[0]=t+h*l,d=a[1]=e+h*u;return Math.sqrt((f-i)*(f-i)+(d-o)*(d-o))}function tW(t,e,n,r,i,o,a){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r);var s=t+n,l=e+r,u=a[0]=Math.min(Math.max(i,t),s),c=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-i)*(u-i)+(c-o)*(c-o))}var tq=[],tG=new tP.A,tZ=new tP.A,tY=new tP.A,t$=new tP.A,tX=new tP.A;function tK(t,e){if(t){var n=t.getTextGuideLine(),r=t.getTextContent();if(r&&n){var i=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=i.candidates||tV,s=r.getBoundingRect().clone();s.applyTransform(r.getComputedTransform());var l=1/0,u=i.anchor,c=t.getComputedTransform(),h=c&&(0,y.invert)([],c),f=e.get("length2")||0;u&&tY.copy(u);for(var d=0;d<a.length;d++){!function(t,e,n,r,i){var o=n.width,a=n.height;switch(t){case"top":r.set(n.x+o/2,n.y-0),i.set(0,-1);break;case"bottom":r.set(n.x+o/2,n.y+a+0),i.set(0,1);break;case"left":r.set(n.x-0,n.y+a/2),i.set(-1,0);break;case"right":r.set(n.x+o+0,n.y+a/2),i.set(1,0)}}(a[d],0,s,tG,t$),tP.A.scaleAndAdd(tZ,tG,t$,f),tZ.transform(h);var p=t.getBoundingRect(),g=u?u.distance(tZ):t instanceof tN.Ay?function(t,e,n){for(var r,i,o=0,a=0,s=0,l=0,u=1/0,c=e.data,h=t.x,f=t.y,d=0;d<c.length;){var p=c[d++];1===d&&(o=c[d],a=c[d+1],s=o,l=a);var g=u;switch(p){case tH.M:s=c[d++],l=c[d++],o=s,a=l;break;case tH.L:g=tU(o,a,c[d],c[d+1],h,f,tq,!0),o=c[d++],a=c[d++];break;case tH.C:g=(0,tj.Et)(o,a,c[d++],c[d++],c[d++],c[d++],c[d],c[d+1],h,f,tq),o=c[d++],a=c[d++];break;case tH.Q:g=(0,tj.kh)(o,a,c[d++],c[d++],c[d],c[d+1],h,f,tq),o=c[d++],a=c[d++];break;case tH.A:var y=c[d++],v=c[d++],m=c[d++],_=c[d++],b=c[d++],x=c[d++];d+=1;var w=!!(1-c[d++]);r=Math.cos(b)*m+y,i=Math.sin(b)*_+v,d<=1&&(s=r,l=i);var S=(h-y)*_/m+y;g=function(t,e,n,r,i,o,a,s,l){var u=Math.sqrt((a-=t)*a+(s-=e)*s),c=(a/=u)*n+t,h=(s/=u)*n+e;if(Math.abs(r-i)%tz<1e-4)return l[0]=c,l[1]=h,u-n;if(o){var f=r;r=(0,tF.n)(i),i=(0,tF.n)(f)}else r=(0,tF.n)(r),i=(0,tF.n)(i);r>i&&(i+=tz);var d=Math.atan2(s,a);if(d<0&&(d+=tz),d>=r&&d<=i||d+tz>=r&&d+tz<=i)return l[0]=c,l[1]=h,u-n;var p=n*Math.cos(r)+t,g=n*Math.sin(r)+e,y=n*Math.cos(i)+t,v=n*Math.sin(i)+e,m=(p-a)*(p-a)+(g-s)*(g-s),_=(y-a)*(y-a)+(v-s)*(v-s);return m<_?(l[0]=p,l[1]=g,Math.sqrt(m)):(l[0]=y,l[1]=v,Math.sqrt(_))}(y,v,_,b,b+x,w,S,f,tq),o=Math.cos(b+x)*m+y,a=Math.sin(b+x)*_+v;break;case tH.R:g=tW(s=o=c[d++],l=a=c[d++],c[d++],c[d++],h,f,tq);break;case tH.Z:g=tU(o,a,s,l,h,f,tq,!0),o=s,a=l}g<u&&(u=g,n.set(tq[0],tq[1]))}return u}(tZ,t.path,tY):function(t,e,n){var r=tW(e.x,e.y,e.width,e.height,t.x,t.y,tq);return n.set(tq[0],tq[1]),r}(tZ,p,tY);g<l&&(l=g,tZ.transform(c),tY.transform(c),tY.toArray(o[0]),tZ.toArray(o[1]),tG.toArray(o[2]))}(function(t,e){if(e<=180&&e>0){e=e/180*Math.PI,tG.fromArray(t[0]),tZ.fromArray(t[1]),tY.fromArray(t[2]),tP.A.sub(t$,tG,tZ),tP.A.sub(tX,tY,tZ);var n=t$.len(),r=tX.len();if(!(n<.001)&&!(r<.001)&&(t$.scale(1/n),tX.scale(1/r),Math.cos(e)<t$.dot(tX))){var i=tU(tZ.x,tZ.y,tY.x,tY.y,tG.x,tG.y,tJ,!1);tQ.fromArray(tJ),tQ.scaleAndAdd(tX,i/Math.tan(Math.PI-e));var o=tY.x!==tZ.x?(tQ.x-tZ.x)/(tY.x-tZ.x):(tQ.y-tZ.y)/(tY.y-tZ.y);if(isNaN(o))return;o<0?tP.A.copy(tQ,tZ):o>1&&tP.A.copy(tQ,tY),tQ.toArray(t[1])}}})(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var tJ=[],tQ=new tP.A;function t0(t,e,n,r){var i="normal"===n,o=i?t:t.ensureState(n);o.ignore=e;var a=r.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?t.useStyle(s):o.style=s}function t1(t,e){var n=e.smooth,r=e.points;if(r)if(t.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=v.dist(r[0],r[1]),o=v.dist(r[1],r[2]);if(!i||!o){t.lineTo(r[1][0],r[1][1]),t.lineTo(r[2][0],r[2][1]);return}var a=Math.min(i,o)*n,s=v.lerp([],r[1],r[0],a/i),l=v.lerp([],r[1],r[2],a/o),u=v.lerp([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c<r.length;c++)t.lineTo(r[c][0],r[c][1])}var t2=n(19045),t5=["align","verticalAlign","width","height","fontSize"],t3=new tL.Ay,t6=(0,tR.$r)(),t4=(0,tR.$r)();function t8(t,e,n){for(var r=0;r<n.length;r++){var i=n[r];null!=e[i]&&(t[i]=e[i])}}var t9=["x","y","rotation"],t7=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,r,i){var o,a=r.style,s=r.__hostTarget.textConfig||{},l=r.getComputedTransform(),u=r.getBoundingRect().plain();z.A.applyTransform(u,u,l),l?t3.setLocalTransform(l):(t3.x=t3.y=t3.rotation=t3.originX=t3.originY=0,t3.scaleX=t3.scaleY=1),t3.rotation=(0,tF.n)(t3.rotation);var c=r.__hostTarget;if(c){o=c.getBoundingRect().plain();var h=c.getComputedTransform();z.A.applyTransform(o,o,h)}var f=o&&c.getTextGuideLine();this._labelList.push({label:r,labelLine:f,seriesModel:n,dataIndex:t,dataType:e,layoutOption:i,computedLayoutOption:null,rect:u,hostRect:o,priority:o?o.width*o.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:f&&f.ignore,x:t3.x,y:t3.y,scaleX:t3.scaleX,scaleY:t3.scaleY,rotation:t3.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:r.cursor,attachedPos:s.position,attachedRot:s.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,r=n.get("labelLayout");((0,m.isFunction)(r)||(0,m.keys)(r).length)&&t.group.traverse(function(t){if(t.ignore)return!0;var i=t.getTextContent(),o=(0,T.z)(t);i&&!i.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,i,r)})},t.prototype.updateLayoutConfig=function(t){for(var e=t.getWidth(),n=t.getHeight(),r=0;r<this._labelList.length;r++){var i=this._labelList[r],o=i.label,a=o.__hostTarget,s=i.defaultAttr,l=void 0;l=(l=(0,m.isFunction)(i.layoutOption)?i.layoutOption(function(t,e){var n=t.label,r=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:function(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}(r&&r.shape.points)}}(i,a)):i.layoutOption)||{},i.computedLayoutOption=l;var u=Math.PI/180;a&&a.setTextConfig({local:!1,position:null!=l.x||null!=l.y?null:s.attachedPos,rotation:null!=l.rotate?l.rotate*u:s.attachedRot,offset:[l.dx||0,l.dy||0]});var c=!1;if(null!=l.x?(o.x=(0,te.lo)(l.x,e),o.setStyle("x",0),c=!0):(o.x=s.x,o.setStyle("x",s.style.x)),null!=l.y?(o.y=(0,te.lo)(l.y,n),o.setStyle("y",0),c=!0):(o.y=s.y,o.setStyle("y",s.style.y)),l.labelLinePoints){var h=a.getTextGuideLine();h&&(h.setShape({points:l.labelLinePoints}),c=!1)}t6(o).needsUpdateLabelLine=c,o.rotation=null!=l.rotate?l.rotate*u:s.rotation,o.scaleX=s.scaleX,o.scaleY=s.scaleY;for(var f=0;f<t5.length;f++){var d=t5[f];o.setStyle(d,null!=l[d]?l[d]:s.style[d])}if(l.draggable){if(o.draggable=!0,o.cursor="move",a){var p=i.seriesModel;null!=i.dataIndex&&(p=i.seriesModel.getData(i.dataType).getItemModel(i.dataIndex)),o.on("drag",function(t,e){return function(){tK(t,e)}}(a,p.getModel("labelLine")))}}else o.off("drag"),o.cursor=s.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),r=(0,t2.os)(this._labelList),i=(0,m.filter)(r,function(t){return"shiftX"===t.layoutOption.moveOverlap}),o=(0,m.filter)(r,function(t){return"shiftY"===t.layoutOption.moveOverlap});(0,t2.QX)(i,0,e),(0,t2.Xe)(o,0,n);var a=(0,m.filter)(r,function(t){return t.layoutOption.hideOverlap});(0,t2.If)(a)},t.prototype.processLabelsOverall=function(){var t=this;(0,m.each)(this._chartViewList,function(e){var n=e.__model,r=e.ignoreLabelLineUpdate,i=n.isAnimationEnabled();e.group.traverse(function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!r,a=e.getTextContent();!o&&a&&(o=t6(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),i&&t._animateLabels(e,n)})})},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),r=(0,T.z)(t),i=r.dataIndex;if(n&&null!=i){var o=e.getData(r.dataType),a=o.getItemModel(i),s={},l=o.getItemVisual(i,"style");l&&(s.stroke=l[o.getVisual("drawType")]);var u=a.getModel("labelLine");!function(t,e,n){var r=t.getTextGuideLine(),i=t.getTextContent();if(!i){r&&t.removeTextGuideLine();return}for(var o=e.normal,a=o.get("show"),s=i.ignore,l=0;l<E.wV.length;l++){var u=E.wV[l],c=e[u],h="normal"===u;if(c){var f=c.get("show");if((h?s:(0,m.retrieve2)(i.states[u]&&i.states[u].ignore,s))||!(0,m.retrieve2)(f,a)){var d=h?r:r&&r.states[u];d&&(d.ignore=!0),r&&t0(r,!0,u,c);continue}!r&&(r=new td.A,t.setTextGuideLine(r),h||!s&&a||t0(r,!0,"normal",e.normal),t.stateProxy&&(r.stateProxy=t.stateProxy)),t0(r,!1,u,c)}}if(r){(0,m.defaults)(r.style,n),r.style.fill=null;var p=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=p||!1,r.buildPath=t1}}(t,function(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},r=0;r<E.BV.length;r++){var i=E.BV[r];n[i]=t.getModel([i,e])}return n}(a),s),tK(t,u)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),r=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!(0,ti.LR)(t))){var i=t6(n),o=i.oldLayout,a=(0,T.z)(t),s=a.dataIndex,l={x:n.x,y:n.y,rotation:n.rotation},u=e.getData(a.dataType);if(o){n.attr(o);var c=t.prevStates;c&&((0,m.indexOf)(c,"select")>=0&&n.attr(i.oldLayoutSelect),(0,m.indexOf)(c,"emphasis")>=0&&n.attr(i.oldLayoutEmphasis)),(0,ti.oi)(n,l,e,s)}else if(n.attr(l),!(0,C.Lu)(n).valueAnimation){var h=(0,m.retrieve2)(n.style.opacity,1);n.style.opacity=0,(0,ti.LW)(n,{style:{opacity:h}},e,s)}if(i.oldLayout=l,n.states.select){var f=i.oldLayoutSelect={};t8(f,l,t9),t8(f,n.states.select,t9)}if(n.states.emphasis){var d=i.oldLayoutEmphasis={};t8(d,l,t9),t8(d,n.states.emphasis,t9)}(0,C.xb)(n,s,u,e,e)}if(r&&!r.ignore&&!r.invisible){var i=t4(r),o=i.oldLayout,p={points:r.shape.points};o?(r.attr({shape:o}),(0,ti.oi)(r,{shape:p},e)):(r.setShape(p),r.style.strokePercent=0,(0,ti.LW)(r,{style:{strokePercent:1}},e)),i.oldLayout=p}},t}(),et=(0,tR.$r)();(0,B.Y)(function(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){var r=et(e).labelManager;r||(r=et(e).labelManager=new t7),r.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(t,e,n){var r=et(e).labelManager;n.updatedSeries.forEach(function(t){r.addLabelsOfSeries(e.getViewOfSeriesModel(t))}),r.updateLayoutConfig(e),r.layout(e),r.processLabelsOverall()})})},26912:function(t,e,n){"use strict";n.d(e,{Jw:()=>i,LR:()=>l,LW:()=>s,Nz:()=>u,oi:()=>a,t5:()=>h});var r=n(12417);function i(t,e,n,i,o){if(e&&e.ecModel){var a,s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(!l)return null;var c=void 0,h=void 0,f=void 0;return i?(c=(0,r.retrieve2)(i.duration,200),h=(0,r.retrieve2)(i.easing,"cubicOut"),f=0):(c=e.getShallow(u?"animationDurationUpdate":"animationDuration"),h=e.getShallow(u?"animationEasingUpdate":"animationEasing"),f=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(c=a.duration),null!=a.easing&&(h=a.easing),null!=a.delay&&(f=a.delay)),(0,r.isFunction)(f)&&(f=f(n,o)),(0,r.isFunction)(c)&&(c=c(n)),{duration:c||0,delay:f,easing:h}}function o(t,e,n,o,a,s,l){var u,c=!1;(0,r.isFunction)(a)?(l=s,s=a,a=null):(0,r.isObject)(a)&&(s=a.cb,l=a.during,c=a.isFrom,u=a.removeOpt,a=a.dataIndex);var h="leave"===t;h||e.stopAnimation("leave");var f=i(t,o,a,h?u||{}:null,o&&o.getAnimationDelayParams?o.getAnimationDelayParams(e,a):null);if(f&&f.duration>0){var d={duration:f.duration,delay:f.delay||0,easing:f.easing,done:s,force:!!s||!!l,setToFinal:!h,scope:t,during:l};c?e.animateFrom(n,d):e.animateTo(n,d)}else e.stopAnimation(),c||e.attr(n),l&&l(1),s&&s()}function a(t,e,n,r,i,a){o("update",t,e,n,r,i,a)}function s(t,e,n,r,i,a){o("enter",t,e,n,r,i,a)}function l(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function u(t,e,n,r,i,a){l(t)||o("leave",t,e,n,r,i,a)}function c(t,e,n,r){t.removeTextContent(),t.removeTextGuideLine(),u(t,{style:{opacity:0}},e,n,r)}function h(t,e,n){function r(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||c(t,e,n,r)}):c(t,e,n,r)}(0,n(47632).$r)()},82943:function(t,e,n){"use strict";n.d(e,{a:()=>tT});var r=n(367),i=n(50494),o=n(47632),a=n(10826),s={color:"fill",borderColor:"stroke"},l={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},u=(0,o.$r)(),c=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return(0,i.A)(null,this)},e.prototype.getDataParams=function(e,n,r){var i=t.prototype.getDataParams.call(this,e,n);return r&&(i.info=u(r).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(a.A),h=n(12417),f=n(21196),d=n(74861),p=n(35963),g=n(32031),y=n(96001),v=n(55479),m=n(51422),_=n(37269);function b(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var i=(0,_.QE)(t,e,n[0]);return null!=i?i+"":null}if(r){for(var o=[],a=0;a<n.length;a++)o.push((0,_.QE)(t,e,n[a]));return o.join(" ")}}var x=n(61150),w=n(86173),S=n(6091),A=n(99618),M=n(26912),k=n(69581),T=n(90016);function C(t,e){return e=e||[0,0],h.map(["x","y"],function(n,r){var i=this.getAxis(n),o=e[r],a=t[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))},this)}function O(t,e){return e=e||[0,0],h.map([0,1],function(n){var r=e[n],i=t[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])},this)}function I(t,e){var n=this.getAxis(),r=e instanceof Array?e[0]:e,i=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function E(t,e){return e=e||[0,0],h.map(["Radius","Angle"],function(n,r){var i=this["get"+n+"Axis"](),o=e[r],a=t[r]/2,s="category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s},this)}var D=n(18144);function R(t,e){e&&(e.font=e.textFont||e.font,(0,h.hasOwn)(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),(0,h.hasOwn)(e,"textAlign")&&(t.align=e.textAlign),(0,h.hasOwn)(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),(0,h.hasOwn)(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),(0,h.hasOwn)(e,"textWidth")&&(t.width=e.textWidth),(0,h.hasOwn)(e,"textHeight")&&(t.height=e.textHeight),(0,h.hasOwn)(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),(0,h.hasOwn)(e,"textPadding")&&(t.padding=e.textPadding),(0,h.hasOwn)(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),(0,h.hasOwn)(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),(0,h.hasOwn)(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),(0,h.hasOwn)(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),(0,h.hasOwn)(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),(0,h.hasOwn)(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),(0,h.hasOwn)(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function L(t,e,n){t.textPosition=t.textPosition||n.position||"inside",null!=n.offset&&(t.textOffset=n.offset),null!=n.rotation&&(t.textRotation=n.rotation),null!=n.distance&&(t.textDistance=n.distance);var r=t.textPosition.indexOf("inside")>=0,i=t.fill||"#000";P(t,e);var o=null==t.textFill;return r?o&&(t.textFill=n.insideFill||"#fff",!t.textStroke&&n.insideStroke&&(t.textStroke=n.insideStroke),t.textStroke||(t.textStroke=i),null==t.textStrokeWidth&&(t.textStrokeWidth=2)):(o&&(t.textFill=t.fill||n.outsideFill||"#000"),!t.textStroke&&n.outsideStroke&&(t.textStroke=n.outsideStroke)),t.text=e.text,t.rich=e.rich,(0,h.each)(e.rich,function(t){P(t,t)}),t}function P(t,e){e&&((0,h.hasOwn)(e,"fill")&&(t.textFill=e.fill),(0,h.hasOwn)(e,"stroke")&&(t.textStroke=e.fill),(0,h.hasOwn)(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),(0,h.hasOwn)(e,"font")&&(t.font=e.font),(0,h.hasOwn)(e,"fontStyle")&&(t.fontStyle=e.fontStyle),(0,h.hasOwn)(e,"fontWeight")&&(t.fontWeight=e.fontWeight),(0,h.hasOwn)(e,"fontSize")&&(t.fontSize=e.fontSize),(0,h.hasOwn)(e,"fontFamily")&&(t.fontFamily=e.fontFamily),(0,h.hasOwn)(e,"align")&&(t.textAlign=e.align),(0,h.hasOwn)(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),(0,h.hasOwn)(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),(0,h.hasOwn)(e,"width")&&(t.textWidth=e.width),(0,h.hasOwn)(e,"height")&&(t.textHeight=e.height),(0,h.hasOwn)(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),(0,h.hasOwn)(e,"padding")&&(t.textPadding=e.padding),(0,h.hasOwn)(e,"borderColor")&&(t.textBorderColor=e.borderColor),(0,h.hasOwn)(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),(0,h.hasOwn)(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),(0,h.hasOwn)(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),(0,h.hasOwn)(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),(0,h.hasOwn)(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),(0,h.hasOwn)(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),(0,h.hasOwn)(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),(0,h.hasOwn)(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),(0,h.hasOwn)(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),(0,h.hasOwn)(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var N=n(48635),B=n(5006),F=n(51076),j=n(92161),z={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},H=(0,h.keys)(z);(0,h.reduce)(j.Wx,function(t,e){return t[e]=1,t},{}),j.Wx.join(", ");var V=["","style","shape","extra"],U=(0,o.$r)();function W(t,e,n,r,i){var o=t+"Animation",a=(0,M.Jw)(t,r,i)||{},s=U(e).userDuring;return a.duration>0&&(a.during=s?(0,h.bind)($,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),(0,h.extend)(a,n[o]),a}function q(t,e,n,r){if(t){var i=t.parent,o=U(t).leaveToProps;if(o){var a=W("update",t,e,n,0);a.done=function(){i.remove(t),r&&r()},t.animateTo(o,a)}else i.remove(t),r&&r()}}function G(t){return"all"===t}var Z={},Y={setTransform:function(t,e){return Z.el[t]=e,this},getTransform:function(t){return Z.el[t]},setShape:function(t,e){var n=Z.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=Z.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=Z.el,r=n.style;return r&&(r[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=Z.el.style;if(e)return e[t]},setExtra:function(t,e){return(Z.el.extra||(Z.el.extra={}))[t]=e,this},getExtra:function(t){var e=Z.el.extra;if(e)return e[t]}};function $(){var t=this.el;if(t){var e=U(t).userDuring,n=this.userDuring;if(e!==n){this.el=this.userDuring=null;return}Z.el=t,n(Y)}}function X(t,e,n,r){var i,a=n[t];if(a){var s=e[t];if(s){var l=n.transition,u=a.transition;if(u)if(i||(i=r[t]={}),G(u))(0,h.extend)(i,s);else for(var c=(0,o.qB)(u),f=0;f<c.length;f++){var d=c[f],p=s[d];i[d]=p}else if(G(l)||(0,h.indexOf)(l,t)>=0){i||(i=r[t]={});for(var g=(0,h.keys)(s),f=0;f<g.length;f++){var y,v,d=g[f],p=s[d];y=a[d],v=p,((0,h.isArrayLike)(y)?y!==v:null!=y&&isFinite(y))&&(i[d]=p)}}}}}function K(t,e,n){var r=e[t];if(r)for(var i=n[t]={},o=(0,h.keys)(r),a=0;a<o.length;a++){var s=o[a];i[s]=(0,F.F)(r[s])}}var J=(0,o.$r)(),Q=["percent","easing","shape","style","extra"],tt="emphasis",te="normal",tn="blur",tr="select",ti=[te,tt,tn,tr],to={normal:["itemStyle"],emphasis:[tt,"itemStyle"],blur:[tn,"itemStyle"],select:[tr,"itemStyle"]},ta={normal:["label"],emphasis:[tt,"label"],blur:[tn,"label"],select:[tr,"label"]},ts=["x","y"],tl={normal:{},emphasis:{},blur:{},select:{}},tu={cartesian2d:function(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:h.bind(C,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:h.bind(O,t)}}},single:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:(0,h.bind)(I,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),r=e.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:function(r){var i=e.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=t.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a},size:h.bind(E,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function tc(t){return t instanceof f.Ay}function th(t){return t instanceof D.Ay}var tf=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n,r){this._progressiveEls=null;var i=this._data,o=t.getData(),a=this.group,s=ty(t,o,e,n);i||a.removeAll(),o.diff(i).add(function(e){tv(n,null,e,s(e,r),t,a,o)}).remove(function(e){var n=i.getItemGraphicEl(e);n&&q(n,u(n).option,t)}).update(function(e,l){tv(n,i.getItemGraphicEl(l),e,s(e,r),t,a,o)}).execute();var l=t.get("clip",!0)?function(t,e,n,r,i){if(t){if("polar"===t.type){var o,a,s,l;return o=t.getArea(),a=(0,T.LI)(o.r0,1),s=(0,T.LI)(o.r,1),l=new k.A({shape:{cx:(0,T.LI)(t.cx,1),cy:(0,T.LI)(t.cy,1),r0:a,r:s,startAngle:o.startAngle,endAngle:o.endAngle,clockwise:o.clockwise}}),e&&("angle"===t.getBaseAxis().dim?l.shape.endAngle=o.startAngle:l.shape.r=a,M.LW(l,{shape:{endAngle:o.endAngle,r:s}},n)),l}else if("cartesian2d"===t.type)return function(t,e,n,r,i){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,c=n.get(["lineStyle","width"])||0;a-=c/2,s-=c/2,l+=c,u+=c,l=Math.ceil(l),a!==Math.floor(a)&&(a=Math.floor(a),l++);var f=new A.A({shape:{x:a,y:s,width:l,height:u}});if(e){var d=t.getBaseAxis(),p=d.isHorizontal(),g=d.inverse;p?(g&&(f.shape.x+=l),f.shape.width=0):(g||(f.shape.y+=u),f.shape.height=0);var y=(0,h.isFunction)(i)?function(t){i(t,f)}:null;M.LW(f,{shape:{width:l,height:u,x:a,y:s}},n,null,r,y)}return f}(t,e,n,void 0,void 0)}return null}(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,r,i){var o=e.getData(),a=ty(e,o,n,r),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=tv(null,null,u,a(u,i),e,this.group,o);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){d.traverseElements(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,r){var i=e.element;if(null==i||n.name===i)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===i)return!0;return!1},e.type="custom",e}(S.A);function td(t){var e,n=t.type;if("path"===n){var r=t.shape,i=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,o=tk(r);u(e=d.makePath(o,null,i,r.layout||"center")).customPathData=o}else if("image"===n)u(e=new p.Ay({})).customImagePath=t.style.image;else if("text"===n)e=new g.Ay({});else if("group"===n)e=new y.A;else if("compoundPath"===n)throw Error('"compoundPath" is not supported yet.');else{var a=d.getShapeClass(n);a||(0,N.$8)(""),e=new a}return u(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function tp(t,e,n,r,i,a,s){e.stopAnimation("keyframe"),e.attr(J(e));var l=i&&i.normal.cfg;l&&e.setTextConfig(l),r&&null==r.transition&&(r.transition=ts);var u=r&&r.style;if(u){"text"===e.type&&((0,h.hasOwn)(u,"textFill")&&(u.fill=u.textFill),(0,h.hasOwn)(u,"textStroke")&&(u.stroke=u.textStroke));var c=void 0,d=tc(e)?u.decal:null;t&&d&&(d.dirty=!0,c=(0,B.w)(d,t)),u.__decalPattern=c}if(th(e)&&u){var c=u.__decalPattern;c&&(u.decal=c)}!function(t,e,n,r){var i,a,s=(r=r||{}).dataIndex,l=r.isInit,u=r.clearStyle,c=n.isAnimationEnabled(),d=U(t),p=e.style;d.userDuring=e.during;var g={},y={};if(function(t,e,n){for(var r=0;r<H.length;r++){var i=H[r],o=z[i],a=e[i];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(var r=0;r<j.Wx.length;r++){var s=j.Wx[r];null!=e[s]&&(n[s]=e[s])}}(0,e,y),K("shape",e,y),K("extra",e,y),!l&&c&&(function(t,e,n){for(var r=e.transition,i=G(r)?j.Wx:(0,o.qB)(r||[]),a=0;a<i.length;a++){var s=i[a];if("style"!==s&&"shape"!==s&&"extra"!==s){var l=t[s];n[s]=l}}}(t,e,g),X("shape",t,e,g),X("extra",t,e,g),function(t,e,n,r){if(n){var i,a=t.style;if(a){var s=n.transition,l=e.transition;if(s&&!G(s)){var u=(0,o.qB)(s);i||(i=r.style={});for(var c=0;c<u.length;c++){var f=u[c],d=a[f];i[f]=d}}else if(t.getAnimationStyleProps&&(G(l)||G(s)||(0,h.indexOf)(l,"style")>=0)){var p=t.getAnimationStyleProps(),g=p?p.style:null;if(g){i||(i=r.style={});for(var y=(0,h.keys)(n),c=0;c<y.length;c++){var f=y[c];if(g[f]){var d=a[f];i[f]=d}}}}}}}(t,e,p,g)),y.style=p,function(t,e,n){var r=e.style;if(!t.isGroup&&r){if(n){t.useStyle({});for(var i=t.animators,o=0;o<i.length;o++){var a=i[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(r)}e&&(e.style=null,e&&t.attr(e),e.style=r)}(t,y,u),i=t,a=e,(0,h.hasOwn)(a,"silent")&&(i.silent=a.silent),(0,h.hasOwn)(a,"ignore")&&(i.ignore=a.ignore),i instanceof D.Ay&&(0,h.hasOwn)(a,"invisible")&&(i.invisible=a.invisible),i instanceof f.Ay&&(0,h.hasOwn)(a,"autoBatch")&&(i.autoBatch=a.autoBatch),c)if(l){var v={};(0,h.each)(V,function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(v[t]=v[t]||{}),(0,h.extend)(t?v[t]:v,n.enterFrom))});var m=W("enter",t,e,n,s);m.duration>0&&t.animateFrom(v,m)}else{var _=t,b=e,x=s||0,w=n,S=g;if(S){var A=W("update",_,b,w,x);A.duration>0&&_.animateFrom(S,A)}}(function(t,e){for(var n=U(t).leaveToProps,r=0;r<V.length;r++){var i=V[r],o=i?e[i]:e;o&&o.leaveTo&&(n||(n=U(t).leaveToProps={}),i&&(n[i]=n[i]||{}),(0,h.extend)(i?n[i]:n,o.leaveTo))}})(t,e),p?t.dirty():t.markRedraw()}(e,r,a,{dataIndex:n,isInit:s,clearStyle:!0}),function t(e,n,r){if(r.isAnimationEnabled()&&n){if((0,h.isArray)(n))return void(0,h.each)(n,function(n){t(e,n,r)});var i=n.keyframes,o=n.duration;if(r&&null==o){var a=(0,M.Jw)("enter",r,0);o=a&&a.duration}if(i&&o){var s=J(e);(0,h.each)(V,function(t){var r;t&&!e[t]||(i.sort(function(t,e){return t.percent-e.percent}),(0,h.each)(i,function(i){var a=e.animators,l=t?i[t]:i;if(l){var u=(0,h.keys)(l);if(t||(u=(0,h.filter)(u,function(t){return 0>(0,h.indexOf)(Q,t)})),u.length){r||((r=e.animate(t,n.loop,!0)).scope="keyframe");for(var c=0;c<a.length;c++)a[c]!==r&&a[c].targetName===r.targetName&&a[c].stopTracks(u);t&&(s[t]=s[t]||{});var f=t?s[t]:s;(0,h.each)(u,function(n){f[n]=((t?e[t]:e)||{})[n]}),r.whenWithKeys(o*i.percent,l,u,i.easing)}}}),r&&r.delay(n.delay||0).duration(o).start(n.easing))})}}}(e,r.keyframeAnimation,a)}function tg(t,e,n,r,i){var o=e.isGroup?null:e,a=i&&i[t].cfg;if(o){var s=o.ensureState(t);if(!1===r){var l=o.getState(t);l&&(l.style=null)}else s.style=r||null;a&&(s.textConfig=a),(0,v.DW)(o)}}function ty(t,e,n,r){var i,o,a,u,c=t.get("renderItem"),f=t.coordinateSystem,d={};f&&(d=f.prepareCustoms?f.prepareCustoms(f):tu[f.type](f));for(var p=(0,h.defaults)({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:function(t,n){return null==n&&(n=a),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,r){null==r&&(r=a);var i=e.getItemVisual(r,"style"),o=i&&i.fill,s=i&&i.opacity,l=k(r,te).getItemStyle();null!=o&&(l.fill=o),null!=s&&(l.opacity=s);var u={inheritColor:(0,h.isString)(o)?o:"#000"},c=T(r,te),f=m.VB(c,null,u,!1,!0);f.text=c.getShallow("show")?(0,h.retrieve2)(t.getFormattedLabel(r,te),b(e,r)):null;var d=m.sD(c,u,!1);return O(n,l),l=L(l,f,d),n&&C(l,n),l.legacy=!0,l},ordinalRawValue:function(t,n){null==n&&(n=a),t=t||0;var r=e.getDimensionInfo(t);if(!r){var i=e.getDimensionIndex(t);return i>=0?e.getStore().get(i,n):void 0}var o=e.get(r.name,n),s=r&&r.ordinalMeta;return s?s.categories[o]:o},styleEmphasis:function(n,r){null==r&&(r=a);var i=k(r,tt).getItemStyle(),o=T(r,tt),s=m.VB(o,null,null,!0,!0);s.text=o.getShallow("show")?(0,h.retrieve3)(t.getFormattedLabel(r,tt),t.getFormattedLabel(r,te),b(e,r)):null;var l=m.sD(o,null,!0);return O(n,i),i=L(i,s,l),n&&C(i,n),i.legacy=!0,i},visual:function(t,n){if(null==n&&(n=a),(0,h.hasOwn)(s,t)){var r=e.getItemVisual(n,"style");return r?r[s[t]]:null}if((0,h.hasOwn)(l,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===f.type){var e=f.getBaseAxis();return(0,x.DL)((0,h.defaults)({axis:e},t))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return m.c8(t,n)}},d.api||{}),g={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:d.coordSys,dataInsideLength:e.count(),encode:(i=t.getData(),o={},(0,h.each)(i.dimensions,function(t){var e=i.getDimensionInfo(t);if(!e.isExtraCoord){var n=e.coordDim;(o[n]=o[n]||[])[e.coordDimIndex]=i.getDimensionIndex(t)}}),o)},y={},v={},_={},w={},S=0;S<ti.length;S++){var A=ti[S];_[A]=t.getModel(to[A]),w[A]=t.getModel(ta[A])}function M(t){return t===a?u||(u=e.getItemModel(t)):e.getItemModel(t)}function k(t,n){return e.hasItemOption?t===a?y[n]||(y[n]=M(t).getModel(to[n])):M(t).getModel(to[n]):_[n]}function T(t,n){return e.hasItemOption?t===a?v[n]||(v[n]=M(t).getModel(ta[n])):M(t).getModel(ta[n]):w[n]}return function(t,n){return a=t,u=null,y={},v={},c&&c((0,h.defaults)({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},g),p)};function C(t,e){for(var n in e)(0,h.hasOwn)(e,n)&&(t[n]=e[n])}function O(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function tv(t,e,n,r,i,o,a){if(!r)return void o.remove(e);var s=tm(t,e,n,r,i,o);return s&&a.setItemGraphicEl(n,s),s&&(0,v.Lm)(s,r.focus,r.blurScope,r.emphasisDisabled),s}function tm(t,e,n,r,i,o){var a,s=-1,l=e;e&&t_(e,r,i)&&(s=(0,h.indexOf)(o.childrenRef(),e),e=null);var c=!e,f=e;f?f.clearStates():(f=td(r),l&&((a=f).copyTransform(l),th(a)&&th(l)&&(a.setStyle(l.style),a.z=l.z,a.z2=l.z2,a.zlevel=l.zlevel,a.invisible=l.invisible,a.ignore=l.ignore,tc(a)&&tc(l)&&a.setShape(l.shape)))),!1===r.morph?f.disableMorphing=!0:f.disableMorphing&&(f.disableMorphing=!1),tl.normal.cfg=tl.normal.conOpt=tl.emphasis.cfg=tl.emphasis.conOpt=tl.blur.cfg=tl.blur.conOpt=tl.select.cfg=tl.select.conOpt=null,tl.isLegacy=!1,function(t,e,n,r,i,o){if(!t.isGroup){tb(n,null,o),tb(n,tt,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=t.getTextContent();if(!1===a)c&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=td(a),t.setTextContent(c)),tp(null,c,e,a,null,r,i);for(var h=a&&a.style,f=0;f<ti.length;f++){var d=ti[f];if(d!==te){var p=o[d].conOpt;tg(d,c,p,tw(a,p,d),null)}}h?c.dirty():c.markRedraw()}}}}(f,n,r,i,c,tl),function(t,e,n,r,i){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&t_(a,o,r)&&(a=null),a||(a=td(o),t.setClipPath(a)),tp(null,a,e,o,null,r,i)}}(f,n,r,i,c),tp(t,f,n,r,tl,i,c),(0,h.hasOwn)(r,"info")&&(u(f).info=r.info);for(var d=0;d<ti.length;d++){var p=ti[d];if(p!==te){var g=tx(r,p),y=tw(r,g,p);tg(p,f,g,y,tl)}}var v=f;if(!v.isGroup){var m=i.currentZ,_=i.currentZLevel;v.z=m,v.zlevel=_;var b=r.z2;null!=b&&(v.z2=b||0);for(var x=0;x<ti.length;x++)!function(t,e,n){var r=n===te,i=r?e:tx(e,n),o=i?i.z2:null;null!=o&&((r?t:t.ensureState(n)).z2=o||0)}(v,r,ti[x])}return"group"===r.type&&function(t,e,n,r,i){var o=r.children,a=o?o.length:0,s=r.$mergeChildren,l="byName"===s||r.diffChildrenByName,c=!1===s;if(a||l||c){if(l){return g={api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:i,group:e},new w.A(g.oldChildren,g.newChildren,tS,tS,g).add(tA).update(tA).remove(tM).execute()}c&&e.removeAll();for(var h=0;h<a;h++){var f=o[h],d=e.childAt(h);f?(null==f.ignore&&(f.ignore=!1),tm(t,d,n,f,i,e)):d.ignore=!0}for(var p=e.childCount()-1;p>=h;p--){var g,y,v,m,_=e.childAt(p);y=e,v=_,m=i,v&&q(v,u(y).option,m)}}}(t,f,n,r,i),s>=0?o.replaceAt(f,s):o.add(f),f}function t_(t,e,n){var r,i=u(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==i.customGraphicType||"path"===o&&(r=a)&&((0,h.hasOwn)(r,"pathData")||(0,h.hasOwn)(r,"d"))&&tk(a)!==i.customPathData||"image"===o&&(0,h.hasOwn)(s,"image")&&s.image!==i.customImagePath}function tb(t,e,n){var r,i,o=e?tx(t,e):t,a=e?tw(t,o,tt):t.style,s=t.type,l=o?o.textConfig:null,u=t.textContent,c=u?e?tx(u,e):u:null;if(a&&(n.isLegacy||(r=!!l,i=!!c,a&&(a.legacy||!1!==a.legacy&&!r&&!i&&"tspan"!==s&&("text"===s||(0,h.hasOwn)(a,"text")))))){n.isLegacy=!0;var f=function(t,e,n){var r,i,o;if("text"===e)o=t;else{o={},(0,h.hasOwn)(t,"text")&&(o.text=t.text),(0,h.hasOwn)(t,"rich")&&(o.rich=t.rich),(0,h.hasOwn)(t,"textFill")&&(o.fill=t.textFill),(0,h.hasOwn)(t,"textStroke")&&(o.stroke=t.textStroke),(0,h.hasOwn)(t,"fontFamily")&&(o.fontFamily=t.fontFamily),(0,h.hasOwn)(t,"fontSize")&&(o.fontSize=t.fontSize),(0,h.hasOwn)(t,"fontStyle")&&(o.fontStyle=t.fontStyle),(0,h.hasOwn)(t,"fontWeight")&&(o.fontWeight=t.fontWeight),i={type:"text",style:o,silent:!0},r={};var a=(0,h.hasOwn)(t,"textPosition");n?r.position=a?t.textPosition:"inside":a&&(r.position=t.textPosition),(0,h.hasOwn)(t,"textPosition")&&(r.position=t.textPosition),(0,h.hasOwn)(t,"textOffset")&&(r.offset=t.textOffset),(0,h.hasOwn)(t,"textRotation")&&(r.rotation=t.textRotation),(0,h.hasOwn)(t,"textDistance")&&(r.distance=t.textDistance)}return R(o,t),(0,h.each)(o.rich,function(t){R(t,t)}),{textConfig:r,textContent:i}}(a,s,!e);!l&&f.textConfig&&(l=f.textConfig),!c&&f.textContent&&(c=f.textContent)}if(!e&&c){var d=c;d.type||(d.type="text")}var p=e?n[e]:n.normal;p.cfg=l,p.conOpt=c}function tx(t,e){return e?t?t[e]:null:t}function tw(t,e,n){var r=e&&e.style;return null==r&&n===tt&&t&&(r=t.styleEmphasis),r}function tS(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function tA(t,e){var n=this.context,r=null!=t?n.newChildren[t]:null,i=null!=e?n.oldChildren[e]:null;tm(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function tM(t){var e=this.context,n=e.oldChildren[t];n&&q(n,u(n).option,e.seriesModel)}function tk(t){return t&&(t.pathData||t.d)}function tT(t){t.registerChartView(tf),t.registerSeriesModel(c)}},50494:function(t,e,n){"use strict";n.d(e,{A:()=>y});var r=n(12417),i=n(42592),o=n(71653),a=n(34022),s=n(47632),l=n(10679),u=function(t){this.coordSysDims=[],this.axisMap=(0,r.createHashMap)(),this.categoryAxisMap=(0,r.createHashMap)(),this.coordSysName=t},c={cartesian2d:function(t,e,n,r){var i=t.getReferringComponents("xAxis",s.US).models[0],o=t.getReferringComponents("yAxis",s.US).models[0];e.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),h(i)&&(r.set("x",i),e.firstCategoryDimIndex=0),h(o)&&(r.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,r){var i=t.getReferringComponents("singleAxis",s.US).models[0];e.coordSysDims=["single"],n.set("single",i),h(i)&&(r.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var i=t.getReferringComponents("polar",s.US).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),h(o)&&(r.set("radius",o),e.firstCategoryDimIndex=0),h(a)&&(r.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,r.each)(a.parallelAxisIndex,function(t,r){var a=o.getComponent("parallelAxis",t),l=s[r];n.set(l,a),h(a)&&(i.set(l,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=r))})}};function h(t){return"category"===t.get("type")}var f=n(20860),d=n(89686),p=n(70589),g=n(84732);let y=function(t,e,n){n=n||{};var h,y,v,m,_,b,x,w,S=e.getSourceManager(),A=!1;t?(A=!0,w=(0,f.AF)(t)):A=(w=S.getSource()).sourceFormat===g.mK;var M=function(t){var e=t.get("coordinateSystem"),n=new u(e),r=c[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}(e),k=(y=e.get("coordinateSystem"),v=l.A.get(y),M&&M.coordSysDims&&(h=r.map(M.coordSysDims,function(t){var e={name:t},n=M.axisMap.get(t);if(n){var r=n.get("type");e.type=(0,a.B)(r)}return e})),h||(h=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v.dimensions.slice())||["x","y"]),h),T=n.useEncodeDefaulter,C=r.isFunction(T)?T:T?r.curry(p.OC,k,e):null,O={coordDimensions:k,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:C,canOmitUnusedDimensions:!A},I=(0,o.A)(w,O),E=(m=I.dimensions,_=n.createInvertedIndices,M&&r.each(m,function(t,e){var n=t.coordDim,r=M.categoryAxisMap.get(n);r&&(null==b&&(b=e),t.ordinalMeta=r.getOrdinalMeta(),_&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(x=!0)}),x||null==b||(m[b].otherDims.itemName=0),b),D=A?null:S.getSharedDataStore(I),R=(0,d.iJ)(e,{schema:I,store:D}),L=new i.A(I,e);L.setCalculationInfo(R);var P=null!=E&&function(t){if(t.sourceFormat===g.mK){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!r.isArray((0,s.vj)(e))}}(w)?function(t,e,n,r){return r===E?n:this.defaultDimValueGetter(t,e,n,r)}:null;return L.hasItemOption=!1,L.initData(A?w:D,null,P),L}},44184:function(t,e,n){"use strict";n.d(e,{a:()=>tN});var r=n(12417);function i(t,e,n){if(t&&r.indexOf(e,t.type)>=0){var i=n.getData().tree.root,o=t.targetNode;if(r.isString(o)&&(o=i.getNodeById(o)),o&&i.contains(o))return{node:o};var a=t.targetNodeId;if(null!=a&&(o=i.getNodeById(a)))return{node:o}}}function o(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function a(t,e){var n=o(t);return r.indexOf(n,e)>=0}function s(t,e){for(var n=[];t;){var r=t.dataIndex;n.push({name:t.name,dataIndex:r,value:e.getRawValue(r)}),t=t.parentNode}return n.reverse(),n}var l=["treemapZoomToNode","treemapRender","treemapMove"],u=n(367),c=n(10826),h=n(47632),f=(0,h.$r)();function d(t,e){var n;if(n=this,f(n).mainData===n){var i=(0,r.extend)({},f(this).datas);i[this.dataType]=e,m(e,i,t)}else _(e,this.dataType,f(this).mainData,t);return e}function p(t,e){return t.struct&&t.struct.update(),e}function g(t,e){return(0,r.each)(f(e).datas,function(n,r){n!==e&&_(n.cloneShallow(),r,e,t)}),e}function y(t){var e=f(this).mainData;return null==t||null==e?e:f(e).datas[t]}function v(){var t=f(this).mainData;return null==t?[{data:t}]:(0,r.map)((0,r.keys)(f(t).datas),function(e){return{type:e,data:f(t).datas[e]}})}function m(t,e,n){f(t).datas={},(0,r.each)(e,function(e,r){_(e,r,t,n)})}function _(t,e,n,r){f(n).datas[e]=t,f(t).mainData=n,t.dataType=e,r.struct&&(t[r.structAttr]=r.struct,r.struct[r.datasAttr[e]]=t),t.getLinkedData=y,t.getLinkedDataAll=v}let b=function(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,m(e,n,t),(0,r.each)(n,function(n){(0,r.each)(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,(0,r.curry)(d,t))})}),e.wrapMethod("cloneShallow",(0,r.curry)(g,t)),(0,r.each)(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,(0,r.curry)(p,t))}),(0,r.assert)(n[e.dataType]===e)};var x=n(42592),w=n(71653),S=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){r.isFunction(t)&&(n=e,e=t,t=null),t=t||{},r.isString(t)&&(t={order:t});var i,o=t.order||"preorder",a=this[t.attr||"children"];"preorder"===o&&(i=e.call(n,this));for(var s=0;!i&&s<a.length;s++)a[s].eachNode(t,e,n);"postorder"===o&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var r=this.children[n];r.updateDepthAndHeight(t+1),r.height>e&&(e=r.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,r=n.length;e<r;e++){var i=n[e].getNodeById(t);if(i)return i}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,r=n.length;e<r;e++){var i=n[e].contains(t);if(i)return i}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode(function(e){t.push(e.dataIndex)}),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e}return -1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),A=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,r=e.length;n<r;n++)e[n].dataIndex=-1;for(var n=0,r=t.count();n<r;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,i){var o=new t(n),a=[],s=1;!function t(e,n){var i,l,u,c=e.value;s=Math.max(s,r.isArray(c)?c.length:1),a.push(e);var f=new S((0,h.vS)(e.name,""),o);n?(i=f,u=(l=n).children,i.parentNode!==l&&(u.push(i),i.parentNode=l)):o.root=f,o._nodes.push(f);var d=e.children;if(d)for(var p=0;p<d.length;p++)t(d[p],f)}(e),o.root.updateDepthAndHeight(0);var l=(0,w.A)(a,{coordDimensions:["value"],dimensionsCount:s}).dimensions,u=new x.A(l,n);return u.initData(a),i&&i(u),b({mainData:u,struct:o,structAttr:"tree"}),o.update(),o},t}(),M=n(43116),k=n(5231),T=n(70887),C=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return(0,u.C6)(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};!function t(e){var n=0;r.each(e.children,function(e){t(e);var i=e.value;r.isArray(i)&&(i=i[0]),n+=i});var i=e.value;r.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=n),i<0&&(i=0),r.isArray(e.value)?e.value[0]=i:e.value=i}(n);var i=t.levels||[],o=this.designatedVisualItemStyle={},a=new M.A({itemStyle:o},this,e);i=t.levels=function(t,e){var n,i,o=(0,h.qB)(e.get("color")),a=(0,h.qB)(e.get(["aria","decal","decals"]));if(o){t=t||[],r.each(t,function(t){var e=new M.A(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)});var s=t[0]||(t[0]={});return n||(s.color=o.slice()),!i&&a&&(s.decal=a.slice()),t}}(i,e);var s=r.map(i||[],function(t){return new M.A(t,a,e)},this),l=A.createTree(n,this,function(t){t.wrapMethod("getItemModel",function(t,e){var n=l.getNodeByDataIndex(e);return t.parentModel=(n?s[n.depth]:null)||a,t})});return l.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var r=this.getData(),i=this.getRawValue(t),o=r.getName(t);return(0,k.Qx)("nameValue",{name:o,value:i})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments);return n.treeAncestors=s(this.getData().tree.getNodeByDataIndex(e),this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},r.extend(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=r.createHashMap(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){var t,e,n;t=this,e=t.getData().tree,n={},e.eachNode(function(e){for(var r=e;r&&r.depth>1;)r=r.parentNode;var i=(0,T.x)(t.ecModel,r.name||r.dataIndex+"",n);e.setVisual("decal",i)})},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,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)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(c.A),O=n(96001),I=n(99618),E=n(44988),D=n(55479),R=n(86173),L=n(34146),P=n(32031),N=n(76359),B=n(51422),F=function(){function t(t){this.group=new O.A,t.add(this.group)}return t.prototype.render=function(t,e,n,r){var i=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),i.get("show")&&n){var a=i.getModel("itemStyle"),s=i.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,l),this._renderContent(t,c,a,s,l,u,r),N.m$(o,c.pos,c.box)}},t.prototype._prepare=function(t,e,n){for(var r=t;r;r=r.parentNode){var i=(0,h.vS)(r.getModel().get("name"),""),o=Math.max(n.getTextRect(i).width+16,e.emptyItemWidth);e.totalWidth+=o+8,e.renderList.push({node:r,text:i,width:o})}},t.prototype._renderContent=function(t,e,n,i,o,a,l){for(var u=0,c=e.emptyItemWidth,h=t.get(["breadcrumb","height"]),f=N.HU(e.pos,e.box),d=e.totalWidth,p=e.renderList,g=i.getModel("itemStyle").getItemStyle(),y=p.length-1;y>=0;y--){var v,m,_,b=p[y],x=b.node,w=b.width,S=b.text;d>f.width&&(d-=w-c,w=c,S=null);var A=new L.A({shape:{points:function(t,e,n,r,i,o){var a=[[i?t:t-5,0],[t+n,0],[t+n,0+r],[i?t:t-5,0+r]];return o||a.splice(2,0,[t+n+5,0+r/2]),i||a.push([t,0+r/2]),a}(u,0,w,h,y===p.length-1,0===y)},style:(0,r.defaults)(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new P.Ay({style:(0,B.VB)(o,{text:S})}),textConfig:{position:"inside"},z2:1e4*D.CA,onclick:(0,r.curry)(l,x)});A.disableLabelAnimation=!0,A.getTextContent().ensureState("emphasis").style=(0,B.VB)(a,{text:S}),A.ensureState("emphasis").style=g,(0,D.Lm)(A,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(A),v=A,m=t,_=x,(0,E.z)(v).eventData={componentType:"series",componentSubType:"treemap",componentIndex:m.componentIndex,seriesIndex:m.seriesIndex,seriesName:m.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:_&&_.dataIndex,name:_&&_.name},treePathInfo:_&&s(_,m)},u+=w+8}},t.prototype.remove=function(){this.group.removeAll()},t}(),j=n(80443),z=n(10923),H=n(85124),V=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,r,i){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:r,easing:i}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},r=0,i=this._storage.length;r<i;r++){var o=this._storage[r];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},t}(),U=n(92750),W=n(6091),q=n(18144),G=n(3662),Z=O.A,Y=I.A,$="label",X="upperLabel",K=10*D.CA,J=2*D.CA,Q=3*D.CA,tt=(0,U.A)([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),te=function(t){var e=tt(t);return e.stroke=e.fill=e.lineWidth=null,e},tn=(0,h.$r)(),tr=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage=ti(),n}return(0,u.C6)(e,t),e.prototype.render=function(t,e,n,o){var a=e.findComponents({mainType:"series",subType:"treemap",query:o});if(!(0>(0,r.indexOf)(a,t))){this.seriesModel=t,this.api=n,this.ecModel=e;var s=i(o,["treemapZoomToNode","treemapRootToNode"],t),l=o&&o.type,u=t.layoutInfo,c=!this._oldTree,h=this._storage,f="treemapRootToNode"===l&&s&&h?{rootNodeGroup:h.nodeGroup[s.node.getRawIndex()],direction:o.direction}:null,d=this._giveContainerGroup(u),p=t.get("animation"),g=this._doRender(d,t,f);!p||c||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?g.renderFinally():this._doAnimation(d,g,t,f),this._resetController(n),this._renderBreadcrumb(t,n,s)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new Z,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var i,o,a=e.getData().tree,s=this._oldTree,l=ti(),u=ti(),c=this._storage,f=[];!function t(i,o,a,s,d){function p(t){return t.getId()}function g(p,g){var y=null!=p?i[p]:null,v=null!=g?o[g]:null,m=function(t,e,n,i,o,a,s,l,u,c){if(s){var f=s.getLayout(),d=t.getData(),p=s.getModel();if(d.setItemGraphicEl(s.dataIndex,null),f&&f.isInView){var g=f.width,y=f.height,v=f.borderWidth,m=f.invisible,_=s.getRawIndex(),b=l&&l.getRawIndex(),x=s.viewChildren,w=f.upperHeight,S=x&&x.length,A=p.getModel("itemStyle"),M=p.getModel(["emphasis","itemStyle"]),k=p.getModel(["blur","itemStyle"]),T=p.getModel(["select","itemStyle"]),C=A.get("borderRadius")||0,I=G("nodeGroup",Z);if(I){if(u.add(I),I.x=f.x||0,I.y=f.y||0,I.markRedraw(),tn(I).nodeWidth=g,tn(I).nodeHeight=y,f.isAboveViewRoot)return I;var R=G("background",Y,c,J);R&&function(e,n,r){var i=(0,E.z)(n);if(i.dataIndex=s.dataIndex,i.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:g,height:y,r:C}),m)V(n);else{n.invisible=!1;var o=s.getVisual("style"),a=o.stroke,l=te(A);l.fill=a;var u=tt(M);u.fill=M.get("borderColor");var c=tt(k);c.fill=k.get("borderColor");var h=tt(T);if(h.fill=T.get("borderColor"),r){var f=g-2*v;U(n,a,o.opacity,{x:v,y:0,width:f,height:w})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=h,(0,D.DW)(n)}e.add(n)}(I,R,S&&f.upperLabelHeight);var L=p.getModel("emphasis"),P=L.get("focus"),N=L.get("blurScope"),F=L.get("disabled"),j="ancestor"===P?s.getAncestorsIndices():"descendant"===P?s.getDescendantIndices():P;if(S)(0,D.u6)(I)&&(0,D.ix)(I,!1),R&&((0,D.ix)(R,!F),d.setItemGraphicEl(s.dataIndex,R),(0,D.gR)(R,j,N));else{var z=G("content",Y,c,Q);z&&function(e,n){var r=(0,E.z)(n);r.dataIndex=s.dataIndex,r.seriesIndex=t.seriesIndex;var i=Math.max(g-2*v,0),o=Math.max(y-2*v,0);if(n.culling=!0,n.setShape({x:v,y:v,width:i,height:o,r:C}),m)V(n);else{n.invisible=!1;var a=s.getVisual("style"),l=a.fill,u=te(A);u.fill=l,u.decal=a.decal;var c=tt(M),h=tt(k),f=tt(T);U(n,l,a.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=h,n.ensureState("select").style=f,(0,D.DW)(n)}e.add(n)}(I,z),R.disableMorphing=!0,R&&(0,D.u6)(R)&&(0,D.ix)(R,!1),(0,D.ix)(I,!F),d.setItemGraphicEl(s.dataIndex,I);var H=p.getShallow("cursor");H&&z.attr("cursor",H),(0,D.gR)(I,j,N)}return I}}}function V(t){t.invisible||a.push(t)}function U(e,n,i,o){var a=p.getModel(o?X:$),l=(0,h.vS)(p.get("name"),null),u=a.getShallow("show");(0,B.qM)(e,(0,B.lx)(p,o?X:$),{defaultText:u?l:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:s.dataIndex});var c=e.getTextContent();if(c){var d=c.style,g=(0,r.normalizeCssArray)(d.padding||0);o&&(e.setTextConfig({layoutRect:o}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var t=Math.max((o?o.width:e.shape.width)-g[1]-g[3],0),n=Math.max((o?o.height:e.shape.height)-g[0]-g[2],0);(d.width!==t||d.height!==n)&&c.setStyle({width:t,height:n})},d.truncateMinChar=2,d.lineOverflow="truncate",W(d,o,f);var y=c.getState("emphasis");W(y?y.style:null,o,f)}}function W(e,n,r){var i=e?e.text:null;if(!n&&r.isLeafRoot&&null!=i){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+i:i}}function G(t,a,l,u){var c,h,f,d=null!=b&&n[t][b],p=o[t];return d?(n[t][b]=null,c=p,h=d,f=c[_]={},h instanceof Z?(f.oldX=h.x,f.oldY=h.y):f.oldShape=(0,r.extend)({},h.shape)):m||((d=new a)instanceof q.Ay&&(d.z2=l*K+u),function(t,e){var n=t[_]={},r=s.parentNode,a=e instanceof O.A;if(r&&(!i||"drillDown"===i.direction)){var l=0,u=0,c=o.background[r.getRawIndex()];!i&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),a?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!a}(p,d)),e[t][_]=d}}(e,u,c,n,l,f,y,v,a,d);m&&t(y&&y.viewChildren||[],v&&v.viewChildren||[],m,s,d+1)}s?(o=i,(0,r.each)(i,function(t,e){t.isRemoved()||g(e,e)})):new R.A(o,i,p,p).add(g).update(g).remove((0,r.curry)(g,null)).execute()}(a.root?[a.root]:[],s&&s.root?[s.root]:[],t,a===s||!s,0);var d=(i=c,o=ti(),i&&(0,r.each)(i,function(t,e){var n=o[e];(0,r.each)(t,function(t){t&&(n.push(t),tn(t).willDelete=!0)})}),o);if(this._oldTree=a,this._storage=u,this._controllerHost){var p=this.seriesModel.layoutInfo,g=a.root.getLayout();g.width===p.width&&g.height===p.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:l,willDeleteEls:d,renderFinally:function(){(0,r.each)(d,function(t){(0,r.each)(t,function(t){t.parent&&t.parent.remove(t)})}),(0,r.each)(f,function(t){t.invisible=!0,t.dirty()})}}},e.prototype._doAnimation=function(t,e,n,i){var o=n.get("animationDurationUpdate"),a=n.get("animationEasing"),s=((0,r.isFunction)(o)?0:o)||0,l=((0,r.isFunction)(a)?null:a)||"cubicOut",u=new V;(0,r.each)(e.willDeleteEls,function(t,e){(0,r.each)(t,function(t,n){if(!t.invisible){var r,o=t.parent,a=tn(o);if(i&&"drillDown"===i.direction)r=o===i.rootNodeGroup?{shape:{x:0,y:0,width:a.nodeWidth,height:a.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,h=0;a.willDelete||(c=a.nodeWidth/2,h=a.nodeHeight/2),r="nodeGroup"===e?{x:c,y:h,style:{opacity:0}}:{shape:{x:c,y:h,width:0,height:0},style:{opacity:0}}}r&&u.add(t,r,s,0,l)}})}),(0,r.each)(this._storage,function(t,n){(0,r.each)(t,function(t,i){var o=e.lastsForAnimation[n][i],a={};o&&(t instanceof O.A?null!=o.oldX&&(a.x=t.x,a.y=t.y,t.x=o.oldX,t.y=o.oldY):(o.oldShape&&(a.shape=(0,r.extend)({},t.shape),t.setShape(o.oldShape)),o.fadein?(t.setStyle("opacity",0),a.style={opacity:1}):1!==t.style.opacity&&(a.style={opacity:1})),u.add(t,a,s,0,l))})},this),this._state="animating",u.finished((0,r.bind)(function(){this._state="ready",e.renderFinally()},this)).start()},e.prototype._resetController=function(t){var e=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost),e||((e=this._controller=new j.A(t.getZr())).enable(this.seriesModel.get("roam")),n.zoomLimit=this.seriesModel.get("scaleLimit"),n.zoom=this.seriesModel.get("zoom"),e.on("pan",(0,r.bind)(this._onPan,this)),e.on("zoom",(0,r.bind)(this._onZoom,this)));var i=new z.A(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,n){return i.contain(e,n)})},e.prototype._clearController=function(){var t=this._controller;this._controllerHost=null,t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(e){var n=e.getLayout();n&&this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,r=t.scale;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var a=new z.A(o.x,o.y,o.width,o.height),s=null,l=this._controllerHost;s=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=r,s){var c=s.min||0;u=Math.max(Math.min(s.max||1/0,u),c)}var h=u/l.zoom;l.zoom=u;var f=this.seriesModel.layoutInfo;e-=f.x,n-=f.y;var d=H.create();H.translate(d,d,[-e,-n]),H.scale(d,d,[h,h]),H.translate(d,d,[e,n]),a.applyTransform(d),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var r=e.findTarget(t.offsetX,t.offsetY);if(r){var i=r.node;if(i.getLayout().isLeafRoot)e._rootToNode(r);else if("zoomToNode"===n)e._zoomToNode(r);else if("link"===n){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&(0,G.JW)(a,s)}}}}},this)},e.prototype._renderBreadcrumb=function(t,e,n){var r=this;!n&&((n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new F(this.group))).render(t,e,n.node,function(e){"animating"!==r._state&&(a(t.getViewRoot(),e)?r._rootToNode({node:e}):r._zoomToNode({node:e}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=ti(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(t,e),a=i.shape;if(!(a.x<=o[0])||!(o[0]<=a.x+a.width)||!(a.y<=o[1])||!(o[1]<=a.y+a.height))return!1;n={node:r,offsetX:o[0],offsetY:o[1]}}},this),n},e.type="treemap",e}(W.A);function ti(){return{nodeGroup:[],background:[],content:[]}}var to=n(18439),ta=n(90016),ts=r.each,tl=r.isObject,tu=function(){function t(e){var n,i,o=e.mappingMethod,a=e.type,s=this.option=r.clone(e);this.type=a,this.mappingMethod=o,this._normalizeData=t_[o];var l=t.visualHandlers[a];this.applyVisual=l.applyVisual,this.getColorMapper=l.getColorMapper,this._normalizedToVisual=l._normalizedToVisual[o],"piecewise"===o?(tc(s),i=(n=s).pieceList,n.hasSpecialVisual=!1,r.each(i,function(t,e){t.originIndex=e,null!=t.visual&&(n.hasSpecialVisual=!0)})):"category"===o?s.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(ts(e,function(t,e){n[t]=e}),!r.isArray(i)){var o=[];r.isObject(i)?ts(i,function(t,e){var r=n[e];o[null!=r?r:-1]=t}):o[-1]=i,i=tm(t,o)}for(var a=e.length-1;a>=0;a--)null==i[a]&&(delete n[e[a]],e.pop())}(s):tc(s,!0):(r.assert("linear"!==o||s.dataExtent),tc(s))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return r.bind(this._normalizeData,this)},t.listVisualTypes=function(){return r.keys(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){r.isObject(t)?r.each(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var o,a=r.isArray(e)?[]:r.isObject(e)?{}:(o=!0,null);return t.eachVisual(e,function(t,e){var r=n.call(i,t,e);o?a=r:a[e]=r}),a},t.retrieveVisuals=function(e){var n,r={};return e&&ts(t.visualHandlers,function(t,i){e.hasOwnProperty(i)&&(r[i]=e[i],n=!0)}),n?r:null},t.prepareVisualTypes=function(t){if(r.isArray(t))t=t.slice();else{if(!tl(t))return[];var e=[];ts(t,function(t,n){e.push(n)}),t=e}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},t.dependsOn=function(t,e){return"color"===e?!!(t&&0===t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,o=1/0,a=0,s=e.length;a<s;a++){var l=e[a].value;if(null!=l){if(l===t||r.isString(l)&&l===t+"")return a;n&&A(l,a)}}for(var a=0,s=e.length;a<s;a++){var u,c,h,f,d,p,g,y,v,m,_,b,x=e[a],w=x.interval,S=x.close;if(w){if(w[0]===-1/0){if(u=S[1],c=t,h=w[1],u?c<=h:c<h)return a}else if(w[1]===1/0){if(f=S[0],d=w[0],p=t,f?d<=p:d<p)return a}else{if(g=S[0],y=w[0],v=t,(g?y<=v:y<v)&&(m=S[1],_=t,b=w[1],m?_<=b:_<b))return a}n&&A(w[0],a),n&&A(w[1],a)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function A(e,n){var r=Math.abs(e-t);r<o&&(o=r,i=n)}},t.visualHandlers={color:{applyVisual:td("color"),getColorMapper:function(){var t=this.option;return r.bind("category"===t.mappingMethod?function(t,e){return e||(t=this._normalizeData(t)),tp.call(this,t)}:function(e,n,r){var i=!!r;return n||(e=this._normalizeData(e)),r=to.fastLerp(e,t.parsedVisual,r),i?r:to.stringify(r,"rgba")},this)},_normalizedToVisual:{linear:function(t){return to.stringify(to.fastLerp(t,this.option.parsedVisual),"rgba")},category:tp,piecewise:function(t,e){var n=tv.call(this,e);return null==n&&(n=to.stringify(to.fastLerp(t,this.option.parsedVisual),"rgba")),n},fixed:tg}},colorHue:th(function(t,e){return to.modifyHSL(t,e)}),colorSaturation:th(function(t,e){return to.modifyHSL(t,null,e)}),colorLightness:th(function(t,e){return to.modifyHSL(t,null,null,e)}),colorAlpha:th(function(t,e){return to.modifyAlpha(t,e)}),decal:{applyVisual:td("decal"),_normalizedToVisual:{linear:null,category:tp,piecewise:null,fixed:null}},opacity:{applyVisual:td("opacity"),_normalizedToVisual:ty([0,1])},liftZ:{applyVisual:td("liftZ"),_normalizedToVisual:{linear:tg,category:tg,piecewise:tg,fixed:tg}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:tf,category:tp,piecewise:function(t,e){var n=tv.call(this,e);return null==n&&(n=tf.call(this,t)),n},fixed:tg}},symbolSize:{applyVisual:td("symbolSize"),_normalizedToVisual:ty([0,1])}},t}();function tc(t,e){var n=t.visual,i=[];r.isObject(n)?ts(n,function(t){i.push(t)}):null!=n&&i.push(n),e||1!==i.length||({color:1,symbol:1}).hasOwnProperty(t.type)||(i[1]=i[0]),tm(t,i)}function th(t){return{applyVisual:function(e,n,r){var i=this.mapValueToVisual(e);r("color",t(n("color"),i))},_normalizedToVisual:ty([0,1])}}function tf(t){var e=this.option.visual;return e[Math.round((0,ta.Cb)(t,[0,1],[0,e.length-1],!0))]||{}}function td(t){return function(e,n,r){r(t,this.mapValueToVisual(e))}}function tp(t){var e=this.option.visual;return e[this.option.loop&&-1!==t?t%e.length:t]}function tg(){return this.option.visual[0]}function ty(t){return{linear:function(e){return(0,ta.Cb)(e,t,this.option.visual,!0)},category:tp,piecewise:function(e,n){var r=tv.call(this,n);return null==r&&(r=(0,ta.Cb)(e,t,this.option.visual,!0)),r},fixed:tg}}function tv(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var r=tu.findPieceIndex(t,n),i=n[r];if(i&&i.visual)return i.visual[this.type]}}function tm(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=r.map(e,function(t){return to.parse(t)||[0,0,0,1]})),e}var t_={linear:function(t){return(0,ta.Cb)(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=tu.findPieceIndex(t,e,!0);if(null!=n)return(0,ta.Cb)(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?-1:e},fixed:r.noop},tb=(0,h.$r)();let tx={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||function t(e,n,i,o){var a=e.getModel(),s=e.getLayout(),l=e.hostTree.data;if(s&&!s.invisible&&s.isInView){var u,c,h,f,d,p,g,y=a.getModel("itemStyle"),v=(u=y,c=n,h=o,f=(0,r.extend)({},c),d=h.designatedVisualItemStyle,(0,r.each)(["color","colorAlpha","colorSaturation"],function(t){d[t]=c[t];var e=u.get(t);d[t]=null,null!=e&&(f[t]=e)}),f),m=l.ensureUniqueItemVisual(e.dataIndex,"style"),_=y.get("borderColor"),b=y.get("borderColorSaturation");null!=b&&(p=b,_=null!=(g=tw(v))?(0,to.modifyHSL)(g,null,null,p):null),m.stroke=_;var x=e.viewChildren;if(x&&x.length){var w=function(t,e,n,r,i,o){if(o&&o.length){var a=tA(e,"color")||null!=i.color&&"none"!==i.color&&(tA(e,"colorAlpha")||tA(e,"colorSaturation"));if(a){var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=e.get("colorMappingBy"),h={type:a.name,dataExtent:u,visual:a.range};"color"===h.type&&("index"===c||"id"===c)?(h.mappingMethod="category",h.loop=!0):h.mappingMethod="linear";var f=new tu(h);return tb(f).drColorMappingBy=c,f}}}(0,a,s,0,v,x);(0,r.each)(x,function(e,n){if(e.depth>=i.length||e===i[e.depth]){var s=function(t,e,n,i,o,a){var s=(0,r.extend)({},e);if(o){var l=o.type,u="color"===l&&tb(o).drColorMappingBy,c="index"===u?i:"id"===u?a.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));s[l]=o.mapValueToVisual(c)}return s}(a,v,e,n,w,o);t(e,s,i,o)}})}else m.fill=tw(v)}}(e,{},t.getViewRoot().getAncestors(),t)}};function tw(t){var e=tS(t,"color");if(e){var n=tS(t,"colorAlpha"),r=tS(t,"colorSaturation");return r&&(e=(0,to.modifyHSL)(e,null,null,r)),n&&(e=(0,to.modifyAlpha)(e,n)),e}}function tS(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function tA(t,e){var n=t.get(e);return(0,r.isArray)(n)&&n.length?{name:e,range:n}:null}var tM=Math.max,tk=Math.min,tT=r.retrieve,tC=r.each,tO=["itemStyle","borderWidth"],tI=["itemStyle","gapWidth"],tE=["upperLabel","show"],tD=["upperLabel","height"];let tR={seriesType:"treemap",reset:function(t,e,n,a){var s=n.getWidth(),l=n.getHeight(),u=t.option,c=N.dV(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),h=u.size||[],f=(0,ta.lo)(tT(c.width,h[0]),s),d=(0,ta.lo)(tT(c.height,h[1]),l),p=a&&a.type,g=i(a,["treemapZoomToNode","treemapRootToNode"],t),y="treemapRender"===p||"treemapMove"===p?a.rootRect:null,v=t.getViewRoot(),m=o(v);if("treemapMove"!==p){var _="treemapZoomToNode"===p?function(t,e,n,r,i){var o,a=(e||{}).node,s=[r,i];if(!a||a===n)return s;for(var l=r*i,u=l*t.option.zoomToNodeRatio;o=a.parentNode;){for(var c=0,h=o.children,f=0,d=h.length;f<d;f++)c+=h[f].getValue();var p=a.getValue();if(0===p)return s;u*=c/p;var g=o.getModel(),y=g.get(tO),v=Math.max(y,tP(g));(u+=4*y*y+(3*y+v)*Math.pow(u,.5))>ta.Is&&(u=ta.Is),a=o}u<l&&(u=l);var m=Math.pow(u/l,.5);return[r*m,i*m]}(t,g,v,f,d):y?[y.width,y.height]:[f,d],b=u.sort;b&&"asc"!==b&&"desc"!==b&&(b="desc");var x={squareRatio:u.squareRatio,sort:b,leafDepth:u.leafDepth};v.hostTree.clearLayouts();var w={x:0,y:0,width:_[0],height:_[1],area:_[0]*_[1]};v.setLayout(w),function t(e,n,i,o){if(!e.isRemoved()){var a,s,l=e.getLayout();a=l.width,s=l.height;var u=e.getModel(),c=u.get(tO),h=u.get(tI)/2,f=tP(u),d=Math.max(c,f),p=c-h,g=d-h;e.setLayout({borderWidth:c,upperHeight:d,upperLabelHeight:f},!0);var y=(a=tM(a-2*p,0))*(s=tM(s-p-g,0)),v=function(t,e,n,i,o,a){var s,l,u=t.children||[],c=i.sort;"asc"!==c&&"desc"!==c&&(c=null);var h=null!=i.leafDepth&&i.leafDepth<=a;if(o&&!h)return t.viewChildren=[];s=u=r.filter(u,function(t){return!t.isRemoved()}),(l=c)&&s.sort(function(t,e){var n="asc"===l?t.getValue()-e.getValue():e.getValue()-t.getValue();return 0===n?"asc"===l?t.dataIndex-e.dataIndex:e.dataIndex-t.dataIndex:n});var f=function(t,e,n){for(var r,i=0,o=0,a=e.length;o<a;o++)i+=e[o].getValue();var s=t.get("visualDimension");return e&&e.length?"value"===s&&n?(r=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&r.reverse()):(r=[1/0,-1/0],tC(e,function(t){var e=t.getValue(s);e<r[0]&&(r[0]=e),e>r[1]&&(r[1]=e)})):r=[NaN,NaN],{sum:i,dataExtent:r}}(e,u,c);if(0===f.sum||(f.sum=function(t,e,n,r,i){if(!r)return n;for(var o=t.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var u=i["asc"===r?a-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===r?i.splice(0,a-s):i.splice(s,a-s),n}(e,n,f.sum,c,u),0===f.sum))return t.viewChildren=[];for(var d=0,p=u.length;d<p;d++){var g=u[d].getValue()/f.sum*n;u[d].setLayout({area:g})}return h&&(u.length&&t.setLayout({isLeafRoot:!0},!0),u.length=0),t.viewChildren=u,t.setLayout({dataExtent:f.dataExtent},!0),u}(e,u,y,n,i,o);if(v.length){var m={x:p,y:g,width:a,height:s},_=tk(a,s),b=1/0,x=[];x.area=0;for(var w=0,S=v.length;w<S;){var A=v[w];x.push(A),x.area+=A.getLayout().area;var M=function(t,e,n){for(var r=0,i=1/0,o=0,a=void 0,s=t.length;o<s;o++)(a=t[o].getLayout().area)&&(a<i&&(i=a),a>r&&(r=a));var l=t.area*t.area,u=e*e*n;return l?tM(u*r/l,l/(u*i)):1/0}(x,_,n.squareRatio);M<=b?(w++,b=M):(x.area-=x.pop().getLayout().area,tL(x,_,m,h,!1),_=tk(m.width,m.height),x.length=x.area=0,b=1/0)}if(x.length&&tL(x,_,m,h,!0),!i){var k=u.get("childrenVisibleMin");null!=k&&y<k&&(i=!0)}for(var w=0,S=v.length;w<S;w++)t(v[w],n,i,o+1)}}}(v,x,!1,0),w=v.getLayout(),tC(m,function(t,e){var n=(m[e+1]||v).getValue();t.setLayout(r.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},w))})}var S=t.getData().tree.root;S.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var r={x:0,y:0};if(!n)return r;var i=n.node,o=i.getLayout();if(!o)return r;for(var a=[o.width/2,o.height/2],s=i;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}(c,y,g),!0),t.setLayoutInfo(c),function t(e,n,r,i,o){var a=e.getLayout(),s=r[o],l=s&&s===e;if((!s||l)&&(o!==r.length||e===i)){e.setLayout({isInView:!0,invisible:!l&&!n.intersect(a),isAboveViewRoot:l},!0);var u=new z.A(n.x-a.x,n.y-a.y,n.width,n.height);tC(e.viewChildren||[],function(e){t(e,u,r,i,o+1)})}}(S,new z.A(-c.x,-c.y,s,l),m,v,0)}};function tL(t,e,n,r,i){var o=+(e!==n.width),a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=e?t.area/e:0;(i||c>n[l[a]])&&(c=n[l[a]]);for(var h=0,f=t.length;h<f;h++){var d=t[h],p={},g=c?d.getLayout().area/c:0,y=p[l[a]]=tM(c-2*r,0),v=n[s[o]]+n[l[o]]-u,m=h===f-1||v<g?v:g,_=p[l[o]]=tM(m-2*r,0);p[s[a]]=n[s[a]]+tk(r,y/2),p[s[o]]=u+tk(r,_/2),u+=m,d.setLayout(p,!0)}n[s[a]]+=c,n[l[a]]-=c}function tP(t){return t.get(tE)?t.get(tD):0}function tN(t){t.registerSeriesModel(C),t.registerChartView(tr),t.registerVisual(tx),t.registerLayout(tR);for(var e=0;e<l.length;e++)t.registerAction({type:l[e],update:"updateView"},r.noop);t.registerAction({type:"treemapRootToNode",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},function(e,n){var r=i(t,["treemapZoomToNode","treemapRootToNode"],e);if(r){var o=e.getViewRoot();o&&(t.direction=a(o,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}})})}},24464:function(t,e,n){"use strict";n.d(e,{A:()=>A});var r=n(12417),i=n(96001),o=n(60620),a=n(74861),s=n(32031),l=n(44988),u=n(51422),c=n(43116),h=n(90016),f=n(7465),d=n(85124),p=n(80410),g=n(54467),y=n(19045),v=Math.PI,m=function(){function t(t,e){this.group=new i.A,this.opt=e,this.axisModel=t,(0,r.defaults)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new i.A({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!_[t]},t.prototype.add=function(t){_[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var r,i,o=(0,h._7)(e-t);return(0,h.dh)(o)?(i=n>0?"top":"bottom",r="center"):(0,h.dh)(o-v)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o<v?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),_={axisLine:function(t,e,n,i){var s=e.get(["axisLine","show"]);if("auto"===s&&t.handleAutoShown&&(s=t.handleAutoShown("axisLine")),s){var l=e.axis.getExtent(),u=i.transform,c=[l[0],0],h=[l[1],0],d=c[0]>h[0];u&&((0,p.applyTransform)(c,c,u),(0,p.applyTransform)(h,h,u));var g=(0,r.extend)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),y=new o.A({shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:g,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});a.subPixelOptimizeLine(y.shape,y.style.lineWidth),y.anid="line",n.add(y);var v=e.get(["axisLine","symbol"]);if(null!=v){var m=e.get(["axisLine","symbolSize"]);(0,r.isString)(v)&&(v=[v,v]),((0,r.isString)(m)||(0,r.isNumber)(m))&&(m=[m,m]);var _=(0,f.hV)(e.get(["axisLine","symbolOffset"])||0,m),b=m[0],x=m[1];(0,r.each)([{rotate:t.rotation+Math.PI/2,offset:_[0],r:0},{rotate:t.rotation-Math.PI/2,offset:_[1],r:Math.sqrt((c[0]-h[0])*(c[0]-h[0])+(c[1]-h[1])*(c[1]-h[1]))}],function(e,r){if("none"!==v[r]&&null!=v[r]){var i=(0,f.v5)(v[r],-b/2,-x/2,b,x,g.stroke,!0),o=e.r+e.offset,a=d?h:c;i.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(i)}})}}},axisTickLabel:function(t,e,n,i){var o=function(t,e,n,i){var o=n.axis,a=n.getModel("axisTick"),s=a.get("show");if("auto"===s&&i.handleAutoShown&&(s=i.handleAutoShown("axisTick")),!(!s||o.scale.isBlank())){for(var l=a.getModel("lineStyle"),u=i.tickDirection*a.get("length"),c=S(o.getTicksCoords(),e.transform,u,(0,r.defaults)(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<c.length;h++)t.add(c[h]);return c}}(n,i,e,t),h=function(t,e,n,i){var o=n.axis;if(!(!(0,r.retrieve)(i.axisLabelShow,n.get(["axisLabel","show"]))||o.scale.isBlank())){var h=n.getModel("axisLabel"),f=h.get("margin"),d=o.getViewLabels(),p=((0,r.retrieve)(i.labelRotate,h.get("rotate"))||0)*v/180,g=m.innerTextLayout(i.rotation,p,i.labelDirection),y=n.getCategories&&n.getCategories(!0),_=[],b=m.isLabelSilent(n),x=n.get("triggerEvent");return(0,r.each)(d,function(p,v){var w="ordinal"===o.scale.type?o.scale.getRawOrdinalNumber(p.tickValue):p.tickValue,S=p.formattedLabel,A=p.rawLabel,M=h;if(y&&y[w]){var k=y[w];(0,r.isObject)(k)&&k.textStyle&&(M=new c.A(k.textStyle,h,n.ecModel))}var T=M.getTextColor()||n.get(["axisLine","lineStyle","color"]),C=o.dataToCoord(w),O=M.getShallow("align",!0)||g.textAlign,I=(0,r.retrieve2)(M.getShallow("alignMinLabel",!0),O),E=(0,r.retrieve2)(M.getShallow("alignMaxLabel",!0),O),D=M.getShallow("verticalAlign",!0)||M.getShallow("baseline",!0)||g.textVerticalAlign,R=(0,r.retrieve2)(M.getShallow("verticalAlignMinLabel",!0),D),L=(0,r.retrieve2)(M.getShallow("verticalAlignMaxLabel",!0),D),P=new s.Ay({x:C,y:i.labelOffset+i.labelDirection*f,rotation:g.rotation,silent:b,z2:10+(p.level||0),style:(0,u.VB)(M,{text:S,align:0===v?I:v===d.length-1?E:O,verticalAlign:0===v?R:v===d.length-1?L:D,fill:(0,r.isFunction)(T)?T("category"===o.type?A:"value"===o.type?w+"":w,v):T})});if(P.anid="label_"+w,a.setTooltipConfig({el:P,componentModel:n,itemName:S,formatterParamsExtra:{isTruncated:function(){return P.isTruncated},value:A,tickIndex:v}}),x){var N=m.makeAxisEventDataBase(n);N.targetType="axisLabel",N.value=A,N.tickIndex=v,"category"===o.type&&(N.dataIndex=w),(0,l.z)(P).eventData=N}e.add(P),P.updateTransform(),_.push(P),t.add(P),P.decomposeTransform()}),_}}(n,i,e,t);if(function(t,e,n){if(!(0,g.PJ)(t.axis)){var r=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]);n=n||[];var o=(e=e||[])[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],c=n[1],h=n[n.length-1],f=n[n.length-2];!1===r?(b(o),b(u)):x(o,a)&&(r?(b(a),b(c)):(b(o),b(u))),!1===i?(b(s),b(h)):x(l,s)&&(i?(b(l),b(f)):(b(s),b(h)))}}(e,h,o),function(t,e,n,i){var o=n.axis,a=n.getModel("minorTick");if(!(!a.get("show")||o.scale.isBlank())){var s=o.getMinorTicksCoords();if(s.length)for(var l=a.getModel("lineStyle"),u=i*a.get("length"),c=(0,r.defaults)(l.getLineStyle(),(0,r.defaults)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),h=0;h<s.length;h++)for(var f=S(s[h],e.transform,u,c,"minorticks_"+h),d=0;d<f.length;d++)t.add(f[d])}}(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var f=(0,y.os)((0,r.map)(h,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}));(0,y.If)(f)}},axisName:function(t,e,n,i){var o,c,f=(0,r.retrieve)(t.axisName,e.get("name"));if(f){var d,p,g,y,_,b,x,S,A,M=e.get("nameLocation"),k=t.nameDirection,T=e.getModel("nameTextStyle"),C=e.get("nameGap")||0,O=e.axis.getExtent(),I=O[0]>O[1]?-1:1,E=["start"===M?O[0]-I*C:"end"===M?O[1]+I*C:(O[0]+O[1])/2,w(M)?t.labelOffset+k*C:0],D=e.get("nameRotate");null!=D&&(D=D*v/180),w(M)?o=m.innerTextLayout(t.rotation,null!=D?D:t.rotation,k):(d=t.rotation,p=M,g=D||0,y=O,x=(0,h._7)(g-d),S=y[0]>y[1],A="start"===p&&!S||"start"!==p&&S,(0,h.dh)(x-v/2)?(b=A?"bottom":"top",_="center"):(0,h.dh)(x-1.5*v)?(b=A?"top":"bottom",_="center"):(b="middle",_=x<1.5*v&&x>v/2?A?"left":"right":A?"right":"left"),o={rotation:x,textAlign:_,textVerticalAlign:b},null!=(c=t.axisNameAvailableWidth)&&(isFinite(c=Math.abs(c/Math.sin(o.rotation)))||(c=null)));var R=T.getFont(),L=e.get("nameTruncate",!0)||{},P=L.ellipsis,N=(0,r.retrieve)(t.nameTruncateMaxWidth,L.maxWidth,c),B=new s.Ay({x:E[0],y:E[1],rotation:o.rotation,silent:m.isLabelSilent(e),style:(0,u.VB)(T,{text:f,font:R,overflow:"truncate",width:N,ellipsis:P,fill:T.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:T.get("align")||o.textAlign,verticalAlign:T.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:B,componentModel:e,itemName:f}),B.__fullText=f,B.anid="name",e.get("triggerEvent")){var F=m.makeAxisEventDataBase(e);F.targetType="axisName",F.name=f,(0,l.z)(B).eventData=F}i.add(B),B.updateTransform(),n.add(B),B.decomposeTransform()}}};function b(t){t&&(t.ignore=!0)}function x(t,e){var n=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(n&&r){var i=d.identity([]);return d.rotate(i,i,-t.rotation),n.applyTransform(d.mul([],i,t.getLocalTransform())),r.applyTransform(d.mul([],i,e.getLocalTransform())),n.intersect(r)}}function w(t){return"middle"===t||"center"===t}function S(t,e,n,r,i){for(var s=[],l=[],u=[],c=0;c<t.length;c++){var h=t[c].coord;l[0]=h,l[1]=0,u[0]=h,u[1]=n,e&&((0,p.applyTransform)(l,l,e),(0,p.applyTransform)(u,u,e));var f=new o.A({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:r,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(f.shape,f.style.lineWidth),f.anid=i+"_"+t[c].tickValue,s.push(f)}return s}let A=m},46502:function(t,e,n){"use strict";n.d(e,{A:()=>s});var r=n(367),i=n(41264),o=n(95411),a={};let s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.render=function(e,n,r,o){this.axisPointerClass&&i.h_(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,r,!0)},e.prototype.updateAxisPointer=function(t,e,n,r){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,r){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=i.mg(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,n,r):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.A)},22307:function(t,e,n){"use strict";n.d(e,{A:()=>o});var r=n(12417),i=n(47632);function o(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=i.le(s,t);if(null==l||l<0||r.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)if(t.isStacked){var h=c.getBaseAxis(),f=c.getOtherAxis(h).dim,d=h.dim,p=+("x"===f||"radius"===f),g=s.mapDimension(d),y=[];y[p]=s.get(g,l),y[1-p]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=c.dataToPoint(y)||[]}else o=c.dataToPoint(s.getValues(r.map(c.dimensions,function(t){return s.mapDimension(t)}),l))||[];else if(u){var v=u.getBoundingRect().clone();v.applyTransform(u.transform),o=[v.x+v.width/2,v.y+v.height/2]}return{point:o,el:u}}},88674:function(t,e,n){"use strict";n.d(e,{h:()=>c,k:()=>s});var r=n(12417),i=n(55198),o=(0,n(47632).$r)(),a=r.each;function s(t,e,n){if(!i.A.node){var s=e.getZr();o(s).records||(o(s).records={}),function(t,e){o(t).initialized||(o(t).initialized=!0,n("click",r.curry(u,"click")),n("mousemove",r.curry(u,"mousemove")),n("globalout",l));function n(n,r){t.on(n,function(n){var i,s,l,u,c,h,f,d,p=(i=e,s={showTip:[],hideTip:[]},{dispatchAction:l=function(t){var e=s[t.type];e?e.push(t):(t.dispatchAction=l,i.dispatchAction(t))},pendings:s});a(o(t).records,function(t){t&&r(t,n,p.dispatchAction)}),u=p.pendings,c=e,f=u.showTip.length,d=u.hideTip.length,f?h=u.showTip[f-1]:d&&(h=u.hideTip[d-1]),h&&(h.dispatchAction=null,c.dispatchAction(h))})}}(s,e),(o(s).records[t]||(o(s).records[t]={})).handler=n}}function l(t,e,n){t.handler("leave",null,n)}function u(t,e,n,r){e.handler(t,n,r)}function c(t,e){if(!i.A.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}}},61384:function(t,e,n){"use strict";n.d(e,{a:()=>j});var r=n(46502),i=n(367),o=n(12417),a=n(96001),s=n(74861),l=n(32031),u=n(26912),c=n(41264),h=n(67137),f=n(81557),d=n(47632),p=(0,d.$r)(),g=o.clone,y=o.bind,v=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,r){var i=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,r||this._lastValue!==i||this._lastStatus!==s){this._lastValue=i,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s){l&&l.hide(),u&&u.hide();return}l&&l.show(),u&&u.show();var c={};this.makeElOption(c,i,t,e,n);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var f=this._moveAnimation=this.determineAnimation(t,e);if(l){var d=o.curry(m,e,f);this.updatePointerEl(l,c,d),this.updateLabelEl(l,c,d,e)}else l=this._group=new a.A,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),n.getZr().add(l);x(l,e,!0),this._renderHandle(i)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),r=t.axis,i="category"===r.type,o=e.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(i&&r.getBandWidth()>a)return!0;if(o){var s=c.Yc(t).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,r,i){},t.prototype.createPointerEl=function(t,e,n,r){var i=e.pointer;if(i){var o=p(t).pointerEl=new s[i.type](g(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,r){if(e.label){var i=p(t).labelEl=new l.Ay(g(e.label));t.add(i),_(i,r)}},t.prototype.updatePointerEl=function(t,e,n){var r=p(t).pointerEl;r&&e.pointer&&(r.setStyle(e.pointer.style),n(r,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,r){var i=p(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{x:e.label.x,y:e.label.y}),_(i,r))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,a=n.getModel("handle"),l=n.get("status");if(!a.get("show")||!l||"hide"===l){i&&r.remove(i),this._handle=null;return}this._handle||(e=!0,i=this._handle=s.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){h.ds(t.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),r.add(i)),x(i,n,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");o.isArray(u)||(u=[u,u]),i.scaleX=u[0]/2,i.scaleY=u[1]/2,f.N(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){m(this._axisPointerModel,!e&&this._moveAnimation,this._handle,b(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(b(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(b(r)),p(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,r=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),r&&e.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),f.IU(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function m(t,e,n,r){!function t(e,n){if(!(o.isObject(e)&&o.isObject(n)))return e===n;var r=!0;return o.each(n,function(n,i){r=r&&t(e[i],n)}),!!r}(p(n).lastProp,r)&&(p(n).lastProp=r,e?u.oi(n,r,t):(n.stopAnimation(),n.attr(r)))}function _(t,e){t[e.get(["label","show"])?"show":"hide"]()}function b(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function x(t,e,n){var r=e.get("z"),i=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=r&&(t.z=r),null!=i&&(t.zlevel=i),t.silent=n)})}var w=n(44436),S=n(96352),A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var o=n.axis,a=o.grid,s=r.get("type"),l=M(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=w.bY(r),h=k[s](o,u,l);h.style=c,t.graphicKey=h.type,t.pointer=h}var f=S.Zp(a.model,n);w.DA(e,t,f,n,r,i)},e.prototype.getHandleTransform=function(t,e,n){var r=S.Zp(e.axis.grid.model,e,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=w.Tc(e.axis,t,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=M(o,i).getOtherAxis(i).getGlobalExtent(),l=+("x"!==i.dim),u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];return h[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(v);function M(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var k={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:w.MU([e,n[0]],[e,n[1]],T(t))}},shadow:function(t,e,n){var r=Math.max(1,t.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:w.cU([e-r/2,n[0]],[r,i],T(t))}}};function T(t){return+("x"!==t.dim)}var C=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},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}},e}(n(90558).A),O=n(88674),I=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.render=function(t,e,n){var r=e.getComponent("tooltip"),i=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";O.k("axisPointer",n,function(t,e,n){"none"!==i&&("leave"===t||i.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){O.h("axisPointer",e)},e.prototype.dispose=function(t,e){O.h("axisPointer",e)},e.type="axisPointer",e}(n(95411).A),E=n(22307),D=(0,d.$r)();function R(t,e,n){var r=t.currTrigger,i=[t.x,t.y],a=t.dispatchAction||(0,o.bind)(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){F(i)&&(i=(0,E.A)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var l,u,c,h,f,d,p,g,y,v,m,_=F(i),b=t.axesInfo,x=s.axesInfo,w="leave"===r||F(i),S={},A={},M={list:[],map:{}},k={showPointer:(0,o.curry)(P,A),showTooltip:(0,o.curry)(N,M)};(0,o.each)(s.coordSysMap,function(t,e){var n=_||t.containPoint(i);(0,o.each)(s.coordSysAxesInfo[e],function(t,e){var r=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var r=t[n];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}(b,t);if(!w&&n&&(!b||o)){var a=o&&o.value;null!=a||_||(a=r.pointToData(i)),null!=a&&L(t,a,k,!1,S)}})});var T={};return(0,o.each)(x,function(t,e){var n=t.linkGroup;n&&!A[e]&&(0,o.each)(n.axesInfo,function(e,r){var i=A[r];if(e!==t&&i){var o=i.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,B(e),B(t)))),T[t.key]=o}})}),(0,o.each)(T,function(t,e){L(x[e],t,k,!0,S)}),l=A,u=x,c=S.axesInfo=[],(0,o.each)(u,function(t,e){var n=t.axisPointerModel.option,r=l[e];r?(t.useHandle||(n.status="show"),n.value=r.value,n.seriesDataIndices=(r.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&c.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),function(t,e,n,r){if(F(e)||!t.list.length)return r({type:"hideTip"});var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}(M,i,t,a),h=x,d=(f=n).getZr(),p="axisPointerLastHighlights",g=D(d)[p]||{},y=D(d)[p]={},(0,o.each)(h,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&(0,o.each)(n.seriesDataIndices,function(t){y[t.seriesIndex+" | "+t.dataIndex]=t})}),v=[],m=[],(0,o.each)(g,function(t,e){y[e]||m.push(t)}),(0,o.each)(y,function(t,e){g[e]||v.push(t)}),m.length&&f.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:m}),v.length&&f.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:v}),S}}function L(t,e,n,r,i){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e)){if(!t.involveSeries)return void n.showPointer(t,e);var s,l,u,c,h,f,d,p,g=(s=e,c=(u=(l=t).axis).dim,h=s,f=[],d=Number.MAX_VALUE,p=-1,(0,o.each)(l.seriesModels,function(t,e){var n,r,i=t.getData().mapDimensionsAll(c);if(t.getAxisTooltipData){var a=t.getAxisTooltipData(i,s,u);r=a.dataIndices,n=a.nestestValue}else{if(!(r=t.getData().indicesOfNearest(i[0],s,"category"===u.type?.5:null)).length)return;n=t.getData().get(i[0],r[0])}if(null!=n&&isFinite(n)){var l=s-n,g=Math.abs(l);g<=d&&((g<d||l>=0&&p<0)&&(d=g,p=l,h=n,f.length=0),(0,o.each)(r,function(e){f.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:f,snapToValue:h}),y=g.payloadBatch,v=g.snapToValue;y[0]&&null==i.seriesIndex&&(0,o.extend)(i,y[0]),!r&&t.snap&&a.containData(v)&&null!=v&&(e=v),n.showPointer(t,e,y),n.showTooltip(t,g,v)}}function P(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function N(t,e,n,r){var i=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&i.length){var l=e.coordSys.model,u=c.og(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function B(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function F(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function j(t){r.A.registerAxisPointerClass("CartesianAxisPointer",A),t.registerComponentModel(C),t.registerComponentView(I),t.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,o.isArray)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,c.Fo)(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},R)}},41264:function(t,e,n){"use strict";n.d(e,{Fo:()=>o,Yc:()=>l,h_:()=>s,mg:()=>u,og:()=>h});var r=n(43116),i=n(12417);function o(t,e){var n,o,s,l,u,f,d,p,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=g,o=t,s=e,l=o.getComponent("tooltip"),f=(u=o.getComponent("axisPointer")).get("link",!0)||[],d=[],(0,i.each)(s.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=h(t.model),s=n.coordSysAxesInfo[e]={};n.coordSysMap[e]=t;var p=t.model.getModel("tooltip",l);if((0,i.each)(t.getAxes(),(0,i.curry)(m,!1,null)),t.getTooltipAxes&&l&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get(["axisPointer","type"]),v=t.getTooltipAxes(p.get(["axisPointer","axis"]));(g||y)&&(0,i.each)(v.baseAxes,(0,i.curry)(m,!y||"cross",g)),y&&(0,i.each)(v.otherAxes,(0,i.curry)(m,"cross",!1))}}function m(e,l,g){var y=g.model.getModel("axisPointer",u),v=y.get("show");if(v&&("auto"!==v||e||c(y))){null==l&&(l=y.get("triggerTooltip"));var m=(y=e?function(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u={};(0,i.each)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=(0,i.clone)(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var c=u.label||(u.label={});if(null==c.show&&(c.show=!1),"cross"===a){var h=l.get(["label","show"]);if(c.show=null==h||h,!s){var f=u.lineStyle=l.get("crossStyle");f&&(0,i.defaults)(c,f.textStyle)}}return t.model.getModel("axisPointer",new r.A(u,n,o))}(g,p,u,o,e,l):y).get("snap"),_=y.get("triggerEmphasis"),b=h(g.model),x=l||m||"category"===g.type,w=n.axesInfo[b]={key:b,axis:g,coordSys:t,axisPointerModel:y,triggerTooltip:l,triggerEmphasis:_,involveSeries:x,snap:m,useHandle:c(y),seriesModels:[],linkGroup:null};s[b]=w,n.seriesInvolved=n.seriesInvolved||x;var S=function(t,e){for(var n=e.model,r=e.dim,i=0;i<t.length;i++){var o=t[i]||{};if(a(o[r+"AxisId"],n.id)||a(o[r+"AxisIndex"],n.componentIndex)||a(o[r+"AxisName"],n.name))return i}}(f,g);if(null!=S){var A=d[S]||(d[S]={axesInfo:{}});A.axesInfo[b]=w,A.mapper=f[S].mapper,w.linkGroup=A}}}}),g.seriesInvolved&&(p=g,t.eachSeries(function(t){var e=t.coordinateSystem,n=t.get(["tooltip","trigger"],!0),r=t.get(["tooltip","show"],!0);e&&"none"!==n&&!1!==n&&"item"!==n&&!1!==r&&!1!==t.get(["axisPointer","show"],!0)&&(0,i.each)(p.coordSysAxesInfo[h(e.model)],function(n){var r=n.axis;e.getAxis(r.dim)===r&&(n.seriesModels.push(t),null==n.seriesDataCount&&(n.seriesDataCount=0),n.seriesDataCount+=t.getData().count())})})),g}function a(t,e){return"all"===t||(0,i.isArray)(t)&&(0,i.indexOf)(t,e)>=0||t===e}function s(t){var e=l(t);if(e){var n=e.axisPointerModel,r=e.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=c(n);null==o&&(i.status=s?"show":"hide");var u=r.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),a<u[0]&&(a=u[0]),i.value=a,s&&(i.status=e.axis.scale.isBlank()?"hide":"show")}}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[h(t)]}function u(t){var e=l(t);return e&&e.axisPointerModel}function c(t){return!!t.get(["handle","show"])}function h(t){return t.type+"||"+t.id}},44436:function(t,e,n){"use strict";n.d(e,{DA:()=>p,MU:()=>g,Tc:()=>d,_F:()=>f,bY:()=>h,cU:()=>y});var r=n(12417),i=n(74861),o=n(3879),a=n(3662),s=n(85124),l=n(54467),u=n(24464),c=n(51422);function h(t){var e,n=t.get("type"),r=t.getModel(n+"Style");return"line"===n?(e=r.getLineStyle()).fill=null:"shadow"===n&&((e=r.getAreaStyle()).stroke=null),e}function f(t,e,n,i,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var u={value:l.Dt(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};r.each(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),r=t.dataIndexInside,i=e&&e.getDataParams(r);i&&u.seriesData.push(i)}),r.isString(s)?a=s.replace("{value}",a):r.isFunction(s)&&(a=s(u))}return a}function d(t,e,n){var r=s.create();return s.rotate(r,r,n.rotation),s.translate(r,r,n.position),i.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function p(t,e,n,r,i,s){var l,h,p,g,y,v,m,_,b,x,w,S,A,M,k,T,C,O,I=u.A.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),m={position:d(r.axis,t,n),align:I.textAlign,verticalAlign:I.textVerticalAlign},_=f(i.get("value"),r.axis,r.ecModel,i.get("seriesDataIndices"),{precision:i.get(["label","precision"]),formatter:i.get(["label","formatter"])}),b=i.getModel("label"),x=a.QX(b.get("padding")||0),w=b.getFont(),S=o.NO(_,w),A=m.position,M=S.width+x[1]+x[3],k=S.height+x[0]+x[2],"right"===(T=m.align)&&(A[0]-=M),"center"===T&&(A[0]-=M/2),"bottom"===(C=m.verticalAlign)&&(A[1]-=k),"middle"===C&&(A[1]-=k/2),l=A,h=M,p=k,y=(g=s).getWidth(),v=g.getHeight(),l[0]=Math.min(l[0]+h,y)-h,l[1]=Math.min(l[1]+p,v)-p,l[0]=Math.max(l[0],0),l[1]=Math.max(l[1],0),(O=b.get("backgroundColor"))&&"auto"!==O||(O=r.get(["axisLine","lineStyle","color"])),e.label={x:A[0],y:A[1],style:(0,c.VB)(b,{text:_,font:w,fill:b.getTextColor(),padding:x,backgroundColor:O}),z2:10}}function g(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function y(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},33342:function(t,e,n){"use strict";n.d(e,{a:()=>tl});var r=n(40097),i=n(367),o=n(12417),a=n(90558),s=["x","y","radius","angle","single"],l=["cartesian2d","polar","singleAxis"];function u(t){return t+"Axis"}function c(t){var e=t.ecModel,n={infoList:[],infoMap:(0,o.createHashMap)()};return t.eachTargetAxis(function(t,r){var i=e.getComponent(u(t),r);if(i){var o=i.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(i)}}}),n}var h=n(47632),f=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),d=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return(0,i.C6)(e,t),e.prototype.init=function(t,e,n){var r=p(t);this.settledOption=r,this.mergeDefaultAndTheme(t,n),this._doInit(r)},e.prototype.mergeOption=function(t){var e=p(t);(0,o.merge)(this.option,t,!0),(0,o.merge)(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;(0,o.each)([["start","startValue"],["end","endValue"]],function(t,r){"value"===this._rangePropMode[r]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=(0,o.createHashMap)();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return(0,o.each)(s,function(n){var r=this.getReferringComponents(u(n),h.UW);if(r.specified){e=!0;var i=new f;(0,o.each)(r.models,function(t){i.add(t.componentIndex)}),t.set(n,i)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,r=!0,i="vertical"===e?"y":"x",a=n.findComponents({mainType:i+"Axis"});if(l(a,i),r){var a=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});l(a,"single")}function l(e,n){var i=e[0];if(i){var a=new f;if(a.add(i.componentIndex),t.set(n,a),r=!1,"x"===n||"y"===n){var s=i.getReferringComponents("grid",h.US).models[0];s&&(0,o.each)(e,function(t){i.componentIndex!==t.componentIndex&&s===t.getReferringComponents("grid",h.US).models[0]&&a.add(t.componentIndex)})}}}r&&(0,o.each)(s,function(e){if(r){var i=n.findComponents({mainType:u(e),filter:function(t){return"category"===t.get("type",!0)}});if(i[0]){var o=new f;o.add(i[0].componentIndex),t.set(e,o),r=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){t||(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");(0,o.each)([["start","startValue"],["end","endValue"]],function(r,i){var o=null!=t[r[0]],a=null!=t[r[1]];o&&!a?e[i]="percent":!o&&a?e[i]="value":n?e[i]=n[i]:o&&(e[i]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent(u(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,r){(0,o.each)(n.indexList,function(n){t.call(e,r,n)})})},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(u(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;(0,o.each)([["start","startValue"],["end","endValue"]],function(r){(null!=t[r[0]]||null!=t[r[1]])&&(e[r[0]]=n[r[0]]=t[r[0]],e[r[1]]=n[r[1]]=t[r[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;(0,o.each)(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();if(n)return n.getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),r=0;r<n.length;r++)for(var i=n[r],o=this._targetAxisInfoMap.get(i),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(i,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(a.A);function p(t){var e={};return(0,o.each)(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var g=n(93230),y=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="dataZoom.inside",e.defaultOption=(0,g.G_)(d.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(d),v=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.render=function(t,e,n,r){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(n(95411).A);function m(t,e,n,r,i,o){t=t||0;var a,s=n[1]-n[0];if(null!=i&&(i=b(i,[0,s])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===r){var l=Math.abs(e[1]-e[0]);l=b(l,[0,s]),i=o=b(l,[i,o]),r=0}e[0]=b(e[0],n),e[1]=b(e[1],n);var u=_(e,r);e[r]+=t;var c=i||0,h=n.slice();return u.sign<0?h[0]+=c:h[1]-=c,e[r]=b(e[r],h),a=_(e,r),null!=i&&(a.sign!==u.sign||a.span<i)&&(e[1-r]=e[r]+u.sign*i),a=_(e,r),null!=o&&a.span>o&&(e[1-r]=e[r]+a.sign*o),e}function _(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function b(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var x=n(80443),w=n(81557),S=(0,h.$r)();function A(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function M(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function k(t,e,n,r){return t.coordinateSystem.containPoint([n,r])}var T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return(0,i.C6)(e,t),e.prototype.render=function(e,n,r){var i;(t.prototype.render.apply(this,arguments),e.noTarget())?this._clear():(this.range=e.getPercentRange(),i={pan:(0,o.bind)(C.pan,this),zoom:(0,o.bind)(C.zoom,this),scrollMove:(0,o.bind)(C.scrollMove,this)},S(r).coordSysRecordMap.each(function(t){var n=t.dataZoomInfoMap.get(e.uid);n&&(n.getRange=i)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=S(t).coordSysRecordMap,r=n.keys(),i=0;i<r.length;i++){var o=r[i],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||A(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(v),C={zoom:function(t,e,n,r){var i=this.range,o=i.slice(),a=t.axisModels[0];if(a){var s=I[e](null,[r.originX,r.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(m(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}},pan:O(function(t,e,n,r,i,o){var a=I[r]([o.oldX,o.oldY],[o.newX,o.newY],e,i,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:O(function(t,e,n,r,i,o){return I[r]([0,0],[o.scrollDelta,o.scrollDelta],e,i,n).signal*(t[1]-t[0])*o.scrollDelta})};function O(t){return function(e,n,r,i){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s&&(m(t(a,s,e,n,r,i),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]))return a}}var I={grid:function(t,e,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},E=n(90016),D=n(54467),R=n(40936),L=o.each,P=E.Y6,N=function(){function t(t,e,n,r){this._dimName=t,this._axisIndex=e,this.ecModel=r,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if(n=e.get("coordinateSystem"),(0,o.indexOf)(l,n)>=0){var n,r=u(this._dimName),i=e.getReferringComponents(r,h.US).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return o.clone(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,r=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];L(["start","end"],function(l,u){var c=t[l],h=t[l+"Value"];"percent"===i[u]?(null==c&&(c=o[u]),h=r.parse(E.Cb(c,o,n))):(e=!0,h=null==h?n[u]:r.parse(h),c=E.Cb(h,n,o)),s[u]=null==h||isNaN(h)?n[u]:h,a[u]=null==c||isNaN(c)?o[u]:c}),P(s),P(a);var l=this._minMaxSpan;function u(t,e,n,i,o){var a=o?"Span":"ValueSpan";m(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=E.Cb(t[s],n,i,!0),o&&(e[s]=r.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e,n,r,i,o,a=this.getTargetSeriesModels();this._dataExtent=(e=this,n=this._dimName,r=[1/0,-1/0],L(a,function(t){(0,D.PN)(r,t.getData(),n)}),i=e.getAxisModel(),[(o=(0,R.Tc)(i.axis.scale,i,r).calculate()).min,o.max]),this._updateMinMaxSpan();var s=this.calculateDataWindow(t.settledOption);this._valueWindow=s.valueWindow,this._percentWindow=s.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=t.get("filterMode"),a=this._valueWindow;"none"!==i&&L(r,function(t){var e=t.getData(),r=e.mapDimensionsAll(n);if(r.length){if("weakFilter"===i){var s=e.getStore(),l=o.map(r,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,i,o=0;o<r.length;o++){var u=s.get(l[o],t),c=!isNaN(u),h=u<a[0],f=u>a[1];if(c&&!h&&!f)return!0;c&&(i=!0),h&&(e=!0),f&&(n=!0)}return i&&e&&n})}else L(r,function(n){if("empty"===i)t.setData(e=e.map(n,function(t){var e;return(e=t)>=a[0]&&e<=a[1]?t:NaN}));else{var r={};r[n]=a,e.selectRange(r)}});L(r,function(t){e.setApproximateExtent(a,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;L(["min","max"],function(r){var i=e.get(r+"Span"),o=e.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=E.Cb(n[0]+o,n,[0,100],!0):null!=i&&(o=E.Cb(i,[0,100],n,!0)-n[0]),t[r+"Span"]=i,t[r+"ValueSpan"]=o},this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var r=E.hb(n,[0,500]);r=Math.min(r,20);var i=t.axis.scale.rawExtentInfo;0!==e[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==e[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},t}();let B={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(r,i){var o=t.getComponent(u(r),i);e(r,i,o,n)})})}e(function(t,e,n,r){n.__dzAxisProxy=null});var n=[];e(function(e,r,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new N(e,r,o,t),n.push(i.__dzAxisProxy))});var r=(0,o.createHashMap)();return(0,o.each)(n,function(t){(0,o.each)(t.getTargetSeriesModels(),function(t){r.set(t.uid,t)})}),r},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(e,n){t.getAxisProxy(e,n).reset(t)}),t.eachTargetAxis(function(n,r){t.getAxisProxy(n,r).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),r=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}})}};var F=!1;function j(t){F||(F=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,B),t.registerAction("dataZoom",function(t,e){var n=function(t,e){var n,r=(0,o.createHashMap)(),i=[],a=(0,o.createHashMap)();t.eachComponent({mainType:"dataZoom",query:e},function(t){a.get(t.uid)||l(t)});do n=!1,t.eachComponent("dataZoom",s);while(n);function s(t){var e;!a.get(t.uid)&&(e=!1,t.eachTargetAxis(function(t,n){var i=r.get(t);i&&i[n]&&(e=!0)}),e)&&(l(t),n=!0)}function l(t){a.set(t.uid,!0),i.push(t),t.eachTargetAxis(function(t,e){(r.get(t)||r.set(t,[]))[e]=!0})}return i}(e,t);(0,o.each)(n,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})}),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function z(t){j(t),t.registerComponentModel(y),t.registerComponentView(T),t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=S(e),r=n.coordSysRecordMap||(n.coordSysRecordMap=(0,o.createHashMap)());r.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){var n=c(t);(0,o.each)(n.infoList,function(n){var i,a,s,l=n.model.uid,u=r.get(l)||r.set(l,(s=(a={model:i=n.model,containsPoint:(0,o.curry)(k,i),dispatchAction:(0,o.curry)(M,e),dataZoomInfoMap:null,controller:null}).controller=new x.A(e.getZr()),(0,o.each)(["pan","zoom","scrollMove"],function(t){s.on(t,function(e){var n=[];a.dataZoomInfoMap.each(function(r){if(e.isAvailableBehavior(r.model.option)){var i=(r.getRange||{})[t],o=i&&i(r.dzReferCoordSysInfo,a.model.mainType,a.controller,e);!r.model.get("disabled",!0)&&o&&n.push({dataZoomId:r.model.id,start:o[0],end:o[1]})}}),n.length&&a.dispatchAction(n)})}),a));(u.dataZoomInfoMap||(u.dataZoomInfoMap=(0,o.createHashMap)())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),r.each(function(t){var e,n,i,o,a,s=t.controller,l=t.dataZoomInfoMap;if(l){var u=l.keys()[0];null!=u&&(a=l.get(u))}if(!a)return void A(r,t);var c=(n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0,l.each(function(t){var r=t.model,a=!r.get("disabled",!0)&&(!r.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),o=o&&r.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}});s.enable(c.controlType,c.opt),s.setPointerChecker(t.containsPoint),w.N(t,"dispatchAction",a.model.get("throttle",!0),"fixRate")})})}var H=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=(0,g.G_)(d.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(d),V=n(67137),U=n(99618),W=n(96001),q=n(34146),G=n(25998),Z=n(32031),Y=n(74861),$=n(52211),X=n(76359),K=n(55479),J=n(7465),Q=n(51422),tt=U.A,te="horizontal",tn="vertical",tr=["line","bar","candlestick","scatter"],ti={easing:"cubicOut",duration:100,delay:0},to=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return(0,i.C6)(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=(0,o.bind)(this._onBrush,this),this._onBrushEnd=(0,o.bind)(this._onBrushEnd,this)},e.prototype.render=function(e,n,r,i){if(t.prototype.render.apply(this,arguments),w.N(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1===e.get("show"))return void this.group.removeAll();if(e.noTarget()){this._clear(),this.group.removeAll();return}i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){w.IU(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new W.A;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect"),r=this._findCoordRect(),i={width:e.getWidth(),height:e.getHeight()},a=this._orient===te?{right:i.width-r.x-r.width,top:i.height-30-7-7*!!n,width:r.width,height:30}:{right:7,top:r.y,width:30,height:r.height},s=X.vs(t.option);(0,o.each)(["right","top","width","height"],function(t){"ph"===s[t]&&(s[t]=a[t])});var l=X.dV(s,i);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===tn&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==te||i?n===te&&i?{scaleY:a?1:-1,scaleX:-1}:n!==tn||i?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,r=t.get("brushSelect");n.add(new tt({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var i=new tt({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:(0,o.bind)(this._onClickPanel,this)}),a=this.api.getZr();r?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",a.on("mousemove",this._onBrush),a.on("mouseup",this._onBrushEnd)):(a.off("mousemove",this._onBrush),a.off("mouseup",this._onBrushEnd)),n.add(i)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],r=t.series,i=r.getRawData(),o=r.getShadowDim&&r.getShadowDim(),a=o&&i.getDimensionInfo(o)?r.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(i!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u,c=i.getDataExtent(a),h=(c[1]-c[0])*.3;c=[c[0]-h,c[1]+h];var f=[0,e[1]],d=[0,e[0]],p=[[e[0],0],[0,0]],g=[],y=d[1]/(i.count()-1),v=0,m=Math.round(i.count()/e[0]);i.each([a],function(t,e){if(m>0&&e%m){v+=y;return}var n=null==t||isNaN(t)||""===t,r=n?0:(0,E.Cb)(t,c,f,!0);n&&!u&&e?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&u&&(p.push([v,0]),g.push([v,0])),p.push([v,r]),g.push([v,r]),v+=y,u=n}),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=g}this._shadowData=i,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var _=this.dataZoomModel,b=0;b<3;b++){var x=function(t){var e=_.getModel(t?"selectedDataBackground":"dataBackground"),n=new W.A,r=new q.A({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new G.A({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}(1===b);this._displayables.sliderGroup.add(x),this._displayables.dataShadowSegs.push(x)}}}},e.prototype._prepareDataShadowInfo=function(){var t,e=this.dataZoomModel,n=e.get("showDataShadow");if(!1!==n){var r=this.ecModel;return e.eachTargetAxis(function(i,a){var s=e.getAxisProxy(i,a).getTargetSeriesModels();(0,o.each)(s,function(e){if(!t&&!(!0!==n&&0>(0,o.indexOf)(tr,e.get("type")))){var s,l=r.getComponent(u(i),a).axis,c={x:"y",y:"x",radius:"angle",angle:"radius"}[i],h=e.coordinateSystem;null!=c&&h.getOtherAxis&&(s=h.getOtherAxis(l).inverse),c=e.getData().mapDimension(c),t={thisAxis:l,series:e,thisDim:i,otherDim:c,otherAxisInverse:s}}},this)},this),t}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],r=e.handleLabels=[null,null],i=this._displayables.sliderGroup,a=this._size,s=this.dataZoomModel,l=this.api,u=s.get("borderRadius")||0,c=s.get("brushSelect"),h=e.filler=new tt({silent:c,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});i.add(h),i.add(new tt({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1],r:u},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),(0,o.each)([0,1],function(e){var a=s.get("handleIcon");!J.$V[a]&&0>a.indexOf("path://")&&0>a.indexOf("image://")&&(a="path://"+a);var l=(0,J.v5)(a,-1,0,2,2,null,!0);l.attr({cursor:ta(this._orient),draggable:!0,drift:(0,o.bind)(this._onDragMove,this,e),ondragend:(0,o.bind)(this._onDragEnd,this),onmouseover:(0,o.bind)(this._showDataInfo,this,!0),onmouseout:(0,o.bind)(this._showDataInfo,this,!1),z2:5});var u=l.getBoundingRect(),c=s.get("handleSize");this._handleHeight=(0,E.lo)(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,l.setStyle(s.getModel("handleStyle").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,K.iJ)(l);var h=s.get("handleColor");null!=h&&(l.style.fill=h),i.add(n[e]=l);var f=s.getModel("textStyle"),d=(s.get("handleLabel")||{}).show||!1;t.add(r[e]=new Z.Ay({silent:!0,invisible:!d,style:(0,Q.VB)(f,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:f.getTextColor(),font:f.getFont()}),z2:10}))},this);var f=h;if(c){var d=(0,E.lo)(s.get("moveHandleSize"),a[1]),p=e.moveHandle=new U.A({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:a[1]-.5,height:d}}),g=.8*d,y=e.moveHandleIcon=(0,J.v5)(s.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);y.silent=!0,y.y=a[1]+d/2-.5,p.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(a[1]/2,Math.max(d,10));(f=e.moveZone=new U.A({invisible:!0,shape:{y:a[1]-v,height:d+v}})).on("mouseover",function(){l.enterEmphasis(p)}).on("mouseout",function(){l.leaveEmphasis(p)}),i.add(p),i.add(y),i.add(f)}f.attr({draggable:!0,cursor:ta(this._orient),drift:(0,o.bind)(this._onDragMove,this,"all"),ondragstart:(0,o.bind)(this._showDataInfo,this,!0),ondragend:(0,o.bind)(this._onDragEnd,this),onmouseover:(0,o.bind)(this._showDataInfo,this,!0),onmouseout:(0,o.bind)(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[(0,E.Cb)(t[0],[0,100],e,!0),(0,E.Cb)(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];m(e,r,i,n.get("zoomLock")?"all":t,null!=o.minSpan?(0,E.Cb)(o.minSpan,a,i,!0):null,null!=o.maxSpan?(0,E.Cb)(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=(0,E.Y6)([(0,E.Cb)(r[0],i,a,!0),(0,E.Cb)(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,r=(0,E.Y6)(n.slice()),i=this._size;(0,o.each)([0,1],function(t){var r=e.handles[t],o=this._handleHeight;r.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:i[1]/2-o/2})},this),e.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]});var a={x:r[0],width:r[1]-r[0]};e.moveHandle&&(e.moveHandle.setShape(a),e.moveZone.setShape(a),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",a.x+a.width/2));for(var s=e.dataShadowSegs,l=[0,r[0],r[1],i[0]],u=0;u<s.length;u++){var c=s[u],h=c.getClipPath();h||(h=new U.A,c.setClipPath(h)),h.setShape({x:l[u],y:0,width:l[u+1]-l[u],height:i[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=(0,E.Y6)(this._handleEnds.slice());function h(t){var e=Y.getTransform(n.handles[t].parent,this.group),a=Y.transformDirection(0===t?"right":"left",e),s=this._handleWidth/2+5,l=Y.applyTransform([c[t]+(0===t?-s:s),this._size[1]/2],e);r[t].setStyle({x:l[0],y:l[1],verticalAlign:i===te?"middle":a,align:i===te?a:"center",text:o[t]})}h.call(this,0),h.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,r=n.get("labelFormatter"),i=n.get("labelPrecision");(null==i||"auto"===i)&&(i=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(i,20));return(0,o.isFunction)(r)?r(t,a):(0,o.isString)(r)?r.replace("{value}",a):a},e.prototype._showDataInfo=function(t){var e=(this.dataZoomModel.get("handleLabel")||{}).show||!1,n=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,r=t||this._dragging?n:e,i=this._displayables,o=i.handleLabels;o[0].attr("invisible",!r),o[1].attr("invisible",!r),i.moveHandle&&this.api[r?"enterEmphasis":"leaveEmphasis"](i.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,r){this._dragging=!0,V.ds(r.event);var i=this._displayables.sliderGroup.getLocalTransform(),o=Y.applyTransform([e,n],i,!0),a=this._updateInterval(t,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),this.dataZoomModel.get("realtime")||this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0)&&!(n[0]>e[0])&&!(n[1]<0)&&!(n[1]>e[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new $.A(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(new Date-this._brushStartTime<200&&5>Math.abs(n.width))){var r=this._getViewExtent(),i=[0,100];this._range=(0,E.Y6)([(0,E.Cb)(n.x,r,i,!0),(0,E.Cb)(n.x+n.width,r,i,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(V.ds(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,r=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new tt({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?ti:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=c(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var r=this.api.getWidth(),i=this.api.getHeight();t={x:.2*r,y:.2*i,width:.6*r,height:.6*i}}return t},e.type="dataZoom.slider",e}(v);function ta(t){return"vertical"===t?"ns-resize":"ew-resize"}function ts(t){t.registerComponentModel(H),t.registerComponentView(to),j(t)}function tl(t){(0,r.Y)(z),(0,r.Y)(ts)}},59717:function(t,e,n){"use strict";n.d(e,{a:()=>ti});var r=n(367),i=n(95411),o=n(90558),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(o.A),s=n(99618),l=n(12417),u=n(26772),c=n(47632),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",c.US).models[0]},e.type="cartesian2dAxis",e}(o.A);l.mixin(h,u.L);var f={show:!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:"#6E7079",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,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},d=l.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},f),p=l.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},f),g=l.merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},p),y=l.defaults({logBase:10},p);let v={category:d,value:p,time:g,log:y};var m=n(76359),_=n(17309),b={value:1,category:1,time:1,log:1};function x(t,e,n,i){(0,l.each)(b,function(o,a){var s=(0,l.merge)((0,l.merge)({},v[a],!0),i,!0),u=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return(0,r.C6)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,m.ad)(this),r=n?(0,m.vs)(t):{},i=e.getTheme();(0,l.merge)(t,i.get(a+"Axis")),(0,l.merge)(t,this.getDefaultOption()),t.type=w(t),n&&(0,m.YA)(t,r,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=_.A.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(u)}),t.registerSubTypeDefaulter(e+"Axis",w)}function w(t){return t.type||(t.data?"category":"value")}var S=n(54467),A=n(10923),M=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return l.map(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),l.filter(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),k=n(85124),T=n(80410),C=["x","y"];function O(t){return"interval"===t.type||"time"===t.type}var I=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=C,e}return(0,r.C6)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(O(t)&&O(e)){var n=t.getExtent(),r=e.getExtent(),i=this.dataToPoint([n[0],r[0]]),o=this.dataToPoint([n[1],r[1]]),a=n[1]-n[0],s=r[1]-r[0];if(a&&s){var l=(o[0]-i[0])/a,u=(o[1]-i[1])/s,c=i[0]-n[0]*l,h=i[1]-r[0]*u,f=this._transform=[l,0,0,u,c,h];this._invTransform=(0,k.invert)([],f)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),r=this.dataToPoint(e),i=this.getArea(),o=new A.A(n[0],n[1],r[0]-n[0],r[1]-n[1]);return i.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var r=t[0],i=t[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return(0,T.applyTransform)(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(r,e)),n[1]=a.toGlobalCoord(a.dataToCoord(i,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(t[0]),s=r.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return(0,T.applyTransform)(n,t,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(t[0]),e),n[1]=i.coordToData(i.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),r=Math.min(e[0],e[1])-t,i=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-r+t,a=Math.max(n[0],n[1])-i+t;return new A.A(r,i,o,a)},e}(M),E=function(t){function e(e,n,r,i,o){var a=t.call(this,e,n,r)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return(0,r.C6)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[+("x"!==this.dim)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(n(54285).A),D=n(96352),R=n(59933),L=n(90016),P=n(3552),N=Math.log,B=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=C,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function r(t){var e,n=(0,l.keys)(t),r=n.length;if(r){for(var i=[],o=r-1;o>=0;o--){var a=t[+n[o]],s=a.model,u=a.scale;(0,R.rf)(u)&&s.get("alignTicks")&&null==s.get("interval")?i.push(a):((0,S.af)(u,s),(0,R.rf)(u)&&(e=a))}i.length&&(e||(e=i.pop(),(0,S.af)(e.scale,e.model)),(0,l.each)(i,function(t){!function(t,e,n){var r=P.A.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=(0,S.Rx)(t,e),u=l.extent,c=l.fixMin,h=l.fixMax;if("log"===t.type){var f=N(t.base);u=[N(u[0])/f,N(u[1])/f]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:h});var d=r.getExtent.call(t);c&&(u[0]=d[0]),h&&(u[1]=d[1]);var p=r.getInterval.call(t),g=u[0],y=u[1];if(c&&h)p=(y-g)/a;else if(c)for(y=u[0]+p*a;y<u[1]&&isFinite(y)&&isFinite(u[1]);)p=(0,R.kH)(p),y=u[0]+p*a;else if(h)for(g=u[1]-p*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)p=(0,R.kH)(p),g=u[1]-p*a;else{t.getTicks().length-1>a&&(p=(0,R.kH)(p));var v=p*a;y=Math.ceil(u[1]/p)*p,(g=(0,L.LI)(y-v))<0&&u[0]>=0?(g=0,y=(0,L.LI)(v)):y>0&&u[1]<=0&&(y=0,g=-(0,L.LI)(v))}var m=(i[0].value-o[0].value)/s,_=(i[a].value-o[a].value)/s;r.setExtent.call(t,g+p*m,y+p*_),r.setInterval.call(t,p),(m||_)&&r.setNiceExtent.call(t,g+p,y-p)}(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),r(n.x),r(n.y);var i={};(0,l.each)(n.x,function(t){j(n,"y",t,i)}),(0,l.each)(n.y,function(t){j(n,"x",t,i)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var r=t.getBoxLayoutParams(),i=!n&&t.get("containLabel"),o=(0,m.dV)(r,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){(0,l.each)(a,function(t){var e,n,r,i,a=t.isHorizontal(),s=a?[0,o.width]:[0,o.height],l=+!!t.inverse;t.setExtent(s[l],s[1-l]),e=t,n=a?o.x:o.y,i=(r=e.getExtent())[0]+r[1],e.toGlobalCoord="x"===e.dim?function(t){return t+n}:function(t){return i-t+n},e.toLocalCoord="x"===e.dim?function(t){return t-n}:function(t){return i-t+n}})}s(),i&&((0,l.each)(a,function(t){if(!t.model.get(["axisLabel","inside"])){var e=(0,S.Og)(t);if(e){var n=t.isHorizontal()?"height":"width",r=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+r,"top"===t.position?o.y+=e.height+r:"left"===t.position&&(o.x+=e.width+r)}}}),s()),(0,l.each)(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,l.isObject)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var r=0,i=this._coordsList;r<i.length;r++)if(i[r].getAxis("x").index===t||i[r].getAxis("y").index===e)return i[r]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var r=this._findConvertTarget(e);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var r=this._findConvertTarget(e);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,r=t.seriesModel,i=t.xAxisModel||r&&r.getReferringComponents("xAxis",c.US).models[0],o=t.yAxisModel||r&&r.getReferringComponents("yAxis",c.US).models[0],a=t.gridModel,s=this._coordsList;return r?(e=r.coordinateSystem,0>(0,l.indexOf)(s,e)&&(e=null)):i&&o?e=this.getCartesian(i.componentIndex,o.componentIndex):i?n=this.getAxis("x",i.componentIndex):o?n=this.getAxis("y",o.componentIndex):a&&a.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var r=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",u("x"),this),e.eachComponent("yAxis",u("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}function u(e){return function(n,r){if(F(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new E(e,(0,S.f$)(n),[0,0],n.get("type"),l),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=i,u.index=r,i._axesList.push(u),a[e][r]=u,s[e]++}}}this._axesMap=a,(0,l.each)(a.x,function(e,n){(0,l.each)(a.y,function(i,o){var a="x"+n+"y"+o,s=new I(a);s.master=r,s.model=t,r._coordsMap[a]=s,r._coordsList.push(s),s.addAxis(e),s.addAxis(i)})})},t.prototype._updateScale=function(t,e){function n(t,e){(0,l.each)((0,S.wq)(t,e.dim),function(n){e.scale.unionExtentFromData(t,n)})}(0,l.each)(this._axesList,function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}}),t.eachSeries(function(t){if((0,D.gO)(t)){var r=(0,D.LR)(t),i=r.xAxisModel,o=r.yAxisModel;if(F(i,e)&&F(o,e)){var a=this.getCartesian(i.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}},this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return(0,l.each)(this.getCartesians(),function(r){var i=null!=t&&"auto"!==t?r.getAxis(t):r.getBaseAxis(),o=r.getOtherAxis(i);0>(0,l.indexOf)(e,i)&&e.push(i),0>(0,l.indexOf)(n,o)&&n.push(o)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var r=[];return e.eachComponent("grid",function(i,o){var a=new t(i,e,n);a.name="grid_"+o,a.resize(i,n,!0),i.coordinateSystem=a,r.push(a)}),e.eachSeries(function(t){if((0,D.gO)(t)){var e=(0,D.LR)(t),n=e.xAxisModel,r=e.yAxisModel;t.coordinateSystem=n.getCoordSysModel().coordinateSystem.getCartesian(n.componentIndex,r.componentIndex)}}),r},t.dimensions=C,t}();function F(t,e){return t.getCoordSysModel()===e}function j(t,e,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)z(o[l])&&(i=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&z(o[u])&&!r[c(o[u])]){i=o[u];break}i&&(r[c(i)]=!0)}function c(t){return t.dim+"_"+t.index}}function z(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,S.JJ)(t)}var H=n(96001),V=n(74861),U=n(60620),W=n(24464),q=n(46502),G=(0,c.$r)(),Z=["axisLine","axisTickLabel","axisName"],Y=["splitArea","splitLine","minorSplitLine"],$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,r.C6)(e,t),e.prototype.render=function(e,n,r,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new H.A,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=D.Zp(a,e),u=new W.A(e,l.extend({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),r=0;r<n.length;r++)if((0,R.rf)(n[r].getOtherAxis(e.axis).scale))return!0;return!1}},s));l.each(Z,u.add,u),this._axisGroup.add(u.getGroup()),l.each(Y,function(t){e.get([t,"show"])&&X[t](this,this._axisGroup,e,a)},this),i&&"changeAxisOrder"===i.type&&i.isInitSort||V.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,n,r,i)}},e.prototype.remove=function(){G(this).splitAreaColors=null},e.type="cartesianAxis",e}(q.A),X={splitLine:function(t,e,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color"),u=!1!==o.get("showMinLine"),c=!1!==o.get("showMaxLine");s=l.isArray(s)?s:[s];for(var h=r.coordinateSystem.getRect(),f=i.isHorizontal(),d=0,p=i.getTicksCoords({tickModel:o}),g=[],y=[],v=a.getLineStyle(),m=0;m<p.length;m++){var _=i.toGlobalCoord(p[m].coord);if((0!==m||u)&&(m!==p.length-1||c)){var b=p[m].tickValue;f?(g[0]=_,g[1]=h.y,y[0]=_,y[1]=h.y+h.height):(g[0]=h.x,g[1]=_,y[0]=h.x+h.width,y[1]=_);var x=d++%s.length,w=new U.A({anid:null!=b?"line_"+b:null,autoBatch:!0,shape:{x1:g[0],y1:g[1],x2:y[0],y2:y[1]},style:l.defaults({stroke:s[x]},v),silent:!0});V.subPixelOptimizeLine(w.shape,v.lineWidth),e.add(w)}}}},minorSplitLine:function(t,e,n,r){var i=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=r.coordinateSystem.getRect(),s=i.isHorizontal(),l=i.getMinorTicksCoords();if(l.length)for(var u=[],c=[],h=o.getLineStyle(),f=0;f<l.length;f++)for(var d=0;d<l[f].length;d++){var p=i.toGlobalCoord(l[f][d].coord);s?(u[0]=p,u[1]=a.y,c[0]=p,c[1]=a.y+a.height):(u[0]=a.x,u[1]=p,c[0]=a.x+a.width,c[1]=p);var g=new U.A({anid:"minor_line_"+l[f][d].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:h,silent:!0});V.subPixelOptimizeLine(g.shape,h.lineWidth),e.add(g)}},splitArea:function(t,e,n,r){!function(t,e,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),u=a.get("color"),c=r.coordinateSystem.getRect(),h=i.getTicksCoords({tickModel:o,clamp:!0});if(h.length){var f=u.length,d=G(t).splitAreaColors,p=l.createHashMap(),g=0;if(d)for(var y=0;y<h.length;y++){var v=d.get(h[y].tickValue);if(null!=v){g=(v+(f-1)*y)%f;break}}var m=i.toGlobalCoord(h[0].coord),_=a.getAreaStyle();u=l.isArray(u)?u:[u];for(var y=1;y<h.length;y++){var b=i.toGlobalCoord(h[y].coord),x=void 0,w=void 0,S=void 0,A=void 0;i.isHorizontal()?(x=m,w=c.y,S=b-x,A=c.height,m=x+S):(x=c.x,w=m,S=c.width,A=b-w,m=w+A);var M=h[y-1].tickValue;null!=M&&p.set(M,g),e.add(new s.A({anid:null!=M?"area_"+M:null,shape:{x:x,y:w,width:S,height:A},style:l.defaults({fill:u[g]},_),autoBatch:!0,silent:!0})),g=(g+1)%f}G(t).splitAreaColors=p}}}(t,e,n,r)}},K=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.type="xAxis",e}($),J=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=K.type,e}return(0,r.C6)(e,t),e.type="yAxis",e}($),Q=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,r.C6)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new s.A({shape:t.coordinateSystem.getRect(),style:(0,l.defaults)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(i.A),tt={offset:0};function te(t){t.registerComponentView(Q),t.registerComponentModel(a),t.registerCoordinateSystem("cartesian2d",B),x(t,"x",h,tt),x(t,"y",h,tt),t.registerComponentView(K),t.registerComponentView(J),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}var tn=n(61384),tr=n(40097);function ti(t){(0,tr.Y)(te),(0,tr.Y)(tn.a)}},80443:function(t,e,n){"use strict";n.d(e,{A:()=>d});var r=n(367),i=n(81970),o=n(67137),a=n(54549),s=n(12417),l="\0_ec_interaction_mutex";function u(t){return t[l]||(t[l]={})}function c(t,e,n,r,i){t.pointerChecker&&t.pointerChecker(r,i.originX,i.originY)&&(o.ds(r.event),h(t,e,n,r,i))}function h(t,e,n,r,i){i.isAvailableBehavior=(0,s.bind)(f,null,n,r),t.trigger(e,i)}function f(t,e,n){var r=n[t];return!t||r&&(!(0,s.isString)(r)||e.event[r+"Key"])}a.OH({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},s.noop);let d=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var r=(0,s.bind)(n._mousedownHandler,n),i=(0,s.bind)(n._mousemoveHandler,n),o=(0,s.bind)(n._mouseupHandler,n),a=(0,s.bind)(n._mousewheelHandler,n),l=(0,s.bind)(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=(0,s.defaults)((0,s.clone)(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),(!0===t||"move"===t||"pan"===t)&&(e.on("mousedown",r),e.on("mousemove",i),e.on("mouseup",o)),(!0===t||"scale"===t||"zoom"===t)&&(e.on("mousewheel",a),e.on("pinch",l))},n.disable=function(){e.off("mousedown",r),e.off("mousemove",i),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",l)},n}return(0,r.C6)(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!o.W5(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,r=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,r)&&(this._x=n,this._y=r,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(!(!this._dragging||!f("moveOnMouseMove",t,this._opt)||"pinch"===t.gestureEvent||u(this._zr).globalPan)){var e=t.offsetX,n=t.offsetY,r=this._x,i=this._y;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&o.ds(t.event),h(this,"pan","moveOnMouseMove",t,{dx:e-r,dy:n-i,oldX:r,oldY:i,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){o.W5(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=f("zoomOnMouseWheel",t,this._opt),n=f("moveOnMouseWheel",t,this._opt),r=t.wheelDelta,i=Math.abs(r),o=t.offsetX,a=t.offsetY;if(0!==r&&(e||n)){if(e){var s=i>3?1.4:i>1?1.2:1.1;c(this,"zoom","zoomOnMouseWheel",t,{scale:r>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(r);c(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(r>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!u(this._zr).globalPan){var e=t.pinchScale>1?1.1:1/1.1;c(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(i.A)},25920:function(t,e,n){"use strict";n.d(e,{a:()=>X});var r=n(61384),i=n(40097),o=n(367),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.C6)(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(n(90558).A),s=n(12417),l=n(55198),u=n(67137),c=n(82557),h=n(3662);function f(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function d(t){if(l.A.domSupported){for(var e=document.documentElement.style,n=0,r=t.length;n<r;n++)if(t[n]in e)return t[n]}}var p=d(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),g=d(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function y(t,e){if(!t)return e;e=(0,h.Cb)(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var v=n(5231),m=y(g,"transition"),_=y(p,"transform"),b="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(l.A.transform3dSupported?"will-change:transform;":"");function x(t,e,n){var r=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!l.A.transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=l.A.transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+_+":"+a+";":[["top",0],["left",0],[p,a]]}function w(t,e,n,r,i){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,c.lJ)(t,a,n,r,i)}else{t[0]=r,t[1]=i;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var S=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,l.A.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var r=this._zr=t.getZr(),i=e.appendTo,o=i&&((0,s.isString)(i)?document.querySelector(i):(0,s.isDom)(i)?i:(0,s.isFunction)(i)&&i(t.getDom()));w(this._styleCoord,r,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=r.handler,n=r.painter.getViewportRoot();(0,u.e0)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e,n,r=this._api.getDom(),i=(e="position",(n=r.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(r))?e?n[e]:n:null),o=r.style;"absolute"!==o.position&&"absolute"!==i&&(o.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n,r,i,o,a,u,c,f,d,p,g,y,w,S,A,M,k,T,C,O,I,E,D=this.el,R=D.style,L=this._styleCoord;D.innerHTML?R.cssText=b+(n=!this._firstShow,r=this._longHide,i=[],o=t.get("transitionDuration"),a=t.get("backgroundColor"),u=t.get("shadowBlur"),c=t.get("shadowColor"),f=t.get("shadowOffsetX"),d=t.get("shadowOffsetY"),p=t.getModel("textStyle"),g=(0,v.CO)(t,"html"),y=f+"px "+d+"px "+u+"px "+c,i.push("box-shadow:"+y),n&&o&&i.push((S="opacity"+(w=" "+o/2+"s cubic-bezier(0.23,1,0.32,1)")+",visibility"+w,r||(w=" "+o+"s cubic-bezier(0.23,1,0.32,1)",S+=l.A.transformSupported?","+_+w:",left"+w+",top"+w),m+":"+S)),a&&i.push("background-color:"+a),(0,s.each)(["width","color","radius"],function(e){var n="border-"+e,r=(0,h.Cb)(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))}),i.push((A=[],M=p.get("fontSize"),(k=p.getTextColor())&&A.push("color:"+k),A.push("font:"+p.getFont()),T=(0,s.retrieve2)(p.get("lineHeight"),Math.round(3*M/2)),M&&A.push("line-height:"+T+"px"),C=p.get("textShadowColor"),O=p.get("textShadowBlur")||0,I=p.get("textShadowOffsetX")||0,E=p.get("textShadowOffsetY")||0,C&&O&&A.push("text-shadow:"+I+"px "+E+"px "+O+"px "+C),(0,s.each)(["decoration","align"],function(t){var e=p.get(t);e&&A.push("text-"+t+":"+e)}),A.join(";"))),null!=g&&i.push("padding:"+(0,h.QX)(g).join("px ")+"px"),i.join(";")+";")+x(L[0],L[1],!0)+"border-color:"+(0,h.he)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):R.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,r,i){var o=this.el;if(null==t){o.innerHTML="";return}var a="";if((0,s.isString)(i)&&"item"===n.get("trigger")&&!f(n)&&(a=function(t,e,n){if(!(0,s.isString)(n)||"inside"===n)return"";var r,i,o=t.get("backgroundColor"),a=t.get("borderWidth");e=(0,h.he)(e);var l=r="left"===(r=n)?"right":"right"===r?"left":"top"===r?"bottom":"top",u=Math.max(1.5*Math.round(a),6),c="",f=_+":";(0,s.indexOf)(["left","right"],l)>-1?(c+="top:50%",f+="translateY(-50%) rotate("+(i="left"===l?-225:-45)+"deg)"):(c+="left:50%",f+="translateX(-50%) rotate("+(i="top"===l?225:45)+"deg)");var d=i*Math.PI/180,p=u+a,g=p*Math.abs(Math.cos(d))+p*Math.abs(Math.sin(d));c+=";"+l+":-"+Math.round(((g-Math.SQRT2*a)/2+Math.SQRT2*a-(g-p)/2)*100)/100+"px";var y=e+" solid "+a+"px;";return'<div style="'+["position:absolute;width:"+u+"px;height:"+u+"px;z-index:-1;",c+";"+f+";","border-bottom:"+y,"border-right:"+y,"background-color:"+o+";"].join("")+'"></div>'}(n,r,i)),(0,s.isString)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,s.isArray)(t)||(t=[t]);for(var l=0;l<t.length;l++)(0,s.isDom)(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},t.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(w(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var r=this.el.style,i=x(n[0],n[1]);(0,s.each)(i,function(t){r[t[0]]=t[1]})}}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",l.A.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,s.bind)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),A=n(32031),M=n(48635),k=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),O(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,r,i){var o=this;s.isObject(t)&&(0,M.$8)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new A.Ay({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,v.CO)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),s.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=n.get(t)}),s.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=C(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var r=this._styleCoord;O(r,this._zr,t,e),t=r[0],e=r[1];var i=n.style,o=T(i.borderWidth||0),a=C(i);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(s.bind(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function T(t){return Math.max(0,t)}function C(t){var e=T(t.shadowBlur||0),n=T(t.shadowOffsetX||0),r=T(t.shadowOffsetY||0);return{left:T(e-n),right:T(e+n),top:T(e-r),bottom:T(e+r)}}function O(t,e,n,r){t[0]=n,t[1]=r,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var I=n(90016),E=n(99618),D=n(22307),R=n(76359),L=n(43116),P=n(88674),N=n(54467),B=n(44436),F=n(47632),j=n(95411),z=n(42476),H=n(44988),V=n(13389),U=n(85213),W=n(81557),q=new E.A({shape:{x:-1,y:-1,width:2,height:2}}),G=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.C6)(e,t),e.prototype.init=function(t,e){if(!l.A.node&&e.getDom()){var n=t.getComponent("tooltip"),r=this._renderMode=(0,F.XJ)(n.get("renderMode"));this._tooltipContent="richText"===r?new k(e):new S(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!l.A.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var r=this._tooltipContent;r.update(t),r.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,W.N)(this,"_updatePosition",50,"fixRate"):(0,W.IU)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");P.k("itemTooltip",this._api,(0,s.bind)(function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,r=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.isDisposed()||i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,r){if(r.from!==this.uid&&!l.A.node&&n.getDom()){var i=Y(r,n);this._ticket="";var o=r.dataByCoordSys,a=function(t,e,n){var r,i=(0,F.HB)(t).queryOptionMap,o=i.keys()[0];if(o&&"series"!==o){var a=(0,F.JO)(e,o,i.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a&&(n.getViewOfComponentModel(a).group.traverse(function(e){var n=(0,H.z)(e).tooltipConfig;if(n&&n.name===t.name)return r=e,!0}),r))return{componentMainType:o,componentIndex:a.componentIndex,el:r}}}(r,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y)q.x=r.x,q.y=r.y,q.update(),(0,H.z)(q).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:q},i);else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var u=(0,D.A)(r,e),c=u.point[0],h=u.point[1];null!=c&&null!=h&&this._tryShow({offsetX:c,offsetY:h,target:u.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},e.prototype.manuallyHideTip=function(t,e,n,r){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(Y(r,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,r){var i=r.seriesIndex,o=r.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=e.getSeriesByIndex(i);if(s&&"axis"===Z([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var r,i,o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(n){if("legend"===(0,H.z)(n).ssrType)return;this._lastDataByCoordSys=null,(0,U.R)(n,function(t){return null!=(0,H.z)(t).dataIndex?(r=t,!0):null!=(0,H.z)(t).tooltipConfig?(i=t,!0):void 0},!0),r?this._showSeriesItemTooltip(t,r,e):i?this._showComponentItemTooltip(t,i,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,s.bind)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,r=this._tooltipModel,i=[e.offsetX,e.offsetY],o=Z([e.tooltipOption],r),a=this._renderMode,l=[],u=(0,v.Qx)("section",{blocks:[],noHeader:!0}),c=[],f=new v.lb;(0,s.each)(t,function(t){(0,s.each)(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value;if(e&&null!=i){var o=B._F(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=(0,v.Qx)("section",{header:o,noHeader:!(0,s.trim)(o),sortBlocks:!0,blocks:[]});u.blocks.push(d),(0,s.each)(t.seriesDataIndices,function(u){var p=n.getSeriesByIndex(u.seriesIndex),g=u.dataIndexInside,y=p.getDataParams(g);if(!(y.dataIndex<0)){y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=N.Dt(e.axis,{value:i}),y.axisValueLabel=o,y.marker=f.makeTooltipMarker("item",(0,h.he)(y.color),a);var v=(0,V.L)(p.formatTooltip(g,!0,null)),m=v.frag;if(m){var _=Z([p],r).get("valueFormatter");d.blocks.push(_?(0,s.extend)({valueFormatter:_},m):m)}v.text&&c.push(v.text),l.push(y)}})}})}),u.blocks.reverse(),c.reverse();var d=e.position,p=o.get("order"),g=(0,v.Yu)(u,f,a,p,n.get("useUTC"),o.get("textStyle"));g&&c.unshift(g);var y="richText"===a?"\n\n":"<br/>",m=c.join(y);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,d,i[0],i[1],this._tooltipContent,l):this._showTooltipContent(o,m,l,Math.random()+"",i[0],i[1],d,null,f)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var r=this._ecModel,i=(0,H.z)(e),o=i.seriesIndex,a=r.getSeriesByIndex(o),l=i.dataModel||a,u=i.dataIndex,c=i.dataType,f=l.getData(c),d=this._renderMode,p=t.positionDefault,g=Z([f.getItemModel(u),l,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),y=g.get("trigger");if(null==y||"item"===y){var m=l.getDataParams(u,c),_=new v.lb;m.marker=_.makeTooltipMarker("item",(0,h.he)(m.color),d);var b=(0,V.L)(l.formatTooltip(u,!1,c)),x=g.get("order"),w=g.get("valueFormatter"),S=b.frag,A=S?(0,v.Yu)(w?(0,s.extend)({valueFormatter:w},S):S,_,d,x,r.get("useUTC"),g.get("textStyle")):b.text,M="item_"+l.name+"_"+u;this._showOrMove(g,function(){this._showTooltipContent(g,A,m,M,t.offsetX,t.offsetY,t.position,t.target,_)}),n({type:"showTip",dataIndexInside:u,dataIndex:f.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var r="html"===this._renderMode,i=(0,H.z)(e),o=i.tooltipConfig.option||{},a=o.encodeHTMLContent;if((0,s.isString)(o)){var l=o;o={content:l,formatter:l},a=!0}a&&r&&o.content&&((o=(0,s.clone)(o)).content=(0,c.Me)(o.content));var u=[o],h=this._ecModel.getComponent(i.componentMainType,i.componentIndex);h&&u.push(h),u.push({formatter:o.content});var f=t.positionDefault,d=Z(u,this._tooltipModel,f?{position:f}:null),p=d.get("content"),g=Math.random()+"",y=new v.lb;this._showOrMove(d,function(){var n=(0,s.clone)(d.get("formatterParams")||{});this._showTooltipContent(d,p,n,g,t.offsetX,t.offsetY,t.position,e,y)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,r,i,o,a,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var f=t.get("formatter");a=a||t.get("position");var d=e,p=this._getNearestPoint([i,o],n,t.get("trigger"),t.get("borderColor")).color;if(f)if((0,s.isString)(f)){var g=t.ecModel.get("useUTC"),y=(0,s.isArray)(n)?n[0]:n,v=y&&y.axisType&&y.axisType.indexOf("time")>=0;d=f,v&&(d=(0,z.GP)(y.axisValue,d,g)),d=(0,h.YK)(d,n,!0)}else if((0,s.isFunction)(f)){var m=(0,s.bind)(function(e,r){e===this._ticket&&(c.setContent(r,u,t,p,a),this._updatePosition(t,a,i,o,c,n,l))},this);this._ticket=r,d=f(n,r,m)}else d=f;c.setContent(d,u,t,p,a),c.show(t,p),this._updatePosition(t,a,i,o,c,n,l)}},e.prototype._getNearestPoint=function(t,e,n,r){return"axis"===n||(0,s.isArray)(e)?{color:r||("html"===this._renderMode?"#fff":"none")}:(0,s.isArray)(e)?void 0:{color:r||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,r,i,o,a){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=i.getSize(),h=t.get("align"),d=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),(0,s.isFunction)(e)&&(e=e([n,r],o,i.el,p,{viewSize:[l,u],contentSize:c.slice()})),(0,s.isArray)(e))n=(0,I.lo)(e[0],l),r=(0,I.lo)(e[1],u);else if((0,s.isObject)(e)){var g=e;g.width=c[0],g.height=c[1];var y=(0,R.dV)(g,{width:l,height:u});n=y.x,r=y.y,h=null,d=null}else if((0,s.isString)(e)&&a){var v=function(t,e,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-i/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-i/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-i/2,l=e.y+c+a;break;case"left":s=e.x-i-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}(e,p,c,t.get("borderWidth"));n=v[0],r=v[1]}else{var m,_,b,x,w,S,A,M,k,T,v=(m=n,_=r,b=i,x=l,w=u,S=h?null:20,A=d?null:20,k=(M=b.getSize())[0],T=M[1],null!=S&&(m+k+S+2>x?m-=k+S:m+=S),null!=A&&(_+T+A>w?_-=T+A:_+=A),[m,_]);n=v[0],r=v[1]}if(h&&(n-=$(h)?c[0]/2:"right"===h?c[0]:0),d&&(r-=$(d)?c[1]/2:"bottom"===d?c[1]:0),f(t)){var C,O,E,D,L,P,N,B,v=(C=n,O=r,E=i,D=l,L=u,N=(P=E.getSize())[0],B=P[1],C=Math.min(C+N,D)-N,O=Math.min(O+B,L)-B,[C=Math.max(C,0),O=Math.max(O,0)]);n=v[0],r=v[1]}i.moveTo(n,r)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===t.length;return i&&(0,s.each)(n,function(n,o){var a=n.dataByAxis||[],l=(t[o]||{}).dataByAxis||[];(i=i&&a.length===l.length)&&(0,s.each)(a,function(t,n){var o=l[n]||{},a=t.seriesDataIndices||[],u=o.seriesDataIndices||[];(i=i&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===u.length)&&(0,s.each)(a,function(t,e){var n=u[e];i=i&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),r&&(0,s.each)(t.seriesDataIndices,function(t){var n=t.seriesIndex,o=e[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!i},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!l.A.node&&e.getDom()&&((0,W.IU)(this,"_updatePosition"),this._tooltipContent.dispose(),P.h("itemTooltip",e))},e.type="tooltip",e}(j.A);function Z(t,e,n){var r,i=e.ecModel;n?(r=new L.A(n,i,i),r=new L.A(e.option,r,i)):r=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof L.A&&(a=a.get("tooltip",!0)),(0,s.isString)(a)&&(a={formatter:a}),a&&(r=new L.A(a,r,i)))}return r}function Y(t,e){return t.dispatchAction||(0,s.bind)(e.dispatchAction,e)}function $(t){return"center"===t||"middle"===t}function X(t){(0,i.Y)(r.a),t.registerComponentModel(a),t.registerComponentView(G),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},s.noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},s.noop)}},5231:function(t,e,n){"use strict";n.d(e,{CO:()=>b,Qx:()=>f,Yu:()=>y,aw:()=>_,lb:()=>x});var r=n(82557),i=n(3662),o=n(12417),a=n(48655),s=n(90016);function l(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+(0,r.Me)(e+"")+"px"}function u(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,r.Me)(i+"")+"px;color:"+(0,r.Me)(n)+";font-weight:"+(0,r.Me)(o+""),valueStyle:"font-size:"+(0,r.Me)(s+"")+"px;color:"+(0,r.Me)(a)+";font-weight:"+(0,r.Me)(l+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var c=[0,10,20,30],h=["","\n","\n\n","\n\n\n"];function f(t,e){return e.type=t,e}function d(t){return"section"===t.type}function p(t,e,n,s){var f,y=e.noHeader,_={html:c[f=function t(e){if(d(e)){var n=0,r=e.blocks.length,i=r>1||r>0&&!e.noHeader;return(0,o.each)(e.blocks,function(e){var r=t(e);r>=n&&(n=r+ +(i&&(!r||d(e)&&!e.noHeader)))}),n}return 0}(e)],richText:h[f]},b=[],x=e.blocks||[];(0,o.assert)(!x||(0,o.isArray)(x)),x=x||[];var w=t.orderMode;if(e.sortBlocks&&w){x=x.slice();var S={valueAsc:"asc",valueDesc:"desc"};if((0,o.hasOwn)(S,w)){var A=new a.Fl(S[w],null);x.sort(function(t,e){return A.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===w&&x.reverse()}(0,o.each)(x,function(n,r){var i=e.valueFormatter,a=(d(n)?p:g)(i?(0,o.extend)((0,o.extend)({},t),{valueFormatter:i}):t,n,r>0?_.html:0,s);null!=a&&b.push(a)});var M="richText"===t.renderMode?b.join(_.richText):v(s,b.join(""),y?n:_.html);if(y)return M;var k=(0,i.yC)(e.header,"ordinal",t.useUTC),T=u(s,t.renderMode).nameStyle,C=l(s);return"richText"===t.renderMode?m(t,k,T)+_.richText+M:v(s,'<div style="'+T+";"+C+';">'+(0,r.Me)(k)+"</div>"+M,n)}function g(t,e,n,a){var s=t.renderMode,l=e.noName,c=e.noValue,h=!e.markerType,f=e.name,d=t.useUTC,p=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.isArray)(t)?t:[t],(0,o.map)(t,function(t,e){return(0,i.yC)(t,(0,o.isArray)(O)?O[e]:O,d)})};if(!l||!c){var g,y,_,b,x,w,S,A,M,k,T=h?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",s),C=l?"":(0,i.yC)(f,"ordinal",d),O=e.valueType,I=c?[]:p(e.value,e.dataIndex),E=!h||!l,D=!h&&l,R=u(a,s),L=R.nameStyle,P=R.valueStyle;return"richText"===s?(h?"":T)+(l?"":m(t,C,L))+(c?"":(g=t,y=I,_=E,b=D,x=[P],_&&x.push({padding:[0,0,0,b?10:20],align:"right"}),g.markupStyleCreator.wrapRichTextStyle((0,o.isArray)(y)?y.join(" "):y,x))):v(a,(h?"":T)+(l?"":(w=C,'<span style="'+L+";"+(h?"":"margin-left:2px")+'">'+(0,r.Me)(w)+"</span>"))+(c?"":(S=I,A=E,M=D,k=P,S=(0,o.isArray)(S)?S:[S],'<span style="'+(A?"float:right;margin-left:"+(M?"10px":"20px"):"")+";"+k+'">'+(0,o.map)(S,function(t){return(0,r.Me)(t)}).join(" ")+"</span>")),n)}}function y(t,e,n,r,i,o){if(t)return(d(t)?p:g)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function v(t,e,n){return'<div style="margin: '+n+"px 0 0;"+l(t)+';">'+e+'<div style="clear:both"></div></div>'}function m(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function _(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,i.he)(n)}function b(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var x=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var r="richText"===n?this._generateStyleName():null,a=(0,i.qg)({color:e,type:t,renderMode:n,markerId:r});return(0,o.isString)(a)?a:(this.richTextStyles[r]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.isArray)(e)?(0,o.each)(e,function(t){return(0,o.extend)(n,t)}):(0,o.extend)(n,e);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+t+"}"},t}()},54285:function(t,e,n){"use strict";n.d(e,{A:()=>m});var r=n(12417),i=n(90016),o=n(3879),a=n(47632),s=n(54467),l=(0,a.$r)();function u(t,e){var n=r.map(e,function(e){return t.scale.parse(e)});return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function c(t,e){var n,i,o,a,u=h(t,"labels"),c=(0,s.j2)(e),y=f(u,c);return y||(r.isFunction(c)?o=g(t,c):(a="auto"===c?null!=(i=l(n=t).autoInterval)?i:l(n).autoInterval=n.calculateCategoryInterval():c,o=p(t,a)),d(u,c,{labels:o,labelCategoryInterval:a}))}function h(t,e){return l(t)[e]||(l(t)[e]=[])}function f(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function d(t,e,n){return t.push({key:e,value:n}),n}function p(t,e,n){var r=(0,s.ry)(t),i=t.scale,o=i.getExtent(),a=t.getLabelModel(),l=[],u=Math.max((e||0)+1,1),c=o[0],h=i.count();0!==c&&u>1&&h/u>2&&(c=Math.round(Math.ceil(c/u)*u));var f=(0,s.PJ)(t),d=a.get("showMinLabel")||f,p=a.get("showMaxLabel")||f;d&&c!==o[0]&&y(o[0]);for(var g=c;g<=o[1];g+=u)y(g);function y(t){var e={value:t};l.push(n?t:{formattedLabel:r(e),rawLabel:i.getLabel(e),tickValue:t})}return p&&g-u!==o[1]&&y(o[1]),l}function g(t,e,n){var i=t.scale,o=(0,s.ry)(t),a=[];return r.each(i.getTicks(),function(t){var r=i.getLabel(t),s=t.value;e(t.value,r)&&a.push(n?s:{formattedLabel:o(t),rawLabel:r,tickValue:s})}),a}var y=[0,1];function v(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}let m=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]);return t>=n&&t<=r},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return(0,i.hb)(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,r=this.scale;return t=r.normalize(t),this.onBand&&"ordinal"===r.type&&v(n=n.slice(),r.count()),(0,i.Cb)(t,y,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&v(n=n.slice(),r.count());var o=(0,i.Cb)(t,n,y,e);return this.scale.scale(o)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=function(t,e){var n=t.getTickModel().get("customValues");if(n){var i=t.scale.getExtent(),o=u(t,n);return{ticks:r.filter(o,function(t){return t>=i[0]&&t<=i[1]})}}return"category"===t.type?function(t,e){var n,i,o=h(t,"ticks"),a=(0,s.j2)(e),l=f(o,a);if(l)return l;if((!e.get("show")||t.scale.isBlank())&&(n=[]),r.isFunction(a))n=g(t,a,!0);else if("auto"===a){var u=c(t,t.getLabelModel());i=u.labelCategoryInterval,n=r.map(u.labels,function(t){return t.tickValue})}else n=p(t,i=a,!0);return d(o,a,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:r.map(t.scale.getTicks(),function(t){return t.value})}}(this,e).ticks,o=(0,r.map)(n,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return function(t,e,n,o){var a,s,l=e.length;if(t.onBand&&!n&&l){var u=t.getExtent();if(1===l)e[0].coord=u[0],a=e[1]={coord:u[1],tickValue:e[0].tickValue};else{var c=e[l-1].tickValue-e[0].tickValue,h=(e[l-1].coord-e[0].coord)/c;(0,r.each)(e,function(t){t.coord-=h/2});var f=t.scale.getExtent();s=1+f[1]-e[l-1].tickValue,a={coord:e[l-1].coord+h*s,tickValue:f[1]+1},e.push(a)}var d=u[0]>u[1];p(e[0].coord,u[0])&&(o?e[0].coord=u[0]:e.shift()),o&&p(u[0],e[0].coord)&&e.unshift({coord:u[0]}),p(u[1],a.coord)&&(o?a.coord=u[1]:e.pop()),o&&p(a.coord,u[1])&&e.push({coord:u[1]})}function p(t,e){return t=(0,i.LI)(t),e=(0,i.LI)(e),d?t>e:t<e}}(this,o,e.get("alignWithLabel"),t.clamp),o},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,r.map)(e,function(t){return(0,r.map)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){return function(t){var e,n,i,o,a,l,h=t.getLabelModel().get("customValues");if(h){var f=(0,s.ry)(t),d=t.scale.getExtent(),p=u(t,h),g=r.filter(p,function(t){return t>=d[0]&&t<=d[1]});return{labels:r.map(g,function(e){var n={value:e};return{formattedLabel:f(n),rawLabel:t.scale.getLabel(n),tickValue:e}})}}return"category"===t.type?(n=(e=t).getLabelModel(),i=c(e,n),!n.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i):(a=(o=t).scale.getTicks(),l=(0,s.ry)(o),{labels:r.map(a,function(t,e){return{level:t.level,formattedLabel:l(t,e),rawLabel:o.scale.getLabel(t),tickValue:t.value}})})}(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+ +!!this.onBand;return 0===n&&(n=1),Math.abs(Math.abs(t[1]-t[0]))/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e,n,r=(n=(e=t).getLabelModel(),{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:n.get("rotate")||0,font:n.getFont()}),i=(0,s.ry)(t),a=(r.axisRotate-r.labelRotate)/180*Math.PI,u=t.scale,c=u.getExtent(),h=u.count();if(c[1]-c[0]<1)return 0;var f=1;h>40&&(f=Math.max(1,Math.floor(h/40)));for(var d=c[0],p=t.dataToCoord(d+1)-t.dataToCoord(d),g=Math.abs(p*Math.cos(a)),y=Math.abs(p*Math.sin(a)),v=0,m=0;d<=c[1];d+=f){var _=0,b=0,x=o.NO(i({value:d}),r.font,"center","top");_=1.3*x.width,b=1.3*x.height,v=Math.max(v,_,7),m=Math.max(m,b,7)}var w=v/g,S=m/y;isNaN(w)&&(w=1/0),isNaN(S)&&(S=1/0);var A=Math.max(0,Math.floor(Math.min(w,S))),M=l(t.model),k=t.getExtent(),T=M.lastAutoInterval,C=M.lastTickCount;return null!=T&&null!=C&&1>=Math.abs(T-A)&&1>=Math.abs(C-h)&&T>A&&M.axisExtent0===k[0]&&M.axisExtent1===k[1]?A=T:(M.lastTickCount=h,M.lastAutoInterval=A,M.axisExtent0=k[0],M.axisExtent1=k[1]),A}(this)},t}()},54467:function(t,e,n){"use strict";n.d(e,{f$:()=>D,PN:()=>z,Dt:()=>P,wq:()=>j,Rx:()=>I,ry:()=>L,Og:()=>N,JJ:()=>R,j2:()=>B,af:()=>E,PJ:()=>F});var r=n(12417),i=n(367),o=n(66563),a=n(17309),s=n(59933),l=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new a.A({})),(0,r.isArray)(i)&&(i=new a.A({categories:(0,r.map)(i,function(t){return(0,r.isObject)(t)?t.value:t})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return(0,i.C6)(e,t),e.prototype.parse=function(t){return null==t?NaN:(0,r.isString)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),s.lP(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),s.S8(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(s.hs(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null==t){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);i<a;++i){var s=e[i];n[i]=s,r[s]=i}for(var l=0;i<o;++i){for(;null!=r[l];)l++;n.push(l),r[l]=i}},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(o.A);o.A.registerClass(l);var u=n(3552),c=n(61150),h=n(10923),f=n(90016),d=n(42476),p=function(t,e,n,r){for(;n<r;){var i=n+r>>>1;t[i][1]<e?n=i+1:r=i}return n},g=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return(0,i.C6)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,d.GP)(t.value,d.Lm[(0,d.$9)((0,d.ym)(this._minLevelUnit))]||d.Lm.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var r=this.getSetting("useUTC"),i=this.getSetting("locale");return(0,d.X_)(t,e,n,i,r)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),o=function(t,e,n,i){for(var o=d.F7,a=0,s=[],l=[],u=0,c=0,h=0;h<o.length&&a++<1e4;++h){var p=(0,d.ym)(o[h]);if((0,d.ce)(o[h])&&(!function(t,r,o){var a=[],s=!r.length;if(!function(t,e,n,r){var i=f._U(e),o=f._U(n),a=function(t){return(0,d.g0)(i,t,r)===(0,d.g0)(o,t,r)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},h=function(){return c()&&a("minute")},p=function(){return h()&&a("second")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return h();case"second":return p();case"millisecond":return p()&&a("millisecond")}}((0,d.ym)(t),i[0],i[1],n)){s&&(r=[{value:function(t,e,n){var r=new Date(t);switch((0,d.ym)(e)){case"year":case"month":r[(0,d.xu)(n)](0);case"day":r[(0,d.ti)(n)](1);case"hour":r[(0,d.Yd)(n)](0);case"minute":r[(0,d.KF)(n)](0);case"second":r[(0,d.ww)(n)](0),r[(0,d.FP)(n)](0)}return r.getTime()}(new Date(i[0]),t,n)},{value:i[1]}]);for(var l=0;l<r.length-1;l++){var u=r[l].value,c=r[l+1].value;if(u!==c){var h,p,g,y=void 0,m=void 0,_=void 0;switch(t){case"year":y=Math.max(1,Math.round(e/d.CZ/365)),m=(0,d.hY)(n),_=(0,d.tM)(n);break;case"half-year":case"quarter":case"month":y=(h=e/(30*d.CZ))>6?6:h>3?3:h>2?2:1,m=(0,d.jJ)(n),_=(0,d.xu)(n);break;case"week":case"half-week":case"day":y=(p=e/d.CZ)>16?16:p>7.5?7:p>3.5?4:p>1.5?2:1,m=(0,d.bP)(n),_=(0,d.ti)(n);break;case"half-day":case"quarter-day":case"hour":y=(g=e/d.MA)>12?12:g>6?6:g>3.5?4:g>2?2:1,m=(0,d.iC)(n),_=(0,d.Yd)(n);break;case"minute":y=v(e,!0),m=(0,d.yB)(n),_=(0,d.KF)(n);break;case"second":y=v(e,!1),m=(0,d.Wf)(n),_=(0,d.ww)(n);break;case"millisecond":y=f.Cm(e,!0),m=(0,d.Zz)(n),_=(0,d.FP)(n)}!function(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,c=l[r]();u<n&&u<=i[1];)s.push({value:u}),c+=t,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}(y,u,c,m,_,0,a),"year"===t&&o.length>1&&0===l&&o.unshift({value:o[0].value-y})}}for(var l=0;l<a.length;l++)o.push(a[l])}}(o[h],s[s.length-1]||[],l),p!==(o[h+1]?(0,d.ym)(o[h+1]):null))){if(l.length){c=u,l.sort(function(t,e){return t.value-e.value});for(var g=[],y=0;y<l.length;++y){var m=l[y].value;(0===y||l[y-1].value!==m)&&(g.push(l[y]),m>=i[0]&&m<=i[1]&&u++)}var _=(i[1]-i[0])/e;if(u>1.5*_&&c>_/1.5||(s.push(g),u>_||t===o[h]))break}l=[]}}for(var b=(0,r.filter)((0,r.map)(s,function(t){return(0,r.filter)(t,function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd})}),function(t){return t.length>0}),x=[],w=b.length-1,h=0;h<b.length;++h)for(var S=b[h],A=0;A<S.length;++A)x.push({value:S[A].value,level:w-h});x.sort(function(t,e){return t.value-e.value});for(var M=[],h=0;h<x.length;++h)(0===h||x[h].value!==x[h-1].value)&&M.push(x[h]);return M}(this._minLevelUnit,this._approxInterval,i,e);return(n=n.concat(o)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=d.CZ,e[1]+=d.CZ),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-d.CZ}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var r=this._extent,i=r[1]-r[0];this._approxInterval=i/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=y.length,a=Math.min(p(y,this._approxInterval,0,o),o-1);this._interval=y[a][1],this._minLevelUnit=y[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return(0,r.isNumber)(t)?t:+f._U(t)},e.prototype.contain=function(t){return s.lP(this.parse(t),this._extent)},e.prototype.normalize=function(t){return s.S8(this.parse(t),this._extent)},e.prototype.scale=function(t){return s.hs(t,this._extent)},e.type="time",e}(u.A),y=[["second",d.OY],["minute",d.iW],["hour",d.MA],["quarter-day",6*d.MA],["half-day",12*d.MA],["day",1.2*d.CZ],["half-week",3.5*d.CZ],["week",7*d.CZ],["month",31*d.CZ],["quarter",95*d.CZ],["half-year",d.$H/2],["year",d.$H]];function v(t,e){return(t/=e?d.iW:d.OY)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}o.A.registerClass(g);var m=o.A.prototype,_=u.A.prototype,b=f.LI,x=Math.floor,w=Math.ceil,S=Math.pow,A=Math.log,M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new u.A,e._interval=0,e}return(0,i.C6)(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent(),o=_.getTicks.call(this,t);return r.map(o,function(t){var e=t.value,r=f.LI(S(this.base,e));return r=e===n[0]&&this._fixMin?T(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?T(r,i[1]):r}},this)},e.prototype.setExtent=function(t,e){var n=A(this.base);t=A(Math.max(0,t))/n,e=A(Math.max(0,e))/n,_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=m.getExtent.call(this);e[0]=S(t,e[0]),e[1]=S(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=T(e[0],n[0])),this._fixMax&&(e[1]=T(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=A(t[0])/A(e),t[1]=A(t[1])/A(e),m.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(n!==1/0&&!(n<=0)){var r=f.au(n);for(t/n*r<=.5&&(r*=10);!isNaN(r)&&1>Math.abs(r)&&Math.abs(r)>0;)r*=10;var i=[f.LI(w(e[0]/r)*r),f.LI(x(e[1]/r)*r)];this._interval=r,this._niceExtent=i}},e.prototype.calcNiceExtent=function(t){_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=A(t)/A(this.base),s.lP(t,this._extent)},e.prototype.normalize=function(t){return t=A(t)/A(this.base),s.S8(t,this._extent)},e.prototype.scale=function(t){return t=s.hs(t,this._extent),S(this.base,t)},e.type="log",e}(o.A),k=M.prototype;function T(t,e){return b(t,f.XV(e))}k.getMinorTicks=_.getMinorTicks,k.getLabel=_.getLabel,o.A.registerClass(M);var C=n(89686),O=n(40936);function I(t,e){var n=t.type,i=(0,O.Tc)(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var o=i.min,a=i.max,s=e.ecModel;if(s&&"time"===n){var l=(0,c.GL)("bar",s),u=!1;if(r.each(l,function(t){u=u||t.getBaseAxis()===e.axis}),u){var h=function(t,e,n,i){var o=n.axis.getExtent(),a=Math.abs(o[1]-o[0]),s=(0,c.VA)(i,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;r.each(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;r.each(s,function(t){u=Math.max(t.offset+t.width,u)});var h=(l=Math.abs(l))+(u=Math.abs(u)),f=e-t,d=f/(1-(l+u)/a)-f;return e+=u/h*d,{min:t-=l/h*d,max:e}}(o,a,e,(0,c.vq)(l));o=h.min,a=h.max}}return{extent:[o,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function E(t,e){var n=I(t,e),r=n.extent,i=e.get("splitNumber");t instanceof M&&(t.base=e.get("logBase"));var o=t.type,a=e.get("interval"),s="interval"===o||"time"===o;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:i,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:s?e.get("minInterval"):null,maxInterval:s?e.get("maxInterval"):null}),null!=a&&t.setInterval&&t.setInterval(a)}function D(t,e){if(e=e||t.get("type"))switch(e){case"category":return new l({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new g({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(o.A.getClass(e)||u.A)}}function R(t){var e=t.scale.getExtent(),n=e[0],r=e[1];return!(n>0&&r>0||n<0&&r<0)}function L(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(n,r){return t.scale.getFormattedLabel(n,r,e)}:r.isString(e)?function(n){var r=t.scale.getLabel(n);return e.replace("{value}",null!=r?r:"")}:r.isFunction(e)?function(r,i){return null!=n&&(i=r.value-n),e(P(t,r),i,null!=r.level?{level:r.level}:null)}:function(e){return t.scale.getLabel(e)}}function P(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function N(t){var e,n,r,i=t.model,o=t.scale;if(!(!i.get(["axisLabel","show"])||o.isBlank())){var a=o.getExtent();n=o instanceof l?o.count():(e=o.getTicks()).length;var s=t.getLabelModel(),u=L(t),c=1;n>40&&(c=Math.ceil(n/40));for(var f=0;f<n;f+=c){var d=u(e?e[f]:{value:a[0]+f},f),p=function(t,e){var n=e*Math.PI/180,r=t.width,i=t.height,o=r*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),a=r*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n));return new h.A(t.x,t.y,o,a)}(s.getTextRect(d),s.get("rotate")||0);r?r.union(p):r=p}return r}}function B(t){var e=t.get("interval");return null==e?"auto":e}function F(t){return"category"===t.type&&0===B(t.getLabelModel())}function j(t,e){var n={};return r.each(t.mapDimensionsAll(e),function(e){n[(0,C.me)(t,e)]=!0}),r.keys(n)}function z(t,e,n){e&&r.each(j(e,n),function(n){var r=e.getApproximateExtent(n);r[0]<t[0]&&(t[0]=r[0]),r[1]>t[1]&&(t[1]=r[1])})}},26772:function(t,e,n){"use strict";n.d(e,{L:()=>r});var r=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}()},96352:function(t,e,n){"use strict";n.d(e,{LR:()=>s,Zp:()=>o,gO:()=>a});var r=n(12417),i=n(47632);function o(t,e,n){n=n||{};var i=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,c=o.dim,h=i.getRect(),f=[h.x,h.x+h.width,h.y,h.y+h.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,g="x"===c?[f[2]-p,f[3]+p]:[f[0]-p,f[1]+p];if(s){var y=s.toGlobalCoord(s.dataToCoord(0));g[d.onZero]=Math.max(Math.min(y,g[1]),g[0])}a.position=["y"===c?g[d[u]]:f[0],"x"===c?g[d[u]]:f[3]],a.rotation=Math.PI/2*("x"!==c),a.labelDirection=a.tickDirection=a.nameDirection=({top:-1,bottom:1,left:-1,right:1})[l],a.labelOffset=s?g[d[l]]-g[d.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),r.retrieve(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var v=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-v:v,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return r.each(e,function(n,r){var o=r.replace(/Model$/,""),a=t.getReferringComponents(o,i.US).models[0];e[r]=a}),e}},40936:function(t,e,n){"use strict";n.d(e,{Tc:()=>l});var r=n(12417),i=n(3879),o=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var o=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var a=e.get("min",!0);null==a&&(a=e.get("startValue",!0));var s=this._modelMinRaw=a;(0,r.isFunction)(s)?this._modelMinNum=u(t,s({min:n[0],max:n[1]})):"dataMin"!==s&&(this._modelMinNum=u(t,s));var l=this._modelMaxRaw=e.get("max",!0);if((0,r.isFunction)(l)?this._modelMaxNum=u(t,l({min:n[0],max:n[1]})):"dataMax"!==l&&(this._modelMaxNum=u(t,l)),o)this._axisDataLen=e.getCategories().length;else{var c=e.get("boundaryGap"),h=(0,r.isArray)(c)?c:[c||0,c||0];"boolean"==typeof h[0]||"boolean"==typeof h[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,i.lo)(h[0],1),(0,i.lo)(h[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,i=this._axisDataLen,o=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=s,c=null!=l;null==s&&(s=t?i?0:NaN:e-o[0]*a),null==l&&(l=t?i?i-1:NaN:n+o[1]*a),null!=s&&isFinite(s)||(s=NaN),null!=l&&isFinite(l)||(l=NaN);var h=(0,r.eqNaN)(s)||(0,r.eqNaN)(l)||t&&!i;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var f=this._determinedMin,d=this._determinedMax;return null!=f&&(s=f,u=!0),null!=d&&(l=d,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[a[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(t,e,n){var r=t.rawExtentInfo;return r||(r=new o(t,e,n),t.rawExtentInfo=r),r}function u(t,e){return null==e?null:(0,r.eqNaN)(e)?NaN:t.parse(e)}},10679:function(t,e,n){"use strict";n.d(e,{A:()=>o});var r=n(12417),i={};let o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];r.each(i,function(r,i){var o=r.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},t.prototype.update=function(t,e){r.each(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){i[t]=e},t.get=function(t){return i[t]},t}()},54549:function(t,e,n){"use strict";n.d(e,{AS:()=>eH,El:()=>ec,OH:()=>eX,aQ:()=>eU,E:()=>er.E,mz:()=>e6,qg:()=>eG,ZB:()=>e4,bf:()=>eW,zm:()=>ez,lP:()=>eq,rE:()=>eu,xV:()=>e$,cf:()=>eZ,Ej:()=>e5,Ng:()=>eF,Oh:()=>eQ,Bo:()=>eJ,AF:()=>e0,Ts:()=>eB,iY:()=>e8,FQ:()=>eh,pX:()=>eK,vV:()=>e3,p5:()=>e9,tb:()=>eY,FP:()=>eV,Zf:()=>ej});var r,i,o,a,s,l,u,c,h,f,d,p,g,y,v,m,_,b,x,w,S,A,M=n(367),k=n(64209),T=n(12417),C=n(55198),O=n(68879),I=n(81970),E=n(47632),D=n(43116),R=n(90558),L="";"undefined"!=typeof navigator&&(L=navigator.platform||"");var P="rgba(0, 0, 0, 0.2)";let N={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:P,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:P,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:P,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:P,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:P,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:P,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:L.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var B=n(70589),F=(0,T.createHashMap)(),j=n(70887),z="\0_ec_inner",H=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,M.C6)(e,t),e.prototype.init=function(t,e,n,r,i,o){r=r||{},this.option=null,this._theme=new D.A(r),this._locale=new D.A(i),this._optionManager=o},e.prototype.setOption=function(t,e,n){var r=W(e);this._optionManager.setOption(t,n,r),this._resetOption(null,r)},e.prototype.resetOption=function(t,e){return this._resetOption(t,W(e))},e.prototype._resetOption=function(t,e){var n=!1,r=this._optionManager;if(!t||"recreate"===t){var i=r.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(i,e)):o(this,i),n=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=r.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var s=r.getMediaOption(this);s.length&&(0,T.each)(s,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,o=this._componentsCount,a=[],s=(0,T.createHashMap)(),l=e&&e.replaceMergeMainTypeMap;(0,B.ps)(this),(0,T.each)(t,function(t,e){null!=t&&(R.A.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,T.clone)(t):(0,T.merge)(n[e],t,!0))}),l&&l.each(function(t,e){R.A.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),R.A.topologicalTravel(a,R.A.getAllClassMainTypes(),function(e){var a,s=function(t,e,n){var r=F.get(e);if(!r)return n;var i=r(t);return i?n.concat(i):n}(this,e,E.qB(t[e])),u=i.get(e),c=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",h=E.O2(u,s,c);E.GX(h,e,R.A),n[e]=null,i.set(e,null),o.set(e,0);var f=[],d=[],p=0;(0,T.each)(h,function(t,n){var r=t.existing,i=t.newOption;if(i){var o="series"===e,s=R.A.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(r&&r.constructor===s)r.name=t.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1);else{var l=(0,T.extend)({componentIndex:n},t.keyInfo);r=new s(i,this,this,l),(0,T.extend)(r,l),t.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(f.push(r.option),d.push(r),p++):(f.push(void 0),d.push(void 0))},this),n[e]=f,i.set(e,d),o.set(e,p),"series"===e&&r(this)},this),this._seriesIndices||r(this)},e.prototype.getOption=function(){var t=(0,T.clone)(this.option);return(0,T.each)(t,function(e,n){if(R.A.hasClass(n)){for(var r=E.qB(e),i=r.length,o=!1,a=i-1;a>=0;a--)r[a]&&!E.oh(r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,t[n]=r}}),delete t[z],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var r=n[e||0];if(r)return r;if(null==e){for(var i=0;i<n.length;i++)if(n[i])return n[i]}}},e.prototype.queryComponents=function(t){var e,n=t.mainType;if(!n)return[];var r=t.index,i=t.id,o=t.name,a=this._componentsMap.get(n);return a&&a.length?(null!=r?(e=[],(0,T.each)(E.qB(r),function(t){a[t]&&e.push(a[t])})):e=null!=i?V("id",i,a):null!=o?V("name",o,a):(0,T.filter)(a,function(t){return!!t}),U(e,t)):[]},e.prototype.findComponents=function(t){var e,n,r,i,o,a=t.query,s=t.mainType,l=(e=a,n=s+"Index",r=s+"Id",i=s+"Name",e&&(null!=e[n]||null!=e[r]||null!=e[i])?{mainType:s,index:e[n],id:e[r],name:e[i]}:null);return o=U(l?this.queryComponents(l):(0,T.filter)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,T.filter)(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var r=this._componentsMap;if((0,T.isFunction)(t))r.each(function(n,r){for(var i=0;n&&i<n.length;i++){var o=n[i];o&&t.call(e,r,o,o.componentIndex)}});else for(var i=(0,T.isString)(t)?r.get(t):(0,T.isObject)(t)?this.findComponents(t):null,o=0;i&&o<i.length;o++){var a=i[o];a&&e.call(n,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=E.vS(t,null);return(0,T.filter)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,T.filter)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,T.filter)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){i(this),(0,T.each)(this._seriesIndices,function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)},this)},e.prototype.eachRawSeries=function(t,e){(0,T.each)(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){i(this),(0,T.each)(this._seriesIndices,function(r){var i=this._componentsMap.get("series")[r];i.subType===t&&e.call(n,i,r)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,T.each)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return i(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){i(this);var n=[];(0,T.each)(this._seriesIndices,function(r){var i=this._componentsMap.get("series")[r];t.call(e,i,r)&&n.push(r)},this),this._seriesIndices=n,this._seriesIndicesMap=(0,T.createHashMap)(n)},e.prototype.restoreData=function(t){r(this);var e=this._componentsMap,n=[];e.each(function(t,e){R.A.hasClass(e)&&n.push(e)}),R.A.topologicalTravel(n,R.A.getAllClassMainTypes(),function(n){(0,T.each)(e.get(n),function(e){e&&("series"!==n||!function(t,e){if(e){var n=e.seriesIndex,r=e.seriesId,i=e.seriesName;return null!=n&&t.componentIndex!==n||null!=r&&t.id!==r||null!=i&&t.name!==i}}(e,t))&&e.restoreData()})})},e.internalField=void(r=function(t){var e=t._seriesIndices=[];(0,T.each)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,T.createHashMap)(e)},i=function(t){},o=function(t,e){t.option={},t.option[z]=1,t._componentsMap=(0,T.createHashMap)({series:[]}),t._componentsCount=(0,T.createHashMap)();var n,r,i,o=e.aria;(0,T.isObject)(o)&&null==o.enabled&&(o.enabled=!0),n=e,r=t._theme.option,i=n.color&&!n.colorLayer,(0,T.each)(r,function(t,e){("colorLayer"!==e||!i)&&(R.A.hasClass(e)||("object"==typeof t?n[e]=n[e]?(0,T.merge)(n[e],t,!1):(0,T.clone)(t):null==n[e]&&(n[e]=t)))}),(0,T.merge)(e,N,!1),t._mergeOption(e,null)}),e}(D.A);function V(t,e,n){if((0,T.isArray)(e)){var r=(0,T.createHashMap)();return(0,T.each)(e,function(t){null!=t&&null!=E.vS(t,null)&&r.set(t,!0)}),(0,T.filter)(n,function(e){return e&&r.get(e[t])})}var i=E.vS(e,null);return(0,T.filter)(n,function(e){return e&&null!=i&&e[t]===i})}function U(t,e){return e.hasOwnProperty("subType")?(0,T.filter)(t,function(t){return t&&t.subType===e.subType}):t}function W(t){var e=(0,T.createHashMap)();return t&&(0,T.each)(E.qB(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,T.mixin)(H,j.X);var q=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];let G=function(t){T.each(q,function(e){this[e]=T.bind(t[e],t)},this)};var Z=n(10679),Y=/^(min|max)?(.+)$/,$=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,T.each)((0,E.qB)(t.series),function(t){t&&t.data&&(0,T.isTypedArray)(t.data)&&(0,T.setAsPrimitive)(t.data)}),(0,T.each)((0,E.qB)(t.dataset),function(t){t&&t.source&&(0,T.isTypedArray)(t.source)&&(0,T.setAsPrimitive)(t.source)})),t=(0,T.clone)(t);var r=this._optionBackup,i=function(t,e,n){var r,i,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,h=!!(l||s||a&&a.timeline);function f(t){(0,T.each)(e,function(e){e(t,n)})}return a?(i=a).timeline||(i.timeline=s):((h||c)&&(t.options=t.media=null),i=t),c&&(0,T.isArray)(u)&&(0,T.each)(u,function(t){t&&t.option&&(t.query?o.push(t):r||(r=t))}),f(i),(0,T.each)(l,function(t){return f(t)}),(0,T.each)(o,function(t){return f(t.option)}),{baseOption:i,timelineOptions:l||[],mediaDefault:r,mediaList:o}}(t,e,!r);this._newBaseOption=i.baseOption,r?(i.timelineOptions.length&&(r.timelineOptions=i.timelineOptions),i.mediaList.length&&(r.mediaList=i.mediaList),i.mediaDefault&&(r.mediaDefault=i.mediaDefault)):this._optionBackup=i},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,T.clone)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var r=t.getComponent("timeline");r&&(e=(0,T.clone)(n[r.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,r=this._api.getWidth(),i=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,c=o.length;u<c;u++)(function(t,e,n){var r={width:e,height:n,aspectratio:e/n},i=!0;return(0,T.each)(t,function(t,e){var n=e.match(Y);if(n&&n[1]&&n[2]){var o,a,s,l=n[1];o=r[n[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(i=!1)}}),i})(o[u].query,r,i)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=(0,T.map)(s,function(t){return(0,T.clone)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),X=T.each,K=T.isObject,J=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Q(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=J.length;n<r;n++){var i=J[n],o=e.normal,a=e.emphasis;o&&o[i]&&(t[i]=t[i]||{},t[i].normal?T.merge(t[i].normal,o[i]):t[i].normal=o[i],o[i]=null),a&&a[i]&&(t[i]=t[i]||{},t[i].emphasis?T.merge(t[i].emphasis,a[i]):t[i].emphasis=a[i],a[i]=null)}}function tt(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,i=t[e].emphasis;r&&(n?(t[e].normal=t[e].emphasis=null,T.defaults(t[e],r)):t[e]=r),i&&(t.emphasis=t.emphasis||{},t.emphasis[e]=i,i.focus&&(t.emphasis.focus=i.focus),i.blurScope&&(t.emphasis.blurScope=i.blurScope))}}function te(t){tt(t,"itemStyle"),tt(t,"lineStyle"),tt(t,"areaStyle"),tt(t,"label"),tt(t,"labelLine"),tt(t,"upperLabel"),tt(t,"edgeLabel")}function tn(t,e){var n=K(t)&&t[e],r=K(n)&&n.textStyle;if(r)for(var i=0,o=E.JS.length;i<o;i++){var a=E.JS[i];r.hasOwnProperty(a)&&(n[a]=r[a])}}function tr(t){t&&(te(t),tn(t,"label"),t.emphasis&&tn(t.emphasis,"label"))}function ti(t){return T.isArray(t)?t:t?[t]:[]}function to(t){return(T.isArray(t)?t[0]:t)||{}}function ta(t){t&&(0,T.each)(ts,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var ts=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],tl=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tu=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function tc(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<tu.length;n++){var r=tu[n][1],i=tu[n][0];null!=e[r]&&(e[i]=e[r])}}function th(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function tf(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function td(t,e){var n;X(ti(t.series),function(t){K(t)&&function(t){if(K(t)){Q(t),te(t),tn(t,"label"),tn(t,"upperLabel"),tn(t,"edgeLabel"),t.emphasis&&(tn(t.emphasis,"label"),tn(t.emphasis,"upperLabel"),tn(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Q(e),tr(e));var n=t.markLine;n&&(Q(n),tr(n));var r=t.markArea;r&&tr(r);var i=t.data;if("graph"===t.type){i=i||t.nodes;var o=t.links||t.edges;if(o&&!T.isTypedArray(o))for(var a=0;a<o.length;a++)tr(o[a]);T.each(t.categories,function(t){te(t)})}if(i&&!T.isTypedArray(i))for(var a=0;a<i.length;a++)tr(i[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)tr(s[a]);if((n=t.markLine)&&n.data)for(var l=n.data,a=0;a<l.length;a++)T.isArray(l[a])?(tr(l[a][0]),tr(l[a][1])):tr(l[a]);"gauge"===t.type?(tn(t,"axisLabel"),tn(t,"title"),tn(t,"detail")):"treemap"===t.type?(tt(t.breadcrumb,"itemStyle"),T.each(t.levels,function(t){te(t)})):"tree"===t.type&&te(t.leaves)}}(t)}),n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),X(n,function(e){X(ti(t[e]),function(t){t&&(tn(t,"axisLabel"),tn(t.axisPointer,"label"))})}),X(ti(t.parallel),function(t){var e=t&&t.parallelAxisDefault;tn(e,"axisLabel"),tn(e&&e.axisPointer,"label")}),X(ti(t.calendar),function(t){tt(t,"itemStyle"),tn(t,"dayLabel"),tn(t,"monthLabel"),tn(t,"yearLabel")}),X(ti(t.radar),function(t){tn(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),X(ti(t.geo),function(t){K(t)&&(tr(t),X(ti(t.regions),function(t){tr(t)}))}),X(ti(t.timeline),function(t){tr(t),tt(t,"label"),tt(t,"itemStyle"),tt(t,"controlStyle",!0);var e=t.data;T.isArray(e)&&T.each(e,function(t){T.isObject(t)&&(tt(t,"label"),tt(t,"itemStyle"))})}),X(ti(t.toolbox),function(t){tt(t,"iconStyle"),X(t.feature,function(t){tt(t,"iconStyle")})}),tn(to(t.axisPointer),"label"),tn(to(t.tooltip).axisPointer,"label"),t.series=(0,E.qB)(t.series),(0,T.each)(t.series,function(t){if((0,T.isObject)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),th(t.label);var n=t.data;if(n&&!(0,T.isTypedArray)(n))for(var r=0;r<n.length;r++)th(n[r]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===e){var i=function(t,e){for(var n=e.split(","),r=t,i=0;i<n.length&&null!=(r=r&&r[n[i]]);i++);return r}(t,"pointer.color");null!=i&&function(t,e,n,r){for(var i,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[i=o[s]]&&(a[i]={}),a=a[i];null==a[o[s]]&&(a[o[s]]=n)}(t,"itemStyle.color",i)}else if("bar"===e){tc(t),tc(t.backgroundStyle),tc(t.emphasis);var n=t.data;if(n&&!(0,T.isTypedArray)(n))for(var r=0;r<n.length;r++)"object"==typeof n[r]&&(tc(n[r]),tc(n[r]&&n[r].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),tf(t),function t(e,n){if(e)for(var r=0;r<e.length;r++)n(e[r]),e[r]&&t(e[r].children,n)}(t.data,tf)}else"graph"===e||"sankey"===e?t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency")):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,T.defaults)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),ta(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,T.each)(tl,function(e){var n=t[e];n&&((0,T.isArray)(n)||(n=[n]),(0,T.each)(n,function(t){ta(t)}))})}var tp=n(90016);function tg(t){(0,T.each)(t,function(e,n){var r=[],i=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,c){var h,f,d=a.get(e.stackedDimension,c);if(isNaN(d))return i;s?f=a.getRawIndex(c):h=a.get(e.stackedByDimension,c);for(var p=NaN,g=n-1;g>=0;g--){var y=t[g];if(s||(f=y.data.rawIndexOf(y.stackedByDimension,h)),f>=0){var v=y.data.getByRawIndex(y.stackResultDimension,f);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=(0,tp.Tr)(d,v),p=v;break}}}return r[0]=d,r[1]=p,r})})}var ty=n(10826),tv=n(95411),tm=n(6091),t_=n(99618),tb=n(35963),tx=n(26912),tw=n(21196),tS=n(44988),tA=n(55479),tM=n(81557),tk=n(92750),tT=n(12816),tC=n(98807),tO=(0,E.$r)(),tI={itemStyle:(0,tk.A)(tT.L,!0),lineStyle:(0,tk.A)(tC.m,!0)},tE={lineStyle:"stroke",itemStyle:"fill"};function tD(t,e){var n=t.visualStyleMapper||tI[e];return n||(console.warn("Unknown style type '"+e+"'."),tI.itemStyle)}function tR(t,e){var n=t.visualDrawType||tE[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var tL=new D.A,tP=n(96001),tN=n(32031),tB=n(91176),tF=Math.PI,tj=n(97513),tz=n(93230),tH=function(){function t(t,e,n,r){this._stageTaskMap=(0,T.createHashMap)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),r=n.context,i=!e&&n.progressiveEnabled&&(!r||r.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=r&&r.modDataCount,a=null!=o?Math.ceil(o/i):null;return{step:i,modBy:a,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),r=t.getData().count(),i=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,o=t.get("large")&&r>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:i,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=(0,T.createHashMap)();t.eachSeries(function(t){var r=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:r&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,T.each)(this._allHandlers,function(r){var i=t.get(r.uid)||t.set(r.uid,{});(0,T.assert)(!(r.reset&&r.overallReset),""),r.reset&&this._createSeriesStageTask(r,i,e,n),r.overallReset&&this._createOverallStageTask(r,i,e,n)},this)},t.prototype.prepareView=function(t,e,n,r){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=n,o.api=r,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,r){r=r||{};var i=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,T.each)(t,function(t,s){if(!r.visualType||r.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,f=c.agentStubMap;f.each(function(t){a(r,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),o.updatePayload(c,n);var d=o.getPerformArgs(c,r.block);f.each(function(t){t.perform(d)}),c.perform(d)&&(i=!0)}else u&&u.each(function(s,l){a(r,s)&&s.dirty();var u=o.getPerformArgs(s,r.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(i=!0)})}}),this.unfinished=i||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,r){var i=this,o=e.seriesTaskMap,a=e.seriesTaskMap=(0,T.createHashMap)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tj.U)({plan:tG,reset:tZ,count:tX}));l.context={model:e,ecModel:n,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,r).each(u)},t.prototype._createOverallStageTask=function(t,e,n,r){var i=this,o=e.overallTask=e.overallTask||(0,tj.U)({reset:tV});o.context={ecModel:n,api:r,overallReset:t.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=(0,T.createHashMap)(),l=t.seriesType,u=t.getTargetSeries,c=!0,h=!1;function f(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(h=!0,(0,tj.U)({reset:tU,onDirty:tq})));n.context={model:t,overallProgress:c},n.agent=o,n.__block=c,i._pipe(t,n)}(0,T.assert)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,f):u?u(n,r).each(f):(c=!1,(0,T.each)(n.getSeries(),f)),h&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,r=this._pipelineMap.get(n);r.head||(r.head=e),r.tail&&r.tail.pipe(e),r.tail=e,e.__idxInPipeline=r.count++,e.__pipeline=r},t.wrapStageHandler=function(t,e){return(0,T.isFunction)(t)&&(t={overallReset:t,seriesType:function(t){a=null;try{t(tK,tJ)}catch(t){}return a}(t)}),t.uid=(0,tz.$Q)("stageHandler"),e&&(t.visualType=e),t},t}();function tV(t){t.overallReset(t.ecModel,t.api,t.payload)}function tU(t){return t.overallProgress&&tW}function tW(){this.agent.dirty(),this.getDownstream().dirty()}function tq(){this.agent&&this.agent.dirty()}function tG(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tZ(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,E.qB)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,T.map)(e,function(t,e){return t$(e)}):tY}var tY=t$(0);function t$(t){return function(e,n){var r=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var o=e.start;o<e.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(e,r)}}function tX(t){return t.data.count()}var tK={},tJ={};function tQ(t,e){for(var n in e.prototype)t[n]=T.noop}tQ(tK,H),tQ(tJ,G),tK.eachSeriesByType=tK.eachRawSeriesByType=function(t){a=t},tK.eachComponent=function(t){"series"===t.mainType&&t.subType&&(a=t.subType)};var t0=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],t1="#B9B8CE",t2="#100C2A",t5=function(){return{axisLine:{lineStyle:{color:t1}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},t3=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],t6={darkMode:!0,color:t3,backgroundColor:t2,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:t1},pageTextStyle:{color:t1}},textStyle:{color:t1},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:t1}},dataZoom:{borderColor:"#71708A",textStyle:{color:t1},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:t1}},timeline:{lineStyle:{color:t1},label:{color:t1},controlStyle:{color:t1,borderColor:t1}},calendar:{itemStyle:{color:t2},dayLabel:{color:t1},monthLabel:{color:t1},yearLabel:{color:t1}},timeAxis:t5(),logAxis:t5(),valueAxis:t5(),categoryAxis:t5(),line:{symbol:"circle"},graph:{color:t3},gauge:{title:{color:t1},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:t1},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};t6.categoryAxis.splitLine.show=!1;var t4=n(48771),t8=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},r={};if(T.isString(t)){var i=(0,t4.CC)(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};T.each(t,function(t,i){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var h=i.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(i)&&(n[i]=t,s=!0),s||(r[i]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:r}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,r,i));function u(t,e,n,r){return null==t[n]||e[r||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),t9=["symbol","symbolSize","symbolRotate","symbolOffset"],t7=t9.concat(["symbolKeepAspect"]),et=n(48635);function ee(t,e,n,r,i){var o=t+e;n.isSilent(o)||r.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,r=t.option.selectedMap,a=i.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),u=(0,E.le)(l,i.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:(0,T.isArray)(u)?l.getName(u[0]):l.getName(u),selected:(0,T.isString)(r)?r:(0,T.extend)({},r)})}})}var en=n(2350),er=n(79242),ei=n(85213),eo=n(5006),ea=new I.A,es=n(42898),el=n(21658),eu="5.6.0",ec={zrender:"5.6.1"},eh={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},ef="__flagInMainProcess",ed="__pendingUpdate",ep="__needsUpdateStatus",eg=/^[a-zA-Z0-9_]+$/,ey="__connectUpdateStatus";function ev(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.isDisposed()?void this.id:e_(this,t,e)}}function em(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e_(this,t,e)}}function e_(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),I.A.prototype[e].apply(t,n)}var eb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,M.C6)(e,t),e}(I.A),ex=eb.prototype;ex.on=em("on"),ex.off=em("off");var ew=function(t){function e(e,n,r){var i=t.call(this,new t8)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],r=r||{},(0,T.isString)(n)&&(n=eI[n]),i._dom=e,r.ssr&&k.registerSSRDataGetter(function(t){var e=(0,tS.z)(t),n=e.dataIndex;if(null!=n){var r=(0,T.createHashMap)();return r.set("series_index",e.seriesIndex),r.set("data_index",n),e.ssrType&&r.set("ssr_type",e.ssrType),r}});var o=i._zr=k.init(e,{renderer:r.renderer||"canvas",devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:(0,T.retrieve2)(r.useDirtyRect,!1),useCoarsePointer:(0,T.retrieve2)(r.useCoarsePointer,"auto"),pointerSize:r.pointerSize});i._ssr=r.ssr,i._throttledZrFlush=(0,tM.nF)((0,T.bind)(o.flush,o),17),(n=(0,T.clone)(n))&&td(n,!0),i._theme=n,i._locale=(0,er.A$)(r.locale||er.Lv),i._coordSysMgr=new Z.A;var a=i._api=x(i);function s(t,e){return t.__prio-e.__prio}return(0,O.A)(eO,s),(0,O.A)(eT,s),i._scheduler=new tH(i,a,eT,eO),i._messageCenter=new eb,i._initEvents(),i.resize=(0,T.bind)(i.resize,i),o.animation.on("frame",i._onframe,i),y(o,i),v(o,i),(0,T.setAsPrimitive)(i),i}return(0,M.C6)(e,t),e.prototype._onframe=function(){if(!this._disposed){A(this);var t=this._scheduler;if(this[ed]){var e=this[ed].silent;this[ef]=!0;try{s(this),c.update.call(this,null,this[ed].updateParams)}catch(t){throw this[ef]=!1,this[ed]=null,t}this._zr.flush(),this[ef]=!1,this[ed]=null,p.call(this,e),g.call(this,e)}else if(t.unfinished){var n=1,r=this._model,i=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(r),t.performDataProcessorTasks(r),f(this,r),t.performVisualTasks(r),b(this,this._model,i,"remain",{}),n-=new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[ef]){if(this._disposed)return void this.id;if((0,T.isObject)(e)&&(n=e.lazyUpdate,r=e.silent,i=e.replaceMerge,o=e.transition,e=e.notMerge),this[ef]=!0,!this._model||e){var r,i,o,a=new $(this._api),l=this._theme,u=this._model=new H;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,a)}this._model.setOption(t,{replaceMerge:i},eC);var h={seriesTransition:o,optionChanged:!0};if(n)this[ed]={silent:r,updateParams:h},this[ef]=!1,this.getZr().wakeUp();else{try{s(this),c.update.call(this,null,h)}catch(t){throw this[ed]=null,this[ef]=!1,t}this._ssr||this._zr.flush(),this[ed]=null,this[ef]=!1,p.call(this,r),g.call(this,r)}}},e.prototype.setTheme=function(){(0,et.aT)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||C.A.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(C.A.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,T.each)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed)return void this.id;var e=(t=t||{}).excludeComponents,n=this._model,r=[],i=this;(0,T.each)(e,function(t){n.eachComponent({mainType:t},function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(r.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,T.each)(r,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed)return void this.id;var e="svg"===t.type,n=this.group,r=Math.min,i=Math.max,o=1/0;if(!eR[n])return this.getDataURL(t);var a=o,s=o,l=-o,u=-o,c=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();(0,T.each)(eD,function(o,h){if(o.group===n){var f=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,T.clone)(t)),d=o.getDom().getBoundingClientRect();a=r(d.left,a),s=r(d.top,s),l=i(d.right,l),u=i(d.bottom,u),c.push({dom:f,left:d.left,top:d.top})}}),a*=h,s*=h,l*=h,u*=h;var f=l-a,d=u-s,p=es.yh.createCanvas(),g=k.init(p,{renderer:e?"svg":"canvas"});if(g.resize({width:f,height:d}),!e)return t.connectedBackgroundColor&&g.add(new t_.A({shape:{x:0,y:0,width:f,height:d},style:{fill:t.connectedBackgroundColor}})),(0,T.each)(c,function(t){var e=new tb.Ay({style:{x:t.left*h-a,y:t.top*h-s,image:t.dom}});g.add(e)}),g.refreshImmediately(),p.toDataURL("image/"+(t&&t.type||"png"));var y="";return(0,T.each)(c,function(t){var e=t.left-a,n=t.top-s;y+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()},e.prototype.convertToPixel=function(t,e){return h(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return h(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(this._disposed)return void this.id;var n,r=this._model,i=E._e(r,t);return(0,T.each)(i,function(t,r){r.indexOf("Models")>=0&&(0,T.each)(t,function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=this._model,r=E._e(n,t,{defaultMainType:"series"}),i=r.seriesModel.getData(),o=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?i.indexOfRawIndex(r.dataIndex):null;return null!=o?function(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}(i,o,e):function(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,r=this;(0,T.each)(eA,function(t){var e=function(e){var n,i=r.getModel(),o=e.target;if("globalout"===t?n={}:o&&(0,ei.R)(o,function(t){var e=(0,tS.z)(t);if(e&&null!=e.dataIndex){var r=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return n=r&&r.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=(0,T.extend)({},e.eventData),!0},!0),n){var a=n.componentType,s=n.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=n.seriesIndex);var l=a&&null!=s&&i.getComponent(a,s),u=l&&r["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,r._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},r.trigger(t,n)}};e.zrEventfulCallAtLast=!0,r._zr.on(t,e,r)}),(0,T.each)(ek,function(t,e){r._messageCenter.on(e,function(t){this.trigger(e,t)},r)}),(0,T.each)(["selectchanged"],function(t){r._messageCenter.on(t,function(e){this.trigger(t,e)},r)}),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",function(t){var r=n.getModel();t.isFromClick?(ee("map","selectchanged",e,r,t),ee("pie","selectchanged",e,r,t)):"select"===t.fromAction?(ee("map","selected",e,r,t),ee("pie","selected",e,r,t)):"unselect"===t.fromAction&&(ee("map","unselected",e,r,t),ee("pie","unselected",e,r,t))})},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)return void this.id;this._disposed=!0,this.getDom()&&E.Bq(this.getDom(),eN,"");var t=this._api,e=this._model;(0,T.each)(this._componentsViews,function(n){n.dispose(e,t)}),(0,T.each)(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete eD[this.id]},e.prototype.resize=function(t){if(!this[ef]){if(this._disposed)return void this.id;this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this[ed]&&(null==r&&(r=this[ed].silent),n=!0,this[ed]=null),this[ef]=!0;try{n&&s(this),c.update.call(this,{type:"resize",animation:(0,T.extend)({duration:0},t&&t.animation)})}catch(t){throw this[ef]=!1,t}this[ef]=!1,p.call(this,r),g.call(this,r)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void this.id;if((0,T.isObject)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eE[t]){var n=eE[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,T.extend)({},t);return e.type=ek[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,T.isObject)(e)||(e={silent:!!e}),eM[t.type])&&this._model){if(this[ef])return void this._pendingActions.push(t);var n=e.silent;d.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&C.A.browser.weChat&&this._throttledZrFlush(),p.call(this,n),g.call(this,n)}},e.prototype.updateLabelLayout=function(){ea.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)return void this.id;var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,r=0;r<n.length;r++){var i=n[r];"emphasis"!==i&&"blur"!==i&&"select"!==i&&e.push(i)}t.selected&&t.states.select&&e.push("select"),t.hoverState===tA.e3&&t.states.emphasis?e.push("emphasis"):t.hoverState===tA.zX&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,r=t.get("zlevel")||0;e.eachRendered(function(t){return function t(e,n,r,i){var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)i=Math.max(t(s[l],n,r,i),i);else e.z=n,e.zlevel=r,i=Math.max(e.z2,i);if(o&&(o.z=n,o.zlevel=r,isFinite(i)&&(o.z2=i+2)),a){var u=e.textGuideLineConfig;a.z=n,a.zlevel=r,isFinite(i)&&(a.z2=i+(u&&u.showAbove?1:-1))}return i}(t,n,r,-1/0),!0})}}function r(t,e){e.eachRendered(function(t){if(!tx.LR(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function i(t,n){var r=t.getModel("stateAnimation"),i=t.isAnimationEnabled(),o=r.get("duration"),a=o>0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tx.LR(t)){if(t instanceof tw.Ay&&(0,tA.fz)(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(i){t.stateTransition=a;var r=t.getTextContent(),o=t.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}s=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),l(t,!0),l(t,!1),e.plan()},l=function(t,e){for(var n=t._model,r=t._scheduler,i=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<i.length;l++)i[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var h=(0,t4.CC)(t.type);(c=new(e?tv.A.getClass(h.main,h.sub):tm.A.getClass(h.sub))).init(n,s),o[u]=c,i.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||r.prepareView(c,t,n,s)}e?n.eachComponent(function(t,e){"series"!==t&&u(e)}):n.eachSeries(u);for(var l=0;l<i.length;){var c=i[l];c.__alive?l++:(e||c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),i.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},u=function(t,e,n,r,i){var o,a=t._model;if(a.setUpdatePayload(n),!r)return void(0,T.each)([].concat(t._componentsViews).concat(t._chartsViews),c);var s={};s[r+"Id"]=n[r+"Id"],s[r+"Index"]=n[r+"Index"],s[r+"Name"]=n[r+"Name"];var l={mainType:r,query:s};i&&(l.subType=i);var u=n.excludeSeriesId;function c(r){r&&r.__alive&&r[e]&&r[e](r.__model,a,t._api,n)}null!=u&&(o=(0,T.createHashMap)(),(0,T.each)(E.qB(u),function(t){var e=E.vS(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(l,function(e){if(!(o&&null!=o.get(e.id)))if((0,tA.T$)(n))if(e instanceof ty.A)n.type!==tA.h5||n.notBlur||e.get(["emphasis","disabled"])||(0,tA.lV)(e,n,t._api);else{var r=(0,tA.Tl)(e.mainType,e.componentIndex,n.name,t._api),i=r.focusSelf,a=r.dispatchers;n.type===tA.h5&&i&&!n.notBlur&&(0,tA.Du)(e.mainType,e.componentIndex,t._api),a&&(0,T.each)(a,function(t){n.type===tA.h5?(0,tA.HY)(t):(0,tA.SD)(t)})}else(0,tA.Lx)(n)&&e instanceof ty.A&&((0,tA.t6)(e,n,t._api),(0,tA.jA)(e),S(t))},t),a&&a.eachComponent(l,function(e){o&&null!=o.get(e.id)||c(t["series"===r?"_chartsMap":"_componentsMap"][e.__viewId])},t)},c={prepareAndUpdate:function(t){s(this),c.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var r=this._model,i=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(r){r.setUpdatePayload(e),s.restoreData(r,e),s.performSeriesTasks(r),a.create(r,i),s.performDataProcessorTasks(r,e),f(this,r),a.update(r,i),t(r),s.performVisualTasks(r,e),m(this,r,i,e,n);var l=r.get("backgroundColor")||"transparent",u=r.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),ea.trigger("afterupdate",r,i)}},updateTransform:function(e){var n=this,r=this._model,i=this._api;if(r){r.setUpdatePayload(e);var o=[];r.eachComponent(function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,r,i,e);l&&l.update&&o.push(s)}else o.push(s)}});var a=(0,T.createHashMap)();r.eachSeries(function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,r,i,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(r),this._scheduler.performVisualTasks(r,e,{setDirty:!0,dirtyMap:a}),b(this,r,i,e,{},a),ea.trigger("afterupdate",r,i)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),tm.A.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),m(this,n,this._api,e,{}),ea.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,r=this._model;r&&(r.setUpdatePayload(e),r.eachSeries(function(t){t.getData().clearAllVisual()}),tm.A.markUpdateMethod(e,"updateVisual"),t(r),this._scheduler.performVisualTasks(r,e,{visualType:"visual",setDirty:!0}),r.eachComponent(function(t,i){if("series"!==t){var o=n.getViewOfComponentModel(i);o&&o.__alive&&o.updateVisual(i,r,n._api,e)}}),r.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,r,n._api,e)}),ea.trigger("afterupdate",r,this._api))},updateLayout:function(t){c.update.call(this,t)}},h=function(t,e,n,r){if(t._disposed)return void t.id;for(var i,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=E._e(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(i=u[e](o,s,r)))return i}},f=function(t,e){var n=t._chartsMap,r=t._scheduler;e.eachSeries(function(t){r.updateStreamModes(t,n[t.__viewId])})},d=function(t,e){var n,r=this,i=this.getModel(),o=t.type,a=t.escapeConnect,l=eM[o],h=l.actionInfo,f=(h.update||"update").split(":"),d=f.pop(),p=null!=f[0]&&(0,t4.CC)(f[0]);this[ef]=!0;var g=[t],y=!1;t.batch&&(y=!0,g=(0,T.map)(t.batch,function(e){return(e=(0,T.defaults)((0,T.extend)({},e),t)).batch=null,e}));var v=[],m=(0,tA.Lx)(t),_=(0,tA.T$)(t);if(_&&(0,tA.qR)(this._api),(0,T.each)(g,function(e){if((n=(n=l.action(e,r._model,r._api))||(0,T.extend)({},e)).type=h.event||n.type,v.push(n),_){var i=E.HB(t),o=i.queryOptionMap;u(r,d,e,i.mainTypeSpecified?o.keys()[0]:"series"),S(r)}else m?(u(r,d,e,"series"),S(r)):p&&u(r,d,e,p.main,p.sub)}),"none"!==d&&!_&&!m&&!p)try{this[ed]?(s(this),c.update.call(this,t),this[ed]=null):c[d].call(this,t)}catch(t){throw this[ef]=!1,t}if(n=y?{type:h.event||o,escapeConnect:a,batch:v}:v[0],this[ef]=!1,!e){var b=this._messageCenter;if(b.trigger(n.type,n),m){var x={type:"selectchanged",escapeConnect:a,selected:(0,tA.mc)(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};b.trigger(x.type,x)}}},p=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();d.call(this,n,t)}},g=function(t){t||this.trigger("updated")},y=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[ed]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},v=function(t,e){t.on("mouseover",function(t){var n=t.target,r=(0,ei.R)(n,tA.u6);r&&((0,tA._m)(r,t,e._api),S(e))}).on("mouseout",function(t){var n=t.target,r=(0,ei.R)(n,tA.u6);r&&((0,tA.Iz)(r,t,e._api),S(e))}).on("click",function(t){var n=t.target,r=(0,ei.R)(n,function(t){return null!=(0,tS.z)(t).dataIndex},!0);if(r){var i=r.selected?"unselect":"select",o=(0,tS.z)(r);e._api.dispatchAction({type:i,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},m=function(t,e,n,r,i){!function(t){var e=[],n=[],r=!1;if(t.eachComponent(function(t,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:i.componentIndex,type:t,key:s})}),r){var i,o,a=e.concat(n);(0,O.A)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,T.each)(a,function(e){var n=t.getComponent(e.type,e.idx),r=e.zlevel,a=e.key;null!=i&&(r=Math.max(i,r)),a?(r===i&&a!==o&&r++,o=a):o&&(r===i&&r++,o=""),i=r,n.setZLevel(r)})}}(e),_(t,e,n,r,i),(0,T.each)(t._chartsViews,function(t){t.__alive=!1}),b(t,e,n,r,i),(0,T.each)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},_=function(t,e,o,a,s,l){(0,T.each)(l||t._componentsViews,function(t){var s=t.__model;r(s,t),t.render(s,e,o,a),n(s,t),i(s,t)})},b=function(t,e,o,a,s,l){var u,c,h,f,d=t._scheduler;s=(0,T.extend)(s||{},{updatedSeries:e.getSeries()}),ea.trigger("series:beforeupdate",e,o,s);var p=!1;e.eachSeries(function(e){var n,i,o,s=t._chartsMap[e.__viewId];s.__alive=!0;var u=s.renderTask;d.updatePayload(u,a),r(e,s),l&&l.get(e.uid)&&u.dirty(),u.perform(d.getPerformArgs(u))&&(p=!0),s.group.silent=!!e.get("silent"),n=e,i=s,o=n.get("blendMode")||null,i.eachRendered(function(t){t.isGroup||(t.style.blend=o)}),(0,tA.jA)(e)}),d.unfinished=p||d.unfinished,ea.trigger("series:layoutlabels",e,o,s),ea.trigger("series:transition",e,o,s),e.eachSeries(function(e){var r=t._chartsMap[e.__viewId];n(e,r),i(e,r)}),u=t,c=e,h=u._zr.storage,f=0,h.traverse(function(t){!t.isGroup&&f++}),!(f>c.get("hoverLayerThreshold"))||C.A.node||C.A.worker||c.eachSeries(function(t){if(!t.preventUsingHoverLayer){var e=u._chartsMap[t.__viewId];e.__alive&&e.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}}),ea.trigger("series:afterupdate",e,o,s)},S=function(t){t[ep]=!0,t.getZr().wakeUp()},A=function(t){t[ep]&&(t.getZr().storage.traverse(function(t){tx.LR(t)||e(t)}),t[ep]=!1)},x=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,M.C6)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,tA.HY)(e,n),S(t)},n.prototype.leaveEmphasis=function(e,n){(0,tA.SD)(e,n),S(t)},n.prototype.enterBlur=function(e){(0,tA.QX)(e),S(t)},n.prototype.leaveBlur=function(e){(0,tA.JC)(e),S(t)},n.prototype.enterSelect=function(e){(0,tA.JI)(e),S(t)},n.prototype.leaveSelect=function(e){(0,tA.gd)(e),S(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(G))(t)},w=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][ey]=e}(0,T.each)(ek,function(n,r){t._messageCenter.on(r,function(n){if(eR[t.group]&&0!==t[ey]&&(!n||!n.escapeConnect)){var r=t.makeActionFromEvent(n),i=[];(0,T.each)(eD,function(e){e!==t&&e.group===t.group&&i.push(e)}),e(i,0),(0,T.each)(i,function(t){1!==t[ey]&&t.dispatchAction(r)}),e(i,2)}})})}}(),e}(I.A),eS=ew.prototype;eS.on=ev("on"),eS.off=ev("off"),eS.one=function(t,e,n){var r=this;(0,et.aT)("ECharts#one is deprecated."),this.on.call(this,t,function n(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];e&&e.apply&&e.apply(this,i),r.off(t,n)},n)};var eA=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],eM={},ek={},eT=[],eC=[],eO=[],eI={},eE={},eD={},eR={},eL=new Date-0,eP=new Date-0,eN="_echarts_instance_";function eB(t,e,n){var r=!(n&&n.ssr);if(r){var i=eV(t);if(i)return i}var o=new ew(t,e,n);return o.id="ec_"+eL++,eD[o.id]=o,r&&E.Bq(t,eN,o.id),w(o),ea.trigger("afterinit",o),o}function eF(t){if((0,T.isArray)(t)){var e=t;t=null,(0,T.each)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+eP++,(0,T.each)(e,function(e){e.group=t})}return eR[t]=!0,t}function ej(t){eR[t]=!1}var ez=ej;function eH(t){(0,T.isString)(t)?t=eD[t]:t instanceof ew||(t=eV(t)),t instanceof ew&&!t.isDisposed()&&t.dispose()}function eV(t){return eD[E.D$(t,eN)]}function eU(t){return eD[t]}function eW(t,e){eI[t]=e}function eq(t){0>(0,T.indexOf)(eC,t)&&eC.push(t)}function eG(t,e){e2(eT,t,e,2e3)}function eZ(t){e$("afterinit",t)}function eY(t){e$("afterupdate",t)}function e$(t,e){ea.on(t,e)}function eX(t,e,n){(0,T.isFunction)(e)&&(n=e,e="");var r=(0,T.isObject)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||r).toLowerCase(),ek[e=t.event]||((0,T.assert)(eg.test(r)&&eg.test(e)),eM[r]||(eM[r]={action:n,actionInfo:t}),ek[e]=r)}function eK(t,e){Z.A.register(t,e)}function eJ(t){var e=Z.A.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function eQ(t,e){e2(eO,t,e,1e3,"layout")}function e0(t,e){e2(eO,t,e,3e3,"visual")}var e1=[];function e2(t,e,n,r,i){if(((0,T.isFunction)(e)||(0,T.isObject)(e))&&(n=e,e=r),!((0,T.indexOf)(e1,n)>=0)){e1.push(n);var o=tH.wrapStageHandler(n,i);o.__prio=e,o.__raw=n,t.push(o)}}function e5(t,e){eE[t]=e}function e3(t){(0,es.Gs)({createCanvas:t})}function e6(t,e,n){var r=(0,el.v)("registerMap");r&&r(t,e,n)}function e4(t){var e=(0,el.v)("getMap");return e&&e(t)}var e8=en.v5;e0(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=t.getModel(r),o=tD(t,r)(i),a=i.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=tR(t,r),l=o[s],u=(0,T.isFunction)(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=h,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||(0,T.isFunction)(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||(0,T.isFunction)(o.stroke)?h:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var r=t.getDataParams(n),i=(0,T.extend)({},o);i[s]=u(r),e.setItemVisual(n,"style",i)}}}}),e0(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=tD(t,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[r]){tL.option=n[r];var a=i(tL),s=t.ensureUniqueItemVisual(e,"style");(0,T.extend)(s,a),tL.option.decal&&(t.setItemVisual(e,"decal",tL.option.decal),tL.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),e0(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,T.createHashMap)();t.eachSeries(function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var r=t.type+"-"+n,i=e.get(r);i||(i={},e.set(r,i)),tO(t).scope=i}}),t.eachSeries(function(e){if(!(e.isColorBySeries()||t.isSeriesFiltered(e))){var n=e.getRawData(),r={},i=e.getData(),o=tO(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=tR(e,a);i.each(function(t){r[i.getRawIndex(t)]=t}),n.each(function(t){var a=r[t];if(i.getItemVisual(a,"colorFromPalette")){var l=i.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",c=n.count();l[s]=e.getColorFromPalette(u,o,c)}})}})}}),e0(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var r={},i={},o=!1,a=0;a<t9.length;a++){var s=t9[a],l=t.get(s);(0,T.isFunction)(l)?(o=!0,i[s]=l):r[s]=l}if(r.symbol=r.symbol||t.defaultSymbol,n.setVisual((0,T.extend)({legendIcon:t.legendIcon||r.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},r)),!e.isSeriesFiltered(t)){var u=(0,T.keys)(i);return{dataEach:o?function(e,n){for(var r=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,i[s](r,o))}}:null}}}}}),e0(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),r=0;r<t7.length;r++){var i=t7[r],o=n.getShallow(i,!0);null!=o&&t.setItemVisual(e,i,o)}}:null}}}),e0(7e3,function(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each(function(t){var n=r.getItemVisual(t,"decal");n&&(r.ensureUniqueItemVisual(t,"style").decal=(0,eo.w)(n,e))});var i=r.getVisual("decal");i&&(r.getVisual("style").decal=(0,eo.w)(i,e))}})}),eq(td),eG(900,function(t){var e=(0,T.createHashMap)();t.eachSeries(function(t){var n=t.get("stack");if(n){var r=e.get(n)||e.set(n,[]),i=t.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}}),e.each(tg)}),eE.default=function(t,e){e=e||{},T.defaults(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n,r=new tP.A,i=new t_.A({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});r.add(i);var o=new tN.Ay({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new t_.A({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return r.add(a),e.showSpinner&&((n=new tB.A({shape:{startAngle:-tF/2,endAngle:-tF/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*tF/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*tF/2}).delay(300).start("circularInOut"),r.add(n)),r.resize=function(){var r=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&r?10:0)-r)/2-(e.showSpinner&&r?0:5+r/2)+(e.showSpinner?0:r/2)+(r?0:s),u=t.getHeight()/2;e.showSpinner&&n.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},r.resize(),r},eX({type:tA.h5,event:tA.h5,update:tA.h5},T.noop),eX({type:tA.PW,event:tA.PW,update:tA.PW},T.noop),eX({type:tA.Lv,event:tA.Lv,update:tA.Lv},T.noop),eX({type:tA.U2,event:tA.U2,update:tA.U2},T.noop),eX({type:tA.Q6,event:tA.Q6,update:tA.Q6},T.noop),eI.light={color:t0,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t0]},eI.dark=t6;var e9={}},21658:function(t,e,n){"use strict";n.d(e,{m:()=>i,v:()=>o});var r={};function i(t,e){r[t]=e}function o(t){return r[t]}},79242:function(t,e,n){"use strict";n.d(e,{A4:()=>h,pr:()=>f,E:()=>u,Lv:()=>l,A$:()=>c});var r=n(43116),i=n(55198),o=n(12417),a={},s={},l=i.A.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function u(t,e){s[t=t.toUpperCase()]=new r.A(e),a[t]=e}function c(t){if(!(0,o.isString)(t))return(0,o.merge)((0,o.clone)(t),(0,o.clone)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.clone)(e):(0,o.merge)((0,o.clone)(e),(0,o.clone)(a.EN),!1)}function h(t){return s[t]}function f(){return s.EN}u("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),u("ZH",{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}})},97513:function(t,e,n){"use strict";n.d(e,{U:()=>i});var r=n(12417);function i(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n,i,o,a=this._upstream,s=t&&t.skip;if(this._dirty&&a){var l=this.context;l.data=l.outputData=a.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(i=this._plan(this.context));var u=((e=this._modBy)>=1||(e=1),e),c=this._modDataCount||0,h=((n=t&&t.modBy)>=1||(n=1),n),f=t&&t.modDataCount||0;(u!==h||c!==f)&&(i="reset"),(this._dirty||"reset"===i)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=h,this._modDataCount=f;var d=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,g=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!s&&(o||p<g)){var y=this._progress;if((0,r.isArray)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],p,g,h,f);else this._doProgress(y,p,g,h,f)}this._dueIndex=g;var m=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,r,i){a.reset(e,n,r,i),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,r.isArray)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,n,i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,r,i,o={reset:function(l,u,c,h){e=l,t=u,n=c,i=Math.ceil((r=h)/n),o.next=n>1&&r>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%i*n+Math.ceil(e/i),a=e>=t?null:o<r?o:e;return e++,a}}()},86173:function(t,e,n){"use strict";function r(t){return null==t?0:t.length||1}function i(t){return t}n.d(e,{A:()=>o});let o=function(){function t(t,e,n,r,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=Array(t.length),o=Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=i[a],l=n[s],u=r(l);if(u>1){var c=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(c,a)}else 1===u?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,i,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var l=o[s],u=n[l],c=i[l],h=r(u),f=r(c);if(h>1&&1===f)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(1===h&&f>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(1===h&&1===f)this._update&&this._update(c,u),i[l]=null;else if(h>1&&f>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(h>1)for(var d=0;d<h;d++)this._remove&&this._remove(u[d]);else this._remove&&this._remove(u)}this._performRestAdd(a,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],o=e[i],a=r(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[i](t[a],a);if(o||(n[a]=s),e){var l=e[s],u=r(l);0===u?(e[s]=a,o&&n.push(s)):1===u?e[s]=[l,a]:l.push(a)}}},t}()},42896:function(t,e,n){"use strict";n.d(e,{A_:()=>c,Ay:()=>y});var r,i=n(12417),o=n(48655),a=n(20860),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,u=typeof Uint16Array===s?Array:Uint16Array,c=typeof Int32Array===s?Array:Int32Array,h=typeof Float64Array===s?Array:Float64Array,f={float:h,int:c,ordinal:Array,number:Array,time:h};function d(t){return t>65535?l:u}function p(){return[1/0,-1/0]}function g(t,e,n,r,i){var o=f[n||"float"];if(i){var a=t[e],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(r)}let y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,i.createHashMap)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=r[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[],(0,a.O0)(o),this._dimensions=(0,i.map)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,r=this._dimensions,i=n.get(t);if(null!=i){if(r[i].type===e)return i}else i=r.length;return r[i]={type:e},n.set(t,i),this._chunks[i]=new f[e||"float"](this._rawCount),this._rawExtent[i]=p(),i},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],r=this._dimensions[t],i=this._rawExtent,o=r.ordinalOffset||0,a=n.length;0===o&&(i[t]=p());for(var s=i[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}r.ordinalMeta=e,r.ordinalOffset=a,r.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var r=e.count();return e.persistent||(r+=n),n<r&&this._initDataFromProvider(n,r,!0),[n,r]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,o=i.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var c=i[u];g(n,u,c.type,l,!0)}for(var h=[],f=s;f<l;f++)for(var d=f-s,p=0;p<o;p++){var c=i[p],y=r.arrayRows.call(this,t[d]||h,c.property,d,p);n[p][f]=y;var v=a[p];y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var r=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,i.map)(a,function(t){return t.property}),c=0;c<s;c++){var h=a[c];l[c]||(l[c]=p()),g(o,c,h.type,e,n)}if(r.fillStorage)r.fillStorage(t,e,o,l);else for(var f=[],d=t;d<e;d++){f=r.getItem(d,f);for(var y=0;y<s;y++){var v=o[y],m=this._dimValueGetter(f,u[y],d,y);v[d]=m;var _=l[y];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],r=[];if(null==e){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=t;for(var i=0,o=r.length;i<o;i++)n.push(this.get(r[i],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var r=0,i=this.count();r<i;r++){var o=this.get(t,r);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var n=e.sort(function(t,e){return t-e}),r=this.count();return 0===r?0:r%2==1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return -1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var r=0,i=this._count-1;r<=i;){var o=(r+i)/2|0;if(e[o]<t)r=o+1;else{if(!(e[o]>t))return o;i=o-1}}return -1},t.prototype.indicesOfNearest=function(t,e,n){var r=this._chunks[t],i=[];if(!r)return i;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var c=e-r[this.getRawIndex(l)],h=Math.abs(c);h<=n&&((h<o||h===o&&c>=0&&a<0)&&(o=h,a=c,s=0),c===a&&(i[s++]=l))}return i.length=s,i},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,r=this._count;if(n===Array){t=new n(r);for(var i=0;i<r;i++)t[i]=e[i]}else t=new n(e.buffer,0,r)}else{var n=d(this._rawCount);t=new n(this.count());for(var i=0;i<t.length;i++)t[i]=i}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),r=n.count(),i=new(d(n._rawCount))(r),o=[],a=t.length,s=0,l=t[0],u=n._chunks,c=0;c<r;c++){var h=void 0,f=n.getRawIndex(c);if(0===a)h=e(c);else if(1===a)h=e(u[l][f],c);else{for(var p=0;p<a;p++)o[p]=u[t[p]][f];o[p]=c,h=e.apply(null,o)}h&&(i[s++]=f)}return s<r&&(n._indices=i),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var r=(0,i.keys)(t),o=r.length;if(!o)return this;var a=e.count(),s=new(d(e._rawCount))(a),l=0,u=r[0],c=t[u][0],h=t[u][1],f=e._chunks,p=!1;if(!e._indices){var g=0;if(1===o){for(var y=f[r[0]],v=0;v<n;v++){var m=y[v];(m>=c&&m<=h||isNaN(m))&&(s[l++]=g),g++}p=!0}else if(2===o){for(var y=f[r[0]],_=f[r[1]],b=t[r[1]][0],x=t[r[1]][1],v=0;v<n;v++){var m=y[v],w=_[v];(m>=c&&m<=h||isNaN(m))&&(w>=b&&w<=x||isNaN(w))&&(s[l++]=g),g++}p=!0}}if(!p)if(1===o)for(var v=0;v<a;v++){var S=e.getRawIndex(v),m=f[r[0]][S];(m>=c&&m<=h||isNaN(m))&&(s[l++]=S)}else for(var v=0;v<a;v++){for(var A=!0,S=e.getRawIndex(v),M=0;M<o;M++){var k=r[M],m=f[k][S];(m<t[k][0]||m>t[k][1])&&(A=!1)}A&&(s[l++]=e.getRawIndex(v))}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var r=t._chunks,i=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=p();for(var c=0;c<a;c++){for(var h=t.getRawIndex(c),f=0;f<o;f++)s[f]=r[e[f]][h];s[o]=c;var d=n&&n.apply(null,s);if(null!=d){"object"!=typeof d&&(i[0]=d,d=i);for(var u=0;u<d.length;u++){var g=e[u],y=d[u],v=l[g],m=r[g];m&&(m[h]=y),y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}}}},t.prototype.lttbDownSample=function(t,e){var n,r,i,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),h=new(d(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));h[l++]=c;for(var f=1;f<s-1;f+=u){for(var p=Math.min(f+u,s-1),g=Math.min(f+2*u,s),y=(g+p)/2,v=0,m=p;m<g;m++){var _=this.getRawIndex(m),b=a[_];isNaN(b)||(v+=b)}v/=g-p;var x=f,w=Math.min(f+u,s),S=f-1,A=a[c];n=-1,i=x;for(var M=-1,k=0,m=x;m<w;m++){var _=this.getRawIndex(m),b=a[_];if(isNaN(b)){k++,M<0&&(M=_);continue}(r=Math.abs((S-y)*(b-A)-(S-m)*(v-A)))>n&&(n=r,i=_)}k>0&&k<w-x&&(h[l++]=Math.min(M,i),i=Math.max(M,i)),h[l++]=i,c=i}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),r=n._chunks,i=Math.floor(1/e),o=r[t],a=this.count(),s=new(d(this._rawCount))(2*Math.ceil(a/i)),l=0,u=0;u<a;u+=i){var c=u,h=o[this.getRawIndex(c)],f=u,p=o[this.getRawIndex(f)],g=i;u+i>a&&(g=a-u);for(var y=0;y<g;y++){var v=o[this.getRawIndex(u+y)];v<h&&(h=v,c=u+y),v>p&&(p=v,f=u+y)}var m=this.getRawIndex(c),_=this.getRawIndex(f);c<f?(s[l++]=m,s[l++]=_):(s[l++]=_,s[l++]=m)}return n._count=l,n._indices=s,n._updateGetRawIdx(),n},t.prototype.downSample=function(t,e,n,r){for(var i=this.clone([t],!0),o=i._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=i._rawExtent[t]=p(),h=new(d(this._rawCount))(Math.ceil(u/s)),f=0,g=0;g<u;g+=s){s>u-g&&(a.length=s=u-g);for(var y=0;y<s;y++){var v=this.getRawIndex(g+y);a[y]=l[v]}var m=n(a),_=this.getRawIndex(Math.min(g+r(a,m)||0,u-1));l[_]=m,m<c[0]&&(c[0]=m),m>c[1]&&(c[1]=m),h[f++]=_}return i._count=f,i._indices=h,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,r=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(n){case 0:e(i);break;case 1:e(r[t[0]][a],i);break;case 2:e(r[t[0]][a],r[t[1]][a],i);break;default:for(var s=0,l=[];s<n;s++)l[s]=r[t[s]][a];l[s]=i,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e,n=this._chunks[t],r=p();if(!n)return r;var i=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var o=(e=r)[0],a=e[1],s=0;s<i;s++){var l=n[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return e=[o,a],this._extent[t]=e,e},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],r=this._chunks,i=0;i<r.length;i++)n.push(r[i][e]);return n},t.prototype.clone=function(e,n){var r=new t,o=this._chunks,a=e&&(0,i.reduce)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)r._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else r._chunks=o;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,i.clone)(this._extent),t._rawExtent=(0,i.clone)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var r=0;r<n;r++)e[r]=this._indices[r]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,r){return(0,o.Pn)(t[r],this._dimensions[r])}r={arrayRows:t,objectRows:function(t,e,n,r){return(0,o.Pn)(t[e],this._dimensions[r])},keyedColumns:t,original:function(t,e,n,r){var i=t&&(null==t.value?t:t.value);return(0,o.Pn)(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(t,e,n,r){return t[r]}}}(),t}()},17309:function(t,e,n){"use strict";n.d(e,{A:()=>a});var r=n(12417),i=0;function o(t){return(0,r.isObject)(t)&&null!=t.value?t.value:t+""}let a=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++i}return t.createByAxisModel=function(e){var n=e.option,i=n.data,a=i&&(0,r.map)(i,o);return new t({categories:a,needCollect:!a,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!(0,r.isString)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,r.createHashMap)(this.categories))},t}()},42592:function(t,e,n){"use strict";n.d(e,{A:()=>T});var r,i,o,a,s,l,u,c=n(12417),h=n(43116),f=n(86173),d=n(37269),p=n(34022),g=n(38549),y=n(84732),v=n(47632),m=n(44988),_=n(20860),b=n(42896),x=n(26014),w=c.isObject,S=c.map,A="undefined"==typeof Int32Array?Array:Int32Array,M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],k=["_approximateExtent"];let T=function(){function t(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var n,r=!1;(0,x.fg)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(r=!0,n=t),n=n||["x","y"];for(var i={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var h=n[u],f=c.isString(h)?new g.A({name:h}):h instanceof g.A?h:new g.A(h),d=f.name;f.type=f.type||"float",f.coordDim||(f.coordDim=d,f.coordDimIndex=0);var p=f.otherDims=f.otherDims||{};o.push(d),i[d]=f,null!=l[d]&&(s=!0),f.createInvertedIndices&&(a[d]=[]),0===p.itemName&&(this._nameDimIdx=u),0===p.itemId&&(this._idDimIdx=u),r&&(f.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var y=this._dimIdxToName=c.createHashMap();c.each(o,function(t){y.set(i[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var r=this._schema.getSourceDimension(e);if(r)return r.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(c.isNumber(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var r=n.encode[t];return r?r[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var r,i=this;if(t instanceof b.Ay&&(r=t),!r){var o=this.dimensions,a=(0,_.tP)(t)||c.isArrayLike(t)?new d.d1(t,o.length):t;r=new b.Ay;var s=S(o,function(t){return{type:i._dimInfos[t].type,property:t}});r.initData(a,s,n)}this._store=r,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=(0,p.l)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),r=n.start,i=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=r;a<i;a++){var s=a-r;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var r=this._dimInfos[e[n]];r.ordinalMeta&&t.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==y.XO&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList;if(n.getSource().sourceFormat===y.mK&&!n.pure)for(var a=[],s=t;s<e;s++){var l=n.getItem(s,a);if(!this.hasItemOption&&(0,v.zu)(l)&&(this.hasItemOption=!0),l){var c=l.name;null==i[s]&&null!=c&&(i[s]=(0,v.vS)(c,null));var h=l.id;null==o[s]&&null!=h&&(o[s]=(0,v.vS)(h,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);r(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){w(t)?c.extend(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),r=this._store.getOrdinalMeta(t);return r?r.categories[n]:n},t.prototype.getId=function(t){return i(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,r=this._dimInfos[t];if(r)return n.get(r.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,r=this._dimInfos[t];if(r)return n.getByRawIndex(r.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,r=this._store;return c.isArray(t)?r.getValues(S(t,function(t){return n._getStoreDimIndex(t)}),e):r.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,r=e.length;n<r;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return -1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t],r=n&&n[e];return null==r||isNaN(r)?-1:r},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]);var r=n||this,i=S(a(t),this._getStoreDimIndex,this);this._store.each(i,r?c.bind(e,r):e)},t.prototype.filterSelf=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]);var r=n||this,i=S(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,r?c.bind(e,r):e),this},t.prototype.selectRange=function(t){var e=this,n={},r=c.keys(t),i=[];return c.each(r,function(r){var o=e._getStoreDimIndex(r);n[o]=t[r],i.push(o)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]),n=n||this;var r=[];return this.each(t,function(){r.push(e&&e.apply(this,arguments))},n),r},t.prototype.map=function(t,e,n,r){var i=n||r||this,o=S(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,i?c.bind(e,i):e),s},t.prototype.modify=function(t,e,n,r){var i=n||r||this,o=S(a(t),this._getStoreDimIndex,this);this._store.modify(o,i?c.bind(e,i):e)},t.prototype.downSample=function(t,e,n,r){var i=l(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,n,r),i},t.prototype.minmaxDownSample=function(t,e){var n=l(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=l(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new h.A(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new f.A(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return i(t,e)},function(t){return i(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},w(t)?c.extend(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],r=n&&n[e];return null==r?this.getVisual(e):r},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,r=n[t];r||(r=n[t]={});var i=r[e];return null==i&&(i=this.getVisual(e),c.isArray(i)?i=i.slice():w(i)&&(i=c.extend({},i)),r[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,w(e)?c.extend(r,e):r[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){w(t)?c.extend(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?c.extend(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,m.a)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){c.each(this._graphicEls,function(n,r){n&&t&&t.call(e,n,r)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:S(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];c.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(c.slice(arguments)))})},t.internalField=void(r=function(t){var e=t._invertedIndicesMap;c.each(e,function(n,r){var i=t._dimInfos[r],o=i.ordinalMeta,a=t._store;if(o){n=e[r]=new A(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(var s=0;s<a.count();s++)n[a.get(i.storeDimIndex,s)]=s}})},o=function(t,e,n){return(0,v.vS)(t._getCategory(e,n),null)},i=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return c.isArray(t)||(t=null!=t?[t]:[]),t},l=function(e){var n=new t(e._schema?e._schema:S(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){c.each(M.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,c.each(k,function(n){t[n]=c.clone(e[n])}),t._calculationInfo=c.extend({},e._calculationInfo)},u=function(t,e){var n=t._nameList,r=t._idList,i=t._nameDimIdx,a=t._idDimIdx,s=n[e],l=r[e];if(null==s&&null!=i&&(n[e]=s=o(t,i,e)),null==l&&null!=a&&(r[e]=l=o(t,a,e)),null==l&&null!=s){var u=t._nameRepeatCount,c=u[s]=(u[s]||0)+1;l=s,c>1&&(l+="__ec__"+c),r[e]=l}}),t}()},38549:function(t,e,n){"use strict";n.d(e,{A:()=>i});var r=n(12417);let i=function(t){this.otherDims={},null!=t&&r.extend(this,t)}},20860:function(t,e,n){"use strict";n.d(e,{AF:()=>c,BE:()=>h,O0:()=>g,gV:()=>u,tP:()=>l,wZ:()=>f});var r=n(12417),i=n(84732),o=n(47632),a=n(70589),s=function(t){this.data=t.data||(t.sourceFormat===i.t1?{}:[]),this.sourceFormat=t.sourceFormat||i.vm,this.seriesLayoutBy=t.seriesLayoutBy||i.i_,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var r=e[n];null==r.type&&(0,a.PU)(this,n)===a.sc.Must&&(r.type="ordinal")}};function l(t){return t instanceof s}function u(t,e,n){n=n||f(t);var a=e.seriesLayoutBy,l=function(t,e,n,a,s){if(!t)return{dimensionsDefine:d(s),startIndex:u,dimensionsDetectedCount:l};if(e===i.Km){var l,u;"auto"===a||null==a?p(function(t){null!=t&&"-"!==t&&((0,r.isString)(t)?null==u&&(u=1):u=0)},n,t,10):u=(0,r.isNumber)(a)?a:+!!a,s||1!==u||(s=[],p(function(t,e){s[e]=null!=t?t+"":""},n,t,1/0)),l=s?s.length:n===i.oC?t.length:t[0]?t[0].length:null}else if(e===i.Wk)s||(s=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e)return(0,r.keys)(e)}(t));else if(e===i.t1)s||(s=[],(0,r.each)(t,function(t,e){s.push(e)}));else if(e===i.mK){var c=(0,o.vj)(t[0]);l=(0,r.isArray)(c)&&c.length||1}else i.XO;return{startIndex:u,dimensionsDefine:d(s),dimensionsDetectedCount:l}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:l.dimensionsDefine,startIndex:l.startIndex,dimensionsDetectedCount:l.dimensionsDetectedCount,metaRawOption:(0,r.clone)(e)})}function c(t){return new s({data:t,sourceFormat:(0,r.isTypedArray)(t)?i.XO:i.mK})}function h(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,r.clone)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function f(t){var e=i.vm;if((0,r.isTypedArray)(t))e=i.XO;else if((0,r.isArray)(t)){0===t.length&&(e=i.Km);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,r.isArray)(a)||(0,r.isTypedArray)(a)){e=i.Km;break}else if((0,r.isObject)(a)){e=i.Wk;break}}}}else if((0,r.isObject)(t)){for(var s in t)if((0,r.hasOwn)(t,s)&&(0,r.isArrayLike)(t[s])){e=i.t1;break}}return e}function d(t){if(t){var e=(0,r.createHashMap)();return(0,r.map)(t,function(t,n){var i={name:(t=(0,r.isObject)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var o=e.get(i.name);return o?i.name+="-"+o.count++:e.set(i.name,{count:1}),i})}}function p(t,e,n,r){if(e===i.oC)for(var o=0;o<n.length&&o<r;o++)t(n[o]?n[o][0]:null,o);else for(var a=n[0]||[],o=0;o<a.length&&o<r;o++)t(a[o],o)}function g(t){var e=t.sourceFormat;return e===i.Wk||e===i.t1}},26014:function(t,e,n){"use strict";n.d(e,{Tc:()=>l,eS:()=>f,fg:()=>u,io:()=>c,j_:()=>h});var r=n(12417),i=n(47632),o=n(20860),a=(0,i.$r)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=h(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,r.retrieve2)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.O0)(this.source),n=!f(t),r="",i=[],a=0,l=0;a<t;a++){var u=void 0,c=void 0,h=void 0,d=this.dimensions[l];if(d&&d.storeDimIndex===a)u=e?d.name:null,c=d.type,h=d.ordinalMeta,l++;else{var p=this.getSourceDimension(a);p&&(u=e?p.name:null,c=p.type)}i.push({property:u,type:c,ordinalMeta:h}),!e||null==u||d&&d.isCalculationCoord||(r+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),r+="$",r+=s[c]||"f",h&&(r+=h.uid),r+="$"}var g=this.source;return{dimensions:i,hash:[g.seriesLayoutBy,g.startIndex,r].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var r=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===e)i.isCalculationCoord||(r=i.name),n++;else{var o=this.getSourceDimension(e);o&&(r=o.name)}t.push(r)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){return t instanceof l}function c(t){for(var e=(0,r.createHashMap)(),n=0;n<(t||[]).length;n++){var i=t[n],o=(0,r.isObject)(i)?i.name:i;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function h(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=c(t.dimensionsDefine))}function f(t){return t>30}},71653:function(t,e,n){"use strict";n.d(e,{A:()=>f,M:()=>h});var r=n(84732),i=n(38549),o=n(12417),a=n(20860),s=n(42896),l=n(47632),u=n(70589),c=n(26014);function h(t,e){return f(t,e).dimensions}function f(t,e){(0,a.tP)(t)||(t=(0,a.AF)(t));var n,h,f,d,p,g=(e=e||{}).coordDimensions||[],y=e.dimensionsDefine||t.dimensionsDefine||[],v=(0,o.createHashMap)(),m=[],_=(n=t,h=g,f=y,d=e.dimensionsCount,p=Math.max(n.dimensionsDetectedCount||1,h.length,f.length,d||0),(0,o.each)(h,function(t){var e;(0,o.isObject)(t)&&(e=t.dimsDef)&&(p=Math.max(p,e.length))}),p),b=e.canOmitUnusedDimensions&&(0,c.eS)(_),x=y===t.dimensionsDefine,w=x?(0,c.j_)(t):(0,c.io)(y),S=e.encodeDefine;!S&&e.encodeDefaulter&&(S=e.encodeDefaulter(t,_));for(var A=(0,o.createHashMap)(S),M=new s.A_(_),k=0;k<M.length;k++)M[k]=-1;function T(t){var e=M[t];if(e<0){var n=y[t],r=(0,o.isObject)(n)?n:{name:n},a=new i.A,s=r.name;null!=s&&null!=w.get(s)&&(a.name=a.displayName=s),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var l=m.length;return M[t]=l,a.storeDimIndex=t,m.push(a),a}return m[e]}if(!b)for(var k=0;k<_;k++)T(k);A.each(function(t,e){var n=(0,l.qB)(t).slice();if(1===n.length&&!(0,o.isString)(n[0])&&n[0]<0)return void A.set(e,!1);var r=A.set(e,[]);(0,o.each)(n,function(t,n){var i=(0,o.isString)(t)?w.get(t):t;null!=i&&i<_&&(r[n]=i,O(T(i),e,n))})});var C=0;function O(t,e,n){null!=r.Pe.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,v.set(e,!0))}(0,o.each)(g,function(t){if((0,o.isString)(t))i=t,r={};else{var e,n,r,i=(r=t).name,a=r.ordinalMeta;r.ordinalMeta=null,(r=(0,o.extend)({},r)).ordinalMeta=a,e=r.dimsDef,n=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=A.get(i);if(!1!==s){if(!(s=(0,l.qB)(s)).length)for(var u=0;u<(e&&e.length||1);u++){for(;C<_&&null!=T(C).coordDim;)C++;C<_&&s.push(C++)}(0,o.each)(s,function(t,a){var s=T(t);if(x&&null!=r.type&&(s.type=r.type),O((0,o.defaults)(s,r),i,a),null==s.name&&e){var l=e[a];(0,o.isObject)(l)||(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}n&&(0,o.defaults)(s.otherDims,n)})}});var I=e.generateCoord,E=e.generateCoordCount,D=null!=E;E=I?E||1:0;var R=I||"value";function L(t){null==t.name&&(t.name=t.coordDim)}if(b)(0,o.each)(m,function(t){L(t)}),m.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var P=0;P<_;P++){var N=T(P);null==N.coordDim&&(N.coordDim=function(t,e,n){if(n||e.hasKey(t)){for(var r=0;e.hasKey(t+r);)r++;t+=r}return e.set(t,!0),t}(R,v,D),N.coordDimIndex=0,(!I||E<=0)&&(N.isExtraCoord=!0),E--),L(N),null==N.type&&((0,u.PU)(t,P)===u.sc.Must||N.isExtraCoord&&(null!=N.otherDims.itemName||null!=N.otherDims.seriesName))&&(N.type="ordinal")}return function(t){for(var e=(0,o.createHashMap)(),n=0;n<t.length;n++){var r=t[n],i=r.name,a=e.get(i)||0;a>0&&(r.name=i+(a-1)),a++,e.set(i,a)}}(m),new c.Tc({source:t,dimensions:m,fullDimensionCount:_,dimensionOmitted:b})}},37269:function(t,e,n){"use strict";n.d(e,{Kd:()=>m,QE:()=>S,d1:()=>f,sC:()=>g,uQ:()=>x});var r,i,o,a,s,l=n(12417),u=n(47632),c=n(20860),h=n(84732),f=function(){var t;function e(t,e){var n=(0,c.tP)(t)?t:(0,c.AF)(t);this._source=n;var r=this._data=n.data;n.sourceFormat===h.XO&&(this._offset=0,this._dimSize=e,this._data=r),s(this,r,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){s=function(t,i,o){var s=o.sourceFormat,u=o.seriesLayoutBy,c=o.startIndex,f=o.dimensionsDefine,d=a[w(s,u)];if((0,l.extend)(t,d),s===h.XO)t.getItem=e,t.count=r,t.fillStorage=n;else{var p=g(s,u);t.getItem=(0,l.bind)(p,null,i,c,f);var y=m(s,u);t.count=(0,l.bind)(y,null,i,c,f)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,r=this._dimSize,i=r*t,o=0;o<r;o++)e[o]=n[i+o];return e},n=function(t,e,n,r){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=r[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=n[a],f=0;f<c;f++){var d=i[f*o+a];h[t+f]=d,d<l&&(l=d),d>u&&(u=d)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[h.Km+"_"+h.i_]={pure:!0,appendData:i},t[h.Km+"_"+h.oC]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[h.Wk]={pure:!0,appendData:i},t[h.t1]={pure:!0,appendData:function(t){var e=this._data;(0,l.each)(t,function(t,n){for(var r=e[n]||(e[n]=[]),i=0;i<(t||[]).length;i++)r.push(t[i])})}},t[h.mK]={appendData:i},t[h.XO]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),e}(),d=function(t,e,n,r){return t[r]},p=((r={})[h.Km+"_"+h.i_]=function(t,e,n,r){return t[r+e]},r[h.Km+"_"+h.oC]=function(t,e,n,r,i){r+=e;for(var o=i||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[r]:null}return o},r[h.Wk]=d,r[h.t1]=function(t,e,n,r,i){for(var o=i||[],a=0;a<n.length;a++){var s=t[n[a].name];o[a]=s?s[r]:null}return o},r[h.mK]=d,r);function g(t,e){return p[w(t,e)]}var y=function(t,e,n){return t.length},v=((i={})[h.Km+"_"+h.i_]=function(t,e,n){return Math.max(0,t.length-e)},i[h.Km+"_"+h.oC]=function(t,e,n){var r=t[0];return r?Math.max(0,r.length-e):0},i[h.Wk]=y,i[h.t1]=function(t,e,n){var r=t[n[0].name];return r?r.length:0},i[h.mK]=y,i);function m(t,e){return v[w(t,e)]}var _=function(t,e,n){return t[e]},b=((o={})[h.Km]=_,o[h.Wk]=function(t,e,n){return t[n]},o[h.t1]=_,o[h.mK]=function(t,e,n){var r=(0,u.vj)(t);return r instanceof Array?r[e]:r},o[h.XO]=_,o);function x(t){return b[t]}function w(t,e){return t===h.Km?t+"_"+e:t}function S(t,e,n){if(t){var r=t.getRawDataItem(e);if(null!=r){var i=t.getStore(),o=i.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=i.getDimensionProperty(a);return b[o](r,a,s)}var l=r;return o===h.mK&&(l=(0,u.vj)(r)),l}}}},89686:function(t,e,n){"use strict";n.d(e,{iJ:()=>o,me:()=>s,sJ:()=>a});var r=n(12417),i=n(26014);function o(t,e,n){var o,a,s,l,u,c,h,f,d=(n=n||{}).byIndex,p=n.stackedCoordDimension;(o=e,(0,i.fg)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack"));if((0,r.each)(a,function(t,e){(0,r.isString)(t)&&(a[e]=t={name:t}),g&&!t.isExtraCoord&&(d||u||!t.ordinalMeta||(u=t),c||"ordinal"===t.type||"time"===t.type||p&&p!==t.coordDim||(c=t))}),!c||d||u||(d=!0),c){h="__\0ecstackresult_"+t.id,f="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var y=c.coordDim,v=c.type,m=0;(0,r.each)(a,function(t){t.coordDim===y&&m++});var _={name:h,coordDim:y,coordDimIndex:m,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},b={name:f,coordDim:f,coordDimIndex:m+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(_.storeDimIndex=l.ensureCalculationDimension(f,v),b.storeDimIndex=l.ensureCalculationDimension(h,v)),s.appendCalculationDimension(_),s.appendCalculationDimension(b)):(a.push(_),a.push(b))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:d,stackedOverDimension:f,stackResultDimension:h}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},48655:function(t,e,n){"use strict";n.d(e,{Fl:()=>l,Pn:()=>a});var r=n(90016),i=n(12417),o=n(48635);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,i.isNumber)(t)||null==t||"-"===t||(t=+(0,r._U)(t)),null==t||""===t?NaN:Number(t))}(0,i.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+(0,r._U)(t)},trim:function(t){return(0,i.isString)(t)?(0,i.trim)(t):t}});var s={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}};(function(t,e){(0,i.isNumber)(e)||(0,o.$8)(""),this._opFn=s[t],this._rvalFloat=(0,r.Sm)(e)}).prototype.evaluate=function(t){return(0,i.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,r.Sm)(t),this._rvalFloat)};var l=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,i.isNumber)(t)?t:(0,r.Sm)(t),o=(0,i.isNumber)(e)?e:(0,r.Sm)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,i.isString)(t),u=(0,i.isString)(e);l&&(n=u?t:0),u&&(o=l?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}();(function(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,r.Sm)(e)}).prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n!==this._rvalTypeof&&("number"===n||"number"===this._rvalTypeof)&&(e=(0,r.Sm)(t)===this._rvalFloat)}return this._isEQ?e:!e}},34022:function(t,e,n){"use strict";n.d(e,{B:()=>l,l:()=>a});var r=n(12417),i=n(84732),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},l=(0,r.createHashMap)(),u=[],c=[],h={};(0,r.each)(t.dimensions,function(e){var n=t.getDimensionInfo(e),r=n.coordDim;if(r){var o,f=n.coordDimIndex;s(a,r)[f]=e,n.isExtraCoord||(l.set(r,1),"ordinal"!==(o=n.type)&&"time"!==o&&(u[0]=e),s(h,r)[f]=t.getDimensionIndex(n.name)),n.defaultTooltip&&c.push(e)}i.Pe.each(function(t,e){var r=s(a,e),i=n.otherDims[e];null!=i&&!1!==i&&(r[i]=n.name)})});var f=[],d={};l.each(function(t,e){var n=a[e];d[e]=n[0],f=f.concat(n)}),n.dataDimsOnCoord=f,n.dataDimIndicesOnCoord=(0,r.map)(f,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=d;var p=a.label;p&&p.length&&(u=p.slice());var g=a.tooltip;return g&&g.length?c=g.slice():c.length||(c=u.slice()),a.defaultedLabel=u,a.defaultedTooltip=c,n.userOutput=new o(h,e),n}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function l(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},70589:function(t,e,n){"use strict";n.d(e,{G9:()=>c,Gt:()=>h,OC:()=>u,PU:()=>f,ps:()=>l,sc:()=>a});var r=n(47632),i=n(12417),o=n(84732),a={Must:1,Might:2,Not:3},s=(0,r.$r)();function l(t){s(t).datasetMap=(0,i.createHashMap)()}function u(t,e,n){var r,o,a={},l=c(e);if(!l||!t)return a;var u=[],h=[],f=s(e.ecModel).datasetMap,d=l.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,i.each)(t,function(e,n){var s=(0,i.isObject)(e)?e:t[n]={name:e};"ordinal"===s.type&&null==r&&(r=n,o=y(s)),a[s.name]=[]});var p=f.get(d)||f.set(d,{categoryWayDim:o,valueWayDim:0});function g(t,e,n){for(var r=0;r<n;r++)t.push(e+r)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,i.each)(t,function(t,e){var n=t.name,i=y(t);if(null==r){var o=p.valueWayDim;g(a[n],o,i),g(h,o,i),p.valueWayDim+=i}else if(r===e)g(a[n],0,i),g(u,0,i);else{var o=p.categoryWayDim;g(a[n],o,i),g(h,o,i),p.categoryWayDim+=i}}),u.length&&(a.itemName=u),h.length&&(a.seriesName=h),a}function c(t){if(!t.get("data",!0))return(0,r.JO)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},r.US).models[0]}function h(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,r.JO)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},r.US).models:[]}function f(t,e){return function(t,e,n,s,l,u){var c,h,f;if((0,i.isTypedArray)(t))return a.Not;if(s){var d=s[u];(0,i.isObject)(d)?(h=d.name,f=d.type):(0,i.isString)(d)&&(h=d)}if(null!=f)return"ordinal"===f?a.Must:a.Not;if(e===o.Km)if(n===o.oC){for(var p=t[u],g=0;g<(p||[]).length&&g<5;g++)if(null!=(c=_(p[l+g])))return c}else for(var g=0;g<t.length&&g<5;g++){var y=t[l+g];if(y&&null!=(c=_(y[u])))return c}else if(e===o.Wk){if(!h)return a.Not;for(var g=0;g<t.length&&g<5;g++){var v=t[g];if(v&&null!=(c=_(v[h])))return c}}else if(e===o.t1){if(!h)return a.Not;var p=t[h];if(!p||(0,i.isTypedArray)(p))return a.Not;for(var g=0;g<p.length&&g<5;g++)if(null!=(c=_(p[g])))return c}else if(e===o.mK)for(var g=0;g<t.length&&g<5;g++){var v=t[g],m=(0,r.vj)(v);if(!(0,i.isArray)(m))return a.Not;if(null!=(c=_(m[u])))return c}function _(t){var e=(0,i.isString)(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}},2350:function(t,e,n){"use strict";n.d(e,{py:()=>v,v5:()=>y});var r=n(84732),i=n(47632),o=n(12417),a=n(37269),s=n(48655),l=n(48635),u=n(20860),c=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.Pn)(t,e)},t}();function h(t){return m(t.sourceFormat)||(0,l.$8)(""),t.data}function f(t){var e=t.sourceFormat,n=t.data;if(m(e)||(0,l.$8)(""),e===r.Km){for(var i=[],a=0,s=n.length;a<s;a++)i.push(n[a].slice());return i}if(e===r.Wk){for(var i=[],a=0,s=n.length;a<s;a++)i.push((0,o.extend)({},n[a]));return i}}function d(t,e,n){if(null!=n){if((0,o.isNumber)(n)||!isNaN(n)&&!(0,o.hasOwn)(e,n))return t[n];else if((0,o.hasOwn)(e,n))return e[n]}}function p(t){return(0,o.clone)(t)}var g=(0,o.createHashMap)();function y(t){var e=(t=(0,o.clone)(t)).type;e||(0,l.$8)("");var n=e.split(":");2!==n.length&&(0,l.$8)("");var r=!1;"echarts"===n[0]&&(e=n[1],r=!0),t.__isBuiltIn=r,g.set(e,t)}function v(t,e,n){var s=(0,i.qB)(t),y=s.length;y||(0,l.$8)("");for(var v=0;v<y;v++)e=function(t,e,n,s){e.length||(0,l.$8)(""),(0,o.isObject)(t)||(0,l.$8)("");var y=t.type,v=g.get(y);v||(0,l.$8)("");var _=(0,o.map)(e,function(t){return function(t,e){var n=new c,i=t.data,s=n.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==r.i_&&(0,l.$8)("");var g=[],y={},v=t.dimensionsDefine;if(v)(0,o.each)(v,function(t,e){var n=t.name,r={index:e,name:n,displayName:t.displayName};g.push(r),null!=n&&((0,o.hasOwn)(y,n)&&(0,l.$8)(""),y[n]=r)});else for(var m=0;m<t.dimensionsDetectedCount||0;m++)g.push({index:m});var _=(0,a.sC)(s,r.i_);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(i,u,g,t)},n.getRawData=(0,o.bind)(h,null,t)),n.cloneRawData=(0,o.bind)(f,null,t);var b=(0,a.Kd)(s,r.i_);n.count=(0,o.bind)(b,null,i,u,g);var x=(0,a.uQ)(s);n.retrieveValue=function(t,e){return w(_(i,u,g,t),e)};var w=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=g[e];if(n)return x(t,e,n.name)}};return n.getDimensionInfo=(0,o.bind)(d,null,g,y),n.cloneAllDimensionInfo=(0,o.bind)(p,null,g),n}(t,v)}),b=(0,i.qB)(v.transform({upstream:_[0],upstreamList:_,config:(0,o.clone)(t.config)}));return(0,o.map)(b,function(t,n){(0,o.isObject)(t)||(0,l.$8)(""),t.data||(0,l.$8)(""),m((0,u.wZ)(t.data))||(0,l.$8)("");var i,a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),i={seriesLayoutBy:r.i_,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else i={seriesLayoutBy:r.i_,sourceHeader:0,dimensions:t.dimensions};return(0,u.gV)(t.data,i,null)})}(s[v],e,0,0),v!==y-1&&(e.length=Math.max(e.length,1));return e}function m(t){return t===r.Km||t===r.Wk}},40097:function(t,e,n){"use strict";n.d(e,{Y:()=>function t(e){(0,l.isArray)(e)?(0,l.each)(e,function(e){t(e)}):(0,l.indexOf)(h,e)>=0||(h.push(e),(0,l.isFunction)(e)&&(e={install:e}),e.install(f))}});var r=n(54549),i=n(95411),o=n(6091),a=n(90558),s=n(10826),l=n(12417),u=n(21658),c=n(64209),h=[],f={registerPreprocessor:r.lP,registerProcessor:r.qg,registerPostInit:r.cf,registerPostUpdate:r.tb,registerUpdateLifecycle:r.xV,registerAction:r.OH,registerCoordinateSystem:r.pX,registerLayout:r.Oh,registerVisual:r.AF,registerTransform:r.iY,registerLoading:r.Ej,registerMap:r.mz,registerImpl:u.m,PRIORITY:r.FQ,ComponentModel:a.A,ComponentView:i.A,SeriesModel:s.A,ChartView:o.A,registerComponentModel:function(t){a.A.registerClass(t)},registerComponentView:function(t){i.A.registerClass(t)},registerSeriesModel:function(t){s.A.registerClass(t)},registerChartView:function(t){o.A.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.A.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,c.registerPainter)(t,e)}}},19045:function(t,e,n){"use strict";n.d(e,{If:()=>u,QX:()=>s,Xe:()=>l,os:()=>o});var r=n(56271),i=n(10923);function o(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var o=i.label,a=o.getComputedTransform(),s=o.getBoundingRect(),l=!a||a[1]<1e-5&&a[2]<1e-5,u=o.style.margin||0,c=s.clone();c.applyTransform(a),c.x-=u/2,c.y-=u/2,c.width+=u,c.height+=u;var h=l?new r.A(s,a):null;e.push({label:o,labelLine:i.labelLine,rect:c,localRect:s,obb:h,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:l,transform:a})}}return e}function a(t,e,n,r,i,o){var a,s,l,u=t.length;if(!(u<2)){t.sort(function(t,n){return t.rect[e]-n.rect[e]});for(var c=0,h=!1,f=[],d=0,p=0;p<u;p++){var g=t[p],y=g.rect;(a=y[e]-c)<0&&(y[e]-=a,g.label[e]-=a,h=!0);var v=Math.max(-a,0);f.push(v),d+=v,c=y[e]+y[n]}d>0&&o&&w(-d/u,0,u);var m=t[0],_=t[u-1];return b(),s<0&&S(-s,.8),l<0&&S(l,.8),b(),x(s,l,1),x(l,s,-1),b(),s<0&&A(-s),l<0&&A(l),h}function b(){s=m.rect[e]-r,l=i-_.rect[e]-_.rect[n]}function x(t,e,n){if(t<0){var r=Math.min(e,-t);if(r>0){w(r*n,0,u);var i=r+t;i<0&&S(-i*n,1)}else S(-t*n,1)}}function w(n,r,i){0!==n&&(h=!0);for(var o=r;o<i;o++){var a=t[o],s=a.rect;s[e]+=n,a.label[e]+=n}}function S(r,i){for(var o=[],a=0,s=1;s<u;s++){var l=t[s-1].rect,c=Math.max(t[s].rect[e]-l[e]-l[n],0);o.push(c),a+=c}if(a){var h=Math.min(Math.abs(r)/a,i);if(r>0)for(var s=0;s<u-1;s++){var f=o[s]*h;w(f,0,s+1)}else for(var s=u-1;s>0;s--){var f=o[s-1]*h;w(-f,s,u)}}}function A(t){for(var e=t<0?-1:1,n=Math.ceil((t=Math.abs(t))/(u-1)),r=0;r<u-1;r++)if(e>0?w(n,0,r+1):w(-n,u-r-1,u),(t-=n)<=0)return}}function s(t,e,n,r){return a(t,"x","width",e,n,r)}function l(t,e,n,r){return a(t,"y","height",e,n,r)}function u(t){var e=[];t.sort(function(t,e){return e.priority-t.priority});var n=new i.A(0,0,0,0);function o(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var a=0;a<t.length;a++){var s=t[a],l=s.axisAligned,u=s.localRect,c=s.transform,h=s.label,f=s.labelLine;n.copy(s.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var d=s.obb,p=!1,g=0;g<e.length;g++){var y=e[g];if(n.intersect(y.rect)&&(l&&y.axisAligned||(y.obb||(y.obb=new r.A(y.localRect,y.transform)),d||(d=new r.A(u,c)),d.intersect(y.obb)))){p=!0;break}}p?(o(h),f&&o(f)):(h.attr("ignore",s.defaultAttr.ignore),f&&f.attr("ignore",s.defaultAttr.labelGuideIgnore),e.push(s))}}},51422:function(t,e,n){"use strict";n.d(e,{Lu:()=>b,VB:()=>d,c8:()=>_,lx:()=>f,qM:()=>h,sD:()=>p,xb:()=>x});var r=n(32031),i=n(12417),o=n(55479),a=n(47632),s=n(26912),l={};function u(t,e){for(var n=0;n<o.BV.length;n++){var r=o.BV[n],i=e[r],a=t.ensureState(r);a.style=a.style||{},a.style.text=i}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function c(t,e,n){var r,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(r=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=(0,i.isFunction)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var c={normal:r},h=0;h<o.BV.length;h++){var f=o.BV[h],d=e[f];c[f]=(0,i.retrieve2)(a?a.getFormattedLabel(s,f,null,l,d&&d.get("formatter")):null,r)}return c}function h(t,e,n,a){n=n||l;for(var s=t instanceof r.Ay,h=!1,f=0;f<o.wV.length;f++){var g=e[o.wV[f]];if(g&&g.getShallow("show")){h=!0;break}}var y=s?t:t.getTextContent();if(h){!s&&(y||(y=new r.Ay,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var v=c(n,e),m=e.normal,_=!!m.getShallow("show"),x=d(m,a&&a.normal,n,!1,!s);x.text=v.normal,s||t.setTextConfig(p(m,n,!1));for(var f=0;f<o.BV.length;f++){var w=o.BV[f],g=e[w];if(g){var S=y.ensureState(w),A=!!(0,i.retrieve2)(g.getShallow("show"),_);A!==_&&(S.ignore=!A),S.style=d(g,a&&a[w],n,!0,!s),S.style.text=v[w],s||(t.ensureState(w).textConfig=p(g,n,!0))}}y.silent=!!m.getShallow("silent"),null!=y.style.x&&(x.x=y.style.x),null!=y.style.y&&(x.y=y.style.y),y.ignore=!_,y.useStyle(x),y.dirty(),n.enableTextSetter&&(b(y).setLabelText=function(t){var r=c(n,e,t);u(y,r)})}else y&&(y.ignore=!0);t.dirty()}function f(t,e){e=e||"label";for(var n={normal:t.getModel(e)},r=0;r<o.BV.length;r++){var i=o.BV[r];n[i]=t.getModel([i,e])}return n}function d(t,e,n,r,o){var a={};return function(t,e,n,r,o){n=n||l;var a,s=e.ecModel,u=s&&s.option.textStyle,c=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||l).rich;if(n){e=e||{};for(var r=(0,i.keys)(n),o=0;o<r.length;o++)e[r[o]]=1}t=t.parentModel}return e}(e);if(c){for(var h in a={},c)if(c.hasOwnProperty(h)){var f=e.getModel(["rich",h]);m(a[h]={},f,u,n,r,o,!1,!0)}}a&&(t.rich=a);var d=e.get("overflow");d&&(t.overflow=d);var p=e.get("minMargin");null!=p&&(t.margin=p),m(t,e,u,n,r,o,!0,!1)}(a,t,n,r,o),e&&(0,i.extend)(a,e),a}function p(t,e,n){e=e||{};var r,o={},a=t.getShallow("rotate"),s=(0,i.retrieve2)(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(r=t.getShallow("position")||(n?null:"inside"))&&(r=e.defaultOutsidePosition||"top"),null!=r&&(o.position=r),null!=l&&(o.offset=l),null!=a&&(o.rotation=a*=Math.PI/180),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}var g=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],y=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],v=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function m(t,e,n,r,o,a,s,u){n=!o&&n||l;var c=r&&r.inheritColor,h=e.getShallow("color"),f=e.getShallow("textBorderColor"),d=(0,i.retrieve2)(e.getShallow("opacity"),n.opacity);("inherit"===h||"auto"===h)&&(h=c||null),("inherit"===f||"auto"===f)&&(f=c||null),a||(h=h||n.color,f=f||n.textBorderColor),null!=h&&(t.fill=h),null!=f&&(t.stroke=f);var p=(0,i.retrieve2)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=p&&(t.lineWidth=p);var m=(0,i.retrieve2)(e.getShallow("textBorderType"),n.textBorderType);null!=m&&(t.lineDash=m);var _=(0,i.retrieve2)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=_&&(t.lineDashOffset=_),o||null!=d||u||(d=r&&r.defaultOpacity),null!=d&&(t.opacity=d),o||a||null!=t.fill||!r.inheritColor||(t.fill=r.inheritColor);for(var b=0;b<g.length;b++){var x=g[b],w=(0,i.retrieve2)(e.getShallow(x),n[x]);null!=w&&(t[x]=w)}for(var b=0;b<y.length;b++){var x=y[b],w=e.getShallow(x);null!=w&&(t[x]=w)}if(null==t.verticalAlign){var S=e.getShallow("baseline");null!=S&&(t.verticalAlign=S)}if(!s||!r.disableBox){for(var b=0;b<v.length;b++){var x=v[b],w=e.getShallow(x);null!=w&&(t[x]=w)}var A=e.getShallow("borderType");null!=A&&(t.borderDash=A),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&c&&(t.backgroundColor=c),("auto"===t.borderColor||"inherit"===t.borderColor)&&c&&(t.borderColor=c)}}function _(t,e){var n=e&&e.getModel("textStyle");return(0,i.trim)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var b=(0,a.$r)();function x(t,e,n,r,o){var l=b(t);if(l.valueAnimation&&l.prevValue!==l.value){var h=l.defaultInterpolatedText,f=(0,i.retrieve2)(l.interpolatedValue,l.prevValue),d=l.value;t.percent=0,(null==l.prevValue?s.LW:s.oi)(t,{percent:1},r,e,null,function(r){var i=(0,a.Il)(n,l.precision,f,d,r);l.interpolatedValue=1===r?null:i,u(t,c({labelDataIndex:e,labelFetcher:o,defaultText:h?h(i):i+""},l.statesModels,i))})}}},61150:function(t,e,n){"use strict";n.d(e,{DL:()=>l,GL:()=>u,VA:()=>f,vq:()=>c});var r=n(12417),i=n(90016),o="__ec_stack_";function a(t){return t.get("stack")||o+t.seriesIndex}function s(t){return t.dim+t.index}function l(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var a=n.getBandWidth(),s=0;s<t.count||0;s++)e.push((0,r.defaults)({bandWidth:a,axisKey:i,stackId:o+s},t));for(var l=h(e),u=[],s=0;s<t.count;s++){var c=l[i][o+s];c.offsetCenter=c.offset+c.width/2,u.push(c)}return u}}function u(t,e){var n=[];return e.eachSeriesByType(t,function(t){var e;(e=t).coordinateSystem&&"cartesian2d"===e.coordinateSystem.type&&n.push(t)}),n}function c(t){var e=function(t){var e={};(0,r.each)(t,function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var r=t.getData(),i=n.dim+"_"+n.index,o=r.getDimensionIndex(r.mapDimension(n.dim)),a=r.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[i]?e[i].push(u):e[i]=[u]}});var n={};for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];if(o){o.sort(function(t,e){return t-e});for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[i]=a}}return n}(t),n=[];return(0,r.each)(t,function(t){var r,o,l=t.coordinateSystem.getBaseAxis(),u=l.getExtent();if("category"===l.type)o=l.getBandWidth();else if("value"===l.type||"time"===l.type){var c=e[l.dim+"_"+l.index],h=Math.abs(u[1]-u[0]),f=l.scale.getExtent(),d=Math.abs(f[1]-f[0]);o=c?h/d*c:h}else{var p=t.getData();o=Math.abs(u[1]-u[0])/p.count()}var g=(0,i.lo)(t.get("barWidth"),o),y=(0,i.lo)(t.get("barMaxWidth"),o),v=(0,i.lo)(t.get("barMinWidth")||((r=t).pipelineContext&&r.pipelineContext.large?.5:1),o),m=t.get("barGap"),_=t.get("barCategoryGap");n.push({bandWidth:o,barWidth:g,barMaxWidth:y,barMinWidth:v,barGap:m,barCategoryGap:_,axisKey:s(l),stackId:a(t)})}),h(n)}function h(t){var e={};(0,r.each)(t,function(t,n){var r=t.axisKey,i=t.bandWidth,o=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[r]=o;var s=t.stackId;!a[s]&&o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var h=t.barGap;null!=h&&(o.gap=h);var f=t.barCategoryGap;null!=f&&(o.categoryGap=f)});var n={};return(0,r.each)(e,function(t,e){n[e]={};var o,a=t.stacks,s=t.bandWidth,l=t.categoryGap;null==l&&(l=Math.max(35-4*(0,r.keys)(a).length,15)+"%");var u=(0,i.lo)(l,s),c=(0,i.lo)(t.gap,1),h=t.remainedWidth,f=t.autoWidthCount,d=(h-u)/(f+(f-1)*c);d=Math.max(d,0),(0,r.each)(a,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){var r=t.width;e&&(r=Math.min(r,e)),n&&(r=Math.max(r,n)),t.width=r,h-=r+c*r,f--}else{var r=d;e&&e<r&&(r=Math.min(e,h)),n&&n>r&&(r=n),r!==d&&(t.width=r,h-=r+c*r,f--)}}),d=Math.max(d=(h-u)/(f+(f-1)*c),0);var p=0;(0,r.each)(a,function(t,e){t.width||(t.width=d),o=t,p+=t.width*(1+c)}),o&&(p-=o.width*c);var g=-p/2;(0,r.each)(a,function(t,r){n[e][r]=n[e][r]||{bandWidth:s,offset:g,width:t.width},g+=t.width*(1+c)})}),n}function f(t,e,n){if(t&&e){var r=t[s(e)];return null!=r&&null!=n?r[a(n)]:r}}},90558:function(t,e,n){"use strict";n.d(e,{A:()=>f});var r=n(367),i=n(12417),o=n(43116),a=n(93230),s=n(48771),l=n(47632),u=n(76359),c=(0,l.$r)(),h=function(t){var e;function n(e,n,r){var i=t.call(this,e,n,r)||this;return i.uid=a.$Q("ec_cpt_model"),i}return(0,r.C6)(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=u.ad(this),r=n?u.vs(t):{},o=e.getTheme();i.merge(t,o.get(this.mainType)),i.merge(t,this.getDefaultOption()),n&&u.YA(t,r,n)},n.prototype.mergeOption=function(t,e){i.merge(this.option,t,!0);var n=u.ad(this);n&&u.YA(this.option,t,n)},n.prototype.optionUpdated=function(t,e){},n.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s._E)(t))return t.defaultOption;var e=c(this);if(!e.defaultOption){for(var n=[],r=t;r;){var o=r.prototype.defaultOption;o&&n.push(o),r=r.superClass}for(var a={},l=n.length-1;l>=0;l--)a=i.merge(a,n[l],!0);e.defaultOption=a}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){return(0,l.JO)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},n.prototype.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")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=void((e=n.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),n}(o.A);(0,s.q7)(h,o.A),(0,s.tQ)(h),a.A6(h),a.vf(h,function(t){var e=[];return i.each(h.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=i.map(e,function(t){return(0,s.CC)(t).main}),"dataset"!==t&&0>=i.indexOf(e,"dataset")&&e.unshift("dataset"),e});let f=h},43116:function(t,e,n){"use strict";n.d(e,{A:()=>v});var r=n(55198),i=n(48771),o=(0,n(92750).A)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n(51422),l=n(32031),u=["textStyle","color"],c=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],h=new l.Ay,f=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.c8)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<c.length;n++)e[c[n]]=this.getShallow(c[n]);return h.useStyle(e),h.update(),h.getBoundingRect()},t}(),d=n(98807),p=n(12816),g=n(12417),y=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},t.prototype.mergeOption=function(t,e){(0,g.merge)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,r=null==n?n:n[t];if(null==r&&!e){var i=this.parentModel;i&&(r=i.getShallow(t))}return r},t.prototype.getModel=function(e,n){var r=null!=e,i=r?this.parsePath(e):null;return new t(r?this._doGet(i):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new this.constructor((0,g.clone)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!r.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;else if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var r=0;r<t.length&&(!t[r]||null!=(n=n&&"object"==typeof n?n[t[r]]:null));r++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,i.gq)(y),(0,i.Od)(y),(0,g.mixin)(y,d.J),(0,g.mixin)(y,p.s),(0,g.mixin)(y,a),(0,g.mixin)(y,f);let v=y},10826:function(t,e,n){"use strict";n.d(e,{A:()=>R});var r=n(367),i=n(12417),o=n(55198),a=n(47632),s=n(90558),l=n(70887),u=n(13389),c=n(76359),h=n(97513),f=n(48771),d=n(20860),p=n(84732),g=n(70589),y=n(2350),v=n(42896),m=n(37269),_=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,r=this._getUpstreamSourceManagers(),o=!!r.length;if(b(n)){var a=void 0,s=void 0,l=void 0;if(o){var u=r[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else a=n.get("data",!0),s=(0,i.isTypedArray)(a)?p.XO:p.mK,e=[];var c=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},f=(0,i.retrieve2)(c.seriesLayoutBy,h.seriesLayoutBy)||null,g=(0,i.retrieve2)(c.sourceHeader,h.sourceHeader),y=(0,i.retrieve2)(c.dimensions,h.dimensions);t=f!==h.seriesLayoutBy||!!g!=!!h.sourceHeader||y?[(0,d.gV)(a,{seriesLayoutBy:f,sourceHeader:g,dimensions:y},s)]:[]}else if(o){var v=this._applyTransform(r);t=v.sourceList,e=v.upstreamSignList}else{var m=n.get("source",!0);t=[(0,d.gV)(m,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,r=n.get("transform",!0),o=n.get("fromTransformResult",!0);null!=o&&1!==t.length&&x("");var a=[],s=[];return(0,i.each)(t,function(t){t.prepareSource();var e=t.getSource(o||0);null==o||e||x(""),a.push(e),s.push(t._getVersionSign())}),r?e=(0,y.py)(r,a,{datasetIndex:n.componentIndex}):null!=o&&(e=[(0,d.BE)(a[0])]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var r=this._storeList,i=r[0];i||(i=r[0]={});var o=i[n];if(!o){var a=this._getUpstreamSourceManagers()[0];b(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new v.Ay).initData(new m.d1(e,t.length),t),i[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!b(t))return(0,i.map)((0,g.Gt)(t),function(t){return t.getSourceManager()});var e=(0,g.G9)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,n,r=this._sourceHost;return b(r)?(t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function b(t){return"series"===t.mainType}function x(t){throw Error(t)}var w=n(5231),S=a.$r();function A(t,e){return t.getName(e)||t.getId(e)}var M=function(t){var e;function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,r.C6)(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,h.U)({count:T,reset:C}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(S(this).sourceManager=new _(this)).prepareSource();var r=this.getInitialData(t,n);I(r,this),this.dataTask.context.data=r,S(this).dataBeforeProcessed=r,k(this),this._initSelectedMapFromData(r)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,c.ad)(this),r=n?(0,c.vs)(t):{},o=this.subType;s.A.hasClass(o)&&(o+="Series"),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),a.M5(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,c.YA)(t,r,n)},n.prototype.mergeOption=function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,c.ad)(this);n&&(0,c.YA)(this.option,t,n);var r=S(this).sourceManager;r.dirty(),r.prepareSource();var o=this.getInitialData(t,e);I(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,S(this).dataBeforeProcessed=o,k(this),this._initSelectedMapFromData(o)},n.prototype.fillDataTextStyle=function(t){if(t&&!i.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.M5(t[n],"label",e)},n.prototype.getInitialData=function(t,e){},n.prototype.appendData=function(t){this.getRawData().appendData(t.data)},n.prototype.getData=function(t){var e=D(this);if(!e)return S(this).data;var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n},n.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},n.prototype.setData=function(t){var e=D(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}S(this).data=t},n.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return i.createHashMap(t)},n.prototype.getSourceManager=function(){return S(this).sourceManager},n.prototype.getSource=function(){return this.getSourceManager().getSource()},n.prototype.getRawData=function(){return S(this).dataBeforeProcessed},n.prototype.getColorBy=function(){return this.get("colorBy")||"series"},n.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},n.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},n.prototype.formatTooltip=function(t,e,n){return function(t){var e,n,r,o,s=t.series,l=t.dataIndex,u=t.multipleSeries,c=s.getData(),h=c.mapDimensionsAll("defaultedTooltip"),f=h.length,d=s.getRawValue(l),p=(0,i.isArray)(d),g=(0,w.aw)(s,l);if(f>1||p&&!f){var y=function(t,e,n,r,o){var a=e.getData(),s=(0,i.reduce)(t,function(t,e,n){var r=a.getDimensionInfo(n);return t||r&&!1!==r.tooltip&&null!=r.displayName},!1),l=[],u=[],c=[];function h(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?c.push((0,w.Qx)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(l.push(t),u.push(n.type)))}return r.length?(0,i.each)(r,function(t){h((0,m.QE)(a,n,t),t)}):(0,i.each)(t,h),{inlineValues:l,inlineValueTypes:u,blocks:c}}(d,s,l,h,g);e=y.inlineValues,n=y.inlineValueTypes,r=y.blocks,o=y.inlineValues[0]}else if(f){var v=c.getDimensionInfo(h[0]);o=e=(0,m.QE)(c,l,h[0]),n=v.type}else o=e=p?d[0]:d;var _=(0,a.O0)(s),b=_&&s.name||"",x=c.getName(l),S=u?b:x;return(0,w.Qx)("section",{header:b,noHeader:u||!_,sortParam:o,blocks:[(0,w.Qx)("nameValue",{markerType:"item",markerColor:g,name:S,noName:!(0,i.trim)(S),value:e,valueType:n,dataIndex:l})].concat(r||[])})}({series:this,dataIndex:t,multipleSeries:e})},n.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.A.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var r=this.ecModel,i=l.X.prototype.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},n.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(e);if("series"===r||"all"===n){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=A(i,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},n.prototype.toggleSelect=function(t,e){for(var n=[],r=0;r<t.length;r++)n[0]=t[r],this.isSelected(t[r],e)?this.unselect(n,e):this.select(n,e)},n.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=i.keys(t),n=[],r=0;r<e.length;r++){var o=t[e[r]];o>=0&&n.push(o)}return n},n.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(e);return("all"===n||n[A(r,t)])&&!r.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,r,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){i.isObject(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var c=e[u],h=A(t,c);l[h]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(c)}}else if("single"===a||!0===a){var f=e[s-1],h=A(t,f);(n={})[h]=!0,o.selectedMap=n,this._selectedDataIndicesMap=((r={})[h]=t.getRawIndex(f),r)}}},n.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var r=t.getRawDataItem(n);r&&r.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},n.registerClass=function(t){return s.A.registerClass(t)},n.protoInitialize=void((e=n.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),n}(s.A);function k(t){var e,n,r,o=t.name;a.O0(t)||(t.name=(n=(e=t.getRawData()).mapDimensionsAll("seriesName"),r=[],i.each(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)}),r.join(" ")||o))}function T(t){return t.model.getRawData().count()}function C(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),O}function O(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function I(t,e){i.each(i.concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,i.curry(E,e))})}function E(t,e){var n=D(t);return n&&n.setOutputEnd((e||this).count()),e}function D(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(t.uid))}return r}}i.mixin(M,u.J),i.mixin(M,l.X),(0,f.q7)(M,s.A);let R=M},13389:function(t,e,n){"use strict";n.d(e,{J:()=>s,L:()=>l});var r=n(12417),i=n(37269),o=n(3662),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),r=this.getRawValue(t,e),i=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,f=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:i,data:a,dataType:e,value:r,color:l,borderColor:u,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var c=this.getData(n),h=this.getDataParams(t,n);return(u&&(h.value=u.interpolatedValue),null!=s&&r.isArray(h.value)&&(h.value=h.value[s]),l||(l=c.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),r.isFunction(l))?(h.status=e,h.dimensionIndex=s,l(h)):r.isString(l)?(0,o.YK)(l,h).replace(a,function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,i.QE)(c,t,a);if(u&&r.isArray(u.interpolatedValue)){var l=c.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,i.QE)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function l(t){var e,n;return r.isObject(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},12816:function(t,e,n){"use strict";n.d(e,{L:()=>i,s:()=>a});var r=n(92750),i=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,r.A)(i),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},98807:function(t,e,n){"use strict";n.d(e,{J:()=>a,m:()=>i});var r=n(92750),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,r.A)(i),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},92750:function(t,e,n){"use strict";n.d(e,{A:()=>i});var r=n(12417);function i(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(i&&r.indexOf(i,l)>=0||o&&0>r.indexOf(o,l))){var u=n.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}},70887:function(t,e,n){"use strict";n.d(e,{X:()=>a,x:()=>s});var r=n(47632),i=(0,r.$r)(),o=(0,r.$r)(),a=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){return l(this,i,(0,r.qB)(this.get("color",!0)),this.get("colorLayer",!0),t,e,n)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=i)(t).paletteIdx=0,e(t).paletteNameMap={}},t}();function s(t,e,n,i){var a=(0,r.qB)(t.get(["aria","decal","decals"]));return l(t,o,a,null,e,n,i)}function l(t,e,n,r,i,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=a&&r?function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r].length>e)return t[r];return t[n-1]}(r,a):n;if((c=c||n)&&c.length){var h=c[l];return i&&(u[i]=h),s.paletteIdx=(l+1)%c.length,h}}},93655:function(t,e,n){"use strict";n.d(e,{a:()=>v});var r=n(46391),i=n(12417),o=n(367),a=n(81970),s=n(26512),l=n(31975),u=n(10923),c=n(61607),h=n(42898);function f(t,e,n){var r=h.yh.createCanvas(),i=e.getWidth(),o=e.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",r.setAttribute("data-zr-dom-id",t)),r.width=i*n,r.height=o*n,r}var d=function(t){function e(e,n,o){var a,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||r.Y5,"string"==typeof e?a=f(e,n,o):i.isObject(e)&&(e=(a=e).id),s.id=e,s.dom=a;var l=a.style;return l&&(i.disableUserSelect(a),a.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=n,s.dpr=o,s}return(0,o.C6)(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=f("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,l=new u.A(0,0,0,0);function h(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new u.A(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,r=1/0,i=0,c=0;c<o.length;++c){var h=o[c];if(h.intersect(t)){var f=new u.A(0,0,0,0);f.copy(h),f.union(t),o[c]=f,n=!0;break}if(s){l.copy(t),l.union(h);var d=t.width*t.height,p=h.width*h.height,g=l.width*l.height-d-p;g<r&&(r=g,i=c)}}if(s&&(o[i].union(t),n=!0),!n){var e=new u.A(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var d=t[f];if(d){var p=d.shouldBePainted(n,r,!0,!0),g=d.__isRendered&&(d.__dirty&c.M||!p)?d.getPrevPaintRect():null;g&&h(g);var y=p&&(d.__dirty&c.M||!d.__isRendered)?d.getPaintRect():null;y&&h(y)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var d=e[f],p=d&&d.shouldBePainted(n,r,!0,!0);if(d&&(!p||!d.__zr)&&d.__isRendered){var g=d.getPrevPaintRect();g&&h(g)}}do{i=!1;for(var f=0;f<o.length;){if(o[f].isZero()){o.splice(f,1);continue}for(var v=f+1;v<o.length;)o[f].intersect(o[v])?(i=!0,o[f].union(o[v]),o.splice(v,1)):v++;f++}}while(i);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,r=this.dom,i=r.style,o=this.domBack;i&&(i.width=t+"px",i.height=e+"px"),r.width=t*n,r.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var r=this.dom,o=this.ctx,a=r.width,u=r.height;e=e||this.clearColor;var c=this.motionBlur&&!t,h=this.lastFrameAlpha,f=this.dpr,d=this;c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,a/f,u/f));var p=this.domBack;function g(t,n,r,a){if(o.clearRect(t,n,r,a),e&&"transparent"!==e){var u=void 0;i.isGradientObject(e)?(u=(e.global||e.__width===r&&e.__height===a)&&e.__canvasGradient||(0,s.Ff)(o,e,{x:0,y:0,width:r,height:a}),e.__canvasGradient=u,e.__width=r,e.__height=a):i.isImagePatternObject(e)&&(e.scaleX=e.scaleX||f,e.scaleY=e.scaleY||f,u=(0,l.ZQ)(o,e,{dirty:function(){d.setUnpainted(),d.painter.refresh()}})),o.save(),o.fillStyle=u||e,o.fillRect(t,n,r,a),o.restore()}c&&(o.save(),o.globalAlpha=h,o.drawImage(p,t,n,r,a),o.restore())}!n||c?g(0,0,a,u):n.length&&i.each(n,function(t){g(t.x*f,t.y*f,t.width*f,t.height*f)})},e}(a.A),p=n(48506),g=n(55198),y=function(){function t(t,e,n,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=i.extend({},n||{}),this.dpr=n.devicePixelRatio||r.Y5,this._singleCanvas=a,this.root=t,t.style&&(i.disableUserSelect(t),t.innerHTML=""),this.storage=e;var l=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var c=t.width,h=t.height;null!=n.width&&(c=n.width),null!=n.height&&(h=n.height),this.dpr=n.devicePixelRatio||1,t.width=c*this.dpr,t.height=h*this.dpr,this._width=c,this._height=h;var f=new d(t,this,this.dpr);f.__builtin__=!0,f.initContext(),u[314159]=f,f.zlevel=314159,l.push(314159),this._domRoot=t}else{this._width=(0,s.YC)(t,0,n),this._height=(0,s.YC)(t,1,n);var p,g,y,v=this._domRoot=(p=this._width,g=this._height,(y=document.createElement("div")).style.cssText=["position:relative","width:"+p+"px","height:"+g+"px","padding:0;margin:0;border-width:0"].join(";")+";",y);t.appendChild(v)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var i=0;i<r.length;i++){var o=r[i],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===i?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e,n=t.length,r=this._hoverlayer;if(r&&r.clear(),n){for(var i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<n;o++){var a=t[o];a.__inHover&&(r||(r=this._hoverlayer=this.getLayer(1e5)),e||(e=r.ctx).save(),(0,l.V$)(e,a,i,o===n-1))}e&&e.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){(0,l.Xi)(t,e)},t.prototype._paintList=function(t,e,n,r){if(this._redrawId===r){n=n||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e,n),o=i.finished,a=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var s=this;(0,p.A)(function(){s._paintList(t,e,n,r)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(r){r.virtual&&t.drawImage(r.dom,0,0,e,n)})},t.prototype._doPaintList=function(t,e,n){for(var r=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&o.push(u)}for(var c=!0,h=!1,f=this,d=0;d<o.length;d++)!function(i){var s,l=o[i],u=l.ctx,d=a&&l.createRepaintRects(t,e,f._width,f._height),p=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,y=g&&Date.now(),v=l.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,d);else if(p===l.__startIndex){var m=t[p];m.incremental&&m.notClear&&!n||l.clear(!1,v,d)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=l.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(s=p;s<l.__endIndex;s++){var i=t[s];if(i.__inHover&&(h=!0),r._doPaintEl(i,l,a,e,n,s===l.__endIndex-1),g&&Date.now()-y>15)break}n.prevElClipPaths&&u.restore()};if(d)if(0===d.length)s=l.__endIndex;else for(var b=f.dpr,x=0;x<d.length;++x){var w=d[x];u.save(),u.beginPath(),u.rect(w.x*b,w.y*b,w.width*b,w.height*b),u.clip(),_(w),u.restore()}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(c=!1)}(d);return g.A.wxa&&i.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:c,needsRefreshHover:h}},t.prototype._doPaintEl=function(t,e,n,r,i,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!r||s&&s.intersect(r))&&((0,l.V$)(a,t,i,o),t.setPrevPaintRect(s))}else(0,l.V$)(a,t,i,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var n=this._layers[t];return n||((n=new d("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?i.merge(n,this._layerConfig[t],!0):this._layerConfig[t-.01]&&i.merge(n,this._layerConfig[t-.01],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,r=this._zlevelList,i=r.length,o=this._domRoot,a=null,s=-1;if(!n[t]){if(e&&(e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh&&1)){if(i>0&&t>r[0]){for(s=0;s<i-1&&(!(r[s]<t)||!(r[s+1]>t));s++);a=n[r[s]]}if(r.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r];t.call(e,this._layers[i],i)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__&&t.call(e,o,i)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__||t.call(e,o,i)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n,r,o=1;o<t.length;o++){var a=t[o];if(a.zlevel!==t[o-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var s=null,l=0;for(r=0;r<t.length;r++){var a=t[r],u=a.zlevel,h=void 0;n!==u&&(n=u,l=0),a.incremental?((h=this.getLayer(u+.001,this._needsManuallyCompositing)).incremental=!0,l=1):h=this.getLayer(u+.01*(l>0),this._needsManuallyCompositing),h.__builtin__||i.logError("ZLevel "+u+" has been used by unkown layer "+h.id),h!==s&&(h.__used=!0,h.__startIndex!==r&&(h.__dirty=!0),h.__startIndex=r,h.incremental?h.__drawIndex=-1:h.__drawIndex=r,e(r),s=h),a.__dirty&c.M&&!a.__inHover&&(h.__dirty=!0,h.incremental&&h.__drawIndex<0&&(h.__drawIndex=r))}e(r),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,i.each(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?i.merge(n[t],e,!0):n[t]=e;for(var r=0;r<this._zlevelList.length;r++){var o=this._zlevelList[r];if(o===t||o===t+.01){var a=this._layers[o];i.merge(a,n[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,r=e[t];r&&(r.dom.parentNode.removeChild(r.dom),delete e[t],n.splice(i.indexOf(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts,i=this.root;if(null!=t&&(r.width=t),null!=e&&(r.height=e),t=(0,s.YC)(i,0,r),e=(0,s.YC)(i,1,r),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new d("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var r=e.dom.width,i=e.dom.height;this.eachLayer(function(t){t.__builtin__?n.drawImage(t.dom,0,0,r,i):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,u=a.length;s<u;s++){var c=a[s];(0,l.V$)(n,c,o,s===u-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function v(t){t.registerPainter("canvas",y)}},3552:function(t,e,n){"use strict";n.d(e,{A:()=>c});var r=n(367),i=n(90016),o=n(3662),a=n(66563),s=n(59933),l=i.LI,u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return(0,r.C6)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.lP(t,this._extent)},e.prototype.normalize=function(t){return s.S8(t,this._extent)},e.prototype.scale=function(t){return s.hs(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.u$(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!e)return o;n[0]<r[0]&&(t?o.push({value:l(r[0]-e,i)}):o.push({value:n[0]}));for(var a=r[0];a<=r[1]&&(o.push({value:a}),(a=l(a+e,i))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:r[1];return n[1]>s&&(t?o.push({value:l(s+e,i)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],r=this.getExtent(),i=1;i<e.length;i++){for(var o=e[i],a=e[i-1],s=0,u=[],c=(o.value-a.value)/t;s<t-1;){var h=l(a.value+(s+1)*c);h>r[0]&&h<r[1]&&u.push(h),s++}n.push(u)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=i.XV(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var r=l(t.value,n,!0);return o.ob(r)},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var r=this._extent,i=r[1]-r[0];if(isFinite(i)){i<0&&(i=-i,r.reverse());var o=s.xh(r,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;isFinite(e[1]-e[0])||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=l(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=l(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(a.A);a.A.registerClass(u);let c=u},66563:function(t,e,n){"use strict";n.d(e,{A:()=>o});var r=n(48771),i=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();r.tQ(i);let o=i},59933:function(t,e,n){"use strict";n.d(e,{S8:()=>c,hs:()=>h,kH:()=>a,lP:()=>u,rf:()=>i,u$:()=>s,xh:()=>o});var r=n(90016);function i(t){return"interval"===t.type||"log"===t.type}function o(t,e,n,i){var o,a,u={},c=t[1]-t[0],h=u.interval=(0,r.Cm)(c/e,!0);null!=n&&h<n&&(h=u.interval=n),null!=i&&h>i&&(h=u.interval=i);var f=u.intervalPrecision=s(h);return o=u.niceTickExtent=[(0,r.LI)(Math.ceil(t[0]/h)*h,f),(0,r.LI)(Math.floor(t[1]/h)*h,f)],a=t,isFinite(o[0])||(o[0]=a[0]),isFinite(o[1])||(o[1]=a[1]),l(o,0,a),l(o,1,a),o[0]>o[1]&&(o[0]=o[1]),u}function a(t){var e=Math.pow(10,(0,r.NX)(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,(0,r.LI)(n*e)}function s(t){return(0,r.XV)(t)+2}function l(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function u(t,e){return t>=e[0]&&t<=e[1]}function c(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function h(t,e){return t*(e[1]-e[0])+e[0]}},48771:function(t,e,n){"use strict";n.d(e,{CC:()=>s,Od:()=>f,_E:()=>l,gq:()=>u,q7:()=>c,tQ:()=>g});var r=n(367),i=n(12417),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){return!!(t&&t[a])}function u(t,e){t.$constructor=t,t.extend=function(t){var e,n,o=this;return(e=o,i.isFunction(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?n=function(t){function e(){return t.apply(this,arguments)||this}return(0,r.C6)(e,t),e}(o):(n=function(){(t.$constructor||o).apply(this,arguments)},i.inherits(n,this)),i.extend(n.prototype,t),n[a]=!0,n.extend=this.extend,n.superCall=d,n.superApply=p,n.superClass=o,n}}function c(t,e){t.extend=e.extend}var h=Math.round(10*Math.random());function f(t){var e=["__\0is_clz",h++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}}function d(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[e].apply(t,n)}function p(t,e,n){return this.superClass.prototype[e].apply(t,n)}function g(t){var e={};t.registerClass=function(t){var n=t.type||t.prototype.type;if(n){i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=n;var r,a,l=s(n);l.sub?l.sub!==o&&(((a=e[(r=l).main])&&a[o]||((a=e[r.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,n,r){var i=e[t];if(i&&i[o]&&(i=n?i[n]:null),r&&!i)throw Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){var n=s(t),r=[],a=e[n.main];return a&&a[o]?i.each(a,function(t,e){e!==o&&r.push(t)}):r.push(a),r},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return i.each(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=e[s(t).main];return n&&n[o]}}},93230:function(t,e,n){"use strict";n.d(e,{$Q:()=>a,A6:()=>s,G_:()=>u,vf:()=>l});var r=n(12417),i=n(48771),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){e[(0,i.CC)(t).main]=n},t.determineSubType=function(n,r){var o=r.type;if(!o){var a=(0,i.CC)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](r))}return o}}function l(t,e){t.topologicalTravel=function(t,i,o,a){if(t.length){var s,l,u,c=(s=i,l={},u=[],r.each(s,function(t){var i,o,a,c=n(l,t),h=(i=c.originalDeps=e(t),o=s,a=[],r.each(i,function(t){r.indexOf(o,t)>=0&&a.push(t)}),a);c.entryCount=h.length,0===c.entryCount&&u.push(t),r.each(h,function(e){0>r.indexOf(c.predecessor,e)&&c.predecessor.push(e);var i=n(l,e);0>r.indexOf(i.successor,e)&&i.successor.push(t)})}),{graph:l,noEntryList:u}),h=c.graph,f=c.noEntryList,d={};for(r.each(t,function(t){d[t]=!0});f.length;){var p=f.pop(),g=h[p],y=!!d[p];y&&(o.call(a,p,g.originalDeps.slice()),delete d[p]),r.each(g.successor,y?m:v)}r.each(d,function(){throw Error("")})}function v(t){h[t].entryCount--,0===h[t].entryCount&&f.push(t)}function m(t){d[t]=!0,v(t)}};function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}function u(t,e){return r.merge(r.merge({},t,!0),e,!0)}},5006:function(t,e,n){"use strict";n.d(e,{w:()=>g});var r=Math.round(9*Math.random()),i="function"==typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+r++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return i?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=n(64100),s=n(12417),l=n(90016),u=n(7465),c=n(31975),h=n(42898),f=new o,d=new a.Ay(100),p=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),r=e.getZr(),i="svg"===r.painter.type;t.dirty&&f.delete(t);var o=f.get(t);if(o)return o;var a=(0,s.defaults)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var g={repeat:"repeat"};return function(t){for(var e,o,f,g=[n],v=!0,m=0;m<p.length;++m){var _=a[p[m]];if(null!=_&&!(0,s.isArray)(_)&&!(0,s.isString)(_)&&!(0,s.isNumber)(_)&&"boolean"!=typeof _){v=!1;break}g.push(_)}if(v){o=g.join(",")+(i?"-svg":"");var b=d.get(o);b&&(i?t.svgElement=b:t.image=b)}var x=function t(e){if(!e||0===e.length)return[[0,0]];if((0,s.isNumber)(e)){var n=Math.ceil(e);return[[n,n]]}for(var r=!0,i=0;i<e.length;++i)if(!(0,s.isNumber)(e[i])){r=!1;break}if(r)return t([e]);for(var o=[],i=0;i<e.length;++i)if((0,s.isNumber)(e[i])){var n=Math.ceil(e[i]);o.push([n,n])}else{var n=(0,s.map)(e[i],function(t){return Math.ceil(t)});n.length%2==1?o.push(n.concat(n)):o.push(n)}return o}(a.dashArrayX),w=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,s.isNumber)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,s.map)(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(a.dashArrayY),S=function t(e){if(!e||0===e.length)return[["rect"]];if((0,s.isString)(e))return[[e]];for(var n=!0,r=0;r<e.length;++r)if(!(0,s.isString)(e[r])){n=!1;break}if(n)return t([e]);for(var i=[],r=0;r<e.length;++r)(0,s.isString)(e[r])?i.push([e[r]]):i.push(e[r]);return i}(a.symbol),A=(e=x,(0,s.map)(e,function(t){return y(t)})),M=y(w),k=!i&&h.yh.createCanvas(),T=i&&{tag:"g",attrs:{},key:"dcl",children:[]},C=function(){for(var t=1,e=0,n=A.length;e<n;++e)t=(0,l.lQ)(t,A[e]);for(var r=1,e=0,n=S.length;e<n;++e)r=(0,l.lQ)(r,S[e].length);t*=r;var i=M*A.length*S.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}();k&&(k.width=C.width*n,k.height=C.height*n,f=k.getContext("2d")),function(){f&&(f.clearRect(0,0,k.width,k.height),a.backgroundColor&&(f.fillStyle=a.backgroundColor,f.fillRect(0,0,k.width,k.height)));for(var t=0,e=0;e<w.length;++e)t+=w[e];if(!(t<=0))for(var o=-M,s=0,l=0,h=0;o<C.height;){if(s%2==0){for(var d=l/2%S.length,p=0,g=0,y=0;p<2*C.width;){for(var v=0,e=0;e<x[h].length;++e)v+=x[h][e];if(v<=0)break;if(g%2==0){var m=(1-a.symbolSize)*.5,_=p+x[h][g]*m,b=o+w[s]*m,A=x[h][g]*a.symbolSize,O=w[s]*a.symbolSize,I=y/2%S[d].length;!function(t,e,o,s,l){var h=i?1:n,d=(0,u.v5)(l,t*h,e*h,o*h,s*h,a.color,a.symbolKeepAspect);if(i){var p=r.painter.renderOneToVNode(d);p&&T.children.push(p)}else(0,c.Xi)(f,d)}(_,b,A,O,S[d][I])}p+=x[h][g],++y,++g===x[h].length&&(g=0)}++h===x.length&&(h=0)}o+=w[s],++l,++s===w.length&&(s=0)}}(),v&&d.put(o,k||T),t.image=k,t.svgElement=T,t.svgWidth=C.width,t.svgHeight=C.height}(g),g.rotation=a.rotation,g.scaleX=g.scaleY=i?1:1/n,f.set(t,g),t.dirty=!1,g}function y(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}},85213:function(t,e,n){"use strict";function r(t,e,n){for(var r;t&&(!e(t)||(r=t,!n));)t=t.__hostTarget||t.parent;return r}n.d(e,{R:()=>r})},3662:function(t,e,n){"use strict";n.d(e,{Cb:()=>l,JW:()=>m,QX:()=>u,YK:()=>d,fU:()=>g,he:()=>v,ob:()=>s,qg:()=>p,x5:()=>y,yC:()=>c});var r=n(12417),i=n(82557),o=n(90016),a=n(42476);function s(t){if(!(0,o.kf)(t))return r.isString(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function l(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var u=r.normalizeCssArray;function c(t,e,n){function i(t){return t&&r.trim(t)?t:"-"}function l(t){return!!(null!=t&&!isNaN(t)&&isFinite(t))}var u="time"===e,c=t instanceof Date;if(u||c){var h=u?(0,o._U)(t):t;if(!isNaN(+h))return(0,a.GP)(h,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(c)return"-"}if("ordinal"===e)return r.isStringSafe(t)?i(t):r.isNumber(t)&&l(t)?t+"":"-";var f=(0,o.Sm)(t);return l(f)?s(f):r.isStringSafe(t)?i(t):"boolean"==typeof t?t+"":"-"}var h=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e,n){r.isArray(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=h[s];t=t.replace(f(l),f(l,0))}for(var u=0;u<o;u++)for(var c=0;c<a.length;c++){var d=e[u][a[c]];t=t.replace(f(h[c],u),n?(0,i.Me)(d):d)}return t}function p(t,e){var n=r.isString(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,i.Me)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,i.Me)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function g(t,e,n){("week"===t||"month"===t||"quarter"===t||"half-year"===t||"year"===t)&&(t="MM-dd\nyyyy");var r=(0,o._U)(e),i=n?"getUTC":"get",s=r[i+"FullYear"](),l=r[i+"Month"]()+1,u=r[i+"Date"](),c=r[i+"Hours"](),h=r[i+"Minutes"](),f=r[i+"Seconds"](),d=r[i+"Milliseconds"]();return t.replace("MM",(0,a.eV)(l,2)).replace("M",l).replace("yyyy",s).replace("yy",(0,a.eV)(s%100+"",2)).replace("dd",(0,a.eV)(u,2)).replace("d",u).replace("hh",(0,a.eV)(c,2)).replace("h",c).replace("mm",(0,a.eV)(h,2)).replace("m",h).replace("ss",(0,a.eV)(f,2)).replace("s",f).replace("SSS",(0,a.eV)(d,3))}function y(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function v(t,e){return e=e||"transparent",r.isString(t)?t:r.isObject(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function m(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}},74861:function(t,e,n){"use strict";n.r(e),n.d(e,{applyTransform:()=>td,extendPath:()=>te,Line:()=>B.A,clipRectByRect:()=>tv,Ring:()=>R.A,traverseElements:()=>tS,RadialGradient:()=>V.A,Ellipse:()=>E.A,groupTransition:()=>tg,mergePath:()=>ts,Polyline:()=>P.A,Path:()=>i.Ay,isElementRemoved:()=>$.LR,BezierCurve:()=>F.A,Image:()=>T.Ay,initProps:()=>$.LW,CompoundPath:()=>z.A,OrientedBoundingRect:()=>W.A,Circle:()=>I.A,Text:()=>O.Ay,makePath:()=>ti,registerShape:()=>tn,makeImage:()=>to,createIcon:()=>tm,subPixelOptimizeLine:()=>tu,getTransform:()=>tf,transformDirection:()=>tp,IncrementalDisplayable:()=>G.A,resizePath:()=>tl,Rect:()=>N.A,clipPointsByRect:()=>ty,getShapeClass:()=>tr,linePolygonIntersect:()=>t_,subPixelOptimizeRect:()=>tc,Arc:()=>j.A,updateProps:()=>$.oi,Sector:()=>D.A,lineLineIntersect:()=>tb,LinearGradient:()=>H.A,Polygon:()=>L.A,Group:()=>C.A,Point:()=>q.A,extendShape:()=>Q,BoundingRect:()=>U.A,setTooltipConfig:()=>tx,subPixelOptimize:()=>th,removeElement:()=>$.Nz,removeElementWithFadeOut:()=>$.t5});var r=n(367),i=n(21196),o=n(45750),a=n(80410),s=o.A.CMD,l=[[],[],[]],u=Math.sqrt,c=Math.atan2,h=n(12417),f=Math.sqrt,d=Math.sin,p=Math.cos,g=Math.PI;function y(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function v(t,e){return(t[0]*e[0]+t[1]*e[1])/(y(t)*y(e))}function m(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(v(t,e))}function _(t,e,n,r,i,o,a,s,l,u,c){var h=g/180*l,y=p(h)*(t-n)/2+d(h)*(e-r)/2,_=-1*d(h)*(t-n)/2+p(h)*(e-r)/2,b=y*y/(a*a)+_*_/(s*s);b>1&&(a*=f(b),s*=f(b));var x=(i===o?-1:1)*f((a*a*(s*s)-a*a*(_*_)-s*s*(y*y))/(a*a*(_*_)+s*s*(y*y)))||0,w=x*a*_/s,S=-(x*s)*y/a,A=(t+n)/2+p(h)*w-d(h)*S,M=(e+r)/2+d(h)*w+p(h)*S,k=m([1,0],[(y-w)/a,(_-S)/s]),T=[(y-w)/a,(_-S)/s],C=[(-1*y-w)/a,(-1*_-S)/s],O=m(T,C);if(-1>=v(T,C)&&(O=g),v(T,C)>=1&&(O=0),O<0){var I=Math.round(O/g*1e6)/1e6;O=2*g+I%2*g}c.addData(u,A,M,a,s,k,O,h,o)}var b=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,x=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.applyTransform=function(t){},e}(i.Ay);function S(t){return null!=t.setData}function A(t,e){var n=function(t){var e,n=new o.A;if(!t)return n;var r=0,i=0,a=0,s=0,l=o.A.CMD,u=t.match(b);if(!u)return n;for(var c=0;c<u.length;c++){for(var h=u[c],f=h.charAt(0),d=void 0,p=h.match(x)||[],g=p.length,y=0;y<g;y++)p[y]=parseFloat(p[y]);for(var v=0;v<g;){var m=void 0,w=void 0,S=void 0,A=void 0,M=void 0,k=void 0,T=void 0,C=r,O=i,I=void 0,E=void 0;switch(f){case"l":r+=p[v++],i+=p[v++],d=l.L,n.addData(d,r,i);break;case"L":r=p[v++],i=p[v++],d=l.L,n.addData(d,r,i);break;case"m":r+=p[v++],i+=p[v++],d=l.M,n.addData(d,r,i),a=r,s=i,f="l";break;case"M":r=p[v++],i=p[v++],d=l.M,n.addData(d,r,i),a=r,s=i,f="L";break;case"h":r+=p[v++],d=l.L,n.addData(d,r,i);break;case"H":r=p[v++],d=l.L,n.addData(d,r,i);break;case"v":i+=p[v++],d=l.L,n.addData(d,r,i);break;case"V":i=p[v++],d=l.L,n.addData(d,r,i);break;case"C":d=l.C,n.addData(d,p[v++],p[v++],p[v++],p[v++],p[v++],p[v++]),r=p[v-2],i=p[v-1];break;case"c":d=l.C,n.addData(d,p[v++]+r,p[v++]+i,p[v++]+r,p[v++]+i,p[v++]+r,p[v++]+i),r+=p[v-2],i+=p[v-1];break;case"S":m=r,w=i,I=n.len(),E=n.data,e===l.C&&(m+=r-E[I-4],w+=i-E[I-3]),d=l.C,C=p[v++],O=p[v++],r=p[v++],i=p[v++],n.addData(d,m,w,C,O,r,i);break;case"s":m=r,w=i,I=n.len(),E=n.data,e===l.C&&(m+=r-E[I-4],w+=i-E[I-3]),d=l.C,C=r+p[v++],O=i+p[v++],r+=p[v++],i+=p[v++],n.addData(d,m,w,C,O,r,i);break;case"Q":C=p[v++],O=p[v++],r=p[v++],i=p[v++],d=l.Q,n.addData(d,C,O,r,i);break;case"q":C=p[v++]+r,O=p[v++]+i,r+=p[v++],i+=p[v++],d=l.Q,n.addData(d,C,O,r,i);break;case"T":m=r,w=i,I=n.len(),E=n.data,e===l.Q&&(m+=r-E[I-4],w+=i-E[I-3]),r=p[v++],i=p[v++],d=l.Q,n.addData(d,m,w,r,i);break;case"t":m=r,w=i,I=n.len(),E=n.data,e===l.Q&&(m+=r-E[I-4],w+=i-E[I-3]),r+=p[v++],i+=p[v++],d=l.Q,n.addData(d,m,w,r,i);break;case"A":S=p[v++],A=p[v++],M=p[v++],k=p[v++],T=p[v++],C=r,O=i,r=p[v++],_(C,O,r,i=p[v++],k,T,S,A,M,d=l.A,n);break;case"a":S=p[v++],A=p[v++],M=p[v++],k=p[v++],T=p[v++],C=r,O=i,r+=p[v++],_(C,O,r,i+=p[v++],k,T,S,A,M,d=l.A,n)}}("z"===f||"Z"===f)&&(d=l.Z,n.addData(d),r=a,i=s),e=d}return n.toStatic(),n}(t),r=(0,h.extend)({},e);return r.buildPath=function(t){if(S(t)){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},r.applyTransform=function(t){!function(t,e){if(e){var n,r,i,o,h,f,d=t.data,p=t.len(),g=s.M,y=s.C,v=s.L,m=s.R,_=s.A,b=s.Q;for(i=0,o=0;i<p;){switch(n=d[i++],o=i,r=0,n){case g:case v:r=1;break;case y:r=3;break;case b:r=2;break;case _:var x=e[4],w=e[5],S=u(e[0]*e[0]+e[1]*e[1]),A=u(e[2]*e[2]+e[3]*e[3]),M=c(-e[1]/A,e[0]/S);d[i]*=S,d[i++]+=x,d[i]*=A,d[i++]+=w,d[i++]*=S,d[i++]*=A,d[i++]+=M,d[i++]+=M,i+=2,o=i;break;case m:f[0]=d[i++],f[1]=d[i++],(0,a.applyTransform)(f,f,e),d[o++]=f[0],d[o++]=f[1],f[0]+=d[i++],f[1]+=d[i++],(0,a.applyTransform)(f,f,e),d[o++]=f[0],d[o++]=f[1]}for(h=0;h<r;h++){var k=l[h];k[0]=d[i++],k[1]=d[i++],(0,a.applyTransform)(k,k,e),d[o++]=k[0],d[o++]=k[1]}}t.increaseVersion()}}(n,t),this.dirtyShape()},r}var M=n(85124),k=n(92161),T=n(35963),C=n(96001),O=n(32031),I=n(78018),E=n(21858),D=n(69581),R=n(19856),L=n(34146),P=n(25998),N=n(99618),B=n(60620),F=n(26962),j=n(91176),z=n(38206),H=n(79345),V=n(29515),U=n(10923),W=n(56271),q=n(52211),G=n(92418),Z=n(28450),Y=n(44988),$=n(26912),X=Math.max,K=Math.min,J={};function Q(t){return i.Ay.extend(t)}var tt=function(t,e){var n=A(t,e),i=w;function o(t){var e=i.call(this,t)||this;return e.applyTransform=n.applyTransform,e.buildPath=n.buildPath,e}return(0,r.C6)(o,i),o};function te(t,e){return tt(t,e)}function tn(t,e){J[t]=e}function tr(t){if(J.hasOwnProperty(t))return J[t]}function ti(t,e,n,r){var i=new w(A(t,e));return n&&("center"===r&&(n=ta(n,i.getBoundingRect())),tl(i,n)),i}function to(t,e,n){var r=new T.Ay({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var i={width:t.width,height:t.height};r.setStyle(ta(e,i))}}});return r}function ta(t,e){var n,r=e.width/e.height,i=t.height*r;return n=i<=t.width?t.height:(i=t.width)/r,{x:t.x+t.width/2-i/2,y:t.y+t.height/2-n/2,width:i,height:n}}var ts=function(t,e){for(var n=[],r=t.length,o=0;o<r;o++){var a=t[o];n.push(a.getUpdatedPathProxy(!0))}var s=new i.Ay(e);return s.createPathProxy(),s.buildPath=function(t){if(S(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},s};function tl(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function tu(t,e){return Z.eB(t,t,{lineWidth:e}),t}function tc(t){return Z.Op(t.shape,t.shape,t.style),t}var th=Z.M7;function tf(t,e){for(var n=M.identity([]);t&&t!==e;)M.mul(n,t.getLocalTransform(),n),t=t.parent;return n}function td(t,e,n){return e&&!(0,h.isArrayLike)(e)&&(e=k.Ay.getLocalTransform(e)),n&&(e=M.invert([],e)),a.applyTransform([],t,e)}function tp(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return Math.abs((o=td(o,e,n))[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function tg(t,e,n){if(t&&e){var r,i=(r={},t.traverse(function(t){!t.isGroup&&t.anid&&(r[t.anid]=t)}),r);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=i[t.anid];if(e){var r=o(t);t.attr(o(e)),(0,$.oi)(t,r,n,(0,Y.z)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,h.extend)({},t.shape)),e}}function ty(t,e){return(0,h.map)(t,function(t){var n=t[0];n=K(n=X(n,e.x),e.x+e.width);var r=t[1];return[n,r=K(r=X(r,e.y),e.y+e.height)]})}function tv(t,e){var n=X(t.x,e.x),r=K(t.x+t.width,e.x+e.width),i=X(t.y,e.y),o=K(t.y+t.height,e.y+e.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function tm(t,e,n){var r=(0,h.extend)({rectHover:!0},e),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),(0,h.defaults)(i,n),new T.Ay(r)):ti(t.replace("path://",""),r,n,"center")}function t_(t,e,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(tb(t,e,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function tb(t,e,n,r,i,o,a,s){var l,u=n-t,c=r-e,h=a-i,f=s-o,d=h*c-u*f;if((l=d)<=1e-6&&l>=-1e-6)return!1;var p=t-i,g=e-o,y=(p*c-u*g)/d;if(y<0||y>1)return!1;var v=(p*f-h*g)/d;return!(v<0)&&!(v>1)}function tx(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,i=(0,h.isString)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,h.each)((0,h.keys)(l),function(t){(0,h.hasOwn)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,Y.z)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:(0,h.defaults)({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function tw(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function tS(t,e){if(t)if((0,h.isArray)(t))for(var n=0;n<t.length;n++)tw(t[n],e);else tw(t,e)}J.circle=I.A,J.ellipse=E.A,J.sector=D.A,J.ring=R.A,J.polygon=L.A,J.polyline=P.A,J.rect=N.A,J.line=B.A,J.bezierCurve=F.A,J.arc=j.A},44988:function(t,e,n){"use strict";n.d(e,{a:()=>i,z:()=>r});var r=(0,n(47632).$r)(),i=function(t,e,n,i){if(i){var o=r(i);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===i.type&&i.traverse(function(i){var o=r(i);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"})}}},76359:function(t,e,n){"use strict";n.d(e,{HU:()=>h,YA:()=>g,ad:()=>p,dV:()=>f,m$:()=>d,vs:()=>y});var r=n(12417),i=n(10923),o=n(90016),a=n(3662),s=r.each,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function c(t,e,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;e.eachChild(function(l,u){var c,h,f=l.getBoundingRect(),d=e.childAt(u+1),p=d&&d.getBoundingRect();if("horizontal"===t){var g=f.width+(p?-p.x+f.x:0);(c=o+g)>r||l.newline?(o=0,c=g,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var y=f.height+(p?-p.y+f.y:0);(h=a+y)>i||l.newline?(o+=s+n,a=0,h=y,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+n:a=h+n)})}function h(t,e,n){var r=e.width,i=e.height,s=(0,o.lo)(t.left,r),l=(0,o.lo)(t.top,i),u=(0,o.lo)(t.right,r),c=(0,o.lo)(t.bottom,i);return(isNaN(s)||isNaN(parseFloat(t.left)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.right)))&&(u=r),(isNaN(l)||isNaN(parseFloat(t.top)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.bottom)))&&(c=i),{width:Math.max(u-s-(n=a.QX(n||0))[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}}function f(t,e,n){n=a.QX(n||0);var r=e.width,s=e.height,l=(0,o.lo)(t.left,r),u=(0,o.lo)(t.top,s),c=(0,o.lo)(t.right,r),h=(0,o.lo)(t.bottom,s),f=(0,o.lo)(t.width,r),d=(0,o.lo)(t.height,s),p=n[2]+n[0],g=n[1]+n[3],y=t.aspect;switch(isNaN(f)&&(f=r-c-g-l),isNaN(d)&&(d=s-h-p-u),null!=y&&(isNaN(f)&&isNaN(d)&&(y>r/s?f=.8*r:d=.8*s),isNaN(f)&&(f=y*d),isNaN(d)&&(d=f/y)),isNaN(l)&&(l=r-c-f-g),isNaN(u)&&(u=s-h-d-p),t.left||t.right){case"center":l=r/2-f/2-n[3];break;case"right":l=r-f-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-n[0];break;case"bottom":u=s-d-p}l=l||0,u=u||0,isNaN(f)&&(f=r-g-l-(c||0)),isNaN(d)&&(d=s-p-u-(h||0));var v=new i.A(l+n[3],u+n[0],f,d);return v.margin=n,v}function d(t,e,n,o,a,s){var l,u=!a||!a.hv||a.hv[0],c=!a||!a.hv||a.hv[1],h=a&&a.boundingMode||"all";if((s=s||t).x=t.x,s.y=t.y,!u&&!c)return!1;if("raw"===h)l="group"===t.type?new i.A(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var d=t.getLocalTransform();(l=l.clone()).applyTransform(d)}var p=f(r.defaults({width:l.width,height:l.height},e),n,o),g=u?p.x-l.x:0,y=c?p.y-l.y:0;return"raw"===h?(s.x=g,s.y=y):(s.x+=g,s.y+=y),s===t&&t.markRedraw(),!0}function p(t){var e=t.layoutMode||t.constructor.layoutMode;return r.isObject(e)?e:e?{type:e}:null}function g(t,e,n){var i=n&&n.ignoreSize;r.isArray(i)||(i=[i,i]);var o=l(u[0],0),a=l(u[1],1);function l(n,r){var o={},a=0,l={},u=0;if(s(n,function(e){l[e]=t[e]}),s(n,function(t){c(e,t)&&(o[t]=l[t]=e[t]),h(o,t)&&a++,h(l,t)&&u++}),i[r])return h(e,n[1])?l[n[2]]=null:h(e,n[2])&&(l[n[1]]=null),l;if(2===u||!a)return l;if(a>=2)return o;for(var f=0;f<n.length;f++){var d=n[f];if(!c(o,d)&&c(t,d)){o[d]=t[d];break}}return o}function c(t,e){return t.hasOwnProperty(e)}function h(t,e){return null!=t[e]&&"auto"!==t[e]}function f(t,e,n){s(t,function(t){e[t]=n[t]})}f(u[0],t,o),f(u[1],t,a)}function y(t){var e,n;return e={},(n=t)&&e&&s(l,function(t){n.hasOwnProperty(t)&&(e[t]=n[t])}),e}r.curry(c,"vertical"),r.curry(c,"horizontal")},48635:function(t,e,n){"use strict";function r(t){}function i(t){throw Error(t)}n.d(e,{$8:()=>i,aT:()=>r})},47632:function(t,e,n){"use strict";n.d(e,{$r:()=>b,Bq:()=>T,D$:()=>C,GX:()=>m,HB:()=>S,Il:()=>I,JO:()=>k,JS:()=>u,M5:()=>l,O0:()=>y,O2:()=>f,US:()=>A,UW:()=>M,XJ:()=>O,_e:()=>w,le:()=>_,oh:()=>v,qB:()=>s,vS:()=>g,vj:()=>c,zu:()=>h});var r=n(12417),i=n(55198),o=n(90016),a="series\0";function s(t){return t instanceof Array?t:null==t?[]:[t]}function l(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var u=["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 c(t){return!(0,r.isObject)(t)||(0,r.isArray)(t)||t instanceof Date?t:t.value}function h(t){return(0,r.isObject)(t)&&!(t instanceof Array)}function f(t,e,n){var i,o,s,l,u,c,h,f,g,y,m,_,b,x="normalMerge"===n,w="replaceMerge"===n,S="replaceAll"===n;t=t||[],e=(e||[]).slice();var A=(0,r.createHashMap)();(0,r.each)(e,function(t,n){if(!(0,r.isObject)(t)){e[n]=null;return}});var M=function(t,e,n){var r=[];if("replaceAll"===n)return r;for(var i=0;i<t.length;i++){var o=t[i];o&&null!=o.id&&e.set(o.id,i),r.push({existing:"replaceMerge"===n||v(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}(t,A,n);return(x||w)&&(i=M,o=t,s=A,l=e,(0,r.each)(l,function(t,e){if(t&&null!=t.id){var n=p(t.id),a=s.get(n);if(null!=a){var u=i[a];(0,r.assert)(!u.newOption,'Duplicated option on id "'+n+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),x&&(u=M,c=e,(0,r.each)(c,function(t,e){if(t&&null!=t.name)for(var n=0;n<u.length;n++){var r=u[n].existing;if(!u[n].newOption&&r&&(null==r.id||null==t.id)&&!v(t)&&!v(r)&&d("name",r,t)){u[n].newOption=t,c[e]=null;return}}})),x||w?(h=M,f=e,g=w,(0,r.each)(f,function(t){if(t){for(var e,n=0;(e=h[n])&&(e.newOption||v(e.existing)||e.existing&&null!=t.id&&!d("id",t,e.existing));)n++;e?(e.newOption=t,e.brandNew=g):h.push({newOption:t,brandNew:g,existing:null,keyInfo:null}),n++}})):S&&(y=M,m=e,(0,r.each)(m,function(t){y.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=M,b=(0,r.createHashMap)(),(0,r.each)(_,function(t){var e=t.existing;e&&b.set(e.id,t)}),(0,r.each)(_,function(t){var e=t.newOption;(0,r.assert)(!e||null==e.id||!b.get(e.id)||b.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&b.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,r.each)(_,function(t,e){var n=t.existing,i=t.newOption,o=t.keyInfo;if((0,r.isObject)(i)){if(o.name=null!=i.name?p(i.name):n?n.name:a+e,n)o.id=p(n.id);else if(null!=i.id)o.id=p(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(b.get(o.id))}b.set(o.id,t)}}),M}function d(t,e,n){var r=g(e[t],null),i=g(n[t],null);return null!=r&&null!=i&&r===i}function p(t){return g(t,"")}function g(t,e){return null==t?e:(0,r.isString)(t)?t:(0,r.isNumber)(t)||(0,r.isStringSafe)(t)?t+"":e}function y(t){var e=t.name;return!!(e&&e.indexOf(a))}function v(t){return t&&null!=t.id&&0===p(t.id).indexOf("\0_ec_\0")}function m(t,e,n){(0,r.each)(t,function(t){var i,o,a,s,l=t.newOption;(0,r.isObject)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(i=e,o=l,a=t.existing,s=n,o.type?o.type:a?a.subType:s.determineSubType(i,o)))})}function _(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,r.isArray)(e.dataIndex)?(0,r.map)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,r.isArray)(e.name)?(0,r.map)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function b(){var t="__ec_inner_"+x++;return function(e){return e[t]||(e[t]={})}}var x=(0,o.IH)();function w(t,e,n){var r=S(e,n),i=r.mainTypeSpecified,o=r.queryOptionMap,a=r.others,s=n?n.defaultMainType:null;return!i&&s&&o.set(s,{}),o.each(function(e,r){var i=k(t,r,e,{useDefault:s===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[r+"Models"]=i.models,a[r+"Model"]=i.models[0]}),a}function S(t,e){if((0,r.isString)(t)){var n,i={};i[t+"Index"]=0,n=i}else n=t;var o=(0,r.createHashMap)(),a={},s=!1;return(0,r.each)(n,function(t,n){if("dataIndex"===n||"dataIndexInside"===n){a[n]=t;return}var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=i[1],u=(i[2]||"").toLowerCase();!l||!u||e&&e.includeMainTypes&&0>(0,r.indexOf)(e.includeMainTypes,l)||(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var A={useDefault:!0,enableAll:!1,enableNone:!1},M={useDefault:!1,enableAll:!0,enableNone:!0};function k(t,e,n,i){i=i||A;var o=n.index,a=n.id,s=n.name,l={models:null,specified:null!=o||null!=a||null!=s};if(!l.specified){var u=void 0;return l.models=i.useDefault&&(u=t.getComponent(e))?[u]:[],l}return"none"===o||!1===o?((0,r.assert)(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[]):("all"===o&&((0,r.assert)(i.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),l.models=t.queryComponents({mainType:e,index:o,id:a,name:s})),l}function T(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function C(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function O(t){return"auto"===t?i.A.domSupported?"html":"richText":t||"html"}function I(t,e,n,i,a){var s=null==e||"auto"===e;if(null==i)return i;if((0,r.isNumber)(i)){var l,u=(i-(l=n||0))*a+l;return(0,o.LI)(u,s?Math.max((0,o.XV)(n||0),(0,o.XV)(i)):e)}if((0,r.isString)(i))return a<1?n:i;for(var c=[],h=Math.max(n?n.length:0,i.length),f=0;f<h;++f){var d=t.getDimensionInfo(f);if(d&&"ordinal"===d.type)c[f]=(a<1&&n?n:i)[f];else{var p=n&&n[f]?n[f]:0,g=i[f],u=(g-p)*a+p;c[f]=(0,o.LI)(u,s?Math.max((0,o.XV)(p),(0,o.XV)(g)):e)}}return c}},90016:function(t,e,n){"use strict";n.d(e,{Cb:()=>i,Cm:()=>b,IH:()=>M,Is:()=>d,LI:()=>a,NX:()=>_,Sm:()=>S,Tr:()=>f,XV:()=>l,Y6:()=>s,YV:()=>x,_7:()=>p,_U:()=>v,au:()=>m,dh:()=>g,hb:()=>c,kf:()=>A,lQ:()=>k,lo:()=>o,sL:()=>w,wp:()=>h,y6:()=>u});var r=n(12417);function i(t,e,n,r){var i=e[0],o=e[1],a=n[0],s=n[1],l=o-i,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(r){if(l>0){if(t<=i)return a;else if(t>=o)return s}else if(t>=i)return a;else if(t<=o)return s}else{if(t===i)return a;if(t===o)return s}return(t-i)/l*u+a}function o(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return r.isString(t)?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function a(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function s(t){return t.sort(function(t,e){return t-e}),t}function l(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n}return u(t)}function u(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),r=n>0?+e.slice(n+1):0,i=n>0?n:e.length,o=e.indexOf(".");return Math.max(0,(o<0?0:i-1-o)-r)}function c(t,e){var n=Math.log,r=Math.LN10,i=Math.min(Math.max(-Math.floor(n(t[1]-t[0])/r)+Math.round(n(Math.abs(e[1]-e[0]))/r),0),20);return isFinite(i)?i:20}function h(t,e,n){return t[e]&&function(t,e){var n=r.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var i=Math.pow(10,e),o=r.map(t,function(t){return(isNaN(t)?0:t)/n*i*100}),a=100*i,s=r.map(o,function(t){return Math.floor(t)}),l=r.reduce(s,function(t,e){return t+e},0),u=r.map(o,function(t,e){return t-s[e]});l<a;){for(var c=-1/0,h=null,f=0,d=u.length;f<d;++f)u[f]>c&&(c=u[f],h=f);++s[h],u[h]=0,++l}return r.map(s,function(t){return t/i})}(t,n)[e]||0}function f(t,e){var n=Math.max(l(t),l(e)),r=t+e;return n>20?r:a(r,n)}var d=0x1fffffffffffff;function p(t){var e=2*Math.PI;return(t%e+e)%e}function g(t){return t>-1e-4&&t<1e-4}var y=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function v(t){if(t instanceof Date)return t;if(r.isString(t)){var e=y.exec(t);if(!e)return new Date(NaN);if(!e[8])return new Date(+e[1],(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0);var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(NaN):new Date(Math.round(t))}function m(t){return Math.pow(10,_(t))}function _(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function b(t,e){var n=_(t),r=Math.pow(10,n),i=t/r;return t=(e?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,n>=-20?+t.toFixed(n<0?-n:0):t}function x(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i}function w(t){t.sort(function(t,e){return!function t(e,n,r){return e.interval[r]<n.interval[r]||e.interval[r]===n.interval[r]&&(e.close[r]-n.close[r]==(r?-1:1)||!r&&t(e,n,1))}(t,e,0)?1:-1});for(var e=-1/0,n=1,r=0;r<t.length;){for(var i=t[r].interval,o=t[r].close,a=0;a<2;a++)i[a]<=e&&(i[a]=e,o[a]=a?1:1-n),e=i[a],n=o[a];i[0]===i[1]&&o[0]*o[1]!=1?t.splice(r,1):r++}return t}function S(t){var e=parseFloat(t);return e==t&&(0!==e||!r.isString(t)||0>=t.indexOf("x"))?e:NaN}function A(t){return!isNaN(S(t))}function M(){return Math.round(9*Math.random())}function k(t,e){return null==t?e:null==e?t:t*e/function t(e,n){return 0===n?e:t(n,e%n)}(t,e)}},55479:function(t,e,n){"use strict";n.d(e,{BV:()=>p,CA:()=>y,DW:()=>D,Du:()=>W,HY:()=>P,Iz:()=>Y,JC:()=>F,JI:()=>j,Lm:()=>Q,Lv:()=>_,Lx:()=>ti,PW:()=>m,Q6:()=>x,QX:()=>B,SD:()=>N,T$:()=>to,Tl:()=>G,U2:()=>b,_m:()=>Z,_n:()=>tr,e3:()=>d,fz:()=>ta,gR:()=>tt,gd:()=>z,h5:()=>v,iJ:()=>J,ix:()=>te,jA:()=>X,lV:()=>q,mc:()=>K,qR:()=>V,t6:()=>$,u6:()=>tn,wV:()=>g,zX:()=>f});var r=n(12417),i=n(44988),o=n(18439),a=n(47632),s=n(21196),l=1,u={},c=(0,a.$r)(),h=(0,a.$r)(),f=1,d=2,p=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],y=10,v="highlight",m="downplay",_="select",b="unselect",x="toggleSelect";function w(t){return null!=t&&"none"!==t}function S(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function A(t){S(t,"emphasis",d)}function M(t){t.hoverState===d&&S(t,"normal",0)}function k(t){S(t,"blur",f)}function T(t){t.hoverState===f&&S(t,"normal",0)}function C(t){t.selected=!0}function O(t){t.selected=!1}function I(t,e,n){e(t,n),t.isGroup&&t.traverse(function(t){e(t,n)})}function E(t,e){var n,i,a,l,u,h=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,i){var a=n&&(0,r.indexOf)(n,"select")>=0,l=!1;if(t instanceof s.Ay){var u=c(t),h=a&&u.selectFill||u.normalFill,f=a&&u.selectStroke||u.normalStroke;if(w(h)||w(f)){var d=(i=i||{}).style||{};"inherit"===d.fill?(l=!0,i=(0,r.extend)({},i),(d=(0,r.extend)({},d)).fill=h):!w(d.fill)&&w(h)?(l=!0,i=(0,r.extend)({},i),(d=(0,r.extend)({},d)).fill=(0,o.liftColor)(h)):!w(d.stroke)&&w(f)&&(l||(i=(0,r.extend)({},i),d=(0,r.extend)({},d)),d.stroke=(0,o.liftColor)(f)),i.style=d}}if(i&&null==i.z2){l||(i=(0,r.extend)({},i));var p=t.z2EmphasisLift;i.z2=t.z2+(null!=p?p:y)}return i}(this,0,e,h);else if("blur"===t)return n=h,i=(0,r.indexOf)(this.currentStates,t)>=0,a=this.style.opacity,l=i?null:function(t,e,n,r){for(var i=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=i[s];o[s]=null==l?r&&r[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(n)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(n=n||{}).style||{}).opacity&&(n=(0,r.extend)({},n),u=(0,r.extend)({opacity:i?a:.1*l.opacity},u),n.style=u),n;else if("select"===t){var f=h;if(f&&null==f.z2){f=(0,r.extend)({},f);var d=this.z2SelectLift;f.z2=this.z2+(null!=d?d:9)}return f}}return h}function D(t){t.stateProxy=E;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=E),n&&(n.stateProxy=E)}function R(t,e){H(t,e)||t.__highByOuter||I(t,A)}function L(t,e){H(t,e)||t.__highByOuter||I(t,M)}function P(t,e){t.__highByOuter|=1<<(e||0),I(t,A)}function N(t,e){(t.__highByOuter&=~(1<<(e||0)))||I(t,M)}function B(t){I(t,k)}function F(t){I(t,T)}function j(t){I(t,C)}function z(t){I(t,O)}function H(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function V(t){var e=t.getModel(),n=[],i=[];e.eachComponent(function(e,r){var o=h(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);a||i.push(s),o.isBlured&&(s.group.traverse(function(t){T(t)}),a&&n.push(r)),o.isBlured=!1}),(0,r.each)(i,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function U(t,e,n,i){var o=i.getModel();function a(t,e){for(var n=0;n<e.length;n++){var r=t.getItemGraphicEl(e[n]);r&&F(r)}}if((n=n||"coordinateSystem",null!=t)&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries(function(t){var o=s===t,c=t.coordinateSystem;c&&c.master&&(c=c.master);var f=c&&l?c===l:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!f||"series"===e&&o)){if(i.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&o&&"self"===e||k(t)}),(0,r.isArrayLike)(e))a(t.getData(),e);else if((0,r.isObject)(e))for(var d=(0,r.keys)(e),p=0;p<d.length;p++)a(t.getData(d[p]),e[d[p]]);u.push(t),h(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,o)}})}}function W(t,e,n){if(null!=t&&null!=e){var r=n.getModel().getComponent(t,e);if(r){h(r).isBlured=!0;var i=n.getViewOfComponentModel(r);i&&i.focusBlurEnabled&&i.group.traverse(function(t){k(t)})}}}function q(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.le)(s,e);l=((0,r.isArray)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u)for(var c=s.count(),h=0;!u&&h<c;)u=s.getItemGraphicEl(h++);if(u){var f=(0,i.z)(u);U(o,f.focus,f.blurScope,n)}else{var d=t.get(["emphasis","focus"]),p=t.get(["emphasis","blurScope"]);null!=d&&U(o,d,p,n)}}}function G(t,e,n,r){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return a;var s=r.getModel().getComponent(t,e);if(!s)return a;var l=r.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(n),c=0;c<u.length;c++)if("self"===(0,i.z)(u[c]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function Z(t,e,n){var o=(0,i.z)(t),a=G(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&W(o.componentMainType,o.componentIndex,n),(0,r.each)(s,function(t){return R(t,e)})):(U(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&W(o.componentMainType,o.componentIndex,n),R(t,e))}function Y(t,e,n){V(n);var o=(0,i.z)(t),a=G(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,r.each)(a,function(t){return L(t,e)}):L(t,e)}function $(t,e,n){if(ti(e)){var i=e.dataType,o=t.getData(i),s=(0,a.le)(o,e);(0,r.isArray)(s)||(s=[s]),t[e.type===x?"toggleSelect":e.type===_?"select":"unselect"](s,i)}}function X(t){var e=t.getAllData();(0,r.each)(e,function(e){var n=e.data,r=e.type;n.eachItemGraphicEl(function(e,n){t.isSelected(n,r)?j(e):z(e)})})}function K(t){var e=[];return t.eachSeries(function(t){var n=t.getAllData();(0,r.each)(n,function(n){n.data;var r=n.type,i=t.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:t.seriesIndex};null!=r&&(o.dataType=r),e.push(o)}})}),e}function J(t,e,n){te(t,!0),I(t,D),tt(t,e,n)}function Q(t,e,n,r){r?te(t,!1):J(t,e,n)}function tt(t,e,n){var r=(0,i.z)(t);null!=e?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}function te(t,e){var n=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!n||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n)}function tn(t){return!!(t&&t.__highDownDispatcher)}function tr(t){var e=u[t];return null==e&&l<=32&&(e=u[t]=l++),e}function ti(t){var e=t.type;return e===_||e===b||e===x}function to(t){var e=t.type;return e===v||e===m}function ta(t){var e=c(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}},7465:function(t,e,n){"use strict";n.d(e,{$V:()=>m,hV:()=>w,v5:()=>x});var r=n(12417),i=n(21196),o=n(60620),a=n(99618),s=n(78018),l=n(74861),u=n(10923),c=n(3879),h=n(90016),f=i.Ay.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,o=e.height/2;t.moveTo(n,r-o),t.lineTo(n+i,r+o),t.lineTo(n-i,r+o),t.closePath()}}),d=i.Ay.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,o=e.height/2;t.moveTo(n,r-o),t.lineTo(n+i,r),t.lineTo(n,r+o),t.lineTo(n-i,r),t.closePath()}}),p=i.Ay.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,r=e.y,i=e.width/5*3,o=Math.max(i,e.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),f=Math.cos(u),d=.6*a,p=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*d,l+s+f*d,n,r-p,n,r),t.bezierCurveTo(n,r-p,n-c+h*d,l+s+f*d,n-c,l+s),t.closePath()}}),g=i.Ay.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,r=e.width,i=e.x,o=e.y,a=r/3*2;t.moveTo(i,o),t.lineTo(i+a,o+n),t.lineTo(i,o+n/4*3),t.lineTo(i-a,o+n),t.lineTo(i,o),t.closePath()}}),y={line:o.A,rect:a.A,roundRect:a.A,square:a.A,circle:s.A,diamond:d,pin:p,arrow:g,triangle:f},v={line:function(t,e,n,r,i){i.x1=t,i.y1=e+r/2,i.x2=t+n,i.y2=e+r/2},rect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r},roundRect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(t,e,n,r,i){var o=Math.min(n,r);i.x=t,i.y=e,i.width=o,i.height=o},circle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.r=Math.min(n,r)/2},diamond:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r},pin:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},arrow:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},triangle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r}},m={};(0,r.each)(y,function(t,e){m[e]=new t});var _=i.Ay.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var r=(0,c.X4)(t,e,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.position&&(r.y=n.y+.4*n.height),r},buildPath:function(t,e,n){var r=e.symbolType;if("none"!==r){var i=m[r];i||(i=m[r="rect"]),v[r](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,n)}}});function b(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function x(t,e,n,r,i,o,a){var s,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.A(e,n,r,i),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.A(e,n,r,i),a?"center":"cover"):new _({shape:{symbolType:t,x:e,y:n,width:r,height:i}})).__isEmptyBrush=c,s.setColor=b,o&&s.setColor(o),s}function w(t,e){if(null!=t)return(0,r.isArray)(t)||(t=[t,t]),[(0,h.lo)(t[0],e[0])||0,(0,h.lo)((0,r.retrieve2)(t[1],t[0]),e[1])||0]}},81557:function(t,e,n){"use strict";n.d(e,{IU:()=>l,N:()=>s,nF:()=>a});var r="\0__throttleOriginMethod",i="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var r,i,o,a,s,l=0,u=0,c=null;function h(){u=new Date().getTime(),c=null,t.apply(o,a||[])}e=e||0;var f=function(){for(var t=[],f=0;f<arguments.length;f++)t[f]=arguments[f];r=new Date().getTime(),o=this,a=t;var d=s||e,p=s||n;s=null,i=r-(p?l:u)-d,clearTimeout(c),p?c=setTimeout(h,d):i>=0?h():c=setTimeout(h,-i),l=r};return f.clear=function(){c&&(clearTimeout(c),c=null)},f.debounceNextCall=function(t){s=t},f}function s(t,e,n,s){var l=t[e];if(l){var u=l[r]||l,c=l[o];if(l[i]!==n||c!==s){if(null==n||!s)return t[e]=u;(l=t[e]=a(u,n,"debounce"===s))[r]=u,l[o]=s,l[i]=n}return l}}function l(t,e){var n=t[e];n&&n[r]&&(n.clear&&n.clear(),t[e]=n[r])}},42476:function(t,e,n){"use strict";n.d(e,{$9:()=>b,$H:()=>h,CZ:()=>c,F7:()=>y,FP:()=>F,GP:()=>x,KF:()=>N,Lm:()=>p,MA:()=>u,OY:()=>s,Wf:()=>I,X_:()=>w,Yd:()=>P,Zz:()=>E,bP:()=>T,ce:()=>_,eV:()=>v,g0:()=>A,hY:()=>M,iC:()=>C,iW:()=>l,jJ:()=>k,tM:()=>D,ti:()=>L,ww:()=>B,xu:()=>R,yB:()=>O,ym:()=>m});var r=n(12417),i=n(90016),o=n(79242),a=n(43116),s=1e3,l=6e4,u=36e5,c=864e5,h=31536e6,f={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},d="{yyyy}-{MM}-{dd}",p={year:"{yyyy}",month:"{yyyy}-{MM}",day:d,hour:d+" "+f.hour,minute:d+" "+f.minute,second:d+" "+f.second,millisecond:f.none},g=["year","month","day","hour","minute","second","millisecond"],y=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function m(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function _(t){return t===m(t)}function b(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function x(t,e,n,r){var s=i._U(t),l=s[M(n)](),u=s[k(n)]()+1,c=Math.floor((u-1)/3)+1,h=s[T(n)](),f=s["get"+(n?"UTC":"")+"Day"](),d=s[C(n)](),p=(d-1)%12+1,g=s[O(n)](),y=s[I(n)](),m=s[E(n)](),_=d>=12?"pm":"am",b=_.toUpperCase(),x=(r instanceof a.A?r:(0,o.A4)(r||o.Lv)||(0,o.pr)()).getModel("time"),w=x.get("month"),S=x.get("monthAbbr"),A=x.get("dayOfWeek"),D=x.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,_+"").replace(/{A}/g,b+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,v(l%100+"",2)).replace(/{Q}/g,c+"").replace(/{MMMM}/g,w[u-1]).replace(/{MMM}/g,S[u-1]).replace(/{MM}/g,v(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,v(h,2)).replace(/{d}/g,h+"").replace(/{eeee}/g,A[f]).replace(/{ee}/g,D[f]).replace(/{e}/g,f+"").replace(/{HH}/g,v(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,v(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,v(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,v(y,2)).replace(/{s}/g,y+"").replace(/{SSS}/g,v(m,3)).replace(/{S}/g,m+"")}function w(t,e,n,i,o){var a=null;if(r.isString(n))a=n;else if(r.isFunction(n))a=n(t.value,e,{level:t.level});else{var s=r.extend({},f);if(t.level>0)for(var l=0;l<g.length;++l)s[g[l]]="{primary|"+s[g[l]]+"}";var u=n?!1===n.inherit?n:r.defaults(n,s):s,c=S(t.value,o);if(u[c])a=u[c];else if(u.inherit){for(var h=y.indexOf(c),l=h-1;l>=0;--l)if(u[c]){a=u[c];break}a=a||s.none}if(r.isArray(a)){var d=null==t.level?0:t.level>=0?t.level:a.length+t.level;d=Math.min(d,a.length-1),a=a[d]}}return x(new Date(t.value),a,o,i)}function S(t,e){var n=i._U(t),r=n[k(e)]()+1,o=n[T(e)](),a=n[C(e)](),s=n[O(e)](),l=n[I(e)](),u=0===n[E(e)](),c=u&&0===l,h=c&&0===s,f=h&&0===a,d=f&&1===o;if(d&&1===r)return"year";if(d)return"month";if(f)return"day";if(h)return"hour";if(c)return"minute";else if(u)return"second";else return"millisecond"}function A(t,e,n){var o=r.isNumber(t)?i._U(t):t;switch(e=e||S(t,n)){case"year":return o[M(n)]();case"half-year":return+(o[k(n)]()>=6);case"quarter":return Math.floor((o[k(n)]()+1)/4);case"month":return o[k(n)]();case"day":return o[T(n)]();case"half-day":return o[C(n)]()/24;case"hour":return o[C(n)]();case"minute":return o[O(n)]();case"second":return o[I(n)]();case"millisecond":return o[E(n)]()}}function M(t){return t?"getUTCFullYear":"getFullYear"}function k(t){return t?"getUTCMonth":"getMonth"}function T(t){return t?"getUTCDate":"getDate"}function C(t){return t?"getUTCHours":"getHours"}function O(t){return t?"getUTCMinutes":"getMinutes"}function I(t){return t?"getUTCSeconds":"getSeconds"}function E(t){return t?"getUTCMilliseconds":"getMilliseconds"}function D(t){return t?"setUTCFullYear":"setFullYear"}function R(t){return t?"setUTCMonth":"setMonth"}function L(t){return t?"setUTCDate":"setDate"}function P(t){return t?"setUTCHours":"setHours"}function N(t){return t?"setUTCMinutes":"setMinutes"}function B(t){return t?"setUTCSeconds":"setSeconds"}function F(t){return t?"setUTCMilliseconds":"setMilliseconds"}},84732:function(t,e,n){"use strict";n.d(e,{Km:()=>o,Pe:()=>r,Wk:()=>a,XO:()=>l,i_:()=>c,mK:()=>i,oC:()=>h,t1:()=>s,vm:()=>u});var r=(0,n(12417).createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),i="original",o="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",u="unknown",c="column",h="row"},6091:function(t,e,n){"use strict";n.d(e,{A:()=>b});var r,i=n(12417),o=n(96001),a=n(93230),s=n(48771),l=n(47632),u=n(55479),c=n(97513),h=n(74861),f=l.$r(),d=(r=(0,l.$r)(),function(t){var e=r(t),n=t.pipelineContext,i=!!e.large,o=!!e.progressiveRender,a=e.large=!!(n&&n.large),s=e.progressiveRender=!!(n&&n.progressiveRender);return(i!==a||o!==s)&&"reset"}),p=function(){function t(){this.group=new o.A,this.uid=a.$Q("viewChart"),this.renderTask=(0,c.U)({plan:v,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){},t.prototype.highlight=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&y(i,r,"emphasis")},t.prototype.downplay=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&y(i,r,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateLayout=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateVisual=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.eachRendered=function(t){(0,h.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){f(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,n){t&&(0,u.u6)(t)&&("emphasis"===e?u.HY:u.SD)(t,n)}function y(t,e,n){var r=l.le(t,e),o=e&&null!=e.highlightKey?(0,u._n)(e.highlightKey):null;null!=r?(0,i.each)(l.qB(r),function(e){g(t.getItemGraphicEl(e),n,o)}):t.eachItemGraphicEl(function(t){g(t,n,o)})}function v(t){return d(t.model)}function m(t){var e=t.model,n=t.ecModel,r=t.api,i=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=i&&f(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,r,i),_[l]}s.gq(p,["dispose"]),s.tQ(p);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};let b=p},95411:function(t,e,n){"use strict";n.d(e,{A:()=>s});var r=n(96001),i=n(93230),o=n(48771),a=function(){function t(){this.group=new r.A,this.uid=i.$Q("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){},t.prototype.updateLayout=function(t,e,n,r){},t.prototype.updateVisual=function(t,e,n,r){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.gq(a),o.tQ(a);let s=a},37040:function(t,e,n){"use strict";let r,i,o;n.d(e,{qg:()=>Y,_7:()=>O,dY:()=>A,yQ:()=>Q});let a=Object.create(null);a.open="0",a.close="1",a.ping="2",a.pong="3",a.message="4",a.upgrade="5",a.noop="6";let s=Object.create(null);Object.keys(a).forEach(t=>{s[a[t]]=t});let l={type:"error",data:"parser error"},u="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),c="function"==typeof ArrayBuffer,h=t=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,f=({type:t,data:e},n,r)=>{if(u&&e instanceof Blob)if(n)return r(e);else return d(e,r);if(c&&(e instanceof ArrayBuffer||h(e)))if(n)return r(e);else return d(new Blob([e]),r);return r(a[t]+(e||""))},d=(t,e)=>{let n=new FileReader;return n.onload=function(){e("b"+(n.result.split(",")[1]||""))},n.readAsDataURL(t)};function p(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let t=0;t<g.length;t++)y[g.charCodeAt(t)]=t;let v="function"==typeof ArrayBuffer,m=(t,e)=>{if("string"!=typeof t)return{type:"message",data:b(t,e)};let n=t.charAt(0);return"b"===n?{type:"message",data:_(t.substring(1),e)}:s[n]?t.length>1?{type:s[n],data:t.substring(1)}:{type:s[n]}:l},_=(t,e)=>v?b((t=>{let e=.75*t.length,n=t.length,r,i=0,o,a,s,l;"="===t[t.length-1]&&(e--,"="===t[t.length-2]&&e--);let u=new ArrayBuffer(e),c=new Uint8Array(u);for(r=0;r<n;r+=4)o=y[t.charCodeAt(r)],a=y[t.charCodeAt(r+1)],s=y[t.charCodeAt(r+2)],l=y[t.charCodeAt(r+3)],c[i++]=o<<2|a>>4,c[i++]=(15&a)<<4|s>>2,c[i++]=(3&s)<<6|63&l;return u})(t),e):{base64:!0,data:t},b=(t,e)=>"blob"===e?t instanceof Blob?t:new Blob([t]):t instanceof ArrayBuffer?t:t.buffer;function x(t){return t.reduce((t,e)=>t+e.length,0)}function w(t,e){if(t[0].length===e)return t.shift();let n=new Uint8Array(e),r=0;for(let i=0;i<e;i++)n[i]=t[0][r++],r===t[0].length&&(t.shift(),r=0);return t.length&&r<t[0].length&&(t[0]=t[0].slice(r)),n}var S=n(71019);let A="function"==typeof Promise&&"function"==typeof Promise.resolve?t=>Promise.resolve().then(t):(t,e)=>e(t,0),M="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function k(t,...e){return e.reduce((e,n)=>(t.hasOwnProperty(n)&&(e[n]=t[n]),e),{})}let T=M.setTimeout,C=M.clearTimeout;function O(t,e){e.useNativeTimers?(t.setTimeoutFn=T.bind(M),t.clearTimeoutFn=C.bind(M)):(t.setTimeoutFn=M.setTimeout.bind(M),t.clearTimeoutFn=M.clearTimeout.bind(M))}function I(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}class E extends Error{constructor(t,e,n){super(t),this.description=e,this.context=n,this.type="TransportError"}}class D extends S.v{constructor(t){super(),this.writable=!1,O(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,e,n){return super.emitReserved("error",new E(t,e,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(t){"open"===this.readyState&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){let e=m(t,this.socket.binaryType);this.onPacket(e)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,e={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(e)}_hostname(){let t=this.opts.hostname;return -1===t.indexOf(":")?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(t){let e=function(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}(t);return e.length?"?"+e:""}}class R extends D{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";let e=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let t=0;this._polling&&(t++,this.once("pollComplete",function(){--t||e()})),this.writable||(t++,this.once("drain",function(){--t||e()}))}else e()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){let e=t=>{if("opening"===this.readyState&&"open"===t.type&&this.onOpen(),"close"===t.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(t)};((t,e)=>{let n=t.split("\x1e"),r=[];for(let t=0;t<n.length;t++){let i=m(n[t],e);if(r.push(i),"error"===i.type)break}return r})(t,this.socket.binaryType).forEach(e),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){let t=()=>{this.write([{type:"close"}])};"open"===this.readyState?t():this.once("open",t)}write(t){var e;let n,r,i;this.writable=!1,e=t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})},r=Array(n=t.length),i=0,t.forEach((t,o)=>{f(t,!1,t=>{r[o]=t,++i===n&&e(r.join("\x1e"))})})}uri(){let t=this.opts.secure?"https":"http",e=this.query||{};return!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=I()),this.supportsBinary||e.sid||(e.b64=1),this.createUri(t,e)}}let L=!1;try{L="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){}let P=L;function N(){}class B extends R{constructor(t){if(super(t),"undefined"!=typeof location){const e="https:"===location.protocol;let n=location.port;n||(n=e?"443":"80"),this.xd="undefined"!=typeof location&&t.hostname!==location.hostname||n!==t.port}}doWrite(t,e){let n=this.request({method:"POST",data:t});n.on("success",e),n.on("error",(t,e)=>{this.onError("xhr post error",t,e)})}doPoll(){let t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(t,e)=>{this.onError("xhr poll error",t,e)}),this.pollXhr=t}}class F extends S.v{constructor(t,e,n){super(),this.createRequest=t,O(this,n),this._opts=n,this._method=n.method||"GET",this._uri=e,this._data=void 0!==n.data?n.data:null,this._create()}_create(){var t;let e=k(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this._opts.xd;let n=this._xhr=this.createRequest(e);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders)for(let t in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(t)&&n.setRequestHeader(t,this._opts.extraHeaders[t])}catch(t){}if("POST"===this._method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(t){}try{n.setRequestHeader("Accept","*/*")}catch(t){}null==(t=this._opts.cookieJar)||t.addCookies(n),"withCredentials"in n&&(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var t;3===n.readyState&&(null==(t=this._opts.cookieJar)||t.parseCookies(n.getResponseHeader("set-cookie"))),4===n.readyState&&(200===n.status||1223===n.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof n.status?n.status:0)},0))},n.send(this._data)}catch(t){this.setTimeoutFn(()=>{this._onError(t)},0);return}"undefined"!=typeof document&&(this._index=F.requestsCount++,F.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=N,t)try{this._xhr.abort()}catch(t){}"undefined"!=typeof document&&delete F.requests[this._index],this._xhr=null}}_onLoad(){let t=this._xhr.responseText;null!==t&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}function j(){for(let t in F.requests)F.requests.hasOwnProperty(t)&&F.requests[t].abort()}F.requestsCount=0,F.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",j):"function"==typeof addEventListener&&addEventListener("onpagehide"in M?"pagehide":"unload",j,!1));let z=(o=H({xdomain:!1}))&&null!==o.responseType;function H(t){let e=t.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!e||P))return new XMLHttpRequest}catch(t){}if(!e)try{return new M[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(t){}}let V="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class U extends D{get name(){return"websocket"}doOpen(){let t=this.uri(),e=this.opts.protocols,n=V?{}:k(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,e,n)}catch(t){return this.emitReserved("error",t)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let e=0;e<t.length;e++){let n=t[e],r=e===t.length-1;f(n,this.supportsBinary,t=>{try{this.doWrite(n,t)}catch(t){}r&&A(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let t=this.opts.secure?"wss":"ws",e=this.query||{};return this.opts.timestampRequests&&(e[this.opts.timestampParam]=I()),this.supportsBinary||(e.b64=1),this.createUri(t,e)}}let W=M.WebSocket||M.MozWebSocket,q={websocket:class extends U{createSocket(t,e,n){return V?new W(t,e,n):e?new W(t,e):new W(t)}doWrite(t,e){this.ws.send(e)}},webtransport:class extends D{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{var e,n;let o,a,s,d,g=(e=Number.MAX_SAFE_INTEGER,n=this.socket.binaryType,i||(i=new TextDecoder),o=[],a=0,s=-1,d=!1,new TransformStream({transform(t,r){for(o.push(t);;){if(0===a){if(1>x(o))break;let t=w(o,1);d=(128&t[0])==128,a=(s=127&t[0])<126?3:126===s?1:2}else if(1===a){if(2>x(o))break;let t=w(o,2);s=new DataView(t.buffer,t.byteOffset,t.length).getUint16(0),a=3}else if(2===a){if(8>x(o))break;let t=w(o,8),e=new DataView(t.buffer,t.byteOffset,t.length),n=e.getUint32(0);if(n>2097151){r.enqueue(l);break}s=0x100000000*n+e.getUint32(4),a=3}else{if(x(o)<s)break;let t=w(o,s);r.enqueue(m(d?t:i.decode(t),n)),a=0}if(0===s||s>e){r.enqueue(l);break}}}})),y=t.readable.pipeThrough(g).getReader(),v=new TransformStream({transform(t,e){var n;n=n=>{let r,i=n.length;if(i<126)new DataView((r=new Uint8Array(1)).buffer).setUint8(0,i);else if(i<65536){let t=new DataView((r=new Uint8Array(3)).buffer);t.setUint8(0,126),t.setUint16(1,i)}else{let t=new DataView((r=new Uint8Array(9)).buffer);t.setUint8(0,127),t.setBigUint64(1,BigInt(i))}t.data&&"string"!=typeof t.data&&(r[0]|=128),e.enqueue(r),e.enqueue(n)},u&&t.data instanceof Blob?t.data.arrayBuffer().then(p).then(n):c&&(t.data instanceof ArrayBuffer||h(t.data))?n(p(t.data)):f(t,!1,t=>{r||(r=new TextEncoder),n(r.encode(t))})}});v.readable.pipeTo(t.writable),this._writer=v.writable.getWriter();let _=()=>{y.read().then(({done:t,value:e})=>{t||(this.onPacket(e),_())}).catch(t=>{})};_();let b={type:"open"};this.query.sid&&(b.data=`{"sid":"${this.query.sid}"}`),this._writer.write(b).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let e=0;e<t.length;e++){let n=t[e],r=e===t.length-1;this._writer.write(n).then(()=>{r&&A(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;null==(t=this._transport)||t.close()}},polling:class extends B{constructor(t){super(t);const e=t&&t.forceBase64;this.supportsBinary=z&&!e}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new F(H,this.uri(),t)}}},G=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Z=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Y(t){var e,n;let r,i;if(t.length>8e3)throw"URI too long";let o=t,a=t.indexOf("["),s=t.indexOf("]");-1!=a&&-1!=s&&(t=t.substring(0,a)+t.substring(a,s).replace(/:/g,";")+t.substring(s,t.length));let l=G.exec(t||""),u={},c=14;for(;c--;)u[Z[c]]=l[c]||"";return -1!=a&&-1!=s&&(u.source=o,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),r=(e=u.path).replace(/\/{2,9}/g,"/").split("/"),("/"==e.slice(0,1)||0===e.length)&&r.splice(0,1),"/"==e.slice(-1)&&r.splice(r.length-1,1),u.pathNames=r,n=u.query,i={},n.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(t,e,n){e&&(i[e]=n)}),u.queryKey=i,u}let $="function"==typeof addEventListener&&"function"==typeof removeEventListener,X=[];$&&addEventListener("offline",()=>{X.forEach(t=>t())},!1);class K extends S.v{constructor(t,e){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&"object"==typeof t&&(e=t,t=null),t){const n=Y(t);e.hostname=n.host,e.secure="https"===n.protocol||"wss"===n.protocol,e.port=n.port,n.query&&(e.query=n.query)}else e.host&&(e.hostname=Y(e.host).host);O(this,e),this.secure=null!=e.secure?e.secure:"undefined"!=typeof location&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.hostname=e.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=e.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},e.transports.forEach(t=>{let e=t.prototype.name;this.transports.push(e),this._transportsByName[e]=t}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},e),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(t){let e={},n=t.split("&");for(let t=0,r=n.length;t<r;t++){let r=n[t].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}(this.opts.query)),$&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},X.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){let e=Object.assign({},this.opts.query);e.EIO=4,e.transport=t,this.id&&(e.sid=this.id);let n=Object.assign({},this.opts,{query:e,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](n)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);let t=this.opts.rememberUpgrade&&K.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";let e=this.createTransport(t);e.open(),this.setTransport(e)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",K.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let e=Error("server error");e.code=t.data,this._onError(e);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data)}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let e=0;e<this.writeBuffer.length;e++){let n=this.writeBuffer[e].data;if(n&&(t+="string"==typeof n?function(t){let e=0,n=0;for(let r=0,i=t.length;r<i;r++)(e=t.charCodeAt(r))<128?n+=1:e<2048?n+=2:e<55296||e>=57344?n+=3:(r++,n+=4);return n}(n):Math.ceil(1.33*(n.byteLength||n.size))),e>0&&t>this._maxPayload)return this.writeBuffer.slice(0,e);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,A(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,e,n){return this._sendPacket("message",t,e,n),this}send(t,e,n){return this._sendPacket("message",t,e,n),this}_sendPacket(t,e,n,r){if("function"==typeof e&&(r=e,e=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;let i={type:t,data:e,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){let t=()=>{this._onClose("forced close"),this.transport.close()},e=()=>{this.off("upgrade",e),this.off("upgradeError",e),t()},n=()=>{this.once("upgrade",e),this.once("upgradeError",e)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():t()}):this.upgrading?n():t()),this}_onError(t){if(K.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),$&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let t=X.indexOf(this._offlineEventListener);-1!==t&&X.splice(t,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,e),this.writeBuffer=[],this._prevBufferLen=0}}}K.protocol=4;class J extends K{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let e=this.createTransport(t),n=!1;K.priorWebsocketSuccess=!1;let r=()=>{n||(e.send([{type:"ping",data:"probe"}]),e.once("packet",t=>{if(!n)if("pong"===t.type&&"probe"===t.data){if(this.upgrading=!0,this.emitReserved("upgrading",e),!e)return;K.priorWebsocketSuccess="websocket"===e.name,this.transport.pause(()=>{n||"closed"!==this.readyState&&(u(),this.setTransport(e),e.send([{type:"upgrade"}]),this.emitReserved("upgrade",e),e=null,this.upgrading=!1,this.flush())})}else{let t=Error("probe error");t.transport=e.name,this.emitReserved("upgradeError",t)}}))};function i(){n||(n=!0,u(),e.close(),e=null)}let o=t=>{let n=Error("probe error: "+t);n.transport=e.name,i(),this.emitReserved("upgradeError",n)};function a(){o("transport closed")}function s(){o("socket closed")}function l(t){e&&t.name!==e.name&&i()}let u=()=>{e.removeListener("open",r),e.removeListener("error",o),e.removeListener("close",a),this.off("close",s),this.off("upgrading",l)};e.once("open",r),e.once("error",o),e.once("close",a),this.once("close",s),this.once("upgrading",l),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==t?this.setTimeoutFn(()=>{n||e.open()},200):e.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){let e=[];for(let n=0;n<t.length;n++)~this.transports.indexOf(t[n])&&e.push(t[n]);return e}}class Q extends J{constructor(t,e={}){const n="object"==typeof t?t:e;(!n.transports||n.transports&&"string"==typeof n.transports[0])&&(n.transports=(n.transports||["polling","websocket","webtransport"]).map(t=>q[t]).filter(t=>!!t)),super(t,n)}}Q.protocol},53894:function(t,e,n){"use strict";function r(t){return[...new Set(t)]}n.d(e,{s:()=>r})},21937:function(t,e,n){"use strict";function r(t,e){let n=new Map;for(let r=0;r<t.length;r++){let i=t[r],o=e(i);n.has(o)||n.set(o,i)}return Array.from(n.values())}n.d(e,{h:()=>r})},72384:function(t,e,n){"use strict";function r(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}n.d(e,{O:()=>r})},50739:function(t,e,n){"use strict";function r(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}n.d(e,{b:()=>r})},20626:function(t,e,n){"use strict";function r(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}n.d(e,{A:()=>r})},9333:function(t,e,n){"use strict";n.d(e,{n:()=>i});let r=/^(?:0|[1-9]\d*)$/;function i(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return r.test(t)}}},37304:function(t,e,n){"use strict";n.d(e,{$V:()=>a,Av:()=>r,GX:()=>g,ML:()=>C,N1:()=>y,NA:()=>h,OG:()=>i,Qb:()=>m,R_:()=>s,Uw:()=>f,VP:()=>l,XZ:()=>S,ZR:()=>x,_u:()=>M,cT:()=>p,g5:()=>w,i1:()=>A,iq:()=>v,kj:()=>o,pj:()=>c,q:()=>_,ri:()=>T,tx:()=>d,vC:()=>u,x6:()=>b,xh:()=>k});let r="[object RegExp]",i="[object String]",o="[object Number]",a="[object Boolean]",s="[object Arguments]",l="[object Symbol]",u="[object Date]",c="[object Map]",h="[object Set]",f="[object Array]",d="[object Function]",p="[object ArrayBuffer]",g="[object Object]",y="[object Error]",v="[object DataView]",m="[object Uint8Array]",_="[object Uint8ClampedArray]",b="[object Uint16Array]",x="[object Uint32Array]",w="[object BigUint64Array]",S="[object Int8Array]",A="[object Int16Array]",M="[object Int32Array]",k="[object BigInt64Array]",T="[object Float32Array]",C="[object Float64Array]"},78301:function(t,e,n){"use strict";function r(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}n.d(e,{f:()=>r})},87854:function(t,e,n){"use strict";n.d(e,{$:()=>a});var r=n(96628),i=n(85323),o=n(75566);function a(t,e){if(null==t)return{};let n=(0,i.X)(t)?Array.from(t):Object.values(t),a=(0,o.c)(e??r.D),s={};for(let t=0;t<n.length;t++){let e=n[t],r=a(e);Object.hasOwn(s,r)||(s[r]=[]),s[r].push(e)}return s}},15552:function(t,e,n){"use strict";n.d(e,{R:()=>s});var r=n(53894),i=n(21937),o=n(98481),a=n(75566);function s(...t){let e=t[t.length-1],n=function(t){let e=[];for(let n=0;n<t.length;n++){let r=t[n];if((0,o.U)(r))for(let t=0;t<r.length;t++)e.push(r[t])}return e}(t);return(0,o.U)(e)||null==e?(0,r.s)(n):(0,i.h)(n,(0,a.c)(e))}},55425:function(t,e,n){"use strict";n.d(e,{s:()=>o});var r=n(53894),i=n(85323);function o(t){return(0,i.X)(t)?(0,r.s)(Array.from(t)):[]}},93370:function(t,e,n){"use strict";n.d(e,{h:()=>s});var r=n(21937),i=n(96628),o=n(98481),a=n(75566);function s(t,e=i.D){return(0,o.U)(t)?(0,r.h)(Array.from(t),(0,a.c)(e)):[]}},44200:function(t,e,n){"use strict";function r(t,e=0,n={}){let i;"object"!=typeof n&&(n={});let{leading:o=!1,trailing:a=!0,maxWait:s}=n,l=[,,];o&&(l[0]="leading"),a&&(l[1]="trailing");let u=null,c=function(t,e,{signal:n,edges:r}={}){let i,o=null,a=null!=r&&r.includes("leading"),s=null==r||r.includes("trailing"),l=()=>{null!==o&&(t.apply(i,o),i=void 0,o=null)},u=null,c=()=>{null!=u&&clearTimeout(u),u=setTimeout(()=>{u=null,s&&l(),h()},e)},h=()=>{null!==u&&(clearTimeout(u),u=null),i=void 0,o=null},f=function(...t){if(n?.aborted)return;i=this,o=t;let e=null==u;c(),a&&e&&l()};return f.schedule=c,f.cancel=h,f.flush=()=>{l()},n?.addEventListener("abort",h,{once:!0}),f}(function(...e){i=t.apply(this,e),u=null},e,{edges:l}),h=function(...e){return null!=s&&(null===u&&(u=Date.now()),Date.now()-u>=s)?(i=t.apply(this,e),u=Date.now(),c.cancel(),c.schedule(),i):(c.apply(this,e),i)};return h.cancel=c.cancel,h.flush=()=>(c.flush(),i),h}n.d(e,{s:()=>r})},65921:function(t,e,n){"use strict";n.d(e,{S:()=>o});var r=n(96628),i=n(75566);function o(t,e){if(null!=t)return function(t,e){if(0===t.length)return;let n=t[0],r=e(n);for(let i=1;i<t.length;i++){let o=t[i],a=e(o);a>r&&(r=a,n=o)}return n}(Array.from(t),(0,i.c)(e??r.D))}},36749:function(t,e,n){"use strict";n.d(e,{w:()=>o});var r=n(96628),i=n(75566);function o(t,e){if(null!=t)return function(t,e){if(0===t.length)return;let n=t[0],r=e(n);for(let i=1;i<t.length;i++){let o=t[i],a=e(o);a<r&&(r=a,n=o)}return n}(Array.from(t),(0,i.c)(e??r.D))}},20317:function(t,e,n){"use strict";n.d(e,{x:()=>i});var r=n(75566);function i(t,e){let n;if(!t||!t.length)return 0;null!=e&&(e=(0,r.c)(e));for(let r=0;r<t.length;r++){let i=e?e(t[r]):t[r];void 0!==i&&(void 0===n?n=i:n+=i)}return n}},15209:function(t,e,n){"use strict";n.d(e,{N:()=>s});var r=n(9333),i=n(85323),o=n(59039),a=n(90409);function s(t,...e){var n,l;t=Object(t);let u=Object.prototype,c=e.length,h=c>2?e[2]:void 0;h&&(n=e[0],l=e[1],(0,o.G)(h)&&("number"==typeof l&&(0,i.X)(h)&&(0,r.n)(l)&&l<h.length||"string"==typeof l&&l in h)&&(0,a.eq)(h[l],n))&&(c=1);for(let n=0;n<c;n++){if(null==e[n])continue;let r=e[n],i=Object.keys(r);for(let e=0;e<i.length;e++){let n=i[e],o=t[n];(void 0===o||!Object.hasOwn(t,n)&&(0,a.eq)(o,u[n]))&&(t[n]=r[n])}}return t}},14696:function(t,e,n){"use strict";function r(t){return"__proto__"===t}n.d(e,{J:()=>function t(e,n,s){if(null==e)return s;switch(typeof n){case"string":{if(r(n))return s;let o=e[n];if(void 0===o)if((0,i.A)(n))return t(e,(0,a.b)(n),s);else return s;return o}case"number":case"symbol":{"number"==typeof n&&(n=(0,o.f)(n));let t=e[n];if(void 0===t)return s;return t}default:{if(Array.isArray(n)){var l=e,u=n,c=s;if(0===u.length)return c;let t=l;for(let e=0;e<u.length;e++){if(null==t||r(u[e]))return c;t=t[u[e]]}return void 0===t?c:t}if(r(n=Object.is(n?.valueOf(),-0)?"-0":String(n)))return s;let t=e[n];if(void 0===t)return s;return t}}}});var i=n(20626),o=n(78301),a=n(1757)},15133:function(t,e,n){"use strict";n.d(e,{z:()=>h});var r=n(8963).Buffer,i=n(85323),o=n(58502);function a(t){return"symbol"==typeof t||t instanceof Symbol}function s(t){let e=[];for(let n in t)e.push(n);return e}var l=n(72384);function u(t){return t}var c=n(75566);function h(t,e){if(null==t)return{};let n={},h=(0,c.c)(e??u),f=(0,i.X)(t)?function(t,e,n=1){if(null==e&&(e=t,t=0),!Number.isInteger(n)||0===n)throw Error("The step value must be a non-zero integer.");let r=Math.max(Math.ceil((e-t)/n),0),i=Array(r);for(let e=0;e<r;e++)i[e]=t+e*n;return i}(0,t.length):[...function(t){if(null==t)return[];switch(typeof t){case"object":case"function":let e;if((0,i.X)(t))return function(t){let e=function(t,e){var n,r;let i,o;if((t=(o=(i=(n=t)?(n=a(r=n)?NaN:Number(r))===1/0||n===-1/0?(n<0?-1:1)*Number.MAX_VALUE:n==n?n:0:0===n?n:0)%1)?i-o:i)<1||!Number.isSafeInteger(t))return[];let s=Array(t);for(let n=0;n<t;n++)s[n]="function"==typeof e?e(n):n;return s}(t.length,t=>`${t}`),n=new Set(e);return void 0!==r&&r.isBuffer(t)&&(n.add("offset"),n.add("parent")),(0,o.i)(t)&&(n.add("buffer"),n.add("byteLength"),n.add("byteOffset")),[...e,...s(t).filter(t=>!n.has(t))]}(t);if(e=t?.constructor,t===("function"==typeof e?e.prototype:Object.prototype))return s(t).filter(t=>"constructor"!==t);return s(t);default:return s(Object(t))}}(t),...function(t){let e=[];for(;t;)e.push(...(0,l.O)(t)),t=Object.getPrototypeOf(t);return e}(t)];for(let e=0;e<f.length;e++){let r=a(f[e])?f[e]:f[e].toString(),i=t[r];h(i,r,t)||(n[r]=i)}return n}},85323:function(t,e,n){"use strict";function r(t){var e;return null!=t&&"function"!=typeof t&&Number.isSafeInteger(e=t.length)&&e>=0}n.d(e,{X:()=>r})},98481:function(t,e,n){"use strict";n.d(e,{U:()=>i});var r=n(85323);function i(t){return"object"==typeof t&&null!==t&&(0,r.X)(t)}},59039:function(t,e,n){"use strict";function r(t){return null!==t&&("object"==typeof t||"function"==typeof t)}n.d(e,{G:()=>r})},13347:function(t,e,n){"use strict";n.d(e,{i:()=>o});let r={"&":"&","<":"<",">":">",'"':""","'":"'"};var i=n(76215);function o(t){return(0,i.d)(t).replace(/[&<>"']/g,t=>r[t])}},82443:function(t,e,n){"use strict";n.d(e,{Z:()=>i});var r=n(76215);function i(t){var e;return(e=(0,r.d)(t)).substring(0,1).toUpperCase()+e.substring(1)}},90409:function(t,e,n){"use strict";function r(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}n.d(e,{eq:()=>r})},75566:function(t,e,n){"use strict";n.d(e,{c:()=>w});var r=n(96628),i=n(14696),o=n(59039);function a(t){return null==t||"object"!=typeof t&&"function"!=typeof t}var s=n(90409);function l(t,e,n,r){if(e===t)return!0;switch(typeof e){case"object":return function(t,e,n,r){if(null==e)return!0;if(Array.isArray(e))return u(t,e,n,r);if(e instanceof Map){var i,o,s,l,c=t,h=e,f=n,d=r;if(0===h.size)return!0;if(!(c instanceof Map))return!1;for(let[t,e]of h.entries())if(!1===f(c.get(t),e,t,c,h,d))return!1;return!0}if(e instanceof Set){return i=t,o=e,s=n,l=r,0===o.size||i instanceof Set&&u([...i],[...o],s,l)}let p=Object.keys(e);if(null==t)return 0===p.length;if(0===p.length)return!0;if(r?.has(e))return r.get(e)===t;r?.set(e,t);try{for(let i=0;i<p.length;i++){let o=p[i];if(!a(t)&&!(o in t)||void 0===e[o]&&void 0!==t[o]||null===e[o]&&null!==t[o]||!n(t[o],e[o],o,t,e,r))return!1}return!0}finally{r?.delete(e)}}(t,e,n,r);case"function":if(Object.keys(e).length>0)return l(t,{...e},n,r);return(0,s.eq)(t,e);default:if(!(0,o.G)(t))return(0,s.eq)(t,e);if("string"==typeof e)return""===e;return!0}}function u(t,e,n,r){if(0===e.length)return!0;if(!Array.isArray(t))return!1;let i=new Set;for(let o=0;o<e.length;o++){let a=e[o],s=!1;for(let l=0;l<t.length;l++){if(i.has(l))continue;let u=t[l],c=!1;if(n(u,a,o,t,e,r)&&(c=!0),c){i.add(l),s=!0;break}}if(!s)return!1}return!0}function c(t,e){return function t(e,n,r){return"function"!=typeof r?t(e,n,()=>void 0):l(e,n,function t(e,n,i,o,a,s){let u=r(e,n,i,o,a,s);return void 0!==u?!!u:l(e,n,t,s)},new Map)}(t,e,()=>void 0)}var h=n(72384),f=n(50739),d=n(37304),p=n(58502),g=n(8963).Buffer;function y(t,e,n,r=new Map,i){let o=i?.(t,e,n,r);if(void 0!==o)return o;if(a(t))return t;if(r.has(t))return r.get(t);if(Array.isArray(t)){let e=Array(t.length);r.set(t,e);for(let o=0;o<t.length;o++)e[o]=y(t[o],o,n,r,i);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){let e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){let e=new Map;for(let[o,a]of(r.set(t,e),t))e.set(o,y(a,o,n,r,i));return e}if(t instanceof Set){let e=new Set;for(let o of(r.set(t,e),t))e.add(y(o,void 0,n,r,i));return e}if(void 0!==g&&g.isBuffer(t))return t.subarray();if((0,p.i)(t)){let e=new(Object.getPrototypeOf(t)).constructor(t.length);r.set(t,e);for(let o=0;o<t.length;o++)e[o]=y(t[o],o,n,r,i);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){let e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return r.set(t,e),v(e,t,n,r,i),e}if("undefined"!=typeof File&&t instanceof File){let e=new File([t],t.name,{type:t.type});return r.set(t,e),v(e,t,n,r,i),e}if("undefined"!=typeof Blob&&t instanceof Blob){let e=new Blob([t],{type:t.type});return r.set(t,e),v(e,t,n,r,i),e}if(t instanceof Error){let e=new t.constructor;return r.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,v(e,t,n,r,i),e}if(t instanceof Boolean){let e=new Boolean(t.valueOf());return r.set(t,e),v(e,t,n,r,i),e}if(t instanceof Number){let e=new Number(t.valueOf());return r.set(t,e),v(e,t,n,r,i),e}if(t instanceof String){let e=new String(t.valueOf());return r.set(t,e),v(e,t,n,r,i),e}if("object"==typeof t&&function(t){switch((0,f.b)(t)){case d.R_:case d.Uw:case d.cT:case d.iq:case d.$V:case d.vC:case d.ri:case d.ML:case d.XZ:case d.i1:case d._u:case d.pj:case d.kj:case d.GX:case d.Av:case d.NA:case d.OG:case d.VP:case d.Qb:case d.q:case d.x6:case d.ZR:return!0;default:return!1}}(t)){let e=Object.create(Object.getPrototypeOf(t));return r.set(t,e),v(e,t,n,r,i),e}return t}function v(t,e,n=t,r,i){let o=[...Object.keys(e),...(0,h.O)(e)];for(let a=0;a<o.length;a++){let s=o[a],l=Object.getOwnPropertyDescriptor(t,s);(null==l||l.writable)&&(t[s]=y(e[s],s,n,r,i))}}var m=n(78301),_=n(20626),b=n(9333),x=n(1757);function w(t){var e,n;if(null==t)return r.D;switch(typeof t){case"function":return t;case"object":if(Array.isArray(t)&&2===t.length)return function(t,e){var n,r,o;switch(typeof t){case"object":Object.is(t?.valueOf(),-0)&&(t="-0");break;case"number":t=(0,m.f)(t)}return r=n=e,o=(t,e,r,i)=>{let o;if(void 0!==o)return o;if("object"==typeof n)switch(Object.prototype.toString.call(n)){case d.kj:case d.OG:case d.$V:{let t=new n.constructor(n?.valueOf());return v(t,n),t}case d.R_:{let t={};return v(t,n),t.length=n.length,t[Symbol.iterator]=n[Symbol.iterator],t}default:return}},e=y(r,void 0,r,new Map,o),function(n){let r=(0,i.J)(n,t);return void 0===r?function(t,e){let n;if(0===(n=Array.isArray(e)?e:"string"==typeof e&&(0,_.A)(e)&&t?.[e]==null?(0,x.b)(e):[e]).length)return!1;let r=t;for(let t=0;t<n.length;t++){let e=n[t];if(null==r||!Object.hasOwn(r,e)){var i;if(!((Array.isArray(r)||null!==(i=r)&&"object"==typeof i&&"[object Arguments]"===(0,f.b)(i))&&(0,b.n)(e)&&e<r.length))return!1}r=r[e]}return!0}(n,t):void 0===e?void 0===r:c(r,e)}}(t[0],t[1]);return e=y(n=e=t,void 0,n,new Map,void 0),t=>c(t,e);case"string":case"symbol":case"number":return function(e){return(0,i.J)(e,t)}}}},1757:function(t,e,n){"use strict";n.d(e,{b:()=>o});var r=n(76215),i=n(78301);function o(t){if(Array.isArray(t))return t.map(i.f);if("symbol"==typeof t)return[t];t=(0,r.d)(t);let e=[],n=t.length;if(0===n)return e;let o=0,a="",s="",l=!1;for(46===t.charCodeAt(0)&&(e.push(""),o++);o<n;){let r=t[o];s?"\\"===r&&o+1<n?a+=t[++o]:r===s?s="":a+=r:l?'"'===r||"'"===r?s=r:"]"===r?(l=!1,e.push(a),a=""):a+=r:"["===r?(l=!0,a&&(e.push(a),a="")):"."===r?a&&(e.push(a),a=""):a+=r,o++}return a&&e.push(a),e}},76215:function(t,e,n){"use strict";function r(t){if(null==t)return"";if("string"==typeof t)return t;if(Array.isArray(t))return t.map(r).join(",");let e=String(t);return"0"===e&&Object.is(Number(t),-0)?"-0":e}n.d(e,{d:()=>r})},96628:function(t,e,n){"use strict";function r(t){return t}n.d(e,{D:()=>r})},87813:function(t,e,n){"use strict";function r(t){if(!t||"object"!=typeof t)return!1;let e=Object.getPrototypeOf(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}n.d(e,{n:()=>c});var i=n(72384),o=n(50739),a=n(37304),s=n(90409),l=n(8963).Buffer;function u(){}function c(t,e){return function t(e,n,u,c,h,f,d){let p=d(e,n,u,c,h,f);if(void 0!==p)return p;if(typeof e==typeof n)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return e===n;case"number":return e===n||Object.is(e,n)}return function e(n,u,c,h){if(Object.is(n,u))return!0;let f=(0,o.b)(n),d=(0,o.b)(u);if(f===a.R_&&(f=a.GX),d===a.R_&&(d=a.GX),f!==d)return!1;switch(f){case a.OG:return n.toString()===u.toString();case a.kj:{let t=n.valueOf(),e=u.valueOf();return(0,s.eq)(t,e)}case a.$V:case a.vC:case a.VP:return Object.is(n.valueOf(),u.valueOf());case a.Av:return n.source===u.source&&n.flags===u.flags;case a.tx:return n===u}let p=(c=c??new Map).get(n),g=c.get(u);if(null!=p&&null!=g)return p===u;c.set(n,u),c.set(u,n);try{switch(f){case a.pj:if(n.size!==u.size)return!1;for(let[e,r]of n.entries())if(!u.has(e)||!t(r,u.get(e),e,n,u,c,h))return!1;return!0;case a.NA:{if(n.size!==u.size)return!1;let e=Array.from(n.values()),r=Array.from(u.values());for(let i=0;i<e.length;i++){let o=e[i],a=r.findIndex(e=>t(o,e,void 0,n,u,c,h));if(-1===a)return!1;r.splice(a,1)}return!0}case a.Uw:case a.Qb:case a.q:case a.x6:case a.ZR:case a.g5:case a.XZ:case a.i1:case a._u:case a.xh:case a.ri:case a.ML:if(void 0!==l&&l.isBuffer(n)!==l.isBuffer(u)||n.length!==u.length)return!1;for(let e=0;e<n.length;e++)if(!t(n[e],u[e],e,n,u,c,h))return!1;return!0;case a.cT:if(n.byteLength!==u.byteLength)return!1;return e(new Uint8Array(n),new Uint8Array(u),c,h);case a.iq:if(n.byteLength!==u.byteLength||n.byteOffset!==u.byteOffset)return!1;return e(new Uint8Array(n),new Uint8Array(u),c,h);case a.N1:return n.name===u.name&&n.message===u.message;case a.GX:{if(!(e(n.constructor,u.constructor,c,h)||r(n)&&r(u)))return!1;let o=[...Object.keys(n),...(0,i.O)(n)],a=[...Object.keys(u),...(0,i.O)(u)];if(o.length!==a.length)return!1;for(let e=0;e<o.length;e++){let r=o[e],i=n[r];if(!Object.hasOwn(u,r))return!1;let a=u[r];if(!t(i,a,r,n,u,c,h))return!1}return!0}default:return!1}}finally{c.delete(n),c.delete(u)}}(e,n,f,d)}(t,e,void 0,void 0,void 0,void 0,u)}},58502:function(t,e,n){"use strict";function r(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}n.d(e,{i:()=>r})},67115:function(t,e,n){"use strict";let r;n.d(e,{h:()=>k,v:()=>T});var i=n(85409),o=n(35207),a=n(9741);function s(t,e=globalThis.Deno?globalThis.Deno.args:i.argv){let n=t.startsWith("-")?"":1===t.length?"-":"--",r=e.indexOf(n+t),o=e.indexOf("--");return -1!==r&&(-1===o||r<o)}let{env:l}=i;function u(t,e={}){var n;return 0!==(n=function(t,{streamIsTTY:e,sniffFlags:n=!0}={}){let a=function(){if(!("FORCE_COLOR"in l))return;if("true"===l.FORCE_COLOR)return 1;if("false"===l.FORCE_COLOR)return 0;if(0===l.FORCE_COLOR.length)return 1;let t=Math.min(Number.parseInt(l.FORCE_COLOR,10),3);if([0,1,2,3].includes(t))return t}();void 0!==a&&(r=a);let u=n?r:a;if(0===u)return 0;if(n){if(s("color=16m")||s("color=full")||s("color=truecolor"))return 3;if(s("color=256"))return 2}if("TF_BUILD"in l&&"AGENT_NAME"in l)return 1;if(t&&!e&&void 0===u)return 0;let c=u||0;if("dumb"===l.TERM)return c;if("win32"===i.platform){let t=o.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in l)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(t=>t in l)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(t=>t in l)||"codeship"===l.CI_NAME?1:c;if("TEAMCITY_VERSION"in l)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(l.TEAMCITY_VERSION);if("truecolor"===l.COLORTERM||"xterm-kitty"===l.TERM||"xterm-ghostty"===l.TERM)return 3;if("TERM_PROGRAM"in l){let t=Number.parseInt((l.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(l.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(l.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(l.TERM)||"COLORTERM"in l?1:c}(t,{streamIsTTY:t&&t.isTTY,...e}))&&{level:n,hasBasic:!0,has256:n>=2,has16m:n>=3}}s("no-color")||s("no-colors")||s("color=false")||s("color=never")?r=0:(s("color")||s("colors")||s("color=true")||s("color=always"))&&(r=1);let c={stdout:u({isTTY:a.isatty(1)}),stderr:u({isTTY:a.isatty(2)})},h=c.stdout?c.stdout.level:0,f=/at\s.*:\d+:\d+[\s\)]*$/,d=/at\s.*\(<anonymous>\)$/,p=(t,e,n=t)=>h>=2?r=>{let i=""+r,o=i.indexOf(e,t.length);return~o?t+g(i,e,n,o)+e:t+i+e}:String,g=(t,e,n,r)=>{let i=t.substring(0,r)+n,o=t.substring(r+e.length),a=o.indexOf(e);return~a?i+g(o,e,n,a):i+o},y=p("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m"),v=p("\x1b[31m","\x1b[39m"),m=p("\x1b[32m","\x1b[39m"),_=p("\x1b[33m","\x1b[39m"),b=p("\x1b[35m","\x1b[39m"),x=p("\x1b[36m","\x1b[39m"),w=p("\x1b[90m","\x1b[39m"),S=t=>!/[\s\n]/.test(t),A={silent:-1,error:0,warn:1,info:2,log:2,verbose:3},M={error:{label:"error",level:"error",color:v},warn:{label:"warn",level:"warn",color:_},info:{label:"info",level:"info",color:x},start:{label:"start",level:"info",color:x},ready:{label:"ready",level:"info",color:m},success:{label:"success",level:"info",color:m},log:{level:"info"},debug:{label:"debug",level:"verbose",color:b}},k=(t={})=>{let e=t.level||"info",n=(t,n,...r)=>{if(A[M[t].level]>A[e])return;if(null==n)return console.log();let i=M[t],o="",a="";if("label"in i&&(o=(i.label||"").padEnd(7),o=y(i.color?i.color(o):o)),n instanceof Error)if(n.stack){let[t,...e]=n.stack.split("\n");t.startsWith("Error: ")&&(t=t.slice(7)),a=`${t}
|
|
2
|
+
${w(e.join("\n"))}`}else a=n.message;else a="error"===i.level&&"string"==typeof n?n.split("\n").map(t=>f.test(t)||d.test(t)?w(t):t).join("\n"):`${n}`;console.log(o.length?`${o} ${a}`:a,...r)},r={greet:t=>n("log",(t=>{if(h<3)return 2===h?y(x(t)):t;let e=[...t],n=e.filter(S).length,r=189,i=255,o=243,a=-115/n,s=-61/n,l=-89/n,u="";for(let t of e)S(t)&&(r+=a,i+=s,o+=l),u+=`\x1b[38;2;${Math.round(r)};${Math.round(i)};${Math.round(o)}m${t}\x1b[39m`;return y(u)})(t))};return Object.keys(M).forEach(t=>{r[t]=(...e)=>n(t,...e)}),Object.defineProperty(r,"level",{get:()=>e,set(t){e=t}}),r.override=t=>{Object.assign(r,t)},r},T=k()},40376:function(t,e,n){"use strict";function r(t,e,n){var r=(n||{}).atBegin;return function(t,e,n){var r,i=n||{},o=i.noTrailing,a=void 0!==o&&o,s=i.noLeading,l=void 0!==s&&s,u=i.debounceMode,c=void 0===u?void 0:u,h=!1,f=0;function d(){r&&clearTimeout(r)}function p(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];var s=this,u=Date.now()-f;function p(){f=Date.now(),e.apply(s,i)}function g(){r=void 0}!h&&(l||!c||r||p(),d(),void 0===c&&u>t?l?(f=Date.now(),a||(r=setTimeout(c?g:p,t))):p():!0!==a&&(r=setTimeout(c?g:p,void 0===c?t-u:t)))}return p.cancel=function(t){var e=(t||{}).upcomingOnly;d(),h=!(void 0!==e&&e)},p}(t,e,{debounceMode:!1!==(void 0!==r&&r)})}n.d(e,{s:()=>r})},367:function(t,e,n){"use strict";n.d(e,{C6:()=>i,Cl:()=>o,Tt:()=>a,YH:()=>l,sH:()=>s});var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function s(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((r=r.apply(t,e||[])).next())})}function l(t,e){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}},78705:function(t,e,n){"use strict";n.d(e,{A:()=>b});var r=n(92161),i=n(51076),o=n(10923),a=n(81970),s=n(3879),l=n(12417),u=n(46391),c=n(18439),h=n(61607),f="__zr_normal__",d=r.Wx.concat(["ignore"]),p=(0,l.reduce)(r.Wx,function(t,e){return t[e]=!0,t},{ignore:!1}),g={},y=new o.A(0,0,0,0),v=function(){function t(t){this.id=(0,l.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=e.innerTransformable,o=void 0,a=void 0,l=!1;i.parent=r?this:null;var u=!1;if(i.copyTransform(e),null!=n.position){n.layoutRect?y.copy(n.layoutRect):y.copy(this.getBoundingRect()),r||y.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,n,y):(0,s.X4)(g,n,y),i.x=g.x,i.y=g.y,o=g.align,a=g.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var f=void 0,d=void 0;"center"===c?(f=.5*y.width,d=.5*y.height):(f=(0,s.lo)(c[0],y.width),d=(0,s.lo)(c[1],y.height)),u=!0,i.originX=-i.x+f+(r?0:y.x),i.originY=-i.y+d+(r?0:y.y)}}null!=n.rotation&&(i.rotation=n.rotation);var p=n.offset;p&&(i.x+=p[0],i.y+=p[1],u||(i.originX=-p[0],i.originY=-p[1]));var v=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),_=void 0,b=void 0,x=void 0;v&&this.canBeInsideText()?(_=n.insideFill,b=n.insideStroke,(null==_||"auto"===_)&&(_=this.getInsideTextFill()),(null==b||"auto"===b)&&(b=this.getInsideTextStroke(_),x=!0)):(_=n.outsideFill,b=n.outsideStroke,(null==_||"auto"===_)&&(_=this.getOutsideFill()),(null==b||"auto"===b)&&(b=this.getOutsideStroke(_),x=!0)),((_=_||"#000")!==m.fill||b!==m.stroke||x!==m.autoStroke||o!==m.align||a!==m.verticalAlign)&&(l=!0,m.fill=_,m.stroke=b,m.autoStroke=x,m.align=o,m.verticalAlign=a,e.setDefaultTextStyle(m)),e.__dirty|=h.M,l&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.el:u._S},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&(0,c.parse)(e);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+255*!i*(1-r);return n[3]=1,(0,c.stringify)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,l.extend)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if((0,l.isObject)(t))for(var n=(0,l.keys)(t),r=0;r<n.length;r++){var i=n[r];this.attrKV(i,t[i])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],i=r.__fromStateTransition;if(!r.getLoop()&&(!i||i===f)){var o=r.targetName,a=o?e[o]:e;r.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,d)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var r=0;r<n.length;r++){var i=n[r];null==t[i]||i in e||(e[i]=this[i])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(f,!1,t)},t.prototype.useState=function(t,e,n,r){var i,o=t===f;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.indexOf)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(i=this.stateProxy(t)),i||(i=this.states&&this.states[t]),!i&&!o)return void(0,l.logError)("State "+t+" not exists.");o||this.saveCurrentToNormalState(i);var u=!!(i&&i.hoverLayer||r);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,i,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var c=this._textContent,d=this._textGuide;return c&&c.useState(t,e,n,u),d&&d.useState(t,e,n,u),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h.M),i}}},t.prototype.useStates=function(t,e,n){if(t.length){var r=[],i=this.currentStates,o=t.length,a=o===i.length;if(a){for(var s=0;s<o;s++)if(t[s]!==i[s]){a=!1;break}}if(!a){for(var s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&r.push(u)}var c=r[o-1],f=!!(c&&c.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(r),p=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&p&&p.duration>0,p);var g=this._textContent,y=this._textGuide;g&&g.useStates(t,e,f),y&&y.useStates(t,e,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h.M)}}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,l.indexOf)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var r=this.currentStates.slice(),i=(0,l.indexOf)(r,t),o=(0,l.indexOf)(r,e)>=0;i>=0?o?r.splice(i,1):r[i]=e:n&&!o&&r.push(e),this.useStates(r)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},r=0;r<t.length;r++){var i=t[r];(0,l.extend)(n,i),i.textConfig&&(e=e||{},(0,l.extend)(e,i.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,r,i,o){var a=!(e&&r);e&&e.textConfig?(this.textConfig=(0,l.extend)({},r?this.textConfig:n.textConfig),(0,l.extend)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,c=0;c<d.length;c++){var h=d[c],f=i&&p[h];e&&null!=e[h]?f?(u=!0,s[h]=e[h]):this[h]=e[h]:a&&null!=n[h]&&(f?(u=!0,s[h]=n[h]):this[h]=n[h])}if(!i)for(var c=0;c<this.animators.length;c++){var g=this.animators[c],y=g.targetName;g.getLoop()||g.__changeFinalValue(y?(e||n)[y]:e||n)}u&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new r.Ay,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.extend)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=h.M;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var r=t?this[t]:this,o=new i.A(r,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,r=this;t.during(function(){r.updateDuringAnimation(e)}).done(function(){var e=r.animators,n=(0,l.indexOf)(e,t);n>=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,r=n.length,i=[],o=0;o<r;o++){var a=n[o];t&&t!==a.scope?i.push(a):a.stop(e)}return this.animators=i,this},t.prototype.animateTo=function(t,e,n){m(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){m(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,r){for(var i=m(this,e,n,r),o=0;o<i.length;o++)i[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,r,i){Object.defineProperty(e,t,{get:function(){return this[n]||o(this,this[n]=[]),this[n]},set:function(t){this[r]=t[0],this[i]=t[1],this[n]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[r]},set:function(e){t[r]=e}}),Object.defineProperty(e,1,{get:function(){return t[i]},set:function(e){t[i]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=h.M,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function m(t,e,n,r,o){var a=[];!function t(e,n,r,o,a,s,u,c){for(var h=(0,l.keys)(o),f=a.duration,d=a.delay,p=a.additive,g=a.setToFinal,y=!(0,l.isObject)(s),v=e.animators,m=[],b=0;b<h.length;b++){var x=h[b],w=o[x];if(null!=w&&null!=r[x]&&(y||s[x]))if(!(0,l.isObject)(w)||(0,l.isArrayLike)(w)||(0,l.isGradientObject)(w))m.push(x);else{if(n){c||(r[x]=w,e.updateDuringAnimation(n));continue}t(e,x,r[x],w,a,s&&s[x],u,c)}else c||(r[x]=w,e.updateDuringAnimation(n),m.push(x))}var S=m.length;if(!p&&S)for(var A=0;A<v.length;A++){var M=v[A];if(M.targetName===n&&M.stopTracks(m)){var k=(0,l.indexOf)(v,M);v.splice(k,1)}}if(a.force||(S=(m=(0,l.filter)(m,function(t){var e,n;return!((e=o[t])===(n=r[t])||(0,l.isArrayLike)(e)&&(0,l.isArrayLike)(n)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}(e,n))})).length),S>0||a.force&&!u.length){var T=void 0,C=void 0,O=void 0;if(c){C={},g&&(T={});for(var A=0;A<S;A++){var x=m[A];C[x]=r[x],g?T[x]=o[x]:r[x]=o[x]}}else if(g){O={};for(var A=0;A<S;A++){var x=m[A];O[x]=(0,i.F)(r[x]),function(t,e,n){if((0,l.isArrayLike)(e[n]))if((0,l.isArrayLike)(t[n])||(t[n]=[]),(0,l.isTypedArray)(e[n])){var r=e[n].length;t[n].length!==r&&(t[n]=new e[n].constructor(r),_(t[n],e[n],r))}else{var i=e[n],o=t[n],a=i.length;if((0,l.isArrayLike)(i[0]))for(var s=i[0].length,u=0;u<a;u++)o[u]?_(o[u],i[u],s):o[u]=Array.prototype.slice.call(i[u]);else _(o,i,a);o.length=i.length}else t[n]=e[n]}(r,o,x)}}var M=new i.A(r,!1,!1,p?(0,l.filter)(v,function(t){return t.targetName===n}):null);M.targetName=n,a.scope&&(M.scope=a.scope),g&&T&&M.whenWithKeys(0,T,m),O&&M.whenWithKeys(0,O,m),M.whenWithKeys(null==f?500:f,c?C:o,m).delay(d||0),e.addAnimator(M,n),u.push(M)}}(t,"",t,e,n=n||{},r,a,o);var s=a.length,u=!1,c=n.done,h=n.aborted,f=function(){u=!0,--s<=0&&(u?c&&c():h&&h())},d=function(){--s<=0&&(u?c&&c():h&&h())};!s&&c&&c(),a.length>0&&n.during&&a[0].during(function(t,e){n.during(e)});for(var p=0;p<a.length;p++){var g=a[p];f&&g.done(f),d&&g.aborted(d),n.force&&g.duration(n.duration),g.start(n.easing)}return a}function _(t,e,n){for(var r=0;r<n;r++)t[r]=e[r]}(0,l.mixin)(v,a.A),(0,l.mixin)(v,r.Ay);let b=v},51076:function(t,e,n){"use strict";n.d(e,{F:()=>y,A:()=>w});var r={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1)?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):n*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+2)},bounceIn:function(t){return 1-r.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*r.bounceIn(2*t):.5*r.bounceOut(2*t-1)+.5}},i=n(12417),o=n(96046),a=/cubic-bezier\(([0-9,\.e ]+)\)/;function s(t){var e=t&&a.exec(t);if(e){var n=e[1].split(","),r=+(0,i.trim)(n[0]),s=+(0,i.trim)(n[1]),l=+(0,i.trim)(n[2]),u=+(0,i.trim)(n[3]);if(isNaN(r+s+l+u))return;var c=[];return function(t){return t<=0?0:t>=1?1:(0,o._E)(0,r,l,1,t,c)&&(0,o.Yb)(0,s,u,1,c[0])}}}var l=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||i.noop,this.ondestroy=t.ondestroy||i.noop,this.onrestart=t.onrestart||i.noop,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var n=this._life,r=t-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i)if(!this.loop)return!0;else this._startTime=t-r%n,this._pausedTime=0,this.onrestart();return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,i.isFunction)(t)?t:r[t]||s(t)},t}(),u=n(18439),c=n(55198),h=n(8963).Buffer;c.A.hasGlobalWindow&&(0,i.isFunction)(window.btoa);var f=Array.prototype.slice;function d(t,e,n,r){for(var i,o=e.length,a=0;a<o;a++)t[a]=(i=e[a],(n[a]-i)*r+i);return t}function p(t,e,n,r){for(var i=e.length,o=0;o<i;o++)t[o]=e[o]+n[o]*r;return t}function g(t,e,n,r){for(var i=e.length,o=i&&e[0].length,a=0;a<i;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*r}return t}function y(t){if((0,i.isArrayLike)(t)){var e=t.length;if((0,i.isArrayLike)(t[0])){for(var n=[],r=0;r<e;r++)n.push(f.call(t[r]));return n}return f.call(t)}return t}function v(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function m(t){return 4===t||5===t}function _(t){return 1===t||2===t}var b=[0,0,0,0],x=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var o=this.keyframes,a=o.length,l=!1,c=6,h=e;if((0,i.isArrayLike)(e)){var f=(0,i.isArrayLike)(e&&e[0])?2:1;c=f,(1!==f||(0,i.isNumber)(e[0]))&&(2!==f||(0,i.isNumber)(e[0][0]))||(l=!0)}else if((0,i.isNumber)(e)&&!(0,i.eqNaN)(e))c=0;else if((0,i.isString)(e))if(isNaN(+e)){var d=u.parse(e);d&&(h=d,c=3)}else c=0;else if((0,i.isGradientObject)(e)){var p=(0,i.extend)({},h);(p.colorStops=(0,i.map)(e.colorStops,function(t){return{offset:t.offset,color:u.parse(t.color)}}),"linear"===e.type)?c=4:"radial"===e.type&&(c=5),h=p}0===a?this.valType=c:(c!==this.valType||6===c)&&(l=!0),this.discrete=this.discrete||l;var g={time:t,value:h,rawValue:e,percent:0};return n&&(g.easing=n,g.easingFunc=(0,i.isFunction)(n)?n:r[n]||s(n)),o.push(g),g},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=_(r),l=m(r),u=0;u<i;u++){var c=n[u],h=c.value,d=o.value;c.percent=c.time/t,!a&&(s&&u!==i-1?function(t,e,n){if(t.push&&e.push){var r=t.length,i=e.length;if(r!==i)if(r>i)t.length=i;else for(var o=r;o<i;o++)t.push(1===n?e[o]:f.call(e[o]));for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(h,d,r):l&&function(t,e){for(var n=t.length,r=e.length,i=n>r?e:t,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,r);s++)i.push({offset:a.offset,color:a.color.slice()})}(h.colorStops,d.colorStops))}if(!a&&5!==r&&e&&this.needsAnimate()&&e.needsAnimate()&&r===e.valType&&!e._finished){this._additiveTrack=e;for(var y=n[0].value,u=0;u<i;u++)0===r?n[u].additiveValue=n[u].value-y:3===r?n[u].additiveValue=p([],n[u].value,y,-1):_(r)&&(n[u].additiveValue=1===r?p([],n[u].value,y,-1):g([],n[u].value,y,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,c=u.length,h=this.propName,f=3===l,p=this._lastFr,g=Math.min;if(1===c)r=o=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=g(p+1,c-1);n>=0&&!(u[n].percent<=e);n--);n=g(n,c-2)}else{for(n=p;n<c&&!(u[n].percent>e);n++);n=g(n-1,c-2)}o=u[n+1],r=u[n]}if(r&&o){this._lastFr=n,this._lastFrP=e;var y=o.percent-r.percent,x=0===y?1:g((e-r.percent)/y,1);o.easingFunc&&(x=o.easingFunc(x));var w=a?this._additiveValue:f?b:t[h];if((_(l)||f)&&!w&&(w=this._additiveValue=[]),this.discrete)t[h]=x<1?r.rawValue:o.rawValue;else if(_(l))1===l?d(w,r[s],o[s],x):function(t,e,n,r){for(var i=e.length,o=i&&e[0].length,a=0;a<i;a++){t[a]||(t[a]=[]);for(var s,l=0;l<o;l++)t[a][l]=(s=e[a][l],(n[a][l]-s)*r+s)}}(w,r[s],o[s],x);else if(m(l)){var S,A,M,k,T,C=r[s],O=o[s],I=4===l;(t[h]={type:I?"linear":"radial",x:(S=C.x,(O.x-S)*x+S),y:(A=C.y,(O.y-A)*x+A),colorStops:(0,i.map)(C.colorStops,function(t,e){var n,r=O.colorStops[e];return{offset:(n=t.offset,(r.offset-n)*x+n),color:v(d([],t.color,r.color,x))}}),global:O.global},I)?(t[h].x2=(M=C.x2,(O.x2-M)*x+M),t[h].y2=(k=C.y2,(O.y2-k)*x+k)):t[h].r=(T=C.r,(O.r-T)*x+T)}else if(f)d(w,r[s],o[s],x),a||(t[h]=v(w));else{var E,D=(E=r[s],(o[s]-E)*x+E);a?this._additiveValue=D:t[h]=D}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,r=this._additiveValue;0===e?t[n]=t[n]+r:3===e?(u.parse(t[n],b),p(b,b,r,1),t[n]=v(b)):1===e?p(t[n],t[n],r,1):2===e&&g(t[n],t[n],r,1)},t}();let w=function(){function t(t,e,n,r){(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r)?(0,i.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,(0,i.keys)(e),n)},t.prototype.whenWithKeys=function(t,e,n,r){for(var i=this._tracks,o=0;o<n.length;o++){var a=n[o],s=i[a];if(!s){s=i[a]=new x(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,3===u.valType&&l&&(l=v(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,y(l),r),this._trackKeys.push(a)}s.addKeyframe(t,y(e[a]),r)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var i=n[r].getTrack(t);i&&(e=i)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],r=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],a=this._tracks[o],s=this._getAdditiveTrack(o),u=a.keyframes,c=u.length;if(a.prepare(r,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var h=u[c-1];h&&(e._target[a.propName]=h.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var f=new l({life:r,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var r=e._additiveAnimators;if(r){for(var i=!1,o=0;o<r.length;o++)if(r[o]._clip){i=!0;break}i||(e._additiveAnimators=null)}for(var o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),t&&f.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,i.map)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,i=0;i<t.length;i++){var o=n[t[i]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,i=0;i<r.length;i++)if(!n[r[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var r=0;r<e.length;r++){var i=e[r],o=this._tracks[i];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[i]=y(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,i.keys)(t);for(var n=0;n<e.length;n++){var r=e[n],o=this._tracks[r];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[r]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},48506:function(t,e,n){"use strict";n.d(e,{A:()=>r});let r=n(55198).A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},31975:function(t,e,n){"use strict";n.d(e,{ZQ:()=>b,V$:()=>O,Xi:()=>C});var r=n(18144),i=n(45750),o=n(73098),a=n(26512),s=n(21196),l=n(35963),u=n(16078),c=n(12417);function h(t){var e,n,r=t.style,i=r.lineDash&&r.lineWidth>0&&(e=r.lineDash,n=r.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:(0,c.isNumber)(e)?[e]:(0,c.isArray)(e)?e:null:null),o=r.lineDashOffset;if(i){var a=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(i=(0,c.map)(i,function(t){return t/a}),o/=a)}return[i,o]}var f=n(61607),d=n(42898),p=new i.A(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function y(t){return"string"==typeof t&&"none"!==t}function v(t){var e=t.fill;return null!=e&&"none"!==e}function m(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function _(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function b(t,e,n){var r=(0,o.OD)(e.image,e.__image,n);if((0,o.xA)(r)){var i=t.createPattern(r,e.repeat||"repeat");if("function"==typeof DOMMatrix&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*c.RADIAN_TO_DEGREE),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}var x=["shadowBlur","shadowOffsetX","shadowOffsetY"],w=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function S(t,e,n,i,o){var a=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){k(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?r.oN.opacity:s}(i||e.blend!==n.blend)&&(a||(k(t,o),a=!0),t.globalCompositeOperation=e.blend||r.oN.blend);for(var l=0;l<x.length;l++){var u=x[l];(i||e[u]!==n[u])&&(a||(k(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(i||e.shadowColor!==n.shadowColor)&&(a||(k(t,o),a=!0),t.shadowColor=e.shadowColor||r.oN.shadowColor),a}function A(t,e,n,r,i){var o=T(e,i.inHover),a=r?null:n&&T(n,i.inHover)||{};if(o===a)return!1;var s=S(t,o,a,r,i);if((r||o.fill!==a.fill)&&(s||(k(t,i),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(r||o.stroke!==a.stroke)&&(s||(k(t,i),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(r||o.opacity!==a.opacity)&&(s||(k(t,i),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(k(t,i),s=!0),t.lineWidth=l)}for(var u=0;u<w.length;u++){var c=w[u],h=c[0];(r||o[h]!==a[h])&&(s||(k(t,i),s=!0),t[h]=o[h]||c[1])}return s}function M(t,e){var n=e.transform,r=t.dpr||1;n?t.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):t.setTransform(r,0,0,r,0,0)}function k(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function T(t,e){return e&&t.__hoverStyle||t.style}function C(t,e){O(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function O(t,e,n,r){var i,c=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~f.M,e.__isRendered=!1;return}var y=e.__clipPaths,x=n.prevElClipPaths,w=!1,C=!1;if(!x||(0,a.KU)(y,x)){if(x&&x.length&&(k(t,n),t.restore(),C=w=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),y&&y.length){k(t,n),t.save();for(var I=!1,E=0;E<y.length;E++){var D=y[E];I=I||D.isZeroArea(),M(t,D),t.beginPath(),D.buildPath(t,D.shape),t.clip()}n.allClipped=I,w=!0}n.prevElClipPaths=y}if(n.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var R=n.prevEl;R||(C=w=!0);var L=e instanceof s.Ay&&e.autoBatch&&(B=v(N=e.style),F=g(N),!(N.lineDash||!(B^F)||B&&"string"!=typeof N.fill||F&&"string"!=typeof N.stroke||N.strokePercent<1||N.strokeOpacity<1||N.fillOpacity<1));!w&&(j=R.transform,c&&j?c[0]===j[0]&&c[1]===j[1]&&c[2]===j[2]&&c[3]===j[3]&&c[4]===j[4]&&c[5]===j[5]:+(!c&&!j))?L||k(t,n):(k(t,n),M(t,e));var P=T(e,n.inHover);if(e instanceof s.Ay)1!==n.lastDrawType&&(C=!0,n.lastDrawType=1),A(t,e,R,C,n),L&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,r){var i,o,s,l=g(n),u=v(n),c=n.strokePercent,d=c<1,y=!e.path;(!e.silent||d)&&y&&e.createPathProxy();var x=e.path||p,w=e.__dirty;if(!r){var S=n.fill,A=n.stroke,M=u&&!!S.colorStops,k=l&&!!A.colorStops,T=u&&!!S.image,C=l&&!!A.image,O=void 0,I=void 0,E=void 0,D=void 0,R=void 0;(M||k)&&(R=e.getBoundingRect()),M&&(O=w?(0,a.Ff)(t,S,R):e.__canvasFillGradient,e.__canvasFillGradient=O),k&&(I=w?(0,a.Ff)(t,A,R):e.__canvasStrokeGradient,e.__canvasStrokeGradient=I),T&&(E=w||!e.__canvasFillPattern?b(t,S,e):e.__canvasFillPattern,e.__canvasFillPattern=E),C&&(D=w||!e.__canvasStrokePattern?b(t,A,e):e.__canvasStrokePattern,e.__canvasStrokePattern=E),M?t.fillStyle=O:T&&(E?t.fillStyle=E:u=!1),k?t.strokeStyle=I:C&&(D?t.strokeStyle=D:l=!1)}var L=e.getGlobalScale();x.setScale(L[0],L[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(o=(i=h(e))[0],s=i[1]);var P=!0;(y||w&f.Dl)&&(x.setDPR(t.dpr),d?x.setContext(null):(x.setContext(t),P=!1),x.reset(),e.buildPath(x,e.shape,r),x.toStatic(),e.pathUpdated()),P&&x.rebuildPath(t,d?c:1),o&&(t.setLineDash(o),t.lineDashOffset=s),!r&&(n.strokeFirst?(l&&_(t,n),u&&m(t,n)):(u&&m(t,n),l&&_(t,n))),o&&t.setLineDash([])}(t,e,P,L),L&&(n.batchFill=P.fill||"",n.batchStroke=P.stroke||"");else if(e instanceof u.A){3!==n.lastDrawType&&(C=!0,n.lastDrawType=3),A(t,e,R,C,n);var N,B,F,j,z,H=P.text;if(null!=H&&(H+=""),H){t.font=P.font||d.OH,t.textAlign=P.textAlign,t.textBaseline=P.textBaseline;var V=void 0,U=void 0;t.setLineDash&&P.lineDash&&(V=(z=h(e))[0],U=z[1]),V&&(t.setLineDash(V),t.lineDashOffset=U),P.strokeFirst?(g(P)&&t.strokeText(H,P.x,P.y),v(P)&&t.fillText(H,P.x,P.y)):(v(P)&&t.fillText(H,P.x,P.y),g(P)&&t.strokeText(H,P.x,P.y)),V&&t.setLineDash([])}}else e instanceof l.Ay?(2!==n.lastDrawType&&(C=!0,n.lastDrawType=2),i=C,S(t,T(e,n.inHover),R&&T(R,n.inHover),i,n),function(t,e,n){var r=e.__image=(0,o.OD)(n.image,e.__image,e,e.onload);if(r&&(0,o.xA)(r)){var i=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),u=r.width/r.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=r.width,l=r.height),n.sWidth&&n.sHeight){var c=n.sx||0,h=n.sy||0;t.drawImage(r,c,h,n.sWidth,n.sHeight,i,a,s,l)}else if(n.sx&&n.sy){var c=n.sx,h=n.sy,f=s-c,d=l-h;t.drawImage(r,c,h,f,d,i,a,s,l)}else t.drawImage(r,i,a,s,l)}}(t,e,P)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(C=!0,n.lastDrawType=4),function(t,e,n){var r,i,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(r=e.getCursor(),i=o.length;r<i;r++){var l=o[r];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),O(t,l,s,r===i-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=a.length;u<c;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),O(t,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n));L&&r&&k(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}},26512:function(t,e,n){"use strict";function r(t){return isFinite(t)}function i(t,e,n){for(var i,o,a,s,l,u,c,h,f,d,p="radial"===e.type?(a=Math.min(i=n.width,o=n.height),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r,e.global||(s=s*i+n.x,l=l*o+n.y,u*=a),s=r(s)?s:.5,l=r(l)?l:.5,u=u>=0&&r(u)?u:.5,t.createRadialGradient(s,l,0,s,l,u)):(c=null==e.x?0:e.x,h=null==e.x2?1:e.x2,f=null==e.y?0:e.y,d=null==e.y2?0:e.y2,e.global||(c=c*n.width+n.x,h=h*n.width+n.x,f=f*n.height+n.y,d=d*n.height+n.y),c=r(c)?c:0,h=r(h)?h:1,f=r(f)?f:0,d=r(d)?d:0,t.createLinearGradient(c,f,h,d)),g=e.colorStops,y=0;y<g.length;y++)p.addColorStop(g[y].offset,g[y].color);return p}function o(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function a(t){return parseInt(t,10)}function s(t,e,n){var r=["width","height"][e],i=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=n[r]&&"auto"!==n[r])return parseFloat(n[r]);var l=document.defaultView.getComputedStyle(t);return(t[i]||a(l[r])||a(t.style[r]))-(a(l[o])||0)-(a(l[s])||0)|0}n.d(e,{Ff:()=>i,KU:()=>o,YC:()=>s})},46391:function(t,e,n){"use strict";n.d(e,{Y5:()=>o,_S:()=>s,el:()=>l,ps:()=>a,tY:()=>u});var r=n(55198),i=1;r.A.hasGlobalWindow&&(i=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=i,a=.4,s="#333",l="#ccc",u="#eee"},3879:function(t,e,n){"use strict";n.d(e,{NO:()=>u,RG:()=>s,X4:()=>p,ks:()=>f,ll:()=>c,lo:()=>d,sZ:()=>h});var r=n(10923),i=n(64100),o=n(42898),a={};function s(t,e){var n=a[e=e||o.OH];n||(n=a[e]=new i.Ay(500));var r=n.get(t);return null==r&&(r=o.yh.measureText(t,e).width,n.put(t,r)),r}function l(t,e,n,i){var o=s(t,e),a=f(e),l=c(0,o,n),u=h(0,a,i);return new r.A(l,u,o,a)}function u(t,e,n,i){var o=((t||"")+"").split("\n");if(1===o.length)return l(o[0],e,n,i);for(var a=new r.A(0,0,0,0),s=0;s<o.length;s++){var u=l(o[s],e,n,i);0===s?a.copy(u):a.union(u)}return a}function c(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function h(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function f(t){return s("国",t)}function d(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function p(t,e,n){var r=e.position||"inside",i=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",h="top";if(r instanceof Array)l+=d(r[0],n.width),u+=d(r[1],n.height),c=null,h=null;else switch(r){case"left":l-=i,u+=s,c="right",h="middle";break;case"right":l+=i+a,u+=s,h="middle";break;case"top":l+=a/2,u-=i,c="center",h="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=i,u+=s,h="middle";break;case"insideRight":l+=a-i,u+=s,c="right",h="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",h="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,h="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",h="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=h,t}},83104:function(t,e,n){"use strict";n.d(e,{n:()=>i});var r=2*Math.PI;function i(t){return(t%=r)<0&&(t+=r),t}},14230:function(t,e,n){"use strict";function r(t,e,n,r,i,o){if(o>e&&o>r||o<e&&o<r||r===e)return 0;var a=(o-e)/(r-e),s=r<e?1:-1;(1===a||0===a)&&(s=r<e?.5:-.5);var l=a*(n-t)+t;return l===i?1/0:l>i?s:0}n.d(e,{A:()=>r})},10923:function(t,e,n){"use strict";n.d(e,{A:()=>d});var r=n(85124),i=n(52211),o=Math.min,a=Math.max,s=new i.A,l=new i.A,u=new i.A,c=new i.A,h=new i.A,f=new i.A;let d=function(){function t(t,e,n,r){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r),this.x=t,this.y=e,this.width=n,this.height=r}return t.prototype.union=function(t){var e=o(t.x,this.x),n=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=t.width/this.width,n=t.height/this.height,i=r.create();return r.translate(i,i,[-this.x,-this.y]),r.scale(i,i,[e,n]),r.translate(i,i,[t.x,t.y]),i},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var r=this.x,o=this.x+this.width,a=this.y,s=this.y+this.height,l=e.x,u=e.x+e.width,c=e.y,d=e.y+e.height,p=!(o<l||u<r||s<c||d<a);if(n){var g=1/0,y=0,v=Math.abs(o-l),m=Math.abs(u-r),_=Math.abs(s-c),b=Math.abs(d-a),x=Math.min(v,m),w=Math.min(_,b);o<l||u<r?x>y&&(y=x,v<m?i.A.set(f,-v,0):i.A.set(f,m,0)):x<g&&(g=x,v<m?i.A.set(h,v,0):i.A.set(h,-m,0)),s<c||d<a?w>y&&(y=w,_<b?i.A.set(f,0,-_):i.A.set(f,0,b)):x<g&&(g=x,_<b?i.A.set(h,0,_):i.A.set(h,0,-b))}return n&&i.A.copy(n,p?h:f),p},t.prototype.contain=function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,r){if(!r){e!==n&&t.copy(e,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],h=r[3],f=r[4],d=r[5];e.x=n.x*i+f,e.y=n.y*h+d,e.width=n.width*i,e.height=n.height*h,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}s.x=u.x=n.x,s.y=c.y=n.y,l.x=c.x=n.x+n.width,l.y=u.y=n.y+n.height,s.transform(r),c.transform(r),l.transform(r),u.transform(r),e.x=o(s.x,l.x,u.x,c.x),e.y=o(s.y,l.y,u.y,c.y);var p=a(s.x,l.x,u.x,c.x),g=a(s.y,l.y,u.y,c.y);e.width=p-e.x,e.height=g-e.y},t}()},81970:function(t,e,n){"use strict";n.d(e,{A:()=>r});let r=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof e&&(r=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),i[t]||(i[t]=[]);for(var a=0;a<i[t].length;a++)if(i[t][a].h===n)return this;var s={h:n,query:e,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},l=i[t].length-1,u=i[t][l];return u&&u.callAtLast?i[t].splice(l,0,s):i[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var r=[],i=0,o=n[t].length;i<o;i++)n[t][i].h!==e&&r.push(n[t][i]);n[t]=r}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var o=e.length,a=r.length,s=0;s<a;s++){var l=r[s];if(!i||!i.filter||null==l.query||i.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var o=e.length,a=e[o-1],s=r.length,l=0;l<s;l++){var u=r[l];if(!i||!i.filter||null==u.query||i.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t}()},64100:function(t,e,n){"use strict";n.d(e,{Ay:()=>o});var r=function(t){this.value=t},i=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new r(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();let o=function(){function t(t){this._list=new i,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,o=null;if(null==i[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,n.insertEntry(s),i[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},56271:function(t,e,n){"use strict";n.d(e,{A:()=>l});var r=n(52211),i=[0,0],o=[0,0],a=new r.A,s=new r.A;let l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new r.A;for(var n=0;n<2;n++)this._axes[n]=new r.A;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var u=0;u<4;u++)n[u].transform(e);r.A.sub(i[0],n[1],n[0]),r.A.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(var u=0;u<2;u++)this._origin[u]=i[u].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return(a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,a,s,i,-1)&&(n=!1,i))?n:(i||r.A.copy(e,n?a:s),n)},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,l){for(var u=!0,c=0;c<2;c++){var h=this._axes[c];if(this._getProjMinMaxOnAxis(c,t._corners,i),this._getProjMinMaxOnAxis(c,e._corners,o),i[1]<o[0]||i[0]>o[1]){if(u=!1,s)return u;var f=Math.abs(o[0]-i[1]),d=Math.abs(i[0]-o[1]);Math.min(f,d)>a.len()&&(f<d?r.A.scale(a,h,-f*l):r.A.scale(a,h,d*l))}else if(n){var f=Math.abs(o[0]-i[1]),d=Math.abs(i[0]-o[1]);Math.min(f,d)<n.len()&&(f<d?r.A.scale(n,h,f*l):r.A.scale(n,h,-d*l))}}return u},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var r=this._axes[t],i=this._origin,o=e[0].dot(r)+i[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(r)+i[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}()},45750:function(t,e,n){"use strict";n.d(e,{A:()=>P});var r=n(80410),i=n(10923),o=n(46391),a=n(96046),s=Math.min,l=Math.max,u=Math.sin,c=Math.cos,h=2*Math.PI,f=r.create(),d=r.create(),p=r.create();function g(t,e,n,r,i,o){i[0]=s(t,n),i[1]=s(e,r),o[0]=l(t,n),o[1]=l(e,r)}var y=[],v=[],m={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},_=[],b=[],x=[],w=[],S=[],A=[],M=Math.min,k=Math.max,T=Math.cos,C=Math.sin,O=Math.abs,I=Math.PI,E=2*I,D="undefined"!=typeof Float32Array,R=[];function L(t){return Math.round(t/I*1e8)/1e8%2*I}let P=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=O(n/o.Y5/t)||0,this._uy=O(n/o.Y5/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(m.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var n=O(t-this._xi),r=O(e-this._yi),i=n>this._ux||r>this._uy;if(this.addData(m.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,e,n,r,i,o){return this._drawPendingPt(),this.addData(m.C,t,e,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,r,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,e,n,r){return this._drawPendingPt(),this.addData(m.Q,t,e,n,r),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(t,e,n,r,i,o){this._drawPendingPt(),R[0]=r,R[1]=i,(a=L(R[0]))<0&&(a+=E),s=a-R[0],l=R[1]+s,!o&&l-a>=E?l=a+E:o&&a-l>=E?l=a-E:!o&&a>l?l=a+(E-L(a-l)):o&&a<l&&(l=a-(E-L(l-a))),R[0]=a,R[1]=l,r=R[0];var a,s,l,u=(i=R[1])-r;return this.addData(m.A,t,e,n,n,r,u,0,+!o),this._ctx&&this._ctx.arc(t,e,n,r,i,o),this._xi=T(i)*n+t,this._yi=C(i)*n+e,this},e.prototype.arcTo=function(t,e,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},e.prototype.rect=function(t,e,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,r),this.addData(m.R,t,e,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(m.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&D&&(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,r=this._len,i=0;i<e;i++)n+=t[i].len();D&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(var i=0;i<e;i++)for(var o=t[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},e.prototype.addData=function(t,e,n,r,i,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,D&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){x[0]=x[1]=S[0]=S[1]=Number.MAX_VALUE,w[0]=w[1]=A[0]=A[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,_=0,b=0;for(t=0;t<this._len;){var M=e[t++],k=1===t;switch(k&&(n=e[t],o=e[t+1],_=n,b=o),M){case m.M:n=_=e[t++],o=b=e[t++],S[0]=_,S[1]=b,A[0]=_,A[1]=b;break;case m.L:g(n,o,e[t],e[t+1],S,A),n=e[t++],o=e[t++];break;case m.C:!function(t,e,n,r,i,o,u,c,h,f){var d=a.lX,p=a.Yb,g=d(t,n,i,u,y);h[0]=1/0,h[1]=1/0,f[0]=-1/0,f[1]=-1/0;for(var m=0;m<g;m++){var _=p(t,n,i,u,y[m]);h[0]=s(_,h[0]),f[0]=l(_,f[0])}g=d(e,r,o,c,v);for(var m=0;m<g;m++){var b=p(e,r,o,c,v[m]);h[1]=s(b,h[1]),f[1]=l(b,f[1])}h[0]=s(t,h[0]),f[0]=l(t,f[0]),h[0]=s(u,h[0]),f[0]=l(u,f[0]),h[1]=s(e,h[1]),f[1]=l(e,f[1]),h[1]=s(c,h[1]),f[1]=l(c,f[1])}(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],S,A),n=e[t++],o=e[t++];break;case m.Q:!function(t,e,n,r,i,o,u,c){var h=a.gC,f=a.k3,d=l(s(h(t,n,i),1),0),p=l(s(h(e,r,o),1),0),g=f(t,n,i,d),y=f(e,r,o,p);u[0]=s(t,i,g),u[1]=s(e,o,y),c[0]=l(t,i,g),c[1]=l(e,o,y)}(n,o,e[t++],e[t++],e[t],e[t+1],S,A),n=e[t++],o=e[t++];break;case m.A:var O=e[t++],I=e[t++],E=e[t++],D=e[t++],R=e[t++],L=e[t++]+R;t+=1;var P=!e[t++];k&&(_=T(R)*E+O,b=C(R)*D+I),function(t,e,n,i,o,a,s,l,g){var y=r.min,v=r.max,m=Math.abs(o-a);if(m%h<1e-4&&m>1e-4){l[0]=t-n,l[1]=e-i,g[0]=t+n,g[1]=e+i;return}if(f[0]=c(o)*n+t,f[1]=u(o)*i+e,d[0]=c(a)*n+t,d[1]=u(a)*i+e,y(l,f,d),v(g,f,d),(o%=h)<0&&(o+=h),(a%=h)<0&&(a+=h),o>a&&!s?a+=h:o<a&&s&&(o+=h),s){var _=a;a=o,o=_}for(var b=0;b<a;b+=Math.PI/2)b>o&&(p[0]=c(b)*n+t,p[1]=u(b)*i+e,y(l,p,l),v(g,p,g))}(O,I,E,D,R,L,P,S,A),n=T(L)*E+O,o=C(L)*D+I;break;case m.R:g(_=n=e[t++],b=o=e[t++],_+e[t++],b+e[t++],S,A);break;case m.Z:n=_,o=b}r.min(x,x,S),r.max(w,w,A)}return 0===t&&(x[0]=x[1]=w[0]=w[1]=0),new i.A(x[0],x[1],w[0]-x[0],w[1]-x[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,r=this._uy,i=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,c=0,h=0,f=0;f<e;){var d=t[f++],p=1===f;p&&(i=t[f],o=t[f+1],s=i,l=o);var g=-1;switch(d){case m.M:i=s=t[f++],o=l=t[f++];break;case m.L:var y=t[f++],v=t[f++],_=y-i,b=v-o;(O(_)>n||O(b)>r||f===e-1)&&(g=Math.sqrt(_*_+b*b),i=y,o=v);break;case m.C:var x=t[f++],w=t[f++],y=t[f++],v=t[f++],S=t[f++],A=t[f++];g=(0,a.h0)(i,o,x,w,y,v,S,A,10),i=S,o=A;break;case m.Q:var x=t[f++],w=t[f++],y=t[f++],v=t[f++];g=(0,a.d8)(i,o,x,w,y,v,10),i=y,o=v;break;case m.A:var I=t[f++],D=t[f++],R=t[f++],L=t[f++],P=t[f++],N=t[f++],B=N+P;f+=1,p&&(s=T(P)*R+I,l=C(P)*L+D),g=k(R,L)*M(E,Math.abs(N)),i=T(B)*R+I,o=C(B)*L+D;break;case m.R:s=i=t[f++],l=o=t[f++],g=2*t[f++]+2*t[f++];break;case m.Z:var _=s-i,b=l-o;g=Math.sqrt(_*_+b*b),i=s,o=l}g>=0&&(u[h++]=g,c+=g)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,e){var n,r,i,o,s,l,u,c,h,f,d=this.data,p=this._ux,g=this._uy,y=this._len,v=e<1,x=0,w=0,S=0;if(!v||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,c=e*this._pathLen))r:for(var A=0;A<y;){var I=d[A++],E=1===A;switch(E&&(i=d[A],o=d[A+1],n=i,r=o),I!==m.L&&S>0&&(t.lineTo(h,f),S=0),I){case m.M:n=i=d[A++],r=o=d[A++],t.moveTo(i,o);break;case m.L:s=d[A++],l=d[A++];var D=O(s-i),R=O(l-o);if(D>p||R>g){if(v){var L=u[w++];if(x+L>c){var P=(c-x)/L;t.lineTo(i*(1-P)+s*P,o*(1-P)+l*P);break r}x+=L}t.lineTo(s,l),i=s,o=l,S=0}else{var N=D*D+R*R;N>S&&(h=s,f=l,S=N)}break;case m.C:var B=d[A++],F=d[A++],j=d[A++],z=d[A++],H=d[A++],V=d[A++];if(v){var L=u[w++];if(x+L>c){var P=(c-x)/L;(0,a.YT)(i,B,j,H,P,_),(0,a.YT)(o,F,z,V,P,b),t.bezierCurveTo(_[1],b[1],_[2],b[2],_[3],b[3]);break r}x+=L}t.bezierCurveTo(B,F,j,z,H,V),i=H,o=V;break;case m.Q:var B=d[A++],F=d[A++],j=d[A++],z=d[A++];if(v){var L=u[w++];if(x+L>c){var P=(c-x)/L;(0,a.kx)(i,B,j,P,_),(0,a.kx)(o,F,z,P,b),t.quadraticCurveTo(_[1],b[1],_[2],b[2]);break r}x+=L}t.quadraticCurveTo(B,F,j,z),i=j,o=z;break;case m.A:var U=d[A++],W=d[A++],q=d[A++],G=d[A++],Z=d[A++],Y=d[A++],$=d[A++],X=!d[A++],K=q>G?q:G,J=O(q-G)>.001,Q=Z+Y,tt=!1;if(v){var L=u[w++];x+L>c&&(Q=Z+Y*(c-x)/L,tt=!0),x+=L}if(J&&t.ellipse?t.ellipse(U,W,q,G,$,Z,Q,X):t.arc(U,W,K,Z,Q,X),tt)break r;E&&(n=T(Z)*q+U,r=C(Z)*G+W),i=T(Q)*q+U,o=C(Q)*G+W;break;case m.R:n=i=d[A],r=o=d[A+1],s=d[A++],l=d[A++];var te=d[A++],tn=d[A++];if(v){var L=u[w++];if(x+L>c){var tr=c-x;t.moveTo(s,l),t.lineTo(s+M(tr,te),l),(tr-=te)>0&&t.lineTo(s+te,l+M(tr,tn)),(tr-=tn)>0&&t.lineTo(s+k(te-tr,0),l+tn),(tr-=te)>0&&t.lineTo(s,l+k(tn-tr,0));break r}x+=L}t.rect(s,l,te,tn);break;case m.Z:if(v){var L=u[w++];if(x+L>c){var P=(c-x)/L;t.lineTo(i*(1-P)+n*P,o*(1-P)+r*P);break r}x+=L}t.closePath(),i=n,o=r}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=m,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},52211:function(t,e,n){"use strict";n.d(e,{A:()=>r});let r=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,r){t.x=e.x+n.x*r,t.y=e.y+n.y*r},t.lerp=function(t,e,n,r){var i=1-r;t.x=i*e.x+r*n.x,t.y=i*e.y+r*n.y},t}()},92161:function(t,e,n){"use strict";n.d(e,{Ay:()=>d,Wx:()=>f});var r=n(85124),i=n(80410),o=r.identity;function a(t){return t>5e-5||t<-5e-5}var s=[],l=[],u=r.create(),c=Math.abs,h=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(o(n),this.invTransform=null);return}n=n||r.create(),e?this.getLocalTransform(n):o(n),t&&(e?r.mul(n,t,n):r.copy(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(s);var n=s[0]<0?-1:1,i=s[1]<0?-1:1,o=((s[0]-n)*e+n)/s[0]||0,a=((s[1]-i)*e+i)/s[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],r=Math.atan2(t[1],t[0]),i=Math.PI/2+r-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||r.create(),r.mul(l,t.invTransform,e),e=l);var n=this.originX,i=this.originY;(n||i)&&(u[4]=n,u[5]=i,r.mul(l,e,u),l[4]-=n,l[5]-=i,e=l),this.setLocalTransform(e)}},e.prototype.getGlobalScale=function(t){var e=this.transform;return(t=t||[],e)?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1])):(t[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var n=[t,e],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},e.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&i.applyTransform(n,n,r),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){for(var e=this,n=t,r=0;r<f.length;r++){var i=f[r];e[i]=n[i]}},e.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,h=t.y,f=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||l){var p=n+s,g=i+l;e[4]=-p*o-f*g*a,e[5]=-g*a-d*p*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=d*o,e[2]=f*a,u&&r.rotate(e,e,u),e[4]+=n+c,e[5]+=i+h,e},e.initDefaultProps=void((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0),e}(),f=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];let d=h},96046:function(t,e,n){"use strict";n.d(e,{Et:()=>m,YT:()=>v,Yb:()=>d,_E:()=>g,d8:()=>k,gC:()=>S,h0:()=>_,k3:()=>b,kh:()=>M,kx:()=>A,lX:()=>y,qY:()=>w,rD:()=>p,z7:()=>x});var r=n(80410),i=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,r.create)(),u=(0,r.create)(),c=(0,r.create)();function h(t){return t>-1e-8&&t<1e-8}function f(t){return t>1e-8||t<-1e-8}function d(t,e,n,r,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*r+3*o*n)}function p(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)}function g(t,e,n,r,l,u){var c=r+3*(e-n)-t,f=3*(n-2*e+t),d=3*(e-t),p=t-l,g=f*f-3*c*d,y=f*d-9*c*p,v=d*d-3*f*p,m=0;if(h(g)&&h(y))if(h(f))u[0]=0;else{var _=-d/f;_>=0&&_<=1&&(u[m++]=_)}else{var b=y*y-4*g*v;if(h(b)){var x=y/g,_=-f/c+x,w=-x/2;_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w)}else if(b>0){var S=o(b),A=g*f+1.5*c*(-y+S),M=g*f+1.5*c*(-y-S),_=(-f-((A=A<0?-i(-A,s):i(A,s))+(M=M<0?-i(-M,s):i(M,s))))/(3*c);_>=0&&_<=1&&(u[m++]=_)}else{var k=Math.acos((2*g*f-3*c*y)/(2*o(g*g*g)))/3,T=o(g),C=Math.cos(k),_=(-f-2*T*C)/(3*c),w=(-f+T*(C+a*Math.sin(k)))/(3*c),O=(-f+T*(C-a*Math.sin(k)))/(3*c);_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w),O>=0&&O<=1&&(u[m++]=O)}}return m}function y(t,e,n,r,i){var a=6*n-12*e+6*t,s=9*e+3*r-3*t-9*n,l=3*e-3*t,u=0;if(h(s)){if(f(a)){var c=-l/a;c>=0&&c<=1&&(i[u++]=c)}}else{var d=a*a-4*s*l;if(h(d))i[0]=-a/(2*s);else if(d>0){var p=o(d),c=(-a+p)/(2*s),g=(-a-p)/(2*s);c>=0&&c<=1&&(i[u++]=c),g>=0&&g<=1&&(i[u++]=g)}}return u}function v(t,e,n,r,i,o){var a=(e-t)*i+t,s=(n-e)*i+e,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,h=(c-u)*i+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=r}function m(t,e,n,i,a,s,h,f,p,g,y){var v,m,_,b,x,w=.005,S=1/0;l[0]=p,l[1]=g;for(var A=0;A<1;A+=.05)u[0]=d(t,n,a,h,A),u[1]=d(e,i,s,f,A),(b=(0,r.distSquare)(l,u))<S&&(v=A,S=b);S=1/0;for(var M=0;M<32&&!(w<1e-4);M++)m=v-w,_=v+w,u[0]=d(t,n,a,h,m),u[1]=d(e,i,s,f,m),b=(0,r.distSquare)(u,l),m>=0&&b<S?(v=m,S=b):(c[0]=d(t,n,a,h,_),c[1]=d(e,i,s,f,_),x=(0,r.distSquare)(c,l),_<=1&&x<S?(v=_,S=x):w*=.5);return y&&(y[0]=d(t,n,a,h,v),y[1]=d(e,i,s,f,v)),o(S)}function _(t,e,n,r,i,o,a,s,l){for(var u=t,c=e,h=0,f=1/l,p=1;p<=l;p++){var g=p*f,y=d(t,n,i,a,g),v=d(e,r,o,s,g),m=y-u,_=v-c;h+=Math.sqrt(m*m+_*_),u=y,c=v}return h}function b(t,e,n,r){var i=1-r;return i*(i*t+2*r*e)+r*r*n}function x(t,e,n,r){return 2*((1-r)*(e-t)+r*(n-e))}function w(t,e,n,r,i){var a=t-2*e+n,s=2*(e-t),l=t-r,u=0;if(h(a)){if(f(s)){var c=-l/s;c>=0&&c<=1&&(i[u++]=c)}}else{var d=s*s-4*a*l;if(h(d)){var c=-s/(2*a);c>=0&&c<=1&&(i[u++]=c)}else if(d>0){var p=o(d),c=(-s+p)/(2*a),g=(-s-p)/(2*a);c>=0&&c<=1&&(i[u++]=c),g>=0&&g<=1&&(i[u++]=g)}}return u}function S(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r}function A(t,e,n,r,i){var o=(e-t)*r+t,a=(n-e)*r+e,s=(a-o)*r+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function M(t,e,n,i,a,s,h,f,d){var p,g=.005,y=1/0;l[0]=h,l[1]=f;for(var v=0;v<1;v+=.05){u[0]=b(t,n,a,v),u[1]=b(e,i,s,v);var m=(0,r.distSquare)(l,u);m<y&&(p=v,y=m)}y=1/0;for(var _=0;_<32&&!(g<1e-4);_++){var x=p-g,w=p+g;u[0]=b(t,n,a,x),u[1]=b(e,i,s,x);var m=(0,r.distSquare)(u,l);if(x>=0&&m<y)p=x,y=m;else{c[0]=b(t,n,a,w),c[1]=b(e,i,s,w);var S=(0,r.distSquare)(c,l);w<=1&&S<y?(p=w,y=S):g*=.5}}return d&&(d[0]=b(t,n,a,p),d[1]=b(e,i,s,p)),o(y)}function k(t,e,n,r,i,o,a){for(var s=t,l=e,u=0,c=1/a,h=1;h<=a;h++){var f=h*c,d=b(t,n,i,f),p=b(e,r,o,f),g=d-s,y=p-l;u+=Math.sqrt(g*g+y*y),s=d,l=p}return u}},82557:function(t,e,n){"use strict";n.d(e,{lJ:()=>u,Me:()=>p,ot:()=>h,oq:()=>c});var r=n(55198),i=Math.log(2);function o(t,e,n,r,a,s){var l=r+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var c=Math.round(Math.log((1<<u)-1&~a)/i);return t[n][c]}for(var h=r|1<<n,f=n+1;r&1<<f;)f++;for(var d=0,p=0,g=0;p<u;p++){var y=1<<p;!(y&a)&&(d+=(g%2?-1:1)*t[n][p]*o(t,e-1,f,h,a|y,s),g++)}return s[l]=d,d}function a(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],r={},i=o(n,8,0,0,0,r);if(0!==i){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(n,7,+(0===s),1<<s,1<<l,r)/i*e[s];return function(t,e,n){var r=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/r,t[1]=(e*a[3]+n*a[4]+a[5])/r}}}var s="___zrEVENTSAVED",l=[];function u(t,e,n,r,i){return c(l,e,r,i,!0)&&c(t,n,l[0],l[1])}function c(t,e,n,i,o){if(e.getBoundingClientRect&&r.A.domSupported&&!h(e)){var l=e[s]||(e[s]={}),u=function(t,e,n){for(var r=n?"invTrans":"trans",i=e[r],o=e.srcCoords,s=[],l=[],u=!0,c=0;c<4;c++){var h=t[c].getBoundingClientRect(),f=2*c,d=h.left,p=h.top;s.push(d,p),u=u&&o&&d===o[f]&&p===o[f+1],l.push(t[c].offsetLeft,t[c].offsetTop)}return u&&i?i:(e.srcCoords=s,e[r]=n?a(l,s):a(s,l))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[u]+":0",r[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,l),l,o);if(u)return u(t,n,i),!0}return!1}function h(t){return"CANVAS"===t.nodeName.toUpperCase()}var f=/([&<>"'])/g,d={"&":"&","<":"<",">":">",'"':""","'":"'"};function p(t){return null==t?"":(t+"").replace(f,function(t,e){return d[e]})}},55198:function(t,e,n){"use strict";n.d(e,{A:()=>d});var r,i,o,a,s,l,u,c,h=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},f=new function(){this.browser=new h,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(f.wxa=!0,f.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?f.worker=!0:!f.hasGlobalWindow||"Deno"in window?(f.node=!0,f.svgSupported=!0):(r=navigator.userAgent,o=(i=f).browser,a=r.match(/Firefox\/([\d.]+)/),s=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),l=r.match(/Edge?\/([\d.]+)/),u=/micromessenger/i.test(r),a&&(o.firefox=!0,o.version=a[1]),s&&(o.ie=!0,o.version=s[1]),l&&(o.edge=!0,o.version=l[1],o.newEdge=+l[1].split(".")[0]>18),u&&(o.weChat=!0),i.svgSupported="undefined"!=typeof SVGRect,i.touchEventsSupported="ontouchstart"in window&&!o.ie&&!o.edge,i.pointerEventsSupported="onpointerdown"in window&&(o.edge||o.ie&&+o.version>=11),i.domSupported="undefined"!=typeof document,c=document.documentElement.style,i.transform3dSupported=(o.ie&&"transition"in c||o.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in c)&&!("OTransition"in c),i.transformSupported=i.transform3dSupported||o.ie&&+o.version>=9);let d=f},67137:function(t,e,n){"use strict";n.d(e,{W5:()=>g,Yo:()=>l,ds:()=>p,e0:()=>h,f:()=>d,mK:()=>c,q2:()=>f});var r=n(55198),i=n(82557),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=r.A.browser.firefox&&39>+r.A.browser.version.split(".")[0];function l(t,e,n,r){return n=n||{},r?u(t,e,n):s&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):u(t,e,n),n}function u(t,e,n){if(r.A.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,i.ot)(t)){var l=t.getBoundingClientRect();n.zrX=o-l.left,n.zrY=s-l.top;return}if((0,i.oq)(a,t,o,s)){n.zrX=a[0],n.zrY=a[1];return}}n.zrX=n.zrY=0}function c(t){return t||window.event}function h(t,e,n){if(null!=(e=c(e)).zrX)return e;var r=e.type;if(r&&r.indexOf("touch")>=0){var i="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];i&&l(t,i,e,n)}else{l(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,r=t.deltaY;return null==n||null==r?e:3*(0!==r?Math.abs(r):Math.abs(n))*(r>0?-1:r<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function f(t,e,n,r){t.addEventListener(e,n,r)}function d(t,e,n,r){t.removeEventListener(e,n,r)}var p=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function g(t){return 2===t.which||3===t.which}},85124:function(t,e,n){"use strict";function r(){return[1,0,0,1,0,0]}function i(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,n){var r=e[0]*n[0]+e[2]*n[1],i=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function s(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function l(t,e,n,r){void 0===r&&(r=[0,0]);var i=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(n),h=Math.cos(n);return t[0]=i*h+s*c,t[1]=-i*c+s*h,t[2]=o*h+l*c,t[3]=-o*c+h*l,t[4]=h*(a-r[0])+c*(u-r[1])+r[0],t[5]=h*(u-r[1])-c*(a-r[0])+r[1],t}function u(t,e,n){var r=n[0],i=n[1];return t[0]=e[0]*r,t[1]=e[1]*i,t[2]=e[2]*r,t[3]=e[3]*i,t[4]=e[4]*r,t[5]=e[5]*i,t}function c(t,e){var n=e[0],r=e[2],i=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*r;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-r*l,t[3]=n*l,t[4]=(r*s-a*i)*l,t[5]=(o*i-n*s)*l,t):null}function h(t){var e=r();return o(e,t),e}n.r(e),n.d(e,{clone:()=>h,copy:()=>o,create:()=>r,identity:()=>i,invert:()=>c,mul:()=>a,rotate:()=>l,scale:()=>u,translate:()=>s})},42898:function(t,e,n){"use strict";n.d(e,{Gs:()=>u,OH:()=>a,gI:()=>o,yh:()=>l});var r,i,o=12,a="12px sans-serif",s=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var r=String.fromCharCode(n+32),i=(t.charCodeAt(n)-20)/100;e[r]=i}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),l={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!r){var n=l.createCanvas();r=n&&n.getContext("2d")}if(r)return i!==e&&(i=r.font=e||a),r.measureText(t);t=t||"",e=e||a;var u=/((?:\d+)?\.?\d*)px/.exec(e),c=u&&+u[1]||o,h=0;if(e.indexOf("mono")>=0)h=c*t.length;else for(var f=0;f<t.length;f++){var d=s[t[f]];h+=null==d?c:d*c}return{width:h}},loadImage:function(t,e,n){var r=new Image;return r.onload=e,r.onerror=n,r.src=t,r}};function u(t){for(var e in l)t[e]&&(l[e]=t[e])}},68879:function(t,e,n){"use strict";function r(t,e,n,r){var i=e+1;if(i===n)return 1;if(0>r(t[i++],t[e])){for(;i<n&&0>r(t[i],t[i-1]);)i++;var o=t,a=e,s=i;for(s--;a<s;){var l=o[a];o[a++]=o[s],o[s--]=l}}else for(;i<n&&r(t[i],t[i-1])>=0;)i++;return i-e}function i(t,e,n,r,i){for(r===e&&r++;r<n;r++){for(var o,a=t[r],s=e,l=r;s<l;)0>i(a,t[o=s+l>>>1])?l=o:s=o+1;var u=r-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function o(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])>0){for(s=r-i;l<s&&o(t,e[n+i+l])>0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{for(s=i+1;l<s&&0>=o(t,e[n+i-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function a(t,e,n,r,i,o){var a=0,s=0,l=1;if(0>o(t,e[n+i])){for(s=i+1;l<s&&0>o(t,e[n+i-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}else{for(s=r-i;l<s&&o(t,e[n+i+l])>=0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}for(a++;a<l;){var c=a+(l-a>>>1);0>o(t,e[n+c])?l=c:a=c+1}return l}function s(t,e,n,s){n||(n=0),s||(s=t.length);var l=s-n;if(!(l<2)){var u=0;if(l<32){u=r(t,n,s,e),i(t,n,s,n+u,e);return}var c=function(t,e){var n,r,i=7,s=0,l=[];function u(u){var c=n[u],h=r[u],f=n[u+1],d=r[u+1];r[u]=h+d,u===s-3&&(n[u+1]=n[u+2],r[u+1]=r[u+2]),s--;var p=a(t[f],t,c,h,0,e);c+=p,0==(h-=p)||0!==(d=o(t[c+h-1],t,f,d,d-1,e))&&(h<=d?function(n,r,s,u){var c,h,f,d=0;for(d=0;d<r;d++)l[d]=t[n+d];var p=0,g=s,y=n;if(t[y++]=t[g++],0==--u){for(d=0;d<r;d++)t[y+d]=l[p+d];return}if(1===r){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[p];return}for(var v=i;;){c=0,h=0,f=!1;do if(0>e(t[g],l[p])){if(t[y++]=t[g++],h++,c=0,0==--u){f=!0;break}}else if(t[y++]=l[p++],c++,h=0,1==--r){f=!0;break}while((c|h)<v);if(f)break;do{if(0!==(c=a(t[g],l,p,r,0,e))){for(d=0;d<c;d++)t[y+d]=l[p+d];if(y+=c,p+=c,(r-=c)<=1){f=!0;break}}if(t[y++]=t[g++],0==--u){f=!0;break}if(0!==(h=o(l[p],t,g,u,0,e))){for(d=0;d<h;d++)t[y+d]=t[g+d];if(y+=h,g+=h,0==(u-=h)){f=!0;break}}if(t[y++]=l[p++],1==--r){f=!0;break}v--}while(c>=7||h>=7);if(f)break;v<0&&(v=0),v+=2}if((i=v)<1&&(i=1),1===r){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[p]}else if(0===r)throw Error();else for(d=0;d<r;d++)t[y+d]=l[p+d]}(c,h,f,d):function(n,r,s,u){var c=0;for(c=0;c<u;c++)l[c]=t[s+c];var h=n+r-1,f=u-1,d=s+u-1,p=0,g=0;if(t[d--]=t[h--],0==--r){for(c=0,p=d-(u-1);c<u;c++)t[p+c]=l[c];return}if(1===u){for(d-=r,h-=r,g=d+1,p=h+1,c=r-1;c>=0;c--)t[g+c]=t[p+c];t[d]=l[f];return}for(var y=i;;){var v=0,m=0,_=!1;do if(0>e(l[f],t[h])){if(t[d--]=t[h--],v++,m=0,0==--r){_=!0;break}}else if(t[d--]=l[f--],m++,v=0,1==--u){_=!0;break}while((v|m)<y);if(_)break;do{if(0!=(v=r-a(l[f],t,n,r,r-1,e))){for(d-=v,h-=v,r-=v,g=d+1,p=h+1,c=v-1;c>=0;c--)t[g+c]=t[p+c];if(0===r){_=!0;break}}if(t[d--]=l[f--],1==--u){_=!0;break}if(0!=(m=u-o(t[h],l,0,u,u-1,e))){for(d-=m,f-=m,u-=m,g=d+1,p=f+1,c=0;c<m;c++)t[g+c]=l[p+c];if(u<=1){_=!0;break}}if(t[d--]=t[h--],0==--r){_=!0;break}y--}while(v>=7||m>=7);if(_)break;y<0&&(y=0),y+=2}if((i=y)<1&&(i=1),1===u){for(d-=r,h-=r,g=d+1,p=h+1,c=r-1;c>=0;c--)t[g+c]=t[p+c];t[d]=l[f]}else if(0===u)throw Error();else for(c=0,p=d-(u-1);c<u;c++)t[p+c]=l[c]}(c,h,f,d))}return n=[],r=[],{mergeRuns:function(){for(;s>1;){var t=s-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]<r[t+1]&&t--;else if(r[t]>r[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&r[t-1]<r[t+1]&&t--,u(t)}},pushRun:function(t,e){n[s]=t,r[s]=e,s+=1}}}(t,e),h=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(l);do{if((u=r(t,n,s,e))<h){var f=l;f>h&&(f=h),i(t,n,n+f,n+u,e),u=f}c.pushRun(n,u),c.mergeRuns(),l-=u,n+=u}while(0!==l);c.forceMergeRuns()}}n.d(e,{A:()=>s})},12417:function(t,e,n){"use strict";n.r(e),n.d(e,{HashMap:()=>ts,RADIAN_TO_DEGREE:()=>tp,assert:()=>tt,bind:()=>L,clone:()=>m,concatArray:()=>tu,createCanvas:()=>S,createHashMap:()=>tl,createObject:()=>tc,curry:()=>P,defaults:()=>w,disableUserSelect:()=>th,each:()=>C,eqNaN:()=>Y,extend:()=>x,filter:()=>E,find:()=>D,guid:()=>y,hasOwn:()=>tf,indexOf:()=>A,inherits:()=>M,isArray:()=>N,isArrayLike:()=>T,isBuiltInObject:()=>V,isDom:()=>W,isFunction:()=>B,isGradientObject:()=>q,isImagePatternObject:()=>G,isNumber:()=>z,isObject:()=>H,isPrimitive:()=>ti,isRegExp:()=>Z,isString:()=>F,isStringSafe:()=>j,isTypedArray:()=>U,keys:()=>R,logError:()=>v,map:()=>O,merge:()=>_,mergeAll:()=>b,mixin:()=>k,noop:()=>td,normalizeCssArray:()=>Q,reduce:()=>I,retrieve:()=>$,retrieve2:()=>X,retrieve3:()=>K,setAsPrimitive:()=>tr,slice:()=>J,trim:()=>te});var r=n(42898),i=I(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=I(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,h=s.map,f=(function(){}).constructor,d=f?f.prototype:null,p="__proto__",g=2311;function y(){return g++}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!t[tn]){e=[];for(var r=0,s=t.length;r<s;r++)e[r]=m(t[r])}}else if(o[n]){if(!t[tn]){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var r=0,s=t.length;r<s;r++)e[r]=t[r]}}}else if(!i[n]&&!t[tn]&&!W(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==p&&(e[u]=m(t[u]));return e}function _(t,e,n){if(!H(e)||!H(t))return n?m(e):t;for(var r in e)if(e.hasOwnProperty(r)&&r!==p){var i=t[r],o=e[r];!(H(o)&&H(i))||N(o)||N(i)||W(o)||W(i)||V(o)||V(i)||o[tn]||i[tn]?!n&&r in t||(t[r]=m(e[r])):_(i,o,n)}return t}function b(t,e){for(var n=t[0],r=1,i=t.length;r<i;r++)n=_(n,t[r],e);return n}function x(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==p&&(t[n]=e[n]);return t}function w(t,e,n){for(var r=R(e),i=0,o=r.length;i<o;i++){var a=r[i];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}var S=r.yh.createCanvas;function A(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n}return -1}function M(t,e){var n=t.prototype;function r(){}for(var i in r.prototype=e.prototype,t.prototype=new r,n)n.hasOwnProperty(i)&&(t.prototype[i]=n[i]);t.prototype.constructor=t,t.superClass=e}function k(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),i=0;i<r.length;i++){var o=r[i];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else w(t,e,n)}function T(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function C(t,e,n){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var r=0,i=t.length;r<i;r++)e.call(n,t[r],r,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function O(t,e,n){if(!t)return[];if(!e)return J(t);if(t.map&&t.map===h)return t.map(e,n);for(var r=[],i=0,o=t.length;i<o;i++)r.push(e.call(n,t[i],i,t));return r}function I(t,e,n,r){if(t&&e){for(var i=0,o=t.length;i<o;i++)n=e.call(r,n,t[i],i,t);return n}}function E(t,e,n){if(!t)return[];if(!e)return J(t);if(t.filter&&t.filter===u)return t.filter(e,n);for(var r=[],i=0,o=t.length;i<o;i++)e.call(n,t[i],i,t)&&r.push(t[i]);return r}function D(t,e,n){if(t&&e){for(var r=0,i=t.length;r<i;r++)if(e.call(n,t[r],r,t))return t[r]}}function R(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var L=d&&B(d.bind)?d.call.bind(d.bind):function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return t.apply(e,n.concat(c.call(arguments)))}};function P(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(c.call(arguments)))}}function N(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function B(t){return"function"==typeof t}function F(t){return"string"==typeof t}function j(t){return"[object String]"===a.call(t)}function z(t){return"number"==typeof t}function H(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function V(t){return!!i[a.call(t)]}function U(t){return!!o[a.call(t)]}function W(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function q(t){return null!=t.colorStops}function G(t){return null!=t.image}function Z(t){return"[object RegExp]"===a.call(t)}function Y(t){return t!=t}function $(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t.length;n<r;n++)if(null!=t[n])return t[n]}function X(t,e){return null!=t?t:e}function K(t,e,n){return null!=t?t:null!=e?e:n}function J(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return c.apply(t,e)}function Q(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function tt(t,e){if(!t)throw Error(e)}function te(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var tn="__ec_primitive__";function tr(t){t[tn]=!0}function ti(t){return t[tn]}var to=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return R(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),ta="function"==typeof Map,ts=function(){function t(e){var n=N(e);this.data=ta?new Map:new to;var r=this;function i(t,e){n?r.set(t,e):r.set(e,t)}e instanceof t?e.each(i):e&&C(e,i)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,r){t.call(e,n,r)})},t.prototype.keys=function(){var t=this.data.keys();return ta?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function tl(t){return new ts(t)}function tu(t,e){for(var n=new t.constructor(t.length+e.length),r=0;r<t.length;r++)n[r]=t[r];for(var i=t.length,r=0;r<e.length;r++)n[r+i]=e[r];return n}function tc(t,e){var n;if(Object.create)n=Object.create(t);else{var r=function(){};r.prototype=t,n=new r}return e&&x(n,e),n}function th(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function tf(t,e){return t.hasOwnProperty(e)}function td(){}var tp=180/Math.PI},80410:function(t,e,n){"use strict";function r(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function i(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){return[t[0],t[1]]}function a(t,e,n){return t[0]=e,t[1]=n,t}function s(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function l(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function c(t){return Math.sqrt(f(t))}n.r(e),n.d(e,{add:()=>s,applyTransform:()=>M,clone:()=>o,copy:()=>i,create:()=>r,dist:()=>b,distSquare:()=>w,distance:()=>_,distanceSquare:()=>x,div:()=>g,dot:()=>y,len:()=>c,lenSquare:()=>f,length:()=>h,lengthSquare:()=>d,lerp:()=>A,max:()=>T,min:()=>k,mul:()=>p,negate:()=>S,normalize:()=>m,scale:()=>v,scaleAndAdd:()=>l,set:()=>a,sub:()=>u});var h=c;function f(t){return t[0]*t[0]+t[1]*t[1]}var d=f;function p(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function g(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function y(t,e){return t[0]*e[0]+t[1]*e[1]}function v(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function m(t,e){var n=c(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function _(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var b=_;function x(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var w=x;function S(t,e){return t[0]=-e[0],t[1]=-e[1],t}function A(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t}function M(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}function k(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function T(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},38206:function(t,e,n){"use strict";n.d(e,{A:()=>o});var r=n(367),i=n(21196);let o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,r.C6)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],r=0;r<n.length;r++)n[r].buildPath(t,n[r].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),i.Ay.prototype.getBoundingRect.call(this)},e}(i.Ay)},18144:function(t,e,n){"use strict";n.d(e,{Ay:()=>y,oN:()=>u,sW:()=>c});var r=n(367),i=n(78705),o=n(10923),a=n(12417),s=n(61607),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},c={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var h=["z","z2","invisible"],f=["invisible"],d=function(t){var e;function n(e){return t.call(this,e)||this}return(0,r.C6)(n,t),n.prototype._init=function(e){for(var n=(0,a.keys)(e),r=0;r<n.length;r++){var i=n[r];"style"===i?this.useStyle(e[i]):t.prototype.attrKV.call(this,i,e[i])}this.style||this.useStyle({})},n.prototype.beforeBrush=function(){},n.prototype.afterBrush=function(){},n.prototype.innerBeforeBrush=function(){},n.prototype.innerAfterBrush=function(){},n.prototype.shouldBePainted=function(t,e,n,r){var i,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(i=this,o=t,a=e,p.copy(i.getBoundingRect()),i.transform&&p.applyTransform(i.transform),g.width=o,g.height=a,!p.intersect(g))||s&&!s[0]&&!s[3])return!1;if(n&&this.__clipPaths){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(r&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},n.prototype.contain=function(t,e){return this.rectContain(t,e)},n.prototype.traverse=function(t,e){t.call(e,this)},n.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},n.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),r=this.style,i=r.shadowBlur||0,a=r.shadowOffsetX||0,s=r.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.A(0,0,0,0)),e?o.A.applyTransform(t,n,e):t.copy(n),(i||a||s)&&(t.width+=2*i+Math.abs(a),t.height+=2*i+Math.abs(s),t.x=Math.min(t.x,t.x+a-i),t.y=Math.min(t.y,t.y+s-i));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},n.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.A(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},n.prototype.getPrevPaintRect=function(){return this._prevPaintRect},n.prototype.animateStyle=function(t){return this.animate("style",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},n.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},n.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.extend)(this.style,t),this.dirtyStyle(),this},n.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.pO,this._rect&&(this._rect=null)},n.prototype.dirty=function(){this.dirtyStyle()},n.prototype.styleChanged=function(){return!!(this.__dirty&s.pO)},n.prototype.styleUpdated=function(){this.__dirty&=~s.pO},n.prototype.createStyle=function(t){return(0,a.createObject)(u,t)},n.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},n.prototype.isStyleObject=function(t){return t[l]},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,h)},n.prototype._applyStateObj=function(e,n,r,i,o,s){t.prototype._applyStateObj.call(this,e,n,r,i,o,s);var l,u=!(n&&i);if(n&&n.style?o?i?l=n.style:(l=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),i?this.style:r.style),this._mergeStyle(l,n.style)):u&&(l=r.style),l)if(o){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var d=(0,a.keys)(c),p=0;p<d.length;p++){var g=d[p];g in l&&(l[g]=l[g],this.style[g]=c[g])}for(var y=(0,a.keys)(l),p=0;p<y.length;p++){var g=y[p];this.style[g]=this.style[g]}this._transitionState(e,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l);for(var v=this.__inHover?f:h,p=0;p<v.length;p++){var g=v[p];n&&null!=n[g]?this[g]=n[g]:u&&null!=r[g]&&(this[g]=r[g])}},n.prototype._mergeStates=function(e){for(var n,r=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(r.style=n),r},n.prototype._mergeStyle=function(t,e){return(0,a.extend)(t,e),t},n.prototype.getAnimationStyleProps=function(){return c},n.initDefaultProps=void((e=n.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.M|s.pO),n}(i.A),p=new o.A(0,0,0,0),g=new o.A(0,0,0,0);let y=d},47104:function(t,e,n){"use strict";n.d(e,{A:()=>r});let r=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},96001:function(t,e,n){"use strict";n.d(e,{A:()=>l});var r=n(367),i=n(12417),o=n(78705),a=n(10923),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,r.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,r=n.indexOf(e);r>=0&&(n.splice(r,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=i.indexOf(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,r=n[e];if(t&&t!==this&&t.parent!==this&&t!==r){n[e]=t,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,r=i.indexOf(n,t);return r<0||(n.splice(r,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var r=t[n];e&&r.removeSelfFromZr(e),r.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];t.call(e,i,r)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var r=this._children[n],i=t.call(e,r);r.isGroup&&!i&&r.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.A(0,0,0,0),n=t||this._children,r=[],i=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(r);u?(a.A.applyTransform(e,l,u),(i=i||e.clone()).union(e)):(i=i||l.clone()).union(l)}}return i||e},e}(o.A);s.prototype.type="group";let l=s},35963:function(t,e,n){"use strict";n.d(e,{Ay:()=>c});var r=n(367),i=n(18144),o=n(10923),a=n(12417),s=(0,a.defaults)({x:0,y:0},i.oN),l={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i.sW.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.createStyle=function(t){return(0,a.createObject)(s,t)},e.prototype._getSize=function(t){var e,n=this.style,r=n[t];if(null!=r)return r;var i=(e=n.image)&&"string"!=typeof e&&e.width&&e.height?n.image:this.__image;if(!i)return 0;var o="width"===t?"height":"width",a=n[o];return null==a?i[t]:i[t]/i[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.A(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i.Ay);u.prototype.type="image";let c=u},92418:function(t,e,n){"use strict";n.d(e,{A:()=>s});var r=n(367),i=n(18144),o=n(10923),a=[];let s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,r.C6)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o.A(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(a)),t.union(r)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1])){for(var r=0;r<this._displayables.length;r++)if(this._displayables[r].contain(t,e))return!0}return!1},e}(i.Ay)},79345:function(t,e,n){"use strict";n.d(e,{A:()=>i});var r=n(367);let i=function(t){function e(e,n,r,i,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==r?1:r,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return(0,r.C6)(e,t),e}(n(47104).A)},21196:function(t,e,n){"use strict";n.d(e,{MW:()=>x,Ay:()=>A});var r=n(367),i=n(18144),o=n(45750);function a(t,e,n,r,i,o,a){if(0===i)return!1;var s=0,l=t;if(a>e+i&&a>r+i||a<e-i&&a<r-i||o>t+i&&o>n+i||o<t-i&&o<n-i)return!1;if(t===n)return Math.abs(o-t)<=i/2;s=(e-r)/(t-n);var u=s*o-a+(l=(t*r-n*e)/(t-n));return u*u/(s*s+1)<=i/2*i/2}var s=n(96046),l=n(83104),u=2*Math.PI,c=n(14230),h=o.A.CMD,f=2*Math.PI,d=[-1,-1,-1],p=[-1,-1];function g(t,e,n,r,i){for(var o,g,y=t.data,v=t.len(),m=0,_=0,b=0,x=0,w=0,S=0;S<v;){var A,M,k,T,C,O,I,E,D,R,L,P,N,B,F=y[S++],j=1===S;switch(F===h.M&&S>1&&!n&&(m+=(0,c.A)(_,b,x,w,r,i)),j&&(_=y[S],b=y[S+1],x=_,w=b),F){case h.M:x=y[S++],w=y[S++],_=x,b=w;break;case h.L:if(n){if(a(_,b,y[S],y[S+1],e,r,i))return!0}else m+=(0,c.A)(_,b,y[S],y[S+1],r,i)||0;_=y[S++],b=y[S++];break;case h.C:if(n){if(A=_,M=b,k=y[S++],T=y[S++],C=y[S++],O=y[S++],I=y[S],E=y[S+1],0!==e&&(!(i>M+e)||!(i>T+e)||!(i>O+e)||!(i>E+e))&&(!(i<M-e)||!(i<T-e)||!(i<O-e)||!(i<E-e))&&(!(r>A+e)||!(r>k+e)||!(r>C+e)||!(r>I+e))&&(!(r<A-e)||!(r<k-e)||!(r<C-e)||!(r<I-e))&&s.Et(A,M,k,T,C,O,I,E,r,i,null)<=e/2)return!0}else m+=function(t,e,n,r,i,o,a,l,u,c){if(c>e&&c>r&&c>o&&c>l||c<e&&c<r&&c<o&&c<l)return 0;var h=s._E(e,r,o,l,c,d);if(0===h)return 0;for(var f=0,g=-1,y=void 0,v=void 0,m=0;m<h;m++){var _=d[m],b=0===_||1===_?.5:1;s.Yb(t,n,i,a,_)<u||(g<0&&(g=s.lX(e,r,o,l,p),p[1]<p[0]&&g>1&&function(){var t=p[0];p[0]=p[1],p[1]=t}(),y=s.Yb(e,r,o,l,p[0]),g>1&&(v=s.Yb(e,r,o,l,p[1]))),2===g?_<p[0]?f+=y<e?b:-b:_<p[1]?f+=v<y?b:-b:f+=l<v?b:-b:_<p[0]?f+=y<e?b:-b:f+=l<y?b:-b)}return f}(_,b,y[S++],y[S++],y[S++],y[S++],y[S],y[S+1],r,i)||0;_=y[S++],b=y[S++];break;case h.Q:if(n){if(D=_,R=b,L=y[S++],P=y[S++],N=y[S],B=y[S+1],0!==e&&(!(i>R+e)||!(i>P+e)||!(i>B+e))&&(!(i<R-e)||!(i<P-e)||!(i<B-e))&&(!(r>D+e)||!(r>L+e)||!(r>N+e))&&(!(r<D-e)||!(r<L-e)||!(r<N-e))&&(0,s.kh)(D,R,L,P,N,B,r,i,null)<=e/2)return!0}else m+=function(t,e,n,r,i,o,a,l){if(l>e&&l>r&&l>o||l<e&&l<r&&l<o)return 0;var u=s.qY(e,r,o,l,d);if(0===u)return 0;var c=s.gC(e,r,o);if(c>=0&&c<=1){for(var h=0,f=s.k3(e,r,o,c),p=0;p<u;p++){var g=0===d[p]||1===d[p]?.5:1,y=s.k3(t,n,i,d[p]);y<a||(d[p]<c?h+=f<e?g:-g:h+=o<f?g:-g)}return h}var g=0===d[0]||1===d[0]?.5:1,y=s.k3(t,n,i,d[0]);return y<a?0:o<e?g:-g}(_,b,y[S++],y[S++],y[S],y[S+1],r,i)||0;_=y[S++],b=y[S++];break;case h.A:var z=y[S++],H=y[S++],V=y[S++],U=y[S++],W=y[S++],q=y[S++];S+=1;var G=!!(1-y[S++]);o=Math.cos(W)*V+z,g=Math.sin(W)*U+H,j?(x=o,w=g):m+=(0,c.A)(_,b,o,g,r,i);var Z=(r-z)*U/V+z;if(n){if(function(t,e,n,r,i,o,a,s,c){if(0===a)return!1;var h=Math.sqrt((s-=t)*s+(c-=e)*c);if(h-a>n||h+a<n)return!1;if(Math.abs(r-i)%u<1e-4)return!0;if(o){var f=r;r=(0,l.n)(i),i=(0,l.n)(f)}else r=(0,l.n)(r),i=(0,l.n)(i);r>i&&(i+=u);var d=Math.atan2(c,s);return d<0&&(d+=u),d>=r&&d<=i||d+u>=r&&d+u<=i}(z,H,U,W,W+q,G,e,Z,i))return!0}else m+=function(t,e,n,r,i,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);d[0]=-l,d[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=f-1e-4){r=0,i=f;var c=o?1:-1;return a>=d[0]+t&&a<=d[1]+t?c:0}if(r>i){var h=r;r=i,i=h}r<0&&(r+=f,i+=f);for(var p=0,g=0;g<2;g++){var y=d[g];if(y+t>a){var v=Math.atan2(s,y),c=o?1:-1;v<0&&(v=f+v),(v>=r&&v<=i||v+f>=r&&v+f<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(c=-c),p+=c)}}return p}(z,H,U,W,W+q,G,Z,i);_=Math.cos(W+q)*V+z,b=Math.sin(W+q)*U+H;break;case h.R:x=_=y[S++],w=b=y[S++];var Y=y[S++],$=y[S++];if(o=x+Y,g=w+$,n){if(a(x,w,o,w,e,r,i)||a(o,w,o,g,e,r,i)||a(o,g,x,g,e,r,i)||a(x,g,x,w,e,r,i))return!0}else m+=(0,c.A)(o,w,o,g,r,i),m+=(0,c.A)(x,g,x,w,r,i);break;case h.Z:if(n){if(a(_,b,x,w,e,r,i))return!0}else m+=(0,c.A)(_,b,x,w,r,i);_=x,b=w}}return n||1e-4>Math.abs(b-w)||(m+=(0,c.A)(_,b,x,w,r,i)||0),0!==m}var y=n(12417),v=n(18439),m=n(46391),_=n(61607),b=n(92161),x=(0,y.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i.oN),w={style:(0,y.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.sW.style)},S=b.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]);let A=function(t){var e;function n(e){return t.call(this,e)||this}return(0,r.C6)(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new n;i.buildPath===n.prototype.buildPath&&(i.buildPath=function(t){e.buildPath(t,e.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s<S.length;++s)i[S[s]]=this[S[s]];i.__dirty|=_.M}else this._decalEl&&(this._decalEl=null)},n.prototype.getDecalElement=function(){return this._decalEl},n.prototype._init=function(e){var n=(0,y.keys)(e);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var i=0;i<n.length;i++){var o=n[i],a=e[o];"style"===o?this.style?(0,y.extend)(this.style,a):this.useStyle(a):"shape"===o?(0,y.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},n.prototype.getDefaultStyle=function(){return null},n.prototype.getDefaultShape=function(){return{}},n.prototype.canBeInsideText=function(){return this.hasFill()},n.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,y.isString)(t)){var e=(0,v.lum)(t,0);return e>.5?m._S:e>.2?m.tY:m.el}else if(t)return m.el}return m._S},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,y.isString)(e)){var n=this.__zr;if(!!(n&&n.isDarkMode())==(0,v.lum)(t,0)<m.ps)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=~_.Dl},n.prototype.getUpdatedPathProxy=function(t){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new o.A(!1)},n.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&_.Dl)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),g(o,a/s,!0,t,e)))return!0}if(this.hasFill())return g(o,0,!1,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=_.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},n.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:(0,y.extend)(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(this.__dirty&_.Dl)},n.prototype.createStyle=function(t){return(0,y.createObject)(x,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,y.extend)({},this.shape))},n.prototype._applyStateObj=function(e,n,r,i,o,a){t.prototype._applyStateObj.call(this,e,n,r,i,o,a);var s,l=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=(0,y.extend)({},r.shape),(0,y.extend)(s,n.shape)):(s=(0,y.extend)({},i?this.shape:r.shape),(0,y.extend)(s,n.shape)):l&&(s=r.shape),s)if(o){this.shape=(0,y.extend)({},this.shape);for(var u={},c=(0,y.keys)(s),h=0;h<c.length;h++){var f=c[h];"object"==typeof s[f]?this.shape[f]=s[f]:u[f]=s[f]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},n.prototype._mergeStates=function(e){for(var n,r=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(r.shape=n),r},n.prototype.getAnimationStyleProps=function(){return w},n.prototype.isZeroArea=function(){return!1},n.extend=function(t){var e=function(e){function n(n){var r=e.call(this,n)||this;return t.init&&t.init.call(r,n),r}return(0,r.C6)(n,e),n.prototype.getDefaultStyle=function(){return(0,y.clone)(t.style)},n.prototype.getDefaultShape=function(){return(0,y.clone)(t.shape)},n}(n);for(var i in t)"function"==typeof t[i]&&(e.prototype[i]=t[i]);return e},n.initDefaultProps=void((e=n.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=_.M|_.pO|_.Dl),n}(i.Ay)},29515:function(t,e,n){"use strict";n.d(e,{A:()=>i});var r=n(367);let i=function(t){function e(e,n,r,i,o){var a=t.call(this,i)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=o||!1,a}return(0,r.C6)(e,t),e}(n(47104).A)},16078:function(t,e,n){"use strict";n.d(e,{A:()=>h});var r=n(367),i=n(18144),o=n(3879),a=n(21196),s=n(12417),l=n(42898),u=(0,s.defaults)({strokeFirst:!0,font:l.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.MW),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,s.createObject)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=(0,o.NO)(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var r=t.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(i.Ay);c.prototype.type="tspan";let h=c},32031:function(t,e,n){"use strict";n.d(e,{Ay:()=>k});var r=n(367),i=n(97939),o=n(16078),a=n(12417),s=n(3879),l=n(35963),u=n(99618),c=n(10923),h=n(18144),f=n(42898),d={fill:"#000"},p={style:(0,a.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},h.sW.style)},g=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=d,n.attr(e),n}return(0,r.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,b(t=this.style),(0,a.each)(t.rich,b),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new c.A(0,0,0,0),e=this._children,n=[],r=null,i=0;i<e.length;i++){var o=e[i],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(r=r||t.clone()).union(t)):(r=r||a.clone()).union(a)}this._rect=r||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||d},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,r=t.rich||n&&{};return(0,a.extend)(t,e),n&&r?(this._mergeRich(r,n),t.rich=r):r&&(t.rich=r),t},e.prototype._mergeRich=function(t,e){for(var n=(0,a.keys)(e),r=0;r<n.length;r++){var i=n[r];t[i]=t[i]||{},(0,a.extend)(t[i],e[i])}},e.prototype.getAnimationStyleProps=function(){return p},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||f.OH,n=t.padding,r=A(t),a=(0,i.j_)(r,t),l=M(t),u=!!t.backgroundColor,h=a.outerHeight,d=a.outerWidth,p=a.contentWidth,g=a.lines,y=a.lineHeight,v=this._defaultStyle;this.isTruncated=!!a.isTruncated;var m=t.x||0,b=t.y||0,k=t.align||v.align||"left",T=t.verticalAlign||v.verticalAlign||"top",C=m,O=(0,s.sZ)(b,a.contentHeight,T);if(l||n){var I=(0,s.ll)(m,d,k),E=(0,s.sZ)(b,h,T);l&&this._renderBackground(t,t,I,E,d,h)}O+=y/2,n&&(C=S(m,k,n),"top"===T?O+=n[0]:"bottom"===T&&(O-=n[2]));for(var D=0,R=!1,L=w("fill"in t?t.fill:(R=!0,v.fill)),P=x("stroke"in t?t.stroke:u||v.autoStroke&&!R?null:(D=2,v.stroke)),N=t.textShadowBlur>0,B=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),F=a.calculatedLineHeight,j=0;j<g.length;j++){var z=this._getOrCreateChild(o.A),H=z.createStyle();z.useStyle(H),H.text=g[j],H.x=C,H.y=O,k&&(H.textAlign=k),H.textBaseline="middle",H.opacity=t.opacity,H.strokeFirst=!0,N&&(H.shadowBlur=t.textShadowBlur||0,H.shadowColor=t.textShadowColor||"transparent",H.shadowOffsetX=t.textShadowOffsetX||0,H.shadowOffsetY=t.textShadowOffsetY||0),H.stroke=P,H.fill=L,P&&(H.lineWidth=t.lineWidth||D,H.lineDash=t.lineDash,H.lineDashOffset=t.lineDashOffset||0),H.font=e,_(H,t),O+=y,B&&z.setBoundingRect(new c.A((0,s.ll)(H.x,p,H.textAlign),(0,s.sZ)(H.y,F,H.textBaseline),p,F))}},e.prototype._updateRichTexts=function(){var t=this.style,e=A(t),n=(0,i.FQ)(e,t),r=n.width,o=n.outerWidth,a=n.outerHeight,l=t.padding,u=t.x||0,c=t.y||0,h=this._defaultStyle,f=t.align||h.align,d=t.verticalAlign||h.verticalAlign;this.isTruncated=!!n.isTruncated;var p=(0,s.ll)(u,o,f),g=(0,s.sZ)(c,a,d),y=p,v=g;l&&(y+=l[3],v+=l[0]);var m=y+r;M(t)&&this._renderBackground(t,t,p,g,o,a);for(var _=!!t.backgroundColor,b=0;b<n.lines.length;b++){for(var x=n.lines[b],w=x.tokens,S=w.length,k=x.lineHeight,T=x.width,C=0,O=y,I=m,E=S-1,D=void 0;C<S&&(!(D=w[C]).align||"left"===D.align);)this._placeToken(D,t,k,v,O,"left",_),T-=D.width,O+=D.width,C++;for(;E>=0&&"right"===(D=w[E]).align;)this._placeToken(D,t,k,v,I,"right",_),T-=D.width,I-=D.width,E--;for(O+=(r-(O-y)-(m-I)-T)/2;C<=E;)D=w[C],this._placeToken(D,t,k,v,O+D.width/2,"center",_),O+=D.width,C++;v+=k}},e.prototype._placeToken=function(t,e,n,r,i,l,u){var h=e.rich[t.styleName]||{};h.text=t.text;var d=t.verticalAlign,p=r+n/2;"top"===d?p=r+t.height/2:"bottom"===d&&(p=r+n-t.height/2),!t.isLineHolder&&M(h)&&this._renderBackground(h,e,"right"===l?i-t.width:"center"===l?i-t.width/2:i,p-t.height/2,t.width,t.height);var g=!!h.backgroundColor,y=t.textPadding;y&&(i=S(i,l,y),p-=t.height/2-y[0]-t.innerHeight/2);var v=this._getOrCreateChild(o.A),m=v.createStyle();v.useStyle(m);var b=this._defaultStyle,A=!1,k=0,T=w("fill"in h?h.fill:"fill"in e?e.fill:(A=!0,b.fill)),C=x("stroke"in h?h.stroke:"stroke"in e?e.stroke:g||u||b.autoStroke&&!A?null:(k=2,b.stroke)),O=h.textShadowBlur>0||e.textShadowBlur>0;m.text=t.text,m.x=i,m.y=p,O&&(m.shadowBlur=h.textShadowBlur||e.textShadowBlur||0,m.shadowColor=h.textShadowColor||e.textShadowColor||"transparent",m.shadowOffsetX=h.textShadowOffsetX||e.textShadowOffsetX||0,m.shadowOffsetY=h.textShadowOffsetY||e.textShadowOffsetY||0),m.textAlign=l,m.textBaseline="middle",m.font=t.font||f.OH,m.opacity=(0,a.retrieve3)(h.opacity,e.opacity,1),_(m,h),C&&(m.lineWidth=(0,a.retrieve3)(h.lineWidth,e.lineWidth,k),m.lineDash=(0,a.retrieve2)(h.lineDash,e.lineDash),m.lineDashOffset=e.lineDashOffset||0,m.stroke=C),T&&(m.fill=T);var I=t.contentWidth,E=t.contentHeight;v.setBoundingRect(new c.A((0,s.ll)(m.x,I,m.textAlign),(0,s.sZ)(m.y,E,m.textBaseline),I,E))},e.prototype._renderBackground=function(t,e,n,r,i,o){var s,c,h=t.backgroundColor,f=t.borderWidth,d=t.borderColor,p=h&&h.image,g=h&&!p,y=t.borderRadius,v=this;if(g||t.lineHeight||f&&d){(s=this._getOrCreateChild(u.A)).useStyle(s.createStyle()),s.style.fill=null;var m=s.shape;m.x=n,m.y=r,m.width=i,m.height=o,m.r=y,s.dirtyShape()}if(g){var _=s.style;_.fill=h||null,_.fillOpacity=(0,a.retrieve2)(t.fillOpacity,1)}else if(p){(c=this._getOrCreateChild(l.Ay)).onload=function(){v.dirtyStyle()};var b=c.style;b.image=h.image,b.x=n,b.y=r,b.width=i,b.height=o}if(f&&d){var _=s.style;_.lineWidth=f,_.stroke=d,_.strokeOpacity=(0,a.retrieve2)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var x=(s||c).style;x.shadowBlur=t.shadowBlur||0,x.shadowColor=t.shadowColor||"transparent",x.shadowOffsetX=t.shadowOffsetX||0,x.shadowOffsetY=t.shadowOffsetY||0,x.opacity=(0,a.retrieve3)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e,n,r="";return(null!=(e=t).fontSize||e.fontFamily||e.fontWeight)&&(r=[t.fontStyle,t.fontWeight,"string"==typeof(n=t.fontSize)&&(-1!==n.indexOf("px")||-1!==n.indexOf("rem")||-1!==n.indexOf("em"))?n:isNaN(+n)?f.gI+"px":n+"px",t.fontFamily||"sans-serif"].join(" ")),r&&(0,a.trim)(r)||t.textFont||t.font},e}(h.Ay),y={left:!0,right:1,center:1},v={top:1,bottom:1,middle:1},m=["fontStyle","fontWeight","fontSize","fontFamily"];function _(t,e){for(var n=0;n<m.length;n++){var r=m[n],i=e[r];null!=i&&(t[r]=i)}}function b(t){if(t){t.font=g.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||y[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||v[n]?n:"top",t.padding&&(t.padding=(0,a.normalizeCssArray)(t.padding))}}function x(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function w(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function S(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function A(t){var e=t.text;return null!=e&&(e+=""),e}function M(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}let k=g},61607:function(t,e,n){"use strict";n.d(e,{Dl:()=>o,M:()=>r,pO:()=>i});var r=1,i=2,o=4},73098:function(t,e,n){"use strict";n.d(e,{OD:()=>s,SR:()=>a,xA:()=>u});var r=n(64100),i=n(42898),o=new r.Ay(50);function a(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image}function s(t,e,n,r,a){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),c={hostEl:n,cb:r,cbPayload:a};return s?u(e=s.image)||s.pending.push(c):((e=i.yh.loadImage(t,l,l)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[c]})),e}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}},97939:function(t,e,n){"use strict";n.d(e,{EJ:()=>s,FQ:()=>g,j_:()=>h});var r=n(73098),i=n(12417),o=n(3879),a=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(t,e,n,r,i){var o={};return l(o,t,e,n,r,i),o.text}function l(t,e,n,r,i,o){if(!n){t.text="",t.isTruncated=!1;return}var a=(e+"").split("\n");o=u(n,r,i,o);for(var s=!1,l={},h=0,f=a.length;h<f;h++)c(l,a[h],o),a[h]=l.textLine,s=s||l.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function u(t,e,n,r){r=r||{};var a=(0,i.extend)({},r);a.font=e,n=(0,i.retrieve2)(n,"..."),a.maxIterations=(0,i.retrieve2)(r.maxIterations,2);var s=a.minChar=(0,i.retrieve2)(r.minChar,0);a.cnCharWidth=(0,o.RG)("国",e);var l=a.ascCharWidth=(0,o.RG)("a",e);a.placeholder=(0,i.retrieve2)(r.placeholder,"");for(var u=t=Math.max(0,t-1),c=0;c<s&&u>=l;c++)u-=l;var h=(0,o.RG)(n,e);return h>u&&(n="",h=0),u=t-h,a.ellipsis=n,a.ellipsisWidth=h,a.contentWidth=u,a.containerWidth=t,a}function c(t,e,n){var r=n.containerWidth,i=n.font,a=n.contentWidth;if(!r){t.textLine="",t.isTruncated=!1;return}var s=(0,o.RG)(e,i);if(s<=r){t.textLine=e,t.isTruncated=!1;return}for(var l=0;;l++){if(s<=a||l>=n.maxIterations){e+=n.ellipsis;break}var u=0===l?function(t,e,n,r){for(var i=0,o=0,a=t.length;o<a&&i<e;o++){var s=t.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}(e,a,n.ascCharWidth,n.cnCharWidth):s>0?Math.floor(e.length*a/s):0;e=e.substr(0,u),s=(0,o.RG)(e,i)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function h(t,e){null!=t&&(t+="");var n,r=e.overflow,a=e.padding,s=e.font,l=(0,o.ks)(s),h=(0,i.retrieve2)(e.lineHeight,l),f=!!e.backgroundColor,d="truncate"===e.lineOverflow,p=!1,g=e.width,y=(n=null!=g&&("break"===r||"breakAll"===r)?t?m(t,e.font,g,"breakAll"===r,0).lines:[]:t?t.split("\n"):[]).length*h,v=(0,i.retrieve2)(e.height,y);if(y>v&&d){var _=Math.floor(v/h);p=p||n.length>_,n=n.slice(0,_)}if(t&&"truncate"===r&&null!=g)for(var b=u(g,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x={},w=0;w<n.length;w++)c(x,n[w],b),n[w]=x.textLine,p=p||x.isTruncated;for(var S=v,A=0,w=0;w<n.length;w++)A=Math.max((0,o.RG)(n[w],s),A);null==g&&(g=A);var M=A;return a&&(S+=a[0]+a[2],M+=a[1]+a[3],g+=a[1]+a[3]),f&&(M=g),{lines:n,height:v,outerWidth:M,outerHeight:S,lineHeight:h,calculatedLineHeight:l,contentWidth:A,contentHeight:y,width:g,isTruncated:p}}var f=function(){},d=function(t){this.tokens=[],t&&(this.tokens=t)},p=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function g(t,e){var n,s=new p;if(null!=t&&(t+=""),!t)return s;for(var u=e.width,c=e.height,h=e.overflow,f=("break"===h||"breakAll"===h)&&null!=u?{width:u,accumWidth:0,breakAll:"breakAll"===h}:null,d=a.lastIndex=0;null!=(n=a.exec(t));){var g=n.index;g>d&&y(s,t.substring(d,g),e,f),y(s,n[2],e,f,n[1]),d=a.lastIndex}d<t.length&&y(s,t.substring(d,t.length),e,f);var v=[],m=0,_=0,b=e.padding,x="truncate"===h,w="truncate"===e.lineOverflow,S={};function A(t,e,n){t.width=e,t.lineHeight=n,m+=n,_=Math.max(_,e)}i:for(var M=0;M<s.lines.length;M++){for(var k=s.lines[M],T=0,C=0,O=0;O<k.tokens.length;O++){var I=k.tokens[O],E=I.styleName&&e.rich[I.styleName]||{},D=I.textPadding=E.padding,R=D?D[1]+D[3]:0,L=I.font=E.font||e.font;I.contentHeight=(0,o.ks)(L);var P=(0,i.retrieve2)(E.height,I.contentHeight);if(I.innerHeight=P,D&&(P+=D[0]+D[2]),I.height=P,I.lineHeight=(0,i.retrieve3)(E.lineHeight,e.lineHeight,P),I.align=E&&E.align||e.align,I.verticalAlign=E&&E.verticalAlign||"middle",w&&null!=c&&m+I.lineHeight>c){var N=s.lines.length;O>0?(k.tokens=k.tokens.slice(0,O),A(k,C,T),s.lines=s.lines.slice(0,M+1)):s.lines=s.lines.slice(0,M),s.isTruncated=s.isTruncated||s.lines.length<N;break i}var B=E.width,F=null==B||"auto"===B;if("string"==typeof B&&"%"===B.charAt(B.length-1))I.percentWidth=B,v.push(I),I.contentWidth=(0,o.RG)(I.text,L);else{if(F){var j=E.backgroundColor,z=j&&j.image;z&&(z=r.SR(z),r.xA(z)&&(I.width=Math.max(I.width,z.width*P/z.height)))}var H=x&&null!=u?u-C:null;null!=H&&H<I.width?!F||H<R?(I.text="",I.width=I.contentWidth=0):(l(S,I.text,H-R,L,e.ellipsis,{minChar:e.truncateMinChar}),I.text=S.text,s.isTruncated=s.isTruncated||S.isTruncated,I.width=I.contentWidth=(0,o.RG)(I.text,L)):I.contentWidth=(0,o.RG)(I.text,L)}I.width+=R,C+=I.width,E&&(T=Math.max(T,I.lineHeight))}A(k,C,T)}s.outerWidth=s.width=(0,i.retrieve2)(u,_),s.outerHeight=s.height=(0,i.retrieve2)(c,m),s.contentHeight=m,s.contentWidth=_,b&&(s.outerWidth+=b[1]+b[3],s.outerHeight+=b[0]+b[2]);for(var M=0;M<v.length;M++){var I=v[M],V=I.percentWidth;I.width=parseInt(V,10)/100*s.width}return s}function y(t,e,n,r,i){var a,s,l=""===e,u=i&&n.rich[i]||{},c=t.lines,h=u.font||n.font,p=!1;if(r){var g=u.padding,y=g?g[1]+g[3]:0;if(null!=u.width&&"auto"!==u.width){var v=(0,o.lo)(u.width,r.width)+y;c.length>0&&v+r.accumWidth>r.width&&(a=e.split("\n"),p=!0),r.accumWidth=v}else{var _=m(e,h,r.width,r.breakAll,r.accumWidth);r.accumWidth=_.accumWidth+y,s=_.linesWidths,a=_.lines}}else a=e.split("\n");for(var b=0;b<a.length;b++){var x=a[b],w=new f;if(w.styleName=i,w.text=x,w.isLineHolder=!x&&!l,"number"==typeof u.width?w.width=u.width:w.width=s?s[b]:(0,o.RG)(x,h),b||p)c.push(new d([w]));else{var S=(c[c.length-1]||(c[0]=new d)).tokens,A=S.length;1===A&&S[0].isLineHolder?S[0]=w:(x||!A||l)&&S.push(w)}}}var v=(0,i.reduce)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function m(t,e,n,r,i){for(var a=[],s=[],l="",u="",c=0,h=0,f=0;f<t.length;f++){var d=t.charAt(f);if("\n"===d){u&&(l+=u,h+=c),a.push(l),s.push(h),l="",u="",c=0,h=0;continue}var p=(0,o.RG)(d,e),g=!r&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!v[t]}(d);if(a.length?h+p>n:i+h+p>n){h?(l||u)&&(g?(l||(l=u,u="",h=c=0),a.push(l),s.push(h-c),u+=d,c+=p,l="",h=c):(u&&(l+=u,u="",c=0),a.push(l),s.push(h),l=d,h=p)):g?(a.push(u),s.push(c),u=d,c=p):(a.push(d),s.push(p));continue}h+=p,g?(u+=d,c+=p):(u&&(l+=u,u="",c=0),l+=d)}return a.length||l||(l=t,u="",c=0),u&&(l+=u),l&&(a.push(l),s.push(h)),1===a.length&&(h+=i),{accumWidth:h,lines:a,linesWidths:s}}},91647:function(t,e,n){"use strict";n.d(e,{U:()=>i});var r=n(80410);function i(t,e,n){var i=e.smooth,o=e.points;if(o&&o.length>=2){if(i){var a=function(t,e,n,i){var o,a,s,l,u=[],c=[],h=[],f=[];if(i){s=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,p=t.length;d<p;d++)(0,r.min)(s,s,t[d]),(0,r.max)(l,l,t[d]);(0,r.min)(s,s,i[0]),(0,r.max)(l,l,i[1])}for(var d=0,p=t.length;d<p;d++){var g=t[d];if(n)o=t[d?d-1:p-1],a=t[(d+1)%p];else if(0===d||d===p-1){u.push((0,r.clone)(t[d]));continue}else o=t[d-1],a=t[d+1];(0,r.sub)(c,a,o),(0,r.scale)(c,c,e);var y=(0,r.distance)(g,o),v=(0,r.distance)(g,a),m=y+v;0!==m&&(y/=m,v/=m),(0,r.scale)(h,c,-y),(0,r.scale)(f,c,v);var _=(0,r.add)([],g,h),b=(0,r.add)([],g,f);i&&((0,r.max)(_,_,s),(0,r.min)(_,_,l),(0,r.max)(b,b,s),(0,r.min)(b,b,l)),u.push(_),u.push(b)}return n&&u.push(u.shift()),u}(o,i,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(n?s:s-1);l++){var u=a[2*l],c=a[2*l+1],h=o[(l+1)%s];t.bezierCurveTo(u[0],u[1],c[0],c[1],h[0],h[1])}}else{t.moveTo(o[0][0],o[0][1]);for(var l=1,f=o.length;l<f;l++)t.lineTo(o[l][0],o[l][1])}n&&t.closePath()}}},28450:function(t,e,n){"use strict";n.d(e,{M7:()=>a,Op:()=>o,eB:()=>i});var r=Math.round;function i(t,e,n){if(e){var i=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=i,t.x2=o,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u&&(r(2*i)===r(2*o)&&(t.x1=t.x2=a(i,u,!0)),r(2*s)===r(2*l)&&(t.y1=t.y2=a(s,u,!0))),t}}function o(t,e,n){if(e){var r=e.x,i=e.y,o=e.width,s=e.height;t.x=r,t.y=i,t.width=o,t.height=s;var l=n&&n.lineWidth;return l&&(t.x=a(r,l,!0),t.y=a(i,l,!0),t.width=Math.max(a(r+o,l,!1)-t.x,+(0!==o)),t.height=Math.max(a(i+s,l,!1)-t.y,+(0!==s))),t}}function a(t,e,n){if(!e)return t;var i=r(2*t);return(i+r(e))%2==0?i/2:(i+(n?1:-1))/2}},91176:function(t,e,n){"use strict";n.d(e,{A:()=>s});var r=n(367),i=n(21196),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,r.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*i+n,u*i+r),t.arc(n,r,i,o,a,!s)},e}(i.Ay);a.prototype.type="arc";let s=a},26962:function(t,e,n){"use strict";n.d(e,{A:()=>h});var r=n(367),i=n(21196),o=n(80410),a=n(96046),s=[],l=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function u(t,e,n){var r=t.cpx2,i=t.cpy2;return null!=r||null!=i?[(n?a.rD:a.Yb)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.rD:a.Yb)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.z7:a.k3)(t.x1,t.cpx1,t.x2,e),(n?a.z7:a.k3)(t.y1,t.cpy1,t.y2,e)]}var c=function(t){function e(e){return t.call(this,e)||this}return(0,r.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var n=e.x1,r=e.y1,i=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,f=e.percent;0!==f&&(t.moveTo(n,r),null==c||null==h?(f<1&&((0,a.kx)(n,l,i,f,s),l=s[1],i=s[2],(0,a.kx)(r,u,o,f,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,i,o)):(f<1&&((0,a.YT)(n,l,c,i,f,s),l=s[1],c=s[2],i=s[3],(0,a.YT)(r,u,h,o,f,s),u=s[1],h=s[2],o=s[3]),t.bezierCurveTo(l,u,c,h,i,o)))},e.prototype.pointAt=function(t){return u(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=u(this.shape,t,!0);return o.normalize(e,e)},e}(i.Ay);c.prototype.type="bezier-curve";let h=c},78018:function(t,e,n){"use strict";n.d(e,{A:()=>s});var r=n(367),i=n(21196),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,r.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(i.Ay);a.prototype.type="circle";let s=a},21858:function(t,e,n){"use strict";n.d(e,{A:()=>s});var r=n(367),i=n(21196),o=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,r.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=e.rx,o=e.ry,a=.5522848*i,s=.5522848*o;t.moveTo(n-i,r),t.bezierCurveTo(n-i,r-s,n-a,r-o,n,r-o),t.bezierCurveTo(n+a,r-o,n+i,r-s,n+i,r),t.bezierCurveTo(n+i,r+s,n+a,r+o,n,r+o),t.bezierCurveTo(n-a,r+o,n-i,r+s,n-i,r),t.closePath()},e}(i.Ay);a.prototype.type="ellipse";let s=a},60620:function(t,e,n){"use strict";n.d(e,{A:()=>u});var r=n(367),i=n(21196),o=n(28450),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(t){function e(e){return t.call(this,e)||this}return(0,r.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,r,i,s,l=(0,o.eB)(a,e,this.style);n=l.x1,r=l.y1,i=l.x2,s=l.y2}else n=e.x1,r=e.y1,i=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(n,r),u<1&&(i=n*(1-u)+i*u,s=r*(1-u)+s*u),t.lineTo(i,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(i.Ay);l.prototype.type="line";let u=l},34146:function(t,e,n){"use strict";n.d(e,{A:()=>l});var r=n(367),i=n(21196),o=n(91647),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,r.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!0)},e}(i.Ay);s.prototype.type="polygon";let l=s},25998:function(t,e,n){"use strict";n.d(e,{A:()=>l});var r=n(367),i=n(21196),o=n(91647),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,r.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!1)},e}(i.Ay);s.prototype.type="polyline";let l=s},99618:function(t,e,n){"use strict";n.d(e,{A:()=>u});var r=n(367),i=n(21196),o=n(28450),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(t){function e(e){return t.call(this,e)||this}return(0,r.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,r,i,a,l,u,c,h,f,d,p,g,y,v,m,_=(0,o.Op)(s,e,this.style);g=_.x,y=_.y,v=_.width,m=_.height,_.r=e.r,e=_}else g=e.x,y=e.y,v=e.width,m=e.height;e.r?(c=(n=e).x,h=n.y,f=n.width,d=n.height,p=n.r,f<0&&(c+=f,f=-f),d<0&&(h+=d,d=-d),"number"==typeof p?r=i=a=l=p:p instanceof Array?1===p.length?r=i=a=l=p[0]:2===p.length?(r=a=p[0],i=l=p[1]):3===p.length?(r=p[0],i=l=p[1],a=p[2]):(r=p[0],i=p[1],a=p[2],l=p[3]):r=i=a=l=0,r+i>f&&(u=r+i,r*=f/u,i*=f/u),a+l>f&&(u=a+l,a*=f/u,l*=f/u),i+a>d&&(u=i+a,i*=d/u,a*=d/u),r+l>d&&(u=r+l,r*=d/u,l*=d/u),t.moveTo(c+r,h),t.lineTo(c+f-i,h),0!==i&&t.arc(c+f-i,h+i,i,-Math.PI/2,0),t.lineTo(c+f,h+d-a),0!==a&&t.arc(c+f-a,h+d-a,a,0,Math.PI/2),t.lineTo(c+l,h+d),0!==l&&t.arc(c+l,h+d-l,l,Math.PI/2,Math.PI),t.lineTo(c,h+r),0!==r&&t.arc(c+r,h+r,r,Math.PI,1.5*Math.PI)):t.rect(g,y,v,m)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i.Ay);l.prototype.type="rect";let u=l},19856:function(t,e,n){"use strict";n.d(e,{A:()=>s});var r=n(367),i=n(21196),o=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,r.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=2*Math.PI;t.moveTo(n+e.r,r),t.arc(n,r,e.r,0,i,!1),t.moveTo(n+e.r0,r),t.arc(n,r,e.r0,0,i,!0)},e}(i.Ay);a.prototype.type="ring";let s=a},69581:function(t,e,n){"use strict";n.d(e,{A:()=>_});var r=n(367),i=n(21196),o=n(12417),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,c=Math.acos,h=Math.atan2,f=Math.abs,d=Math.sqrt,p=Math.max,g=Math.min;function y(t,e,n,r,i,o,a){var s=t-n,l=e-r,u=(a?o:-o)/d(s*s+l*l),c=u*l,h=-u*s,f=t+c,g=e+h,y=n+c,v=r+h,m=(f+y)/2,_=(g+v)/2,b=y-f,x=v-g,w=b*b+x*x,S=i-o,A=f*v-y*g,M=(x<0?-1:1)*d(p(0,S*S*w-A*A)),k=(A*x-b*M)/w,T=(-A*b-x*M)/w,C=(A*x+b*M)/w,O=(-A*b+x*M)/w,I=k-m,E=T-_,D=C-m,R=O-_;return I*I+E*E>D*D+R*R&&(k=C,T=O),{cx:k,cy:T,x0:-c,y0:-h,x1:k*(i/S-1),y1:T*(i/S-1)}}var v=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},m=function(t){function e(e){return t.call(this,e)||this}return(0,r.C6)(e,t),e.prototype.getDefaultShape=function(){return new v},e.prototype.buildPath=function(t,e){!function(t,e){var n,r=p(e.r,0),i=p(e.r0||0,0),v=r>0,m=i>0;if(v||m){if(v||(r=i,i=0),i>r){var _=r;r=i,i=_}var b=e.startAngle,x=e.endAngle;if(!(isNaN(b)||isNaN(x))){var w=e.cx,S=e.cy,A=!!e.clockwise,M=f(x-b),k=M>s&&M%s;if(k>1e-4&&(M=k),r>1e-4)if(M>s-1e-4)t.moveTo(w+r*u(b),S+r*l(b)),t.arc(w,S,r,b,x,!A),i>1e-4&&(t.moveTo(w+i*u(x),S+i*l(x)),t.arc(w,S,i,x,b,A));else{var T=void 0,C=void 0,O=void 0,I=void 0,E=void 0,D=void 0,R=void 0,L=void 0,P=void 0,N=void 0,B=void 0,F=void 0,j=void 0,z=void 0,H=void 0,V=void 0,U=r*u(b),W=r*l(b),q=i*u(x),G=i*l(x),Z=M>1e-4;if(Z){var Y=e.cornerRadius;Y&&(T=(n=function(t){var e;if((0,o.isArray)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(Y))[0],C=n[1],O=n[2],I=n[3]);var $=f(r-i)/2;if(E=g($,O),D=g($,I),R=g($,T),L=g($,C),B=P=p(E,D),F=N=p(R,L),(P>1e-4||N>1e-4)&&(j=r*u(x),z=r*l(x),H=i*u(b),V=i*l(b),M<a)){var X=function(t,e,n,r,i,o,a,s){var l=n-t,u=r-e,c=a-i,h=s-o,f=h*l-c*u;if(!(f*f<1e-4))return f=(c*(e-o)-h*(t-i))/f,[t+f*l,e+f*u]}(U,W,H,V,j,z,q,G);if(X){var K=U-X[0],J=W-X[1],Q=j-X[0],tt=z-X[1],te=1/l(c((K*Q+J*tt)/(d(K*K+J*J)*d(Q*Q+tt*tt)))/2),tn=d(X[0]*X[0]+X[1]*X[1]);B=g(P,(r-tn)/(te+1)),F=g(N,(i-tn)/(te-1))}}}if(Z)if(B>1e-4){var tr=g(O,B),ti=g(I,B),to=y(H,V,U,W,r,tr,A),ta=y(j,z,q,G,r,ti,A);t.moveTo(w+to.cx+to.x0,S+to.cy+to.y0),B<P&&tr===ti?t.arc(w+to.cx,S+to.cy,B,h(to.y0,to.x0),h(ta.y0,ta.x0),!A):(tr>0&&t.arc(w+to.cx,S+to.cy,tr,h(to.y0,to.x0),h(to.y1,to.x1),!A),t.arc(w,S,r,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),!A),ti>0&&t.arc(w+ta.cx,S+ta.cy,ti,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!A))}else t.moveTo(w+U,S+W),t.arc(w,S,r,b,x,!A);else t.moveTo(w+U,S+W);if(i>1e-4&&Z)if(F>1e-4){var tr=g(T,F),ti=g(C,F),to=y(q,G,j,z,i,-ti,A),ta=y(U,W,H,V,i,-tr,A);t.lineTo(w+to.cx+to.x0,S+to.cy+to.y0),F<N&&tr===ti?t.arc(w+to.cx,S+to.cy,F,h(to.y0,to.x0),h(ta.y0,ta.x0),!A):(ti>0&&t.arc(w+to.cx,S+to.cy,ti,h(to.y0,to.x0),h(to.y1,to.x1),!A),t.arc(w,S,i,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),A),tr>0&&t.arc(w+ta.cx,S+ta.cy,tr,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!A))}else t.lineTo(w+q,S+G),t.arc(w,S,i,x,b,A);else t.lineTo(w+q,S+G)}else t.moveTo(w,S);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(i.Ay);m.prototype.type="sector";let _=m},18439:function(t,e,n){"use strict";n.r(e),n.d(e,{fastLerp:()=>b,fastMapToColor:()=>x,lerp:()=>w,lift:()=>m,liftColor:()=>I,lum:()=>T,mapToColor:()=>S,modifyAlpha:()=>M,modifyHSL:()=>A,parse:()=>y,random:()=>C,stringify:()=>k,toHex:()=>_});var r=n(64100),i=n(12417),o={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 a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function c(t,e,n){return(n<0?n+=1:n>1&&(n-=1),6*n<1)?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new r.Ay(20),p=null;function g(t,e){p&&f(p,e),p=d.put(t,p||e.slice())}function y(t,e){if(t){e=e||[];var n=d.get(t);if(n)return f(e,n);var r=(t+="").replace(/ /g,"").toLowerCase();if(r in o)return f(e,o[r]),g(t,e),e;var i=r.length;if("#"===r.charAt(0)){if(4===i||5===i){var a=parseInt(r.slice(1,4),16);return a>=0&&a<=4095?(h(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===i?parseInt(r.slice(4),16)/15:1),g(t,e),e):void h(e,0,0,0,1)}if(7===i||9===i){var a=parseInt(r.slice(1,7),16);return a>=0&&a<=0xffffff?(h(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===i?parseInt(r.slice(7),16)/255:1),g(t,e),e):void h(e,0,0,0,1)}return}var s=r.indexOf("("),c=r.indexOf(")");if(-1!==s&&c+1===i){var p=r.substr(0,s),y=r.substr(s+1,c-(s+1)).split(","),m=1;switch(p){case"rgba":if(4!==y.length)return 3===y.length?h(e,+y[0],+y[1],+y[2],1):h(e,0,0,0,1);m=u(y.pop());case"rgb":if(y.length>=3)return h(e,l(y[0]),l(y[1]),l(y[2]),3===y.length?m:u(y[3])),g(t,e),e;return void h(e,0,0,0,1);case"hsla":if(4!==y.length)return void h(e,0,0,0,1);return y[3]=u(y[3]),v(y,e),g(t,e),e;case"hsl":if(3!==y.length)return void h(e,0,0,0,1);return v(y,e),g(t,e),e;default:return}}h(e,0,0,0,1)}}function v(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=u(t[1]),i=u(t[2]),o=i<=.5?i*(r+1):i+r-i*r,s=2*i-o;return h(e=e||[],a(255*c(s,o,n+1/3)),a(255*c(s,o,n)),a(255*c(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=y(t);if(n){for(var r=0;r<3;r++)e<0?n[r]=n[r]*(1-e)|0:n[r]=(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return k(n,4===n.length?"rgba":"rgb")}}function _(t){var e=y(t);if(e)return(0x1000000+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function b(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r,i,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),f=e[c],d=e[h],p=u-c;return n[0]=a((r=f[0],r+(d[0]-r)*p)),n[1]=a((i=f[1],i+(d[1]-i)*p)),n[2]=a((o=f[2],o+(d[2]-o)*p)),n[3]=s((l=f[3],l+(d[3]-l)*p)),n}}var x=b;function w(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r,i,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),f=y(e[c]),d=y(e[h]),p=u-c,g=k([a((r=f[0],r+(d[0]-r)*p)),a((i=f[1],i+(d[1]-i)*p)),a((o=f[2],o+(d[2]-o)*p)),s((l=f[3],l+(d[3]-l)*p))],"rgba");return n?{color:g,leftIndex:c,rightIndex:h,value:u}:g}}var S=w;function A(t,e,n,r){var i,o=y(t);if(t)return o=function(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-r)/6+l/2)/l,h=((s-i)/6+l/2)/l,f=((s-o)/6+l/2)/l;r===s?e=f-h:i===s?e=1/3+c-f:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(o),null!=e&&(o[0]=(i=Math.round(i=e))<0?0:i>360?360:i),null!=n&&(o[1]=u(n)),null!=r&&(o[2]=u(r)),k(v(o),"rgba")}function M(t,e){var n=y(t);if(n&&null!=e)return n[3]=s(e),k(n,"rgba")}function k(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return("rgba"===e||"hsva"===e||"hsla"===e)&&(n+=","+t[3]),e+"("+n+")"}}function T(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function C(){return k([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var O=new r.Ay(100);function I(t){if((0,i.isString)(t)){var e=O.get(t);return e||(e=m(t,-.1),O.put(t,e)),e}if((0,i.isGradientObject)(t)){var n=(0,i.extend)({},t);return n.colorStops=(0,i.map)(t.colorStops,function(t){return{offset:t.offset,color:m(t.color,-.1)}}),n}return t}},64209:function(t,e,n){"use strict";n.r(e),n.d(e,{getElementSSRData:()=>tc,dispose:()=>ta,registerPainter:()=>tu,init:()=>to,disposeAll:()=>ts,getInstance:()=>tl,registerSSRDataGetter:()=>th,version:()=>tf});var r,i,o,a,s=n(55198),l=n(12417),u=n(367),c=n(80410),h=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},f=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new h(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,r=t.offsetY,i=n-this._x,o=r-this._y;this._x=n,this._y=r,e.drift(i,o,t),this.handler.dispatchToElement(new h(e,t),"drag",t.event);var a=this.handler.findHover(n,r,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new h(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new h(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new h(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new h(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),d=n(81970),p=n(67137),g=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var r=t.touches;if(r){for(var i={points:[],touches:[],target:e,event:t},o=0,a=r.length;o<a;o++){var s=r[o],l=p.Yo(n,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},t.prototype._recognize=function(t){for(var e in v)if(v.hasOwnProperty(e)){var n=v[e](this._track,t);if(n)return n}},t}();function y(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var v={pinch:function(t,e){var n=t.length;if(n){var r=(t[n-1]||{}).points,i=(t[n-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var o=y(r)/y(i);isFinite(o)||(o=1),e.pinchScale=o;var a=[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},m=n(10923),_="silent";function b(){p.ds(this.event)}var x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,u.C6)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(d.A),w=function(t,e){this.x=t,this.y=e},S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],A=new m.A(0,0,0,0),M=function(t){function e(e,n,r,i,o){var a=t.call(this)||this;return a._hovered=new w(0,0),a.storage=e,a.painter=n,a.painterRoot=i,a._pointerSize=o,r=r||new x,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new f(a),a}return(0,u.C6)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(l.each(S,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,r=T(this,e,n),i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target);var a=this._hovered=r?new w(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new w(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var r=(t=t||{}).target;if(!r||!r.silent){for(var i,o="on"+e,a={type:e,event:n,target:(i=t).target,topTarget:i.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:b};r&&(r[o]&&(a.cancelBubble=!!r[o].call(r,a)),r.trigger(e,a),r=r.__hostTarget?r.__hostTarget:r.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,n){var r=this.storage.getDisplayList(),i=new w(t,e);if(k(r,i,t,e,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new m.A(t-s,e-s,a,a),u=r.length-1;u>=0;u--){var c=r[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(A.copy(c.getBoundingRect()),c.transform&&A.applyTransform(c.transform),A.intersect(l)&&o.push(c))}if(o.length){for(var h=Math.PI/12,f=2*Math.PI,d=0;d<s;d+=4)for(var p=0;p<f;p+=h)if(k(o,i,t+d*Math.cos(p),e+d*Math.sin(p),n),i.target)return i}}return i},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new g);var n=this._gestureMgr;"start"===e&&n.clear();var r=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),r){var i=r.type;t.gestureEvent=i;var o=new w;o.target=r.target,this.dispatchToElement(o,i,r.event)}},e}(d.A);function k(t,e,n,r,i){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==i&&!a.ignore&&(s=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var r=t,i=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(e,n))return!1}r.silent&&(i=!0),r=r.__hostTarget||r.parent}return!i||_}return!1}(a,n,r))&&(e.topTarget||(e.topTarget=a),s!==_)){e.target=a;break}}}function T(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}l.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){M.prototype[t]=function(e){var n,r,i=e.zrX,o=e.zrY,a=T(this,i,o);if("mouseup"===t&&a||(r=(n=this.findHover(i,o)).target),"mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||c.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var C=n(68879),O=n(61607),I=!1;function E(){I||(I=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function D(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var R=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=D}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,r=0,i=e.length;r<i;r++)this._updateAndAddDisplayable(e[r],null,t);n.length=this._displayListLen,(0,C.A)(n,D)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var r=t.getClipPath();if(t.ignoreClip)e=null;else if(r){e=e?e.slice():[];for(var i=r,o=t;i;)i.parent=o,i.updateTransform(),e.push(i),o=i,i=i.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=O.M),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else e&&e.length?t.__clipPaths=e:t.__clipPaths&&t.__clipPaths.length>0&&(t.__clipPaths=[]),isNaN(t.z)&&(E(),t.z=0),isNaN(t.z2)&&(E(),t.z2=0),isNaN(t.zlevel)&&(E(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);return}var r=l.indexOf(this._roots,t);r>=0&&this._roots.splice(r,1)},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),L=n(48506),P=n(51076);function N(){return new Date().getTime()}var B=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,n.stage=(e=e||{}).stage||{},n}return(0,u.C6)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=N()-this._pausedTime,n=e-this._time,r=this._head;r;){var i=r.next;r.step(e,n)&&(r.ondestroy(),this.removeClip(r)),r=i}this._time=e,!t&&(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,L.A)(function e(){t._running&&((0,L.A)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=N(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=N(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=N()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new P.A(t,e.loop);return this.addAnimator(n),n},e}(d.A),F=s.A.domSupported,j=(r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=l.map(r,function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t}),{mouse:r,touch:["touchstart","touchend","touchmove"],pointer:o}),z=["mousemove","mouseup"],H=["pointermove","pointerup"],V=!1;function U(t){var e=t.pointerType;return"pen"===e||"touch"===e}function W(t){t&&(t.zrByTouch=!0)}function q(t,e){for(var n=e,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return r}var G=function(t,e){this.stopPropagation=l.noop,this.stopImmediatePropagation=l.noop,this.preventDefault=l.noop,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},Z={mousedown:function(t){t=(0,p.e0)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,p.e0)(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,p.e0)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){q(this,(t=(0,p.e0)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){V=!0,t=(0,p.e0)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){V||(t=(0,p.e0)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){W(t=(0,p.e0)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Z.mousemove.call(this,t),Z.mousedown.call(this,t)},touchmove:function(t){W(t=(0,p.e0)(this.dom,t)),this.handler.processGesture(t,"change"),Z.mousemove.call(this,t)},touchend:function(t){W(t=(0,p.e0)(this.dom,t)),this.handler.processGesture(t,"end"),Z.mouseup.call(this,t),new Date-this.__lastTouchMoment<300&&Z.click.call(this,t)},pointerdown:function(t){Z.mousedown.call(this,t)},pointermove:function(t){U(t)||Z.mousemove.call(this,t)},pointerup:function(t){Z.mouseup.call(this,t)},pointerout:function(t){U(t)||Z.mouseout.call(this,t)}};l.each(["click","dblclick","contextmenu"],function(t){Z[t]=function(e){e=(0,p.e0)(this.dom,e),this.trigger(t,e)}});var Y={pointermove:function(t){U(t)||Y.mousemove.call(this,t)},pointerup:function(t){Y.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function $(t,e,n,r){t.mounted[e]=n,t.listenerOpts[e]=r,(0,p.q2)(t.domTarget,e,n,r)}function X(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,p.f)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var K=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},J=function(t){function e(e,n){var r,i,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=n,o._localHandlerScope=new K(e,Z),F&&(o._globalHandlerScope=new K(document,Y)),i=(r=o._localHandlerScope).domHandlers,s.A.pointerEventsSupported?l.each(j.pointer,function(t){$(r,t,function(e){i[t].call(o,e)})}):(s.A.touchEventsSupported&&l.each(j.touch,function(t){$(r,t,function(e){i[t].call(o,e),r.touching=!0,null!=r.touchTimer&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)})}),l.each(j.mouse,function(t){$(r,t,function(e){e=(0,p.mK)(e),r.touching||i[t].call(o,e)})})),o}return(0,u.C6)(e,t),e.prototype.dispose=function(){X(this._localHandlerScope),F&&X(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,F&&this.__pointerCapturing^t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){s.A.pointerEventsSupported?l.each(H,n):s.A.touchEventsSupported||l.each(z,n);function n(n){$(e,n,function(r){if(!q(t,(r=(0,p.mK)(r)).target)){var i;i=r,r=(0,p.e0)(t.dom,new G(t,i),!0),e.domHandlers[n].call(t,r)}},{capture:!0})}}(this,e):X(e)}},e}(d.A),Q=n(18439),tt=n(46391),te=n(96001),tn={},tr={},ti=function(){function t(t,e,n){var r,i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new R,a=n.renderer||"canvas";tn[a]||(a=l.keys(tn)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var u=new tn[a](e,o,n,t),c=n.ssr||u.ssrOnly;this.storage=o,this.painter=u;var h=s.A.node||s.A.worker||c?null:new J(u.getViewportRoot(),u.root),f=n.useCoarsePointer;(null==f||"auto"===f?s.A.touchEventsSupported:!!f)&&(r=l.retrieve2(n.pointerSize,44)),this.handler=new M(o,u,h,u.root,r),this.animation=new B({stage:{update:c?null:function(){return i._flush(!0)}}}),c||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,Q.lum)(t,1)<tt.ps;if(t.colorStops){for(var e=t.colorStops,n=0,r=e.length,i=0;i<r;i++)n+=(0,Q.lum)(e[i].color,1);return(n/=r)<tt.ps}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=N();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var r=N();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:r-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){!this._disposed&&(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof te.A&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){if(!this._disposed){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete tr[t]}},t}();function to(t,e){var n=new ti(l.guid(),t,e);return tr[n.id]=n,n}function ta(t){t.dispose()}function ts(){for(var t in tr)tr.hasOwnProperty(t)&&tr[t].dispose();tr={}}function tl(t){return tr[t]}function tu(t,e){tn[t]=e}function tc(t){if("function"==typeof a)return a(t)}function th(t){a=t}var tf="5.6.1"}}]);
|