@rsdoctor/client 1.2.2-beta.2 → 1.2.2

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.
@@ -1,3 +0,0 @@
1
- (self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["96"],{21310:function(t,e,n){"use strict";n.r(e),n.d(e,{limeDark:()=>R,cyanDark:()=>N,grey:()=>C,green:()=>x,presetPalettes:()=>A,goldDark:()=>P,blueDark:()=>z,greyDark:()=>H,greenDark:()=>Z,lime:()=>_,geekblueDark:()=>F,presetDarkPalettes:()=>W,gray:()=>E,red:()=>g,cyan:()=>w,purpleDark:()=>B,yellow:()=>b,yellowDark:()=>L,magentaDark:()=>j,orangeDark:()=>D,volcano:()=>y,gold:()=>m,purple:()=>M,orange:()=>v,generate:()=>d,magenta:()=>T,volcanoDark:()=>I,redDark:()=>O,blue:()=>S,geekblue:()=>k,presetPrimaryColors:()=>p});var r=n(1329);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.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0),t)if("string"==typeof t){let 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)}let e=t(this.r);return .2126*e+.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 b=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];b.primary=b[5];var _=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];_.primary=_[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 k=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];k.primary=k[5];var M=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];M.primary=M[5];var T=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];T.primary=T[5];var C=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];C.primary=C[5];var E=C,A={red:g,volcano:y,orange:v,gold:m,yellow:b,lime:_,green:x,cyan:w,blue:S,geekblue:k,purple:M,magenta:T,grey:C},O=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];O.primary=O[5];var I=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];I.primary=I[5];var D=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];D.primary=D[5];var P=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];P.primary=P[5];var L=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];L.primary=L[5];var R=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];R.primary=R[5];var Z=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Z.primary=Z[5];var N=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];N.primary=N[5];var z=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];z.primary=z[5];var F=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];F.primary=F[5];var B=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];B.primary=B[5];var j=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];j.primary=j[5];var H=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];H.primary=H[5];var W={red:O,volcano:I,orange:D,gold:P,yellow:L,lime:R,green:Z,cyan:N,blue:z,geekblue:F,purple:B,magenta:j,grey:H}},61387:function(t,e,n){"use strict";n.r(e),n.d(e,{unit:()=>tn,NaNLinter:()=>tG,createCache:()=>k,legacyNotSelectorLinter:()=>tU,useCacheToken:()=>tg,legacyLogicalPropertiesTransformer:()=>eo,px2remTransformer:()=>es,Theme:()=>H,parentSelectorLinter:()=>tY,Keyframes:()=>ee,useStyleRegister:()=>t4,_experimental:()=>el,extractStyle:()=>et,createTheme:()=>V,getComputedToken:()=>td,logicalPropertiesLinter:()=>tq,StyleProvider:()=>T,useCSSVarRegister:()=>t8,genCalc:()=>z,token2CSSVar:()=>ti});var r,i,o=n(56675),a=n(1329),s=n(93406),l=n(91189);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(67860),h=n(44194),f=n.t(h,2),d=n(83047),p=n(21179),g=n(43782),y=n(57758),v=n(90519);function m(t){return t.join("%")}var b=function(){function t(e){(0,y.Z)(this,t),(0,a.Z)(this,"instanceId",void 0),(0,a.Z)(this,"cache",new Map),this.instanceId=e}return(0,v.Z)(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}(),_=["children"],x="data-token-hash",w="data-css-hash",S="__cssinjs_instance__";function k(){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 b(t)}var M=h.createContext({hashPriority:"low",cache:k(),defaultCache:!0}),T=function(t){var e=t.children,n=(0,d.Z)(t,_),r=h.useContext(M),i=(0,p.Z)(function(){var t=(0,l.Z)({},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||k(),t.defaultCache=!e&&r.defaultCache,t},[r,n],function(t,e){return!(0,g.Z)(t[0],e[0],!0)||!(0,g.Z)(t[1],e[1],!0)});return h.createElement(M.Provider,{value:i},e)},C=n(55211),E=n(33866),A=n(27251),O=n(98466),I=n(2851),D=(0,v.Z)(function t(){(0,y.Z)(this,t)}),P="CALC_UNIT",L=RegExp(P,"g");function R(t){return"number"==typeof t?"".concat(t).concat(P):t}var Z=function(t){(0,O.Z)(n,t);var e=(0,I.Z)(n);function n(t,r){(0,y.Z)(this,n),i=e.call(this),(0,a.Z)((0,A.Z)(i),"result",""),(0,a.Z)((0,A.Z)(i),"unitlessCssVar",void 0),(0,a.Z)((0,A.Z)(i),"lowPriority",void 0);var i,o=(0,C.Z)(t);return i.unitlessCssVar=r,t instanceof n?i.result="(".concat(t.result,")"):"number"===o?i.result=R(t):"string"===o&&(i.result=t),i}return(0,v.Z)(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(R(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(R(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),N=function(t){(0,O.Z)(n,t);var e=(0,I.Z)(n);function n(t){var r;return(0,y.Z)(this,n),r=e.call(this),(0,a.Z)((0,A.Z)(r),"result",0),t instanceof n?r.result=t.result:"number"==typeof t&&(r.result=t),r}return(0,v.Z)(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 z=function(t,e){var n="css"===t?Z:N;return function(t){return new n(t,e)}};var F=function(){function t(){(0,y.Z)(this,t),(0,a.Z)(this,"cache",void 0),(0,a.Z)(this,"keys",void 0),(0,a.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,v.Z)(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.Z)(t,2)[1];return r.internalGet(e)[1]<n?[e,r.internalGet(e)[1]]:t},[this.keys[0],this.cacheCallTimes]),a=(0,o.Z)(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.Z)(F,"MAX_CACHE_SIZE",20),(0,a.Z)(F,"MAX_CACHE_OFFSET",5);var B=n(32970),j=0,H=function(){function t(e){(0,y.Z)(this,t),(0,a.Z)(this,"derivatives",void 0),(0,a.Z)(this,"id",void 0),this.derivatives=Array.isArray(e)?e:[e],this.id=j,0===e.length&&(0,B.Kp)(e.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),j+=1}return(0,v.Z)(t,[{key:"getDerivativeToken",value:function(t){return this.derivatives.reduce(function(e,n){return n(t,e)},void 0)}}]),t}(),W=new F;function V(t){var e=Array.isArray(t)?t:[t];return W.has(e)||W.set(e,new H(e)),W.get(e)}var U=new WeakMap,q={},G=new WeakMap;function Y(t){var e=G.get(t)||"";return e||(Object.keys(t).forEach(function(n){var r=t[n];e+=n,r instanceof H?e+=r.id:r&&"object"===(0,C.Z)(r)?e+=Y(r):e+=r}),e=u(e),G.set(t,e)),e}function X(t,e){return u("".concat(e,"_").concat(Y(t)))}var $="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),K="_bAmBoO_";function J(t,e,n){if((0,E.Z)()){(0,c.hq)(t,$);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.jL)($),a}return!1}var Q=void 0,tt=void 0,te=(0,E.Z)();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.Z)((0,l.Z)({},i),{},(r={},(0,a.Z)(r,x,e),(0,a.Z)(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.Z)(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.Z)(t,2),n=e[0],r=e[1];return"".concat(n,":").concat(r,";")}).join(""),"}"):"")]},ta=n(16374),ts=(0,l.Z)({},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.Z)(function(){return e(!0)},n)},tu=void 0!==(0,l.Z)({},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.Z)(e))),u=tu([l]),c=function(t){a.opUpdate(l,function(e){var r=(0,o.Z)(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.Z)(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.Z)(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.Z)((0,l.Z)({},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,b=function(t,e){for(var n=U,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(q)||n.set(q,t()),n.get(q)}(function(){return Object.assign.apply(Object,[{}].concat((0,s.Z)(e)))},e),_=Y(b),k=Y(g),T=m?Y(m):"";return tc(tp,[d,t.id,_,k,T],function(){var e,n=v?v(b,g,t):td(b,g,t,y),r=(0,l.Z)({},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.Z)(a,2);n=s[0],i=s[1]}var c=X(n,d);n._tokenKey=c,r._tokenKey=X(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.Z)(t,4),n=e[0],r=e[3];if(m&&r){var s=(0,c.hq)(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(39158);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",tb="rule",t_="decl",tx=Math.abs,tw=String.fromCharCode;function tS(t,e,n){return t.replace(e,n)}function tk(t,e){return 0|t.charCodeAt(e)}function tM(t,e,n){return t.slice(e,n)}function tT(t){return t.length}function tC(t,e){return e.push(t),t}function tE(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}function tA(t,e,n,r){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case t_:return t.return=t.return||t.value;case tm:return"";case"@keyframes":return t.return=t.value+"{"+tE(t.children,r)+"}";case tb:if(!tT(t.value=t.props.join(",")))return""}return tT(n=tE(t.children,r))?t.return=t.value+"{"+n+"}":""}var tO=1,tI=1,tD=0,tP=0,tL=0,tR="";function tZ(t,e,n,r,i,o,a,s){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:tO,column:tI,length:a,return:"",siblings:s}}function tN(){return tL=tP<tD?tk(tR,tP++):0,tI++,10===tL&&(tI=1,tO++),tL}function tz(){return tk(tR,tP)}function tF(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 tB(t){var e,n;return(e=tP-1,n=function t(e){for(;tN();)switch(tL){case e:return tP;case 34:case 39:34!==e&&39!==e&&t(tL);break;case 40:41===e&&t(e);break;case 92:tN()}return tP}(91===t?t+2:40===t?t+1:t),tM(tR,e,n)).trim()}function tj(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,b=tM(t,f+1,f=tx(y=a[g])),_=t;m<p;++m)(_=(y>0?d[m]+" "+b:tS(b,/&\f/g,d[m])).trim())&&(l[v++]=_);return tZ(t,e,n,0===i?tb:s,l,u,c,h)}function tH(t,e,n,r,i){return tZ(t,e,n,t_,tM(t,0,r),tM(t,r+1,-1),r,i)}function tW(t,e){var n=e.path,r=e.parentSelectors;(0,B.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(n?"Error in ".concat(n,": "):"").concat(t).concat(r.length?" Selector: ".concat(r.join(" | ")):""))}function tV(t){var e;return((null==(e=t.match(/:not\(([^)]*)\)/))?void 0:e[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter(function(t){return t}).length>1}let tU=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(tV)&&tW("Concat ':not' selector not support in legacy browsers.",n)},tq=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":tW("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]&&tW("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)&&tW("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)&&tW("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}},tG=function(t,e,n){("string"==typeof e&&/NaN/g.test(e)||Number.isNaN(e))&&tW("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})})&&tW("Should not use more than one `&` in a selector.",n)};var tX="data-ant-cssinjs-cache-path",t$="_FILE_STYLE__",tK=!0,tJ="_multi_value_";function tQ(t){var e,n,r;return tE((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,b=0,_=0,x=0,w=1,S=1,k=1,M=0,T="",C=o,E=a,A=i,O=T;S;)switch(x=M,M=tN()){case 40:if(108!=x&&58==tk(O,m-1)){-1!=(p=O+=tS(tB(M),"&","&\f"),g=tx(y?l[y-1]:0),p.indexOf("&\f",g))&&(k=-1);break}case 34:case 39:case 91:O+=tB(M);break;case 9:case 10:case 13:case 32:O+=function(t){for(;tL=tz();)if(tL<33)tN();else break;return tF(t)>2||tF(tL)>3?"":" "}(x);break;case 92:O+=function(t,e){for(var n;--e&&tN()&&!(tL<48)&&!(tL>102)&&(!(tL>57)||!(tL<65))&&(!(tL>70)||!(tL<97)););return n=tP+(e<6&&32==tz()&&32==tN()),tM(tR,t,n)}(tP-1,7);continue;case 47:switch(tz()){case 42:case 47:tC((c=function(t,e){for(;tN();)if(t+tL===57)break;else if(t+tL===84&&47===tz())break;return"/*"+tM(tR,e,tP-1)+"*"+tw(47===t?t:tN())}(tN(),tP),h=n,f=r,d=u,tZ(c,h,f,tm,tw(tL),tM(c,2,-2),0,d)),u),(5==tF(x||1)||5==tF(tz()||1))&&tT(O)&&" "!==tM(O,-1,void 0)&&(O+=" ");break;default:O+="/"}break;case 123*w:l[y++]=tT(O)*k;case 125*w:case 59:case 0:switch(M){case 0:case 125:S=0;case 59+v:-1==k&&(O=tS(O,/\f/g,"")),_>0&&(tT(O)-m||0===w&&47===x)&&tC(_>32?tH(O+";",i,r,m-1,u):tH(tS(O," ","")+";",i,r,m-2,u),u);break;case 59:O+=";";default:if(tC(A=tj(O,n,r,y,v,o,l,T,C=[],E=[],m,a),a),123===M)if(0===v)t(O,n,A,A,C,a,m,l,E);else switch(99===b&&110===tk(O,3)?100:b){case 100:case 108:case 109:case 115:t(e,A,A,i&&tC(tj(e,A,A,0,0,o,l,T,o,C=[],m,E),E),o,E,m,l,i?C:E);break;default:t(O,A,A,A,[""],E,0,l,E)}}y=v=_=0,w=k=1,T=O="",m=s;break;case 58:m=1+tT(O),_=x;default:if(w<1){if(123==M)--w;else if(125==M&&0==w++&&125==(tL=tP>0?tk(tR,--tP):0,tI--,10===tL&&(tI=1,tO--),tL))continue}switch(O+=tw(M),M*w){case 38:k=v>0?1:(O+="\f",-1);break;case 44:l[y++]=(tT(O)-1)*k,k=1;break;case 64:45===tz()&&(O+=tB(tN())),b=tz(),v=m=tT(T=O+=function(t){for(;!tF(tz());)tN();return tM(tR,t,tP)}(tP)),M++;break;case 45:45===x&&2==tT(O)&&(w=0)}}return a}("",null,null,null,[""],(n=e=t,tO=tI=1,tD=tT(tR=n),tP=0,e=[]),0,[0],e),tR="",r),tA).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.Z)(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.Z)(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,C.Z)(r)||!r||"animationName"===e&&r._keyframe||"object"===(0,C.Z)(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,C.Z)(r)&&null!=r&&r[tJ]&&Array.isArray(m)?m.forEach(function(t){d(e,t)}):d(e,m)}else{var b=!1,_=e.trim(),x=!1;(i||a)&&c?_.startsWith("@")?b=!0:_="&"===_?t0("",c,f):t0(e,c,f):i&&!c&&("&"===_||""===_)&&(_="",x=!0);var w=t(r,n,{root:x,injectHash:b,parentSelectors:[].concat((0,s.Z)(u),[_])}),S=(0,o.Z)(w,2),k=S[0],M=S[1];y=(0,l.Z)((0,l.Z)({},y),M),g+="".concat(_).concat(k)}})}}),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 t4(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,b=(v.mock,v.defaultCache),_=v.hashPriority,k=v.container,T=v.ssrInline,C=v.transformers,A=v.linters,O=v.cache,I=v.layer,D=n._tokenKey,P=[D];I&&P.push("layer"),P.push.apply(P,(0,s.Z)(i));var L=tc(t3,P,function(){var t=P.join("|");if(function(t){if(!r&&(r={},(0,E.Z)())){var e,n=document.createElement("div");n.className=tX,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.Z)(e,2),i=n[0],a=n[1];r[i]=a});var a=document.querySelector("style[".concat(tX,"]"));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,E.Z)())if(tK)n=t$;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.Z)(n,2),s=a[0],l=a[1];if(s)return[s,D,l,{},p,y]}var c=t1(e(),{hashId:u,hashPriority:_,layer:I?f:void 0,path:i.join("-"),transformers:C,linters:A}),h=(0,o.Z)(c,2),d=h[0],g=h[1],v=tQ(d),m=t2(P,v);return[v,D,m,g,p,y]},function(t,e){var n=(0,o.Z)(t,3)[2];(e||m)&&te&&(0,c.jL)(n,{mark:w})},function(t){var e=(0,o.Z)(t,4),n=e[0],r=(e[1],e[2]),i=e[3];if(te&&n!==t$){var a={mark:w,prepend:!I&&"queue",attachTo:k,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.hq)(tQ(i[t]),"_layer-".concat(t),(0,l.Z)((0,l.Z)({},a),{},{prepend:!0}))});var f=(0,c.hq)(n,r,a);f[S]=O.instanceId,f.setAttribute(x,D),h.forEach(function(t){(0,c.hq)(tQ(i[t]),"_effect-".concat(t),a)})}}),R=(0,o.Z)(L,3),Z=R[0],N=R[1],z=R[2];return function(t){var e,n;return e=T&&!te&&b?h.createElement("style",(0,ty.Z)({},(n={},(0,a.Z)(n,x,N),(0,a.Z)(n,w,z),n),{dangerouslySetInnerHTML:{__html:Z}})):h.createElement(t5,null),h.createElement(h.Fragment,null,e,t)}}var t6="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.Z)(t.path),[n,f,y]);return tc(t6,v,function(){var t=to(e(),n,{prefix:r,unitless:i,ignore:a,scope:f}),s=(0,o.Z)(t,2),l=s[0],u=s[1],c=t2(v,u);return[l,u,c,n]},function(t){var e=(0,o.Z)(t,3)[2];te&&(0,c.jL)(e,{mark:w})},function(t){var e=(0,o.Z)(t,3),r=e[1],i=e[2];if(r){var a=(0,c.hq)(r,i,{mark:w,prepend:"queue",attachTo:g,priority:-999});a[S]=p,a.setAttribute(x,n)}})};var t9=(i={},(0,a.Z)(i,t3,function(t,e,n){var r=(0,o.Z)(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.Z)(i,tp,function(t,e,n){var r=(0,o.Z)(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.Z)(i,t6,function(t,e,n){var r=(0,o.Z)(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.Z)(r,1)[0]])(t.cache.get(e)[1],h,{plain:i});if(!a)return null;var s=(0,o.Z)(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.Z)(t,1)[0]-(0,o.Z)(e,1)[0]}).forEach(function(t){var e=(0,o.Z)(t,2)[1];d+=e}),d+=tr(".".concat(tX,'{content:"').concat(Object.keys(f).map(function(t){var e=f[t];return"".concat(t,":").concat(e)}).join(";"),'";}'),void 0,void 0,(0,a.Z)({},tX,tX),i)}let ee=function(){function t(e,n){(0,y.Z)(this,t),(0,a.Z)(this,"name",void 0),(0,a.Z)(this,"style",void 0),(0,a.Z)(this,"_keyframe",!0),this.name=e,this.style=n}return(0,v.Z)(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.Z)(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.Z)({},t);return Object.entries(t).forEach(function(t){var n=(0,o.Z)(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($,') { content: "').concat(K,'"!important; }'),function(t){t.className=$})),Q&&(void 0===tt&&(tt=J(".".concat($," { inset-block: 93px !important; }"),function(t){t.className=$},function(t){return"93px"===getComputedStyle(t).bottom})),tt)}}},7415:function(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>td});var r=n(39158),i=n(91189),o=n(57758),a=n(90519),s=n(27318),l=n(92630),u=n(86991),c=n(98466),h=n(1329),f=n(44194),d=n(55211),p=n(83047);let g={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};var y=n(28521),v=n(41229),m=n.n(v);let b={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(t){return f.createElement("ul",{style:{display:"block"}},t)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(t){return f.createElement("button",null,t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};function _(t,e,n){return Math.max(e,Math.min(t,n))}var x=function(t){["onTouchStart","onTouchMove","onWheel"].includes(t._reactName)||t.preventDefault()},w=function(t){for(var e=[],n=S(t),r=k(t),i=n;i<r;i++)0>t.lazyLoadedList.indexOf(i)&&e.push(i);return e},S=function(t){return t.currentSlide-M(t)},k=function(t){return t.currentSlide+T(t)},M=function(t){return t.centerMode?Math.floor(t.slidesToShow/2)+ +(parseInt(t.centerPadding)>0):0},T=function(t){return t.centerMode?Math.floor((t.slidesToShow-1)/2)+1+ +(parseInt(t.centerPadding)>0):t.slidesToShow},C=function(t){return t&&t.offsetWidth||0},E=function(t){return t&&t.offsetHeight||0},A=function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=t.startX-t.curX,(n=Math.round(180*Math.atan2(t.startY-t.curY,e)/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315)return"left";if(n>=135&&n<=225)return"right";if(!0===r)if(n>=35&&n<=135)return"up";else return"down";return"vertical"},O=function(t){var e=!0;return!t.infinite&&(t.centerMode&&t.currentSlide>=t.slideCount-1?e=!1:(t.slideCount<=t.slidesToShow||t.currentSlide>=t.slideCount-t.slidesToShow)&&(e=!1)),e},I=function(t,e){var n={};return e.forEach(function(e){return n[e]=t[e]}),n},D=function(t){var e,n=f.Children.count(t.children),r=t.listRef,o=Math.ceil(C(r)),a=Math.ceil(C(t.trackRef&&t.trackRef.node));if(t.vertical)e=o;else{var s=t.centerMode&&2*parseInt(t.centerPadding);"string"==typeof t.centerPadding&&"%"===t.centerPadding.slice(-1)&&(s*=o/100),e=Math.ceil((o-s)/t.slidesToShow)}var l=r&&E(r.querySelector('[data-index="0"]')),u=l*t.slidesToShow,c=void 0===t.currentSlide?t.initialSlide:t.currentSlide;t.rtl&&void 0===t.currentSlide&&(c=n-1-t.initialSlide);var h=t.lazyLoadedList||[],d=w((0,i.Z)((0,i.Z)({},t),{},{currentSlide:c,lazyLoadedList:h})),p={slideCount:n,slideWidth:e,listWidth:o,trackWidth:a,currentSlide:c,slideHeight:l,listHeight:u,lazyLoadedList:h=h.concat(d)};return null===t.autoplaying&&t.autoplay&&(p.autoplaying="playing"),p},P=function(t){var e=t.waitForAnimate,n=t.animating,r=t.fade,o=t.infinite,a=t.index,s=t.slideCount,l=t.lazyLoad,u=t.currentSlide,c=t.centerMode,h=t.slidesToScroll,f=t.slidesToShow,d=t.useCSS,p=t.lazyLoadedList;if(e&&n)return{};var g,y,v,m=a,b={},x={},S=o?a:_(a,0,s-1);if(r){if(!o&&(a<0||a>=s))return{};a<0?m=a+s:a>=s&&(m=a-s),l&&0>p.indexOf(m)&&(p=p.concat(m)),b={animating:!0,currentSlide:m,lazyLoadedList:p,targetSlide:m},x={animating:!1,targetSlide:m}}else g=m,m<0?(g=m+s,o?s%h!=0&&(g=s-s%h):g=0):!O(t)&&m>u?m=g=u:c&&m>=s?(m=o?s:s-1,g=o?0:s-1):m>=s&&(g=m-s,o?s%h!=0&&(g=0):g=s-f),!o&&m+f>=s&&(g=s-f),y=W((0,i.Z)((0,i.Z)({},t),{},{slideIndex:m})),v=W((0,i.Z)((0,i.Z)({},t),{},{slideIndex:g})),o||(y===v&&(m=g),y=v),l&&(p=p.concat(w((0,i.Z)((0,i.Z)({},t),{},{currentSlide:m})))),d?(b={animating:!0,currentSlide:g,trackStyle:H((0,i.Z)((0,i.Z)({},t),{},{left:y})),lazyLoadedList:p,targetSlide:S},x={animating:!1,currentSlide:g,trackStyle:j((0,i.Z)((0,i.Z)({},t),{},{left:v})),swipeLeft:null,targetSlide:S}):b={currentSlide:g,trackStyle:j((0,i.Z)((0,i.Z)({},t),{},{left:v})),lazyLoadedList:p,targetSlide:S};return{state:b,nextState:x}},L=function(t,e){var n,r,o,a,s=t.slidesToScroll,l=t.slidesToShow,u=t.slideCount,c=t.currentSlide,h=t.targetSlide,f=t.lazyLoad,d=t.infinite;if(n=u%s!=0?0:(u-c)%s,"previous"===e.message)a=c-(o=0===n?s:l-n),f&&!d&&(a=-1==(r=c-o)?u-1:r),d||(a=h-s);else if("next"===e.message)a=c+(o=0===n?s:n),f&&!d&&(a=(c+s)%u+n),d||(a=h+s);else if("dots"===e.message)a=e.index*e.slidesToScroll;else if("children"===e.message){if(a=e.index,d){var p=G((0,i.Z)((0,i.Z)({},t),{},{targetSlide:a}));a>e.currentSlide&&"left"===p?a-=u:a<e.currentSlide&&"right"===p&&(a+=u)}}else"index"===e.message&&(a=Number(e.index));return a},R=function(t,e){var n=e.scrolling,r=e.animating,o=e.vertical,a=e.swipeToSlide,s=e.verticalSwiping,l=e.rtl,u=e.currentSlide,c=e.edgeFriction,h=e.edgeDragged,f=e.onEdge,d=e.swiped,p=e.swiping,g=e.slideCount,y=e.slidesToScroll,v=e.infinite,m=e.touchObject,b=e.swipeEvent,_=e.listHeight,w=e.listWidth;if(!n){if(r)return x(t);o&&a&&s&&x(t);var S,k={},M=W(e);m.curX=t.touches?t.touches[0].pageX:t.clientX,m.curY=t.touches?t.touches[0].pageY:t.clientY,m.swipeLength=Math.round(Math.sqrt(Math.pow(m.curX-m.startX,2)));var T=Math.round(Math.sqrt(Math.pow(m.curY-m.startY,2)));if(!s&&!p&&T>10)return{scrolling:!0};s&&(m.swipeLength=T);var C=(l?-1:1)*(m.curX>m.startX?1:-1);s&&(C=m.curY>m.startY?1:-1);var E=Math.ceil(g/y),I=A(e.touchObject,s),D=m.swipeLength;return!v&&(0===u&&("right"===I||"down"===I)||u+1>=E&&("left"===I||"up"===I)||!O(e)&&("left"===I||"up"===I))&&(D=m.swipeLength*c,!1===h&&f&&(f(I),k.edgeDragged=!0)),!d&&b&&(b(I),k.swiped=!0),S=o?M+_/w*D*C:l?M-D*C:M+D*C,s&&(S=M+D*C),k=(0,i.Z)((0,i.Z)({},k),{},{touchObject:m,swipeLeft:S,trackStyle:j((0,i.Z)((0,i.Z)({},e),{},{left:S}))}),Math.abs(m.curX-m.startX)<.8*Math.abs(m.curY-m.startY)||m.swipeLength>10&&(k.swiping=!0,x(t)),k}},Z=function(t,e){var n=e.dragging,r=e.swipe,o=e.touchObject,a=e.listWidth,s=e.touchThreshold,l=e.verticalSwiping,u=e.listHeight,c=e.swipeToSlide,h=e.scrolling,f=e.onSwipe,d=e.targetSlide,p=e.currentSlide,g=e.infinite;if(!n)return r&&x(t),{};var y=l?u/s:a/s,v=A(o,l),m={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(h||!o.swipeLength)return m;if(o.swipeLength>y){x(t),f&&f(v);var b,_,w=g?p:d;switch(v){case"left":case"up":_=w+F(e),b=c?z(e,_):_,m.currentDirection=0;break;case"right":case"down":_=w-F(e),b=c?z(e,_):_,m.currentDirection=1;break;default:b=w}m.triggerSlideHandler=b}else{var S=W(e);m.trackStyle=H((0,i.Z)((0,i.Z)({},e),{},{left:S}))}return m},N=function(t){for(var e=t.infinite?2*t.slideCount:t.slideCount,n=t.infinite?-1*t.slidesToShow:0,r=t.infinite?-1*t.slidesToShow:0,i=[];n<e;)i.push(n),n=r+t.slidesToScroll,r+=Math.min(t.slidesToScroll,t.slidesToShow);return i},z=function(t,e){var n=N(t),r=0;if(e>n[n.length-1])e=n[n.length-1];else for(var i in n){if(e<n[i]){e=r;break}r=n[i]}return e},F=function(t){var e=t.centerMode?t.slideWidth*Math.floor(t.slidesToShow/2):0;if(!t.swipeToSlide)return t.slidesToScroll;var n,r=t.listRef;if(Array.from(r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[]).every(function(r){if(t.vertical){if(r.offsetTop+E(r)/2>-1*t.swipeLeft)return n=r,!1}else if(r.offsetLeft-e+C(r)/2>-1*t.swipeLeft)return n=r,!1;return!0}),!n)return 0;var i=!0===t.rtl?t.slideCount-t.currentSlide:t.currentSlide;return Math.abs(n.dataset.index-i)||1},B=function(t,e){return e.reduce(function(e,n){return e&&t.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",t)},j=function(t){if(B(t,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),t.vertical){var e,n;n=(t.unslick?t.slideCount:t.slideCount+2*t.slidesToShow)*t.slideHeight}else e=q(t)*t.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(t.useTransform){var o=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",a=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",s=t.vertical?"translateY("+t.left+"px)":"translateX("+t.left+"px)";r=(0,i.Z)((0,i.Z)({},r),{},{WebkitTransform:o,transform:a,msTransform:s})}else t.vertical?r.top=t.left:r.left=t.left;return t.fade&&(r={opacity:1}),e&&(r.width=e),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(t.vertical?r.marginTop=t.left+"px":r.marginLeft=t.left+"px"),r},H=function(t){B(t,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var e=j(t);return t.useTransform?(e.WebkitTransition="-webkit-transform "+t.speed+"ms "+t.cssEase,e.transition="transform "+t.speed+"ms "+t.cssEase):t.vertical?e.transition="top "+t.speed+"ms "+t.cssEase:e.transition="left "+t.speed+"ms "+t.cssEase,e},W=function(t){if(t.unslick)return 0;B(t,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var e=t.slideIndex,n=t.trackRef,r=t.infinite,i=t.centerMode,o=t.slideCount,a=t.slidesToShow,s=t.slidesToScroll,l=t.slideWidth,u=t.listWidth,c=t.variableWidth,h=t.slideHeight,f=t.fade,d=t.vertical,p=0,g=0;if(f||1===t.slideCount)return 0;var y=0;if(r?(y=-V(t),o%s!=0&&e+s>o&&(y=-(e>o?a-(e-o):o%s)),i&&(y+=parseInt(a/2))):(o%s!=0&&e+s>o&&(y=a-o%s),i&&(y=parseInt(a/2))),p=y*l,g=y*h,v=d?-(e*h*1)+g:-(e*l*1)+p,!0===c){var v,m,b,_=n&&n.node;if(b=e+V(t),v=(m=_&&_.childNodes[b])?-1*m.offsetLeft:0,!0===i){b=r?e+V(t):e,m=_&&_.children[b],v=0;for(var x=0;x<b;x++)v-=_&&_.children[x]&&_.children[x].offsetWidth;v-=parseInt(t.centerPadding),v+=m&&(u-m.offsetWidth)/2}}return v},V=function(t){return t.unslick||!t.infinite?0:t.variableWidth?t.slideCount:t.slidesToShow+ +!!t.centerMode},U=function(t){return t.unslick||!t.infinite?0:t.slideCount},q=function(t){return 1===t.slideCount?1:V(t)+t.slideCount+U(t)},G=function(t){return t.targetSlide>t.currentSlide?t.targetSlide>t.currentSlide+Y(t)?"left":"right":t.targetSlide<t.currentSlide-X(t)?"right":"left"},Y=function(t){var e=t.slidesToShow,n=t.centerMode,r=t.rtl,i=t.centerPadding;if(n){var o=(e-1)/2+1;return parseInt(i)>0&&(o+=1),r&&e%2==0&&(o+=1),o}return r?0:e-1},X=function(t){var e=t.slidesToShow,n=t.centerMode,r=t.rtl,i=t.centerPadding;if(n){var o=(e-1)/2+1;return parseInt(i)>0&&(o+=1),r||e%2!=0||(o+=1),o}return r?e-1:0},$=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)},K=Object.keys(b),J=function(t){var e,n,r,i,o;return r=(o=t.rtl?t.slideCount-1-t.index:t.index)<0||o>=t.slideCount,t.centerMode?(i=Math.floor(t.slidesToShow/2),n=(o-t.currentSlide)%t.slideCount==0,o>t.currentSlide-i-1&&o<=t.currentSlide+i&&(e=!0)):e=t.currentSlide<=o&&o<t.currentSlide+t.slidesToShow,{"slick-slide":!0,"slick-active":e,"slick-center":n,"slick-cloned":r,"slick-current":o===(t.targetSlide<0?t.targetSlide+t.slideCount:t.targetSlide>=t.slideCount?t.targetSlide-t.slideCount:t.targetSlide)}},Q=function(t){var e={};return(void 0===t.variableWidth||!1===t.variableWidth)&&(e.width=t.slideWidth),t.fade&&(e.position="relative",t.vertical&&t.slideHeight?e.top=-t.index*parseInt(t.slideHeight):e.left=-t.index*parseInt(t.slideWidth),e.opacity=+(t.currentSlide===t.index),e.zIndex=t.currentSlide===t.index?999:998,t.useCSS&&(e.transition="opacity "+t.speed+"ms "+t.cssEase+", visibility "+t.speed+"ms "+t.cssEase)),e},tt=function(t,e){return t.key+"-"+e},te=function(t){var e,n=[],r=[],o=[],a=f.Children.count(t.children),s=S(t),l=k(t);return(f.Children.forEach(t.children,function(u,c){var h,d={message:"children",index:c,slidesToScroll:t.slidesToScroll,currentSlide:t.currentSlide};h=!t.lazyLoad||t.lazyLoad&&t.lazyLoadedList.indexOf(c)>=0?u:f.createElement("div",null);var p=Q((0,i.Z)((0,i.Z)({},t),{},{index:c})),g=h.props.className||"",y=J((0,i.Z)((0,i.Z)({},t),{},{index:c}));if(n.push(f.cloneElement(h,{key:"original"+tt(h,c),"data-index":c,className:m()(y,g),tabIndex:"-1","aria-hidden":!y["slick-active"],style:(0,i.Z)((0,i.Z)({outline:"none"},h.props.style||{}),p),onClick:function(e){h.props&&h.props.onClick&&h.props.onClick(e),t.focusOnSelect&&t.focusOnSelect(d)}})),t.infinite&&a>1&&!1===t.fade&&!t.unslick){var v=a-c;v<=V(t)&&((e=-v)>=s&&(h=u),y=J((0,i.Z)((0,i.Z)({},t),{},{index:e})),r.push(f.cloneElement(h,{key:"precloned"+tt(h,e),"data-index":e,tabIndex:"-1",className:m()(y,g),"aria-hidden":!y["slick-active"],style:(0,i.Z)((0,i.Z)({},h.props.style||{}),p),onClick:function(e){h.props&&h.props.onClick&&h.props.onClick(e),t.focusOnSelect&&t.focusOnSelect(d)}}))),(e=a+c)<l&&(h=u),y=J((0,i.Z)((0,i.Z)({},t),{},{index:e})),o.push(f.cloneElement(h,{key:"postcloned"+tt(h,e),"data-index":e,tabIndex:"-1",className:m()(y,g),"aria-hidden":!y["slick-active"],style:(0,i.Z)((0,i.Z)({},h.props.style||{}),p),onClick:function(e){h.props&&h.props.onClick&&h.props.onClick(e),t.focusOnSelect&&t.focusOnSelect(d)}}))}}),t.rtl)?r.concat(n,o).reverse():r.concat(n,o)},tn=function(t){function e(){(0,o.Z)(this,e);for(var t,n,r,i=arguments.length,a=Array(i),c=0;c<i;c++)a[c]=arguments[c];return n=e,r=[].concat(a),n=(0,u.Z)(n),t=(0,s.Z)(this,(0,l.Z)()?Reflect.construct(n,r||[],(0,u.Z)(this).constructor):n.apply(this,r)),(0,h.Z)(t,"node",null),(0,h.Z)(t,"handleRef",function(e){t.node=e}),t}return(0,c.Z)(e,t),(0,a.Z)(e,[{key:"render",value:function(){var t=te(this.props),e=this.props,n=e.onMouseEnter,i=e.onMouseOver,o=e.onMouseLeave;return f.createElement("div",(0,r.Z)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},{onMouseEnter:n,onMouseOver:i,onMouseLeave:o}),t)}}])}(f.PureComponent),tr=function(t){return t.infinite?Math.ceil(t.slideCount/t.slidesToScroll):Math.ceil((t.slideCount-t.slidesToShow)/t.slidesToScroll)+1},ti=function(t){function e(){var t,n;return(0,o.Z)(this,e),t=e,n=arguments,t=(0,u.Z)(t),(0,s.Z)(this,(0,l.Z)()?Reflect.construct(t,n||[],(0,u.Z)(this).constructor):t.apply(this,n))}return(0,c.Z)(e,t),(0,a.Z)(e,[{key:"clickHandler",value:function(t,e){e.preventDefault(),this.props.clickHandler(t)}},{key:"render",value:function(){for(var t=this.props,e=t.onMouseEnter,n=t.onMouseOver,r=t.onMouseLeave,o=t.infinite,a=t.slidesToScroll,s=t.slidesToShow,l=t.slideCount,u=t.currentSlide,c=tr({slideCount:l,slidesToScroll:a,slidesToShow:s,infinite:o}),h=[],d=0;d<c;d++){var p=(d+1)*a-1,g=o?p:_(p,0,l-1),y=g-(a-1),v=o?y:_(y,0,l-1),b=m()({"slick-active":o?u>=v&&u<=g:u===v}),x={message:"dots",index:d,slidesToScroll:a,currentSlide:u},w=this.clickHandler.bind(this,x);h=h.concat(f.createElement("li",{key:d,className:b},f.cloneElement(this.props.customPaging(d),{onClick:w})))}return f.cloneElement(this.props.appendDots(h),(0,i.Z)({className:this.props.dotsClass},{onMouseEnter:e,onMouseOver:n,onMouseLeave:r}))}}])}(f.PureComponent);function to(t,e,n){return e=(0,u.Z)(e),(0,s.Z)(t,(0,l.Z)()?Reflect.construct(e,n||[],(0,u.Z)(t).constructor):e.apply(t,n))}var ta=function(t){function e(){return(0,o.Z)(this,e),to(this,e,arguments)}return(0,c.Z)(e,t),(0,a.Z)(e,[{key:"clickHandler",value:function(t,e){e&&e.preventDefault(),this.props.clickHandler(t,e)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-prev":!0},e=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(t["slick-disabled"]=!0,e=null);var n={key:"0","data-role":"none",className:m()(t),style:{display:"block"},onClick:e},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?f.cloneElement(this.props.prevArrow,(0,i.Z)((0,i.Z)({},n),o)):f.createElement("button",(0,r.Z)({key:"0",type:"button"},n)," ","Previous")}}])}(f.PureComponent),ts=function(t){function e(){return(0,o.Z)(this,e),to(this,e,arguments)}return(0,c.Z)(e,t),(0,a.Z)(e,[{key:"clickHandler",value:function(t,e){e&&e.preventDefault(),this.props.clickHandler(t,e)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-next":!0},e=this.clickHandler.bind(this,{message:"next"});O(this.props)||(t["slick-disabled"]=!0,e=null);var n={key:"1","data-role":"none",className:m()(t),style:{display:"block"},onClick:e},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?f.cloneElement(this.props.nextArrow,(0,i.Z)((0,i.Z)({},n),o)):f.createElement("button",(0,r.Z)({key:"1",type:"button"},n)," ","Next")}}])}(f.PureComponent),tl=n(20759),tu=["animating"],tc=function(t){function e(t){(0,o.Z)(this,e),n=e,a=[t],n=(0,u.Z)(n),c=(0,s.Z)(this,(0,l.Z)()?Reflect.construct(n,a||[],(0,u.Z)(this).constructor):n.apply(this,a)),(0,h.Z)(c,"listRefHandler",function(t){return c.list=t}),(0,h.Z)(c,"trackRefHandler",function(t){return c.track=t}),(0,h.Z)(c,"adaptHeight",function(){if(c.props.adaptiveHeight&&c.list){var t=c.list.querySelector('[data-index="'.concat(c.state.currentSlide,'"]'));c.list.style.height=E(t)+"px"}}),(0,h.Z)(c,"componentDidMount",function(){if(c.props.onInit&&c.props.onInit(),c.props.lazyLoad){var t=w((0,i.Z)((0,i.Z)({},c.props),c.state));t.length>0&&(c.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),c.props.onLazyLoad&&c.props.onLazyLoad(t))}var e=(0,i.Z)({listRef:c.list,trackRef:c.track},c.props);c.updateState(e,!0,function(){c.adaptHeight(),c.props.autoplay&&c.autoPlay("playing")}),"progressive"===c.props.lazyLoad&&(c.lazyLoadTimer=setInterval(c.progressiveLazyLoad,1e3)),c.ro=new tl.Z(function(){c.state.animating?(c.onWindowResized(!1),c.callbackTimers.push(setTimeout(function(){return c.onWindowResized()},c.props.speed))):c.onWindowResized()}),c.ro.observe(c.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(t){t.onfocus=c.props.pauseOnFocus?c.onSlideFocus:null,t.onblur=c.props.pauseOnFocus?c.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",c.onWindowResized):window.attachEvent("onresize",c.onWindowResized)}),(0,h.Z)(c,"componentWillUnmount",function(){c.animationEndCallback&&clearTimeout(c.animationEndCallback),c.lazyLoadTimer&&clearInterval(c.lazyLoadTimer),c.callbackTimers.length&&(c.callbackTimers.forEach(function(t){return clearTimeout(t)}),c.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",c.onWindowResized):window.detachEvent("onresize",c.onWindowResized),c.autoplayTimer&&clearInterval(c.autoplayTimer),c.ro.disconnect()}),(0,h.Z)(c,"componentDidUpdate",function(t){if(c.checkImagesLoad(),c.props.onReInit&&c.props.onReInit(),c.props.lazyLoad){var e=w((0,i.Z)((0,i.Z)({},c.props),c.state));e.length>0&&(c.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),c.props.onLazyLoad&&c.props.onLazyLoad(e))}c.adaptHeight();var n=(0,i.Z)((0,i.Z)({listRef:c.list,trackRef:c.track},c.props),c.state),r=c.didPropsChange(t);r&&c.updateState(n,r,function(){c.state.currentSlide>=f.Children.count(c.props.children)&&c.changeSlide({message:"index",index:f.Children.count(c.props.children)-c.props.slidesToShow,currentSlide:c.state.currentSlide}),(t.autoplay!==c.props.autoplay||t.autoplaySpeed!==c.props.autoplaySpeed)&&(!t.autoplay&&c.props.autoplay?c.autoPlay("playing"):c.props.autoplay?c.autoPlay("update"):c.pause("paused"))})}),(0,h.Z)(c,"onWindowResized",function(t){c.debouncedResize&&c.debouncedResize.cancel(),c.debouncedResize=(0,y.D)(50,function(){return c.resizeWindow(t)}),c.debouncedResize()}),(0,h.Z)(c,"resizeWindow",function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(c.track&&c.track.node){var e=(0,i.Z)((0,i.Z)({listRef:c.list,trackRef:c.track},c.props),c.state);c.updateState(e,t,function(){c.props.autoplay?c.autoPlay("update"):c.pause("paused")}),c.setState({animating:!1}),clearTimeout(c.animationEndCallback),delete c.animationEndCallback}}),(0,h.Z)(c,"updateState",function(t,e,n){var r=D(t),o=W(t=(0,i.Z)((0,i.Z)((0,i.Z)({},t),r),{},{slideIndex:r.currentSlide})),a=j(t=(0,i.Z)((0,i.Z)({},t),{},{left:o}));(e||f.Children.count(c.props.children)!==f.Children.count(t.children))&&(r.trackStyle=a),c.setState(r,n)}),(0,h.Z)(c,"ssrInit",function(){if(c.props.variableWidth){var t=0,e=0,n=[],r=V((0,i.Z)((0,i.Z)((0,i.Z)({},c.props),c.state),{},{slideCount:c.props.children.length})),o=U((0,i.Z)((0,i.Z)((0,i.Z)({},c.props),c.state),{},{slideCount:c.props.children.length}));c.props.children.forEach(function(e){n.push(e.props.style.width),t+=e.props.style.width});for(var a=0;a<r;a++)e+=n[n.length-1-a],t+=n[n.length-1-a];for(var s=0;s<o;s++)t+=n[s];for(var l=0;l<c.state.currentSlide;l++)e+=n[l];var u={width:t+"px",left:-e+"px"};if(c.props.centerMode){var h="".concat(n[c.state.currentSlide],"px");u.left="calc(".concat(u.left," + (100% - ").concat(h,") / 2 ) ")}return{trackStyle:u}}var d=f.Children.count(c.props.children),p=(0,i.Z)((0,i.Z)((0,i.Z)({},c.props),c.state),{},{slideCount:d}),g=V(p)+U(p)+d,y=100/c.props.slidesToShow*g,v=100/g,m=-v*(V(p)+c.state.currentSlide)*y/100;return c.props.centerMode&&(m+=(100-v*y/100)/2),{slideWidth:v+"%",trackStyle:{width:y+"%",left:m+"%"}}}),(0,h.Z)(c,"checkImagesLoad",function(){var t=c.list&&c.list.querySelectorAll&&c.list.querySelectorAll(".slick-slide img")||[],e=t.length,n=0;Array.prototype.forEach.call(t,function(t){var r=function(){return++n&&n>=e&&c.onWindowResized()};if(t.onclick){var i=t.onclick;t.onclick=function(e){i(e),t.parentNode.focus()}}else t.onclick=function(){return t.parentNode.focus()};t.onload||(c.props.lazyLoad?t.onload=function(){c.adaptHeight(),c.callbackTimers.push(setTimeout(c.onWindowResized,c.props.speed))}:(t.onload=r,t.onerror=function(){r(),c.props.onLazyLoadError&&c.props.onLazyLoadError()}))})}),(0,h.Z)(c,"progressiveLazyLoad",function(){for(var t=[],e=(0,i.Z)((0,i.Z)({},c.props),c.state),n=c.state.currentSlide;n<c.state.slideCount+U(e);n++)if(0>c.state.lazyLoadedList.indexOf(n)){t.push(n);break}for(var r=c.state.currentSlide-1;r>=-V(e);r--)if(0>c.state.lazyLoadedList.indexOf(r)){t.push(r);break}t.length>0?(c.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),c.props.onLazyLoad&&c.props.onLazyLoad(t)):c.lazyLoadTimer&&(clearInterval(c.lazyLoadTimer),delete c.lazyLoadTimer)}),(0,h.Z)(c,"slideHandler",function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=c.props,r=n.asNavFor,o=n.beforeChange,a=n.onLazyLoad,s=n.speed,l=n.afterChange,u=c.state.currentSlide,h=P((0,i.Z)((0,i.Z)((0,i.Z)({index:t},c.props),c.state),{},{trackRef:c.track,useCSS:c.props.useCSS&&!e})),f=h.state,d=h.nextState;if(f){o&&o(u,f.currentSlide);var g=f.lazyLoadedList.filter(function(t){return 0>c.state.lazyLoadedList.indexOf(t)});a&&g.length>0&&a(g),!c.props.waitForAnimate&&c.animationEndCallback&&(clearTimeout(c.animationEndCallback),l&&l(u),delete c.animationEndCallback),c.setState(f,function(){r&&c.asNavForIndex!==t&&(c.asNavForIndex=t,r.innerSlider.slideHandler(t)),d&&(c.animationEndCallback=setTimeout(function(){var t=d.animating,e=(0,p.Z)(d,tu);c.setState(e,function(){c.callbackTimers.push(setTimeout(function(){return c.setState({animating:t})},10)),l&&l(f.currentSlide),delete c.animationEndCallback})},s))})}}),(0,h.Z)(c,"changeSlide",function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=L((0,i.Z)((0,i.Z)({},c.props),c.state),t);if((0===n||n)&&(!0===e?c.slideHandler(n,e):c.slideHandler(n),c.props.autoplay&&c.autoPlay("update"),c.props.focusOnSelect)){var r=c.list.querySelectorAll(".slick-current");r[0]&&r[0].focus()}}),(0,h.Z)(c,"clickHandler",function(t){!1===c.clickable&&(t.stopPropagation(),t.preventDefault()),c.clickable=!0}),(0,h.Z)(c,"keyHandler",function(t){var e,n,r=(e=c.props.accessibility,n=c.props.rtl,t.target.tagName.match("TEXTAREA|INPUT|SELECT")||!e?"":37===t.keyCode?n?"next":"previous":39===t.keyCode?n?"previous":"next":"");""!==r&&c.changeSlide({message:r})}),(0,h.Z)(c,"selectHandler",function(t){c.changeSlide(t)}),(0,h.Z)(c,"disableBodyScroll",function(){window.ontouchmove=function(t){(t=t||window.event).preventDefault&&t.preventDefault(),t.returnValue=!1}}),(0,h.Z)(c,"enableBodyScroll",function(){window.ontouchmove=null}),(0,h.Z)(c,"swipeStart",function(t){c.props.verticalSwiping&&c.disableBodyScroll();var e,n,r=(e=c.props.swipe,n=c.props.draggable,("IMG"===t.target.tagName&&x(t),e&&(n||-1===t.type.indexOf("mouse")))?{dragging:!0,touchObject:{startX:t.touches?t.touches[0].pageX:t.clientX,startY:t.touches?t.touches[0].pageY:t.clientY,curX:t.touches?t.touches[0].pageX:t.clientX,curY:t.touches?t.touches[0].pageY:t.clientY}}:"");""!==r&&c.setState(r)}),(0,h.Z)(c,"swipeMove",function(t){var e=R(t,(0,i.Z)((0,i.Z)((0,i.Z)({},c.props),c.state),{},{trackRef:c.track,listRef:c.list,slideIndex:c.state.currentSlide}));e&&(e.swiping&&(c.clickable=!1),c.setState(e))}),(0,h.Z)(c,"swipeEnd",function(t){var e=Z(t,(0,i.Z)((0,i.Z)((0,i.Z)({},c.props),c.state),{},{trackRef:c.track,listRef:c.list,slideIndex:c.state.currentSlide}));if(e){var n=e.triggerSlideHandler;delete e.triggerSlideHandler,c.setState(e),void 0!==n&&(c.slideHandler(n),c.props.verticalSwiping&&c.enableBodyScroll())}}),(0,h.Z)(c,"touchEnd",function(t){c.swipeEnd(t),c.clickable=!0}),(0,h.Z)(c,"slickPrev",function(){c.callbackTimers.push(setTimeout(function(){return c.changeSlide({message:"previous"})},0))}),(0,h.Z)(c,"slickNext",function(){c.callbackTimers.push(setTimeout(function(){return c.changeSlide({message:"next"})},0))}),(0,h.Z)(c,"slickGoTo",function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(t=Number(t)))return"";c.callbackTimers.push(setTimeout(function(){return c.changeSlide({message:"index",index:t,currentSlide:c.state.currentSlide},e)},0))}),(0,h.Z)(c,"play",function(){var t;if(c.props.rtl)t=c.state.currentSlide-c.props.slidesToScroll;else{if(!O((0,i.Z)((0,i.Z)({},c.props),c.state)))return!1;t=c.state.currentSlide+c.props.slidesToScroll}c.slideHandler(t)}),(0,h.Z)(c,"autoPlay",function(t){c.autoplayTimer&&clearInterval(c.autoplayTimer);var e=c.state.autoplaying;if("update"===t){if("hovered"===e||"focused"===e||"paused"===e)return}else if("leave"===t){if("paused"===e||"focused"===e)return}else if("blur"===t&&("paused"===e||"hovered"===e))return;c.autoplayTimer=setInterval(c.play,c.props.autoplaySpeed+50),c.setState({autoplaying:"playing"})}),(0,h.Z)(c,"pause",function(t){c.autoplayTimer&&(clearInterval(c.autoplayTimer),c.autoplayTimer=null);var e=c.state.autoplaying;"paused"===t?c.setState({autoplaying:"paused"}):"focused"===t?("hovered"===e||"playing"===e)&&c.setState({autoplaying:"focused"}):"playing"===e&&c.setState({autoplaying:"hovered"})}),(0,h.Z)(c,"onDotsOver",function(){return c.props.autoplay&&c.pause("hovered")}),(0,h.Z)(c,"onDotsLeave",function(){return c.props.autoplay&&"hovered"===c.state.autoplaying&&c.autoPlay("leave")}),(0,h.Z)(c,"onTrackOver",function(){return c.props.autoplay&&c.pause("hovered")}),(0,h.Z)(c,"onTrackLeave",function(){return c.props.autoplay&&"hovered"===c.state.autoplaying&&c.autoPlay("leave")}),(0,h.Z)(c,"onSlideFocus",function(){return c.props.autoplay&&c.pause("focused")}),(0,h.Z)(c,"onSlideBlur",function(){return c.props.autoplay&&"focused"===c.state.autoplaying&&c.autoPlay("blur")}),(0,h.Z)(c,"render",function(){var t,e,n,o=m()("slick-slider",c.props.className,{"slick-vertical":c.props.vertical,"slick-initialized":!0}),a=(0,i.Z)((0,i.Z)({},c.props),c.state),s=I(a,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),l=c.props.pauseOnHover;if(s=(0,i.Z)((0,i.Z)({},s),{},{onMouseEnter:l?c.onTrackOver:null,onMouseLeave:l?c.onTrackLeave:null,onMouseOver:l?c.onTrackOver:null,focusOnSelect:c.props.focusOnSelect&&c.clickable?c.selectHandler:null}),!0===c.props.dots&&c.state.slideCount>=c.props.slidesToShow){var u=I(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),h=c.props.pauseOnDotsHover;u=(0,i.Z)((0,i.Z)({},u),{},{clickHandler:c.changeSlide,onMouseEnter:h?c.onDotsLeave:null,onMouseOver:h?c.onDotsOver:null,onMouseLeave:h?c.onDotsLeave:null}),t=f.createElement(ti,u)}var d=I(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);d.clickHandler=c.changeSlide,c.props.arrows&&(e=f.createElement(ta,d),n=f.createElement(ts,d));var p=null;c.props.vertical&&(p={height:c.state.listHeight});var g=null;!1===c.props.vertical?!0===c.props.centerMode&&(g={padding:"0px "+c.props.centerPadding}):!0===c.props.centerMode&&(g={padding:c.props.centerPadding+" 0px"});var y=(0,i.Z)((0,i.Z)({},p),g),v=c.props.touchMove,b={className:"slick-list",style:y,onClick:c.clickHandler,onMouseDown:v?c.swipeStart:null,onMouseMove:c.state.dragging&&v?c.swipeMove:null,onMouseUp:v?c.swipeEnd:null,onMouseLeave:c.state.dragging&&v?c.swipeEnd:null,onTouchStart:v?c.swipeStart:null,onTouchMove:c.state.dragging&&v?c.swipeMove:null,onTouchEnd:v?c.touchEnd:null,onTouchCancel:c.state.dragging&&v?c.swipeEnd:null,onKeyDown:c.props.accessibility?c.keyHandler:null},_={className:o,dir:"ltr",style:c.props.style};return c.props.unslick&&(b={className:"slick-list"},_={className:o,style:c.props.style}),f.createElement("div",_,c.props.unslick?"":e,f.createElement("div",(0,r.Z)({ref:c.listRefHandler},b),f.createElement(tn,(0,r.Z)({ref:c.trackRefHandler},s),c.props.children)),c.props.unslick?"":n,c.props.unslick?"":t)}),c.list=null,c.track=null,c.state=(0,i.Z)((0,i.Z)({},g),{},{currentSlide:c.props.initialSlide,targetSlide:c.props.initialSlide?c.props.initialSlide:0,slideCount:f.Children.count(c.props.children)}),c.callbackTimers=[],c.clickable=!0,c.debouncedResize=null;var n,a,c,d=c.ssrInit();return c.state=(0,i.Z)((0,i.Z)({},c.state),d),c}return(0,c.Z)(e,t),(0,a.Z)(e,[{key:"didPropsChange",value:function(t){for(var e=!1,n=0,r=Object.keys(this.props);n<r.length;n++){var i=r[n];if(!t.hasOwnProperty(i)||!("object"===(0,d.Z)(t[i])||"function"==typeof t[i]||isNaN(t[i]))&&t[i]!==this.props[i]){e=!0;break}}return e||f.Children.count(this.props.children)!==f.Children.count(t.children)}}])}(f.Component),th=n(69632),tf=n.n(th);let td=function(t){function e(t){var n,r,i;return(0,o.Z)(this,e),r=e,i=[t],r=(0,u.Z)(r),n=(0,s.Z)(this,(0,l.Z)()?Reflect.construct(r,i||[],(0,u.Z)(this).constructor):r.apply(this,i)),(0,h.Z)(n,"innerSliderRefHandler",function(t){return n.innerSlider=t}),(0,h.Z)(n,"slickPrev",function(){return n.innerSlider.slickPrev()}),(0,h.Z)(n,"slickNext",function(){return n.innerSlider.slickNext()}),(0,h.Z)(n,"slickGoTo",function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.innerSlider.slickGoTo(t,e)}),(0,h.Z)(n,"slickPause",function(){return n.innerSlider.pause("paused")}),(0,h.Z)(n,"slickPlay",function(){return n.innerSlider.autoPlay("play")}),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return(0,c.Z)(e,t),(0,a.Z)(e,[{key:"media",value:function(t,e){var n=window.matchMedia(t),r=function(t){t.matches&&e()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:t,listener:r})}},{key:"componentDidMount",value:function(){var t=this;if(this.props.responsive){var e=this.props.responsive.map(function(t){return t.breakpoint});e.sort(function(t,e){return t-e}),e.forEach(function(n,r){var i;i=0===r?tf()({minWidth:0,maxWidth:n}):tf()({minWidth:e[r-1]+1,maxWidth:n}),$()&&t.media(i,function(){t.setState({breakpoint:n})})});var n=tf()({minWidth:e.slice(-1)[0]});$()&&this.media(n,function(){t.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(t){t.mql.removeListener(t.listener)})}},{key:"render",value:function(){var t,e,n=this;(t=this.state.breakpoint?"unslick"===(e=this.props.responsive.filter(function(t){return t.breakpoint===n.state.breakpoint}))[0].settings?"unslick":(0,i.Z)((0,i.Z)((0,i.Z)({},b),this.props),e[0].settings):(0,i.Z)((0,i.Z)({},b),this.props)).centerMode&&(t.slidesToScroll,t.slidesToScroll=1),t.fade&&(t.slidesToShow,t.slidesToScroll,t.slidesToShow=1,t.slidesToScroll=1);var o=f.Children.toArray(this.props.children);o=o.filter(function(t){return"string"==typeof t?!!t.trim():!!t}),t.variableWidth&&(t.rows>1||t.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);for(var a=[],s=null,l=0;l<o.length;l+=t.rows*t.slidesPerRow){for(var u=[],c=l;c<l+t.rows*t.slidesPerRow;c+=t.slidesPerRow){for(var h=[],d=c;d<c+t.slidesPerRow&&(t.variableWidth&&o[d].props.style&&(s=o[d].props.style.width),!(d>=o.length));d+=1)h.push(f.cloneElement(o[d],{key:100*l+10*c+d,tabIndex:-1,style:{width:"".concat(100/t.slidesPerRow,"%"),display:"inline-block"}}));u.push(f.createElement("div",{key:10*l+c},h))}t.variableWidth?a.push(f.createElement("div",{key:l,style:{width:s}},u)):a.push(f.createElement("div",{key:l},u))}if("unslick"===t){var p="regular slider "+(this.props.className||"");return f.createElement("div",{className:p},o)}return a.length<=t.slidesToShow&&!t.infinite&&(t.unslick=!0),f.createElement(tc,(0,r.Z)({style:this.props.style,ref:this.innerSliderRefHandler},K.reduce(function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e},{})),a)}}])}(f.Component)},20117:function(t,e,n){"use strict";n.d(e,{GC:()=>f,T6:()=>p,VD:()=>g,WE:()=>u,Wl:()=>d,Yt:()=>y,lC:()=>o,py:()=>l,rW:()=>i,s:()=>h,ve:()=>s,vq:()=>c});var r=n(33146);function i(t,e,n){return{r:255*(0,r.sh)(t,255),g:255*(0,r.sh)(e,255),b:255*(0,r.sh)(n,255)}}function o(t,e,n){t=(0,r.sh)(t,255);var i=Math.max(t,e=(0,r.sh)(e,255),n=(0,r.sh)(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.sh)(t,360),e=(0,r.sh)(e,100),n=(0,r.sh)(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.sh)(t,255);var i=Math.max(t,e=(0,r.sh)(e,255),n=(0,r.sh)(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.sh)(t,360),e=(0,r.sh)(e,100),n=(0,r.sh)(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.FZ)(Math.round(t).toString(16)),(0,r.FZ)(Math.round(e).toString(16)),(0,r.FZ)(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.FZ)(Math.round(t).toString(16)),(0,r.FZ)(Math.round(e).toString(16)),(0,r.FZ)(Math.round(n).toString(16)),(0,r.FZ)(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.FZ)(d(i)),(0,r.FZ)(Math.round(t).toString(16)),(0,r.FZ)(Math.round(e).toString(16)),(0,r.FZ)(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}}},53099:function(t,e,n){"use strict";n.d(e,{R:()=>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"}},76981:function(t,e,n){"use strict";n.d(e,{ky:()=>f,uA:()=>a,uz:()=>h});var r=n(20117),i=n(53099),o=n(33146);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.rW)(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.JX)(t.s),a=(0,o.JX)(t.v),e=(0,r.WE)(t.h,i,a),l=!0,u="hsv"):f(t.h)&&f(t.s)&&f(t.l)&&(i=(0,o.JX)(t.s),s=(0,o.JX)(t.l),e=(0,r.ve)(t.h,i,s),l=!0,u="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=(0,o.Yq)(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.R[t])t=i.R[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.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:e?"name":"hex8"}:(n=c.hex6.exec(t))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:e?"name":"hex"}:(n=c.hex4.exec(t))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:e?"name":"hex8"}:!!(n=c.hex3.exec(t))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:e?"name":"hex"}}function f(t){return!!c.CSS_UNIT.exec(String(t))}},66671:function(t,e,n){"use strict";n.d(e,{C:()=>s,H:()=>l});var r=n(20117),i=n(53099),o=n(76981),a=n(33146),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.Yt)(e)),this.originalInput=e;var i,a=(0,o.uA)(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.Yq)(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.py)(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.py)(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.lC)(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.lC)(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.vq)(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.s)(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.sh)(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.sh)(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.vq)(this.r,this.g,this.b,!1),e=0,n=Object.entries(i.R);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.V2)(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.V2)(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.V2)(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.V2)(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)}},41048:function(t,e,n){"use strict";n.r(e),n.d(e,{rgbaToHex:()=>s.s,tinycolor:()=>r.H,legacyRandom:()=>h,numberInputToObject:()=>s.Yt,hslToRgb:()=>s.ve,readability:()=>o,inputToRGB:()=>f.uA,rgbToHsv:()=>s.py,convertDecimalToHex:()=>s.Wl,names:()=>i.R,bounds:()=>y,hsvToRgb:()=>s.WE,isValidCSSUnit:()=>f.ky,mostReadable:()=>function t(e,n,i){void 0===i&&(i={includeFallbackColors:!1,level:"AA",size:"small"});for(var s=null,l=0,u=i.includeFallbackColors,c=i.level,h=i.size,f=0;f<n.length;f++){var d=n[f],p=o(e,d);p>l&&(l=p,s=new r.C(d))}return a(e,s,{level:c,size:h})||!u?s:(i.includeFallbackColors=!1,t(e,["#fff","#000"],i))},default:()=>v,rgbToHsl:()=>s.lC,rgbaToArgbHex:()=>s.GC,isReadable:()=>a,convertHexToDecimal:()=>s.T6,stringInputToObject:()=>f.uz,toMsFilter:()=>l,rgbToHex:()=>s.vq,TinyColor:()=>r.C,parseIntFromHex:()=>s.VD,fromRatio:()=>c,random:()=>function t(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var n,i,o,a=e.count,s=[];for(e.count=void 0;a>s.length;)e.count=null,e.seed&&(e.seed+=1),s.push(t(e));return e.count=a,s}var l=(n=e.hue,i=e.seed,(o=p(function(t){var e=parseInt(t,10);if(!Number.isNaN(e)&&e<360&&e>0)return[e,e];if("string"==typeof t){var n=y.find(function(e){return e.name===t});if(n){var i=g(n);if(i.hueRange)return i.hueRange}var o=new r.C(t);if(o.isValid){var a=o.toHsv().h;return[a,a]}}return[0,360]}(n),i))<0&&(o=360+o),o),u=function(t,e){if("monochrome"===e.hue)return 0;if("random"===e.luminosity)return p([0,100],e.seed);var n=d(t).saturationRange,r=n[0],i=n[1];switch(e.luminosity){case"bright":r=55;break;case"dark":r=i-10;break;case"light":i=55}return p([r,i],e.seed)}(l,e),c=function(t,e,n){var r=function(t,e){for(var n=d(t).lowerBounds,r=0;r<n.length-1;r++){var i=n[r][0],o=n[r][1],a=n[r+1][0],s=n[r+1][1];if(e>=i&&e<=a){var l=(s-o)/(a-i),u=o-l*i;return l*e+u}}return 0}(t,e),i=100;switch(n.luminosity){case"dark":i=r+20;break;case"light":r=(i+r)/2;break;case"random":r=0,i=100}return p([r,i],n.seed)}(l,u,e),h={h:l,s:u,v:c};return void 0!==e.alpha&&(h.a=e.alpha),new r.C(h)},rgbToRgb:()=>s.rW});var r=n(66671),i=n(53099);function o(t,e){var n=new r.C(t),i=new r.C(e);return(Math.max(n.getLuminance(),i.getLuminance())+.05)/(Math.min(n.getLuminance(),i.getLuminance())+.05)}function a(t,e,n){void 0===n&&(n={level:"AA",size:"small"});var r,i,a=o(t,e);switch((null!=(r=n.level)?r:"AA")+(null!=(i=n.size)?i:"small")){case"AAsmall":case"AAAlarge":return a>=4.5;case"AAlarge":return a>=3;case"AAAsmall":return a>=7;default:return!1}}var s=n(20117);function l(t,e){var n=new r.C(t),i="#"+(0,s.GC)(n.r,n.g,n.b,n.a),o=i,a=n.gradientType?"GradientType = 1, ":"";if(e){var l=new r.C(e);o="#"+(0,s.GC)(l.r,l.g,l.b,l.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(a,"startColorstr=").concat(i,",endColorstr=").concat(o,")")}var u=n(33146);function c(t,e){var n={r:(0,u.JX)(t.r),g:(0,u.JX)(t.g),b:(0,u.JX)(t.b)};return void 0!==t.a&&(n.a=Number(t.a)),new r.C(n,e)}function h(){return new r.C({r:Math.random(),g:Math.random(),b:Math.random()})}var f=n(76981);function d(t){t>=334&&t<=360&&(t-=360);for(var e=0;e<y.length;e++){var n=g(y[e]);if(n.hueRange&&t>=n.hueRange[0]&&t<=n.hueRange[1])return n}throw Error("Color not found")}function p(t,e){if(void 0===e)return Math.floor(t[0]+Math.random()*(t[1]+1-t[0]));var n=t[1]||1,r=t[0]||0;return Math.floor(r+(e=(9301*e+49297)%233280)/233280*(n-r))}function g(t){var e=t.lowerBounds[0][0],n=t.lowerBounds[t.lowerBounds.length-1][0],r=t.lowerBounds[t.lowerBounds.length-1][1],i=t.lowerBounds[0][1];return{name:t.name,hueRange:t.hueRange,lowerBounds:t.lowerBounds,saturationRange:[e,n],brightnessRange:[r,i]}}var y=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];let v=r.H},33146: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,{FZ:()=>s,JX:()=>a,V2:()=>i,Yq:()=>o,sh:()=>r})},62236:function(t,e,n){"use strict";n.d(e,{Z:()=>W});var r,i=n(91189),o=n(93406),a=n(55211),s=n(57758),l=n(90519),u=n(1329);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(27251),d=n(98466),p=n(2851),g=n(86991),y=n(8103),v=n(92630);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.Z)())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.Z)(i,n.prototype),i}(t,arguments,(0,g.Z)(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,y.Z)(n,t)})(t)}var b=n(73656),_=/%[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(_,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 k(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!==b&&b.env;var M=function(t){(0,d.Z)(n,t);var e=(0,p.Z)(n);function n(t,r){var i;return(0,s.Z)(this,n),i=e.call(this,"Async Validation Error"),(0,u.Z)((0,f.Z)(i),"errors",void 0),(0,u.Z)((0,f.Z)(i),"fields",void 0),i.errors=t,i.fields=r,i}return(0,l.Z)(n)}(m(Error));function T(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 C(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];"object"===(0,a.Z)(r)&&"object"===(0,a.Z)(t[n])?t[n]=(0,i.Z)((0,i.Z)({},t[n]),r):t[n]=r}}return t}var E="enum";let A=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))},O=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 I=/^(([^<>()\[\]\\.,;:\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,P={integer:function(t){return P.number(t)&&parseInt(t,10)===t},float:function(t){return P.number(t)&&!P.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.Z)(t)&&!P.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&t.length<=320&&!!t.match(I)},url:function(t){return"string"==typeof t&&t.length<=2048&&!!t.match(O())},hex:function(t){return"string"==typeof t&&!!t.match(D)}};let L=A,R=function(t,e,n,r,i){(/^\s+$/.test(e)||""===e)&&r.push(w(i.messages.whitespace,t.fullField))},Z=function(t,e,n,r,i){if(t.required&&void 0===e)return void A(t,e,n,r,i);var o=t.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?P[o](e)||r.push(w(i.messages.types[o],t.fullField,t.type)):o&&(0,a.Z)(e)!==t.type&&r.push(w(i.messages.types[o],t.fullField,t.type))},N=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))},z=function(t,e,n,r,i){t[E]=Array.isArray(t[E])?t[E]:[],-1===t[E].indexOf(e)&&r.push(w(i.messages[E],t.fullField,t[E].join(", ")))},F=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))))},B=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)||Z(t,e,r,a,i)}n(a)},j={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")||(Z(t,e,r,o,i),N(t,e,r,o,i),F(t,e,r,o,i),!0===t.whitespace&&R(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&&Z(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&&(Z(t,e,r,o,i),N(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&&Z(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)||Z(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&&(Z(t,e,r,o,i),N(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&&(Z(t,e,r,o,i),N(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&&(Z(t,e,r,o,i),N(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&&Z(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&&z(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")||F(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),Z(t,o,r,a,i),o&&N(t,o.getTime(),r,a,i))}n(a)},url:B,hex:B,email:B,required:function(t,e,n,r,i){var o=[],s=Array.isArray(e)?"array":(0,a.Z)(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 H=function(){function t(e){(0,s.Z)(this,t),(0,u.Z)(this,"rules",null),(0,u.Z)(this,"_messages",h),this.define(e)}return(0,l.Z)(t,[{key:"define",value:function(t){var e=this;if(!t)throw Error("Cannot configure a schema with no rules");if("object"!==(0,a.Z)(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=C(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()),C(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.Z)({},l)),null!=(o=l[t]=s.transform(o))&&(s.type=s.type||(Array.isArray(o)?"array":(0,a.Z)(o)))),(s="function"==typeof s?{validator:s}:(0,i.Z)({},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;k((s=[],Object.keys(t).forEach(function(e){s.push.apply(s,(0,o.Z)(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))k(r,n,f);else{var i=[],a=0,l=r.length;function u(t){i.push.apply(i,(0,o.Z)(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.Z)(h.fields)||"object"===(0,a.Z)(h.defaultField));function d(t,e){return(0,i.Z)((0,i.Z)({},e),{},{fullField:"".concat(h.fullField,".").concat(t),fullFields:h.fullFields?[].concat((0,o.Z)(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(T(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(T(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.Z)((0,i.Z)({},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.Z)(s)),t&&t.length&&e.push.apply(e,(0,o.Z)(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){!function(t){for(var e=[],n={},r=0;r<t.length;r++){var i,a=t[r];Array.isArray(a)?e=(i=e).concat.apply(i,(0,o.Z)(a)):e.push(a)}e.length?(n=x(e),f(e,n)):f(null,l)}(t)},l)}},{key:"getType",value:function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!=typeof t.validator&&t.type&&!j.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])?j.required:j[this.getType(t)]||void 0}}]),t}();(0,u.Z)(H,"register",function(t,e){if("function"!=typeof e)throw Error("Cannot register a validator by type, validator is not a function");j[t]=e}),(0,u.Z)(H,"warning",function(){}),(0,u.Z)(H,"messages",h),(0,u.Z)(H,"validators",j);let W=H},37411:function(t,e,n){"use strict";n.r(e),n.d(e,{Color:()=>b,default:()=>N,ColorBlock:()=>T});var r=n(39158),i=n(1329),o=n(56675),a=n(44194),s=n(91189),l=n(57758),u=n(90519),c=n(98466),h=n(2851),f=n(83047),d=n(55211),p=n(66671),g=["b"],y=["v"],v=function(t){return Math.round(Number(t||0))},m=function(t){if(t&&"object"===(0,d.Z)(t)&&"h"in t&&"b"in t){var e=t.b,n=(0,f.Z)(t,g);return(0,s.Z)((0,s.Z)({},n),{},{v:e})}return"string"==typeof t&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},b=function(t){(0,c.Z)(n,t);var e=(0,h.Z)(n);function n(t){return(0,l.Z)(this,n),e.call(this,m(t))}return(0,u.Z)(n,[{key:"toHsbString",value:function(){var t=this.toHsb(),e=v(100*t.s),n=v(100*t.b),r=v(t.h),i=t.a,o="hsb(".concat(r,", ").concat(e,"%, ").concat(n,"%)"),a="hsba(".concat(r,", ").concat(e,"%, ").concat(n,"%, ").concat(i.toFixed(2*(0!==i)),")");return 1===i?o:a}},{key:"toHsb",value:function(){var t=this.toHsv();"object"===(0,d.Z)(this.originalInput)&&this.originalInput&&"h"in this.originalInput&&(t=this.originalInput);var e=t,n=(e.v,(0,f.Z)(e,y));return(0,s.Z)((0,s.Z)({},n),{},{b:t.v,a:this.a})}}]),n}(p.C),_=function(t){return t instanceof b?t:new b(t)},x=_("#1677ff"),w=function(t){var e=t.offset,n=t.targetRef,r=t.containerRef,i=t.color,o=t.type,a=r.current.getBoundingClientRect(),l=a.width,u=a.height,c=n.current.getBoundingClientRect(),h=c.width,f=c.height,d=h/2,p=(e.x+d)/l,g=1-(e.y+f/2)/u,y=i.toHsb(),v=(e.x+d)/l*360;if(o)switch(o){case"hue":return _((0,s.Z)((0,s.Z)({},y),{},{h:v<=0?0:v}));case"alpha":return _((0,s.Z)((0,s.Z)({},y),{},{a:p<=0?0:p}))}return _({h:y.h,s:p<=0?0:p,b:g>=1?1:g,a:y.a})},S=function(t,e,n,r){var i=t.current.getBoundingClientRect(),o=i.width,a=i.height,s=e.current.getBoundingClientRect(),l=s.width,u=s.height,c=l/2,h=u/2,f=n.toHsb();if((0!==l||0!==u)&&l===u){if(r)switch(r){case"hue":return{x:f.h/360*o-c,y:-h/3};case"alpha":return{x:f.a/1*o-c,y:-h/3}}return{x:f.s*o-c,y:(1-f.b)*a-h}}},k=n(41229),M=n.n(k);let T=function(t){var e=t.color,n=t.prefixCls,r=t.className,i=t.style,o=t.onClick,s="".concat(n,"-color-block");return a.createElement("div",{className:M()(s,r),style:i,onClick:o},a.createElement("div",{className:"".concat(s,"-inner"),style:{background:e}}))},C=function(t){var e=t.offset,n=t.targetRef,r=t.containerRef,i=t.direction,s=t.onDragChange,l=t.onDragChangeComplete,u=t.calculate,c=t.color,h=t.disabledDrag,f=(0,a.useState)(e||{x:0,y:0}),d=(0,o.Z)(f,2),p=d[0],g=d[1],y=(0,a.useRef)(null),v=(0,a.useRef)(null),m=(0,a.useRef)({flag:!1});(0,a.useEffect)(function(){if(!1===m.current.flag){var t=null==u?void 0:u(r);t&&g(t)}},[c,r]),(0,a.useEffect)(function(){return function(){document.removeEventListener("mousemove",y.current),document.removeEventListener("mouseup",v.current),document.removeEventListener("touchmove",y.current),document.removeEventListener("touchend",v.current),y.current=null,v.current=null}},[]);var b=function(t){var e,o,a,l=(e="touches"in t?t.touches[0]:t,o=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,a=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset,{pageX:e.pageX-o,pageY:e.pageY-a}),u=l.pageX,c=l.pageY,h=r.current.getBoundingClientRect(),f=h.x,d=h.y,y=h.width,v=h.height,m=n.current.getBoundingClientRect(),b=m.width,_=m.height,x=Math.max(0,Math.min(c-d,v))-_/2,w={x:Math.max(0,Math.min(u-f,y))-b/2,y:"x"===i?p.y:x};if(0===b&&0===_||b!==_)return!1;g(w),null==s||s(w)},_=function(t){t.preventDefault(),b(t)},x=function(t){t.preventDefault(),m.current.flag=!1,document.removeEventListener("mousemove",y.current),document.removeEventListener("mouseup",v.current),document.removeEventListener("touchmove",y.current),document.removeEventListener("touchend",v.current),y.current=null,v.current=null,null==l||l()};return[p,function(t){document.removeEventListener("mousemove",y.current),document.removeEventListener("mouseup",v.current),h||(b(t),m.current.flag=!0,document.addEventListener("mousemove",_),document.addEventListener("mouseup",x),document.addEventListener("touchmove",_),document.addEventListener("touchend",x),y.current=_,v.current=x)}]};var E=n(40058);let A=function(t){var e=t.size,n=t.color,r=t.prefixCls;return a.createElement("div",{className:M()("".concat(r,"-handler"),(0,i.Z)({},"".concat(r,"-handler-sm"),"small"===(void 0===e?"default":e))),style:{backgroundColor:n}})},O=function(t){var e=t.children,n=t.style,r=t.prefixCls;return a.createElement("div",{className:"".concat(r,"-palette"),style:(0,s.Z)({position:"relative"},n)},e)};var I=(0,a.forwardRef)(function(t,e){var n=t.children,r=t.offset;return a.createElement("div",{ref:e,style:{position:"absolute",left:r.x,top:r.y,zIndex:1}},n)});let D=function(t){var e=t.color,n=t.onChange,r=t.prefixCls,i=t.onChangeComplete,s=t.disabled,l=(0,a.useRef)(),u=(0,a.useRef)(),c=(0,a.useRef)(e),h=(0,E.useEvent)(function(t){var r=w({offset:t,targetRef:u,containerRef:l,color:e});c.current=r,n(r)}),f=C({color:e,containerRef:l,targetRef:u,calculate:function(t){return S(t,u,e)},onDragChange:h,onDragChangeComplete:function(){return null==i?void 0:i(c.current)},disabledDrag:s}),d=(0,o.Z)(f,2),p=d[0],g=d[1];return a.createElement("div",{ref:l,className:"".concat(r,"-select"),onMouseDown:g,onTouchStart:g},a.createElement(O,{prefixCls:r},a.createElement(I,{offset:p,ref:u},a.createElement(A,{color:e.toRgbString(),prefixCls:r})),a.createElement("div",{className:"".concat(r,"-saturation"),style:{backgroundColor:"hsl(".concat(e.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},P=function(t){var e=t.colors,n=t.children,r=t.direction,i=t.type,o=t.prefixCls,s=(0,a.useMemo)(function(){return e.map(function(t,n){var r=_(t);return"alpha"===i&&n===e.length-1&&r.setAlpha(1),r.toRgbString()}).join(",")},[e,i]);return a.createElement("div",{className:"".concat(o,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(void 0===r?"to right":r,", ").concat(s,")")}},n)},L=function(t){var e=t.gradientColors,n=t.direction,r=t.type,i=void 0===r?"hue":r,s=t.color,l=t.value,u=t.onChange,c=t.onChangeComplete,h=t.disabled,f=t.prefixCls,d=(0,a.useRef)(),p=(0,a.useRef)(),g=(0,a.useRef)(s),y=(0,E.useEvent)(function(t){var e=w({offset:t,targetRef:p,containerRef:d,color:s,type:i});g.current=e,u(e)}),v=C({color:s,targetRef:p,containerRef:d,calculate:function(t){return S(t,p,s,i)},onDragChange:y,onDragChangeComplete:function(){null==c||c(g.current,i)},direction:"x",disabledDrag:h}),m=(0,o.Z)(v,2),b=m[0],_=m[1];return a.createElement("div",{ref:d,className:M()("".concat(f,"-slider"),"".concat(f,"-slider-").concat(i)),onMouseDown:_,onTouchStart:_},a.createElement(O,{prefixCls:f},a.createElement(I,{offset:b,ref:p},a.createElement(A,{size:"small",color:l,prefixCls:f})),a.createElement(P,{colors:e,direction:n,type:i,prefixCls:f})))},R=function(t,e){var n=e.defaultValue,r=e.value,i=(0,a.useState)(function(){var e;return _(e=void 0!==r?r:void 0!==n?n:t)}),s=(0,o.Z)(i,2),l=s[0],u=s[1];return(0,a.useEffect)(function(){r&&u(_(r))},[r]),[l,u]};var Z=["rgb(255, 0, 0) 0%","rgb(255, 255, 0) 17%","rgb(0, 255, 0) 33%","rgb(0, 255, 255) 50%","rgb(0, 0, 255) 67%","rgb(255, 0, 255) 83%","rgb(255, 0, 0) 100%"];let N=(0,a.forwardRef)(function(t,e){var n=t.value,s=t.defaultValue,l=t.prefixCls,u=void 0===l?"rc-color-picker":l,c=t.onChange,h=t.onChangeComplete,f=t.className,d=t.style,p=t.panelRender,g=t.disabledAlpha,y=void 0!==g&&g,v=t.disabled,m=void 0!==v&&v,b=R(x,{value:n,defaultValue:s}),w=(0,o.Z)(b,2),S=w[0],k=w[1],C=(0,a.useMemo)(function(){var t=_(S.toRgbString());return t.setAlpha(1),t.toRgbString()},[S]),E=M()("".concat(u,"-panel"),f,(0,i.Z)({},"".concat(u,"-panel-disabled"),m)),A={prefixCls:u,onChangeComplete:h,disabled:m},O=function(t,e){n||k(t),null==c||c(t,e)},I=a.createElement(a.Fragment,null,a.createElement(D,(0,r.Z)({color:S,onChange:O},A)),a.createElement("div",{className:"".concat(u,"-slider-container")},a.createElement("div",{className:M()("".concat(u,"-slider-group"),(0,i.Z)({},"".concat(u,"-slider-group-disabled-alpha"),y))},a.createElement(L,(0,r.Z)({gradientColors:Z,color:S,value:"hsl(".concat(S.toHsb().h,",100%, 50%)"),onChange:function(t){return O(t,"hue")}},A)),!y&&a.createElement(L,(0,r.Z)({type:"alpha",gradientColors:["rgba(255, 0, 4, 0) 0%",C],color:S,value:S.toRgbString(),onChange:function(t){return O(t,"alpha")}},A))),a.createElement(T,{color:S.toRgbString(),prefixCls:u})));return a.createElement("div",{className:E,style:d,ref:e},"function"==typeof p?p(I):I)})},81700:function(t,e,n){"use strict";n.d(e,{jM:()=>d,kr:()=>u,qp:()=>c});var r=n(56675),i=n(33417),o=n(16374),a=n(43782),s=n(44194),l=n(56321);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.Z)(u,1)[0];return(0,o.Z)(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.Z)("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.Z)(d,2)[1];return(0,o.Z)(function(){if(l)return c.add(t),function(){c.delete(t)};function t(t){var e=n(t);(0,a.Z)(f.current,e,!0)||p({})}},[l]),f.current}var h=n(39158),f=n(34221);function d(){var t=s.createContext(null);function e(){return s.useContext(t)}return{makeImmutable:function(n,r){var i=(0,f.Yr)(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.Z)({},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.Z)({},o,l))))};return i?s.forwardRef(o):o},responseImmutable:function(t,n){var r=(0,f.Yr)(t),i=function(n,i){return e(),s.createElement(t,(0,h.Z)({},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},32258:function(t,e,n){"use strict";n.d(e,{ZP:()=>c,FH:()=>function t(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var o=(0,a._V)(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(57758),i=n(90519),o=n(1329),a=n(28467),s=function(){function t(e){if((0,r.Z)(this,t),(0,o.Z)(this,"origin",""),(0,o.Z)(this,"negative",void 0),(0,o.Z)(this,"integer",void 0),(0,o.Z)(this,"decimal",void 0),(0,o.Z)(this,"decimalLen",void 0),(0,o.Z)(this,"empty",void 0),(0,o.Z)(this,"nan",void 0),(0,a.xb)(e)){this.empty=!0;return}if(this.origin=String(e),"-"===e||Number.isNaN(e)){this.nan=!0;return}var n=e;if((0,a.CC)(n)&&(n=Number(n)),n="string"==typeof n?n:(0,a.vP)(n),(0,a.mE)(n)){var i=(0,a._V)(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.Z)(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._V)(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._V)("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),t}(),l=function(){function t(e){if((0,r.Z)(this,t),(0,o.Z)(this,"origin",""),(0,o.Z)(this,"number",void 0),(0,o.Z)(this,"empty",void 0),(0,a.xb)(e)){this.empty=!0;return}this.origin=String(e),this.number=Number(e)}return(0,i.Z)(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.NX)(this.number),(0,a.NX)(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.NX)(this.number),(0,a.NX)(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.vP)(this.number):this.origin}}]),t}(),u=n(69801);function c(t){return(0,u.L)()?new s(t):new l(t)}},8106:function(t,e,n){"use strict";n.d(e,{ZP:()=>r});let r=n(32258).ZP},28467:function(t,e,n){"use strict";n.d(e,{CC:()=>a,NX:()=>s,_V:()=>o,mE:()=>u,vP:()=>l,xb:()=>i});var r=n(69801);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.L)()?BigInt(t).toString():Number.MAX_SAFE_INTEGER);if(t<Number.MIN_SAFE_INTEGER)return String((0,r.L)()?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))}},69801:function(t,e,n){"use strict";function r(){return"function"==typeof BigInt}n.d(e,{L:()=>r})},82738:function(t,e,n){"use strict";n.r(e),n.d(e,{useMutateObserver:()=>y,default:()=>v});var r=n(56675),i=n(44194),o=n(16374),a=n(34221),s=n(39277),l=n(33417),u=n(57758),c=n(90519),h=n(98466),f=n(2851),d=function(t){(0,h.Z)(n,t);var e=(0,f.Z)(n);function n(){return(0,u.Z)(this,n),e.apply(this,arguments)}return(0,c.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(i.Component),p=n(33866),g={subtree:!0,childList:!0,attributeFilter:["style","class"]};function y(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;i.useEffect(function(){if((0,p.Z)()&&t){var r,i=Array.isArray(t)?t:[t];return"MutationObserver"in window&&(r=new MutationObserver(e),i.forEach(function(t){r.observe(t,n)})),function(){var t,e;null==(t=r)||t.takeRecords(),null==(e=r)||e.disconnect()}}},[n,t])}let v=function(t){var e=t.children,n=t.options,u=t.onMutate,c=(0,l.Z)(void 0===u?function(){}:u),h=i.useRef(null),f=i.useRef(null),p=i.isValidElement(e)&&(0,a.Yr)(e),g=(0,a.x1)(f,p?e.ref:null),v=i.useState(null),m=(0,r.Z)(v,2),b=m[0],_=m[1];return(y(b,c,n),(0,o.Z)(function(){_((0,s.ZP)(f.current)||(0,s.ZP)(h.current))}),e)?i.createElement(d,{ref:h},p?i.cloneElement(e,{ref:g}):e):null}},660:function(t,e,n){"use strict";n.d(e,{Z:()=>v});var r=n(56675),i=n(44194),o=n(56321),a=n(33866);n(32970);var s=n(34221),l=i.createContext(null),u=n(93406),c=n(16374),h=[],f=n(67860),d=n(66666),p="rc-util-locker-".concat(Date.now()),g=0,y=function(t){return!1!==t&&((0,a.Z)()&&t?"string"==typeof t?document.querySelector(t):"function"==typeof t?t():t:null)};let v=i.forwardRef(function(t,e){var n,v,m,b=t.open,_=t.autoLock,x=t.getContainer,w=(t.debug,t.autoDestroy),S=void 0===w||w,k=t.children,M=i.useState(b),T=(0,r.Z)(M,2),C=T[0],E=T[1],A=C||b;i.useEffect(function(){(S||b)&&E(b)},[b,S]);var O=i.useState(function(){return y(x)}),I=(0,r.Z)(O,2),D=I[0],P=I[1];i.useEffect(function(){var t=y(x);P(null!=t?t:null)});var L=function(t,e){var n=i.useState(function(){return(0,a.Z)()?document.createElement("div"):null}),o=(0,r.Z)(n,1)[0],s=i.useRef(!1),f=i.useContext(l),d=i.useState(h),p=(0,r.Z)(d,2),g=p[0],y=p[1],v=f||(s.current?void 0:function(t){y(function(e){return[t].concat((0,u.Z)(e))})});function m(){o.parentElement||document.body.appendChild(o),s.current=!0}function b(){var t;null==(t=o.parentElement)||t.removeChild(o),s.current=!1}return(0,c.Z)(function(){return t?f?f(m):m():b(),b},[t]),(0,c.Z)(function(){g.length&&(g.forEach(function(t){return t()}),y(h))},[g]),[o,v]}(A&&!D,0),R=(0,r.Z)(L,2),Z=R[0],N=R[1],z=null!=D?D:Z;n=!!(_&&b&&(0,a.Z)()&&(z===Z||z===document.body)),v=i.useState(function(){return g+=1,"".concat(p,"_").concat(g)}),m=(0,r.Z)(v,1)[0],(0,c.Z)(function(){if(n){var t=(0,d.o)(document.body).width,e=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,f.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(e?"width: calc(100% - ".concat(t,"px);"):"","\n}"),m)}else(0,f.jL)(m);return function(){(0,f.jL)(m)}},[n,m]);var F=null;k&&(0,s.Yr)(k)&&e&&(F=k.ref);var B=(0,s.x1)(F,e);if(!A||!(0,a.Z)()||void 0===D)return null;var j=!1===z,H=k;return e&&(H=i.cloneElement(k,{ref:B})),i.createElement(l.Provider,{value:N},j?H:(0,o.createPortal)(H,z))})},43222:function(t,e,n){"use strict";n.r(e),n.d(e,{ERROR_LEVEL_MAP:()=>g,DEFAULT_SIZE:()=>y,DEFAULT_BACKGROUND_COLOR:()=>m,generatePath:()=>M,QRCodeSVG:()=>F,SPEC_MARGIN_SIZE:()=>w,getImageSettings:()=>C,DEFAULT_NEED_MARGIN:()=>_,DEFAULT_IMG_SCALE:()=>k,DEFAULT_MINVERSION:()=>x,DEFAULT_LEVEL:()=>v,isSupportPath2d:()=>A,DEFAULT_FRONT_COLOR:()=>b,QRCodeCanvas:()=>N,getMarginSize:()=>E,excavateModules:()=>T,DEFAULT_MARGIN_SIZE:()=>S});var r=n(64031);function i(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=(0,r.Z)(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}var o=n(57758),a=n(90519),s=n(1329);function l(t,e,n){if(e<0||e>31||t>>>e!=0)throw RangeError("Value out of range");for(var r=e-1;r>=0;r--)n.push(t>>>r&1)}function u(t,e){return(t>>>e&1)!=0}function c(t){if(!t)throw Error("Assertion error")}var h=function(){function t(e,n){(0,o.Z)(this,t),(0,s.Z)(this,"modeBits",void 0),(0,s.Z)(this,"numBitsCharCount",void 0),this.modeBits=e,this.numBitsCharCount=n}return(0,a.Z)(t,[{key:"numCharCountBits",value:function(t){return this.numBitsCharCount[Math.floor((t+7)/17)]}}]),t}();(0,s.Z)(h,"NUMERIC",new h(1,[10,12,14])),(0,s.Z)(h,"ALPHANUMERIC",new h(2,[9,11,13])),(0,s.Z)(h,"BYTE",new h(4,[8,16,16])),(0,s.Z)(h,"KANJI",new h(8,[8,10,12])),(0,s.Z)(h,"ECI",new h(7,[0,0,0]));var f=(0,a.Z)(function t(e,n){(0,o.Z)(this,t),(0,s.Z)(this,"ordinal",void 0),(0,s.Z)(this,"formatBits",void 0),this.ordinal=e,this.formatBits=n});(0,s.Z)(f,"LOW",new f(0,1)),(0,s.Z)(f,"MEDIUM",new f(1,0)),(0,s.Z)(f,"QUARTILE",new f(2,3)),(0,s.Z)(f,"HIGH",new f(3,2));var d=function(){function t(e,n,r){if((0,o.Z)(this,t),(0,s.Z)(this,"mode",void 0),(0,s.Z)(this,"numChars",void 0),(0,s.Z)(this,"bitData",void 0),this.mode=e,this.numChars=n,this.bitData=r,n<0)throw RangeError("Invalid argument");this.bitData=r.slice()}return(0,a.Z)(t,[{key:"getData",value:function(){return this.bitData.slice()}}],[{key:"makeBytes",value:function(e){var n,r=[],o=i(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;l(a,8,r)}}catch(t){o.e(t)}finally{o.f()}return new t(h.BYTE,e.length,r)}},{key:"makeNumeric",value:function(e){if(!t.isNumeric(e))throw RangeError("String contains non-numeric characters");for(var n=[],r=0;r<e.length;){var i=Math.min(e.length-r,3);l(parseInt(e.substring(r,r+i),10),3*i+1,n),r+=i}return new t(h.NUMERIC,e.length,n)}},{key:"makeAlphanumeric",value:function(e){if(!t.isAlphanumeric(e))throw RangeError("String contains unencodable characters in alphanumeric mode");var n,r=[];for(n=0;n+2<=e.length;n+=2){var i=45*t.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n));l(i+=t.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n+1)),11,r)}return n<e.length&&l(t.ALPHANUMERIC_CHARSET.indexOf(e.charAt(n)),6,r),new t(h.ALPHANUMERIC,e.length,r)}},{key:"makeSegments",value:function(e){return""==e?[]:t.isNumeric(e)?[t.makeNumeric(e)]:t.isAlphanumeric(e)?[t.makeAlphanumeric(e)]:[t.makeBytes(t.toUtf8ByteArray(e))]}},{key:"makeEci",value:function(e){var n=[];if(e<0)throw RangeError("ECI assignment value out of range");if(e<128)l(e,8,n);else if(e<16384)l(2,2,n),l(e,14,n);else if(e<1e6)l(6,3,n),l(e,21,n);else throw RangeError("ECI assignment value out of range");return new t(h.ECI,0,n)}},{key:"isNumeric",value:function(e){return t.NUMERIC_REGEX.test(e)}},{key:"isAlphanumeric",value:function(e){return t.ALPHANUMERIC_REGEX.test(e)}},{key:"getTotalBits",value:function(t,e){var n,r=0,o=i(t);try{for(o.s();!(n=o.n()).done;){var a=n.value,s=a.mode.numCharCountBits(e);if(a.numChars>=1<<s)return 1/0;r+=4+s+a.bitData.length}}catch(t){o.e(t)}finally{o.f()}return r}},{key:"toUtf8ByteArray",value:function(t){for(var e=encodeURI(t),n=[],r=0;r<e.length;r++)"%"!=e.charAt(r)?n.push(e.charCodeAt(r)):(n.push(parseInt(e.substring(r+1,r+3),16)),r+=2);return n}}]),t}();(0,s.Z)(d,"NUMERIC_REGEX",/^[0-9]*$/),(0,s.Z)(d,"ALPHANUMERIC_REGEX",/^[A-Z0-9 $%*+.\/:-]*$/),(0,s.Z)(d,"ALPHANUMERIC_CHARSET","0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:");var p=function(){function t(e,n,r,i){(0,o.Z)(this,t),(0,s.Z)(this,"size",void 0),(0,s.Z)(this,"mask",void 0),(0,s.Z)(this,"modules",[]),(0,s.Z)(this,"isFunction",[]),(0,s.Z)(this,"version",void 0),(0,s.Z)(this,"errorCorrectionLevel",void 0);var a=i;if(this.version=e,this.errorCorrectionLevel=n,e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version value out of range");if(a<-1||a>7)throw RangeError("Mask value out of range");this.size=4*e+17;for(var l=[],u=0;u<this.size;u++)l.push(!1);for(var h=0;h<this.size;h++)this.modules.push(l.slice()),this.isFunction.push(l.slice());this.drawFunctionPatterns();var f=this.addEccAndInterleave(r);if(this.drawCodewords(f),-1==a)for(var d=1e9,p=0;p<8;p++){this.applyMask(p),this.drawFormatBits(p);var g=this.getPenaltyScore();g<d&&(a=p,d=g),this.applyMask(p)}c(0<=a&&a<=7),this.mask=a,this.applyMask(a),this.drawFormatBits(a),this.isFunction=[]}return(0,a.Z)(t,[{key:"getModule",value:function(t,e){return 0<=t&&t<this.size&&0<=e&&e<this.size&&this.modules[e][t]}},{key:"getModules",value:function(){return this.modules}},{key:"drawFunctionPatterns",value:function(){for(var t=0;t<this.size;t++)this.setFunctionModule(6,t,t%2==0),this.setFunctionModule(t,6,t%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);for(var e=this.getAlignmentPatternPositions(),n=e.length,r=0;r<n;r++)for(var i=0;i<n;i++)(0!=r||0!=i)&&(0!=r||i!=n-1)&&(r!=n-1||0!=i)&&this.drawAlignmentPattern(e[r],e[i]);this.drawFormatBits(0),this.drawVersion()}},{key:"drawFormatBits",value:function(t){for(var e=this.errorCorrectionLevel.formatBits<<3|t,n=e,r=0;r<10;r++)n=n<<1^(n>>>9)*1335;var i=(e<<10|n)^21522;c(i>>>15==0);for(var o=0;o<=5;o++)this.setFunctionModule(8,o,u(i,o));this.setFunctionModule(8,7,u(i,6)),this.setFunctionModule(8,8,u(i,7)),this.setFunctionModule(7,8,u(i,8));for(var a=9;a<15;a++)this.setFunctionModule(14-a,8,u(i,a));for(var s=0;s<8;s++)this.setFunctionModule(this.size-1-s,8,u(i,s));for(var l=8;l<15;l++)this.setFunctionModule(8,this.size-15+l,u(i,l));this.setFunctionModule(8,this.size-8,!0)}},{key:"drawVersion",value:function(){if(!(this.version<7)){for(var t=this.version,e=0;e<12;e++)t=t<<1^(t>>>11)*7973;var n=this.version<<12|t;c(n>>>18==0);for(var r=0;r<18;r++){var i=u(n,r),o=this.size-11+r%3,a=Math.floor(r/3);this.setFunctionModule(o,a,i),this.setFunctionModule(a,o,i)}}}},{key:"drawFinderPattern",value:function(t,e){for(var n=-4;n<=4;n++)for(var r=-4;r<=4;r++){var i=Math.max(Math.abs(r),Math.abs(n)),o=t+r,a=e+n;0<=o&&o<this.size&&0<=a&&a<this.size&&this.setFunctionModule(o,a,2!=i&&4!=i)}}},{key:"drawAlignmentPattern",value:function(t,e){for(var n=-2;n<=2;n++)for(var r=-2;r<=2;r++)this.setFunctionModule(t+r,e+n,1!=Math.max(Math.abs(r),Math.abs(n)))}},{key:"setFunctionModule",value:function(t,e,n){this.modules[e][t]=n,this.isFunction[e][t]=!0}},{key:"addEccAndInterleave",value:function(e){var n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw RangeError("Invalid argument");for(var i=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],o=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],a=Math.floor(t.getNumRawDataModules(n)/8),s=i-a%i,l=Math.floor(a/i),u=[],h=t.reedSolomonComputeDivisor(o),f=0,d=0;f<i;f++){var p=e.slice(d,d+l-o+(f<s?0:1));d+=p.length;var g=t.reedSolomonComputeRemainder(p,h);f<s&&p.push(0),u.push(p.concat(g))}for(var y=[],v=function(t){u.forEach(function(e,n){(t!=l-o||n>=s)&&y.push(e[t])})},m=0;m<u[0].length;m++)v(m);return c(y.length==a),y}},{key:"drawCodewords",value:function(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw RangeError("Invalid argument");for(var n=0,r=this.size-1;r>=1;r-=2){6==r&&(r=5);for(var i=0;i<this.size;i++)for(var o=0;o<2;o++){var a=r-o,s=(r+1&2)==0?this.size-1-i:i;!this.isFunction[s][a]&&n<8*e.length&&(this.modules[s][a]=u(e[n>>>3],7-(7&n)),n++)}}c(n==8*e.length)}},{key:"applyMask",value:function(t){if(t<0||t>7)throw RangeError("Mask value out of range");for(var e=0;e<this.size;e++)for(var n=0;n<this.size;n++){var r=void 0;switch(t){case 0:r=(n+e)%2==0;break;case 1:r=e%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+e)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(e/2))%2==0;break;case 5:r=n*e%2+n*e%3==0;break;case 6:r=(n*e%2+n*e%3)%2==0;break;case 7:r=((n+e)%2+n*e%3)%2==0;break;default:throw Error("Unreachable")}!this.isFunction[e][n]&&r&&(this.modules[e][n]=!this.modules[e][n])}}},{key:"getPenaltyScore",value:function(){for(var e=0,n=0;n<this.size;n++){for(var r=!1,o=0,a=[0,0,0,0,0,0,0],s=0;s<this.size;s++)this.modules[n][s]==r?5==++o?e+=t.PENALTY_N1:o>5&&e++:(this.finderPenaltyAddHistory(o,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[n][s],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,a)*t.PENALTY_N3}for(var l=0;l<this.size;l++){for(var u=!1,h=0,f=[0,0,0,0,0,0,0],d=0;d<this.size;d++)this.modules[d][l]==u?5==++h?e+=t.PENALTY_N1:h>5&&e++:(this.finderPenaltyAddHistory(h,f),u||(e+=this.finderPenaltyCountPatterns(f)*t.PENALTY_N3),u=this.modules[d][l],h=1);e+=this.finderPenaltyTerminateAndCount(u,h,f)*t.PENALTY_N3}for(var p=0;p<this.size-1;p++)for(var g=0;g<this.size-1;g++){var y=this.modules[p][g];y==this.modules[p][g+1]&&y==this.modules[p+1][g]&&y==this.modules[p+1][g+1]&&(e+=t.PENALTY_N2)}var v,m=0,b=i(this.modules);try{for(b.s();!(v=b.n()).done;)m=v.value.reduce(function(t,e){return t+ +!!e},m)}catch(t){b.e(t)}finally{b.f()}var _=this.size*this.size,x=Math.ceil(Math.abs(20*m-10*_)/_)-1;return c(0<=x&&x<=9),c(0<=(e+=x*t.PENALTY_N4)&&e<=2568888),e}},{key:"getAlignmentPatternPositions",value:function(){if(1==this.version)return[];for(var t=Math.floor(this.version/7)+2,e=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*t-2)),n=[6],r=this.size-7;n.length<t;r-=e)n.splice(1,0,r);return n}},{key:"finderPenaltyCountPatterns",value:function(t){var e=t[1];c(e<=3*this.size);var n=e>0&&t[2]==e&&t[3]==3*e&&t[4]==e&&t[5]==e;return(n&&t[0]>=4*e&&t[6]>=e?1:0)+(n&&t[6]>=4*e&&t[0]>=e?1:0)}},{key:"finderPenaltyTerminateAndCount",value:function(t,e,n){var r=e;return t&&(this.finderPenaltyAddHistory(r,n),r=0),r+=this.size,this.finderPenaltyAddHistory(r,n),this.finderPenaltyCountPatterns(n)}},{key:"finderPenaltyAddHistory",value:function(t,e){var n=t;0==e[0]&&(n+=this.size),e.pop(),e.unshift(n)}}],[{key:"encodeText",value:function(e,n){var r=d.makeSegments(e);return t.encodeSegments(r,n)}},{key:"encodeBinary",value:function(e,n){var r=d.makeBytes(e);return t.encodeSegments([r],n)}},{key:"encodeSegments",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:40,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,s=!(arguments.length>5)||void 0===arguments[5]||arguments[5];if(!(t.MIN_VERSION<=r&&r<=o&&o<=t.MAX_VERSION)||a<-1||a>7)throw RangeError("Invalid value");for(m=r;;m++){var u=8*t.getNumDataCodewords(m,n),h=d.getTotalBits(e,m);if(h<=u){b=h;break}if(m>=o)throw RangeError("Data too long")}for(var p=n,g=0,y=[f.MEDIUM,f.QUARTILE,f.HIGH];g<y.length;g++){var v=y[g];s&&b<=8*t.getNumDataCodewords(m,v)&&(p=v)}var m,b,_,x=[],w=i(e);try{for(w.s();!(_=w.n()).done;){var S=_.value;l(S.mode.modeBits,4,x),l(S.numChars,S.mode.numCharCountBits(m),x);var k,M=i(S.getData());try{for(M.s();!(k=M.n()).done;){var T=k.value;x.push(T)}}catch(t){M.e(t)}finally{M.f()}}}catch(t){w.e(t)}finally{w.f()}c(x.length==b);var C=8*t.getNumDataCodewords(m,p);c(x.length<=C),l(0,Math.min(4,C-x.length),x),l(0,(8-x.length%8)%8,x),c(x.length%8==0);for(var E=236;x.length<C;E^=253)l(E,8,x);for(var A=[];8*A.length<x.length;)A.push(0);return x.forEach(function(t,e){return A[e>>>3]|=t<<7-(7&e)}),new t(m,p,A,a)}},{key:"getNumRawDataModules",value:function(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version number out of range");var n=(16*e+128)*e+64;if(e>=2){var r=Math.floor(e/7)+2;n-=(25*r-10)*r-55,e>=7&&(n-=36)}return c(208<=n&&n<=29648),n}},{key:"getNumDataCodewords",value:function(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}},{key:"reedSolomonComputeDivisor",value:function(e){if(e<1||e>255)throw RangeError("Degree out of range");for(var n=[],r=0;r<e-1;r++)n.push(0);n.push(1);for(var i=1,o=0;o<e;o++){for(var a=0;a<n.length;a++)n[a]=t.reedSolomonMultiply(n[a],i),a+1<n.length&&(n[a]^=n[a+1]);i=t.reedSolomonMultiply(i,2)}return n}},{key:"reedSolomonComputeRemainder",value:function(e,n){var r,o=n.map(function(){return 0}),a=i(e);try{for(a.s();!(r=a.n()).done;)!function(){var e=r.value^o.shift();o.push(0),n.forEach(function(n,r){return o[r]^=t.reedSolomonMultiply(n,e)})}()}catch(t){a.e(t)}finally{a.f()}return o}},{key:"reedSolomonMultiply",value:function(t,e){if(t>>>8!=0||e>>>8!=0)throw RangeError("Byte out of range");for(var n=0,r=7;r>=0;r--)n=n<<1^(n>>>7)*285^(e>>>r&1)*t;return c(n>>>8==0),n}}]),t}();(0,s.Z)(p,"MIN_VERSION",1),(0,s.Z)(p,"MAX_VERSION",40),(0,s.Z)(p,"PENALTY_N1",3),(0,s.Z)(p,"PENALTY_N2",3),(0,s.Z)(p,"PENALTY_N3",40),(0,s.Z)(p,"PENALTY_N4",10),(0,s.Z)(p,"ECC_CODEWORDS_PER_BLOCK",[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]]),(0,s.Z)(p,"NUM_ERROR_CORRECTION_BLOCKS",[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]);var g={L:f.LOW,M:f.MEDIUM,Q:f.QUARTILE,H:f.HIGH},y=128,v="L",m="#FFFFFF",b="#000000",_=!1,x=1,w=4,S=0,k=.1;function M(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[];return t.forEach(function(t,r){var i=null;t.forEach(function(o,a){if(!o&&null!==i){n.push("M".concat(i+e," ").concat(r+e,"h").concat(a-i,"v1H").concat(i+e,"z")),i=null;return}if(a===t.length-1){if(!o)return;null===i?n.push("M".concat(a+e,",").concat(r+e," h1v1H").concat(a+e,"z")):n.push("M".concat(i+e,",").concat(r+e," h").concat(a+1-i,"v1H").concat(i+e,"z"));return}o&&null===i&&(i=a)})}),n.join("")}function T(t,e){return t.slice().map(function(t,n){return n<e.y||n>=e.y+e.h?t:t.map(function(t,n){return(n<e.x||n>=e.x+e.w)&&t})})}function C(t,e,n,r){if(null==r)return null;var i=t.length+2*n,o=Math.floor(e*k),a=i/e,s=(r.width||o)*a,l=(r.height||o)*a,u=null==r.x?t.length/2-s/2:r.x*a,c=null==r.y?t.length/2-l/2:r.y*a,h=null==r.opacity?1:r.opacity,f=null;if(r.excavate){var d=Math.floor(u),p=Math.floor(c),g=Math.ceil(s+u-d),y=Math.ceil(l+c-p);f={x:d,y:p,w:g,h:y}}return{x:u,y:c,h:l,w:s,excavation:f,opacity:h,crossOrigin:r.crossOrigin}}function E(t,e){return null!=e?Math.floor(e):t?w:S}var A=function(){try{new Path2D().addPath(new Path2D)}catch(t){return!1}return!0}(),O=n(39158),I=n(91189),D=n(56675),P=n(83047),L=n(44194);function R(t){var e=t.value,n=t.level,r=t.minVersion,i=t.includeMargin,o=t.marginSize,a=t.imageSettings,s=t.size,l=(0,L.useMemo)(function(){var t=d.makeSegments(e);return p.encodeSegments(t,g[n],r)},[e,n,r]),u=(0,L.useMemo)(function(){var t=l.getModules(),e=E(i,o),n=t.length+2*e,r=C(t,s,e,a);return{cells:t,margin:e,numCells:n,calculatedImageSettings:r}},[l,s,a,i,o]),c=u.cells;return{qrcode:l,margin:u.margin,cells:c,numCells:u.numCells,calculatedImageSettings:u.calculatedImageSettings}}var Z=["value","size","level","bgColor","fgColor","includeMargin","minVersion","marginSize","style","imageSettings"],N=L.forwardRef(function(t,e){var n=t.value,r=t.size,i=void 0===r?y:r,o=t.level,a=t.bgColor,s=void 0===a?m:a,l=t.fgColor,u=void 0===l?b:l,c=t.includeMargin,h=t.minVersion,f=t.marginSize,d=t.style,p=t.imageSettings,g=(0,P.Z)(t,Z),w=null==p?void 0:p.src,S=(0,L.useRef)(null),k=(0,L.useRef)(null),C=(0,L.useCallback)(function(t){S.current=t,"function"==typeof e?e(t):e&&(e.current=t)},[e]),E=(0,L.useState)(!1),N=(0,D.Z)(E,2)[1],z=R({value:n,level:void 0===o?v:o,minVersion:void 0===h?x:h,includeMargin:void 0===c?_:c,marginSize:f,imageSettings:p,size:i}),F=z.margin,B=z.cells,j=z.numCells,H=z.calculatedImageSettings;(0,L.useEffect)(function(){if(null!=S.current){var t=S.current,e=t.getContext("2d");if(e){var n=B,r=k.current,o=null!=H&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;o&&null!=H.excavation&&(n=T(B,H.excavation));var a=window.devicePixelRatio||1;t.height=t.width=i*a;var l=i/j*a;e.scale(l,l),e.fillStyle=s,e.fillRect(0,0,j,j),e.fillStyle=u,A?e.fill(new Path2D(M(n,F))):B.forEach(function(t,n){t.forEach(function(t,r){t&&e.fillRect(r+F,n+F,1,1)})}),H&&(e.globalAlpha=H.opacity),o&&e.drawImage(r,H.x+F,H.y+F,H.w,H.h)}}}),(0,L.useEffect)(function(){N(!1)},[w]);var W=(0,I.Z)({height:i,width:i},d),V=null;return null!=w&&(V=L.createElement("img",{src:w,key:w,style:{display:"none"},onLoad:function(){N(!0)},ref:k,crossOrigin:null==H?void 0:H.crossOrigin})),L.createElement(L.Fragment,null,L.createElement("canvas",(0,O.Z)({style:W,height:i,width:i,ref:C,role:"img"},g)),V)});N.displayName="QRCodeCanvas";var z=["value","size","level","bgColor","fgColor","includeMargin","minVersion","title","marginSize","imageSettings"],F=L.forwardRef(function(t,e){var n=t.value,r=t.size,i=void 0===r?y:r,o=t.level,a=t.bgColor,s=t.fgColor,l=t.includeMargin,u=t.minVersion,c=t.title,h=t.marginSize,f=t.imageSettings,d=(0,P.Z)(t,z),p=R({value:n,level:void 0===o?v:o,minVersion:void 0===u?x:u,includeMargin:void 0===l?_:l,marginSize:h,imageSettings:f,size:i}),g=p.margin,w=p.cells,S=p.numCells,k=p.calculatedImageSettings,C=w,E=null;null!=f&&null!=k&&(null!=k.excavation&&(C=T(w,k.excavation)),E=L.createElement("image",{href:f.src,height:k.h,width:k.w,x:k.x+g,y:k.y+g,preserveAspectRatio:"none",opacity:k.opacity,crossOrigin:k.crossOrigin}));var A=M(C,g);return L.createElement("svg",(0,O.Z)({height:i,width:i,viewBox:"0 0 ".concat(S," ").concat(S),ref:e,role:"img"},d),!!c&&L.createElement("title",null,c),L.createElement("path",{fill:void 0===a?m:a,d:"M0,0 h".concat(S,"v").concat(S,"H0z"),shapeRendering:"crispEdges"}),L.createElement("path",{fill:void 0===s?b:s,d:A,shapeRendering:"crispEdges"}),E)});F.displayName="QRCodeSVG"},28608:function(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>I});var r=n(91189),i=n(39158),o=n(55211),a=n(56675),s=n(83047),l=n(44194),u=n(660),c=n(87307),h=n(41229),f=n.n(h),d=n(16374),p=n(46015);function g(t){return null!==t&&"object"===(0,o.Z)(t)}function y(t,e,n){if(!1===t||!1===e&&(!g(t)||!t.closeIcon))return null;var i,o="boolean"!=typeof e?e:void 0;return g(t)?(0,r.Z)((0,r.Z)({},t),{},{closeIcon:null!=(i=t.closeIcon)?i:o}):n||t||e?{closeIcon:o}:"empty"}var v=n(33417),m=n(31991),b={fill:"transparent",pointerEvents:"auto"};let _=function(t){var e=t.prefixCls,n=t.rootClassName,a=t.pos,s=t.showMask,c=t.style,h=t.fill,d=t.open,p=t.animated,g=t.zIndex,y=t.disabledInteraction,v=(0,m.Z)(),_="".concat(e,"-mask-").concat(v),x="object"===(0,o.Z)(p)?null==p?void 0:p.placeholder:p,w="undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return l.createElement(u.Z,{open:d,autoLock:!0},l.createElement("div",{className:f()("".concat(e,"-mask"),n),style:(0,r.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:g,pointerEvents:a&&!y?"none":"auto"},void 0===c?{}:c)},s?l.createElement("svg",{style:{width:"100%",height:"100%"}},l.createElement("defs",null,l.createElement("mask",{id:_},l.createElement("rect",(0,i.Z)({x:"0",y:"0"},w?{width:"100%",height:"100%"}:{width:"100vw",height:"100vh"},{fill:"white"})),a&&l.createElement("rect",{x:a.left,y:a.top,rx:a.radius,width:a.width,height:a.height,fill:"black",className:x?"".concat(e,"-placeholder-animated"):""}))),l.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:void 0===h?"rgba(0,0,0,0.5)":h,mask:"url(#".concat(_,")")}),a&&l.createElement(l.Fragment,null,l.createElement("rect",(0,i.Z)({},b,{x:"0",y:"0",width:"100%",height:a.top})),l.createElement("rect",(0,i.Z)({},b,{x:"0",y:"0",width:a.left,height:"100%"})),l.createElement("rect",(0,i.Z)({},b,{x:"0",y:a.top+a.height,width:"100%",height:"calc(100vh - ".concat(a.top+a.height,"px)")})),l.createElement("rect",(0,i.Z)({},b,{x:a.left+a.width,y:"0",width:"calc(100vw - ".concat(a.left+a.width,"px)"),height:"100%"})))):null))};var x=[0,0],w={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function S(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e={};return Object.keys(w).forEach(function(n){e[n]=(0,r.Z)((0,r.Z)({},w[n]),{},{autoArrow:t,targetOffset:x})}),e}S();var k=n(93406),M=n(67762);function T(t){var e,n=t.prefixCls,r=t.current,o=t.total,a=t.title,s=t.description,u=t.onClose,c=t.onPrev,h=t.onNext,d=t.onFinish,p=t.className,g=t.closable,y=(0,M.Z)(g||{},!0),v=null!=(e=null==g?void 0:g.closeIcon)?e:l.createElement("span",{className:"".concat(n,"-close-x")},"\xd7"),m=!!g;return l.createElement("div",{className:f()("".concat(n,"-content"),p)},l.createElement("div",{className:"".concat(n,"-inner")},m&&l.createElement("button",(0,i.Z)({type:"button",onClick:u,"aria-label":"Close"},y,{className:"".concat(n,"-close")}),v),l.createElement("div",{className:"".concat(n,"-header")},l.createElement("div",{className:"".concat(n,"-title")},a)),l.createElement("div",{className:"".concat(n,"-description")},s),l.createElement("div",{className:"".concat(n,"-footer")},l.createElement("div",{className:"".concat(n,"-sliders")},o>1?(0,k.Z)(Array.from({length:o}).keys()).map(function(t,e){return l.createElement("span",{key:t,className:e===r?"active":""})}):null),l.createElement("div",{className:"".concat(n,"-buttons")},0!==r?l.createElement("button",{className:"".concat(n,"-prev-btn"),onClick:c},"Prev"):null,r===o-1?l.createElement("button",{className:"".concat(n,"-finish-btn"),onClick:d},"Finish"):l.createElement("button",{className:"".concat(n,"-next-btn"),onClick:h},"Next")))))}let C=function(t){var e=t.current,n=t.renderPanel;return l.createElement(l.Fragment,null,"function"==typeof n?n(t,e):l.createElement(T,t))};var E=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon","closable","builtinPlacements","disabledInteraction"],A={left:"50%",top:"50%",width:1,height:1},O={block:"center",inline:"center"};let I=function(t){var e,n,h,g,m,b,x,w,k,M,T,I,D,P=t.prefixCls,L=void 0===P?"rc-tour":P,R=t.steps,Z=void 0===R?[]:R,N=t.defaultCurrent,z=t.current,F=t.onChange,B=t.onClose,j=t.onFinish,H=t.open,W=t.mask,V=t.arrow,U=t.rootClassName,q=t.placement,G=t.renderPanel,Y=t.gap,X=t.animated,$=t.scrollIntoViewOptions,K=t.zIndex,J=void 0===K?1001:K,Q=t.closeIcon,tt=t.closable,te=t.builtinPlacements,tn=t.disabledInteraction,tr=(0,s.Z)(t,E),ti=l.useRef(),to=(0,p.Z)(0,{value:z,defaultValue:N}),ta=(0,a.Z)(to,2),ts=ta[0],tl=ta[1],tu=(0,p.Z)(void 0,{value:H,postState:function(t){return!(ts<0)&&!(ts>=Z.length)&&(null==t||t)}}),tc=(0,a.Z)(tu,2),th=tc[0],tf=tc[1],td=l.useState(th),tp=(0,a.Z)(td,2),tg=tp[0],ty=tp[1],tv=l.useRef(th);(0,d.Z)(function(){th&&(tv.current||tl(0),ty(!0)),tv.current=th},[th]);var tm=Z[ts]||{},tb=tm.target,t_=tm.placement,tx=tm.style,tw=tm.arrow,tS=tm.className,tk=tm.mask,tM=tm.scrollIntoViewOptions,tT=void 0===tM?O:tM,tC=tm.closeIcon,tE=(e=tm.closable,l.useMemo(function(){var t=y(e,tC,!1),n=y(tt,Q,!0);return"empty"!==t?t:n},[tt,Q,e,tC])),tA=th&&(null!=tk?tk:void 0===W||W),tO=(n=null!=tT?tT:void 0===$?O:$,h=(0,l.useState)(void 0),m=(g=(0,a.Z)(h,2))[0],b=g[1],(0,d.Z)(function(){b(("function"==typeof tb?tb():tb)||null)}),x=(0,l.useState)(null),k=(w=(0,a.Z)(x,2))[0],M=w[1],T=(0,v.Z)(function(){if(m){t=window.innerWidth||document.documentElement.clientWidth,e=window.innerHeight||document.documentElement.clientHeight,i=(r=m.getBoundingClientRect()).top,o=r.right,a=r.bottom,s=r.left,i>=0&&s>=0&&o<=t&&a<=e||!H||m.scrollIntoView(n);var t,e,r,i,o,a,s,l=m.getBoundingClientRect(),u={left:l.left,top:l.top,width:l.width,height:l.height,radius:0};M(function(t){return JSON.stringify(t)!==JSON.stringify(u)?u:t})}else M(null)}),I=function(t){var e;return null!=(e=Array.isArray(null==Y?void 0:Y.offset)?null==Y?void 0:Y.offset[t]:null==Y?void 0:Y.offset)?e:6},(0,d.Z)(function(){return T(),window.addEventListener("resize",T),function(){window.removeEventListener("resize",T)}},[m,H,T]),[(0,l.useMemo)(function(){if(!k)return k;var t,e=I(0),n=I(1),r="number"!=typeof(t=null==Y?void 0:Y.radius)||Number.isNaN(t)?2:null==Y?void 0:Y.radius;return{left:k.left-e,top:k.top-n,width:k.width+2*e,height:k.height+2*n,radius:r}},[k,Y]),m]),tI=(0,a.Z)(tO,2),tD=tI[0],tP=tI[1],tL=null!=(D=null!=t_?t_:q)?D:null===tP?"center":"bottom",tR=!!tP&&(void 0===tw?void 0===V||V:tw),tZ="object"===(0,o.Z)(tR)&&tR.pointAtCenter;(0,d.Z)(function(){var t;null==(t=ti.current)||t.forceAlign()},[tZ,ts]);var tN=function(t){tl(t),null==F||F(t)},tz=(0,l.useMemo)(function(){return te?"function"==typeof te?te({arrowPointAtCenter:tZ}):te:S(tZ)},[te,tZ]);if(void 0===tP||!tg)return null;var tF=function(){tf(!1),null==B||B(ts)},tB="boolean"==typeof tA?void 0:tA;return l.createElement(l.Fragment,null,l.createElement(_,{zIndex:J,prefixCls:L,pos:tD,showMask:"boolean"==typeof tA?tA:!!tA,style:null==tB?void 0:tB.style,fill:null==tB?void 0:tB.color,open:th,animated:X,rootClassName:U,disabledInteraction:tn}),l.createElement(c.Z,(0,i.Z)({},tr,{builtinPlacements:tz,ref:ti,popupStyle:tx,popupPlacement:tL,popupVisible:th,popupClassName:f()(U,tS),prefixCls:L,popup:function(){return l.createElement(C,(0,i.Z)({arrow:tR,key:"content",prefixCls:L,total:Z.length,renderPanel:G,onPrev:function(){tN(ts-1)},onNext:function(){tN(ts+1)},onClose:tF,current:ts,onFinish:function(){tF(),null==j||j()}},Z[ts],{closable:tE}))},forceRender:!1,destroyPopupOnHide:!0,zIndex:J,getTriggerDOMNode:function(t){return t||tP||document.body},arrow:!!tR}),l.createElement(u.Z,{open:th,autoLock:!0},l.createElement("div",{className:f()(U,"".concat(L,"-target-placeholder")),style:(0,r.Z)((0,r.Z)({},tD||A),{},{position:"fixed",pointerEvents:"none"})}))))}},87307:function(t,e,n){"use strict";n.d(e,{Z:()=>j});var r=n(91189),i=n(56675),o=n(83047),a=n(660),s=n(41229),l=n.n(s),u=n(65401),c=n(39277),h=n(96614),f=n(33417),d=n(31991),p=n(16374),g=n(5250),y=n(44194),v=n(39158),m=n(36596),b=n(34221);function _(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],b=p[1];g!==m&&["t","b"].includes(g)?"t"===g?f.top=0:f.bottom=0:f.top=void 0===c?0:c,v!==b&&["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.Z)({},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,k=t.mask,M=t.arrow,T=t.arrowPos,C=t.align,E=t.motion,A=t.maskMotion,O=t.forceRender,I=t.getPopupContainer,D=t.autoDestroy,P=t.portal,L=t.zIndex,R=t.onMouseEnter,Z=t.onMouseLeave,N=t.onPointerEnter,z=t.onPointerDownCapture,F=t.ready,B=t.offsetX,j=t.offsetY,H=t.offsetR,W=t.offsetB,V=t.onAlign,U=t.onPrepare,q=t.stretch,G=t.targetWidth,Y=t.targetHeight,X="function"==typeof n?n():n,$=f||d,K=(null==I?void 0:I.length)>0,J=y.useState(!I||!K),Q=(0,i.Z)(J,2),tt=Q[0],te=Q[1];if((0,p.Z)(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(F||!f){var ti,to=C.points,ta=C.dynamicInset||(null==(ti=C._experimental)?void 0:ti.dynamicInset),ts=ta&&"r"===to[0][1],tl=ta&&"b"===to[0][0];ts?(tr.right=H,tr.left=tn):(tr.left=B,tr.right=tn),tl?(tr.bottom=W,tr.top=tn):(tr.top=j,tr.bottom=tn)}var tu={};return q&&(q.includes("height")&&Y?tu.height=Y:q.includes("minHeight")&&Y&&(tu.minHeight=Y),q.includes("width")&&G?tu.width=G:q.includes("minWidth")&&G&&(tu.minWidth=G)),f||(tu.pointerEvents="none"),y.createElement(P,{open:O||$,getContainer:I&&function(){return I(c)},autoDestroy:D},y.createElement(x,{prefixCls:a,open:f,zIndex:L,mask:k,motion:A}),y.createElement(u.default,{onResize:V,disabled:!f},function(t){return y.createElement(m.default,(0,v.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:O,leavedClassName:"".concat(a,"-hidden")},E,{onAppearPrepare:U,onEnterPrepare:U,visible:f,onVisibleChanged:function(t){var e;null==E||null==(e=E.onVisibleChanged)||e.call(E,t),h(t)}}),function(n,i){var u=n.className,c=n.style,h=l()(a,u,o);return y.createElement("div",{ref:(0,b.sQ)(t,e,i),className:h,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(T.x||0,"px"),"--arrow-y":"".concat(T.y||0,"px")},tr),tu),c),{},{boxSizing:"border-box",zIndex:L},s),onMouseEnter:R,onMouseLeave:Z,onPointerEnter:N,onClick:S,onPointerDownCapture:z},M&&y.createElement(_,{prefixCls:a,arrow:M,arrowPos:T,align:C}),y.createElement(w,{cache:!f&&!g},X))})}))}),k=y.forwardRef(function(t,e){var n=t.children,r=t.getTriggerDOMNode,i=(0,b.Yr)(n),o=y.useCallback(function(t){(0,b.mH)(e,r?r(t):t)},[r]),a=(0,b.x1)(o,(0,b.C4)(n));return i?y.cloneElement(n,{ref:a}):n}),M=y.createContext(null);function T(t){return t?Array.isArray(t)?t:[t]:[]}var C=n(27299);function E(t,e,n,r){return e||(n?{motionName:"".concat(t,"-").concat(n)}:r?{motionName:r}:null)}function A(t){return t.ownerDocument.defaultView}function O(t){for(var e=[],n=null==t?void 0:t.parentElement,r=["hidden","scroll","clip","auto"];n;){var i=A(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 I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(t)?e:t}function D(t){return I(parseFloat(t),0)}function P(t,e){var n=(0,r.Z)({},t);return(e||[]).forEach(function(t){if(!(t instanceof HTMLBodyElement||t instanceof HTMLHtmlElement)){var e=A(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=I(Math.round(u.width/f*1e3)/1e3),b=I(Math.round(u.height/c*1e3)/1e3),_=p*b,x=y*m,w=0,S=0;if("clip"===r){var k=D(i);w=k*m,S=k*b}var M=u.x+x-w,T=u.y+_-S,C=M+u.width+2*w-x-v*m-(f-d-y-v)*m,E=T+u.height+2*S-_-g*b-(c-h-p-g)*b;n.left=Math.max(n.left,M),n.top=Math.max(n.top,T),n.right=Math.min(n.right,C),n.bottom=Math.min(n.bottom,E)}}),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 R(t,e){var n=(0,i.Z)(e||[],2),r=n[0],o=n[1];return[L(t.width,r),L(t.height,o)]}function Z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[t[0],t[1]]}function N(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 z(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 F=n(93406);n(32970);var B=["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 j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return y.forwardRef(function(e,n){var a,s,v,m,b,_,x,w,D,L,j,H,W,V,U,q,G,Y=e.prefixCls,X=void 0===Y?"rc-trigger-popup":Y,$=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,tb=e.builtinPlacements,t_=void 0===tb?{}:tb,tx=e.popupAlign,tw=e.zIndex,tS=e.stretch,tk=e.getPopupClassNameFromAlign,tM=e.fresh,tT=e.alignPoint,tC=e.onPopupClick,tE=e.onPopupAlign,tA=e.arrow,tO=e.popupMotion,tI=e.maskMotion,tD=e.popupTransitionName,tP=e.popupAnimation,tL=e.maskTransitionName,tR=e.maskAnimation,tZ=e.className,tN=e.getTriggerDOMNode,tz=(0,o.Z)(e,B),tF=y.useState(!1),tB=(0,i.Z)(tF,2),tj=tB[0],tH=tB[1];(0,p.Z)(function(){tH((0,g.Z)())},[]);var tW=y.useRef({}),tV=y.useContext(M),tU=y.useMemo(function(){return{registerSubPopup:function(t,e){tW.current[t]=e,null==tV||tV.registerSubPopup(t,e)}}},[tV]),tq=(0,d.Z)(),tG=y.useState(null),tY=(0,i.Z)(tG,2),tX=tY[0],t$=tY[1],tK=y.useRef(null),tJ=(0,f.Z)(function(t){tK.current=t,(0,c.Sh)(t)&&tX!==t&&t$(t),null==tV||tV.registerSubPopup(tq,t)}),tQ=y.useState(null),t0=(0,i.Z)(tQ,2),t1=t0[0],t2=t0[1],t5=y.useRef(null),t3=(0,f.Z)(function(t){(0,c.Sh)(t)&&t1!==t&&(t2(t),t5.current=t)}),t4=y.Children.only($),t6=(null==t4?void 0:t4.props)||{},t8={},t9=(0,f.Z)(function(t){var e,n;return(null==t1?void 0:t1.contains(t))||(null==(e=(0,h.A)(t1))?void 0:e.host)===t||t===t1||(null==tX?void 0:tX.contains(t))||(null==(n=(0,h.A)(tX))?void 0:n.host)===t||t===tX||Object.values(tW.current).some(function(e){return(null==e?void 0:e.contains(t))||t===e})}),t7=E(X,tO,tP,tD),et=E(X,tI,tR,tL),ee=y.useState(te||!1),en=(0,i.Z)(ee,2),er=en[0],ei=en[1],eo=null!=tt?tt:er,ea=(0,f.Z)(function(t){void 0===tt&&ei(t)});(0,p.Z)(function(){ei(tt||!1)},[tt]);var es=y.useRef(eo);es.current=eo;var el=y.useRef([]);el.current=[];var eu=(0,f.Z)(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.Z)(ed,2),eg=ep[0],ey=ep[1];(0,p.Z)(function(t){(!t||eo)&&ey(!0)},[eo]);var ev=y.useState(null),em=(0,i.Z)(ev,2),eb=em[0],e_=em[1],ex=y.useState(null),ew=(0,i.Z)(ex,2),eS=ew[0],ek=ew[1],eM=function(t){ek([t.clientX,t.clientY])},eT=(a=tT&&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:t_[tm]||{}}),m=(v=(0,i.Z)(s,2))[0],b=v[1],_=y.useRef(0),x=y.useMemo(function(){return tX?O(tX):[]},[tX]),w=y.useRef({}),eo||(w.current={}),D=(0,f.Z)(function(){if(tX&&a&&eo){var t=tX.ownerDocument,e=A(tX).getComputedStyle(tX),n=e.width,o=e.height,s=e.position,l=tX.style.left,u=tX.style.top,h=tX.style.right,f=tX.style.bottom,d=tX.style.overflow,p=(0,r.Z)((0,r.Z)({},t_[tm]),tx),g=t.createElement("div");if(null==(S=tX.parentElement)||S.appendChild(g),g.style.left="".concat(tX.offsetLeft,"px"),g.style.top="".concat(tX.offsetTop,"px"),g.style.position=s,g.style.height="".concat(tX.offsetHeight,"px"),g.style.width="".concat(tX.offsetWidth,"px"),tX.style.left="0",tX.style.top="0",tX.style.right="auto",tX.style.bottom="auto",tX.style.overflow="hidden",Array.isArray(a))E={x:a[0],y:a[1],width:0,height:0};else{var y,v,m,_,S,k,M,T,E,O,D,L=a.getBoundingClientRect();L.x=null!=(O=L.x)?O:L.left,L.y=null!=(D=L.y)?D:L.top,E={x:L.x,y:L.y,width:L.width,height:L.height}}var F=tX.getBoundingClientRect();F.x=null!=(k=F.x)?k:F.left,F.y=null!=(M=F.y)?M:F.top;var B=t.documentElement,j=B.clientWidth,H=B.clientHeight,W=B.scrollWidth,V=B.scrollHeight,U=B.scrollTop,q=B.scrollLeft,G=F.height,Y=F.width,X=E.height,$=E.width,K=p.htmlRegion,J="visible",Q="visibleFirst";"scroll"!==K&&K!==Q&&(K=J);var tt=K===Q,te=P({left:-q,top:-U,right:W-q,bottom:V-U},x),tn=P({left:0,top:0,right:j,bottom:H},x),tr=K===J?tn:te,ti=tt?tn:tr;tX.style.left="auto",tX.style.top="auto",tX.style.right="0",tX.style.bottom="0";var to=tX.getBoundingClientRect();tX.style.left=l,tX.style.top=u,tX.style.right=h,tX.style.bottom=f,tX.style.overflow=d,null==(T=tX.parentElement)||T.removeChild(g);var ta=I(Math.round(Y/parseFloat(n)*1e3)/1e3),ts=I(Math.round(G/parseFloat(o)*1e3)/1e3);if(!(0===ta||0===ts||(0,c.Sh)(a)&&!(0,C.Z)(a))){var tl=p.offset,tu=p.targetOffset,tc=R(F,tl),th=(0,i.Z)(tc,2),tf=th[0],td=th[1],tp=R(E,tu),tg=(0,i.Z)(tp,2),ty=tg[0],tv=tg[1];E.x-=ty,E.y-=tv;var tb=p.points||[],tw=(0,i.Z)(tb,2),tS=tw[0],tk=Z(tw[1]),tM=Z(tS),tT=N(E,tk),tC=N(F,tM),tA=(0,r.Z)({},p),tO=tT.x-tC.x+tf,tI=tT.y-tC.y+td,tD=ec(tO,tI),tP=ec(tO,tI,tn),tL=N(E,["t","l"]),tR=N(F,["t","l"]),tZ=N(E,["b","r"]),tN=N(F,["b","r"]),tz=p.overflow||{},tF=tz.adjustX,tB=tz.adjustY,tj=tz.shiftX,tH=tz.shiftY,tW=function(t){return"boolean"==typeof t?t:t>=0};eh();var tV=tW(tB),tU=tM[0]===tk[0];if(tV&&"t"===tM[0]&&(v>ti.bottom||w.current.bt)){var tq=tI;tU?tq-=G-X:tq=tL.y-tN.y-td;var tG=ec(tO,tq),tY=ec(tO,tq,tn);tG>tD||tG===tD&&(!tt||tY>=tP)?(w.current.bt=!0,tI=tq,td=-td,tA.points=[z(tM,0),z(tk,0)]):w.current.bt=!1}if(tV&&"b"===tM[0]&&(y<ti.top||w.current.tb)){var t$=tI;tU?t$+=G-X:t$=tZ.y-tR.y-td;var tK=ec(tO,t$),tJ=ec(tO,t$,tn);tK>tD||tK===tD&&(!tt||tJ>=tP)?(w.current.tb=!0,tI=t$,td=-td,tA.points=[z(tM,0),z(tk,0)]):w.current.tb=!1}var tQ=tW(tF),t0=tM[1]===tk[1];if(tQ&&"l"===tM[1]&&(_>ti.right||w.current.rl)){var t1=tO;t0?t1-=Y-$:t1=tL.x-tN.x-tf;var t2=ec(t1,tI),t5=ec(t1,tI,tn);t2>tD||t2===tD&&(!tt||t5>=tP)?(w.current.rl=!0,tO=t1,tf=-tf,tA.points=[z(tM,1),z(tk,1)]):w.current.rl=!1}if(tQ&&"r"===tM[1]&&(m<ti.left||w.current.lr)){var t3=tO;t0?t3+=Y-$:t3=tZ.x-tR.x-tf;var t4=ec(t3,tI),t6=ec(t3,tI,tn);t4>tD||t4===tD&&(!tt||t6>=tP)?(w.current.lr=!0,tO=t3,tf=-tf,tA.points=[z(tM,1),z(tk,1)]):w.current.lr=!1}eh();var t8=!0===tj?0:tj;"number"==typeof t8&&(m<tn.left&&(tO-=m-tn.left-tf,E.x+$<tn.left+t8&&(tO+=E.x-tn.left+$-t8)),_>tn.right&&(tO-=_-tn.right-tf,E.x>tn.right-t8&&(tO+=E.x-tn.right+t8)));var t9=!0===tH?0:tH;"number"==typeof t9&&(y<tn.top&&(tI-=y-tn.top-td,E.y+X<tn.top+t9&&(tI+=E.y-tn.top+X-t9)),v>tn.bottom&&(tI-=v-tn.bottom-td,E.y>tn.bottom-t9&&(tI+=E.y-tn.bottom+t9)));var t7=F.x+tO,et=F.y+tI,ee=E.x,en=E.y,er=Math.max(t7,ee),ei=Math.min(t7+Y,ee+$),ea=Math.max(et,en),es=Math.min(et+G,en+X);null==tE||tE(tX,tA);var el=to.right-F.x-(tO+F.width),eu=to.bottom-F.y-(tI+F.height);1===ta&&(tO=Math.round(tO),el=Math.round(el)),1===ts&&(tI=Math.round(tI),eu=Math.round(eu)),b({ready:!0,offsetX:tO/ta,offsetY:tI/ts,offsetR:el/ta,offsetB:eu/ts,arrowX:((er+ei)/2-t7)/ta,arrowY:((ea+es)/2-et)/ts,scaleX:ta,scaleY:ts,align:tA})}function ec(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tr,r=F.x+t,i=F.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+G,n.bottom)-a))}function eh(){v=(y=F.y+tI)+G,_=(m=F.x+tO)+Y}}}),L=function(){b(function(t){return(0,r.Z)((0,r.Z)({},t),{},{ready:!1})})},(0,p.Z)(L,[tm]),(0,p.Z)(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(){_.current+=1;var t=_.current;Promise.resolve().then(function(){_.current===t&&D()})}]),eC=(0,i.Z)(eT,11),eE=eC[0],eA=eC[1],eO=eC[2],eI=eC[3],eD=eC[4],eP=eC[5],eL=eC[6],eR=eC[7],eZ=eC[8],eN=eC[9],ez=eC[10],eF=(j=void 0===K?"hover":K,y.useMemo(function(){var t=T(null!=J?J:j),e=T(null!=Q?Q:j),n=new Set(t),r=new Set(e);return tj&&(n.has("hover")&&(n.delete("hover"),n.add("click")),r.has("hover")&&(r.delete("hover"),r.add("click"))),[n,r]},[tj,j,J,Q])),eB=(0,i.Z)(eF,2),ej=eB[0],eH=eB[1],eW=ej.has("click"),eV=eH.has("click")||eH.has("contextMenu"),eU=(0,f.Z)(function(){eg||ez()});H=function(){es.current&&tT&&eV&&ef(!1)},(0,p.Z)(function(){if(eo&&t1&&tX){var t=O(t1),e=O(tX),n=A(tX),r=new Set([n].concat((0,F.Z)(t),(0,F.Z)(e)));function i(){eU(),H()}return r.forEach(function(t){t.addEventListener("scroll",i,{passive:!0})}),n.addEventListener("resize",i,{passive:!0}),eU(),function(){r.forEach(function(t){t.removeEventListener("scroll",i),n.removeEventListener("resize",i)})}}},[eo,t1,tX]),(0,p.Z)(function(){eU()},[eS,tm]),(0,p.Z)(function(){eo&&!(null!=t_&&t_[tm])&&eU()},[JSON.stringify(tx)]);var eq=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""}(t_,X,eN,tT);return l()(t,null==tk?void 0:tk(eN))},[eN,tk,t_,X,tT]);y.useImperativeHandle(n,function(){return{nativeElement:t5.current,popupElement:tK.current,forceAlign:eU}});var eG=y.useState(0),eY=(0,i.Z)(eG,2),eX=eY[0],e$=eY[1],eK=y.useState(0),eJ=(0,i.Z)(eK,2),eQ=eJ[0],e0=eJ[1],e1=function(){if(tS&&t1){var t=t1.getBoundingClientRect();e$(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=t6[t])||o.call.apply(o,[t6,i].concat(s))}}(0,p.Z)(function(){eb&&(ez(),eb(),e_(null))},[eb]),(eW||eV)&&(t8.onClick=function(t){var e;es.current&&eV?ef(!1):!es.current&&eW&&(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=t6.onClick)||e.call.apply(e,[t6,t].concat(r))});var e5=(W=void 0===tc||tc,(V=y.useRef(eo)).current=eo,U=y.useRef(!1),y.useEffect(function(){if(eV&&tX&&(!tu||W)){var t=function(){U.current=!1},e=function(t){var e;!V.current||t9((null==(e=t.composedPath)||null==(e=e.call(t))?void 0:e[0])||t.target)||U.current||ef(!1)},n=A(tX);n.addEventListener("pointerdown",t,!0),n.addEventListener("mousedown",e,!0),n.addEventListener("contextmenu",e,!0);var r=(0,h.A)(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))}}},[eV,t1,tX,tu,W]),function(){U.current=!0}),e3=ej.has("hover"),e4=eH.has("hover");e3&&(e2("onMouseEnter",!0,ti,function(t){eM(t)}),e2("onPointerEnter",!0,ti,function(t){eM(t)}),q=function(t){(eo||eg)&&null!=tX&&tX.contains(t.target)&&ef(!0,ti)},tT&&(t8.onMouseMove=function(t){var e;null==(e=t6.onMouseMove)||e.call(t6,t)})),e4&&(e2("onMouseLeave",!1,ta),e2("onPointerLeave",!1,ta),G=function(){ef(!1,ta)}),ej.has("focus")&&e2("onFocus",!0,ts),eH.has("focus")&&e2("onBlur",!1,tl),ej.has("contextMenu")&&(t8.onContextMenu=function(t){var e;es.current&&eH.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=t6.onContextMenu)||e.call.apply(e,[t6,t].concat(r))}),tZ&&(t8.className=l()(t6.className,tZ));var e6=(0,r.Z)((0,r.Z)({},t6),t8),e8={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(function(t){tz[t]&&(e8[t]=function(){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];null==(e=e6[t])||e.call.apply(e,[e6].concat(r)),tz[t].apply(tz,r)})});var e9=y.cloneElement(t4,(0,r.Z)((0,r.Z)({},e6),e8)),e7=tA?(0,r.Z)({},!0!==tA?tA:{}):null;return y.createElement(y.Fragment,null,y.createElement(u.default,{disabled:!eo,ref:t3,onResize:function(){e1(),eU()}},y.createElement(k,{getTriggerDOMNode:tN},e9)),y.createElement(M.Provider,{value:tU},y.createElement(S,{portal:t,ref:tJ,prefixCls:X,popup:tg,className:l()(ty,eq),style:tv,target:t1,onMouseEnter:q,onMouseLeave:G,onPointerEnter:q,zIndex:tw,open:eo,keepDom:eg,fresh:tM,onClick:tC,onPointerDownCapture:e5,mask:tu,motion:t7,maskMotion:et,onVisibleChanged:function(t){ey(!1),ez(),null==tr||tr(t)},onPrepare:function(){return new Promise(function(t){e1(),e_(function(){return t})})},forceRender:tf,autoDestroy:td||tp||!1,getPopupContainer:th,align:eN,arrow:e7,arrowPos:{x:eP,y:eL},ready:eE,offsetX:eA,offsetY:eO,offsetR:eI,offsetB:eD,onAlign:eU,stretch:tS,targetWidth:eX/eR,targetHeight:eQ/eZ})))})}(a.Z)},71929: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,{RQ:()=>S,WK:()=>A,X3:()=>C,Zn:()=>v,Zq:()=>x,aU:()=>r,cP:()=>d,fp:()=>p,kG:()=>m,pC:()=>w,q_:()=>u}),(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),b("*"===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 b(!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:k(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 b(!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 b(t,e){if(!t){"undefined"!=typeof console&&console.warn(e);try{throw Error(e)}catch(t){}}}function _(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("?"),_("?","pathname","search",i)),m(!i.pathname||!i.pathname.includes("#"),_("#","pathname","hash",i)),m(!i.search||!i.search.includes("#"),_("#","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:T(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,"/"),k=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),M=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",T=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"";class C extends Error{}class E{constructor(t,e,n){this.status=t,this.statusText=e||"",this.data=n}}function A(t){return t instanceof E}"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,[...new Set(["POST","PUT","PATCH","DELETE"])]},92462: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?"&amp;":"<"==t?"&lt;":">"==t?"&gt;":""})}},{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}()},25578: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(92462)),a=n(96314),s=i(n(44194));function l(t,e,n,r){let i,o,a=e?null:function(t){let e={};return t.bg&&(e.backgroundColor=`rgb(${t.bg})`),t.fg&&(e.color=`rgb(${t.fg})`),e}(n),l=e?(o="",(n.bg&&(o+=`${n.bg}-bg `),n.fg&&(o+=`${n.fg}-fg `),n.decoration&&(o+=`ansi-${n.decoration} `),""===o)?null:o=o.substring(0,o.length-1)):null;if(!t)return s.createElement("span",{style:a,key:r,className:l},n.content);let u=[],c=/(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g,h=0;for(;null!==(i=c.exec(n.content));){let[,t,e]=i,r=i.index+t.length;r>h&&u.push(n.content.substring(h,r));let o=e.startsWith("www.")?`http://${e}`:e;u.push(s.createElement("a",{key:h,href:o,target:"_blank"},`${e}`)),h=c.lastIndex}return h<n.content.length&&u.push(n.content.substring(h)),s.createElement("span",{style:a,key:r,className:l},u)}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)))}},75044:function(t,e,n){"use strict";var r,i,o,a=n(73656);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(19839).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(14771),g=n(80911).inspect,y=n(80911).types,v=y.isPromise,m=y.isRegExp,b=n(35315)(),_=n(84153)(),x=n(96273)("RegExp.prototype.test");function w(){var t=n(55030);i=t.isDeepEqual,o=t.isDeepStrictEqual}var S=!1,k=t.exports=E,M={};function T(t){if(t.message instanceof Error)throw t.message;throw new p(t)}function C(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 E(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];C.apply(void 0,[E,e.length].concat(e))}k.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},k.AssertionError=p,k.ok=E,k.equal=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");e!=n&&T({actual:e,expected:n,message:r,operator:"==",stackStartFn:t})},k.notEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");e==n&&T({actual:e,expected:n,message:r,operator:"!=",stackStartFn:t})},k.deepEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),i(e,n)||T({actual:e,expected:n,message:r,operator:"deepEqual",stackStartFn:t})},k.notDeepEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),i(e,n)&&T({actual:e,expected:n,message:r,operator:"notDeepEqual",stackStartFn:t})},k.deepStrictEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),o(e,n)||T({actual:e,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:t})},k.notDeepStrictEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&w(),o(e,n)&&T({actual:e,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:t})},k.strictEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");_(e,n)||T({actual:e,expected:n,message:r,operator:"strictEqual",stackStartFn:t})},k.notStrictEqual=function t(e,n,r){if(arguments.length<2)throw new d("actual","expected");_(e,n)&&T({actual:e,expected:n,message:r,operator:"notStrictEqual",stackStartFn:t})};var A=(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 O(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 A(t,l),expected:new A(e,l,t),operator:"deepStrictEqual",stackStartFn:r});throw a.actual=t,a.expected=e,a.operator=r.name,a}T({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 I(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 P(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";T({actual:void 0,expected:n,operator:t.name,message:"Missing expected ".concat(o).concat(i),stackStartFn:t})}if(n&&!O(e,n,r,t))throw e}function R(t,e,n,r){if(e!==M){if("string"==typeof n&&(r=n,n=void 0),!n||O(e,n)){var i=r?": ".concat(r):".",o="doesNotReject"===t.name?"rejection":"exception";T({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 Z(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 N(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];C.apply(void 0,[N,e.length].concat(e))}k.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,I(e)].concat(r))},k.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 P(e).then(function(e){return L.apply(void 0,[t,e].concat(r))})},k.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];R.apply(void 0,[t,I(e)].concat(r))},k.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 P(e).then(function(e){return R.apply(void 0,[t,e].concat(r))})},k.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}},k.match=function t(e,n,r){Z(e,n,r,t,"match")},k.doesNotMatch=function t(e,n,r){Z(e,n,r,t,"doesNotMatch")},k.strict=b(N,k,{equal:k.strictEqual,deepEqual:k.deepStrictEqual,notEqual:k.notStrictEqual,notDeepEqual:k.notDeepStrictEqual}),k.strict.strict=k.strict},14771:function(t,e,n){"use strict";var r=n(73656);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(80911).inspect,y=n(19839).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 k(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",b="\x1b[32m",x="\x1b[39m",_="\x1b[31m"):(m="",b="",x="",_="")),"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=k(t),c=u.split("\n"),h=k(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 T=u.split("\n");if(T.length>30)for(T[26]="".concat(m,"...").concat(x);T.length>27;)T.pop();return"".concat(w.notIdentical,"\n\n").concat(T.join("\n"),"\n")}f>3&&(s="\n".concat(m,"...").concat(x).concat(s),l=!0),""!==i&&(s="\n ".concat(i).concat(s),i="");var C=0,E=w[n]+"\n".concat(b,"+ actual").concat(x," ").concat(_,"- expected").concat(x),A=" ".concat(m,"...").concat(x," Lines skipped");for(f=0;f<M;f++){var O=f-a;if(c.length<f+1)O>1&&f>2&&(O>4?(o+="\n".concat(m,"...").concat(x),l=!0):O>3&&(o+="\n ".concat(h[f-2]),C++),o+="\n ".concat(h[f-1]),C++),a=f,i+="\n".concat(_,"-").concat(x," ").concat(h[f]),C++;else if(h.length<f+1)O>1&&f>2&&(O>4?(o+="\n".concat(m,"...").concat(x),l=!0):O>3&&(o+="\n ".concat(c[f-2]),C++),o+="\n ".concat(c[f-1]),C++),a=f,o+="\n".concat(b,"+").concat(x," ").concat(c[f]),C++;else{var I=h[f],D=c[f],P=D!==I&&(!v(D,",")||D.slice(0,-1)!==I);P&&v(I,",")&&I.slice(0,-1)===D&&(P=!1,D+=","),P?(O>1&&f>2&&(O>4?(o+="\n".concat(m,"...").concat(x),l=!0):O>3&&(o+="\n ".concat(c[f-2]),C++),o+="\n ".concat(c[f-1]),C++),a=f,o+="\n".concat(b,"+").concat(x," ").concat(D),i+="\n".concat(_,"-").concat(x," ").concat(I),C+=2):(o+=i,i="",(1===O||0===f)&&(o+="\n ".concat(D),C++))}if(C>20&&f<M-2)return"".concat(E).concat(A,"\n").concat(o,"\n").concat(m,"...").concat(x).concat(i,"\n")+"".concat(m,"...").concat(x)}return"".concat(E).concat(l?A:"","\n").concat(o).concat(i).concat(s).concat(d)}(a,h,i));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var d=w[i],g=k(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=k(a),T="",C=w[i];"notDeepEqual"===i||"notEqual"===i?(M="".concat(w[i],"\n\n").concat(M)).length>1024&&(M="".concat(M.slice(0,1021),"...")):(T="".concat(k(h)),M.length>512&&(M="".concat(M.slice(0,509),"...")),T.length>512&&(T="".concat(T.slice(0,509),"...")),"deepEqual"===i||"equal"===i?M="".concat(C,"\n\n").concat(M,"\n\nshould equal\n\n"):T=" ".concat(i," ").concat(T)),e=u.call(this,"".concat(M).concat(T))}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)},19839: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(75044)),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(80911));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(75044)),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},55030: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(74599),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},h=Number.isNaN?Number.isNaN:n(29736);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(80911).types,v=y.isAnyArrayBuffer,m=y.isArrayBufferView,b=y.isDate,_=y.isMap,x=y.isRegExp,w=y.isSet,S=y.isNativeError,k=y.isBoxedPrimitive,M=y.isNumberObject,T=y.isStringObject,C=y.isBooleanObject,E=y.isBigIntObject,A=y.isSymbolObject,O=y.isFloat32Array,I=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 P(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 R=void 0;function Z(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=P(t,R),l=P(e,R);return s.length===l.length&&z(t,e,n,r,1,s)}if("[object Object]"===i&&(!_(t)&&_(e)||!w(t)&&w(e)))return!1;if(b(t)){if(!b(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&&(O(t)||I(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=P(t,R),f=P(e,R);return c.length===f.length&&z(t,e,n,r,0,c)}else if(w(t))return!!w(e)&&t.size===e.size&&z(t,e,n,r,2);else if(_(t))return!!_(e)&&t.size===e.size&&z(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(k(t)&&(M(t)?!(M(e)&&u(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e))):T(t)?!T(e)||String.prototype.valueOf.call(t)!==String.prototype.valueOf.call(e):C(t)?!C(e)||Boolean.prototype.valueOf.call(t)!==Boolean.prototype.valueOf.call(e):E(t)?!E(e)||BigInt.prototype.valueOf.call(t)!==BigInt.prototype.valueOf.call(e):!A(e)||Symbol.prototype.valueOf.call(t)!==Symbol.prototype.valueOf.call(e)))return!1;return z(t,e,n,r,0)}function N(t,e){return e.filter(function(e){return p(t,e)})}function z(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&&N(e,m).length!==y)return!1}else{var b=c(e);if(0!==b.length&&0!==N(e,b).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 _=i.val1.get(t);if(void 0!==_){var x=i.val2.get(e);if(void 0!==x)return _===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=B(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(!F(i,f,n,r))return!1}else if(!n&&!t.has(f)&&!F(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)||!Z(f,d,n,i)){if(n||!function(t,e,n,r,i){var o=B(n);if(null!=o)return o;var a=e.get(o);return(void 0!==a||!!e.has(o))&&!!Z(r,a,!1,i)&&!t.has(o)&&Z(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(!j(a,t,v,m,n,i))return!1}else if(!n&&(!t.has(v)||!Z(t.get(v),m,!1,i))&&!j(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)||!Z(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)||!Z(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(!Z(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 F(t,e,n,r){for(var i=s(t),o=0;o<i.length;o++){var a=i[o];if(Z(e,a,n,r))return t.delete(a),!0}return!1}function B(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 j(t,e,n,r,i,o){for(var a=s(t),l=0;l<a.length;l++){var u=a[l];if(Z(n,u,i,o)&&Z(r,e.get(u),i,o))return t.delete(u),!0}return!1}t.exports={isDeepEqual:function(t,e){return Z(t,e,!1)},isDeepStrictEqual:function(t,e){return Z(t,e,!0)}}},26446: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},40229:function(t,e,n){"use strict";var r=n(57861).Buffer,i=n(73656),o=n(75044),a=n(24104),s=n(63172),l=n(86919),u=n(6857);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},62802:function(t,e,n){"use strict";var r=n(73656),i=n(57861).Buffer,o=n(96704).Transform,a=n(40229),s=n(80911),l=n(75044).ok,u=n(57861).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 b(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 _(t){if(!(this instanceof _))return new _(t);E.call(this,t,a.DEFLATE)}function x(t){if(!(this instanceof x))return new x(t);E.call(this,t,a.INFLATE)}function w(t){if(!(this instanceof w))return new w(t);E.call(this,t,a.GZIP)}function S(t){if(!(this instanceof S))return new S(t);E.call(this,t,a.GUNZIP)}function k(t){if(!(this instanceof k))return new k(t);E.call(this,t,a.DEFLATERAW)}function M(t){if(!(this instanceof M))return new M(t);E.call(this,t,a.INFLATERAW)}function T(t){if(!(this instanceof T))return new T(t);E.call(this,t,a.UNZIP)}function C(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 E(t,n){var r=this;if(this._opts=t=t||{},this._chunkSize=t.chunkSize||e.Z_DEFAULT_CHUNK,o.call(this,t),t.flush&&!C(t.flush))throw Error("Invalid flush flag: "+t.flush);if(t.finishFlush&&!C(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){A(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 A(t,e){e&&r.nextTick(e),t._handle&&(t._handle.close(),t._handle=null)}function O(t){t.emit("close")}Object.defineProperty(e,"codes",{enumerable:!0,value:Object.freeze(p),writable:!1}),e.Deflate=_,e.Inflate=x,e.Gzip=w,e.Gunzip=S,e.DeflateRaw=k,e.InflateRaw=M,e.Unzip=T,e.createDeflate=function(t){return new _(t)},e.createInflate=function(t){return new x(t)},e.createDeflateRaw=function(t){return new k(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 T(t)},e.deflate=function(t,e,n){return"function"==typeof e&&(n=e,e={}),m(new _(e),t,n)},e.deflateSync=function(t,e){return b(new _(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 b(new w(e),t)},e.deflateRaw=function(t,e,n){return"function"==typeof e&&(n=e,e={}),m(new k(e),t,n)},e.deflateRawSync=function(t,e){return b(new k(e),t)},e.unzip=function(t,e,n){return"function"==typeof e&&(n=e,e={}),m(new T(e),t,n)},e.unzipSync=function(t,e){return b(new T(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 b(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 b(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 b(new M(e),t)},s.inherits(E,o),E.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)},E.prototype.reset=function(){return l(this._handle,"zlib binding closed"),this._handle.reset()},E.prototype._flush=function(t){this._transform(i.alloc(0),"",t)},E.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))},E.prototype.close=function(t){A(this,t),r.nextTick(O,this)},E.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"))},E.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 A(this),RangeError(c);var y=i.concat(d,p);return A(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(_,E),s.inherits(x,E),s.inherits(w,E),s.inherits(S,E),s.inherits(k,E),s.inherits(M,E),s.inherits(T,E)},57861:function(t,e,n){"use strict";var r=n(26446),i=n(47164),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(A(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(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(A(t,SharedArrayBuffer)||t&&A(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)||A(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 T(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return C(t).length;default:if(i)return r?-1:T(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+=O[t[o]];return i}(this,e,n);case"utf8":case"utf-8":return b(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 b(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 _(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 k(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(A(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),A(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(A(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?b(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(A(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,E(T(t,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=e,s=n,E(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,E(C(t),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=e,h=n,E(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||_(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||_(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||_(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||_(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||_(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||_(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||_(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||_(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||_(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||_(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||_(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||_(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||_(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||_(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||_(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||_(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||_(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||_(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 k(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return k(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 T(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 C(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 E(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 A(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var O=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}()},97811:function(t,e,n){"use strict";var r=n(2073),i=n(77769),o=n(32302);t.exports=n(10323)||r.call(o,i)},40651:function(t,e,n){"use strict";var r=n(2073),i=n(77769),o=n(97811);t.exports=function(){return o(r,i,arguments)}},77769:function(t){"use strict";t.exports=Function.prototype.apply},32302:function(t){"use strict";t.exports=Function.prototype.call},95168:function(t,e,n){"use strict";var r=n(2073),i=n(81088),o=n(32302),a=n(97811);t.exports=function(t){if(t.length<1||"function"!=typeof t[0])throw new i("a function is required");return a(r,o,t)}},10323:function(t){"use strict";t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},96273:function(t,e,n){"use strict";var r=n(94687),i=n(41749),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}},41749:function(t,e,n){"use strict";var r=n(5186),i=n(64459),o=n(95168),a=n(40651);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},30799:function(t,e,n){"use strict";var r=n(94687),i=n(95168),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}},86724:function(t,e,n){"use strict";var r=n(80480),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}},28977: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 _||!(!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 _(n)},b={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}};b.l=v,b.i=y,b.w=function(t,e){return m(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=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(b.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 b},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 b.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=!!b.u(a)||a,h=b.p(t),f=function(t,e){var n=b.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 b.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,_=(p<m?p+7:p)-m;return f(c?y-_:y+(6-_),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=b.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[b.p(t)]()},d.add=function(t,a){var l,u=this;t=Number(t);var c=b.p(a),h=function(e){var n=m(u);return b.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 b.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=b.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 b.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 b.s(e.$y,4,"0");case"M":return s+1;case"MM":return b.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 b.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 b.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 b.s(a,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.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=b.p(l),d=m(t),p=(d.utcOffset()-this.utcOffset())*6e4,g=this-d,y=function(){return b.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:b.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 b.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=_.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,_,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}()},8173:function(t){t.exports=function(t,e){var n=e.prototype,r=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return r.bind(this)(t);var i=this.$utils(),o=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return i.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return i.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return i.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}});return r.bind(this)(o)}}},97214:function(t){t.exports=function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,a={},s=function(t){return(t*=1)+(t>68?1900:2e3)},l=function(t){return function(e){this[t]=+e}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t||"Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],c=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},h=function(t,e){var n,r=a.meridiem;if(r){for(var i=1;i<=24;i+=1)if(t.indexOf(r(i,0,e))>-1){n=i>12;break}}else n=t===(e?"pm":"PM");return n},f={A:[o,function(t){this.afternoon=h(t,!1)}],a:[o,function(t){this.afternoon=h(t,!0)}],Q:[n,function(t){this.month=3*(t-1)+1}],S:[n,function(t){this.milliseconds=100*t}],SS:[r,function(t){this.milliseconds=10*t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[i,l("seconds")],ss:[i,l("seconds")],m:[i,l("minutes")],mm:[i,l("minutes")],H:[i,l("hours")],h:[i,l("hours")],HH:[i,l("hours")],hh:[i,l("hours")],D:[i,l("day")],DD:[r,l("day")],Do:[o,function(t){var e=a.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var r=1;r<=31;r+=1)e(r).replace(/\[|\]/g,"")===t&&(this.day=r)}],w:[i,l("week")],ww:[r,l("week")],M:[i,l("month")],MM:[r,l("month")],MMM:[o,function(t){var e=c("months"),n=(c("monthsShort")||e.map(function(t){return t.slice(0,3)})).indexOf(t)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[o,function(t){var e=c("months").indexOf(t)+1;if(e<1)throw Error();this.month=e%12||e}],Y:[/[+-]?\d+/,l("year")],YY:[r,function(t){this.year=s(t)}],YYYY:[/\d{4}/,l("year")],Z:u,ZZ:u};return function(n,r,i){i.p.customParseFormat=!0,n&&n.parseTwoDigitYear&&(s=n.parseTwoDigitYear);var o=r.prototype,l=o.parse;o.parse=function(n){var r=n.date,o=n.utc,s=n.args;this.$u=o;var u=s[1];if("string"==typeof u){var c=!0===s[2],h=!0===s[3],d=s[2];h&&(d=s[2]),a=this.$locale(),!c&&d&&(a=i.Ls[d]),this.$d=function(n,r,i,o){try{if(["x","X"].indexOf(r)>-1)return new Date(("X"===r?1e3:1)*n);var s=(function(n){var r,i;r=n,i=a&&a.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,n,r){var o=r&&r.toUpperCase();return n||i[r]||t[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,n){return e||n.slice(1)})})).match(e),s=o.length,l=0;l<s;l+=1){var u=o[l],c=f[u],h=c&&c[0],d=c&&c[1];o[l]=d?{regex:h,parser:d}:u.replace(/^\[|\]$/g,"")}return function(t){for(var e={},n=0,r=0;n<s;n+=1){var i=o[n];if("string"==typeof i)r+=i.length;else{var a=i.regex,l=i.parser,u=t.slice(r),c=a.exec(u)[0];l.call(e,c),t=t.replace(c,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}})(r)(n),l=s.year,u=s.month,c=s.day,h=s.hours,d=s.minutes,p=s.seconds,g=s.milliseconds,y=s.zone,v=s.week,m=new Date,b=c||(l||u?1:m.getDate()),_=l||m.getFullYear(),x=0;l&&!u||(x=u>0?u-1:m.getMonth());var w,S=h||0,k=d||0,M=p||0,T=g||0;return y?new Date(Date.UTC(_,x,b,S,k,M,T+60*y.offset*1e3)):i?new Date(Date.UTC(_,x,b,S,k,M,T)):(w=new Date(_,x,b,S,k,M,T),v&&(w=o(w).week(v).toDate()),w)}catch(t){return new Date("")}}(r,u,o,i),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),(c||h)&&r!=this.format(u)&&(this.$d=new Date("")),a={}}else if(u instanceof Array)for(var p=u.length,g=1;g<=p;g+=1){s[1]=u[g-1];var y=i.apply(this,s);if(y.isValid()){this.$d=y.$d,this.$L=y.$L,this.init();break}g===p&&(this.$d=new Date(""))}else l.call(this,n)}}}()},40809:function(t){t.exports=function(t,e,n){var r=e.prototype,i=function(t){return t&&(t.indexOf?t:t.s)},o=function(t,e,n,r,o){var a=t.name?t:t.$locale(),s=i(a[e]),l=i(a[n]),u=s||l.map(function(t){return t.slice(0,r)});if(!o)return u;var c=a.weekStart;return u.map(function(t,e){return u[(e+(c||0))%7]})},a=function(){return n.Ls[n.locale()]},s=function(t,e){return t.formats[e]||t.formats[e.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,n){return e||n.slice(1)})},l=function(){var t=this;return{months:function(e){return e?e.format("MMMM"):o(t,"months")},monthsShort:function(e){return e?e.format("MMM"):o(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):o(t,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):o(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):o(t,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return s(t.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return l.bind(this)()},n.localeData=function(){var t=a();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(e){return s(t,e)},meridiem:t.meridiem,ordinal:t.ordinal}},n.months=function(){return o(a(),"months")},n.monthsShort=function(){return o(a(),"monthsShort","months",3)},n.weekdays=function(t){return o(a(),"weekdays",null,null,t)},n.weekdaysShort=function(t){return o(a(),"weekdaysShort","weekdays",3,t)},n.weekdaysMin=function(t){return o(a(),"weekdaysMin","weekdays",2,t)}}},36304:function(t){t.exports=function(){"use strict";var t="week",e="year";return function(n,r,i){var o=r.prototype;o.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var o=i(this).startOf(e).add(1,e).date(r),a=i(this).endOf(t);if(o.isBefore(a))return 1}var s=i(this).startOf(e).date(r).startOf(t).subtract(1,"millisecond"),l=this.diff(s,t,!0);return l<0?i(this).startOf("week").week():Math.ceil(l)},o.weeks=function(t){return void 0===t&&(t=null),this.week(t)}}}()},39639:function(t){t.exports=function(t,e){e.prototype.weekYear=function(){var t=this.month(),e=this.week(),n=this.year();return 1===e&&11===t?n+1:0===t&&e>=52?n-1:n}}},96423:function(t){t.exports=function(t,e){e.prototype.weekday=function(t){var e=this.$locale().weekStart||0,n=this.$W,r=(n<e?n+7:n)-e;return this.$utils().u(t)?r:this.subtract(r,"day").add(t,"day")}}},13430:function(t,e,n){"use strict";var r=n(64459),i=n(91824),o=n(81088),a=n(69511);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}},60662:function(t,e,n){"use strict";var r=n(53571),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=n(13430),l=n(65768)(),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},78296:function(t,e,n){"use strict";var r,i=n(95168),o=n(69511);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))}},50689:function(t,e,n){"use strict";n.d(e,{Z:()=>h});var r=n(377),i=n(44194),o=n(84250);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(44204),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.__extends)(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.__awaiter)(this,void 0,void 0,function(){var t=this;return(0,r.__generator)(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.__assign)({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.__awaiter)(this,void 0,void 0,function(){var t,e,n,i,a,l,u=this;return(0,r.__generator)(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.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=(0,r.__assign)({height:300},n);return i.createElement("div",{ref:function(e){t.ele=e},style:a,className:"echarts-for-react ".concat(void 0===o?"":o)})},e}(i.PureComponent)},739:function(t,e,n){"use strict";var r=n(377),i=r.__importStar(n(44194)),o=n(84250),a=n(54063),s=n(45734),l=n(47656),u=n(86890);e.default=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 r.__extends(e,t),e.prototype.componentDidMount=function(){this.renderNewEcharts()},e.prototype.componentDidUpdate=function(t){var e=this.props.shouldSetOption;if(!(0,s.isFunction)(e)||e(t,this.props)){if(!(0,u.isEqual)(t.theme,this.props.theme)||!(0,u.isEqual)(t.opts,this.props.opts)){this.dispose(),this.renderNewEcharts();return}var n=this.getEchartsInstance();(0,u.isEqual)(t.onEvents,this.props.onEvents)||(this.offEvents(n,t.onEvents),this.bindEvents(n,this.props.onEvents));var r=["option","notMerge","replaceMerge","lazyUpdate","showLoading","loadingOption"];(0,u.isEqual)((0,a.pick)(this.props,r),(0,a.pick)(t,r))||this.updateEChartsOption(),(0,u.isEqual)(t.style,this.props.style)&&(0,u.isEqual)(t.className,this.props.className)||this.resize()}},e.prototype.componentWillUnmount=function(){this.dispose()},e.prototype.initEchartsInstance=function(){return r.__awaiter(this,void 0,void 0,function(){var t=this;return r.__generator(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=r.__assign({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 r.__awaiter(this,void 0,void 0,function(){var t,e,n,i,a,l,u=this;return r.__generator(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||{}),(0,s.isFunction)(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){(0,l.isString)(e)&&(0,s.isFunction)(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)(0,l.isString)(n)&&t.off(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=r.__assign({height:300},n);return i.default.createElement("div",{ref:function(e){t.ele=e},style:a,className:"echarts-for-react ".concat(void 0===o?"":o)})},e}(i.PureComponent)},86890:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=void 0,e.isEqual=n(377).__importDefault(n(44204)).default},45734:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFunction=void 0,e.isFunction=function(t){return"function"==typeof t}},47656:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isString=void 0,e.isString=function(t){return"string"==typeof t}},54063:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pick=void 0,e.pick=function(t,e){var n={};return e.forEach(function(e){n[e]=t[e]}),n}},64459:function(t){"use strict";var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}t.exports=e},31573:function(t){"use strict";t.exports=EvalError},22112:function(t){"use strict";t.exports=Error},7063:function(t){"use strict";t.exports=RangeError},99802:function(t){"use strict";t.exports=ReferenceError},91824:function(t){"use strict";t.exports=SyntaxError},81088:function(t){"use strict";t.exports=TypeError},7002:function(t){"use strict";t.exports=URIError},28343:function(t){"use strict";t.exports=Object},96314: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))}},47324: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):[]}},93405:function(t){"use strict";var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===n.call(t)},a=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var r,i=e.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&e.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!i&&!o)return!1;for(r in t);return void 0===r||e.call(t,r)},s=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;else if(i)return i(t,n).value}return t[n]};t.exports=function t(){var e,n,r,i,u,c,h=arguments[0],f=1,d=arguments.length,p=!1;for("boolean"==typeof h&&(p=h,h=arguments[1]||{},f=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});f<d;++f)if(e=arguments[f],null!=e)for(n in e)r=l(h,n),h!==(i=l(e,n))&&(p&&i&&(a(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},s(h,{name:n,newValue:t(p,c,i)})):void 0!==i&&s(h,{name:n,newValue:i}));return h}},44204: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}},98:function(t,e,n){"use strict";var r=n(49861),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)}},92888: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}},2073:function(t,e,n){"use strict";var r=n(92888);t.exports=Function.prototype.bind||r},94687:function(t,e,n){"use strict";var r,i=n(28343),o=n(22112),a=n(31573),s=n(7063),l=n(99802),u=n(91824),c=n(81088),h=n(7002),f=n(81018),d=n(45291),p=n(46710),g=n(59607),y=n(63810),v=n(27210),m=n(32789),b=Function,_=function(t){try{return b('"use strict"; return ('+t+").constructor;")()}catch(t){}},x=n(69511),w=n(64459),S=function(){throw new c},k=x?function(){try{return arguments.callee,S}catch(t){try{return x(arguments,"callee").get}catch(t){return S}}}():S,M=n(70708)(),T=n(52591),C=n(15047),E=n(42871),A=n(77769),O=n(32302),I={},D="undefined"!=typeof Uint8Array&&T?T(Uint8Array):r,P={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":M&&T?T([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%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%":b,"%GeneratorFunction%":I,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":M&&T?T(T([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&M&&T?T(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&&T?T(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":M&&T?T(""[Symbol.iterator]()):r,"%Symbol%":M?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":k,"%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%":O,"%Function.prototype.apply%":A,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":C,"%Math.abs%":f,"%Math.floor%":d,"%Math.max%":p,"%Math.min%":g,"%Math.pow%":y,"%Math.round%":v,"%Math.sign%":m,"%Reflect.getPrototypeOf%":E};if(T)try{null.error}catch(t){var L=T(T(t));P["%Error.prototype%"]=L}var R=function t(e){var n;if("%AsyncFunction%"===e)n=_("async function () {}");else if("%GeneratorFunction%"===e)n=_("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=_("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&T&&(n=T(i.prototype))}return P[e]=n,n},Z={__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"]},N=n(2073),z=n(13728),F=N.call(O,Array.prototype.concat),B=N.call(A,Array.prototype.splice),j=N.call(O,String.prototype.replace),H=N.call(O,String.prototype.slice),W=N.call(O,RegExp.prototype.exec),V=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,q=function(t){var e=H(t,0,1),n=H(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 j(t,V,function(t,e,n,i){r[r.length]=n?j(i,U,"$1"):e||t}),r},G=function(t,e){var n,r=t;if(z(Z,r)&&(r="%"+(n=Z[r])[0]+"%"),z(P,r)){var i=P[r];if(i===I&&(i=R(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===W(/^%?[^%]*%?$/,t))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=q(t),r=n.length>0?n[0]:"",i=G("%"+r+"%",e),o=i.name,a=i.value,s=!1,l=i.alias;l&&(r=l[0],B(n,F([0,1],l)));for(var h=1,f=!0;h<n.length;h+=1){var d=n[h],p=H(d,0,1),g=H(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,z(P,o="%"+r+"%"))a=P[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=z(a,d),a=a[d];f&&!s&&(P[o]=a)}}return a}},15047:function(t,e,n){"use strict";t.exports=n(28343).getPrototypeOf||null},42871:function(t){"use strict";t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},52591:function(t,e,n){"use strict";var r=n(42871),i=n(15047),o=n(78296);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},24924:function(t){"use strict";t.exports=Object.getOwnPropertyDescriptor},69511:function(t,e,n){"use strict";var r=n(24924);if(r)try{r([],"length")}catch(t){r=null}t.exports=r},65768:function(t,e,n){"use strict";var r=n(64459),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},70708:function(t,e,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(62804);t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},62804: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}},58625:function(t,e,n){"use strict";var r=n(62804);t.exports=function(){return r()&&!!Symbol.toStringTag}},13728:function(t,e,n){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty;t.exports=n(2073).call(r,i)},47164: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}},67483: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}}},74847:function(t){var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function u(t){return t?t.replace(l,""):""}t.exports=function(t,l){if("string"!=typeof t)throw TypeError("First argument must be a string");if(!t)return[];l=l||{};var c=1,h=1;function f(t){var e=t.match(n);e&&(c+=e.length);var r=t.lastIndexOf("\n");h=~r?t.length-r:h+t.length}function d(){var t={line:c,column:h};return function(e){return e.position=new p(t),v(r),e}}function p(t){this.start=t,this.end={line:c,column:h},this.source=l.source}p.prototype.content=t;var g=[];function y(e){var n=Error(l.source+":"+c+":"+h+": "+e);if(n.reason=e,n.filename=l.source,n.line=c,n.column=h,n.source=t,l.silent)g.push(n);else throw n}function v(e){var n=e.exec(t);if(n){var r=n[0];return f(r),t=t.slice(r.length),n}}function m(t){var e;for(t=t||[];e=b();)!1!==e&&t.push(e);return t}function b(){var e=d();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var n=2;""!=t.charAt(n)&&("*"!=t.charAt(n)||"/"!=t.charAt(n+1));)++n;if(n+=2,""===t.charAt(n-1))return y("End of comment missing");var r=t.slice(2,n-2);return h+=2,f(r),t=t.slice(n),h+=2,e({type:"comment",comment:r})}}v(r);var _,x=[];for(m(x);_=function(){var t=d(),n=v(i);if(n){if(b(),!v(o))return y("property missing ':'");var r=v(a),l=t({type:"declaration",property:u(n[0].replace(e,"")),value:r?u(r[0].replace(e,"")):""});return v(s),l}}();)!1!==_&&(x.push(_),m(x));return x}},43133:function(t,e,n){"use strict";var r=n(58625)(),i=n(30799)("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},49861: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)}},5547:function(t,e,n){"use strict";var r,i=n(30799),o=n(61814)(/^\s*(?:function)?\*/),a=n(58625)(),s=n(52591),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}},49029:function(t){"use strict";t.exports=function(t){return t!=t}},29736:function(t,e,n){"use strict";var r=n(41749),i=n(60662),o=n(49029),a=n(46240),s=n(24645),l=r(a(),Number);i(l,{getPolyfill:a,implementation:o,shim:s}),t.exports=l},46240:function(t,e,n){"use strict";var r=n(49029);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},24645:function(t,e,n){"use strict";var r=n(60662),i=n(46240);t.exports=function(){var t=i();return r(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},46758:function(t,e,n){"use strict";var r,i=n(30799),o=n(58625)(),a=n(13728),s=n(69511);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},47428:function(t,e,n){"use strict";var r=n(34642);t.exports=function(t){return!!r(t)}},69632:function(t,e,n){var r=n(86021),i=function(t){var e="",n=Object.keys(t);return n.forEach(function(i,o){var a,s=t[i];a=i=r(i),/[height|width]$/.test(a)&&"number"==typeof s&&(s+="px"),!0===s?e+=i:!1===s?e+="not "+i:e+="("+i+": "+s+")",o<n.length-1&&(e+=" and ")}),e};t.exports=function(t){var e="";return"string"==typeof t?t:t instanceof Array?(t.forEach(function(n,r){e+=i(n),r<t.length-1&&(e+=", ")}),e):i(t)}},81018:function(t){"use strict";t.exports=Math.abs},45291:function(t){"use strict";t.exports=Math.floor},73926:function(t){"use strict";t.exports=Number.isNaN||function(t){return t!=t}},46710:function(t){"use strict";t.exports=Math.max},59607:function(t){"use strict";t.exports=Math.min},63810:function(t){"use strict";t.exports=Math.pow},27210:function(t){"use strict";t.exports=Math.round},32789:function(t,e,n){"use strict";var r=n(73926);t.exports=function(t){return r(t)||0===t?t:t<0?-1:1}},80916: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))}},74599:function(t,e,n){"use strict";var r=n(60662),i=n(41749),o=n(80916),a=n(84153),s=n(69075),l=i(a(),Object);r(l,{getPolyfill:a,implementation:o,shim:s}),t.exports=l},84153:function(t,e,n){"use strict";var r=n(80916);t.exports=function(){return"function"==typeof Object.is?Object.is:r}},69075:function(t,e,n){"use strict";var r=n(84153),i=n(60662);t.exports=function(){var t=r();return i(Object,{is:t},{is:function(){return Object.is!==t}}),t}},3032:function(t,e,n){"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=n(49473),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},53571:function(t,e,n){"use strict";var r=Array.prototype.slice,i=n(49473),o=Object.keys,a=o?function(t){return o(t)}:n(3032),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},49473: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}},47304:function(t,e,n){"use strict";var r=n(53571),i=n(62804)(),o=n(30799),a=n(28343),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}},35315:function(t,e,n){"use strict";var r=n(47304),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}},72715: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"/"}},2604: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)},55097: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}},6857: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}},54702: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}},63172:function(t,e,n){"use strict";var r,i=n(2604),o=n(97134),a=n(55097),s=n(54702),l=n(66186),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 b(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 _(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 k(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,k(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,b),new x(4,5,16,8,b),new x(4,6,32,32,b),new x(4,4,16,16,_),new x(8,16,32,32,_),new x(8,16,128,128,_),new x(8,32,128,256,_),new x(32,128,258,1024,_),new x(32,258,258,4096,_)],e.deflateInit=function(t,e){return M(t,e,8,15,8,0)},e.deflateInit2=M,e.deflateReset=k,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)"},92039: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,k,M,T;n=t.state,r=t.next_in,M=t.input,i=r+(t.avail_in-5),o=t.next_out,T=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),b=g[d&v];;){if(d>>>=_=b>>>24,p-=_,0==(_=b>>>16&255))T[o++]=65535&b;else if(16&_)for(x=65535&b,(_&=15)&&(p<_&&(d+=M[r++]<<p,p+=8),x+=d&(1<<_)-1,d>>>=_,p-=_),p<15&&(d+=M[r++]<<p,p+=8,d+=M[r++]<<p,p+=8),b=y[d&m];;){if(d>>>=_=b>>>24,p-=_,16&(_=b>>>16&255)){if(w=65535&b,p<(_&=15)&&(d+=M[r++]<<p,(p+=8)<_&&(d+=M[r++]<<p,p+=8)),(w+=d&(1<<_)-1)>l){t.msg="invalid distance too far back",n.mode=30;break t}if(d>>>=_,p-=_,w>(_=o-a)){if((_=w-_)>c&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(S=0,k=f,0===h){if(S+=u-_,_<x){x-=_;do T[o++]=f[S++];while(--_);S=o-w,k=T}}else if(h<_){if(S+=u+h-_,(_-=h)<x){x-=_;do T[o++]=f[S++];while(--_);if(S=0,h<x){x-=_=h;do T[o++]=f[S++];while(--_);S=o-w,k=T}}}else if(S+=h-_,_<x){x-=_;do T[o++]=f[S++];while(--_);S=o-w,k=T}for(;x>2;)T[o++]=k[S++],T[o++]=k[S++],T[o++]=k[S++],x-=3;x&&(T[o++]=k[S++],x>1&&(T[o++]=k[S++]))}else{S=o-w;do T[o++]=T[S++],T[o++]=T[S++],T[o++]=T[S++],x-=3;while(x>2);x&&(T[o++]=T[S++],x>1&&(T[o++]=T[S++]))}}else if((64&_)==0){b=y[(65535&b)+(d&(1<<_)-1)];continue}else{t.msg="invalid distance code",n.mode=30;break t}break}else if((64&_)==0){b=g[(65535&b)+(d&(1<<_)-1)];continue}else if(32&_){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}},86919:function(t,e,n){"use strict";var r,i,o=n(2604),a=n(55097),s=n(54702),l=n(92039),u=n(7093);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,k,M,T,C,E,A,O,I,D,P,L,R,Z,N=0,z=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===(h=t.state).mode&&(h.mode=13),g=t.next_out,d=t.output,b=t.avail_out,p=t.next_in,f=t.input,m=t.avail_in,_=h.hold,x=h.bits,w=m,S=b,L=0;e:for(;;)switch(h.mode){case 1:if(0===h.wrap){h.mode=13;break}for(;x<16;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}if(2&h.wrap&&35615===_){h.check=0,z[0]=255&_,z[1]=_>>>8&255,h.check=s(h.check,z,2,0),_=0,x=0,h.mode=2;break}if(h.flags=0,h.head&&(h.head.done=!1),!(1&h.wrap)||(((255&_)<<8)+(_>>8))%31){t.msg="incorrect header check",h.mode=30;break}if((15&_)!=8){t.msg="unknown compression method",h.mode=30;break}if(_>>>=4,x-=4,P=(15&_)+8,0===h.wbits)h.wbits=P;else if(P>h.wbits){t.msg="invalid window size",h.mode=30;break}h.dmax=1<<P,t.adler=h.check=1,h.mode=512&_?10:12,_=0,x=0;break;case 2:for(;x<16;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}if(h.flags=_,(255&h.flags)!=8){t.msg="unknown compression method",h.mode=30;break}if(57344&h.flags){t.msg="unknown header flags set",h.mode=30;break}h.head&&(h.head.text=_>>8&1),512&h.flags&&(z[0]=255&_,z[1]=_>>>8&255,h.check=s(h.check,z,2,0)),_=0,x=0,h.mode=3;case 3:for(;x<32;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}h.head&&(h.head.time=_),512&h.flags&&(z[0]=255&_,z[1]=_>>>8&255,z[2]=_>>>16&255,z[3]=_>>>24&255,h.check=s(h.check,z,4,0)),_=0,x=0,h.mode=4;case 4:for(;x<16;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}h.head&&(h.head.xflags=255&_,h.head.os=_>>8),512&h.flags&&(z[0]=255&_,z[1]=_>>>8&255,h.check=s(h.check,z,2,0)),_=0,x=0,h.mode=5;case 5:if(1024&h.flags){for(;x<16;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}h.length=_,h.head&&(h.head.extra_len=_),512&h.flags&&(z[0]=255&_,z[1]=_>>>8&255,h.check=s(h.check,z,2,0)),_=0,x=0}else h.head&&(h.head.extra=null);h.mode=6;case 6:if(1024&h.flags&&((k=h.length)>m&&(k=m),k&&(h.head&&(P=h.head.extra_len-h.length,h.head.extra||(h.head.extra=Array(h.head.extra_len)),o.arraySet(h.head.extra,f,p,k,P)),512&h.flags&&(h.check=s(h.check,f,k,p)),m-=k,p+=k,h.length-=k),h.length))break e;h.length=0,h.mode=7;case 7:if(2048&h.flags){if(0===m)break e;k=0;do P=f[p+k++],h.head&&P&&h.length<65536&&(h.head.name+=String.fromCharCode(P));while(P&&k<m);if(512&h.flags&&(h.check=s(h.check,f,k,p)),m-=k,p+=k,P)break e}else h.head&&(h.head.name=null);h.length=0,h.mode=8;case 8:if(4096&h.flags){if(0===m)break e;k=0;do P=f[p+k++],h.head&&P&&h.length<65536&&(h.head.comment+=String.fromCharCode(P));while(P&&k<m);if(512&h.flags&&(h.check=s(h.check,f,k,p)),m-=k,p+=k,P)break e}else h.head&&(h.head.comment=null);h.mode=9;case 9:if(512&h.flags){for(;x<16;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}if(_!==(65535&h.check)){t.msg="header crc mismatch",h.mode=30;break}_=0,x=0}h.head&&(h.head.hcrc=h.flags>>9&1,h.head.done=!0),t.adler=h.check=0,h.mode=12;break;case 10:for(;x<32;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}t.adler=h.check=c(_),_=0,x=0,h.mode=11;case 11:if(0===h.havedict)return t.next_out=g,t.avail_out=b,t.next_in=p,t.avail_in=m,h.hold=_,h.bits=x,2;t.adler=h.check=1,h.mode=12;case 12:if(5===e||6===e)break e;case 13:if(h.last){_>>>=7&x,x-=7&x,h.mode=27;break}for(;x<3;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}switch(h.last=1&_,x-=1,3&(_>>>=1)){case 0:h.mode=14;break;case 1:if(y){for(r=new o.Buf32(512),i=new o.Buf32(32),n=0;n<144;)h.lens[n++]=8;for(;n<256;)h.lens[n++]=9;for(;n<280;)h.lens[n++]=7;for(;n<288;)h.lens[n++]=8;for(u(1,h.lens,0,288,r,0,h.work,{bits:9}),n=0;n<32;)h.lens[n++]=5;u(2,h.lens,0,32,i,0,h.work,{bits:5}),y=!1}if(h.lencode=r,h.lenbits=9,h.distcode=i,h.distbits=5,h.mode=20,6===e){_>>>=2,x-=2;break e}break;case 2:h.mode=17;break;case 3:t.msg="invalid block type",h.mode=30}_>>>=2,x-=2;break;case 14:for(_>>>=7&x,x-=7&x;x<32;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}if((65535&_)!=(_>>>16^65535)){t.msg="invalid stored block lengths",h.mode=30;break}if(h.length=65535&_,_=0,x=0,h.mode=15,6===e)break e;case 15:h.mode=16;case 16:if(k=h.length){if(k>m&&(k=m),k>b&&(k=b),0===k)break e;o.arraySet(d,f,p,k,g),m-=k,p+=k,b-=k,g+=k,h.length-=k;break}h.mode=12;break;case 17:for(;x<14;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}if(h.nlen=(31&_)+257,x-=5,h.ndist=(31&(_>>>=5))+1,x-=5,h.ncode=(15&(_>>>=5))+4,_>>>=4,x-=4,h.nlen>286||h.ndist>30){t.msg="too many length or distance symbols",h.mode=30;break}h.have=0,h.mode=18;case 18:for(;h.have<h.ncode;){for(;x<3;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}h.lens[F[h.have++]]=7&_,_>>>=3,x-=3}for(;h.have<19;)h.lens[F[h.have++]]=0;if(h.lencode=h.lendyn,h.lenbits=7,R={bits:h.lenbits},L=u(0,h.lens,0,19,h.lencode,0,h.work,R),h.lenbits=R.bits,L){t.msg="invalid code lengths set",h.mode=30;break}h.have=0,h.mode=19;case 19:for(;h.have<h.nlen+h.ndist;){for(;C=(N=h.lencode[_&(1<<h.lenbits)-1])>>>24,E=N>>>16&255,A=65535&N,!(C<=x);){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}if(A<16)_>>>=C,x-=C,h.lens[h.have++]=A;else{if(16===A){for(Z=C+2;x<Z;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}if(_>>>=C,x-=C,0===h.have){t.msg="invalid bit length repeat",h.mode=30;break}P=h.lens[h.have-1],k=3+(3&_),_>>>=2,x-=2}else if(17===A){for(Z=C+3;x<Z;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}_>>>=C,x-=C,P=0,k=3+(7&_),_>>>=3,x-=3}else{for(Z=C+7;x<Z;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}_>>>=C,x-=C,P=0,k=11+(127&_),_>>>=7,x-=7}if(h.have+k>h.nlen+h.ndist){t.msg="invalid bit length repeat",h.mode=30;break}for(;k--;)h.lens[h.have++]=P}}if(30===h.mode)break;if(0===h.lens[256]){t.msg="invalid code -- missing end-of-block",h.mode=30;break}if(h.lenbits=9,R={bits:h.lenbits},L=u(1,h.lens,0,h.nlen,h.lencode,0,h.work,R),h.lenbits=R.bits,L){t.msg="invalid literal/lengths set",h.mode=30;break}if(h.distbits=6,h.distcode=h.distdyn,R={bits:h.distbits},L=u(2,h.lens,h.nlen,h.ndist,h.distcode,0,h.work,R),h.distbits=R.bits,L){t.msg="invalid distances set",h.mode=30;break}if(h.mode=20,6===e)break e;case 20:h.mode=21;case 21:if(m>=6&&b>=258){t.next_out=g,t.avail_out=b,t.next_in=p,t.avail_in=m,h.hold=_,h.bits=x,l(t,S),g=t.next_out,d=t.output,b=t.avail_out,p=t.next_in,f=t.input,m=t.avail_in,_=h.hold,x=h.bits,12===h.mode&&(h.back=-1);break}for(h.back=0;C=(N=h.lencode[_&(1<<h.lenbits)-1])>>>24,E=N>>>16&255,A=65535&N,!(C<=x);){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}if(E&&(240&E)==0){for(O=C,I=E,D=A;C=(N=h.lencode[D+((_&(1<<O+I)-1)>>O)])>>>24,E=N>>>16&255,A=65535&N,!(O+C<=x);){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}_>>>=O,x-=O,h.back+=O}if(_>>>=C,x-=C,h.back+=C,h.length=A,0===E){h.mode=26;break}if(32&E){h.back=-1,h.mode=12;break}if(64&E){t.msg="invalid literal/length code",h.mode=30;break}h.extra=15&E,h.mode=22;case 22:if(h.extra){for(Z=h.extra;x<Z;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}h.length+=_&(1<<h.extra)-1,_>>>=h.extra,x-=h.extra,h.back+=h.extra}h.was=h.length,h.mode=23;case 23:for(;C=(N=h.distcode[_&(1<<h.distbits)-1])>>>24,E=N>>>16&255,A=65535&N,!(C<=x);){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}if((240&E)==0){for(O=C,I=E,D=A;C=(N=h.distcode[D+((_&(1<<O+I)-1)>>O)])>>>24,E=N>>>16&255,A=65535&N,!(O+C<=x);){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}_>>>=O,x-=O,h.back+=O}if(_>>>=C,x-=C,h.back+=C,64&E){t.msg="invalid distance code",h.mode=30;break}h.offset=A,h.extra=15&E,h.mode=24;case 24:if(h.extra){for(Z=h.extra;x<Z;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}h.offset+=_&(1<<h.extra)-1,_>>>=h.extra,x-=h.extra,h.back+=h.extra}if(h.offset>h.dmax){t.msg="invalid distance too far back",h.mode=30;break}h.mode=25;case 25:if(0===b)break e;if(k=S-b,h.offset>k){if((k=h.offset-k)>h.whave&&h.sane){t.msg="invalid distance too far back",h.mode=30;break}k>h.wnext?(k-=h.wnext,M=h.wsize-k):M=h.wnext-k,k>h.length&&(k=h.length),T=h.window}else T=d,M=g-h.offset,k=h.length;k>b&&(k=b),b-=k,h.length-=k;do d[g++]=T[M++];while(--k);0===h.length&&(h.mode=21);break;case 26:if(0===b)break e;d[g++]=h.length,b--,h.mode=21;break;case 27:if(h.wrap){for(;x<32;){if(0===m)break e;m--,_|=f[p++]<<x,x+=8}if(S-=b,t.total_out+=S,h.total+=S,S&&(t.adler=h.check=h.flags?s(h.check,d,S,g-S):a(h.check,d,S,g-S)),S=b,(h.flags?_:c(_))!==h.check){t.msg="incorrect data check",h.mode=30;break}_=0,x=0}h.mode=28;case 28:if(h.wrap&&h.flags){for(;x<32;){if(0===m)break e;m--,_+=f[p++]<<x,x+=8}if(_!==(0|h.total)){t.msg="incorrect length check",h.mode=30;break}_=0,x=0}h.mode=29;case 29:L=1;break e;case 30:L=-3;break e;case 31:return -4;default:return -2}return(t.next_out=g,t.avail_out=b,t.next_in=p,t.avail_in=m,h.hold=_,h.bits=x,(h.wsize||S!==t.avail_out&&h.mode<30&&(h.mode<27||4!==e))&&v(t,t.output,t.next_out,S-t.avail_out))?(h.mode=31,-4):(w-=t.avail_in,S-=t.avail_out,t.total_in+=w,t.total_out+=S,h.total+=S,h.wrap&&S&&(t.adler=h.check=h.flags?s(h.check,d,S,t.next_out-S):a(h.check,d,S,t.next_out-S)),t.data_type=h.bits+64*!!h.last+128*(12===h.mode)+256*(20===h.mode||15===h.mode),(0===w&&0===S||4===e)&&0===L&&(L=-5),L)},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)"},7093:function(t,e,n){"use strict";var r=n(2604),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,k=0,M=0,T=0,C=0,E=0,A=0,O=0,I=0,D=0,P=null,L=0,R=new r.Buf16(16),Z=new r.Buf16(16),N=null,z=0;for(S=0;S<=15;S++)R[S]=0;for(k=0;k<l;k++)R[e[n+k]]++;for(T=15,C=w;T>=1&&0===R[T];T--);if(C>T&&(C=T),0===T)return u[c++]=0x1400000,u[c++]=0x1400000,f.bits=1,0;for(M=1;M<T&&0===R[M];M++);for(C<M&&(C=M),O=1,S=1;S<=15;S++)if(O<<=1,(O-=R[S])<0)return -1;if(O>0&&(0===t||1!==T))return -1;for(S=1,Z[1]=0;S<15;S++)Z[S+1]=Z[S]+R[S];for(k=0;k<l;k++)0!==e[n+k]&&(h[Z[e[n+k]]++]=k);if(0===t?(P=N=h,m=19):1===t?(P=i,L-=257,N=o,z-=257,m=256):(P=a,N=s,m=-1),D=0,k=0,S=M,v=c,E=C,A=0,g=-1,y=(I=1<<C)-1,1===t&&I>852||2===t&&I>592)return 1;for(;;){b=S-A,h[k]<m?(_=0,x=h[k]):h[k]>m?(_=N[z+h[k]],x=P[L+h[k]]):(_=96,x=0),d=1<<S-A,M=p=1<<E;do u[v+(D>>A)+(p-=d)]=b<<24|_<<16|x;while(0!==p);for(d=1<<S-1;D&d;)d>>=1;if(0!==d?(D&=d-1,D+=d):D=0,k++,0==--R[S]){if(S===T)break;S=e[n+h[k]]}if(S>C&&(D&y)!==g){for(0===A&&(A=C),v+=M,O=1<<(E=S-A);E+A<T&&!((O-=R[E+A])<=0);)E++,O<<=1;if(I+=1<<E,1===t&&I>852||2===t&&I>592)return 1;u[g=D&y]=C<<24|E<<16|v-c}}return 0!==D&&(u[v+D]=S-A<<24|4194304),f.bits=C,0}},66186: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"}},97134:function(t,e,n){"use strict";var r,i,o,a=n(2604);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 b(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 _(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 k(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 T(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 C(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 E(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 A(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 O(t,e,n){for(var r=t.heap[n],i=n<<1;i<=t.heap_len&&(i<t.heap_len&&A(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!A(e,r,t.heap[i],t.depth));)t.heap[n]=t.heap[i],n=i,i<<=1;t.heap[n]=r}function I(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?k(t,i,e):(k(t,(o=y[i])+256+1,e),0!==(a=u[o])&&S(t,i-=v[o],a),k(t,o=x(--r),n),0!==(a=c[o])&&S(t,r-=m[o],a));while(s<t.last_lit);k(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--)O(t,o,n);i=u;do n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],O(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++,O(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),T(o,c,t.bl_count)}function P(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 k(t,i,t.bl_tree);while(0!=--s);else 0!==i?(i!==o&&(k(t,i,t.bl_tree),s--),k(t,16,t.bl_tree),S(t,s-3,2)):s<=10?(k(t,17,t.bl_tree),S(t,s-3,3)):(k(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 R=!1;function Z(t,e,n,r){S(t,0+ +!!r,3),E(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){R||(!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(T(d,287,l),t=0;t<30;t++)p[2*t+1]=5,p[2*t]=M(t,5);r=new b(d,u,257,286,15),i=new b(p,c,0,30,15),o=new b([],h,0,19,7)}(),R=!0),t.l_desc=new _(t.dyn_ltree,r),t.d_desc=new _(t.dyn_dtree,i),t.bl_desc=new _(t.bl_tree,o),t.bi_buf=0,t.bi_valid=0,C(t)},e._tr_stored_block=Z,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(P(t,t.dyn_ltree,t.l_desc.max_code),P(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?Z(t,e,n,r):4===t.strategy||o===i?(S(t,2+ +!!r,3),I(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),I(t,t.dyn_ltree,t.dyn_dtree)),C(t),r&&E(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),k(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)}},24104: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}},77410:function(t,e,n){"use strict";var r=n(73656);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},79138: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},16950:function(t){"use strict";t.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},73656: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}},20326: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}},2972: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},23955:function(t,e,n){"use strict";var r=n(73656),i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=c;var o=n(40794),a=n(33216);n(67483)(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)}})},70637:function(t,e,n){"use strict";t.exports=i;var r=n(93685);function i(t){if(!(this instanceof i))return new i(t);r.call(this,t)}n(67483)(i,r),i.prototype._transform=function(t,e,n){n(null,t)}},40794:function(t,e,n){"use strict";var r,i,o,a,s,l=n(73656);t.exports=M,M.ReadableState=k,n(47324).EventEmitter;var u=function(t,e){return t.listeners(e).length},c=n(61612),h=n(57861).Buffer,f=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},d=n(41037);i=d&&d.debuglog?d.debuglog("stream"):function(){};var p=n(68741),g=n(48045),y=n(36782).getHighWaterMark,v=n(2972).codes,m=v.ERR_INVALID_ARG_TYPE,b=v.ERR_STREAM_PUSH_AFTER_EOF,_=v.ERR_METHOD_NOT_IMPLEMENTED,x=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(67483)(M,c);var w=g.errorOrDestroy,S=["error","close","destroy","pause","resume"];function k(t,e,i){r=r||n(23955),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(23457).StringDecoder),this.decoder=new o(t.encoding),this.encoding=t.encoding)}function M(t){if(r=r||n(23955),!(this instanceof M))return new M(t);var e=this instanceof r;this._readableState=new k(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 T(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?A(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,O(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):C(t,l,e,!0);else if(l.ended)w(t,new b);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(e=l.decoder.write(e),l.objectMode||0!==e.length?C(t,l,e,!1):I(t,l)):C(t,l,e,!1)}else r||(l.reading=!1,I(t,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function C(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&&A(t)),I(t,e)}function E(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 A(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(O,t))}function O(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,Z(t)}function I(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 P(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 R(t,e){i("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),Z(t),e.flowing&&!e.reading&&t.read(0)}function Z(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function N(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 z(t){var e=t._readableState;i("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,l.nextTick(F,e,t))}function F(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 B(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),T(this,t,e,!1,n)},M.prototype.unshift=function(t){return T(this,t,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(t){o||(o=n(23457).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?z(this):A(this),null;if(0===(t=E(t,n))&&n.ended)return 0===n.length&&z(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=E(r,n))),null===(e=t>0?N(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&&z(this)),null!==e&&this.emit("data",e),e},M.prototype._read=function(t){w(this,new _("_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,Z(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!==B(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=B(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?A(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(P,this),n},M.prototype.removeAllListeners=function(t){var e=c.prototype.removeAllListeners.apply(this,arguments);return("readable"===t||void 0===t)&&l.nextTick(P,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(R,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){if(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(21505)),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=N,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(23913)),s(M,t,e)})},93685:function(t,e,n){"use strict";t.exports=c;var r=n(2972).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(23955);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(67483)(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)})}},33216:function(t,e,n){"use strict";var r,i,o=n(73656);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=k;var s={deprecate:n(54012)},l=n(61612),u=n(57861).Buffer,c=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},h=n(48045),f=n(36782).getHighWaterMark,d=n(2972).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,b=d.ERR_STREAM_NULL_VALUES,_=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,w=h.errorOrDestroy;function S(){}function k(t,e,i){r=r||n(23955),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(I,t,n),t._writableState.errorEmitted=!0,w(t,e)):(i(e),t._writableState.errorEmitted=!0,w(t,e),I(t,n));else{var a=A(n)||t.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||E(t,n),r?o.nextTick(C,t,n,a,i):C(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(67483)(M,l),k.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e};try{Object.defineProperty(k.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(23955));if(!e&&!i.call(M,this))return new M(t);this._writableState=new k(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 T(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 C(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(),I(t,e)}function E(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,T(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(T(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 A(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function O(t,e){t._final(function(n){e.pendingcb--,n&&w(t,n),e.prefinished=!0,t.emit("prefinish"),I(t,e)})}function I(t,e){var n=A(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(O,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 k}})):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 _),o.nextTick(a,s)):(y||(l=t,h=n,null===l?f=new b:"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 T(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||E(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,I(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)}},21505:function(t,e,n){"use strict";var r,i=n(73656);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(3825),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(){if(t[c])return void 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){if(t)return void 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}},68741: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(57861).Buffer,s=n(6156).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}()},48045:function(t,e,n){"use strict";var r=n(73656);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)}}},3825:function(t,e,n){"use strict";var r=n(2972).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)}}},23913:function(t){t.exports=function(){throw Error("Readable.from is not available in the browser")}},3599:function(t,e,n){"use strict";var r,i=n(2972).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(3825)),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)}},36782:function(t,e,n){"use strict";var r=n(2972).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}}},61612:function(t,e,n){t.exports=n(47324).EventEmitter},39896: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}},20759:function(t,e,n){"use strict";n.d(e,{Z:()=>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})},b=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}(),_="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 b(e,u.getInstance(),this);_.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){x.prototype[t]=function(){var e;return(e=_.get(this))[t].apply(e,arguments)}});let w=void 0!==o.ResizeObserver?o.ResizeObserver:x},21607:function(t,e,n){var r=n(57861),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)}},61814:function(t,e,n){"use strict";var r=n(30799),i=n(46758),o=r("RegExp.prototype.exec"),a=n(81088);t.exports=function(t){if(!i(t))throw new a("`regex` must be a RegExp");return function(e){return null!==o(t,e)}}},40315: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,b="function"==typeof clearTimeout?clearTimeout:null,_="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,P(S);else{var e=r(h);null!==e&&L(w,e.startTime-t)}}function S(t,n){y=!1,v&&(v=!1,b(T),T=-1),g=!0;var o=p;try{for(x(n),d=r(c);null!==d&&(!(d.expirationTime>n)||t&&!A());){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 k=!1,M=null,T=-1,C=5,E=-1;function A(){return!(e.unstable_now()-E<C)}function O(){if(null!==M){var t=e.unstable_now();E=t;var n=!0;try{n=M(!0,t)}finally{n?a():(k=!1,M=null)}}else k=!1}if("function"==typeof _)a=function(){_(O)};else if("undefined"!=typeof MessageChannel){var I=new MessageChannel,D=I.port2;I.port1.onmessage=O,a=function(){D.postMessage(null)}}else a=function(){m(O,0)};function P(t){M=t,k||(k=!0,a())}function L(t,n){T=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,P(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"):C=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?(b(T),T=-1):v=!0,L(w,o-a))):(t.sortIndex=s,n(c,t),y||g||(y=!0,P(S))),t},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(t){var e=p;return function(){var n=p;p=e;try{return t.apply(this,arguments)}finally{p=n}}}},4541:function(t,e,n){"use strict";t.exports=n(40315)},5186:function(t,e,n){"use strict";var r=n(94687),i=n(13430),o=n(65768)(),a=n(69511),s=n(81088),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}},11501: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"},49503: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)}}},93415:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=1;e.default=function(){return"".concat(n++)}},84250:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ver=e.clear=e.bind=void 0;var r=n(52852);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)},e.ver="1.0.2"},52852: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(93415))&&r.__esModule?r:{default:r},o=n(75406),a=n(11501),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)}},75406:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var r=n(46760),i=n(22261);e.createSensor="undefined"!=typeof ResizeObserver?i.createSensor:r.createSensor},46760:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var r,i=(r=n(49503))&&r.__esModule?r:{default:r},o=n(11501);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()}}}},22261:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var r,i=n(11501),o=(r=n(49503))&&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()}}}},96704:function(t,e,n){t.exports=i;var r=n(47324).EventEmitter;function i(){r.call(this)}n(67483)(i,r),i.Readable=n(40794),i.Writable=n(33216),i.Duplex=n(23955),i.Transform=n(93685),i.PassThrough=n(70637),i.finished=n(3825),i.pipeline=n(3599),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}},86021:function(t){t.exports=function(t){return t.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()}},23457:function(t,e,n){"use strict";var r=n(21607).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}},53637:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=null;if(!t||"string"!=typeof t)return n;var r=(0,i.default)(t),o="function"==typeof e;return r.forEach(function(t){if("declaration"===t.type){var r=t.property,i=t.value;o?e(r,i,t):i&&((n=n||{})[r]=i)}}),n};var i=r(n(74847))},80480: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()}}},14828: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")}},89730:function(t,e,n){"use strict";var r=n(39896),i=n(20326),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?global:"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,b=f.slice(),_=typeof e,x=0;for("object"!==_&&"string"!==_&&(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)))&&(b[3]=[/(.*)/,"pathname"]);x<b.length;x++){if("function"==typeof(u=b[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},54012: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()}},18946:function(t){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},76096:function(t,e,n){"use strict";var r=n(43133),i=n(5547),o=n(34642),a=n(47428);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 b(t){return"[object WeakMap]"===c(t)}function _(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 k(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)||k(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)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(b.working?b(t):t instanceof WeakMap)},_.working="undefined"!=typeof WeakSet&&_(new WeakSet),e.isWeakSet=function(t){return _(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=k;var M="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function T(t){return"[object SharedArrayBuffer]"===c(t)}function C(t){return void 0!==M&&(void 0===T.working&&(T.working=T(new M)),T.working?T(t):t instanceof M)}function E(t){return y(t,h)}function A(t){return y(t,f)}function O(t){return y(t,d)}function I(t){return l&&y(t,p)}function D(t){return u&&y(t,g)}e.isSharedArrayBuffer=C,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=E,e.isStringObject=A,e.isBooleanObject=O,e.isBigIntObject=I,e.isSymbolObject=D,e.isBoxedPrimitive=function(t){return E(t)||A(t)||O(t)||I(t)||D(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(w(t)||C(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw Error(t+" is not supported in userland")}})})},80911:function(t,e,n){var r=n(73656),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),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(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&&k(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(b(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),T=(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(k(n)){var C=n.name?": "+n.name:"";return t.stylize("[Function"+C+"]","special")}if(_(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 A="",O=!1,I=["{","}"];if(p(n)&&(O=!0,I=["[","]"]),k(n)&&(A=" [Function"+(n.name?": "+n.name:"")+"]"),_(n)&&(A=" "+RegExp.prototype.toString.call(n)),w(n)&&(A=" "+Date.prototype.toUTCString.call(n)),S(n)&&(A=" "+f(n)),0===M.length&&(!O||0==n.length))return I[0]+A+I[1];if(r<0)if(_(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");else return t.stylize("[Object]","special");return t.seen.push(n),u=O?function(t,e,n,r,i){for(var o=[],a=0,s=e.length;a<s;++a)E(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,T,M):M.map(function(e){return d(t,n,r,T,e,O)}),t.seen.pop(),i=u,o=A,a=I,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")),E(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")),b(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 b(t){return void 0===t}function _(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 k(t){return"function"==typeof t}function M(t){return Object.prototype.toString.call(t)}function T(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(76096),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=b,e.isRegExp=_,e.types.isRegExp=_,e.isObject=x,e.isDate=w,e.types.isDate=w,e.isError=S,e.types.isNativeError=S,e.isFunction=k,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(18946);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,n;console.log("%s - %s",(n=[T((t=new Date).getHours()),T(t.getMinutes()),T(t.getSeconds())].join(":"),[t.getDate(),C[t.getMonth()],n].join(" ")),e.format.apply(e,arguments))},e.inherits=n(67483),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 A="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function O(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(A&&t[A]){var e=t[A];if("function"!=typeof e)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,A,{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)),A&&Object.defineProperty(e,A,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,i(t))},e.promisify.custom=A,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(O.bind(null,t,a))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,i(t)),e}},34642:function(t,e,n){"use strict";var r=n(98),i=n(53121),o=n(41749),a=n(30799),s=n(69511),l=a("Object.prototype.toString"),u=n(58625)(),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}},76864:function(t){t.exports=function(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},t.exports.__esModule=!0,t.exports.default=t.exports},76524:function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},20305:function(t,e,n){var r=n(76864);t.exports=function(t){if(Array.isArray(t))return r(t)},t.exports.__esModule=!0,t.exports.default=t.exports},98730:function(t){t.exports=function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},58777:function(t){function e(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)}t.exports=function(t){return function(){var n=this,r=arguments;return new Promise(function(i,o){var a=t.apply(n,r);function s(t){e(a,i,o,s,l,"next",t)}function l(t){e(a,i,o,s,l,"throw",t)}s(void 0)})}},t.exports.__esModule=!0,t.exports.default=t.exports},72808:function(t,e,n){var r=n(3036),i=n(63208),o=n(98175);t.exports=function(t,e,n){return e=r(e),o(t,i()?Reflect.construct(e,n||[],r(t).constructor):e.apply(t,n))},t.exports.__esModule=!0,t.exports.default=t.exports},26722:function(t){t.exports=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},3545:function(t,e,n){var r=n(85531);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,r(i.key),i)}}t.exports=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},26823:function(t,e,n){var r=n(3036),i=n(63208),o=n(98175);t.exports=function(t){var e=i();return function(){var n,i=r(t);return n=e?Reflect.construct(i,arguments,r(this).constructor):i.apply(this,arguments),o(this,n)}},t.exports.__esModule=!0,t.exports.default=t.exports},42495:function(t,e,n){var r=n(85531);t.exports=function(t,e,n){return(e=r(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},17328:function(t){function e(){return t.exports=e=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},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(null,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},3036:function(t){function e(n){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},94512:function(t,e,n){var r=n(76367);t.exports=function(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&&r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},4095:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},64923:function(t,e,n){var r=n(98305).default;function i(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(t)}t.exports=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=r(t)&&"function"!=typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&({}).hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=t[s]}return o.default=t,n&&n.set(t,o),o},t.exports.__esModule=!0,t.exports.default=t.exports},63208:function(t){function e(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(t.exports=e=function(){return!!n},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},41576:function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},72455:function(t){t.exports=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.exports.__esModule=!0,t.exports.default=t.exports},60948:function(t){t.exports=function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},47180:function(t){t.exports=function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},78410:function(t,e,n){var r=n(42495);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}t.exports=function(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){r(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},t.exports.__esModule=!0,t.exports.default=t.exports},54060:function(t,e,n){var r=n(5291);t.exports=function(t,e){if(null==t)return{};var n,i,o=r(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],e.includes(n)||({}).propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o},t.exports.__esModule=!0,t.exports.default=t.exports},5291:function(t){t.exports=function(t,e){if(null==t)return{};var n={};for(var r in t)if(({}).hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n},t.exports.__esModule=!0,t.exports.default=t.exports},98175:function(t,e,n){var r=n(98305).default,i=n(98730);t.exports=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");return i(t)},t.exports.__esModule=!0,t.exports.default=t.exports},2889:function(t,e,n){var r=n(98305).default;function i(){"use strict";t.exports=i=function(){return n},t.exports.__esModule=!0,t.exports.default=t.exports;var e,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(t,e,n){t[e]=n.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",h=l.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function d(t,n,r,i){var o,a,l,u,c=Object.create((n&&n.prototype instanceof b?n:b).prototype);return s(c,"_invoke",{value:(o=t,a=r,l=new O(i||[]),u=g,function(t,n){if(u===y)throw Error("Generator is already running");if(u===v){if("throw"===t)throw n;return{value:e,done:!0}}for(l.method=t,l.arg=n;;){var r=l.delegate;if(r){var i=function t(n,r){var i=r.method,o=n.iterator[i];if(o===e)return r.delegate=null,"throw"===i&&n.iterator.return&&(r.method="return",r.arg=e,t(n,r),"throw"===r.method)||"return"!==i&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+i+"' method")),m;var a=p(o,n.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var s=a.arg;return s?s.done?(r[n.resultName]=s.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):s:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,m)}(r,l);if(i){if(i===m)continue;return i}}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if(u===g)throw u=v,l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);u=y;var s=p(o,a,l);if("normal"===s.type){if(u=l.done?v:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:l.done}}"throw"===s.type&&(u=v,l.method="throw",l.arg=s.arg)}})}),c}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=d;var g="suspendedStart",y="executing",v="completed",m={};function b(){}function _(){}function x(){}var w={};f(w,u,function(){return this});var S=Object.getPrototypeOf,k=S&&S(S(I([])));k&&k!==o&&a.call(k,u)&&(w=k);var M=x.prototype=b.prototype=Object.create(w);function T(t){["next","throw","return"].forEach(function(e){f(t,e,function(t){return this._invoke(e,t)})})}function C(t,e){var n;s(this,"_invoke",{value:function(i,o){function s(){return new e(function(n,s){!function n(i,o,s,l){var u=p(t[i],t,o);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"==r(h)&&a.call(h,"__await")?e.resolve(h.__await).then(function(t){n("next",t,s,l)},function(t){n("throw",t,s,l)}):e.resolve(h).then(function(t){c.value=t,s(c)},function(t){return n("throw",t,s,l)})}l(u.arg)}(i,o,n,s)})}return n=n?n.then(s,s):s()}})}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(a.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw TypeError(r(t)+" is not iterable")}return _.prototype=x,s(M,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:_,configurable:!0}),_.displayName=f(x,h,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,f(t,h,"GeneratorFunction")),t.prototype=Object.create(M),t},n.awrap=function(t){return{__await:t}},T(C.prototype),f(C.prototype,c,function(){return this}),n.AsyncIterator=C,n.async=function(t,e,r,i,o){void 0===o&&(o=Promise);var a=new C(d(t,e,r,i),o);return n.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next()})},T(M),f(M,h,"Generator"),f(M,u,function(){return this}),f(M,"toString",function(){return"[object Generator]"}),n.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=I,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},n}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},76367:function(t){function e(n,r){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n,r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},11003:function(t,e,n){var r=n(76524),i=n(72455),o=n(83070),a=n(60948);t.exports=function(t,e){return r(t)||i(t,e)||o(t,e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},34355:function(t,e,n){var r=n(76524),i=n(41576),o=n(83070),a=n(60948);t.exports=function(t){return r(t)||i(t)||o(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},53887:function(t,e,n){var r=n(20305),i=n(41576),o=n(83070),a=n(47180);t.exports=function(t){return r(t)||i(t)||o(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},49379:function(t,e,n){var r=n(98305).default;t.exports=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},85531:function(t,e,n){var r=n(98305).default,i=n(49379);t.exports=function(t){var e=i(t,"string");return"symbol"==r(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports},98305:function(t){function e(n){return t.exports=e="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.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},83070:function(t,e,n){var r=n(76864);t.exports=function(t,e){if(t){if("string"==typeof t)return r(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)?r(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},53121:function(t,e,n){"use strict";var r=n(16950),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}},41229: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}()},23191:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});let n=t=>"object"==typeof t&&null!=t&&1===t.nodeType,r=(t,e)=>(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t,i=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){let n=getComputedStyle(t,null);return r(n.overflowY,e)||r(n.overflowX,e)||(t=>{let e=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t);return!!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)})(t)}return!1},o=(t,e,n,r,i,o,a,s)=>o<t&&a>e||o>t&&a<e?0:o<=t&&s<=n||a>=e&&s>=n?o-t-r:a>e&&s<n||o<t&&s>n?a-e+i:0,a=t=>{let e=t.parentElement;return null==e?t.getRootNode().host||null:e};e.compute=(t,e)=>{var r,s,l,u;if("undefined"==typeof document)return[];let{scrollMode:c,block:h,inline:f,boundary:d,skipOverflowHiddenElements:p}=e,g="function"==typeof d?d:t=>t!==d;if(!n(t))throw TypeError("Invalid target");let y=document.scrollingElement||document.documentElement,v=[],m=t;for(;n(m)&&g(m);){if((m=a(m))===y){v.push(m);break}null!=m&&m===document.body&&i(m)&&!i(document.documentElement)||null!=m&&i(m,p)&&v.push(m)}let b=null!=(s=null==(r=window.visualViewport)?void 0:r.width)?s:innerWidth,_=null!=(u=null==(l=window.visualViewport)?void 0:l.height)?u:innerHeight,{scrollX:x,scrollY:w}=window,{height:S,width:k,top:M,right:T,bottom:C,left:E}=t.getBoundingClientRect(),{top:A,right:O,bottom:I,left:D}=(t=>{let e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t),P="start"===h||"nearest"===h?M-A:"end"===h?C+I:M+S/2-A+I,L="center"===f?E+k/2-D+O:"end"===f?T+O:E-D,R=[];for(let t=0;t<v.length;t++){let e=v[t],{height:n,width:r,top:a,right:s,bottom:l,left:u}=e.getBoundingClientRect();if("if-needed"===c&&M>=0&&E>=0&&C<=_&&T<=b&&(e===y&&!i(e)||M>=a&&C<=l&&E>=u&&T<=s))break;let d=getComputedStyle(e),p=parseInt(d.borderLeftWidth,10),g=parseInt(d.borderTopWidth,10),m=parseInt(d.borderRightWidth,10),A=parseInt(d.borderBottomWidth,10),O=0,I=0,D="offsetWidth"in e?e.offsetWidth-e.clientWidth-p-m:0,Z="offsetHeight"in e?e.offsetHeight-e.clientHeight-g-A:0,N="offsetWidth"in e?0===e.offsetWidth?0:r/e.offsetWidth:0,z="offsetHeight"in e?0===e.offsetHeight?0:n/e.offsetHeight:0;if(y===e)O="start"===h?P:"end"===h?P-_:"nearest"===h?o(w,w+_,_,g,A,w+P,w+P+S,S):P-_/2,I="start"===f?L:"center"===f?L-b/2:"end"===f?L-b:o(x,x+b,b,p,m,x+L,x+L+k,k),O=Math.max(0,O+w),I=Math.max(0,I+x);else{O="start"===h?P-a-g:"end"===h?P-l+A+Z:"nearest"===h?o(a,l,n,g,A+Z,P,P+S,S):P-(a+n/2)+Z/2,I="start"===f?L-u-p:"center"===f?L-(u+r/2)+D/2:"end"===f?L-s+m+D:o(u,s,r,p,m+D,L,L+k,k);let{scrollLeft:t,scrollTop:i}=e;O=0===z?0:Math.max(0,Math.min(i+O/z,e.scrollHeight-n/z+Z)),I=0===N?0:Math.max(0,Math.min(t+I/N,e.scrollWidth-r/N+D)),P+=i-O,L+=t-I}R.push({el:e,top:O,left:I})}return R}},79900:function(t,e,n){"use strict";let r;var i={};i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{logger:()=>A,createLogger:()=>E});let a=n(73656),s=n(72715),l=n(14828);function u(t,e=globalThis.Deno?globalThis.Deno.args:a.argv){let n=t.startsWith("-")?"":1===t.length?"-":"--",r=e.indexOf(n+t),i=e.indexOf("--");return -1!==r&&(-1===i||r<i)}let{env:c}=a;function h(t,e={}){var n;return 0!==(n=function(t,{streamIsTTY:e,sniffFlags:n=!0}={}){let i=function(){if(!("FORCE_COLOR"in c))return;if("true"===c.FORCE_COLOR)return 1;if("false"===c.FORCE_COLOR)return 0;if(0===c.FORCE_COLOR.length)return 1;let t=Math.min(Number.parseInt(c.FORCE_COLOR,10),3);if([0,1,2,3].includes(t))return t}();void 0!==i&&(r=i);let o=n?r:i;if(0===o)return 0;if(n){if(u("color=16m")||u("color=full")||u("color=truecolor"))return 3;if(u("color=256"))return 2}if("TF_BUILD"in c&&"AGENT_NAME"in c)return 1;if(t&&!e&&void 0===o)return 0;let l=o||0;if("dumb"===c.TERM)return l;if("win32"===a.platform){let t=s.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in c)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(t=>t in c)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(t=>t in c)||"codeship"===c.CI_NAME?1:l;if("TEAMCITY_VERSION"in c)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(c.TEAMCITY_VERSION);if("truecolor"===c.COLORTERM||"xterm-kitty"===c.TERM)return 3;if("TERM_PROGRAM"in c){let t=Number.parseInt((c.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(c.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(c.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(c.TERM)||"COLORTERM"in c?1:l}(t,{streamIsTTY:t&&t.isTTY,...e}))&&{level:n,hasBasic:!0,has256:n>=2,has16m:n>=3}}u("no-color")||u("no-colors")||u("color=false")||u("color=never")?r=0:(u("color")||u("colors")||u("color=true")||u("color=always"))&&(r=1);let f={stdout:h({isTTY:l.isatty(1)}),stderr:h({isTTY:l.isatty(2)})},d=f.stdout?f.stdout.level:0,p=/at\s.*:\d+:\d+[\s\)]*$/,g=/at\s.*\(<anonymous>\)$/,y=(t,e,n=t)=>d>=2?r=>{let i=""+r,o=i.indexOf(e,t.length);return~o?t+v(i,e,n,o)+e:t+i+e}:String,v=(t,e,n,r)=>{let i=t.substring(0,r)+n,o=t.substring(r+e.length),a=o.indexOf(e);return~a?i+v(o,e,n,a):i+o},m=y("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m"),b=y("\x1b[31m","\x1b[39m"),_=y("\x1b[32m","\x1b[39m"),x=y("\x1b[33m","\x1b[39m"),w=y("\x1b[35m","\x1b[39m"),S=y("\x1b[36m","\x1b[39m"),k=y("\x1b[90m","\x1b[39m"),M=t=>!/[\s\n]/.test(t),T={silent:-1,error:0,warn:1,info:2,log:2,verbose:3},C={error:{label:"error",level:"error",color:b},warn:{label:"warn",level:"warn",color:x},info:{label:"info",level:"info",color:S},start:{label:"start",level:"info",color:S},ready:{label:"ready",level:"info",color:_},success:{label:"success",level:"info",color:_},log:{level:"info"},debug:{label:"debug",level:"verbose",color:w}},E=(t={})=>{let e=t.level||"info",n=(t,n,...r)=>{if(T[C[t].level]>T[e])return;if(null==n)return console.log();let i=C[t],o="",a="";if("label"in i&&(o=(i.label||"").padEnd(7),o=m(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
- ${k(e.join("\n"))}`}else a=n.message;else a="error"===i.level&&"string"==typeof n?n.split("\n").map(t=>p.test(t)||g.test(t)?k(t):t).join("\n"):`${n}`;console.log(o.length?`${o} ${a}`:a,...r)},r={greet:t=>n("log",(t=>{if(d<3)return 2===d?m(S(t)):t;let e=[...t],n=e.filter(M).length,r=189,i=255,o=243,a=-115/n,s=-61/n,l=-89/n,u="";for(let t of e)M(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 m(u)})(t))};return Object.keys(C).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},A=E();for(var O in e.createLogger=o.createLogger,e.logger=o.logger,o)-1===["createLogger","logger"].indexOf(O)&&(e[O]=o[O]);Object.defineProperty(e,"__esModule",{value:!0})},27818:function(t,e,n){"use strict";var r=n(23191);t.exports=function(t,e){if(!t.isConnected||!(t=>{let e=t;for(;e&&e.parentNode;){if(e.parentNode===document)return!0;e=e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}return!1})(t))return;let n=(t=>{let e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t);if("object"==typeof e&&"function"==typeof e.behavior)return e.behavior(r.compute(t,e));let i="boolean"==typeof e||null==e?void 0:e.behavior;for(let{el:o,top:a,left:s}of r.compute(t,!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"})){let t=a-n.top+n.bottom,e=s-n.left+n.right;o.scroll({top:t,left:e,behavior:i})}}},90835:function(t,e){"use strict";function n(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}Object.defineProperty(e,"__esModule",{value:!0}),e.debounce=function(t,e,r){var i=(r||{}).atBegin;return n(t,e,{debounceMode:!1!==(void 0!==i&&i)})},e.throttle=n},72577: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,{Z:()=>r})},90316:function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,{Z:()=>r})},27251: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,{Z:()=>r})},37397: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,{Z:()=>i})},68291:function(t,e,n){"use strict";n.d(e,{Z:()=>a});var r=n(86991),i=n(92630),o=n(27318);function a(t,e,n){return e=(0,r.Z)(e),(0,o.Z)(t,(0,i.Z)()?Reflect.construct(e,n||[],(0,r.Z)(t).constructor):e.apply(t,n))}},57758: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,{Z:()=>r})},90519:function(t,e,n){"use strict";n.d(e,{Z:()=>o});var r=n(79317);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.Z)(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}},2851:function(t,e,n){"use strict";n.d(e,{Z:()=>a});var r=n(86991),i=n(92630),o=n(27318);function a(t){var e=(0,i.Z)();return function(){var n,i=(0,r.Z)(t);return n=e?Reflect.construct(i,arguments,(0,r.Z)(this).constructor):i.apply(this,arguments),(0,o.Z)(this,n)}}},1329:function(t,e,n){"use strict";n.d(e,{Z:()=>i});var r=n(79317);function i(t,e,n){return(e=(0,r.Z)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},39158: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,{Z:()=>r})},86991: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,{Z:()=>r})},98466:function(t,e,n){"use strict";n.d(e,{Z:()=>i});var r=n(8103);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.Z)(t,e)}},92630: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,{Z:()=>r})},27874: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,{Z:()=>r})},74625: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,{Z:()=>r})},28418:function(t,e,n){"use strict";function r(t){if(null==t)throw TypeError("Cannot destructure "+t)}n.d(e,{Z:()=>r})},91189:function(t,e,n){"use strict";n.d(e,{Z:()=>o});var r=n(1329);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.Z)(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}},83047: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(e.includes(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],e.includes(n)||({}).propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}n.d(e,{Z:()=>r})},27318:function(t,e,n){"use strict";n.d(e,{Z:()=>o});var r=n(55211),i=n(27251);function o(t,e){if(e&&("object"==(0,r.Z)(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(t)}},11918:function(t,e,n){"use strict";n.d(e,{Z:()=>i});var r=n(55211);function i(){i=function(){return e};var t,e={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function h(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(t){h=function(t,e,n){return t[e]=n}}function f(e,n,r,i){var o,s,l,u,c=Object.create((n&&n.prototype instanceof m?n:m).prototype);return a(c,"_invoke",{value:(o=e,s=r,l=new A(i||[]),u=p,function(e,n){if(u===g)throw Error("Generator is already running");if(u===y){if("throw"===e)throw n;return{value:t,done:!0}}for(l.method=e,l.arg=n;;){var r=l.delegate;if(r){var i=function e(n,r){var i=r.method,o=n.iterator[i];if(o===t)return r.delegate=null,"throw"===i&&n.iterator.return&&(r.method="return",r.arg=t,e(n,r),"throw"===r.method)||"return"!==i&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+i+"' method")),v;var a=d(o,n.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var s=a.arg;return s?s.done?(r[n.resultName]=s.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):s:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,v)}(r,l);if(i){if(i===v)continue;return i}}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if(u===p)throw u=y,l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);u=g;var a=d(o,s,l);if("normal"===a.type){if(u=l.done?y:"suspendedYield",a.arg===v)continue;return{value:a.arg,done:l.done}}"throw"===a.type&&(u=y,l.method="throw",l.arg=a.arg)}})}),c}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",g="executing",y="completed",v={};function m(){}function b(){}function _(){}var x={};h(x,l,function(){return this});var w=Object.getPrototypeOf,S=w&&w(w(O([])));S&&S!==n&&o.call(S,l)&&(x=S);var k=_.prototype=m.prototype=Object.create(x);function M(t){["next","throw","return"].forEach(function(e){h(t,e,function(t){return this._invoke(e,t)})})}function T(t,e){var n;a(this,"_invoke",{value:function(i,a){function s(){return new e(function(n,s){!function n(i,a,s,l){var u=d(t[i],t,a);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"==(0,r.Z)(h)&&o.call(h,"__await")?e.resolve(h.__await).then(function(t){n("next",t,s,l)},function(t){n("throw",t,s,l)}):e.resolve(h).then(function(t){c.value=t,s(c)},function(t){return n("throw",t,s,l)})}l(u.arg)}(i,a,n,s)})}return n=n?n.then(s,s):s()}})}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function O(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(o.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw TypeError((0,r.Z)(e)+" is not iterable")}return b.prototype=_,a(k,"constructor",{value:_,configurable:!0}),a(_,"constructor",{value:b,configurable:!0}),b.displayName=h(_,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,h(t,c,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},M(T.prototype),h(T.prototype,u,function(){return this}),e.AsyncIterator=T,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new T(f(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},M(k),h(k,c,"Generator"),h(k,l,function(){return this}),h(k,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=O,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}},8103: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,{Z:()=>r})},56675:function(t,e,n){"use strict";n.d(e,{Z:()=>a});var r=n(90316),i=n(64031),o=n(74625);function a(t,e){return(0,r.Z)(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.Z)(t,e)||(0,o.Z)()}},59878:function(t,e,n){"use strict";n.d(e,{Z:()=>s});var r=n(90316),i=n(27874),o=n(64031),a=n(74625);function s(t){return(0,r.Z)(t)||(0,i.Z)(t)||(0,o.Z)(t)||(0,a.Z)()}},93406:function(t,e,n){"use strict";n.d(e,{Z:()=>a});var r=n(72577),i=n(27874),o=n(64031);function a(t){return function(t){if(Array.isArray(t))return(0,r.Z)(t)}(t)||(0,i.Z)(t)||(0,o.Z)(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.")}()}},79317:function(t,e,n){"use strict";n.d(e,{Z:()=>i});var r=n(55211);function i(t){var e=function(t,e){if("object"!=(0,r.Z)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=(0,r.Z)(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==(0,r.Z)(e)?e:e+""}},55211: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,{Z:()=>r})},64031:function(t,e,n){"use strict";n.d(e,{Z:()=>i});var r=n(72577);function i(t,e){if(t){if("string"==typeof t)return(0,r.Z)(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.Z)(t,e):void 0}}},35611:function(t,e,n){"use strict";n.d(e,{SV:()=>U,ML:()=>Y,ZP:()=>X});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 b={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 "},_=(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))}})(b);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 k=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),n.length!==e);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,e)}}(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=k[0],T=k[1];function C(t){return document.body.appendChild(t)}function E(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 A(){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){O(e),t.resolve(e)},function(e){t.reject(e)})}function O(t){M().monaco||T({monaco:t})}var I=new Promise(function(t,e){return T({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(T({isInitialized:!0}),t.monaco)return t.resolve(t.monaco),S(I);if(window.monaco&&window.monaco.editor)return O(window.monaco),t.resolve(window.monaco),S(I);x(C,E)(A)}return S(I)};var P=n(44194),L={display:"flex",position:"relative",textAlign:"initial"},R={width:"100%"},Z={display:"none"},N={display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"},z=function({children:t}){return P.createElement("div",{style:N},t)},F=(0,P.memo)(function({width:t,height:e,isEditorReady:n,loading:r,_ref:i,className:o,wrapperProps:a}){return P.createElement("section",{style:{...L,width:t,height:e},...a},!n&&P.createElement(z,null,r),P.createElement("div",{ref:i,style:{...R,...!n&&Z},className:o}))}),B=function(t){(0,P.useEffect)(t,[])},j=function(t,e,n=!0){let r=(0,P.useRef)(!0);(0,P.useEffect)(r.current||!n?()=>{r.current=!1}:t,e)};function H(){}function W(t,e,n,r){var i,o,a,s,l,u;return i=t,o=r,i.editor.getModel(V(i,o))||(a=t,s=e,l=n,u=r,a.editor.createModel(s,l,u?V(a,u):void 0))}function V(t,e){return t.Uri.parse(e)}var U=(0,P.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=H,onMount:v=H}){let[m,b]=(0,P.useState)(!1),[_,x]=(0,P.useState)(!0),w=(0,P.useRef)(null),S=(0,P.useRef)(null),k=(0,P.useRef)(null),M=(0,P.useRef)(v),T=(0,P.useRef)(y),C=(0,P.useRef)(!1);B(()=>{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()}}),j(()=>{if(w.current&&S.current){let e=w.current.getOriginalEditor(),i=W(S.current,t||"",r||n||"text",o||"");i!==e.getModel()&&e.setModel(i)}},[o],m),j(()=>{if(w.current&&S.current){let t=w.current.getModifiedEditor(),r=W(S.current,e||"",i||n||"text",a||"");r!==t.getModel()&&t.setModel(r)}},[a],m),j(()=>{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),j(()=>{w.current?.getModel()?.original.setValue(t||"")},[t],m),j(()=>{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),j(()=>{S.current?.editor.setTheme(u)},[u],m),j(()=>{w.current?.updateOptions(h)},[h],m);let E=(0,P.useCallback)(()=>{if(!S.current)return;T.current(S.current);let s=W(S.current,t||"",r||n||"text",o||""),l=W(S.current,e||"",i||n||"text",a||"");w.current?.setModel({original:s,modified:l})},[n,e,i,t,r,o,a]),A=(0,P.useCallback)(()=>{!C.current&&k.current&&(w.current=S.current.editor.createDiffEditor(k.current,{automaticLayout:!0,...h}),E(),S.current?.editor.setTheme(u),b(!0),C.current=!0)},[h,u,E]);return(0,P.useEffect)(()=>{m&&M.current(w.current,S.current)},[m]),(0,P.useEffect)(()=>{_||m||A()},[_,m,A]),P.createElement(F,{width:d,height:f,isEditorReady:m,loading:c,_ref:k,className:p,wrapperProps:g})}),q=function(t){let e=(0,P.useRef)();return(0,P.useEffect)(()=>{e.current=t},[t]),e.current},G=new Map,Y=(0,P.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=H,onMount:m=H,onChange:b,onValidate:_=H}){let[x,w]=(0,P.useState)(!1),[S,k]=(0,P.useState)(!0),M=(0,P.useRef)(null),T=(0,P.useRef)(null),C=(0,P.useRef)(null),E=(0,P.useRef)(m),A=(0,P.useRef)(v),O=(0,P.useRef)(),I=(0,P.useRef)(r),L=q(o),R=(0,P.useRef)(!1),Z=(0,P.useRef)(!1);B(()=>{let t=D();return t.then(t=>(M.current=t)&&k(!1)).catch(t=>t?.type!=="cancelation"&&console.error("Monaco initialization: error:",t)),()=>T.current?void(O.current?.dispose(),f?h&&G.set(o,T.current.saveViewState()):T.current.getModel()?.dispose(),T.current.dispose()):t.cancel()}),j(()=>{let a=W(M.current,t||r||"",e||i||"",o||n||"");a!==T.current?.getModel()&&(h&&G.set(L,T.current?.saveViewState()),T.current?.setModel(a),h&&T.current?.restoreViewState(G.get(o)))},[o],x),j(()=>{T.current?.updateOptions(u)},[u],x),j(()=>{T.current&&void 0!==r&&(T.current.getOption(M.current.editor.EditorOption.readOnly)?T.current.setValue(r):r!==T.current.getValue()&&(Z.current=!0,T.current.executeEdits("",[{range:T.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),T.current.pushUndoStop(),Z.current=!1))},[r],x),j(()=>{let t=T.current?.getModel();t&&i&&M.current?.editor.setModelLanguage(t,i)},[i],x),j(()=>{void 0!==s&&T.current?.revealLine(s)},[s],x),j(()=>{M.current?.editor.setTheme(a)},[a],x);let N=(0,P.useCallback)(()=>{if(!(!C.current||!M.current)&&!R.current){A.current(M.current);let l=o||n,f=W(M.current,r||t||"",e||i||"",l||"");T.current=M.current?.editor.create(C.current,{model:f,automaticLayout:!0,...u},c),h&&T.current.restoreViewState(G.get(l)),M.current.editor.setTheme(a),void 0!==s&&T.current.revealLine(s),w(!0),R.current=!0}},[t,e,n,r,i,o,u,c,h,a,s]);return(0,P.useEffect)(()=>{x&&E.current(T.current,M.current)},[x]),(0,P.useEffect)(()=>{S||x||N()},[S,x,N]),I.current=r,(0,P.useEffect)(()=>{x&&b&&(O.current?.dispose(),O.current=T.current?.onDidChangeModelContent(t=>{Z.current||b(T.current.getValue(),t)}))},[x,b]),(0,P.useEffect)(()=>{if(x){let t=M.current.editor.onDidChangeMarkers(t=>{let e=T.current.getModel()?.uri;if(e&&t.find(t=>t.path===e.path)){let t=M.current.editor.getModelMarkers({resource:e});_?.(t)}});return()=>{t?.dispose()}}return()=>{}},[x,_]),P.createElement(F,{width:d,height:p,isEditorReady:x,loading:l,_ref:C,className:g,wrapperProps:y})}),X=Y},66403: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,{Q:()=>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}},10976:function(t,e,n){"use strict";n.d(e,{Z:()=>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}},22294:function(t,e,n){"use strict";function r(){}function i(){}n.d(e,{ok:()=>r,t1:()=>i})},23865:function(t,e,n){"use strict";n.r(e),n.d(e,{registerMap:()=>u.je,List:()=>p.Z,helper:()=>r,disConnect:()=>u.eU,getMap:()=>u.FU,ComponentView:()=>h.Z,registerPostInit:()=>u.sq,Axis:()=>tC.Z,dispose:()=>u.B9,color:()=>b,registerTransform:()=>u.OB,registerProcessor:()=>u.Pu,registerCoordinateSystem:()=>u.RS,registerUpdateLifecycle:()=>u.YK,registerLoading:()=>u.yn,getInstanceByDom:()=>u.JE,ChartView:()=>d.Z,throttle:()=>_.P2,registerVisual:()=>u.Og,registerLocale:()=>u.I2,registerPostUpdate:()=>u.Br,dataTool:()=>u.Ok,setCanvasCreator:()=>u.jQ,dependencies:()=>u.HO,PRIORITY:()=>u.Hr,vector:()=>v,use:()=>N.D,zrUtil:()=>m,Model:()=>k.Z,graphic:()=>a,registerAction:()=>u.zl,registerLayout:()=>u.qR,env:()=>tT.Z,registerTheme:()=>u.aW,extendComponentModel:()=>tA,extendComponentView:()=>tO,parseGeoJson:()=>tt,innerDrawElementOnCanvas:()=>tE.RV,init:()=>u.S1,time:()=>o,zrender:()=>g,getCoordinateSystemDimensions:()=>u.wL,matrix:()=>y,util:()=>l,extendChartView:()=>tD,extendSeriesModel:()=>tI,setPlatformAPI:()=>z.g2,SeriesModel:()=>f.Z,format:()=>s,ComponentModel:()=>c.Z,registerPreprocessor:()=>u.ds,parseGeoJSON:()=>tt,getInstanceById:()=>u.rp,disconnect:()=>u.zP,connect:()=>u.$j,number:()=>i,version:()=>u.i8});var r={};n.r(r),n.d(r,{createDimensions:()=>A.q,createList:()=>D,createScale:()=>L,createSymbol:()=>O.th,createTextStyle:()=>Z,dataStack:()=>P,enableHoverEmphasis:()=>I.vF,getECData:()=>C.A,getLayoutRect:()=>M.ME,mixinAxisModelCommonMethods:()=>R});var i={};n.r(i),n.d(i,{MAX_SAFE_INTEGER:()=>te.YM,asc:()=>te.dt,getPercentWithPrecision:()=>te.eJ,getPixelPrecision:()=>te.M9,getPrecision:()=>te.p8,getPrecisionSafe:()=>te.ZB,isNumeric:()=>te.kE,isRadianAroundZero:()=>te.mW,linearMap:()=>te.NU,nice:()=>te.kx,numericToNumber:()=>te.FK,parseDate:()=>te.sG,quantile:()=>te.VR,quantity:()=>te.Xd,quantityExponent:()=>te.xW,reformIntervals:()=>te.nR,remRadian:()=>te.wW,round:()=>te.NM});var o={};n.r(o),n.d(o,{format:()=>tn.WU,parse:()=>te.sG});var a={};n.r(a),n.d(a,{Arc:()=>tv.Z,BezierCurve:()=>ty.Z,BoundingRect:()=>B.Z,Circle:()=>tl.Z,CompoundPath:()=>tb.Z,Ellipse:()=>tu.Z,Group:()=>to.Z,Image:()=>ta.ZP,IncrementalDisplayable:()=>tm.Z,Line:()=>tg.Z,LinearGradient:()=>t_.Z,Polygon:()=>tf.Z,Polyline:()=>td.Z,RadialGradient:()=>tx.Z,Rect:()=>tp.Z,Ring:()=>th.Z,Sector:()=>tc.C,Text:()=>ts.ZP,clipPointsByRect:()=>tr.clipPointsByRect,clipRectByRect:()=>tr.clipRectByRect,createIcon:()=>tr.createIcon,extendPath:()=>tr.extendPath,extendShape:()=>tr.extendShape,getShapeClass:()=>tr.getShapeClass,getTransform:()=>tr.getTransform,initProps:()=>ti.KZ,makeImage:()=>tr.makeImage,makePath:()=>tr.makePath,mergePath:()=>tr.mergePath,registerShape:()=>tr.registerShape,resizePath:()=>tr.resizePath,updateProps:()=>ti.D});var s={};n.r(s),n.d(s,{addCommas:()=>tw.OD,capitalFirst:()=>tw.ew,encodeHTML:()=>tS.F1,formatTime:()=>tw.mr,formatTpl:()=>tw.kF,getTextRect:()=>tM,getTooltipMarker:()=>tw.A0,normalizeCssArray:()=>tw.MY,toCamelCase:()=>tw.zW,truncateText:()=>tk.aF});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(27814),c=n(98650),h=n(80224),f=n(38362),d=n(94541),p=n(39116),g=n(50221),y=n(59296),v=n(19894),m=n(76109),b=n(41420),_=n(91593),x=n(3076),w=n(19410),S=n(57440),k=n(72673),M=n(80062),T=n(60326),C=n(40312),E=n(27932),A=n(72231),O=n(85924),I=n(4418);function D(t){return(0,x.Z)(null,t)}var P={isDimensionStacked:T.M,enableDataStack:T.BM,getStackedDimension:T.IR};function L(t,e){var n=e;e instanceof k.Z||(n=new k.Z(e));var r=w.aG(n);return r.setExtent(t[0],t[1]),w.Jk(r,n),r}function R(t){m.mixin(t,S.W)}function Z(t,e){return e=e||{},(0,E.Lr)(t,null,null,"normal"!==e.state)}var N=n(65334),z=n(28988),F=n(377),B=n(94757),j=n(8110);function H(t,e){return 1e-8>Math.abs(t-e)}function W(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,j.Z)(i[0],i[1],a[0],a[1],e,n),i=a}var s=t[0];return H(i[0],s[0])&&H(i[1],s[1])||(r+=(0,j.Z)(i[0],i[1],s[0],s[1],e,n)),0!==r}var V=[];function U(t,e){for(var n=0;n<t.length;n++)v.applyTransform(t[n],t[n],e)}function q(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 G=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},X=function(t){this.type="linestring",this.points=t},$=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,F.__extends)(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?q(e.exterior,n,r,t):(0,m.each)(e.points,function(e){q(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 B.Z(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(W(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(W(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 B.Z(t,e,n,r),s=i.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(U(c.exterior,s),(0,m.each)(c.interiors,function(t){U(t,s)})):(0,m.each)(c.points,function(t){U(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}(G);function K(t,e){var n=G.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 X([r.coordinates]));break;case"MultiLineString":i.push(new X(r.coordinates))}var a=new $(n[e||"name"],i,n.cp);return a.properties=n,a})}(0,F.__extends)(K,G),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(V),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(2668),tn=n(279),tr=n(79182),ti=n(58341),to=n(26951),ta=n(10781),ts=n(71839),tl=n(497),tu=n(66917),tc=n(27959),th=n(45542),tf=n(5227),td=n(16127),tp=n(1946),tg=n(67747),ty=n(49015),tv=n(26449),tm=n(2191),tb=n(61706),t_=n(16217),tx=n(7276),tw=n(32124),tS=n(26199),tk=n(21496);function tM(t,e,n,r,i,o,a,s){return new ts.ZP({style:{text:t,font:e,align:n,verticalAlign:r,padding:i,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}var tT=n(91254),tC=n(55975),tE=n(84583);function tA(t){var e=c.Z.extend(t);return c.Z.registerClass(e),e}function tO(t){var e=h.Z.extend(t);return h.Z.registerClass(e),e}function tI(t){var e=f.Z.extend(t);return f.Z.registerClass(e),e}function tD(t){var e=d.Z.extend(t);return d.Z.registerClass(e),e}var tP=n(84861),tL=n(68943),tR=n(51905),tZ=n(80598),tN=n(46675),tz=n(69755),tF=n(6171),tB=2*Math.PI,tj=tN.Z.CMD,tH=["top","right","bottom","left"];function tW(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 tV(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 tU=[],tq=new tR.Z,tG=new tR.Z,tY=new tR.Z,tX=new tR.Z,t$=new tR.Z;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||tH,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-e,n.y+a/2),i.set(-1,0);break;case"right":r.set(n.x+o+e,n.y+a/2),i.set(1,0)}}(a[d],0,s,tq,tX),tR.Z.scaleAndAdd(tG,tq,tX,f),tG.transform(h);var p=t.getBoundingRect(),g=u?u.distance(tG):t instanceof tZ.ZP?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 tj.M:s=c[d++],l=c[d++],o=s,a=l;break;case tj.L:g=tW(o,a,c[d],c[d+1],h,f,tU,!0),o=c[d++],a=c[d++];break;case tj.C:g=(0,tF.t1)(o,a,c[d++],c[d++],c[d++],c[d++],c[d],c[d+1],h,f,tU),o=c[d++],a=c[d++];break;case tj.Q:g=(0,tF.Wr)(o,a,c[d++],c[d++],c[d],c[d+1],h,f,tU),o=c[d++],a=c[d++];break;case tj.A:var y=c[d++],v=c[d++],m=c[d++],b=c[d++],_=c[d++],x=c[d++];d+=1;var w=!!(1-c[d++]);r=Math.cos(_)*m+y,i=Math.sin(_)*b+v,d<=1&&(s=r,l=i);var S=(h-y)*b/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)%tB<1e-4)return l[0]=c,l[1]=h,u-n;if(o){var f=r;r=(0,tz.m)(i),i=(0,tz.m)(f)}else r=(0,tz.m)(r),i=(0,tz.m)(i);r>i&&(i+=tB);var d=Math.atan2(s,a);if(d<0&&(d+=tB),d>=r&&d<=i||d+tB>=r&&d+tB<=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),b=(y-a)*(y-a)+(v-s)*(v-s);return m<b?(l[0]=p,l[1]=g,Math.sqrt(m)):(l[0]=y,l[1]=v,Math.sqrt(b))}(y,v,b,_,_+x,w,S,f,tU),o=Math.cos(_+x)*m+y,a=Math.sin(_+x)*b+v;break;case tj.R:g=tV(s=o=c[d++],l=a=c[d++],c[d++],c[d++],h,f,tU);break;case tj.Z:g=tW(o,a,s,l,h,f,tU,!0),o=s,a=l}g<u&&(u=g,n.set(tU[0],tU[1]))}return u}(tG,t.path,tY):function(t,e,n){var r=tV(e.x,e.y,e.width,e.height,t.x,t.y,tU);return n.set(tU[0],tU[1]),r}(tG,p,tY);g<l&&(l=g,tG.transform(c),tY.transform(c),tY.toArray(o[0]),tG.toArray(o[1]),tq.toArray(o[2]))}(function(t,e){if(e<=180&&e>0){e=e/180*Math.PI,tq.fromArray(t[0]),tG.fromArray(t[1]),tY.fromArray(t[2]),tR.Z.sub(tX,tq,tG),tR.Z.sub(t$,tY,tG);var n=tX.len(),r=t$.len();if(!(n<.001)&&!(r<.001)&&(tX.scale(1/n),t$.scale(1/r),Math.cos(e)<tX.dot(t$))){var i=tW(tG.x,tG.y,tY.x,tY.y,tq.x,tq.y,tJ,!1);tQ.fromArray(tJ),tQ.scaleAndAdd(t$,i/Math.tan(Math.PI-e));var o=tY.x!==tG.x?(tQ.x-tG.x)/(tY.x-tG.x):(tQ.y-tG.y)/(tY.y-tG.y);if(isNaN(o))return;o<0?tR.Z.copy(tQ,tG):o>1&&tR.Z.copy(tQ,tY),tQ.toArray(t[1])}}})(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var tJ=[],tQ=new tR.Z;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(73752),t5=["align","verticalAlign","width","height","fontSize"],t3=new tL.ZP,t4=(0,tP.Yf)(),t6=(0,tP.Yf)();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();B.Z.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,tz.m)(t3.rotation);var c=r.__hostTarget;if(c){o=c.getBoundingRect().plain();var h=c.getComputedTransform();B.Z.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,C.A)(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.GM)(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.GM)(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)}t4(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.VT)(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.WE)(i,0,e),(0,t2.GI)(o,0,n);var a=(0,m.filter)(r,function(t){return t.layoutOption.hideOverlap});(0,t2.yl)(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=t4(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),i&&t._animateLabels(e,n)})})},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),r=(0,C.A)(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<I.qc.length;l++){var u=I.qc[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.Z,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<I.L1.length;r++){var i=I.L1[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.eq)(t))){var i=t4(n),o=i.oldLayout,a=(0,C.A)(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.D)(n,l,e,s)}else if(n.attr(l),!(0,E.qA)(n).valueAnimation){var h=(0,m.retrieve2)(n.style.opacity,1);n.style.opacity=0,(0,ti.KZ)(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,E.tD)(n,s,u,e,e)}if(r&&!r.ignore&&!r.invisible){var i=t6(r),o=i.oldLayout,p={points:r.shape.points};o?(r.attr({shape:o}),(0,ti.D)(r,{shape:p},e)):(r.setShape(p),r.style.strokePercent=0,(0,ti.KZ)(r,{style:{strokePercent:1}},e)),i.oldLayout=p}},t}(),et=(0,tP.Yf)();(0,N.D)(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()})})},58341:function(t,e,n){"use strict";n.d(e,{D:()=>a,KZ:()=>s,XD:()=>h,bX:()=>u,eq:()=>l,ke:()=>i});var r=n(76109);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(84861).Yf)()},44703:function(t,e,n){"use strict";n.d(e,{N:()=>tC});var r=n(377),i=n(3076),o=n(84861),a=n(38362),s={color:"fill",borderColor:"stroke"},l={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},u=(0,o.Yf)(),c=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.__extends)(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.Z)(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.Z),h=n(76109),f=n(80598),d=n(79182),p=n(10781),g=n(71839),y=n(26951),v=n(4418),m=n(27932),b=n(83996);function _(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var i=(0,b.hk)(t,e,n[0]);return null!=i?i+"":null}if(r){for(var o=[],a=0;a<n.length;a++)o.push((0,b.hk)(t,e,n[a]));return o.join(" ")}}var x=n(28124),w=n(42171),S=n(94541),k=n(1946),M=n(58341),T=n(27959),C=n(2668);function E(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 A(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 O(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 I(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(52274);function P(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";R(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){R(t,t)}),t}function R(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 Z=n(21330),N=n(91738),z=n(83246),F=n(68943),B={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},j=(0,h.keys)(B);(0,h.reduce)(F.dN,function(t,e){return t[e]=1,t},{}),F.dN.join(", ");var H=["","style","shape","extra"],W=(0,o.Yf)();function V(t,e,n,r,i){var o=t+"Animation",a=(0,M.ke)(t,r,i)||{},s=W(e).userDuring;return a.duration>0&&(a.during=s?(0,h.bind)(X,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),(0,h.extend)(a,n[o]),a}function U(t,e,n,r){if(t){var i=t.parent,o=W(t).leaveToProps;if(o){var a=V("update",t,e,n,0);a.done=function(){i.remove(t),r&&r()},t.animateTo(o,a)}else i.remove(t),r&&r()}}function q(t){return"all"===t}var G={},Y={setTransform:function(t,e){return G.el[t]=e,this},getTransform:function(t){return G.el[t]},setShape:function(t,e){var n=G.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=G.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=G.el,r=n.style;return r&&(r[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=G.el.style;if(e)return e[t]},setExtra:function(t,e){return(G.el.extra||(G.el.extra={}))[t]=e,this},getExtra:function(t){var e=G.el.extra;if(e)return e[t]}};function X(){var t=this.el;if(t){var e=W(t).userDuring,n=this.userDuring;if(e!==n){this.el=this.userDuring=null;return}G.el=t,n(Y)}}function $(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]={}),q(u))(0,h.extend)(i,s);else for(var c=(0,o.kF)(u),f=0;f<c.length;f++){var d=c[f],p=s[d];i[d]=p}else if(q(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,z.V)(r[s])}}var J=(0,o.Yf)(),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(E,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(A,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)(O,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(I,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.ZP}function th(t){return t instanceof D.ZP}var tf=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.__extends)(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&&U(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,C.NM)(o.r0,1),s=(0,C.NM)(o.r,1),l=new T.C({shape:{cx:(0,C.NM)(t.cx,1),cy:(0,C.NM)(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.KZ(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 k.Z({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.KZ(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.Z);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=tT(r);u(e=d.makePath(o,null,i,r.layout||"center")).customPathData=o}else if("image"===n)u(e=new p.ZP({})).customImagePath=t.style.image;else if("text"===n)e=new g.ZP({});else if("group"===n)e=new y.Z;else if("compoundPath"===n)throw Error('"compoundPath" is not supported yet.');else{var a=d.getShapeClass(n);a||(0,Z._y)(""),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,N.I)(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=W(t),p=e.style;d.userDuring=e.during;var g={},y={};if(function(t,e,n){for(var r=0;r<j.length;r++){var i=j[r],o=B[i],a=e[i];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(var r=0;r<F.dN.length;r++){var s=F.dN[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=q(r)?F.dN:(0,o.kF)(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),$("shape",t,e,g),$("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&&!q(s)){var u=(0,o.kF)(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&&(q(l)||q(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.ZP&&(0,h.hasOwn)(a,"invisible")&&(i.invisible=a.invisible),i instanceof f.ZP&&(0,h.hasOwn)(a,"autoBatch")&&(i.autoBatch=a.autoBatch),c)if(l){var v={};(0,h.each)(H,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=V("enter",t,e,n,s);m.duration>0&&t.animateFrom(v,m)}else{var b=t,_=e,x=s||0,w=n,S=g;if(S){var k=V("update",b,_,w,x);k.duration>0&&b.animateFrom(S,k)}}(function(t,e){for(var n=W(t).leaveToProps,r=0;r<H.length;r++){var i=H[r],o=i?e[i]:e;o&&o.leaveTo&&(n||(n=W(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.ke)("enter",r,0);o=a&&a.duration}if(i&&o){var s=J(e);(0,h.each)(H,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.MA)(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=T(r,te).getItemStyle();null!=o&&(l.fill=o),null!=s&&(l.opacity=s);var u={inheritColor:(0,h.isString)(o)?o:"#000"},c=C(r,te),f=m.Lr(c,null,u,!1,!0);f.text=c.getShallow("show")?(0,h.retrieve2)(t.getFormattedLabel(r,te),_(e,r)):null;var d=m.nC(c,u,!1);return A(n,l),l=L(l,f,d),n&&E(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=T(r,tt).getItemStyle(),o=C(r,tt),s=m.Lr(o,null,null,!0,!0);s.text=o.getShallow("show")?(0,h.retrieve3)(t.getFormattedLabel(r,tt),t.getFormattedLabel(r,te),_(e,r)):null;var l=m.nC(o,null,!0);return A(n,i),i=L(i,s,l),n&&E(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.Gk)((0,h.defaults)({axis:e},t))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return m.qT(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={},b={},w={},S=0;S<ti.length;S++){var k=ti[S];b[k]=t.getModel(to[k]),w[k]=t.getModel(ta[k])}function M(t){return t===a?u||(u=e.getItemModel(t)):e.getItemModel(t)}function T(t,n){return e.hasItemOption?t===a?y[n]||(y[n]=M(t).getModel(to[n])):M(t).getModel(to[n]):b[n]}function C(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 E(t,e){for(var n in e)(0,h.hasOwn)(e,n)&&(t[n]=e[n])}function A(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.k5)(s,r.focus,r.blurScope,r.emphasisDisabled),s}function tm(t,e,n,r,i,o){var a,s=-1,l=e;e&&tb(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){t_(n,null,o),t_(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&&tb(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,b=i.currentZLevel;v.z=m,v.zlevel=b;var _=r.z2;null!=_&&(v.z2=_||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.Z(g.oldChildren,g.newChildren,tS,tS,g).add(tk).update(tk).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,b=e.childAt(p);y=e,v=b,m=i,v&&U(v,u(y).option,m)}}}(t,f,n,r,i),s>=0?o.replaceAt(f,s):o.add(f),f}function tb(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"))&&tT(a)!==i.customPathData||"image"===o&&(0,h.hasOwn)(s,"image")&&s.image!==i.customImagePath}function t_(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 P(o,t),(0,h.each)(o.rich,function(t){P(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 tk(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&&U(n,u(n).option,e.seriesModel)}function tT(t){return t&&(t.pathData||t.d)}function tC(t){t.registerChartView(tf),t.registerSeriesModel(c)}},3076:function(t,e,n){"use strict";n.d(e,{Z:()=>y});var r=n(76109),i=n(39116),o=n(72231),a=n(54847),s=n(84861),l=n(99319),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.C6).models[0],o=t.getReferringComponents("yAxis",s.C6).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.C6).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.C6).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(5908),d=n(60326),p=n(78090),g=n(6e4);let y=function(t,e,n){n=n||{};var h,y,v,m,b,_,x,w,S=e.getSourceManager(),k=!1;t?(k=!0,w=(0,f.nx)(t)):k=(w=S.getSource()).sourceFormat===g.cy;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),T=(y=e.get("coordinateSystem"),v=l.Z.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.T)(r)}return e})),h||(h=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v.dimensions.slice())||["x","y"]),h),C=n.useEncodeDefaulter,E=r.isFunction(C)?C:C?r.curry(p.pY,T,e):null,A={coordDimensions:T,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:E,canOmitUnusedDimensions:!k},O=(0,o.Z)(w,A),I=(m=O.dimensions,b=n.createInvertedIndices,M&&r.each(m,function(t,e){var n=t.coordDim,r=M.categoryAxisMap.get(n);r&&(null==_&&(_=e),t.ordinalMeta=r.getOrdinalMeta(),b&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(x=!0)}),x||null==_||(m[_].otherDims.itemName=0),_),D=k?null:S.getSharedDataStore(O),P=(0,d.BM)(e,{schema:O,store:D}),L=new i.Z(O,e);L.setCalculationInfo(P);var R=null!=I&&function(t){if(t.sourceFormat===g.cy){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.C4)(e))}}(w)?function(t,e,n,r){return r===I?n:this.defaultDimValueGetter(t,e,n,r)}:null;return L.hasItemOption=!1,L.initData(k?w:D,null,R),L}},70844:function(t,e,n){"use strict";n.d(e,{N:()=>tZ});var r=n(76109);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(377),c=n(38362),h=n(84861),f=(0,h.Yf)();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 b(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&&b(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){b(e,r,t,n)})}function b(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 _=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(39116),w=n(72231),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}(),k=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.U5)(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.Z)(a,{coordDimensions:["value"],dimensionsCount:s}).dimensions,u=new x.Z(l,n);return u.initData(a),i&&i(u),_({mainData:u,struct:o,structAttr:"tree"}),o.update(),o},t}(),M=n(72673),T=n(29405),C=n(97962),E=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.__extends)(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.Z({itemStyle:o},this,e);i=t.levels=function(t,e){var n,i,o=(0,h.kF)(e.get("color")),a=(0,h.kF)(e.get(["aria","decal","decals"]));if(o){t=t||[],r.each(t,function(t){var e=new M.Z(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.Z(t,a,e)},this),l=k.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,T.TX)("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,C.i)(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.Z),A=n(26951),O=n(1946),I=n(40312),D=n(4418),P=n(42171),L=n(5227),R=n(71839),Z=n(80062),N=n(27932),z=function(){function t(t){this.group=new A.Z,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),Z.p$(o,c.pos,c.box)}},t.prototype._prepare=function(t,e,n){for(var r=t;r;r=r.parentNode){var i=(0,h.U5)(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=Z.lq(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=_.node,w=_.width,S=_.text;d>f.width&&(d-=w-c,w=c,S=null);var k=new L.Z({shape:{points:function(t,e,n,r,i,o){var a=[[i?t:t-5,0],[t+n,e],[t+n,e+r],[i?t:t-5,e+r]];return o||a.splice(2,0,[t+n+5,e+r/2]),i||a.push([t,e+r/2]),a}(u,0,w,h,y===p.length-1,0===y)},style:(0,r.defaults)(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new R.ZP({style:(0,N.Lr)(o,{text:S})}),textConfig:{position:"inside"},z2:1e4*D.zr,onclick:(0,r.curry)(l,x)});k.disableLabelAnimation=!0,k.getTextContent().ensureState("emphasis").style=(0,N.Lr)(a,{text:S}),k.ensureState("emphasis").style=g,(0,D.k5)(k,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(k),v=k,m=t,b=x,(0,I.A)(v).eventData={componentType:"series",componentSubType:"treemap",componentIndex:m.componentIndex,seriesIndex:m.seriesIndex,seriesName:m.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:b&&b.dataIndex,name:b&&b.name},treePathInfo:b&&s(b,m)},u+=w+8}},t.prototype.remove=function(){this.group.removeAll()},t}(),F=n(48908),B=n(94757),j=n(59296),H=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}(),W=n(49341),V=n(94541),U=n(52274),q=n(32124),G=A.Z,Y=O.Z,X="label",$="upperLabel",K=10*D.zr,J=2*D.zr,Q=3*D.zr,tt=(0,W.Z)([["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.Yf)(),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.__extends)(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 G,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,b=s.getRawIndex(),_=l&&l.getRawIndex(),x=s.viewChildren,w=f.upperHeight,S=x&&x.length,k=p.getModel("itemStyle"),M=p.getModel(["emphasis","itemStyle"]),T=p.getModel(["blur","itemStyle"]),C=p.getModel(["select","itemStyle"]),E=k.get("borderRadius")||0,O=q("nodeGroup",G);if(O){if(u.add(O),O.x=f.x||0,O.y=f.y||0,O.markRedraw(),tn(O).nodeWidth=g,tn(O).nodeHeight=y,f.isAboveViewRoot)return O;var P=q("background",Y,c,J);P&&function(e,n,r){var i=(0,I.A)(n);if(i.dataIndex=s.dataIndex,i.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:g,height:y,r:E}),m)H(n);else{n.invisible=!1;var o=s.getVisual("style"),a=o.stroke,l=te(k);l.fill=a;var u=tt(M);u.fill=M.get("borderColor");var c=tt(T);c.fill=T.get("borderColor");var h=tt(C);if(h.fill=C.get("borderColor"),r){var f=g-2*v;W(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.MA)(n)}e.add(n)}(O,P,S&&f.upperLabelHeight);var L=p.getModel("emphasis"),R=L.get("focus"),Z=L.get("blurScope"),z=L.get("disabled"),F="ancestor"===R?s.getAncestorsIndices():"descendant"===R?s.getDescendantIndices():R;if(S)(0,D.Av)(O)&&(0,D.Nj)(O,!1),P&&((0,D.Nj)(P,!z),d.setItemGraphicEl(s.dataIndex,P),(0,D.Ib)(P,F,Z));else{var B=q("content",Y,c,Q);B&&function(e,n){var r=(0,I.A)(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:E}),m)H(n);else{n.invisible=!1;var a=s.getVisual("style"),l=a.fill,u=te(k);u.fill=l,u.decal=a.decal;var c=tt(M),h=tt(T),f=tt(C);W(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.MA)(n)}e.add(n)}(O,B),P.disableMorphing=!0,P&&(0,D.Av)(P)&&(0,D.Nj)(P,!1),(0,D.Nj)(O,!z),d.setItemGraphicEl(s.dataIndex,O);var j=p.getShallow("cursor");j&&B.attr("cursor",j),(0,D.Ib)(O,F,Z)}return O}}}function H(t){t.invisible||a.push(t)}function W(e,n,i,o){var a=p.getModel(o?$:X),l=(0,h.U5)(p.get("name"),null),u=a.getShallow("show");(0,N.ni)(e,(0,N.k3)(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",V(d,o,f);var y=c.getState("emphasis");V(y?y.style:null,o,f)}}function V(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 q(t,a,l,u){var c,h,f,d=null!=_&&n[t][_],p=o[t];return d?(n[t][_]=null,c=p,h=d,f=c[b]={},h instanceof G?(f.oldX=h.x,f.oldY=h.y):f.oldShape=(0,r.extend)({},h.shape)):m||((d=new a)instanceof U.ZP&&(d.z2=l*K+u),function(t,e){var n=t[b]={},r=s.parentNode,a=e instanceof A.Z;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][b]=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 P.Z(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 H;(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 A.Z?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 F.Z(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 B.Z(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 B.Z(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=j.create();j.translate(d,d,[-e,-n]),j.scale(d,d,[h,h]),j.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,q.MI)(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 z(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}(V.Z);function ti(){return{nodeGroup:[],background:[],content:[]}}var to=n(41420),ta=n(2668),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=tb[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&&k(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],b=t,_=w[1],m?b<=_:b<_))return a}n&&k(w[0],a),n&&k(w[1],a)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function k(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.NU)(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.NU)(e,t,this.option.visual,!0)},category:tp,piecewise:function(e,n){var r=tv.call(this,n);return null==r&&(r=(0,ta.NU)(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 tb={linear:function(t){return(0,ta.NU)(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.NU)(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},t_=(0,h.Yf)();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"),b=y.get("borderColor"),_=y.get("borderColorSaturation");null!=_&&(p=_,b=null!=(g=tw(v))?(0,to.modifyHSL)(g,null,null,p):null),m.stroke=b;var x=e.viewChildren;if(x&&x.length){var w=function(t,e,n,r,i,o){if(o&&o.length){var a=tk(e,"color")||null!=i.color&&"none"!==i.color&&(tk(e,"colorAlpha")||tk(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 t_(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&&t_(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 tk(t,e){var n=t.get(e);return(0,r.isArray)(n)&&n.length?{name:e,range:n}:null}var tM=Math.max,tT=Math.min,tC=r.retrieve,tE=r.each,tA=["itemStyle","borderWidth"],tO=["itemStyle","gapWidth"],tI=["upperLabel","show"],tD=["upperLabel","height"];let tP={seriesType:"treemap",reset:function(t,e,n,a){var s=n.getWidth(),l=n.getHeight(),u=t.option,c=Z.ME(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),h=u.size||[],f=(0,ta.GM)(tC(c.width,h[0]),s),d=(0,ta.GM)(tC(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 b="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(tA),v=Math.max(y,tR(g));(u+=4*y*y+(3*y+v)*Math.pow(u,.5))>ta.YM&&(u=ta.YM),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],_=u.sort;_&&"asc"!==_&&"desc"!==_&&(_="desc");var x={squareRatio:u.squareRatio,sort:_,leafDepth:u.leafDepth};v.hostTree.clearLayouts();var w={x:0,y:0,width:b[0],height:b[1],area:b[0]*b[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(tA),h=u.get(tO)/2,f=tR(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],tE(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},b=tT(a,s),_=1/0,x=[];x.area=0;for(var w=0,S=v.length;w<S;){var k=v[w];x.push(k),x.area+=k.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,b,n.squareRatio);M<=_?(w++,_=M):(x.area-=x.pop().getLayout().area,tL(x,b,m,h,!1),b=tT(m.width,m.height),x.length=x.area=0,_=1/0)}if(x.length&&tL(x,b,m,h,!0),!i){var T=u.get("childrenVisibleMin");null!=T&&y<T&&(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(),tE(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 B.Z(n.x-a.x,n.y-a.y,n.width,n.height);tE(e.viewChildren||[],function(e){t(e,u,r,i,o+1)})}}(S,new B.Z(-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,b=p[l[o]]=tM(m-2*r,0);p[s[a]]=n[s[a]]+tT(r,y/2),p[s[o]]=u+tT(r,b/2),u+=m,d.setLayout(p,!0)}n[s[a]]+=c,n[l[a]]-=c}function tR(t){return t.get(tI)?t.get(tD):0}function tZ(t){t.registerSeriesModel(E),t.registerChartView(tr),t.registerVisual(tx),t.registerLayout(tP);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)}})})}},37365:function(t,e,n){"use strict";n.d(e,{Z:()=>k});var r=n(76109),i=n(26951),o=n(67747),a=n(79182),s=n(71839),l=n(40312),u=n(27932),c=n(72673),h=n(2668),f=n(85924),d=n(59296),p=n(19894),g=n(19410),y=n(73752),v=Math.PI,m=function(){function t(t,e){this.group=new i.Z,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.Z({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!b[t]},t.prototype.add=function(t){b[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.wW)(e-t);return(0,h.mW)(o)?(i=n>0?"top":"bottom",r="center"):(0,h.mW)(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}(),b={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.Z({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 b=(0,f.Cq)(e.get(["axisLine","symbolOffset"])||0,m),_=m[0],x=m[1];(0,r.each)([{rotate:t.rotation+Math.PI/2,offset:b[0],r:0},{rotate:t.rotation-Math.PI/2,offset:b[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.th)(v[r],-_/2,-x/2,_,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,k=p.rawLabel,M=h;if(y&&y[w]){var T=y[w];(0,r.isObject)(T)&&T.textStyle&&(M=new c.Z(T.textStyle,h,n.ecModel))}var C=M.getTextColor()||n.get(["axisLine","lineStyle","color"]),E=o.dataToCoord(w),A=M.getShallow("align",!0)||g.textAlign,O=(0,r.retrieve2)(M.getShallow("alignMinLabel",!0),A),I=(0,r.retrieve2)(M.getShallow("alignMaxLabel",!0),A),D=M.getShallow("verticalAlign",!0)||M.getShallow("baseline",!0)||g.textVerticalAlign,P=(0,r.retrieve2)(M.getShallow("verticalAlignMinLabel",!0),D),L=(0,r.retrieve2)(M.getShallow("verticalAlignMaxLabel",!0),D),R=new s.ZP({x:E,y:i.labelOffset+i.labelDirection*f,rotation:g.rotation,silent:_,z2:10+(p.level||0),style:(0,u.Lr)(M,{text:S,align:0===v?O:v===d.length-1?I:A,verticalAlign:0===v?P:v===d.length-1?L:D,fill:(0,r.isFunction)(C)?C("category"===o.type?k:"value"===o.type?w+"":w,v):C})});if(R.anid="label_"+w,a.setTooltipConfig({el:R,componentModel:n,itemName:S,formatterParamsExtra:{isTruncated:function(){return R.isTruncated},value:k,tickIndex:v}}),x){var Z=m.makeAxisEventDataBase(n);Z.targetType="axisLabel",Z.value=k,Z.tickIndex=v,"category"===o.type&&(Z.dataIndex=w),(0,l.A)(R).eventData=Z}e.add(R),R.updateTransform(),b.push(R),t.add(R),R.decomposeTransform()}),b}}(n,i,e,t);if(function(t,e,n){if(!(0,g.WY)(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?(_(o),_(u)):x(o,a)&&(r?(_(a),_(c)):(_(o),_(u))),!1===i?(_(s),_(h)):x(l,s)&&(i?(_(l),_(f)):(_(s),_(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.VT)((0,r.map)(h,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}));(0,y.yl)(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,k,M=e.get("nameLocation"),T=t.nameDirection,C=e.getModel("nameTextStyle"),E=e.get("nameGap")||0,A=e.axis.getExtent(),O=A[0]>A[1]?-1:1,I=["start"===M?A[0]-O*E:"end"===M?A[1]+O*E:(A[0]+A[1])/2,w(M)?t.labelOffset+T*E:0],D=e.get("nameRotate");null!=D&&(D=D*v/180),w(M)?o=m.innerTextLayout(t.rotation,null!=D?D:t.rotation,T):(d=t.rotation,p=M,g=D||0,y=A,x=(0,h.wW)(g-d),S=y[0]>y[1],k="start"===p&&!S||"start"!==p&&S,(0,h.mW)(x-v/2)?(_=k?"bottom":"top",b="center"):(0,h.mW)(x-1.5*v)?(_=k?"top":"bottom",b="center"):(_="middle",b=x<1.5*v&&x>v/2?k?"left":"right":k?"right":"left"),o={rotation:x,textAlign:b,textVerticalAlign:_},null!=(c=t.axisNameAvailableWidth)&&(isFinite(c=Math.abs(c/Math.sin(o.rotation)))||(c=null)));var P=C.getFont(),L=e.get("nameTruncate",!0)||{},R=L.ellipsis,Z=(0,r.retrieve)(t.nameTruncateMaxWidth,L.maxWidth,c),N=new s.ZP({x:I[0],y:I[1],rotation:o.rotation,silent:m.isLabelSilent(e),style:(0,u.Lr)(C,{text:f,font:P,overflow:"truncate",width:Z,ellipsis:R,fill:C.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:C.get("align")||o.textAlign,verticalAlign:C.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:N,componentModel:e,itemName:f}),N.__fullText=f,N.anid="name",e.get("triggerEvent")){var z=m.makeAxisEventDataBase(e);z.targetType="axisName",z.name=f,(0,l.A)(N).eventData=z}i.add(N),N.updateTransform(),n.add(N),N.decomposeTransform()}}};function _(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.Z({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 k=m},46843:function(t,e,n){"use strict";n.d(e,{Z:()=>s});var r=n(377),i=n(84323),o=n(80224),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.__extends)(e,t),e.prototype.render=function(e,n,r,o){this.axisPointerClass&&i.iG(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.np(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.Z)},79231:function(t,e,n){"use strict";n.d(e,{Z:()=>o});var r=n(76109),i=n(84861);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.gO(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}}},59921:function(t,e,n){"use strict";n.d(e,{E:()=>c,z:()=>s});var r=n(76109),i=n(91254),o=(0,n(84861).Yf)(),a=r.each;function s(t,e,n){if(!i.Z.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.Z.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}}},77991:function(t,e,n){"use strict";n.d(e,{N:()=>F});var r=n(46843),i=n(377),o=n(76109),a=n(26951),s=n(79182),l=n(71839),u=n(58341),c=n(84323),h=n(76542),f=n(91593),d=n(84861),p=(0,d.Yf)(),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.Z,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.r(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.ZP(g(e.label));t.add(i),b(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}),b(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.sT(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.T9(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,_(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(_(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(_(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.ZH(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.D(n,r,t):(n.stopAnimation(),n.attr(r)))}function b(t,e){t[e.get(["label","show"])?"show":"hide"]()}function _(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(71709),S=n(96606),k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(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.fk(r),h=T[s](o,u,l);h.style=c,t.graphicKey=h.type,t.pointer=h}var f=S.bK(a.model,n);w.gf(e,t,f,n,r,i)},e.prototype.getHandleTransform=function(t,e,n){var r=S.bK(e.axis.grid.model,e,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=w.Zh(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 T={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:w.BL([e,n[0]],[e,n[1]],C(t))}},shadow:function(t,e,n){var r=Math.max(1,t.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:w.uE([e-r/2,n[0]],[r,i],C(t))}}};function C(t){return+("x"!==t.dim)}var E=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.__extends)(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(98650).Z),A=n(59921),O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.__extends)(e,t),e.prototype.render=function(t,e,n){var r=e.getComponent("tooltip"),i=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";A.z("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){A.E("axisPointer",e)},e.prototype.dispose=function(t,e){A.E("axisPointer",e)},e.type="axisPointer",e}(n(80224).Z),I=n(79231),D=(0,d.Yf)();function P(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){z(i)&&(i=(0,I.Z)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var l,u,c,h,f,d,p,g,y,v,m,b=z(i),_=t.axesInfo,x=s.axesInfo,w="leave"===r||z(i),S={},k={},M={list:[],map:{}},T={showPointer:(0,o.curry)(R,k),showTooltip:(0,o.curry)(Z,M)};(0,o.each)(s.coordSysMap,function(t,e){var n=b||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}}(_,t);if(!w&&n&&(!_||o)){var a=o&&o.value;null!=a||b||(a=r.pointToData(i)),null!=a&&L(t,a,T,!1,S)}})});var C={};return(0,o.each)(x,function(t,e){var n=t.linkGroup;n&&!k[e]&&(0,o.each)(n.axesInfo,function(e,r){var i=k[r];if(e!==t&&i){var o=i.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,N(e),N(t)))),C[t.key]=o}})}),(0,o.each)(C,function(t,e){L(x[e],t,T,!0,S)}),l=k,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(z(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 R(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function Z(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.zm(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 N(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 z(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function F(t){r.Z.registerAxisPointerClass("CartesianAxisPointer",k),t.registerComponentModel(E),t.registerComponentView(O),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.KM)(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},P)}},84323:function(t,e,n){"use strict";n.d(e,{KM:()=>o,iG:()=>s,np:()=>u,r:()=>l,zm:()=>h});var r=n(72673),i=n(76109);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.Z(u,n,o))}(g,p,u,o,e,l):y).get("snap"),b=y.get("triggerEmphasis"),_=h(g.model),x=l||m||"category"===g.type,w=n.axesInfo[_]={key:_,axis:g,coordSys:t,axisPointerModel:y,triggerTooltip:l,triggerEmphasis:b,involveSeries:x,snap:m,useHandle:c(y),seriesModels:[],linkGroup:null};s[_]=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 k=d[S]||(d[S]={axesInfo:{}});k.axesInfo[_]=w,k.mapper=f[S].mapper,w.linkGroup=k}}}}),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}},71709:function(t,e,n){"use strict";n.d(e,{BL:()=>g,Zh:()=>d,fk:()=>h,gf:()=>p,gk:()=>f,uE:()=>y});var r=n(76109),i=n(79182),o=n(95260),a=n(32124),s=n(59296),l=n(19410),u=n(37365),c=n(27932);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.DX(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,k,M,T,C,E,A,O=u.Z.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),m={position:d(r.axis,t,n),align:O.textAlign,verticalAlign:O.textVerticalAlign},b=f(i.get("value"),r.axis,r.ecModel,i.get("seriesDataIndices"),{precision:i.get(["label","precision"]),formatter:i.get(["label","formatter"])}),_=i.getModel("label"),x=a.MY(_.get("padding")||0),w=_.getFont(),S=o.lP(b,w),k=m.position,M=S.width+x[1]+x[3],T=S.height+x[0]+x[2],"right"===(C=m.align)&&(k[0]-=M),"center"===C&&(k[0]-=M/2),"bottom"===(E=m.verticalAlign)&&(k[1]-=T),"middle"===E&&(k[1]-=T/2),l=k,h=M,p=T,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),(A=_.get("backgroundColor"))&&"auto"!==A||(A=r.get(["axisLine","lineStyle","color"])),e.label={x:k[0],y:k[1],style:(0,c.Lr)(_,{text:b,font:w,fill:_.getTextColor(),padding:x,backgroundColor:A}),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]}}},53018:function(t,e,n){"use strict";n.d(e,{N:()=>tl});var r=n(65334),i=n(377),o=n(76109),a=n(98650),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(84861),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.__extends)(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.iP);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.C6).models[0];s&&(0,o.each)(e,function(t){i.componentIndex!==t.componentIndex&&s===t.getReferringComponents("grid",h.C6).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.Z);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(92638),y=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.__extends)(e,t),e.type="dataZoom.inside",e.defaultOption=(0,g.ZL)(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.__extends)(e,t),e.prototype.render=function(t,e,n,r){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(n(80224).Z);function m(t,e,n,r,i,o){t=t||0;var a,s=n[1]-n[0];if(null!=i&&(i=_(i,[0,s])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===r){var l=Math.abs(e[1]-e[0]);l=_(l,[0,s]),i=o=_(l,[i,o]),r=0}e[0]=_(e[0],n),e[1]=_(e[1],n);var u=b(e,r);e[r]+=t;var c=i||0,h=n.slice();return u.sign<0?h[0]+=c:h[1]-=c,e[r]=_(e[r],h),a=b(e,r),null!=i&&(a.sign!==u.sign||a.span<i)&&(e[1-r]=e[r]+u.sign*i),a=b(e,r),null!=o&&a.span>o&&(e[1-r]=e[r]+a.sign*o),e}function b(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 _(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(48908),w=n(91593),S=(0,h.Yf)();function k(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 T(t,e,n,r){return t.coordinateSystem.containPoint([n,r])}var C=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return(0,i.__extends)(e,t),e.prototype.render=function(e,n,r){var i;if(t.prototype.render.apply(this,arguments),e.noTarget())return void this._clear();this.range=e.getPercentRange(),i={pan:(0,o.bind)(E.pan,this),zoom:(0,o.bind)(E.zoom,this),scrollMove:(0,o.bind)(E.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||k(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(v),E={zoom:function(t,e,n,r){var i=this.range,o=i.slice(),a=t.axisModels[0];if(a){var s=O[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:A(function(t,e,n,r,i,o){var a=O[r]([o.oldX,o.oldY],[o.newX,o.newY],e,i,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:A(function(t,e,n,r,i,o){return O[r]([0,0],[o.scrollDelta,o.scrollDelta],e,i,n).signal*(t[1]-t[0])*o.scrollDelta})};function A(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 O={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}},I=n(2668),D=n(19410),P=n(52722),L=o.each,R=I.dt,Z=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.C6).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(I.NU(c,o,n))):(e=!0,h=null==h?n[u]:r.parse(h),c=I.NU(h,n,o)),s[u]=null==h||isNaN(h)?n[u]:h,a[u]=null==c||isNaN(c)?o[u]:c}),R(s),R(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]=I.NU(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.AH)(r,t.getData(),n)}),i=e.getAxisModel(),[(o=(0,P.Qw)(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=I.NU(n[0]+o,n,[0,100],!0):null!=i&&(o=I.NU(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=I.M9(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 N={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 Z(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 z=!1;function F(t){z||(z=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,N),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 B(t){F(t),t.registerComponentModel(y),t.registerComponentView(C),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)(T,i),dispatchAction:(0,o.curry)(M,e),dataZoomInfoMap:null,controller:null}).controller=new x.Z(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 k(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.T9(t,"dispatchAction",a.model.get("throttle",!0),"fixRate")})})}var j=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.__extends)(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=(0,g.ZL)(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),H=n(76542),W=n(1946),V=n(26951),U=n(5227),q=n(16127),G=n(71839),Y=n(79182),X=n(51905),$=n(80062),K=n(4418),J=n(85924),Q=n(27932),tt=W.Z,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.__extends)(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.T9(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.ZH(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 V.Z;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=$.tE(t.option);(0,o.each)(["right","top","width","height"],function(t){"ph"===s[t]&&(s[t]=a[t])});var l=$.ME(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,I.NU)(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 b=this.dataZoomModel,_=0;_<3;_++){var x=function(t){var e=b.getModel(t?"selectedDataBackground":"dataBackground"),n=new V.Z,r=new U.Z({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new q.Z({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}(1===_);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.Pw[a]&&0>a.indexOf("path://")&&0>a.indexOf("image://")&&(a="path://"+a);var l=(0,J.th)(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,I.GM)(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.vF)(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 G.ZP({silent:!0,invisible:!d,style:(0,Q.Lr)(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,I.GM)(s.get("moveHandleSize"),a[1]),p=e.moveHandle=new W.Z({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.th)(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 W.Z({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,I.NU)(t[0],[0,100],e,!0),(0,I.NU)(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,I.NU)(o.minSpan,a,i,!0):null,null!=o.maxSpan?(0,I.NU)(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=(0,I.dt)([(0,I.NU)(r[0],i,a,!0),(0,I.NU)(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,I.dt)(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 W.Z,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,I.dt)(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,H.sT(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 X.Z(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,I.dt)([(0,I.NU)(n.x,r,i,!0),(0,I.NU)(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&&(H.sT(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(j),t.registerComponentView(to),F(t)}function tl(t){(0,r.D)(B),(0,r.D)(ts)}},67983:function(t,e,n){"use strict";n.d(e,{N:()=>ti});var r=n(377),i=n(80224),o=n(98650),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(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.Z),s=n(1946),l=n(76109),u=n(57440),c=n(84861),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",c.C6).models[0]},e.type="cartesian2dAxis",e}(o.Z);l.mixin(h,u.W);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(80062),b=n(41269),_={value:1,category:1,time:1,log:1};function x(t,e,n,i){(0,l.each)(_,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.__extends)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,m.YD)(this),r=n?(0,m.tE)(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.dt)(t,r,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=b.Z.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(19410),k=n(94757),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}(),T=n(59296),C=n(19894),E=["x","y"];function A(t){return"interval"===t.type||"time"===t.type}var O=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=E,e}return(0,r.__extends)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(A(t)&&A(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,T.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 k.Z(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,C.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,C.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 k.Z(r,i,o,a)},e}(M),I=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.__extends)(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(55975).Z),D=n(96606),P=n(95514),L=n(2668),R=n(72518),Z=Math.log,N=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=E,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,P.lM)(u)&&s.get("alignTicks")&&null==s.get("interval")?i.push(a):((0,S.Jk)(u,s),(0,P.lM)(u)&&(e=a))}i.length&&(e||(e=i.pop(),(0,S.Jk)(e.scale,e.model)),(0,l.each)(i,function(t){!function(t,e,n){var r=R.Z.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=(0,S.Xv)(t,e),u=l.extent,c=l.fixMin,h=l.fixMax;if("log"===t.type){var f=Z(t.base);u=[Z(u[0])/f,Z(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,P.r1)(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,P.r1)(p),g=u[1]-p*a;else{t.getTicks().length-1>a&&(p=(0,P.r1)(p));var v=p*a;y=Math.ceil(u[1]/p)*p,(g=(0,L.NM)(y-v))<0&&u[0]>=0?(g=0,y=(0,L.NM)(v)):y>0&&u[1]<=0&&(y=0,g=-(0,L.NM)(v))}var m=(i[0].value-o[0].value)/s,b=(i[a].value-o[a].value)/s;r.setExtent.call(t,g+p*m,y+p*b),r.setInterval.call(t,p),(m||b)&&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){F(n,"y",t,i)}),(0,l.each)(n.y,function(t){F(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.ME)(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.Do)(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.C6).models[0],o=t.yAxisModel||r&&r.getReferringComponents("yAxis",c.C6).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(z(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 I(e,(0,S.aG)(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 O(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.PY)(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.Yh)(t)){var r=(0,D.Mk)(t),i=r.xAxisModel,o=r.yAxisModel;if(z(i,e)&&z(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.Yh)(t)){var e=(0,D.Mk)(t),n=e.xAxisModel,r=e.yAxisModel;t.coordinateSystem=n.getCoordSysModel().coordinateSystem.getCartesian(n.componentIndex,r.componentIndex)}}),r},t.dimensions=E,t}();function z(t,e){return t.getCoordSysModel()===e}function F(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)B(o[l])&&(i=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&B(o[u])&&!r[c(o[u])]){i=o[u];break}i&&(r[c(i)]=!0)}function c(t){return t.dim+"_"+t.index}}function B(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,S.Yb)(t)}var j=n(26951),H=n(79182),W=n(67747),V=n(37365),U=n(46843),q=(0,c.Yf)(),G=["axisLine","axisTickLabel","axisName"],Y=["splitArea","splitLine","minorSplitLine"],X=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.__extends)(e,t),e.prototype.render=function(e,n,r,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new j.Z,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=D.bK(a,e),u=new V.Z(e,l.extend({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),r=0;r<n.length;r++)if((0,P.lM)(n[r].getOtherAxis(e.axis).scale))return!0;return!1}},s));l.each(G,u.add,u),this._axisGroup.add(u.getGroup()),l.each(Y,function(t){e.get([t,"show"])&&$[t](this,this._axisGroup,e,a)},this),i&&"changeAxisOrder"===i.type&&i.isInitSort||H.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,n,r,i)}},e.prototype.remove=function(){q(this).splitAreaColors=null},e.type="cartesianAxis",e}(U.Z),$={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 b=i.toGlobalCoord(p[m].coord);if((0!==m||u)&&(m!==p.length-1||c)){var _=p[m].tickValue;f?(g[0]=b,g[1]=h.y,y[0]=b,y[1]=h.y+h.height):(g[0]=h.x,g[1]=b,y[0]=h.x+h.width,y[1]=b);var x=d++%s.length,w=new W.Z({anid:null!=_?"line_"+_: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});H.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 W.Z({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});H.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=q(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),b=a.getAreaStyle();u=l.isArray(u)?u:[u];for(var y=1;y<h.length;y++){var _=i.toGlobalCoord(h[y].coord),x=void 0,w=void 0,S=void 0,k=void 0;i.isHorizontal()?(x=m,w=c.y,S=_-x,k=c.height,m=x+S):(x=c.x,w=m,S=c.width,k=_-w,m=w+k);var M=h[y-1].tickValue;null!=M&&p.set(M,g),e.add(new s.Z({anid:null!=M?"area_"+M:null,shape:{x:x,y:w,width:S,height:k},style:l.defaults({fill:u[g]},b),autoBatch:!0,silent:!0})),g=(g+1)%f}q(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.__extends)(e,t),e.type="xAxis",e}(X),J=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=K.type,e}return(0,r.__extends)(e,t),e.type="yAxis",e}(X),Q=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,r.__extends)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new s.Z({shape:t.coordinateSystem.getRect(),style:(0,l.defaults)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(i.Z),tt={offset:0};function te(t){t.registerComponentView(Q),t.registerComponentModel(a),t.registerCoordinateSystem("cartesian2d",N),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(77991),tr=n(65334);function ti(t){(0,tr.D)(te),(0,tr.D)(tn.N)}},48908:function(t,e,n){"use strict";n.d(e,{Z:()=>d});var r=n(377),i=n(86944),o=n(76542),a=n(27814),s=n(76109),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.sT(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.zl({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.__extends)(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.x1(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.sT(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.x1(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.Z)},97304:function(t,e,n){"use strict";n.d(e,{N:()=>$});var r=n(77991),i=n(65334),o=n(377),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.__extends)(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(98650).Z),s=n(76109),l=n(91254),u=n(76542),c=n(26199),h=n(32124);function f(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function d(t){if(l.Z.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.zW)(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var v=n(29405),m=y(g,"transition"),b=y(p,"transform"),_="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(l.Z.transform3dSupported?"will-change:transform;":"");function x(t,e,n){var r=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!l.Z.transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=l.Z.transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+b+":"+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.YB)(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.Z.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.OD)(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,k,M,T,C,E,A,O,I,D=this.el,P=D.style,L=this._styleCoord;D.innerHTML?P.cssText=_+(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.d_)(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.Z.transformSupported?","+b+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.zW)(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))}),i.push((k=[],M=p.get("fontSize"),(T=p.getTextColor())&&k.push("color:"+T),k.push("font:"+p.getFont()),C=(0,s.retrieve2)(p.get("lineHeight"),Math.round(3*M/2)),M&&k.push("line-height:"+C+"px"),E=p.get("textShadowColor"),A=p.get("textShadowBlur")||0,O=p.get("textShadowOffsetX")||0,I=p.get("textShadowOffsetY")||0,E&&A&&k.push("text-shadow:"+O+"px "+I+"px "+A+"px "+E),(0,s.each)(["decoration","align"],function(t){var e=p.get(t);e&&k.push("text-"+t+":"+e)}),k.join(";"))),null!=g&&i.push("padding:"+(0,h.MY)(g).join("px ")+"px"),i.join(";")+";")+x(L[0],L[1],!0)+"border-color:"+(0,h.Lz)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):P.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.Lz)(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=b+":";(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.Z.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}(),k=n(71839),M=n(21330),T=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),A(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._y)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new k.ZP({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,v.d_)(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=E(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;A(r,this._zr,t,e),t=r[0],e=r[1];var i=n.style,o=C(i.borderWidth||0),a=E(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 C(t){return Math.max(0,t)}function E(t){var e=C(t.shadowBlur||0),n=C(t.shadowOffsetX||0),r=C(t.shadowOffsetY||0);return{left:C(e-n),right:C(e+n),top:C(e-r),bottom:C(e+r)}}function A(t,e,n,r){t[0]=n,t[1]=r,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var O=n(2668),I=n(1946),D=n(79231),P=n(80062),L=n(72673),R=n(59921),Z=n(19410),N=n(71709),z=n(84861),F=n(80224),B=n(279),j=n(40312),H=n(9207),W=n(96372),V=n(91593),U=new I.Z({shape:{x:-1,y:-1,width:2,height:2}}),q=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.__extends)(e,t),e.prototype.init=function(t,e){if(!l.Z.node&&e.getDom()){var n=t.getComponent("tooltip"),r=this._renderMode=(0,z.U9)(n.get("renderMode"));this._tooltipContent="richText"===r?new T(e):new S(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!l.Z.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,V.T9)(this,"_updatePosition",50,"fixRate"):(0,V.ZH)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");R.z("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.Z.node&&n.getDom()){var i=Y(r,n);this._ticket="";var o=r.dataByCoordSys,a=function(t,e,n){var r,i=(0,z.zH)(t).queryOptionMap,o=i.keys()[0];if(o&&"series"!==o){var a=(0,z.HZ)(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,j.A)(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)U.x=r.x,U.y=r.y,U.update(),(0,j.A)(U).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:U},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.Z)(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"===G([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,j.A)(n).ssrType)return;this._lastDataByCoordSys=null,(0,W.o)(n,function(t){return null!=(0,j.A)(t).dataIndex?(r=t,!0):null!=(0,j.A)(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=G([e.tooltipOption],r),a=this._renderMode,l=[],u=(0,v.TX)("section",{blocks:[],noHeader:!0}),c=[],f=new v.iv;(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=N.gk(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=(0,v.TX)("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=Z.DX(e.axis,{value:i}),y.axisValueLabel=o,y.marker=f.makeTooltipMarker("item",(0,h.Lz)(y.color),a);var v=(0,H.f)(p.formatTooltip(g,!0,null)),m=v.frag;if(m){var b=G([p],r).get("valueFormatter");d.blocks.push(b?(0,s.extend)({valueFormatter:b},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.BY)(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,j.A)(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=G([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),b=new v.iv;m.marker=b.makeTooltipMarker("item",(0,h.Lz)(m.color),d);var _=(0,H.f)(l.formatTooltip(u,!1,c)),x=g.get("order"),w=g.get("valueFormatter"),S=_.frag,k=S?(0,v.BY)(w?(0,s.extend)({valueFormatter:w},S):S,b,d,x,r.get("useUTC"),g.get("textStyle")):_.text,M="item_"+l.name+"_"+u;this._showOrMove(g,function(){this._showTooltipContent(g,k,m,M,t.offsetX,t.offsetY,t.position,t.target,b)}),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,j.A)(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.F1)(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=G(u,this._tooltipModel,f?{position:f}:null),p=d.get("content"),g=Math.random()+"",y=new v.iv;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,B.WU)(y.axisValue,d,g)),d=(0,h.kF)(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,O.GM)(e[0],l),r=(0,O.GM)(e[1],u);else if((0,s.isObject)(e)){var g=e;g.width=c[0],g.height=c[1];var y=(0,P.ME)(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,k,M,T,C,v=(m=n,b=r,_=i,x=l,w=u,S=h?null:20,k=d?null:20,T=(M=_.getSize())[0],C=M[1],null!=S&&(m+T+S+2>x?m-=T+S:m+=S),null!=k&&(b+C+k>w?b-=C+k:b+=k),[m,b]);n=v[0],r=v[1]}if(h&&(n-=X(h)?c[0]/2:"right"===h?c[0]:0),d&&(r-=X(d)?c[1]/2:"bottom"===d?c[1]:0),f(t)){var E,A,I,D,L,R,Z,N,v=(E=n,A=r,I=i,D=l,L=u,Z=(R=I.getSize())[0],N=R[1],E=Math.min(E+Z,D)-Z,A=Math.min(A+N,L)-N,[E=Math.max(E,0),A=Math.max(A,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.Z.node&&e.getDom()&&((0,V.ZH)(this,"_updatePosition"),this._tooltipContent.dispose(),R.E("itemTooltip",e))},e.type="tooltip",e}(F.Z);function G(t,e,n){var r,i=e.ecModel;n?(r=new L.Z(n,i,i),r=new L.Z(e.option,r,i)):r=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof L.Z&&(a=a.get("tooltip",!0)),(0,s.isString)(a)&&(a={formatter:a}),a&&(r=new L.Z(a,r,i)))}return r}function Y(t,e){return t.dispatchAction||(0,s.bind)(e.dispatchAction,e)}function X(t){return"center"===t||"middle"===t}function $(t){(0,i.D)(r.N),t.registerComponentModel(a),t.registerComponentView(q),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},s.noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},s.noop)}},29405:function(t,e,n){"use strict";n.d(e,{BY:()=>y,TX:()=>f,d_:()=>_,iv:()=>x,jT:()=>b});var r=n(26199),i=n(32124),o=n(76109),a=n(58847),s=n(2668);function l(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+(0,r.F1)(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.F1)(i+"")+"px;color:"+(0,r.F1)(n)+";font-weight:"+(0,r.F1)(o+""),valueStyle:"font-size:"+(0,r.F1)(s+"")+"px;color:"+(0,r.F1)(a)+";font-weight:"+(0,r.F1)(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,b={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]},_=[],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 k=new a.ID(S[w],null);x.sort(function(t,e){return k.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?b.html:0,s);null!=a&&_.push(a)});var M="richText"===t.renderMode?_.join(b.richText):v(s,_.join(""),y?n:b.html);if(y)return M;var T=(0,i.uX)(e.header,"ordinal",t.useUTC),C=u(s,t.renderMode).nameStyle,E=l(s);return"richText"===t.renderMode?m(t,T,C)+b.richText+M:v(s,'<div style="'+C+";"+E+';">'+(0,r.F1)(T)+"</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.uX)(t,(0,o.isArray)(A)?A[e]:A,d)})};if(!l||!c){var g,y,b,_,x,w,S,k,M,T,C=h?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",s),E=l?"":(0,i.uX)(f,"ordinal",d),A=e.valueType,O=c?[]:p(e.value,e.dataIndex),I=!h||!l,D=!h&&l,P=u(a,s),L=P.nameStyle,R=P.valueStyle;return"richText"===s?(h?"":C)+(l?"":m(t,E,L))+(c?"":(g=t,y=O,b=I,_=D,x=[R],b&&x.push({padding:[0,0,0,_?10:20],align:"right"}),g.markupStyleCreator.wrapRichTextStyle((0,o.isArray)(y)?y.join(" "):y,x))):v(a,(h?"":C)+(l?"":(w=E,'<span style="'+L+";"+(h?"":"margin-left:2px")+'">'+(0,r.F1)(w)+"</span>"))+(c?"":(S=O,k=I,M=D,T=R,S=(0,o.isArray)(S)?S:[S],'<span style="'+(k?"float:right;margin-left:"+(M?"10px":"20px"):"")+";"+T+'">'+(0,o.map)(S,function(t){return(0,r.F1)(t)}).join("&nbsp;&nbsp;")+"</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 b(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,i.Lz)(n)}function _(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.jj)()}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.A0)({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}()},55975:function(t,e,n){"use strict";n.d(e,{Z:()=>m});var r=n(76109),i=n(2668),o=n(95260),a=n(84861),s=n(19410),l=(0,a.Yf)();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.rk)(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.J9)(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.WY)(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.J9)(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.M9)(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.NU)(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.NU)(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.rk)(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.NM)(t),e=(0,i.NM)(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.J9)(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.J9)(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.J9)(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 b=0,_=0,x=o.lP(i({value:d}),r.font,"center","top");b=1.3*x.width,_=1.3*x.height,v=Math.max(v,b,7),m=Math.max(m,_,7)}var w=v/g,S=m/y;isNaN(w)&&(w=1/0),isNaN(S)&&(S=1/0);var k=Math.max(0,Math.floor(Math.min(w,S))),M=l(t.model),T=t.getExtent(),C=M.lastAutoInterval,E=M.lastTickCount;return null!=C&&null!=E&&1>=Math.abs(C-k)&&1>=Math.abs(E-h)&&C>k&&M.axisExtent0===T[0]&&M.axisExtent1===T[1]?k=C:(M.lastTickCount=h,M.lastAutoInterval=k,M.axisExtent0=T[0],M.axisExtent1=T[1]),k}(this)},t}()},19410:function(t,e,n){"use strict";n.d(e,{rk:()=>N,Yb:()=>P,Jk:()=>I,aG:()=>D,Do:()=>Z,Xv:()=>O,J9:()=>L,AH:()=>B,DX:()=>R,WY:()=>z,PY:()=>F});var r=n(76109),i=n(377),o=n(12050),a=n(41269),s=n(95514),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.Z({})),(0,r.isArray)(i)&&(i=new a.Z({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.__extends)(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.XS(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(s.bA(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.Z);o.Z.registerClass(l);var u=n(72518),c=n(28124),h=n(94757),f=n(2668),d=n(279),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.__extends)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,d.WU)(t.value,d.V8[(0,d.xC)((0,d.Tj)(this._minLevelUnit))]||d.V8.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var r=this.getSetting("useUTC"),i=this.getSetting("locale");return(0,d.k7)(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.FW,a=0,s=[],l=[],u=0,c=0,h=0;h<o.length&&a++<1e4;++h){var p=(0,d.Tj)(o[h]);if((0,d.$K)(o[h])&&(!function(t,r,o){var a=[],s=!r.length;if(!function(t,e,n,r){var i=f.sG(e),o=f.sG(n),a=function(t){return(0,d.q5)(i,t,r)===(0,d.q5)(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.Tj)(t),i[0],i[1],n)){s&&(r=[{value:function(t,e,n){var r=new Date(t);switch((0,d.Tj)(e)){case"year":case"month":r[(0,d.vh)(n)](0);case"day":r[(0,d.f5)(n)](1);case"hour":r[(0,d.En)(n)](0);case"minute":r[(0,d.eN)(n)](0);case"second":r[(0,d.rM)(n)](0),r[(0,d.cb)(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,b=void 0;switch(t){case"year":y=Math.max(1,Math.round(e/d.s2/365)),m=(0,d.sx)(n),b=(0,d.xL)(n);break;case"half-year":case"quarter":case"month":y=(h=e/(30*d.s2))>6?6:h>3?3:h>2?2:1,m=(0,d.CW)(n),b=(0,d.vh)(n);break;case"week":case"half-week":case"day":y=(p=e/d.s2)>16?16:p>7.5?7:p>3.5?4:p>1.5?2:1,m=(0,d.xz)(n),b=(0,d.f5)(n);break;case"half-day":case"quarter-day":case"hour":y=(g=e/d.dV)>12?12:g>6?6:g>3.5?4:g>2?2:1,m=(0,d.Wp)(n),b=(0,d.En)(n);break;case"minute":y=v(e,!0),m=(0,d.fn)(n),b=(0,d.eN)(n);break;case"second":y=v(e,!1),m=(0,d.MV)(n),b=(0,d.rM)(n);break;case"millisecond":y=f.kx(e,!0),m=(0,d.RZ)(n),b=(0,d.cb)(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,b,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.Tj)(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 b=(i[1]-i[0])/e;if(u>1.5*b&&c>b/1.5||(s.push(g),u>b||t===o[h]))break}l=[]}}for(var _=(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=_.length-1,h=0;h<_.length;++h)for(var S=_[h],k=0;k<S.length;++k)x.push({value:S[k].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.s2,e[1]+=d.s2),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.s2}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.sG(t)},e.prototype.contain=function(t){return s.XS(this.parse(t),this._extent)},e.prototype.normalize=function(t){return s.Fv(this.parse(t),this._extent)},e.prototype.scale=function(t){return s.bA(t,this._extent)},e.type="time",e}(u.Z),y=[["second",d.WT],["minute",d.yR],["hour",d.dV],["quarter-day",6*d.dV],["half-day",12*d.dV],["day",1.2*d.s2],["half-week",3.5*d.s2],["week",7*d.s2],["month",31*d.s2],["quarter",95*d.s2],["half-year",d.P5/2],["year",d.P5]];function v(t,e){return(t/=e?d.yR:d.WT)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}o.Z.registerClass(g);var m=o.Z.prototype,b=u.Z.prototype,_=f.NM,x=Math.floor,w=Math.ceil,S=Math.pow,k=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.Z,e._interval=0,e}return(0,i.__extends)(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent(),o=b.getTicks.call(this,t);return r.map(o,function(t){var e=t.value,r=f.NM(S(this.base,e));return r=e===n[0]&&this._fixMin?C(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?C(r,i[1]):r}},this)},e.prototype.setExtent=function(t,e){var n=k(this.base);t=k(Math.max(0,t))/n,e=k(Math.max(0,e))/n,b.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]=C(e[0],n[0])),this._fixMax&&(e[1]=C(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=k(t[0])/k(e),t[1]=k(t[1])/k(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.Xd(n);for(t/n*r<=.5&&(r*=10);!isNaN(r)&&1>Math.abs(r)&&Math.abs(r)>0;)r*=10;var i=[f.NM(w(e[0]/r)*r),f.NM(x(e[1]/r)*r)];this._interval=r,this._niceExtent=i}},e.prototype.calcNiceExtent=function(t){b.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=k(t)/k(this.base),s.XS(t,this._extent)},e.prototype.normalize=function(t){return t=k(t)/k(this.base),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=s.bA(t,this._extent),S(this.base,t)},e.type="log",e}(o.Z),T=M.prototype;function C(t,e){return _(t,f.p8(e))}T.getMinorTicks=b.getMinorTicks,T.getLabel=b.getLabel,o.Z.registerClass(M);var E=n(60326),A=n(52722);function O(t,e){var n=t.type,i=(0,A.Qw)(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.Ge)("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.G_)(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.My)(l));o=h.min,a=h.max}}return{extent:[o,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function I(t,e){var n=O(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.Z.getClass(e)||u.Z)}}function P(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(R(t,r),i,null!=r.level?{level:r.level}:null)}:function(e){return t.scale.getLabel(e)}}function R(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function Z(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.Z(t.x,t.y,o,a)}(s.getTextRect(d),s.get("rotate")||0);r?r.union(p):r=p}return r}}function N(t){var e=t.get("interval");return null==e?"auto":e}function z(t){return"category"===t.type&&0===N(t.getLabelModel())}function F(t,e){var n={};return r.each(t.mapDimensionsAll(e),function(e){n[(0,E.IR)(t,e)]=!0}),r.keys(n)}function B(t,e,n){e&&r.each(F(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])})}},57440:function(t,e,n){"use strict";n.d(e,{W:()=>r});var r=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}()},96606:function(t,e,n){"use strict";n.d(e,{Mk:()=>s,Yh:()=>a,bK:()=>o});var r=n(76109),i=n(84861);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.C6).models[0];e[r]=a}),e}},52722:function(t,e,n){"use strict";n.d(e,{Qw:()=>l});var r=n(76109),i=n(95260),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.GM)(h[0],1),(0,i.GM)(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)}},99319:function(t,e,n){"use strict";n.d(e,{Z:()=>o});var r=n(76109),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}()},27814:function(t,e,n){"use strict";n.d(e,{Br:()=>eY,ds:()=>eU,zP:()=>eF,wL:()=>eJ,YK:()=>eX,Pu:()=>eq,JE:()=>eH,qR:()=>eQ,OB:()=>e8,i8:()=>eu,eU:()=>eB,$j:()=>ez,zl:()=>e$,B9:()=>ej,rp:()=>eW,je:()=>e4,sq:()=>eG,Hr:()=>eh,RS:()=>eK,HO:()=>ec,jQ:()=>e3,S1:()=>eN,Og:()=>e0,yn:()=>e5,I2:()=>er.I2,aW:()=>eV,FU:()=>e6,Ok:()=>e9});var r,i,o,a,s,l,u,c,h,f,d,p,g,y,v,m,b,_,x,w,S,k,M=n(377),T=n(50221),C=n(76109),E=n(91254),A=n(99349),O=n(86944),I=n(84861),D=n(72673),P=n(98650),L="";"undefined"!=typeof navigator&&(L=navigator.platform||"");var R="rgba(0, 0, 0, 0.2)";let Z={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:R,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:R,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:R,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:R,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:R,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:R,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 N=n(78090),z=(0,C.createHashMap)(),F=n(97962),B="\0_ec_inner",j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,M.__extends)(e,t),e.prototype.init=function(t,e,n,r,i,o){r=r||{},this.option=null,this._theme=new D.Z(r),this._locale=new D.Z(i),this._optionManager=o},e.prototype.setOption=function(t,e,n){var r=V(e);this._optionManager.setOption(t,n,r),this._resetOption(null,r)},e.prototype.resetOption=function(t,e){return this._resetOption(t,V(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,C.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,C.createHashMap)(),l=e&&e.replaceMergeMainTypeMap;(0,N.md)(this),(0,C.each)(t,function(t,e){null!=t&&(P.Z.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,C.clone)(t):(0,C.merge)(n[e],t,!0))}),l&&l.each(function(t,e){P.Z.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),P.Z.topologicalTravel(a,P.Z.getAllClassMainTypes(),function(e){var a,s=function(t,e,n){var r=z.get(e);if(!r)return n;var i=r(t);return i?n.concat(i):n}(this,e,I.kF(t[e])),u=i.get(e),c=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",h=I.ab(u,s,c);I.O0(h,e,P.Z),n[e]=null,i.set(e,null),o.set(e,0);var f=[],d=[],p=0;(0,C.each)(h,function(t,n){var r=t.existing,i=t.newOption;if(i){var o="series"===e,s=P.Z.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,C.extend)({componentIndex:n},t.keyInfo);r=new s(i,this,this,l),(0,C.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,C.clone)(this.option);return(0,C.each)(t,function(e,n){if(P.Z.hasClass(n)){for(var r=I.kF(e),i=r.length,o=!1,a=i-1;a>=0;a--)r[a]&&!I.lY(r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,t[n]=r}}),delete t[B],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,C.each)(I.kF(r),function(t){a[t]&&e.push(a[t])})):e=null!=i?H("id",i,a):null!=o?H("name",o,a):(0,C.filter)(a,function(t){return!!t}),W(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=W(l?this.queryComponents(l):(0,C.filter)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,C.filter)(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var r=this._componentsMap;if((0,C.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,C.isString)(t)?r.get(t):(0,C.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=I.U5(t,null);return(0,C.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,C.filter)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,C.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,C.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,C.each)(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){i(this),(0,C.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,C.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,C.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,C.createHashMap)(n)},e.prototype.restoreData=function(t){r(this);var e=this._componentsMap,n=[];e.each(function(t,e){P.Z.hasClass(e)&&n.push(e)}),P.Z.topologicalTravel(n,P.Z.getAllClassMainTypes(),function(n){(0,C.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,C.each)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,C.createHashMap)(e)},i=function(t){},o=function(t,e){t.option={},t.option[B]=1,t._componentsMap=(0,C.createHashMap)({series:[]}),t._componentsCount=(0,C.createHashMap)();var n,r,i,o=e.aria;(0,C.isObject)(o)&&null==o.enabled&&(o.enabled=!0),n=e,r=t._theme.option,i=n.color&&!n.colorLayer,(0,C.each)(r,function(t,e){("colorLayer"!==e||!i)&&(P.Z.hasClass(e)||("object"==typeof t?n[e]=n[e]?(0,C.merge)(n[e],t,!1):(0,C.clone)(t):null==n[e]&&(n[e]=t)))}),(0,C.merge)(e,Z,!1),t._mergeOption(e,null)}),e}(D.Z);function H(t,e,n){if((0,C.isArray)(e)){var r=(0,C.createHashMap)();return(0,C.each)(e,function(t){null!=t&&null!=I.U5(t,null)&&r.set(t,!0)}),(0,C.filter)(n,function(e){return e&&r.get(e[t])})}var i=I.U5(e,null);return(0,C.filter)(n,function(e){return e&&null!=i&&e[t]===i})}function W(t,e){return e.hasOwnProperty("subType")?(0,C.filter)(t,function(t){return t&&t.subType===e.subType}):t}function V(t){var e=(0,C.createHashMap)();return t&&(0,C.each)(I.kF(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,C.mixin)(j,F._);var U=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];let q=function(t){C.each(U,function(e){this[e]=C.bind(t[e],t)},this)};var G=n(99319),Y=/^(min|max)?(.+)$/,X=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,C.each)((0,I.kF)(t.series),function(t){t&&t.data&&(0,C.isTypedArray)(t.data)&&(0,C.setAsPrimitive)(t.data)}),(0,C.each)((0,I.kF)(t.dataset),function(t){t&&t.source&&(0,C.isTypedArray)(t.source)&&(0,C.setAsPrimitive)(t.source)})),t=(0,C.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,C.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,C.isArray)(u)&&(0,C.each)(u,function(t){t&&t.option&&(t.query?o.push(t):r||(r=t))}),f(i),(0,C.each)(l,function(t){return f(t)}),(0,C.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,C.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,C.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,C.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,C.map)(s,function(t){return(0,C.clone)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),$=C.each,K=C.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?C.merge(t[i].normal,o[i]):t[i].normal=o[i],o[i]=null),a&&a[i]&&(t[i]=t[i]||{},t[i].emphasis?C.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,C.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=I.Td.length;i<o;i++){var a=I.Td[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 C.isArray(t)?t:t?[t]:[]}function to(t){return(C.isArray(t)?t[0]:t)||{}}function ta(t){t&&(0,C.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;$(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&&!C.isTypedArray(o))for(var a=0;a<o.length;a++)tr(o[a]);C.each(t.categories,function(t){te(t)})}if(i&&!C.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++)C.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"),C.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"),$(n,function(e){$(ti(t[e]),function(t){t&&(tn(t,"axisLabel"),tn(t.axisPointer,"label"))})}),$(ti(t.parallel),function(t){var e=t&&t.parallelAxisDefault;tn(e,"axisLabel"),tn(e&&e.axisPointer,"label")}),$(ti(t.calendar),function(t){tt(t,"itemStyle"),tn(t,"dayLabel"),tn(t,"monthLabel"),tn(t,"yearLabel")}),$(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)}),$(ti(t.geo),function(t){K(t)&&(tr(t),$(ti(t.regions),function(t){tr(t)}))}),$(ti(t.timeline),function(t){tr(t),tt(t,"label"),tt(t,"itemStyle"),tt(t,"controlStyle",!0);var e=t.data;C.isArray(e)&&C.each(e,function(t){C.isObject(t)&&(tt(t,"label"),tt(t,"itemStyle"))})}),$(ti(t.toolbox),function(t){tt(t,"iconStyle"),$(t.feature,function(t){tt(t,"iconStyle")})}),tn(to(t.axisPointer),"label"),tn(to(t.tooltip).axisPointer,"label"),t.series=(0,I.kF)(t.series),(0,C.each)(t.series,function(t){if((0,C.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,C.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,C.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,C.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,C.each)(tl,function(e){var n=t[e];n&&((0,C.isArray)(n)||(n=[n]),(0,C.each)(n,function(t){ta(t)}))})}var tp=n(2668);function tg(t){(0,C.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.S$)(d,v),p=v;break}}}return r[0]=d,r[1]=p,r})})}var ty=n(38362),tv=n(80224),tm=n(94541),tb=n(1946),t_=n(10781),tx=n(58341),tw=n(80598),tS=n(40312),tk=n(4418),tM=n(91593),tT=n(49341),tC=n(52382),tE=n(56853),tA=(0,I.Yf)(),tO={itemStyle:(0,tT.Z)(tC.t,!0),lineStyle:(0,tT.Z)(tE.v,!0)},tI={lineStyle:"stroke",itemStyle:"fill"};function tD(t,e){var n=t.visualStyleMapper||tO[e];return n||(console.warn("Unknown style type '"+e+"'."),tO.itemStyle)}function tP(t,e){var n=t.visualDrawType||tI[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var tL=new D.Z,tR=n(26951),tZ=n(71839),tN=n(26449),tz=Math.PI,tF=n(74683),tB=n(92638),tj=function(){function t(t,e,n,r){this._stageTaskMap=(0,C.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,C.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,C.each)(this._allHandlers,function(r){var i=t.get(r.uid)||t.set(r.uid,{});(0,C.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,C.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,C.createHashMap)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tF.v)({plan:tq,reset:tG,count:t$}));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,tF.v)({reset:tH});o.context={ecModel:n,api:r,overallReset:t.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=(0,C.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,tF.v)({reset:tW,onDirty:tU})));n.context={model:t,overallProgress:c},n.agent=o,n.__block=c,i._pipe(t,n)}(0,C.assert)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,f):u?u(n,r).each(f):(c=!1,(0,C.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,C.isFunction)(t)&&(t={overallReset:t,seriesType:function(t){a=null;try{t(tK,tJ)}catch(t){}return a}(t)}),t.uid=(0,tB.Kr)("stageHandler"),e&&(t.visualType=e),t},t}();function tH(t){t.overallReset(t.ecModel,t.api,t.payload)}function tW(t){return t.overallProgress&&tV}function tV(){this.agent.dirty(),this.getDownstream().dirty()}function tU(){this.agent&&this.agent.dirty()}function tq(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tG(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,I.kF)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,C.map)(e,function(t,e){return tX(e)}):tY}var tY=tX(0);function tX(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 t$(t){return t.data.count()}var tK={},tJ={};function tQ(t,e){for(var n in e.prototype)t[n]=C.noop}tQ(tK,j),tQ(tJ,q),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"],t4={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"}}};t4.categoryAxis.splitLine.show=!1;var t6=n(43945),t8=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},r={};if(C.isString(t)){var i=(0,t6.u9)(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};C.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(21330);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,I.gO)(l,i.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:(0,C.isArray)(u)?l.getName(u[0]):l.getName(u),selected:(0,C.isString)(r)?r:(0,C.extend)({},r)})}})}var en=n(29446),er=n(43288),ei=n(96372),eo=n(91738),ea=new O.Z,es=n(28988),el=n(85910),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:eb(this,t,e)}}function em(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return eb(this,t,e)}}function eb(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),O.Z.prototype[e].apply(t,n)}var e_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,M.__extends)(e,t),e}(O.Z),ex=e_.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,C.isString)(n)&&(n=eO[n]),i._dom=e,r.ssr&&T.registerSSRDataGetter(function(t){var e=(0,tS.A)(t),n=e.dataIndex;if(null!=n){var r=(0,C.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=T.init(e,{renderer:r.renderer||"canvas",devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:(0,C.retrieve2)(r.useDirtyRect,!1),useCoarsePointer:(0,C.retrieve2)(r.useCoarsePointer,"auto"),pointerSize:r.pointerSize});i._ssr=r.ssr,i._throttledZrFlush=(0,tM.P2)((0,C.bind)(o.flush,o),17),(n=(0,C.clone)(n))&&td(n,!0),i._theme=n,i._locale=(0,er.D0)(r.locale||er.sO),i._coordSysMgr=new G.Z;var a=i._api=x(i);function s(t,e){return t.__prio-e.__prio}return(0,A.Z)(eA,s),(0,A.Z)(eC,s),i._scheduler=new tj(i,a,eC,eA),i._messageCenter=new e_,i._initEvents(),i.resize=(0,C.bind)(i.resize,i),o.animation.on("frame",i._onframe,i),y(o,i),v(o,i),(0,C.setAsPrimitive)(i),i}return(0,M.__extends)(e,t),e.prototype._onframe=function(){if(!this._disposed){k(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),_(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,C.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 X(this._api),l=this._theme,u=this._model=new j;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,a)}this._model.setOption(t,{replaceMerge:i},eE);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.Sh)("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||E.Z.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(E.Z.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,C.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,C.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,C.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(!eP[n])return this.getDataURL(t);var a=o,s=o,l=-o,u=-o,c=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();(0,C.each)(eD,function(o,h){if(o.group===n){var f=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,C.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.qW.createCanvas(),g=T.init(p,{renderer:e?"svg":"canvas"});if(g.resize({width:f,height:d}),!e)return t.connectedBackgroundColor&&g.add(new tb.Z({shape:{x:0,y:0,width:f,height:d},style:{fill:t.connectedBackgroundColor}})),(0,C.each)(c,function(t){var e=new t_.ZP({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,C.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=I.pm(r,t);return(0,C.each)(i,function(t,r){r.indexOf("Models")>=0&&(0,C.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=I.pm(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,C.each)(ek,function(t){var e=function(e){var n,i=r.getModel(),o=e.target;if("globalout"===t?n={}:o&&(0,ei.o)(o,function(t){var e=(0,tS.A)(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,C.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,C.each)(eT,function(t,e){r._messageCenter.on(e,function(t){this.trigger(e,t)},r)}),(0,C.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(){if(this._disposed)return void this.id;this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)return void this.id;this._disposed=!0,this.getDom()&&I.P$(this.getDom(),eZ,"");var t=this._api,e=this._model;(0,C.each)(this._componentsViews,function(n){n.dispose(e,t)}),(0,C.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,C.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,C.isObject)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eI[t]){var n=eI[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},e.prototype.hideLoading=function(){if(this._disposed)return void this.id;this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var e=(0,C.extend)({},t);return e.type=eT[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,C.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&&E.Z.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===tk.wU&&t.states.emphasis?e.push("emphasis"):t.hoverState===tk.CX&&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.eq(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.eq(t)){if(t instanceof tw.ZP&&(0,tk.e9)(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,t6.u9)(t.type);(c=new(e?tv.Z.getClass(h.main,h.sub):tm.Z.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,C.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,C.createHashMap)(),(0,C.each)(I.kF(u),function(t){var e=I.U5(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(l,function(e){if(!(o&&null!=o.get(e.id)))if((0,tk.xp)(n))if(e instanceof ty.Z)n.type!==tk.Ki||n.notBlur||e.get(["emphasis","disabled"])||(0,tk.UL)(e,n,t._api);else{var r=(0,tk.oJ)(e.mainType,e.componentIndex,n.name,t._api),i=r.focusSelf,a=r.dispatchers;n.type===tk.Ki&&i&&!n.notBlur&&(0,tk.zI)(e.mainType,e.componentIndex,t._api),a&&(0,C.each)(a,function(t){n.type===tk.Ki?(0,tk.fD)(t):(0,tk.Mh)(t)})}else(0,tk.aG)(n)&&e instanceof ty.Z&&((0,tk.og)(e,n,t._api),(0,tk.ci)(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,C.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}),_(this,r,i,e,{},a),ea.trigger("afterupdate",r,i)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),tm.Z.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.Z.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=I.pm(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,t6.u9)(f[0]);this[ef]=!0;var g=[t],y=!1;t.batch&&(y=!0,g=(0,C.map)(t.batch,function(e){return(e=(0,C.defaults)((0,C.extend)({},e),t)).batch=null,e}));var v=[],m=(0,tk.aG)(t),b=(0,tk.xp)(t);if(b&&(0,tk.T5)(this._api),(0,C.each)(g,function(e){if((n=(n=l.action(e,r._model,r._api))||(0,C.extend)({},e)).type=h.event||n.type,v.push(n),b){var i=I.zH(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&&!b&&!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 _=this._messageCenter;if(_.trigger(n.type,n),m){var x={type:"selectchanged",escapeConnect:a,selected:(0,tk.C5)(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};_.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.o)(n,tk.Av);r&&((0,tk.$l)(r,t,e._api),S(e))}).on("mouseout",function(t){var n=t.target,r=(0,ei.o)(n,tk.Av);r&&((0,tk.xr)(r,t,e._api),S(e))}).on("click",function(t){var n=t.target,r=(0,ei.o)(n,function(t){return null!=(0,tS.A)(t).dataIndex},!0);if(r){var i=r.selected?"unselect":"select",o=(0,tS.A)(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,A.Z)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,C.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),b(t,e,n,r,i),(0,C.each)(t._chartsViews,function(t){t.__alive=!1}),_(t,e,n,r,i),(0,C.each)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},b=function(t,e,o,a,s,l){(0,C.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)})},_=function(t,e,o,a,s,l){var u,c,h,f,d=t._scheduler;s=(0,C.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,tk.ci)(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"))||E.Z.node||E.Z.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()},k=function(t){t[ep]&&(t.getZr().storage.traverse(function(t){tx.eq(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.__extends)(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,tk.fD)(e,n),S(t)},n.prototype.leaveEmphasis=function(e,n){(0,tk.Mh)(e,n),S(t)},n.prototype.enterBlur=function(e){(0,tk.SX)(e),S(t)},n.prototype.leaveBlur=function(e){(0,tk.VP)(e),S(t)},n.prototype.enterSelect=function(e){(0,tk.XX)(e),S(t)},n.prototype.leaveSelect=function(e){(0,tk.SJ)(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}(q))(t)},w=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][ey]=e}(0,C.each)(eT,function(n,r){t._messageCenter.on(r,function(n){if(eP[t.group]&&0!==t[ey]&&(!n||!n.escapeConnect)){var r=t.makeActionFromEvent(n),i=[];(0,C.each)(eD,function(e){e!==t&&e.group===t.group&&i.push(e)}),e(i,0),(0,C.each)(i,function(t){1!==t[ey]&&t.dispatchAction(r)}),e(i,2)}})})}}(),e}(O.Z),eS=ew.prototype;eS.on=ev("on"),eS.off=ev("off"),eS.one=function(t,e,n){var r=this;(0,et.Sh)("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 ek=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],eM={},eT={},eC=[],eE=[],eA=[],eO={},eI={},eD={},eP={},eL=new Date-0,eR=new Date-0,eZ="_echarts_instance_";function eN(t,e,n){var r=!(n&&n.ssr);if(r){var i=eH(t);if(i)return i}var o=new ew(t,e,n);return o.id="ec_"+eL++,eD[o.id]=o,r&&I.P$(t,eZ,o.id),w(o),ea.trigger("afterinit",o),o}function ez(t){if((0,C.isArray)(t)){var e=t;t=null,(0,C.each)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+eR++,(0,C.each)(e,function(e){e.group=t})}return eP[t]=!0,t}function eF(t){eP[t]=!1}var eB=eF;function ej(t){(0,C.isString)(t)?t=eD[t]:t instanceof ew||(t=eH(t)),t instanceof ew&&!t.isDisposed()&&t.dispose()}function eH(t){return eD[I.IL(t,eZ)]}function eW(t){return eD[t]}function eV(t,e){eO[t]=e}function eU(t){0>(0,C.indexOf)(eE,t)&&eE.push(t)}function eq(t,e){e2(eC,t,e,2e3)}function eG(t){eX("afterinit",t)}function eY(t){eX("afterupdate",t)}function eX(t,e){ea.on(t,e)}function e$(t,e,n){(0,C.isFunction)(e)&&(n=e,e="");var r=(0,C.isObject)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||r).toLowerCase(),eT[e=t.event]||((0,C.assert)(eg.test(r)&&eg.test(e)),eM[r]||(eM[r]={action:n,actionInfo:t}),eT[e]=r)}function eK(t,e){G.Z.register(t,e)}function eJ(t){var e=G.Z.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function eQ(t,e){e2(eA,t,e,1e3,"layout")}function e0(t,e){e2(eA,t,e,3e3,"visual")}var e1=[];function e2(t,e,n,r,i){if(((0,C.isFunction)(e)||(0,C.isObject)(e))&&(n=e,e=r),!((0,C.indexOf)(e1,n)>=0)){e1.push(n);var o=tj.wrapStageHandler(n,i);o.__prio=e,o.__raw=n,t.push(o)}}function e5(t,e){eI[t]=e}function e3(t){(0,es.g2)({createCanvas:t})}function e4(t,e,n){var r=(0,el.C)("registerMap");r&&r(t,e,n)}function e6(t){var e=(0,el.C)("getMap");return e&&e(t)}var e8=en.DA;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=tP(t,r),l=o[s],u=(0,C.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,C.isFunction)(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||(0,C.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,C.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,C.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,C.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)),tA(t).scope=i}}),t.eachSeries(function(e){if(!(e.isColorBySeries()||t.isSeriesFiltered(e))){var n=e.getRawData(),r={},i=e.getData(),o=tA(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=tP(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,C.isFunction)(l)?(o=!0,i[s]=l):r[s]=l}if(r.symbol=r.symbol||t.defaultSymbol,n.setVisual((0,C.extend)({legendIcon:t.legendIcon||r.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},r)),!e.isSeriesFiltered(t)){var u=(0,C.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.I)(n,e))});var i=r.getVisual("decal");i&&(r.getVisual("style").decal=(0,eo.I)(i,e))}})}),eU(td),eq(900,function(t){var e=(0,C.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)}),eI.default=function(t,e){e=e||{},C.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 tR.Z,i=new tb.Z({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});r.add(i);var o=new tZ.ZP({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 tb.Z({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return r.add(a),e.showSpinner&&((n=new tN.Z({shape:{startAngle:-tz/2,endAngle:-tz/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*tz/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*tz/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},e$({type:tk.Ki,event:tk.Ki,update:tk.Ki},C.noop),e$({type:tk.yx,event:tk.yx,update:tk.yx},C.noop),e$({type:tk.Hg,event:tk.Hg,update:tk.Hg},C.noop),e$({type:tk.JQ,event:tk.JQ,update:tk.JQ},C.noop),e$({type:tk.iK,event:tk.iK,update:tk.iK},C.noop),eO.light={color:t0,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t0]},eO.dark=t4;var e9={}},85910:function(t,e,n){"use strict";n.d(e,{C:()=>o,M:()=>i});var r={};function i(t,e){r[t]=e}function o(t){return r[t]}},43288:function(t,e,n){"use strict";n.d(e,{Li:()=>f,G8:()=>h,I2:()=>u,D0:()=>c,sO:()=>l});var r=n(72673),i=n(91254),o=n(76109),a={},s={},l=i.Z.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.Z(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:""}}}})},74683:function(t,e,n){"use strict";n.d(e,{v:()=>i});var r=n(76109);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}}()},42171:function(t,e,n){"use strict";function r(t){return null==t?0:t.length||1}function i(t){return t}n.d(e,{Z:()=>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}()},35065:function(t,e,n){"use strict";n.d(e,{ZP:()=>y,hG:()=>c});var r,i=n(76109),o=n(58847),a=n(5908),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.QY)(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 b=l[y];m<b[0]&&(b[0]=m),m>b[1]&&(b[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]],b=f[r[1]],_=t[r[1]][0],x=t[r[1]][1],v=0;v<n;v++){var m=y[v],w=b[v];(m>=c&&m<=h||isNaN(m))&&(w>=_&&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 k=!0,S=e.getRawIndex(v),M=0;M<o;M++){var T=r[M],m=f[T][S];(m<t[T][0]||m>t[T][1])&&(k=!1)}k&&(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 b=this.getRawIndex(m),_=a[b];isNaN(_)||(v+=_)}v/=g-p;var x=f,w=Math.min(f+u,s),S=f-1,k=a[c];n=-1,i=x;for(var M=-1,T=0,m=x;m<w;m++){var b=this.getRawIndex(m),_=a[b];if(isNaN(_)){T++,M<0&&(M=b);continue}(r=Math.abs((S-y)*(_-k)-(S-m)*(v-k)))>n&&(n=r,i=b)}T>0&&T<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),b=this.getRawIndex(f);c<f?(s[l++]=m,s[l++]=b):(s[l++]=b,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),b=this.getRawIndex(Math.min(g+r(a,m)||0,u-1));l[b]=m,m<c[0]&&(c[0]=m),m>c[1]&&(c[1]=m),h[f++]=b}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.yQ)(t[r],this._dimensions[r])}r={arrayRows:t,objectRows:function(t,e,n,r){return(0,o.yQ)(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.yQ)(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(t,e,n,r){return t[r]}}}(),t}()},41269:function(t,e,n){"use strict";n.d(e,{Z:()=>a});var r=n(76109),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}()},39116:function(t,e,n){"use strict";n.d(e,{Z:()=>C});var r,i,o,a,s,l,u,c=n(76109),h=n(72673),f=n(42171),d=n(83996),p=n(54847),g=n(48648),y=n(6e4),v=n(84861),m=n(40312),b=n(5908),_=n(35065),x=n(91478),w=c.isObject,S=c.map,k="undefined"==typeof Int32Array?Array:Int32Array,M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],T=["_approximateExtent"];let C=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.bB)(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.Z({name:h}):h instanceof g.Z?h:new g.Z(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 _.ZP&&(r=t),!r){var o=this.dimensions,a=(0,b.Ld)(t)||c.isArrayLike(t)?new d.Pl(t,o.length):t;r=new _.ZP;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.y)(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.J5&&!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.cy&&!n.pure)for(var a=[],s=t;s<e;s++){var l=n.getItem(s,a);if(!this.hasItemOption&&(0,v.Co)(l)&&(this.hasItemOption=!0),l){var c=l.name;null==i[s]&&null!=c&&(i[s]=(0,v.U5)(c,null));var h=l.id;null==o[s]&&null!=h&&(o[s]=(0,v.U5)(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.Z(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new f.Z(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.Q)(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 k(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.U5)(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(T,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}()},48648:function(t,e,n){"use strict";n.d(e,{Z:()=>i});var r=n(76109);let i=function(t){this.otherDims={},null!=t&&r.extend(this,t)}},5908:function(t,e,n){"use strict";n.d(e,{Kp:()=>f,Ld:()=>l,ML:()=>h,QY:()=>g,_P:()=>u,nx:()=>c});var r=n(76109),i=n(6e4),o=n(84861),a=n(78090),s=function(t){this.data=t.data||(t.sourceFormat===i.hL?{}:[]),this.sourceFormat=t.sourceFormat||i.RA,this.seriesLayoutBy=t.seriesLayoutBy||i.fY,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.u7)(this,n)===a.Dq.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.XD){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.Wc?t.length:t[0]?t[0].length:null}else if(e===i.qb)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.hL)s||(s=[],(0,r.each)(t,function(t,e){s.push(e)}));else if(e===i.cy){var c=(0,o.C4)(t[0]);l=(0,r.isArray)(c)&&c.length||1}else i.J5;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.J5:i.cy})}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.RA;if((0,r.isTypedArray)(t))e=i.J5;else if((0,r.isArray)(t)){0===t.length&&(e=i.XD);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.XD;break}else if((0,r.isObject)(a)){e=i.qb;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.hL;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.Wc)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.qb||e===i.hL}},91478:function(t,e,n){"use strict";n.d(e,{Eo:()=>l,Jj:()=>h,Jl:()=>f,bB:()=>u,v5:()=>c});var r=n(76109),i=n(84861),o=n(5908),a=(0,i.Yf)(),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.QY)(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}},72231:function(t,e,n){"use strict";n.d(e,{Z:()=>f,q:()=>h});var r=n(6e4),i=n(48648),o=n(76109),a=n(5908),s=n(35065),l=n(84861),u=n(78090),c=n(91478);function h(t,e){return f(t,e).dimensions}function f(t,e){(0,a.Ld)(t)||(t=(0,a.nx)(t));var n,h,f,d,p,g=(e=e||{}).coordDimensions||[],y=e.dimensionsDefine||t.dimensionsDefine||[],v=(0,o.createHashMap)(),m=[],b=(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),_=e.canOmitUnusedDimensions&&(0,c.Jl)(b),x=y===t.dimensionsDefine,w=x?(0,c.Jj)(t):(0,c.v5)(y),S=e.encodeDefine;!S&&e.encodeDefaulter&&(S=e.encodeDefaulter(t,b));for(var k=(0,o.createHashMap)(S),M=new s.hG(b),T=0;T<M.length;T++)M[T]=-1;function C(t){var e=M[t];if(e<0){var n=y[t],r=(0,o.isObject)(n)?n:{name:n},a=new i.Z,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(!_)for(var T=0;T<b;T++)C(T);k.each(function(t,e){var n=(0,l.kF)(t).slice();if(1===n.length&&!(0,o.isString)(n[0])&&n[0]<0)return void k.set(e,!1);var r=k.set(e,[]);(0,o.each)(n,function(t,n){var i=(0,o.isString)(t)?w.get(t):t;null!=i&&i<b&&(r[n]=i,A(C(i),e,n))})});var E=0;function A(t,e,n){null!=r.f7.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=k.get(i);if(!1!==s){if(!(s=(0,l.kF)(s)).length)for(var u=0;u<(e&&e.length||1);u++){for(;E<b&&null!=C(E).coordDim;)E++;E<b&&s.push(E++)}(0,o.each)(s,function(t,a){var s=C(t);if(x&&null!=r.type&&(s.type=r.type),A((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 O=e.generateCoord,I=e.generateCoordCount,D=null!=I;I=O?I||1:0;var P=O||"value";function L(t){null==t.name&&(t.name=t.coordDim)}if(_)(0,o.each)(m,function(t){L(t)}),m.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var R=0;R<b;R++){var Z=C(R);null==Z.coordDim&&(Z.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}(P,v,D),Z.coordDimIndex=0,(!O||I<=0)&&(Z.isExtraCoord=!0),I--),L(Z),null==Z.type&&((0,u.u7)(t,R)===u.Dq.Must||Z.isExtraCoord&&(null!=Z.otherDims.itemName||null!=Z.otherDims.seriesName))&&(Z.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.Eo({source:t,dimensions:m,fullDimensionCount:b,dimensionOmitted:_})}},83996:function(t,e,n){"use strict";n.d(e,{Pl:()=>f,_j:()=>g,a:()=>m,hk:()=>S,tB:()=>x});var r,i,o,a,s,l=n(76109),u=n(84861),c=n(5908),h=n(6e4),f=function(){var t;function e(t,e){var n=(0,c.Ld)(t)?t:(0,c.nx)(t);this._source=n;var r=this._data=n.data;n.sourceFormat===h.J5&&(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.J5)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.XD+"_"+h.fY]={pure:!0,appendData:i},t[h.XD+"_"+h.Wc]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[h.qb]={pure:!0,appendData:i},t[h.hL]={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.cy]={appendData:i},t[h.J5]={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.XD+"_"+h.fY]=function(t,e,n,r){return t[r+e]},r[h.XD+"_"+h.Wc]=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.qb]=d,r[h.hL]=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.cy]=d,r);function g(t,e){return p[w(t,e)]}var y=function(t,e,n){return t.length},v=((i={})[h.XD+"_"+h.fY]=function(t,e,n){return Math.max(0,t.length-e)},i[h.XD+"_"+h.Wc]=function(t,e,n){var r=t[0];return r?Math.max(0,r.length-e):0},i[h.qb]=y,i[h.hL]=function(t,e,n){var r=t[n[0].name];return r?r.length:0},i[h.cy]=y,i);function m(t,e){return v[w(t,e)]}var b=function(t,e,n){return t[e]},_=((o={})[h.XD]=b,o[h.qb]=function(t,e,n){return t[n]},o[h.hL]=b,o[h.cy]=function(t,e,n){var r=(0,u.C4)(t);return r instanceof Array?r[e]:r},o[h.J5]=b,o);function x(t){return _[t]}function w(t,e){return t===h.XD?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 _[o](r,a,s)}var l=r;return o===h.cy&&(l=(0,u.C4)(r)),l}}}},60326:function(t,e,n){"use strict";n.d(e,{BM:()=>o,IR:()=>s,M:()=>a});var r=n(76109),i=n(91478);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.bB)(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 b={name:h,coordDim:y,coordDimIndex:m,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},_={name:f,coordDim:f,coordDimIndex:m+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(b.storeDimIndex=l.ensureCalculationDimension(f,v),_.storeDimIndex=l.ensureCalculationDimension(h,v)),s.appendCalculationDimension(b),s.appendCalculationDimension(_)):(a.push(b),a.push(_))}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}},58847:function(t,e,n){"use strict";n.d(e,{ID:()=>l,yQ:()=>a});var r=n(2668),i=n(76109),o=n(21330);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.sG)(t)),null==t||""===t?NaN:Number(t))}(0,i.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+(0,r.sG)(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._y)(""),this._opFn=s[t],this._rvalFloat=(0,r.FK)(e)}).prototype.evaluate=function(t){return(0,i.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,r.FK)(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.FK)(t),o=(0,i.isNumber)(e)?e:(0,r.FK)(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.FK)(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.FK)(t)===this._rvalFloat)}return this._isEQ?e:!e}},54847:function(t,e,n){"use strict";n.d(e,{T:()=>l,y:()=>a});var r=n(76109),i=n(6e4),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.f7.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"}},78090:function(t,e,n){"use strict";n.d(e,{Dq:()=>a,JT:()=>h,Wd:()=>c,md:()=>l,pY:()=>u,u7:()=>f});var r=n(84861),i=n(76109),o=n(6e4),a={Must:1,Might:2,Not:3},s=(0,r.Yf)();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.HZ)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},r.C6).models[0]}function h(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,r.HZ)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},r.C6).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.XD)if(n===o.Wc){for(var p=t[u],g=0;g<(p||[]).length&&g<5;g++)if(null!=(c=b(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=b(y[u])))return c}else if(e===o.qb){if(!h)return a.Not;for(var g=0;g<t.length&&g<5;g++){var v=t[g];if(v&&null!=(c=b(v[h])))return c}}else if(e===o.hL){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=b(p[g])))return c}else if(e===o.cy)for(var g=0;g<t.length&&g<5;g++){var v=t[g],m=(0,r.C4)(v);if(!(0,i.isArray)(m))return a.Not;if(null!=(c=b(m[u])))return c}function b(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)}},29446:function(t,e,n){"use strict";n.d(e,{DA:()=>y,vK:()=>v});var r=n(6e4),i=n(84861),o=n(76109),a=n(83996),s=n(58847),l=n(21330),u=n(5908),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.yQ)(t,e)},t}();function h(t){return m(t.sourceFormat)||(0,l._y)(""),t.data}function f(t){var e=t.sourceFormat,n=t.data;if(m(e)||(0,l._y)(""),e===r.XD){for(var i=[],a=0,s=n.length;a<s;a++)i.push(n[a].slice());return i}if(e===r.qb){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._y)("");var n=e.split(":");2!==n.length&&(0,l._y)("");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.kF)(t),y=s.length;y||(0,l._y)("");for(var v=0;v<y;v++)e=function(t,e,n,s){e.length||(0,l._y)(""),(0,o.isObject)(t)||(0,l._y)("");var y=t.type,v=g.get(y);v||(0,l._y)("");var b=(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.fY&&(0,l._y)("");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._y)(""),y[n]=r)});else for(var m=0;m<t.dimensionsDetectedCount||0;m++)g.push({index:m});var b=(0,a._j)(s,r.fY);e.__isBuiltIn&&(n.getRawDataItem=function(t){return b(i,u,g,t)},n.getRawData=(0,o.bind)(h,null,t)),n.cloneRawData=(0,o.bind)(f,null,t);var _=(0,a.a)(s,r.fY);n.count=(0,o.bind)(_,null,i,u,g);var x=(0,a.tB)(s);n.retrieveValue=function(t,e){return w(b(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)}),_=(0,i.kF)(v.transform({upstream:b[0],upstreamList:b,config:(0,o.clone)(t.config)}));return(0,o.map)(_,function(t,n){(0,o.isObject)(t)||(0,l._y)(""),t.data||(0,l._y)(""),m((0,u.Kp)(t.data))||(0,l._y)("");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.fY,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else i={seriesLayoutBy:r.fY,sourceHeader:0,dimensions:t.dimensions};return(0,u._P)(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.XD||t===r.qb}},65334:function(t,e,n){"use strict";n.d(e,{D:()=>function t(e){if((0,l.isArray)(e))return void(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(27814),i=n(80224),o=n(94541),a=n(98650),s=n(38362),l=n(76109),u=n(85910),c=n(50221),h=[],f={registerPreprocessor:r.ds,registerProcessor:r.Pu,registerPostInit:r.sq,registerPostUpdate:r.Br,registerUpdateLifecycle:r.YK,registerAction:r.zl,registerCoordinateSystem:r.RS,registerLayout:r.qR,registerVisual:r.Og,registerTransform:r.OB,registerLoading:r.yn,registerMap:r.je,registerImpl:u.M,PRIORITY:r.Hr,ComponentModel:a.Z,ComponentView:i.Z,SeriesModel:s.Z,ChartView:o.Z,registerComponentModel:function(t){a.Z.registerClass(t)},registerComponentView:function(t){i.Z.registerClass(t)},registerSeriesModel:function(t){s.Z.registerClass(t)},registerChartView:function(t){o.Z.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.Z.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,c.registerPainter)(t,e)}}},73752:function(t,e,n){"use strict";n.d(e,{GI:()=>l,VT:()=>o,WE:()=>s,yl:()=>u});var r=n(91907),i=n(94757);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.Z(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],b=t[u-1];return _(),s<0&&S(-s,.8),l<0&&S(l,.8),_(),x(s,l,1),x(l,s,-1),_(),s<0&&k(-s),l<0&&k(l),h}function _(){s=m.rect[e]-r,l=i-b.rect[e]-b.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 k(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.Z(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.Z(y.localRect,y.transform)),d||(d=new r.Z(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))}}},27932:function(t,e,n){"use strict";n.d(e,{Lr:()=>d,k3:()=>f,nC:()=>p,ni:()=>h,qA:()=>_,qT:()=>b,tD:()=>x});var r=n(71839),i=n(76109),o=n(4418),a=n(84861),s=n(58341),l={};function u(t,e){for(var n=0;n<o.L1.length;n++){var r=o.L1[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.L1.length;h++){var f=o.L1[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.ZP,h=!1,f=0;f<o.qc.length;f++){var g=e[o.qc[f]];if(g&&g.getShallow("show")){h=!0;break}}var y=s?t:t.getTextContent();if(h){!s&&(y||(y=new r.ZP,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var v=c(n,e),m=e.normal,b=!!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.L1.length;f++){var w=o.L1[f],g=e[w];if(g){var S=y.ensureState(w),k=!!(0,i.retrieve2)(g.getShallow("show"),b);k!==b&&(S.ignore=!k),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=!b,y.useStyle(x),y.dirty(),n.enableTextSetter&&(_(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.L1.length;r++){var i=o.L1[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 b=(0,i.retrieve2)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=b&&(t.lineDashOffset=b),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 _=0;_<g.length;_++){var x=g[_],w=(0,i.retrieve2)(e.getShallow(x),n[x]);null!=w&&(t[x]=w)}for(var _=0;_<y.length;_++){var x=y[_],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 _=0;_<v.length;_++){var x=v[_],w=e.getShallow(x);null!=w&&(t[x]=w)}var k=e.getShallow("borderType");null!=k&&(t.borderDash=k),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&c&&(t.backgroundColor=c),("auto"===t.borderColor||"inherit"===t.borderColor)&&c&&(t.borderColor=c)}}function b(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 _=(0,a.Yf)();function x(t,e,n,r,o){var l=_(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.KZ:s.D)(t,{percent:1},r,e,null,function(r){var i=(0,a.pk)(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))})}}},28124:function(t,e,n){"use strict";n.d(e,{G_:()=>f,Ge:()=>u,Gk:()=>l,My:()=>c});var r=n(76109),i=n(2668),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.GM)(t.get("barWidth"),o),y=(0,i.GM)(t.get("barMaxWidth"),o),v=(0,i.GM)(t.get("barMinWidth")||((r=t).pipelineContext&&r.pipelineContext.large?.5:1),o),m=t.get("barGap"),b=t.get("barCategoryGap");n.push({bandWidth:o,barWidth:g,barMaxWidth:y,barMinWidth:v,barGap:m,barCategoryGap:b,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.GM)(l,s),c=(0,i.GM)(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}}},98650:function(t,e,n){"use strict";n.d(e,{Z:()=>f});var r=n(377),i=n(76109),o=n(72673),a=n(92638),s=n(43945),l=n(84861),u=n(80062),c=(0,l.Yf)(),h=function(t){var e;function n(e,n,r){var i=t.call(this,e,n,r)||this;return i.uid=a.Kr("ec_cpt_model"),i}return(0,r.__extends)(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=u.YD(this),r=n?u.tE(t):{},o=e.getTheme();i.merge(t,o.get(this.mainType)),i.merge(t,this.getDefaultOption()),n&&u.dt(t,r,n)},n.prototype.mergeOption=function(t,e){i.merge(this.option,t,!0);var n=u.YD(this);n&&u.dt(this.option,t,n)},n.prototype.optionUpdated=function(t,e){},n.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s.PT)(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.HZ)(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.Z);(0,s.pw)(h,o.Z),(0,s.au)(h),a.cj(h),a.jS(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.u9)(t).main}),"dataset"!==t&&0>=i.indexOf(e,"dataset")&&e.unshift("dataset"),e});let f=h},72673:function(t,e,n){"use strict";n.d(e,{Z:()=>v});var r=n(91254),i=n(43945),o=(0,n(49341).Z)([["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(27932),l=n(71839),u=["textStyle","color"],c=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],h=new l.ZP,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.qT)({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(56853),p=n(52382),g=n(76109),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.Z.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.dm)(y),(0,i.Qj)(y),(0,g.mixin)(y,d.K),(0,g.mixin)(y,p.D),(0,g.mixin)(y,a),(0,g.mixin)(y,f);let v=y},38362:function(t,e,n){"use strict";n.d(e,{Z:()=>P});var r=n(377),i=n(76109),o=n(91254),a=n(84861),s=n(98650),l=n(97962),u=n(9207),c=n(80062),h=n(74683),f=n(43945),d=n(5908),p=n(6e4),g=n(78090),y=n(29446),v=n(35065),m=n(83996),b=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(_(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.J5:p.cy,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._P)(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._P)(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.vK)(r,a,{datasetIndex:n.componentIndex}):null!=o&&(e=[(0,d.ML)(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];_(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new v.ZP).initData(new m.Pl(e,t.length),t),i[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!_(t))return(0,i.map)((0,g.JT)(t),function(t){return t.getSourceManager()});var e=(0,g.Wd)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,n,r=this._sourceHost;return _(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 _(t){return"series"===t.mainType}function x(t){throw Error(t)}var w=n(29405),S=a.Yf();function k(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.__extends)(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,h.v)({count:C,reset:E}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(S(this).sourceManager=new b(this)).prepareSource();var r=this.getInitialData(t,n);O(r,this),this.dataTask.context.data=r,S(this).dataBeforeProcessed=r,T(this),this._initSelectedMapFromData(r)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,c.YD)(this),r=n?(0,c.tE)(t):{},o=this.subType;s.Z.hasClass(o)&&(o+="Series"),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),a.Cc(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,c.dt)(t,r,n)},n.prototype.mergeOption=function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,c.YD)(this);n&&(0,c.dt)(this.option,t,n);var r=S(this).sourceManager;r.dirty(),r.prepareSource();var o=this.getInitialData(t,e);O(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,S(this).dataBeforeProcessed=o,T(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.Cc(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.jT)(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=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.TX)("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.hk)(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.hk)(c,l,h[0]),n=v.type}else o=e=p?d[0]:d;var b=(0,a.yu)(s),_=b&&s.name||"",x=c.getName(l),S=u?_:x;return(0,w.TX)("section",{header:_,noHeader:u||!b,sortParam:o,blocks:[(0,w.TX)("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.Z.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._.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=k(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[k(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=k(t,c);l[h]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(c)}}else if("single"===a||!0===a){var f=e[s-1],h=k(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.Z.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.Z);function T(t){var e,n,r,o=t.name;a.yu(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 C(t){return t.model.getRawData().count()}function E(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),A}function A(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function O(t,e){i.each(i.concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,i.curry(I,e))})}function I(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.X),i.mixin(M,l._),(0,f.pw)(M,s.Z);let P=M},9207:function(t,e,n){"use strict";n.d(e,{X:()=>s,f:()=>l});var r=n(76109),i=n(83996),o=n(32124),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.kF)(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.hk)(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.hk)(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}}},52382:function(t,e,n){"use strict";n.d(e,{D:()=>a,t:()=>i});var r=n(49341),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.Z)(i),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},56853:function(t,e,n){"use strict";n.d(e,{K:()=>a,v:()=>i});var r=n(49341),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,r.Z)(i),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},49341:function(t,e,n){"use strict";n.d(e,{Z:()=>i});var r=n(76109);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}}},97962:function(t,e,n){"use strict";n.d(e,{_:()=>a,i:()=>s});var r=n(84861),i=(0,r.Yf)(),o=(0,r.Yf)(),a=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){return l(this,i,(0,r.kF)(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.kF)(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}}},99359:function(t,e,n){"use strict";n.d(e,{N:()=>v});var r=n(8862),i=n(76109),o=n(377),a=n(86944),s=n(25479),l=n(84583),u=n(94757),c=n(54709),h=n(28988);function f(t,e,n){var r=h.qW.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.KL,"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.__extends)(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.Z(0,0,0,0);function h(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new u.Z(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.Z(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.Z(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.YV||!p)?d.getPrevPaintRect():null;g&&h(g);var y=p&&(d.__dirty&c.YV||!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.ZF)(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.RZ)(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.Z),p=n(87450),g=n(91254),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.KL,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.ap)(t,0,n),this._height=(0,s.ap)(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.Dm)(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.RV)(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.Z)(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 b=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 _=f.dpr,x=0;x<d.length;++x){var w=d[x];u.save(),u.beginPath(),u.rect(w.x*_,w.y*_,w.width*_,w.height*_),u.clip(),b(w),u.restore()}else u.save(),b(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(c=!1)}(d);return g.Z.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.Dm)(a,t,i,o),t.setPrevPaintRect(s))}else(0,l.Dm)(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.YV&&!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.ap)(i,0,r),e=(0,s.ap)(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.Dm)(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)}},72518:function(t,e,n){"use strict";n.d(e,{Z:()=>c});var r=n(377),i=n(2668),o=n(32124),a=n(12050),s=n(95514),l=i.NM,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.__extends)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.XS(t,this._extent)},e.prototype.normalize=function(t){return s.Fv(t,this._extent)},e.prototype.scale=function(t){return s.bA(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.lb(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.p8(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var r=l(t.value,n,!0);return o.OD(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.Qf(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.Z);a.Z.registerClass(u);let c=u},12050:function(t,e,n){"use strict";n.d(e,{Z:()=>o});var r=n(43945),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.au(i);let o=i},95514:function(t,e,n){"use strict";n.d(e,{Fv:()=>c,Qf:()=>o,XS:()=>u,bA:()=>h,lM:()=>i,lb:()=>s,r1:()=>a});var r=n(2668);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.kx)(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.NM)(Math.ceil(t[0]/h)*h,f),(0,r.NM)(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.xW)(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,(0,r.NM)(n*e)}function s(t){return(0,r.p8)(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]}},43945:function(t,e,n){"use strict";n.d(e,{PT:()=>l,Qj:()=>f,au:()=>g,dm:()=>u,pw:()=>c,u9:()=>s});var r=n(377),i=n(76109),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.__extends)(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]}}},92638:function(t,e,n){"use strict";n.d(e,{Kr:()=>a,ZL:()=>u,cj:()=>s,jS:()=>l});var r=n(76109),i=n(43945),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.u9)(t).main]=n},t.determineSubType=function(n,r){var o=r.type;if(!o){var a=(0,i.u9)(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)}},91738:function(t,e,n){"use strict";n.d(e,{I:()=>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(87054),s=n(76109),l=n(2668),u=n(85924),c=n(84583),h=n(28988),f=new o,d=new a.ZP(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 b=a[p[m]];if(null!=b&&!(0,s.isArray)(b)&&!(0,s.isString)(b)&&!(0,s.isNumber)(b)&&"boolean"!=typeof b){v=!1;break}g.push(b)}if(v){o=g.join(",")+(i?"-svg":"");var _=d.get(o);_&&(i?t.svgElement=_:t.image=_)}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),k=(e=x,(0,s.map)(e,function(t){return y(t)})),M=y(w),T=!i&&h.qW.createCanvas(),C=i&&{tag:"g",attrs:{},key:"dcl",children:[]},E=function(){for(var t=1,e=0,n=k.length;e<n;++e)t=(0,l.nl)(t,k[e]);for(var r=1,e=0,n=S.length;e<n;++e)r=(0,l.nl)(r,S[e].length);t*=r;var i=M*k.length*S.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}();T&&(T.width=E.width*n,T.height=E.height*n,f=T.getContext("2d")),function(){f&&(f.clearRect(0,0,T.width,T.height),a.backgroundColor&&(f.fillStyle=a.backgroundColor,f.fillRect(0,0,T.width,T.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<E.height;){if(s%2==0){for(var d=l/2%S.length,p=0,g=0,y=0;p<2*E.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,b=p+x[h][g]*m,_=o+w[s]*m,k=x[h][g]*a.symbolSize,A=w[s]*a.symbolSize,O=y/2%S[d].length;!function(t,e,o,s,l){var h=i?1:n,d=(0,u.th)(l,t*h,e*h,o*h,s*h,a.color,a.symbolKeepAspect);if(i){var p=r.painter.renderOneToVNode(d);p&&C.children.push(p)}else(0,c.RV)(f,d)}(b,_,k,A,S[d][O])}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,T||C),t.image=T,t.svgElement=C,t.svgWidth=E.width,t.svgHeight=E.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}},96372: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,{o:()=>r})},32124:function(t,e,n){"use strict";n.d(e,{A0:()=>p,Lz:()=>v,MI:()=>m,MY:()=>u,OD:()=>s,ew:()=>y,kF:()=>d,mr:()=>g,uX:()=>c,zW:()=>l});var r=n(76109),i=n(26199),o=n(2668),a=n(279);function s(t){if(!(0,o.kE)(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.sG)(t):t;if(!isNaN(+h))return(0,a.WU)(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.FK)(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.F1)(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.F1)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,i.F1)(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.sG)(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=t.replace("MM",(0,a.vk)(l,2)).replace("M",l).replace("yyyy",s).replace("yy",(0,a.vk)(s%100+"",2)).replace("dd",(0,a.vk)(u,2)).replace("d",u).replace("hh",(0,a.vk)(c,2)).replace("h",c).replace("mm",(0,a.vk)(h,2)).replace("m",h).replace("ss",(0,a.vk)(f,2)).replace("s",f).replace("SSS",(0,a.vk)(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)}},79182:function(t,e,n){"use strict";n.r(e),n.d(e,{applyTransform:()=>td,extendPath:()=>te,Line:()=>N.Z,clipRectByRect:()=>tv,Ring:()=>P.Z,traverseElements:()=>tS,RadialGradient:()=>H.Z,Ellipse:()=>I.Z,groupTransition:()=>tg,mergePath:()=>ts,Polyline:()=>R.Z,Path:()=>i.ZP,isElementRemoved:()=>X.eq,BezierCurve:()=>z.Z,Image:()=>C.ZP,initProps:()=>X.KZ,CompoundPath:()=>B.Z,OrientedBoundingRect:()=>V.Z,Circle:()=>O.Z,Text:()=>A.ZP,makePath:()=>ti,registerShape:()=>tn,makeImage:()=>to,createIcon:()=>tm,subPixelOptimizeLine:()=>tu,getTransform:()=>tf,transformDirection:()=>tp,IncrementalDisplayable:()=>q.Z,resizePath:()=>tl,Rect:()=>Z.Z,clipPointsByRect:()=>ty,getShapeClass:()=>tr,linePolygonIntersect:()=>tb,subPixelOptimizeRect:()=>tc,Arc:()=>F.Z,updateProps:()=>X.D,Sector:()=>D.C,lineLineIntersect:()=>t_,LinearGradient:()=>j.Z,Polygon:()=>L.Z,Group:()=>E.Z,Point:()=>U.Z,extendShape:()=>Q,BoundingRect:()=>W.Z,setTooltipConfig:()=>tx,subPixelOptimize:()=>th,removeElement:()=>X.bX,removeElementWithFadeOut:()=>X.XD});var r=n(377),i=n(80598),o=n(46675),a=n(19894),s=o.Z.CMD,l=[[],[],[]],u=Math.sqrt,c=Math.atan2,h=n(76109),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 b(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,b=-1*d(h)*(t-n)/2+p(h)*(e-r)/2,_=y*y/(a*a)+b*b/(s*s);_>1&&(a*=f(_),s*=f(_));var x=(i===o?-1:1)*f((a*a*(s*s)-a*a*(b*b)-s*s*(y*y))/(a*a*(b*b)+s*s*(y*y)))||0,w=x*a*b/s,S=-(x*s)*y/a,k=(t+n)/2+p(h)*w-d(h)*S,M=(e+r)/2+d(h)*w+p(h)*S,T=m([1,0],[(y-w)/a,(b-S)/s]),C=[(y-w)/a,(b-S)/s],E=[(-1*y-w)/a,(-1*b-S)/s],A=m(C,E);if(-1>=v(C,E)&&(A=g),v(C,E)>=1&&(A=0),A<0){var O=Math.round(A/g*1e6)/1e6;A=2*g+O%2*g}c.addData(u,k,M,a,s,T,A,h,o)}var _=/([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.__extends)(e,t),e.prototype.applyTransform=function(t){},e}(i.ZP);function S(t){return null!=t.setData}function k(t,e){var n=function(t){var e,n=new o.Z;if(!t)return n;var r=0,i=0,a=0,s=0,l=o.Z.CMD,u=t.match(_);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,k=void 0,M=void 0,T=void 0,C=void 0,E=r,A=i,O=void 0,I=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,O=n.len(),I=n.data,e===l.C&&(m+=r-I[O-4],w+=i-I[O-3]),d=l.C,E=p[v++],A=p[v++],r=p[v++],i=p[v++],n.addData(d,m,w,E,A,r,i);break;case"s":m=r,w=i,O=n.len(),I=n.data,e===l.C&&(m+=r-I[O-4],w+=i-I[O-3]),d=l.C,E=r+p[v++],A=i+p[v++],r+=p[v++],i+=p[v++],n.addData(d,m,w,E,A,r,i);break;case"Q":E=p[v++],A=p[v++],r=p[v++],i=p[v++],d=l.Q,n.addData(d,E,A,r,i);break;case"q":E=p[v++]+r,A=p[v++]+i,r+=p[v++],i+=p[v++],d=l.Q,n.addData(d,E,A,r,i);break;case"T":m=r,w=i,O=n.len(),I=n.data,e===l.Q&&(m+=r-I[O-4],w+=i-I[O-3]),r=p[v++],i=p[v++],d=l.Q,n.addData(d,m,w,r,i);break;case"t":m=r,w=i,O=n.len(),I=n.data,e===l.Q&&(m+=r-I[O-4],w+=i-I[O-3]),r+=p[v++],i+=p[v++],d=l.Q,n.addData(d,m,w,r,i);break;case"A":S=p[v++],k=p[v++],M=p[v++],T=p[v++],C=p[v++],E=r,A=i,r=p[v++],b(E,A,r,i=p[v++],T,C,S,k,M,d=l.A,n);break;case"a":S=p[v++],k=p[v++],M=p[v++],T=p[v++],C=p[v++],E=r,A=i,r+=p[v++],b(E,A,r,i+=p[v++],T,C,S,k,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,b=s.A,_=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 _:r=2;break;case b:var x=e[4],w=e[5],S=u(e[0]*e[0]+e[1]*e[1]),k=u(e[2]*e[2]+e[3]*e[3]),M=c(-e[1]/k,e[0]/S);d[i]*=S,d[i++]+=x,d[i]*=k,d[i++]+=w,d[i++]*=S,d[i++]*=k,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 T=l[h];T[0]=d[i++],T[1]=d[i++],(0,a.applyTransform)(T,T,e),d[o++]=T[0],d[o++]=T[1]}}t.increaseVersion()}}(n,t),this.dirtyShape()},r}var M=n(59296),T=n(68943),C=n(10781),E=n(26951),A=n(71839),O=n(497),I=n(66917),D=n(27959),P=n(45542),L=n(5227),R=n(16127),Z=n(1946),N=n(67747),z=n(49015),F=n(26449),B=n(61706),j=n(16217),H=n(7276),W=n(94757),V=n(91907),U=n(51905),q=n(2191),G=n(31719),Y=n(40312),X=n(58341),$=Math.max,K=Math.min,J={};function Q(t){return i.ZP.extend(t)}var tt=function(t,e){var n=k(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.__extends)(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(k(t,e));return n&&("center"===r&&(n=ta(n,i.getBoundingRect())),tl(i,n)),i}function to(t,e,n){var r=new C.ZP({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.ZP(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 G._3(t,t,{lineWidth:e}),t}function tc(t){return G.Pw(t.shape,t.shape,t.style),t}var th=G.vu;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=T.ZP.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,X.D)(t,r,n,(0,Y.A)(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=$(n,e.x),e.x+e.width);var r=t[1];return[n,r=K(r=$(r,e.y),e.y+e.height)]})}function tv(t,e){var n=$(t.x,e.x),r=K(t.x+t.width,e.x+e.width),i=$(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 C.ZP(r)):ti(t.replace("path://",""),r,n,"center")}function tb(t,e,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(t_(t,e,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function t_(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.A)(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=O.Z,J.ellipse=I.Z,J.sector=D.C,J.ring=P.Z,J.polygon=L.Z,J.polyline=R.Z,J.rect=Z.Z,J.line=N.Z,J.bezierCurve=z.Z,J.arc=F.Z},40312:function(t,e,n){"use strict";n.d(e,{A:()=>r,Q:()=>i});var r=(0,n(84861).Yf)(),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"})}}},80062:function(t,e,n){"use strict";n.d(e,{ME:()=>f,YD:()=>p,dt:()=>g,lq:()=>h,p$:()=>d,tE:()=>y});var r=n(76109),i=n(94757),o=n(2668),a=n(32124),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.GM)(t.left,r),l=(0,o.GM)(t.top,i),u=(0,o.GM)(t.right,r),c=(0,o.GM)(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.MY(n||0))[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}}function f(t,e,n){n=a.MY(n||0);var r=e.width,s=e.height,l=(0,o.GM)(t.left,r),u=(0,o.GM)(t.top,s),c=(0,o.GM)(t.right,r),h=(0,o.GM)(t.bottom,s),f=(0,o.GM)(t.width,r),d=(0,o.GM)(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.Z(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.Z(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")},21330:function(t,e,n){"use strict";function r(t){}function i(t){throw Error(t)}n.d(e,{Sh:()=>r,_y:()=>i})},84861:function(t,e,n){"use strict";n.d(e,{C4:()=>c,C6:()=>k,Cc:()=>l,Co:()=>h,HZ:()=>T,IL:()=>E,O0:()=>m,P$:()=>C,Td:()=>u,U5:()=>g,U9:()=>A,Yf:()=>_,ab:()=>f,gO:()=>b,iP:()=>M,kF:()=>s,lY:()=>v,pk:()=>O,pm:()=>w,yu:()=>y,zH:()=>S});var r=n(76109),i=n(91254),o=n(2668),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 k=(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,k,n);return(x||w)&&(i=M,o=t,s=k,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})})),b=M,_=(0,r.createHashMap)(),(0,r.each)(b,function(t){var e=t.existing;e&&_.set(e.id,t)}),(0,r.each)(b,function(t){var e=t.newOption;(0,r.assert)(!e||null==e.id||!_.get(e.id)||_.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&_.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,r.each)(b,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(_.get(o.id))}_.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 b(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 _(){var t="__ec_inner_"+x++;return function(e){return e[t]||(e[t]={})}}var x=(0,o.jj)();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=T(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 k={useDefault:!0,enableAll:!1,enableNone:!1},M={useDefault:!1,enableAll:!0,enableNone:!0};function T(t,e,n,i){i=i||k;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 C(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function E(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function A(t){return"auto"===t?i.Z.domSupported?"html":"richText":t||"html"}function O(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.NM)(u,s?Math.max((0,o.p8)(n||0),(0,o.p8)(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.NM)(u,s?Math.max((0,o.p8)(p),(0,o.p8)(g)):e)}}return c}},2668:function(t,e,n){"use strict";n.d(e,{FK:()=>S,GM:()=>o,M9:()=>c,NM:()=>a,NU:()=>i,S$:()=>f,VR:()=>x,Xd:()=>m,YM:()=>d,ZB:()=>u,dt:()=>s,eJ:()=>h,jj:()=>M,kE:()=>k,kx:()=>_,mW:()=>g,nR:()=>w,nl:()=>T,p8:()=>l,sG:()=>v,wW:()=>p,xW:()=>b});var r=n(76109);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,b(t))}function b(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 _(t,e){var n=b(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 k(t){return!isNaN(S(t))}function M(){return Math.round(9*Math.random())}function T(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)}},4418:function(t,e,n){"use strict";n.d(e,{$l:()=>G,Av:()=>tn,C5:()=>K,CX:()=>f,Hg:()=>b,Ib:()=>tt,JQ:()=>_,Ki:()=>v,L1:()=>p,MA:()=>D,Mh:()=>Z,Nj:()=>te,RW:()=>tr,SJ:()=>B,SX:()=>N,T5:()=>H,UL:()=>U,VP:()=>z,XX:()=>F,aG:()=>ti,ci:()=>$,e9:()=>ta,fD:()=>R,iK:()=>x,k5:()=>Q,oJ:()=>q,og:()=>X,qc:()=>g,vF:()=>J,wU:()=>d,xp:()=>to,xr:()=>Y,yx:()=>m,zI:()=>V,zr:()=>y});var r=n(76109),i=n(40312),o=n(41420),a=n(84861),s=n(80598),l=1,u={},c=(0,a.Yf)(),h=(0,a.Yf)(),f=1,d=2,p=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],y=10,v="highlight",m="downplay",b="select",_="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 k(t){S(t,"emphasis",d)}function M(t){t.hoverState===d&&S(t,"normal",0)}function T(t){S(t,"blur",f)}function C(t){t.hoverState===f&&S(t,"normal",0)}function E(t){t.selected=!0}function A(t){t.selected=!1}function O(t,e,n){e(t,n),t.isGroup&&t.traverse(function(t){e(t,n)})}function I(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.ZP){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=I;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=I),n&&(n.stateProxy=I)}function P(t,e){j(t,e)||t.__highByOuter||O(t,k)}function L(t,e){j(t,e)||t.__highByOuter||O(t,M)}function R(t,e){t.__highByOuter|=1<<(e||0),O(t,k)}function Z(t,e){(t.__highByOuter&=~(1<<(e||0)))||O(t,M)}function N(t){O(t,T)}function z(t){O(t,C)}function F(t){O(t,E)}function B(t){O(t,A)}function j(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function H(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){C(t)}),a&&n.push(r)),o.isBlured=!1}),(0,r.each)(i,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function W(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&&z(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||T(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 V(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){T(t)})}}}function U(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.gO)(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.A)(u);W(o,f.focus,f.blurScope,n)}else{var d=t.get(["emphasis","focus"]),p=t.get(["emphasis","blurScope"]);null!=d&&W(o,d,p,n)}}}function q(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.A)(u[c]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function G(t,e,n){var o=(0,i.A)(t),a=q(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&V(o.componentMainType,o.componentIndex,n),(0,r.each)(s,function(t){return P(t,e)})):(W(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&V(o.componentMainType,o.componentIndex,n),P(t,e))}function Y(t,e,n){H(n);var o=(0,i.A)(t),a=q(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,r.each)(a,function(t){return L(t,e)}):L(t,e)}function X(t,e,n){if(ti(e)){var i=e.dataType,o=t.getData(i),s=(0,a.gO)(o,e);(0,r.isArray)(s)||(s=[s]),t[e.type===x?"toggleSelect":e.type===b?"select":"unselect"](s,i)}}function $(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)?F(e):B(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),O(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.A)(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===b||e===_||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}},85924:function(t,e,n){"use strict";n.d(e,{Cq:()=>w,Pw:()=>m,th:()=>x});var r=n(76109),i=n(80598),o=n(67747),a=n(1946),s=n(497),l=n(79182),u=n(94757),c=n(95260),h=n(2668),f=i.ZP.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.ZP.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.ZP.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.ZP.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.Z,rect:a.Z,roundRect:a.Z,square:a.Z,circle:s.Z,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 b=i.ZP.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var r=(0,c.wI)(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 _(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.Z(e,n,r,i),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.Z(e,n,r,i),a?"center":"cover"):new b({shape:{symbolType:t,x:e,y:n,width:r,height:i}})).__isEmptyBrush=c,s.setColor=_,o&&s.setColor(o),s}function w(t,e){if(null!=t)return(0,r.isArray)(t)||(t=[t,t]),[(0,h.GM)(t[0],e[0])||0,(0,h.GM)((0,r.retrieve2)(t[1],t[0]),e[1])||0]}},91593:function(t,e,n){"use strict";n.d(e,{P2:()=>a,T9:()=>s,ZH:()=>l});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])}},279:function(t,e,n){"use strict";n.d(e,{$K:()=>b,CW:()=>T,En:()=>R,FW:()=>y,MV:()=>O,P5:()=>h,RZ:()=>I,Tj:()=>m,V8:()=>p,WT:()=>s,WU:()=>x,Wp:()=>E,cb:()=>z,dV:()=>u,eN:()=>Z,f5:()=>L,fn:()=>A,k7:()=>w,q5:()=>k,rM:()=>N,s2:()=>c,sx:()=>M,vh:()=>P,vk:()=>v,xC:()=>_,xL:()=>D,xz:()=>C,yR:()=>l});var r=n(76109),i=n(2668),o=n(43288),a=n(72673),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 b(t){return t===m(t)}function _(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.sG(t),l=s[M(n)](),u=s[T(n)]()+1,c=Math.floor((u-1)/3)+1,h=s[C(n)](),f=s["get"+(n?"UTC":"")+"Day"](),d=s[E(n)](),p=(d-1)%12+1,g=s[A(n)](),y=s[O(n)](),m=s[I(n)](),b=d>=12?"pm":"am",_=b.toUpperCase(),x=(r instanceof a.Z?r:(0,o.G8)(r||o.sO)||(0,o.Li)()).getModel("time"),w=x.get("month"),S=x.get("monthAbbr"),k=x.get("dayOfWeek"),D=x.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,b+"").replace(/{A}/g,_+"").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,k[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.sG(t),r=n[T(e)]()+1,o=n[C(e)](),a=n[E(e)](),s=n[A(e)](),l=n[O(e)](),u=0===n[I(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 k(t,e,n){var o=r.isNumber(t)?i.sG(t):t;switch(e=e||S(t,n)){case"year":return o[M(n)]();case"half-year":return+(o[T(n)]()>=6);case"quarter":return Math.floor((o[T(n)]()+1)/4);case"month":return o[T(n)]();case"day":return o[C(n)]();case"half-day":return o[E(n)]()/24;case"hour":return o[E(n)]();case"minute":return o[A(n)]();case"second":return o[O(n)]();case"millisecond":return o[I(n)]()}}function M(t){return t?"getUTCFullYear":"getFullYear"}function T(t){return t?"getUTCMonth":"getMonth"}function C(t){return t?"getUTCDate":"getDate"}function E(t){return t?"getUTCHours":"getHours"}function A(t){return t?"getUTCMinutes":"getMinutes"}function O(t){return t?"getUTCSeconds":"getSeconds"}function I(t){return t?"getUTCMilliseconds":"getMilliseconds"}function D(t){return t?"setUTCFullYear":"setFullYear"}function P(t){return t?"setUTCMonth":"setMonth"}function L(t){return t?"setUTCDate":"setDate"}function R(t){return t?"setUTCHours":"setHours"}function Z(t){return t?"setUTCMinutes":"setMinutes"}function N(t){return t?"setUTCSeconds":"setSeconds"}function z(t){return t?"setUTCMilliseconds":"setMilliseconds"}},6e4:function(t,e,n){"use strict";n.d(e,{J5:()=>l,RA:()=>u,Wc:()=>h,XD:()=>o,cy:()=>i,f7:()=>r,fY:()=>c,hL:()=>s,qb:()=>a});var r=(0,n(76109).createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),i="original",o="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",u="unknown",c="column",h="row"},94541:function(t,e,n){"use strict";n.d(e,{Z:()=>_});var r,i=n(76109),o=n(26951),a=n(92638),s=n(43945),l=n(84861),u=n(4418),c=n(74683),h=n(79182),f=l.Yf(),d=(r=(0,l.Yf)(),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.Z,this.uid=a.Kr("viewChart"),this.renderTask=(0,c.v)({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.Av)(t)&&("emphasis"===e?u.fD:u.Mh)(t,n)}function y(t,e,n){var r=l.gO(t,e),o=e&&null!=e.highlightKey?(0,u.RW)(e.highlightKey):null;null!=r?(0,i.each)(l.kF(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),b[l]}s.dm(p,["dispose"]),s.au(p);var b={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 _=p},80224:function(t,e,n){"use strict";n.d(e,{Z:()=>s});var r=n(26951),i=n(92638),o=n(43945),a=function(){function t(){this.group=new r.Z,this.uid=i.Kr("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.dm(a),o.au(a);let s=a},26440:function(t,e,n){"use strict";n.d(e,{sk:()=>U,Qc:()=>V,Vq:()=>_,Y3:()=>z});let r=Object.create(null);r.open="0",r.close="1",r.ping="2",r.pong="3",r.message="4",r.upgrade="5",r.noop="6";let i=Object.create(null);Object.keys(r).forEach(t=>{i[r[t]]=t});let o={type:"error",data:"parser error"},a="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),s="function"==typeof ArrayBuffer,l=(t,e)=>{let n=new FileReader;return n.onload=function(){e("b"+(n.result.split(",")[1]||""))},n.readAsDataURL(t)},u=({type:t,data:e},n,i)=>{if(a&&e instanceof Blob)if(n)return i(e);else return l(e,i);if(s&&(e instanceof ArrayBuffer||("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer)))if(n)return i(e);else return l(new Blob([e]),i);return i(r[t]+(e||""))},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let t=0;t<c.length;t++)h[c.charCodeAt(t)]=t;let f="function"==typeof ArrayBuffer,d=(t,e)=>"blob"===e&&t instanceof ArrayBuffer?new Blob([t]):t,p=(t,e)=>{let n,r;if("string"!=typeof t)return{type:"message",data:d(t,e)};let a=t.charAt(0);return"b"===a?{type:"message",data:(n=t.substring(1),r=e,f?d((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=h[t.charCodeAt(r)],a=h[t.charCodeAt(r+1)],s=h[t.charCodeAt(r+2)],l=h[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})(n),r):{base64:!0,data:n})}:i[a]?t.length>1?{type:i[a],data:t.substring(1)}:{type:i[a]}:o};var g=n(66403);let y="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function v(t,...e){return e.reduce((e,n)=>(t.hasOwnProperty(n)&&(e[n]=t[n]),e),{})}let m=y.setTimeout,b=y.clearTimeout;function _(t,e){e.useNativeTimers?(t.setTimeoutFn=m.bind(y),t.clearTimeoutFn=b.bind(y)):(t.setTimeoutFn=y.setTimeout.bind(y),t.clearTimeoutFn=y.clearTimeout.bind(y))}class x extends Error{constructor(t,e,n){super(t),this.description=e,this.context=n,this.type="TransportError"}}class w extends g.Q{constructor(t){super(),this.writable=!1,_(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,e,n){return super.emitReserved("error",new x(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=p(t,this.socket.binaryType);this.onPacket(e)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}}let S="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),k={},M=0,T=0,C;function E(t){let e="";do e=S[t%64]+e,t=Math.floor(t/64);while(t>0);return e}function A(){let t=E(+new Date);return t!==C?(M=0,C=t):t+"."+E(M++)}for(;T<64;T++)k[S[T]]=T;function O(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}let I=!1;try{I="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){}let D=I;function P(t){let e=t.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!e||D))return new XMLHttpRequest}catch(t){}if(!e)try{return new y[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(t){}}function L(){}let R=null!=new P({xdomain:!1}).responseType;class Z extends g.Q{constructor(t,e){super(),_(this,e),this.opts=e,this.method=e.method||"GET",this.uri=t,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.create()}create(){let t=v(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;let e=this.xhr=new P(t);try{e.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders)for(let t in e.setDisableHeaderCheck&&e.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(t)&&e.setRequestHeader(t,this.opts.extraHeaders[t])}catch(t){}if("POST"===this.method)try{e.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(t){}try{e.setRequestHeader("Accept","*/*")}catch(t){}"withCredentials"in e&&(e.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(e.timeout=this.opts.requestTimeout),e.onreadystatechange=()=>{4===e.readyState&&(200===e.status||1223===e.status?this.onLoad():this.setTimeoutFn(()=>{this.onError("number"==typeof e.status?e.status:0)},0))},e.send(this.data)}catch(t){this.setTimeoutFn(()=>{this.onError(t)},0);return}"undefined"!=typeof document&&(this.index=Z.requestsCount++,Z.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=L,t)try{this.xhr.abort()}catch(t){}"undefined"!=typeof document&&delete Z.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 N(){for(let t in Z.requests)Z.requests.hasOwnProperty(t)&&Z.requests[t].abort()}Z.requestsCount=0,Z.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",N):"function"==typeof addEventListener&&addEventListener("onpagehide"in y?"pagehide":"unload",N,!1));let z="function"==typeof Promise&&"function"==typeof Promise.resolve?t=>Promise.resolve().then(t):(t,e)=>e(t,0),F=y.WebSocket||y.MozWebSocket;n(57861).Buffer;let B="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),j={websocket:class extends w{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;let t=this.uri(),e=this.opts.protocols,n=B?{}:v(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=B?new F(t,e,n):e?new F(t,e):new F(t)}catch(t){return this.emitReserved("error",t)}this.ws.binaryType=this.socket.binaryType||"arraybuffer",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;u(n,this.supportsBinary,t=>{try{this.ws.send(t)}catch(t){}r&&z(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{},e=this.opts.secure?"wss":"ws",n="";this.opts.port&&("wss"===e&&443!==Number(this.opts.port)||"ws"===e&&80!==Number(this.opts.port))&&(n=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=A()),this.supportsBinary||(t.b64=1);let r=O(t);return e+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+(r.length?"?"+r:"")}check(){return!!F}},polling:class extends w{constructor(t){if(super(t),this.polling=!1,"undefined"!=typeof location){let e="https:"===location.protocol,n=location.port;n||(n=e?"443":"80"),this.xd="undefined"!=typeof location&&t.hostname!==location.hostname||n!==t.port,this.xs=t.secure!==e}let e=t&&t.forceBase64;this.supportsBinary=R&&!e}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=p(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){this.writable=!1,((t,e)=>{let n=t.length,r=Array(n),i=0;t.forEach((t,o)=>{u(t,!1,t=>{r[o]=t,++i===n&&e(r.join("\x1e"))})})})(t,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{},e=this.opts.secure?"https":"http",n="";!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=A()),this.supportsBinary||t.sid||(t.b64=1),this.opts.port&&("https"===e&&443!==Number(this.opts.port)||"http"===e&&80!==Number(this.opts.port))&&(n=":"+this.opts.port);let r=O(t);return e+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+(r.length?"?"+r:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new Z(this.uri(),t)}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}}},H=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,W=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function V(t){let e=t,n=t.indexOf("["),r=t.indexOf("]");-1!=n&&-1!=r&&(t=t.substring(0,n)+t.substring(n,r).replace(/:/g,";")+t.substring(r,t.length));let i=H.exec(t||""),o={},a=14;for(;a--;)o[W[a]]=i[a]||"";return -1!=n&&-1!=r&&(o.source=e,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=function(t,e){let n=e.replace(/\/{2,9}/g,"/").split("/");return("/"==e.slice(0,1)||0===e.length)&&n.splice(0,1),"/"==e.slice(-1)&&n.splice(n.length-1,1),n}(0,o.path),o.queryKey=function(t,e){let n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(t,e,r){e&&(n[e]=r)}),n}(0,o.query),o}class U extends g.Q{constructor(t,e={}){super(),this.writeBuffer=[],t&&"object"==typeof t&&(e=t,t=null),t?(t=V(t),e.hostname=t.host,e.secure="https"===t.protocol||"wss"===t.protocol,e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=V(e.host).host),_(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=e.transports||["polling","websocket"],this.writeBuffer=[],this.prevBufferLen=0,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:!0},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.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(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"})},addEventListener("offline",this.offlineEventListener,!1))),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.transportOptions[t],this.opts,{query:e,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new j[t](n)}open(){let t;if(this.opts.rememberUpgrade&&U.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(t){this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}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))}probe(t){let e=this.createTransport(t),n=!1;U.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;U.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),e.open()}onOpen(){if(this.readyState="open",U.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let t=0,e=this.upgrades.length;for(;t<e;t++)this.probe(this.upgrades[t])}}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.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");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.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.maxPayload=t.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),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}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){U.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,e){("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,e),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){let e=[],n=0,r=t.length;for(;n<r;n++)~this.transports.indexOf(t[n])&&e.push(t[n]);return e}}U.protocol=4,U.protocol},46560:function(t,e,n){"use strict";n.d(e,{v:()=>te});var r={};n.r(r),n.d(r,{boolean:()=>y,booleanish:()=>v,commaOrSpaceSeparated:()=>w,commaSeparated:()=>x,number:()=>b,overloadedBoolean:()=>m,spaceSeparated:()=>_});var i=n(22294);let o=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s={};function l(t,e){return((e||s).jsx?a:o).test(t)}let u=/[ \t\n\f\r]/g;function c(t){return""===t.replace(u,"")}class h{constructor(t,e,n){this.property=t,this.normal=e,n&&(this.space=n)}}function f(t,e){let n={},r={},i=-1;for(;++i<t.length;)Object.assign(n,t[i].property),Object.assign(r,t[i].normal);return new h(n,r,e)}function d(t){return t.toLowerCase()}h.prototype.property={},h.prototype.normal={},h.prototype.space=null;class p{constructor(t,e){this.property=t,this.attribute=e}}p.prototype.space=null,p.prototype.boolean=!1,p.prototype.booleanish=!1,p.prototype.overloadedBoolean=!1,p.prototype.number=!1,p.prototype.commaSeparated=!1,p.prototype.spaceSeparated=!1,p.prototype.commaOrSpaceSeparated=!1,p.prototype.mustUseProperty=!1,p.prototype.defined=!1;let g=0,y=S(),v=S(),m=S(),b=S(),_=S(),x=S(),w=S();function S(){return 2**++g}let k=Object.keys(r);class M extends p{constructor(t,e,n,i){let o=-1;if(super(t,e),function(t,e,n){n&&(t[e]=n)}(this,"space",i),"number"==typeof n)for(;++o<k.length;){let t=k[o];!function(t,e,n){n&&(t[e]=n)}(this,k[o],(n&r[t])===r[t])}}}M.prototype.defined=!0;let T={}.hasOwnProperty;function C(t){let e,n={},r={};for(e in t.properties)if(T.call(t.properties,e)){let i=t.properties[e],o=new M(e,t.transform(t.attributes||{},e),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(e)&&(o.mustUseProperty=!0),n[e]=o,r[d(e)]=e,r[d(o.attribute)]=e}return new h(n,r,t.space)}let E=C({space:"xlink",transform:(t,e)=>"xlink:"+e.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),A=C({space:"xml",transform:(t,e)=>"xml:"+e.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function O(t,e){return e in t?t[e]:e}function I(t,e){return O(t,e.toLowerCase())}let D=C({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:I,properties:{xmlns:null,xmlnsXLink:null}}),P=C({transform:(t,e)=>"role"===e?e:"aria-"+e.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:_,ariaCurrent:null,ariaDescribedBy:_,ariaDetails:null,ariaDisabled:v,ariaDropEffect:_,ariaErrorMessage:null,ariaExpanded:v,ariaFlowTo:_,ariaGrabbed:v,ariaHasPopup:null,ariaHidden:v,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:_,ariaLevel:b,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:_,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:_,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:v,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null}}),L=C({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:I,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:x,acceptCharset:_,accessKey:_,action:null,allow:null,allowFullScreen:y,allowPaymentRequest:y,allowUserMedia:y,alt:null,as:null,async:y,autoCapitalize:null,autoComplete:_,autoFocus:y,autoPlay:y,blocking:_,capture:null,charSet:null,checked:y,cite:null,className:_,cols:b,colSpan:null,content:null,contentEditable:v,controls:y,controlsList:_,coords:b|x,crossOrigin:null,data:null,dateTime:null,decoding:null,default:y,defer:y,dir:null,dirName:null,disabled:y,download:m,draggable:v,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:y,formTarget:null,headers:_,height:b,hidden:y,high:b,href:null,hrefLang:null,htmlFor:_,httpEquiv:_,id:null,imageSizes:null,imageSrcSet:null,inert:y,inputMode:null,integrity:null,is:null,isMap:y,itemId:null,itemProp:_,itemRef:_,itemScope:y,itemType:_,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:y,low:b,manifest:null,max:null,maxLength:b,media:null,method:null,min:null,minLength:b,multiple:y,muted:y,name:null,nonce:null,noModule:y,noValidate:y,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:y,optimum:b,pattern:null,ping:_,placeholder:null,playsInline:y,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:y,referrerPolicy:null,rel:_,required:y,reversed:y,rows:b,rowSpan:b,sandbox:_,scope:null,scoped:y,seamless:y,selected:y,shadowRootClonable:y,shadowRootDelegatesFocus:y,shadowRootMode:null,shape:null,size:b,sizes:null,slot:null,span:b,spellCheck:v,src:null,srcDoc:null,srcLang:null,srcSet:null,start:b,step:null,style:null,tabIndex:b,target:null,title:null,translate:null,type:null,typeMustMatch:y,useMap:null,value:v,width:b,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:_,axis:null,background:null,bgColor:null,border:b,borderColor:null,bottomMargin:b,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:y,declare:y,event:null,face:null,frame:null,frameBorder:null,hSpace:b,leftMargin:b,link:null,longDesc:null,lowSrc:null,marginHeight:b,marginWidth:b,noResize:y,noHref:y,noShade:y,noWrap:y,object:null,profile:null,prompt:null,rev:null,rightMargin:b,rules:null,scheme:null,scrolling:v,standby:null,summary:null,text:null,topMargin:b,valueType:null,version:null,vAlign:null,vLink:null,vSpace:b,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:y,disableRemotePlayback:y,prefix:null,property:null,results:b,security:null,unselectable:null}}),R=C({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:O,properties:{about:w,accentHeight:b,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:b,amplitude:b,arabicForm:null,ascent:b,attributeName:null,attributeType:null,azimuth:b,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:b,by:null,calcMode:null,capHeight:b,className:_,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:b,diffuseConstant:b,direction:null,display:null,dur:null,divisor:b,dominantBaseline:null,download:y,dx:null,dy:null,edgeMode:null,editable:null,elevation:b,enableBackground:null,end:null,event:null,exponent:b,externalResourcesRequired:null,fill:null,fillOpacity:b,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:x,g2:x,glyphName:x,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:b,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:b,horizOriginX:b,horizOriginY:b,id:null,ideographic:b,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:b,k:b,k1:b,k2:b,k3:b,k4:b,kernelMatrix:w,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:b,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:b,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:b,overlineThickness:b,paintOrder:null,panose1:null,path:null,pathLength:b,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:_,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:b,pointsAtY:b,pointsAtZ:b,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:w,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:w,rev:w,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:w,requiredFeatures:w,requiredFonts:w,requiredFormats:w,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:b,specularExponent:b,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:b,strikethroughThickness:b,string:null,stroke:null,strokeDashArray:w,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:b,strokeOpacity:b,strokeWidth:null,style:null,surfaceScale:b,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:w,tabIndex:b,tableValues:null,target:null,targetX:b,targetY:b,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:w,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:b,underlineThickness:b,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:b,values:null,vAlphabetic:b,vMathematical:b,vectorEffect:null,vHanging:b,vIdeographic:b,version:null,vertAdvY:b,vertOriginX:b,vertOriginY:b,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:b,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Z=f([A,E,D,P,L],"html"),N=f([A,E,D,P,R],"svg"),z=/^data[-\w.:]+$/i,F=/-[a-z]/g,B=/[A-Z]/g;function j(t){return"-"+t.toLowerCase()}function H(t){return t.charAt(1).toUpperCase()}let W={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var V=n(53637);let U=V.default||V;var q=n(71779),G=n(64835);let Y={}.hasOwnProperty,X=new Map,$=/[A-Z]/g,K=/-([a-z])/g,J=new Set(["table","tbody","thead","tfoot","tr"]),Q=new Set(["td","th"]),tt="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function te(t,e){var n,r,i,o;let a;if(!e||void 0===e.Fragment)throw TypeError("Expected `Fragment` in options");let s=e.filePath||void 0;if(e.development){if("function"!=typeof e.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=s,r=e.jsxDEV,a=function(t,e,i,o){let a=Array.isArray(i.children),s=(0,q.Pk)(t);return r(e,i,o,a,{columnNumber:s?s.column-1:void 0,fileName:n,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof e.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof e.jsxs)throw TypeError("Expected `jsxs` in production options");i=e.jsx,o=e.jsxs,a=function(t,e,n,r){let a=Array.isArray(n.children)?o:i;return r?a(e,n,r):a(e,n)}}let l={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:a,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:s,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:!1!==e.passKeys,passNode:e.passNode||!1,schema:"svg"===e.space?N:Z,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==e.tableCellAlignToStyle},u=tn(l,t,void 0);return u&&"string"!=typeof u?u:l.create(t,l.Fragment,{children:u||void 0},void 0)}function tn(t,e,n){return"element"===e.type?function(t,e,n){let r=t.schema;"svg"===e.tagName.toLowerCase()&&"html"===r.space&&(t.schema=N),t.ancestors.push(e);let i=ta(t,e.tagName,!1),o=function(t,e){let n,r,i={};for(r in e.properties)if("children"!==r&&Y.call(e.properties,r)){let o=function(t,e,n){let r=function(t,e){let n=d(e),r=e,i=p;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&z.test(e)){if("-"===e.charAt(4)){let t=e.slice(5).replace(F,H);r="data"+t.charAt(0).toUpperCase()+t.slice(1)}else{let t=e.slice(4);if(!F.test(t)){let n=t.replace(B,j);"-"!==n.charAt(0)&&(n="-"+n),e="data"+n}}i=M}return new i(r,e)}(t.schema,e);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(t,e){let n={};return(""===t[t.length-1]?[...t,""]:t).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let e="object"==typeof n?n:function(t,e){let n={};try{U(e,function(t,e){let r=t;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(K,tl)),n[r]=e})}catch(e){if(!t.ignoreInvalidStyle){let n=new G.$("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:e,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=t.filePath||void 0,n.url=tt+"#cannot-parse-style-attribute",n}}return n}(t,String(n));return"css"===t.stylePropertyNameCase&&(e=function(t){let e,n={};for(e in t)Y.call(t,e)&&(n[function(t){let e=t.replace($,tu);return"ms-"===e.slice(0,3)&&(e="-"+e),e}(e)]=t[e]);return n}(e)),["style",e]}return["react"===t.elementAttributeNameCase&&r.space?W[r.property]||r.property:r.attribute,n]}}(t,r,e.properties[r]);if(o){let[r,a]=o;t.tableCellAlignToStyle&&"align"===r&&"string"==typeof a&&Q.has(e.tagName)?n=a:i[r]=a}}return n&&((i.style||(i.style={}))["css"===t.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(t,e),a=to(t,e);return J.has(e.tagName)&&(a=a.filter(function(t){return"string"!=typeof t||!("object"==typeof t?"text"===t.type&&c(t.value):c(t))})),tr(t,o,i,e),ti(o,a),t.ancestors.pop(),t.schema=r,t.create(e,i,o,n)}(t,e,n):"mdxFlowExpression"===e.type||"mdxTextExpression"===e.type?function(t,e){if(e.data&&e.data.estree&&t.evaluater){let n=e.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===n.type),t.evaluater.evaluateExpression(n.expression)}ts(t,e.position)}(t,e):"mdxJsxFlowElement"===e.type||"mdxJsxTextElement"===e.type?function(t,e,n){let r=t.schema;"svg"===e.name&&"html"===r.space&&(t.schema=N),t.ancestors.push(e);let o=null===e.name?t.Fragment:ta(t,e.name,!0),a=function(t,e){let n={};for(let r of e.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&t.evaluater){let e=r.data.estree.body[0];(0,i.ok)("ExpressionStatement"===e.type);let o=e.expression;(0,i.ok)("ObjectExpression"===o.type);let a=o.properties[0];(0,i.ok)("SpreadElement"===a.type),Object.assign(n,t.evaluater.evaluateExpression(a.argument))}else ts(t,e.position);else{let o,a=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&t.evaluater){let e=r.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===e.type),o=t.evaluater.evaluateExpression(e.expression)}else ts(t,e.position);else o=null===r.value||r.value;n[a]=o}return n}(t,e),s=to(t,e);return tr(t,a,o,e),ti(a,s),t.ancestors.pop(),t.schema=r,t.create(e,o,a,n)}(t,e,n):"mdxjsEsm"===e.type?function(t,e){if(e.data&&e.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(e.data.estree);ts(t,e.position)}(t,e):"root"===e.type?function(t,e,n){let r={};return ti(r,to(t,e)),t.create(e,t.Fragment,r,n)}(t,e,n):"text"===e.type?e.value:void 0}function tr(t,e,n,r){"string"!=typeof n&&n!==t.Fragment&&t.passNode&&(e.node=r)}function ti(t,e){if(e.length>0){let n=e.length>1?e:e[0];n&&(t.children=n)}}function to(t,e){let n=[],r=-1,i=t.passKeys?new Map:X;for(;++r<e.children.length;){let o,a=e.children[r];if(t.passKeys){let t="element"===a.type?a.tagName:"mdxJsxFlowElement"===a.type||"mdxJsxTextElement"===a.type?a.name:void 0;if(t){let e=i.get(t)||0;o=t+"-"+e,i.set(t,e+1)}}let s=tn(t,a,o);void 0!==s&&n.push(s)}return n}function ta(t,e,n){let r;if(n)if(e.includes(".")){let t,n=e.split("."),o=-1;for(;++o<n.length;){let e=l(n[o])?{type:"Identifier",name:n[o]}:{type:"Literal",value:n[o]};t=t?{type:"MemberExpression",object:t,property:e,computed:!!(o&&"Literal"===e.type),optional:!1}:e}(0,i.ok)(t,"always a result"),r=t}else r=l(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};else r={type:"Literal",value:e};if("Literal"===r.type){let e=r.value;return Y.call(t.components,e)?t.components[e]:e}if(t.evaluater)return t.evaluater.evaluateExpression(r);ts(t)}function ts(t,e){let n=new G.$("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=t.filePath||void 0,n.url=tt+"#cannot-handle-mdx-estrees-without-createevaluater",n}function tl(t,e){return e.toUpperCase()}function tu(t){return"-"+t.toLowerCase()}},2593:function(t,e,n){"use strict";n.d(e,{w:()=>r});let r={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]}},71816:function(t,e,n){"use strict";n.d(e,{V:()=>tk});var r={};n.r(r),n.d(r,{attentionMarkers:()=>ty,contentInitial:()=>tc,disable:()=>tv,document:()=>tu,flow:()=>tf,flowInitial:()=>th,insideSpan:()=>tg,string:()=>td,text:()=>tp});let i={};function o(t,e,n){var r;if((r=t)&&"object"==typeof r){if("value"in t)return"html"!==t.type||n?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return a(t.children,e,n)}return Array.isArray(t)?a(t,e,n):""}function a(t,e,n){let r=[],i=-1;for(;++i<t.length;)r[i]=o(t[i],e,n);return r.join("")}function s(t,e,n,r){let i,o=t.length,a=0;if(e=e<0?-e>o?0:o+e:e>o?o:e,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(e,n),t.splice(...i);else for(n&&t.splice(e,n);a<r.length;)(i=r.slice(a,a+1e4)).unshift(e,0),t.splice(...i),a+=1e4,e+=1e4}function l(t,e){return t.length>0?(s(t,t.length,0,e),t):e}class u{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,e){let n=null==e?1/0:e;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,e,n){this.setCursor(Math.trunc(t));let r=this.right.splice(this.right.length-(e||0),1/0);return n&&c(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(t){this.setCursor(1/0),this.left.push(t)}pushMany(t){this.setCursor(1/0),c(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),c(this.right,t.reverse())}setCursor(t){if(t!==this.left.length&&(!(t>this.left.length)||0!==this.right.length)&&(!(t<0)||0!==this.left.length))if(t<this.left.length){let e=this.left.splice(t,1/0);c(this.right,e.reverse())}else{let e=this.right.splice(this.left.length+this.right.length-t,1/0);c(this.left,e.reverse())}}}function c(t,e){let n=0;if(e.length<1e4)t.push(...e);else for(;n<e.length;)t.push(...e.slice(n,n+1e4)),n+=1e4}function h(t){let e,n,r,i,o,a,l,c={},h=-1,f=new u(t);for(;++h<f.length;){for(;h in c;)h=c[h];if(e=f.get(h),h&&"chunkFlow"===e[1].type&&"listItemPrefix"===f.get(h-1)[1].type&&((r=0)<(a=e[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===e[0])e[1].contentType&&(Object.assign(c,function(t,e){let n,r,i=t.get(e)[1],o=t.get(e)[2],a=e-1,s=[],l=i._tokenizer||o.parser[i.contentType](i.start),u=l.events,c=[],h={},f=-1,d=i,p=0,g=0,y=[0];for(;d;){for(;t.get(++a)[1]!==d;);s.push(a),!d._tokenizer&&(n=o.sliceStream(d),d.next||n.push(null),r&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=i;++f<u.length;)"exit"===u[f][0]&&"enter"===u[f-1][0]&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(g=f+1,y.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),f=y.length;f--;){let e=u.slice(y[f],y[f+1]),n=s.pop();c.push([n,n+e.length-1]),t.splice(n,2,e)}for(c.reverse(),f=-1;++f<c.length;)h[p+c[f][0]]=p+c[f][1],p+=c[f][1]-c[f][0]-1;return h}(f,h)),h=c[h],l=!0);else if(e[1]._container){for(r=h,n=void 0;r--;)if("lineEnding"===(i=f.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(f.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else break;n&&(e[1].end={...f.get(n)[1].start},(o=f.slice(n,h)).unshift(e),f.splice(n,h-n+1,o))}}return s(t,0,1/0,f.slice(0)),!l}let f={}.hasOwnProperty;var d=n(47322);function p(t,e,n,r){let i=r?r-1:1/0,o=0;return function(r){return(0,d.xz)(r)?(t.enter(n),function r(a){return(0,d.xz)(a)&&o++<i?(t.consume(a),r):(t.exit(n),e(a))}(r)):e(r)}}let g={tokenize:function(t){let e,n=t.attempt(this.parser.constructs.contentInitial,function(e){return null===e?void t.consume(e):(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),p(t,n,"linePrefix"))},function(n){return t.enter("paragraph"),function n(r){let i=t.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=i),e=i,function e(r){if(null===r){t.exit("chunkText"),t.exit("paragraph"),t.consume(r);return}return(0,d.Ch)(r)?(t.consume(r),t.exit("chunkText"),n):(t.consume(r),e)}(r)}(n)});return n}},y={tokenize:function(t){let e,n,r,i=this,o=[],a=0;return l;function l(e){if(a<o.length){let n=o[a];return i.containerState=n[1],t.attempt(n[0].continuation,u,c)(e)}return c(e)}function u(t){if(a++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,e&&_();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}b(a);let l=r;for(;l<i.events.length;)i.events[l][1].end={...n},l++;return s(i.events,o+1,0,i.events.slice(r)),i.events.length=l,c(t)}return l(t)}function c(n){if(a===o.length){if(!e)return p(n);if(e.currentConstruct&&e.currentConstruct.concrete)return y(n);i.interrupt=!!(e.currentConstruct&&!e._gfmTableDynamicInterruptHack)}return i.containerState={},t.check(v,h,f)(n)}function h(t){return e&&_(),b(a),p(t)}function f(t){return i.parser.lazy[i.now().line]=a!==o.length,r=i.now().offset,y(t)}function p(e){return i.containerState={},t.attempt(v,g,y)(e)}function g(t){return a++,o.push([i.currentConstruct,i.containerState]),p(t)}function y(r){if(null===r){e&&_(),b(0),t.consume(r);return}return e=e||i.parser.flow(i.now()),t.enter("chunkFlow",{_tokenizer:e,contentType:"flow",previous:n}),function e(n){if(null===n){m(t.exit("chunkFlow"),!0),b(0),t.consume(n);return}return(0,d.Ch)(n)?(t.consume(n),m(t.exit("chunkFlow")),a=0,i.interrupt=void 0,l):(t.consume(n),e)}(r)}function m(t,o){let l=i.sliceStream(t);if(o&&l.push(null),t.previous=n,n&&(n.next=t),n=t,e.defineSkip(t.start),e.write(l),i.parser.lazy[t.start.line]){let t,n,o=e.events.length;for(;o--;)if(e.events[o][1].start.offset<r&&(!e.events[o][1].end||e.events[o][1].end.offset>r))return;let l=i.events.length,u=l;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(t){n=i.events[u][1].end;break}t=!0}for(b(a),o=l;o<i.events.length;)i.events[o][1].end={...n},o++;s(i.events,u+1,0,i.events.slice(l)),i.events.length=o}}function b(e){let n=o.length;for(;n-- >e;){let e=o[n];i.containerState=e[1],e[0].exit.call(i,t)}o.length=e}function _(){e.write([null]),n=void 0,e=void 0,i.containerState._closeFlow=void 0}}},v={tokenize:function(t,e,n){return p(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},m={partial:!0,tokenize:function(t,e,n){return function(e){return(0,d.xz)(e)?p(t,r,"linePrefix")(e):r(e)};function r(t){return null===t||(0,d.Ch)(t)?e(t):n(t)}}},b={resolve:function(t){return h(t),t},tokenize:function(t,e){let n;return function(e){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),r(e)};function r(e){return null===e?i(e):(0,d.Ch)(e)?t.check(_,o,i)(e):(t.consume(e),r)}function i(n){return t.exit("chunkContent"),t.exit("content"),e(n)}function o(e){return t.consume(e),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},_={partial:!0,tokenize:function(t,e,n){let r=this;return function(e){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),p(t,i,"linePrefix")};function i(i){if(null===i||(0,d.Ch)(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(i):t.interrupt(r.parser.constructs.flow,n,e)(i)}}},x={tokenize:function(t){let e=this,n=t.attempt(m,function(r){return null===r?void t.consume(r):(t.enter("lineEndingBlank"),t.consume(r),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n)},t.attempt(this.parser.constructs.flowInitial,r,p(t,t.attempt(this.parser.constructs.flow,r,t.attempt(b,r)),"linePrefix")));return n;function r(r){return null===r?void t.consume(r):(t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),e.currentConstruct=void 0,n)}}},w={resolveAll:T()},S=M("string"),k=M("text");function M(t){return{resolveAll:T("text"===t?C:void 0),tokenize:function(e){let n=this,r=this.parser.constructs[t],i=e.attempt(r,o,a);return o;function o(t){return l(t)?i(t):a(t)}function a(t){return null===t?void e.consume(t):(e.enter("data"),e.consume(t),s)}function s(t){return l(t)?(e.exit("data"),i(t)):(e.consume(t),s)}function l(t){if(null===t)return!0;let e=r[t],i=-1;if(e)for(;++i<e.length;){let t=e[i];if(!t.previous||t.previous.call(n,n.previous))return!0}return!1}}}}function T(t){return function(e,n){let r,i=-1;for(;++i<=e.length;)void 0===r?e[i]&&"data"===e[i][1].type&&(r=i,i++):e[i]&&"data"===e[i][1].type||(i!==r+2&&(e[r][1].end=e[i-1][1].end,e.splice(r+2,i-r-2),i=r+2),r=void 0);return t?t(e,n):e}}function C(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||"lineEnding"===t[n][1].type)&&"data"===t[n-1][1].type){let r,i=t[n-1][1],o=e.sliceStream(i),a=o.length,s=-1,l=0;for(;a--;){let t=o[a];if("string"==typeof t){for(s=t.length;32===t.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===t)r=!0,l++;else if(-1===t);else{a++;break}}if(l){let o={type:n===t.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:i.start._bufferIndex+s,_index:i.start._index+a,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...o.start},i.start.offset===i.end.offset?Object.assign(i,o):(t.splice(n,0,["enter",o,e],["exit",o,e]),n+=2)}n++}return t}let E={name:"thematicBreak",tokenize:function(t,e,n){let r,i=0;return function(o){var a;return t.enter("thematicBreak"),r=a=o,function o(a){return a===r?(t.enter("thematicBreakSequence"),function e(n){return n===r?(t.consume(n),i++,e):(t.exit("thematicBreakSequence"),(0,d.xz)(n)?p(t,o,"whitespace")(n):o(n))}(a)):i>=3&&(null===a||(0,d.Ch)(a))?(t.exit("thematicBreak"),e(a)):n(a)}(a)}}},A={continuation:{tokenize:function(t,e,n){let r=this;return r.containerState._closeFlow=void 0,t.check(m,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,p(t,e,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,d.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(I,e,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,p(t,t.attempt(A,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(t){t.exit(this.containerState.type)},name:"list",tokenize:function(t,e,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(e){let i=r.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||e===r.containerState.marker:(0,d.pY)(e)){if(r.containerState.type||(r.containerState.type=i,t.enter(i,{_container:!0})),"listUnordered"===i)return t.enter("listItemPrefix"),42===e||45===e?t.check(E,n,s)(e):s(e);if(!r.interrupt||49===e)return t.enter("listItemPrefix"),t.enter("listItemValue"),function e(i){return(0,d.pY)(i)&&++a<10?(t.consume(i),e):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(t.exit("listItemValue"),s(i)):n(i)}(e)}return n(e)};function s(e){return t.enter("listItemMarker"),t.consume(e),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||e,t.check(m,r.interrupt?n:l,t.attempt(O,c,u))}function l(t){return r.containerState.initialBlankLine=!0,o++,c(t)}function u(e){return(0,d.xz)(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),c):n(e)}function c(n){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(n)}}},O={partial:!0,tokenize:function(t,e,n){let r=this;return p(t,function(t){let i=r.events[r.events.length-1];return!(0,d.xz)(t)&&i&&"listItemPrefixWhitespace"===i[1].type?e(t):n(t)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},I={partial:!0,tokenize:function(t,e,n){let r=this;return p(t,function(t){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?e(t):n(t)},"listItemIndent",r.containerState.size+1)}},D={continuation:{tokenize:function(t,e,n){let r=this;return function(e){return(0,d.xz)(e)?p(t,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):i(e)};function i(r){return t.attempt(D,e,n)(r)}}},exit:function(t){t.exit("blockQuote")},name:"blockQuote",tokenize:function(t,e,n){let r=this;return function(e){if(62===e){let n=r.containerState;return n.open||(t.enter("blockQuote",{_container:!0}),n.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(e),t.exit("blockQuoteMarker"),i}return n(e)};function i(n){return(0,d.xz)(n)?(t.enter("blockQuotePrefixWhitespace"),t.consume(n),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(n))}}};function P(t,e,n,r,i,o,a,s,l){let u=l||1/0,c=0;return function(e){return 60===e?(t.enter(r),t.enter(i),t.enter(o),t.consume(e),t.exit(o),h):null===e||32===e||41===e||(0,d.Av)(e)?n(e):(t.enter(r),t.enter(a),t.enter(s),t.enter("chunkString",{contentType:"string"}),g(e))};function h(n){return 62===n?(t.enter(o),t.consume(n),t.exit(o),t.exit(i),t.exit(r),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),f(n))}function f(e){return 62===e?(t.exit("chunkString"),t.exit(s),h(e)):null===e||60===e||(0,d.Ch)(e)?n(e):(t.consume(e),92===e?p:f)}function p(e){return 60===e||62===e||92===e?(t.consume(e),f):f(e)}function g(i){return!c&&(null===i||41===i||(0,d.z3)(i))?(t.exit("chunkString"),t.exit(s),t.exit(a),t.exit(r),e(i)):c<u&&40===i?(t.consume(i),c++,g):41===i?(t.consume(i),c--,g):null===i||32===i||40===i||(0,d.Av)(i)?n(i):(t.consume(i),92===i?y:g)}function y(e){return 40===e||41===e||92===e?(t.consume(e),g):g(e)}}function L(t,e,n,r,i,o){let a,s=this,l=0;return function(e){return t.enter(r),t.enter(i),t.consume(e),t.exit(i),t.enter(o),u};function u(h){return l>999||null===h||91===h||93===h&&!a||94===h&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(h):93===h?(t.exit(o),t.enter(i),t.consume(h),t.exit(i),t.exit(r),e):(0,d.Ch)(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),c(h))}function c(e){return null===e||91===e||93===e||(0,d.Ch)(e)||l++>999?(t.exit("chunkString"),u(e)):(t.consume(e),a||(a=!(0,d.xz)(e)),92===e?h:c)}function h(e){return 91===e||92===e||93===e?(t.consume(e),l++,c):c(e)}}function R(t,e,n,r,i,o){let a;return function(e){return 34===e||39===e||40===e?(t.enter(r),t.enter(i),t.consume(e),t.exit(i),a=40===e?41:e,s):n(e)};function s(n){return n===a?(t.enter(i),t.consume(n),t.exit(i),t.exit(r),e):(t.enter(o),l(n))}function l(e){return e===a?(t.exit(o),s(a)):null===e?n(e):(0,d.Ch)(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),p(t,l,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(e))}function u(e){return e===a||null===e||(0,d.Ch)(e)?(t.exit("chunkString"),l(e)):(t.consume(e),92===e?c:u)}function c(e){return e===a||92===e?(t.consume(e),u):u(e)}}function Z(t,e){let n;return function r(i){return(0,d.Ch)(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r):(0,d.xz)(i)?p(t,r,n?"linePrefix":"lineSuffix")(i):e(i)}}function N(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let z={partial:!0,tokenize:function(t,e,n){return function(e){return(0,d.z3)(e)?Z(t,r)(e):n(e)};function r(e){return R(t,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function i(e){return(0,d.xz)(e)?p(t,o,"whitespace")(e):o(e)}function o(t){return null===t||(0,d.Ch)(t)?e(t):n(t)}}},F={name:"codeIndented",tokenize:function(t,e,n){let r=this;return function(e){return t.enter("codeIndented"),p(t,i,"linePrefix",5)(e)};function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function e(n){return null===n?o(n):(0,d.Ch)(n)?t.attempt(B,e,o)(n):(t.enter("codeFlowValue"),function n(r){return null===r||(0,d.Ch)(r)?(t.exit("codeFlowValue"),e(r)):(t.consume(r),n)}(n))}(e):n(e)}function o(n){return t.exit("codeIndented"),e(n)}}},B={partial:!0,tokenize:function(t,e,n){let r=this;return i;function i(e){return r.parser.lazy[r.now().line]?n(e):(0,d.Ch)(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i):p(t,o,"linePrefix",5)(e)}function o(t){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(t):(0,d.Ch)(t)?i(t):n(t)}}},j={name:"setextUnderline",resolveTo:function(t,e){let n,r,i,o=t.length;for(;o--;)if("enter"===t[o][0]){if("content"===t[o][1].type){n=o;break}"paragraph"===t[o][1].type&&(r=o)}else"content"===t[o][1].type&&t.splice(o,1),i||"definition"!==t[o][1].type||(i=o);let a={type:"setextHeading",start:{...t[r][1].start},end:{...t[t.length-1][1].end}};return t[r][1].type="setextHeadingText",i?(t.splice(r,0,["enter",a,e]),t.splice(i+1,0,["exit",t[n][1],e]),t[n][1].end={...t[i][1].end}):t[n][1]=a,t.push(["exit",a,e]),t},tokenize:function(t,e,n){let r,i=this;return function(e){var a;let s,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){s="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||s)?(t.enter("setextHeadingLine"),r=e,a=e,t.enter("setextHeadingLineSequence"),function e(n){return n===r?(t.consume(n),e):(t.exit("setextHeadingLineSequence"),(0,d.xz)(n)?p(t,o,"lineSuffix")(n):o(n))}(a)):n(e)};function o(r){return null===r||(0,d.Ch)(r)?(t.exit("setextHeadingLine"),e(r)):n(r)}}},H=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],W=["pre","script","style","textarea"],V={partial:!0,tokenize:function(t,e,n){return function(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),t.attempt(m,e,n)}}},U={partial:!0,tokenize:function(t,e,n){let r=this;return function(e){return(0,d.Ch)(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i):n(e)};function i(t){return r.parser.lazy[r.now().line]?n(t):e(t)}}},q={partial:!0,tokenize:function(t,e,n){let r=this;return function(e){return null===e?n(e):(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i)};function i(t){return r.parser.lazy[r.now().line]?n(t):e(t)}}},G={concrete:!0,name:"codeFenced",tokenize:function(t,e,n){let r,i=this,o={partial:!0,tokenize:function(t,e,n){let o=0;return function(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),a};function a(e){return t.enter("codeFencedFence"),(0,d.xz)(e)?p(t,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):l(e)}function l(e){return e===r?(t.enter("codeFencedFenceSequence"),function e(i){return i===r?(o++,t.consume(i),e):o>=s?(t.exit("codeFencedFenceSequence"),(0,d.xz)(i)?p(t,u,"whitespace")(i):u(i)):n(i)}(e)):n(e)}function u(r){return null===r||(0,d.Ch)(r)?(t.exit("codeFencedFence"),e(r)):n(r)}}},a=0,s=0;return function(e){var o=e;let u=i.events[i.events.length-1];return a=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=o,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),function e(i){return i===r?(s++,t.consume(i),e):s<3?n(i):(t.exit("codeFencedFenceSequence"),(0,d.xz)(i)?p(t,l,"whitespace")(i):l(i))}(o)};function l(o){return null===o||(0,d.Ch)(o)?(t.exit("codeFencedFence"),i.interrupt?e(o):t.check(q,c,y)(o)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),function e(i){return null===i||(0,d.Ch)(i)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),l(i)):(0,d.xz)(i)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),p(t,u,"whitespace")(i)):96===i&&i===r?n(i):(t.consume(i),e)}(o))}function u(e){return null===e||(0,d.Ch)(e)?l(e):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),function e(i){return null===i||(0,d.Ch)(i)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(t.consume(i),e)}(e))}function c(e){return t.attempt(o,y,h)(e)}function h(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),f}function f(e){return a>0&&(0,d.xz)(e)?p(t,g,"linePrefix",a+1)(e):g(e)}function g(e){return null===e||(0,d.Ch)(e)?t.check(q,c,y)(e):(t.enter("codeFlowValue"),function e(n){return null===n||(0,d.Ch)(n)?(t.exit("codeFlowValue"),g(n)):(t.consume(n),e)}(e))}function y(n){return t.exit("codeFenced"),e(n)}}},Y=document.createElement("i");function X(t){let e="&"+t+";";Y.innerHTML=e;let n=Y.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===t)&&n!==e&&n}let $={name:"characterReference",tokenize:function(t,e,n){let r,i,o=this,a=0;return function(e){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(e),t.exit("characterReferenceMarker"),s};function s(e){return 35===e?(t.enter("characterReferenceMarkerNumeric"),t.consume(e),t.exit("characterReferenceMarkerNumeric"),l):(t.enter("characterReferenceValue"),r=31,i=d.H$,u(e))}function l(e){return 88===e||120===e?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(e),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),r=6,i=d.AF,u):(t.enter("characterReferenceValue"),r=7,i=d.pY,u(e))}function u(s){if(59===s&&a){let r=t.exit("characterReferenceValue");return i!==d.H$||X(o.sliceSerialize(r))?(t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):n(s)}return i(s)&&a++<r?(t.consume(s),u):n(s)}}},K={name:"characterEscape",tokenize:function(t,e,n){return function(e){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(e),t.exit("escapeMarker"),r};function r(r){return(0,d.sR)(r)?(t.enter("characterEscapeValue"),t.consume(r),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(r)}}},J={name:"lineEnding",tokenize:function(t,e){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),p(t,e,"linePrefix")}}};function Q(t,e,n){let r=[],i=-1;for(;++i<t.length;){let o=t[i].resolveAll;o&&!r.includes(o)&&(e=o(e,n),r.push(o))}return e}let tt={name:"labelEnd",resolveAll:function(t){let e=-1,n=[];for(;++e<t.length;){let r=t[e][1];if(n.push(t[e]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let t="labelImage"===r.type?4:2;r.type="data",e+=t}}return t.length!==n.length&&s(t,0,t.length,n),t},resolveTo:function(t,e){let n,r,i,o,a=t.length,u=0;for(;a--;)if(n=t[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===t[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===t[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){u=2;break}}else"labelEnd"===n.type&&(i=a);let c={type:"labelLink"===t[r][1].type?"link":"image",start:{...t[r][1].start},end:{...t[t.length-1][1].end}},h={type:"label",start:{...t[r][1].start},end:{...t[i][1].end}},f={type:"labelText",start:{...t[r+u+2][1].end},end:{...t[i-2][1].start}};return o=l(o=[["enter",c,e],["enter",h,e]],t.slice(r+1,r+u+3)),o=l(o,[["enter",f,e]]),o=l(o,Q(e.parser.constructs.insideSpan.null,t.slice(r+u+4,i-3),e)),o=l(o,[["exit",f,e],t[i-2],t[i-1],["exit",h,e]]),o=l(o,t.slice(i+1)),o=l(o,[["exit",c,e]]),s(t,r,t.length,o),t},tokenize:function(t,e,n){let r,i,o=this,a=o.events.length;for(;a--;)if(("labelImage"===o.events[a][1].type||"labelLink"===o.events[a][1].type)&&!o.events[a][1]._balanced){r=o.events[a][1];break}return function(e){return r?r._inactive?c(e):(i=o.parser.defined.includes(N(o.sliceSerialize({start:r.end,end:o.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),s):n(e)};function s(e){return 40===e?t.attempt(te,u,i?u:c)(e):91===e?t.attempt(tn,u,i?l:c)(e):i?u(e):c(e)}function l(e){return t.attempt(tr,u,c)(e)}function u(t){return e(t)}function c(t){return r._balanced=!0,n(t)}}},te={tokenize:function(t,e,n){return function(e){return t.enter("resource"),t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),r};function r(e){return(0,d.z3)(e)?Z(t,i)(e):i(e)}function i(e){return 41===e?u(e):P(t,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(e)}function o(e){return(0,d.z3)(e)?Z(t,s)(e):u(e)}function a(t){return n(t)}function s(e){return 34===e||39===e||40===e?R(t,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(e):u(e)}function l(e){return(0,d.z3)(e)?Z(t,u)(e):u(e)}function u(r){return 41===r?(t.enter("resourceMarker"),t.consume(r),t.exit("resourceMarker"),t.exit("resource"),e):n(r)}}},tn={tokenize:function(t,e,n){let r=this;return function(e){return L.call(r,t,i,o,"reference","referenceMarker","referenceString")(e)};function i(t){return r.parser.defined.includes(N(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(t):n(t)}function o(t){return n(t)}}},tr={tokenize:function(t,e,n){return function(e){return t.enter("reference"),t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),r};function r(r){return 93===r?(t.enter("referenceMarker"),t.consume(r),t.exit("referenceMarker"),t.exit("reference"),e):n(r)}}},ti={name:"labelStartImage",resolveAll:tt.resolveAll,tokenize:function(t,e,n){let r=this;return function(e){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(e),t.exit("labelImageMarker"),i};function i(e){return 91===e?(t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelImage"),o):n(e)}function o(t){return 94===t&&"_hiddenFootnoteSupport"in r.parser.constructs?n(t):e(t)}}};function to(t){return null===t||(0,d.z3)(t)||(0,d.B8)(t)?1:(0,d.Xh)(t)?2:void 0}let ta={name:"attention",resolveAll:function(t,e){let n,r,i,o,a,u,c,h,f=-1;for(;++f<t.length;)if("enter"===t[f][0]&&"attentionSequence"===t[f][1].type&&t[f][1]._close){for(n=f;n--;)if("exit"===t[n][0]&&"attentionSequence"===t[n][1].type&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[f][1]).charCodeAt(0)){if((t[n][1]._close||t[f][1]._open)&&(t[f][1].end.offset-t[f][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[f][1].end.offset-t[f][1].start.offset)%3))continue;u=t[n][1].end.offset-t[n][1].start.offset>1&&t[f][1].end.offset-t[f][1].start.offset>1?2:1;let d={...t[n][1].end},p={...t[f][1].start};ts(d,-u),ts(p,u),o={type:u>1?"strongSequence":"emphasisSequence",start:d,end:{...t[n][1].end}},a={type:u>1?"strongSequence":"emphasisSequence",start:{...t[f][1].start},end:p},i={type:u>1?"strongText":"emphasisText",start:{...t[n][1].end},end:{...t[f][1].start}},r={type:u>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},t[n][1].end={...o.start},t[f][1].start={...a.end},c=[],t[n][1].end.offset-t[n][1].start.offset&&(c=l(c,[["enter",t[n][1],e],["exit",t[n][1],e]])),c=l(c,[["enter",r,e],["enter",o,e],["exit",o,e],["enter",i,e]]),c=l(c,Q(e.parser.constructs.insideSpan.null,t.slice(n+1,f),e)),c=l(c,[["exit",i,e],["enter",a,e],["exit",a,e],["exit",r,e]]),t[f][1].end.offset-t[f][1].start.offset?(h=2,c=l(c,[["enter",t[f][1],e],["exit",t[f][1],e]])):h=0,s(t,n-1,f-n+3,c),f=n+c.length-h-2;break}}for(f=-1;++f<t.length;)"attentionSequence"===t[f][1].type&&(t[f][1].type="data");return t},tokenize:function(t,e){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=to(i);return function(a){return n=a,t.enter("attentionSequence"),function a(s){if(s===n)return t.consume(s),a;let l=t.exit("attentionSequence"),u=to(s),c=!u||2===u&&o||r.includes(s),h=!o||2===o&&u||r.includes(i);return l._open=!!(42===n?c:c&&(o||!h)),l._close=!!(42===n?h:h&&(u||!c)),e(s)}(a)}}};function ts(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}let tl={name:"labelStartLink",resolveAll:tt.resolveAll,tokenize:function(t,e,n){let r=this;return function(e){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelLink"),i};function i(t){return 94===t&&"_hiddenFootnoteSupport"in r.parser.constructs?n(t):e(t)}}},tu={42:A,43:A,45:A,48:A,49:A,50:A,51:A,52:A,53:A,54:A,55:A,56:A,57:A,62:D},tc={91:{name:"definition",tokenize:function(t,e,n){let r,i=this;return function(e){var r;return t.enter("definition"),r=e,L.call(i,t,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(e){return(r=N(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===e)?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),a):n(e)}function a(e){return(0,d.z3)(e)?Z(t,s)(e):s(e)}function s(e){return P(t,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(e)}function l(e){return t.attempt(z,u,u)(e)}function u(e){return(0,d.xz)(e)?p(t,c,"whitespace")(e):c(e)}function c(o){return null===o||(0,d.Ch)(o)?(t.exit("definition"),i.parser.defined.push(r),e(o)):n(o)}}}},th={[-2]:F,[-1]:F,32:F},tf={35:{name:"headingAtx",resolve:function(t,e){let n,r,i=t.length-2,o=3;return"whitespace"===t[3][1].type&&(o+=2),i-2>o&&"whitespace"===t[i][1].type&&(i-=2),"atxHeadingSequence"===t[i][1].type&&(o===i-1||i-4>o&&"whitespace"===t[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:t[o][1].start,end:t[i][1].end},r={type:"chunkText",start:t[o][1].start,end:t[i][1].end,contentType:"text"},s(t,o,i-o+1,[["enter",n,e],["enter",r,e],["exit",r,e],["exit",n,e]])),t},tokenize:function(t,e,n){let r=0;return function(i){var o;return t.enter("atxHeading"),o=i,t.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(t.consume(o),i):null===o||(0,d.z3)(o)?(t.exit("atxHeadingSequence"),function n(r){return 35===r?(t.enter("atxHeadingSequence"),function e(r){return 35===r?(t.consume(r),e):(t.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,d.Ch)(r)?(t.exit("atxHeading"),e(r)):(0,d.xz)(r)?p(t,n,"whitespace")(r):(t.enter("atxHeadingText"),function e(r){return null===r||35===r||(0,d.z3)(r)?(t.exit("atxHeadingText"),n(r)):(t.consume(r),e)}(r))}(o)):n(o)}(o)}}},42:E,45:[j,E],60:{concrete:!0,name:"htmlFlow",resolveTo:function(t){let e=t.length;for(;e--&&("enter"!==t[e][0]||"htmlFlow"!==t[e][1].type););return e>1&&"linePrefix"===t[e-2][1].type&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t},tokenize:function(t,e,n){let r,i,o,a,s,l=this;return function(e){var n;return n=e,t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(n),u};function u(a){return 33===a?(t.consume(a),c):47===a?(t.consume(a),i=!0,p):63===a?(t.consume(a),r=3,l.interrupt?e:P):(0,d.jv)(a)?(t.consume(a),o=String.fromCharCode(a),g):n(a)}function c(i){return 45===i?(t.consume(i),r=2,h):91===i?(t.consume(i),r=5,a=0,f):(0,d.jv)(i)?(t.consume(i),r=4,l.interrupt?e:P):n(i)}function h(r){return 45===r?(t.consume(r),l.interrupt?e:P):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(a++)?(t.consume(r),a===i.length)?l.interrupt?e:M:f:n(r)}function p(e){return(0,d.jv)(e)?(t.consume(e),o=String.fromCharCode(e),g):n(e)}function g(a){if(null===a||47===a||62===a||(0,d.z3)(a)){let s=47===a,u=o.toLowerCase();return!s&&!i&&W.includes(u)?(r=1,l.interrupt?e(a):M(a)):H.includes(o.toLowerCase())?(r=6,s)?(t.consume(a),y):l.interrupt?e(a):M(a):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(a):i?function e(n){return(0,d.xz)(n)?(t.consume(n),e):S(n)}(a):v(a))}return 45===a||(0,d.H$)(a)?(t.consume(a),o+=String.fromCharCode(a),g):n(a)}function y(r){return 62===r?(t.consume(r),l.interrupt?e:M):n(r)}function v(e){return 47===e?(t.consume(e),S):58===e||95===e||(0,d.jv)(e)?(t.consume(e),m):(0,d.xz)(e)?(t.consume(e),v):S(e)}function m(e){return 45===e||46===e||58===e||95===e||(0,d.H$)(e)?(t.consume(e),m):b(e)}function b(e){return 61===e?(t.consume(e),_):(0,d.xz)(e)?(t.consume(e),b):v(e)}function _(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),s=e,x):(0,d.xz)(e)?(t.consume(e),_):function e(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,d.z3)(n)?b(n):(t.consume(n),e)}(e)}function x(e){return e===s?(t.consume(e),s=null,w):null===e||(0,d.Ch)(e)?n(e):(t.consume(e),x)}function w(t){return 47===t||62===t||(0,d.xz)(t)?v(t):n(t)}function S(e){return 62===e?(t.consume(e),k):n(e)}function k(e){return null===e||(0,d.Ch)(e)?M(e):(0,d.xz)(e)?(t.consume(e),k):n(e)}function M(e){return 45===e&&2===r?(t.consume(e),A):60===e&&1===r?(t.consume(e),O):62===e&&4===r?(t.consume(e),L):63===e&&3===r?(t.consume(e),P):93===e&&5===r?(t.consume(e),D):(0,d.Ch)(e)&&(6===r||7===r)?(t.exit("htmlFlowData"),t.check(V,R,T)(e)):null===e||(0,d.Ch)(e)?(t.exit("htmlFlowData"),T(e)):(t.consume(e),M)}function T(e){return t.check(U,C,R)(e)}function C(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),E}function E(e){return null===e||(0,d.Ch)(e)?T(e):(t.enter("htmlFlowData"),M(e))}function A(e){return 45===e?(t.consume(e),P):M(e)}function O(e){return 47===e?(t.consume(e),o="",I):M(e)}function I(e){if(62===e){let n=o.toLowerCase();return W.includes(n)?(t.consume(e),L):M(e)}return(0,d.jv)(e)&&o.length<8?(t.consume(e),o+=String.fromCharCode(e),I):M(e)}function D(e){return 93===e?(t.consume(e),P):M(e)}function P(e){return 62===e?(t.consume(e),L):45===e&&2===r?(t.consume(e),P):M(e)}function L(e){return null===e||(0,d.Ch)(e)?(t.exit("htmlFlowData"),R(e)):(t.consume(e),L)}function R(n){return t.exit("htmlFlow"),e(n)}}},61:j,95:E,96:G,126:G},td={38:$,92:K},tp={[-5]:J,[-4]:J,[-3]:J,33:ti,38:$,42:ta,60:[{name:"autolink",tokenize:function(t,e,n){let r=0;return function(e){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),i};function i(e){return(0,d.jv)(e)?(t.consume(e),o):64===e?n(e):s(e)}function o(e){return 43===e||45===e||46===e||(0,d.H$)(e)?(r=1,function e(n){return 58===n?(t.consume(n),r=0,a):(43===n||45===n||46===n||(0,d.H$)(n))&&r++<32?(t.consume(n),e):(r=0,s(n))}(e)):s(e)}function a(r){return 62===r?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(r),t.exit("autolinkMarker"),t.exit("autolink"),e):null===r||32===r||60===r||(0,d.Av)(r)?n(r):(t.consume(r),a)}function s(e){return 64===e?(t.consume(e),l):(0,d.n9)(e)?(t.consume(e),s):n(e)}function l(i){return(0,d.H$)(i)?function i(o){return 46===o?(t.consume(o),r=0,l):62===o?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(o),t.exit("autolinkMarker"),t.exit("autolink"),e):function e(o){if((45===o||(0,d.H$)(o))&&r++<63){let n=45===o?e:i;return t.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(t,e,n){let r,i,o,a=this;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),s};function s(e){return 33===e?(t.consume(e),l):47===e?(t.consume(e),w):63===e?(t.consume(e),_):(0,d.jv)(e)?(t.consume(e),k):n(e)}function l(e){return 45===e?(t.consume(e),u):91===e?(t.consume(e),i=0,g):(0,d.jv)(e)?(t.consume(e),b):n(e)}function u(e){return 45===e?(t.consume(e),f):n(e)}function c(e){return null===e?n(e):45===e?(t.consume(e),h):(0,d.Ch)(e)?(o=c,D(e)):(t.consume(e),c)}function h(e){return 45===e?(t.consume(e),f):c(e)}function f(t){return 62===t?I(t):45===t?h(t):c(t)}function g(e){let r="CDATA[";return e===r.charCodeAt(i++)?(t.consume(e),i===r.length?y:g):n(e)}function y(e){return null===e?n(e):93===e?(t.consume(e),v):(0,d.Ch)(e)?(o=y,D(e)):(t.consume(e),y)}function v(e){return 93===e?(t.consume(e),m):y(e)}function m(e){return 62===e?I(e):93===e?(t.consume(e),m):y(e)}function b(e){return null===e||62===e?I(e):(0,d.Ch)(e)?(o=b,D(e)):(t.consume(e),b)}function _(e){return null===e?n(e):63===e?(t.consume(e),x):(0,d.Ch)(e)?(o=_,D(e)):(t.consume(e),_)}function x(t){return 62===t?I(t):_(t)}function w(e){return(0,d.jv)(e)?(t.consume(e),S):n(e)}function S(e){return 45===e||(0,d.H$)(e)?(t.consume(e),S):function e(n){return(0,d.Ch)(n)?(o=e,D(n)):(0,d.xz)(n)?(t.consume(n),e):I(n)}(e)}function k(e){return 45===e||(0,d.H$)(e)?(t.consume(e),k):47===e||62===e||(0,d.z3)(e)?M(e):n(e)}function M(e){return 47===e?(t.consume(e),I):58===e||95===e||(0,d.jv)(e)?(t.consume(e),T):(0,d.Ch)(e)?(o=M,D(e)):(0,d.xz)(e)?(t.consume(e),M):I(e)}function T(e){return 45===e||46===e||58===e||95===e||(0,d.H$)(e)?(t.consume(e),T):function e(n){return 61===n?(t.consume(n),C):(0,d.Ch)(n)?(o=e,D(n)):(0,d.xz)(n)?(t.consume(n),e):M(n)}(e)}function C(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),r=e,E):(0,d.Ch)(e)?(o=C,D(e)):(0,d.xz)(e)?(t.consume(e),C):(t.consume(e),A)}function E(e){return e===r?(t.consume(e),r=void 0,O):null===e?n(e):(0,d.Ch)(e)?(o=E,D(e)):(t.consume(e),E)}function A(e){return null===e||34===e||39===e||60===e||61===e||96===e?n(e):47===e||62===e||(0,d.z3)(e)?M(e):(t.consume(e),A)}function O(t){return 47===t||62===t||(0,d.z3)(t)?M(t):n(t)}function I(r){return 62===r?(t.consume(r),t.exit("htmlTextData"),t.exit("htmlText"),e):n(r)}function D(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),P}function P(e){return(0,d.xz)(e)?p(t,L,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):L(e)}function L(e){return t.enter("htmlTextData"),o(e)}}}],91:tl,92:[{name:"hardBreakEscape",tokenize:function(t,e,n){return function(e){return t.enter("hardBreakEscape"),t.consume(e),r};function r(r){return(0,d.Ch)(r)?(t.exit("hardBreakEscape"),e(r)):n(r)}}},K],93:tt,95:ta,96:{name:"codeText",previous:function(t){return 96!==t||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(t){let e,n,r=t.length-4,i=3;if(("lineEnding"===t[3][1].type||"space"===t[i][1].type)&&("lineEnding"===t[r][1].type||"space"===t[r][1].type)){for(e=i;++e<r;)if("codeTextData"===t[e][1].type){t[i][1].type="codeTextPadding",t[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(e=i-1,r++;++e<=r;)void 0===n?e!==r&&"lineEnding"!==t[e][1].type&&(n=e):(e===r||"lineEnding"===t[e][1].type)&&(t[n][1].type="codeTextData",e!==n+2&&(t[n][1].end=t[e-1][1].end,t.splice(n+2,e-n-2),r-=e-n-2,e=n+2),n=void 0);return t},tokenize:function(t,e,n){let r,i,o=0;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),function e(n){return 96===n?(t.consume(n),o++,e):(t.exit("codeTextSequence"),a(n))}(e)};function a(l){return null===l?n(l):32===l?(t.enter("space"),t.consume(l),t.exit("space"),a):96===l?(i=t.enter("codeTextSequence"),r=0,function n(a){return 96===a?(t.consume(a),r++,n):r===o?(t.exit("codeTextSequence"),t.exit("codeText"),e(a)):(i.type="codeTextData",s(a))}(l)):(0,d.Ch)(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),a):(t.enter("codeTextData"),s(l))}function s(e){return null===e||32===e||96===e||(0,d.Ch)(e)?(t.exit("codeTextData"),a(e)):(t.consume(e),s)}}}},tg={null:[ta,w]},ty={null:[42,95]},tv={null:[]},tm=/[\0\t\n\r]/g;function tb(t,e){let n=Number.parseInt(t,e);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let t_=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tx(t,e,n){if(e)return e;if(35===n.charCodeAt(0)){let t=n.charCodeAt(1),e=120===t||88===t;return tb(n.slice(e?2:1),e?16:10)}return X(n)||t}var tw=n(35723);let tS={}.hasOwnProperty;function tk(t,e,n){let a,u,c,p;return"string"!=typeof e&&(n=e,e=void 0),(function(t){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(b),autolinkProtocol:h,autolinkEmail:h,atxHeading:r(y),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:h,characterReference:h,codeFenced:r(g),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(g,a),codeText:r(function(){return{type:"inlineCode",value:""}},a),codeTextData:h,data:h,codeFlowValue:h,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(v),hardBreakTrailing:r(v),htmlFlow:r(m,a),htmlFlowData:h,htmlText:r(m,a),htmlTextData:h,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:r(b),listItem:r(function(t){return{type:"listItem",spread:t._spread,checked:null,children:[]}}),listItemValue:function(t){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(t),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(_,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(_),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(y),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:l(),atxHeadingSequence:function(t){let e=this.stack[this.stack.length-1];e.depth||(e.depth=this.sliceSerialize(t).length)},autolink:l(),autolinkEmail:function(t){f.call(this,t),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(t)},autolinkProtocol:function(t){f.call(this,t),this.stack[this.stack.length-1].url=this.sliceSerialize(t)},blockQuote:l(),characterEscapeValue:f,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(t){let e,n=this.sliceSerialize(t),r=this.data.characterReferenceType;r?(e=tb(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):e=X(n);let i=this.stack[this.stack.length-1];i.value+=e},characterReference:function(t){this.stack.pop().position.end=tM(t.end)},codeFenced:l(function(){let t=this.resume();this.stack[this.stack.length-1].value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let t=this.resume();this.stack[this.stack.length-1].lang=t},codeFencedFenceMeta:function(){let t=this.resume();this.stack[this.stack.length-1].meta=t},codeFlowValue:f,codeIndented:l(function(){let t=this.resume();this.stack[this.stack.length-1].value=t.replace(/(\r?\n|\r)$/g,"")}),codeText:l(function(){let t=this.resume();this.stack[this.stack.length-1].value=t}),codeTextData:f,data:f,definition:l(),definitionDestinationString:function(){let t=this.resume();this.stack[this.stack.length-1].url=t},definitionLabelString:function(t){let e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=N(this.sliceSerialize(t)).toLowerCase()},definitionTitleString:function(){let t=this.resume();this.stack[this.stack.length-1].title=t},emphasis:l(),hardBreakEscape:l(d),hardBreakTrailing:l(d),htmlFlow:l(function(){let t=this.resume();this.stack[this.stack.length-1].value=t}),htmlFlowData:f,htmlText:l(function(){let t=this.resume();this.stack[this.stack.length-1].value=t}),htmlTextData:f,image:l(function(){let t=this.stack[this.stack.length-1];if(this.data.inReference){let e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0}),label:function(){let t=this.stack[this.stack.length-1],e=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=t.children:n.alt=e},labelText:function(t){let e=this.sliceSerialize(t),n=this.stack[this.stack.length-2];n.label=e.replace(t_,tx),n.identifier=N(e).toLowerCase()},lineEnding:function(t){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=tM(t.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(n.type)&&(h.call(this,t),f.call(this,t))},link:l(function(){let t=this.stack[this.stack.length-1];if(this.data.inReference){let e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0}),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:function(t){let e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=N(this.sliceSerialize(t)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let t=this.resume();this.stack[this.stack.length-1].url=t},resourceTitleString:function(){let t=this.resume();this.stack[this.stack.length-1].title=t},resource:function(){this.data.inReference=void 0},setextHeading:l(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(t){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(t).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:l(),thematicBreak:l()}};!function t(e,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?t(e,i):function(t,e){let n;for(n in e)if(tS.call(e,n))switch(n){case"canContainEols":{let r=e[n];r&&t[n].push(...r);break}case"transforms":{let r=e[n];r&&t[n].push(...r);break}case"enter":case"exit":{let r=e[n];r&&Object.assign(t[n],r)}}}(e,i)}}(e,(t||{}).mdastExtensions||[]);let n={};return function(t){let r={type:"root",children:[]},i={stack:[r],tokenStack:[],config:e,enter:s,exit:u,buffer:a,resume:c,data:n},o=[],l=-1;for(;++l<t.length;)("listOrdered"===t[l][1].type||"listUnordered"===t[l][1].type)&&("enter"===t[l][0]?o.push(l):l=function(t,e,n){let r,i,o,a,s=e-1,l=-1,u=!1;for(;++s<=n;){let e=t[s];switch(e[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===e[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===e[0]&&(!r||a||l||o||(o=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===e[0]&&"listItemPrefix"===e[1].type||-1===l&&"exit"===e[0]&&("listUnordered"===e[1].type||"listOrdered"===e[1].type)){if(r){let a=s;for(i=void 0;a--;){let e=t[a];if("lineEnding"===e[1].type||"lineEndingBlank"===e[1].type){if("exit"===e[0])continue;i&&(t[i][1].type="lineEndingBlank",u=!0),e[1].type="lineEnding",i=a}else if("linePrefix"===e[1].type||"blockQuotePrefix"===e[1].type||"blockQuotePrefixWhitespace"===e[1].type||"blockQuoteMarker"===e[1].type||"listItemIndent"===e[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?t[i][1].start:e[1].end),t.splice(i||s,0,["exit",r,e[2]]),s++,n++}if("listItemPrefix"===e[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},e[1].start),end:void 0};r=i,t.splice(s,0,["enter",i,e[2]]),s++,n++,o=void 0,a=!0}}}return t[e][1]._spread=u,n}(t,o.pop(),l));for(l=-1;++l<t.length;){let n=e[t[l][0]];tS.call(n,t[l][1].type)&&n[t[l][1].type].call(Object.assign({sliceSerialize:t[l][2].sliceSerialize},i),t[l][1])}if(i.tokenStack.length>0){let t=i.tokenStack[i.tokenStack.length-1];(t[1]||tT).call(i,void 0,t[0])}for(r.position={start:tM(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:tM(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},l=-1;++l<e.transforms.length;)r=e.transforms[l](r)||r;return r};function r(t,e){return function(n){s.call(this,t(n),n),e&&e.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(t,e,n){this.stack[this.stack.length-1].children.push(t),this.stack.push(t),this.tokenStack.push([e,n||void 0]),t.position={start:tM(e.start),end:void 0}}function l(t){return function(e){t&&t.call(this,e),u.call(this,e)}}function u(t,e){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==t.type&&(e?e.call(this,t,r[0]):(r[1]||tT).call(this,t,r[0]));else throw Error("Cannot close `"+t.type+"` ("+(0,tw.y)({start:t.start,end:t.end})+"): it’s not open");n.position.end=tM(t.end)}function c(){return o(this.stack.pop(),"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}function h(t){let e=this.stack[this.stack.length-1].children,n=e[e.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:tM(t.start),end:void 0},e.push(n)),this.stack.push(n)}function f(t){let e=this.stack.pop();e.value+=this.sliceSerialize(t),e.position.end=tM(t.end)}function d(){this.data.atHardBreak=!0}function p(t){this.data.characterReferenceType=t.type}function g(){return{type:"code",lang:null,meta:null,value:""}}function y(){return{type:"heading",depth:0,children:[]}}function v(){return{type:"break"}}function m(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function _(t){return{type:"list",ordered:"listOrdered"===t.type,start:null,spread:t._spread,children:[]}}})(n)(function(t){for(;!h(t););return t}((function(t){let e={constructs:function(t){let e={},n=-1;for(;++n<t.length;)!function(t,e){let n;for(n in e){let r,i=(f.call(t,n)?t[n]:void 0)||(t[n]={}),o=e[n];if(o)for(r in o){f.call(i,r)||(i[r]=[]);let t=o[r];!function(t,e){let n=-1,r=[];for(;++n<e.length;)("after"===e[n].add?t:r).push(e[n]);s(t,0,0,r)}(i[r],Array.isArray(t)?t:t?[t]:[])}}}(e,t[n]);return e}([r,...(t||{}).extensions||[]]),content:n(g),defined:[],document:n(y),flow:n(x),lazy:{},string:n(S),text:n(k)};return e;function n(t){return function(n){return function(t,e,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],a=[],u=[],c={attempt:v(function(t,e){m(t,e.from)}),check:v(y),consume:function(t){(0,d.Ch)(t)?(r.line++,r.column=1,r.offset+=-3===t?2:1,b()):-1!==t&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),h.previous=t},enter:function(t,e){let n=e||{};return n.type=t,n.start=g(),h.events.push(["enter",n,h]),u.push(n),n},exit:function(t){let e=u.pop();return e.end=g(),h.events.push(["exit",e,h]),e},interrupt:v(y,{interrupt:!0})},h={code:null,containerState:{},defineSkip:function(t){i[t.line]=t.column,b()},events:[],now:g,parser:t,previous:null,sliceSerialize:function(t,e){return function(t,e){let n,r=-1,i=[];for(;++r<t.length;){let o,a=t[r];if("string"==typeof a)o=a;else switch(a){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=e?" ":" ";break;case -1:if(!e&&n)continue;o=" ";break;default:o=String.fromCharCode(a)}n=-2===a,i.push(o)}return i.join("")}(p(t),e)},sliceStream:p,write:function(t){return(a=l(a,t),function(){let t;for(;r._index<a.length;){let n=a[r._index];if("string"==typeof n)for(t=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===t&&r._bufferIndex<n.length;){var e;e=n.charCodeAt(r._bufferIndex),f=f(e)}else f=f(n)}}(),null!==a[a.length-1])?[]:(m(e,0),h.events=Q(o,h.events,h),h.events)}},f=e.tokenize.call(h,c);return e.resolveAll&&o.push(e),h;function p(t){return function(t,e){let n,r=e.start._index,i=e.start._bufferIndex,o=e.end._index,a=e.end._bufferIndex;if(r===o)n=[t[r].slice(i,a)];else{if(n=t.slice(r,o),i>-1){let t=n[0];"string"==typeof t?n[0]=t.slice(i):n.shift()}a>0&&n.push(t[o].slice(0,a))}return n}(a,t)}function g(){let{_bufferIndex:t,_index:e,line:n,column:i,offset:o}=r;return{_bufferIndex:t,_index:e,line:n,column:i,offset:o}}function y(t,e){e.restore()}function v(t,e){return function(n,i,o){var a;let s,l,f,d;return Array.isArray(n)?p(n):"tokenize"in n?p([n]):(a=n,function(t){let e=null!==t&&a[t],n=null!==t&&a.null;return p([...Array.isArray(e)?e:e?[e]:[],...Array.isArray(n)?n:n?[n]:[]])(t)});function p(t){return(s=t,l=0,0===t.length)?o:y(t[l])}function y(t){return function(n){return(d=function(){let t=g(),e=h.previous,n=h.currentConstruct,i=h.events.length,o=Array.from(u);return{from:i,restore:function(){r=t,h.previous=e,h.currentConstruct=n,h.events.length=i,u=o,b()}}}(),f=t,t.partial||(h.currentConstruct=t),t.name&&h.parser.constructs.disable.null.includes(t.name))?m(n):t.tokenize.call(e?Object.assign(Object.create(h),e):h,c,v,m)(n)}}function v(e){return t(f,d),i}function m(t){return(d.restore(),++l<s.length)?y(s[l]):o}}}function m(t,e){t.resolveAll&&!o.includes(t)&&o.push(t),t.resolve&&s(h.events,e,h.events.length-e,t.resolve(h.events.slice(e),h)),t.resolveTo&&(h.events=t.resolveTo(h.events,h))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(e,t,n)}}})(n).document().write((u=1,c="",p=!0,function(t,e,n){let r,i,o,s,l,h=[];for(t=c+("string"==typeof t?t.toString():new TextDecoder(e||void 0).decode(t)),o=0,c="",p&&(65279===t.charCodeAt(0)&&o++,p=void 0);o<t.length;){if(tm.lastIndex=o,s=(r=tm.exec(t))&&void 0!==r.index?r.index:t.length,l=t.charCodeAt(s),!r){c=t.slice(o);break}if(10===l&&o===s&&a)h.push(-3),a=void 0;else switch(a&&(h.push(-5),a=void 0),o<s&&(h.push(t.slice(o,s)),u+=s-o),l){case 0:h.push(65533),u++;break;case 9:for(i=4*Math.ceil(u/4),h.push(-2);u++<i;)h.push(-1);break;case 10:h.push(-4),u=1;break;default:a=!0,u=1}o=s+1}return n&&(a&&h.push(-5),c&&h.push(c),h.push(null)),h})(t,e,!0))))}function tM(t){return{line:t.line,column:t.column,offset:t.offset}}function tT(t,e){if(t)throw Error("Cannot close `"+t.type+"` ("+(0,tw.y)({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+(0,tw.y)({start:e.start,end:e.end})+") is open");throw Error("Cannot close document, a token (`"+e.type+"`, "+(0,tw.y)({start:e.start,end:e.end})+") is still open")}},30010:function(t,e,n){"use strict";n.d(e,{Q:()=>A});var r=n(22294);let i="object"==typeof self?self:globalThis,o=t=>((t,e)=>{let n=(e,n)=>(t.set(n,e),e),r=o=>{if(t.has(o))return t.get(o);let[a,s]=e[o];switch(a){case 0:case -1:return n(s,o);case 1:{let t=n([],o);for(let e of s)t.push(r(e));return t}case 2:{let t=n({},o);for(let[e,n]of s)t[r(e)]=r(n);return t}case 3:return n(new Date(s),o);case 4:{let{source:t,flags:e}=s;return n(new RegExp(t,e),o)}case 5:{let t=n(new Map,o);for(let[e,n]of s)t.set(r(e),r(n));return t}case 6:{let t=n(new Set,o);for(let e of s)t.add(r(e));return t}case 7:{let{name:t,message:e}=s;return n(new i[t](e),o)}case 8:return n(BigInt(s),o);case"BigInt":return n(Object(BigInt(s)),o)}return n(new i[a](s),o)};return r})(new Map,t)(0),{toString:a}={},{keys:s}=Object,l=t=>{let e=typeof t;if("object"!==e||!t)return[0,e];let n=a.call(t).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},u=([t,e])=>0===t&&("function"===e||"symbol"===e),c=(t,{json:e,lossy:n}={})=>{let r=[];return((t,e,n,r)=>{let i=(t,e)=>{let i=r.push(t)-1;return n.set(e,i),i},o=r=>{if(n.has(r))return n.get(r);let[a,c]=l(r);switch(a){case 0:{let e=r;switch(c){case"bigint":a=8,e=r.toString();break;case"function":case"symbol":if(t)throw TypeError("unable to serialize "+c);e=null;break;case"undefined":return i([-1],r)}return i([a,e],r)}case 1:{if(c)return i([c,[...r]],r);let t=[],e=i([a,t],r);for(let e of r)t.push(o(e));return e}case 2:{if(c)switch(c){case"BigInt":return i([c,r.toString()],r);case"Boolean":case"Number":case"String":return i([c,r.valueOf()],r)}if(e&&"toJSON"in r)return o(r.toJSON());let n=[],h=i([a,n],r);for(let e of s(r))(t||!u(l(r[e])))&&n.push([o(e),o(r[e])]);return h}case 3:return i([a,r.toISOString()],r);case 4:{let{source:t,flags:e}=r;return i([a,{source:t,flags:e}],r)}case 5:{let e=[],n=i([a,e],r);for(let[n,i]of r)(t||!(u(l(n))||u(l(i))))&&e.push([o(n),o(i)]);return n}case 6:{let e=[],n=i([a,e],r);for(let n of r)(t||!u(l(n)))&&e.push(o(n));return n}}let{message:h}=r;return i([a,{name:c,message:h}],r)};return o})(!(e||n),!!e,new Map,r)(t),r},h="function"==typeof structuredClone?(t,e)=>e&&("json"in e||"lossy"in e)?o(c(t,e)):structuredClone(t):(t,e)=>o(c(t,e));var f=n(47322);function d(t){let e=[],n=-1,r=0,i=0;for(;++n<t.length;){let o=t.charCodeAt(n),a="";if(37===o&&(0,f.H$)(t.charCodeAt(n+1))&&(0,f.H$)(t.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){let e=t.charCodeAt(n+1);o<56320&&e>56319&&e<57344?(a=String.fromCharCode(o,e),i=1):a="�"}else a=String.fromCharCode(o);a&&(e.push(t.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return e.join("")+t.slice(r)}function p(t,e){let n=[{type:"text",value:"↩"}];return e>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),n}function g(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}var y=n(99726),v=n(71779);function m(t,e){let n=e.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(e.label||e.identifier)+"]"),"imageReference"===e.type)return[{type:"text",value:"!["+e.alt+r}];let i=t.all(e),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function b(t){let e=t.spread;return null==e?t.children.length>1:e}function _(t,e,n){let r=0,i=t.length;if(e){let e=t.codePointAt(r);for(;9===e||32===e;)r++,e=t.codePointAt(r)}if(n){let e=t.codePointAt(i-1);for(;9===e||32===e;)i--,e=t.codePointAt(i-1)}return i>r?t.slice(r,i):""}let x={blockquote:function(t,e){let n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)},break:function(t,e){let n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:"\n"}]},code:function(t,e){let n=e.value?e.value+"\n":"",r={};e.lang&&(r.className=["language-"+e.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return e.meta&&(i.data={meta:e.meta}),t.patch(e,i),i={type:"element",tagName:"pre",properties:{},children:[i=t.applyData(e,i)]},t.patch(e,i),i},delete:function(t,e){let n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},emphasis:function(t,e){let n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},footnoteReference:function(t,e){let n,r="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",i=String(e.identifier).toUpperCase(),o=d(i.toLowerCase()),a=t.footnoteOrder.indexOf(i),s=t.footnoteCounts.get(i);void 0===s?(s=0,t.footnoteOrder.push(i),n=t.footnoteOrder.length):n=a+1,s+=1,t.footnoteCounts.set(i,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};t.patch(e,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,u),t.applyData(e,u)},heading:function(t,e){let n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},html:function(t,e){if(t.options.allowDangerousHtml){let n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}},imageReference:function(t,e){let n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return m(t,e);let i={src:d(r.url||""),alt:e.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,o),t.applyData(e,o)},image:function(t,e){let n={src:d(e.url)};null!==e.alt&&void 0!==e.alt&&(n.alt=e.alt),null!==e.title&&void 0!==e.title&&(n.title=e.title);let r={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,r),t.applyData(e,r)},inlineCode:function(t,e){let n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,r),t.applyData(e,r)},linkReference:function(t,e){let n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return m(t,e);let i={href:d(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)},link:function(t,e){let n={href:d(e.url)};null!==e.title&&void 0!==e.title&&(n.title=e.title);let r={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)},listItem:function(t,e,n){let r=t.all(e),i=n?function(t){let e=!1;if("list"===t.type){e=t.spread||!1;let n=t.children,r=-1;for(;!e&&++r<n.length;)e=b(n[r])}return e}(n):b(e),o={},a=[];if("boolean"==typeof e.checked){let t,n=r[0];n&&"element"===n.type&&"p"===n.tagName?t=n:(t={type:"element",tagName:"p",properties:{},children:[]},r.unshift(t)),t.children.length>0&&t.children.unshift({type:"text",value:" "}),t.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){let t=r[s];(i||0!==s||"element"!==t.type||"p"!==t.tagName)&&a.push({type:"text",value:"\n"}),"element"!==t.type||"p"!==t.tagName||i?a.push(t):a.push(...t.children)}let l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:o,children:a};return t.patch(e,u),t.applyData(e,u)},list:function(t,e){let n={},r=t.all(e),i=-1;for("number"==typeof e.start&&1!==e.start&&(n.start=e.start);++i<r.length;){let t=r[i];if("element"===t.type&&"li"===t.tagName&&t.properties&&Array.isArray(t.properties.className)&&t.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:e.ordered?"ol":"ul",properties:n,children:t.wrap(r,!0)};return t.patch(e,o),t.applyData(e,o)},paragraph:function(t,e){let n={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},root:function(t,e){let n={type:"root",children:t.wrap(t.all(e))};return t.patch(e,n),t.applyData(e,n)},strong:function(t,e){let n={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},table:function(t,e){let n=t.all(e),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:t.wrap([r],!0)};t.patch(e.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},o=(0,v.Pk)(e.children[1]),a=(0,v.rb)(e.children[e.children.length-1]);o&&a&&(r.position={start:o,end:a}),i.push(r)}let o={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,o),t.applyData(e,o)},tableCell:function(t,e){let n={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},tableRow:function(t,e,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(e):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:e.children.length,s=-1,l=[];for(;++s<a;){let n=e.children[s],r={},a=o?o[s]:void 0;a&&(r.align=a);let u={type:"element",tagName:i,properties:r,children:[]};n&&(u.children=t.all(n),t.patch(n,u),u=t.applyData(n,u)),l.push(u)}let u={type:"element",tagName:"tr",properties:{},children:t.wrap(l,!0)};return t.patch(e,u),t.applyData(e,u)},text:function(t,e){let n={type:"text",value:function(t){let e=String(t),n=/\r?\n|\r/g,r=n.exec(e),i=0,o=[];for(;r;)o.push(_(e.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(e);return o.push(_(e.slice(i),i>0,!1)),o.join("")}(String(e.value))};return t.patch(e,n),t.applyData(e,n)},thematicBreak:function(t,e){let n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)},toml:w,yaml:w,definition:w,footnoteDefinition:w};function w(){}let S={}.hasOwnProperty,k={};function M(t,e){t.position&&(e.position=(0,v.FK)(t))}function T(t,e){let n=e;if(t&&t.data){let e=t.data.hName,r=t.data.hChildren,i=t.data.hProperties;"string"==typeof e&&("element"===n.type?n.tagName=e:n={type:"element",tagName:e,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,h(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function C(t,e){let n=[],r=-1;for(e&&n.push({type:"text",value:"\n"});++r<t.length;)r&&n.push({type:"text",value:"\n"}),n.push(t[r]);return e&&t.length>0&&n.push({type:"text",value:"\n"}),n}function E(t){let e=0,n=t.charCodeAt(e);for(;9===n||32===n;)e++,n=t.charCodeAt(e);return t.slice(e)}function A(t,e){let n=function(t,e){let n=e||k,r=new Map,i=new Map,o={all:function(t){let e=[];if("children"in t){let n=t.children,r=-1;for(;++r<n.length;){let i=o.one(n[r],t);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=E(i.value)),!Array.isArray(i)&&"element"===i.type)){let t=i.children[0];t&&"text"===t.type&&(t.value=E(t.value))}Array.isArray(i)?e.push(...i):e.push(i)}}}return e},applyData:T,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...x,...n.handlers},one:function(t,e){let n=t.type,r=o.handlers[n];if(S.call(o.handlers,n)&&r)return r(o,t,e);if(o.options.passThrough&&o.options.passThrough.includes(n)){if("children"in t){let{children:e,...n}=t,r=h(n);return r.children=o.all(t),r}return h(t)}return(o.options.unknownHandler||function(t,e){let n=e.data||{},r="value"in e&&!(S.call(n,"hProperties")||S.call(n,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)})(o,t,e)},options:n,patch:M,wrap:C};return(0,y.Vn)(t,function(t){if("definition"===t.type||"footnoteDefinition"===t.type){let e="definition"===t.type?r:i,n=String(t.identifier).toUpperCase();e.has(n)||e.set(n,t)}}),o}(t,e),i=n.one(t,void 0),o=function(t){let e="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",n=t.options.footnoteBackContent||p,r=t.options.footnoteBackLabel||g,i=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",a=t.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=-1;for(;++l<t.footnoteOrder.length;){let i=t.footnoteById.get(t.footnoteOrder[l]);if(!i)continue;let o=t.all(i),a=String(i.identifier).toUpperCase(),u=d(a.toLowerCase()),c=0,h=[],f=t.footnoteCounts.get(a);for(;void 0!==f&&++c<=f;){h.length>0&&h.push({type:"text",value:" "});let t="string"==typeof n?n:n(l,c);"string"==typeof t&&(t={type:"text",value:t}),h.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,c),className:["data-footnote-backref"]},children:Array.isArray(t)?t:[t]})}let p=o[o.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let t=p.children[p.children.length-1];t&&"text"===t.type?t.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...h)}else o.push(...h);let g={type:"element",tagName:"li",properties:{id:e+"fn-"+u},children:t.wrap(o,!0)};t.patch(i,g),s.push(g)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...h(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:t.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),a=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return o&&((0,r.ok)("children"in a),a.children.push({type:"text",value:"\n"},o)),a}},47322:function(t,e,n){"use strict";n.d(e,{AF:()=>l,Av:()=>a,B8:()=>p,Ch:()=>c,H$:()=>i,Xh:()=>d,jv:()=>r,n9:()=>o,pY:()=>s,sR:()=>u,xz:()=>f,z3:()=>h});let r=g(/[A-Za-z]/),i=g(/[\dA-Za-z]/),o=g(/[#-'*+\--9=?A-Z^-~]/);function a(t){return null!==t&&(t<32||127===t)}let s=g(/\d/),l=g(/[\dA-Fa-f]/),u=g(/[!-/:-@[-`{-~]/);function c(t){return null!==t&&t<-2}function h(t){return null!==t&&(t<0||32===t)}function f(t){return -2===t||-1===t||32===t}let d=g(/\p{P}|\p{S}/u),p=g(/\s/);function g(t){return function(e){return null!==e&&e>-1&&t.test(String.fromCharCode(e))}}},5938:function(t,e,n){"use strict";let r;n.d(e,{h:()=>T});var i=n(73656),o=n(72715),a=n(14828);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)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"),b=p("\x1b[33m","\x1b[39m"),_=p("\x1b[35m","\x1b[39m"),x=p("\x1b[36m","\x1b[39m"),w=p("\x1b[90m","\x1b[39m"),S=t=>!/[\s\n]/.test(t),k={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:b},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:_}},T=(t={})=>{let e=t.level||"info",n=(t,n,...r)=>{if(k[M[t].level]>k[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}
3
- ${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()},28521: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,{D:()=>r})},377:function(t,e,n){"use strict";n.r(e),n.d(e,{__addDisposableResource:()=>R,__assign:()=>o,__asyncDelegator:()=>M,__asyncGenerator:()=>k,__asyncValues:()=>T,__await:()=>S,__awaiter:()=>p,__classPrivateFieldGet:()=>D,__classPrivateFieldIn:()=>L,__classPrivateFieldSet:()=>P,__createBinding:()=>y,__decorate:()=>s,__disposeResources:()=>N,__esDecorate:()=>u,__exportStar:()=>v,__extends:()=>i,__generator:()=>g,__importDefault:()=>I,__importStar:()=>O,__makeTemplateObject:()=>C,__metadata:()=>d,__param:()=>l,__propKey:()=>h,__read:()=>b,__rest:()=>a,__rewriteRelativeImportExtension:()=>z,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>_,__spreadArray:()=>w,__spreadArrays:()=>x,__values:()=>m,default:()=>F});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){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function l(t,e){return function(n,r){e(n,r,t)}}function u(t,e,n,r,i,o){function a(t){if(void 0!==t&&"function"!=typeof t)throw TypeError("Function expected");return t}for(var s,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!e&&t?r.static?t:t.prototype:null,h=e||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var g in r)p[g]="access"===g?{}:r[g];for(var g in r.access)p.access[g]=r.access[g];p.addInitializer=function(t){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(a(t||null))};var y=(0,n[d])("accessor"===l?{get:h.get,set:h.set}:h[u],p);if("accessor"===l){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw TypeError("Object expected");(s=a(y.get))&&(h.get=s),(s=a(y.set))&&(h.set=s),(s=a(y.init))&&i.unshift(s)}else(s=a(y))&&("field"===l?i.unshift(s):h[u]=s)}c&&Object.defineProperty(c,r.name,h),f=!0}function c(t,e,n){for(var r=arguments.length>2,i=0;i<e.length;i++)n=r?e[i].call(t,n):e[i].call(t);return r?n:void 0}function h(t){return"symbol"==typeof t?t:"".concat(t)}function f(t,e,n){return"symbol"==typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:n?"".concat(n," ",e):e})}function d(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function p(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 g(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}}}}var y=Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function v(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||y(e,t,n)}function m(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function _(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(b(arguments[e]));return t}function x(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function w(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function S(t){return this instanceof S?(this.v=t,this):new S(t)}function k(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(t){return function(e){return Promise.resolve(e).then(t,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(t,e){i[t]&&(r[t]=function(e){return new Promise(function(n,r){o.push([t,e,n,r])>1||s(t,e)})},e&&(r[t]=e(r[t])))}function s(t,e){try{var n;(n=i[t](e)).value instanceof S?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(t){c(o[0][3],t)}}function l(t){s("next",t)}function u(t){s("throw",t)}function c(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function M(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:S(t[r](e)),done:!1}:i?i(e):e}:i}}function T(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=m(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){var o,a,s;o=r,a=i,s=(e=t[n](e)).done,Promise.resolve(e.value).then(function(t){o({value:t,done:s})},a)})}}}function C(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var E=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},A=function(t){return(A=Object.getOwnPropertyNames||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[e.length]=n);return e})(t)};function O(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n=A(t),r=0;r<n.length;r++)"default"!==n[r]&&y(e,t,n[r]);return E(e,t),e}function I(t){return t&&t.__esModule?t:{default:t}}function D(t,e,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function P(t,e,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n}function L(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}function R(t,e,n){if(null!=e){var r,i;if("object"!=typeof e&&"function"!=typeof e)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}var Z="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function N(t){function e(e){t.error=t.hasError?new Z(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function i(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(t){return e(t),i()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}function z(t,e){return"string"==typeof t&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(t,n,r,i,o){return n?e?".jsx":".js":!r||i&&o?r+i+"."+o.toLowerCase()+"js":t}):t}let F={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__esDecorate:u,__runInitializers:c,__propKey:h,__setFunctionName:f,__metadata:d,__awaiter:p,__generator:g,__createBinding:y,__exportStar:v,__values:m,__read:b,__spread:_,__spreadArrays:x,__spreadArray:w,__await:S,__asyncGenerator:k,__asyncDelegator:M,__asyncValues:T,__makeTemplateObject:C,__importStar:O,__importDefault:I,__classPrivateFieldGet:D,__classPrivateFieldSet:P,__classPrivateFieldIn:L,__addDisposableResource:R,__disposeResources:N,__rewriteRelativeImportExtension:z}},4637:function(t,e,n){"use strict";function r(t){if(t)throw t}n.d(e,{l:()=>h});var i=n(93405),o=n(22294);function a(t){if("object"!=typeof t||null===t)return!1;let e=Object.getPrototypeOf(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}var s=n(93055);let l=function(t){let e=this.constructor.prototype,n=e[t],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,e),r},u={}.hasOwnProperty;class c extends l{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let t=[],e={run:function(...e){let n=-1,r=e.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(o,...a){let s=t[++n],l=-1;if(o)return void r(o);for(;++l<e.length;)(null===a[l]||void 0===a[l])&&(a[l]=e[l]);e=a,s?(function(t,e){let n;return function(...e){let o,a=t.length>e.length;a&&e.push(r);try{o=t.apply(this,e)}catch(t){if(a&&n)throw t;return r(t)}a||(o&&o.then&&"function"==typeof o.then?o.then(i,r):o instanceof Error?r(o):i(o))};function r(t,...i){n||(n=!0,e(t,...i))}function i(t){r(null,t)}})(s,i)(...a):r(null,...a)}(null,...e)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return t.push(n),e}};return e}()}copy(){let t=new c,e=-1;for(;++e<this.attachers.length;){let n=this.attachers[e];t.use(...n)}return t.data(i(!0,{},this.namespace)),t}data(t,e){return"string"==typeof t?2==arguments.length?(p("data",this.frozen),this.namespace[t]=e,this):u.call(this.namespace,t)&&this.namespace[t]||void 0:t?(p("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[t,...e]=this.attachers[this.freezeIndex];if(!1===e[0])continue;!0===e[0]&&(e[0]=void 0);let n=t.call(this,...e);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(t){this.freeze();let e=v(t),n=this.parser||this.Parser;return f("parse",n),n(String(e),e)}process(t,e){let n=this;return this.freeze(),f("process",this.parser||this.Parser),d("process",this.compiler||this.Compiler),e?r(void 0,e):new Promise(r);function r(r,i){let a=v(t),s=n.parse(a);function l(t,n){t||!n?i(t):r?r(n):((0,o.ok)(e,"`done` is defined if `resolve` is not"),e(void 0,n))}n.run(s,a,function(t,e,r){var i,o;if(t||!e||!r)return l(t);let a=n.stringify(e,r);"string"==typeof(i=a)||(o=i)&&"object"==typeof o&&"byteLength"in o&&"byteOffset"in o?r.value=a:r.result=a,l(t,r)})}}processSync(t){let e,n=!1;return this.freeze(),f("processSync",this.parser||this.Parser),d("processSync",this.compiler||this.Compiler),this.process(t,function(t,i){n=!0,r(t),e=i}),y("processSync","process",n),(0,o.ok)(e,"we either bailed on an error or have a tree"),e}run(t,e,n){g(t),this.freeze();let r=this.transformers;return n||"function"!=typeof e||(n=e,e=void 0),n?i(void 0,n):new Promise(i);function i(i,a){(0,o.ok)("function"!=typeof e,"`file` can’t be a `done` anymore, we checked");let s=v(e);r.run(t,s,function(e,r,s){let l=r||t;e?a(e):i?i(l):((0,o.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,l,s))})}}runSync(t,e){let n,i=!1;return this.run(t,e,function(t,e){r(t),n=e,i=!0}),y("runSync","run",i),(0,o.ok)(n,"we either bailed on an error or have a tree"),n}stringify(t,e){this.freeze();let n=v(e),r=this.compiler||this.Compiler;return d("stringify",r),g(t),r(t,n)}use(t,...e){let n=this.attachers,r=this.namespace;if(p("use",this.frozen),null==t);else if("function"==typeof t)l(t,e);else if("object"==typeof t)Array.isArray(t)?s(t):o(t);else throw TypeError("Expected usable value, not `"+t+"`");return this;function o(t){if(!("plugins"in t)&&!("settings"in t))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(t.plugins),t.settings&&(r.settings=i(!0,r.settings,t.settings))}function s(t){let e=-1;if(null==t);else if(Array.isArray(t))for(;++e<t.length;){var n=t[e];if("function"==typeof n)l(n,[]);else if("object"==typeof n)if(Array.isArray(n)){let[t,...e]=n;l(t,e)}else o(n);else throw TypeError("Expected usable value, not `"+n+"`")}else throw TypeError("Expected a list of plugins, not `"+t+"`")}function l(t,e){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===t){o=r;break}if(-1===o)n.push([t,...e]);else if(e.length>0){let[r,...s]=e,l=n[o][1];a(l)&&a(r)&&(r=i(!0,l,r)),n[o]=[t,r,...s]}}}}let h=new c().freeze();function f(t,e){if("function"!=typeof e)throw TypeError("Cannot `"+t+"` without `parser`")}function d(t,e){if("function"!=typeof e)throw TypeError("Cannot `"+t+"` without `compiler`")}function p(t,e){if(e)throw Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function g(t){if(!a(t)||"string"!=typeof t.type)throw TypeError("Expected node, got `"+t+"`")}function y(t,e,n){if(!n)throw Error("`"+t+"` finished async. Use `"+e+"` instead")}function v(t){var e;return(e=t)&&"object"==typeof e&&"message"in e&&"messages"in e?t:new s.k(t)}},71779:function(t,e,n){"use strict";n.d(e,{FK:()=>a,Pk:()=>i,rb:()=>r});let r=o("end"),i=o("start");function o(t){return function(e){let n=e&&e.position&&e.position[t]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function a(t){let e=i(t),n=r(t);if(e&&n)return{start:e,end:n}}},35723:function(t,e,n){"use strict";function r(t){return t&&"object"==typeof t?"position"in t||"type"in t?o(t.position):"start"in t||"end"in t?o(t):"line"in t||"column"in t?i(t):"":""}function i(t){return a(t&&t.line)+":"+a(t&&t.column)}function o(t){return i(t&&t.start)+"-"+i(t&&t.end)}function a(t){return t&&"number"==typeof t?t:1}n.d(e,{y:()=>r})},99726:function(t,e,n){"use strict";n.d(e,{Vn:()=>s});let r=function(t){var e,n;if(null==t)return o;if("function"==typeof t)return i(t);if("object"==typeof t){return Array.isArray(t)?function(t){let e=[],n=-1;for(;++n<t.length;)e[n]=r(t[n]);return i(function(...t){let n=-1;for(;++n<e.length;)if(e[n].apply(this,t))return!0;return!1})}(t):(e=t,i(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}))}if("string"==typeof t){return n=t,i(function(t){return t&&t.type===n})}throw Error("Expected function, string, or object as test")};function i(t){return function(e,n,r){return!!(function(t){return null!==t&&"object"==typeof t&&"type"in t}(e)&&t.call(this,e,"number"==typeof n?n:void 0,r||void 0))}}function o(){return!0}let a=[];function s(t,e,n,i){let o,s,l,u;"function"==typeof e&&"function"!=typeof n?(s=void 0,l=e,o=n):(s=e,l=n,o=i);var c=s,h=function(t,e){let n=e[e.length-1],r=n?n.children.indexOf(t):void 0;return l(t,r,n)},f=o;"function"==typeof c&&"function"!=typeof h?(f=h,h=c):u=c;let d=r(u),p=f?-1:1;(function t(e,n,r){let i=e&&"object"==typeof e?e:{};if("string"==typeof i.type){let t="string"==typeof i.tagName?i.tagName:"string"==typeof i.name?i.name:void 0;Object.defineProperty(o,"name",{value:"node ("+e.type+(t?"<"+t+">":"")+")"})}return o;function o(){var i;let o,s,l,u=a;if((!c||d(e,n,r[r.length-1]||void 0))&&!1===(u=Array.isArray(i=h(e,r))?i:"number"==typeof i?[!0,i]:null==i?a:[i])[0])return u;if("children"in e&&e.children&&e.children&&"skip"!==u[0])for(s=(f?e.children.length:-1)+p,l=r.concat(e);s>-1&&s<e.children.length;){if(!1===(o=t(e.children[s],s,l)())[0])return o;s="number"==typeof o[1]?o[1]:s+p}return u}})(t,void 0,[])()}},64835:function(t,e,n){"use strict";n.d(e,{$:()=>i});var r=n(35723);class i extends Error{constructor(t,e,n){super(),"string"==typeof e&&(n=e,e=void 0);let i="",o={},a=!1;if(e&&(o="line"in e&&"column"in e||"start"in e&&"end"in e?{place:e}:"type"in e?{ancestors:[e],place:e.position}:{...e}),"string"==typeof t?i=t:!o.cause&&t&&(a=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&"string"==typeof n){let t=n.indexOf(":");-1===t?o.ruleId=n:(o.source=n.slice(0,t),o.ruleId=n.slice(t+1))}if(!o.place&&o.ancestors&&o.ancestors){let t=o.ancestors[o.ancestors.length-1];t&&(o.place=t.position)}let s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=(0,r.y)(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}i.prototype.file="",i.prototype.name="",i.prototype.reason="",i.prototype.message="",i.prototype.stack="",i.prototype.column=void 0,i.prototype.line=void 0,i.prototype.ancestors=void 0,i.prototype.cause=void 0,i.prototype.fatal=void 0,i.prototype.place=void 0,i.prototype.ruleId=void 0,i.prototype.source=void 0},93055:function(t,e,n){"use strict";n.d(e,{k:()=>h});var r=n(64835);let i=function(t,e){let n;if(void 0!==e&&"string"!=typeof e)throw TypeError('"ext" argument must be a string');l(t);let r=0,i=-1,o=t.length;if(void 0===e||0===e.length||e.length>t.length){for(;o--;)if(47===t.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":t.slice(r,i)}if(e===t)return"";let a=-1,s=e.length-1;for(;o--;)if(47===t.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(t.codePointAt(o)===e.codePointAt(s--)?s<0&&(i=o):(s=-1,i=a));return r===i?i=a:i<0&&(i=t.length),t.slice(r,i)},o=function(t){let e;if(l(t),0===t.length)return".";let n=-1,r=t.length;for(;--r;)if(47===t.codePointAt(r)){if(e){n=r;break}}else e||(e=!0);return n<0?47===t.codePointAt(0)?"/":".":1===n&&47===t.codePointAt(0)?"//":t.slice(0,n)},a=function(t){let e;l(t);let n=t.length,r=-1,i=0,o=-1,a=0;for(;n--;){let s=t.codePointAt(n);if(47===s){if(e){i=n+1;break}continue}r<0&&(e=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1)}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":t.slice(o,r)},s=function(...t){let e,n=-1;for(;++n<t.length;)l(t[n]),t[n]&&(e=void 0===e?t[n]:e+"/"+t[n]);return void 0===e?".":function(t){l(t);let e=47===t.codePointAt(0),n=function(t,e){let n,r,i="",o=0,a=-1,s=0,l=-1;for(;++l<=t.length;){if(l<t.length)n=t.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}}e&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+t.slice(a+1,l):i=t.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(t,!e);return 0!==n.length||e||(n="."),n.length>0&&47===t.codePointAt(t.length-1)&&(n+="/"),e?"/"+n:n}(e)};function l(t){if("string"!=typeof t)throw TypeError("Path must be a string. Received "+JSON.stringify(t))}function u(t){return!!(null!==t&&"object"==typeof t&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&void 0===t.auth)}let c=["history","path","basename","stem","extname","dirname"];class h{constructor(t){let e,n;e=t?u(t)?{path:t}:"string"==typeof t||function(t){return!!(t&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t)}(t)?{value:t}:t:{},this.cwd="cwd"in e?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<c.length;){let t=c[r];t in e&&void 0!==e[t]&&null!==e[t]&&(this[t]="history"===t?[...e[t]]:e[t])}for(n in e)c.includes(n)||(this[n]=e[n])}get basename(){return"string"==typeof this.path?i(this.path):void 0}set basename(t){d(t,"basename"),f(t,"basename"),this.path=s(this.dirname||"",t)}get dirname(){return"string"==typeof this.path?o(this.path):void 0}set dirname(t){p(this.basename,"dirname"),this.path=s(t||"",this.basename)}get extname(){return"string"==typeof this.path?a(this.path):void 0}set extname(t){if(f(t,"extname"),p(this.dirname,"extname"),t){if(46!==t.codePointAt(0))throw Error("`extname` must start with `.`");if(t.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=s(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){u(t)&&(t=function(t){if("string"==typeof t)t=new URL(t);else if(!u(t)){let e=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if("file:"!==t.protocol){let t=TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return function(t){if(""!==t.hostname){let t=TypeError('File URL host must be "localhost" or empty on darwin');throw t.code="ERR_INVALID_FILE_URL_HOST",t}let e=t.pathname,n=-1;for(;++n<e.length;)if(37===e.codePointAt(n)&&50===e.codePointAt(n+1)){let t=e.codePointAt(n+2);if(70===t||102===t){let t=TypeError("File URL path must not include encoded / characters");throw t.code="ERR_INVALID_FILE_URL_PATH",t}}return decodeURIComponent(e)}(t)}(t)),d(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return"string"==typeof this.path?i(this.path,this.extname):void 0}set stem(t){d(t,"stem"),f(t,"stem"),this.path=s(this.dirname||"",t+(this.extname||""))}fail(t,e,n){let r=this.message(t,e,n);throw r.fatal=!0,r}info(t,e,n){let r=this.message(t,e,n);return r.fatal=void 0,r}message(t,e,n){let i=new r.$(t,e,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(t||void 0).decode(this.value)}}function f(t,e){if(t&&t.includes("/"))throw Error("`"+e+"` cannot be a path: did not expect `/`")}function d(t,e){if(!t)throw Error("`"+e+"` cannot be empty")}function p(t,e){if(!t)throw Error("Setting `"+e+"` requires `path` to be set too")}},86196:function(t,e,n){"use strict";n.d(e,{Z:()=>_});var r=n(68943),i=n(83246),o=n(94757),a=n(86944),s=n(95260),l=n(76109),u=n(8862),c=n(41420),h=n(54709),f="__zr_normal__",d=r.dN.concat(["ignore"]),p=(0,l.reduce)(r.dN,function(t,e){return t[e]=!0,t},{ignore:!1}),g={},y=new o.Z(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.wI)(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.GM)(c[0],y.width),d=(0,s.GM)(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={}),b=void 0,_=void 0,x=void 0;v&&this.canBeInsideText()?(b=n.insideFill,_=n.insideStroke,(null==b||"auto"===b)&&(b=this.getInsideTextFill()),(null==_||"auto"===_)&&(_=this.getInsideTextStroke(b),x=!0)):(b=n.outsideFill,_=n.outsideStroke,(null==b||"auto"===b)&&(b=this.getOutsideFill()),(null==_||"auto"===_)&&(_=this.getOutsideStroke(b),x=!0)),((b=b||"#000")!==m.fill||_!==m.stroke||x!==m.autoStroke||o!==m.align||a!==m.verticalAlign)&&(l=!0,m.fill=b,m.stroke=_,m.autoStroke=x,m.align=o,m.verticalAlign=a,e.setDefaultTextStyle(m)),e.__dirty|=h.YV,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.GD:u.vU},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.YV),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.YV)}}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.ZP,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.YV;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.Z(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.YV,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=[],_=0;_<h.length;_++){var x=h[_],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 k=0;k<v.length;k++){var M=v[k];if(M.targetName===n&&M.stopTracks(m)){var T=(0,l.indexOf)(v,M);v.splice(T,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 C=void 0,E=void 0,A=void 0;if(c){E={},g&&(C={});for(var k=0;k<S;k++){var x=m[k];E[x]=r[x],g?C[x]=o[x]:r[x]=o[x]}}else if(g){A={};for(var k=0;k<S;k++){var x=m[k];A[x]=(0,i.V)(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),b(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]?b(o[u],i[u],s):o[u]=Array.prototype.slice.call(i[u]);else b(o,i,a);o.length=i.length}else t[n]=e[n]}(r,o,x)}}var M=new i.Z(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&&C&&M.whenWithKeys(0,C,m),A&&M.whenWithKeys(0,A,m),M.whenWithKeys(null==f?500:f,c?E: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 b(t,e,n){for(var r=0;r<n;r++)t[r]=e[r]}(0,l.mixin)(v,a.Z),(0,l.mixin)(v,r.ZP);let _=v},83246:function(t,e,n){"use strict";n.d(e,{V:()=>y,Z:()=>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(76109),o=n(6171),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.kD)(0,r,l,1,t,c)&&(0,o.af)(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(41420),c=n(91254),h=n(57861).Buffer;c.Z.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 b(t){return 1===t||2===t}var _=[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=b(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):b(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?_:t[h];if((b(l)||f)&&!w&&(w=this._additiveValue=[]),this.discrete)t[h]=x<1?r.rawValue:o.rawValue;else if(b(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,k,M,T,C,E=r[s],A=o[s],O=4===l;(t[h]={type:O?"linear":"radial",x:(S=E.x,(A.x-S)*x+S),y:(k=E.y,(A.y-k)*x+k),colorStops:(0,i.map)(E.colorStops,function(t,e){var n,r=A.colorStops[e];return{offset:(n=t.offset,(r.offset-n)*x+n),color:v(d([],t.color,r.color,x))}}),global:A.global},O)?(t[h].x2=(M=E.x2,(A.x2-M)*x+M),t[h].y2=(T=E.y2,(A.y2-T)*x+T)):t[h].r=(C=E.r,(A.r-C)*x+C)}else if(f)d(w,r[s],o[s],x),a||(t[h]=v(w));else{var I,D=(I=r[s],(o[s]-I)*x+I);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],_),p(_,_,r,1),t[n]=v(_)):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){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r)return void(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}()},87450:function(t,e,n){"use strict";n.d(e,{Z:()=>r});let r=n(91254).Z.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},84583:function(t,e,n){"use strict";n.d(e,{RV:()=>E,Dm:()=>A,RZ:()=>_});var r=n(52274),i=n(46675),o=n(12703),a=n(25479),s=n(80598),l=n(10781),u=n(19291),c=n(76109);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(54709),d=n(28988),p=new i.Z(!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 b(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 _(t,e,n){var r=(0,o.Gq)(e.image,e.__image,n);if((0,o.v5)(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){T(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?r.tj.opacity:s}(i||e.blend!==n.blend)&&(a||(T(t,o),a=!0),t.globalCompositeOperation=e.blend||r.tj.blend);for(var l=0;l<x.length;l++){var u=x[l];(i||e[u]!==n[u])&&(a||(T(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(i||e.shadowColor!==n.shadowColor)&&(a||(T(t,o),a=!0),t.shadowColor=e.shadowColor||r.tj.shadowColor),a}function k(t,e,n,r,i){var o=C(e,i.inHover),a=r?null:n&&C(n,i.inHover)||{};if(o===a)return!1;var s=S(t,o,a,r,i);if((r||o.fill!==a.fill)&&(s||(T(t,i),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(r||o.stroke!==a.stroke)&&(s||(T(t,i),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(r||o.opacity!==a.opacity)&&(s||(T(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||(T(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||(T(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 T(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function C(t,e){return e&&t.__hoverStyle||t.style}function E(t,e){A(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function A(t,e,n,r){var i,c=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~f.YV,e.__isRendered=!1;return}var y=e.__clipPaths,x=n.prevElClipPaths,w=!1,E=!1;if(!x||(0,a.cF)(y,x)){if(x&&x.length&&(T(t,n),t.restore(),E=w=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),y&&y.length){T(t,n),t.save();for(var O=!1,I=0;I<y.length;I++){var D=y[I];O=O||D.isZeroArea(),M(t,D),t.beginPath(),D.buildPath(t,D.shape),t.clip()}n.allClipped=O,w=!0}n.prevElClipPaths=y}if(n.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var P=n.prevEl;P||(E=w=!0);var L=e instanceof s.ZP&&e.autoBatch&&(N=v(Z=e.style),z=g(Z),!(Z.lineDash||!(N^z)||N&&"string"!=typeof Z.fill||z&&"string"!=typeof Z.stroke||Z.strokePercent<1||Z.strokeOpacity<1||Z.fillOpacity<1));!w&&(F=P.transform,c&&F?c[0]===F[0]&&c[1]===F[1]&&c[2]===F[2]&&c[3]===F[3]&&c[4]===F[4]&&c[5]===F[5]:+(!c&&!F))?L||T(t,n):(T(t,n),M(t,e));var R=C(e,n.inHover);if(e instanceof s.ZP)1!==n.lastDrawType&&(E=!0,n.lastDrawType=1),k(t,e,P,E,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,k=n.stroke,M=u&&!!S.colorStops,T=l&&!!k.colorStops,C=u&&!!S.image,E=l&&!!k.image,A=void 0,O=void 0,I=void 0,D=void 0,P=void 0;(M||T)&&(P=e.getBoundingRect()),M&&(A=w?(0,a.ZF)(t,S,P):e.__canvasFillGradient,e.__canvasFillGradient=A),T&&(O=w?(0,a.ZF)(t,k,P):e.__canvasStrokeGradient,e.__canvasStrokeGradient=O),C&&(I=w||!e.__canvasFillPattern?_(t,S,e):e.__canvasFillPattern,e.__canvasFillPattern=I),E&&(D=w||!e.__canvasStrokePattern?_(t,k,e):e.__canvasStrokePattern,e.__canvasStrokePattern=I),M?t.fillStyle=A:C&&(I?t.fillStyle=I:u=!1),T?t.strokeStyle=O:E&&(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 R=!0;(y||w&f.RH)&&(x.setDPR(t.dpr),d?x.setContext(null):(x.setContext(t),R=!1),x.reset(),e.buildPath(x,e.shape,r),x.toStatic(),e.pathUpdated()),R&&x.rebuildPath(t,d?c:1),o&&(t.setLineDash(o),t.lineDashOffset=s),!r&&(n.strokeFirst?(l&&b(t,n),u&&m(t,n)):(u&&m(t,n),l&&b(t,n))),o&&t.setLineDash([])}(t,e,R,L),L&&(n.batchFill=R.fill||"",n.batchStroke=R.stroke||"");else if(e instanceof u.Z){3!==n.lastDrawType&&(E=!0,n.lastDrawType=3),k(t,e,P,E,n);var Z,N,z,F,B,j=R.text;if(null!=j&&(j+=""),j){t.font=R.font||d.Uo,t.textAlign=R.textAlign,t.textBaseline=R.textBaseline;var H=void 0,W=void 0;t.setLineDash&&R.lineDash&&(H=(B=h(e))[0],W=B[1]),H&&(t.setLineDash(H),t.lineDashOffset=W),R.strokeFirst?(g(R)&&t.strokeText(j,R.x,R.y),v(R)&&t.fillText(j,R.x,R.y)):(v(R)&&t.fillText(j,R.x,R.y),g(R)&&t.strokeText(j,R.x,R.y)),H&&t.setLineDash([])}}else e instanceof l.ZP?(2!==n.lastDrawType&&(E=!0,n.lastDrawType=2),i=E,S(t,C(e,n.inHover),P&&C(P,n.inHover),i,n),function(t,e,n){var r=e.__image=(0,o.Gq)(n.image,e.__image,e,e.onload);if(r&&(0,o.v5)(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,R)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(E=!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(),A(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(),A(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&&T(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}},25479: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,{ZF:()=>i,ap:()=>s,cF:()=>o})},8862:function(t,e,n){"use strict";n.d(e,{Ak:()=>a,GD:()=>l,KL:()=>o,iv:()=>u,vU:()=>s});var r=n(91254),i=1;r.Z.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"},95260:function(t,e,n){"use strict";n.d(e,{Dp:()=>f,GM:()=>d,M3:()=>c,dz:()=>s,lP:()=>u,mU:()=>h,wI:()=>p});var r=n(94757),i=n(87054),o=n(28988),a={};function s(t,e){var n=a[e=e||o.Uo];n||(n=a[e]=new i.ZP(500));var r=n.get(t);return null==r&&(r=o.qW.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.Z(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.Z(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}},69755:function(t,e,n){"use strict";n.d(e,{m:()=>i});var r=2*Math.PI;function i(t){return(t%=r)<0&&(t+=r),t}},8110: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,{Z:()=>r})},94757:function(t,e,n){"use strict";n.d(e,{Z:()=>d});var r=n(59296),i=n(51905),o=Math.min,a=Math.max,s=new i.Z,l=new i.Z,u=new i.Z,c=new i.Z,h=new i.Z,f=new i.Z;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),b=Math.abs(s-c),_=Math.abs(d-a),x=Math.min(v,m),w=Math.min(b,_);o<l||u<r?x>y&&(y=x,v<m?i.Z.set(f,-v,0):i.Z.set(f,m,0)):x<g&&(g=x,v<m?i.Z.set(h,v,0):i.Z.set(h,-m,0)),s<c||d<a?w>y&&(y=w,b<_?i.Z.set(f,0,-b):i.Z.set(f,0,_)):x<g&&(g=x,b<_?i.Z.set(h,0,b):i.Z.set(h,0,-_))}return n&&i.Z.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}()},86944:function(t,e,n){"use strict";n.d(e,{Z:()=>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}()},87054:function(t,e,n){"use strict";n.d(e,{ZP:()=>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}()},91907:function(t,e,n){"use strict";n.d(e,{Z:()=>l});var r=n(51905),i=[0,0],o=[0,0],a=new r.Z,s=new r.Z;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.Z;for(var n=0;n<2;n++)this._axes[n]=new r.Z;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.Z.sub(i[0],n[1],n[0]),r.Z.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.Z.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.Z.scale(a,h,-f*l):r.Z.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.Z.scale(n,h,f*l):r.Z.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}()},46675:function(t,e,n){"use strict";n.d(e,{Z:()=>R});var r=n(19894),i=n(94757),o=n(8862),a=n(6171),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=[],k=[],M=Math.min,T=Math.max,C=Math.cos,E=Math.sin,A=Math.abs,O=Math.PI,I=2*O,D="undefined"!=typeof Float32Array,P=[];function L(t){return Math.round(t/O*1e8)/1e8%2*O}let R=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=A(n/o.KL/t)||0,this._uy=A(n/o.KL/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=A(t-this._xi),r=A(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(),P[0]=r,P[1]=i,(a=L(P[0]))<0&&(a+=I),s=a-P[0],l=P[1]+s,!o&&l-a>=I?l=a+I:o&&a-l>=I?l=a-I:!o&&a>l?l=a+(I-L(a-l)):o&&a<l&&(l=a-(I-L(l-a))),P[0]=a,P[1]=l,r=P[0];var a,s,l,u=(i=P[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=C(i)*n+t,this._yi=E(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]=k[0]=k[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,b=0,_=0;for(t=0;t<this._len;){var M=e[t++],T=1===t;switch(T&&(n=e[t],o=e[t+1],b=n,_=o),M){case m.M:n=b=e[t++],o=_=e[t++],S[0]=b,S[1]=_,k[0]=b,k[1]=_;break;case m.L:g(n,o,e[t],e[t+1],S,k),n=e[t++],o=e[t++];break;case m.C:!function(t,e,n,r,i,o,u,c,h,f){var d=a.pP,p=a.af,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 b=p(t,n,i,u,y[m]);h[0]=s(b,h[0]),f[0]=l(b,f[0])}g=d(e,r,o,c,v);for(var m=0;m<g;m++){var _=p(e,r,o,c,v[m]);h[1]=s(_,h[1]),f[1]=l(_,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,k),n=e[t++],o=e[t++];break;case m.Q:!function(t,e,n,r,i,o,u,c){var h=a.QC,f=a.Zm,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,k),n=e[t++],o=e[t++];break;case m.A:var A=e[t++],O=e[t++],I=e[t++],D=e[t++],P=e[t++],L=e[t++]+P;t+=1;var R=!e[t++];T&&(b=C(P)*I+A,_=E(P)*D+O),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 b=a;a=o,o=b}for(var _=0;_<a;_+=Math.PI/2)_>o&&(p[0]=c(_)*n+t,p[1]=u(_)*i+e,y(l,p,l),v(g,p,g))}(A,O,I,D,P,L,R,S,k),n=C(L)*I+A,o=E(L)*D+O;break;case m.R:g(b=n=e[t++],_=o=e[t++],b+e[t++],_+e[t++],S,k);break;case m.Z:n=b,o=_}r.min(x,x,S),r.max(w,w,k)}return 0===t&&(x[0]=x[1]=w[0]=w[1]=0),new i.Z(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++],b=y-i,_=v-o;(A(b)>n||A(_)>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++],k=t[f++];g=(0,a.Ci)(i,o,x,w,y,v,S,k,10),i=S,o=k;break;case m.Q:var x=t[f++],w=t[f++],y=t[f++],v=t[f++];g=(0,a.wQ)(i,o,x,w,y,v,10),i=y,o=v;break;case m.A:var O=t[f++],D=t[f++],P=t[f++],L=t[f++],R=t[f++],Z=t[f++],N=Z+R;f+=1,p&&(s=C(R)*P+O,l=E(R)*L+D),g=T(P,L)*M(I,Math.abs(Z)),i=C(N)*P+O,o=E(N)*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 b=s-i,_=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 k=0;k<y;){var O=d[k++],I=1===k;switch(I&&(i=d[k],o=d[k+1],n=i,r=o),O!==m.L&&S>0&&(t.lineTo(h,f),S=0),O){case m.M:n=i=d[k++],r=o=d[k++],t.moveTo(i,o);break;case m.L:s=d[k++],l=d[k++];var D=A(s-i),P=A(l-o);if(D>p||P>g){if(v){var L=u[w++];if(x+L>c){var R=(c-x)/L;t.lineTo(i*(1-R)+s*R,o*(1-R)+l*R);break r}x+=L}t.lineTo(s,l),i=s,o=l,S=0}else{var Z=D*D+P*P;Z>S&&(h=s,f=l,S=Z)}break;case m.C:var N=d[k++],z=d[k++],F=d[k++],B=d[k++],j=d[k++],H=d[k++];if(v){var L=u[w++];if(x+L>c){var R=(c-x)/L;(0,a.Vz)(i,N,F,j,R,b),(0,a.Vz)(o,z,B,H,R,_),t.bezierCurveTo(b[1],_[1],b[2],_[2],b[3],_[3]);break r}x+=L}t.bezierCurveTo(N,z,F,B,j,H),i=j,o=H;break;case m.Q:var N=d[k++],z=d[k++],F=d[k++],B=d[k++];if(v){var L=u[w++];if(x+L>c){var R=(c-x)/L;(0,a.Lx)(i,N,F,R,b),(0,a.Lx)(o,z,B,R,_),t.quadraticCurveTo(b[1],_[1],b[2],_[2]);break r}x+=L}t.quadraticCurveTo(N,z,F,B),i=F,o=B;break;case m.A:var W=d[k++],V=d[k++],U=d[k++],q=d[k++],G=d[k++],Y=d[k++],X=d[k++],$=!d[k++],K=U>q?U:q,J=A(U-q)>.001,Q=G+Y,tt=!1;if(v){var L=u[w++];x+L>c&&(Q=G+Y*(c-x)/L,tt=!0),x+=L}if(J&&t.ellipse?t.ellipse(W,V,U,q,X,G,Q,$):t.arc(W,V,K,G,Q,$),tt)break r;I&&(n=C(G)*U+W,r=E(G)*q+V),i=C(Q)*U+W,o=E(Q)*q+V;break;case m.R:n=i=d[k],r=o=d[k+1],s=d[k++],l=d[k++];var te=d[k++],tn=d[k++];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+T(te-tr,0),l+tn),(tr-=te)>0&&t.lineTo(s,l+T(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 R=(c-x)/L;t.lineTo(i*(1-R)+n*R,o*(1-R)+r*R);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}()},51905:function(t,e,n){"use strict";n.d(e,{Z:()=>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}()},68943:function(t,e,n){"use strict";n.d(e,{ZP:()=>d,dN:()=>f});var r=n(59296),i=n(19894),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},6171:function(t,e,n){"use strict";n.d(e,{AZ:()=>x,Ci:()=>b,Jz:()=>w,Lx:()=>k,QC:()=>S,Vz:()=>v,Wr:()=>M,X_:()=>p,Zm:()=>_,af:()=>d,kD:()=>g,pP:()=>y,t1:()=>m,wQ:()=>T});var r=n(19894),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 b=-d/f;b>=0&&b<=1&&(u[m++]=b)}else{var _=y*y-4*g*v;if(h(_)){var x=y/g,b=-f/c+x,w=-x/2;b>=0&&b<=1&&(u[m++]=b),w>=0&&w<=1&&(u[m++]=w)}else if(_>0){var S=o(_),k=g*f+1.5*c*(-y+S),M=g*f+1.5*c*(-y-S),b=(-f-((k=k<0?-i(-k,s):i(k,s))+(M=M<0?-i(-M,s):i(M,s))))/(3*c);b>=0&&b<=1&&(u[m++]=b)}else{var T=Math.acos((2*g*f-3*c*y)/(2*o(g*g*g)))/3,C=o(g),E=Math.cos(T),b=(-f-2*C*E)/(3*c),w=(-f+C*(E+a*Math.sin(T)))/(3*c),A=(-f+C*(E-a*Math.sin(T)))/(3*c);b>=0&&b<=1&&(u[m++]=b),w>=0&&w<=1&&(u[m++]=w),A>=0&&A<=1&&(u[m++]=A)}}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 k=0;k<1;k+=.05)u[0]=d(t,n,a,h,k),u[1]=d(e,i,s,f,k),(_=(0,r.distSquare)(l,u))<S&&(v=k,S=_);S=1/0;for(var M=0;M<32&&!(w<1e-4);M++)m=v-w,b=v+w,u[0]=d(t,n,a,h,m),u[1]=d(e,i,s,f,m),_=(0,r.distSquare)(u,l),m>=0&&_<S?(v=m,S=_):(c[0]=d(t,n,a,h,b),c[1]=d(e,i,s,f,b),x=(0,r.distSquare)(c,l),b<=1&&x<S?(v=b,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 b(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,b=v-c;h+=Math.sqrt(m*m+b*b),u=y,c=v}return h}function _(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 k(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]=_(t,n,a,v),u[1]=_(e,i,s,v);var m=(0,r.distSquare)(l,u);m<y&&(p=v,y=m)}y=1/0;for(var b=0;b<32&&!(g<1e-4);b++){var x=p-g,w=p+g;u[0]=_(t,n,a,x),u[1]=_(e,i,s,x);var m=(0,r.distSquare)(u,l);if(x>=0&&m<y)p=x,y=m;else{c[0]=_(t,n,a,w),c[1]=_(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]=_(t,n,a,p),d[1]=_(e,i,s,p)),o(y)}function T(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=_(t,n,i,f),p=_(e,r,o,f),g=d-s,y=p-l;u+=Math.sqrt(g*g+y*y),s=d,l=p}return u}},26199:function(t,e,n){"use strict";n.d(e,{A4:()=>c,UK:()=>h,YB:()=>u,F1:()=>p});var r=n(91254),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.Z.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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function p(t){return null==t?"":(t+"").replace(f,function(t,e){return d[e]})}},91254:function(t,e,n){"use strict";n.d(e,{Z:()=>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},76542:function(t,e,n){"use strict";n.d(e,{OD:()=>h,Oo:()=>f,eV:()=>l,iP:()=>c,sT:()=>p,x1:()=>g,xg:()=>d});var r=n(91254),i=n(26199),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=r.Z.browser.firefox&&39>+r.Z.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.Z.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,i.UK)(t)){var l=t.getBoundingClientRect();n.zrX=o-l.left,n.zrY=s-l.top;return}if((0,i.A4)(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}},59296: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})},28988:function(t,e,n){"use strict";n.d(e,{Uo:()=>a,g2:()=>u,n5:()=>o,qW:()=>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])}},99349: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,b=!1;do if(0>e(l[f],t[h])){if(t[d--]=t[h--],v++,m=0,0==--r){b=!0;break}}else if(t[d--]=l[f--],m++,v=0,1==--u){b=!0;break}while((v|m)<y);if(b)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){b=!0;break}}if(t[d--]=l[f--],1==--u){b=!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){b=!0;break}}if(t[d--]=t[h--],0==--r){b=!0;break}y--}while(v>=7||m>=7);if(b)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,{Z:()=>s})},76109: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:()=>R,defaults:()=>w,disableUserSelect:()=>th,each:()=>E,eqNaN:()=>Y,extend:()=>x,filter:()=>I,find:()=>D,guid:()=>y,hasOwn:()=>tf,indexOf:()=>k,inherits:()=>M,isArray:()=>Z,isArrayLike:()=>C,isBuiltInObject:()=>H,isDom:()=>V,isFunction:()=>N,isGradientObject:()=>U,isImagePatternObject:()=>q,isNumber:()=>B,isObject:()=>j,isPrimitive:()=>ti,isRegExp:()=>G,isString:()=>z,isStringSafe:()=>F,isTypedArray:()=>W,keys:()=>P,logError:()=>v,map:()=>A,merge:()=>b,mergeAll:()=>_,mixin:()=>T,noop:()=>td,normalizeCssArray:()=>Q,reduce:()=>O,retrieve:()=>X,retrieve2:()=>$,retrieve3:()=>K,setAsPrimitive:()=>tr,slice:()=>J,trim:()=>te});var r=n(28988),i=O(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=O(["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]&&!V(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==p&&(e[u]=m(t[u]));return e}function b(t,e,n){if(!j(e)||!j(t))return n?m(e):t;for(var r in e)if(e.hasOwnProperty(r)&&r!==p){var i=t[r],o=e[r];!(j(o)&&j(i))||Z(o)||Z(i)||V(o)||V(i)||H(o)||H(i)||o[tn]||i[tn]?!n&&r in t||(t[r]=m(e[r])):b(i,o,n)}return t}function _(t,e){for(var n=t[0],r=1,i=t.length;r<i;r++)n=b(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=P(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.qW.createCanvas;function k(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 T(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 C(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function E(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 A(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 O(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 I(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 P(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&&N(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 R(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 Z(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function N(t){return"function"==typeof t}function z(t){return"string"==typeof t}function F(t){return"[object String]"===a.call(t)}function B(t){return"number"==typeof t}function j(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function H(t){return!!i[a.call(t)]}function W(t){return!!o[a.call(t)]}function V(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function U(t){return null!=t.colorStops}function q(t){return null!=t.image}function G(t){return"[object RegExp]"===a.call(t)}function Y(t){return t!=t}function X(){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 $(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 P(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=Z(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&&E(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},19894: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:()=>_,distSquare:()=>w,distance:()=>b,distanceSquare:()=>x,div:()=>g,dot:()=>y,len:()=>c,lenSquare:()=>f,length:()=>h,lengthSquare:()=>d,lerp:()=>k,max:()=>C,min:()=>T,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 b(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 k(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 T(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function C(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},61706:function(t,e,n){"use strict";n.d(e,{Z:()=>o});var r=n(377),i=n(80598);let o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,r.__extends)(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.ZP.prototype.getBoundingRect.call(this)},e}(i.ZP)},52274:function(t,e,n){"use strict";n.d(e,{ZP:()=>y,ik:()=>c,tj:()=>u});var r=n(377),i=n(86196),o=n(94757),a=n(76109),s=n(54709),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.__extends)(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.Z(0,0,0,0)),e?o.Z.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.Z(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.SE,this._rect&&(this._rect=null)},n.prototype.dirty=function(){this.dirtyStyle()},n.prototype.styleChanged=function(){return!!(this.__dirty&s.SE)},n.prototype.styleUpdated=function(){this.__dirty&=~s.SE},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.YV|s.SE),n}(i.Z),p=new o.Z(0,0,0,0),g=new o.Z(0,0,0,0);let y=d},85721:function(t,e,n){"use strict";n.d(e,{Z:()=>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}()},26951:function(t,e,n){"use strict";n.d(e,{Z:()=>l});var r=n(377),i=n(76109),o=n(86196),a=n(94757),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.__extends)(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.Z(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.Z.applyTransform(e,l,u),(i=i||e.clone()).union(e)):(i=i||l.clone()).union(l)}}return i||e},e}(o.Z);s.prototype.type="group";let l=s},10781:function(t,e,n){"use strict";n.d(e,{ZP:()=>c});var r=n(377),i=n(52274),o=n(94757),a=n(76109),s=(0,a.defaults)({x:0,y:0},i.tj),l={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i.ik.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(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.Z(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i.ZP);u.prototype.type="image";let c=u},2191:function(t,e,n){"use strict";n.d(e,{Z:()=>s});var r=n(377),i=n(52274),o=n(94757),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.__extends)(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.Z(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.ZP)},16217:function(t,e,n){"use strict";n.d(e,{Z:()=>i});var r=n(377);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.__extends)(e,t),e}(n(85721).Z)},80598:function(t,e,n){"use strict";n.d(e,{$t:()=>x,ZP:()=>k});var r=n(377),i=n(52274),o=n(46675);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(6171),l=n(69755),u=2*Math.PI,c=n(8110),h=o.Z.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,b=0,_=0,x=0,w=0,S=0;S<v;){var k,M,T,C,E,A,O,I,D,P,L,R,Z,N,z=y[S++],F=1===S;switch(z===h.M&&S>1&&!n&&(m+=(0,c.Z)(b,_,x,w,r,i)),F&&(b=y[S],_=y[S+1],x=b,w=_),z){case h.M:x=y[S++],w=y[S++],b=x,_=w;break;case h.L:if(n){if(a(b,_,y[S],y[S+1],e,r,i))return!0}else m+=(0,c.Z)(b,_,y[S],y[S+1],r,i)||0;b=y[S++],_=y[S++];break;case h.C:if(n){if(k=b,M=_,T=y[S++],C=y[S++],E=y[S++],A=y[S++],O=y[S],I=y[S+1],0!==e&&(!(i>M+e)||!(i>C+e)||!(i>A+e)||!(i>I+e))&&(!(i<M-e)||!(i<C-e)||!(i<A-e)||!(i<I-e))&&(!(r>k+e)||!(r>T+e)||!(r>E+e)||!(r>O+e))&&(!(r<k-e)||!(r<T-e)||!(r<E-e)||!(r<O-e))&&s.t1(k,M,T,C,E,A,O,I,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.kD(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 b=d[m],_=0===b||1===b?.5:1;s.af(t,n,i,a,b)<u||(g<0&&(g=s.pP(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.af(e,r,o,l,p[0]),g>1&&(v=s.af(e,r,o,l,p[1]))),2===g?b<p[0]?f+=y<e?_:-_:b<p[1]?f+=v<y?_:-_:f+=l<v?_:-_:b<p[0]?f+=y<e?_:-_:f+=l<y?_:-_)}return f}(b,_,y[S++],y[S++],y[S++],y[S++],y[S],y[S+1],r,i)||0;b=y[S++],_=y[S++];break;case h.Q:if(n){if(D=b,P=_,L=y[S++],R=y[S++],Z=y[S],N=y[S+1],0!==e&&(!(i>P+e)||!(i>R+e)||!(i>N+e))&&(!(i<P-e)||!(i<R-e)||!(i<N-e))&&(!(r>D+e)||!(r>L+e)||!(r>Z+e))&&(!(r<D-e)||!(r<L-e)||!(r<Z-e))&&(0,s.Wr)(D,P,L,R,Z,N,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.Jz(e,r,o,l,d);if(0===u)return 0;var c=s.QC(e,r,o);if(c>=0&&c<=1){for(var h=0,f=s.Zm(e,r,o,c),p=0;p<u;p++){var g=0===d[p]||1===d[p]?.5:1,y=s.Zm(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.Zm(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;b=y[S++],_=y[S++];break;case h.A:var B=y[S++],j=y[S++],H=y[S++],W=y[S++],V=y[S++],U=y[S++];S+=1;var q=!!(1-y[S++]);o=Math.cos(V)*H+B,g=Math.sin(V)*W+j,F?(x=o,w=g):m+=(0,c.Z)(b,_,o,g,r,i);var G=(r-B)*W/H+B;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.m)(i),i=(0,l.m)(f)}else r=(0,l.m)(r),i=(0,l.m)(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}(B,j,W,V,V+U,q,e,G,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}(B,j,W,V,V+U,q,G,i);b=Math.cos(V+U)*H+B,_=Math.sin(V+U)*W+j;break;case h.R:x=b=y[S++],w=_=y[S++];var Y=y[S++],X=y[S++];if(o=x+Y,g=w+X,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.Z)(o,w,o,g,r,i),m+=(0,c.Z)(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.Z)(b,_,x,w,r,i);b=x,_=w}}return n||1e-4>Math.abs(_-w)||(m+=(0,c.Z)(b,_,x,w,r,i)||0),0!==m}var y=n(76109),v=n(41420),m=n(8862),b=n(54709),_=n(68943),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.tj),w={style:(0,y.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.ik.style)},S=_.dN.concat(["invisible","culling","z","z2","zlevel","parent"]);let k=function(t){var e;function n(e){return t.call(this,e)||this}return(0,r.__extends)(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|=b.YV}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.vU:e>.2?m.iv:m.GD}else if(t)return m.GD}return m.vU},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.Ak)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=~b.RH},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.Z(!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&b.RH)&&(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|=b.RH,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&b.RH)},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.__extends)(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=b.YV|b.SE|b.RH),n}(i.ZP)},7276:function(t,e,n){"use strict";n.d(e,{Z:()=>i});var r=n(377);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.__extends)(e,t),e}(n(85721).Z)},19291:function(t,e,n){"use strict";n.d(e,{Z:()=>h});var r=n(377),i=n(52274),o=n(95260),a=n(80598),s=n(76109),l=n(28988),u=(0,s.defaults)({strokeFirst:!0,font:l.Uo,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.$t),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(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.lP)(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.ZP);c.prototype.type="tspan";let h=c},71839:function(t,e,n){"use strict";n.d(e,{ZP:()=>T});var r=n(377),i=n(21496),o=n(19291),a=n(76109),s=n(95260),l=n(10781),u=n(1946),c=n(94757),h=n(52274),f=n(28988),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.ik.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.__extends)(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,_(t=this.style),(0,a.each)(t.rich,_),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.Z(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.Uo,n=t.padding,r=k(t),a=(0,i.NY)(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,_=t.y||0,T=t.align||v.align||"left",C=t.verticalAlign||v.verticalAlign||"top",E=m,A=(0,s.mU)(_,a.contentHeight,C);if(l||n){var O=(0,s.M3)(m,d,T),I=(0,s.mU)(_,h,C);l&&this._renderBackground(t,t,O,I,d,h)}A+=y/2,n&&(E=S(m,T,n),"top"===C?A+=n[0]:"bottom"===C&&(A-=n[2]));for(var D=0,P=!1,L=w("fill"in t?t.fill:(P=!0,v.fill)),R=x("stroke"in t?t.stroke:u||v.autoStroke&&!P?null:(D=2,v.stroke)),Z=t.textShadowBlur>0,N=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),z=a.calculatedLineHeight,F=0;F<g.length;F++){var B=this._getOrCreateChild(o.Z),j=B.createStyle();B.useStyle(j),j.text=g[F],j.x=E,j.y=A,T&&(j.textAlign=T),j.textBaseline="middle",j.opacity=t.opacity,j.strokeFirst=!0,Z&&(j.shadowBlur=t.textShadowBlur||0,j.shadowColor=t.textShadowColor||"transparent",j.shadowOffsetX=t.textShadowOffsetX||0,j.shadowOffsetY=t.textShadowOffsetY||0),j.stroke=R,j.fill=L,R&&(j.lineWidth=t.lineWidth||D,j.lineDash=t.lineDash,j.lineDashOffset=t.lineDashOffset||0),j.font=e,b(j,t),A+=y,N&&B.setBoundingRect(new c.Z((0,s.M3)(j.x,p,j.textAlign),(0,s.mU)(j.y,z,j.textBaseline),p,z))}},e.prototype._updateRichTexts=function(){var t=this.style,e=k(t),n=(0,i.$F)(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.M3)(u,o,f),g=(0,s.mU)(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 b=!!t.backgroundColor,_=0;_<n.lines.length;_++){for(var x=n.lines[_],w=x.tokens,S=w.length,T=x.lineHeight,C=x.width,E=0,A=y,O=m,I=S-1,D=void 0;E<S&&(!(D=w[E]).align||"left"===D.align);)this._placeToken(D,t,T,v,A,"left",b),C-=D.width,A+=D.width,E++;for(;I>=0&&"right"===(D=w[I]).align;)this._placeToken(D,t,T,v,O,"right",b),C-=D.width,O-=D.width,I--;for(A+=(r-(A-y)-(m-O)-C)/2;E<=I;)D=w[E],this._placeToken(D,t,T,v,A+D.width/2,"center",b),A+=D.width,E++;v+=T}},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.Z),m=v.createStyle();v.useStyle(m);var _=this._defaultStyle,k=!1,T=0,C=w("fill"in h?h.fill:"fill"in e?e.fill:(k=!0,_.fill)),E=x("stroke"in h?h.stroke:"stroke"in e?e.stroke:g||u||_.autoStroke&&!k?null:(T=2,_.stroke)),A=h.textShadowBlur>0||e.textShadowBlur>0;m.text=t.text,m.x=i,m.y=p,A&&(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.Uo,m.opacity=(0,a.retrieve3)(h.opacity,e.opacity,1),b(m,h),E&&(m.lineWidth=(0,a.retrieve3)(h.lineWidth,e.lineWidth,T),m.lineDash=(0,a.retrieve2)(h.lineDash,e.lineDash),m.lineDashOffset=e.lineDashOffset||0,m.stroke=E),C&&(m.fill=C);var O=t.contentWidth,I=t.contentHeight;v.setBoundingRect(new c.Z((0,s.M3)(m.x,O,m.textAlign),(0,s.mU)(m.y,I,m.textBaseline),O,I))},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.Z)).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 b=s.style;b.fill=h||null,b.fillOpacity=(0,a.retrieve2)(t.fillOpacity,1)}else if(p){(c=this._getOrCreateChild(l.ZP)).onload=function(){v.dirtyStyle()};var _=c.style;_.image=h.image,_.x=n,_.y=r,_.width=i,_.height=o}if(f&&d){var b=s.style;b.lineWidth=f,b.stroke=d,b.strokeOpacity=(0,a.retrieve2)(t.strokeOpacity,1),b.lineDash=t.borderDash,b.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(b.strokeFirst=!0,b.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.n5+"px":n+"px",t.fontFamily||"sans-serif"].join(" ")),r&&(0,a.trim)(r)||t.textFont||t.font},e}(h.ZP),y={left:!0,right:1,center:1},v={top:1,bottom:1,middle:1},m=["fontStyle","fontWeight","fontSize","fontFamily"];function b(t,e){for(var n=0;n<m.length;n++){var r=m[n],i=e[r];null!=i&&(t[r]=i)}}function _(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 k(t){var e=t.text;return null!=e&&(e+=""),e}function M(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}let T=g},54709:function(t,e,n){"use strict";n.d(e,{RH:()=>o,SE:()=>i,YV:()=>r});var r=1,i=2,o=4},12703:function(t,e,n){"use strict";n.d(e,{Gq:()=>s,ko:()=>a,v5:()=>u});var r=n(87054),i=n(28988),o=new r.ZP(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.qW.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}},21496:function(t,e,n){"use strict";n.d(e,{$F:()=>g,NY:()=>h,aF:()=>s});var r=n(12703),i=n(76109),o=n(95260),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.dz)("国",e);var l=a.ascCharWidth=(0,o.dz)("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.dz)(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.dz)(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.dz)(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.Dp)(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 b=Math.floor(v/h);p=p||n.length>b,n=n.slice(0,b)}if(t&&"truncate"===r&&null!=g)for(var _=u(g,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x={},w=0;w<n.length;w++)c(x,n[w],_),n[w]=x.textLine,p=p||x.isTruncated;for(var S=v,k=0,w=0;w<n.length;w++)k=Math.max((0,o.dz)(n[w],s),k);null==g&&(g=k);var M=k;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:k,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,b=0,_=e.padding,x="truncate"===h,w="truncate"===e.lineOverflow,S={};function k(t,e,n){t.width=e,t.lineHeight=n,m+=n,b=Math.max(b,e)}i:for(var M=0;M<s.lines.length;M++){for(var T=s.lines[M],C=0,E=0,A=0;A<T.tokens.length;A++){var O=T.tokens[A],I=O.styleName&&e.rich[O.styleName]||{},D=O.textPadding=I.padding,P=D?D[1]+D[3]:0,L=O.font=I.font||e.font;O.contentHeight=(0,o.Dp)(L);var R=(0,i.retrieve2)(I.height,O.contentHeight);if(O.innerHeight=R,D&&(R+=D[0]+D[2]),O.height=R,O.lineHeight=(0,i.retrieve3)(I.lineHeight,e.lineHeight,R),O.align=I&&I.align||e.align,O.verticalAlign=I&&I.verticalAlign||"middle",w&&null!=c&&m+O.lineHeight>c){var Z=s.lines.length;A>0?(T.tokens=T.tokens.slice(0,A),k(T,E,C),s.lines=s.lines.slice(0,M+1)):s.lines=s.lines.slice(0,M),s.isTruncated=s.isTruncated||s.lines.length<Z;break i}var N=I.width,z=null==N||"auto"===N;if("string"==typeof N&&"%"===N.charAt(N.length-1))O.percentWidth=N,v.push(O),O.contentWidth=(0,o.dz)(O.text,L);else{if(z){var F=I.backgroundColor,B=F&&F.image;B&&(B=r.ko(B),r.v5(B)&&(O.width=Math.max(O.width,B.width*R/B.height)))}var j=x&&null!=u?u-E:null;null!=j&&j<O.width?!z||j<P?(O.text="",O.width=O.contentWidth=0):(l(S,O.text,j-P,L,e.ellipsis,{minChar:e.truncateMinChar}),O.text=S.text,s.isTruncated=s.isTruncated||S.isTruncated,O.width=O.contentWidth=(0,o.dz)(O.text,L)):O.contentWidth=(0,o.dz)(O.text,L)}O.width+=P,E+=O.width,I&&(C=Math.max(C,O.lineHeight))}k(T,E,C)}s.outerWidth=s.width=(0,i.retrieve2)(u,b),s.outerHeight=s.height=(0,i.retrieve2)(c,m),s.contentHeight=m,s.contentWidth=b,_&&(s.outerWidth+=_[1]+_[3],s.outerHeight+=_[0]+_[2]);for(var M=0;M<v.length;M++){var O=v[M],H=O.percentWidth;O.width=parseInt(H,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.GM)(u.width,r.width)+y;c.length>0&&v+r.accumWidth>r.width&&(a=e.split("\n"),p=!0),r.accumWidth=v}else{var b=m(e,h,r.width,r.breakAll,r.accumWidth);r.accumWidth=b.accumWidth+y,s=b.linesWidths,a=b.lines}}else a=e.split("\n");for(var _=0;_<a.length;_++){var x=a[_],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[_]:(0,o.dz)(x,h),_||p)c.push(new d([w]));else{var S=(c[c.length-1]||(c[0]=new d)).tokens,k=S.length;1===k&&S[0].isLineHolder?S[0]=w:(x||!k||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.dz)(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}}},1279:function(t,e,n){"use strict";n.d(e,{L:()=>i});var r=n(19894);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 b=(0,r.add)([],g,h),_=(0,r.add)([],g,f);i&&((0,r.max)(b,b,s),(0,r.min)(b,b,l),(0,r.max)(_,_,s),(0,r.min)(_,_,l)),u.push(b),u.push(_)}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()}}},31719:function(t,e,n){"use strict";n.d(e,{Pw:()=>o,_3:()=>i,vu:()=>a});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}},26449:function(t,e,n){"use strict";n.d(e,{Z:()=>s});var r=n(377),i=n(80598),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.__extends)(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.ZP);a.prototype.type="arc";let s=a},49015:function(t,e,n){"use strict";n.d(e,{Z:()=>h});var r=n(377),i=n(80598),o=n(19894),a=n(6171),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.X_:a.af)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.X_:a.af)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.AZ:a.Zm)(t.x1,t.cpx1,t.x2,e),(n?a.AZ:a.Zm)(t.y1,t.cpy1,t.y2,e)]}var c=function(t){function e(e){return t.call(this,e)||this}return(0,r.__extends)(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.Lx)(n,l,i,f,s),l=s[1],i=s[2],(0,a.Lx)(r,u,o,f,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,i,o)):(f<1&&((0,a.Vz)(n,l,c,i,f,s),l=s[1],c=s[2],i=s[3],(0,a.Vz)(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.ZP);c.prototype.type="bezier-curve";let h=c},497:function(t,e,n){"use strict";n.d(e,{Z:()=>s});var r=n(377),i=n(80598),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.__extends)(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.ZP);a.prototype.type="circle";let s=a},66917:function(t,e,n){"use strict";n.d(e,{Z:()=>s});var r=n(377),i=n(80598),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.__extends)(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.ZP);a.prototype.type="ellipse";let s=a},67747:function(t,e,n){"use strict";n.d(e,{Z:()=>u});var r=n(377),i=n(80598),o=n(31719),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.__extends)(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._3)(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.ZP);l.prototype.type="line";let u=l},5227:function(t,e,n){"use strict";n.d(e,{Z:()=>l});var r=n(377),i=n(80598),o=n(1279),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.__extends)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!0)},e}(i.ZP);s.prototype.type="polygon";let l=s},16127:function(t,e,n){"use strict";n.d(e,{Z:()=>l});var r=n(377),i=n(80598),o=n(1279),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.__extends)(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.L(t,e,!1)},e}(i.ZP);s.prototype.type="polyline";let l=s},1946:function(t,e,n){"use strict";n.d(e,{Z:()=>u});var r=n(377),i=n(80598),o=n(31719),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.__extends)(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,b=(0,o.Pw)(s,e,this.style);g=b.x,y=b.y,v=b.width,m=b.height,b.r=e.r,e=b}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.ZP);l.prototype.type="rect";let u=l},45542:function(t,e,n){"use strict";n.d(e,{Z:()=>s});var r=n(377),i=n(80598),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.__extends)(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.ZP);a.prototype.type="ring";let s=a},27959:function(t,e,n){"use strict";n.d(e,{C:()=>b});var r=n(377),i=n(80598),o=n(76109),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,b=(g+v)/2,_=y-f,x=v-g,w=_*_+x*x,S=i-o,k=f*v-y*g,M=(x<0?-1:1)*d(p(0,S*S*w-k*k)),T=(k*x-_*M)/w,C=(-k*_-x*M)/w,E=(k*x+_*M)/w,A=(-k*_+x*M)/w,O=T-m,I=C-b,D=E-m,P=A-b;return O*O+I*I>D*D+P*P&&(T=E,C=A),{cx:T,cy:C,x0:-c,y0:-h,x1:T*(i/S-1),y1:C*(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.__extends)(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 b=r;r=i,i=b}var _=e.startAngle,x=e.endAngle;if(!(isNaN(_)||isNaN(x))){var w=e.cx,S=e.cy,k=!!e.clockwise,M=f(x-_),T=M>s&&M%s;if(T>1e-4&&(M=T),r>1e-4)if(M>s-1e-4)t.moveTo(w+r*u(_),S+r*l(_)),t.arc(w,S,r,_,x,!k),i>1e-4&&(t.moveTo(w+i*u(x),S+i*l(x)),t.arc(w,S,i,x,_,k));else{var C=void 0,E=void 0,A=void 0,O=void 0,I=void 0,D=void 0,P=void 0,L=void 0,R=void 0,Z=void 0,N=void 0,z=void 0,F=void 0,B=void 0,j=void 0,H=void 0,W=r*u(_),V=r*l(_),U=i*u(x),q=i*l(x),G=M>1e-4;if(G){var Y=e.cornerRadius;Y&&(C=(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],E=n[1],A=n[2],O=n[3]);var X=f(r-i)/2;if(I=g(X,A),D=g(X,O),P=g(X,C),L=g(X,E),N=R=p(I,D),z=Z=p(P,L),(R>1e-4||Z>1e-4)&&(F=r*u(x),B=r*l(x),j=i*u(_),H=i*l(_),M<a)){var $=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]}(W,V,j,H,F,B,U,q);if($){var K=W-$[0],J=V-$[1],Q=F-$[0],tt=B-$[1],te=1/l(c((K*Q+J*tt)/(d(K*K+J*J)*d(Q*Q+tt*tt)))/2),tn=d($[0]*$[0]+$[1]*$[1]);N=g(R,(r-tn)/(te+1)),z=g(Z,(i-tn)/(te-1))}}}if(G)if(N>1e-4){var tr=g(A,N),ti=g(O,N),to=y(j,H,W,V,r,tr,k),ta=y(F,B,U,q,r,ti,k);t.moveTo(w+to.cx+to.x0,S+to.cy+to.y0),N<R&&tr===ti?t.arc(w+to.cx,S+to.cy,N,h(to.y0,to.x0),h(ta.y0,ta.x0),!k):(tr>0&&t.arc(w+to.cx,S+to.cy,tr,h(to.y0,to.x0),h(to.y1,to.x1),!k),t.arc(w,S,r,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),!k),ti>0&&t.arc(w+ta.cx,S+ta.cy,ti,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!k))}else t.moveTo(w+W,S+V),t.arc(w,S,r,_,x,!k);else t.moveTo(w+W,S+V);if(i>1e-4&&G)if(z>1e-4){var tr=g(C,z),ti=g(E,z),to=y(U,q,F,B,i,-ti,k),ta=y(W,V,j,H,i,-tr,k);t.lineTo(w+to.cx+to.x0,S+to.cy+to.y0),z<Z&&tr===ti?t.arc(w+to.cx,S+to.cy,z,h(to.y0,to.x0),h(ta.y0,ta.x0),!k):(ti>0&&t.arc(w+to.cx,S+to.cy,ti,h(to.y0,to.x0),h(to.y1,to.x1),!k),t.arc(w,S,i,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),k),tr>0&&t.arc(w+ta.cx,S+ta.cy,tr,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!k))}else t.lineTo(w+U,S+q),t.arc(w,S,i,x,_,k);else t.lineTo(w+U,S+q)}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.ZP);m.prototype.type="sector";let b=m},41420:function(t,e,n){"use strict";n.r(e),n.d(e,{fastLerp:()=>_,fastMapToColor:()=>x,lerp:()=>w,lift:()=>m,liftColor:()=>O,lum:()=>C,mapToColor:()=>S,modifyAlpha:()=>M,modifyHSL:()=>k,parse:()=>y,random:()=>E,stringify:()=>T,toHex:()=>b});var r=n(87054),i=n(76109),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.ZP(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 T(n,4===n.length?"rgba":"rgb")}}function b(t){var e=y(t);if(e)return(0x1000000+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function _(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=_;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=T([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 k(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)),T(v(o),"rgba")}function M(t,e){var n=y(t);if(n&&null!=e)return n[3]=s(e),T(n,"rgba")}function T(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 C(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 E(){return T([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var A=new r.ZP(100);function O(t){if((0,i.isString)(t)){var e=A.get(t);return e||(e=m(t,-.1),A.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}},50221: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(91254),l=n(76109),u=n(377),c=n(19894),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(86944),p=n(76542),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.eV(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(94757),b="silent";function _(){p.sT(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.__extends)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(d.Z),w=function(t,e){this.x=t,this.y=e},S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],k=new m.Z(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.__extends)(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=C(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:_};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(T(r,i,t,e,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new m.Z(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||(k.copy(c.getBoundingRect()),c.transform&&k.applyTransform(c.transform),k.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(T(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.Z);function T(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||b}return!1}(a,n,r))&&(e.topTarget||(e.topTarget=a),s!==b)){e.target=a;break}}}function C(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=C(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 E=n(99349),A=n(54709),O=!1;function I(){O||(O=!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 P=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,E.Z)(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|=A.YV),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)&&(I(),t.z=0),isNaN(t.z2)&&(I(),t.z2=0),isNaN(t.zlevel)&&(I(),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(87450),R=n(83246);function Z(){return new Date().getTime()}var N=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.__extends)(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=Z()-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.Z)(function e(){t._running&&((0,L.Z)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=Z(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Z(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Z()-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 R.Z(t,e.loop);return this.addAnimator(n),n},e}(d.Z),z=s.Z.domSupported,F=(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}),B=["mousemove","mouseup"],j=["pointermove","pointerup"],H=!1;function W(t){var e=t.pointerType;return"pen"===e||"touch"===e}function V(t){t&&(t.zrByTouch=!0)}function U(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 q=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},G={mousedown:function(t){t=(0,p.OD)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,p.OD)(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.OD)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){U(this,(t=(0,p.OD)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){H=!0,t=(0,p.OD)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){H||(t=(0,p.OD)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){V(t=(0,p.OD)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),G.mousemove.call(this,t),G.mousedown.call(this,t)},touchmove:function(t){V(t=(0,p.OD)(this.dom,t)),this.handler.processGesture(t,"change"),G.mousemove.call(this,t)},touchend:function(t){V(t=(0,p.OD)(this.dom,t)),this.handler.processGesture(t,"end"),G.mouseup.call(this,t),new Date-this.__lastTouchMoment<300&&G.click.call(this,t)},pointerdown:function(t){G.mousedown.call(this,t)},pointermove:function(t){W(t)||G.mousemove.call(this,t)},pointerup:function(t){G.mouseup.call(this,t)},pointerout:function(t){W(t)||G.mouseout.call(this,t)}};l.each(["click","dblclick","contextmenu"],function(t){G[t]=function(e){e=(0,p.OD)(this.dom,e),this.trigger(t,e)}});var Y={pointermove:function(t){W(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 X(t,e,n,r){t.mounted[e]=n,t.listenerOpts[e]=r,(0,p.Oo)(t.domTarget,e,n,r)}function $(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,p.xg)(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,G),z&&(o._globalHandlerScope=new K(document,Y)),i=(r=o._localHandlerScope).domHandlers,s.Z.pointerEventsSupported?l.each(F.pointer,function(t){X(r,t,function(e){i[t].call(o,e)})}):(s.Z.touchEventsSupported&&l.each(F.touch,function(t){X(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(F.mouse,function(t){X(r,t,function(e){e=(0,p.iP)(e),r.touching||i[t].call(o,e)})})),o}return(0,u.__extends)(e,t),e.prototype.dispose=function(){$(this._localHandlerScope),z&&$(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,z&&this.__pointerCapturing^t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){s.Z.pointerEventsSupported?l.each(j,n):s.Z.touchEventsSupported||l.each(B,n);function n(n){X(e,n,function(r){if(!U(t,(r=(0,p.iP)(r)).target)){var i;i=r,r=(0,p.OD)(t.dom,new q(t,i),!0),e.domHandlers[n].call(t,r)}},{capture:!0})}}(this,e):$(e)}},e}(d.Z),Q=n(41420),tt=n(8862),te=n(26951),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 P,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.Z.node||s.Z.worker||c?null:new J(u.getViewportRoot(),u.root),f=n.useCoarsePointer;(null==f||"auto"===f?s.Z.touchEventsSupported:!!f)&&(r=l.retrieve2(n.pointerSize,44)),this.handler=new M(o,u,h,u.root,r),this.animation=new N({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.Ak;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.Ak}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=Z();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var r=Z();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.Z&&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"}}]);